diff --git a/cluster-api/providers/azure/go.mod b/cluster-api/providers/azure/go.mod
index 326c9f362d..0e9db0f837 100644
--- a/cluster-api/providers/azure/go.mod
+++ b/cluster-api/providers/azure/go.mod
@@ -1,14 +1,18 @@
module openshift/installer/cluster-api/providers/azure
-go 1.22
+go 1.22.7
-require sigs.k8s.io/cluster-api-provider-azure v1.15.1-0.20240617212811-a52056dfb88c
+toolchain go1.23.7
+
+require sigs.k8s.io/cluster-api-provider-azure v1.17.5
require (
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible // indirect
- github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0 // indirect
- github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0 // indirect
- github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 // indirect
+ github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 // indirect
+ github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 // indirect
+ github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
+ github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0 // indirect
+ github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry v1.2.0 // indirect
@@ -19,11 +23,11 @@ require (
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/privatedns/armprivatedns v1.2.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resourcehealth/armresourcehealth v1.3.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 // indirect
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0 // indirect
- github.com/Azure/azure-service-operator/v2 v2.6.0 // indirect
+ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.6.0 // indirect
+ github.com/Azure/azure-service-operator/v2 v2.8.0 // indirect
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.11.29 // indirect
- github.com/Azure/go-autorest/autorest/adal v0.9.23 // indirect
+ github.com/Azure/go-autorest/autorest/adal v0.9.24 // indirect
github.com/Azure/go-autorest/autorest/azure/auth v0.5.13 // indirect
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 // indirect
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
@@ -40,31 +44,32 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
- github.com/cenkalti/backoff/v4 v4.2.1 // indirect
- github.com/cespare/xxhash/v2 v2.2.0 // indirect
+ github.com/cenkalti/backoff/v4 v4.3.0 // indirect
+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dimchansky/utfbom v1.1.1 // indirect
- github.com/emicklei/go-restful/v3 v3.12.0 // indirect
+ github.com/emicklei/go-restful/v3 v3.12.1 // indirect
+ github.com/evanphx/json-patch v5.9.0+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
- github.com/go-openapi/jsonpointer v0.20.2 // indirect
- github.com/go-openapi/jsonreference v0.20.4 // indirect
- github.com/go-openapi/swag v0.22.8 // indirect
+ github.com/go-openapi/jsonpointer v0.21.0 // indirect
+ github.com/go-openapi/jsonreference v0.21.0 // indirect
+ github.com/go-openapi/swag v0.23.0 // indirect
github.com/gobuffalo/flect v1.0.2 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
- github.com/google/cel-go v0.17.7 // indirect
+ github.com/google/cel-go v0.20.1 // indirect
github.com/google/gnostic-models v0.6.8 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 // indirect
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
github.com/hashicorp/golang-lru v1.0.2 // indirect
github.com/imdario/mergo v0.3.16 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -76,70 +81,70 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
- github.com/onsi/gomega v1.33.1 // indirect
+ github.com/onsi/gomega v1.34.2 // indirect
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
github.com/pkg/errors v0.9.1 // indirect
- github.com/prometheus/client_golang v1.18.0 // indirect
- github.com/prometheus/client_model v0.6.0 // indirect
- github.com/prometheus/common v0.46.0 // indirect
- github.com/prometheus/procfs v0.12.0 // indirect
- github.com/spf13/cobra v1.8.0 // indirect
+ github.com/prometheus/client_golang v1.19.1 // indirect
+ github.com/prometheus/client_model v0.6.1 // indirect
+ github.com/prometheus/common v0.54.0 // indirect
+ github.com/prometheus/procfs v0.15.1 // indirect
+ github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
- github.com/stoewer/go-strcase v1.2.0 // indirect
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0 // indirect
- go.opentelemetry.io/otel v1.24.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 // indirect
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0 // indirect
+ github.com/stoewer/go-strcase v1.3.0 // indirect
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 // indirect
+ go.opentelemetry.io/otel v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 // indirect
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 // indirect
- go.opentelemetry.io/otel/metric v1.24.0 // indirect
- go.opentelemetry.io/otel/sdk v1.24.0 // indirect
- go.opentelemetry.io/otel/sdk/metric v1.24.0 // indirect
- go.opentelemetry.io/otel/trace v1.24.0 // indirect
- go.opentelemetry.io/proto/otlp v1.1.0 // indirect
+ go.opentelemetry.io/otel/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk v1.27.0 // indirect
+ go.opentelemetry.io/otel/sdk/metric v1.27.0 // indirect
+ go.opentelemetry.io/otel/trace v1.27.0 // indirect
+ go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/mock v0.4.0 // indirect
- golang.org/x/crypto v0.24.0 // indirect
- golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect
- golang.org/x/mod v0.18.0 // indirect
- golang.org/x/net v0.26.0 // indirect
- golang.org/x/oauth2 v0.18.0 // indirect
- golang.org/x/sync v0.7.0 // indirect
- golang.org/x/sys v0.21.0 // indirect
- golang.org/x/term v0.21.0 // indirect
- golang.org/x/text v0.16.0 // indirect
+ golang.org/x/crypto v0.31.0 // indirect
+ golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
+ golang.org/x/mod v0.21.0 // indirect
+ golang.org/x/net v0.33.0 // indirect
+ golang.org/x/oauth2 v0.21.0 // indirect
+ golang.org/x/sync v0.10.0 // indirect
+ golang.org/x/sys v0.28.0 // indirect
+ golang.org/x/term v0.27.0 // indirect
+ golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.5.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
- google.golang.org/appengine v1.6.8 // indirect
- google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 // indirect
- google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 // indirect
- google.golang.org/grpc v1.61.1 // indirect
- google.golang.org/protobuf v1.33.0 // indirect
+ google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 // indirect
+ google.golang.org/grpc v1.64.1 // indirect
+ google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
- k8s.io/api v0.29.3 // indirect
- k8s.io/apiextensions-apiserver v0.29.3 // indirect
- k8s.io/apimachinery v0.29.3 // indirect
- k8s.io/apiserver v0.29.3 // indirect
- k8s.io/client-go v0.29.3 // indirect
- k8s.io/cloud-provider v0.29.3 // indirect
- k8s.io/cluster-bootstrap v0.29.3 // indirect
- k8s.io/component-base v0.29.3 // indirect
- k8s.io/component-helpers v0.29.3 // indirect
- k8s.io/klog/v2 v2.120.1 // indirect
- k8s.io/kube-openapi v0.0.0-20240117194847-208609032b15 // indirect
- k8s.io/utils v0.0.0-20240102154912-e7106e64919e // indirect
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 // indirect
- sigs.k8s.io/cloud-provider-azure v1.29.3 // indirect
- sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.2 // indirect
- sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.1 // indirect
- sigs.k8s.io/cluster-api v1.7.3 // indirect
- sigs.k8s.io/controller-runtime v0.17.3 // indirect
+ k8s.io/api v0.30.3 // indirect
+ k8s.io/apiextensions-apiserver v0.30.3 // indirect
+ k8s.io/apimachinery v0.30.3 // indirect
+ k8s.io/apiserver v0.30.3 // indirect
+ k8s.io/client-go v0.30.3 // indirect
+ k8s.io/cloud-provider v0.30.2 // indirect
+ k8s.io/cluster-bootstrap v0.30.3 // indirect
+ k8s.io/component-base v0.30.3 // indirect
+ k8s.io/component-helpers v0.30.3 // indirect
+ k8s.io/klog/v2 v2.130.1 // indirect
+ k8s.io/kube-openapi v0.0.0-20240521193020-835d969ad83a // indirect
+ k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 // indirect
+ sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 // indirect
+ sigs.k8s.io/cloud-provider-azure v1.30.4 // indirect
+ sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.29 // indirect
+ sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.16 // indirect
+ sigs.k8s.io/cluster-api v1.8.10 // indirect
+ sigs.k8s.io/controller-runtime v0.18.7 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
-replace sigs.k8s.io/cluster-api => sigs.k8s.io/cluster-api v1.7.3
-
-// kube-openapi should match the version imported by CAPI.
-replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
+replace (
+ github.com/google/cel-go => github.com/google/cel-go v0.17.8
+ github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.18.0
+ github.com/prometheus/common => github.com/prometheus/common v0.46.0
+)
diff --git a/cluster-api/providers/azure/go.sum b/cluster-api/providers/azure/go.sum
index e849654fa5..125782eeb8 100644
--- a/cluster-api/providers/azure/go.sum
+++ b/cluster-api/providers/azure/go.sum
@@ -1,11 +1,17 @@
+filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
+filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible h1:fcYLmCpyNYRnvJbPerq7U0hS+6+I79yEDJBqVNcqUzU=
github.com/Azure/azure-sdk-for-go v68.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0 h1:1nGuui+4POelzDwI7RG56yfQJHCnKvwfMoU7VsEp+Zg=
-github.com/Azure/azure-sdk-for-go/sdk/azcore v1.12.0/go.mod h1:99EvauvlcJ1U06amZiksfYz/3aFGyIhWGHVyiZXtBAI=
-github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0 h1:U2rTu3Ef+7w9FHKIAXM6ZyqF3UOWJZ12zIm8zECAFfg=
-github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.6.0/go.mod h1:9kIvujWAA58nmPmWB1m23fyWic1kYZMxD9CxaWn4Qpg=
-github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0 h1:H+U3Gk9zY56G3u872L82bk4thcsy2Gghb9ExT4Zvm1o=
-github.com/Azure/azure-sdk-for-go/sdk/internal v1.9.0/go.mod h1:mgrmMSgaLp9hmax62XQTd0N4aAqSE5E0DulSpVYK7vc=
+github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 h1:nyQWyZvwGTvunIMxi1Y9uXkcyr+I7TeNrr/foo4Kpk8=
+github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0/go.mod h1:l38EPgmsp71HHLq9j7De57JcKOWPyhrsW1Awm1JS6K0=
+github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 h1:tfLQ34V6F7tVSwoTf/4lH5sE0o6eCJuNDTmH09nDpbc=
+github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0/go.mod h1:9kIvujWAA58nmPmWB1m23fyWic1kYZMxD9CxaWn4Qpg=
+github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 h1:ywEEhmNahHBihViHepv3xPBn1663uRv2t2q/ESv9seY=
+github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0/go.mod h1:iZDifYGJTIgIIkYRNWPENUnqx6bJ2xnSDFI2tjwZNuY=
+github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0 h1:xnO4sFyG8UH2fElBkcqLTOZsAajvKfnSlgBBW8dXYjw=
+github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets v0.12.0/go.mod h1:XD3DIOOVgBCO03OleB1fHjgktVRFxlT++KwKgIOewdM=
+github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 h1:FbH3BbSb4bvGluTesZZ+ttN/MDsnMmQP36OSnDuSXqw=
+github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1/go.mod h1:9V2j0jn9jDEkCkv8w/bKTNppX/d0FVA1ud77xCIP4KA=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement v1.1.1 h1:jCkNVNpsEevyic4bmjgVjzVA4tMGSJpXNGirf+S+mDI=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/apimanagement/armapimanagement v1.1.1/go.mod h1:a0Ug1l73Il7EhrCJEEt2dGjlNjvphppZq5KqJdgnwuw=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/appconfiguration/armappconfiguration v1.1.1 h1:iRc20pGuVlc1HwRO2bg0m1tfP9rkPB0K88trl8Fei2w=
@@ -22,10 +28,16 @@ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontai
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v4 v4.8.0/go.mod h1:gYq8wyDgv6JLhGbAU6gg8amCPgQWRE+aCvrV2gyzdfs=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos v1.0.0 h1:Fv8iibGn1eSw0lt2V3cTsuokBEnOP+M//n8OiMcCgTM=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos v1.0.0/go.mod h1:Qpe/qN9d5IQ7WPtTXMRCd6+BWTnhi3sxXVys6oJ5Vho=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v3 v3.0.0 h1:U5kTYUBpSwd4lrzXIh4grgRPcbu6TMv2BS0kUGS9oIE=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection/v3 v3.0.0/go.mod h1:leRley5f3YKGJgPojFeSMVHqnjkn6RSUfxaan229UpA=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventgrid/armeventgrid v1.0.0 h1:w6b0+FygDpqM7g5cjbeyPoBzgxVHwwt2vCUvTz1oFY8=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventgrid/armeventgrid v1.0.0/go.mod h1:t8kRpcgm+RdImuJgHG6SfoQ0tpb9LGl7MF1E6u0yeeA=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventhub/armeventhub v1.2.0 h1:+dggnR89/BIIlRlQ6d19dkhhdd/mQUiQbXhyHUFiB4w=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/eventhub/armeventhub v1.2.0/go.mod h1:tI9M2Q/ueFi287QRkdrhb9LHm6ZnXgkVYLRC3FhYkPw=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v2 v2.0.0 h1:PTFGRSlMKCQelWwxUyYVEUqseBJVemLyqWJjvMyt0do=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v2 v2.0.0/go.mod h1:LRr2FzBTQlONPPa5HREE5+RjSCTXl7BwOvYOaWTqCaI=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v3 v3.0.0 h1:Kb8eVvjdP6kZqYnER5w/PiGCFp91yVgaxve3d7kCEpY=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v3 v3.0.0/go.mod h1:lYq15QkJyEsNegz5EhI/0SXQ6spvGfgwBH/Qyzkoc/s=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/iothub/armiothub v1.3.0 h1:NZP+oPbAVFy7PhQ4PTD3SuGWbEziNhp7lphGkkN707s=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/iothub/armiothub v1.3.0/go.mod h1:djbLk3ngutFfQ9fSOM29UzywAkcBI1YUsuUnxTQGsqU=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault v1.4.0 h1:HlZMUZW8S4P9oob1nCHxCCKrytxyLc+24nUJGssoEto=
@@ -36,6 +48,8 @@ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/managementgroups/armmanage
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/managementgroups/armmanagementgroups v1.0.0/go.mod h1:mLfWfj8v3jfWKsL9G4eoBoXVcsqcIUTapmdKy7uGOp0=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v1.2.0 h1:z4YeiSXxnUI+PqB46Yj6MZA3nwb1CcJIkEMDrzUd8Cs=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/msi/armmsi v1.2.0/go.mod h1:rko9SzMxcMk0NJsNAxALEGaTYyy79bNRwxgJfrH0Spw=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork v1.1.0 h1:QM6sE5k2ZT/vI5BEe0r7mqjsUSnhVBFbOsVkEuaEfiA=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork v1.1.0/go.mod h1:243D9iHbcQXoFUtgHJwL7gl2zx1aDuDMjvBZVGr2uW0=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4 v4.3.0 h1:bXwSugBiSbgtz7rOtbfGf+woewp4f06orW9OP5BjHLA=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v4 v4.3.0/go.mod h1:Y/HgrePTmGy9HjdSGTqZNa+apUpTVIEVKXJyARP2lrk=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/privatedns/armprivatedns v1.2.0 h1:9Eih8XcEeQnFD0ntMlUDleKMzfeCeUfa+VbnDCI4AZs=
@@ -52,12 +66,12 @@ github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/servicebus/armservicebus v
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/servicebus/armservicebus v1.2.0/go.mod h1:1YXAxWw6baox+KafeQU2scy21/4IHvqXoIJuCpcvpMQ=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/signalr/armsignalr v1.2.0 h1:Y8CF7FyuVVDyX5W6Azwjj3PpwUZVbXBOCyQytv/0QEA=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/signalr/armsignalr v1.2.0/go.mod h1:tzUx/enAY8RSmQhRq02uVZFeRJxdGYT6BqXwHiHoOcU=
-github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0 h1:AifHbc4mg0x9zW52WOpKbsHaDKuRhlI7TVl47thgQ70=
-github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.5.0/go.mod h1:T5RfihdXtBDxt1Ch2wobif3TvzTdumDy29kahv6AV9A=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.6.0 h1:PiSrjRPpkQNjrM8H0WwKMnZUdu1RGMtd/LdGKUrOo+c=
+github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.6.0/go.mod h1:oDrbWx4ewMylP7xHivfgixbfGBT6APAwsSoHRKotnIc=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/subscription/armsubscription v1.2.0 h1:UrGzkHueDwAWDdjQxC+QaXHd4tVCkISYE9j7fSSXF8k=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/subscription/armsubscription v1.2.0/go.mod h1:qskvSQeW+cxEE2bcKYyKimB1/KiQ9xpJ99bcHY0BX6c=
-github.com/Azure/azure-service-operator/v2 v2.6.0 h1:1Uwg4Ak+KhwK5ANBDFW0Ifgz0DXs4sSOFOBU7AIQY3s=
-github.com/Azure/azure-service-operator/v2 v2.6.0/go.mod h1:CFa7/cM5y+2mDynV0AteLoQRk5Tl/1c3gCyyiLAHRJA=
+github.com/Azure/azure-service-operator/v2 v2.8.0 h1:BcyB8LvRmtgVIIUaXwWIJz5eHvknyno0qq5LkDuvM/s=
+github.com/Azure/azure-service-operator/v2 v2.8.0/go.mod h1:ezbJS56PcORFFqLV8XZmM9xZ12m6aGAkg353fQhWD/8=
github.com/Azure/go-autorest v14.2.0+incompatible h1:V5VMDjClD3GiElqLWO7mz2MxNAK/vTfRHdAubSIPRgs=
github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
github.com/Azure/go-autorest/autorest v0.11.28/go.mod h1:MrkzG3Y3AH668QyF9KRk5neJnGgmhQ6krbhR8Q5eMvA=
@@ -65,8 +79,8 @@ github.com/Azure/go-autorest/autorest v0.11.29 h1:I4+HL/JDvErx2LjyzaVxllw2lRDB5/
github.com/Azure/go-autorest/autorest v0.11.29/go.mod h1:ZtEzC4Jy2JDrZLxvWs8LrBWEBycl1hbT1eknI8MtfAs=
github.com/Azure/go-autorest/autorest/adal v0.9.18/go.mod h1:XVVeme+LZwABT8K5Lc3hA4nAe8LDBVle26gTrguhhPQ=
github.com/Azure/go-autorest/autorest/adal v0.9.22/go.mod h1:XuAbAEUv2Tta//+voMI038TrJBqjKam0me7qR+L8Cmk=
-github.com/Azure/go-autorest/autorest/adal v0.9.23 h1:Yepx8CvFxwNKpH6ja7RZ+sKX+DWYNldbLiALMC3BTz8=
-github.com/Azure/go-autorest/autorest/adal v0.9.23/go.mod h1:5pcMqFkdPhviJdlEy3kC/v1ZLnQl0MH6XA5YCcMhy4c=
+github.com/Azure/go-autorest/autorest/adal v0.9.24 h1:BHZfgGsGwdkHDyZdtQRQk1WeUdW0m2WPAwuHZwUi5i4=
+github.com/Azure/go-autorest/autorest/adal v0.9.24/go.mod h1:7T1+g0PYFmACYW5LlG2fcoPiPlFHjClyRGL7dRlP5c8=
github.com/Azure/go-autorest/autorest/azure/auth v0.5.13 h1:Ov8avRZi2vmrE2JcXw+tu5K/yB41r7xK9GZDiBF7NdM=
github.com/Azure/go-autorest/autorest/azure/auth v0.5.13/go.mod h1:5BAVfWLWXihP47vYrPuBKKf4cS0bXI+KM9Qx6ETDJYo=
github.com/Azure/go-autorest/autorest/azure/cli v0.4.6 h1:w77/uPk80ZET2F+AfQExZyEWtn+0Rk/uw17m9fv5Ajc=
@@ -108,34 +122,34 @@ github.com/blang/semver v3.5.1+incompatible h1:cQNTCjp13qL8KC3Nbxr/y2Bqb63oX6wdn
github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
-github.com/cenkalti/backoff/v4 v4.2.1 h1:y4OZtCnogmCPw98Zjyt5a6+QwPLGkiQsYW5oUqylYbM=
-github.com/cenkalti/backoff/v4 v4.2.1/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
-github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
-github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/coredns/caddy v1.1.0 h1:ezvsPrT/tA/7pYDBZxu0cT0VmWk75AfIaf6GSYCNMf0=
-github.com/coredns/caddy v1.1.0/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4=
-github.com/coredns/corefile-migration v1.0.21 h1:W/DCETrHDiFo0Wj03EyMkaQ9fwsmSgqTCQDHpceaSsE=
-github.com/coredns/corefile-migration v1.0.21/go.mod h1:XnhgULOEouimnzgn0t4WPuFDN2/PJQcTxdWKC5eXNGE=
+github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
+github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE=
+github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
+github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
+github.com/coredns/caddy v1.1.1 h1:2eYKZT7i6yxIfGP3qLJoJ7HAsDJqYB+X68g4NYjSrE0=
+github.com/coredns/caddy v1.1.1/go.mod h1:A6ntJQlAWuQfFlsd9hvigKbo2WS0VUs2l1e2F+BawD4=
+github.com/coredns/corefile-migration v1.0.25 h1:/XexFhM8FFlFLTS/zKNEWgIZ8Gl5GaWrHsMarGj/PRQ=
+github.com/coredns/corefile-migration v1.0.25/go.mod h1:56DPqONc3njpVPsdilEnfijCwNGC3/kTJLl7i7SPavY=
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf h1:iW4rZ826su+pqaw19uhpSCzhj44qo35pNgKFGqzDKkU=
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
-github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
+github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dimchansky/utfbom v1.1.1 h1:vV6w1AhK4VMnhBno/TPVCoK9U/LP0PkLCS9tbxHdi/U=
github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=
-github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0=
-github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
+github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
+github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/dnaeon/go-vcr v1.2.0 h1:zHCHvJYTMh1N7xnV7zf1m1GPBF9Ad0Jk/whtQ1663qI=
github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
-github.com/emicklei/go-restful/v3 v3.12.0 h1:y2DdzBAURM29NFF94q6RaY4vjIH1rtwDapwQtU84iWk=
-github.com/emicklei/go-restful/v3 v3.12.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
+github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU=
+github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/evanphx/json-patch v5.9.0+incompatible h1:fBXyNpNMuTTDdquAq/uisOr2lShz4oaXpDTX2bLe7ls=
github.com/evanphx/json-patch v5.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg=
@@ -151,14 +165,14 @@ github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ=
github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg=
-github.com/go-openapi/jsonpointer v0.20.2 h1:mQc3nmndL8ZBzStEo3JYF8wzmeWffDH4VbXz58sAx6Q=
-github.com/go-openapi/jsonpointer v0.20.2/go.mod h1:bHen+N0u1KEO3YlmqOjTT9Adn1RfD91Ar825/PuiRVs=
-github.com/go-openapi/jsonreference v0.20.4 h1:bKlDxQxQJgwpUSgOENiMPzCTBVuc7vTdXSSgNeAhojU=
-github.com/go-openapi/jsonreference v0.20.4/go.mod h1:5pZJyJP2MnYCpoeoMAql78cCHauHj0V9Lhc506VOpw4=
-github.com/go-openapi/swag v0.22.8 h1:/9RjDSQ0vbFR+NyjGMkFTsA1IA0fmhKSThmfGZjicbw=
-github.com/go-openapi/swag v0.22.8/go.mod h1:6QT22icPLEqAM/z/TChgb4WAveCHF92+2gF0CNjHpPI=
-github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI=
-github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI=
+github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
+github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
+github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ=
+github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4=
+github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
+github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
+github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y=
+github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
@@ -178,25 +192,22 @@ github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei
github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
-github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4=
github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA=
-github.com/google/cel-go v0.17.7 h1:6ebJFzu1xO2n7TLtN+UBqShGBhlD85bhvglh5DpcfqQ=
-github.com/google/cel-go v0.17.7/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY=
+github.com/google/cel-go v0.17.8 h1:j9m730pMZt1Fc4oKhCLUHfjj6527LuhYcYw0Rl8gqto=
+github.com/google/cel-go v0.17.8/go.mod h1:HXZKzB0LXqer5lHHgfWAnlYwJaQBDKMjxjulNQzhwhY=
github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I=
github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U=
-github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 h1:k7nVchz72niMH6YLQNvHSdIE7iqsQxK1P41mySCvssg=
-github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw=
+github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 h1:5iH8iuqE5apketRbSFBy+X1V0o+l+8NF1avt4HWl7cA=
+github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
@@ -207,8 +218,8 @@ github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92Bcuy
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 h1:Wqo399gCIufwto+VfwCSvsnfGpF/w5E9CNxSwbpD6No=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0/go.mod h1:qmOFXW2epJhM0qSnUUYpldc7gVz2KMQwJ/QYCDIa7XU=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 h1:bkypFPDjIYGfCYD5mRBvpqxfYX1YCS1PXdKYWi8FsN0=
+github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0/go.mod h1:P+Lt/0by1T8bfcF3z737NnSbmxQAppXMRziHUxPOC8k=
github.com/hashicorp/golang-lru v1.0.2 h1:dV3g9Z/unq5DpblPpw+Oqcv4dU/1omnb4Ok8iPY6p1c=
github.com/hashicorp/golang-lru v1.0.2/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU=
@@ -219,10 +230,10 @@ github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg=
-github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 h1:L0QtFUgDarD7Fpv9jeVMgy/+Ec0mtnmYuImjTz6dtDA=
-github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
-github.com/jackc/pgx/v5 v5.5.3 h1:Ces6/M3wbDXYpM8JyyPD57ivTtJACFZJd885pdIaV2s=
-github.com/jackc/pgx/v5 v5.5.3/go.mod h1:ez9gk+OAat140fv9ErkZDYFWmXLfV+++K0uAOiwgm1A=
+github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo=
+github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM=
+github.com/jackc/pgx/v5 v5.6.0 h1:SWJzexBzPL5jb0GEsrPMLIsi/3jOo7RHlzTjcAeDrPY=
+github.com/jackc/pgx/v5 v5.6.0/go.mod h1:DNZ/vlrUnhWCoFGxHAG8U2ljioxukquj7utPDgtQdTw=
github.com/jackc/puddle/v2 v2.2.1 h1:RhxXJtFG022u4ibrCSMSiu5aOq1i77R3OHKNJj77OAk=
github.com/jackc/puddle/v2 v2.2.1/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4=
github.com/jonboulle/clockwork v0.2.2 h1:UOGuzwb1PwsrDAObMuhUnj0p5ULPj8V/xJ7Kx9qUBdQ=
@@ -243,8 +254,8 @@ github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
-github.com/microsoft/go-mssqldb v1.6.0 h1:mM3gYdVwEPFrlg/Dvr2DNVEgYFG7L42l+dGc67NNNpc=
-github.com/microsoft/go-mssqldb v1.6.0/go.mod h1:00mDtPbeQCRGC1HwOOR5K/gr30P1NcEG0vx6Kbv2aJU=
+github.com/microsoft/go-mssqldb v1.7.2 h1:CHkFJiObW7ItKTJfHo1QX7QBBD1iV+mn1eOyRP3b/PA=
+github.com/microsoft/go-mssqldb v1.7.2/go.mod h1:kOvZKUdrhhFQmxLZqbwUV0rHkNkZpthMITIb2Ko1IoA=
github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=
github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
@@ -258,10 +269,10 @@ github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9G
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
-github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA=
-github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
-github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
-github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
+github.com/onsi/ginkgo/v2 v2.20.2 h1:7NVCeyIWROIAheY21RLS+3j2bb52W0W82tkberYytp4=
+github.com/onsi/ginkgo/v2 v2.20.2/go.mod h1:K9gyxPIlb+aIvnZ8bd9Ak+YP18w3APlR+5coaZoE2ag=
+github.com/onsi/gomega v1.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8=
+github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ=
@@ -272,12 +283,12 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_golang v1.18.0 h1:HzFfmkOzH5Q8L8G+kSJKUx5dtG87sewO+FoDDqP5Tbk=
github.com/prometheus/client_golang v1.18.0/go.mod h1:T+GXkCk5wSJyOqMIzVgvvjFDlkOQntgjkJWKrN5txjA=
-github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
-github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
+github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
+github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.46.0 h1:doXzt5ybi1HBKpsZOL0sSkaNHJJqkyfEWZGGqqScV0Y=
github.com/prometheus/common v0.46.0/go.mod h1:Tp0qkxpb9Jsg54QMe+EAmqXkSV7Evdy1BTn+g2pa/hQ=
-github.com/prometheus/procfs v0.12.0 h1:jluTpSng7V9hY0O2R9DzzJHYb2xULk9VTR1V1R/k6Bo=
-github.com/prometheus/procfs v0.12.0/go.mod h1:pcuDEFsWDnvcgNzo4EEweacyhjeA9Zk3cnaOZAZEfOo=
+github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
+github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
github.com/rogpeppe/go-internal v1.12.0/go.mod h1:E+RYuTGaKKdloAfM02xzb0FW3Paa99yedzYV+kq4uf4=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
@@ -289,17 +300,16 @@ github.com/soheilhy/cmux v0.1.5 h1:jjzc5WVemNEDTLwv9tlmemhC73tI08BNOIGwBOo10Js=
github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0=
github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0=
github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
-github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
-github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
+github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
+github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
-github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU=
-github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8=
+github.com/stoewer/go-strcase v1.3.0 h1:g0eASXYtp+yvN9fK8sH94oCIk0fau9uV1/ZdJ0AVEzs=
+github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
-github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
@@ -315,14 +325,14 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.etcd.io/bbolt v1.3.8 h1:xs88BrvEv273UsB79e0hcVrlUWmS0a8upikMFhSyAtA=
go.etcd.io/bbolt v1.3.8/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw=
-go.etcd.io/etcd/api/v3 v3.5.13 h1:8WXU2/NBge6AUF1K1gOexB6e07NgsN1hXK0rSTtgSp4=
-go.etcd.io/etcd/api/v3 v3.5.13/go.mod h1:gBqlqkcMMZMVTMm4NDZloEVJzxQOQIls8splbqBDa0c=
-go.etcd.io/etcd/client/pkg/v3 v3.5.13 h1:RVZSAnWWWiI5IrYAXjQorajncORbS0zI48LQlE2kQWg=
-go.etcd.io/etcd/client/pkg/v3 v3.5.13/go.mod h1:XxHT4u1qU12E2+po+UVPrEeL94Um6zL58ppuJWXSAB8=
+go.etcd.io/etcd/api/v3 v3.5.15 h1:3KpLJir1ZEBrYuV2v+Twaa/e2MdDCEZ/70H+lzEiwsk=
+go.etcd.io/etcd/api/v3 v3.5.15/go.mod h1:N9EhGzXq58WuMllgH9ZvnEr7SI9pS0k0+DHZezGp7jM=
+go.etcd.io/etcd/client/pkg/v3 v3.5.15 h1:fo0HpWz/KlHGMCC+YejpiCmyWDEuIpnTDzpJLB5fWlA=
+go.etcd.io/etcd/client/pkg/v3 v3.5.15/go.mod h1:mXDI4NAOwEiszrHCb0aqfAYNCrZP4e9hRca3d1YK8EU=
go.etcd.io/etcd/client/v2 v2.305.10 h1:MrmRktzv/XF8CvtQt+P6wLUlURaNpSDJHFZhe//2QE4=
go.etcd.io/etcd/client/v2 v2.305.10/go.mod h1:m3CKZi69HzilhVqtPDcjhSGp+kA1OmbNn0qamH80xjA=
-go.etcd.io/etcd/client/v3 v3.5.13 h1:o0fHTNJLeO0MyVbc7I3fsCf6nrOqn5d+diSarKnB2js=
-go.etcd.io/etcd/client/v3 v3.5.13/go.mod h1:cqiAeY8b5DEEcpxvgWKsbLIWNM/8Wy2xJSDMtioMcoI=
+go.etcd.io/etcd/client/v3 v3.5.15 h1:23M0eY4Fd/inNv1ZfU3AxrbbOdW79r9V9Rl62Nm6ip4=
+go.etcd.io/etcd/client/v3 v3.5.15/go.mod h1:CLSJxrYjvLtHsrPKsy7LmZEE+DK2ktfd2bN4RhBMwlU=
go.etcd.io/etcd/pkg/v3 v3.5.10 h1:WPR8K0e9kWl1gAhB5A7gEa5ZBTNkT9NdNWrR8Qpo1CM=
go.etcd.io/etcd/pkg/v3 v3.5.10/go.mod h1:TKTuCKKcF1zxmfKWDkfz5qqYaE3JncKKZPFf8c1nFUs=
go.etcd.io/etcd/raft/v3 v3.5.10 h1:cgNAYe7xrsrn/5kXMSaH8kM/Ky8mAdMqGOxyYwpP0LA=
@@ -331,34 +341,34 @@ go.etcd.io/etcd/server/v3 v3.5.10 h1:4NOGyOwD5sUZ22PiWYKmfxqoeh72z6EhYjNosKGLmZg
go.etcd.io/etcd/server/v3 v3.5.10/go.mod h1:gBplPHfs6YI0L+RpGkTQO7buDbHv5HJGG/Bst0/zIPo=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0 h1:PzIubN4/sjByhDRHLviCjJuweBXWFZWhghjg7cS28+M=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0/go.mod h1:Ct6zzQEuGK3WpJs2n4dn+wfJYzd/+hNnxMRTWjGn30M=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0 h1:1eHu3/pUSWaOgltNK3WJFaywKsTIr/PwvHyDmi0lQA0=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.0/go.mod h1:HyABWq60Uy1kjJSa2BVOxUVao8Cdick5AWSKPutqy6U=
-go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo=
-go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 h1:t6wl9SPayj+c7lEIFgm4ooDBZVb01IhLB4InpomhRw8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0/go.mod h1:iSDOcsnSA5INXzZtwaBPrKp/lWu/V14Dd+llD0oI2EA=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0 h1:Mw5xcxMwlqoJd97vwPxA8isEaIoxsta9/Q51+TTJLGE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0/go.mod h1:CQNu9bj7o7mC6U7+CA/schKEYakYXWr79ucDHTMGhCM=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0 h1:9l89oX4ba9kHbBol3Xin3leYJ+252h0zszDtBwyKe2A=
+go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.52.0/go.mod h1:XLZfZboOJWHNKUv7eH0inh0E9VV6eWDFB/9yJyTLPp0=
+go.opentelemetry.io/otel v1.27.0 h1:9BZoF3yMK/O1AafMiQTVu0YDj5Ea4hPhxCs7sGva+cg=
+go.opentelemetry.io/otel v1.27.0/go.mod h1:DMpAK8fzYRzs+bi3rS5REupisuqTheUlSZJ1WnZaPAQ=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0 h1:R9DE4kQ4k+YtfLI2ULwX82VtNQ2J8yZmA7ZIF/D+7Mc=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.27.0/go.mod h1:OQFyQVrDlbe+R7xrEyDr/2Wr67Ol0hRUgsfA+V5A95s=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA=
+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ=
go.opentelemetry.io/otel/exporters/prometheus v0.46.0 h1:I8WIFXR351FoLJYuloU4EgXbtNX2URfU/85pUPheIEQ=
go.opentelemetry.io/otel/exporters/prometheus v0.46.0/go.mod h1:ztwVUHe5DTR/1v7PeuGRnU5Bbd4QKYwApWmuutKsJSs=
-go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI=
-go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco=
-go.opentelemetry.io/otel/sdk v1.24.0 h1:YMPPDNymmQN3ZgczicBY3B6sf9n62Dlj9pWD3ucgoDw=
-go.opentelemetry.io/otel/sdk v1.24.0/go.mod h1:KVrIYw6tEubO9E96HQpcmpTKDVn9gdv35HoYiQWGDFg=
-go.opentelemetry.io/otel/sdk/metric v1.24.0 h1:yyMQrPzF+k88/DbH7o4FMAs80puqd+9osbiBrJrz/w8=
-go.opentelemetry.io/otel/sdk/metric v1.24.0/go.mod h1:I6Y5FjH6rvEnTTAYQz3Mmv2kl6Ek5IIrmwTLqMrrOE0=
-go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI=
-go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU=
-go.opentelemetry.io/proto/otlp v1.1.0 h1:2Di21piLrCqJ3U3eXGCTPHE9R8Nh+0uglSnOyxikMeI=
-go.opentelemetry.io/proto/otlp v1.1.0/go.mod h1:GpBHCBWiqvVLDqmHZsoMM3C5ySeKTC7ej/RNTae6MdY=
+go.opentelemetry.io/otel/metric v1.27.0 h1:hvj3vdEKyeCi4YaYfNjv2NUje8FqKqUY8IlF0FxV/ik=
+go.opentelemetry.io/otel/metric v1.27.0/go.mod h1:mVFgmRlhljgBiuk/MP/oKylr4hs85GZAylncepAX/ak=
+go.opentelemetry.io/otel/sdk v1.27.0 h1:mlk+/Y1gLPLn84U4tI8d3GNJmGT/eXe3ZuOXN9kTWmI=
+go.opentelemetry.io/otel/sdk v1.27.0/go.mod h1:Ha9vbLwJE6W86YstIywK2xFfPjbWlCuwPtMkKdz/Y4A=
+go.opentelemetry.io/otel/sdk/metric v1.27.0 h1:5uGNOlpXi+Hbo/DRoI31BSb1v+OGcpv2NemcCrOL8gI=
+go.opentelemetry.io/otel/sdk/metric v1.27.0/go.mod h1:we7jJVrYN2kh3mVBlswtPU22K0SA+769l93J6bsyvqw=
+go.opentelemetry.io/otel/trace v1.27.0 h1:IqYb813p7cmbHk0a5y6pD5JPakbVfftRXABGt5/Rscw=
+go.opentelemetry.io/otel/trace v1.27.0/go.mod h1:6RiD1hkAprV4/q+yd2ln1HG9GoPx39SuvvstaLBl+l4=
+go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0=
+go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/mock v0.4.0 h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=
go.uber.org/mock v0.4.0/go.mod h1:a6FSlNadKUHUa9IP5Vyt1zh4fC7uAwxMutEAscFbkZc=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y=
-go.uber.org/zap v1.26.0 h1:sI7k6L95XOKS281NhVKOFCUNIvv9e0w4BF8N3u+tCRo=
-go.uber.org/zap v1.26.0/go.mod h1:dtElttAiwGvoJ/vj4IwHBS/gXsEu/pZ50mUIRWuG0so=
+go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
+go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
@@ -366,16 +376,16 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
-golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI=
-golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM=
-golang.org/x/exp v0.0.0-20240119083558-1b970713d09a h1:Q8/wZp0KX97QFTc2ywcOE0YRjZPVIx+MXInMzdvQqcA=
-golang.org/x/exp v0.0.0-20240119083558-1b970713d09a/go.mod h1:idGWGoKP1toJGkd5/ig9ZLuPcZBC3ewk7SzmH0uou08=
+golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=
+golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
+golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8=
+golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
-golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
-golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
+golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
+golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
@@ -385,17 +395,17 @@ golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
-golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
-golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
-golang.org/x/oauth2 v0.18.0 h1:09qnuIAgzdx1XplqJvW6CQqMCtGZykZWcXzPMPUusvI=
-golang.org/x/oauth2 v0.18.0/go.mod h1:Wf7knwG0MPoWIMMBgFlEaSUDaKskp0dCfrlJRJXbBi8=
+golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
+golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
+golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
+golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
-golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
+golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
+golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -408,25 +418,24 @@ golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
-golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
-golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
+golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
+golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0=
-golang.org/x/term v0.21.0 h1:WVXCp+/EBEHOj53Rvu+7KiT/iElMrO8ACK16SMZ3jaA=
-golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0=
+golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
+golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
-golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
-golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
-golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
+golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
+golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
golang.org/x/time v0.5.0 h1:o7cqy6amK/52YcAKIPlM3a+Fpj35zvRj2TP+e1xFSfk=
golang.org/x/time v0.5.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -435,28 +444,24 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
-golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=
-golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
+golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
+golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw=
gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY=
-google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM=
-google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds=
-google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 h1:YJ5pD9rF8o9Qtta0Cmy9rdBwkSjrTCT6XTiUQVOtIos=
-google.golang.org/genproto v0.0.0-20231212172506-995d672761c0/go.mod h1:l/k7rMz0vFTBPy+tFSGvXEd3z+BcoG1k7EHbqm+YBsY=
-google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917 h1:rcS6EyEaoCO52hQDupoSfrxI3R6C2Tq741is7X8OvnM=
-google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917/go.mod h1:CmlNWB9lSezaYELKS5Ym1r44VrrbPUa7JTvw+6MbpJ0=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917 h1:6G8oQ016D88m1xAKljMlBOOGWDZkes4kMhgGFlf8WcQ=
-google.golang.org/genproto/googleapis/rpc v0.0.0-20240102182953-50ed04b92917/go.mod h1:xtjpI3tXFPP051KaWnhvxkiubL/6dJ18vLVf7q2pTOU=
-google.golang.org/grpc v1.61.1 h1:kLAiWrZs7YeDM6MumDe7m3y4aM6wacLzM1Y/wiLP9XY=
-google.golang.org/grpc v1.61.1/go.mod h1:VUbo7IFqmF1QtCAstipjG0GIoq49KvMe9+h1jFLBNJs=
-google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
-google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
-google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
-google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
+google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d h1:VBu5YqKPv6XiJ199exd8Br+Aetz+o08F+PLMnwJQHAY=
+google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d/go.mod h1:yZTlhN0tQnXo3h00fuXNCxJdLdIdnVFVBaRJ5LWBbw4=
+google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3 h1:QW9+G6Fir4VcRXVH8x3LilNAb6cxBGLa6+GM4hRwexE=
+google.golang.org/genproto/googleapis/api v0.0.0-20240610135401-a8a62080eff3/go.mod h1:kdrSS/OiLkPrNUpzD4aHgCq2rVuC/YRxok32HXZ4vRE=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3 h1:9Xyg6I9IWQZhRVfCWjKK+l6kI0jHcPesVlMnT//aHNo=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20240610135401-a8a62080eff3/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
+google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA=
+google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0=
+google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
+google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
@@ -466,51 +471,50 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/natefinch/lumberjack.v2 v2.2.1 h1:bBRl1b0OH9s/DuPhuXpNl+VtCaJXFZ5/uEFST95x9zc=
gopkg.in/natefinch/lumberjack.v2 v2.2.1/go.mod h1:YD8tP3GAjkrDg1eZH7EGmyESg/lsYskCTPBJVb9jqSc=
-gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-k8s.io/api v0.29.3 h1:2ORfZ7+bGC3YJqGpV0KSDDEVf8hdGQ6A03/50vj8pmw=
-k8s.io/api v0.29.3/go.mod h1:y2yg2NTyHUUkIoTC+phinTnEa3KFM6RZ3szxt014a80=
-k8s.io/apiextensions-apiserver v0.29.3 h1:9HF+EtZaVpFjStakF4yVufnXGPRppWFEQ87qnO91YeI=
-k8s.io/apiextensions-apiserver v0.29.3/go.mod h1:po0XiY5scnpJfFizNGo6puNU6Fq6D70UJY2Cb2KwAVc=
-k8s.io/apimachinery v0.29.3 h1:2tbx+5L7RNvqJjn7RIuIKu9XTsIZ9Z5wX2G22XAa5EU=
-k8s.io/apimachinery v0.29.3/go.mod h1:hx/S4V2PNW4OMg3WizRrHutyB5la0iCUbZym+W0EQIU=
-k8s.io/apiserver v0.29.3 h1:xR7ELlJ/BZSr2n4CnD3lfA4gzFivh0wwfNfz9L0WZcE=
-k8s.io/apiserver v0.29.3/go.mod h1:hrvXlwfRulbMbBgmWRQlFru2b/JySDpmzvQwwk4GUOs=
-k8s.io/client-go v0.29.3 h1:R/zaZbEAxqComZ9FHeQwOh3Y1ZUs7FaHKZdQtIc2WZg=
-k8s.io/client-go v0.29.3/go.mod h1:tkDisCvgPfiRpxGnOORfkljmS+UrW+WtXAy2fTvXJB0=
-k8s.io/cloud-provider v0.29.3 h1:y39hNq0lrPD1qmqQ2ykwMJGeWF9LsepVkR2a4wskwLc=
-k8s.io/cloud-provider v0.29.3/go.mod h1:daDV1WkAO6pTrdsn7v8TpN/q9n75ExUC4RJDl7vlPKk=
-k8s.io/cluster-bootstrap v0.29.3 h1:DIMDZSN8gbFMy9CS2mAS2Iqq/fIUG783WN/1lqi5TF8=
-k8s.io/cluster-bootstrap v0.29.3/go.mod h1:aPAg1VtXx3uRrx5qU2jTzR7p1rf18zLXWS+pGhiqPto=
-k8s.io/component-base v0.29.3 h1:Oq9/nddUxlnrCuuR2K/jp6aflVvc0uDvxMzAWxnGzAo=
-k8s.io/component-base v0.29.3/go.mod h1:Yuj33XXjuOk2BAaHsIGHhCKZQAgYKhqIxIjIr2UXYio=
-k8s.io/component-helpers v0.29.3 h1:1dqZswuZgT2ZMixYeORyCUOAApXxgsvjVSgfoUT+P4o=
-k8s.io/component-helpers v0.29.3/go.mod h1:yiDqbRQrnQY+sPju/bL7EkwDJb6LVOots53uZNMZBos=
-k8s.io/klog/v2 v2.120.1 h1:QXU6cPEOIslTGvZaXvFWiP9VKyeet3sawzTOvdXb4Vw=
-k8s.io/klog/v2 v2.120.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
-k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 h1:aVUu9fTY98ivBPKR9Y5w/AuzbMm96cd3YHRTU83I780=
-k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00/go.mod h1:AsvuZPBlUDVuCdzJ87iajxtXuR9oktsTctW/R9wwouA=
-k8s.io/utils v0.0.0-20240102154912-e7106e64919e h1:eQ/4ljkx21sObifjzXwlPKpdGLrCfRziVtos3ofG/sQ=
-k8s.io/utils v0.0.0-20240102154912-e7106e64919e/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
-sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0 h1:TgtAeesdhpm2SGwkQasmbeqDo8th5wOBA5h/AjTKA4I=
-sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.28.0/go.mod h1:VHVDI/KrK4fjnV61bE2g3sA7tiETLn8sooImelsCx3Y=
-sigs.k8s.io/cloud-provider-azure v1.29.3 h1:P7WRYtDhTXOkWuxIuySg1k7FJKVBg7g8NMo+aY8e684=
-sigs.k8s.io/cloud-provider-azure v1.29.3/go.mod h1:HtxxVO+zvNjzJpg3Dq3PAOuWsQoZ2cSjuy24lzry3hY=
-sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.2 h1:9Zp+uWnxdUOoy/FaQK1DjPfLrzw8TyMEf0aaQ0dtq6c=
-sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.2/go.mod h1:JKWYkoOyET3wsN0Kk9WxA+zpopkuCy+v4+mrnJ60Yyk=
-sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.1 h1:Lp0nALZmvMJoiVeVV6XjnZv1uClfArnThhuDAjaqE5A=
-sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.1/go.mod h1:pPkJPx/eMVWP3R+LhPoOYGoY7lywcMJev5L2uSfH+Jo=
-sigs.k8s.io/cluster-api v1.7.3 h1:DsSRxsA+18jxLqPAo29abZ9kOPK1/xwhSuQb/MROzSs=
-sigs.k8s.io/cluster-api v1.7.3/go.mod h1:V9ZhKLvQtsDODwjXOKgbitjyCmC71yMBwDcMyNNIov0=
-sigs.k8s.io/cluster-api-provider-azure v1.15.1-0.20240617212811-a52056dfb88c h1:ujrGTddl9yRXaqVPJ81+aBCGUAQtrlmGg+uCRJHE7vU=
-sigs.k8s.io/cluster-api-provider-azure v1.15.1-0.20240617212811-a52056dfb88c/go.mod h1:dqGwr0KL+jdgqnHPTCfCI5TccFtH1MgTnv1vx3wXEak=
-sigs.k8s.io/controller-runtime v0.17.3 h1:65QmN7r3FWgTxDMz9fvGnO1kbf2nu+acg9p2R9oYYYk=
-sigs.k8s.io/controller-runtime v0.17.3/go.mod h1:N0jpP5Lo7lMTF9aL56Z/B2oWBJjey6StQM0jRbKQXtY=
+k8s.io/api v0.30.3 h1:ImHwK9DCsPA9uoU3rVh4QHAHHK5dTSv1nxJUapx8hoQ=
+k8s.io/api v0.30.3/go.mod h1:GPc8jlzoe5JG3pb0KJCSLX5oAFIW3/qNJITlDj8BH04=
+k8s.io/apiextensions-apiserver v0.30.3 h1:oChu5li2vsZHx2IvnGP3ah8Nj3KyqG3kRSaKmijhB9U=
+k8s.io/apiextensions-apiserver v0.30.3/go.mod h1:uhXxYDkMAvl6CJw4lrDN4CPbONkF3+XL9cacCT44kV4=
+k8s.io/apimachinery v0.30.3 h1:q1laaWCmrszyQuSQCfNB8cFgCuDAoPszKY4ucAjDwHc=
+k8s.io/apimachinery v0.30.3/go.mod h1:iexa2somDaxdnj7bha06bhb43Zpa6eWH8N8dbqVjTUc=
+k8s.io/apiserver v0.30.3 h1:QZJndA9k2MjFqpnyYv/PH+9PE0SHhx3hBho4X0vE65g=
+k8s.io/apiserver v0.30.3/go.mod h1:6Oa88y1CZqnzetd2JdepO0UXzQX4ZnOekx2/PtEjrOg=
+k8s.io/client-go v0.30.3 h1:bHrJu3xQZNXIi8/MoxYtZBBWQQXwy16zqJwloXXfD3k=
+k8s.io/client-go v0.30.3/go.mod h1:8d4pf8vYu665/kUbsxWAQ/JDBNWqfFeZnvFiVdmx89U=
+k8s.io/cloud-provider v0.30.2 h1:yov6r02v7sMUNNvzEz51LtL2krn2c1wsC+dy/8BxKQI=
+k8s.io/cloud-provider v0.30.2/go.mod h1:w69t2dSjDtI9BYK6SEqj6HmMKIojEk08fXRoUzjFN2I=
+k8s.io/cluster-bootstrap v0.30.3 h1:MgxyxMkpaC6mu0BKWJ8985XCOnKU+eH3Iy+biwtDXRk=
+k8s.io/cluster-bootstrap v0.30.3/go.mod h1:h8BoLDfdD7XEEIXy7Bx9FcMzxHwz29jsYYi34bM5DKU=
+k8s.io/component-base v0.30.3 h1:Ci0UqKWf4oiwy8hr1+E3dsnliKnkMLZMVbWzeorlk7s=
+k8s.io/component-base v0.30.3/go.mod h1:C1SshT3rGPCuNtBs14RmVD2xW0EhRSeLvBh7AGk1quA=
+k8s.io/component-helpers v0.30.3 h1:KPc8l0eGx9Wg2OcKc58k9ozNcVcOInAi3NGiuS2xJ/c=
+k8s.io/component-helpers v0.30.3/go.mod h1:VOQ7g3q+YbKWwKeACG2BwPv4ftaN8jXYJ5U3xpzuYAE=
+k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
+k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
+k8s.io/kube-openapi v0.0.0-20240521193020-835d969ad83a h1:zD1uj3Jf+mD4zmA7W+goE5TxDkI7OGJjBNBzq5fJtLA=
+k8s.io/kube-openapi v0.0.0-20240521193020-835d969ad83a/go.mod h1:UxDHUPsUwTOOxSU+oXURfFBcAS6JwiRXTYqYwfuGowc=
+k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0 h1:jgGTlFYnhF1PM1Ax/lAlxUPE+KfCIXHaathvJg1C3ak=
+k8s.io/utils v0.0.0-20240502163921-fe8a2dddb1d0/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
+sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3 h1:2770sDpzrjjsAtVhSeUFseziht227YAWYHLGNM8QPwY=
+sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.30.3/go.mod h1:Ve9uj1L+deCXFrPOk1LpFXqTg7LCFzFso6PA48q/XZw=
+sigs.k8s.io/cloud-provider-azure v1.30.4 h1:KD9wH7JAEnYNLQnk6tT78RHGc2iIx1F5BnNBtpm3uAI=
+sigs.k8s.io/cloud-provider-azure v1.30.4/go.mod h1:MAzEM7J+Kg949oUwNdzft7N6SCj81DtEJclMxCXwv3U=
+sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.29 h1:qiifAaaBqV3d/EcN9dKJaJI8S9FD/JhBOwrTPp+MBJY=
+sigs.k8s.io/cloud-provider-azure/pkg/azclient v0.0.29/go.mod h1:ZFAt0qF1kR+w8nBVJK56s6CFvLrlosN1i2c+Sxb7LBk=
+sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.16 h1:Fm/Yjv4nXjUtJ90uXKSKwPwaTWYuDFMhDNNOd77PlOg=
+sigs.k8s.io/cloud-provider-azure/pkg/azclient/configloader v0.0.16/go.mod h1:+kl90flu4+WCP6HBGVYbKVQR+5ztDzUNrWJz8rsnvRU=
+sigs.k8s.io/cluster-api v1.8.10 h1:iKzPWhzP/PNIKfTlPLICdF8G0G6Rh31xVqut435qoPI=
+sigs.k8s.io/cluster-api v1.8.10/go.mod h1:5MX/395c1wR69dkIwOvhjUwXASu19rU7RCCMeljx96c=
+sigs.k8s.io/cluster-api-provider-azure v1.17.5 h1:ZuZDUjcIiTLEeFCUbghujsb9z+ypXrr2DD0mYQJFws4=
+sigs.k8s.io/cluster-api-provider-azure v1.17.5/go.mod h1:+dvtXHm/3DHKRjfcZ1fT5ZdnfxzgpnsSPFm0nJPlGs0=
+sigs.k8s.io/controller-runtime v0.18.7 h1:WDnx8LTRY8Fn1j/7B+S/R9MeDjWNAzpDBoaSvMSrQME=
+sigs.k8s.io/controller-runtime v0.18.7/go.mod h1:L9r3fUZhID7Q9eK9mseNskpaTg2n11f/tlb8odyzJ4Y=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md
index af095f1da9..d13f2e0b35 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/CHANGELOG.md
@@ -1,5 +1,21 @@
# Release History
+## 1.14.0 (2024-08-07)
+
+### Features Added
+
+* Added field `Attributes` to `runtime.StartSpanOptions` to simplify creating spans with attributes.
+
+### Other Changes
+
+* Include the HTTP verb and URL in `log.EventRetryPolicy` log entries so it's clear which operation is being retried.
+
+## 1.13.0 (2024-07-16)
+
+### Features Added
+
+- Added runtime.NewRequestFromRequest(), allowing for a policy.Request to be created from an existing *http.Request.
+
## 1.12.0 (2024-06-06)
### Features Added
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go
index 187fe82b97..00f2d5a0ab 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/internal/resource/resource_identifier.go
@@ -192,7 +192,7 @@ func appendNext(parent *ResourceID, parts []string, id string) (*ResourceID, err
}
if strings.EqualFold(parts[0], providersKey) && (len(parts) == 2 || strings.EqualFold(parts[2], providersKey)) {
- //provider resource can only be on a tenant or a subscription parent
+ // provider resource can only be on a tenant or a subscription parent
if parent.ResourceType.String() != SubscriptionResourceType.String() && parent.ResourceType.String() != TenantResourceType.String() {
return nil, fmt.Errorf("invalid resource ID: %s", id)
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go
index 039b758bf9..6a7c916b43 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/arm/runtime/pipeline.go
@@ -34,18 +34,22 @@ func NewPipeline(module, version string, cred azcore.TokenCredential, plOpts azr
InsecureAllowCredentialWithHTTP: options.InsecureAllowCredentialWithHTTP,
Scopes: []string{conf.Audience + "/.default"},
})
+ // we don't want to modify the underlying array in plOpts.PerRetry
perRetry := make([]azpolicy.Policy, len(plOpts.PerRetry), len(plOpts.PerRetry)+1)
copy(perRetry, plOpts.PerRetry)
- plOpts.PerRetry = append(perRetry, authPolicy, exported.PolicyFunc(httpTraceNamespacePolicy))
+ perRetry = append(perRetry, authPolicy, exported.PolicyFunc(httpTraceNamespacePolicy))
+ plOpts.PerRetry = perRetry
if !options.DisableRPRegistration {
regRPOpts := armpolicy.RegistrationOptions{ClientOptions: options.ClientOptions}
regPolicy, err := NewRPRegistrationPolicy(cred, ®RPOpts)
if err != nil {
return azruntime.Pipeline{}, err
}
+ // we don't want to modify the underlying array in plOpts.PerCall
perCall := make([]azpolicy.Policy, len(plOpts.PerCall), len(plOpts.PerCall)+1)
copy(perCall, plOpts.PerCall)
- plOpts.PerCall = append(perCall, regPolicy)
+ perCall = append(perCall, regPolicy)
+ plOpts.PerCall = perCall
}
if plOpts.APIVersion.Name == "" {
plOpts.APIVersion.Name = "api-version"
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go
index 3041984d9b..e3e2d4e588 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/exported/request.go
@@ -7,6 +7,7 @@
package exported
import (
+ "bytes"
"context"
"encoding/base64"
"errors"
@@ -67,6 +68,42 @@ func (ov opValues) get(value any) bool {
return ok
}
+// NewRequestFromRequest creates a new policy.Request with an existing *http.Request
+// Exported as runtime.NewRequestFromRequest().
+func NewRequestFromRequest(req *http.Request) (*Request, error) {
+ policyReq := &Request{req: req}
+
+ if req.Body != nil {
+ // we can avoid a body copy here if the underlying stream is already a
+ // ReadSeekCloser.
+ readSeekCloser, isReadSeekCloser := req.Body.(io.ReadSeekCloser)
+
+ if !isReadSeekCloser {
+ // since this is an already populated http.Request we want to copy
+ // over its body, if it has one.
+ bodyBytes, err := io.ReadAll(req.Body)
+
+ if err != nil {
+ return nil, err
+ }
+
+ if err := req.Body.Close(); err != nil {
+ return nil, err
+ }
+
+ readSeekCloser = NopCloser(bytes.NewReader(bodyBytes))
+ }
+
+ // SetBody also takes care of updating the http.Request's body
+ // as well, so they should stay in-sync from this point.
+ if err := policyReq.SetBody(readSeekCloser, req.Header.Get("Content-Type")); err != nil {
+ return nil, err
+ }
+ }
+
+ return policyReq, nil
+}
+
// NewRequest creates a new Request with the specified input.
// Exported as runtime.NewRequest().
func NewRequest(ctx context.Context, httpMethod string, endpoint string) (*Request, error) {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go
index 79651fd962..7cb8c207e6 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/shared/constants.go
@@ -40,5 +40,5 @@ const (
Module = "azcore"
// Version is the semantic version (see http://semver.org) of this module.
- Version = "v1.12.0"
+ Version = "v1.14.0"
)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go
index 3df1c12189..bc6989310b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_http_trace.go
@@ -96,7 +96,8 @@ func (h *httpTracePolicy) Do(req *policy.Request) (resp *http.Response, err erro
// StartSpanOptions contains the optional values for StartSpan.
type StartSpanOptions struct {
- // for future expansion
+ // Attributes contains key-value pairs of attributes for the span.
+ Attributes []tracing.Attribute
}
// StartSpan starts a new tracing span.
@@ -126,8 +127,14 @@ func StartSpan(ctx context.Context, name string, tracer tracing.Tracer, options
return ctx, func(err error) {}
}
}
+
+ if options == nil {
+ options = &StartSpanOptions{}
+ }
+
ctx, span := tracer.Start(ctx, name, &tracing.SpanOptions{
- Kind: newSpanKind,
+ Kind: newSpanKind,
+ Attributes: options.Attributes,
})
ctx = context.WithValue(ctx, ctxActiveSpan{}, newSpanKind)
return ctx, func(err error) {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go
index 04d7bb4ecb..e15eea8249 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/policy_retry.go
@@ -102,7 +102,8 @@ func (p *retryPolicy) Do(req *policy.Request) (resp *http.Response, err error) {
try := int32(1)
for {
resp = nil // reset
- log.Writef(log.EventRetryPolicy, "=====> Try=%d", try)
+ // unfortunately we don't have access to the custom allow-list of query params, so we'll redact everything but the default allowed QPs
+ log.Writef(log.EventRetryPolicy, "=====> Try=%d for %s %s", try, req.Raw().Method, getSanitizedURL(*req.Raw().URL, getAllowedQueryParams(nil)))
// For each try, seek to the beginning of the Body stream. We do this even for the 1st try because
// the stream may not be at offset 0 when we first get it and we want the same behavior for the
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go
index 40ddc8d922..7d34b7803a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime/request.go
@@ -15,6 +15,7 @@ import (
"fmt"
"io"
"mime/multipart"
+ "net/http"
"net/textproto"
"net/url"
"path"
@@ -45,6 +46,11 @@ func NewRequest(ctx context.Context, httpMethod string, endpoint string) (*polic
return exported.NewRequest(ctx, httpMethod, endpoint)
}
+// NewRequestFromRequest creates a new policy.Request with an existing *http.Request
+func NewRequestFromRequest(req *http.Request) (*policy.Request, error) {
+ return exported.NewRequestFromRequest(req)
+}
+
// EncodeQueryParams will parse and encode any query parameters in the specified URL.
// Any semicolons will automatically be escaped.
func EncodeQueryParams(u string) (string, error) {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md
index 6d4b6feb86..a8c2feb6d4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/CHANGELOG.md
@@ -1,5 +1,29 @@
# Release History
+## 1.7.0 (2024-06-20)
+
+### Features Added
+* `AzurePipelinesCredential` authenticates an Azure Pipelines service connection with
+ workload identity federation
+
+### Breaking Changes
+> These changes affect only code written against a beta version such as v1.7.0-beta.1
+* Removed the persistent token caching API. It will return in v1.8.0-beta.1
+
+## 1.7.0-beta.1 (2024-06-10)
+
+### Features Added
+* Restored `AzurePipelinesCredential` and persistent token caching API
+
+## Breaking Changes
+> These changes affect only code written against a beta version such as v1.6.0-beta.4
+* Values which `NewAzurePipelinesCredential` read from environment variables in
+ prior versions are now parameters
+* Renamed `AzurePipelinesServiceConnectionCredentialOptions` to `AzurePipelinesCredentialOptions`
+
+### Bugs Fixed
+* Managed identity bug fixes
+
## 1.6.0 (2024-06-10)
### Features Added
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/README.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/README.md
index b5acff0e63..7e201ea2fd 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/README.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/README.md
@@ -140,6 +140,7 @@ client := armresources.NewResourceGroupsClient("subscription ID", chain, nil)
|Credential|Usage
|-|-
+|[AzurePipelinesCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#AzurePipelinesCredential)|Authenticate an Azure Pipelines [service connection](https://learn.microsoft.com/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml)
|[ClientAssertionCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#ClientAssertionCredential)|Authenticate a service principal with a signed client assertion
|[ClientCertificateCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#ClientCertificateCredential)|Authenticate a service principal with a certificate
|[ClientSecretCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#ClientSecretCredential)|Authenticate a service principal with a secret
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TOKEN_CACHING.MD b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TOKEN_CACHING.MD
index f9cc489433..fbaa292204 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TOKEN_CACHING.MD
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TOKEN_CACHING.MD
@@ -57,6 +57,7 @@ The following table indicates the state of in-memory and persistent caching in e
|--------------------------------|---------------------------------------------------------------------|--------------------------|
| `AzureCLICredential` | Not Supported | Not Supported |
| `AzureDeveloperCLICredential` | Not Supported | Not Supported |
+| `AzurePipelinesCredential` | Supported | Supported |
| `ClientAssertionCredential` | Supported | Supported |
| `ClientCertificateCredential` | Supported | Supported |
| `ClientSecretCredential` | Supported | Supported |
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TROUBLESHOOTING.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TROUBLESHOOTING.md
index 3564e685e1..54016a0709 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TROUBLESHOOTING.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/TROUBLESHOOTING.md
@@ -10,6 +10,7 @@ This troubleshooting guide covers failure investigation techniques, common error
- [Enable and configure logging](#enable-and-configure-logging)
- [Troubleshoot AzureCLICredential authentication issues](#troubleshoot-azureclicredential-authentication-issues)
- [Troubleshoot AzureDeveloperCLICredential authentication issues](#troubleshoot-azuredeveloperclicredential-authentication-issues)
+- [Troubleshoot AzurePipelinesCredential authentication issues](#troubleshoot-azurepipelinescredential-authentication-issues)
- [Troubleshoot ClientCertificateCredential authentication issues](#troubleshoot-clientcertificatecredential-authentication-issues)
- [Troubleshoot ClientSecretCredential authentication issues](#troubleshoot-clientsecretcredential-authentication-issues)
- [Troubleshoot DefaultAzureCredential authentication issues](#troubleshoot-defaultazurecredential-authentication-issues)
@@ -226,6 +227,15 @@ azd auth token --output json --scope https://management.core.windows.net/.defaul
|---|---|---|
|no client ID/tenant ID/token file specified|Incomplete configuration|In most cases these values are provided via environment variables set by Azure Workload Identity.
- If your application runs on Azure Kubernetes Servide (AKS) or a cluster that has deployed the Azure Workload Identity admission webhook, check pod labels and service account configuration. See the [AKS documentation](https://learn.microsoft.com/azure/aks/workload-identity-deploy-cluster#disable-workload-identity) and [Azure Workload Identity troubleshooting guide](https://azure.github.io/azure-workload-identity/docs/troubleshooting.html) for more details.
- If your application isn't running on AKS or your cluster hasn't deployed the Workload Identity admission webhook, set these values in `WorkloadIdentityCredentialOptions`
+
+## Troubleshoot AzurePipelinesCredential authentication issues
+
+| Error Message |Description| Mitigation |
+|---|---|---|
+| AADSTS900023: Specified tenant identifier 'some tenant ID' is neither a valid DNS name, nor a valid external domain.|The `tenantID` argument to `NewAzurePipelinesCredential` is incorrect| Verify the tenant ID. It must identify the tenant of the user-assigned managed identity or service principal configured for the service connection.|
+| No service connection found with identifier |The `serviceConnectionID` argument to `NewAzurePipelinesCredential` is incorrect| Verify the service connection ID. This parameter refers to the `resourceId` of the Azure Service Connection. It can also be found in the query string of the service connection's configuration in Azure DevOps. [Azure Pipelines documentation](https://learn.microsoft.com/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml) has more information about service connections.|
+|302 (Found) response from OIDC endpoint|The `systemAccessToken` argument to `NewAzurePipelinesCredential` is incorrect|Check pipeline configuration. This value comes from the predefined variable `System.AccessToken` [as described in Azure Pipelines documentation](https://learn.microsoft.com/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken).|
+
## Get additional help
Additional information on ways to reach out for support can be found in [SUPPORT.md](https://github.com/Azure/azure-sdk-for-go/blob/main/SUPPORT.md).
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/azure_pipelines_credential.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/azure_pipelines_credential.go
index 2655543aee..80c1806bb1 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/azure_pipelines_credential.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/azure_pipelines_credential.go
@@ -19,21 +19,20 @@ import (
const (
credNameAzurePipelines = "AzurePipelinesCredential"
oidcAPIVersion = "7.1"
- systemAccessToken = "SYSTEM_ACCESSTOKEN"
systemOIDCRequestURI = "SYSTEM_OIDCREQUESTURI"
)
-// azurePipelinesCredential authenticates with workload identity federation in an Azure Pipeline. See
+// AzurePipelinesCredential authenticates with workload identity federation in an Azure Pipeline. See
// [Azure Pipelines documentation] for more information.
//
// [Azure Pipelines documentation]: https://learn.microsoft.com/azure/devops/pipelines/library/connect-to-azure?view=azure-devops#create-an-azure-resource-manager-service-connection-that-uses-workload-identity-federation
-type azurePipelinesCredential struct {
+type AzurePipelinesCredential struct {
connectionID, oidcURI, systemAccessToken string
cred *ClientAssertionCredential
}
-// azurePipelinesCredentialOptions contains optional parameters for AzurePipelinesCredential.
-type azurePipelinesCredentialOptions struct {
+// AzurePipelinesCredentialOptions contains optional parameters for AzurePipelinesCredential.
+type AzurePipelinesCredentialOptions struct {
azcore.ClientOptions
// AdditionallyAllowedTenants specifies additional tenants for which the credential may acquire tokens.
@@ -48,28 +47,39 @@ type azurePipelinesCredentialOptions struct {
DisableInstanceDiscovery bool
}
-// newAzurePipelinesCredential is the constructor for AzurePipelinesCredential. In addition to its required arguments,
-// it reads a security token for the running build, which is required to authenticate the service connection, from the
-// environment variable SYSTEM_ACCESSTOKEN. See the [Azure Pipelines documentation] for an example showing how to set
-// this variable in build job YAML.
+// NewAzurePipelinesCredential is the constructor for AzurePipelinesCredential.
+//
+// - tenantID: tenant ID of the service principal federated with the service connection
+// - clientID: client ID of that service principal
+// - serviceConnectionID: ID of the service connection to authenticate
+// - systemAccessToken: security token for the running build. See [Azure Pipelines documentation] for
+// an example showing how to get this value.
//
// [Azure Pipelines documentation]: https://learn.microsoft.com/azure/devops/pipelines/build/variables?view=azure-devops&tabs=yaml#systemaccesstoken
-func newAzurePipelinesCredential(tenantID, clientID, serviceConnectionID string, options *azurePipelinesCredentialOptions) (*azurePipelinesCredential, error) {
- if options == nil {
- options = &azurePipelinesCredentialOptions{}
+func NewAzurePipelinesCredential(tenantID, clientID, serviceConnectionID, systemAccessToken string, options *AzurePipelinesCredentialOptions) (*AzurePipelinesCredential, error) {
+ if !validTenantID(tenantID) {
+ return nil, errInvalidTenantID
+ }
+ if clientID == "" {
+ return nil, errors.New("no client ID specified")
+ }
+ if serviceConnectionID == "" {
+ return nil, errors.New("no service connection ID specified")
+ }
+ if systemAccessToken == "" {
+ return nil, errors.New("no system access token specified")
}
u := os.Getenv(systemOIDCRequestURI)
if u == "" {
return nil, fmt.Errorf("no value for environment variable %s. This should be set by Azure Pipelines", systemOIDCRequestURI)
}
- sat := os.Getenv(systemAccessToken)
- if sat == "" {
- return nil, errors.New("no value for environment variable " + systemAccessToken)
- }
- a := azurePipelinesCredential{
+ a := AzurePipelinesCredential{
connectionID: serviceConnectionID,
oidcURI: u,
- systemAccessToken: sat,
+ systemAccessToken: systemAccessToken,
+ }
+ if options == nil {
+ options = &AzurePipelinesCredentialOptions{}
}
caco := ClientAssertionCredentialOptions{
AdditionallyAllowedTenants: options.AdditionallyAllowedTenants,
@@ -86,7 +96,7 @@ func newAzurePipelinesCredential(tenantID, clientID, serviceConnectionID string,
}
// GetToken requests an access token from Microsoft Entra ID. Azure SDK clients call this method automatically.
-func (a *azurePipelinesCredential) GetToken(ctx context.Context, opts policy.TokenRequestOptions) (azcore.AccessToken, error) {
+func (a *AzurePipelinesCredential) GetToken(ctx context.Context, opts policy.TokenRequestOptions) (azcore.AccessToken, error) {
var err error
ctx, endSpan := runtime.StartSpan(ctx, credNameAzurePipelines+"."+traceOpGetToken, a.cred.client.azClient.Tracer(), nil)
defer func() { endSpan(err) }()
@@ -94,7 +104,7 @@ func (a *azurePipelinesCredential) GetToken(ctx context.Context, opts policy.Tok
return tk, err
}
-func (a *azurePipelinesCredential) getAssertion(ctx context.Context) (string, error) {
+func (a *AzurePipelinesCredential) getAssertion(ctx context.Context) (string, error) {
url := a.oidcURI + "?api-version=" + oidcAPIVersion + "&serviceConnectionId=" + a.connectionID
url, err := runtime.EncodeQueryParams(url)
if err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/errors.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/errors.go
index 698650bbb6..35fa01d136 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/errors.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/errors.go
@@ -83,6 +83,8 @@ func (e *AuthenticationFailedError) Error() string {
anchor = "azure-cli"
case credNameAzureDeveloperCLI:
anchor = "azd"
+ case credNameAzurePipelines:
+ anchor = "apc"
case credNameCert:
anchor = "client-cert"
case credNameSecret:
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go
index 459ef64c6f..4305b5d3d8 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/azidentity/version.go
@@ -14,5 +14,5 @@ const (
module = "github.com/Azure/azure-sdk-for-go/sdk/" + component
// Version is the semantic version (see http://semver.org) of this module.
- version = "v1.6.0"
+ version = "v1.7.0"
)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/CHANGELOG.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/CHANGELOG.md
new file mode 100644
index 0000000000..8a5c4cc9f1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/CHANGELOG.md
@@ -0,0 +1,110 @@
+# Release History
+
+## 0.12.0 (2023-04-13)
+
+### Features Added
+* upgraded to api version 7.4
+
+### Breaking Changes
+* This module is now DEPRECATED. The latest supported version of this module is at github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets
+
+## 0.11.0 (2022-11-08)
+
+### Breaking Changes
+* `NewClient` returns an `error`
+
+## 0.10.1 (2022-09-20)
+
+### Features Added
+* Added `ClientOptions.DisableChallengeResourceVerification`.
+ See https://aka.ms/azsdk/blog/vault-uri for more information.
+
+## 0.10.0 (2022-09-12)
+
+### Breaking Changes
+* Verify the challenge resource matches the vault domain.
+
+## 0.9.0 (2022-08-09)
+
+### Breaking Changes
+* Changed type of `NewClient` options parameter to `azsecrets.ClientOptions`, which embeds
+ the former type, `azcore.ClientOptions`
+
+## 0.8.0 (2022-07-07)
+
+### Breaking Changes
+* The `Client` API now corresponds more directly to the Key Vault REST API.
+ Most method signatures and types have changed. See the
+ [module documentation](https://aka.ms/azsdk/go/keyvault-secrets/docs)
+ for updated code examples and more details.
+
+### Other Changes
+* Upgrade to latest `azcore`
+
+## 0.7.1 (2022-05-12)
+
+### Other Changes
+* Updated to latest `azcore` and `internal` modules.
+
+## 0.7.0 (2022-04-06)
+
+### Features Added
+* Added `PossibleDeletionRecoveryLevelValues` to iterate over all valid `DeletionRecoveryLevel` values
+* Implemented generic pagers from `runtime.Pager` for all List operations
+* Added `Name *string` to `DeletedSecret`, `Properties`, `Secret`, `SecretItem`, and `SecretItem`
+* Added `Client.VaultURL` to determine the vault URL for debugging
+* Adding `ResumeToken` method to pollers for resuming polling at a later date by using the added `ResumeToken` optional parameter on client polling methods
+
+### Breaking Changes
+* Requires a minimum version of go 1.18
+* Removed `RawResponse` from pollers
+* Removed `DeletionRecoveryLevel`
+* Polling operations return a Poller struct directly instead of a Response envelope
+* Removed `ToPtr` methods
+* `Client.UpdateSecretProperties` takes a `Secret`
+* Renamed `Client.ListSecrets` to `Client.ListPropertiesOfSecrets`
+* Renamed `Client.ListSecretVersions` to `Client.ListPropertiesOfSecretVersions`
+* Renamed `DeletedDate` to `DeletedOn` and `Managed` to `IsManaged`
+* Moved `ContentType`, `Tags`, `KeyID`, and `IsManaged` to `Properties`
+
+## 0.6.0 (2022-03-08)
+
+### Breaking Changes
+* Changes `Attributes` to `Properties`
+* Changes `Secret.KID` to `Secret.KeyID`
+* Changes `DeletedSecretBundle` to `DeletedSecret`
+* Changes `DeletedDate` to `DeletedOn`, `Created` to `CreatedOn`, and `Updated` to `UpdatedOn`
+* Changes the signature of `Client.UpdateSecretProperties` to have all alterable properties in the `UpdateSecretPropertiesOptions` parameter, removing the `parameters Properties` parameter.
+* Changes `Item` to `SecretItem`
+* Pollers and pagers are structs instead of interfaces
+* Prefixed all `DeletionRecoveryLevel` constants with "DeletionRecoveryLevel"
+* Changed pager APIs for `ListSecretVersionsPager`, `ListDeletedSecretsPager`, and `ListSecretsPager`
+ * Use the `More()` method to determine if there are more pages to fetch
+ * Use the `NextPage(context.Context)` to fetch the next page of results
+* Removed all `RawResponse *http.Response` fields from response structs.
+
+## 0.5.0 (2022-02-08)
+
+### Breaking Changes
+* Fixes a bug where `UpdateSecretProperties` will delete properties that are not explicitly set each time. This is only a breaking change at runtime, where the request body will change.
+
+## 0.4.0 (2022-01-11)
+
+### Other Changes
+* Bumps `azcore` dependency from `v0.20.0` to `v0.21.0`
+
+## 0.3.0 (2021-11-09)
+
+### Features Added
+* Clients can now connect to Key Vaults in any cloud
+
+## 0.2.0 (2021-11-02)
+
+### Other Changes
+* Bumps `azcore` dependency to `v0.20.0` and `azidentity` to `v0.12.0`
+
+## 0.1.1 (2021-10-06)
+* Adds the MIT License for redistribution
+
+## 0.1.0 (2021-10-05)
+* This is the initial release of the `azsecrets` library
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/LICENSE.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/LICENSE.txt
new file mode 100644
index 0000000000..d1ca00f20a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/LICENSE.txt
@@ -0,0 +1,21 @@
+ MIT License
+
+ Copyright (c) Microsoft Corporation. All rights reserved.
+
+ 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-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/README.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/README.md
new file mode 100644
index 0000000000..06a23c841c
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/README.md
@@ -0,0 +1,144 @@
+# Azure Key Vault Secrets client module for Go
+> Deprecated: use github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets instead
+
+Azure Key Vault helps solve the following problems:
+* Secrets management (this module) - securely store and control access to tokens, passwords, certificates, API keys, and other secrets
+* Cryptographic key management ([azkeys](https://azsdk/go/keyvault-keys/docs)) - create, store, and control access to the keys used to encrypt your data
+* Certificate management ([azcertificates](https://aka.ms/azsdk/go/keyvault-certificates/docs)) - create, manage, and deploy public and private SSL/TLS certificates
+
+[Source code][module_source] | [Package (pkg.go.dev)][reference_docs] | [Product documentation][keyvault_docs] | [Samples][secrets_samples]
+
+## Getting started
+
+### Install packages
+
+Install `azsecrets` and `azidentity` with `go get`:
+```
+go get github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets
+go get github.com/Azure/azure-sdk-for-go/sdk/azidentity
+```
+[azidentity][azure_identity] is used for Azure Active Directory authentication as demonstrated below.
+
+
+### Prerequisites
+
+* An [Azure subscription][azure_sub]
+* A supported Go version (the Azure SDK supports the two most recent Go releases)
+* A key vault. If you need to create one, see the Key Vault documentation for instructions on doing so in the [Azure Portal][azure_keyvault_portal] or with the [Azure CLI][azure_keyvault_cli].
+
+### Authentication
+
+This document demonstrates using [azidentity.NewDefaultAzureCredential][default_cred_ref] to authenticate. This credential type works in both local development and production environments. We recommend using a [managed identity][managed_identity] in production.
+
+[Client][client_docs] accepts any [azidentity][azure_identity] credential. See the [azidentity][azure_identity] documentation for more information about other credential types.
+
+#### Create a client
+
+Constructing the client also requires your vault's URL, which you can get from the Azure CLI or the Azure Portal.
+
+```golang
+import (
+ "github.com/Azure/azure-sdk-for-go/sdk/azidentity"
+ "github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets"
+)
+
+func main() {
+ cred, err := azidentity.NewDefaultAzureCredential(nil)
+ if err != nil {
+ // TODO: handle error
+ }
+
+ client := azsecrets.NewClient("https://.vault.azure.net", cred, nil)
+}
+```
+
+## Key concepts
+
+### Secret
+
+A secret consists of a secret value and its associated metadata and management information. This library handles secret values as strings, but Azure Key Vault doesn't store them as such. For more information about secrets and how Key Vault stores and manages them, see the [Key Vault documentation](https://docs.microsoft.com/azure/key-vault/general/about-keys-secrets-certificates).
+
+`azseecrets.Client` can set secret values in the vault, update secret metadata, and delete secrets, as shown in the examples below.
+
+## Examples
+
+Get started with our [examples](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets#pkg-examples).
+
+## Troubleshooting
+
+### Error Handling
+
+All methods which send HTTP requests return `*azcore.ResponseError` when these requests fail. `ResponseError` has error details and the raw response from Key Vault.
+
+```go
+import "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+
+resp, err := client.GetSecret(context.Background(), "secretName", nil)
+if err != nil {
+ var httpErr *azcore.ResponseError
+ if errors.As(err, &httpErr) {
+ // TODO: investigate httpErr
+ } else {
+ // TODO: not an HTTP error
+ }
+}
+```
+
+### Logging
+
+This module uses the logging implementation in `azcore`. To turn on logging for all Azure SDK modules, set `AZURE_SDK_GO_LOGGING` to `all`. By default the logger writes to stderr. Use the `azcore/log` package to control log output. For example, logging only HTTP request and response events, and printing them to stdout:
+
+```go
+import azlog "github.com/Azure/azure-sdk-for-go/sdk/azcore/log"
+
+// Print log events to stdout
+azlog.SetListener(func(cls azlog.Event, msg string) {
+ fmt.Println(msg)
+})
+
+// Includes only requests and responses in credential logs
+azlog.SetEvents(azlog.EventRequest, azlog.EventResponse)
+```
+
+### Accessing `http.Response`
+
+You can access the raw `*http.Response` returned by Key Vault using the `runtime.WithCaptureResponse` method and a context passed to any client method.
+
+```go
+import "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+
+var response *http.Response
+ctx := runtime.WithCaptureResponse(context.TODO(), &response)
+_, err = client.GetSecret(ctx, "secretName", nil)
+if err != nil {
+ // TODO: handle error
+}
+// TODO: do something with response
+```
+
+### Additional Documentation
+
+See the [API reference documentation][reference_docs] for complete documentation of this module.
+
+## Contributing
+
+This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
+
+When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
+
+This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact opencode@microsoft.com with any additional questions or comments.
+
+[azure_identity]: https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity
+[azure_keyvault_cli]: https://docs.microsoft.com/azure/key-vault/general/quick-create-cli
+[azure_keyvault_portal]: https://docs.microsoft.com/azure/key-vault/general/quick-create-portal
+[azure_sub]: https://azure.microsoft.com/free/
+[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
+[default_cred_ref]: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/azidentity#defaultazurecredential
+[keyvault_docs]: https://docs.microsoft.com/azure/key-vault/
+[managed_identity]: https://docs.microsoft.com/azure/active-directory/managed-identities-azure-resources/overview
+[reference_docs]: https://aka.ms/azsdk/go/keyvault-secrets/docs
+[client_docs]: https://aka.ms/azsdk/go/keyvault-secrets/docs#Client
+[module_source]: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/keyvault/azsecrets
+[secrets_samples]: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/keyvault/azsecrets/example_test.go
+
+
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/TROUBLESHOOTING.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/TROUBLESHOOTING.md
new file mode 100644
index 0000000000..72269c7a0e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/TROUBLESHOOTING.md
@@ -0,0 +1,4 @@
+# Troubleshoot Azure Key Vault Secrets Client Module Issues
+
+See our [Azure Key Vault SDK Troubleshooting Guide](https://github.com/Azure/azure-sdk-for-go/blob/main/sdk/keyvault/TROUBLESHOOTING.md)
+to troubleshoot issues common to Azure Key Vault client modules.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/autorest.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/autorest.md
new file mode 100644
index 0000000000..e6cfb9f8c6
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/autorest.md
@@ -0,0 +1,96 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+```yaml
+clear-output-folder: false
+export-clients: true
+go: true
+input-file: https://github.com/Azure/azure-rest-api-specs/blob/551275acb80e1f8b39036b79dfc35a8f63b601a7/specification/keyvault/data-plane/Microsoft.KeyVault/stable/7.4/secrets.json
+license-header: MICROSOFT_MIT_NO_VERSION
+module: github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets
+openapi-type: "data-plane"
+output-folder: ../azsecrets
+override-client-name: Client
+security: "AADToken"
+security-scopes: "https://vault.azure.net/.default"
+use: "@autorest/go@4.0.0-preview.46"
+version: "^3.0.0"
+
+directive:
+ # delete unused model
+ - remove-model: SecretProperties
+
+ # make vault URL a parameter of the client constructor
+ - from: swagger-document
+ where: $["x-ms-parameterized-host"]
+ transform: $.parameters[0]["x-ms-parameter-location"] = "client"
+
+ # rename parameter models to match their methods
+ - rename-model:
+ from: SecretRestoreParameters
+ to: RestoreSecretParameters
+ - rename-model:
+ from: SecretSetParameters
+ to: SetSecretParameters
+ - rename-model:
+ from: SecretUpdateParameters
+ to: UpdateSecretParameters
+
+ # rename paged operations from Get* to List*
+ - rename-operation:
+ from: GetDeletedSecrets
+ to: ListDeletedSecrets
+ - rename-operation:
+ from: GetSecrets
+ to: ListSecrets
+ - rename-operation:
+ from: GetSecretVersions
+ to: ListSecretVersions
+
+ # delete unused error models
+ - from: models.go
+ where: $
+ transform: return $.replace(/(?:\/\/.*\s)+type (?:Error|KeyVaultError).+\{(?:\s.+\s)+\}\s/g, "");
+ - from: models_serde.go
+ where: $
+ transform: return $.replace(/(?:\/\/.*\s)+func \(\w \*?(?:Error|KeyVaultError)\).*\{\s(?:.+\s)+\}\s/g, "");
+
+ # delete the Attributes model defined in common.json (it's used only with allOf)
+ - from: models.go
+ where: $
+ transform: return $.replace(/(?:\/\/.*\s)+type Attributes.+\{(?:\s.+\s)+\}\s/g, "");
+ - from: models_serde.go
+ where: $
+ transform: return $.replace(/(?:\/\/.*\s)+func \(a \*?Attributes\).*\{\s(?:.+\s)+\}\s/g, "");
+
+ # delete the version path param check (version == "" is legal for Key Vault but indescribable by OpenAPI)
+ - from: client.go
+ where: $
+ transform: return $.replace(/\sif secretVersion == "" \{\s+.+secretVersion cannot be empty"\)\s+\}\s/g, "");
+
+ # delete client name prefix from method options and response types
+ - from:
+ - client.go
+ - models.go
+ - response_types.go
+ where: $
+ transform: return $.replace(/Client(\w+)((?:Options|Response))/g, "$1$2");
+
+ # make secret IDs a convenience type so we can add parsing methods
+ - from: models.go
+ where: $
+ transform: return $.replace(/(\sID \*)string(\s+.*)/g, "$1ID$2")
+
+ # Maxresults -> MaxResults
+ - from:
+ - client.go
+ - models.go
+ where: $
+ transform: return $.replace(/Maxresults/g, "MaxResults")
+
+ # secretName, secretVersion -> name, version
+ - from: client.go
+ - where: $
+ - transform: return $.replace(/secretName/g, "name").replace(/secretVersion/g, "version")
+```
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/build.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/build.go
new file mode 100644
index 0000000000..d6e487f2c3
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/build.go
@@ -0,0 +1,10 @@
+//go:build go1.18
+// +build go1.18
+
+//go:generate autorest ./autorest.md
+//go:generate gofmt -w .
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+package azsecrets
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/ci.yml b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/ci.yml
new file mode 100644
index 0000000000..3e196e0c80
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/ci.yml
@@ -0,0 +1,29 @@
+
+# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
+trigger:
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/keyvault/azsecrets
+
+pr:
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/keyvault/azsecrets
+
+stages:
+- template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml
+ parameters:
+ ServiceDirectory: 'keyvault/azsecrets'
+ RunLiveTests: true
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/client.go
new file mode 100644
index 0000000000..fdfbabf96e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/client.go
@@ -0,0 +1,650 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+// DO NOT EDIT.
+
+package azsecrets
+
+import (
+ "context"
+ "errors"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+)
+
+// Client contains the methods for the Client group.
+// Don't use this type directly, use a constructor function instead.
+type Client struct {
+ internal *azcore.Client
+ endpoint string
+}
+
+// BackupSecret - Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will
+// be downloaded. This operation requires the secrets/backup permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - options - BackupSecretOptions contains the optional parameters for the Client.BackupSecret method.
+func (client *Client) BackupSecret(ctx context.Context, name string, options *BackupSecretOptions) (BackupSecretResponse, error) {
+ req, err := client.backupSecretCreateRequest(ctx, name, options)
+ if err != nil {
+ return BackupSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return BackupSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return BackupSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.backupSecretHandleResponse(resp)
+}
+
+// backupSecretCreateRequest creates the BackupSecret request.
+func (client *Client) backupSecretCreateRequest(ctx context.Context, name string, options *BackupSecretOptions) (*policy.Request, error) {
+ urlPath := "/secrets/{secret-name}/backup"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// backupSecretHandleResponse handles the BackupSecret response.
+func (client *Client) backupSecretHandleResponse(resp *http.Response) (BackupSecretResponse, error) {
+ result := BackupSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.BackupSecretResult); err != nil {
+ return BackupSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// DeleteSecret - The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual
+// version of a secret. This operation requires the secrets/delete permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - options - DeleteSecretOptions contains the optional parameters for the Client.DeleteSecret method.
+func (client *Client) DeleteSecret(ctx context.Context, name string, options *DeleteSecretOptions) (DeleteSecretResponse, error) {
+ req, err := client.deleteSecretCreateRequest(ctx, name, options)
+ if err != nil {
+ return DeleteSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return DeleteSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return DeleteSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.deleteSecretHandleResponse(resp)
+}
+
+// deleteSecretCreateRequest creates the DeleteSecret request.
+func (client *Client) deleteSecretCreateRequest(ctx context.Context, name string, options *DeleteSecretOptions) (*policy.Request, error) {
+ urlPath := "/secrets/{secret-name}"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodDelete, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// deleteSecretHandleResponse handles the DeleteSecret response.
+func (client *Client) deleteSecretHandleResponse(resp *http.Response) (DeleteSecretResponse, error) {
+ result := DeleteSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.DeletedSecretBundle); err != nil {
+ return DeleteSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// GetDeletedSecret - The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This
+// operation requires the secrets/get permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - options - GetDeletedSecretOptions contains the optional parameters for the Client.GetDeletedSecret method.
+func (client *Client) GetDeletedSecret(ctx context.Context, name string, options *GetDeletedSecretOptions) (GetDeletedSecretResponse, error) {
+ req, err := client.getDeletedSecretCreateRequest(ctx, name, options)
+ if err != nil {
+ return GetDeletedSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return GetDeletedSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return GetDeletedSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.getDeletedSecretHandleResponse(resp)
+}
+
+// getDeletedSecretCreateRequest creates the GetDeletedSecret request.
+func (client *Client) getDeletedSecretCreateRequest(ctx context.Context, name string, options *GetDeletedSecretOptions) (*policy.Request, error) {
+ urlPath := "/deletedsecrets/{secret-name}"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// getDeletedSecretHandleResponse handles the GetDeletedSecret response.
+func (client *Client) getDeletedSecretHandleResponse(resp *http.Response) (GetDeletedSecretResponse, error) {
+ result := GetDeletedSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.DeletedSecretBundle); err != nil {
+ return GetDeletedSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// GetSecret - The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get
+// permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - version - The version of the secret. This URI fragment is optional. If not specified, the latest version of the secret
+// is returned.
+// - options - GetSecretOptions contains the optional parameters for the Client.GetSecret method.
+func (client *Client) GetSecret(ctx context.Context, name string, version string, options *GetSecretOptions) (GetSecretResponse, error) {
+ req, err := client.getSecretCreateRequest(ctx, name, version, options)
+ if err != nil {
+ return GetSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return GetSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return GetSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.getSecretHandleResponse(resp)
+}
+
+// getSecretCreateRequest creates the GetSecret request.
+func (client *Client) getSecretCreateRequest(ctx context.Context, name string, version string, options *GetSecretOptions) (*policy.Request, error) {
+ urlPath := "/secrets/{secret-name}/{secret-version}"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ urlPath = strings.ReplaceAll(urlPath, "{secret-version}", url.PathEscape(version))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// getSecretHandleResponse handles the GetSecret response.
+func (client *Client) getSecretHandleResponse(resp *http.Response) (GetSecretResponse, error) {
+ result := GetSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretBundle); err != nil {
+ return GetSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// NewListDeletedSecretsPager - The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled
+// for soft-delete. This operation requires the secrets/list permission.
+//
+// Generated from API version 7.4
+// - options - ListDeletedSecretsOptions contains the optional parameters for the Client.NewListDeletedSecretsPager method.
+func (client *Client) NewListDeletedSecretsPager(options *ListDeletedSecretsOptions) *runtime.Pager[ListDeletedSecretsResponse] {
+ return runtime.NewPager(runtime.PagingHandler[ListDeletedSecretsResponse]{
+ More: func(page ListDeletedSecretsResponse) bool {
+ return page.NextLink != nil && len(*page.NextLink) > 0
+ },
+ Fetcher: func(ctx context.Context, page *ListDeletedSecretsResponse) (ListDeletedSecretsResponse, error) {
+ var req *policy.Request
+ var err error
+ if page == nil {
+ req, err = client.listDeletedSecretsCreateRequest(ctx, options)
+ } else {
+ req, err = runtime.NewRequest(ctx, http.MethodGet, *page.NextLink)
+ }
+ if err != nil {
+ return ListDeletedSecretsResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return ListDeletedSecretsResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return ListDeletedSecretsResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.listDeletedSecretsHandleResponse(resp)
+ },
+ })
+}
+
+// listDeletedSecretsCreateRequest creates the ListDeletedSecrets request.
+func (client *Client) listDeletedSecretsCreateRequest(ctx context.Context, options *ListDeletedSecretsOptions) (*policy.Request, error) {
+ urlPath := "/deletedsecrets"
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ if options != nil && options.MaxResults != nil {
+ reqQP.Set("maxresults", strconv.FormatInt(int64(*options.MaxResults), 10))
+ }
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listDeletedSecretsHandleResponse handles the ListDeletedSecrets response.
+func (client *Client) listDeletedSecretsHandleResponse(resp *http.Response) (ListDeletedSecretsResponse, error) {
+ result := ListDeletedSecretsResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.DeletedSecretListResult); err != nil {
+ return ListDeletedSecretsResponse{}, err
+ }
+ return result, nil
+}
+
+// NewListSecretVersionsPager - The full secret identifier and attributes are provided in the response. No values are returned
+// for the secrets. This operations requires the secrets/list permission.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - options - ListSecretVersionsOptions contains the optional parameters for the Client.NewListSecretVersionsPager method.
+func (client *Client) NewListSecretVersionsPager(name string, options *ListSecretVersionsOptions) *runtime.Pager[ListSecretVersionsResponse] {
+ return runtime.NewPager(runtime.PagingHandler[ListSecretVersionsResponse]{
+ More: func(page ListSecretVersionsResponse) bool {
+ return page.NextLink != nil && len(*page.NextLink) > 0
+ },
+ Fetcher: func(ctx context.Context, page *ListSecretVersionsResponse) (ListSecretVersionsResponse, error) {
+ var req *policy.Request
+ var err error
+ if page == nil {
+ req, err = client.listSecretVersionsCreateRequest(ctx, name, options)
+ } else {
+ req, err = runtime.NewRequest(ctx, http.MethodGet, *page.NextLink)
+ }
+ if err != nil {
+ return ListSecretVersionsResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return ListSecretVersionsResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return ListSecretVersionsResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.listSecretVersionsHandleResponse(resp)
+ },
+ })
+}
+
+// listSecretVersionsCreateRequest creates the ListSecretVersions request.
+func (client *Client) listSecretVersionsCreateRequest(ctx context.Context, name string, options *ListSecretVersionsOptions) (*policy.Request, error) {
+ urlPath := "/secrets/{secret-name}/versions"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ if options != nil && options.MaxResults != nil {
+ reqQP.Set("maxresults", strconv.FormatInt(int64(*options.MaxResults), 10))
+ }
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listSecretVersionsHandleResponse handles the ListSecretVersions response.
+func (client *Client) listSecretVersionsHandleResponse(resp *http.Response) (ListSecretVersionsResponse, error) {
+ result := ListSecretVersionsResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretListResult); err != nil {
+ return ListSecretVersionsResponse{}, err
+ }
+ return result, nil
+}
+
+// NewListSecretsPager - The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier
+// and its attributes are provided in the response. Individual secret versions are not listed in the
+// response. This operation requires the secrets/list permission.
+//
+// Generated from API version 7.4
+// - options - ListSecretsOptions contains the optional parameters for the Client.NewListSecretsPager method.
+func (client *Client) NewListSecretsPager(options *ListSecretsOptions) *runtime.Pager[ListSecretsResponse] {
+ return runtime.NewPager(runtime.PagingHandler[ListSecretsResponse]{
+ More: func(page ListSecretsResponse) bool {
+ return page.NextLink != nil && len(*page.NextLink) > 0
+ },
+ Fetcher: func(ctx context.Context, page *ListSecretsResponse) (ListSecretsResponse, error) {
+ var req *policy.Request
+ var err error
+ if page == nil {
+ req, err = client.listSecretsCreateRequest(ctx, options)
+ } else {
+ req, err = runtime.NewRequest(ctx, http.MethodGet, *page.NextLink)
+ }
+ if err != nil {
+ return ListSecretsResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return ListSecretsResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return ListSecretsResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.listSecretsHandleResponse(resp)
+ },
+ })
+}
+
+// listSecretsCreateRequest creates the ListSecrets request.
+func (client *Client) listSecretsCreateRequest(ctx context.Context, options *ListSecretsOptions) (*policy.Request, error) {
+ urlPath := "/secrets"
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ if options != nil && options.MaxResults != nil {
+ reqQP.Set("maxresults", strconv.FormatInt(int64(*options.MaxResults), 10))
+ }
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listSecretsHandleResponse handles the ListSecrets response.
+func (client *Client) listSecretsHandleResponse(resp *http.Response) (ListSecretsResponse, error) {
+ result := ListSecretsResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretListResult); err != nil {
+ return ListSecretsResponse{}, err
+ }
+ return result, nil
+}
+
+// PurgeDeletedSecret - The purge deleted secret operation removes the secret permanently, without the possibility of recovery.
+// This operation can only be enabled on a soft-delete enabled vault. This operation requires the
+// secrets/purge permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - options - PurgeDeletedSecretOptions contains the optional parameters for the Client.PurgeDeletedSecret method.
+func (client *Client) PurgeDeletedSecret(ctx context.Context, name string, options *PurgeDeletedSecretOptions) (PurgeDeletedSecretResponse, error) {
+ req, err := client.purgeDeletedSecretCreateRequest(ctx, name, options)
+ if err != nil {
+ return PurgeDeletedSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return PurgeDeletedSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusNoContent) {
+ return PurgeDeletedSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return PurgeDeletedSecretResponse{}, nil
+}
+
+// purgeDeletedSecretCreateRequest creates the PurgeDeletedSecret request.
+func (client *Client) purgeDeletedSecretCreateRequest(ctx context.Context, name string, options *PurgeDeletedSecretOptions) (*policy.Request, error) {
+ urlPath := "/deletedsecrets/{secret-name}"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodDelete, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// RecoverDeletedSecret - Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete
+// enabled vault. This operation requires the secrets/recover permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the deleted secret.
+// - options - RecoverDeletedSecretOptions contains the optional parameters for the Client.RecoverDeletedSecret method.
+func (client *Client) RecoverDeletedSecret(ctx context.Context, name string, options *RecoverDeletedSecretOptions) (RecoverDeletedSecretResponse, error) {
+ req, err := client.recoverDeletedSecretCreateRequest(ctx, name, options)
+ if err != nil {
+ return RecoverDeletedSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return RecoverDeletedSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return RecoverDeletedSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.recoverDeletedSecretHandleResponse(resp)
+}
+
+// recoverDeletedSecretCreateRequest creates the RecoverDeletedSecret request.
+func (client *Client) recoverDeletedSecretCreateRequest(ctx context.Context, name string, options *RecoverDeletedSecretOptions) (*policy.Request, error) {
+ urlPath := "/deletedsecrets/{secret-name}/recover"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// recoverDeletedSecretHandleResponse handles the RecoverDeletedSecret response.
+func (client *Client) recoverDeletedSecretHandleResponse(resp *http.Response) (RecoverDeletedSecretResponse, error) {
+ result := RecoverDeletedSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretBundle); err != nil {
+ return RecoverDeletedSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// RestoreSecret - Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore
+// permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - parameters - The parameters to restore the secret.
+// - options - RestoreSecretOptions contains the optional parameters for the Client.RestoreSecret method.
+func (client *Client) RestoreSecret(ctx context.Context, parameters RestoreSecretParameters, options *RestoreSecretOptions) (RestoreSecretResponse, error) {
+ req, err := client.restoreSecretCreateRequest(ctx, parameters, options)
+ if err != nil {
+ return RestoreSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return RestoreSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return RestoreSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.restoreSecretHandleResponse(resp)
+}
+
+// restoreSecretCreateRequest creates the RestoreSecret request.
+func (client *Client) restoreSecretCreateRequest(ctx context.Context, parameters RestoreSecretParameters, options *RestoreSecretOptions) (*policy.Request, error) {
+ urlPath := "/secrets/restore"
+ req, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, runtime.MarshalAsJSON(req, parameters)
+}
+
+// restoreSecretHandleResponse handles the RestoreSecret response.
+func (client *Client) restoreSecretHandleResponse(resp *http.Response) (RestoreSecretResponse, error) {
+ result := RestoreSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretBundle); err != nil {
+ return RestoreSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// SetSecret - The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault
+// creates a new version of that secret. This operation requires the secrets/set permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret. The value you provide may be copied globally for the purpose of running the service.
+// The value provided should not include personally identifiable or sensitive information.
+// - parameters - The parameters for setting the secret.
+// - options - SetSecretOptions contains the optional parameters for the Client.SetSecret method.
+func (client *Client) SetSecret(ctx context.Context, name string, parameters SetSecretParameters, options *SetSecretOptions) (SetSecretResponse, error) {
+ req, err := client.setSecretCreateRequest(ctx, name, parameters, options)
+ if err != nil {
+ return SetSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return SetSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return SetSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.setSecretHandleResponse(resp)
+}
+
+// setSecretCreateRequest creates the SetSecret request.
+func (client *Client) setSecretCreateRequest(ctx context.Context, name string, parameters SetSecretParameters, options *SetSecretOptions) (*policy.Request, error) {
+ urlPath := "/secrets/{secret-name}"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, runtime.MarshalAsJSON(req, parameters)
+}
+
+// setSecretHandleResponse handles the SetSecret response.
+func (client *Client) setSecretHandleResponse(resp *http.Response) (SetSecretResponse, error) {
+ result := SetSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretBundle); err != nil {
+ return SetSecretResponse{}, err
+ }
+ return result, nil
+}
+
+// UpdateSecret - The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not
+// specified in the request are left unchanged. The value of a secret itself cannot be changed.
+// This operation requires the secrets/set permission.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 7.4
+// - name - The name of the secret.
+// - version - The version of the secret.
+// - parameters - The parameters for update secret operation.
+// - options - UpdateSecretOptions contains the optional parameters for the Client.UpdateSecret method.
+func (client *Client) UpdateSecret(ctx context.Context, name string, version string, parameters UpdateSecretParameters, options *UpdateSecretOptions) (UpdateSecretResponse, error) {
+ req, err := client.updateSecretCreateRequest(ctx, name, version, parameters, options)
+ if err != nil {
+ return UpdateSecretResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return UpdateSecretResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return UpdateSecretResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.updateSecretHandleResponse(resp)
+}
+
+// updateSecretCreateRequest creates the UpdateSecret request.
+func (client *Client) updateSecretCreateRequest(ctx context.Context, name string, version string, parameters UpdateSecretParameters, options *UpdateSecretOptions) (*policy.Request, error) {
+ urlPath := "/secrets/{secret-name}/{secret-version}"
+ if name == "" {
+ return nil, errors.New("parameter name cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{secret-name}", url.PathEscape(name))
+ urlPath = strings.ReplaceAll(urlPath, "{secret-version}", url.PathEscape(version))
+ req, err := runtime.NewRequest(ctx, http.MethodPatch, runtime.JoinPaths(client.endpoint, urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "7.4")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, runtime.MarshalAsJSON(req, parameters)
+}
+
+// updateSecretHandleResponse handles the UpdateSecret response.
+func (client *Client) updateSecretHandleResponse(resp *http.Response) (UpdateSecretResponse, error) {
+ result := UpdateSecretResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.SecretBundle); err != nil {
+ return UpdateSecretResponse{}, err
+ }
+ return result, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/constants.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/constants.go
new file mode 100644
index 0000000000..d897d67a12
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/constants.go
@@ -0,0 +1,63 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+// DO NOT EDIT.
+
+package azsecrets
+
+// DeletionRecoveryLevel - Reflects the deletion recovery level currently in effect for secrets in the current vault. If it
+// contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the
+// system can purge the secret, at the end of the retention interval.
+type DeletionRecoveryLevel string
+
+const (
+ // DeletionRecoveryLevelCustomizedRecoverable - Denotes a vault state in which deletion is recoverable without the possibility
+ // for immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90).This level guarantees the recoverability
+ // of the deleted entity during the retention interval and while the subscription is still available.
+ DeletionRecoveryLevelCustomizedRecoverable DeletionRecoveryLevel = "CustomizedRecoverable"
+ // DeletionRecoveryLevelCustomizedRecoverableProtectedSubscription - Denotes a vault and subscription state in which deletion
+ // is recoverable, immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription itself cannot
+ // be permanently canceled when 7<= SoftDeleteRetentionInDays < 90. This level guarantees the recoverability of the deleted
+ // entity during the retention interval, and also reflects the fact that the subscription itself cannot be cancelled.
+ DeletionRecoveryLevelCustomizedRecoverableProtectedSubscription DeletionRecoveryLevel = "CustomizedRecoverable+ProtectedSubscription"
+ // DeletionRecoveryLevelCustomizedRecoverablePurgeable - Denotes a vault state in which deletion is recoverable, and which
+ // also permits immediate and permanent deletion (i.e. purge when 7<= SoftDeleteRetentionInDays < 90). This level guarantees
+ // the recoverability of the deleted entity during the retention interval, unless a Purge operation is requested, or the subscription
+ // is cancelled.
+ DeletionRecoveryLevelCustomizedRecoverablePurgeable DeletionRecoveryLevel = "CustomizedRecoverable+Purgeable"
+ // DeletionRecoveryLevelPurgeable - Denotes a vault state in which deletion is an irreversible operation, without the possibility
+ // for recovery. This level corresponds to no protection being available against a Delete operation; the data is irretrievably
+ // lost upon accepting a Delete operation at the entity level or higher (vault, resource group, subscription etc.)
+ DeletionRecoveryLevelPurgeable DeletionRecoveryLevel = "Purgeable"
+ // DeletionRecoveryLevelRecoverable - Denotes a vault state in which deletion is recoverable without the possibility for immediate
+ // and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the retention
+ // interval(90 days) and while the subscription is still available. System wil permanently delete it after 90 days, if not
+ // recovered
+ DeletionRecoveryLevelRecoverable DeletionRecoveryLevel = "Recoverable"
+ // DeletionRecoveryLevelRecoverableProtectedSubscription - Denotes a vault and subscription state in which deletion is recoverable
+ // within retention interval (90 days), immediate and permanent deletion (i.e. purge) is not permitted, and in which the subscription
+ // itself cannot be permanently canceled. System wil permanently delete it after 90 days, if not recovered
+ DeletionRecoveryLevelRecoverableProtectedSubscription DeletionRecoveryLevel = "Recoverable+ProtectedSubscription"
+ // DeletionRecoveryLevelRecoverablePurgeable - Denotes a vault state in which deletion is recoverable, and which also permits
+ // immediate and permanent deletion (i.e. purge). This level guarantees the recoverability of the deleted entity during the
+ // retention interval (90 days), unless a Purge operation is requested, or the subscription is cancelled. System wil permanently
+ // delete it after 90 days, if not recovered
+ DeletionRecoveryLevelRecoverablePurgeable DeletionRecoveryLevel = "Recoverable+Purgeable"
+)
+
+// PossibleDeletionRecoveryLevelValues returns the possible values for the DeletionRecoveryLevel const type.
+func PossibleDeletionRecoveryLevelValues() []DeletionRecoveryLevel {
+ return []DeletionRecoveryLevel{
+ DeletionRecoveryLevelCustomizedRecoverable,
+ DeletionRecoveryLevelCustomizedRecoverableProtectedSubscription,
+ DeletionRecoveryLevelCustomizedRecoverablePurgeable,
+ DeletionRecoveryLevelPurgeable,
+ DeletionRecoveryLevelRecoverable,
+ DeletionRecoveryLevelRecoverableProtectedSubscription,
+ DeletionRecoveryLevelRecoverablePurgeable,
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/custom_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/custom_client.go
new file mode 100644
index 0000000000..04500bd080
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/custom_client.go
@@ -0,0 +1,63 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+package azsecrets
+
+// this file contains handwritten additions to the generated code
+
+import (
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal"
+)
+
+// ClientOptions contains optional settings for Client.
+type ClientOptions struct {
+ azcore.ClientOptions
+
+ // DisableChallengeResourceVerification controls whether the policy requires the
+ // authentication challenge resource to match the Key Vault or Managed HSM domain.
+ // See https://aka.ms/azsdk/blog/vault-uri for more information.
+ DisableChallengeResourceVerification bool
+}
+
+// NewClient creates a client that accesses a Key Vault's secrets. You should validate that
+// vaultURL references a valid Key Vault. See https://aka.ms/azsdk/blog/vault-uri for details.
+func NewClient(vaultURL string, credential azcore.TokenCredential, options *ClientOptions) (*Client, error) {
+ if options == nil {
+ options = &ClientOptions{}
+ }
+ authPolicy := internal.NewKeyVaultChallengePolicy(
+ credential,
+ &internal.KeyVaultChallengePolicyOptions{
+ DisableChallengeResourceVerification: options.DisableChallengeResourceVerification,
+ },
+ )
+ azcoreClient, err := azcore.NewClient("azsecrets.Client", version, runtime.PipelineOptions{PerRetry: []policy.Policy{authPolicy}}, &options.ClientOptions)
+ if err != nil {
+ return nil, err
+ }
+ return &Client{endpoint: vaultURL, internal: azcoreClient}, nil
+}
+
+// ID is a secret's unique ID, containing its name and version.
+type ID string
+
+// Name of the secret.
+func (i *ID) Name() string {
+ _, name, _ := internal.ParseID((*string)(i))
+ return *name
+}
+
+// Version of the secret. This returns an empty string when the ID contains no version.
+func (i *ID) Version() string {
+ _, _, version := internal.ParseID((*string)(i))
+ if version == nil {
+ return ""
+ }
+ return *version
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/models.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/models.go
new file mode 100644
index 0000000000..87be9ab52c
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/models.go
@@ -0,0 +1,268 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+// DO NOT EDIT.
+
+package azsecrets
+
+import "time"
+
+// BackupSecretResult - The backup secret result, containing the backup blob.
+type BackupSecretResult struct {
+ // READ-ONLY; The backup blob containing the backed up secret.
+ Value []byte `json:"value,omitempty" azure:"ro"`
+}
+
+// BackupSecretOptions contains the optional parameters for the Client.BackupSecret method.
+type BackupSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// DeleteSecretOptions contains the optional parameters for the Client.DeleteSecret method.
+type DeleteSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// GetDeletedSecretOptions contains the optional parameters for the Client.GetDeletedSecret method.
+type GetDeletedSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// GetSecretOptions contains the optional parameters for the Client.GetSecret method.
+type GetSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// ListDeletedSecretsOptions contains the optional parameters for the Client.NewListDeletedSecretsPager method.
+type ListDeletedSecretsOptions struct {
+ // Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ MaxResults *int32
+}
+
+// ListSecretVersionsOptions contains the optional parameters for the Client.NewListSecretVersionsPager method.
+type ListSecretVersionsOptions struct {
+ // Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
+ MaxResults *int32
+}
+
+// ListSecretsOptions contains the optional parameters for the Client.NewListSecretsPager method.
+type ListSecretsOptions struct {
+ // Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
+ MaxResults *int32
+}
+
+// PurgeDeletedSecretOptions contains the optional parameters for the Client.PurgeDeletedSecret method.
+type PurgeDeletedSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// RecoverDeletedSecretOptions contains the optional parameters for the Client.RecoverDeletedSecret method.
+type RecoverDeletedSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// RestoreSecretOptions contains the optional parameters for the Client.RestoreSecret method.
+type RestoreSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// SetSecretOptions contains the optional parameters for the Client.SetSecret method.
+type SetSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// UpdateSecretOptions contains the optional parameters for the Client.UpdateSecret method.
+type UpdateSecretOptions struct {
+ // placeholder for future optional parameters
+}
+
+// DeletedSecretBundle - A Deleted Secret consisting of its previous id, attributes and its tags, as well as information on
+// when it will be purged.
+type DeletedSecretBundle struct {
+ // The secret management attributes.
+ Attributes *SecretAttributes `json:"attributes,omitempty"`
+
+ // The content type of the secret.
+ ContentType *string `json:"contentType,omitempty"`
+
+ // The secret id.
+ ID *ID `json:"id,omitempty"`
+
+ // The url of the recovery object, used to identify and recover the deleted secret.
+ RecoveryID *string `json:"recoveryId,omitempty"`
+
+ // Application specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags,omitempty"`
+
+ // The secret value.
+ Value *string `json:"value,omitempty"`
+
+ // READ-ONLY; The time when the secret was deleted, in UTC
+ DeletedDate *time.Time `json:"deletedDate,omitempty" azure:"ro"`
+
+ // READ-ONLY; If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV
+ // certificate.
+ Kid *string `json:"kid,omitempty" azure:"ro"`
+
+ // READ-ONLY; True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed
+ // will be true.
+ Managed *bool `json:"managed,omitempty" azure:"ro"`
+
+ // READ-ONLY; The time when the secret is scheduled to be purged, in UTC
+ ScheduledPurgeDate *time.Time `json:"scheduledPurgeDate,omitempty" azure:"ro"`
+}
+
+// DeletedSecretItem - The deleted secret item containing metadata about the deleted secret.
+type DeletedSecretItem struct {
+ // The secret management attributes.
+ Attributes *SecretAttributes `json:"attributes,omitempty"`
+
+ // Type of the secret value such as a password.
+ ContentType *string `json:"contentType,omitempty"`
+
+ // Secret identifier.
+ ID *ID `json:"id,omitempty"`
+
+ // The url of the recovery object, used to identify and recover the deleted secret.
+ RecoveryID *string `json:"recoveryId,omitempty"`
+
+ // Application specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags,omitempty"`
+
+ // READ-ONLY; The time when the secret was deleted, in UTC
+ DeletedDate *time.Time `json:"deletedDate,omitempty" azure:"ro"`
+
+ // READ-ONLY; True if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed
+ // will be true.
+ Managed *bool `json:"managed,omitempty" azure:"ro"`
+
+ // READ-ONLY; The time when the secret is scheduled to be purged, in UTC
+ ScheduledPurgeDate *time.Time `json:"scheduledPurgeDate,omitempty" azure:"ro"`
+}
+
+// DeletedSecretListResult - The deleted secret list result
+type DeletedSecretListResult struct {
+ // READ-ONLY; The URL to get the next set of deleted secrets.
+ NextLink *string `json:"nextLink,omitempty" azure:"ro"`
+
+ // READ-ONLY; A response message containing a list of the deleted secrets in the vault along with a link to the next page
+ // of deleted secrets
+ Value []*DeletedSecretItem `json:"value,omitempty" azure:"ro"`
+}
+
+// RestoreSecretParameters - The secret restore parameters.
+type RestoreSecretParameters struct {
+ // REQUIRED; The backup blob associated with a secret bundle.
+ SecretBundleBackup []byte `json:"value,omitempty"`
+}
+
+// SecretAttributes - The secret management attributes.
+type SecretAttributes struct {
+ // Determines whether the object is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Expiry date in UTC.
+ Expires *time.Time `json:"exp,omitempty"`
+
+ // Not before date in UTC.
+ NotBefore *time.Time `json:"nbf,omitempty"`
+
+ // READ-ONLY; Creation time in UTC.
+ Created *time.Time `json:"created,omitempty" azure:"ro"`
+
+ // READ-ONLY; softDelete data retention days. Value should be >=7 and <=90 when softDelete enabled, otherwise 0.
+ RecoverableDays *int32 `json:"recoverableDays,omitempty" azure:"ro"`
+
+ // READ-ONLY; Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable',
+ // the secret can be permanently deleted by a privileged user; otherwise, only the
+ // system can purge the secret, at the end of the retention interval.
+ RecoveryLevel *DeletionRecoveryLevel `json:"recoveryLevel,omitempty" azure:"ro"`
+
+ // READ-ONLY; Last updated time in UTC.
+ Updated *time.Time `json:"updated,omitempty" azure:"ro"`
+}
+
+// SecretBundle - A secret consisting of a value, id and its attributes.
+type SecretBundle struct {
+ // The secret management attributes.
+ Attributes *SecretAttributes `json:"attributes,omitempty"`
+
+ // The content type of the secret.
+ ContentType *string `json:"contentType,omitempty"`
+
+ // The secret id.
+ ID *ID `json:"id,omitempty"`
+
+ // Application specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags,omitempty"`
+
+ // The secret value.
+ Value *string `json:"value,omitempty"`
+
+ // READ-ONLY; If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV
+ // certificate.
+ Kid *string `json:"kid,omitempty" azure:"ro"`
+
+ // READ-ONLY; True if the secret's lifetime is managed by key vault. If this is a secret backing a certificate, then managed
+ // will be true.
+ Managed *bool `json:"managed,omitempty" azure:"ro"`
+}
+
+// SecretItem - The secret item containing secret metadata.
+type SecretItem struct {
+ // The secret management attributes.
+ Attributes *SecretAttributes `json:"attributes,omitempty"`
+
+ // Type of the secret value such as a password.
+ ContentType *string `json:"contentType,omitempty"`
+
+ // Secret identifier.
+ ID *ID `json:"id,omitempty"`
+
+ // Application specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags,omitempty"`
+
+ // READ-ONLY; True if the secret's lifetime is managed by key vault. If this is a key backing a certificate, then managed
+ // will be true.
+ Managed *bool `json:"managed,omitempty" azure:"ro"`
+}
+
+// SecretListResult - The secret list result.
+type SecretListResult struct {
+ // READ-ONLY; The URL to get the next set of secrets.
+ NextLink *string `json:"nextLink,omitempty" azure:"ro"`
+
+ // READ-ONLY; A response message containing a list of secrets in the key vault along with a link to the next page of secrets.
+ Value []*SecretItem `json:"value,omitempty" azure:"ro"`
+}
+
+// SetSecretParameters - The secret set parameters.
+type SetSecretParameters struct {
+ // REQUIRED; The value of the secret.
+ Value *string `json:"value,omitempty"`
+
+ // Type of the secret value such as a password.
+ ContentType *string `json:"contentType,omitempty"`
+
+ // The secret management attributes.
+ SecretAttributes *SecretAttributes `json:"attributes,omitempty"`
+
+ // Application specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags,omitempty"`
+}
+
+// UpdateSecretParameters - The secret update parameters.
+type UpdateSecretParameters struct {
+ // Type of the secret value such as a password.
+ ContentType *string `json:"contentType,omitempty"`
+
+ // The secret management attributes.
+ SecretAttributes *SecretAttributes `json:"attributes,omitempty"`
+
+ // Application specific metadata in the form of key-value pairs.
+ Tags map[string]*string `json:"tags,omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/models_serde.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/models_serde.go
new file mode 100644
index 0000000000..72d5541271
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/models_serde.go
@@ -0,0 +1,501 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+// DO NOT EDIT.
+
+package azsecrets
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "reflect"
+)
+
+// MarshalJSON implements the json.Marshaller interface for type BackupSecretResult.
+func (b BackupSecretResult) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populateByteArray(objectMap, "value", b.Value, runtime.Base64URLFormat)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type BackupSecretResult.
+func (b *BackupSecretResult) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", b, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "value":
+ err = runtime.DecodeByteArray(string(val), &b.Value, runtime.Base64URLFormat)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", b, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type DeletedSecretBundle.
+func (d DeletedSecretBundle) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "attributes", d.Attributes)
+ populate(objectMap, "contentType", d.ContentType)
+ populateTimeUnix(objectMap, "deletedDate", d.DeletedDate)
+ populate(objectMap, "id", d.ID)
+ populate(objectMap, "kid", d.Kid)
+ populate(objectMap, "managed", d.Managed)
+ populate(objectMap, "recoveryId", d.RecoveryID)
+ populateTimeUnix(objectMap, "scheduledPurgeDate", d.ScheduledPurgeDate)
+ populate(objectMap, "tags", d.Tags)
+ populate(objectMap, "value", d.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type DeletedSecretBundle.
+func (d *DeletedSecretBundle) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", d, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "attributes":
+ err = unpopulate(val, "Attributes", &d.Attributes)
+ delete(rawMsg, key)
+ case "contentType":
+ err = unpopulate(val, "ContentType", &d.ContentType)
+ delete(rawMsg, key)
+ case "deletedDate":
+ err = unpopulateTimeUnix(val, "DeletedDate", &d.DeletedDate)
+ delete(rawMsg, key)
+ case "id":
+ err = unpopulate(val, "ID", &d.ID)
+ delete(rawMsg, key)
+ case "kid":
+ err = unpopulate(val, "Kid", &d.Kid)
+ delete(rawMsg, key)
+ case "managed":
+ err = unpopulate(val, "Managed", &d.Managed)
+ delete(rawMsg, key)
+ case "recoveryId":
+ err = unpopulate(val, "RecoveryID", &d.RecoveryID)
+ delete(rawMsg, key)
+ case "scheduledPurgeDate":
+ err = unpopulateTimeUnix(val, "ScheduledPurgeDate", &d.ScheduledPurgeDate)
+ delete(rawMsg, key)
+ case "tags":
+ err = unpopulate(val, "Tags", &d.Tags)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &d.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", d, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type DeletedSecretItem.
+func (d DeletedSecretItem) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "attributes", d.Attributes)
+ populate(objectMap, "contentType", d.ContentType)
+ populateTimeUnix(objectMap, "deletedDate", d.DeletedDate)
+ populate(objectMap, "id", d.ID)
+ populate(objectMap, "managed", d.Managed)
+ populate(objectMap, "recoveryId", d.RecoveryID)
+ populateTimeUnix(objectMap, "scheduledPurgeDate", d.ScheduledPurgeDate)
+ populate(objectMap, "tags", d.Tags)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type DeletedSecretItem.
+func (d *DeletedSecretItem) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", d, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "attributes":
+ err = unpopulate(val, "Attributes", &d.Attributes)
+ delete(rawMsg, key)
+ case "contentType":
+ err = unpopulate(val, "ContentType", &d.ContentType)
+ delete(rawMsg, key)
+ case "deletedDate":
+ err = unpopulateTimeUnix(val, "DeletedDate", &d.DeletedDate)
+ delete(rawMsg, key)
+ case "id":
+ err = unpopulate(val, "ID", &d.ID)
+ delete(rawMsg, key)
+ case "managed":
+ err = unpopulate(val, "Managed", &d.Managed)
+ delete(rawMsg, key)
+ case "recoveryId":
+ err = unpopulate(val, "RecoveryID", &d.RecoveryID)
+ delete(rawMsg, key)
+ case "scheduledPurgeDate":
+ err = unpopulateTimeUnix(val, "ScheduledPurgeDate", &d.ScheduledPurgeDate)
+ delete(rawMsg, key)
+ case "tags":
+ err = unpopulate(val, "Tags", &d.Tags)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", d, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type DeletedSecretListResult.
+func (d DeletedSecretListResult) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "nextLink", d.NextLink)
+ populate(objectMap, "value", d.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type DeletedSecretListResult.
+func (d *DeletedSecretListResult) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", d, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "nextLink":
+ err = unpopulate(val, "NextLink", &d.NextLink)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &d.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", d, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type RestoreSecretParameters.
+func (r RestoreSecretParameters) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populateByteArray(objectMap, "value", r.SecretBundleBackup, runtime.Base64URLFormat)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type RestoreSecretParameters.
+func (r *RestoreSecretParameters) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", r, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "value":
+ err = runtime.DecodeByteArray(string(val), &r.SecretBundleBackup, runtime.Base64URLFormat)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", r, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type SecretAttributes.
+func (s SecretAttributes) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populateTimeUnix(objectMap, "created", s.Created)
+ populate(objectMap, "enabled", s.Enabled)
+ populateTimeUnix(objectMap, "exp", s.Expires)
+ populateTimeUnix(objectMap, "nbf", s.NotBefore)
+ populate(objectMap, "recoverableDays", s.RecoverableDays)
+ populate(objectMap, "recoveryLevel", s.RecoveryLevel)
+ populateTimeUnix(objectMap, "updated", s.Updated)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type SecretAttributes.
+func (s *SecretAttributes) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "created":
+ err = unpopulateTimeUnix(val, "Created", &s.Created)
+ delete(rawMsg, key)
+ case "enabled":
+ err = unpopulate(val, "Enabled", &s.Enabled)
+ delete(rawMsg, key)
+ case "exp":
+ err = unpopulateTimeUnix(val, "Expires", &s.Expires)
+ delete(rawMsg, key)
+ case "nbf":
+ err = unpopulateTimeUnix(val, "NotBefore", &s.NotBefore)
+ delete(rawMsg, key)
+ case "recoverableDays":
+ err = unpopulate(val, "RecoverableDays", &s.RecoverableDays)
+ delete(rawMsg, key)
+ case "recoveryLevel":
+ err = unpopulate(val, "RecoveryLevel", &s.RecoveryLevel)
+ delete(rawMsg, key)
+ case "updated":
+ err = unpopulateTimeUnix(val, "Updated", &s.Updated)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type SecretBundle.
+func (s SecretBundle) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "attributes", s.Attributes)
+ populate(objectMap, "contentType", s.ContentType)
+ populate(objectMap, "id", s.ID)
+ populate(objectMap, "kid", s.Kid)
+ populate(objectMap, "managed", s.Managed)
+ populate(objectMap, "tags", s.Tags)
+ populate(objectMap, "value", s.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type SecretBundle.
+func (s *SecretBundle) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "attributes":
+ err = unpopulate(val, "Attributes", &s.Attributes)
+ delete(rawMsg, key)
+ case "contentType":
+ err = unpopulate(val, "ContentType", &s.ContentType)
+ delete(rawMsg, key)
+ case "id":
+ err = unpopulate(val, "ID", &s.ID)
+ delete(rawMsg, key)
+ case "kid":
+ err = unpopulate(val, "Kid", &s.Kid)
+ delete(rawMsg, key)
+ case "managed":
+ err = unpopulate(val, "Managed", &s.Managed)
+ delete(rawMsg, key)
+ case "tags":
+ err = unpopulate(val, "Tags", &s.Tags)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &s.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type SecretItem.
+func (s SecretItem) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "attributes", s.Attributes)
+ populate(objectMap, "contentType", s.ContentType)
+ populate(objectMap, "id", s.ID)
+ populate(objectMap, "managed", s.Managed)
+ populate(objectMap, "tags", s.Tags)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type SecretItem.
+func (s *SecretItem) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "attributes":
+ err = unpopulate(val, "Attributes", &s.Attributes)
+ delete(rawMsg, key)
+ case "contentType":
+ err = unpopulate(val, "ContentType", &s.ContentType)
+ delete(rawMsg, key)
+ case "id":
+ err = unpopulate(val, "ID", &s.ID)
+ delete(rawMsg, key)
+ case "managed":
+ err = unpopulate(val, "Managed", &s.Managed)
+ delete(rawMsg, key)
+ case "tags":
+ err = unpopulate(val, "Tags", &s.Tags)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type SecretListResult.
+func (s SecretListResult) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "nextLink", s.NextLink)
+ populate(objectMap, "value", s.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type SecretListResult.
+func (s *SecretListResult) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "nextLink":
+ err = unpopulate(val, "NextLink", &s.NextLink)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &s.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type SetSecretParameters.
+func (s SetSecretParameters) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "contentType", s.ContentType)
+ populate(objectMap, "attributes", s.SecretAttributes)
+ populate(objectMap, "tags", s.Tags)
+ populate(objectMap, "value", s.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type SetSecretParameters.
+func (s *SetSecretParameters) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "contentType":
+ err = unpopulate(val, "ContentType", &s.ContentType)
+ delete(rawMsg, key)
+ case "attributes":
+ err = unpopulate(val, "SecretAttributes", &s.SecretAttributes)
+ delete(rawMsg, key)
+ case "tags":
+ err = unpopulate(val, "Tags", &s.Tags)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &s.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", s, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type UpdateSecretParameters.
+func (u UpdateSecretParameters) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "contentType", u.ContentType)
+ populate(objectMap, "attributes", u.SecretAttributes)
+ populate(objectMap, "tags", u.Tags)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type UpdateSecretParameters.
+func (u *UpdateSecretParameters) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", u, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "contentType":
+ err = unpopulate(val, "ContentType", &u.ContentType)
+ delete(rawMsg, key)
+ case "attributes":
+ err = unpopulate(val, "SecretAttributes", &u.SecretAttributes)
+ delete(rawMsg, key)
+ case "tags":
+ err = unpopulate(val, "Tags", &u.Tags)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", u, err)
+ }
+ }
+ return nil
+}
+
+func populate(m map[string]any, k string, v any) {
+ if v == nil {
+ return
+ } else if azcore.IsNullValue(v) {
+ m[k] = nil
+ } else if !reflect.ValueOf(v).IsNil() {
+ m[k] = v
+ }
+}
+
+func populateByteArray(m map[string]any, k string, b []byte, f runtime.Base64Encoding) {
+ if azcore.IsNullValue(b) {
+ m[k] = nil
+ } else if len(b) == 0 {
+ return
+ } else {
+ m[k] = runtime.EncodeByteArray(b, f)
+ }
+}
+
+func unpopulate(data json.RawMessage, fn string, v any) error {
+ if data == nil {
+ return nil
+ }
+ if err := json.Unmarshal(data, v); err != nil {
+ return fmt.Errorf("struct field %s: %v", fn, err)
+ }
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/response_types.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/response_types.go
new file mode 100644
index 0000000000..517acaabb9
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/response_types.go
@@ -0,0 +1,70 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+// DO NOT EDIT.
+
+package azsecrets
+
+// BackupSecretResponse contains the response from method Client.BackupSecret.
+type BackupSecretResponse struct {
+ BackupSecretResult
+}
+
+// DeleteSecretResponse contains the response from method Client.DeleteSecret.
+type DeleteSecretResponse struct {
+ DeletedSecretBundle
+}
+
+// GetDeletedSecretResponse contains the response from method Client.GetDeletedSecret.
+type GetDeletedSecretResponse struct {
+ DeletedSecretBundle
+}
+
+// GetSecretResponse contains the response from method Client.GetSecret.
+type GetSecretResponse struct {
+ SecretBundle
+}
+
+// ListDeletedSecretsResponse contains the response from method Client.NewListDeletedSecretsPager.
+type ListDeletedSecretsResponse struct {
+ DeletedSecretListResult
+}
+
+// ListSecretVersionsResponse contains the response from method Client.NewListSecretVersionsPager.
+type ListSecretVersionsResponse struct {
+ SecretListResult
+}
+
+// ListSecretsResponse contains the response from method Client.NewListSecretsPager.
+type ListSecretsResponse struct {
+ SecretListResult
+}
+
+// PurgeDeletedSecretResponse contains the response from method Client.PurgeDeletedSecret.
+type PurgeDeletedSecretResponse struct {
+ // placeholder for future response values
+}
+
+// RecoverDeletedSecretResponse contains the response from method Client.RecoverDeletedSecret.
+type RecoverDeletedSecretResponse struct {
+ SecretBundle
+}
+
+// RestoreSecretResponse contains the response from method Client.RestoreSecret.
+type RestoreSecretResponse struct {
+ SecretBundle
+}
+
+// SetSecretResponse contains the response from method Client.SetSecret.
+type SetSecretResponse struct {
+ SecretBundle
+}
+
+// UpdateSecretResponse contains the response from method Client.UpdateSecret.
+type UpdateSecretResponse struct {
+ SecretBundle
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/test-resources.json b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/test-resources.json
new file mode 100644
index 0000000000..20f726f332
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/test-resources.json
@@ -0,0 +1,331 @@
+{
+ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "baseName": {
+ "type": "string",
+ "defaultValue": "[resourceGroup().name]",
+ "metadata": {
+ "description": "The base resource name."
+ }
+ },
+ "tenantId": {
+ "type": "string",
+ "defaultValue": "72f988bf-86f1-41af-91ab-2d7cd011db47",
+ "metadata": {
+ "description": "The tenant ID to which the application and resources belong."
+ }
+ },
+ "testApplicationOid": {
+ "type": "string",
+ "metadata": {
+ "description": "The client OID to grant access to test resources."
+ }
+ },
+ "provisionerApplicationOid": {
+ "type": "string",
+ "metadata": {
+ "description": "The provisioner OID to grant access to test resources."
+ }
+ },
+ "location": {
+ "type": "string",
+ "defaultValue": "[resourceGroup().location]",
+ "metadata": {
+ "description": "The location of the resource. By default, this is the same as the resource group."
+ }
+ },
+ "hsmLocation": {
+ "type": "string",
+ "defaultValue": "southcentralus",
+ "allowedValues": [
+ "australiacentral",
+ "canadacentral",
+ "centralus",
+ "eastasia",
+ "eastus2",
+ "koreacentral",
+ "northeurope",
+ "southafricanorth",
+ "southcentralus",
+ "southeastasia",
+ "switzerlandnorth",
+ "uksouth",
+ "westeurope",
+ "westus"
+ ],
+ "metadata": {
+ "description": "The location of the Managed HSM. By default, this is 'southcentralus'."
+ }
+ },
+ "enableHsm": {
+ "type": "bool",
+ "defaultValue": false,
+ "metadata": {
+ "description": "Whether to enable deployment of Managed HSM. The default is false."
+ }
+ },
+ "keyVaultSku": {
+ "type": "string",
+ "defaultValue": "premium",
+ "metadata": {
+ "description": "Key Vault SKU to deploy. The default is 'premium'"
+ }
+ },
+ "attestationImage": {
+ "type": "string",
+ "defaultValue": "keyvault-mock-attestation:latest",
+ "metadata": {
+ "description": "The container image name and tag to use for the attestation mock service."
+ }
+ }
+ },
+ "variables": {
+ "attestationFarm": "[concat(parameters('baseName'), 'farm')]",
+ "attestationSite": "[concat(parameters('baseName'), 'site')]",
+ "attestationUri": "[concat('DOCKER|azsdkengsys.azurecr.io/', parameters('attestationImage'))]",
+ "kvApiVersion": "2019-09-01",
+ "kvName": "[parameters('baseName')]",
+ "hsmApiVersion": "2021-04-01-preview",
+ "hsmName": "[concat(parameters('baseName'), 'hsm')]",
+ "mgmtApiVersion": "2019-04-01",
+ "blobContainerName": "backup",
+ "primaryAccountName": "[concat(parameters('baseName'), 'prim')]",
+ "encryption": {
+ "services": {
+ "blob": {
+ "enabled": true
+ }
+ },
+ "keySource": "Microsoft.Storage"
+ },
+ "networkAcls": {
+ "bypass": "AzureServices",
+ "virtualNetworkRules": [],
+ "ipRules": [],
+ "defaultAction": "Allow"
+ }
+ },
+ "resources": [
+ {
+ "type": "Microsoft.KeyVault/vaults",
+ "apiVersion": "[variables('kvApiVersion')]",
+ "name": "[variables('kvName')]",
+ "location": "[parameters('location')]",
+ "properties": {
+ "sku": {
+ "family": "A",
+ "name": "[parameters('keyVaultSku')]"
+ },
+ "tenantId": "[parameters('tenantId')]",
+ "accessPolicies": [
+ {
+ "tenantId": "[parameters('tenantId')]",
+ "objectId": "[parameters('testApplicationOid')]",
+ "permissions": {
+ "keys": [
+ "backup",
+ "create",
+ "decrypt",
+ "delete",
+ "encrypt",
+ "get",
+ "import",
+ "list",
+ "purge",
+ "recover",
+ "release",
+ "restore",
+ "rotate",
+ "sign",
+ "unwrapKey",
+ "update",
+ "verify",
+ "wrapKey"
+ ],
+ "secrets": [
+ "backup",
+ "delete",
+ "get",
+ "list",
+ "purge",
+ "recover",
+ "restore",
+ "set"
+ ],
+ "certificates": [
+ "backup",
+ "create",
+ "delete",
+ "deleteissuers",
+ "get",
+ "getissuers",
+ "import",
+ "list",
+ "listissuers",
+ "managecontacts",
+ "manageissuers",
+ "purge",
+ "recover",
+ "restore",
+ "setissuers",
+ "update"
+ ]
+ }
+ }
+ ],
+ "enabledForDeployment": false,
+ "enabledForDiskEncryption": false,
+ "enabledForTemplateDeployment": false,
+ "enableSoftDelete": true,
+ "softDeleteRetentionInDays": 7
+ }
+ },
+ {
+ "type": "Microsoft.KeyVault/managedHSMs",
+ "apiVersion": "[variables('hsmApiVersion')]",
+ "name": "[variables('hsmName')]",
+ "condition": "[parameters('enableHsm')]",
+ "location": "[parameters('hsmLocation')]",
+ "sku": {
+ "family": "B",
+ "name": "Standard_B1"
+ },
+ "properties": {
+ "tenantId": "[parameters('tenantId')]",
+ "initialAdminObjectIds": "[union(array(parameters('testApplicationOid')), array(parameters('provisionerApplicationOid')))]",
+ "enablePurgeProtection": false,
+ "enableSoftDelete": true,
+ "softDeleteRetentionInDays": 7,
+ "publicNetworkAccess": "Enabled",
+ "networkAcls": "[variables('networkAcls')]"
+ }
+ },
+ {
+ "type": "Microsoft.Storage/storageAccounts",
+ "apiVersion": "[variables('mgmtApiVersion')]",
+ "name": "[variables('primaryAccountName')]",
+ "location": "[parameters('location')]",
+ "sku": {
+ "name": "Standard_RAGRS",
+ "tier": "Standard"
+ },
+ "kind": "StorageV2",
+ "properties": {
+ "networkAcls": "[variables('networkAcls')]",
+ "supportsHttpsTrafficOnly": true,
+ "encryption": "[variables('encryption')]",
+ "accessTier": "Hot"
+ }
+ },
+ {
+ "type": "Microsoft.Storage/storageAccounts/blobServices",
+ "apiVersion": "2019-06-01",
+ "name": "[concat(variables('primaryAccountName'), '/default')]",
+ "dependsOn": [
+ "[resourceId('Microsoft.Storage/storageAccounts', variables('primaryAccountName'))]"
+ ],
+ "sku": {
+ "name": "Standard_RAGRS",
+ "tier": "Standard"
+ },
+ "properties": {
+ "cors": {
+ "corsRules": []
+ },
+ "deleteRetentionPolicy": {
+ "enabled": false
+ }
+ }
+ },
+ {
+ "type": "Microsoft.Storage/storageAccounts/blobServices/containers",
+ "apiVersion": "2019-06-01",
+ "name": "[concat(variables('primaryAccountName'), '/default/', variables('blobContainerName'))]",
+ "dependsOn": [
+ "[resourceId('Microsoft.Storage/storageAccounts/blobServices', variables('primaryAccountName'), 'default')]",
+ "[resourceId('Microsoft.Storage/storageAccounts', variables('primaryAccountName'))]"
+ ],
+ "properties": {
+ "publicAccess": "None"
+ }
+ },
+ {
+
+ "type": "Microsoft.Web/serverfarms",
+ "apiVersion": "2020-12-01",
+ "name": "[variables('attestationFarm')]",
+ "condition": "[parameters('enableHsm')]",
+ "location": "[parameters('location')]",
+ "kind": "linux",
+ "sku": {
+ "name": "B1"
+ },
+ "properties": {
+ "reserved": true
+ }
+ },
+ {
+
+ "type": "Microsoft.Web/sites",
+ "apiVersion": "2020-12-01",
+ "name": "[variables('attestationSite')]",
+ "condition": "[parameters('enableHsm')]",
+ "dependsOn": [
+ "[resourceId('Microsoft.Web/serverfarms', variables('attestationFarm'))]"
+ ],
+ "location": "[parameters('location')]",
+ "properties": {
+ "httpsOnly": true,
+ "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', variables('attestationFarm'))]",
+ "siteConfig": {
+ "name": "[variables('attestationSite')]",
+ "alwaysOn": true,
+ "linuxFxVersion": "[variables('attestationUri')]",
+ "appSettings": [
+ {
+ "name": "WEBSITES_ENABLE_APP_SERVICE_STORAGE",
+ "value": "false"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "outputs": {
+ "AZURE_KEYVAULT_URL": {
+ "type": "string",
+ "value": "[reference(variables('kvName')).vaultUri]"
+ },
+ "AZURE_MANAGEDHSM_URL": {
+ "type": "string",
+ "condition": "[parameters('enableHsm')]",
+ "value": "[reference(variables('hsmName')).hsmUri]"
+ },
+ "KEYVAULT_SKU": {
+ "type": "string",
+ "value": "[reference(parameters('baseName')).sku.name]"
+ },
+ "CLIENT_OBJECTID": {
+ "type": "string",
+ "value": "[parameters('testApplicationOid')]"
+ },
+ "BLOB_STORAGE_ACCOUNT_NAME": {
+ "type": "string",
+ "value": "[variables('primaryAccountName')]"
+ },
+ "BLOB_PRIMARY_STORAGE_ACCOUNT_KEY": {
+ "type": "string",
+ "value": "[listKeys(variables('primaryAccountName'), variables('mgmtApiVersion')).keys[0].value]"
+ },
+ "BLOB_CONTAINER_NAME" : {
+ "type": "string",
+ "value": "[variables('blobContainerName')]"
+ },
+ "AZURE_KEYVAULT_ATTESTATION_URL": {
+ "type": "string",
+ "condition": "[parameters('enableHsm')]",
+ "value": "[format('https://{0}/', reference(variables('attestationSite')).defaultHostName)]"
+ }
+ }
+}
\ No newline at end of file
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/time_unix.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/time_unix.go
new file mode 100644
index 0000000000..ed8ce0f9dd
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/time_unix.go
@@ -0,0 +1,62 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+// DO NOT EDIT.
+
+package azsecrets
+
+import (
+ "encoding/json"
+ "fmt"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "reflect"
+ "strings"
+ "time"
+)
+
+type timeUnix time.Time
+
+func (t timeUnix) MarshalJSON() ([]byte, error) {
+ return json.Marshal(time.Time(t).Unix())
+}
+
+func (t *timeUnix) UnmarshalJSON(data []byte) error {
+ var seconds int64
+ if err := json.Unmarshal(data, &seconds); err != nil {
+ return err
+ }
+ *t = timeUnix(time.Unix(seconds, 0))
+ return nil
+}
+
+func (t timeUnix) String() string {
+ return fmt.Sprintf("%d", time.Time(t).Unix())
+}
+
+func populateTimeUnix(m map[string]any, k string, t *time.Time) {
+ if t == nil {
+ return
+ } else if azcore.IsNullValue(t) {
+ m[k] = nil
+ return
+ } else if reflect.ValueOf(t).IsNil() {
+ return
+ }
+ m[k] = (*timeUnix)(t)
+}
+
+func unpopulateTimeUnix(data json.RawMessage, fn string, t **time.Time) error {
+ if data == nil || strings.EqualFold(string(data), "null") {
+ return nil
+ }
+ var aux timeUnix
+ if err := json.Unmarshal(data, &aux); err != nil {
+ return fmt.Errorf("struct field %s: %v", fn, err)
+ }
+ *t = (*time.Time)(&aux)
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/version.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/version.go
new file mode 100644
index 0000000000..885158bcbe
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/azsecrets/version.go
@@ -0,0 +1,12 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+package azsecrets
+
+const (
+ moduleName = "azsecrets"
+ version = "v0.12.0"
+)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/CHANGELOG.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/CHANGELOG.md
new file mode 100644
index 0000000000..95d77dc952
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/CHANGELOG.md
@@ -0,0 +1,54 @@
+# Release History
+
+## 0.7.1 (2022-11-14)
+
+### Bugs Fixed
+* `KeyVaultChallengePolicy` uses incorrect authentication scope when challenge verification is disabled
+
+## 0.7.0 (2022-09-20)
+
+### Breaking Changes
+* Added `*KeyVaultChallengePolicyOptions` parameter to `NewKeyVaultChallengePolicy`
+
+## 0.6.0 (2022-09-12)
+
+### Breaking Changes
+* Verify the challenge resource matches the vault domain. See https://aka.ms/azsdk/blog/vault-uri for more information.
+* `ParseID()` no longer appends a trailing slash to vault URLs
+
+## 0.5.0 (2022-05-12)
+
+### Breaking Changes
+* Removed `ExpiringResource` and its dependencies in favor of shared implementation from `internal/temporal`.
+
+### Other Changes
+* Updated to latest versions of `azcore` and `internal`.
+
+## 0.4.0 (2022-04-22)
+
+### Breaking Changes
+* Updated `ExpiringResource` and its dependent types to use generics.
+
+### Other Changes
+* Remove reference to `TokenRequestOptions.TenantID` as it's been removed and wasn't working anyways.
+
+## 0.3.0 (2022-04-04)
+
+### Features Added
+* Adds the `ParseKeyvaultID` function to parse an ID into the Key Vault URL, item name, and item version
+
+### Breaking Changes
+* Updates to azcore v0.23.0
+
+## 0.2.1 (2022-01-31)
+
+### Bugs Fixed
+* Avoid retries on terminal failures (#16932)
+
+## 0.2.0 (2022-01-12)
+
+### Bugs Fixed
+* Fixes a bug with Managed HSMs that prevented correctly authorizing requests.
+
+## 0.1.0 (2021-11-09)
+* This is the initial release of the `internal` library for KeyVault
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/LICENSE.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/LICENSE.txt
new file mode 100644
index 0000000000..d1ca00f20a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/LICENSE.txt
@@ -0,0 +1,21 @@
+ MIT License
+
+ Copyright (c) Microsoft Corporation. All rights reserved.
+
+ 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-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/README.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/README.md
new file mode 100644
index 0000000000..bd4826705d
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/README.md
@@ -0,0 +1,23 @@
+# Key Vault Internal Module for Go
+
+[](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal)
+
+This module contains shared code for all the Key Vault SDKs, mainly the challenge authentication policy.
+
+## Contributing
+This project welcomes contributions and suggestions. Most contributions require
+you to agree to a Contributor License Agreement (CLA) declaring that you have
+the right to, and actually do, grant us the rights to use your contribution.
+For details, visit [https://cla.microsoft.com](https://cla.microsoft.com).
+
+When you submit a pull request, a CLA-bot will automatically determine whether
+you need to provide a CLA and decorate the PR appropriately (e.g., label,
+comment). Simply follow the instructions provided by the bot. You will only
+need to do this once across all repos using our CLA.
+
+This project has adopted the
+[Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
+For more information, see the
+[Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
+or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any
+additional questions or comments.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/challenge_policy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/challenge_policy.go
new file mode 100644
index 0000000000..4cc1e429a6
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/challenge_policy.go
@@ -0,0 +1,255 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+package internal
+
+import (
+ "bytes"
+ "errors"
+ "fmt"
+ "net/http"
+ "net/url"
+ "strings"
+ "time"
+
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
+ "github.com/Azure/azure-sdk-for-go/sdk/internal/errorinfo"
+ "github.com/Azure/azure-sdk-for-go/sdk/internal/temporal"
+)
+
+const (
+ headerAuthorization = "Authorization"
+ challengeMatchError = `challenge resource "%s" doesn't match the requested domain. Set DisableChallengeResourceVerification to true in your client options to disable. See https://aka.ms/azsdk/blog/vault-uri for more information`
+ bearerHeader = "Bearer "
+)
+
+type KeyVaultChallengePolicyOptions struct {
+ // DisableChallengeResourceVerification controls whether the policy requires the
+ // authentication challenge resource to match the Key Vault or Managed HSM domain
+ DisableChallengeResourceVerification bool
+}
+
+type KeyVaultChallengePolicy struct {
+ // mainResource is the resource to be retrieved using the tenant specified in the credential
+ mainResource *temporal.Resource[azcore.AccessToken, acquiringResourceState]
+ cred azcore.TokenCredential
+ scope *string
+ tenantID *string
+ verifyChallengeResource bool
+}
+
+func NewKeyVaultChallengePolicy(cred azcore.TokenCredential, opts *KeyVaultChallengePolicyOptions) *KeyVaultChallengePolicy {
+ if opts == nil {
+ opts = &KeyVaultChallengePolicyOptions{}
+ }
+ return &KeyVaultChallengePolicy{
+ cred: cred,
+ mainResource: temporal.NewResource(acquire),
+ verifyChallengeResource: !opts.DisableChallengeResourceVerification,
+ }
+}
+
+func (k *KeyVaultChallengePolicy) Do(req *policy.Request) (*http.Response, error) {
+ as := acquiringResourceState{
+ p: k,
+ req: req,
+ }
+
+ if k.scope == nil || k.tenantID == nil {
+ // First request, get both to get the token
+ challengeReq, err := k.getChallengeRequest(*req)
+ if err != nil {
+ return nil, err
+ }
+
+ resp, err := challengeReq.Next()
+ if err != nil {
+ return nil, err
+ }
+
+ if resp.StatusCode > 399 && resp.StatusCode != http.StatusUnauthorized {
+ // the request failed for some other reason, don't try any further
+ return resp, nil
+ }
+ err = k.findScopeAndTenant(resp, req.Raw())
+ if err != nil {
+ return nil, err
+ }
+ }
+
+ tk, err := k.mainResource.Get(as)
+ if err != nil {
+ return nil, err
+ }
+
+ req.Raw().Header.Set(
+ headerAuthorization,
+ fmt.Sprintf("%s%s", bearerHeader, tk.Token),
+ )
+
+ // send a copy of the request
+ cloneReq := req.Clone(req.Raw().Context())
+ resp, cloneReqErr := cloneReq.Next()
+ if cloneReqErr != nil {
+ return nil, cloneReqErr
+ }
+
+ // If it fails and has a 401, try it with a new token
+ if resp.StatusCode == 401 {
+ // Force a new token
+ k.mainResource.Expire()
+
+ // Find the scope and tenant again in case they have changed
+ err := k.findScopeAndTenant(resp, req.Raw())
+ if err != nil {
+ // Error parsing challenge, doomed to fail. Return
+ return resp, cloneReqErr
+ }
+
+ tk, err := k.mainResource.Get(as)
+ if err != nil {
+ return resp, err
+ }
+
+ req.Raw().Header.Set(
+ headerAuthorization,
+ bearerHeader+tk.Token,
+ )
+
+ // send the original request now
+ return req.Next()
+ }
+
+ return resp, err
+}
+
+// parses Tenant ID from auth challenge
+// https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000
+func parseTenant(url string) *string {
+ if url == "" {
+ return to.Ptr("")
+ }
+ parts := strings.Split(url, "/")
+ tenant := parts[3]
+ tenant = strings.ReplaceAll(tenant, ",", "")
+ return &tenant
+}
+
+type challengePolicyError struct {
+ err error
+}
+
+func (c *challengePolicyError) Error() string {
+ return c.err.Error()
+}
+
+func (*challengePolicyError) NonRetriable() {
+ // marker method
+}
+
+func (c *challengePolicyError) Unwrap() error {
+ return c.err
+}
+
+var _ errorinfo.NonRetriable = (*challengePolicyError)(nil)
+
+// sets the k.scope and k.tenantID from the WWW-Authenticate header
+func (k *KeyVaultChallengePolicy) findScopeAndTenant(resp *http.Response, req *http.Request) error {
+ authHeader := resp.Header.Get("WWW-Authenticate")
+ if authHeader == "" {
+ return &challengePolicyError{err: errors.New("response has no WWW-Authenticate header for challenge authentication")}
+ }
+
+ // Strip down to auth and resource
+ // Format is "Bearer authorization=\"\" resource=\"\"" OR
+ // "Bearer authorization=\"\" scope=\"\" resource=\"\""
+ authHeader = strings.ReplaceAll(authHeader, "Bearer ", "")
+
+ parts := strings.Split(authHeader, " ")
+
+ vals := map[string]string{}
+ for _, part := range parts {
+ subParts := strings.Split(part, "=")
+ if len(subParts) == 2 {
+ stripped := strings.ReplaceAll(subParts[1], "\"", "")
+ stripped = strings.TrimSuffix(stripped, ",")
+ vals[subParts[0]] = stripped
+ }
+ }
+
+ k.tenantID = parseTenant(vals["authorization"])
+ scope := ""
+ if v, ok := vals["scope"]; ok {
+ scope = v
+ } else if v, ok := vals["resource"]; ok {
+ scope = v
+ }
+ if scope == "" {
+ return &challengePolicyError{err: errors.New("could not find a valid resource in the WWW-Authenticate header")}
+ }
+ if k.verifyChallengeResource {
+ // the challenge resource's host must match the requested vault's host
+ parsed, err := url.Parse(scope)
+ if err != nil {
+ return &challengePolicyError{err: fmt.Errorf(`invalid challenge resource "%s": %v`, scope, err)}
+ }
+ if !strings.HasSuffix(req.URL.Host, "."+parsed.Host) {
+ return &challengePolicyError{err: fmt.Errorf(challengeMatchError, scope)}
+ }
+ }
+ if !strings.HasSuffix(scope, "/.default") {
+ scope += "/.default"
+ }
+ k.scope = &scope
+ return nil
+}
+
+func (k KeyVaultChallengePolicy) getChallengeRequest(orig policy.Request) (*policy.Request, error) {
+ req, err := runtime.NewRequest(orig.Raw().Context(), orig.Raw().Method, orig.Raw().URL.String())
+ if err != nil {
+ return nil, &challengePolicyError{err: err}
+ }
+
+ req.Raw().Header = orig.Raw().Header
+ req.Raw().Header.Set("Content-Length", "0")
+ req.Raw().ContentLength = 0
+
+ copied := orig.Clone(orig.Raw().Context())
+ copied.Raw().Body = req.Body()
+ copied.Raw().ContentLength = 0
+ copied.Raw().Header.Set("Content-Length", "0")
+ err = copied.SetBody(streaming.NopCloser(bytes.NewReader([]byte{})), "application/json")
+ if err != nil {
+ return nil, &challengePolicyError{err: err}
+ }
+ copied.Raw().Header.Del("Content-Type")
+
+ return copied, err
+}
+
+type acquiringResourceState struct {
+ req *policy.Request
+ p *KeyVaultChallengePolicy
+}
+
+// acquire acquires or updates the resource; only one
+// thread/goroutine at a time ever calls this function
+func acquire(state acquiringResourceState) (newResource azcore.AccessToken, newExpiration time.Time, err error) {
+ tk, err := state.p.cred.GetToken(
+ state.req.Raw().Context(),
+ policy.TokenRequestOptions{
+ Scopes: []string{*state.p.scope},
+ },
+ )
+ if err != nil {
+ return azcore.AccessToken{}, time.Time{}, err
+ }
+ return tk, tk.ExpiresOn, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/ci.keyvault.yml b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/ci.keyvault.yml
new file mode 100644
index 0000000000..d72c650135
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/ci.keyvault.yml
@@ -0,0 +1,28 @@
+# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
+trigger:
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/keyvault/internal
+
+pr:
+ branches:
+ include:
+ - main
+ - feature/*
+ - hotfix/*
+ - release/*
+ paths:
+ include:
+ - sdk/keyvault/internal
+
+stages:
+- template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml
+ parameters:
+ ServiceDirectory: 'keyvault/internal'
+ RunLiveTests: false
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/constants.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/constants.go
new file mode 100644
index 0000000000..cd94eb0d83
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/constants.go
@@ -0,0 +1,11 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+package internal
+
+const (
+ version = "v0.7.1" //nolint
+)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/doc.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/doc.go
new file mode 100644
index 0000000000..d8f93492f5
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/doc.go
@@ -0,0 +1,7 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+
+package internal
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/parse.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/parse.go
new file mode 100644
index 0000000000..8511832d27
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal/parse.go
@@ -0,0 +1,37 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+package internal
+
+import (
+ "fmt"
+ "net/url"
+ "strings"
+
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
+)
+
+// ParseID parses "https://myvaultname.vault.azure.net/keys/key1053998307/b86c2e6ad9054f4abf69cc185b99aa60"
+// into "https://myvaultname.managedhsm.azure.net/", "key1053998307", and "b86c2e6ad9054f4abf69cc185b99aa60"
+func ParseID(id *string) (*string, *string, *string) {
+ if id == nil {
+ return nil, nil, nil
+ }
+ parsed, err := url.Parse(*id)
+ if err != nil {
+ return nil, nil, nil
+ }
+
+ url := fmt.Sprintf("%s://%s", parsed.Scheme, parsed.Host)
+ split := strings.Split(strings.TrimPrefix(parsed.Path, "/"), "/")
+ if len(split) < 3 {
+ if len(split) == 2 {
+ return &url, to.Ptr(split[1]), nil
+ }
+ return &url, nil, nil
+ }
+
+ return &url, to.Ptr(split[1]), to.Ptr(split[2])
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/CHANGELOG.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/CHANGELOG.md
index c9aefb3998..5faf165f4a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/CHANGELOG.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/CHANGELOG.md
@@ -1,5 +1,78 @@
# Release History
+## 1.6.0 (2024-06-28)
+### Features Added
+
+- New value `AccessTierCold` added to enum type `AccessTier`
+- New value `ExpirationActionBlock` added to enum type `ExpirationAction`
+- New value `MinimumTLSVersionTLS13` added to enum type `MinimumTLSVersion`
+- New value `ProvisioningStateCanceled`, `ProvisioningStateDeleting`, `ProvisioningStateFailed`, `ProvisioningStateValidateSubscriptionQuotaBegin`, `ProvisioningStateValidateSubscriptionQuotaEnd` added to enum type `ProvisioningState`
+- New value `PublicNetworkAccessSecuredByPerimeter` added to enum type `PublicNetworkAccess`
+- New enum type `IssueType` with values `IssueTypeConfigurationPropagationFailure`, `IssueTypeUnknown`
+- New enum type `ListLocalUserIncludeParam` with values `ListLocalUserIncludeParamNfsv3`
+- New enum type `NetworkSecurityPerimeterConfigurationProvisioningState` with values `NetworkSecurityPerimeterConfigurationProvisioningStateAccepted`, `NetworkSecurityPerimeterConfigurationProvisioningStateCanceled`, `NetworkSecurityPerimeterConfigurationProvisioningStateDeleting`, `NetworkSecurityPerimeterConfigurationProvisioningStateFailed`, `NetworkSecurityPerimeterConfigurationProvisioningStateSucceeded`
+- New enum type `NspAccessRuleDirection` with values `NspAccessRuleDirectionInbound`, `NspAccessRuleDirectionOutbound`
+- New enum type `ResourceAssociationAccessMode` with values `ResourceAssociationAccessModeAudit`, `ResourceAssociationAccessModeEnforced`, `ResourceAssociationAccessModeLearning`
+- New enum type `RunResult` with values `RunResultFailed`, `RunResultSucceeded`
+- New enum type `RunStatusEnum` with values `RunStatusEnumFinished`, `RunStatusEnumInProgress`
+- New enum type `Severity` with values `SeverityError`, `SeverityWarning`
+- New enum type `TriggerType` with values `TriggerTypeOnSchedule`, `TriggerTypeRunOnce`
+- New function `*ClientFactory.NewNetworkSecurityPerimeterConfigurationsClient() *NetworkSecurityPerimeterConfigurationsClient`
+- New function `*ClientFactory.NewTaskAssignmentInstancesReportClient() *TaskAssignmentInstancesReportClient`
+- New function `*ClientFactory.NewTaskAssignmentsClient() *TaskAssignmentsClient`
+- New function `*ClientFactory.NewTaskAssignmentsInstancesReportClient() *TaskAssignmentsInstancesReportClient`
+- New function `NewTaskAssignmentInstancesReportClient(string, azcore.TokenCredential, *arm.ClientOptions) (*TaskAssignmentInstancesReportClient, error)`
+- New function `*TaskAssignmentInstancesReportClient.NewListPager(string, string, string, *TaskAssignmentInstancesReportClientListOptions) *runtime.Pager[TaskAssignmentInstancesReportClientListResponse]`
+- New function `NewTaskAssignmentsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*TaskAssignmentsClient, error)`
+- New function `*TaskAssignmentsClient.BeginCreate(context.Context, string, string, string, TaskAssignment, *TaskAssignmentsClientBeginCreateOptions) (*runtime.Poller[TaskAssignmentsClientCreateResponse], error)`
+- New function `*TaskAssignmentsClient.BeginDelete(context.Context, string, string, string, *TaskAssignmentsClientBeginDeleteOptions) (*runtime.Poller[TaskAssignmentsClientDeleteResponse], error)`
+- New function `*TaskAssignmentsClient.Get(context.Context, string, string, string, *TaskAssignmentsClientGetOptions) (TaskAssignmentsClientGetResponse, error)`
+- New function `*TaskAssignmentsClient.NewListPager(string, string, *TaskAssignmentsClientListOptions) *runtime.Pager[TaskAssignmentsClientListResponse]`
+- New function `*TaskAssignmentsClient.BeginUpdate(context.Context, string, string, string, TaskAssignmentUpdateParameters, *TaskAssignmentsClientBeginUpdateOptions) (*runtime.Poller[TaskAssignmentsClientUpdateResponse], error)`
+- New function `NewTaskAssignmentsInstancesReportClient(string, azcore.TokenCredential, *arm.ClientOptions) (*TaskAssignmentsInstancesReportClient, error)`
+- New function `*TaskAssignmentsInstancesReportClient.NewListPager(string, string, *TaskAssignmentsInstancesReportClientListOptions) *runtime.Pager[TaskAssignmentsInstancesReportClientListResponse]`
+- New function `NewNetworkSecurityPerimeterConfigurationsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*NetworkSecurityPerimeterConfigurationsClient, error)`
+- New function `*NetworkSecurityPerimeterConfigurationsClient.Get(context.Context, string, string, string, *NetworkSecurityPerimeterConfigurationsClientGetOptions) (NetworkSecurityPerimeterConfigurationsClientGetResponse, error)`
+- New function `*NetworkSecurityPerimeterConfigurationsClient.NewListPager(string, string, *NetworkSecurityPerimeterConfigurationsClientListOptions) *runtime.Pager[NetworkSecurityPerimeterConfigurationsClientListResponse]`
+- New function `*NetworkSecurityPerimeterConfigurationsClient.BeginReconcile(context.Context, string, string, string, *NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions) (*runtime.Poller[NetworkSecurityPerimeterConfigurationsClientReconcileResponse], error)`
+- New struct `ExecutionTarget`
+- New struct `ExecutionTrigger`
+- New struct `ExecutionTriggerUpdate`
+- New struct `NetworkSecurityPerimeter`
+- New struct `NetworkSecurityPerimeterConfiguration`
+- New struct `NetworkSecurityPerimeterConfigurationList`
+- New struct `NetworkSecurityPerimeterConfigurationProperties`
+- New struct `NetworkSecurityPerimeterConfigurationPropertiesProfile`
+- New struct `NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation`
+- New struct `NspAccessRule`
+- New struct `NspAccessRuleProperties`
+- New struct `NspAccessRulePropertiesSubscriptionsItem`
+- New struct `ProvisioningIssue`
+- New struct `ProvisioningIssueProperties`
+- New struct `ProxyResourceAutoGenerated`
+- New struct `ResourceAutoGenerated`
+- New struct `TaskAssignment`
+- New struct `TaskAssignmentExecutionContext`
+- New struct `TaskAssignmentProperties`
+- New struct `TaskAssignmentReport`
+- New struct `TaskAssignmentUpdateExecutionContext`
+- New struct `TaskAssignmentUpdateParameters`
+- New struct `TaskAssignmentUpdateProperties`
+- New struct `TaskAssignmentUpdateReport`
+- New struct `TaskAssignmentsList`
+- New struct `TaskReportInstance`
+- New struct `TaskReportProperties`
+- New struct `TaskReportSummary`
+- New struct `TriggerParameters`
+- New struct `TriggerParametersUpdate`
+- New field `EnableExtendedGroups` in struct `AccountProperties`
+- New field `EnableExtendedGroups` in struct `AccountPropertiesCreateParameters`
+- New field `EnableExtendedGroups` in struct `AccountPropertiesUpdateParameters`
+- New field `AllowACLAuthorization`, `ExtendedGroups`, `GroupID`, `IsNFSv3Enabled`, `UserID` in struct `LocalUserProperties`
+- New field `NextLink` in struct `LocalUsers`
+- New field `Filter`, `Include`, `Maxpagesize` in struct `LocalUsersClientListOptions`
+
+
## 1.5.0 (2023-11-24)
### Features Added
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/accounts_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/accounts_client.go
index 81c6bc011d..fe5f1fc989 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/accounts_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/accounts_client.go
@@ -46,7 +46,7 @@ func NewAccountsClient(subscriptionID string, credential azcore.TokenCredential,
// BeginAbortHierarchicalNamespaceMigration - Abort live Migration of storage account to enable Hns
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -73,7 +73,7 @@ func (client *AccountsClient) BeginAbortHierarchicalNamespaceMigration(ctx conte
// AbortHierarchicalNamespaceMigration - Abort live Migration of storage account to enable Hns
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *AccountsClient) abortHierarchicalNamespaceMigration(ctx context.Context, resourceGroupName string, accountName string, options *AccountsClientBeginAbortHierarchicalNamespaceMigrationOptions) (*http.Response, error) {
var err error
const operationName = "AccountsClient.BeginAbortHierarchicalNamespaceMigration"
@@ -115,7 +115,7 @@ func (client *AccountsClient) abortHierarchicalNamespaceMigrationCreateRequest(c
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -124,7 +124,7 @@ func (client *AccountsClient) abortHierarchicalNamespaceMigrationCreateRequest(c
// CheckNameAvailability - Checks that the storage account name is valid and is not already in use.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
// - options - AccountsClientCheckNameAvailabilityOptions contains the optional parameters for the AccountsClient.CheckNameAvailability
@@ -163,7 +163,7 @@ func (client *AccountsClient) checkNameAvailabilityCreateRequest(ctx context.Con
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, accountName); err != nil {
@@ -187,7 +187,7 @@ func (client *AccountsClient) checkNameAvailabilityHandleResponse(resp *http.Res
// set of properties, the request will succeed.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -216,7 +216,7 @@ func (client *AccountsClient) BeginCreate(ctx context.Context, resourceGroupName
// set of properties, the request will succeed.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *AccountsClient) create(ctx context.Context, resourceGroupName string, accountName string, parameters AccountCreateParameters, options *AccountsClientBeginCreateOptions) (*http.Response, error) {
var err error
const operationName = "AccountsClient.BeginCreate"
@@ -258,7 +258,7 @@ func (client *AccountsClient) createCreateRequest(ctx context.Context, resourceG
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
@@ -273,7 +273,7 @@ func (client *AccountsClient) createCreateRequest(ctx context.Context, resourceG
// synchronously across three Azure availability zones in the primary region.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -304,7 +304,7 @@ func (client *AccountsClient) BeginCustomerInitiatedMigration(ctx context.Contex
// synchronously across three Azure availability zones in the primary region.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *AccountsClient) customerInitiatedMigration(ctx context.Context, resourceGroupName string, accountName string, parameters AccountMigration, options *AccountsClientBeginCustomerInitiatedMigrationOptions) (*http.Response, error) {
var err error
const operationName = "AccountsClient.BeginCustomerInitiatedMigration"
@@ -346,7 +346,7 @@ func (client *AccountsClient) customerInitiatedMigrationCreateRequest(ctx contex
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
@@ -358,7 +358,7 @@ func (client *AccountsClient) customerInitiatedMigrationCreateRequest(ctx contex
// Delete - Deletes a storage account in Microsoft Azure.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -404,7 +404,7 @@ func (client *AccountsClient) deleteCreateRequest(ctx context.Context, resourceG
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
return req, nil
}
@@ -420,7 +420,7 @@ func (client *AccountsClient) deleteCreateRequest(ctx context.Context, resourceG
// 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -454,7 +454,7 @@ func (client *AccountsClient) BeginFailover(ctx context.Context, resourceGroupNa
// 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/en-us/azure/storage/common/storage-disaster-recovery-guidance
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *AccountsClient) failover(ctx context.Context, resourceGroupName string, accountName string, options *AccountsClientBeginFailoverOptions) (*http.Response, error) {
var err error
const operationName = "AccountsClient.BeginFailover"
@@ -496,7 +496,7 @@ func (client *AccountsClient) failoverCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
if options != nil && options.FailoverType != nil {
reqQP.Set("failoverType", "Planned")
}
@@ -507,7 +507,7 @@ func (client *AccountsClient) failoverCreateRequest(ctx context.Context, resourc
// GetCustomerInitiatedMigration - Gets the status of the ongoing migration for the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -560,7 +560,7 @@ func (client *AccountsClient) getCustomerInitiatedMigrationCreateRequest(ctx con
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -579,7 +579,7 @@ func (client *AccountsClient) getCustomerInitiatedMigrationHandleResponse(resp *
// and account status. The ListKeys operation should be used to retrieve storage keys.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -626,10 +626,10 @@ func (client *AccountsClient) getPropertiesCreateRequest(ctx context.Context, re
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
if options != nil && options.Expand != nil {
reqQP.Set("$expand", string(*options.Expand))
}
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -647,7 +647,7 @@ func (client *AccountsClient) getPropertiesHandleResponse(resp *http.Response) (
// BeginHierarchicalNamespaceMigration - Live Migration of storage account to enable Hns
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -677,7 +677,7 @@ func (client *AccountsClient) BeginHierarchicalNamespaceMigration(ctx context.Co
// HierarchicalNamespaceMigration - Live Migration of storage account to enable Hns
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *AccountsClient) hierarchicalNamespaceMigration(ctx context.Context, resourceGroupName string, accountName string, requestType string, options *AccountsClientBeginHierarchicalNamespaceMigrationOptions) (*http.Response, error) {
var err error
const operationName = "AccountsClient.BeginHierarchicalNamespaceMigration"
@@ -719,7 +719,7 @@ func (client *AccountsClient) hierarchicalNamespaceMigrationCreateRequest(ctx co
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
reqQP.Set("requestType", requestType)
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
@@ -729,7 +729,7 @@ func (client *AccountsClient) hierarchicalNamespaceMigrationCreateRequest(ctx co
// NewListPager - Lists all the storage accounts available under the subscription. Note that storage keys are not returned;
// use the ListKeys operation for this.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - options - AccountsClientListOptions contains the optional parameters for the AccountsClient.NewListPager method.
func (client *AccountsClient) NewListPager(options *AccountsClientListOptions) *runtime.Pager[AccountsClientListResponse] {
return runtime.NewPager(runtime.PagingHandler[AccountsClientListResponse]{
@@ -766,7 +766,7 @@ func (client *AccountsClient) listCreateRequest(ctx context.Context, options *Ac
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -784,7 +784,7 @@ func (client *AccountsClient) listHandleResponse(resp *http.Response) (AccountsC
// ListAccountSAS - List SAS credentials of a storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -832,7 +832,7 @@ func (client *AccountsClient) listAccountSASCreateRequest(ctx context.Context, r
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
@@ -853,7 +853,7 @@ func (client *AccountsClient) listAccountSASHandleResponse(resp *http.Response)
// NewListByResourceGroupPager - Lists all the storage accounts available under the given resource group. Note that storage
// keys are not returned; use the ListKeys operation for this.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - options - AccountsClientListByResourceGroupOptions contains the optional parameters for the AccountsClient.NewListByResourceGroupPager
// method.
@@ -896,7 +896,7 @@ func (client *AccountsClient) listByResourceGroupCreateRequest(ctx context.Conte
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -914,7 +914,7 @@ func (client *AccountsClient) listByResourceGroupHandleResponse(resp *http.Respo
// ListKeys - Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -961,10 +961,10 @@ func (client *AccountsClient) listKeysCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
if options != nil && options.Expand != nil {
reqQP.Set("$expand", "kerb")
}
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -982,7 +982,7 @@ func (client *AccountsClient) listKeysHandleResponse(resp *http.Response) (Accou
// ListServiceSAS - List service SAS credentials of a specific resource.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1030,7 +1030,7 @@ func (client *AccountsClient) listServiceSASCreateRequest(ctx context.Context, r
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
@@ -1051,7 +1051,7 @@ func (client *AccountsClient) listServiceSASHandleResponse(resp *http.Response)
// RegenerateKey - Regenerates one of the access keys or Kerberos keys for the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1099,7 +1099,7 @@ func (client *AccountsClient) regenerateKeyCreateRequest(ctx context.Context, re
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, regenerateKey); err != nil {
@@ -1120,7 +1120,7 @@ func (client *AccountsClient) regenerateKeyHandleResponse(resp *http.Response) (
// BeginRestoreBlobRanges - Restore blobs in the specified blob ranges
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1148,7 +1148,7 @@ func (client *AccountsClient) BeginRestoreBlobRanges(ctx context.Context, resour
// RestoreBlobRanges - Restore blobs in the specified blob ranges
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *AccountsClient) restoreBlobRanges(ctx context.Context, resourceGroupName string, accountName string, parameters BlobRestoreParameters, options *AccountsClientBeginRestoreBlobRangesOptions) (*http.Response, error) {
var err error
const operationName = "AccountsClient.BeginRestoreBlobRanges"
@@ -1190,7 +1190,7 @@ func (client *AccountsClient) restoreBlobRangesCreateRequest(ctx context.Context
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
@@ -1202,7 +1202,7 @@ func (client *AccountsClient) restoreBlobRangesCreateRequest(ctx context.Context
// RevokeUserDelegationKeys - Revoke user delegation keys.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1249,7 +1249,7 @@ func (client *AccountsClient) revokeUserDelegationKeysCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
return req, nil
}
@@ -1263,7 +1263,7 @@ func (client *AccountsClient) revokeUserDelegationKeysCreateRequest(ctx context.
// location and name of the storage account cannot be changed after creation.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1311,7 +1311,7 @@ func (client *AccountsClient) updateCreateRequest(ctx context.Context, resourceG
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/assets.json b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/assets.json
index 799f7afd7f..152c3b451e 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/assets.json
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/assets.json
@@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "go",
"TagPrefix": "go/resourcemanager/storage/armstorage",
- "Tag": "go/resourcemanager/storage/armstorage_c9d59e874d"
+ "Tag": "go/resourcemanager/storage/armstorage_a26d68f572"
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/autorest.md b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/autorest.md
index 2a581188e6..ae18e9939d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/autorest.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/autorest.md
@@ -5,11 +5,11 @@
``` yaml
azure-arm: true
require:
-- https://github.com/Azure/azure-rest-api-specs/blob/0baf811c3c76c87b3c127d098519bd97141222dd/specification/storage/resource-manager/readme.md
-- https://github.com/Azure/azure-rest-api-specs/blob/0baf811c3c76c87b3c127d098519bd97141222dd/specification/storage/resource-manager/readme.go.md
+- https://github.com/Azure/azure-rest-api-specs/blob/220ad9c6554fc7d6d10a89bdb441c1e3b36e3285/specification/storage/resource-manager/readme.md
+- https://github.com/Azure/azure-rest-api-specs/blob/220ad9c6554fc7d6d10a89bdb441c1e3b36e3285/specification/storage/resource-manager/readme.go.md
license-header: MICROSOFT_MIT_NO_VERSION
-module-version: 1.5.0
+module-version: 1.6.0
modelerfour:
seal-single-value-enum-by-default: true
-tag: package-2023-01
+tag: package-2023-05
```
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobcontainers_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobcontainers_client.go
index 666afdcd8d..286c363e7f 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobcontainers_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobcontainers_client.go
@@ -47,7 +47,7 @@ func NewBlobContainersClient(subscriptionID string, credential azcore.TokenCrede
// clears out only the specified tags in the request.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -103,7 +103,7 @@ func (client *BlobContainersClient) clearLegalHoldCreateRequest(ctx context.Cont
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, legalHold); err != nil {
@@ -126,7 +126,7 @@ func (client *BlobContainersClient) clearLegalHoldHandleResponse(resp *http.Resp
// contained by the container.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -181,7 +181,7 @@ func (client *BlobContainersClient) createCreateRequest(ctx context.Context, res
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, blobContainer); err != nil {
@@ -203,7 +203,7 @@ func (client *BlobContainersClient) createHandleResponse(resp *http.Response) (B
// but not required for this operation.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -259,12 +259,12 @@ func (client *BlobContainersClient) createOrUpdateImmutabilityPolicyCreateReques
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.IfMatch != nil {
req.Raw().Header["If-Match"] = []string{*options.IfMatch}
}
- req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.Parameters != nil {
if err := runtime.MarshalAsJSON(req, *options.Parameters); err != nil {
return nil, err
@@ -289,7 +289,7 @@ func (client *BlobContainersClient) createOrUpdateImmutabilityPolicyHandleRespon
// Delete - Deletes specified container under its account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -342,7 +342,7 @@ func (client *BlobContainersClient) deleteCreateRequest(ctx context.Context, res
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
return req, nil
}
@@ -353,7 +353,7 @@ func (client *BlobContainersClient) deleteCreateRequest(ctx context.Context, res
// container.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -412,10 +412,10 @@ func (client *BlobContainersClient) deleteImmutabilityPolicyCreateRequest(ctx co
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
- req.Raw().Header["If-Match"] = []string{ifMatch}
req.Raw().Header["Accept"] = []string{"application/json"}
+ req.Raw().Header["If-Match"] = []string{ifMatch}
return req, nil
}
@@ -435,7 +435,7 @@ func (client *BlobContainersClient) deleteImmutabilityPolicyHandleResponse(resp
// allowed on a Locked policy will be this action. ETag in If-Match is required for this operation.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -493,10 +493,10 @@ func (client *BlobContainersClient) extendImmutabilityPolicyCreateRequest(ctx co
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
- req.Raw().Header["If-Match"] = []string{ifMatch}
req.Raw().Header["Accept"] = []string{"application/json"}
+ req.Raw().Header["If-Match"] = []string{ifMatch}
if options != nil && options.Parameters != nil {
if err := runtime.MarshalAsJSON(req, *options.Parameters); err != nil {
return nil, err
@@ -521,7 +521,7 @@ func (client *BlobContainersClient) extendImmutabilityPolicyHandleResponse(resp
// Get - Gets properties of a specified container.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -575,7 +575,7 @@ func (client *BlobContainersClient) getCreateRequest(ctx context.Context, resour
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -594,7 +594,7 @@ func (client *BlobContainersClient) getHandleResponse(resp *http.Response) (Blob
// body.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -650,12 +650,12 @@ func (client *BlobContainersClient) getImmutabilityPolicyCreateRequest(ctx conte
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.IfMatch != nil {
req.Raw().Header["If-Match"] = []string{*options.IfMatch}
}
- req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
}
@@ -675,7 +675,7 @@ func (client *BlobContainersClient) getImmutabilityPolicyHandleResponse(resp *ht
// can be 15 to 60 seconds, or can be infinite.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -729,7 +729,7 @@ func (client *BlobContainersClient) leaseCreateRequest(ctx context.Context, reso
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.Parameters != nil {
@@ -753,7 +753,7 @@ func (client *BlobContainersClient) leaseHandleResponse(resp *http.Response) (Bl
// NewListPager - Lists all containers and does not support a prefix like data plane. Also SRP today does not return continuation
// token.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -801,16 +801,16 @@ func (client *BlobContainersClient) listCreateRequest(ctx context.Context, resou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
- if options != nil && options.Maxpagesize != nil {
- reqQP.Set("$maxpagesize", *options.Maxpagesize)
- }
if options != nil && options.Filter != nil {
reqQP.Set("$filter", *options.Filter)
}
if options != nil && options.Include != nil {
reqQP.Set("$include", string(*options.Include))
}
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", *options.Maxpagesize)
+ }
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -829,7 +829,7 @@ func (client *BlobContainersClient) listHandleResponse(resp *http.Response) (Blo
// action. ETag in If-Match is required for this operation.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -887,10 +887,10 @@ func (client *BlobContainersClient) lockImmutabilityPolicyCreateRequest(ctx cont
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
- req.Raw().Header["If-Match"] = []string{ifMatch}
req.Raw().Header["Accept"] = []string{"application/json"}
+ req.Raw().Header["If-Match"] = []string{ifMatch}
return req, nil
}
@@ -911,7 +911,7 @@ func (client *BlobContainersClient) lockImmutabilityPolicyHandleResponse(resp *h
// unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -943,7 +943,7 @@ func (client *BlobContainersClient) BeginObjectLevelWorm(ctx context.Context, re
// unlocked state, Account level versioning must be enabled and there should be no Legal hold on the container.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
func (client *BlobContainersClient) objectLevelWorm(ctx context.Context, resourceGroupName string, accountName string, containerName string, options *BlobContainersClientBeginObjectLevelWormOptions) (*http.Response, error) {
var err error
const operationName = "BlobContainersClient.BeginObjectLevelWorm"
@@ -989,7 +989,7 @@ func (client *BlobContainersClient) objectLevelWormCreateRequest(ctx context.Con
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -999,7 +999,7 @@ func (client *BlobContainersClient) objectLevelWormCreateRequest(ctx context.Con
// pattern and does not clear out the existing tags that are not specified in the request.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1055,7 +1055,7 @@ func (client *BlobContainersClient) setLegalHoldCreateRequest(ctx context.Contex
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, legalHold); err != nil {
@@ -1077,7 +1077,7 @@ func (client *BlobContainersClient) setLegalHoldHandleResponse(resp *http.Respon
// Update fails if the specified container doesn't already exist.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -1132,7 +1132,7 @@ func (client *BlobContainersClient) updateCreateRequest(ctx context.Context, res
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, blobContainer); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobinventorypolicies_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobinventorypolicies_client.go
index 5fd736aae7..a0e56a472c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobinventorypolicies_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobinventorypolicies_client.go
@@ -46,7 +46,7 @@ func NewBlobInventoryPoliciesClient(subscriptionID string, credential azcore.Tok
// CreateOrUpdate - Sets the blob inventory policy to the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -100,7 +100,7 @@ func (client *BlobInventoryPoliciesClient) createOrUpdateCreateRequest(ctx conte
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, properties); err != nil {
@@ -121,7 +121,7 @@ func (client *BlobInventoryPoliciesClient) createOrUpdateHandleResponse(resp *ht
// Delete - Deletes the blob inventory policy associated with the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -173,7 +173,7 @@ func (client *BlobInventoryPoliciesClient) deleteCreateRequest(ctx context.Conte
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -182,7 +182,7 @@ func (client *BlobInventoryPoliciesClient) deleteCreateRequest(ctx context.Conte
// Get - Gets the blob inventory policy associated with the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -235,7 +235,7 @@ func (client *BlobInventoryPoliciesClient) getCreateRequest(ctx context.Context,
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -252,7 +252,7 @@ func (client *BlobInventoryPoliciesClient) getHandleResponse(resp *http.Response
// NewListPager - Gets the blob inventory policy associated with the specified storage account.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -302,7 +302,7 @@ func (client *BlobInventoryPoliciesClient) listCreateRequest(ctx context.Context
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobservices_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobservices_client.go
index 18122f9254..8ccf18a9c4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobservices_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/blobservices_client.go
@@ -47,7 +47,7 @@ func NewBlobServicesClient(subscriptionID string, credential azcore.TokenCredent
// and CORS (Cross-Origin Resource Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -96,7 +96,7 @@ func (client *BlobServicesClient) getServicePropertiesCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -113,7 +113,7 @@ func (client *BlobServicesClient) getServicePropertiesHandleResponse(resp *http.
// NewListPager - List blob services of storage account. It returns a collection of one object named default.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -162,7 +162,7 @@ func (client *BlobServicesClient) listCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -181,7 +181,7 @@ func (client *BlobServicesClient) listHandleResponse(resp *http.Response) (BlobS
// and CORS (Cross-Origin Resource Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -232,7 +232,7 @@ func (client *BlobServicesClient) setServicePropertiesCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/ci.yml b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/ci.yml
index 56efca76cf..674a186be8 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/ci.yml
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/ci.yml
@@ -21,8 +21,9 @@ pr:
include:
- sdk/resourcemanager/storage/armstorage/
-stages:
-- template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml
+extends:
+ template: /eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
IncludeRelease: true
ServiceDirectory: 'resourcemanager/storage/armstorage'
+ UsePipelineProxy: false
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/client_factory.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/client_factory.go
index d0da80d15c..027e030f6d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/client_factory.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/client_factory.go
@@ -17,8 +17,7 @@ import (
// Don't use this type directly, use NewClientFactory instead.
type ClientFactory struct {
subscriptionID string
- credential azcore.TokenCredential
- options *arm.ClientOptions
+ internal *arm.Client
}
// NewClientFactory creates a new instance of ClientFactory with the specified values.
@@ -27,132 +26,203 @@ type ClientFactory struct {
// - credential - used to authorize requests. Usually a credential from azidentity.
// - options - pass nil to accept the default values.
func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error) {
- _, err := arm.NewClient(moduleName, moduleVersion, credential, options)
+ internal, err := arm.NewClient(moduleName, moduleVersion, credential, options)
if err != nil {
return nil, err
}
return &ClientFactory{
- subscriptionID: subscriptionID, credential: credential,
- options: options.Clone(),
+ subscriptionID: subscriptionID,
+ internal: internal,
}, nil
}
// NewAccountsClient creates a new instance of AccountsClient.
func (c *ClientFactory) NewAccountsClient() *AccountsClient {
- subClient, _ := NewAccountsClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &AccountsClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewBlobContainersClient creates a new instance of BlobContainersClient.
func (c *ClientFactory) NewBlobContainersClient() *BlobContainersClient {
- subClient, _ := NewBlobContainersClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &BlobContainersClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewBlobInventoryPoliciesClient creates a new instance of BlobInventoryPoliciesClient.
func (c *ClientFactory) NewBlobInventoryPoliciesClient() *BlobInventoryPoliciesClient {
- subClient, _ := NewBlobInventoryPoliciesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &BlobInventoryPoliciesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewBlobServicesClient creates a new instance of BlobServicesClient.
func (c *ClientFactory) NewBlobServicesClient() *BlobServicesClient {
- subClient, _ := NewBlobServicesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &BlobServicesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewDeletedAccountsClient creates a new instance of DeletedAccountsClient.
func (c *ClientFactory) NewDeletedAccountsClient() *DeletedAccountsClient {
- subClient, _ := NewDeletedAccountsClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &DeletedAccountsClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewEncryptionScopesClient creates a new instance of EncryptionScopesClient.
func (c *ClientFactory) NewEncryptionScopesClient() *EncryptionScopesClient {
- subClient, _ := NewEncryptionScopesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &EncryptionScopesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewFileServicesClient creates a new instance of FileServicesClient.
func (c *ClientFactory) NewFileServicesClient() *FileServicesClient {
- subClient, _ := NewFileServicesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &FileServicesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewFileSharesClient creates a new instance of FileSharesClient.
func (c *ClientFactory) NewFileSharesClient() *FileSharesClient {
- subClient, _ := NewFileSharesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &FileSharesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewLocalUsersClient creates a new instance of LocalUsersClient.
func (c *ClientFactory) NewLocalUsersClient() *LocalUsersClient {
- subClient, _ := NewLocalUsersClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &LocalUsersClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewManagementPoliciesClient creates a new instance of ManagementPoliciesClient.
func (c *ClientFactory) NewManagementPoliciesClient() *ManagementPoliciesClient {
- subClient, _ := NewManagementPoliciesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &ManagementPoliciesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
+}
+
+// NewNetworkSecurityPerimeterConfigurationsClient creates a new instance of NetworkSecurityPerimeterConfigurationsClient.
+func (c *ClientFactory) NewNetworkSecurityPerimeterConfigurationsClient() *NetworkSecurityPerimeterConfigurationsClient {
+ return &NetworkSecurityPerimeterConfigurationsClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewObjectReplicationPoliciesClient creates a new instance of ObjectReplicationPoliciesClient.
func (c *ClientFactory) NewObjectReplicationPoliciesClient() *ObjectReplicationPoliciesClient {
- subClient, _ := NewObjectReplicationPoliciesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &ObjectReplicationPoliciesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewOperationsClient creates a new instance of OperationsClient.
func (c *ClientFactory) NewOperationsClient() *OperationsClient {
- subClient, _ := NewOperationsClient(c.credential, c.options)
- return subClient
+ return &OperationsClient{
+ internal: c.internal,
+ }
}
// NewPrivateEndpointConnectionsClient creates a new instance of PrivateEndpointConnectionsClient.
func (c *ClientFactory) NewPrivateEndpointConnectionsClient() *PrivateEndpointConnectionsClient {
- subClient, _ := NewPrivateEndpointConnectionsClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &PrivateEndpointConnectionsClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewPrivateLinkResourcesClient creates a new instance of PrivateLinkResourcesClient.
func (c *ClientFactory) NewPrivateLinkResourcesClient() *PrivateLinkResourcesClient {
- subClient, _ := NewPrivateLinkResourcesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &PrivateLinkResourcesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewQueueClient creates a new instance of QueueClient.
func (c *ClientFactory) NewQueueClient() *QueueClient {
- subClient, _ := NewQueueClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &QueueClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewQueueServicesClient creates a new instance of QueueServicesClient.
func (c *ClientFactory) NewQueueServicesClient() *QueueServicesClient {
- subClient, _ := NewQueueServicesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &QueueServicesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewSKUsClient creates a new instance of SKUsClient.
func (c *ClientFactory) NewSKUsClient() *SKUsClient {
- subClient, _ := NewSKUsClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &SKUsClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewTableClient creates a new instance of TableClient.
func (c *ClientFactory) NewTableClient() *TableClient {
- subClient, _ := NewTableClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &TableClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewTableServicesClient creates a new instance of TableServicesClient.
func (c *ClientFactory) NewTableServicesClient() *TableServicesClient {
- subClient, _ := NewTableServicesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &TableServicesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
+}
+
+// NewTaskAssignmentInstancesReportClient creates a new instance of TaskAssignmentInstancesReportClient.
+func (c *ClientFactory) NewTaskAssignmentInstancesReportClient() *TaskAssignmentInstancesReportClient {
+ return &TaskAssignmentInstancesReportClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
+}
+
+// NewTaskAssignmentsClient creates a new instance of TaskAssignmentsClient.
+func (c *ClientFactory) NewTaskAssignmentsClient() *TaskAssignmentsClient {
+ return &TaskAssignmentsClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
+}
+
+// NewTaskAssignmentsInstancesReportClient creates a new instance of TaskAssignmentsInstancesReportClient.
+func (c *ClientFactory) NewTaskAssignmentsInstancesReportClient() *TaskAssignmentsInstancesReportClient {
+ return &TaskAssignmentsInstancesReportClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
// NewUsagesClient creates a new instance of UsagesClient.
func (c *ClientFactory) NewUsagesClient() *UsagesClient {
- subClient, _ := NewUsagesClient(c.subscriptionID, c.credential, c.options)
- return subClient
+ return &UsagesClient{
+ subscriptionID: c.subscriptionID,
+ internal: c.internal,
+ }
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/constants.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/constants.go
index bfd1b531c8..48f5295768 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/constants.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/constants.go
@@ -10,7 +10,7 @@ package armstorage
const (
moduleName = "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage"
- moduleVersion = "v1.5.0"
+ moduleVersion = "v1.6.0"
)
// AccessTier - Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium'
@@ -19,6 +19,7 @@ const (
type AccessTier string
const (
+ AccessTierCold AccessTier = "Cold"
AccessTierCool AccessTier = "Cool"
AccessTierHot AccessTier = "Hot"
AccessTierPremium AccessTier = "Premium"
@@ -27,6 +28,7 @@ const (
// PossibleAccessTierValues returns the possible values for the AccessTier const type.
func PossibleAccessTierValues() []AccessTier {
return []AccessTier{
+ AccessTierCold,
AccessTierCool,
AccessTierHot,
AccessTierPremium,
@@ -331,16 +333,20 @@ func PossibleEncryptionScopeStateValues() []EncryptionScopeState {
}
}
-// ExpirationAction - The SAS expiration action. Can only be Log.
+// ExpirationAction - The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated.
+// The 'Log' action can be used for audit purposes and the 'Block' action can be used to block
+// and deny the usage of SAS tokens that do not adhere to the sas policy expiration period.
type ExpirationAction string
const (
- ExpirationActionLog ExpirationAction = "Log"
+ ExpirationActionBlock ExpirationAction = "Block"
+ ExpirationActionLog ExpirationAction = "Log"
)
// PossibleExpirationActionValues returns the possible values for the ExpirationAction const type.
func PossibleExpirationActionValues() []ExpirationAction {
return []ExpirationAction{
+ ExpirationActionBlock,
ExpirationActionLog,
}
}
@@ -481,6 +487,22 @@ func PossibleInventoryRuleTypeValues() []InventoryRuleType {
}
}
+// IssueType - Type of issue
+type IssueType string
+
+const (
+ IssueTypeConfigurationPropagationFailure IssueType = "ConfigurationPropagationFailure"
+ IssueTypeUnknown IssueType = "Unknown"
+)
+
+// PossibleIssueTypeValues returns the possible values for the IssueType const type.
+func PossibleIssueTypeValues() []IssueType {
+ return []IssueType{
+ IssueTypeConfigurationPropagationFailure,
+ IssueTypeUnknown,
+ }
+}
+
// KeyPermission - Permissions for the key -- read-only or full permissions.
type KeyPermission string
@@ -697,6 +719,19 @@ func PossibleListEncryptionScopesIncludeValues() []ListEncryptionScopesInclude {
}
}
+type ListLocalUserIncludeParam string
+
+const (
+ ListLocalUserIncludeParamNfsv3 ListLocalUserIncludeParam = "nfsv3"
+)
+
+// PossibleListLocalUserIncludeParamValues returns the possible values for the ListLocalUserIncludeParam const type.
+func PossibleListLocalUserIncludeParamValues() []ListLocalUserIncludeParam {
+ return []ListLocalUserIncludeParam{
+ ListLocalUserIncludeParamNfsv3,
+ }
+}
+
type ManagementPolicyName string
const (
@@ -769,6 +804,7 @@ const (
MinimumTLSVersionTLS10 MinimumTLSVersion = "TLS1_0"
MinimumTLSVersionTLS11 MinimumTLSVersion = "TLS1_1"
MinimumTLSVersionTLS12 MinimumTLSVersion = "TLS1_2"
+ MinimumTLSVersionTLS13 MinimumTLSVersion = "TLS1_3"
)
// PossibleMinimumTLSVersionValues returns the possible values for the MinimumTLSVersion const type.
@@ -777,6 +813,7 @@ func PossibleMinimumTLSVersionValues() []MinimumTLSVersion {
MinimumTLSVersionTLS10,
MinimumTLSVersionTLS11,
MinimumTLSVersionTLS12,
+ MinimumTLSVersionTLS13,
}
}
@@ -794,6 +831,45 @@ func PossibleNameValues() []Name {
}
}
+// NetworkSecurityPerimeterConfigurationProvisioningState - Provisioning state of Network Security Perimeter configuration
+// propagation
+type NetworkSecurityPerimeterConfigurationProvisioningState string
+
+const (
+ NetworkSecurityPerimeterConfigurationProvisioningStateAccepted NetworkSecurityPerimeterConfigurationProvisioningState = "Accepted"
+ NetworkSecurityPerimeterConfigurationProvisioningStateCanceled NetworkSecurityPerimeterConfigurationProvisioningState = "Canceled"
+ NetworkSecurityPerimeterConfigurationProvisioningStateDeleting NetworkSecurityPerimeterConfigurationProvisioningState = "Deleting"
+ NetworkSecurityPerimeterConfigurationProvisioningStateFailed NetworkSecurityPerimeterConfigurationProvisioningState = "Failed"
+ NetworkSecurityPerimeterConfigurationProvisioningStateSucceeded NetworkSecurityPerimeterConfigurationProvisioningState = "Succeeded"
+)
+
+// PossibleNetworkSecurityPerimeterConfigurationProvisioningStateValues returns the possible values for the NetworkSecurityPerimeterConfigurationProvisioningState const type.
+func PossibleNetworkSecurityPerimeterConfigurationProvisioningStateValues() []NetworkSecurityPerimeterConfigurationProvisioningState {
+ return []NetworkSecurityPerimeterConfigurationProvisioningState{
+ NetworkSecurityPerimeterConfigurationProvisioningStateAccepted,
+ NetworkSecurityPerimeterConfigurationProvisioningStateCanceled,
+ NetworkSecurityPerimeterConfigurationProvisioningStateDeleting,
+ NetworkSecurityPerimeterConfigurationProvisioningStateFailed,
+ NetworkSecurityPerimeterConfigurationProvisioningStateSucceeded,
+ }
+}
+
+// NspAccessRuleDirection - Direction of Access Rule
+type NspAccessRuleDirection string
+
+const (
+ NspAccessRuleDirectionInbound NspAccessRuleDirection = "Inbound"
+ NspAccessRuleDirectionOutbound NspAccessRuleDirection = "Outbound"
+)
+
+// PossibleNspAccessRuleDirectionValues returns the possible values for the NspAccessRuleDirection const type.
+func PossibleNspAccessRuleDirectionValues() []NspAccessRuleDirection {
+ return []NspAccessRuleDirection{
+ NspAccessRuleDirectionInbound,
+ NspAccessRuleDirectionOutbound,
+ }
+}
+
// ObjectType - This is a required field. This field specifies the scope of the inventory created either at the blob or container
// level.
type ObjectType string
@@ -918,17 +994,27 @@ func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointSer
type ProvisioningState string
const (
- ProvisioningStateCreating ProvisioningState = "Creating"
- ProvisioningStateResolvingDNS ProvisioningState = "ResolvingDNS"
- ProvisioningStateSucceeded ProvisioningState = "Succeeded"
+ ProvisioningStateCanceled ProvisioningState = "Canceled"
+ ProvisioningStateCreating ProvisioningState = "Creating"
+ ProvisioningStateDeleting ProvisioningState = "Deleting"
+ ProvisioningStateFailed ProvisioningState = "Failed"
+ ProvisioningStateResolvingDNS ProvisioningState = "ResolvingDNS"
+ ProvisioningStateSucceeded ProvisioningState = "Succeeded"
+ ProvisioningStateValidateSubscriptionQuotaBegin ProvisioningState = "ValidateSubscriptionQuotaBegin"
+ ProvisioningStateValidateSubscriptionQuotaEnd ProvisioningState = "ValidateSubscriptionQuotaEnd"
)
// PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func PossibleProvisioningStateValues() []ProvisioningState {
return []ProvisioningState{
+ ProvisioningStateCanceled,
ProvisioningStateCreating,
+ ProvisioningStateDeleting,
+ ProvisioningStateFailed,
ProvisioningStateResolvingDNS,
ProvisioningStateSucceeded,
+ ProvisioningStateValidateSubscriptionQuotaBegin,
+ ProvisioningStateValidateSubscriptionQuotaEnd,
}
}
@@ -950,13 +1036,15 @@ func PossiblePublicAccessValues() []PublicAccess {
}
}
-// PublicNetworkAccess - Allow or disallow public network access to Storage Account. Value is optional but if passed in, must
-// be 'Enabled' or 'Disabled'.
+// PublicNetworkAccess - Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access
+// to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or
+// 'SecuredByPerimeter'.
type PublicNetworkAccess string
const (
- PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
- PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
+ PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
+ PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
+ PublicNetworkAccessSecuredByPerimeter PublicNetworkAccess = "SecuredByPerimeter"
)
// PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.
@@ -964,6 +1052,7 @@ func PossiblePublicNetworkAccessValues() []PublicNetworkAccess {
return []PublicNetworkAccess{
PublicNetworkAccessDisabled,
PublicNetworkAccessEnabled,
+ PublicNetworkAccessSecuredByPerimeter,
}
}
@@ -1002,6 +1091,24 @@ func PossibleReasonCodeValues() []ReasonCode {
}
}
+// ResourceAssociationAccessMode - Access Mode of the resource association
+type ResourceAssociationAccessMode string
+
+const (
+ ResourceAssociationAccessModeAudit ResourceAssociationAccessMode = "Audit"
+ ResourceAssociationAccessModeEnforced ResourceAssociationAccessMode = "Enforced"
+ ResourceAssociationAccessModeLearning ResourceAssociationAccessMode = "Learning"
+)
+
+// PossibleResourceAssociationAccessModeValues returns the possible values for the ResourceAssociationAccessMode const type.
+func PossibleResourceAssociationAccessModeValues() []ResourceAssociationAccessMode {
+ return []ResourceAssociationAccessMode{
+ ResourceAssociationAccessModeAudit,
+ ResourceAssociationAccessModeEnforced,
+ ResourceAssociationAccessModeLearning,
+ }
+}
+
// RootSquashType - The property is for NFS share only. The default is NoRootSquash.
type RootSquashType string
@@ -1050,6 +1157,38 @@ func PossibleRuleTypeValues() []RuleType {
}
}
+// RunResult - Represents the overall result of the execution for the run instance
+type RunResult string
+
+const (
+ RunResultFailed RunResult = "Failed"
+ RunResultSucceeded RunResult = "Succeeded"
+)
+
+// PossibleRunResultValues returns the possible values for the RunResult const type.
+func PossibleRunResultValues() []RunResult {
+ return []RunResult{
+ RunResultFailed,
+ RunResultSucceeded,
+ }
+}
+
+// RunStatusEnum - Represents the status of the execution.
+type RunStatusEnum string
+
+const (
+ RunStatusEnumFinished RunStatusEnum = "Finished"
+ RunStatusEnumInProgress RunStatusEnum = "InProgress"
+)
+
+// PossibleRunStatusEnumValues returns the possible values for the RunStatusEnum const type.
+func PossibleRunStatusEnumValues() []RunStatusEnum {
+ return []RunStatusEnum{
+ RunStatusEnumFinished,
+ RunStatusEnumInProgress,
+ }
+}
+
// SKUConversionStatus - This property indicates the current sku conversion status.
type SKUConversionStatus string
@@ -1150,6 +1289,22 @@ func PossibleServicesValues() []Services {
}
}
+// Severity - Severity of the issue.
+type Severity string
+
+const (
+ SeverityError Severity = "Error"
+ SeverityWarning Severity = "Warning"
+)
+
+// PossibleSeverityValues returns the possible values for the Severity const type.
+func PossibleSeverityValues() []Severity {
+ return []Severity{
+ SeverityError,
+ SeverityWarning,
+ }
+}
+
// ShareAccessTier - Access tier for specific share. GpV2 account can choose between TransactionOptimized (default), Hot,
// and Cool. FileStorage account can choose Premium.
type ShareAccessTier string
@@ -1249,6 +1404,22 @@ func PossibleStorageAccountExpandValues() []StorageAccountExpand {
}
}
+// TriggerType - The trigger type of the storage task assignment execution
+type TriggerType string
+
+const (
+ TriggerTypeOnSchedule TriggerType = "OnSchedule"
+ TriggerTypeRunOnce TriggerType = "RunOnce"
+)
+
+// PossibleTriggerTypeValues returns the possible values for the TriggerType const type.
+func PossibleTriggerTypeValues() []TriggerType {
+ return []TriggerType{
+ TriggerTypeOnSchedule,
+ TriggerTypeRunOnce,
+ }
+}
+
// UsageUnit - Gets the unit of measurement.
type UsageUnit string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/deletedaccounts_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/deletedaccounts_client.go
index 438fc77ee9..6602acba4c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/deletedaccounts_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/deletedaccounts_client.go
@@ -46,7 +46,7 @@ func NewDeletedAccountsClient(subscriptionID string, credential azcore.TokenCred
// Get - Get properties of specified deleted account resource.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - deletedAccountName - Name of the deleted storage account.
// - location - The location of the deleted storage account.
// - options - DeletedAccountsClientGetOptions contains the optional parameters for the DeletedAccountsClient.Get method.
@@ -92,7 +92,7 @@ func (client *DeletedAccountsClient) getCreateRequest(ctx context.Context, delet
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -109,7 +109,7 @@ func (client *DeletedAccountsClient) getHandleResponse(resp *http.Response) (Del
// NewListPager - Lists deleted accounts under the subscription.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - options - DeletedAccountsClientListOptions contains the optional parameters for the DeletedAccountsClient.NewListPager
// method.
func (client *DeletedAccountsClient) NewListPager(options *DeletedAccountsClientListOptions) *runtime.Pager[DeletedAccountsClientListResponse] {
@@ -147,7 +147,7 @@ func (client *DeletedAccountsClient) listCreateRequest(ctx context.Context, opti
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/encryptionscopes_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/encryptionscopes_client.go
index 1aaa4eaf0c..d757bde916 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/encryptionscopes_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/encryptionscopes_client.go
@@ -47,7 +47,7 @@ func NewEncryptionScopesClient(subscriptionID string, credential azcore.TokenCre
// Get - Returns the properties for the specified encryption scope.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -101,7 +101,7 @@ func (client *EncryptionScopesClient) getCreateRequest(ctx context.Context, reso
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -118,7 +118,7 @@ func (client *EncryptionScopesClient) getHandleResponse(resp *http.Response) (En
// NewListPager - Lists all the encryption scopes available under the specified storage account.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -167,16 +167,16 @@ func (client *EncryptionScopesClient) listCreateRequest(ctx context.Context, res
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
- if options != nil && options.Maxpagesize != nil {
- reqQP.Set("$maxpagesize", strconv.FormatInt(int64(*options.Maxpagesize), 10))
- }
if options != nil && options.Filter != nil {
reqQP.Set("$filter", *options.Filter)
}
if options != nil && options.Include != nil {
reqQP.Set("$include", string(*options.Include))
}
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", strconv.FormatInt(int64(*options.Maxpagesize), 10))
+ }
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -195,7 +195,7 @@ func (client *EncryptionScopesClient) listHandleResponse(resp *http.Response) (E
// does not already exist.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -250,7 +250,7 @@ func (client *EncryptionScopesClient) patchCreateRequest(ctx context.Context, re
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, encryptionScope); err != nil {
@@ -273,7 +273,7 @@ func (client *EncryptionScopesClient) patchHandleResponse(resp *http.Response) (
// encryption scope properties will be updated per the specified request.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -328,7 +328,7 @@ func (client *EncryptionScopesClient) putCreateRequest(ctx context.Context, reso
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, encryptionScope); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileservices_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileservices_client.go
index 238ba98c86..c7d4dcc5ee 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileservices_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileservices_client.go
@@ -47,7 +47,7 @@ func NewFileServicesClient(subscriptionID string, credential azcore.TokenCredent
// Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -96,7 +96,7 @@ func (client *FileServicesClient) getServicePropertiesCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -114,7 +114,7 @@ func (client *FileServicesClient) getServicePropertiesHandleResponse(resp *http.
// List - List all file services in storage accounts
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -161,7 +161,7 @@ func (client *FileServicesClient) listCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -180,7 +180,7 @@ func (client *FileServicesClient) listHandleResponse(resp *http.Response) (FileS
// Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -230,7 +230,7 @@ func (client *FileServicesClient) setServicePropertiesCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileshares_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileshares_client.go
index df9e8df21b..16823750e3 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileshares_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/fileshares_client.go
@@ -48,7 +48,7 @@ func NewFileSharesClient(subscriptionID string, credential azcore.TokenCredentia
// the share.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -106,7 +106,7 @@ func (client *FileSharesClient) createCreateRequest(ctx context.Context, resourc
if options != nil && options.Expand != nil {
reqQP.Set("$expand", *options.Expand)
}
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, fileShare); err != nil {
@@ -127,7 +127,7 @@ func (client *FileSharesClient) createHandleResponse(resp *http.Response) (FileS
// Delete - Deletes specified share under its account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -180,22 +180,22 @@ func (client *FileSharesClient) deleteCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
if options != nil && options.Include != nil {
reqQP.Set("$include", *options.Include)
}
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.XMSSnapshot != nil {
req.Raw().Header["x-ms-snapshot"] = []string{*options.XMSSnapshot}
}
- req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
}
// Get - Gets properties of a specified share.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -249,15 +249,15 @@ func (client *FileSharesClient) getCreateRequest(ctx context.Context, resourceGr
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
if options != nil && options.Expand != nil {
reqQP.Set("$expand", *options.Expand)
}
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.XMSSnapshot != nil {
req.Raw().Header["x-ms-snapshot"] = []string{*options.XMSSnapshot}
}
- req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
}
@@ -274,7 +274,7 @@ func (client *FileSharesClient) getHandleResponse(resp *http.Response) (FileShar
// be 15 to 60 seconds, or can be infinite.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -328,12 +328,12 @@ func (client *FileSharesClient) leaseCreateRequest(ctx context.Context, resource
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.XMSSnapshot != nil {
req.Raw().Header["x-ms-snapshot"] = []string{*options.XMSSnapshot}
}
- req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.Parameters != nil {
if err := runtime.MarshalAsJSON(req, *options.Parameters); err != nil {
return nil, err
@@ -357,7 +357,7 @@ func (client *FileSharesClient) leaseHandleResponse(resp *http.Response) (FileSh
// NewListPager - Lists all shares.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -405,16 +405,16 @@ func (client *FileSharesClient) listCreateRequest(ctx context.Context, resourceG
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
- if options != nil && options.Maxpagesize != nil {
- reqQP.Set("$maxpagesize", *options.Maxpagesize)
+ if options != nil && options.Expand != nil {
+ reqQP.Set("$expand", *options.Expand)
}
if options != nil && options.Filter != nil {
reqQP.Set("$filter", *options.Filter)
}
- if options != nil && options.Expand != nil {
- reqQP.Set("$expand", *options.Expand)
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", *options.Maxpagesize)
}
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -432,7 +432,7 @@ func (client *FileSharesClient) listHandleResponse(resp *http.Response) (FileSha
// Restore - Restore a file share within a valid retention days if share soft delete is enabled
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -485,7 +485,7 @@ func (client *FileSharesClient) restoreCreateRequest(ctx context.Context, resour
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, deletedShare); err != nil {
@@ -498,7 +498,7 @@ func (client *FileSharesClient) restoreCreateRequest(ctx context.Context, resour
// Update fails if the specified share does not already exist.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -553,7 +553,7 @@ func (client *FileSharesClient) updateCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, fileShare); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/localusers_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/localusers_client.go
index 614a876e45..00586070b4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/localusers_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/localusers_client.go
@@ -17,6 +17,7 @@ import (
"github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
"net/http"
"net/url"
+ "strconv"
"strings"
)
@@ -43,10 +44,11 @@ func NewLocalUsersClient(subscriptionID string, credential azcore.TokenCredentia
return client, nil
}
-// CreateOrUpdate - Create or update the properties of a local user associated with the storage account
+// CreateOrUpdate - Create or update the properties of a local user associated with the storage account. Properties for NFSv3
+// enablement and extended groups cannot be set with other properties.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -101,7 +103,7 @@ func (client *LocalUsersClient) createOrUpdateCreateRequest(ctx context.Context,
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, properties); err != nil {
@@ -122,7 +124,7 @@ func (client *LocalUsersClient) createOrUpdateHandleResponse(resp *http.Response
// Delete - Deletes the local user associated with the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -174,7 +176,7 @@ func (client *LocalUsersClient) deleteCreateRequest(ctx context.Context, resourc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -183,7 +185,7 @@ func (client *LocalUsersClient) deleteCreateRequest(ctx context.Context, resourc
// Get - Get the local user of the storage account by username.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -236,7 +238,7 @@ func (client *LocalUsersClient) getCreateRequest(ctx context.Context, resourceGr
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -253,7 +255,7 @@ func (client *LocalUsersClient) getHandleResponse(resp *http.Response) (LocalUse
// NewListPager - List the local users associated with the storage account.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -302,7 +304,16 @@ func (client *LocalUsersClient) listCreateRequest(ctx context.Context, resourceG
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ if options != nil && options.Filter != nil {
+ reqQP.Set("$filter", *options.Filter)
+ }
+ if options != nil && options.Include != nil {
+ reqQP.Set("$include", string(*options.Include))
+ }
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", strconv.FormatInt(int64(*options.Maxpagesize), 10))
+ }
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -320,7 +331,7 @@ func (client *LocalUsersClient) listHandleResponse(resp *http.Response) (LocalUs
// ListKeys - List SSH authorized keys and shared key of the local user.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -373,7 +384,7 @@ func (client *LocalUsersClient) listKeysCreateRequest(ctx context.Context, resou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -391,7 +402,7 @@ func (client *LocalUsersClient) listKeysHandleResponse(resp *http.Response) (Loc
// RegeneratePassword - Regenerate the local user SSH password.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -445,7 +456,7 @@ func (client *LocalUsersClient) regeneratePasswordCreateRequest(ctx context.Cont
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/managementpolicies_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/managementpolicies_client.go
index 4f3f96365a..0c81745400 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/managementpolicies_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/managementpolicies_client.go
@@ -46,7 +46,7 @@ func NewManagementPoliciesClient(subscriptionID string, credential azcore.TokenC
// CreateOrUpdate - Sets the managementpolicy to the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -100,7 +100,7 @@ func (client *ManagementPoliciesClient) createOrUpdateCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, properties); err != nil {
@@ -121,7 +121,7 @@ func (client *ManagementPoliciesClient) createOrUpdateHandleResponse(resp *http.
// Delete - Deletes the managementpolicy associated with the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -173,7 +173,7 @@ func (client *ManagementPoliciesClient) deleteCreateRequest(ctx context.Context,
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
return req, nil
}
@@ -181,7 +181,7 @@ func (client *ManagementPoliciesClient) deleteCreateRequest(ctx context.Context,
// Get - Gets the managementpolicy associated with the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -233,7 +233,7 @@ func (client *ManagementPoliciesClient) getCreateRequest(ctx context.Context, re
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models.go
index 3a9b23aabe..a893299da6 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models.go
@@ -243,6 +243,9 @@ type AccountProperties struct {
// for this property.
DefaultToOAuthAuthentication *bool
+ // Enables extended group support with local users feature, if set to true
+ EnableExtendedGroups *bool
+
// Allows https traffic only to storage service if sets to true.
EnableHTTPSTrafficOnly *bool
@@ -268,7 +271,7 @@ type AccountProperties struct {
// Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property.
MinimumTLSVersion *MinimumTLSVersion
- // Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
+ // Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.
PublicNetworkAccess *PublicNetworkAccess
// Maintains information about the network routing choice opted by the user for data transfer
@@ -393,6 +396,9 @@ type AccountPropertiesCreateParameters struct {
// for this property.
DefaultToOAuthAuthentication *bool
+ // Enables extended group support with local users feature, if set to true
+ EnableExtendedGroups *bool
+
// Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.
EnableHTTPSTrafficOnly *bool
@@ -427,7 +433,9 @@ type AccountPropertiesCreateParameters struct {
// Network rule set
NetworkRuleSet *NetworkRuleSet
- // Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
+ // Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.
+ // Value is optional but if passed in, must be 'Enabled', 'Disabled' or
+ // 'SecuredByPerimeter'.
PublicNetworkAccess *PublicNetworkAccess
// Maintains information about the network routing choice opted by the user for data transfer
@@ -478,6 +486,9 @@ type AccountPropertiesUpdateParameters struct {
// for this property.
DefaultToOAuthAuthentication *bool
+ // Enables extended group support with local users feature, if set to true
+ EnableExtendedGroups *bool
+
// Allows https traffic only to storage service if sets to true.
EnableHTTPSTrafficOnly *bool
@@ -506,7 +517,9 @@ type AccountPropertiesUpdateParameters struct {
// Network rule set
NetworkRuleSet *NetworkRuleSet
- // Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
+ // Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account.
+ // Value is optional but if passed in, must be 'Enabled', 'Disabled' or
+ // 'SecuredByPerimeter'.
PublicNetworkAccess *PublicNetworkAccess
// Maintains information about the network routing choice opted by the user for data transfer
@@ -1320,6 +1333,35 @@ type ErrorResponseBody struct {
Message *string
}
+// ExecutionTarget - Target helps provide filter parameters for the objects in the storage account and forms the execution
+// context for the storage task
+type ExecutionTarget struct {
+ // List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes,
+ // the exclude prefix will be the determining factor
+ ExcludePrefix []*string
+
+ // Required list of object prefixes to be included for task execution
+ Prefix []*string
+}
+
+// ExecutionTrigger - Execution trigger for storage task assignment
+type ExecutionTrigger struct {
+ // REQUIRED; The trigger parameters of the storage task assignment execution
+ Parameters *TriggerParameters
+
+ // REQUIRED; The trigger type of the storage task assignment execution
+ Type *TriggerType
+}
+
+// ExecutionTriggerUpdate - Execution trigger update for storage task assignment
+type ExecutionTriggerUpdate struct {
+ // The trigger parameters of the storage task assignment execution
+ Parameters *TriggerParametersUpdate
+
+ // The trigger type of the storage task assignment execution
+ Type *TriggerType
+}
+
// ExtendedLocation - The complex type of the extended location.
type ExtendedLocation struct {
// The name of the extended location.
@@ -1865,6 +1907,15 @@ type LocalUserKeys struct {
// LocalUserProperties - The Storage Account Local User properties.
type LocalUserProperties struct {
+ // Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization.
+ AllowACLAuthorization *bool
+
+ // Supplementary group membership. Only applicable for local users enabled for NFSv3 access.
+ ExtendedGroups []*int32
+
+ // An identifier for associating a group of users.
+ GroupID *int32
+
// Indicates whether ssh key exists. Set it to false to remove existing SSH key.
HasSSHKey *bool
@@ -1877,6 +1928,9 @@ type LocalUserProperties struct {
// Optional, local user home directory.
HomeDirectory *string
+ // Indicates if the local user is enabled for access with NFSv3 protocol.
+ IsNFSv3Enabled *bool
+
// The permission scopes of the local user.
PermissionScopes []*PermissionScope
@@ -1885,6 +1939,9 @@ type LocalUserProperties struct {
// READ-ONLY; A unique Security Identifier that is generated by the server.
Sid *string
+
+ // READ-ONLY; A unique Identifier that is generated by the server.
+ UserID *int32
}
// LocalUserRegeneratePasswordResult - The secrets of Storage Account Local User.
@@ -1894,10 +1951,14 @@ type LocalUserRegeneratePasswordResult struct {
SSHPassword *string
}
-// LocalUsers - List storage account local users.
+// LocalUsers - List of local users requested, and if paging is required, a URL to the next page of local users.
type LocalUsers struct {
- // The local users associated with the storage account.
+ // The list of local users associated with the storage account.
Value []*LocalUser
+
+ // READ-ONLY; Request URL that can be used to query next page of local users. Returned when total number of requested local
+ // users exceeds the maximum page size.
+ NextLink *string
}
// ManagementPolicy - The Get Storage Account ManagementPolicies operation response.
@@ -2095,6 +2156,123 @@ type NetworkRuleSet struct {
VirtualNetworkRules []*VirtualNetworkRule
}
+// NetworkSecurityPerimeter related information
+type NetworkSecurityPerimeter struct {
+ // The ARM identifier of the resource
+ ID *string
+
+ // Location of the resource
+ Location *string
+
+ // Guid of the resource
+ PerimeterGUID *string
+}
+
+// NetworkSecurityPerimeterConfiguration - The Network Security Perimeter configuration resource.
+type NetworkSecurityPerimeterConfiguration struct {
+ // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ ID *string
+
+ // READ-ONLY; The name of the resource
+ Name *string
+
+ // READ-ONLY; Properties of the Network Security Perimeter Configuration
+ Properties *NetworkSecurityPerimeterConfigurationProperties
+
+ // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData
+
+ // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string
+}
+
+// NetworkSecurityPerimeterConfigurationList - Result of the List Network Security Perimeter configuration operation.
+type NetworkSecurityPerimeterConfigurationList struct {
+ // The URI that can be used to request the next set of paged results.
+ NextLink *string
+
+ // READ-ONLY; A collection of Network Security Perimeter configurations
+ Value []*NetworkSecurityPerimeterConfiguration
+}
+
+// NetworkSecurityPerimeterConfigurationProperties - Properties of the Network Security Perimeter Configuration
+type NetworkSecurityPerimeterConfigurationProperties struct {
+ // READ-ONLY; NetworkSecurityPerimeter related information
+ NetworkSecurityPerimeter *NetworkSecurityPerimeter
+
+ // READ-ONLY; Network Security Perimeter profile
+ Profile *NetworkSecurityPerimeterConfigurationPropertiesProfile
+
+ // READ-ONLY; List of Provisioning Issues if any
+ ProvisioningIssues []*ProvisioningIssue
+
+ // READ-ONLY; Provisioning state of Network Security Perimeter configuration propagation
+ ProvisioningState *NetworkSecurityPerimeterConfigurationProvisioningState
+
+ // READ-ONLY; Information about resource association
+ ResourceAssociation *NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation
+}
+
+// NetworkSecurityPerimeterConfigurationPropertiesProfile - Network Security Perimeter profile
+type NetworkSecurityPerimeterConfigurationPropertiesProfile struct {
+ // List of Access Rules
+ AccessRules []*NspAccessRule
+
+ // Current access rules version
+ AccessRulesVersion *float32
+
+ // Diagnostic settings version
+ DiagnosticSettingsVersion *float32
+
+ // Enabled logging categories
+ EnabledLogCategories []*string
+
+ // Name of the resource
+ Name *string
+}
+
+// NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation - Information about resource association
+type NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation struct {
+ // Access Mode of the resource association
+ AccessMode *ResourceAssociationAccessMode
+
+ // Name of the resource association
+ Name *string
+}
+
+// NspAccessRule - Information of Access Rule in Network Security Perimeter profile
+type NspAccessRule struct {
+ // Name of the resource
+ Name *string
+
+ // READ-ONLY; Properties of Access Rule
+ Properties *NspAccessRuleProperties
+}
+
+// NspAccessRuleProperties - Properties of Access Rule
+type NspAccessRuleProperties struct {
+ // Address prefixes in the CIDR format for inbound rules
+ AddressPrefixes []*string
+
+ // Direction of Access Rule
+ Direction *NspAccessRuleDirection
+
+ // Subscriptions for inbound rules
+ Subscriptions []*NspAccessRulePropertiesSubscriptionsItem
+
+ // READ-ONLY; FQDN for outbound rules
+ FullyQualifiedDomainNames []*string
+
+ // READ-ONLY; NetworkSecurityPerimeters for inbound rules
+ NetworkSecurityPerimeters []*NetworkSecurityPerimeter
+}
+
+// NspAccessRulePropertiesSubscriptionsItem - Subscription for inbound rule
+type NspAccessRulePropertiesSubscriptionsItem struct {
+ // The ARM identifier of subscription
+ ID *string
+}
+
// ObjectReplicationPolicies - List storage account object replication policies.
type ObjectReplicationPolicies struct {
// The replication policy between two storage accounts.
@@ -2205,8 +2383,8 @@ type OperationProperties struct {
}
type PermissionScope struct {
- // REQUIRED; The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), and Create
- // (c).
+ // REQUIRED; The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create
+ // (c), Modify Ownership (o), and Modify Permissions (p).
Permissions *string
// REQUIRED; The name of resource, normally the container name or the file share name, used by the local user.
@@ -2318,6 +2496,27 @@ type ProtocolSettings struct {
Smb *SmbSetting
}
+// ProvisioningIssue - Describes provisioning issue for given NetworkSecurityPerimeterConfiguration
+type ProvisioningIssue struct {
+ // Name of the issue
+ Name *string
+
+ // READ-ONLY; Properties of provisioning issue
+ Properties *ProvisioningIssueProperties
+}
+
+// ProvisioningIssueProperties - Properties of provisioning issue
+type ProvisioningIssueProperties struct {
+ // Description of the issue
+ Description *string
+
+ // Type of issue
+ IssueType *IssueType
+
+ // Severity of the issue.
+ Severity *Severity
+}
+
// ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a
// location
type ProxyResource struct {
@@ -2331,6 +2530,22 @@ type ProxyResource struct {
Type *string
}
+// ProxyResourceAutoGenerated - The resource model definition for a Azure Resource Manager proxy resource. It will not have
+// tags and a location
+type ProxyResourceAutoGenerated struct {
+ // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ ID *string
+
+ // READ-ONLY; The name of the resource
+ Name *string
+
+ // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData
+
+ // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string
+}
+
type Queue struct {
// Queue resource properties.
QueueProperties *QueueProperties
@@ -2398,6 +2613,21 @@ type ResourceAccessRule struct {
TenantID *string
}
+// ResourceAutoGenerated - Common fields that are returned in the response for all Azure Resource Manager resources
+type ResourceAutoGenerated struct {
+ // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ ID *string
+
+ // READ-ONLY; The name of the resource
+ Name *string
+
+ // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData
+
+ // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string
+}
+
// RestorePolicyProperties - The blob service properties for blob restore policy
type RestorePolicyProperties struct {
// REQUIRED; Blob restore is enabled if set to true.
@@ -2505,7 +2735,9 @@ type SSHPublicKey struct {
// SasPolicy assigned to the storage account.
type SasPolicy struct {
- // REQUIRED; The SAS expiration action. Can only be Log.
+ // REQUIRED; The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated.
+ // The 'Log' action can be used for audit purposes and the 'Block' action can be used to block
+ // and deny the usage of SAS tokens that do not adhere to the sas policy expiration period.
ExpirationAction *ExpirationAction
// REQUIRED; The SAS expiration period, DD.HH:MM:SS.
@@ -2727,6 +2959,198 @@ type TagProperty struct {
Upn *string
}
+// TaskAssignment - The storage task assignment.
+type TaskAssignment struct {
+ // REQUIRED; Properties of the storage task assignment.
+ Properties *TaskAssignmentProperties
+
+ // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ ID *string
+
+ // READ-ONLY; The name of the resource
+ Name *string
+
+ // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string
+}
+
+// TaskAssignmentExecutionContext - Execution context of the storage task assignment.
+type TaskAssignmentExecutionContext struct {
+ // REQUIRED; Execution trigger of the storage task assignment
+ Trigger *ExecutionTrigger
+
+ // Execution target of the storage task assignment
+ Target *ExecutionTarget
+}
+
+// TaskAssignmentProperties - Properties of the storage task assignment.
+type TaskAssignmentProperties struct {
+ // REQUIRED; Text that describes the purpose of the storage task assignment
+ Description *string
+
+ // REQUIRED; Whether the storage task assignment is enabled or not
+ Enabled *bool
+
+ // REQUIRED; The storage task assignment execution context
+ ExecutionContext *TaskAssignmentExecutionContext
+
+ // REQUIRED; The storage task assignment report
+ Report *TaskAssignmentReport
+
+ // REQUIRED; Id of the corresponding storage task
+ TaskID *string
+
+ // Run status of storage task assignment
+ RunStatus *TaskReportProperties
+
+ // READ-ONLY; Represents the provisioning state of the storage task assignment.
+ ProvisioningState *ProvisioningState
+}
+
+// TaskAssignmentReport - The storage task assignment report
+type TaskAssignmentReport struct {
+ // REQUIRED; The container prefix for the location of storage task assignment report
+ Prefix *string
+}
+
+// TaskAssignmentUpdateExecutionContext - Execution context of the storage task assignment update.
+type TaskAssignmentUpdateExecutionContext struct {
+ // Execution target of the storage task assignment
+ Target *ExecutionTarget
+
+ // Execution trigger of the storage task assignment
+ Trigger *ExecutionTriggerUpdate
+}
+
+// TaskAssignmentUpdateParameters - Parameters of the storage task assignment update request
+type TaskAssignmentUpdateParameters struct {
+ // Properties of the storage task assignment.
+ Properties *TaskAssignmentUpdateProperties
+}
+
+// TaskAssignmentUpdateProperties - Properties of the storage task update assignment.
+type TaskAssignmentUpdateProperties struct {
+ // Text that describes the purpose of the storage task assignment
+ Description *string
+
+ // Whether the storage task assignment is enabled or not
+ Enabled *bool
+
+ // The storage task assignment execution context
+ ExecutionContext *TaskAssignmentUpdateExecutionContext
+
+ // The storage task assignment report
+ Report *TaskAssignmentUpdateReport
+
+ // Run status of storage task assignment
+ RunStatus *TaskReportProperties
+
+ // READ-ONLY; Represents the provisioning state of the storage task assignment.
+ ProvisioningState *ProvisioningState
+
+ // READ-ONLY; Id of the corresponding storage task
+ TaskID *string
+}
+
+// TaskAssignmentUpdateReport - The storage task assignment report
+type TaskAssignmentUpdateReport struct {
+ // The prefix of the storage task assignment report
+ Prefix *string
+}
+
+// TaskAssignmentsList - List of storage task assignments for the storage account
+type TaskAssignmentsList struct {
+ // READ-ONLY; Request URL that can be used to query next page of storage task assignments. Returned when total number of requested
+ // storage task assignments exceed maximum page size.
+ NextLink *string
+
+ // READ-ONLY; Gets the list of storage task assignments and their properties.
+ Value []*TaskAssignment
+}
+
+// TaskReportInstance - Storage Tasks run report instance
+type TaskReportInstance struct {
+ // Storage task execution report for a run instance.
+ Properties *TaskReportProperties
+
+ // READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ ID *string
+
+ // READ-ONLY; The name of the resource
+ Name *string
+
+ // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string
+}
+
+// TaskReportProperties - Storage task execution report for a run instance.
+type TaskReportProperties struct {
+ // READ-ONLY; End time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other comparison
+ // operators can be used as described for DateTime properties in
+ // https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators
+ FinishTime *string
+
+ // READ-ONLY; Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount
+ // eq 0 and other comparison operators can be used as described for Numerical properties
+ // in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators
+ ObjectFailedCount *string
+
+ // READ-ONLY; Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as
+ // objectsOperatedOnCount ge 100 and other comparison operators can be used as described for
+ // Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators
+ ObjectsOperatedOnCount *string
+
+ // READ-ONLY; Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount
+ // gt 150 and other comparison operators can be used as described for Numerical
+ // properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators
+ ObjectsSucceededCount *string
+
+ // READ-ONLY; Total number of objects that meet the condition as defined in the storage task assignment execution context.
+ // Filter options such as objectsTargetedCount gt 50 and other comparison operators can be
+ // used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators
+ ObjectsTargetedCount *string
+
+ // READ-ONLY; Represents the overall result of the execution for the run instance
+ RunResult *RunResult
+
+ // READ-ONLY; Represents the status of the execution.
+ RunStatusEnum *RunStatusEnum
+
+ // READ-ONLY; Well known Azure Storage error code that represents the error encountered during execution of the run instance.
+ RunStatusError *string
+
+ // READ-ONLY; Start time of the run instance. Filter options such as startTime gt '2023-06-26T20:51:24.4494016Z' and other
+ // comparison operators can be used as described for DateTime properties in
+ // https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators
+ StartTime *string
+
+ // READ-ONLY; Represents the Storage Account Id where the storage task definition was applied and executed.
+ StorageAccountID *string
+
+ // READ-ONLY; Full path to the verbose report stored in the reporting container as specified in the assignment execution context
+ // for the storage account.
+ SummaryReportPath *string
+
+ // READ-ONLY; Represents the Storage Task Assignment Id associated with the storage task that provided an execution context.
+ TaskAssignmentID *string
+
+ // READ-ONLY; Storage Task Arm Id.
+ TaskID *string
+
+ // READ-ONLY; Storage Task Version
+ TaskVersion *string
+}
+
+// TaskReportSummary - Fetch Storage Tasks Run Summary.
+type TaskReportSummary struct {
+ // READ-ONLY; Request URL that can be used to query next page of storage task run results summary. Returned when the number
+ // of run instances and summary reports exceed maximum page size.
+ NextLink *string
+
+ // READ-ONLY; Gets storage tasks run result summary.
+ Value []*TaskReportInstance
+}
+
// TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags'
// and a 'location'
type TrackedResource struct {
@@ -2746,6 +3170,54 @@ type TrackedResource struct {
Type *string
}
+// TriggerParameters - The trigger parameters update for the storage task assignment execution
+type TriggerParameters struct {
+ // When to end task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'RunOnce'
+ EndBy *time.Time
+
+ // Run interval of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'RunOnce'
+ Interval *int32
+
+ // Run interval unit of task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this
+ // property should not be present when ExecutionTrigger.properties.type is
+ // 'RunOnce'
+ IntervalUnit *string
+
+ // When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'OnSchedule'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'RunOnce'
+ StartFrom *time.Time
+
+ // When to start task execution. This is an optional field when ExecutionTrigger.properties.type is 'RunOnce'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'OnSchedule'
+ StartOn *time.Time
+}
+
+// TriggerParametersUpdate - The trigger parameters update for the storage task assignment execution
+type TriggerParametersUpdate struct {
+ // When to end task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'RunOnce'
+ EndBy *time.Time
+
+ // Run interval of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'RunOnce'
+ Interval *int32
+
+ // Run interval unit of task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this
+ // property should not be present when ExecutionTrigger.properties.type is
+ // 'RunOnce'
+ IntervalUnit *string
+
+ // When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'OnSchedule'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'RunOnce'
+ StartFrom *time.Time
+
+ // When to start task execution. This is a mutable field when ExecutionTrigger.properties.type is 'RunOnce'; this property
+ // should not be present when ExecutionTrigger.properties.type is 'OnSchedule'
+ StartOn *time.Time
+}
+
// UpdateHistoryProperty - An update history of the ImmutabilityPolicy of a blob container.
type UpdateHistoryProperty struct {
// This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models_serde.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models_serde.go
index 0c96a09021..ac6d6f1801 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models_serde.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/models_serde.go
@@ -506,6 +506,7 @@ func (a AccountProperties) MarshalJSON() ([]byte, error) {
populate(objectMap, "customDomain", a.CustomDomain)
populate(objectMap, "dnsEndpointType", a.DNSEndpointType)
populate(objectMap, "defaultToOAuthAuthentication", a.DefaultToOAuthAuthentication)
+ populate(objectMap, "enableExtendedGroups", a.EnableExtendedGroups)
populate(objectMap, "supportsHttpsTrafficOnly", a.EnableHTTPSTrafficOnly)
populate(objectMap, "isNfsV3Enabled", a.EnableNfsV3)
populate(objectMap, "encryption", a.Encryption)
@@ -582,6 +583,9 @@ func (a *AccountProperties) UnmarshalJSON(data []byte) error {
case "defaultToOAuthAuthentication":
err = unpopulate(val, "DefaultToOAuthAuthentication", &a.DefaultToOAuthAuthentication)
delete(rawMsg, key)
+ case "enableExtendedGroups":
+ err = unpopulate(val, "EnableExtendedGroups", &a.EnableExtendedGroups)
+ delete(rawMsg, key)
case "supportsHttpsTrafficOnly":
err = unpopulate(val, "EnableHTTPSTrafficOnly", &a.EnableHTTPSTrafficOnly)
delete(rawMsg, key)
@@ -686,6 +690,7 @@ func (a AccountPropertiesCreateParameters) MarshalJSON() ([]byte, error) {
populate(objectMap, "customDomain", a.CustomDomain)
populate(objectMap, "dnsEndpointType", a.DNSEndpointType)
populate(objectMap, "defaultToOAuthAuthentication", a.DefaultToOAuthAuthentication)
+ populate(objectMap, "enableExtendedGroups", a.EnableExtendedGroups)
populate(objectMap, "supportsHttpsTrafficOnly", a.EnableHTTPSTrafficOnly)
populate(objectMap, "isNfsV3Enabled", a.EnableNfsV3)
populate(objectMap, "encryption", a.Encryption)
@@ -739,6 +744,9 @@ func (a *AccountPropertiesCreateParameters) UnmarshalJSON(data []byte) error {
case "defaultToOAuthAuthentication":
err = unpopulate(val, "DefaultToOAuthAuthentication", &a.DefaultToOAuthAuthentication)
delete(rawMsg, key)
+ case "enableExtendedGroups":
+ err = unpopulate(val, "EnableExtendedGroups", &a.EnableExtendedGroups)
+ delete(rawMsg, key)
case "supportsHttpsTrafficOnly":
err = unpopulate(val, "EnableHTTPSTrafficOnly", &a.EnableHTTPSTrafficOnly)
delete(rawMsg, key)
@@ -801,6 +809,7 @@ func (a AccountPropertiesUpdateParameters) MarshalJSON() ([]byte, error) {
populate(objectMap, "customDomain", a.CustomDomain)
populate(objectMap, "dnsEndpointType", a.DNSEndpointType)
populate(objectMap, "defaultToOAuthAuthentication", a.DefaultToOAuthAuthentication)
+ populate(objectMap, "enableExtendedGroups", a.EnableExtendedGroups)
populate(objectMap, "supportsHttpsTrafficOnly", a.EnableHTTPSTrafficOnly)
populate(objectMap, "encryption", a.Encryption)
populate(objectMap, "immutableStorageWithVersioning", a.ImmutableStorageWithVersioning)
@@ -852,6 +861,9 @@ func (a *AccountPropertiesUpdateParameters) UnmarshalJSON(data []byte) error {
case "defaultToOAuthAuthentication":
err = unpopulate(val, "DefaultToOAuthAuthentication", &a.DefaultToOAuthAuthentication)
delete(rawMsg, key)
+ case "enableExtendedGroups":
+ err = unpopulate(val, "EnableExtendedGroups", &a.EnableExtendedGroups)
+ delete(rawMsg, key)
case "supportsHttpsTrafficOnly":
err = unpopulate(val, "EnableHTTPSTrafficOnly", &a.EnableHTTPSTrafficOnly)
delete(rawMsg, key)
@@ -2795,6 +2807,99 @@ func (e *ErrorResponseBody) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type ExecutionTarget.
+func (e ExecutionTarget) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "excludePrefix", e.ExcludePrefix)
+ populate(objectMap, "prefix", e.Prefix)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ExecutionTarget.
+func (e *ExecutionTarget) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", e, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "excludePrefix":
+ err = unpopulate(val, "ExcludePrefix", &e.ExcludePrefix)
+ delete(rawMsg, key)
+ case "prefix":
+ err = unpopulate(val, "Prefix", &e.Prefix)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", e, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type ExecutionTrigger.
+func (e ExecutionTrigger) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "parameters", e.Parameters)
+ populate(objectMap, "type", e.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ExecutionTrigger.
+func (e *ExecutionTrigger) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", e, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "parameters":
+ err = unpopulate(val, "Parameters", &e.Parameters)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &e.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", e, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type ExecutionTriggerUpdate.
+func (e ExecutionTriggerUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "parameters", e.Parameters)
+ populate(objectMap, "type", e.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ExecutionTriggerUpdate.
+func (e *ExecutionTriggerUpdate) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", e, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "parameters":
+ err = unpopulate(val, "Parameters", &e.Parameters)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &e.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", e, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type ExtendedLocation.
func (e ExtendedLocation) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -4219,13 +4324,18 @@ func (l *LocalUserKeys) UnmarshalJSON(data []byte) error {
// MarshalJSON implements the json.Marshaller interface for type LocalUserProperties.
func (l LocalUserProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
+ populate(objectMap, "allowAclAuthorization", l.AllowACLAuthorization)
+ populate(objectMap, "extendedGroups", l.ExtendedGroups)
+ populate(objectMap, "groupId", l.GroupID)
populate(objectMap, "hasSshKey", l.HasSSHKey)
populate(objectMap, "hasSshPassword", l.HasSSHPassword)
populate(objectMap, "hasSharedKey", l.HasSharedKey)
populate(objectMap, "homeDirectory", l.HomeDirectory)
+ populate(objectMap, "isNFSv3Enabled", l.IsNFSv3Enabled)
populate(objectMap, "permissionScopes", l.PermissionScopes)
populate(objectMap, "sshAuthorizedKeys", l.SSHAuthorizedKeys)
populate(objectMap, "sid", l.Sid)
+ populate(objectMap, "userId", l.UserID)
return json.Marshal(objectMap)
}
@@ -4238,6 +4348,15 @@ func (l *LocalUserProperties) UnmarshalJSON(data []byte) error {
for key, val := range rawMsg {
var err error
switch key {
+ case "allowAclAuthorization":
+ err = unpopulate(val, "AllowACLAuthorization", &l.AllowACLAuthorization)
+ delete(rawMsg, key)
+ case "extendedGroups":
+ err = unpopulate(val, "ExtendedGroups", &l.ExtendedGroups)
+ delete(rawMsg, key)
+ case "groupId":
+ err = unpopulate(val, "GroupID", &l.GroupID)
+ delete(rawMsg, key)
case "hasSshKey":
err = unpopulate(val, "HasSSHKey", &l.HasSSHKey)
delete(rawMsg, key)
@@ -4250,6 +4369,9 @@ func (l *LocalUserProperties) UnmarshalJSON(data []byte) error {
case "homeDirectory":
err = unpopulate(val, "HomeDirectory", &l.HomeDirectory)
delete(rawMsg, key)
+ case "isNFSv3Enabled":
+ err = unpopulate(val, "IsNFSv3Enabled", &l.IsNFSv3Enabled)
+ delete(rawMsg, key)
case "permissionScopes":
err = unpopulate(val, "PermissionScopes", &l.PermissionScopes)
delete(rawMsg, key)
@@ -4259,6 +4381,9 @@ func (l *LocalUserProperties) UnmarshalJSON(data []byte) error {
case "sid":
err = unpopulate(val, "Sid", &l.Sid)
delete(rawMsg, key)
+ case "userId":
+ err = unpopulate(val, "UserID", &l.UserID)
+ delete(rawMsg, key)
}
if err != nil {
return fmt.Errorf("unmarshalling type %T: %v", l, err)
@@ -4297,6 +4422,7 @@ func (l *LocalUserRegeneratePasswordResult) UnmarshalJSON(data []byte) error {
// MarshalJSON implements the json.Marshaller interface for type LocalUsers.
func (l LocalUsers) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
+ populate(objectMap, "nextLink", l.NextLink)
populate(objectMap, "value", l.Value)
return json.Marshal(objectMap)
}
@@ -4310,6 +4436,9 @@ func (l *LocalUsers) UnmarshalJSON(data []byte) error {
for key, val := range rawMsg {
var err error
switch key {
+ case "nextLink":
+ err = unpopulate(val, "NextLink", &l.NextLink)
+ delete(rawMsg, key)
case "value":
err = unpopulate(val, "Value", &l.Value)
delete(rawMsg, key)
@@ -4820,6 +4949,333 @@ func (n *NetworkRuleSet) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type NetworkSecurityPerimeter.
+func (n NetworkSecurityPerimeter) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", n.ID)
+ populate(objectMap, "location", n.Location)
+ populate(objectMap, "perimeterGuid", n.PerimeterGUID)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSecurityPerimeter.
+func (n *NetworkSecurityPerimeter) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &n.ID)
+ delete(rawMsg, key)
+ case "location":
+ err = unpopulate(val, "Location", &n.Location)
+ delete(rawMsg, key)
+ case "perimeterGuid":
+ err = unpopulate(val, "PerimeterGUID", &n.PerimeterGUID)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NetworkSecurityPerimeterConfiguration.
+func (n NetworkSecurityPerimeterConfiguration) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", n.ID)
+ populate(objectMap, "name", n.Name)
+ populate(objectMap, "properties", n.Properties)
+ populate(objectMap, "systemData", n.SystemData)
+ populate(objectMap, "type", n.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSecurityPerimeterConfiguration.
+func (n *NetworkSecurityPerimeterConfiguration) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &n.ID)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &n.Name)
+ delete(rawMsg, key)
+ case "properties":
+ err = unpopulate(val, "Properties", &n.Properties)
+ delete(rawMsg, key)
+ case "systemData":
+ err = unpopulate(val, "SystemData", &n.SystemData)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &n.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NetworkSecurityPerimeterConfigurationList.
+func (n NetworkSecurityPerimeterConfigurationList) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "nextLink", n.NextLink)
+ populate(objectMap, "value", n.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSecurityPerimeterConfigurationList.
+func (n *NetworkSecurityPerimeterConfigurationList) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "nextLink":
+ err = unpopulate(val, "NextLink", &n.NextLink)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &n.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NetworkSecurityPerimeterConfigurationProperties.
+func (n NetworkSecurityPerimeterConfigurationProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "networkSecurityPerimeter", n.NetworkSecurityPerimeter)
+ populate(objectMap, "profile", n.Profile)
+ populate(objectMap, "provisioningIssues", n.ProvisioningIssues)
+ populate(objectMap, "provisioningState", n.ProvisioningState)
+ populate(objectMap, "resourceAssociation", n.ResourceAssociation)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSecurityPerimeterConfigurationProperties.
+func (n *NetworkSecurityPerimeterConfigurationProperties) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "networkSecurityPerimeter":
+ err = unpopulate(val, "NetworkSecurityPerimeter", &n.NetworkSecurityPerimeter)
+ delete(rawMsg, key)
+ case "profile":
+ err = unpopulate(val, "Profile", &n.Profile)
+ delete(rawMsg, key)
+ case "provisioningIssues":
+ err = unpopulate(val, "ProvisioningIssues", &n.ProvisioningIssues)
+ delete(rawMsg, key)
+ case "provisioningState":
+ err = unpopulate(val, "ProvisioningState", &n.ProvisioningState)
+ delete(rawMsg, key)
+ case "resourceAssociation":
+ err = unpopulate(val, "ResourceAssociation", &n.ResourceAssociation)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NetworkSecurityPerimeterConfigurationPropertiesProfile.
+func (n NetworkSecurityPerimeterConfigurationPropertiesProfile) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "accessRules", n.AccessRules)
+ populate(objectMap, "accessRulesVersion", n.AccessRulesVersion)
+ populate(objectMap, "diagnosticSettingsVersion", n.DiagnosticSettingsVersion)
+ populate(objectMap, "enabledLogCategories", n.EnabledLogCategories)
+ populate(objectMap, "name", n.Name)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSecurityPerimeterConfigurationPropertiesProfile.
+func (n *NetworkSecurityPerimeterConfigurationPropertiesProfile) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "accessRules":
+ err = unpopulate(val, "AccessRules", &n.AccessRules)
+ delete(rawMsg, key)
+ case "accessRulesVersion":
+ err = unpopulate(val, "AccessRulesVersion", &n.AccessRulesVersion)
+ delete(rawMsg, key)
+ case "diagnosticSettingsVersion":
+ err = unpopulate(val, "DiagnosticSettingsVersion", &n.DiagnosticSettingsVersion)
+ delete(rawMsg, key)
+ case "enabledLogCategories":
+ err = unpopulate(val, "EnabledLogCategories", &n.EnabledLogCategories)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &n.Name)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.
+func (n NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "accessMode", n.AccessMode)
+ populate(objectMap, "name", n.Name)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation.
+func (n *NetworkSecurityPerimeterConfigurationPropertiesResourceAssociation) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "accessMode":
+ err = unpopulate(val, "AccessMode", &n.AccessMode)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &n.Name)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NspAccessRule.
+func (n NspAccessRule) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "name", n.Name)
+ populate(objectMap, "properties", n.Properties)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NspAccessRule.
+func (n *NspAccessRule) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "name":
+ err = unpopulate(val, "Name", &n.Name)
+ delete(rawMsg, key)
+ case "properties":
+ err = unpopulate(val, "Properties", &n.Properties)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NspAccessRuleProperties.
+func (n NspAccessRuleProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "addressPrefixes", n.AddressPrefixes)
+ populate(objectMap, "direction", n.Direction)
+ populate(objectMap, "fullyQualifiedDomainNames", n.FullyQualifiedDomainNames)
+ populate(objectMap, "networkSecurityPerimeters", n.NetworkSecurityPerimeters)
+ populate(objectMap, "subscriptions", n.Subscriptions)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NspAccessRuleProperties.
+func (n *NspAccessRuleProperties) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "addressPrefixes":
+ err = unpopulate(val, "AddressPrefixes", &n.AddressPrefixes)
+ delete(rawMsg, key)
+ case "direction":
+ err = unpopulate(val, "Direction", &n.Direction)
+ delete(rawMsg, key)
+ case "fullyQualifiedDomainNames":
+ err = unpopulate(val, "FullyQualifiedDomainNames", &n.FullyQualifiedDomainNames)
+ delete(rawMsg, key)
+ case "networkSecurityPerimeters":
+ err = unpopulate(val, "NetworkSecurityPerimeters", &n.NetworkSecurityPerimeters)
+ delete(rawMsg, key)
+ case "subscriptions":
+ err = unpopulate(val, "Subscriptions", &n.Subscriptions)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type NspAccessRulePropertiesSubscriptionsItem.
+func (n NspAccessRulePropertiesSubscriptionsItem) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", n.ID)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type NspAccessRulePropertiesSubscriptionsItem.
+func (n *NspAccessRulePropertiesSubscriptionsItem) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &n.ID)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", n, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type ObjectReplicationPolicies.
func (o ObjectReplicationPolicies) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -5488,6 +5944,72 @@ func (p *ProtocolSettings) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type ProvisioningIssue.
+func (p ProvisioningIssue) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "name", p.Name)
+ populate(objectMap, "properties", p.Properties)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ProvisioningIssue.
+func (p *ProvisioningIssue) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", p, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "name":
+ err = unpopulate(val, "Name", &p.Name)
+ delete(rawMsg, key)
+ case "properties":
+ err = unpopulate(val, "Properties", &p.Properties)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", p, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type ProvisioningIssueProperties.
+func (p ProvisioningIssueProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "description", p.Description)
+ populate(objectMap, "issueType", p.IssueType)
+ populate(objectMap, "severity", p.Severity)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ProvisioningIssueProperties.
+func (p *ProvisioningIssueProperties) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", p, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "description":
+ err = unpopulate(val, "Description", &p.Description)
+ delete(rawMsg, key)
+ case "issueType":
+ err = unpopulate(val, "IssueType", &p.IssueType)
+ delete(rawMsg, key)
+ case "severity":
+ err = unpopulate(val, "Severity", &p.Severity)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", p, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type ProxyResource.
func (p ProxyResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -5523,6 +6045,45 @@ func (p *ProxyResource) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type ProxyResourceAutoGenerated.
+func (p ProxyResourceAutoGenerated) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", p.ID)
+ populate(objectMap, "name", p.Name)
+ populate(objectMap, "systemData", p.SystemData)
+ populate(objectMap, "type", p.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ProxyResourceAutoGenerated.
+func (p *ProxyResourceAutoGenerated) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", p, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &p.ID)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &p.Name)
+ delete(rawMsg, key)
+ case "systemData":
+ err = unpopulate(val, "SystemData", &p.SystemData)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &p.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", p, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type Queue.
func (q Queue) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -5725,6 +6286,45 @@ func (r *ResourceAccessRule) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type ResourceAutoGenerated.
+func (r ResourceAutoGenerated) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", r.ID)
+ populate(objectMap, "name", r.Name)
+ populate(objectMap, "systemData", r.SystemData)
+ populate(objectMap, "type", r.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type ResourceAutoGenerated.
+func (r *ResourceAutoGenerated) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", r, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &r.ID)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &r.Name)
+ delete(rawMsg, key)
+ case "systemData":
+ err = unpopulate(val, "SystemData", &r.SystemData)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &r.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", r, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type RestorePolicyProperties.
func (r RestorePolicyProperties) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -6559,6 +7159,470 @@ func (t *TagProperty) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignment.
+func (t TaskAssignment) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", t.ID)
+ populate(objectMap, "name", t.Name)
+ populate(objectMap, "properties", t.Properties)
+ populate(objectMap, "type", t.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignment.
+func (t *TaskAssignment) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &t.ID)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &t.Name)
+ delete(rawMsg, key)
+ case "properties":
+ err = unpopulate(val, "Properties", &t.Properties)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &t.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentExecutionContext.
+func (t TaskAssignmentExecutionContext) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "target", t.Target)
+ populate(objectMap, "trigger", t.Trigger)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentExecutionContext.
+func (t *TaskAssignmentExecutionContext) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "target":
+ err = unpopulate(val, "Target", &t.Target)
+ delete(rawMsg, key)
+ case "trigger":
+ err = unpopulate(val, "Trigger", &t.Trigger)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentProperties.
+func (t TaskAssignmentProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "description", t.Description)
+ populate(objectMap, "enabled", t.Enabled)
+ populate(objectMap, "executionContext", t.ExecutionContext)
+ populate(objectMap, "provisioningState", t.ProvisioningState)
+ populate(objectMap, "report", t.Report)
+ populate(objectMap, "runStatus", t.RunStatus)
+ populate(objectMap, "taskId", t.TaskID)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentProperties.
+func (t *TaskAssignmentProperties) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "description":
+ err = unpopulate(val, "Description", &t.Description)
+ delete(rawMsg, key)
+ case "enabled":
+ err = unpopulate(val, "Enabled", &t.Enabled)
+ delete(rawMsg, key)
+ case "executionContext":
+ err = unpopulate(val, "ExecutionContext", &t.ExecutionContext)
+ delete(rawMsg, key)
+ case "provisioningState":
+ err = unpopulate(val, "ProvisioningState", &t.ProvisioningState)
+ delete(rawMsg, key)
+ case "report":
+ err = unpopulate(val, "Report", &t.Report)
+ delete(rawMsg, key)
+ case "runStatus":
+ err = unpopulate(val, "RunStatus", &t.RunStatus)
+ delete(rawMsg, key)
+ case "taskId":
+ err = unpopulate(val, "TaskID", &t.TaskID)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentReport.
+func (t TaskAssignmentReport) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "prefix", t.Prefix)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentReport.
+func (t *TaskAssignmentReport) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "prefix":
+ err = unpopulate(val, "Prefix", &t.Prefix)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentUpdateExecutionContext.
+func (t TaskAssignmentUpdateExecutionContext) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "target", t.Target)
+ populate(objectMap, "trigger", t.Trigger)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentUpdateExecutionContext.
+func (t *TaskAssignmentUpdateExecutionContext) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "target":
+ err = unpopulate(val, "Target", &t.Target)
+ delete(rawMsg, key)
+ case "trigger":
+ err = unpopulate(val, "Trigger", &t.Trigger)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentUpdateParameters.
+func (t TaskAssignmentUpdateParameters) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "properties", t.Properties)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentUpdateParameters.
+func (t *TaskAssignmentUpdateParameters) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "properties":
+ err = unpopulate(val, "Properties", &t.Properties)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentUpdateProperties.
+func (t TaskAssignmentUpdateProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "description", t.Description)
+ populate(objectMap, "enabled", t.Enabled)
+ populate(objectMap, "executionContext", t.ExecutionContext)
+ populate(objectMap, "provisioningState", t.ProvisioningState)
+ populate(objectMap, "report", t.Report)
+ populate(objectMap, "runStatus", t.RunStatus)
+ populate(objectMap, "taskId", t.TaskID)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentUpdateProperties.
+func (t *TaskAssignmentUpdateProperties) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "description":
+ err = unpopulate(val, "Description", &t.Description)
+ delete(rawMsg, key)
+ case "enabled":
+ err = unpopulate(val, "Enabled", &t.Enabled)
+ delete(rawMsg, key)
+ case "executionContext":
+ err = unpopulate(val, "ExecutionContext", &t.ExecutionContext)
+ delete(rawMsg, key)
+ case "provisioningState":
+ err = unpopulate(val, "ProvisioningState", &t.ProvisioningState)
+ delete(rawMsg, key)
+ case "report":
+ err = unpopulate(val, "Report", &t.Report)
+ delete(rawMsg, key)
+ case "runStatus":
+ err = unpopulate(val, "RunStatus", &t.RunStatus)
+ delete(rawMsg, key)
+ case "taskId":
+ err = unpopulate(val, "TaskID", &t.TaskID)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentUpdateReport.
+func (t TaskAssignmentUpdateReport) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "prefix", t.Prefix)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentUpdateReport.
+func (t *TaskAssignmentUpdateReport) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "prefix":
+ err = unpopulate(val, "Prefix", &t.Prefix)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskAssignmentsList.
+func (t TaskAssignmentsList) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "nextLink", t.NextLink)
+ populate(objectMap, "value", t.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskAssignmentsList.
+func (t *TaskAssignmentsList) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "nextLink":
+ err = unpopulate(val, "NextLink", &t.NextLink)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &t.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskReportInstance.
+func (t TaskReportInstance) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "id", t.ID)
+ populate(objectMap, "name", t.Name)
+ populate(objectMap, "properties", t.Properties)
+ populate(objectMap, "type", t.Type)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskReportInstance.
+func (t *TaskReportInstance) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "id":
+ err = unpopulate(val, "ID", &t.ID)
+ delete(rawMsg, key)
+ case "name":
+ err = unpopulate(val, "Name", &t.Name)
+ delete(rawMsg, key)
+ case "properties":
+ err = unpopulate(val, "Properties", &t.Properties)
+ delete(rawMsg, key)
+ case "type":
+ err = unpopulate(val, "Type", &t.Type)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskReportProperties.
+func (t TaskReportProperties) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "finishTime", t.FinishTime)
+ populate(objectMap, "objectFailedCount", t.ObjectFailedCount)
+ populate(objectMap, "objectsOperatedOnCount", t.ObjectsOperatedOnCount)
+ populate(objectMap, "objectsSucceededCount", t.ObjectsSucceededCount)
+ populate(objectMap, "objectsTargetedCount", t.ObjectsTargetedCount)
+ populate(objectMap, "runResult", t.RunResult)
+ populate(objectMap, "runStatusEnum", t.RunStatusEnum)
+ populate(objectMap, "runStatusError", t.RunStatusError)
+ populate(objectMap, "startTime", t.StartTime)
+ populate(objectMap, "storageAccountId", t.StorageAccountID)
+ populate(objectMap, "summaryReportPath", t.SummaryReportPath)
+ populate(objectMap, "taskAssignmentId", t.TaskAssignmentID)
+ populate(objectMap, "taskId", t.TaskID)
+ populate(objectMap, "taskVersion", t.TaskVersion)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskReportProperties.
+func (t *TaskReportProperties) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "finishTime":
+ err = unpopulate(val, "FinishTime", &t.FinishTime)
+ delete(rawMsg, key)
+ case "objectFailedCount":
+ err = unpopulate(val, "ObjectFailedCount", &t.ObjectFailedCount)
+ delete(rawMsg, key)
+ case "objectsOperatedOnCount":
+ err = unpopulate(val, "ObjectsOperatedOnCount", &t.ObjectsOperatedOnCount)
+ delete(rawMsg, key)
+ case "objectsSucceededCount":
+ err = unpopulate(val, "ObjectsSucceededCount", &t.ObjectsSucceededCount)
+ delete(rawMsg, key)
+ case "objectsTargetedCount":
+ err = unpopulate(val, "ObjectsTargetedCount", &t.ObjectsTargetedCount)
+ delete(rawMsg, key)
+ case "runResult":
+ err = unpopulate(val, "RunResult", &t.RunResult)
+ delete(rawMsg, key)
+ case "runStatusEnum":
+ err = unpopulate(val, "RunStatusEnum", &t.RunStatusEnum)
+ delete(rawMsg, key)
+ case "runStatusError":
+ err = unpopulate(val, "RunStatusError", &t.RunStatusError)
+ delete(rawMsg, key)
+ case "startTime":
+ err = unpopulate(val, "StartTime", &t.StartTime)
+ delete(rawMsg, key)
+ case "storageAccountId":
+ err = unpopulate(val, "StorageAccountID", &t.StorageAccountID)
+ delete(rawMsg, key)
+ case "summaryReportPath":
+ err = unpopulate(val, "SummaryReportPath", &t.SummaryReportPath)
+ delete(rawMsg, key)
+ case "taskAssignmentId":
+ err = unpopulate(val, "TaskAssignmentID", &t.TaskAssignmentID)
+ delete(rawMsg, key)
+ case "taskId":
+ err = unpopulate(val, "TaskID", &t.TaskID)
+ delete(rawMsg, key)
+ case "taskVersion":
+ err = unpopulate(val, "TaskVersion", &t.TaskVersion)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TaskReportSummary.
+func (t TaskReportSummary) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populate(objectMap, "nextLink", t.NextLink)
+ populate(objectMap, "value", t.Value)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TaskReportSummary.
+func (t *TaskReportSummary) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "nextLink":
+ err = unpopulate(val, "NextLink", &t.NextLink)
+ delete(rawMsg, key)
+ case "value":
+ err = unpopulate(val, "Value", &t.Value)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type TrackedResource.
func (t TrackedResource) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -6602,6 +7666,92 @@ func (t *TrackedResource) UnmarshalJSON(data []byte) error {
return nil
}
+// MarshalJSON implements the json.Marshaller interface for type TriggerParameters.
+func (t TriggerParameters) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populateDateTimeRFC3339(objectMap, "endBy", t.EndBy)
+ populate(objectMap, "interval", t.Interval)
+ objectMap["intervalUnit"] = "Days"
+ populateDateTimeRFC3339(objectMap, "startFrom", t.StartFrom)
+ populateDateTimeRFC3339(objectMap, "startOn", t.StartOn)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TriggerParameters.
+func (t *TriggerParameters) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "endBy":
+ err = unpopulateDateTimeRFC3339(val, "EndBy", &t.EndBy)
+ delete(rawMsg, key)
+ case "interval":
+ err = unpopulate(val, "Interval", &t.Interval)
+ delete(rawMsg, key)
+ case "intervalUnit":
+ err = unpopulate(val, "IntervalUnit", &t.IntervalUnit)
+ delete(rawMsg, key)
+ case "startFrom":
+ err = unpopulateDateTimeRFC3339(val, "StartFrom", &t.StartFrom)
+ delete(rawMsg, key)
+ case "startOn":
+ err = unpopulateDateTimeRFC3339(val, "StartOn", &t.StartOn)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
+// MarshalJSON implements the json.Marshaller interface for type TriggerParametersUpdate.
+func (t TriggerParametersUpdate) MarshalJSON() ([]byte, error) {
+ objectMap := make(map[string]any)
+ populateDateTimeRFC3339(objectMap, "endBy", t.EndBy)
+ populate(objectMap, "interval", t.Interval)
+ objectMap["intervalUnit"] = "Days"
+ populateDateTimeRFC3339(objectMap, "startFrom", t.StartFrom)
+ populateDateTimeRFC3339(objectMap, "startOn", t.StartOn)
+ return json.Marshal(objectMap)
+}
+
+// UnmarshalJSON implements the json.Unmarshaller interface for type TriggerParametersUpdate.
+func (t *TriggerParametersUpdate) UnmarshalJSON(data []byte) error {
+ var rawMsg map[string]json.RawMessage
+ if err := json.Unmarshal(data, &rawMsg); err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ for key, val := range rawMsg {
+ var err error
+ switch key {
+ case "endBy":
+ err = unpopulateDateTimeRFC3339(val, "EndBy", &t.EndBy)
+ delete(rawMsg, key)
+ case "interval":
+ err = unpopulate(val, "Interval", &t.Interval)
+ delete(rawMsg, key)
+ case "intervalUnit":
+ err = unpopulate(val, "IntervalUnit", &t.IntervalUnit)
+ delete(rawMsg, key)
+ case "startFrom":
+ err = unpopulateDateTimeRFC3339(val, "StartFrom", &t.StartFrom)
+ delete(rawMsg, key)
+ case "startOn":
+ err = unpopulateDateTimeRFC3339(val, "StartOn", &t.StartOn)
+ delete(rawMsg, key)
+ }
+ if err != nil {
+ return fmt.Errorf("unmarshalling type %T: %v", t, err)
+ }
+ }
+ return nil
+}
+
// MarshalJSON implements the json.Marshaller interface for type UpdateHistoryProperty.
func (u UpdateHistoryProperty) MarshalJSON() ([]byte, error) {
objectMap := make(map[string]any)
@@ -6841,7 +7991,7 @@ func populateAny(m map[string]any, k string, v any) {
}
func unpopulate(data json.RawMessage, fn string, v any) error {
- if data == nil {
+ if data == nil || string(data) == "null" {
return nil
}
if err := json.Unmarshal(data, v); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/networksecurityperimeterconfigurations_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/networksecurityperimeterconfigurations_client.go
new file mode 100644
index 0000000000..63c1116b44
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/networksecurityperimeterconfigurations_client.go
@@ -0,0 +1,265 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package armstorage
+
+import (
+ "context"
+ "errors"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "net/http"
+ "net/url"
+ "strings"
+)
+
+// NetworkSecurityPerimeterConfigurationsClient contains the methods for the NetworkSecurityPerimeterConfigurations group.
+// Don't use this type directly, use NewNetworkSecurityPerimeterConfigurationsClient() instead.
+type NetworkSecurityPerimeterConfigurationsClient struct {
+ internal *arm.Client
+ subscriptionID string
+}
+
+// NewNetworkSecurityPerimeterConfigurationsClient creates a new instance of NetworkSecurityPerimeterConfigurationsClient with the specified values.
+// - subscriptionID - The ID of the target subscription.
+// - credential - used to authorize requests. Usually a credential from azidentity.
+// - options - pass nil to accept the default values.
+func NewNetworkSecurityPerimeterConfigurationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*NetworkSecurityPerimeterConfigurationsClient, error) {
+ cl, err := arm.NewClient(moduleName, moduleVersion, credential, options)
+ if err != nil {
+ return nil, err
+ }
+ client := &NetworkSecurityPerimeterConfigurationsClient{
+ subscriptionID: subscriptionID,
+ internal: cl,
+ }
+ return client, nil
+}
+
+// Get - Gets effective NetworkSecurityPerimeterConfiguration for association
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - networkSecurityPerimeterConfigurationName - The name for Network Security Perimeter configuration
+// - options - NetworkSecurityPerimeterConfigurationsClientGetOptions contains the optional parameters for the NetworkSecurityPerimeterConfigurationsClient.Get
+// method.
+func (client *NetworkSecurityPerimeterConfigurationsClient) Get(ctx context.Context, resourceGroupName string, accountName string, networkSecurityPerimeterConfigurationName string, options *NetworkSecurityPerimeterConfigurationsClientGetOptions) (NetworkSecurityPerimeterConfigurationsClientGetResponse, error) {
+ var err error
+ const operationName = "NetworkSecurityPerimeterConfigurationsClient.Get"
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, operationName)
+ ctx, endSpan := runtime.StartSpan(ctx, operationName, client.internal.Tracer(), nil)
+ defer func() { endSpan(err) }()
+ req, err := client.getCreateRequest(ctx, resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options)
+ if err != nil {
+ return NetworkSecurityPerimeterConfigurationsClientGetResponse{}, err
+ }
+ httpResp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return NetworkSecurityPerimeterConfigurationsClientGetResponse{}, err
+ }
+ if !runtime.HasStatusCode(httpResp, http.StatusOK) {
+ err = runtime.NewResponseError(httpResp)
+ return NetworkSecurityPerimeterConfigurationsClientGetResponse{}, err
+ }
+ resp, err := client.getHandleResponse(httpResp)
+ return resp, err
+}
+
+// getCreateRequest creates the Get request.
+func (client *NetworkSecurityPerimeterConfigurationsClient) getCreateRequest(ctx context.Context, resourceGroupName string, accountName string, networkSecurityPerimeterConfigurationName string, options *NetworkSecurityPerimeterConfigurationsClientGetOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if networkSecurityPerimeterConfigurationName == "" {
+ return nil, errors.New("parameter networkSecurityPerimeterConfigurationName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{networkSecurityPerimeterConfigurationName}", url.PathEscape(networkSecurityPerimeterConfigurationName))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// getHandleResponse handles the Get response.
+func (client *NetworkSecurityPerimeterConfigurationsClient) getHandleResponse(resp *http.Response) (NetworkSecurityPerimeterConfigurationsClientGetResponse, error) {
+ result := NetworkSecurityPerimeterConfigurationsClientGetResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.NetworkSecurityPerimeterConfiguration); err != nil {
+ return NetworkSecurityPerimeterConfigurationsClientGetResponse{}, err
+ }
+ return result, nil
+}
+
+// NewListPager - Gets list of effective NetworkSecurityPerimeterConfiguration for storage account
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - options - NetworkSecurityPerimeterConfigurationsClientListOptions contains the optional parameters for the NetworkSecurityPerimeterConfigurationsClient.NewListPager
+// method.
+func (client *NetworkSecurityPerimeterConfigurationsClient) NewListPager(resourceGroupName string, accountName string, options *NetworkSecurityPerimeterConfigurationsClientListOptions) *runtime.Pager[NetworkSecurityPerimeterConfigurationsClientListResponse] {
+ return runtime.NewPager(runtime.PagingHandler[NetworkSecurityPerimeterConfigurationsClientListResponse]{
+ More: func(page NetworkSecurityPerimeterConfigurationsClientListResponse) bool {
+ return false
+ },
+ Fetcher: func(ctx context.Context, page *NetworkSecurityPerimeterConfigurationsClientListResponse) (NetworkSecurityPerimeterConfigurationsClientListResponse, error) {
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, "NetworkSecurityPerimeterConfigurationsClient.NewListPager")
+ req, err := client.listCreateRequest(ctx, resourceGroupName, accountName, options)
+ if err != nil {
+ return NetworkSecurityPerimeterConfigurationsClientListResponse{}, err
+ }
+ resp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return NetworkSecurityPerimeterConfigurationsClientListResponse{}, err
+ }
+ if !runtime.HasStatusCode(resp, http.StatusOK) {
+ return NetworkSecurityPerimeterConfigurationsClientListResponse{}, runtime.NewResponseError(resp)
+ }
+ return client.listHandleResponse(resp)
+ },
+ Tracer: client.internal.Tracer(),
+ })
+}
+
+// listCreateRequest creates the List request.
+func (client *NetworkSecurityPerimeterConfigurationsClient) listCreateRequest(ctx context.Context, resourceGroupName string, accountName string, options *NetworkSecurityPerimeterConfigurationsClientListOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listHandleResponse handles the List response.
+func (client *NetworkSecurityPerimeterConfigurationsClient) listHandleResponse(resp *http.Response) (NetworkSecurityPerimeterConfigurationsClientListResponse, error) {
+ result := NetworkSecurityPerimeterConfigurationsClientListResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.NetworkSecurityPerimeterConfigurationList); err != nil {
+ return NetworkSecurityPerimeterConfigurationsClientListResponse{}, err
+ }
+ return result, nil
+}
+
+// BeginReconcile - Refreshes any information about the association.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - networkSecurityPerimeterConfigurationName - The name for Network Security Perimeter configuration
+// - options - NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions contains the optional parameters for the NetworkSecurityPerimeterConfigurationsClient.BeginReconcile
+// method.
+func (client *NetworkSecurityPerimeterConfigurationsClient) BeginReconcile(ctx context.Context, resourceGroupName string, accountName string, networkSecurityPerimeterConfigurationName string, options *NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions) (*runtime.Poller[NetworkSecurityPerimeterConfigurationsClientReconcileResponse], error) {
+ if options == nil || options.ResumeToken == "" {
+ resp, err := client.reconcile(ctx, resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options)
+ if err != nil {
+ return nil, err
+ }
+ poller, err := runtime.NewPoller(resp, client.internal.Pipeline(), &runtime.NewPollerOptions[NetworkSecurityPerimeterConfigurationsClientReconcileResponse]{
+ FinalStateVia: runtime.FinalStateViaLocation,
+ Tracer: client.internal.Tracer(),
+ })
+ return poller, err
+ } else {
+ return runtime.NewPollerFromResumeToken(options.ResumeToken, client.internal.Pipeline(), &runtime.NewPollerFromResumeTokenOptions[NetworkSecurityPerimeterConfigurationsClientReconcileResponse]{
+ Tracer: client.internal.Tracer(),
+ })
+ }
+}
+
+// Reconcile - Refreshes any information about the association.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+func (client *NetworkSecurityPerimeterConfigurationsClient) reconcile(ctx context.Context, resourceGroupName string, accountName string, networkSecurityPerimeterConfigurationName string, options *NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions) (*http.Response, error) {
+ var err error
+ const operationName = "NetworkSecurityPerimeterConfigurationsClient.BeginReconcile"
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, operationName)
+ ctx, endSpan := runtime.StartSpan(ctx, operationName, client.internal.Tracer(), nil)
+ defer func() { endSpan(err) }()
+ req, err := client.reconcileCreateRequest(ctx, resourceGroupName, accountName, networkSecurityPerimeterConfigurationName, options)
+ if err != nil {
+ return nil, err
+ }
+ httpResp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return nil, err
+ }
+ if !runtime.HasStatusCode(httpResp, http.StatusAccepted) {
+ err = runtime.NewResponseError(httpResp)
+ return nil, err
+ }
+ return httpResp, nil
+}
+
+// reconcileCreateRequest creates the Reconcile request.
+func (client *NetworkSecurityPerimeterConfigurationsClient) reconcileCreateRequest(ctx context.Context, resourceGroupName string, accountName string, networkSecurityPerimeterConfigurationName string, options *NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if networkSecurityPerimeterConfigurationName == "" {
+ return nil, errors.New("parameter networkSecurityPerimeterConfigurationName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{networkSecurityPerimeterConfigurationName}", url.PathEscape(networkSecurityPerimeterConfigurationName))
+ req, err := runtime.NewRequest(ctx, http.MethodPost, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/objectreplicationpolicies_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/objectreplicationpolicies_client.go
index dc91e8ca35..2cf592f475 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/objectreplicationpolicies_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/objectreplicationpolicies_client.go
@@ -46,7 +46,7 @@ func NewObjectReplicationPoliciesClient(subscriptionID string, credential azcore
// CreateOrUpdate - Create or update the object replication policy of the storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -102,7 +102,7 @@ func (client *ObjectReplicationPoliciesClient) createOrUpdateCreateRequest(ctx c
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, properties); err != nil {
@@ -123,7 +123,7 @@ func (client *ObjectReplicationPoliciesClient) createOrUpdateHandleResponse(resp
// Delete - Deletes the object replication policy associated with the specified storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -177,7 +177,7 @@ func (client *ObjectReplicationPoliciesClient) deleteCreateRequest(ctx context.C
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -186,7 +186,7 @@ func (client *ObjectReplicationPoliciesClient) deleteCreateRequest(ctx context.C
// Get - Get the object replication policy of the storage account by policy ID.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -241,7 +241,7 @@ func (client *ObjectReplicationPoliciesClient) getCreateRequest(ctx context.Cont
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -258,7 +258,7 @@ func (client *ObjectReplicationPoliciesClient) getHandleResponse(resp *http.Resp
// NewListPager - List the object replication policies associated with the storage account.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -308,7 +308,7 @@ func (client *ObjectReplicationPoliciesClient) listCreateRequest(ctx context.Con
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/operations_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/operations_client.go
index 74621df131..8ceebe5de3 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/operations_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/operations_client.go
@@ -39,7 +39,7 @@ func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientO
// NewListPager - Lists all of the available Storage Rest API operations.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse] {
return runtime.NewPager(runtime.PagingHandler[OperationsClientListResponse]{
@@ -73,7 +73,7 @@ func (client *OperationsClient) listCreateRequest(ctx context.Context, options *
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/options.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/options.go
index d143bdb48b..fec991677c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/options.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/options.go
@@ -392,7 +392,14 @@ type LocalUsersClientListKeysOptions struct {
// LocalUsersClientListOptions contains the optional parameters for the LocalUsersClient.NewListPager method.
type LocalUsersClientListOptions struct {
- // placeholder for future optional parameters
+ // Optional. When specified, only local user names starting with the filter will be listed.
+ Filter *string
+
+ // Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default.
+ Include *ListLocalUserIncludeParam
+
+ // Optional, specifies the maximum number of local users that will be included in the list response.
+ Maxpagesize *int32
}
// LocalUsersClientRegeneratePasswordOptions contains the optional parameters for the LocalUsersClient.RegeneratePassword
@@ -417,6 +424,25 @@ type ManagementPoliciesClientGetOptions struct {
// placeholder for future optional parameters
}
+// NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions contains the optional parameters for the NetworkSecurityPerimeterConfigurationsClient.BeginReconcile
+// method.
+type NetworkSecurityPerimeterConfigurationsClientBeginReconcileOptions struct {
+ // Resumes the LRO from the provided token.
+ ResumeToken string
+}
+
+// NetworkSecurityPerimeterConfigurationsClientGetOptions contains the optional parameters for the NetworkSecurityPerimeterConfigurationsClient.Get
+// method.
+type NetworkSecurityPerimeterConfigurationsClientGetOptions struct {
+ // placeholder for future optional parameters
+}
+
+// NetworkSecurityPerimeterConfigurationsClientListOptions contains the optional parameters for the NetworkSecurityPerimeterConfigurationsClient.NewListPager
+// method.
+type NetworkSecurityPerimeterConfigurationsClientListOptions struct {
+ // placeholder for future optional parameters
+}
+
// ObjectReplicationPoliciesClientCreateOrUpdateOptions contains the optional parameters for the ObjectReplicationPoliciesClient.CreateOrUpdate
// method.
type ObjectReplicationPoliciesClientCreateOrUpdateOptions struct {
@@ -571,6 +597,59 @@ type TableServicesClientSetServicePropertiesOptions struct {
// placeholder for future optional parameters
}
+// TaskAssignmentInstancesReportClientListOptions contains the optional parameters for the TaskAssignmentInstancesReportClient.NewListPager
+// method.
+type TaskAssignmentInstancesReportClientListOptions struct {
+ // Optional. When specified, it can be used to query using reporting properties. See Constructing Filter Strings
+ // [https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings] for
+ // details.
+ Filter *string
+
+ // Optional, specifies the maximum number of storage task assignment instances to be included in the list response.
+ Maxpagesize *int32
+}
+
+// TaskAssignmentsClientBeginCreateOptions contains the optional parameters for the TaskAssignmentsClient.BeginCreate method.
+type TaskAssignmentsClientBeginCreateOptions struct {
+ // Resumes the LRO from the provided token.
+ ResumeToken string
+}
+
+// TaskAssignmentsClientBeginDeleteOptions contains the optional parameters for the TaskAssignmentsClient.BeginDelete method.
+type TaskAssignmentsClientBeginDeleteOptions struct {
+ // Resumes the LRO from the provided token.
+ ResumeToken string
+}
+
+// TaskAssignmentsClientBeginUpdateOptions contains the optional parameters for the TaskAssignmentsClient.BeginUpdate method.
+type TaskAssignmentsClientBeginUpdateOptions struct {
+ // Resumes the LRO from the provided token.
+ ResumeToken string
+}
+
+// TaskAssignmentsClientGetOptions contains the optional parameters for the TaskAssignmentsClient.Get method.
+type TaskAssignmentsClientGetOptions struct {
+ // placeholder for future optional parameters
+}
+
+// TaskAssignmentsClientListOptions contains the optional parameters for the TaskAssignmentsClient.NewListPager method.
+type TaskAssignmentsClientListOptions struct {
+ // Optional, specifies the maximum number of storage task assignment Ids to be included in the list response.
+ Maxpagesize *int32
+}
+
+// TaskAssignmentsInstancesReportClientListOptions contains the optional parameters for the TaskAssignmentsInstancesReportClient.NewListPager
+// method.
+type TaskAssignmentsInstancesReportClientListOptions struct {
+ // Optional. When specified, it can be used to query using reporting properties. See Constructing Filter Strings
+ // [https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#constructing-filter-strings] for
+ // details.
+ Filter *string
+
+ // Optional, specifies the maximum number of storage task assignment instances to be included in the list response.
+ Maxpagesize *int32
+}
+
// UsagesClientListByLocationOptions contains the optional parameters for the UsagesClient.NewListByLocationPager method.
type UsagesClientListByLocationOptions struct {
// placeholder for future optional parameters
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privateendpointconnections_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privateendpointconnections_client.go
index cde0f2d21d..d55e9f5e3b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privateendpointconnections_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privateendpointconnections_client.go
@@ -46,7 +46,7 @@ func NewPrivateEndpointConnectionsClient(subscriptionID string, credential azcor
// Delete - Deletes the specified private endpoint connection associated with the storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -98,7 +98,7 @@ func (client *PrivateEndpointConnectionsClient) deleteCreateRequest(ctx context.
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -107,7 +107,7 @@ func (client *PrivateEndpointConnectionsClient) deleteCreateRequest(ctx context.
// Get - Gets the specified private endpoint connection associated with the storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -160,7 +160,7 @@ func (client *PrivateEndpointConnectionsClient) getCreateRequest(ctx context.Con
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -177,7 +177,7 @@ func (client *PrivateEndpointConnectionsClient) getHandleResponse(resp *http.Res
// NewListPager - List all the private endpoint connections associated with the storage account.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -227,7 +227,7 @@ func (client *PrivateEndpointConnectionsClient) listCreateRequest(ctx context.Co
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -245,7 +245,7 @@ func (client *PrivateEndpointConnectionsClient) listHandleResponse(resp *http.Re
// Put - Update the state of specified private endpoint connection associated with the storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -299,7 +299,7 @@ func (client *PrivateEndpointConnectionsClient) putCreateRequest(ctx context.Con
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, properties); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privatelinkresources_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privatelinkresources_client.go
index 7127815f09..aa95c50474 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privatelinkresources_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/privatelinkresources_client.go
@@ -46,7 +46,7 @@ func NewPrivateLinkResourcesClient(subscriptionID string, credential azcore.Toke
// ListByStorageAccount - Gets the private link resources that need to be created for a storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -94,7 +94,7 @@ func (client *PrivateLinkResourcesClient) listByStorageAccountCreateRequest(ctx
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queue_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queue_client.go
index 743fcc983d..ce3553b8e0 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queue_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queue_client.go
@@ -46,7 +46,7 @@ func NewQueueClient(subscriptionID string, credential azcore.TokenCredential, op
// Create - Creates a new queue with the specified queue name, under the specified account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -101,7 +101,7 @@ func (client *QueueClient) createCreateRequest(ctx context.Context, resourceGrou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, queue); err != nil {
@@ -122,7 +122,7 @@ func (client *QueueClient) createHandleResponse(resp *http.Response) (QueueClien
// Delete - Deletes the queue with the specified queue name, under the specified account if it exists.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -175,7 +175,7 @@ func (client *QueueClient) deleteCreateRequest(ctx context.Context, resourceGrou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -184,7 +184,7 @@ func (client *QueueClient) deleteCreateRequest(ctx context.Context, resourceGrou
// Get - Gets the queue with the specified queue name, under the specified account if it exists.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -238,7 +238,7 @@ func (client *QueueClient) getCreateRequest(ctx context.Context, resourceGroupNa
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -255,7 +255,7 @@ func (client *QueueClient) getHandleResponse(resp *http.Response) (QueueClientGe
// NewListPager - Gets a list of all the queues under the specified storage account
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -303,13 +303,13 @@ func (client *QueueClient) listCreateRequest(ctx context.Context, resourceGroupN
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
- if options != nil && options.Maxpagesize != nil {
- reqQP.Set("$maxpagesize", *options.Maxpagesize)
- }
if options != nil && options.Filter != nil {
reqQP.Set("$filter", *options.Filter)
}
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", *options.Maxpagesize)
+ }
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -327,7 +327,7 @@ func (client *QueueClient) listHandleResponse(resp *http.Response) (QueueClientL
// Update - Creates a new queue with the specified queue name, under the specified account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -382,7 +382,7 @@ func (client *QueueClient) updateCreateRequest(ctx context.Context, resourceGrou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, queue); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queueservices_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queueservices_client.go
index 75786fe949..8d8cbc88ea 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queueservices_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/queueservices_client.go
@@ -47,7 +47,7 @@ func NewQueueServicesClient(subscriptionID string, credential azcore.TokenCreden
// and CORS (Cross-Origin Resource Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -96,7 +96,7 @@ func (client *QueueServicesClient) getServicePropertiesCreateRequest(ctx context
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -114,7 +114,7 @@ func (client *QueueServicesClient) getServicePropertiesHandleResponse(resp *http
// List - List all queue services for the storage account
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -161,7 +161,7 @@ func (client *QueueServicesClient) listCreateRequest(ctx context.Context, resour
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -180,7 +180,7 @@ func (client *QueueServicesClient) listHandleResponse(resp *http.Response) (Queu
// and CORS (Cross-Origin Resource Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -231,7 +231,7 @@ func (client *QueueServicesClient) setServicePropertiesCreateRequest(ctx context
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/response_types.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/responses.go
similarity index 89%
rename from cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/response_types.go
rename to cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/responses.go
index e5b7eb742c..e014af80f8 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/response_types.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/responses.go
@@ -369,7 +369,7 @@ type LocalUsersClientListKeysResponse struct {
// LocalUsersClientListResponse contains the response from method LocalUsersClient.NewListPager.
type LocalUsersClientListResponse struct {
- // List storage account local users.
+ // List of local users requested, and if paging is required, a URL to the next page of local users.
LocalUsers
}
@@ -396,6 +396,23 @@ type ManagementPoliciesClientGetResponse struct {
ManagementPolicy
}
+// NetworkSecurityPerimeterConfigurationsClientGetResponse contains the response from method NetworkSecurityPerimeterConfigurationsClient.Get.
+type NetworkSecurityPerimeterConfigurationsClientGetResponse struct {
+ // The Network Security Perimeter configuration resource.
+ NetworkSecurityPerimeterConfiguration
+}
+
+// NetworkSecurityPerimeterConfigurationsClientListResponse contains the response from method NetworkSecurityPerimeterConfigurationsClient.NewListPager.
+type NetworkSecurityPerimeterConfigurationsClientListResponse struct {
+ // Result of the List Network Security Perimeter configuration operation.
+ NetworkSecurityPerimeterConfigurationList
+}
+
+// NetworkSecurityPerimeterConfigurationsClientReconcileResponse contains the response from method NetworkSecurityPerimeterConfigurationsClient.BeginReconcile.
+type NetworkSecurityPerimeterConfigurationsClientReconcileResponse struct {
+ // placeholder for future response values
+}
+
// ObjectReplicationPoliciesClientCreateOrUpdateResponse contains the response from method ObjectReplicationPoliciesClient.CreateOrUpdate.
type ObjectReplicationPoliciesClientCreateOrUpdateResponse struct {
// The replication policy between two storage accounts. Multiple rules can be defined in one policy.
@@ -550,6 +567,47 @@ type TableServicesClientSetServicePropertiesResponse struct {
TableServiceProperties
}
+// TaskAssignmentInstancesReportClientListResponse contains the response from method TaskAssignmentInstancesReportClient.NewListPager.
+type TaskAssignmentInstancesReportClientListResponse struct {
+ // Fetch Storage Tasks Run Summary.
+ TaskReportSummary
+}
+
+// TaskAssignmentsClientCreateResponse contains the response from method TaskAssignmentsClient.BeginCreate.
+type TaskAssignmentsClientCreateResponse struct {
+ // The storage task assignment.
+ TaskAssignment
+}
+
+// TaskAssignmentsClientDeleteResponse contains the response from method TaskAssignmentsClient.BeginDelete.
+type TaskAssignmentsClientDeleteResponse struct {
+ // placeholder for future response values
+}
+
+// TaskAssignmentsClientGetResponse contains the response from method TaskAssignmentsClient.Get.
+type TaskAssignmentsClientGetResponse struct {
+ // The storage task assignment.
+ TaskAssignment
+}
+
+// TaskAssignmentsClientListResponse contains the response from method TaskAssignmentsClient.NewListPager.
+type TaskAssignmentsClientListResponse struct {
+ // List of storage task assignments for the storage account
+ TaskAssignmentsList
+}
+
+// TaskAssignmentsClientUpdateResponse contains the response from method TaskAssignmentsClient.BeginUpdate.
+type TaskAssignmentsClientUpdateResponse struct {
+ // The storage task assignment.
+ TaskAssignment
+}
+
+// TaskAssignmentsInstancesReportClientListResponse contains the response from method TaskAssignmentsInstancesReportClient.NewListPager.
+type TaskAssignmentsInstancesReportClientListResponse struct {
+ // Fetch Storage Tasks Run Summary.
+ TaskReportSummary
+}
+
// UsagesClientListByLocationResponse contains the response from method UsagesClient.NewListByLocationPager.
type UsagesClientListByLocationResponse struct {
// The response from the List Usages operation.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/skus_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/skus_client.go
index db7979df36..ff08406f10 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/skus_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/skus_client.go
@@ -45,7 +45,7 @@ func NewSKUsClient(subscriptionID string, credential azcore.TokenCredential, opt
// NewListPager - Lists the available SKUs supported by Microsoft.Storage for given subscription.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - options - SKUsClientListOptions contains the optional parameters for the SKUsClient.NewListPager method.
func (client *SKUsClient) NewListPager(options *SKUsClientListOptions) *runtime.Pager[SKUsClientListResponse] {
return runtime.NewPager(runtime.PagingHandler[SKUsClientListResponse]{
@@ -83,7 +83,7 @@ func (client *SKUsClient) listCreateRequest(ctx context.Context, options *SKUsCl
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/table_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/table_client.go
index 169dd385e6..e21c38e41b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/table_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/table_client.go
@@ -46,7 +46,7 @@ func NewTableClient(subscriptionID string, credential azcore.TokenCredential, op
// Create - Creates a new table with the specified table name, under the specified account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -99,7 +99,7 @@ func (client *TableClient) createCreateRequest(ctx context.Context, resourceGrou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.Parameters != nil {
@@ -123,7 +123,7 @@ func (client *TableClient) createHandleResponse(resp *http.Response) (TableClien
// Delete - Deletes the table with the specified table name, under the specified account if it exists.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -175,7 +175,7 @@ func (client *TableClient) deleteCreateRequest(ctx context.Context, resourceGrou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -184,7 +184,7 @@ func (client *TableClient) deleteCreateRequest(ctx context.Context, resourceGrou
// Get - Gets the table with the specified table name, under the specified account if it exists.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -237,7 +237,7 @@ func (client *TableClient) getCreateRequest(ctx context.Context, resourceGroupNa
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -254,7 +254,7 @@ func (client *TableClient) getHandleResponse(resp *http.Response) (TableClientGe
// NewListPager - Gets a list of all the tables under the specified storage account
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -302,7 +302,7 @@ func (client *TableClient) listCreateRequest(ctx context.Context, resourceGroupN
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -320,7 +320,7 @@ func (client *TableClient) listHandleResponse(resp *http.Response) (TableClientL
// Update - Creates a new table with the specified table name, under the specified account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -373,7 +373,7 @@ func (client *TableClient) updateCreateRequest(ctx context.Context, resourceGrou
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if options != nil && options.Parameters != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/tableservices_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/tableservices_client.go
index f53f5f9824..eba9a122a7 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/tableservices_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/tableservices_client.go
@@ -47,7 +47,7 @@ func NewTableServicesClient(subscriptionID string, credential azcore.TokenCreden
// and CORS (Cross-Origin Resource Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -96,7 +96,7 @@ func (client *TableServicesClient) getServicePropertiesCreateRequest(ctx context
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -114,7 +114,7 @@ func (client *TableServicesClient) getServicePropertiesHandleResponse(resp *http
// List - List all table services for the storage account.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -161,7 +161,7 @@ func (client *TableServicesClient) listCreateRequest(ctx context.Context, resour
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
@@ -180,7 +180,7 @@ func (client *TableServicesClient) listHandleResponse(resp *http.Response) (Tabl
// and CORS (Cross-Origin Resource Sharing) rules.
// If the operation fails it returns an *azcore.ResponseError type.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - resourceGroupName - The name of the resource group within the user's subscription. The name is case insensitive.
// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
// 3 and 24 characters in length and use numbers and lower-case letters only.
@@ -231,7 +231,7 @@ func (client *TableServicesClient) setServicePropertiesCreateRequest(ctx context
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
if err := runtime.MarshalAsJSON(req, parameters); err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignmentinstancesreport_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignmentinstancesreport_client.go
new file mode 100644
index 0000000000..d5c0a50e73
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignmentinstancesreport_client.go
@@ -0,0 +1,123 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package armstorage
+
+import (
+ "context"
+ "errors"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+)
+
+// TaskAssignmentInstancesReportClient contains the methods for the StorageTaskAssignmentInstancesReport group.
+// Don't use this type directly, use NewTaskAssignmentInstancesReportClient() instead.
+type TaskAssignmentInstancesReportClient struct {
+ internal *arm.Client
+ subscriptionID string
+}
+
+// NewTaskAssignmentInstancesReportClient creates a new instance of TaskAssignmentInstancesReportClient with the specified values.
+// - subscriptionID - The ID of the target subscription.
+// - credential - used to authorize requests. Usually a credential from azidentity.
+// - options - pass nil to accept the default values.
+func NewTaskAssignmentInstancesReportClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*TaskAssignmentInstancesReportClient, error) {
+ cl, err := arm.NewClient(moduleName, moduleVersion, credential, options)
+ if err != nil {
+ return nil, err
+ }
+ client := &TaskAssignmentInstancesReportClient{
+ subscriptionID: subscriptionID,
+ internal: cl,
+ }
+ return client, nil
+}
+
+// NewListPager - Fetch the report summary of a single storage task assignment's instances
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment
+// names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
+// - options - TaskAssignmentInstancesReportClientListOptions contains the optional parameters for the TaskAssignmentInstancesReportClient.NewListPager
+// method.
+func (client *TaskAssignmentInstancesReportClient) NewListPager(resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentInstancesReportClientListOptions) *runtime.Pager[TaskAssignmentInstancesReportClientListResponse] {
+ return runtime.NewPager(runtime.PagingHandler[TaskAssignmentInstancesReportClientListResponse]{
+ More: func(page TaskAssignmentInstancesReportClientListResponse) bool {
+ return page.NextLink != nil && len(*page.NextLink) > 0
+ },
+ Fetcher: func(ctx context.Context, page *TaskAssignmentInstancesReportClientListResponse) (TaskAssignmentInstancesReportClientListResponse, error) {
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, "TaskAssignmentInstancesReportClient.NewListPager")
+ nextLink := ""
+ if page != nil {
+ nextLink = *page.NextLink
+ }
+ resp, err := runtime.FetcherForNextLink(ctx, client.internal.Pipeline(), nextLink, func(ctx context.Context) (*policy.Request, error) {
+ return client.listCreateRequest(ctx, resourceGroupName, accountName, storageTaskAssignmentName, options)
+ }, nil)
+ if err != nil {
+ return TaskAssignmentInstancesReportClientListResponse{}, err
+ }
+ return client.listHandleResponse(resp)
+ },
+ Tracer: client.internal.Tracer(),
+ })
+}
+
+// listCreateRequest creates the List request.
+func (client *TaskAssignmentInstancesReportClient) listCreateRequest(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentInstancesReportClientListOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}/reports"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if storageTaskAssignmentName == "" {
+ return nil, errors.New("parameter storageTaskAssignmentName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{storageTaskAssignmentName}", url.PathEscape(storageTaskAssignmentName))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ if options != nil && options.Filter != nil {
+ reqQP.Set("$filter", *options.Filter)
+ }
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", strconv.FormatInt(int64(*options.Maxpagesize), 10))
+ }
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listHandleResponse handles the List response.
+func (client *TaskAssignmentInstancesReportClient) listHandleResponse(resp *http.Response) (TaskAssignmentInstancesReportClientListResponse, error) {
+ result := TaskAssignmentInstancesReportClientListResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.TaskReportSummary); err != nil {
+ return TaskAssignmentInstancesReportClientListResponse{}, err
+ }
+ return result, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignments_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignments_client.go
new file mode 100644
index 0000000000..8312677be8
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignments_client.go
@@ -0,0 +1,453 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package armstorage
+
+import (
+ "context"
+ "errors"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+)
+
+// TaskAssignmentsClient contains the methods for the StorageTaskAssignments group.
+// Don't use this type directly, use NewTaskAssignmentsClient() instead.
+type TaskAssignmentsClient struct {
+ internal *arm.Client
+ subscriptionID string
+}
+
+// NewTaskAssignmentsClient creates a new instance of TaskAssignmentsClient with the specified values.
+// - subscriptionID - The ID of the target subscription.
+// - credential - used to authorize requests. Usually a credential from azidentity.
+// - options - pass nil to accept the default values.
+func NewTaskAssignmentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*TaskAssignmentsClient, error) {
+ cl, err := arm.NewClient(moduleName, moduleVersion, credential, options)
+ if err != nil {
+ return nil, err
+ }
+ client := &TaskAssignmentsClient{
+ subscriptionID: subscriptionID,
+ internal: cl,
+ }
+ return client, nil
+}
+
+// BeginCreate - Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage
+// task assignment is already created and a subsequent create request is issued with
+// different properties, the storage task assignment properties will be updated. If a storage task assignment is already created
+// and a subsequent create or update request is issued with the exact same
+// set of properties, the request will succeed.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment
+// names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
+// - parameters - The parameters to create a Storage Task Assignment.
+// - options - TaskAssignmentsClientBeginCreateOptions contains the optional parameters for the TaskAssignmentsClient.BeginCreate
+// method.
+func (client *TaskAssignmentsClient) BeginCreate(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, parameters TaskAssignment, options *TaskAssignmentsClientBeginCreateOptions) (*runtime.Poller[TaskAssignmentsClientCreateResponse], error) {
+ if options == nil || options.ResumeToken == "" {
+ resp, err := client.create(ctx, resourceGroupName, accountName, storageTaskAssignmentName, parameters, options)
+ if err != nil {
+ return nil, err
+ }
+ poller, err := runtime.NewPoller(resp, client.internal.Pipeline(), &runtime.NewPollerOptions[TaskAssignmentsClientCreateResponse]{
+ FinalStateVia: runtime.FinalStateViaLocation,
+ Tracer: client.internal.Tracer(),
+ })
+ return poller, err
+ } else {
+ return runtime.NewPollerFromResumeToken(options.ResumeToken, client.internal.Pipeline(), &runtime.NewPollerFromResumeTokenOptions[TaskAssignmentsClientCreateResponse]{
+ Tracer: client.internal.Tracer(),
+ })
+ }
+}
+
+// Create - Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage
+// task assignment is already created and a subsequent create request is issued with
+// different properties, the storage task assignment properties will be updated. If a storage task assignment is already created
+// and a subsequent create or update request is issued with the exact same
+// set of properties, the request will succeed.
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+func (client *TaskAssignmentsClient) create(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, parameters TaskAssignment, options *TaskAssignmentsClientBeginCreateOptions) (*http.Response, error) {
+ var err error
+ const operationName = "TaskAssignmentsClient.BeginCreate"
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, operationName)
+ ctx, endSpan := runtime.StartSpan(ctx, operationName, client.internal.Tracer(), nil)
+ defer func() { endSpan(err) }()
+ req, err := client.createCreateRequest(ctx, resourceGroupName, accountName, storageTaskAssignmentName, parameters, options)
+ if err != nil {
+ return nil, err
+ }
+ httpResp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return nil, err
+ }
+ if !runtime.HasStatusCode(httpResp, http.StatusOK, http.StatusCreated, http.StatusAccepted) {
+ err = runtime.NewResponseError(httpResp)
+ return nil, err
+ }
+ return httpResp, nil
+}
+
+// createCreateRequest creates the Create request.
+func (client *TaskAssignmentsClient) createCreateRequest(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, parameters TaskAssignment, options *TaskAssignmentsClientBeginCreateOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if storageTaskAssignmentName == "" {
+ return nil, errors.New("parameter storageTaskAssignmentName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{storageTaskAssignmentName}", url.PathEscape(storageTaskAssignmentName))
+ req, err := runtime.NewRequest(ctx, http.MethodPut, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ if err := runtime.MarshalAsJSON(req, parameters); err != nil {
+ return nil, err
+ }
+ return req, nil
+}
+
+// BeginDelete - Delete the storage task assignment sub-resource
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment
+// names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
+// - options - TaskAssignmentsClientBeginDeleteOptions contains the optional parameters for the TaskAssignmentsClient.BeginDelete
+// method.
+func (client *TaskAssignmentsClient) BeginDelete(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentsClientBeginDeleteOptions) (*runtime.Poller[TaskAssignmentsClientDeleteResponse], error) {
+ if options == nil || options.ResumeToken == "" {
+ resp, err := client.deleteOperation(ctx, resourceGroupName, accountName, storageTaskAssignmentName, options)
+ if err != nil {
+ return nil, err
+ }
+ poller, err := runtime.NewPoller(resp, client.internal.Pipeline(), &runtime.NewPollerOptions[TaskAssignmentsClientDeleteResponse]{
+ FinalStateVia: runtime.FinalStateViaLocation,
+ Tracer: client.internal.Tracer(),
+ })
+ return poller, err
+ } else {
+ return runtime.NewPollerFromResumeToken(options.ResumeToken, client.internal.Pipeline(), &runtime.NewPollerFromResumeTokenOptions[TaskAssignmentsClientDeleteResponse]{
+ Tracer: client.internal.Tracer(),
+ })
+ }
+}
+
+// Delete - Delete the storage task assignment sub-resource
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+func (client *TaskAssignmentsClient) deleteOperation(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentsClientBeginDeleteOptions) (*http.Response, error) {
+ var err error
+ const operationName = "TaskAssignmentsClient.BeginDelete"
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, operationName)
+ ctx, endSpan := runtime.StartSpan(ctx, operationName, client.internal.Tracer(), nil)
+ defer func() { endSpan(err) }()
+ req, err := client.deleteCreateRequest(ctx, resourceGroupName, accountName, storageTaskAssignmentName, options)
+ if err != nil {
+ return nil, err
+ }
+ httpResp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return nil, err
+ }
+ if !runtime.HasStatusCode(httpResp, http.StatusAccepted, http.StatusNoContent) {
+ err = runtime.NewResponseError(httpResp)
+ return nil, err
+ }
+ return httpResp, nil
+}
+
+// deleteCreateRequest creates the Delete request.
+func (client *TaskAssignmentsClient) deleteCreateRequest(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentsClientBeginDeleteOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if storageTaskAssignmentName == "" {
+ return nil, errors.New("parameter storageTaskAssignmentName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{storageTaskAssignmentName}", url.PathEscape(storageTaskAssignmentName))
+ req, err := runtime.NewRequest(ctx, http.MethodDelete, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// Get - Get the storage task assignment properties
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment
+// names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
+// - options - TaskAssignmentsClientGetOptions contains the optional parameters for the TaskAssignmentsClient.Get method.
+func (client *TaskAssignmentsClient) Get(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentsClientGetOptions) (TaskAssignmentsClientGetResponse, error) {
+ var err error
+ const operationName = "TaskAssignmentsClient.Get"
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, operationName)
+ ctx, endSpan := runtime.StartSpan(ctx, operationName, client.internal.Tracer(), nil)
+ defer func() { endSpan(err) }()
+ req, err := client.getCreateRequest(ctx, resourceGroupName, accountName, storageTaskAssignmentName, options)
+ if err != nil {
+ return TaskAssignmentsClientGetResponse{}, err
+ }
+ httpResp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return TaskAssignmentsClientGetResponse{}, err
+ }
+ if !runtime.HasStatusCode(httpResp, http.StatusOK) {
+ err = runtime.NewResponseError(httpResp)
+ return TaskAssignmentsClientGetResponse{}, err
+ }
+ resp, err := client.getHandleResponse(httpResp)
+ return resp, err
+}
+
+// getCreateRequest creates the Get request.
+func (client *TaskAssignmentsClient) getCreateRequest(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, options *TaskAssignmentsClientGetOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if storageTaskAssignmentName == "" {
+ return nil, errors.New("parameter storageTaskAssignmentName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{storageTaskAssignmentName}", url.PathEscape(storageTaskAssignmentName))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// getHandleResponse handles the Get response.
+func (client *TaskAssignmentsClient) getHandleResponse(resp *http.Response) (TaskAssignmentsClientGetResponse, error) {
+ result := TaskAssignmentsClientGetResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.TaskAssignment); err != nil {
+ return TaskAssignmentsClientGetResponse{}, err
+ }
+ return result, nil
+}
+
+// NewListPager - List all the storage task assignments in an account
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - options - TaskAssignmentsClientListOptions contains the optional parameters for the TaskAssignmentsClient.NewListPager
+// method.
+func (client *TaskAssignmentsClient) NewListPager(resourceGroupName string, accountName string, options *TaskAssignmentsClientListOptions) *runtime.Pager[TaskAssignmentsClientListResponse] {
+ return runtime.NewPager(runtime.PagingHandler[TaskAssignmentsClientListResponse]{
+ More: func(page TaskAssignmentsClientListResponse) bool {
+ return page.NextLink != nil && len(*page.NextLink) > 0
+ },
+ Fetcher: func(ctx context.Context, page *TaskAssignmentsClientListResponse) (TaskAssignmentsClientListResponse, error) {
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, "TaskAssignmentsClient.NewListPager")
+ nextLink := ""
+ if page != nil {
+ nextLink = *page.NextLink
+ }
+ resp, err := runtime.FetcherForNextLink(ctx, client.internal.Pipeline(), nextLink, func(ctx context.Context) (*policy.Request, error) {
+ return client.listCreateRequest(ctx, resourceGroupName, accountName, options)
+ }, nil)
+ if err != nil {
+ return TaskAssignmentsClientListResponse{}, err
+ }
+ return client.listHandleResponse(resp)
+ },
+ Tracer: client.internal.Tracer(),
+ })
+}
+
+// listCreateRequest creates the List request.
+func (client *TaskAssignmentsClient) listCreateRequest(ctx context.Context, resourceGroupName string, accountName string, options *TaskAssignmentsClientListOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", strconv.FormatInt(int64(*options.Maxpagesize), 10))
+ }
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listHandleResponse handles the List response.
+func (client *TaskAssignmentsClient) listHandleResponse(resp *http.Response) (TaskAssignmentsClientListResponse, error) {
+ result := TaskAssignmentsClientListResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.TaskAssignmentsList); err != nil {
+ return TaskAssignmentsClientListResponse{}, err
+ }
+ return result, nil
+}
+
+// BeginUpdate - Update storage task assignment properties
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment
+// names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
+// - parameters - The parameters to update a Storage Task Assignment.
+// - options - TaskAssignmentsClientBeginUpdateOptions contains the optional parameters for the TaskAssignmentsClient.BeginUpdate
+// method.
+func (client *TaskAssignmentsClient) BeginUpdate(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, parameters TaskAssignmentUpdateParameters, options *TaskAssignmentsClientBeginUpdateOptions) (*runtime.Poller[TaskAssignmentsClientUpdateResponse], error) {
+ if options == nil || options.ResumeToken == "" {
+ resp, err := client.update(ctx, resourceGroupName, accountName, storageTaskAssignmentName, parameters, options)
+ if err != nil {
+ return nil, err
+ }
+ poller, err := runtime.NewPoller(resp, client.internal.Pipeline(), &runtime.NewPollerOptions[TaskAssignmentsClientUpdateResponse]{
+ FinalStateVia: runtime.FinalStateViaLocation,
+ Tracer: client.internal.Tracer(),
+ })
+ return poller, err
+ } else {
+ return runtime.NewPollerFromResumeToken(options.ResumeToken, client.internal.Pipeline(), &runtime.NewPollerFromResumeTokenOptions[TaskAssignmentsClientUpdateResponse]{
+ Tracer: client.internal.Tracer(),
+ })
+ }
+}
+
+// Update - Update storage task assignment properties
+// If the operation fails it returns an *azcore.ResponseError type.
+//
+// Generated from API version 2023-05-01
+func (client *TaskAssignmentsClient) update(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, parameters TaskAssignmentUpdateParameters, options *TaskAssignmentsClientBeginUpdateOptions) (*http.Response, error) {
+ var err error
+ const operationName = "TaskAssignmentsClient.BeginUpdate"
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, operationName)
+ ctx, endSpan := runtime.StartSpan(ctx, operationName, client.internal.Tracer(), nil)
+ defer func() { endSpan(err) }()
+ req, err := client.updateCreateRequest(ctx, resourceGroupName, accountName, storageTaskAssignmentName, parameters, options)
+ if err != nil {
+ return nil, err
+ }
+ httpResp, err := client.internal.Pipeline().Do(req)
+ if err != nil {
+ return nil, err
+ }
+ if !runtime.HasStatusCode(httpResp, http.StatusOK, http.StatusAccepted) {
+ err = runtime.NewResponseError(httpResp)
+ return nil, err
+ }
+ return httpResp, nil
+}
+
+// updateCreateRequest creates the Update request.
+func (client *TaskAssignmentsClient) updateCreateRequest(ctx context.Context, resourceGroupName string, accountName string, storageTaskAssignmentName string, parameters TaskAssignmentUpdateParameters, options *TaskAssignmentsClientBeginUpdateOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments/{storageTaskAssignmentName}"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ if storageTaskAssignmentName == "" {
+ return nil, errors.New("parameter storageTaskAssignmentName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{storageTaskAssignmentName}", url.PathEscape(storageTaskAssignmentName))
+ req, err := runtime.NewRequest(ctx, http.MethodPatch, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ if err := runtime.MarshalAsJSON(req, parameters); err != nil {
+ return nil, err
+ }
+ return req, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignmentsinstancesreport_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignmentsinstancesreport_client.go
new file mode 100644
index 0000000000..28473744f1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/taskassignmentsinstancesreport_client.go
@@ -0,0 +1,117 @@
+//go:build go1.18
+// +build go1.18
+
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for license information.
+// Code generated by Microsoft (R) AutoRest Code Generator. DO NOT EDIT.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+package armstorage
+
+import (
+ "context"
+ "errors"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
+ "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime"
+ "net/http"
+ "net/url"
+ "strconv"
+ "strings"
+)
+
+// TaskAssignmentsInstancesReportClient contains the methods for the StorageTaskAssignmentsInstancesReport group.
+// Don't use this type directly, use NewTaskAssignmentsInstancesReportClient() instead.
+type TaskAssignmentsInstancesReportClient struct {
+ internal *arm.Client
+ subscriptionID string
+}
+
+// NewTaskAssignmentsInstancesReportClient creates a new instance of TaskAssignmentsInstancesReportClient with the specified values.
+// - subscriptionID - The ID of the target subscription.
+// - credential - used to authorize requests. Usually a credential from azidentity.
+// - options - pass nil to accept the default values.
+func NewTaskAssignmentsInstancesReportClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*TaskAssignmentsInstancesReportClient, error) {
+ cl, err := arm.NewClient(moduleName, moduleVersion, credential, options)
+ if err != nil {
+ return nil, err
+ }
+ client := &TaskAssignmentsInstancesReportClient{
+ subscriptionID: subscriptionID,
+ internal: cl,
+ }
+ return client, nil
+}
+
+// NewListPager - Fetch the report summary of all the storage task assignments and instances in an account
+//
+// Generated from API version 2023-05-01
+// - resourceGroupName - The name of the resource group. The name is case insensitive.
+// - accountName - The name of the storage account within the specified resource group. Storage account names must be between
+// 3 and 24 characters in length and use numbers and lower-case letters only.
+// - options - TaskAssignmentsInstancesReportClientListOptions contains the optional parameters for the TaskAssignmentsInstancesReportClient.NewListPager
+// method.
+func (client *TaskAssignmentsInstancesReportClient) NewListPager(resourceGroupName string, accountName string, options *TaskAssignmentsInstancesReportClientListOptions) *runtime.Pager[TaskAssignmentsInstancesReportClientListResponse] {
+ return runtime.NewPager(runtime.PagingHandler[TaskAssignmentsInstancesReportClientListResponse]{
+ More: func(page TaskAssignmentsInstancesReportClientListResponse) bool {
+ return page.NextLink != nil && len(*page.NextLink) > 0
+ },
+ Fetcher: func(ctx context.Context, page *TaskAssignmentsInstancesReportClientListResponse) (TaskAssignmentsInstancesReportClientListResponse, error) {
+ ctx = context.WithValue(ctx, runtime.CtxAPINameKey{}, "TaskAssignmentsInstancesReportClient.NewListPager")
+ nextLink := ""
+ if page != nil {
+ nextLink = *page.NextLink
+ }
+ resp, err := runtime.FetcherForNextLink(ctx, client.internal.Pipeline(), nextLink, func(ctx context.Context) (*policy.Request, error) {
+ return client.listCreateRequest(ctx, resourceGroupName, accountName, options)
+ }, nil)
+ if err != nil {
+ return TaskAssignmentsInstancesReportClientListResponse{}, err
+ }
+ return client.listHandleResponse(resp)
+ },
+ Tracer: client.internal.Tracer(),
+ })
+}
+
+// listCreateRequest creates the List request.
+func (client *TaskAssignmentsInstancesReportClient) listCreateRequest(ctx context.Context, resourceGroupName string, accountName string, options *TaskAssignmentsInstancesReportClientListOptions) (*policy.Request, error) {
+ urlPath := "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/reports"
+ if client.subscriptionID == "" {
+ return nil, errors.New("parameter client.subscriptionID cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{subscriptionId}", url.PathEscape(client.subscriptionID))
+ if resourceGroupName == "" {
+ return nil, errors.New("parameter resourceGroupName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{resourceGroupName}", url.PathEscape(resourceGroupName))
+ if accountName == "" {
+ return nil, errors.New("parameter accountName cannot be empty")
+ }
+ urlPath = strings.ReplaceAll(urlPath, "{accountName}", url.PathEscape(accountName))
+ req, err := runtime.NewRequest(ctx, http.MethodGet, runtime.JoinPaths(client.internal.Endpoint(), urlPath))
+ if err != nil {
+ return nil, err
+ }
+ reqQP := req.Raw().URL.Query()
+ if options != nil && options.Filter != nil {
+ reqQP.Set("$filter", *options.Filter)
+ }
+ if options != nil && options.Maxpagesize != nil {
+ reqQP.Set("$maxpagesize", strconv.FormatInt(int64(*options.Maxpagesize), 10))
+ }
+ reqQP.Set("api-version", "2023-05-01")
+ req.Raw().URL.RawQuery = reqQP.Encode()
+ req.Raw().Header["Accept"] = []string{"application/json"}
+ return req, nil
+}
+
+// listHandleResponse handles the List response.
+func (client *TaskAssignmentsInstancesReportClient) listHandleResponse(resp *http.Response) (TaskAssignmentsInstancesReportClientListResponse, error) {
+ result := TaskAssignmentsInstancesReportClientListResponse{}
+ if err := runtime.UnmarshalAsJSON(resp, &result.TaskReportSummary); err != nil {
+ return TaskAssignmentsInstancesReportClientListResponse{}, err
+ }
+ return result, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/time_rfc3339.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/time_rfc3339.go
index 201ffd2553..14fb2098b5 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/time_rfc3339.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/time_rfc3339.go
@@ -19,12 +19,16 @@ import (
)
// Azure reports time in UTC but it doesn't include the 'Z' time zone suffix in some cases.
-var tzOffsetRegex = regexp.MustCompile(`(Z|z|\+|-)(\d+:\d+)*"*$`)
+var tzOffsetRegex = regexp.MustCompile(`(?:Z|z|\+|-)(?:\d+:\d+)*"*$`)
const (
- utcDateTimeJSON = `"2006-01-02T15:04:05.999999999"`
- utcDateTime = "2006-01-02T15:04:05.999999999"
- dateTimeJSON = `"` + time.RFC3339Nano + `"`
+ utcDateTime = "2006-01-02T15:04:05.999999999"
+ utcDateTimeJSON = `"` + utcDateTime + `"`
+ utcDateTimeNoT = "2006-01-02 15:04:05.999999999"
+ utcDateTimeJSONNoT = `"` + utcDateTimeNoT + `"`
+ dateTimeNoT = `2006-01-02 15:04:05.999999999Z07:00`
+ dateTimeJSON = `"` + time.RFC3339Nano + `"`
+ dateTimeJSONNoT = `"` + dateTimeNoT + `"`
)
type dateTimeRFC3339 time.Time
@@ -40,17 +44,33 @@ func (t dateTimeRFC3339) MarshalText() ([]byte, error) {
}
func (t *dateTimeRFC3339) UnmarshalJSON(data []byte) error {
- layout := utcDateTimeJSON
- if tzOffsetRegex.Match(data) {
+ tzOffset := tzOffsetRegex.Match(data)
+ hasT := strings.Contains(string(data), "T") || strings.Contains(string(data), "t")
+ var layout string
+ if tzOffset && hasT {
layout = dateTimeJSON
+ } else if tzOffset {
+ layout = dateTimeJSONNoT
+ } else if hasT {
+ layout = utcDateTimeJSON
+ } else {
+ layout = utcDateTimeJSONNoT
}
return t.Parse(layout, string(data))
}
func (t *dateTimeRFC3339) UnmarshalText(data []byte) error {
- layout := utcDateTime
- if tzOffsetRegex.Match(data) {
+ tzOffset := tzOffsetRegex.Match(data)
+ hasT := strings.Contains(string(data), "T") || strings.Contains(string(data), "t")
+ var layout string
+ if tzOffset && hasT {
layout = time.RFC3339Nano
+ } else if tzOffset {
+ layout = dateTimeNoT
+ } else if hasT {
+ layout = utcDateTime
+ } else {
+ layout = utcDateTimeNoT
}
return t.Parse(layout, string(data))
}
@@ -61,6 +81,10 @@ func (t *dateTimeRFC3339) Parse(layout, value string) error {
return err
}
+func (t dateTimeRFC3339) String() string {
+ return time.Time(t).Format(time.RFC3339Nano)
+}
+
func populateDateTimeRFC3339(m map[string]any, k string, t *time.Time) {
if t == nil {
return
@@ -74,7 +98,7 @@ func populateDateTimeRFC3339(m map[string]any, k string, t *time.Time) {
}
func unpopulateDateTimeRFC3339(data json.RawMessage, fn string, t **time.Time) error {
- if data == nil || strings.EqualFold(string(data), "null") {
+ if data == nil || string(data) == "null" {
return nil
}
var aux dateTimeRFC3339
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/usages_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/usages_client.go
index 2f4a974fa0..e00dba24d5 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/usages_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage/usages_client.go
@@ -45,7 +45,7 @@ func NewUsagesClient(subscriptionID string, credential azcore.TokenCredential, o
// NewListByLocationPager - Gets the current usage count and the limit for the resources of the location under the subscription.
//
-// Generated from API version 2023-01-01
+// Generated from API version 2023-05-01
// - location - The location of the Azure Storage resource.
// - options - UsagesClientListByLocationOptions contains the optional parameters for the UsagesClient.NewListByLocationPager
// method.
@@ -89,7 +89,7 @@ func (client *UsagesClient) listByLocationCreateRequest(ctx context.Context, loc
return nil, err
}
reqQP := req.Raw().URL.Query()
- reqQP.Set("api-version", "2023-01-01")
+ reqQP.Set("api-version", "2023-05-01")
req.Raw().URL.RawQuery = reqQP.Encode()
req.Raw().Header["Accept"] = []string{"application/json"}
return req, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_spec_arm_types_gen.go
index 5cd0b01975..8a768670b6 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_spec_arm_types_gen.go
@@ -199,6 +199,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -403,6 +408,13 @@ const (
ManagedClusterIdentity_Type_UserAssigned = ManagedClusterIdentity_Type("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type
+var managedClusterIdentity_Type_Values = map[string]ManagedClusterIdentity_Type{
+ "none": ManagedClusterIdentity_Type_None,
+ "systemassigned": ManagedClusterIdentity_Type_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_UserAssigned,
+}
+
// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
// identity integration.
type ManagedClusterPodIdentityProfile_ARM struct {
@@ -499,6 +511,11 @@ type ManagedClusterSKU_Name string
const ManagedClusterSKU_Name_Basic = ManagedClusterSKU_Name("Basic")
+// Mapping from string to ManagedClusterSKU_Name
+var managedClusterSKU_Name_Values = map[string]ManagedClusterSKU_Name{
+ "basic": ManagedClusterSKU_Name_Basic,
+}
+
// +kubebuilder:validation:Enum={"Free","Paid"}
type ManagedClusterSKU_Tier string
@@ -507,6 +524,12 @@ const (
ManagedClusterSKU_Tier_Paid = ManagedClusterSKU_Tier("Paid")
)
+// Mapping from string to ManagedClusterSKU_Tier
+var managedClusterSKU_Tier_Values = map[string]ManagedClusterSKU_Tier{
+ "free": ManagedClusterSKU_Tier_Free,
+ "paid": ManagedClusterSKU_Tier_Paid,
+}
+
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_ARM struct {
// AdminPassword: Specifies the password of the administrator account.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_status_arm_types_gen.go
index 9af483e4a0..52723c7039 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_status_arm_types_gen.go
@@ -220,6 +220,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_STATUS_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -446,6 +451,13 @@ const (
ManagedClusterIdentity_Type_STATUS_UserAssigned = ManagedClusterIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type_STATUS
+var managedClusterIdentity_Type_STATUS_Values = map[string]ManagedClusterIdentity_Type_STATUS{
+ "none": ManagedClusterIdentity_Type_STATUS_None,
+ "systemassigned": ManagedClusterIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_STATUS_UserAssigned,
+}
+
type ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -546,6 +558,11 @@ type ManagedClusterSKU_Name_STATUS string
const ManagedClusterSKU_Name_STATUS_Basic = ManagedClusterSKU_Name_STATUS("Basic")
+// Mapping from string to ManagedClusterSKU_Name_STATUS
+var managedClusterSKU_Name_STATUS_Values = map[string]ManagedClusterSKU_Name_STATUS{
+ "basic": ManagedClusterSKU_Name_STATUS_Basic,
+}
+
type ManagedClusterSKU_Tier_STATUS string
const (
@@ -553,20 +570,14 @@ const (
ManagedClusterSKU_Tier_STATUS_Paid = ManagedClusterSKU_Tier_STATUS("Paid")
)
+// Mapping from string to ManagedClusterSKU_Tier_STATUS
+var managedClusterSKU_Tier_STATUS_Values = map[string]ManagedClusterSKU_Tier_STATUS{
+ "free": ManagedClusterSKU_Tier_STATUS_Free,
+ "paid": ManagedClusterSKU_Tier_STATUS_Paid,
+}
+
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS_ARM struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_types_gen.go
index 60c8c12c74..8afbc31746 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_cluster_types_gen.go
@@ -5,7 +5,7 @@ package v1api20210501
import (
"fmt"
- v20210501s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -50,7 +50,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20210501s.ManagedCluster
+ var source storage.ManagedCluster
err := source.ConvertFrom(hub)
if err != nil {
@@ -68,7 +68,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20210501s.ManagedCluster
+ var destination storage.ManagedCluster
err := cluster.AssignProperties_To_ManagedCluster(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from cluster")
@@ -275,7 +275,7 @@ func (cluster *ManagedCluster) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20210501s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -301,13 +301,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20210501s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20210501s.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -315,7 +315,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20210501s.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -1038,14 +1038,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20210501s.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20210501s.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1062,14 +1062,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20210501s.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20210501s.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1085,7 +1085,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20210501s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// AadProfile
if source.AadProfile != nil {
@@ -1393,13 +1393,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20210501s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20210501s.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -1411,11 +1411,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20210501s.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20210501s.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -1429,11 +1429,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20210501s.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20210501s.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -1447,7 +1447,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20210501s.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -1459,7 +1459,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20210501s.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -1471,7 +1471,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20210501s.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -1521,7 +1521,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20210501s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -1536,7 +1536,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20210501s.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -1548,7 +1548,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20210501s.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -1560,11 +1560,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20210501s.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20210501s.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -1581,7 +1581,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20210501s.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -1596,7 +1596,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20210501s.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -1611,7 +1611,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20210501s.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -1634,7 +1634,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20210501s.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -1646,11 +1646,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20210501s.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20210501s.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -1664,7 +1664,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20210501s.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -1676,7 +1676,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20210501s.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -1691,7 +1691,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20210501s.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -1849,14 +1849,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20210501s.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20210501s.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1873,14 +1873,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20210501s.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20210501s.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -2310,7 +2310,7 @@ func (cluster *ManagedCluster_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20210501s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// AadProfile
if source.AadProfile != nil {
@@ -2629,13 +2629,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20210501s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20210501s.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -2647,11 +2647,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20210501s.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20210501s.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -2665,11 +2665,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20210501s.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20210501s.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -2683,7 +2683,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20210501s.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -2695,7 +2695,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20210501s.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -2707,7 +2707,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20210501s.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -2755,7 +2755,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20210501s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -2773,7 +2773,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20210501s.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -2788,7 +2788,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20210501s.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -2800,11 +2800,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20210501s.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20210501s.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -2821,7 +2821,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20210501s.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -2842,7 +2842,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20210501s.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -2857,7 +2857,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20210501s.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -2869,7 +2869,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20210501s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -2884,11 +2884,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20210501s.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20210501s.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -2905,7 +2905,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20210501s.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -2917,7 +2917,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20210501s.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -2935,7 +2935,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20210501s.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -3029,7 +3029,7 @@ func (profile *ContainerServiceLinuxProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20210501s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// AdminUsername
if source.AdminUsername != nil {
@@ -3056,7 +3056,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20210501s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3070,7 +3070,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20210501s.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -3136,7 +3136,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20210501s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -3158,7 +3158,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20210501s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3167,7 +3167,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20210501s.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -3388,7 +3388,7 @@ func (profile *ContainerServiceNetworkProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20210501s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// DnsServiceIP
if source.DnsServiceIP != nil {
@@ -3420,40 +3420,45 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, containerServiceNetworkProfile_LoadBalancerSku_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, containerServiceNetworkProfile_NetworkMode_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := ContainerServiceNetworkProfile_NetworkPlugin(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, containerServiceNetworkProfile_NetworkPlugin_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, containerServiceNetworkProfile_NetworkPolicy_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -3479,7 +3484,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20210501s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3501,7 +3506,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20210501s.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -3701,7 +3706,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20210501s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// DnsServiceIP
profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
@@ -3723,40 +3728,45 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku_STATUS(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, containerServiceNetworkProfile_LoadBalancerSku_STATUS_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode_STATUS(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, containerServiceNetworkProfile_NetworkMode_STATUS_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := ContainerServiceNetworkProfile_NetworkPlugin_STATUS(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, containerServiceNetworkProfile_NetworkPlugin_STATUS_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy_STATUS(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, containerServiceNetworkProfile_NetworkPolicy_STATUS_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType_STATUS(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_STATUS_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -3772,7 +3782,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20210501s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3784,7 +3794,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20210501s.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -3912,15 +3922,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20210501s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -3930,7 +3941,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20210501s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3996,15 +4007,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20210501s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -4014,7 +4026,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20210501s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4175,7 +4187,7 @@ func (profile *ManagedClusterAADProfile) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20210501s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -4213,7 +4225,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20210501s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4344,7 +4356,7 @@ func (profile *ManagedClusterAADProfile_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20210501s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -4382,7 +4394,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20210501s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4494,7 +4506,7 @@ func (profile *ManagedClusterAddonProfile) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20210501s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -4512,7 +4524,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20210501s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4594,7 +4606,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20210501s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -4624,7 +4636,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20210501s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4641,7 +4653,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20210501s.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -5270,7 +5282,7 @@ func (profile *ManagedClusterAgentPoolProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20210501s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -5320,8 +5332,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -5340,8 +5353,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -5369,8 +5383,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -5410,24 +5425,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -5445,16 +5463,18 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -5472,8 +5492,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -5506,7 +5527,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20210501s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5566,7 +5587,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20210501s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -5586,7 +5607,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20210501s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -5718,7 +5739,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20210501s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -6152,7 +6173,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20210501s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -6202,8 +6223,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -6222,8 +6244,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -6251,8 +6274,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -6280,24 +6304,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -6325,16 +6352,18 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -6352,8 +6381,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Type
if source.Type != nil {
- typeVar := AgentPoolType_STATUS(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_STATUS_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -6381,7 +6411,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20210501s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6441,7 +6471,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20210501s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -6461,7 +6491,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20210501s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -6538,7 +6568,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20210501s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -6591,7 +6621,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20210501s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -6712,7 +6742,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20210501s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -6741,7 +6771,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20210501s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6840,7 +6870,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20210501s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -6869,7 +6899,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20210501s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6953,12 +6983,13 @@ func (profile *ManagedClusterAutoUpgradeProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20210501s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -6968,7 +6999,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20210501s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7023,12 +7054,13 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20210501s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -7038,7 +7070,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20210501s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7150,7 +7182,7 @@ func (config *ManagedClusterHTTPProxyConfig) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20210501s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -7169,7 +7201,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20210501s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7253,7 +7285,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20210501s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -7272,7 +7304,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20210501s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7363,12 +7395,13 @@ func (identity *ManagedClusterIdentity) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20210501s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -7396,7 +7429,7 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20210501s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7410,11 +7443,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20210501s.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20210501s.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -7504,7 +7537,7 @@ func (identity *ManagedClusterIdentity_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20210501s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// PrincipalId
identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
@@ -7514,8 +7547,9 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -7543,7 +7577,7 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20210501s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7563,11 +7597,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20210501s.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20210501s.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -7597,7 +7631,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20210501s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// Secrets
if source.Secrets != nil {
@@ -7616,13 +7650,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20210501s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Secrets
if operator.Secrets != nil {
- var secret v20210501s.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -7752,7 +7786,7 @@ func (profile *ManagedClusterPodIdentityProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20210501s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -7811,7 +7845,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20210501s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7833,11 +7867,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20210501s.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20210501s.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -7851,11 +7885,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20210501s.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20210501s.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -7948,7 +7982,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20210501s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -8007,7 +8041,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20210501s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8029,11 +8063,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20210501s.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20210501s.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -8047,11 +8081,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20210501s.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20210501s.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -8369,15 +8403,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20210501s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -8432,7 +8467,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20210501s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8687,15 +8722,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) PopulateFromAR
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20210501s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander_STATUS(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -8750,7 +8786,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20210501s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8883,7 +8919,7 @@ func (profile *ManagedClusterServicePrincipalProfile) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20210501s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -8901,7 +8937,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20210501s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8958,7 +8994,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20210501s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -8968,7 +9004,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20210501s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9048,20 +9084,22 @@ func (clusterSKU *ManagedClusterSKU) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20210501s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -9071,7 +9109,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20210501s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9143,20 +9181,22 @@ func (clusterSKU *ManagedClusterSKU_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20210501s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name_STATUS(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_STATUS_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier_STATUS(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_STATUS_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -9166,7 +9206,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20210501s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9209,7 +9249,7 @@ type ManagedClusterWindowsProfile struct {
// Has a special character (Regex match [\W_])
// Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
// "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
// +kubebuilder:validation:Required
// AdminUsername: Specifies the name of the administrator account.
@@ -9241,7 +9281,11 @@ func (profile *ManagedClusterWindowsProfile) ConvertToARM(resolved genruntime.Co
// Set property "AdminPassword":
if profile.AdminPassword != nil {
- adminPassword := *profile.AdminPassword
+ adminPasswordSecret, err := resolved.ResolvedSecrets.Lookup(*profile.AdminPassword)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property AdminPassword")
+ }
+ adminPassword := adminPasswordSecret
result.AdminPassword = &adminPassword
}
@@ -9277,11 +9321,7 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
+ // no assignment for property "AdminPassword"
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
@@ -9306,10 +9346,15 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20210501s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -9324,8 +9369,9 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -9335,12 +9381,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20210501s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -9374,18 +9425,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -9418,12 +9457,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_STATUS_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
-
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
adminUsername := *typedInput.AdminUsername
@@ -9447,10 +9480,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20210501s.ManagedClusterWindowsProfile_STATUS) error {
-
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -9465,8 +9495,9 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType_STATUS(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_STATUS_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -9476,13 +9507,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20210501s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -9544,12 +9572,13 @@ func (state *PowerState_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20210501s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Code
if source.Code != nil {
- code := PowerState_Code_STATUS(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_STATUS_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -9559,7 +9588,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20210501s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9686,7 +9715,7 @@ func (resource *PrivateLinkResource) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20210501s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -9713,7 +9742,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20210501s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9823,7 +9852,7 @@ func (resource *PrivateLinkResource_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20210501s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -9848,7 +9877,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20210501s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9957,7 +9986,7 @@ func (identity *UserAssignedIdentity) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20210501s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -9978,7 +10007,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20210501s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10056,7 +10085,7 @@ func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20210501s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -10072,7 +10101,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20210501s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10104,6 +10133,12 @@ const (
ContainerServiceNetworkProfile_LoadBalancerSku_Standard = ContainerServiceNetworkProfile_LoadBalancerSku("standard")
)
+// Mapping from string to ContainerServiceNetworkProfile_LoadBalancerSku
+var containerServiceNetworkProfile_LoadBalancerSku_Values = map[string]ContainerServiceNetworkProfile_LoadBalancerSku{
+ "basic": ContainerServiceNetworkProfile_LoadBalancerSku_Basic,
+ "standard": ContainerServiceNetworkProfile_LoadBalancerSku_Standard,
+}
+
type ContainerServiceNetworkProfile_LoadBalancerSku_STATUS string
const (
@@ -10111,6 +10146,12 @@ const (
ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Standard = ContainerServiceNetworkProfile_LoadBalancerSku_STATUS("standard")
)
+// Mapping from string to ContainerServiceNetworkProfile_LoadBalancerSku_STATUS
+var containerServiceNetworkProfile_LoadBalancerSku_STATUS_Values = map[string]ContainerServiceNetworkProfile_LoadBalancerSku_STATUS{
+ "basic": ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Basic,
+ "standard": ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Standard,
+}
+
// +kubebuilder:validation:Enum={"bridge","transparent"}
type ContainerServiceNetworkProfile_NetworkMode string
@@ -10119,6 +10160,12 @@ const (
ContainerServiceNetworkProfile_NetworkMode_Transparent = ContainerServiceNetworkProfile_NetworkMode("transparent")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkMode
+var containerServiceNetworkProfile_NetworkMode_Values = map[string]ContainerServiceNetworkProfile_NetworkMode{
+ "bridge": ContainerServiceNetworkProfile_NetworkMode_Bridge,
+ "transparent": ContainerServiceNetworkProfile_NetworkMode_Transparent,
+}
+
type ContainerServiceNetworkProfile_NetworkMode_STATUS string
const (
@@ -10126,6 +10173,12 @@ const (
ContainerServiceNetworkProfile_NetworkMode_STATUS_Transparent = ContainerServiceNetworkProfile_NetworkMode_STATUS("transparent")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkMode_STATUS
+var containerServiceNetworkProfile_NetworkMode_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkMode_STATUS{
+ "bridge": ContainerServiceNetworkProfile_NetworkMode_STATUS_Bridge,
+ "transparent": ContainerServiceNetworkProfile_NetworkMode_STATUS_Transparent,
+}
+
// +kubebuilder:validation:Enum={"azure","kubenet"}
type ContainerServiceNetworkProfile_NetworkPlugin string
@@ -10134,6 +10187,12 @@ const (
ContainerServiceNetworkProfile_NetworkPlugin_Kubenet = ContainerServiceNetworkProfile_NetworkPlugin("kubenet")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPlugin
+var containerServiceNetworkProfile_NetworkPlugin_Values = map[string]ContainerServiceNetworkProfile_NetworkPlugin{
+ "azure": ContainerServiceNetworkProfile_NetworkPlugin_Azure,
+ "kubenet": ContainerServiceNetworkProfile_NetworkPlugin_Kubenet,
+}
+
type ContainerServiceNetworkProfile_NetworkPlugin_STATUS string
const (
@@ -10141,6 +10200,12 @@ const (
ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Kubenet = ContainerServiceNetworkProfile_NetworkPlugin_STATUS("kubenet")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPlugin_STATUS
+var containerServiceNetworkProfile_NetworkPlugin_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPlugin_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Azure,
+ "kubenet": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Kubenet,
+}
+
// +kubebuilder:validation:Enum={"azure","calico"}
type ContainerServiceNetworkProfile_NetworkPolicy string
@@ -10149,6 +10214,12 @@ const (
ContainerServiceNetworkProfile_NetworkPolicy_Calico = ContainerServiceNetworkProfile_NetworkPolicy("calico")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPolicy
+var containerServiceNetworkProfile_NetworkPolicy_Values = map[string]ContainerServiceNetworkProfile_NetworkPolicy{
+ "azure": ContainerServiceNetworkProfile_NetworkPolicy_Azure,
+ "calico": ContainerServiceNetworkProfile_NetworkPolicy_Calico,
+}
+
type ContainerServiceNetworkProfile_NetworkPolicy_STATUS string
const (
@@ -10156,6 +10227,12 @@ const (
ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Calico = ContainerServiceNetworkProfile_NetworkPolicy_STATUS("calico")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPolicy_STATUS
+var containerServiceNetworkProfile_NetworkPolicy_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPolicy_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Azure,
+ "calico": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Calico,
+}
+
// +kubebuilder:validation:Enum={"loadBalancer","userDefinedRouting"}
type ContainerServiceNetworkProfile_OutboundType string
@@ -10164,6 +10241,12 @@ const (
ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType
+var containerServiceNetworkProfile_OutboundType_Values = map[string]ContainerServiceNetworkProfile_OutboundType{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_LoadBalancer,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting,
+}
+
type ContainerServiceNetworkProfile_OutboundType_STATUS string
const (
@@ -10171,6 +10254,12 @@ const (
ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType_STATUS("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType_STATUS
+var containerServiceNetworkProfile_OutboundType_STATUS_Values = map[string]ContainerServiceNetworkProfile_OutboundType_STATUS{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting,
+}
+
// SSH configuration for Linux-based VMs running on Azure.
type ContainerServiceSshConfiguration struct {
// +kubebuilder:validation:Required
@@ -10225,7 +10314,7 @@ func (configuration *ContainerServiceSshConfiguration) PopulateFromARM(owner gen
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20210501s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -10250,17 +10339,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20210501s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20210501s.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20210501s.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -10318,7 +10407,7 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20210501s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -10343,17 +10432,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20210501s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20210501s.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20210501s.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -10387,6 +10476,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel
+var managedClusterAutoUpgradeProfile_UpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable,
+}
+
type ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS string
const (
@@ -10397,6 +10495,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable,
+}
+
type ManagedClusterIdentity_UserAssignedIdentities_STATUS struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -10436,7 +10543,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) Populate
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20210501s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// ClientId
identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -10449,7 +10556,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20210501s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10631,7 +10738,7 @@ func (profile *ManagedClusterLoadBalancerProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20210501s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// AllocatedOutboundPorts
if source.AllocatedOutboundPorts != nil {
@@ -10708,7 +10815,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20210501s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10722,11 +10829,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20210501s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20210501s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -10748,7 +10855,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20210501s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -10760,7 +10867,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -10772,7 +10879,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -10890,7 +10997,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20210501s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// AllocatedOutboundPorts
profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
@@ -10957,7 +11064,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20210501s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10966,11 +11073,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20210501s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20210501s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -10987,7 +11094,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20210501s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -10999,7 +11106,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -11011,7 +11118,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -11043,7 +11150,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20210501s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// AdminCredentials
if source.AdminCredentials != nil {
@@ -11066,7 +11173,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20210501s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11200,7 +11307,7 @@ func (identity *ManagedClusterPodIdentity) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20210501s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -11228,7 +11335,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20210501s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11237,7 +11344,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20210501s.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -11348,7 +11455,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20210501s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -11385,8 +11492,9 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ManagedClusterPodIdentity_ProvisioningState_STATUS(*source.ProvisioningState)
- identity.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, managedClusterPodIdentity_ProvisioningState_STATUS_Values)
+ identity.ProvisioningState = &provisioningStateTemp
} else {
identity.ProvisioningState = nil
}
@@ -11396,7 +11504,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20210501s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11405,7 +11513,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20210501s.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -11423,7 +11531,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20210501s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -11536,7 +11644,7 @@ func (exception *ManagedClusterPodIdentityException) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20210501s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -11552,7 +11660,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20210501s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11628,7 +11736,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20210501s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -11644,7 +11752,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20210501s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11678,6 +11786,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_Random = ManagedClusterProperties_AutoScalerProfile_Expander("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander
+var managedClusterProperties_AutoScalerProfile_Expander_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_Random,
+}
+
type ManagedClusterProperties_AutoScalerProfile_Expander_STATUS string
const (
@@ -11687,6 +11803,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random = ManagedClusterProperties_AutoScalerProfile_Expander_STATUS("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander_STATUS
+var managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander_STATUS{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random,
+}
+
// +kubebuilder:validation:Enum={"None","Windows_Server"}
type ManagedClusterWindowsProfile_LicenseType string
@@ -11695,6 +11819,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_Windows_Server = ManagedClusterWindowsProfile_LicenseType("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType
+var managedClusterWindowsProfile_LicenseType_Values = map[string]ManagedClusterWindowsProfile_LicenseType{
+ "none": ManagedClusterWindowsProfile_LicenseType_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_Windows_Server,
+}
+
type ManagedClusterWindowsProfile_LicenseType_STATUS string
const (
@@ -11702,6 +11832,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server = ManagedClusterWindowsProfile_LicenseType_STATUS("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType_STATUS
+var managedClusterWindowsProfile_LicenseType_STATUS_Values = map[string]ManagedClusterWindowsProfile_LicenseType_STATUS{
+ "none": ManagedClusterWindowsProfile_LicenseType_STATUS_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server,
+}
+
type PowerState_Code_STATUS string
const (
@@ -11709,13 +11845,19 @@ const (
PowerState_Code_STATUS_Stopped = PowerState_Code_STATUS("Stopped")
)
+// Mapping from string to PowerState_Code_STATUS
+var powerState_Code_STATUS_Values = map[string]PowerState_Code_STATUS{
+ "running": PowerState_Code_STATUS_Running,
+ "stopped": PowerState_Code_STATUS_Stopped,
+}
+
// Information about the user assigned identity for the resource
type UserAssignedIdentityDetails struct {
Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20210501s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Reference
details.Reference = source.Reference.Copy()
@@ -11725,7 +11867,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20210501s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11791,7 +11933,7 @@ func (publicKey *ContainerServiceSshPublicKey) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20210501s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -11801,7 +11943,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20210501s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11851,7 +11993,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20210501s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -11861,7 +12003,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20210501s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11927,7 +12069,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20210501s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Count
if source.Count != nil {
@@ -11942,7 +12084,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20210501s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11996,7 +12138,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) Populate
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20210501s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Count
iPs.Count = genruntime.ClonePointerToInt(source.Count)
@@ -12006,7 +12148,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20210501s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12076,7 +12218,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) PopulateFr
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -12101,17 +12243,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20210501s.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20210501s.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -12168,7 +12310,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Pop
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -12193,17 +12335,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20210501s.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20210501s.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -12278,7 +12420,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -12303,17 +12445,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20210501s.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20210501s.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -12370,7 +12512,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -12395,17 +12537,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20210501s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20210501s.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20210501s.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -12463,7 +12605,7 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20210501s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Error
if source.Error != nil {
@@ -12482,13 +12624,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20210501s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if info.Error != nil {
- var error v20210501s.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -12518,6 +12660,14 @@ const (
ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating = ManagedClusterPodIdentity_ProvisioningState_STATUS("Updating")
)
+// Mapping from string to ManagedClusterPodIdentity_ProvisioningState_STATUS
+var managedClusterPodIdentity_ProvisioningState_STATUS_Values = map[string]ManagedClusterPodIdentity_ProvisioningState_STATUS{
+ "assigned": ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned,
+ "deleting": ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting,
+ "failed": ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed,
+ "updating": ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating,
+}
+
// A reference to an Azure resource.
type ResourceReference struct {
// Reference: The fully qualified Azure resource id.
@@ -12564,7 +12714,7 @@ func (reference *ResourceReference) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20210501s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Reference
if source.Reference != nil {
@@ -12579,7 +12729,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20210501s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12633,7 +12783,7 @@ func (reference *ResourceReference_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20210501s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Id
reference.Id = genruntime.ClonePointerToString(source.Id)
@@ -12643,7 +12793,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20210501s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12697,7 +12847,7 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20210501s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Error
if source.Error != nil {
@@ -12716,13 +12866,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20210501s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if error.Error != nil {
- var errorLocal v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -12805,7 +12955,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) PopulateFromA
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Code
body.Code = genruntime.ClonePointerToString(source.Code)
@@ -12839,7 +12989,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12848,11 +12998,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -12929,7 +13079,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Code
unrolled.Code = genruntime.ClonePointerToString(source.Code)
@@ -12945,7 +13095,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20210501s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_clusters_agent_pool_types_gen.go
index c2ffa7d39b..a1bf92a05d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/managed_clusters_agent_pool_types_gen.go
@@ -5,7 +5,7 @@ package v1api20210501
import (
"fmt"
- v20210501s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -50,7 +50,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20210501s.ManagedClustersAgentPool
+ var source storage.ManagedClustersAgentPool
err := source.ConvertFrom(hub)
if err != nil {
@@ -68,7 +68,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20210501s.ManagedClustersAgentPool
+ var destination storage.ManagedClustersAgentPool
err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from pool")
@@ -257,7 +257,7 @@ func (pool *ManagedClustersAgentPool) validateWriteOnceProperties(old runtime.Ob
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20210501s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -283,13 +283,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20210501s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20210501s.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -297,7 +297,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20210501s.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -1004,14 +1004,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20210501s.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20210501s.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1028,14 +1028,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20210501s.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20210501s.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1051,7 +1051,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20210501s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -1104,8 +1104,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -1124,8 +1125,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -1153,8 +1155,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -1186,24 +1189,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -1229,16 +1235,18 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -1256,8 +1264,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- pool.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ pool.Type = &typeTemp
} else {
pool.Type = nil
}
@@ -1290,7 +1299,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20210501s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1353,7 +1362,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20210501s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -1373,7 +1382,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20210501s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -1508,7 +1517,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20210501s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -1701,14 +1710,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20210501s.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20210501s.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1725,14 +1734,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20210501s.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20210501s.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -2132,7 +2141,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20210501s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -2185,8 +2194,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -2208,8 +2218,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -2237,8 +2248,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -2266,24 +2278,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -2305,8 +2320,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// PropertiesType
if source.PropertiesType != nil {
- propertiesType := AgentPoolType_STATUS(*source.PropertiesType)
- pool.PropertiesType = &propertiesType
+ propertiesType := *source.PropertiesType
+ propertiesTypeTemp := genruntime.ToEnum(propertiesType, agentPoolType_STATUS_Values)
+ pool.PropertiesType = &propertiesTypeTemp
} else {
pool.PropertiesType = nil
}
@@ -2319,16 +2335,18 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -2370,7 +2388,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20210501s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2436,7 +2454,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20210501s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -2456,7 +2474,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20210501s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -2533,7 +2551,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20210501s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -2589,7 +2607,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20210501s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -2626,6 +2644,12 @@ const (
AgentPoolMode_User = AgentPoolMode("User")
)
+// Mapping from string to AgentPoolMode
+var agentPoolMode_Values = map[string]AgentPoolMode{
+ "system": AgentPoolMode_System,
+ "user": AgentPoolMode_User,
+}
+
// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
type AgentPoolMode_STATUS string
@@ -2635,6 +2659,12 @@ const (
AgentPoolMode_STATUS_User = AgentPoolMode_STATUS("User")
)
+// Mapping from string to AgentPoolMode_STATUS
+var agentPoolMode_STATUS_Values = map[string]AgentPoolMode_STATUS{
+ "system": AgentPoolMode_STATUS_System,
+ "user": AgentPoolMode_STATUS_User,
+}
+
// The type of Agent Pool.
// +kubebuilder:validation:Enum={"AvailabilitySet","VirtualMachineScaleSets"}
type AgentPoolType string
@@ -2644,6 +2674,12 @@ const (
AgentPoolType_VirtualMachineScaleSets = AgentPoolType("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType
+var agentPoolType_Values = map[string]AgentPoolType{
+ "availabilityset": AgentPoolType_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_VirtualMachineScaleSets,
+}
+
// The type of Agent Pool.
type AgentPoolType_STATUS string
@@ -2652,6 +2688,12 @@ const (
AgentPoolType_STATUS_VirtualMachineScaleSets = AgentPoolType_STATUS("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType_STATUS
+var agentPoolType_STATUS_Values = map[string]AgentPoolType_STATUS{
+ "availabilityset": AgentPoolType_STATUS_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_STATUS_VirtualMachineScaleSets,
+}
+
// Settings for upgrading an agentpool
type AgentPoolUpgradeSettings struct {
// MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
@@ -2701,7 +2743,7 @@ func (settings *AgentPoolUpgradeSettings) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20210501s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// MaxSurge
settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
@@ -2711,7 +2753,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20210501s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2763,7 +2805,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20210501s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// MaxSurge
settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
@@ -2773,7 +2815,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20210501s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2807,6 +2849,15 @@ const (
GPUInstanceProfile_MIG7G = GPUInstanceProfile("MIG7g")
)
+// Mapping from string to GPUInstanceProfile
+var gPUInstanceProfile_Values = map[string]GPUInstanceProfile{
+ "mig1g": GPUInstanceProfile_MIG1G,
+ "mig2g": GPUInstanceProfile_MIG2G,
+ "mig3g": GPUInstanceProfile_MIG3G,
+ "mig4g": GPUInstanceProfile_MIG4G,
+ "mig7g": GPUInstanceProfile_MIG7G,
+}
+
// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
type GPUInstanceProfile_STATUS string
@@ -2818,6 +2869,15 @@ const (
GPUInstanceProfile_STATUS_MIG7G = GPUInstanceProfile_STATUS("MIG7g")
)
+// Mapping from string to GPUInstanceProfile_STATUS
+var gPUInstanceProfile_STATUS_Values = map[string]GPUInstanceProfile_STATUS{
+ "mig1g": GPUInstanceProfile_STATUS_MIG1G,
+ "mig2g": GPUInstanceProfile_STATUS_MIG2G,
+ "mig3g": GPUInstanceProfile_STATUS_MIG3G,
+ "mig4g": GPUInstanceProfile_STATUS_MIG4G,
+ "mig7g": GPUInstanceProfile_STATUS_MIG7G,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type KubeletConfig struct {
// AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
@@ -3019,7 +3079,7 @@ func (config *KubeletConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20210501s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -3074,7 +3134,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202105
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20210501s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3263,7 +3323,7 @@ func (config *KubeletConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20210501s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -3313,7 +3373,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20210501s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3380,6 +3440,12 @@ const (
KubeletDiskType_Temporary = KubeletDiskType("Temporary")
)
+// Mapping from string to KubeletDiskType
+var kubeletDiskType_Values = map[string]KubeletDiskType{
+ "os": KubeletDiskType_OS,
+ "temporary": KubeletDiskType_Temporary,
+}
+
// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
type KubeletDiskType_STATUS string
@@ -3388,6 +3454,12 @@ const (
KubeletDiskType_STATUS_Temporary = KubeletDiskType_STATUS("Temporary")
)
+// Mapping from string to KubeletDiskType_STATUS
+var kubeletDiskType_STATUS_Values = map[string]KubeletDiskType_STATUS{
+ "os": KubeletDiskType_STATUS_OS,
+ "temporary": KubeletDiskType_STATUS_Temporary,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type LinuxOSConfig struct {
// SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
@@ -3492,7 +3564,7 @@ func (config *LinuxOSConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20210501s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -3520,7 +3592,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202105
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20210501s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3529,7 +3601,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20210501s.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -3623,7 +3695,7 @@ func (config *LinuxOSConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20210501s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -3651,7 +3723,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20210501s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3660,7 +3732,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20210501s.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -3698,6 +3770,12 @@ const (
OSDiskType_Managed = OSDiskType("Managed")
)
+// Mapping from string to OSDiskType
+var oSDiskType_Values = map[string]OSDiskType{
+ "ephemeral": OSDiskType_Ephemeral,
+ "managed": OSDiskType_Managed,
+}
+
// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
@@ -3708,6 +3786,12 @@ const (
OSDiskType_STATUS_Managed = OSDiskType_STATUS("Managed")
)
+// Mapping from string to OSDiskType_STATUS
+var oSDiskType_STATUS_Values = map[string]OSDiskType_STATUS{
+ "ephemeral": OSDiskType_STATUS_Ephemeral,
+ "managed": OSDiskType_STATUS_Managed,
+}
+
// Specifies an OS SKU. This value must not be specified if OSType is Windows.
// +kubebuilder:validation:Enum={"CBLMariner","Ubuntu"}
type OSSKU string
@@ -3717,6 +3801,12 @@ const (
OSSKU_Ubuntu = OSSKU("Ubuntu")
)
+// Mapping from string to OSSKU
+var oSSKU_Values = map[string]OSSKU{
+ "cblmariner": OSSKU_CBLMariner,
+ "ubuntu": OSSKU_Ubuntu,
+}
+
// Specifies an OS SKU. This value must not be specified if OSType is Windows.
type OSSKU_STATUS string
@@ -3725,6 +3815,12 @@ const (
OSSKU_STATUS_Ubuntu = OSSKU_STATUS("Ubuntu")
)
+// Mapping from string to OSSKU_STATUS
+var oSSKU_STATUS_Values = map[string]OSSKU_STATUS{
+ "cblmariner": OSSKU_STATUS_CBLMariner,
+ "ubuntu": OSSKU_STATUS_Ubuntu,
+}
+
// The operating system type. The default is Linux.
// +kubebuilder:validation:Enum={"Linux","Windows"}
type OSType string
@@ -3734,6 +3830,12 @@ const (
OSType_Windows = OSType("Windows")
)
+// Mapping from string to OSType
+var oSType_Values = map[string]OSType{
+ "linux": OSType_Linux,
+ "windows": OSType_Windows,
+}
+
// The operating system type. The default is Linux.
type OSType_STATUS string
@@ -3742,6 +3844,12 @@ const (
OSType_STATUS_Windows = OSType_STATUS("Windows")
)
+// Mapping from string to OSType_STATUS
+var oSType_STATUS_Values = map[string]OSType_STATUS{
+ "linux": OSType_STATUS_Linux,
+ "windows": OSType_STATUS_Windows,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
// +kubebuilder:validation:Enum={"Deallocate","Delete"}
@@ -3752,6 +3860,12 @@ const (
ScaleSetEvictionPolicy_Delete = ScaleSetEvictionPolicy("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy
+var scaleSetEvictionPolicy_Values = map[string]ScaleSetEvictionPolicy{
+ "deallocate": ScaleSetEvictionPolicy_Deallocate,
+ "delete": ScaleSetEvictionPolicy_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
type ScaleSetEvictionPolicy_STATUS string
@@ -3761,6 +3875,12 @@ const (
ScaleSetEvictionPolicy_STATUS_Delete = ScaleSetEvictionPolicy_STATUS("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy_STATUS
+var scaleSetEvictionPolicy_STATUS_Values = map[string]ScaleSetEvictionPolicy_STATUS{
+ "deallocate": ScaleSetEvictionPolicy_STATUS_Deallocate,
+ "delete": ScaleSetEvictionPolicy_STATUS_Delete,
+}
+
// The Virtual Machine Scale Set priority.
// +kubebuilder:validation:Enum={"Regular","Spot"}
type ScaleSetPriority string
@@ -3770,6 +3890,12 @@ const (
ScaleSetPriority_Spot = ScaleSetPriority("Spot")
)
+// Mapping from string to ScaleSetPriority
+var scaleSetPriority_Values = map[string]ScaleSetPriority{
+ "regular": ScaleSetPriority_Regular,
+ "spot": ScaleSetPriority_Spot,
+}
+
// The Virtual Machine Scale Set priority.
type ScaleSetPriority_STATUS string
@@ -3778,6 +3904,12 @@ const (
ScaleSetPriority_STATUS_Spot = ScaleSetPriority_STATUS("Spot")
)
+// Mapping from string to ScaleSetPriority_STATUS
+var scaleSetPriority_STATUS_Values = map[string]ScaleSetPriority_STATUS{
+ "regular": ScaleSetPriority_STATUS_Regular,
+ "spot": ScaleSetPriority_STATUS_Spot,
+}
+
// Sysctl settings for Linux agent nodes.
type SysctlConfig struct {
// FsAioMaxNr: Sysctl setting fs.aio-max-nr.
@@ -4229,7 +4361,7 @@ func (config *SysctlConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20210501s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -4325,7 +4457,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20210501
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20210501s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4703,7 +4835,7 @@ func (config *SysctlConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20210501s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -4799,7 +4931,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20210501s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_cluster_types_gen.go
index a57e65cc4a..b1f6946667 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_cluster_types_gen.go
@@ -4,7 +4,7 @@
package storage
import (
- v20230201s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
@@ -47,7 +47,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20230201s.ManagedCluster
+ var source storage.ManagedCluster
err := source.ConvertFrom(hub)
if err != nil {
@@ -65,7 +65,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20230201s.ManagedCluster
+ var destination storage.ManagedCluster
err := cluster.AssignProperties_To_ManagedCluster(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from cluster")
@@ -150,7 +150,7 @@ func (cluster *ManagedCluster) SetStatus(status genruntime.ConvertibleStatus) er
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20230201s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -185,13 +185,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20230201s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20230201s.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -199,7 +199,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20230201s.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -246,8 +246,8 @@ type APIVersion string
const APIVersion_Value = APIVersion("2021-05-01")
type augmentConversionForManagedCluster interface {
- AssignPropertiesFrom(src *v20230201s.ManagedCluster) error
- AssignPropertiesTo(dst *v20230201s.ManagedCluster) error
+ AssignPropertiesFrom(src *storage.ManagedCluster) error
+ AssignPropertiesTo(dst *storage.ManagedCluster) error
}
// Storage version of v1api20210501.ManagedCluster_Spec
@@ -301,14 +301,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230201s.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -325,14 +325,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230201s.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -348,7 +348,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20230201s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -731,13 +731,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20230201s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(cluster.PropertyBag)
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20230201s.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -749,11 +749,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20230201s.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20230201s.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -767,11 +767,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20230201s.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20230201s.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -785,7 +785,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20230201s.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -797,7 +797,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20230201s.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -809,7 +809,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20230201s.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -821,7 +821,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AzureMonitorProfile
if propertyBag.Contains("AzureMonitorProfile") {
- var azureMonitorProfile v20230201s.ManagedClusterAzureMonitorProfile
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
err := propertyBag.Pull("AzureMonitorProfile", &azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "pulling 'AzureMonitorProfile' from propertyBag")
@@ -884,7 +884,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20230201s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -899,7 +899,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20230201s.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -911,7 +911,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20230201s.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -923,11 +923,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20230201s.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20230201s.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -944,7 +944,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20230201s.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -959,7 +959,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20230201s.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -974,7 +974,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OidcIssuerProfile
if propertyBag.Contains("OidcIssuerProfile") {
- var oidcIssuerProfile v20230201s.ManagedClusterOIDCIssuerProfile
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
err := propertyBag.Pull("OidcIssuerProfile", &oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "pulling 'OidcIssuerProfile' from propertyBag")
@@ -987,7 +987,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20230201s.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -1010,7 +1010,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20230201s.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -1022,11 +1022,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20230201s.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20230201s.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -1053,7 +1053,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SecurityProfile
if propertyBag.Contains("SecurityProfile") {
- var securityProfile v20230201s.ManagedClusterSecurityProfile
+ var securityProfile storage.ManagedClusterSecurityProfile
err := propertyBag.Pull("SecurityProfile", &securityProfile)
if err != nil {
return errors.Wrap(err, "pulling 'SecurityProfile' from propertyBag")
@@ -1066,7 +1066,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20230201s.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -1078,7 +1078,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20230201s.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -1090,7 +1090,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// StorageProfile
if propertyBag.Contains("StorageProfile") {
- var storageProfile v20230201s.ManagedClusterStorageProfile
+ var storageProfile storage.ManagedClusterStorageProfile
err := propertyBag.Pull("StorageProfile", &storageProfile)
if err != nil {
return errors.Wrap(err, "pulling 'StorageProfile' from propertyBag")
@@ -1106,7 +1106,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20230201s.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -1118,7 +1118,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WorkloadAutoScalerProfile
if propertyBag.Contains("WorkloadAutoScalerProfile") {
- var workloadAutoScalerProfile v20230201s.ManagedClusterWorkloadAutoScalerProfile
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
err := propertyBag.Pull("WorkloadAutoScalerProfile", &workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "pulling 'WorkloadAutoScalerProfile' from propertyBag")
@@ -1196,14 +1196,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230201s.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1220,14 +1220,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230201s.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1243,7 +1243,7 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.Con
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20230201s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1636,13 +1636,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20230201s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(cluster.PropertyBag)
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20230201s.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -1654,11 +1654,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20230201s.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20230201s.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -1672,11 +1672,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20230201s.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20230201s.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -1690,7 +1690,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20230201s.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -1702,7 +1702,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -1714,7 +1714,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20230201s.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -1726,7 +1726,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AzureMonitorProfile
if propertyBag.Contains("AzureMonitorProfile") {
- var azureMonitorProfile v20230201s.ManagedClusterAzureMonitorProfile_STATUS
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
err := propertyBag.Pull("AzureMonitorProfile", &azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "pulling 'AzureMonitorProfile' from propertyBag")
@@ -1788,7 +1788,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20230201s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1806,7 +1806,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20230201s.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -1821,7 +1821,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20230201s.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -1833,11 +1833,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20230201s.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20230201s.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -1854,7 +1854,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20230201s.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -1875,7 +1875,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20230201s.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -1890,7 +1890,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// OidcIssuerProfile
if propertyBag.Contains("OidcIssuerProfile") {
- var oidcIssuerProfile v20230201s.ManagedClusterOIDCIssuerProfile_STATUS
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
err := propertyBag.Pull("OidcIssuerProfile", &oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "pulling 'OidcIssuerProfile' from propertyBag")
@@ -1903,7 +1903,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20230201s.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -1915,7 +1915,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20230201s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -1930,11 +1930,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20230201s.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20230201s.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -1964,7 +1964,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SecurityProfile
if propertyBag.Contains("SecurityProfile") {
- var securityProfile v20230201s.ManagedClusterSecurityProfile_STATUS
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
err := propertyBag.Pull("SecurityProfile", &securityProfile)
if err != nil {
return errors.Wrap(err, "pulling 'SecurityProfile' from propertyBag")
@@ -1977,7 +1977,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20230201s.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -1989,7 +1989,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20230201s.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -2001,7 +2001,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// StorageProfile
if propertyBag.Contains("StorageProfile") {
- var storageProfile v20230201s.ManagedClusterStorageProfile_STATUS
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
err := propertyBag.Pull("StorageProfile", &storageProfile)
if err != nil {
return errors.Wrap(err, "pulling 'StorageProfile' from propertyBag")
@@ -2014,7 +2014,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SystemData
if propertyBag.Contains("SystemData") {
- var systemDatum v20230201s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := propertyBag.Pull("SystemData", &systemDatum)
if err != nil {
return errors.Wrap(err, "pulling 'SystemData' from propertyBag")
@@ -2033,7 +2033,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20230201s.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -2045,7 +2045,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WorkloadAutoScalerProfile
if propertyBag.Contains("WorkloadAutoScalerProfile") {
- var workloadAutoScalerProfile v20230201s.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
err := propertyBag.Pull("WorkloadAutoScalerProfile", &workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "pulling 'WorkloadAutoScalerProfile' from propertyBag")
@@ -2077,13 +2077,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
}
type augmentConversionForManagedCluster_Spec interface {
- AssignPropertiesFrom(src *v20230201s.ManagedCluster_Spec) error
- AssignPropertiesTo(dst *v20230201s.ManagedCluster_Spec) error
+ AssignPropertiesFrom(src *storage.ManagedCluster_Spec) error
+ AssignPropertiesTo(dst *storage.ManagedCluster_Spec) error
}
type augmentConversionForManagedCluster_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedCluster_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedCluster_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedCluster_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedCluster_STATUS) error
}
// Storage version of v1api20210501.ContainerServiceLinuxProfile
@@ -2095,7 +2095,7 @@ type ContainerServiceLinuxProfile struct {
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20230201s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2135,7 +2135,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20230201s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2144,7 +2144,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20230201s.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -2183,7 +2183,7 @@ type ContainerServiceLinuxProfile_STATUS struct {
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20230201s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2223,7 +2223,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20230201s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2232,7 +2232,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20230201s.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -2279,7 +2279,7 @@ type ContainerServiceNetworkProfile struct {
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20230201s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2385,7 +2385,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20230201s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2410,7 +2410,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20230201s.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -2425,7 +2425,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// NatGatewayProfile
if propertyBag.Contains("NatGatewayProfile") {
- var natGatewayProfile v20230201s.ManagedClusterNATGatewayProfile
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
err := propertyBag.Pull("NatGatewayProfile", &natGatewayProfile)
if err != nil {
return errors.Wrap(err, "pulling 'NatGatewayProfile' from propertyBag")
@@ -2543,7 +2543,7 @@ type ContainerServiceNetworkProfile_STATUS struct {
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20230201s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2649,7 +2649,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20230201s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2674,7 +2674,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20230201s.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -2689,7 +2689,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// NatGatewayProfile
if propertyBag.Contains("NatGatewayProfile") {
- var natGatewayProfile v20230201s.ManagedClusterNATGatewayProfile_STATUS
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
err := propertyBag.Pull("NatGatewayProfile", &natGatewayProfile)
if err != nil {
return errors.Wrap(err, "pulling 'NatGatewayProfile' from propertyBag")
@@ -2799,7 +2799,7 @@ type ExtendedLocation struct {
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20230201s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2830,7 +2830,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20230201s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
@@ -2869,7 +2869,7 @@ type ExtendedLocation_STATUS struct {
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20230201s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2900,7 +2900,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20230201s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
@@ -2944,7 +2944,7 @@ type ManagedClusterAADProfile struct {
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20230201s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3000,7 +3000,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20230201s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3069,7 +3069,7 @@ type ManagedClusterAADProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20230201s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3125,7 +3125,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20230201s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3189,7 +3189,7 @@ type ManagedClusterAddonProfile struct {
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20230201s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3225,7 +3225,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20230201s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3270,7 +3270,7 @@ type ManagedClusterAddonProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20230201s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3318,7 +3318,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20230201s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3335,7 +3335,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20230201s.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -3417,7 +3417,7 @@ type ManagedClusterAgentPoolProfile struct {
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20230201s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3704,7 +3704,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20230201s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3716,7 +3716,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// CreationData
if propertyBag.Contains("CreationData") {
- var creationDatum v20230201s.CreationData
+ var creationDatum storage.CreationData
err := propertyBag.Pull("CreationData", &creationDatum)
if err != nil {
return errors.Wrap(err, "pulling 'CreationData' from propertyBag")
@@ -3785,7 +3785,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -3800,7 +3800,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -3888,7 +3888,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// PowerState
if propertyBag.Contains("PowerState") {
- var powerState v20230201s.PowerState
+ var powerState storage.PowerState
err := propertyBag.Pull("PowerState", &powerState)
if err != nil {
return errors.Wrap(err, "pulling 'PowerState' from propertyBag")
@@ -3954,7 +3954,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -4064,7 +4064,7 @@ type ManagedClusterAgentPoolProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20230201s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4301,7 +4301,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20230201s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4313,7 +4313,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// CreationData
if propertyBag.Contains("CreationData") {
- var creationDatum v20230201s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := propertyBag.Pull("CreationData", &creationDatum)
if err != nil {
return errors.Wrap(err, "pulling 'CreationData' from propertyBag")
@@ -4395,7 +4395,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -4410,7 +4410,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -4467,7 +4467,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20230201s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -4518,7 +4518,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -4578,7 +4578,7 @@ type ManagedClusterAPIServerAccessProfile struct {
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20230201s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4632,7 +4632,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20230201s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4702,7 +4702,7 @@ type ManagedClusterAPIServerAccessProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20230201s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4756,7 +4756,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20230201s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4823,7 +4823,7 @@ type ManagedClusterAutoUpgradeProfile struct {
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20230201s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4851,7 +4851,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20230201s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4886,7 +4886,7 @@ type ManagedClusterAutoUpgradeProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20230201s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4914,7 +4914,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20230201s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4952,7 +4952,7 @@ type ManagedClusterHTTPProxyConfig struct {
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20230201s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4989,7 +4989,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20230201s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -5036,7 +5036,7 @@ type ManagedClusterHTTPProxyConfig_STATUS struct {
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20230201s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5073,7 +5073,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20230201s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -5118,7 +5118,7 @@ type ManagedClusterIdentity struct {
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20230201s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5164,7 +5164,7 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20230201s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -5173,11 +5173,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230201s.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230201s.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -5220,7 +5220,7 @@ type ManagedClusterIdentity_STATUS struct {
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20230201s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5272,7 +5272,7 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20230201s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -5287,11 +5287,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -5331,7 +5331,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20230201s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5375,13 +5375,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20230201s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(operator.PropertyBag)
// ConfigMaps
if propertyBag.Contains("ConfigMaps") {
- var configMap v20230201s.ManagedClusterOperatorConfigMaps
+ var configMap storage.ManagedClusterOperatorConfigMaps
err := propertyBag.Pull("ConfigMaps", &configMap)
if err != nil {
return errors.Wrap(err, "pulling 'ConfigMaps' from propertyBag")
@@ -5394,7 +5394,7 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOp
// Secrets
if operator.Secrets != nil {
- var secret v20230201s.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -5436,7 +5436,7 @@ type ManagedClusterPodIdentityProfile struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20230201s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5513,7 +5513,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20230201s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -5535,11 +5535,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230201s.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230201s.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -5553,11 +5553,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20230201s.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20230201s.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -5601,7 +5601,7 @@ type ManagedClusterPodIdentityProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20230201s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5678,7 +5678,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20230201s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -5700,11 +5700,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230201s.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230201s.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -5718,11 +5718,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20230201s.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20230201s.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -5777,7 +5777,7 @@ type ManagedClusterProperties_AutoScalerProfile struct {
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20230201s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5853,7 +5853,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20230201s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -5951,7 +5951,7 @@ type ManagedClusterProperties_AutoScalerProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6027,7 +6027,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6111,7 +6111,7 @@ type ManagedClusterServicePrincipalProfile struct {
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20230201s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6147,7 +6147,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20230201s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6190,7 +6190,7 @@ type ManagedClusterServicePrincipalProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20230201s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6218,7 +6218,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20230201s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6254,7 +6254,7 @@ type ManagedClusterSKU struct {
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20230201s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6285,7 +6285,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20230201s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(clusterSKU.PropertyBag)
@@ -6324,7 +6324,7 @@ type ManagedClusterSKU_STATUS struct {
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20230201s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6355,7 +6355,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20230201s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(clusterSKU.PropertyBag)
@@ -6388,20 +6388,25 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSK
// Storage version of v1api20210501.ManagedClusterWindowsProfile
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
- AdminUsername *string `json:"adminUsername,omitempty"`
- EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
- LicenseType *string `json:"licenseType,omitempty"`
- PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20230201s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -6445,12 +6450,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20230201s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -6465,7 +6475,7 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// GmsaProfile
if propertyBag.Contains("GmsaProfile") {
- var gmsaProfile v20230201s.WindowsGmsaProfile
+ var gmsaProfile storage.WindowsGmsaProfile
err := propertyBag.Pull("GmsaProfile", &gmsaProfile)
if err != nil {
return errors.Wrap(err, "pulling 'GmsaProfile' from propertyBag")
@@ -6502,7 +6512,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Storage version of v1api20210501.ManagedClusterWindowsProfile_STATUS
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
AdminUsername *string `json:"adminUsername,omitempty"`
EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
LicenseType *string `json:"licenseType,omitempty"`
@@ -6510,13 +6519,10 @@ type ManagedClusterWindowsProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20230201s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
-
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -6559,13 +6565,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20230201s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -6579,7 +6582,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// GmsaProfile
if propertyBag.Contains("GmsaProfile") {
- var gmsaProfile v20230201s.WindowsGmsaProfile_STATUS
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
err := propertyBag.Pull("GmsaProfile", &gmsaProfile)
if err != nil {
return errors.Wrap(err, "pulling 'GmsaProfile' from propertyBag")
@@ -6621,7 +6624,7 @@ type PowerState_STATUS struct {
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20230201s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6649,7 +6652,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20230201s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(state.PropertyBag)
@@ -6690,7 +6693,7 @@ type PrivateLinkResource struct {
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20230201s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6735,7 +6738,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20230201s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
@@ -6792,7 +6795,7 @@ type PrivateLinkResource_STATUS struct {
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20230201s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6835,7 +6838,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20230201s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
@@ -6889,7 +6892,7 @@ type UserAssignedIdentity struct {
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20230201s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6928,7 +6931,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20230201s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -6976,7 +6979,7 @@ type UserAssignedIdentity_STATUS struct {
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20230201s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7010,7 +7013,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20230201s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -7044,183 +7047,183 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIde
}
type augmentConversionForContainerServiceLinuxProfile interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceLinuxProfile) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceLinuxProfile) error
+ AssignPropertiesFrom(src *storage.ContainerServiceLinuxProfile) error
+ AssignPropertiesTo(dst *storage.ContainerServiceLinuxProfile) error
}
type augmentConversionForContainerServiceLinuxProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceLinuxProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceLinuxProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceLinuxProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceLinuxProfile_STATUS) error
}
type augmentConversionForContainerServiceNetworkProfile interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceNetworkProfile) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceNetworkProfile) error
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile) error
}
type augmentConversionForContainerServiceNetworkProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceNetworkProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceNetworkProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_STATUS) error
}
type augmentConversionForExtendedLocation interface {
- AssignPropertiesFrom(src *v20230201s.ExtendedLocation) error
- AssignPropertiesTo(dst *v20230201s.ExtendedLocation) error
+ AssignPropertiesFrom(src *storage.ExtendedLocation) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation) error
}
type augmentConversionForExtendedLocation_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ExtendedLocation_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ExtendedLocation_STATUS) error
+ AssignPropertiesFrom(src *storage.ExtendedLocation_STATUS) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation_STATUS) error
}
type augmentConversionForManagedClusterAADProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAADProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAADProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAADProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAADProfile) error
}
type augmentConversionForManagedClusterAADProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAADProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAADProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAADProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAADProfile_STATUS) error
}
type augmentConversionForManagedClusterAddonProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAddonProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAddonProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAddonProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAddonProfile) error
}
type augmentConversionForManagedClusterAddonProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAddonProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAddonProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAddonProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAddonProfile_STATUS) error
}
type augmentConversionForManagedClusterAgentPoolProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAgentPoolProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAgentPoolProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAgentPoolProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAgentPoolProfile) error
}
type augmentConversionForManagedClusterAgentPoolProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAgentPoolProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAgentPoolProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAgentPoolProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAgentPoolProfile_STATUS) error
}
type augmentConversionForManagedClusterAPIServerAccessProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAPIServerAccessProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAPIServerAccessProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAPIServerAccessProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAPIServerAccessProfile) error
}
type augmentConversionForManagedClusterAPIServerAccessProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAPIServerAccessProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAPIServerAccessProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAPIServerAccessProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAPIServerAccessProfile_STATUS) error
}
type augmentConversionForManagedClusterAutoUpgradeProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAutoUpgradeProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAutoUpgradeProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAutoUpgradeProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAutoUpgradeProfile) error
}
type augmentConversionForManagedClusterAutoUpgradeProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterAutoUpgradeProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterAutoUpgradeProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAutoUpgradeProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAutoUpgradeProfile_STATUS) error
}
type augmentConversionForManagedClusterHTTPProxyConfig interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterHTTPProxyConfig) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterHTTPProxyConfig) error
+ AssignPropertiesFrom(src *storage.ManagedClusterHTTPProxyConfig) error
+ AssignPropertiesTo(dst *storage.ManagedClusterHTTPProxyConfig) error
}
type augmentConversionForManagedClusterHTTPProxyConfig_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterHTTPProxyConfig_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterHTTPProxyConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterHTTPProxyConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterHTTPProxyConfig_STATUS) error
}
type augmentConversionForManagedClusterIdentity interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterIdentity) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterIdentity) error
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity) error
}
type augmentConversionForManagedClusterIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterIdentity_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity_STATUS) error
}
type augmentConversionForManagedClusterOperatorSpec interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterOperatorSpec) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterOperatorSpec) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorSpec) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorSpec) error
}
type augmentConversionForManagedClusterPodIdentityProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProfile) error
}
type augmentConversionForManagedClusterPodIdentityProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProfile_STATUS) error
}
type augmentConversionForManagedClusterProperties_AutoScalerProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterProperties_AutoScalerProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterProperties_AutoScalerProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterProperties_AutoScalerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterProperties_AutoScalerProfile) error
}
type augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error
}
type augmentConversionForManagedClusterServicePrincipalProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterServicePrincipalProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterServicePrincipalProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterServicePrincipalProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterServicePrincipalProfile) error
}
type augmentConversionForManagedClusterServicePrincipalProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterServicePrincipalProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterServicePrincipalProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterServicePrincipalProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterServicePrincipalProfile_STATUS) error
}
type augmentConversionForManagedClusterSKU interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterSKU) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterSKU) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSKU) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSKU) error
}
type augmentConversionForManagedClusterSKU_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterSKU_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterSKU_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSKU_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSKU_STATUS) error
}
type augmentConversionForManagedClusterWindowsProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterWindowsProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterWindowsProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWindowsProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWindowsProfile) error
}
type augmentConversionForManagedClusterWindowsProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterWindowsProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterWindowsProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWindowsProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWindowsProfile_STATUS) error
}
type augmentConversionForPowerState_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.PowerState_STATUS) error
- AssignPropertiesTo(dst *v20230201s.PowerState_STATUS) error
+ AssignPropertiesFrom(src *storage.PowerState_STATUS) error
+ AssignPropertiesTo(dst *storage.PowerState_STATUS) error
}
type augmentConversionForPrivateLinkResource interface {
- AssignPropertiesFrom(src *v20230201s.PrivateLinkResource) error
- AssignPropertiesTo(dst *v20230201s.PrivateLinkResource) error
+ AssignPropertiesFrom(src *storage.PrivateLinkResource) error
+ AssignPropertiesTo(dst *storage.PrivateLinkResource) error
}
type augmentConversionForPrivateLinkResource_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.PrivateLinkResource_STATUS) error
- AssignPropertiesTo(dst *v20230201s.PrivateLinkResource_STATUS) error
+ AssignPropertiesFrom(src *storage.PrivateLinkResource_STATUS) error
+ AssignPropertiesTo(dst *storage.PrivateLinkResource_STATUS) error
}
type augmentConversionForUserAssignedIdentity interface {
- AssignPropertiesFrom(src *v20230201s.UserAssignedIdentity) error
- AssignPropertiesTo(dst *v20230201s.UserAssignedIdentity) error
+ AssignPropertiesFrom(src *storage.UserAssignedIdentity) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentity) error
}
type augmentConversionForUserAssignedIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.UserAssignedIdentity_STATUS) error
- AssignPropertiesTo(dst *v20230201s.UserAssignedIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.UserAssignedIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentity_STATUS) error
}
// Storage version of v1api20210501.ContainerServiceSshConfiguration
@@ -7231,7 +7234,7 @@ type ContainerServiceSshConfiguration struct {
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20230201s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7274,17 +7277,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20230201s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(configuration.PropertyBag)
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20230201s.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20230201s.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -7324,7 +7327,7 @@ type ContainerServiceSshConfiguration_STATUS struct {
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20230201s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7367,17 +7370,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20230201s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(configuration.PropertyBag)
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20230201s.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20230201s.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -7417,7 +7420,7 @@ type ManagedClusterIdentity_UserAssignedIdentities_STATUS struct {
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7448,7 +7451,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identities.PropertyBag)
@@ -7491,7 +7494,7 @@ type ManagedClusterLoadBalancerProfile struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20230201s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7583,7 +7586,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20230201s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -7592,11 +7595,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230201s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230201s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -7626,7 +7629,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -7638,7 +7641,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -7650,7 +7653,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -7693,7 +7696,7 @@ type ManagedClusterLoadBalancerProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7785,7 +7788,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -7794,11 +7797,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230201s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230201s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -7828,7 +7831,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -7840,7 +7843,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -7852,7 +7855,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -7890,7 +7893,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20230201s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7931,7 +7934,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20230201s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(secrets.PropertyBag)
@@ -7982,7 +7985,7 @@ type ManagedClusterPodIdentity struct {
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20230201s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8028,7 +8031,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20230201s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -8037,7 +8040,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20230201s.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -8086,7 +8089,7 @@ type ManagedClusterPodIdentity_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20230201s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8147,7 +8150,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20230201s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -8156,7 +8159,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20230201s.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -8174,7 +8177,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -8218,7 +8221,7 @@ type ManagedClusterPodIdentityException struct {
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20230201s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8252,7 +8255,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20230201s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(exception.PropertyBag)
@@ -8296,7 +8299,7 @@ type ManagedClusterPodIdentityException_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20230201s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8330,7 +8333,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20230201s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(exception.PropertyBag)
@@ -8371,7 +8374,7 @@ type UserAssignedIdentityDetails struct {
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20230201s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8399,7 +8402,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20230201s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(details.PropertyBag)
@@ -8427,58 +8430,58 @@ func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIden
}
type augmentConversionForContainerServiceSshConfiguration interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceSshConfiguration) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceSshConfiguration) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshConfiguration) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshConfiguration) error
}
type augmentConversionForContainerServiceSshConfiguration_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceSshConfiguration_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceSshConfiguration_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshConfiguration_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshConfiguration_STATUS) error
}
type augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_STATUS) error
}
type augmentConversionForManagedClusterOperatorSecrets interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterOperatorSecrets) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterOperatorSecrets) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorSecrets) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorSecrets) error
}
type augmentConversionForManagedClusterPodIdentity interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentity) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentity) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity) error
}
type augmentConversionForManagedClusterPodIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentity_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity_STATUS) error
}
type augmentConversionForManagedClusterPodIdentityException interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityException) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityException) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityException) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityException) error
}
type augmentConversionForManagedClusterPodIdentityException_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityException_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityException_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityException_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityException_STATUS) error
}
type augmentConversionForUserAssignedIdentityDetails interface {
- AssignPropertiesFrom(src *v20230201s.UserAssignedIdentityDetails) error
- AssignPropertiesTo(dst *v20230201s.UserAssignedIdentityDetails) error
+ AssignPropertiesFrom(src *storage.UserAssignedIdentityDetails) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentityDetails) error
}
// Storage version of v1api20210501.ContainerServiceSshPublicKey
@@ -8489,7 +8492,7 @@ type ContainerServiceSshPublicKey struct {
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20230201s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8517,7 +8520,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20230201s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(publicKey.PropertyBag)
@@ -8552,7 +8555,7 @@ type ContainerServiceSshPublicKey_STATUS struct {
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20230201s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8580,7 +8583,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20230201s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(publicKey.PropertyBag)
@@ -8614,7 +8617,7 @@ type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8649,7 +8652,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
@@ -8696,7 +8699,7 @@ type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8731,7 +8734,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
@@ -8778,7 +8781,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8821,17 +8824,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(prefixes.PropertyBag)
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20230201s.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20230201s.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -8870,7 +8873,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8913,17 +8916,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(prefixes.PropertyBag)
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20230201s.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20230201s.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -8962,7 +8965,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPs struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9005,17 +9008,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20230201s.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20230201s.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -9054,7 +9057,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9097,17 +9100,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20230201s.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20230201s.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -9146,7 +9149,7 @@ type ManagedClusterPodIdentity_ProvisioningInfo_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9183,13 +9186,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(info.PropertyBag)
// Error
if info.Error != nil {
- var error v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -9229,7 +9232,7 @@ type ResourceReference struct {
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20230201s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9262,7 +9265,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20230201s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(reference.PropertyBag)
@@ -9302,7 +9305,7 @@ type ResourceReference_STATUS struct {
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20230201s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9330,7 +9333,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20230201s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(reference.PropertyBag)
@@ -9358,58 +9361,58 @@ func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference
}
type augmentConversionForContainerServiceSshPublicKey interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceSshPublicKey) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceSshPublicKey) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshPublicKey) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshPublicKey) error
}
type augmentConversionForContainerServiceSshPublicKey_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ContainerServiceSshPublicKey_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ContainerServiceSshPublicKey_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshPublicKey_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshPublicKey_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
}
type augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
}
type augmentConversionForResourceReference interface {
- AssignPropertiesFrom(src *v20230201s.ResourceReference) error
- AssignPropertiesTo(dst *v20230201s.ResourceReference) error
+ AssignPropertiesFrom(src *storage.ResourceReference) error
+ AssignPropertiesTo(dst *storage.ResourceReference) error
}
type augmentConversionForResourceReference_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ResourceReference_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ResourceReference_STATUS) error
+ AssignPropertiesFrom(src *storage.ResourceReference_STATUS) error
+ AssignPropertiesTo(dst *storage.ResourceReference_STATUS) error
}
// Storage version of v1api20210501.ManagedClusterPodIdentityProvisioningError_STATUS
@@ -9420,7 +9423,7 @@ type ManagedClusterPodIdentityProvisioningError_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9457,13 +9460,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(error.PropertyBag)
// Error
if error.Error != nil {
- var errorLocal v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -9494,8 +9497,8 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
type augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error
}
// Storage version of v1api20210501.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
@@ -9509,7 +9512,7 @@ type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9561,7 +9564,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(body.PropertyBag)
@@ -9570,11 +9573,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -9613,8 +9616,8 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
type augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
}
// Storage version of v1api20210501.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
@@ -9626,7 +9629,7 @@ type ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9660,7 +9663,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(unrolled.PropertyBag)
@@ -9694,8 +9697,8 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
type augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
}
func init() {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_clusters_agent_pool_types_gen.go
index ca5ad28a64..33aac91850 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/managed_clusters_agent_pool_types_gen.go
@@ -4,7 +4,7 @@
package storage
import (
- v20230201s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
@@ -47,7 +47,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20230201s.ManagedClustersAgentPool
+ var source storage.ManagedClustersAgentPool
err := source.ConvertFrom(hub)
if err != nil {
@@ -65,7 +65,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20230201s.ManagedClustersAgentPool
+ var destination storage.ManagedClustersAgentPool
err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from pool")
@@ -150,7 +150,7 @@ func (pool *ManagedClustersAgentPool) SetStatus(status genruntime.ConvertibleSta
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20230201s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -185,13 +185,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20230201s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20230201s.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -199,7 +199,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20230201s.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -240,8 +240,8 @@ type ManagedClustersAgentPoolList struct {
}
type augmentConversionForManagedClustersAgentPool interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClustersAgentPool) error
- AssignPropertiesTo(dst *v20230201s.ManagedClustersAgentPool) error
+ AssignPropertiesFrom(src *storage.ManagedClustersAgentPool) error
+ AssignPropertiesTo(dst *storage.ManagedClustersAgentPool) error
}
// Storage version of v1api20210501.ManagedClusters_AgentPool_Spec
@@ -308,14 +308,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230201s.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -332,14 +332,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230201s.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -355,7 +355,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20230201s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -653,7 +653,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20230201s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(pool.PropertyBag)
@@ -668,7 +668,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// CreationData
if propertyBag.Contains("CreationData") {
- var creationDatum v20230201s.CreationData
+ var creationDatum storage.CreationData
err := propertyBag.Pull("CreationData", &creationDatum)
if err != nil {
return errors.Wrap(err, "pulling 'CreationData' from propertyBag")
@@ -737,7 +737,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -752,7 +752,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -848,7 +848,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// PowerState
if propertyBag.Contains("PowerState") {
- var powerState v20230201s.PowerState
+ var powerState storage.PowerState
err := propertyBag.Pull("PowerState", &powerState)
if err != nil {
return errors.Wrap(err, "pulling 'PowerState' from propertyBag")
@@ -914,7 +914,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -1029,14 +1029,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230201s.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1053,14 +1053,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230201s.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1076,7 +1076,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genrun
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20230201s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1322,7 +1322,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20230201s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(pool.PropertyBag)
@@ -1337,7 +1337,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// CreationData
if propertyBag.Contains("CreationData") {
- var creationDatum v20230201s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := propertyBag.Pull("CreationData", &creationDatum)
if err != nil {
return errors.Wrap(err, "pulling 'CreationData' from propertyBag")
@@ -1422,7 +1422,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -1437,7 +1437,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -1494,7 +1494,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20230201s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -1548,7 +1548,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -1605,7 +1605,7 @@ type AgentPoolUpgradeSettings struct {
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20230201s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1633,7 +1633,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20230201s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
@@ -1668,7 +1668,7 @@ type AgentPoolUpgradeSettings_STATUS struct {
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20230201s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1696,7 +1696,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20230201s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
@@ -1724,13 +1724,13 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUp
}
type augmentConversionForManagedClusters_AgentPool_Spec interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusters_AgentPool_Spec) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusters_AgentPool_Spec) error
+ AssignPropertiesFrom(src *storage.ManagedClusters_AgentPool_Spec) error
+ AssignPropertiesTo(dst *storage.ManagedClusters_AgentPool_Spec) error
}
type augmentConversionForManagedClusters_AgentPool_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.ManagedClusters_AgentPool_STATUS) error
- AssignPropertiesTo(dst *v20230201s.ManagedClusters_AgentPool_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusters_AgentPool_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusters_AgentPool_STATUS) error
}
// Storage version of v1api20210501.KubeletConfig
@@ -1751,7 +1751,7 @@ type KubeletConfig struct {
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20230201s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1819,7 +1819,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202302
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20230201s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -1904,7 +1904,7 @@ type KubeletConfig_STATUS struct {
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20230201s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1972,7 +1972,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20230201s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2050,7 +2050,7 @@ type LinuxOSConfig struct {
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20230201s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2096,7 +2096,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202302
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20230201s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2105,7 +2105,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20230201s.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -2152,7 +2152,7 @@ type LinuxOSConfig_STATUS struct {
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20230201s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2198,7 +2198,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20230201s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2207,7 +2207,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20230201s.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -2244,33 +2244,33 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
}
type augmentConversionForAgentPoolUpgradeSettings interface {
- AssignPropertiesFrom(src *v20230201s.AgentPoolUpgradeSettings) error
- AssignPropertiesTo(dst *v20230201s.AgentPoolUpgradeSettings) error
+ AssignPropertiesFrom(src *storage.AgentPoolUpgradeSettings) error
+ AssignPropertiesTo(dst *storage.AgentPoolUpgradeSettings) error
}
type augmentConversionForAgentPoolUpgradeSettings_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.AgentPoolUpgradeSettings_STATUS) error
- AssignPropertiesTo(dst *v20230201s.AgentPoolUpgradeSettings_STATUS) error
+ AssignPropertiesFrom(src *storage.AgentPoolUpgradeSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolUpgradeSettings_STATUS) error
}
type augmentConversionForKubeletConfig interface {
- AssignPropertiesFrom(src *v20230201s.KubeletConfig) error
- AssignPropertiesTo(dst *v20230201s.KubeletConfig) error
+ AssignPropertiesFrom(src *storage.KubeletConfig) error
+ AssignPropertiesTo(dst *storage.KubeletConfig) error
}
type augmentConversionForKubeletConfig_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.KubeletConfig_STATUS) error
- AssignPropertiesTo(dst *v20230201s.KubeletConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.KubeletConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.KubeletConfig_STATUS) error
}
type augmentConversionForLinuxOSConfig interface {
- AssignPropertiesFrom(src *v20230201s.LinuxOSConfig) error
- AssignPropertiesTo(dst *v20230201s.LinuxOSConfig) error
+ AssignPropertiesFrom(src *storage.LinuxOSConfig) error
+ AssignPropertiesTo(dst *storage.LinuxOSConfig) error
}
type augmentConversionForLinuxOSConfig_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.LinuxOSConfig_STATUS) error
- AssignPropertiesTo(dst *v20230201s.LinuxOSConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.LinuxOSConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.LinuxOSConfig_STATUS) error
}
// Storage version of v1api20210501.SysctlConfig
@@ -2308,7 +2308,7 @@ type SysctlConfig struct {
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20230201s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2422,7 +2422,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20230201
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20230201s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2570,7 +2570,7 @@ type SysctlConfig_STATUS struct {
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20230201s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2684,7 +2684,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20230201s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2798,13 +2798,13 @@ func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(desti
}
type augmentConversionForSysctlConfig interface {
- AssignPropertiesFrom(src *v20230201s.SysctlConfig) error
- AssignPropertiesTo(dst *v20230201s.SysctlConfig) error
+ AssignPropertiesFrom(src *storage.SysctlConfig) error
+ AssignPropertiesTo(dst *storage.SysctlConfig) error
}
type augmentConversionForSysctlConfig_STATUS interface {
- AssignPropertiesFrom(src *v20230201s.SysctlConfig_STATUS) error
- AssignPropertiesTo(dst *v20230201s.SysctlConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.SysctlConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.SysctlConfig_STATUS) error
}
func init() {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/structure.txt
index 792e73b93d..2ab1624646 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/structure.txt
@@ -1,537 +1,26 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage
-├── APIVersion: Enum (1 value)
-│ └── "2021-05-01"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (32 properties)
-│ │ ├── AadProfile: *Object (8 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AgentPoolProfiles: Object (35 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *string
-│ │ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *string
-│ │ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixIDReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *string
-│ │ │ ├── OsSKU: *string
-│ │ │ ├── OsType: *string
-│ │ │ ├── PodSubnetIDReference: *genruntime.ResourceReference
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *string
-│ │ │ ├── ScaleSetPriority: *string
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *string
-│ │ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmSize: *string
-│ │ │ └── VnetSubnetIDReference: *genruntime.ResourceReference
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AutoScalerProfile: *Object (18 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *string
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UpgradeChannel: *string
-│ │ ├── AzureName: string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetIDReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (3 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Type: *string
-│ │ │ └── UserAssignedIdentities: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (3 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Ssh: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PublicKeys: Object (2 properties)[]
-│ │ │ ├── KeyData: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (11 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── LoadBalancerProfile: *Object (7 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerSku: *string
-│ │ │ ├── NetworkMode: *string
-│ │ │ ├── NetworkPlugin: *string
-│ │ │ ├── NetworkPolicy: *string
-│ │ │ ├── OutboundType: *string
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ServiceCidr: *string
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secrets: *Object (3 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (5 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── UserAssignedIdentities: Object (5 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PodLabels: map[string]string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
+-------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2021-05-01"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (32 properties)
+│ ├── AadProfile: *Object (8 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServicePrincipalProfile: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── Tags: map[string]string
-│ │ └── WindowsProfile: *Object (5 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── LicenseType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (38 properties)
-│ ├── AadProfile: *Object (8 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (4 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AgentPoolProfiles: Object (38 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── Count: *int
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *string
-│ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *string
-│ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *string
-│ │ ├── Name: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *string
-│ │ ├── OsSKU: *string
-│ │ ├── OsType: *string
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (2 properties)
-│ │ │ ├── Code: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleSetEvictionPolicy: *string
-│ │ ├── ScaleSetPriority: *string
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *string
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── MaxSurge: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VmSize: *string
-│ │ └── VnetSubnetID: *string
-│ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AutoScalerProfile: *Object (18 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *string
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── UpgradeChannel: *string
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (5 properties)
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── TenantId: *string
-│ │ ├── Type: *string
-│ │ └── UserAssignedIdentities: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── PrincipalId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (3 properties)
-│ │ ├── AdminUsername: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Ssh: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── PublicKeys: Object (2 properties)[]
-│ │ ├── KeyData: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (11 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── DockerBridgeCidr: *string
-│ │ ├── LoadBalancerProfile: *Object (7 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerSku: *string
-│ │ ├── NetworkMode: *string
-│ │ ├── NetworkPlugin: *string
-│ │ ├── NetworkPolicy: *string
-│ │ ├── OutboundType: *string
-│ │ ├── PodCidr: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ServiceCidr: *string
-│ ├── NodeResourceGroup: *string
-│ ├── PodIdentityProfile: *Object (5 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── UserAssignedIdentities: Object (7 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProvisioningInfo: *Object (2 properties)
-│ │ │ │ ├── Error: *Object (2 properties)
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ProvisioningState: *string
-│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ ├── PodLabels: map[string]string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (7 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── WindowsProfile: *Object (5 properties)
-│ ├── AdminPassword: *string
-│ ├── AdminUsername: *string
-│ ├── EnableCSIProxy: *bool
-│ ├── LicenseType: *string
-│ └── PropertyBag: genruntime.PropertyBag
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: containerservice/v1api20210501.ManagedCluster
-│ ├── Spec: Object (37 properties)
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AgentPoolProfiles: Object (35 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── Count: *int
│ │ ├── EnableAutoScaling: *bool
│ │ ├── EnableEncryptionAtHost: *bool
@@ -592,16 +81,15 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/st
│ │ ├── MaxPods: *int
│ │ ├── MinCount: *int
│ │ ├── Mode: *string
+│ │ ├── Name: *string
│ │ ├── NodeLabels: map[string]string
│ │ ├── NodePublicIPPrefixIDReference: *genruntime.ResourceReference
│ │ ├── NodeTaints: string[]
│ │ ├── OrchestratorVersion: *string
-│ │ ├── OriginalVersion: string
│ │ ├── OsDiskSizeGB: *int
│ │ ├── OsDiskType: *string
│ │ ├── OsSKU: *string
│ │ ├── OsType: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetIDReference: *genruntime.ResourceReference
│ │ ├── PropertyBag: genruntime.PropertyBag
│ │ ├── ProximityPlacementGroupID: *string
@@ -615,170 +103,682 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/st
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ ├── VmSize: *string
│ │ └── VnetSubnetIDReference: *genruntime.ResourceReference
-│ └── Status: Object (41 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (12 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *string
-│ ├── LinuxOSConfig: *Object (5 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (29 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MinCount: *int
-│ ├── Mode: *string
-│ ├── Name: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *string
-│ ├── OsSKU: *string
-│ ├── OsType: *string
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertiesType: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleSetEvictionPolicy: *string
-│ ├── ScaleSetPriority: *string
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── MaxSurge: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── VmSize: *string
-│ └── VnetSubnetID: *string
-├── augmentConversionForAgentPoolUpgradeSettings: Interface
-├── augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
-├── augmentConversionForContainerServiceLinuxProfile: Interface
-├── augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
-├── augmentConversionForContainerServiceNetworkProfile: Interface
-├── augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
-├── augmentConversionForContainerServiceSshConfiguration: Interface
-├── augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
-├── augmentConversionForContainerServiceSshPublicKey: Interface
-├── augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
-├── augmentConversionForExtendedLocation: Interface
-├── augmentConversionForExtendedLocation_STATUS: Interface
-├── augmentConversionForKubeletConfig: Interface
-├── augmentConversionForKubeletConfig_STATUS: Interface
-├── augmentConversionForLinuxOSConfig: Interface
-├── augmentConversionForLinuxOSConfig_STATUS: Interface
-├── augmentConversionForManagedCluster: Interface
-├── augmentConversionForManagedClusterAADProfile: Interface
-├── augmentConversionForManagedClusterAADProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAddonProfile: Interface
-├── augmentConversionForManagedClusterAddonProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity: Interface
-├── augmentConversionForManagedClusterIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOperatorSecrets: Interface
-├── augmentConversionForManagedClusterOperatorSpec: Interface
-├── augmentConversionForManagedClusterPodIdentity: Interface
-├── augmentConversionForManagedClusterPodIdentityException: Interface
-├── augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterSKU: Interface
-├── augmentConversionForManagedClusterSKU_STATUS: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWindowsProfile: Interface
-├── augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
-├── augmentConversionForManagedCluster_STATUS: Interface
-├── augmentConversionForManagedCluster_Spec: Interface
-├── augmentConversionForManagedClustersAgentPool: Interface
-├── augmentConversionForManagedClusters_AgentPool_STATUS: Interface
-├── augmentConversionForManagedClusters_AgentPool_Spec: Interface
-├── augmentConversionForPowerState_STATUS: Interface
-├── augmentConversionForPrivateLinkResource: Interface
-├── augmentConversionForPrivateLinkResource_STATUS: Interface
-├── augmentConversionForResourceReference: Interface
-├── augmentConversionForResourceReference_STATUS: Interface
-├── augmentConversionForSysctlConfig: Interface
-├── augmentConversionForSysctlConfig_STATUS: Interface
-├── augmentConversionForUserAssignedIdentity: Interface
-├── augmentConversionForUserAssignedIdentityDetails: Interface
-└── augmentConversionForUserAssignedIdentity_STATUS: Interface
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AutoScalerProfile: *Object (18 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *string
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UpgradeChannel: *string
+│ ├── AzureName: string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetIDReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (3 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (4 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (3 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Ssh: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicKeys: Object (2 properties)[]
+│ │ ├── KeyData: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (11 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── LoadBalancerProfile: *Object (7 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── OutboundIPs: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerSku: *string
+│ │ ├── NetworkMode: *string
+│ │ ├── NetworkPlugin: *string
+│ │ ├── NetworkPolicy: *string
+│ │ ├── OutboundType: *string
+│ │ ├── PodCidr: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ServiceCidr: *string
+│ ├── NodeResourceGroup: *string
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secrets: *Object (3 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (5 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── UserAssignedIdentities: Object (5 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (4 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ ├── PodLabels: map[string]string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ServicePrincipalProfile: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── Tags: map[string]string
+│ └── WindowsProfile: *Object (5 properties)
+│ ├── AdminPassword: *genruntime.SecretReference
+│ ├── AdminUsername: *string
+│ ├── EnableCSIProxy: *bool
+│ ├── LicenseType: *string
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (38 properties)
+ ├── AadProfile: *Object (8 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (4 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AgentPoolProfiles: Object (38 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── Count: *int
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *string
+ │ ├── KubeletConfig: *Object (12 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *string
+ │ ├── LinuxOSConfig: *Object (5 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (29 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MinCount: *int
+ │ ├── Mode: *string
+ │ ├── Name: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *string
+ │ ├── OsSKU: *string
+ │ ├── OsType: *string
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (2 properties)
+ │ │ ├── Code: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleSetEvictionPolicy: *string
+ │ ├── ScaleSetPriority: *string
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *string
+ │ ├── UpgradeSettings: *Object (2 properties)
+ │ │ ├── MaxSurge: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VmSize: *string
+ │ └── VnetSubnetID: *string
+ ├── ApiServerAccessProfile: *Object (5 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── PrivateDNSZone: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AutoScalerProfile: *Object (18 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *string
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UpgradeChannel: *string
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (5 properties)
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IdentityProfile: map[string]Object (4 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (3 properties)
+ │ ├── AdminUsername: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Ssh: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicKeys: Object (2 properties)[]
+ │ ├── KeyData: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (11 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── DockerBridgeCidr: *string
+ │ ├── LoadBalancerProfile: *Object (7 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPs: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerSku: *string
+ │ ├── NetworkMode: *string
+ │ ├── NetworkPlugin: *string
+ │ ├── NetworkPolicy: *string
+ │ ├── OutboundType: *string
+ │ ├── PodCidr: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ServiceCidr: *string
+ ├── NodeResourceGroup: *string
+ ├── PodIdentityProfile: *Object (5 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── UserAssignedIdentities: Object (7 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (4 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningInfo: *Object (2 properties)
+ │ │ │ ├── Error: *Object (2 properties)
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── ProvisioningState: *string
+ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ ├── PodLabels: map[string]string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (7 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ServicePrincipalProfile: *Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── WindowsProfile: *Object (4 properties)
+ ├── AdminUsername: *string
+ ├── EnableCSIProxy: *bool
+ ├── LicenseType: *string
+ └── PropertyBag: genruntime.PropertyBag
+ManagedClustersAgentPool: Resource
+├── Owner: containerservice/v1api20210501.ManagedCluster
+├── Spec: Object (37 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── Count: *int
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *string
+│ ├── KubeletConfig: *Object (12 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *string
+│ ├── LinuxOSConfig: *Object (5 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (29 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixIDReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OriginalVersion: string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *string
+│ ├── OsSKU: *string
+│ ├── OsType: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetIDReference: *genruntime.ResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleSetEvictionPolicy: *string
+│ ├── ScaleSetPriority: *string
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── MaxSurge: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VmSize: *string
+│ └── VnetSubnetIDReference: *genruntime.ResourceReference
+└── Status: Object (41 properties)
+ ├── AvailabilityZones: string[]
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (12 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *string
+ ├── LinuxOSConfig: *Object (5 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (29 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *string
+ ├── Name: *string
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *string
+ ├── OsSKU: *string
+ ├── OsType: *string
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertiesType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleSetEvictionPolicy: *string
+ ├── ScaleSetPriority: *string
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── MaxSurge: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VmSize: *string
+ └── VnetSubnetID: *string
+augmentConversionForAgentPoolUpgradeSettings: Interface
+augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
+augmentConversionForContainerServiceLinuxProfile: Interface
+augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile: Interface
+augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
+augmentConversionForContainerServiceSshConfiguration: Interface
+augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
+augmentConversionForContainerServiceSshPublicKey: Interface
+augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
+augmentConversionForExtendedLocation: Interface
+augmentConversionForExtendedLocation_STATUS: Interface
+augmentConversionForKubeletConfig: Interface
+augmentConversionForKubeletConfig_STATUS: Interface
+augmentConversionForLinuxOSConfig: Interface
+augmentConversionForLinuxOSConfig_STATUS: Interface
+augmentConversionForManagedCluster: Interface
+augmentConversionForManagedClusterAADProfile: Interface
+augmentConversionForManagedClusterAADProfile_STATUS: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
+augmentConversionForManagedClusterAddonProfile: Interface
+augmentConversionForManagedClusterAddonProfile_STATUS: Interface
+augmentConversionForManagedClusterAgentPoolProfile: Interface
+augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
+augmentConversionForManagedClusterHTTPProxyConfig: Interface
+augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
+augmentConversionForManagedClusterIdentity: Interface
+augmentConversionForManagedClusterIdentity_STATUS: Interface
+augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
+augmentConversionForManagedClusterOperatorSecrets: Interface
+augmentConversionForManagedClusterOperatorSpec: Interface
+augmentConversionForManagedClusterPodIdentity: Interface
+augmentConversionForManagedClusterPodIdentityException: Interface
+augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProfile: Interface
+augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_STATUS: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
+augmentConversionForManagedClusterSKU: Interface
+augmentConversionForManagedClusterSKU_STATUS: Interface
+augmentConversionForManagedClusterServicePrincipalProfile: Interface
+augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
+augmentConversionForManagedClusterWindowsProfile: Interface
+augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
+augmentConversionForManagedCluster_STATUS: Interface
+augmentConversionForManagedCluster_Spec: Interface
+augmentConversionForManagedClustersAgentPool: Interface
+augmentConversionForManagedClusters_AgentPool_STATUS: Interface
+augmentConversionForManagedClusters_AgentPool_Spec: Interface
+augmentConversionForPowerState_STATUS: Interface
+augmentConversionForPrivateLinkResource: Interface
+augmentConversionForPrivateLinkResource_STATUS: Interface
+augmentConversionForResourceReference: Interface
+augmentConversionForResourceReference_STATUS: Interface
+augmentConversionForSysctlConfig: Interface
+augmentConversionForSysctlConfig_STATUS: Interface
+augmentConversionForUserAssignedIdentity: Interface
+augmentConversionForUserAssignedIdentityDetails: Interface
+augmentConversionForUserAssignedIdentity_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/zz_generated.deepcopy.go
index 38c8758912..fb8cd5db5b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/storage/zz_generated.deepcopy.go
@@ -2754,7 +2754,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -2794,11 +2794,6 @@ func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/structure.txt
index c50df28546..7f88838c1d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/structure.txt
@@ -1,1127 +1,24 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501
-├── APIVersion: Enum (1 value)
-│ └── "2021-05-01"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (30 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (34 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
-│ │ │ │ │ └── Rule 0: Minimum: 2
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixIDReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (2 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ └── "Ubuntu"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetIDReference: *genruntime.ResourceReference
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ └── VnetSubnetIDReference: *genruntime.ResourceReference
-│ │ ├── ApiServerAccessProfile: *Object (4 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 63
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetIDReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (2 properties)
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SystemAssigned"
-│ │ │ │ └── "UserAssigned"
-│ │ │ └── UserAssignedIdentities: Object (1 property)[]
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (10 properties)
-│ │ │ ├── DnsServiceIP: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
-│ │ │ ├── DockerBridgeCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── LoadBalancerProfile: *Object (6 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 64000
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ ├── ManagedOutboundIPs: *Object (1 property)
-│ │ │ │ │ └── Count: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "kubenet"
-│ │ │ ├── NetworkPolicy: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "calico"
-│ │ │ ├── OutboundType: *Enum (2 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ └── ServiceCidr: Validated<*string> (1 rule)
-│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OperatorSpec: *Object (1 property)
-│ │ │ └── Secrets: *Object (2 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (1 value)
-│ │ │ │ └── "Basic"
-│ │ │ └── Tier: *Enum (2 values)
-│ │ │ ├── "Free"
-│ │ │ └── "Paid"
-│ │ ├── Tags: map[string]string
-│ │ └── WindowsProfile: *Object (4 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ └── Status: Object (37 properties)
-│ ├── AadProfile: *Object (7 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── AgentPoolProfiles: Object (37 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── Count: *int
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ ├── "MIG1g"
-│ │ │ ├── "MIG2g"
-│ │ │ ├── "MIG3g"
-│ │ │ ├── "MIG4g"
-│ │ │ └── "MIG7g"
-│ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ ├── "OS"
-│ │ │ └── "Temporary"
-│ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *Enum (2 values)
-│ │ │ ├── "System"
-│ │ │ └── "User"
-│ │ ├── Name: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ ├── "Ephemeral"
-│ │ │ └── "Managed"
-│ │ ├── OsSKU: *Enum (2 values)
-│ │ │ ├── "CBLMariner"
-│ │ │ └── "Ubuntu"
-│ │ ├── OsType: *Enum (2 values)
-│ │ │ ├── "Linux"
-│ │ │ └── "Windows"
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ ├── "Regular"
-│ │ │ └── "Spot"
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *Enum (2 values)
-│ │ │ ├── "AvailabilitySet"
-│ │ │ └── "VirtualMachineScaleSets"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── MaxSurge: *string
-│ │ ├── VmSize: *string
-│ │ └── VnetSubnetID: *string
-│ ├── ApiServerAccessProfile: *Object (4 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ └── PrivateDNSZone: *string
-│ ├── AutoScalerProfile: *Object (17 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *Enum (4 values)
-│ │ │ ├── "least-waste"
-│ │ │ ├── "most-pods"
-│ │ │ ├── "priority"
-│ │ │ └── "random"
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ └── UpgradeChannel: *Enum (5 values)
-│ │ ├── "node-image"
-│ │ ├── "none"
-│ │ ├── "patch"
-│ │ ├── "rapid"
-│ │ └── "stable"
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (4 properties)
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (2 properties)
-│ │ ├── AdminUsername: *string
-│ │ └── Ssh: *Object (1 property)
-│ │ └── PublicKeys: Object (1 property)[]
-│ │ └── KeyData: *string
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (10 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── DockerBridgeCidr: *string
-│ │ ├── LoadBalancerProfile: *Object (6 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ ├── "basic"
-│ │ │ └── "standard"
-│ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ ├── "bridge"
-│ │ │ └── "transparent"
-│ │ ├── NetworkPlugin: *Enum (2 values)
-│ │ │ ├── "azure"
-│ │ │ └── "kubenet"
-│ │ ├── NetworkPolicy: *Enum (2 values)
-│ │ │ ├── "azure"
-│ │ │ └── "calico"
-│ │ ├── OutboundType: *Enum (2 values)
-│ │ │ ├── "loadBalancer"
-│ │ │ └── "userDefinedRouting"
-│ │ ├── PodCidr: *string
-│ │ └── ServiceCidr: *string
-│ ├── NodeResourceGroup: *string
-│ ├── PodIdentityProfile: *Object (4 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Assigned"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ └── "Updating"
-│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ └── PodLabels: map[string]string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── ProvisioningState: *string
-│ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ └── ClientId: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Basic"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Paid"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── WindowsProfile: *Object (4 properties)
-│ ├── AdminPassword: *string
-│ ├── AdminUsername: *string
-│ ├── EnableCSIProxy: *bool
-│ └── LicenseType: *Enum (2 values)
-│ ├── "None"
-│ └── "Windows_Server"
-├── ManagedCluster_STATUS_ARM: Object (9 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (28 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── AgentPoolProfiles: Object (37 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NodeImageVersion: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (2 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ └── "Ubuntu"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProvisioningState: *string
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ └── VnetSubnetID: *string
-│ │ ├── ApiServerAccessProfile: *Object (4 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzurePortalFQDN: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── Fqdn: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── MaxAgentPools: *int
-│ │ ├── NetworkProfile: *Object (10 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── LoadBalancerProfile: *Object (6 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (1 property)
-│ │ │ │ │ └── Count: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "kubenet"
-│ │ │ ├── NetworkPolicy: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "calico"
-│ │ │ ├── OutboundType: *Enum (2 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ └── ServiceCidr: *string
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Assigned"
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ └── "Updating"
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── PrivateFQDN: *string
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceID: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *string
-│ │ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ │ └── ClientId: *string
-│ │ └── WindowsProfile: *Object (4 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Basic"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Paid"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── ManagedCluster_Spec_ARM: Object (7 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Identity: *Object (2 properties)
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (0 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (22 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (34 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (2 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ └── "Ubuntu"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ └── VnetSubnetID: *string
-│ │ ├── ApiServerAccessProfile: *Object (4 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── NetworkProfile: *Object (10 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── LoadBalancerProfile: *Object (6 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (1 property)
-│ │ │ │ │ └── Count: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "kubenet"
-│ │ │ ├── NetworkPolicy: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "calico"
-│ │ │ ├── OutboundType: *Enum (2 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ └── ServiceCidr: *string
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *string
-│ │ └── WindowsProfile: *Object (4 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Basic"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Paid"
-│ └── Tags: map[string]string
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: ManagedCluster
-│ ├── Spec: Object (35 properties)
+-----------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2021-05-01"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (30 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (34 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── Count: *int
│ │ ├── EnableAutoScaling: *bool
│ │ ├── EnableEncryptionAtHost: *bool
@@ -1189,6 +86,8 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── NodeLabels: map[string]string
│ │ ├── NodePublicIPPrefixIDReference: *genruntime.ResourceReference
│ │ ├── NodeTaints: string[]
@@ -1205,7 +104,6 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501
│ │ ├── OsType: *Enum (2 values)
│ │ │ ├── "Linux"
│ │ │ └── "Windows"
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetIDReference: *genruntime.ResourceReference
│ │ ├── ProximityPlacementGroupID: *string
│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
@@ -1223,119 +121,491 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501
│ │ │ └── MaxSurge: *string
│ │ ├── VmSize: *string
│ │ └── VnetSubnetIDReference: *genruntime.ResourceReference
-│ └── Status: Object (40 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ ├── "MIG1g"
-│ │ ├── "MIG2g"
-│ │ ├── "MIG3g"
-│ │ ├── "MIG4g"
-│ │ └── "MIG7g"
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (11 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *Enum (2 values)
-│ │ ├── "OS"
-│ │ └── "Temporary"
-│ ├── LinuxOSConfig: *Object (4 properties)
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (28 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MinCount: *int
-│ ├── Mode: *Enum (2 values)
-│ │ ├── "System"
-│ │ └── "User"
-│ ├── Name: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *Enum (2 values)
-│ │ ├── "Ephemeral"
-│ │ └── "Managed"
-│ ├── OsSKU: *Enum (2 values)
-│ │ ├── "CBLMariner"
-│ │ └── "Ubuntu"
-│ ├── OsType: *Enum (2 values)
-│ │ ├── "Linux"
-│ │ └── "Windows"
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PropertiesType: *Enum (2 values)
-│ │ ├── "AvailabilitySet"
-│ │ └── "VirtualMachineScaleSets"
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetPriority: *Enum (2 values)
-│ │ ├── "Regular"
-│ │ └── "Spot"
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── MaxSurge: *string
-│ ├── VmSize: *string
-│ └── VnetSubnetID: *string
-├── ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
-│ ├── Id: *string
+│ ├── ApiServerAccessProfile: *Object (4 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (1 property)
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetIDReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (2 properties)
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "None"
+│ │ │ ├── "SystemAssigned"
+│ │ │ └── "UserAssigned"
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (10 properties)
+│ │ ├── DnsServiceIP: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+│ │ ├── DockerBridgeCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── LoadBalancerProfile: *Object (6 properties)
+│ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 64000
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ ├── ManagedOutboundIPs: *Object (1 property)
+│ │ │ │ └── Count: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "kubenet"
+│ │ ├── NetworkPolicy: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "calico"
+│ │ ├── OutboundType: *Enum (2 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ └── ServiceCidr: Validated<*string> (1 rule)
+│ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ ├── NodeResourceGroup: *string
+│ ├── OperatorSpec: *Object (1 property)
+│ │ └── Secrets: *Object (2 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (1 value)
+│ │ │ └── "Basic"
+│ │ └── Tier: *Enum (2 values)
+│ │ ├── "Free"
+│ │ └── "Paid"
+│ ├── Tags: map[string]string
+│ └── WindowsProfile: *Object (4 properties)
+│ ├── AdminPassword: *genruntime.SecretReference
+│ ├── AdminUsername: *string
+│ ├── EnableCSIProxy: *bool
+│ └── LicenseType: *Enum (2 values)
+│ ├── "None"
+│ └── "Windows_Server"
+└── Status: Object (37 properties)
+ ├── AadProfile: *Object (7 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (3 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── AgentPoolProfiles: Object (37 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── Count: *int
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *Enum (5 values)
+ │ │ ├── "MIG1g"
+ │ │ ├── "MIG2g"
+ │ │ ├── "MIG3g"
+ │ │ ├── "MIG4g"
+ │ │ └── "MIG7g"
+ │ ├── KubeletConfig: *Object (11 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *Enum (2 values)
+ │ │ ├── "OS"
+ │ │ └── "Temporary"
+ │ ├── LinuxOSConfig: *Object (4 properties)
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (28 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MinCount: *int
+ │ ├── Mode: *Enum (2 values)
+ │ │ ├── "System"
+ │ │ └── "User"
+ │ ├── Name: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *Enum (2 values)
+ │ │ ├── "Ephemeral"
+ │ │ └── "Managed"
+ │ ├── OsSKU: *Enum (2 values)
+ │ │ ├── "CBLMariner"
+ │ │ └── "Ubuntu"
+ │ ├── OsType: *Enum (2 values)
+ │ │ ├── "Linux"
+ │ │ └── "Windows"
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (1 property)
+ │ │ └── Code: *Enum (2 values)
+ │ │ ├── "Running"
+ │ │ └── "Stopped"
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetPriority: *Enum (2 values)
+ │ │ ├── "Regular"
+ │ │ └── "Spot"
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *Enum (2 values)
+ │ │ ├── "AvailabilitySet"
+ │ │ └── "VirtualMachineScaleSets"
+ │ ├── UpgradeSettings: *Object (1 property)
+ │ │ └── MaxSurge: *string
+ │ ├── VmSize: *string
+ │ └── VnetSubnetID: *string
+ ├── ApiServerAccessProfile: *Object (4 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ └── PrivateDNSZone: *string
+ ├── AutoScalerProfile: *Object (17 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *Enum (4 values)
+ │ │ ├── "least-waste"
+ │ │ ├── "most-pods"
+ │ │ ├── "priority"
+ │ │ └── "random"
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (1 property)
+ │ └── UpgradeChannel: *Enum (5 values)
+ │ ├── "node-image"
+ │ ├── "none"
+ │ ├── "patch"
+ │ ├── "rapid"
+ │ └── "stable"
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (4 properties)
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (4 properties)
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── IdentityProfile: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (2 properties)
+ │ ├── AdminUsername: *string
+ │ └── Ssh: *Object (1 property)
+ │ └── PublicKeys: Object (1 property)[]
+ │ └── KeyData: *string
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (10 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── DockerBridgeCidr: *string
+ │ ├── LoadBalancerProfile: *Object (6 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (1 property)
+ │ │ │ └── Count: *int
+ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ └── OutboundIPs: *Object (1 property)
+ │ │ └── PublicIPs: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerSku: *Enum (2 values)
+ │ │ ├── "basic"
+ │ │ └── "standard"
+ │ ├── NetworkMode: *Enum (2 values)
+ │ │ ├── "bridge"
+ │ │ └── "transparent"
+ │ ├── NetworkPlugin: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "kubenet"
+ │ ├── NetworkPolicy: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "calico"
+ │ ├── OutboundType: *Enum (2 values)
+ │ │ ├── "loadBalancer"
+ │ │ └── "userDefinedRouting"
+ │ ├── PodCidr: *string
+ │ └── ServiceCidr: *string
+ ├── NodeResourceGroup: *string
+ ├── PodIdentityProfile: *Object (4 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── UserAssignedIdentities: Object (6 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (3 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── ProvisioningInfo: *Object (1 property)
+ │ │ │ └── Error: *Object (1 property)
+ │ │ │ └── Error: *Object (4 properties)
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (3 properties)[]
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ └── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Assigned"
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ └── "Updating"
+ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ └── PodLabels: map[string]string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (6 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── ProvisioningState: *string
+ ├── ServicePrincipalProfile: *Object (1 property)
+ │ └── ClientId: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (1 value)
+ │ │ └── "Basic"
+ │ └── Tier: *Enum (2 values)
+ │ ├── "Free"
+ │ └── "Paid"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── WindowsProfile: *Object (3 properties)
+ ├── AdminUsername: *string
+ ├── EnableCSIProxy: *bool
+ └── LicenseType: *Enum (2 values)
+ ├── "None"
+ └── "Windows_Server"
+ManagedCluster_STATUS_ARM: Object (9 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (36 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Identity: *Object (4 properties)
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (28 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── AgentPoolProfiles: Object (37 properties)[]
│ │ ├── AvailabilityZones: string[]
│ │ ├── Count: *int
│ │ ├── EnableAutoScaling: *bool
@@ -1403,6 +673,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: *string
│ │ ├── NodeImageVersion: *string
│ │ ├── NodeLabels: map[string]string
│ │ ├── NodePublicIPPrefixID: *string
@@ -1440,107 +711,835 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501
│ │ │ └── MaxSurge: *string
│ │ ├── VmSize: *string
│ │ └── VnetSubnetID: *string
-│ └── Type: *string
-└── ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
- ├── Name: string
- └── Properties: *Object (33 properties)
- ├── AvailabilityZones: string[]
- ├── Count: *int
- ├── EnableAutoScaling: *bool
- ├── EnableEncryptionAtHost: *bool
- ├── EnableFIPS: *bool
- ├── EnableNodePublicIP: *bool
- ├── EnableUltraSSD: *bool
- ├── GpuInstanceProfile: *Enum (5 values)
- │ ├── "MIG1g"
- │ ├── "MIG2g"
- │ ├── "MIG3g"
- │ ├── "MIG4g"
- │ └── "MIG7g"
- ├── KubeletConfig: *Object (11 properties)
- │ ├── AllowedUnsafeSysctls: string[]
- │ ├── ContainerLogMaxFiles: *int
- │ ├── ContainerLogMaxSizeMB: *int
- │ ├── CpuCfsQuota: *bool
- │ ├── CpuCfsQuotaPeriod: *string
- │ ├── CpuManagerPolicy: *string
- │ ├── FailSwapOn: *bool
- │ ├── ImageGcHighThreshold: *int
- │ ├── ImageGcLowThreshold: *int
- │ ├── PodMaxPids: *int
- │ └── TopologyManagerPolicy: *string
- ├── KubeletDiskType: *Enum (2 values)
- │ ├── "OS"
- │ └── "Temporary"
- ├── LinuxOSConfig: *Object (4 properties)
- │ ├── SwapFileSizeMB: *int
- │ ├── Sysctls: *Object (28 properties)
- │ │ ├── FsAioMaxNr: *int
- │ │ ├── FsFileMax: *int
- │ │ ├── FsInotifyMaxUserWatches: *int
- │ │ ├── FsNrOpen: *int
- │ │ ├── KernelThreadsMax: *int
- │ │ ├── NetCoreNetdevMaxBacklog: *int
- │ │ ├── NetCoreOptmemMax: *int
- │ │ ├── NetCoreRmemDefault: *int
- │ │ ├── NetCoreRmemMax: *int
- │ │ ├── NetCoreSomaxconn: *int
- │ │ ├── NetCoreWmemDefault: *int
- │ │ ├── NetCoreWmemMax: *int
- │ │ ├── NetIpv4IpLocalPortRange: *string
- │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
- │ │ ├── NetIpv4TcpFinTimeout: *int
- │ │ ├── NetIpv4TcpKeepaliveProbes: *int
- │ │ ├── NetIpv4TcpKeepaliveTime: *int
- │ │ ├── NetIpv4TcpMaxSynBacklog: *int
- │ │ ├── NetIpv4TcpMaxTwBuckets: *int
- │ │ ├── NetIpv4TcpTwReuse: *bool
- │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
- │ │ ├── NetNetfilterNfConntrackBuckets: *int
- │ │ ├── NetNetfilterNfConntrackMax: *int
- │ │ ├── VmMaxMapCount: *int
- │ │ ├── VmSwappiness: *int
- │ │ └── VmVfsCachePressure: *int
- │ ├── TransparentHugePageDefrag: *string
- │ └── TransparentHugePageEnabled: *string
- ├── MaxCount: *int
- ├── MaxPods: *int
- ├── MinCount: *int
- ├── Mode: *Enum (2 values)
- │ ├── "System"
- │ └── "User"
- ├── NodeLabels: map[string]string
- ├── NodePublicIPPrefixID: *string
- ├── NodeTaints: string[]
- ├── OrchestratorVersion: *string
- ├── OsDiskSizeGB: *Validated (2 rules)
- │ ├── Rule 0: Maximum: 2048
- │ └── Rule 1: Minimum: 0
- ├── OsDiskType: *Enum (2 values)
- │ ├── "Ephemeral"
- │ └── "Managed"
- ├── OsSKU: *Enum (2 values)
- │ ├── "CBLMariner"
- │ └── "Ubuntu"
- ├── OsType: *Enum (2 values)
- │ ├── "Linux"
- │ └── "Windows"
- ├── PodSubnetID: *string
- ├── ProximityPlacementGroupID: *string
- ├── ScaleSetEvictionPolicy: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetPriority: *Enum (2 values)
- │ ├── "Regular"
- │ └── "Spot"
- ├── SpotMaxPrice: *float64
- ├── Tags: map[string]string
- ├── Type: *Enum (2 values)
- │ ├── "AvailabilitySet"
- │ └── "VirtualMachineScaleSets"
- ├── UpgradeSettings: *Object (1 property)
- │ └── MaxSurge: *string
- ├── VmSize: *string
- └── VnetSubnetID: *string
+│ ├── ApiServerAccessProfile: *Object (4 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (1 property)
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzurePortalFQDN: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── Fqdn: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MaxAgentPools: *int
+│ ├── NetworkProfile: *Object (10 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── LoadBalancerProfile: *Object (6 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (1 property)
+│ │ │ │ └── Count: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "kubenet"
+│ │ ├── NetworkPolicy: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "calico"
+│ │ ├── OutboundType: *Enum (2 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ └── ServiceCidr: *string
+│ ├── NodeResourceGroup: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (6 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ ├── ProvisioningInfo: *Object (1 property)
+│ │ │ │ └── Error: *Object (1 property)
+│ │ │ │ └── Error: *Object (4 properties)
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Details: Object (3 properties)[]
+│ │ │ │ │ ├── Code: *string
+│ │ │ │ │ ├── Message: *string
+│ │ │ │ │ └── Target: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ └── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Assigned"
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ └── "Updating"
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── PrivateFQDN: *string
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceID: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ProvisioningState: *string
+│ ├── ServicePrincipalProfile: *Object (1 property)
+│ │ └── ClientId: *string
+│ └── WindowsProfile: *Object (3 properties)
+│ ├── AdminUsername: *string
+│ ├── EnableCSIProxy: *bool
+│ └── LicenseType: *Enum (2 values)
+│ ├── "None"
+│ └── "Windows_Server"
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Basic"
+│ └── Tier: *Enum (2 values)
+│ ├── "Free"
+│ └── "Paid"
+├── Tags: map[string]string
+└── Type: *string
+ManagedCluster_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Identity: *Object (2 properties)
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (22 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (34 properties)[]
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── Count: *int
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (2 values)
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: *string
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (2 values)
+│ │ │ ├── "CBLMariner"
+│ │ │ └── "Ubuntu"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodSubnetID: *string
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (2 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ └── "VirtualMachineScaleSets"
+│ │ ├── UpgradeSettings: *Object (1 property)
+│ │ │ └── MaxSurge: *string
+│ │ ├── VmSize: *string
+│ │ └── VnetSubnetID: *string
+│ ├── ApiServerAccessProfile: *Object (4 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (1 property)
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── NetworkProfile: *Object (10 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── LoadBalancerProfile: *Object (6 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (1 property)
+│ │ │ │ └── Count: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "kubenet"
+│ │ ├── NetworkPolicy: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "calico"
+│ │ ├── OutboundType: *Enum (2 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ └── ServiceCidr: *string
+│ ├── NodeResourceGroup: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *string
+│ └── WindowsProfile: *Object (4 properties)
+│ ├── AdminPassword: *string
+│ ├── AdminUsername: *string
+│ ├── EnableCSIProxy: *bool
+│ └── LicenseType: *Enum (2 values)
+│ ├── "None"
+│ └── "Windows_Server"
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Basic"
+│ └── Tier: *Enum (2 values)
+│ ├── "Free"
+│ └── "Paid"
+└── Tags: map[string]string
+ManagedClustersAgentPool: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (35 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── Count: *int
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixIDReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ ├── Rule 0: Maximum: 2048
+│ │ └── Rule 1: Minimum: 0
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (2 values)
+│ │ ├── "CBLMariner"
+│ │ └── "Ubuntu"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetIDReference: *genruntime.ResourceReference
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ └── VnetSubnetIDReference: *genruntime.ResourceReference
+└── Status: Object (40 properties)
+ ├── AvailabilityZones: string[]
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── Id: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── Name: *string
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (2 values)
+ │ ├── "CBLMariner"
+ │ └── "Ubuntu"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PropertiesType: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ └── VnetSubnetID: *string
+ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (36 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── Count: *int
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NodeImageVersion: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixID: *string
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (2 values)
+│ │ ├── "CBLMariner"
+│ │ └── "Ubuntu"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── PodSubnetID: *string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProvisioningState: *string
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ └── VnetSubnetID: *string
+└── Type: *string
+ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (33 properties)
+ ├── AvailabilityZones: string[]
+ ├── Count: *int
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *Validated (2 rules)
+ │ ├── Rule 0: Maximum: 2048
+ │ └── Rule 1: Minimum: 0
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (2 values)
+ │ ├── "CBLMariner"
+ │ └── "Ubuntu"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ └── VnetSubnetID: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/zz_generated.deepcopy.go
index cd90d51870..2ce99ee985 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20210501/zz_generated.deepcopy.go
@@ -5263,7 +5263,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -5331,11 +5331,6 @@ func (in *ManagedClusterWindowsProfile_ARM) DeepCopy() *ManagedClusterWindowsPro
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -5366,11 +5361,6 @@ func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindows
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS_ARM) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_spec_arm_types_gen.go
index 92fcfc33ef..a407e8468c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_spec_arm_types_gen.go
@@ -242,6 +242,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -475,6 +480,13 @@ const (
ManagedClusterIdentity_Type_UserAssigned = ManagedClusterIdentity_Type("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type
+var managedClusterIdentity_Type_Values = map[string]ManagedClusterIdentity_Type{
+ "none": ManagedClusterIdentity_Type_None,
+ "systemassigned": ManagedClusterIdentity_Type_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_UserAssigned,
+}
+
// The OIDC issuer profile of the Managed Cluster.
type ManagedClusterOIDCIssuerProfile_ARM struct {
// Enabled: Whether the OIDC issuer is enabled.
@@ -594,6 +606,11 @@ type ManagedClusterSKU_Name string
const ManagedClusterSKU_Name_Base = ManagedClusterSKU_Name("Base")
+// Mapping from string to ManagedClusterSKU_Name
+var managedClusterSKU_Name_Values = map[string]ManagedClusterSKU_Name{
+ "base": ManagedClusterSKU_Name_Base,
+}
+
// +kubebuilder:validation:Enum={"Free","Standard"}
type ManagedClusterSKU_Tier string
@@ -602,6 +619,12 @@ const (
ManagedClusterSKU_Tier_Standard = ManagedClusterSKU_Tier("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier
+var managedClusterSKU_Tier_Values = map[string]ManagedClusterSKU_Tier{
+ "free": ManagedClusterSKU_Tier_Free,
+ "standard": ManagedClusterSKU_Tier_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_status_arm_types_gen.go
index 7d369b0cec..b39694280d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_status_arm_types_gen.go
@@ -293,6 +293,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_STATUS_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -556,6 +561,13 @@ const (
ManagedClusterIdentity_Type_STATUS_UserAssigned = ManagedClusterIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type_STATUS
+var managedClusterIdentity_Type_STATUS_Values = map[string]ManagedClusterIdentity_Type_STATUS{
+ "none": ManagedClusterIdentity_Type_STATUS_None,
+ "systemassigned": ManagedClusterIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_STATUS_UserAssigned,
+}
+
type ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -682,6 +694,11 @@ type ManagedClusterSKU_Name_STATUS string
const ManagedClusterSKU_Name_STATUS_Base = ManagedClusterSKU_Name_STATUS("Base")
+// Mapping from string to ManagedClusterSKU_Name_STATUS
+var managedClusterSKU_Name_STATUS_Values = map[string]ManagedClusterSKU_Name_STATUS{
+ "base": ManagedClusterSKU_Name_STATUS_Base,
+}
+
type ManagedClusterSKU_Tier_STATUS string
const (
@@ -689,6 +706,12 @@ const (
ManagedClusterSKU_Tier_STATUS_Standard = ManagedClusterSKU_Tier_STATUS("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier_STATUS
+var managedClusterSKU_Tier_STATUS_Values = map[string]ManagedClusterSKU_Tier_STATUS{
+ "free": ManagedClusterSKU_Tier_STATUS_Free,
+ "standard": ManagedClusterSKU_Tier_STATUS_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_STATUS_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
@@ -706,18 +729,6 @@ type ManagedClusterStorageProfile_STATUS_ARM struct {
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS_ARM struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -781,6 +792,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -790,6 +809,14 @@ const (
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
+
// Details about a user assigned identity.
type UserAssignedIdentity_STATUS_ARM struct {
// ClientId: The client ID of the user assigned identity.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_types_gen.go
index dd333b04b5..59c5683a1b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_cluster_types_gen.go
@@ -6,7 +6,7 @@ package v1api20230201
import (
"context"
"fmt"
- v20230201s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
@@ -55,7 +55,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20230201s.ManagedCluster
+ var source storage.ManagedCluster
err := source.ConvertFrom(hub)
if err != nil {
@@ -73,7 +73,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20230201s.ManagedCluster
+ var destination storage.ManagedCluster
err := cluster.AssignProperties_To_ManagedCluster(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from cluster")
@@ -121,6 +121,13 @@ func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ ge
}
}
}
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.Identity != nil {
+ if cluster.Status.Identity.PrincipalId != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId, *cluster.Status.Identity.PrincipalId)
+ }
+ }
+ }
result, err := collector.Values()
if err != nil {
return nil, err
@@ -272,6 +279,7 @@ func (cluster *ManagedCluster) validateConfigMapDestinations() (admission.Warnin
}
toValidate := []*genruntime.ConfigMapDestination{
cluster.Spec.OperatorSpec.ConfigMaps.OIDCIssuerProfile,
+ cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId,
}
return genruntime.ValidateConfigMapDestinations(toValidate)
}
@@ -316,7 +324,7 @@ func (cluster *ManagedCluster) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20230201s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -342,13 +350,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20230201s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20230201s.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -356,7 +364,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20230201s.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -1230,14 +1238,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230201s.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1254,14 +1262,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230201s.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1277,7 +1285,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20230201s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// AadProfile
if source.AadProfile != nil {
@@ -1567,8 +1575,9 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -1653,13 +1662,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20230201s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20230201s.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -1671,11 +1680,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20230201s.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20230201s.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -1689,11 +1698,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20230201s.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20230201s.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -1707,7 +1716,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20230201s.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -1719,7 +1728,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20230201s.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -1731,7 +1740,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20230201s.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -1743,7 +1752,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20230201s.ManagedClusterAzureMonitorProfile
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
@@ -1793,7 +1802,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20230201s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -1808,7 +1817,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20230201s.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -1820,7 +1829,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20230201s.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -1832,11 +1841,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20230201s.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20230201s.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -1853,7 +1862,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20230201s.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -1868,7 +1877,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20230201s.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -1883,7 +1892,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20230201s.ManagedClusterOIDCIssuerProfile
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
@@ -1895,7 +1904,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20230201s.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -1918,7 +1927,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20230201s.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -1930,11 +1939,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20230201s.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20230201s.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -1956,7 +1965,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20230201s.ManagedClusterSecurityProfile
+ var securityProfile storage.ManagedClusterSecurityProfile
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
@@ -1968,7 +1977,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20230201s.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -1980,7 +1989,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20230201s.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -1992,7 +2001,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20230201s.ManagedClusterStorageProfile
+ var storageProfile storage.ManagedClusterStorageProfile
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
@@ -2007,7 +2016,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20230201s.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -2019,7 +2028,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20230201s.ManagedClusterWorkloadAutoScalerProfile
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
@@ -2208,14 +2217,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230201s.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2232,14 +2241,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230201s.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -2768,7 +2777,7 @@ func (cluster *ManagedCluster_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20230201s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// AadProfile
if source.AadProfile != nil {
@@ -3069,8 +3078,9 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess_STATUS(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_STATUS_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -3170,13 +3180,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20230201s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20230201s.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -3188,11 +3198,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20230201s.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20230201s.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -3206,11 +3216,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20230201s.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20230201s.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -3224,7 +3234,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20230201s.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -3236,7 +3246,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -3248,7 +3258,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20230201s.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -3260,7 +3270,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20230201s.ManagedClusterAzureMonitorProfile_STATUS
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
@@ -3311,7 +3321,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20230201s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -3329,7 +3339,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20230201s.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -3344,7 +3354,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20230201s.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -3356,11 +3366,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20230201s.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20230201s.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -3377,7 +3387,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20230201s.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -3398,7 +3408,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20230201s.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -3413,7 +3423,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20230201s.ManagedClusterOIDCIssuerProfile_STATUS
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
@@ -3425,7 +3435,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20230201s.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -3437,7 +3447,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20230201s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -3452,11 +3462,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20230201s.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20230201s.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -3481,7 +3491,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20230201s.ManagedClusterSecurityProfile_STATUS
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -3493,7 +3503,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20230201s.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -3505,7 +3515,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20230201s.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -3517,7 +3527,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20230201s.ManagedClusterStorageProfile_STATUS
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
@@ -3529,7 +3539,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SystemData
if cluster.SystemData != nil {
- var systemDatum v20230201s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -3547,7 +3557,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20230201s.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -3559,7 +3569,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20230201s.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
@@ -3653,7 +3663,7 @@ func (profile *ContainerServiceLinuxProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20230201s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// AdminUsername
if source.AdminUsername != nil {
@@ -3680,7 +3690,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20230201s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3694,7 +3704,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20230201s.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -3760,7 +3770,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20230201s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -3782,7 +3792,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20230201s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3791,7 +3801,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20230201s.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -4108,7 +4118,7 @@ func (profile *ContainerServiceNetworkProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20230201s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// DnsServiceIP
if source.DnsServiceIP != nil {
@@ -4132,7 +4142,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = ContainerServiceNetworkProfile_IpFamilies(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, containerServiceNetworkProfile_IpFamilies_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -4153,8 +4163,9 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, containerServiceNetworkProfile_LoadBalancerSku_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -4173,48 +4184,54 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := ContainerServiceNetworkProfile_NetworkDataplane(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, containerServiceNetworkProfile_NetworkDataplane_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, containerServiceNetworkProfile_NetworkMode_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := ContainerServiceNetworkProfile_NetworkPlugin(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, containerServiceNetworkProfile_NetworkPlugin_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := ContainerServiceNetworkProfile_NetworkPluginMode(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, containerServiceNetworkProfile_NetworkPluginMode_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, containerServiceNetworkProfile_NetworkPolicy_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -4246,7 +4263,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20230201s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4281,7 +4298,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20230201s.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -4301,7 +4318,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20230201s.ManagedClusterNATGatewayProfile
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
@@ -4574,7 +4591,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20230201s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// DnsServiceIP
profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
@@ -4588,7 +4605,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = ContainerServiceNetworkProfile_IpFamilies_STATUS(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, containerServiceNetworkProfile_IpFamilies_STATUS_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -4609,8 +4626,9 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku_STATUS(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, containerServiceNetworkProfile_LoadBalancerSku_STATUS_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -4629,48 +4647,54 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := ContainerServiceNetworkProfile_NetworkDataplane_STATUS(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, containerServiceNetworkProfile_NetworkDataplane_STATUS_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode_STATUS(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, containerServiceNetworkProfile_NetworkMode_STATUS_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := ContainerServiceNetworkProfile_NetworkPlugin_STATUS(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, containerServiceNetworkProfile_NetworkPlugin_STATUS_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := ContainerServiceNetworkProfile_NetworkPluginMode_STATUS(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, containerServiceNetworkProfile_NetworkPluginMode_STATUS_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy_STATUS(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, containerServiceNetworkProfile_NetworkPolicy_STATUS_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType_STATUS(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_STATUS_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -4692,7 +4716,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20230201s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4717,7 +4741,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20230201s.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -4737,7 +4761,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20230201s.ManagedClusterNATGatewayProfile_STATUS
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
@@ -4879,15 +4903,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20230201s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -4897,7 +4922,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20230201s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4963,15 +4988,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20230201s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -4981,7 +5007,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20230201s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5142,7 +5168,7 @@ func (profile *ManagedClusterAADProfile) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20230201s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -5180,7 +5206,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20230201s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5311,7 +5337,7 @@ func (profile *ManagedClusterAADProfile_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20230201s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -5349,7 +5375,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20230201s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5461,7 +5487,7 @@ func (profile *ManagedClusterAddonProfile) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20230201s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -5479,7 +5505,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20230201s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5561,7 +5587,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20230201s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -5591,7 +5617,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20230201s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5608,7 +5634,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20230201s.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -6340,7 +6366,7 @@ func (profile *ManagedClusterAgentPoolProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20230201s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -6402,8 +6428,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -6430,8 +6457,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -6459,8 +6487,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -6500,24 +6529,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -6552,24 +6584,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -6587,8 +6622,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -6618,8 +6654,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -6629,7 +6666,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20230201s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6641,7 +6678,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// CreationData
if profile.CreationData != nil {
- var creationDatum v20230201s.CreationData
+ var creationDatum storage.CreationData
err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -6709,7 +6746,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -6729,7 +6766,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -6823,7 +6860,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// PowerState
if profile.PowerState != nil {
- var powerState v20230201s.PowerState
+ var powerState storage.PowerState
err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -6886,7 +6923,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -7389,7 +7426,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20230201s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -7454,8 +7491,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -7477,8 +7515,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -7506,8 +7545,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -7535,24 +7575,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -7580,24 +7623,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -7615,8 +7661,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Type
if source.Type != nil {
- typeVar := AgentPoolType_STATUS(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_STATUS_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -7641,8 +7688,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -7652,7 +7700,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20230201s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7664,7 +7712,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// CreationData
if profile.CreationData != nil {
- var creationDatum v20230201s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -7730,7 +7778,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -7750,7 +7798,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -7827,7 +7875,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20230201s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -7888,7 +7936,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -8032,7 +8080,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20230201s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -8069,7 +8117,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20230201s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8185,7 +8233,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20230201s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -8222,7 +8270,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20230201s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8314,12 +8362,13 @@ func (profile *ManagedClusterAutoUpgradeProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20230201s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -8329,7 +8378,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20230201s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8384,12 +8433,13 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20230201s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -8399,7 +8449,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20230201s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8479,7 +8529,7 @@ func (profile *ManagedClusterAzureMonitorProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *v20230201s.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
// Metrics
if source.Metrics != nil {
@@ -8498,13 +8548,13 @@ func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *v20230201s.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Metrics
if profile.Metrics != nil {
- var metric v20230201s.ManagedClusterAzureMonitorProfileMetrics
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
@@ -8563,7 +8613,7 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *v20230201s.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Metrics
if source.Metrics != nil {
@@ -8582,13 +8632,13 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *v20230201s.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Metrics
if profile.Metrics != nil {
- var metric v20230201s.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
@@ -8698,7 +8748,7 @@ func (config *ManagedClusterHTTPProxyConfig) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20230201s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -8717,7 +8767,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20230201s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8801,7 +8851,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20230201s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -8820,7 +8870,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20230201s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8911,12 +8961,13 @@ func (identity *ManagedClusterIdentity) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20230201s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -8944,7 +8995,7 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20230201s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8958,11 +9009,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230201s.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230201s.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -9052,7 +9103,7 @@ func (identity *ManagedClusterIdentity_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20230201s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// PrincipalId
identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
@@ -9062,8 +9113,9 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -9091,7 +9143,7 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20230201s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9111,11 +9163,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -9184,7 +9236,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *v20230201s.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
// Enabled
if source.Enabled != nil {
@@ -9199,7 +9251,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *v20230201s.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9262,7 +9314,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *v20230201s.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -9280,7 +9332,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *v20230201s.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9316,7 +9368,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20230201s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// ConfigMaps
if source.ConfigMaps != nil {
@@ -9347,13 +9399,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20230201s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ConfigMaps
if operator.ConfigMaps != nil {
- var configMap v20230201s.ManagedClusterOperatorConfigMaps
+ var configMap storage.ManagedClusterOperatorConfigMaps
err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
@@ -9365,7 +9417,7 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOp
// Secrets
if operator.Secrets != nil {
- var secret v20230201s.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -9495,7 +9547,7 @@ func (profile *ManagedClusterPodIdentityProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20230201s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -9554,7 +9606,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20230201s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9576,11 +9628,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230201s.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230201s.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -9594,11 +9646,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20230201s.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20230201s.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -9691,7 +9743,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20230201s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -9750,7 +9802,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20230201s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9772,11 +9824,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230201s.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230201s.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -9790,11 +9842,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20230201s.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20230201s.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -10112,15 +10164,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20230201s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -10175,7 +10228,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20230201s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10430,15 +10483,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) PopulateFromAR
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander_STATUS(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -10493,7 +10547,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20230201s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10572,6 +10626,12 @@ const (
ManagedClusterProperties_PublicNetworkAccess_Enabled = ManagedClusterProperties_PublicNetworkAccess("Enabled")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess
+var managedClusterProperties_PublicNetworkAccess_Values = map[string]ManagedClusterProperties_PublicNetworkAccess{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_Enabled,
+}
+
type ManagedClusterProperties_PublicNetworkAccess_STATUS string
const (
@@ -10579,6 +10639,12 @@ const (
ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled = ManagedClusterProperties_PublicNetworkAccess_STATUS("Enabled")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess_STATUS
+var managedClusterProperties_PublicNetworkAccess_STATUS_Values = map[string]ManagedClusterProperties_PublicNetworkAccess_STATUS{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled,
+}
+
// Security profile for the container service cluster.
type ManagedClusterSecurityProfile struct {
// AzureKeyVaultKms: Azure Key Vault [key management
@@ -10708,7 +10774,7 @@ func (profile *ManagedClusterSecurityProfile) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *v20230201s.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -10763,13 +10829,13 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *v20230201s.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20230201s.AzureKeyVaultKms
+ var azureKeyVaultKm storage.AzureKeyVaultKms
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
@@ -10781,7 +10847,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// Defender
if profile.Defender != nil {
- var defender v20230201s.ManagedClusterSecurityProfileDefender
+ var defender storage.ManagedClusterSecurityProfileDefender
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
@@ -10793,7 +10859,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20230201s.ManagedClusterSecurityProfileImageCleaner
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
@@ -10805,7 +10871,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20230201s.ManagedClusterSecurityProfileWorkloadIdentity
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
@@ -10906,7 +10972,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *v20230201s.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -10961,13 +11027,13 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *v20230201s.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20230201s.AzureKeyVaultKms_STATUS
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
@@ -10979,7 +11045,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// Defender
if profile.Defender != nil {
- var defender v20230201s.ManagedClusterSecurityProfileDefender_STATUS
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
@@ -10991,7 +11057,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20230201s.ManagedClusterSecurityProfileImageCleaner_STATUS
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
@@ -11003,7 +11069,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20230201s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
@@ -11086,7 +11152,7 @@ func (profile *ManagedClusterServicePrincipalProfile) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20230201s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -11104,7 +11170,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20230201s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11161,7 +11227,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20230201s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -11171,7 +11237,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20230201s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11251,20 +11317,22 @@ func (clusterSKU *ManagedClusterSKU) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20230201s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -11274,7 +11342,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20230201s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11346,20 +11414,22 @@ func (clusterSKU *ManagedClusterSKU_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20230201s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name_STATUS(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_STATUS_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier_STATUS(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_STATUS_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -11369,7 +11439,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20230201s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11527,7 +11597,7 @@ func (profile *ManagedClusterStorageProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *v20230201s.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -11582,13 +11652,13 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *v20230201s.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20230201s.ManagedClusterStorageProfileBlobCSIDriver
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
@@ -11600,7 +11670,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20230201s.ManagedClusterStorageProfileDiskCSIDriver
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
@@ -11612,7 +11682,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20230201s.ManagedClusterStorageProfileFileCSIDriver
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
@@ -11624,7 +11694,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20230201s.ManagedClusterStorageProfileSnapshotController
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
@@ -11723,7 +11793,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *v20230201s.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -11778,13 +11848,13 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *v20230201s.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20230201s.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
@@ -11796,7 +11866,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20230201s.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
@@ -11808,7 +11878,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20230201s.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
@@ -11820,7 +11890,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20230201s.ManagedClusterStorageProfileSnapshotController_STATUS
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
@@ -11853,7 +11923,7 @@ type ManagedClusterWindowsProfile struct {
// Has a special character (Regex match [\W_])
// Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
// "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
// +kubebuilder:validation:Required
// AdminUsername: Specifies the name of the administrator account.
@@ -11888,7 +11958,11 @@ func (profile *ManagedClusterWindowsProfile) ConvertToARM(resolved genruntime.Co
// Set property "AdminPassword":
if profile.AdminPassword != nil {
- adminPassword := *profile.AdminPassword
+ adminPasswordSecret, err := resolved.ResolvedSecrets.Lookup(*profile.AdminPassword)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property AdminPassword")
+ }
+ adminPassword := adminPasswordSecret
result.AdminPassword = &adminPassword
}
@@ -11934,11 +12008,7 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
+ // no assignment for property "AdminPassword"
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
@@ -11974,10 +12044,15 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20230201s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -12004,8 +12079,9 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -12015,12 +12091,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20230201s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -12035,7 +12116,7 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20230201s.WindowsGmsaProfile
+ var gmsaProfile storage.WindowsGmsaProfile
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
@@ -12066,18 +12147,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -12113,12 +12182,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_STATUS_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
-
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
adminUsername := *typedInput.AdminUsername
@@ -12153,10 +12216,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20230201s.ManagedClusterWindowsProfile_STATUS) error {
-
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -12183,8 +12243,9 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType_STATUS(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_STATUS_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -12194,13 +12255,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20230201s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -12214,7 +12272,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20230201s.WindowsGmsaProfile_STATUS
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
@@ -12298,7 +12356,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *v20230201s.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Keda
if source.Keda != nil {
@@ -12317,13 +12375,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *v20230201s.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20230201s.ManagedClusterWorkloadAutoScalerProfileKeda
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
@@ -12380,7 +12438,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *v20230201s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Keda
if source.Keda != nil {
@@ -12399,13 +12457,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *v20230201s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20230201s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
@@ -12457,12 +12515,13 @@ func (state *PowerState_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20230201s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Code
if source.Code != nil {
- code := PowerState_Code_STATUS(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_STATUS_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -12472,7 +12531,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20230201s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12599,7 +12658,7 @@ func (resource *PrivateLinkResource) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20230201s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -12626,7 +12685,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20230201s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12736,7 +12795,7 @@ func (resource *PrivateLinkResource_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20230201s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -12761,7 +12820,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20230201s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12870,7 +12929,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20230201s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -12880,8 +12939,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -12894,8 +12954,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -12905,7 +12966,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20230201s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13024,7 +13085,7 @@ func (identity *UserAssignedIdentity) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20230201s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -13045,7 +13106,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20230201s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13123,7 +13184,7 @@ func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20230201s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -13139,7 +13200,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20230201s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13260,7 +13321,7 @@ func (vaultKms *AzureKeyVaultKms) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *v20230201s.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
// Enabled
if source.Enabled != nil {
@@ -13275,8 +13336,9 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -13294,7 +13356,7 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
}
// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *v20230201s.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13400,7 +13462,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *v20230201s.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -13415,8 +13477,9 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -13429,7 +13492,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
}
// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *v20230201s.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13474,6 +13537,12 @@ const (
ContainerServiceNetworkProfile_IpFamilies_IPv6 = ContainerServiceNetworkProfile_IpFamilies("IPv6")
)
+// Mapping from string to ContainerServiceNetworkProfile_IpFamilies
+var containerServiceNetworkProfile_IpFamilies_Values = map[string]ContainerServiceNetworkProfile_IpFamilies{
+ "ipv4": ContainerServiceNetworkProfile_IpFamilies_IPv4,
+ "ipv6": ContainerServiceNetworkProfile_IpFamilies_IPv6,
+}
+
type ContainerServiceNetworkProfile_IpFamilies_STATUS string
const (
@@ -13481,6 +13550,12 @@ const (
ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv6 = ContainerServiceNetworkProfile_IpFamilies_STATUS("IPv6")
)
+// Mapping from string to ContainerServiceNetworkProfile_IpFamilies_STATUS
+var containerServiceNetworkProfile_IpFamilies_STATUS_Values = map[string]ContainerServiceNetworkProfile_IpFamilies_STATUS{
+ "ipv4": ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv4,
+ "ipv6": ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv6,
+}
+
// +kubebuilder:validation:Enum={"basic","standard"}
type ContainerServiceNetworkProfile_LoadBalancerSku string
@@ -13489,6 +13564,12 @@ const (
ContainerServiceNetworkProfile_LoadBalancerSku_Standard = ContainerServiceNetworkProfile_LoadBalancerSku("standard")
)
+// Mapping from string to ContainerServiceNetworkProfile_LoadBalancerSku
+var containerServiceNetworkProfile_LoadBalancerSku_Values = map[string]ContainerServiceNetworkProfile_LoadBalancerSku{
+ "basic": ContainerServiceNetworkProfile_LoadBalancerSku_Basic,
+ "standard": ContainerServiceNetworkProfile_LoadBalancerSku_Standard,
+}
+
type ContainerServiceNetworkProfile_LoadBalancerSku_STATUS string
const (
@@ -13496,6 +13577,12 @@ const (
ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Standard = ContainerServiceNetworkProfile_LoadBalancerSku_STATUS("standard")
)
+// Mapping from string to ContainerServiceNetworkProfile_LoadBalancerSku_STATUS
+var containerServiceNetworkProfile_LoadBalancerSku_STATUS_Values = map[string]ContainerServiceNetworkProfile_LoadBalancerSku_STATUS{
+ "basic": ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Basic,
+ "standard": ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Standard,
+}
+
// +kubebuilder:validation:Enum={"azure","cilium"}
type ContainerServiceNetworkProfile_NetworkDataplane string
@@ -13504,6 +13591,12 @@ const (
ContainerServiceNetworkProfile_NetworkDataplane_Cilium = ContainerServiceNetworkProfile_NetworkDataplane("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkDataplane
+var containerServiceNetworkProfile_NetworkDataplane_Values = map[string]ContainerServiceNetworkProfile_NetworkDataplane{
+ "azure": ContainerServiceNetworkProfile_NetworkDataplane_Azure,
+ "cilium": ContainerServiceNetworkProfile_NetworkDataplane_Cilium,
+}
+
type ContainerServiceNetworkProfile_NetworkDataplane_STATUS string
const (
@@ -13511,6 +13604,12 @@ const (
ContainerServiceNetworkProfile_NetworkDataplane_STATUS_Cilium = ContainerServiceNetworkProfile_NetworkDataplane_STATUS("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkDataplane_STATUS
+var containerServiceNetworkProfile_NetworkDataplane_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkDataplane_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkDataplane_STATUS_Azure,
+ "cilium": ContainerServiceNetworkProfile_NetworkDataplane_STATUS_Cilium,
+}
+
// +kubebuilder:validation:Enum={"bridge","transparent"}
type ContainerServiceNetworkProfile_NetworkMode string
@@ -13519,6 +13618,12 @@ const (
ContainerServiceNetworkProfile_NetworkMode_Transparent = ContainerServiceNetworkProfile_NetworkMode("transparent")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkMode
+var containerServiceNetworkProfile_NetworkMode_Values = map[string]ContainerServiceNetworkProfile_NetworkMode{
+ "bridge": ContainerServiceNetworkProfile_NetworkMode_Bridge,
+ "transparent": ContainerServiceNetworkProfile_NetworkMode_Transparent,
+}
+
type ContainerServiceNetworkProfile_NetworkMode_STATUS string
const (
@@ -13526,6 +13631,12 @@ const (
ContainerServiceNetworkProfile_NetworkMode_STATUS_Transparent = ContainerServiceNetworkProfile_NetworkMode_STATUS("transparent")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkMode_STATUS
+var containerServiceNetworkProfile_NetworkMode_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkMode_STATUS{
+ "bridge": ContainerServiceNetworkProfile_NetworkMode_STATUS_Bridge,
+ "transparent": ContainerServiceNetworkProfile_NetworkMode_STATUS_Transparent,
+}
+
// +kubebuilder:validation:Enum={"azure","kubenet","none"}
type ContainerServiceNetworkProfile_NetworkPlugin string
@@ -13535,6 +13646,13 @@ const (
ContainerServiceNetworkProfile_NetworkPlugin_None = ContainerServiceNetworkProfile_NetworkPlugin("none")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPlugin
+var containerServiceNetworkProfile_NetworkPlugin_Values = map[string]ContainerServiceNetworkProfile_NetworkPlugin{
+ "azure": ContainerServiceNetworkProfile_NetworkPlugin_Azure,
+ "kubenet": ContainerServiceNetworkProfile_NetworkPlugin_Kubenet,
+ "none": ContainerServiceNetworkProfile_NetworkPlugin_None,
+}
+
type ContainerServiceNetworkProfile_NetworkPlugin_STATUS string
const (
@@ -13543,15 +13661,32 @@ const (
ContainerServiceNetworkProfile_NetworkPlugin_STATUS_None = ContainerServiceNetworkProfile_NetworkPlugin_STATUS("none")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPlugin_STATUS
+var containerServiceNetworkProfile_NetworkPlugin_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPlugin_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Azure,
+ "kubenet": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Kubenet,
+ "none": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_None,
+}
+
// +kubebuilder:validation:Enum={"overlay"}
type ContainerServiceNetworkProfile_NetworkPluginMode string
const ContainerServiceNetworkProfile_NetworkPluginMode_Overlay = ContainerServiceNetworkProfile_NetworkPluginMode("overlay")
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPluginMode
+var containerServiceNetworkProfile_NetworkPluginMode_Values = map[string]ContainerServiceNetworkProfile_NetworkPluginMode{
+ "overlay": ContainerServiceNetworkProfile_NetworkPluginMode_Overlay,
+}
+
type ContainerServiceNetworkProfile_NetworkPluginMode_STATUS string
const ContainerServiceNetworkProfile_NetworkPluginMode_STATUS_Overlay = ContainerServiceNetworkProfile_NetworkPluginMode_STATUS("overlay")
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPluginMode_STATUS
+var containerServiceNetworkProfile_NetworkPluginMode_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPluginMode_STATUS{
+ "overlay": ContainerServiceNetworkProfile_NetworkPluginMode_STATUS_Overlay,
+}
+
// +kubebuilder:validation:Enum={"azure","calico","cilium"}
type ContainerServiceNetworkProfile_NetworkPolicy string
@@ -13561,6 +13696,13 @@ const (
ContainerServiceNetworkProfile_NetworkPolicy_Cilium = ContainerServiceNetworkProfile_NetworkPolicy("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPolicy
+var containerServiceNetworkProfile_NetworkPolicy_Values = map[string]ContainerServiceNetworkProfile_NetworkPolicy{
+ "azure": ContainerServiceNetworkProfile_NetworkPolicy_Azure,
+ "calico": ContainerServiceNetworkProfile_NetworkPolicy_Calico,
+ "cilium": ContainerServiceNetworkProfile_NetworkPolicy_Cilium,
+}
+
type ContainerServiceNetworkProfile_NetworkPolicy_STATUS string
const (
@@ -13569,6 +13711,13 @@ const (
ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Cilium = ContainerServiceNetworkProfile_NetworkPolicy_STATUS("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPolicy_STATUS
+var containerServiceNetworkProfile_NetworkPolicy_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPolicy_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Azure,
+ "calico": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Calico,
+ "cilium": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Cilium,
+}
+
// +kubebuilder:validation:Enum={"loadBalancer","managedNATGateway","userAssignedNATGateway","userDefinedRouting"}
type ContainerServiceNetworkProfile_OutboundType string
@@ -13579,6 +13728,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType
+var containerServiceNetworkProfile_OutboundType_Values = map[string]ContainerServiceNetworkProfile_OutboundType{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting,
+}
+
type ContainerServiceNetworkProfile_OutboundType_STATUS string
const (
@@ -13588,6 +13745,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType_STATUS("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType_STATUS
+var containerServiceNetworkProfile_OutboundType_STATUS_Values = map[string]ContainerServiceNetworkProfile_OutboundType_STATUS{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting,
+}
+
// SSH configuration for Linux-based VMs running on Azure.
type ContainerServiceSshConfiguration struct {
// +kubebuilder:validation:Required
@@ -13642,7 +13807,7 @@ func (configuration *ContainerServiceSshConfiguration) PopulateFromARM(owner gen
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20230201s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -13667,17 +13832,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20230201s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20230201s.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20230201s.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -13735,7 +13900,7 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20230201s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -13760,17 +13925,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20230201s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20230201s.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20230201s.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -13804,6 +13969,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel
+var managedClusterAutoUpgradeProfile_UpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable,
+}
+
type ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS string
const (
@@ -13814,6 +13988,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable,
+}
+
// Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes
// infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See
// aka.ms/AzureManagedPrometheus for an overview.
@@ -13890,7 +14073,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *v20230201s.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Enabled
if source.Enabled != nil {
@@ -13917,7 +14100,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *v20230201s.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13931,7 +14114,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_Man
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20230201s.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
@@ -14002,7 +14185,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *v20230201s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -14029,7 +14212,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *v20230201s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14043,7 +14226,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20230201s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
@@ -14103,7 +14286,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) Populate
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// ClientId
identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -14116,7 +14299,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20230201s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14313,7 +14496,7 @@ func (profile *ManagedClusterLoadBalancerProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20230201s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// AllocatedOutboundPorts
if source.AllocatedOutboundPorts != nil {
@@ -14398,7 +14581,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20230201s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14412,11 +14595,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230201s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230201s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -14446,7 +14629,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -14458,7 +14641,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -14470,7 +14653,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -14597,7 +14780,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// AllocatedOutboundPorts
profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
@@ -14672,7 +14855,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14681,11 +14864,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230201s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230201s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -14710,7 +14893,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -14722,7 +14905,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -14734,7 +14917,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -14850,7 +15033,7 @@ func (profile *ManagedClusterNATGatewayProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *v20230201s.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -14895,17 +15078,17 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *v20230201s.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230201s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230201s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -14927,7 +15110,7 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClust
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20230201s.ManagedClusterManagedOutboundIPProfile
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
@@ -15007,7 +15190,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *v20230201s.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -15047,17 +15230,17 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *v20230201s.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230201s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230201s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -15074,7 +15257,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20230201s.ManagedClusterManagedOutboundIPProfile_STATUS
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
@@ -15099,10 +15282,13 @@ type ManagedClusterOperatorConfigMaps struct {
// OIDCIssuerProfile: indicates where the OIDCIssuerProfile config map should be placed. If omitted, no config map will be
// created.
OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+
+ // PrincipalId: indicates where the PrincipalId config map should be placed. If omitted, no config map will be created.
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
}
// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *v20230201s.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
// OIDCIssuerProfile
if source.OIDCIssuerProfile != nil {
@@ -15112,12 +15298,20 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
maps.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if source.PrincipalId != nil {
+ principalId := source.PrincipalId.Copy()
+ maps.PrincipalId = &principalId
+ } else {
+ maps.PrincipalId = nil
+ }
+
// No error
return nil
}
// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *v20230201s.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15129,6 +15323,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedCluster
destination.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if maps.PrincipalId != nil {
+ principalId := maps.PrincipalId.Copy()
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
destination.PropertyBag = propertyBag
@@ -15151,7 +15353,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20230201s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// AdminCredentials
if source.AdminCredentials != nil {
@@ -15174,7 +15376,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20230201s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15308,7 +15510,7 @@ func (identity *ManagedClusterPodIdentity) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20230201s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -15336,7 +15538,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20230201s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15345,7 +15547,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20230201s.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -15456,7 +15658,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20230201s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -15493,8 +15695,9 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ManagedClusterPodIdentity_ProvisioningState_STATUS(*source.ProvisioningState)
- identity.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, managedClusterPodIdentity_ProvisioningState_STATUS_Values)
+ identity.ProvisioningState = &provisioningStateTemp
} else {
identity.ProvisioningState = nil
}
@@ -15504,7 +15707,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20230201s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15513,7 +15716,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20230201s.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -15531,7 +15734,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -15644,7 +15847,7 @@ func (exception *ManagedClusterPodIdentityException) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20230201s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -15660,7 +15863,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20230201s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15736,7 +15939,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20230201s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -15752,7 +15955,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20230201s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15786,6 +15989,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_Random = ManagedClusterProperties_AutoScalerProfile_Expander("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander
+var managedClusterProperties_AutoScalerProfile_Expander_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_Random,
+}
+
type ManagedClusterProperties_AutoScalerProfile_Expander_STATUS string
const (
@@ -15795,6 +16006,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random = ManagedClusterProperties_AutoScalerProfile_Expander_STATUS("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander_STATUS
+var managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander_STATUS{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random,
+}
+
// Microsoft Defender settings for the security profile.
type ManagedClusterSecurityProfileDefender struct {
// LogAnalyticsWorkspaceResourceReference: Resource ID of the Log Analytics workspace to be associated with Microsoft
@@ -15867,7 +16086,7 @@ func (defender *ManagedClusterSecurityProfileDefender) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *v20230201s.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
// LogAnalyticsWorkspaceResourceReference
if source.LogAnalyticsWorkspaceResourceReference != nil {
@@ -15894,7 +16113,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *v20230201s.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15908,7 +16127,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_Manag
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20230201s.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
@@ -15976,7 +16195,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *v20230201s.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// LogAnalyticsWorkspaceResourceId
defender.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
@@ -15998,7 +16217,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *v20230201s.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16007,7 +16226,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_T
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20230201s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
@@ -16090,7 +16309,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *v20230201s.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Enabled
if source.Enabled != nil {
@@ -16108,7 +16327,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *v20230201s.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16175,7 +16394,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *v20230201s.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16193,7 +16412,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *v20230201s.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16265,7 +16484,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *v20230201s.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Enabled
if source.Enabled != nil {
@@ -16280,7 +16499,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *v20230201s.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16334,7 +16553,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) PopulateFr
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *v20230201s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16349,7 +16568,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProp
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *v20230201s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16418,7 +16637,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *v20230201s.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -16433,7 +16652,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *v20230201s.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16487,7 +16706,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *v20230201s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16502,7 +16721,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *v20230201s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16571,7 +16790,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *v20230201s.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -16586,7 +16805,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *v20230201s.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16640,7 +16859,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *v20230201s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16655,7 +16874,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *v20230201s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16724,7 +16943,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *v20230201s.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -16739,7 +16958,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *v20230201s.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16793,7 +17012,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *v20230201s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16808,7 +17027,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *v20230201s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16877,7 +17096,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) PopulateFromAR
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *v20230201s.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
// Enabled
if source.Enabled != nil {
@@ -16892,7 +17111,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperti
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *v20230201s.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16946,7 +17165,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) Populat
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *v20230201s.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16961,7 +17180,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *v20230201s.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16992,6 +17211,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_Windows_Server = ManagedClusterWindowsProfile_LicenseType("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType
+var managedClusterWindowsProfile_LicenseType_Values = map[string]ManagedClusterWindowsProfile_LicenseType{
+ "none": ManagedClusterWindowsProfile_LicenseType_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_Windows_Server,
+}
+
type ManagedClusterWindowsProfile_LicenseType_STATUS string
const (
@@ -16999,6 +17224,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server = ManagedClusterWindowsProfile_LicenseType_STATUS("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType_STATUS
+var managedClusterWindowsProfile_LicenseType_STATUS_Values = map[string]ManagedClusterWindowsProfile_LicenseType_STATUS{
+ "none": ManagedClusterWindowsProfile_LicenseType_STATUS_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server,
+}
+
// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
type ManagedClusterWorkloadAutoScalerProfileKeda struct {
// +kubebuilder:validation:Required
@@ -17046,7 +17277,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *v20230201s.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Enabled
if source.Enabled != nil {
@@ -17061,7 +17292,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *v20230201s.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17115,7 +17346,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *v20230201s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -17130,7 +17361,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *v20230201s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17160,13 +17391,19 @@ const (
PowerState_Code_STATUS_Stopped = PowerState_Code_STATUS("Stopped")
)
+// Mapping from string to PowerState_Code_STATUS
+var powerState_Code_STATUS_Values = map[string]PowerState_Code_STATUS{
+ "running": PowerState_Code_STATUS_Running,
+ "stopped": PowerState_Code_STATUS_Stopped,
+}
+
// Information about the user assigned identity for the resource
type UserAssignedIdentityDetails struct {
Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20230201s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Reference
details.Reference = source.Reference.Copy()
@@ -17176,7 +17413,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20230201s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17272,7 +17509,7 @@ func (profile *WindowsGmsaProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *v20230201s.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -17293,7 +17530,7 @@ func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(sour
}
// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *v20230201s.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17373,7 +17610,7 @@ func (profile *WindowsGmsaProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *v20230201s.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -17394,7 +17631,7 @@ func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfi
}
// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *v20230201s.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17431,6 +17668,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_Public = AzureKeyVaultKms_KeyVaultNetworkAccess("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess
+var azureKeyVaultKms_KeyVaultNetworkAccess_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_Public,
+}
+
type AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS string
const (
@@ -17438,6 +17681,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public = AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS
+var azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public,
+}
+
// Contains information about SSH certificate public key data.
type ContainerServiceSshPublicKey struct {
// +kubebuilder:validation:Required
@@ -17486,7 +17735,7 @@ func (publicKey *ContainerServiceSshPublicKey) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20230201s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -17496,7 +17745,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20230201s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17546,7 +17795,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20230201s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -17556,7 +17805,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20230201s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17641,7 +17890,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) PopulateFromAR
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *v20230201s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -17654,7 +17903,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperti
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *v20230201s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17721,7 +17970,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) Populat
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *v20230201s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -17734,7 +17983,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *v20230201s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17821,7 +18070,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Count
if source.Count != nil {
@@ -17844,7 +18093,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17916,7 +18165,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) Populate
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Count
iPs.Count = genruntime.ClonePointerToInt(source.Count)
@@ -17929,7 +18178,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18002,7 +18251,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) PopulateFr
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -18027,17 +18276,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20230201s.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20230201s.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -18094,7 +18343,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Pop
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -18119,17 +18368,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20230201s.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20230201s.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -18204,7 +18453,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -18229,17 +18478,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20230201s.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20230201s.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -18296,7 +18545,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -18321,17 +18570,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20230201s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20230201s.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20230201s.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -18403,7 +18652,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *v20230201s.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
// Count
if source.Count != nil {
@@ -18418,7 +18667,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *v20230201s.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18473,7 +18722,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *v20230201s.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Count
profile.Count = genruntime.ClonePointerToInt(source.Count)
@@ -18483,7 +18732,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *v20230201s.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18536,7 +18785,7 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Error
if source.Error != nil {
@@ -18555,13 +18804,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20230201s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if info.Error != nil {
- var error v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -18593,6 +18842,16 @@ const (
ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating = ManagedClusterPodIdentity_ProvisioningState_STATUS("Updating")
)
+// Mapping from string to ManagedClusterPodIdentity_ProvisioningState_STATUS
+var managedClusterPodIdentity_ProvisioningState_STATUS_Values = map[string]ManagedClusterPodIdentity_ProvisioningState_STATUS{
+ "assigned": ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned,
+ "canceled": ManagedClusterPodIdentity_ProvisioningState_STATUS_Canceled,
+ "deleting": ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting,
+ "failed": ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed,
+ "succeeded": ManagedClusterPodIdentity_ProvisioningState_STATUS_Succeeded,
+ "updating": ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating,
+}
+
// Microsoft Defender settings for the security profile threat detection.
type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
// Enabled: Whether to enable Defender threat detection
@@ -18639,7 +18898,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Popul
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *v20230201s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Enabled
if source.Enabled != nil {
@@ -18654,7 +18913,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Assig
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *v20230201s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18708,7 +18967,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *v20230201s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -18723,7 +18982,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *v20230201s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18792,7 +19051,7 @@ func (reference *ResourceReference) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20230201s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Reference
if source.Reference != nil {
@@ -18807,7 +19066,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20230201s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18861,7 +19120,7 @@ func (reference *ResourceReference_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20230201s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Id
reference.Id = genruntime.ClonePointerToString(source.Id)
@@ -18871,7 +19130,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20230201s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18925,7 +19184,7 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Error
if source.Error != nil {
@@ -18944,13 +19203,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20230201s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if error.Error != nil {
- var errorLocal v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -19033,7 +19292,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) PopulateFromA
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Code
body.Code = genruntime.ClonePointerToString(source.Code)
@@ -19067,7 +19326,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19076,11 +19335,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -19157,7 +19416,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Code
unrolled.Code = genruntime.ClonePointerToString(source.Code)
@@ -19173,7 +19432,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20230201s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_clusters_agent_pool_types_gen.go
index 4d56134ae9..910617be28 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/managed_clusters_agent_pool_types_gen.go
@@ -5,7 +5,7 @@ package v1api20230201
import (
"fmt"
- v20230201s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -50,7 +50,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20230201s.ManagedClustersAgentPool
+ var source storage.ManagedClustersAgentPool
err := source.ConvertFrom(hub)
if err != nil {
@@ -68,7 +68,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20230201s.ManagedClustersAgentPool
+ var destination storage.ManagedClustersAgentPool
err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from pool")
@@ -257,7 +257,7 @@ func (pool *ManagedClustersAgentPool) validateWriteOnceProperties(old runtime.Ob
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20230201s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -283,13 +283,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20230201s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20230201s.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -297,7 +297,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20230201s.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -1110,14 +1110,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230201s.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1134,14 +1134,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230201s.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1157,7 +1157,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20230201s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -1222,8 +1222,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -1250,8 +1251,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -1279,8 +1281,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -1312,24 +1315,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -1372,24 +1378,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -1407,8 +1416,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- pool.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ pool.Type = &typeTemp
} else {
pool.Type = nil
}
@@ -1438,8 +1448,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -1449,7 +1460,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20230201s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1464,7 +1475,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// CreationData
if pool.CreationData != nil {
- var creationDatum v20230201s.CreationData
+ var creationDatum storage.CreationData
err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -1532,7 +1543,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -1552,7 +1563,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -1649,7 +1660,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// PowerState
if pool.PowerState != nil {
- var powerState v20230201s.PowerState
+ var powerState storage.PowerState
err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -1712,7 +1723,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -1939,14 +1950,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230201s.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230201s.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1963,14 +1974,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230201s.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230201s.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -2420,7 +2431,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20230201s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -2488,8 +2499,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -2514,8 +2526,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -2543,8 +2556,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -2572,24 +2586,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -2611,8 +2628,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// PropertiesType
if source.PropertiesType != nil {
- propertiesType := AgentPoolType_STATUS(*source.PropertiesType)
- pool.PropertiesType = &propertiesType
+ propertiesType := *source.PropertiesType
+ propertiesTypeTemp := genruntime.ToEnum(propertiesType, agentPoolType_STATUS_Values)
+ pool.PropertiesType = &propertiesTypeTemp
} else {
pool.PropertiesType = nil
}
@@ -2625,24 +2643,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -2681,8 +2702,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -2692,7 +2714,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20230201s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2707,7 +2729,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// CreationData
if pool.CreationData != nil {
- var creationDatum v20230201s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -2776,7 +2798,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20230201s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -2796,7 +2818,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20230201s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -2873,7 +2895,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20230201s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -2937,7 +2959,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20230201s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -2982,6 +3004,12 @@ const (
AgentPoolMode_User = AgentPoolMode("User")
)
+// Mapping from string to AgentPoolMode
+var agentPoolMode_Values = map[string]AgentPoolMode{
+ "system": AgentPoolMode_System,
+ "user": AgentPoolMode_User,
+}
+
// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
type AgentPoolMode_STATUS string
@@ -2991,6 +3019,12 @@ const (
AgentPoolMode_STATUS_User = AgentPoolMode_STATUS("User")
)
+// Mapping from string to AgentPoolMode_STATUS
+var agentPoolMode_STATUS_Values = map[string]AgentPoolMode_STATUS{
+ "system": AgentPoolMode_STATUS_System,
+ "user": AgentPoolMode_STATUS_User,
+}
+
// The type of Agent Pool.
// +kubebuilder:validation:Enum={"AvailabilitySet","VirtualMachineScaleSets"}
type AgentPoolType string
@@ -3000,6 +3034,12 @@ const (
AgentPoolType_VirtualMachineScaleSets = AgentPoolType("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType
+var agentPoolType_Values = map[string]AgentPoolType{
+ "availabilityset": AgentPoolType_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_VirtualMachineScaleSets,
+}
+
// The type of Agent Pool.
type AgentPoolType_STATUS string
@@ -3008,6 +3048,12 @@ const (
AgentPoolType_STATUS_VirtualMachineScaleSets = AgentPoolType_STATUS("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType_STATUS
+var agentPoolType_STATUS_Values = map[string]AgentPoolType_STATUS{
+ "availabilityset": AgentPoolType_STATUS_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_STATUS_VirtualMachineScaleSets,
+}
+
// Settings for upgrading an agentpool
type AgentPoolUpgradeSettings struct {
// MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
@@ -3057,7 +3103,7 @@ func (settings *AgentPoolUpgradeSettings) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20230201s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// MaxSurge
settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
@@ -3067,7 +3113,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20230201s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3119,7 +3165,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20230201s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// MaxSurge
settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
@@ -3129,7 +3175,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20230201s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3197,7 +3243,7 @@ func (data *CreationData) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
-func (data *CreationData) AssignProperties_From_CreationData(source *v20230201s.CreationData) error {
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
// SourceResourceReference
if source.SourceResourceReference != nil {
@@ -3212,7 +3258,7 @@ func (data *CreationData) AssignProperties_From_CreationData(source *v20230201s.
}
// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
-func (data *CreationData) AssignProperties_To_CreationData(destination *v20230201s.CreationData) error {
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3266,7 +3312,7 @@ func (data *CreationData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *v20230201s.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
// SourceResourceId
data.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
@@ -3276,7 +3322,7 @@ func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(sourc
}
// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *v20230201s.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3306,6 +3352,15 @@ const (
GPUInstanceProfile_MIG7G = GPUInstanceProfile("MIG7g")
)
+// Mapping from string to GPUInstanceProfile
+var gPUInstanceProfile_Values = map[string]GPUInstanceProfile{
+ "mig1g": GPUInstanceProfile_MIG1G,
+ "mig2g": GPUInstanceProfile_MIG2G,
+ "mig3g": GPUInstanceProfile_MIG3G,
+ "mig4g": GPUInstanceProfile_MIG4G,
+ "mig7g": GPUInstanceProfile_MIG7G,
+}
+
// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
type GPUInstanceProfile_STATUS string
@@ -3317,6 +3372,15 @@ const (
GPUInstanceProfile_STATUS_MIG7G = GPUInstanceProfile_STATUS("MIG7g")
)
+// Mapping from string to GPUInstanceProfile_STATUS
+var gPUInstanceProfile_STATUS_Values = map[string]GPUInstanceProfile_STATUS{
+ "mig1g": GPUInstanceProfile_STATUS_MIG1G,
+ "mig2g": GPUInstanceProfile_STATUS_MIG2G,
+ "mig3g": GPUInstanceProfile_STATUS_MIG3G,
+ "mig4g": GPUInstanceProfile_STATUS_MIG4G,
+ "mig7g": GPUInstanceProfile_STATUS_MIG7G,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type KubeletConfig struct {
// AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
@@ -3518,7 +3582,7 @@ func (config *KubeletConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20230201s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -3573,7 +3637,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202302
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20230201s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3762,7 +3826,7 @@ func (config *KubeletConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20230201s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -3812,7 +3876,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20230201s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3879,6 +3943,12 @@ const (
KubeletDiskType_Temporary = KubeletDiskType("Temporary")
)
+// Mapping from string to KubeletDiskType
+var kubeletDiskType_Values = map[string]KubeletDiskType{
+ "os": KubeletDiskType_OS,
+ "temporary": KubeletDiskType_Temporary,
+}
+
// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
type KubeletDiskType_STATUS string
@@ -3887,6 +3957,12 @@ const (
KubeletDiskType_STATUS_Temporary = KubeletDiskType_STATUS("Temporary")
)
+// Mapping from string to KubeletDiskType_STATUS
+var kubeletDiskType_STATUS_Values = map[string]KubeletDiskType_STATUS{
+ "os": KubeletDiskType_STATUS_OS,
+ "temporary": KubeletDiskType_STATUS_Temporary,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type LinuxOSConfig struct {
// SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
@@ -3991,7 +4067,7 @@ func (config *LinuxOSConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20230201s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -4019,7 +4095,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202302
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20230201s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4028,7 +4104,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20230201s.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -4122,7 +4198,7 @@ func (config *LinuxOSConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20230201s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -4150,7 +4226,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20230201s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4159,7 +4235,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20230201s.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -4197,6 +4273,12 @@ const (
OSDiskType_Managed = OSDiskType("Managed")
)
+// Mapping from string to OSDiskType
+var oSDiskType_Values = map[string]OSDiskType{
+ "ephemeral": OSDiskType_Ephemeral,
+ "managed": OSDiskType_Managed,
+}
+
// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
@@ -4207,6 +4289,12 @@ const (
OSDiskType_STATUS_Managed = OSDiskType_STATUS("Managed")
)
+// Mapping from string to OSDiskType_STATUS
+var oSDiskType_STATUS_Values = map[string]OSDiskType_STATUS{
+ "ephemeral": OSDiskType_STATUS_Ephemeral,
+ "managed": OSDiskType_STATUS_Managed,
+}
+
// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when
// Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
// +kubebuilder:validation:Enum={"CBLMariner","Ubuntu","Windows2019","Windows2022"}
@@ -4219,6 +4307,14 @@ const (
OSSKU_Windows2022 = OSSKU("Windows2022")
)
+// Mapping from string to OSSKU
+var oSSKU_Values = map[string]OSSKU{
+ "cblmariner": OSSKU_CBLMariner,
+ "ubuntu": OSSKU_Ubuntu,
+ "windows2019": OSSKU_Windows2019,
+ "windows2022": OSSKU_Windows2022,
+}
+
// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when
// Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
type OSSKU_STATUS string
@@ -4230,6 +4326,14 @@ const (
OSSKU_STATUS_Windows2022 = OSSKU_STATUS("Windows2022")
)
+// Mapping from string to OSSKU_STATUS
+var oSSKU_STATUS_Values = map[string]OSSKU_STATUS{
+ "cblmariner": OSSKU_STATUS_CBLMariner,
+ "ubuntu": OSSKU_STATUS_Ubuntu,
+ "windows2019": OSSKU_STATUS_Windows2019,
+ "windows2022": OSSKU_STATUS_Windows2022,
+}
+
// The operating system type. The default is Linux.
// +kubebuilder:validation:Enum={"Linux","Windows"}
type OSType string
@@ -4239,6 +4343,12 @@ const (
OSType_Windows = OSType("Windows")
)
+// Mapping from string to OSType
+var oSType_Values = map[string]OSType{
+ "linux": OSType_Linux,
+ "windows": OSType_Windows,
+}
+
// The operating system type. The default is Linux.
type OSType_STATUS string
@@ -4247,6 +4357,12 @@ const (
OSType_STATUS_Windows = OSType_STATUS("Windows")
)
+// Mapping from string to OSType_STATUS
+var oSType_STATUS_Values = map[string]OSType_STATUS{
+ "linux": OSType_STATUS_Linux,
+ "windows": OSType_STATUS_Windows,
+}
+
// Describes the Power State of the cluster
type PowerState struct {
// Code: Tells whether the cluster is Running or Stopped
@@ -4293,12 +4409,13 @@ func (state *PowerState) PopulateFromARM(owner genruntime.ArbitraryOwnerReferenc
}
// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
-func (state *PowerState) AssignProperties_From_PowerState(source *v20230201s.PowerState) error {
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
// Code
if source.Code != nil {
- code := PowerState_Code(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -4308,7 +4425,7 @@ func (state *PowerState) AssignProperties_From_PowerState(source *v20230201s.Pow
}
// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
-func (state *PowerState) AssignProperties_To_PowerState(destination *v20230201s.PowerState) error {
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4341,6 +4458,12 @@ const (
ScaleDownMode_Delete = ScaleDownMode("Delete")
)
+// Mapping from string to ScaleDownMode
+var scaleDownMode_Values = map[string]ScaleDownMode{
+ "deallocate": ScaleDownMode_Deallocate,
+ "delete": ScaleDownMode_Delete,
+}
+
// Describes how VMs are added to or removed from Agent Pools. See [billing
// states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
type ScaleDownMode_STATUS string
@@ -4350,6 +4473,12 @@ const (
ScaleDownMode_STATUS_Delete = ScaleDownMode_STATUS("Delete")
)
+// Mapping from string to ScaleDownMode_STATUS
+var scaleDownMode_STATUS_Values = map[string]ScaleDownMode_STATUS{
+ "deallocate": ScaleDownMode_STATUS_Deallocate,
+ "delete": ScaleDownMode_STATUS_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
// +kubebuilder:validation:Enum={"Deallocate","Delete"}
@@ -4360,6 +4489,12 @@ const (
ScaleSetEvictionPolicy_Delete = ScaleSetEvictionPolicy("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy
+var scaleSetEvictionPolicy_Values = map[string]ScaleSetEvictionPolicy{
+ "deallocate": ScaleSetEvictionPolicy_Deallocate,
+ "delete": ScaleSetEvictionPolicy_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
type ScaleSetEvictionPolicy_STATUS string
@@ -4369,6 +4504,12 @@ const (
ScaleSetEvictionPolicy_STATUS_Delete = ScaleSetEvictionPolicy_STATUS("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy_STATUS
+var scaleSetEvictionPolicy_STATUS_Values = map[string]ScaleSetEvictionPolicy_STATUS{
+ "deallocate": ScaleSetEvictionPolicy_STATUS_Deallocate,
+ "delete": ScaleSetEvictionPolicy_STATUS_Delete,
+}
+
// The Virtual Machine Scale Set priority.
// +kubebuilder:validation:Enum={"Regular","Spot"}
type ScaleSetPriority string
@@ -4378,6 +4519,12 @@ const (
ScaleSetPriority_Spot = ScaleSetPriority("Spot")
)
+// Mapping from string to ScaleSetPriority
+var scaleSetPriority_Values = map[string]ScaleSetPriority{
+ "regular": ScaleSetPriority_Regular,
+ "spot": ScaleSetPriority_Spot,
+}
+
// The Virtual Machine Scale Set priority.
type ScaleSetPriority_STATUS string
@@ -4386,6 +4533,12 @@ const (
ScaleSetPriority_STATUS_Spot = ScaleSetPriority_STATUS("Spot")
)
+// Mapping from string to ScaleSetPriority_STATUS
+var scaleSetPriority_STATUS_Values = map[string]ScaleSetPriority_STATUS{
+ "regular": ScaleSetPriority_STATUS_Regular,
+ "spot": ScaleSetPriority_STATUS_Spot,
+}
+
// Determines the type of workload a node can run.
// +kubebuilder:validation:Enum={"OCIContainer","WasmWasi"}
type WorkloadRuntime string
@@ -4395,6 +4548,12 @@ const (
WorkloadRuntime_WasmWasi = WorkloadRuntime("WasmWasi")
)
+// Mapping from string to WorkloadRuntime
+var workloadRuntime_Values = map[string]WorkloadRuntime{
+ "ocicontainer": WorkloadRuntime_OCIContainer,
+ "wasmwasi": WorkloadRuntime_WasmWasi,
+}
+
// Determines the type of workload a node can run.
type WorkloadRuntime_STATUS string
@@ -4403,6 +4562,12 @@ const (
WorkloadRuntime_STATUS_WasmWasi = WorkloadRuntime_STATUS("WasmWasi")
)
+// Mapping from string to WorkloadRuntime_STATUS
+var workloadRuntime_STATUS_Values = map[string]WorkloadRuntime_STATUS{
+ "ocicontainer": WorkloadRuntime_STATUS_OCIContainer,
+ "wasmwasi": WorkloadRuntime_STATUS_WasmWasi,
+}
+
// +kubebuilder:validation:Enum={"Running","Stopped"}
type PowerState_Code string
@@ -4411,6 +4576,12 @@ const (
PowerState_Code_Stopped = PowerState_Code("Stopped")
)
+// Mapping from string to PowerState_Code
+var powerState_Code_Values = map[string]PowerState_Code{
+ "running": PowerState_Code_Running,
+ "stopped": PowerState_Code_Stopped,
+}
+
// Sysctl settings for Linux agent nodes.
type SysctlConfig struct {
// FsAioMaxNr: Sysctl setting fs.aio-max-nr.
@@ -4862,7 +5033,7 @@ func (config *SysctlConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20230201s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -4958,7 +5129,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20230201
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20230201s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5336,7 +5507,7 @@ func (config *SysctlConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20230201s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -5432,7 +5603,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20230201s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_status_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_status_types_gen.go
index ff55c6b0dd..a2f478709c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_status_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_status_types_gen.go
@@ -4,7 +4,7 @@
package compat
import (
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/pkg/errors"
)
@@ -17,7 +17,7 @@ type ClusterUpgradeSettings_STATUS struct {
}
// AssignProperties_From_ClusterUpgradeSettings_STATUS populates our ClusterUpgradeSettings_STATUS from the provided source ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *v20231001s.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *storage.ClusterUpgradeSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -54,13 +54,13 @@ func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgr
}
// AssignProperties_To_ClusterUpgradeSettings_STATUS populates the provided destination ClusterUpgradeSettings_STATUS from our ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *v20231001s.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *storage.ClusterUpgradeSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20231001s.UpgradeOverrideSettings_STATUS
+ var overrideSetting storage.UpgradeOverrideSettings_STATUS
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings_STATUS(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
@@ -91,8 +91,8 @@ func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgrad
}
type augmentConversionForClusterUpgradeSettings_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ClusterUpgradeSettings_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ClusterUpgradeSettings_STATUS) error
+ AssignPropertiesFrom(src *storage.ClusterUpgradeSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.ClusterUpgradeSettings_STATUS) error
}
// Storage version of v1api20230202preview.UpgradeOverrideSettings_STATUS
@@ -104,7 +104,7 @@ type UpgradeOverrideSettings_STATUS struct {
}
// AssignProperties_From_UpgradeOverrideSettings_STATUS populates our UpgradeOverrideSettings_STATUS from the provided source UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *v20231001s.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *storage.UpgradeOverrideSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -152,7 +152,7 @@ func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOve
}
// AssignProperties_To_UpgradeOverrideSettings_STATUS populates the provided destination UpgradeOverrideSettings_STATUS from our UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *v20231001s.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *storage.UpgradeOverrideSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
@@ -200,6 +200,6 @@ func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverr
}
type augmentConversionForUpgradeOverrideSettings_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.UpgradeOverrideSettings_STATUS) error
- AssignPropertiesTo(dst *v20231001s.UpgradeOverrideSettings_STATUS) error
+ AssignPropertiesFrom(src *storage.UpgradeOverrideSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.UpgradeOverrideSettings_STATUS) error
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_types_gen.go
index 1abff180b1..b09681afcc 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/cluster_upgrade_settings_types_gen.go
@@ -4,7 +4,7 @@
package compat
import (
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/pkg/errors"
)
@@ -17,7 +17,7 @@ type ClusterUpgradeSettings struct {
}
// AssignProperties_From_ClusterUpgradeSettings populates our ClusterUpgradeSettings from the provided source ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *v20231001s.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *storage.ClusterUpgradeSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -54,13 +54,13 @@ func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSett
}
// AssignProperties_To_ClusterUpgradeSettings populates the provided destination ClusterUpgradeSettings from our ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *v20231001s.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *storage.ClusterUpgradeSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20231001s.UpgradeOverrideSettings
+ var overrideSetting storage.UpgradeOverrideSettings
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings() to populate field OverrideSettings")
@@ -91,8 +91,8 @@ func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettin
}
type augmentConversionForClusterUpgradeSettings interface {
- AssignPropertiesFrom(src *v20231001s.ClusterUpgradeSettings) error
- AssignPropertiesTo(dst *v20231001s.ClusterUpgradeSettings) error
+ AssignPropertiesFrom(src *storage.ClusterUpgradeSettings) error
+ AssignPropertiesTo(dst *storage.ClusterUpgradeSettings) error
}
// Storage version of v1api20230202preview.UpgradeOverrideSettings
@@ -104,7 +104,7 @@ type UpgradeOverrideSettings struct {
}
// AssignProperties_From_UpgradeOverrideSettings populates our UpgradeOverrideSettings from the provided source UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *v20231001s.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *storage.UpgradeOverrideSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -152,7 +152,7 @@ func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSe
}
// AssignProperties_To_UpgradeOverrideSettings populates the provided destination UpgradeOverrideSettings from our UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *v20231001s.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *storage.UpgradeOverrideSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
@@ -200,6 +200,6 @@ func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSett
}
type augmentConversionForUpgradeOverrideSettings interface {
- AssignPropertiesFrom(src *v20231001s.UpgradeOverrideSettings) error
- AssignPropertiesTo(dst *v20231001s.UpgradeOverrideSettings) error
+ AssignPropertiesFrom(src *storage.UpgradeOverrideSettings) error
+ AssignPropertiesTo(dst *storage.UpgradeOverrideSettings) error
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/groupversion_info.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/groupversion_info.go
deleted file mode 100644
index 001ca83767..0000000000
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/groupversion_info.go
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
-Copyright (c) Microsoft Corporation.
-Licensed under the MIT license.
-*/
-
-// Package storage contains API Schema definitions for the containerservice storage API group
-// +kubebuilder:object:generate=true
-// All object properties are optional by default, this will be overridden when needed:
-// +kubebuilder:validation:Optional
-// +groupName=containerservice.azure.com
-// +versionName=v1api20230201storage
-package compat
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_status_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_status_types_gen.go
index 1467a93495..66048288a1 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_status_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_status_types_gen.go
@@ -4,7 +4,7 @@
package compat
import (
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/pkg/errors"
)
@@ -18,7 +18,7 @@ type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS struct
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -77,7 +77,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(autoscaler.PropertyBag)
@@ -124,6 +124,6 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
type augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_types_gen.go
index 98fc30787e..4db618ba9c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/managed_cluster_workload_auto_scaler_profile_vertical_pod_autoscaler_types_gen.go
@@ -4,7 +4,7 @@
package compat
import (
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/pkg/errors"
)
@@ -18,7 +18,7 @@ type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler struct {
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -77,7 +77,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(autoscaler.PropertyBag)
@@ -124,6 +124,6 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
type augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_status_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_status_types_gen.go
index c3b1d6e448..d4bb448a2d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_status_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_status_types_gen.go
@@ -4,7 +4,7 @@
package compat
import (
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/pkg/errors"
)
@@ -18,7 +18,7 @@ type ServiceMeshProfile_STATUS struct {
}
// AssignProperties_From_ServiceMeshProfile_STATUS populates our ServiceMeshProfile_STATUS from the provided source ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *v20231001s.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *storage.ServiceMeshProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -58,13 +58,13 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
}
// AssignProperties_To_ServiceMeshProfile_STATUS populates the provided destination ServiceMeshProfile_STATUS from our ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *v20231001s.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *storage.ServiceMeshProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// Istio
if profile.Istio != nil {
- var istio v20231001s.IstioServiceMesh_STATUS
+ var istio storage.IstioServiceMesh_STATUS
err := profile.Istio.AssignProperties_To_IstioServiceMesh_STATUS(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh_STATUS() to populate field Istio")
@@ -98,8 +98,8 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile
}
type augmentConversionForServiceMeshProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ServiceMeshProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ServiceMeshProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ServiceMeshProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ServiceMeshProfile_STATUS) error
}
// Storage version of v1api20230202preview.IstioServiceMesh_STATUS
@@ -110,7 +110,7 @@ type IstioServiceMesh_STATUS struct {
}
// AssignProperties_From_IstioServiceMesh_STATUS populates our IstioServiceMesh_STATUS from the provided source IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *v20231001s.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *storage.IstioServiceMesh_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -161,13 +161,13 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STAT
}
// AssignProperties_To_IstioServiceMesh_STATUS populates the provided destination IstioServiceMesh_STATUS from our IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *v20231001s.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *storage.IstioServiceMesh_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(mesh.PropertyBag)
// CertificateAuthority
if propertyBag.Contains("CertificateAuthority") {
- var certificateAuthority v20231001s.IstioCertificateAuthority_STATUS
+ var certificateAuthority storage.IstioCertificateAuthority_STATUS
err := propertyBag.Pull("CertificateAuthority", &certificateAuthority)
if err != nil {
return errors.Wrap(err, "pulling 'CertificateAuthority' from propertyBag")
@@ -180,7 +180,7 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS
// Components
if mesh.Components != nil {
- var component v20231001s.IstioComponents_STATUS
+ var component storage.IstioComponents_STATUS
err := mesh.Components.AssignProperties_To_IstioComponents_STATUS(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents_STATUS() to populate field Components")
@@ -224,8 +224,8 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS
}
type augmentConversionForIstioServiceMesh_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.IstioServiceMesh_STATUS) error
- AssignPropertiesTo(dst *v20231001s.IstioServiceMesh_STATUS) error
+ AssignPropertiesFrom(src *storage.IstioServiceMesh_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioServiceMesh_STATUS) error
}
// Storage version of v1api20230202preview.IstioComponents_STATUS
@@ -236,7 +236,7 @@ type IstioComponents_STATUS struct {
}
// AssignProperties_From_IstioComponents_STATUS populates our IstioComponents_STATUS from the provided source IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *v20231001s.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *storage.IstioComponents_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -286,13 +286,13 @@ func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_
}
// AssignProperties_To_IstioComponents_STATUS populates the provided destination IstioComponents_STATUS from our IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *v20231001s.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *storage.IstioComponents_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(components.PropertyBag)
// EgressGateways
if propertyBag.Contains("EgressGateways") {
- var egressGateway []v20231001s.IstioEgressGateway_STATUS
+ var egressGateway []storage.IstioEgressGateway_STATUS
err := propertyBag.Pull("EgressGateways", &egressGateway)
if err != nil {
return errors.Wrap(err, "pulling 'EgressGateways' from propertyBag")
@@ -305,11 +305,11 @@ func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_ST
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20231001s.IstioIngressGateway_STATUS, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway_STATUS, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20231001s.IstioIngressGateway_STATUS
+ var ingressGateway storage.IstioIngressGateway_STATUS
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway_STATUS(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway_STATUS() to populate field IngressGateways")
@@ -342,8 +342,8 @@ func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_ST
}
type augmentConversionForIstioComponents_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.IstioComponents_STATUS) error
- AssignPropertiesTo(dst *v20231001s.IstioComponents_STATUS) error
+ AssignPropertiesFrom(src *storage.IstioComponents_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioComponents_STATUS) error
}
// Storage version of v1api20230202preview.IstioIngressGateway_STATUS
@@ -356,7 +356,7 @@ type IstioIngressGateway_STATUS struct {
}
// AssignProperties_From_IstioIngressGateway_STATUS populates our IstioIngressGateway_STATUS from the provided source IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *v20231001s.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *storage.IstioIngressGateway_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -392,7 +392,7 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
}
// AssignProperties_To_IstioIngressGateway_STATUS populates the provided destination IstioIngressGateway_STATUS from our IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *v20231001s.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *storage.IstioIngressGateway_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(gateway.PropertyBag)
@@ -428,6 +428,6 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGatew
}
type augmentConversionForIstioIngressGateway_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.IstioIngressGateway_STATUS) error
- AssignPropertiesTo(dst *v20231001s.IstioIngressGateway_STATUS) error
+ AssignPropertiesFrom(src *storage.IstioIngressGateway_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioIngressGateway_STATUS) error
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_types_gen.go
index dd63a35199..92049e2d28 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/service_mesh_profile_types_gen.go
@@ -4,7 +4,7 @@
package compat
import (
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/pkg/errors"
)
@@ -18,7 +18,7 @@ type ServiceMeshProfile struct {
}
// AssignProperties_From_ServiceMeshProfile populates our ServiceMeshProfile from the provided source ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *v20231001s.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *storage.ServiceMeshProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -58,13 +58,13 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
}
// AssignProperties_To_ServiceMeshProfile populates the provided destination ServiceMeshProfile from our ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *v20231001s.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *storage.ServiceMeshProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// Istio
if profile.Istio != nil {
- var istio v20231001s.IstioServiceMesh
+ var istio storage.IstioServiceMesh
err := profile.Istio.AssignProperties_To_IstioServiceMesh(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh() to populate field Istio")
@@ -98,8 +98,8 @@ func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destin
}
type augmentConversionForServiceMeshProfile interface {
- AssignPropertiesFrom(src *v20231001s.ServiceMeshProfile) error
- AssignPropertiesTo(dst *v20231001s.ServiceMeshProfile) error
+ AssignPropertiesFrom(src *storage.ServiceMeshProfile) error
+ AssignPropertiesTo(dst *storage.ServiceMeshProfile) error
}
// Storage version of v1api20230202preview.IstioServiceMesh
@@ -110,7 +110,7 @@ type IstioServiceMesh struct {
}
// AssignProperties_From_IstioServiceMesh populates our IstioServiceMesh from the provided source IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20231001s.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *storage.IstioServiceMesh) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -161,13 +161,13 @@ func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20
}
// AssignProperties_To_IstioServiceMesh populates the provided destination IstioServiceMesh from our IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *v20231001s.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *storage.IstioServiceMesh) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(mesh.PropertyBag)
// CertificateAuthority
if propertyBag.Contains("CertificateAuthority") {
- var certificateAuthority v20231001s.IstioCertificateAuthority
+ var certificateAuthority storage.IstioCertificateAuthority
err := propertyBag.Pull("CertificateAuthority", &certificateAuthority)
if err != nil {
return errors.Wrap(err, "pulling 'CertificateAuthority' from propertyBag")
@@ -180,7 +180,7 @@ func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *
// Components
if mesh.Components != nil {
- var component v20231001s.IstioComponents
+ var component storage.IstioComponents
err := mesh.Components.AssignProperties_To_IstioComponents(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents() to populate field Components")
@@ -224,8 +224,8 @@ func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *
}
type augmentConversionForIstioServiceMesh interface {
- AssignPropertiesFrom(src *v20231001s.IstioServiceMesh) error
- AssignPropertiesTo(dst *v20231001s.IstioServiceMesh) error
+ AssignPropertiesFrom(src *storage.IstioServiceMesh) error
+ AssignPropertiesTo(dst *storage.IstioServiceMesh) error
}
// Storage version of v1api20230202preview.IstioComponents
@@ -236,7 +236,7 @@ type IstioComponents struct {
}
// AssignProperties_From_IstioComponents populates our IstioComponents from the provided source IstioComponents
-func (components *IstioComponents) AssignProperties_From_IstioComponents(source *v20231001s.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_From_IstioComponents(source *storage.IstioComponents) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -286,13 +286,13 @@ func (components *IstioComponents) AssignProperties_From_IstioComponents(source
}
// AssignProperties_To_IstioComponents populates the provided destination IstioComponents from our IstioComponents
-func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *v20231001s.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *storage.IstioComponents) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(components.PropertyBag)
// EgressGateways
if propertyBag.Contains("EgressGateways") {
- var egressGateway []v20231001s.IstioEgressGateway
+ var egressGateway []storage.IstioEgressGateway
err := propertyBag.Pull("EgressGateways", &egressGateway)
if err != nil {
return errors.Wrap(err, "pulling 'EgressGateways' from propertyBag")
@@ -305,11 +305,11 @@ func (components *IstioComponents) AssignProperties_To_IstioComponents(destinati
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20231001s.IstioIngressGateway, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20231001s.IstioIngressGateway
+ var ingressGateway storage.IstioIngressGateway
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway() to populate field IngressGateways")
@@ -342,8 +342,8 @@ func (components *IstioComponents) AssignProperties_To_IstioComponents(destinati
}
type augmentConversionForIstioComponents interface {
- AssignPropertiesFrom(src *v20231001s.IstioComponents) error
- AssignPropertiesTo(dst *v20231001s.IstioComponents) error
+ AssignPropertiesFrom(src *storage.IstioComponents) error
+ AssignPropertiesTo(dst *storage.IstioComponents) error
}
// Storage version of v1api20230202preview.IstioIngressGateway
@@ -356,7 +356,7 @@ type IstioIngressGateway struct {
}
// AssignProperties_From_IstioIngressGateway populates our IstioIngressGateway from the provided source IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *v20231001s.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *storage.IstioIngressGateway) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -392,7 +392,7 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
}
// AssignProperties_To_IstioIngressGateway populates the provided destination IstioIngressGateway from our IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *v20231001s.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *storage.IstioIngressGateway) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(gateway.PropertyBag)
@@ -428,6 +428,6 @@ func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(dest
}
type augmentConversionForIstioIngressGateway interface {
- AssignPropertiesFrom(src *v20231001s.IstioIngressGateway) error
- AssignPropertiesTo(dst *v20231001s.IstioIngressGateway) error
+ AssignPropertiesFrom(src *storage.IstioIngressGateway) error
+ AssignPropertiesTo(dst *storage.IstioIngressGateway) error
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/structure.txt
index c7890cc32d..9f0cd74651 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/structure.txt
@@ -1,60 +1,61 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat
-├── ClusterUpgradeSettings: Object (2 properties)
-│ ├── OverrideSettings: *Object (3 properties)
-│ │ ├── ControlPlaneOverrides: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Until: *string
-│ └── PropertyBag: genruntime.PropertyBag
-├── ClusterUpgradeSettings_STATUS: Object (2 properties)
-│ ├── OverrideSettings: *Object (3 properties)
-│ │ ├── ControlPlaneOverrides: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Until: *string
-│ └── PropertyBag: genruntime.PropertyBag
-├── ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Object (4 properties)
-│ ├── ControlledValues: *string
-│ ├── Enabled: *bool
+--------------------------------------------------------------------------------------------
+ClusterUpgradeSettings: Object (2 properties)
+├── OverrideSettings: *Object (3 properties)
+│ ├── ControlPlaneOverrides: string[]
│ ├── PropertyBag: genruntime.PropertyBag
-│ └── UpdateMode: *string
-├── ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Object (4 properties)
-│ ├── ControlledValues: *string
-│ ├── Enabled: *bool
+│ └── Until: *string
+└── PropertyBag: genruntime.PropertyBag
+ClusterUpgradeSettings_STATUS: Object (2 properties)
+├── OverrideSettings: *Object (3 properties)
+│ ├── ControlPlaneOverrides: string[]
│ ├── PropertyBag: genruntime.PropertyBag
-│ └── UpdateMode: *string
-├── ServiceMeshProfile: Object (3 properties)
-│ ├── Istio: *Object (2 properties)
-│ │ ├── Components: *Object (2 properties)
-│ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── Mode: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ └── Until: *string
+└── PropertyBag: genruntime.PropertyBag
+ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Object (4 properties)
+├── ControlledValues: *string
+├── Enabled: *bool
+├── PropertyBag: genruntime.PropertyBag
+└── UpdateMode: *string
+ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Object (4 properties)
+├── ControlledValues: *string
+├── Enabled: *bool
+├── PropertyBag: genruntime.PropertyBag
+└── UpdateMode: *string
+ServiceMeshProfile: Object (3 properties)
+├── Istio: *Object (2 properties)
+│ ├── Components: *Object (2 properties)
+│ │ ├── IngressGateways: Object (3 properties)[]
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── Mode: *string
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Mode: *string
│ └── PropertyBag: genruntime.PropertyBag
-├── ServiceMeshProfile_STATUS: Object (3 properties)
-│ ├── Istio: *Object (2 properties)
-│ │ ├── Components: *Object (2 properties)
-│ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── Mode: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+├── Mode: *string
+└── PropertyBag: genruntime.PropertyBag
+ServiceMeshProfile_STATUS: Object (3 properties)
+├── Istio: *Object (2 properties)
+│ ├── Components: *Object (2 properties)
+│ │ ├── IngressGateways: Object (3 properties)[]
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── Mode: *string
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Mode: *string
│ └── PropertyBag: genruntime.PropertyBag
-├── augmentConversionForClusterUpgradeSettings: Interface
-├── augmentConversionForClusterUpgradeSettings_STATUS: Interface
-├── augmentConversionForIstioComponents: Interface
-├── augmentConversionForIstioComponents_STATUS: Interface
-├── augmentConversionForIstioIngressGateway: Interface
-├── augmentConversionForIstioIngressGateway_STATUS: Interface
-├── augmentConversionForIstioServiceMesh: Interface
-├── augmentConversionForIstioServiceMesh_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
-├── augmentConversionForServiceMeshProfile: Interface
-├── augmentConversionForServiceMeshProfile_STATUS: Interface
-├── augmentConversionForUpgradeOverrideSettings: Interface
-└── augmentConversionForUpgradeOverrideSettings_STATUS: Interface
+├── Mode: *string
+└── PropertyBag: genruntime.PropertyBag
+augmentConversionForClusterUpgradeSettings: Interface
+augmentConversionForClusterUpgradeSettings_STATUS: Interface
+augmentConversionForIstioComponents: Interface
+augmentConversionForIstioComponents_STATUS: Interface
+augmentConversionForIstioIngressGateway: Interface
+augmentConversionForIstioIngressGateway_STATUS: Interface
+augmentConversionForIstioServiceMesh: Interface
+augmentConversionForIstioServiceMesh_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
+augmentConversionForServiceMeshProfile: Interface
+augmentConversionForServiceMeshProfile_STATUS: Interface
+augmentConversionForUpgradeOverrideSettings: Interface
+augmentConversionForUpgradeOverrideSettings_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/subpackage_info_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/subpackage_info_gen.go
new file mode 100644
index 0000000000..25f98c3d6e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat/subpackage_info_gen.go
@@ -0,0 +1,9 @@
+/*
+Copyright (c) Microsoft Corporation.
+Licensed under the MIT license.
+*/
+
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+
+// +kubebuilder:object:generate=true
+package compat
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_cluster_types_gen.go
index af383f8905..0b94f42b82 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_cluster_types_gen.go
@@ -6,8 +6,8 @@ package storage
import (
"context"
"fmt"
- v20230201sc "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat"
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ compat "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/compat"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -53,7 +53,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20231001s.ManagedCluster)
+ source, ok := hub.(*storage.ManagedCluster)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedCluster but received %T instead", hub)
}
@@ -63,7 +63,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20231001s.ManagedCluster)
+ destination, ok := hub.(*storage.ManagedCluster)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedCluster but received %T instead", hub)
}
@@ -83,6 +83,13 @@ func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ ge
}
}
}
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.Identity != nil {
+ if cluster.Status.Identity.PrincipalId != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId, *cluster.Status.Identity.PrincipalId)
+ }
+ }
+ }
result, err := collector.Values()
if err != nil {
return nil, err
@@ -162,7 +169,7 @@ func (cluster *ManagedCluster) SetStatus(status genruntime.ConvertibleStatus) er
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20231001s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -197,13 +204,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20231001s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20231001s.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -211,7 +218,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20231001s.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -258,8 +265,8 @@ type APIVersion string
const APIVersion_Value = APIVersion("2023-02-01")
type augmentConversionForManagedCluster interface {
- AssignPropertiesFrom(src *v20231001s.ManagedCluster) error
- AssignPropertiesTo(dst *v20231001s.ManagedCluster) error
+ AssignPropertiesFrom(src *storage.ManagedCluster) error
+ AssignPropertiesTo(dst *storage.ManagedCluster) error
}
// Storage version of v1api20230201.ManagedCluster_Spec
@@ -319,14 +326,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20231001s.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -343,14 +350,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20231001s.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -366,7 +373,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20231001s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -676,7 +683,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// ServiceMeshProfile
if source.ServiceMeshProfile != nil {
- var serviceMeshProfile v20230201sc.ServiceMeshProfile
+ var serviceMeshProfile compat.ServiceMeshProfile
err := serviceMeshProfile.AssignProperties_From_ServiceMeshProfile(source.ServiceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_From_ServiceMeshProfile() to populate field ServiceMeshProfile")
@@ -734,7 +741,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// UpgradeSettings
if source.UpgradeSettings != nil {
- var upgradeSetting v20230201sc.ClusterUpgradeSettings
+ var upgradeSetting compat.ClusterUpgradeSettings
err := upgradeSetting.AssignProperties_From_ClusterUpgradeSettings(source.UpgradeSettings)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_From_ClusterUpgradeSettings() to populate field UpgradeSettings")
@@ -789,13 +796,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20231001s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(cluster.PropertyBag)
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20231001s.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -807,11 +814,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20231001s.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20231001s.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -825,11 +832,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20231001s.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20231001s.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -843,7 +850,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20231001s.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -855,7 +862,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20231001s.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -867,7 +874,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20231001s.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -879,7 +886,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20231001s.ManagedClusterAzureMonitorProfile
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
@@ -929,7 +936,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20231001s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -944,7 +951,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20231001s.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -956,7 +963,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20231001s.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -968,11 +975,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20231001s.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20231001s.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -989,7 +996,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20231001s.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -1004,7 +1011,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20231001s.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -1019,7 +1026,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20231001s.ManagedClusterOIDCIssuerProfile
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
@@ -1031,7 +1038,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20231001s.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -1054,7 +1061,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20231001s.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -1066,11 +1073,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20231001s.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20231001s.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -1087,7 +1094,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20231001s.ManagedClusterSecurityProfile
+ var securityProfile storage.ManagedClusterSecurityProfile
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
@@ -1099,13 +1106,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServiceMeshProfile
if propertyBag.Contains("ServiceMeshProfile") {
- var serviceMeshProfileFromBag v20230201sc.ServiceMeshProfile
+ var serviceMeshProfileFromBag compat.ServiceMeshProfile
err := propertyBag.Pull("ServiceMeshProfile", &serviceMeshProfileFromBag)
if err != nil {
return errors.Wrap(err, "pulling 'ServiceMeshProfile' from propertyBag")
}
- var serviceMeshProfile v20231001s.ServiceMeshProfile
+ var serviceMeshProfile storage.ServiceMeshProfile
err = serviceMeshProfileFromBag.AssignProperties_To_ServiceMeshProfile(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile() to populate field ServiceMeshProfile")
@@ -1117,7 +1124,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20231001s.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -1129,7 +1136,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20231001s.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -1141,7 +1148,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20231001s.ManagedClusterStorageProfile
+ var storageProfile storage.ManagedClusterStorageProfile
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
@@ -1169,13 +1176,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// UpgradeSettings
if propertyBag.Contains("UpgradeSettings") {
- var upgradeSettingFromBag v20230201sc.ClusterUpgradeSettings
+ var upgradeSettingFromBag compat.ClusterUpgradeSettings
err := propertyBag.Pull("UpgradeSettings", &upgradeSettingFromBag)
if err != nil {
return errors.Wrap(err, "pulling 'UpgradeSettings' from propertyBag")
}
- var upgradeSetting v20231001s.ClusterUpgradeSettings
+ var upgradeSetting storage.ClusterUpgradeSettings
err = upgradeSettingFromBag.AssignProperties_To_ClusterUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings() to populate field UpgradeSettings")
@@ -1187,7 +1194,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20231001s.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -1199,7 +1206,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20231001s.ManagedClusterWorkloadAutoScalerProfile
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
@@ -1284,14 +1291,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20231001s.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1308,14 +1315,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20231001s.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1331,7 +1338,7 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.Con
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20231001s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1656,7 +1663,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// ServiceMeshProfile
if source.ServiceMeshProfile != nil {
- var serviceMeshProfile v20230201sc.ServiceMeshProfile_STATUS
+ var serviceMeshProfile compat.ServiceMeshProfile_STATUS
err := serviceMeshProfile.AssignProperties_From_ServiceMeshProfile_STATUS(source.ServiceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_From_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
@@ -1729,7 +1736,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// UpgradeSettings
if source.UpgradeSettings != nil {
- var upgradeSetting v20230201sc.ClusterUpgradeSettings_STATUS
+ var upgradeSetting compat.ClusterUpgradeSettings_STATUS
err := upgradeSetting.AssignProperties_From_ClusterUpgradeSettings_STATUS(source.UpgradeSettings)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_From_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -1784,13 +1791,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20231001s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(cluster.PropertyBag)
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20231001s.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -1802,11 +1809,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20231001s.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20231001s.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -1820,11 +1827,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20231001s.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20231001s.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -1838,7 +1845,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20231001s.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -1850,7 +1857,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -1862,7 +1869,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20231001s.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -1874,7 +1881,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20231001s.ManagedClusterAzureMonitorProfile_STATUS
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
@@ -1925,7 +1932,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20231001s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1943,7 +1950,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20231001s.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -1958,7 +1965,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20231001s.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -1970,11 +1977,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20231001s.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20231001s.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -1991,7 +1998,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20231001s.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -2012,7 +2019,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20231001s.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -2027,7 +2034,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20231001s.ManagedClusterOIDCIssuerProfile_STATUS
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
@@ -2039,7 +2046,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20231001s.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -2051,7 +2058,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20231001s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -2066,11 +2073,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20231001s.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20231001s.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -2103,7 +2110,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20231001s.ManagedClusterSecurityProfile_STATUS
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -2115,13 +2122,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServiceMeshProfile
if propertyBag.Contains("ServiceMeshProfile") {
- var serviceMeshProfileFromBag v20230201sc.ServiceMeshProfile_STATUS
+ var serviceMeshProfileFromBag compat.ServiceMeshProfile_STATUS
err := propertyBag.Pull("ServiceMeshProfile", &serviceMeshProfileFromBag)
if err != nil {
return errors.Wrap(err, "pulling 'ServiceMeshProfile' from propertyBag")
}
- var serviceMeshProfile v20231001s.ServiceMeshProfile_STATUS
+ var serviceMeshProfile storage.ServiceMeshProfile_STATUS
err = serviceMeshProfileFromBag.AssignProperties_To_ServiceMeshProfile_STATUS(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
@@ -2133,7 +2140,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20231001s.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -2145,7 +2152,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20231001s.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -2157,7 +2164,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20231001s.ManagedClusterStorageProfile_STATUS
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
@@ -2182,7 +2189,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SystemData
if cluster.SystemData != nil {
- var systemDatum v20231001s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -2200,13 +2207,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// UpgradeSettings
if propertyBag.Contains("UpgradeSettings") {
- var upgradeSettingFromBag v20230201sc.ClusterUpgradeSettings_STATUS
+ var upgradeSettingFromBag compat.ClusterUpgradeSettings_STATUS
err := propertyBag.Pull("UpgradeSettings", &upgradeSettingFromBag)
if err != nil {
return errors.Wrap(err, "pulling 'UpgradeSettings' from propertyBag")
}
- var upgradeSetting v20231001s.ClusterUpgradeSettings_STATUS
+ var upgradeSetting storage.ClusterUpgradeSettings_STATUS
err = upgradeSettingFromBag.AssignProperties_To_ClusterUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -2218,7 +2225,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20231001s.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -2230,7 +2237,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
@@ -2261,13 +2268,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
}
type augmentConversionForManagedCluster_Spec interface {
- AssignPropertiesFrom(src *v20231001s.ManagedCluster_Spec) error
- AssignPropertiesTo(dst *v20231001s.ManagedCluster_Spec) error
+ AssignPropertiesFrom(src *storage.ManagedCluster_Spec) error
+ AssignPropertiesTo(dst *storage.ManagedCluster_Spec) error
}
type augmentConversionForManagedCluster_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedCluster_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedCluster_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedCluster_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedCluster_STATUS) error
}
// Storage version of v1api20230201.ContainerServiceLinuxProfile
@@ -2279,7 +2286,7 @@ type ContainerServiceLinuxProfile struct {
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20231001s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2319,7 +2326,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20231001s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2328,7 +2335,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20231001s.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -2367,7 +2374,7 @@ type ContainerServiceLinuxProfile_STATUS struct {
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20231001s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2407,7 +2414,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20231001s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2416,7 +2423,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20231001s.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -2469,7 +2476,7 @@ type ContainerServiceNetworkProfile struct {
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20231001s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2570,7 +2577,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20231001s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2589,7 +2596,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20231001s.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -2604,7 +2611,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20231001s.ManagedClusterNATGatewayProfile
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
@@ -2687,7 +2694,7 @@ type ContainerServiceNetworkProfile_STATUS struct {
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20231001s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2788,7 +2795,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20231001s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -2807,7 +2814,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20231001s.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -2822,7 +2829,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20231001s.ManagedClusterNATGatewayProfile_STATUS
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
@@ -2891,7 +2898,7 @@ type ExtendedLocation struct {
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20231001s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2922,7 +2929,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20231001s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
@@ -2961,7 +2968,7 @@ type ExtendedLocation_STATUS struct {
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20231001s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2992,7 +2999,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20231001s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
@@ -3036,7 +3043,7 @@ type ManagedClusterAADProfile struct {
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20231001s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3092,7 +3099,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20231001s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3161,7 +3168,7 @@ type ManagedClusterAADProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20231001s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3217,7 +3224,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20231001s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3281,7 +3288,7 @@ type ManagedClusterAddonProfile struct {
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20231001s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3317,7 +3324,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20231001s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3362,7 +3369,7 @@ type ManagedClusterAddonProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20231001s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3410,7 +3417,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20231001s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3427,7 +3434,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20231001s.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -3520,7 +3527,7 @@ type ManagedClusterAgentPoolProfile struct {
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20231001s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -3776,7 +3783,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20231001s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -3801,7 +3808,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// CreationData
if profile.CreationData != nil {
- var creationDatum v20231001s.CreationData
+ var creationDatum storage.CreationData
err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -3864,7 +3871,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -3879,7 +3886,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -3906,7 +3913,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// NetworkProfile
if propertyBag.Contains("NetworkProfile") {
- var networkProfile v20231001s.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := propertyBag.Pull("NetworkProfile", &networkProfile)
if err != nil {
return errors.Wrap(err, "pulling 'NetworkProfile' from propertyBag")
@@ -3956,7 +3963,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// PowerState
if profile.PowerState != nil {
- var powerState v20231001s.PowerState
+ var powerState storage.PowerState
err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -3999,7 +4006,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -4092,7 +4099,7 @@ type ManagedClusterAgentPoolProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20231001s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4332,7 +4339,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20231001s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4357,7 +4364,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// CreationData
if profile.CreationData != nil {
- var creationDatum v20231001s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -4418,7 +4425,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -4433,7 +4440,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -4460,7 +4467,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// NetworkProfile
if propertyBag.Contains("NetworkProfile") {
- var networkProfile v20231001s.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := propertyBag.Pull("NetworkProfile", &networkProfile)
if err != nil {
return errors.Wrap(err, "pulling 'NetworkProfile' from propertyBag")
@@ -4503,7 +4510,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20231001s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -4544,7 +4551,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -4595,7 +4602,7 @@ type ManagedClusterAPIServerAccessProfile struct {
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20231001s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4650,7 +4657,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20231001s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4716,7 +4723,7 @@ type ManagedClusterAPIServerAccessProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20231001s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4771,7 +4778,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20231001s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4833,7 +4840,7 @@ type ManagedClusterAutoUpgradeProfile struct {
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20231001s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4868,7 +4875,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20231001s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4916,7 +4923,7 @@ type ManagedClusterAutoUpgradeProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20231001s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -4951,7 +4958,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20231001s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -4999,7 +5006,7 @@ type ManagedClusterAzureMonitorProfile struct {
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *v20231001s.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5036,13 +5043,13 @@ func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *v20231001s.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// Metrics
if profile.Metrics != nil {
- var metric v20231001s.ManagedClusterAzureMonitorProfileMetrics
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
@@ -5080,7 +5087,7 @@ type ManagedClusterAzureMonitorProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *v20231001s.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5117,13 +5124,13 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *v20231001s.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// Metrics
if profile.Metrics != nil {
- var metric v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
@@ -5164,7 +5171,7 @@ type ManagedClusterHTTPProxyConfig struct {
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20231001s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5201,7 +5208,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20231001s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -5248,7 +5255,7 @@ type ManagedClusterHTTPProxyConfig_STATUS struct {
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20231001s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5285,7 +5292,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20231001s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -5330,7 +5337,7 @@ type ManagedClusterIdentity struct {
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20231001s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5383,13 +5390,13 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20231001s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
// DelegatedResources
if propertyBag.Contains("DelegatedResources") {
- var delegatedResource map[string]v20231001s.DelegatedResource
+ var delegatedResource map[string]storage.DelegatedResource
err := propertyBag.Pull("DelegatedResources", &delegatedResource)
if err != nil {
return errors.Wrap(err, "pulling 'DelegatedResources' from propertyBag")
@@ -5405,11 +5412,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231001s.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231001s.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -5452,7 +5459,7 @@ type ManagedClusterIdentity_STATUS struct {
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20231001s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5511,13 +5518,13 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20231001s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
// DelegatedResources
if propertyBag.Contains("DelegatedResources") {
- var delegatedResource map[string]v20231001s.DelegatedResource_STATUS
+ var delegatedResource map[string]storage.DelegatedResource_STATUS
err := propertyBag.Pull("DelegatedResources", &delegatedResource)
if err != nil {
return errors.Wrap(err, "pulling 'DelegatedResources' from propertyBag")
@@ -5539,11 +5546,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -5583,7 +5590,7 @@ type ManagedClusterOIDCIssuerProfile struct {
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *v20231001s.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5616,7 +5623,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *v20231001s.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -5657,7 +5664,7 @@ type ManagedClusterOIDCIssuerProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *v20231001s.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5693,7 +5700,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *v20231001s.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -5737,7 +5744,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20231001s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5786,13 +5793,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20231001s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(operator.PropertyBag)
// ConfigMaps
if operator.ConfigMaps != nil {
- var configMap v20231001s.ManagedClusterOperatorConfigMaps
+ var configMap storage.ManagedClusterOperatorConfigMaps
err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
@@ -5804,7 +5811,7 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOp
// Secrets
if operator.Secrets != nil {
- var secret v20231001s.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -5846,7 +5853,7 @@ type ManagedClusterPodIdentityProfile struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20231001s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -5923,7 +5930,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20231001s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -5945,11 +5952,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231001s.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231001s.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -5963,11 +5970,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20231001s.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20231001s.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -6011,7 +6018,7 @@ type ManagedClusterPodIdentityProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20231001s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6088,7 +6095,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20231001s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6110,11 +6117,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231001s.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231001s.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -6128,11 +6135,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20231001s.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20231001s.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -6187,7 +6194,7 @@ type ManagedClusterProperties_AutoScalerProfile struct {
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20231001s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6263,7 +6270,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20231001s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6361,7 +6368,7 @@ type ManagedClusterProperties_AutoScalerProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6437,7 +6444,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6523,7 +6530,7 @@ type ManagedClusterSecurityProfile struct {
}
// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *v20231001s.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6596,13 +6603,13 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *v20231001s.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20231001s.AzureKeyVaultKms
+ var azureKeyVaultKm storage.AzureKeyVaultKms
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
@@ -6614,7 +6621,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// Defender
if profile.Defender != nil {
- var defender v20231001s.ManagedClusterSecurityProfileDefender
+ var defender storage.ManagedClusterSecurityProfileDefender
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
@@ -6626,7 +6633,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20231001s.ManagedClusterSecurityProfileImageCleaner
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
@@ -6638,7 +6645,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20231001s.ManagedClusterSecurityProfileWorkloadIdentity
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
@@ -6679,7 +6686,7 @@ type ManagedClusterSecurityProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *v20231001s.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6752,13 +6759,13 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *v20231001s.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20231001s.AzureKeyVaultKms_STATUS
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
@@ -6770,7 +6777,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// Defender
if profile.Defender != nil {
- var defender v20231001s.ManagedClusterSecurityProfileDefender_STATUS
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
@@ -6782,7 +6789,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
@@ -6794,7 +6801,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
@@ -6833,7 +6840,7 @@ type ManagedClusterServicePrincipalProfile struct {
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20231001s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6869,7 +6876,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20231001s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6912,7 +6919,7 @@ type ManagedClusterServicePrincipalProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20231001s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -6940,7 +6947,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20231001s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -6976,7 +6983,7 @@ type ManagedClusterSKU struct {
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20231001s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7007,7 +7014,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20231001s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(clusterSKU.PropertyBag)
@@ -7046,7 +7053,7 @@ type ManagedClusterSKU_STATUS struct {
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20231001s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7077,7 +7084,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20231001s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(clusterSKU.PropertyBag)
@@ -7118,7 +7125,7 @@ type ManagedClusterStorageProfile struct {
}
// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *v20231001s.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7191,13 +7198,13 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *v20231001s.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20231001s.ManagedClusterStorageProfileBlobCSIDriver
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
@@ -7209,7 +7216,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20231001s.ManagedClusterStorageProfileDiskCSIDriver
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
@@ -7221,7 +7228,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20231001s.ManagedClusterStorageProfileFileCSIDriver
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
@@ -7233,7 +7240,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20231001s.ManagedClusterStorageProfileSnapshotController
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
@@ -7274,7 +7281,7 @@ type ManagedClusterStorageProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *v20231001s.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7347,13 +7354,13 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *v20231001s.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
@@ -7365,7 +7372,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
@@ -7377,7 +7384,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
@@ -7389,7 +7396,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
@@ -7422,21 +7429,26 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// Storage version of v1api20230201.ManagedClusterWindowsProfile
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
- AdminUsername *string `json:"adminUsername,omitempty"`
- EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
- GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
- LicenseType *string `json:"licenseType,omitempty"`
- PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20231001s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -7485,12 +7497,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20231001s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -7505,7 +7522,7 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20231001s.WindowsGmsaProfile
+ var gmsaProfile storage.WindowsGmsaProfile
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
@@ -7541,7 +7558,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Storage version of v1api20230201.ManagedClusterWindowsProfile_STATUS
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
AdminUsername *string `json:"adminUsername,omitempty"`
EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
GmsaProfile *WindowsGmsaProfile_STATUS `json:"gmsaProfile,omitempty"`
@@ -7550,13 +7566,10 @@ type ManagedClusterWindowsProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20231001s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
-
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -7604,13 +7617,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20231001s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -7624,7 +7634,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20231001s.WindowsGmsaProfile_STATUS
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
@@ -7665,7 +7675,7 @@ type ManagedClusterWorkloadAutoScalerProfile struct {
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *v20231001s.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7683,7 +7693,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_Ma
// VerticalPodAutoscaler
if source.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20230201sc.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ var verticalPodAutoscaler compat.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
err := verticalPodAutoscaler.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source.VerticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
@@ -7714,13 +7724,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// Keda
if profile.Keda != nil {
- var kedum v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
@@ -7732,13 +7742,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_Mana
// VerticalPodAutoscaler
if propertyBag.Contains("VerticalPodAutoscaler") {
- var verticalPodAutoscalerFromBag v20230201sc.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ var verticalPodAutoscalerFromBag compat.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
err := propertyBag.Pull("VerticalPodAutoscaler", &verticalPodAutoscalerFromBag)
if err != nil {
return errors.Wrap(err, "pulling 'VerticalPodAutoscaler' from propertyBag")
}
- var verticalPodAutoscaler v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
err = verticalPodAutoscalerFromBag.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
@@ -7776,7 +7786,7 @@ type ManagedClusterWorkloadAutoScalerProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7794,7 +7804,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
// VerticalPodAutoscaler
if source.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20230201sc.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ var verticalPodAutoscaler compat.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
err := verticalPodAutoscaler.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source.VerticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
@@ -7825,13 +7835,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// Keda
if profile.Keda != nil {
- var kedum v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
@@ -7843,13 +7853,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
// VerticalPodAutoscaler
if propertyBag.Contains("VerticalPodAutoscaler") {
- var verticalPodAutoscalerFromBag v20230201sc.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ var verticalPodAutoscalerFromBag compat.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
err := propertyBag.Pull("VerticalPodAutoscaler", &verticalPodAutoscalerFromBag)
if err != nil {
return errors.Wrap(err, "pulling 'VerticalPodAutoscaler' from propertyBag")
}
- var verticalPodAutoscaler v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
err = verticalPodAutoscalerFromBag.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
@@ -7887,7 +7897,7 @@ type PowerState_STATUS struct {
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20231001s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -7915,7 +7925,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20231001s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(state.PropertyBag)
@@ -7956,7 +7966,7 @@ type PrivateLinkResource struct {
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20231001s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8001,7 +8011,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20231001s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
@@ -8058,7 +8068,7 @@ type PrivateLinkResource_STATUS struct {
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20231001s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8101,7 +8111,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20231001s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
@@ -8156,7 +8166,7 @@ type SystemData_STATUS struct {
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20231001s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8199,7 +8209,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20231001s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
@@ -8253,7 +8263,7 @@ type UserAssignedIdentity struct {
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20231001s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8292,7 +8302,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20231001s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -8340,7 +8350,7 @@ type UserAssignedIdentity_STATUS struct {
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20231001s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8374,7 +8384,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20231001s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -8408,238 +8418,238 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIde
}
type augmentConversionForContainerServiceLinuxProfile interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceLinuxProfile) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceLinuxProfile) error
+ AssignPropertiesFrom(src *storage.ContainerServiceLinuxProfile) error
+ AssignPropertiesTo(dst *storage.ContainerServiceLinuxProfile) error
}
type augmentConversionForContainerServiceLinuxProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceLinuxProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceLinuxProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceLinuxProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceLinuxProfile_STATUS) error
}
type augmentConversionForContainerServiceNetworkProfile interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceNetworkProfile) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceNetworkProfile) error
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile) error
}
type augmentConversionForContainerServiceNetworkProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceNetworkProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceNetworkProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_STATUS) error
}
type augmentConversionForExtendedLocation interface {
- AssignPropertiesFrom(src *v20231001s.ExtendedLocation) error
- AssignPropertiesTo(dst *v20231001s.ExtendedLocation) error
+ AssignPropertiesFrom(src *storage.ExtendedLocation) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation) error
}
type augmentConversionForExtendedLocation_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ExtendedLocation_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ExtendedLocation_STATUS) error
+ AssignPropertiesFrom(src *storage.ExtendedLocation_STATUS) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation_STATUS) error
}
type augmentConversionForManagedClusterAADProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAADProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAADProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAADProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAADProfile) error
}
type augmentConversionForManagedClusterAADProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAADProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAADProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAADProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAADProfile_STATUS) error
}
type augmentConversionForManagedClusterAddonProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAddonProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAddonProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAddonProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAddonProfile) error
}
type augmentConversionForManagedClusterAddonProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAddonProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAddonProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAddonProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAddonProfile_STATUS) error
}
type augmentConversionForManagedClusterAgentPoolProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAgentPoolProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAgentPoolProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAgentPoolProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAgentPoolProfile) error
}
type augmentConversionForManagedClusterAgentPoolProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAgentPoolProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAgentPoolProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAgentPoolProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAgentPoolProfile_STATUS) error
}
type augmentConversionForManagedClusterAPIServerAccessProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAPIServerAccessProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAPIServerAccessProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAPIServerAccessProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAPIServerAccessProfile) error
}
type augmentConversionForManagedClusterAPIServerAccessProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAPIServerAccessProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAPIServerAccessProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAPIServerAccessProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAPIServerAccessProfile_STATUS) error
}
type augmentConversionForManagedClusterAutoUpgradeProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAutoUpgradeProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAutoUpgradeProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAutoUpgradeProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAutoUpgradeProfile) error
}
type augmentConversionForManagedClusterAutoUpgradeProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAutoUpgradeProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAutoUpgradeProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAutoUpgradeProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAutoUpgradeProfile_STATUS) error
}
type augmentConversionForManagedClusterAzureMonitorProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAzureMonitorProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAzureMonitorProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfile) error
}
type augmentConversionForManagedClusterAzureMonitorProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAzureMonitorProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAzureMonitorProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfile_STATUS) error
}
type augmentConversionForManagedClusterHTTPProxyConfig interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterHTTPProxyConfig) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterHTTPProxyConfig) error
+ AssignPropertiesFrom(src *storage.ManagedClusterHTTPProxyConfig) error
+ AssignPropertiesTo(dst *storage.ManagedClusterHTTPProxyConfig) error
}
type augmentConversionForManagedClusterHTTPProxyConfig_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterHTTPProxyConfig_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterHTTPProxyConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterHTTPProxyConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterHTTPProxyConfig_STATUS) error
}
type augmentConversionForManagedClusterIdentity interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterIdentity) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterIdentity) error
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity) error
}
type augmentConversionForManagedClusterIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterIdentity_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity_STATUS) error
}
type augmentConversionForManagedClusterOIDCIssuerProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterOIDCIssuerProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterOIDCIssuerProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOIDCIssuerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOIDCIssuerProfile) error
}
type augmentConversionForManagedClusterOIDCIssuerProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterOIDCIssuerProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterOIDCIssuerProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOIDCIssuerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOIDCIssuerProfile_STATUS) error
}
type augmentConversionForManagedClusterOperatorSpec interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterOperatorSpec) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterOperatorSpec) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorSpec) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorSpec) error
}
type augmentConversionForManagedClusterPodIdentityProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProfile) error
}
type augmentConversionForManagedClusterPodIdentityProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProfile_STATUS) error
}
type augmentConversionForManagedClusterProperties_AutoScalerProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterProperties_AutoScalerProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterProperties_AutoScalerProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterProperties_AutoScalerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterProperties_AutoScalerProfile) error
}
type augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error
}
type augmentConversionForManagedClusterSecurityProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfile) error
}
type augmentConversionForManagedClusterSecurityProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfile_STATUS) error
}
type augmentConversionForManagedClusterServicePrincipalProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterServicePrincipalProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterServicePrincipalProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterServicePrincipalProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterServicePrincipalProfile) error
}
type augmentConversionForManagedClusterServicePrincipalProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterServicePrincipalProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterServicePrincipalProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterServicePrincipalProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterServicePrincipalProfile_STATUS) error
}
type augmentConversionForManagedClusterSKU interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSKU) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSKU) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSKU) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSKU) error
}
type augmentConversionForManagedClusterSKU_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSKU_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSKU_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSKU_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSKU_STATUS) error
}
type augmentConversionForManagedClusterStorageProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfile) error
}
type augmentConversionForManagedClusterStorageProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfile_STATUS) error
}
type augmentConversionForManagedClusterWindowsProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWindowsProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWindowsProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWindowsProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWindowsProfile) error
}
type augmentConversionForManagedClusterWindowsProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWindowsProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWindowsProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWindowsProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWindowsProfile_STATUS) error
}
type augmentConversionForManagedClusterWorkloadAutoScalerProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWorkloadAutoScalerProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWorkloadAutoScalerProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfile) error
}
type augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error
}
type augmentConversionForPowerState_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.PowerState_STATUS) error
- AssignPropertiesTo(dst *v20231001s.PowerState_STATUS) error
+ AssignPropertiesFrom(src *storage.PowerState_STATUS) error
+ AssignPropertiesTo(dst *storage.PowerState_STATUS) error
}
type augmentConversionForPrivateLinkResource interface {
- AssignPropertiesFrom(src *v20231001s.PrivateLinkResource) error
- AssignPropertiesTo(dst *v20231001s.PrivateLinkResource) error
+ AssignPropertiesFrom(src *storage.PrivateLinkResource) error
+ AssignPropertiesTo(dst *storage.PrivateLinkResource) error
}
type augmentConversionForPrivateLinkResource_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.PrivateLinkResource_STATUS) error
- AssignPropertiesTo(dst *v20231001s.PrivateLinkResource_STATUS) error
+ AssignPropertiesFrom(src *storage.PrivateLinkResource_STATUS) error
+ AssignPropertiesTo(dst *storage.PrivateLinkResource_STATUS) error
}
type augmentConversionForSystemData_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.SystemData_STATUS) error
- AssignPropertiesTo(dst *v20231001s.SystemData_STATUS) error
+ AssignPropertiesFrom(src *storage.SystemData_STATUS) error
+ AssignPropertiesTo(dst *storage.SystemData_STATUS) error
}
type augmentConversionForUserAssignedIdentity interface {
- AssignPropertiesFrom(src *v20231001s.UserAssignedIdentity) error
- AssignPropertiesTo(dst *v20231001s.UserAssignedIdentity) error
+ AssignPropertiesFrom(src *storage.UserAssignedIdentity) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentity) error
}
type augmentConversionForUserAssignedIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.UserAssignedIdentity_STATUS) error
- AssignPropertiesTo(dst *v20231001s.UserAssignedIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.UserAssignedIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentity_STATUS) error
}
// Storage version of v1api20230201.AzureKeyVaultKms
@@ -8656,7 +8666,7 @@ type AzureKeyVaultKms struct {
}
// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *v20231001s.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8703,7 +8713,7 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
}
// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *v20231001s.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(vaultKms.PropertyBag)
@@ -8760,7 +8770,7 @@ type AzureKeyVaultKms_STATUS struct {
}
// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *v20231001s.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8802,7 +8812,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
}
// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *v20231001s.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(vaultKms.PropertyBag)
@@ -8851,7 +8861,7 @@ type ContainerServiceSshConfiguration struct {
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20231001s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8894,17 +8904,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20231001s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(configuration.PropertyBag)
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20231001s.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20231001s.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -8944,7 +8954,7 @@ type ContainerServiceSshConfiguration_STATUS struct {
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20231001s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -8987,17 +8997,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20231001s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(configuration.PropertyBag)
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20231001s.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20231001s.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -9040,7 +9050,7 @@ type ManagedClusterAzureMonitorProfileMetrics struct {
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *v20231001s.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9085,7 +9095,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *v20231001s.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
@@ -9099,7 +9109,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_Man
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
@@ -9140,7 +9150,7 @@ type ManagedClusterAzureMonitorProfileMetrics_STATUS struct {
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9185,7 +9195,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
@@ -9199,7 +9209,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
@@ -9237,7 +9247,7 @@ type ManagedClusterIdentity_UserAssignedIdentities_STATUS struct {
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9268,7 +9278,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identities.PropertyBag)
@@ -9312,7 +9322,7 @@ type ManagedClusterLoadBalancerProfile struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20231001s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9412,7 +9422,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20231001s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -9434,11 +9444,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -9463,7 +9473,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -9475,7 +9485,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -9487,7 +9497,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -9531,7 +9541,7 @@ type ManagedClusterLoadBalancerProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9631,7 +9641,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -9653,11 +9663,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -9682,7 +9692,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -9694,7 +9704,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -9706,7 +9716,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -9746,7 +9756,7 @@ type ManagedClusterNATGatewayProfile struct {
}
// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *v20231001s.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9804,17 +9814,17 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *v20231001s.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -9831,7 +9841,7 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClust
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20231001s.ManagedClusterManagedOutboundIPProfile
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
@@ -9871,7 +9881,7 @@ type ManagedClusterNATGatewayProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *v20231001s.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -9929,17 +9939,17 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *v20231001s.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -9956,7 +9966,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
@@ -9989,11 +9999,12 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// Storage version of v1api20230201.ManagedClusterOperatorConfigMaps
type ManagedClusterOperatorConfigMaps struct {
OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *v20231001s.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10005,6 +10016,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
maps.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if source.PrincipalId != nil {
+ principalId := source.PrincipalId.Copy()
+ maps.PrincipalId = &principalId
+ } else {
+ maps.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
maps.PropertyBag = propertyBag
@@ -10026,7 +10045,7 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *v20231001s.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(maps.PropertyBag)
@@ -10038,6 +10057,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedCluster
destination.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if maps.PrincipalId != nil {
+ principalId := maps.PrincipalId.Copy()
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
destination.PropertyBag = propertyBag
@@ -10066,7 +10093,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20231001s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10107,7 +10134,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20231001s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(secrets.PropertyBag)
@@ -10158,7 +10185,7 @@ type ManagedClusterPodIdentity struct {
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20231001s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10204,7 +10231,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20231001s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -10213,7 +10240,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20231001s.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -10262,7 +10289,7 @@ type ManagedClusterPodIdentity_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20231001s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10323,7 +10350,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20231001s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -10332,7 +10359,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20231001s.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -10350,7 +10377,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -10394,7 +10421,7 @@ type ManagedClusterPodIdentityException struct {
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20231001s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10428,7 +10455,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20231001s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(exception.PropertyBag)
@@ -10472,7 +10499,7 @@ type ManagedClusterPodIdentityException_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20231001s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10506,7 +10533,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20231001s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(exception.PropertyBag)
@@ -10551,7 +10578,7 @@ type ManagedClusterSecurityProfileDefender struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *v20231001s.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10596,7 +10623,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *v20231001s.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(defender.PropertyBag)
@@ -10610,7 +10637,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_Manag
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
@@ -10649,7 +10676,7 @@ type ManagedClusterSecurityProfileDefender_STATUS struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *v20231001s.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10689,7 +10716,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *v20231001s.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(defender.PropertyBag)
@@ -10698,7 +10725,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_T
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
@@ -10738,7 +10765,7 @@ type ManagedClusterSecurityProfileImageCleaner struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *v20231001s.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10774,7 +10801,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *v20231001s.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(cleaner.PropertyBag)
@@ -10819,7 +10846,7 @@ type ManagedClusterSecurityProfileImageCleaner_STATUS struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10855,7 +10882,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(cleaner.PropertyBag)
@@ -10898,7 +10925,7 @@ type ManagedClusterSecurityProfileWorkloadIdentity struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -10931,7 +10958,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -10971,7 +10998,7 @@ type ManagedClusterSecurityProfileWorkloadIdentity_STATUS struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11004,7 +11031,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProp
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
@@ -11044,7 +11071,7 @@ type ManagedClusterStorageProfileBlobCSIDriver struct {
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *v20231001s.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11077,7 +11104,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *v20231001s.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
@@ -11117,7 +11144,7 @@ type ManagedClusterStorageProfileBlobCSIDriver_STATUS struct {
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11150,7 +11177,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
@@ -11190,7 +11217,7 @@ type ManagedClusterStorageProfileDiskCSIDriver struct {
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *v20231001s.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11223,7 +11250,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *v20231001s.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
@@ -11263,7 +11290,7 @@ type ManagedClusterStorageProfileDiskCSIDriver_STATUS struct {
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11296,7 +11323,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
@@ -11336,7 +11363,7 @@ type ManagedClusterStorageProfileFileCSIDriver struct {
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *v20231001s.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11369,7 +11396,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *v20231001s.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
@@ -11409,7 +11436,7 @@ type ManagedClusterStorageProfileFileCSIDriver_STATUS struct {
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11442,7 +11469,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
@@ -11482,7 +11509,7 @@ type ManagedClusterStorageProfileSnapshotController struct {
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *v20231001s.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11515,7 +11542,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperti
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *v20231001s.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(controller.PropertyBag)
@@ -11555,7 +11582,7 @@ type ManagedClusterStorageProfileSnapshotController_STATUS struct {
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11588,7 +11615,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(controller.PropertyBag)
@@ -11628,7 +11655,7 @@ type ManagedClusterWorkloadAutoScalerProfileKeda struct {
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11661,7 +11688,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(keda.PropertyBag)
@@ -11701,7 +11728,7 @@ type ManagedClusterWorkloadAutoScalerProfileKeda_STATUS struct {
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11734,7 +11761,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(keda.PropertyBag)
@@ -11774,7 +11801,7 @@ type UserAssignedIdentityDetails struct {
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20231001s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11802,7 +11829,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20231001s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(details.PropertyBag)
@@ -11839,7 +11866,7 @@ type WindowsGmsaProfile struct {
}
// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *v20231001s.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11878,7 +11905,7 @@ func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(sour
}
// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *v20231001s.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -11926,7 +11953,7 @@ type WindowsGmsaProfile_STATUS struct {
}
// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *v20231001s.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -11965,7 +11992,7 @@ func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfi
}
// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *v20231001s.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -12004,183 +12031,183 @@ func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile
}
type augmentConversionForAzureKeyVaultKms interface {
- AssignPropertiesFrom(src *v20231001s.AzureKeyVaultKms) error
- AssignPropertiesTo(dst *v20231001s.AzureKeyVaultKms) error
+ AssignPropertiesFrom(src *storage.AzureKeyVaultKms) error
+ AssignPropertiesTo(dst *storage.AzureKeyVaultKms) error
}
type augmentConversionForAzureKeyVaultKms_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.AzureKeyVaultKms_STATUS) error
- AssignPropertiesTo(dst *v20231001s.AzureKeyVaultKms_STATUS) error
+ AssignPropertiesFrom(src *storage.AzureKeyVaultKms_STATUS) error
+ AssignPropertiesTo(dst *storage.AzureKeyVaultKms_STATUS) error
}
type augmentConversionForContainerServiceSshConfiguration interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceSshConfiguration) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceSshConfiguration) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshConfiguration) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshConfiguration) error
}
type augmentConversionForContainerServiceSshConfiguration_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceSshConfiguration_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceSshConfiguration_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshConfiguration_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshConfiguration_STATUS) error
}
type augmentConversionForManagedClusterAzureMonitorProfileMetrics interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAzureMonitorProfileMetrics) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAzureMonitorProfileMetrics) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileMetrics) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileMetrics) error
}
type augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error
}
type augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_STATUS) error
}
type augmentConversionForManagedClusterNATGatewayProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterNATGatewayProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterNATGatewayProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterNATGatewayProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNATGatewayProfile) error
}
type augmentConversionForManagedClusterNATGatewayProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterNATGatewayProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterNATGatewayProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterNATGatewayProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNATGatewayProfile_STATUS) error
}
type augmentConversionForManagedClusterOperatorConfigMaps interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterOperatorConfigMaps) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterOperatorConfigMaps) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorConfigMaps) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorConfigMaps) error
}
type augmentConversionForManagedClusterOperatorSecrets interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterOperatorSecrets) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterOperatorSecrets) error
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorSecrets) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorSecrets) error
}
type augmentConversionForManagedClusterPodIdentity interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentity) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentity) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity) error
}
type augmentConversionForManagedClusterPodIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentity_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity_STATUS) error
}
type augmentConversionForManagedClusterPodIdentityException interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityException) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityException) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityException) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityException) error
}
type augmentConversionForManagedClusterPodIdentityException_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityException_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityException_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityException_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityException_STATUS) error
}
type augmentConversionForManagedClusterSecurityProfileDefender interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileDefender) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileDefender) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefender) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefender) error
}
type augmentConversionForManagedClusterSecurityProfileDefender_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileDefender_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileDefender_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefender_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefender_STATUS) error
}
type augmentConversionForManagedClusterSecurityProfileImageCleaner interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileImageCleaner) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileImageCleaner) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileImageCleaner) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileImageCleaner) error
}
type augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error
}
type augmentConversionForManagedClusterSecurityProfileWorkloadIdentity interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileWorkloadIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileWorkloadIdentity) error
}
type augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error
}
type augmentConversionForManagedClusterStorageProfileBlobCSIDriver interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileBlobCSIDriver) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileBlobCSIDriver) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileBlobCSIDriver) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileBlobCSIDriver) error
}
type augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error
}
type augmentConversionForManagedClusterStorageProfileDiskCSIDriver interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileDiskCSIDriver) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileDiskCSIDriver) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileDiskCSIDriver) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileDiskCSIDriver) error
}
type augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error
}
type augmentConversionForManagedClusterStorageProfileFileCSIDriver interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileFileCSIDriver) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileFileCSIDriver) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileFileCSIDriver) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileFileCSIDriver) error
}
type augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error
}
type augmentConversionForManagedClusterStorageProfileSnapshotController interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileSnapshotController) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileSnapshotController) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileSnapshotController) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileSnapshotController) error
}
type augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error
}
type augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error
}
type augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error
}
type augmentConversionForUserAssignedIdentityDetails interface {
- AssignPropertiesFrom(src *v20231001s.UserAssignedIdentityDetails) error
- AssignPropertiesTo(dst *v20231001s.UserAssignedIdentityDetails) error
+ AssignPropertiesFrom(src *storage.UserAssignedIdentityDetails) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentityDetails) error
}
type augmentConversionForWindowsGmsaProfile interface {
- AssignPropertiesFrom(src *v20231001s.WindowsGmsaProfile) error
- AssignPropertiesTo(dst *v20231001s.WindowsGmsaProfile) error
+ AssignPropertiesFrom(src *storage.WindowsGmsaProfile) error
+ AssignPropertiesTo(dst *storage.WindowsGmsaProfile) error
}
type augmentConversionForWindowsGmsaProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.WindowsGmsaProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.WindowsGmsaProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.WindowsGmsaProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.WindowsGmsaProfile_STATUS) error
}
// Storage version of v1api20230201.ContainerServiceSshPublicKey
@@ -12191,7 +12218,7 @@ type ContainerServiceSshPublicKey struct {
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20231001s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12219,7 +12246,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20231001s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(publicKey.PropertyBag)
@@ -12254,7 +12281,7 @@ type ContainerServiceSshPublicKey_STATUS struct {
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20231001s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12282,7 +12309,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20231001s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(publicKey.PropertyBag)
@@ -12320,7 +12347,7 @@ type ManagedClusterAzureMonitorProfileKubeStateMetrics struct {
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12351,7 +12378,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperti
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
@@ -12392,7 +12419,7 @@ type ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS struct {
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12423,7 +12450,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
@@ -12461,7 +12488,7 @@ type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12492,7 +12519,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
@@ -12530,7 +12557,7 @@ type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12561,7 +12588,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
@@ -12598,7 +12625,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12641,17 +12668,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(prefixes.PropertyBag)
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20231001s.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20231001s.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -12690,7 +12717,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12733,17 +12760,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(prefixes.PropertyBag)
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20231001s.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20231001s.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -12782,7 +12809,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPs struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12825,17 +12852,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20231001s.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20231001s.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -12874,7 +12901,7 @@ type ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS struct {
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12917,17 +12944,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20231001s.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20231001s.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -12967,7 +12994,7 @@ type ManagedClusterManagedOutboundIPProfile struct {
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *v20231001s.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -12995,7 +13022,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *v20231001s.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -13030,7 +13057,7 @@ type ManagedClusterManagedOutboundIPProfile_STATUS struct {
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13058,7 +13085,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
@@ -13092,7 +13119,7 @@ type ManagedClusterPodIdentity_ProvisioningInfo_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13129,13 +13156,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(info.PropertyBag)
// Error
if info.Error != nil {
- var error v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -13173,7 +13200,7 @@ type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13206,7 +13233,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Assig
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(monitoring.PropertyBag)
@@ -13246,7 +13273,7 @@ type ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS struct {
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13279,7 +13306,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(monitoring.PropertyBag)
@@ -13321,7 +13348,7 @@ type ResourceReference struct {
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20231001s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13354,7 +13381,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20231001s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(reference.PropertyBag)
@@ -13394,7 +13421,7 @@ type ResourceReference_STATUS struct {
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20231001s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13422,7 +13449,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20231001s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(reference.PropertyBag)
@@ -13450,88 +13477,88 @@ func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference
}
type augmentConversionForContainerServiceSshPublicKey interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceSshPublicKey) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceSshPublicKey) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshPublicKey) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshPublicKey) error
}
type augmentConversionForContainerServiceSshPublicKey_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ContainerServiceSshPublicKey_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ContainerServiceSshPublicKey_STATUS) error
+ AssignPropertiesFrom(src *storage.ContainerServiceSshPublicKey_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshPublicKey_STATUS) error
}
type augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error
}
type augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error
}
type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
}
type augmentConversionForManagedClusterManagedOutboundIPProfile interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterManagedOutboundIPProfile) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterManagedOutboundIPProfile) error
+ AssignPropertiesFrom(src *storage.ManagedClusterManagedOutboundIPProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterManagedOutboundIPProfile) error
}
type augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error
}
type augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
}
type augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error
}
type augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error
}
type augmentConversionForResourceReference interface {
- AssignPropertiesFrom(src *v20231001s.ResourceReference) error
- AssignPropertiesTo(dst *v20231001s.ResourceReference) error
+ AssignPropertiesFrom(src *storage.ResourceReference) error
+ AssignPropertiesTo(dst *storage.ResourceReference) error
}
type augmentConversionForResourceReference_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ResourceReference_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ResourceReference_STATUS) error
+ AssignPropertiesFrom(src *storage.ResourceReference_STATUS) error
+ AssignPropertiesTo(dst *storage.ResourceReference_STATUS) error
}
// Storage version of v1api20230201.ManagedClusterPodIdentityProvisioningError_STATUS
@@ -13542,7 +13569,7 @@ type ManagedClusterPodIdentityProvisioningError_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13579,13 +13606,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(error.PropertyBag)
// Error
if error.Error != nil {
- var errorLocal v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -13616,8 +13643,8 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
type augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error
}
// Storage version of v1api20230201.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
@@ -13631,7 +13658,7 @@ type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13683,7 +13710,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(body.PropertyBag)
@@ -13692,11 +13719,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -13735,8 +13762,8 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
type augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
}
// Storage version of v1api20230201.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
@@ -13748,7 +13775,7 @@ type ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled struct {
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -13782,7 +13809,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(unrolled.PropertyBag)
@@ -13816,8 +13843,8 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
type augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
}
func init() {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_clusters_agent_pool_types_gen.go
index 86f5478dc2..66d97bf3dd 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/managed_clusters_agent_pool_types_gen.go
@@ -5,7 +5,7 @@ package storage
import (
"fmt"
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
@@ -47,7 +47,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20231001s.ManagedClustersAgentPool)
+ source, ok := hub.(*storage.ManagedClustersAgentPool)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedClustersAgentPool but received %T instead", hub)
}
@@ -57,7 +57,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20231001s.ManagedClustersAgentPool)
+ destination, ok := hub.(*storage.ManagedClustersAgentPool)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedClustersAgentPool but received %T instead", hub)
}
@@ -137,7 +137,7 @@ func (pool *ManagedClustersAgentPool) SetStatus(status genruntime.ConvertibleSta
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20231001s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -172,13 +172,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20231001s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20231001s.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -186,7 +186,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20231001s.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -227,8 +227,8 @@ type ManagedClustersAgentPoolList struct {
}
type augmentConversionForManagedClustersAgentPool interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClustersAgentPool) error
- AssignPropertiesTo(dst *v20231001s.ManagedClustersAgentPool) error
+ AssignPropertiesFrom(src *storage.ManagedClustersAgentPool) error
+ AssignPropertiesTo(dst *storage.ManagedClustersAgentPool) error
}
// Storage version of v1api20230201.ManagedClusters_AgentPool_Spec
@@ -306,14 +306,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20231001s.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -330,14 +330,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20231001s.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -353,7 +353,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20231001s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -620,7 +620,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20231001s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(pool.PropertyBag)
@@ -648,7 +648,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// CreationData
if pool.CreationData != nil {
- var creationDatum v20231001s.CreationData
+ var creationDatum storage.CreationData
err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -711,7 +711,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -726,7 +726,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -750,7 +750,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// NetworkProfile
if propertyBag.Contains("NetworkProfile") {
- var networkProfile v20231001s.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := propertyBag.Pull("NetworkProfile", &networkProfile)
if err != nil {
return errors.Wrap(err, "pulling 'NetworkProfile' from propertyBag")
@@ -811,7 +811,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// PowerState
if pool.PowerState != nil {
- var powerState v20231001s.PowerState
+ var powerState storage.PowerState
err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -854,7 +854,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -952,14 +952,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20231001s.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -976,14 +976,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20231001s.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -999,7 +999,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genrun
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20231001s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1248,7 +1248,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20231001s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(pool.PropertyBag)
@@ -1276,7 +1276,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// CreationData
if pool.CreationData != nil {
- var creationDatum v20231001s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -1340,7 +1340,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -1355,7 +1355,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -1382,7 +1382,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// NetworkProfile
if propertyBag.Contains("NetworkProfile") {
- var networkProfile v20231001s.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := propertyBag.Pull("NetworkProfile", &networkProfile)
if err != nil {
return errors.Wrap(err, "pulling 'NetworkProfile' from propertyBag")
@@ -1425,7 +1425,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20231001s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -1469,7 +1469,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -1516,7 +1516,7 @@ type AgentPoolUpgradeSettings struct {
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20231001s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1551,7 +1551,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20231001s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
@@ -1599,7 +1599,7 @@ type AgentPoolUpgradeSettings_STATUS struct {
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20231001s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1634,7 +1634,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20231001s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
@@ -1675,13 +1675,13 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUp
}
type augmentConversionForManagedClusters_AgentPool_Spec interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusters_AgentPool_Spec) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusters_AgentPool_Spec) error
+ AssignPropertiesFrom(src *storage.ManagedClusters_AgentPool_Spec) error
+ AssignPropertiesTo(dst *storage.ManagedClusters_AgentPool_Spec) error
}
type augmentConversionForManagedClusters_AgentPool_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.ManagedClusters_AgentPool_STATUS) error
- AssignPropertiesTo(dst *v20231001s.ManagedClusters_AgentPool_STATUS) error
+ AssignPropertiesFrom(src *storage.ManagedClusters_AgentPool_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusters_AgentPool_STATUS) error
}
// Storage version of v1api20230201.CreationData
@@ -1694,7 +1694,7 @@ type CreationData struct {
}
// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
-func (data *CreationData) AssignProperties_From_CreationData(source *v20231001s.CreationData) error {
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1727,7 +1727,7 @@ func (data *CreationData) AssignProperties_From_CreationData(source *v20231001s.
}
// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
-func (data *CreationData) AssignProperties_To_CreationData(destination *v20231001s.CreationData) error {
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
@@ -1767,7 +1767,7 @@ type CreationData_STATUS struct {
}
// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *v20231001s.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1795,7 +1795,7 @@ func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(sourc
}
// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *v20231001s.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
@@ -1840,7 +1840,7 @@ type KubeletConfig struct {
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20231001s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -1908,7 +1908,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202310
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20231001s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -1993,7 +1993,7 @@ type KubeletConfig_STATUS struct {
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20231001s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2061,7 +2061,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20231001s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2139,7 +2139,7 @@ type LinuxOSConfig struct {
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20231001s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2185,7 +2185,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202310
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20231001s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2194,7 +2194,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20231001s.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -2241,7 +2241,7 @@ type LinuxOSConfig_STATUS struct {
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20231001s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2287,7 +2287,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20231001s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2296,7 +2296,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20231001s.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -2340,7 +2340,7 @@ type PowerState struct {
}
// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
-func (state *PowerState) AssignProperties_From_PowerState(source *v20231001s.PowerState) error {
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2368,7 +2368,7 @@ func (state *PowerState) AssignProperties_From_PowerState(source *v20231001s.Pow
}
// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
-func (state *PowerState) AssignProperties_To_PowerState(destination *v20231001s.PowerState) error {
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(state.PropertyBag)
@@ -2396,48 +2396,48 @@ func (state *PowerState) AssignProperties_To_PowerState(destination *v20231001s.
}
type augmentConversionForAgentPoolUpgradeSettings interface {
- AssignPropertiesFrom(src *v20231001s.AgentPoolUpgradeSettings) error
- AssignPropertiesTo(dst *v20231001s.AgentPoolUpgradeSettings) error
+ AssignPropertiesFrom(src *storage.AgentPoolUpgradeSettings) error
+ AssignPropertiesTo(dst *storage.AgentPoolUpgradeSettings) error
}
type augmentConversionForAgentPoolUpgradeSettings_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.AgentPoolUpgradeSettings_STATUS) error
- AssignPropertiesTo(dst *v20231001s.AgentPoolUpgradeSettings_STATUS) error
+ AssignPropertiesFrom(src *storage.AgentPoolUpgradeSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolUpgradeSettings_STATUS) error
}
type augmentConversionForCreationData interface {
- AssignPropertiesFrom(src *v20231001s.CreationData) error
- AssignPropertiesTo(dst *v20231001s.CreationData) error
+ AssignPropertiesFrom(src *storage.CreationData) error
+ AssignPropertiesTo(dst *storage.CreationData) error
}
type augmentConversionForCreationData_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.CreationData_STATUS) error
- AssignPropertiesTo(dst *v20231001s.CreationData_STATUS) error
+ AssignPropertiesFrom(src *storage.CreationData_STATUS) error
+ AssignPropertiesTo(dst *storage.CreationData_STATUS) error
}
type augmentConversionForKubeletConfig interface {
- AssignPropertiesFrom(src *v20231001s.KubeletConfig) error
- AssignPropertiesTo(dst *v20231001s.KubeletConfig) error
+ AssignPropertiesFrom(src *storage.KubeletConfig) error
+ AssignPropertiesTo(dst *storage.KubeletConfig) error
}
type augmentConversionForKubeletConfig_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.KubeletConfig_STATUS) error
- AssignPropertiesTo(dst *v20231001s.KubeletConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.KubeletConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.KubeletConfig_STATUS) error
}
type augmentConversionForLinuxOSConfig interface {
- AssignPropertiesFrom(src *v20231001s.LinuxOSConfig) error
- AssignPropertiesTo(dst *v20231001s.LinuxOSConfig) error
+ AssignPropertiesFrom(src *storage.LinuxOSConfig) error
+ AssignPropertiesTo(dst *storage.LinuxOSConfig) error
}
type augmentConversionForLinuxOSConfig_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.LinuxOSConfig_STATUS) error
- AssignPropertiesTo(dst *v20231001s.LinuxOSConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.LinuxOSConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.LinuxOSConfig_STATUS) error
}
type augmentConversionForPowerState interface {
- AssignPropertiesFrom(src *v20231001s.PowerState) error
- AssignPropertiesTo(dst *v20231001s.PowerState) error
+ AssignPropertiesFrom(src *storage.PowerState) error
+ AssignPropertiesTo(dst *storage.PowerState) error
}
// Storage version of v1api20230201.SysctlConfig
@@ -2475,7 +2475,7 @@ type SysctlConfig struct {
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20231001s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2589,7 +2589,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20231001
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20231001s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2737,7 +2737,7 @@ type SysctlConfig_STATUS struct {
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20231001s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -2851,7 +2851,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20231001s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
@@ -2965,13 +2965,13 @@ func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(desti
}
type augmentConversionForSysctlConfig interface {
- AssignPropertiesFrom(src *v20231001s.SysctlConfig) error
- AssignPropertiesTo(dst *v20231001s.SysctlConfig) error
+ AssignPropertiesFrom(src *storage.SysctlConfig) error
+ AssignPropertiesTo(dst *storage.SysctlConfig) error
}
type augmentConversionForSysctlConfig_STATUS interface {
- AssignPropertiesFrom(src *v20231001s.SysctlConfig_STATUS) error
- AssignPropertiesTo(dst *v20231001s.SysctlConfig_STATUS) error
+ AssignPropertiesFrom(src *storage.SysctlConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.SysctlConfig_STATUS) error
}
func init() {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/structure.txt
index 62cc877f25..7522181f9f 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/structure.txt
@@ -1,716 +1,26 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage
-├── APIVersion: Enum (1 value)
-│ └── "2023-02-01"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (38 properties)
-│ │ ├── AadProfile: *Object (8 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AgentPoolProfiles: Object (40 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *string
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *string
-│ │ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *string
-│ │ │ ├── OsSKU: *string
-│ │ │ ├── OsType: *string
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (2 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *string
-│ │ │ ├── ScaleSetPriority: *string
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *string
-│ │ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ └── WorkloadRuntime: *string
-│ │ ├── ApiServerAccessProfile: *Object (6 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AutoScalerProfile: *Object (18 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *string
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UpgradeChannel: *string
-│ │ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ │ ├── Metrics: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AzureName: string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (3 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Type: *string
-│ │ │ └── UserAssignedIdentities: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (3 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Ssh: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PublicKeys: Object (2 properties)[]
-│ │ │ ├── KeyData: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── IpFamilies: string[]
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ ├── CountIPv6: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerSku: *string
-│ │ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NetworkDataplane: *string
-│ │ │ ├── NetworkMode: *string
-│ │ │ ├── NetworkPlugin: *string
-│ │ │ ├── NetworkPluginMode: *string
-│ │ │ ├── NetworkPolicy: *string
-│ │ │ ├── OutboundType: *string
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── OperatorSpec: *Object (3 properties)
-│ │ │ ├── ConfigMaps: *Object (2 properties)
-│ │ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secrets: *Object (3 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (5 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── UserAssignedIdentities: Object (5 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PodLabels: map[string]string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
+-------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-02-01"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (38 properties)
+│ ├── AadProfile: *Object (8 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicNetworkAccess: *string
-│ │ ├── SecurityProfile: *Object (5 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Defender: *Object (3 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IntervalHours: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServicePrincipalProfile: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── StorageProfile: *Object (5 properties)
-│ │ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SnapshotController: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Tags: map[string]string
-│ │ ├── WindowsProfile: *Object (6 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── RootDomainName: *string
-│ │ │ ├── LicenseType: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (46 properties)
-│ ├── AadProfile: *Object (8 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (4 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AgentPoolProfiles: Object (43 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *string
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *string
-│ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *string
-│ │ ├── Name: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *string
-│ │ ├── OsSKU: *string
-│ │ ├── OsType: *string
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (2 properties)
-│ │ │ ├── Code: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *string
-│ │ ├── ScaleSetEvictionPolicy: *string
-│ │ ├── ScaleSetPriority: *string
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *string
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── MaxSurge: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ └── WorkloadRuntime: *string
-│ ├── ApiServerAccessProfile: *Object (6 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AutoScalerProfile: *Object (18 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *string
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── UpgradeChannel: *string
-│ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ ├── Metrics: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (5 properties)
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── TenantId: *string
-│ │ ├── Type: *string
-│ │ └── UserAssignedIdentities: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── PrincipalId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (3 properties)
-│ │ ├── AdminUsername: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Ssh: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── PublicKeys: Object (2 properties)[]
-│ │ ├── KeyData: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (17 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── DockerBridgeCidr: *string
-│ │ ├── IpFamilies: string[]
-│ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ ├── CountIPv6: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerSku: *string
-│ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NetworkDataplane: *string
-│ │ ├── NetworkMode: *string
-│ │ ├── NetworkPlugin: *string
-│ │ ├── NetworkPluginMode: *string
-│ │ ├── NetworkPolicy: *string
-│ │ ├── OutboundType: *string
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeResourceGroup: *string
-│ ├── OidcIssuerProfile: *Object (3 properties)
-│ │ ├── Enabled: *bool
-│ │ ├── IssuerURL: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PodIdentityProfile: *Object (5 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── UserAssignedIdentities: Object (7 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProvisioningInfo: *Object (2 properties)
-│ │ │ │ ├── Error: *Object (2 properties)
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ProvisioningState: *string
-│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ ├── PodLabels: map[string]string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (7 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *string
-│ ├── SecurityProfile: *Object (5 properties)
-│ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ ├── KeyVaultResourceId: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Defender: *Object (3 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IntervalHours: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── StorageProfile: *Object (5 properties)
-│ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SnapshotController: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── WindowsProfile: *Object (6 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RootDomainName: *string
-│ │ ├── LicenseType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ ├── Keda: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── PropertyBag: genruntime.PropertyBag
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: containerservice/v1api20230201.ManagedCluster
-│ ├── Spec: Object (42 properties)
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AgentPoolProfiles: Object (40 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
@@ -775,16 +85,15 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/st
│ │ ├── MaxPods: *int
│ │ ├── MinCount: *int
│ │ ├── Mode: *string
+│ │ ├── Name: *string
│ │ ├── NodeLabels: map[string]string
│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
│ │ ├── NodeTaints: string[]
│ │ ├── OrchestratorVersion: *string
-│ │ ├── OriginalVersion: string
│ │ ├── OsDiskSizeGB: *int
│ │ ├── OsDiskType: *string
│ │ ├── OsSKU: *string
│ │ ├── OsType: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (2 properties)
│ │ │ ├── Code: *string
@@ -803,222 +112,914 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/st
│ │ ├── VmSize: *string
│ │ ├── VnetSubnetReference: *genruntime.ResourceReference
│ │ └── WorkloadRuntime: *string
-│ └── Status: Object (46 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *string
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (12 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *string
-│ ├── LinuxOSConfig: *Object (5 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (29 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MinCount: *int
-│ ├── Mode: *string
-│ ├── Name: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *string
-│ ├── OsSKU: *string
-│ ├── OsType: *string
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
+│ ├── ApiServerAccessProfile: *Object (6 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AutoScalerProfile: *Object (18 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *string
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UpgradeChannel: *string
+│ ├── AzureMonitorProfile: *Object (2 properties)
+│ │ ├── Metrics: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KubeStateMetrics: *Object (3 properties)
+│ │ │ │ ├── MetricAnnotationsAllowList: *string
+│ │ │ │ ├── MetricLabelsAllowlist: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (3 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (4 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (3 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Ssh: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicKeys: Object (2 properties)[]
+│ │ ├── KeyData: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── IpFamilies: string[]
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ ├── CountIPv6: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── OutboundIPs: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerSku: *string
+│ │ ├── NatGatewayProfile: *Object (4 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NetworkDataplane: *string
+│ │ ├── NetworkMode: *string
+│ │ ├── NetworkPlugin: *string
+│ │ ├── NetworkPluginMode: *string
+│ │ ├── NetworkPolicy: *string
+│ │ ├── OutboundType: *string
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OperatorSpec: *Object (3 properties)
+│ │ ├── ConfigMaps: *Object (3 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ ├── PrincipalId: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secrets: *Object (3 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (5 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── UserAssignedIdentities: Object (5 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (4 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ ├── PodLabels: map[string]string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicNetworkAccess: *string
+│ ├── SecurityProfile: *Object (5 properties)
+│ │ ├── AzureKeyVaultKms: *Object (5 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *string
+│ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── Defender: *Object (3 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SecurityMonitoring: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageCleaner: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IntervalHours: *int
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WorkloadIdentity: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServicePrincipalProfile: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── StorageProfile: *Object (5 properties)
+│ │ ├── BlobCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── FileCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SnapshotController: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Tags: map[string]string
+│ ├── WindowsProfile: *Object (6 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (4 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── RootDomainName: *string
+│ │ ├── LicenseType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (2 properties)
+│ │ ├── Enabled: *bool
│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertiesType: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *string
-│ ├── ScaleSetEvictionPolicy: *string
-│ ├── ScaleSetPriority: *string
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── MaxSurge: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ └── WorkloadRuntime: *string
-├── augmentConversionForAgentPoolUpgradeSettings: Interface
-├── augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
-├── augmentConversionForAzureKeyVaultKms: Interface
-├── augmentConversionForAzureKeyVaultKms_STATUS: Interface
-├── augmentConversionForContainerServiceLinuxProfile: Interface
-├── augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
-├── augmentConversionForContainerServiceNetworkProfile: Interface
-├── augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
-├── augmentConversionForContainerServiceSshConfiguration: Interface
-├── augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
-├── augmentConversionForContainerServiceSshPublicKey: Interface
-├── augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
-├── augmentConversionForCreationData: Interface
-├── augmentConversionForCreationData_STATUS: Interface
-├── augmentConversionForExtendedLocation: Interface
-├── augmentConversionForExtendedLocation_STATUS: Interface
-├── augmentConversionForKubeletConfig: Interface
-├── augmentConversionForKubeletConfig_STATUS: Interface
-├── augmentConversionForLinuxOSConfig: Interface
-├── augmentConversionForLinuxOSConfig_STATUS: Interface
-├── augmentConversionForManagedCluster: Interface
-├── augmentConversionForManagedClusterAADProfile: Interface
-├── augmentConversionForManagedClusterAADProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAddonProfile: Interface
-├── augmentConversionForManagedClusterAddonProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfile: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity: Interface
-├── augmentConversionForManagedClusterIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
-├── augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
-├── augmentConversionForManagedClusterNATGatewayProfile: Interface
-├── augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOIDCIssuerProfile: Interface
-├── augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOperatorConfigMaps: Interface
-├── augmentConversionForManagedClusterOperatorSecrets: Interface
-├── augmentConversionForManagedClusterOperatorSpec: Interface
-├── augmentConversionForManagedClusterPodIdentity: Interface
-├── augmentConversionForManagedClusterPodIdentityException: Interface
-├── augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterSKU: Interface
-├── augmentConversionForManagedClusterSKU_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfile: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefender: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
-├── augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
-├── augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfile: Interface
-├── augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
-├── augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWindowsProfile: Interface
-├── augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedCluster_STATUS: Interface
-├── augmentConversionForManagedCluster_Spec: Interface
-├── augmentConversionForManagedClustersAgentPool: Interface
-├── augmentConversionForManagedClusters_AgentPool_STATUS: Interface
-├── augmentConversionForManagedClusters_AgentPool_Spec: Interface
-├── augmentConversionForPowerState: Interface
-├── augmentConversionForPowerState_STATUS: Interface
-├── augmentConversionForPrivateLinkResource: Interface
-├── augmentConversionForPrivateLinkResource_STATUS: Interface
-├── augmentConversionForResourceReference: Interface
-├── augmentConversionForResourceReference_STATUS: Interface
-├── augmentConversionForSysctlConfig: Interface
-├── augmentConversionForSysctlConfig_STATUS: Interface
-├── augmentConversionForSystemData_STATUS: Interface
-├── augmentConversionForUserAssignedIdentity: Interface
-├── augmentConversionForUserAssignedIdentityDetails: Interface
-├── augmentConversionForUserAssignedIdentity_STATUS: Interface
-├── augmentConversionForWindowsGmsaProfile: Interface
-└── augmentConversionForWindowsGmsaProfile_STATUS: Interface
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (46 properties)
+ ├── AadProfile: *Object (8 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (4 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AgentPoolProfiles: Object (43 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *string
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (12 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *string
+ │ ├── LinuxOSConfig: *Object (5 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (29 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MinCount: *int
+ │ ├── Mode: *string
+ │ ├── Name: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *string
+ │ ├── OsSKU: *string
+ │ ├── OsType: *string
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (2 properties)
+ │ │ ├── Code: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *string
+ │ ├── ScaleSetEvictionPolicy: *string
+ │ ├── ScaleSetPriority: *string
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *string
+ │ ├── UpgradeSettings: *Object (2 properties)
+ │ │ ├── MaxSurge: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ └── WorkloadRuntime: *string
+ ├── ApiServerAccessProfile: *Object (6 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── PrivateDNSZone: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AutoScalerProfile: *Object (18 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *string
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UpgradeChannel: *string
+ ├── AzureMonitorProfile: *Object (2 properties)
+ │ ├── Metrics: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KubeStateMetrics: *Object (3 properties)
+ │ │ │ ├── MetricAnnotationsAllowList: *string
+ │ │ │ ├── MetricLabelsAllowlist: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (5 properties)
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IdentityProfile: map[string]Object (4 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (3 properties)
+ │ ├── AdminUsername: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Ssh: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicKeys: Object (2 properties)[]
+ │ ├── KeyData: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (17 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── DockerBridgeCidr: *string
+ │ ├── IpFamilies: string[]
+ │ ├── LoadBalancerProfile: *Object (8 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ ├── CountIPv6: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPs: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerSku: *string
+ │ ├── NatGatewayProfile: *Object (4 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NetworkDataplane: *string
+ │ ├── NetworkMode: *string
+ │ ├── NetworkPlugin: *string
+ │ ├── NetworkPluginMode: *string
+ │ ├── NetworkPolicy: *string
+ │ ├── OutboundType: *string
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeResourceGroup: *string
+ ├── OidcIssuerProfile: *Object (3 properties)
+ │ ├── Enabled: *bool
+ │ ├── IssuerURL: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PodIdentityProfile: *Object (5 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── UserAssignedIdentities: Object (7 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (4 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningInfo: *Object (2 properties)
+ │ │ │ ├── Error: *Object (2 properties)
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── ProvisioningState: *string
+ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ ├── PodLabels: map[string]string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (7 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *string
+ ├── SecurityProfile: *Object (5 properties)
+ │ ├── AzureKeyVaultKms: *Object (5 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *string
+ │ │ ├── KeyVaultResourceId: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Defender: *Object (3 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SecurityMonitoring: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageCleaner: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IntervalHours: *int
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadIdentity: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServicePrincipalProfile: *Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── StorageProfile: *Object (5 properties)
+ │ ├── BlobCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── DiskCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── FileCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SnapshotController: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── WindowsProfile: *Object (5 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (4 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── RootDomainName: *string
+ │ ├── LicenseType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadAutoScalerProfile: *Object (2 properties)
+ ├── Keda: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── PropertyBag: genruntime.PropertyBag
+ManagedClustersAgentPool: Resource
+├── Owner: containerservice/v1api20230201.ManagedCluster
+├── Spec: Object (42 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── Count: *int
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *string
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (12 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *string
+│ ├── LinuxOSConfig: *Object (5 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (29 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OriginalVersion: string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *string
+│ ├── OsSKU: *string
+│ ├── OsType: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (2 properties)
+│ │ ├── Code: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *string
+│ ├── ScaleSetEvictionPolicy: *string
+│ ├── ScaleSetPriority: *string
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── MaxSurge: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ └── WorkloadRuntime: *string
+└── Status: Object (46 properties)
+ ├── AvailabilityZones: string[]
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *string
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (12 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *string
+ ├── LinuxOSConfig: *Object (5 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (29 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *string
+ ├── Name: *string
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *string
+ ├── OsSKU: *string
+ ├── OsType: *string
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertiesType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *string
+ ├── ScaleSetEvictionPolicy: *string
+ ├── ScaleSetPriority: *string
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── MaxSurge: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ └── WorkloadRuntime: *string
+augmentConversionForAgentPoolUpgradeSettings: Interface
+augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
+augmentConversionForAzureKeyVaultKms: Interface
+augmentConversionForAzureKeyVaultKms_STATUS: Interface
+augmentConversionForContainerServiceLinuxProfile: Interface
+augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile: Interface
+augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
+augmentConversionForContainerServiceSshConfiguration: Interface
+augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
+augmentConversionForContainerServiceSshPublicKey: Interface
+augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
+augmentConversionForCreationData: Interface
+augmentConversionForCreationData_STATUS: Interface
+augmentConversionForExtendedLocation: Interface
+augmentConversionForExtendedLocation_STATUS: Interface
+augmentConversionForKubeletConfig: Interface
+augmentConversionForKubeletConfig_STATUS: Interface
+augmentConversionForLinuxOSConfig: Interface
+augmentConversionForLinuxOSConfig_STATUS: Interface
+augmentConversionForManagedCluster: Interface
+augmentConversionForManagedClusterAADProfile: Interface
+augmentConversionForManagedClusterAADProfile_STATUS: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
+augmentConversionForManagedClusterAddonProfile: Interface
+augmentConversionForManagedClusterAddonProfile_STATUS: Interface
+augmentConversionForManagedClusterAgentPoolProfile: Interface
+augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
+augmentConversionForManagedClusterHTTPProxyConfig: Interface
+augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
+augmentConversionForManagedClusterIdentity: Interface
+augmentConversionForManagedClusterIdentity_STATUS: Interface
+augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
+augmentConversionForManagedClusterNATGatewayProfile: Interface
+augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
+augmentConversionForManagedClusterOperatorConfigMaps: Interface
+augmentConversionForManagedClusterOperatorSecrets: Interface
+augmentConversionForManagedClusterOperatorSpec: Interface
+augmentConversionForManagedClusterPodIdentity: Interface
+augmentConversionForManagedClusterPodIdentityException: Interface
+augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProfile: Interface
+augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_STATUS: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
+augmentConversionForManagedClusterSKU: Interface
+augmentConversionForManagedClusterSKU_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile: Interface
+augmentConversionForManagedClusterSecurityProfileDefender: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
+augmentConversionForManagedClusterServicePrincipalProfile: Interface
+augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile_STATUS: Interface
+augmentConversionForManagedClusterWindowsProfile: Interface
+augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
+augmentConversionForManagedCluster_STATUS: Interface
+augmentConversionForManagedCluster_Spec: Interface
+augmentConversionForManagedClustersAgentPool: Interface
+augmentConversionForManagedClusters_AgentPool_STATUS: Interface
+augmentConversionForManagedClusters_AgentPool_Spec: Interface
+augmentConversionForPowerState: Interface
+augmentConversionForPowerState_STATUS: Interface
+augmentConversionForPrivateLinkResource: Interface
+augmentConversionForPrivateLinkResource_STATUS: Interface
+augmentConversionForResourceReference: Interface
+augmentConversionForResourceReference_STATUS: Interface
+augmentConversionForSysctlConfig: Interface
+augmentConversionForSysctlConfig_STATUS: Interface
+augmentConversionForSystemData_STATUS: Interface
+augmentConversionForUserAssignedIdentity: Interface
+augmentConversionForUserAssignedIdentityDetails: Interface
+augmentConversionForUserAssignedIdentity_STATUS: Interface
+augmentConversionForWindowsGmsaProfile: Interface
+augmentConversionForWindowsGmsaProfile_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/zz_generated.deepcopy.go
index 6f965f4d6d..42bb9d7e04 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage/zz_generated.deepcopy.go
@@ -2613,6 +2613,11 @@ func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOper
*out = new(genruntime.ConfigMapDestination)
**out = **in
}
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
if in.PropertyBag != nil {
in, out := &in.PropertyBag, &out.PropertyBag
*out = make(genruntime.PropertyBag, len(*in))
@@ -4057,7 +4062,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -4102,11 +4107,6 @@ func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/structure.txt
index 710a76c90d..7a85338304 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/structure.txt
@@ -1,1495 +1,24 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201
-├── APIVersion: Enum (1 value)
-│ └── "2023-02-01"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (36 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (39 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
-│ │ │ │ │ └── Rule 0: Minimum: 2
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (4 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 63
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (2 properties)
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SystemAssigned"
-│ │ │ │ └── "UserAssigned"
-│ │ │ └── UserAssignedIdentities: Object (1 property)[]
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (16 properties)
-│ │ │ ├── DnsServiceIP: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
-│ │ │ ├── DockerBridgeCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── LoadBalancerProfile: *Object (7 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 64000
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 16
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── ConfigMaps: *Object (1 property)
-│ │ │ │ └── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ └── Secrets: *Object (2 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (1 value)
-│ │ │ │ └── "Base"
-│ │ │ └── Tier: *Enum (2 values)
-│ │ │ ├── "Free"
-│ │ │ └── "Standard"
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── Tags: map[string]string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (1 property)
-│ │ └── Keda: *Object (1 property)
-│ │ └── Enabled: *bool
-│ └── Status: Object (45 properties)
-│ ├── AadProfile: *Object (7 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── AgentPoolProfiles: Object (42 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ ├── "MIG1g"
-│ │ │ ├── "MIG2g"
-│ │ │ ├── "MIG3g"
-│ │ │ ├── "MIG4g"
-│ │ │ └── "MIG7g"
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ ├── "OS"
-│ │ │ └── "Temporary"
-│ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *Enum (2 values)
-│ │ │ ├── "System"
-│ │ │ └── "User"
-│ │ ├── Name: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ ├── "Ephemeral"
-│ │ │ └── "Managed"
-│ │ ├── OsSKU: *Enum (4 values)
-│ │ │ ├── "CBLMariner"
-│ │ │ ├── "Ubuntu"
-│ │ │ ├── "Windows2019"
-│ │ │ └── "Windows2022"
-│ │ ├── OsType: *Enum (2 values)
-│ │ │ ├── "Linux"
-│ │ │ └── "Windows"
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ ├── "Regular"
-│ │ │ └── "Spot"
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *Enum (2 values)
-│ │ │ ├── "AvailabilitySet"
-│ │ │ └── "VirtualMachineScaleSets"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── MaxSurge: *string
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ ├── "OCIContainer"
-│ │ └── "WasmWasi"
-│ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ └── PrivateDNSZone: *string
-│ ├── AutoScalerProfile: *Object (17 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *Enum (4 values)
-│ │ │ ├── "least-waste"
-│ │ │ ├── "most-pods"
-│ │ │ ├── "priority"
-│ │ │ └── "random"
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ └── UpgradeChannel: *Enum (5 values)
-│ │ ├── "node-image"
-│ │ ├── "none"
-│ │ ├── "patch"
-│ │ ├── "rapid"
-│ │ └── "stable"
-│ ├── AzureMonitorProfile: *Object (1 property)
-│ │ └── Metrics: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ ├── MetricAnnotationsAllowList: *string
-│ │ └── MetricLabelsAllowlist: *string
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (4 properties)
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (2 properties)
-│ │ ├── AdminUsername: *string
-│ │ └── Ssh: *Object (1 property)
-│ │ └── PublicKeys: Object (1 property)[]
-│ │ └── KeyData: *string
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (16 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── DockerBridgeCidr: *string
-│ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── LoadBalancerProfile: *Object (7 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── CountIPv6: *int
-│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ ├── "basic"
-│ │ │ └── "standard"
-│ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ └── Count: *int
-│ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ ├── "azure"
-│ │ │ └── "cilium"
-│ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ ├── "bridge"
-│ │ │ └── "transparent"
-│ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "kubenet"
-│ │ │ └── "none"
-│ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ └── "overlay"
-│ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "calico"
-│ │ │ └── "cilium"
-│ │ ├── OutboundType: *Enum (4 values)
-│ │ │ ├── "loadBalancer"
-│ │ │ ├── "managedNATGateway"
-│ │ │ ├── "userAssignedNATGateway"
-│ │ │ └── "userDefinedRouting"
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeResourceGroup: *string
-│ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── IssuerURL: *string
-│ ├── PodIdentityProfile: *Object (4 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Assigned"
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ └── PodLabels: map[string]string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── SecurityProfile: *Object (4 properties)
-│ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ ├── "Private"
-│ │ │ │ └── "Public"
-│ │ │ └── KeyVaultResourceId: *string
-│ │ ├── Defender: *Object (2 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IntervalHours: *int
-│ │ └── WorkloadIdentity: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ └── ClientId: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Standard"
-│ ├── StorageProfile: *Object (4 properties)
-│ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── SnapshotController: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── WindowsProfile: *Object (5 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── RootDomainName: *string
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ └── WorkloadAutoScalerProfile: *Object (1 property)
-│ └── Keda: *Object (1 property)
-│ └── Enabled: *bool
-├── ManagedCluster_STATUS_ARM: Object (10 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (35 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── AgentPoolProfiles: Object (42 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── CurrentOrchestratorVersion: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NodeImageVersion: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (4 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProvisioningState: *string
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzurePortalFQDN: *string
-│ │ ├── CurrentKubernetesVersion: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── Fqdn: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── MaxAgentPools: *int
-│ │ ├── NetworkProfile: *Object (16 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── LoadBalancerProfile: *Object (7 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IssuerURL: *string
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ │ ├── "Assigned"
-│ │ │ │ ├── "Canceled"
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── PrivateFQDN: *string
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceID: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ │ └── ClientId: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (1 property)
-│ │ └── Keda: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Standard"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── ManagedCluster_Spec_ARM: Object (7 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Identity: *Object (2 properties)
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (0 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (28 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (39 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (4 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (1 property)
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── NetworkProfile: *Object (16 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── LoadBalancerProfile: *Object (7 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (1 property)
-│ │ └── Keda: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Standard"
-│ └── Tags: map[string]string
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: ManagedCluster
-│ ├── Spec: Object (40 properties)
+-----------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-02-01"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (36 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (39 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (1 property)
│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
@@ -1560,6 +89,8 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── NodeLabels: map[string]string
│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
│ │ ├── NodeTaints: string[]
@@ -1578,7 +109,6 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201
│ │ ├── OsType: *Enum (2 values)
│ │ │ ├── "Linux"
│ │ │ └── "Windows"
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (1 property)
│ │ │ └── Code: *Enum (2 values)
@@ -1606,131 +136,665 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201
│ │ └── WorkloadRuntime: *Enum (2 values)
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Status: Object (45 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ ├── "MIG1g"
-│ │ ├── "MIG2g"
-│ │ ├── "MIG3g"
-│ │ ├── "MIG4g"
-│ │ └── "MIG7g"
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (11 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *Enum (2 values)
-│ │ ├── "OS"
-│ │ └── "Temporary"
-│ ├── LinuxOSConfig: *Object (4 properties)
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (28 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MinCount: *int
-│ ├── Mode: *Enum (2 values)
-│ │ ├── "System"
-│ │ └── "User"
-│ ├── Name: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *Enum (2 values)
-│ │ ├── "Ephemeral"
-│ │ └── "Managed"
-│ ├── OsSKU: *Enum (4 values)
-│ │ ├── "CBLMariner"
-│ │ ├── "Ubuntu"
-│ │ ├── "Windows2019"
-│ │ └── "Windows2022"
-│ ├── OsType: *Enum (2 values)
-│ │ ├── "Linux"
-│ │ └── "Windows"
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PropertiesType: *Enum (2 values)
-│ │ ├── "AvailabilitySet"
-│ │ └── "VirtualMachineScaleSets"
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetPriority: *Enum (2 values)
-│ │ ├── "Regular"
-│ │ └── "Spot"
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── MaxSurge: *string
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ └── WorkloadRuntime: *Enum (2 values)
-│ ├── "OCIContainer"
-│ └── "WasmWasi"
-├── ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
-│ ├── Id: *string
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (1 property)
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (2 properties)
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "None"
+│ │ │ ├── "SystemAssigned"
+│ │ │ └── "UserAssigned"
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (16 properties)
+│ │ ├── DnsServiceIP: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+│ │ ├── DockerBridgeCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── LoadBalancerProfile: *Object (7 properties)
+│ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 64000
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 16
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ └── PrincipalId: *genruntime.ConfigMapDestination
+│ │ └── Secrets: *Object (2 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (1 value)
+│ │ │ └── "Base"
+│ │ └── Tier: *Enum (2 values)
+│ │ ├── "Free"
+│ │ └── "Standard"
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── Tags: map[string]string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (1 property)
+│ └── Keda: *Object (1 property)
+│ └── Enabled: *bool
+└── Status: Object (45 properties)
+ ├── AadProfile: *Object (7 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (3 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── AgentPoolProfiles: Object (42 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (1 property)
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *Enum (5 values)
+ │ │ ├── "MIG1g"
+ │ │ ├── "MIG2g"
+ │ │ ├── "MIG3g"
+ │ │ ├── "MIG4g"
+ │ │ └── "MIG7g"
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (11 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *Enum (2 values)
+ │ │ ├── "OS"
+ │ │ └── "Temporary"
+ │ ├── LinuxOSConfig: *Object (4 properties)
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (28 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MinCount: *int
+ │ ├── Mode: *Enum (2 values)
+ │ │ ├── "System"
+ │ │ └── "User"
+ │ ├── Name: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *Enum (2 values)
+ │ │ ├── "Ephemeral"
+ │ │ └── "Managed"
+ │ ├── OsSKU: *Enum (4 values)
+ │ │ ├── "CBLMariner"
+ │ │ ├── "Ubuntu"
+ │ │ ├── "Windows2019"
+ │ │ └── "Windows2022"
+ │ ├── OsType: *Enum (2 values)
+ │ │ ├── "Linux"
+ │ │ └── "Windows"
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (1 property)
+ │ │ └── Code: *Enum (2 values)
+ │ │ ├── "Running"
+ │ │ └── "Stopped"
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetPriority: *Enum (2 values)
+ │ │ ├── "Regular"
+ │ │ └── "Spot"
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *Enum (2 values)
+ │ │ ├── "AvailabilitySet"
+ │ │ └── "VirtualMachineScaleSets"
+ │ ├── UpgradeSettings: *Object (1 property)
+ │ │ └── MaxSurge: *string
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ └── WorkloadRuntime: *Enum (2 values)
+ │ ├── "OCIContainer"
+ │ └── "WasmWasi"
+ ├── ApiServerAccessProfile: *Object (5 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ └── PrivateDNSZone: *string
+ ├── AutoScalerProfile: *Object (17 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *Enum (4 values)
+ │ │ ├── "least-waste"
+ │ │ ├── "most-pods"
+ │ │ ├── "priority"
+ │ │ └── "random"
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (1 property)
+ │ └── UpgradeChannel: *Enum (5 values)
+ │ ├── "node-image"
+ │ ├── "none"
+ │ ├── "patch"
+ │ ├── "rapid"
+ │ └── "stable"
+ ├── AzureMonitorProfile: *Object (1 property)
+ │ └── Metrics: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── KubeStateMetrics: *Object (2 properties)
+ │ ├── MetricAnnotationsAllowList: *string
+ │ └── MetricLabelsAllowlist: *string
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (4 properties)
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (4 properties)
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── IdentityProfile: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (2 properties)
+ │ ├── AdminUsername: *string
+ │ └── Ssh: *Object (1 property)
+ │ └── PublicKeys: Object (1 property)[]
+ │ └── KeyData: *string
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (16 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── DockerBridgeCidr: *string
+ │ ├── IpFamilies: Enum (2 values)[]
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── LoadBalancerProfile: *Object (7 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── CountIPv6: *int
+ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ └── OutboundIPs: *Object (1 property)
+ │ │ └── PublicIPs: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerSku: *Enum (2 values)
+ │ │ ├── "basic"
+ │ │ └── "standard"
+ │ ├── NatGatewayProfile: *Object (3 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+ │ │ └── Count: *int
+ │ ├── NetworkDataplane: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "cilium"
+ │ ├── NetworkMode: *Enum (2 values)
+ │ │ ├── "bridge"
+ │ │ └── "transparent"
+ │ ├── NetworkPlugin: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "kubenet"
+ │ │ └── "none"
+ │ ├── NetworkPluginMode: *Enum (1 value)
+ │ │ └── "overlay"
+ │ ├── NetworkPolicy: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "calico"
+ │ │ └── "cilium"
+ │ ├── OutboundType: *Enum (4 values)
+ │ │ ├── "loadBalancer"
+ │ │ ├── "managedNATGateway"
+ │ │ ├── "userAssignedNATGateway"
+ │ │ └── "userDefinedRouting"
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeResourceGroup: *string
+ ├── OidcIssuerProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── IssuerURL: *string
+ ├── PodIdentityProfile: *Object (4 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── UserAssignedIdentities: Object (6 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (3 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── ProvisioningInfo: *Object (1 property)
+ │ │ │ └── Error: *Object (1 property)
+ │ │ │ └── Error: *Object (4 properties)
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (3 properties)[]
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ └── ProvisioningState: *Enum (6 values)
+ │ │ ├── "Assigned"
+ │ │ ├── "Canceled"
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ └── PodLabels: map[string]string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (6 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── SecurityProfile: *Object (4 properties)
+ │ ├── AzureKeyVaultKms: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+ │ │ │ ├── "Private"
+ │ │ │ └── "Public"
+ │ │ └── KeyVaultResourceId: *string
+ │ ├── Defender: *Object (2 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── SecurityMonitoring: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── ImageCleaner: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── IntervalHours: *int
+ │ └── WorkloadIdentity: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ServicePrincipalProfile: *Object (1 property)
+ │ └── ClientId: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (1 value)
+ │ │ └── "Base"
+ │ └── Tier: *Enum (2 values)
+ │ ├── "Free"
+ │ └── "Standard"
+ ├── StorageProfile: *Object (4 properties)
+ │ ├── BlobCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── DiskCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── FileCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── SnapshotController: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── WindowsProfile: *Object (4 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (3 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ └── RootDomainName: *string
+ │ └── LicenseType: *Enum (2 values)
+ │ ├── "None"
+ │ └── "Windows_Server"
+ └── WorkloadAutoScalerProfile: *Object (1 property)
+ └── Keda: *Object (1 property)
+ └── Enabled: *bool
+ManagedCluster_STATUS_ARM: Object (10 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (41 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Identity: *Object (4 properties)
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (35 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── AgentPoolProfiles: Object (42 properties)[]
│ │ ├── AvailabilityZones: string[]
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (1 property)
@@ -1802,6 +866,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: *string
│ │ ├── NodeImageVersion: *string
│ │ ├── NodeLabels: map[string]string
│ │ ├── NodePublicIPPrefixID: *string
@@ -1847,122 +912,1057 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201
│ │ └── WorkloadRuntime: *Enum (2 values)
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Type: *string
-└── ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
- ├── Name: string
- └── Properties: *Object (38 properties)
- ├── AvailabilityZones: string[]
- ├── Count: *int
- ├── CreationData: *Object (1 property)
- │ └── SourceResourceId: *string
- ├── EnableAutoScaling: *bool
- ├── EnableEncryptionAtHost: *bool
- ├── EnableFIPS: *bool
- ├── EnableNodePublicIP: *bool
- ├── EnableUltraSSD: *bool
- ├── GpuInstanceProfile: *Enum (5 values)
- │ ├── "MIG1g"
- │ ├── "MIG2g"
- │ ├── "MIG3g"
- │ ├── "MIG4g"
- │ └── "MIG7g"
- ├── HostGroupID: *string
- ├── KubeletConfig: *Object (11 properties)
- │ ├── AllowedUnsafeSysctls: string[]
- │ ├── ContainerLogMaxFiles: *int
- │ ├── ContainerLogMaxSizeMB: *int
- │ ├── CpuCfsQuota: *bool
- │ ├── CpuCfsQuotaPeriod: *string
- │ ├── CpuManagerPolicy: *string
- │ ├── FailSwapOn: *bool
- │ ├── ImageGcHighThreshold: *int
- │ ├── ImageGcLowThreshold: *int
- │ ├── PodMaxPids: *int
- │ └── TopologyManagerPolicy: *string
- ├── KubeletDiskType: *Enum (2 values)
- │ ├── "OS"
- │ └── "Temporary"
- ├── LinuxOSConfig: *Object (4 properties)
- │ ├── SwapFileSizeMB: *int
- │ ├── Sysctls: *Object (28 properties)
- │ │ ├── FsAioMaxNr: *int
- │ │ ├── FsFileMax: *int
- │ │ ├── FsInotifyMaxUserWatches: *int
- │ │ ├── FsNrOpen: *int
- │ │ ├── KernelThreadsMax: *int
- │ │ ├── NetCoreNetdevMaxBacklog: *int
- │ │ ├── NetCoreOptmemMax: *int
- │ │ ├── NetCoreRmemDefault: *int
- │ │ ├── NetCoreRmemMax: *int
- │ │ ├── NetCoreSomaxconn: *int
- │ │ ├── NetCoreWmemDefault: *int
- │ │ ├── NetCoreWmemMax: *int
- │ │ ├── NetIpv4IpLocalPortRange: *string
- │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
- │ │ ├── NetIpv4TcpFinTimeout: *int
- │ │ ├── NetIpv4TcpKeepaliveProbes: *int
- │ │ ├── NetIpv4TcpKeepaliveTime: *int
- │ │ ├── NetIpv4TcpMaxSynBacklog: *int
- │ │ ├── NetIpv4TcpMaxTwBuckets: *int
- │ │ ├── NetIpv4TcpTwReuse: *bool
- │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
- │ │ ├── NetNetfilterNfConntrackBuckets: *int
- │ │ ├── NetNetfilterNfConntrackMax: *int
- │ │ ├── VmMaxMapCount: *int
- │ │ ├── VmSwappiness: *int
- │ │ └── VmVfsCachePressure: *int
- │ ├── TransparentHugePageDefrag: *string
- │ └── TransparentHugePageEnabled: *string
- ├── MaxCount: *int
- ├── MaxPods: *int
- ├── MinCount: *int
- ├── Mode: *Enum (2 values)
- │ ├── "System"
- │ └── "User"
- ├── NodeLabels: map[string]string
- ├── NodePublicIPPrefixID: *string
- ├── NodeTaints: string[]
- ├── OrchestratorVersion: *string
- ├── OsDiskSizeGB: *Validated (2 rules)
- │ ├── Rule 0: Maximum: 2048
- │ └── Rule 1: Minimum: 0
- ├── OsDiskType: *Enum (2 values)
- │ ├── "Ephemeral"
- │ └── "Managed"
- ├── OsSKU: *Enum (4 values)
- │ ├── "CBLMariner"
- │ ├── "Ubuntu"
- │ ├── "Windows2019"
- │ └── "Windows2022"
- ├── OsType: *Enum (2 values)
- │ ├── "Linux"
- │ └── "Windows"
- ├── PodSubnetID: *string
- ├── PowerState: *Object (1 property)
- │ └── Code: *Enum (2 values)
- │ ├── "Running"
- │ └── "Stopped"
- ├── ProximityPlacementGroupID: *string
- ├── ScaleDownMode: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetEvictionPolicy: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetPriority: *Enum (2 values)
- │ ├── "Regular"
- │ └── "Spot"
- ├── SpotMaxPrice: *float64
- ├── Tags: map[string]string
- ├── Type: *Enum (2 values)
- │ ├── "AvailabilitySet"
- │ └── "VirtualMachineScaleSets"
- ├── UpgradeSettings: *Object (1 property)
- │ └── MaxSurge: *string
- ├── VmSize: *string
- ├── VnetSubnetID: *string
- └── WorkloadRuntime: *Enum (2 values)
- ├── "OCIContainer"
- └── "WasmWasi"
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (1 property)
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzurePortalFQDN: *string
+│ ├── CurrentKubernetesVersion: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── Fqdn: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MaxAgentPools: *int
+│ ├── NetworkProfile: *Object (16 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── LoadBalancerProfile: *Object (7 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── IssuerURL: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (6 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ ├── ProvisioningInfo: *Object (1 property)
+│ │ │ │ └── Error: *Object (1 property)
+│ │ │ │ └── Error: *Object (4 properties)
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Details: Object (3 properties)[]
+│ │ │ │ │ ├── Code: *string
+│ │ │ │ │ ├── Message: *string
+│ │ │ │ │ └── Target: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ └── ProvisioningState: *Enum (6 values)
+│ │ │ ├── "Assigned"
+│ │ │ ├── "Canceled"
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── PrivateFQDN: *string
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceID: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ProvisioningState: *string
+│ ├── PublicNetworkAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServicePrincipalProfile: *Object (1 property)
+│ │ └── ClientId: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── WindowsProfile: *Object (4 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (1 property)
+│ └── Keda: *Object (1 property)
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (2 values)
+│ ├── "Free"
+│ └── "Standard"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+ManagedCluster_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Identity: *Object (2 properties)
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (28 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (39 properties)[]
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceId: *string
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── HostGroupID: *string
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (2 values)
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: *string
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (4 values)
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ └── "Windows2022"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodSubnetID: *string
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (2 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ └── "VirtualMachineScaleSets"
+│ │ ├── UpgradeSettings: *Object (1 property)
+│ │ │ └── MaxSurge: *string
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetID: *string
+│ │ └── WorkloadRuntime: *Enum (2 values)
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (1 property)
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── NetworkProfile: *Object (16 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── LoadBalancerProfile: *Object (7 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *string
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (1 property)
+│ └── Keda: *Object (1 property)
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (2 values)
+│ ├── "Free"
+│ └── "Standard"
+└── Tags: map[string]string
+ManagedClustersAgentPool: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (40 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ ├── Rule 0: Maximum: 2048
+│ │ └── Rule 1: Minimum: 0
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (4 values)
+│ │ ├── "CBLMariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ └── "Windows2022"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ └── WorkloadRuntime: *Enum (2 values)
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Status: Object (45 properties)
+ ├── AvailabilityZones: string[]
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── Name: *string
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (4 values)
+ │ ├── "CBLMariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ └── "Windows2022"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PropertiesType: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ └── WorkloadRuntime: *Enum (2 values)
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (41 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentOrchestratorVersion: *string
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── HostGroupID: *string
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NodeImageVersion: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixID: *string
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (4 values)
+│ │ ├── "CBLMariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ └── "Windows2022"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── PodSubnetID: *string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProvisioningState: *string
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ ├── VnetSubnetID: *string
+│ └── WorkloadRuntime: *Enum (2 values)
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Type: *string
+ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (38 properties)
+ ├── AvailabilityZones: string[]
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── HostGroupID: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *Validated (2 rules)
+ │ ├── Rule 0: Maximum: 2048
+ │ └── Rule 1: Minimum: 0
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (4 values)
+ │ ├── "CBLMariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ └── "Windows2022"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ └── WorkloadRuntime: *Enum (2 values)
+ ├── "OCIContainer"
+ └── "WasmWasi"
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/zz_generated.deepcopy.go
index a9959b147e..b591a02aa1 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/zz_generated.deepcopy.go
@@ -4805,6 +4805,11 @@ func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOper
*out = new(genruntime.ConfigMapDestination)
**out = **in
}
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorConfigMaps.
@@ -7441,7 +7446,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -7519,11 +7524,6 @@ func (in *ManagedClusterWindowsProfile_ARM) DeepCopy() *ManagedClusterWindowsPro
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -7559,11 +7559,6 @@ func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindows
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS_ARM) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_spec_arm_types_gen.go
index 8f008de2fa..bf9d7ec857 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_spec_arm_types_gen.go
@@ -279,6 +279,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// The Guardrails profile.
type GuardrailsProfile_ARM struct {
// ExcludedNamespaces: List of namespaces excluded from guardrails checks
@@ -552,6 +557,13 @@ const (
ManagedClusterIdentity_Type_UserAssigned = ManagedClusterIdentity_Type("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type
+var managedClusterIdentity_Type_Values = map[string]ManagedClusterIdentity_Type{
+ "none": ManagedClusterIdentity_Type_None,
+ "systemassigned": ManagedClusterIdentity_Type_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_UserAssigned,
+}
+
// Ingress profile for the container service cluster.
type ManagedClusterIngressProfile_ARM struct {
// WebAppRouting: Web App Routing settings for the ingress profile.
@@ -693,6 +705,11 @@ type ManagedClusterSKU_Name string
const ManagedClusterSKU_Name_Base = ManagedClusterSKU_Name("Base")
+// Mapping from string to ManagedClusterSKU_Name
+var managedClusterSKU_Name_Values = map[string]ManagedClusterSKU_Name{
+ "base": ManagedClusterSKU_Name_Base,
+}
+
// +kubebuilder:validation:Enum={"Free","Standard"}
type ManagedClusterSKU_Tier string
@@ -701,6 +718,12 @@ const (
ManagedClusterSKU_Tier_Standard = ManagedClusterSKU_Tier("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier
+var managedClusterSKU_Tier_Values = map[string]ManagedClusterSKU_Tier{
+ "free": ManagedClusterSKU_Tier_Free,
+ "standard": ManagedClusterSKU_Tier_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_status_arm_types_gen.go
index 9e387e1372..ac97422ab9 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_status_arm_types_gen.go
@@ -329,6 +329,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// The Guardrails profile.
type GuardrailsProfile_STATUS_ARM struct {
// ExcludedNamespaces: List of namespaces excluded from guardrails checks
@@ -639,6 +644,13 @@ const (
ManagedClusterIdentity_Type_STATUS_UserAssigned = ManagedClusterIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type_STATUS
+var managedClusterIdentity_Type_STATUS_Values = map[string]ManagedClusterIdentity_Type_STATUS{
+ "none": ManagedClusterIdentity_Type_STATUS_None,
+ "systemassigned": ManagedClusterIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_STATUS_UserAssigned,
+}
+
type ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -787,6 +799,11 @@ type ManagedClusterSKU_Name_STATUS string
const ManagedClusterSKU_Name_STATUS_Base = ManagedClusterSKU_Name_STATUS("Base")
+// Mapping from string to ManagedClusterSKU_Name_STATUS
+var managedClusterSKU_Name_STATUS_Values = map[string]ManagedClusterSKU_Name_STATUS{
+ "base": ManagedClusterSKU_Name_STATUS_Base,
+}
+
type ManagedClusterSKU_Tier_STATUS string
const (
@@ -794,6 +811,12 @@ const (
ManagedClusterSKU_Tier_STATUS_Standard = ManagedClusterSKU_Tier_STATUS("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier_STATUS
+var managedClusterSKU_Tier_STATUS_Values = map[string]ManagedClusterSKU_Tier_STATUS{
+ "free": ManagedClusterSKU_Tier_STATUS_Free,
+ "standard": ManagedClusterSKU_Tier_STATUS_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_STATUS_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
@@ -811,18 +834,6 @@ type ManagedClusterStorageProfile_STATUS_ARM struct {
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS_ARM struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -896,6 +907,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -905,6 +924,14 @@ const (
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
+
// Details about a user assigned identity.
type UserAssignedIdentity_STATUS_ARM struct {
// ClientId: The client ID of the user assigned identity.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_types_gen.go
index 07226c9128..e52468a95d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_cluster_types_gen.go
@@ -6,7 +6,7 @@ package v1api20230202preview
import (
"context"
"fmt"
- v20230202ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
@@ -55,7 +55,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20230202ps.ManagedCluster
+ var source storage.ManagedCluster
err := source.ConvertFrom(hub)
if err != nil {
@@ -73,7 +73,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20230202ps.ManagedCluster
+ var destination storage.ManagedCluster
err := cluster.AssignProperties_To_ManagedCluster(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from cluster")
@@ -121,6 +121,13 @@ func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ ge
}
}
}
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.Identity != nil {
+ if cluster.Status.Identity.PrincipalId != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId, *cluster.Status.Identity.PrincipalId)
+ }
+ }
+ }
result, err := collector.Values()
if err != nil {
return nil, err
@@ -272,6 +279,7 @@ func (cluster *ManagedCluster) validateConfigMapDestinations() (admission.Warnin
}
toValidate := []*genruntime.ConfigMapDestination{
cluster.Spec.OperatorSpec.ConfigMaps.OIDCIssuerProfile,
+ cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId,
}
return genruntime.ValidateConfigMapDestinations(toValidate)
}
@@ -316,7 +324,7 @@ func (cluster *ManagedCluster) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20230202ps.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -342,13 +350,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20230202ps.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20230202ps.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -356,7 +364,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20230202ps.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -1403,14 +1411,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230202ps.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20230202ps.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1427,14 +1435,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230202ps.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230202ps.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1450,7 +1458,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20230202ps.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// AadProfile
if source.AadProfile != nil {
@@ -1796,8 +1804,9 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -1906,13 +1915,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20230202ps.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20230202ps.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -1924,11 +1933,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20230202ps.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20230202ps.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -1942,11 +1951,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20230202ps.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20230202ps.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -1960,7 +1969,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20230202ps.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -1972,7 +1981,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20230202ps.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -1984,7 +1993,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20230202ps.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -1996,7 +2005,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20230202ps.ManagedClusterAzureMonitorProfile
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
@@ -2011,7 +2020,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// CreationData
if cluster.CreationData != nil {
- var creationDatum v20230202ps.CreationData
+ var creationDatum storage.CreationData
err := cluster.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -2066,7 +2075,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20230202ps.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -2081,7 +2090,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// GuardrailsProfile
if cluster.GuardrailsProfile != nil {
- var guardrailsProfile v20230202ps.GuardrailsProfile
+ var guardrailsProfile storage.GuardrailsProfile
err := cluster.GuardrailsProfile.AssignProperties_To_GuardrailsProfile(&guardrailsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_GuardrailsProfile() to populate field GuardrailsProfile")
@@ -2093,7 +2102,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20230202ps.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -2105,7 +2114,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20230202ps.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -2117,11 +2126,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20230202ps.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20230202ps.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -2135,7 +2144,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IngressProfile
if cluster.IngressProfile != nil {
- var ingressProfile v20230202ps.ManagedClusterIngressProfile
+ var ingressProfile storage.ManagedClusterIngressProfile
err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile(&ingressProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile() to populate field IngressProfile")
@@ -2150,7 +2159,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20230202ps.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -2165,7 +2174,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20230202ps.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -2180,7 +2189,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NodeResourceGroupProfile
if cluster.NodeResourceGroupProfile != nil {
- var nodeResourceGroupProfile v20230202ps.ManagedClusterNodeResourceGroupProfile
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile
err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile(&nodeResourceGroupProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile() to populate field NodeResourceGroupProfile")
@@ -2192,7 +2201,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20230202ps.ManagedClusterOIDCIssuerProfile
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
@@ -2204,7 +2213,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20230202ps.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -2227,7 +2236,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20230202ps.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -2239,11 +2248,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20230202ps.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20230202ps.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -2265,7 +2274,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20230202ps.ManagedClusterSecurityProfile
+ var securityProfile storage.ManagedClusterSecurityProfile
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
@@ -2277,7 +2286,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServiceMeshProfile
if cluster.ServiceMeshProfile != nil {
- var serviceMeshProfile v20230202ps.ServiceMeshProfile
+ var serviceMeshProfile storage.ServiceMeshProfile
err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile() to populate field ServiceMeshProfile")
@@ -2289,7 +2298,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20230202ps.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -2301,7 +2310,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20230202ps.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -2313,7 +2322,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20230202ps.ManagedClusterStorageProfile
+ var storageProfile storage.ManagedClusterStorageProfile
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
@@ -2328,7 +2337,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// UpgradeSettings
if cluster.UpgradeSettings != nil {
- var upgradeSetting v20230202ps.ClusterUpgradeSettings
+ var upgradeSetting storage.ClusterUpgradeSettings
err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings() to populate field UpgradeSettings")
@@ -2340,7 +2349,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20230202ps.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -2352,7 +2361,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20230202ps.ManagedClusterWorkloadAutoScalerProfile
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
@@ -2560,14 +2569,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230202ps.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230202ps.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2584,14 +2593,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230202ps.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230202ps.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -3213,7 +3222,7 @@ func (cluster *ManagedCluster_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20230202ps.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// AadProfile
if source.AadProfile != nil {
@@ -3570,8 +3579,9 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess_STATUS(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_STATUS_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -3695,13 +3705,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20230202ps.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20230202ps.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -3713,11 +3723,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20230202ps.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20230202ps.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -3731,11 +3741,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20230202ps.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20230202ps.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -3749,7 +3759,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20230202ps.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -3761,7 +3771,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20230202ps.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -3773,7 +3783,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20230202ps.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -3785,7 +3795,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20230202ps.ManagedClusterAzureMonitorProfile_STATUS
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
@@ -3803,7 +3813,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// CreationData
if cluster.CreationData != nil {
- var creationDatum v20230202ps.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := cluster.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -3856,7 +3866,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20230202ps.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -3874,7 +3884,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// GuardrailsProfile
if cluster.GuardrailsProfile != nil {
- var guardrailsProfile v20230202ps.GuardrailsProfile_STATUS
+ var guardrailsProfile storage.GuardrailsProfile_STATUS
err := cluster.GuardrailsProfile.AssignProperties_To_GuardrailsProfile_STATUS(&guardrailsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_GuardrailsProfile_STATUS() to populate field GuardrailsProfile")
@@ -3886,7 +3896,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20230202ps.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -3901,7 +3911,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20230202ps.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -3913,11 +3923,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20230202ps.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20230202ps.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -3931,7 +3941,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IngressProfile
if cluster.IngressProfile != nil {
- var ingressProfile v20230202ps.ManagedClusterIngressProfile_STATUS
+ var ingressProfile storage.ManagedClusterIngressProfile_STATUS
err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile_STATUS(&ingressProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile_STATUS() to populate field IngressProfile")
@@ -3946,7 +3956,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20230202ps.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -3967,7 +3977,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20230202ps.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -3982,7 +3992,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NodeResourceGroupProfile
if cluster.NodeResourceGroupProfile != nil {
- var nodeResourceGroupProfile v20230202ps.ManagedClusterNodeResourceGroupProfile_STATUS
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile_STATUS
err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(&nodeResourceGroupProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS() to populate field NodeResourceGroupProfile")
@@ -3994,7 +4004,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20230202ps.ManagedClusterOIDCIssuerProfile_STATUS
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
@@ -4006,7 +4016,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20230202ps.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -4018,7 +4028,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20230202ps.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -4033,11 +4043,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20230202ps.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20230202ps.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -4062,7 +4072,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20230202ps.ManagedClusterSecurityProfile_STATUS
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -4074,7 +4084,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServiceMeshProfile
if cluster.ServiceMeshProfile != nil {
- var serviceMeshProfile v20230202ps.ServiceMeshProfile_STATUS
+ var serviceMeshProfile storage.ServiceMeshProfile_STATUS
err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile_STATUS(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
@@ -4086,7 +4096,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20230202ps.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -4098,7 +4108,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20230202ps.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -4110,7 +4120,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20230202ps.ManagedClusterStorageProfile_STATUS
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
@@ -4122,7 +4132,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SystemData
if cluster.SystemData != nil {
- var systemDatum v20230202ps.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -4140,7 +4150,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// UpgradeSettings
if cluster.UpgradeSettings != nil {
- var upgradeSetting v20230202ps.ClusterUpgradeSettings_STATUS
+ var upgradeSetting storage.ClusterUpgradeSettings_STATUS
err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -4152,7 +4162,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20230202ps.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -4164,7 +4174,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20230202ps.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
@@ -4240,7 +4250,7 @@ func (settings *ClusterUpgradeSettings) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ClusterUpgradeSettings populates our ClusterUpgradeSettings from the provided source ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *v20230202ps.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *storage.ClusterUpgradeSettings) error {
// OverrideSettings
if source.OverrideSettings != nil {
@@ -4259,13 +4269,13 @@ func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSett
}
// AssignProperties_To_ClusterUpgradeSettings populates the provided destination ClusterUpgradeSettings from our ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *v20230202ps.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *storage.ClusterUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20230202ps.UpgradeOverrideSettings
+ var overrideSetting storage.UpgradeOverrideSettings
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings() to populate field OverrideSettings")
@@ -4322,7 +4332,7 @@ func (settings *ClusterUpgradeSettings_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ClusterUpgradeSettings_STATUS populates our ClusterUpgradeSettings_STATUS from the provided source ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *v20230202ps.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *storage.ClusterUpgradeSettings_STATUS) error {
// OverrideSettings
if source.OverrideSettings != nil {
@@ -4341,13 +4351,13 @@ func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgr
}
// AssignProperties_To_ClusterUpgradeSettings_STATUS populates the provided destination ClusterUpgradeSettings_STATUS from our ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *v20230202ps.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *storage.ClusterUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20230202ps.UpgradeOverrideSettings_STATUS
+ var overrideSetting storage.UpgradeOverrideSettings_STATUS
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings_STATUS(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
@@ -4441,7 +4451,7 @@ func (profile *ContainerServiceLinuxProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20230202ps.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// AdminUsername
if source.AdminUsername != nil {
@@ -4468,7 +4478,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20230202ps.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4482,7 +4492,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20230202ps.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -4548,7 +4558,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20230202ps.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -4570,7 +4580,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20230202ps.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4579,7 +4589,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20230202ps.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -4922,7 +4932,7 @@ func (profile *ContainerServiceNetworkProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20230202ps.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// DnsServiceIP
if source.DnsServiceIP != nil {
@@ -4946,7 +4956,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = ContainerServiceNetworkProfile_IpFamilies(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, containerServiceNetworkProfile_IpFamilies_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -4979,8 +4989,9 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := LoadBalancerSku(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, loadBalancerSku_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -4999,48 +5010,54 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := NetworkDataplane(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, networkDataplane_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := NetworkMode(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, networkMode_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := NetworkPlugin(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := NetworkPluginMode(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, networkPluginMode_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := NetworkPolicy(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, networkPolicy_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -5072,7 +5089,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20230202ps.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5107,7 +5124,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// KubeProxyConfig
if profile.KubeProxyConfig != nil {
- var kubeProxyConfig v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig
err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(&kubeProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig() to populate field KubeProxyConfig")
@@ -5119,7 +5136,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20230202ps.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -5139,7 +5156,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20230202ps.ManagedClusterNATGatewayProfile
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
@@ -5428,7 +5445,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20230202ps.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// DnsServiceIP
profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
@@ -5442,7 +5459,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = ContainerServiceNetworkProfile_IpFamilies_STATUS(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, containerServiceNetworkProfile_IpFamilies_STATUS_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -5475,8 +5492,9 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := LoadBalancerSku_STATUS(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, loadBalancerSku_STATUS_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -5495,48 +5513,54 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := NetworkDataplane_STATUS(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, networkDataplane_STATUS_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := NetworkMode_STATUS(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, networkMode_STATUS_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := NetworkPlugin_STATUS(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_STATUS_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := NetworkPluginMode_STATUS(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, networkPluginMode_STATUS_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := NetworkPolicy_STATUS(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, networkPolicy_STATUS_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType_STATUS(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_STATUS_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -5558,7 +5582,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20230202ps.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5583,7 +5607,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// KubeProxyConfig
if profile.KubeProxyConfig != nil {
- var kubeProxyConfig v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(&kubeProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS() to populate field KubeProxyConfig")
@@ -5595,7 +5619,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20230202ps.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -5615,7 +5639,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20230202ps.ManagedClusterNATGatewayProfile_STATUS
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
@@ -5742,7 +5766,7 @@ func (data *CreationData) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
-func (data *CreationData) AssignProperties_From_CreationData(source *v20230202ps.CreationData) error {
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
// SourceResourceReference
if source.SourceResourceReference != nil {
@@ -5757,7 +5781,7 @@ func (data *CreationData) AssignProperties_From_CreationData(source *v20230202ps
}
// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
-func (data *CreationData) AssignProperties_To_CreationData(destination *v20230202ps.CreationData) error {
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5811,7 +5835,7 @@ func (data *CreationData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *v20230202ps.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
// SourceResourceId
data.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
@@ -5821,7 +5845,7 @@ func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(sourc
}
// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *v20230202ps.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5900,15 +5924,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20230202ps.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -5918,7 +5943,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20230202ps.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5984,15 +6009,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20230202ps.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -6002,7 +6028,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20230202ps.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6105,15 +6131,16 @@ func (profile *GuardrailsProfile) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_GuardrailsProfile populates our GuardrailsProfile from the provided source GuardrailsProfile
-func (profile *GuardrailsProfile) AssignProperties_From_GuardrailsProfile(source *v20230202ps.GuardrailsProfile) error {
+func (profile *GuardrailsProfile) AssignProperties_From_GuardrailsProfile(source *storage.GuardrailsProfile) error {
// ExcludedNamespaces
profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
// Level
if source.Level != nil {
- level := GuardrailsProfile_Level(*source.Level)
- profile.Level = &level
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, guardrailsProfile_Level_Values)
+ profile.Level = &levelTemp
} else {
profile.Level = nil
}
@@ -6126,7 +6153,7 @@ func (profile *GuardrailsProfile) AssignProperties_From_GuardrailsProfile(source
}
// AssignProperties_To_GuardrailsProfile populates the provided destination GuardrailsProfile from our GuardrailsProfile
-func (profile *GuardrailsProfile) AssignProperties_To_GuardrailsProfile(destination *v20230202ps.GuardrailsProfile) error {
+func (profile *GuardrailsProfile) AssignProperties_To_GuardrailsProfile(destination *storage.GuardrailsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6212,15 +6239,16 @@ func (profile *GuardrailsProfile_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_GuardrailsProfile_STATUS populates our GuardrailsProfile_STATUS from the provided source GuardrailsProfile_STATUS
-func (profile *GuardrailsProfile_STATUS) AssignProperties_From_GuardrailsProfile_STATUS(source *v20230202ps.GuardrailsProfile_STATUS) error {
+func (profile *GuardrailsProfile_STATUS) AssignProperties_From_GuardrailsProfile_STATUS(source *storage.GuardrailsProfile_STATUS) error {
// ExcludedNamespaces
profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
// Level
if source.Level != nil {
- level := GuardrailsProfile_Level_STATUS(*source.Level)
- profile.Level = &level
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, guardrailsProfile_Level_STATUS_Values)
+ profile.Level = &levelTemp
} else {
profile.Level = nil
}
@@ -6236,7 +6264,7 @@ func (profile *GuardrailsProfile_STATUS) AssignProperties_From_GuardrailsProfile
}
// AssignProperties_To_GuardrailsProfile_STATUS populates the provided destination GuardrailsProfile_STATUS from our GuardrailsProfile_STATUS
-func (profile *GuardrailsProfile_STATUS) AssignProperties_To_GuardrailsProfile_STATUS(destination *v20230202ps.GuardrailsProfile_STATUS) error {
+func (profile *GuardrailsProfile_STATUS) AssignProperties_To_GuardrailsProfile_STATUS(destination *storage.GuardrailsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6403,7 +6431,7 @@ func (profile *ManagedClusterAADProfile) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20230202ps.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -6441,7 +6469,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20230202ps.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6572,7 +6600,7 @@ func (profile *ManagedClusterAADProfile_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20230202ps.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -6610,7 +6638,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20230202ps.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6722,7 +6750,7 @@ func (profile *ManagedClusterAddonProfile) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20230202ps.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -6740,7 +6768,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20230202ps.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6822,7 +6850,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20230202ps.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -6852,7 +6880,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20230202ps.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6869,7 +6897,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20230202ps.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -7698,7 +7726,7 @@ func (profile *ManagedClusterAgentPoolProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20230202ps.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -7771,8 +7799,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -7799,8 +7828,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -7831,8 +7861,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -7884,24 +7915,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -7936,24 +7970,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -7971,8 +8008,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -8014,8 +8052,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -8025,7 +8064,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20230202ps.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8040,7 +8079,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// CreationData
if profile.CreationData != nil {
- var creationDatum v20230202ps.CreationData
+ var creationDatum storage.CreationData
err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -8116,7 +8155,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20230202ps.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -8136,7 +8175,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20230202ps.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -8176,7 +8215,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// NetworkProfile
if profile.NetworkProfile != nil {
- var networkProfile v20230202ps.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
@@ -8245,7 +8284,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// PowerState
if profile.PowerState != nil {
- var powerState v20230202ps.PowerState
+ var powerState storage.PowerState
err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -8308,7 +8347,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20230202ps.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -8331,7 +8370,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// WindowsProfile
if profile.WindowsProfile != nil {
- var windowsProfile v20230202ps.AgentPoolWindowsProfile
+ var windowsProfile storage.AgentPoolWindowsProfile
err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
@@ -8882,7 +8921,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20230202ps.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -8958,8 +8997,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -8981,8 +9021,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -9013,8 +9054,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -9054,24 +9096,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -9099,24 +9144,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -9134,8 +9182,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Type
if source.Type != nil {
- typeVar := AgentPoolType_STATUS(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_STATUS_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -9172,8 +9221,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -9183,7 +9233,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20230202ps.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9198,7 +9248,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// CreationData
if profile.CreationData != nil {
- var creationDatum v20230202ps.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -9272,7 +9322,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20230202ps.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -9292,7 +9342,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20230202ps.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -9327,7 +9377,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// NetworkProfile
if profile.NetworkProfile != nil {
- var networkProfile v20230202ps.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -9384,7 +9434,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20230202ps.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -9445,7 +9495,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20230202ps.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -9463,7 +9513,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// WindowsProfile
if profile.WindowsProfile != nil {
- var windowsProfile v20230202ps.AgentPoolWindowsProfile_STATUS
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -9632,7 +9682,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20230202ps.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -9680,7 +9730,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20230202ps.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9826,7 +9876,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20230202ps.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -9874,7 +9924,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20230202ps.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9992,20 +10042,22 @@ func (profile *ManagedClusterAutoUpgradeProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20230202ps.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel(*source.NodeOSUpgradeChannel)
- profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
} else {
profile.NodeOSUpgradeChannel = nil
}
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -10015,7 +10067,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20230202ps.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10087,20 +10139,22 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20230202ps.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS(*source.NodeOSUpgradeChannel)
- profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
} else {
profile.NodeOSUpgradeChannel = nil
}
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -10110,7 +10164,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20230202ps.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10196,7 +10250,7 @@ func (profile *ManagedClusterAzureMonitorProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *v20230202ps.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
// Metrics
if source.Metrics != nil {
@@ -10215,13 +10269,13 @@ func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *v20230202ps.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Metrics
if profile.Metrics != nil {
- var metric v20230202ps.ManagedClusterAzureMonitorProfileMetrics
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
@@ -10278,7 +10332,7 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *v20230202ps.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Metrics
if source.Metrics != nil {
@@ -10297,13 +10351,13 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *v20230202ps.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Metrics
if profile.Metrics != nil {
- var metric v20230202ps.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
@@ -10413,7 +10467,7 @@ func (config *ManagedClusterHTTPProxyConfig) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20230202ps.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -10432,7 +10486,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20230202ps.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10525,7 +10579,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20230202ps.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// EffectiveNoProxy
config.EffectiveNoProxy = genruntime.CloneSliceOfString(source.EffectiveNoProxy)
@@ -10547,7 +10601,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20230202ps.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10641,12 +10695,13 @@ func (identity *ManagedClusterIdentity) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20230202ps.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -10674,7 +10729,7 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20230202ps.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10688,11 +10743,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230202ps.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230202ps.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -10782,7 +10837,7 @@ func (identity *ManagedClusterIdentity_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20230202ps.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// PrincipalId
identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
@@ -10792,8 +10847,9 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -10821,7 +10877,7 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20230202ps.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10841,11 +10897,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20230202ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20230202ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -10923,7 +10979,7 @@ func (profile *ManagedClusterIngressProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterIngressProfile populates our ManagedClusterIngressProfile from the provided source ManagedClusterIngressProfile
-func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedClusterIngressProfile(source *v20230202ps.ManagedClusterIngressProfile) error {
+func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedClusterIngressProfile(source *storage.ManagedClusterIngressProfile) error {
// WebAppRouting
if source.WebAppRouting != nil {
@@ -10942,13 +10998,13 @@ func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterIngressProfile populates the provided destination ManagedClusterIngressProfile from our ManagedClusterIngressProfile
-func (profile *ManagedClusterIngressProfile) AssignProperties_To_ManagedClusterIngressProfile(destination *v20230202ps.ManagedClusterIngressProfile) error {
+func (profile *ManagedClusterIngressProfile) AssignProperties_To_ManagedClusterIngressProfile(destination *storage.ManagedClusterIngressProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// WebAppRouting
if profile.WebAppRouting != nil {
- var webAppRouting v20230202ps.ManagedClusterIngressProfileWebAppRouting
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting
err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(&webAppRouting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting() to populate field WebAppRouting")
@@ -11005,7 +11061,7 @@ func (profile *ManagedClusterIngressProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterIngressProfile_STATUS populates our ManagedClusterIngressProfile_STATUS from the provided source ManagedClusterIngressProfile_STATUS
-func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_ManagedClusterIngressProfile_STATUS(source *v20230202ps.ManagedClusterIngressProfile_STATUS) error {
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_ManagedClusterIngressProfile_STATUS(source *storage.ManagedClusterIngressProfile_STATUS) error {
// WebAppRouting
if source.WebAppRouting != nil {
@@ -11024,13 +11080,13 @@ func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterIngressProfile_STATUS populates the provided destination ManagedClusterIngressProfile_STATUS from our ManagedClusterIngressProfile_STATUS
-func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_To_ManagedClusterIngressProfile_STATUS(destination *v20230202ps.ManagedClusterIngressProfile_STATUS) error {
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_To_ManagedClusterIngressProfile_STATUS(destination *storage.ManagedClusterIngressProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// WebAppRouting
if profile.WebAppRouting != nil {
- var webAppRouting v20230202ps.ManagedClusterIngressProfileWebAppRouting_STATUS
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting_STATUS
err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(&webAppRouting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS() to populate field WebAppRouting")
@@ -11097,12 +11153,13 @@ func (profile *ManagedClusterNodeResourceGroupProfile) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterNodeResourceGroupProfile populates our ManagedClusterNodeResourceGroupProfile from the provided source ManagedClusterNodeResourceGroupProfile
-func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source *v20230202ps.ManagedClusterNodeResourceGroupProfile) error {
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source *storage.ManagedClusterNodeResourceGroupProfile) error {
// RestrictionLevel
if source.RestrictionLevel != nil {
- restrictionLevel := ManagedClusterNodeResourceGroupProfile_RestrictionLevel(*source.RestrictionLevel)
- profile.RestrictionLevel = &restrictionLevel
+ restrictionLevel := *source.RestrictionLevel
+ restrictionLevelTemp := genruntime.ToEnum(restrictionLevel, managedClusterNodeResourceGroupProfile_RestrictionLevel_Values)
+ profile.RestrictionLevel = &restrictionLevelTemp
} else {
profile.RestrictionLevel = nil
}
@@ -11112,7 +11169,7 @@ func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNodeResourceGroupProfile populates the provided destination ManagedClusterNodeResourceGroupProfile from our ManagedClusterNodeResourceGroupProfile
-func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_To_ManagedClusterNodeResourceGroupProfile(destination *v20230202ps.ManagedClusterNodeResourceGroupProfile) error {
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_To_ManagedClusterNodeResourceGroupProfile(destination *storage.ManagedClusterNodeResourceGroupProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11166,12 +11223,13 @@ func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS populates our ManagedClusterNodeResourceGroupProfile_STATUS from the provided source ManagedClusterNodeResourceGroupProfile_STATUS
-func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source *v20230202ps.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
// RestrictionLevel
if source.RestrictionLevel != nil {
- restrictionLevel := ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS(*source.RestrictionLevel)
- profile.RestrictionLevel = &restrictionLevel
+ restrictionLevel := *source.RestrictionLevel
+ restrictionLevelTemp := genruntime.ToEnum(restrictionLevel, managedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Values)
+ profile.RestrictionLevel = &restrictionLevelTemp
} else {
profile.RestrictionLevel = nil
}
@@ -11181,7 +11239,7 @@ func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS populates the provided destination ManagedClusterNodeResourceGroupProfile_STATUS from our ManagedClusterNodeResourceGroupProfile_STATUS
-func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(destination *v20230202ps.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(destination *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11250,7 +11308,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *v20230202ps.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
// Enabled
if source.Enabled != nil {
@@ -11265,7 +11323,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *v20230202ps.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11328,7 +11386,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *v20230202ps.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -11346,7 +11404,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *v20230202ps.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11382,7 +11440,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20230202ps.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// ConfigMaps
if source.ConfigMaps != nil {
@@ -11413,13 +11471,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20230202ps.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ConfigMaps
if operator.ConfigMaps != nil {
- var configMap v20230202ps.ManagedClusterOperatorConfigMaps
+ var configMap storage.ManagedClusterOperatorConfigMaps
err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
@@ -11431,7 +11489,7 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOp
// Secrets
if operator.Secrets != nil {
- var secret v20230202ps.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -11561,7 +11619,7 @@ func (profile *ManagedClusterPodIdentityProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20230202ps.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -11620,7 +11678,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20230202ps.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11642,11 +11700,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230202ps.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230202ps.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -11660,11 +11718,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20230202ps.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20230202ps.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -11757,7 +11815,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20230202ps.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -11816,7 +11874,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20230202ps.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11838,11 +11896,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20230202ps.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20230202ps.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -11856,11 +11914,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20230202ps.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20230202ps.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -12178,15 +12236,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20230202ps.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -12241,7 +12300,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20230202ps.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12496,15 +12555,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) PopulateFromAR
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20230202ps.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander_STATUS(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -12559,7 +12619,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20230202ps.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12639,6 +12699,13 @@ const (
ManagedClusterProperties_PublicNetworkAccess_SecuredByPerimeter = ManagedClusterProperties_PublicNetworkAccess("SecuredByPerimeter")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess
+var managedClusterProperties_PublicNetworkAccess_Values = map[string]ManagedClusterProperties_PublicNetworkAccess{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_Enabled,
+ "securedbyperimeter": ManagedClusterProperties_PublicNetworkAccess_SecuredByPerimeter,
+}
+
type ManagedClusterProperties_PublicNetworkAccess_STATUS string
const (
@@ -12647,6 +12714,13 @@ const (
ManagedClusterProperties_PublicNetworkAccess_STATUS_SecuredByPerimeter = ManagedClusterProperties_PublicNetworkAccess_STATUS("SecuredByPerimeter")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess_STATUS
+var managedClusterProperties_PublicNetworkAccess_STATUS_Values = map[string]ManagedClusterProperties_PublicNetworkAccess_STATUS{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled,
+ "securedbyperimeter": ManagedClusterProperties_PublicNetworkAccess_STATUS_SecuredByPerimeter,
+}
+
// Security profile for the container service cluster.
type ManagedClusterSecurityProfile struct {
// AzureKeyVaultKms: Azure Key Vault [key management
@@ -12813,7 +12887,7 @@ func (profile *ManagedClusterSecurityProfile) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *v20230202ps.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -12883,13 +12957,13 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *v20230202ps.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20230202ps.AzureKeyVaultKms
+ var azureKeyVaultKm storage.AzureKeyVaultKms
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
@@ -12904,7 +12978,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// Defender
if profile.Defender != nil {
- var defender v20230202ps.ManagedClusterSecurityProfileDefender
+ var defender storage.ManagedClusterSecurityProfileDefender
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
@@ -12916,7 +12990,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20230202ps.ManagedClusterSecurityProfileImageCleaner
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
@@ -12928,7 +13002,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// NodeRestriction
if profile.NodeRestriction != nil {
- var nodeRestriction v20230202ps.ManagedClusterSecurityProfileNodeRestriction
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction
err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(&nodeRestriction)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction() to populate field NodeRestriction")
@@ -12940,7 +13014,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20230202ps.ManagedClusterSecurityProfileWorkloadIdentity
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
@@ -13067,7 +13141,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *v20230202ps.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -13137,13 +13211,13 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *v20230202ps.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20230202ps.AzureKeyVaultKms_STATUS
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
@@ -13158,7 +13232,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// Defender
if profile.Defender != nil {
- var defender v20230202ps.ManagedClusterSecurityProfileDefender_STATUS
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
@@ -13170,7 +13244,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20230202ps.ManagedClusterSecurityProfileImageCleaner_STATUS
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
@@ -13182,7 +13256,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// NodeRestriction
if profile.NodeRestriction != nil {
- var nodeRestriction v20230202ps.ManagedClusterSecurityProfileNodeRestriction_STATUS
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction_STATUS
err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(&nodeRestriction)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS() to populate field NodeRestriction")
@@ -13194,7 +13268,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20230202ps.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
@@ -13277,7 +13351,7 @@ func (profile *ManagedClusterServicePrincipalProfile) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20230202ps.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -13295,7 +13369,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20230202ps.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13352,7 +13426,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20230202ps.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -13362,7 +13436,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20230202ps.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13442,20 +13516,22 @@ func (clusterSKU *ManagedClusterSKU) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20230202ps.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -13465,7 +13541,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20230202ps.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13537,20 +13613,22 @@ func (clusterSKU *ManagedClusterSKU_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20230202ps.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name_STATUS(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_STATUS_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier_STATUS(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_STATUS_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -13560,7 +13638,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20230202ps.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13718,7 +13796,7 @@ func (profile *ManagedClusterStorageProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *v20230202ps.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -13773,13 +13851,13 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *v20230202ps.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20230202ps.ManagedClusterStorageProfileBlobCSIDriver
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
@@ -13791,7 +13869,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20230202ps.ManagedClusterStorageProfileDiskCSIDriver
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
@@ -13803,7 +13881,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20230202ps.ManagedClusterStorageProfileFileCSIDriver
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
@@ -13815,7 +13893,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20230202ps.ManagedClusterStorageProfileSnapshotController
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
@@ -13914,7 +13992,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *v20230202ps.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -13969,13 +14047,13 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *v20230202ps.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20230202ps.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
@@ -13987,7 +14065,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20230202ps.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
@@ -13999,7 +14077,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20230202ps.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
@@ -14011,7 +14089,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20230202ps.ManagedClusterStorageProfileSnapshotController_STATUS
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
@@ -14044,7 +14122,7 @@ type ManagedClusterWindowsProfile struct {
// Has a special character (Regex match [\W_])
// Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
// "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
// +kubebuilder:validation:Required
// AdminUsername: Specifies the name of the administrator account.
@@ -14079,7 +14157,11 @@ func (profile *ManagedClusterWindowsProfile) ConvertToARM(resolved genruntime.Co
// Set property "AdminPassword":
if profile.AdminPassword != nil {
- adminPassword := *profile.AdminPassword
+ adminPasswordSecret, err := resolved.ResolvedSecrets.Lookup(*profile.AdminPassword)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property AdminPassword")
+ }
+ adminPassword := adminPasswordSecret
result.AdminPassword = &adminPassword
}
@@ -14125,11 +14207,7 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
+ // no assignment for property "AdminPassword"
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
@@ -14165,10 +14243,15 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20230202ps.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -14195,8 +14278,9 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -14206,12 +14290,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20230202ps.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -14226,7 +14315,7 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20230202ps.WindowsGmsaProfile
+ var gmsaProfile storage.WindowsGmsaProfile
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
@@ -14257,18 +14346,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -14304,12 +14381,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_STATUS_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
-
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
adminUsername := *typedInput.AdminUsername
@@ -14344,10 +14415,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20230202ps.ManagedClusterWindowsProfile_STATUS) error {
-
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -14374,8 +14442,9 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType_STATUS(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_STATUS_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -14385,13 +14454,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20230202ps.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -14405,7 +14471,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20230202ps.WindowsGmsaProfile_STATUS
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
@@ -14511,7 +14577,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *v20230202ps.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Keda
if source.Keda != nil {
@@ -14542,13 +14608,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *v20230202ps.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20230202ps.ManagedClusterWorkloadAutoScalerProfileKeda
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
@@ -14560,7 +14626,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_Mana
// VerticalPodAutoscaler
if profile.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20230202ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
@@ -14629,7 +14695,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *v20230202ps.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Keda
if source.Keda != nil {
@@ -14660,13 +14726,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *v20230202ps.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20230202ps.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
@@ -14678,7 +14744,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
// VerticalPodAutoscaler
if profile.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20230202ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
@@ -14730,12 +14796,13 @@ func (state *PowerState_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20230202ps.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Code
if source.Code != nil {
- code := PowerState_Code_STATUS(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_STATUS_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -14745,7 +14812,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20230202ps.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14872,7 +14939,7 @@ func (resource *PrivateLinkResource) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20230202ps.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -14899,7 +14966,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20230202ps.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15009,7 +15076,7 @@ func (resource *PrivateLinkResource_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20230202ps.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -15034,7 +15101,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20230202ps.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15138,7 +15205,7 @@ func (profile *ServiceMeshProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_ServiceMeshProfile populates our ServiceMeshProfile from the provided source ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *v20230202ps.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *storage.ServiceMeshProfile) error {
// Istio
if source.Istio != nil {
@@ -15154,8 +15221,9 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -15165,13 +15233,13 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
}
// AssignProperties_To_ServiceMeshProfile populates the provided destination ServiceMeshProfile from our ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *v20230202ps.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *storage.ServiceMeshProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Istio
if profile.Istio != nil {
- var istio v20230202ps.IstioServiceMesh
+ var istio storage.IstioServiceMesh
err := profile.Istio.AssignProperties_To_IstioServiceMesh(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh() to populate field Istio")
@@ -15245,7 +15313,7 @@ func (profile *ServiceMeshProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_ServiceMeshProfile_STATUS populates our ServiceMeshProfile_STATUS from the provided source ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *v20230202ps.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *storage.ServiceMeshProfile_STATUS) error {
// Istio
if source.Istio != nil {
@@ -15261,8 +15329,9 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -15272,13 +15341,13 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
}
// AssignProperties_To_ServiceMeshProfile_STATUS populates the provided destination ServiceMeshProfile_STATUS from our ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *v20230202ps.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *storage.ServiceMeshProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Istio
if profile.Istio != nil {
- var istio v20230202ps.IstioServiceMesh_STATUS
+ var istio storage.IstioServiceMesh_STATUS
err := profile.Istio.AssignProperties_To_IstioServiceMesh_STATUS(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh_STATUS() to populate field Istio")
@@ -15383,7 +15452,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20230202ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -15393,8 +15462,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -15407,8 +15477,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -15418,7 +15489,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20230202ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15537,7 +15608,7 @@ func (identity *UserAssignedIdentity) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20230202ps.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -15558,7 +15629,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20230202ps.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15636,7 +15707,7 @@ func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20230202ps.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -15652,7 +15723,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20230202ps.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15773,7 +15844,7 @@ func (vaultKms *AzureKeyVaultKms) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *v20230202ps.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
// Enabled
if source.Enabled != nil {
@@ -15788,8 +15859,9 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -15807,7 +15879,7 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
}
// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *v20230202ps.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15913,7 +15985,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *v20230202ps.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -15928,8 +16000,9 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -15942,7 +16015,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
}
// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *v20230202ps.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15987,6 +16060,12 @@ const (
ContainerServiceNetworkProfile_IpFamilies_IPv6 = ContainerServiceNetworkProfile_IpFamilies("IPv6")
)
+// Mapping from string to ContainerServiceNetworkProfile_IpFamilies
+var containerServiceNetworkProfile_IpFamilies_Values = map[string]ContainerServiceNetworkProfile_IpFamilies{
+ "ipv4": ContainerServiceNetworkProfile_IpFamilies_IPv4,
+ "ipv6": ContainerServiceNetworkProfile_IpFamilies_IPv6,
+}
+
type ContainerServiceNetworkProfile_IpFamilies_STATUS string
const (
@@ -15994,6 +16073,12 @@ const (
ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv6 = ContainerServiceNetworkProfile_IpFamilies_STATUS("IPv6")
)
+// Mapping from string to ContainerServiceNetworkProfile_IpFamilies_STATUS
+var containerServiceNetworkProfile_IpFamilies_STATUS_Values = map[string]ContainerServiceNetworkProfile_IpFamilies_STATUS{
+ "ipv4": ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv4,
+ "ipv6": ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv6,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig struct {
// Enabled: Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by
// default without these customizations).
@@ -16079,7 +16164,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
// Enabled
if source.Enabled != nil {
@@ -16103,8 +16188,9 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_F
// Mode
if source.Mode != nil {
- mode := ContainerServiceNetworkProfile_KubeProxyConfig_Mode(*source.Mode)
- config.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, containerServiceNetworkProfile_KubeProxyConfig_Mode_Values)
+ config.Mode = &modeTemp
} else {
config.Mode = nil
}
@@ -16114,7 +16200,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_F
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig from our ContainerServiceNetworkProfile_KubeProxyConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(destination *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16128,7 +16214,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_T
// IpvsConfig
if config.IpvsConfig != nil {
- var ipvsConfig v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(&ipvsConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig() to populate field IpvsConfig")
@@ -16211,7 +16297,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) PopulateFro
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16235,8 +16321,9 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignPrope
// Mode
if source.Mode != nil {
- mode := ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS(*source.Mode)
- config.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, containerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_Values)
+ config.Mode = &modeTemp
} else {
config.Mode = nil
}
@@ -16246,7 +16333,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignPrope
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(destination *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16260,7 +16347,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignPrope
// IpvsConfig
if config.IpvsConfig != nil {
- var ipvsConfig v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(&ipvsConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS() to populate field IpvsConfig")
@@ -16299,6 +16386,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType
+var containerServiceNetworkProfile_OutboundType_Values = map[string]ContainerServiceNetworkProfile_OutboundType{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting,
+}
+
type ContainerServiceNetworkProfile_OutboundType_STATUS string
const (
@@ -16308,6 +16403,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType_STATUS("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType_STATUS
+var containerServiceNetworkProfile_OutboundType_STATUS_Values = map[string]ContainerServiceNetworkProfile_OutboundType_STATUS{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting,
+}
+
// SSH configuration for Linux-based VMs running on Azure.
type ContainerServiceSshConfiguration struct {
// +kubebuilder:validation:Required
@@ -16362,7 +16465,7 @@ func (configuration *ContainerServiceSshConfiguration) PopulateFromARM(owner gen
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20230202ps.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -16387,17 +16490,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20230202ps.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20230202ps.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20230202ps.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -16455,7 +16558,7 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20230202ps.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -16480,17 +16583,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20230202ps.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20230202ps.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20230202ps.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -16522,6 +16625,13 @@ const (
GuardrailsProfile_Level_Warning = GuardrailsProfile_Level("Warning")
)
+// Mapping from string to GuardrailsProfile_Level
+var guardrailsProfile_Level_Values = map[string]GuardrailsProfile_Level{
+ "enforcement": GuardrailsProfile_Level_Enforcement,
+ "off": GuardrailsProfile_Level_Off,
+ "warning": GuardrailsProfile_Level_Warning,
+}
+
type GuardrailsProfile_Level_STATUS string
const (
@@ -16530,6 +16640,13 @@ const (
GuardrailsProfile_Level_STATUS_Warning = GuardrailsProfile_Level_STATUS("Warning")
)
+// Mapping from string to GuardrailsProfile_Level_STATUS
+var guardrailsProfile_Level_STATUS_Values = map[string]GuardrailsProfile_Level_STATUS{
+ "enforcement": GuardrailsProfile_Level_STATUS_Enforcement,
+ "off": GuardrailsProfile_Level_STATUS_Off,
+ "warning": GuardrailsProfile_Level_STATUS_Warning,
+}
+
// Istio service mesh configuration.
type IstioServiceMesh struct {
// Components: Istio components configuration.
@@ -16585,7 +16702,7 @@ func (mesh *IstioServiceMesh) PopulateFromARM(owner genruntime.ArbitraryOwnerRef
}
// AssignProperties_From_IstioServiceMesh populates our IstioServiceMesh from the provided source IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20230202ps.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *storage.IstioServiceMesh) error {
// Components
if source.Components != nil {
@@ -16604,13 +16721,13 @@ func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20
}
// AssignProperties_To_IstioServiceMesh populates the provided destination IstioServiceMesh from our IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *v20230202ps.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *storage.IstioServiceMesh) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Components
if mesh.Components != nil {
- var component v20230202ps.IstioComponents
+ var component storage.IstioComponents
err := mesh.Components.AssignProperties_To_IstioComponents(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents() to populate field Components")
@@ -16667,7 +16784,7 @@ func (mesh *IstioServiceMesh_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_IstioServiceMesh_STATUS populates our IstioServiceMesh_STATUS from the provided source IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *v20230202ps.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *storage.IstioServiceMesh_STATUS) error {
// Components
if source.Components != nil {
@@ -16686,13 +16803,13 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STAT
}
// AssignProperties_To_IstioServiceMesh_STATUS populates the provided destination IstioServiceMesh_STATUS from our IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *v20230202ps.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *storage.IstioServiceMesh_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Components
if mesh.Components != nil {
- var component v20230202ps.IstioComponents_STATUS
+ var component storage.IstioComponents_STATUS
err := mesh.Components.AssignProperties_To_IstioComponents_STATUS(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents_STATUS() to populate field Components")
@@ -16723,6 +16840,12 @@ const (
LoadBalancerSku_Standard = LoadBalancerSku("standard")
)
+// Mapping from string to LoadBalancerSku
+var loadBalancerSku_Values = map[string]LoadBalancerSku{
+ "basic": LoadBalancerSku_Basic,
+ "standard": LoadBalancerSku_Standard,
+}
+
// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more
// information about the differences between load balancer SKUs.
type LoadBalancerSku_STATUS string
@@ -16732,6 +16855,12 @@ const (
LoadBalancerSku_STATUS_Standard = LoadBalancerSku_STATUS("standard")
)
+// Mapping from string to LoadBalancerSku_STATUS
+var loadBalancerSku_STATUS_Values = map[string]LoadBalancerSku_STATUS{
+ "basic": LoadBalancerSku_STATUS_Basic,
+ "standard": LoadBalancerSku_STATUS_Standard,
+}
+
// +kubebuilder:validation:Enum={"NodeImage","None","SecurityPatch","Unmanaged"}
type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel string
@@ -16742,6 +16871,14 @@ const (
ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("Unmanaged")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_None,
+ "securitypatch": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_SecurityPatch,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged,
+}
+
type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS string
const (
@@ -16751,6 +16888,14 @@ const (
ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("Unmanaged")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_None,
+ "securitypatch": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_SecurityPatch,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged,
+}
+
// +kubebuilder:validation:Enum={"node-image","none","patch","rapid","stable"}
type ManagedClusterAutoUpgradeProfile_UpgradeChannel string
@@ -16762,6 +16907,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel
+var managedClusterAutoUpgradeProfile_UpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable,
+}
+
type ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS string
const (
@@ -16772,6 +16926,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable,
+}
+
// Metrics profile for the prometheus service addon
type ManagedClusterAzureMonitorProfileMetrics struct {
// +kubebuilder:validation:Required
@@ -16843,7 +17006,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *v20230202ps.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Enabled
if source.Enabled != nil {
@@ -16870,7 +17033,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *v20230202ps.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16884,7 +17047,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_Man
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20230202ps.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
@@ -16950,7 +17113,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *v20230202ps.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -16977,7 +17140,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *v20230202ps.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16991,7 +17154,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20230202ps.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
@@ -17051,7 +17214,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) Populate
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20230202ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// ClientId
identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -17064,7 +17227,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20230202ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17147,7 +17310,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting populates our ManagedClusterIngressProfileWebAppRouting from the provided source ManagedClusterIngressProfileWebAppRouting
-func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source *v20230202ps.ManagedClusterIngressProfileWebAppRouting) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source *storage.ManagedClusterIngressProfileWebAppRouting) error {
// DnsZoneResourceReference
if source.DnsZoneResourceReference != nil {
@@ -17170,7 +17333,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting populates the provided destination ManagedClusterIngressProfileWebAppRouting from our ManagedClusterIngressProfileWebAppRouting
-func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(destination *v20230202ps.ManagedClusterIngressProfileWebAppRouting) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(destination *storage.ManagedClusterIngressProfileWebAppRouting) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17259,7 +17422,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS populates our ManagedClusterIngressProfileWebAppRouting_STATUS from the provided source ManagedClusterIngressProfileWebAppRouting_STATUS
-func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source *v20230202ps.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
// DnsZoneResourceId
routing.DnsZoneResourceId = genruntime.ClonePointerToString(source.DnsZoneResourceId)
@@ -17289,7 +17452,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS populates the provided destination ManagedClusterIngressProfileWebAppRouting_STATUS from our ManagedClusterIngressProfileWebAppRouting_STATUS
-func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(destination *v20230202ps.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(destination *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17306,7 +17469,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignPropertie
// Identity
if routing.Identity != nil {
- var identity v20230202ps.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := routing.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -17518,7 +17681,7 @@ func (profile *ManagedClusterLoadBalancerProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20230202ps.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// AllocatedOutboundPorts
if source.AllocatedOutboundPorts != nil {
@@ -17530,8 +17693,9 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType(*source.BackendPoolType)
- profile.BackendPoolType = &backendPoolType
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
} else {
profile.BackendPoolType = nil
}
@@ -17611,7 +17775,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20230202ps.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17633,11 +17797,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230202ps.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230202ps.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -17667,7 +17831,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20230202ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -17679,7 +17843,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -17691,7 +17855,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -17827,15 +17991,16 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20230202ps.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// AllocatedOutboundPorts
profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS(*source.BackendPoolType)
- profile.BackendPoolType = &backendPoolType
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
} else {
profile.BackendPoolType = nil
}
@@ -17910,7 +18075,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20230202ps.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17927,11 +18092,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230202ps.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230202ps.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -17956,7 +18121,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20230202ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -17968,7 +18133,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -17980,7 +18145,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -18096,7 +18261,7 @@ func (profile *ManagedClusterNATGatewayProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *v20230202ps.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -18141,17 +18306,17 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *v20230202ps.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230202ps.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230202ps.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -18173,7 +18338,7 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClust
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20230202ps.ManagedClusterManagedOutboundIPProfile
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
@@ -18253,7 +18418,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *v20230202ps.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -18293,17 +18458,17 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *v20230202ps.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20230202ps.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20230202ps.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -18320,7 +18485,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20230202ps.ManagedClusterManagedOutboundIPProfile_STATUS
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
@@ -18349,6 +18514,12 @@ const (
ManagedClusterNodeResourceGroupProfile_RestrictionLevel_Unrestricted = ManagedClusterNodeResourceGroupProfile_RestrictionLevel("Unrestricted")
)
+// Mapping from string to ManagedClusterNodeResourceGroupProfile_RestrictionLevel
+var managedClusterNodeResourceGroupProfile_RestrictionLevel_Values = map[string]ManagedClusterNodeResourceGroupProfile_RestrictionLevel{
+ "readonly": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_ReadOnly,
+ "unrestricted": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_Unrestricted,
+}
+
type ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS string
const (
@@ -18356,14 +18527,23 @@ const (
ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Unrestricted = ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS("Unrestricted")
)
+// Mapping from string to ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS
+var managedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Values = map[string]ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS{
+ "readonly": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_ReadOnly,
+ "unrestricted": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Unrestricted,
+}
+
type ManagedClusterOperatorConfigMaps struct {
// OIDCIssuerProfile: indicates where the OIDCIssuerProfile config map should be placed. If omitted, no config map will be
// created.
OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+
+ // PrincipalId: indicates where the PrincipalId config map should be placed. If omitted, no config map will be created.
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
}
// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *v20230202ps.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
// OIDCIssuerProfile
if source.OIDCIssuerProfile != nil {
@@ -18373,12 +18553,20 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
maps.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if source.PrincipalId != nil {
+ principalId := source.PrincipalId.Copy()
+ maps.PrincipalId = &principalId
+ } else {
+ maps.PrincipalId = nil
+ }
+
// No error
return nil
}
// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *v20230202ps.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18390,6 +18578,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedCluster
destination.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if maps.PrincipalId != nil {
+ principalId := maps.PrincipalId.Copy()
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
destination.PropertyBag = propertyBag
@@ -18412,7 +18608,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20230202ps.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// AdminCredentials
if source.AdminCredentials != nil {
@@ -18435,7 +18631,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20230202ps.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18569,7 +18765,7 @@ func (identity *ManagedClusterPodIdentity) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20230202ps.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -18597,7 +18793,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20230202ps.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18606,7 +18802,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20230202ps.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -18717,7 +18913,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20230202ps.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -18754,8 +18950,9 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ManagedClusterPodIdentity_ProvisioningState_STATUS(*source.ProvisioningState)
- identity.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, managedClusterPodIdentity_ProvisioningState_STATUS_Values)
+ identity.ProvisioningState = &provisioningStateTemp
} else {
identity.ProvisioningState = nil
}
@@ -18765,7 +18962,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20230202ps.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18774,7 +18971,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20230202ps.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -18792,7 +18989,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20230202ps.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -18905,7 +19102,7 @@ func (exception *ManagedClusterPodIdentityException) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20230202ps.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -18921,7 +19118,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20230202ps.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18997,7 +19194,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20230202ps.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -19013,7 +19210,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20230202ps.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19047,6 +19244,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_Random = ManagedClusterProperties_AutoScalerProfile_Expander("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander
+var managedClusterProperties_AutoScalerProfile_Expander_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_Random,
+}
+
type ManagedClusterProperties_AutoScalerProfile_Expander_STATUS string
const (
@@ -19056,6 +19261,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random = ManagedClusterProperties_AutoScalerProfile_Expander_STATUS("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander_STATUS
+var managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander_STATUS{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random,
+}
+
// +kubebuilder:validation:MaxItems=10
// +kubebuilder:validation:MinItems=0
type ManagedClusterSecurityProfileCustomCATrustCertificates []string
@@ -19132,7 +19345,7 @@ func (defender *ManagedClusterSecurityProfileDefender) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *v20230202ps.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
// LogAnalyticsWorkspaceResourceReference
if source.LogAnalyticsWorkspaceResourceReference != nil {
@@ -19159,7 +19372,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *v20230202ps.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19173,7 +19386,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_Manag
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20230202ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
@@ -19241,7 +19454,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *v20230202ps.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// LogAnalyticsWorkspaceResourceId
defender.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
@@ -19263,7 +19476,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *v20230202ps.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19272,7 +19485,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_T
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20230202ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
@@ -19355,7 +19568,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *v20230202ps.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Enabled
if source.Enabled != nil {
@@ -19373,7 +19586,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *v20230202ps.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19440,7 +19653,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *v20230202ps.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19458,7 +19671,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *v20230202ps.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19530,7 +19743,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction) PopulateFromARM
}
// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction populates our ManagedClusterSecurityProfileNodeRestriction from the provided source ManagedClusterSecurityProfileNodeRestriction
-func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source *v20230202ps.ManagedClusterSecurityProfileNodeRestriction) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source *storage.ManagedClusterSecurityProfileNodeRestriction) error {
// Enabled
if source.Enabled != nil {
@@ -19545,7 +19758,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction populates the provided destination ManagedClusterSecurityProfileNodeRestriction from our ManagedClusterSecurityProfileNodeRestriction
-func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(destination *v20230202ps.ManagedClusterSecurityProfileNodeRestriction) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(destination *storage.ManagedClusterSecurityProfileNodeRestriction) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19599,7 +19812,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) Populate
}
// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS populates our ManagedClusterSecurityProfileNodeRestriction_STATUS from the provided source ManagedClusterSecurityProfileNodeRestriction_STATUS
-func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source *v20230202ps.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19614,7 +19827,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS populates the provided destination ManagedClusterSecurityProfileNodeRestriction_STATUS from our ManagedClusterSecurityProfileNodeRestriction_STATUS
-func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(destination *v20230202ps.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(destination *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19683,7 +19896,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *v20230202ps.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Enabled
if source.Enabled != nil {
@@ -19698,7 +19911,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *v20230202ps.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19752,7 +19965,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) PopulateFr
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *v20230202ps.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19767,7 +19980,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProp
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *v20230202ps.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19836,7 +20049,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *v20230202ps.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -19851,7 +20064,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *v20230202ps.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19905,7 +20118,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *v20230202ps.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19920,7 +20133,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *v20230202ps.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20004,7 +20217,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *v20230202ps.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -20022,7 +20235,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *v20230202ps.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20088,7 +20301,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *v20230202ps.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20106,7 +20319,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *v20230202ps.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20178,7 +20391,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *v20230202ps.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -20193,7 +20406,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *v20230202ps.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20247,7 +20460,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *v20230202ps.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20262,7 +20475,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *v20230202ps.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20331,7 +20544,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) PopulateFromAR
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *v20230202ps.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
// Enabled
if source.Enabled != nil {
@@ -20346,7 +20559,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperti
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *v20230202ps.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20400,7 +20613,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) Populat
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *v20230202ps.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20415,7 +20628,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *v20230202ps.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20446,6 +20659,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_Windows_Server = ManagedClusterWindowsProfile_LicenseType("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType
+var managedClusterWindowsProfile_LicenseType_Values = map[string]ManagedClusterWindowsProfile_LicenseType{
+ "none": ManagedClusterWindowsProfile_LicenseType_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_Windows_Server,
+}
+
type ManagedClusterWindowsProfile_LicenseType_STATUS string
const (
@@ -20453,6 +20672,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server = ManagedClusterWindowsProfile_LicenseType_STATUS("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType_STATUS
+var managedClusterWindowsProfile_LicenseType_STATUS_Values = map[string]ManagedClusterWindowsProfile_LicenseType_STATUS{
+ "none": ManagedClusterWindowsProfile_LicenseType_STATUS_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server,
+}
+
// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
type ManagedClusterWorkloadAutoScalerProfileKeda struct {
// +kubebuilder:validation:Required
@@ -20500,7 +20725,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *v20230202ps.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Enabled
if source.Enabled != nil {
@@ -20515,7 +20740,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *v20230202ps.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20569,7 +20794,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *v20230202ps.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20584,7 +20809,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *v20230202ps.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20687,12 +20912,13 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *v20230202ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// ControlledValues
if source.ControlledValues != nil {
- controlledValue := ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues(*source.ControlledValues)
- autoscaler.ControlledValues = &controlledValue
+ controlledValue := *source.ControlledValues
+ controlledValueTemp := genruntime.ToEnum(controlledValue, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_Values)
+ autoscaler.ControlledValues = &controlledValueTemp
} else {
autoscaler.ControlledValues = nil
}
@@ -20707,8 +20933,9 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
// UpdateMode
if source.UpdateMode != nil {
- updateMode := ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode(*source.UpdateMode)
- autoscaler.UpdateMode = &updateMode
+ updateMode := *source.UpdateMode
+ updateModeTemp := genruntime.ToEnum(updateMode, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Values)
+ autoscaler.UpdateMode = &updateModeTemp
} else {
autoscaler.UpdateMode = nil
}
@@ -20718,7 +20945,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *v20230202ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20807,12 +21034,13 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *v20230202ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// ControlledValues
if source.ControlledValues != nil {
- controlledValue := ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS(*source.ControlledValues)
- autoscaler.ControlledValues = &controlledValue
+ controlledValue := *source.ControlledValues
+ controlledValueTemp := genruntime.ToEnum(controlledValue, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS_Values)
+ autoscaler.ControlledValues = &controlledValueTemp
} else {
autoscaler.ControlledValues = nil
}
@@ -20827,8 +21055,9 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
// UpdateMode
if source.UpdateMode != nil {
- updateMode := ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS(*source.UpdateMode)
- autoscaler.UpdateMode = &updateMode
+ updateMode := *source.UpdateMode
+ updateModeTemp := genruntime.ToEnum(updateMode, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Values)
+ autoscaler.UpdateMode = &updateModeTemp
} else {
autoscaler.UpdateMode = nil
}
@@ -20838,7 +21067,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *v20230202ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20886,6 +21115,12 @@ const (
NetworkDataplane_Cilium = NetworkDataplane("cilium")
)
+// Mapping from string to NetworkDataplane
+var networkDataplane_Values = map[string]NetworkDataplane{
+ "azure": NetworkDataplane_Azure,
+ "cilium": NetworkDataplane_Cilium,
+}
+
// Network dataplane used in the Kubernetes cluster.
type NetworkDataplane_STATUS string
@@ -20894,6 +21129,12 @@ const (
NetworkDataplane_STATUS_Cilium = NetworkDataplane_STATUS("cilium")
)
+// Mapping from string to NetworkDataplane_STATUS
+var networkDataplane_STATUS_Values = map[string]NetworkDataplane_STATUS{
+ "azure": NetworkDataplane_STATUS_Azure,
+ "cilium": NetworkDataplane_STATUS_Cilium,
+}
+
// This cannot be specified if networkPlugin is anything other than 'azure'.
// +kubebuilder:validation:Enum={"bridge","transparent"}
type NetworkMode string
@@ -20903,6 +21144,12 @@ const (
NetworkMode_Transparent = NetworkMode("transparent")
)
+// Mapping from string to NetworkMode
+var networkMode_Values = map[string]NetworkMode{
+ "bridge": NetworkMode_Bridge,
+ "transparent": NetworkMode_Transparent,
+}
+
// This cannot be specified if networkPlugin is anything other than 'azure'.
type NetworkMode_STATUS string
@@ -20911,6 +21158,12 @@ const (
NetworkMode_STATUS_Transparent = NetworkMode_STATUS("transparent")
)
+// Mapping from string to NetworkMode_STATUS
+var networkMode_STATUS_Values = map[string]NetworkMode_STATUS{
+ "bridge": NetworkMode_STATUS_Bridge,
+ "transparent": NetworkMode_STATUS_Transparent,
+}
+
// Network plugin used for building the Kubernetes network.
// +kubebuilder:validation:Enum={"azure","kubenet","none"}
type NetworkPlugin string
@@ -20921,6 +21174,13 @@ const (
NetworkPlugin_None = NetworkPlugin("none")
)
+// Mapping from string to NetworkPlugin
+var networkPlugin_Values = map[string]NetworkPlugin{
+ "azure": NetworkPlugin_Azure,
+ "kubenet": NetworkPlugin_Kubenet,
+ "none": NetworkPlugin_None,
+}
+
// Network plugin used for building the Kubernetes network.
type NetworkPlugin_STATUS string
@@ -20930,17 +21190,34 @@ const (
NetworkPlugin_STATUS_None = NetworkPlugin_STATUS("none")
)
+// Mapping from string to NetworkPlugin_STATUS
+var networkPlugin_STATUS_Values = map[string]NetworkPlugin_STATUS{
+ "azure": NetworkPlugin_STATUS_Azure,
+ "kubenet": NetworkPlugin_STATUS_Kubenet,
+ "none": NetworkPlugin_STATUS_None,
+}
+
// The mode the network plugin should use.
// +kubebuilder:validation:Enum={"Overlay"}
type NetworkPluginMode string
const NetworkPluginMode_Overlay = NetworkPluginMode("Overlay")
+// Mapping from string to NetworkPluginMode
+var networkPluginMode_Values = map[string]NetworkPluginMode{
+ "overlay": NetworkPluginMode_Overlay,
+}
+
// The mode the network plugin should use.
type NetworkPluginMode_STATUS string
const NetworkPluginMode_STATUS_Overlay = NetworkPluginMode_STATUS("Overlay")
+// Mapping from string to NetworkPluginMode_STATUS
+var networkPluginMode_STATUS_Values = map[string]NetworkPluginMode_STATUS{
+ "overlay": NetworkPluginMode_STATUS_Overlay,
+}
+
// Network policy used for building the Kubernetes network.
// +kubebuilder:validation:Enum={"azure","calico","cilium"}
type NetworkPolicy string
@@ -20951,6 +21228,13 @@ const (
NetworkPolicy_Cilium = NetworkPolicy("cilium")
)
+// Mapping from string to NetworkPolicy
+var networkPolicy_Values = map[string]NetworkPolicy{
+ "azure": NetworkPolicy_Azure,
+ "calico": NetworkPolicy_Calico,
+ "cilium": NetworkPolicy_Cilium,
+}
+
// Network policy used for building the Kubernetes network.
type NetworkPolicy_STATUS string
@@ -20960,6 +21244,13 @@ const (
NetworkPolicy_STATUS_Cilium = NetworkPolicy_STATUS("cilium")
)
+// Mapping from string to NetworkPolicy_STATUS
+var networkPolicy_STATUS_Values = map[string]NetworkPolicy_STATUS{
+ "azure": NetworkPolicy_STATUS_Azure,
+ "calico": NetworkPolicy_STATUS_Calico,
+ "cilium": NetworkPolicy_STATUS_Cilium,
+}
+
type PowerState_Code_STATUS string
const (
@@ -20967,6 +21258,12 @@ const (
PowerState_Code_STATUS_Stopped = PowerState_Code_STATUS("Stopped")
)
+// Mapping from string to PowerState_Code_STATUS
+var powerState_Code_STATUS_Values = map[string]PowerState_Code_STATUS{
+ "running": PowerState_Code_STATUS_Running,
+ "stopped": PowerState_Code_STATUS_Stopped,
+}
+
// +kubebuilder:validation:Enum={"Disabled","Istio"}
type ServiceMeshProfile_Mode string
@@ -20975,6 +21272,12 @@ const (
ServiceMeshProfile_Mode_Istio = ServiceMeshProfile_Mode("Istio")
)
+// Mapping from string to ServiceMeshProfile_Mode
+var serviceMeshProfile_Mode_Values = map[string]ServiceMeshProfile_Mode{
+ "disabled": ServiceMeshProfile_Mode_Disabled,
+ "istio": ServiceMeshProfile_Mode_Istio,
+}
+
type ServiceMeshProfile_Mode_STATUS string
const (
@@ -20982,6 +21285,12 @@ const (
ServiceMeshProfile_Mode_STATUS_Istio = ServiceMeshProfile_Mode_STATUS("Istio")
)
+// Mapping from string to ServiceMeshProfile_Mode_STATUS
+var serviceMeshProfile_Mode_STATUS_Values = map[string]ServiceMeshProfile_Mode_STATUS{
+ "disabled": ServiceMeshProfile_Mode_STATUS_Disabled,
+ "istio": ServiceMeshProfile_Mode_STATUS_Istio,
+}
+
// Settings for overrides when upgrading a cluster.
type UpgradeOverrideSettings struct {
// ControlPlaneOverrides: List of upgrade overrides when upgrading a cluster's control plane.
@@ -21043,7 +21352,7 @@ func (settings *UpgradeOverrideSettings) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_UpgradeOverrideSettings populates our UpgradeOverrideSettings from the provided source UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *v20230202ps.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *storage.UpgradeOverrideSettings) error {
// ControlPlaneOverrides
if source.ControlPlaneOverrides != nil {
@@ -21051,7 +21360,7 @@ func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSe
for controlPlaneOverrideIndex, controlPlaneOverrideItem := range source.ControlPlaneOverrides {
// Shadow the loop variable to avoid aliasing
controlPlaneOverrideItem := controlPlaneOverrideItem
- controlPlaneOverrideList[controlPlaneOverrideIndex] = ControlPlaneUpgradeOverride(controlPlaneOverrideItem)
+ controlPlaneOverrideList[controlPlaneOverrideIndex] = genruntime.ToEnum(controlPlaneOverrideItem, controlPlaneUpgradeOverride_Values)
}
settings.ControlPlaneOverrides = controlPlaneOverrideList
} else {
@@ -21066,7 +21375,7 @@ func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSe
}
// AssignProperties_To_UpgradeOverrideSettings populates the provided destination UpgradeOverrideSettings from our UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *v20230202ps.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *storage.UpgradeOverrideSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21138,7 +21447,7 @@ func (settings *UpgradeOverrideSettings_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_UpgradeOverrideSettings_STATUS populates our UpgradeOverrideSettings_STATUS from the provided source UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *v20230202ps.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *storage.UpgradeOverrideSettings_STATUS) error {
// ControlPlaneOverrides
if source.ControlPlaneOverrides != nil {
@@ -21146,7 +21455,7 @@ func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOve
for controlPlaneOverrideIndex, controlPlaneOverrideItem := range source.ControlPlaneOverrides {
// Shadow the loop variable to avoid aliasing
controlPlaneOverrideItem := controlPlaneOverrideItem
- controlPlaneOverrideList[controlPlaneOverrideIndex] = ControlPlaneUpgradeOverride_STATUS(controlPlaneOverrideItem)
+ controlPlaneOverrideList[controlPlaneOverrideIndex] = genruntime.ToEnum(controlPlaneOverrideItem, controlPlaneUpgradeOverride_STATUS_Values)
}
settings.ControlPlaneOverrides = controlPlaneOverrideList
} else {
@@ -21161,7 +21470,7 @@ func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOve
}
// AssignProperties_To_UpgradeOverrideSettings_STATUS populates the provided destination UpgradeOverrideSettings_STATUS from our UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *v20230202ps.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *storage.UpgradeOverrideSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21198,7 +21507,7 @@ type UserAssignedIdentityDetails struct {
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20230202ps.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Reference
details.Reference = source.Reference.Copy()
@@ -21208,7 +21517,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20230202ps.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21304,7 +21613,7 @@ func (profile *WindowsGmsaProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *v20230202ps.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -21325,7 +21634,7 @@ func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(sour
}
// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *v20230202ps.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21405,7 +21714,7 @@ func (profile *WindowsGmsaProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *v20230202ps.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -21426,7 +21735,7 @@ func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfi
}
// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *v20230202ps.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21463,6 +21772,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_Public = AzureKeyVaultKms_KeyVaultNetworkAccess("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess
+var azureKeyVaultKms_KeyVaultNetworkAccess_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_Public,
+}
+
type AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS string
const (
@@ -21470,6 +21785,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public = AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS
+var azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig struct {
// Scheduler: IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html.
Scheduler *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler `json:"scheduler,omitempty"`
@@ -21561,12 +21882,13 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) Populat
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
// Scheduler
if source.Scheduler != nil {
- scheduler := ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler(*source.Scheduler)
- config.Scheduler = &scheduler
+ scheduler := *source.Scheduler
+ schedulerTemp := genruntime.ToEnum(scheduler, containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_Values)
+ config.Scheduler = &schedulerTemp
} else {
config.Scheduler = nil
}
@@ -21585,7 +21907,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignP
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(destination *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21675,12 +21997,13 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
// Scheduler
if source.Scheduler != nil {
- scheduler := ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS(*source.Scheduler)
- config.Scheduler = &scheduler
+ scheduler := *source.Scheduler
+ schedulerTemp := genruntime.ToEnum(scheduler, containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_Values)
+ config.Scheduler = &schedulerTemp
} else {
config.Scheduler = nil
}
@@ -21699,7 +22022,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(destination *v20230202ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21739,6 +22062,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPVS = ContainerServiceNetworkProfile_KubeProxyConfig_Mode("IPVS")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_Mode
+var containerServiceNetworkProfile_KubeProxyConfig_Mode_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_Mode{
+ "iptables": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPTABLES,
+ "ipvs": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPVS,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS string
const (
@@ -21746,6 +22075,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPVS = ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS("IPVS")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS
+var containerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS{
+ "iptables": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPTABLES,
+ "ipvs": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPVS,
+}
+
// Contains information about SSH certificate public key data.
type ContainerServiceSshPublicKey struct {
// +kubebuilder:validation:Required
@@ -21794,7 +22129,7 @@ func (publicKey *ContainerServiceSshPublicKey) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20230202ps.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -21804,7 +22139,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20230202ps.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21854,7 +22189,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20230202ps.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -21864,7 +22199,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20230202ps.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21888,11 +22223,21 @@ type ControlPlaneUpgradeOverride string
const ControlPlaneUpgradeOverride_IgnoreKubernetesDeprecations = ControlPlaneUpgradeOverride("IgnoreKubernetesDeprecations")
+// Mapping from string to ControlPlaneUpgradeOverride
+var controlPlaneUpgradeOverride_Values = map[string]ControlPlaneUpgradeOverride{
+ "ignorekubernetesdeprecations": ControlPlaneUpgradeOverride_IgnoreKubernetesDeprecations,
+}
+
// The list of control plane upgrade override settings.
type ControlPlaneUpgradeOverride_STATUS string
const ControlPlaneUpgradeOverride_STATUS_IgnoreKubernetesDeprecations = ControlPlaneUpgradeOverride_STATUS("IgnoreKubernetesDeprecations")
+// Mapping from string to ControlPlaneUpgradeOverride_STATUS
+var controlPlaneUpgradeOverride_STATUS_Values = map[string]ControlPlaneUpgradeOverride_STATUS{
+ "ignorekubernetesdeprecations": ControlPlaneUpgradeOverride_STATUS_IgnoreKubernetesDeprecations,
+}
+
// Istio components configuration.
type IstioComponents struct {
// IngressGateways: Istio ingress gateways.
@@ -21946,7 +22291,7 @@ func (components *IstioComponents) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_IstioComponents populates our IstioComponents from the provided source IstioComponents
-func (components *IstioComponents) AssignProperties_From_IstioComponents(source *v20230202ps.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_From_IstioComponents(source *storage.IstioComponents) error {
// IngressGateways
if source.IngressGateways != nil {
@@ -21971,17 +22316,17 @@ func (components *IstioComponents) AssignProperties_From_IstioComponents(source
}
// AssignProperties_To_IstioComponents populates the provided destination IstioComponents from our IstioComponents
-func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *v20230202ps.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *storage.IstioComponents) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20230202ps.IstioIngressGateway, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20230202ps.IstioIngressGateway
+ var ingressGateway storage.IstioIngressGateway
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway() to populate field IngressGateways")
@@ -22039,7 +22384,7 @@ func (components *IstioComponents_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_IstioComponents_STATUS populates our IstioComponents_STATUS from the provided source IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *v20230202ps.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *storage.IstioComponents_STATUS) error {
// IngressGateways
if source.IngressGateways != nil {
@@ -22064,17 +22409,17 @@ func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_
}
// AssignProperties_To_IstioComponents_STATUS populates the provided destination IstioComponents_STATUS from our IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *v20230202ps.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *storage.IstioComponents_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20230202ps.IstioIngressGateway_STATUS, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway_STATUS, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20230202ps.IstioIngressGateway_STATUS
+ var ingressGateway storage.IstioIngressGateway_STATUS
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway_STATUS(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway_STATUS() to populate field IngressGateways")
@@ -22160,7 +22505,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) PopulateFromAR
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *v20230202ps.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -22173,7 +22518,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperti
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *v20230202ps.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22236,7 +22581,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) Populat
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *v20230202ps.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -22249,7 +22594,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *v20230202ps.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22278,6 +22623,12 @@ const (
ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType("NodeIPConfiguration")
)
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType
+var managedClusterLoadBalancerProfile_BackendPoolType_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration,
+}
+
type ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS string
const (
@@ -22285,6 +22636,12 @@ const (
ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS("NodeIPConfiguration")
)
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS
+var managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration,
+}
+
type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
// +kubebuilder:validation:Maximum=100
// +kubebuilder:validation:Minimum=1
@@ -22351,7 +22708,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20230202ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Count
if source.Count != nil {
@@ -22374,7 +22731,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20230202ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22446,7 +22803,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) Populate
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20230202ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Count
iPs.Count = genruntime.ClonePointerToInt(source.Count)
@@ -22459,7 +22816,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20230202ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22532,7 +22889,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) PopulateFr
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -22557,17 +22914,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20230202ps.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20230202ps.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -22624,7 +22981,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Pop
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -22649,17 +23006,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20230202ps.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20230202ps.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -22734,7 +23091,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -22759,17 +23116,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20230202ps.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20230202ps.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -22826,7 +23183,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -22851,17 +23208,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20230202ps.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20230202ps.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20230202ps.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -22933,7 +23290,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *v20230202ps.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
// Count
if source.Count != nil {
@@ -22948,7 +23305,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *v20230202ps.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23003,7 +23360,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *v20230202ps.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Count
profile.Count = genruntime.ClonePointerToInt(source.Count)
@@ -23013,7 +23370,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *v20230202ps.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23066,7 +23423,7 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20230202ps.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Error
if source.Error != nil {
@@ -23085,13 +23442,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20230202ps.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if info.Error != nil {
- var error v20230202ps.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -23123,6 +23480,16 @@ const (
ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating = ManagedClusterPodIdentity_ProvisioningState_STATUS("Updating")
)
+// Mapping from string to ManagedClusterPodIdentity_ProvisioningState_STATUS
+var managedClusterPodIdentity_ProvisioningState_STATUS_Values = map[string]ManagedClusterPodIdentity_ProvisioningState_STATUS{
+ "assigned": ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned,
+ "canceled": ManagedClusterPodIdentity_ProvisioningState_STATUS_Canceled,
+ "deleting": ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting,
+ "failed": ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed,
+ "succeeded": ManagedClusterPodIdentity_ProvisioningState_STATUS_Succeeded,
+ "updating": ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating,
+}
+
// Microsoft Defender settings for the security profile threat detection.
type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
// Enabled: Whether to enable Defender threat detection
@@ -23169,7 +23536,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Popul
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *v20230202ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Enabled
if source.Enabled != nil {
@@ -23184,7 +23551,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Assig
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *v20230202ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23238,7 +23605,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *v20230202ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23253,7 +23620,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *v20230202ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23284,6 +23651,12 @@ const (
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_RequestsOnly = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues("RequestsOnly")
)
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues{
+ "requestsandlimits": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_RequestsAndLimits,
+ "requestsonly": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_RequestsOnly,
+}
+
type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS string
const (
@@ -23291,6 +23664,12 @@ const (
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS_RequestsOnly = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS("RequestsOnly")
)
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS{
+ "requestsandlimits": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS_RequestsAndLimits,
+ "requestsonly": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ControlledValues_STATUS_RequestsOnly,
+}
+
// +kubebuilder:validation:Enum={"Auto","Initial","Off","Recreate"}
type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode string
@@ -23301,6 +23680,14 @@ const (
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Recreate = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode("Recreate")
)
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode{
+ "auto": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Auto,
+ "initial": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Initial,
+ "off": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Off,
+ "recreate": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_Recreate,
+}
+
type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS string
const (
@@ -23310,6 +23697,14 @@ const (
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Recreate = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS("Recreate")
)
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS{
+ "auto": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Auto,
+ "initial": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Initial,
+ "off": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Off,
+ "recreate": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_UpdateMode_STATUS_Recreate,
+}
+
// A reference to an Azure resource.
type ResourceReference struct {
// Reference: The fully qualified Azure resource id.
@@ -23356,7 +23751,7 @@ func (reference *ResourceReference) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20230202ps.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Reference
if source.Reference != nil {
@@ -23371,7 +23766,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20230202ps.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23425,7 +23820,7 @@ func (reference *ResourceReference_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20230202ps.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Id
reference.Id = genruntime.ClonePointerToString(source.Id)
@@ -23435,7 +23830,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20230202ps.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23461,6 +23856,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_RoundRobin = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler("RoundRobin")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler
+var containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler{
+ "leastconnection": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_LeastConnection,
+ "roundrobin": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_RoundRobin,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS string
const (
@@ -23468,6 +23869,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_RoundRobin = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS("RoundRobin")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS
+var containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS{
+ "leastconnection": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_LeastConnection,
+ "roundrobin": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_RoundRobin,
+}
+
// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
type IstioIngressGateway struct {
@@ -23532,7 +23939,7 @@ func (gateway *IstioIngressGateway) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_IstioIngressGateway populates our IstioIngressGateway from the provided source IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *v20230202ps.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *storage.IstioIngressGateway) error {
// Enabled
if source.Enabled != nil {
@@ -23544,8 +23951,9 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode(*source.Mode)
- gateway.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_Values)
+ gateway.Mode = &modeTemp
} else {
gateway.Mode = nil
}
@@ -23555,7 +23963,7 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
}
// AssignProperties_To_IstioIngressGateway populates the provided destination IstioIngressGateway from our IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *v20230202ps.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *storage.IstioIngressGateway) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23627,7 +24035,7 @@ func (gateway *IstioIngressGateway_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_IstioIngressGateway_STATUS populates our IstioIngressGateway_STATUS from the provided source IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *v20230202ps.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *storage.IstioIngressGateway_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23639,8 +24047,9 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode_STATUS(*source.Mode)
- gateway.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_STATUS_Values)
+ gateway.Mode = &modeTemp
} else {
gateway.Mode = nil
}
@@ -23650,7 +24059,7 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
}
// AssignProperties_To_IstioIngressGateway_STATUS populates the provided destination IstioIngressGateway_STATUS from our IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *v20230202ps.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *storage.IstioIngressGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23717,7 +24126,7 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20230202ps.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Error
if source.Error != nil {
@@ -23736,13 +24145,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20230202ps.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if error.Error != nil {
- var errorLocal v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -23771,6 +24180,12 @@ const (
IstioIngressGateway_Mode_Internal = IstioIngressGateway_Mode("Internal")
)
+// Mapping from string to IstioIngressGateway_Mode
+var istioIngressGateway_Mode_Values = map[string]IstioIngressGateway_Mode{
+ "external": IstioIngressGateway_Mode_External,
+ "internal": IstioIngressGateway_Mode_Internal,
+}
+
type IstioIngressGateway_Mode_STATUS string
const (
@@ -23778,6 +24193,12 @@ const (
IstioIngressGateway_Mode_STATUS_Internal = IstioIngressGateway_Mode_STATUS("Internal")
)
+// Mapping from string to IstioIngressGateway_Mode_STATUS
+var istioIngressGateway_Mode_STATUS_Values = map[string]IstioIngressGateway_Mode_STATUS{
+ "external": IstioIngressGateway_Mode_STATUS_External,
+ "internal": IstioIngressGateway_Mode_STATUS_Internal,
+}
+
// An error response from the pod identity provisioning.
type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
// Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
@@ -23840,7 +24261,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) PopulateFromA
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Code
body.Code = genruntime.ClonePointerToString(source.Code)
@@ -23874,7 +24295,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23883,11 +24304,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -23964,7 +24385,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Code
unrolled.Code = genruntime.ClonePointerToString(source.Code)
@@ -23980,7 +24401,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20230202ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_agent_pool_types_gen.go
index df5c9a829c..c4295c06d4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_agent_pool_types_gen.go
@@ -5,7 +5,7 @@ package v1api20230202preview
import (
"fmt"
- v20230202ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -50,7 +50,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20230202ps.ManagedClustersAgentPool
+ var source storage.ManagedClustersAgentPool
err := source.ConvertFrom(hub)
if err != nil {
@@ -68,7 +68,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20230202ps.ManagedClustersAgentPool
+ var destination storage.ManagedClustersAgentPool
err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from pool")
@@ -257,7 +257,7 @@ func (pool *ManagedClustersAgentPool) validateWriteOnceProperties(old runtime.Ob
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20230202ps.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -283,13 +283,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20230202ps.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20230202ps.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -297,7 +297,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20230202ps.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -1217,14 +1217,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230202ps.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20230202ps.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1241,14 +1241,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230202ps.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230202ps.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1264,7 +1264,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20230202ps.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -1340,8 +1340,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -1368,8 +1369,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -1400,8 +1402,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -1445,24 +1448,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -1505,24 +1511,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -1540,8 +1549,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- pool.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ pool.Type = &typeTemp
} else {
pool.Type = nil
}
@@ -1583,8 +1593,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -1594,7 +1605,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20230202ps.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1612,7 +1623,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// CreationData
if pool.CreationData != nil {
- var creationDatum v20230202ps.CreationData
+ var creationDatum storage.CreationData
err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -1688,7 +1699,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20230202ps.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -1708,7 +1719,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20230202ps.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -1740,7 +1751,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// NetworkProfile
if pool.NetworkProfile != nil {
- var networkProfile v20230202ps.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
@@ -1820,7 +1831,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// PowerState
if pool.PowerState != nil {
- var powerState v20230202ps.PowerState
+ var powerState storage.PowerState
err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -1883,7 +1894,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20230202ps.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -1906,7 +1917,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// WindowsProfile
if pool.WindowsProfile != nil {
- var windowsProfile v20230202ps.AgentPoolWindowsProfile
+ var windowsProfile storage.AgentPoolWindowsProfile
err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
@@ -2141,14 +2152,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230202ps.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230202ps.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2165,14 +2176,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230202ps.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230202ps.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -2677,7 +2688,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20230202ps.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -2756,8 +2767,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -2782,8 +2794,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -2814,8 +2827,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -2855,24 +2869,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -2894,8 +2911,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// PropertiesType
if source.PropertiesType != nil {
- propertiesType := AgentPoolType_STATUS(*source.PropertiesType)
- pool.PropertiesType = &propertiesType
+ propertiesType := *source.PropertiesType
+ propertiesTypeTemp := genruntime.ToEnum(propertiesType, agentPoolType_STATUS_Values)
+ pool.PropertiesType = &propertiesTypeTemp
} else {
pool.PropertiesType = nil
}
@@ -2908,24 +2926,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -2976,8 +2997,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -2987,7 +3009,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20230202ps.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3005,7 +3027,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// CreationData
if pool.CreationData != nil {
- var creationDatum v20230202ps.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -3082,7 +3104,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20230202ps.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -3102,7 +3124,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20230202ps.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -3137,7 +3159,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// NetworkProfile
if pool.NetworkProfile != nil {
- var networkProfile v20230202ps.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -3194,7 +3216,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20230202ps.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -3258,7 +3280,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20230202ps.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -3276,7 +3298,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// WindowsProfile
if pool.WindowsProfile != nil {
- var windowsProfile v20230202ps.AgentPoolWindowsProfile_STATUS
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -3315,6 +3337,12 @@ const (
AgentPoolMode_User = AgentPoolMode("User")
)
+// Mapping from string to AgentPoolMode
+var agentPoolMode_Values = map[string]AgentPoolMode{
+ "system": AgentPoolMode_System,
+ "user": AgentPoolMode_User,
+}
+
// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
type AgentPoolMode_STATUS string
@@ -3324,6 +3352,12 @@ const (
AgentPoolMode_STATUS_User = AgentPoolMode_STATUS("User")
)
+// Mapping from string to AgentPoolMode_STATUS
+var agentPoolMode_STATUS_Values = map[string]AgentPoolMode_STATUS{
+ "system": AgentPoolMode_STATUS_System,
+ "user": AgentPoolMode_STATUS_User,
+}
+
// Network settings of an agent pool.
type AgentPoolNetworkProfile struct {
// AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
@@ -3414,7 +3448,7 @@ func (profile *AgentPoolNetworkProfile) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_AgentPoolNetworkProfile populates our AgentPoolNetworkProfile from the provided source AgentPoolNetworkProfile
-func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *v20230202ps.AgentPoolNetworkProfile) error {
+func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *storage.AgentPoolNetworkProfile) error {
// AllowedHostPorts
if source.AllowedHostPorts != nil {
@@ -3470,17 +3504,17 @@ func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkPr
}
// AssignProperties_To_AgentPoolNetworkProfile populates the provided destination AgentPoolNetworkProfile from our AgentPoolNetworkProfile
-func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *v20230202ps.AgentPoolNetworkProfile) error {
+func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *storage.AgentPoolNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AllowedHostPorts
if profile.AllowedHostPorts != nil {
- allowedHostPortList := make([]v20230202ps.PortRange, len(profile.AllowedHostPorts))
+ allowedHostPortList := make([]storage.PortRange, len(profile.AllowedHostPorts))
for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
// Shadow the loop variable to avoid aliasing
allowedHostPortItem := allowedHostPortItem
- var allowedHostPort v20230202ps.PortRange
+ var allowedHostPort storage.PortRange
err := allowedHostPortItem.AssignProperties_To_PortRange(&allowedHostPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PortRange() to populate field AllowedHostPorts")
@@ -3507,11 +3541,11 @@ func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProf
// NodePublicIPTags
if profile.NodePublicIPTags != nil {
- nodePublicIPTagList := make([]v20230202ps.IPTag, len(profile.NodePublicIPTags))
+ nodePublicIPTagList := make([]storage.IPTag, len(profile.NodePublicIPTags))
for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
// Shadow the loop variable to avoid aliasing
nodePublicIPTagItem := nodePublicIPTagItem
- var nodePublicIPTag v20230202ps.IPTag
+ var nodePublicIPTag storage.IPTag
err := nodePublicIPTagItem.AssignProperties_To_IPTag(&nodePublicIPTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPTag() to populate field NodePublicIPTags")
@@ -3590,7 +3624,7 @@ func (profile *AgentPoolNetworkProfile_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_AgentPoolNetworkProfile_STATUS populates our AgentPoolNetworkProfile_STATUS from the provided source AgentPoolNetworkProfile_STATUS
-func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *v20230202ps.AgentPoolNetworkProfile_STATUS) error {
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *storage.AgentPoolNetworkProfile_STATUS) error {
// AllowedHostPorts
if source.AllowedHostPorts != nil {
@@ -3636,17 +3670,17 @@ func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNe
}
// AssignProperties_To_AgentPoolNetworkProfile_STATUS populates the provided destination AgentPoolNetworkProfile_STATUS from our AgentPoolNetworkProfile_STATUS
-func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *v20230202ps.AgentPoolNetworkProfile_STATUS) error {
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *storage.AgentPoolNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AllowedHostPorts
if profile.AllowedHostPorts != nil {
- allowedHostPortList := make([]v20230202ps.PortRange_STATUS, len(profile.AllowedHostPorts))
+ allowedHostPortList := make([]storage.PortRange_STATUS, len(profile.AllowedHostPorts))
for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
// Shadow the loop variable to avoid aliasing
allowedHostPortItem := allowedHostPortItem
- var allowedHostPort v20230202ps.PortRange_STATUS
+ var allowedHostPort storage.PortRange_STATUS
err := allowedHostPortItem.AssignProperties_To_PortRange_STATUS(&allowedHostPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PortRange_STATUS() to populate field AllowedHostPorts")
@@ -3663,11 +3697,11 @@ func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetw
// NodePublicIPTags
if profile.NodePublicIPTags != nil {
- nodePublicIPTagList := make([]v20230202ps.IPTag_STATUS, len(profile.NodePublicIPTags))
+ nodePublicIPTagList := make([]storage.IPTag_STATUS, len(profile.NodePublicIPTags))
for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
// Shadow the loop variable to avoid aliasing
nodePublicIPTagItem := nodePublicIPTagItem
- var nodePublicIPTag v20230202ps.IPTag_STATUS
+ var nodePublicIPTag storage.IPTag_STATUS
err := nodePublicIPTagItem.AssignProperties_To_IPTag_STATUS(&nodePublicIPTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPTag_STATUS() to populate field NodePublicIPTags")
@@ -3699,6 +3733,12 @@ const (
AgentPoolType_VirtualMachineScaleSets = AgentPoolType("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType
+var agentPoolType_Values = map[string]AgentPoolType{
+ "availabilityset": AgentPoolType_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_VirtualMachineScaleSets,
+}
+
// The type of Agent Pool.
type AgentPoolType_STATUS string
@@ -3707,6 +3747,12 @@ const (
AgentPoolType_STATUS_VirtualMachineScaleSets = AgentPoolType_STATUS("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType_STATUS
+var agentPoolType_STATUS_Values = map[string]AgentPoolType_STATUS{
+ "availabilityset": AgentPoolType_STATUS_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_STATUS_VirtualMachineScaleSets,
+}
+
// Settings for upgrading an agentpool
type AgentPoolUpgradeSettings struct {
// MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
@@ -3756,7 +3802,7 @@ func (settings *AgentPoolUpgradeSettings) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20230202ps.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// MaxSurge
settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
@@ -3766,7 +3812,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20230202ps.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3818,7 +3864,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20230202ps.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// MaxSurge
settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
@@ -3828,7 +3874,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20230202ps.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3893,7 +3939,7 @@ func (profile *AgentPoolWindowsProfile) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_AgentPoolWindowsProfile populates our AgentPoolWindowsProfile from the provided source AgentPoolWindowsProfile
-func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsProfile(source *v20230202ps.AgentPoolWindowsProfile) error {
+func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsProfile(source *storage.AgentPoolWindowsProfile) error {
// DisableOutboundNat
if source.DisableOutboundNat != nil {
@@ -3908,7 +3954,7 @@ func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsPr
}
// AssignProperties_To_AgentPoolWindowsProfile populates the provided destination AgentPoolWindowsProfile from our AgentPoolWindowsProfile
-func (profile *AgentPoolWindowsProfile) AssignProperties_To_AgentPoolWindowsProfile(destination *v20230202ps.AgentPoolWindowsProfile) error {
+func (profile *AgentPoolWindowsProfile) AssignProperties_To_AgentPoolWindowsProfile(destination *storage.AgentPoolWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3963,7 +4009,7 @@ func (profile *AgentPoolWindowsProfile_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_AgentPoolWindowsProfile_STATUS populates our AgentPoolWindowsProfile_STATUS from the provided source AgentPoolWindowsProfile_STATUS
-func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWindowsProfile_STATUS(source *v20230202ps.AgentPoolWindowsProfile_STATUS) error {
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWindowsProfile_STATUS(source *storage.AgentPoolWindowsProfile_STATUS) error {
// DisableOutboundNat
if source.DisableOutboundNat != nil {
@@ -3978,7 +4024,7 @@ func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWi
}
// AssignProperties_To_AgentPoolWindowsProfile_STATUS populates the provided destination AgentPoolWindowsProfile_STATUS from our AgentPoolWindowsProfile_STATUS
-func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_To_AgentPoolWindowsProfile_STATUS(destination *v20230202ps.AgentPoolWindowsProfile_STATUS) error {
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_To_AgentPoolWindowsProfile_STATUS(destination *storage.AgentPoolWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4017,6 +4063,15 @@ const (
GPUInstanceProfile_MIG7G = GPUInstanceProfile("MIG7g")
)
+// Mapping from string to GPUInstanceProfile
+var gPUInstanceProfile_Values = map[string]GPUInstanceProfile{
+ "mig1g": GPUInstanceProfile_MIG1G,
+ "mig2g": GPUInstanceProfile_MIG2G,
+ "mig3g": GPUInstanceProfile_MIG3G,
+ "mig4g": GPUInstanceProfile_MIG4G,
+ "mig7g": GPUInstanceProfile_MIG7G,
+}
+
// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
type GPUInstanceProfile_STATUS string
@@ -4028,6 +4083,15 @@ const (
GPUInstanceProfile_STATUS_MIG7G = GPUInstanceProfile_STATUS("MIG7g")
)
+// Mapping from string to GPUInstanceProfile_STATUS
+var gPUInstanceProfile_STATUS_Values = map[string]GPUInstanceProfile_STATUS{
+ "mig1g": GPUInstanceProfile_STATUS_MIG1G,
+ "mig2g": GPUInstanceProfile_STATUS_MIG2G,
+ "mig3g": GPUInstanceProfile_STATUS_MIG3G,
+ "mig4g": GPUInstanceProfile_STATUS_MIG4G,
+ "mig7g": GPUInstanceProfile_STATUS_MIG7G,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type KubeletConfig struct {
// AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
@@ -4229,7 +4293,7 @@ func (config *KubeletConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20230202ps.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -4284,7 +4348,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202302
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20230202ps.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4473,7 +4537,7 @@ func (config *KubeletConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20230202ps.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -4523,7 +4587,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20230202ps.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4590,6 +4654,12 @@ const (
KubeletDiskType_Temporary = KubeletDiskType("Temporary")
)
+// Mapping from string to KubeletDiskType
+var kubeletDiskType_Values = map[string]KubeletDiskType{
+ "os": KubeletDiskType_OS,
+ "temporary": KubeletDiskType_Temporary,
+}
+
// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
type KubeletDiskType_STATUS string
@@ -4598,6 +4668,12 @@ const (
KubeletDiskType_STATUS_Temporary = KubeletDiskType_STATUS("Temporary")
)
+// Mapping from string to KubeletDiskType_STATUS
+var kubeletDiskType_STATUS_Values = map[string]KubeletDiskType_STATUS{
+ "os": KubeletDiskType_STATUS_OS,
+ "temporary": KubeletDiskType_STATUS_Temporary,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type LinuxOSConfig struct {
// SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
@@ -4702,7 +4778,7 @@ func (config *LinuxOSConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20230202ps.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -4730,7 +4806,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202302
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20230202ps.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4739,7 +4815,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20230202ps.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -4833,7 +4909,7 @@ func (config *LinuxOSConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20230202ps.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -4861,7 +4937,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20230202ps.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4870,7 +4946,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20230202ps.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -4908,6 +4984,12 @@ const (
OSDiskType_Managed = OSDiskType("Managed")
)
+// Mapping from string to OSDiskType
+var oSDiskType_Values = map[string]OSDiskType{
+ "ephemeral": OSDiskType_Ephemeral,
+ "managed": OSDiskType_Managed,
+}
+
// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
@@ -4918,6 +5000,12 @@ const (
OSDiskType_STATUS_Managed = OSDiskType_STATUS("Managed")
)
+// Mapping from string to OSDiskType_STATUS
+var oSDiskType_STATUS_Values = map[string]OSDiskType_STATUS{
+ "ephemeral": OSDiskType_STATUS_Ephemeral,
+ "managed": OSDiskType_STATUS_Managed,
+}
+
// Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if
// OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
// +kubebuilder:validation:Enum={"CBLMariner","Mariner","Ubuntu","Windows2019","Windows2022"}
@@ -4931,6 +5019,15 @@ const (
OSSKU_Windows2022 = OSSKU("Windows2022")
)
+// Mapping from string to OSSKU
+var oSSKU_Values = map[string]OSSKU{
+ "cblmariner": OSSKU_CBLMariner,
+ "mariner": OSSKU_Mariner,
+ "ubuntu": OSSKU_Ubuntu,
+ "windows2019": OSSKU_Windows2019,
+ "windows2022": OSSKU_Windows2022,
+}
+
// Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if
// OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
type OSSKU_STATUS string
@@ -4943,6 +5040,15 @@ const (
OSSKU_STATUS_Windows2022 = OSSKU_STATUS("Windows2022")
)
+// Mapping from string to OSSKU_STATUS
+var oSSKU_STATUS_Values = map[string]OSSKU_STATUS{
+ "cblmariner": OSSKU_STATUS_CBLMariner,
+ "mariner": OSSKU_STATUS_Mariner,
+ "ubuntu": OSSKU_STATUS_Ubuntu,
+ "windows2019": OSSKU_STATUS_Windows2019,
+ "windows2022": OSSKU_STATUS_Windows2022,
+}
+
// The operating system type. The default is Linux.
// +kubebuilder:validation:Enum={"Linux","Windows"}
type OSType string
@@ -4952,6 +5058,12 @@ const (
OSType_Windows = OSType("Windows")
)
+// Mapping from string to OSType
+var oSType_Values = map[string]OSType{
+ "linux": OSType_Linux,
+ "windows": OSType_Windows,
+}
+
// The operating system type. The default is Linux.
type OSType_STATUS string
@@ -4960,6 +5072,12 @@ const (
OSType_STATUS_Windows = OSType_STATUS("Windows")
)
+// Mapping from string to OSType_STATUS
+var oSType_STATUS_Values = map[string]OSType_STATUS{
+ "linux": OSType_STATUS_Linux,
+ "windows": OSType_STATUS_Windows,
+}
+
// Describes the Power State of the cluster
type PowerState struct {
// Code: Tells whether the cluster is Running or Stopped
@@ -5006,12 +5124,13 @@ func (state *PowerState) PopulateFromARM(owner genruntime.ArbitraryOwnerReferenc
}
// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
-func (state *PowerState) AssignProperties_From_PowerState(source *v20230202ps.PowerState) error {
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
// Code
if source.Code != nil {
- code := PowerState_Code(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -5021,7 +5140,7 @@ func (state *PowerState) AssignProperties_From_PowerState(source *v20230202ps.Po
}
// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
-func (state *PowerState) AssignProperties_To_PowerState(destination *v20230202ps.PowerState) error {
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5054,6 +5173,12 @@ const (
ScaleDownMode_Delete = ScaleDownMode("Delete")
)
+// Mapping from string to ScaleDownMode
+var scaleDownMode_Values = map[string]ScaleDownMode{
+ "deallocate": ScaleDownMode_Deallocate,
+ "delete": ScaleDownMode_Delete,
+}
+
// Describes how VMs are added to or removed from Agent Pools. See [billing
// states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
type ScaleDownMode_STATUS string
@@ -5063,6 +5188,12 @@ const (
ScaleDownMode_STATUS_Delete = ScaleDownMode_STATUS("Delete")
)
+// Mapping from string to ScaleDownMode_STATUS
+var scaleDownMode_STATUS_Values = map[string]ScaleDownMode_STATUS{
+ "deallocate": ScaleDownMode_STATUS_Deallocate,
+ "delete": ScaleDownMode_STATUS_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
// +kubebuilder:validation:Enum={"Deallocate","Delete"}
@@ -5073,6 +5204,12 @@ const (
ScaleSetEvictionPolicy_Delete = ScaleSetEvictionPolicy("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy
+var scaleSetEvictionPolicy_Values = map[string]ScaleSetEvictionPolicy{
+ "deallocate": ScaleSetEvictionPolicy_Deallocate,
+ "delete": ScaleSetEvictionPolicy_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
type ScaleSetEvictionPolicy_STATUS string
@@ -5082,6 +5219,12 @@ const (
ScaleSetEvictionPolicy_STATUS_Delete = ScaleSetEvictionPolicy_STATUS("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy_STATUS
+var scaleSetEvictionPolicy_STATUS_Values = map[string]ScaleSetEvictionPolicy_STATUS{
+ "deallocate": ScaleSetEvictionPolicy_STATUS_Deallocate,
+ "delete": ScaleSetEvictionPolicy_STATUS_Delete,
+}
+
// The Virtual Machine Scale Set priority.
// +kubebuilder:validation:Enum={"Regular","Spot"}
type ScaleSetPriority string
@@ -5091,6 +5234,12 @@ const (
ScaleSetPriority_Spot = ScaleSetPriority("Spot")
)
+// Mapping from string to ScaleSetPriority
+var scaleSetPriority_Values = map[string]ScaleSetPriority{
+ "regular": ScaleSetPriority_Regular,
+ "spot": ScaleSetPriority_Spot,
+}
+
// The Virtual Machine Scale Set priority.
type ScaleSetPriority_STATUS string
@@ -5099,6 +5248,12 @@ const (
ScaleSetPriority_STATUS_Spot = ScaleSetPriority_STATUS("Spot")
)
+// Mapping from string to ScaleSetPriority_STATUS
+var scaleSetPriority_STATUS_Values = map[string]ScaleSetPriority_STATUS{
+ "regular": ScaleSetPriority_STATUS_Regular,
+ "spot": ScaleSetPriority_STATUS_Spot,
+}
+
// Determines the type of workload a node can run.
// +kubebuilder:validation:Enum={"KataMshvVmIsolation","OCIContainer","WasmWasi"}
type WorkloadRuntime string
@@ -5109,6 +5264,13 @@ const (
WorkloadRuntime_WasmWasi = WorkloadRuntime("WasmWasi")
)
+// Mapping from string to WorkloadRuntime
+var workloadRuntime_Values = map[string]WorkloadRuntime{
+ "katamshvvmisolation": WorkloadRuntime_KataMshvVmIsolation,
+ "ocicontainer": WorkloadRuntime_OCIContainer,
+ "wasmwasi": WorkloadRuntime_WasmWasi,
+}
+
// Determines the type of workload a node can run.
type WorkloadRuntime_STATUS string
@@ -5118,6 +5280,13 @@ const (
WorkloadRuntime_STATUS_WasmWasi = WorkloadRuntime_STATUS("WasmWasi")
)
+// Mapping from string to WorkloadRuntime_STATUS
+var workloadRuntime_STATUS_Values = map[string]WorkloadRuntime_STATUS{
+ "katamshvvmisolation": WorkloadRuntime_STATUS_KataMshvVmIsolation,
+ "ocicontainer": WorkloadRuntime_STATUS_OCIContainer,
+ "wasmwasi": WorkloadRuntime_STATUS_WasmWasi,
+}
+
// Contains the IPTag associated with the object.
type IPTag struct {
// IpTagType: The IP tag type. Example: RoutingPreference.
@@ -5179,7 +5348,7 @@ func (ipTag *IPTag) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_IPTag populates our IPTag from the provided source IPTag
-func (ipTag *IPTag) AssignProperties_From_IPTag(source *v20230202ps.IPTag) error {
+func (ipTag *IPTag) AssignProperties_From_IPTag(source *storage.IPTag) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -5192,7 +5361,7 @@ func (ipTag *IPTag) AssignProperties_From_IPTag(source *v20230202ps.IPTag) error
}
// AssignProperties_To_IPTag populates the provided destination IPTag from our IPTag
-func (ipTag *IPTag) AssignProperties_To_IPTag(destination *v20230202ps.IPTag) error {
+func (ipTag *IPTag) AssignProperties_To_IPTag(destination *storage.IPTag) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5253,7 +5422,7 @@ func (ipTag *IPTag_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_IPTag_STATUS populates our IPTag_STATUS from the provided source IPTag_STATUS
-func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *v20230202ps.IPTag_STATUS) error {
+func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *storage.IPTag_STATUS) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -5266,7 +5435,7 @@ func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *v20230202p
}
// AssignProperties_To_IPTag_STATUS populates the provided destination IPTag_STATUS from our IPTag_STATUS
-func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *v20230202ps.IPTag_STATUS) error {
+func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *storage.IPTag_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5369,7 +5538,7 @@ func (portRange *PortRange) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_PortRange populates our PortRange from the provided source PortRange
-func (portRange *PortRange) AssignProperties_From_PortRange(source *v20230202ps.PortRange) error {
+func (portRange *PortRange) AssignProperties_From_PortRange(source *storage.PortRange) error {
// PortEnd
if source.PortEnd != nil {
@@ -5389,8 +5558,9 @@ func (portRange *PortRange) AssignProperties_From_PortRange(source *v20230202ps.
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol(*source.Protocol)
- portRange.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_Values)
+ portRange.Protocol = &protocolTemp
} else {
portRange.Protocol = nil
}
@@ -5400,7 +5570,7 @@ func (portRange *PortRange) AssignProperties_From_PortRange(source *v20230202ps.
}
// AssignProperties_To_PortRange populates the provided destination PortRange from our PortRange
-func (portRange *PortRange) AssignProperties_To_PortRange(destination *v20230202ps.PortRange) error {
+func (portRange *PortRange) AssignProperties_To_PortRange(destination *storage.PortRange) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5490,7 +5660,7 @@ func (portRange *PortRange_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_PortRange_STATUS populates our PortRange_STATUS from the provided source PortRange_STATUS
-func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *v20230202ps.PortRange_STATUS) error {
+func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *storage.PortRange_STATUS) error {
// PortEnd
portRange.PortEnd = genruntime.ClonePointerToInt(source.PortEnd)
@@ -5500,8 +5670,9 @@ func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol_STATUS(*source.Protocol)
- portRange.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_STATUS_Values)
+ portRange.Protocol = &protocolTemp
} else {
portRange.Protocol = nil
}
@@ -5511,7 +5682,7 @@ func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source
}
// AssignProperties_To_PortRange_STATUS populates the provided destination PortRange_STATUS from our PortRange_STATUS
-func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *v20230202ps.PortRange_STATUS) error {
+func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *storage.PortRange_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5548,6 +5719,12 @@ const (
PowerState_Code_Stopped = PowerState_Code("Stopped")
)
+// Mapping from string to PowerState_Code
+var powerState_Code_Values = map[string]PowerState_Code{
+ "running": PowerState_Code_Running,
+ "stopped": PowerState_Code_Stopped,
+}
+
// Sysctl settings for Linux agent nodes.
type SysctlConfig struct {
// FsAioMaxNr: Sysctl setting fs.aio-max-nr.
@@ -5999,7 +6176,7 @@ func (config *SysctlConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20230202ps.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -6095,7 +6272,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20230202
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20230202ps.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6473,7 +6650,7 @@ func (config *SysctlConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20230202ps.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -6569,7 +6746,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20230202ps.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6681,6 +6858,12 @@ const (
PortRange_Protocol_UDP = PortRange_Protocol("UDP")
)
+// Mapping from string to PortRange_Protocol
+var portRange_Protocol_Values = map[string]PortRange_Protocol{
+ "tcp": PortRange_Protocol_TCP,
+ "udp": PortRange_Protocol_UDP,
+}
+
type PortRange_Protocol_STATUS string
const (
@@ -6688,6 +6871,12 @@ const (
PortRange_Protocol_STATUS_UDP = PortRange_Protocol_STATUS("UDP")
)
+// Mapping from string to PortRange_Protocol_STATUS
+var portRange_Protocol_STATUS_Values = map[string]PortRange_Protocol_STATUS{
+ "tcp": PortRange_Protocol_STATUS_TCP,
+ "udp": PortRange_Protocol_STATUS_UDP,
+}
+
func init() {
SchemeBuilder.Register(&ManagedClustersAgentPool{}, &ManagedClustersAgentPoolList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
index 37d7bdd26f..eb8bb1e907 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
@@ -43,3 +43,12 @@ const (
TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Succeeded = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Succeeded")
TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Updating = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Updating")
)
+
+// Mapping from string to TrustedAccessRoleBindingProperties_ProvisioningState_STATUS
+var trustedAccessRoleBindingProperties_ProvisioningState_STATUS_Values = map[string]TrustedAccessRoleBindingProperties_ProvisioningState_STATUS{
+ "canceled": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Canceled,
+ "deleting": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Deleting,
+ "failed": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Failed,
+ "succeeded": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Succeeded,
+ "updating": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Updating,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/managed_cluster_types_gen.go
index ecd87f7bd7..6f7370274e 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/managed_cluster_types_gen.go
@@ -96,6 +96,13 @@ func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ ge
}
}
}
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.Identity != nil {
+ if cluster.Status.Identity.PrincipalId != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId, *cluster.Status.Identity.PrincipalId)
+ }
+ }
+ }
result, err := collector.Values()
if err != nil {
return nil, err
@@ -8191,12 +8198,12 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// Storage version of v1api20230202preview.ManagedClusterWindowsProfile
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
- AdminUsername *string `json:"adminUsername,omitempty"`
- EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
- GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
- LicenseType *string `json:"licenseType,omitempty"`
- PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
@@ -8205,7 +8212,12 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -8259,7 +8271,12 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -8310,7 +8327,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Storage version of v1api20230202preview.ManagedClusterWindowsProfile_STATUS
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
AdminUsername *string `json:"adminUsername,omitempty"`
EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
GmsaProfile *WindowsGmsaProfile_STATUS `json:"gmsaProfile,omitempty"`
@@ -8323,9 +8339,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
-
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -8377,9 +8390,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -11141,6 +11151,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// Storage version of v1api20230202preview.ManagedClusterOperatorConfigMaps
type ManagedClusterOperatorConfigMaps struct {
OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
@@ -11157,6 +11168,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
maps.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if source.PrincipalId != nil {
+ principalId := source.PrincipalId.Copy()
+ maps.PrincipalId = &principalId
+ } else {
+ maps.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
maps.PropertyBag = propertyBag
@@ -11190,6 +11209,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedCluster
destination.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if maps.PrincipalId != nil {
+ principalId := maps.PrincipalId.Copy()
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
destination.PropertyBag = propertyBag
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/structure.txt
index 939e290ac4..a1edda14fd 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/structure.txt
@@ -1,877 +1,26 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage
-├── APIVersion: Enum (1 value)
-│ └── "2023-02-02-preview"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (45 properties)
-│ │ ├── AadProfile: *Object (8 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AgentPoolProfiles: Object (45 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *string
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *string
-│ │ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (4 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Protocol: *string
-│ │ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
-│ │ │ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ │ │ ├── IpTagType: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Tag: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *string
-│ │ │ ├── OsSKU: *string
-│ │ │ ├── OsType: *string
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (2 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *string
-│ │ │ ├── ScaleSetPriority: *string
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *string
-│ │ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── WindowsProfile: *Object (2 properties)
-│ │ │ │ ├── DisableOutboundNat: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WorkloadRuntime: *string
-│ │ ├── ApiServerAccessProfile: *Object (8 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (18 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *string
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (3 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UpgradeChannel: *string
-│ │ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ │ ├── Metrics: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AzureName: string
-│ │ ├── CreationData: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── GuardrailsProfile: *Object (4 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Version: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (3 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Type: *string
-│ │ │ └── UserAssignedIdentities: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── IngressProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WebAppRouting: *Object (3 properties)
-│ │ │ ├── DnsZoneResourceReference: *genruntime.ResourceReference
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (3 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Ssh: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PublicKeys: Object (2 properties)[]
-│ │ │ ├── KeyData: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (18 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── IpFamilies: string[]
-│ │ │ ├── KubeProxyConfig: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (5 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── Scheduler: *string
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ ├── Mode: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerProfile: *Object (9 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *string
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ ├── CountIPv6: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerSku: *string
-│ │ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NetworkDataplane: *string
-│ │ │ ├── NetworkMode: *string
-│ │ │ ├── NetworkPlugin: *string
-│ │ │ ├── NetworkPluginMode: *string
-│ │ │ ├── NetworkPolicy: *string
-│ │ │ ├── OutboundType: *string
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RestrictionLevel: *string
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── OperatorSpec: *Object (3 properties)
-│ │ │ ├── ConfigMaps: *Object (2 properties)
-│ │ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secrets: *Object (3 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (5 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── UserAssignedIdentities: Object (5 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PodLabels: map[string]string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
+--------------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-02-02-preview"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (45 properties)
+│ ├── AadProfile: *Object (8 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicNetworkAccess: *string
-│ │ ├── SecurityProfile: *Object (7 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── CustomCATrustCertificates: string[]
-│ │ │ ├── Defender: *Object (3 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IntervalHours: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NodeRestriction: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceMeshProfile: *Object (3 properties)
-│ │ │ ├── Istio: *Object (2 properties)
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ ├── Mode: *string
-│ │ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Mode: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServicePrincipalProfile: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── StorageProfile: *Object (5 properties)
-│ │ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── DiskCSIDriver: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SnapshotController: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Tags: map[string]string
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── OverrideSettings: *Object (3 properties)
-│ │ │ │ ├── ControlPlaneOverrides: string[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Until: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── WindowsProfile: *Object (6 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── RootDomainName: *string
-│ │ │ ├── LicenseType: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadAutoScalerProfile: *Object (3 properties)
-│ │ ├── Keda: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── VerticalPodAutoscaler: *Object (4 properties)
-│ │ ├── ControlledValues: *string
-│ │ ├── Enabled: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── UpdateMode: *string
-│ └── Status: Object (53 properties)
-│ ├── AadProfile: *Object (8 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (4 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AgentPoolProfiles: Object (48 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── CapacityReservationGroupID: *string
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableCustomCATrust: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *string
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *string
-│ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MessageOfTheDay: *string
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *string
-│ │ ├── Name: *string
-│ │ ├── NetworkProfile: *Object (4 properties)
-│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ │ ├── PortEnd: *int
-│ │ │ │ ├── PortStart: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Protocol: *string
-│ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Tag: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *string
-│ │ ├── OsSKU: *string
-│ │ ├── OsType: *string
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (2 properties)
-│ │ │ ├── Code: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *string
-│ │ ├── ScaleSetEvictionPolicy: *string
-│ │ ├── ScaleSetPriority: *string
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *string
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── MaxSurge: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ ├── WindowsProfile: *Object (2 properties)
-│ │ │ ├── DisableOutboundNat: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadRuntime: *string
-│ ├── ApiServerAccessProfile: *Object (8 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── EnableVnetIntegration: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SubnetId: *string
-│ ├── AutoScalerProfile: *Object (18 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *string
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (3 properties)
-│ │ ├── NodeOSUpgradeChannel: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── UpgradeChannel: *string
-│ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ ├── Metrics: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CreationData: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SourceResourceId: *string
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnableNamespaceResources: *bool
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── GuardrailsProfile: *Object (5 properties)
-│ │ ├── ExcludedNamespaces: string[]
-│ │ ├── Level: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── SystemExcludedNamespaces: string[]
-│ │ └── Version: *string
-│ ├── HttpProxyConfig: *Object (6 properties)
-│ │ ├── EffectiveNoProxy: string[]
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── TenantId: *string
-│ │ ├── Type: *string
-│ │ └── UserAssignedIdentities: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── PrincipalId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ResourceId: *string
-│ ├── IngressProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── WebAppRouting: *Object (4 properties)
-│ │ ├── DnsZoneResourceId: *string
-│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (3 properties)
-│ │ ├── AdminUsername: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Ssh: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── PublicKeys: Object (2 properties)[]
-│ │ ├── KeyData: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (18 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── DockerBridgeCidr: *string
-│ │ ├── IpFamilies: string[]
-│ │ ├── KubeProxyConfig: *Object (4 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IpvsConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Scheduler: *string
-│ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ ├── Mode: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerProfile: *Object (9 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendPoolType: *string
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ ├── CountIPv6: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerSku: *string
-│ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NetworkDataplane: *string
-│ │ ├── NetworkMode: *string
-│ │ ├── NetworkPlugin: *string
-│ │ ├── NetworkPluginMode: *string
-│ │ ├── NetworkPolicy: *string
-│ │ ├── OutboundType: *string
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeResourceGroup: *string
-│ ├── NodeResourceGroupProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── RestrictionLevel: *string
-│ ├── OidcIssuerProfile: *Object (3 properties)
-│ │ ├── Enabled: *bool
-│ │ ├── IssuerURL: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PodIdentityProfile: *Object (5 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── UserAssignedIdentities: Object (7 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProvisioningInfo: *Object (2 properties)
-│ │ │ │ ├── Error: *Object (2 properties)
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ProvisioningState: *string
-│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ ├── PodLabels: map[string]string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (7 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *string
-│ ├── SecurityProfile: *Object (7 properties)
-│ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ ├── KeyVaultResourceId: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── CustomCATrustCertificates: string[]
-│ │ ├── Defender: *Object (3 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IntervalHours: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NodeRestriction: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServiceMeshProfile: *Object (3 properties)
-│ │ ├── Istio: *Object (2 properties)
-│ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ ├── Mode: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Mode: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── StorageProfile: *Object (5 properties)
-│ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── DiskCSIDriver: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Version: *string
-│ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SnapshotController: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── OverrideSettings: *Object (3 properties)
-│ │ │ ├── ControlPlaneOverrides: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Until: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── WindowsProfile: *Object (6 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RootDomainName: *string
-│ │ ├── LicenseType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── WorkloadAutoScalerProfile: *Object (3 properties)
-│ ├── Keda: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ └── VerticalPodAutoscaler: *Object (4 properties)
-│ ├── ControlledValues: *string
-│ ├── Enabled: *bool
-│ ├── PropertyBag: genruntime.PropertyBag
-│ └── UpdateMode: *string
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: containerservice/v1api20230202preview.ManagedCluster
-│ ├── Spec: Object (47 properties)
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AgentPoolProfiles: Object (45 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── CapacityReservationGroupID: *string
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (2 properties)
@@ -939,6 +88,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── MessageOfTheDay: *string
│ │ ├── MinCount: *int
│ │ ├── Mode: *string
+│ │ ├── Name: *string
│ │ ├── NetworkProfile: *Object (4 properties)
│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
│ │ │ │ ├── PortEnd: *int
@@ -955,12 +105,10 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
│ │ ├── NodeTaints: string[]
│ │ ├── OrchestratorVersion: *string
-│ │ ├── OriginalVersion: string
│ │ ├── OsDiskSizeGB: *int
│ │ ├── OsDiskType: *string
│ │ ├── OsSKU: *string
│ │ ├── OsType: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (2 properties)
│ │ │ ├── Code: *string
@@ -982,286 +130,1142 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ │ ├── DisableOutboundNat: *bool
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ └── WorkloadRuntime: *string
-│ └── Status: Object (51 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── CapacityReservationGroupID: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableCustomCATrust: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *string
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (12 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *string
-│ ├── LinuxOSConfig: *Object (5 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (29 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MessageOfTheDay: *string
-│ ├── MinCount: *int
-│ ├── Mode: *string
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (4 properties)
-│ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ ├── PortEnd: *int
-│ │ │ ├── PortStart: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Protocol: *string
-│ │ ├── ApplicationSecurityGroups: string[]
-│ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tag: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *string
-│ ├── OsSKU: *string
-│ ├── OsType: *string
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertiesType: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *string
-│ ├── ScaleSetEvictionPolicy: *string
-│ ├── ScaleSetPriority: *string
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── MaxSurge: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ ├── WindowsProfile: *Object (2 properties)
-│ │ ├── DisableOutboundNat: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── WorkloadRuntime: *string
-├── TrustedAccessRoleBinding: Resource
-│ ├── Owner: containerservice/v1api20230202preview.ManagedCluster
-│ ├── Spec: Object (6 properties)
-│ │ ├── AzureName: string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ ├── ApiServerAccessProfile: *Object (8 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (18 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *string
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (3 properties)
+│ │ ├── NodeOSUpgradeChannel: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UpgradeChannel: *string
+│ ├── AzureMonitorProfile: *Object (2 properties)
+│ │ ├── Metrics: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KubeStateMetrics: *Object (3 properties)
+│ │ │ │ ├── MetricAnnotationsAllowList: *string
+│ │ │ │ ├── MetricLabelsAllowlist: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── CreationData: *Object (2 properties)
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Roles: string[]
│ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ └── Status: Object (9 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── Roles: string[]
-│ ├── SourceResourceId: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── FqdnSubdomain: *string
+│ ├── GuardrailsProfile: *Object (4 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Version: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (3 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (4 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── IngressProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WebAppRouting: *Object (3 properties)
+│ │ ├── DnsZoneResourceReference: *genruntime.ResourceReference
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (3 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Ssh: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicKeys: Object (2 properties)[]
+│ │ ├── KeyData: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (18 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── IpFamilies: string[]
+│ │ ├── KubeProxyConfig: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (5 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── Scheduler: *string
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ ├── Mode: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerProfile: *Object (9 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *string
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ ├── CountIPv6: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── OutboundIPs: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerSku: *string
+│ │ ├── NatGatewayProfile: *Object (4 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NetworkDataplane: *string
+│ │ ├── NetworkMode: *string
+│ │ ├── NetworkPlugin: *string
+│ │ ├── NetworkPluginMode: *string
+│ │ ├── NetworkPolicy: *string
+│ │ ├── OutboundType: *string
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RestrictionLevel: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OperatorSpec: *Object (3 properties)
+│ │ ├── ConfigMaps: *Object (3 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ ├── PrincipalId: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secrets: *Object (3 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (5 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── UserAssignedIdentities: Object (5 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (4 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ ├── PodLabels: map[string]string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicNetworkAccess: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (5 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *string
+│ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── CustomCATrustCertificates: string[]
+│ │ ├── Defender: *Object (3 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SecurityMonitoring: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageCleaner: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IntervalHours: *int
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NodeRestriction: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WorkloadIdentity: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServiceMeshProfile: *Object (3 properties)
+│ │ ├── Istio: *Object (2 properties)
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── IngressGateways: Object (3 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ ├── Mode: *string
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── Mode: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServicePrincipalProfile: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── StorageProfile: *Object (5 properties)
+│ │ ├── BlobCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── DiskCSIDriver: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SnapshotController: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── OverrideSettings: *Object (3 properties)
+│ │ │ ├── ControlPlaneOverrides: string[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Until: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── WindowsProfile: *Object (6 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (4 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── RootDomainName: *string
+│ │ ├── LicenseType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadAutoScalerProfile: *Object (3 properties)
+│ ├── Keda: *Object (2 properties)
+│ │ ├── Enabled: *bool
│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Type: *string
-├── augmentConversionForAgentPoolNetworkProfile: Interface
-├── augmentConversionForAgentPoolNetworkProfile_STATUS: Interface
-├── augmentConversionForAgentPoolUpgradeSettings: Interface
-├── augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
-├── augmentConversionForAzureKeyVaultKms: Interface
-├── augmentConversionForAzureKeyVaultKms_STATUS: Interface
-├── augmentConversionForClusterUpgradeSettings: Interface
-├── augmentConversionForClusterUpgradeSettings_STATUS: Interface
-├── augmentConversionForContainerServiceLinuxProfile: Interface
-├── augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
-├── augmentConversionForContainerServiceNetworkProfile: Interface
-├── augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
-├── augmentConversionForContainerServiceSshConfiguration: Interface
-├── augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
-├── augmentConversionForContainerServiceSshPublicKey: Interface
-├── augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
-├── augmentConversionForCreationData: Interface
-├── augmentConversionForCreationData_STATUS: Interface
-├── augmentConversionForExtendedLocation: Interface
-├── augmentConversionForExtendedLocation_STATUS: Interface
-├── augmentConversionForIPTag: Interface
-├── augmentConversionForIPTag_STATUS: Interface
-├── augmentConversionForIstioComponents: Interface
-├── augmentConversionForIstioComponents_STATUS: Interface
-├── augmentConversionForIstioIngressGateway: Interface
-├── augmentConversionForIstioIngressGateway_STATUS: Interface
-├── augmentConversionForIstioServiceMesh: Interface
-├── augmentConversionForIstioServiceMesh_STATUS: Interface
-├── augmentConversionForKubeletConfig: Interface
-├── augmentConversionForKubeletConfig_STATUS: Interface
-├── augmentConversionForLinuxOSConfig: Interface
-├── augmentConversionForLinuxOSConfig_STATUS: Interface
-├── augmentConversionForManagedCluster: Interface
-├── augmentConversionForManagedClusterAADProfile: Interface
-├── augmentConversionForManagedClusterAADProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAddonProfile: Interface
-├── augmentConversionForManagedClusterAddonProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfile: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity: Interface
-├── augmentConversionForManagedClusterIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
-├── augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
-├── augmentConversionForManagedClusterNATGatewayProfile: Interface
-├── augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOIDCIssuerProfile: Interface
-├── augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOperatorConfigMaps: Interface
-├── augmentConversionForManagedClusterOperatorSecrets: Interface
-├── augmentConversionForManagedClusterOperatorSpec: Interface
-├── augmentConversionForManagedClusterPodIdentity: Interface
-├── augmentConversionForManagedClusterPodIdentityException: Interface
-├── augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterSKU: Interface
-├── augmentConversionForManagedClusterSKU_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfile: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefender: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
-├── augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
-├── augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfile: Interface
-├── augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
-├── augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWindowsProfile: Interface
-├── augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedCluster_STATUS: Interface
-├── augmentConversionForManagedCluster_Spec: Interface
-├── augmentConversionForManagedClustersAgentPool: Interface
-├── augmentConversionForManagedClusters_AgentPool_STATUS: Interface
-├── augmentConversionForManagedClusters_AgentPool_Spec: Interface
-├── augmentConversionForPortRange: Interface
-├── augmentConversionForPortRange_STATUS: Interface
-├── augmentConversionForPowerState: Interface
-├── augmentConversionForPowerState_STATUS: Interface
-├── augmentConversionForPrivateLinkResource: Interface
-├── augmentConversionForPrivateLinkResource_STATUS: Interface
-├── augmentConversionForResourceReference: Interface
-├── augmentConversionForResourceReference_STATUS: Interface
-├── augmentConversionForServiceMeshProfile: Interface
-├── augmentConversionForServiceMeshProfile_STATUS: Interface
-├── augmentConversionForSysctlConfig: Interface
-├── augmentConversionForSysctlConfig_STATUS: Interface
-├── augmentConversionForSystemData_STATUS: Interface
-├── augmentConversionForUpgradeOverrideSettings: Interface
-├── augmentConversionForUpgradeOverrideSettings_STATUS: Interface
-├── augmentConversionForUserAssignedIdentity: Interface
-├── augmentConversionForUserAssignedIdentityDetails: Interface
-├── augmentConversionForUserAssignedIdentity_STATUS: Interface
-├── augmentConversionForWindowsGmsaProfile: Interface
-└── augmentConversionForWindowsGmsaProfile_STATUS: Interface
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── VerticalPodAutoscaler: *Object (4 properties)
+│ ├── ControlledValues: *string
+│ ├── Enabled: *bool
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── UpdateMode: *string
+└── Status: Object (53 properties)
+ ├── AadProfile: *Object (8 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (4 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AgentPoolProfiles: Object (48 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableCustomCATrust: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *string
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (12 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *string
+ │ ├── LinuxOSConfig: *Object (5 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (29 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MessageOfTheDay: *string
+ │ ├── MinCount: *int
+ │ ├── Mode: *string
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (4 properties)
+ │ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Protocol: *string
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ │ ├── IpTagType: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Tag: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *string
+ │ ├── OsSKU: *string
+ │ ├── OsType: *string
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (2 properties)
+ │ │ ├── Code: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *string
+ │ ├── ScaleSetEvictionPolicy: *string
+ │ ├── ScaleSetPriority: *string
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *string
+ │ ├── UpgradeSettings: *Object (2 properties)
+ │ │ ├── MaxSurge: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ ├── WindowsProfile: *Object (2 properties)
+ │ │ ├── DisableOutboundNat: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadRuntime: *string
+ ├── ApiServerAccessProfile: *Object (8 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── EnableVnetIntegration: *bool
+ │ ├── PrivateDNSZone: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SubnetId: *string
+ ├── AutoScalerProfile: *Object (18 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *string
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (3 properties)
+ │ ├── NodeOSUpgradeChannel: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UpgradeChannel: *string
+ ├── AzureMonitorProfile: *Object (2 properties)
+ │ ├── Metrics: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KubeStateMetrics: *Object (3 properties)
+ │ │ │ ├── MetricAnnotationsAllowList: *string
+ │ │ │ ├── MetricLabelsAllowlist: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnableNamespaceResources: *bool
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── GuardrailsProfile: *Object (5 properties)
+ │ ├── ExcludedNamespaces: string[]
+ │ ├── Level: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SystemExcludedNamespaces: string[]
+ │ └── Version: *string
+ ├── HttpProxyConfig: *Object (6 properties)
+ │ ├── EffectiveNoProxy: string[]
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IdentityProfile: map[string]Object (4 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ResourceId: *string
+ ├── IngressProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WebAppRouting: *Object (4 properties)
+ │ ├── DnsZoneResourceId: *string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (3 properties)
+ │ ├── AdminUsername: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Ssh: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicKeys: Object (2 properties)[]
+ │ ├── KeyData: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (18 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── DockerBridgeCidr: *string
+ │ ├── IpFamilies: string[]
+ │ ├── KubeProxyConfig: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IpvsConfig: *Object (5 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── Scheduler: *string
+ │ │ │ ├── TcpFinTimeoutSeconds: *int
+ │ │ │ ├── TcpTimeoutSeconds: *int
+ │ │ │ └── UdpTimeoutSeconds: *int
+ │ │ ├── Mode: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerProfile: *Object (9 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *string
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ ├── CountIPv6: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPs: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerSku: *string
+ │ ├── NatGatewayProfile: *Object (4 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NetworkDataplane: *string
+ │ ├── NetworkMode: *string
+ │ ├── NetworkPlugin: *string
+ │ ├── NetworkPluginMode: *string
+ │ ├── NetworkPolicy: *string
+ │ ├── OutboundType: *string
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeResourceGroup: *string
+ ├── NodeResourceGroupProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── RestrictionLevel: *string
+ ├── OidcIssuerProfile: *Object (3 properties)
+ │ ├── Enabled: *bool
+ │ ├── IssuerURL: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PodIdentityProfile: *Object (5 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── UserAssignedIdentities: Object (7 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (4 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningInfo: *Object (2 properties)
+ │ │ │ ├── Error: *Object (2 properties)
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── ProvisioningState: *string
+ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ ├── PodLabels: map[string]string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (7 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *string
+ ├── SecurityProfile: *Object (7 properties)
+ │ ├── AzureKeyVaultKms: *Object (5 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *string
+ │ │ ├── KeyVaultResourceId: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── CustomCATrustCertificates: string[]
+ │ ├── Defender: *Object (3 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SecurityMonitoring: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageCleaner: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IntervalHours: *int
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeRestriction: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadIdentity: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceMeshProfile: *Object (3 properties)
+ │ ├── Istio: *Object (2 properties)
+ │ │ ├── Components: *Object (2 properties)
+ │ │ │ ├── IngressGateways: Object (3 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ ├── Mode: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Mode: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServicePrincipalProfile: *Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── StorageProfile: *Object (5 properties)
+ │ ├── BlobCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── DiskCSIDriver: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Version: *string
+ │ ├── FileCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SnapshotController: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── OverrideSettings: *Object (3 properties)
+ │ │ ├── ControlPlaneOverrides: string[]
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Until: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── WindowsProfile: *Object (5 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (4 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── RootDomainName: *string
+ │ ├── LicenseType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadAutoScalerProfile: *Object (3 properties)
+ ├── Keda: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ └── VerticalPodAutoscaler: *Object (4 properties)
+ ├── ControlledValues: *string
+ ├── Enabled: *bool
+ ├── PropertyBag: genruntime.PropertyBag
+ └── UpdateMode: *string
+ManagedClustersAgentPool: Resource
+├── Owner: containerservice/v1api20230202preview.ManagedCluster
+├── Spec: Object (47 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── CapacityReservationGroupID: *string
+│ ├── Count: *int
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *string
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (12 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *string
+│ ├── LinuxOSConfig: *Object (5 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (29 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *string
+│ ├── NetworkProfile: *Object (4 properties)
+│ │ ├── AllowedHostPorts: Object (4 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Protocol: *string
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ ├── NodePublicIPTags: Object (3 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Tag: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OriginalVersion: string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *string
+│ ├── OsSKU: *string
+│ ├── OsType: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (2 properties)
+│ │ ├── Code: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *string
+│ ├── ScaleSetEvictionPolicy: *string
+│ ├── ScaleSetPriority: *string
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── MaxSurge: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ ├── WindowsProfile: *Object (2 properties)
+│ │ ├── DisableOutboundNat: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadRuntime: *string
+└── Status: Object (51 properties)
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *string
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (12 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *string
+ ├── LinuxOSConfig: *Object (5 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (29 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *string
+ ├── Name: *string
+ ├── NetworkProfile: *Object (4 properties)
+ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Protocol: *string
+ │ ├── ApplicationSecurityGroups: string[]
+ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Tag: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *string
+ ├── OsSKU: *string
+ ├── OsType: *string
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertiesType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *string
+ ├── ScaleSetEvictionPolicy: *string
+ ├── ScaleSetPriority: *string
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── MaxSurge: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (2 properties)
+ │ ├── DisableOutboundNat: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadRuntime: *string
+TrustedAccessRoleBinding: Resource
+├── Owner: containerservice/v1api20230202preview.ManagedCluster
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Roles: string[]
+│ └── SourceResourceReference: *genruntime.ResourceReference
+└── Status: Object (9 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Roles: string[]
+ ├── SourceResourceId: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── Type: *string
+augmentConversionForAgentPoolNetworkProfile: Interface
+augmentConversionForAgentPoolNetworkProfile_STATUS: Interface
+augmentConversionForAgentPoolUpgradeSettings: Interface
+augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
+augmentConversionForAzureKeyVaultKms: Interface
+augmentConversionForAzureKeyVaultKms_STATUS: Interface
+augmentConversionForClusterUpgradeSettings: Interface
+augmentConversionForClusterUpgradeSettings_STATUS: Interface
+augmentConversionForContainerServiceLinuxProfile: Interface
+augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile: Interface
+augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
+augmentConversionForContainerServiceSshConfiguration: Interface
+augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
+augmentConversionForContainerServiceSshPublicKey: Interface
+augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
+augmentConversionForCreationData: Interface
+augmentConversionForCreationData_STATUS: Interface
+augmentConversionForExtendedLocation: Interface
+augmentConversionForExtendedLocation_STATUS: Interface
+augmentConversionForIPTag: Interface
+augmentConversionForIPTag_STATUS: Interface
+augmentConversionForIstioComponents: Interface
+augmentConversionForIstioComponents_STATUS: Interface
+augmentConversionForIstioIngressGateway: Interface
+augmentConversionForIstioIngressGateway_STATUS: Interface
+augmentConversionForIstioServiceMesh: Interface
+augmentConversionForIstioServiceMesh_STATUS: Interface
+augmentConversionForKubeletConfig: Interface
+augmentConversionForKubeletConfig_STATUS: Interface
+augmentConversionForLinuxOSConfig: Interface
+augmentConversionForLinuxOSConfig_STATUS: Interface
+augmentConversionForManagedCluster: Interface
+augmentConversionForManagedClusterAADProfile: Interface
+augmentConversionForManagedClusterAADProfile_STATUS: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
+augmentConversionForManagedClusterAddonProfile: Interface
+augmentConversionForManagedClusterAddonProfile_STATUS: Interface
+augmentConversionForManagedClusterAgentPoolProfile: Interface
+augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
+augmentConversionForManagedClusterHTTPProxyConfig: Interface
+augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
+augmentConversionForManagedClusterIdentity: Interface
+augmentConversionForManagedClusterIdentity_STATUS: Interface
+augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
+augmentConversionForManagedClusterNATGatewayProfile: Interface
+augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
+augmentConversionForManagedClusterOperatorConfigMaps: Interface
+augmentConversionForManagedClusterOperatorSecrets: Interface
+augmentConversionForManagedClusterOperatorSpec: Interface
+augmentConversionForManagedClusterPodIdentity: Interface
+augmentConversionForManagedClusterPodIdentityException: Interface
+augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProfile: Interface
+augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_STATUS: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
+augmentConversionForManagedClusterSKU: Interface
+augmentConversionForManagedClusterSKU_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile: Interface
+augmentConversionForManagedClusterSecurityProfileDefender: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
+augmentConversionForManagedClusterServicePrincipalProfile: Interface
+augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile_STATUS: Interface
+augmentConversionForManagedClusterWindowsProfile: Interface
+augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
+augmentConversionForManagedCluster_STATUS: Interface
+augmentConversionForManagedCluster_Spec: Interface
+augmentConversionForManagedClustersAgentPool: Interface
+augmentConversionForManagedClusters_AgentPool_STATUS: Interface
+augmentConversionForManagedClusters_AgentPool_Spec: Interface
+augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS: Interface
+augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec: Interface
+augmentConversionForPortRange: Interface
+augmentConversionForPortRange_STATUS: Interface
+augmentConversionForPowerState: Interface
+augmentConversionForPowerState_STATUS: Interface
+augmentConversionForPrivateLinkResource: Interface
+augmentConversionForPrivateLinkResource_STATUS: Interface
+augmentConversionForResourceReference: Interface
+augmentConversionForResourceReference_STATUS: Interface
+augmentConversionForServiceMeshProfile: Interface
+augmentConversionForServiceMeshProfile_STATUS: Interface
+augmentConversionForSysctlConfig: Interface
+augmentConversionForSysctlConfig_STATUS: Interface
+augmentConversionForSystemData_STATUS: Interface
+augmentConversionForTrustedAccessRoleBinding: Interface
+augmentConversionForUpgradeOverrideSettings: Interface
+augmentConversionForUpgradeOverrideSettings_STATUS: Interface
+augmentConversionForUserAssignedIdentity: Interface
+augmentConversionForUserAssignedIdentityDetails: Interface
+augmentConversionForUserAssignedIdentity_STATUS: Interface
+augmentConversionForWindowsGmsaProfile: Interface
+augmentConversionForWindowsGmsaProfile_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/trusted_access_role_binding_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/trusted_access_role_binding_types_gen.go
index a218fec677..523898d482 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/trusted_access_role_binding_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/trusted_access_role_binding_types_gen.go
@@ -4,19 +4,19 @@
package storage
import (
+ "fmt"
+ v20230201s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230201/storage"
+ v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
)
-// +kubebuilder:rbac:groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=get;list;watch;create;update;patch;delete
-// +kubebuilder:rbac:groups=containerservice.azure.com,resources={trustedaccessrolebindings/status,trustedaccessrolebindings/finalizers},verbs=get;update;patch
-
// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
-// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
@@ -44,6 +44,28 @@ func (binding *TrustedAccessRoleBinding) SetConditions(conditions conditions.Con
binding.Status.Conditions = conditions
}
+var _ conversion.Convertible = &TrustedAccessRoleBinding{}
+
+// ConvertFrom populates our TrustedAccessRoleBinding from the provided hub TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertFrom(hub conversion.Hub) error {
+ source, ok := hub.(*v20231001s.TrustedAccessRoleBinding)
+ if !ok {
+ return fmt.Errorf("expected containerservice/v1api20231001/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ }
+
+ return binding.AssignProperties_From_TrustedAccessRoleBinding(source)
+}
+
+// ConvertTo populates the provided hub TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertTo(hub conversion.Hub) error {
+ destination, ok := hub.(*v20231001s.TrustedAccessRoleBinding)
+ if !ok {
+ return fmt.Errorf("expected containerservice/v1api20231001/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ }
+
+ return binding.AssignProperties_To_TrustedAccessRoleBinding(destination)
+}
+
var _ genruntime.KubernetesResource = &TrustedAccessRoleBinding{}
// AzureName returns the Azure name of the resource
@@ -115,8 +137,75 @@ func (binding *TrustedAccessRoleBinding) SetStatus(status genruntime.Convertible
return nil
}
-// Hub marks that this TrustedAccessRoleBinding is the hub type for conversion
-func (binding *TrustedAccessRoleBinding) Hub() {}
+// AssignProperties_From_TrustedAccessRoleBinding populates our TrustedAccessRoleBinding from the provided source TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRoleBinding(source *v20231001s.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ binding.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := spec.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ binding.Spec = spec
+
+ // Status
+ var status ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = status.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ binding.Status = status
+
+ // Invoke the augmentConversionForTrustedAccessRoleBinding interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForTrustedAccessRoleBinding); ok {
+ err := augmentedBinding.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_TrustedAccessRoleBinding populates the provided destination TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBinding(destination *v20231001s.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *binding.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := binding.Spec.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = binding.Status.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // Invoke the augmentConversionForTrustedAccessRoleBinding interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForTrustedAccessRoleBinding); ok {
+ err := augmentedBinding.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
func (binding *TrustedAccessRoleBinding) OriginalGVK() *schema.GroupVersionKind {
@@ -138,6 +227,11 @@ type TrustedAccessRoleBindingList struct {
Items []TrustedAccessRoleBinding `json:"items"`
}
+type augmentConversionForTrustedAccessRoleBinding interface {
+ AssignPropertiesFrom(src *v20231001s.TrustedAccessRoleBinding) error
+ AssignPropertiesTo(dst *v20231001s.TrustedAccessRoleBinding) error
+}
+
// Storage version of v1api20230202preview.ManagedClusters_TrustedAccessRoleBinding_Spec
type ManagedClusters_TrustedAccessRoleBinding_Spec struct {
// AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
@@ -162,20 +256,150 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_TrustedAccessRoleBinding_Spe
// ConvertSpecFrom populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source
func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- if source == binding {
- return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec")
+ src, ok := source.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
}
- return source.ConvertSpecTo(binding)
+ // Convert to an intermediate form
+ src = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
}
// ConvertSpecTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_Spec
func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- if destination == binding {
- return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec")
+ dst, ok := destination.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
}
- return destination.ConvertSpecFrom(binding)
+ // Convert to an intermediate form
+ dst = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(source *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AzureName
+ binding.AzureName = source.AzureName
+
+ // OriginalVersion
+ binding.OriginalVersion = source.OriginalVersion
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ binding.Owner = &owner
+ } else {
+ binding.Owner = nil
+ }
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceReference
+ if source.SourceResourceReference != nil {
+ sourceResourceReference := source.SourceResourceReference.Copy()
+ binding.SourceResourceReference = &sourceResourceReference
+ } else {
+ binding.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ binding.PropertyBag = propertyBag
+ } else {
+ binding.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec); ok {
+ err := augmentedBinding.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec populates the provided destination ManagedClusters_TrustedAccessRoleBinding_Spec from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(destination *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(binding.PropertyBag)
+
+ // AzureName
+ destination.AzureName = binding.AzureName
+
+ // OriginalVersion
+ destination.OriginalVersion = binding.OriginalVersion
+
+ // Owner
+ if binding.Owner != nil {
+ owner := binding.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceReference
+ if binding.SourceResourceReference != nil {
+ sourceResourceReference := binding.SourceResourceReference.Copy()
+ destination.SourceResourceReference = &sourceResourceReference
+ } else {
+ destination.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec); ok {
+ err := augmentedBinding.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
}
// Storage version of v1api20230202preview.ManagedClusters_TrustedAccessRoleBinding_STATUS
@@ -195,20 +419,186 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_TrustedAccessRoleBinding_S
// ConvertStatusFrom populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source
func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- if source == binding {
- return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus")
+ src, ok := source.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
}
- return source.ConvertStatusTo(binding)
+ // Convert to an intermediate form
+ src = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
}
// ConvertStatusTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_STATUS
func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- if destination == binding {
- return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus")
+ dst, ok := destination.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
}
- return destination.ConvertStatusFrom(binding)
+ // Convert to an intermediate form
+ dst = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Conditions
+ binding.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // Id
+ binding.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Name
+ binding.Name = genruntime.ClonePointerToString(source.Name)
+
+ // ProvisioningState
+ binding.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceId
+ binding.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
+
+ // SystemData
+ if source.SystemData != nil {
+ var systemDataSTATUSStash v20230201s.SystemData_STATUS
+ err := systemDataSTATUSStash.AssignProperties_From_SystemData_STATUS(source.SystemData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData_STATUSStash from SystemData")
+ }
+ var systemDatum SystemData_STATUS
+ err = systemDatum.AssignProperties_From_SystemData_STATUS(&systemDataSTATUSStash)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData from SystemData_STATUSStash")
+ }
+ binding.SystemData = &systemDatum
+ } else {
+ binding.SystemData = nil
+ }
+
+ // Type
+ binding.Type = genruntime.ClonePointerToString(source.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ binding.PropertyBag = propertyBag
+ } else {
+ binding.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ err := augmentedBinding.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS populates the provided destination ManagedClusters_TrustedAccessRoleBinding_STATUS from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(destination *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(binding.PropertyBag)
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(binding.Conditions)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(binding.Id)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(binding.Name)
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(binding.ProvisioningState)
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceId
+ destination.SourceResourceId = genruntime.ClonePointerToString(binding.SourceResourceId)
+
+ // SystemData
+ if binding.SystemData != nil {
+ var systemDataSTATUSStash v20230201s.SystemData_STATUS
+ err := binding.SystemData.AssignProperties_To_SystemData_STATUS(&systemDataSTATUSStash)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData_STATUSStash from SystemData")
+ }
+ var systemDatum v20231001s.SystemData_STATUS
+ err = systemDataSTATUSStash.AssignProperties_To_SystemData_STATUS(&systemDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData from SystemData_STATUSStash")
+ }
+ destination.SystemData = &systemDatum
+ } else {
+ destination.SystemData = nil
+ }
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(binding.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ err := augmentedBinding.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec interface {
+ AssignPropertiesFrom(src *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error
+ AssignPropertiesTo(dst *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error
+}
+
+type augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS interface {
+ AssignPropertiesFrom(src *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error
+ AssignPropertiesTo(dst *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error
}
func init() {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/zz_generated.deepcopy.go
index 0b1b1a598c..9c3b08d25d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage/zz_generated.deepcopy.go
@@ -3562,6 +3562,11 @@ func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOper
*out = new(genruntime.ConfigMapDestination)
**out = **in
}
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
if in.PropertyBag != nil {
in, out := &in.PropertyBag, &out.PropertyBag
*out = make(genruntime.PropertyBag, len(*in))
@@ -5090,7 +5095,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -5135,11 +5140,6 @@ func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/structure.txt
index 9c191f09c2..37094f2b2a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/structure.txt
@@ -1,1871 +1,24 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview
-├── APIVersion: Enum (1 value)
-│ └── "2023-02-02-preview"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (43 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (44 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
-│ │ │ │ │ └── Rule 0: Minimum: 2
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ ├── PortStart: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (5 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Mariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ │ └── DisableOutboundNat: *bool
-│ │ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ │ ├── "KataMshvVmIsolation"
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SecurityPatch"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 63
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── GuardrailsProfile: *Object (3 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Enforcement"
-│ │ │ │ ├── "Off"
-│ │ │ │ └── "Warning"
-│ │ │ └── Version: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (2 properties)
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SystemAssigned"
-│ │ │ │ └── "UserAssigned"
-│ │ │ └── UserAssignedIdentities: Object (1 property)[]
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── IngressProfile: *Object (1 property)
-│ │ │ └── WebAppRouting: *Object (2 properties)
-│ │ │ ├── DnsZoneResourceReference: *genruntime.ResourceReference
-│ │ │ └── Enabled: *bool
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
-│ │ │ ├── DockerBridgeCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ │ └── "RoundRobin"
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "IPTABLES"
-│ │ │ │ └── "IPVS"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 64000
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 16
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "Overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ │ └── RestrictionLevel: *Enum (2 values)
-│ │ │ ├── "ReadOnly"
-│ │ │ └── "Unrestricted"
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── ConfigMaps: *Object (1 property)
-│ │ │ │ └── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ └── Secrets: *Object (2 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ │ ├── "Disabled"
-│ │ │ ├── "Enabled"
-│ │ │ └── "SecuredByPerimeter"
-│ │ ├── SecurityProfile: *Object (6 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ ├── CustomCATrustCertificates: Validated (2 rules)
-│ │ │ │ ├── Rule 0: MaxItems: 10
-│ │ │ │ └── Rule 1: MinItems: 0
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (1 property)
-│ │ │ │ └── Components: *Object (1 property)
-│ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "External"
-│ │ │ │ └── "Internal"
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (1 value)
-│ │ │ │ └── "Base"
-│ │ │ └── Tier: *Enum (2 values)
-│ │ │ ├── "Free"
-│ │ │ └── "Standard"
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── Tags: map[string]string
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ControlPlaneOverrides: Enum (1 value)[]
-│ │ │ │ └── "IgnoreKubernetesDeprecations"
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (3 properties)
-│ │ ├── ControlledValues: *Enum (2 values)
-│ │ │ ├── "RequestsAndLimits"
-│ │ │ └── "RequestsOnly"
-│ │ ├── Enabled: *bool
-│ │ └── UpdateMode: *Enum (4 values)
-│ │ ├── "Auto"
-│ │ ├── "Initial"
-│ │ ├── "Off"
-│ │ └── "Recreate"
-│ └── Status: Object (52 properties)
-│ ├── AadProfile: *Object (7 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── AgentPoolProfiles: Object (47 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── CapacityReservationGroupID: *string
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableCustomCATrust: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ ├── "MIG1g"
-│ │ │ ├── "MIG2g"
-│ │ │ ├── "MIG3g"
-│ │ │ ├── "MIG4g"
-│ │ │ └── "MIG7g"
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ ├── "OS"
-│ │ │ └── "Temporary"
-│ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MessageOfTheDay: *string
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *Enum (2 values)
-│ │ │ ├── "System"
-│ │ │ └── "User"
-│ │ ├── Name: *string
-│ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ ├── PortEnd: *int
-│ │ │ │ ├── PortStart: *int
-│ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ ├── "TCP"
-│ │ │ │ └── "UDP"
-│ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ ├── "Ephemeral"
-│ │ │ └── "Managed"
-│ │ ├── OsSKU: *Enum (5 values)
-│ │ │ ├── "CBLMariner"
-│ │ │ ├── "Mariner"
-│ │ │ ├── "Ubuntu"
-│ │ │ ├── "Windows2019"
-│ │ │ └── "Windows2022"
-│ │ ├── OsType: *Enum (2 values)
-│ │ │ ├── "Linux"
-│ │ │ └── "Windows"
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ ├── "Regular"
-│ │ │ └── "Spot"
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *Enum (2 values)
-│ │ │ ├── "AvailabilitySet"
-│ │ │ └── "VirtualMachineScaleSets"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── MaxSurge: *string
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ └── DisableOutboundNat: *bool
-│ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ ├── "KataMshvVmIsolation"
-│ │ ├── "OCIContainer"
-│ │ └── "WasmWasi"
-│ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── EnableVnetIntegration: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ └── SubnetId: *string
-│ ├── AutoScalerProfile: *Object (17 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *Enum (4 values)
-│ │ │ ├── "least-waste"
-│ │ │ ├── "most-pods"
-│ │ │ ├── "priority"
-│ │ │ └── "random"
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ ├── "NodeImage"
-│ │ │ ├── "None"
-│ │ │ ├── "SecurityPatch"
-│ │ │ └── "Unmanaged"
-│ │ └── UpgradeChannel: *Enum (5 values)
-│ │ ├── "node-image"
-│ │ ├── "none"
-│ │ ├── "patch"
-│ │ ├── "rapid"
-│ │ └── "stable"
-│ ├── AzureMonitorProfile: *Object (1 property)
-│ │ └── Metrics: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ ├── MetricAnnotationsAllowList: *string
-│ │ └── MetricLabelsAllowlist: *string
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnableNamespaceResources: *bool
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── GuardrailsProfile: *Object (4 properties)
-│ │ ├── ExcludedNamespaces: string[]
-│ │ ├── Level: *Enum (3 values)
-│ │ │ ├── "Enforcement"
-│ │ │ ├── "Off"
-│ │ │ └── "Warning"
-│ │ ├── SystemExcludedNamespaces: string[]
-│ │ └── Version: *string
-│ ├── HttpProxyConfig: *Object (5 properties)
-│ │ ├── EffectiveNoProxy: string[]
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── IngressProfile: *Object (1 property)
-│ │ └── WebAppRouting: *Object (3 properties)
-│ │ ├── DnsZoneResourceId: *string
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (2 properties)
-│ │ ├── AdminUsername: *string
-│ │ └── Ssh: *Object (1 property)
-│ │ └── PublicKeys: Object (1 property)[]
-│ │ └── KeyData: *string
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (17 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── DockerBridgeCidr: *string
-│ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ └── "RoundRobin"
-│ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "IPTABLES"
-│ │ │ └── "IPVS"
-│ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ ├── "NodeIP"
-│ │ │ │ └── "NodeIPConfiguration"
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── CountIPv6: *int
-│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ ├── "basic"
-│ │ │ └── "standard"
-│ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ └── Count: *int
-│ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ ├── "azure"
-│ │ │ └── "cilium"
-│ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ ├── "bridge"
-│ │ │ └── "transparent"
-│ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "kubenet"
-│ │ │ └── "none"
-│ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ └── "Overlay"
-│ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "calico"
-│ │ │ └── "cilium"
-│ │ ├── OutboundType: *Enum (4 values)
-│ │ │ ├── "loadBalancer"
-│ │ │ ├── "managedNATGateway"
-│ │ │ ├── "userAssignedNATGateway"
-│ │ │ └── "userDefinedRouting"
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeResourceGroup: *string
-│ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ └── RestrictionLevel: *Enum (2 values)
-│ │ ├── "ReadOnly"
-│ │ └── "Unrestricted"
-│ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── IssuerURL: *string
-│ ├── PodIdentityProfile: *Object (4 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Assigned"
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ └── PodLabels: map[string]string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ ├── "Disabled"
-│ │ ├── "Enabled"
-│ │ └── "SecuredByPerimeter"
-│ ├── SecurityProfile: *Object (6 properties)
-│ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ ├── "Private"
-│ │ │ │ └── "Public"
-│ │ │ └── KeyVaultResourceId: *string
-│ │ ├── CustomCATrustCertificates: string[]
-│ │ ├── Defender: *Object (2 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IntervalHours: *int
-│ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── WorkloadIdentity: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ ├── Istio: *Object (1 property)
-│ │ │ └── Components: *Object (1 property)
-│ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "External"
-│ │ │ └── "Internal"
-│ │ └── Mode: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Istio"
-│ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ └── ClientId: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Standard"
-│ ├── StorageProfile: *Object (4 properties)
-│ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Version: *string
-│ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── SnapshotController: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── OverrideSettings: *Object (2 properties)
-│ │ ├── ControlPlaneOverrides: Enum (1 value)[]
-│ │ │ └── "IgnoreKubernetesDeprecations"
-│ │ └── Until: *string
-│ ├── WindowsProfile: *Object (5 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── RootDomainName: *string
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ ├── Keda: *Object (1 property)
-│ │ └── Enabled: *bool
-│ └── VerticalPodAutoscaler: *Object (3 properties)
-│ ├── ControlledValues: *Enum (2 values)
-│ │ ├── "RequestsAndLimits"
-│ │ └── "RequestsOnly"
-│ ├── Enabled: *bool
-│ └── UpdateMode: *Enum (4 values)
-│ ├── "Auto"
-│ ├── "Initial"
-│ ├── "Off"
-│ └── "Recreate"
-├── ManagedCluster_STATUS_ARM: Object (10 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (42 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── AgentPoolProfiles: Object (47 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── CurrentOrchestratorVersion: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeImageVersion: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (5 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Mariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProvisioningState: *string
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ │ └── DisableOutboundNat: *bool
-│ │ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ │ ├── "KataMshvVmIsolation"
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SecurityPatch"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzurePortalFQDN: *string
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentKubernetesVersion: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── Fqdn: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── GuardrailsProfile: *Object (4 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Enforcement"
-│ │ │ │ ├── "Off"
-│ │ │ │ └── "Warning"
-│ │ │ ├── SystemExcludedNamespaces: string[]
-│ │ │ └── Version: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── EffectiveNoProxy: string[]
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── IngressProfile: *Object (1 property)
-│ │ │ └── WebAppRouting: *Object (3 properties)
-│ │ │ ├── DnsZoneResourceId: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── MaxAgentPools: *int
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ │ └── "RoundRobin"
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "IPTABLES"
-│ │ │ │ └── "IPVS"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "Overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ │ └── RestrictionLevel: *Enum (2 values)
-│ │ │ ├── "ReadOnly"
-│ │ │ └── "Unrestricted"
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IssuerURL: *string
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ │ ├── "Assigned"
-│ │ │ │ ├── "Canceled"
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── PrivateFQDN: *string
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceID: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ │ ├── "Disabled"
-│ │ │ ├── "Enabled"
-│ │ │ └── "SecuredByPerimeter"
-│ │ ├── SecurityProfile: *Object (6 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── CustomCATrustCertificates: string[]
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (1 property)
-│ │ │ │ └── Components: *Object (1 property)
-│ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "External"
-│ │ │ │ └── "Internal"
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ │ └── ClientId: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ControlPlaneOverrides: Enum (1 value)[]
-│ │ │ │ └── "IgnoreKubernetesDeprecations"
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (3 properties)
-│ │ ├── ControlledValues: *Enum (2 values)
-│ │ │ ├── "RequestsAndLimits"
-│ │ │ └── "RequestsOnly"
-│ │ ├── Enabled: *bool
-│ │ └── UpdateMode: *Enum (4 values)
-│ │ ├── "Auto"
-│ │ ├── "Initial"
-│ │ ├── "Off"
-│ │ └── "Recreate"
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Standard"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── ManagedCluster_Spec_ARM: Object (7 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Identity: *Object (2 properties)
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (0 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (35 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (44 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (5 values)
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Mariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ │ └── DisableOutboundNat: *bool
-│ │ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ │ ├── "KataMshvVmIsolation"
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SecurityPatch"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── GuardrailsProfile: *Object (3 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Enforcement"
-│ │ │ │ ├── "Off"
-│ │ │ │ └── "Warning"
-│ │ │ └── Version: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── IngressProfile: *Object (1 property)
-│ │ │ └── WebAppRouting: *Object (2 properties)
-│ │ │ ├── DnsZoneResourceId: *string
-│ │ │ └── Enabled: *bool
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── DockerBridgeCidr: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ │ └── "RoundRobin"
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "IPTABLES"
-│ │ │ │ └── "IPVS"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "Overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ │ └── RestrictionLevel: *Enum (2 values)
-│ │ │ ├── "ReadOnly"
-│ │ │ └── "Unrestricted"
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ │ ├── "Disabled"
-│ │ │ ├── "Enabled"
-│ │ │ └── "SecuredByPerimeter"
-│ │ ├── SecurityProfile: *Object (6 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── CustomCATrustCertificates: Validated (2 rules)
-│ │ │ │ ├── Rule 0: MaxItems: 10
-│ │ │ │ └── Rule 1: MinItems: 0
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (1 property)
-│ │ │ │ └── Components: *Object (1 property)
-│ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "External"
-│ │ │ │ └── "Internal"
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ControlPlaneOverrides: Enum (1 value)[]
-│ │ │ │ └── "IgnoreKubernetesDeprecations"
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (3 properties)
-│ │ ├── ControlledValues: *Enum (2 values)
-│ │ │ ├── "RequestsAndLimits"
-│ │ │ └── "RequestsOnly"
-│ │ ├── Enabled: *bool
-│ │ └── UpdateMode: *Enum (4 values)
-│ │ ├── "Auto"
-│ │ ├── "Initial"
-│ │ ├── "Off"
-│ │ └── "Recreate"
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Free"
-│ │ └── "Standard"
-│ └── Tags: map[string]string
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: ManagedCluster
-│ ├── Spec: Object (45 properties)
+------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-02-02-preview"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (43 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (44 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── CapacityReservationGroupID: *string
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (1 property)
@@ -1939,6 +92,8 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── NetworkProfile: *Object (3 properties)
│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
│ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
@@ -1973,7 +128,6 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── OsType: *Enum (2 values)
│ │ │ ├── "Linux"
│ │ │ └── "Windows"
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (1 property)
│ │ │ └── Code: *Enum (2 values)
@@ -2004,149 +158,833 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── "KataMshvVmIsolation"
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Status: Object (50 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── CapacityReservationGroupID: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableCustomCATrust: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ ├── "MIG1g"
-│ │ ├── "MIG2g"
-│ │ ├── "MIG3g"
-│ │ ├── "MIG4g"
-│ │ └── "MIG7g"
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (11 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *Enum (2 values)
-│ │ ├── "OS"
-│ │ └── "Temporary"
-│ ├── LinuxOSConfig: *Object (4 properties)
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (28 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MessageOfTheDay: *string
-│ ├── MinCount: *int
-│ ├── Mode: *Enum (2 values)
-│ │ ├── "System"
-│ │ └── "User"
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (3 properties)
-│ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ ├── PortEnd: *int
-│ │ │ ├── PortStart: *int
-│ │ │ └── Protocol: *Enum (2 values)
-│ │ │ ├── "TCP"
-│ │ │ └── "UDP"
-│ │ ├── ApplicationSecurityGroups: string[]
-│ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ ├── IpTagType: *string
-│ │ └── Tag: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *Enum (2 values)
-│ │ ├── "Ephemeral"
-│ │ └── "Managed"
-│ ├── OsSKU: *Enum (5 values)
-│ │ ├── "CBLMariner"
-│ │ ├── "Mariner"
-│ │ ├── "Ubuntu"
-│ │ ├── "Windows2019"
-│ │ └── "Windows2022"
-│ ├── OsType: *Enum (2 values)
-│ │ ├── "Linux"
-│ │ └── "Windows"
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PropertiesType: *Enum (2 values)
-│ │ ├── "AvailabilitySet"
-│ │ └── "VirtualMachineScaleSets"
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetPriority: *Enum (2 values)
-│ │ ├── "Regular"
-│ │ └── "Spot"
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── MaxSurge: *string
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ ├── WindowsProfile: *Object (1 property)
-│ │ └── DisableOutboundNat: *bool
-│ └── WorkloadRuntime: *Enum (3 values)
-│ ├── "KataMshvVmIsolation"
-│ ├── "OCIContainer"
-│ └── "WasmWasi"
-├── ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
-│ ├── Id: *string
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── FqdnSubdomain: *string
+│ ├── GuardrailsProfile: *Object (3 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ └── Version: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (2 properties)
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "None"
+│ │ │ ├── "SystemAssigned"
+│ │ │ └── "UserAssigned"
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (2 properties)
+│ │ ├── DnsZoneResourceReference: *genruntime.ResourceReference
+│ │ └── Enabled: *bool
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+│ │ ├── DockerBridgeCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 64000
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 16
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "Overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ └── PrincipalId: *genruntime.ConfigMapDestination
+│ │ └── Secrets: *Object (2 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SecurityProfile: *Object (6 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ ├── CustomCATrustCertificates: Validated (2 rules)
+│ │ │ ├── Rule 0: MaxItems: 10
+│ │ │ └── Rule 1: MinItems: 0
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (1 property)
+│ │ │ └── Components: *Object (1 property)
+│ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "External"
+│ │ │ └── "Internal"
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (1 value)
+│ │ │ └── "Base"
+│ │ └── Tier: *Enum (2 values)
+│ │ ├── "Free"
+│ │ └── "Standard"
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ControlPlaneOverrides: Enum (1 value)[]
+│ │ │ └── "IgnoreKubernetesDeprecations"
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (3 properties)
+│ ├── ControlledValues: *Enum (2 values)
+│ │ ├── "RequestsAndLimits"
+│ │ └── "RequestsOnly"
+│ ├── Enabled: *bool
+│ └── UpdateMode: *Enum (4 values)
+│ ├── "Auto"
+│ ├── "Initial"
+│ ├── "Off"
+│ └── "Recreate"
+└── Status: Object (52 properties)
+ ├── AadProfile: *Object (7 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (3 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── AgentPoolProfiles: Object (47 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (1 property)
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableCustomCATrust: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *Enum (5 values)
+ │ │ ├── "MIG1g"
+ │ │ ├── "MIG2g"
+ │ │ ├── "MIG3g"
+ │ │ ├── "MIG4g"
+ │ │ └── "MIG7g"
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (11 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *Enum (2 values)
+ │ │ ├── "OS"
+ │ │ └── "Temporary"
+ │ ├── LinuxOSConfig: *Object (4 properties)
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (28 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MessageOfTheDay: *string
+ │ ├── MinCount: *int
+ │ ├── Mode: *Enum (2 values)
+ │ │ ├── "System"
+ │ │ └── "User"
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (3 properties)
+ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ └── Protocol: *Enum (2 values)
+ │ │ │ ├── "TCP"
+ │ │ │ └── "UDP"
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ └── Tag: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *Enum (2 values)
+ │ │ ├── "Ephemeral"
+ │ │ └── "Managed"
+ │ ├── OsSKU: *Enum (5 values)
+ │ │ ├── "CBLMariner"
+ │ │ ├── "Mariner"
+ │ │ ├── "Ubuntu"
+ │ │ ├── "Windows2019"
+ │ │ └── "Windows2022"
+ │ ├── OsType: *Enum (2 values)
+ │ │ ├── "Linux"
+ │ │ └── "Windows"
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (1 property)
+ │ │ └── Code: *Enum (2 values)
+ │ │ ├── "Running"
+ │ │ └── "Stopped"
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetPriority: *Enum (2 values)
+ │ │ ├── "Regular"
+ │ │ └── "Spot"
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *Enum (2 values)
+ │ │ ├── "AvailabilitySet"
+ │ │ └── "VirtualMachineScaleSets"
+ │ ├── UpgradeSettings: *Object (1 property)
+ │ │ └── MaxSurge: *string
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ ├── WindowsProfile: *Object (1 property)
+ │ │ └── DisableOutboundNat: *bool
+ │ └── WorkloadRuntime: *Enum (3 values)
+ │ ├── "KataMshvVmIsolation"
+ │ ├── "OCIContainer"
+ │ └── "WasmWasi"
+ ├── ApiServerAccessProfile: *Object (7 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── EnableVnetIntegration: *bool
+ │ ├── PrivateDNSZone: *string
+ │ └── SubnetId: *string
+ ├── AutoScalerProfile: *Object (17 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *Enum (4 values)
+ │ │ ├── "least-waste"
+ │ │ ├── "most-pods"
+ │ │ ├── "priority"
+ │ │ └── "random"
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (2 properties)
+ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+ │ │ ├── "NodeImage"
+ │ │ ├── "None"
+ │ │ ├── "SecurityPatch"
+ │ │ └── "Unmanaged"
+ │ └── UpgradeChannel: *Enum (5 values)
+ │ ├── "node-image"
+ │ ├── "none"
+ │ ├── "patch"
+ │ ├── "rapid"
+ │ └── "stable"
+ ├── AzureMonitorProfile: *Object (1 property)
+ │ └── Metrics: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── KubeStateMetrics: *Object (2 properties)
+ │ ├── MetricAnnotationsAllowList: *string
+ │ └── MetricLabelsAllowlist: *string
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnableNamespaceResources: *bool
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── GuardrailsProfile: *Object (4 properties)
+ │ ├── ExcludedNamespaces: string[]
+ │ ├── Level: *Enum (3 values)
+ │ │ ├── "Enforcement"
+ │ │ ├── "Off"
+ │ │ └── "Warning"
+ │ ├── SystemExcludedNamespaces: string[]
+ │ └── Version: *string
+ ├── HttpProxyConfig: *Object (5 properties)
+ │ ├── EffectiveNoProxy: string[]
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (4 properties)
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── IdentityProfile: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── IngressProfile: *Object (1 property)
+ │ └── WebAppRouting: *Object (3 properties)
+ │ ├── DnsZoneResourceId: *string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (2 properties)
+ │ ├── AdminUsername: *string
+ │ └── Ssh: *Object (1 property)
+ │ └── PublicKeys: Object (1 property)[]
+ │ └── KeyData: *string
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (17 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── DockerBridgeCidr: *string
+ │ ├── IpFamilies: Enum (2 values)[]
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── KubeProxyConfig: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IpvsConfig: *Object (4 properties)
+ │ │ │ ├── Scheduler: *Enum (2 values)
+ │ │ │ │ ├── "LeastConnection"
+ │ │ │ │ └── "RoundRobin"
+ │ │ │ ├── TcpFinTimeoutSeconds: *int
+ │ │ │ ├── TcpTimeoutSeconds: *int
+ │ │ │ └── UdpTimeoutSeconds: *int
+ │ │ └── Mode: *Enum (2 values)
+ │ │ ├── "IPTABLES"
+ │ │ └── "IPVS"
+ │ ├── LoadBalancerProfile: *Object (8 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *Enum (2 values)
+ │ │ │ ├── "NodeIP"
+ │ │ │ └── "NodeIPConfiguration"
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── CountIPv6: *int
+ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ └── OutboundIPs: *Object (1 property)
+ │ │ └── PublicIPs: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerSku: *Enum (2 values)
+ │ │ ├── "basic"
+ │ │ └── "standard"
+ │ ├── NatGatewayProfile: *Object (3 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+ │ │ └── Count: *int
+ │ ├── NetworkDataplane: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "cilium"
+ │ ├── NetworkMode: *Enum (2 values)
+ │ │ ├── "bridge"
+ │ │ └── "transparent"
+ │ ├── NetworkPlugin: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "kubenet"
+ │ │ └── "none"
+ │ ├── NetworkPluginMode: *Enum (1 value)
+ │ │ └── "Overlay"
+ │ ├── NetworkPolicy: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "calico"
+ │ │ └── "cilium"
+ │ ├── OutboundType: *Enum (4 values)
+ │ │ ├── "loadBalancer"
+ │ │ ├── "managedNATGateway"
+ │ │ ├── "userAssignedNATGateway"
+ │ │ └── "userDefinedRouting"
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeResourceGroup: *string
+ ├── NodeResourceGroupProfile: *Object (1 property)
+ │ └── RestrictionLevel: *Enum (2 values)
+ │ ├── "ReadOnly"
+ │ └── "Unrestricted"
+ ├── OidcIssuerProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── IssuerURL: *string
+ ├── PodIdentityProfile: *Object (4 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── UserAssignedIdentities: Object (6 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (3 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── ProvisioningInfo: *Object (1 property)
+ │ │ │ └── Error: *Object (1 property)
+ │ │ │ └── Error: *Object (4 properties)
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (3 properties)[]
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ └── ProvisioningState: *Enum (6 values)
+ │ │ ├── "Assigned"
+ │ │ ├── "Canceled"
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ └── PodLabels: map[string]string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (6 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *Enum (3 values)
+ │ ├── "Disabled"
+ │ ├── "Enabled"
+ │ └── "SecuredByPerimeter"
+ ├── SecurityProfile: *Object (6 properties)
+ │ ├── AzureKeyVaultKms: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+ │ │ │ ├── "Private"
+ │ │ │ └── "Public"
+ │ │ └── KeyVaultResourceId: *string
+ │ ├── CustomCATrustCertificates: string[]
+ │ ├── Defender: *Object (2 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── SecurityMonitoring: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── ImageCleaner: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── IntervalHours: *int
+ │ ├── NodeRestriction: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── WorkloadIdentity: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ServiceMeshProfile: *Object (2 properties)
+ │ ├── Istio: *Object (1 property)
+ │ │ └── Components: *Object (1 property)
+ │ │ └── IngressGateways: Object (2 properties)[]
+ │ │ ├── Enabled: *bool
+ │ │ └── Mode: *Enum (2 values)
+ │ │ ├── "External"
+ │ │ └── "Internal"
+ │ └── Mode: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Istio"
+ ├── ServicePrincipalProfile: *Object (1 property)
+ │ └── ClientId: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (1 value)
+ │ │ └── "Base"
+ │ └── Tier: *Enum (2 values)
+ │ ├── "Free"
+ │ └── "Standard"
+ ├── StorageProfile: *Object (4 properties)
+ │ ├── BlobCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── DiskCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── Version: *string
+ │ ├── FileCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── SnapshotController: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── OverrideSettings: *Object (2 properties)
+ │ ├── ControlPlaneOverrides: Enum (1 value)[]
+ │ │ └── "IgnoreKubernetesDeprecations"
+ │ └── Until: *string
+ ├── WindowsProfile: *Object (4 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (3 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ └── RootDomainName: *string
+ │ └── LicenseType: *Enum (2 values)
+ │ ├── "None"
+ │ └── "Windows_Server"
+ └── WorkloadAutoScalerProfile: *Object (2 properties)
+ ├── Keda: *Object (1 property)
+ │ └── Enabled: *bool
+ └── VerticalPodAutoscaler: *Object (3 properties)
+ ├── ControlledValues: *Enum (2 values)
+ │ ├── "RequestsAndLimits"
+ │ └── "RequestsOnly"
+ ├── Enabled: *bool
+ └── UpdateMode: *Enum (4 values)
+ ├── "Auto"
+ ├── "Initial"
+ ├── "Off"
+ └── "Recreate"
+ManagedCluster_STATUS_ARM: Object (10 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (46 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Identity: *Object (4 properties)
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (42 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── AgentPoolProfiles: Object (47 properties)[]
│ │ ├── AvailabilityZones: string[]
│ │ ├── CapacityReservationGroupID: *string
│ │ ├── Count: *int
@@ -2221,6 +1059,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: *string
│ │ ├── NetworkProfile: *Object (3 properties)
│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
│ │ │ │ ├── PortEnd: *int
@@ -2281,211 +1120,1372 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202pre
│ │ ├── "KataMshvVmIsolation"
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Type: *string
-├── ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (43 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── CapacityReservationGroupID: *string
-│ ├── Count: *int
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableCustomCATrust: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ ├── "MIG1g"
-│ │ ├── "MIG2g"
-│ │ ├── "MIG3g"
-│ │ ├── "MIG4g"
-│ │ └── "MIG7g"
-│ ├── HostGroupID: *string
-│ ├── KubeletConfig: *Object (11 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *Enum (2 values)
-│ │ ├── "OS"
-│ │ └── "Temporary"
-│ ├── LinuxOSConfig: *Object (4 properties)
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (28 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MessageOfTheDay: *string
-│ ├── MinCount: *int
-│ ├── Mode: *Enum (2 values)
-│ │ ├── "System"
-│ │ └── "User"
-│ ├── NetworkProfile: *Object (3 properties)
-│ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ ├── PortEnd: *int
-│ │ │ ├── PortStart: *int
-│ │ │ └── Protocol: *Enum (2 values)
-│ │ │ ├── "TCP"
-│ │ │ └── "UDP"
-│ │ ├── ApplicationSecurityGroups: string[]
-│ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ ├── IpTagType: *string
-│ │ └── Tag: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ ├── Rule 0: Maximum: 2048
-│ │ └── Rule 1: Minimum: 0
-│ ├── OsDiskType: *Enum (2 values)
-│ │ ├── "Ephemeral"
-│ │ └── "Managed"
-│ ├── OsSKU: *Enum (5 values)
-│ │ ├── "CBLMariner"
-│ │ ├── "Mariner"
-│ │ ├── "Ubuntu"
-│ │ ├── "Windows2019"
-│ │ └── "Windows2022"
-│ ├── OsType: *Enum (2 values)
-│ │ ├── "Linux"
-│ │ └── "Windows"
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetPriority: *Enum (2 values)
-│ │ ├── "Regular"
-│ │ └── "Spot"
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *Enum (2 values)
-│ │ ├── "AvailabilitySet"
-│ │ └── "VirtualMachineScaleSets"
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── MaxSurge: *string
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ ├── WindowsProfile: *Object (1 property)
-│ │ └── DisableOutboundNat: *bool
-│ └── WorkloadRuntime: *Enum (3 values)
-│ ├── "KataMshvVmIsolation"
-│ ├── "OCIContainer"
-│ └── "WasmWasi"
-├── ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM: Object (5 properties)
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── ProvisioningState: *Enum (5 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── Roles: string[]
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzurePortalFQDN: *string
+│ ├── CreationData: *Object (1 property)
│ │ └── SourceResourceId: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
+│ ├── CurrentKubernetesVersion: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── Fqdn: *string
+│ ├── FqdnSubdomain: *string
+│ ├── GuardrailsProfile: *Object (4 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ ├── SystemExcludedNamespaces: string[]
+│ │ └── Version: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── EffectiveNoProxy: string[]
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (3 properties)
+│ │ ├── DnsZoneResourceId: *string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MaxAgentPools: *int
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "Overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── IssuerURL: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (6 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ ├── ProvisioningInfo: *Object (1 property)
+│ │ │ │ └── Error: *Object (1 property)
+│ │ │ │ └── Error: *Object (4 properties)
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Details: Object (3 properties)[]
+│ │ │ │ │ ├── Code: *string
+│ │ │ │ │ ├── Message: *string
+│ │ │ │ │ └── Target: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ └── ProvisioningState: *Enum (6 values)
+│ │ │ ├── "Assigned"
+│ │ │ ├── "Canceled"
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── PrivateFQDN: *string
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceID: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ProvisioningState: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SecurityProfile: *Object (6 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── CustomCATrustCertificates: string[]
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (1 property)
+│ │ │ └── Components: *Object (1 property)
+│ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "External"
+│ │ │ └── "Internal"
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (1 property)
+│ │ └── ClientId: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ControlPlaneOverrides: Enum (1 value)[]
+│ │ │ └── "IgnoreKubernetesDeprecations"
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (4 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (3 properties)
+│ ├── ControlledValues: *Enum (2 values)
+│ │ ├── "RequestsAndLimits"
+│ │ └── "RequestsOnly"
+│ ├── Enabled: *bool
+│ └── UpdateMode: *Enum (4 values)
+│ ├── "Auto"
+│ ├── "Initial"
+│ ├── "Off"
+│ └── "Recreate"
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (2 values)
+│ ├── "Free"
+│ └── "Standard"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+ManagedCluster_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Identity: *Object (2 properties)
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (35 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (44 properties)[]
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupID: *string
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceId: *string
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableCustomCATrust: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── HostGroupID: *string
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MessageOfTheDay: *string
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (2 values)
+│ │ │ ├── "System"
│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ └── Type: *string
-├── ManagedClusters_TrustedAccessRoleBinding_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (2 properties)
-│ ├── Roles: string[]
-│ └── SourceResourceId: *string
-└── TrustedAccessRoleBinding: Resource
- ├── Owner: ManagedCluster
- ├── Spec: Object (4 properties)
- │ ├── AzureName: Validated (3 rules)
- │ │ ├── Rule 0: MaxLength: 24
- │ │ ├── Rule 1: MinLength: 1
- │ │ └── Rule 2: Pattern: "^([A-Za-z0-9-])+$"
- │ ├── Owner: *genruntime.KnownResourceReference
- │ ├── Roles: string[]
- │ └── SourceResourceReference: *genruntime.ResourceReference
- └── Status: Object (8 properties)
- ├── Conditions: conditions.Condition[]
- ├── Id: *string
- ├── Name: *string
- ├── ProvisioningState: *Enum (5 values)
- │ ├── "Canceled"
- │ ├── "Deleting"
- │ ├── "Failed"
- │ ├── "Succeeded"
- │ └── "Updating"
- ├── Roles: string[]
- ├── SourceResourceId: *string
- ├── SystemData: *Object (6 properties)
- │ ├── CreatedAt: *string
- │ ├── CreatedBy: *string
- │ ├── CreatedByType: *Enum (4 values)
- │ │ ├── "Application"
- │ │ ├── "Key"
- │ │ ├── "ManagedIdentity"
- │ │ └── "User"
- │ ├── LastModifiedAt: *string
- │ ├── LastModifiedBy: *string
- │ └── LastModifiedByType: *Enum (4 values)
- │ ├── "Application"
- │ ├── "Key"
- │ ├── "ManagedIdentity"
- │ └── "User"
- └── Type: *string
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (3 properties)
+│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ └── Protocol: *Enum (2 values)
+│ │ │ │ ├── "TCP"
+│ │ │ │ └── "UDP"
+│ │ │ ├── ApplicationSecurityGroups: string[]
+│ │ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ └── Tag: *string
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (5 values)
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Mariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ └── "Windows2022"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodSubnetID: *string
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (2 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ └── "VirtualMachineScaleSets"
+│ │ ├── UpgradeSettings: *Object (1 property)
+│ │ │ └── MaxSurge: *string
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetID: *string
+│ │ ├── WindowsProfile: *Object (1 property)
+│ │ │ └── DisableOutboundNat: *bool
+│ │ └── WorkloadRuntime: *Enum (3 values)
+│ │ ├── "KataMshvVmIsolation"
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── FqdnSubdomain: *string
+│ ├── GuardrailsProfile: *Object (3 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ └── Version: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (2 properties)
+│ │ ├── DnsZoneResourceId: *string
+│ │ └── Enabled: *bool
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── DockerBridgeCidr: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "Overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SecurityProfile: *Object (6 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── CustomCATrustCertificates: Validated (2 rules)
+│ │ │ ├── Rule 0: MaxItems: 10
+│ │ │ └── Rule 1: MinItems: 0
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (1 property)
+│ │ │ └── Components: *Object (1 property)
+│ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "External"
+│ │ │ └── "Internal"
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ControlPlaneOverrides: Enum (1 value)[]
+│ │ │ └── "IgnoreKubernetesDeprecations"
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *string
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (3 properties)
+│ ├── ControlledValues: *Enum (2 values)
+│ │ ├── "RequestsAndLimits"
+│ │ └── "RequestsOnly"
+│ ├── Enabled: *bool
+│ └── UpdateMode: *Enum (4 values)
+│ ├── "Auto"
+│ ├── "Initial"
+│ ├── "Off"
+│ └── "Recreate"
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (2 values)
+│ ├── "Free"
+│ └── "Standard"
+└── Tags: map[string]string
+ManagedClustersAgentPool: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (45 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── CapacityReservationGroupID: *string
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ ├── PortStart: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ ├── Rule 0: Maximum: 2048
+│ │ └── Rule 1: Minimum: 0
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (5 values)
+│ │ ├── "CBLMariner"
+│ │ ├── "Mariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ └── "Windows2022"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ ├── WindowsProfile: *Object (1 property)
+│ │ └── DisableOutboundNat: *bool
+│ └── WorkloadRuntime: *Enum (3 values)
+│ ├── "KataMshvVmIsolation"
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Status: Object (50 properties)
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── Name: *string
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (5 values)
+ │ ├── "CBLMariner"
+ │ ├── "Mariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ └── "Windows2022"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PropertiesType: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (1 property)
+ │ └── DisableOutboundNat: *bool
+ └── WorkloadRuntime: *Enum (3 values)
+ ├── "KataMshvVmIsolation"
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (46 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── CapacityReservationGroupID: *string
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentOrchestratorVersion: *string
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── HostGroupID: *string
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroups: string[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeImageVersion: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixID: *string
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (5 values)
+│ │ ├── "CBLMariner"
+│ │ ├── "Mariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ └── "Windows2022"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── PodSubnetID: *string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProvisioningState: *string
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ ├── VnetSubnetID: *string
+│ ├── WindowsProfile: *Object (1 property)
+│ │ └── DisableOutboundNat: *bool
+│ └── WorkloadRuntime: *Enum (3 values)
+│ ├── "KataMshvVmIsolation"
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Type: *string
+ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (43 properties)
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── HostGroupID: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *Validated (2 rules)
+ │ ├── Rule 0: Maximum: 2048
+ │ └── Rule 1: Minimum: 0
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (5 values)
+ │ ├── "CBLMariner"
+ │ ├── "Mariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ └── "Windows2022"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (1 property)
+ │ └── DisableOutboundNat: *bool
+ └── WorkloadRuntime: *Enum (3 values)
+ ├── "KataMshvVmIsolation"
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM: Object (5 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── ProvisioningState: *Enum (5 values)
+│ │ ├── "Canceled"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── Roles: string[]
+│ └── SourceResourceId: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+ManagedClusters_TrustedAccessRoleBinding_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (2 properties)
+ ├── Roles: string[]
+ └── SourceResourceId: *string
+TrustedAccessRoleBinding: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (4 properties)
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 24
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^([A-Za-z0-9-])+$"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Roles: string[]
+│ └── SourceResourceReference: *genruntime.ResourceReference
+└── Status: Object (8 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (5 values)
+ │ ├── "Canceled"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── Roles: string[]
+ ├── SourceResourceId: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ └── Type: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/trusted_access_role_binding_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/trusted_access_role_binding_types_gen.go
index ca80cd45d1..31ace75a81 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/trusted_access_role_binding_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/trusted_access_role_binding_types_gen.go
@@ -5,7 +5,7 @@ package v1api20230202preview
import (
"fmt"
- v20230202ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,22 +49,36 @@ var _ conversion.Convertible = &TrustedAccessRoleBinding{}
// ConvertFrom populates our TrustedAccessRoleBinding from the provided hub TrustedAccessRoleBinding
func (binding *TrustedAccessRoleBinding) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20230202ps.TrustedAccessRoleBinding)
- if !ok {
- return fmt.Errorf("expected containerservice/v1api20230202preview/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ // intermediate variable for conversion
+ var source storage.TrustedAccessRoleBinding
+
+ err := source.ConvertFrom(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from hub to source")
}
- return binding.AssignProperties_From_TrustedAccessRoleBinding(source)
+ err = binding.AssignProperties_From_TrustedAccessRoleBinding(&source)
+ if err != nil {
+ return errors.Wrap(err, "converting from source to binding")
+ }
+
+ return nil
}
// ConvertTo populates the provided hub TrustedAccessRoleBinding from our TrustedAccessRoleBinding
func (binding *TrustedAccessRoleBinding) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20230202ps.TrustedAccessRoleBinding)
- if !ok {
- return fmt.Errorf("expected containerservice/v1api20230202preview/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ // intermediate variable for conversion
+ var destination storage.TrustedAccessRoleBinding
+ err := binding.AssignProperties_To_TrustedAccessRoleBinding(&destination)
+ if err != nil {
+ return errors.Wrap(err, "converting to destination from binding")
+ }
+ err = destination.ConvertTo(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from destination to hub")
}
- return binding.AssignProperties_To_TrustedAccessRoleBinding(destination)
+ return nil
}
// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1api20230202preview-trustedaccessrolebinding,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=create;update,versions=v1api20230202preview,name=default.v1api20230202preview.trustedaccessrolebindings.containerservice.azure.com,admissionReviewVersions=v1
@@ -90,17 +104,6 @@ func (binding *TrustedAccessRoleBinding) defaultAzureName() {
// defaultImpl applies the code generated defaults to the TrustedAccessRoleBinding resource
func (binding *TrustedAccessRoleBinding) defaultImpl() { binding.defaultAzureName() }
-var _ genruntime.ImportableResource = &TrustedAccessRoleBinding{}
-
-// InitializeSpec initializes the spec for this resource from the given status
-func (binding *TrustedAccessRoleBinding) InitializeSpec(status genruntime.ConvertibleStatus) error {
- if s, ok := status.(*ManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
- return binding.Spec.Initialize_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(s)
- }
-
- return fmt.Errorf("expected Status of type ManagedClusters_TrustedAccessRoleBinding_STATUS but received %T instead", status)
-}
-
var _ genruntime.KubernetesResource = &TrustedAccessRoleBinding{}
// AzureName returns the Azure name of the resource
@@ -254,7 +257,7 @@ func (binding *TrustedAccessRoleBinding) validateWriteOnceProperties(old runtime
}
// AssignProperties_From_TrustedAccessRoleBinding populates our TrustedAccessRoleBinding from the provided source TrustedAccessRoleBinding
-func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRoleBinding(source *v20230202ps.TrustedAccessRoleBinding) error {
+func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRoleBinding(source *storage.TrustedAccessRoleBinding) error {
// ObjectMeta
binding.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +283,13 @@ func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRole
}
// AssignProperties_To_TrustedAccessRoleBinding populates the provided destination TrustedAccessRoleBinding from our TrustedAccessRoleBinding
-func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBinding(destination *v20230202ps.TrustedAccessRoleBinding) error {
+func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBinding(destination *storage.TrustedAccessRoleBinding) error {
// ObjectMeta
destination.ObjectMeta = *binding.ObjectMeta.DeepCopy()
// Spec
- var spec v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec
+ var spec storage.ManagedClusters_TrustedAccessRoleBinding_Spec
err := binding.Spec.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
@@ -294,7 +297,7 @@ func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBi
destination.Spec = spec
// Status
- var status v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS
+ var status storage.ManagedClusters_TrustedAccessRoleBinding_STATUS
err = binding.Status.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
@@ -417,14 +420,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_TrustedAccessRoleBinding_Spe
// ConvertSpecFrom populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source
func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ src, ok := source.(*storage.ManagedClusters_TrustedAccessRoleBinding_Spec)
if ok {
// Populate our instance from source
return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
}
// Convert to an intermediate form
- src = &v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ src = &storage.ManagedClusters_TrustedAccessRoleBinding_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -441,14 +444,14 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(so
// ConvertSpecTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_Spec
func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_TrustedAccessRoleBinding_Spec)
if ok {
// Populate destination from our instance
return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ dst = &storage.ManagedClusters_TrustedAccessRoleBinding_Spec{}
err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -464,7 +467,7 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(dest
}
// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_Spec
-func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(source *v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(source *storage.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
// AzureName
binding.AzureName = source.AzureName
@@ -493,7 +496,7 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_F
}
// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec populates the provided destination ManagedClusters_TrustedAccessRoleBinding_Spec from our ManagedClusters_TrustedAccessRoleBinding_Spec
-func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(destination *v20230202ps.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(destination *storage.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -533,24 +536,6 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_T
return nil
}
-// Initialize_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
-func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) Initialize_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
-
- // Roles
- binding.Roles = genruntime.CloneSliceOfString(source.Roles)
-
- // SourceResourceReference
- if source.SourceResourceId != nil {
- sourceResourceReference := genruntime.CreateResourceReferenceFromARMID(*source.SourceResourceId)
- binding.SourceResourceReference = &sourceResourceReference
- } else {
- binding.SourceResourceReference = nil
- }
-
- // No error
- return nil
-}
-
// OriginalVersion returns the original API version used to create the resource.
func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) OriginalVersion() string {
return GroupVersion.Version
@@ -593,14 +578,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_TrustedAccessRoleBinding_S
// ConvertStatusFrom populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source
func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ src, ok := source.(*storage.ManagedClusters_TrustedAccessRoleBinding_STATUS)
if ok {
// Populate our instance from source
return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ src = &storage.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -617,14 +602,14 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFro
// ConvertStatusTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_STATUS
func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_TrustedAccessRoleBinding_STATUS)
if ok {
// Populate destination from our instance
return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ dst = &storage.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -715,7 +700,7 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
-func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *storage.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
// Conditions
binding.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -728,8 +713,9 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := TrustedAccessRoleBindingProperties_ProvisioningState_STATUS(*source.ProvisioningState)
- binding.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, trustedAccessRoleBindingProperties_ProvisioningState_STATUS_Values)
+ binding.ProvisioningState = &provisioningStateTemp
} else {
binding.ProvisioningState = nil
}
@@ -760,7 +746,7 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS populates the provided destination ManagedClusters_TrustedAccessRoleBinding_STATUS from our ManagedClusters_TrustedAccessRoleBinding_STATUS
-func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(destination *v20230202ps.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(destination *storage.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -789,7 +775,7 @@ func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties
// SystemData
if binding.SystemData != nil {
- var systemDatum v20230202ps.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := binding.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/zz_generated.deepcopy.go
index 4bb6c0c0d2..85ec8ca33d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/zz_generated.deepcopy.go
@@ -6389,6 +6389,11 @@ func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOper
*out = new(genruntime.ConfigMapDestination)
**out = **in
}
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorConfigMaps.
@@ -9254,7 +9259,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -9332,11 +9337,6 @@ func (in *ManagedClusterWindowsProfile_ARM) DeepCopy() *ManagedClusterWindowsPro
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -9372,11 +9372,6 @@ func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindows
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS_ARM) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_status_arm_types_gen.go
index a205d11086..130e136e58 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_status_arm_types_gen.go
@@ -85,6 +85,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -93,3 +101,11 @@ const (
SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_types_gen.go
index 5ffebf6edb..2bd0cbdf98 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleet_types_gen.go
@@ -5,7 +5,7 @@ package v1api20230315preview
import (
"fmt"
- v20230315ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &Fleet{}
// ConvertFrom populates our Fleet from the provided hub Fleet
func (fleet *Fleet) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20230315ps.Fleet)
+ source, ok := hub.(*storage.Fleet)
if !ok {
return fmt.Errorf("expected containerservice/v1api20230315preview/storage/Fleet but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (fleet *Fleet) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub Fleet from our Fleet
func (fleet *Fleet) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20230315ps.Fleet)
+ destination, ok := hub.(*storage.Fleet)
if !ok {
return fmt.Errorf("expected containerservice/v1api20230315preview/storage/Fleet but received %T instead", hub)
}
@@ -271,7 +271,7 @@ func (fleet *Fleet) validateWriteOnceProperties(old runtime.Object) (admission.W
}
// AssignProperties_From_Fleet populates our Fleet from the provided source Fleet
-func (fleet *Fleet) AssignProperties_From_Fleet(source *v20230315ps.Fleet) error {
+func (fleet *Fleet) AssignProperties_From_Fleet(source *storage.Fleet) error {
// ObjectMeta
fleet.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -297,13 +297,13 @@ func (fleet *Fleet) AssignProperties_From_Fleet(source *v20230315ps.Fleet) error
}
// AssignProperties_To_Fleet populates the provided destination Fleet from our Fleet
-func (fleet *Fleet) AssignProperties_To_Fleet(destination *v20230315ps.Fleet) error {
+func (fleet *Fleet) AssignProperties_To_Fleet(destination *storage.Fleet) error {
// ObjectMeta
destination.ObjectMeta = *fleet.ObjectMeta.DeepCopy()
// Spec
- var spec v20230315ps.Fleet_Spec
+ var spec storage.Fleet_Spec
err := fleet.Spec.AssignProperties_To_Fleet_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Fleet_Spec() to populate field Spec")
@@ -311,7 +311,7 @@ func (fleet *Fleet) AssignProperties_To_Fleet(destination *v20230315ps.Fleet) er
destination.Spec = spec
// Status
- var status v20230315ps.Fleet_STATUS
+ var status storage.Fleet_STATUS
err = fleet.Status.AssignProperties_To_Fleet_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Fleet_STATUS() to populate field Status")
@@ -475,14 +475,14 @@ var _ genruntime.ConvertibleSpec = &Fleet_Spec{}
// ConvertSpecFrom populates our Fleet_Spec from the provided source
func (fleet *Fleet_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230315ps.Fleet_Spec)
+ src, ok := source.(*storage.Fleet_Spec)
if ok {
// Populate our instance from source
return fleet.AssignProperties_From_Fleet_Spec(src)
}
// Convert to an intermediate form
- src = &v20230315ps.Fleet_Spec{}
+ src = &storage.Fleet_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -499,14 +499,14 @@ func (fleet *Fleet_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) erro
// ConvertSpecTo populates the provided destination from our Fleet_Spec
func (fleet *Fleet_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230315ps.Fleet_Spec)
+ dst, ok := destination.(*storage.Fleet_Spec)
if ok {
// Populate destination from our instance
return fleet.AssignProperties_To_Fleet_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230315ps.Fleet_Spec{}
+ dst = &storage.Fleet_Spec{}
err := fleet.AssignProperties_To_Fleet_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -522,7 +522,7 @@ func (fleet *Fleet_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) e
}
// AssignProperties_From_Fleet_Spec populates our Fleet_Spec from the provided source Fleet_Spec
-func (fleet *Fleet_Spec) AssignProperties_From_Fleet_Spec(source *v20230315ps.Fleet_Spec) error {
+func (fleet *Fleet_Spec) AssignProperties_From_Fleet_Spec(source *storage.Fleet_Spec) error {
// AzureName
fleet.AzureName = source.AzureName
@@ -570,7 +570,7 @@ func (fleet *Fleet_Spec) AssignProperties_From_Fleet_Spec(source *v20230315ps.Fl
}
// AssignProperties_To_Fleet_Spec populates the provided destination Fleet_Spec from our Fleet_Spec
-func (fleet *Fleet_Spec) AssignProperties_To_Fleet_Spec(destination *v20230315ps.Fleet_Spec) error {
+func (fleet *Fleet_Spec) AssignProperties_To_Fleet_Spec(destination *storage.Fleet_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -579,7 +579,7 @@ func (fleet *Fleet_Spec) AssignProperties_To_Fleet_Spec(destination *v20230315ps
// HubProfile
if fleet.HubProfile != nil {
- var hubProfile v20230315ps.FleetHubProfile
+ var hubProfile storage.FleetHubProfile
err := fleet.HubProfile.AssignProperties_To_FleetHubProfile(&hubProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FleetHubProfile() to populate field HubProfile")
@@ -594,7 +594,7 @@ func (fleet *Fleet_Spec) AssignProperties_To_Fleet_Spec(destination *v20230315ps
// OperatorSpec
if fleet.OperatorSpec != nil {
- var operatorSpec v20230315ps.FleetOperatorSpec
+ var operatorSpec storage.FleetOperatorSpec
err := fleet.OperatorSpec.AssignProperties_To_FleetOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FleetOperatorSpec() to populate field OperatorSpec")
@@ -703,14 +703,14 @@ var _ genruntime.ConvertibleStatus = &Fleet_STATUS{}
// ConvertStatusFrom populates our Fleet_STATUS from the provided source
func (fleet *Fleet_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230315ps.Fleet_STATUS)
+ src, ok := source.(*storage.Fleet_STATUS)
if ok {
// Populate our instance from source
return fleet.AssignProperties_From_Fleet_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230315ps.Fleet_STATUS{}
+ src = &storage.Fleet_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -727,14 +727,14 @@ func (fleet *Fleet_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus
// ConvertStatusTo populates the provided destination from our Fleet_STATUS
func (fleet *Fleet_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230315ps.Fleet_STATUS)
+ dst, ok := destination.(*storage.Fleet_STATUS)
if ok {
// Populate destination from our instance
return fleet.AssignProperties_To_Fleet_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230315ps.Fleet_STATUS{}
+ dst = &storage.Fleet_STATUS{}
err := fleet.AssignProperties_To_Fleet_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -842,7 +842,7 @@ func (fleet *Fleet_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_Fleet_STATUS populates our Fleet_STATUS from the provided source Fleet_STATUS
-func (fleet *Fleet_STATUS) AssignProperties_From_Fleet_STATUS(source *v20230315ps.Fleet_STATUS) error {
+func (fleet *Fleet_STATUS) AssignProperties_From_Fleet_STATUS(source *storage.Fleet_STATUS) error {
// Conditions
fleet.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -873,8 +873,9 @@ func (fleet *Fleet_STATUS) AssignProperties_From_Fleet_STATUS(source *v20230315p
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := FleetProvisioningState_STATUS(*source.ProvisioningState)
- fleet.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, fleetProvisioningState_STATUS_Values)
+ fleet.ProvisioningState = &provisioningStateTemp
} else {
fleet.ProvisioningState = nil
}
@@ -902,7 +903,7 @@ func (fleet *Fleet_STATUS) AssignProperties_From_Fleet_STATUS(source *v20230315p
}
// AssignProperties_To_Fleet_STATUS populates the provided destination Fleet_STATUS from our Fleet_STATUS
-func (fleet *Fleet_STATUS) AssignProperties_To_Fleet_STATUS(destination *v20230315ps.Fleet_STATUS) error {
+func (fleet *Fleet_STATUS) AssignProperties_To_Fleet_STATUS(destination *storage.Fleet_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -914,7 +915,7 @@ func (fleet *Fleet_STATUS) AssignProperties_To_Fleet_STATUS(destination *v202303
// HubProfile
if fleet.HubProfile != nil {
- var hubProfile v20230315ps.FleetHubProfile_STATUS
+ var hubProfile storage.FleetHubProfile_STATUS
err := fleet.HubProfile.AssignProperties_To_FleetHubProfile_STATUS(&hubProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FleetHubProfile_STATUS() to populate field HubProfile")
@@ -943,7 +944,7 @@ func (fleet *Fleet_STATUS) AssignProperties_To_Fleet_STATUS(destination *v202303
// SystemData
if fleet.SystemData != nil {
- var systemDatum v20230315ps.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := fleet.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -1019,7 +1020,7 @@ func (profile *FleetHubProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_FleetHubProfile populates our FleetHubProfile from the provided source FleetHubProfile
-func (profile *FleetHubProfile) AssignProperties_From_FleetHubProfile(source *v20230315ps.FleetHubProfile) error {
+func (profile *FleetHubProfile) AssignProperties_From_FleetHubProfile(source *storage.FleetHubProfile) error {
// DnsPrefix
if source.DnsPrefix != nil {
@@ -1034,7 +1035,7 @@ func (profile *FleetHubProfile) AssignProperties_From_FleetHubProfile(source *v2
}
// AssignProperties_To_FleetHubProfile populates the provided destination FleetHubProfile from our FleetHubProfile
-func (profile *FleetHubProfile) AssignProperties_To_FleetHubProfile(destination *v20230315ps.FleetHubProfile) error {
+func (profile *FleetHubProfile) AssignProperties_To_FleetHubProfile(destination *storage.FleetHubProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1121,7 +1122,7 @@ func (profile *FleetHubProfile_STATUS) PopulateFromARM(owner genruntime.Arbitrar
}
// AssignProperties_From_FleetHubProfile_STATUS populates our FleetHubProfile_STATUS from the provided source FleetHubProfile_STATUS
-func (profile *FleetHubProfile_STATUS) AssignProperties_From_FleetHubProfile_STATUS(source *v20230315ps.FleetHubProfile_STATUS) error {
+func (profile *FleetHubProfile_STATUS) AssignProperties_From_FleetHubProfile_STATUS(source *storage.FleetHubProfile_STATUS) error {
// DnsPrefix
profile.DnsPrefix = genruntime.ClonePointerToString(source.DnsPrefix)
@@ -1137,7 +1138,7 @@ func (profile *FleetHubProfile_STATUS) AssignProperties_From_FleetHubProfile_STA
}
// AssignProperties_To_FleetHubProfile_STATUS populates the provided destination FleetHubProfile_STATUS from our FleetHubProfile_STATUS
-func (profile *FleetHubProfile_STATUS) AssignProperties_To_FleetHubProfile_STATUS(destination *v20230315ps.FleetHubProfile_STATUS) error {
+func (profile *FleetHubProfile_STATUS) AssignProperties_To_FleetHubProfile_STATUS(destination *storage.FleetHubProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1168,7 +1169,7 @@ type FleetOperatorSpec struct {
}
// AssignProperties_From_FleetOperatorSpec populates our FleetOperatorSpec from the provided source FleetOperatorSpec
-func (operator *FleetOperatorSpec) AssignProperties_From_FleetOperatorSpec(source *v20230315ps.FleetOperatorSpec) error {
+func (operator *FleetOperatorSpec) AssignProperties_From_FleetOperatorSpec(source *storage.FleetOperatorSpec) error {
// Secrets
if source.Secrets != nil {
@@ -1187,13 +1188,13 @@ func (operator *FleetOperatorSpec) AssignProperties_From_FleetOperatorSpec(sourc
}
// AssignProperties_To_FleetOperatorSpec populates the provided destination FleetOperatorSpec from our FleetOperatorSpec
-func (operator *FleetOperatorSpec) AssignProperties_To_FleetOperatorSpec(destination *v20230315ps.FleetOperatorSpec) error {
+func (operator *FleetOperatorSpec) AssignProperties_To_FleetOperatorSpec(destination *storage.FleetOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Secrets
if operator.Secrets != nil {
- var secret v20230315ps.FleetOperatorSecrets
+ var secret storage.FleetOperatorSecrets
err := operator.Secrets.AssignProperties_To_FleetOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FleetOperatorSecrets() to populate field Secrets")
@@ -1226,6 +1227,16 @@ const (
FleetProvisioningState_STATUS_Updating = FleetProvisioningState_STATUS("Updating")
)
+// Mapping from string to FleetProvisioningState_STATUS
+var fleetProvisioningState_STATUS_Values = map[string]FleetProvisioningState_STATUS{
+ "canceled": FleetProvisioningState_STATUS_Canceled,
+ "creating": FleetProvisioningState_STATUS_Creating,
+ "deleting": FleetProvisioningState_STATUS_Deleting,
+ "failed": FleetProvisioningState_STATUS_Failed,
+ "succeeded": FleetProvisioningState_STATUS_Succeeded,
+ "updating": FleetProvisioningState_STATUS_Updating,
+}
+
// Metadata pertaining to creation and last modification of the resource.
type SystemData_STATUS struct {
// CreatedAt: The timestamp of resource creation (UTC).
@@ -1302,7 +1313,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20230315ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -1312,8 +1323,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -1326,8 +1338,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -1337,7 +1350,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20230315ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1387,7 +1400,7 @@ type FleetOperatorSecrets struct {
}
// AssignProperties_From_FleetOperatorSecrets populates our FleetOperatorSecrets from the provided source FleetOperatorSecrets
-func (secrets *FleetOperatorSecrets) AssignProperties_From_FleetOperatorSecrets(source *v20230315ps.FleetOperatorSecrets) error {
+func (secrets *FleetOperatorSecrets) AssignProperties_From_FleetOperatorSecrets(source *storage.FleetOperatorSecrets) error {
// UserCredentials
if source.UserCredentials != nil {
@@ -1402,7 +1415,7 @@ func (secrets *FleetOperatorSecrets) AssignProperties_From_FleetOperatorSecrets(
}
// AssignProperties_To_FleetOperatorSecrets populates the provided destination FleetOperatorSecrets from our FleetOperatorSecrets
-func (secrets *FleetOperatorSecrets) AssignProperties_To_FleetOperatorSecrets(destination *v20230315ps.FleetOperatorSecrets) error {
+func (secrets *FleetOperatorSecrets) AssignProperties_To_FleetOperatorSecrets(destination *storage.FleetOperatorSecrets) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_member_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_member_types_gen.go
index 75ac4f10b0..6caa8c81a7 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_member_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_member_types_gen.go
@@ -5,7 +5,7 @@ package v1api20230315preview
import (
"fmt"
- v20230315ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &FleetsMember{}
// ConvertFrom populates our FleetsMember from the provided hub FleetsMember
func (member *FleetsMember) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20230315ps.FleetsMember)
+ source, ok := hub.(*storage.FleetsMember)
if !ok {
return fmt.Errorf("expected containerservice/v1api20230315preview/storage/FleetsMember but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (member *FleetsMember) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub FleetsMember from our FleetsMember
func (member *FleetsMember) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20230315ps.FleetsMember)
+ destination, ok := hub.(*storage.FleetsMember)
if !ok {
return fmt.Errorf("expected containerservice/v1api20230315preview/storage/FleetsMember but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (member *FleetsMember) validateWriteOnceProperties(old runtime.Object) (adm
}
// AssignProperties_From_FleetsMember populates our FleetsMember from the provided source FleetsMember
-func (member *FleetsMember) AssignProperties_From_FleetsMember(source *v20230315ps.FleetsMember) error {
+func (member *FleetsMember) AssignProperties_From_FleetsMember(source *storage.FleetsMember) error {
// ObjectMeta
member.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (member *FleetsMember) AssignProperties_From_FleetsMember(source *v20230315
}
// AssignProperties_To_FleetsMember populates the provided destination FleetsMember from our FleetsMember
-func (member *FleetsMember) AssignProperties_To_FleetsMember(destination *v20230315ps.FleetsMember) error {
+func (member *FleetsMember) AssignProperties_To_FleetsMember(destination *storage.FleetsMember) error {
// ObjectMeta
destination.ObjectMeta = *member.ObjectMeta.DeepCopy()
// Spec
- var spec v20230315ps.Fleets_Member_Spec
+ var spec storage.Fleets_Member_Spec
err := member.Spec.AssignProperties_To_Fleets_Member_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Fleets_Member_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (member *FleetsMember) AssignProperties_To_FleetsMember(destination *v20230
destination.Spec = spec
// Status
- var status v20230315ps.Fleets_Member_STATUS
+ var status storage.Fleets_Member_STATUS
err = member.Status.AssignProperties_To_Fleets_Member_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Fleets_Member_STATUS() to populate field Status")
@@ -422,14 +422,14 @@ var _ genruntime.ConvertibleSpec = &Fleets_Member_Spec{}
// ConvertSpecFrom populates our Fleets_Member_Spec from the provided source
func (member *Fleets_Member_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230315ps.Fleets_Member_Spec)
+ src, ok := source.(*storage.Fleets_Member_Spec)
if ok {
// Populate our instance from source
return member.AssignProperties_From_Fleets_Member_Spec(src)
}
// Convert to an intermediate form
- src = &v20230315ps.Fleets_Member_Spec{}
+ src = &storage.Fleets_Member_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -446,14 +446,14 @@ func (member *Fleets_Member_Spec) ConvertSpecFrom(source genruntime.ConvertibleS
// ConvertSpecTo populates the provided destination from our Fleets_Member_Spec
func (member *Fleets_Member_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230315ps.Fleets_Member_Spec)
+ dst, ok := destination.(*storage.Fleets_Member_Spec)
if ok {
// Populate destination from our instance
return member.AssignProperties_To_Fleets_Member_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230315ps.Fleets_Member_Spec{}
+ dst = &storage.Fleets_Member_Spec{}
err := member.AssignProperties_To_Fleets_Member_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -469,7 +469,7 @@ func (member *Fleets_Member_Spec) ConvertSpecTo(destination genruntime.Convertib
}
// AssignProperties_From_Fleets_Member_Spec populates our Fleets_Member_Spec from the provided source Fleets_Member_Spec
-func (member *Fleets_Member_Spec) AssignProperties_From_Fleets_Member_Spec(source *v20230315ps.Fleets_Member_Spec) error {
+func (member *Fleets_Member_Spec) AssignProperties_From_Fleets_Member_Spec(source *storage.Fleets_Member_Spec) error {
// AzureName
member.AzureName = source.AzureName
@@ -503,7 +503,7 @@ func (member *Fleets_Member_Spec) AssignProperties_From_Fleets_Member_Spec(sourc
}
// AssignProperties_To_Fleets_Member_Spec populates the provided destination Fleets_Member_Spec from our Fleets_Member_Spec
-func (member *Fleets_Member_Spec) AssignProperties_To_Fleets_Member_Spec(destination *v20230315ps.Fleets_Member_Spec) error {
+func (member *Fleets_Member_Spec) AssignProperties_To_Fleets_Member_Spec(destination *storage.Fleets_Member_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -617,14 +617,14 @@ var _ genruntime.ConvertibleStatus = &Fleets_Member_STATUS{}
// ConvertStatusFrom populates our Fleets_Member_STATUS from the provided source
func (member *Fleets_Member_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230315ps.Fleets_Member_STATUS)
+ src, ok := source.(*storage.Fleets_Member_STATUS)
if ok {
// Populate our instance from source
return member.AssignProperties_From_Fleets_Member_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230315ps.Fleets_Member_STATUS{}
+ src = &storage.Fleets_Member_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -641,14 +641,14 @@ func (member *Fleets_Member_STATUS) ConvertStatusFrom(source genruntime.Converti
// ConvertStatusTo populates the provided destination from our Fleets_Member_STATUS
func (member *Fleets_Member_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230315ps.Fleets_Member_STATUS)
+ dst, ok := destination.(*storage.Fleets_Member_STATUS)
if ok {
// Populate destination from our instance
return member.AssignProperties_To_Fleets_Member_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230315ps.Fleets_Member_STATUS{}
+ dst = &storage.Fleets_Member_STATUS{}
err := member.AssignProperties_To_Fleets_Member_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -746,7 +746,7 @@ func (member *Fleets_Member_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_Fleets_Member_STATUS populates our Fleets_Member_STATUS from the provided source Fleets_Member_STATUS
-func (member *Fleets_Member_STATUS) AssignProperties_From_Fleets_Member_STATUS(source *v20230315ps.Fleets_Member_STATUS) error {
+func (member *Fleets_Member_STATUS) AssignProperties_From_Fleets_Member_STATUS(source *storage.Fleets_Member_STATUS) error {
// ClusterResourceId
member.ClusterResourceId = genruntime.ClonePointerToString(source.ClusterResourceId)
@@ -768,8 +768,9 @@ func (member *Fleets_Member_STATUS) AssignProperties_From_Fleets_Member_STATUS(s
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := FleetMemberProvisioningState_STATUS(*source.ProvisioningState)
- member.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, fleetMemberProvisioningState_STATUS_Values)
+ member.ProvisioningState = &provisioningStateTemp
} else {
member.ProvisioningState = nil
}
@@ -794,7 +795,7 @@ func (member *Fleets_Member_STATUS) AssignProperties_From_Fleets_Member_STATUS(s
}
// AssignProperties_To_Fleets_Member_STATUS populates the provided destination Fleets_Member_STATUS from our Fleets_Member_STATUS
-func (member *Fleets_Member_STATUS) AssignProperties_To_Fleets_Member_STATUS(destination *v20230315ps.Fleets_Member_STATUS) error {
+func (member *Fleets_Member_STATUS) AssignProperties_To_Fleets_Member_STATUS(destination *storage.Fleets_Member_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -826,7 +827,7 @@ func (member *Fleets_Member_STATUS) AssignProperties_To_Fleets_Member_STATUS(des
// SystemData
if member.SystemData != nil {
- var systemDatum v20230315ps.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := member.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -862,6 +863,16 @@ const (
FleetMemberProvisioningState_STATUS_Updating = FleetMemberProvisioningState_STATUS("Updating")
)
+// Mapping from string to FleetMemberProvisioningState_STATUS
+var fleetMemberProvisioningState_STATUS_Values = map[string]FleetMemberProvisioningState_STATUS{
+ "canceled": FleetMemberProvisioningState_STATUS_Canceled,
+ "failed": FleetMemberProvisioningState_STATUS_Failed,
+ "joining": FleetMemberProvisioningState_STATUS_Joining,
+ "leaving": FleetMemberProvisioningState_STATUS_Leaving,
+ "succeeded": FleetMemberProvisioningState_STATUS_Succeeded,
+ "updating": FleetMemberProvisioningState_STATUS_Updating,
+}
+
func init() {
SchemeBuilder.Register(&FleetsMember{}, &FleetsMemberList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_spec_arm_types_gen.go
index 087b1b6d21..639c3c3549 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_spec_arm_types_gen.go
@@ -65,9 +65,7 @@ type ManagedClusterUpgradeSpec_ARM struct {
// KubernetesVersion: The Kubernetes version to upgrade the member clusters to.
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
- // Type: The upgrade type.
- // Full requires the KubernetesVersion property to be set.
- // NodeImageOnly requires the KubernetesVersion property not to be set.
+ // Type: ManagedClusterUpgradeType is the type of upgrade to be applied.
Type *ManagedClusterUpgradeType `json:"type,omitempty"`
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_status_arm_types_gen.go
index cf83544551..2ef1347434 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_status_arm_types_gen.go
@@ -80,9 +80,7 @@ type ManagedClusterUpgradeSpec_STATUS_ARM struct {
// KubernetesVersion: The Kubernetes version to upgrade the member clusters to.
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
- // Type: The upgrade type.
- // Full requires the KubernetesVersion property to be set.
- // NodeImageOnly requires the KubernetesVersion property not to be set.
+ // Type: ManagedClusterUpgradeType is the type of upgrade to be applied.
Type *ManagedClusterUpgradeType_STATUS `json:"type,omitempty"`
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_types_gen.go
index 68eef0abb9..1be2721650 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/fleets_update_run_types_gen.go
@@ -5,7 +5,7 @@ package v1api20230315preview
import (
"fmt"
- v20230315ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -50,7 +50,7 @@ var _ conversion.Convertible = &FleetsUpdateRun{}
// ConvertFrom populates our FleetsUpdateRun from the provided hub FleetsUpdateRun
func (updateRun *FleetsUpdateRun) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20230315ps.FleetsUpdateRun)
+ source, ok := hub.(*storage.FleetsUpdateRun)
if !ok {
return fmt.Errorf("expected containerservice/v1api20230315preview/storage/FleetsUpdateRun but received %T instead", hub)
}
@@ -60,7 +60,7 @@ func (updateRun *FleetsUpdateRun) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub FleetsUpdateRun from our FleetsUpdateRun
func (updateRun *FleetsUpdateRun) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20230315ps.FleetsUpdateRun)
+ destination, ok := hub.(*storage.FleetsUpdateRun)
if !ok {
return fmt.Errorf("expected containerservice/v1api20230315preview/storage/FleetsUpdateRun but received %T instead", hub)
}
@@ -255,7 +255,7 @@ func (updateRun *FleetsUpdateRun) validateWriteOnceProperties(old runtime.Object
}
// AssignProperties_From_FleetsUpdateRun populates our FleetsUpdateRun from the provided source FleetsUpdateRun
-func (updateRun *FleetsUpdateRun) AssignProperties_From_FleetsUpdateRun(source *v20230315ps.FleetsUpdateRun) error {
+func (updateRun *FleetsUpdateRun) AssignProperties_From_FleetsUpdateRun(source *storage.FleetsUpdateRun) error {
// ObjectMeta
updateRun.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -281,13 +281,13 @@ func (updateRun *FleetsUpdateRun) AssignProperties_From_FleetsUpdateRun(source *
}
// AssignProperties_To_FleetsUpdateRun populates the provided destination FleetsUpdateRun from our FleetsUpdateRun
-func (updateRun *FleetsUpdateRun) AssignProperties_To_FleetsUpdateRun(destination *v20230315ps.FleetsUpdateRun) error {
+func (updateRun *FleetsUpdateRun) AssignProperties_To_FleetsUpdateRun(destination *storage.FleetsUpdateRun) error {
// ObjectMeta
destination.ObjectMeta = *updateRun.ObjectMeta.DeepCopy()
// Spec
- var spec v20230315ps.Fleets_UpdateRun_Spec
+ var spec storage.Fleets_UpdateRun_Spec
err := updateRun.Spec.AssignProperties_To_Fleets_UpdateRun_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Fleets_UpdateRun_Spec() to populate field Spec")
@@ -295,7 +295,7 @@ func (updateRun *FleetsUpdateRun) AssignProperties_To_FleetsUpdateRun(destinatio
destination.Spec = spec
// Status
- var status v20230315ps.Fleets_UpdateRun_STATUS
+ var status storage.Fleets_UpdateRun_STATUS
err = updateRun.Status.AssignProperties_To_Fleets_UpdateRun_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Fleets_UpdateRun_STATUS() to populate field Status")
@@ -443,14 +443,14 @@ var _ genruntime.ConvertibleSpec = &Fleets_UpdateRun_Spec{}
// ConvertSpecFrom populates our Fleets_UpdateRun_Spec from the provided source
func (updateRun *Fleets_UpdateRun_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230315ps.Fleets_UpdateRun_Spec)
+ src, ok := source.(*storage.Fleets_UpdateRun_Spec)
if ok {
// Populate our instance from source
return updateRun.AssignProperties_From_Fleets_UpdateRun_Spec(src)
}
// Convert to an intermediate form
- src = &v20230315ps.Fleets_UpdateRun_Spec{}
+ src = &storage.Fleets_UpdateRun_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -467,14 +467,14 @@ func (updateRun *Fleets_UpdateRun_Spec) ConvertSpecFrom(source genruntime.Conver
// ConvertSpecTo populates the provided destination from our Fleets_UpdateRun_Spec
func (updateRun *Fleets_UpdateRun_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230315ps.Fleets_UpdateRun_Spec)
+ dst, ok := destination.(*storage.Fleets_UpdateRun_Spec)
if ok {
// Populate destination from our instance
return updateRun.AssignProperties_To_Fleets_UpdateRun_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230315ps.Fleets_UpdateRun_Spec{}
+ dst = &storage.Fleets_UpdateRun_Spec{}
err := updateRun.AssignProperties_To_Fleets_UpdateRun_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -490,7 +490,7 @@ func (updateRun *Fleets_UpdateRun_Spec) ConvertSpecTo(destination genruntime.Con
}
// AssignProperties_From_Fleets_UpdateRun_Spec populates our Fleets_UpdateRun_Spec from the provided source Fleets_UpdateRun_Spec
-func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_From_Fleets_UpdateRun_Spec(source *v20230315ps.Fleets_UpdateRun_Spec) error {
+func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_From_Fleets_UpdateRun_Spec(source *storage.Fleets_UpdateRun_Spec) error {
// AzureName
updateRun.AzureName = source.AzureName
@@ -532,7 +532,7 @@ func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_From_Fleets_UpdateRun_S
}
// AssignProperties_To_Fleets_UpdateRun_Spec populates the provided destination Fleets_UpdateRun_Spec from our Fleets_UpdateRun_Spec
-func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_To_Fleets_UpdateRun_Spec(destination *v20230315ps.Fleets_UpdateRun_Spec) error {
+func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_To_Fleets_UpdateRun_Spec(destination *storage.Fleets_UpdateRun_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -541,7 +541,7 @@ func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_To_Fleets_UpdateRun_Spe
// ManagedClusterUpdate
if updateRun.ManagedClusterUpdate != nil {
- var managedClusterUpdate v20230315ps.ManagedClusterUpdate
+ var managedClusterUpdate storage.ManagedClusterUpdate
err := updateRun.ManagedClusterUpdate.AssignProperties_To_ManagedClusterUpdate(&managedClusterUpdate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterUpdate() to populate field ManagedClusterUpdate")
@@ -564,7 +564,7 @@ func (updateRun *Fleets_UpdateRun_Spec) AssignProperties_To_Fleets_UpdateRun_Spe
// Strategy
if updateRun.Strategy != nil {
- var strategy v20230315ps.UpdateRunStrategy
+ var strategy storage.UpdateRunStrategy
err := updateRun.Strategy.AssignProperties_To_UpdateRunStrategy(&strategy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateRunStrategy() to populate field Strategy")
@@ -670,14 +670,14 @@ var _ genruntime.ConvertibleStatus = &Fleets_UpdateRun_STATUS{}
// ConvertStatusFrom populates our Fleets_UpdateRun_STATUS from the provided source
func (updateRun *Fleets_UpdateRun_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230315ps.Fleets_UpdateRun_STATUS)
+ src, ok := source.(*storage.Fleets_UpdateRun_STATUS)
if ok {
// Populate our instance from source
return updateRun.AssignProperties_From_Fleets_UpdateRun_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230315ps.Fleets_UpdateRun_STATUS{}
+ src = &storage.Fleets_UpdateRun_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -694,14 +694,14 @@ func (updateRun *Fleets_UpdateRun_STATUS) ConvertStatusFrom(source genruntime.Co
// ConvertStatusTo populates the provided destination from our Fleets_UpdateRun_STATUS
func (updateRun *Fleets_UpdateRun_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230315ps.Fleets_UpdateRun_STATUS)
+ dst, ok := destination.(*storage.Fleets_UpdateRun_STATUS)
if ok {
// Populate destination from our instance
return updateRun.AssignProperties_To_Fleets_UpdateRun_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230315ps.Fleets_UpdateRun_STATUS{}
+ dst = &storage.Fleets_UpdateRun_STATUS{}
err := updateRun.AssignProperties_To_Fleets_UpdateRun_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -823,7 +823,7 @@ func (updateRun *Fleets_UpdateRun_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_Fleets_UpdateRun_STATUS populates our Fleets_UpdateRun_STATUS from the provided source Fleets_UpdateRun_STATUS
-func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_From_Fleets_UpdateRun_STATUS(source *v20230315ps.Fleets_UpdateRun_STATUS) error {
+func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_From_Fleets_UpdateRun_STATUS(source *storage.Fleets_UpdateRun_STATUS) error {
// Conditions
updateRun.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -851,8 +851,9 @@ func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_From_Fleets_UpdateRun
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := UpdateRunProvisioningState_STATUS(*source.ProvisioningState)
- updateRun.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, updateRunProvisioningState_STATUS_Values)
+ updateRun.ProvisioningState = &provisioningStateTemp
} else {
updateRun.ProvisioningState = nil
}
@@ -901,7 +902,7 @@ func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_From_Fleets_UpdateRun
}
// AssignProperties_To_Fleets_UpdateRun_STATUS populates the provided destination Fleets_UpdateRun_STATUS from our Fleets_UpdateRun_STATUS
-func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_To_Fleets_UpdateRun_STATUS(destination *v20230315ps.Fleets_UpdateRun_STATUS) error {
+func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_To_Fleets_UpdateRun_STATUS(destination *storage.Fleets_UpdateRun_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -916,7 +917,7 @@ func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_To_Fleets_UpdateRun_S
// ManagedClusterUpdate
if updateRun.ManagedClusterUpdate != nil {
- var managedClusterUpdate v20230315ps.ManagedClusterUpdate_STATUS
+ var managedClusterUpdate storage.ManagedClusterUpdate_STATUS
err := updateRun.ManagedClusterUpdate.AssignProperties_To_ManagedClusterUpdate_STATUS(&managedClusterUpdate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterUpdate_STATUS() to populate field ManagedClusterUpdate")
@@ -939,7 +940,7 @@ func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_To_Fleets_UpdateRun_S
// Status
if updateRun.Status != nil {
- var status v20230315ps.UpdateRunStatus_STATUS
+ var status storage.UpdateRunStatus_STATUS
err := updateRun.Status.AssignProperties_To_UpdateRunStatus_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateRunStatus_STATUS() to populate field Status")
@@ -951,7 +952,7 @@ func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_To_Fleets_UpdateRun_S
// Strategy
if updateRun.Strategy != nil {
- var strategy v20230315ps.UpdateRunStrategy_STATUS
+ var strategy storage.UpdateRunStrategy_STATUS
err := updateRun.Strategy.AssignProperties_To_UpdateRunStrategy_STATUS(&strategy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateRunStrategy_STATUS() to populate field Strategy")
@@ -963,7 +964,7 @@ func (updateRun *Fleets_UpdateRun_STATUS) AssignProperties_To_Fleets_UpdateRun_S
// SystemData
if updateRun.SystemData != nil {
- var systemDatum v20230315ps.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := updateRun.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -1043,7 +1044,7 @@ func (update *ManagedClusterUpdate) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ManagedClusterUpdate populates our ManagedClusterUpdate from the provided source ManagedClusterUpdate
-func (update *ManagedClusterUpdate) AssignProperties_From_ManagedClusterUpdate(source *v20230315ps.ManagedClusterUpdate) error {
+func (update *ManagedClusterUpdate) AssignProperties_From_ManagedClusterUpdate(source *storage.ManagedClusterUpdate) error {
// Upgrade
if source.Upgrade != nil {
@@ -1062,13 +1063,13 @@ func (update *ManagedClusterUpdate) AssignProperties_From_ManagedClusterUpdate(s
}
// AssignProperties_To_ManagedClusterUpdate populates the provided destination ManagedClusterUpdate from our ManagedClusterUpdate
-func (update *ManagedClusterUpdate) AssignProperties_To_ManagedClusterUpdate(destination *v20230315ps.ManagedClusterUpdate) error {
+func (update *ManagedClusterUpdate) AssignProperties_To_ManagedClusterUpdate(destination *storage.ManagedClusterUpdate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Upgrade
if update.Upgrade != nil {
- var upgrade v20230315ps.ManagedClusterUpgradeSpec
+ var upgrade storage.ManagedClusterUpgradeSpec
err := update.Upgrade.AssignProperties_To_ManagedClusterUpgradeSpec(&upgrade)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterUpgradeSpec() to populate field Upgrade")
@@ -1144,7 +1145,7 @@ func (update *ManagedClusterUpdate_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterUpdate_STATUS populates our ManagedClusterUpdate_STATUS from the provided source ManagedClusterUpdate_STATUS
-func (update *ManagedClusterUpdate_STATUS) AssignProperties_From_ManagedClusterUpdate_STATUS(source *v20230315ps.ManagedClusterUpdate_STATUS) error {
+func (update *ManagedClusterUpdate_STATUS) AssignProperties_From_ManagedClusterUpdate_STATUS(source *storage.ManagedClusterUpdate_STATUS) error {
// Upgrade
if source.Upgrade != nil {
@@ -1163,13 +1164,13 @@ func (update *ManagedClusterUpdate_STATUS) AssignProperties_From_ManagedClusterU
}
// AssignProperties_To_ManagedClusterUpdate_STATUS populates the provided destination ManagedClusterUpdate_STATUS from our ManagedClusterUpdate_STATUS
-func (update *ManagedClusterUpdate_STATUS) AssignProperties_To_ManagedClusterUpdate_STATUS(destination *v20230315ps.ManagedClusterUpdate_STATUS) error {
+func (update *ManagedClusterUpdate_STATUS) AssignProperties_To_ManagedClusterUpdate_STATUS(destination *storage.ManagedClusterUpdate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Upgrade
if update.Upgrade != nil {
- var upgrade v20230315ps.ManagedClusterUpgradeSpec_STATUS
+ var upgrade storage.ManagedClusterUpgradeSpec_STATUS
err := update.Upgrade.AssignProperties_To_ManagedClusterUpgradeSpec_STATUS(&upgrade)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterUpgradeSpec_STATUS() to populate field Upgrade")
@@ -1199,6 +1200,13 @@ const (
UpdateRunProvisioningState_STATUS_Succeeded = UpdateRunProvisioningState_STATUS("Succeeded")
)
+// Mapping from string to UpdateRunProvisioningState_STATUS
+var updateRunProvisioningState_STATUS_Values = map[string]UpdateRunProvisioningState_STATUS{
+ "canceled": UpdateRunProvisioningState_STATUS_Canceled,
+ "failed": UpdateRunProvisioningState_STATUS_Failed,
+ "succeeded": UpdateRunProvisioningState_STATUS_Succeeded,
+}
+
// The status of a UpdateRun.
type UpdateRunStatus_STATUS struct {
// Stages: The stages composing an update run. Stages are run sequentially withing an UpdateRun.
@@ -1248,7 +1256,7 @@ func (status *UpdateRunStatus_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_UpdateRunStatus_STATUS populates our UpdateRunStatus_STATUS from the provided source UpdateRunStatus_STATUS
-func (status *UpdateRunStatus_STATUS) AssignProperties_From_UpdateRunStatus_STATUS(source *v20230315ps.UpdateRunStatus_STATUS) error {
+func (status *UpdateRunStatus_STATUS) AssignProperties_From_UpdateRunStatus_STATUS(source *storage.UpdateRunStatus_STATUS) error {
// Stages
if source.Stages != nil {
@@ -1285,17 +1293,17 @@ func (status *UpdateRunStatus_STATUS) AssignProperties_From_UpdateRunStatus_STAT
}
// AssignProperties_To_UpdateRunStatus_STATUS populates the provided destination UpdateRunStatus_STATUS from our UpdateRunStatus_STATUS
-func (status *UpdateRunStatus_STATUS) AssignProperties_To_UpdateRunStatus_STATUS(destination *v20230315ps.UpdateRunStatus_STATUS) error {
+func (status *UpdateRunStatus_STATUS) AssignProperties_To_UpdateRunStatus_STATUS(destination *storage.UpdateRunStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Stages
if status.Stages != nil {
- stageList := make([]v20230315ps.UpdateStageStatus_STATUS, len(status.Stages))
+ stageList := make([]storage.UpdateStageStatus_STATUS, len(status.Stages))
for stageIndex, stageItem := range status.Stages {
// Shadow the loop variable to avoid aliasing
stageItem := stageItem
- var stage v20230315ps.UpdateStageStatus_STATUS
+ var stage storage.UpdateStageStatus_STATUS
err := stageItem.AssignProperties_To_UpdateStageStatus_STATUS(&stage)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStageStatus_STATUS() to populate field Stages")
@@ -1309,7 +1317,7 @@ func (status *UpdateRunStatus_STATUS) AssignProperties_To_UpdateRunStatus_STATUS
// Status
if status.Status != nil {
- var statusLocal v20230315ps.UpdateStatus_STATUS
+ var statusLocal storage.UpdateStatus_STATUS
err := status.Status.AssignProperties_To_UpdateStatus_STATUS(&statusLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStatus_STATUS() to populate field Status")
@@ -1390,7 +1398,7 @@ func (strategy *UpdateRunStrategy) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_UpdateRunStrategy populates our UpdateRunStrategy from the provided source UpdateRunStrategy
-func (strategy *UpdateRunStrategy) AssignProperties_From_UpdateRunStrategy(source *v20230315ps.UpdateRunStrategy) error {
+func (strategy *UpdateRunStrategy) AssignProperties_From_UpdateRunStrategy(source *storage.UpdateRunStrategy) error {
// Stages
if source.Stages != nil {
@@ -1415,17 +1423,17 @@ func (strategy *UpdateRunStrategy) AssignProperties_From_UpdateRunStrategy(sourc
}
// AssignProperties_To_UpdateRunStrategy populates the provided destination UpdateRunStrategy from our UpdateRunStrategy
-func (strategy *UpdateRunStrategy) AssignProperties_To_UpdateRunStrategy(destination *v20230315ps.UpdateRunStrategy) error {
+func (strategy *UpdateRunStrategy) AssignProperties_To_UpdateRunStrategy(destination *storage.UpdateRunStrategy) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Stages
if strategy.Stages != nil {
- stageList := make([]v20230315ps.UpdateStage, len(strategy.Stages))
+ stageList := make([]storage.UpdateStage, len(strategy.Stages))
for stageIndex, stageItem := range strategy.Stages {
// Shadow the loop variable to avoid aliasing
stageItem := stageItem
- var stage v20230315ps.UpdateStage
+ var stage storage.UpdateStage
err := stageItem.AssignProperties_To_UpdateStage(&stage)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStage() to populate field Stages")
@@ -1514,7 +1522,7 @@ func (strategy *UpdateRunStrategy_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_UpdateRunStrategy_STATUS populates our UpdateRunStrategy_STATUS from the provided source UpdateRunStrategy_STATUS
-func (strategy *UpdateRunStrategy_STATUS) AssignProperties_From_UpdateRunStrategy_STATUS(source *v20230315ps.UpdateRunStrategy_STATUS) error {
+func (strategy *UpdateRunStrategy_STATUS) AssignProperties_From_UpdateRunStrategy_STATUS(source *storage.UpdateRunStrategy_STATUS) error {
// Stages
if source.Stages != nil {
@@ -1539,17 +1547,17 @@ func (strategy *UpdateRunStrategy_STATUS) AssignProperties_From_UpdateRunStrateg
}
// AssignProperties_To_UpdateRunStrategy_STATUS populates the provided destination UpdateRunStrategy_STATUS from our UpdateRunStrategy_STATUS
-func (strategy *UpdateRunStrategy_STATUS) AssignProperties_To_UpdateRunStrategy_STATUS(destination *v20230315ps.UpdateRunStrategy_STATUS) error {
+func (strategy *UpdateRunStrategy_STATUS) AssignProperties_To_UpdateRunStrategy_STATUS(destination *storage.UpdateRunStrategy_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Stages
if strategy.Stages != nil {
- stageList := make([]v20230315ps.UpdateStage_STATUS, len(strategy.Stages))
+ stageList := make([]storage.UpdateStage_STATUS, len(strategy.Stages))
for stageIndex, stageItem := range strategy.Stages {
// Shadow the loop variable to avoid aliasing
stageItem := stageItem
- var stage v20230315ps.UpdateStage_STATUS
+ var stage storage.UpdateStage_STATUS
err := stageItem.AssignProperties_To_UpdateStage_STATUS(&stage)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStage_STATUS() to populate field Stages")
@@ -1578,9 +1586,7 @@ type ManagedClusterUpgradeSpec struct {
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
// +kubebuilder:validation:Required
- // Type: The upgrade type.
- // Full requires the KubernetesVersion property to be set.
- // NodeImageOnly requires the KubernetesVersion property not to be set.
+ // Type: ManagedClusterUpgradeType is the type of upgrade to be applied.
Type *ManagedClusterUpgradeType `json:"type,omitempty"`
}
@@ -1636,15 +1642,16 @@ func (upgrade *ManagedClusterUpgradeSpec) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_ManagedClusterUpgradeSpec populates our ManagedClusterUpgradeSpec from the provided source ManagedClusterUpgradeSpec
-func (upgrade *ManagedClusterUpgradeSpec) AssignProperties_From_ManagedClusterUpgradeSpec(source *v20230315ps.ManagedClusterUpgradeSpec) error {
+func (upgrade *ManagedClusterUpgradeSpec) AssignProperties_From_ManagedClusterUpgradeSpec(source *storage.ManagedClusterUpgradeSpec) error {
// KubernetesVersion
upgrade.KubernetesVersion = genruntime.ClonePointerToString(source.KubernetesVersion)
// Type
if source.Type != nil {
- typeVar := ManagedClusterUpgradeType(*source.Type)
- upgrade.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterUpgradeType_Values)
+ upgrade.Type = &typeTemp
} else {
upgrade.Type = nil
}
@@ -1654,7 +1661,7 @@ func (upgrade *ManagedClusterUpgradeSpec) AssignProperties_From_ManagedClusterUp
}
// AssignProperties_To_ManagedClusterUpgradeSpec populates the provided destination ManagedClusterUpgradeSpec from our ManagedClusterUpgradeSpec
-func (upgrade *ManagedClusterUpgradeSpec) AssignProperties_To_ManagedClusterUpgradeSpec(destination *v20230315ps.ManagedClusterUpgradeSpec) error {
+func (upgrade *ManagedClusterUpgradeSpec) AssignProperties_To_ManagedClusterUpgradeSpec(destination *storage.ManagedClusterUpgradeSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1688,7 +1695,7 @@ func (upgrade *ManagedClusterUpgradeSpec) Initialize_From_ManagedClusterUpgradeS
// Type
if source.Type != nil {
- typeVar := ManagedClusterUpgradeType(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), managedClusterUpgradeType_Values)
upgrade.Type = &typeVar
} else {
upgrade.Type = nil
@@ -1703,9 +1710,7 @@ type ManagedClusterUpgradeSpec_STATUS struct {
// KubernetesVersion: The Kubernetes version to upgrade the member clusters to.
KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
- // Type: The upgrade type.
- // Full requires the KubernetesVersion property to be set.
- // NodeImageOnly requires the KubernetesVersion property not to be set.
+ // Type: ManagedClusterUpgradeType is the type of upgrade to be applied.
Type *ManagedClusterUpgradeType_STATUS `json:"type,omitempty"`
}
@@ -1740,15 +1745,16 @@ func (upgrade *ManagedClusterUpgradeSpec_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterUpgradeSpec_STATUS populates our ManagedClusterUpgradeSpec_STATUS from the provided source ManagedClusterUpgradeSpec_STATUS
-func (upgrade *ManagedClusterUpgradeSpec_STATUS) AssignProperties_From_ManagedClusterUpgradeSpec_STATUS(source *v20230315ps.ManagedClusterUpgradeSpec_STATUS) error {
+func (upgrade *ManagedClusterUpgradeSpec_STATUS) AssignProperties_From_ManagedClusterUpgradeSpec_STATUS(source *storage.ManagedClusterUpgradeSpec_STATUS) error {
// KubernetesVersion
upgrade.KubernetesVersion = genruntime.ClonePointerToString(source.KubernetesVersion)
// Type
if source.Type != nil {
- typeVar := ManagedClusterUpgradeType_STATUS(*source.Type)
- upgrade.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterUpgradeType_STATUS_Values)
+ upgrade.Type = &typeTemp
} else {
upgrade.Type = nil
}
@@ -1758,7 +1764,7 @@ func (upgrade *ManagedClusterUpgradeSpec_STATUS) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterUpgradeSpec_STATUS populates the provided destination ManagedClusterUpgradeSpec_STATUS from our ManagedClusterUpgradeSpec_STATUS
-func (upgrade *ManagedClusterUpgradeSpec_STATUS) AssignProperties_To_ManagedClusterUpgradeSpec_STATUS(destination *v20230315ps.ManagedClusterUpgradeSpec_STATUS) error {
+func (upgrade *ManagedClusterUpgradeSpec_STATUS) AssignProperties_To_ManagedClusterUpgradeSpec_STATUS(destination *storage.ManagedClusterUpgradeSpec_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1873,7 +1879,7 @@ func (stage *UpdateStage) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_UpdateStage populates our UpdateStage from the provided source UpdateStage
-func (stage *UpdateStage) AssignProperties_From_UpdateStage(source *v20230315ps.UpdateStage) error {
+func (stage *UpdateStage) AssignProperties_From_UpdateStage(source *storage.UpdateStage) error {
// AfterStageWaitInSeconds
stage.AfterStageWaitInSeconds = genruntime.ClonePointerToInt(source.AfterStageWaitInSeconds)
@@ -1909,7 +1915,7 @@ func (stage *UpdateStage) AssignProperties_From_UpdateStage(source *v20230315ps.
}
// AssignProperties_To_UpdateStage populates the provided destination UpdateStage from our UpdateStage
-func (stage *UpdateStage) AssignProperties_To_UpdateStage(destination *v20230315ps.UpdateStage) error {
+func (stage *UpdateStage) AssignProperties_To_UpdateStage(destination *storage.UpdateStage) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1918,11 +1924,11 @@ func (stage *UpdateStage) AssignProperties_To_UpdateStage(destination *v20230315
// Groups
if stage.Groups != nil {
- groupList := make([]v20230315ps.UpdateGroup, len(stage.Groups))
+ groupList := make([]storage.UpdateGroup, len(stage.Groups))
for groupIndex, groupItem := range stage.Groups {
// Shadow the loop variable to avoid aliasing
groupItem := groupItem
- var group v20230315ps.UpdateGroup
+ var group storage.UpdateGroup
err := groupItem.AssignProperties_To_UpdateGroup(&group)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateGroup() to populate field Groups")
@@ -2044,7 +2050,7 @@ func (stage *UpdateStage_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_UpdateStage_STATUS populates our UpdateStage_STATUS from the provided source UpdateStage_STATUS
-func (stage *UpdateStage_STATUS) AssignProperties_From_UpdateStage_STATUS(source *v20230315ps.UpdateStage_STATUS) error {
+func (stage *UpdateStage_STATUS) AssignProperties_From_UpdateStage_STATUS(source *storage.UpdateStage_STATUS) error {
// AfterStageWaitInSeconds
stage.AfterStageWaitInSeconds = genruntime.ClonePointerToInt(source.AfterStageWaitInSeconds)
@@ -2075,7 +2081,7 @@ func (stage *UpdateStage_STATUS) AssignProperties_From_UpdateStage_STATUS(source
}
// AssignProperties_To_UpdateStage_STATUS populates the provided destination UpdateStage_STATUS from our UpdateStage_STATUS
-func (stage *UpdateStage_STATUS) AssignProperties_To_UpdateStage_STATUS(destination *v20230315ps.UpdateStage_STATUS) error {
+func (stage *UpdateStage_STATUS) AssignProperties_To_UpdateStage_STATUS(destination *storage.UpdateStage_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2084,11 +2090,11 @@ func (stage *UpdateStage_STATUS) AssignProperties_To_UpdateStage_STATUS(destinat
// Groups
if stage.Groups != nil {
- groupList := make([]v20230315ps.UpdateGroup_STATUS, len(stage.Groups))
+ groupList := make([]storage.UpdateGroup_STATUS, len(stage.Groups))
for groupIndex, groupItem := range stage.Groups {
// Shadow the loop variable to avoid aliasing
groupItem := groupItem
- var group v20230315ps.UpdateGroup_STATUS
+ var group storage.UpdateGroup_STATUS
err := groupItem.AssignProperties_To_UpdateGroup_STATUS(&group)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateGroup_STATUS() to populate field Groups")
@@ -2186,7 +2192,7 @@ func (status *UpdateStageStatus_STATUS) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_UpdateStageStatus_STATUS populates our UpdateStageStatus_STATUS from the provided source UpdateStageStatus_STATUS
-func (status *UpdateStageStatus_STATUS) AssignProperties_From_UpdateStageStatus_STATUS(source *v20230315ps.UpdateStageStatus_STATUS) error {
+func (status *UpdateStageStatus_STATUS) AssignProperties_From_UpdateStageStatus_STATUS(source *storage.UpdateStageStatus_STATUS) error {
// AfterStageWaitStatus
if source.AfterStageWaitStatus != nil {
@@ -2238,13 +2244,13 @@ func (status *UpdateStageStatus_STATUS) AssignProperties_From_UpdateStageStatus_
}
// AssignProperties_To_UpdateStageStatus_STATUS populates the provided destination UpdateStageStatus_STATUS from our UpdateStageStatus_STATUS
-func (status *UpdateStageStatus_STATUS) AssignProperties_To_UpdateStageStatus_STATUS(destination *v20230315ps.UpdateStageStatus_STATUS) error {
+func (status *UpdateStageStatus_STATUS) AssignProperties_To_UpdateStageStatus_STATUS(destination *storage.UpdateStageStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AfterStageWaitStatus
if status.AfterStageWaitStatus != nil {
- var afterStageWaitStatus v20230315ps.WaitStatus_STATUS
+ var afterStageWaitStatus storage.WaitStatus_STATUS
err := status.AfterStageWaitStatus.AssignProperties_To_WaitStatus_STATUS(&afterStageWaitStatus)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WaitStatus_STATUS() to populate field AfterStageWaitStatus")
@@ -2256,11 +2262,11 @@ func (status *UpdateStageStatus_STATUS) AssignProperties_To_UpdateStageStatus_ST
// Groups
if status.Groups != nil {
- groupList := make([]v20230315ps.UpdateGroupStatus_STATUS, len(status.Groups))
+ groupList := make([]storage.UpdateGroupStatus_STATUS, len(status.Groups))
for groupIndex, groupItem := range status.Groups {
// Shadow the loop variable to avoid aliasing
groupItem := groupItem
- var group v20230315ps.UpdateGroupStatus_STATUS
+ var group storage.UpdateGroupStatus_STATUS
err := groupItem.AssignProperties_To_UpdateGroupStatus_STATUS(&group)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateGroupStatus_STATUS() to populate field Groups")
@@ -2277,7 +2283,7 @@ func (status *UpdateStageStatus_STATUS) AssignProperties_To_UpdateStageStatus_ST
// Status
if status.Status != nil {
- var statusLocal v20230315ps.UpdateStatus_STATUS
+ var statusLocal storage.UpdateStatus_STATUS
err := status.Status.AssignProperties_To_UpdateStatus_STATUS(&statusLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStatus_STATUS() to populate field Status")
@@ -2361,7 +2367,7 @@ func (status *UpdateStatus_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_UpdateStatus_STATUS populates our UpdateStatus_STATUS from the provided source UpdateStatus_STATUS
-func (status *UpdateStatus_STATUS) AssignProperties_From_UpdateStatus_STATUS(source *v20230315ps.UpdateStatus_STATUS) error {
+func (status *UpdateStatus_STATUS) AssignProperties_From_UpdateStatus_STATUS(source *storage.UpdateStatus_STATUS) error {
// CompletedTime
status.CompletedTime = genruntime.ClonePointerToString(source.CompletedTime)
@@ -2383,8 +2389,9 @@ func (status *UpdateStatus_STATUS) AssignProperties_From_UpdateStatus_STATUS(sou
// State
if source.State != nil {
- state := UpdateState_STATUS(*source.State)
- status.State = &state
+ state := *source.State
+ stateTemp := genruntime.ToEnum(state, updateState_STATUS_Values)
+ status.State = &stateTemp
} else {
status.State = nil
}
@@ -2394,7 +2401,7 @@ func (status *UpdateStatus_STATUS) AssignProperties_From_UpdateStatus_STATUS(sou
}
// AssignProperties_To_UpdateStatus_STATUS populates the provided destination UpdateStatus_STATUS from our UpdateStatus_STATUS
-func (status *UpdateStatus_STATUS) AssignProperties_To_UpdateStatus_STATUS(destination *v20230315ps.UpdateStatus_STATUS) error {
+func (status *UpdateStatus_STATUS) AssignProperties_To_UpdateStatus_STATUS(destination *storage.UpdateStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2403,7 +2410,7 @@ func (status *UpdateStatus_STATUS) AssignProperties_To_UpdateStatus_STATUS(desti
// Error
if status.Error != nil {
- var error v20230315ps.ErrorDetail_STATUS
+ var error storage.ErrorDetail_STATUS
err := status.Error.AssignProperties_To_ErrorDetail_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorDetail_STATUS() to populate field Error")
@@ -2510,7 +2517,7 @@ func (detail *ErrorDetail_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ErrorDetail_STATUS populates our ErrorDetail_STATUS from the provided source ErrorDetail_STATUS
-func (detail *ErrorDetail_STATUS) AssignProperties_From_ErrorDetail_STATUS(source *v20230315ps.ErrorDetail_STATUS) error {
+func (detail *ErrorDetail_STATUS) AssignProperties_From_ErrorDetail_STATUS(source *storage.ErrorDetail_STATUS) error {
// AdditionalInfo
if source.AdditionalInfo != nil {
@@ -2562,17 +2569,17 @@ func (detail *ErrorDetail_STATUS) AssignProperties_From_ErrorDetail_STATUS(sourc
}
// AssignProperties_To_ErrorDetail_STATUS populates the provided destination ErrorDetail_STATUS from our ErrorDetail_STATUS
-func (detail *ErrorDetail_STATUS) AssignProperties_To_ErrorDetail_STATUS(destination *v20230315ps.ErrorDetail_STATUS) error {
+func (detail *ErrorDetail_STATUS) AssignProperties_To_ErrorDetail_STATUS(destination *storage.ErrorDetail_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdditionalInfo
if detail.AdditionalInfo != nil {
- additionalInfoList := make([]v20230315ps.ErrorAdditionalInfo_STATUS, len(detail.AdditionalInfo))
+ additionalInfoList := make([]storage.ErrorAdditionalInfo_STATUS, len(detail.AdditionalInfo))
for additionalInfoIndex, additionalInfoItem := range detail.AdditionalInfo {
// Shadow the loop variable to avoid aliasing
additionalInfoItem := additionalInfoItem
- var additionalInfo v20230315ps.ErrorAdditionalInfo_STATUS
+ var additionalInfo storage.ErrorAdditionalInfo_STATUS
err := additionalInfoItem.AssignProperties_To_ErrorAdditionalInfo_STATUS(&additionalInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorAdditionalInfo_STATUS() to populate field AdditionalInfo")
@@ -2589,11 +2596,11 @@ func (detail *ErrorDetail_STATUS) AssignProperties_To_ErrorDetail_STATUS(destina
// Details
if detail.Details != nil {
- detailList := make([]v20230315ps.ErrorDetail_STATUS_Unrolled, len(detail.Details))
+ detailList := make([]storage.ErrorDetail_STATUS_Unrolled, len(detail.Details))
for detailIndex, detailItem := range detail.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detailLocal v20230315ps.ErrorDetail_STATUS_Unrolled
+ var detailLocal storage.ErrorDetail_STATUS_Unrolled
err := detailItem.AssignProperties_To_ErrorDetail_STATUS_Unrolled(&detailLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorDetail_STATUS_Unrolled() to populate field Details")
@@ -2631,6 +2638,12 @@ const (
ManagedClusterUpgradeType_NodeImageOnly = ManagedClusterUpgradeType("NodeImageOnly")
)
+// Mapping from string to ManagedClusterUpgradeType
+var managedClusterUpgradeType_Values = map[string]ManagedClusterUpgradeType{
+ "full": ManagedClusterUpgradeType_Full,
+ "nodeimageonly": ManagedClusterUpgradeType_NodeImageOnly,
+}
+
// The type of upgrade to perform when targeting ManagedClusters.
type ManagedClusterUpgradeType_STATUS string
@@ -2639,6 +2652,12 @@ const (
ManagedClusterUpgradeType_STATUS_NodeImageOnly = ManagedClusterUpgradeType_STATUS("NodeImageOnly")
)
+// Mapping from string to ManagedClusterUpgradeType_STATUS
+var managedClusterUpgradeType_STATUS_Values = map[string]ManagedClusterUpgradeType_STATUS{
+ "full": ManagedClusterUpgradeType_STATUS_Full,
+ "nodeimageonly": ManagedClusterUpgradeType_STATUS_NodeImageOnly,
+}
+
// A group to be updated.
type UpdateGroup struct {
// +kubebuilder:validation:Required
@@ -2690,7 +2709,7 @@ func (group *UpdateGroup) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_UpdateGroup populates our UpdateGroup from the provided source UpdateGroup
-func (group *UpdateGroup) AssignProperties_From_UpdateGroup(source *v20230315ps.UpdateGroup) error {
+func (group *UpdateGroup) AssignProperties_From_UpdateGroup(source *storage.UpdateGroup) error {
// Name
if source.Name != nil {
@@ -2705,7 +2724,7 @@ func (group *UpdateGroup) AssignProperties_From_UpdateGroup(source *v20230315ps.
}
// AssignProperties_To_UpdateGroup populates the provided destination UpdateGroup from our UpdateGroup
-func (group *UpdateGroup) AssignProperties_To_UpdateGroup(destination *v20230315ps.UpdateGroup) error {
+func (group *UpdateGroup) AssignProperties_To_UpdateGroup(destination *storage.UpdateGroup) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2775,7 +2794,7 @@ func (group *UpdateGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_UpdateGroup_STATUS populates our UpdateGroup_STATUS from the provided source UpdateGroup_STATUS
-func (group *UpdateGroup_STATUS) AssignProperties_From_UpdateGroup_STATUS(source *v20230315ps.UpdateGroup_STATUS) error {
+func (group *UpdateGroup_STATUS) AssignProperties_From_UpdateGroup_STATUS(source *storage.UpdateGroup_STATUS) error {
// Name
group.Name = genruntime.ClonePointerToString(source.Name)
@@ -2785,7 +2804,7 @@ func (group *UpdateGroup_STATUS) AssignProperties_From_UpdateGroup_STATUS(source
}
// AssignProperties_To_UpdateGroup_STATUS populates the provided destination UpdateGroup_STATUS from our UpdateGroup_STATUS
-func (group *UpdateGroup_STATUS) AssignProperties_To_UpdateGroup_STATUS(destination *v20230315ps.UpdateGroup_STATUS) error {
+func (group *UpdateGroup_STATUS) AssignProperties_To_UpdateGroup_STATUS(destination *storage.UpdateGroup_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2861,7 +2880,7 @@ func (status *UpdateGroupStatus_STATUS) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_UpdateGroupStatus_STATUS populates our UpdateGroupStatus_STATUS from the provided source UpdateGroupStatus_STATUS
-func (status *UpdateGroupStatus_STATUS) AssignProperties_From_UpdateGroupStatus_STATUS(source *v20230315ps.UpdateGroupStatus_STATUS) error {
+func (status *UpdateGroupStatus_STATUS) AssignProperties_From_UpdateGroupStatus_STATUS(source *storage.UpdateGroupStatus_STATUS) error {
// Members
if source.Members != nil {
@@ -2901,17 +2920,17 @@ func (status *UpdateGroupStatus_STATUS) AssignProperties_From_UpdateGroupStatus_
}
// AssignProperties_To_UpdateGroupStatus_STATUS populates the provided destination UpdateGroupStatus_STATUS from our UpdateGroupStatus_STATUS
-func (status *UpdateGroupStatus_STATUS) AssignProperties_To_UpdateGroupStatus_STATUS(destination *v20230315ps.UpdateGroupStatus_STATUS) error {
+func (status *UpdateGroupStatus_STATUS) AssignProperties_To_UpdateGroupStatus_STATUS(destination *storage.UpdateGroupStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Members
if status.Members != nil {
- memberList := make([]v20230315ps.MemberUpdateStatus_STATUS, len(status.Members))
+ memberList := make([]storage.MemberUpdateStatus_STATUS, len(status.Members))
for memberIndex, memberItem := range status.Members {
// Shadow the loop variable to avoid aliasing
memberItem := memberItem
- var member v20230315ps.MemberUpdateStatus_STATUS
+ var member storage.MemberUpdateStatus_STATUS
err := memberItem.AssignProperties_To_MemberUpdateStatus_STATUS(&member)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_MemberUpdateStatus_STATUS() to populate field Members")
@@ -2928,7 +2947,7 @@ func (status *UpdateGroupStatus_STATUS) AssignProperties_To_UpdateGroupStatus_ST
// Status
if status.Status != nil {
- var statusLocal v20230315ps.UpdateStatus_STATUS
+ var statusLocal storage.UpdateStatus_STATUS
err := status.Status.AssignProperties_To_UpdateStatus_STATUS(&statusLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStatus_STATUS() to populate field Status")
@@ -2961,6 +2980,16 @@ const (
UpdateState_STATUS_Stopping = UpdateState_STATUS("Stopping")
)
+// Mapping from string to UpdateState_STATUS
+var updateState_STATUS_Values = map[string]UpdateState_STATUS{
+ "completed": UpdateState_STATUS_Completed,
+ "failed": UpdateState_STATUS_Failed,
+ "notstarted": UpdateState_STATUS_NotStarted,
+ "running": UpdateState_STATUS_Running,
+ "stopped": UpdateState_STATUS_Stopped,
+ "stopping": UpdateState_STATUS_Stopping,
+}
+
// The status of the wait duration.
type WaitStatus_STATUS struct {
// Status: The status of the wait duration.
@@ -3006,7 +3035,7 @@ func (status *WaitStatus_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_WaitStatus_STATUS populates our WaitStatus_STATUS from the provided source WaitStatus_STATUS
-func (status *WaitStatus_STATUS) AssignProperties_From_WaitStatus_STATUS(source *v20230315ps.WaitStatus_STATUS) error {
+func (status *WaitStatus_STATUS) AssignProperties_From_WaitStatus_STATUS(source *storage.WaitStatus_STATUS) error {
// Status
if source.Status != nil {
@@ -3028,13 +3057,13 @@ func (status *WaitStatus_STATUS) AssignProperties_From_WaitStatus_STATUS(source
}
// AssignProperties_To_WaitStatus_STATUS populates the provided destination WaitStatus_STATUS from our WaitStatus_STATUS
-func (status *WaitStatus_STATUS) AssignProperties_To_WaitStatus_STATUS(destination *v20230315ps.WaitStatus_STATUS) error {
+func (status *WaitStatus_STATUS) AssignProperties_To_WaitStatus_STATUS(destination *storage.WaitStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Status
if status.Status != nil {
- var statusLocal v20230315ps.UpdateStatus_STATUS
+ var statusLocal storage.UpdateStatus_STATUS
err := status.Status.AssignProperties_To_UpdateStatus_STATUS(&statusLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStatus_STATUS() to populate field Status")
@@ -3100,7 +3129,7 @@ func (info *ErrorAdditionalInfo_STATUS) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ErrorAdditionalInfo_STATUS populates our ErrorAdditionalInfo_STATUS from the provided source ErrorAdditionalInfo_STATUS
-func (info *ErrorAdditionalInfo_STATUS) AssignProperties_From_ErrorAdditionalInfo_STATUS(source *v20230315ps.ErrorAdditionalInfo_STATUS) error {
+func (info *ErrorAdditionalInfo_STATUS) AssignProperties_From_ErrorAdditionalInfo_STATUS(source *storage.ErrorAdditionalInfo_STATUS) error {
// Info
if source.Info != nil {
@@ -3123,7 +3152,7 @@ func (info *ErrorAdditionalInfo_STATUS) AssignProperties_From_ErrorAdditionalInf
}
// AssignProperties_To_ErrorAdditionalInfo_STATUS populates the provided destination ErrorAdditionalInfo_STATUS from our ErrorAdditionalInfo_STATUS
-func (info *ErrorAdditionalInfo_STATUS) AssignProperties_To_ErrorAdditionalInfo_STATUS(destination *v20230315ps.ErrorAdditionalInfo_STATUS) error {
+func (info *ErrorAdditionalInfo_STATUS) AssignProperties_To_ErrorAdditionalInfo_STATUS(destination *storage.ErrorAdditionalInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3215,7 +3244,7 @@ func (unrolled *ErrorDetail_STATUS_Unrolled) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ErrorDetail_STATUS_Unrolled populates our ErrorDetail_STATUS_Unrolled from the provided source ErrorDetail_STATUS_Unrolled
-func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_From_ErrorDetail_STATUS_Unrolled(source *v20230315ps.ErrorDetail_STATUS_Unrolled) error {
+func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_From_ErrorDetail_STATUS_Unrolled(source *storage.ErrorDetail_STATUS_Unrolled) error {
// AdditionalInfo
if source.AdditionalInfo != nil {
@@ -3249,17 +3278,17 @@ func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_From_ErrorDetail_S
}
// AssignProperties_To_ErrorDetail_STATUS_Unrolled populates the provided destination ErrorDetail_STATUS_Unrolled from our ErrorDetail_STATUS_Unrolled
-func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_To_ErrorDetail_STATUS_Unrolled(destination *v20230315ps.ErrorDetail_STATUS_Unrolled) error {
+func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_To_ErrorDetail_STATUS_Unrolled(destination *storage.ErrorDetail_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdditionalInfo
if unrolled.AdditionalInfo != nil {
- additionalInfoList := make([]v20230315ps.ErrorAdditionalInfo_STATUS, len(unrolled.AdditionalInfo))
+ additionalInfoList := make([]storage.ErrorAdditionalInfo_STATUS, len(unrolled.AdditionalInfo))
for additionalInfoIndex, additionalInfoItem := range unrolled.AdditionalInfo {
// Shadow the loop variable to avoid aliasing
additionalInfoItem := additionalInfoItem
- var additionalInfo v20230315ps.ErrorAdditionalInfo_STATUS
+ var additionalInfo storage.ErrorAdditionalInfo_STATUS
err := additionalInfoItem.AssignProperties_To_ErrorAdditionalInfo_STATUS(&additionalInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorAdditionalInfo_STATUS() to populate field AdditionalInfo")
@@ -3354,7 +3383,7 @@ func (status *MemberUpdateStatus_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_MemberUpdateStatus_STATUS populates our MemberUpdateStatus_STATUS from the provided source MemberUpdateStatus_STATUS
-func (status *MemberUpdateStatus_STATUS) AssignProperties_From_MemberUpdateStatus_STATUS(source *v20230315ps.MemberUpdateStatus_STATUS) error {
+func (status *MemberUpdateStatus_STATUS) AssignProperties_From_MemberUpdateStatus_STATUS(source *storage.MemberUpdateStatus_STATUS) error {
// ClusterResourceId
status.ClusterResourceId = genruntime.ClonePointerToString(source.ClusterResourceId)
@@ -3382,7 +3411,7 @@ func (status *MemberUpdateStatus_STATUS) AssignProperties_From_MemberUpdateStatu
}
// AssignProperties_To_MemberUpdateStatus_STATUS populates the provided destination MemberUpdateStatus_STATUS from our MemberUpdateStatus_STATUS
-func (status *MemberUpdateStatus_STATUS) AssignProperties_To_MemberUpdateStatus_STATUS(destination *v20230315ps.MemberUpdateStatus_STATUS) error {
+func (status *MemberUpdateStatus_STATUS) AssignProperties_To_MemberUpdateStatus_STATUS(destination *storage.MemberUpdateStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3397,7 +3426,7 @@ func (status *MemberUpdateStatus_STATUS) AssignProperties_To_MemberUpdateStatus_
// Status
if status.Status != nil {
- var statusLocal v20230315ps.UpdateStatus_STATUS
+ var statusLocal storage.UpdateStatus_STATUS
err := status.Status.AssignProperties_To_UpdateStatus_STATUS(&statusLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpdateStatus_STATUS() to populate field Status")
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/fleet_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/fleet_types_gen.go
index 57adc2f0a2..33fd4c6405 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/fleet_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/fleet_types_gen.go
@@ -4,7 +4,7 @@
package storage
import (
- v20230202ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230202preview/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
@@ -256,7 +256,7 @@ type SystemData_STATUS struct {
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20230202ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -299,7 +299,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20230202ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
@@ -342,8 +342,8 @@ func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination
}
type augmentConversionForSystemData_STATUS interface {
- AssignPropertiesFrom(src *v20230202ps.SystemData_STATUS) error
- AssignPropertiesTo(dst *v20230202ps.SystemData_STATUS) error
+ AssignPropertiesFrom(src *storage.SystemData_STATUS) error
+ AssignPropertiesTo(dst *storage.SystemData_STATUS) error
}
// Storage version of v1api20230315preview.FleetOperatorSecrets
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/structure.txt
index b06035ce72..3056f2573a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage/structure.txt
@@ -1,256 +1,257 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/storage
-├── APIVersion: Enum (1 value)
-│ └── "2023-03-15-preview"
-├── Fleet: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (8 properties)
-│ │ ├── AzureName: string
-│ │ ├── HubProfile: *Object (2 properties)
-│ │ │ ├── DnsPrefix: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secrets: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── ETag: *string
-│ ├── HubProfile: *Object (4 properties)
-│ │ ├── DnsPrefix: *string
-│ │ ├── Fqdn: *string
-│ │ ├── KubernetesVersion: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── FleetsMember: Resource
-│ ├── Owner: containerservice/v1api20230315preview.Fleet
-│ ├── Spec: Object (6 properties)
-│ │ ├── AzureName: string
-│ │ ├── ClusterResourceReference: *genruntime.ResourceReference
-│ │ ├── Group: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+--------------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-03-15-preview"
+Fleet: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (8 properties)
+│ ├── AzureName: string
+│ ├── HubProfile: *Object (2 properties)
+│ │ ├── DnsPrefix: *string
│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (10 properties)
-│ ├── ClusterResourceId: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── ETag: *string
-│ ├── Group: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Type: *string
-├── FleetsUpdateRun: Resource
-│ ├── Owner: containerservice/v1api20230315preview.Fleet
-│ ├── Spec: Object (6 properties)
-│ │ ├── AzureName: string
-│ │ ├── ManagedClusterUpdate: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Upgrade: *Object (3 properties)
-│ │ │ ├── KubernetesVersion: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Location: *string
+│ ├── OperatorSpec: *Object (2 properties)
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Strategy: *Object (2 properties)
+│ │ └── Secrets: *Object (2 properties)
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Stages: Object (4 properties)[]
-│ │ ├── AfterStageWaitInSeconds: *int
-│ │ ├── Groups: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Name: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── ETag: *string
-│ ├── Id: *string
-│ ├── ManagedClusterUpdate: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Upgrade: *Object (3 properties)
-│ │ ├── KubernetesVersion: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Name: *string
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── ETag: *string
+ ├── HubProfile: *Object (4 properties)
+ │ ├── DnsPrefix: *string
+ │ ├── Fqdn: *string
+ │ ├── KubernetesVersion: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+FleetsMember: Resource
+├── Owner: containerservice/v1api20230315preview.Fleet
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── ClusterResourceReference: *genruntime.ResourceReference
+│ ├── Group: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (10 properties)
+ ├── ClusterResourceId: *string
+ ├── Conditions: conditions.Condition[]
+ ├── ETag: *string
+ ├── Group: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── Type: *string
+FleetsUpdateRun: Resource
+├── Owner: containerservice/v1api20230315preview.Fleet
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── ManagedClusterUpdate: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Upgrade: *Object (3 properties)
+│ │ ├── KubernetesVersion: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Strategy: *Object (2 properties)
│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── Status: *Object (3 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Stages: Object (5 properties)[]
-│ │ │ ├── AfterStageWaitStatus: *Object (3 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Status: *Object (5 properties)
-│ │ │ │ │ ├── CompletedTime: *string
-│ │ │ │ │ ├── Error: *Object (6 properties)
-│ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (5 properties)[]
-│ │ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── StartTime: *string
-│ │ │ │ │ └── State: *string
-│ │ │ │ └── WaitDurationInSeconds: *int
-│ │ │ ├── Groups: Object (4 properties)[]
-│ │ │ │ ├── Members: Object (5 properties)[]
-│ │ │ │ │ ├── ClusterResourceId: *string
-│ │ │ │ │ ├── Name: *string
-│ │ │ │ │ ├── OperationId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Status: *Object (5 properties)
-│ │ │ │ │ ├── CompletedTime: *string
-│ │ │ │ │ ├── Error: *Object (6 properties)
-│ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (5 properties)[]
-│ │ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── StartTime: *string
-│ │ │ │ │ └── State: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Status: *Object (5 properties)
-│ │ │ │ ├── CompletedTime: *string
-│ │ │ │ ├── Error: *Object (6 properties)
-│ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (5 properties)[]
-│ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── StartTime: *string
-│ │ │ │ └── State: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Status: *Object (5 properties)
-│ │ │ ├── CompletedTime: *string
-│ │ │ ├── Error: *Object (6 properties)
-│ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Type: *string
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (5 properties)[]
-│ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Target: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── StartTime: *string
-│ │ │ └── State: *string
-│ │ └── Status: *Object (5 properties)
-│ │ ├── CompletedTime: *string
-│ │ ├── Error: *Object (6 properties)
-│ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Type: *string
-│ │ │ ├── Code: *string
-│ │ │ ├── Details: Object (5 properties)[]
-│ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
-│ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Type: *string
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Target: *string
-│ │ │ ├── Message: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Target: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── StartTime: *string
-│ │ └── State: *string
-│ ├── Strategy: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Stages: Object (4 properties)[]
-│ │ ├── AfterStageWaitInSeconds: *int
-│ │ ├── Groups: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Name: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Type: *string
-└── augmentConversionForSystemData_STATUS: Interface
+│ └── Stages: Object (4 properties)[]
+│ ├── AfterStageWaitInSeconds: *int
+│ ├── Groups: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Name: *string
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── ETag: *string
+ ├── Id: *string
+ ├── ManagedClusterUpdate: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Upgrade: *Object (3 properties)
+ │ ├── KubernetesVersion: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Status: *Object (3 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Stages: Object (5 properties)[]
+ │ │ ├── AfterStageWaitStatus: *Object (3 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── Status: *Object (5 properties)
+ │ │ │ │ ├── CompletedTime: *string
+ │ │ │ │ ├── Error: *Object (6 properties)
+ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (5 properties)[]
+ │ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ ├── StartTime: *string
+ │ │ │ │ └── State: *string
+ │ │ │ └── WaitDurationInSeconds: *int
+ │ │ ├── Groups: Object (4 properties)[]
+ │ │ │ ├── Members: Object (5 properties)[]
+ │ │ │ │ ├── ClusterResourceId: *string
+ │ │ │ │ ├── Name: *string
+ │ │ │ │ ├── OperationId: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── Status: *Object (5 properties)
+ │ │ │ │ ├── CompletedTime: *string
+ │ │ │ │ ├── Error: *Object (6 properties)
+ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (5 properties)[]
+ │ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ ├── StartTime: *string
+ │ │ │ │ └── State: *string
+ │ │ │ ├── Name: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Status: *Object (5 properties)
+ │ │ │ ├── CompletedTime: *string
+ │ │ │ ├── Error: *Object (6 properties)
+ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Type: *string
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Details: Object (5 properties)[]
+ │ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── StartTime: *string
+ │ │ │ └── State: *string
+ │ │ ├── Name: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Status: *Object (5 properties)
+ │ │ ├── CompletedTime: *string
+ │ │ ├── Error: *Object (6 properties)
+ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── Type: *string
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (5 properties)[]
+ │ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Type: *string
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Target: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── StartTime: *string
+ │ │ └── State: *string
+ │ └── Status: *Object (5 properties)
+ │ ├── CompletedTime: *string
+ │ ├── Error: *Object (6 properties)
+ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Type: *string
+ │ │ ├── Code: *string
+ │ │ ├── Details: Object (5 properties)[]
+ │ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── Type: *string
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Message: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Target: *string
+ │ │ ├── Message: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Target: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── StartTime: *string
+ │ └── State: *string
+ ├── Strategy: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Stages: Object (4 properties)[]
+ │ ├── AfterStageWaitInSeconds: *int
+ │ ├── Groups: Object (2 properties)[]
+ │ │ ├── Name: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Name: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── Type: *string
+augmentConversionForSystemData_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/structure.txt
index abce7df00f..3b6e177a6f 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview/structure.txt
@@ -1,445 +1,421 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315preview
-├── APIVersion: Enum (1 value)
-│ └── "2023-03-15-preview"
-├── Fleet: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (6 properties)
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 63
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
-│ │ ├── HubProfile: *Object (1 property)
-│ │ │ └── DnsPrefix: Validated<*string> (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 54
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$"
-│ │ ├── Location: *string
-│ │ ├── OperatorSpec: *Object (1 property)
-│ │ │ └── Secrets: *Object (1 property)
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (10 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── ETag: *string
-│ ├── HubProfile: *Object (3 properties)
-│ │ ├── DnsPrefix: *string
-│ │ ├── Fqdn: *string
-│ │ └── KubernetesVersion: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── Fleet_STATUS_ARM: Object (8 properties)
-│ ├── ETag: *string
-│ ├── Id: *string
+------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-03-15-preview"
+Fleet: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (6 properties)
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
+│ ├── HubProfile: *Object (1 property)
+│ │ └── DnsPrefix: Validated<*string> (3 rules)
+│ │ ├── Rule 0: MaxLength: 54
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$"
│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (2 properties)
-│ │ ├── HubProfile: *Object (3 properties)
-│ │ │ ├── DnsPrefix: *string
-│ │ │ ├── Fqdn: *string
-│ │ │ └── KubernetesVersion: *string
-│ │ └── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── Fleet_Spec_ARM: Object (4 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (1 property)
-│ │ └── HubProfile: *Object (1 property)
-│ │ └── DnsPrefix: *string
+│ ├── OperatorSpec: *Object (1 property)
+│ │ └── Secrets: *Object (1 property)
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
│ └── Tags: map[string]string
-├── FleetsMember: Resource
-│ ├── Owner: Fleet
-│ ├── Spec: Object (4 properties)
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 50
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
-│ │ ├── ClusterResourceReference: *genruntime.ResourceReference
-│ │ ├── Group: Validated<*string> (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 50
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
-│ │ └── Owner: *genruntime.KnownResourceReference
-│ └── Status: Object (9 properties)
-│ ├── ClusterResourceId: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── ETag: *string
-│ ├── Group: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Failed"
-│ │ ├── "Joining"
-│ │ ├── "Leaving"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ └── Type: *string
-├── FleetsUpdateRun: Resource
-│ ├── Owner: Fleet
-│ ├── Spec: Object (4 properties)
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 50
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
-│ │ ├── ManagedClusterUpdate: *Object (1 property)
-│ │ │ └── Upgrade: *Object (2 properties)
-│ │ │ ├── KubernetesVersion: *string
-│ │ │ └── Type: *Enum (2 values)
-│ │ │ ├── "Full"
-│ │ │ └── "NodeImageOnly"
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Strategy: *Object (1 property)
-│ │ └── Stages: Object (3 properties)[]
-│ │ ├── AfterStageWaitInSeconds: *int
-│ │ ├── Groups: Object (1 property)[]
-│ │ │ └── Name: Validated<*string> (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 50
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
-│ │ └── Name: Validated<*string> (3 rules)
-│ │ ├── Rule 0: MaxLength: 50
-│ │ ├── Rule 1: MinLength: 1
-│ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
-│ └── Status: Object (10 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── ETag: *string
-│ ├── Id: *string
-│ ├── ManagedClusterUpdate: *Object (1 property)
-│ │ └── Upgrade: *Object (2 properties)
-│ │ ├── KubernetesVersion: *string
-│ │ └── Type: *Enum (2 values)
-│ │ ├── "Full"
-│ │ └── "NodeImageOnly"
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (3 values)
-│ │ ├── "Canceled"
-│ │ ├── "Failed"
-│ │ └── "Succeeded"
-│ ├── Status: *Object (2 properties)
-│ │ ├── Stages: Object (4 properties)[]
-│ │ │ ├── AfterStageWaitStatus: *Object (2 properties)
-│ │ │ │ ├── Status: *Object (4 properties)
-│ │ │ │ │ ├── CompletedTime: *string
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── StartTime: *string
-│ │ │ │ │ └── State: *Enum (6 values)
-│ │ │ │ │ ├── "Completed"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "NotStarted"
-│ │ │ │ │ ├── "Running"
-│ │ │ │ │ ├── "Stopped"
-│ │ │ │ │ └── "Stopping"
-│ │ │ │ └── WaitDurationInSeconds: *int
-│ │ │ ├── Groups: Object (3 properties)[]
-│ │ │ │ ├── Members: Object (4 properties)[]
-│ │ │ │ │ ├── ClusterResourceId: *string
-│ │ │ │ │ ├── Name: *string
-│ │ │ │ │ ├── OperationId: *string
-│ │ │ │ │ └── Status: *Object (4 properties)
-│ │ │ │ │ ├── CompletedTime: *string
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── StartTime: *string
-│ │ │ │ │ └── State: *Enum (6 values)
-│ │ │ │ │ ├── "Completed"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "NotStarted"
-│ │ │ │ │ ├── "Running"
-│ │ │ │ │ ├── "Stopped"
-│ │ │ │ │ └── "Stopping"
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Status: *Object (4 properties)
-│ │ │ │ ├── CompletedTime: *string
-│ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── StartTime: *string
-│ │ │ │ └── State: *Enum (6 values)
-│ │ │ │ ├── "Completed"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "NotStarted"
-│ │ │ │ ├── "Running"
-│ │ │ │ ├── "Stopped"
-│ │ │ │ └── "Stopping"
-│ │ │ ├── Name: *string
-│ │ │ └── Status: *Object (4 properties)
-│ │ │ ├── CompletedTime: *string
-│ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ └── Type: *string
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ ├── StartTime: *string
-│ │ │ └── State: *Enum (6 values)
-│ │ │ ├── "Completed"
-│ │ │ ├── "Failed"
-│ │ │ ├── "NotStarted"
-│ │ │ ├── "Running"
-│ │ │ ├── "Stopped"
-│ │ │ └── "Stopping"
-│ │ └── Status: *Object (4 properties)
-│ │ ├── CompletedTime: *string
-│ │ ├── Error: *Object (5 properties)
-│ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ └── Type: *string
-│ │ │ ├── Code: *string
-│ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ └── Type: *string
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ ├── Message: *string
-│ │ │ └── Target: *string
-│ │ ├── StartTime: *string
-│ │ └── State: *Enum (6 values)
-│ │ ├── "Completed"
-│ │ ├── "Failed"
-│ │ ├── "NotStarted"
-│ │ ├── "Running"
-│ │ ├── "Stopped"
-│ │ └── "Stopping"
-│ ├── Strategy: *Object (1 property)
-│ │ └── Stages: Object (3 properties)[]
-│ │ ├── AfterStageWaitInSeconds: *int
-│ │ ├── Groups: Object (1 property)[]
-│ │ │ └── Name: *string
-│ │ └── Name: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ └── Type: *string
-├── Fleets_Member_STATUS_ARM: Object (6 properties)
-│ ├── ETag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── ClusterResourceId: *string
-│ │ ├── Group: *string
-│ │ └── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Failed"
-│ │ ├── "Joining"
-│ │ ├── "Leaving"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ └── Type: *string
-├── Fleets_Member_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (2 properties)
-│ ├── ClusterResourceId: *string
-│ └── Group: *string
-├── Fleets_UpdateRun_STATUS_ARM: Object (6 properties)
-│ ├── ETag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (4 properties)
-│ │ ├── ManagedClusterUpdate: *Object (1 property)
-│ │ │ └── Upgrade: *Object (2 properties)
-│ │ │ ├── KubernetesVersion: *string
-│ │ │ └── Type: *Enum (2 values)
-│ │ │ ├── "Full"
-│ │ │ └── "NodeImageOnly"
-│ │ ├── ProvisioningState: *Enum (3 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Failed"
-│ │ │ └── "Succeeded"
-│ │ ├── Status: *Object (2 properties)
-│ │ │ ├── Stages: Object (4 properties)[]
-│ │ │ │ ├── AfterStageWaitStatus: *Object (2 properties)
-│ │ │ │ │ ├── Status: *Object (4 properties)
-│ │ │ │ │ │ ├── CompletedTime: *string
-│ │ │ │ │ │ ├── Error: *Object (5 properties)
+└── Status: Object (10 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── ETag: *string
+ ├── HubProfile: *Object (3 properties)
+ │ ├── DnsPrefix: *string
+ │ ├── Fqdn: *string
+ │ └── KubernetesVersion: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ └── Type: *string
+Fleet_STATUS_ARM: Object (8 properties)
+├── ETag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (2 properties)
+│ ├── HubProfile: *Object (3 properties)
+│ │ ├── DnsPrefix: *string
+│ │ ├── Fqdn: *string
+│ │ └── KubernetesVersion: *string
+│ └── ProvisioningState: *Enum (6 values)
+│ ├── "Canceled"
+│ ├── "Creating"
+│ ├── "Deleting"
+│ ├── "Failed"
+│ ├── "Succeeded"
+│ └── "Updating"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+Fleet_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (1 property)
+│ └── HubProfile: *Object (1 property)
+│ └── DnsPrefix: *string
+└── Tags: map[string]string
+FleetsMember: Resource
+├── Owner: Fleet
+├── Spec: Object (4 properties)
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 50
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
+│ ├── ClusterResourceReference: *genruntime.ResourceReference
+│ ├── Group: Validated<*string> (3 rules)
+│ │ ├── Rule 0: MaxLength: 50
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
+│ └── Owner: *genruntime.KnownResourceReference
+└── Status: Object (9 properties)
+ ├── ClusterResourceId: *string
+ ├── Conditions: conditions.Condition[]
+ ├── ETag: *string
+ ├── Group: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Failed"
+ │ ├── "Joining"
+ │ ├── "Leaving"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ └── Type: *string
+FleetsUpdateRun: Resource
+├── Owner: Fleet
+├── Spec: Object (4 properties)
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 50
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
+│ ├── ManagedClusterUpdate: *Object (1 property)
+│ │ └── Upgrade: *Object (2 properties)
+│ │ ├── KubernetesVersion: *string
+│ │ └── Type: *Enum (2 values)
+│ │ ├── "Full"
+│ │ └── "NodeImageOnly"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── Strategy: *Object (1 property)
+│ └── Stages: Object (3 properties)[]
+│ ├── AfterStageWaitInSeconds: *int
+│ ├── Groups: Object (1 property)[]
+│ │ └── Name: Validated<*string> (3 rules)
+│ │ ├── Rule 0: MaxLength: 50
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
+│ └── Name: Validated<*string> (3 rules)
+│ ├── Rule 0: MaxLength: 50
+│ ├── Rule 1: MinLength: 1
+│ └── Rule 2: Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
+└── Status: Object (10 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── ETag: *string
+ ├── Id: *string
+ ├── ManagedClusterUpdate: *Object (1 property)
+ │ └── Upgrade: *Object (2 properties)
+ │ ├── KubernetesVersion: *string
+ │ └── Type: *Enum (2 values)
+ │ ├── "Full"
+ │ └── "NodeImageOnly"
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (3 values)
+ │ ├── "Canceled"
+ │ ├── "Failed"
+ │ └── "Succeeded"
+ ├── Status: *Object (2 properties)
+ │ ├── Stages: Object (4 properties)[]
+ │ │ ├── AfterStageWaitStatus: *Object (2 properties)
+ │ │ │ ├── Status: *Object (4 properties)
+ │ │ │ │ ├── CompletedTime: *string
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ ├── StartTime: *string
+ │ │ │ │ └── State: *Enum (6 values)
+ │ │ │ │ ├── "Completed"
+ │ │ │ │ ├── "Failed"
+ │ │ │ │ ├── "NotStarted"
+ │ │ │ │ ├── "Running"
+ │ │ │ │ ├── "Stopped"
+ │ │ │ │ └── "Stopping"
+ │ │ │ └── WaitDurationInSeconds: *int
+ │ │ ├── Groups: Object (3 properties)[]
+ │ │ │ ├── Members: Object (4 properties)[]
+ │ │ │ │ ├── ClusterResourceId: *string
+ │ │ │ │ ├── Name: *string
+ │ │ │ │ ├── OperationId: *string
+ │ │ │ │ └── Status: *Object (4 properties)
+ │ │ │ │ ├── CompletedTime: *string
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ ├── StartTime: *string
+ │ │ │ │ └── State: *Enum (6 values)
+ │ │ │ │ ├── "Completed"
+ │ │ │ │ ├── "Failed"
+ │ │ │ │ ├── "NotStarted"
+ │ │ │ │ ├── "Running"
+ │ │ │ │ ├── "Stopped"
+ │ │ │ │ └── "Stopping"
+ │ │ │ ├── Name: *string
+ │ │ │ └── Status: *Object (4 properties)
+ │ │ │ ├── CompletedTime: *string
+ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ └── Type: *string
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ │ └── Type: *string
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── StartTime: *string
+ │ │ │ └── State: *Enum (6 values)
+ │ │ │ ├── "Completed"
+ │ │ │ ├── "Failed"
+ │ │ │ ├── "NotStarted"
+ │ │ │ ├── "Running"
+ │ │ │ ├── "Stopped"
+ │ │ │ └── "Stopping"
+ │ │ ├── Name: *string
+ │ │ └── Status: *Object (4 properties)
+ │ │ ├── CompletedTime: *string
+ │ │ ├── Error: *Object (5 properties)
+ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ └── Type: *string
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ │ └── Type: *string
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ ├── StartTime: *string
+ │ │ └── State: *Enum (6 values)
+ │ │ ├── "Completed"
+ │ │ ├── "Failed"
+ │ │ ├── "NotStarted"
+ │ │ ├── "Running"
+ │ │ ├── "Stopped"
+ │ │ └── "Stopping"
+ │ └── Status: *Object (4 properties)
+ │ ├── CompletedTime: *string
+ │ ├── Error: *Object (5 properties)
+ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ └── Type: *string
+ │ │ ├── Code: *string
+ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ │ └── Type: *string
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ ├── Message: *string
+ │ │ └── Target: *string
+ │ ├── StartTime: *string
+ │ └── State: *Enum (6 values)
+ │ ├── "Completed"
+ │ ├── "Failed"
+ │ ├── "NotStarted"
+ │ ├── "Running"
+ │ ├── "Stopped"
+ │ └── "Stopping"
+ ├── Strategy: *Object (1 property)
+ │ └── Stages: Object (3 properties)[]
+ │ ├── AfterStageWaitInSeconds: *int
+ │ ├── Groups: Object (1 property)[]
+ │ │ └── Name: *string
+ │ └── Name: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ └── Type: *string
+Fleets_Member_STATUS_ARM: Object (6 properties)
+├── ETag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── ClusterResourceId: *string
+│ ├── Group: *string
+│ └── ProvisioningState: *Enum (6 values)
+│ ├── "Canceled"
+│ ├── "Failed"
+│ ├── "Joining"
+│ ├── "Leaving"
+│ ├── "Succeeded"
+│ └── "Updating"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+Fleets_Member_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (2 properties)
+ ├── ClusterResourceId: *string
+ └── Group: *string
+Fleets_UpdateRun_STATUS_ARM: Object (6 properties)
+├── ETag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (4 properties)
+│ ├── ManagedClusterUpdate: *Object (1 property)
+│ │ └── Upgrade: *Object (2 properties)
+│ │ ├── KubernetesVersion: *string
+│ │ └── Type: *Enum (2 values)
+│ │ ├── "Full"
+│ │ └── "NodeImageOnly"
+│ ├── ProvisioningState: *Enum (3 values)
+│ │ ├── "Canceled"
+│ │ ├── "Failed"
+│ │ └── "Succeeded"
+│ ├── Status: *Object (2 properties)
+│ │ ├── Stages: Object (4 properties)[]
+│ │ │ ├── AfterStageWaitStatus: *Object (2 properties)
+│ │ │ │ ├── Status: *Object (4 properties)
+│ │ │ │ │ ├── CompletedTime: *string
+│ │ │ │ │ ├── Error: *Object (5 properties)
+│ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+│ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
+│ │ │ │ │ │ │ └── Type: *string
+│ │ │ │ │ │ ├── Code: *string
+│ │ │ │ │ │ ├── Details: Object (4 properties)[]
│ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
│ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
│ │ │ │ │ │ │ │ └── Type: *string
│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ │ └── Target: *string
│ │ │ │ │ │ │ ├── Message: *string
│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── StartTime: *string
-│ │ │ │ │ │ └── State: *Enum (6 values)
-│ │ │ │ │ │ ├── "Completed"
-│ │ │ │ │ │ ├── "Failed"
-│ │ │ │ │ │ ├── "NotStarted"
-│ │ │ │ │ │ ├── "Running"
-│ │ │ │ │ │ ├── "Stopped"
-│ │ │ │ │ │ └── "Stopping"
-│ │ │ │ │ └── WaitDurationInSeconds: *int
-│ │ │ │ ├── Groups: Object (3 properties)[]
-│ │ │ │ │ ├── Members: Object (4 properties)[]
-│ │ │ │ │ │ ├── ClusterResourceId: *string
-│ │ │ │ │ │ ├── Name: *string
-│ │ │ │ │ │ ├── OperationId: *string
-│ │ │ │ │ │ └── Status: *Object (4 properties)
-│ │ │ │ │ │ ├── CompletedTime: *string
-│ │ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ │ │ │ │ └── Type: *string
-│ │ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── StartTime: *string
-│ │ │ │ │ │ └── State: *Enum (6 values)
-│ │ │ │ │ │ ├── "Completed"
-│ │ │ │ │ │ ├── "Failed"
-│ │ │ │ │ │ ├── "NotStarted"
-│ │ │ │ │ │ ├── "Running"
-│ │ │ │ │ │ ├── "Stopped"
-│ │ │ │ │ │ └── "Stopping"
+│ │ │ │ │ │ ├── Message: *string
+│ │ │ │ │ │ └── Target: *string
+│ │ │ │ │ ├── StartTime: *string
+│ │ │ │ │ └── State: *Enum (6 values)
+│ │ │ │ │ ├── "Completed"
+│ │ │ │ │ ├── "Failed"
+│ │ │ │ │ ├── "NotStarted"
+│ │ │ │ │ ├── "Running"
+│ │ │ │ │ ├── "Stopped"
+│ │ │ │ │ └── "Stopping"
+│ │ │ │ └── WaitDurationInSeconds: *int
+│ │ │ ├── Groups: Object (3 properties)[]
+│ │ │ │ ├── Members: Object (4 properties)[]
+│ │ │ │ │ ├── ClusterResourceId: *string
│ │ │ │ │ ├── Name: *string
+│ │ │ │ │ ├── OperationId: *string
│ │ │ │ │ └── Status: *Object (4 properties)
│ │ │ │ │ ├── CompletedTime: *string
│ │ │ │ │ ├── Error: *Object (5 properties)
@@ -489,6 +465,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315pre
│ │ │ │ ├── "Running"
│ │ │ │ ├── "Stopped"
│ │ │ │ └── "Stopping"
+│ │ │ ├── Name: *string
│ │ │ └── Status: *Object (4 properties)
│ │ │ ├── CompletedTime: *string
│ │ │ ├── Error: *Object (5 properties)
@@ -513,40 +490,64 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20230315pre
│ │ │ ├── "Running"
│ │ │ ├── "Stopped"
│ │ │ └── "Stopping"
-│ │ └── Strategy: *Object (1 property)
-│ │ └── Stages: Object (3 properties)[]
-│ │ ├── AfterStageWaitInSeconds: *int
-│ │ ├── Groups: Object (1 property)[]
-│ │ │ └── Name: *string
-│ │ └── Name: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ └── Type: *string
-└── Fleets_UpdateRun_Spec_ARM: Object (2 properties)
- ├── Name: string
- └── Properties: *Object (2 properties)
- ├── ManagedClusterUpdate: *Object (1 property)
- │ └── Upgrade: *Object (2 properties)
- │ ├── KubernetesVersion: *string
- │ └── Type: *Enum (2 values)
- │ ├── "Full"
- │ └── "NodeImageOnly"
- └── Strategy: *Object (1 property)
- └── Stages: Object (3 properties)[]
- ├── AfterStageWaitInSeconds: *int
- ├── Groups: Object (1 property)[]
- │ └── Name: *string
- └── Name: *string
+│ │ └── Status: *Object (4 properties)
+│ │ ├── CompletedTime: *string
+│ │ ├── Error: *Object (5 properties)
+│ │ │ ├── AdditionalInfo: Object (2 properties)[]
+│ │ │ │ ├── Info: map[string]v1.JSON
+│ │ │ │ └── Type: *string
+│ │ │ ├── Code: *string
+│ │ │ ├── Details: Object (4 properties)[]
+│ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
+│ │ │ │ │ ├── Info: map[string]v1.JSON
+│ │ │ │ │ └── Type: *string
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ ├── Message: *string
+│ │ │ └── Target: *string
+│ │ ├── StartTime: *string
+│ │ └── State: *Enum (6 values)
+│ │ ├── "Completed"
+│ │ ├── "Failed"
+│ │ ├── "NotStarted"
+│ │ ├── "Running"
+│ │ ├── "Stopped"
+│ │ └── "Stopping"
+│ └── Strategy: *Object (1 property)
+│ └── Stages: Object (3 properties)[]
+│ ├── AfterStageWaitInSeconds: *int
+│ ├── Groups: Object (1 property)[]
+│ │ └── Name: *string
+│ └── Name: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+Fleets_UpdateRun_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (2 properties)
+ ├── ManagedClusterUpdate: *Object (1 property)
+ │ └── Upgrade: *Object (2 properties)
+ │ ├── KubernetesVersion: *string
+ │ └── Type: *Enum (2 values)
+ │ ├── "Full"
+ │ └── "NodeImageOnly"
+ └── Strategy: *Object (1 property)
+ └── Stages: Object (3 properties)[]
+ ├── AfterStageWaitInSeconds: *int
+ ├── Groups: Object (1 property)[]
+ │ └── Name: *string
+ └── Name: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_spec_arm_types_gen.go
index b254653f62..78f770222c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_spec_arm_types_gen.go
@@ -270,6 +270,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -510,6 +515,13 @@ const (
ManagedClusterIdentity_Type_UserAssigned = ManagedClusterIdentity_Type("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type
+var managedClusterIdentity_Type_Values = map[string]ManagedClusterIdentity_Type{
+ "none": ManagedClusterIdentity_Type_None,
+ "systemassigned": ManagedClusterIdentity_Type_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_UserAssigned,
+}
+
// The OIDC issuer profile of the Managed Cluster.
type ManagedClusterOIDCIssuerProfile_ARM struct {
// Enabled: Whether the OIDC issuer is enabled.
@@ -629,6 +641,11 @@ type ManagedClusterSKU_Name string
const ManagedClusterSKU_Name_Base = ManagedClusterSKU_Name("Base")
+// Mapping from string to ManagedClusterSKU_Name
+var managedClusterSKU_Name_Values = map[string]ManagedClusterSKU_Name{
+ "base": ManagedClusterSKU_Name_Base,
+}
+
// +kubebuilder:validation:Enum={"Free","Premium","Standard"}
type ManagedClusterSKU_Tier string
@@ -638,6 +655,13 @@ const (
ManagedClusterSKU_Tier_Standard = ManagedClusterSKU_Tier("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier
+var managedClusterSKU_Tier_Values = map[string]ManagedClusterSKU_Tier{
+ "free": ManagedClusterSKU_Tier_Free,
+ "premium": ManagedClusterSKU_Tier_Premium,
+ "standard": ManagedClusterSKU_Tier_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_status_arm_types_gen.go
index 3b247479ce..f4b7111e03 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_status_arm_types_gen.go
@@ -327,6 +327,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_STATUS_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -599,6 +604,13 @@ const (
ManagedClusterIdentity_Type_STATUS_UserAssigned = ManagedClusterIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type_STATUS
+var managedClusterIdentity_Type_STATUS_Values = map[string]ManagedClusterIdentity_Type_STATUS{
+ "none": ManagedClusterIdentity_Type_STATUS_None,
+ "systemassigned": ManagedClusterIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_STATUS_UserAssigned,
+}
+
type ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -725,6 +737,11 @@ type ManagedClusterSKU_Name_STATUS string
const ManagedClusterSKU_Name_STATUS_Base = ManagedClusterSKU_Name_STATUS("Base")
+// Mapping from string to ManagedClusterSKU_Name_STATUS
+var managedClusterSKU_Name_STATUS_Values = map[string]ManagedClusterSKU_Name_STATUS{
+ "base": ManagedClusterSKU_Name_STATUS_Base,
+}
+
type ManagedClusterSKU_Tier_STATUS string
const (
@@ -733,6 +750,13 @@ const (
ManagedClusterSKU_Tier_STATUS_Standard = ManagedClusterSKU_Tier_STATUS("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier_STATUS
+var managedClusterSKU_Tier_STATUS_Values = map[string]ManagedClusterSKU_Tier_STATUS{
+ "free": ManagedClusterSKU_Tier_STATUS_Free,
+ "premium": ManagedClusterSKU_Tier_STATUS_Premium,
+ "standard": ManagedClusterSKU_Tier_STATUS_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_STATUS_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
@@ -750,18 +774,6 @@ type ManagedClusterStorageProfile_STATUS_ARM struct {
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS_ARM struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -837,6 +849,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -846,6 +866,14 @@ const (
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
+
// Details about a user assigned identity.
type UserAssignedIdentity_STATUS_ARM struct {
// ClientId: The client ID of the user assigned identity.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_types_gen.go
index 3f1173ec69..8603659572 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_cluster_types_gen.go
@@ -6,7 +6,7 @@ package v1api20231001
import (
"context"
"fmt"
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
@@ -54,7 +54,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20231001s.ManagedCluster)
+ source, ok := hub.(*storage.ManagedCluster)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedCluster but received %T instead", hub)
}
@@ -64,7 +64,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20231001s.ManagedCluster)
+ destination, ok := hub.(*storage.ManagedCluster)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedCluster but received %T instead", hub)
}
@@ -118,6 +118,13 @@ func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ ge
}
}
}
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.Identity != nil {
+ if cluster.Status.Identity.PrincipalId != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId, *cluster.Status.Identity.PrincipalId)
+ }
+ }
+ }
result, err := collector.Values()
if err != nil {
return nil, err
@@ -269,6 +276,7 @@ func (cluster *ManagedCluster) validateConfigMapDestinations() (admission.Warnin
}
toValidate := []*genruntime.ConfigMapDestination{
cluster.Spec.OperatorSpec.ConfigMaps.OIDCIssuerProfile,
+ cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId,
}
return genruntime.ValidateConfigMapDestinations(toValidate)
}
@@ -313,7 +321,7 @@ func (cluster *ManagedCluster) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20231001s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -339,13 +347,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20231001s.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20231001s.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -353,7 +361,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20231001s.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -1296,14 +1304,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20231001s.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1320,14 +1328,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20231001s.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1343,7 +1351,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20231001s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// AadProfile
if source.AadProfile != nil {
@@ -1633,8 +1641,9 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -1701,8 +1710,9 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// SupportPlan
if source.SupportPlan != nil {
- supportPlan := KubernetesSupportPlan(*source.SupportPlan)
- cluster.SupportPlan = &supportPlan
+ supportPlan := *source.SupportPlan
+ supportPlanTemp := genruntime.ToEnum(supportPlan, kubernetesSupportPlan_Values)
+ cluster.SupportPlan = &supportPlanTemp
} else {
cluster.SupportPlan = nil
}
@@ -1751,13 +1761,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20231001s.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20231001s.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -1769,11 +1779,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20231001s.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20231001s.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -1787,11 +1797,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20231001s.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20231001s.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -1805,7 +1815,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20231001s.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -1817,7 +1827,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20231001s.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -1829,7 +1839,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20231001s.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -1841,7 +1851,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20231001s.ManagedClusterAzureMonitorProfile
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
@@ -1891,7 +1901,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20231001s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -1906,7 +1916,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20231001s.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -1918,7 +1928,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20231001s.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -1930,11 +1940,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20231001s.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20231001s.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -1951,7 +1961,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20231001s.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -1966,7 +1976,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20231001s.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -1981,7 +1991,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20231001s.ManagedClusterOIDCIssuerProfile
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
@@ -1993,7 +2003,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20231001s.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -2016,7 +2026,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20231001s.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -2028,11 +2038,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20231001s.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20231001s.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -2054,7 +2064,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20231001s.ManagedClusterSecurityProfile
+ var securityProfile storage.ManagedClusterSecurityProfile
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
@@ -2066,7 +2076,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServiceMeshProfile
if cluster.ServiceMeshProfile != nil {
- var serviceMeshProfile v20231001s.ServiceMeshProfile
+ var serviceMeshProfile storage.ServiceMeshProfile
err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile() to populate field ServiceMeshProfile")
@@ -2078,7 +2088,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20231001s.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -2090,7 +2100,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20231001s.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -2102,7 +2112,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20231001s.ManagedClusterStorageProfile
+ var storageProfile storage.ManagedClusterStorageProfile
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
@@ -2125,7 +2135,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// UpgradeSettings
if cluster.UpgradeSettings != nil {
- var upgradeSetting v20231001s.ClusterUpgradeSettings
+ var upgradeSetting storage.ClusterUpgradeSettings
err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings() to populate field UpgradeSettings")
@@ -2137,7 +2147,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20231001s.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -2149,7 +2159,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20231001s.ManagedClusterWorkloadAutoScalerProfile
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
@@ -2430,7 +2440,7 @@ func (cluster *ManagedCluster_Spec) Initialize_From_ManagedCluster_STATUS(source
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess(*source.PublicNetworkAccess)
+ publicNetworkAccess := genruntime.ToEnum(string(*source.PublicNetworkAccess), managedClusterProperties_PublicNetworkAccess_Values)
cluster.PublicNetworkAccess = &publicNetworkAccess
} else {
cluster.PublicNetworkAccess = nil
@@ -2498,7 +2508,7 @@ func (cluster *ManagedCluster_Spec) Initialize_From_ManagedCluster_STATUS(source
// SupportPlan
if source.SupportPlan != nil {
- supportPlan := KubernetesSupportPlan(*source.SupportPlan)
+ supportPlan := genruntime.ToEnum(string(*source.SupportPlan), kubernetesSupportPlan_Values)
cluster.SupportPlan = &supportPlan
} else {
cluster.SupportPlan = nil
@@ -2728,14 +2738,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20231001s.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2752,14 +2762,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20231001s.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -3334,7 +3344,7 @@ func (cluster *ManagedCluster_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20231001s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// AadProfile
if source.AadProfile != nil {
@@ -3635,8 +3645,9 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess_STATUS(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_STATUS_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -3706,8 +3717,9 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// SupportPlan
if source.SupportPlan != nil {
- supportPlan := KubernetesSupportPlan_STATUS(*source.SupportPlan)
- cluster.SupportPlan = &supportPlan
+ supportPlan := *source.SupportPlan
+ supportPlanTemp := genruntime.ToEnum(supportPlan, kubernetesSupportPlan_STATUS_Values)
+ cluster.SupportPlan = &supportPlanTemp
} else {
cluster.SupportPlan = nil
}
@@ -3771,13 +3783,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20231001s.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20231001s.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -3789,11 +3801,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20231001s.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20231001s.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -3807,11 +3819,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20231001s.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20231001s.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -3825,7 +3837,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20231001s.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -3837,7 +3849,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -3849,7 +3861,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20231001s.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -3861,7 +3873,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20231001s.ManagedClusterAzureMonitorProfile_STATUS
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
@@ -3912,7 +3924,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20231001s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -3930,7 +3942,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20231001s.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -3945,7 +3957,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20231001s.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -3957,11 +3969,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20231001s.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20231001s.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -3978,7 +3990,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20231001s.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -3999,7 +4011,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20231001s.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -4014,7 +4026,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20231001s.ManagedClusterOIDCIssuerProfile_STATUS
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
@@ -4026,7 +4038,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20231001s.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -4038,7 +4050,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20231001s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -4053,11 +4065,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20231001s.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20231001s.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -4085,7 +4097,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20231001s.ManagedClusterSecurityProfile_STATUS
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -4097,7 +4109,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServiceMeshProfile
if cluster.ServiceMeshProfile != nil {
- var serviceMeshProfile v20231001s.ServiceMeshProfile_STATUS
+ var serviceMeshProfile storage.ServiceMeshProfile_STATUS
err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile_STATUS(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
@@ -4109,7 +4121,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20231001s.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -4121,7 +4133,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20231001s.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -4133,7 +4145,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20231001s.ManagedClusterStorageProfile_STATUS
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
@@ -4153,7 +4165,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SystemData
if cluster.SystemData != nil {
- var systemDatum v20231001s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -4171,7 +4183,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// UpgradeSettings
if cluster.UpgradeSettings != nil {
- var upgradeSetting v20231001s.ClusterUpgradeSettings_STATUS
+ var upgradeSetting storage.ClusterUpgradeSettings_STATUS
err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -4183,7 +4195,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20231001s.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -4195,7 +4207,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
@@ -4271,7 +4283,7 @@ func (settings *ClusterUpgradeSettings) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ClusterUpgradeSettings populates our ClusterUpgradeSettings from the provided source ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *v20231001s.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *storage.ClusterUpgradeSettings) error {
// OverrideSettings
if source.OverrideSettings != nil {
@@ -4290,13 +4302,13 @@ func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSett
}
// AssignProperties_To_ClusterUpgradeSettings populates the provided destination ClusterUpgradeSettings from our ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *v20231001s.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *storage.ClusterUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20231001s.UpgradeOverrideSettings
+ var overrideSetting storage.UpgradeOverrideSettings
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings() to populate field OverrideSettings")
@@ -4372,7 +4384,7 @@ func (settings *ClusterUpgradeSettings_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ClusterUpgradeSettings_STATUS populates our ClusterUpgradeSettings_STATUS from the provided source ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *v20231001s.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *storage.ClusterUpgradeSettings_STATUS) error {
// OverrideSettings
if source.OverrideSettings != nil {
@@ -4391,13 +4403,13 @@ func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgr
}
// AssignProperties_To_ClusterUpgradeSettings_STATUS populates the provided destination ClusterUpgradeSettings_STATUS from our ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *v20231001s.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *storage.ClusterUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20231001s.UpgradeOverrideSettings_STATUS
+ var overrideSetting storage.UpgradeOverrideSettings_STATUS
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings_STATUS(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
@@ -4491,7 +4503,7 @@ func (profile *ContainerServiceLinuxProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20231001s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// AdminUsername
if source.AdminUsername != nil {
@@ -4518,7 +4530,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20231001s.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4532,7 +4544,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20231001s.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -4625,7 +4637,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20231001s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -4647,7 +4659,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20231001s.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4656,7 +4668,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20231001s.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -4956,7 +4968,7 @@ func (profile *ContainerServiceNetworkProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20231001s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// DnsServiceIP
if source.DnsServiceIP != nil {
@@ -4972,7 +4984,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = ContainerServiceNetworkProfile_IpFamilies(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, containerServiceNetworkProfile_IpFamilies_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -4993,8 +5005,9 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, containerServiceNetworkProfile_LoadBalancerSku_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -5013,48 +5026,54 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := ContainerServiceNetworkProfile_NetworkDataplane(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, containerServiceNetworkProfile_NetworkDataplane_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, containerServiceNetworkProfile_NetworkMode_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := NetworkPlugin(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := ContainerServiceNetworkProfile_NetworkPluginMode(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, containerServiceNetworkProfile_NetworkPluginMode_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, containerServiceNetworkProfile_NetworkPolicy_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -5086,7 +5105,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20231001s.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5113,7 +5132,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20231001s.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -5133,7 +5152,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20231001s.ManagedClusterNATGatewayProfile
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
@@ -5241,7 +5260,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamily := ContainerServiceNetworkProfile_IpFamilies(ipFamilyItem)
+ ipFamily := genruntime.ToEnum(string(ipFamilyItem), containerServiceNetworkProfile_IpFamilies_Values)
ipFamilyList[ipFamilyIndex] = ipFamily
}
profile.IpFamilies = ipFamilyList
@@ -5263,7 +5282,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku(*source.LoadBalancerSku)
+ loadBalancerSku := genruntime.ToEnum(string(*source.LoadBalancerSku), containerServiceNetworkProfile_LoadBalancerSku_Values)
profile.LoadBalancerSku = &loadBalancerSku
} else {
profile.LoadBalancerSku = nil
@@ -5283,7 +5302,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := ContainerServiceNetworkProfile_NetworkDataplane(*source.NetworkDataplane)
+ networkDataplane := genruntime.ToEnum(string(*source.NetworkDataplane), containerServiceNetworkProfile_NetworkDataplane_Values)
profile.NetworkDataplane = &networkDataplane
} else {
profile.NetworkDataplane = nil
@@ -5291,7 +5310,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode(*source.NetworkMode)
+ networkMode := genruntime.ToEnum(string(*source.NetworkMode), containerServiceNetworkProfile_NetworkMode_Values)
profile.NetworkMode = &networkMode
} else {
profile.NetworkMode = nil
@@ -5299,7 +5318,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := NetworkPlugin(*source.NetworkPlugin)
+ networkPlugin := genruntime.ToEnum(string(*source.NetworkPlugin), networkPlugin_Values)
profile.NetworkPlugin = &networkPlugin
} else {
profile.NetworkPlugin = nil
@@ -5307,7 +5326,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := ContainerServiceNetworkProfile_NetworkPluginMode(*source.NetworkPluginMode)
+ networkPluginMode := genruntime.ToEnum(string(*source.NetworkPluginMode), containerServiceNetworkProfile_NetworkPluginMode_Values)
profile.NetworkPluginMode = &networkPluginMode
} else {
profile.NetworkPluginMode = nil
@@ -5315,7 +5334,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy(*source.NetworkPolicy)
+ networkPolicy := genruntime.ToEnum(string(*source.NetworkPolicy), containerServiceNetworkProfile_NetworkPolicy_Values)
profile.NetworkPolicy = &networkPolicy
} else {
profile.NetworkPolicy = nil
@@ -5323,7 +5342,7 @@ func (profile *ContainerServiceNetworkProfile) Initialize_From_ContainerServiceN
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType(*source.OutboundType)
+ outboundType := genruntime.ToEnum(string(*source.OutboundType), containerServiceNetworkProfile_OutboundType_Values)
profile.OutboundType = &outboundType
} else {
profile.OutboundType = nil
@@ -5527,7 +5546,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20231001s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// DnsServiceIP
profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
@@ -5538,7 +5557,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = ContainerServiceNetworkProfile_IpFamilies_STATUS(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, containerServiceNetworkProfile_IpFamilies_STATUS_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -5559,8 +5578,9 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := ContainerServiceNetworkProfile_LoadBalancerSku_STATUS(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, containerServiceNetworkProfile_LoadBalancerSku_STATUS_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -5579,48 +5599,54 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := ContainerServiceNetworkProfile_NetworkDataplane_STATUS(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, containerServiceNetworkProfile_NetworkDataplane_STATUS_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := ContainerServiceNetworkProfile_NetworkMode_STATUS(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, containerServiceNetworkProfile_NetworkMode_STATUS_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := ContainerServiceNetworkProfile_NetworkPlugin_STATUS(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, containerServiceNetworkProfile_NetworkPlugin_STATUS_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := ContainerServiceNetworkProfile_NetworkPluginMode_STATUS(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, containerServiceNetworkProfile_NetworkPluginMode_STATUS_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := ContainerServiceNetworkProfile_NetworkPolicy_STATUS(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, containerServiceNetworkProfile_NetworkPolicy_STATUS_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType_STATUS(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_STATUS_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -5642,7 +5668,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20231001s.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5664,7 +5690,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20231001s.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -5684,7 +5710,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20231001s.ManagedClusterNATGatewayProfile_STATUS
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
@@ -5826,15 +5852,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20231001s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -5844,7 +5871,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20231001s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5878,7 +5905,7 @@ func (location *ExtendedLocation) Initialize_From_ExtendedLocation_STATUS(source
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), extendedLocationType_Values)
location.Type = &typeVar
} else {
location.Type = nil
@@ -5928,15 +5955,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20231001s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -5946,7 +5974,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20231001s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5981,6 +6009,12 @@ const (
KubernetesSupportPlan_KubernetesOfficial = KubernetesSupportPlan("KubernetesOfficial")
)
+// Mapping from string to KubernetesSupportPlan
+var kubernetesSupportPlan_Values = map[string]KubernetesSupportPlan{
+ "akslongtermsupport": KubernetesSupportPlan_AKSLongTermSupport,
+ "kubernetesofficial": KubernetesSupportPlan_KubernetesOfficial,
+}
+
// Different support tiers for AKS managed clusters
type KubernetesSupportPlan_STATUS string
@@ -5989,6 +6023,12 @@ const (
KubernetesSupportPlan_STATUS_KubernetesOfficial = KubernetesSupportPlan_STATUS("KubernetesOfficial")
)
+// Mapping from string to KubernetesSupportPlan_STATUS
+var kubernetesSupportPlan_STATUS_Values = map[string]KubernetesSupportPlan_STATUS{
+ "akslongtermsupport": KubernetesSupportPlan_STATUS_AKSLongTermSupport,
+ "kubernetesofficial": KubernetesSupportPlan_STATUS_KubernetesOfficial,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -6124,7 +6164,7 @@ func (profile *ManagedClusterAADProfile) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20231001s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -6162,7 +6202,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20231001s.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6331,7 +6371,7 @@ func (profile *ManagedClusterAADProfile_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20231001s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -6369,7 +6409,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20231001s.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6481,7 +6521,7 @@ func (profile *ManagedClusterAddonProfile) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20231001s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -6499,7 +6539,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20231001s.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6599,7 +6639,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20231001s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -6629,7 +6669,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20231001s.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6646,7 +6686,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20231001s.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -7417,7 +7457,7 @@ func (profile *ManagedClusterAgentPoolProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20231001s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -7487,8 +7527,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -7515,8 +7556,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -7544,8 +7586,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -7597,24 +7640,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -7649,24 +7695,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -7684,8 +7733,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -7715,8 +7765,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -7726,7 +7777,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20231001s.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7746,7 +7797,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// CreationData
if profile.CreationData != nil {
- var creationDatum v20231001s.CreationData
+ var creationDatum storage.CreationData
err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -7814,7 +7865,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -7834,7 +7885,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -7871,7 +7922,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// NetworkProfile
if profile.NetworkProfile != nil {
- var networkProfile v20231001s.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
@@ -7940,7 +7991,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// PowerState
if profile.PowerState != nil {
- var powerState v20231001s.PowerState
+ var powerState storage.PowerState
err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -8003,7 +8054,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -8106,7 +8157,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
+ gpuInstanceProfile := genruntime.ToEnum(string(*source.GpuInstanceProfile), gPUInstanceProfile_Values)
profile.GpuInstanceProfile = &gpuInstanceProfile
} else {
profile.GpuInstanceProfile = nil
@@ -8126,7 +8177,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
+ kubeletDiskType := genruntime.ToEnum(string(*source.KubeletDiskType), kubeletDiskType_Values)
profile.KubeletDiskType = &kubeletDiskType
} else {
profile.KubeletDiskType = nil
@@ -8155,7 +8206,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
+ mode := genruntime.ToEnum(string(*source.Mode), agentPoolMode_Values)
profile.Mode = &mode
} else {
profile.Mode = nil
@@ -8200,7 +8251,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
+ osDiskType := genruntime.ToEnum(string(*source.OsDiskType), oSDiskType_Values)
profile.OsDiskType = &osDiskType
} else {
profile.OsDiskType = nil
@@ -8208,7 +8259,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
+ osSKU := genruntime.ToEnum(string(*source.OsSKU), oSSKU_Values)
profile.OsSKU = &osSKU
} else {
profile.OsSKU = nil
@@ -8216,7 +8267,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
+ osType := genruntime.ToEnum(string(*source.OsType), oSType_Values)
profile.OsType = &osType
} else {
profile.OsType = nil
@@ -8236,7 +8287,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
+ scaleDownMode := genruntime.ToEnum(string(*source.ScaleDownMode), scaleDownMode_Values)
profile.ScaleDownMode = &scaleDownMode
} else {
profile.ScaleDownMode = nil
@@ -8244,7 +8295,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
+ scaleSetEvictionPolicy := genruntime.ToEnum(string(*source.ScaleSetEvictionPolicy), scaleSetEvictionPolicy_Values)
profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
} else {
profile.ScaleSetEvictionPolicy = nil
@@ -8252,7 +8303,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
+ scaleSetPriority := genruntime.ToEnum(string(*source.ScaleSetPriority), scaleSetPriority_Values)
profile.ScaleSetPriority = &scaleSetPriority
} else {
profile.ScaleSetPriority = nil
@@ -8271,7 +8322,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), agentPoolType_Values)
profile.Type = &typeVar
} else {
profile.Type = nil
@@ -8294,7 +8345,7 @@ func (profile *ManagedClusterAgentPoolProfile) Initialize_From_ManagedClusterAge
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
+ workloadRuntime := genruntime.ToEnum(string(*source.WorkloadRuntime), workloadRuntime_Values)
profile.WorkloadRuntime = &workloadRuntime
} else {
profile.WorkloadRuntime = nil
@@ -8790,7 +8841,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20231001s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// AvailabilityZones
profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -8858,8 +8909,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -8881,8 +8933,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -8910,8 +8963,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -8951,24 +9005,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -8996,24 +9053,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -9031,8 +9091,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Type
if source.Type != nil {
- typeVar := AgentPoolType_STATUS(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_STATUS_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -9057,8 +9118,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -9068,7 +9130,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20231001s.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9083,7 +9145,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// CreationData
if profile.CreationData != nil {
- var creationDatum v20231001s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -9149,7 +9211,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -9169,7 +9231,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -9201,7 +9263,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// NetworkProfile
if profile.NetworkProfile != nil {
- var networkProfile v20231001s.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -9258,7 +9320,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20231001s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -9319,7 +9381,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -9463,7 +9525,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20231001s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -9500,7 +9562,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20231001s.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9653,7 +9715,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20231001s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -9690,7 +9752,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20231001s.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9797,20 +9859,22 @@ func (profile *ManagedClusterAutoUpgradeProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20231001s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel(*source.NodeOSUpgradeChannel)
- profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
} else {
profile.NodeOSUpgradeChannel = nil
}
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -9820,7 +9884,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20231001s.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9856,7 +9920,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) Initialize_From_ManagedClusterA
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel(*source.NodeOSUpgradeChannel)
+ nodeOSUpgradeChannel := genruntime.ToEnum(string(*source.NodeOSUpgradeChannel), managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values)
profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
} else {
profile.NodeOSUpgradeChannel = nil
@@ -9864,7 +9928,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) Initialize_From_ManagedClusterA
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel(*source.UpgradeChannel)
+ upgradeChannel := genruntime.ToEnum(string(*source.UpgradeChannel), managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
profile.UpgradeChannel = &upgradeChannel
} else {
profile.UpgradeChannel = nil
@@ -9915,20 +9979,22 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20231001s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS(*source.NodeOSUpgradeChannel)
- profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
} else {
profile.NodeOSUpgradeChannel = nil
}
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -9938,7 +10004,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20231001s.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10026,7 +10092,7 @@ func (profile *ManagedClusterAzureMonitorProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *v20231001s.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
// Metrics
if source.Metrics != nil {
@@ -10045,13 +10111,13 @@ func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *v20231001s.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Metrics
if profile.Metrics != nil {
- var metric v20231001s.ManagedClusterAzureMonitorProfileMetrics
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
@@ -10129,7 +10195,7 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *v20231001s.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Metrics
if source.Metrics != nil {
@@ -10148,13 +10214,13 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *v20231001s.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Metrics
if profile.Metrics != nil {
- var metric v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
@@ -10264,7 +10330,7 @@ func (config *ManagedClusterHTTPProxyConfig) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20231001s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -10283,7 +10349,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20231001s.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10386,7 +10452,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20231001s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -10405,7 +10471,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20231001s.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10525,7 +10591,7 @@ func (identity *ManagedClusterIdentity) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20231001s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// DelegatedResources
if source.DelegatedResources != nil {
@@ -10547,8 +10613,9 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -10576,17 +10643,17 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20231001s.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DelegatedResources
if identity.DelegatedResources != nil {
- delegatedResourceMap := make(map[string]v20231001s.DelegatedResource, len(identity.DelegatedResources))
+ delegatedResourceMap := make(map[string]storage.DelegatedResource, len(identity.DelegatedResources))
for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
// Shadow the loop variable to avoid aliasing
delegatedResourceValue := delegatedResourceValue
- var delegatedResource v20231001s.DelegatedResource
+ var delegatedResource storage.DelegatedResource
err := delegatedResourceValue.AssignProperties_To_DelegatedResource(&delegatedResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource() to populate field DelegatedResources")
@@ -10608,11 +10675,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231001s.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231001s.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -10658,7 +10725,7 @@ func (identity *ManagedClusterIdentity) Initialize_From_ManagedClusterIdentity_S
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), managedClusterIdentity_Type_Values)
identity.Type = &typeVar
} else {
identity.Type = nil
@@ -10764,7 +10831,7 @@ func (identity *ManagedClusterIdentity_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20231001s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// DelegatedResources
if source.DelegatedResources != nil {
@@ -10792,8 +10859,9 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -10821,17 +10889,17 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20231001s.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DelegatedResources
if identity.DelegatedResources != nil {
- delegatedResourceMap := make(map[string]v20231001s.DelegatedResource_STATUS, len(identity.DelegatedResources))
+ delegatedResourceMap := make(map[string]storage.DelegatedResource_STATUS, len(identity.DelegatedResources))
for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
// Shadow the loop variable to avoid aliasing
delegatedResourceValue := delegatedResourceValue
- var delegatedResource v20231001s.DelegatedResource_STATUS
+ var delegatedResource storage.DelegatedResource_STATUS
err := delegatedResourceValue.AssignProperties_To_DelegatedResource_STATUS(&delegatedResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource_STATUS() to populate field DelegatedResources")
@@ -10859,11 +10927,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -10932,7 +11000,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *v20231001s.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
// Enabled
if source.Enabled != nil {
@@ -10947,7 +11015,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *v20231001s.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11025,7 +11093,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *v20231001s.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -11043,7 +11111,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *v20231001s.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11079,7 +11147,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20231001s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// ConfigMaps
if source.ConfigMaps != nil {
@@ -11110,13 +11178,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20231001s.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ConfigMaps
if operator.ConfigMaps != nil {
- var configMap v20231001s.ManagedClusterOperatorConfigMaps
+ var configMap storage.ManagedClusterOperatorConfigMaps
err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
@@ -11128,7 +11196,7 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOp
// Secrets
if operator.Secrets != nil {
- var secret v20231001s.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -11258,7 +11326,7 @@ func (profile *ManagedClusterPodIdentityProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20231001s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -11317,7 +11385,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20231001s.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11339,11 +11407,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231001s.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231001s.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -11357,11 +11425,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20231001s.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20231001s.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -11513,7 +11581,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20231001s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -11572,7 +11640,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20231001s.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11594,11 +11662,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231001s.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231001s.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -11612,11 +11680,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20231001s.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20231001s.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -11934,15 +12002,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20231001s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -11997,7 +12066,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20231001s.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12076,7 +12145,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) Initialize_From_Manag
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander(*source.Expander)
+ expander := genruntime.ToEnum(string(*source.Expander), managedClusterProperties_AutoScalerProfile_Expander_Values)
profile.Expander = &expander
} else {
profile.Expander = nil
@@ -12315,15 +12384,16 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) PopulateFromAR
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
// Expander
if source.Expander != nil {
- expander := ManagedClusterProperties_AutoScalerProfile_Expander_STATUS(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -12378,7 +12448,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20231001s.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12457,6 +12527,12 @@ const (
ManagedClusterProperties_PublicNetworkAccess_Enabled = ManagedClusterProperties_PublicNetworkAccess("Enabled")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess
+var managedClusterProperties_PublicNetworkAccess_Values = map[string]ManagedClusterProperties_PublicNetworkAccess{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_Enabled,
+}
+
type ManagedClusterProperties_PublicNetworkAccess_STATUS string
const (
@@ -12464,6 +12540,12 @@ const (
ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled = ManagedClusterProperties_PublicNetworkAccess_STATUS("Enabled")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess_STATUS
+var managedClusterProperties_PublicNetworkAccess_STATUS_Values = map[string]ManagedClusterProperties_PublicNetworkAccess_STATUS{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled,
+}
+
// Security profile for the container service cluster.
type ManagedClusterSecurityProfile struct {
// AzureKeyVaultKms: Azure Key Vault [key management
@@ -12593,7 +12675,7 @@ func (profile *ManagedClusterSecurityProfile) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *v20231001s.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -12648,13 +12730,13 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *v20231001s.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20231001s.AzureKeyVaultKms
+ var azureKeyVaultKm storage.AzureKeyVaultKms
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
@@ -12666,7 +12748,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// Defender
if profile.Defender != nil {
- var defender v20231001s.ManagedClusterSecurityProfileDefender
+ var defender storage.ManagedClusterSecurityProfileDefender
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
@@ -12678,7 +12760,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20231001s.ManagedClusterSecurityProfileImageCleaner
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
@@ -12690,7 +12772,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20231001s.ManagedClusterSecurityProfileWorkloadIdentity
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
@@ -12846,7 +12928,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *v20231001s.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -12901,13 +12983,13 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *v20231001s.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20231001s.AzureKeyVaultKms_STATUS
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
@@ -12919,7 +13001,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// Defender
if profile.Defender != nil {
- var defender v20231001s.ManagedClusterSecurityProfileDefender_STATUS
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
@@ -12931,7 +13013,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
@@ -12943,7 +13025,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
@@ -13026,7 +13108,7 @@ func (profile *ManagedClusterServicePrincipalProfile) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20231001s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -13044,7 +13126,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20231001s.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13111,7 +13193,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20231001s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -13121,7 +13203,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20231001s.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13201,20 +13283,22 @@ func (clusterSKU *ManagedClusterSKU) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20231001s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -13224,7 +13308,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20231001s.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13260,7 +13344,7 @@ func (clusterSKU *ManagedClusterSKU) Initialize_From_ManagedClusterSKU_STATUS(so
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), managedClusterSKU_Name_Values)
clusterSKU.Name = &name
} else {
clusterSKU.Name = nil
@@ -13268,7 +13352,7 @@ func (clusterSKU *ManagedClusterSKU) Initialize_From_ManagedClusterSKU_STATUS(so
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier(*source.Tier)
+ tier := genruntime.ToEnum(string(*source.Tier), managedClusterSKU_Tier_Values)
clusterSKU.Tier = &tier
} else {
clusterSKU.Tier = nil
@@ -13319,20 +13403,22 @@ func (clusterSKU *ManagedClusterSKU_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20231001s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name_STATUS(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_STATUS_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier_STATUS(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_STATUS_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -13342,7 +13428,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20231001s.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13500,7 +13586,7 @@ func (profile *ManagedClusterStorageProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *v20231001s.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -13555,13 +13641,13 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *v20231001s.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20231001s.ManagedClusterStorageProfileBlobCSIDriver
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
@@ -13573,7 +13659,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20231001s.ManagedClusterStorageProfileDiskCSIDriver
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
@@ -13585,7 +13671,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20231001s.ManagedClusterStorageProfileFileCSIDriver
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
@@ -13597,7 +13683,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20231001s.ManagedClusterStorageProfileSnapshotController
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
@@ -13751,7 +13837,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *v20231001s.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -13806,13 +13892,13 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *v20231001s.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
@@ -13824,7 +13910,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
@@ -13836,7 +13922,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
@@ -13848,7 +13934,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
@@ -13881,7 +13967,7 @@ type ManagedClusterWindowsProfile struct {
// Has a special character (Regex match [\W_])
// Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
// "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
// +kubebuilder:validation:Required
// AdminUsername: Specifies the name of the administrator account.
@@ -13916,7 +14002,11 @@ func (profile *ManagedClusterWindowsProfile) ConvertToARM(resolved genruntime.Co
// Set property "AdminPassword":
if profile.AdminPassword != nil {
- adminPassword := *profile.AdminPassword
+ adminPasswordSecret, err := resolved.ResolvedSecrets.Lookup(*profile.AdminPassword)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property AdminPassword")
+ }
+ adminPassword := adminPasswordSecret
result.AdminPassword = &adminPassword
}
@@ -13962,11 +14052,7 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
+ // no assignment for property "AdminPassword"
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
@@ -14002,10 +14088,15 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20231001s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -14032,8 +14123,9 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -14043,12 +14135,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20231001s.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -14063,7 +14160,7 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20231001s.WindowsGmsaProfile
+ var gmsaProfile storage.WindowsGmsaProfile
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
@@ -14095,9 +14192,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Initialize_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile_STATUS
func (profile *ManagedClusterWindowsProfile) Initialize_From_ManagedClusterWindowsProfile_STATUS(source *ManagedClusterWindowsProfile_STATUS) error {
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
-
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -14123,7 +14217,7 @@ func (profile *ManagedClusterWindowsProfile) Initialize_From_ManagedClusterWindo
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType(*source.LicenseType)
+ licenseType := genruntime.ToEnum(string(*source.LicenseType), managedClusterWindowsProfile_LicenseType_Values)
profile.LicenseType = &licenseType
} else {
profile.LicenseType = nil
@@ -14135,18 +14229,6 @@ func (profile *ManagedClusterWindowsProfile) Initialize_From_ManagedClusterWindo
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -14182,12 +14264,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_STATUS_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
-
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
adminUsername := *typedInput.AdminUsername
@@ -14222,10 +14298,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20231001s.ManagedClusterWindowsProfile_STATUS) error {
-
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -14252,8 +14325,9 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType_STATUS(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_STATUS_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -14263,13 +14337,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20231001s.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -14283,7 +14354,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20231001s.WindowsGmsaProfile_STATUS
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
@@ -14391,7 +14462,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *v20231001s.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Keda
if source.Keda != nil {
@@ -14422,13 +14493,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
@@ -14440,7 +14511,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_Mana
// VerticalPodAutoscaler
if profile.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
@@ -14542,7 +14613,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Keda
if source.Keda != nil {
@@ -14573,13 +14644,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
@@ -14591,7 +14662,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
// VerticalPodAutoscaler
if profile.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
@@ -14643,12 +14714,13 @@ func (state *PowerState_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20231001s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Code
if source.Code != nil {
- code := PowerState_Code_STATUS(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_STATUS_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -14658,7 +14730,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20231001s.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14785,7 +14857,7 @@ func (resource *PrivateLinkResource) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20231001s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -14812,7 +14884,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20231001s.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14949,7 +15021,7 @@ func (resource *PrivateLinkResource_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20231001s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -14974,7 +15046,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20231001s.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15078,7 +15150,7 @@ func (profile *ServiceMeshProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_ServiceMeshProfile populates our ServiceMeshProfile from the provided source ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *v20231001s.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *storage.ServiceMeshProfile) error {
// Istio
if source.Istio != nil {
@@ -15094,8 +15166,9 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -15105,13 +15178,13 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
}
// AssignProperties_To_ServiceMeshProfile populates the provided destination ServiceMeshProfile from our ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *v20231001s.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *storage.ServiceMeshProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Istio
if profile.Istio != nil {
- var istio v20231001s.IstioServiceMesh
+ var istio storage.IstioServiceMesh
err := profile.Istio.AssignProperties_To_IstioServiceMesh(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh() to populate field Istio")
@@ -15157,7 +15230,7 @@ func (profile *ServiceMeshProfile) Initialize_From_ServiceMeshProfile_STATUS(sou
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode(*source.Mode)
+ mode := genruntime.ToEnum(string(*source.Mode), serviceMeshProfile_Mode_Values)
profile.Mode = &mode
} else {
profile.Mode = nil
@@ -15212,7 +15285,7 @@ func (profile *ServiceMeshProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_ServiceMeshProfile_STATUS populates our ServiceMeshProfile_STATUS from the provided source ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *v20231001s.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *storage.ServiceMeshProfile_STATUS) error {
// Istio
if source.Istio != nil {
@@ -15228,8 +15301,9 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -15239,13 +15313,13 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
}
// AssignProperties_To_ServiceMeshProfile_STATUS populates the provided destination ServiceMeshProfile_STATUS from our ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *v20231001s.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *storage.ServiceMeshProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Istio
if profile.Istio != nil {
- var istio v20231001s.IstioServiceMesh_STATUS
+ var istio storage.IstioServiceMesh_STATUS
err := profile.Istio.AssignProperties_To_IstioServiceMesh_STATUS(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh_STATUS() to populate field Istio")
@@ -15350,7 +15424,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20231001s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -15360,8 +15434,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -15374,8 +15449,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -15385,7 +15461,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20231001s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15504,7 +15580,7 @@ func (identity *UserAssignedIdentity) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20231001s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -15525,7 +15601,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20231001s.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15624,7 +15700,7 @@ func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20231001s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -15640,7 +15716,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20231001s.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15761,7 +15837,7 @@ func (vaultKms *AzureKeyVaultKms) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *v20231001s.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
// Enabled
if source.Enabled != nil {
@@ -15776,8 +15852,9 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -15795,7 +15872,7 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
}
// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *v20231001s.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15853,7 +15930,7 @@ func (vaultKms *AzureKeyVaultKms) Initialize_From_AzureKeyVaultKms_STATUS(source
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess(*source.KeyVaultNetworkAccess)
+ keyVaultNetworkAccess := genruntime.ToEnum(string(*source.KeyVaultNetworkAccess), azureKeyVaultKms_KeyVaultNetworkAccess_Values)
vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
} else {
vaultKms.KeyVaultNetworkAccess = nil
@@ -15935,7 +16012,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *v20231001s.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -15950,8 +16027,9 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -15964,7 +16042,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
}
// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *v20231001s.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16009,6 +16087,12 @@ const (
ContainerServiceNetworkProfile_IpFamilies_IPv6 = ContainerServiceNetworkProfile_IpFamilies("IPv6")
)
+// Mapping from string to ContainerServiceNetworkProfile_IpFamilies
+var containerServiceNetworkProfile_IpFamilies_Values = map[string]ContainerServiceNetworkProfile_IpFamilies{
+ "ipv4": ContainerServiceNetworkProfile_IpFamilies_IPv4,
+ "ipv6": ContainerServiceNetworkProfile_IpFamilies_IPv6,
+}
+
type ContainerServiceNetworkProfile_IpFamilies_STATUS string
const (
@@ -16016,6 +16100,12 @@ const (
ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv6 = ContainerServiceNetworkProfile_IpFamilies_STATUS("IPv6")
)
+// Mapping from string to ContainerServiceNetworkProfile_IpFamilies_STATUS
+var containerServiceNetworkProfile_IpFamilies_STATUS_Values = map[string]ContainerServiceNetworkProfile_IpFamilies_STATUS{
+ "ipv4": ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv4,
+ "ipv6": ContainerServiceNetworkProfile_IpFamilies_STATUS_IPv6,
+}
+
// +kubebuilder:validation:Enum={"basic","standard"}
type ContainerServiceNetworkProfile_LoadBalancerSku string
@@ -16024,6 +16114,12 @@ const (
ContainerServiceNetworkProfile_LoadBalancerSku_Standard = ContainerServiceNetworkProfile_LoadBalancerSku("standard")
)
+// Mapping from string to ContainerServiceNetworkProfile_LoadBalancerSku
+var containerServiceNetworkProfile_LoadBalancerSku_Values = map[string]ContainerServiceNetworkProfile_LoadBalancerSku{
+ "basic": ContainerServiceNetworkProfile_LoadBalancerSku_Basic,
+ "standard": ContainerServiceNetworkProfile_LoadBalancerSku_Standard,
+}
+
type ContainerServiceNetworkProfile_LoadBalancerSku_STATUS string
const (
@@ -16031,6 +16127,12 @@ const (
ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Standard = ContainerServiceNetworkProfile_LoadBalancerSku_STATUS("standard")
)
+// Mapping from string to ContainerServiceNetworkProfile_LoadBalancerSku_STATUS
+var containerServiceNetworkProfile_LoadBalancerSku_STATUS_Values = map[string]ContainerServiceNetworkProfile_LoadBalancerSku_STATUS{
+ "basic": ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Basic,
+ "standard": ContainerServiceNetworkProfile_LoadBalancerSku_STATUS_Standard,
+}
+
// +kubebuilder:validation:Enum={"azure","cilium"}
type ContainerServiceNetworkProfile_NetworkDataplane string
@@ -16039,6 +16141,12 @@ const (
ContainerServiceNetworkProfile_NetworkDataplane_Cilium = ContainerServiceNetworkProfile_NetworkDataplane("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkDataplane
+var containerServiceNetworkProfile_NetworkDataplane_Values = map[string]ContainerServiceNetworkProfile_NetworkDataplane{
+ "azure": ContainerServiceNetworkProfile_NetworkDataplane_Azure,
+ "cilium": ContainerServiceNetworkProfile_NetworkDataplane_Cilium,
+}
+
type ContainerServiceNetworkProfile_NetworkDataplane_STATUS string
const (
@@ -16046,6 +16154,12 @@ const (
ContainerServiceNetworkProfile_NetworkDataplane_STATUS_Cilium = ContainerServiceNetworkProfile_NetworkDataplane_STATUS("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkDataplane_STATUS
+var containerServiceNetworkProfile_NetworkDataplane_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkDataplane_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkDataplane_STATUS_Azure,
+ "cilium": ContainerServiceNetworkProfile_NetworkDataplane_STATUS_Cilium,
+}
+
// +kubebuilder:validation:Enum={"bridge","transparent"}
type ContainerServiceNetworkProfile_NetworkMode string
@@ -16054,6 +16168,12 @@ const (
ContainerServiceNetworkProfile_NetworkMode_Transparent = ContainerServiceNetworkProfile_NetworkMode("transparent")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkMode
+var containerServiceNetworkProfile_NetworkMode_Values = map[string]ContainerServiceNetworkProfile_NetworkMode{
+ "bridge": ContainerServiceNetworkProfile_NetworkMode_Bridge,
+ "transparent": ContainerServiceNetworkProfile_NetworkMode_Transparent,
+}
+
type ContainerServiceNetworkProfile_NetworkMode_STATUS string
const (
@@ -16061,6 +16181,12 @@ const (
ContainerServiceNetworkProfile_NetworkMode_STATUS_Transparent = ContainerServiceNetworkProfile_NetworkMode_STATUS("transparent")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkMode_STATUS
+var containerServiceNetworkProfile_NetworkMode_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkMode_STATUS{
+ "bridge": ContainerServiceNetworkProfile_NetworkMode_STATUS_Bridge,
+ "transparent": ContainerServiceNetworkProfile_NetworkMode_STATUS_Transparent,
+}
+
type ContainerServiceNetworkProfile_NetworkPlugin_STATUS string
const (
@@ -16069,15 +16195,32 @@ const (
ContainerServiceNetworkProfile_NetworkPlugin_STATUS_None = ContainerServiceNetworkProfile_NetworkPlugin_STATUS("none")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPlugin_STATUS
+var containerServiceNetworkProfile_NetworkPlugin_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPlugin_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Azure,
+ "kubenet": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_Kubenet,
+ "none": ContainerServiceNetworkProfile_NetworkPlugin_STATUS_None,
+}
+
// +kubebuilder:validation:Enum={"overlay"}
type ContainerServiceNetworkProfile_NetworkPluginMode string
const ContainerServiceNetworkProfile_NetworkPluginMode_Overlay = ContainerServiceNetworkProfile_NetworkPluginMode("overlay")
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPluginMode
+var containerServiceNetworkProfile_NetworkPluginMode_Values = map[string]ContainerServiceNetworkProfile_NetworkPluginMode{
+ "overlay": ContainerServiceNetworkProfile_NetworkPluginMode_Overlay,
+}
+
type ContainerServiceNetworkProfile_NetworkPluginMode_STATUS string
const ContainerServiceNetworkProfile_NetworkPluginMode_STATUS_Overlay = ContainerServiceNetworkProfile_NetworkPluginMode_STATUS("overlay")
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPluginMode_STATUS
+var containerServiceNetworkProfile_NetworkPluginMode_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPluginMode_STATUS{
+ "overlay": ContainerServiceNetworkProfile_NetworkPluginMode_STATUS_Overlay,
+}
+
// +kubebuilder:validation:Enum={"azure","calico","cilium"}
type ContainerServiceNetworkProfile_NetworkPolicy string
@@ -16087,6 +16230,13 @@ const (
ContainerServiceNetworkProfile_NetworkPolicy_Cilium = ContainerServiceNetworkProfile_NetworkPolicy("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPolicy
+var containerServiceNetworkProfile_NetworkPolicy_Values = map[string]ContainerServiceNetworkProfile_NetworkPolicy{
+ "azure": ContainerServiceNetworkProfile_NetworkPolicy_Azure,
+ "calico": ContainerServiceNetworkProfile_NetworkPolicy_Calico,
+ "cilium": ContainerServiceNetworkProfile_NetworkPolicy_Cilium,
+}
+
type ContainerServiceNetworkProfile_NetworkPolicy_STATUS string
const (
@@ -16095,6 +16245,13 @@ const (
ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Cilium = ContainerServiceNetworkProfile_NetworkPolicy_STATUS("cilium")
)
+// Mapping from string to ContainerServiceNetworkProfile_NetworkPolicy_STATUS
+var containerServiceNetworkProfile_NetworkPolicy_STATUS_Values = map[string]ContainerServiceNetworkProfile_NetworkPolicy_STATUS{
+ "azure": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Azure,
+ "calico": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Calico,
+ "cilium": ContainerServiceNetworkProfile_NetworkPolicy_STATUS_Cilium,
+}
+
// +kubebuilder:validation:Enum={"loadBalancer","managedNATGateway","userAssignedNATGateway","userDefinedRouting"}
type ContainerServiceNetworkProfile_OutboundType string
@@ -16105,6 +16262,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType
+var containerServiceNetworkProfile_OutboundType_Values = map[string]ContainerServiceNetworkProfile_OutboundType{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting,
+}
+
type ContainerServiceNetworkProfile_OutboundType_STATUS string
const (
@@ -16114,6 +16279,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType_STATUS("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType_STATUS
+var containerServiceNetworkProfile_OutboundType_STATUS_Values = map[string]ContainerServiceNetworkProfile_OutboundType_STATUS{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting,
+}
+
// SSH configuration for Linux-based VMs running on Azure.
type ContainerServiceSshConfiguration struct {
// +kubebuilder:validation:Required
@@ -16168,7 +16341,7 @@ func (configuration *ContainerServiceSshConfiguration) PopulateFromARM(owner gen
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20231001s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -16193,17 +16366,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20231001s.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20231001s.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20231001s.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -16286,7 +16459,7 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20231001s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -16311,17 +16484,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20231001s.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20231001s.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20231001s.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -16436,7 +16609,7 @@ func (resource *DelegatedResource) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_DelegatedResource populates our DelegatedResource from the provided source DelegatedResource
-func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(source *v20231001s.DelegatedResource) error {
+func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(source *storage.DelegatedResource) error {
// Location
resource.Location = genruntime.ClonePointerToString(source.Location)
@@ -16465,7 +16638,7 @@ func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(sourc
}
// AssignProperties_To_DelegatedResource populates the provided destination DelegatedResource from our DelegatedResource
-func (resource *DelegatedResource) AssignProperties_To_DelegatedResource(destination *v20231001s.DelegatedResource) error {
+func (resource *DelegatedResource) AssignProperties_To_DelegatedResource(destination *storage.DelegatedResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16589,7 +16762,7 @@ func (resource *DelegatedResource_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_DelegatedResource_STATUS populates our DelegatedResource_STATUS from the provided source DelegatedResource_STATUS
-func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResource_STATUS(source *v20231001s.DelegatedResource_STATUS) error {
+func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResource_STATUS(source *storage.DelegatedResource_STATUS) error {
// Location
resource.Location = genruntime.ClonePointerToString(source.Location)
@@ -16608,7 +16781,7 @@ func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResourc
}
// AssignProperties_To_DelegatedResource_STATUS populates the provided destination DelegatedResource_STATUS from our DelegatedResource_STATUS
-func (resource *DelegatedResource_STATUS) AssignProperties_To_DelegatedResource_STATUS(destination *v20231001s.DelegatedResource_STATUS) error {
+func (resource *DelegatedResource_STATUS) AssignProperties_To_DelegatedResource_STATUS(destination *storage.DelegatedResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16731,7 +16904,7 @@ func (mesh *IstioServiceMesh) PopulateFromARM(owner genruntime.ArbitraryOwnerRef
}
// AssignProperties_From_IstioServiceMesh populates our IstioServiceMesh from the provided source IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20231001s.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *storage.IstioServiceMesh) error {
// CertificateAuthority
if source.CertificateAuthority != nil {
@@ -16775,13 +16948,13 @@ func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20
}
// AssignProperties_To_IstioServiceMesh populates the provided destination IstioServiceMesh from our IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *v20231001s.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *storage.IstioServiceMesh) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CertificateAuthority
if mesh.CertificateAuthority != nil {
- var certificateAuthority v20231001s.IstioCertificateAuthority
+ var certificateAuthority storage.IstioCertificateAuthority
err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority(&certificateAuthority)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority() to populate field CertificateAuthority")
@@ -16793,7 +16966,7 @@ func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *
// Components
if mesh.Components != nil {
- var component v20231001s.IstioComponents
+ var component storage.IstioComponents
err := mesh.Components.AssignProperties_To_IstioComponents(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents() to populate field Components")
@@ -16932,7 +17105,7 @@ func (mesh *IstioServiceMesh_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_IstioServiceMesh_STATUS populates our IstioServiceMesh_STATUS from the provided source IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *v20231001s.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *storage.IstioServiceMesh_STATUS) error {
// CertificateAuthority
if source.CertificateAuthority != nil {
@@ -16966,13 +17139,13 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STAT
}
// AssignProperties_To_IstioServiceMesh_STATUS populates the provided destination IstioServiceMesh_STATUS from our IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *v20231001s.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *storage.IstioServiceMesh_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CertificateAuthority
if mesh.CertificateAuthority != nil {
- var certificateAuthority v20231001s.IstioCertificateAuthority_STATUS
+ var certificateAuthority storage.IstioCertificateAuthority_STATUS
err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority_STATUS(&certificateAuthority)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority_STATUS() to populate field CertificateAuthority")
@@ -16984,7 +17157,7 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS
// Components
if mesh.Components != nil {
- var component v20231001s.IstioComponents_STATUS
+ var component storage.IstioComponents_STATUS
err := mesh.Components.AssignProperties_To_IstioComponents_STATUS(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents_STATUS() to populate field Components")
@@ -17017,6 +17190,13 @@ const (
ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("Unmanaged")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_None,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged,
+}
+
type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS string
const (
@@ -17025,6 +17205,13 @@ const (
ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("Unmanaged")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_None,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged,
+}
+
// +kubebuilder:validation:Enum={"node-image","none","patch","rapid","stable"}
type ManagedClusterAutoUpgradeProfile_UpgradeChannel string
@@ -17036,6 +17223,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel
+var managedClusterAutoUpgradeProfile_UpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable,
+}
+
type ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS string
const (
@@ -17046,6 +17242,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable,
+}
+
// Metrics profile for the Azure Monitor managed service for Prometheus addon. Collect out-of-the-box Kubernetes
// infrastructure metrics to send to an Azure Monitor Workspace and configure additional scraping for custom targets. See
// aka.ms/AzureManagedPrometheus for an overview.
@@ -17122,7 +17327,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *v20231001s.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Enabled
if source.Enabled != nil {
@@ -17149,7 +17354,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *v20231001s.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17163,7 +17368,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_Man
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
@@ -17261,7 +17466,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -17288,7 +17493,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *v20231001s.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17302,7 +17507,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
@@ -17362,7 +17567,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) Populate
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// ClientId
identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -17375,7 +17580,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20231001s.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17587,7 +17792,7 @@ func (profile *ManagedClusterLoadBalancerProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20231001s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// AllocatedOutboundPorts
if source.AllocatedOutboundPorts != nil {
@@ -17599,8 +17804,9 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType(*source.BackendPoolType)
- profile.BackendPoolType = &backendPoolType
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
} else {
profile.BackendPoolType = nil
}
@@ -17680,7 +17886,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20231001s.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17702,11 +17908,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -17736,7 +17942,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -17748,7 +17954,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -17760,7 +17966,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -17794,7 +18000,7 @@ func (profile *ManagedClusterLoadBalancerProfile) Initialize_From_ManagedCluster
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType(*source.BackendPoolType)
+ backendPoolType := genruntime.ToEnum(string(*source.BackendPoolType), managedClusterLoadBalancerProfile_BackendPoolType_Values)
profile.BackendPoolType = &backendPoolType
} else {
profile.BackendPoolType = nil
@@ -17989,15 +18195,16 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// AllocatedOutboundPorts
profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS(*source.BackendPoolType)
- profile.BackendPoolType = &backendPoolType
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
} else {
profile.BackendPoolType = nil
}
@@ -18072,7 +18279,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18089,11 +18296,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -18118,7 +18325,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -18130,7 +18337,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -18142,7 +18349,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -18258,7 +18465,7 @@ func (profile *ManagedClusterNATGatewayProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *v20231001s.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -18303,17 +18510,17 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *v20231001s.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -18335,7 +18542,7 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClust
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20231001s.ManagedClusterManagedOutboundIPProfile
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
@@ -18460,7 +18667,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *v20231001s.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -18500,17 +18707,17 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *v20231001s.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231001s.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231001s.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -18527,7 +18734,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
@@ -18552,10 +18759,13 @@ type ManagedClusterOperatorConfigMaps struct {
// OIDCIssuerProfile: indicates where the OIDCIssuerProfile config map should be placed. If omitted, no config map will be
// created.
OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+
+ // PrincipalId: indicates where the PrincipalId config map should be placed. If omitted, no config map will be created.
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
}
// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *v20231001s.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
// OIDCIssuerProfile
if source.OIDCIssuerProfile != nil {
@@ -18565,12 +18775,20 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
maps.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if source.PrincipalId != nil {
+ principalId := source.PrincipalId.Copy()
+ maps.PrincipalId = &principalId
+ } else {
+ maps.PrincipalId = nil
+ }
+
// No error
return nil
}
// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *v20231001s.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18582,6 +18800,14 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedCluster
destination.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if maps.PrincipalId != nil {
+ principalId := maps.PrincipalId.Copy()
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
destination.PropertyBag = propertyBag
@@ -18604,7 +18830,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20231001s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// AdminCredentials
if source.AdminCredentials != nil {
@@ -18627,7 +18853,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20231001s.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18761,7 +18987,7 @@ func (identity *ManagedClusterPodIdentity) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20231001s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -18789,7 +19015,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20231001s.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18798,7 +19024,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20231001s.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -18937,7 +19163,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20231001s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -18974,8 +19200,9 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ManagedClusterPodIdentity_ProvisioningState_STATUS(*source.ProvisioningState)
- identity.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, managedClusterPodIdentity_ProvisioningState_STATUS_Values)
+ identity.ProvisioningState = &provisioningStateTemp
} else {
identity.ProvisioningState = nil
}
@@ -18985,7 +19212,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20231001s.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18994,7 +19221,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20231001s.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -19012,7 +19239,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -19125,7 +19352,7 @@ func (exception *ManagedClusterPodIdentityException) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20231001s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -19141,7 +19368,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20231001s.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19233,7 +19460,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20231001s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -19249,7 +19476,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20231001s.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19283,6 +19510,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_Random = ManagedClusterProperties_AutoScalerProfile_Expander("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander
+var managedClusterProperties_AutoScalerProfile_Expander_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_Random,
+}
+
type ManagedClusterProperties_AutoScalerProfile_Expander_STATUS string
const (
@@ -19292,6 +19527,14 @@ const (
ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random = ManagedClusterProperties_AutoScalerProfile_Expander_STATUS("random")
)
+// Mapping from string to ManagedClusterProperties_AutoScalerProfile_Expander_STATUS
+var managedClusterProperties_AutoScalerProfile_Expander_STATUS_Values = map[string]ManagedClusterProperties_AutoScalerProfile_Expander_STATUS{
+ "least-waste": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_LeastWaste,
+ "most-pods": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_MostPods,
+ "priority": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Priority,
+ "random": ManagedClusterProperties_AutoScalerProfile_Expander_STATUS_Random,
+}
+
// Microsoft Defender settings for the security profile.
type ManagedClusterSecurityProfileDefender struct {
// LogAnalyticsWorkspaceResourceReference: Resource ID of the Log Analytics workspace to be associated with Microsoft
@@ -19364,7 +19607,7 @@ func (defender *ManagedClusterSecurityProfileDefender) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *v20231001s.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
// LogAnalyticsWorkspaceResourceReference
if source.LogAnalyticsWorkspaceResourceReference != nil {
@@ -19391,7 +19634,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *v20231001s.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19405,7 +19648,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_Manag
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
@@ -19500,7 +19743,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *v20231001s.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// LogAnalyticsWorkspaceResourceId
defender.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
@@ -19522,7 +19765,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *v20231001s.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19531,7 +19774,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_T
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
@@ -19614,7 +19857,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *v20231001s.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Enabled
if source.Enabled != nil {
@@ -19632,7 +19875,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *v20231001s.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19717,7 +19960,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19735,7 +19978,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *v20231001s.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19807,7 +20050,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Enabled
if source.Enabled != nil {
@@ -19822,7 +20065,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19891,7 +20134,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) PopulateFr
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19906,7 +20149,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProp
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *v20231001s.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19975,7 +20218,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *v20231001s.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -19990,7 +20233,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *v20231001s.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20059,7 +20302,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20074,7 +20317,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *v20231001s.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20143,7 +20386,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *v20231001s.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -20158,7 +20401,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *v20231001s.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20227,7 +20470,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20242,7 +20485,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *v20231001s.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20311,7 +20554,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *v20231001s.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -20326,7 +20569,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *v20231001s.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20395,7 +20638,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20410,7 +20653,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *v20231001s.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20479,7 +20722,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) PopulateFromAR
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *v20231001s.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
// Enabled
if source.Enabled != nil {
@@ -20494,7 +20737,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperti
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *v20231001s.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20563,7 +20806,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) Populat
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20578,7 +20821,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *v20231001s.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20609,6 +20852,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_Windows_Server = ManagedClusterWindowsProfile_LicenseType("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType
+var managedClusterWindowsProfile_LicenseType_Values = map[string]ManagedClusterWindowsProfile_LicenseType{
+ "none": ManagedClusterWindowsProfile_LicenseType_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_Windows_Server,
+}
+
type ManagedClusterWindowsProfile_LicenseType_STATUS string
const (
@@ -20616,6 +20865,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server = ManagedClusterWindowsProfile_LicenseType_STATUS("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType_STATUS
+var managedClusterWindowsProfile_LicenseType_STATUS_Values = map[string]ManagedClusterWindowsProfile_LicenseType_STATUS{
+ "none": ManagedClusterWindowsProfile_LicenseType_STATUS_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server,
+}
+
// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
type ManagedClusterWorkloadAutoScalerProfileKeda struct {
// +kubebuilder:validation:Required
@@ -20663,7 +20918,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Enabled
if source.Enabled != nil {
@@ -20678,7 +20933,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20747,7 +21002,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20762,7 +21017,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20832,7 +21087,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// Enabled
if source.Enabled != nil {
@@ -20847,7 +21102,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20916,7 +21171,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -20931,7 +21186,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *v20231001s.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20963,6 +21218,13 @@ const (
NetworkPlugin_None = NetworkPlugin("none")
)
+// Mapping from string to NetworkPlugin
+var networkPlugin_Values = map[string]NetworkPlugin{
+ "azure": NetworkPlugin_Azure,
+ "kubenet": NetworkPlugin_Kubenet,
+ "none": NetworkPlugin_None,
+}
+
type PowerState_Code_STATUS string
const (
@@ -20970,6 +21232,12 @@ const (
PowerState_Code_STATUS_Stopped = PowerState_Code_STATUS("Stopped")
)
+// Mapping from string to PowerState_Code_STATUS
+var powerState_Code_STATUS_Values = map[string]PowerState_Code_STATUS{
+ "running": PowerState_Code_STATUS_Running,
+ "stopped": PowerState_Code_STATUS_Stopped,
+}
+
// +kubebuilder:validation:Enum={"Disabled","Istio"}
type ServiceMeshProfile_Mode string
@@ -20978,6 +21246,12 @@ const (
ServiceMeshProfile_Mode_Istio = ServiceMeshProfile_Mode("Istio")
)
+// Mapping from string to ServiceMeshProfile_Mode
+var serviceMeshProfile_Mode_Values = map[string]ServiceMeshProfile_Mode{
+ "disabled": ServiceMeshProfile_Mode_Disabled,
+ "istio": ServiceMeshProfile_Mode_Istio,
+}
+
type ServiceMeshProfile_Mode_STATUS string
const (
@@ -20985,6 +21259,12 @@ const (
ServiceMeshProfile_Mode_STATUS_Istio = ServiceMeshProfile_Mode_STATUS("Istio")
)
+// Mapping from string to ServiceMeshProfile_Mode_STATUS
+var serviceMeshProfile_Mode_STATUS_Values = map[string]ServiceMeshProfile_Mode_STATUS{
+ "disabled": ServiceMeshProfile_Mode_STATUS_Disabled,
+ "istio": ServiceMeshProfile_Mode_STATUS_Istio,
+}
+
// Settings for overrides when upgrading a cluster.
type UpgradeOverrideSettings struct {
// ForceUpgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade
@@ -21049,7 +21329,7 @@ func (settings *UpgradeOverrideSettings) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_UpgradeOverrideSettings populates our UpgradeOverrideSettings from the provided source UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *v20231001s.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *storage.UpgradeOverrideSettings) error {
// ForceUpgrade
if source.ForceUpgrade != nil {
@@ -21067,7 +21347,7 @@ func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSe
}
// AssignProperties_To_UpgradeOverrideSettings populates the provided destination UpgradeOverrideSettings from our UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *v20231001s.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *storage.UpgradeOverrideSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21154,7 +21434,7 @@ func (settings *UpgradeOverrideSettings_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_UpgradeOverrideSettings_STATUS populates our UpgradeOverrideSettings_STATUS from the provided source UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *v20231001s.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *storage.UpgradeOverrideSettings_STATUS) error {
// ForceUpgrade
if source.ForceUpgrade != nil {
@@ -21172,7 +21452,7 @@ func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOve
}
// AssignProperties_To_UpgradeOverrideSettings_STATUS populates the provided destination UpgradeOverrideSettings_STATUS from our UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *v20231001s.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *storage.UpgradeOverrideSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21204,7 +21484,7 @@ type UserAssignedIdentityDetails struct {
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20231001s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Reference
details.Reference = source.Reference.Copy()
@@ -21214,7 +21494,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20231001s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21310,7 +21590,7 @@ func (profile *WindowsGmsaProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *v20231001s.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -21331,7 +21611,7 @@ func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(sour
}
// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *v20231001s.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21432,7 +21712,7 @@ func (profile *WindowsGmsaProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *v20231001s.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -21453,7 +21733,7 @@ func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfi
}
// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *v20231001s.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21490,6 +21770,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_Public = AzureKeyVaultKms_KeyVaultNetworkAccess("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess
+var azureKeyVaultKms_KeyVaultNetworkAccess_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_Public,
+}
+
type AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS string
const (
@@ -21497,6 +21783,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public = AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS
+var azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public,
+}
+
// Contains information about SSH certificate public key data.
type ContainerServiceSshPublicKey struct {
// +kubebuilder:validation:Required
@@ -21545,7 +21837,7 @@ func (publicKey *ContainerServiceSshPublicKey) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20231001s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -21555,7 +21847,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20231001s.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21615,7 +21907,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20231001s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -21625,7 +21917,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20231001s.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21699,7 +21991,7 @@ func (authority *IstioCertificateAuthority) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_IstioCertificateAuthority populates our IstioCertificateAuthority from the provided source IstioCertificateAuthority
-func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertificateAuthority(source *v20231001s.IstioCertificateAuthority) error {
+func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertificateAuthority(source *storage.IstioCertificateAuthority) error {
// Plugin
if source.Plugin != nil {
@@ -21718,13 +22010,13 @@ func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertifica
}
// AssignProperties_To_IstioCertificateAuthority populates the provided destination IstioCertificateAuthority from our IstioCertificateAuthority
-func (authority *IstioCertificateAuthority) AssignProperties_To_IstioCertificateAuthority(destination *v20231001s.IstioCertificateAuthority) error {
+func (authority *IstioCertificateAuthority) AssignProperties_To_IstioCertificateAuthority(destination *storage.IstioCertificateAuthority) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Plugin
if authority.Plugin != nil {
- var plugin v20231001s.IstioPluginCertificateAuthority
+ var plugin storage.IstioPluginCertificateAuthority
err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority(&plugin)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority() to populate field Plugin")
@@ -21801,7 +22093,7 @@ func (authority *IstioCertificateAuthority_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_IstioCertificateAuthority_STATUS populates our IstioCertificateAuthority_STATUS from the provided source IstioCertificateAuthority_STATUS
-func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCertificateAuthority_STATUS(source *v20231001s.IstioCertificateAuthority_STATUS) error {
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCertificateAuthority_STATUS(source *storage.IstioCertificateAuthority_STATUS) error {
// Plugin
if source.Plugin != nil {
@@ -21820,13 +22112,13 @@ func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCe
}
// AssignProperties_To_IstioCertificateAuthority_STATUS populates the provided destination IstioCertificateAuthority_STATUS from our IstioCertificateAuthority_STATUS
-func (authority *IstioCertificateAuthority_STATUS) AssignProperties_To_IstioCertificateAuthority_STATUS(destination *v20231001s.IstioCertificateAuthority_STATUS) error {
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_To_IstioCertificateAuthority_STATUS(destination *storage.IstioCertificateAuthority_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Plugin
if authority.Plugin != nil {
- var plugin v20231001s.IstioPluginCertificateAuthority_STATUS
+ var plugin storage.IstioPluginCertificateAuthority_STATUS
err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority_STATUS(&plugin)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority_STATUS() to populate field Plugin")
@@ -21922,7 +22214,7 @@ func (components *IstioComponents) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_IstioComponents populates our IstioComponents from the provided source IstioComponents
-func (components *IstioComponents) AssignProperties_From_IstioComponents(source *v20231001s.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_From_IstioComponents(source *storage.IstioComponents) error {
// EgressGateways
if source.EgressGateways != nil {
@@ -21965,17 +22257,17 @@ func (components *IstioComponents) AssignProperties_From_IstioComponents(source
}
// AssignProperties_To_IstioComponents populates the provided destination IstioComponents from our IstioComponents
-func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *v20231001s.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *storage.IstioComponents) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EgressGateways
if components.EgressGateways != nil {
- egressGatewayList := make([]v20231001s.IstioEgressGateway, len(components.EgressGateways))
+ egressGatewayList := make([]storage.IstioEgressGateway, len(components.EgressGateways))
for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
// Shadow the loop variable to avoid aliasing
egressGatewayItem := egressGatewayItem
- var egressGateway v20231001s.IstioEgressGateway
+ var egressGateway storage.IstioEgressGateway
err := egressGatewayItem.AssignProperties_To_IstioEgressGateway(&egressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway() to populate field EgressGateways")
@@ -21989,11 +22281,11 @@ func (components *IstioComponents) AssignProperties_To_IstioComponents(destinati
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20231001s.IstioIngressGateway, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20231001s.IstioIngressGateway
+ var ingressGateway storage.IstioIngressGateway
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway() to populate field IngressGateways")
@@ -22107,7 +22399,7 @@ func (components *IstioComponents_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_IstioComponents_STATUS populates our IstioComponents_STATUS from the provided source IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *v20231001s.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *storage.IstioComponents_STATUS) error {
// EgressGateways
if source.EgressGateways != nil {
@@ -22150,17 +22442,17 @@ func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_
}
// AssignProperties_To_IstioComponents_STATUS populates the provided destination IstioComponents_STATUS from our IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *v20231001s.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *storage.IstioComponents_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EgressGateways
if components.EgressGateways != nil {
- egressGatewayList := make([]v20231001s.IstioEgressGateway_STATUS, len(components.EgressGateways))
+ egressGatewayList := make([]storage.IstioEgressGateway_STATUS, len(components.EgressGateways))
for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
// Shadow the loop variable to avoid aliasing
egressGatewayItem := egressGatewayItem
- var egressGateway v20231001s.IstioEgressGateway_STATUS
+ var egressGateway storage.IstioEgressGateway_STATUS
err := egressGatewayItem.AssignProperties_To_IstioEgressGateway_STATUS(&egressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway_STATUS() to populate field EgressGateways")
@@ -22174,11 +22466,11 @@ func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_ST
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20231001s.IstioIngressGateway_STATUS, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway_STATUS, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20231001s.IstioIngressGateway_STATUS
+ var ingressGateway storage.IstioIngressGateway_STATUS
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway_STATUS(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway_STATUS() to populate field IngressGateways")
@@ -22268,7 +22560,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) PopulateFromAR
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -22281,7 +22573,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperti
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22361,7 +22653,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) Populat
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -22374,7 +22666,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *v20231001s.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22403,6 +22695,12 @@ const (
ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType("NodeIPConfiguration")
)
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType
+var managedClusterLoadBalancerProfile_BackendPoolType_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration,
+}
+
type ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS string
const (
@@ -22410,6 +22708,12 @@ const (
ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS("NodeIPConfiguration")
)
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS
+var managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration,
+}
+
type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
// +kubebuilder:validation:Maximum=100
// +kubebuilder:validation:Minimum=1
@@ -22476,7 +22780,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Count
if source.Count != nil {
@@ -22499,7 +22803,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22594,7 +22898,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) Populate
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Count
iPs.Count = genruntime.ClonePointerToInt(source.Count)
@@ -22607,7 +22911,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22680,7 +22984,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) PopulateFr
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -22705,17 +23009,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20231001s.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20231001s.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -22797,7 +23101,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Pop
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -22822,17 +23126,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20231001s.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20231001s.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -22907,7 +23211,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -22932,17 +23236,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20231001s.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20231001s.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -23024,7 +23328,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -23049,17 +23353,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20231001s.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20231001s.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20231001s.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -23131,7 +23435,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *v20231001s.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
// Count
if source.Count != nil {
@@ -23146,7 +23450,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *v20231001s.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23216,7 +23520,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Count
profile.Count = genruntime.ClonePointerToInt(source.Count)
@@ -23226,7 +23530,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *v20231001s.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23279,7 +23583,7 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Error
if source.Error != nil {
@@ -23298,13 +23602,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20231001s.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if info.Error != nil {
- var error v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -23336,6 +23640,16 @@ const (
ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating = ManagedClusterPodIdentity_ProvisioningState_STATUS("Updating")
)
+// Mapping from string to ManagedClusterPodIdentity_ProvisioningState_STATUS
+var managedClusterPodIdentity_ProvisioningState_STATUS_Values = map[string]ManagedClusterPodIdentity_ProvisioningState_STATUS{
+ "assigned": ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned,
+ "canceled": ManagedClusterPodIdentity_ProvisioningState_STATUS_Canceled,
+ "deleting": ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting,
+ "failed": ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed,
+ "succeeded": ManagedClusterPodIdentity_ProvisioningState_STATUS_Succeeded,
+ "updating": ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating,
+}
+
// Microsoft Defender settings for the security profile threat detection.
type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
// Enabled: Whether to enable Defender threat detection
@@ -23382,7 +23696,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Popul
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Enabled
if source.Enabled != nil {
@@ -23397,7 +23711,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Assig
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23466,7 +23780,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23481,7 +23795,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *v20231001s.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23550,7 +23864,7 @@ func (reference *ResourceReference) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20231001s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Reference
if source.Reference != nil {
@@ -23565,7 +23879,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20231001s.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23634,7 +23948,7 @@ func (reference *ResourceReference_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20231001s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Id
reference.Id = genruntime.ClonePointerToString(source.Id)
@@ -23644,7 +23958,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20231001s.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23728,7 +24042,7 @@ func (gateway *IstioEgressGateway) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_IstioEgressGateway populates our IstioEgressGateway from the provided source IstioEgressGateway
-func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(source *v20231001s.IstioEgressGateway) error {
+func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(source *storage.IstioEgressGateway) error {
// Enabled
if source.Enabled != nil {
@@ -23746,7 +24060,7 @@ func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(sour
}
// AssignProperties_To_IstioEgressGateway populates the provided destination IstioEgressGateway from our IstioEgressGateway
-func (gateway *IstioEgressGateway) AssignProperties_To_IstioEgressGateway(destination *v20231001s.IstioEgressGateway) error {
+func (gateway *IstioEgressGateway) AssignProperties_To_IstioEgressGateway(destination *storage.IstioEgressGateway) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23832,7 +24146,7 @@ func (gateway *IstioEgressGateway_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_IstioEgressGateway_STATUS populates our IstioEgressGateway_STATUS from the provided source IstioEgressGateway_STATUS
-func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGateway_STATUS(source *v20231001s.IstioEgressGateway_STATUS) error {
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGateway_STATUS(source *storage.IstioEgressGateway_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23850,7 +24164,7 @@ func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGatew
}
// AssignProperties_To_IstioEgressGateway_STATUS populates the provided destination IstioEgressGateway_STATUS from our IstioEgressGateway_STATUS
-func (gateway *IstioEgressGateway_STATUS) AssignProperties_To_IstioEgressGateway_STATUS(destination *v20231001s.IstioEgressGateway_STATUS) error {
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_To_IstioEgressGateway_STATUS(destination *storage.IstioEgressGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23940,7 +24254,7 @@ func (gateway *IstioIngressGateway) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_IstioIngressGateway populates our IstioIngressGateway from the provided source IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *v20231001s.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *storage.IstioIngressGateway) error {
// Enabled
if source.Enabled != nil {
@@ -23952,8 +24266,9 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode(*source.Mode)
- gateway.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_Values)
+ gateway.Mode = &modeTemp
} else {
gateway.Mode = nil
}
@@ -23963,7 +24278,7 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
}
// AssignProperties_To_IstioIngressGateway populates the provided destination IstioIngressGateway from our IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *v20231001s.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *storage.IstioIngressGateway) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24007,7 +24322,7 @@ func (gateway *IstioIngressGateway) Initialize_From_IstioIngressGateway_STATUS(s
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode(*source.Mode)
+ mode := genruntime.ToEnum(string(*source.Mode), istioIngressGateway_Mode_Values)
gateway.Mode = &mode
} else {
gateway.Mode = nil
@@ -24058,7 +24373,7 @@ func (gateway *IstioIngressGateway_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_IstioIngressGateway_STATUS populates our IstioIngressGateway_STATUS from the provided source IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *v20231001s.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *storage.IstioIngressGateway_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -24070,8 +24385,9 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode_STATUS(*source.Mode)
- gateway.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_STATUS_Values)
+ gateway.Mode = &modeTemp
} else {
gateway.Mode = nil
}
@@ -24081,7 +24397,7 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
}
// AssignProperties_To_IstioIngressGateway_STATUS populates the provided destination IstioIngressGateway_STATUS from our IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *v20231001s.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *storage.IstioIngressGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24218,7 +24534,7 @@ func (authority *IstioPluginCertificateAuthority) PopulateFromARM(owner genrunti
}
// AssignProperties_From_IstioPluginCertificateAuthority populates our IstioPluginCertificateAuthority from the provided source IstioPluginCertificateAuthority
-func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPluginCertificateAuthority(source *v20231001s.IstioPluginCertificateAuthority) error {
+func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPluginCertificateAuthority(source *storage.IstioPluginCertificateAuthority) error {
// CertChainObjectName
authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
@@ -24245,7 +24561,7 @@ func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPlu
}
// AssignProperties_To_IstioPluginCertificateAuthority populates the provided destination IstioPluginCertificateAuthority from our IstioPluginCertificateAuthority
-func (authority *IstioPluginCertificateAuthority) AssignProperties_To_IstioPluginCertificateAuthority(destination *v20231001s.IstioPluginCertificateAuthority) error {
+func (authority *IstioPluginCertificateAuthority) AssignProperties_To_IstioPluginCertificateAuthority(destination *storage.IstioPluginCertificateAuthority) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24374,7 +24690,7 @@ func (authority *IstioPluginCertificateAuthority_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_IstioPluginCertificateAuthority_STATUS populates our IstioPluginCertificateAuthority_STATUS from the provided source IstioPluginCertificateAuthority_STATUS
-func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source *v20231001s.IstioPluginCertificateAuthority_STATUS) error {
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source *storage.IstioPluginCertificateAuthority_STATUS) error {
// CertChainObjectName
authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
@@ -24396,7 +24712,7 @@ func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_I
}
// AssignProperties_To_IstioPluginCertificateAuthority_STATUS populates the provided destination IstioPluginCertificateAuthority_STATUS from our IstioPluginCertificateAuthority_STATUS
-func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_To_IstioPluginCertificateAuthority_STATUS(destination *v20231001s.IstioPluginCertificateAuthority_STATUS) error {
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_To_IstioPluginCertificateAuthority_STATUS(destination *storage.IstioPluginCertificateAuthority_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24462,7 +24778,7 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Error
if source.Error != nil {
@@ -24481,13 +24797,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20231001s.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if error.Error != nil {
- var errorLocal v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -24516,6 +24832,12 @@ const (
IstioIngressGateway_Mode_Internal = IstioIngressGateway_Mode("Internal")
)
+// Mapping from string to IstioIngressGateway_Mode
+var istioIngressGateway_Mode_Values = map[string]IstioIngressGateway_Mode{
+ "external": IstioIngressGateway_Mode_External,
+ "internal": IstioIngressGateway_Mode_Internal,
+}
+
type IstioIngressGateway_Mode_STATUS string
const (
@@ -24523,6 +24845,12 @@ const (
IstioIngressGateway_Mode_STATUS_Internal = IstioIngressGateway_Mode_STATUS("Internal")
)
+// Mapping from string to IstioIngressGateway_Mode_STATUS
+var istioIngressGateway_Mode_STATUS_Values = map[string]IstioIngressGateway_Mode_STATUS{
+ "external": IstioIngressGateway_Mode_STATUS_External,
+ "internal": IstioIngressGateway_Mode_STATUS_Internal,
+}
+
// An error response from the pod identity provisioning.
type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
// Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
@@ -24585,7 +24913,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) PopulateFromA
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Code
body.Code = genruntime.ClonePointerToString(source.Code)
@@ -24619,7 +24947,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24628,11 +24956,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -24709,7 +25037,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Code
unrolled.Code = genruntime.ClonePointerToString(source.Code)
@@ -24725,7 +25053,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20231001s.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_agent_pool_types_gen.go
index 13cf180cc0..6d9ab70632 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_agent_pool_types_gen.go
@@ -5,7 +5,7 @@ package v1api20231001
import (
"fmt"
- v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20231001s.ManagedClustersAgentPool)
+ source, ok := hub.(*storage.ManagedClustersAgentPool)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedClustersAgentPool but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20231001s.ManagedClustersAgentPool)
+ destination, ok := hub.(*storage.ManagedClustersAgentPool)
if !ok {
return fmt.Errorf("expected containerservice/v1api20231001/storage/ManagedClustersAgentPool but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (pool *ManagedClustersAgentPool) validateWriteOnceProperties(old runtime.Ob
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20231001s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20231001s.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20231001s.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20231001s.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -1150,14 +1150,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20231001s.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1174,14 +1174,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20231001s.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1197,7 +1197,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20231001s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -1270,8 +1270,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -1298,8 +1299,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -1327,8 +1329,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -1372,24 +1375,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -1432,24 +1438,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -1467,8 +1476,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- pool.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ pool.Type = &typeTemp
} else {
pool.Type = nil
}
@@ -1498,8 +1508,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -1509,7 +1520,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20231001s.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1532,7 +1543,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// CreationData
if pool.CreationData != nil {
- var creationDatum v20231001s.CreationData
+ var creationDatum storage.CreationData
err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -1600,7 +1611,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -1620,7 +1631,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -1649,7 +1660,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// NetworkProfile
if pool.NetworkProfile != nil {
- var networkProfile v20231001s.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
@@ -1729,7 +1740,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// PowerState
if pool.PowerState != nil {
- var powerState v20231001s.PowerState
+ var powerState storage.PowerState
err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -1792,7 +1803,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -1895,7 +1906,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
+ gpuInstanceProfile := genruntime.ToEnum(string(*source.GpuInstanceProfile), gPUInstanceProfile_Values)
pool.GpuInstanceProfile = &gpuInstanceProfile
} else {
pool.GpuInstanceProfile = nil
@@ -1915,7 +1926,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
+ kubeletDiskType := genruntime.ToEnum(string(*source.KubeletDiskType), kubeletDiskType_Values)
pool.KubeletDiskType = &kubeletDiskType
} else {
pool.KubeletDiskType = nil
@@ -1944,7 +1955,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
+ mode := genruntime.ToEnum(string(*source.Mode), agentPoolMode_Values)
pool.Mode = &mode
} else {
pool.Mode = nil
@@ -1981,7 +1992,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
+ osDiskType := genruntime.ToEnum(string(*source.OsDiskType), oSDiskType_Values)
pool.OsDiskType = &osDiskType
} else {
pool.OsDiskType = nil
@@ -1989,7 +2000,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
+ osSKU := genruntime.ToEnum(string(*source.OsSKU), oSSKU_Values)
pool.OsSKU = &osSKU
} else {
pool.OsSKU = nil
@@ -1997,7 +2008,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
+ osType := genruntime.ToEnum(string(*source.OsType), oSType_Values)
pool.OsType = &osType
} else {
pool.OsType = nil
@@ -2017,7 +2028,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
+ scaleDownMode := genruntime.ToEnum(string(*source.ScaleDownMode), scaleDownMode_Values)
pool.ScaleDownMode = &scaleDownMode
} else {
pool.ScaleDownMode = nil
@@ -2025,7 +2036,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
+ scaleSetEvictionPolicy := genruntime.ToEnum(string(*source.ScaleSetEvictionPolicy), scaleSetEvictionPolicy_Values)
pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
} else {
pool.ScaleSetEvictionPolicy = nil
@@ -2033,7 +2044,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
+ scaleSetPriority := genruntime.ToEnum(string(*source.ScaleSetPriority), scaleSetPriority_Values)
pool.ScaleSetPriority = &scaleSetPriority
} else {
pool.ScaleSetPriority = nil
@@ -2051,8 +2062,8 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
pool.Tags = genruntime.CloneMapOfStringToString(source.Tags)
// Type
- if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
+ if source.PropertiesType != nil {
+ typeVar := genruntime.ToEnum(string(*source.PropertiesType), agentPoolType_Values)
pool.Type = &typeVar
} else {
pool.Type = nil
@@ -2075,7 +2086,7 @@ func (pool *ManagedClusters_AgentPool_Spec) Initialize_From_ManagedClusters_Agen
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
+ workloadRuntime := genruntime.ToEnum(string(*source.WorkloadRuntime), workloadRuntime_Values)
pool.WorkloadRuntime = &workloadRuntime
} else {
pool.WorkloadRuntime = nil
@@ -2278,14 +2289,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20231001s.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20231001s.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2302,14 +2313,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20231001s.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20231001s.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -2782,7 +2793,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20231001s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// AvailabilityZones
pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
@@ -2853,8 +2864,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -2879,8 +2891,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -2908,8 +2921,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -2949,24 +2963,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -2988,8 +3005,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// PropertiesType
if source.PropertiesType != nil {
- propertiesType := AgentPoolType_STATUS(*source.PropertiesType)
- pool.PropertiesType = &propertiesType
+ propertiesType := *source.PropertiesType
+ propertiesTypeTemp := genruntime.ToEnum(propertiesType, agentPoolType_STATUS_Values)
+ pool.PropertiesType = &propertiesTypeTemp
} else {
pool.PropertiesType = nil
}
@@ -3002,24 +3020,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -3058,8 +3079,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -3069,7 +3091,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20231001s.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3087,7 +3109,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// CreationData
if pool.CreationData != nil {
- var creationDatum v20231001s.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -3156,7 +3178,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20231001s.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -3176,7 +3198,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20231001s.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -3208,7 +3230,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// NetworkProfile
if pool.NetworkProfile != nil {
- var networkProfile v20231001s.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -3265,7 +3287,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20231001s.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -3329,7 +3351,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20231001s.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -3374,6 +3396,12 @@ const (
AgentPoolMode_User = AgentPoolMode("User")
)
+// Mapping from string to AgentPoolMode
+var agentPoolMode_Values = map[string]AgentPoolMode{
+ "system": AgentPoolMode_System,
+ "user": AgentPoolMode_User,
+}
+
// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
type AgentPoolMode_STATUS string
@@ -3383,6 +3411,12 @@ const (
AgentPoolMode_STATUS_User = AgentPoolMode_STATUS("User")
)
+// Mapping from string to AgentPoolMode_STATUS
+var agentPoolMode_STATUS_Values = map[string]AgentPoolMode_STATUS{
+ "system": AgentPoolMode_STATUS_System,
+ "user": AgentPoolMode_STATUS_User,
+}
+
// Network settings of an agent pool.
type AgentPoolNetworkProfile struct {
// AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
@@ -3473,7 +3507,7 @@ func (profile *AgentPoolNetworkProfile) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_AgentPoolNetworkProfile populates our AgentPoolNetworkProfile from the provided source AgentPoolNetworkProfile
-func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *v20231001s.AgentPoolNetworkProfile) error {
+func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *storage.AgentPoolNetworkProfile) error {
// AllowedHostPorts
if source.AllowedHostPorts != nil {
@@ -3529,17 +3563,17 @@ func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkPr
}
// AssignProperties_To_AgentPoolNetworkProfile populates the provided destination AgentPoolNetworkProfile from our AgentPoolNetworkProfile
-func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *v20231001s.AgentPoolNetworkProfile) error {
+func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *storage.AgentPoolNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AllowedHostPorts
if profile.AllowedHostPorts != nil {
- allowedHostPortList := make([]v20231001s.PortRange, len(profile.AllowedHostPorts))
+ allowedHostPortList := make([]storage.PortRange, len(profile.AllowedHostPorts))
for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
// Shadow the loop variable to avoid aliasing
allowedHostPortItem := allowedHostPortItem
- var allowedHostPort v20231001s.PortRange
+ var allowedHostPort storage.PortRange
err := allowedHostPortItem.AssignProperties_To_PortRange(&allowedHostPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PortRange() to populate field AllowedHostPorts")
@@ -3566,11 +3600,11 @@ func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProf
// NodePublicIPTags
if profile.NodePublicIPTags != nil {
- nodePublicIPTagList := make([]v20231001s.IPTag, len(profile.NodePublicIPTags))
+ nodePublicIPTagList := make([]storage.IPTag, len(profile.NodePublicIPTags))
for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
// Shadow the loop variable to avoid aliasing
nodePublicIPTagItem := nodePublicIPTagItem
- var nodePublicIPTag v20231001s.IPTag
+ var nodePublicIPTag storage.IPTag
err := nodePublicIPTagItem.AssignProperties_To_IPTag(&nodePublicIPTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPTag() to populate field NodePublicIPTags")
@@ -3692,7 +3726,7 @@ func (profile *AgentPoolNetworkProfile_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_AgentPoolNetworkProfile_STATUS populates our AgentPoolNetworkProfile_STATUS from the provided source AgentPoolNetworkProfile_STATUS
-func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *v20231001s.AgentPoolNetworkProfile_STATUS) error {
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *storage.AgentPoolNetworkProfile_STATUS) error {
// AllowedHostPorts
if source.AllowedHostPorts != nil {
@@ -3738,17 +3772,17 @@ func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNe
}
// AssignProperties_To_AgentPoolNetworkProfile_STATUS populates the provided destination AgentPoolNetworkProfile_STATUS from our AgentPoolNetworkProfile_STATUS
-func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *v20231001s.AgentPoolNetworkProfile_STATUS) error {
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *storage.AgentPoolNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AllowedHostPorts
if profile.AllowedHostPorts != nil {
- allowedHostPortList := make([]v20231001s.PortRange_STATUS, len(profile.AllowedHostPorts))
+ allowedHostPortList := make([]storage.PortRange_STATUS, len(profile.AllowedHostPorts))
for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
// Shadow the loop variable to avoid aliasing
allowedHostPortItem := allowedHostPortItem
- var allowedHostPort v20231001s.PortRange_STATUS
+ var allowedHostPort storage.PortRange_STATUS
err := allowedHostPortItem.AssignProperties_To_PortRange_STATUS(&allowedHostPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PortRange_STATUS() to populate field AllowedHostPorts")
@@ -3765,11 +3799,11 @@ func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetw
// NodePublicIPTags
if profile.NodePublicIPTags != nil {
- nodePublicIPTagList := make([]v20231001s.IPTag_STATUS, len(profile.NodePublicIPTags))
+ nodePublicIPTagList := make([]storage.IPTag_STATUS, len(profile.NodePublicIPTags))
for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
// Shadow the loop variable to avoid aliasing
nodePublicIPTagItem := nodePublicIPTagItem
- var nodePublicIPTag v20231001s.IPTag_STATUS
+ var nodePublicIPTag storage.IPTag_STATUS
err := nodePublicIPTagItem.AssignProperties_To_IPTag_STATUS(&nodePublicIPTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPTag_STATUS() to populate field NodePublicIPTags")
@@ -3801,6 +3835,12 @@ const (
AgentPoolType_VirtualMachineScaleSets = AgentPoolType("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType
+var agentPoolType_Values = map[string]AgentPoolType{
+ "availabilityset": AgentPoolType_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_VirtualMachineScaleSets,
+}
+
// The type of Agent Pool.
type AgentPoolType_STATUS string
@@ -3809,6 +3849,12 @@ const (
AgentPoolType_STATUS_VirtualMachineScaleSets = AgentPoolType_STATUS("VirtualMachineScaleSets")
)
+// Mapping from string to AgentPoolType_STATUS
+var agentPoolType_STATUS_Values = map[string]AgentPoolType_STATUS{
+ "availabilityset": AgentPoolType_STATUS_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_STATUS_VirtualMachineScaleSets,
+}
+
// Settings for upgrading an agentpool
type AgentPoolUpgradeSettings struct {
// +kubebuilder:validation:Maximum=1440
@@ -3877,7 +3923,7 @@ func (settings *AgentPoolUpgradeSettings) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20231001s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// DrainTimeoutInMinutes
if source.DrainTimeoutInMinutes != nil {
@@ -3895,7 +3941,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20231001s.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3984,7 +4030,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20231001s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// DrainTimeoutInMinutes
settings.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(source.DrainTimeoutInMinutes)
@@ -3997,7 +4043,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20231001s.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4068,7 +4114,7 @@ func (data *CreationData) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
-func (data *CreationData) AssignProperties_From_CreationData(source *v20231001s.CreationData) error {
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
// SourceResourceReference
if source.SourceResourceReference != nil {
@@ -4083,7 +4129,7 @@ func (data *CreationData) AssignProperties_From_CreationData(source *v20231001s.
}
// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
-func (data *CreationData) AssignProperties_To_CreationData(destination *v20231001s.CreationData) error {
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4152,7 +4198,7 @@ func (data *CreationData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *v20231001s.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
// SourceResourceId
data.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
@@ -4162,7 +4208,7 @@ func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(sourc
}
// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *v20231001s.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4192,6 +4238,15 @@ const (
GPUInstanceProfile_MIG7G = GPUInstanceProfile("MIG7g")
)
+// Mapping from string to GPUInstanceProfile
+var gPUInstanceProfile_Values = map[string]GPUInstanceProfile{
+ "mig1g": GPUInstanceProfile_MIG1G,
+ "mig2g": GPUInstanceProfile_MIG2G,
+ "mig3g": GPUInstanceProfile_MIG3G,
+ "mig4g": GPUInstanceProfile_MIG4G,
+ "mig7g": GPUInstanceProfile_MIG7G,
+}
+
// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
type GPUInstanceProfile_STATUS string
@@ -4203,6 +4258,15 @@ const (
GPUInstanceProfile_STATUS_MIG7G = GPUInstanceProfile_STATUS("MIG7g")
)
+// Mapping from string to GPUInstanceProfile_STATUS
+var gPUInstanceProfile_STATUS_Values = map[string]GPUInstanceProfile_STATUS{
+ "mig1g": GPUInstanceProfile_STATUS_MIG1G,
+ "mig2g": GPUInstanceProfile_STATUS_MIG2G,
+ "mig3g": GPUInstanceProfile_STATUS_MIG3G,
+ "mig4g": GPUInstanceProfile_STATUS_MIG4G,
+ "mig7g": GPUInstanceProfile_STATUS_MIG7G,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type KubeletConfig struct {
// AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
@@ -4404,7 +4468,7 @@ func (config *KubeletConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20231001s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -4459,7 +4523,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202310
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20231001s.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4703,7 +4767,7 @@ func (config *KubeletConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20231001s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -4753,7 +4817,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20231001s.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4820,6 +4884,12 @@ const (
KubeletDiskType_Temporary = KubeletDiskType("Temporary")
)
+// Mapping from string to KubeletDiskType
+var kubeletDiskType_Values = map[string]KubeletDiskType{
+ "os": KubeletDiskType_OS,
+ "temporary": KubeletDiskType_Temporary,
+}
+
// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
type KubeletDiskType_STATUS string
@@ -4828,6 +4898,12 @@ const (
KubeletDiskType_STATUS_Temporary = KubeletDiskType_STATUS("Temporary")
)
+// Mapping from string to KubeletDiskType_STATUS
+var kubeletDiskType_STATUS_Values = map[string]KubeletDiskType_STATUS{
+ "os": KubeletDiskType_STATUS_OS,
+ "temporary": KubeletDiskType_STATUS_Temporary,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type LinuxOSConfig struct {
// SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
@@ -4932,7 +5008,7 @@ func (config *LinuxOSConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20231001s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -4960,7 +5036,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202310
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20231001s.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4969,7 +5045,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20231001s.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -5091,7 +5167,7 @@ func (config *LinuxOSConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20231001s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -5119,7 +5195,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20231001s.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5128,7 +5204,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20231001s.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -5166,6 +5242,12 @@ const (
OSDiskType_Managed = OSDiskType("Managed")
)
+// Mapping from string to OSDiskType
+var oSDiskType_Values = map[string]OSDiskType{
+ "ephemeral": OSDiskType_Ephemeral,
+ "managed": OSDiskType_Managed,
+}
+
// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
@@ -5176,6 +5258,12 @@ const (
OSDiskType_STATUS_Managed = OSDiskType_STATUS("Managed")
)
+// Mapping from string to OSDiskType_STATUS
+var oSDiskType_STATUS_Values = map[string]OSDiskType_STATUS{
+ "ephemeral": OSDiskType_STATUS_Ephemeral,
+ "managed": OSDiskType_STATUS_Managed,
+}
+
// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when
// Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
// +kubebuilder:validation:Enum={"AzureLinux","CBLMariner","Ubuntu","Windows2019","Windows2022"}
@@ -5189,6 +5277,15 @@ const (
OSSKU_Windows2022 = OSSKU("Windows2022")
)
+// Mapping from string to OSSKU
+var oSSKU_Values = map[string]OSSKU{
+ "azurelinux": OSSKU_AzureLinux,
+ "cblmariner": OSSKU_CBLMariner,
+ "ubuntu": OSSKU_Ubuntu,
+ "windows2019": OSSKU_Windows2019,
+ "windows2022": OSSKU_Windows2022,
+}
+
// Specifies the OS SKU used by the agent pool. The default is Ubuntu if OSType is Linux. The default is Windows2019 when
// Kubernetes <= 1.24 or Windows2022 when Kubernetes >= 1.25 if OSType is Windows.
type OSSKU_STATUS string
@@ -5201,6 +5298,15 @@ const (
OSSKU_STATUS_Windows2022 = OSSKU_STATUS("Windows2022")
)
+// Mapping from string to OSSKU_STATUS
+var oSSKU_STATUS_Values = map[string]OSSKU_STATUS{
+ "azurelinux": OSSKU_STATUS_AzureLinux,
+ "cblmariner": OSSKU_STATUS_CBLMariner,
+ "ubuntu": OSSKU_STATUS_Ubuntu,
+ "windows2019": OSSKU_STATUS_Windows2019,
+ "windows2022": OSSKU_STATUS_Windows2022,
+}
+
// The operating system type. The default is Linux.
// +kubebuilder:validation:Enum={"Linux","Windows"}
type OSType string
@@ -5210,6 +5316,12 @@ const (
OSType_Windows = OSType("Windows")
)
+// Mapping from string to OSType
+var oSType_Values = map[string]OSType{
+ "linux": OSType_Linux,
+ "windows": OSType_Windows,
+}
+
// The operating system type. The default is Linux.
type OSType_STATUS string
@@ -5218,6 +5330,12 @@ const (
OSType_STATUS_Windows = OSType_STATUS("Windows")
)
+// Mapping from string to OSType_STATUS
+var oSType_STATUS_Values = map[string]OSType_STATUS{
+ "linux": OSType_STATUS_Linux,
+ "windows": OSType_STATUS_Windows,
+}
+
// Describes the Power State of the cluster
type PowerState struct {
// Code: Tells whether the cluster is Running or Stopped
@@ -5264,12 +5382,13 @@ func (state *PowerState) PopulateFromARM(owner genruntime.ArbitraryOwnerReferenc
}
// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
-func (state *PowerState) AssignProperties_From_PowerState(source *v20231001s.PowerState) error {
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
// Code
if source.Code != nil {
- code := PowerState_Code(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -5279,7 +5398,7 @@ func (state *PowerState) AssignProperties_From_PowerState(source *v20231001s.Pow
}
// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
-func (state *PowerState) AssignProperties_To_PowerState(destination *v20231001s.PowerState) error {
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5307,7 +5426,7 @@ func (state *PowerState) Initialize_From_PowerState_STATUS(source *PowerState_ST
// Code
if source.Code != nil {
- code := PowerState_Code(*source.Code)
+ code := genruntime.ToEnum(string(*source.Code), powerState_Code_Values)
state.Code = &code
} else {
state.Code = nil
@@ -5327,6 +5446,12 @@ const (
ScaleDownMode_Delete = ScaleDownMode("Delete")
)
+// Mapping from string to ScaleDownMode
+var scaleDownMode_Values = map[string]ScaleDownMode{
+ "deallocate": ScaleDownMode_Deallocate,
+ "delete": ScaleDownMode_Delete,
+}
+
// Describes how VMs are added to or removed from Agent Pools. See [billing
// states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
type ScaleDownMode_STATUS string
@@ -5336,6 +5461,12 @@ const (
ScaleDownMode_STATUS_Delete = ScaleDownMode_STATUS("Delete")
)
+// Mapping from string to ScaleDownMode_STATUS
+var scaleDownMode_STATUS_Values = map[string]ScaleDownMode_STATUS{
+ "deallocate": ScaleDownMode_STATUS_Deallocate,
+ "delete": ScaleDownMode_STATUS_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
// +kubebuilder:validation:Enum={"Deallocate","Delete"}
@@ -5346,6 +5477,12 @@ const (
ScaleSetEvictionPolicy_Delete = ScaleSetEvictionPolicy("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy
+var scaleSetEvictionPolicy_Values = map[string]ScaleSetEvictionPolicy{
+ "deallocate": ScaleSetEvictionPolicy_Deallocate,
+ "delete": ScaleSetEvictionPolicy_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
type ScaleSetEvictionPolicy_STATUS string
@@ -5355,6 +5492,12 @@ const (
ScaleSetEvictionPolicy_STATUS_Delete = ScaleSetEvictionPolicy_STATUS("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy_STATUS
+var scaleSetEvictionPolicy_STATUS_Values = map[string]ScaleSetEvictionPolicy_STATUS{
+ "deallocate": ScaleSetEvictionPolicy_STATUS_Deallocate,
+ "delete": ScaleSetEvictionPolicy_STATUS_Delete,
+}
+
// The Virtual Machine Scale Set priority.
// +kubebuilder:validation:Enum={"Regular","Spot"}
type ScaleSetPriority string
@@ -5364,6 +5507,12 @@ const (
ScaleSetPriority_Spot = ScaleSetPriority("Spot")
)
+// Mapping from string to ScaleSetPriority
+var scaleSetPriority_Values = map[string]ScaleSetPriority{
+ "regular": ScaleSetPriority_Regular,
+ "spot": ScaleSetPriority_Spot,
+}
+
// The Virtual Machine Scale Set priority.
type ScaleSetPriority_STATUS string
@@ -5372,6 +5521,12 @@ const (
ScaleSetPriority_STATUS_Spot = ScaleSetPriority_STATUS("Spot")
)
+// Mapping from string to ScaleSetPriority_STATUS
+var scaleSetPriority_STATUS_Values = map[string]ScaleSetPriority_STATUS{
+ "regular": ScaleSetPriority_STATUS_Regular,
+ "spot": ScaleSetPriority_STATUS_Spot,
+}
+
// Determines the type of workload a node can run.
// +kubebuilder:validation:Enum={"OCIContainer","WasmWasi"}
type WorkloadRuntime string
@@ -5381,6 +5536,12 @@ const (
WorkloadRuntime_WasmWasi = WorkloadRuntime("WasmWasi")
)
+// Mapping from string to WorkloadRuntime
+var workloadRuntime_Values = map[string]WorkloadRuntime{
+ "ocicontainer": WorkloadRuntime_OCIContainer,
+ "wasmwasi": WorkloadRuntime_WasmWasi,
+}
+
// Determines the type of workload a node can run.
type WorkloadRuntime_STATUS string
@@ -5389,6 +5550,12 @@ const (
WorkloadRuntime_STATUS_WasmWasi = WorkloadRuntime_STATUS("WasmWasi")
)
+// Mapping from string to WorkloadRuntime_STATUS
+var workloadRuntime_STATUS_Values = map[string]WorkloadRuntime_STATUS{
+ "ocicontainer": WorkloadRuntime_STATUS_OCIContainer,
+ "wasmwasi": WorkloadRuntime_STATUS_WasmWasi,
+}
+
// Contains the IPTag associated with the object.
type IPTag struct {
// IpTagType: The IP tag type. Example: RoutingPreference.
@@ -5450,7 +5617,7 @@ func (ipTag *IPTag) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_IPTag populates our IPTag from the provided source IPTag
-func (ipTag *IPTag) AssignProperties_From_IPTag(source *v20231001s.IPTag) error {
+func (ipTag *IPTag) AssignProperties_From_IPTag(source *storage.IPTag) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -5463,7 +5630,7 @@ func (ipTag *IPTag) AssignProperties_From_IPTag(source *v20231001s.IPTag) error
}
// AssignProperties_To_IPTag populates the provided destination IPTag from our IPTag
-func (ipTag *IPTag) AssignProperties_To_IPTag(destination *v20231001s.IPTag) error {
+func (ipTag *IPTag) AssignProperties_To_IPTag(destination *storage.IPTag) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5537,7 +5704,7 @@ func (ipTag *IPTag_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_IPTag_STATUS populates our IPTag_STATUS from the provided source IPTag_STATUS
-func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *v20231001s.IPTag_STATUS) error {
+func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *storage.IPTag_STATUS) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -5550,7 +5717,7 @@ func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *v20231001s
}
// AssignProperties_To_IPTag_STATUS populates the provided destination IPTag_STATUS from our IPTag_STATUS
-func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *v20231001s.IPTag_STATUS) error {
+func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *storage.IPTag_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5653,7 +5820,7 @@ func (portRange *PortRange) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_PortRange populates our PortRange from the provided source PortRange
-func (portRange *PortRange) AssignProperties_From_PortRange(source *v20231001s.PortRange) error {
+func (portRange *PortRange) AssignProperties_From_PortRange(source *storage.PortRange) error {
// PortEnd
if source.PortEnd != nil {
@@ -5673,8 +5840,9 @@ func (portRange *PortRange) AssignProperties_From_PortRange(source *v20231001s.P
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol(*source.Protocol)
- portRange.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_Values)
+ portRange.Protocol = &protocolTemp
} else {
portRange.Protocol = nil
}
@@ -5684,7 +5852,7 @@ func (portRange *PortRange) AssignProperties_From_PortRange(source *v20231001s.P
}
// AssignProperties_To_PortRange populates the provided destination PortRange from our PortRange
-func (portRange *PortRange) AssignProperties_To_PortRange(destination *v20231001s.PortRange) error {
+func (portRange *PortRange) AssignProperties_To_PortRange(destination *storage.PortRange) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5744,7 +5912,7 @@ func (portRange *PortRange) Initialize_From_PortRange_STATUS(source *PortRange_S
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), portRange_Protocol_Values)
portRange.Protocol = &protocol
} else {
portRange.Protocol = nil
@@ -5805,7 +5973,7 @@ func (portRange *PortRange_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_PortRange_STATUS populates our PortRange_STATUS from the provided source PortRange_STATUS
-func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *v20231001s.PortRange_STATUS) error {
+func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *storage.PortRange_STATUS) error {
// PortEnd
portRange.PortEnd = genruntime.ClonePointerToInt(source.PortEnd)
@@ -5815,8 +5983,9 @@ func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol_STATUS(*source.Protocol)
- portRange.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_STATUS_Values)
+ portRange.Protocol = &protocolTemp
} else {
portRange.Protocol = nil
}
@@ -5826,7 +5995,7 @@ func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source
}
// AssignProperties_To_PortRange_STATUS populates the provided destination PortRange_STATUS from our PortRange_STATUS
-func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *v20231001s.PortRange_STATUS) error {
+func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *storage.PortRange_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5863,6 +6032,12 @@ const (
PowerState_Code_Stopped = PowerState_Code("Stopped")
)
+// Mapping from string to PowerState_Code
+var powerState_Code_Values = map[string]PowerState_Code{
+ "running": PowerState_Code_Running,
+ "stopped": PowerState_Code_Stopped,
+}
+
// Sysctl settings for Linux agent nodes.
type SysctlConfig struct {
// FsAioMaxNr: Sysctl setting fs.aio-max-nr.
@@ -6320,7 +6495,7 @@ func (config *SysctlConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20231001s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -6431,7 +6606,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20231001
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20231001s.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6935,7 +7110,7 @@ func (config *SysctlConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20231001s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -7031,7 +7206,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20231001s.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7143,6 +7318,12 @@ const (
PortRange_Protocol_UDP = PortRange_Protocol("UDP")
)
+// Mapping from string to PortRange_Protocol
+var portRange_Protocol_Values = map[string]PortRange_Protocol{
+ "tcp": PortRange_Protocol_TCP,
+ "udp": PortRange_Protocol_UDP,
+}
+
type PortRange_Protocol_STATUS string
const (
@@ -7150,6 +7331,12 @@ const (
PortRange_Protocol_STATUS_UDP = PortRange_Protocol_STATUS("UDP")
)
+// Mapping from string to PortRange_Protocol_STATUS
+var portRange_Protocol_STATUS_Values = map[string]PortRange_Protocol_STATUS{
+ "tcp": PortRange_Protocol_STATUS_TCP,
+ "udp": PortRange_Protocol_STATUS_UDP,
+}
+
func init() {
SchemeBuilder.Register(&ManagedClustersAgentPool{}, &ManagedClustersAgentPoolList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_trusted_access_role_binding_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_trusted_access_role_binding_spec_arm_types_gen.go
new file mode 100644
index 0000000000..d141ae7f8b
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_trusted_access_role_binding_spec_arm_types_gen.go
@@ -0,0 +1,38 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20231001
+
+import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+
+type ManagedClusters_TrustedAccessRoleBinding_Spec_ARM struct {
+ Name string `json:"name,omitempty"`
+
+ // Properties: Properties for trusted access role binding
+ Properties *TrustedAccessRoleBindingProperties_ARM `json:"properties,omitempty"`
+}
+
+var _ genruntime.ARMResourceSpec = &ManagedClusters_TrustedAccessRoleBinding_Spec_ARM{}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2023-10-01"
+func (binding ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetName returns the Name of the resource
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) GetName() string {
+ return binding.Name
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+}
+
+// Properties for trusted access role binding
+type TrustedAccessRoleBindingProperties_ARM struct {
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles"`
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
new file mode 100644
index 0000000000..52f7b694c6
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
@@ -0,0 +1,54 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20231001
+
+type ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM struct {
+ // Id: Fully qualified resource ID for the resource. E.g.
+ // "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the resource
+ Name *string `json:"name,omitempty"`
+
+ // Properties: Properties for trusted access role binding
+ Properties *TrustedAccessRoleBindingProperties_STATUS_ARM `json:"properties,omitempty"`
+
+ // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`
+
+ // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string `json:"type,omitempty"`
+}
+
+// Properties for trusted access role binding
+type TrustedAccessRoleBindingProperties_STATUS_ARM struct {
+ // ProvisioningState: The current provisioning state of trusted access role binding.
+ ProvisioningState *TrustedAccessRoleBindingProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
+
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles"`
+
+ // SourceResourceId: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
+
+type TrustedAccessRoleBindingProperties_ProvisioningState_STATUS string
+
+const (
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Canceled = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Canceled")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Deleting = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Deleting")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Failed = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Failed")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Succeeded = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Succeeded")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Updating = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Updating")
+)
+
+// Mapping from string to TrustedAccessRoleBindingProperties_ProvisioningState_STATUS
+var trustedAccessRoleBindingProperties_ProvisioningState_STATUS_Values = map[string]TrustedAccessRoleBindingProperties_ProvisioningState_STATUS{
+ "canceled": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Canceled,
+ "deleting": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Deleting,
+ "failed": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Failed,
+ "succeeded": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Succeeded,
+ "updating": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Updating,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/managed_cluster_types_gen.go
index e1160a1d1b..9348478aa4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/managed_cluster_types_gen.go
@@ -61,6 +61,13 @@ func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ ge
}
}
}
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.Identity != nil {
+ if cluster.Status.Identity.PrincipalId != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.PrincipalId, *cluster.Status.Identity.PrincipalId)
+ }
+ }
+ }
result, err := collector.Values()
if err != nil {
return nil, err
@@ -821,18 +828,17 @@ type ManagedClusterStorageProfile_STATUS struct {
// Storage version of v1api20231001.ManagedClusterWindowsProfile
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
- AdminUsername *string `json:"adminUsername,omitempty"`
- EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
- GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
- LicenseType *string `json:"licenseType,omitempty"`
- PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
// Storage version of v1api20231001.ManagedClusterWindowsProfile_STATUS
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
AdminUsername *string `json:"adminUsername,omitempty"`
EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
GmsaProfile *WindowsGmsaProfile_STATUS `json:"gmsaProfile,omitempty"`
@@ -1089,6 +1095,7 @@ type ManagedClusterNATGatewayProfile_STATUS struct {
// Storage version of v1api20231001.ManagedClusterOperatorConfigMaps
type ManagedClusterOperatorConfigMaps struct {
OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/structure.txt
index c492fe0c00..b6e937e515 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/structure.txt
@@ -1,841 +1,434 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage
-├── APIVersion: Enum (1 value)
-│ └── "2023-10-01"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (41 properties)
-│ │ ├── AadProfile: *Object (8 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AgentPoolProfiles: Object (42 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *string
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *string
-│ │ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (4 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Protocol: *string
-│ │ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
-│ │ │ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ │ │ ├── IpTagType: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Tag: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *string
-│ │ │ ├── OsSKU: *string
-│ │ │ ├── OsType: *string
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (2 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *string
-│ │ │ ├── ScaleSetPriority: *string
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *string
-│ │ │ ├── UpgradeSettings: *Object (3 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ └── WorkloadRuntime: *string
-│ │ ├── ApiServerAccessProfile: *Object (6 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AutoScalerProfile: *Object (18 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *string
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (3 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UpgradeChannel: *string
-│ │ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ │ ├── Metrics: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AzureName: string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── DelegatedResources: map[string]Object (5 properties)
-│ │ │ │ ├── Location: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── ReferralResource: *string
-│ │ │ │ ├── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── TenantId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Type: *string
-│ │ │ └── UserAssignedIdentities: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (3 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Ssh: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PublicKeys: Object (2 properties)[]
-│ │ │ ├── KeyData: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (16 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── IpFamilies: string[]
-│ │ │ ├── LoadBalancerProfile: *Object (9 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *string
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ ├── CountIPv6: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerSku: *string
-│ │ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NetworkDataplane: *string
-│ │ │ ├── NetworkMode: *string
-│ │ │ ├── NetworkPlugin: *string
-│ │ │ ├── NetworkPluginMode: *string
-│ │ │ ├── NetworkPolicy: *string
-│ │ │ ├── OutboundType: *string
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── OperatorSpec: *Object (3 properties)
-│ │ │ ├── ConfigMaps: *Object (2 properties)
-│ │ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secrets: *Object (3 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (5 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── UserAssignedIdentities: Object (5 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PodLabels: map[string]string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
+-------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-10-01"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (41 properties)
+│ ├── AadProfile: *Object (8 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicNetworkAccess: *string
-│ │ ├── SecurityProfile: *Object (5 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Defender: *Object (3 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IntervalHours: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AgentPoolProfiles: Object (42 properties)[]
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceMeshProfile: *Object (3 properties)
-│ │ │ ├── Istio: *Object (4 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (2 properties)
-│ │ │ │ │ ├── Plugin: *Object (6 properties)
-│ │ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Components: *Object (3 properties)
-│ │ │ │ │ ├── EgressGateways: Object (3 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ ├── NodeSelector: map[string]string
-│ │ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ ├── Mode: *string
-│ │ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GpuInstanceProfile: *string
+│ │ ├── HostGroupReference: *genruntime.ResourceReference
+│ │ ├── KubeletConfig: *Object (12 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *string
+│ │ ├── LinuxOSConfig: *Object (5 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (29 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Revisions: string[]
-│ │ │ ├── Mode: *string
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *string
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (4 properties)
+│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Protocol: *string
+│ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ │ ├── NodePublicIPTags: Object (3 properties)[]
+│ │ │ │ ├── IpTagType: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Tag: *string
│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServicePrincipalProfile: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── StorageProfile: *Object (5 properties)
-│ │ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SnapshotController: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── SupportPlan: *string
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *int
+│ │ ├── OsDiskType: *string
+│ │ ├── OsSKU: *string
+│ │ ├── OsType: *string
+│ │ ├── PodSubnetReference: *genruntime.ResourceReference
+│ │ ├── PowerState: *Object (2 properties)
+│ │ │ ├── Code: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ │ ├── ScaleDownMode: *string
+│ │ ├── ScaleSetEvictionPolicy: *string
+│ │ ├── ScaleSetPriority: *string
+│ │ ├── SpotMaxPrice: *float64
│ │ ├── Tags: map[string]string
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── OverrideSettings: *Object (3 properties)
-│ │ │ │ ├── ForceUpgrade: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Until: *string
+│ │ ├── Type: *string
+│ │ ├── UpgradeSettings: *Object (3 properties)
+│ │ │ ├── DrainTimeoutInMinutes: *int
+│ │ │ ├── MaxSurge: *string
│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── WindowsProfile: *Object (6 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── RootDomainName: *string
-│ │ │ ├── LicenseType: *string
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ │ └── WorkloadRuntime: *string
+│ ├── ApiServerAccessProfile: *Object (6 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AutoScalerProfile: *Object (18 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *string
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (3 properties)
+│ │ ├── NodeOSUpgradeChannel: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UpgradeChannel: *string
+│ ├── AzureMonitorProfile: *Object (2 properties)
+│ │ ├── Metrics: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KubeStateMetrics: *Object (3 properties)
+│ │ │ │ ├── MetricAnnotationsAllowList: *string
+│ │ │ │ ├── MetricLabelsAllowlist: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadAutoScalerProfile: *Object (3 properties)
-│ │ ├── Keda: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (4 properties)
+│ │ ├── DelegatedResources: map[string]Object (5 properties)
+│ │ │ ├── Location: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── ReferralResource: *string
+│ │ │ ├── ResourceReference: *genruntime.ResourceReference
+│ │ │ └── TenantId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── VerticalPodAutoscaler: *Object (2 properties)
-│ │ ├── Enabled: *bool
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (4 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (3 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Ssh: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicKeys: Object (2 properties)[]
+│ │ ├── KeyData: *string
│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (50 properties)
-│ ├── AadProfile: *Object (8 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (4 properties)
-│ │ ├── Config: map[string]string
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (16 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: string[]
+│ │ ├── LoadBalancerProfile: *Object (9 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *string
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ ├── CountIPv6: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── OutboundIPs: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerSku: *string
+│ │ ├── NatGatewayProfile: *Object (4 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NetworkDataplane: *string
+│ │ ├── NetworkMode: *string
+│ │ ├── NetworkPlugin: *string
+│ │ ├── NetworkPluginMode: *string
+│ │ ├── NetworkPolicy: *string
+│ │ ├── OutboundType: *string
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OperatorSpec: *Object (3 properties)
+│ │ ├── ConfigMaps: *Object (3 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ ├── PrincipalId: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secrets: *Object (3 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (5 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── UserAssignedIdentities: Object (5 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (4 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ ├── PodLabels: map[string]string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicNetworkAccess: *string
+│ ├── SecurityProfile: *Object (5 properties)
+│ │ ├── AzureKeyVaultKms: *Object (5 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *string
+│ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── Defender: *Object (3 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SecurityMonitoring: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageCleaner: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IntervalHours: *int
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WorkloadIdentity: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServiceMeshProfile: *Object (3 properties)
+│ │ ├── Istio: *Object (4 properties)
+│ │ │ ├── CertificateAuthority: *Object (2 properties)
+│ │ │ │ ├── Plugin: *Object (6 properties)
+│ │ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ │ ├── CertObjectName: *string
+│ │ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
+│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ │ └── RootCertObjectName: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── Components: *Object (3 properties)
+│ │ │ │ ├── EgressGateways: Object (3 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ ├── NodeSelector: map[string]string
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── IngressGateways: Object (3 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ ├── Mode: *string
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Revisions: string[]
+│ │ ├── Mode: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServicePrincipalProfile: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── StorageProfile: *Object (5 properties)
+│ │ ├── BlobCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── FileCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SnapshotController: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── SupportPlan: *string
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── OverrideSettings: *Object (3 properties)
+│ │ │ ├── ForceUpgrade: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Until: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── WindowsProfile: *Object (6 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (4 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── RootDomainName: *string
+│ │ ├── LicenseType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadAutoScalerProfile: *Object (3 properties)
+│ ├── Keda: *Object (2 properties)
│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AgentPoolProfiles: Object (45 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── CapacityReservationGroupID: *string
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *string
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *string
-│ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *string
-│ │ ├── Name: *string
-│ │ ├── NetworkProfile: *Object (4 properties)
-│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ │ ├── PortEnd: *int
-│ │ │ │ ├── PortStart: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Protocol: *string
-│ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Tag: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *string
-│ │ ├── OsSKU: *string
-│ │ ├── OsType: *string
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (2 properties)
-│ │ │ ├── Code: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *string
-│ │ ├── ScaleSetEvictionPolicy: *string
-│ │ ├── ScaleSetPriority: *string
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *string
-│ │ ├── UpgradeSettings: *Object (3 properties)
-│ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ ├── MaxSurge: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ └── WorkloadRuntime: *string
-│ ├── ApiServerAccessProfile: *Object (6 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AutoScalerProfile: *Object (18 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *string
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (3 properties)
-│ │ ├── NodeOSUpgradeChannel: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── UpgradeChannel: *string
-│ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ ├── Metrics: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (5 properties)
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (6 properties)
-│ │ ├── DelegatedResources: map[string]Object (5 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── PrincipalId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── TenantId: *string
-│ │ ├── Type: *string
-│ │ └── UserAssignedIdentities: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── PrincipalId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (3 properties)
-│ │ ├── AdminUsername: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Ssh: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── PublicKeys: Object (2 properties)[]
-│ │ ├── KeyData: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (16 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── IpFamilies: string[]
-│ │ ├── LoadBalancerProfile: *Object (9 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendPoolType: *string
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ ├── CountIPv6: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerSku: *string
-│ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NetworkDataplane: *string
-│ │ ├── NetworkMode: *string
-│ │ ├── NetworkPlugin: *string
-│ │ ├── NetworkPluginMode: *string
-│ │ ├── NetworkPolicy: *string
-│ │ ├── OutboundType: *string
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeResourceGroup: *string
-│ ├── OidcIssuerProfile: *Object (3 properties)
-│ │ ├── Enabled: *bool
-│ │ ├── IssuerURL: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PodIdentityProfile: *Object (5 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── UserAssignedIdentities: Object (7 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProvisioningInfo: *Object (2 properties)
-│ │ │ │ ├── Error: *Object (2 properties)
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ProvisioningState: *string
-│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ ├── PodLabels: map[string]string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (7 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *string
-│ ├── ResourceUID: *string
-│ ├── SecurityProfile: *Object (5 properties)
-│ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ ├── KeyVaultResourceId: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Defender: *Object (3 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IntervalHours: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServiceMeshProfile: *Object (3 properties)
-│ │ ├── Istio: *Object (4 properties)
-│ │ │ ├── CertificateAuthority: *Object (2 properties)
-│ │ │ │ ├── Plugin: *Object (6 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Components: *Object (3 properties)
-│ │ │ │ ├── EgressGateways: Object (3 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ ├── NodeSelector: map[string]string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ ├── Mode: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Revisions: string[]
-│ │ ├── Mode: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── StorageProfile: *Object (5 properties)
-│ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SnapshotController: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SupportPlan: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── OverrideSettings: *Object (3 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Until: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── WindowsProfile: *Object (6 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RootDomainName: *string
-│ │ ├── LicenseType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── WorkloadAutoScalerProfile: *Object (3 properties)
-│ ├── Keda: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ └── VerticalPodAutoscaler: *Object (2 properties)
-│ ├── Enabled: *bool
-│ └── PropertyBag: genruntime.PropertyBag
-└── ManagedClustersAgentPool: Resource
- ├── Owner: containerservice/v1api20231001.ManagedCluster
- ├── Spec: Object (44 properties)
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── Enabled: *bool
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (50 properties)
+ ├── AadProfile: *Object (8 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (4 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AgentPoolProfiles: Object (45 properties)[]
│ ├── AvailabilityZones: string[]
- │ ├── AzureName: string
- │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+ │ ├── CapacityReservationGroupID: *string
│ ├── Count: *int
│ ├── CreationData: *Object (2 properties)
│ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── SourceResourceReference: *genruntime.ResourceReference
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
│ ├── EnableAutoScaling: *bool
│ ├── EnableEncryptionAtHost: *bool
│ ├── EnableFIPS: *bool
│ ├── EnableNodePublicIP: *bool
│ ├── EnableUltraSSD: *bool
│ ├── GpuInstanceProfile: *string
- │ ├── HostGroupReference: *genruntime.ResourceReference
+ │ ├── HostGroupID: *string
│ ├── KubeletConfig: *Object (12 properties)
│ │ ├── AllowedUnsafeSysctls: string[]
│ │ ├── ContainerLogMaxFiles: *int
@@ -889,34 +482,35 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/st
│ ├── MaxPods: *int
│ ├── MinCount: *int
│ ├── Mode: *string
+ │ ├── Name: *string
│ ├── NetworkProfile: *Object (4 properties)
│ │ ├── AllowedHostPorts: Object (4 properties)[]
│ │ │ ├── PortEnd: *int
│ │ │ ├── PortStart: *int
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Protocol: *string
- │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+ │ │ ├── ApplicationSecurityGroups: string[]
│ │ ├── NodePublicIPTags: Object (3 properties)[]
│ │ │ ├── IpTagType: *string
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Tag: *string
│ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeImageVersion: *string
│ ├── NodeLabels: map[string]string
- │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+ │ ├── NodePublicIPPrefixID: *string
│ ├── NodeTaints: string[]
│ ├── OrchestratorVersion: *string
- │ ├── OriginalVersion: string
│ ├── OsDiskSizeGB: *int
│ ├── OsDiskType: *string
│ ├── OsSKU: *string
│ ├── OsType: *string
- │ ├── Owner: *genruntime.KnownResourceReference
- │ ├── PodSubnetReference: *genruntime.ResourceReference
+ │ ├── PodSubnetID: *string
│ ├── PowerState: *Object (2 properties)
│ │ ├── Code: *string
│ │ └── PropertyBag: genruntime.PropertyBag
│ ├── PropertyBag: genruntime.PropertyBag
- │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
│ ├── ScaleDownMode: *string
│ ├── ScaleSetEvictionPolicy: *string
│ ├── ScaleSetPriority: *string
@@ -928,118 +522,551 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/st
│ │ ├── MaxSurge: *string
│ │ └── PropertyBag: genruntime.PropertyBag
│ ├── VmSize: *string
- │ ├── VnetSubnetReference: *genruntime.ResourceReference
+ │ ├── VnetSubnetID: *string
│ └── WorkloadRuntime: *string
- └── Status: Object (48 properties)
- ├── AvailabilityZones: string[]
- ├── CapacityReservationGroupID: *string
- ├── Conditions: conditions.Condition[]
- ├── Count: *int
- ├── CreationData: *Object (2 properties)
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── SourceResourceId: *string
- ├── CurrentOrchestratorVersion: *string
- ├── EnableAutoScaling: *bool
- ├── EnableEncryptionAtHost: *bool
- ├── EnableFIPS: *bool
- ├── EnableNodePublicIP: *bool
- ├── EnableUltraSSD: *bool
- ├── GpuInstanceProfile: *string
- ├── HostGroupID: *string
- ├── Id: *string
- ├── KubeletConfig: *Object (12 properties)
- │ ├── AllowedUnsafeSysctls: string[]
- │ ├── ContainerLogMaxFiles: *int
- │ ├── ContainerLogMaxSizeMB: *int
- │ ├── CpuCfsQuota: *bool
- │ ├── CpuCfsQuotaPeriod: *string
- │ ├── CpuManagerPolicy: *string
- │ ├── FailSwapOn: *bool
- │ ├── ImageGcHighThreshold: *int
- │ ├── ImageGcLowThreshold: *int
- │ ├── PodMaxPids: *int
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── TopologyManagerPolicy: *string
- ├── KubeletDiskType: *string
- ├── LinuxOSConfig: *Object (5 properties)
- │ ├── PropertyBag: genruntime.PropertyBag
- │ ├── SwapFileSizeMB: *int
- │ ├── Sysctls: *Object (29 properties)
- │ │ ├── FsAioMaxNr: *int
- │ │ ├── FsFileMax: *int
- │ │ ├── FsInotifyMaxUserWatches: *int
- │ │ ├── FsNrOpen: *int
- │ │ ├── KernelThreadsMax: *int
- │ │ ├── NetCoreNetdevMaxBacklog: *int
- │ │ ├── NetCoreOptmemMax: *int
- │ │ ├── NetCoreRmemDefault: *int
- │ │ ├── NetCoreRmemMax: *int
- │ │ ├── NetCoreSomaxconn: *int
- │ │ ├── NetCoreWmemDefault: *int
- │ │ ├── NetCoreWmemMax: *int
- │ │ ├── NetIpv4IpLocalPortRange: *string
- │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
- │ │ ├── NetIpv4TcpFinTimeout: *int
- │ │ ├── NetIpv4TcpKeepaliveProbes: *int
- │ │ ├── NetIpv4TcpKeepaliveTime: *int
- │ │ ├── NetIpv4TcpMaxSynBacklog: *int
- │ │ ├── NetIpv4TcpMaxTwBuckets: *int
- │ │ ├── NetIpv4TcpTwReuse: *bool
- │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
- │ │ ├── NetNetfilterNfConntrackBuckets: *int
- │ │ ├── NetNetfilterNfConntrackMax: *int
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ ├── VmMaxMapCount: *int
- │ │ ├── VmSwappiness: *int
- │ │ └── VmVfsCachePressure: *int
- │ ├── TransparentHugePageDefrag: *string
- │ └── TransparentHugePageEnabled: *string
- ├── MaxCount: *int
- ├── MaxPods: *int
- ├── MinCount: *int
- ├── Mode: *string
- ├── Name: *string
- ├── NetworkProfile: *Object (4 properties)
- │ ├── AllowedHostPorts: Object (4 properties)[]
- │ │ ├── PortEnd: *int
- │ │ ├── PortStart: *int
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Protocol: *string
- │ ├── ApplicationSecurityGroups: string[]
- │ ├── NodePublicIPTags: Object (3 properties)[]
- │ │ ├── IpTagType: *string
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Tag: *string
+ ├── ApiServerAccessProfile: *Object (6 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── PrivateDNSZone: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AutoScalerProfile: *Object (18 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *string
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (3 properties)
+ │ ├── NodeOSUpgradeChannel: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UpgradeChannel: *string
+ ├── AzureMonitorProfile: *Object (2 properties)
+ │ ├── Metrics: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KubeStateMetrics: *Object (3 properties)
+ │ │ │ ├── MetricAnnotationsAllowList: *string
+ │ │ │ ├── MetricLabelsAllowlist: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (5 properties)
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (6 properties)
+ │ ├── DelegatedResources: map[string]Object (5 properties)
+ │ │ ├── Location: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ReferralResource: *string
+ │ │ ├── ResourceId: *string
+ │ │ └── TenantId: *string
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IdentityProfile: map[string]Object (4 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (3 properties)
+ │ ├── AdminUsername: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Ssh: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicKeys: Object (2 properties)[]
+ │ ├── KeyData: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (16 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── IpFamilies: string[]
+ │ ├── LoadBalancerProfile: *Object (9 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *string
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ ├── CountIPv6: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPs: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerSku: *string
+ │ ├── NatGatewayProfile: *Object (4 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NetworkDataplane: *string
+ │ ├── NetworkMode: *string
+ │ ├── NetworkPlugin: *string
+ │ ├── NetworkPluginMode: *string
+ │ ├── NetworkPolicy: *string
+ │ ├── OutboundType: *string
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeResourceGroup: *string
+ ├── OidcIssuerProfile: *Object (3 properties)
+ │ ├── Enabled: *bool
+ │ ├── IssuerURL: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PodIdentityProfile: *Object (5 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── UserAssignedIdentities: Object (7 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (4 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningInfo: *Object (2 properties)
+ │ │ │ ├── Error: *Object (2 properties)
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── ProvisioningState: *string
+ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ ├── PodLabels: map[string]string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (7 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *string
+ ├── ResourceUID: *string
+ ├── SecurityProfile: *Object (5 properties)
+ │ ├── AzureKeyVaultKms: *Object (5 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *string
+ │ │ ├── KeyVaultResourceId: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Defender: *Object (3 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SecurityMonitoring: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageCleaner: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IntervalHours: *int
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadIdentity: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceMeshProfile: *Object (3 properties)
+ │ ├── Istio: *Object (4 properties)
+ │ │ ├── CertificateAuthority: *Object (2 properties)
+ │ │ │ ├── Plugin: *Object (6 properties)
+ │ │ │ │ ├── CertChainObjectName: *string
+ │ │ │ │ ├── CertObjectName: *string
+ │ │ │ │ ├── KeyObjectName: *string
+ │ │ │ │ ├── KeyVaultId: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── RootCertObjectName: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Components: *Object (3 properties)
+ │ │ │ ├── EgressGateways: Object (3 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ ├── NodeSelector: map[string]string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── IngressGateways: Object (3 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ ├── Mode: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Revisions: string[]
+ │ ├── Mode: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServicePrincipalProfile: *Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── StorageProfile: *Object (5 properties)
+ │ ├── BlobCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── DiskCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── FileCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SnapshotController: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SupportPlan: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── OverrideSettings: *Object (3 properties)
+ │ │ ├── ForceUpgrade: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Until: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── WindowsProfile: *Object (5 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (4 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── RootDomainName: *string
+ │ ├── LicenseType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadAutoScalerProfile: *Object (3 properties)
+ ├── Keda: *Object (2 properties)
+ │ ├── Enabled: *bool
│ └── PropertyBag: genruntime.PropertyBag
- ├── NodeImageVersion: *string
- ├── NodeLabels: map[string]string
- ├── NodePublicIPPrefixID: *string
- ├── NodeTaints: string[]
- ├── OrchestratorVersion: *string
- ├── OsDiskSizeGB: *int
- ├── OsDiskType: *string
- ├── OsSKU: *string
- ├── OsType: *string
- ├── PodSubnetID: *string
- ├── PowerState: *Object (2 properties)
- │ ├── Code: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── PropertiesType: *string
├── PropertyBag: genruntime.PropertyBag
- ├── ProvisioningState: *string
- ├── ProximityPlacementGroupID: *string
- ├── ScaleDownMode: *string
- ├── ScaleSetEvictionPolicy: *string
- ├── ScaleSetPriority: *string
- ├── SpotMaxPrice: *float64
- ├── Tags: map[string]string
- ├── Type: *string
- ├── UpgradeSettings: *Object (3 properties)
- │ ├── DrainTimeoutInMinutes: *int
- │ ├── MaxSurge: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── VmSize: *string
- ├── VnetSubnetID: *string
- └── WorkloadRuntime: *string
+ └── VerticalPodAutoscaler: *Object (2 properties)
+ ├── Enabled: *bool
+ └── PropertyBag: genruntime.PropertyBag
+ManagedClustersAgentPool: Resource
+├── Owner: containerservice/v1api20231001.ManagedCluster
+├── Spec: Object (44 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ ├── Count: *int
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *string
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (12 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *string
+│ ├── LinuxOSConfig: *Object (5 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (29 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *string
+│ ├── NetworkProfile: *Object (4 properties)
+│ │ ├── AllowedHostPorts: Object (4 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Protocol: *string
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ ├── NodePublicIPTags: Object (3 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Tag: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OriginalVersion: string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *string
+│ ├── OsSKU: *string
+│ ├── OsType: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (2 properties)
+│ │ ├── Code: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *string
+│ ├── ScaleSetEvictionPolicy: *string
+│ ├── ScaleSetPriority: *string
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *string
+│ ├── UpgradeSettings: *Object (3 properties)
+│ │ ├── DrainTimeoutInMinutes: *int
+│ │ ├── MaxSurge: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ └── WorkloadRuntime: *string
+└── Status: Object (48 properties)
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *string
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (12 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *string
+ ├── LinuxOSConfig: *Object (5 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (29 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *string
+ ├── Name: *string
+ ├── NetworkProfile: *Object (4 properties)
+ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Protocol: *string
+ │ ├── ApplicationSecurityGroups: string[]
+ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Tag: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *string
+ ├── OsSKU: *string
+ ├── OsType: *string
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertiesType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *string
+ ├── ScaleSetEvictionPolicy: *string
+ ├── ScaleSetPriority: *string
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (3 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ └── WorkloadRuntime: *string
+TrustedAccessRoleBinding: Resource
+├── Owner: containerservice/v1api20231001.ManagedCluster
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Roles: string[]
+│ └── SourceResourceReference: *genruntime.ResourceReference
+└── Status: Object (9 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Roles: string[]
+ ├── SourceResourceId: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── Type: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/trusted_access_role_binding_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/trusted_access_role_binding_types_gen.go
new file mode 100644
index 0000000000..5f33d5cf00
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/trusted_access_role_binding_types_gen.go
@@ -0,0 +1,216 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package storage
+
+import (
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+)
+
+// +kubebuilder:rbac:groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=get;list;watch;create;update;patch;delete
+// +kubebuilder:rbac:groups=containerservice.azure.com,resources={trustedaccessrolebindings/status,trustedaccessrolebindings/finalizers},verbs=get;update;patch
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:storageversion
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Storage version of v1api20231001.TrustedAccessRoleBinding
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBinding struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedClusters_TrustedAccessRoleBinding_Spec `json:"spec,omitempty"`
+ Status ManagedClusters_TrustedAccessRoleBinding_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &TrustedAccessRoleBinding{}
+
+// GetConditions returns the conditions of the resource
+func (binding *TrustedAccessRoleBinding) GetConditions() conditions.Conditions {
+ return binding.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (binding *TrustedAccessRoleBinding) SetConditions(conditions conditions.Conditions) {
+ binding.Status.Conditions = conditions
+}
+
+var _ genruntime.KubernetesResource = &TrustedAccessRoleBinding{}
+
+// AzureName returns the Azure name of the resource
+func (binding *TrustedAccessRoleBinding) AzureName() string {
+ return binding.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2023-10-01"
+func (binding TrustedAccessRoleBinding) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (binding *TrustedAccessRoleBinding) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (binding *TrustedAccessRoleBinding) GetSpec() genruntime.ConvertibleSpec {
+ return &binding.Spec
+}
+
+// GetStatus returns the status of this resource
+func (binding *TrustedAccessRoleBinding) GetStatus() genruntime.ConvertibleStatus {
+ return &binding.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (binding *TrustedAccessRoleBinding) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+func (binding *TrustedAccessRoleBinding) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (binding *TrustedAccessRoleBinding) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (binding *TrustedAccessRoleBinding) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(binding.Spec)
+ return binding.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (binding *TrustedAccessRoleBinding) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ binding.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ binding.Status = st
+ return nil
+}
+
+// Hub marks that this TrustedAccessRoleBinding is the hub type for conversion
+func (binding *TrustedAccessRoleBinding) Hub() {}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (binding *TrustedAccessRoleBinding) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: binding.Spec.OriginalVersion,
+ Kind: "TrustedAccessRoleBinding",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Storage version of v1api20231001.TrustedAccessRoleBinding
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBindingList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []TrustedAccessRoleBinding `json:"items"`
+}
+
+// Storage version of v1api20231001.ManagedClusters_TrustedAccessRoleBinding_Spec
+type ManagedClusters_TrustedAccessRoleBinding_Spec struct {
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+ OriginalVersion string `json:"originalVersion,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a containerservice.azure.com/ManagedCluster resource
+ Owner *genruntime.KnownResourceReference `group:"containerservice.azure.com" json:"owner,omitempty" kind:"ManagedCluster"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Roles []string `json:"roles,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // SourceResourceReference: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedClusters_TrustedAccessRoleBinding_Spec{}
+
+// ConvertSpecFrom populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ if source == binding {
+ return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec")
+ }
+
+ return source.ConvertSpecTo(binding)
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ if destination == binding {
+ return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleSpec")
+ }
+
+ return destination.ConvertSpecFrom(binding)
+}
+
+// Storage version of v1api20231001.ManagedClusters_TrustedAccessRoleBinding_STATUS
+type ManagedClusters_TrustedAccessRoleBinding_STATUS struct {
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+ Id *string `json:"id,omitempty"`
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ Roles []string `json:"roles,omitempty"`
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+ SystemData *SystemData_STATUS `json:"systemData,omitempty"`
+ Type *string `json:"type,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+
+// ConvertStatusFrom populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ if source == binding {
+ return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus")
+ }
+
+ return source.ConvertStatusTo(binding)
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ if destination == binding {
+ return errors.New("attempted conversion between unrelated implementations of github.com/Azure/azure-service-operator/v2/pkg/genruntime/ConvertibleStatus")
+ }
+
+ return destination.ConvertStatusFrom(binding)
+}
+
+func init() {
+ SchemeBuilder.Register(&TrustedAccessRoleBinding{}, &TrustedAccessRoleBindingList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/zz_generated.deepcopy.go
index 783d23fd3a..77b30ece1a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage/zz_generated.deepcopy.go
@@ -3377,6 +3377,11 @@ func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOper
*out = new(genruntime.ConfigMapDestination)
**out = **in
}
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
if in.PropertyBag != nil {
in, out := &in.PropertyBag, &out.PropertyBag
*out = make(genruntime.PropertyBag, len(*in))
@@ -4821,7 +4826,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -4866,11 +4871,6 @@ func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -6136,6 +6136,107 @@ func (in *ManagedClusters_AgentPool_Spec) DeepCopy() *ManagedClusters_AgentPool_
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_STATUS) {
+ *out = *in
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_STATUS.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_Spec) {
+ *out = *in
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceReference != nil {
+ in, out := &in.SourceResourceReference, &out.SourceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_Spec.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PortRange) DeepCopyInto(out *PortRange) {
*out = *in
@@ -6857,6 +6958,65 @@ func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBinding) DeepCopyInto(out *TrustedAccessRoleBinding) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBinding.
+func (in *TrustedAccessRoleBinding) DeepCopy() *TrustedAccessRoleBinding {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBinding)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBinding) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingList) DeepCopyInto(out *TrustedAccessRoleBindingList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]TrustedAccessRoleBinding, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingList.
+func (in *TrustedAccessRoleBindingList) DeepCopy() *TrustedAccessRoleBindingList {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBindingList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UpgradeOverrideSettings) DeepCopyInto(out *UpgradeOverrideSettings) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/structure.txt
index 028dbd9864..5bb0592ed4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/structure.txt
@@ -1,1741 +1,24 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001
-├── APIVersion: Enum (1 value)
-│ └── "2023-10-01"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (39 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (41 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
-│ │ │ │ │ └── Rule 0: Minimum: 2
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 90
-│ │ │ │ │ │ └── Rule 1: Minimum: 10
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 524288
-│ │ │ │ │ │ └── Rule 1: Minimum: 65536
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 2097152
-│ │ │ │ │ │ └── Rule 1: Minimum: 131072
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ ├── PortStart: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (5 values)
-│ │ │ │ ├── "AzureLinux"
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 1440
-│ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 63
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (3 properties)
-│ │ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ │ ├── Location: *string
-│ │ │ │ ├── ReferralResource: *string
-│ │ │ │ ├── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── TenantId: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SystemAssigned"
-│ │ │ │ └── "UserAssigned"
-│ │ │ └── UserAssignedIdentities: Object (1 property)[]
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── Location: *string
-│ │ ├── NetworkProfile: *Object (15 properties)
-│ │ │ ├── DnsServiceIP: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 64000
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 16
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── ConfigMaps: *Object (1 property)
-│ │ │ │ └── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ └── Secrets: *Object (2 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (3 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ │ ├── "External"
-│ │ │ │ │ └── "Internal"
-│ │ │ │ └── Revisions: Validated (1 rule)
-│ │ │ │ └── Rule 0: MaxItems: 2
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (1 value)
-│ │ │ │ └── "Base"
-│ │ │ └── Tier: *Enum (3 values)
-│ │ │ ├── "Free"
-│ │ │ ├── "Premium"
-│ │ │ └── "Standard"
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── SupportPlan: *Enum (2 values)
-│ │ │ ├── "AKSLongTermSupport"
-│ │ │ └── "KubernetesOfficial"
-│ │ ├── Tags: map[string]string
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (1 property)
-│ │ └── Enabled: *bool
-│ └── Status: Object (49 properties)
-│ ├── AadProfile: *Object (7 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── AgentPoolProfiles: Object (44 properties)[]
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── CapacityReservationGroupID: *string
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ ├── "MIG1g"
-│ │ │ ├── "MIG2g"
-│ │ │ ├── "MIG3g"
-│ │ │ ├── "MIG4g"
-│ │ │ └── "MIG7g"
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ ├── "OS"
-│ │ │ └── "Temporary"
-│ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *Enum (2 values)
-│ │ │ ├── "System"
-│ │ │ └── "User"
-│ │ ├── Name: *string
-│ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ ├── PortEnd: *int
-│ │ │ │ ├── PortStart: *int
-│ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ ├── "TCP"
-│ │ │ │ └── "UDP"
-│ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ ├── "Ephemeral"
-│ │ │ └── "Managed"
-│ │ ├── OsSKU: *Enum (5 values)
-│ │ │ ├── "AzureLinux"
-│ │ │ ├── "CBLMariner"
-│ │ │ ├── "Ubuntu"
-│ │ │ ├── "Windows2019"
-│ │ │ └── "Windows2022"
-│ │ ├── OsType: *Enum (2 values)
-│ │ │ ├── "Linux"
-│ │ │ └── "Windows"
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ ├── "Regular"
-│ │ │ └── "Spot"
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *Enum (2 values)
-│ │ │ ├── "AvailabilitySet"
-│ │ │ └── "VirtualMachineScaleSets"
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ └── MaxSurge: *string
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ ├── "OCIContainer"
-│ │ └── "WasmWasi"
-│ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ └── PrivateDNSZone: *string
-│ ├── AutoScalerProfile: *Object (17 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── Expander: *Enum (4 values)
-│ │ │ ├── "least-waste"
-│ │ │ ├── "most-pods"
-│ │ │ ├── "priority"
-│ │ │ └── "random"
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
-│ │ │ ├── "NodeImage"
-│ │ │ ├── "None"
-│ │ │ └── "Unmanaged"
-│ │ └── UpgradeChannel: *Enum (5 values)
-│ │ ├── "node-image"
-│ │ ├── "none"
-│ │ ├── "patch"
-│ │ ├── "rapid"
-│ │ └── "stable"
-│ ├── AzureMonitorProfile: *Object (1 property)
-│ │ └── Metrics: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ ├── MetricAnnotationsAllowList: *string
-│ │ └── MetricLabelsAllowlist: *string
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (4 properties)
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (2 properties)
-│ │ ├── AdminUsername: *string
-│ │ └── Ssh: *Object (1 property)
-│ │ └── PublicKeys: Object (1 property)[]
-│ │ └── KeyData: *string
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (15 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ ├── "NodeIP"
-│ │ │ │ └── "NodeIPConfiguration"
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── CountIPv6: *int
-│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ ├── "basic"
-│ │ │ └── "standard"
-│ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ └── Count: *int
-│ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ ├── "azure"
-│ │ │ └── "cilium"
-│ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ ├── "bridge"
-│ │ │ └── "transparent"
-│ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "kubenet"
-│ │ │ └── "none"
-│ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ └── "overlay"
-│ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "calico"
-│ │ │ └── "cilium"
-│ │ ├── OutboundType: *Enum (4 values)
-│ │ │ ├── "loadBalancer"
-│ │ │ ├── "managedNATGateway"
-│ │ │ ├── "userAssignedNATGateway"
-│ │ │ └── "userDefinedRouting"
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeResourceGroup: *string
-│ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── IssuerURL: *string
-│ ├── PodIdentityProfile: *Object (4 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Assigned"
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ └── PodLabels: map[string]string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── ResourceUID: *string
-│ ├── SecurityProfile: *Object (4 properties)
-│ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ ├── "Private"
-│ │ │ │ └── "Public"
-│ │ │ └── KeyVaultResourceId: *string
-│ │ ├── Defender: *Object (2 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IntervalHours: *int
-│ │ └── WorkloadIdentity: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ ├── Istio: *Object (3 properties)
-│ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ ├── CertObjectName: *string
-│ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ └── RootCertObjectName: *string
-│ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "External"
-│ │ │ │ └── "Internal"
-│ │ │ └── Revisions: string[]
-│ │ └── Mode: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Istio"
-│ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ └── ClientId: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (3 values)
-│ │ ├── "Free"
-│ │ ├── "Premium"
-│ │ └── "Standard"
-│ ├── StorageProfile: *Object (4 properties)
-│ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── SnapshotController: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── SupportPlan: *Enum (2 values)
-│ │ ├── "AKSLongTermSupport"
-│ │ └── "KubernetesOfficial"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── OverrideSettings: *Object (2 properties)
-│ │ ├── ForceUpgrade: *bool
-│ │ └── Until: *string
-│ ├── WindowsProfile: *Object (5 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── RootDomainName: *string
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ ├── Keda: *Object (1 property)
-│ │ └── Enabled: *bool
-│ └── VerticalPodAutoscaler: *Object (1 property)
-│ └── Enabled: *bool
-├── ManagedCluster_STATUS_ARM: Object (10 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (39 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── AgentPoolProfiles: Object (44 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── CurrentOrchestratorVersion: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeImageVersion: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (5 values)
-│ │ │ │ ├── "AzureLinux"
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProvisioningState: *string
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzurePortalFQDN: *string
-│ │ ├── CurrentKubernetesVersion: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── Fqdn: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── MaxAgentPools: *int
-│ │ ├── NetworkProfile: *Object (15 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IssuerURL: *string
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ │ ├── "Assigned"
-│ │ │ │ ├── "Canceled"
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── PrivateFQDN: *string
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceID: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── ResourceUID: *string
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (3 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ │ ├── "External"
-│ │ │ │ │ └── "Internal"
-│ │ │ │ └── Revisions: string[]
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ │ └── ClientId: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── SupportPlan: *Enum (2 values)
-│ │ │ ├── "AKSLongTermSupport"
-│ │ │ └── "KubernetesOfficial"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (3 values)
-│ │ ├── "Free"
-│ │ ├── "Premium"
-│ │ └── "Standard"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── ManagedCluster_Spec_ARM: Object (7 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Identity: *Object (3 properties)
-│ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (0 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (31 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (41 properties)[]
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (5 values)
-│ │ │ │ ├── "AzureLinux"
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ └── "Windows2022"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (2 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ └── "VirtualMachineScaleSets"
-│ │ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ │ └── MaxSurge: *string
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ └── WorkloadRuntime: *Enum (2 values)
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── ApiServerAccessProfile: *Object (5 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ └── PrivateDNSZone: *string
-│ │ ├── AutoScalerProfile: *Object (17 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (1 property)
-│ │ │ └── Metrics: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── NetworkProfile: *Object (15 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ └── "cilium"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (3 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ │ ├── "External"
-│ │ │ │ │ └── "Internal"
-│ │ │ │ └── Revisions: string[]
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── SupportPlan: *Enum (2 values)
-│ │ │ ├── "AKSLongTermSupport"
-│ │ │ └── "KubernetesOfficial"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (3 values)
-│ │ ├── "Free"
-│ │ ├── "Premium"
-│ │ └── "Standard"
-│ └── Tags: map[string]string
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: ManagedCluster
-│ ├── Spec: Object (42 properties)
+-----------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-10-01"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (39 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (41 properties)[]
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 12
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (1 property)
@@ -1813,6 +96,8 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── NetworkProfile: *Object (3 properties)
│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
│ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
@@ -1847,7 +132,6 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001
│ │ ├── OsType: *Enum (2 values)
│ │ │ ├── "Linux"
│ │ │ └── "Windows"
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (1 property)
│ │ │ └── Code: *Enum (2 values)
@@ -1878,145 +162,772 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001
│ │ └── WorkloadRuntime: *Enum (2 values)
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Status: Object (47 properties)
-│ ├── AvailabilityZones: string[]
-│ ├── CapacityReservationGroupID: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ ├── "MIG1g"
-│ │ ├── "MIG2g"
-│ │ ├── "MIG3g"
-│ │ ├── "MIG4g"
-│ │ └── "MIG7g"
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (11 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *Enum (2 values)
-│ │ ├── "OS"
-│ │ └── "Temporary"
-│ ├── LinuxOSConfig: *Object (4 properties)
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (28 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MinCount: *int
-│ ├── Mode: *Enum (2 values)
-│ │ ├── "System"
-│ │ └── "User"
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (3 properties)
-│ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ ├── PortEnd: *int
-│ │ │ ├── PortStart: *int
-│ │ │ └── Protocol: *Enum (2 values)
-│ │ │ ├── "TCP"
-│ │ │ └── "UDP"
-│ │ ├── ApplicationSecurityGroups: string[]
-│ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ ├── IpTagType: *string
-│ │ └── Tag: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *Enum (2 values)
-│ │ ├── "Ephemeral"
-│ │ └── "Managed"
-│ ├── OsSKU: *Enum (5 values)
-│ │ ├── "AzureLinux"
-│ │ ├── "CBLMariner"
-│ │ ├── "Ubuntu"
-│ │ ├── "Windows2019"
-│ │ └── "Windows2022"
-│ ├── OsType: *Enum (2 values)
-│ │ ├── "Linux"
-│ │ └── "Windows"
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PropertiesType: *Enum (2 values)
-│ │ ├── "AvailabilitySet"
-│ │ └── "VirtualMachineScaleSets"
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetPriority: *Enum (2 values)
-│ │ ├── "Regular"
-│ │ └── "Spot"
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── DrainTimeoutInMinutes: *int
-│ │ └── MaxSurge: *string
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ └── WorkloadRuntime: *Enum (2 values)
-│ ├── "OCIContainer"
-│ └── "WasmWasi"
-├── ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
-│ ├── Id: *string
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (3 properties)
+│ │ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ │ ├── Location: *string
+│ │ │ ├── ReferralResource: *string
+│ │ │ ├── ResourceReference: *genruntime.ResourceReference
+│ │ │ └── TenantId: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "None"
+│ │ │ ├── "SystemAssigned"
+│ │ │ └── "UserAssigned"
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── Location: *string
+│ ├── NetworkProfile: *Object (15 properties)
+│ │ ├── DnsServiceIP: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 64000
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 16
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ └── PrincipalId: *genruntime.ConfigMapDestination
+│ │ └── Secrets: *Object (2 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── NodeSelector: map[string]string
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: Validated (1 rule)
+│ │ │ └── Rule 0: MaxItems: 2
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (1 value)
+│ │ │ └── "Base"
+│ │ └── Tier: *Enum (3 values)
+│ │ ├── "Free"
+│ │ ├── "Premium"
+│ │ └── "Standard"
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (1 property)
+│ └── Enabled: *bool
+└── Status: Object (49 properties)
+ ├── AadProfile: *Object (7 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (3 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── AgentPoolProfiles: Object (44 properties)[]
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (1 property)
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *Enum (5 values)
+ │ │ ├── "MIG1g"
+ │ │ ├── "MIG2g"
+ │ │ ├── "MIG3g"
+ │ │ ├── "MIG4g"
+ │ │ └── "MIG7g"
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (11 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *Enum (2 values)
+ │ │ ├── "OS"
+ │ │ └── "Temporary"
+ │ ├── LinuxOSConfig: *Object (4 properties)
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (28 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MinCount: *int
+ │ ├── Mode: *Enum (2 values)
+ │ │ ├── "System"
+ │ │ └── "User"
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (3 properties)
+ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ └── Protocol: *Enum (2 values)
+ │ │ │ ├── "TCP"
+ │ │ │ └── "UDP"
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ └── Tag: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *Enum (2 values)
+ │ │ ├── "Ephemeral"
+ │ │ └── "Managed"
+ │ ├── OsSKU: *Enum (5 values)
+ │ │ ├── "AzureLinux"
+ │ │ ├── "CBLMariner"
+ │ │ ├── "Ubuntu"
+ │ │ ├── "Windows2019"
+ │ │ └── "Windows2022"
+ │ ├── OsType: *Enum (2 values)
+ │ │ ├── "Linux"
+ │ │ └── "Windows"
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (1 property)
+ │ │ └── Code: *Enum (2 values)
+ │ │ ├── "Running"
+ │ │ └── "Stopped"
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetPriority: *Enum (2 values)
+ │ │ ├── "Regular"
+ │ │ └── "Spot"
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *Enum (2 values)
+ │ │ ├── "AvailabilitySet"
+ │ │ └── "VirtualMachineScaleSets"
+ │ ├── UpgradeSettings: *Object (2 properties)
+ │ │ ├── DrainTimeoutInMinutes: *int
+ │ │ └── MaxSurge: *string
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ └── WorkloadRuntime: *Enum (2 values)
+ │ ├── "OCIContainer"
+ │ └── "WasmWasi"
+ ├── ApiServerAccessProfile: *Object (5 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ └── PrivateDNSZone: *string
+ ├── AutoScalerProfile: *Object (17 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── Expander: *Enum (4 values)
+ │ │ ├── "least-waste"
+ │ │ ├── "most-pods"
+ │ │ ├── "priority"
+ │ │ └── "random"
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (2 properties)
+ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
+ │ │ ├── "NodeImage"
+ │ │ ├── "None"
+ │ │ └── "Unmanaged"
+ │ └── UpgradeChannel: *Enum (5 values)
+ │ ├── "node-image"
+ │ ├── "none"
+ │ ├── "patch"
+ │ ├── "rapid"
+ │ └── "stable"
+ ├── AzureMonitorProfile: *Object (1 property)
+ │ └── Metrics: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── KubeStateMetrics: *Object (2 properties)
+ │ ├── MetricAnnotationsAllowList: *string
+ │ └── MetricLabelsAllowlist: *string
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (4 properties)
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── DelegatedResources: map[string]Object (4 properties)
+ │ │ ├── Location: *string
+ │ │ ├── ReferralResource: *string
+ │ │ ├── ResourceId: *string
+ │ │ └── TenantId: *string
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── IdentityProfile: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (2 properties)
+ │ ├── AdminUsername: *string
+ │ └── Ssh: *Object (1 property)
+ │ └── PublicKeys: Object (1 property)[]
+ │ └── KeyData: *string
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── Name: *string
+ ├── NetworkProfile: *Object (15 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── IpFamilies: Enum (2 values)[]
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── LoadBalancerProfile: *Object (8 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *Enum (2 values)
+ │ │ │ ├── "NodeIP"
+ │ │ │ └── "NodeIPConfiguration"
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── CountIPv6: *int
+ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ └── OutboundIPs: *Object (1 property)
+ │ │ └── PublicIPs: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerSku: *Enum (2 values)
+ │ │ ├── "basic"
+ │ │ └── "standard"
+ │ ├── NatGatewayProfile: *Object (3 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+ │ │ └── Count: *int
+ │ ├── NetworkDataplane: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "cilium"
+ │ ├── NetworkMode: *Enum (2 values)
+ │ │ ├── "bridge"
+ │ │ └── "transparent"
+ │ ├── NetworkPlugin: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "kubenet"
+ │ │ └── "none"
+ │ ├── NetworkPluginMode: *Enum (1 value)
+ │ │ └── "overlay"
+ │ ├── NetworkPolicy: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "calico"
+ │ │ └── "cilium"
+ │ ├── OutboundType: *Enum (4 values)
+ │ │ ├── "loadBalancer"
+ │ │ ├── "managedNATGateway"
+ │ │ ├── "userAssignedNATGateway"
+ │ │ └── "userDefinedRouting"
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeResourceGroup: *string
+ ├── OidcIssuerProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── IssuerURL: *string
+ ├── PodIdentityProfile: *Object (4 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── UserAssignedIdentities: Object (6 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (3 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── ProvisioningInfo: *Object (1 property)
+ │ │ │ └── Error: *Object (1 property)
+ │ │ │ └── Error: *Object (4 properties)
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (3 properties)[]
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ └── ProvisioningState: *Enum (6 values)
+ │ │ ├── "Assigned"
+ │ │ ├── "Canceled"
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ └── PodLabels: map[string]string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (6 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── ResourceUID: *string
+ ├── SecurityProfile: *Object (4 properties)
+ │ ├── AzureKeyVaultKms: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+ │ │ │ ├── "Private"
+ │ │ │ └── "Public"
+ │ │ └── KeyVaultResourceId: *string
+ │ ├── Defender: *Object (2 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── SecurityMonitoring: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── ImageCleaner: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── IntervalHours: *int
+ │ └── WorkloadIdentity: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ServiceMeshProfile: *Object (2 properties)
+ │ ├── Istio: *Object (3 properties)
+ │ │ ├── CertificateAuthority: *Object (1 property)
+ │ │ │ └── Plugin: *Object (5 properties)
+ │ │ │ ├── CertChainObjectName: *string
+ │ │ │ ├── CertObjectName: *string
+ │ │ │ ├── KeyObjectName: *string
+ │ │ │ ├── KeyVaultId: *string
+ │ │ │ └── RootCertObjectName: *string
+ │ │ ├── Components: *Object (2 properties)
+ │ │ │ ├── EgressGateways: Object (2 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ └── NodeSelector: map[string]string
+ │ │ │ └── IngressGateways: Object (2 properties)[]
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── Mode: *Enum (2 values)
+ │ │ │ ├── "External"
+ │ │ │ └── "Internal"
+ │ │ └── Revisions: string[]
+ │ └── Mode: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Istio"
+ ├── ServicePrincipalProfile: *Object (1 property)
+ │ └── ClientId: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (1 value)
+ │ │ └── "Base"
+ │ └── Tier: *Enum (3 values)
+ │ ├── "Free"
+ │ ├── "Premium"
+ │ └── "Standard"
+ ├── StorageProfile: *Object (4 properties)
+ │ ├── BlobCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── DiskCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── FileCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── SnapshotController: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── SupportPlan: *Enum (2 values)
+ │ ├── "AKSLongTermSupport"
+ │ └── "KubernetesOfficial"
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── OverrideSettings: *Object (2 properties)
+ │ ├── ForceUpgrade: *bool
+ │ └── Until: *string
+ ├── WindowsProfile: *Object (4 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (3 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ └── RootDomainName: *string
+ │ └── LicenseType: *Enum (2 values)
+ │ ├── "None"
+ │ └── "Windows_Server"
+ └── WorkloadAutoScalerProfile: *Object (2 properties)
+ ├── Keda: *Object (1 property)
+ │ └── Enabled: *bool
+ └── VerticalPodAutoscaler: *Object (1 property)
+ └── Enabled: *bool
+ManagedCluster_STATUS_ARM: Object (10 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (43 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Identity: *Object (5 properties)
+│ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ ├── Location: *string
+│ │ ├── ReferralResource: *string
+│ │ ├── ResourceId: *string
+│ │ └── TenantId: *string
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (39 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── AgentPoolProfiles: Object (44 properties)[]
│ │ ├── AvailabilityZones: string[]
│ │ ├── CapacityReservationGroupID: *string
│ │ ├── Count: *int
@@ -2089,6 +1000,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: *string
│ │ ├── NetworkProfile: *Object (3 properties)
│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
│ │ │ │ ├── PortEnd: *int
@@ -2147,136 +1059,1295 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001
│ │ └── WorkloadRuntime: *Enum (2 values)
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Type: *string
-└── ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
- ├── Name: string
- └── Properties: *Object (40 properties)
- ├── AvailabilityZones: string[]
- ├── CapacityReservationGroupID: *string
- ├── Count: *int
- ├── CreationData: *Object (1 property)
- │ └── SourceResourceId: *string
- ├── EnableAutoScaling: *bool
- ├── EnableEncryptionAtHost: *bool
- ├── EnableFIPS: *bool
- ├── EnableNodePublicIP: *bool
- ├── EnableUltraSSD: *bool
- ├── GpuInstanceProfile: *Enum (5 values)
- │ ├── "MIG1g"
- │ ├── "MIG2g"
- │ ├── "MIG3g"
- │ ├── "MIG4g"
- │ └── "MIG7g"
- ├── HostGroupID: *string
- ├── KubeletConfig: *Object (11 properties)
- │ ├── AllowedUnsafeSysctls: string[]
- │ ├── ContainerLogMaxFiles: *int
- │ ├── ContainerLogMaxSizeMB: *int
- │ ├── CpuCfsQuota: *bool
- │ ├── CpuCfsQuotaPeriod: *string
- │ ├── CpuManagerPolicy: *string
- │ ├── FailSwapOn: *bool
- │ ├── ImageGcHighThreshold: *int
- │ ├── ImageGcLowThreshold: *int
- │ ├── PodMaxPids: *int
- │ └── TopologyManagerPolicy: *string
- ├── KubeletDiskType: *Enum (2 values)
- │ ├── "OS"
- │ └── "Temporary"
- ├── LinuxOSConfig: *Object (4 properties)
- │ ├── SwapFileSizeMB: *int
- │ ├── Sysctls: *Object (28 properties)
- │ │ ├── FsAioMaxNr: *int
- │ │ ├── FsFileMax: *int
- │ │ ├── FsInotifyMaxUserWatches: *int
- │ │ ├── FsNrOpen: *int
- │ │ ├── KernelThreadsMax: *int
- │ │ ├── NetCoreNetdevMaxBacklog: *int
- │ │ ├── NetCoreOptmemMax: *int
- │ │ ├── NetCoreRmemDefault: *int
- │ │ ├── NetCoreRmemMax: *int
- │ │ ├── NetCoreSomaxconn: *int
- │ │ ├── NetCoreWmemDefault: *int
- │ │ ├── NetCoreWmemMax: *int
- │ │ ├── NetIpv4IpLocalPortRange: *string
- │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
- │ │ ├── NetIpv4TcpFinTimeout: *int
- │ │ ├── NetIpv4TcpKeepaliveProbes: *int
- │ │ ├── NetIpv4TcpKeepaliveTime: *int
- │ │ ├── NetIpv4TcpMaxSynBacklog: *int
- │ │ ├── NetIpv4TcpMaxTwBuckets: *int
- │ │ ├── NetIpv4TcpTwReuse: *bool
- │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
- │ │ ├── NetNetfilterNfConntrackBuckets: *int
- │ │ ├── NetNetfilterNfConntrackMax: *int
- │ │ ├── VmMaxMapCount: *int
- │ │ ├── VmSwappiness: *int
- │ │ └── VmVfsCachePressure: *int
- │ ├── TransparentHugePageDefrag: *string
- │ └── TransparentHugePageEnabled: *string
- ├── MaxCount: *int
- ├── MaxPods: *int
- ├── MinCount: *int
- ├── Mode: *Enum (2 values)
- │ ├── "System"
- │ └── "User"
- ├── NetworkProfile: *Object (3 properties)
- │ ├── AllowedHostPorts: Object (3 properties)[]
- │ │ ├── PortEnd: *int
- │ │ ├── PortStart: *int
- │ │ └── Protocol: *Enum (2 values)
- │ │ ├── "TCP"
- │ │ └── "UDP"
- │ ├── ApplicationSecurityGroups: string[]
- │ └── NodePublicIPTags: Object (2 properties)[]
- │ ├── IpTagType: *string
- │ └── Tag: *string
- ├── NodeLabels: map[string]string
- ├── NodePublicIPPrefixID: *string
- ├── NodeTaints: string[]
- ├── OrchestratorVersion: *string
- ├── OsDiskSizeGB: *Validated (2 rules)
- │ ├── Rule 0: Maximum: 2048
- │ └── Rule 1: Minimum: 0
- ├── OsDiskType: *Enum (2 values)
- │ ├── "Ephemeral"
- │ └── "Managed"
- ├── OsSKU: *Enum (5 values)
- │ ├── "AzureLinux"
- │ ├── "CBLMariner"
- │ ├── "Ubuntu"
- │ ├── "Windows2019"
- │ └── "Windows2022"
- ├── OsType: *Enum (2 values)
- │ ├── "Linux"
- │ └── "Windows"
- ├── PodSubnetID: *string
- ├── PowerState: *Object (1 property)
- │ └── Code: *Enum (2 values)
- │ ├── "Running"
- │ └── "Stopped"
- ├── ProximityPlacementGroupID: *string
- ├── ScaleDownMode: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetEvictionPolicy: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetPriority: *Enum (2 values)
- │ ├── "Regular"
- │ └── "Spot"
- ├── SpotMaxPrice: *float64
- ├── Tags: map[string]string
- ├── Type: *Enum (2 values)
- │ ├── "AvailabilitySet"
- │ └── "VirtualMachineScaleSets"
- ├── UpgradeSettings: *Object (2 properties)
- │ ├── DrainTimeoutInMinutes: *int
- │ └── MaxSurge: *string
- ├── VmSize: *string
- ├── VnetSubnetID: *string
- └── WorkloadRuntime: *Enum (2 values)
- ├── "OCIContainer"
- └── "WasmWasi"
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzurePortalFQDN: *string
+│ ├── CurrentKubernetesVersion: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── Fqdn: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MaxAgentPools: *int
+│ ├── NetworkProfile: *Object (15 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── IssuerURL: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (6 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ ├── ProvisioningInfo: *Object (1 property)
+│ │ │ │ └── Error: *Object (1 property)
+│ │ │ │ └── Error: *Object (4 properties)
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Details: Object (3 properties)[]
+│ │ │ │ │ ├── Code: *string
+│ │ │ │ │ ├── Message: *string
+│ │ │ │ │ └── Target: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ └── ProvisioningState: *Enum (6 values)
+│ │ │ ├── "Assigned"
+│ │ │ ├── "Canceled"
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── PrivateFQDN: *string
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceID: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ProvisioningState: *string
+│ ├── PublicNetworkAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── ResourceUID: *string
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultId: *string
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── NodeSelector: map[string]string
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: string[]
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (1 property)
+│ │ └── ClientId: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (4 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (1 property)
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (3 values)
+│ ├── "Free"
+│ ├── "Premium"
+│ └── "Standard"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+ManagedCluster_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Identity: *Object (3 properties)
+│ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ ├── Location: *string
+│ │ ├── ReferralResource: *string
+│ │ ├── ResourceId: *string
+│ │ └── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (31 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (41 properties)[]
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupID: *string
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceId: *string
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── HostGroupID: *string
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (2 values)
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (3 properties)
+│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ └── Protocol: *Enum (2 values)
+│ │ │ │ ├── "TCP"
+│ │ │ │ └── "UDP"
+│ │ │ ├── ApplicationSecurityGroups: string[]
+│ │ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ └── Tag: *string
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (5 values)
+│ │ │ ├── "AzureLinux"
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ └── "Windows2022"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodSubnetID: *string
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (2 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ └── "VirtualMachineScaleSets"
+│ │ ├── UpgradeSettings: *Object (2 properties)
+│ │ │ ├── DrainTimeoutInMinutes: *int
+│ │ │ └── MaxSurge: *string
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetID: *string
+│ │ └── WorkloadRuntime: *Enum (2 values)
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── ApiServerAccessProfile: *Object (5 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ └── PrivateDNSZone: *string
+│ ├── AutoScalerProfile: *Object (17 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (3 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (1 property)
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── NetworkProfile: *Object (15 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ └── "cilium"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeResourceGroup: *string
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultId: *string
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── NodeSelector: map[string]string
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: string[]
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *string
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (1 property)
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (3 values)
+│ ├── "Free"
+│ ├── "Premium"
+│ └── "Standard"
+└── Tags: map[string]string
+ManagedClustersAgentPool: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (42 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 12
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z][a-z0-9]{0,11}$"
+│ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 90
+│ │ │ │ └── Rule 1: Minimum: 10
+│ │ │ ├── NetNetfilterNfConntrackBuckets: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 524288
+│ │ │ │ └── Rule 1: Minimum: 65536
+│ │ │ ├── NetNetfilterNfConntrackMax: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 2097152
+│ │ │ │ └── Rule 1: Minimum: 131072
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ ├── PortStart: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ ├── Rule 0: Maximum: 2048
+│ │ └── Rule 1: Minimum: 0
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (5 values)
+│ │ ├── "AzureLinux"
+│ │ ├── "CBLMariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ └── "Windows2022"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── DrainTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 1440
+│ │ │ └── Rule 1: Minimum: 1
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ └── WorkloadRuntime: *Enum (2 values)
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Status: Object (47 properties)
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── Name: *string
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeImageVersion: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (5 values)
+ │ ├── "AzureLinux"
+ │ ├── "CBLMariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ └── "Windows2022"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PropertiesType: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ └── WorkloadRuntime: *Enum (2 values)
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (43 properties)
+│ ├── AvailabilityZones: string[]
+│ ├── CapacityReservationGroupID: *string
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentOrchestratorVersion: *string
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── HostGroupID: *string
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroups: string[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeImageVersion: *string
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixID: *string
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (5 values)
+│ │ ├── "AzureLinux"
+│ │ ├── "CBLMariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ └── "Windows2022"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── PodSubnetID: *string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProvisioningState: *string
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (2 values)
+│ │ ├── "AvailabilitySet"
+│ │ └── "VirtualMachineScaleSets"
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── DrainTimeoutInMinutes: *int
+│ │ └── MaxSurge: *string
+│ ├── VmSize: *string
+│ ├── VnetSubnetID: *string
+│ └── WorkloadRuntime: *Enum (2 values)
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Type: *string
+ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (40 properties)
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── HostGroupID: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *Validated (2 rules)
+ │ ├── Rule 0: Maximum: 2048
+ │ └── Rule 1: Minimum: 0
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (5 values)
+ │ ├── "AzureLinux"
+ │ ├── "CBLMariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ └── "Windows2022"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *Enum (2 values)
+ │ ├── "AvailabilitySet"
+ │ └── "VirtualMachineScaleSets"
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ └── MaxSurge: *string
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ └── WorkloadRuntime: *Enum (2 values)
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM: Object (5 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── ProvisioningState: *Enum (5 values)
+│ │ ├── "Canceled"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── Roles: string[]
+│ └── SourceResourceId: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+ManagedClusters_TrustedAccessRoleBinding_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (2 properties)
+ ├── Roles: string[]
+ └── SourceResourceId: *string
+TrustedAccessRoleBinding: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (4 properties)
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 24
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^([A-Za-z0-9-])+$"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Roles: string[]
+│ └── SourceResourceReference: *genruntime.ResourceReference
+└── Status: Object (8 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (5 values)
+ │ ├── "Canceled"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── Roles: string[]
+ ├── SourceResourceId: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ └── Type: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/trusted_access_role_binding_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/trusted_access_role_binding_types_gen.go
new file mode 100644
index 0000000000..d1ca3e5bc2
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/trusted_access_role_binding_types_gen.go
@@ -0,0 +1,819 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20231001
+
+import (
+ "fmt"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ "github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+ "sigs.k8s.io/controller-runtime/pkg/webhook/admission"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBinding struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedClusters_TrustedAccessRoleBinding_Spec `json:"spec,omitempty"`
+ Status ManagedClusters_TrustedAccessRoleBinding_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &TrustedAccessRoleBinding{}
+
+// GetConditions returns the conditions of the resource
+func (binding *TrustedAccessRoleBinding) GetConditions() conditions.Conditions {
+ return binding.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (binding *TrustedAccessRoleBinding) SetConditions(conditions conditions.Conditions) {
+ binding.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &TrustedAccessRoleBinding{}
+
+// ConvertFrom populates our TrustedAccessRoleBinding from the provided hub TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertFrom(hub conversion.Hub) error {
+ source, ok := hub.(*storage.TrustedAccessRoleBinding)
+ if !ok {
+ return fmt.Errorf("expected containerservice/v1api20231001/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ }
+
+ return binding.AssignProperties_From_TrustedAccessRoleBinding(source)
+}
+
+// ConvertTo populates the provided hub TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertTo(hub conversion.Hub) error {
+ destination, ok := hub.(*storage.TrustedAccessRoleBinding)
+ if !ok {
+ return fmt.Errorf("expected containerservice/v1api20231001/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ }
+
+ return binding.AssignProperties_To_TrustedAccessRoleBinding(destination)
+}
+
+// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1api20231001-trustedaccessrolebinding,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=create;update,versions=v1api20231001,name=default.v1api20231001.trustedaccessrolebindings.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Defaulter = &TrustedAccessRoleBinding{}
+
+// Default applies defaults to the TrustedAccessRoleBinding resource
+func (binding *TrustedAccessRoleBinding) Default() {
+ binding.defaultImpl()
+ var temp any = binding
+ if runtimeDefaulter, ok := temp.(genruntime.Defaulter); ok {
+ runtimeDefaulter.CustomDefault()
+ }
+}
+
+// defaultAzureName defaults the Azure name of the resource to the Kubernetes name
+func (binding *TrustedAccessRoleBinding) defaultAzureName() {
+ if binding.Spec.AzureName == "" {
+ binding.Spec.AzureName = binding.Name
+ }
+}
+
+// defaultImpl applies the code generated defaults to the TrustedAccessRoleBinding resource
+func (binding *TrustedAccessRoleBinding) defaultImpl() { binding.defaultAzureName() }
+
+var _ genruntime.ImportableResource = &TrustedAccessRoleBinding{}
+
+// InitializeSpec initializes the spec for this resource from the given status
+func (binding *TrustedAccessRoleBinding) InitializeSpec(status genruntime.ConvertibleStatus) error {
+ if s, ok := status.(*ManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ return binding.Spec.Initialize_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(s)
+ }
+
+ return fmt.Errorf("expected Status of type ManagedClusters_TrustedAccessRoleBinding_STATUS but received %T instead", status)
+}
+
+var _ genruntime.KubernetesResource = &TrustedAccessRoleBinding{}
+
+// AzureName returns the Azure name of the resource
+func (binding *TrustedAccessRoleBinding) AzureName() string {
+ return binding.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2023-10-01"
+func (binding TrustedAccessRoleBinding) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (binding *TrustedAccessRoleBinding) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (binding *TrustedAccessRoleBinding) GetSpec() genruntime.ConvertibleSpec {
+ return &binding.Spec
+}
+
+// GetStatus returns the status of this resource
+func (binding *TrustedAccessRoleBinding) GetStatus() genruntime.ConvertibleStatus {
+ return &binding.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (binding *TrustedAccessRoleBinding) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+func (binding *TrustedAccessRoleBinding) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (binding *TrustedAccessRoleBinding) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (binding *TrustedAccessRoleBinding) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(binding.Spec)
+ return binding.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (binding *TrustedAccessRoleBinding) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ binding.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ binding.Status = st
+ return nil
+}
+
+// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1api20231001-trustedaccessrolebinding,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=create;update,versions=v1api20231001,name=validate.v1api20231001.trustedaccessrolebindings.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Validator = &TrustedAccessRoleBinding{}
+
+// ValidateCreate validates the creation of the resource
+func (binding *TrustedAccessRoleBinding) ValidateCreate() (admission.Warnings, error) {
+ validations := binding.createValidations()
+ var temp any = binding
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.CreateValidations()...)
+ }
+ return genruntime.ValidateCreate(validations)
+}
+
+// ValidateDelete validates the deletion of the resource
+func (binding *TrustedAccessRoleBinding) ValidateDelete() (admission.Warnings, error) {
+ validations := binding.deleteValidations()
+ var temp any = binding
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.DeleteValidations()...)
+ }
+ return genruntime.ValidateDelete(validations)
+}
+
+// ValidateUpdate validates an update of the resource
+func (binding *TrustedAccessRoleBinding) ValidateUpdate(old runtime.Object) (admission.Warnings, error) {
+ validations := binding.updateValidations()
+ var temp any = binding
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.UpdateValidations()...)
+ }
+ return genruntime.ValidateUpdate(old, validations)
+}
+
+// createValidations validates the creation of the resource
+func (binding *TrustedAccessRoleBinding) createValidations() []func() (admission.Warnings, error) {
+ return []func() (admission.Warnings, error){binding.validateResourceReferences, binding.validateOwnerReference}
+}
+
+// deleteValidations validates the deletion of the resource
+func (binding *TrustedAccessRoleBinding) deleteValidations() []func() (admission.Warnings, error) {
+ return nil
+}
+
+// updateValidations validates the update of the resource
+func (binding *TrustedAccessRoleBinding) updateValidations() []func(old runtime.Object) (admission.Warnings, error) {
+ return []func(old runtime.Object) (admission.Warnings, error){
+ func(old runtime.Object) (admission.Warnings, error) {
+ return binding.validateResourceReferences()
+ },
+ binding.validateWriteOnceProperties,
+ func(old runtime.Object) (admission.Warnings, error) {
+ return binding.validateOwnerReference()
+ },
+ }
+}
+
+// validateOwnerReference validates the owner field
+func (binding *TrustedAccessRoleBinding) validateOwnerReference() (admission.Warnings, error) {
+ return genruntime.ValidateOwner(binding)
+}
+
+// validateResourceReferences validates all resource references
+func (binding *TrustedAccessRoleBinding) validateResourceReferences() (admission.Warnings, error) {
+ refs, err := reflecthelpers.FindResourceReferences(&binding.Spec)
+ if err != nil {
+ return nil, err
+ }
+ return genruntime.ValidateResourceReferences(refs)
+}
+
+// validateWriteOnceProperties validates all WriteOnce properties
+func (binding *TrustedAccessRoleBinding) validateWriteOnceProperties(old runtime.Object) (admission.Warnings, error) {
+ oldObj, ok := old.(*TrustedAccessRoleBinding)
+ if !ok {
+ return nil, nil
+ }
+
+ return genruntime.ValidateWriteOnceProperties(oldObj, binding)
+}
+
+// AssignProperties_From_TrustedAccessRoleBinding populates our TrustedAccessRoleBinding from the provided source TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRoleBinding(source *storage.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ binding.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := spec.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ binding.Spec = spec
+
+ // Status
+ var status ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = status.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ binding.Status = status
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_TrustedAccessRoleBinding populates the provided destination TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBinding(destination *storage.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *binding.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec storage.ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := binding.Spec.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status storage.ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = binding.Status.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (binding *TrustedAccessRoleBinding) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: binding.Spec.OriginalVersion(),
+ Kind: "TrustedAccessRoleBinding",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-10-01/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBindingList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []TrustedAccessRoleBinding `json:"items"`
+}
+
+type ManagedClusters_TrustedAccessRoleBinding_Spec struct {
+ // +kubebuilder:validation:MaxLength=24
+ // +kubebuilder:validation:MinLength=1
+ // +kubebuilder:validation:Pattern="^([A-Za-z0-9-])+$"
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a containerservice.azure.com/ManagedCluster resource
+ Owner *genruntime.KnownResourceReference `group:"containerservice.azure.com" json:"owner,omitempty" kind:"ManagedCluster"`
+
+ // +kubebuilder:validation:Required
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // SourceResourceReference: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusters_TrustedAccessRoleBinding_Spec{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if binding == nil {
+ return nil, nil
+ }
+ result := &ManagedClusters_TrustedAccessRoleBinding_Spec_ARM{}
+
+ // Set property "Name":
+ result.Name = resolved.Name
+
+ // Set property "Properties":
+ if binding.Roles != nil || binding.SourceResourceReference != nil {
+ result.Properties = &TrustedAccessRoleBindingProperties_ARM{}
+ }
+ for _, item := range binding.Roles {
+ result.Properties.Roles = append(result.Properties.Roles, item)
+ }
+ if binding.SourceResourceReference != nil {
+ sourceResourceIdARMID, err := resolved.ResolvedReferences.Lookup(*binding.SourceResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ sourceResourceId := sourceResourceIdARMID
+ result.Properties.SourceResourceId = &sourceResourceId
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_Spec_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusters_TrustedAccessRoleBinding_Spec_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusters_TrustedAccessRoleBinding_Spec_ARM, got %T", armInput)
+ }
+
+ // Set property "AzureName":
+ binding.SetAzureName(genruntime.ExtractKubernetesResourceNameFromARMName(typedInput.Name))
+
+ // Set property "Owner":
+ binding.Owner = &genruntime.KnownResourceReference{
+ Name: owner.Name,
+ ARMID: owner.ARMID,
+ }
+
+ // Set property "Roles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.Roles {
+ binding.Roles = append(binding.Roles, item)
+ }
+ }
+
+ // no assignment for property "SourceResourceReference"
+
+ // No error
+ return nil
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedClusters_TrustedAccessRoleBinding_Spec{}
+
+// ConvertSpecFrom populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*storage.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*storage.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(source *storage.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+
+ // AzureName
+ binding.AzureName = source.AzureName
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ binding.Owner = &owner
+ } else {
+ binding.Owner = nil
+ }
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceReference
+ if source.SourceResourceReference != nil {
+ sourceResourceReference := source.SourceResourceReference.Copy()
+ binding.SourceResourceReference = &sourceResourceReference
+ } else {
+ binding.SourceResourceReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec populates the provided destination ManagedClusters_TrustedAccessRoleBinding_Spec from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(destination *storage.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AzureName
+ destination.AzureName = binding.AzureName
+
+ // OriginalVersion
+ destination.OriginalVersion = binding.OriginalVersion()
+
+ // Owner
+ if binding.Owner != nil {
+ owner := binding.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceReference
+ if binding.SourceResourceReference != nil {
+ sourceResourceReference := binding.SourceResourceReference.Copy()
+ destination.SourceResourceReference = &sourceResourceReference
+ } else {
+ destination.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Initialize_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) Initialize_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceReference
+ if source.SourceResourceId != nil {
+ sourceResourceReference := genruntime.CreateResourceReferenceFromARMID(*source.SourceResourceId)
+ binding.SourceResourceReference = &sourceResourceReference
+ } else {
+ binding.SourceResourceReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalVersion returns the original API version used to create the resource.
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) OriginalVersion() string {
+ return GroupVersion.Version
+}
+
+// SetAzureName sets the Azure name of the resource
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) SetAzureName(azureName string) {
+ binding.AzureName = azureName
+}
+
+type ManagedClusters_TrustedAccessRoleBinding_STATUS struct {
+ // Conditions: The observed state of the resource
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+
+ // Id: Fully qualified resource ID for the resource. E.g.
+ // "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the resource
+ Name *string `json:"name,omitempty"`
+
+ // ProvisioningState: The current provisioning state of trusted access role binding.
+ ProvisioningState *TrustedAccessRoleBindingProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
+
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles,omitempty"`
+
+ // SourceResourceId: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+
+ // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData_STATUS `json:"systemData,omitempty"`
+
+ // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string `json:"type,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+
+// ConvertStatusFrom populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*storage.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*storage.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "Conditions"
+
+ // Set property "Id":
+ if typedInput.Id != nil {
+ id := *typedInput.Id
+ binding.Id = &id
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ binding.Name = &name
+ }
+
+ // Set property "ProvisioningState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ProvisioningState != nil {
+ provisioningState := *typedInput.Properties.ProvisioningState
+ binding.ProvisioningState = &provisioningState
+ }
+ }
+
+ // Set property "Roles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.Roles {
+ binding.Roles = append(binding.Roles, item)
+ }
+ }
+
+ // Set property "SourceResourceId":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SourceResourceId != nil {
+ sourceResourceId := *typedInput.Properties.SourceResourceId
+ binding.SourceResourceId = &sourceResourceId
+ }
+ }
+
+ // Set property "SystemData":
+ if typedInput.SystemData != nil {
+ var systemData1 SystemData_STATUS
+ err := systemData1.PopulateFromARM(owner, *typedInput.SystemData)
+ if err != nil {
+ return err
+ }
+ systemData := systemData1
+ binding.SystemData = &systemData
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ binding.Type = &typeVar
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *storage.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+
+ // Conditions
+ binding.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // Id
+ binding.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Name
+ binding.Name = genruntime.ClonePointerToString(source.Name)
+
+ // ProvisioningState
+ if source.ProvisioningState != nil {
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, trustedAccessRoleBindingProperties_ProvisioningState_STATUS_Values)
+ binding.ProvisioningState = &provisioningStateTemp
+ } else {
+ binding.ProvisioningState = nil
+ }
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceId
+ binding.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
+
+ // SystemData
+ if source.SystemData != nil {
+ var systemDatum SystemData_STATUS
+ err := systemDatum.AssignProperties_From_SystemData_STATUS(source.SystemData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData")
+ }
+ binding.SystemData = &systemDatum
+ } else {
+ binding.SystemData = nil
+ }
+
+ // Type
+ binding.Type = genruntime.ClonePointerToString(source.Type)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS populates the provided destination ManagedClusters_TrustedAccessRoleBinding_STATUS from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(destination *storage.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(binding.Conditions)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(binding.Id)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(binding.Name)
+
+ // ProvisioningState
+ if binding.ProvisioningState != nil {
+ provisioningState := string(*binding.ProvisioningState)
+ destination.ProvisioningState = &provisioningState
+ } else {
+ destination.ProvisioningState = nil
+ }
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceId
+ destination.SourceResourceId = genruntime.ClonePointerToString(binding.SourceResourceId)
+
+ // SystemData
+ if binding.SystemData != nil {
+ var systemDatum storage.SystemData_STATUS
+ err := binding.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
+ }
+ destination.SystemData = &systemDatum
+ } else {
+ destination.SystemData = nil
+ }
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(binding.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+func init() {
+ SchemeBuilder.Register(&TrustedAccessRoleBinding{}, &TrustedAccessRoleBindingList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/zz_generated.deepcopy.go
index a01bb76668..f358e1b10b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/zz_generated.deepcopy.go
@@ -6073,6 +6073,11 @@ func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOper
*out = new(genruntime.ConfigMapDestination)
**out = **in
}
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorConfigMaps.
@@ -8744,7 +8749,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -8822,11 +8827,6 @@ func (in *ManagedClusterWindowsProfile_ARM) DeepCopy() *ManagedClusterWindowsPro
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -8862,11 +8862,6 @@ func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindows
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS_ARM) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -10354,6 +10349,153 @@ func (in *ManagedClusters_AgentPool_Spec_ARM) DeepCopy() *ManagedClusters_AgentP
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_STATUS) {
+ *out = *in
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(TrustedAccessRoleBindingProperties_ProvisioningState_STATUS)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_STATUS.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(TrustedAccessRoleBindingProperties_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_Spec) {
+ *out = *in
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceReference != nil {
+ in, out := &in.SourceResourceReference, &out.SourceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_Spec.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) {
+ *out = *in
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(TrustedAccessRoleBindingProperties_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_Spec_ARM.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_Spec_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PortRange) DeepCopyInto(out *PortRange) {
*out = *in
@@ -11614,6 +11756,120 @@ func (in *SystemData_STATUS_ARM) DeepCopy() *SystemData_STATUS_ARM {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBinding) DeepCopyInto(out *TrustedAccessRoleBinding) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBinding.
+func (in *TrustedAccessRoleBinding) DeepCopy() *TrustedAccessRoleBinding {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBinding)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBinding) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingList) DeepCopyInto(out *TrustedAccessRoleBindingList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]TrustedAccessRoleBinding, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingList.
+func (in *TrustedAccessRoleBindingList) DeepCopy() *TrustedAccessRoleBindingList {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBindingList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingProperties_ARM) DeepCopyInto(out *TrustedAccessRoleBindingProperties_ARM) {
+ *out = *in
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingProperties_ARM.
+func (in *TrustedAccessRoleBindingProperties_ARM) DeepCopy() *TrustedAccessRoleBindingProperties_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingProperties_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingProperties_STATUS_ARM) DeepCopyInto(out *TrustedAccessRoleBindingProperties_STATUS_ARM) {
+ *out = *in
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(TrustedAccessRoleBindingProperties_ProvisioningState_STATUS)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingProperties_STATUS_ARM.
+func (in *TrustedAccessRoleBindingProperties_STATUS_ARM) DeepCopy() *TrustedAccessRoleBindingProperties_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingProperties_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UpgradeOverrideSettings) DeepCopyInto(out *UpgradeOverrideSettings) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_spec_arm_types_gen.go
index e653019f96..2ca8a0de43 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_spec_arm_types_gen.go
@@ -308,6 +308,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -598,6 +603,13 @@ const (
ManagedClusterIdentity_Type_UserAssigned = ManagedClusterIdentity_Type("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type
+var managedClusterIdentity_Type_Values = map[string]ManagedClusterIdentity_Type{
+ "none": ManagedClusterIdentity_Type_None,
+ "systemassigned": ManagedClusterIdentity_Type_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_UserAssigned,
+}
+
// Ingress profile for the container service cluster.
type ManagedClusterIngressProfile_ARM struct {
// WebAppRouting: Web App Routing settings for the ingress profile.
@@ -767,6 +779,11 @@ type ManagedClusterSKU_Name string
const ManagedClusterSKU_Name_Base = ManagedClusterSKU_Name("Base")
+// Mapping from string to ManagedClusterSKU_Name
+var managedClusterSKU_Name_Values = map[string]ManagedClusterSKU_Name{
+ "base": ManagedClusterSKU_Name_Base,
+}
+
// +kubebuilder:validation:Enum={"Free","Premium","Standard"}
type ManagedClusterSKU_Tier string
@@ -776,6 +793,13 @@ const (
ManagedClusterSKU_Tier_Standard = ManagedClusterSKU_Tier("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier
+var managedClusterSKU_Tier_Values = map[string]ManagedClusterSKU_Tier{
+ "free": ManagedClusterSKU_Tier_Free,
+ "premium": ManagedClusterSKU_Tier_Premium,
+ "standard": ManagedClusterSKU_Tier_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_status_arm_types_gen.go
index a6ef309a33..4a7efce718 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_status_arm_types_gen.go
@@ -364,6 +364,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile_STATUS_ARM struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -690,6 +695,13 @@ const (
ManagedClusterIdentity_Type_STATUS_UserAssigned = ManagedClusterIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to ManagedClusterIdentity_Type_STATUS
+var managedClusterIdentity_Type_STATUS_Values = map[string]ManagedClusterIdentity_Type_STATUS{
+ "none": ManagedClusterIdentity_Type_STATUS_None,
+ "systemassigned": ManagedClusterIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_STATUS_UserAssigned,
+}
+
type ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -866,6 +878,11 @@ type ManagedClusterSKU_Name_STATUS string
const ManagedClusterSKU_Name_STATUS_Base = ManagedClusterSKU_Name_STATUS("Base")
+// Mapping from string to ManagedClusterSKU_Name_STATUS
+var managedClusterSKU_Name_STATUS_Values = map[string]ManagedClusterSKU_Name_STATUS{
+ "base": ManagedClusterSKU_Name_STATUS_Base,
+}
+
type ManagedClusterSKU_Tier_STATUS string
const (
@@ -874,6 +891,13 @@ const (
ManagedClusterSKU_Tier_STATUS_Standard = ManagedClusterSKU_Tier_STATUS("Standard")
)
+// Mapping from string to ManagedClusterSKU_Tier_STATUS
+var managedClusterSKU_Tier_STATUS_Values = map[string]ManagedClusterSKU_Tier_STATUS{
+ "free": ManagedClusterSKU_Tier_STATUS_Free,
+ "premium": ManagedClusterSKU_Tier_STATUS_Premium,
+ "standard": ManagedClusterSKU_Tier_STATUS_Standard,
+}
+
// Storage profile for the container service cluster.
type ManagedClusterStorageProfile_STATUS_ARM struct {
// BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
@@ -891,18 +915,6 @@ type ManagedClusterStorageProfile_STATUS_ARM struct {
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS_ARM struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -992,6 +1004,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -1001,6 +1021,14 @@ const (
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
+
// Details about a user assigned identity.
type UserAssignedIdentity_STATUS_ARM struct {
// ClientId: The client ID of the user assigned identity.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_types_gen.go
index 7562e29a75..3802c75c07 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_cluster_types_gen.go
@@ -6,7 +6,7 @@ package v1api20231102preview
import (
"context"
"fmt"
- v20231102ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
@@ -55,7 +55,7 @@ var _ conversion.Convertible = &ManagedCluster{}
// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20231102ps.ManagedCluster
+ var source storage.ManagedCluster
err := source.ConvertFrom(hub)
if err != nil {
@@ -73,7 +73,7 @@ func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20231102ps.ManagedCluster
+ var destination storage.ManagedCluster
err := cluster.AssignProperties_To_ManagedCluster(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from cluster")
@@ -316,7 +316,7 @@ func (cluster *ManagedCluster) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v20231102ps.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
// ObjectMeta
cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -342,13 +342,13 @@ func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *v202
}
// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
-func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v20231102ps.ManagedCluster) error {
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
// ObjectMeta
destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
// Spec
- var spec v20231102ps.ManagedCluster_Spec
+ var spec storage.ManagedCluster_Spec
err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
@@ -356,7 +356,7 @@ func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *v
destination.Spec = spec
// Status
- var status v20231102ps.ManagedCluster_STATUS
+ var status storage.ManagedCluster_STATUS
err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
@@ -1498,14 +1498,14 @@ var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20231102ps.ManagedCluster_Spec)
+ src, ok := source.(*storage.ManagedCluster_Spec)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_Spec(src)
}
// Convert to an intermediate form
- src = &v20231102ps.ManagedCluster_Spec{}
+ src = &storage.ManagedCluster_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1522,14 +1522,14 @@ func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20231102ps.ManagedCluster_Spec)
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20231102ps.ManagedCluster_Spec{}
+ dst = &storage.ManagedCluster_Spec{}
err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1545,7 +1545,7 @@ func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *v20231102ps.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
// AadProfile
if source.AadProfile != nil {
@@ -1915,8 +1915,9 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -1995,8 +1996,9 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
// SupportPlan
if source.SupportPlan != nil {
- supportPlan := KubernetesSupportPlan(*source.SupportPlan)
- cluster.SupportPlan = &supportPlan
+ supportPlan := *source.SupportPlan
+ supportPlanTemp := genruntime.ToEnum(supportPlan, kubernetesSupportPlan_Values)
+ cluster.SupportPlan = &supportPlanTemp
} else {
cluster.SupportPlan = nil
}
@@ -2045,13 +2047,13 @@ func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(so
}
// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
-func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *v20231102ps.ManagedCluster_Spec) error {
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20231102ps.ManagedClusterAADProfile
+ var aadProfile storage.ManagedClusterAADProfile
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
@@ -2063,11 +2065,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20231102ps.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20231102ps.ManagedClusterAddonProfile
+ var addonProfile storage.ManagedClusterAddonProfile
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
@@ -2081,11 +2083,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20231102ps.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20231102ps.ManagedClusterAgentPoolProfile
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
@@ -2099,7 +2101,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AiToolchainOperatorProfile
if cluster.AiToolchainOperatorProfile != nil {
- var aiToolchainOperatorProfile v20231102ps.ManagedClusterAIToolchainOperatorProfile
+ var aiToolchainOperatorProfile storage.ManagedClusterAIToolchainOperatorProfile
err := cluster.AiToolchainOperatorProfile.AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(&aiToolchainOperatorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAIToolchainOperatorProfile() to populate field AiToolchainOperatorProfile")
@@ -2111,7 +2113,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20231102ps.ManagedClusterAPIServerAccessProfile
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
@@ -2123,7 +2125,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20231102ps.ManagedClusterProperties_AutoScalerProfile
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
@@ -2135,7 +2137,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20231102ps.ManagedClusterAutoUpgradeProfile
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
@@ -2147,7 +2149,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20231102ps.ManagedClusterAzureMonitorProfile
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
@@ -2162,7 +2164,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// CreationData
if cluster.CreationData != nil {
- var creationDatum v20231102ps.CreationData
+ var creationDatum storage.CreationData
err := cluster.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -2217,7 +2219,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20231102ps.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -2232,7 +2234,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20231102ps.ManagedClusterHTTPProxyConfig
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
@@ -2244,7 +2246,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Identity
if cluster.Identity != nil {
- var identity v20231102ps.ManagedClusterIdentity
+ var identity storage.ManagedClusterIdentity
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
@@ -2256,11 +2258,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20231102ps.UserAssignedIdentity, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20231102ps.UserAssignedIdentity
+ var identityProfile storage.UserAssignedIdentity
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
@@ -2274,7 +2276,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// IngressProfile
if cluster.IngressProfile != nil {
- var ingressProfile v20231102ps.ManagedClusterIngressProfile
+ var ingressProfile storage.ManagedClusterIngressProfile
err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile(&ingressProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile() to populate field IngressProfile")
@@ -2289,7 +2291,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20231102ps.ContainerServiceLinuxProfile
+ var linuxProfile storage.ContainerServiceLinuxProfile
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
@@ -2304,7 +2306,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// MetricsProfile
if cluster.MetricsProfile != nil {
- var metricsProfile v20231102ps.ManagedClusterMetricsProfile
+ var metricsProfile storage.ManagedClusterMetricsProfile
err := cluster.MetricsProfile.AssignProperties_To_ManagedClusterMetricsProfile(&metricsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterMetricsProfile() to populate field MetricsProfile")
@@ -2316,7 +2318,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20231102ps.ContainerServiceNetworkProfile
+ var networkProfile storage.ContainerServiceNetworkProfile
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
@@ -2328,7 +2330,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NodeProvisioningProfile
if cluster.NodeProvisioningProfile != nil {
- var nodeProvisioningProfile v20231102ps.ManagedClusterNodeProvisioningProfile
+ var nodeProvisioningProfile storage.ManagedClusterNodeProvisioningProfile
err := cluster.NodeProvisioningProfile.AssignProperties_To_ManagedClusterNodeProvisioningProfile(&nodeProvisioningProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeProvisioningProfile() to populate field NodeProvisioningProfile")
@@ -2343,7 +2345,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// NodeResourceGroupProfile
if cluster.NodeResourceGroupProfile != nil {
- var nodeResourceGroupProfile v20231102ps.ManagedClusterNodeResourceGroupProfile
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile
err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile(&nodeResourceGroupProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile() to populate field NodeResourceGroupProfile")
@@ -2355,7 +2357,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20231102ps.ManagedClusterOIDCIssuerProfile
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
@@ -2367,7 +2369,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// OperatorSpec
if cluster.OperatorSpec != nil {
- var operatorSpec v20231102ps.ManagedClusterOperatorSpec
+ var operatorSpec storage.ManagedClusterOperatorSpec
err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
@@ -2390,7 +2392,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20231102ps.ManagedClusterPodIdentityProfile
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
@@ -2402,11 +2404,11 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20231102ps.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20231102ps.PrivateLinkResource
+ var privateLinkResource storage.PrivateLinkResource
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
@@ -2428,7 +2430,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SafeguardsProfile
if cluster.SafeguardsProfile != nil {
- var safeguardsProfile v20231102ps.SafeguardsProfile
+ var safeguardsProfile storage.SafeguardsProfile
err := cluster.SafeguardsProfile.AssignProperties_To_SafeguardsProfile(&safeguardsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SafeguardsProfile() to populate field SafeguardsProfile")
@@ -2440,7 +2442,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20231102ps.ManagedClusterSecurityProfile
+ var securityProfile storage.ManagedClusterSecurityProfile
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
@@ -2452,7 +2454,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServiceMeshProfile
if cluster.ServiceMeshProfile != nil {
- var serviceMeshProfile v20231102ps.ServiceMeshProfile
+ var serviceMeshProfile storage.ServiceMeshProfile
err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile() to populate field ServiceMeshProfile")
@@ -2464,7 +2466,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20231102ps.ManagedClusterServicePrincipalProfile
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
@@ -2476,7 +2478,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// Sku
if cluster.Sku != nil {
- var sku v20231102ps.ManagedClusterSKU
+ var sku storage.ManagedClusterSKU
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
@@ -2488,7 +2490,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20231102ps.ManagedClusterStorageProfile
+ var storageProfile storage.ManagedClusterStorageProfile
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
@@ -2511,7 +2513,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// UpgradeSettings
if cluster.UpgradeSettings != nil {
- var upgradeSetting v20231102ps.ClusterUpgradeSettings
+ var upgradeSetting storage.ClusterUpgradeSettings
err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings() to populate field UpgradeSettings")
@@ -2523,7 +2525,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20231102ps.ManagedClusterWindowsProfile
+ var windowsProfile storage.ManagedClusterWindowsProfile
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
@@ -2535,7 +2537,7 @@ func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(dest
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20231102ps.ManagedClusterWorkloadAutoScalerProfile
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
@@ -2759,14 +2761,14 @@ var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20231102ps.ManagedCluster_STATUS)
+ src, ok := source.(*storage.ManagedCluster_STATUS)
if ok {
// Populate our instance from source
return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
}
// Convert to an intermediate form
- src = &v20231102ps.ManagedCluster_STATUS{}
+ src = &storage.ManagedCluster_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2783,14 +2785,14 @@ func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20231102ps.ManagedCluster_STATUS)
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
if ok {
// Populate destination from our instance
return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20231102ps.ManagedCluster_STATUS{}
+ dst = &storage.ManagedCluster_STATUS{}
err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -3472,7 +3474,7 @@ func (cluster *ManagedCluster_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *v20231102ps.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
// AadProfile
if source.AadProfile != nil {
@@ -3853,8 +3855,9 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// PublicNetworkAccess
if source.PublicNetworkAccess != nil {
- publicNetworkAccess := ManagedClusterProperties_PublicNetworkAccess_STATUS(*source.PublicNetworkAccess)
- cluster.PublicNetworkAccess = &publicNetworkAccess
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_STATUS_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
} else {
cluster.PublicNetworkAccess = nil
}
@@ -3936,8 +3939,9 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
// SupportPlan
if source.SupportPlan != nil {
- supportPlan := KubernetesSupportPlan_STATUS(*source.SupportPlan)
- cluster.SupportPlan = &supportPlan
+ supportPlan := *source.SupportPlan
+ supportPlanTemp := genruntime.ToEnum(supportPlan, kubernetesSupportPlan_STATUS_Values)
+ cluster.SupportPlan = &supportPlanTemp
} else {
cluster.SupportPlan = nil
}
@@ -4001,13 +4005,13 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATU
}
// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
-func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *v20231102ps.ManagedCluster_STATUS) error {
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AadProfile
if cluster.AadProfile != nil {
- var aadProfile v20231102ps.ManagedClusterAADProfile_STATUS
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
@@ -4019,11 +4023,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AddonProfiles
if cluster.AddonProfiles != nil {
- addonProfileMap := make(map[string]v20231102ps.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
// Shadow the loop variable to avoid aliasing
addonProfileValue := addonProfileValue
- var addonProfile v20231102ps.ManagedClusterAddonProfile_STATUS
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
@@ -4037,11 +4041,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AgentPoolProfiles
if cluster.AgentPoolProfiles != nil {
- agentPoolProfileList := make([]v20231102ps.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
// Shadow the loop variable to avoid aliasing
agentPoolProfileItem := agentPoolProfileItem
- var agentPoolProfile v20231102ps.ManagedClusterAgentPoolProfile_STATUS
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
@@ -4055,7 +4059,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AiToolchainOperatorProfile
if cluster.AiToolchainOperatorProfile != nil {
- var aiToolchainOperatorProfile v20231102ps.ManagedClusterAIToolchainOperatorProfile_STATUS
+ var aiToolchainOperatorProfile storage.ManagedClusterAIToolchainOperatorProfile_STATUS
err := cluster.AiToolchainOperatorProfile.AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(&aiToolchainOperatorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS() to populate field AiToolchainOperatorProfile")
@@ -4067,7 +4071,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ApiServerAccessProfile
if cluster.ApiServerAccessProfile != nil {
- var apiServerAccessProfile v20231102ps.ManagedClusterAPIServerAccessProfile_STATUS
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
@@ -4079,7 +4083,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoScalerProfile
if cluster.AutoScalerProfile != nil {
- var autoScalerProfile v20231102ps.ManagedClusterProperties_AutoScalerProfile_STATUS
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
@@ -4091,7 +4095,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AutoUpgradeProfile
if cluster.AutoUpgradeProfile != nil {
- var autoUpgradeProfile v20231102ps.ManagedClusterAutoUpgradeProfile_STATUS
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
@@ -4103,7 +4107,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// AzureMonitorProfile
if cluster.AzureMonitorProfile != nil {
- var azureMonitorProfile v20231102ps.ManagedClusterAzureMonitorProfile_STATUS
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
@@ -4121,7 +4125,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// CreationData
if cluster.CreationData != nil {
- var creationDatum v20231102ps.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := cluster.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -4174,7 +4178,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ExtendedLocation
if cluster.ExtendedLocation != nil {
- var extendedLocation v20231102ps.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -4192,7 +4196,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// HttpProxyConfig
if cluster.HttpProxyConfig != nil {
- var httpProxyConfig v20231102ps.ManagedClusterHTTPProxyConfig_STATUS
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
@@ -4207,7 +4211,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Identity
if cluster.Identity != nil {
- var identity v20231102ps.ManagedClusterIdentity_STATUS
+ var identity storage.ManagedClusterIdentity_STATUS
err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
@@ -4219,11 +4223,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IdentityProfile
if cluster.IdentityProfile != nil {
- identityProfileMap := make(map[string]v20231102ps.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
// Shadow the loop variable to avoid aliasing
identityProfileValue := identityProfileValue
- var identityProfile v20231102ps.UserAssignedIdentity_STATUS
+ var identityProfile storage.UserAssignedIdentity_STATUS
err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
@@ -4237,7 +4241,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// IngressProfile
if cluster.IngressProfile != nil {
- var ingressProfile v20231102ps.ManagedClusterIngressProfile_STATUS
+ var ingressProfile storage.ManagedClusterIngressProfile_STATUS
err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile_STATUS(&ingressProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile_STATUS() to populate field IngressProfile")
@@ -4252,7 +4256,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// LinuxProfile
if cluster.LinuxProfile != nil {
- var linuxProfile v20231102ps.ContainerServiceLinuxProfile_STATUS
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
@@ -4270,7 +4274,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// MetricsProfile
if cluster.MetricsProfile != nil {
- var metricsProfile v20231102ps.ManagedClusterMetricsProfile_STATUS
+ var metricsProfile storage.ManagedClusterMetricsProfile_STATUS
err := cluster.MetricsProfile.AssignProperties_To_ManagedClusterMetricsProfile_STATUS(&metricsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterMetricsProfile_STATUS() to populate field MetricsProfile")
@@ -4285,7 +4289,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NetworkProfile
if cluster.NetworkProfile != nil {
- var networkProfile v20231102ps.ContainerServiceNetworkProfile_STATUS
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -4297,7 +4301,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NodeProvisioningProfile
if cluster.NodeProvisioningProfile != nil {
- var nodeProvisioningProfile v20231102ps.ManagedClusterNodeProvisioningProfile_STATUS
+ var nodeProvisioningProfile storage.ManagedClusterNodeProvisioningProfile_STATUS
err := cluster.NodeProvisioningProfile.AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(&nodeProvisioningProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS() to populate field NodeProvisioningProfile")
@@ -4312,7 +4316,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// NodeResourceGroupProfile
if cluster.NodeResourceGroupProfile != nil {
- var nodeResourceGroupProfile v20231102ps.ManagedClusterNodeResourceGroupProfile_STATUS
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile_STATUS
err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(&nodeResourceGroupProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS() to populate field NodeResourceGroupProfile")
@@ -4324,7 +4328,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// OidcIssuerProfile
if cluster.OidcIssuerProfile != nil {
- var oidcIssuerProfile v20231102ps.ManagedClusterOIDCIssuerProfile_STATUS
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
@@ -4336,7 +4340,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PodIdentityProfile
if cluster.PodIdentityProfile != nil {
- var podIdentityProfile v20231102ps.ManagedClusterPodIdentityProfile_STATUS
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
@@ -4348,7 +4352,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PowerState
if cluster.PowerState != nil {
- var powerState v20231102ps.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -4363,11 +4367,11 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// PrivateLinkResources
if cluster.PrivateLinkResources != nil {
- privateLinkResourceList := make([]v20231102ps.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
// Shadow the loop variable to avoid aliasing
privateLinkResourceItem := privateLinkResourceItem
- var privateLinkResource v20231102ps.PrivateLinkResource_STATUS
+ var privateLinkResource storage.PrivateLinkResource_STATUS
err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
@@ -4395,7 +4399,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SafeguardsProfile
if cluster.SafeguardsProfile != nil {
- var safeguardsProfile v20231102ps.SafeguardsProfile_STATUS
+ var safeguardsProfile storage.SafeguardsProfile_STATUS
err := cluster.SafeguardsProfile.AssignProperties_To_SafeguardsProfile_STATUS(&safeguardsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SafeguardsProfile_STATUS() to populate field SafeguardsProfile")
@@ -4407,7 +4411,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SecurityProfile
if cluster.SecurityProfile != nil {
- var securityProfile v20231102ps.ManagedClusterSecurityProfile_STATUS
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -4419,7 +4423,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServiceMeshProfile
if cluster.ServiceMeshProfile != nil {
- var serviceMeshProfile v20231102ps.ServiceMeshProfile_STATUS
+ var serviceMeshProfile storage.ServiceMeshProfile_STATUS
err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile_STATUS(&serviceMeshProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
@@ -4431,7 +4435,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// ServicePrincipalProfile
if cluster.ServicePrincipalProfile != nil {
- var servicePrincipalProfile v20231102ps.ManagedClusterServicePrincipalProfile_STATUS
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
@@ -4443,7 +4447,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// Sku
if cluster.Sku != nil {
- var sku v20231102ps.ManagedClusterSKU_STATUS
+ var sku storage.ManagedClusterSKU_STATUS
err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
@@ -4455,7 +4459,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// StorageProfile
if cluster.StorageProfile != nil {
- var storageProfile v20231102ps.ManagedClusterStorageProfile_STATUS
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
@@ -4475,7 +4479,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// SystemData
if cluster.SystemData != nil {
- var systemDatum v20231102ps.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -4493,7 +4497,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// UpgradeSettings
if cluster.UpgradeSettings != nil {
- var upgradeSetting v20231102ps.ClusterUpgradeSettings_STATUS
+ var upgradeSetting storage.ClusterUpgradeSettings_STATUS
err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -4505,7 +4509,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WindowsProfile
if cluster.WindowsProfile != nil {
- var windowsProfile v20231102ps.ManagedClusterWindowsProfile_STATUS
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -4517,7 +4521,7 @@ func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(
// WorkloadAutoScalerProfile
if cluster.WorkloadAutoScalerProfile != nil {
- var workloadAutoScalerProfile v20231102ps.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
@@ -4593,7 +4597,7 @@ func (settings *ClusterUpgradeSettings) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ClusterUpgradeSettings populates our ClusterUpgradeSettings from the provided source ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *v20231102ps.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *storage.ClusterUpgradeSettings) error {
// OverrideSettings
if source.OverrideSettings != nil {
@@ -4612,13 +4616,13 @@ func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSett
}
// AssignProperties_To_ClusterUpgradeSettings populates the provided destination ClusterUpgradeSettings from our ClusterUpgradeSettings
-func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *v20231102ps.ClusterUpgradeSettings) error {
+func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *storage.ClusterUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20231102ps.UpgradeOverrideSettings
+ var overrideSetting storage.UpgradeOverrideSettings
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings() to populate field OverrideSettings")
@@ -4675,7 +4679,7 @@ func (settings *ClusterUpgradeSettings_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ClusterUpgradeSettings_STATUS populates our ClusterUpgradeSettings_STATUS from the provided source ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *v20231102ps.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *storage.ClusterUpgradeSettings_STATUS) error {
// OverrideSettings
if source.OverrideSettings != nil {
@@ -4694,13 +4698,13 @@ func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgr
}
// AssignProperties_To_ClusterUpgradeSettings_STATUS populates the provided destination ClusterUpgradeSettings_STATUS from our ClusterUpgradeSettings_STATUS
-func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *v20231102ps.ClusterUpgradeSettings_STATUS) error {
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *storage.ClusterUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// OverrideSettings
if settings.OverrideSettings != nil {
- var overrideSetting v20231102ps.UpgradeOverrideSettings_STATUS
+ var overrideSetting storage.UpgradeOverrideSettings_STATUS
err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings_STATUS(&overrideSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
@@ -4794,7 +4798,7 @@ func (profile *ContainerServiceLinuxProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *v20231102ps.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
// AdminUsername
if source.AdminUsername != nil {
@@ -4821,7 +4825,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServ
}
// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
-func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *v20231102ps.ContainerServiceLinuxProfile) error {
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4835,7 +4839,7 @@ func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServic
// Ssh
if profile.Ssh != nil {
- var ssh v20231102ps.ContainerServiceSshConfiguration
+ var ssh storage.ContainerServiceSshConfiguration
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
@@ -4901,7 +4905,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *v20231102ps.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -4923,7 +4927,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_Contai
}
// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
-func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *v20231102ps.ContainerServiceLinuxProfile_STATUS) error {
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4932,7 +4936,7 @@ func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_Containe
// Ssh
if profile.Ssh != nil {
- var ssh v20231102ps.ContainerServiceSshConfiguration_STATUS
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
@@ -5283,7 +5287,7 @@ func (profile *ContainerServiceNetworkProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *v20231102ps.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
// DnsServiceIP
if source.DnsServiceIP != nil {
@@ -5299,7 +5303,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = IpFamily(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, ipFamily_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -5332,8 +5336,9 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := LoadBalancerSku(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, loadBalancerSku_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -5364,48 +5369,54 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := NetworkDataplane(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, networkDataplane_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := NetworkMode(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, networkMode_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := NetworkPlugin(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := NetworkPluginMode(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, networkPluginMode_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := NetworkPolicy(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, networkPolicy_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -5437,7 +5448,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
-func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *v20231102ps.ContainerServiceNetworkProfile) error {
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5464,7 +5475,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// KubeProxyConfig
if profile.KubeProxyConfig != nil {
- var kubeProxyConfig v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig
err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(&kubeProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig() to populate field KubeProxyConfig")
@@ -5476,7 +5487,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20231102ps.ManagedClusterLoadBalancerProfile
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
@@ -5496,7 +5507,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// Monitoring
if profile.Monitoring != nil {
- var monitoring v20231102ps.NetworkMonitoring
+ var monitoring storage.NetworkMonitoring
err := profile.Monitoring.AssignProperties_To_NetworkMonitoring(&monitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkMonitoring() to populate field Monitoring")
@@ -5508,7 +5519,7 @@ func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServ
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20231102ps.ManagedClusterNATGatewayProfile
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
@@ -5802,7 +5813,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *v20231102ps.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
// DnsServiceIP
profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
@@ -5813,7 +5824,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
// Shadow the loop variable to avoid aliasing
ipFamilyItem := ipFamilyItem
- ipFamilyList[ipFamilyIndex] = IpFamily_STATUS(ipFamilyItem)
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, ipFamily_STATUS_Values)
}
profile.IpFamilies = ipFamilyList
} else {
@@ -5846,8 +5857,9 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// LoadBalancerSku
if source.LoadBalancerSku != nil {
- loadBalancerSku := LoadBalancerSku_STATUS(*source.LoadBalancerSku)
- profile.LoadBalancerSku = &loadBalancerSku
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, loadBalancerSku_STATUS_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
} else {
profile.LoadBalancerSku = nil
}
@@ -5878,48 +5890,54 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
// NetworkDataplane
if source.NetworkDataplane != nil {
- networkDataplane := NetworkDataplane_STATUS(*source.NetworkDataplane)
- profile.NetworkDataplane = &networkDataplane
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, networkDataplane_STATUS_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
} else {
profile.NetworkDataplane = nil
}
// NetworkMode
if source.NetworkMode != nil {
- networkMode := NetworkMode_STATUS(*source.NetworkMode)
- profile.NetworkMode = &networkMode
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, networkMode_STATUS_Values)
+ profile.NetworkMode = &networkModeTemp
} else {
profile.NetworkMode = nil
}
// NetworkPlugin
if source.NetworkPlugin != nil {
- networkPlugin := NetworkPlugin_STATUS(*source.NetworkPlugin)
- profile.NetworkPlugin = &networkPlugin
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_STATUS_Values)
+ profile.NetworkPlugin = &networkPluginTemp
} else {
profile.NetworkPlugin = nil
}
// NetworkPluginMode
if source.NetworkPluginMode != nil {
- networkPluginMode := NetworkPluginMode_STATUS(*source.NetworkPluginMode)
- profile.NetworkPluginMode = &networkPluginMode
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, networkPluginMode_STATUS_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
} else {
profile.NetworkPluginMode = nil
}
// NetworkPolicy
if source.NetworkPolicy != nil {
- networkPolicy := NetworkPolicy_STATUS(*source.NetworkPolicy)
- profile.NetworkPolicy = &networkPolicy
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, networkPolicy_STATUS_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
} else {
profile.NetworkPolicy = nil
}
// OutboundType
if source.OutboundType != nil {
- outboundType := ContainerServiceNetworkProfile_OutboundType_STATUS(*source.OutboundType)
- profile.OutboundType = &outboundType
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_STATUS_Values)
+ profile.OutboundType = &outboundTypeTemp
} else {
profile.OutboundType = nil
}
@@ -5941,7 +5959,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
-func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *v20231102ps.ContainerServiceNetworkProfile_STATUS) error {
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5963,7 +5981,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// KubeProxyConfig
if profile.KubeProxyConfig != nil {
- var kubeProxyConfig v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(&kubeProxyConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS() to populate field KubeProxyConfig")
@@ -5975,7 +5993,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// LoadBalancerProfile
if profile.LoadBalancerProfile != nil {
- var loadBalancerProfile v20231102ps.ManagedClusterLoadBalancerProfile_STATUS
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
@@ -5995,7 +6013,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// Monitoring
if profile.Monitoring != nil {
- var monitoring v20231102ps.NetworkMonitoring_STATUS
+ var monitoring storage.NetworkMonitoring_STATUS
err := profile.Monitoring.AssignProperties_To_NetworkMonitoring_STATUS(&monitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkMonitoring_STATUS() to populate field Monitoring")
@@ -6007,7 +6025,7 @@ func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_Contai
// NatGatewayProfile
if profile.NatGatewayProfile != nil {
- var natGatewayProfile v20231102ps.ManagedClusterNATGatewayProfile_STATUS
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
@@ -6134,7 +6152,7 @@ func (data *CreationData) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
-func (data *CreationData) AssignProperties_From_CreationData(source *v20231102ps.CreationData) error {
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
// SourceResourceReference
if source.SourceResourceReference != nil {
@@ -6149,7 +6167,7 @@ func (data *CreationData) AssignProperties_From_CreationData(source *v20231102ps
}
// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
-func (data *CreationData) AssignProperties_To_CreationData(destination *v20231102ps.CreationData) error {
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6203,7 +6221,7 @@ func (data *CreationData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *v20231102ps.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
// SourceResourceId
data.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
@@ -6213,7 +6231,7 @@ func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(sourc
}
// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
-func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *v20231102ps.CreationData_STATUS) error {
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6292,15 +6310,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20231102ps.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -6310,7 +6329,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20231102ps.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6376,15 +6395,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20231102ps.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -6394,7 +6414,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20231102ps.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6429,6 +6449,12 @@ const (
KubernetesSupportPlan_KubernetesOfficial = KubernetesSupportPlan("KubernetesOfficial")
)
+// Mapping from string to KubernetesSupportPlan
+var kubernetesSupportPlan_Values = map[string]KubernetesSupportPlan{
+ "akslongtermsupport": KubernetesSupportPlan_AKSLongTermSupport,
+ "kubernetesofficial": KubernetesSupportPlan_KubernetesOfficial,
+}
+
// Different support tiers for AKS managed clusters
type KubernetesSupportPlan_STATUS string
@@ -6437,6 +6463,12 @@ const (
KubernetesSupportPlan_STATUS_KubernetesOfficial = KubernetesSupportPlan_STATUS("KubernetesOfficial")
)
+// Mapping from string to KubernetesSupportPlan_STATUS
+var kubernetesSupportPlan_STATUS_Values = map[string]KubernetesSupportPlan_STATUS{
+ "akslongtermsupport": KubernetesSupportPlan_STATUS_AKSLongTermSupport,
+ "kubernetesofficial": KubernetesSupportPlan_STATUS_KubernetesOfficial,
+}
+
// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
type ManagedClusterAADProfile struct {
// AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
@@ -6572,7 +6604,7 @@ func (profile *ManagedClusterAADProfile) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *v20231102ps.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -6610,7 +6642,7 @@ func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAAD
}
// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
-func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *v20231102ps.ManagedClusterAADProfile) error {
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6741,7 +6773,7 @@ func (profile *ManagedClusterAADProfile_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *v20231102ps.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
// AdminGroupObjectIDs
profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
@@ -6779,7 +6811,7 @@ func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
-func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *v20231102ps.ManagedClusterAADProfile_STATUS) error {
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6891,7 +6923,7 @@ func (profile *ManagedClusterAddonProfile) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *v20231102ps.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -6909,7 +6941,7 @@ func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterA
}
// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
-func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *v20231102ps.ManagedClusterAddonProfile) error {
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6991,7 +7023,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *v20231102ps.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
// Config
profile.Config = genruntime.CloneMapOfStringToString(source.Config)
@@ -7021,7 +7053,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
-func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *v20231102ps.ManagedClusterAddonProfile_STATUS) error {
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7038,7 +7070,7 @@ func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClu
// Identity
if profile.Identity != nil {
- var identity v20231102ps.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -8000,7 +8032,7 @@ func (profile *ManagedClusterAgentPoolProfile) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *v20231102ps.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
// ArtifactStreamingProfile
if source.ArtifactStreamingProfile != nil {
@@ -8090,8 +8122,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -8130,8 +8163,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -8162,8 +8196,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -8218,24 +8253,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -8270,24 +8308,27 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -8317,8 +8358,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -8390,8 +8432,9 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -8401,13 +8444,13 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
-func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *v20231102ps.ManagedClusterAgentPoolProfile) error {
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ArtifactStreamingProfile
if profile.ArtifactStreamingProfile != nil {
- var artifactStreamingProfile v20231102ps.AgentPoolArtifactStreamingProfile
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile
err := profile.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile(&artifactStreamingProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
@@ -8433,7 +8476,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// CreationData
if profile.CreationData != nil {
- var creationDatum v20231102ps.CreationData
+ var creationDatum storage.CreationData
err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -8501,7 +8544,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// GpuProfile
if profile.GpuProfile != nil {
- var gpuProfile v20231102ps.AgentPoolGPUProfile
+ var gpuProfile storage.AgentPoolGPUProfile
err := profile.GpuProfile.AssignProperties_To_AgentPoolGPUProfile(&gpuProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile() to populate field GpuProfile")
@@ -8521,7 +8564,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20231102ps.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -8541,7 +8584,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20231102ps.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -8581,7 +8624,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// NetworkProfile
if profile.NetworkProfile != nil {
- var networkProfile v20231102ps.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
@@ -8653,7 +8696,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// PowerState
if profile.PowerState != nil {
- var powerState v20231102ps.PowerState
+ var powerState storage.PowerState
err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -8697,7 +8740,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// SecurityProfile
if profile.SecurityProfile != nil {
- var securityProfile v20231102ps.AgentPoolSecurityProfile
+ var securityProfile storage.AgentPoolSecurityProfile
err := profile.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile() to populate field SecurityProfile")
@@ -8728,7 +8771,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20231102ps.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -8740,11 +8783,11 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// VirtualMachineNodesStatus
if profile.VirtualMachineNodesStatus != nil {
- virtualMachineNodesStatusList := make([]v20231102ps.VirtualMachineNodes, len(profile.VirtualMachineNodesStatus))
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes, len(profile.VirtualMachineNodesStatus))
for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range profile.VirtualMachineNodesStatus {
// Shadow the loop variable to avoid aliasing
virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
- var virtualMachineNodesStatus v20231102ps.VirtualMachineNodes
+ var virtualMachineNodesStatus storage.VirtualMachineNodes
err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes(&virtualMachineNodesStatus)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
@@ -8758,7 +8801,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// VirtualMachinesProfile
if profile.VirtualMachinesProfile != nil {
- var virtualMachinesProfile v20231102ps.VirtualMachinesProfile
+ var virtualMachinesProfile storage.VirtualMachinesProfile
err := profile.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile(&virtualMachinesProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
@@ -8781,7 +8824,7 @@ func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedCluste
// WindowsProfile
if profile.WindowsProfile != nil {
- var windowsProfile v20231102ps.AgentPoolWindowsProfile
+ var windowsProfile storage.AgentPoolWindowsProfile
err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
@@ -9411,7 +9454,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *v20231102ps.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// ArtifactStreamingProfile
if source.ArtifactStreamingProfile != nil {
@@ -9499,8 +9542,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- profile.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
profile.GpuInstanceProfile = nil
}
@@ -9534,8 +9578,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- profile.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
} else {
profile.KubeletDiskType = nil
}
@@ -9566,8 +9611,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -9610,24 +9656,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- profile.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ profile.OsDiskType = &osDiskTypeTemp
} else {
profile.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- profile.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ profile.OsSKU = &osSKUTemp
} else {
profile.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- profile.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ profile.OsType = &osTypeTemp
} else {
profile.OsType = nil
}
@@ -9655,24 +9704,27 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- profile.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
} else {
profile.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
profile.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- profile.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
} else {
profile.ScaleSetPriority = nil
}
@@ -9702,8 +9754,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// Type
if source.Type != nil {
- typeVar := AgentPoolType_STATUS(*source.Type)
- profile.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_STATUS_Values)
+ profile.Type = &typeTemp
} else {
profile.Type = nil
}
@@ -9770,8 +9823,9 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- profile.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
} else {
profile.WorkloadRuntime = nil
}
@@ -9781,13 +9835,13 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
-func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *v20231102ps.ManagedClusterAgentPoolProfile_STATUS) error {
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ArtifactStreamingProfile
if profile.ArtifactStreamingProfile != nil {
- var artifactStreamingProfile v20231102ps.AgentPoolArtifactStreamingProfile_STATUS
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile_STATUS
err := profile.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(&artifactStreamingProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
@@ -9808,7 +9862,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// CreationData
if profile.CreationData != nil {
- var creationDatum v20231102ps.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -9879,7 +9933,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// GpuProfile
if profile.GpuProfile != nil {
- var gpuProfile v20231102ps.AgentPoolGPUProfile_STATUS
+ var gpuProfile storage.AgentPoolGPUProfile_STATUS
err := profile.GpuProfile.AssignProperties_To_AgentPoolGPUProfile_STATUS(&gpuProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
@@ -9894,7 +9948,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// KubeletConfig
if profile.KubeletConfig != nil {
- var kubeletConfig v20231102ps.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -9914,7 +9968,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// LinuxOSConfig
if profile.LinuxOSConfig != nil {
- var linuxOSConfig v20231102ps.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -9949,7 +10003,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// NetworkProfile
if profile.NetworkProfile != nil {
- var networkProfile v20231102ps.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -10009,7 +10063,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// PowerState
if profile.PowerState != nil {
- var powerState v20231102ps.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -10051,7 +10105,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// SecurityProfile
if profile.SecurityProfile != nil {
- var securityProfile v20231102ps.AgentPoolSecurityProfile_STATUS
+ var securityProfile storage.AgentPoolSecurityProfile_STATUS
err := profile.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -10082,7 +10136,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// UpgradeSettings
if profile.UpgradeSettings != nil {
- var upgradeSetting v20231102ps.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -10094,11 +10148,11 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// VirtualMachineNodesStatus
if profile.VirtualMachineNodesStatus != nil {
- virtualMachineNodesStatusList := make([]v20231102ps.VirtualMachineNodes_STATUS, len(profile.VirtualMachineNodesStatus))
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes_STATUS, len(profile.VirtualMachineNodesStatus))
for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range profile.VirtualMachineNodesStatus {
// Shadow the loop variable to avoid aliasing
virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
- var virtualMachineNodesStatus v20231102ps.VirtualMachineNodes_STATUS
+ var virtualMachineNodesStatus storage.VirtualMachineNodes_STATUS
err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes_STATUS(&virtualMachineNodesStatus)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
@@ -10112,7 +10166,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// VirtualMachinesProfile
if profile.VirtualMachinesProfile != nil {
- var virtualMachinesProfile v20231102ps.VirtualMachinesProfile_STATUS
+ var virtualMachinesProfile storage.VirtualMachinesProfile_STATUS
err := profile.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile_STATUS(&virtualMachinesProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
@@ -10130,7 +10184,7 @@ func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_Manage
// WindowsProfile
if profile.WindowsProfile != nil {
- var windowsProfile v20231102ps.AgentPoolWindowsProfile_STATUS
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -10207,7 +10261,7 @@ func (profile *ManagedClusterAIToolchainOperatorProfile) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAIToolchainOperatorProfile populates our ManagedClusterAIToolchainOperatorProfile from the provided source ManagedClusterAIToolchainOperatorProfile
-func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile(source *v20231102ps.ManagedClusterAIToolchainOperatorProfile) error {
+func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile(source *storage.ManagedClusterAIToolchainOperatorProfile) error {
// Enabled
if source.Enabled != nil {
@@ -10222,7 +10276,7 @@ func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAIToolchainOperatorProfile populates the provided destination ManagedClusterAIToolchainOperatorProfile from our ManagedClusterAIToolchainOperatorProfile
-func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(destination *v20231102ps.ManagedClusterAIToolchainOperatorProfile) error {
+func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(destination *storage.ManagedClusterAIToolchainOperatorProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10278,7 +10332,7 @@ func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS populates our ManagedClusterAIToolchainOperatorProfile_STATUS from the provided source ManagedClusterAIToolchainOperatorProfile_STATUS
-func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS(source *v20231102ps.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS(source *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -10293,7 +10347,7 @@ func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS populates the provided destination ManagedClusterAIToolchainOperatorProfile_STATUS from our ManagedClusterAIToolchainOperatorProfile_STATUS
-func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(destination *v20231102ps.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(destination *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10456,7 +10510,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *v20231102ps.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -10504,7 +10558,7 @@ func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
-func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *v20231102ps.ManagedClusterAPIServerAccessProfile) error {
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10650,7 +10704,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *v20231102ps.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// AuthorizedIPRanges
profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
@@ -10698,7 +10752,7 @@ func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
-func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *v20231102ps.ManagedClusterAPIServerAccessProfile_STATUS) error {
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10816,20 +10870,22 @@ func (profile *ManagedClusterAutoUpgradeProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *v20231102ps.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel(*source.NodeOSUpgradeChannel)
- profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
} else {
profile.NodeOSUpgradeChannel = nil
}
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -10839,7 +10895,7 @@ func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
-func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *v20231102ps.ManagedClusterAutoUpgradeProfile) error {
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10911,20 +10967,22 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *v20231102ps.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// NodeOSUpgradeChannel
if source.NodeOSUpgradeChannel != nil {
- nodeOSUpgradeChannel := ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS(*source.NodeOSUpgradeChannel)
- profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
} else {
profile.NodeOSUpgradeChannel = nil
}
// UpgradeChannel
if source.UpgradeChannel != nil {
- upgradeChannel := ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS(*source.UpgradeChannel)
- profile.UpgradeChannel = &upgradeChannel
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
} else {
profile.UpgradeChannel = nil
}
@@ -10934,7 +10992,7 @@ func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
-func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *v20231102ps.ManagedClusterAutoUpgradeProfile_STATUS) error {
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11045,7 +11103,7 @@ func (profile *ManagedClusterAzureMonitorProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *v20231102ps.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
// Logs
if source.Logs != nil {
@@ -11076,13 +11134,13 @@ func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
-func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *v20231102ps.ManagedClusterAzureMonitorProfile) error {
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Logs
if profile.Logs != nil {
- var log v20231102ps.ManagedClusterAzureMonitorProfileLogs
+ var log storage.ManagedClusterAzureMonitorProfileLogs
err := profile.Logs.AssignProperties_To_ManagedClusterAzureMonitorProfileLogs(&log)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileLogs() to populate field Logs")
@@ -11094,7 +11152,7 @@ func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClu
// Metrics
if profile.Metrics != nil {
- var metric v20231102ps.ManagedClusterAzureMonitorProfileMetrics
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
@@ -11166,7 +11224,7 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Logs
if source.Logs != nil {
@@ -11197,13 +11255,13 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
-func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfile_STATUS) error {
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Logs
if profile.Logs != nil {
- var log v20231102ps.ManagedClusterAzureMonitorProfileLogs_STATUS
+ var log storage.ManagedClusterAzureMonitorProfileLogs_STATUS
err := profile.Logs.AssignProperties_To_ManagedClusterAzureMonitorProfileLogs_STATUS(&log)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileLogs_STATUS() to populate field Logs")
@@ -11215,7 +11273,7 @@ func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_Man
// Metrics
if profile.Metrics != nil {
- var metric v20231102ps.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
@@ -11325,7 +11383,7 @@ func (config *ManagedClusterHTTPProxyConfig) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *v20231102ps.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
// HttpProxy
config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
@@ -11344,7 +11402,7 @@ func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
-func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *v20231102ps.ManagedClusterHTTPProxyConfig) error {
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11437,7 +11495,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *v20231102ps.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// EffectiveNoProxy
config.EffectiveNoProxy = genruntime.CloneSliceOfString(source.EffectiveNoProxy)
@@ -11459,7 +11517,7 @@ func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
-func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *v20231102ps.ManagedClusterHTTPProxyConfig_STATUS) error {
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11582,7 +11640,7 @@ func (identity *ManagedClusterIdentity) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *v20231102ps.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
// DelegatedResources
if source.DelegatedResources != nil {
@@ -11604,8 +11662,9 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -11633,17 +11692,17 @@ func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIden
}
// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
-func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *v20231102ps.ManagedClusterIdentity) error {
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DelegatedResources
if identity.DelegatedResources != nil {
- delegatedResourceMap := make(map[string]v20231102ps.DelegatedResource, len(identity.DelegatedResources))
+ delegatedResourceMap := make(map[string]storage.DelegatedResource, len(identity.DelegatedResources))
for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
// Shadow the loop variable to avoid aliasing
delegatedResourceValue := delegatedResourceValue
- var delegatedResource v20231102ps.DelegatedResource
+ var delegatedResource storage.DelegatedResource
err := delegatedResourceValue.AssignProperties_To_DelegatedResource(&delegatedResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource() to populate field DelegatedResources")
@@ -11665,11 +11724,11 @@ func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231102ps.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231102ps.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -11776,7 +11835,7 @@ func (identity *ManagedClusterIdentity_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *v20231102ps.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
// DelegatedResources
if source.DelegatedResources != nil {
@@ -11804,8 +11863,9 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
// Type
if source.Type != nil {
- typeVar := ManagedClusterIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -11833,17 +11893,17 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClus
}
// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
-func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *v20231102ps.ManagedClusterIdentity_STATUS) error {
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DelegatedResources
if identity.DelegatedResources != nil {
- delegatedResourceMap := make(map[string]v20231102ps.DelegatedResource_STATUS, len(identity.DelegatedResources))
+ delegatedResourceMap := make(map[string]storage.DelegatedResource_STATUS, len(identity.DelegatedResources))
for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
// Shadow the loop variable to avoid aliasing
delegatedResourceValue := delegatedResourceValue
- var delegatedResource v20231102ps.DelegatedResource_STATUS
+ var delegatedResource storage.DelegatedResource_STATUS
err := delegatedResourceValue.AssignProperties_To_DelegatedResource_STATUS(&delegatedResource)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource_STATUS() to populate field DelegatedResources")
@@ -11871,11 +11931,11 @@ func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedCluste
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20231102ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20231102ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -11953,7 +12013,7 @@ func (profile *ManagedClusterIngressProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterIngressProfile populates our ManagedClusterIngressProfile from the provided source ManagedClusterIngressProfile
-func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedClusterIngressProfile(source *v20231102ps.ManagedClusterIngressProfile) error {
+func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedClusterIngressProfile(source *storage.ManagedClusterIngressProfile) error {
// WebAppRouting
if source.WebAppRouting != nil {
@@ -11972,13 +12032,13 @@ func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterIngressProfile populates the provided destination ManagedClusterIngressProfile from our ManagedClusterIngressProfile
-func (profile *ManagedClusterIngressProfile) AssignProperties_To_ManagedClusterIngressProfile(destination *v20231102ps.ManagedClusterIngressProfile) error {
+func (profile *ManagedClusterIngressProfile) AssignProperties_To_ManagedClusterIngressProfile(destination *storage.ManagedClusterIngressProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// WebAppRouting
if profile.WebAppRouting != nil {
- var webAppRouting v20231102ps.ManagedClusterIngressProfileWebAppRouting
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting
err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(&webAppRouting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting() to populate field WebAppRouting")
@@ -12035,7 +12095,7 @@ func (profile *ManagedClusterIngressProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterIngressProfile_STATUS populates our ManagedClusterIngressProfile_STATUS from the provided source ManagedClusterIngressProfile_STATUS
-func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_ManagedClusterIngressProfile_STATUS(source *v20231102ps.ManagedClusterIngressProfile_STATUS) error {
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_ManagedClusterIngressProfile_STATUS(source *storage.ManagedClusterIngressProfile_STATUS) error {
// WebAppRouting
if source.WebAppRouting != nil {
@@ -12054,13 +12114,13 @@ func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterIngressProfile_STATUS populates the provided destination ManagedClusterIngressProfile_STATUS from our ManagedClusterIngressProfile_STATUS
-func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_To_ManagedClusterIngressProfile_STATUS(destination *v20231102ps.ManagedClusterIngressProfile_STATUS) error {
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_To_ManagedClusterIngressProfile_STATUS(destination *storage.ManagedClusterIngressProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// WebAppRouting
if profile.WebAppRouting != nil {
- var webAppRouting v20231102ps.ManagedClusterIngressProfileWebAppRouting_STATUS
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting_STATUS
err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(&webAppRouting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS() to populate field WebAppRouting")
@@ -12136,7 +12196,7 @@ func (profile *ManagedClusterMetricsProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterMetricsProfile populates our ManagedClusterMetricsProfile from the provided source ManagedClusterMetricsProfile
-func (profile *ManagedClusterMetricsProfile) AssignProperties_From_ManagedClusterMetricsProfile(source *v20231102ps.ManagedClusterMetricsProfile) error {
+func (profile *ManagedClusterMetricsProfile) AssignProperties_From_ManagedClusterMetricsProfile(source *storage.ManagedClusterMetricsProfile) error {
// CostAnalysis
if source.CostAnalysis != nil {
@@ -12155,13 +12215,13 @@ func (profile *ManagedClusterMetricsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterMetricsProfile populates the provided destination ManagedClusterMetricsProfile from our ManagedClusterMetricsProfile
-func (profile *ManagedClusterMetricsProfile) AssignProperties_To_ManagedClusterMetricsProfile(destination *v20231102ps.ManagedClusterMetricsProfile) error {
+func (profile *ManagedClusterMetricsProfile) AssignProperties_To_ManagedClusterMetricsProfile(destination *storage.ManagedClusterMetricsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CostAnalysis
if profile.CostAnalysis != nil {
- var costAnalysis v20231102ps.ManagedClusterCostAnalysis
+ var costAnalysis storage.ManagedClusterCostAnalysis
err := profile.CostAnalysis.AssignProperties_To_ManagedClusterCostAnalysis(&costAnalysis)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterCostAnalysis() to populate field CostAnalysis")
@@ -12218,7 +12278,7 @@ func (profile *ManagedClusterMetricsProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterMetricsProfile_STATUS populates our ManagedClusterMetricsProfile_STATUS from the provided source ManagedClusterMetricsProfile_STATUS
-func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_From_ManagedClusterMetricsProfile_STATUS(source *v20231102ps.ManagedClusterMetricsProfile_STATUS) error {
+func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_From_ManagedClusterMetricsProfile_STATUS(source *storage.ManagedClusterMetricsProfile_STATUS) error {
// CostAnalysis
if source.CostAnalysis != nil {
@@ -12237,13 +12297,13 @@ func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterMetricsProfile_STATUS populates the provided destination ManagedClusterMetricsProfile_STATUS from our ManagedClusterMetricsProfile_STATUS
-func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_To_ManagedClusterMetricsProfile_STATUS(destination *v20231102ps.ManagedClusterMetricsProfile_STATUS) error {
+func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_To_ManagedClusterMetricsProfile_STATUS(destination *storage.ManagedClusterMetricsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CostAnalysis
if profile.CostAnalysis != nil {
- var costAnalysis v20231102ps.ManagedClusterCostAnalysis_STATUS
+ var costAnalysis storage.ManagedClusterCostAnalysis_STATUS
err := profile.CostAnalysis.AssignProperties_To_ManagedClusterCostAnalysis_STATUS(&costAnalysis)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterCostAnalysis_STATUS() to populate field CostAnalysis")
@@ -12309,12 +12369,13 @@ func (profile *ManagedClusterNodeProvisioningProfile) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterNodeProvisioningProfile populates our ManagedClusterNodeProvisioningProfile from the provided source ManagedClusterNodeProvisioningProfile
-func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_From_ManagedClusterNodeProvisioningProfile(source *v20231102ps.ManagedClusterNodeProvisioningProfile) error {
+func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_From_ManagedClusterNodeProvisioningProfile(source *storage.ManagedClusterNodeProvisioningProfile) error {
// Mode
if source.Mode != nil {
- mode := ManagedClusterNodeProvisioningProfile_Mode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, managedClusterNodeProvisioningProfile_Mode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -12324,7 +12385,7 @@ func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterNodeProvisioningProfile populates the provided destination ManagedClusterNodeProvisioningProfile from our ManagedClusterNodeProvisioningProfile
-func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_To_ManagedClusterNodeProvisioningProfile(destination *v20231102ps.ManagedClusterNodeProvisioningProfile) error {
+func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_To_ManagedClusterNodeProvisioningProfile(destination *storage.ManagedClusterNodeProvisioningProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12377,12 +12438,13 @@ func (profile *ManagedClusterNodeProvisioningProfile_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS populates our ManagedClusterNodeProvisioningProfile_STATUS from the provided source ManagedClusterNodeProvisioningProfile_STATUS
-func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS(source *v20231102ps.ManagedClusterNodeProvisioningProfile_STATUS) error {
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS(source *storage.ManagedClusterNodeProvisioningProfile_STATUS) error {
// Mode
if source.Mode != nil {
- mode := ManagedClusterNodeProvisioningProfile_Mode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, managedClusterNodeProvisioningProfile_Mode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -12392,7 +12454,7 @@ func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS populates the provided destination ManagedClusterNodeProvisioningProfile_STATUS from our ManagedClusterNodeProvisioningProfile_STATUS
-func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(destination *v20231102ps.ManagedClusterNodeProvisioningProfile_STATUS) error {
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(destination *storage.ManagedClusterNodeProvisioningProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12461,12 +12523,13 @@ func (profile *ManagedClusterNodeResourceGroupProfile) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterNodeResourceGroupProfile populates our ManagedClusterNodeResourceGroupProfile from the provided source ManagedClusterNodeResourceGroupProfile
-func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source *v20231102ps.ManagedClusterNodeResourceGroupProfile) error {
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source *storage.ManagedClusterNodeResourceGroupProfile) error {
// RestrictionLevel
if source.RestrictionLevel != nil {
- restrictionLevel := ManagedClusterNodeResourceGroupProfile_RestrictionLevel(*source.RestrictionLevel)
- profile.RestrictionLevel = &restrictionLevel
+ restrictionLevel := *source.RestrictionLevel
+ restrictionLevelTemp := genruntime.ToEnum(restrictionLevel, managedClusterNodeResourceGroupProfile_RestrictionLevel_Values)
+ profile.RestrictionLevel = &restrictionLevelTemp
} else {
profile.RestrictionLevel = nil
}
@@ -12476,7 +12539,7 @@ func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNodeResourceGroupProfile populates the provided destination ManagedClusterNodeResourceGroupProfile from our ManagedClusterNodeResourceGroupProfile
-func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_To_ManagedClusterNodeResourceGroupProfile(destination *v20231102ps.ManagedClusterNodeResourceGroupProfile) error {
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_To_ManagedClusterNodeResourceGroupProfile(destination *storage.ManagedClusterNodeResourceGroupProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12530,12 +12593,13 @@ func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS populates our ManagedClusterNodeResourceGroupProfile_STATUS from the provided source ManagedClusterNodeResourceGroupProfile_STATUS
-func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source *v20231102ps.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
// RestrictionLevel
if source.RestrictionLevel != nil {
- restrictionLevel := ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS(*source.RestrictionLevel)
- profile.RestrictionLevel = &restrictionLevel
+ restrictionLevel := *source.RestrictionLevel
+ restrictionLevelTemp := genruntime.ToEnum(restrictionLevel, managedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Values)
+ profile.RestrictionLevel = &restrictionLevelTemp
} else {
profile.RestrictionLevel = nil
}
@@ -12545,7 +12609,7 @@ func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS populates the provided destination ManagedClusterNodeResourceGroupProfile_STATUS from our ManagedClusterNodeResourceGroupProfile_STATUS
-func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(destination *v20231102ps.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(destination *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12614,7 +12678,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *v20231102ps.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
// Enabled
if source.Enabled != nil {
@@ -12629,7 +12693,7 @@ func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
-func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *v20231102ps.ManagedClusterOIDCIssuerProfile) error {
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12692,7 +12756,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *v20231102ps.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -12710,7 +12774,7 @@ func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
-func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *v20231102ps.ManagedClusterOIDCIssuerProfile_STATUS) error {
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12746,7 +12810,7 @@ type ManagedClusterOperatorSpec struct {
}
// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *v20231102ps.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
// ConfigMaps
if source.ConfigMaps != nil {
@@ -12777,13 +12841,13 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
-func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *v20231102ps.ManagedClusterOperatorSpec) error {
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ConfigMaps
if operator.ConfigMaps != nil {
- var configMap v20231102ps.ManagedClusterOperatorConfigMaps
+ var configMap storage.ManagedClusterOperatorConfigMaps
err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
@@ -12795,7 +12859,7 @@ func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOp
// Secrets
if operator.Secrets != nil {
- var secret v20231102ps.ManagedClusterOperatorSecrets
+ var secret storage.ManagedClusterOperatorSecrets
err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
@@ -12925,7 +12989,7 @@ func (profile *ManagedClusterPodIdentityProfile) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *v20231102ps.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -12984,7 +13048,7 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedCl
}
// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
-func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *v20231102ps.ManagedClusterPodIdentityProfile) error {
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13006,11 +13070,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231102ps.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231102ps.ManagedClusterPodIdentity
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
@@ -13024,11 +13088,11 @@ func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClus
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20231102ps.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20231102ps.ManagedClusterPodIdentityException
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
@@ -13121,7 +13185,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *v20231102ps.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// AllowNetworkPluginKubenet
if source.AllowNetworkPluginKubenet != nil {
@@ -13180,7 +13244,7 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
-func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *v20231102ps.ManagedClusterPodIdentityProfile_STATUS) error {
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13202,11 +13266,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentities
if profile.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20231102ps.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20231102ps.ManagedClusterPodIdentity_STATUS
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
@@ -13220,11 +13284,11 @@ func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_Mana
// UserAssignedIdentityExceptions
if profile.UserAssignedIdentityExceptions != nil {
- userAssignedIdentityExceptionList := make([]v20231102ps.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
- var userAssignedIdentityException v20231102ps.ManagedClusterPodIdentityException_STATUS
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
@@ -13590,7 +13654,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *v20231102ps.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
@@ -13613,8 +13677,9 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
// Expander
if source.Expander != nil {
- expander := Expander(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, expander_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -13677,7 +13742,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
-func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *v20231102ps.ManagedClusterProperties_AutoScalerProfile) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13986,7 +14051,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) PopulateFromAR
}
// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *v20231102ps.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// BalanceSimilarNodeGroups
profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
@@ -14009,8 +14074,9 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
// Expander
if source.Expander != nil {
- expander := Expander_STATUS(*source.Expander)
- profile.Expander = &expander
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, expander_STATUS_Values)
+ profile.Expander = &expanderTemp
} else {
profile.Expander = nil
}
@@ -14073,7 +14139,7 @@ func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperti
}
// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
-func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *v20231102ps.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14177,6 +14243,13 @@ const (
ManagedClusterProperties_PublicNetworkAccess_SecuredByPerimeter = ManagedClusterProperties_PublicNetworkAccess("SecuredByPerimeter")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess
+var managedClusterProperties_PublicNetworkAccess_Values = map[string]ManagedClusterProperties_PublicNetworkAccess{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_Enabled,
+ "securedbyperimeter": ManagedClusterProperties_PublicNetworkAccess_SecuredByPerimeter,
+}
+
type ManagedClusterProperties_PublicNetworkAccess_STATUS string
const (
@@ -14185,6 +14258,13 @@ const (
ManagedClusterProperties_PublicNetworkAccess_STATUS_SecuredByPerimeter = ManagedClusterProperties_PublicNetworkAccess_STATUS("SecuredByPerimeter")
)
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess_STATUS
+var managedClusterProperties_PublicNetworkAccess_STATUS_Values = map[string]ManagedClusterProperties_PublicNetworkAccess_STATUS{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled,
+ "securedbyperimeter": ManagedClusterProperties_PublicNetworkAccess_STATUS_SecuredByPerimeter,
+}
+
// Security profile for the container service cluster.
type ManagedClusterSecurityProfile struct {
// AzureKeyVaultKms: Azure Key Vault [key management
@@ -14377,7 +14457,7 @@ func (profile *ManagedClusterSecurityProfile) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *v20231102ps.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -14459,13 +14539,13 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
-func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *v20231102ps.ManagedClusterSecurityProfile) error {
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20231102ps.AzureKeyVaultKms
+ var azureKeyVaultKm storage.AzureKeyVaultKms
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
@@ -14480,7 +14560,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// Defender
if profile.Defender != nil {
- var defender v20231102ps.ManagedClusterSecurityProfileDefender
+ var defender storage.ManagedClusterSecurityProfileDefender
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
@@ -14492,7 +14572,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20231102ps.ManagedClusterSecurityProfileImageCleaner
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
@@ -14504,7 +14584,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// ImageIntegrity
if profile.ImageIntegrity != nil {
- var imageIntegrity v20231102ps.ManagedClusterSecurityProfileImageIntegrity
+ var imageIntegrity storage.ManagedClusterSecurityProfileImageIntegrity
err := profile.ImageIntegrity.AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(&imageIntegrity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity() to populate field ImageIntegrity")
@@ -14516,7 +14596,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// NodeRestriction
if profile.NodeRestriction != nil {
- var nodeRestriction v20231102ps.ManagedClusterSecurityProfileNodeRestriction
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction
err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(&nodeRestriction)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction() to populate field NodeRestriction")
@@ -14528,7 +14608,7 @@ func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedCluster
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20231102ps.ManagedClusterSecurityProfileWorkloadIdentity
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
@@ -14671,7 +14751,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *v20231102ps.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
// AzureKeyVaultKms
if source.AzureKeyVaultKms != nil {
@@ -14753,13 +14833,13 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
-func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *v20231102ps.ManagedClusterSecurityProfile_STATUS) error {
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AzureKeyVaultKms
if profile.AzureKeyVaultKms != nil {
- var azureKeyVaultKm v20231102ps.AzureKeyVaultKms_STATUS
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
@@ -14774,7 +14854,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// Defender
if profile.Defender != nil {
- var defender v20231102ps.ManagedClusterSecurityProfileDefender_STATUS
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
@@ -14786,7 +14866,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// ImageCleaner
if profile.ImageCleaner != nil {
- var imageCleaner v20231102ps.ManagedClusterSecurityProfileImageCleaner_STATUS
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
@@ -14798,7 +14878,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// ImageIntegrity
if profile.ImageIntegrity != nil {
- var imageIntegrity v20231102ps.ManagedClusterSecurityProfileImageIntegrity_STATUS
+ var imageIntegrity storage.ManagedClusterSecurityProfileImageIntegrity_STATUS
err := profile.ImageIntegrity.AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(&imageIntegrity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS() to populate field ImageIntegrity")
@@ -14810,7 +14890,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// NodeRestriction
if profile.NodeRestriction != nil {
- var nodeRestriction v20231102ps.ManagedClusterSecurityProfileNodeRestriction_STATUS
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction_STATUS
err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(&nodeRestriction)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS() to populate field NodeRestriction")
@@ -14822,7 +14902,7 @@ func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_Managed
// WorkloadIdentity
if profile.WorkloadIdentity != nil {
- var workloadIdentity v20231102ps.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
@@ -14905,7 +14985,7 @@ func (profile *ManagedClusterServicePrincipalProfile) PopulateFromARM(owner genr
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *v20231102ps.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -14923,7 +15003,7 @@ func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_Mana
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
-func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *v20231102ps.ManagedClusterServicePrincipalProfile) error {
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14980,7 +15060,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *v20231102ps.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// ClientId
profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -14990,7 +15070,7 @@ func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
-func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *v20231102ps.ManagedClusterServicePrincipalProfile_STATUS) error {
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15070,20 +15150,22 @@ func (clusterSKU *ManagedClusterSKU) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *v20231102ps.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -15093,7 +15175,7 @@ func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(sou
}
// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
-func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *v20231102ps.ManagedClusterSKU) error {
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15165,20 +15247,22 @@ func (clusterSKU *ManagedClusterSKU_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *v20231102ps.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
// Name
if source.Name != nil {
- name := ManagedClusterSKU_Name_STATUS(*source.Name)
- clusterSKU.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_STATUS_Values)
+ clusterSKU.Name = &nameTemp
} else {
clusterSKU.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ManagedClusterSKU_Tier_STATUS(*source.Tier)
- clusterSKU.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_STATUS_Values)
+ clusterSKU.Tier = &tierTemp
} else {
clusterSKU.Tier = nil
}
@@ -15188,7 +15272,7 @@ func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
-func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *v20231102ps.ManagedClusterSKU_STATUS) error {
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15346,7 +15430,7 @@ func (profile *ManagedClusterStorageProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *v20231102ps.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -15401,13 +15485,13 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
-func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *v20231102ps.ManagedClusterStorageProfile) error {
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20231102ps.ManagedClusterStorageProfileBlobCSIDriver
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
@@ -15419,7 +15503,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20231102ps.ManagedClusterStorageProfileDiskCSIDriver
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
@@ -15431,7 +15515,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20231102ps.ManagedClusterStorageProfileFileCSIDriver
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
@@ -15443,7 +15527,7 @@ func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterS
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20231102ps.ManagedClusterStorageProfileSnapshotController
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
@@ -15542,7 +15626,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *v20231102ps.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
// BlobCSIDriver
if source.BlobCSIDriver != nil {
@@ -15597,13 +15681,13 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
-func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *v20231102ps.ManagedClusterStorageProfile_STATUS) error {
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BlobCSIDriver
if profile.BlobCSIDriver != nil {
- var blobCSIDriver v20231102ps.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
@@ -15615,7 +15699,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// DiskCSIDriver
if profile.DiskCSIDriver != nil {
- var diskCSIDriver v20231102ps.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
@@ -15627,7 +15711,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// FileCSIDriver
if profile.FileCSIDriver != nil {
- var fileCSIDriver v20231102ps.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
@@ -15639,7 +15723,7 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// SnapshotController
if profile.SnapshotController != nil {
- var snapshotController v20231102ps.ManagedClusterStorageProfileSnapshotController_STATUS
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
@@ -15672,7 +15756,7 @@ type ManagedClusterWindowsProfile struct {
// Has a special character (Regex match [\W_])
// Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
// "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
// +kubebuilder:validation:Required
// AdminUsername: Specifies the name of the administrator account.
@@ -15707,7 +15791,11 @@ func (profile *ManagedClusterWindowsProfile) ConvertToARM(resolved genruntime.Co
// Set property "AdminPassword":
if profile.AdminPassword != nil {
- adminPassword := *profile.AdminPassword
+ adminPasswordSecret, err := resolved.ResolvedSecrets.Lookup(*profile.AdminPassword)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property AdminPassword")
+ }
+ adminPassword := adminPasswordSecret
result.AdminPassword = &adminPassword
}
@@ -15753,11 +15841,7 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
+ // no assignment for property "AdminPassword"
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
@@ -15793,10 +15877,15 @@ func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *v20231102ps.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -15823,8 +15912,9 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -15834,12 +15924,17 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
}
// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
-func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *v20231102ps.ManagedClusterWindowsProfile) error {
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -15854,7 +15949,7 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20231102ps.WindowsGmsaProfile
+ var gmsaProfile storage.WindowsGmsaProfile
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
@@ -15885,18 +15980,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- // AdminPassword: Specifies the password of the administrator account.
- // Minimum-length: 8 characters
- // Max-length: 123 characters
- // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
- // Has lower characters
- // Has upper characters
- // Has a digit
- // Has a special character (Regex match [\W_])
- // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
- // "Password22", "iloveyou!"
- AdminPassword *string `json:"adminPassword,omitempty"`
-
// AdminUsername: Specifies the name of the administrator account.
// Restriction: Cannot end in "."
// Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
@@ -15932,12 +16015,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_STATUS_ARM, got %T", armInput)
}
- // Set property "AdminPassword":
- if typedInput.AdminPassword != nil {
- adminPassword := *typedInput.AdminPassword
- profile.AdminPassword = &adminPassword
- }
-
// Set property "AdminUsername":
if typedInput.AdminUsername != nil {
adminUsername := *typedInput.AdminUsername
@@ -15972,10 +16049,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *v20231102ps.ManagedClusterWindowsProfile_STATUS) error {
-
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -16002,8 +16076,9 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// LicenseType
if source.LicenseType != nil {
- licenseType := ManagedClusterWindowsProfile_LicenseType_STATUS(*source.LicenseType)
- profile.LicenseType = &licenseType
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_STATUS_Values)
+ profile.LicenseType = &licenseTypeTemp
} else {
profile.LicenseType = nil
}
@@ -16013,13 +16088,10 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
}
// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
-func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *v20231102ps.ManagedClusterWindowsProfile_STATUS) error {
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -16033,7 +16105,7 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// GmsaProfile
if profile.GmsaProfile != nil {
- var gmsaProfile v20231102ps.WindowsGmsaProfile_STATUS
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
@@ -16139,7 +16211,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) PopulateFromARM(owner ge
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *v20231102ps.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Keda
if source.Keda != nil {
@@ -16170,13 +16242,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_Ma
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
-func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *v20231102ps.ManagedClusterWorkloadAutoScalerProfile) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20231102ps.ManagedClusterWorkloadAutoScalerProfileKeda
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
@@ -16188,7 +16260,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_Mana
// VerticalPodAutoscaler
if profile.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20231102ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
@@ -16257,7 +16329,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *v20231102ps.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Keda
if source.Keda != nil {
@@ -16288,13 +16360,13 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
-func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *v20231102ps.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Keda
if profile.Keda != nil {
- var kedum v20231102ps.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
@@ -16306,7 +16378,7 @@ func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_
// VerticalPodAutoscaler
if profile.VerticalPodAutoscaler != nil {
- var verticalPodAutoscaler v20231102ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(&verticalPodAutoscaler)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
@@ -16358,12 +16430,13 @@ func (state *PowerState_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *v20231102ps.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
// Code
if source.Code != nil {
- code := PowerState_Code_STATUS(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_STATUS_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -16373,7 +16446,7 @@ func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *
}
// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
-func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *v20231102ps.PowerState_STATUS) error {
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16500,7 +16573,7 @@ func (resource *PrivateLinkResource) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *v20231102ps.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -16527,7 +16600,7 @@ func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(s
}
// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
-func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *v20231102ps.PrivateLinkResource) error {
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16637,7 +16710,7 @@ func (resource *PrivateLinkResource_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *v20231102ps.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
// GroupId
resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -16662,7 +16735,7 @@ func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkRes
}
// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
-func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *v20231102ps.PrivateLinkResource_STATUS) error {
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16771,15 +16844,16 @@ func (profile *SafeguardsProfile) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_SafeguardsProfile populates our SafeguardsProfile from the provided source SafeguardsProfile
-func (profile *SafeguardsProfile) AssignProperties_From_SafeguardsProfile(source *v20231102ps.SafeguardsProfile) error {
+func (profile *SafeguardsProfile) AssignProperties_From_SafeguardsProfile(source *storage.SafeguardsProfile) error {
// ExcludedNamespaces
profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
// Level
if source.Level != nil {
- level := SafeguardsProfile_Level(*source.Level)
- profile.Level = &level
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, safeguardsProfile_Level_Values)
+ profile.Level = &levelTemp
} else {
profile.Level = nil
}
@@ -16792,7 +16866,7 @@ func (profile *SafeguardsProfile) AssignProperties_From_SafeguardsProfile(source
}
// AssignProperties_To_SafeguardsProfile populates the provided destination SafeguardsProfile from our SafeguardsProfile
-func (profile *SafeguardsProfile) AssignProperties_To_SafeguardsProfile(destination *v20231102ps.SafeguardsProfile) error {
+func (profile *SafeguardsProfile) AssignProperties_To_SafeguardsProfile(destination *storage.SafeguardsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16878,15 +16952,16 @@ func (profile *SafeguardsProfile_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_SafeguardsProfile_STATUS populates our SafeguardsProfile_STATUS from the provided source SafeguardsProfile_STATUS
-func (profile *SafeguardsProfile_STATUS) AssignProperties_From_SafeguardsProfile_STATUS(source *v20231102ps.SafeguardsProfile_STATUS) error {
+func (profile *SafeguardsProfile_STATUS) AssignProperties_From_SafeguardsProfile_STATUS(source *storage.SafeguardsProfile_STATUS) error {
// ExcludedNamespaces
profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
// Level
if source.Level != nil {
- level := SafeguardsProfile_Level_STATUS(*source.Level)
- profile.Level = &level
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, safeguardsProfile_Level_STATUS_Values)
+ profile.Level = &levelTemp
} else {
profile.Level = nil
}
@@ -16902,7 +16977,7 @@ func (profile *SafeguardsProfile_STATUS) AssignProperties_From_SafeguardsProfile
}
// AssignProperties_To_SafeguardsProfile_STATUS populates the provided destination SafeguardsProfile_STATUS from our SafeguardsProfile_STATUS
-func (profile *SafeguardsProfile_STATUS) AssignProperties_To_SafeguardsProfile_STATUS(destination *v20231102ps.SafeguardsProfile_STATUS) error {
+func (profile *SafeguardsProfile_STATUS) AssignProperties_To_SafeguardsProfile_STATUS(destination *storage.SafeguardsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17005,7 +17080,7 @@ func (profile *ServiceMeshProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_ServiceMeshProfile populates our ServiceMeshProfile from the provided source ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *v20231102ps.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *storage.ServiceMeshProfile) error {
// Istio
if source.Istio != nil {
@@ -17021,8 +17096,9 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -17032,13 +17108,13 @@ func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(sour
}
// AssignProperties_To_ServiceMeshProfile populates the provided destination ServiceMeshProfile from our ServiceMeshProfile
-func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *v20231102ps.ServiceMeshProfile) error {
+func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *storage.ServiceMeshProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Istio
if profile.Istio != nil {
- var istio v20231102ps.IstioServiceMesh
+ var istio storage.IstioServiceMesh
err := profile.Istio.AssignProperties_To_IstioServiceMesh(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh() to populate field Istio")
@@ -17112,7 +17188,7 @@ func (profile *ServiceMeshProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_ServiceMeshProfile_STATUS populates our ServiceMeshProfile_STATUS from the provided source ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *v20231102ps.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *storage.ServiceMeshProfile_STATUS) error {
// Istio
if source.Istio != nil {
@@ -17128,8 +17204,9 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
// Mode
if source.Mode != nil {
- mode := ServiceMeshProfile_Mode_STATUS(*source.Mode)
- profile.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_STATUS_Values)
+ profile.Mode = &modeTemp
} else {
profile.Mode = nil
}
@@ -17139,13 +17216,13 @@ func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfi
}
// AssignProperties_To_ServiceMeshProfile_STATUS populates the provided destination ServiceMeshProfile_STATUS from our ServiceMeshProfile_STATUS
-func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *v20231102ps.ServiceMeshProfile_STATUS) error {
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *storage.ServiceMeshProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Istio
if profile.Istio != nil {
- var istio v20231102ps.IstioServiceMesh_STATUS
+ var istio storage.IstioServiceMesh_STATUS
err := profile.Istio.AssignProperties_To_IstioServiceMesh_STATUS(&istio)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh_STATUS() to populate field Istio")
@@ -17250,7 +17327,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20231102ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -17260,8 +17337,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -17274,8 +17352,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -17285,7 +17364,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20231102ps.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17404,7 +17483,7 @@ func (identity *UserAssignedIdentity) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *v20231102ps.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -17425,7 +17504,7 @@ func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity
}
// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
-func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *v20231102ps.UserAssignedIdentity) error {
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17503,7 +17582,7 @@ func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *v20231102ps.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
// ClientId
identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -17519,7 +17598,7 @@ func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedI
}
// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
-func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *v20231102ps.UserAssignedIdentity_STATUS) error {
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17640,7 +17719,7 @@ func (vaultKms *AzureKeyVaultKms) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *v20231102ps.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
// Enabled
if source.Enabled != nil {
@@ -17655,8 +17734,9 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -17674,7 +17754,7 @@ func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source
}
// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
-func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *v20231102ps.AzureKeyVaultKms) error {
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17780,7 +17860,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *v20231102ps.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -17795,8 +17875,9 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
// KeyVaultNetworkAccess
if source.KeyVaultNetworkAccess != nil {
- keyVaultNetworkAccess := AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS(*source.KeyVaultNetworkAccess)
- vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
} else {
vaultKms.KeyVaultNetworkAccess = nil
}
@@ -17809,7 +17890,7 @@ func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_
}
// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
-func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *v20231102ps.AzureKeyVaultKms_STATUS) error {
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17931,7 +18012,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
// Enabled
if source.Enabled != nil {
@@ -17955,8 +18036,9 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_F
// Mode
if source.Mode != nil {
- mode := ContainerServiceNetworkProfile_KubeProxyConfig_Mode(*source.Mode)
- config.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, containerServiceNetworkProfile_KubeProxyConfig_Mode_Values)
+ config.Mode = &modeTemp
} else {
config.Mode = nil
}
@@ -17966,7 +18048,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_F
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig from our ContainerServiceNetworkProfile_KubeProxyConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(destination *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -17980,7 +18062,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_T
// IpvsConfig
if config.IpvsConfig != nil {
- var ipvsConfig v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(&ipvsConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig() to populate field IpvsConfig")
@@ -18063,7 +18145,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) PopulateFro
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -18087,8 +18169,9 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignPrope
// Mode
if source.Mode != nil {
- mode := ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS(*source.Mode)
- config.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, containerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_Values)
+ config.Mode = &modeTemp
} else {
config.Mode = nil
}
@@ -18098,7 +18181,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignPrope
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(destination *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18112,7 +18195,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignPrope
// IpvsConfig
if config.IpvsConfig != nil {
- var ipvsConfig v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(&ipvsConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS() to populate field IpvsConfig")
@@ -18151,6 +18234,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType
+var containerServiceNetworkProfile_OutboundType_Values = map[string]ContainerServiceNetworkProfile_OutboundType{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting,
+}
+
type ContainerServiceNetworkProfile_OutboundType_STATUS string
const (
@@ -18160,6 +18251,14 @@ const (
ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType_STATUS("userDefinedRouting")
)
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType_STATUS
+var containerServiceNetworkProfile_OutboundType_STATUS_Values = map[string]ContainerServiceNetworkProfile_OutboundType_STATUS{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_ManagedNATGateway,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting,
+}
+
// SSH configuration for Linux-based VMs running on Azure.
type ContainerServiceSshConfiguration struct {
// +kubebuilder:validation:Required
@@ -18214,7 +18313,7 @@ func (configuration *ContainerServiceSshConfiguration) PopulateFromARM(owner gen
}
// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *v20231102ps.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -18239,17 +18338,17 @@ func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_Con
}
// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
-func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *v20231102ps.ContainerServiceSshConfiguration) error {
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20231102ps.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20231102ps.ContainerServiceSshPublicKey
+ var publicKey storage.ContainerServiceSshPublicKey
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
@@ -18307,7 +18406,7 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *v20231102ps.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
// PublicKeys
if source.PublicKeys != nil {
@@ -18332,17 +18431,17 @@ func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_F
}
// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
-func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *v20231102ps.ContainerServiceSshConfiguration_STATUS) error {
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicKeys
if configuration.PublicKeys != nil {
- publicKeyList := make([]v20231102ps.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
// Shadow the loop variable to avoid aliasing
publicKeyItem := publicKeyItem
- var publicKey v20231102ps.ContainerServiceSshPublicKey_STATUS
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
@@ -18457,7 +18556,7 @@ func (resource *DelegatedResource) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_DelegatedResource populates our DelegatedResource from the provided source DelegatedResource
-func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(source *v20231102ps.DelegatedResource) error {
+func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(source *storage.DelegatedResource) error {
// Location
resource.Location = genruntime.ClonePointerToString(source.Location)
@@ -18486,7 +18585,7 @@ func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(sourc
}
// AssignProperties_To_DelegatedResource populates the provided destination DelegatedResource from our DelegatedResource
-func (resource *DelegatedResource) AssignProperties_To_DelegatedResource(destination *v20231102ps.DelegatedResource) error {
+func (resource *DelegatedResource) AssignProperties_To_DelegatedResource(destination *storage.DelegatedResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18581,7 +18680,7 @@ func (resource *DelegatedResource_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_DelegatedResource_STATUS populates our DelegatedResource_STATUS from the provided source DelegatedResource_STATUS
-func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResource_STATUS(source *v20231102ps.DelegatedResource_STATUS) error {
+func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResource_STATUS(source *storage.DelegatedResource_STATUS) error {
// Location
resource.Location = genruntime.ClonePointerToString(source.Location)
@@ -18600,7 +18699,7 @@ func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResourc
}
// AssignProperties_To_DelegatedResource_STATUS populates the provided destination DelegatedResource_STATUS from our DelegatedResource_STATUS
-func (resource *DelegatedResource_STATUS) AssignProperties_To_DelegatedResource_STATUS(destination *v20231102ps.DelegatedResource_STATUS) error {
+func (resource *DelegatedResource_STATUS) AssignProperties_To_DelegatedResource_STATUS(destination *storage.DelegatedResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -18640,6 +18739,14 @@ const (
Expander_Random = Expander("random")
)
+// Mapping from string to Expander
+var expander_Values = map[string]Expander{
+ "least-waste": Expander_LeastWaste,
+ "most-pods": Expander_MostPods,
+ "priority": Expander_Priority,
+ "random": Expander_Random,
+}
+
// If not specified, the default is 'random'. See
// [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more
// information.
@@ -18652,6 +18759,14 @@ const (
Expander_STATUS_Random = Expander_STATUS("random")
)
+// Mapping from string to Expander_STATUS
+var expander_STATUS_Values = map[string]Expander_STATUS{
+ "least-waste": Expander_STATUS_LeastWaste,
+ "most-pods": Expander_STATUS_MostPods,
+ "priority": Expander_STATUS_Priority,
+ "random": Expander_STATUS_Random,
+}
+
// To determine if address belongs IPv4 or IPv6 family.
// +kubebuilder:validation:Enum={"IPv4","IPv6"}
type IpFamily string
@@ -18661,6 +18776,12 @@ const (
IpFamily_IPv6 = IpFamily("IPv6")
)
+// Mapping from string to IpFamily
+var ipFamily_Values = map[string]IpFamily{
+ "ipv4": IpFamily_IPv4,
+ "ipv6": IpFamily_IPv6,
+}
+
// To determine if address belongs IPv4 or IPv6 family.
type IpFamily_STATUS string
@@ -18669,6 +18790,12 @@ const (
IpFamily_STATUS_IPv6 = IpFamily_STATUS("IPv6")
)
+// Mapping from string to IpFamily_STATUS
+var ipFamily_STATUS_Values = map[string]IpFamily_STATUS{
+ "ipv4": IpFamily_STATUS_IPv4,
+ "ipv6": IpFamily_STATUS_IPv6,
+}
+
// Istio service mesh configuration.
type IstioServiceMesh struct {
// CertificateAuthority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin
@@ -18765,7 +18892,7 @@ func (mesh *IstioServiceMesh) PopulateFromARM(owner genruntime.ArbitraryOwnerRef
}
// AssignProperties_From_IstioServiceMesh populates our IstioServiceMesh from the provided source IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20231102ps.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *storage.IstioServiceMesh) error {
// CertificateAuthority
if source.CertificateAuthority != nil {
@@ -18809,13 +18936,13 @@ func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *v20
}
// AssignProperties_To_IstioServiceMesh populates the provided destination IstioServiceMesh from our IstioServiceMesh
-func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *v20231102ps.IstioServiceMesh) error {
+func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *storage.IstioServiceMesh) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CertificateAuthority
if mesh.CertificateAuthority != nil {
- var certificateAuthority v20231102ps.IstioCertificateAuthority
+ var certificateAuthority storage.IstioCertificateAuthority
err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority(&certificateAuthority)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority() to populate field CertificateAuthority")
@@ -18827,7 +18954,7 @@ func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *
// Components
if mesh.Components != nil {
- var component v20231102ps.IstioComponents
+ var component storage.IstioComponents
err := mesh.Components.AssignProperties_To_IstioComponents(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents() to populate field Components")
@@ -18922,7 +19049,7 @@ func (mesh *IstioServiceMesh_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_IstioServiceMesh_STATUS populates our IstioServiceMesh_STATUS from the provided source IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *v20231102ps.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *storage.IstioServiceMesh_STATUS) error {
// CertificateAuthority
if source.CertificateAuthority != nil {
@@ -18956,13 +19083,13 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STAT
}
// AssignProperties_To_IstioServiceMesh_STATUS populates the provided destination IstioServiceMesh_STATUS from our IstioServiceMesh_STATUS
-func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *v20231102ps.IstioServiceMesh_STATUS) error {
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *storage.IstioServiceMesh_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CertificateAuthority
if mesh.CertificateAuthority != nil {
- var certificateAuthority v20231102ps.IstioCertificateAuthority_STATUS
+ var certificateAuthority storage.IstioCertificateAuthority_STATUS
err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority_STATUS(&certificateAuthority)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority_STATUS() to populate field CertificateAuthority")
@@ -18974,7 +19101,7 @@ func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS
// Components
if mesh.Components != nil {
- var component v20231102ps.IstioComponents_STATUS
+ var component storage.IstioComponents_STATUS
err := mesh.Components.AssignProperties_To_IstioComponents_STATUS(&component)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioComponents_STATUS() to populate field Components")
@@ -19008,6 +19135,12 @@ const (
LoadBalancerSku_Standard = LoadBalancerSku("standard")
)
+// Mapping from string to LoadBalancerSku
+var loadBalancerSku_Values = map[string]LoadBalancerSku{
+ "basic": LoadBalancerSku_Basic,
+ "standard": LoadBalancerSku_Standard,
+}
+
// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more
// information about the differences between load balancer SKUs.
type LoadBalancerSku_STATUS string
@@ -19017,6 +19150,12 @@ const (
LoadBalancerSku_STATUS_Standard = LoadBalancerSku_STATUS("standard")
)
+// Mapping from string to LoadBalancerSku_STATUS
+var loadBalancerSku_STATUS_Values = map[string]LoadBalancerSku_STATUS{
+ "basic": LoadBalancerSku_STATUS_Basic,
+ "standard": LoadBalancerSku_STATUS_Standard,
+}
+
// +kubebuilder:validation:Enum={"NodeImage","None","SecurityPatch","Unmanaged"}
type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel string
@@ -19027,6 +19166,14 @@ const (
ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("Unmanaged")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_None,
+ "securitypatch": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_SecurityPatch,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged,
+}
+
type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS string
const (
@@ -19036,6 +19183,14 @@ const (
ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("Unmanaged")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_None,
+ "securitypatch": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_SecurityPatch,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged,
+}
+
// +kubebuilder:validation:Enum={"node-image","none","patch","rapid","stable"}
type ManagedClusterAutoUpgradeProfile_UpgradeChannel string
@@ -19047,6 +19202,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel
+var managedClusterAutoUpgradeProfile_UpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable,
+}
+
type ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS string
const (
@@ -19057,6 +19221,15 @@ const (
ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("stable")
)
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable,
+}
+
// Logs profile for the Azure Monitor Infrastructure and Application Logs. Collect out-of-the-box Kubernetes infrastructure
// & application logs to send to Azure Monitor. See aka.ms/AzureMonitorContainerInsights for an overview.
type ManagedClusterAzureMonitorProfileLogs struct {
@@ -19140,7 +19313,7 @@ func (logs *ManagedClusterAzureMonitorProfileLogs) PopulateFromARM(owner genrunt
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileLogs populates our ManagedClusterAzureMonitorProfileLogs from the provided source ManagedClusterAzureMonitorProfileLogs
-func (logs *ManagedClusterAzureMonitorProfileLogs) AssignProperties_From_ManagedClusterAzureMonitorProfileLogs(source *v20231102ps.ManagedClusterAzureMonitorProfileLogs) error {
+func (logs *ManagedClusterAzureMonitorProfileLogs) AssignProperties_From_ManagedClusterAzureMonitorProfileLogs(source *storage.ManagedClusterAzureMonitorProfileLogs) error {
// AppMonitoring
if source.AppMonitoring != nil {
@@ -19171,13 +19344,13 @@ func (logs *ManagedClusterAzureMonitorProfileLogs) AssignProperties_From_Managed
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileLogs populates the provided destination ManagedClusterAzureMonitorProfileLogs from our ManagedClusterAzureMonitorProfileLogs
-func (logs *ManagedClusterAzureMonitorProfileLogs) AssignProperties_To_ManagedClusterAzureMonitorProfileLogs(destination *v20231102ps.ManagedClusterAzureMonitorProfileLogs) error {
+func (logs *ManagedClusterAzureMonitorProfileLogs) AssignProperties_To_ManagedClusterAzureMonitorProfileLogs(destination *storage.ManagedClusterAzureMonitorProfileLogs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AppMonitoring
if logs.AppMonitoring != nil {
- var appMonitoring v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoring
+ var appMonitoring storage.ManagedClusterAzureMonitorProfileAppMonitoring
err := logs.AppMonitoring.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring(&appMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring() to populate field AppMonitoring")
@@ -19189,7 +19362,7 @@ func (logs *ManagedClusterAzureMonitorProfileLogs) AssignProperties_To_ManagedCl
// ContainerInsights
if logs.ContainerInsights != nil {
- var containerInsight v20231102ps.ManagedClusterAzureMonitorProfileContainerInsights
+ var containerInsight storage.ManagedClusterAzureMonitorProfileContainerInsights
err := logs.ContainerInsights.AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights(&containerInsight)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights() to populate field ContainerInsights")
@@ -19264,7 +19437,7 @@ func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileLogs_STATUS populates our ManagedClusterAzureMonitorProfileLogs_STATUS from the provided source ManagedClusterAzureMonitorProfileLogs_STATUS
-func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileLogs_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileLogs_STATUS) error {
+func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileLogs_STATUS(source *storage.ManagedClusterAzureMonitorProfileLogs_STATUS) error {
// AppMonitoring
if source.AppMonitoring != nil {
@@ -19295,13 +19468,13 @@ func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileLogs_STATUS populates the provided destination ManagedClusterAzureMonitorProfileLogs_STATUS from our ManagedClusterAzureMonitorProfileLogs_STATUS
-func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileLogs_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileLogs_STATUS) error {
+func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileLogs_STATUS(destination *storage.ManagedClusterAzureMonitorProfileLogs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AppMonitoring
if logs.AppMonitoring != nil {
- var appMonitoring v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+ var appMonitoring storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
err := logs.AppMonitoring.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(&appMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS() to populate field AppMonitoring")
@@ -19313,7 +19486,7 @@ func (logs *ManagedClusterAzureMonitorProfileLogs_STATUS) AssignProperties_To_Ma
// ContainerInsights
if logs.ContainerInsights != nil {
- var containerInsight v20231102ps.ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+ var containerInsight storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS
err := logs.ContainerInsights.AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(&containerInsight)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS() to populate field ContainerInsights")
@@ -19431,7 +19604,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *v20231102ps.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// AppMonitoringOpenTelemetryMetrics
if source.AppMonitoringOpenTelemetryMetrics != nil {
@@ -19470,13 +19643,13 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
-func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *v20231102ps.ManagedClusterAzureMonitorProfileMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AppMonitoringOpenTelemetryMetrics
if metrics.AppMonitoringOpenTelemetryMetrics != nil {
- var appMonitoringOpenTelemetryMetric v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+ var appMonitoringOpenTelemetryMetric storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
err := metrics.AppMonitoringOpenTelemetryMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(&appMonitoringOpenTelemetryMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics() to populate field AppMonitoringOpenTelemetryMetrics")
@@ -19496,7 +19669,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_Man
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20231102ps.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
@@ -19578,7 +19751,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// AppMonitoringOpenTelemetryMetrics
if source.AppMonitoringOpenTelemetryMetrics != nil {
@@ -19617,13 +19790,13 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AppMonitoringOpenTelemetryMetrics
if metrics.AppMonitoringOpenTelemetryMetrics != nil {
- var appMonitoringOpenTelemetryMetric v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+ var appMonitoringOpenTelemetryMetric storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
err := metrics.AppMonitoringOpenTelemetryMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(&appMonitoringOpenTelemetryMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS() to populate field AppMonitoringOpenTelemetryMetrics")
@@ -19643,7 +19816,7 @@ func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties
// KubeStateMetrics
if metrics.KubeStateMetrics != nil {
- var kubeStateMetric v20231102ps.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
@@ -19712,7 +19885,7 @@ func (analysis *ManagedClusterCostAnalysis) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ManagedClusterCostAnalysis populates our ManagedClusterCostAnalysis from the provided source ManagedClusterCostAnalysis
-func (analysis *ManagedClusterCostAnalysis) AssignProperties_From_ManagedClusterCostAnalysis(source *v20231102ps.ManagedClusterCostAnalysis) error {
+func (analysis *ManagedClusterCostAnalysis) AssignProperties_From_ManagedClusterCostAnalysis(source *storage.ManagedClusterCostAnalysis) error {
// Enabled
if source.Enabled != nil {
@@ -19727,7 +19900,7 @@ func (analysis *ManagedClusterCostAnalysis) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusterCostAnalysis populates the provided destination ManagedClusterCostAnalysis from our ManagedClusterCostAnalysis
-func (analysis *ManagedClusterCostAnalysis) AssignProperties_To_ManagedClusterCostAnalysis(destination *v20231102ps.ManagedClusterCostAnalysis) error {
+func (analysis *ManagedClusterCostAnalysis) AssignProperties_To_ManagedClusterCostAnalysis(destination *storage.ManagedClusterCostAnalysis) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19783,7 +19956,7 @@ func (analysis *ManagedClusterCostAnalysis_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_ManagedClusterCostAnalysis_STATUS populates our ManagedClusterCostAnalysis_STATUS from the provided source ManagedClusterCostAnalysis_STATUS
-func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_From_ManagedClusterCostAnalysis_STATUS(source *v20231102ps.ManagedClusterCostAnalysis_STATUS) error {
+func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_From_ManagedClusterCostAnalysis_STATUS(source *storage.ManagedClusterCostAnalysis_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -19798,7 +19971,7 @@ func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_From_Managed
}
// AssignProperties_To_ManagedClusterCostAnalysis_STATUS populates the provided destination ManagedClusterCostAnalysis_STATUS from our ManagedClusterCostAnalysis_STATUS
-func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_To_ManagedClusterCostAnalysis_STATUS(destination *v20231102ps.ManagedClusterCostAnalysis_STATUS) error {
+func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_To_ManagedClusterCostAnalysis_STATUS(destination *storage.ManagedClusterCostAnalysis_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19860,7 +20033,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) Populate
}
// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *v20231102ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// ClientId
identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -19873,7 +20046,7 @@ func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *v20231102ps.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -19956,7 +20129,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting populates our ManagedClusterIngressProfileWebAppRouting from the provided source ManagedClusterIngressProfileWebAppRouting
-func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source *v20231102ps.ManagedClusterIngressProfileWebAppRouting) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source *storage.ManagedClusterIngressProfileWebAppRouting) error {
// DnsZoneResourceReferences
if source.DnsZoneResourceReferences != nil {
@@ -19984,7 +20157,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting populates the provided destination ManagedClusterIngressProfileWebAppRouting from our ManagedClusterIngressProfileWebAppRouting
-func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(destination *v20231102ps.ManagedClusterIngressProfileWebAppRouting) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(destination *storage.ManagedClusterIngressProfileWebAppRouting) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20078,7 +20251,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS populates our ManagedClusterIngressProfileWebAppRouting_STATUS from the provided source ManagedClusterIngressProfileWebAppRouting_STATUS
-func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source *v20231102ps.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
// DnsZoneResourceIds
routing.DnsZoneResourceIds = genruntime.CloneSliceOfString(source.DnsZoneResourceIds)
@@ -20108,7 +20281,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS populates the provided destination ManagedClusterIngressProfileWebAppRouting_STATUS from our ManagedClusterIngressProfileWebAppRouting_STATUS
-func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(destination *v20231102ps.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(destination *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20125,7 +20298,7 @@ func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignPropertie
// Identity
if routing.Identity != nil {
- var identity v20231102ps.UserAssignedIdentity_STATUS
+ var identity storage.UserAssignedIdentity_STATUS
err := routing.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -20337,7 +20510,7 @@ func (profile *ManagedClusterLoadBalancerProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *v20231102ps.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
// AllocatedOutboundPorts
if source.AllocatedOutboundPorts != nil {
@@ -20349,8 +20522,9 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType(*source.BackendPoolType)
- profile.BackendPoolType = &backendPoolType
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
} else {
profile.BackendPoolType = nil
}
@@ -20430,7 +20604,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
-func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *v20231102ps.ManagedClusterLoadBalancerProfile) error {
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20452,11 +20626,11 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231102ps.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231102ps.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -20486,7 +20660,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20231102ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
@@ -20498,7 +20672,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
@@ -20510,7 +20684,7 @@ func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClu
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPs
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
@@ -20646,15 +20820,16 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *v20231102ps.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// AllocatedOutboundPorts
profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
// BackendPoolType
if source.BackendPoolType != nil {
- backendPoolType := ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS(*source.BackendPoolType)
- profile.BackendPoolType = &backendPoolType
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
} else {
profile.BackendPoolType = nil
}
@@ -20729,7 +20904,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
-func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *v20231102ps.ManagedClusterLoadBalancerProfile_STATUS) error {
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -20746,11 +20921,11 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231102ps.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231102ps.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -20775,7 +20950,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// ManagedOutboundIPs
if profile.ManagedOutboundIPs != nil {
- var managedOutboundIP v20231102ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
@@ -20787,7 +20962,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPPrefixes
if profile.OutboundIPPrefixes != nil {
- var outboundIPPrefix v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
@@ -20799,7 +20974,7 @@ func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_Man
// OutboundIPs
if profile.OutboundIPs != nil {
- var outboundIP v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
@@ -20915,7 +21090,7 @@ func (profile *ManagedClusterNATGatewayProfile) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *v20231102ps.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -20960,17 +21135,17 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClu
}
// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
-func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *v20231102ps.ManagedClusterNATGatewayProfile) error {
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231102ps.ResourceReference, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231102ps.ResourceReference
+ var effectiveOutboundIP storage.ResourceReference
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
@@ -20992,7 +21167,7 @@ func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClust
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20231102ps.ManagedClusterManagedOutboundIPProfile
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
@@ -21072,7 +21247,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *v20231102ps.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// EffectiveOutboundIPs
if source.EffectiveOutboundIPs != nil {
@@ -21112,17 +21287,17 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
-func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *v20231102ps.ManagedClusterNATGatewayProfile_STATUS) error {
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EffectiveOutboundIPs
if profile.EffectiveOutboundIPs != nil {
- effectiveOutboundIPList := make([]v20231102ps.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
// Shadow the loop variable to avoid aliasing
effectiveOutboundIPItem := effectiveOutboundIPItem
- var effectiveOutboundIP v20231102ps.ResourceReference_STATUS
+ var effectiveOutboundIP storage.ResourceReference_STATUS
err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
@@ -21139,7 +21314,7 @@ func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_Manag
// ManagedOutboundIPProfile
if profile.ManagedOutboundIPProfile != nil {
- var managedOutboundIPProfile v20231102ps.ManagedClusterManagedOutboundIPProfile_STATUS
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
@@ -21168,6 +21343,12 @@ const (
ManagedClusterNodeProvisioningProfile_Mode_Manual = ManagedClusterNodeProvisioningProfile_Mode("Manual")
)
+// Mapping from string to ManagedClusterNodeProvisioningProfile_Mode
+var managedClusterNodeProvisioningProfile_Mode_Values = map[string]ManagedClusterNodeProvisioningProfile_Mode{
+ "auto": ManagedClusterNodeProvisioningProfile_Mode_Auto,
+ "manual": ManagedClusterNodeProvisioningProfile_Mode_Manual,
+}
+
type ManagedClusterNodeProvisioningProfile_Mode_STATUS string
const (
@@ -21175,6 +21356,12 @@ const (
ManagedClusterNodeProvisioningProfile_Mode_STATUS_Manual = ManagedClusterNodeProvisioningProfile_Mode_STATUS("Manual")
)
+// Mapping from string to ManagedClusterNodeProvisioningProfile_Mode_STATUS
+var managedClusterNodeProvisioningProfile_Mode_STATUS_Values = map[string]ManagedClusterNodeProvisioningProfile_Mode_STATUS{
+ "auto": ManagedClusterNodeProvisioningProfile_Mode_STATUS_Auto,
+ "manual": ManagedClusterNodeProvisioningProfile_Mode_STATUS_Manual,
+}
+
// +kubebuilder:validation:Enum={"ReadOnly","Unrestricted"}
type ManagedClusterNodeResourceGroupProfile_RestrictionLevel string
@@ -21183,6 +21370,12 @@ const (
ManagedClusterNodeResourceGroupProfile_RestrictionLevel_Unrestricted = ManagedClusterNodeResourceGroupProfile_RestrictionLevel("Unrestricted")
)
+// Mapping from string to ManagedClusterNodeResourceGroupProfile_RestrictionLevel
+var managedClusterNodeResourceGroupProfile_RestrictionLevel_Values = map[string]ManagedClusterNodeResourceGroupProfile_RestrictionLevel{
+ "readonly": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_ReadOnly,
+ "unrestricted": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_Unrestricted,
+}
+
type ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS string
const (
@@ -21190,6 +21383,12 @@ const (
ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Unrestricted = ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS("Unrestricted")
)
+// Mapping from string to ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS
+var managedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Values = map[string]ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS{
+ "readonly": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_ReadOnly,
+ "unrestricted": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Unrestricted,
+}
+
type ManagedClusterOperatorConfigMaps struct {
// OIDCIssuerProfile: indicates where the OIDCIssuerProfile config map should be placed. If omitted, no config map will be
// created.
@@ -21197,7 +21396,7 @@ type ManagedClusterOperatorConfigMaps struct {
}
// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *v20231102ps.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
// OIDCIssuerProfile
if source.OIDCIssuerProfile != nil {
@@ -21212,7 +21411,7 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
-func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *v20231102ps.ManagedClusterOperatorConfigMaps) error {
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21246,7 +21445,7 @@ type ManagedClusterOperatorSecrets struct {
}
// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *v20231102ps.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
// AdminCredentials
if source.AdminCredentials != nil {
@@ -21269,7 +21468,7 @@ func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
-func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *v20231102ps.ManagedClusterOperatorSecrets) error {
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21403,7 +21602,7 @@ func (identity *ManagedClusterPodIdentity) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *v20231102ps.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -21431,7 +21630,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterP
}
// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
-func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *v20231102ps.ManagedClusterPodIdentity) error {
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21440,7 +21639,7 @@ func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPod
// Identity
if identity.Identity != nil {
- var identityLocal v20231102ps.UserAssignedIdentity
+ var identityLocal storage.UserAssignedIdentity
err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
@@ -21551,7 +21750,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *v20231102ps.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
// BindingSelector
identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
@@ -21588,8 +21787,9 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ManagedClusterPodIdentity_ProvisioningState_STATUS(*source.ProvisioningState)
- identity.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, managedClusterPodIdentity_ProvisioningState_STATUS_Values)
+ identity.ProvisioningState = &provisioningStateTemp
} else {
identity.ProvisioningState = nil
}
@@ -21599,7 +21799,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedC
}
// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
-func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *v20231102ps.ManagedClusterPodIdentity_STATUS) error {
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21608,7 +21808,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// Identity
if identity.Identity != nil {
- var identityLocal v20231102ps.UserAssignedIdentity_STATUS
+ var identityLocal storage.UserAssignedIdentity_STATUS
err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
@@ -21626,7 +21826,7 @@ func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClu
// ProvisioningInfo
if identity.ProvisioningInfo != nil {
- var provisioningInfo v20231102ps.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
@@ -21739,7 +21939,7 @@ func (exception *ManagedClusterPodIdentityException) PopulateFromARM(owner genru
}
// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *v20231102ps.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -21755,7 +21955,7 @@ func (exception *ManagedClusterPodIdentityException) AssignProperties_From_Manag
}
// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
-func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *v20231102ps.ManagedClusterPodIdentityException) error {
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21831,7 +22031,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *v20231102ps.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
// Name
exception.Name = genruntime.ClonePointerToString(source.Name)
@@ -21847,7 +22047,7 @@ func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
-func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *v20231102ps.ManagedClusterPodIdentityException_STATUS) error {
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21947,7 +22147,7 @@ func (defender *ManagedClusterSecurityProfileDefender) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *v20231102ps.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
// LogAnalyticsWorkspaceResourceReference
if source.LogAnalyticsWorkspaceResourceReference != nil {
@@ -21974,7 +22174,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
-func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *v20231102ps.ManagedClusterSecurityProfileDefender) error {
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -21988,7 +22188,7 @@ func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_Manag
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20231102ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
@@ -22056,7 +22256,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *v20231102ps.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// LogAnalyticsWorkspaceResourceId
defender.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
@@ -22078,7 +22278,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
-func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *v20231102ps.ManagedClusterSecurityProfileDefender_STATUS) error {
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22087,7 +22287,7 @@ func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_T
// SecurityMonitoring
if defender.SecurityMonitoring != nil {
- var securityMonitoring v20231102ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
@@ -22170,7 +22370,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *v20231102ps.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Enabled
if source.Enabled != nil {
@@ -22188,7 +22388,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
-func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *v20231102ps.ManagedClusterSecurityProfileImageCleaner) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22255,7 +22455,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *v20231102ps.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -22273,7 +22473,7 @@ func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
-func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *v20231102ps.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22345,7 +22545,7 @@ func (integrity *ManagedClusterSecurityProfileImageIntegrity) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity populates our ManagedClusterSecurityProfileImageIntegrity from the provided source ManagedClusterSecurityProfileImageIntegrity
-func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity(source *v20231102ps.ManagedClusterSecurityProfileImageIntegrity) error {
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity(source *storage.ManagedClusterSecurityProfileImageIntegrity) error {
// Enabled
if source.Enabled != nil {
@@ -22360,7 +22560,7 @@ func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_F
}
// AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity populates the provided destination ManagedClusterSecurityProfileImageIntegrity from our ManagedClusterSecurityProfileImageIntegrity
-func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(destination *v20231102ps.ManagedClusterSecurityProfileImageIntegrity) error {
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(destination *storage.ManagedClusterSecurityProfileImageIntegrity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22414,7 +22614,7 @@ func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) PopulateFro
}
// AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS populates our ManagedClusterSecurityProfileImageIntegrity_STATUS from the provided source ManagedClusterSecurityProfileImageIntegrity_STATUS
-func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS(source *v20231102ps.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS(source *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -22429,7 +22629,7 @@ func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignPrope
}
// AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS populates the provided destination ManagedClusterSecurityProfileImageIntegrity_STATUS from our ManagedClusterSecurityProfileImageIntegrity_STATUS
-func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(destination *v20231102ps.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(destination *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22498,7 +22698,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction) PopulateFromARM
}
// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction populates our ManagedClusterSecurityProfileNodeRestriction from the provided source ManagedClusterSecurityProfileNodeRestriction
-func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source *v20231102ps.ManagedClusterSecurityProfileNodeRestriction) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source *storage.ManagedClusterSecurityProfileNodeRestriction) error {
// Enabled
if source.Enabled != nil {
@@ -22513,7 +22713,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignPropertie
}
// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction populates the provided destination ManagedClusterSecurityProfileNodeRestriction from our ManagedClusterSecurityProfileNodeRestriction
-func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(destination *v20231102ps.ManagedClusterSecurityProfileNodeRestriction) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(destination *storage.ManagedClusterSecurityProfileNodeRestriction) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22567,7 +22767,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) Populate
}
// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS populates our ManagedClusterSecurityProfileNodeRestriction_STATUS from the provided source ManagedClusterSecurityProfileNodeRestriction_STATUS
-func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source *v20231102ps.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -22582,7 +22782,7 @@ func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS populates the provided destination ManagedClusterSecurityProfileNodeRestriction_STATUS from our ManagedClusterSecurityProfileNodeRestriction_STATUS
-func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(destination *v20231102ps.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(destination *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22651,7 +22851,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *v20231102ps.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Enabled
if source.Enabled != nil {
@@ -22666,7 +22866,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *v20231102ps.ManagedClusterSecurityProfileWorkloadIdentity) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22720,7 +22920,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) PopulateFr
}
// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *v20231102ps.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -22735,7 +22935,7 @@ func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProp
}
// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
-func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *v20231102ps.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22804,7 +23004,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *v20231102ps.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -22819,7 +23019,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
-func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *v20231102ps.ManagedClusterStorageProfileBlobCSIDriver) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22873,7 +23073,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *v20231102ps.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -22888,7 +23088,7 @@ func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *v20231102ps.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -22972,7 +23172,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *v20231102ps.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -22990,7 +23190,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
-func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *v20231102ps.ManagedClusterStorageProfileDiskCSIDriver) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23056,7 +23256,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *v20231102ps.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23074,7 +23274,7 @@ func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *v20231102ps.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23146,7 +23346,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *v20231102ps.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Enabled
if source.Enabled != nil {
@@ -23161,7 +23361,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
-func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *v20231102ps.ManagedClusterStorageProfileFileCSIDriver) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23215,7 +23415,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *v20231102ps.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23230,7 +23430,7 @@ func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
-func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *v20231102ps.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23299,7 +23499,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) PopulateFromAR
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *v20231102ps.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
// Enabled
if source.Enabled != nil {
@@ -23314,7 +23514,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperti
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
-func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *v20231102ps.ManagedClusterStorageProfileSnapshotController) error {
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23368,7 +23568,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) Populat
}
// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *v20231102ps.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23383,7 +23583,7 @@ func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
-func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *v20231102ps.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23414,6 +23614,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_Windows_Server = ManagedClusterWindowsProfile_LicenseType("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType
+var managedClusterWindowsProfile_LicenseType_Values = map[string]ManagedClusterWindowsProfile_LicenseType{
+ "none": ManagedClusterWindowsProfile_LicenseType_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_Windows_Server,
+}
+
type ManagedClusterWindowsProfile_LicenseType_STATUS string
const (
@@ -23421,6 +23627,12 @@ const (
ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server = ManagedClusterWindowsProfile_LicenseType_STATUS("Windows_Server")
)
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType_STATUS
+var managedClusterWindowsProfile_LicenseType_STATUS_Values = map[string]ManagedClusterWindowsProfile_LicenseType_STATUS{
+ "none": ManagedClusterWindowsProfile_LicenseType_STATUS_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server,
+}
+
// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
type ManagedClusterWorkloadAutoScalerProfileKeda struct {
// +kubebuilder:validation:Required
@@ -23468,7 +23680,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) PopulateFromARM(owner g
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *v20231102ps.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Enabled
if source.Enabled != nil {
@@ -23483,7 +23695,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_M
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *v20231102ps.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23537,7 +23749,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *v20231102ps.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23552,7 +23764,7 @@ func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
-func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *v20231102ps.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23636,12 +23848,13 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *v20231102ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// AddonAutoscaling
if source.AddonAutoscaling != nil {
- addonAutoscaling := ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling(*source.AddonAutoscaling)
- autoscaler.AddonAutoscaling = &addonAutoscaling
+ addonAutoscaling := *source.AddonAutoscaling
+ addonAutoscalingTemp := genruntime.ToEnum(addonAutoscaling, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Values)
+ autoscaler.AddonAutoscaling = &addonAutoscalingTemp
} else {
autoscaler.AddonAutoscaling = nil
}
@@ -23659,7 +23872,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *v20231102ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23729,12 +23942,13 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *v20231102ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// AddonAutoscaling
if source.AddonAutoscaling != nil {
- addonAutoscaling := ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS(*source.AddonAutoscaling)
- autoscaler.AddonAutoscaling = &addonAutoscaling
+ addonAutoscaling := *source.AddonAutoscaling
+ addonAutoscalingTemp := genruntime.ToEnum(addonAutoscaling, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Values)
+ autoscaler.AddonAutoscaling = &addonAutoscalingTemp
} else {
autoscaler.AddonAutoscaling = nil
}
@@ -23752,7 +23966,7 @@ func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_S
}
// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
-func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *v20231102ps.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23792,6 +24006,12 @@ const (
NetworkDataplane_Cilium = NetworkDataplane("cilium")
)
+// Mapping from string to NetworkDataplane
+var networkDataplane_Values = map[string]NetworkDataplane{
+ "azure": NetworkDataplane_Azure,
+ "cilium": NetworkDataplane_Cilium,
+}
+
// Network dataplane used in the Kubernetes cluster.
type NetworkDataplane_STATUS string
@@ -23800,6 +24020,12 @@ const (
NetworkDataplane_STATUS_Cilium = NetworkDataplane_STATUS("cilium")
)
+// Mapping from string to NetworkDataplane_STATUS
+var networkDataplane_STATUS_Values = map[string]NetworkDataplane_STATUS{
+ "azure": NetworkDataplane_STATUS_Azure,
+ "cilium": NetworkDataplane_STATUS_Cilium,
+}
+
// This cannot be specified if networkPlugin is anything other than 'azure'.
// +kubebuilder:validation:Enum={"bridge","transparent"}
type NetworkMode string
@@ -23809,6 +24035,12 @@ const (
NetworkMode_Transparent = NetworkMode("transparent")
)
+// Mapping from string to NetworkMode
+var networkMode_Values = map[string]NetworkMode{
+ "bridge": NetworkMode_Bridge,
+ "transparent": NetworkMode_Transparent,
+}
+
// This cannot be specified if networkPlugin is anything other than 'azure'.
type NetworkMode_STATUS string
@@ -23817,6 +24049,12 @@ const (
NetworkMode_STATUS_Transparent = NetworkMode_STATUS("transparent")
)
+// Mapping from string to NetworkMode_STATUS
+var networkMode_STATUS_Values = map[string]NetworkMode_STATUS{
+ "bridge": NetworkMode_STATUS_Bridge,
+ "transparent": NetworkMode_STATUS_Transparent,
+}
+
// This addon can be used to configure network monitoring and generate network monitoring data in Prometheus format
type NetworkMonitoring struct {
// Enabled: Enable or disable the network monitoring plugin on the cluster
@@ -23863,7 +24101,7 @@ func (monitoring *NetworkMonitoring) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_NetworkMonitoring populates our NetworkMonitoring from the provided source NetworkMonitoring
-func (monitoring *NetworkMonitoring) AssignProperties_From_NetworkMonitoring(source *v20231102ps.NetworkMonitoring) error {
+func (monitoring *NetworkMonitoring) AssignProperties_From_NetworkMonitoring(source *storage.NetworkMonitoring) error {
// Enabled
if source.Enabled != nil {
@@ -23878,7 +24116,7 @@ func (monitoring *NetworkMonitoring) AssignProperties_From_NetworkMonitoring(sou
}
// AssignProperties_To_NetworkMonitoring populates the provided destination NetworkMonitoring from our NetworkMonitoring
-func (monitoring *NetworkMonitoring) AssignProperties_To_NetworkMonitoring(destination *v20231102ps.NetworkMonitoring) error {
+func (monitoring *NetworkMonitoring) AssignProperties_To_NetworkMonitoring(destination *storage.NetworkMonitoring) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23932,7 +24170,7 @@ func (monitoring *NetworkMonitoring_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_NetworkMonitoring_STATUS populates our NetworkMonitoring_STATUS from the provided source NetworkMonitoring_STATUS
-func (monitoring *NetworkMonitoring_STATUS) AssignProperties_From_NetworkMonitoring_STATUS(source *v20231102ps.NetworkMonitoring_STATUS) error {
+func (monitoring *NetworkMonitoring_STATUS) AssignProperties_From_NetworkMonitoring_STATUS(source *storage.NetworkMonitoring_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -23947,7 +24185,7 @@ func (monitoring *NetworkMonitoring_STATUS) AssignProperties_From_NetworkMonitor
}
// AssignProperties_To_NetworkMonitoring_STATUS populates the provided destination NetworkMonitoring_STATUS from our NetworkMonitoring_STATUS
-func (monitoring *NetworkMonitoring_STATUS) AssignProperties_To_NetworkMonitoring_STATUS(destination *v20231102ps.NetworkMonitoring_STATUS) error {
+func (monitoring *NetworkMonitoring_STATUS) AssignProperties_To_NetworkMonitoring_STATUS(destination *storage.NetworkMonitoring_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -23980,6 +24218,13 @@ const (
NetworkPlugin_None = NetworkPlugin("none")
)
+// Mapping from string to NetworkPlugin
+var networkPlugin_Values = map[string]NetworkPlugin{
+ "azure": NetworkPlugin_Azure,
+ "kubenet": NetworkPlugin_Kubenet,
+ "none": NetworkPlugin_None,
+}
+
// Network plugin used for building the Kubernetes network.
type NetworkPlugin_STATUS string
@@ -23989,17 +24234,34 @@ const (
NetworkPlugin_STATUS_None = NetworkPlugin_STATUS("none")
)
+// Mapping from string to NetworkPlugin_STATUS
+var networkPlugin_STATUS_Values = map[string]NetworkPlugin_STATUS{
+ "azure": NetworkPlugin_STATUS_Azure,
+ "kubenet": NetworkPlugin_STATUS_Kubenet,
+ "none": NetworkPlugin_STATUS_None,
+}
+
// The mode the network plugin should use.
// +kubebuilder:validation:Enum={"overlay"}
type NetworkPluginMode string
const NetworkPluginMode_Overlay = NetworkPluginMode("overlay")
+// Mapping from string to NetworkPluginMode
+var networkPluginMode_Values = map[string]NetworkPluginMode{
+ "overlay": NetworkPluginMode_Overlay,
+}
+
// The mode the network plugin should use.
type NetworkPluginMode_STATUS string
const NetworkPluginMode_STATUS_Overlay = NetworkPluginMode_STATUS("overlay")
+// Mapping from string to NetworkPluginMode_STATUS
+var networkPluginMode_STATUS_Values = map[string]NetworkPluginMode_STATUS{
+ "overlay": NetworkPluginMode_STATUS_Overlay,
+}
+
// Network policy used for building the Kubernetes network.
// +kubebuilder:validation:Enum={"azure","calico","cilium","none"}
type NetworkPolicy string
@@ -24011,6 +24273,14 @@ const (
NetworkPolicy_None = NetworkPolicy("none")
)
+// Mapping from string to NetworkPolicy
+var networkPolicy_Values = map[string]NetworkPolicy{
+ "azure": NetworkPolicy_Azure,
+ "calico": NetworkPolicy_Calico,
+ "cilium": NetworkPolicy_Cilium,
+ "none": NetworkPolicy_None,
+}
+
// Network policy used for building the Kubernetes network.
type NetworkPolicy_STATUS string
@@ -24021,6 +24291,14 @@ const (
NetworkPolicy_STATUS_None = NetworkPolicy_STATUS("none")
)
+// Mapping from string to NetworkPolicy_STATUS
+var networkPolicy_STATUS_Values = map[string]NetworkPolicy_STATUS{
+ "azure": NetworkPolicy_STATUS_Azure,
+ "calico": NetworkPolicy_STATUS_Calico,
+ "cilium": NetworkPolicy_STATUS_Cilium,
+ "none": NetworkPolicy_STATUS_None,
+}
+
type PowerState_Code_STATUS string
const (
@@ -24028,6 +24306,12 @@ const (
PowerState_Code_STATUS_Stopped = PowerState_Code_STATUS("Stopped")
)
+// Mapping from string to PowerState_Code_STATUS
+var powerState_Code_STATUS_Values = map[string]PowerState_Code_STATUS{
+ "running": PowerState_Code_STATUS_Running,
+ "stopped": PowerState_Code_STATUS_Stopped,
+}
+
// +kubebuilder:validation:Enum={"Enforcement","Off","Warning"}
type SafeguardsProfile_Level string
@@ -24037,6 +24321,13 @@ const (
SafeguardsProfile_Level_Warning = SafeguardsProfile_Level("Warning")
)
+// Mapping from string to SafeguardsProfile_Level
+var safeguardsProfile_Level_Values = map[string]SafeguardsProfile_Level{
+ "enforcement": SafeguardsProfile_Level_Enforcement,
+ "off": SafeguardsProfile_Level_Off,
+ "warning": SafeguardsProfile_Level_Warning,
+}
+
type SafeguardsProfile_Level_STATUS string
const (
@@ -24045,6 +24336,13 @@ const (
SafeguardsProfile_Level_STATUS_Warning = SafeguardsProfile_Level_STATUS("Warning")
)
+// Mapping from string to SafeguardsProfile_Level_STATUS
+var safeguardsProfile_Level_STATUS_Values = map[string]SafeguardsProfile_Level_STATUS{
+ "enforcement": SafeguardsProfile_Level_STATUS_Enforcement,
+ "off": SafeguardsProfile_Level_STATUS_Off,
+ "warning": SafeguardsProfile_Level_STATUS_Warning,
+}
+
// +kubebuilder:validation:Enum={"Disabled","Istio"}
type ServiceMeshProfile_Mode string
@@ -24053,6 +24351,12 @@ const (
ServiceMeshProfile_Mode_Istio = ServiceMeshProfile_Mode("Istio")
)
+// Mapping from string to ServiceMeshProfile_Mode
+var serviceMeshProfile_Mode_Values = map[string]ServiceMeshProfile_Mode{
+ "disabled": ServiceMeshProfile_Mode_Disabled,
+ "istio": ServiceMeshProfile_Mode_Istio,
+}
+
type ServiceMeshProfile_Mode_STATUS string
const (
@@ -24060,6 +24364,12 @@ const (
ServiceMeshProfile_Mode_STATUS_Istio = ServiceMeshProfile_Mode_STATUS("Istio")
)
+// Mapping from string to ServiceMeshProfile_Mode_STATUS
+var serviceMeshProfile_Mode_STATUS_Values = map[string]ServiceMeshProfile_Mode_STATUS{
+ "disabled": ServiceMeshProfile_Mode_STATUS_Disabled,
+ "istio": ServiceMeshProfile_Mode_STATUS_Istio,
+}
+
// Settings for overrides when upgrading a cluster.
type UpgradeOverrideSettings struct {
// ForceUpgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade
@@ -24124,7 +24434,7 @@ func (settings *UpgradeOverrideSettings) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_UpgradeOverrideSettings populates our UpgradeOverrideSettings from the provided source UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *v20231102ps.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *storage.UpgradeOverrideSettings) error {
// ForceUpgrade
if source.ForceUpgrade != nil {
@@ -24142,7 +24452,7 @@ func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSe
}
// AssignProperties_To_UpgradeOverrideSettings populates the provided destination UpgradeOverrideSettings from our UpgradeOverrideSettings
-func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *v20231102ps.UpgradeOverrideSettings) error {
+func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *storage.UpgradeOverrideSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24211,7 +24521,7 @@ func (settings *UpgradeOverrideSettings_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_UpgradeOverrideSettings_STATUS populates our UpgradeOverrideSettings_STATUS from the provided source UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *v20231102ps.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *storage.UpgradeOverrideSettings_STATUS) error {
// ForceUpgrade
if source.ForceUpgrade != nil {
@@ -24229,7 +24539,7 @@ func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOve
}
// AssignProperties_To_UpgradeOverrideSettings_STATUS populates the provided destination UpgradeOverrideSettings_STATUS from our UpgradeOverrideSettings_STATUS
-func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *v20231102ps.UpgradeOverrideSettings_STATUS) error {
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *storage.UpgradeOverrideSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24261,7 +24571,7 @@ type UserAssignedIdentityDetails struct {
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20231102ps.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Reference
details.Reference = source.Reference.Copy()
@@ -24271,7 +24581,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20231102ps.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24367,7 +24677,7 @@ func (profile *WindowsGmsaProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *v20231102ps.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -24388,7 +24698,7 @@ func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(sour
}
// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
-func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *v20231102ps.WindowsGmsaProfile) error {
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24468,7 +24778,7 @@ func (profile *WindowsGmsaProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *v20231102ps.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
// DnsServer
profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
@@ -24489,7 +24799,7 @@ func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfi
}
// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
-func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *v20231102ps.WindowsGmsaProfile_STATUS) error {
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24526,6 +24836,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_Public = AzureKeyVaultKms_KeyVaultNetworkAccess("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess
+var azureKeyVaultKms_KeyVaultNetworkAccess_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_Public,
+}
+
type AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS string
const (
@@ -24533,6 +24849,12 @@ const (
AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public = AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS("Public")
)
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS
+var azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig struct {
// Scheduler: IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html.
Scheduler *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler `json:"scheduler,omitempty"`
@@ -24624,12 +24946,13 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) Populat
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
// Scheduler
if source.Scheduler != nil {
- scheduler := ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler(*source.Scheduler)
- config.Scheduler = &scheduler
+ scheduler := *source.Scheduler
+ schedulerTemp := genruntime.ToEnum(scheduler, containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_Values)
+ config.Scheduler = &schedulerTemp
} else {
config.Scheduler = nil
}
@@ -24648,7 +24971,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignP
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(destination *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24738,12 +25061,13 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
}
// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
// Scheduler
if source.Scheduler != nil {
- scheduler := ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS(*source.Scheduler)
- config.Scheduler = &scheduler
+ scheduler := *source.Scheduler
+ schedulerTemp := genruntime.ToEnum(scheduler, containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_Values)
+ config.Scheduler = &schedulerTemp
} else {
config.Scheduler = nil
}
@@ -24762,7 +25086,7 @@ func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
}
// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
-func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(destination *v20231102ps.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24802,6 +25126,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPVS = ContainerServiceNetworkProfile_KubeProxyConfig_Mode("IPVS")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_Mode
+var containerServiceNetworkProfile_KubeProxyConfig_Mode_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_Mode{
+ "iptables": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPTABLES,
+ "ipvs": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPVS,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS string
const (
@@ -24809,6 +25139,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPVS = ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS("IPVS")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS
+var containerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS{
+ "iptables": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPTABLES,
+ "ipvs": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPVS,
+}
+
// Contains information about SSH certificate public key data.
type ContainerServiceSshPublicKey struct {
// +kubebuilder:validation:Required
@@ -24857,7 +25193,7 @@ func (publicKey *ContainerServiceSshPublicKey) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *v20231102ps.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -24867,7 +25203,7 @@ func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerSe
}
// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
-func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *v20231102ps.ContainerServiceSshPublicKey) error {
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -24917,7 +25253,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *v20231102ps.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
// KeyData
publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
@@ -24927,7 +25263,7 @@ func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_Cont
}
// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
-func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *v20231102ps.ContainerServiceSshPublicKey_STATUS) error {
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -25001,7 +25337,7 @@ func (authority *IstioCertificateAuthority) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_IstioCertificateAuthority populates our IstioCertificateAuthority from the provided source IstioCertificateAuthority
-func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertificateAuthority(source *v20231102ps.IstioCertificateAuthority) error {
+func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertificateAuthority(source *storage.IstioCertificateAuthority) error {
// Plugin
if source.Plugin != nil {
@@ -25020,13 +25356,13 @@ func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertifica
}
// AssignProperties_To_IstioCertificateAuthority populates the provided destination IstioCertificateAuthority from our IstioCertificateAuthority
-func (authority *IstioCertificateAuthority) AssignProperties_To_IstioCertificateAuthority(destination *v20231102ps.IstioCertificateAuthority) error {
+func (authority *IstioCertificateAuthority) AssignProperties_To_IstioCertificateAuthority(destination *storage.IstioCertificateAuthority) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Plugin
if authority.Plugin != nil {
- var plugin v20231102ps.IstioPluginCertificateAuthority
+ var plugin storage.IstioPluginCertificateAuthority
err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority(&plugin)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority() to populate field Plugin")
@@ -25084,7 +25420,7 @@ func (authority *IstioCertificateAuthority_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_IstioCertificateAuthority_STATUS populates our IstioCertificateAuthority_STATUS from the provided source IstioCertificateAuthority_STATUS
-func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCertificateAuthority_STATUS(source *v20231102ps.IstioCertificateAuthority_STATUS) error {
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCertificateAuthority_STATUS(source *storage.IstioCertificateAuthority_STATUS) error {
// Plugin
if source.Plugin != nil {
@@ -25103,13 +25439,13 @@ func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCe
}
// AssignProperties_To_IstioCertificateAuthority_STATUS populates the provided destination IstioCertificateAuthority_STATUS from our IstioCertificateAuthority_STATUS
-func (authority *IstioCertificateAuthority_STATUS) AssignProperties_To_IstioCertificateAuthority_STATUS(destination *v20231102ps.IstioCertificateAuthority_STATUS) error {
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_To_IstioCertificateAuthority_STATUS(destination *storage.IstioCertificateAuthority_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Plugin
if authority.Plugin != nil {
- var plugin v20231102ps.IstioPluginCertificateAuthority_STATUS
+ var plugin storage.IstioPluginCertificateAuthority_STATUS
err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority_STATUS(&plugin)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority_STATUS() to populate field Plugin")
@@ -25205,7 +25541,7 @@ func (components *IstioComponents) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_IstioComponents populates our IstioComponents from the provided source IstioComponents
-func (components *IstioComponents) AssignProperties_From_IstioComponents(source *v20231102ps.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_From_IstioComponents(source *storage.IstioComponents) error {
// EgressGateways
if source.EgressGateways != nil {
@@ -25248,17 +25584,17 @@ func (components *IstioComponents) AssignProperties_From_IstioComponents(source
}
// AssignProperties_To_IstioComponents populates the provided destination IstioComponents from our IstioComponents
-func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *v20231102ps.IstioComponents) error {
+func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *storage.IstioComponents) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EgressGateways
if components.EgressGateways != nil {
- egressGatewayList := make([]v20231102ps.IstioEgressGateway, len(components.EgressGateways))
+ egressGatewayList := make([]storage.IstioEgressGateway, len(components.EgressGateways))
for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
// Shadow the loop variable to avoid aliasing
egressGatewayItem := egressGatewayItem
- var egressGateway v20231102ps.IstioEgressGateway
+ var egressGateway storage.IstioEgressGateway
err := egressGatewayItem.AssignProperties_To_IstioEgressGateway(&egressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway() to populate field EgressGateways")
@@ -25272,11 +25608,11 @@ func (components *IstioComponents) AssignProperties_To_IstioComponents(destinati
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20231102ps.IstioIngressGateway, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20231102ps.IstioIngressGateway
+ var ingressGateway storage.IstioIngressGateway
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway() to populate field IngressGateways")
@@ -25347,7 +25683,7 @@ func (components *IstioComponents_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_IstioComponents_STATUS populates our IstioComponents_STATUS from the provided source IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *v20231102ps.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *storage.IstioComponents_STATUS) error {
// EgressGateways
if source.EgressGateways != nil {
@@ -25390,17 +25726,17 @@ func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_
}
// AssignProperties_To_IstioComponents_STATUS populates the provided destination IstioComponents_STATUS from our IstioComponents_STATUS
-func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *v20231102ps.IstioComponents_STATUS) error {
+func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *storage.IstioComponents_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// EgressGateways
if components.EgressGateways != nil {
- egressGatewayList := make([]v20231102ps.IstioEgressGateway_STATUS, len(components.EgressGateways))
+ egressGatewayList := make([]storage.IstioEgressGateway_STATUS, len(components.EgressGateways))
for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
// Shadow the loop variable to avoid aliasing
egressGatewayItem := egressGatewayItem
- var egressGateway v20231102ps.IstioEgressGateway_STATUS
+ var egressGateway storage.IstioEgressGateway_STATUS
err := egressGatewayItem.AssignProperties_To_IstioEgressGateway_STATUS(&egressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway_STATUS() to populate field EgressGateways")
@@ -25414,11 +25750,11 @@ func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_ST
// IngressGateways
if components.IngressGateways != nil {
- ingressGatewayList := make([]v20231102ps.IstioIngressGateway_STATUS, len(components.IngressGateways))
+ ingressGatewayList := make([]storage.IstioIngressGateway_STATUS, len(components.IngressGateways))
for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
// Shadow the loop variable to avoid aliasing
ingressGatewayItem := ingressGatewayItem
- var ingressGateway v20231102ps.IstioIngressGateway_STATUS
+ var ingressGateway storage.IstioIngressGateway_STATUS
err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway_STATUS(&ingressGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway_STATUS() to populate field IngressGateways")
@@ -25489,7 +25825,7 @@ func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) PopulateFromAR
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring populates our ManagedClusterAzureMonitorProfileAppMonitoring from the provided source ManagedClusterAzureMonitorProfileAppMonitoring
-func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring(source *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoring) error {
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring(source *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error {
// Enabled
if source.Enabled != nil {
@@ -25504,7 +25840,7 @@ func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperti
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoring from our ManagedClusterAzureMonitorProfileAppMonitoring
-func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring(destination *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoring) error {
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -25560,7 +25896,7 @@ func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) Populat
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoring_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
-func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -25575,7 +25911,7 @@ func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoring_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
-func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -25646,7 +25982,7 @@ func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetric
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
-func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(source *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
// Enabled
if source.Enabled != nil {
@@ -25661,7 +25997,7 @@ func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetric
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
-func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(destination *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -25717,7 +26053,7 @@ func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetric
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -25732,7 +26068,7 @@ func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetric
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -25843,7 +26179,7 @@ func (insights *ManagedClusterAzureMonitorProfileContainerInsights) PopulateFrom
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights populates our ManagedClusterAzureMonitorProfileContainerInsights from the provided source ManagedClusterAzureMonitorProfileContainerInsights
-func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights(source *v20231102ps.ManagedClusterAzureMonitorProfileContainerInsights) error {
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights(source *storage.ManagedClusterAzureMonitorProfileContainerInsights) error {
// Enabled
if source.Enabled != nil {
@@ -25878,7 +26214,7 @@ func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProper
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights populates the provided destination ManagedClusterAzureMonitorProfileContainerInsights from our ManagedClusterAzureMonitorProfileContainerInsights
-func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights(destination *v20231102ps.ManagedClusterAzureMonitorProfileContainerInsights) error {
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights(destination *storage.ManagedClusterAzureMonitorProfileContainerInsights) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -25900,7 +26236,7 @@ func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProper
// WindowsHostLogs
if insights.WindowsHostLogs != nil {
- var windowsHostLog v20231102ps.ManagedClusterAzureMonitorProfileWindowsHostLogs
+ var windowsHostLog storage.ManagedClusterAzureMonitorProfileWindowsHostLogs
err := insights.WindowsHostLogs.AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs(&windowsHostLog)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs() to populate field WindowsHostLogs")
@@ -25978,7 +26314,7 @@ func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) Popul
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS populates our ManagedClusterAzureMonitorProfileContainerInsights_STATUS from the provided source ManagedClusterAzureMonitorProfileContainerInsights_STATUS
-func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(source *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -26008,7 +26344,7 @@ func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) Assig
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS populates the provided destination ManagedClusterAzureMonitorProfileContainerInsights_STATUS from our ManagedClusterAzureMonitorProfileContainerInsights_STATUS
-func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(destination *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -26025,7 +26361,7 @@ func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) Assig
// WindowsHostLogs
if insights.WindowsHostLogs != nil {
- var windowsHostLog v20231102ps.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS
+ var windowsHostLog storage.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS
err := insights.WindowsHostLogs.AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS(&windowsHostLog)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS() to populate field WindowsHostLogs")
@@ -26109,7 +26445,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) PopulateFromAR
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *v20231102ps.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -26122,7 +26458,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperti
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *v20231102ps.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -26185,7 +26521,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) Populat
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// MetricAnnotationsAllowList
metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
@@ -26198,7 +26534,7 @@ func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignP
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
-func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -26227,6 +26563,12 @@ const (
ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType("NodeIPConfiguration")
)
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType
+var managedClusterLoadBalancerProfile_BackendPoolType_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration,
+}
+
type ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS string
const (
@@ -26234,6 +26576,12 @@ const (
ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS("NodeIPConfiguration")
)
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS
+var managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration,
+}
+
type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
// +kubebuilder:validation:Maximum=100
// +kubebuilder:validation:Minimum=1
@@ -26300,7 +26648,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *v20231102ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Count
if source.Count != nil {
@@ -26323,7 +26671,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *v20231102ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -26395,7 +26743,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) Populate
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *v20231102ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Count
iPs.Count = genruntime.ClonePointerToInt(source.Count)
@@ -26408,7 +26756,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignPr
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *v20231102ps.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -26481,7 +26829,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) PopulateFr
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -26506,17 +26854,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProp
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20231102ps.ResourceReference, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20231102ps.ResourceReference
+ var publicIPPrefix storage.ResourceReference
err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
@@ -26573,7 +26921,7 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Pop
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// PublicIPPrefixes
if source.PublicIPPrefixes != nil {
@@ -26598,17 +26946,17 @@ func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) Ass
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
-func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPPrefixes
if prefixes.PublicIPPrefixes != nil {
- publicIPPrefixList := make([]v20231102ps.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
// Shadow the loop variable to avoid aliasing
publicIPPrefixItem := publicIPPrefixItem
- var publicIPPrefix v20231102ps.ResourceReference_STATUS
+ var publicIPPrefix storage.ResourceReference_STATUS
err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
@@ -26683,7 +27031,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) PopulateFromARM(owner
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -26708,17 +27056,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20231102ps.ResourceReference, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20231102ps.ResourceReference
+ var publicIP storage.ResourceReference
err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
@@ -26775,7 +27123,7 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) PopulateFromARM
}
// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// PublicIPs
if source.PublicIPs != nil {
@@ -26800,17 +27148,17 @@ func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignPropertie
}
// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
-func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *v20231102ps.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// PublicIPs
if iPs.PublicIPs != nil {
- publicIPList := make([]v20231102ps.ResourceReference_STATUS, len(iPs.PublicIPs))
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
for publicIPIndex, publicIPItem := range iPs.PublicIPs {
// Shadow the loop variable to avoid aliasing
publicIPItem := publicIPItem
- var publicIP v20231102ps.ResourceReference_STATUS
+ var publicIP storage.ResourceReference_STATUS
err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
@@ -26882,7 +27230,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) PopulateFromARM(owner gen
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *v20231102ps.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
// Count
if source.Count != nil {
@@ -26897,7 +27245,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_Man
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
-func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *v20231102ps.ManagedClusterManagedOutboundIPProfile) error {
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -26952,7 +27300,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *v20231102ps.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Count
profile.Count = genruntime.ClonePointerToInt(source.Count)
@@ -26962,7 +27310,7 @@ func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_F
}
// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
-func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *v20231102ps.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27015,7 +27363,7 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *v20231102ps.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Error
if source.Error != nil {
@@ -27034,13 +27382,13 @@ func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_
}
// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
-func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *v20231102ps.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if info.Error != nil {
- var error v20231102ps.ManagedClusterPodIdentityProvisioningError_STATUS
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
@@ -27072,6 +27420,16 @@ const (
ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating = ManagedClusterPodIdentity_ProvisioningState_STATUS("Updating")
)
+// Mapping from string to ManagedClusterPodIdentity_ProvisioningState_STATUS
+var managedClusterPodIdentity_ProvisioningState_STATUS_Values = map[string]ManagedClusterPodIdentity_ProvisioningState_STATUS{
+ "assigned": ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned,
+ "canceled": ManagedClusterPodIdentity_ProvisioningState_STATUS_Canceled,
+ "deleting": ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting,
+ "failed": ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed,
+ "succeeded": ManagedClusterPodIdentity_ProvisioningState_STATUS_Succeeded,
+ "updating": ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating,
+}
+
// Microsoft Defender settings for the security profile threat detection.
type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
// Enabled: Whether to enable Defender threat detection
@@ -27118,7 +27476,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Popul
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *v20231102ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Enabled
if source.Enabled != nil {
@@ -27133,7 +27491,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) Assig
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *v20231102ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27187,7 +27545,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *v20231102ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -27202,7 +27560,7 @@ func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
}
// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
-func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *v20231102ps.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27233,6 +27591,12 @@ const (
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Enabled = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling("Enabled")
)
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling{
+ "disabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Disabled,
+ "enabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Enabled,
+}
+
type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS string
const (
@@ -27240,6 +27604,12 @@ const (
ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Enabled = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS("Enabled")
)
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS{
+ "disabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Disabled,
+ "enabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Enabled,
+}
+
// A reference to an Azure resource.
type ResourceReference struct {
// Reference: The fully qualified Azure resource id.
@@ -27286,7 +27656,7 @@ func (reference *ResourceReference) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
-func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *v20231102ps.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
// Reference
if source.Reference != nil {
@@ -27301,7 +27671,7 @@ func (reference *ResourceReference) AssignProperties_From_ResourceReference(sour
}
// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
-func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *v20231102ps.ResourceReference) error {
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27355,7 +27725,7 @@ func (reference *ResourceReference_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *v20231102ps.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
// Id
reference.Id = genruntime.ClonePointerToString(source.Id)
@@ -27365,7 +27735,7 @@ func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReferen
}
// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
-func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *v20231102ps.ResourceReference_STATUS) error {
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27391,6 +27761,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_RoundRobin = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler("RoundRobin")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler
+var containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler{
+ "leastconnection": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_LeastConnection,
+ "roundrobin": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_RoundRobin,
+}
+
type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS string
const (
@@ -27398,6 +27774,12 @@ const (
ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_RoundRobin = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS("RoundRobin")
)
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS
+var containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS{
+ "leastconnection": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_LeastConnection,
+ "roundrobin": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_RoundRobin,
+}
+
// Istio egress gateway configuration.
type IstioEgressGateway struct {
// +kubebuilder:validation:Required
@@ -27464,7 +27846,7 @@ func (gateway *IstioEgressGateway) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_IstioEgressGateway populates our IstioEgressGateway from the provided source IstioEgressGateway
-func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(source *v20231102ps.IstioEgressGateway) error {
+func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(source *storage.IstioEgressGateway) error {
// Enabled
if source.Enabled != nil {
@@ -27482,7 +27864,7 @@ func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(sour
}
// AssignProperties_To_IstioEgressGateway populates the provided destination IstioEgressGateway from our IstioEgressGateway
-func (gateway *IstioEgressGateway) AssignProperties_To_IstioEgressGateway(destination *v20231102ps.IstioEgressGateway) error {
+func (gateway *IstioEgressGateway) AssignProperties_To_IstioEgressGateway(destination *storage.IstioEgressGateway) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27550,7 +27932,7 @@ func (gateway *IstioEgressGateway_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_IstioEgressGateway_STATUS populates our IstioEgressGateway_STATUS from the provided source IstioEgressGateway_STATUS
-func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGateway_STATUS(source *v20231102ps.IstioEgressGateway_STATUS) error {
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGateway_STATUS(source *storage.IstioEgressGateway_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -27568,7 +27950,7 @@ func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGatew
}
// AssignProperties_To_IstioEgressGateway_STATUS populates the provided destination IstioEgressGateway_STATUS from our IstioEgressGateway_STATUS
-func (gateway *IstioEgressGateway_STATUS) AssignProperties_To_IstioEgressGateway_STATUS(destination *v20231102ps.IstioEgressGateway_STATUS) error {
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_To_IstioEgressGateway_STATUS(destination *storage.IstioEgressGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27658,7 +28040,7 @@ func (gateway *IstioIngressGateway) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_IstioIngressGateway populates our IstioIngressGateway from the provided source IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *v20231102ps.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *storage.IstioIngressGateway) error {
// Enabled
if source.Enabled != nil {
@@ -27670,8 +28052,9 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode(*source.Mode)
- gateway.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_Values)
+ gateway.Mode = &modeTemp
} else {
gateway.Mode = nil
}
@@ -27681,7 +28064,7 @@ func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(so
}
// AssignProperties_To_IstioIngressGateway populates the provided destination IstioIngressGateway from our IstioIngressGateway
-func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *v20231102ps.IstioIngressGateway) error {
+func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *storage.IstioIngressGateway) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27753,7 +28136,7 @@ func (gateway *IstioIngressGateway_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_IstioIngressGateway_STATUS populates our IstioIngressGateway_STATUS from the provided source IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *v20231102ps.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *storage.IstioIngressGateway_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -27765,8 +28148,9 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
// Mode
if source.Mode != nil {
- mode := IstioIngressGateway_Mode_STATUS(*source.Mode)
- gateway.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_STATUS_Values)
+ gateway.Mode = &modeTemp
} else {
gateway.Mode = nil
}
@@ -27776,7 +28160,7 @@ func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGat
}
// AssignProperties_To_IstioIngressGateway_STATUS populates the provided destination IstioIngressGateway_STATUS from our IstioIngressGateway_STATUS
-func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *v20231102ps.IstioIngressGateway_STATUS) error {
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *storage.IstioIngressGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -27913,7 +28297,7 @@ func (authority *IstioPluginCertificateAuthority) PopulateFromARM(owner genrunti
}
// AssignProperties_From_IstioPluginCertificateAuthority populates our IstioPluginCertificateAuthority from the provided source IstioPluginCertificateAuthority
-func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPluginCertificateAuthority(source *v20231102ps.IstioPluginCertificateAuthority) error {
+func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPluginCertificateAuthority(source *storage.IstioPluginCertificateAuthority) error {
// CertChainObjectName
authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
@@ -27940,7 +28324,7 @@ func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPlu
}
// AssignProperties_To_IstioPluginCertificateAuthority populates the provided destination IstioPluginCertificateAuthority from our IstioPluginCertificateAuthority
-func (authority *IstioPluginCertificateAuthority) AssignProperties_To_IstioPluginCertificateAuthority(destination *v20231102ps.IstioPluginCertificateAuthority) error {
+func (authority *IstioPluginCertificateAuthority) AssignProperties_To_IstioPluginCertificateAuthority(destination *storage.IstioPluginCertificateAuthority) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -28042,7 +28426,7 @@ func (authority *IstioPluginCertificateAuthority_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_IstioPluginCertificateAuthority_STATUS populates our IstioPluginCertificateAuthority_STATUS from the provided source IstioPluginCertificateAuthority_STATUS
-func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source *v20231102ps.IstioPluginCertificateAuthority_STATUS) error {
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source *storage.IstioPluginCertificateAuthority_STATUS) error {
// CertChainObjectName
authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
@@ -28064,7 +28448,7 @@ func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_I
}
// AssignProperties_To_IstioPluginCertificateAuthority_STATUS populates the provided destination IstioPluginCertificateAuthority_STATUS from our IstioPluginCertificateAuthority_STATUS
-func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_To_IstioPluginCertificateAuthority_STATUS(destination *v20231102ps.IstioPluginCertificateAuthority_STATUS) error {
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_To_IstioPluginCertificateAuthority_STATUS(destination *storage.IstioPluginCertificateAuthority_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -28141,7 +28525,7 @@ func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs) PopulateFromARM(ow
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileWindowsHostLogs populates our ManagedClusterAzureMonitorProfileWindowsHostLogs from the provided source ManagedClusterAzureMonitorProfileWindowsHostLogs
-func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs) AssignProperties_From_ManagedClusterAzureMonitorProfileWindowsHostLogs(source *v20231102ps.ManagedClusterAzureMonitorProfileWindowsHostLogs) error {
+func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs) AssignProperties_From_ManagedClusterAzureMonitorProfileWindowsHostLogs(source *storage.ManagedClusterAzureMonitorProfileWindowsHostLogs) error {
// Enabled
if source.Enabled != nil {
@@ -28156,7 +28540,7 @@ func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs) AssignProperties_F
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs populates the provided destination ManagedClusterAzureMonitorProfileWindowsHostLogs from our ManagedClusterAzureMonitorProfileWindowsHostLogs
-func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs) AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs(destination *v20231102ps.ManagedClusterAzureMonitorProfileWindowsHostLogs) error {
+func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs) AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs(destination *storage.ManagedClusterAzureMonitorProfileWindowsHostLogs) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -28211,7 +28595,7 @@ func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) PopulateFro
}
// AssignProperties_From_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS populates our ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS from the provided source ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS
-func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS(source *v20231102ps.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) error {
+func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS(source *storage.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -28226,7 +28610,7 @@ func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) AssignPrope
}
// AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS populates the provided destination ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS from our ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS
-func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS(destination *v20231102ps.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) error {
+func (logs *ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS(destination *storage.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -28285,7 +28669,7 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) PopulateFromARM(
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *v20231102ps.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Error
if source.Error != nil {
@@ -28304,13 +28688,13 @@ func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
-func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *v20231102ps.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Error
if error.Error != nil {
- var errorLocal v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
@@ -28339,6 +28723,12 @@ const (
IstioIngressGateway_Mode_Internal = IstioIngressGateway_Mode("Internal")
)
+// Mapping from string to IstioIngressGateway_Mode
+var istioIngressGateway_Mode_Values = map[string]IstioIngressGateway_Mode{
+ "external": IstioIngressGateway_Mode_External,
+ "internal": IstioIngressGateway_Mode_Internal,
+}
+
type IstioIngressGateway_Mode_STATUS string
const (
@@ -28346,6 +28736,12 @@ const (
IstioIngressGateway_Mode_STATUS_Internal = IstioIngressGateway_Mode_STATUS("Internal")
)
+// Mapping from string to IstioIngressGateway_Mode_STATUS
+var istioIngressGateway_Mode_STATUS_Values = map[string]IstioIngressGateway_Mode_STATUS{
+ "external": IstioIngressGateway_Mode_STATUS_External,
+ "internal": IstioIngressGateway_Mode_STATUS_Internal,
+}
+
// An error response from the pod identity provisioning.
type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
// Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
@@ -28408,7 +28804,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) PopulateFromA
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Code
body.Code = genruntime.ClonePointerToString(source.Code)
@@ -28442,7 +28838,7 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
-func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -28451,11 +28847,11 @@ func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignPropert
// Details
if body.Details != nil {
- detailList := make([]v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
for detailIndex, detailItem := range body.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detail v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
@@ -28532,7 +28928,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Code
unrolled.Code = genruntime.ClonePointerToString(source.Code)
@@ -28548,7 +28944,7 @@ func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
}
// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
-func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *v20231102ps.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_clusters_agent_pool_types_gen.go
index ba901b2244..90660aaa80 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_clusters_agent_pool_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/managed_clusters_agent_pool_types_gen.go
@@ -5,7 +5,7 @@ package v1api20231102preview
import (
"fmt"
- v20231102ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -50,7 +50,7 @@ var _ conversion.Convertible = &ManagedClustersAgentPool{}
// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// intermediate variable for conversion
- var source v20231102ps.ManagedClustersAgentPool
+ var source storage.ManagedClustersAgentPool
err := source.ConvertFrom(hub)
if err != nil {
@@ -68,7 +68,7 @@ func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
// intermediate variable for conversion
- var destination v20231102ps.ManagedClustersAgentPool
+ var destination storage.ManagedClustersAgentPool
err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
if err != nil {
return errors.Wrap(err, "converting to destination from pool")
@@ -257,7 +257,7 @@ func (pool *ManagedClustersAgentPool) validateWriteOnceProperties(old runtime.Ob
}
// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *v20231102ps.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
// ObjectMeta
pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -283,13 +283,13 @@ func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgent
}
// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
-func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *v20231102ps.ManagedClustersAgentPool) error {
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
// ObjectMeta
destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
// Spec
- var spec v20231102ps.ManagedClusters_AgentPool_Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
@@ -297,7 +297,7 @@ func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPo
destination.Spec = spec
// Status
- var status v20231102ps.ManagedClusters_AgentPool_STATUS
+ var status storage.ManagedClusters_AgentPool_STATUS
err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
@@ -1362,14 +1362,14 @@ var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20231102ps.ManagedClusters_AgentPool_Spec)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
}
// Convert to an intermediate form
- src = &v20231102ps.ManagedClusters_AgentPool_Spec{}
+ src = &storage.ManagedClusters_AgentPool_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1386,14 +1386,14 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.Co
// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20231102ps.ManagedClusters_AgentPool_Spec)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20231102ps.ManagedClusters_AgentPool_Spec{}
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1409,7 +1409,7 @@ func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime
}
// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *v20231102ps.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
// ArtifactStreamingProfile
if source.ArtifactStreamingProfile != nil {
@@ -1502,8 +1502,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -1542,8 +1543,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -1574,8 +1576,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Mode
if source.Mode != nil {
- mode := AgentPoolMode(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -1622,24 +1625,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -1682,24 +1688,27 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -1729,8 +1738,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// Type
if source.Type != nil {
- typeVar := AgentPoolType(*source.Type)
- pool.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ pool.Type = &typeTemp
} else {
pool.Type = nil
}
@@ -1802,8 +1812,9 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -1813,13 +1824,13 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedCluster
}
// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
-func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *v20231102ps.ManagedClusters_AgentPool_Spec) error {
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ArtifactStreamingProfile
if pool.ArtifactStreamingProfile != nil {
- var artifactStreamingProfile v20231102ps.AgentPoolArtifactStreamingProfile
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile
err := pool.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile(&artifactStreamingProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
@@ -1848,7 +1859,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// CreationData
if pool.CreationData != nil {
- var creationDatum v20231102ps.CreationData
+ var creationDatum storage.CreationData
err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
@@ -1916,7 +1927,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// GpuProfile
if pool.GpuProfile != nil {
- var gpuProfile v20231102ps.AgentPoolGPUProfile
+ var gpuProfile storage.AgentPoolGPUProfile
err := pool.GpuProfile.AssignProperties_To_AgentPoolGPUProfile(&gpuProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile() to populate field GpuProfile")
@@ -1936,7 +1947,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20231102ps.KubeletConfig
+ var kubeletConfig storage.KubeletConfig
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
@@ -1956,7 +1967,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20231102ps.LinuxOSConfig
+ var linuxOSConfig storage.LinuxOSConfig
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
@@ -1988,7 +1999,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// NetworkProfile
if pool.NetworkProfile != nil {
- var networkProfile v20231102ps.AgentPoolNetworkProfile
+ var networkProfile storage.AgentPoolNetworkProfile
err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
@@ -2071,7 +2082,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// PowerState
if pool.PowerState != nil {
- var powerState v20231102ps.PowerState
+ var powerState storage.PowerState
err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
@@ -2115,7 +2126,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// SecurityProfile
if pool.SecurityProfile != nil {
- var securityProfile v20231102ps.AgentPoolSecurityProfile
+ var securityProfile storage.AgentPoolSecurityProfile
err := pool.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile() to populate field SecurityProfile")
@@ -2146,7 +2157,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20231102ps.AgentPoolUpgradeSettings
+ var upgradeSetting storage.AgentPoolUpgradeSettings
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
@@ -2158,11 +2169,11 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// VirtualMachineNodesStatus
if pool.VirtualMachineNodesStatus != nil {
- virtualMachineNodesStatusList := make([]v20231102ps.VirtualMachineNodes, len(pool.VirtualMachineNodesStatus))
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes, len(pool.VirtualMachineNodesStatus))
for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range pool.VirtualMachineNodesStatus {
// Shadow the loop variable to avoid aliasing
virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
- var virtualMachineNodesStatus v20231102ps.VirtualMachineNodes
+ var virtualMachineNodesStatus storage.VirtualMachineNodes
err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes(&virtualMachineNodesStatus)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
@@ -2176,7 +2187,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// VirtualMachinesProfile
if pool.VirtualMachinesProfile != nil {
- var virtualMachinesProfile v20231102ps.VirtualMachinesProfile
+ var virtualMachinesProfile storage.VirtualMachinesProfile
err := pool.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile(&virtualMachinesProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
@@ -2199,7 +2210,7 @@ func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_
// WindowsProfile
if pool.WindowsProfile != nil {
- var windowsProfile v20231102ps.AgentPoolWindowsProfile
+ var windowsProfile storage.AgentPoolWindowsProfile
err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
@@ -2454,14 +2465,14 @@ var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20231102ps.ManagedClusters_AgentPool_STATUS)
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate our instance from source
return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
}
// Convert to an intermediate form
- src = &v20231102ps.ManagedClusters_AgentPool_STATUS{}
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -2478,14 +2489,14 @@ func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntim
// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20231102ps.ManagedClusters_AgentPool_STATUS)
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
if ok {
// Populate destination from our instance
return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20231102ps.ManagedClusters_AgentPool_STATUS{}
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -3067,7 +3078,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *v20231102ps.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
// ArtifactStreamingProfile
if source.ArtifactStreamingProfile != nil {
@@ -3158,8 +3169,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// GpuInstanceProfile
if source.GpuInstanceProfile != nil {
- gpuInstanceProfile := GPUInstanceProfile_STATUS(*source.GpuInstanceProfile)
- pool.GpuInstanceProfile = &gpuInstanceProfile
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
} else {
pool.GpuInstanceProfile = nil
}
@@ -3196,8 +3208,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// KubeletDiskType
if source.KubeletDiskType != nil {
- kubeletDiskType := KubeletDiskType_STATUS(*source.KubeletDiskType)
- pool.KubeletDiskType = &kubeletDiskType
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
} else {
pool.KubeletDiskType = nil
}
@@ -3228,8 +3241,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// Mode
if source.Mode != nil {
- mode := AgentPoolMode_STATUS(*source.Mode)
- pool.Mode = &mode
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ pool.Mode = &modeTemp
} else {
pool.Mode = nil
}
@@ -3272,24 +3286,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// OsDiskType
if source.OsDiskType != nil {
- osDiskType := OSDiskType_STATUS(*source.OsDiskType)
- pool.OsDiskType = &osDiskType
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ pool.OsDiskType = &osDiskTypeTemp
} else {
pool.OsDiskType = nil
}
// OsSKU
if source.OsSKU != nil {
- osSKU := OSSKU_STATUS(*source.OsSKU)
- pool.OsSKU = &osSKU
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ pool.OsSKU = &osSKUTemp
} else {
pool.OsSKU = nil
}
// OsType
if source.OsType != nil {
- osType := OSType_STATUS(*source.OsType)
- pool.OsType = &osType
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ pool.OsType = &osTypeTemp
} else {
pool.OsType = nil
}
@@ -3311,8 +3328,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// PropertiesType
if source.PropertiesType != nil {
- propertiesType := AgentPoolType_STATUS(*source.PropertiesType)
- pool.PropertiesType = &propertiesType
+ propertiesType := *source.PropertiesType
+ propertiesTypeTemp := genruntime.ToEnum(propertiesType, agentPoolType_STATUS_Values)
+ pool.PropertiesType = &propertiesTypeTemp
} else {
pool.PropertiesType = nil
}
@@ -3325,24 +3343,27 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// ScaleDownMode
if source.ScaleDownMode != nil {
- scaleDownMode := ScaleDownMode_STATUS(*source.ScaleDownMode)
- pool.ScaleDownMode = &scaleDownMode
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
} else {
pool.ScaleDownMode = nil
}
// ScaleSetEvictionPolicy
if source.ScaleSetEvictionPolicy != nil {
- scaleSetEvictionPolicy := ScaleSetEvictionPolicy_STATUS(*source.ScaleSetEvictionPolicy)
- pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
} else {
pool.ScaleSetEvictionPolicy = nil
}
// ScaleSetPriority
if source.ScaleSetPriority != nil {
- scaleSetPriority := ScaleSetPriority_STATUS(*source.ScaleSetPriority)
- pool.ScaleSetPriority = &scaleSetPriority
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
} else {
pool.ScaleSetPriority = nil
}
@@ -3435,8 +3456,9 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
// WorkloadRuntime
if source.WorkloadRuntime != nil {
- workloadRuntime := WorkloadRuntime_STATUS(*source.WorkloadRuntime)
- pool.WorkloadRuntime = &workloadRuntime
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
} else {
pool.WorkloadRuntime = nil
}
@@ -3446,13 +3468,13 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClust
}
// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
-func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *v20231102ps.ManagedClusters_AgentPool_STATUS) error {
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ArtifactStreamingProfile
if pool.ArtifactStreamingProfile != nil {
- var artifactStreamingProfile v20231102ps.AgentPoolArtifactStreamingProfile_STATUS
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile_STATUS
err := pool.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(&artifactStreamingProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
@@ -3476,7 +3498,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// CreationData
if pool.CreationData != nil {
- var creationDatum v20231102ps.CreationData_STATUS
+ var creationDatum storage.CreationData_STATUS
err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
@@ -3547,7 +3569,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// GpuProfile
if pool.GpuProfile != nil {
- var gpuProfile v20231102ps.AgentPoolGPUProfile_STATUS
+ var gpuProfile storage.AgentPoolGPUProfile_STATUS
err := pool.GpuProfile.AssignProperties_To_AgentPoolGPUProfile_STATUS(&gpuProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
@@ -3565,7 +3587,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// KubeletConfig
if pool.KubeletConfig != nil {
- var kubeletConfig v20231102ps.KubeletConfig_STATUS
+ var kubeletConfig storage.KubeletConfig_STATUS
err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
@@ -3585,7 +3607,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// LinuxOSConfig
if pool.LinuxOSConfig != nil {
- var linuxOSConfig v20231102ps.LinuxOSConfig_STATUS
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
@@ -3620,7 +3642,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// NetworkProfile
if pool.NetworkProfile != nil {
- var networkProfile v20231102ps.AgentPoolNetworkProfile_STATUS
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
@@ -3680,7 +3702,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// PowerState
if pool.PowerState != nil {
- var powerState v20231102ps.PowerState_STATUS
+ var powerState storage.PowerState_STATUS
err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
@@ -3730,7 +3752,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// SecurityProfile
if pool.SecurityProfile != nil {
- var securityProfile v20231102ps.AgentPoolSecurityProfile_STATUS
+ var securityProfile storage.AgentPoolSecurityProfile_STATUS
err := pool.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile_STATUS(&securityProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
@@ -3756,7 +3778,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// UpgradeSettings
if pool.UpgradeSettings != nil {
- var upgradeSetting v20231102ps.AgentPoolUpgradeSettings_STATUS
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
@@ -3768,11 +3790,11 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// VirtualMachineNodesStatus
if pool.VirtualMachineNodesStatus != nil {
- virtualMachineNodesStatusList := make([]v20231102ps.VirtualMachineNodes_STATUS, len(pool.VirtualMachineNodesStatus))
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes_STATUS, len(pool.VirtualMachineNodesStatus))
for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range pool.VirtualMachineNodesStatus {
// Shadow the loop variable to avoid aliasing
virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
- var virtualMachineNodesStatus v20231102ps.VirtualMachineNodes_STATUS
+ var virtualMachineNodesStatus storage.VirtualMachineNodes_STATUS
err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes_STATUS(&virtualMachineNodesStatus)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
@@ -3786,7 +3808,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// VirtualMachinesProfile
if pool.VirtualMachinesProfile != nil {
- var virtualMachinesProfile v20231102ps.VirtualMachinesProfile_STATUS
+ var virtualMachinesProfile storage.VirtualMachinesProfile_STATUS
err := pool.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile_STATUS(&virtualMachinesProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
@@ -3804,7 +3826,7 @@ func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedCluster
// WindowsProfile
if pool.WindowsProfile != nil {
- var windowsProfile v20231102ps.AgentPoolWindowsProfile_STATUS
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
@@ -3879,7 +3901,7 @@ func (profile *AgentPoolArtifactStreamingProfile) PopulateFromARM(owner genrunti
}
// AssignProperties_From_AgentPoolArtifactStreamingProfile populates our AgentPoolArtifactStreamingProfile from the provided source AgentPoolArtifactStreamingProfile
-func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_From_AgentPoolArtifactStreamingProfile(source *v20231102ps.AgentPoolArtifactStreamingProfile) error {
+func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_From_AgentPoolArtifactStreamingProfile(source *storage.AgentPoolArtifactStreamingProfile) error {
// Enabled
if source.Enabled != nil {
@@ -3894,7 +3916,7 @@ func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_From_AgentPoo
}
// AssignProperties_To_AgentPoolArtifactStreamingProfile populates the provided destination AgentPoolArtifactStreamingProfile from our AgentPoolArtifactStreamingProfile
-func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_To_AgentPoolArtifactStreamingProfile(destination *v20231102ps.AgentPoolArtifactStreamingProfile) error {
+func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_To_AgentPoolArtifactStreamingProfile(destination *storage.AgentPoolArtifactStreamingProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3948,7 +3970,7 @@ func (profile *AgentPoolArtifactStreamingProfile_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS populates our AgentPoolArtifactStreamingProfile_STATUS from the provided source AgentPoolArtifactStreamingProfile_STATUS
-func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source *v20231102ps.AgentPoolArtifactStreamingProfile_STATUS) error {
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source *storage.AgentPoolArtifactStreamingProfile_STATUS) error {
// Enabled
if source.Enabled != nil {
@@ -3963,7 +3985,7 @@ func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_From_A
}
// AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS populates the provided destination AgentPoolArtifactStreamingProfile_STATUS from our AgentPoolArtifactStreamingProfile_STATUS
-func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(destination *v20231102ps.AgentPoolArtifactStreamingProfile_STATUS) error {
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(destination *storage.AgentPoolArtifactStreamingProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4034,7 +4056,7 @@ func (profile *AgentPoolGPUProfile) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_AgentPoolGPUProfile populates our AgentPoolGPUProfile from the provided source AgentPoolGPUProfile
-func (profile *AgentPoolGPUProfile) AssignProperties_From_AgentPoolGPUProfile(source *v20231102ps.AgentPoolGPUProfile) error {
+func (profile *AgentPoolGPUProfile) AssignProperties_From_AgentPoolGPUProfile(source *storage.AgentPoolGPUProfile) error {
// InstallGPUDriver
if source.InstallGPUDriver != nil {
@@ -4049,7 +4071,7 @@ func (profile *AgentPoolGPUProfile) AssignProperties_From_AgentPoolGPUProfile(so
}
// AssignProperties_To_AgentPoolGPUProfile populates the provided destination AgentPoolGPUProfile from our AgentPoolGPUProfile
-func (profile *AgentPoolGPUProfile) AssignProperties_To_AgentPoolGPUProfile(destination *v20231102ps.AgentPoolGPUProfile) error {
+func (profile *AgentPoolGPUProfile) AssignProperties_To_AgentPoolGPUProfile(destination *storage.AgentPoolGPUProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4105,7 +4127,7 @@ func (profile *AgentPoolGPUProfile_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_AgentPoolGPUProfile_STATUS populates our AgentPoolGPUProfile_STATUS from the provided source AgentPoolGPUProfile_STATUS
-func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_From_AgentPoolGPUProfile_STATUS(source *v20231102ps.AgentPoolGPUProfile_STATUS) error {
+func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_From_AgentPoolGPUProfile_STATUS(source *storage.AgentPoolGPUProfile_STATUS) error {
// InstallGPUDriver
if source.InstallGPUDriver != nil {
@@ -4120,7 +4142,7 @@ func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_From_AgentPoolGPUPro
}
// AssignProperties_To_AgentPoolGPUProfile_STATUS populates the provided destination AgentPoolGPUProfile_STATUS from our AgentPoolGPUProfile_STATUS
-func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_To_AgentPoolGPUProfile_STATUS(destination *v20231102ps.AgentPoolGPUProfile_STATUS) error {
+func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_To_AgentPoolGPUProfile_STATUS(destination *storage.AgentPoolGPUProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4153,6 +4175,12 @@ const (
AgentPoolMode_User = AgentPoolMode("User")
)
+// Mapping from string to AgentPoolMode
+var agentPoolMode_Values = map[string]AgentPoolMode{
+ "system": AgentPoolMode_System,
+ "user": AgentPoolMode_User,
+}
+
// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
type AgentPoolMode_STATUS string
@@ -4162,6 +4190,12 @@ const (
AgentPoolMode_STATUS_User = AgentPoolMode_STATUS("User")
)
+// Mapping from string to AgentPoolMode_STATUS
+var agentPoolMode_STATUS_Values = map[string]AgentPoolMode_STATUS{
+ "system": AgentPoolMode_STATUS_System,
+ "user": AgentPoolMode_STATUS_User,
+}
+
// Network settings of an agent pool.
type AgentPoolNetworkProfile struct {
// AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
@@ -4252,7 +4286,7 @@ func (profile *AgentPoolNetworkProfile) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_AgentPoolNetworkProfile populates our AgentPoolNetworkProfile from the provided source AgentPoolNetworkProfile
-func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *v20231102ps.AgentPoolNetworkProfile) error {
+func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *storage.AgentPoolNetworkProfile) error {
// AllowedHostPorts
if source.AllowedHostPorts != nil {
@@ -4308,17 +4342,17 @@ func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkPr
}
// AssignProperties_To_AgentPoolNetworkProfile populates the provided destination AgentPoolNetworkProfile from our AgentPoolNetworkProfile
-func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *v20231102ps.AgentPoolNetworkProfile) error {
+func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *storage.AgentPoolNetworkProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AllowedHostPorts
if profile.AllowedHostPorts != nil {
- allowedHostPortList := make([]v20231102ps.PortRange, len(profile.AllowedHostPorts))
+ allowedHostPortList := make([]storage.PortRange, len(profile.AllowedHostPorts))
for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
// Shadow the loop variable to avoid aliasing
allowedHostPortItem := allowedHostPortItem
- var allowedHostPort v20231102ps.PortRange
+ var allowedHostPort storage.PortRange
err := allowedHostPortItem.AssignProperties_To_PortRange(&allowedHostPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PortRange() to populate field AllowedHostPorts")
@@ -4345,11 +4379,11 @@ func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProf
// NodePublicIPTags
if profile.NodePublicIPTags != nil {
- nodePublicIPTagList := make([]v20231102ps.IPTag, len(profile.NodePublicIPTags))
+ nodePublicIPTagList := make([]storage.IPTag, len(profile.NodePublicIPTags))
for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
// Shadow the loop variable to avoid aliasing
nodePublicIPTagItem := nodePublicIPTagItem
- var nodePublicIPTag v20231102ps.IPTag
+ var nodePublicIPTag storage.IPTag
err := nodePublicIPTagItem.AssignProperties_To_IPTag(&nodePublicIPTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPTag() to populate field NodePublicIPTags")
@@ -4428,7 +4462,7 @@ func (profile *AgentPoolNetworkProfile_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_AgentPoolNetworkProfile_STATUS populates our AgentPoolNetworkProfile_STATUS from the provided source AgentPoolNetworkProfile_STATUS
-func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *v20231102ps.AgentPoolNetworkProfile_STATUS) error {
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *storage.AgentPoolNetworkProfile_STATUS) error {
// AllowedHostPorts
if source.AllowedHostPorts != nil {
@@ -4474,17 +4508,17 @@ func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNe
}
// AssignProperties_To_AgentPoolNetworkProfile_STATUS populates the provided destination AgentPoolNetworkProfile_STATUS from our AgentPoolNetworkProfile_STATUS
-func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *v20231102ps.AgentPoolNetworkProfile_STATUS) error {
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *storage.AgentPoolNetworkProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AllowedHostPorts
if profile.AllowedHostPorts != nil {
- allowedHostPortList := make([]v20231102ps.PortRange_STATUS, len(profile.AllowedHostPorts))
+ allowedHostPortList := make([]storage.PortRange_STATUS, len(profile.AllowedHostPorts))
for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
// Shadow the loop variable to avoid aliasing
allowedHostPortItem := allowedHostPortItem
- var allowedHostPort v20231102ps.PortRange_STATUS
+ var allowedHostPort storage.PortRange_STATUS
err := allowedHostPortItem.AssignProperties_To_PortRange_STATUS(&allowedHostPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PortRange_STATUS() to populate field AllowedHostPorts")
@@ -4501,11 +4535,11 @@ func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetw
// NodePublicIPTags
if profile.NodePublicIPTags != nil {
- nodePublicIPTagList := make([]v20231102ps.IPTag_STATUS, len(profile.NodePublicIPTags))
+ nodePublicIPTagList := make([]storage.IPTag_STATUS, len(profile.NodePublicIPTags))
for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
// Shadow the loop variable to avoid aliasing
nodePublicIPTagItem := nodePublicIPTagItem
- var nodePublicIPTag v20231102ps.IPTag_STATUS
+ var nodePublicIPTag storage.IPTag_STATUS
err := nodePublicIPTagItem.AssignProperties_To_IPTag_STATUS(&nodePublicIPTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPTag_STATUS() to populate field NodePublicIPTags")
@@ -4606,7 +4640,7 @@ func (profile *AgentPoolSecurityProfile) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_AgentPoolSecurityProfile populates our AgentPoolSecurityProfile from the provided source AgentPoolSecurityProfile
-func (profile *AgentPoolSecurityProfile) AssignProperties_From_AgentPoolSecurityProfile(source *v20231102ps.AgentPoolSecurityProfile) error {
+func (profile *AgentPoolSecurityProfile) AssignProperties_From_AgentPoolSecurityProfile(source *storage.AgentPoolSecurityProfile) error {
// EnableSecureBoot
if source.EnableSecureBoot != nil {
@@ -4626,8 +4660,9 @@ func (profile *AgentPoolSecurityProfile) AssignProperties_From_AgentPoolSecurity
// SshAccess
if source.SshAccess != nil {
- sshAccess := AgentPoolSSHAccess(*source.SshAccess)
- profile.SshAccess = &sshAccess
+ sshAccess := *source.SshAccess
+ sshAccessTemp := genruntime.ToEnum(sshAccess, agentPoolSSHAccess_Values)
+ profile.SshAccess = &sshAccessTemp
} else {
profile.SshAccess = nil
}
@@ -4637,7 +4672,7 @@ func (profile *AgentPoolSecurityProfile) AssignProperties_From_AgentPoolSecurity
}
// AssignProperties_To_AgentPoolSecurityProfile populates the provided destination AgentPoolSecurityProfile from our AgentPoolSecurityProfile
-func (profile *AgentPoolSecurityProfile) AssignProperties_To_AgentPoolSecurityProfile(destination *v20231102ps.AgentPoolSecurityProfile) error {
+func (profile *AgentPoolSecurityProfile) AssignProperties_To_AgentPoolSecurityProfile(destination *storage.AgentPoolSecurityProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4727,7 +4762,7 @@ func (profile *AgentPoolSecurityProfile_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_AgentPoolSecurityProfile_STATUS populates our AgentPoolSecurityProfile_STATUS from the provided source AgentPoolSecurityProfile_STATUS
-func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_From_AgentPoolSecurityProfile_STATUS(source *v20231102ps.AgentPoolSecurityProfile_STATUS) error {
+func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_From_AgentPoolSecurityProfile_STATUS(source *storage.AgentPoolSecurityProfile_STATUS) error {
// EnableSecureBoot
if source.EnableSecureBoot != nil {
@@ -4747,8 +4782,9 @@ func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_From_AgentPoolS
// SshAccess
if source.SshAccess != nil {
- sshAccess := AgentPoolSSHAccess_STATUS(*source.SshAccess)
- profile.SshAccess = &sshAccess
+ sshAccess := *source.SshAccess
+ sshAccessTemp := genruntime.ToEnum(sshAccess, agentPoolSSHAccess_STATUS_Values)
+ profile.SshAccess = &sshAccessTemp
} else {
profile.SshAccess = nil
}
@@ -4758,7 +4794,7 @@ func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_From_AgentPoolS
}
// AssignProperties_To_AgentPoolSecurityProfile_STATUS populates the provided destination AgentPoolSecurityProfile_STATUS from our AgentPoolSecurityProfile_STATUS
-func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_To_AgentPoolSecurityProfile_STATUS(destination *v20231102ps.AgentPoolSecurityProfile_STATUS) error {
+func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_To_AgentPoolSecurityProfile_STATUS(destination *storage.AgentPoolSecurityProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4807,6 +4843,13 @@ const (
AgentPoolType_VirtualMachines = AgentPoolType("VirtualMachines")
)
+// Mapping from string to AgentPoolType
+var agentPoolType_Values = map[string]AgentPoolType{
+ "availabilityset": AgentPoolType_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_VirtualMachineScaleSets,
+ "virtualmachines": AgentPoolType_VirtualMachines,
+}
+
// The type of Agent Pool.
type AgentPoolType_STATUS string
@@ -4816,6 +4859,13 @@ const (
AgentPoolType_STATUS_VirtualMachines = AgentPoolType_STATUS("VirtualMachines")
)
+// Mapping from string to AgentPoolType_STATUS
+var agentPoolType_STATUS_Values = map[string]AgentPoolType_STATUS{
+ "availabilityset": AgentPoolType_STATUS_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_STATUS_VirtualMachineScaleSets,
+ "virtualmachines": AgentPoolType_STATUS_VirtualMachines,
+}
+
// Settings for upgrading an agentpool
type AgentPoolUpgradeSettings struct {
// +kubebuilder:validation:Maximum=1440
@@ -4902,7 +4952,7 @@ func (settings *AgentPoolUpgradeSettings) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *v20231102ps.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
// DrainTimeoutInMinutes
if source.DrainTimeoutInMinutes != nil {
@@ -4928,7 +4978,7 @@ func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgrade
}
// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
-func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *v20231102ps.AgentPoolUpgradeSettings) error {
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5017,7 +5067,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *v20231102ps.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
// DrainTimeoutInMinutes
settings.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(source.DrainTimeoutInMinutes)
@@ -5033,7 +5083,7 @@ func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPool
}
// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
-func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *v20231102ps.AgentPoolUpgradeSettings_STATUS) error {
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5104,7 +5154,7 @@ func (profile *AgentPoolWindowsProfile) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_AgentPoolWindowsProfile populates our AgentPoolWindowsProfile from the provided source AgentPoolWindowsProfile
-func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsProfile(source *v20231102ps.AgentPoolWindowsProfile) error {
+func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsProfile(source *storage.AgentPoolWindowsProfile) error {
// DisableOutboundNat
if source.DisableOutboundNat != nil {
@@ -5119,7 +5169,7 @@ func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsPr
}
// AssignProperties_To_AgentPoolWindowsProfile populates the provided destination AgentPoolWindowsProfile from our AgentPoolWindowsProfile
-func (profile *AgentPoolWindowsProfile) AssignProperties_To_AgentPoolWindowsProfile(destination *v20231102ps.AgentPoolWindowsProfile) error {
+func (profile *AgentPoolWindowsProfile) AssignProperties_To_AgentPoolWindowsProfile(destination *storage.AgentPoolWindowsProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5174,7 +5224,7 @@ func (profile *AgentPoolWindowsProfile_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_AgentPoolWindowsProfile_STATUS populates our AgentPoolWindowsProfile_STATUS from the provided source AgentPoolWindowsProfile_STATUS
-func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWindowsProfile_STATUS(source *v20231102ps.AgentPoolWindowsProfile_STATUS) error {
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWindowsProfile_STATUS(source *storage.AgentPoolWindowsProfile_STATUS) error {
// DisableOutboundNat
if source.DisableOutboundNat != nil {
@@ -5189,7 +5239,7 @@ func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWi
}
// AssignProperties_To_AgentPoolWindowsProfile_STATUS populates the provided destination AgentPoolWindowsProfile_STATUS from our AgentPoolWindowsProfile_STATUS
-func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_To_AgentPoolWindowsProfile_STATUS(destination *v20231102ps.AgentPoolWindowsProfile_STATUS) error {
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_To_AgentPoolWindowsProfile_STATUS(destination *storage.AgentPoolWindowsProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5228,6 +5278,15 @@ const (
GPUInstanceProfile_MIG7G = GPUInstanceProfile("MIG7g")
)
+// Mapping from string to GPUInstanceProfile
+var gPUInstanceProfile_Values = map[string]GPUInstanceProfile{
+ "mig1g": GPUInstanceProfile_MIG1G,
+ "mig2g": GPUInstanceProfile_MIG2G,
+ "mig3g": GPUInstanceProfile_MIG3G,
+ "mig4g": GPUInstanceProfile_MIG4G,
+ "mig7g": GPUInstanceProfile_MIG7G,
+}
+
// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
type GPUInstanceProfile_STATUS string
@@ -5239,6 +5298,15 @@ const (
GPUInstanceProfile_STATUS_MIG7G = GPUInstanceProfile_STATUS("MIG7g")
)
+// Mapping from string to GPUInstanceProfile_STATUS
+var gPUInstanceProfile_STATUS_Values = map[string]GPUInstanceProfile_STATUS{
+ "mig1g": GPUInstanceProfile_STATUS_MIG1G,
+ "mig2g": GPUInstanceProfile_STATUS_MIG2G,
+ "mig3g": GPUInstanceProfile_STATUS_MIG3G,
+ "mig4g": GPUInstanceProfile_STATUS_MIG4G,
+ "mig7g": GPUInstanceProfile_STATUS_MIG7G,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type KubeletConfig struct {
// AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
@@ -5440,7 +5508,7 @@ func (config *KubeletConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
-func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v20231102ps.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -5495,7 +5563,7 @@ func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *v202311
}
// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
-func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *v20231102ps.KubeletConfig) error {
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5684,7 +5752,7 @@ func (config *KubeletConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *v20231102ps.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
// AllowedUnsafeSysctls
config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
@@ -5734,7 +5802,7 @@ func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(s
}
// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
-func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *v20231102ps.KubeletConfig_STATUS) error {
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5801,6 +5869,12 @@ const (
KubeletDiskType_Temporary = KubeletDiskType("Temporary")
)
+// Mapping from string to KubeletDiskType
+var kubeletDiskType_Values = map[string]KubeletDiskType{
+ "os": KubeletDiskType_OS,
+ "temporary": KubeletDiskType_Temporary,
+}
+
// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
type KubeletDiskType_STATUS string
@@ -5809,6 +5883,12 @@ const (
KubeletDiskType_STATUS_Temporary = KubeletDiskType_STATUS("Temporary")
)
+// Mapping from string to KubeletDiskType_STATUS
+var kubeletDiskType_STATUS_Values = map[string]KubeletDiskType_STATUS{
+ "os": KubeletDiskType_STATUS_OS,
+ "temporary": KubeletDiskType_STATUS_Temporary,
+}
+
// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
type LinuxOSConfig struct {
// SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
@@ -5913,7 +5993,7 @@ func (config *LinuxOSConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v20231102ps.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -5941,7 +6021,7 @@ func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *v202311
}
// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
-func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v20231102ps.LinuxOSConfig) error {
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5950,7 +6030,7 @@ func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *v202
// Sysctls
if config.Sysctls != nil {
- var sysctl v20231102ps.SysctlConfig
+ var sysctl storage.SysctlConfig
err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
@@ -6044,7 +6124,7 @@ func (config *LinuxOSConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *v20231102ps.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
// SwapFileSizeMB
config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
@@ -6072,7 +6152,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(s
}
// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
-func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *v20231102ps.LinuxOSConfig_STATUS) error {
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6081,7 +6161,7 @@ func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(des
// Sysctls
if config.Sysctls != nil {
- var sysctl v20231102ps.SysctlConfig_STATUS
+ var sysctl storage.SysctlConfig_STATUS
err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
@@ -6119,6 +6199,12 @@ const (
OSDiskType_Managed = OSDiskType("Managed")
)
+// Mapping from string to OSDiskType
+var oSDiskType_Values = map[string]OSDiskType{
+ "ephemeral": OSDiskType_Ephemeral,
+ "managed": OSDiskType_Managed,
+}
+
// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
@@ -6129,6 +6215,12 @@ const (
OSDiskType_STATUS_Managed = OSDiskType_STATUS("Managed")
)
+// Mapping from string to OSDiskType_STATUS
+var oSDiskType_STATUS_Values = map[string]OSDiskType_STATUS{
+ "ephemeral": OSDiskType_STATUS_Ephemeral,
+ "managed": OSDiskType_STATUS_Managed,
+}
+
// Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if
// OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
// +kubebuilder:validation:Enum={"AzureLinux","CBLMariner","Mariner","Ubuntu","Windows2019","Windows2022","WindowsAnnual"}
@@ -6144,6 +6236,17 @@ const (
OSSKU_WindowsAnnual = OSSKU("WindowsAnnual")
)
+// Mapping from string to OSSKU
+var oSSKU_Values = map[string]OSSKU{
+ "azurelinux": OSSKU_AzureLinux,
+ "cblmariner": OSSKU_CBLMariner,
+ "mariner": OSSKU_Mariner,
+ "ubuntu": OSSKU_Ubuntu,
+ "windows2019": OSSKU_Windows2019,
+ "windows2022": OSSKU_Windows2022,
+ "windowsannual": OSSKU_WindowsAnnual,
+}
+
// Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if
// OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
type OSSKU_STATUS string
@@ -6158,6 +6261,17 @@ const (
OSSKU_STATUS_WindowsAnnual = OSSKU_STATUS("WindowsAnnual")
)
+// Mapping from string to OSSKU_STATUS
+var oSSKU_STATUS_Values = map[string]OSSKU_STATUS{
+ "azurelinux": OSSKU_STATUS_AzureLinux,
+ "cblmariner": OSSKU_STATUS_CBLMariner,
+ "mariner": OSSKU_STATUS_Mariner,
+ "ubuntu": OSSKU_STATUS_Ubuntu,
+ "windows2019": OSSKU_STATUS_Windows2019,
+ "windows2022": OSSKU_STATUS_Windows2022,
+ "windowsannual": OSSKU_STATUS_WindowsAnnual,
+}
+
// The operating system type. The default is Linux.
// +kubebuilder:validation:Enum={"Linux","Windows"}
type OSType string
@@ -6167,6 +6281,12 @@ const (
OSType_Windows = OSType("Windows")
)
+// Mapping from string to OSType
+var oSType_Values = map[string]OSType{
+ "linux": OSType_Linux,
+ "windows": OSType_Windows,
+}
+
// The operating system type. The default is Linux.
type OSType_STATUS string
@@ -6175,6 +6295,12 @@ const (
OSType_STATUS_Windows = OSType_STATUS("Windows")
)
+// Mapping from string to OSType_STATUS
+var oSType_STATUS_Values = map[string]OSType_STATUS{
+ "linux": OSType_STATUS_Linux,
+ "windows": OSType_STATUS_Windows,
+}
+
// Describes the Power State of the cluster
type PowerState struct {
// Code: Tells whether the cluster is Running or Stopped
@@ -6221,12 +6347,13 @@ func (state *PowerState) PopulateFromARM(owner genruntime.ArbitraryOwnerReferenc
}
// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
-func (state *PowerState) AssignProperties_From_PowerState(source *v20231102ps.PowerState) error {
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
// Code
if source.Code != nil {
- code := PowerState_Code(*source.Code)
- state.Code = &code
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_Values)
+ state.Code = &codeTemp
} else {
state.Code = nil
}
@@ -6236,7 +6363,7 @@ func (state *PowerState) AssignProperties_From_PowerState(source *v20231102ps.Po
}
// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
-func (state *PowerState) AssignProperties_To_PowerState(destination *v20231102ps.PowerState) error {
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6269,6 +6396,12 @@ const (
ScaleDownMode_Delete = ScaleDownMode("Delete")
)
+// Mapping from string to ScaleDownMode
+var scaleDownMode_Values = map[string]ScaleDownMode{
+ "deallocate": ScaleDownMode_Deallocate,
+ "delete": ScaleDownMode_Delete,
+}
+
// Describes how VMs are added to or removed from Agent Pools. See [billing
// states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
type ScaleDownMode_STATUS string
@@ -6278,6 +6411,12 @@ const (
ScaleDownMode_STATUS_Delete = ScaleDownMode_STATUS("Delete")
)
+// Mapping from string to ScaleDownMode_STATUS
+var scaleDownMode_STATUS_Values = map[string]ScaleDownMode_STATUS{
+ "deallocate": ScaleDownMode_STATUS_Deallocate,
+ "delete": ScaleDownMode_STATUS_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
// +kubebuilder:validation:Enum={"Deallocate","Delete"}
@@ -6288,6 +6427,12 @@ const (
ScaleSetEvictionPolicy_Delete = ScaleSetEvictionPolicy("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy
+var scaleSetEvictionPolicy_Values = map[string]ScaleSetEvictionPolicy{
+ "deallocate": ScaleSetEvictionPolicy_Deallocate,
+ "delete": ScaleSetEvictionPolicy_Delete,
+}
+
// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
type ScaleSetEvictionPolicy_STATUS string
@@ -6297,6 +6442,12 @@ const (
ScaleSetEvictionPolicy_STATUS_Delete = ScaleSetEvictionPolicy_STATUS("Delete")
)
+// Mapping from string to ScaleSetEvictionPolicy_STATUS
+var scaleSetEvictionPolicy_STATUS_Values = map[string]ScaleSetEvictionPolicy_STATUS{
+ "deallocate": ScaleSetEvictionPolicy_STATUS_Deallocate,
+ "delete": ScaleSetEvictionPolicy_STATUS_Delete,
+}
+
// The Virtual Machine Scale Set priority.
// +kubebuilder:validation:Enum={"Regular","Spot"}
type ScaleSetPriority string
@@ -6306,6 +6457,12 @@ const (
ScaleSetPriority_Spot = ScaleSetPriority("Spot")
)
+// Mapping from string to ScaleSetPriority
+var scaleSetPriority_Values = map[string]ScaleSetPriority{
+ "regular": ScaleSetPriority_Regular,
+ "spot": ScaleSetPriority_Spot,
+}
+
// The Virtual Machine Scale Set priority.
type ScaleSetPriority_STATUS string
@@ -6314,6 +6471,12 @@ const (
ScaleSetPriority_STATUS_Spot = ScaleSetPriority_STATUS("Spot")
)
+// Mapping from string to ScaleSetPriority_STATUS
+var scaleSetPriority_STATUS_Values = map[string]ScaleSetPriority_STATUS{
+ "regular": ScaleSetPriority_STATUS_Regular,
+ "spot": ScaleSetPriority_STATUS_Spot,
+}
+
// Current status on a group of nodes of the same vm size.
type VirtualMachineNodes struct {
// Count: Number of nodes.
@@ -6375,7 +6538,7 @@ func (nodes *VirtualMachineNodes) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_VirtualMachineNodes populates our VirtualMachineNodes from the provided source VirtualMachineNodes
-func (nodes *VirtualMachineNodes) AssignProperties_From_VirtualMachineNodes(source *v20231102ps.VirtualMachineNodes) error {
+func (nodes *VirtualMachineNodes) AssignProperties_From_VirtualMachineNodes(source *storage.VirtualMachineNodes) error {
// Count
nodes.Count = genruntime.ClonePointerToInt(source.Count)
@@ -6388,7 +6551,7 @@ func (nodes *VirtualMachineNodes) AssignProperties_From_VirtualMachineNodes(sour
}
// AssignProperties_To_VirtualMachineNodes populates the provided destination VirtualMachineNodes from our VirtualMachineNodes
-func (nodes *VirtualMachineNodes) AssignProperties_To_VirtualMachineNodes(destination *v20231102ps.VirtualMachineNodes) error {
+func (nodes *VirtualMachineNodes) AssignProperties_To_VirtualMachineNodes(destination *storage.VirtualMachineNodes) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6449,7 +6612,7 @@ func (nodes *VirtualMachineNodes_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_VirtualMachineNodes_STATUS populates our VirtualMachineNodes_STATUS from the provided source VirtualMachineNodes_STATUS
-func (nodes *VirtualMachineNodes_STATUS) AssignProperties_From_VirtualMachineNodes_STATUS(source *v20231102ps.VirtualMachineNodes_STATUS) error {
+func (nodes *VirtualMachineNodes_STATUS) AssignProperties_From_VirtualMachineNodes_STATUS(source *storage.VirtualMachineNodes_STATUS) error {
// Count
nodes.Count = genruntime.ClonePointerToInt(source.Count)
@@ -6462,7 +6625,7 @@ func (nodes *VirtualMachineNodes_STATUS) AssignProperties_From_VirtualMachineNod
}
// AssignProperties_To_VirtualMachineNodes_STATUS populates the provided destination VirtualMachineNodes_STATUS from our VirtualMachineNodes_STATUS
-func (nodes *VirtualMachineNodes_STATUS) AssignProperties_To_VirtualMachineNodes_STATUS(destination *v20231102ps.VirtualMachineNodes_STATUS) error {
+func (nodes *VirtualMachineNodes_STATUS) AssignProperties_To_VirtualMachineNodes_STATUS(destination *storage.VirtualMachineNodes_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6538,7 +6701,7 @@ func (profile *VirtualMachinesProfile) PopulateFromARM(owner genruntime.Arbitrar
}
// AssignProperties_From_VirtualMachinesProfile populates our VirtualMachinesProfile from the provided source VirtualMachinesProfile
-func (profile *VirtualMachinesProfile) AssignProperties_From_VirtualMachinesProfile(source *v20231102ps.VirtualMachinesProfile) error {
+func (profile *VirtualMachinesProfile) AssignProperties_From_VirtualMachinesProfile(source *storage.VirtualMachinesProfile) error {
// Scale
if source.Scale != nil {
@@ -6557,13 +6720,13 @@ func (profile *VirtualMachinesProfile) AssignProperties_From_VirtualMachinesProf
}
// AssignProperties_To_VirtualMachinesProfile populates the provided destination VirtualMachinesProfile from our VirtualMachinesProfile
-func (profile *VirtualMachinesProfile) AssignProperties_To_VirtualMachinesProfile(destination *v20231102ps.VirtualMachinesProfile) error {
+func (profile *VirtualMachinesProfile) AssignProperties_To_VirtualMachinesProfile(destination *storage.VirtualMachinesProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Scale
if profile.Scale != nil {
- var scale v20231102ps.ScaleProfile
+ var scale storage.ScaleProfile
err := profile.Scale.AssignProperties_To_ScaleProfile(&scale)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ScaleProfile() to populate field Scale")
@@ -6620,7 +6783,7 @@ func (profile *VirtualMachinesProfile_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_VirtualMachinesProfile_STATUS populates our VirtualMachinesProfile_STATUS from the provided source VirtualMachinesProfile_STATUS
-func (profile *VirtualMachinesProfile_STATUS) AssignProperties_From_VirtualMachinesProfile_STATUS(source *v20231102ps.VirtualMachinesProfile_STATUS) error {
+func (profile *VirtualMachinesProfile_STATUS) AssignProperties_From_VirtualMachinesProfile_STATUS(source *storage.VirtualMachinesProfile_STATUS) error {
// Scale
if source.Scale != nil {
@@ -6639,13 +6802,13 @@ func (profile *VirtualMachinesProfile_STATUS) AssignProperties_From_VirtualMachi
}
// AssignProperties_To_VirtualMachinesProfile_STATUS populates the provided destination VirtualMachinesProfile_STATUS from our VirtualMachinesProfile_STATUS
-func (profile *VirtualMachinesProfile_STATUS) AssignProperties_To_VirtualMachinesProfile_STATUS(destination *v20231102ps.VirtualMachinesProfile_STATUS) error {
+func (profile *VirtualMachinesProfile_STATUS) AssignProperties_To_VirtualMachinesProfile_STATUS(destination *storage.VirtualMachinesProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Scale
if profile.Scale != nil {
- var scale v20231102ps.ScaleProfile_STATUS
+ var scale storage.ScaleProfile_STATUS
err := profile.Scale.AssignProperties_To_ScaleProfile_STATUS(&scale)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ScaleProfile_STATUS() to populate field Scale")
@@ -6676,6 +6839,13 @@ const (
WorkloadRuntime_WasmWasi = WorkloadRuntime("WasmWasi")
)
+// Mapping from string to WorkloadRuntime
+var workloadRuntime_Values = map[string]WorkloadRuntime{
+ "katamshvvmisolation": WorkloadRuntime_KataMshvVmIsolation,
+ "ocicontainer": WorkloadRuntime_OCIContainer,
+ "wasmwasi": WorkloadRuntime_WasmWasi,
+}
+
// Determines the type of workload a node can run.
type WorkloadRuntime_STATUS string
@@ -6685,6 +6855,13 @@ const (
WorkloadRuntime_STATUS_WasmWasi = WorkloadRuntime_STATUS("WasmWasi")
)
+// Mapping from string to WorkloadRuntime_STATUS
+var workloadRuntime_STATUS_Values = map[string]WorkloadRuntime_STATUS{
+ "katamshvvmisolation": WorkloadRuntime_STATUS_KataMshvVmIsolation,
+ "ocicontainer": WorkloadRuntime_STATUS_OCIContainer,
+ "wasmwasi": WorkloadRuntime_STATUS_WasmWasi,
+}
+
// SSH access method of an agent pool.
// +kubebuilder:validation:Enum={"Disabled","LocalUser"}
type AgentPoolSSHAccess string
@@ -6694,6 +6871,12 @@ const (
AgentPoolSSHAccess_LocalUser = AgentPoolSSHAccess("LocalUser")
)
+// Mapping from string to AgentPoolSSHAccess
+var agentPoolSSHAccess_Values = map[string]AgentPoolSSHAccess{
+ "disabled": AgentPoolSSHAccess_Disabled,
+ "localuser": AgentPoolSSHAccess_LocalUser,
+}
+
// SSH access method of an agent pool.
type AgentPoolSSHAccess_STATUS string
@@ -6702,6 +6885,12 @@ const (
AgentPoolSSHAccess_STATUS_LocalUser = AgentPoolSSHAccess_STATUS("LocalUser")
)
+// Mapping from string to AgentPoolSSHAccess_STATUS
+var agentPoolSSHAccess_STATUS_Values = map[string]AgentPoolSSHAccess_STATUS{
+ "disabled": AgentPoolSSHAccess_STATUS_Disabled,
+ "localuser": AgentPoolSSHAccess_STATUS_LocalUser,
+}
+
// Contains the IPTag associated with the object.
type IPTag struct {
// IpTagType: The IP tag type. Example: RoutingPreference.
@@ -6763,7 +6952,7 @@ func (ipTag *IPTag) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_IPTag populates our IPTag from the provided source IPTag
-func (ipTag *IPTag) AssignProperties_From_IPTag(source *v20231102ps.IPTag) error {
+func (ipTag *IPTag) AssignProperties_From_IPTag(source *storage.IPTag) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -6776,7 +6965,7 @@ func (ipTag *IPTag) AssignProperties_From_IPTag(source *v20231102ps.IPTag) error
}
// AssignProperties_To_IPTag populates the provided destination IPTag from our IPTag
-func (ipTag *IPTag) AssignProperties_To_IPTag(destination *v20231102ps.IPTag) error {
+func (ipTag *IPTag) AssignProperties_To_IPTag(destination *storage.IPTag) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6837,7 +7026,7 @@ func (ipTag *IPTag_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_IPTag_STATUS populates our IPTag_STATUS from the provided source IPTag_STATUS
-func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *v20231102ps.IPTag_STATUS) error {
+func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *storage.IPTag_STATUS) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -6850,7 +7039,7 @@ func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *v20231102p
}
// AssignProperties_To_IPTag_STATUS populates the provided destination IPTag_STATUS from our IPTag_STATUS
-func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *v20231102ps.IPTag_STATUS) error {
+func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *storage.IPTag_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6953,7 +7142,7 @@ func (portRange *PortRange) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_PortRange populates our PortRange from the provided source PortRange
-func (portRange *PortRange) AssignProperties_From_PortRange(source *v20231102ps.PortRange) error {
+func (portRange *PortRange) AssignProperties_From_PortRange(source *storage.PortRange) error {
// PortEnd
if source.PortEnd != nil {
@@ -6973,8 +7162,9 @@ func (portRange *PortRange) AssignProperties_From_PortRange(source *v20231102ps.
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol(*source.Protocol)
- portRange.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_Values)
+ portRange.Protocol = &protocolTemp
} else {
portRange.Protocol = nil
}
@@ -6984,7 +7174,7 @@ func (portRange *PortRange) AssignProperties_From_PortRange(source *v20231102ps.
}
// AssignProperties_To_PortRange populates the provided destination PortRange from our PortRange
-func (portRange *PortRange) AssignProperties_To_PortRange(destination *v20231102ps.PortRange) error {
+func (portRange *PortRange) AssignProperties_To_PortRange(destination *storage.PortRange) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7074,7 +7264,7 @@ func (portRange *PortRange_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_PortRange_STATUS populates our PortRange_STATUS from the provided source PortRange_STATUS
-func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *v20231102ps.PortRange_STATUS) error {
+func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *storage.PortRange_STATUS) error {
// PortEnd
portRange.PortEnd = genruntime.ClonePointerToInt(source.PortEnd)
@@ -7084,8 +7274,9 @@ func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source
// Protocol
if source.Protocol != nil {
- protocol := PortRange_Protocol_STATUS(*source.Protocol)
- portRange.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_STATUS_Values)
+ portRange.Protocol = &protocolTemp
} else {
portRange.Protocol = nil
}
@@ -7095,7 +7286,7 @@ func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source
}
// AssignProperties_To_PortRange_STATUS populates the provided destination PortRange_STATUS from our PortRange_STATUS
-func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *v20231102ps.PortRange_STATUS) error {
+func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *storage.PortRange_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7132,6 +7323,12 @@ const (
PowerState_Code_Stopped = PowerState_Code("Stopped")
)
+// Mapping from string to PowerState_Code
+var powerState_Code_Values = map[string]PowerState_Code{
+ "running": PowerState_Code_Running,
+ "stopped": PowerState_Code_Stopped,
+}
+
// Specifications on how to scale a VirtualMachines agent pool.
type ScaleProfile struct {
// Manual: Specifications on how to scale the VirtualMachines agent pool to a fixed size.
@@ -7185,7 +7382,7 @@ func (profile *ScaleProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_ScaleProfile populates our ScaleProfile from the provided source ScaleProfile
-func (profile *ScaleProfile) AssignProperties_From_ScaleProfile(source *v20231102ps.ScaleProfile) error {
+func (profile *ScaleProfile) AssignProperties_From_ScaleProfile(source *storage.ScaleProfile) error {
// Manual
if source.Manual != nil {
@@ -7210,17 +7407,17 @@ func (profile *ScaleProfile) AssignProperties_From_ScaleProfile(source *v2023110
}
// AssignProperties_To_ScaleProfile populates the provided destination ScaleProfile from our ScaleProfile
-func (profile *ScaleProfile) AssignProperties_To_ScaleProfile(destination *v20231102ps.ScaleProfile) error {
+func (profile *ScaleProfile) AssignProperties_To_ScaleProfile(destination *storage.ScaleProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Manual
if profile.Manual != nil {
- manualList := make([]v20231102ps.ManualScaleProfile, len(profile.Manual))
+ manualList := make([]storage.ManualScaleProfile, len(profile.Manual))
for manualIndex, manualItem := range profile.Manual {
// Shadow the loop variable to avoid aliasing
manualItem := manualItem
- var manual v20231102ps.ManualScaleProfile
+ var manual storage.ManualScaleProfile
err := manualItem.AssignProperties_To_ManualScaleProfile(&manual)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManualScaleProfile() to populate field Manual")
@@ -7278,7 +7475,7 @@ func (profile *ScaleProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ScaleProfile_STATUS populates our ScaleProfile_STATUS from the provided source ScaleProfile_STATUS
-func (profile *ScaleProfile_STATUS) AssignProperties_From_ScaleProfile_STATUS(source *v20231102ps.ScaleProfile_STATUS) error {
+func (profile *ScaleProfile_STATUS) AssignProperties_From_ScaleProfile_STATUS(source *storage.ScaleProfile_STATUS) error {
// Manual
if source.Manual != nil {
@@ -7303,17 +7500,17 @@ func (profile *ScaleProfile_STATUS) AssignProperties_From_ScaleProfile_STATUS(so
}
// AssignProperties_To_ScaleProfile_STATUS populates the provided destination ScaleProfile_STATUS from our ScaleProfile_STATUS
-func (profile *ScaleProfile_STATUS) AssignProperties_To_ScaleProfile_STATUS(destination *v20231102ps.ScaleProfile_STATUS) error {
+func (profile *ScaleProfile_STATUS) AssignProperties_To_ScaleProfile_STATUS(destination *storage.ScaleProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Manual
if profile.Manual != nil {
- manualList := make([]v20231102ps.ManualScaleProfile_STATUS, len(profile.Manual))
+ manualList := make([]storage.ManualScaleProfile_STATUS, len(profile.Manual))
for manualIndex, manualItem := range profile.Manual {
// Shadow the loop variable to avoid aliasing
manualItem := manualItem
- var manual v20231102ps.ManualScaleProfile_STATUS
+ var manual storage.ManualScaleProfile_STATUS
err := manualItem.AssignProperties_To_ManualScaleProfile_STATUS(&manual)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManualScaleProfile_STATUS() to populate field Manual")
@@ -7793,7 +7990,7 @@ func (config *SysctlConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
-func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20231102ps.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -7904,7 +8101,7 @@ func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *v20231102
}
// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
-func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *v20231102ps.SysctlConfig) error {
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8297,7 +8494,7 @@ func (config *SysctlConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *v20231102ps.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
// FsAioMaxNr
config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
@@ -8393,7 +8590,7 @@ func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(sou
}
// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
-func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *v20231102ps.SysctlConfig_STATUS) error {
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8559,7 +8756,7 @@ func (profile *ManualScaleProfile) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_ManualScaleProfile populates our ManualScaleProfile from the provided source ManualScaleProfile
-func (profile *ManualScaleProfile) AssignProperties_From_ManualScaleProfile(source *v20231102ps.ManualScaleProfile) error {
+func (profile *ManualScaleProfile) AssignProperties_From_ManualScaleProfile(source *storage.ManualScaleProfile) error {
// Count
if source.Count != nil {
@@ -8577,7 +8774,7 @@ func (profile *ManualScaleProfile) AssignProperties_From_ManualScaleProfile(sour
}
// AssignProperties_To_ManualScaleProfile populates the provided destination ManualScaleProfile from our ManualScaleProfile
-func (profile *ManualScaleProfile) AssignProperties_To_ManualScaleProfile(destination *v20231102ps.ManualScaleProfile) error {
+func (profile *ManualScaleProfile) AssignProperties_To_ManualScaleProfile(destination *storage.ManualScaleProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8643,7 +8840,7 @@ func (profile *ManualScaleProfile_STATUS) PopulateFromARM(owner genruntime.Arbit
}
// AssignProperties_From_ManualScaleProfile_STATUS populates our ManualScaleProfile_STATUS from the provided source ManualScaleProfile_STATUS
-func (profile *ManualScaleProfile_STATUS) AssignProperties_From_ManualScaleProfile_STATUS(source *v20231102ps.ManualScaleProfile_STATUS) error {
+func (profile *ManualScaleProfile_STATUS) AssignProperties_From_ManualScaleProfile_STATUS(source *storage.ManualScaleProfile_STATUS) error {
// Count
profile.Count = genruntime.ClonePointerToInt(source.Count)
@@ -8656,7 +8853,7 @@ func (profile *ManualScaleProfile_STATUS) AssignProperties_From_ManualScaleProfi
}
// AssignProperties_To_ManualScaleProfile_STATUS populates the provided destination ManualScaleProfile_STATUS from our ManualScaleProfile_STATUS
-func (profile *ManualScaleProfile_STATUS) AssignProperties_To_ManualScaleProfile_STATUS(destination *v20231102ps.ManualScaleProfile_STATUS) error {
+func (profile *ManualScaleProfile_STATUS) AssignProperties_To_ManualScaleProfile_STATUS(destination *storage.ManualScaleProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8685,6 +8882,12 @@ const (
PortRange_Protocol_UDP = PortRange_Protocol("UDP")
)
+// Mapping from string to PortRange_Protocol
+var portRange_Protocol_Values = map[string]PortRange_Protocol{
+ "tcp": PortRange_Protocol_TCP,
+ "udp": PortRange_Protocol_UDP,
+}
+
type PortRange_Protocol_STATUS string
const (
@@ -8692,6 +8895,12 @@ const (
PortRange_Protocol_STATUS_UDP = PortRange_Protocol_STATUS("UDP")
)
+// Mapping from string to PortRange_Protocol_STATUS
+var portRange_Protocol_STATUS_Values = map[string]PortRange_Protocol_STATUS{
+ "tcp": PortRange_Protocol_STATUS_TCP,
+ "udp": PortRange_Protocol_STATUS_UDP,
+}
+
func init() {
SchemeBuilder.Register(&ManagedClustersAgentPool{}, &ManagedClustersAgentPoolList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/managed_cluster_types_gen.go
index 00d37b8492..f84da6d678 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/managed_cluster_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/managed_cluster_types_gen.go
@@ -9155,12 +9155,12 @@ func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedC
// Storage version of v1api20231102preview.ManagedClusterWindowsProfile
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
- AdminUsername *string `json:"adminUsername,omitempty"`
- EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
- GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
- LicenseType *string `json:"licenseType,omitempty"`
- PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
@@ -9169,7 +9169,12 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedCluste
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
// AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -9223,7 +9228,12 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
// AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -9274,7 +9284,6 @@ func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterW
// Storage version of v1api20231102preview.ManagedClusterWindowsProfile_STATUS
// Profile for Windows VMs in the managed cluster.
type ManagedClusterWindowsProfile_STATUS struct {
- AdminPassword *string `json:"adminPassword,omitempty"`
AdminUsername *string `json:"adminUsername,omitempty"`
EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
GmsaProfile *WindowsGmsaProfile_STATUS `json:"gmsaProfile,omitempty"`
@@ -9287,9 +9296,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_Manage
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
- // AdminPassword
- profile.AdminPassword = genruntime.ClonePointerToString(source.AdminPassword)
-
// AdminUsername
profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
@@ -9341,9 +9347,6 @@ func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedC
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
- // AdminPassword
- destination.AdminPassword = genruntime.ClonePointerToString(profile.AdminPassword)
-
// AdminUsername
destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
@@ -12904,6 +12907,13 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClust
maps.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if source.PrincipalId != nil {
+ propertyBag.Add("PrincipalId", *source.PrincipalId)
+ } else {
+ propertyBag.Remove("PrincipalId")
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
maps.PropertyBag = propertyBag
@@ -12937,6 +12947,19 @@ func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedCluster
destination.OIDCIssuerProfile = nil
}
+ // PrincipalId
+ if propertyBag.Contains("PrincipalId") {
+ var principalId genruntime.ConfigMapDestination
+ err := propertyBag.Pull("PrincipalId", &principalId)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PrincipalId' from propertyBag")
+ }
+
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
// Update the property bag
if len(propertyBag) > 0 {
destination.PropertyBag = propertyBag
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/structure.txt
index 7db7ea2597..b34dfc0bf9 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/structure.txt
@@ -1,1041 +1,29 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage
-├── APIVersion: Enum (1 value)
-│ └── "2023-11-02-preview"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (49 properties)
-│ │ ├── AadProfile: *Object (8 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AgentPoolProfiles: Object (51 properties)[]
-│ │ │ ├── ArtifactStreamingProfile: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *string
-│ │ │ ├── GpuProfile: *Object (2 properties)
-│ │ │ │ ├── InstallGPUDriver: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *string
-│ │ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (4 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Protocol: *string
-│ │ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
-│ │ │ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ │ │ ├── IpTagType: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Tag: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NodeInitializationTaints: string[]
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *string
-│ │ │ ├── OsSKU: *string
-│ │ │ ├── OsType: *string
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (2 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *string
-│ │ │ ├── ScaleSetEvictionPolicy: *string
-│ │ │ ├── ScaleSetPriority: *string
-│ │ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ │ ├── EnableSecureBoot: *bool
-│ │ │ │ ├── EnableVTPM: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SshAccess: *string
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *string
-│ │ │ ├── UpgradeSettings: *Object (4 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ ├── NodeSoakDurationInMinutes: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VirtualMachineNodesStatus: Object (3 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Size: *string
-│ │ │ ├── VirtualMachinesProfile: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Scale: *Object (2 properties)
-│ │ │ │ ├── Manual: Object (3 properties)[]
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Sizes: string[]
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── WindowsProfile: *Object (2 properties)
-│ │ │ │ ├── DisableOutboundNat: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WorkloadRuntime: *string
-│ │ ├── AiToolchainOperatorProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ApiServerAccessProfile: *Object (8 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (21 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── DaemonsetEvictionForEmptyNodes: *bool
-│ │ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
-│ │ │ ├── Expander: *string
-│ │ │ ├── IgnoreDaemonsetsUtilization: *bool
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (3 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UpgradeChannel: *string
-│ │ ├── AzureMonitorProfile: *Object (3 properties)
-│ │ │ ├── Logs: *Object (3 properties)
-│ │ │ │ ├── AppMonitoring: *Object (2 properties)
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── ContainerInsights: *Object (4 properties)
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── WindowsHostLogs: *Object (2 properties)
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Metrics: *Object (4 properties)
-│ │ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (2 properties)
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AzureName: string
-│ │ ├── CreationData: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── DelegatedResources: map[string]Object (5 properties)
-│ │ │ │ ├── Location: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── ReferralResource: *string
-│ │ │ │ ├── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── TenantId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Type: *string
-│ │ │ └── UserAssignedIdentities: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── IngressProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WebAppRouting: *Object (3 properties)
-│ │ │ ├── DnsZoneResourceReferences: genruntime.ResourceReference[]
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (3 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Ssh: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PublicKeys: Object (2 properties)[]
-│ │ │ ├── KeyData: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── MetricsProfile: *Object (2 properties)
-│ │ │ ├── CostAnalysis: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NetworkProfile: *Object (18 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── IpFamilies: string[]
-│ │ │ ├── KubeProxyConfig: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (5 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── Scheduler: *string
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ ├── Mode: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerProfile: *Object (9 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *string
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ ├── CountIPv6: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── LoadBalancerSku: *string
-│ │ │ ├── Monitoring: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NetworkDataplane: *string
-│ │ │ ├── NetworkMode: *string
-│ │ │ ├── NetworkPlugin: *string
-│ │ │ ├── NetworkPluginMode: *string
-│ │ │ ├── NetworkPolicy: *string
-│ │ │ ├── OutboundType: *string
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeProvisioningProfile: *Object (2 properties)
-│ │ │ ├── Mode: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RestrictionLevel: *string
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── OperatorSpec: *Object (3 properties)
-│ │ │ ├── ConfigMaps: *Object (2 properties)
-│ │ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secrets: *Object (3 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (5 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── UserAssignedIdentities: Object (5 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PodLabels: map[string]string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
+--------------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-11-02-preview"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (49 properties)
+│ ├── AadProfile: *Object (8 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicNetworkAccess: *string
-│ │ ├── SafeguardsProfile: *Object (4 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Version: *string
-│ │ ├── SecurityProfile: *Object (8 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── CustomCATrustCertificates: string[]
-│ │ │ ├── Defender: *Object (3 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IntervalHours: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ImageIntegrity: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── NodeRestriction: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceMeshProfile: *Object (3 properties)
-│ │ │ ├── Istio: *Object (4 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (2 properties)
-│ │ │ │ │ ├── Plugin: *Object (6 properties)
-│ │ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Components: *Object (3 properties)
-│ │ │ │ │ ├── EgressGateways: Object (3 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ ├── NodeSelector: map[string]string
-│ │ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ ├── Mode: *string
-│ │ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Revisions: string[]
-│ │ │ ├── Mode: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServicePrincipalProfile: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── StorageProfile: *Object (5 properties)
-│ │ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── DiskCSIDriver: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SnapshotController: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── SupportPlan: *string
-│ │ ├── Tags: map[string]string
-│ │ ├── UpgradeSettings: *Object (2 properties)
-│ │ │ ├── OverrideSettings: *Object (3 properties)
-│ │ │ │ ├── ForceUpgrade: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Until: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── WindowsProfile: *Object (6 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── RootDomainName: *string
-│ │ │ ├── LicenseType: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadAutoScalerProfile: *Object (3 properties)
-│ │ ├── Keda: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── VerticalPodAutoscaler: *Object (3 properties)
-│ │ ├── AddonAutoscaling: *string
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (58 properties)
-│ ├── AadProfile: *Object (8 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (4 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AgentPoolProfiles: Object (54 properties)[]
-│ │ ├── ArtifactStreamingProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── CapacityReservationGroupID: *string
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableCustomCATrust: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *string
-│ │ ├── GpuProfile: *Object (2 properties)
-│ │ │ ├── InstallGPUDriver: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (12 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *string
-│ │ ├── LinuxOSConfig: *Object (5 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (29 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MessageOfTheDay: *string
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *string
-│ │ ├── Name: *string
-│ │ ├── NetworkProfile: *Object (4 properties)
-│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ │ ├── PortEnd: *int
-│ │ │ │ ├── PortStart: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Protocol: *string
-│ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Tag: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeInitializationTaints: string[]
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *string
-│ │ ├── OsSKU: *string
-│ │ ├── OsType: *string
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (2 properties)
-│ │ │ ├── Code: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *string
-│ │ ├── ScaleSetEvictionPolicy: *string
-│ │ ├── ScaleSetPriority: *string
-│ │ ├── SecurityProfile: *Object (4 properties)
-│ │ │ ├── EnableSecureBoot: *bool
-│ │ │ ├── EnableVTPM: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SshAccess: *string
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *string
-│ │ ├── UpgradeSettings: *Object (4 properties)
-│ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ ├── MaxSurge: *string
-│ │ │ ├── NodeSoakDurationInMinutes: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VirtualMachineNodesStatus: Object (3 properties)[]
-│ │ │ ├── Count: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Size: *string
-│ │ ├── VirtualMachinesProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Scale: *Object (2 properties)
-│ │ │ ├── Manual: Object (3 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Sizes: string[]
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ ├── WindowsProfile: *Object (2 properties)
-│ │ │ ├── DisableOutboundNat: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadRuntime: *string
-│ ├── AiToolchainOperatorProfile: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ApiServerAccessProfile: *Object (8 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── EnableVnetIntegration: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SubnetId: *string
-│ ├── AutoScalerProfile: *Object (21 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
-│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
-│ │ ├── Expander: *string
-│ │ ├── IgnoreDaemonsetsUtilization: *bool
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (3 properties)
-│ │ ├── NodeOSUpgradeChannel: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── UpgradeChannel: *string
-│ ├── AzureMonitorProfile: *Object (3 properties)
-│ │ ├── Logs: *Object (3 properties)
-│ │ │ ├── AppMonitoring: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ContainerInsights: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── WindowsHostLogs: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Metrics: *Object (4 properties)
-│ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KubeStateMetrics: *Object (3 properties)
-│ │ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ │ ├── MetricLabelsAllowlist: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CreationData: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SourceResourceId: *string
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnableNamespaceResources: *bool
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (6 properties)
-│ │ ├── EffectiveNoProxy: string[]
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (6 properties)
-│ │ ├── DelegatedResources: map[string]Object (5 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── PrincipalId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── TenantId: *string
-│ │ ├── Type: *string
-│ │ └── UserAssignedIdentities: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── PrincipalId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IdentityProfile: map[string]Object (4 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ResourceId: *string
-│ ├── IngressProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── WebAppRouting: *Object (4 properties)
-│ │ ├── DnsZoneResourceIds: string[]
-│ │ ├── Enabled: *bool
-│ │ ├── Identity: *Object (4 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ResourceId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (3 properties)
-│ │ ├── AdminUsername: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Ssh: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── PublicKeys: Object (2 properties)[]
-│ │ ├── KeyData: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── MetricsProfile: *Object (2 properties)
-│ │ ├── CostAnalysis: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (18 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── IpFamilies: string[]
-│ │ ├── KubeProxyConfig: *Object (4 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IpvsConfig: *Object (5 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Scheduler: *string
-│ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ ├── Mode: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerProfile: *Object (9 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendPoolType: *string
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ ├── CountIPv6: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── OutboundIPs: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PublicIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerSku: *string
-│ │ ├── Monitoring: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NatGatewayProfile: *Object (4 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NetworkDataplane: *string
-│ │ ├── NetworkMode: *string
-│ │ ├── NetworkPlugin: *string
-│ │ ├── NetworkPluginMode: *string
-│ │ ├── NetworkPolicy: *string
-│ │ ├── OutboundType: *string
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeProvisioningProfile: *Object (2 properties)
-│ │ ├── Mode: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── NodeResourceGroup: *string
-│ ├── NodeResourceGroupProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── RestrictionLevel: *string
-│ ├── OidcIssuerProfile: *Object (3 properties)
-│ │ ├── Enabled: *bool
-│ │ ├── IssuerURL: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PodIdentityProfile: *Object (5 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── UserAssignedIdentities: Object (7 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (4 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProvisioningInfo: *Object (2 properties)
-│ │ │ │ ├── Error: *Object (2 properties)
-│ │ │ │ │ ├── Error: *Object (5 properties)
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ProvisioningState: *string
-│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ ├── PodLabels: map[string]string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (7 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *string
-│ ├── ResourceUID: *string
-│ ├── SafeguardsProfile: *Object (5 properties)
-│ │ ├── ExcludedNamespaces: string[]
-│ │ ├── Level: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── SystemExcludedNamespaces: string[]
-│ │ └── Version: *string
-│ ├── SecurityProfile: *Object (8 properties)
-│ │ ├── AzureKeyVaultKms: *Object (5 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *string
-│ │ │ ├── KeyVaultResourceId: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── CustomCATrustCertificates: string[]
-│ │ ├── Defender: *Object (3 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── SecurityMonitoring: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ImageCleaner: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IntervalHours: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ImageIntegrity: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── NodeRestriction: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── WorkloadIdentity: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServiceMeshProfile: *Object (3 properties)
-│ │ ├── Istio: *Object (4 properties)
-│ │ │ ├── CertificateAuthority: *Object (2 properties)
-│ │ │ │ ├── Plugin: *Object (6 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Components: *Object (3 properties)
-│ │ │ │ ├── EgressGateways: Object (3 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ ├── NodeSelector: map[string]string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── IngressGateways: Object (3 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ ├── Mode: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Revisions: string[]
-│ │ ├── Mode: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── StorageProfile: *Object (5 properties)
-│ │ ├── BlobCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── DiskCSIDriver: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Version: *string
-│ │ ├── FileCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SnapshotController: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SupportPlan: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (2 properties)
-│ │ ├── OverrideSettings: *Object (3 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Until: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── WindowsProfile: *Object (6 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (4 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RootDomainName: *string
-│ │ ├── LicenseType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── WorkloadAutoScalerProfile: *Object (3 properties)
-│ ├── Keda: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ └── VerticalPodAutoscaler: *Object (3 properties)
-│ ├── AddonAutoscaling: *string
-│ ├── Enabled: *bool
-│ └── PropertyBag: genruntime.PropertyBag
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: containerservice/v1api20231102preview.ManagedCluster
-│ ├── Spec: Object (53 properties)
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AgentPoolProfiles: Object (51 properties)[]
│ │ ├── ArtifactStreamingProfile: *Object (2 properties)
│ │ │ ├── Enabled: *bool
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: string
│ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (2 properties)
@@ -1106,6 +94,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── MessageOfTheDay: *string
│ │ ├── MinCount: *int
│ │ ├── Mode: *string
+│ │ ├── Name: *string
│ │ ├── NetworkProfile: *Object (4 properties)
│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
│ │ │ │ ├── PortEnd: *int
@@ -1123,12 +112,10 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
│ │ ├── NodeTaints: string[]
│ │ ├── OrchestratorVersion: *string
-│ │ ├── OriginalVersion: string
│ │ ├── OsDiskSizeGB: *int
│ │ ├── OsDiskType: *string
│ │ ├── OsSKU: *string
│ │ ├── OsType: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (2 properties)
│ │ │ ├── Code: *string
@@ -1169,308 +156,1321 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ │ ├── DisableOutboundNat: *bool
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ └── WorkloadRuntime: *string
-│ └── Status: Object (57 properties)
-│ ├── ArtifactStreamingProfile: *Object (2 properties)
+│ ├── AiToolchainOperatorProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ApiServerAccessProfile: *Object (8 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (21 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *string
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (3 properties)
+│ │ ├── NodeOSUpgradeChannel: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UpgradeChannel: *string
+│ ├── AzureMonitorProfile: *Object (3 properties)
+│ │ ├── Logs: *Object (3 properties)
+│ │ │ ├── AppMonitoring: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── ContainerInsights: *Object (4 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── WindowsHostLogs: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── Metrics: *Object (4 properties)
+│ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KubeStateMetrics: *Object (3 properties)
+│ │ │ │ ├── MetricAnnotationsAllowList: *string
+│ │ │ │ ├── MetricLabelsAllowlist: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (4 properties)
+│ │ ├── DelegatedResources: map[string]Object (5 properties)
+│ │ │ ├── Location: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── ReferralResource: *string
+│ │ │ ├── ResourceReference: *genruntime.ResourceReference
+│ │ │ └── TenantId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (4 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── IngressProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WebAppRouting: *Object (3 properties)
+│ │ ├── DnsZoneResourceReferences: genruntime.ResourceReference[]
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (3 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Ssh: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicKeys: Object (2 properties)[]
+│ │ ├── KeyData: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── MetricsProfile: *Object (2 properties)
+│ │ ├── CostAnalysis: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NetworkProfile: *Object (18 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: string[]
+│ │ ├── KubeProxyConfig: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (5 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── Scheduler: *string
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ ├── Mode: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerProfile: *Object (9 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *string
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ ├── CountIPv6: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── OutboundIPs: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerSku: *string
+│ │ ├── Monitoring: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NatGatewayProfile: *Object (4 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NetworkDataplane: *string
+│ │ ├── NetworkMode: *string
+│ │ ├── NetworkPlugin: *string
+│ │ ├── NetworkPluginMode: *string
+│ │ ├── NetworkPolicy: *string
+│ │ ├── OutboundType: *string
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeProvisioningProfile: *Object (2 properties)
+│ │ ├── Mode: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RestrictionLevel: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OperatorSpec: *Object (3 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secrets: *Object (3 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (5 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── UserAssignedIdentities: Object (5 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (4 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ ├── PodLabels: map[string]string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicNetworkAccess: *string
+│ ├── SafeguardsProfile: *Object (4 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (8 properties)
+│ │ ├── AzureKeyVaultKms: *Object (5 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *string
+│ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── CustomCATrustCertificates: string[]
+│ │ ├── Defender: *Object (3 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SecurityMonitoring: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageCleaner: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IntervalHours: *int
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageIntegrity: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NodeRestriction: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WorkloadIdentity: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServiceMeshProfile: *Object (3 properties)
+│ │ ├── Istio: *Object (4 properties)
+│ │ │ ├── CertificateAuthority: *Object (2 properties)
+│ │ │ │ ├── Plugin: *Object (6 properties)
+│ │ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ │ ├── CertObjectName: *string
+│ │ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
+│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ │ └── RootCertObjectName: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── Components: *Object (3 properties)
+│ │ │ │ ├── EgressGateways: Object (3 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ ├── NodeSelector: map[string]string
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── IngressGateways: Object (3 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ ├── Mode: *string
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Revisions: string[]
+│ │ ├── Mode: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServicePrincipalProfile: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── StorageProfile: *Object (5 properties)
+│ │ ├── BlobCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── DiskCSIDriver: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SnapshotController: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── SupportPlan: *string
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── OverrideSettings: *Object (3 properties)
+│ │ │ ├── ForceUpgrade: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Until: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── WindowsProfile: *Object (6 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (4 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── RootDomainName: *string
+│ │ ├── LicenseType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadAutoScalerProfile: *Object (3 properties)
+│ ├── Keda: *Object (2 properties)
│ │ ├── Enabled: *bool
│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AvailabilityZones: string[]
-│ ├── CapacityReservationGroupID: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableCustomCATrust: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *string
-│ ├── GpuProfile: *Object (2 properties)
-│ │ ├── InstallGPUDriver: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (12 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *string
-│ ├── LinuxOSConfig: *Object (5 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (29 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MessageOfTheDay: *string
-│ ├── MinCount: *int
-│ ├── Mode: *string
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (4 properties)
-│ │ ├── AllowedHostPorts: Object (4 properties)[]
-│ │ │ ├── PortEnd: *int
-│ │ │ ├── PortStart: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Protocol: *string
-│ │ ├── ApplicationSecurityGroups: string[]
-│ │ ├── NodePublicIPTags: Object (3 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tag: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── NodeImageVersion: *string
-│ ├── NodeInitializationTaints: string[]
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *string
-│ ├── OsSKU: *string
-│ ├── OsType: *string
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (2 properties)
-│ │ ├── Code: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertiesType: *string
│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *string
-│ ├── ScaleSetEvictionPolicy: *string
-│ ├── ScaleSetPriority: *string
-│ ├── SecurityProfile: *Object (4 properties)
-│ │ ├── EnableSecureBoot: *bool
-│ │ ├── EnableVTPM: *bool
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── SshAccess: *string
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (4 properties)
-│ │ ├── DrainTimeoutInMinutes: *int
-│ │ ├── MaxSurge: *string
-│ │ ├── NodeSoakDurationInMinutes: *int
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── VirtualMachineNodesStatus: Object (3 properties)[]
-│ │ ├── Count: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Size: *string
-│ ├── VirtualMachinesProfile: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Scale: *Object (2 properties)
-│ │ ├── Manual: Object (3 properties)[]
-│ │ │ ├── Count: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Sizes: string[]
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ ├── WindowsProfile: *Object (2 properties)
-│ │ ├── DisableOutboundNat: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── WorkloadRuntime: *string
-├── augmentConversionForAgentPoolNetworkProfile: Interface
-├── augmentConversionForAgentPoolNetworkProfile_STATUS: Interface
-├── augmentConversionForAgentPoolUpgradeSettings: Interface
-├── augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
-├── augmentConversionForAgentPoolWindowsProfile: Interface
-├── augmentConversionForAgentPoolWindowsProfile_STATUS: Interface
-├── augmentConversionForAzureKeyVaultKms: Interface
-├── augmentConversionForAzureKeyVaultKms_STATUS: Interface
-├── augmentConversionForClusterUpgradeSettings: Interface
-├── augmentConversionForClusterUpgradeSettings_STATUS: Interface
-├── augmentConversionForContainerServiceLinuxProfile: Interface
-├── augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
-├── augmentConversionForContainerServiceNetworkProfile: Interface
-├── augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig: Interface
-├── augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig: Interface
-├── augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS: Interface
-├── augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS: Interface
-├── augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
-├── augmentConversionForContainerServiceSshConfiguration: Interface
-├── augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
-├── augmentConversionForContainerServiceSshPublicKey: Interface
-├── augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
-├── augmentConversionForCreationData: Interface
-├── augmentConversionForCreationData_STATUS: Interface
-├── augmentConversionForDelegatedResource: Interface
-├── augmentConversionForDelegatedResource_STATUS: Interface
-├── augmentConversionForExtendedLocation: Interface
-├── augmentConversionForExtendedLocation_STATUS: Interface
-├── augmentConversionForIPTag: Interface
-├── augmentConversionForIPTag_STATUS: Interface
-├── augmentConversionForIstioCertificateAuthority: Interface
-├── augmentConversionForIstioCertificateAuthority_STATUS: Interface
-├── augmentConversionForIstioComponents: Interface
-├── augmentConversionForIstioComponents_STATUS: Interface
-├── augmentConversionForIstioEgressGateway: Interface
-├── augmentConversionForIstioEgressGateway_STATUS: Interface
-├── augmentConversionForIstioIngressGateway: Interface
-├── augmentConversionForIstioIngressGateway_STATUS: Interface
-├── augmentConversionForIstioPluginCertificateAuthority: Interface
-├── augmentConversionForIstioPluginCertificateAuthority_STATUS: Interface
-├── augmentConversionForIstioServiceMesh: Interface
-├── augmentConversionForIstioServiceMesh_STATUS: Interface
-├── augmentConversionForKubeletConfig: Interface
-├── augmentConversionForKubeletConfig_STATUS: Interface
-├── augmentConversionForLinuxOSConfig: Interface
-├── augmentConversionForLinuxOSConfig_STATUS: Interface
-├── augmentConversionForManagedCluster: Interface
-├── augmentConversionForManagedClusterAADProfile: Interface
-├── augmentConversionForManagedClusterAADProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile: Interface
-├── augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAddonProfile: Interface
-├── augmentConversionForManagedClusterAddonProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile: Interface
-├── augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile: Interface
-├── augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfile: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
-├── augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig: Interface
-├── augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity: Interface
-├── augmentConversionForManagedClusterIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
-├── augmentConversionForManagedClusterIngressProfile: Interface
-├── augmentConversionForManagedClusterIngressProfileWebAppRouting: Interface
-├── augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS: Interface
-├── augmentConversionForManagedClusterIngressProfile_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
-├── augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
-├── augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
-├── augmentConversionForManagedClusterNATGatewayProfile: Interface
-├── augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
-├── augmentConversionForManagedClusterNodeResourceGroupProfile: Interface
-├── augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOIDCIssuerProfile: Interface
-├── augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterOperatorConfigMaps: Interface
-├── augmentConversionForManagedClusterOperatorSecrets: Interface
-├── augmentConversionForManagedClusterOperatorSpec: Interface
-├── augmentConversionForManagedClusterPodIdentity: Interface
-├── augmentConversionForManagedClusterPodIdentityException: Interface
-├── augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile: Interface
-├── augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
-├── augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
-├── augmentConversionForManagedClusterPodIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
-├── augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedClusterSKU: Interface
-├── augmentConversionForManagedClusterSKU_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfile: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefender: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
-├── augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileNodeRestriction: Interface
-├── augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
-├── augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
-├── augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile: Interface
-├── augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfile: Interface
-├── augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
-├── augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
-├── augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
-├── augmentConversionForManagedClusterStorageProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWindowsProfile: Interface
-├── augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
-├── augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
-├── augmentConversionForManagedCluster_STATUS: Interface
-├── augmentConversionForManagedCluster_Spec: Interface
-├── augmentConversionForManagedClustersAgentPool: Interface
-├── augmentConversionForManagedClusters_AgentPool_STATUS: Interface
-├── augmentConversionForManagedClusters_AgentPool_Spec: Interface
-├── augmentConversionForPortRange: Interface
-├── augmentConversionForPortRange_STATUS: Interface
-├── augmentConversionForPowerState: Interface
-├── augmentConversionForPowerState_STATUS: Interface
-├── augmentConversionForPrivateLinkResource: Interface
-├── augmentConversionForPrivateLinkResource_STATUS: Interface
-├── augmentConversionForResourceReference: Interface
-├── augmentConversionForResourceReference_STATUS: Interface
-├── augmentConversionForServiceMeshProfile: Interface
-├── augmentConversionForServiceMeshProfile_STATUS: Interface
-├── augmentConversionForSysctlConfig: Interface
-├── augmentConversionForSysctlConfig_STATUS: Interface
-├── augmentConversionForSystemData_STATUS: Interface
-├── augmentConversionForUpgradeOverrideSettings: Interface
-├── augmentConversionForUpgradeOverrideSettings_STATUS: Interface
-├── augmentConversionForUserAssignedIdentity: Interface
-├── augmentConversionForUserAssignedIdentityDetails: Interface
-├── augmentConversionForUserAssignedIdentity_STATUS: Interface
-├── augmentConversionForWindowsGmsaProfile: Interface
-└── augmentConversionForWindowsGmsaProfile_STATUS: Interface
+│ └── VerticalPodAutoscaler: *Object (3 properties)
+│ ├── AddonAutoscaling: *string
+│ ├── Enabled: *bool
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (58 properties)
+ ├── AadProfile: *Object (8 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (4 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AgentPoolProfiles: Object (54 properties)[]
+ │ ├── ArtifactStreamingProfile: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableCustomCATrust: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *string
+ │ ├── GpuProfile: *Object (2 properties)
+ │ │ ├── InstallGPUDriver: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (12 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *string
+ │ ├── LinuxOSConfig: *Object (5 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (29 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MessageOfTheDay: *string
+ │ ├── MinCount: *int
+ │ ├── Mode: *string
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (4 properties)
+ │ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Protocol: *string
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ │ ├── IpTagType: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Tag: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeInitializationTaints: string[]
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *string
+ │ ├── OsSKU: *string
+ │ ├── OsType: *string
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (2 properties)
+ │ │ ├── Code: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *string
+ │ ├── ScaleSetEvictionPolicy: *string
+ │ ├── ScaleSetPriority: *string
+ │ ├── SecurityProfile: *Object (4 properties)
+ │ │ ├── EnableSecureBoot: *bool
+ │ │ ├── EnableVTPM: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SshAccess: *string
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *string
+ │ ├── UpgradeSettings: *Object (4 properties)
+ │ │ ├── DrainTimeoutInMinutes: *int
+ │ │ ├── MaxSurge: *string
+ │ │ ├── NodeSoakDurationInMinutes: *int
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+ │ │ ├── Count: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Size: *string
+ │ ├── VirtualMachinesProfile: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Scale: *Object (2 properties)
+ │ │ ├── Manual: Object (3 properties)[]
+ │ │ │ ├── Count: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Sizes: string[]
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ ├── WindowsProfile: *Object (2 properties)
+ │ │ ├── DisableOutboundNat: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadRuntime: *string
+ ├── AiToolchainOperatorProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ApiServerAccessProfile: *Object (8 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── EnableVnetIntegration: *bool
+ │ ├── PrivateDNSZone: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SubnetId: *string
+ ├── AutoScalerProfile: *Object (21 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+ │ ├── Expander: *string
+ │ ├── IgnoreDaemonsetsUtilization: *bool
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (3 properties)
+ │ ├── NodeOSUpgradeChannel: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UpgradeChannel: *string
+ ├── AzureMonitorProfile: *Object (3 properties)
+ │ ├── Logs: *Object (3 properties)
+ │ │ ├── AppMonitoring: *Object (2 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ContainerInsights: *Object (4 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── WindowsHostLogs: *Object (2 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Metrics: *Object (4 properties)
+ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (2 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Enabled: *bool
+ │ │ ├── KubeStateMetrics: *Object (3 properties)
+ │ │ │ ├── MetricAnnotationsAllowList: *string
+ │ │ │ ├── MetricLabelsAllowlist: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnableNamespaceResources: *bool
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (6 properties)
+ │ ├── EffectiveNoProxy: string[]
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (6 properties)
+ │ ├── DelegatedResources: map[string]Object (5 properties)
+ │ │ ├── Location: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ReferralResource: *string
+ │ │ ├── ResourceId: *string
+ │ │ └── TenantId: *string
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IdentityProfile: map[string]Object (4 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ResourceId: *string
+ ├── IngressProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WebAppRouting: *Object (4 properties)
+ │ ├── DnsZoneResourceIds: string[]
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (3 properties)
+ │ ├── AdminUsername: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Ssh: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicKeys: Object (2 properties)[]
+ │ ├── KeyData: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── MetricsProfile: *Object (2 properties)
+ │ ├── CostAnalysis: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Name: *string
+ ├── NetworkProfile: *Object (18 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── IpFamilies: string[]
+ │ ├── KubeProxyConfig: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IpvsConfig: *Object (5 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── Scheduler: *string
+ │ │ │ ├── TcpFinTimeoutSeconds: *int
+ │ │ │ ├── TcpTimeoutSeconds: *int
+ │ │ │ └── UdpTimeoutSeconds: *int
+ │ │ ├── Mode: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerProfile: *Object (9 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *string
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ ├── CountIPv6: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPs: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerSku: *string
+ │ ├── Monitoring: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NatGatewayProfile: *Object (4 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NetworkDataplane: *string
+ │ ├── NetworkMode: *string
+ │ ├── NetworkPlugin: *string
+ │ ├── NetworkPluginMode: *string
+ │ ├── NetworkPolicy: *string
+ │ ├── OutboundType: *string
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeProvisioningProfile: *Object (2 properties)
+ │ ├── Mode: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeResourceGroup: *string
+ ├── NodeResourceGroupProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── RestrictionLevel: *string
+ ├── OidcIssuerProfile: *Object (3 properties)
+ │ ├── Enabled: *bool
+ │ ├── IssuerURL: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PodIdentityProfile: *Object (5 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── UserAssignedIdentities: Object (7 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (4 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningInfo: *Object (2 properties)
+ │ │ │ ├── Error: *Object (2 properties)
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── ProvisioningState: *string
+ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ ├── PodLabels: map[string]string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (7 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *string
+ ├── ResourceUID: *string
+ ├── SafeguardsProfile: *Object (5 properties)
+ │ ├── ExcludedNamespaces: string[]
+ │ ├── Level: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SystemExcludedNamespaces: string[]
+ │ └── Version: *string
+ ├── SecurityProfile: *Object (8 properties)
+ │ ├── AzureKeyVaultKms: *Object (5 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *string
+ │ │ ├── KeyVaultResourceId: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── CustomCATrustCertificates: string[]
+ │ ├── Defender: *Object (3 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SecurityMonitoring: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageCleaner: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IntervalHours: *int
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageIntegrity: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeRestriction: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadIdentity: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceMeshProfile: *Object (3 properties)
+ │ ├── Istio: *Object (4 properties)
+ │ │ ├── CertificateAuthority: *Object (2 properties)
+ │ │ │ ├── Plugin: *Object (6 properties)
+ │ │ │ │ ├── CertChainObjectName: *string
+ │ │ │ │ ├── CertObjectName: *string
+ │ │ │ │ ├── KeyObjectName: *string
+ │ │ │ │ ├── KeyVaultId: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── RootCertObjectName: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Components: *Object (3 properties)
+ │ │ │ ├── EgressGateways: Object (3 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ ├── NodeSelector: map[string]string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── IngressGateways: Object (3 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ ├── Mode: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Revisions: string[]
+ │ ├── Mode: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServicePrincipalProfile: *Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── StorageProfile: *Object (5 properties)
+ │ ├── BlobCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── DiskCSIDriver: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Version: *string
+ │ ├── FileCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SnapshotController: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SupportPlan: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── OverrideSettings: *Object (3 properties)
+ │ │ ├── ForceUpgrade: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Until: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── WindowsProfile: *Object (5 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (4 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── RootDomainName: *string
+ │ ├── LicenseType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadAutoScalerProfile: *Object (3 properties)
+ ├── Keda: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ └── VerticalPodAutoscaler: *Object (3 properties)
+ ├── AddonAutoscaling: *string
+ ├── Enabled: *bool
+ └── PropertyBag: genruntime.PropertyBag
+ManagedClustersAgentPool: Resource
+├── Owner: containerservice/v1api20231102preview.ManagedCluster
+├── Spec: Object (53 properties)
+│ ├── ArtifactStreamingProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ ├── Count: *int
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *string
+│ ├── GpuProfile: *Object (2 properties)
+│ │ ├── InstallGPUDriver: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (12 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *string
+│ ├── LinuxOSConfig: *Object (5 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (29 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *string
+│ ├── NetworkProfile: *Object (4 properties)
+│ │ ├── AllowedHostPorts: Object (4 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Protocol: *string
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ ├── NodePublicIPTags: Object (3 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Tag: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeInitializationTaints: string[]
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OriginalVersion: string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *string
+│ ├── OsSKU: *string
+│ ├── OsType: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (2 properties)
+│ │ ├── Code: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *string
+│ ├── ScaleSetEvictionPolicy: *string
+│ ├── ScaleSetPriority: *string
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── EnableSecureBoot: *bool
+│ │ ├── EnableVTPM: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SshAccess: *string
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *string
+│ ├── UpgradeSettings: *Object (4 properties)
+│ │ ├── DrainTimeoutInMinutes: *int
+│ │ ├── MaxSurge: *string
+│ │ ├── NodeSoakDurationInMinutes: *int
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+│ │ ├── Count: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Size: *string
+│ ├── VirtualMachinesProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Scale: *Object (2 properties)
+│ │ ├── Manual: Object (3 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Sizes: string[]
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ ├── WindowsProfile: *Object (2 properties)
+│ │ ├── DisableOutboundNat: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadRuntime: *string
+└── Status: Object (57 properties)
+ ├── ArtifactStreamingProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *string
+ ├── GpuProfile: *Object (2 properties)
+ │ ├── InstallGPUDriver: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (12 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *string
+ ├── LinuxOSConfig: *Object (5 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (29 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *string
+ ├── Name: *string
+ ├── NetworkProfile: *Object (4 properties)
+ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Protocol: *string
+ │ ├── ApplicationSecurityGroups: string[]
+ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Tag: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeImageVersion: *string
+ ├── NodeInitializationTaints: string[]
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *string
+ ├── OsSKU: *string
+ ├── OsType: *string
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertiesType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *string
+ ├── ScaleSetEvictionPolicy: *string
+ ├── ScaleSetPriority: *string
+ ├── SecurityProfile: *Object (4 properties)
+ │ ├── EnableSecureBoot: *bool
+ │ ├── EnableVTPM: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SshAccess: *string
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (4 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ ├── NodeSoakDurationInMinutes: *int
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+ │ ├── Count: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Size: *string
+ ├── VirtualMachinesProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Scale: *Object (2 properties)
+ │ ├── Manual: Object (3 properties)[]
+ │ │ ├── Count: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Sizes: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (2 properties)
+ │ ├── DisableOutboundNat: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadRuntime: *string
+augmentConversionForAgentPoolNetworkProfile: Interface
+augmentConversionForAgentPoolNetworkProfile_STATUS: Interface
+augmentConversionForAgentPoolUpgradeSettings: Interface
+augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
+augmentConversionForAgentPoolWindowsProfile: Interface
+augmentConversionForAgentPoolWindowsProfile_STATUS: Interface
+augmentConversionForAzureKeyVaultKms: Interface
+augmentConversionForAzureKeyVaultKms_STATUS: Interface
+augmentConversionForClusterUpgradeSettings: Interface
+augmentConversionForClusterUpgradeSettings_STATUS: Interface
+augmentConversionForContainerServiceLinuxProfile: Interface
+augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
+augmentConversionForContainerServiceSshConfiguration: Interface
+augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
+augmentConversionForContainerServiceSshPublicKey: Interface
+augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
+augmentConversionForCreationData: Interface
+augmentConversionForCreationData_STATUS: Interface
+augmentConversionForDelegatedResource: Interface
+augmentConversionForDelegatedResource_STATUS: Interface
+augmentConversionForExtendedLocation: Interface
+augmentConversionForExtendedLocation_STATUS: Interface
+augmentConversionForIPTag: Interface
+augmentConversionForIPTag_STATUS: Interface
+augmentConversionForIstioCertificateAuthority: Interface
+augmentConversionForIstioCertificateAuthority_STATUS: Interface
+augmentConversionForIstioComponents: Interface
+augmentConversionForIstioComponents_STATUS: Interface
+augmentConversionForIstioEgressGateway: Interface
+augmentConversionForIstioEgressGateway_STATUS: Interface
+augmentConversionForIstioIngressGateway: Interface
+augmentConversionForIstioIngressGateway_STATUS: Interface
+augmentConversionForIstioPluginCertificateAuthority: Interface
+augmentConversionForIstioPluginCertificateAuthority_STATUS: Interface
+augmentConversionForIstioServiceMesh: Interface
+augmentConversionForIstioServiceMesh_STATUS: Interface
+augmentConversionForKubeletConfig: Interface
+augmentConversionForKubeletConfig_STATUS: Interface
+augmentConversionForLinuxOSConfig: Interface
+augmentConversionForLinuxOSConfig_STATUS: Interface
+augmentConversionForManagedCluster: Interface
+augmentConversionForManagedClusterAADProfile: Interface
+augmentConversionForManagedClusterAADProfile_STATUS: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
+augmentConversionForManagedClusterAddonProfile: Interface
+augmentConversionForManagedClusterAddonProfile_STATUS: Interface
+augmentConversionForManagedClusterAgentPoolProfile: Interface
+augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
+augmentConversionForManagedClusterHTTPProxyConfig: Interface
+augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
+augmentConversionForManagedClusterIdentity: Interface
+augmentConversionForManagedClusterIdentity_STATUS: Interface
+augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
+augmentConversionForManagedClusterIngressProfile: Interface
+augmentConversionForManagedClusterIngressProfileWebAppRouting: Interface
+augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS: Interface
+augmentConversionForManagedClusterIngressProfile_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
+augmentConversionForManagedClusterNATGatewayProfile: Interface
+augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
+augmentConversionForManagedClusterNodeResourceGroupProfile: Interface
+augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
+augmentConversionForManagedClusterOperatorConfigMaps: Interface
+augmentConversionForManagedClusterOperatorSecrets: Interface
+augmentConversionForManagedClusterOperatorSpec: Interface
+augmentConversionForManagedClusterPodIdentity: Interface
+augmentConversionForManagedClusterPodIdentityException: Interface
+augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProfile: Interface
+augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_STATUS: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
+augmentConversionForManagedClusterSKU: Interface
+augmentConversionForManagedClusterSKU_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile: Interface
+augmentConversionForManagedClusterSecurityProfileDefender: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileNodeRestriction: Interface
+augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
+augmentConversionForManagedClusterServicePrincipalProfile: Interface
+augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile_STATUS: Interface
+augmentConversionForManagedClusterWindowsProfile: Interface
+augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
+augmentConversionForManagedCluster_STATUS: Interface
+augmentConversionForManagedCluster_Spec: Interface
+augmentConversionForManagedClustersAgentPool: Interface
+augmentConversionForManagedClusters_AgentPool_STATUS: Interface
+augmentConversionForManagedClusters_AgentPool_Spec: Interface
+augmentConversionForPortRange: Interface
+augmentConversionForPortRange_STATUS: Interface
+augmentConversionForPowerState: Interface
+augmentConversionForPowerState_STATUS: Interface
+augmentConversionForPrivateLinkResource: Interface
+augmentConversionForPrivateLinkResource_STATUS: Interface
+augmentConversionForResourceReference: Interface
+augmentConversionForResourceReference_STATUS: Interface
+augmentConversionForServiceMeshProfile: Interface
+augmentConversionForServiceMeshProfile_STATUS: Interface
+augmentConversionForSysctlConfig: Interface
+augmentConversionForSysctlConfig_STATUS: Interface
+augmentConversionForSystemData_STATUS: Interface
+augmentConversionForUpgradeOverrideSettings: Interface
+augmentConversionForUpgradeOverrideSettings_STATUS: Interface
+augmentConversionForUserAssignedIdentity: Interface
+augmentConversionForUserAssignedIdentityDetails: Interface
+augmentConversionForUserAssignedIdentity_STATUS: Interface
+augmentConversionForWindowsGmsaProfile: Interface
+augmentConversionForWindowsGmsaProfile_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/zz_generated.deepcopy.go
index 46557747a8..115663a90b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage/zz_generated.deepcopy.go
@@ -6255,7 +6255,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -6300,11 +6300,6 @@ func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/structure.txt
index 9d6963fc3e..2c0f21f20c 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/structure.txt
@@ -1,2147 +1,26 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview
-├── APIVersion: Enum (1 value)
-│ └── "2023-11-02-preview"
-├── ManagedCluster: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (47 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (50 properties)[]
-│ │ │ ├── ArtifactStreamingProfile: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── GpuProfile: *Object (1 property)
-│ │ │ │ └── InstallGPUDriver: *bool
-│ │ │ ├── HostGroupReference: *genruntime.ResourceReference
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
-│ │ │ │ │ └── Rule 0: Minimum: 2
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 90
-│ │ │ │ │ │ └── Rule 1: Minimum: 10
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 524288
-│ │ │ │ │ │ └── Rule 1: Minimum: 65536
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 2097152
-│ │ │ │ │ │ └── Rule 1: Minimum: 131072
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ ├── PortStart: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeInitializationTaints: string[]
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (7 values)
-│ │ │ │ ├── "AzureLinux"
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Mariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ ├── "Windows2022"
-│ │ │ │ └── "WindowsAnnual"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SecurityProfile: *Object (3 properties)
-│ │ │ │ ├── EnableSecureBoot: *bool
-│ │ │ │ ├── EnableVTPM: *bool
-│ │ │ │ └── SshAccess: *Enum (2 values)
-│ │ │ │ ├── "Disabled"
-│ │ │ │ └── "LocalUser"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ ├── "VirtualMachineScaleSets"
-│ │ │ │ └── "VirtualMachines"
-│ │ │ ├── UpgradeSettings: *Object (3 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 1440
-│ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── NodeSoakDurationInMinutes: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 30
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── Size: *string
-│ │ │ ├── VirtualMachinesProfile: *Object (1 property)
-│ │ │ │ └── Scale: *Object (1 property)
-│ │ │ │ └── Manual: Object (2 properties)[]
-│ │ │ │ ├── Count: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 1000
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ └── Sizes: string[]
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetReference: *genruntime.ResourceReference
-│ │ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ │ └── DisableOutboundNat: *bool
-│ │ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ │ ├── "KataMshvVmIsolation"
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── AiToolchainOperatorProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (20 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── DaemonsetEvictionForEmptyNodes: *bool
-│ │ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── IgnoreDaemonsetsUtilization: *bool
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SecurityPatch"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ │ ├── Logs: *Object (2 properties)
-│ │ │ │ ├── AppMonitoring: *Object (1 property)
-│ │ │ │ │ └── Enabled: *bool
-│ │ │ │ └── ContainerInsights: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── WindowsHostLogs: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── Metrics: *Object (3 properties)
-│ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 63
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── Identity: *Object (3 properties)
-│ │ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ │ ├── Location: *string
-│ │ │ │ ├── ReferralResource: *string
-│ │ │ │ ├── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── TenantId: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SystemAssigned"
-│ │ │ │ └── "UserAssigned"
-│ │ │ └── UserAssignedIdentities: Object (1 property)[]
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ ├── IngressProfile: *Object (1 property)
-│ │ │ └── WebAppRouting: *Object (2 properties)
-│ │ │ ├── DnsZoneResourceReferences: genruntime.ResourceReference[]
-│ │ │ └── Enabled: *bool
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── Location: *string
-│ │ ├── MetricsProfile: *Object (1 property)
-│ │ │ └── CostAnalysis: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ │ └── "RoundRobin"
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "IPTABLES"
-│ │ │ │ └── "IPVS"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 64000
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: Validated<*int> (2 rules)
-│ │ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 100
-│ │ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── Monitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 120
-│ │ │ │ │ └── Rule 1: Minimum: 4
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 16
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (4 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ ├── "cilium"
-│ │ │ │ └── "none"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: Validated<*string> (1 rule)
-│ │ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeProvisioningProfile: *Object (1 property)
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Auto"
-│ │ │ └── "Manual"
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ │ └── RestrictionLevel: *Enum (2 values)
-│ │ │ ├── "ReadOnly"
-│ │ │ └── "Unrestricted"
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── ConfigMaps: *Object (1 property)
-│ │ │ │ └── OIDCIssuerProfile: *genruntime.ConfigMapDestination
-│ │ │ └── Secrets: *Object (2 properties)
-│ │ │ ├── AdminCredentials: *genruntime.SecretDestination
-│ │ │ └── UserCredentials: *genruntime.SecretDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceReference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Reference: *genruntime.ResourceReference
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ │ ├── "Disabled"
-│ │ │ ├── "Enabled"
-│ │ │ └── "SecuredByPerimeter"
-│ │ ├── SafeguardsProfile: *Object (3 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Enforcement"
-│ │ │ │ ├── "Off"
-│ │ │ │ └── "Warning"
-│ │ │ └── Version: *string
-│ │ ├── SecurityProfile: *Object (7 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
-│ │ │ ├── CustomCATrustCertificates: Validated (2 rules)
-│ │ │ │ ├── Rule 0: MaxItems: 10
-│ │ │ │ └── Rule 1: MinItems: 0
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ ├── ImageIntegrity: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (3 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ │ ├── "External"
-│ │ │ │ │ └── "Internal"
-│ │ │ │ └── Revisions: Validated (1 rule)
-│ │ │ │ └── Rule 0: MaxItems: 2
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *genruntime.SecretReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (1 value)
-│ │ │ │ └── "Base"
-│ │ │ └── Tier: *Enum (3 values)
-│ │ │ ├── "Free"
-│ │ │ ├── "Premium"
-│ │ │ └── "Standard"
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── SupportPlan: *Enum (2 values)
-│ │ │ ├── "AKSLongTermSupport"
-│ │ │ └── "KubernetesOfficial"
-│ │ ├── Tags: map[string]string
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (2 properties)
-│ │ ├── AddonAutoscaling: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ └── Enabled: *bool
-│ └── Status: Object (57 properties)
-│ ├── AadProfile: *Object (7 properties)
-│ │ ├── AdminGroupObjectIDs: string[]
-│ │ ├── ClientAppID: *string
-│ │ ├── EnableAzureRBAC: *bool
-│ │ ├── Managed: *bool
-│ │ ├── ServerAppID: *string
-│ │ ├── ServerAppSecret: *string
-│ │ └── TenantID: *string
-│ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ ├── Config: map[string]string
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── AgentPoolProfiles: Object (53 properties)[]
-│ │ ├── ArtifactStreamingProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── AvailabilityZones: string[]
-│ │ ├── CapacityReservationGroupID: *string
-│ │ ├── Count: *int
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentOrchestratorVersion: *string
-│ │ ├── EnableAutoScaling: *bool
-│ │ ├── EnableCustomCATrust: *bool
-│ │ ├── EnableEncryptionAtHost: *bool
-│ │ ├── EnableFIPS: *bool
-│ │ ├── EnableNodePublicIP: *bool
-│ │ ├── EnableUltraSSD: *bool
-│ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ ├── "MIG1g"
-│ │ │ ├── "MIG2g"
-│ │ │ ├── "MIG3g"
-│ │ │ ├── "MIG4g"
-│ │ │ └── "MIG7g"
-│ │ ├── GpuProfile: *Object (1 property)
-│ │ │ └── InstallGPUDriver: *bool
-│ │ ├── HostGroupID: *string
-│ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ ├── CpuCfsQuota: *bool
-│ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ ├── CpuManagerPolicy: *string
-│ │ │ ├── FailSwapOn: *bool
-│ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ ├── PodMaxPids: *int
-│ │ │ └── TopologyManagerPolicy: *string
-│ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ ├── "OS"
-│ │ │ └── "Temporary"
-│ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ ├── SwapFileSizeMB: *int
-│ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ ├── FsFileMax: *int
-│ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ └── TransparentHugePageEnabled: *string
-│ │ ├── MaxCount: *int
-│ │ ├── MaxPods: *int
-│ │ ├── MessageOfTheDay: *string
-│ │ ├── MinCount: *int
-│ │ ├── Mode: *Enum (2 values)
-│ │ │ ├── "System"
-│ │ │ └── "User"
-│ │ ├── Name: *string
-│ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ ├── PortEnd: *int
-│ │ │ │ ├── PortStart: *int
-│ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ ├── "TCP"
-│ │ │ │ └── "UDP"
-│ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── NodeImageVersion: *string
-│ │ ├── NodeInitializationTaints: string[]
-│ │ ├── NodeLabels: map[string]string
-│ │ ├── NodePublicIPPrefixID: *string
-│ │ ├── NodeTaints: string[]
-│ │ ├── OrchestratorVersion: *string
-│ │ ├── OsDiskSizeGB: *int
-│ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ ├── "Ephemeral"
-│ │ │ └── "Managed"
-│ │ ├── OsSKU: *Enum (7 values)
-│ │ │ ├── "AzureLinux"
-│ │ │ ├── "CBLMariner"
-│ │ │ ├── "Mariner"
-│ │ │ ├── "Ubuntu"
-│ │ │ ├── "Windows2019"
-│ │ │ ├── "Windows2022"
-│ │ │ └── "WindowsAnnual"
-│ │ ├── OsType: *Enum (2 values)
-│ │ │ ├── "Linux"
-│ │ │ └── "Windows"
-│ │ ├── PodSubnetID: *string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── ProvisioningState: *string
-│ │ ├── ProximityPlacementGroupID: *string
-│ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ ├── "Deallocate"
-│ │ │ └── "Delete"
-│ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ ├── "Regular"
-│ │ │ └── "Spot"
-│ │ ├── SecurityProfile: *Object (3 properties)
-│ │ │ ├── EnableSecureBoot: *bool
-│ │ │ ├── EnableVTPM: *bool
-│ │ │ └── SshAccess: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "LocalUser"
-│ │ ├── SpotMaxPrice: *float64
-│ │ ├── Tags: map[string]string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "AvailabilitySet"
-│ │ │ ├── "VirtualMachineScaleSets"
-│ │ │ └── "VirtualMachines"
-│ │ ├── UpgradeSettings: *Object (3 properties)
-│ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ ├── MaxSurge: *string
-│ │ │ └── NodeSoakDurationInMinutes: *int
-│ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
-│ │ │ ├── Count: *int
-│ │ │ └── Size: *string
-│ │ ├── VirtualMachinesProfile: *Object (1 property)
-│ │ │ └── Scale: *Object (1 property)
-│ │ │ └── Manual: Object (2 properties)[]
-│ │ │ ├── Count: *int
-│ │ │ └── Sizes: string[]
-│ │ ├── VmSize: *string
-│ │ ├── VnetSubnetID: *string
-│ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ └── DisableOutboundNat: *bool
-│ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ ├── "KataMshvVmIsolation"
-│ │ ├── "OCIContainer"
-│ │ └── "WasmWasi"
-│ ├── AiToolchainOperatorProfile: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ ├── AuthorizedIPRanges: string[]
-│ │ ├── DisableRunCommand: *bool
-│ │ ├── EnablePrivateCluster: *bool
-│ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ ├── EnableVnetIntegration: *bool
-│ │ ├── PrivateDNSZone: *string
-│ │ └── SubnetId: *string
-│ ├── AutoScalerProfile: *Object (20 properties)
-│ │ ├── BalanceSimilarNodeGroups: *string
-│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
-│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
-│ │ ├── Expander: *Enum (4 values)
-│ │ │ ├── "least-waste"
-│ │ │ ├── "most-pods"
-│ │ │ ├── "priority"
-│ │ │ └── "random"
-│ │ ├── IgnoreDaemonsetsUtilization: *bool
-│ │ ├── MaxEmptyBulkDelete: *string
-│ │ ├── MaxGracefulTerminationSec: *string
-│ │ ├── MaxNodeProvisionTime: *string
-│ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ ├── NewPodScaleUpDelay: *string
-│ │ ├── OkTotalUnreadyCount: *string
-│ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ ├── ScaleDownUnneededTime: *string
-│ │ ├── ScaleDownUnreadyTime: *string
-│ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ ├── ScanInterval: *string
-│ │ ├── SkipNodesWithLocalStorage: *string
-│ │ └── SkipNodesWithSystemPods: *string
-│ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ ├── "NodeImage"
-│ │ │ ├── "None"
-│ │ │ ├── "SecurityPatch"
-│ │ │ └── "Unmanaged"
-│ │ └── UpgradeChannel: *Enum (5 values)
-│ │ ├── "node-image"
-│ │ ├── "none"
-│ │ ├── "patch"
-│ │ ├── "rapid"
-│ │ └── "stable"
-│ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ ├── Logs: *Object (2 properties)
-│ │ │ ├── AppMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── ContainerInsights: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ └── WindowsHostLogs: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── Metrics: *Object (3 properties)
-│ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── Enabled: *bool
-│ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ ├── MetricAnnotationsAllowList: *string
-│ │ └── MetricLabelsAllowlist: *string
-│ ├── AzurePortalFQDN: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── CurrentKubernetesVersion: *string
-│ ├── DisableLocalAccounts: *bool
-│ ├── DiskEncryptionSetID: *string
-│ ├── DnsPrefix: *string
-│ ├── EnableNamespaceResources: *bool
-│ ├── EnablePodSecurityPolicy: *bool
-│ ├── EnableRBAC: *bool
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Fqdn: *string
-│ ├── FqdnSubdomain: *string
-│ ├── HttpProxyConfig: *Object (5 properties)
-│ │ ├── EffectiveNoProxy: string[]
-│ │ ├── HttpProxy: *string
-│ │ ├── HttpsProxy: *string
-│ │ ├── NoProxy: string[]
-│ │ └── TrustedCa: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── IngressProfile: *Object (1 property)
-│ │ └── WebAppRouting: *Object (3 properties)
-│ │ ├── DnsZoneResourceIds: string[]
-│ │ ├── Enabled: *bool
-│ │ └── Identity: *Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── ObjectId: *string
-│ │ └── ResourceId: *string
-│ ├── KubernetesVersion: *string
-│ ├── LinuxProfile: *Object (2 properties)
-│ │ ├── AdminUsername: *string
-│ │ └── Ssh: *Object (1 property)
-│ │ └── PublicKeys: Object (1 property)[]
-│ │ └── KeyData: *string
-│ ├── Location: *string
-│ ├── MaxAgentPools: *int
-│ ├── MetricsProfile: *Object (1 property)
-│ │ └── CostAnalysis: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (17 properties)
-│ │ ├── DnsServiceIP: *string
-│ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ └── "RoundRobin"
-│ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "IPTABLES"
-│ │ │ └── "IPVS"
-│ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ ├── "NodeIP"
-│ │ │ │ └── "NodeIPConfiguration"
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── CountIPv6: *int
-│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ ├── "basic"
-│ │ │ └── "standard"
-│ │ ├── Monitoring: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ └── Count: *int
-│ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ ├── "azure"
-│ │ │ └── "cilium"
-│ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ ├── "bridge"
-│ │ │ └── "transparent"
-│ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "kubenet"
-│ │ │ └── "none"
-│ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ └── "overlay"
-│ │ ├── NetworkPolicy: *Enum (4 values)
-│ │ │ ├── "azure"
-│ │ │ ├── "calico"
-│ │ │ ├── "cilium"
-│ │ │ └── "none"
-│ │ ├── OutboundType: *Enum (4 values)
-│ │ │ ├── "loadBalancer"
-│ │ │ ├── "managedNATGateway"
-│ │ │ ├── "userAssignedNATGateway"
-│ │ │ └── "userDefinedRouting"
-│ │ ├── PodCidr: *string
-│ │ ├── PodCidrs: string[]
-│ │ ├── ServiceCidr: *string
-│ │ └── ServiceCidrs: string[]
-│ ├── NodeProvisioningProfile: *Object (1 property)
-│ │ └── Mode: *Enum (2 values)
-│ │ ├── "Auto"
-│ │ └── "Manual"
-│ ├── NodeResourceGroup: *string
-│ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ └── RestrictionLevel: *Enum (2 values)
-│ │ ├── "ReadOnly"
-│ │ └── "Unrestricted"
-│ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ ├── Enabled: *bool
-│ │ └── IssuerURL: *string
-│ ├── PodIdentityProfile: *Object (4 properties)
-│ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ ├── Enabled: *bool
-│ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ ├── BindingSelector: *string
-│ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ ├── ClientId: *string
-│ │ │ │ ├── ObjectId: *string
-│ │ │ │ └── ResourceId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Assigned"
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ ├── Name: *string
-│ │ ├── Namespace: *string
-│ │ └── PodLabels: map[string]string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PrivateFQDN: *string
-│ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ ├── GroupId: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceID: *string
-│ │ ├── RequiredMembers: string[]
-│ │ └── Type: *string
-│ ├── ProvisioningState: *string
-│ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ ├── "Disabled"
-│ │ ├── "Enabled"
-│ │ └── "SecuredByPerimeter"
-│ ├── ResourceUID: *string
-│ ├── SafeguardsProfile: *Object (4 properties)
-│ │ ├── ExcludedNamespaces: string[]
-│ │ ├── Level: *Enum (3 values)
-│ │ │ ├── "Enforcement"
-│ │ │ ├── "Off"
-│ │ │ └── "Warning"
-│ │ ├── SystemExcludedNamespaces: string[]
-│ │ └── Version: *string
-│ ├── SecurityProfile: *Object (7 properties)
-│ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── KeyId: *string
-│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ ├── "Private"
-│ │ │ │ └── "Public"
-│ │ │ └── KeyVaultResourceId: *string
-│ │ ├── CustomCATrustCertificates: string[]
-│ │ ├── Defender: *Object (2 properties)
-│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IntervalHours: *int
-│ │ ├── ImageIntegrity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── WorkloadIdentity: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ ├── Istio: *Object (3 properties)
-│ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ ├── CertObjectName: *string
-│ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ └── RootCertObjectName: *string
-│ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "External"
-│ │ │ │ └── "Internal"
-│ │ │ └── Revisions: string[]
-│ │ └── Mode: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Istio"
-│ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ └── ClientId: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (3 values)
-│ │ ├── "Free"
-│ │ ├── "Premium"
-│ │ └── "Standard"
-│ ├── StorageProfile: *Object (4 properties)
-│ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Version: *string
-│ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── SnapshotController: *Object (1 property)
-│ │ └── Enabled: *bool
-│ ├── SupportPlan: *Enum (2 values)
-│ │ ├── "AKSLongTermSupport"
-│ │ └── "KubernetesOfficial"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (1 property)
-│ │ └── OverrideSettings: *Object (2 properties)
-│ │ ├── ForceUpgrade: *bool
-│ │ └── Until: *string
-│ ├── WindowsProfile: *Object (5 properties)
-│ │ ├── AdminPassword: *string
-│ │ ├── AdminUsername: *string
-│ │ ├── EnableCSIProxy: *bool
-│ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ ├── DnsServer: *string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── RootDomainName: *string
-│ │ └── LicenseType: *Enum (2 values)
-│ │ ├── "None"
-│ │ └── "Windows_Server"
-│ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ ├── Keda: *Object (1 property)
-│ │ └── Enabled: *bool
-│ └── VerticalPodAutoscaler: *Object (2 properties)
-│ ├── AddonAutoscaling: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ └── Enabled: *bool
-├── ManagedCluster_STATUS_ARM: Object (10 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (47 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (3 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── AgentPoolProfiles: Object (53 properties)[]
-│ │ │ ├── ArtifactStreamingProfile: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── CurrentOrchestratorVersion: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── GpuProfile: *Object (1 property)
-│ │ │ │ └── InstallGPUDriver: *bool
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeImageVersion: *string
-│ │ │ ├── NodeInitializationTaints: string[]
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *int
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (7 values)
-│ │ │ │ ├── "AzureLinux"
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Mariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ ├── "Windows2022"
-│ │ │ │ └── "WindowsAnnual"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProvisioningState: *string
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SecurityProfile: *Object (3 properties)
-│ │ │ │ ├── EnableSecureBoot: *bool
-│ │ │ │ ├── EnableVTPM: *bool
-│ │ │ │ └── SshAccess: *Enum (2 values)
-│ │ │ │ ├── "Disabled"
-│ │ │ │ └── "LocalUser"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ ├── "VirtualMachineScaleSets"
-│ │ │ │ └── "VirtualMachines"
-│ │ │ ├── UpgradeSettings: *Object (3 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── NodeSoakDurationInMinutes: *int
-│ │ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── Size: *string
-│ │ │ ├── VirtualMachinesProfile: *Object (1 property)
-│ │ │ │ └── Scale: *Object (1 property)
-│ │ │ │ └── Manual: Object (2 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── Sizes: string[]
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ │ └── DisableOutboundNat: *bool
-│ │ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ │ ├── "KataMshvVmIsolation"
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── AiToolchainOperatorProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (20 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── DaemonsetEvictionForEmptyNodes: *bool
-│ │ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── IgnoreDaemonsetsUtilization: *bool
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SecurityPatch"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ │ ├── Logs: *Object (2 properties)
-│ │ │ │ ├── AppMonitoring: *Object (1 property)
-│ │ │ │ │ └── Enabled: *bool
-│ │ │ │ └── ContainerInsights: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── WindowsHostLogs: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── Metrics: *Object (3 properties)
-│ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── AzurePortalFQDN: *string
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── CurrentKubernetesVersion: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── Fqdn: *string
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (5 properties)
-│ │ │ ├── EffectiveNoProxy: string[]
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── IngressProfile: *Object (1 property)
-│ │ │ └── WebAppRouting: *Object (3 properties)
-│ │ │ ├── DnsZoneResourceIds: string[]
-│ │ │ ├── Enabled: *bool
-│ │ │ └── Identity: *Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── MaxAgentPools: *int
-│ │ ├── MetricsProfile: *Object (1 property)
-│ │ │ └── CostAnalysis: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ │ └── "RoundRobin"
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "IPTABLES"
-│ │ │ │ └── "IPVS"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── Monitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (4 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ ├── "cilium"
-│ │ │ │ └── "none"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeProvisioningProfile: *Object (1 property)
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Auto"
-│ │ │ └── "Manual"
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ │ └── RestrictionLevel: *Enum (2 values)
-│ │ │ ├── "ReadOnly"
-│ │ │ └── "Unrestricted"
-│ │ ├── OidcIssuerProfile: *Object (2 properties)
-│ │ │ ├── Enabled: *bool
-│ │ │ └── IssuerURL: *string
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (6 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Namespace: *string
-│ │ │ │ ├── ProvisioningInfo: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (1 property)
-│ │ │ │ │ └── Error: *Object (4 properties)
-│ │ │ │ │ ├── Code: *string
-│ │ │ │ │ ├── Details: Object (3 properties)[]
-│ │ │ │ │ │ ├── Code: *string
-│ │ │ │ │ │ ├── Message: *string
-│ │ │ │ │ │ └── Target: *string
-│ │ │ │ │ ├── Message: *string
-│ │ │ │ │ └── Target: *string
-│ │ │ │ └── ProvisioningState: *Enum (6 values)
-│ │ │ │ ├── "Assigned"
-│ │ │ │ ├── "Canceled"
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PowerState: *Object (1 property)
-│ │ │ └── Code: *Enum (2 values)
-│ │ │ ├── "Running"
-│ │ │ └── "Stopped"
-│ │ ├── PrivateFQDN: *string
-│ │ ├── PrivateLinkResources: Object (6 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceID: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ │ ├── "Disabled"
-│ │ │ ├── "Enabled"
-│ │ │ └── "SecuredByPerimeter"
-│ │ ├── ResourceUID: *string
-│ │ ├── SafeguardsProfile: *Object (4 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Enforcement"
-│ │ │ │ ├── "Off"
-│ │ │ │ └── "Warning"
-│ │ │ ├── SystemExcludedNamespaces: string[]
-│ │ │ └── Version: *string
-│ │ ├── SecurityProfile: *Object (7 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── CustomCATrustCertificates: string[]
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ ├── ImageIntegrity: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (3 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ │ ├── "External"
-│ │ │ │ │ └── "Internal"
-│ │ │ │ └── Revisions: string[]
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (1 property)
-│ │ │ └── ClientId: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── SupportPlan: *Enum (2 values)
-│ │ │ ├── "AKSLongTermSupport"
-│ │ │ └── "KubernetesOfficial"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (2 properties)
-│ │ ├── AddonAutoscaling: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ └── Enabled: *bool
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (3 values)
-│ │ ├── "Free"
-│ │ ├── "Premium"
-│ │ └── "Standard"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── ManagedCluster_Spec_ARM: Object (7 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Identity: *Object (3 properties)
-│ │ ├── DelegatedResources: map[string]Object (4 properties)
-│ │ │ ├── Location: *string
-│ │ │ ├── ReferralResource: *string
-│ │ │ ├── ResourceId: *string
-│ │ │ └── TenantId: *string
-│ │ ├── Type: *Enum (3 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (0 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (39 properties)
-│ │ ├── AadProfile: *Object (7 properties)
-│ │ │ ├── AdminGroupObjectIDs: string[]
-│ │ │ ├── ClientAppID: *string
-│ │ │ ├── EnableAzureRBAC: *bool
-│ │ │ ├── Managed: *bool
-│ │ │ ├── ServerAppID: *string
-│ │ │ ├── ServerAppSecret: *string
-│ │ │ └── TenantID: *string
-│ │ ├── AddonProfiles: map[string]Object (2 properties)
-│ │ │ ├── Config: map[string]string
-│ │ │ └── Enabled: *bool
-│ │ ├── AgentPoolProfiles: Object (50 properties)[]
-│ │ │ ├── ArtifactStreamingProfile: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── AvailabilityZones: string[]
-│ │ │ ├── CapacityReservationGroupID: *string
-│ │ │ ├── Count: *int
-│ │ │ ├── CreationData: *Object (1 property)
-│ │ │ │ └── SourceResourceId: *string
-│ │ │ ├── EnableAutoScaling: *bool
-│ │ │ ├── EnableCustomCATrust: *bool
-│ │ │ ├── EnableEncryptionAtHost: *bool
-│ │ │ ├── EnableFIPS: *bool
-│ │ │ ├── EnableNodePublicIP: *bool
-│ │ │ ├── EnableUltraSSD: *bool
-│ │ │ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ │ │ ├── "MIG1g"
-│ │ │ │ ├── "MIG2g"
-│ │ │ │ ├── "MIG3g"
-│ │ │ │ ├── "MIG4g"
-│ │ │ │ └── "MIG7g"
-│ │ │ ├── GpuProfile: *Object (1 property)
-│ │ │ │ └── InstallGPUDriver: *bool
-│ │ │ ├── HostGroupID: *string
-│ │ │ ├── KubeletConfig: *Object (11 properties)
-│ │ │ │ ├── AllowedUnsafeSysctls: string[]
-│ │ │ │ ├── ContainerLogMaxFiles: *int
-│ │ │ │ ├── ContainerLogMaxSizeMB: *int
-│ │ │ │ ├── CpuCfsQuota: *bool
-│ │ │ │ ├── CpuCfsQuotaPeriod: *string
-│ │ │ │ ├── CpuManagerPolicy: *string
-│ │ │ │ ├── FailSwapOn: *bool
-│ │ │ │ ├── ImageGcHighThreshold: *int
-│ │ │ │ ├── ImageGcLowThreshold: *int
-│ │ │ │ ├── PodMaxPids: *int
-│ │ │ │ └── TopologyManagerPolicy: *string
-│ │ │ ├── KubeletDiskType: *Enum (2 values)
-│ │ │ │ ├── "OS"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── LinuxOSConfig: *Object (4 properties)
-│ │ │ │ ├── SwapFileSizeMB: *int
-│ │ │ │ ├── Sysctls: *Object (28 properties)
-│ │ │ │ │ ├── FsAioMaxNr: *int
-│ │ │ │ │ ├── FsFileMax: *int
-│ │ │ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ │ │ ├── FsNrOpen: *int
-│ │ │ │ │ ├── KernelThreadsMax: *int
-│ │ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ │ │ ├── NetCoreRmemMax: *int
-│ │ │ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ │ │ ├── NetCoreWmemMax: *int
-│ │ │ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ │ │ ├── VmMaxMapCount: *int
-│ │ │ │ │ ├── VmSwappiness: *int
-│ │ │ │ │ └── VmVfsCachePressure: *int
-│ │ │ │ ├── TransparentHugePageDefrag: *string
-│ │ │ │ └── TransparentHugePageEnabled: *string
-│ │ │ ├── MaxCount: *int
-│ │ │ ├── MaxPods: *int
-│ │ │ ├── MessageOfTheDay: *string
-│ │ │ ├── MinCount: *int
-│ │ │ ├── Mode: *Enum (2 values)
-│ │ │ │ ├── "System"
-│ │ │ │ └── "User"
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkProfile: *Object (3 properties)
-│ │ │ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ │ │ ├── PortEnd: *int
-│ │ │ │ │ ├── PortStart: *int
-│ │ │ │ │ └── Protocol: *Enum (2 values)
-│ │ │ │ │ ├── "TCP"
-│ │ │ │ │ └── "UDP"
-│ │ │ │ ├── ApplicationSecurityGroups: string[]
-│ │ │ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ │ │ ├── IpTagType: *string
-│ │ │ │ └── Tag: *string
-│ │ │ ├── NodeInitializationTaints: string[]
-│ │ │ ├── NodeLabels: map[string]string
-│ │ │ ├── NodePublicIPPrefixID: *string
-│ │ │ ├── NodeTaints: string[]
-│ │ │ ├── OrchestratorVersion: *string
-│ │ │ ├── OsDiskSizeGB: *Validated (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 2048
-│ │ │ │ └── Rule 1: Minimum: 0
-│ │ │ ├── OsDiskType: *Enum (2 values)
-│ │ │ │ ├── "Ephemeral"
-│ │ │ │ └── "Managed"
-│ │ │ ├── OsSKU: *Enum (7 values)
-│ │ │ │ ├── "AzureLinux"
-│ │ │ │ ├── "CBLMariner"
-│ │ │ │ ├── "Mariner"
-│ │ │ │ ├── "Ubuntu"
-│ │ │ │ ├── "Windows2019"
-│ │ │ │ ├── "Windows2022"
-│ │ │ │ └── "WindowsAnnual"
-│ │ │ ├── OsType: *Enum (2 values)
-│ │ │ │ ├── "Linux"
-│ │ │ │ └── "Windows"
-│ │ │ ├── PodSubnetID: *string
-│ │ │ ├── PowerState: *Object (1 property)
-│ │ │ │ └── Code: *Enum (2 values)
-│ │ │ │ ├── "Running"
-│ │ │ │ └── "Stopped"
-│ │ │ ├── ProximityPlacementGroupID: *string
-│ │ │ ├── ScaleDownMode: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ │ │ ├── "Deallocate"
-│ │ │ │ └── "Delete"
-│ │ │ ├── ScaleSetPriority: *Enum (2 values)
-│ │ │ │ ├── "Regular"
-│ │ │ │ └── "Spot"
-│ │ │ ├── SecurityProfile: *Object (3 properties)
-│ │ │ │ ├── EnableSecureBoot: *bool
-│ │ │ │ ├── EnableVTPM: *bool
-│ │ │ │ └── SshAccess: *Enum (2 values)
-│ │ │ │ ├── "Disabled"
-│ │ │ │ └── "LocalUser"
-│ │ │ ├── SpotMaxPrice: *float64
-│ │ │ ├── Tags: map[string]string
-│ │ │ ├── Type: *Enum (3 values)
-│ │ │ │ ├── "AvailabilitySet"
-│ │ │ │ ├── "VirtualMachineScaleSets"
-│ │ │ │ └── "VirtualMachines"
-│ │ │ ├── UpgradeSettings: *Object (3 properties)
-│ │ │ │ ├── DrainTimeoutInMinutes: *int
-│ │ │ │ ├── MaxSurge: *string
-│ │ │ │ └── NodeSoakDurationInMinutes: *int
-│ │ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── Size: *string
-│ │ │ ├── VirtualMachinesProfile: *Object (1 property)
-│ │ │ │ └── Scale: *Object (1 property)
-│ │ │ │ └── Manual: Object (2 properties)[]
-│ │ │ │ ├── Count: *int
-│ │ │ │ └── Sizes: string[]
-│ │ │ ├── VmSize: *string
-│ │ │ ├── VnetSubnetID: *string
-│ │ │ ├── WindowsProfile: *Object (1 property)
-│ │ │ │ └── DisableOutboundNat: *bool
-│ │ │ └── WorkloadRuntime: *Enum (3 values)
-│ │ │ ├── "KataMshvVmIsolation"
-│ │ │ ├── "OCIContainer"
-│ │ │ └── "WasmWasi"
-│ │ ├── AiToolchainOperatorProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ApiServerAccessProfile: *Object (7 properties)
-│ │ │ ├── AuthorizedIPRanges: string[]
-│ │ │ ├── DisableRunCommand: *bool
-│ │ │ ├── EnablePrivateCluster: *bool
-│ │ │ ├── EnablePrivateClusterPublicFQDN: *bool
-│ │ │ ├── EnableVnetIntegration: *bool
-│ │ │ ├── PrivateDNSZone: *string
-│ │ │ └── SubnetId: *string
-│ │ ├── AutoScalerProfile: *Object (20 properties)
-│ │ │ ├── BalanceSimilarNodeGroups: *string
-│ │ │ ├── DaemonsetEvictionForEmptyNodes: *bool
-│ │ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
-│ │ │ ├── Expander: *Enum (4 values)
-│ │ │ │ ├── "least-waste"
-│ │ │ │ ├── "most-pods"
-│ │ │ │ ├── "priority"
-│ │ │ │ └── "random"
-│ │ │ ├── IgnoreDaemonsetsUtilization: *bool
-│ │ │ ├── MaxEmptyBulkDelete: *string
-│ │ │ ├── MaxGracefulTerminationSec: *string
-│ │ │ ├── MaxNodeProvisionTime: *string
-│ │ │ ├── MaxTotalUnreadyPercentage: *string
-│ │ │ ├── NewPodScaleUpDelay: *string
-│ │ │ ├── OkTotalUnreadyCount: *string
-│ │ │ ├── ScaleDownDelayAfterAdd: *string
-│ │ │ ├── ScaleDownDelayAfterDelete: *string
-│ │ │ ├── ScaleDownDelayAfterFailure: *string
-│ │ │ ├── ScaleDownUnneededTime: *string
-│ │ │ ├── ScaleDownUnreadyTime: *string
-│ │ │ ├── ScaleDownUtilizationThreshold: *string
-│ │ │ ├── ScanInterval: *string
-│ │ │ ├── SkipNodesWithLocalStorage: *string
-│ │ │ └── SkipNodesWithSystemPods: *string
-│ │ ├── AutoUpgradeProfile: *Object (2 properties)
-│ │ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
-│ │ │ │ ├── "NodeImage"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SecurityPatch"
-│ │ │ │ └── "Unmanaged"
-│ │ │ └── UpgradeChannel: *Enum (5 values)
-│ │ │ ├── "node-image"
-│ │ │ ├── "none"
-│ │ │ ├── "patch"
-│ │ │ ├── "rapid"
-│ │ │ └── "stable"
-│ │ ├── AzureMonitorProfile: *Object (2 properties)
-│ │ │ ├── Logs: *Object (2 properties)
-│ │ │ │ ├── AppMonitoring: *Object (1 property)
-│ │ │ │ │ └── Enabled: *bool
-│ │ │ │ └── ContainerInsights: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── WindowsHostLogs: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── Metrics: *Object (3 properties)
-│ │ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ └── KubeStateMetrics: *Object (2 properties)
-│ │ │ ├── MetricAnnotationsAllowList: *string
-│ │ │ └── MetricLabelsAllowlist: *string
-│ │ ├── CreationData: *Object (1 property)
-│ │ │ └── SourceResourceId: *string
-│ │ ├── DisableLocalAccounts: *bool
-│ │ ├── DiskEncryptionSetID: *string
-│ │ ├── DnsPrefix: *string
-│ │ ├── EnableNamespaceResources: *bool
-│ │ ├── EnablePodSecurityPolicy: *bool
-│ │ ├── EnableRBAC: *bool
-│ │ ├── FqdnSubdomain: *string
-│ │ ├── HttpProxyConfig: *Object (4 properties)
-│ │ │ ├── HttpProxy: *string
-│ │ │ ├── HttpsProxy: *string
-│ │ │ ├── NoProxy: string[]
-│ │ │ └── TrustedCa: *string
-│ │ ├── IdentityProfile: map[string]Object (3 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ ├── ObjectId: *string
-│ │ │ └── ResourceId: *string
-│ │ ├── IngressProfile: *Object (1 property)
-│ │ │ └── WebAppRouting: *Object (2 properties)
-│ │ │ ├── DnsZoneResourceIds: string[]
-│ │ │ └── Enabled: *bool
-│ │ ├── KubernetesVersion: *string
-│ │ ├── LinuxProfile: *Object (2 properties)
-│ │ │ ├── AdminUsername: *string
-│ │ │ └── Ssh: *Object (1 property)
-│ │ │ └── PublicKeys: Object (1 property)[]
-│ │ │ └── KeyData: *string
-│ │ ├── MetricsProfile: *Object (1 property)
-│ │ │ └── CostAnalysis: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── NetworkProfile: *Object (17 properties)
-│ │ │ ├── DnsServiceIP: *string
-│ │ │ ├── IpFamilies: Enum (2 values)[]
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── KubeProxyConfig: *Object (3 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── IpvsConfig: *Object (4 properties)
-│ │ │ │ │ ├── Scheduler: *Enum (2 values)
-│ │ │ │ │ │ ├── "LeastConnection"
-│ │ │ │ │ │ └── "RoundRobin"
-│ │ │ │ │ ├── TcpFinTimeoutSeconds: *int
-│ │ │ │ │ ├── TcpTimeoutSeconds: *int
-│ │ │ │ │ └── UdpTimeoutSeconds: *int
-│ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ ├── "IPTABLES"
-│ │ │ │ └── "IPVS"
-│ │ │ ├── LoadBalancerProfile: *Object (8 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendPoolType: *Enum (2 values)
-│ │ │ │ │ ├── "NodeIP"
-│ │ │ │ │ └── "NodeIPConfiguration"
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
-│ │ │ │ │ ├── Count: *int
-│ │ │ │ │ └── CountIPv6: *int
-│ │ │ │ ├── OutboundIPPrefixes: *Object (1 property)
-│ │ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── OutboundIPs: *Object (1 property)
-│ │ │ │ └── PublicIPs: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerSku: *Enum (2 values)
-│ │ │ │ ├── "basic"
-│ │ │ │ └── "standard"
-│ │ │ ├── Monitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── NatGatewayProfile: *Object (3 properties)
-│ │ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
-│ │ │ │ └── Count: *int
-│ │ │ ├── NetworkDataplane: *Enum (2 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ └── "cilium"
-│ │ │ ├── NetworkMode: *Enum (2 values)
-│ │ │ │ ├── "bridge"
-│ │ │ │ └── "transparent"
-│ │ │ ├── NetworkPlugin: *Enum (3 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "kubenet"
-│ │ │ │ └── "none"
-│ │ │ ├── NetworkPluginMode: *Enum (1 value)
-│ │ │ │ └── "overlay"
-│ │ │ ├── NetworkPolicy: *Enum (4 values)
-│ │ │ │ ├── "azure"
-│ │ │ │ ├── "calico"
-│ │ │ │ ├── "cilium"
-│ │ │ │ └── "none"
-│ │ │ ├── OutboundType: *Enum (4 values)
-│ │ │ │ ├── "loadBalancer"
-│ │ │ │ ├── "managedNATGateway"
-│ │ │ │ ├── "userAssignedNATGateway"
-│ │ │ │ └── "userDefinedRouting"
-│ │ │ ├── PodCidr: *string
-│ │ │ ├── PodCidrs: string[]
-│ │ │ ├── ServiceCidr: *string
-│ │ │ └── ServiceCidrs: string[]
-│ │ ├── NodeProvisioningProfile: *Object (1 property)
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Auto"
-│ │ │ └── "Manual"
-│ │ ├── NodeResourceGroup: *string
-│ │ ├── NodeResourceGroupProfile: *Object (1 property)
-│ │ │ └── RestrictionLevel: *Enum (2 values)
-│ │ │ ├── "ReadOnly"
-│ │ │ └── "Unrestricted"
-│ │ ├── OidcIssuerProfile: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── PodIdentityProfile: *Object (4 properties)
-│ │ │ ├── AllowNetworkPluginKubenet: *bool
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── UserAssignedIdentities: Object (4 properties)[]
-│ │ │ │ ├── BindingSelector: *string
-│ │ │ │ ├── Identity: *Object (3 properties)
-│ │ │ │ │ ├── ClientId: *string
-│ │ │ │ │ ├── ObjectId: *string
-│ │ │ │ │ └── ResourceId: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Namespace: *string
-│ │ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Namespace: *string
-│ │ │ └── PodLabels: map[string]string
-│ │ ├── PrivateLinkResources: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── RequiredMembers: string[]
-│ │ │ └── Type: *string
-│ │ ├── PublicNetworkAccess: *Enum (3 values)
-│ │ │ ├── "Disabled"
-│ │ │ ├── "Enabled"
-│ │ │ └── "SecuredByPerimeter"
-│ │ ├── SafeguardsProfile: *Object (3 properties)
-│ │ │ ├── ExcludedNamespaces: string[]
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Enforcement"
-│ │ │ │ ├── "Off"
-│ │ │ │ └── "Warning"
-│ │ │ └── Version: *string
-│ │ ├── SecurityProfile: *Object (7 properties)
-│ │ │ ├── AzureKeyVaultKms: *Object (4 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ ├── KeyId: *string
-│ │ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
-│ │ │ │ │ ├── "Private"
-│ │ │ │ │ └── "Public"
-│ │ │ │ └── KeyVaultResourceId: *string
-│ │ │ ├── CustomCATrustCertificates: Validated (2 rules)
-│ │ │ │ ├── Rule 0: MaxItems: 10
-│ │ │ │ └── Rule 1: MinItems: 0
-│ │ │ ├── Defender: *Object (2 properties)
-│ │ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
-│ │ │ │ └── SecurityMonitoring: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── ImageCleaner: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── IntervalHours: *int
-│ │ │ ├── ImageIntegrity: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── NodeRestriction: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── WorkloadIdentity: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── ServiceMeshProfile: *Object (2 properties)
-│ │ │ ├── Istio: *Object (3 properties)
-│ │ │ │ ├── CertificateAuthority: *Object (1 property)
-│ │ │ │ │ └── Plugin: *Object (5 properties)
-│ │ │ │ │ ├── CertChainObjectName: *string
-│ │ │ │ │ ├── CertObjectName: *string
-│ │ │ │ │ ├── KeyObjectName: *string
-│ │ │ │ │ ├── KeyVaultId: *string
-│ │ │ │ │ └── RootCertObjectName: *string
-│ │ │ │ ├── Components: *Object (2 properties)
-│ │ │ │ │ ├── EgressGateways: Object (2 properties)[]
-│ │ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ │ └── NodeSelector: map[string]string
-│ │ │ │ │ └── IngressGateways: Object (2 properties)[]
-│ │ │ │ │ ├── Enabled: *bool
-│ │ │ │ │ └── Mode: *Enum (2 values)
-│ │ │ │ │ ├── "External"
-│ │ │ │ │ └── "Internal"
-│ │ │ │ └── Revisions: string[]
-│ │ │ └── Mode: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Istio"
-│ │ ├── ServicePrincipalProfile: *Object (2 properties)
-│ │ │ ├── ClientId: *string
-│ │ │ └── Secret: *string
-│ │ ├── StorageProfile: *Object (4 properties)
-│ │ │ ├── BlobCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── DiskCSIDriver: *Object (2 properties)
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── Version: *string
-│ │ │ ├── FileCSIDriver: *Object (1 property)
-│ │ │ │ └── Enabled: *bool
-│ │ │ └── SnapshotController: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ ├── SupportPlan: *Enum (2 values)
-│ │ │ ├── "AKSLongTermSupport"
-│ │ │ └── "KubernetesOfficial"
-│ │ ├── UpgradeSettings: *Object (1 property)
-│ │ │ └── OverrideSettings: *Object (2 properties)
-│ │ │ ├── ForceUpgrade: *bool
-│ │ │ └── Until: *string
-│ │ ├── WindowsProfile: *Object (5 properties)
-│ │ │ ├── AdminPassword: *string
-│ │ │ ├── AdminUsername: *string
-│ │ │ ├── EnableCSIProxy: *bool
-│ │ │ ├── GmsaProfile: *Object (3 properties)
-│ │ │ │ ├── DnsServer: *string
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── RootDomainName: *string
-│ │ │ └── LicenseType: *Enum (2 values)
-│ │ │ ├── "None"
-│ │ │ └── "Windows_Server"
-│ │ └── WorkloadAutoScalerProfile: *Object (2 properties)
-│ │ ├── Keda: *Object (1 property)
-│ │ │ └── Enabled: *bool
-│ │ └── VerticalPodAutoscaler: *Object (2 properties)
-│ │ ├── AddonAutoscaling: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ └── Enabled: *bool
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Base"
-│ │ └── Tier: *Enum (3 values)
-│ │ ├── "Free"
-│ │ ├── "Premium"
-│ │ └── "Standard"
-│ └── Tags: map[string]string
-├── ManagedClustersAgentPool: Resource
-│ ├── Owner: ManagedCluster
-│ ├── Spec: Object (51 properties)
+------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-11-02-preview"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (47 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (50 properties)[]
│ │ ├── ArtifactStreamingProfile: *Object (1 property)
│ │ │ └── Enabled: *bool
│ │ ├── AvailabilityZones: string[]
-│ │ ├── AzureName: Validated (3 rules)
-│ │ │ ├── Rule 0: MaxLength: 12
-│ │ │ ├── Rule 1: MinLength: 1
-│ │ │ └── Rule 2: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
│ │ ├── Count: *int
│ │ ├── CreationData: *Object (1 property)
@@ -2223,6 +102,8 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
│ │ ├── NetworkProfile: *Object (3 properties)
│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
│ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
@@ -2260,7 +141,6 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── OsType: *Enum (2 values)
│ │ │ ├── "Linux"
│ │ │ └── "Windows"
-│ │ ├── Owner: *genruntime.KnownResourceReference
│ │ ├── PodSubnetReference: *genruntime.ResourceReference
│ │ ├── PowerState: *Object (1 property)
│ │ │ └── Code: *Enum (2 values)
@@ -2314,173 +194,943 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── "KataMshvVmIsolation"
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Status: Object (56 properties)
-│ ├── ArtifactStreamingProfile: *Object (1 property)
+│ ├── AiToolchainOperatorProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (20 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (2 properties)
+│ │ ├── Logs: *Object (2 properties)
+│ │ │ ├── AppMonitoring: *Object (1 property)
+│ │ │ │ └── Enabled: *bool
+│ │ │ └── ContainerInsights: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── WindowsHostLogs: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── Metrics: *Object (3 properties)
+│ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (3 properties)
+│ │ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ │ ├── Location: *string
+│ │ │ ├── ReferralResource: *string
+│ │ │ ├── ResourceReference: *genruntime.ResourceReference
+│ │ │ └── TenantId: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "None"
+│ │ │ ├── "SystemAssigned"
+│ │ │ └── "UserAssigned"
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (2 properties)
+│ │ ├── DnsZoneResourceReferences: genruntime.ResourceReference[]
+│ │ └── Enabled: *bool
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── Location: *string
+│ ├── MetricsProfile: *Object (1 property)
+│ │ └── CostAnalysis: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 64000
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── Monitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 16
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (4 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ ├── "cilium"
+│ │ │ └── "none"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeProvisioningProfile: *Object (1 property)
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Auto"
+│ │ └── "Manual"
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (1 property)
+│ │ │ └── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ └── Secrets: *Object (2 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SafeguardsProfile: *Object (3 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ ├── CustomCATrustCertificates: Validated (2 rules)
+│ │ │ ├── Rule 0: MaxItems: 10
+│ │ │ └── Rule 1: MinItems: 0
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── ImageIntegrity: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── NodeSelector: map[string]string
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: Validated (1 rule)
+│ │ │ └── Rule 0: MaxItems: 2
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (1 value)
+│ │ │ └── "Base"
+│ │ └── Tier: *Enum (3 values)
+│ │ ├── "Free"
+│ │ ├── "Premium"
+│ │ └── "Standard"
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
│ │ └── Enabled: *bool
-│ ├── AvailabilityZones: string[]
-│ ├── CapacityReservationGroupID: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Count: *int
-│ ├── CreationData: *Object (1 property)
-│ │ └── SourceResourceId: *string
-│ ├── CurrentOrchestratorVersion: *string
-│ ├── EnableAutoScaling: *bool
-│ ├── EnableCustomCATrust: *bool
-│ ├── EnableEncryptionAtHost: *bool
-│ ├── EnableFIPS: *bool
-│ ├── EnableNodePublicIP: *bool
-│ ├── EnableUltraSSD: *bool
-│ ├── GpuInstanceProfile: *Enum (5 values)
-│ │ ├── "MIG1g"
-│ │ ├── "MIG2g"
-│ │ ├── "MIG3g"
-│ │ ├── "MIG4g"
-│ │ └── "MIG7g"
-│ ├── GpuProfile: *Object (1 property)
-│ │ └── InstallGPUDriver: *bool
-│ ├── HostGroupID: *string
-│ ├── Id: *string
-│ ├── KubeletConfig: *Object (11 properties)
-│ │ ├── AllowedUnsafeSysctls: string[]
-│ │ ├── ContainerLogMaxFiles: *int
-│ │ ├── ContainerLogMaxSizeMB: *int
-│ │ ├── CpuCfsQuota: *bool
-│ │ ├── CpuCfsQuotaPeriod: *string
-│ │ ├── CpuManagerPolicy: *string
-│ │ ├── FailSwapOn: *bool
-│ │ ├── ImageGcHighThreshold: *int
-│ │ ├── ImageGcLowThreshold: *int
-│ │ ├── PodMaxPids: *int
-│ │ └── TopologyManagerPolicy: *string
-│ ├── KubeletDiskType: *Enum (2 values)
-│ │ ├── "OS"
-│ │ └── "Temporary"
-│ ├── LinuxOSConfig: *Object (4 properties)
-│ │ ├── SwapFileSizeMB: *int
-│ │ ├── Sysctls: *Object (28 properties)
-│ │ │ ├── FsAioMaxNr: *int
-│ │ │ ├── FsFileMax: *int
-│ │ │ ├── FsInotifyMaxUserWatches: *int
-│ │ │ ├── FsNrOpen: *int
-│ │ │ ├── KernelThreadsMax: *int
-│ │ │ ├── NetCoreNetdevMaxBacklog: *int
-│ │ │ ├── NetCoreOptmemMax: *int
-│ │ │ ├── NetCoreRmemDefault: *int
-│ │ │ ├── NetCoreRmemMax: *int
-│ │ │ ├── NetCoreSomaxconn: *int
-│ │ │ ├── NetCoreWmemDefault: *int
-│ │ │ ├── NetCoreWmemMax: *int
-│ │ │ ├── NetIpv4IpLocalPortRange: *string
-│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
-│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
-│ │ │ ├── NetIpv4TcpFinTimeout: *int
-│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
-│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
-│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
-│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
-│ │ │ ├── NetIpv4TcpTwReuse: *bool
-│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
-│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
-│ │ │ ├── NetNetfilterNfConntrackMax: *int
-│ │ │ ├── VmMaxMapCount: *int
-│ │ │ ├── VmSwappiness: *int
-│ │ │ └── VmVfsCachePressure: *int
-│ │ ├── TransparentHugePageDefrag: *string
-│ │ └── TransparentHugePageEnabled: *string
-│ ├── MaxCount: *int
-│ ├── MaxPods: *int
-│ ├── MessageOfTheDay: *string
-│ ├── MinCount: *int
-│ ├── Mode: *Enum (2 values)
-│ │ ├── "System"
-│ │ └── "User"
-│ ├── Name: *string
-│ ├── NetworkProfile: *Object (3 properties)
-│ │ ├── AllowedHostPorts: Object (3 properties)[]
-│ │ │ ├── PortEnd: *int
-│ │ │ ├── PortStart: *int
-│ │ │ └── Protocol: *Enum (2 values)
-│ │ │ ├── "TCP"
-│ │ │ └── "UDP"
-│ │ ├── ApplicationSecurityGroups: string[]
-│ │ └── NodePublicIPTags: Object (2 properties)[]
-│ │ ├── IpTagType: *string
-│ │ └── Tag: *string
-│ ├── NodeImageVersion: *string
-│ ├── NodeInitializationTaints: string[]
-│ ├── NodeLabels: map[string]string
-│ ├── NodePublicIPPrefixID: *string
-│ ├── NodeTaints: string[]
-│ ├── OrchestratorVersion: *string
-│ ├── OsDiskSizeGB: *int
-│ ├── OsDiskType: *Enum (2 values)
-│ │ ├── "Ephemeral"
-│ │ └── "Managed"
-│ ├── OsSKU: *Enum (7 values)
-│ │ ├── "AzureLinux"
-│ │ ├── "CBLMariner"
-│ │ ├── "Mariner"
-│ │ ├── "Ubuntu"
-│ │ ├── "Windows2019"
-│ │ ├── "Windows2022"
-│ │ └── "WindowsAnnual"
-│ ├── OsType: *Enum (2 values)
-│ │ ├── "Linux"
-│ │ └── "Windows"
-│ ├── PodSubnetID: *string
-│ ├── PowerState: *Object (1 property)
-│ │ └── Code: *Enum (2 values)
-│ │ ├── "Running"
-│ │ └── "Stopped"
-│ ├── PropertiesType: *Enum (3 values)
-│ │ ├── "AvailabilitySet"
-│ │ ├── "VirtualMachineScaleSets"
-│ │ └── "VirtualMachines"
-│ ├── ProvisioningState: *string
-│ ├── ProximityPlacementGroupID: *string
-│ ├── ScaleDownMode: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
-│ │ ├── "Deallocate"
-│ │ └── "Delete"
-│ ├── ScaleSetPriority: *Enum (2 values)
-│ │ ├── "Regular"
-│ │ └── "Spot"
-│ ├── SecurityProfile: *Object (3 properties)
-│ │ ├── EnableSecureBoot: *bool
-│ │ ├── EnableVTPM: *bool
-│ │ └── SshAccess: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "LocalUser"
-│ ├── SpotMaxPrice: *float64
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── UpgradeSettings: *Object (3 properties)
-│ │ ├── DrainTimeoutInMinutes: *int
-│ │ ├── MaxSurge: *string
-│ │ └── NodeSoakDurationInMinutes: *int
-│ ├── VirtualMachineNodesStatus: Object (2 properties)[]
-│ │ ├── Count: *int
-│ │ └── Size: *string
-│ ├── VirtualMachinesProfile: *Object (1 property)
-│ │ └── Scale: *Object (1 property)
-│ │ └── Manual: Object (2 properties)[]
-│ │ ├── Count: *int
-│ │ └── Sizes: string[]
-│ ├── VmSize: *string
-│ ├── VnetSubnetID: *string
-│ ├── WindowsProfile: *Object (1 property)
-│ │ └── DisableOutboundNat: *bool
-│ └── WorkloadRuntime: *Enum (3 values)
-│ ├── "KataMshvVmIsolation"
-│ ├── "OCIContainer"
-│ └── "WasmWasi"
-├── ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
-│ ├── Id: *string
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── AddonAutoscaling: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ └── Enabled: *bool
+└── Status: Object (57 properties)
+ ├── AadProfile: *Object (7 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (3 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── AgentPoolProfiles: Object (53 properties)[]
+ │ ├── ArtifactStreamingProfile: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (1 property)
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableCustomCATrust: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GpuInstanceProfile: *Enum (5 values)
+ │ │ ├── "MIG1g"
+ │ │ ├── "MIG2g"
+ │ │ ├── "MIG3g"
+ │ │ ├── "MIG4g"
+ │ │ └── "MIG7g"
+ │ ├── GpuProfile: *Object (1 property)
+ │ │ └── InstallGPUDriver: *bool
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (11 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *Enum (2 values)
+ │ │ ├── "OS"
+ │ │ └── "Temporary"
+ │ ├── LinuxOSConfig: *Object (4 properties)
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (28 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MessageOfTheDay: *string
+ │ ├── MinCount: *int
+ │ ├── Mode: *Enum (2 values)
+ │ │ ├── "System"
+ │ │ └── "User"
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (3 properties)
+ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ └── Protocol: *Enum (2 values)
+ │ │ │ ├── "TCP"
+ │ │ │ └── "UDP"
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ └── Tag: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeInitializationTaints: string[]
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *Enum (2 values)
+ │ │ ├── "Ephemeral"
+ │ │ └── "Managed"
+ │ ├── OsSKU: *Enum (7 values)
+ │ │ ├── "AzureLinux"
+ │ │ ├── "CBLMariner"
+ │ │ ├── "Mariner"
+ │ │ ├── "Ubuntu"
+ │ │ ├── "Windows2019"
+ │ │ ├── "Windows2022"
+ │ │ └── "WindowsAnnual"
+ │ ├── OsType: *Enum (2 values)
+ │ │ ├── "Linux"
+ │ │ └── "Windows"
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (1 property)
+ │ │ └── Code: *Enum (2 values)
+ │ │ ├── "Running"
+ │ │ └── "Stopped"
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetPriority: *Enum (2 values)
+ │ │ ├── "Regular"
+ │ │ └── "Spot"
+ │ ├── SecurityProfile: *Object (3 properties)
+ │ │ ├── EnableSecureBoot: *bool
+ │ │ ├── EnableVTPM: *bool
+ │ │ └── SshAccess: *Enum (2 values)
+ │ │ ├── "Disabled"
+ │ │ └── "LocalUser"
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "AvailabilitySet"
+ │ │ ├── "VirtualMachineScaleSets"
+ │ │ └── "VirtualMachines"
+ │ ├── UpgradeSettings: *Object (3 properties)
+ │ │ ├── DrainTimeoutInMinutes: *int
+ │ │ ├── MaxSurge: *string
+ │ │ └── NodeSoakDurationInMinutes: *int
+ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+ │ │ ├── Count: *int
+ │ │ └── Size: *string
+ │ ├── VirtualMachinesProfile: *Object (1 property)
+ │ │ └── Scale: *Object (1 property)
+ │ │ └── Manual: Object (2 properties)[]
+ │ │ ├── Count: *int
+ │ │ └── Sizes: string[]
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ ├── WindowsProfile: *Object (1 property)
+ │ │ └── DisableOutboundNat: *bool
+ │ └── WorkloadRuntime: *Enum (3 values)
+ │ ├── "KataMshvVmIsolation"
+ │ ├── "OCIContainer"
+ │ └── "WasmWasi"
+ ├── AiToolchainOperatorProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ApiServerAccessProfile: *Object (7 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── EnableVnetIntegration: *bool
+ │ ├── PrivateDNSZone: *string
+ │ └── SubnetId: *string
+ ├── AutoScalerProfile: *Object (20 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+ │ ├── Expander: *Enum (4 values)
+ │ │ ├── "least-waste"
+ │ │ ├── "most-pods"
+ │ │ ├── "priority"
+ │ │ └── "random"
+ │ ├── IgnoreDaemonsetsUtilization: *bool
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (2 properties)
+ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+ │ │ ├── "NodeImage"
+ │ │ ├── "None"
+ │ │ ├── "SecurityPatch"
+ │ │ └── "Unmanaged"
+ │ └── UpgradeChannel: *Enum (5 values)
+ │ ├── "node-image"
+ │ ├── "none"
+ │ ├── "patch"
+ │ ├── "rapid"
+ │ └── "stable"
+ ├── AzureMonitorProfile: *Object (2 properties)
+ │ ├── Logs: *Object (2 properties)
+ │ │ ├── AppMonitoring: *Object (1 property)
+ │ │ │ └── Enabled: *bool
+ │ │ └── ContainerInsights: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── WindowsHostLogs: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── Metrics: *Object (3 properties)
+ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── Enabled: *bool
+ │ └── KubeStateMetrics: *Object (2 properties)
+ │ ├── MetricAnnotationsAllowList: *string
+ │ └── MetricLabelsAllowlist: *string
+ ├── AzurePortalFQDN: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── EnableNamespaceResources: *bool
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (5 properties)
+ │ ├── EffectiveNoProxy: string[]
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── DelegatedResources: map[string]Object (4 properties)
+ │ │ ├── Location: *string
+ │ │ ├── ReferralResource: *string
+ │ │ ├── ResourceId: *string
+ │ │ └── TenantId: *string
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── IdentityProfile: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── IngressProfile: *Object (1 property)
+ │ └── WebAppRouting: *Object (3 properties)
+ │ ├── DnsZoneResourceIds: string[]
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (2 properties)
+ │ ├── AdminUsername: *string
+ │ └── Ssh: *Object (1 property)
+ │ └── PublicKeys: Object (1 property)[]
+ │ └── KeyData: *string
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── MetricsProfile: *Object (1 property)
+ │ └── CostAnalysis: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── Name: *string
+ ├── NetworkProfile: *Object (17 properties)
+ │ ├── DnsServiceIP: *string
+ │ ├── IpFamilies: Enum (2 values)[]
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── KubeProxyConfig: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IpvsConfig: *Object (4 properties)
+ │ │ │ ├── Scheduler: *Enum (2 values)
+ │ │ │ │ ├── "LeastConnection"
+ │ │ │ │ └── "RoundRobin"
+ │ │ │ ├── TcpFinTimeoutSeconds: *int
+ │ │ │ ├── TcpTimeoutSeconds: *int
+ │ │ │ └── UdpTimeoutSeconds: *int
+ │ │ └── Mode: *Enum (2 values)
+ │ │ ├── "IPTABLES"
+ │ │ └── "IPVS"
+ │ ├── LoadBalancerProfile: *Object (8 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *Enum (2 values)
+ │ │ │ ├── "NodeIP"
+ │ │ │ └── "NodeIPConfiguration"
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── CountIPv6: *int
+ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ └── OutboundIPs: *Object (1 property)
+ │ │ └── PublicIPs: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerSku: *Enum (2 values)
+ │ │ ├── "basic"
+ │ │ └── "standard"
+ │ ├── Monitoring: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── NatGatewayProfile: *Object (3 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+ │ │ └── Count: *int
+ │ ├── NetworkDataplane: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "cilium"
+ │ ├── NetworkMode: *Enum (2 values)
+ │ │ ├── "bridge"
+ │ │ └── "transparent"
+ │ ├── NetworkPlugin: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "kubenet"
+ │ │ └── "none"
+ │ ├── NetworkPluginMode: *Enum (1 value)
+ │ │ └── "overlay"
+ │ ├── NetworkPolicy: *Enum (4 values)
+ │ │ ├── "azure"
+ │ │ ├── "calico"
+ │ │ ├── "cilium"
+ │ │ └── "none"
+ │ ├── OutboundType: *Enum (4 values)
+ │ │ ├── "loadBalancer"
+ │ │ ├── "managedNATGateway"
+ │ │ ├── "userAssignedNATGateway"
+ │ │ └── "userDefinedRouting"
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── ServiceCidr: *string
+ │ └── ServiceCidrs: string[]
+ ├── NodeProvisioningProfile: *Object (1 property)
+ │ └── Mode: *Enum (2 values)
+ │ ├── "Auto"
+ │ └── "Manual"
+ ├── NodeResourceGroup: *string
+ ├── NodeResourceGroupProfile: *Object (1 property)
+ │ └── RestrictionLevel: *Enum (2 values)
+ │ ├── "ReadOnly"
+ │ └── "Unrestricted"
+ ├── OidcIssuerProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── IssuerURL: *string
+ ├── PodIdentityProfile: *Object (4 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── UserAssignedIdentities: Object (6 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (3 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── ProvisioningInfo: *Object (1 property)
+ │ │ │ └── Error: *Object (1 property)
+ │ │ │ └── Error: *Object (4 properties)
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (3 properties)[]
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ └── ProvisioningState: *Enum (6 values)
+ │ │ ├── "Assigned"
+ │ │ ├── "Canceled"
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ └── PodLabels: map[string]string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (6 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *Enum (3 values)
+ │ ├── "Disabled"
+ │ ├── "Enabled"
+ │ └── "SecuredByPerimeter"
+ ├── ResourceUID: *string
+ ├── SafeguardsProfile: *Object (4 properties)
+ │ ├── ExcludedNamespaces: string[]
+ │ ├── Level: *Enum (3 values)
+ │ │ ├── "Enforcement"
+ │ │ ├── "Off"
+ │ │ └── "Warning"
+ │ ├── SystemExcludedNamespaces: string[]
+ │ └── Version: *string
+ ├── SecurityProfile: *Object (7 properties)
+ │ ├── AzureKeyVaultKms: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+ │ │ │ ├── "Private"
+ │ │ │ └── "Public"
+ │ │ └── KeyVaultResourceId: *string
+ │ ├── CustomCATrustCertificates: string[]
+ │ ├── Defender: *Object (2 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── SecurityMonitoring: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── ImageCleaner: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── IntervalHours: *int
+ │ ├── ImageIntegrity: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── NodeRestriction: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── WorkloadIdentity: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ServiceMeshProfile: *Object (2 properties)
+ │ ├── Istio: *Object (3 properties)
+ │ │ ├── CertificateAuthority: *Object (1 property)
+ │ │ │ └── Plugin: *Object (5 properties)
+ │ │ │ ├── CertChainObjectName: *string
+ │ │ │ ├── CertObjectName: *string
+ │ │ │ ├── KeyObjectName: *string
+ │ │ │ ├── KeyVaultId: *string
+ │ │ │ └── RootCertObjectName: *string
+ │ │ ├── Components: *Object (2 properties)
+ │ │ │ ├── EgressGateways: Object (2 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ └── NodeSelector: map[string]string
+ │ │ │ └── IngressGateways: Object (2 properties)[]
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── Mode: *Enum (2 values)
+ │ │ │ ├── "External"
+ │ │ │ └── "Internal"
+ │ │ └── Revisions: string[]
+ │ └── Mode: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Istio"
+ ├── ServicePrincipalProfile: *Object (1 property)
+ │ └── ClientId: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (1 value)
+ │ │ └── "Base"
+ │ └── Tier: *Enum (3 values)
+ │ ├── "Free"
+ │ ├── "Premium"
+ │ └── "Standard"
+ ├── StorageProfile: *Object (4 properties)
+ │ ├── BlobCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── DiskCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── Version: *string
+ │ ├── FileCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── SnapshotController: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── SupportPlan: *Enum (2 values)
+ │ ├── "AKSLongTermSupport"
+ │ └── "KubernetesOfficial"
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── OverrideSettings: *Object (2 properties)
+ │ ├── ForceUpgrade: *bool
+ │ └── Until: *string
+ ├── WindowsProfile: *Object (4 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (3 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ └── RootDomainName: *string
+ │ └── LicenseType: *Enum (2 values)
+ │ ├── "None"
+ │ └── "Windows_Server"
+ └── WorkloadAutoScalerProfile: *Object (2 properties)
+ ├── Keda: *Object (1 property)
+ │ └── Enabled: *bool
+ └── VerticalPodAutoscaler: *Object (2 properties)
+ ├── AddonAutoscaling: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ └── Enabled: *bool
+ManagedCluster_STATUS_ARM: Object (10 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (52 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Identity: *Object (5 properties)
+│ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ ├── Location: *string
+│ │ ├── ReferralResource: *string
+│ │ ├── ResourceId: *string
+│ │ └── TenantId: *string
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (47 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── AgentPoolProfiles: Object (53 properties)[]
│ │ ├── ArtifactStreamingProfile: *Object (1 property)
│ │ │ └── Enabled: *bool
│ │ ├── AvailabilityZones: string[]
@@ -2559,6 +1209,7 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── Mode: *Enum (2 values)
│ │ │ ├── "System"
│ │ │ └── "User"
+│ │ ├── Name: *string
│ │ ├── NetworkProfile: *Object (3 properties)
│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
│ │ │ │ ├── PortEnd: *int
@@ -2639,164 +1290,1512 @@ github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102pre
│ │ ├── "KataMshvVmIsolation"
│ │ ├── "OCIContainer"
│ │ └── "WasmWasi"
-│ └── Type: *string
-└── ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
- ├── Name: string
- └── Properties: *Object (49 properties)
- ├── ArtifactStreamingProfile: *Object (1 property)
- │ └── Enabled: *bool
- ├── AvailabilityZones: string[]
- ├── CapacityReservationGroupID: *string
- ├── Count: *int
- ├── CreationData: *Object (1 property)
- │ └── SourceResourceId: *string
- ├── EnableAutoScaling: *bool
- ├── EnableCustomCATrust: *bool
- ├── EnableEncryptionAtHost: *bool
- ├── EnableFIPS: *bool
- ├── EnableNodePublicIP: *bool
- ├── EnableUltraSSD: *bool
- ├── GpuInstanceProfile: *Enum (5 values)
- │ ├── "MIG1g"
- │ ├── "MIG2g"
- │ ├── "MIG3g"
- │ ├── "MIG4g"
- │ └── "MIG7g"
- ├── GpuProfile: *Object (1 property)
- │ └── InstallGPUDriver: *bool
- ├── HostGroupID: *string
- ├── KubeletConfig: *Object (11 properties)
- │ ├── AllowedUnsafeSysctls: string[]
- │ ├── ContainerLogMaxFiles: *int
- │ ├── ContainerLogMaxSizeMB: *int
- │ ├── CpuCfsQuota: *bool
- │ ├── CpuCfsQuotaPeriod: *string
- │ ├── CpuManagerPolicy: *string
- │ ├── FailSwapOn: *bool
- │ ├── ImageGcHighThreshold: *int
- │ ├── ImageGcLowThreshold: *int
- │ ├── PodMaxPids: *int
- │ └── TopologyManagerPolicy: *string
- ├── KubeletDiskType: *Enum (2 values)
- │ ├── "OS"
- │ └── "Temporary"
- ├── LinuxOSConfig: *Object (4 properties)
- │ ├── SwapFileSizeMB: *int
- │ ├── Sysctls: *Object (28 properties)
- │ │ ├── FsAioMaxNr: *int
- │ │ ├── FsFileMax: *int
- │ │ ├── FsInotifyMaxUserWatches: *int
- │ │ ├── FsNrOpen: *int
- │ │ ├── KernelThreadsMax: *int
- │ │ ├── NetCoreNetdevMaxBacklog: *int
- │ │ ├── NetCoreOptmemMax: *int
- │ │ ├── NetCoreRmemDefault: *int
- │ │ ├── NetCoreRmemMax: *int
- │ │ ├── NetCoreSomaxconn: *int
- │ │ ├── NetCoreWmemDefault: *int
- │ │ ├── NetCoreWmemMax: *int
- │ │ ├── NetIpv4IpLocalPortRange: *string
- │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
- │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
- │ │ ├── NetIpv4TcpFinTimeout: *int
- │ │ ├── NetIpv4TcpKeepaliveProbes: *int
- │ │ ├── NetIpv4TcpKeepaliveTime: *int
- │ │ ├── NetIpv4TcpMaxSynBacklog: *int
- │ │ ├── NetIpv4TcpMaxTwBuckets: *int
- │ │ ├── NetIpv4TcpTwReuse: *bool
- │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
- │ │ ├── NetNetfilterNfConntrackBuckets: *int
- │ │ ├── NetNetfilterNfConntrackMax: *int
- │ │ ├── VmMaxMapCount: *int
- │ │ ├── VmSwappiness: *int
- │ │ └── VmVfsCachePressure: *int
- │ ├── TransparentHugePageDefrag: *string
- │ └── TransparentHugePageEnabled: *string
- ├── MaxCount: *int
- ├── MaxPods: *int
- ├── MessageOfTheDay: *string
- ├── MinCount: *int
- ├── Mode: *Enum (2 values)
- │ ├── "System"
- │ └── "User"
- ├── NetworkProfile: *Object (3 properties)
- │ ├── AllowedHostPorts: Object (3 properties)[]
- │ │ ├── PortEnd: *int
- │ │ ├── PortStart: *int
- │ │ └── Protocol: *Enum (2 values)
- │ │ ├── "TCP"
- │ │ └── "UDP"
- │ ├── ApplicationSecurityGroups: string[]
- │ └── NodePublicIPTags: Object (2 properties)[]
- │ ├── IpTagType: *string
- │ └── Tag: *string
- ├── NodeInitializationTaints: string[]
- ├── NodeLabels: map[string]string
- ├── NodePublicIPPrefixID: *string
- ├── NodeTaints: string[]
- ├── OrchestratorVersion: *string
- ├── OsDiskSizeGB: *Validated (2 rules)
- │ ├── Rule 0: Maximum: 2048
- │ └── Rule 1: Minimum: 0
- ├── OsDiskType: *Enum (2 values)
- │ ├── "Ephemeral"
- │ └── "Managed"
- ├── OsSKU: *Enum (7 values)
- │ ├── "AzureLinux"
- │ ├── "CBLMariner"
- │ ├── "Mariner"
- │ ├── "Ubuntu"
- │ ├── "Windows2019"
- │ ├── "Windows2022"
- │ └── "WindowsAnnual"
- ├── OsType: *Enum (2 values)
- │ ├── "Linux"
- │ └── "Windows"
- ├── PodSubnetID: *string
- ├── PowerState: *Object (1 property)
- │ └── Code: *Enum (2 values)
- │ ├── "Running"
- │ └── "Stopped"
- ├── ProximityPlacementGroupID: *string
- ├── ScaleDownMode: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetEvictionPolicy: *Enum (2 values)
- │ ├── "Deallocate"
- │ └── "Delete"
- ├── ScaleSetPriority: *Enum (2 values)
- │ ├── "Regular"
- │ └── "Spot"
- ├── SecurityProfile: *Object (3 properties)
- │ ├── EnableSecureBoot: *bool
- │ ├── EnableVTPM: *bool
- │ └── SshAccess: *Enum (2 values)
- │ ├── "Disabled"
- │ └── "LocalUser"
- ├── SpotMaxPrice: *float64
- ├── Tags: map[string]string
- ├── Type: *Enum (3 values)
- │ ├── "AvailabilitySet"
- │ ├── "VirtualMachineScaleSets"
- │ └── "VirtualMachines"
- ├── UpgradeSettings: *Object (3 properties)
- │ ├── DrainTimeoutInMinutes: *int
- │ ├── MaxSurge: *string
- │ └── NodeSoakDurationInMinutes: *int
- ├── VirtualMachineNodesStatus: Object (2 properties)[]
- │ ├── Count: *int
- │ └── Size: *string
- ├── VirtualMachinesProfile: *Object (1 property)
- │ └── Scale: *Object (1 property)
- │ └── Manual: Object (2 properties)[]
- │ ├── Count: *int
- │ └── Sizes: string[]
- ├── VmSize: *string
- ├── VnetSubnetID: *string
- ├── WindowsProfile: *Object (1 property)
- │ └── DisableOutboundNat: *bool
- └── WorkloadRuntime: *Enum (3 values)
- ├── "KataMshvVmIsolation"
- ├── "OCIContainer"
- └── "WasmWasi"
+│ ├── AiToolchainOperatorProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (20 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (2 properties)
+│ │ ├── Logs: *Object (2 properties)
+│ │ │ ├── AppMonitoring: *Object (1 property)
+│ │ │ │ └── Enabled: *bool
+│ │ │ └── ContainerInsights: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── WindowsHostLogs: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── Metrics: *Object (3 properties)
+│ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzurePortalFQDN: *string
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentKubernetesVersion: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── Fqdn: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── EffectiveNoProxy: string[]
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (3 properties)
+│ │ ├── DnsZoneResourceIds: string[]
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MaxAgentPools: *int
+│ ├── MetricsProfile: *Object (1 property)
+│ │ └── CostAnalysis: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── Monitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (4 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ ├── "cilium"
+│ │ │ └── "none"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeProvisioningProfile: *Object (1 property)
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Auto"
+│ │ └── "Manual"
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── IssuerURL: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (6 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ ├── ProvisioningInfo: *Object (1 property)
+│ │ │ │ └── Error: *Object (1 property)
+│ │ │ │ └── Error: *Object (4 properties)
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Details: Object (3 properties)[]
+│ │ │ │ │ ├── Code: *string
+│ │ │ │ │ ├── Message: *string
+│ │ │ │ │ └── Target: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ └── ProvisioningState: *Enum (6 values)
+│ │ │ ├── "Assigned"
+│ │ │ ├── "Canceled"
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── PrivateFQDN: *string
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceID: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ProvisioningState: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── ResourceUID: *string
+│ ├── SafeguardsProfile: *Object (4 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ ├── SystemExcludedNamespaces: string[]
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── CustomCATrustCertificates: string[]
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── ImageIntegrity: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultId: *string
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── NodeSelector: map[string]string
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: string[]
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (1 property)
+│ │ └── ClientId: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (4 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── AddonAutoscaling: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (3 values)
+│ ├── "Free"
+│ ├── "Premium"
+│ └── "Standard"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+ManagedCluster_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Identity: *Object (3 properties)
+│ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ ├── Location: *string
+│ │ ├── ReferralResource: *string
+│ │ ├── ResourceId: *string
+│ │ └── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (39 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (50 properties)[]
+│ │ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupID: *string
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceId: *string
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableCustomCATrust: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── GpuProfile: *Object (1 property)
+│ │ │ └── InstallGPUDriver: *bool
+│ │ ├── HostGroupID: *string
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MessageOfTheDay: *string
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (2 values)
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (3 properties)
+│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ └── Protocol: *Enum (2 values)
+│ │ │ │ ├── "TCP"
+│ │ │ │ └── "UDP"
+│ │ │ ├── ApplicationSecurityGroups: string[]
+│ │ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ └── Tag: *string
+│ │ ├── NodeInitializationTaints: string[]
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (7 values)
+│ │ │ ├── "AzureLinux"
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Mariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ ├── "Windows2022"
+│ │ │ └── "WindowsAnnual"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodSubnetID: *string
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SecurityProfile: *Object (3 properties)
+│ │ │ ├── EnableSecureBoot: *bool
+│ │ │ ├── EnableVTPM: *bool
+│ │ │ └── SshAccess: *Enum (2 values)
+│ │ │ ├── "Disabled"
+│ │ │ └── "LocalUser"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ ├── "VirtualMachineScaleSets"
+│ │ │ └── "VirtualMachines"
+│ │ ├── UpgradeSettings: *Object (3 properties)
+│ │ │ ├── DrainTimeoutInMinutes: *int
+│ │ │ ├── MaxSurge: *string
+│ │ │ └── NodeSoakDurationInMinutes: *int
+│ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Size: *string
+│ │ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ │ └── Scale: *Object (1 property)
+│ │ │ └── Manual: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Sizes: string[]
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetID: *string
+│ │ ├── WindowsProfile: *Object (1 property)
+│ │ │ └── DisableOutboundNat: *bool
+│ │ └── WorkloadRuntime: *Enum (3 values)
+│ │ ├── "KataMshvVmIsolation"
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── AiToolchainOperatorProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (20 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (2 properties)
+│ │ ├── Logs: *Object (2 properties)
+│ │ │ ├── AppMonitoring: *Object (1 property)
+│ │ │ │ └── Enabled: *bool
+│ │ │ └── ContainerInsights: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── WindowsHostLogs: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── Metrics: *Object (3 properties)
+│ │ ├── AppMonitoringOpenTelemetryMetrics: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (2 properties)
+│ │ ├── DnsZoneResourceIds: string[]
+│ │ └── Enabled: *bool
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MetricsProfile: *Object (1 property)
+│ │ └── CostAnalysis: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NetworkProfile: *Object (17 properties)
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (8 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── Monitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (4 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ ├── "cilium"
+│ │ │ └── "none"
+│ │ ├── OutboundType: *Enum (4 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── ServiceCidr: *string
+│ │ └── ServiceCidrs: string[]
+│ ├── NodeProvisioningProfile: *Object (1 property)
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Auto"
+│ │ └── "Manual"
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SafeguardsProfile: *Object (3 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── CustomCATrustCertificates: Validated (2 rules)
+│ │ │ ├── Rule 0: MaxItems: 10
+│ │ │ └── Rule 1: MinItems: 0
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── ImageIntegrity: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultId: *string
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── NodeSelector: map[string]string
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: string[]
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *string
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── AddonAutoscaling: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Base"
+│ └── Tier: *Enum (3 values)
+│ ├── "Free"
+│ ├── "Premium"
+│ └── "Standard"
+└── Tags: map[string]string
+ManagedClustersAgentPool: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (51 properties)
+│ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 12
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z][a-z0-9]{0,11}$"
+│ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── GpuProfile: *Object (1 property)
+│ │ └── InstallGPUDriver: *bool
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 90
+│ │ │ │ └── Rule 1: Minimum: 10
+│ │ │ ├── NetNetfilterNfConntrackBuckets: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 524288
+│ │ │ │ └── Rule 1: Minimum: 65536
+│ │ │ ├── NetNetfilterNfConntrackMax: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 2097152
+│ │ │ │ └── Rule 1: Minimum: 131072
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ ├── PortStart: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeInitializationTaints: string[]
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ ├── Rule 0: Maximum: 2048
+│ │ └── Rule 1: Minimum: 0
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (7 values)
+│ │ ├── "AzureLinux"
+│ │ ├── "CBLMariner"
+│ │ ├── "Mariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ ├── "Windows2022"
+│ │ └── "WindowsAnnual"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SecurityProfile: *Object (3 properties)
+│ │ ├── EnableSecureBoot: *bool
+│ │ ├── EnableVTPM: *bool
+│ │ └── SshAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "LocalUser"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "AvailabilitySet"
+│ │ ├── "VirtualMachineScaleSets"
+│ │ └── "VirtualMachines"
+│ ├── UpgradeSettings: *Object (3 properties)
+│ │ ├── DrainTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 1440
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── MaxSurge: *string
+│ │ └── NodeSoakDurationInMinutes: Validated<*int> (2 rules)
+│ │ ├── Rule 0: Maximum: 30
+│ │ └── Rule 1: Minimum: 0
+│ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Size: *string
+│ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ └── Scale: *Object (1 property)
+│ │ └── Manual: Object (2 properties)[]
+│ │ ├── Count: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 1000
+│ │ │ └── Rule 1: Minimum: 0
+│ │ └── Sizes: string[]
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ ├── WindowsProfile: *Object (1 property)
+│ │ └── DisableOutboundNat: *bool
+│ └── WorkloadRuntime: *Enum (3 values)
+│ ├── "KataMshvVmIsolation"
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Status: Object (56 properties)
+ ├── ArtifactStreamingProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── GpuProfile: *Object (1 property)
+ │ └── InstallGPUDriver: *bool
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── Name: *string
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeImageVersion: *string
+ ├── NodeInitializationTaints: string[]
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (7 values)
+ │ ├── "AzureLinux"
+ │ ├── "CBLMariner"
+ │ ├── "Mariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ ├── "Windows2022"
+ │ └── "WindowsAnnual"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PropertiesType: *Enum (3 values)
+ │ ├── "AvailabilitySet"
+ │ ├── "VirtualMachineScaleSets"
+ │ └── "VirtualMachines"
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SecurityProfile: *Object (3 properties)
+ │ ├── EnableSecureBoot: *bool
+ │ ├── EnableVTPM: *bool
+ │ └── SshAccess: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "LocalUser"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (3 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ └── NodeSoakDurationInMinutes: *int
+ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Size: *string
+ ├── VirtualMachinesProfile: *Object (1 property)
+ │ └── Scale: *Object (1 property)
+ │ └── Manual: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Sizes: string[]
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (1 property)
+ │ └── DisableOutboundNat: *bool
+ └── WorkloadRuntime: *Enum (3 values)
+ ├── "KataMshvVmIsolation"
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (52 properties)
+│ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── AvailabilityZones: string[]
+│ ├── CapacityReservationGroupID: *string
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentOrchestratorVersion: *string
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── GpuProfile: *Object (1 property)
+│ │ └── InstallGPUDriver: *bool
+│ ├── HostGroupID: *string
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (2 values)
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroups: string[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeImageVersion: *string
+│ ├── NodeInitializationTaints: string[]
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixID: *string
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (7 values)
+│ │ ├── "AzureLinux"
+│ │ ├── "CBLMariner"
+│ │ ├── "Mariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ ├── "Windows2022"
+│ │ └── "WindowsAnnual"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── PodSubnetID: *string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProvisioningState: *string
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SecurityProfile: *Object (3 properties)
+│ │ ├── EnableSecureBoot: *bool
+│ │ ├── EnableVTPM: *bool
+│ │ └── SshAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "LocalUser"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "AvailabilitySet"
+│ │ ├── "VirtualMachineScaleSets"
+│ │ └── "VirtualMachines"
+│ ├── UpgradeSettings: *Object (3 properties)
+│ │ ├── DrainTimeoutInMinutes: *int
+│ │ ├── MaxSurge: *string
+│ │ └── NodeSoakDurationInMinutes: *int
+│ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Size: *string
+│ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ └── Scale: *Object (1 property)
+│ │ └── Manual: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Sizes: string[]
+│ ├── VmSize: *string
+│ ├── VnetSubnetID: *string
+│ ├── WindowsProfile: *Object (1 property)
+│ │ └── DisableOutboundNat: *bool
+│ └── WorkloadRuntime: *Enum (3 values)
+│ ├── "KataMshvVmIsolation"
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Type: *string
+ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (49 properties)
+ ├── ArtifactStreamingProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── GpuProfile: *Object (1 property)
+ │ └── InstallGPUDriver: *bool
+ ├── HostGroupID: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *Enum (2 values)
+ │ ├── "System"
+ │ └── "User"
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeInitializationTaints: string[]
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *Validated (2 rules)
+ │ ├── Rule 0: Maximum: 2048
+ │ └── Rule 1: Minimum: 0
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (7 values)
+ │ ├── "AzureLinux"
+ │ ├── "CBLMariner"
+ │ ├── "Mariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ ├── "Windows2022"
+ │ └── "WindowsAnnual"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SecurityProfile: *Object (3 properties)
+ │ ├── EnableSecureBoot: *bool
+ │ ├── EnableVTPM: *bool
+ │ └── SshAccess: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "LocalUser"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *Enum (3 values)
+ │ ├── "AvailabilitySet"
+ │ ├── "VirtualMachineScaleSets"
+ │ └── "VirtualMachines"
+ ├── UpgradeSettings: *Object (3 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ └── NodeSoakDurationInMinutes: *int
+ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Size: *string
+ ├── VirtualMachinesProfile: *Object (1 property)
+ │ └── Scale: *Object (1 property)
+ │ └── Manual: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Sizes: string[]
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (1 property)
+ │ └── DisableOutboundNat: *bool
+ └── WorkloadRuntime: *Enum (3 values)
+ ├── "KataMshvVmIsolation"
+ ├── "OCIContainer"
+ └── "WasmWasi"
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/zz_generated.deepcopy.go
index 487c771316..d2aec927c7 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/zz_generated.deepcopy.go
@@ -11245,7 +11245,7 @@ func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsP
*out = *in
if in.AdminPassword != nil {
in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
+ *out = new(genruntime.SecretReference)
**out = **in
}
if in.AdminUsername != nil {
@@ -11323,11 +11323,6 @@ func (in *ManagedClusterWindowsProfile_ARM) DeepCopy() *ManagedClusterWindowsPro
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
@@ -11363,11 +11358,6 @@ func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindows
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS_ARM) {
*out = *in
- if in.AdminPassword != nil {
- in, out := &in.AdminPassword, &out.AdminPassword
- *out = new(string)
- **out = **in
- }
if in.AdminUsername != nil {
in, out := &in.AdminUsername, &out.AdminUsername
*out = new(string)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/doc.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/doc.go
new file mode 100644
index 0000000000..b676bd30ea
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/doc.go
@@ -0,0 +1,10 @@
+/*
+Copyright (c) Microsoft Corporation.
+Licensed under the MIT license.
+*/
+
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+
+// Package v1api20240402preview contains API Schema definitions for the containerservice v1api20240402preview API group
+// +groupName=containerservice.azure.com
+package v1api20240402preview
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/groupversion_info_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/groupversion_info_gen.go
new file mode 100644
index 0000000000..4fab3f8287
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/groupversion_info_gen.go
@@ -0,0 +1,32 @@
+/*
+Copyright (c) Microsoft Corporation.
+Licensed under the MIT license.
+*/
+
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+
+// Package v1api20240402preview contains API Schema definitions for the containerservice v1api20240402preview API group
+// +kubebuilder:object:generate=true
+// All object properties are optional by default, this will be overridden when needed:
+// +kubebuilder:validation:Optional
+// +groupName=containerservice.azure.com
+// +versionName=v1api20240402preview
+package v1api20240402preview
+
+import (
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/scheme"
+)
+
+var (
+ // GroupVersion is group version used to register these objects
+ GroupVersion = schema.GroupVersion{Group: "containerservice.azure.com", Version: "v1api20240402preview"}
+
+ // SchemeBuilder is used to add go types to the GroupVersionKind scheme
+ SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
+
+ // AddToScheme adds the types in this group-version to the given scheme.
+ AddToScheme = SchemeBuilder.AddToScheme
+
+ localSchemeBuilder = SchemeBuilder.SchemeBuilder
+)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_spec_arm_types_gen.go
new file mode 100644
index 0000000000..047586ae9d
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_spec_arm_types_gen.go
@@ -0,0 +1,1409 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+
+type ManagedCluster_Spec_ARM struct {
+ // ExtendedLocation: The extended location of the Virtual Machine.
+ ExtendedLocation *ExtendedLocation_ARM `json:"extendedLocation,omitempty"`
+
+ // Identity: The identity of the managed cluster, if configured.
+ Identity *ManagedClusterIdentity_ARM `json:"identity,omitempty"`
+
+ // Kind: This is primarily used to expose different UI experiences in the portal for different kinds
+ Kind *string `json:"kind,omitempty"`
+
+ // Location: The geo-location where the resource lives
+ Location *string `json:"location,omitempty"`
+ Name string `json:"name,omitempty"`
+
+ // Properties: Properties of a managed cluster.
+ Properties *ManagedClusterProperties_ARM `json:"properties,omitempty"`
+
+ // Sku: The managed cluster SKU.
+ Sku *ManagedClusterSKU_ARM `json:"sku,omitempty"`
+
+ // Tags: Resource tags.
+ Tags map[string]string `json:"tags"`
+}
+
+var _ genruntime.ARMResourceSpec = &ManagedCluster_Spec_ARM{}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (cluster ManagedCluster_Spec_ARM) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetName returns the Name of the resource
+func (cluster *ManagedCluster_Spec_ARM) GetName() string {
+ return cluster.Name
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters"
+func (cluster *ManagedCluster_Spec_ARM) GetType() string {
+ return "Microsoft.ContainerService/managedClusters"
+}
+
+// The complex type of the extended location.
+type ExtendedLocation_ARM struct {
+ // Name: The name of the extended location.
+ Name *string `json:"name,omitempty"`
+
+ // Type: The type of the extended location.
+ Type *ExtendedLocationType `json:"type,omitempty"`
+}
+
+// Identity for the managed cluster.
+type ManagedClusterIdentity_ARM struct {
+ // DelegatedResources: The delegated identity resources assigned to this managed cluster. This can only be set by another
+ // Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
+ DelegatedResources map[string]DelegatedResource_ARM `json:"delegatedResources"`
+
+ // Type: For more information see [use managed identities in
+ // AKS](https://docs.microsoft.com/azure/aks/use-managed-identity).
+ Type *ManagedClusterIdentity_Type `json:"type,omitempty"`
+ UserAssignedIdentities map[string]UserAssignedIdentityDetails_ARM `json:"userAssignedIdentities,omitempty"`
+}
+
+// Properties of the managed cluster.
+type ManagedClusterProperties_ARM struct {
+ // AadProfile: The Azure Active Directory configuration.
+ AadProfile *ManagedClusterAADProfile_ARM `json:"aadProfile,omitempty"`
+
+ // AddonProfiles: The profile of managed cluster add-on.
+ AddonProfiles map[string]ManagedClusterAddonProfile_ARM `json:"addonProfiles"`
+
+ // AgentPoolProfiles: The agent pool properties.
+ AgentPoolProfiles []ManagedClusterAgentPoolProfile_ARM `json:"agentPoolProfiles"`
+
+ // AiToolchainOperatorProfile: AI toolchain operator settings that apply to the whole cluster.
+ AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile_ARM `json:"aiToolchainOperatorProfile,omitempty"`
+
+ // ApiServerAccessProfile: The access profile for managed cluster API server.
+ ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile_ARM `json:"apiServerAccessProfile,omitempty"`
+
+ // AutoScalerProfile: Parameters to be applied to the cluster-autoscaler when enabled
+ AutoScalerProfile *ManagedClusterProperties_AutoScalerProfile_ARM `json:"autoScalerProfile,omitempty"`
+
+ // AutoUpgradeProfile: The auto upgrade configuration.
+ AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile_ARM `json:"autoUpgradeProfile,omitempty"`
+
+ // AzureMonitorProfile: Prometheus addon profile for the container service cluster
+ AzureMonitorProfile *ManagedClusterAzureMonitorProfile_ARM `json:"azureMonitorProfile,omitempty"`
+
+ // BootstrapProfile: Profile of the cluster bootstrap configuration.
+ BootstrapProfile *ManagedClusterBootstrapProfile_ARM `json:"bootstrapProfile,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a
+ // snapshot.
+ CreationData *CreationData_ARM `json:"creationData,omitempty"`
+
+ // DisableLocalAccounts: If set to true, getting static credentials will be disabled for this cluster. This must only be
+ // used on Managed Clusters that are AAD enabled. For more details see [disable local
+ // accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview).
+ DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"`
+ DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"`
+
+ // DnsPrefix: This cannot be updated once the Managed Cluster has been created.
+ DnsPrefix *string `json:"dnsPrefix,omitempty"`
+
+ // EnableNamespaceResources: The default value is false. It can be enabled/disabled on creation and updating of the managed
+ // cluster. See [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as
+ // a ARM Resource.
+ EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"`
+
+ // EnablePodSecurityPolicy: (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was
+ // deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and
+ // https://aka.ms/aks/psp.
+ EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"`
+
+ // EnableRBAC: Whether to enable Kubernetes Role-Based Access Control.
+ EnableRBAC *bool `json:"enableRBAC,omitempty"`
+
+ // FqdnSubdomain: This cannot be updated once the Managed Cluster has been created.
+ FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"`
+
+ // HttpProxyConfig: Configurations for provisioning the cluster with HTTP proxy servers.
+ HttpProxyConfig *ManagedClusterHTTPProxyConfig_ARM `json:"httpProxyConfig,omitempty"`
+
+ // IdentityProfile: Identities associated with the cluster.
+ IdentityProfile map[string]UserAssignedIdentity_ARM `json:"identityProfile"`
+
+ // IngressProfile: Ingress profile for the managed cluster.
+ IngressProfile *ManagedClusterIngressProfile_ARM `json:"ingressProfile,omitempty"`
+
+ // KubernetesVersion: When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades
+ // must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x ->
+ // 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
+ // cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
+
+ // LinuxProfile: The profile for Linux VMs in the Managed Cluster.
+ LinuxProfile *ContainerServiceLinuxProfile_ARM `json:"linuxProfile,omitempty"`
+
+ // MetricsProfile: Optional cluster metrics configuration.
+ MetricsProfile *ManagedClusterMetricsProfile_ARM `json:"metricsProfile,omitempty"`
+
+ // NetworkProfile: The network configuration profile.
+ NetworkProfile *ContainerServiceNetworkProfile_ARM `json:"networkProfile,omitempty"`
+
+ // NodeProvisioningProfile: Node provisioning settings that apply to the whole cluster.
+ NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile_ARM `json:"nodeProvisioningProfile,omitempty"`
+
+ // NodeResourceGroup: The name of the resource group containing agent pool nodes.
+ NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"`
+
+ // NodeResourceGroupProfile: The node resource group configuration profile.
+ NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile_ARM `json:"nodeResourceGroupProfile,omitempty"`
+
+ // OidcIssuerProfile: The OIDC issuer profile of the Managed Cluster.
+ OidcIssuerProfile *ManagedClusterOIDCIssuerProfile_ARM `json:"oidcIssuerProfile,omitempty"`
+
+ // PodIdentityProfile: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more
+ // details on AAD pod identity integration.
+ PodIdentityProfile *ManagedClusterPodIdentityProfile_ARM `json:"podIdentityProfile,omitempty"`
+
+ // PrivateLinkResources: Private link resources associated with the cluster.
+ PrivateLinkResources []PrivateLinkResource_ARM `json:"privateLinkResources"`
+
+ // PublicNetworkAccess: Allow or deny public network access for AKS
+ PublicNetworkAccess *ManagedClusterProperties_PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
+
+ // SafeguardsProfile: The Safeguards profile holds all the safeguards information for a given cluster
+ SafeguardsProfile *SafeguardsProfile_ARM `json:"safeguardsProfile,omitempty"`
+
+ // SecurityProfile: Security profile for the managed cluster.
+ SecurityProfile *ManagedClusterSecurityProfile_ARM `json:"securityProfile,omitempty"`
+
+ // ServiceMeshProfile: Service mesh profile for a managed cluster.
+ ServiceMeshProfile *ServiceMeshProfile_ARM `json:"serviceMeshProfile,omitempty"`
+
+ // ServicePrincipalProfile: Information about a service principal identity for the cluster to use for manipulating Azure
+ // APIs.
+ ServicePrincipalProfile *ManagedClusterServicePrincipalProfile_ARM `json:"servicePrincipalProfile,omitempty"`
+
+ // StorageProfile: Storage profile for the managed cluster.
+ StorageProfile *ManagedClusterStorageProfile_ARM `json:"storageProfile,omitempty"`
+
+ // SupportPlan: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
+ SupportPlan *KubernetesSupportPlan `json:"supportPlan,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading a cluster.
+ UpgradeSettings *ClusterUpgradeSettings_ARM `json:"upgradeSettings,omitempty"`
+
+ // WindowsProfile: The profile for Windows VMs in the Managed Cluster.
+ WindowsProfile *ManagedClusterWindowsProfile_ARM `json:"windowsProfile,omitempty"`
+
+ // WorkloadAutoScalerProfile: Workload Auto-scaler profile for the managed cluster.
+ WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile_ARM `json:"workloadAutoScalerProfile,omitempty"`
+}
+
+// The SKU of a Managed Cluster.
+type ManagedClusterSKU_ARM struct {
+ // Name: The name of a managed cluster SKU.
+ Name *ManagedClusterSKU_Name `json:"name,omitempty"`
+
+ // Tier: If not specified, the default is 'Free'. See [AKS Pricing
+ // Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
+ Tier *ManagedClusterSKU_Tier `json:"tier,omitempty"`
+}
+
+// Settings for upgrading a cluster.
+type ClusterUpgradeSettings_ARM struct {
+ // OverrideSettings: Settings for overrides.
+ OverrideSettings *UpgradeOverrideSettings_ARM `json:"overrideSettings,omitempty"`
+}
+
+// Profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile_ARM struct {
+ // AdminUsername: The administrator username to use for Linux VMs.
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // Ssh: The SSH configuration for Linux-based VMs running on Azure.
+ Ssh *ContainerServiceSshConfiguration_ARM `json:"ssh,omitempty"`
+}
+
+// Profile of network configuration.
+type ContainerServiceNetworkProfile_ARM struct {
+ // AdvancedNetworking: Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced
+ // networking features may incur additional costs. For more information see aka.ms/aksadvancednetworking.
+ AdvancedNetworking *AdvancedNetworking_ARM `json:"advancedNetworking,omitempty"`
+
+ // DnsServiceIP: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address
+ // range specified in serviceCidr.
+ DnsServiceIP *string `json:"dnsServiceIP,omitempty"`
+
+ // IpFamilies: IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value
+ // is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
+ IpFamilies []IpFamily `json:"ipFamilies"`
+
+ // KubeProxyConfig: Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy
+ // defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/
+ // where is represented by a - string. Kubernetes version 1.23 would be '1-23'.
+ KubeProxyConfig *ContainerServiceNetworkProfile_KubeProxyConfig_ARM `json:"kubeProxyConfig,omitempty"`
+
+ // LoadBalancerProfile: Profile of the cluster load balancer.
+ LoadBalancerProfile *ManagedClusterLoadBalancerProfile_ARM `json:"loadBalancerProfile,omitempty"`
+
+ // LoadBalancerSku: The default is 'standard'. See [Azure Load Balancer
+ // SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load
+ // balancer SKUs.
+ LoadBalancerSku *LoadBalancerSku `json:"loadBalancerSku,omitempty"`
+
+ // NatGatewayProfile: Profile of the cluster NAT gateway.
+ NatGatewayProfile *ManagedClusterNATGatewayProfile_ARM `json:"natGatewayProfile,omitempty"`
+
+ // NetworkDataplane: Network dataplane used in the Kubernetes cluster.
+ NetworkDataplane *NetworkDataplane `json:"networkDataplane,omitempty"`
+
+ // NetworkMode: This cannot be specified if networkPlugin is anything other than 'azure'.
+ NetworkMode *NetworkMode `json:"networkMode,omitempty"`
+
+ // NetworkPlugin: Network plugin used for building the Kubernetes network.
+ NetworkPlugin *NetworkPlugin `json:"networkPlugin,omitempty"`
+
+ // NetworkPluginMode: Network plugin mode used for building the Kubernetes network.
+ NetworkPluginMode *NetworkPluginMode `json:"networkPluginMode,omitempty"`
+
+ // NetworkPolicy: Network policy used for building the Kubernetes network.
+ NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"`
+
+ // OutboundType: This can only be set at cluster creation time and cannot be changed later. For more information see
+ // [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype).
+ OutboundType *ContainerServiceNetworkProfile_OutboundType `json:"outboundType,omitempty"`
+
+ // PodCidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used.
+ PodCidr *string `json:"podCidr,omitempty"`
+
+ // PodCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking.
+ PodCidrs []string `json:"podCidrs"`
+
+ // PodLinkLocalAccess: Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods
+ // with hostNetwork=false. if not specified, the default is 'IMDS'.
+ PodLinkLocalAccess *PodLinkLocalAccess `json:"podLinkLocalAccess,omitempty"`
+
+ // ServiceCidr: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP
+ // ranges.
+ ServiceCidr *string `json:"serviceCidr,omitempty"`
+
+ // ServiceCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
+ ServiceCidrs []string `json:"serviceCidrs"`
+
+ // StaticEgressGatewayProfile: The profile for Static Egress Gateway addon. For more details about Static Egress Gateway,
+ // see https://aka.ms/aks/static-egress-gateway.
+ StaticEgressGatewayProfile *ManagedClusterStaticEgressGatewayProfile_ARM `json:"staticEgressGatewayProfile,omitempty"`
+}
+
+// Data used when creating a target resource from a source resource.
+type CreationData_ARM struct {
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
+
+// Delegated resource properties - internal use only.
+type DelegatedResource_ARM struct {
+ // Location: The source resource location - internal use only.
+ Location *string `json:"location,omitempty"`
+
+ // ReferralResource: The delegation id of the referral delegation (optional) - internal use only.
+ ReferralResource *string `json:"referralResource,omitempty"`
+ ResourceId *string `json:"resourceId,omitempty"`
+
+ // TenantId: The tenant id of the delegated resource - internal use only.
+ TenantId *string `json:"tenantId,omitempty"`
+}
+
+// The type of extendedLocation.
+// +kubebuilder:validation:Enum={"EdgeZone"}
+type ExtendedLocationType string
+
+const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
+// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
+type ManagedClusterAADProfile_ARM struct {
+ // AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
+ AdminGroupObjectIDs []string `json:"adminGroupObjectIDs"`
+
+ // ClientAppID: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ClientAppID *string `json:"clientAppID,omitempty"`
+
+ // EnableAzureRBAC: Whether to enable Azure RBAC for Kubernetes authorization.
+ EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"`
+
+ // Managed: Whether to enable managed AAD.
+ Managed *bool `json:"managed,omitempty"`
+
+ // ServerAppID: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppID *string `json:"serverAppID,omitempty"`
+
+ // ServerAppSecret: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppSecret *string `json:"serverAppSecret,omitempty"`
+
+ // TenantID: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment
+ // subscription.
+ TenantID *string `json:"tenantID,omitempty"`
+}
+
+// A Kubernetes add-on profile for a managed cluster.
+type ManagedClusterAddonProfile_ARM struct {
+ // Config: Key-value pairs for configuring an add-on.
+ Config map[string]string `json:"config"`
+
+ // Enabled: Whether the add-on is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Profile for the container service agent pool.
+type ManagedClusterAgentPoolProfile_ARM struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_ARM `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones"`
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData_ARM `json:"creationData,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile_ARM `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile_ARM `json:"gpuProfile,omitempty"`
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig_ARM `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig_ARM `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode `json:"mode,omitempty"`
+
+ // Name: Windows agent pool names must be 6 characters or less.
+ Name *string `json:"name,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile_ARM `json:"networkProfile,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels"`
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *ContainerServiceOSDisk `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode `json:"podIPAllocationMode,omitempty"`
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState_ARM `json:"powerState,omitempty"`
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile_ARM `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings_ARM `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_ARM `json:"virtualMachineNodesStatus"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile_ARM `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile_ARM `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"`
+}
+
+// When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator
+// automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and
+// enables distributed inference against them.
+type ManagedClusterAIToolchainOperatorProfile_ARM struct {
+ // Enabled: Indicates if AI toolchain operator enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Access profile for managed cluster API server.
+type ManagedClusterAPIServerAccessProfile_ARM struct {
+ // AuthorizedIPRanges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with
+ // clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API
+ // server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges).
+ AuthorizedIPRanges []string `json:"authorizedIPRanges"`
+
+ // DisableRunCommand: Whether to disable run command for the cluster or not.
+ DisableRunCommand *bool `json:"disableRunCommand,omitempty"`
+
+ // EnablePrivateCluster: For more details, see [Creating a private AKS
+ // cluster](https://docs.microsoft.com/azure/aks/private-clusters).
+ EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
+
+ // EnablePrivateClusterPublicFQDN: Whether to create additional public FQDN for private cluster or not.
+ EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"`
+
+ // EnableVnetIntegration: Whether to enable apiserver vnet integration for the cluster or not.
+ EnableVnetIntegration *bool `json:"enableVnetIntegration,omitempty"`
+
+ // PrivateDNSZone: The default is System. For more details see [configure private DNS
+ // zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and
+ // 'none'.
+ PrivateDNSZone *string `json:"privateDNSZone,omitempty"`
+
+ // SubnetId: It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable
+ // apiserver vnet integration.
+ SubnetId *string `json:"subnetId,omitempty"`
+}
+
+// Auto upgrade profile for a managed cluster.
+type ManagedClusterAutoUpgradeProfile_ARM struct {
+ // NodeOSUpgradeChannel: The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA.
+ NodeOSUpgradeChannel *ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel `json:"nodeOSUpgradeChannel,omitempty"`
+
+ // UpgradeChannel: For more information see [setting the AKS cluster auto-upgrade
+ // channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel).
+ UpgradeChannel *ManagedClusterAutoUpgradeProfile_UpgradeChannel `json:"upgradeChannel,omitempty"`
+}
+
+// Prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfile_ARM struct {
+ // AppMonitoring: Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics
+ // and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring_ARM `json:"appMonitoring,omitempty"`
+
+ // ContainerInsights: Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout &
+ // stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview.
+ ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights_ARM `json:"containerInsights,omitempty"`
+
+ // Metrics: Metrics profile for the prometheus service addon
+ Metrics *ManagedClusterAzureMonitorProfileMetrics_ARM `json:"metrics,omitempty"`
+}
+
+// The bootstrap profile.
+type ManagedClusterBootstrapProfile_ARM struct {
+ // ArtifactSource: The source where the artifacts are downloaded from.
+ ArtifactSource *ManagedClusterBootstrapProfile_ArtifactSource `json:"artifactSource,omitempty"`
+ ContainerRegistryId *string `json:"containerRegistryId,omitempty"`
+}
+
+// Cluster HTTP proxy configuration.
+type ManagedClusterHTTPProxyConfig_ARM struct {
+ // HttpProxy: The HTTP proxy server endpoint to use.
+ HttpProxy *string `json:"httpProxy,omitempty"`
+
+ // HttpsProxy: The HTTPS proxy server endpoint to use.
+ HttpsProxy *string `json:"httpsProxy,omitempty"`
+
+ // NoProxy: The endpoints that should not go through proxy.
+ NoProxy []string `json:"noProxy"`
+
+ // TrustedCa: Alternative CA cert to use for connecting to proxy servers.
+ TrustedCa *string `json:"trustedCa,omitempty"`
+}
+
+// +kubebuilder:validation:Enum={"None","SystemAssigned","UserAssigned"}
+type ManagedClusterIdentity_Type string
+
+const (
+ ManagedClusterIdentity_Type_None = ManagedClusterIdentity_Type("None")
+ ManagedClusterIdentity_Type_SystemAssigned = ManagedClusterIdentity_Type("SystemAssigned")
+ ManagedClusterIdentity_Type_UserAssigned = ManagedClusterIdentity_Type("UserAssigned")
+)
+
+// Mapping from string to ManagedClusterIdentity_Type
+var managedClusterIdentity_Type_Values = map[string]ManagedClusterIdentity_Type{
+ "none": ManagedClusterIdentity_Type_None,
+ "systemassigned": ManagedClusterIdentity_Type_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_UserAssigned,
+}
+
+// Ingress profile for the container service cluster.
+type ManagedClusterIngressProfile_ARM struct {
+ // WebAppRouting: Web App Routing settings for the ingress profile.
+ WebAppRouting *ManagedClusterIngressProfileWebAppRouting_ARM `json:"webAppRouting,omitempty"`
+}
+
+// The metrics profile for the ManagedCluster.
+type ManagedClusterMetricsProfile_ARM struct {
+ // CostAnalysis: The cost analysis configuration for the cluster
+ CostAnalysis *ManagedClusterCostAnalysis_ARM `json:"costAnalysis,omitempty"`
+}
+
+type ManagedClusterNodeProvisioningProfile_ARM struct {
+ // Mode: Once the mode it set to Auto, it cannot be changed back to Manual.
+ Mode *ManagedClusterNodeProvisioningProfile_Mode `json:"mode,omitempty"`
+}
+
+// Node resource group lockdown profile for a managed cluster.
+type ManagedClusterNodeResourceGroupProfile_ARM struct {
+ // RestrictionLevel: The restriction level applied to the cluster's node resource group
+ RestrictionLevel *ManagedClusterNodeResourceGroupProfile_RestrictionLevel `json:"restrictionLevel,omitempty"`
+}
+
+// The OIDC issuer profile of the Managed Cluster.
+type ManagedClusterOIDCIssuerProfile_ARM struct {
+ // Enabled: Whether the OIDC issuer is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
+// identity integration.
+type ManagedClusterPodIdentityProfile_ARM struct {
+ // AllowNetworkPluginKubenet: Running in Kubenet is disabled by default due to the security related nature of AAD Pod
+ // Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod
+ // Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities)
+ // for more information.
+ AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"`
+
+ // Enabled: Whether the pod identity addon is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // UserAssignedIdentities: The pod identities to use in the cluster.
+ UserAssignedIdentities []ManagedClusterPodIdentity_ARM `json:"userAssignedIdentities"`
+
+ // UserAssignedIdentityExceptions: The pod identity exceptions to allow.
+ UserAssignedIdentityExceptions []ManagedClusterPodIdentityException_ARM `json:"userAssignedIdentityExceptions"`
+}
+
+type ManagedClusterProperties_AutoScalerProfile_ARM struct {
+ // BalanceSimilarNodeGroups: Valid values are 'true' and 'false'
+ BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"`
+
+ // DaemonsetEvictionForEmptyNodes: If set to true, all daemonset pods on empty nodes will be evicted before deletion of the
+ // node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be
+ // deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"`
+
+ // DaemonsetEvictionForOccupiedNodes: If set to true, all daemonset pods on occupied nodes will be evicted before deletion
+ // of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node
+ // will be deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"`
+
+ // Expander: Available values are: 'least-waste', 'most-pods', 'priority', 'random'.
+ Expander *Expander `json:"expander,omitempty"`
+
+ // IgnoreDaemonsetsUtilization: If set to true, the resources used by daemonset will be taken into account when making
+ // scaling down decisions.
+ IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"`
+
+ // MaxEmptyBulkDelete: The default is 10.
+ MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"`
+
+ // MaxGracefulTerminationSec: The default is 600.
+ MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"`
+
+ // MaxNodeProvisionTime: The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"`
+
+ // MaxTotalUnreadyPercentage: The default is 45. The maximum is 100 and the minimum is 0.
+ MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"`
+
+ // NewPodScaleUpDelay: For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler
+ // could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is
+ // '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
+ NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"`
+
+ // OkTotalUnreadyCount: This must be an integer. The default is 3.
+ OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"`
+
+ // ScaleDownDelayAfterAdd: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"`
+
+ // ScaleDownDelayAfterDelete: The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of
+ // time other than minutes (m) is supported.
+ ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"`
+
+ // ScaleDownDelayAfterFailure: The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other
+ // than minutes (m) is supported.
+ ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"`
+
+ // ScaleDownUnneededTime: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"`
+
+ // ScaleDownUnreadyTime: The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"`
+
+ // ScaleDownUtilizationThreshold: The default is '0.5'.
+ ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"`
+
+ // ScanInterval: The default is '10'. Values must be an integer number of seconds.
+ ScanInterval *string `json:"scan-interval,omitempty"`
+
+ // SkipNodesWithLocalStorage: The default is true.
+ SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"`
+
+ // SkipNodesWithSystemPods: The default is true.
+ SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"`
+}
+
+// Security profile for the container service cluster.
+type ManagedClusterSecurityProfile_ARM struct {
+ // AzureKeyVaultKms: Azure Key Vault [key management
+ // service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.
+ AzureKeyVaultKms *AzureKeyVaultKms_ARM `json:"azureKeyVaultKms,omitempty"`
+
+ // CustomCATrustCertificates: A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the
+ // Custom CA Trust feature enabled. For more information see [Custom CA Trust
+ // Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority)
+ CustomCATrustCertificates ManagedClusterSecurityProfileCustomCATrustCertificates `json:"customCATrustCertificates,omitempty"`
+
+ // Defender: Microsoft Defender settings for the security profile.
+ Defender *ManagedClusterSecurityProfileDefender_ARM `json:"defender,omitempty"`
+
+ // ImageCleaner: Image Cleaner settings for the security profile.
+ ImageCleaner *ManagedClusterSecurityProfileImageCleaner_ARM `json:"imageCleaner,omitempty"`
+
+ // ImageIntegrity: Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This
+ // will not have any effect unless Azure Policy is applied to enforce image signatures. See
+ // https://aka.ms/aks/image-integrity for how to use this feature via policy.
+ ImageIntegrity *ManagedClusterSecurityProfileImageIntegrity_ARM `json:"imageIntegrity,omitempty"`
+
+ // NodeRestriction: [Node
+ // Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings
+ // for the security profile.
+ NodeRestriction *ManagedClusterSecurityProfileNodeRestriction_ARM `json:"nodeRestriction,omitempty"`
+
+ // WorkloadIdentity: Workload identity settings for the security profile. Workload identity enables Kubernetes applications
+ // to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.
+ WorkloadIdentity *ManagedClusterSecurityProfileWorkloadIdentity_ARM `json:"workloadIdentity,omitempty"`
+}
+
+// Information about a service principal identity for the cluster to use for manipulating Azure APIs.
+type ManagedClusterServicePrincipalProfile_ARM struct {
+ // ClientId: The ID for the service principal.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // Secret: The secret password associated with the service principal in plain text.
+ Secret *string `json:"secret,omitempty"`
+}
+
+// +kubebuilder:validation:Enum={"Automatic","Base"}
+type ManagedClusterSKU_Name string
+
+const (
+ ManagedClusterSKU_Name_Automatic = ManagedClusterSKU_Name("Automatic")
+ ManagedClusterSKU_Name_Base = ManagedClusterSKU_Name("Base")
+)
+
+// Mapping from string to ManagedClusterSKU_Name
+var managedClusterSKU_Name_Values = map[string]ManagedClusterSKU_Name{
+ "automatic": ManagedClusterSKU_Name_Automatic,
+ "base": ManagedClusterSKU_Name_Base,
+}
+
+// +kubebuilder:validation:Enum={"Free","Premium","Standard"}
+type ManagedClusterSKU_Tier string
+
+const (
+ ManagedClusterSKU_Tier_Free = ManagedClusterSKU_Tier("Free")
+ ManagedClusterSKU_Tier_Premium = ManagedClusterSKU_Tier("Premium")
+ ManagedClusterSKU_Tier_Standard = ManagedClusterSKU_Tier("Standard")
+)
+
+// Mapping from string to ManagedClusterSKU_Tier
+var managedClusterSKU_Tier_Values = map[string]ManagedClusterSKU_Tier{
+ "free": ManagedClusterSKU_Tier_Free,
+ "premium": ManagedClusterSKU_Tier_Premium,
+ "standard": ManagedClusterSKU_Tier_Standard,
+}
+
+// Storage profile for the container service cluster.
+type ManagedClusterStorageProfile_ARM struct {
+ // BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
+ BlobCSIDriver *ManagedClusterStorageProfileBlobCSIDriver_ARM `json:"blobCSIDriver,omitempty"`
+
+ // DiskCSIDriver: AzureDisk CSI Driver settings for the storage profile.
+ DiskCSIDriver *ManagedClusterStorageProfileDiskCSIDriver_ARM `json:"diskCSIDriver,omitempty"`
+
+ // FileCSIDriver: AzureFile CSI Driver settings for the storage profile.
+ FileCSIDriver *ManagedClusterStorageProfileFileCSIDriver_ARM `json:"fileCSIDriver,omitempty"`
+
+ // SnapshotController: Snapshot Controller settings for the storage profile.
+ SnapshotController *ManagedClusterStorageProfileSnapshotController_ARM `json:"snapshotController,omitempty"`
+}
+
+// Profile for Windows VMs in the managed cluster.
+type ManagedClusterWindowsProfile_ARM struct {
+ // AdminPassword: Specifies the password of the administrator account.
+ // Minimum-length: 8 characters
+ // Max-length: 123 characters
+ // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
+ // Has lower characters
+ // Has upper characters
+ // Has a digit
+ // Has a special character (Regex match [\W_])
+ // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
+ // "Password22", "iloveyou!"
+ AdminPassword *string `json:"adminPassword,omitempty"`
+
+ // AdminUsername: Specifies the name of the administrator account.
+ // Restriction: Cannot end in "."
+ // Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
+ // "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server",
+ // "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
+ // Minimum-length: 1 character
+ // Max-length: 20 characters
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // EnableCSIProxy: For more details on CSI proxy, see the [CSI proxy GitHub
+ // repo](https://github.com/kubernetes-csi/csi-proxy).
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+
+ // GmsaProfile: The Windows gMSA Profile in the Managed Cluster.
+ GmsaProfile *WindowsGmsaProfile_ARM `json:"gmsaProfile,omitempty"`
+
+ // LicenseType: The license type to use for Windows VMs. See [Azure Hybrid User
+ // Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.
+ LicenseType *ManagedClusterWindowsProfile_LicenseType `json:"licenseType,omitempty"`
+}
+
+// Workload Auto-scaler profile for the managed cluster.
+type ManagedClusterWorkloadAutoScalerProfile_ARM struct {
+ // Keda: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+ Keda *ManagedClusterWorkloadAutoScalerProfileKeda_ARM `json:"keda,omitempty"`
+ VerticalPodAutoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM `json:"verticalPodAutoscaler,omitempty"`
+}
+
+// A private link resource
+type PrivateLinkResource_ARM struct {
+ // GroupId: The group ID of the resource.
+ GroupId *string `json:"groupId,omitempty"`
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the private link resource.
+ Name *string `json:"name,omitempty"`
+
+ // RequiredMembers: The RequiredMembers of the resource
+ RequiredMembers []string `json:"requiredMembers"`
+
+ // Type: The resource type.
+ Type *string `json:"type,omitempty"`
+}
+
+// The Safeguards profile.
+type SafeguardsProfile_ARM struct {
+ // ExcludedNamespaces: List of namespaces excluded from Safeguards checks
+ ExcludedNamespaces []string `json:"excludedNamespaces"`
+
+ // Level: The Safeguards level to be used. By default, Safeguards is enabled for all namespaces except those that AKS
+ // excludes via systemExcludedNamespaces
+ Level *SafeguardsProfile_Level `json:"level,omitempty"`
+
+ // Version: The version of constraints to use
+ Version *string `json:"version,omitempty"`
+}
+
+// Service mesh profile for a managed cluster.
+type ServiceMeshProfile_ARM struct {
+ // Istio: Istio service mesh configuration.
+ Istio *IstioServiceMesh_ARM `json:"istio,omitempty"`
+
+ // Mode: Mode of the service mesh.
+ Mode *ServiceMeshProfile_Mode `json:"mode,omitempty"`
+}
+
+// Details about a user assigned identity.
+type UserAssignedIdentity_ARM struct {
+ // ClientId: The client ID of the user assigned identity.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // ObjectId: The object ID of the user assigned identity.
+ ObjectId *string `json:"objectId,omitempty"`
+ ResourceId *string `json:"resourceId,omitempty"`
+}
+
+// Information about the user assigned identity for the resource
+type UserAssignedIdentityDetails_ARM struct {
+}
+
+// Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may
+// incur additional costs. For more information see aka.ms/aksadvancednetworking.
+type AdvancedNetworking_ARM struct {
+ // Observability: Observability profile to enable advanced network metrics and flow logs with historical contexts.
+ Observability *AdvancedNetworkingObservability_ARM `json:"observability,omitempty"`
+}
+
+// Azure Key Vault key management service settings for the security profile.
+type AzureKeyVaultKms_ARM struct {
+ // Enabled: Whether to enable Azure Key Vault key management service. The default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KeyId: Identifier of Azure Key Vault key. See [key identifier
+ // format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name)
+ // for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key
+ // identifier. When Azure Key Vault key management service is disabled, leave the field empty.
+ KeyId *string `json:"keyId,omitempty"`
+
+ // KeyVaultNetworkAccess: Network access of key vault. The possible values are `Public` and `Private`. `Public` means the
+ // key vault allows public access from all networks. `Private` means the key vault disables public access and enables
+ // private link. The default value is `Public`.
+ KeyVaultNetworkAccess *AzureKeyVaultKms_KeyVaultNetworkAccess `json:"keyVaultNetworkAccess,omitempty"`
+ KeyVaultResourceId *string `json:"keyVaultResourceId,omitempty"`
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_ARM struct {
+ // Enabled: Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by
+ // default without these customizations).
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IpvsConfig: Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'.
+ IpvsConfig *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM `json:"ipvsConfig,omitempty"`
+
+ // Mode: Specify which proxy mode to use ('IPTABLES' or 'IPVS')
+ Mode *ContainerServiceNetworkProfile_KubeProxyConfig_Mode `json:"mode,omitempty"`
+}
+
+// SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSshConfiguration_ARM struct {
+ // PublicKeys: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
+ PublicKeys []ContainerServiceSshPublicKey_ARM `json:"publicKeys"`
+}
+
+// Istio service mesh configuration.
+type IstioServiceMesh_ARM struct {
+ // CertificateAuthority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin
+ // certificates as described here https://aka.ms/asm-plugin-ca
+ CertificateAuthority *IstioCertificateAuthority_ARM `json:"certificateAuthority,omitempty"`
+
+ // Components: Istio components configuration.
+ Components *IstioComponents_ARM `json:"components,omitempty"`
+
+ // Revisions: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value.
+ // When canary upgrade is in progress, this can only hold two consecutive values. For more information, see:
+ // https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
+ Revisions []string `json:"revisions"`
+}
+
+// Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces
+// through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoring_ARM struct {
+ // AutoInstrumentation: Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook
+ // to auto-instrument Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the
+ // application. See aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AutoInstrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM `json:"autoInstrumentation,omitempty"`
+
+ // OpenTelemetryLogs: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and
+ // Traces. Collects OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryLogs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM `json:"openTelemetryLogs,omitempty"`
+
+ // OpenTelemetryMetrics: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container
+ // Metrics. Collects OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM `json:"openTelemetryMetrics,omitempty"`
+}
+
+// Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See
+// aka.ms/AzureMonitorContainerInsights for an overview.
+type ManagedClusterAzureMonitorProfileContainerInsights_ARM struct {
+ // DisableCustomMetrics: Indicates whether custom metrics collection has to be disabled or not. If not specified the
+ // default is false. No custom metrics will be emitted if this field is false but the container insights enabled field is
+ // false
+ DisableCustomMetrics *bool `json:"disableCustomMetrics,omitempty"`
+
+ // DisablePrometheusMetricsScraping: Indicates whether prometheus metrics scraping is disabled or not. If not specified the
+ // default is false. No prometheus metrics will be emitted if this field is false but the container insights enabled field
+ // is false
+ DisablePrometheusMetricsScraping *bool `json:"disablePrometheusMetricsScraping,omitempty"`
+
+ // Enabled: Indicates if Azure Monitor Container Insights Logs Addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+
+ // SyslogPort: The syslog host port. If not specified, the default port is 28330.
+ SyslogPort *int `json:"syslogPort,omitempty"`
+}
+
+// Metrics profile for the prometheus service addon
+type ManagedClusterAzureMonitorProfileMetrics_ARM struct {
+ // Enabled: Whether to enable the Prometheus collector
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KubeStateMetrics: Kube State Metrics for prometheus addon profile for the container service cluster
+ KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM `json:"kubeStateMetrics,omitempty"`
+}
+
+// The cost analysis configuration for the cluster
+type ManagedClusterCostAnalysis_ARM struct {
+ // Enabled: The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will
+ // add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the
+ // default is false. For more information see aka.ms/aks/docs/cost-analysis.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Web App Routing settings for the ingress profile.
+type ManagedClusterIngressProfileWebAppRouting_ARM struct {
+ DnsZoneResourceIds []string `json:"dnsZoneResourceIds,omitempty"`
+
+ // Enabled: Whether to enable Web App Routing.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Profile of the managed cluster load balancer.
+type ManagedClusterLoadBalancerProfile_ARM struct {
+ // AllocatedOutboundPorts: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000
+ // (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
+ AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
+
+ // BackendPoolType: The type of the managed inbound Load Balancer BackendPool.
+ BackendPoolType *ManagedClusterLoadBalancerProfile_BackendPoolType `json:"backendPoolType,omitempty"`
+
+ // ClusterServiceLoadBalancerHealthProbeMode: The health probing behavior for External Traffic Policy Cluster services.
+ ClusterServiceLoadBalancerHealthProbeMode *ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode `json:"clusterServiceLoadBalancerHealthProbeMode,omitempty"`
+
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster load balancer.
+ EffectiveOutboundIPs []ResourceReference_ARM `json:"effectiveOutboundIPs"`
+
+ // EnableMultipleStandardLoadBalancers: Enable multiple standard load balancers per AKS cluster or not.
+ EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"`
+
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 30 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPs: Desired managed outbound IPs for the cluster load balancer.
+ ManagedOutboundIPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM `json:"managedOutboundIPs,omitempty"`
+
+ // OutboundIPPrefixes: Desired outbound IP Prefix resources for the cluster load balancer.
+ OutboundIPPrefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM `json:"outboundIPPrefixes,omitempty"`
+
+ // OutboundIPs: Desired outbound IP resources for the cluster load balancer.
+ OutboundIPs *ManagedClusterLoadBalancerProfile_OutboundIPs_ARM `json:"outboundIPs,omitempty"`
+}
+
+// Profile of the managed cluster NAT gateway.
+type ManagedClusterNATGatewayProfile_ARM struct {
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster NAT gateway.
+ EffectiveOutboundIPs []ResourceReference_ARM `json:"effectiveOutboundIPs"`
+
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 4 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPProfile: Profile of the managed outbound IP resources of the cluster NAT gateway.
+ ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile_ARM `json:"managedOutboundIPProfile,omitempty"`
+}
+
+// Details about the pod identity assigned to the Managed Cluster.
+type ManagedClusterPodIdentity_ARM struct {
+ // BindingSelector: The binding selector to use for the AzureIdentityBinding resource.
+ BindingSelector *string `json:"bindingSelector,omitempty"`
+
+ // Identity: The user assigned identity details.
+ Identity *UserAssignedIdentity_ARM `json:"identity,omitempty"`
+
+ // Name: The name of the pod identity.
+ Name *string `json:"name,omitempty"`
+
+ // Namespace: The namespace of the pod identity.
+ Namespace *string `json:"namespace,omitempty"`
+}
+
+// See [disable AAD Pod Identity for a specific
+// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
+type ManagedClusterPodIdentityException_ARM struct {
+ // Name: The name of the pod identity exception.
+ Name *string `json:"name,omitempty"`
+
+ // Namespace: The namespace of the pod identity exception.
+ Namespace *string `json:"namespace,omitempty"`
+
+ // PodLabels: The pod labels to match.
+ PodLabels map[string]string `json:"podLabels"`
+}
+
+// Microsoft Defender settings for the security profile.
+type ManagedClusterSecurityProfileDefender_ARM struct {
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+
+ // SecurityMonitoring: Microsoft Defender threat detection for Cloud settings for the security profile.
+ SecurityMonitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM `json:"securityMonitoring,omitempty"`
+}
+
+// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here
+// are settings for the security profile.
+type ManagedClusterSecurityProfileImageCleaner_ARM struct {
+ // Enabled: Whether to enable Image Cleaner on AKS cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IntervalHours: Image Cleaner scanning interval in hours.
+ IntervalHours *int `json:"intervalHours,omitempty"`
+}
+
+// Image integrity related settings for the security profile.
+type ManagedClusterSecurityProfileImageIntegrity_ARM struct {
+ // Enabled: Whether to enable image integrity. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Node Restriction settings for the security profile.
+type ManagedClusterSecurityProfileNodeRestriction_ARM struct {
+ // Enabled: Whether to enable Node Restriction
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Workload identity settings for the security profile.
+type ManagedClusterSecurityProfileWorkloadIdentity_ARM struct {
+ // Enabled: Whether to enable workload identity.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// The Static Egress Gateway addon configuration for the cluster.
+type ManagedClusterStaticEgressGatewayProfile_ARM struct {
+ // Enabled: Indicates if Static Egress Gateway addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// AzureBlob CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileBlobCSIDriver_ARM struct {
+ // Enabled: Whether to enable AzureBlob CSI Driver. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// AzureDisk CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileDiskCSIDriver_ARM struct {
+ // Enabled: Whether to enable AzureDisk CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Version: The version of AzureDisk CSI Driver. The default value is v1.
+ Version *string `json:"version,omitempty"`
+}
+
+// AzureFile CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileFileCSIDriver_ARM struct {
+ // Enabled: Whether to enable AzureFile CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Snapshot Controller settings for the storage profile.
+type ManagedClusterStorageProfileSnapshotController_ARM struct {
+ // Enabled: Whether to enable Snapshot Controller. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+type ManagedClusterWorkloadAutoScalerProfileKeda_ARM struct {
+ // Enabled: Whether to enable KEDA.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM struct {
+ // AddonAutoscaling: Whether VPA add-on is enabled and configured to scale AKS-managed add-ons.
+ AddonAutoscaling *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling `json:"addonAutoscaling,omitempty"`
+
+ // Enabled: Whether to enable VPA add-on in cluster. Default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Settings for overrides when upgrading a cluster.
+type UpgradeOverrideSettings_ARM struct {
+ // ForceUpgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade
+ // protections such as checking for deprecated API usage. Enable this option only with caution.
+ ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
+
+ // Until: Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the
+ // effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set
+ // by default. It must be set for the overrides to take effect.
+ Until *string `json:"until,omitempty"`
+}
+
+// Windows gMSA Profile in the managed cluster.
+type WindowsGmsaProfile_ARM struct {
+ // DnsServer: Specifies the DNS server for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ DnsServer *string `json:"dnsServer,omitempty"`
+
+ // Enabled: Specifies whether to enable Windows gMSA in the managed cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // RootDomainName: Specifies the root domain name for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ RootDomainName *string `json:"rootDomainName,omitempty"`
+}
+
+// Observability profile to enable advanced network metrics and flow logs with historical contexts.
+type AdvancedNetworkingObservability_ARM struct {
+ // Enabled: Indicates the enablement of Advanced Networking observability functionalities on clusters.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM struct {
+ // Scheduler: IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html.
+ Scheduler *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler `json:"scheduler,omitempty"`
+
+ // TcpFinTimeoutSeconds: The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive
+ // integer value.
+ TcpFinTimeoutSeconds *int `json:"tcpFinTimeoutSeconds,omitempty"`
+
+ // TcpTimeoutSeconds: The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value.
+ TcpTimeoutSeconds *int `json:"tcpTimeoutSeconds,omitempty"`
+
+ // UdpTimeoutSeconds: The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value.
+ UdpTimeoutSeconds *int `json:"udpTimeoutSeconds,omitempty"`
+}
+
+// Contains information about SSH certificate public key data.
+type ContainerServiceSshPublicKey_ARM struct {
+ // KeyData: Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or
+ // without headers.
+ KeyData *string `json:"keyData,omitempty"`
+}
+
+// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described
+// here https://aka.ms/asm-plugin-ca
+type IstioCertificateAuthority_ARM struct {
+ // Plugin: Plugin certificates information for Service Mesh.
+ Plugin *IstioPluginCertificateAuthority_ARM `json:"plugin,omitempty"`
+}
+
+// Istio components configuration.
+type IstioComponents_ARM struct {
+ // EgressGateways: Istio egress gateways.
+ EgressGateways []IstioEgressGateway_ARM `json:"egressGateways"`
+
+ // IngressGateways: Istio ingress gateways.
+ IngressGateways []IstioIngressGateway_ARM `json:"ingressGateways"`
+}
+
+// Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook to auto-instrument
+// Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the application. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM struct {
+ // Enabled: Indicates if Application Monitoring Auto Instrumentation is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and Traces. Collects
+// OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Logs and traces is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry logs and traces. If not specified, the default port is 28331.
+ Port *int `json:"port,omitempty"`
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects
+// OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Metrics is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry metrics. If not specified, the default port is 28333.
+ Port *int `json:"port,omitempty"`
+}
+
+// Kube State Metrics for prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM struct {
+ // MetricAnnotationsAllowList: Comma-separated list of additional Kubernetes label keys that will be used in the resource's
+ // labels metric.
+ MetricAnnotationsAllowList *string `json:"metricAnnotationsAllowList,omitempty"`
+
+ // MetricLabelsAllowlist: Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels
+ // metric.
+ MetricLabelsAllowlist *string `json:"metricLabelsAllowlist,omitempty"`
+}
+
+type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM struct {
+ // Count: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values
+ // must be in the range of 1 to 100 (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CountIPv6: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed
+ // values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
+ CountIPv6 *int `json:"countIPv6,omitempty"`
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM struct {
+ // PublicIPPrefixes: A list of public IP prefix resources.
+ PublicIPPrefixes []ResourceReference_ARM `json:"publicIPPrefixes"`
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPs_ARM struct {
+ // PublicIPs: A list of public IP resources.
+ PublicIPs []ResourceReference_ARM `json:"publicIPs"`
+}
+
+// Profile of the managed outbound IP resources of the managed cluster.
+type ManagedClusterManagedOutboundIPProfile_ARM struct {
+ // Count: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16
+ // (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+}
+
+// Microsoft Defender settings for the security profile threat detection.
+type ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM struct {
+ // Enabled: Whether to enable Defender threat detection
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// A reference to an Azure resource.
+type ResourceReference_ARM struct {
+ Id *string `json:"id,omitempty"`
+}
+
+// Istio egress gateway configuration.
+type IstioEgressGateway_ARM struct {
+ // Enabled: Whether to enable the egress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
+// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
+type IstioIngressGateway_ARM struct {
+ // Enabled: Whether to enable the ingress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Mode: Mode of an ingress gateway.
+ Mode *IstioIngressGateway_Mode `json:"mode,omitempty"`
+}
+
+// Plugin certificates information for Service Mesh.
+type IstioPluginCertificateAuthority_ARM struct {
+ // CertChainObjectName: Certificate chain object name in Azure Key Vault.
+ CertChainObjectName *string `json:"certChainObjectName,omitempty"`
+
+ // CertObjectName: Intermediate certificate object name in Azure Key Vault.
+ CertObjectName *string `json:"certObjectName,omitempty"`
+
+ // KeyObjectName: Intermediate certificate private key object name in Azure Key Vault.
+ KeyObjectName *string `json:"keyObjectName,omitempty"`
+ KeyVaultId *string `json:"keyVaultId,omitempty"`
+
+ // RootCertObjectName: Root certificate object name in Azure Key Vault.
+ RootCertObjectName *string `json:"rootCertObjectName,omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_status_arm_types_gen.go
new file mode 100644
index 0000000000..2980ccd7da
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_status_arm_types_gen.go
@@ -0,0 +1,1616 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+// Managed cluster.
+type ManagedCluster_STATUS_ARM struct {
+ // ETag: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
+ // updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic
+ // concurrency per the normal etag convention.
+ ETag *string `json:"eTag,omitempty"`
+
+ // ExtendedLocation: The extended location of the Virtual Machine.
+ ExtendedLocation *ExtendedLocation_STATUS_ARM `json:"extendedLocation,omitempty"`
+
+ // Id: Fully qualified resource ID for the resource. E.g.
+ // "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ Id *string `json:"id,omitempty"`
+
+ // Identity: The identity of the managed cluster, if configured.
+ Identity *ManagedClusterIdentity_STATUS_ARM `json:"identity,omitempty"`
+
+ // Kind: This is primarily used to expose different UI experiences in the portal for different kinds
+ Kind *string `json:"kind,omitempty"`
+
+ // Location: The geo-location where the resource lives
+ Location *string `json:"location,omitempty"`
+
+ // Name: The name of the resource
+ Name *string `json:"name,omitempty"`
+
+ // Properties: Properties of a managed cluster.
+ Properties *ManagedClusterProperties_STATUS_ARM `json:"properties,omitempty"`
+
+ // Sku: The managed cluster SKU.
+ Sku *ManagedClusterSKU_STATUS_ARM `json:"sku,omitempty"`
+
+ // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`
+
+ // Tags: Resource tags.
+ Tags map[string]string `json:"tags"`
+
+ // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string `json:"type,omitempty"`
+}
+
+// The complex type of the extended location.
+type ExtendedLocation_STATUS_ARM struct {
+ // Name: The name of the extended location.
+ Name *string `json:"name,omitempty"`
+
+ // Type: The type of the extended location.
+ Type *ExtendedLocationType_STATUS `json:"type,omitempty"`
+}
+
+// Identity for the managed cluster.
+type ManagedClusterIdentity_STATUS_ARM struct {
+ // DelegatedResources: The delegated identity resources assigned to this managed cluster. This can only be set by another
+ // Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
+ DelegatedResources map[string]DelegatedResource_STATUS_ARM `json:"delegatedResources"`
+
+ // PrincipalId: The principal id of the system assigned identity which is used by master components.
+ PrincipalId *string `json:"principalId,omitempty"`
+
+ // TenantId: The tenant id of the system assigned identity which is used by master components.
+ TenantId *string `json:"tenantId,omitempty"`
+
+ // Type: For more information see [use managed identities in
+ // AKS](https://docs.microsoft.com/azure/aks/use-managed-identity).
+ Type *ManagedClusterIdentity_Type_STATUS `json:"type,omitempty"`
+
+ // UserAssignedIdentities: The keys must be ARM resource IDs in the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM `json:"userAssignedIdentities"`
+}
+
+// Properties of the managed cluster.
+type ManagedClusterProperties_STATUS_ARM struct {
+ // AadProfile: The Azure Active Directory configuration.
+ AadProfile *ManagedClusterAADProfile_STATUS_ARM `json:"aadProfile,omitempty"`
+
+ // AddonProfiles: The profile of managed cluster add-on.
+ AddonProfiles map[string]ManagedClusterAddonProfile_STATUS_ARM `json:"addonProfiles"`
+
+ // AgentPoolProfiles: The agent pool properties.
+ AgentPoolProfiles []ManagedClusterAgentPoolProfile_STATUS_ARM `json:"agentPoolProfiles"`
+
+ // AiToolchainOperatorProfile: AI toolchain operator settings that apply to the whole cluster.
+ AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile_STATUS_ARM `json:"aiToolchainOperatorProfile,omitempty"`
+
+ // ApiServerAccessProfile: The access profile for managed cluster API server.
+ ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile_STATUS_ARM `json:"apiServerAccessProfile,omitempty"`
+
+ // AutoScalerProfile: Parameters to be applied to the cluster-autoscaler when enabled
+ AutoScalerProfile *ManagedClusterProperties_AutoScalerProfile_STATUS_ARM `json:"autoScalerProfile,omitempty"`
+
+ // AutoUpgradeProfile: The auto upgrade configuration.
+ AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile_STATUS_ARM `json:"autoUpgradeProfile,omitempty"`
+
+ // AzureMonitorProfile: Prometheus addon profile for the container service cluster
+ AzureMonitorProfile *ManagedClusterAzureMonitorProfile_STATUS_ARM `json:"azureMonitorProfile,omitempty"`
+
+ // AzurePortalFQDN: The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some
+ // responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure
+ // Portal to function properly.
+ AzurePortalFQDN *string `json:"azurePortalFQDN,omitempty"`
+
+ // BootstrapProfile: Profile of the cluster bootstrap configuration.
+ BootstrapProfile *ManagedClusterBootstrapProfile_STATUS_ARM `json:"bootstrapProfile,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a
+ // snapshot.
+ CreationData *CreationData_STATUS_ARM `json:"creationData,omitempty"`
+
+ // CurrentKubernetesVersion: The version of Kubernetes the Managed Cluster is running.
+ CurrentKubernetesVersion *string `json:"currentKubernetesVersion,omitempty"`
+
+ // DisableLocalAccounts: If set to true, getting static credentials will be disabled for this cluster. This must only be
+ // used on Managed Clusters that are AAD enabled. For more details see [disable local
+ // accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview).
+ DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"`
+
+ // DiskEncryptionSetID: This is of the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
+ DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"`
+
+ // DnsPrefix: This cannot be updated once the Managed Cluster has been created.
+ DnsPrefix *string `json:"dnsPrefix,omitempty"`
+
+ // EnableNamespaceResources: The default value is false. It can be enabled/disabled on creation and updating of the managed
+ // cluster. See [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as
+ // a ARM Resource.
+ EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"`
+
+ // EnablePodSecurityPolicy: (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was
+ // deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and
+ // https://aka.ms/aks/psp.
+ EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"`
+
+ // EnableRBAC: Whether to enable Kubernetes Role-Based Access Control.
+ EnableRBAC *bool `json:"enableRBAC,omitempty"`
+
+ // Fqdn: The FQDN of the master pool.
+ Fqdn *string `json:"fqdn,omitempty"`
+
+ // FqdnSubdomain: This cannot be updated once the Managed Cluster has been created.
+ FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"`
+
+ // HttpProxyConfig: Configurations for provisioning the cluster with HTTP proxy servers.
+ HttpProxyConfig *ManagedClusterHTTPProxyConfig_STATUS_ARM `json:"httpProxyConfig,omitempty"`
+
+ // IdentityProfile: Identities associated with the cluster.
+ IdentityProfile map[string]UserAssignedIdentity_STATUS_ARM `json:"identityProfile"`
+
+ // IngressProfile: Ingress profile for the managed cluster.
+ IngressProfile *ManagedClusterIngressProfile_STATUS_ARM `json:"ingressProfile,omitempty"`
+
+ // KubernetesVersion: When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades
+ // must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x ->
+ // 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
+ // cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
+
+ // LinuxProfile: The profile for Linux VMs in the Managed Cluster.
+ LinuxProfile *ContainerServiceLinuxProfile_STATUS_ARM `json:"linuxProfile,omitempty"`
+
+ // MaxAgentPools: The max number of agent pools for the managed cluster.
+ MaxAgentPools *int `json:"maxAgentPools,omitempty"`
+
+ // MetricsProfile: Optional cluster metrics configuration.
+ MetricsProfile *ManagedClusterMetricsProfile_STATUS_ARM `json:"metricsProfile,omitempty"`
+
+ // NetworkProfile: The network configuration profile.
+ NetworkProfile *ContainerServiceNetworkProfile_STATUS_ARM `json:"networkProfile,omitempty"`
+
+ // NodeProvisioningProfile: Node provisioning settings that apply to the whole cluster.
+ NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile_STATUS_ARM `json:"nodeProvisioningProfile,omitempty"`
+
+ // NodeResourceGroup: The name of the resource group containing agent pool nodes.
+ NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"`
+
+ // NodeResourceGroupProfile: The node resource group configuration profile.
+ NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile_STATUS_ARM `json:"nodeResourceGroupProfile,omitempty"`
+
+ // OidcIssuerProfile: The OIDC issuer profile of the Managed Cluster.
+ OidcIssuerProfile *ManagedClusterOIDCIssuerProfile_STATUS_ARM `json:"oidcIssuerProfile,omitempty"`
+
+ // PodIdentityProfile: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more
+ // details on AAD pod identity integration.
+ PodIdentityProfile *ManagedClusterPodIdentityProfile_STATUS_ARM `json:"podIdentityProfile,omitempty"`
+
+ // PowerState: The Power State of the cluster.
+ PowerState *PowerState_STATUS_ARM `json:"powerState,omitempty"`
+
+ // PrivateFQDN: The FQDN of private cluster.
+ PrivateFQDN *string `json:"privateFQDN,omitempty"`
+
+ // PrivateLinkResources: Private link resources associated with the cluster.
+ PrivateLinkResources []PrivateLinkResource_STATUS_ARM `json:"privateLinkResources"`
+
+ // ProvisioningState: The current provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+
+ // PublicNetworkAccess: Allow or deny public network access for AKS
+ PublicNetworkAccess *ManagedClusterProperties_PublicNetworkAccess_STATUS `json:"publicNetworkAccess,omitempty"`
+
+ // ResourceUID: The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create
+ // sequence)
+ ResourceUID *string `json:"resourceUID,omitempty"`
+
+ // SafeguardsProfile: The Safeguards profile holds all the safeguards information for a given cluster
+ SafeguardsProfile *SafeguardsProfile_STATUS_ARM `json:"safeguardsProfile,omitempty"`
+
+ // SecurityProfile: Security profile for the managed cluster.
+ SecurityProfile *ManagedClusterSecurityProfile_STATUS_ARM `json:"securityProfile,omitempty"`
+
+ // ServiceMeshProfile: Service mesh profile for a managed cluster.
+ ServiceMeshProfile *ServiceMeshProfile_STATUS_ARM `json:"serviceMeshProfile,omitempty"`
+
+ // ServicePrincipalProfile: Information about a service principal identity for the cluster to use for manipulating Azure
+ // APIs.
+ ServicePrincipalProfile *ManagedClusterServicePrincipalProfile_STATUS_ARM `json:"servicePrincipalProfile,omitempty"`
+
+ // StorageProfile: Storage profile for the managed cluster.
+ StorageProfile *ManagedClusterStorageProfile_STATUS_ARM `json:"storageProfile,omitempty"`
+
+ // SupportPlan: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
+ SupportPlan *KubernetesSupportPlan_STATUS `json:"supportPlan,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading a cluster.
+ UpgradeSettings *ClusterUpgradeSettings_STATUS_ARM `json:"upgradeSettings,omitempty"`
+
+ // WindowsProfile: The profile for Windows VMs in the Managed Cluster.
+ WindowsProfile *ManagedClusterWindowsProfile_STATUS_ARM `json:"windowsProfile,omitempty"`
+
+ // WorkloadAutoScalerProfile: Workload Auto-scaler profile for the managed cluster.
+ WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM `json:"workloadAutoScalerProfile,omitempty"`
+}
+
+// The SKU of a Managed Cluster.
+type ManagedClusterSKU_STATUS_ARM struct {
+ // Name: The name of a managed cluster SKU.
+ Name *ManagedClusterSKU_Name_STATUS `json:"name,omitempty"`
+
+ // Tier: If not specified, the default is 'Free'. See [AKS Pricing
+ // Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
+ Tier *ManagedClusterSKU_Tier_STATUS `json:"tier,omitempty"`
+}
+
+// Metadata pertaining to creation and last modification of the resource.
+type SystemData_STATUS_ARM struct {
+ // CreatedAt: The timestamp of resource creation (UTC).
+ CreatedAt *string `json:"createdAt,omitempty"`
+
+ // CreatedBy: The identity that created the resource.
+ CreatedBy *string `json:"createdBy,omitempty"`
+
+ // CreatedByType: The type of identity that created the resource.
+ CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`
+
+ // LastModifiedAt: The timestamp of resource last modification (UTC)
+ LastModifiedAt *string `json:"lastModifiedAt,omitempty"`
+
+ // LastModifiedBy: The identity that last modified the resource.
+ LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
+
+ // LastModifiedByType: The type of identity that last modified the resource.
+ LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
+}
+
+// Settings for upgrading a cluster.
+type ClusterUpgradeSettings_STATUS_ARM struct {
+ // OverrideSettings: Settings for overrides.
+ OverrideSettings *UpgradeOverrideSettings_STATUS_ARM `json:"overrideSettings,omitempty"`
+}
+
+// Profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile_STATUS_ARM struct {
+ // AdminUsername: The administrator username to use for Linux VMs.
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // Ssh: The SSH configuration for Linux-based VMs running on Azure.
+ Ssh *ContainerServiceSshConfiguration_STATUS_ARM `json:"ssh,omitempty"`
+}
+
+// Profile of network configuration.
+type ContainerServiceNetworkProfile_STATUS_ARM struct {
+ // AdvancedNetworking: Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced
+ // networking features may incur additional costs. For more information see aka.ms/aksadvancednetworking.
+ AdvancedNetworking *AdvancedNetworking_STATUS_ARM `json:"advancedNetworking,omitempty"`
+
+ // DnsServiceIP: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address
+ // range specified in serviceCidr.
+ DnsServiceIP *string `json:"dnsServiceIP,omitempty"`
+
+ // IpFamilies: IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value
+ // is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
+ IpFamilies []IpFamily_STATUS `json:"ipFamilies"`
+
+ // KubeProxyConfig: Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy
+ // defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/
+ // where is represented by a - string. Kubernetes version 1.23 would be '1-23'.
+ KubeProxyConfig *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM `json:"kubeProxyConfig,omitempty"`
+
+ // LoadBalancerProfile: Profile of the cluster load balancer.
+ LoadBalancerProfile *ManagedClusterLoadBalancerProfile_STATUS_ARM `json:"loadBalancerProfile,omitempty"`
+
+ // LoadBalancerSku: The default is 'standard'. See [Azure Load Balancer
+ // SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load
+ // balancer SKUs.
+ LoadBalancerSku *LoadBalancerSku_STATUS `json:"loadBalancerSku,omitempty"`
+
+ // NatGatewayProfile: Profile of the cluster NAT gateway.
+ NatGatewayProfile *ManagedClusterNATGatewayProfile_STATUS_ARM `json:"natGatewayProfile,omitempty"`
+
+ // NetworkDataplane: Network dataplane used in the Kubernetes cluster.
+ NetworkDataplane *NetworkDataplane_STATUS `json:"networkDataplane,omitempty"`
+
+ // NetworkMode: This cannot be specified if networkPlugin is anything other than 'azure'.
+ NetworkMode *NetworkMode_STATUS `json:"networkMode,omitempty"`
+
+ // NetworkPlugin: Network plugin used for building the Kubernetes network.
+ NetworkPlugin *NetworkPlugin_STATUS `json:"networkPlugin,omitempty"`
+
+ // NetworkPluginMode: Network plugin mode used for building the Kubernetes network.
+ NetworkPluginMode *NetworkPluginMode_STATUS `json:"networkPluginMode,omitempty"`
+
+ // NetworkPolicy: Network policy used for building the Kubernetes network.
+ NetworkPolicy *NetworkPolicy_STATUS `json:"networkPolicy,omitempty"`
+
+ // OutboundType: This can only be set at cluster creation time and cannot be changed later. For more information see
+ // [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype).
+ OutboundType *ContainerServiceNetworkProfile_OutboundType_STATUS `json:"outboundType,omitempty"`
+
+ // PodCidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used.
+ PodCidr *string `json:"podCidr,omitempty"`
+
+ // PodCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking.
+ PodCidrs []string `json:"podCidrs"`
+
+ // PodLinkLocalAccess: Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods
+ // with hostNetwork=false. if not specified, the default is 'IMDS'.
+ PodLinkLocalAccess *PodLinkLocalAccess_STATUS `json:"podLinkLocalAccess,omitempty"`
+
+ // ServiceCidr: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP
+ // ranges.
+ ServiceCidr *string `json:"serviceCidr,omitempty"`
+
+ // ServiceCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
+ ServiceCidrs []string `json:"serviceCidrs"`
+
+ // StaticEgressGatewayProfile: The profile for Static Egress Gateway addon. For more details about Static Egress Gateway,
+ // see https://aka.ms/aks/static-egress-gateway.
+ StaticEgressGatewayProfile *ManagedClusterStaticEgressGatewayProfile_STATUS_ARM `json:"staticEgressGatewayProfile,omitempty"`
+}
+
+// Data used when creating a target resource from a source resource.
+type CreationData_STATUS_ARM struct {
+ // SourceResourceId: This is the ARM ID of the source object to be used to create the target object.
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
+
+// Delegated resource properties - internal use only.
+type DelegatedResource_STATUS_ARM struct {
+ // Location: The source resource location - internal use only.
+ Location *string `json:"location,omitempty"`
+
+ // ReferralResource: The delegation id of the referral delegation (optional) - internal use only.
+ ReferralResource *string `json:"referralResource,omitempty"`
+
+ // ResourceId: The ARM resource id of the delegated resource - internal use only.
+ ResourceId *string `json:"resourceId,omitempty"`
+
+ // TenantId: The tenant id of the delegated resource - internal use only.
+ TenantId *string `json:"tenantId,omitempty"`
+}
+
+// The type of extendedLocation.
+type ExtendedLocationType_STATUS string
+
+const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
+// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
+type ManagedClusterAADProfile_STATUS_ARM struct {
+ // AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
+ AdminGroupObjectIDs []string `json:"adminGroupObjectIDs"`
+
+ // ClientAppID: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ClientAppID *string `json:"clientAppID,omitempty"`
+
+ // EnableAzureRBAC: Whether to enable Azure RBAC for Kubernetes authorization.
+ EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"`
+
+ // Managed: Whether to enable managed AAD.
+ Managed *bool `json:"managed,omitempty"`
+
+ // ServerAppID: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppID *string `json:"serverAppID,omitempty"`
+
+ // ServerAppSecret: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppSecret *string `json:"serverAppSecret,omitempty"`
+
+ // TenantID: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment
+ // subscription.
+ TenantID *string `json:"tenantID,omitempty"`
+}
+
+// A Kubernetes add-on profile for a managed cluster.
+type ManagedClusterAddonProfile_STATUS_ARM struct {
+ // Config: Key-value pairs for configuring an add-on.
+ Config map[string]string `json:"config"`
+
+ // Enabled: Whether the add-on is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Identity: Information of user assigned identity used by this add-on.
+ Identity *UserAssignedIdentity_STATUS_ARM `json:"identity,omitempty"`
+}
+
+// Profile for the container service agent pool.
+type ManagedClusterAgentPoolProfile_STATUS_ARM struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_STATUS_ARM `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones"`
+
+ // CapacityReservationGroupID: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData_STATUS_ARM `json:"creationData,omitempty"`
+
+ // CurrentOrchestratorVersion: If orchestratorVersion was a fully specified version , this field will be
+ // exactly equal to it. If orchestratorVersion was , this field will contain the full
+ // version being used.
+ CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"`
+
+ // ETag: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
+ // updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic
+ // concurrency per the normal etag convention.
+ ETag *string `json:"eTag,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile_STATUS_ARM `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile_STATUS `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile_STATUS_ARM `json:"gpuProfile,omitempty"`
+
+ // HostGroupID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig_STATUS_ARM `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType_STATUS `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig_STATUS_ARM `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode_STATUS `json:"mode,omitempty"`
+
+ // Name: Windows agent pool names must be 6 characters or less.
+ Name *string `json:"name,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile_STATUS_ARM `json:"networkProfile,omitempty"`
+
+ // NodeImageVersion: The version of node image
+ NodeImageVersion *string `json:"nodeImageVersion,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels"`
+
+ // NodePublicIPPrefixID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType_STATUS `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU_STATUS `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType_STATUS `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode_STATUS `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetID: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is
+ // of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState_STATUS_ARM `json:"powerState,omitempty"`
+
+ // ProvisioningState: The current deployment or provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+
+ // ProximityPlacementGroupID: The ID for Proximity Placement Group.
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode_STATUS `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy_STATUS `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority_STATUS `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile_STATUS_ARM `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType_STATUS `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings_STATUS_ARM `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_STATUS_ARM `json:"virtualMachineNodesStatus"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile_STATUS_ARM `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetID: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified,
+ // this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile_STATUS_ARM `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime_STATUS `json:"workloadRuntime,omitempty"`
+}
+
+// When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator
+// automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and
+// enables distributed inference against them.
+type ManagedClusterAIToolchainOperatorProfile_STATUS_ARM struct {
+ // Enabled: Indicates if AI toolchain operator enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Access profile for managed cluster API server.
+type ManagedClusterAPIServerAccessProfile_STATUS_ARM struct {
+ // AuthorizedIPRanges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with
+ // clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API
+ // server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges).
+ AuthorizedIPRanges []string `json:"authorizedIPRanges"`
+
+ // DisableRunCommand: Whether to disable run command for the cluster or not.
+ DisableRunCommand *bool `json:"disableRunCommand,omitempty"`
+
+ // EnablePrivateCluster: For more details, see [Creating a private AKS
+ // cluster](https://docs.microsoft.com/azure/aks/private-clusters).
+ EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
+
+ // EnablePrivateClusterPublicFQDN: Whether to create additional public FQDN for private cluster or not.
+ EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"`
+
+ // EnableVnetIntegration: Whether to enable apiserver vnet integration for the cluster or not.
+ EnableVnetIntegration *bool `json:"enableVnetIntegration,omitempty"`
+
+ // PrivateDNSZone: The default is System. For more details see [configure private DNS
+ // zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and
+ // 'none'.
+ PrivateDNSZone *string `json:"privateDNSZone,omitempty"`
+
+ // SubnetId: It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable
+ // apiserver vnet integration.
+ SubnetId *string `json:"subnetId,omitempty"`
+}
+
+// Auto upgrade profile for a managed cluster.
+type ManagedClusterAutoUpgradeProfile_STATUS_ARM struct {
+ // NodeOSUpgradeChannel: The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA.
+ NodeOSUpgradeChannel *ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS `json:"nodeOSUpgradeChannel,omitempty"`
+
+ // UpgradeChannel: For more information see [setting the AKS cluster auto-upgrade
+ // channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel).
+ UpgradeChannel *ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS `json:"upgradeChannel,omitempty"`
+}
+
+// Prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfile_STATUS_ARM struct {
+ // AppMonitoring: Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics
+ // and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM `json:"appMonitoring,omitempty"`
+
+ // ContainerInsights: Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout &
+ // stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview.
+ ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM `json:"containerInsights,omitempty"`
+
+ // Metrics: Metrics profile for the prometheus service addon
+ Metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM `json:"metrics,omitempty"`
+}
+
+// The bootstrap profile.
+type ManagedClusterBootstrapProfile_STATUS_ARM struct {
+ // ArtifactSource: The source where the artifacts are downloaded from.
+ ArtifactSource *ManagedClusterBootstrapProfile_ArtifactSource_STATUS `json:"artifactSource,omitempty"`
+
+ // ContainerRegistryId: The resource Id of Azure Container Registry. The registry must have private network access, premium
+ // SKU and zone redundancy.
+ ContainerRegistryId *string `json:"containerRegistryId,omitempty"`
+}
+
+// Cluster HTTP proxy configuration.
+type ManagedClusterHTTPProxyConfig_STATUS_ARM struct {
+ // EffectiveNoProxy: A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a
+ // superset of noProxy and values injected by AKS.
+ EffectiveNoProxy []string `json:"effectiveNoProxy"`
+
+ // HttpProxy: The HTTP proxy server endpoint to use.
+ HttpProxy *string `json:"httpProxy,omitempty"`
+
+ // HttpsProxy: The HTTPS proxy server endpoint to use.
+ HttpsProxy *string `json:"httpsProxy,omitempty"`
+
+ // NoProxy: The endpoints that should not go through proxy.
+ NoProxy []string `json:"noProxy"`
+
+ // TrustedCa: Alternative CA cert to use for connecting to proxy servers.
+ TrustedCa *string `json:"trustedCa,omitempty"`
+}
+
+type ManagedClusterIdentity_Type_STATUS string
+
+const (
+ ManagedClusterIdentity_Type_STATUS_None = ManagedClusterIdentity_Type_STATUS("None")
+ ManagedClusterIdentity_Type_STATUS_SystemAssigned = ManagedClusterIdentity_Type_STATUS("SystemAssigned")
+ ManagedClusterIdentity_Type_STATUS_UserAssigned = ManagedClusterIdentity_Type_STATUS("UserAssigned")
+)
+
+// Mapping from string to ManagedClusterIdentity_Type_STATUS
+var managedClusterIdentity_Type_STATUS_Values = map[string]ManagedClusterIdentity_Type_STATUS{
+ "none": ManagedClusterIdentity_Type_STATUS_None,
+ "systemassigned": ManagedClusterIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": ManagedClusterIdentity_Type_STATUS_UserAssigned,
+}
+
+type ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM struct {
+ // ClientId: The client id of user assigned identity.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // PrincipalId: The principal id of user assigned identity.
+ PrincipalId *string `json:"principalId,omitempty"`
+}
+
+// Ingress profile for the container service cluster.
+type ManagedClusterIngressProfile_STATUS_ARM struct {
+ // WebAppRouting: Web App Routing settings for the ingress profile.
+ WebAppRouting *ManagedClusterIngressProfileWebAppRouting_STATUS_ARM `json:"webAppRouting,omitempty"`
+}
+
+// The metrics profile for the ManagedCluster.
+type ManagedClusterMetricsProfile_STATUS_ARM struct {
+ // CostAnalysis: The cost analysis configuration for the cluster
+ CostAnalysis *ManagedClusterCostAnalysis_STATUS_ARM `json:"costAnalysis,omitempty"`
+}
+
+type ManagedClusterNodeProvisioningProfile_STATUS_ARM struct {
+ // Mode: Once the mode it set to Auto, it cannot be changed back to Manual.
+ Mode *ManagedClusterNodeProvisioningProfile_Mode_STATUS `json:"mode,omitempty"`
+}
+
+// Node resource group lockdown profile for a managed cluster.
+type ManagedClusterNodeResourceGroupProfile_STATUS_ARM struct {
+ // RestrictionLevel: The restriction level applied to the cluster's node resource group
+ RestrictionLevel *ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS `json:"restrictionLevel,omitempty"`
+}
+
+// The OIDC issuer profile of the Managed Cluster.
+type ManagedClusterOIDCIssuerProfile_STATUS_ARM struct {
+ // Enabled: Whether the OIDC issuer is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IssuerURL: The OIDC issuer url of the Managed Cluster.
+ IssuerURL *string `json:"issuerURL,omitempty"`
+}
+
+// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
+// identity integration.
+type ManagedClusterPodIdentityProfile_STATUS_ARM struct {
+ // AllowNetworkPluginKubenet: Running in Kubenet is disabled by default due to the security related nature of AAD Pod
+ // Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod
+ // Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities)
+ // for more information.
+ AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"`
+
+ // Enabled: Whether the pod identity addon is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // UserAssignedIdentities: The pod identities to use in the cluster.
+ UserAssignedIdentities []ManagedClusterPodIdentity_STATUS_ARM `json:"userAssignedIdentities"`
+
+ // UserAssignedIdentityExceptions: The pod identity exceptions to allow.
+ UserAssignedIdentityExceptions []ManagedClusterPodIdentityException_STATUS_ARM `json:"userAssignedIdentityExceptions"`
+}
+
+type ManagedClusterProperties_AutoScalerProfile_STATUS_ARM struct {
+ // BalanceSimilarNodeGroups: Valid values are 'true' and 'false'
+ BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"`
+
+ // DaemonsetEvictionForEmptyNodes: If set to true, all daemonset pods on empty nodes will be evicted before deletion of the
+ // node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be
+ // deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"`
+
+ // DaemonsetEvictionForOccupiedNodes: If set to true, all daemonset pods on occupied nodes will be evicted before deletion
+ // of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node
+ // will be deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"`
+
+ // Expander: Available values are: 'least-waste', 'most-pods', 'priority', 'random'.
+ Expander *Expander_STATUS `json:"expander,omitempty"`
+
+ // IgnoreDaemonsetsUtilization: If set to true, the resources used by daemonset will be taken into account when making
+ // scaling down decisions.
+ IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"`
+
+ // MaxEmptyBulkDelete: The default is 10.
+ MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"`
+
+ // MaxGracefulTerminationSec: The default is 600.
+ MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"`
+
+ // MaxNodeProvisionTime: The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"`
+
+ // MaxTotalUnreadyPercentage: The default is 45. The maximum is 100 and the minimum is 0.
+ MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"`
+
+ // NewPodScaleUpDelay: For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler
+ // could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is
+ // '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
+ NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"`
+
+ // OkTotalUnreadyCount: This must be an integer. The default is 3.
+ OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"`
+
+ // ScaleDownDelayAfterAdd: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"`
+
+ // ScaleDownDelayAfterDelete: The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of
+ // time other than minutes (m) is supported.
+ ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"`
+
+ // ScaleDownDelayAfterFailure: The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other
+ // than minutes (m) is supported.
+ ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"`
+
+ // ScaleDownUnneededTime: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"`
+
+ // ScaleDownUnreadyTime: The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"`
+
+ // ScaleDownUtilizationThreshold: The default is '0.5'.
+ ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"`
+
+ // ScanInterval: The default is '10'. Values must be an integer number of seconds.
+ ScanInterval *string `json:"scan-interval,omitempty"`
+
+ // SkipNodesWithLocalStorage: The default is true.
+ SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"`
+
+ // SkipNodesWithSystemPods: The default is true.
+ SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"`
+}
+
+// Security profile for the container service cluster.
+type ManagedClusterSecurityProfile_STATUS_ARM struct {
+ // AzureKeyVaultKms: Azure Key Vault [key management
+ // service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.
+ AzureKeyVaultKms *AzureKeyVaultKms_STATUS_ARM `json:"azureKeyVaultKms,omitempty"`
+
+ // CustomCATrustCertificates: A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the
+ // Custom CA Trust feature enabled. For more information see [Custom CA Trust
+ // Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority)
+ CustomCATrustCertificates []string `json:"customCATrustCertificates"`
+
+ // Defender: Microsoft Defender settings for the security profile.
+ Defender *ManagedClusterSecurityProfileDefender_STATUS_ARM `json:"defender,omitempty"`
+
+ // ImageCleaner: Image Cleaner settings for the security profile.
+ ImageCleaner *ManagedClusterSecurityProfileImageCleaner_STATUS_ARM `json:"imageCleaner,omitempty"`
+
+ // ImageIntegrity: Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This
+ // will not have any effect unless Azure Policy is applied to enforce image signatures. See
+ // https://aka.ms/aks/image-integrity for how to use this feature via policy.
+ ImageIntegrity *ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM `json:"imageIntegrity,omitempty"`
+
+ // NodeRestriction: [Node
+ // Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings
+ // for the security profile.
+ NodeRestriction *ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM `json:"nodeRestriction,omitempty"`
+
+ // WorkloadIdentity: Workload identity settings for the security profile. Workload identity enables Kubernetes applications
+ // to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.
+ WorkloadIdentity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM `json:"workloadIdentity,omitempty"`
+}
+
+// Information about a service principal identity for the cluster to use for manipulating Azure APIs.
+type ManagedClusterServicePrincipalProfile_STATUS_ARM struct {
+ // ClientId: The ID for the service principal.
+ ClientId *string `json:"clientId,omitempty"`
+}
+
+type ManagedClusterSKU_Name_STATUS string
+
+const (
+ ManagedClusterSKU_Name_STATUS_Automatic = ManagedClusterSKU_Name_STATUS("Automatic")
+ ManagedClusterSKU_Name_STATUS_Base = ManagedClusterSKU_Name_STATUS("Base")
+)
+
+// Mapping from string to ManagedClusterSKU_Name_STATUS
+var managedClusterSKU_Name_STATUS_Values = map[string]ManagedClusterSKU_Name_STATUS{
+ "automatic": ManagedClusterSKU_Name_STATUS_Automatic,
+ "base": ManagedClusterSKU_Name_STATUS_Base,
+}
+
+type ManagedClusterSKU_Tier_STATUS string
+
+const (
+ ManagedClusterSKU_Tier_STATUS_Free = ManagedClusterSKU_Tier_STATUS("Free")
+ ManagedClusterSKU_Tier_STATUS_Premium = ManagedClusterSKU_Tier_STATUS("Premium")
+ ManagedClusterSKU_Tier_STATUS_Standard = ManagedClusterSKU_Tier_STATUS("Standard")
+)
+
+// Mapping from string to ManagedClusterSKU_Tier_STATUS
+var managedClusterSKU_Tier_STATUS_Values = map[string]ManagedClusterSKU_Tier_STATUS{
+ "free": ManagedClusterSKU_Tier_STATUS_Free,
+ "premium": ManagedClusterSKU_Tier_STATUS_Premium,
+ "standard": ManagedClusterSKU_Tier_STATUS_Standard,
+}
+
+// Storage profile for the container service cluster.
+type ManagedClusterStorageProfile_STATUS_ARM struct {
+ // BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
+ BlobCSIDriver *ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM `json:"blobCSIDriver,omitempty"`
+
+ // DiskCSIDriver: AzureDisk CSI Driver settings for the storage profile.
+ DiskCSIDriver *ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM `json:"diskCSIDriver,omitempty"`
+
+ // FileCSIDriver: AzureFile CSI Driver settings for the storage profile.
+ FileCSIDriver *ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM `json:"fileCSIDriver,omitempty"`
+
+ // SnapshotController: Snapshot Controller settings for the storage profile.
+ SnapshotController *ManagedClusterStorageProfileSnapshotController_STATUS_ARM `json:"snapshotController,omitempty"`
+}
+
+// Profile for Windows VMs in the managed cluster.
+type ManagedClusterWindowsProfile_STATUS_ARM struct {
+ // AdminUsername: Specifies the name of the administrator account.
+ // Restriction: Cannot end in "."
+ // Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
+ // "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server",
+ // "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
+ // Minimum-length: 1 character
+ // Max-length: 20 characters
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // EnableCSIProxy: For more details on CSI proxy, see the [CSI proxy GitHub
+ // repo](https://github.com/kubernetes-csi/csi-proxy).
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+
+ // GmsaProfile: The Windows gMSA Profile in the Managed Cluster.
+ GmsaProfile *WindowsGmsaProfile_STATUS_ARM `json:"gmsaProfile,omitempty"`
+
+ // LicenseType: The license type to use for Windows VMs. See [Azure Hybrid User
+ // Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.
+ LicenseType *ManagedClusterWindowsProfile_LicenseType_STATUS `json:"licenseType,omitempty"`
+}
+
+// Workload Auto-scaler profile for the managed cluster.
+type ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM struct {
+ // Keda: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+ Keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM `json:"keda,omitempty"`
+ VerticalPodAutoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM `json:"verticalPodAutoscaler,omitempty"`
+}
+
+// Describes the Power State of the cluster
+type PowerState_STATUS_ARM struct {
+ // Code: Tells whether the cluster is Running or Stopped
+ Code *PowerState_Code_STATUS `json:"code,omitempty"`
+}
+
+// A private link resource
+type PrivateLinkResource_STATUS_ARM struct {
+ // GroupId: The group ID of the resource.
+ GroupId *string `json:"groupId,omitempty"`
+
+ // Id: The ID of the private link resource.
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the private link resource.
+ Name *string `json:"name,omitempty"`
+
+ // PrivateLinkServiceID: The private link service ID of the resource, this field is exposed only to NRP internally.
+ PrivateLinkServiceID *string `json:"privateLinkServiceID,omitempty"`
+
+ // RequiredMembers: The RequiredMembers of the resource
+ RequiredMembers []string `json:"requiredMembers"`
+
+ // Type: The resource type.
+ Type *string `json:"type,omitempty"`
+}
+
+// The Safeguards profile.
+type SafeguardsProfile_STATUS_ARM struct {
+ // ExcludedNamespaces: List of namespaces excluded from Safeguards checks
+ ExcludedNamespaces []string `json:"excludedNamespaces"`
+
+ // Level: The Safeguards level to be used. By default, Safeguards is enabled for all namespaces except those that AKS
+ // excludes via systemExcludedNamespaces
+ Level *SafeguardsProfile_Level_STATUS `json:"level,omitempty"`
+
+ // SystemExcludedNamespaces: List of namespaces specified by AKS to be excluded from Safeguards
+ SystemExcludedNamespaces []string `json:"systemExcludedNamespaces"`
+
+ // Version: The version of constraints to use
+ Version *string `json:"version,omitempty"`
+}
+
+// Service mesh profile for a managed cluster.
+type ServiceMeshProfile_STATUS_ARM struct {
+ // Istio: Istio service mesh configuration.
+ Istio *IstioServiceMesh_STATUS_ARM `json:"istio,omitempty"`
+
+ // Mode: Mode of the service mesh.
+ Mode *ServiceMeshProfile_Mode_STATUS `json:"mode,omitempty"`
+}
+
+type SystemData_CreatedByType_STATUS string
+
+const (
+ SystemData_CreatedByType_STATUS_Application = SystemData_CreatedByType_STATUS("Application")
+ SystemData_CreatedByType_STATUS_Key = SystemData_CreatedByType_STATUS("Key")
+ SystemData_CreatedByType_STATUS_ManagedIdentity = SystemData_CreatedByType_STATUS("ManagedIdentity")
+ SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
+)
+
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
+type SystemData_LastModifiedByType_STATUS string
+
+const (
+ SystemData_LastModifiedByType_STATUS_Application = SystemData_LastModifiedByType_STATUS("Application")
+ SystemData_LastModifiedByType_STATUS_Key = SystemData_LastModifiedByType_STATUS("Key")
+ SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
+ SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
+)
+
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
+
+// Details about a user assigned identity.
+type UserAssignedIdentity_STATUS_ARM struct {
+ // ClientId: The client ID of the user assigned identity.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // ObjectId: The object ID of the user assigned identity.
+ ObjectId *string `json:"objectId,omitempty"`
+
+ // ResourceId: The resource ID of the user assigned identity.
+ ResourceId *string `json:"resourceId,omitempty"`
+}
+
+// Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may
+// incur additional costs. For more information see aka.ms/aksadvancednetworking.
+type AdvancedNetworking_STATUS_ARM struct {
+ // Observability: Observability profile to enable advanced network metrics and flow logs with historical contexts.
+ Observability *AdvancedNetworkingObservability_STATUS_ARM `json:"observability,omitempty"`
+}
+
+// Azure Key Vault key management service settings for the security profile.
+type AzureKeyVaultKms_STATUS_ARM struct {
+ // Enabled: Whether to enable Azure Key Vault key management service. The default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KeyId: Identifier of Azure Key Vault key. See [key identifier
+ // format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name)
+ // for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key
+ // identifier. When Azure Key Vault key management service is disabled, leave the field empty.
+ KeyId *string `json:"keyId,omitempty"`
+
+ // KeyVaultNetworkAccess: Network access of key vault. The possible values are `Public` and `Private`. `Public` means the
+ // key vault allows public access from all networks. `Private` means the key vault disables public access and enables
+ // private link. The default value is `Public`.
+ KeyVaultNetworkAccess *AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS `json:"keyVaultNetworkAccess,omitempty"`
+
+ // KeyVaultResourceId: Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must
+ // be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty.
+ KeyVaultResourceId *string `json:"keyVaultResourceId,omitempty"`
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM struct {
+ // Enabled: Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by
+ // default without these customizations).
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IpvsConfig: Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'.
+ IpvsConfig *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM `json:"ipvsConfig,omitempty"`
+
+ // Mode: Specify which proxy mode to use ('IPTABLES' or 'IPVS')
+ Mode *ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS `json:"mode,omitempty"`
+}
+
+// SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSshConfiguration_STATUS_ARM struct {
+ // PublicKeys: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
+ PublicKeys []ContainerServiceSshPublicKey_STATUS_ARM `json:"publicKeys"`
+}
+
+// Istio service mesh configuration.
+type IstioServiceMesh_STATUS_ARM struct {
+ // CertificateAuthority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin
+ // certificates as described here https://aka.ms/asm-plugin-ca
+ CertificateAuthority *IstioCertificateAuthority_STATUS_ARM `json:"certificateAuthority,omitempty"`
+
+ // Components: Istio components configuration.
+ Components *IstioComponents_STATUS_ARM `json:"components,omitempty"`
+
+ // Revisions: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value.
+ // When canary upgrade is in progress, this can only hold two consecutive values. For more information, see:
+ // https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
+ Revisions []string `json:"revisions"`
+}
+
+// Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces
+// through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM struct {
+ // AutoInstrumentation: Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook
+ // to auto-instrument Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the
+ // application. See aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AutoInstrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM `json:"autoInstrumentation,omitempty"`
+
+ // OpenTelemetryLogs: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and
+ // Traces. Collects OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryLogs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM `json:"openTelemetryLogs,omitempty"`
+
+ // OpenTelemetryMetrics: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container
+ // Metrics. Collects OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM `json:"openTelemetryMetrics,omitempty"`
+}
+
+// Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See
+// aka.ms/AzureMonitorContainerInsights for an overview.
+type ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM struct {
+ // DisableCustomMetrics: Indicates whether custom metrics collection has to be disabled or not. If not specified the
+ // default is false. No custom metrics will be emitted if this field is false but the container insights enabled field is
+ // false
+ DisableCustomMetrics *bool `json:"disableCustomMetrics,omitempty"`
+
+ // DisablePrometheusMetricsScraping: Indicates whether prometheus metrics scraping is disabled or not. If not specified the
+ // default is false. No prometheus metrics will be emitted if this field is false but the container insights enabled field
+ // is false
+ DisablePrometheusMetricsScraping *bool `json:"disablePrometheusMetricsScraping,omitempty"`
+
+ // Enabled: Indicates if Azure Monitor Container Insights Logs Addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // LogAnalyticsWorkspaceResourceId: Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing Azure
+ // Monitor Container Insights Logs.
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+
+ // SyslogPort: The syslog host port. If not specified, the default port is 28330.
+ SyslogPort *int `json:"syslogPort,omitempty"`
+}
+
+// Metrics profile for the prometheus service addon
+type ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM struct {
+ // Enabled: Whether to enable the Prometheus collector
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KubeStateMetrics: Kube State Metrics for prometheus addon profile for the container service cluster
+ KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM `json:"kubeStateMetrics,omitempty"`
+}
+
+// The cost analysis configuration for the cluster
+type ManagedClusterCostAnalysis_STATUS_ARM struct {
+ // Enabled: The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will
+ // add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the
+ // default is false. For more information see aka.ms/aks/docs/cost-analysis.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Web App Routing settings for the ingress profile.
+type ManagedClusterIngressProfileWebAppRouting_STATUS_ARM struct {
+ // DnsZoneResourceIds: Resource IDs of the DNS zones to be associated with the Web App Routing add-on. Used only when Web
+ // App Routing is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must
+ // be in the same resource group and all private DNS zones must be in the same resource group.
+ DnsZoneResourceIds []string `json:"dnsZoneResourceIds"`
+
+ // Enabled: Whether to enable Web App Routing.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Identity: Managed identity of the Web Application Routing add-on. This is the identity that should be granted
+ // permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See
+ // [this overview of the add-on](https://learn.microsoft.com/en-us/azure/aks/web-app-routing?tabs=with-osm) for more
+ // instructions.
+ Identity *UserAssignedIdentity_STATUS_ARM `json:"identity,omitempty"`
+}
+
+// Profile of the managed cluster load balancer.
+type ManagedClusterLoadBalancerProfile_STATUS_ARM struct {
+ // AllocatedOutboundPorts: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000
+ // (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
+ AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
+
+ // BackendPoolType: The type of the managed inbound Load Balancer BackendPool.
+ BackendPoolType *ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS `json:"backendPoolType,omitempty"`
+
+ // ClusterServiceLoadBalancerHealthProbeMode: The health probing behavior for External Traffic Policy Cluster services.
+ ClusterServiceLoadBalancerHealthProbeMode *ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS `json:"clusterServiceLoadBalancerHealthProbeMode,omitempty"`
+
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster load balancer.
+ EffectiveOutboundIPs []ResourceReference_STATUS_ARM `json:"effectiveOutboundIPs"`
+
+ // EnableMultipleStandardLoadBalancers: Enable multiple standard load balancers per AKS cluster or not.
+ EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"`
+
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 30 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPs: Desired managed outbound IPs for the cluster load balancer.
+ ManagedOutboundIPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM `json:"managedOutboundIPs,omitempty"`
+
+ // OutboundIPPrefixes: Desired outbound IP Prefix resources for the cluster load balancer.
+ OutboundIPPrefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM `json:"outboundIPPrefixes,omitempty"`
+
+ // OutboundIPs: Desired outbound IP resources for the cluster load balancer.
+ OutboundIPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM `json:"outboundIPs,omitempty"`
+}
+
+// Profile of the managed cluster NAT gateway.
+type ManagedClusterNATGatewayProfile_STATUS_ARM struct {
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster NAT gateway.
+ EffectiveOutboundIPs []ResourceReference_STATUS_ARM `json:"effectiveOutboundIPs"`
+
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 4 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPProfile: Profile of the managed outbound IP resources of the cluster NAT gateway.
+ ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile_STATUS_ARM `json:"managedOutboundIPProfile,omitempty"`
+}
+
+// Details about the pod identity assigned to the Managed Cluster.
+type ManagedClusterPodIdentity_STATUS_ARM struct {
+ // BindingSelector: The binding selector to use for the AzureIdentityBinding resource.
+ BindingSelector *string `json:"bindingSelector,omitempty"`
+
+ // Identity: The user assigned identity details.
+ Identity *UserAssignedIdentity_STATUS_ARM `json:"identity,omitempty"`
+
+ // Name: The name of the pod identity.
+ Name *string `json:"name,omitempty"`
+
+ // Namespace: The namespace of the pod identity.
+ Namespace *string `json:"namespace,omitempty"`
+ ProvisioningInfo *ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM `json:"provisioningInfo,omitempty"`
+
+ // ProvisioningState: The current provisioning state of the pod identity.
+ ProvisioningState *ManagedClusterPodIdentity_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
+}
+
+// See [disable AAD Pod Identity for a specific
+// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
+type ManagedClusterPodIdentityException_STATUS_ARM struct {
+ // Name: The name of the pod identity exception.
+ Name *string `json:"name,omitempty"`
+
+ // Namespace: The namespace of the pod identity exception.
+ Namespace *string `json:"namespace,omitempty"`
+
+ // PodLabels: The pod labels to match.
+ PodLabels map[string]string `json:"podLabels"`
+}
+
+// Microsoft Defender settings for the security profile.
+type ManagedClusterSecurityProfileDefender_STATUS_ARM struct {
+ // LogAnalyticsWorkspaceResourceId: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender.
+ // When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft
+ // Defender is disabled, leave the field empty.
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+
+ // SecurityMonitoring: Microsoft Defender threat detection for Cloud settings for the security profile.
+ SecurityMonitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM `json:"securityMonitoring,omitempty"`
+}
+
+// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here
+// are settings for the security profile.
+type ManagedClusterSecurityProfileImageCleaner_STATUS_ARM struct {
+ // Enabled: Whether to enable Image Cleaner on AKS cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IntervalHours: Image Cleaner scanning interval in hours.
+ IntervalHours *int `json:"intervalHours,omitempty"`
+}
+
+// Image integrity related settings for the security profile.
+type ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM struct {
+ // Enabled: Whether to enable image integrity. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Node Restriction settings for the security profile.
+type ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM struct {
+ // Enabled: Whether to enable Node Restriction
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Workload identity settings for the security profile.
+type ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM struct {
+ // Enabled: Whether to enable workload identity.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// The Static Egress Gateway addon configuration for the cluster.
+type ManagedClusterStaticEgressGatewayProfile_STATUS_ARM struct {
+ // Enabled: Indicates if Static Egress Gateway addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// AzureBlob CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM struct {
+ // Enabled: Whether to enable AzureBlob CSI Driver. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// AzureDisk CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM struct {
+ // Enabled: Whether to enable AzureDisk CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Version: The version of AzureDisk CSI Driver. The default value is v1.
+ Version *string `json:"version,omitempty"`
+}
+
+// AzureFile CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM struct {
+ // Enabled: Whether to enable AzureFile CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Snapshot Controller settings for the storage profile.
+type ManagedClusterStorageProfileSnapshotController_STATUS_ARM struct {
+ // Enabled: Whether to enable Snapshot Controller. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+type ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM struct {
+ // Enabled: Whether to enable KEDA.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM struct {
+ // AddonAutoscaling: Whether VPA add-on is enabled and configured to scale AKS-managed add-ons.
+ AddonAutoscaling *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS `json:"addonAutoscaling,omitempty"`
+
+ // Enabled: Whether to enable VPA add-on in cluster. Default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Settings for overrides when upgrading a cluster.
+type UpgradeOverrideSettings_STATUS_ARM struct {
+ // ForceUpgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade
+ // protections such as checking for deprecated API usage. Enable this option only with caution.
+ ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
+
+ // Until: Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the
+ // effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set
+ // by default. It must be set for the overrides to take effect.
+ Until *string `json:"until,omitempty"`
+}
+
+// Windows gMSA Profile in the managed cluster.
+type WindowsGmsaProfile_STATUS_ARM struct {
+ // DnsServer: Specifies the DNS server for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ DnsServer *string `json:"dnsServer,omitempty"`
+
+ // Enabled: Specifies whether to enable Windows gMSA in the managed cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // RootDomainName: Specifies the root domain name for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ RootDomainName *string `json:"rootDomainName,omitempty"`
+}
+
+// Observability profile to enable advanced network metrics and flow logs with historical contexts.
+type AdvancedNetworkingObservability_STATUS_ARM struct {
+ // Enabled: Indicates the enablement of Advanced Networking observability functionalities on clusters.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM struct {
+ // Scheduler: IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html.
+ Scheduler *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS `json:"scheduler,omitempty"`
+
+ // TcpFinTimeoutSeconds: The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive
+ // integer value.
+ TcpFinTimeoutSeconds *int `json:"tcpFinTimeoutSeconds,omitempty"`
+
+ // TcpTimeoutSeconds: The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value.
+ TcpTimeoutSeconds *int `json:"tcpTimeoutSeconds,omitempty"`
+
+ // UdpTimeoutSeconds: The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value.
+ UdpTimeoutSeconds *int `json:"udpTimeoutSeconds,omitempty"`
+}
+
+// Contains information about SSH certificate public key data.
+type ContainerServiceSshPublicKey_STATUS_ARM struct {
+ // KeyData: Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or
+ // without headers.
+ KeyData *string `json:"keyData,omitempty"`
+}
+
+// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described
+// here https://aka.ms/asm-plugin-ca
+type IstioCertificateAuthority_STATUS_ARM struct {
+ // Plugin: Plugin certificates information for Service Mesh.
+ Plugin *IstioPluginCertificateAuthority_STATUS_ARM `json:"plugin,omitempty"`
+}
+
+// Istio components configuration.
+type IstioComponents_STATUS_ARM struct {
+ // EgressGateways: Istio egress gateways.
+ EgressGateways []IstioEgressGateway_STATUS_ARM `json:"egressGateways"`
+
+ // IngressGateways: Istio ingress gateways.
+ IngressGateways []IstioIngressGateway_STATUS_ARM `json:"ingressGateways"`
+}
+
+// Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook to auto-instrument
+// Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the application. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM struct {
+ // Enabled: Indicates if Application Monitoring Auto Instrumentation is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and Traces. Collects
+// OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Logs and traces is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry logs and traces. If not specified, the default port is 28331.
+ Port *int `json:"port,omitempty"`
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects
+// OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Metrics is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry metrics. If not specified, the default port is 28333.
+ Port *int `json:"port,omitempty"`
+}
+
+// Kube State Metrics for prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM struct {
+ // MetricAnnotationsAllowList: Comma-separated list of additional Kubernetes label keys that will be used in the resource's
+ // labels metric.
+ MetricAnnotationsAllowList *string `json:"metricAnnotationsAllowList,omitempty"`
+
+ // MetricLabelsAllowlist: Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels
+ // metric.
+ MetricLabelsAllowlist *string `json:"metricLabelsAllowlist,omitempty"`
+}
+
+type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM struct {
+ // Count: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values
+ // must be in the range of 1 to 100 (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CountIPv6: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed
+ // values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
+ CountIPv6 *int `json:"countIPv6,omitempty"`
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM struct {
+ // PublicIPPrefixes: A list of public IP prefix resources.
+ PublicIPPrefixes []ResourceReference_STATUS_ARM `json:"publicIPPrefixes"`
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM struct {
+ // PublicIPs: A list of public IP resources.
+ PublicIPs []ResourceReference_STATUS_ARM `json:"publicIPs"`
+}
+
+// Profile of the managed outbound IP resources of the managed cluster.
+type ManagedClusterManagedOutboundIPProfile_STATUS_ARM struct {
+ // Count: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16
+ // (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+}
+
+type ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM struct {
+ // Error: Pod identity assignment error (if any).
+ Error *ManagedClusterPodIdentityProvisioningError_STATUS_ARM `json:"error,omitempty"`
+}
+
+// Microsoft Defender settings for the security profile threat detection.
+type ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM struct {
+ // Enabled: Whether to enable Defender threat detection
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// A reference to an Azure resource.
+type ResourceReference_STATUS_ARM struct {
+ // Id: The fully qualified Azure resource id.
+ Id *string `json:"id,omitempty"`
+}
+
+// Istio egress gateway configuration.
+type IstioEgressGateway_STATUS_ARM struct {
+ // Enabled: Whether to enable the egress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
+// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
+type IstioIngressGateway_STATUS_ARM struct {
+ // Enabled: Whether to enable the ingress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Mode: Mode of an ingress gateway.
+ Mode *IstioIngressGateway_Mode_STATUS `json:"mode,omitempty"`
+}
+
+// Plugin certificates information for Service Mesh.
+type IstioPluginCertificateAuthority_STATUS_ARM struct {
+ // CertChainObjectName: Certificate chain object name in Azure Key Vault.
+ CertChainObjectName *string `json:"certChainObjectName,omitempty"`
+
+ // CertObjectName: Intermediate certificate object name in Azure Key Vault.
+ CertObjectName *string `json:"certObjectName,omitempty"`
+
+ // KeyObjectName: Intermediate certificate private key object name in Azure Key Vault.
+ KeyObjectName *string `json:"keyObjectName,omitempty"`
+
+ // KeyVaultId: The resource ID of the Key Vault.
+ KeyVaultId *string `json:"keyVaultId,omitempty"`
+
+ // RootCertObjectName: Root certificate object name in Azure Key Vault.
+ RootCertObjectName *string `json:"rootCertObjectName,omitempty"`
+}
+
+// An error response from the pod identity provisioning.
+type ManagedClusterPodIdentityProvisioningError_STATUS_ARM struct {
+ // Error: Details about the error.
+ Error *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM `json:"error,omitempty"`
+}
+
+// An error response from the pod identity provisioning.
+type ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM struct {
+ // Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
+ Code *string `json:"code,omitempty"`
+
+ // Details: A list of additional details about the error.
+ Details []ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM `json:"details"`
+
+ // Message: A message describing the error, intended to be suitable for display in a user interface.
+ Message *string `json:"message,omitempty"`
+
+ // Target: The target of the particular error. For example, the name of the property in error.
+ Target *string `json:"target,omitempty"`
+}
+
+type ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM struct {
+ // Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
+ Code *string `json:"code,omitempty"`
+
+ // Message: A message describing the error, intended to be suitable for display in a user interface.
+ Message *string `json:"message,omitempty"`
+
+ // Target: The target of the particular error. For example, the name of the property in error.
+ Target *string `json:"target,omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_types_gen.go
new file mode 100644
index 0000000000..c74ce0336a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_cluster_types_gen.go
@@ -0,0 +1,30312 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+import (
+ "context"
+ "fmt"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage"
+ "github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
+ "github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps"
+ "github.com/go-logr/logr"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/client"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+ "sigs.k8s.io/controller-runtime/pkg/webhook/admission"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
+type ManagedCluster struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedCluster_Spec `json:"spec,omitempty"`
+ Status ManagedCluster_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &ManagedCluster{}
+
+// GetConditions returns the conditions of the resource
+func (cluster *ManagedCluster) GetConditions() conditions.Conditions {
+ return cluster.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (cluster *ManagedCluster) SetConditions(conditions conditions.Conditions) {
+ cluster.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &ManagedCluster{}
+
+// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
+func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var source storage.ManagedCluster
+
+ err := source.ConvertFrom(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from hub to source")
+ }
+
+ err = cluster.AssignProperties_From_ManagedCluster(&source)
+ if err != nil {
+ return errors.Wrap(err, "converting from source to cluster")
+ }
+
+ return nil
+}
+
+// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
+func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var destination storage.ManagedCluster
+ err := cluster.AssignProperties_To_ManagedCluster(&destination)
+ if err != nil {
+ return errors.Wrap(err, "converting to destination from cluster")
+ }
+ err = destination.ConvertTo(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from destination to hub")
+ }
+
+ return nil
+}
+
+// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1api20240402preview-managedcluster,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1api20240402preview,name=default.v1api20240402preview.managedclusters.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Defaulter = &ManagedCluster{}
+
+// Default applies defaults to the ManagedCluster resource
+func (cluster *ManagedCluster) Default() {
+ cluster.defaultImpl()
+ var temp any = cluster
+ if runtimeDefaulter, ok := temp.(genruntime.Defaulter); ok {
+ runtimeDefaulter.CustomDefault()
+ }
+}
+
+// defaultAzureName defaults the Azure name of the resource to the Kubernetes name
+func (cluster *ManagedCluster) defaultAzureName() {
+ if cluster.Spec.AzureName == "" {
+ cluster.Spec.AzureName = cluster.Name
+ }
+}
+
+// defaultImpl applies the code generated defaults to the ManagedCluster resource
+func (cluster *ManagedCluster) defaultImpl() { cluster.defaultAzureName() }
+
+var _ genruntime.KubernetesExporter = &ManagedCluster{}
+
+// ExportKubernetesResources defines a resource which can create other resources in Kubernetes.
+func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error) {
+ collector := configmaps.NewCollector(cluster.Namespace)
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.OidcIssuerProfile != nil {
+ if cluster.Status.OidcIssuerProfile.IssuerURL != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.OIDCIssuerProfile, *cluster.Status.OidcIssuerProfile.IssuerURL)
+ }
+ }
+ }
+ result, err := collector.Values()
+ if err != nil {
+ return nil, err
+ }
+ return configmaps.SliceToClientObjectSlice(result), nil
+}
+
+var _ genruntime.KubernetesResource = &ManagedCluster{}
+
+// AzureName returns the Azure name of the resource
+func (cluster *ManagedCluster) AzureName() string {
+ return cluster.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (cluster ManagedCluster) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (cluster *ManagedCluster) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (cluster *ManagedCluster) GetSpec() genruntime.ConvertibleSpec {
+ return &cluster.Spec
+}
+
+// GetStatus returns the status of this resource
+func (cluster *ManagedCluster) GetStatus() genruntime.ConvertibleStatus {
+ return &cluster.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (cluster *ManagedCluster) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters"
+func (cluster *ManagedCluster) GetType() string {
+ return "Microsoft.ContainerService/managedClusters"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (cluster *ManagedCluster) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedCluster_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (cluster *ManagedCluster) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(cluster.Spec)
+ return cluster.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (cluster *ManagedCluster) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedCluster_STATUS); ok {
+ cluster.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedCluster_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ cluster.Status = st
+ return nil
+}
+
+// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1api20240402preview-managedcluster,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclusters,verbs=create;update,versions=v1api20240402preview,name=validate.v1api20240402preview.managedclusters.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Validator = &ManagedCluster{}
+
+// ValidateCreate validates the creation of the resource
+func (cluster *ManagedCluster) ValidateCreate() (admission.Warnings, error) {
+ validations := cluster.createValidations()
+ var temp any = cluster
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.CreateValidations()...)
+ }
+ return genruntime.ValidateCreate(validations)
+}
+
+// ValidateDelete validates the deletion of the resource
+func (cluster *ManagedCluster) ValidateDelete() (admission.Warnings, error) {
+ validations := cluster.deleteValidations()
+ var temp any = cluster
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.DeleteValidations()...)
+ }
+ return genruntime.ValidateDelete(validations)
+}
+
+// ValidateUpdate validates an update of the resource
+func (cluster *ManagedCluster) ValidateUpdate(old runtime.Object) (admission.Warnings, error) {
+ validations := cluster.updateValidations()
+ var temp any = cluster
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.UpdateValidations()...)
+ }
+ return genruntime.ValidateUpdate(old, validations)
+}
+
+// createValidations validates the creation of the resource
+func (cluster *ManagedCluster) createValidations() []func() (admission.Warnings, error) {
+ return []func() (admission.Warnings, error){cluster.validateResourceReferences, cluster.validateOwnerReference, cluster.validateSecretDestinations, cluster.validateConfigMapDestinations}
+}
+
+// deleteValidations validates the deletion of the resource
+func (cluster *ManagedCluster) deleteValidations() []func() (admission.Warnings, error) {
+ return nil
+}
+
+// updateValidations validates the update of the resource
+func (cluster *ManagedCluster) updateValidations() []func(old runtime.Object) (admission.Warnings, error) {
+ return []func(old runtime.Object) (admission.Warnings, error){
+ func(old runtime.Object) (admission.Warnings, error) {
+ return cluster.validateResourceReferences()
+ },
+ cluster.validateWriteOnceProperties,
+ func(old runtime.Object) (admission.Warnings, error) {
+ return cluster.validateOwnerReference()
+ },
+ func(old runtime.Object) (admission.Warnings, error) {
+ return cluster.validateSecretDestinations()
+ },
+ func(old runtime.Object) (admission.Warnings, error) {
+ return cluster.validateConfigMapDestinations()
+ },
+ }
+}
+
+// validateConfigMapDestinations validates there are no colliding genruntime.ConfigMapDestinations
+func (cluster *ManagedCluster) validateConfigMapDestinations() (admission.Warnings, error) {
+ if cluster.Spec.OperatorSpec == nil {
+ return nil, nil
+ }
+ if cluster.Spec.OperatorSpec.ConfigMaps == nil {
+ return nil, nil
+ }
+ toValidate := []*genruntime.ConfigMapDestination{
+ cluster.Spec.OperatorSpec.ConfigMaps.OIDCIssuerProfile,
+ }
+ return genruntime.ValidateConfigMapDestinations(toValidate)
+}
+
+// validateOwnerReference validates the owner field
+func (cluster *ManagedCluster) validateOwnerReference() (admission.Warnings, error) {
+ return genruntime.ValidateOwner(cluster)
+}
+
+// validateResourceReferences validates all resource references
+func (cluster *ManagedCluster) validateResourceReferences() (admission.Warnings, error) {
+ refs, err := reflecthelpers.FindResourceReferences(&cluster.Spec)
+ if err != nil {
+ return nil, err
+ }
+ return genruntime.ValidateResourceReferences(refs)
+}
+
+// validateSecretDestinations validates there are no colliding genruntime.SecretDestination's
+func (cluster *ManagedCluster) validateSecretDestinations() (admission.Warnings, error) {
+ if cluster.Spec.OperatorSpec == nil {
+ return nil, nil
+ }
+ if cluster.Spec.OperatorSpec.Secrets == nil {
+ return nil, nil
+ }
+ toValidate := []*genruntime.SecretDestination{
+ cluster.Spec.OperatorSpec.Secrets.AdminCredentials,
+ cluster.Spec.OperatorSpec.Secrets.UserCredentials,
+ }
+ return genruntime.ValidateSecretDestinations(toValidate)
+}
+
+// validateWriteOnceProperties validates all WriteOnce properties
+func (cluster *ManagedCluster) validateWriteOnceProperties(old runtime.Object) (admission.Warnings, error) {
+ oldObj, ok := old.(*ManagedCluster)
+ if !ok {
+ return nil, nil
+ }
+
+ return genruntime.ValidateWriteOnceProperties(oldObj, cluster)
+}
+
+// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
+
+ // ObjectMeta
+ cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedCluster_Spec
+ err := spec.AssignProperties_From_ManagedCluster_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedCluster_Spec() to populate field Spec")
+ }
+ cluster.Spec = spec
+
+ // Status
+ var status ManagedCluster_STATUS
+ err = status.AssignProperties_From_ManagedCluster_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedCluster_STATUS() to populate field Status")
+ }
+ cluster.Status = status
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec storage.ManagedCluster_Spec
+ err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status storage.ManagedCluster_STATUS
+ err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (cluster *ManagedCluster) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: cluster.Spec.OriginalVersion(),
+ Kind: "ManagedCluster",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
+type ManagedClusterList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []ManagedCluster `json:"items"`
+}
+
+// +kubebuilder:validation:Enum={"2024-04-02-preview"}
+type APIVersion string
+
+const APIVersion_Value = APIVersion("2024-04-02-preview")
+
+type ManagedCluster_Spec struct {
+ // AadProfile: The Azure Active Directory configuration.
+ AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"`
+
+ // AddonProfiles: The profile of managed cluster add-on.
+ AddonProfiles map[string]ManagedClusterAddonProfile `json:"addonProfiles,omitempty"`
+
+ // AgentPoolProfiles: The agent pool properties.
+ AgentPoolProfiles []ManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"`
+
+ // AiToolchainOperatorProfile: AI toolchain operator settings that apply to the whole cluster.
+ AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile `json:"aiToolchainOperatorProfile,omitempty"`
+
+ // ApiServerAccessProfile: The access profile for managed cluster API server.
+ ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile `json:"apiServerAccessProfile,omitempty"`
+
+ // AutoScalerProfile: Parameters to be applied to the cluster-autoscaler when enabled
+ AutoScalerProfile *ManagedClusterProperties_AutoScalerProfile `json:"autoScalerProfile,omitempty"`
+
+ // AutoUpgradeProfile: The auto upgrade configuration.
+ AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"`
+
+ // AzureMonitorProfile: Prometheus addon profile for the container service cluster
+ AzureMonitorProfile *ManagedClusterAzureMonitorProfile `json:"azureMonitorProfile,omitempty"`
+
+ // +kubebuilder:validation:MaxLength=63
+ // +kubebuilder:validation:MinLength=1
+ // +kubebuilder:validation:Pattern="^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+
+ // BootstrapProfile: Profile of the cluster bootstrap configuration.
+ BootstrapProfile *ManagedClusterBootstrapProfile `json:"bootstrapProfile,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a
+ // snapshot.
+ CreationData *CreationData `json:"creationData,omitempty"`
+
+ // DisableLocalAccounts: If set to true, getting static credentials will be disabled for this cluster. This must only be
+ // used on Managed Clusters that are AAD enabled. For more details see [disable local
+ // accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview).
+ DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"`
+
+ // DiskEncryptionSetReference: This is of the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
+ DiskEncryptionSetReference *genruntime.ResourceReference `armReference:"DiskEncryptionSetID" json:"diskEncryptionSetReference,omitempty"`
+
+ // DnsPrefix: This cannot be updated once the Managed Cluster has been created.
+ DnsPrefix *string `json:"dnsPrefix,omitempty"`
+
+ // EnableNamespaceResources: The default value is false. It can be enabled/disabled on creation and updating of the managed
+ // cluster. See [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as
+ // a ARM Resource.
+ EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"`
+
+ // EnablePodSecurityPolicy: (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was
+ // deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and
+ // https://aka.ms/aks/psp.
+ EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"`
+
+ // EnableRBAC: Whether to enable Kubernetes Role-Based Access Control.
+ EnableRBAC *bool `json:"enableRBAC,omitempty"`
+
+ // ExtendedLocation: The extended location of the Virtual Machine.
+ ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
+
+ // FqdnSubdomain: This cannot be updated once the Managed Cluster has been created.
+ FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"`
+
+ // HttpProxyConfig: Configurations for provisioning the cluster with HTTP proxy servers.
+ HttpProxyConfig *ManagedClusterHTTPProxyConfig `json:"httpProxyConfig,omitempty"`
+
+ // Identity: The identity of the managed cluster, if configured.
+ Identity *ManagedClusterIdentity `json:"identity,omitempty"`
+
+ // IdentityProfile: Identities associated with the cluster.
+ IdentityProfile map[string]UserAssignedIdentity `json:"identityProfile,omitempty"`
+
+ // IngressProfile: Ingress profile for the managed cluster.
+ IngressProfile *ManagedClusterIngressProfile `json:"ingressProfile,omitempty"`
+
+ // Kind: This is primarily used to expose different UI experiences in the portal for different kinds
+ Kind *string `json:"kind,omitempty"`
+
+ // KubernetesVersion: When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades
+ // must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x ->
+ // 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
+ // cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
+
+ // LinuxProfile: The profile for Linux VMs in the Managed Cluster.
+ LinuxProfile *ContainerServiceLinuxProfile `json:"linuxProfile,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Location: The geo-location where the resource lives
+ Location *string `json:"location,omitempty"`
+
+ // MetricsProfile: Optional cluster metrics configuration.
+ MetricsProfile *ManagedClusterMetricsProfile `json:"metricsProfile,omitempty"`
+
+ // NetworkProfile: The network configuration profile.
+ NetworkProfile *ContainerServiceNetworkProfile `json:"networkProfile,omitempty"`
+
+ // NodeProvisioningProfile: Node provisioning settings that apply to the whole cluster.
+ NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile `json:"nodeProvisioningProfile,omitempty"`
+
+ // NodeResourceGroup: The name of the resource group containing agent pool nodes.
+ NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"`
+
+ // NodeResourceGroupProfile: The node resource group configuration profile.
+ NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile `json:"nodeResourceGroupProfile,omitempty"`
+
+ // OidcIssuerProfile: The OIDC issuer profile of the Managed Cluster.
+ OidcIssuerProfile *ManagedClusterOIDCIssuerProfile `json:"oidcIssuerProfile,omitempty"`
+
+ // OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
+ // passed directly to Azure
+ OperatorSpec *ManagedClusterOperatorSpec `json:"operatorSpec,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a resources.azure.com/ResourceGroup resource
+ Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`
+
+ // PodIdentityProfile: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more
+ // details on AAD pod identity integration.
+ PodIdentityProfile *ManagedClusterPodIdentityProfile `json:"podIdentityProfile,omitempty"`
+
+ // PrivateLinkResources: Private link resources associated with the cluster.
+ PrivateLinkResources []PrivateLinkResource `json:"privateLinkResources,omitempty"`
+
+ // PublicNetworkAccess: Allow or deny public network access for AKS
+ PublicNetworkAccess *ManagedClusterProperties_PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
+
+ // SafeguardsProfile: The Safeguards profile holds all the safeguards information for a given cluster
+ SafeguardsProfile *SafeguardsProfile `json:"safeguardsProfile,omitempty"`
+
+ // SecurityProfile: Security profile for the managed cluster.
+ SecurityProfile *ManagedClusterSecurityProfile `json:"securityProfile,omitempty"`
+
+ // ServiceMeshProfile: Service mesh profile for a managed cluster.
+ ServiceMeshProfile *ServiceMeshProfile `json:"serviceMeshProfile,omitempty"`
+
+ // ServicePrincipalProfile: Information about a service principal identity for the cluster to use for manipulating Azure
+ // APIs.
+ ServicePrincipalProfile *ManagedClusterServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"`
+
+ // Sku: The managed cluster SKU.
+ Sku *ManagedClusterSKU `json:"sku,omitempty"`
+
+ // StorageProfile: Storage profile for the managed cluster.
+ StorageProfile *ManagedClusterStorageProfile `json:"storageProfile,omitempty"`
+
+ // SupportPlan: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
+ SupportPlan *KubernetesSupportPlan `json:"supportPlan,omitempty"`
+
+ // Tags: Resource tags.
+ Tags map[string]string `json:"tags,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // UpgradeSettings: Settings for upgrading a cluster.
+ UpgradeSettings *ClusterUpgradeSettings `json:"upgradeSettings,omitempty"`
+
+ // WindowsProfile: The profile for Windows VMs in the Managed Cluster.
+ WindowsProfile *ManagedClusterWindowsProfile `json:"windowsProfile,omitempty"`
+
+ // WorkloadAutoScalerProfile: Workload Auto-scaler profile for the managed cluster.
+ WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile `json:"workloadAutoScalerProfile,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedCluster_Spec{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (cluster *ManagedCluster_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if cluster == nil {
+ return nil, nil
+ }
+ result := &ManagedCluster_Spec_ARM{}
+
+ // Set property "ExtendedLocation":
+ if cluster.ExtendedLocation != nil {
+ extendedLocation_ARM, err := (*cluster.ExtendedLocation).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ extendedLocation := *extendedLocation_ARM.(*ExtendedLocation_ARM)
+ result.ExtendedLocation = &extendedLocation
+ }
+
+ // Set property "Identity":
+ if cluster.Identity != nil {
+ identity_ARM, err := (*cluster.Identity).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ identity := *identity_ARM.(*ManagedClusterIdentity_ARM)
+ result.Identity = &identity
+ }
+
+ // Set property "Kind":
+ if cluster.Kind != nil {
+ kind := *cluster.Kind
+ result.Kind = &kind
+ }
+
+ // Set property "Location":
+ if cluster.Location != nil {
+ location := *cluster.Location
+ result.Location = &location
+ }
+
+ // Set property "Name":
+ result.Name = resolved.Name
+
+ // Set property "Properties":
+ if cluster.AadProfile != nil ||
+ cluster.AddonProfiles != nil ||
+ cluster.AgentPoolProfiles != nil ||
+ cluster.AiToolchainOperatorProfile != nil ||
+ cluster.ApiServerAccessProfile != nil ||
+ cluster.AutoScalerProfile != nil ||
+ cluster.AutoUpgradeProfile != nil ||
+ cluster.AzureMonitorProfile != nil ||
+ cluster.BootstrapProfile != nil ||
+ cluster.CreationData != nil ||
+ cluster.DisableLocalAccounts != nil ||
+ cluster.DiskEncryptionSetReference != nil ||
+ cluster.DnsPrefix != nil ||
+ cluster.EnableNamespaceResources != nil ||
+ cluster.EnablePodSecurityPolicy != nil ||
+ cluster.EnableRBAC != nil ||
+ cluster.FqdnSubdomain != nil ||
+ cluster.HttpProxyConfig != nil ||
+ cluster.IdentityProfile != nil ||
+ cluster.IngressProfile != nil ||
+ cluster.KubernetesVersion != nil ||
+ cluster.LinuxProfile != nil ||
+ cluster.MetricsProfile != nil ||
+ cluster.NetworkProfile != nil ||
+ cluster.NodeProvisioningProfile != nil ||
+ cluster.NodeResourceGroup != nil ||
+ cluster.NodeResourceGroupProfile != nil ||
+ cluster.OidcIssuerProfile != nil ||
+ cluster.PodIdentityProfile != nil ||
+ cluster.PrivateLinkResources != nil ||
+ cluster.PublicNetworkAccess != nil ||
+ cluster.SafeguardsProfile != nil ||
+ cluster.SecurityProfile != nil ||
+ cluster.ServiceMeshProfile != nil ||
+ cluster.ServicePrincipalProfile != nil ||
+ cluster.StorageProfile != nil ||
+ cluster.SupportPlan != nil ||
+ cluster.UpgradeSettings != nil ||
+ cluster.WindowsProfile != nil ||
+ cluster.WorkloadAutoScalerProfile != nil {
+ result.Properties = &ManagedClusterProperties_ARM{}
+ }
+ if cluster.AadProfile != nil {
+ aadProfile_ARM, err := (*cluster.AadProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ aadProfile := *aadProfile_ARM.(*ManagedClusterAADProfile_ARM)
+ result.Properties.AadProfile = &aadProfile
+ }
+ if cluster.AddonProfiles != nil {
+ result.Properties.AddonProfiles = make(map[string]ManagedClusterAddonProfile_ARM, len(cluster.AddonProfiles))
+ for key, value := range cluster.AddonProfiles {
+ value_ARM, err := value.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Properties.AddonProfiles[key] = *value_ARM.(*ManagedClusterAddonProfile_ARM)
+ }
+ }
+ for _, item := range cluster.AgentPoolProfiles {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Properties.AgentPoolProfiles = append(result.Properties.AgentPoolProfiles, *item_ARM.(*ManagedClusterAgentPoolProfile_ARM))
+ }
+ if cluster.AiToolchainOperatorProfile != nil {
+ aiToolchainOperatorProfile_ARM, err := (*cluster.AiToolchainOperatorProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ aiToolchainOperatorProfile := *aiToolchainOperatorProfile_ARM.(*ManagedClusterAIToolchainOperatorProfile_ARM)
+ result.Properties.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ }
+ if cluster.ApiServerAccessProfile != nil {
+ apiServerAccessProfile_ARM, err := (*cluster.ApiServerAccessProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ apiServerAccessProfile := *apiServerAccessProfile_ARM.(*ManagedClusterAPIServerAccessProfile_ARM)
+ result.Properties.ApiServerAccessProfile = &apiServerAccessProfile
+ }
+ if cluster.AutoScalerProfile != nil {
+ autoScalerProfile_ARM, err := (*cluster.AutoScalerProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ autoScalerProfile := *autoScalerProfile_ARM.(*ManagedClusterProperties_AutoScalerProfile_ARM)
+ result.Properties.AutoScalerProfile = &autoScalerProfile
+ }
+ if cluster.AutoUpgradeProfile != nil {
+ autoUpgradeProfile_ARM, err := (*cluster.AutoUpgradeProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ autoUpgradeProfile := *autoUpgradeProfile_ARM.(*ManagedClusterAutoUpgradeProfile_ARM)
+ result.Properties.AutoUpgradeProfile = &autoUpgradeProfile
+ }
+ if cluster.AzureMonitorProfile != nil {
+ azureMonitorProfile_ARM, err := (*cluster.AzureMonitorProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ azureMonitorProfile := *azureMonitorProfile_ARM.(*ManagedClusterAzureMonitorProfile_ARM)
+ result.Properties.AzureMonitorProfile = &azureMonitorProfile
+ }
+ if cluster.BootstrapProfile != nil {
+ bootstrapProfile_ARM, err := (*cluster.BootstrapProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ bootstrapProfile := *bootstrapProfile_ARM.(*ManagedClusterBootstrapProfile_ARM)
+ result.Properties.BootstrapProfile = &bootstrapProfile
+ }
+ if cluster.CreationData != nil {
+ creationData_ARM, err := (*cluster.CreationData).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ creationData := *creationData_ARM.(*CreationData_ARM)
+ result.Properties.CreationData = &creationData
+ }
+ if cluster.DisableLocalAccounts != nil {
+ disableLocalAccounts := *cluster.DisableLocalAccounts
+ result.Properties.DisableLocalAccounts = &disableLocalAccounts
+ }
+ if cluster.DiskEncryptionSetReference != nil {
+ diskEncryptionSetIDARMID, err := resolved.ResolvedReferences.Lookup(*cluster.DiskEncryptionSetReference)
+ if err != nil {
+ return nil, err
+ }
+ diskEncryptionSetID := diskEncryptionSetIDARMID
+ result.Properties.DiskEncryptionSetID = &diskEncryptionSetID
+ }
+ if cluster.DnsPrefix != nil {
+ dnsPrefix := *cluster.DnsPrefix
+ result.Properties.DnsPrefix = &dnsPrefix
+ }
+ if cluster.EnableNamespaceResources != nil {
+ enableNamespaceResources := *cluster.EnableNamespaceResources
+ result.Properties.EnableNamespaceResources = &enableNamespaceResources
+ }
+ if cluster.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *cluster.EnablePodSecurityPolicy
+ result.Properties.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ }
+ if cluster.EnableRBAC != nil {
+ enableRBAC := *cluster.EnableRBAC
+ result.Properties.EnableRBAC = &enableRBAC
+ }
+ if cluster.FqdnSubdomain != nil {
+ fqdnSubdomain := *cluster.FqdnSubdomain
+ result.Properties.FqdnSubdomain = &fqdnSubdomain
+ }
+ if cluster.HttpProxyConfig != nil {
+ httpProxyConfig_ARM, err := (*cluster.HttpProxyConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ httpProxyConfig := *httpProxyConfig_ARM.(*ManagedClusterHTTPProxyConfig_ARM)
+ result.Properties.HttpProxyConfig = &httpProxyConfig
+ }
+ if cluster.IdentityProfile != nil {
+ result.Properties.IdentityProfile = make(map[string]UserAssignedIdentity_ARM, len(cluster.IdentityProfile))
+ for key, value := range cluster.IdentityProfile {
+ value_ARM, err := value.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Properties.IdentityProfile[key] = *value_ARM.(*UserAssignedIdentity_ARM)
+ }
+ }
+ if cluster.IngressProfile != nil {
+ ingressProfile_ARM, err := (*cluster.IngressProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ ingressProfile := *ingressProfile_ARM.(*ManagedClusterIngressProfile_ARM)
+ result.Properties.IngressProfile = &ingressProfile
+ }
+ if cluster.KubernetesVersion != nil {
+ kubernetesVersion := *cluster.KubernetesVersion
+ result.Properties.KubernetesVersion = &kubernetesVersion
+ }
+ if cluster.LinuxProfile != nil {
+ linuxProfile_ARM, err := (*cluster.LinuxProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ linuxProfile := *linuxProfile_ARM.(*ContainerServiceLinuxProfile_ARM)
+ result.Properties.LinuxProfile = &linuxProfile
+ }
+ if cluster.MetricsProfile != nil {
+ metricsProfile_ARM, err := (*cluster.MetricsProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ metricsProfile := *metricsProfile_ARM.(*ManagedClusterMetricsProfile_ARM)
+ result.Properties.MetricsProfile = &metricsProfile
+ }
+ if cluster.NetworkProfile != nil {
+ networkProfile_ARM, err := (*cluster.NetworkProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ networkProfile := *networkProfile_ARM.(*ContainerServiceNetworkProfile_ARM)
+ result.Properties.NetworkProfile = &networkProfile
+ }
+ if cluster.NodeProvisioningProfile != nil {
+ nodeProvisioningProfile_ARM, err := (*cluster.NodeProvisioningProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ nodeProvisioningProfile := *nodeProvisioningProfile_ARM.(*ManagedClusterNodeProvisioningProfile_ARM)
+ result.Properties.NodeProvisioningProfile = &nodeProvisioningProfile
+ }
+ if cluster.NodeResourceGroup != nil {
+ nodeResourceGroup := *cluster.NodeResourceGroup
+ result.Properties.NodeResourceGroup = &nodeResourceGroup
+ }
+ if cluster.NodeResourceGroupProfile != nil {
+ nodeResourceGroupProfile_ARM, err := (*cluster.NodeResourceGroupProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ nodeResourceGroupProfile := *nodeResourceGroupProfile_ARM.(*ManagedClusterNodeResourceGroupProfile_ARM)
+ result.Properties.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ }
+ if cluster.OidcIssuerProfile != nil {
+ oidcIssuerProfile_ARM, err := (*cluster.OidcIssuerProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ oidcIssuerProfile := *oidcIssuerProfile_ARM.(*ManagedClusterOIDCIssuerProfile_ARM)
+ result.Properties.OidcIssuerProfile = &oidcIssuerProfile
+ }
+ if cluster.PodIdentityProfile != nil {
+ podIdentityProfile_ARM, err := (*cluster.PodIdentityProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ podIdentityProfile := *podIdentityProfile_ARM.(*ManagedClusterPodIdentityProfile_ARM)
+ result.Properties.PodIdentityProfile = &podIdentityProfile
+ }
+ for _, item := range cluster.PrivateLinkResources {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Properties.PrivateLinkResources = append(result.Properties.PrivateLinkResources, *item_ARM.(*PrivateLinkResource_ARM))
+ }
+ if cluster.PublicNetworkAccess != nil {
+ publicNetworkAccess := *cluster.PublicNetworkAccess
+ result.Properties.PublicNetworkAccess = &publicNetworkAccess
+ }
+ if cluster.SafeguardsProfile != nil {
+ safeguardsProfile_ARM, err := (*cluster.SafeguardsProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ safeguardsProfile := *safeguardsProfile_ARM.(*SafeguardsProfile_ARM)
+ result.Properties.SafeguardsProfile = &safeguardsProfile
+ }
+ if cluster.SecurityProfile != nil {
+ securityProfile_ARM, err := (*cluster.SecurityProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ securityProfile := *securityProfile_ARM.(*ManagedClusterSecurityProfile_ARM)
+ result.Properties.SecurityProfile = &securityProfile
+ }
+ if cluster.ServiceMeshProfile != nil {
+ serviceMeshProfile_ARM, err := (*cluster.ServiceMeshProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ serviceMeshProfile := *serviceMeshProfile_ARM.(*ServiceMeshProfile_ARM)
+ result.Properties.ServiceMeshProfile = &serviceMeshProfile
+ }
+ if cluster.ServicePrincipalProfile != nil {
+ servicePrincipalProfile_ARM, err := (*cluster.ServicePrincipalProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ servicePrincipalProfile := *servicePrincipalProfile_ARM.(*ManagedClusterServicePrincipalProfile_ARM)
+ result.Properties.ServicePrincipalProfile = &servicePrincipalProfile
+ }
+ if cluster.StorageProfile != nil {
+ storageProfile_ARM, err := (*cluster.StorageProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ storageProfile := *storageProfile_ARM.(*ManagedClusterStorageProfile_ARM)
+ result.Properties.StorageProfile = &storageProfile
+ }
+ if cluster.SupportPlan != nil {
+ supportPlan := *cluster.SupportPlan
+ result.Properties.SupportPlan = &supportPlan
+ }
+ if cluster.UpgradeSettings != nil {
+ upgradeSettings_ARM, err := (*cluster.UpgradeSettings).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ upgradeSettings := *upgradeSettings_ARM.(*ClusterUpgradeSettings_ARM)
+ result.Properties.UpgradeSettings = &upgradeSettings
+ }
+ if cluster.WindowsProfile != nil {
+ windowsProfile_ARM, err := (*cluster.WindowsProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ windowsProfile := *windowsProfile_ARM.(*ManagedClusterWindowsProfile_ARM)
+ result.Properties.WindowsProfile = &windowsProfile
+ }
+ if cluster.WorkloadAutoScalerProfile != nil {
+ workloadAutoScalerProfile_ARM, err := (*cluster.WorkloadAutoScalerProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ workloadAutoScalerProfile := *workloadAutoScalerProfile_ARM.(*ManagedClusterWorkloadAutoScalerProfile_ARM)
+ result.Properties.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ }
+
+ // Set property "Sku":
+ if cluster.Sku != nil {
+ sku_ARM, err := (*cluster.Sku).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ sku := *sku_ARM.(*ManagedClusterSKU_ARM)
+ result.Sku = &sku
+ }
+
+ // Set property "Tags":
+ if cluster.Tags != nil {
+ result.Tags = make(map[string]string, len(cluster.Tags))
+ for key, value := range cluster.Tags {
+ result.Tags[key] = value
+ }
+ } else {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.Tags = make(map[string]string)
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (cluster *ManagedCluster_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedCluster_Spec_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (cluster *ManagedCluster_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedCluster_Spec_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedCluster_Spec_ARM, got %T", armInput)
+ }
+
+ // Set property "AadProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AadProfile != nil {
+ var aadProfile1 ManagedClusterAADProfile
+ err := aadProfile1.PopulateFromARM(owner, *typedInput.Properties.AadProfile)
+ if err != nil {
+ return err
+ }
+ aadProfile := aadProfile1
+ cluster.AadProfile = &aadProfile
+ }
+ }
+
+ // Set property "AddonProfiles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AddonProfiles != nil {
+ cluster.AddonProfiles = make(map[string]ManagedClusterAddonProfile, len(typedInput.Properties.AddonProfiles))
+ for key, value := range typedInput.Properties.AddonProfiles {
+ var value1 ManagedClusterAddonProfile
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ cluster.AddonProfiles[key] = value1
+ }
+ }
+ }
+
+ // Set property "AgentPoolProfiles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.AgentPoolProfiles {
+ var item1 ManagedClusterAgentPoolProfile
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ cluster.AgentPoolProfiles = append(cluster.AgentPoolProfiles, item1)
+ }
+ }
+
+ // Set property "AiToolchainOperatorProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile1 ManagedClusterAIToolchainOperatorProfile
+ err := aiToolchainOperatorProfile1.PopulateFromARM(owner, *typedInput.Properties.AiToolchainOperatorProfile)
+ if err != nil {
+ return err
+ }
+ aiToolchainOperatorProfile := aiToolchainOperatorProfile1
+ cluster.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ }
+ }
+
+ // Set property "ApiServerAccessProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile1 ManagedClusterAPIServerAccessProfile
+ err := apiServerAccessProfile1.PopulateFromARM(owner, *typedInput.Properties.ApiServerAccessProfile)
+ if err != nil {
+ return err
+ }
+ apiServerAccessProfile := apiServerAccessProfile1
+ cluster.ApiServerAccessProfile = &apiServerAccessProfile
+ }
+ }
+
+ // Set property "AutoScalerProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AutoScalerProfile != nil {
+ var autoScalerProfile1 ManagedClusterProperties_AutoScalerProfile
+ err := autoScalerProfile1.PopulateFromARM(owner, *typedInput.Properties.AutoScalerProfile)
+ if err != nil {
+ return err
+ }
+ autoScalerProfile := autoScalerProfile1
+ cluster.AutoScalerProfile = &autoScalerProfile
+ }
+ }
+
+ // Set property "AutoUpgradeProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile1 ManagedClusterAutoUpgradeProfile
+ err := autoUpgradeProfile1.PopulateFromARM(owner, *typedInput.Properties.AutoUpgradeProfile)
+ if err != nil {
+ return err
+ }
+ autoUpgradeProfile := autoUpgradeProfile1
+ cluster.AutoUpgradeProfile = &autoUpgradeProfile
+ }
+ }
+
+ // Set property "AzureMonitorProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AzureMonitorProfile != nil {
+ var azureMonitorProfile1 ManagedClusterAzureMonitorProfile
+ err := azureMonitorProfile1.PopulateFromARM(owner, *typedInput.Properties.AzureMonitorProfile)
+ if err != nil {
+ return err
+ }
+ azureMonitorProfile := azureMonitorProfile1
+ cluster.AzureMonitorProfile = &azureMonitorProfile
+ }
+ }
+
+ // Set property "AzureName":
+ cluster.SetAzureName(genruntime.ExtractKubernetesResourceNameFromARMName(typedInput.Name))
+
+ // Set property "BootstrapProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.BootstrapProfile != nil {
+ var bootstrapProfile1 ManagedClusterBootstrapProfile
+ err := bootstrapProfile1.PopulateFromARM(owner, *typedInput.Properties.BootstrapProfile)
+ if err != nil {
+ return err
+ }
+ bootstrapProfile := bootstrapProfile1
+ cluster.BootstrapProfile = &bootstrapProfile
+ }
+ }
+
+ // Set property "CreationData":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CreationData != nil {
+ var creationData1 CreationData
+ err := creationData1.PopulateFromARM(owner, *typedInput.Properties.CreationData)
+ if err != nil {
+ return err
+ }
+ creationData := creationData1
+ cluster.CreationData = &creationData
+ }
+ }
+
+ // Set property "DisableLocalAccounts":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.DisableLocalAccounts != nil {
+ disableLocalAccounts := *typedInput.Properties.DisableLocalAccounts
+ cluster.DisableLocalAccounts = &disableLocalAccounts
+ }
+ }
+
+ // no assignment for property "DiskEncryptionSetReference"
+
+ // Set property "DnsPrefix":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.DnsPrefix != nil {
+ dnsPrefix := *typedInput.Properties.DnsPrefix
+ cluster.DnsPrefix = &dnsPrefix
+ }
+ }
+
+ // Set property "EnableNamespaceResources":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableNamespaceResources != nil {
+ enableNamespaceResources := *typedInput.Properties.EnableNamespaceResources
+ cluster.EnableNamespaceResources = &enableNamespaceResources
+ }
+ }
+
+ // Set property "EnablePodSecurityPolicy":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *typedInput.Properties.EnablePodSecurityPolicy
+ cluster.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ }
+ }
+
+ // Set property "EnableRBAC":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableRBAC != nil {
+ enableRBAC := *typedInput.Properties.EnableRBAC
+ cluster.EnableRBAC = &enableRBAC
+ }
+ }
+
+ // Set property "ExtendedLocation":
+ if typedInput.ExtendedLocation != nil {
+ var extendedLocation1 ExtendedLocation
+ err := extendedLocation1.PopulateFromARM(owner, *typedInput.ExtendedLocation)
+ if err != nil {
+ return err
+ }
+ extendedLocation := extendedLocation1
+ cluster.ExtendedLocation = &extendedLocation
+ }
+
+ // Set property "FqdnSubdomain":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.FqdnSubdomain != nil {
+ fqdnSubdomain := *typedInput.Properties.FqdnSubdomain
+ cluster.FqdnSubdomain = &fqdnSubdomain
+ }
+ }
+
+ // Set property "HttpProxyConfig":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.HttpProxyConfig != nil {
+ var httpProxyConfig1 ManagedClusterHTTPProxyConfig
+ err := httpProxyConfig1.PopulateFromARM(owner, *typedInput.Properties.HttpProxyConfig)
+ if err != nil {
+ return err
+ }
+ httpProxyConfig := httpProxyConfig1
+ cluster.HttpProxyConfig = &httpProxyConfig
+ }
+ }
+
+ // Set property "Identity":
+ if typedInput.Identity != nil {
+ var identity1 ManagedClusterIdentity
+ err := identity1.PopulateFromARM(owner, *typedInput.Identity)
+ if err != nil {
+ return err
+ }
+ identity := identity1
+ cluster.Identity = &identity
+ }
+
+ // Set property "IdentityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.IdentityProfile != nil {
+ cluster.IdentityProfile = make(map[string]UserAssignedIdentity, len(typedInput.Properties.IdentityProfile))
+ for key, value := range typedInput.Properties.IdentityProfile {
+ var value1 UserAssignedIdentity
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ cluster.IdentityProfile[key] = value1
+ }
+ }
+ }
+
+ // Set property "IngressProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.IngressProfile != nil {
+ var ingressProfile1 ManagedClusterIngressProfile
+ err := ingressProfile1.PopulateFromARM(owner, *typedInput.Properties.IngressProfile)
+ if err != nil {
+ return err
+ }
+ ingressProfile := ingressProfile1
+ cluster.IngressProfile = &ingressProfile
+ }
+ }
+
+ // Set property "Kind":
+ if typedInput.Kind != nil {
+ kind := *typedInput.Kind
+ cluster.Kind = &kind
+ }
+
+ // Set property "KubernetesVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.KubernetesVersion != nil {
+ kubernetesVersion := *typedInput.Properties.KubernetesVersion
+ cluster.KubernetesVersion = &kubernetesVersion
+ }
+ }
+
+ // Set property "LinuxProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.LinuxProfile != nil {
+ var linuxProfile1 ContainerServiceLinuxProfile
+ err := linuxProfile1.PopulateFromARM(owner, *typedInput.Properties.LinuxProfile)
+ if err != nil {
+ return err
+ }
+ linuxProfile := linuxProfile1
+ cluster.LinuxProfile = &linuxProfile
+ }
+ }
+
+ // Set property "Location":
+ if typedInput.Location != nil {
+ location := *typedInput.Location
+ cluster.Location = &location
+ }
+
+ // Set property "MetricsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MetricsProfile != nil {
+ var metricsProfile1 ManagedClusterMetricsProfile
+ err := metricsProfile1.PopulateFromARM(owner, *typedInput.Properties.MetricsProfile)
+ if err != nil {
+ return err
+ }
+ metricsProfile := metricsProfile1
+ cluster.MetricsProfile = &metricsProfile
+ }
+ }
+
+ // Set property "NetworkProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NetworkProfile != nil {
+ var networkProfile1 ContainerServiceNetworkProfile
+ err := networkProfile1.PopulateFromARM(owner, *typedInput.Properties.NetworkProfile)
+ if err != nil {
+ return err
+ }
+ networkProfile := networkProfile1
+ cluster.NetworkProfile = &networkProfile
+ }
+ }
+
+ // Set property "NodeProvisioningProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile1 ManagedClusterNodeProvisioningProfile
+ err := nodeProvisioningProfile1.PopulateFromARM(owner, *typedInput.Properties.NodeProvisioningProfile)
+ if err != nil {
+ return err
+ }
+ nodeProvisioningProfile := nodeProvisioningProfile1
+ cluster.NodeProvisioningProfile = &nodeProvisioningProfile
+ }
+ }
+
+ // Set property "NodeResourceGroup":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeResourceGroup != nil {
+ nodeResourceGroup := *typedInput.Properties.NodeResourceGroup
+ cluster.NodeResourceGroup = &nodeResourceGroup
+ }
+ }
+
+ // Set property "NodeResourceGroupProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile1 ManagedClusterNodeResourceGroupProfile
+ err := nodeResourceGroupProfile1.PopulateFromARM(owner, *typedInput.Properties.NodeResourceGroupProfile)
+ if err != nil {
+ return err
+ }
+ nodeResourceGroupProfile := nodeResourceGroupProfile1
+ cluster.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ }
+ }
+
+ // Set property "OidcIssuerProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OidcIssuerProfile != nil {
+ var oidcIssuerProfile1 ManagedClusterOIDCIssuerProfile
+ err := oidcIssuerProfile1.PopulateFromARM(owner, *typedInput.Properties.OidcIssuerProfile)
+ if err != nil {
+ return err
+ }
+ oidcIssuerProfile := oidcIssuerProfile1
+ cluster.OidcIssuerProfile = &oidcIssuerProfile
+ }
+ }
+
+ // no assignment for property "OperatorSpec"
+
+ // Set property "Owner":
+ cluster.Owner = &genruntime.KnownResourceReference{
+ Name: owner.Name,
+ ARMID: owner.ARMID,
+ }
+
+ // Set property "PodIdentityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PodIdentityProfile != nil {
+ var podIdentityProfile1 ManagedClusterPodIdentityProfile
+ err := podIdentityProfile1.PopulateFromARM(owner, *typedInput.Properties.PodIdentityProfile)
+ if err != nil {
+ return err
+ }
+ podIdentityProfile := podIdentityProfile1
+ cluster.PodIdentityProfile = &podIdentityProfile
+ }
+ }
+
+ // Set property "PrivateLinkResources":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.PrivateLinkResources {
+ var item1 PrivateLinkResource
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ cluster.PrivateLinkResources = append(cluster.PrivateLinkResources, item1)
+ }
+ }
+
+ // Set property "PublicNetworkAccess":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PublicNetworkAccess != nil {
+ publicNetworkAccess := *typedInput.Properties.PublicNetworkAccess
+ cluster.PublicNetworkAccess = &publicNetworkAccess
+ }
+ }
+
+ // Set property "SafeguardsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SafeguardsProfile != nil {
+ var safeguardsProfile1 SafeguardsProfile
+ err := safeguardsProfile1.PopulateFromARM(owner, *typedInput.Properties.SafeguardsProfile)
+ if err != nil {
+ return err
+ }
+ safeguardsProfile := safeguardsProfile1
+ cluster.SafeguardsProfile = &safeguardsProfile
+ }
+ }
+
+ // Set property "SecurityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SecurityProfile != nil {
+ var securityProfile1 ManagedClusterSecurityProfile
+ err := securityProfile1.PopulateFromARM(owner, *typedInput.Properties.SecurityProfile)
+ if err != nil {
+ return err
+ }
+ securityProfile := securityProfile1
+ cluster.SecurityProfile = &securityProfile
+ }
+ }
+
+ // Set property "ServiceMeshProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ServiceMeshProfile != nil {
+ var serviceMeshProfile1 ServiceMeshProfile
+ err := serviceMeshProfile1.PopulateFromARM(owner, *typedInput.Properties.ServiceMeshProfile)
+ if err != nil {
+ return err
+ }
+ serviceMeshProfile := serviceMeshProfile1
+ cluster.ServiceMeshProfile = &serviceMeshProfile
+ }
+ }
+
+ // Set property "ServicePrincipalProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile1 ManagedClusterServicePrincipalProfile
+ err := servicePrincipalProfile1.PopulateFromARM(owner, *typedInput.Properties.ServicePrincipalProfile)
+ if err != nil {
+ return err
+ }
+ servicePrincipalProfile := servicePrincipalProfile1
+ cluster.ServicePrincipalProfile = &servicePrincipalProfile
+ }
+ }
+
+ // Set property "Sku":
+ if typedInput.Sku != nil {
+ var sku1 ManagedClusterSKU
+ err := sku1.PopulateFromARM(owner, *typedInput.Sku)
+ if err != nil {
+ return err
+ }
+ sku := sku1
+ cluster.Sku = &sku
+ }
+
+ // Set property "StorageProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.StorageProfile != nil {
+ var storageProfile1 ManagedClusterStorageProfile
+ err := storageProfile1.PopulateFromARM(owner, *typedInput.Properties.StorageProfile)
+ if err != nil {
+ return err
+ }
+ storageProfile := storageProfile1
+ cluster.StorageProfile = &storageProfile
+ }
+ }
+
+ // Set property "SupportPlan":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SupportPlan != nil {
+ supportPlan := *typedInput.Properties.SupportPlan
+ cluster.SupportPlan = &supportPlan
+ }
+ }
+
+ // Set property "Tags":
+ if typedInput.Tags != nil {
+ cluster.Tags = make(map[string]string, len(typedInput.Tags))
+ for key, value := range typedInput.Tags {
+ cluster.Tags[key] = value
+ }
+ }
+
+ // Set property "UpgradeSettings":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.UpgradeSettings != nil {
+ var upgradeSettings1 ClusterUpgradeSettings
+ err := upgradeSettings1.PopulateFromARM(owner, *typedInput.Properties.UpgradeSettings)
+ if err != nil {
+ return err
+ }
+ upgradeSettings := upgradeSettings1
+ cluster.UpgradeSettings = &upgradeSettings
+ }
+ }
+
+ // Set property "WindowsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WindowsProfile != nil {
+ var windowsProfile1 ManagedClusterWindowsProfile
+ err := windowsProfile1.PopulateFromARM(owner, *typedInput.Properties.WindowsProfile)
+ if err != nil {
+ return err
+ }
+ windowsProfile := windowsProfile1
+ cluster.WindowsProfile = &windowsProfile
+ }
+ }
+
+ // Set property "WorkloadAutoScalerProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile1 ManagedClusterWorkloadAutoScalerProfile
+ err := workloadAutoScalerProfile1.PopulateFromARM(owner, *typedInput.Properties.WorkloadAutoScalerProfile)
+ if err != nil {
+ return err
+ }
+ workloadAutoScalerProfile := workloadAutoScalerProfile1
+ cluster.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ }
+ }
+
+ // No error
+ return nil
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
+
+// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
+func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*storage.ManagedCluster_Spec)
+ if ok {
+ // Populate our instance from source
+ return cluster.AssignProperties_From_ManagedCluster_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedCluster_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = cluster.AssignProperties_From_ManagedCluster_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
+func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
+ if ok {
+ // Populate destination from our instance
+ return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedCluster_Spec{}
+ err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
+
+ // AadProfile
+ if source.AadProfile != nil {
+ var aadProfile ManagedClusterAADProfile
+ err := aadProfile.AssignProperties_From_ManagedClusterAADProfile(source.AadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAADProfile() to populate field AadProfile")
+ }
+ cluster.AadProfile = &aadProfile
+ } else {
+ cluster.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if source.AddonProfiles != nil {
+ addonProfileMap := make(map[string]ManagedClusterAddonProfile, len(source.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range source.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile ManagedClusterAddonProfile
+ err := addonProfile.AssignProperties_From_ManagedClusterAddonProfile(&addonProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAddonProfile() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ cluster.AddonProfiles = addonProfileMap
+ } else {
+ cluster.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if source.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]ManagedClusterAgentPoolProfile, len(source.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range source.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile ManagedClusterAgentPoolProfile
+ err := agentPoolProfile.AssignProperties_From_ManagedClusterAgentPoolProfile(&agentPoolProfileItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ cluster.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ cluster.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if source.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile ManagedClusterAIToolchainOperatorProfile
+ err := aiToolchainOperatorProfile.AssignProperties_From_ManagedClusterAIToolchainOperatorProfile(source.AiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAIToolchainOperatorProfile() to populate field AiToolchainOperatorProfile")
+ }
+ cluster.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ cluster.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if source.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile ManagedClusterAPIServerAccessProfile
+ err := apiServerAccessProfile.AssignProperties_From_ManagedClusterAPIServerAccessProfile(source.ApiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
+ }
+ cluster.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ cluster.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if source.AutoScalerProfile != nil {
+ var autoScalerProfile ManagedClusterProperties_AutoScalerProfile
+ err := autoScalerProfile.AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source.AutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
+ }
+ cluster.AutoScalerProfile = &autoScalerProfile
+ } else {
+ cluster.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if source.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile ManagedClusterAutoUpgradeProfile
+ err := autoUpgradeProfile.AssignProperties_From_ManagedClusterAutoUpgradeProfile(source.AutoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
+ }
+ cluster.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ cluster.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if source.AzureMonitorProfile != nil {
+ var azureMonitorProfile ManagedClusterAzureMonitorProfile
+ err := azureMonitorProfile.AssignProperties_From_ManagedClusterAzureMonitorProfile(source.AzureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
+ }
+ cluster.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ cluster.AzureMonitorProfile = nil
+ }
+
+ // AzureName
+ cluster.AzureName = source.AzureName
+
+ // BootstrapProfile
+ if source.BootstrapProfile != nil {
+ var bootstrapProfile ManagedClusterBootstrapProfile
+ err := bootstrapProfile.AssignProperties_From_ManagedClusterBootstrapProfile(source.BootstrapProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterBootstrapProfile() to populate field BootstrapProfile")
+ }
+ cluster.BootstrapProfile = &bootstrapProfile
+ } else {
+ cluster.BootstrapProfile = nil
+ }
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData
+ err := creationDatum.AssignProperties_From_CreationData(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData() to populate field CreationData")
+ }
+ cluster.CreationData = &creationDatum
+ } else {
+ cluster.CreationData = nil
+ }
+
+ // DisableLocalAccounts
+ if source.DisableLocalAccounts != nil {
+ disableLocalAccount := *source.DisableLocalAccounts
+ cluster.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ cluster.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetReference
+ if source.DiskEncryptionSetReference != nil {
+ diskEncryptionSetReference := source.DiskEncryptionSetReference.Copy()
+ cluster.DiskEncryptionSetReference = &diskEncryptionSetReference
+ } else {
+ cluster.DiskEncryptionSetReference = nil
+ }
+
+ // DnsPrefix
+ cluster.DnsPrefix = genruntime.ClonePointerToString(source.DnsPrefix)
+
+ // EnableNamespaceResources
+ if source.EnableNamespaceResources != nil {
+ enableNamespaceResource := *source.EnableNamespaceResources
+ cluster.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ cluster.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if source.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *source.EnablePodSecurityPolicy
+ cluster.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ cluster.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if source.EnableRBAC != nil {
+ enableRBAC := *source.EnableRBAC
+ cluster.EnableRBAC = &enableRBAC
+ } else {
+ cluster.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if source.ExtendedLocation != nil {
+ var extendedLocation ExtendedLocation
+ err := extendedLocation.AssignProperties_From_ExtendedLocation(source.ExtendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ExtendedLocation() to populate field ExtendedLocation")
+ }
+ cluster.ExtendedLocation = &extendedLocation
+ } else {
+ cluster.ExtendedLocation = nil
+ }
+
+ // FqdnSubdomain
+ cluster.FqdnSubdomain = genruntime.ClonePointerToString(source.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if source.HttpProxyConfig != nil {
+ var httpProxyConfig ManagedClusterHTTPProxyConfig
+ err := httpProxyConfig.AssignProperties_From_ManagedClusterHTTPProxyConfig(source.HttpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
+ }
+ cluster.HttpProxyConfig = &httpProxyConfig
+ } else {
+ cluster.HttpProxyConfig = nil
+ }
+
+ // Identity
+ if source.Identity != nil {
+ var identity ManagedClusterIdentity
+ err := identity.AssignProperties_From_ManagedClusterIdentity(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIdentity() to populate field Identity")
+ }
+ cluster.Identity = &identity
+ } else {
+ cluster.Identity = nil
+ }
+
+ // IdentityProfile
+ if source.IdentityProfile != nil {
+ identityProfileMap := make(map[string]UserAssignedIdentity, len(source.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range source.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile UserAssignedIdentity
+ err := identityProfile.AssignProperties_From_UserAssignedIdentity(&identityProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ cluster.IdentityProfile = identityProfileMap
+ } else {
+ cluster.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if source.IngressProfile != nil {
+ var ingressProfile ManagedClusterIngressProfile
+ err := ingressProfile.AssignProperties_From_ManagedClusterIngressProfile(source.IngressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfile() to populate field IngressProfile")
+ }
+ cluster.IngressProfile = &ingressProfile
+ } else {
+ cluster.IngressProfile = nil
+ }
+
+ // Kind
+ cluster.Kind = genruntime.ClonePointerToString(source.Kind)
+
+ // KubernetesVersion
+ cluster.KubernetesVersion = genruntime.ClonePointerToString(source.KubernetesVersion)
+
+ // LinuxProfile
+ if source.LinuxProfile != nil {
+ var linuxProfile ContainerServiceLinuxProfile
+ err := linuxProfile.AssignProperties_From_ContainerServiceLinuxProfile(source.LinuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceLinuxProfile() to populate field LinuxProfile")
+ }
+ cluster.LinuxProfile = &linuxProfile
+ } else {
+ cluster.LinuxProfile = nil
+ }
+
+ // Location
+ cluster.Location = genruntime.ClonePointerToString(source.Location)
+
+ // MetricsProfile
+ if source.MetricsProfile != nil {
+ var metricsProfile ManagedClusterMetricsProfile
+ err := metricsProfile.AssignProperties_From_ManagedClusterMetricsProfile(source.MetricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterMetricsProfile() to populate field MetricsProfile")
+ }
+ cluster.MetricsProfile = &metricsProfile
+ } else {
+ cluster.MetricsProfile = nil
+ }
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile ContainerServiceNetworkProfile
+ err := networkProfile.AssignProperties_From_ContainerServiceNetworkProfile(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile() to populate field NetworkProfile")
+ }
+ cluster.NetworkProfile = &networkProfile
+ } else {
+ cluster.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if source.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile ManagedClusterNodeProvisioningProfile
+ err := nodeProvisioningProfile.AssignProperties_From_ManagedClusterNodeProvisioningProfile(source.NodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeProvisioningProfile() to populate field NodeProvisioningProfile")
+ }
+ cluster.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ cluster.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ cluster.NodeResourceGroup = genruntime.ClonePointerToString(source.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if source.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile ManagedClusterNodeResourceGroupProfile
+ err := nodeResourceGroupProfile.AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source.NodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeResourceGroupProfile() to populate field NodeResourceGroupProfile")
+ }
+ cluster.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ cluster.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if source.OidcIssuerProfile != nil {
+ var oidcIssuerProfile ManagedClusterOIDCIssuerProfile
+ err := oidcIssuerProfile.AssignProperties_From_ManagedClusterOIDCIssuerProfile(source.OidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
+ }
+ cluster.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ cluster.OidcIssuerProfile = nil
+ }
+
+ // OperatorSpec
+ if source.OperatorSpec != nil {
+ var operatorSpec ManagedClusterOperatorSpec
+ err := operatorSpec.AssignProperties_From_ManagedClusterOperatorSpec(source.OperatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOperatorSpec() to populate field OperatorSpec")
+ }
+ cluster.OperatorSpec = &operatorSpec
+ } else {
+ cluster.OperatorSpec = nil
+ }
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ cluster.Owner = &owner
+ } else {
+ cluster.Owner = nil
+ }
+
+ // PodIdentityProfile
+ if source.PodIdentityProfile != nil {
+ var podIdentityProfile ManagedClusterPodIdentityProfile
+ err := podIdentityProfile.AssignProperties_From_ManagedClusterPodIdentityProfile(source.PodIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
+ }
+ cluster.PodIdentityProfile = &podIdentityProfile
+ } else {
+ cluster.PodIdentityProfile = nil
+ }
+
+ // PrivateLinkResources
+ if source.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]PrivateLinkResource, len(source.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range source.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource PrivateLinkResource
+ err := privateLinkResource.AssignProperties_From_PrivateLinkResource(&privateLinkResourceItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PrivateLinkResource() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ cluster.PrivateLinkResources = privateLinkResourceList
+ } else {
+ cluster.PrivateLinkResources = nil
+ }
+
+ // PublicNetworkAccess
+ if source.PublicNetworkAccess != nil {
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
+ } else {
+ cluster.PublicNetworkAccess = nil
+ }
+
+ // SafeguardsProfile
+ if source.SafeguardsProfile != nil {
+ var safeguardsProfile SafeguardsProfile
+ err := safeguardsProfile.AssignProperties_From_SafeguardsProfile(source.SafeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SafeguardsProfile() to populate field SafeguardsProfile")
+ }
+ cluster.SafeguardsProfile = &safeguardsProfile
+ } else {
+ cluster.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile ManagedClusterSecurityProfile
+ err := securityProfile.AssignProperties_From_ManagedClusterSecurityProfile(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfile() to populate field SecurityProfile")
+ }
+ cluster.SecurityProfile = &securityProfile
+ } else {
+ cluster.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if source.ServiceMeshProfile != nil {
+ var serviceMeshProfile ServiceMeshProfile
+ err := serviceMeshProfile.AssignProperties_From_ServiceMeshProfile(source.ServiceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ServiceMeshProfile() to populate field ServiceMeshProfile")
+ }
+ cluster.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ cluster.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if source.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile ManagedClusterServicePrincipalProfile
+ err := servicePrincipalProfile.AssignProperties_From_ManagedClusterServicePrincipalProfile(source.ServicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
+ }
+ cluster.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ cluster.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if source.Sku != nil {
+ var sku ManagedClusterSKU
+ err := sku.AssignProperties_From_ManagedClusterSKU(source.Sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSKU() to populate field Sku")
+ }
+ cluster.Sku = &sku
+ } else {
+ cluster.Sku = nil
+ }
+
+ // StorageProfile
+ if source.StorageProfile != nil {
+ var storageProfile ManagedClusterStorageProfile
+ err := storageProfile.AssignProperties_From_ManagedClusterStorageProfile(source.StorageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfile() to populate field StorageProfile")
+ }
+ cluster.StorageProfile = &storageProfile
+ } else {
+ cluster.StorageProfile = nil
+ }
+
+ // SupportPlan
+ if source.SupportPlan != nil {
+ supportPlan := *source.SupportPlan
+ supportPlanTemp := genruntime.ToEnum(supportPlan, kubernetesSupportPlan_Values)
+ cluster.SupportPlan = &supportPlanTemp
+ } else {
+ cluster.SupportPlan = nil
+ }
+
+ // Tags
+ cluster.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting ClusterUpgradeSettings
+ err := upgradeSetting.AssignProperties_From_ClusterUpgradeSettings(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ClusterUpgradeSettings() to populate field UpgradeSettings")
+ }
+ cluster.UpgradeSettings = &upgradeSetting
+ } else {
+ cluster.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile ManagedClusterWindowsProfile
+ err := windowsProfile.AssignProperties_From_ManagedClusterWindowsProfile(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWindowsProfile() to populate field WindowsProfile")
+ }
+ cluster.WindowsProfile = &windowsProfile
+ } else {
+ cluster.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if source.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile ManagedClusterWorkloadAutoScalerProfile
+ err := workloadAutoScalerProfile.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source.WorkloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
+ }
+ cluster.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ cluster.WorkloadAutoScalerProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AadProfile
+ if cluster.AadProfile != nil {
+ var aadProfile storage.ManagedClusterAADProfile
+ err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
+ }
+ destination.AadProfile = &aadProfile
+ } else {
+ destination.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if cluster.AddonProfiles != nil {
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile storage.ManagedClusterAddonProfile
+ err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ destination.AddonProfiles = addonProfileMap
+ } else {
+ destination.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if cluster.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
+ err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ destination.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ destination.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if cluster.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile storage.ManagedClusterAIToolchainOperatorProfile
+ err := cluster.AiToolchainOperatorProfile.AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(&aiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAIToolchainOperatorProfile() to populate field AiToolchainOperatorProfile")
+ }
+ destination.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ destination.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if cluster.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
+ err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
+ }
+ destination.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ destination.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if cluster.AutoScalerProfile != nil {
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
+ err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
+ }
+ destination.AutoScalerProfile = &autoScalerProfile
+ } else {
+ destination.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if cluster.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
+ err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
+ }
+ destination.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ destination.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if cluster.AzureMonitorProfile != nil {
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
+ err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
+ }
+ destination.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ destination.AzureMonitorProfile = nil
+ }
+
+ // AzureName
+ destination.AzureName = cluster.AzureName
+
+ // BootstrapProfile
+ if cluster.BootstrapProfile != nil {
+ var bootstrapProfile storage.ManagedClusterBootstrapProfile
+ err := cluster.BootstrapProfile.AssignProperties_To_ManagedClusterBootstrapProfile(&bootstrapProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterBootstrapProfile() to populate field BootstrapProfile")
+ }
+ destination.BootstrapProfile = &bootstrapProfile
+ } else {
+ destination.BootstrapProfile = nil
+ }
+
+ // CreationData
+ if cluster.CreationData != nil {
+ var creationDatum storage.CreationData
+ err := cluster.CreationData.AssignProperties_To_CreationData(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // DisableLocalAccounts
+ if cluster.DisableLocalAccounts != nil {
+ disableLocalAccount := *cluster.DisableLocalAccounts
+ destination.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ destination.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetReference
+ if cluster.DiskEncryptionSetReference != nil {
+ diskEncryptionSetReference := cluster.DiskEncryptionSetReference.Copy()
+ destination.DiskEncryptionSetReference = &diskEncryptionSetReference
+ } else {
+ destination.DiskEncryptionSetReference = nil
+ }
+
+ // DnsPrefix
+ destination.DnsPrefix = genruntime.ClonePointerToString(cluster.DnsPrefix)
+
+ // EnableNamespaceResources
+ if cluster.EnableNamespaceResources != nil {
+ enableNamespaceResource := *cluster.EnableNamespaceResources
+ destination.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ destination.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if cluster.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *cluster.EnablePodSecurityPolicy
+ destination.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ destination.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if cluster.EnableRBAC != nil {
+ enableRBAC := *cluster.EnableRBAC
+ destination.EnableRBAC = &enableRBAC
+ } else {
+ destination.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if cluster.ExtendedLocation != nil {
+ var extendedLocation storage.ExtendedLocation
+ err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
+ }
+ destination.ExtendedLocation = &extendedLocation
+ } else {
+ destination.ExtendedLocation = nil
+ }
+
+ // FqdnSubdomain
+ destination.FqdnSubdomain = genruntime.ClonePointerToString(cluster.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if cluster.HttpProxyConfig != nil {
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
+ err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
+ }
+ destination.HttpProxyConfig = &httpProxyConfig
+ } else {
+ destination.HttpProxyConfig = nil
+ }
+
+ // Identity
+ if cluster.Identity != nil {
+ var identity storage.ManagedClusterIdentity
+ err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // IdentityProfile
+ if cluster.IdentityProfile != nil {
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile storage.UserAssignedIdentity
+ err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ destination.IdentityProfile = identityProfileMap
+ } else {
+ destination.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if cluster.IngressProfile != nil {
+ var ingressProfile storage.ManagedClusterIngressProfile
+ err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile(&ingressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile() to populate field IngressProfile")
+ }
+ destination.IngressProfile = &ingressProfile
+ } else {
+ destination.IngressProfile = nil
+ }
+
+ // Kind
+ destination.Kind = genruntime.ClonePointerToString(cluster.Kind)
+
+ // KubernetesVersion
+ destination.KubernetesVersion = genruntime.ClonePointerToString(cluster.KubernetesVersion)
+
+ // LinuxProfile
+ if cluster.LinuxProfile != nil {
+ var linuxProfile storage.ContainerServiceLinuxProfile
+ err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
+ }
+ destination.LinuxProfile = &linuxProfile
+ } else {
+ destination.LinuxProfile = nil
+ }
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(cluster.Location)
+
+ // MetricsProfile
+ if cluster.MetricsProfile != nil {
+ var metricsProfile storage.ManagedClusterMetricsProfile
+ err := cluster.MetricsProfile.AssignProperties_To_ManagedClusterMetricsProfile(&metricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterMetricsProfile() to populate field MetricsProfile")
+ }
+ destination.MetricsProfile = &metricsProfile
+ } else {
+ destination.MetricsProfile = nil
+ }
+
+ // NetworkProfile
+ if cluster.NetworkProfile != nil {
+ var networkProfile storage.ContainerServiceNetworkProfile
+ err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if cluster.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile storage.ManagedClusterNodeProvisioningProfile
+ err := cluster.NodeProvisioningProfile.AssignProperties_To_ManagedClusterNodeProvisioningProfile(&nodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeProvisioningProfile() to populate field NodeProvisioningProfile")
+ }
+ destination.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ destination.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ destination.NodeResourceGroup = genruntime.ClonePointerToString(cluster.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if cluster.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile
+ err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile(&nodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile() to populate field NodeResourceGroupProfile")
+ }
+ destination.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ destination.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if cluster.OidcIssuerProfile != nil {
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
+ err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
+ }
+ destination.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ destination.OidcIssuerProfile = nil
+ }
+
+ // OperatorSpec
+ if cluster.OperatorSpec != nil {
+ var operatorSpec storage.ManagedClusterOperatorSpec
+ err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
+ }
+ destination.OperatorSpec = &operatorSpec
+ } else {
+ destination.OperatorSpec = nil
+ }
+
+ // OriginalVersion
+ destination.OriginalVersion = cluster.OriginalVersion()
+
+ // Owner
+ if cluster.Owner != nil {
+ owner := cluster.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // PodIdentityProfile
+ if cluster.PodIdentityProfile != nil {
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
+ err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
+ }
+ destination.PodIdentityProfile = &podIdentityProfile
+ } else {
+ destination.PodIdentityProfile = nil
+ }
+
+ // PrivateLinkResources
+ if cluster.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource storage.PrivateLinkResource
+ err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ destination.PrivateLinkResources = privateLinkResourceList
+ } else {
+ destination.PrivateLinkResources = nil
+ }
+
+ // PublicNetworkAccess
+ if cluster.PublicNetworkAccess != nil {
+ publicNetworkAccess := string(*cluster.PublicNetworkAccess)
+ destination.PublicNetworkAccess = &publicNetworkAccess
+ } else {
+ destination.PublicNetworkAccess = nil
+ }
+
+ // SafeguardsProfile
+ if cluster.SafeguardsProfile != nil {
+ var safeguardsProfile storage.SafeguardsProfile
+ err := cluster.SafeguardsProfile.AssignProperties_To_SafeguardsProfile(&safeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SafeguardsProfile() to populate field SafeguardsProfile")
+ }
+ destination.SafeguardsProfile = &safeguardsProfile
+ } else {
+ destination.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if cluster.SecurityProfile != nil {
+ var securityProfile storage.ManagedClusterSecurityProfile
+ err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if cluster.ServiceMeshProfile != nil {
+ var serviceMeshProfile storage.ServiceMeshProfile
+ err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile(&serviceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile() to populate field ServiceMeshProfile")
+ }
+ destination.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ destination.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if cluster.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
+ err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
+ }
+ destination.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ destination.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if cluster.Sku != nil {
+ var sku storage.ManagedClusterSKU
+ err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
+ }
+ destination.Sku = &sku
+ } else {
+ destination.Sku = nil
+ }
+
+ // StorageProfile
+ if cluster.StorageProfile != nil {
+ var storageProfile storage.ManagedClusterStorageProfile
+ err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
+ }
+ destination.StorageProfile = &storageProfile
+ } else {
+ destination.StorageProfile = nil
+ }
+
+ // SupportPlan
+ if cluster.SupportPlan != nil {
+ supportPlan := string(*cluster.SupportPlan)
+ destination.SupportPlan = &supportPlan
+ } else {
+ destination.SupportPlan = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(cluster.Tags)
+
+ // UpgradeSettings
+ if cluster.UpgradeSettings != nil {
+ var upgradeSetting storage.ClusterUpgradeSettings
+ err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if cluster.WindowsProfile != nil {
+ var windowsProfile storage.ManagedClusterWindowsProfile
+ err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if cluster.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
+ err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
+ }
+ destination.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ destination.WorkloadAutoScalerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalVersion returns the original API version used to create the resource.
+func (cluster *ManagedCluster_Spec) OriginalVersion() string {
+ return GroupVersion.Version
+}
+
+// SetAzureName sets the Azure name of the resource
+func (cluster *ManagedCluster_Spec) SetAzureName(azureName string) { cluster.AzureName = azureName }
+
+// Managed cluster.
+type ManagedCluster_STATUS struct {
+ // AadProfile: The Azure Active Directory configuration.
+ AadProfile *ManagedClusterAADProfile_STATUS `json:"aadProfile,omitempty"`
+
+ // AddonProfiles: The profile of managed cluster add-on.
+ AddonProfiles map[string]ManagedClusterAddonProfile_STATUS `json:"addonProfiles,omitempty"`
+
+ // AgentPoolProfiles: The agent pool properties.
+ AgentPoolProfiles []ManagedClusterAgentPoolProfile_STATUS `json:"agentPoolProfiles,omitempty"`
+
+ // AiToolchainOperatorProfile: AI toolchain operator settings that apply to the whole cluster.
+ AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile_STATUS `json:"aiToolchainOperatorProfile,omitempty"`
+
+ // ApiServerAccessProfile: The access profile for managed cluster API server.
+ ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile_STATUS `json:"apiServerAccessProfile,omitempty"`
+
+ // AutoScalerProfile: Parameters to be applied to the cluster-autoscaler when enabled
+ AutoScalerProfile *ManagedClusterProperties_AutoScalerProfile_STATUS `json:"autoScalerProfile,omitempty"`
+
+ // AutoUpgradeProfile: The auto upgrade configuration.
+ AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile_STATUS `json:"autoUpgradeProfile,omitempty"`
+
+ // AzureMonitorProfile: Prometheus addon profile for the container service cluster
+ AzureMonitorProfile *ManagedClusterAzureMonitorProfile_STATUS `json:"azureMonitorProfile,omitempty"`
+
+ // AzurePortalFQDN: The Azure Portal requires certain Cross-Origin Resource Sharing (CORS) headers to be sent in some
+ // responses, which Kubernetes APIServer doesn't handle by default. This special FQDN supports CORS, allowing the Azure
+ // Portal to function properly.
+ AzurePortalFQDN *string `json:"azurePortalFQDN,omitempty"`
+
+ // BootstrapProfile: Profile of the cluster bootstrap configuration.
+ BootstrapProfile *ManagedClusterBootstrapProfile_STATUS `json:"bootstrapProfile,omitempty"`
+
+ // Conditions: The observed state of the resource
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the cluster will be created/upgraded using a
+ // snapshot.
+ CreationData *CreationData_STATUS `json:"creationData,omitempty"`
+
+ // CurrentKubernetesVersion: The version of Kubernetes the Managed Cluster is running.
+ CurrentKubernetesVersion *string `json:"currentKubernetesVersion,omitempty"`
+
+ // DisableLocalAccounts: If set to true, getting static credentials will be disabled for this cluster. This must only be
+ // used on Managed Clusters that are AAD enabled. For more details see [disable local
+ // accounts](https://docs.microsoft.com/azure/aks/managed-aad#disable-local-accounts-preview).
+ DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"`
+
+ // DiskEncryptionSetID: This is of the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
+ DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"`
+
+ // DnsPrefix: This cannot be updated once the Managed Cluster has been created.
+ DnsPrefix *string `json:"dnsPrefix,omitempty"`
+
+ // ETag: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
+ // updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic
+ // concurrency per the normal etag convention.
+ ETag *string `json:"eTag,omitempty"`
+
+ // EnableNamespaceResources: The default value is false. It can be enabled/disabled on creation and updating of the managed
+ // cluster. See [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on Namespace as
+ // a ARM Resource.
+ EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"`
+
+ // EnablePodSecurityPolicy: (DEPRECATED) Whether to enable Kubernetes pod security policy (preview). PodSecurityPolicy was
+ // deprecated in Kubernetes v1.21, and removed from Kubernetes in v1.25. Learn more at https://aka.ms/k8s/psp and
+ // https://aka.ms/aks/psp.
+ EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"`
+
+ // EnableRBAC: Whether to enable Kubernetes Role-Based Access Control.
+ EnableRBAC *bool `json:"enableRBAC,omitempty"`
+
+ // ExtendedLocation: The extended location of the Virtual Machine.
+ ExtendedLocation *ExtendedLocation_STATUS `json:"extendedLocation,omitempty"`
+
+ // Fqdn: The FQDN of the master pool.
+ Fqdn *string `json:"fqdn,omitempty"`
+
+ // FqdnSubdomain: This cannot be updated once the Managed Cluster has been created.
+ FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"`
+
+ // HttpProxyConfig: Configurations for provisioning the cluster with HTTP proxy servers.
+ HttpProxyConfig *ManagedClusterHTTPProxyConfig_STATUS `json:"httpProxyConfig,omitempty"`
+
+ // Id: Fully qualified resource ID for the resource. E.g.
+ // "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ Id *string `json:"id,omitempty"`
+
+ // Identity: The identity of the managed cluster, if configured.
+ Identity *ManagedClusterIdentity_STATUS `json:"identity,omitempty"`
+
+ // IdentityProfile: Identities associated with the cluster.
+ IdentityProfile map[string]UserAssignedIdentity_STATUS `json:"identityProfile,omitempty"`
+
+ // IngressProfile: Ingress profile for the managed cluster.
+ IngressProfile *ManagedClusterIngressProfile_STATUS `json:"ingressProfile,omitempty"`
+
+ // Kind: This is primarily used to expose different UI experiences in the portal for different kinds
+ Kind *string `json:"kind,omitempty"`
+
+ // KubernetesVersion: When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades
+ // must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x ->
+ // 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
+ // cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
+ KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
+
+ // LinuxProfile: The profile for Linux VMs in the Managed Cluster.
+ LinuxProfile *ContainerServiceLinuxProfile_STATUS `json:"linuxProfile,omitempty"`
+
+ // Location: The geo-location where the resource lives
+ Location *string `json:"location,omitempty"`
+
+ // MaxAgentPools: The max number of agent pools for the managed cluster.
+ MaxAgentPools *int `json:"maxAgentPools,omitempty"`
+
+ // MetricsProfile: Optional cluster metrics configuration.
+ MetricsProfile *ManagedClusterMetricsProfile_STATUS `json:"metricsProfile,omitempty"`
+
+ // Name: The name of the resource
+ Name *string `json:"name,omitempty"`
+
+ // NetworkProfile: The network configuration profile.
+ NetworkProfile *ContainerServiceNetworkProfile_STATUS `json:"networkProfile,omitempty"`
+
+ // NodeProvisioningProfile: Node provisioning settings that apply to the whole cluster.
+ NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile_STATUS `json:"nodeProvisioningProfile,omitempty"`
+
+ // NodeResourceGroup: The name of the resource group containing agent pool nodes.
+ NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"`
+
+ // NodeResourceGroupProfile: The node resource group configuration profile.
+ NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile_STATUS `json:"nodeResourceGroupProfile,omitempty"`
+
+ // OidcIssuerProfile: The OIDC issuer profile of the Managed Cluster.
+ OidcIssuerProfile *ManagedClusterOIDCIssuerProfile_STATUS `json:"oidcIssuerProfile,omitempty"`
+
+ // PodIdentityProfile: See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more
+ // details on AAD pod identity integration.
+ PodIdentityProfile *ManagedClusterPodIdentityProfile_STATUS `json:"podIdentityProfile,omitempty"`
+
+ // PowerState: The Power State of the cluster.
+ PowerState *PowerState_STATUS `json:"powerState,omitempty"`
+
+ // PrivateFQDN: The FQDN of private cluster.
+ PrivateFQDN *string `json:"privateFQDN,omitempty"`
+
+ // PrivateLinkResources: Private link resources associated with the cluster.
+ PrivateLinkResources []PrivateLinkResource_STATUS `json:"privateLinkResources,omitempty"`
+
+ // ProvisioningState: The current provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+
+ // PublicNetworkAccess: Allow or deny public network access for AKS
+ PublicNetworkAccess *ManagedClusterProperties_PublicNetworkAccess_STATUS `json:"publicNetworkAccess,omitempty"`
+
+ // ResourceUID: The resourceUID uniquely identifies ManagedClusters that reuse ARM ResourceIds (i.e: create, delete, create
+ // sequence)
+ ResourceUID *string `json:"resourceUID,omitempty"`
+
+ // SafeguardsProfile: The Safeguards profile holds all the safeguards information for a given cluster
+ SafeguardsProfile *SafeguardsProfile_STATUS `json:"safeguardsProfile,omitempty"`
+
+ // SecurityProfile: Security profile for the managed cluster.
+ SecurityProfile *ManagedClusterSecurityProfile_STATUS `json:"securityProfile,omitempty"`
+
+ // ServiceMeshProfile: Service mesh profile for a managed cluster.
+ ServiceMeshProfile *ServiceMeshProfile_STATUS `json:"serviceMeshProfile,omitempty"`
+
+ // ServicePrincipalProfile: Information about a service principal identity for the cluster to use for manipulating Azure
+ // APIs.
+ ServicePrincipalProfile *ManagedClusterServicePrincipalProfile_STATUS `json:"servicePrincipalProfile,omitempty"`
+
+ // Sku: The managed cluster SKU.
+ Sku *ManagedClusterSKU_STATUS `json:"sku,omitempty"`
+
+ // StorageProfile: Storage profile for the managed cluster.
+ StorageProfile *ManagedClusterStorageProfile_STATUS `json:"storageProfile,omitempty"`
+
+ // SupportPlan: The support plan for the Managed Cluster. If unspecified, the default is 'KubernetesOfficial'.
+ SupportPlan *KubernetesSupportPlan_STATUS `json:"supportPlan,omitempty"`
+
+ // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData_STATUS `json:"systemData,omitempty"`
+
+ // Tags: Resource tags.
+ Tags map[string]string `json:"tags,omitempty"`
+
+ // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading a cluster.
+ UpgradeSettings *ClusterUpgradeSettings_STATUS `json:"upgradeSettings,omitempty"`
+
+ // WindowsProfile: The profile for Windows VMs in the Managed Cluster.
+ WindowsProfile *ManagedClusterWindowsProfile_STATUS `json:"windowsProfile,omitempty"`
+
+ // WorkloadAutoScalerProfile: Workload Auto-scaler profile for the managed cluster.
+ WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile_STATUS `json:"workloadAutoScalerProfile,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
+
+// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
+func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*storage.ManagedCluster_STATUS)
+ if ok {
+ // Populate our instance from source
+ return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedCluster_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = cluster.AssignProperties_From_ManagedCluster_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
+func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedCluster_STATUS{}
+ err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+var _ genruntime.FromARMConverter = &ManagedCluster_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (cluster *ManagedCluster_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedCluster_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (cluster *ManagedCluster_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedCluster_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedCluster_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AadProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AadProfile != nil {
+ var aadProfile1 ManagedClusterAADProfile_STATUS
+ err := aadProfile1.PopulateFromARM(owner, *typedInput.Properties.AadProfile)
+ if err != nil {
+ return err
+ }
+ aadProfile := aadProfile1
+ cluster.AadProfile = &aadProfile
+ }
+ }
+
+ // Set property "AddonProfiles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AddonProfiles != nil {
+ cluster.AddonProfiles = make(map[string]ManagedClusterAddonProfile_STATUS, len(typedInput.Properties.AddonProfiles))
+ for key, value := range typedInput.Properties.AddonProfiles {
+ var value1 ManagedClusterAddonProfile_STATUS
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ cluster.AddonProfiles[key] = value1
+ }
+ }
+ }
+
+ // Set property "AgentPoolProfiles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.AgentPoolProfiles {
+ var item1 ManagedClusterAgentPoolProfile_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ cluster.AgentPoolProfiles = append(cluster.AgentPoolProfiles, item1)
+ }
+ }
+
+ // Set property "AiToolchainOperatorProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile1 ManagedClusterAIToolchainOperatorProfile_STATUS
+ err := aiToolchainOperatorProfile1.PopulateFromARM(owner, *typedInput.Properties.AiToolchainOperatorProfile)
+ if err != nil {
+ return err
+ }
+ aiToolchainOperatorProfile := aiToolchainOperatorProfile1
+ cluster.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ }
+ }
+
+ // Set property "ApiServerAccessProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile1 ManagedClusterAPIServerAccessProfile_STATUS
+ err := apiServerAccessProfile1.PopulateFromARM(owner, *typedInput.Properties.ApiServerAccessProfile)
+ if err != nil {
+ return err
+ }
+ apiServerAccessProfile := apiServerAccessProfile1
+ cluster.ApiServerAccessProfile = &apiServerAccessProfile
+ }
+ }
+
+ // Set property "AutoScalerProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AutoScalerProfile != nil {
+ var autoScalerProfile1 ManagedClusterProperties_AutoScalerProfile_STATUS
+ err := autoScalerProfile1.PopulateFromARM(owner, *typedInput.Properties.AutoScalerProfile)
+ if err != nil {
+ return err
+ }
+ autoScalerProfile := autoScalerProfile1
+ cluster.AutoScalerProfile = &autoScalerProfile
+ }
+ }
+
+ // Set property "AutoUpgradeProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile1 ManagedClusterAutoUpgradeProfile_STATUS
+ err := autoUpgradeProfile1.PopulateFromARM(owner, *typedInput.Properties.AutoUpgradeProfile)
+ if err != nil {
+ return err
+ }
+ autoUpgradeProfile := autoUpgradeProfile1
+ cluster.AutoUpgradeProfile = &autoUpgradeProfile
+ }
+ }
+
+ // Set property "AzureMonitorProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AzureMonitorProfile != nil {
+ var azureMonitorProfile1 ManagedClusterAzureMonitorProfile_STATUS
+ err := azureMonitorProfile1.PopulateFromARM(owner, *typedInput.Properties.AzureMonitorProfile)
+ if err != nil {
+ return err
+ }
+ azureMonitorProfile := azureMonitorProfile1
+ cluster.AzureMonitorProfile = &azureMonitorProfile
+ }
+ }
+
+ // Set property "AzurePortalFQDN":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.AzurePortalFQDN != nil {
+ azurePortalFQDN := *typedInput.Properties.AzurePortalFQDN
+ cluster.AzurePortalFQDN = &azurePortalFQDN
+ }
+ }
+
+ // Set property "BootstrapProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.BootstrapProfile != nil {
+ var bootstrapProfile1 ManagedClusterBootstrapProfile_STATUS
+ err := bootstrapProfile1.PopulateFromARM(owner, *typedInput.Properties.BootstrapProfile)
+ if err != nil {
+ return err
+ }
+ bootstrapProfile := bootstrapProfile1
+ cluster.BootstrapProfile = &bootstrapProfile
+ }
+ }
+
+ // no assignment for property "Conditions"
+
+ // Set property "CreationData":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CreationData != nil {
+ var creationData1 CreationData_STATUS
+ err := creationData1.PopulateFromARM(owner, *typedInput.Properties.CreationData)
+ if err != nil {
+ return err
+ }
+ creationData := creationData1
+ cluster.CreationData = &creationData
+ }
+ }
+
+ // Set property "CurrentKubernetesVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CurrentKubernetesVersion != nil {
+ currentKubernetesVersion := *typedInput.Properties.CurrentKubernetesVersion
+ cluster.CurrentKubernetesVersion = ¤tKubernetesVersion
+ }
+ }
+
+ // Set property "DisableLocalAccounts":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.DisableLocalAccounts != nil {
+ disableLocalAccounts := *typedInput.Properties.DisableLocalAccounts
+ cluster.DisableLocalAccounts = &disableLocalAccounts
+ }
+ }
+
+ // Set property "DiskEncryptionSetID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.DiskEncryptionSetID != nil {
+ diskEncryptionSetID := *typedInput.Properties.DiskEncryptionSetID
+ cluster.DiskEncryptionSetID = &diskEncryptionSetID
+ }
+ }
+
+ // Set property "DnsPrefix":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.DnsPrefix != nil {
+ dnsPrefix := *typedInput.Properties.DnsPrefix
+ cluster.DnsPrefix = &dnsPrefix
+ }
+ }
+
+ // Set property "ETag":
+ if typedInput.ETag != nil {
+ eTag := *typedInput.ETag
+ cluster.ETag = &eTag
+ }
+
+ // Set property "EnableNamespaceResources":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableNamespaceResources != nil {
+ enableNamespaceResources := *typedInput.Properties.EnableNamespaceResources
+ cluster.EnableNamespaceResources = &enableNamespaceResources
+ }
+ }
+
+ // Set property "EnablePodSecurityPolicy":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *typedInput.Properties.EnablePodSecurityPolicy
+ cluster.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ }
+ }
+
+ // Set property "EnableRBAC":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableRBAC != nil {
+ enableRBAC := *typedInput.Properties.EnableRBAC
+ cluster.EnableRBAC = &enableRBAC
+ }
+ }
+
+ // Set property "ExtendedLocation":
+ if typedInput.ExtendedLocation != nil {
+ var extendedLocation1 ExtendedLocation_STATUS
+ err := extendedLocation1.PopulateFromARM(owner, *typedInput.ExtendedLocation)
+ if err != nil {
+ return err
+ }
+ extendedLocation := extendedLocation1
+ cluster.ExtendedLocation = &extendedLocation
+ }
+
+ // Set property "Fqdn":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Fqdn != nil {
+ fqdn := *typedInput.Properties.Fqdn
+ cluster.Fqdn = &fqdn
+ }
+ }
+
+ // Set property "FqdnSubdomain":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.FqdnSubdomain != nil {
+ fqdnSubdomain := *typedInput.Properties.FqdnSubdomain
+ cluster.FqdnSubdomain = &fqdnSubdomain
+ }
+ }
+
+ // Set property "HttpProxyConfig":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.HttpProxyConfig != nil {
+ var httpProxyConfig1 ManagedClusterHTTPProxyConfig_STATUS
+ err := httpProxyConfig1.PopulateFromARM(owner, *typedInput.Properties.HttpProxyConfig)
+ if err != nil {
+ return err
+ }
+ httpProxyConfig := httpProxyConfig1
+ cluster.HttpProxyConfig = &httpProxyConfig
+ }
+ }
+
+ // Set property "Id":
+ if typedInput.Id != nil {
+ id := *typedInput.Id
+ cluster.Id = &id
+ }
+
+ // Set property "Identity":
+ if typedInput.Identity != nil {
+ var identity1 ManagedClusterIdentity_STATUS
+ err := identity1.PopulateFromARM(owner, *typedInput.Identity)
+ if err != nil {
+ return err
+ }
+ identity := identity1
+ cluster.Identity = &identity
+ }
+
+ // Set property "IdentityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.IdentityProfile != nil {
+ cluster.IdentityProfile = make(map[string]UserAssignedIdentity_STATUS, len(typedInput.Properties.IdentityProfile))
+ for key, value := range typedInput.Properties.IdentityProfile {
+ var value1 UserAssignedIdentity_STATUS
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ cluster.IdentityProfile[key] = value1
+ }
+ }
+ }
+
+ // Set property "IngressProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.IngressProfile != nil {
+ var ingressProfile1 ManagedClusterIngressProfile_STATUS
+ err := ingressProfile1.PopulateFromARM(owner, *typedInput.Properties.IngressProfile)
+ if err != nil {
+ return err
+ }
+ ingressProfile := ingressProfile1
+ cluster.IngressProfile = &ingressProfile
+ }
+ }
+
+ // Set property "Kind":
+ if typedInput.Kind != nil {
+ kind := *typedInput.Kind
+ cluster.Kind = &kind
+ }
+
+ // Set property "KubernetesVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.KubernetesVersion != nil {
+ kubernetesVersion := *typedInput.Properties.KubernetesVersion
+ cluster.KubernetesVersion = &kubernetesVersion
+ }
+ }
+
+ // Set property "LinuxProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.LinuxProfile != nil {
+ var linuxProfile1 ContainerServiceLinuxProfile_STATUS
+ err := linuxProfile1.PopulateFromARM(owner, *typedInput.Properties.LinuxProfile)
+ if err != nil {
+ return err
+ }
+ linuxProfile := linuxProfile1
+ cluster.LinuxProfile = &linuxProfile
+ }
+ }
+
+ // Set property "Location":
+ if typedInput.Location != nil {
+ location := *typedInput.Location
+ cluster.Location = &location
+ }
+
+ // Set property "MaxAgentPools":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MaxAgentPools != nil {
+ maxAgentPools := *typedInput.Properties.MaxAgentPools
+ cluster.MaxAgentPools = &maxAgentPools
+ }
+ }
+
+ // Set property "MetricsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MetricsProfile != nil {
+ var metricsProfile1 ManagedClusterMetricsProfile_STATUS
+ err := metricsProfile1.PopulateFromARM(owner, *typedInput.Properties.MetricsProfile)
+ if err != nil {
+ return err
+ }
+ metricsProfile := metricsProfile1
+ cluster.MetricsProfile = &metricsProfile
+ }
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ cluster.Name = &name
+ }
+
+ // Set property "NetworkProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NetworkProfile != nil {
+ var networkProfile1 ContainerServiceNetworkProfile_STATUS
+ err := networkProfile1.PopulateFromARM(owner, *typedInput.Properties.NetworkProfile)
+ if err != nil {
+ return err
+ }
+ networkProfile := networkProfile1
+ cluster.NetworkProfile = &networkProfile
+ }
+ }
+
+ // Set property "NodeProvisioningProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile1 ManagedClusterNodeProvisioningProfile_STATUS
+ err := nodeProvisioningProfile1.PopulateFromARM(owner, *typedInput.Properties.NodeProvisioningProfile)
+ if err != nil {
+ return err
+ }
+ nodeProvisioningProfile := nodeProvisioningProfile1
+ cluster.NodeProvisioningProfile = &nodeProvisioningProfile
+ }
+ }
+
+ // Set property "NodeResourceGroup":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeResourceGroup != nil {
+ nodeResourceGroup := *typedInput.Properties.NodeResourceGroup
+ cluster.NodeResourceGroup = &nodeResourceGroup
+ }
+ }
+
+ // Set property "NodeResourceGroupProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile1 ManagedClusterNodeResourceGroupProfile_STATUS
+ err := nodeResourceGroupProfile1.PopulateFromARM(owner, *typedInput.Properties.NodeResourceGroupProfile)
+ if err != nil {
+ return err
+ }
+ nodeResourceGroupProfile := nodeResourceGroupProfile1
+ cluster.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ }
+ }
+
+ // Set property "OidcIssuerProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OidcIssuerProfile != nil {
+ var oidcIssuerProfile1 ManagedClusterOIDCIssuerProfile_STATUS
+ err := oidcIssuerProfile1.PopulateFromARM(owner, *typedInput.Properties.OidcIssuerProfile)
+ if err != nil {
+ return err
+ }
+ oidcIssuerProfile := oidcIssuerProfile1
+ cluster.OidcIssuerProfile = &oidcIssuerProfile
+ }
+ }
+
+ // Set property "PodIdentityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PodIdentityProfile != nil {
+ var podIdentityProfile1 ManagedClusterPodIdentityProfile_STATUS
+ err := podIdentityProfile1.PopulateFromARM(owner, *typedInput.Properties.PodIdentityProfile)
+ if err != nil {
+ return err
+ }
+ podIdentityProfile := podIdentityProfile1
+ cluster.PodIdentityProfile = &podIdentityProfile
+ }
+ }
+
+ // Set property "PowerState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PowerState != nil {
+ var powerState1 PowerState_STATUS
+ err := powerState1.PopulateFromARM(owner, *typedInput.Properties.PowerState)
+ if err != nil {
+ return err
+ }
+ powerState := powerState1
+ cluster.PowerState = &powerState
+ }
+ }
+
+ // Set property "PrivateFQDN":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PrivateFQDN != nil {
+ privateFQDN := *typedInput.Properties.PrivateFQDN
+ cluster.PrivateFQDN = &privateFQDN
+ }
+ }
+
+ // Set property "PrivateLinkResources":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.PrivateLinkResources {
+ var item1 PrivateLinkResource_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ cluster.PrivateLinkResources = append(cluster.PrivateLinkResources, item1)
+ }
+ }
+
+ // Set property "ProvisioningState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ProvisioningState != nil {
+ provisioningState := *typedInput.Properties.ProvisioningState
+ cluster.ProvisioningState = &provisioningState
+ }
+ }
+
+ // Set property "PublicNetworkAccess":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PublicNetworkAccess != nil {
+ publicNetworkAccess := *typedInput.Properties.PublicNetworkAccess
+ cluster.PublicNetworkAccess = &publicNetworkAccess
+ }
+ }
+
+ // Set property "ResourceUID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ResourceUID != nil {
+ resourceUID := *typedInput.Properties.ResourceUID
+ cluster.ResourceUID = &resourceUID
+ }
+ }
+
+ // Set property "SafeguardsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SafeguardsProfile != nil {
+ var safeguardsProfile1 SafeguardsProfile_STATUS
+ err := safeguardsProfile1.PopulateFromARM(owner, *typedInput.Properties.SafeguardsProfile)
+ if err != nil {
+ return err
+ }
+ safeguardsProfile := safeguardsProfile1
+ cluster.SafeguardsProfile = &safeguardsProfile
+ }
+ }
+
+ // Set property "SecurityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SecurityProfile != nil {
+ var securityProfile1 ManagedClusterSecurityProfile_STATUS
+ err := securityProfile1.PopulateFromARM(owner, *typedInput.Properties.SecurityProfile)
+ if err != nil {
+ return err
+ }
+ securityProfile := securityProfile1
+ cluster.SecurityProfile = &securityProfile
+ }
+ }
+
+ // Set property "ServiceMeshProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ServiceMeshProfile != nil {
+ var serviceMeshProfile1 ServiceMeshProfile_STATUS
+ err := serviceMeshProfile1.PopulateFromARM(owner, *typedInput.Properties.ServiceMeshProfile)
+ if err != nil {
+ return err
+ }
+ serviceMeshProfile := serviceMeshProfile1
+ cluster.ServiceMeshProfile = &serviceMeshProfile
+ }
+ }
+
+ // Set property "ServicePrincipalProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile1 ManagedClusterServicePrincipalProfile_STATUS
+ err := servicePrincipalProfile1.PopulateFromARM(owner, *typedInput.Properties.ServicePrincipalProfile)
+ if err != nil {
+ return err
+ }
+ servicePrincipalProfile := servicePrincipalProfile1
+ cluster.ServicePrincipalProfile = &servicePrincipalProfile
+ }
+ }
+
+ // Set property "Sku":
+ if typedInput.Sku != nil {
+ var sku1 ManagedClusterSKU_STATUS
+ err := sku1.PopulateFromARM(owner, *typedInput.Sku)
+ if err != nil {
+ return err
+ }
+ sku := sku1
+ cluster.Sku = &sku
+ }
+
+ // Set property "StorageProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.StorageProfile != nil {
+ var storageProfile1 ManagedClusterStorageProfile_STATUS
+ err := storageProfile1.PopulateFromARM(owner, *typedInput.Properties.StorageProfile)
+ if err != nil {
+ return err
+ }
+ storageProfile := storageProfile1
+ cluster.StorageProfile = &storageProfile
+ }
+ }
+
+ // Set property "SupportPlan":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SupportPlan != nil {
+ supportPlan := *typedInput.Properties.SupportPlan
+ cluster.SupportPlan = &supportPlan
+ }
+ }
+
+ // Set property "SystemData":
+ if typedInput.SystemData != nil {
+ var systemData1 SystemData_STATUS
+ err := systemData1.PopulateFromARM(owner, *typedInput.SystemData)
+ if err != nil {
+ return err
+ }
+ systemData := systemData1
+ cluster.SystemData = &systemData
+ }
+
+ // Set property "Tags":
+ if typedInput.Tags != nil {
+ cluster.Tags = make(map[string]string, len(typedInput.Tags))
+ for key, value := range typedInput.Tags {
+ cluster.Tags[key] = value
+ }
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ cluster.Type = &typeVar
+ }
+
+ // Set property "UpgradeSettings":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.UpgradeSettings != nil {
+ var upgradeSettings1 ClusterUpgradeSettings_STATUS
+ err := upgradeSettings1.PopulateFromARM(owner, *typedInput.Properties.UpgradeSettings)
+ if err != nil {
+ return err
+ }
+ upgradeSettings := upgradeSettings1
+ cluster.UpgradeSettings = &upgradeSettings
+ }
+ }
+
+ // Set property "WindowsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WindowsProfile != nil {
+ var windowsProfile1 ManagedClusterWindowsProfile_STATUS
+ err := windowsProfile1.PopulateFromARM(owner, *typedInput.Properties.WindowsProfile)
+ if err != nil {
+ return err
+ }
+ windowsProfile := windowsProfile1
+ cluster.WindowsProfile = &windowsProfile
+ }
+ }
+
+ // Set property "WorkloadAutoScalerProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile1 ManagedClusterWorkloadAutoScalerProfile_STATUS
+ err := workloadAutoScalerProfile1.PopulateFromARM(owner, *typedInput.Properties.WorkloadAutoScalerProfile)
+ if err != nil {
+ return err
+ }
+ workloadAutoScalerProfile := workloadAutoScalerProfile1
+ cluster.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
+
+ // AadProfile
+ if source.AadProfile != nil {
+ var aadProfile ManagedClusterAADProfile_STATUS
+ err := aadProfile.AssignProperties_From_ManagedClusterAADProfile_STATUS(source.AadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
+ }
+ cluster.AadProfile = &aadProfile
+ } else {
+ cluster.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if source.AddonProfiles != nil {
+ addonProfileMap := make(map[string]ManagedClusterAddonProfile_STATUS, len(source.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range source.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile ManagedClusterAddonProfile_STATUS
+ err := addonProfile.AssignProperties_From_ManagedClusterAddonProfile_STATUS(&addonProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ cluster.AddonProfiles = addonProfileMap
+ } else {
+ cluster.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if source.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]ManagedClusterAgentPoolProfile_STATUS, len(source.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range source.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile ManagedClusterAgentPoolProfile_STATUS
+ err := agentPoolProfile.AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfileItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ cluster.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ cluster.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if source.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile ManagedClusterAIToolchainOperatorProfile_STATUS
+ err := aiToolchainOperatorProfile.AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS(source.AiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS() to populate field AiToolchainOperatorProfile")
+ }
+ cluster.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ cluster.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if source.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile ManagedClusterAPIServerAccessProfile_STATUS
+ err := apiServerAccessProfile.AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source.ApiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
+ }
+ cluster.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ cluster.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if source.AutoScalerProfile != nil {
+ var autoScalerProfile ManagedClusterProperties_AutoScalerProfile_STATUS
+ err := autoScalerProfile.AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source.AutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
+ }
+ cluster.AutoScalerProfile = &autoScalerProfile
+ } else {
+ cluster.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if source.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile ManagedClusterAutoUpgradeProfile_STATUS
+ err := autoUpgradeProfile.AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source.AutoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
+ }
+ cluster.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ cluster.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if source.AzureMonitorProfile != nil {
+ var azureMonitorProfile ManagedClusterAzureMonitorProfile_STATUS
+ err := azureMonitorProfile.AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source.AzureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
+ }
+ cluster.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ cluster.AzureMonitorProfile = nil
+ }
+
+ // AzurePortalFQDN
+ cluster.AzurePortalFQDN = genruntime.ClonePointerToString(source.AzurePortalFQDN)
+
+ // BootstrapProfile
+ if source.BootstrapProfile != nil {
+ var bootstrapProfile ManagedClusterBootstrapProfile_STATUS
+ err := bootstrapProfile.AssignProperties_From_ManagedClusterBootstrapProfile_STATUS(source.BootstrapProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterBootstrapProfile_STATUS() to populate field BootstrapProfile")
+ }
+ cluster.BootstrapProfile = &bootstrapProfile
+ } else {
+ cluster.BootstrapProfile = nil
+ }
+
+ // Conditions
+ cluster.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData_STATUS
+ err := creationDatum.AssignProperties_From_CreationData_STATUS(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData_STATUS() to populate field CreationData")
+ }
+ cluster.CreationData = &creationDatum
+ } else {
+ cluster.CreationData = nil
+ }
+
+ // CurrentKubernetesVersion
+ cluster.CurrentKubernetesVersion = genruntime.ClonePointerToString(source.CurrentKubernetesVersion)
+
+ // DisableLocalAccounts
+ if source.DisableLocalAccounts != nil {
+ disableLocalAccount := *source.DisableLocalAccounts
+ cluster.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ cluster.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetID
+ cluster.DiskEncryptionSetID = genruntime.ClonePointerToString(source.DiskEncryptionSetID)
+
+ // DnsPrefix
+ cluster.DnsPrefix = genruntime.ClonePointerToString(source.DnsPrefix)
+
+ // ETag
+ cluster.ETag = genruntime.ClonePointerToString(source.ETag)
+
+ // EnableNamespaceResources
+ if source.EnableNamespaceResources != nil {
+ enableNamespaceResource := *source.EnableNamespaceResources
+ cluster.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ cluster.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if source.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *source.EnablePodSecurityPolicy
+ cluster.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ cluster.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if source.EnableRBAC != nil {
+ enableRBAC := *source.EnableRBAC
+ cluster.EnableRBAC = &enableRBAC
+ } else {
+ cluster.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if source.ExtendedLocation != nil {
+ var extendedLocation ExtendedLocation_STATUS
+ err := extendedLocation.AssignProperties_From_ExtendedLocation_STATUS(source.ExtendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ExtendedLocation_STATUS() to populate field ExtendedLocation")
+ }
+ cluster.ExtendedLocation = &extendedLocation
+ } else {
+ cluster.ExtendedLocation = nil
+ }
+
+ // Fqdn
+ cluster.Fqdn = genruntime.ClonePointerToString(source.Fqdn)
+
+ // FqdnSubdomain
+ cluster.FqdnSubdomain = genruntime.ClonePointerToString(source.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if source.HttpProxyConfig != nil {
+ var httpProxyConfig ManagedClusterHTTPProxyConfig_STATUS
+ err := httpProxyConfig.AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source.HttpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
+ }
+ cluster.HttpProxyConfig = &httpProxyConfig
+ } else {
+ cluster.HttpProxyConfig = nil
+ }
+
+ // Id
+ cluster.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Identity
+ if source.Identity != nil {
+ var identity ManagedClusterIdentity_STATUS
+ err := identity.AssignProperties_From_ManagedClusterIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIdentity_STATUS() to populate field Identity")
+ }
+ cluster.Identity = &identity
+ } else {
+ cluster.Identity = nil
+ }
+
+ // IdentityProfile
+ if source.IdentityProfile != nil {
+ identityProfileMap := make(map[string]UserAssignedIdentity_STATUS, len(source.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range source.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile UserAssignedIdentity_STATUS
+ err := identityProfile.AssignProperties_From_UserAssignedIdentity_STATUS(&identityProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ cluster.IdentityProfile = identityProfileMap
+ } else {
+ cluster.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if source.IngressProfile != nil {
+ var ingressProfile ManagedClusterIngressProfile_STATUS
+ err := ingressProfile.AssignProperties_From_ManagedClusterIngressProfile_STATUS(source.IngressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfile_STATUS() to populate field IngressProfile")
+ }
+ cluster.IngressProfile = &ingressProfile
+ } else {
+ cluster.IngressProfile = nil
+ }
+
+ // Kind
+ cluster.Kind = genruntime.ClonePointerToString(source.Kind)
+
+ // KubernetesVersion
+ cluster.KubernetesVersion = genruntime.ClonePointerToString(source.KubernetesVersion)
+
+ // LinuxProfile
+ if source.LinuxProfile != nil {
+ var linuxProfile ContainerServiceLinuxProfile_STATUS
+ err := linuxProfile.AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source.LinuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
+ }
+ cluster.LinuxProfile = &linuxProfile
+ } else {
+ cluster.LinuxProfile = nil
+ }
+
+ // Location
+ cluster.Location = genruntime.ClonePointerToString(source.Location)
+
+ // MaxAgentPools
+ cluster.MaxAgentPools = genruntime.ClonePointerToInt(source.MaxAgentPools)
+
+ // MetricsProfile
+ if source.MetricsProfile != nil {
+ var metricsProfile ManagedClusterMetricsProfile_STATUS
+ err := metricsProfile.AssignProperties_From_ManagedClusterMetricsProfile_STATUS(source.MetricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterMetricsProfile_STATUS() to populate field MetricsProfile")
+ }
+ cluster.MetricsProfile = &metricsProfile
+ } else {
+ cluster.MetricsProfile = nil
+ }
+
+ // Name
+ cluster.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile ContainerServiceNetworkProfile_STATUS
+ err := networkProfile.AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ cluster.NetworkProfile = &networkProfile
+ } else {
+ cluster.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if source.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile ManagedClusterNodeProvisioningProfile_STATUS
+ err := nodeProvisioningProfile.AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS(source.NodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS() to populate field NodeProvisioningProfile")
+ }
+ cluster.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ cluster.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ cluster.NodeResourceGroup = genruntime.ClonePointerToString(source.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if source.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile ManagedClusterNodeResourceGroupProfile_STATUS
+ err := nodeResourceGroupProfile.AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source.NodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS() to populate field NodeResourceGroupProfile")
+ }
+ cluster.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ cluster.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if source.OidcIssuerProfile != nil {
+ var oidcIssuerProfile ManagedClusterOIDCIssuerProfile_STATUS
+ err := oidcIssuerProfile.AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source.OidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
+ }
+ cluster.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ cluster.OidcIssuerProfile = nil
+ }
+
+ // PodIdentityProfile
+ if source.PodIdentityProfile != nil {
+ var podIdentityProfile ManagedClusterPodIdentityProfile_STATUS
+ err := podIdentityProfile.AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source.PodIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
+ }
+ cluster.PodIdentityProfile = &podIdentityProfile
+ } else {
+ cluster.PodIdentityProfile = nil
+ }
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState_STATUS
+ err := powerState.AssignProperties_From_PowerState_STATUS(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState_STATUS() to populate field PowerState")
+ }
+ cluster.PowerState = &powerState
+ } else {
+ cluster.PowerState = nil
+ }
+
+ // PrivateFQDN
+ cluster.PrivateFQDN = genruntime.ClonePointerToString(source.PrivateFQDN)
+
+ // PrivateLinkResources
+ if source.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]PrivateLinkResource_STATUS, len(source.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range source.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource PrivateLinkResource_STATUS
+ err := privateLinkResource.AssignProperties_From_PrivateLinkResource_STATUS(&privateLinkResourceItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ cluster.PrivateLinkResources = privateLinkResourceList
+ } else {
+ cluster.PrivateLinkResources = nil
+ }
+
+ // ProvisioningState
+ cluster.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // PublicNetworkAccess
+ if source.PublicNetworkAccess != nil {
+ publicNetworkAccess := *source.PublicNetworkAccess
+ publicNetworkAccessTemp := genruntime.ToEnum(publicNetworkAccess, managedClusterProperties_PublicNetworkAccess_STATUS_Values)
+ cluster.PublicNetworkAccess = &publicNetworkAccessTemp
+ } else {
+ cluster.PublicNetworkAccess = nil
+ }
+
+ // ResourceUID
+ cluster.ResourceUID = genruntime.ClonePointerToString(source.ResourceUID)
+
+ // SafeguardsProfile
+ if source.SafeguardsProfile != nil {
+ var safeguardsProfile SafeguardsProfile_STATUS
+ err := safeguardsProfile.AssignProperties_From_SafeguardsProfile_STATUS(source.SafeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SafeguardsProfile_STATUS() to populate field SafeguardsProfile")
+ }
+ cluster.SafeguardsProfile = &safeguardsProfile
+ } else {
+ cluster.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile ManagedClusterSecurityProfile_STATUS
+ err := securityProfile.AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ cluster.SecurityProfile = &securityProfile
+ } else {
+ cluster.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if source.ServiceMeshProfile != nil {
+ var serviceMeshProfile ServiceMeshProfile_STATUS
+ err := serviceMeshProfile.AssignProperties_From_ServiceMeshProfile_STATUS(source.ServiceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
+ }
+ cluster.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ cluster.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if source.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile ManagedClusterServicePrincipalProfile_STATUS
+ err := servicePrincipalProfile.AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source.ServicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
+ }
+ cluster.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ cluster.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if source.Sku != nil {
+ var sku ManagedClusterSKU_STATUS
+ err := sku.AssignProperties_From_ManagedClusterSKU_STATUS(source.Sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSKU_STATUS() to populate field Sku")
+ }
+ cluster.Sku = &sku
+ } else {
+ cluster.Sku = nil
+ }
+
+ // StorageProfile
+ if source.StorageProfile != nil {
+ var storageProfile ManagedClusterStorageProfile_STATUS
+ err := storageProfile.AssignProperties_From_ManagedClusterStorageProfile_STATUS(source.StorageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
+ }
+ cluster.StorageProfile = &storageProfile
+ } else {
+ cluster.StorageProfile = nil
+ }
+
+ // SupportPlan
+ if source.SupportPlan != nil {
+ supportPlan := *source.SupportPlan
+ supportPlanTemp := genruntime.ToEnum(supportPlan, kubernetesSupportPlan_STATUS_Values)
+ cluster.SupportPlan = &supportPlanTemp
+ } else {
+ cluster.SupportPlan = nil
+ }
+
+ // SystemData
+ if source.SystemData != nil {
+ var systemDatum SystemData_STATUS
+ err := systemDatum.AssignProperties_From_SystemData_STATUS(source.SystemData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData")
+ }
+ cluster.SystemData = &systemDatum
+ } else {
+ cluster.SystemData = nil
+ }
+
+ // Tags
+ cluster.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ cluster.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting ClusterUpgradeSettings_STATUS
+ err := upgradeSetting.AssignProperties_From_ClusterUpgradeSettings_STATUS(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ cluster.UpgradeSettings = &upgradeSetting
+ } else {
+ cluster.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile ManagedClusterWindowsProfile_STATUS
+ err := windowsProfile.AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ cluster.WindowsProfile = &windowsProfile
+ } else {
+ cluster.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if source.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile ManagedClusterWorkloadAutoScalerProfile_STATUS
+ err := workloadAutoScalerProfile.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source.WorkloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
+ }
+ cluster.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ cluster.WorkloadAutoScalerProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AadProfile
+ if cluster.AadProfile != nil {
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
+ err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
+ }
+ destination.AadProfile = &aadProfile
+ } else {
+ destination.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if cluster.AddonProfiles != nil {
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
+ err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ destination.AddonProfiles = addonProfileMap
+ } else {
+ destination.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if cluster.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
+ err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ destination.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ destination.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if cluster.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile storage.ManagedClusterAIToolchainOperatorProfile_STATUS
+ err := cluster.AiToolchainOperatorProfile.AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(&aiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS() to populate field AiToolchainOperatorProfile")
+ }
+ destination.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ destination.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if cluster.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
+ err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
+ }
+ destination.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ destination.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if cluster.AutoScalerProfile != nil {
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
+ err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
+ }
+ destination.AutoScalerProfile = &autoScalerProfile
+ } else {
+ destination.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if cluster.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
+ err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
+ }
+ destination.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ destination.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if cluster.AzureMonitorProfile != nil {
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
+ err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
+ }
+ destination.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ destination.AzureMonitorProfile = nil
+ }
+
+ // AzurePortalFQDN
+ destination.AzurePortalFQDN = genruntime.ClonePointerToString(cluster.AzurePortalFQDN)
+
+ // BootstrapProfile
+ if cluster.BootstrapProfile != nil {
+ var bootstrapProfile storage.ManagedClusterBootstrapProfile_STATUS
+ err := cluster.BootstrapProfile.AssignProperties_To_ManagedClusterBootstrapProfile_STATUS(&bootstrapProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterBootstrapProfile_STATUS() to populate field BootstrapProfile")
+ }
+ destination.BootstrapProfile = &bootstrapProfile
+ } else {
+ destination.BootstrapProfile = nil
+ }
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(cluster.Conditions)
+
+ // CreationData
+ if cluster.CreationData != nil {
+ var creationDatum storage.CreationData_STATUS
+ err := cluster.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // CurrentKubernetesVersion
+ destination.CurrentKubernetesVersion = genruntime.ClonePointerToString(cluster.CurrentKubernetesVersion)
+
+ // DisableLocalAccounts
+ if cluster.DisableLocalAccounts != nil {
+ disableLocalAccount := *cluster.DisableLocalAccounts
+ destination.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ destination.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetID
+ destination.DiskEncryptionSetID = genruntime.ClonePointerToString(cluster.DiskEncryptionSetID)
+
+ // DnsPrefix
+ destination.DnsPrefix = genruntime.ClonePointerToString(cluster.DnsPrefix)
+
+ // ETag
+ destination.ETag = genruntime.ClonePointerToString(cluster.ETag)
+
+ // EnableNamespaceResources
+ if cluster.EnableNamespaceResources != nil {
+ enableNamespaceResource := *cluster.EnableNamespaceResources
+ destination.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ destination.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if cluster.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *cluster.EnablePodSecurityPolicy
+ destination.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ destination.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if cluster.EnableRBAC != nil {
+ enableRBAC := *cluster.EnableRBAC
+ destination.EnableRBAC = &enableRBAC
+ } else {
+ destination.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if cluster.ExtendedLocation != nil {
+ var extendedLocation storage.ExtendedLocation_STATUS
+ err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
+ }
+ destination.ExtendedLocation = &extendedLocation
+ } else {
+ destination.ExtendedLocation = nil
+ }
+
+ // Fqdn
+ destination.Fqdn = genruntime.ClonePointerToString(cluster.Fqdn)
+
+ // FqdnSubdomain
+ destination.FqdnSubdomain = genruntime.ClonePointerToString(cluster.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if cluster.HttpProxyConfig != nil {
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
+ err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
+ }
+ destination.HttpProxyConfig = &httpProxyConfig
+ } else {
+ destination.HttpProxyConfig = nil
+ }
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(cluster.Id)
+
+ // Identity
+ if cluster.Identity != nil {
+ var identity storage.ManagedClusterIdentity_STATUS
+ err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // IdentityProfile
+ if cluster.IdentityProfile != nil {
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile storage.UserAssignedIdentity_STATUS
+ err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ destination.IdentityProfile = identityProfileMap
+ } else {
+ destination.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if cluster.IngressProfile != nil {
+ var ingressProfile storage.ManagedClusterIngressProfile_STATUS
+ err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile_STATUS(&ingressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile_STATUS() to populate field IngressProfile")
+ }
+ destination.IngressProfile = &ingressProfile
+ } else {
+ destination.IngressProfile = nil
+ }
+
+ // Kind
+ destination.Kind = genruntime.ClonePointerToString(cluster.Kind)
+
+ // KubernetesVersion
+ destination.KubernetesVersion = genruntime.ClonePointerToString(cluster.KubernetesVersion)
+
+ // LinuxProfile
+ if cluster.LinuxProfile != nil {
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
+ err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
+ }
+ destination.LinuxProfile = &linuxProfile
+ } else {
+ destination.LinuxProfile = nil
+ }
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(cluster.Location)
+
+ // MaxAgentPools
+ destination.MaxAgentPools = genruntime.ClonePointerToInt(cluster.MaxAgentPools)
+
+ // MetricsProfile
+ if cluster.MetricsProfile != nil {
+ var metricsProfile storage.ManagedClusterMetricsProfile_STATUS
+ err := cluster.MetricsProfile.AssignProperties_To_ManagedClusterMetricsProfile_STATUS(&metricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterMetricsProfile_STATUS() to populate field MetricsProfile")
+ }
+ destination.MetricsProfile = &metricsProfile
+ } else {
+ destination.MetricsProfile = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(cluster.Name)
+
+ // NetworkProfile
+ if cluster.NetworkProfile != nil {
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
+ err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if cluster.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile storage.ManagedClusterNodeProvisioningProfile_STATUS
+ err := cluster.NodeProvisioningProfile.AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(&nodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS() to populate field NodeProvisioningProfile")
+ }
+ destination.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ destination.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ destination.NodeResourceGroup = genruntime.ClonePointerToString(cluster.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if cluster.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile_STATUS
+ err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(&nodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS() to populate field NodeResourceGroupProfile")
+ }
+ destination.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ destination.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if cluster.OidcIssuerProfile != nil {
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
+ err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
+ }
+ destination.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ destination.OidcIssuerProfile = nil
+ }
+
+ // PodIdentityProfile
+ if cluster.PodIdentityProfile != nil {
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
+ err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
+ }
+ destination.PodIdentityProfile = &podIdentityProfile
+ } else {
+ destination.PodIdentityProfile = nil
+ }
+
+ // PowerState
+ if cluster.PowerState != nil {
+ var powerState storage.PowerState_STATUS
+ err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // PrivateFQDN
+ destination.PrivateFQDN = genruntime.ClonePointerToString(cluster.PrivateFQDN)
+
+ // PrivateLinkResources
+ if cluster.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource storage.PrivateLinkResource_STATUS
+ err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ destination.PrivateLinkResources = privateLinkResourceList
+ } else {
+ destination.PrivateLinkResources = nil
+ }
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(cluster.ProvisioningState)
+
+ // PublicNetworkAccess
+ if cluster.PublicNetworkAccess != nil {
+ publicNetworkAccess := string(*cluster.PublicNetworkAccess)
+ destination.PublicNetworkAccess = &publicNetworkAccess
+ } else {
+ destination.PublicNetworkAccess = nil
+ }
+
+ // ResourceUID
+ destination.ResourceUID = genruntime.ClonePointerToString(cluster.ResourceUID)
+
+ // SafeguardsProfile
+ if cluster.SafeguardsProfile != nil {
+ var safeguardsProfile storage.SafeguardsProfile_STATUS
+ err := cluster.SafeguardsProfile.AssignProperties_To_SafeguardsProfile_STATUS(&safeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SafeguardsProfile_STATUS() to populate field SafeguardsProfile")
+ }
+ destination.SafeguardsProfile = &safeguardsProfile
+ } else {
+ destination.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if cluster.SecurityProfile != nil {
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
+ err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if cluster.ServiceMeshProfile != nil {
+ var serviceMeshProfile storage.ServiceMeshProfile_STATUS
+ err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile_STATUS(&serviceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
+ }
+ destination.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ destination.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if cluster.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
+ err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
+ }
+ destination.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ destination.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if cluster.Sku != nil {
+ var sku storage.ManagedClusterSKU_STATUS
+ err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
+ }
+ destination.Sku = &sku
+ } else {
+ destination.Sku = nil
+ }
+
+ // StorageProfile
+ if cluster.StorageProfile != nil {
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
+ err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
+ }
+ destination.StorageProfile = &storageProfile
+ } else {
+ destination.StorageProfile = nil
+ }
+
+ // SupportPlan
+ if cluster.SupportPlan != nil {
+ supportPlan := string(*cluster.SupportPlan)
+ destination.SupportPlan = &supportPlan
+ } else {
+ destination.SupportPlan = nil
+ }
+
+ // SystemData
+ if cluster.SystemData != nil {
+ var systemDatum storage.SystemData_STATUS
+ err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
+ }
+ destination.SystemData = &systemDatum
+ } else {
+ destination.SystemData = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(cluster.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(cluster.Type)
+
+ // UpgradeSettings
+ if cluster.UpgradeSettings != nil {
+ var upgradeSetting storage.ClusterUpgradeSettings_STATUS
+ err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings_STATUS(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if cluster.WindowsProfile != nil {
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
+ err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if cluster.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
+ }
+ destination.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ destination.WorkloadAutoScalerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Settings for upgrading a cluster.
+type ClusterUpgradeSettings struct {
+ // OverrideSettings: Settings for overrides.
+ OverrideSettings *UpgradeOverrideSettings `json:"overrideSettings,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ClusterUpgradeSettings{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (settings *ClusterUpgradeSettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if settings == nil {
+ return nil, nil
+ }
+ result := &ClusterUpgradeSettings_ARM{}
+
+ // Set property "OverrideSettings":
+ if settings.OverrideSettings != nil {
+ overrideSettings_ARM, err := (*settings.OverrideSettings).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ overrideSettings := *overrideSettings_ARM.(*UpgradeOverrideSettings_ARM)
+ result.OverrideSettings = &overrideSettings
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (settings *ClusterUpgradeSettings) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ClusterUpgradeSettings_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (settings *ClusterUpgradeSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ClusterUpgradeSettings_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ClusterUpgradeSettings_ARM, got %T", armInput)
+ }
+
+ // Set property "OverrideSettings":
+ if typedInput.OverrideSettings != nil {
+ var overrideSettings1 UpgradeOverrideSettings
+ err := overrideSettings1.PopulateFromARM(owner, *typedInput.OverrideSettings)
+ if err != nil {
+ return err
+ }
+ overrideSettings := overrideSettings1
+ settings.OverrideSettings = &overrideSettings
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ClusterUpgradeSettings populates our ClusterUpgradeSettings from the provided source ClusterUpgradeSettings
+func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *storage.ClusterUpgradeSettings) error {
+
+ // OverrideSettings
+ if source.OverrideSettings != nil {
+ var overrideSetting UpgradeOverrideSettings
+ err := overrideSetting.AssignProperties_From_UpgradeOverrideSettings(source.OverrideSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UpgradeOverrideSettings() to populate field OverrideSettings")
+ }
+ settings.OverrideSettings = &overrideSetting
+ } else {
+ settings.OverrideSettings = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ClusterUpgradeSettings populates the provided destination ClusterUpgradeSettings from our ClusterUpgradeSettings
+func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *storage.ClusterUpgradeSettings) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // OverrideSettings
+ if settings.OverrideSettings != nil {
+ var overrideSetting storage.UpgradeOverrideSettings
+ err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings(&overrideSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings() to populate field OverrideSettings")
+ }
+ destination.OverrideSettings = &overrideSetting
+ } else {
+ destination.OverrideSettings = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Settings for upgrading a cluster.
+type ClusterUpgradeSettings_STATUS struct {
+ // OverrideSettings: Settings for overrides.
+ OverrideSettings *UpgradeOverrideSettings_STATUS `json:"overrideSettings,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ClusterUpgradeSettings_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (settings *ClusterUpgradeSettings_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ClusterUpgradeSettings_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (settings *ClusterUpgradeSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ClusterUpgradeSettings_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ClusterUpgradeSettings_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "OverrideSettings":
+ if typedInput.OverrideSettings != nil {
+ var overrideSettings1 UpgradeOverrideSettings_STATUS
+ err := overrideSettings1.PopulateFromARM(owner, *typedInput.OverrideSettings)
+ if err != nil {
+ return err
+ }
+ overrideSettings := overrideSettings1
+ settings.OverrideSettings = &overrideSettings
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ClusterUpgradeSettings_STATUS populates our ClusterUpgradeSettings_STATUS from the provided source ClusterUpgradeSettings_STATUS
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *storage.ClusterUpgradeSettings_STATUS) error {
+
+ // OverrideSettings
+ if source.OverrideSettings != nil {
+ var overrideSetting UpgradeOverrideSettings_STATUS
+ err := overrideSetting.AssignProperties_From_UpgradeOverrideSettings_STATUS(source.OverrideSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
+ }
+ settings.OverrideSettings = &overrideSetting
+ } else {
+ settings.OverrideSettings = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ClusterUpgradeSettings_STATUS populates the provided destination ClusterUpgradeSettings_STATUS from our ClusterUpgradeSettings_STATUS
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *storage.ClusterUpgradeSettings_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // OverrideSettings
+ if settings.OverrideSettings != nil {
+ var overrideSetting storage.UpgradeOverrideSettings_STATUS
+ err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings_STATUS(&overrideSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
+ }
+ destination.OverrideSettings = &overrideSetting
+ } else {
+ destination.OverrideSettings = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile struct {
+ // +kubebuilder:validation:Required
+ // +kubebuilder:validation:Pattern="^[A-Za-z][-A-Za-z0-9_]*$"
+ // AdminUsername: The administrator username to use for Linux VMs.
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Ssh: The SSH configuration for Linux-based VMs running on Azure.
+ Ssh *ContainerServiceSshConfiguration `json:"ssh,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ContainerServiceLinuxProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ContainerServiceLinuxProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ContainerServiceLinuxProfile_ARM{}
+
+ // Set property "AdminUsername":
+ if profile.AdminUsername != nil {
+ adminUsername := *profile.AdminUsername
+ result.AdminUsername = &adminUsername
+ }
+
+ // Set property "Ssh":
+ if profile.Ssh != nil {
+ ssh_ARM, err := (*profile.Ssh).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ ssh := *ssh_ARM.(*ContainerServiceSshConfiguration_ARM)
+ result.Ssh = &ssh
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ContainerServiceLinuxProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceLinuxProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ContainerServiceLinuxProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceLinuxProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceLinuxProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AdminUsername":
+ if typedInput.AdminUsername != nil {
+ adminUsername := *typedInput.AdminUsername
+ profile.AdminUsername = &adminUsername
+ }
+
+ // Set property "Ssh":
+ if typedInput.Ssh != nil {
+ var ssh1 ContainerServiceSshConfiguration
+ err := ssh1.PopulateFromARM(owner, *typedInput.Ssh)
+ if err != nil {
+ return err
+ }
+ ssh := ssh1
+ profile.Ssh = &ssh
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
+
+ // AdminUsername
+ if source.AdminUsername != nil {
+ adminUsername := *source.AdminUsername
+ profile.AdminUsername = &adminUsername
+ } else {
+ profile.AdminUsername = nil
+ }
+
+ // Ssh
+ if source.Ssh != nil {
+ var ssh ContainerServiceSshConfiguration
+ err := ssh.AssignProperties_From_ContainerServiceSshConfiguration(source.Ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshConfiguration() to populate field Ssh")
+ }
+ profile.Ssh = &ssh
+ } else {
+ profile.Ssh = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminUsername
+ if profile.AdminUsername != nil {
+ adminUsername := *profile.AdminUsername
+ destination.AdminUsername = &adminUsername
+ } else {
+ destination.AdminUsername = nil
+ }
+
+ // Ssh
+ if profile.Ssh != nil {
+ var ssh storage.ContainerServiceSshConfiguration
+ err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
+ }
+ destination.Ssh = &ssh
+ } else {
+ destination.Ssh = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile_STATUS struct {
+ // AdminUsername: The administrator username to use for Linux VMs.
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // Ssh: The SSH configuration for Linux-based VMs running on Azure.
+ Ssh *ContainerServiceSshConfiguration_STATUS `json:"ssh,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ContainerServiceLinuxProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ContainerServiceLinuxProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceLinuxProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ContainerServiceLinuxProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceLinuxProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceLinuxProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AdminUsername":
+ if typedInput.AdminUsername != nil {
+ adminUsername := *typedInput.AdminUsername
+ profile.AdminUsername = &adminUsername
+ }
+
+ // Set property "Ssh":
+ if typedInput.Ssh != nil {
+ var ssh1 ContainerServiceSshConfiguration_STATUS
+ err := ssh1.PopulateFromARM(owner, *typedInput.Ssh)
+ if err != nil {
+ return err
+ }
+ ssh := ssh1
+ profile.Ssh = &ssh
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // Ssh
+ if source.Ssh != nil {
+ var ssh ContainerServiceSshConfiguration_STATUS
+ err := ssh.AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source.Ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
+ }
+ profile.Ssh = &ssh
+ } else {
+ profile.Ssh = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // Ssh
+ if profile.Ssh != nil {
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
+ err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
+ }
+ destination.Ssh = &ssh
+ } else {
+ destination.Ssh = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of network configuration.
+type ContainerServiceNetworkProfile struct {
+ // AdvancedNetworking: Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced
+ // networking features may incur additional costs. For more information see aka.ms/aksadvancednetworking.
+ AdvancedNetworking *AdvancedNetworking `json:"advancedNetworking,omitempty"`
+
+ // +kubebuilder:validation:Pattern="^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+ // DnsServiceIP: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address
+ // range specified in serviceCidr.
+ DnsServiceIP *string `json:"dnsServiceIP,omitempty"`
+
+ // IpFamilies: IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value
+ // is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
+ IpFamilies []IpFamily `json:"ipFamilies,omitempty"`
+
+ // KubeProxyConfig: Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy
+ // defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/
+ // where is represented by a - string. Kubernetes version 1.23 would be '1-23'.
+ KubeProxyConfig *ContainerServiceNetworkProfile_KubeProxyConfig `json:"kubeProxyConfig,omitempty"`
+
+ // LoadBalancerProfile: Profile of the cluster load balancer.
+ LoadBalancerProfile *ManagedClusterLoadBalancerProfile `json:"loadBalancerProfile,omitempty"`
+
+ // LoadBalancerSku: The default is 'standard'. See [Azure Load Balancer
+ // SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load
+ // balancer SKUs.
+ LoadBalancerSku *LoadBalancerSku `json:"loadBalancerSku,omitempty"`
+
+ // NatGatewayProfile: Profile of the cluster NAT gateway.
+ NatGatewayProfile *ManagedClusterNATGatewayProfile `json:"natGatewayProfile,omitempty"`
+
+ // NetworkDataplane: Network dataplane used in the Kubernetes cluster.
+ NetworkDataplane *NetworkDataplane `json:"networkDataplane,omitempty"`
+
+ // NetworkMode: This cannot be specified if networkPlugin is anything other than 'azure'.
+ NetworkMode *NetworkMode `json:"networkMode,omitempty"`
+
+ // NetworkPlugin: Network plugin used for building the Kubernetes network.
+ NetworkPlugin *NetworkPlugin `json:"networkPlugin,omitempty"`
+
+ // NetworkPluginMode: Network plugin mode used for building the Kubernetes network.
+ NetworkPluginMode *NetworkPluginMode `json:"networkPluginMode,omitempty"`
+
+ // NetworkPolicy: Network policy used for building the Kubernetes network.
+ NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"`
+
+ // OutboundType: This can only be set at cluster creation time and cannot be changed later. For more information see
+ // [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype).
+ OutboundType *ContainerServiceNetworkProfile_OutboundType `json:"outboundType,omitempty"`
+
+ // +kubebuilder:validation:Pattern="^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+ // PodCidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used.
+ PodCidr *string `json:"podCidr,omitempty"`
+
+ // PodCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking.
+ PodCidrs []string `json:"podCidrs,omitempty"`
+
+ // PodLinkLocalAccess: Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods
+ // with hostNetwork=false. if not specified, the default is 'IMDS'.
+ PodLinkLocalAccess *PodLinkLocalAccess `json:"podLinkLocalAccess,omitempty"`
+
+ // +kubebuilder:validation:Pattern="^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+ // ServiceCidr: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP
+ // ranges.
+ ServiceCidr *string `json:"serviceCidr,omitempty"`
+
+ // ServiceCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
+ ServiceCidrs []string `json:"serviceCidrs,omitempty"`
+
+ // StaticEgressGatewayProfile: The profile for Static Egress Gateway addon. For more details about Static Egress Gateway,
+ // see https://aka.ms/aks/static-egress-gateway.
+ StaticEgressGatewayProfile *ManagedClusterStaticEgressGatewayProfile `json:"staticEgressGatewayProfile,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ContainerServiceNetworkProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ContainerServiceNetworkProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ContainerServiceNetworkProfile_ARM{}
+
+ // Set property "AdvancedNetworking":
+ if profile.AdvancedNetworking != nil {
+ advancedNetworking_ARM, err := (*profile.AdvancedNetworking).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ advancedNetworking := *advancedNetworking_ARM.(*AdvancedNetworking_ARM)
+ result.AdvancedNetworking = &advancedNetworking
+ }
+
+ // Set property "DnsServiceIP":
+ if profile.DnsServiceIP != nil {
+ dnsServiceIP := *profile.DnsServiceIP
+ result.DnsServiceIP = &dnsServiceIP
+ }
+
+ // Set property "IpFamilies":
+ for _, item := range profile.IpFamilies {
+ result.IpFamilies = append(result.IpFamilies, item)
+ }
+
+ // Set property "KubeProxyConfig":
+ if profile.KubeProxyConfig != nil {
+ kubeProxyConfig_ARM, err := (*profile.KubeProxyConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ kubeProxyConfig := *kubeProxyConfig_ARM.(*ContainerServiceNetworkProfile_KubeProxyConfig_ARM)
+ result.KubeProxyConfig = &kubeProxyConfig
+ }
+
+ // Set property "LoadBalancerProfile":
+ if profile.LoadBalancerProfile != nil {
+ loadBalancerProfile_ARM, err := (*profile.LoadBalancerProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ loadBalancerProfile := *loadBalancerProfile_ARM.(*ManagedClusterLoadBalancerProfile_ARM)
+ result.LoadBalancerProfile = &loadBalancerProfile
+ }
+
+ // Set property "LoadBalancerSku":
+ if profile.LoadBalancerSku != nil {
+ loadBalancerSku := *profile.LoadBalancerSku
+ result.LoadBalancerSku = &loadBalancerSku
+ }
+
+ // Set property "NatGatewayProfile":
+ if profile.NatGatewayProfile != nil {
+ natGatewayProfile_ARM, err := (*profile.NatGatewayProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ natGatewayProfile := *natGatewayProfile_ARM.(*ManagedClusterNATGatewayProfile_ARM)
+ result.NatGatewayProfile = &natGatewayProfile
+ }
+
+ // Set property "NetworkDataplane":
+ if profile.NetworkDataplane != nil {
+ networkDataplane := *profile.NetworkDataplane
+ result.NetworkDataplane = &networkDataplane
+ }
+
+ // Set property "NetworkMode":
+ if profile.NetworkMode != nil {
+ networkMode := *profile.NetworkMode
+ result.NetworkMode = &networkMode
+ }
+
+ // Set property "NetworkPlugin":
+ if profile.NetworkPlugin != nil {
+ networkPlugin := *profile.NetworkPlugin
+ result.NetworkPlugin = &networkPlugin
+ }
+
+ // Set property "NetworkPluginMode":
+ if profile.NetworkPluginMode != nil {
+ networkPluginMode := *profile.NetworkPluginMode
+ result.NetworkPluginMode = &networkPluginMode
+ }
+
+ // Set property "NetworkPolicy":
+ if profile.NetworkPolicy != nil {
+ networkPolicy := *profile.NetworkPolicy
+ result.NetworkPolicy = &networkPolicy
+ }
+
+ // Set property "OutboundType":
+ if profile.OutboundType != nil {
+ outboundType := *profile.OutboundType
+ result.OutboundType = &outboundType
+ }
+
+ // Set property "PodCidr":
+ if profile.PodCidr != nil {
+ podCidr := *profile.PodCidr
+ result.PodCidr = &podCidr
+ }
+
+ // Set property "PodCidrs":
+ for _, item := range profile.PodCidrs {
+ result.PodCidrs = append(result.PodCidrs, item)
+ }
+
+ // Set property "PodLinkLocalAccess":
+ if profile.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := *profile.PodLinkLocalAccess
+ result.PodLinkLocalAccess = &podLinkLocalAccess
+ }
+
+ // Set property "ServiceCidr":
+ if profile.ServiceCidr != nil {
+ serviceCidr := *profile.ServiceCidr
+ result.ServiceCidr = &serviceCidr
+ }
+
+ // Set property "ServiceCidrs":
+ for _, item := range profile.ServiceCidrs {
+ result.ServiceCidrs = append(result.ServiceCidrs, item)
+ }
+
+ // Set property "StaticEgressGatewayProfile":
+ if profile.StaticEgressGatewayProfile != nil {
+ staticEgressGatewayProfile_ARM, err := (*profile.StaticEgressGatewayProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ staticEgressGatewayProfile := *staticEgressGatewayProfile_ARM.(*ManagedClusterStaticEgressGatewayProfile_ARM)
+ result.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ContainerServiceNetworkProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceNetworkProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ContainerServiceNetworkProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceNetworkProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceNetworkProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AdvancedNetworking":
+ if typedInput.AdvancedNetworking != nil {
+ var advancedNetworking1 AdvancedNetworking
+ err := advancedNetworking1.PopulateFromARM(owner, *typedInput.AdvancedNetworking)
+ if err != nil {
+ return err
+ }
+ advancedNetworking := advancedNetworking1
+ profile.AdvancedNetworking = &advancedNetworking
+ }
+
+ // Set property "DnsServiceIP":
+ if typedInput.DnsServiceIP != nil {
+ dnsServiceIP := *typedInput.DnsServiceIP
+ profile.DnsServiceIP = &dnsServiceIP
+ }
+
+ // Set property "IpFamilies":
+ for _, item := range typedInput.IpFamilies {
+ profile.IpFamilies = append(profile.IpFamilies, item)
+ }
+
+ // Set property "KubeProxyConfig":
+ if typedInput.KubeProxyConfig != nil {
+ var kubeProxyConfig1 ContainerServiceNetworkProfile_KubeProxyConfig
+ err := kubeProxyConfig1.PopulateFromARM(owner, *typedInput.KubeProxyConfig)
+ if err != nil {
+ return err
+ }
+ kubeProxyConfig := kubeProxyConfig1
+ profile.KubeProxyConfig = &kubeProxyConfig
+ }
+
+ // Set property "LoadBalancerProfile":
+ if typedInput.LoadBalancerProfile != nil {
+ var loadBalancerProfile1 ManagedClusterLoadBalancerProfile
+ err := loadBalancerProfile1.PopulateFromARM(owner, *typedInput.LoadBalancerProfile)
+ if err != nil {
+ return err
+ }
+ loadBalancerProfile := loadBalancerProfile1
+ profile.LoadBalancerProfile = &loadBalancerProfile
+ }
+
+ // Set property "LoadBalancerSku":
+ if typedInput.LoadBalancerSku != nil {
+ loadBalancerSku := *typedInput.LoadBalancerSku
+ profile.LoadBalancerSku = &loadBalancerSku
+ }
+
+ // Set property "NatGatewayProfile":
+ if typedInput.NatGatewayProfile != nil {
+ var natGatewayProfile1 ManagedClusterNATGatewayProfile
+ err := natGatewayProfile1.PopulateFromARM(owner, *typedInput.NatGatewayProfile)
+ if err != nil {
+ return err
+ }
+ natGatewayProfile := natGatewayProfile1
+ profile.NatGatewayProfile = &natGatewayProfile
+ }
+
+ // Set property "NetworkDataplane":
+ if typedInput.NetworkDataplane != nil {
+ networkDataplane := *typedInput.NetworkDataplane
+ profile.NetworkDataplane = &networkDataplane
+ }
+
+ // Set property "NetworkMode":
+ if typedInput.NetworkMode != nil {
+ networkMode := *typedInput.NetworkMode
+ profile.NetworkMode = &networkMode
+ }
+
+ // Set property "NetworkPlugin":
+ if typedInput.NetworkPlugin != nil {
+ networkPlugin := *typedInput.NetworkPlugin
+ profile.NetworkPlugin = &networkPlugin
+ }
+
+ // Set property "NetworkPluginMode":
+ if typedInput.NetworkPluginMode != nil {
+ networkPluginMode := *typedInput.NetworkPluginMode
+ profile.NetworkPluginMode = &networkPluginMode
+ }
+
+ // Set property "NetworkPolicy":
+ if typedInput.NetworkPolicy != nil {
+ networkPolicy := *typedInput.NetworkPolicy
+ profile.NetworkPolicy = &networkPolicy
+ }
+
+ // Set property "OutboundType":
+ if typedInput.OutboundType != nil {
+ outboundType := *typedInput.OutboundType
+ profile.OutboundType = &outboundType
+ }
+
+ // Set property "PodCidr":
+ if typedInput.PodCidr != nil {
+ podCidr := *typedInput.PodCidr
+ profile.PodCidr = &podCidr
+ }
+
+ // Set property "PodCidrs":
+ for _, item := range typedInput.PodCidrs {
+ profile.PodCidrs = append(profile.PodCidrs, item)
+ }
+
+ // Set property "PodLinkLocalAccess":
+ if typedInput.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := *typedInput.PodLinkLocalAccess
+ profile.PodLinkLocalAccess = &podLinkLocalAccess
+ }
+
+ // Set property "ServiceCidr":
+ if typedInput.ServiceCidr != nil {
+ serviceCidr := *typedInput.ServiceCidr
+ profile.ServiceCidr = &serviceCidr
+ }
+
+ // Set property "ServiceCidrs":
+ for _, item := range typedInput.ServiceCidrs {
+ profile.ServiceCidrs = append(profile.ServiceCidrs, item)
+ }
+
+ // Set property "StaticEgressGatewayProfile":
+ if typedInput.StaticEgressGatewayProfile != nil {
+ var staticEgressGatewayProfile1 ManagedClusterStaticEgressGatewayProfile
+ err := staticEgressGatewayProfile1.PopulateFromARM(owner, *typedInput.StaticEgressGatewayProfile)
+ if err != nil {
+ return err
+ }
+ staticEgressGatewayProfile := staticEgressGatewayProfile1
+ profile.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
+
+ // AdvancedNetworking
+ if source.AdvancedNetworking != nil {
+ var advancedNetworking AdvancedNetworking
+ err := advancedNetworking.AssignProperties_From_AdvancedNetworking(source.AdvancedNetworking)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AdvancedNetworking() to populate field AdvancedNetworking")
+ }
+ profile.AdvancedNetworking = &advancedNetworking
+ } else {
+ profile.AdvancedNetworking = nil
+ }
+
+ // DnsServiceIP
+ if source.DnsServiceIP != nil {
+ dnsServiceIP := *source.DnsServiceIP
+ profile.DnsServiceIP = &dnsServiceIP
+ } else {
+ profile.DnsServiceIP = nil
+ }
+
+ // IpFamilies
+ if source.IpFamilies != nil {
+ ipFamilyList := make([]IpFamily, len(source.IpFamilies))
+ for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
+ // Shadow the loop variable to avoid aliasing
+ ipFamilyItem := ipFamilyItem
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, ipFamily_Values)
+ }
+ profile.IpFamilies = ipFamilyList
+ } else {
+ profile.IpFamilies = nil
+ }
+
+ // KubeProxyConfig
+ if source.KubeProxyConfig != nil {
+ var kubeProxyConfig ContainerServiceNetworkProfile_KubeProxyConfig
+ err := kubeProxyConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source.KubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig() to populate field KubeProxyConfig")
+ }
+ profile.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ profile.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if source.LoadBalancerProfile != nil {
+ var loadBalancerProfile ManagedClusterLoadBalancerProfile
+ err := loadBalancerProfile.AssignProperties_From_ManagedClusterLoadBalancerProfile(source.LoadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
+ }
+ profile.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ profile.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ if source.LoadBalancerSku != nil {
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, loadBalancerSku_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
+ } else {
+ profile.LoadBalancerSku = nil
+ }
+
+ // NatGatewayProfile
+ if source.NatGatewayProfile != nil {
+ var natGatewayProfile ManagedClusterNATGatewayProfile
+ err := natGatewayProfile.AssignProperties_From_ManagedClusterNATGatewayProfile(source.NatGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
+ }
+ profile.NatGatewayProfile = &natGatewayProfile
+ } else {
+ profile.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ if source.NetworkDataplane != nil {
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, networkDataplane_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
+ } else {
+ profile.NetworkDataplane = nil
+ }
+
+ // NetworkMode
+ if source.NetworkMode != nil {
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, networkMode_Values)
+ profile.NetworkMode = &networkModeTemp
+ } else {
+ profile.NetworkMode = nil
+ }
+
+ // NetworkPlugin
+ if source.NetworkPlugin != nil {
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_Values)
+ profile.NetworkPlugin = &networkPluginTemp
+ } else {
+ profile.NetworkPlugin = nil
+ }
+
+ // NetworkPluginMode
+ if source.NetworkPluginMode != nil {
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, networkPluginMode_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
+ } else {
+ profile.NetworkPluginMode = nil
+ }
+
+ // NetworkPolicy
+ if source.NetworkPolicy != nil {
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, networkPolicy_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
+ } else {
+ profile.NetworkPolicy = nil
+ }
+
+ // OutboundType
+ if source.OutboundType != nil {
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_Values)
+ profile.OutboundType = &outboundTypeTemp
+ } else {
+ profile.OutboundType = nil
+ }
+
+ // PodCidr
+ if source.PodCidr != nil {
+ podCidr := *source.PodCidr
+ profile.PodCidr = &podCidr
+ } else {
+ profile.PodCidr = nil
+ }
+
+ // PodCidrs
+ profile.PodCidrs = genruntime.CloneSliceOfString(source.PodCidrs)
+
+ // PodLinkLocalAccess
+ if source.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := *source.PodLinkLocalAccess
+ podLinkLocalAccessTemp := genruntime.ToEnum(podLinkLocalAccess, podLinkLocalAccess_Values)
+ profile.PodLinkLocalAccess = &podLinkLocalAccessTemp
+ } else {
+ profile.PodLinkLocalAccess = nil
+ }
+
+ // ServiceCidr
+ if source.ServiceCidr != nil {
+ serviceCidr := *source.ServiceCidr
+ profile.ServiceCidr = &serviceCidr
+ } else {
+ profile.ServiceCidr = nil
+ }
+
+ // ServiceCidrs
+ profile.ServiceCidrs = genruntime.CloneSliceOfString(source.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if source.StaticEgressGatewayProfile != nil {
+ var staticEgressGatewayProfile ManagedClusterStaticEgressGatewayProfile
+ err := staticEgressGatewayProfile.AssignProperties_From_ManagedClusterStaticEgressGatewayProfile(source.StaticEgressGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStaticEgressGatewayProfile() to populate field StaticEgressGatewayProfile")
+ }
+ profile.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ } else {
+ profile.StaticEgressGatewayProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdvancedNetworking
+ if profile.AdvancedNetworking != nil {
+ var advancedNetworking storage.AdvancedNetworking
+ err := profile.AdvancedNetworking.AssignProperties_To_AdvancedNetworking(&advancedNetworking)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AdvancedNetworking() to populate field AdvancedNetworking")
+ }
+ destination.AdvancedNetworking = &advancedNetworking
+ } else {
+ destination.AdvancedNetworking = nil
+ }
+
+ // DnsServiceIP
+ if profile.DnsServiceIP != nil {
+ dnsServiceIP := *profile.DnsServiceIP
+ destination.DnsServiceIP = &dnsServiceIP
+ } else {
+ destination.DnsServiceIP = nil
+ }
+
+ // IpFamilies
+ if profile.IpFamilies != nil {
+ ipFamilyList := make([]string, len(profile.IpFamilies))
+ for ipFamilyIndex, ipFamilyItem := range profile.IpFamilies {
+ // Shadow the loop variable to avoid aliasing
+ ipFamilyItem := ipFamilyItem
+ ipFamilyList[ipFamilyIndex] = string(ipFamilyItem)
+ }
+ destination.IpFamilies = ipFamilyList
+ } else {
+ destination.IpFamilies = nil
+ }
+
+ // KubeProxyConfig
+ if profile.KubeProxyConfig != nil {
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig
+ err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(&kubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig() to populate field KubeProxyConfig")
+ }
+ destination.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ destination.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if profile.LoadBalancerProfile != nil {
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
+ err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
+ }
+ destination.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ destination.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ if profile.LoadBalancerSku != nil {
+ loadBalancerSku := string(*profile.LoadBalancerSku)
+ destination.LoadBalancerSku = &loadBalancerSku
+ } else {
+ destination.LoadBalancerSku = nil
+ }
+
+ // NatGatewayProfile
+ if profile.NatGatewayProfile != nil {
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
+ err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
+ }
+ destination.NatGatewayProfile = &natGatewayProfile
+ } else {
+ destination.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ if profile.NetworkDataplane != nil {
+ networkDataplane := string(*profile.NetworkDataplane)
+ destination.NetworkDataplane = &networkDataplane
+ } else {
+ destination.NetworkDataplane = nil
+ }
+
+ // NetworkMode
+ if profile.NetworkMode != nil {
+ networkMode := string(*profile.NetworkMode)
+ destination.NetworkMode = &networkMode
+ } else {
+ destination.NetworkMode = nil
+ }
+
+ // NetworkPlugin
+ if profile.NetworkPlugin != nil {
+ networkPlugin := string(*profile.NetworkPlugin)
+ destination.NetworkPlugin = &networkPlugin
+ } else {
+ destination.NetworkPlugin = nil
+ }
+
+ // NetworkPluginMode
+ if profile.NetworkPluginMode != nil {
+ networkPluginMode := string(*profile.NetworkPluginMode)
+ destination.NetworkPluginMode = &networkPluginMode
+ } else {
+ destination.NetworkPluginMode = nil
+ }
+
+ // NetworkPolicy
+ if profile.NetworkPolicy != nil {
+ networkPolicy := string(*profile.NetworkPolicy)
+ destination.NetworkPolicy = &networkPolicy
+ } else {
+ destination.NetworkPolicy = nil
+ }
+
+ // OutboundType
+ if profile.OutboundType != nil {
+ outboundType := string(*profile.OutboundType)
+ destination.OutboundType = &outboundType
+ } else {
+ destination.OutboundType = nil
+ }
+
+ // PodCidr
+ if profile.PodCidr != nil {
+ podCidr := *profile.PodCidr
+ destination.PodCidr = &podCidr
+ } else {
+ destination.PodCidr = nil
+ }
+
+ // PodCidrs
+ destination.PodCidrs = genruntime.CloneSliceOfString(profile.PodCidrs)
+
+ // PodLinkLocalAccess
+ if profile.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := string(*profile.PodLinkLocalAccess)
+ destination.PodLinkLocalAccess = &podLinkLocalAccess
+ } else {
+ destination.PodLinkLocalAccess = nil
+ }
+
+ // ServiceCidr
+ if profile.ServiceCidr != nil {
+ serviceCidr := *profile.ServiceCidr
+ destination.ServiceCidr = &serviceCidr
+ } else {
+ destination.ServiceCidr = nil
+ }
+
+ // ServiceCidrs
+ destination.ServiceCidrs = genruntime.CloneSliceOfString(profile.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if profile.StaticEgressGatewayProfile != nil {
+ var staticEgressGatewayProfile storage.ManagedClusterStaticEgressGatewayProfile
+ err := profile.StaticEgressGatewayProfile.AssignProperties_To_ManagedClusterStaticEgressGatewayProfile(&staticEgressGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStaticEgressGatewayProfile() to populate field StaticEgressGatewayProfile")
+ }
+ destination.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ } else {
+ destination.StaticEgressGatewayProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of network configuration.
+type ContainerServiceNetworkProfile_STATUS struct {
+ // AdvancedNetworking: Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced
+ // networking features may incur additional costs. For more information see aka.ms/aksadvancednetworking.
+ AdvancedNetworking *AdvancedNetworking_STATUS `json:"advancedNetworking,omitempty"`
+
+ // DnsServiceIP: An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address
+ // range specified in serviceCidr.
+ DnsServiceIP *string `json:"dnsServiceIP,omitempty"`
+
+ // IpFamilies: IP families are used to determine single-stack or dual-stack clusters. For single-stack, the expected value
+ // is IPv4. For dual-stack, the expected values are IPv4 and IPv6.
+ IpFamilies []IpFamily_STATUS `json:"ipFamilies,omitempty"`
+
+ // KubeProxyConfig: Holds configuration customizations for kube-proxy. Any values not defined will use the kube-proxy
+ // defaulting behavior. See https://v.docs.kubernetes.io/docs/reference/command-line-tools-reference/kube-proxy/
+ // where is represented by a - string. Kubernetes version 1.23 would be '1-23'.
+ KubeProxyConfig *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS `json:"kubeProxyConfig,omitempty"`
+
+ // LoadBalancerProfile: Profile of the cluster load balancer.
+ LoadBalancerProfile *ManagedClusterLoadBalancerProfile_STATUS `json:"loadBalancerProfile,omitempty"`
+
+ // LoadBalancerSku: The default is 'standard'. See [Azure Load Balancer
+ // SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load
+ // balancer SKUs.
+ LoadBalancerSku *LoadBalancerSku_STATUS `json:"loadBalancerSku,omitempty"`
+
+ // NatGatewayProfile: Profile of the cluster NAT gateway.
+ NatGatewayProfile *ManagedClusterNATGatewayProfile_STATUS `json:"natGatewayProfile,omitempty"`
+
+ // NetworkDataplane: Network dataplane used in the Kubernetes cluster.
+ NetworkDataplane *NetworkDataplane_STATUS `json:"networkDataplane,omitempty"`
+
+ // NetworkMode: This cannot be specified if networkPlugin is anything other than 'azure'.
+ NetworkMode *NetworkMode_STATUS `json:"networkMode,omitempty"`
+
+ // NetworkPlugin: Network plugin used for building the Kubernetes network.
+ NetworkPlugin *NetworkPlugin_STATUS `json:"networkPlugin,omitempty"`
+
+ // NetworkPluginMode: Network plugin mode used for building the Kubernetes network.
+ NetworkPluginMode *NetworkPluginMode_STATUS `json:"networkPluginMode,omitempty"`
+
+ // NetworkPolicy: Network policy used for building the Kubernetes network.
+ NetworkPolicy *NetworkPolicy_STATUS `json:"networkPolicy,omitempty"`
+
+ // OutboundType: This can only be set at cluster creation time and cannot be changed later. For more information see
+ // [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype).
+ OutboundType *ContainerServiceNetworkProfile_OutboundType_STATUS `json:"outboundType,omitempty"`
+
+ // PodCidr: A CIDR notation IP range from which to assign pod IPs when kubenet is used.
+ PodCidr *string `json:"podCidr,omitempty"`
+
+ // PodCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking.
+ PodCidrs []string `json:"podCidrs,omitempty"`
+
+ // PodLinkLocalAccess: Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods
+ // with hostNetwork=false. if not specified, the default is 'IMDS'.
+ PodLinkLocalAccess *PodLinkLocalAccess_STATUS `json:"podLinkLocalAccess,omitempty"`
+
+ // ServiceCidr: A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP
+ // ranges.
+ ServiceCidr *string `json:"serviceCidr,omitempty"`
+
+ // ServiceCidrs: One IPv4 CIDR is expected for single-stack networking. Two CIDRs, one for each IP family (IPv4/IPv6), is
+ // expected for dual-stack networking. They must not overlap with any Subnet IP ranges.
+ ServiceCidrs []string `json:"serviceCidrs,omitempty"`
+
+ // StaticEgressGatewayProfile: The profile for Static Egress Gateway addon. For more details about Static Egress Gateway,
+ // see https://aka.ms/aks/static-egress-gateway.
+ StaticEgressGatewayProfile *ManagedClusterStaticEgressGatewayProfile_STATUS `json:"staticEgressGatewayProfile,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ContainerServiceNetworkProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ContainerServiceNetworkProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceNetworkProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ContainerServiceNetworkProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceNetworkProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceNetworkProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AdvancedNetworking":
+ if typedInput.AdvancedNetworking != nil {
+ var advancedNetworking1 AdvancedNetworking_STATUS
+ err := advancedNetworking1.PopulateFromARM(owner, *typedInput.AdvancedNetworking)
+ if err != nil {
+ return err
+ }
+ advancedNetworking := advancedNetworking1
+ profile.AdvancedNetworking = &advancedNetworking
+ }
+
+ // Set property "DnsServiceIP":
+ if typedInput.DnsServiceIP != nil {
+ dnsServiceIP := *typedInput.DnsServiceIP
+ profile.DnsServiceIP = &dnsServiceIP
+ }
+
+ // Set property "IpFamilies":
+ for _, item := range typedInput.IpFamilies {
+ profile.IpFamilies = append(profile.IpFamilies, item)
+ }
+
+ // Set property "KubeProxyConfig":
+ if typedInput.KubeProxyConfig != nil {
+ var kubeProxyConfig1 ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ err := kubeProxyConfig1.PopulateFromARM(owner, *typedInput.KubeProxyConfig)
+ if err != nil {
+ return err
+ }
+ kubeProxyConfig := kubeProxyConfig1
+ profile.KubeProxyConfig = &kubeProxyConfig
+ }
+
+ // Set property "LoadBalancerProfile":
+ if typedInput.LoadBalancerProfile != nil {
+ var loadBalancerProfile1 ManagedClusterLoadBalancerProfile_STATUS
+ err := loadBalancerProfile1.PopulateFromARM(owner, *typedInput.LoadBalancerProfile)
+ if err != nil {
+ return err
+ }
+ loadBalancerProfile := loadBalancerProfile1
+ profile.LoadBalancerProfile = &loadBalancerProfile
+ }
+
+ // Set property "LoadBalancerSku":
+ if typedInput.LoadBalancerSku != nil {
+ loadBalancerSku := *typedInput.LoadBalancerSku
+ profile.LoadBalancerSku = &loadBalancerSku
+ }
+
+ // Set property "NatGatewayProfile":
+ if typedInput.NatGatewayProfile != nil {
+ var natGatewayProfile1 ManagedClusterNATGatewayProfile_STATUS
+ err := natGatewayProfile1.PopulateFromARM(owner, *typedInput.NatGatewayProfile)
+ if err != nil {
+ return err
+ }
+ natGatewayProfile := natGatewayProfile1
+ profile.NatGatewayProfile = &natGatewayProfile
+ }
+
+ // Set property "NetworkDataplane":
+ if typedInput.NetworkDataplane != nil {
+ networkDataplane := *typedInput.NetworkDataplane
+ profile.NetworkDataplane = &networkDataplane
+ }
+
+ // Set property "NetworkMode":
+ if typedInput.NetworkMode != nil {
+ networkMode := *typedInput.NetworkMode
+ profile.NetworkMode = &networkMode
+ }
+
+ // Set property "NetworkPlugin":
+ if typedInput.NetworkPlugin != nil {
+ networkPlugin := *typedInput.NetworkPlugin
+ profile.NetworkPlugin = &networkPlugin
+ }
+
+ // Set property "NetworkPluginMode":
+ if typedInput.NetworkPluginMode != nil {
+ networkPluginMode := *typedInput.NetworkPluginMode
+ profile.NetworkPluginMode = &networkPluginMode
+ }
+
+ // Set property "NetworkPolicy":
+ if typedInput.NetworkPolicy != nil {
+ networkPolicy := *typedInput.NetworkPolicy
+ profile.NetworkPolicy = &networkPolicy
+ }
+
+ // Set property "OutboundType":
+ if typedInput.OutboundType != nil {
+ outboundType := *typedInput.OutboundType
+ profile.OutboundType = &outboundType
+ }
+
+ // Set property "PodCidr":
+ if typedInput.PodCidr != nil {
+ podCidr := *typedInput.PodCidr
+ profile.PodCidr = &podCidr
+ }
+
+ // Set property "PodCidrs":
+ for _, item := range typedInput.PodCidrs {
+ profile.PodCidrs = append(profile.PodCidrs, item)
+ }
+
+ // Set property "PodLinkLocalAccess":
+ if typedInput.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := *typedInput.PodLinkLocalAccess
+ profile.PodLinkLocalAccess = &podLinkLocalAccess
+ }
+
+ // Set property "ServiceCidr":
+ if typedInput.ServiceCidr != nil {
+ serviceCidr := *typedInput.ServiceCidr
+ profile.ServiceCidr = &serviceCidr
+ }
+
+ // Set property "ServiceCidrs":
+ for _, item := range typedInput.ServiceCidrs {
+ profile.ServiceCidrs = append(profile.ServiceCidrs, item)
+ }
+
+ // Set property "StaticEgressGatewayProfile":
+ if typedInput.StaticEgressGatewayProfile != nil {
+ var staticEgressGatewayProfile1 ManagedClusterStaticEgressGatewayProfile_STATUS
+ err := staticEgressGatewayProfile1.PopulateFromARM(owner, *typedInput.StaticEgressGatewayProfile)
+ if err != nil {
+ return err
+ }
+ staticEgressGatewayProfile := staticEgressGatewayProfile1
+ profile.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
+
+ // AdvancedNetworking
+ if source.AdvancedNetworking != nil {
+ var advancedNetworking AdvancedNetworking_STATUS
+ err := advancedNetworking.AssignProperties_From_AdvancedNetworking_STATUS(source.AdvancedNetworking)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AdvancedNetworking_STATUS() to populate field AdvancedNetworking")
+ }
+ profile.AdvancedNetworking = &advancedNetworking
+ } else {
+ profile.AdvancedNetworking = nil
+ }
+
+ // DnsServiceIP
+ profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
+
+ // IpFamilies
+ if source.IpFamilies != nil {
+ ipFamilyList := make([]IpFamily_STATUS, len(source.IpFamilies))
+ for ipFamilyIndex, ipFamilyItem := range source.IpFamilies {
+ // Shadow the loop variable to avoid aliasing
+ ipFamilyItem := ipFamilyItem
+ ipFamilyList[ipFamilyIndex] = genruntime.ToEnum(ipFamilyItem, ipFamily_STATUS_Values)
+ }
+ profile.IpFamilies = ipFamilyList
+ } else {
+ profile.IpFamilies = nil
+ }
+
+ // KubeProxyConfig
+ if source.KubeProxyConfig != nil {
+ var kubeProxyConfig ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ err := kubeProxyConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source.KubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS() to populate field KubeProxyConfig")
+ }
+ profile.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ profile.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if source.LoadBalancerProfile != nil {
+ var loadBalancerProfile ManagedClusterLoadBalancerProfile_STATUS
+ err := loadBalancerProfile.AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source.LoadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
+ }
+ profile.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ profile.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ if source.LoadBalancerSku != nil {
+ loadBalancerSku := *source.LoadBalancerSku
+ loadBalancerSkuTemp := genruntime.ToEnum(loadBalancerSku, loadBalancerSku_STATUS_Values)
+ profile.LoadBalancerSku = &loadBalancerSkuTemp
+ } else {
+ profile.LoadBalancerSku = nil
+ }
+
+ // NatGatewayProfile
+ if source.NatGatewayProfile != nil {
+ var natGatewayProfile ManagedClusterNATGatewayProfile_STATUS
+ err := natGatewayProfile.AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source.NatGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
+ }
+ profile.NatGatewayProfile = &natGatewayProfile
+ } else {
+ profile.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ if source.NetworkDataplane != nil {
+ networkDataplane := *source.NetworkDataplane
+ networkDataplaneTemp := genruntime.ToEnum(networkDataplane, networkDataplane_STATUS_Values)
+ profile.NetworkDataplane = &networkDataplaneTemp
+ } else {
+ profile.NetworkDataplane = nil
+ }
+
+ // NetworkMode
+ if source.NetworkMode != nil {
+ networkMode := *source.NetworkMode
+ networkModeTemp := genruntime.ToEnum(networkMode, networkMode_STATUS_Values)
+ profile.NetworkMode = &networkModeTemp
+ } else {
+ profile.NetworkMode = nil
+ }
+
+ // NetworkPlugin
+ if source.NetworkPlugin != nil {
+ networkPlugin := *source.NetworkPlugin
+ networkPluginTemp := genruntime.ToEnum(networkPlugin, networkPlugin_STATUS_Values)
+ profile.NetworkPlugin = &networkPluginTemp
+ } else {
+ profile.NetworkPlugin = nil
+ }
+
+ // NetworkPluginMode
+ if source.NetworkPluginMode != nil {
+ networkPluginMode := *source.NetworkPluginMode
+ networkPluginModeTemp := genruntime.ToEnum(networkPluginMode, networkPluginMode_STATUS_Values)
+ profile.NetworkPluginMode = &networkPluginModeTemp
+ } else {
+ profile.NetworkPluginMode = nil
+ }
+
+ // NetworkPolicy
+ if source.NetworkPolicy != nil {
+ networkPolicy := *source.NetworkPolicy
+ networkPolicyTemp := genruntime.ToEnum(networkPolicy, networkPolicy_STATUS_Values)
+ profile.NetworkPolicy = &networkPolicyTemp
+ } else {
+ profile.NetworkPolicy = nil
+ }
+
+ // OutboundType
+ if source.OutboundType != nil {
+ outboundType := *source.OutboundType
+ outboundTypeTemp := genruntime.ToEnum(outboundType, containerServiceNetworkProfile_OutboundType_STATUS_Values)
+ profile.OutboundType = &outboundTypeTemp
+ } else {
+ profile.OutboundType = nil
+ }
+
+ // PodCidr
+ profile.PodCidr = genruntime.ClonePointerToString(source.PodCidr)
+
+ // PodCidrs
+ profile.PodCidrs = genruntime.CloneSliceOfString(source.PodCidrs)
+
+ // PodLinkLocalAccess
+ if source.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := *source.PodLinkLocalAccess
+ podLinkLocalAccessTemp := genruntime.ToEnum(podLinkLocalAccess, podLinkLocalAccess_STATUS_Values)
+ profile.PodLinkLocalAccess = &podLinkLocalAccessTemp
+ } else {
+ profile.PodLinkLocalAccess = nil
+ }
+
+ // ServiceCidr
+ profile.ServiceCidr = genruntime.ClonePointerToString(source.ServiceCidr)
+
+ // ServiceCidrs
+ profile.ServiceCidrs = genruntime.CloneSliceOfString(source.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if source.StaticEgressGatewayProfile != nil {
+ var staticEgressGatewayProfile ManagedClusterStaticEgressGatewayProfile_STATUS
+ err := staticEgressGatewayProfile.AssignProperties_From_ManagedClusterStaticEgressGatewayProfile_STATUS(source.StaticEgressGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStaticEgressGatewayProfile_STATUS() to populate field StaticEgressGatewayProfile")
+ }
+ profile.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ } else {
+ profile.StaticEgressGatewayProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdvancedNetworking
+ if profile.AdvancedNetworking != nil {
+ var advancedNetworking storage.AdvancedNetworking_STATUS
+ err := profile.AdvancedNetworking.AssignProperties_To_AdvancedNetworking_STATUS(&advancedNetworking)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AdvancedNetworking_STATUS() to populate field AdvancedNetworking")
+ }
+ destination.AdvancedNetworking = &advancedNetworking
+ } else {
+ destination.AdvancedNetworking = nil
+ }
+
+ // DnsServiceIP
+ destination.DnsServiceIP = genruntime.ClonePointerToString(profile.DnsServiceIP)
+
+ // IpFamilies
+ if profile.IpFamilies != nil {
+ ipFamilyList := make([]string, len(profile.IpFamilies))
+ for ipFamilyIndex, ipFamilyItem := range profile.IpFamilies {
+ // Shadow the loop variable to avoid aliasing
+ ipFamilyItem := ipFamilyItem
+ ipFamilyList[ipFamilyIndex] = string(ipFamilyItem)
+ }
+ destination.IpFamilies = ipFamilyList
+ } else {
+ destination.IpFamilies = nil
+ }
+
+ // KubeProxyConfig
+ if profile.KubeProxyConfig != nil {
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(&kubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS() to populate field KubeProxyConfig")
+ }
+ destination.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ destination.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if profile.LoadBalancerProfile != nil {
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
+ err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
+ }
+ destination.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ destination.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ if profile.LoadBalancerSku != nil {
+ loadBalancerSku := string(*profile.LoadBalancerSku)
+ destination.LoadBalancerSku = &loadBalancerSku
+ } else {
+ destination.LoadBalancerSku = nil
+ }
+
+ // NatGatewayProfile
+ if profile.NatGatewayProfile != nil {
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
+ err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
+ }
+ destination.NatGatewayProfile = &natGatewayProfile
+ } else {
+ destination.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ if profile.NetworkDataplane != nil {
+ networkDataplane := string(*profile.NetworkDataplane)
+ destination.NetworkDataplane = &networkDataplane
+ } else {
+ destination.NetworkDataplane = nil
+ }
+
+ // NetworkMode
+ if profile.NetworkMode != nil {
+ networkMode := string(*profile.NetworkMode)
+ destination.NetworkMode = &networkMode
+ } else {
+ destination.NetworkMode = nil
+ }
+
+ // NetworkPlugin
+ if profile.NetworkPlugin != nil {
+ networkPlugin := string(*profile.NetworkPlugin)
+ destination.NetworkPlugin = &networkPlugin
+ } else {
+ destination.NetworkPlugin = nil
+ }
+
+ // NetworkPluginMode
+ if profile.NetworkPluginMode != nil {
+ networkPluginMode := string(*profile.NetworkPluginMode)
+ destination.NetworkPluginMode = &networkPluginMode
+ } else {
+ destination.NetworkPluginMode = nil
+ }
+
+ // NetworkPolicy
+ if profile.NetworkPolicy != nil {
+ networkPolicy := string(*profile.NetworkPolicy)
+ destination.NetworkPolicy = &networkPolicy
+ } else {
+ destination.NetworkPolicy = nil
+ }
+
+ // OutboundType
+ if profile.OutboundType != nil {
+ outboundType := string(*profile.OutboundType)
+ destination.OutboundType = &outboundType
+ } else {
+ destination.OutboundType = nil
+ }
+
+ // PodCidr
+ destination.PodCidr = genruntime.ClonePointerToString(profile.PodCidr)
+
+ // PodCidrs
+ destination.PodCidrs = genruntime.CloneSliceOfString(profile.PodCidrs)
+
+ // PodLinkLocalAccess
+ if profile.PodLinkLocalAccess != nil {
+ podLinkLocalAccess := string(*profile.PodLinkLocalAccess)
+ destination.PodLinkLocalAccess = &podLinkLocalAccess
+ } else {
+ destination.PodLinkLocalAccess = nil
+ }
+
+ // ServiceCidr
+ destination.ServiceCidr = genruntime.ClonePointerToString(profile.ServiceCidr)
+
+ // ServiceCidrs
+ destination.ServiceCidrs = genruntime.CloneSliceOfString(profile.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if profile.StaticEgressGatewayProfile != nil {
+ var staticEgressGatewayProfile storage.ManagedClusterStaticEgressGatewayProfile_STATUS
+ err := profile.StaticEgressGatewayProfile.AssignProperties_To_ManagedClusterStaticEgressGatewayProfile_STATUS(&staticEgressGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStaticEgressGatewayProfile_STATUS() to populate field StaticEgressGatewayProfile")
+ }
+ destination.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ } else {
+ destination.StaticEgressGatewayProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Data used when creating a target resource from a source resource.
+type CreationData struct {
+ // SourceResourceReference: This is the ARM ID of the source object to be used to create the target object.
+ SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &CreationData{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (data *CreationData) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if data == nil {
+ return nil, nil
+ }
+ result := &CreationData_ARM{}
+
+ // Set property "SourceResourceId":
+ if data.SourceResourceReference != nil {
+ sourceResourceReferenceARMID, err := resolved.ResolvedReferences.Lookup(*data.SourceResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ sourceResourceReference := sourceResourceReferenceARMID
+ result.SourceResourceId = &sourceResourceReference
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (data *CreationData) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &CreationData_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (data *CreationData) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ _, ok := armInput.(CreationData_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected CreationData_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "SourceResourceReference"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
+
+ // SourceResourceReference
+ if source.SourceResourceReference != nil {
+ sourceResourceReference := source.SourceResourceReference.Copy()
+ data.SourceResourceReference = &sourceResourceReference
+ } else {
+ data.SourceResourceReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // SourceResourceReference
+ if data.SourceResourceReference != nil {
+ sourceResourceReference := data.SourceResourceReference.Copy()
+ destination.SourceResourceReference = &sourceResourceReference
+ } else {
+ destination.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Data used when creating a target resource from a source resource.
+type CreationData_STATUS struct {
+ // SourceResourceId: This is the ARM ID of the source object to be used to create the target object.
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &CreationData_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (data *CreationData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &CreationData_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (data *CreationData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(CreationData_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected CreationData_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "SourceResourceId":
+ if typedInput.SourceResourceId != nil {
+ sourceResourceId := *typedInput.SourceResourceId
+ data.SourceResourceId = &sourceResourceId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
+
+ // SourceResourceId
+ data.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // SourceResourceId
+ destination.SourceResourceId = genruntime.ClonePointerToString(data.SourceResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The complex type of the extended location.
+type ExtendedLocation struct {
+ // Name: The name of the extended location.
+ Name *string `json:"name,omitempty"`
+
+ // Type: The type of the extended location.
+ Type *ExtendedLocationType `json:"type,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ExtendedLocation{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (location *ExtendedLocation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if location == nil {
+ return nil, nil
+ }
+ result := &ExtendedLocation_ARM{}
+
+ // Set property "Name":
+ if location.Name != nil {
+ name := *location.Name
+ result.Name = &name
+ }
+
+ // Set property "Type":
+ if location.Type != nil {
+ typeVar := *location.Type
+ result.Type = &typeVar
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (location *ExtendedLocation) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ExtendedLocation_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ExtendedLocation_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ExtendedLocation_ARM, got %T", armInput)
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ location.Name = &name
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ location.Type = &typeVar
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
+
+ // Name
+ location.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
+ } else {
+ location.Type = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(location.Name)
+
+ // Type
+ if location.Type != nil {
+ typeVar := string(*location.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The complex type of the extended location.
+type ExtendedLocation_STATUS struct {
+ // Name: The name of the extended location.
+ Name *string `json:"name,omitempty"`
+
+ // Type: The type of the extended location.
+ Type *ExtendedLocationType_STATUS `json:"type,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ExtendedLocation_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (location *ExtendedLocation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ExtendedLocation_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ExtendedLocation_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ExtendedLocation_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ location.Name = &name
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ location.Type = &typeVar
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
+
+ // Name
+ location.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
+ } else {
+ location.Type = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(location.Name)
+
+ // Type
+ if location.Type != nil {
+ typeVar := string(*location.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Different support tiers for AKS managed clusters
+// +kubebuilder:validation:Enum={"AKSLongTermSupport","KubernetesOfficial"}
+type KubernetesSupportPlan string
+
+const (
+ KubernetesSupportPlan_AKSLongTermSupport = KubernetesSupportPlan("AKSLongTermSupport")
+ KubernetesSupportPlan_KubernetesOfficial = KubernetesSupportPlan("KubernetesOfficial")
+)
+
+// Mapping from string to KubernetesSupportPlan
+var kubernetesSupportPlan_Values = map[string]KubernetesSupportPlan{
+ "akslongtermsupport": KubernetesSupportPlan_AKSLongTermSupport,
+ "kubernetesofficial": KubernetesSupportPlan_KubernetesOfficial,
+}
+
+// Different support tiers for AKS managed clusters
+type KubernetesSupportPlan_STATUS string
+
+const (
+ KubernetesSupportPlan_STATUS_AKSLongTermSupport = KubernetesSupportPlan_STATUS("AKSLongTermSupport")
+ KubernetesSupportPlan_STATUS_KubernetesOfficial = KubernetesSupportPlan_STATUS("KubernetesOfficial")
+)
+
+// Mapping from string to KubernetesSupportPlan_STATUS
+var kubernetesSupportPlan_STATUS_Values = map[string]KubernetesSupportPlan_STATUS{
+ "akslongtermsupport": KubernetesSupportPlan_STATUS_AKSLongTermSupport,
+ "kubernetesofficial": KubernetesSupportPlan_STATUS_KubernetesOfficial,
+}
+
+// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
+type ManagedClusterAADProfile struct {
+ // AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
+ AdminGroupObjectIDs []string `json:"adminGroupObjectIDs,omitempty"`
+
+ // ClientAppID: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ClientAppID *string `json:"clientAppID,omitempty"`
+
+ // EnableAzureRBAC: Whether to enable Azure RBAC for Kubernetes authorization.
+ EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"`
+
+ // Managed: Whether to enable managed AAD.
+ Managed *bool `json:"managed,omitempty"`
+
+ // ServerAppID: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppID *string `json:"serverAppID,omitempty"`
+
+ // ServerAppSecret: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppSecret *string `json:"serverAppSecret,omitempty"`
+
+ // TenantID: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment
+ // subscription.
+ TenantID *string `json:"tenantID,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAADProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAADProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAADProfile_ARM{}
+
+ // Set property "AdminGroupObjectIDs":
+ for _, item := range profile.AdminGroupObjectIDs {
+ result.AdminGroupObjectIDs = append(result.AdminGroupObjectIDs, item)
+ }
+
+ // Set property "ClientAppID":
+ if profile.ClientAppID != nil {
+ clientAppID := *profile.ClientAppID
+ result.ClientAppID = &clientAppID
+ }
+
+ // Set property "EnableAzureRBAC":
+ if profile.EnableAzureRBAC != nil {
+ enableAzureRBAC := *profile.EnableAzureRBAC
+ result.EnableAzureRBAC = &enableAzureRBAC
+ }
+
+ // Set property "Managed":
+ if profile.Managed != nil {
+ managed := *profile.Managed
+ result.Managed = &managed
+ }
+
+ // Set property "ServerAppID":
+ if profile.ServerAppID != nil {
+ serverAppID := *profile.ServerAppID
+ result.ServerAppID = &serverAppID
+ }
+
+ // Set property "ServerAppSecret":
+ if profile.ServerAppSecret != nil {
+ serverAppSecret := *profile.ServerAppSecret
+ result.ServerAppSecret = &serverAppSecret
+ }
+
+ // Set property "TenantID":
+ if profile.TenantID != nil {
+ tenantID := *profile.TenantID
+ result.TenantID = &tenantID
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAADProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAADProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAADProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAADProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAADProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AdminGroupObjectIDs":
+ for _, item := range typedInput.AdminGroupObjectIDs {
+ profile.AdminGroupObjectIDs = append(profile.AdminGroupObjectIDs, item)
+ }
+
+ // Set property "ClientAppID":
+ if typedInput.ClientAppID != nil {
+ clientAppID := *typedInput.ClientAppID
+ profile.ClientAppID = &clientAppID
+ }
+
+ // Set property "EnableAzureRBAC":
+ if typedInput.EnableAzureRBAC != nil {
+ enableAzureRBAC := *typedInput.EnableAzureRBAC
+ profile.EnableAzureRBAC = &enableAzureRBAC
+ }
+
+ // Set property "Managed":
+ if typedInput.Managed != nil {
+ managed := *typedInput.Managed
+ profile.Managed = &managed
+ }
+
+ // Set property "ServerAppID":
+ if typedInput.ServerAppID != nil {
+ serverAppID := *typedInput.ServerAppID
+ profile.ServerAppID = &serverAppID
+ }
+
+ // Set property "ServerAppSecret":
+ if typedInput.ServerAppSecret != nil {
+ serverAppSecret := *typedInput.ServerAppSecret
+ profile.ServerAppSecret = &serverAppSecret
+ }
+
+ // Set property "TenantID":
+ if typedInput.TenantID != nil {
+ tenantID := *typedInput.TenantID
+ profile.TenantID = &tenantID
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
+
+ // AdminGroupObjectIDs
+ profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
+
+ // ClientAppID
+ profile.ClientAppID = genruntime.ClonePointerToString(source.ClientAppID)
+
+ // EnableAzureRBAC
+ if source.EnableAzureRBAC != nil {
+ enableAzureRBAC := *source.EnableAzureRBAC
+ profile.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ profile.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if source.Managed != nil {
+ managed := *source.Managed
+ profile.Managed = &managed
+ } else {
+ profile.Managed = nil
+ }
+
+ // ServerAppID
+ profile.ServerAppID = genruntime.ClonePointerToString(source.ServerAppID)
+
+ // ServerAppSecret
+ profile.ServerAppSecret = genruntime.ClonePointerToString(source.ServerAppSecret)
+
+ // TenantID
+ profile.TenantID = genruntime.ClonePointerToString(source.TenantID)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminGroupObjectIDs
+ destination.AdminGroupObjectIDs = genruntime.CloneSliceOfString(profile.AdminGroupObjectIDs)
+
+ // ClientAppID
+ destination.ClientAppID = genruntime.ClonePointerToString(profile.ClientAppID)
+
+ // EnableAzureRBAC
+ if profile.EnableAzureRBAC != nil {
+ enableAzureRBAC := *profile.EnableAzureRBAC
+ destination.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ destination.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if profile.Managed != nil {
+ managed := *profile.Managed
+ destination.Managed = &managed
+ } else {
+ destination.Managed = nil
+ }
+
+ // ServerAppID
+ destination.ServerAppID = genruntime.ClonePointerToString(profile.ServerAppID)
+
+ // ServerAppSecret
+ destination.ServerAppSecret = genruntime.ClonePointerToString(profile.ServerAppSecret)
+
+ // TenantID
+ destination.TenantID = genruntime.ClonePointerToString(profile.TenantID)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
+type ManagedClusterAADProfile_STATUS struct {
+ // AdminGroupObjectIDs: The list of AAD group object IDs that will have admin role of the cluster.
+ AdminGroupObjectIDs []string `json:"adminGroupObjectIDs,omitempty"`
+
+ // ClientAppID: (DEPRECATED) The client AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ClientAppID *string `json:"clientAppID,omitempty"`
+
+ // EnableAzureRBAC: Whether to enable Azure RBAC for Kubernetes authorization.
+ EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"`
+
+ // Managed: Whether to enable managed AAD.
+ Managed *bool `json:"managed,omitempty"`
+
+ // ServerAppID: (DEPRECATED) The server AAD application ID. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppID *string `json:"serverAppID,omitempty"`
+
+ // ServerAppSecret: (DEPRECATED) The server AAD application secret. Learn more at https://aka.ms/aks/aad-legacy.
+ ServerAppSecret *string `json:"serverAppSecret,omitempty"`
+
+ // TenantID: The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment
+ // subscription.
+ TenantID *string `json:"tenantID,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAADProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAADProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAADProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAADProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAADProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAADProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AdminGroupObjectIDs":
+ for _, item := range typedInput.AdminGroupObjectIDs {
+ profile.AdminGroupObjectIDs = append(profile.AdminGroupObjectIDs, item)
+ }
+
+ // Set property "ClientAppID":
+ if typedInput.ClientAppID != nil {
+ clientAppID := *typedInput.ClientAppID
+ profile.ClientAppID = &clientAppID
+ }
+
+ // Set property "EnableAzureRBAC":
+ if typedInput.EnableAzureRBAC != nil {
+ enableAzureRBAC := *typedInput.EnableAzureRBAC
+ profile.EnableAzureRBAC = &enableAzureRBAC
+ }
+
+ // Set property "Managed":
+ if typedInput.Managed != nil {
+ managed := *typedInput.Managed
+ profile.Managed = &managed
+ }
+
+ // Set property "ServerAppID":
+ if typedInput.ServerAppID != nil {
+ serverAppID := *typedInput.ServerAppID
+ profile.ServerAppID = &serverAppID
+ }
+
+ // Set property "ServerAppSecret":
+ if typedInput.ServerAppSecret != nil {
+ serverAppSecret := *typedInput.ServerAppSecret
+ profile.ServerAppSecret = &serverAppSecret
+ }
+
+ // Set property "TenantID":
+ if typedInput.TenantID != nil {
+ tenantID := *typedInput.TenantID
+ profile.TenantID = &tenantID
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
+
+ // AdminGroupObjectIDs
+ profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
+
+ // ClientAppID
+ profile.ClientAppID = genruntime.ClonePointerToString(source.ClientAppID)
+
+ // EnableAzureRBAC
+ if source.EnableAzureRBAC != nil {
+ enableAzureRBAC := *source.EnableAzureRBAC
+ profile.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ profile.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if source.Managed != nil {
+ managed := *source.Managed
+ profile.Managed = &managed
+ } else {
+ profile.Managed = nil
+ }
+
+ // ServerAppID
+ profile.ServerAppID = genruntime.ClonePointerToString(source.ServerAppID)
+
+ // ServerAppSecret
+ profile.ServerAppSecret = genruntime.ClonePointerToString(source.ServerAppSecret)
+
+ // TenantID
+ profile.TenantID = genruntime.ClonePointerToString(source.TenantID)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminGroupObjectIDs
+ destination.AdminGroupObjectIDs = genruntime.CloneSliceOfString(profile.AdminGroupObjectIDs)
+
+ // ClientAppID
+ destination.ClientAppID = genruntime.ClonePointerToString(profile.ClientAppID)
+
+ // EnableAzureRBAC
+ if profile.EnableAzureRBAC != nil {
+ enableAzureRBAC := *profile.EnableAzureRBAC
+ destination.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ destination.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if profile.Managed != nil {
+ managed := *profile.Managed
+ destination.Managed = &managed
+ } else {
+ destination.Managed = nil
+ }
+
+ // ServerAppID
+ destination.ServerAppID = genruntime.ClonePointerToString(profile.ServerAppID)
+
+ // ServerAppSecret
+ destination.ServerAppSecret = genruntime.ClonePointerToString(profile.ServerAppSecret)
+
+ // TenantID
+ destination.TenantID = genruntime.ClonePointerToString(profile.TenantID)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// A Kubernetes add-on profile for a managed cluster.
+type ManagedClusterAddonProfile struct {
+ // Config: Key-value pairs for configuring an add-on.
+ Config map[string]string `json:"config,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Enabled: Whether the add-on is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAddonProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAddonProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAddonProfile_ARM{}
+
+ // Set property "Config":
+ if profile.Config != nil {
+ result.Config = make(map[string]string, len(profile.Config))
+ for key, value := range profile.Config {
+ result.Config[key] = value
+ }
+ }
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAddonProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAddonProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAddonProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAddonProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAddonProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Config":
+ if typedInput.Config != nil {
+ profile.Config = make(map[string]string, len(typedInput.Config))
+ for key, value := range typedInput.Config {
+ profile.Config[key] = value
+ }
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
+
+ // Config
+ profile.Config = genruntime.CloneMapOfStringToString(source.Config)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Config
+ destination.Config = genruntime.CloneMapOfStringToString(profile.Config)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// A Kubernetes add-on profile for a managed cluster.
+type ManagedClusterAddonProfile_STATUS struct {
+ // Config: Key-value pairs for configuring an add-on.
+ Config map[string]string `json:"config,omitempty"`
+
+ // Enabled: Whether the add-on is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Identity: Information of user assigned identity used by this add-on.
+ Identity *UserAssignedIdentity_STATUS `json:"identity,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAddonProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAddonProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAddonProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAddonProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAddonProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAddonProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Config":
+ if typedInput.Config != nil {
+ profile.Config = make(map[string]string, len(typedInput.Config))
+ for key, value := range typedInput.Config {
+ profile.Config[key] = value
+ }
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // Set property "Identity":
+ if typedInput.Identity != nil {
+ var identity1 UserAssignedIdentity_STATUS
+ err := identity1.PopulateFromARM(owner, *typedInput.Identity)
+ if err != nil {
+ return err
+ }
+ identity := identity1
+ profile.Identity = &identity
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
+
+ // Config
+ profile.Config = genruntime.CloneMapOfStringToString(source.Config)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Identity
+ if source.Identity != nil {
+ var identity UserAssignedIdentity_STATUS
+ err := identity.AssignProperties_From_UserAssignedIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ profile.Identity = &identity
+ } else {
+ profile.Identity = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Config
+ destination.Config = genruntime.CloneMapOfStringToString(profile.Config)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Identity
+ if profile.Identity != nil {
+ var identity storage.UserAssignedIdentity_STATUS
+ err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile for the container service agent pool.
+type ManagedClusterAgentPoolProfile struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+
+ // CapacityReservationGroupReference: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupReference *genruntime.ResourceReference `armReference:"CapacityReservationGroupID" json:"capacityReservationGroupReference,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData `json:"creationData,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile `json:"gpuProfile,omitempty"`
+
+ // HostGroupReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupReference *genruntime.ResourceReference `armReference:"HostGroupID" json:"hostGroupReference,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode `json:"mode,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // +kubebuilder:validation:Pattern="^[a-z][a-z0-9]{0,11}$"
+ // Name: Windows agent pool names must be 6 characters or less.
+ Name *string `json:"name,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // NodePublicIPPrefixReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixReference *genruntime.ResourceReference `armReference:"NodePublicIPPrefixID" json:"nodePublicIPPrefixReference,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *ContainerServiceOSDisk `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetReference: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details).
+ // This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetReference *genruntime.ResourceReference `armReference:"PodSubnetID" json:"podSubnetReference,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState `json:"powerState,omitempty"`
+
+ // ProximityPlacementGroupReference: The ID for Proximity Placement Group.
+ ProximityPlacementGroupReference *genruntime.ResourceReference `armReference:"ProximityPlacementGroupID" json:"proximityPlacementGroupReference,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes `json:"virtualMachineNodesStatus,omitempty"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetReference: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
+ // specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetReference *genruntime.ResourceReference `armReference:"VnetSubnetID" json:"vnetSubnetReference,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAgentPoolProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAgentPoolProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAgentPoolProfile_ARM{}
+
+ // Set property "ArtifactStreamingProfile":
+ if profile.ArtifactStreamingProfile != nil {
+ artifactStreamingProfile_ARM, err := (*profile.ArtifactStreamingProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ artifactStreamingProfile := *artifactStreamingProfile_ARM.(*AgentPoolArtifactStreamingProfile_ARM)
+ result.ArtifactStreamingProfile = &artifactStreamingProfile
+ }
+
+ // Set property "AvailabilityZones":
+ for _, item := range profile.AvailabilityZones {
+ result.AvailabilityZones = append(result.AvailabilityZones, item)
+ }
+
+ // Set property "CapacityReservationGroupID":
+ if profile.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.CapacityReservationGroupReference)
+ if err != nil {
+ return nil, err
+ }
+ capacityReservationGroupReference := capacityReservationGroupReferenceARMID
+ result.CapacityReservationGroupID = &capacityReservationGroupReference
+ }
+
+ // Set property "Count":
+ if profile.Count != nil {
+ count := *profile.Count
+ result.Count = &count
+ }
+
+ // Set property "CreationData":
+ if profile.CreationData != nil {
+ creationData_ARM, err := (*profile.CreationData).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ creationData := *creationData_ARM.(*CreationData_ARM)
+ result.CreationData = &creationData
+ }
+
+ // Set property "EnableAutoScaling":
+ if profile.EnableAutoScaling != nil {
+ enableAutoScaling := *profile.EnableAutoScaling
+ result.EnableAutoScaling = &enableAutoScaling
+ }
+
+ // Set property "EnableCustomCATrust":
+ if profile.EnableCustomCATrust != nil {
+ enableCustomCATrust := *profile.EnableCustomCATrust
+ result.EnableCustomCATrust = &enableCustomCATrust
+ }
+
+ // Set property "EnableEncryptionAtHost":
+ if profile.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *profile.EnableEncryptionAtHost
+ result.EnableEncryptionAtHost = &enableEncryptionAtHost
+ }
+
+ // Set property "EnableFIPS":
+ if profile.EnableFIPS != nil {
+ enableFIPS := *profile.EnableFIPS
+ result.EnableFIPS = &enableFIPS
+ }
+
+ // Set property "EnableNodePublicIP":
+ if profile.EnableNodePublicIP != nil {
+ enableNodePublicIP := *profile.EnableNodePublicIP
+ result.EnableNodePublicIP = &enableNodePublicIP
+ }
+
+ // Set property "EnableUltraSSD":
+ if profile.EnableUltraSSD != nil {
+ enableUltraSSD := *profile.EnableUltraSSD
+ result.EnableUltraSSD = &enableUltraSSD
+ }
+
+ // Set property "GatewayProfile":
+ if profile.GatewayProfile != nil {
+ gatewayProfile_ARM, err := (*profile.GatewayProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ gatewayProfile := *gatewayProfile_ARM.(*AgentPoolGatewayProfile_ARM)
+ result.GatewayProfile = &gatewayProfile
+ }
+
+ // Set property "GpuInstanceProfile":
+ if profile.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *profile.GpuInstanceProfile
+ result.GpuInstanceProfile = &gpuInstanceProfile
+ }
+
+ // Set property "GpuProfile":
+ if profile.GpuProfile != nil {
+ gpuProfile_ARM, err := (*profile.GpuProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ gpuProfile := *gpuProfile_ARM.(*AgentPoolGPUProfile_ARM)
+ result.GpuProfile = &gpuProfile
+ }
+
+ // Set property "HostGroupID":
+ if profile.HostGroupReference != nil {
+ hostGroupReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.HostGroupReference)
+ if err != nil {
+ return nil, err
+ }
+ hostGroupReference := hostGroupReferenceARMID
+ result.HostGroupID = &hostGroupReference
+ }
+
+ // Set property "KubeletConfig":
+ if profile.KubeletConfig != nil {
+ kubeletConfig_ARM, err := (*profile.KubeletConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ kubeletConfig := *kubeletConfig_ARM.(*KubeletConfig_ARM)
+ result.KubeletConfig = &kubeletConfig
+ }
+
+ // Set property "KubeletDiskType":
+ if profile.KubeletDiskType != nil {
+ kubeletDiskType := *profile.KubeletDiskType
+ result.KubeletDiskType = &kubeletDiskType
+ }
+
+ // Set property "LinuxOSConfig":
+ if profile.LinuxOSConfig != nil {
+ linuxOSConfig_ARM, err := (*profile.LinuxOSConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ linuxOSConfig := *linuxOSConfig_ARM.(*LinuxOSConfig_ARM)
+ result.LinuxOSConfig = &linuxOSConfig
+ }
+
+ // Set property "MaxCount":
+ if profile.MaxCount != nil {
+ maxCount := *profile.MaxCount
+ result.MaxCount = &maxCount
+ }
+
+ // Set property "MaxPods":
+ if profile.MaxPods != nil {
+ maxPods := *profile.MaxPods
+ result.MaxPods = &maxPods
+ }
+
+ // Set property "MessageOfTheDay":
+ if profile.MessageOfTheDay != nil {
+ messageOfTheDay := *profile.MessageOfTheDay
+ result.MessageOfTheDay = &messageOfTheDay
+ }
+
+ // Set property "MinCount":
+ if profile.MinCount != nil {
+ minCount := *profile.MinCount
+ result.MinCount = &minCount
+ }
+
+ // Set property "Mode":
+ if profile.Mode != nil {
+ mode := *profile.Mode
+ result.Mode = &mode
+ }
+
+ // Set property "Name":
+ if profile.Name != nil {
+ name := *profile.Name
+ result.Name = &name
+ }
+
+ // Set property "NetworkProfile":
+ if profile.NetworkProfile != nil {
+ networkProfile_ARM, err := (*profile.NetworkProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ networkProfile := *networkProfile_ARM.(*AgentPoolNetworkProfile_ARM)
+ result.NetworkProfile = &networkProfile
+ }
+
+ // Set property "NodeInitializationTaints":
+ for _, item := range profile.NodeInitializationTaints {
+ result.NodeInitializationTaints = append(result.NodeInitializationTaints, item)
+ }
+
+ // Set property "NodeLabels":
+ if profile.NodeLabels != nil {
+ result.NodeLabels = make(map[string]string, len(profile.NodeLabels))
+ for key, value := range profile.NodeLabels {
+ result.NodeLabels[key] = value
+ }
+ } else {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.NodeLabels = make(map[string]string)
+ }
+
+ // Set property "NodePublicIPPrefixID":
+ if profile.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.NodePublicIPPrefixReference)
+ if err != nil {
+ return nil, err
+ }
+ nodePublicIPPrefixReference := nodePublicIPPrefixReferenceARMID
+ result.NodePublicIPPrefixID = &nodePublicIPPrefixReference
+ }
+
+ // Set property "NodeTaints":
+ for _, item := range profile.NodeTaints {
+ result.NodeTaints = append(result.NodeTaints, item)
+ }
+ if result.NodeTaints == nil {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.NodeTaints = []string{}
+ }
+
+ // Set property "OrchestratorVersion":
+ if profile.OrchestratorVersion != nil {
+ orchestratorVersion := *profile.OrchestratorVersion
+ result.OrchestratorVersion = &orchestratorVersion
+ }
+
+ // Set property "OsDiskSizeGB":
+ if profile.OsDiskSizeGB != nil {
+ osDiskSizeGB := *profile.OsDiskSizeGB
+ result.OsDiskSizeGB = &osDiskSizeGB
+ }
+
+ // Set property "OsDiskType":
+ if profile.OsDiskType != nil {
+ osDiskType := *profile.OsDiskType
+ result.OsDiskType = &osDiskType
+ }
+
+ // Set property "OsSKU":
+ if profile.OsSKU != nil {
+ osSKU := *profile.OsSKU
+ result.OsSKU = &osSKU
+ }
+
+ // Set property "OsType":
+ if profile.OsType != nil {
+ osType := *profile.OsType
+ result.OsType = &osType
+ }
+
+ // Set property "PodIPAllocationMode":
+ if profile.PodIPAllocationMode != nil {
+ podIPAllocationMode := *profile.PodIPAllocationMode
+ result.PodIPAllocationMode = &podIPAllocationMode
+ }
+
+ // Set property "PodSubnetID":
+ if profile.PodSubnetReference != nil {
+ podSubnetReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.PodSubnetReference)
+ if err != nil {
+ return nil, err
+ }
+ podSubnetReference := podSubnetReferenceARMID
+ result.PodSubnetID = &podSubnetReference
+ }
+
+ // Set property "PowerState":
+ if profile.PowerState != nil {
+ powerState_ARM, err := (*profile.PowerState).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ powerState := *powerState_ARM.(*PowerState_ARM)
+ result.PowerState = &powerState
+ }
+
+ // Set property "ProximityPlacementGroupID":
+ if profile.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.ProximityPlacementGroupReference)
+ if err != nil {
+ return nil, err
+ }
+ proximityPlacementGroupReference := proximityPlacementGroupReferenceARMID
+ result.ProximityPlacementGroupID = &proximityPlacementGroupReference
+ }
+
+ // Set property "ScaleDownMode":
+ if profile.ScaleDownMode != nil {
+ scaleDownMode := *profile.ScaleDownMode
+ result.ScaleDownMode = &scaleDownMode
+ }
+
+ // Set property "ScaleSetEvictionPolicy":
+ if profile.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *profile.ScaleSetEvictionPolicy
+ result.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ }
+
+ // Set property "ScaleSetPriority":
+ if profile.ScaleSetPriority != nil {
+ scaleSetPriority := *profile.ScaleSetPriority
+ result.ScaleSetPriority = &scaleSetPriority
+ }
+
+ // Set property "SecurityProfile":
+ if profile.SecurityProfile != nil {
+ securityProfile_ARM, err := (*profile.SecurityProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ securityProfile := *securityProfile_ARM.(*AgentPoolSecurityProfile_ARM)
+ result.SecurityProfile = &securityProfile
+ }
+
+ // Set property "SpotMaxPrice":
+ if profile.SpotMaxPrice != nil {
+ spotMaxPrice := *profile.SpotMaxPrice
+ result.SpotMaxPrice = &spotMaxPrice
+ }
+
+ // Set property "Tags":
+ if profile.Tags != nil {
+ result.Tags = make(map[string]string, len(profile.Tags))
+ for key, value := range profile.Tags {
+ result.Tags[key] = value
+ }
+ } else {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.Tags = make(map[string]string)
+ }
+
+ // Set property "Type":
+ if profile.Type != nil {
+ typeVar := *profile.Type
+ result.Type = &typeVar
+ }
+
+ // Set property "UpgradeSettings":
+ if profile.UpgradeSettings != nil {
+ upgradeSettings_ARM, err := (*profile.UpgradeSettings).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ upgradeSettings := *upgradeSettings_ARM.(*AgentPoolUpgradeSettings_ARM)
+ result.UpgradeSettings = &upgradeSettings
+ }
+
+ // Set property "VirtualMachineNodesStatus":
+ for _, item := range profile.VirtualMachineNodesStatus {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.VirtualMachineNodesStatus = append(result.VirtualMachineNodesStatus, *item_ARM.(*VirtualMachineNodes_ARM))
+ }
+
+ // Set property "VirtualMachinesProfile":
+ if profile.VirtualMachinesProfile != nil {
+ virtualMachinesProfile_ARM, err := (*profile.VirtualMachinesProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ virtualMachinesProfile := *virtualMachinesProfile_ARM.(*VirtualMachinesProfile_ARM)
+ result.VirtualMachinesProfile = &virtualMachinesProfile
+ }
+
+ // Set property "VmSize":
+ if profile.VmSize != nil {
+ vmSize := *profile.VmSize
+ result.VmSize = &vmSize
+ }
+
+ // Set property "VnetSubnetID":
+ if profile.VnetSubnetReference != nil {
+ vnetSubnetReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.VnetSubnetReference)
+ if err != nil {
+ return nil, err
+ }
+ vnetSubnetReference := vnetSubnetReferenceARMID
+ result.VnetSubnetID = &vnetSubnetReference
+ }
+
+ // Set property "WindowsProfile":
+ if profile.WindowsProfile != nil {
+ windowsProfile_ARM, err := (*profile.WindowsProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ windowsProfile := *windowsProfile_ARM.(*AgentPoolWindowsProfile_ARM)
+ result.WindowsProfile = &windowsProfile
+ }
+
+ // Set property "WorkloadRuntime":
+ if profile.WorkloadRuntime != nil {
+ workloadRuntime := *profile.WorkloadRuntime
+ result.WorkloadRuntime = &workloadRuntime
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAgentPoolProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAgentPoolProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAgentPoolProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAgentPoolProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAgentPoolProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "ArtifactStreamingProfile":
+ if typedInput.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile1 AgentPoolArtifactStreamingProfile
+ err := artifactStreamingProfile1.PopulateFromARM(owner, *typedInput.ArtifactStreamingProfile)
+ if err != nil {
+ return err
+ }
+ artifactStreamingProfile := artifactStreamingProfile1
+ profile.ArtifactStreamingProfile = &artifactStreamingProfile
+ }
+
+ // Set property "AvailabilityZones":
+ for _, item := range typedInput.AvailabilityZones {
+ profile.AvailabilityZones = append(profile.AvailabilityZones, item)
+ }
+
+ // no assignment for property "CapacityReservationGroupReference"
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ profile.Count = &count
+ }
+
+ // Set property "CreationData":
+ if typedInput.CreationData != nil {
+ var creationData1 CreationData
+ err := creationData1.PopulateFromARM(owner, *typedInput.CreationData)
+ if err != nil {
+ return err
+ }
+ creationData := creationData1
+ profile.CreationData = &creationData
+ }
+
+ // Set property "EnableAutoScaling":
+ if typedInput.EnableAutoScaling != nil {
+ enableAutoScaling := *typedInput.EnableAutoScaling
+ profile.EnableAutoScaling = &enableAutoScaling
+ }
+
+ // Set property "EnableCustomCATrust":
+ if typedInput.EnableCustomCATrust != nil {
+ enableCustomCATrust := *typedInput.EnableCustomCATrust
+ profile.EnableCustomCATrust = &enableCustomCATrust
+ }
+
+ // Set property "EnableEncryptionAtHost":
+ if typedInput.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *typedInput.EnableEncryptionAtHost
+ profile.EnableEncryptionAtHost = &enableEncryptionAtHost
+ }
+
+ // Set property "EnableFIPS":
+ if typedInput.EnableFIPS != nil {
+ enableFIPS := *typedInput.EnableFIPS
+ profile.EnableFIPS = &enableFIPS
+ }
+
+ // Set property "EnableNodePublicIP":
+ if typedInput.EnableNodePublicIP != nil {
+ enableNodePublicIP := *typedInput.EnableNodePublicIP
+ profile.EnableNodePublicIP = &enableNodePublicIP
+ }
+
+ // Set property "EnableUltraSSD":
+ if typedInput.EnableUltraSSD != nil {
+ enableUltraSSD := *typedInput.EnableUltraSSD
+ profile.EnableUltraSSD = &enableUltraSSD
+ }
+
+ // Set property "GatewayProfile":
+ if typedInput.GatewayProfile != nil {
+ var gatewayProfile1 AgentPoolGatewayProfile
+ err := gatewayProfile1.PopulateFromARM(owner, *typedInput.GatewayProfile)
+ if err != nil {
+ return err
+ }
+ gatewayProfile := gatewayProfile1
+ profile.GatewayProfile = &gatewayProfile
+ }
+
+ // Set property "GpuInstanceProfile":
+ if typedInput.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *typedInput.GpuInstanceProfile
+ profile.GpuInstanceProfile = &gpuInstanceProfile
+ }
+
+ // Set property "GpuProfile":
+ if typedInput.GpuProfile != nil {
+ var gpuProfile1 AgentPoolGPUProfile
+ err := gpuProfile1.PopulateFromARM(owner, *typedInput.GpuProfile)
+ if err != nil {
+ return err
+ }
+ gpuProfile := gpuProfile1
+ profile.GpuProfile = &gpuProfile
+ }
+
+ // no assignment for property "HostGroupReference"
+
+ // Set property "KubeletConfig":
+ if typedInput.KubeletConfig != nil {
+ var kubeletConfig1 KubeletConfig
+ err := kubeletConfig1.PopulateFromARM(owner, *typedInput.KubeletConfig)
+ if err != nil {
+ return err
+ }
+ kubeletConfig := kubeletConfig1
+ profile.KubeletConfig = &kubeletConfig
+ }
+
+ // Set property "KubeletDiskType":
+ if typedInput.KubeletDiskType != nil {
+ kubeletDiskType := *typedInput.KubeletDiskType
+ profile.KubeletDiskType = &kubeletDiskType
+ }
+
+ // Set property "LinuxOSConfig":
+ if typedInput.LinuxOSConfig != nil {
+ var linuxOSConfig1 LinuxOSConfig
+ err := linuxOSConfig1.PopulateFromARM(owner, *typedInput.LinuxOSConfig)
+ if err != nil {
+ return err
+ }
+ linuxOSConfig := linuxOSConfig1
+ profile.LinuxOSConfig = &linuxOSConfig
+ }
+
+ // Set property "MaxCount":
+ if typedInput.MaxCount != nil {
+ maxCount := *typedInput.MaxCount
+ profile.MaxCount = &maxCount
+ }
+
+ // Set property "MaxPods":
+ if typedInput.MaxPods != nil {
+ maxPods := *typedInput.MaxPods
+ profile.MaxPods = &maxPods
+ }
+
+ // Set property "MessageOfTheDay":
+ if typedInput.MessageOfTheDay != nil {
+ messageOfTheDay := *typedInput.MessageOfTheDay
+ profile.MessageOfTheDay = &messageOfTheDay
+ }
+
+ // Set property "MinCount":
+ if typedInput.MinCount != nil {
+ minCount := *typedInput.MinCount
+ profile.MinCount = &minCount
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ profile.Mode = &mode
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ profile.Name = &name
+ }
+
+ // Set property "NetworkProfile":
+ if typedInput.NetworkProfile != nil {
+ var networkProfile1 AgentPoolNetworkProfile
+ err := networkProfile1.PopulateFromARM(owner, *typedInput.NetworkProfile)
+ if err != nil {
+ return err
+ }
+ networkProfile := networkProfile1
+ profile.NetworkProfile = &networkProfile
+ }
+
+ // Set property "NodeInitializationTaints":
+ for _, item := range typedInput.NodeInitializationTaints {
+ profile.NodeInitializationTaints = append(profile.NodeInitializationTaints, item)
+ }
+
+ // Set property "NodeLabels":
+ if typedInput.NodeLabels != nil {
+ profile.NodeLabels = make(map[string]string, len(typedInput.NodeLabels))
+ for key, value := range typedInput.NodeLabels {
+ profile.NodeLabels[key] = value
+ }
+ }
+
+ // no assignment for property "NodePublicIPPrefixReference"
+
+ // Set property "NodeTaints":
+ for _, item := range typedInput.NodeTaints {
+ profile.NodeTaints = append(profile.NodeTaints, item)
+ }
+
+ // Set property "OrchestratorVersion":
+ if typedInput.OrchestratorVersion != nil {
+ orchestratorVersion := *typedInput.OrchestratorVersion
+ profile.OrchestratorVersion = &orchestratorVersion
+ }
+
+ // Set property "OsDiskSizeGB":
+ if typedInput.OsDiskSizeGB != nil {
+ osDiskSizeGB := *typedInput.OsDiskSizeGB
+ profile.OsDiskSizeGB = &osDiskSizeGB
+ }
+
+ // Set property "OsDiskType":
+ if typedInput.OsDiskType != nil {
+ osDiskType := *typedInput.OsDiskType
+ profile.OsDiskType = &osDiskType
+ }
+
+ // Set property "OsSKU":
+ if typedInput.OsSKU != nil {
+ osSKU := *typedInput.OsSKU
+ profile.OsSKU = &osSKU
+ }
+
+ // Set property "OsType":
+ if typedInput.OsType != nil {
+ osType := *typedInput.OsType
+ profile.OsType = &osType
+ }
+
+ // Set property "PodIPAllocationMode":
+ if typedInput.PodIPAllocationMode != nil {
+ podIPAllocationMode := *typedInput.PodIPAllocationMode
+ profile.PodIPAllocationMode = &podIPAllocationMode
+ }
+
+ // no assignment for property "PodSubnetReference"
+
+ // Set property "PowerState":
+ if typedInput.PowerState != nil {
+ var powerState1 PowerState
+ err := powerState1.PopulateFromARM(owner, *typedInput.PowerState)
+ if err != nil {
+ return err
+ }
+ powerState := powerState1
+ profile.PowerState = &powerState
+ }
+
+ // no assignment for property "ProximityPlacementGroupReference"
+
+ // Set property "ScaleDownMode":
+ if typedInput.ScaleDownMode != nil {
+ scaleDownMode := *typedInput.ScaleDownMode
+ profile.ScaleDownMode = &scaleDownMode
+ }
+
+ // Set property "ScaleSetEvictionPolicy":
+ if typedInput.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *typedInput.ScaleSetEvictionPolicy
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ }
+
+ // Set property "ScaleSetPriority":
+ if typedInput.ScaleSetPriority != nil {
+ scaleSetPriority := *typedInput.ScaleSetPriority
+ profile.ScaleSetPriority = &scaleSetPriority
+ }
+
+ // Set property "SecurityProfile":
+ if typedInput.SecurityProfile != nil {
+ var securityProfile1 AgentPoolSecurityProfile
+ err := securityProfile1.PopulateFromARM(owner, *typedInput.SecurityProfile)
+ if err != nil {
+ return err
+ }
+ securityProfile := securityProfile1
+ profile.SecurityProfile = &securityProfile
+ }
+
+ // Set property "SpotMaxPrice":
+ if typedInput.SpotMaxPrice != nil {
+ spotMaxPrice := *typedInput.SpotMaxPrice
+ profile.SpotMaxPrice = &spotMaxPrice
+ }
+
+ // Set property "Tags":
+ if typedInput.Tags != nil {
+ profile.Tags = make(map[string]string, len(typedInput.Tags))
+ for key, value := range typedInput.Tags {
+ profile.Tags[key] = value
+ }
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ profile.Type = &typeVar
+ }
+
+ // Set property "UpgradeSettings":
+ if typedInput.UpgradeSettings != nil {
+ var upgradeSettings1 AgentPoolUpgradeSettings
+ err := upgradeSettings1.PopulateFromARM(owner, *typedInput.UpgradeSettings)
+ if err != nil {
+ return err
+ }
+ upgradeSettings := upgradeSettings1
+ profile.UpgradeSettings = &upgradeSettings
+ }
+
+ // Set property "VirtualMachineNodesStatus":
+ for _, item := range typedInput.VirtualMachineNodesStatus {
+ var item1 VirtualMachineNodes
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.VirtualMachineNodesStatus = append(profile.VirtualMachineNodesStatus, item1)
+ }
+
+ // Set property "VirtualMachinesProfile":
+ if typedInput.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile1 VirtualMachinesProfile
+ err := virtualMachinesProfile1.PopulateFromARM(owner, *typedInput.VirtualMachinesProfile)
+ if err != nil {
+ return err
+ }
+ virtualMachinesProfile := virtualMachinesProfile1
+ profile.VirtualMachinesProfile = &virtualMachinesProfile
+ }
+
+ // Set property "VmSize":
+ if typedInput.VmSize != nil {
+ vmSize := *typedInput.VmSize
+ profile.VmSize = &vmSize
+ }
+
+ // no assignment for property "VnetSubnetReference"
+
+ // Set property "WindowsProfile":
+ if typedInput.WindowsProfile != nil {
+ var windowsProfile1 AgentPoolWindowsProfile
+ err := windowsProfile1.PopulateFromARM(owner, *typedInput.WindowsProfile)
+ if err != nil {
+ return err
+ }
+ windowsProfile := windowsProfile1
+ profile.WindowsProfile = &windowsProfile
+ }
+
+ // Set property "WorkloadRuntime":
+ if typedInput.WorkloadRuntime != nil {
+ workloadRuntime := *typedInput.WorkloadRuntime
+ profile.WorkloadRuntime = &workloadRuntime
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ profile.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ profile.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // CapacityReservationGroupReference
+ if source.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := source.CapacityReservationGroupReference.Copy()
+ profile.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ profile.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData
+ err := creationDatum.AssignProperties_From_CreationData(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData() to populate field CreationData")
+ }
+ profile.CreationData = &creationDatum
+ } else {
+ profile.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ profile.EnableAutoScaling = &enableAutoScaling
+ } else {
+ profile.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ profile.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ profile.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ profile.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ profile.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ profile.EnableFIPS = &enableFIPS
+ } else {
+ profile.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ profile.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ profile.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ profile.EnableUltraSSD = &enableUltraSSD
+ } else {
+ profile.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if source.GatewayProfile != nil {
+ var gatewayProfile AgentPoolGatewayProfile
+ err := gatewayProfile.AssignProperties_From_AgentPoolGatewayProfile(source.GatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGatewayProfile() to populate field GatewayProfile")
+ }
+ profile.GatewayProfile = &gatewayProfile
+ } else {
+ profile.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if source.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
+ } else {
+ profile.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ profile.GpuProfile = &gpuProfile
+ } else {
+ profile.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if source.HostGroupReference != nil {
+ hostGroupReference := source.HostGroupReference.Copy()
+ profile.HostGroupReference = &hostGroupReference
+ } else {
+ profile.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig
+ err := kubeletConfig.AssignProperties_From_KubeletConfig(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig() to populate field KubeletConfig")
+ }
+ profile.KubeletConfig = &kubeletConfig
+ } else {
+ profile.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if source.KubeletDiskType != nil {
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
+ } else {
+ profile.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ profile.LinuxOSConfig = &linuxOSConfig
+ } else {
+ profile.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ profile.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ profile.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ profile.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ profile.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ profile.Mode = &modeTemp
+ } else {
+ profile.Mode = nil
+ }
+
+ // Name
+ if source.Name != nil {
+ name := *source.Name
+ profile.Name = &name
+ } else {
+ profile.Name = nil
+ }
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ profile.NetworkProfile = &networkProfile
+ } else {
+ profile.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ profile.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ profile.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if source.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := source.NodePublicIPPrefixReference.Copy()
+ profile.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ profile.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ profile.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ profile.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ if source.OsDiskSizeGB != nil {
+ osDiskSizeGB := ContainerServiceOSDisk(*source.OsDiskSizeGB)
+ profile.OsDiskSizeGB = &osDiskSizeGB
+ } else {
+ profile.OsDiskSizeGB = nil
+ }
+
+ // OsDiskType
+ if source.OsDiskType != nil {
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ profile.OsDiskType = &osDiskTypeTemp
+ } else {
+ profile.OsDiskType = nil
+ }
+
+ // OsSKU
+ if source.OsSKU != nil {
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ profile.OsSKU = &osSKUTemp
+ } else {
+ profile.OsSKU = nil
+ }
+
+ // OsType
+ if source.OsType != nil {
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ profile.OsType = &osTypeTemp
+ } else {
+ profile.OsType = nil
+ }
+
+ // PodIPAllocationMode
+ if source.PodIPAllocationMode != nil {
+ podIPAllocationMode := *source.PodIPAllocationMode
+ podIPAllocationModeTemp := genruntime.ToEnum(podIPAllocationMode, podIPAllocationMode_Values)
+ profile.PodIPAllocationMode = &podIPAllocationModeTemp
+ } else {
+ profile.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetReference
+ if source.PodSubnetReference != nil {
+ podSubnetReference := source.PodSubnetReference.Copy()
+ profile.PodSubnetReference = &podSubnetReference
+ } else {
+ profile.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState
+ err := powerState.AssignProperties_From_PowerState(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState() to populate field PowerState")
+ }
+ profile.PowerState = &powerState
+ } else {
+ profile.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if source.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := source.ProximityPlacementGroupReference.Copy()
+ profile.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ profile.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ if source.ScaleDownMode != nil {
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
+ } else {
+ profile.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if source.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
+ } else {
+ profile.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if source.ScaleSetPriority != nil {
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
+ } else {
+ profile.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ profile.SecurityProfile = &securityProfile
+ } else {
+ profile.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ profile.SpotMaxPrice = &spotMaxPrice
+ } else {
+ profile.SpotMaxPrice = nil
+ }
+
+ // Tags
+ profile.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ profile.Type = &typeTemp
+ } else {
+ profile.Type = nil
+ }
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ profile.UpgradeSettings = &upgradeSetting
+ } else {
+ profile.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ profile.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ profile.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ profile.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ profile.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ profile.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetReference
+ if source.VnetSubnetReference != nil {
+ vnetSubnetReference := source.VnetSubnetReference.Copy()
+ profile.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ profile.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ profile.WindowsProfile = &windowsProfile
+ } else {
+ profile.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if source.WorkloadRuntime != nil {
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
+ } else {
+ profile.WorkloadRuntime = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ArtifactStreamingProfile
+ if profile.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile
+ err := profile.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(profile.AvailabilityZones)
+
+ // CapacityReservationGroupReference
+ if profile.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := profile.CapacityReservationGroupReference.Copy()
+ destination.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ destination.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // CreationData
+ if profile.CreationData != nil {
+ var creationDatum storage.CreationData
+ err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if profile.EnableAutoScaling != nil {
+ enableAutoScaling := *profile.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if profile.EnableCustomCATrust != nil {
+ enableCustomCATrust := *profile.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if profile.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *profile.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if profile.EnableFIPS != nil {
+ enableFIPS := *profile.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if profile.EnableNodePublicIP != nil {
+ enableNodePublicIP := *profile.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if profile.EnableUltraSSD != nil {
+ enableUltraSSD := *profile.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if profile.GatewayProfile != nil {
+ var gatewayProfile storage.AgentPoolGatewayProfile
+ err := profile.GatewayProfile.AssignProperties_To_AgentPoolGatewayProfile(&gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGatewayProfile() to populate field GatewayProfile")
+ }
+ destination.GatewayProfile = &gatewayProfile
+ } else {
+ destination.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if profile.GpuInstanceProfile != nil {
+ gpuInstanceProfile := string(*profile.GpuInstanceProfile)
+ destination.GpuInstanceProfile = &gpuInstanceProfile
+ } else {
+ destination.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if profile.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile
+ err := profile.GpuProfile.AssignProperties_To_AgentPoolGPUProfile(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if profile.HostGroupReference != nil {
+ hostGroupReference := profile.HostGroupReference.Copy()
+ destination.HostGroupReference = &hostGroupReference
+ } else {
+ destination.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if profile.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig
+ err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if profile.KubeletDiskType != nil {
+ kubeletDiskType := string(*profile.KubeletDiskType)
+ destination.KubeletDiskType = &kubeletDiskType
+ } else {
+ destination.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if profile.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig
+ err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(profile.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(profile.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(profile.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(profile.MinCount)
+
+ // Mode
+ if profile.Mode != nil {
+ mode := string(*profile.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Name
+ if profile.Name != nil {
+ name := *profile.Name
+ destination.Name = &name
+ } else {
+ destination.Name = nil
+ }
+
+ // NetworkProfile
+ if profile.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile
+ err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(profile.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(profile.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if profile.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := profile.NodePublicIPPrefixReference.Copy()
+ destination.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ destination.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(profile.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(profile.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ if profile.OsDiskSizeGB != nil {
+ osDiskSizeGB := int(*profile.OsDiskSizeGB)
+ destination.OsDiskSizeGB = &osDiskSizeGB
+ } else {
+ destination.OsDiskSizeGB = nil
+ }
+
+ // OsDiskType
+ if profile.OsDiskType != nil {
+ osDiskType := string(*profile.OsDiskType)
+ destination.OsDiskType = &osDiskType
+ } else {
+ destination.OsDiskType = nil
+ }
+
+ // OsSKU
+ if profile.OsSKU != nil {
+ osSKU := string(*profile.OsSKU)
+ destination.OsSKU = &osSKU
+ } else {
+ destination.OsSKU = nil
+ }
+
+ // OsType
+ if profile.OsType != nil {
+ osType := string(*profile.OsType)
+ destination.OsType = &osType
+ } else {
+ destination.OsType = nil
+ }
+
+ // PodIPAllocationMode
+ if profile.PodIPAllocationMode != nil {
+ podIPAllocationMode := string(*profile.PodIPAllocationMode)
+ destination.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ destination.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetReference
+ if profile.PodSubnetReference != nil {
+ podSubnetReference := profile.PodSubnetReference.Copy()
+ destination.PodSubnetReference = &podSubnetReference
+ } else {
+ destination.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if profile.PowerState != nil {
+ var powerState storage.PowerState
+ err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if profile.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := profile.ProximityPlacementGroupReference.Copy()
+ destination.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ destination.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ if profile.ScaleDownMode != nil {
+ scaleDownMode := string(*profile.ScaleDownMode)
+ destination.ScaleDownMode = &scaleDownMode
+ } else {
+ destination.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if profile.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := string(*profile.ScaleSetEvictionPolicy)
+ destination.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ } else {
+ destination.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if profile.ScaleSetPriority != nil {
+ scaleSetPriority := string(*profile.ScaleSetPriority)
+ destination.ScaleSetPriority = &scaleSetPriority
+ } else {
+ destination.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if profile.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile
+ err := profile.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if profile.SpotMaxPrice != nil {
+ spotMaxPrice := *profile.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(profile.Tags)
+
+ // Type
+ if profile.Type != nil {
+ typeVar := string(*profile.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // UpgradeSettings
+ if profile.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings
+ err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if profile.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes, len(profile.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range profile.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if profile.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile
+ err := profile.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(profile.VmSize)
+
+ // VnetSubnetReference
+ if profile.VnetSubnetReference != nil {
+ vnetSubnetReference := profile.VnetSubnetReference.Copy()
+ destination.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ destination.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if profile.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile
+ err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if profile.WorkloadRuntime != nil {
+ workloadRuntime := string(*profile.WorkloadRuntime)
+ destination.WorkloadRuntime = &workloadRuntime
+ } else {
+ destination.WorkloadRuntime = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile for the container service agent pool.
+type ManagedClusterAgentPoolProfile_STATUS struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_STATUS `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+
+ // CapacityReservationGroupID: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData_STATUS `json:"creationData,omitempty"`
+
+ // CurrentOrchestratorVersion: If orchestratorVersion was a fully specified version , this field will be
+ // exactly equal to it. If orchestratorVersion was , this field will contain the full
+ // version being used.
+ CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"`
+
+ // ETag: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
+ // updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic
+ // concurrency per the normal etag convention.
+ ETag *string `json:"eTag,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile_STATUS `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile_STATUS `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile_STATUS `json:"gpuProfile,omitempty"`
+
+ // HostGroupID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig_STATUS `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType_STATUS `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig_STATUS `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode_STATUS `json:"mode,omitempty"`
+
+ // Name: Windows agent pool names must be 6 characters or less.
+ Name *string `json:"name,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile_STATUS `json:"networkProfile,omitempty"`
+
+ // NodeImageVersion: The version of node image
+ NodeImageVersion *string `json:"nodeImageVersion,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels,omitempty"`
+
+ // NodePublicIPPrefixID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints,omitempty"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType_STATUS `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU_STATUS `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType_STATUS `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode_STATUS `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetID: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is
+ // of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState_STATUS `json:"powerState,omitempty"`
+
+ // ProvisioningState: The current deployment or provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+
+ // ProximityPlacementGroupID: The ID for Proximity Placement Group.
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode_STATUS `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy_STATUS `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority_STATUS `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile_STATUS `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags,omitempty"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType_STATUS `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings_STATUS `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_STATUS `json:"virtualMachineNodesStatus,omitempty"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile_STATUS `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetID: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified,
+ // this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile_STATUS `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime_STATUS `json:"workloadRuntime,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAgentPoolProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAgentPoolProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAgentPoolProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAgentPoolProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAgentPoolProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAgentPoolProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ArtifactStreamingProfile":
+ if typedInput.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile1 AgentPoolArtifactStreamingProfile_STATUS
+ err := artifactStreamingProfile1.PopulateFromARM(owner, *typedInput.ArtifactStreamingProfile)
+ if err != nil {
+ return err
+ }
+ artifactStreamingProfile := artifactStreamingProfile1
+ profile.ArtifactStreamingProfile = &artifactStreamingProfile
+ }
+
+ // Set property "AvailabilityZones":
+ for _, item := range typedInput.AvailabilityZones {
+ profile.AvailabilityZones = append(profile.AvailabilityZones, item)
+ }
+
+ // Set property "CapacityReservationGroupID":
+ if typedInput.CapacityReservationGroupID != nil {
+ capacityReservationGroupID := *typedInput.CapacityReservationGroupID
+ profile.CapacityReservationGroupID = &capacityReservationGroupID
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ profile.Count = &count
+ }
+
+ // Set property "CreationData":
+ if typedInput.CreationData != nil {
+ var creationData1 CreationData_STATUS
+ err := creationData1.PopulateFromARM(owner, *typedInput.CreationData)
+ if err != nil {
+ return err
+ }
+ creationData := creationData1
+ profile.CreationData = &creationData
+ }
+
+ // Set property "CurrentOrchestratorVersion":
+ if typedInput.CurrentOrchestratorVersion != nil {
+ currentOrchestratorVersion := *typedInput.CurrentOrchestratorVersion
+ profile.CurrentOrchestratorVersion = ¤tOrchestratorVersion
+ }
+
+ // Set property "ETag":
+ if typedInput.ETag != nil {
+ eTag := *typedInput.ETag
+ profile.ETag = &eTag
+ }
+
+ // Set property "EnableAutoScaling":
+ if typedInput.EnableAutoScaling != nil {
+ enableAutoScaling := *typedInput.EnableAutoScaling
+ profile.EnableAutoScaling = &enableAutoScaling
+ }
+
+ // Set property "EnableCustomCATrust":
+ if typedInput.EnableCustomCATrust != nil {
+ enableCustomCATrust := *typedInput.EnableCustomCATrust
+ profile.EnableCustomCATrust = &enableCustomCATrust
+ }
+
+ // Set property "EnableEncryptionAtHost":
+ if typedInput.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *typedInput.EnableEncryptionAtHost
+ profile.EnableEncryptionAtHost = &enableEncryptionAtHost
+ }
+
+ // Set property "EnableFIPS":
+ if typedInput.EnableFIPS != nil {
+ enableFIPS := *typedInput.EnableFIPS
+ profile.EnableFIPS = &enableFIPS
+ }
+
+ // Set property "EnableNodePublicIP":
+ if typedInput.EnableNodePublicIP != nil {
+ enableNodePublicIP := *typedInput.EnableNodePublicIP
+ profile.EnableNodePublicIP = &enableNodePublicIP
+ }
+
+ // Set property "EnableUltraSSD":
+ if typedInput.EnableUltraSSD != nil {
+ enableUltraSSD := *typedInput.EnableUltraSSD
+ profile.EnableUltraSSD = &enableUltraSSD
+ }
+
+ // Set property "GatewayProfile":
+ if typedInput.GatewayProfile != nil {
+ var gatewayProfile1 AgentPoolGatewayProfile_STATUS
+ err := gatewayProfile1.PopulateFromARM(owner, *typedInput.GatewayProfile)
+ if err != nil {
+ return err
+ }
+ gatewayProfile := gatewayProfile1
+ profile.GatewayProfile = &gatewayProfile
+ }
+
+ // Set property "GpuInstanceProfile":
+ if typedInput.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *typedInput.GpuInstanceProfile
+ profile.GpuInstanceProfile = &gpuInstanceProfile
+ }
+
+ // Set property "GpuProfile":
+ if typedInput.GpuProfile != nil {
+ var gpuProfile1 AgentPoolGPUProfile_STATUS
+ err := gpuProfile1.PopulateFromARM(owner, *typedInput.GpuProfile)
+ if err != nil {
+ return err
+ }
+ gpuProfile := gpuProfile1
+ profile.GpuProfile = &gpuProfile
+ }
+
+ // Set property "HostGroupID":
+ if typedInput.HostGroupID != nil {
+ hostGroupID := *typedInput.HostGroupID
+ profile.HostGroupID = &hostGroupID
+ }
+
+ // Set property "KubeletConfig":
+ if typedInput.KubeletConfig != nil {
+ var kubeletConfig1 KubeletConfig_STATUS
+ err := kubeletConfig1.PopulateFromARM(owner, *typedInput.KubeletConfig)
+ if err != nil {
+ return err
+ }
+ kubeletConfig := kubeletConfig1
+ profile.KubeletConfig = &kubeletConfig
+ }
+
+ // Set property "KubeletDiskType":
+ if typedInput.KubeletDiskType != nil {
+ kubeletDiskType := *typedInput.KubeletDiskType
+ profile.KubeletDiskType = &kubeletDiskType
+ }
+
+ // Set property "LinuxOSConfig":
+ if typedInput.LinuxOSConfig != nil {
+ var linuxOSConfig1 LinuxOSConfig_STATUS
+ err := linuxOSConfig1.PopulateFromARM(owner, *typedInput.LinuxOSConfig)
+ if err != nil {
+ return err
+ }
+ linuxOSConfig := linuxOSConfig1
+ profile.LinuxOSConfig = &linuxOSConfig
+ }
+
+ // Set property "MaxCount":
+ if typedInput.MaxCount != nil {
+ maxCount := *typedInput.MaxCount
+ profile.MaxCount = &maxCount
+ }
+
+ // Set property "MaxPods":
+ if typedInput.MaxPods != nil {
+ maxPods := *typedInput.MaxPods
+ profile.MaxPods = &maxPods
+ }
+
+ // Set property "MessageOfTheDay":
+ if typedInput.MessageOfTheDay != nil {
+ messageOfTheDay := *typedInput.MessageOfTheDay
+ profile.MessageOfTheDay = &messageOfTheDay
+ }
+
+ // Set property "MinCount":
+ if typedInput.MinCount != nil {
+ minCount := *typedInput.MinCount
+ profile.MinCount = &minCount
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ profile.Mode = &mode
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ profile.Name = &name
+ }
+
+ // Set property "NetworkProfile":
+ if typedInput.NetworkProfile != nil {
+ var networkProfile1 AgentPoolNetworkProfile_STATUS
+ err := networkProfile1.PopulateFromARM(owner, *typedInput.NetworkProfile)
+ if err != nil {
+ return err
+ }
+ networkProfile := networkProfile1
+ profile.NetworkProfile = &networkProfile
+ }
+
+ // Set property "NodeImageVersion":
+ if typedInput.NodeImageVersion != nil {
+ nodeImageVersion := *typedInput.NodeImageVersion
+ profile.NodeImageVersion = &nodeImageVersion
+ }
+
+ // Set property "NodeInitializationTaints":
+ for _, item := range typedInput.NodeInitializationTaints {
+ profile.NodeInitializationTaints = append(profile.NodeInitializationTaints, item)
+ }
+
+ // Set property "NodeLabels":
+ if typedInput.NodeLabels != nil {
+ profile.NodeLabels = make(map[string]string, len(typedInput.NodeLabels))
+ for key, value := range typedInput.NodeLabels {
+ profile.NodeLabels[key] = value
+ }
+ }
+
+ // Set property "NodePublicIPPrefixID":
+ if typedInput.NodePublicIPPrefixID != nil {
+ nodePublicIPPrefixID := *typedInput.NodePublicIPPrefixID
+ profile.NodePublicIPPrefixID = &nodePublicIPPrefixID
+ }
+
+ // Set property "NodeTaints":
+ for _, item := range typedInput.NodeTaints {
+ profile.NodeTaints = append(profile.NodeTaints, item)
+ }
+
+ // Set property "OrchestratorVersion":
+ if typedInput.OrchestratorVersion != nil {
+ orchestratorVersion := *typedInput.OrchestratorVersion
+ profile.OrchestratorVersion = &orchestratorVersion
+ }
+
+ // Set property "OsDiskSizeGB":
+ if typedInput.OsDiskSizeGB != nil {
+ osDiskSizeGB := *typedInput.OsDiskSizeGB
+ profile.OsDiskSizeGB = &osDiskSizeGB
+ }
+
+ // Set property "OsDiskType":
+ if typedInput.OsDiskType != nil {
+ osDiskType := *typedInput.OsDiskType
+ profile.OsDiskType = &osDiskType
+ }
+
+ // Set property "OsSKU":
+ if typedInput.OsSKU != nil {
+ osSKU := *typedInput.OsSKU
+ profile.OsSKU = &osSKU
+ }
+
+ // Set property "OsType":
+ if typedInput.OsType != nil {
+ osType := *typedInput.OsType
+ profile.OsType = &osType
+ }
+
+ // Set property "PodIPAllocationMode":
+ if typedInput.PodIPAllocationMode != nil {
+ podIPAllocationMode := *typedInput.PodIPAllocationMode
+ profile.PodIPAllocationMode = &podIPAllocationMode
+ }
+
+ // Set property "PodSubnetID":
+ if typedInput.PodSubnetID != nil {
+ podSubnetID := *typedInput.PodSubnetID
+ profile.PodSubnetID = &podSubnetID
+ }
+
+ // Set property "PowerState":
+ if typedInput.PowerState != nil {
+ var powerState1 PowerState_STATUS
+ err := powerState1.PopulateFromARM(owner, *typedInput.PowerState)
+ if err != nil {
+ return err
+ }
+ powerState := powerState1
+ profile.PowerState = &powerState
+ }
+
+ // Set property "ProvisioningState":
+ if typedInput.ProvisioningState != nil {
+ provisioningState := *typedInput.ProvisioningState
+ profile.ProvisioningState = &provisioningState
+ }
+
+ // Set property "ProximityPlacementGroupID":
+ if typedInput.ProximityPlacementGroupID != nil {
+ proximityPlacementGroupID := *typedInput.ProximityPlacementGroupID
+ profile.ProximityPlacementGroupID = &proximityPlacementGroupID
+ }
+
+ // Set property "ScaleDownMode":
+ if typedInput.ScaleDownMode != nil {
+ scaleDownMode := *typedInput.ScaleDownMode
+ profile.ScaleDownMode = &scaleDownMode
+ }
+
+ // Set property "ScaleSetEvictionPolicy":
+ if typedInput.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *typedInput.ScaleSetEvictionPolicy
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ }
+
+ // Set property "ScaleSetPriority":
+ if typedInput.ScaleSetPriority != nil {
+ scaleSetPriority := *typedInput.ScaleSetPriority
+ profile.ScaleSetPriority = &scaleSetPriority
+ }
+
+ // Set property "SecurityProfile":
+ if typedInput.SecurityProfile != nil {
+ var securityProfile1 AgentPoolSecurityProfile_STATUS
+ err := securityProfile1.PopulateFromARM(owner, *typedInput.SecurityProfile)
+ if err != nil {
+ return err
+ }
+ securityProfile := securityProfile1
+ profile.SecurityProfile = &securityProfile
+ }
+
+ // Set property "SpotMaxPrice":
+ if typedInput.SpotMaxPrice != nil {
+ spotMaxPrice := *typedInput.SpotMaxPrice
+ profile.SpotMaxPrice = &spotMaxPrice
+ }
+
+ // Set property "Tags":
+ if typedInput.Tags != nil {
+ profile.Tags = make(map[string]string, len(typedInput.Tags))
+ for key, value := range typedInput.Tags {
+ profile.Tags[key] = value
+ }
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ profile.Type = &typeVar
+ }
+
+ // Set property "UpgradeSettings":
+ if typedInput.UpgradeSettings != nil {
+ var upgradeSettings1 AgentPoolUpgradeSettings_STATUS
+ err := upgradeSettings1.PopulateFromARM(owner, *typedInput.UpgradeSettings)
+ if err != nil {
+ return err
+ }
+ upgradeSettings := upgradeSettings1
+ profile.UpgradeSettings = &upgradeSettings
+ }
+
+ // Set property "VirtualMachineNodesStatus":
+ for _, item := range typedInput.VirtualMachineNodesStatus {
+ var item1 VirtualMachineNodes_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.VirtualMachineNodesStatus = append(profile.VirtualMachineNodesStatus, item1)
+ }
+
+ // Set property "VirtualMachinesProfile":
+ if typedInput.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile1 VirtualMachinesProfile_STATUS
+ err := virtualMachinesProfile1.PopulateFromARM(owner, *typedInput.VirtualMachinesProfile)
+ if err != nil {
+ return err
+ }
+ virtualMachinesProfile := virtualMachinesProfile1
+ profile.VirtualMachinesProfile = &virtualMachinesProfile
+ }
+
+ // Set property "VmSize":
+ if typedInput.VmSize != nil {
+ vmSize := *typedInput.VmSize
+ profile.VmSize = &vmSize
+ }
+
+ // Set property "VnetSubnetID":
+ if typedInput.VnetSubnetID != nil {
+ vnetSubnetID := *typedInput.VnetSubnetID
+ profile.VnetSubnetID = &vnetSubnetID
+ }
+
+ // Set property "WindowsProfile":
+ if typedInput.WindowsProfile != nil {
+ var windowsProfile1 AgentPoolWindowsProfile_STATUS
+ err := windowsProfile1.PopulateFromARM(owner, *typedInput.WindowsProfile)
+ if err != nil {
+ return err
+ }
+ windowsProfile := windowsProfile1
+ profile.WindowsProfile = &windowsProfile
+ }
+
+ // Set property "WorkloadRuntime":
+ if typedInput.WorkloadRuntime != nil {
+ workloadRuntime := *typedInput.WorkloadRuntime
+ profile.WorkloadRuntime = &workloadRuntime
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile_STATUS
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ profile.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ profile.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ profile.CapacityReservationGroupID = genruntime.ClonePointerToString(source.CapacityReservationGroupID)
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData_STATUS
+ err := creationDatum.AssignProperties_From_CreationData_STATUS(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData_STATUS() to populate field CreationData")
+ }
+ profile.CreationData = &creationDatum
+ } else {
+ profile.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ profile.CurrentOrchestratorVersion = genruntime.ClonePointerToString(source.CurrentOrchestratorVersion)
+
+ // ETag
+ profile.ETag = genruntime.ClonePointerToString(source.ETag)
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ profile.EnableAutoScaling = &enableAutoScaling
+ } else {
+ profile.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ profile.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ profile.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ profile.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ profile.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ profile.EnableFIPS = &enableFIPS
+ } else {
+ profile.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ profile.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ profile.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ profile.EnableUltraSSD = &enableUltraSSD
+ } else {
+ profile.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if source.GatewayProfile != nil {
+ var gatewayProfile AgentPoolGatewayProfile_STATUS
+ err := gatewayProfile.AssignProperties_From_AgentPoolGatewayProfile_STATUS(source.GatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGatewayProfile_STATUS() to populate field GatewayProfile")
+ }
+ profile.GatewayProfile = &gatewayProfile
+ } else {
+ profile.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if source.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ profile.GpuInstanceProfile = &gpuInstanceProfileTemp
+ } else {
+ profile.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile_STATUS
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile_STATUS(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ profile.GpuProfile = &gpuProfile
+ } else {
+ profile.GpuProfile = nil
+ }
+
+ // HostGroupID
+ profile.HostGroupID = genruntime.ClonePointerToString(source.HostGroupID)
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig_STATUS
+ err := kubeletConfig.AssignProperties_From_KubeletConfig_STATUS(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ profile.KubeletConfig = &kubeletConfig
+ } else {
+ profile.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if source.KubeletDiskType != nil {
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ profile.KubeletDiskType = &kubeletDiskTypeTemp
+ } else {
+ profile.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig_STATUS
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig_STATUS(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ profile.LinuxOSConfig = &linuxOSConfig
+ } else {
+ profile.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ profile.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ profile.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ profile.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ profile.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ profile.Mode = &modeTemp
+ } else {
+ profile.Mode = nil
+ }
+
+ // Name
+ profile.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile_STATUS
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile_STATUS(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ profile.NetworkProfile = &networkProfile
+ } else {
+ profile.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ profile.NodeImageVersion = genruntime.ClonePointerToString(source.NodeImageVersion)
+
+ // NodeInitializationTaints
+ profile.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ profile.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixID
+ profile.NodePublicIPPrefixID = genruntime.ClonePointerToString(source.NodePublicIPPrefixID)
+
+ // NodeTaints
+ profile.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ profile.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ profile.OsDiskSizeGB = genruntime.ClonePointerToInt(source.OsDiskSizeGB)
+
+ // OsDiskType
+ if source.OsDiskType != nil {
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ profile.OsDiskType = &osDiskTypeTemp
+ } else {
+ profile.OsDiskType = nil
+ }
+
+ // OsSKU
+ if source.OsSKU != nil {
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ profile.OsSKU = &osSKUTemp
+ } else {
+ profile.OsSKU = nil
+ }
+
+ // OsType
+ if source.OsType != nil {
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ profile.OsType = &osTypeTemp
+ } else {
+ profile.OsType = nil
+ }
+
+ // PodIPAllocationMode
+ if source.PodIPAllocationMode != nil {
+ podIPAllocationMode := *source.PodIPAllocationMode
+ podIPAllocationModeTemp := genruntime.ToEnum(podIPAllocationMode, podIPAllocationMode_STATUS_Values)
+ profile.PodIPAllocationMode = &podIPAllocationModeTemp
+ } else {
+ profile.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetID
+ profile.PodSubnetID = genruntime.ClonePointerToString(source.PodSubnetID)
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState_STATUS
+ err := powerState.AssignProperties_From_PowerState_STATUS(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState_STATUS() to populate field PowerState")
+ }
+ profile.PowerState = &powerState
+ } else {
+ profile.PowerState = nil
+ }
+
+ // ProvisioningState
+ profile.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ profile.ProximityPlacementGroupID = genruntime.ClonePointerToString(source.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ if source.ScaleDownMode != nil {
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ profile.ScaleDownMode = &scaleDownModeTemp
+ } else {
+ profile.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if source.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ profile.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
+ } else {
+ profile.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if source.ScaleSetPriority != nil {
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ profile.ScaleSetPriority = &scaleSetPriorityTemp
+ } else {
+ profile.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile_STATUS
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile_STATUS(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ profile.SecurityProfile = &securityProfile
+ } else {
+ profile.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ profile.SpotMaxPrice = &spotMaxPrice
+ } else {
+ profile.SpotMaxPrice = nil
+ }
+
+ // Tags
+ profile.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_STATUS_Values)
+ profile.Type = &typeTemp
+ } else {
+ profile.Type = nil
+ }
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings_STATUS
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ profile.UpgradeSettings = &upgradeSetting
+ } else {
+ profile.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes_STATUS, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes_STATUS(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ profile.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ profile.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile_STATUS
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile_STATUS(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ profile.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ profile.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ profile.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetID
+ profile.VnetSubnetID = genruntime.ClonePointerToString(source.VnetSubnetID)
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile_STATUS
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile_STATUS(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ profile.WindowsProfile = &windowsProfile
+ } else {
+ profile.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if source.WorkloadRuntime != nil {
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ profile.WorkloadRuntime = &workloadRuntimeTemp
+ } else {
+ profile.WorkloadRuntime = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ArtifactStreamingProfile
+ if profile.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile_STATUS
+ err := profile.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(profile.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ destination.CapacityReservationGroupID = genruntime.ClonePointerToString(profile.CapacityReservationGroupID)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // CreationData
+ if profile.CreationData != nil {
+ var creationDatum storage.CreationData_STATUS
+ err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ destination.CurrentOrchestratorVersion = genruntime.ClonePointerToString(profile.CurrentOrchestratorVersion)
+
+ // ETag
+ destination.ETag = genruntime.ClonePointerToString(profile.ETag)
+
+ // EnableAutoScaling
+ if profile.EnableAutoScaling != nil {
+ enableAutoScaling := *profile.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if profile.EnableCustomCATrust != nil {
+ enableCustomCATrust := *profile.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if profile.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *profile.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if profile.EnableFIPS != nil {
+ enableFIPS := *profile.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if profile.EnableNodePublicIP != nil {
+ enableNodePublicIP := *profile.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if profile.EnableUltraSSD != nil {
+ enableUltraSSD := *profile.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if profile.GatewayProfile != nil {
+ var gatewayProfile storage.AgentPoolGatewayProfile_STATUS
+ err := profile.GatewayProfile.AssignProperties_To_AgentPoolGatewayProfile_STATUS(&gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGatewayProfile_STATUS() to populate field GatewayProfile")
+ }
+ destination.GatewayProfile = &gatewayProfile
+ } else {
+ destination.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if profile.GpuInstanceProfile != nil {
+ gpuInstanceProfile := string(*profile.GpuInstanceProfile)
+ destination.GpuInstanceProfile = &gpuInstanceProfile
+ } else {
+ destination.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if profile.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile_STATUS
+ err := profile.GpuProfile.AssignProperties_To_AgentPoolGPUProfile_STATUS(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupID
+ destination.HostGroupID = genruntime.ClonePointerToString(profile.HostGroupID)
+
+ // KubeletConfig
+ if profile.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig_STATUS
+ err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if profile.KubeletDiskType != nil {
+ kubeletDiskType := string(*profile.KubeletDiskType)
+ destination.KubeletDiskType = &kubeletDiskType
+ } else {
+ destination.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if profile.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
+ err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(profile.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(profile.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(profile.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(profile.MinCount)
+
+ // Mode
+ if profile.Mode != nil {
+ mode := string(*profile.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(profile.Name)
+
+ // NetworkProfile
+ if profile.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
+ err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ destination.NodeImageVersion = genruntime.ClonePointerToString(profile.NodeImageVersion)
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(profile.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(profile.NodeLabels)
+
+ // NodePublicIPPrefixID
+ destination.NodePublicIPPrefixID = genruntime.ClonePointerToString(profile.NodePublicIPPrefixID)
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(profile.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(profile.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ destination.OsDiskSizeGB = genruntime.ClonePointerToInt(profile.OsDiskSizeGB)
+
+ // OsDiskType
+ if profile.OsDiskType != nil {
+ osDiskType := string(*profile.OsDiskType)
+ destination.OsDiskType = &osDiskType
+ } else {
+ destination.OsDiskType = nil
+ }
+
+ // OsSKU
+ if profile.OsSKU != nil {
+ osSKU := string(*profile.OsSKU)
+ destination.OsSKU = &osSKU
+ } else {
+ destination.OsSKU = nil
+ }
+
+ // OsType
+ if profile.OsType != nil {
+ osType := string(*profile.OsType)
+ destination.OsType = &osType
+ } else {
+ destination.OsType = nil
+ }
+
+ // PodIPAllocationMode
+ if profile.PodIPAllocationMode != nil {
+ podIPAllocationMode := string(*profile.PodIPAllocationMode)
+ destination.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ destination.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetID
+ destination.PodSubnetID = genruntime.ClonePointerToString(profile.PodSubnetID)
+
+ // PowerState
+ if profile.PowerState != nil {
+ var powerState storage.PowerState_STATUS
+ err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(profile.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ destination.ProximityPlacementGroupID = genruntime.ClonePointerToString(profile.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ if profile.ScaleDownMode != nil {
+ scaleDownMode := string(*profile.ScaleDownMode)
+ destination.ScaleDownMode = &scaleDownMode
+ } else {
+ destination.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if profile.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := string(*profile.ScaleSetEvictionPolicy)
+ destination.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ } else {
+ destination.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if profile.ScaleSetPriority != nil {
+ scaleSetPriority := string(*profile.ScaleSetPriority)
+ destination.ScaleSetPriority = &scaleSetPriority
+ } else {
+ destination.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if profile.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile_STATUS
+ err := profile.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile_STATUS(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if profile.SpotMaxPrice != nil {
+ spotMaxPrice := *profile.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(profile.Tags)
+
+ // Type
+ if profile.Type != nil {
+ typeVar := string(*profile.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // UpgradeSettings
+ if profile.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
+ err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if profile.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes_STATUS, len(profile.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range profile.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes_STATUS(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if profile.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile_STATUS
+ err := profile.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile_STATUS(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(profile.VmSize)
+
+ // VnetSubnetID
+ destination.VnetSubnetID = genruntime.ClonePointerToString(profile.VnetSubnetID)
+
+ // WindowsProfile
+ if profile.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
+ err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if profile.WorkloadRuntime != nil {
+ workloadRuntime := string(*profile.WorkloadRuntime)
+ destination.WorkloadRuntime = &workloadRuntime
+ } else {
+ destination.WorkloadRuntime = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator
+// automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and
+// enables distributed inference against them.
+type ManagedClusterAIToolchainOperatorProfile struct {
+ // Enabled: Indicates if AI toolchain operator enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAIToolchainOperatorProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAIToolchainOperatorProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAIToolchainOperatorProfile_ARM{}
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAIToolchainOperatorProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAIToolchainOperatorProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAIToolchainOperatorProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAIToolchainOperatorProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAIToolchainOperatorProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAIToolchainOperatorProfile populates our ManagedClusterAIToolchainOperatorProfile from the provided source ManagedClusterAIToolchainOperatorProfile
+func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile(source *storage.ManagedClusterAIToolchainOperatorProfile) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAIToolchainOperatorProfile populates the provided destination ManagedClusterAIToolchainOperatorProfile from our ManagedClusterAIToolchainOperatorProfile
+func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(destination *storage.ManagedClusterAIToolchainOperatorProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator
+// automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and
+// enables distributed inference against them.
+type ManagedClusterAIToolchainOperatorProfile_STATUS struct {
+ // Enabled: Indicates if AI toolchain operator enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAIToolchainOperatorProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAIToolchainOperatorProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAIToolchainOperatorProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAIToolchainOperatorProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS populates our ManagedClusterAIToolchainOperatorProfile_STATUS from the provided source ManagedClusterAIToolchainOperatorProfile_STATUS
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS(source *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS populates the provided destination ManagedClusterAIToolchainOperatorProfile_STATUS from our ManagedClusterAIToolchainOperatorProfile_STATUS
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(destination *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Access profile for managed cluster API server.
+type ManagedClusterAPIServerAccessProfile struct {
+ // AuthorizedIPRanges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with
+ // clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API
+ // server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges).
+ AuthorizedIPRanges []string `json:"authorizedIPRanges,omitempty"`
+
+ // DisableRunCommand: Whether to disable run command for the cluster or not.
+ DisableRunCommand *bool `json:"disableRunCommand,omitempty"`
+
+ // EnablePrivateCluster: For more details, see [Creating a private AKS
+ // cluster](https://docs.microsoft.com/azure/aks/private-clusters).
+ EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
+
+ // EnablePrivateClusterPublicFQDN: Whether to create additional public FQDN for private cluster or not.
+ EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"`
+
+ // EnableVnetIntegration: Whether to enable apiserver vnet integration for the cluster or not.
+ EnableVnetIntegration *bool `json:"enableVnetIntegration,omitempty"`
+
+ // PrivateDNSZone: The default is System. For more details see [configure private DNS
+ // zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and
+ // 'none'.
+ PrivateDNSZone *string `json:"privateDNSZone,omitempty"`
+
+ // SubnetId: It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable
+ // apiserver vnet integration.
+ SubnetId *string `json:"subnetId,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAPIServerAccessProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAPIServerAccessProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAPIServerAccessProfile_ARM{}
+
+ // Set property "AuthorizedIPRanges":
+ for _, item := range profile.AuthorizedIPRanges {
+ result.AuthorizedIPRanges = append(result.AuthorizedIPRanges, item)
+ }
+
+ // Set property "DisableRunCommand":
+ if profile.DisableRunCommand != nil {
+ disableRunCommand := *profile.DisableRunCommand
+ result.DisableRunCommand = &disableRunCommand
+ }
+
+ // Set property "EnablePrivateCluster":
+ if profile.EnablePrivateCluster != nil {
+ enablePrivateCluster := *profile.EnablePrivateCluster
+ result.EnablePrivateCluster = &enablePrivateCluster
+ }
+
+ // Set property "EnablePrivateClusterPublicFQDN":
+ if profile.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *profile.EnablePrivateClusterPublicFQDN
+ result.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ }
+
+ // Set property "EnableVnetIntegration":
+ if profile.EnableVnetIntegration != nil {
+ enableVnetIntegration := *profile.EnableVnetIntegration
+ result.EnableVnetIntegration = &enableVnetIntegration
+ }
+
+ // Set property "PrivateDNSZone":
+ if profile.PrivateDNSZone != nil {
+ privateDNSZone := *profile.PrivateDNSZone
+ result.PrivateDNSZone = &privateDNSZone
+ }
+
+ // Set property "SubnetId":
+ if profile.SubnetId != nil {
+ subnetId := *profile.SubnetId
+ result.SubnetId = &subnetId
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAPIServerAccessProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAPIServerAccessProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAPIServerAccessProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAPIServerAccessProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAPIServerAccessProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AuthorizedIPRanges":
+ for _, item := range typedInput.AuthorizedIPRanges {
+ profile.AuthorizedIPRanges = append(profile.AuthorizedIPRanges, item)
+ }
+
+ // Set property "DisableRunCommand":
+ if typedInput.DisableRunCommand != nil {
+ disableRunCommand := *typedInput.DisableRunCommand
+ profile.DisableRunCommand = &disableRunCommand
+ }
+
+ // Set property "EnablePrivateCluster":
+ if typedInput.EnablePrivateCluster != nil {
+ enablePrivateCluster := *typedInput.EnablePrivateCluster
+ profile.EnablePrivateCluster = &enablePrivateCluster
+ }
+
+ // Set property "EnablePrivateClusterPublicFQDN":
+ if typedInput.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *typedInput.EnablePrivateClusterPublicFQDN
+ profile.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ }
+
+ // Set property "EnableVnetIntegration":
+ if typedInput.EnableVnetIntegration != nil {
+ enableVnetIntegration := *typedInput.EnableVnetIntegration
+ profile.EnableVnetIntegration = &enableVnetIntegration
+ }
+
+ // Set property "PrivateDNSZone":
+ if typedInput.PrivateDNSZone != nil {
+ privateDNSZone := *typedInput.PrivateDNSZone
+ profile.PrivateDNSZone = &privateDNSZone
+ }
+
+ // Set property "SubnetId":
+ if typedInput.SubnetId != nil {
+ subnetId := *typedInput.SubnetId
+ profile.SubnetId = &subnetId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
+
+ // AuthorizedIPRanges
+ profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if source.DisableRunCommand != nil {
+ disableRunCommand := *source.DisableRunCommand
+ profile.DisableRunCommand = &disableRunCommand
+ } else {
+ profile.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if source.EnablePrivateCluster != nil {
+ enablePrivateCluster := *source.EnablePrivateCluster
+ profile.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ profile.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if source.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *source.EnablePrivateClusterPublicFQDN
+ profile.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ profile.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if source.EnableVnetIntegration != nil {
+ enableVnetIntegration := *source.EnableVnetIntegration
+ profile.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ profile.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ profile.PrivateDNSZone = genruntime.ClonePointerToString(source.PrivateDNSZone)
+
+ // SubnetId
+ profile.SubnetId = genruntime.ClonePointerToString(source.SubnetId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AuthorizedIPRanges
+ destination.AuthorizedIPRanges = genruntime.CloneSliceOfString(profile.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if profile.DisableRunCommand != nil {
+ disableRunCommand := *profile.DisableRunCommand
+ destination.DisableRunCommand = &disableRunCommand
+ } else {
+ destination.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if profile.EnablePrivateCluster != nil {
+ enablePrivateCluster := *profile.EnablePrivateCluster
+ destination.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ destination.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if profile.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *profile.EnablePrivateClusterPublicFQDN
+ destination.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ destination.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if profile.EnableVnetIntegration != nil {
+ enableVnetIntegration := *profile.EnableVnetIntegration
+ destination.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ destination.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ destination.PrivateDNSZone = genruntime.ClonePointerToString(profile.PrivateDNSZone)
+
+ // SubnetId
+ destination.SubnetId = genruntime.ClonePointerToString(profile.SubnetId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Access profile for managed cluster API server.
+type ManagedClusterAPIServerAccessProfile_STATUS struct {
+ // AuthorizedIPRanges: IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with
+ // clusters that use Public IP Per Node, or clusters that are using a Basic Load Balancer. For more information see [API
+ // server authorized IP ranges](https://docs.microsoft.com/azure/aks/api-server-authorized-ip-ranges).
+ AuthorizedIPRanges []string `json:"authorizedIPRanges,omitempty"`
+
+ // DisableRunCommand: Whether to disable run command for the cluster or not.
+ DisableRunCommand *bool `json:"disableRunCommand,omitempty"`
+
+ // EnablePrivateCluster: For more details, see [Creating a private AKS
+ // cluster](https://docs.microsoft.com/azure/aks/private-clusters).
+ EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
+
+ // EnablePrivateClusterPublicFQDN: Whether to create additional public FQDN for private cluster or not.
+ EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"`
+
+ // EnableVnetIntegration: Whether to enable apiserver vnet integration for the cluster or not.
+ EnableVnetIntegration *bool `json:"enableVnetIntegration,omitempty"`
+
+ // PrivateDNSZone: The default is System. For more details see [configure private DNS
+ // zone](https://docs.microsoft.com/azure/aks/private-clusters#configure-private-dns-zone). Allowed values are 'system' and
+ // 'none'.
+ PrivateDNSZone *string `json:"privateDNSZone,omitempty"`
+
+ // SubnetId: It is required when: 1. creating a new cluster with BYO Vnet; 2. updating an existing cluster to enable
+ // apiserver vnet integration.
+ SubnetId *string `json:"subnetId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAPIServerAccessProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAPIServerAccessProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAPIServerAccessProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAPIServerAccessProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AuthorizedIPRanges":
+ for _, item := range typedInput.AuthorizedIPRanges {
+ profile.AuthorizedIPRanges = append(profile.AuthorizedIPRanges, item)
+ }
+
+ // Set property "DisableRunCommand":
+ if typedInput.DisableRunCommand != nil {
+ disableRunCommand := *typedInput.DisableRunCommand
+ profile.DisableRunCommand = &disableRunCommand
+ }
+
+ // Set property "EnablePrivateCluster":
+ if typedInput.EnablePrivateCluster != nil {
+ enablePrivateCluster := *typedInput.EnablePrivateCluster
+ profile.EnablePrivateCluster = &enablePrivateCluster
+ }
+
+ // Set property "EnablePrivateClusterPublicFQDN":
+ if typedInput.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *typedInput.EnablePrivateClusterPublicFQDN
+ profile.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ }
+
+ // Set property "EnableVnetIntegration":
+ if typedInput.EnableVnetIntegration != nil {
+ enableVnetIntegration := *typedInput.EnableVnetIntegration
+ profile.EnableVnetIntegration = &enableVnetIntegration
+ }
+
+ // Set property "PrivateDNSZone":
+ if typedInput.PrivateDNSZone != nil {
+ privateDNSZone := *typedInput.PrivateDNSZone
+ profile.PrivateDNSZone = &privateDNSZone
+ }
+
+ // Set property "SubnetId":
+ if typedInput.SubnetId != nil {
+ subnetId := *typedInput.SubnetId
+ profile.SubnetId = &subnetId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
+
+ // AuthorizedIPRanges
+ profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if source.DisableRunCommand != nil {
+ disableRunCommand := *source.DisableRunCommand
+ profile.DisableRunCommand = &disableRunCommand
+ } else {
+ profile.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if source.EnablePrivateCluster != nil {
+ enablePrivateCluster := *source.EnablePrivateCluster
+ profile.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ profile.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if source.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *source.EnablePrivateClusterPublicFQDN
+ profile.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ profile.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if source.EnableVnetIntegration != nil {
+ enableVnetIntegration := *source.EnableVnetIntegration
+ profile.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ profile.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ profile.PrivateDNSZone = genruntime.ClonePointerToString(source.PrivateDNSZone)
+
+ // SubnetId
+ profile.SubnetId = genruntime.ClonePointerToString(source.SubnetId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AuthorizedIPRanges
+ destination.AuthorizedIPRanges = genruntime.CloneSliceOfString(profile.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if profile.DisableRunCommand != nil {
+ disableRunCommand := *profile.DisableRunCommand
+ destination.DisableRunCommand = &disableRunCommand
+ } else {
+ destination.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if profile.EnablePrivateCluster != nil {
+ enablePrivateCluster := *profile.EnablePrivateCluster
+ destination.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ destination.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if profile.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *profile.EnablePrivateClusterPublicFQDN
+ destination.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ destination.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if profile.EnableVnetIntegration != nil {
+ enableVnetIntegration := *profile.EnableVnetIntegration
+ destination.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ destination.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ destination.PrivateDNSZone = genruntime.ClonePointerToString(profile.PrivateDNSZone)
+
+ // SubnetId
+ destination.SubnetId = genruntime.ClonePointerToString(profile.SubnetId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Auto upgrade profile for a managed cluster.
+type ManagedClusterAutoUpgradeProfile struct {
+ // NodeOSUpgradeChannel: The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA.
+ NodeOSUpgradeChannel *ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel `json:"nodeOSUpgradeChannel,omitempty"`
+
+ // UpgradeChannel: For more information see [setting the AKS cluster auto-upgrade
+ // channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel).
+ UpgradeChannel *ManagedClusterAutoUpgradeProfile_UpgradeChannel `json:"upgradeChannel,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAutoUpgradeProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAutoUpgradeProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAutoUpgradeProfile_ARM{}
+
+ // Set property "NodeOSUpgradeChannel":
+ if profile.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := *profile.NodeOSUpgradeChannel
+ result.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ }
+
+ // Set property "UpgradeChannel":
+ if profile.UpgradeChannel != nil {
+ upgradeChannel := *profile.UpgradeChannel
+ result.UpgradeChannel = &upgradeChannel
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAutoUpgradeProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAutoUpgradeProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAutoUpgradeProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAutoUpgradeProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAutoUpgradeProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "NodeOSUpgradeChannel":
+ if typedInput.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := *typedInput.NodeOSUpgradeChannel
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ }
+
+ // Set property "UpgradeChannel":
+ if typedInput.UpgradeChannel != nil {
+ upgradeChannel := *typedInput.UpgradeChannel
+ profile.UpgradeChannel = &upgradeChannel
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
+
+ // NodeOSUpgradeChannel
+ if source.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
+ } else {
+ profile.NodeOSUpgradeChannel = nil
+ }
+
+ // UpgradeChannel
+ if source.UpgradeChannel != nil {
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
+ } else {
+ profile.UpgradeChannel = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // NodeOSUpgradeChannel
+ if profile.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := string(*profile.NodeOSUpgradeChannel)
+ destination.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ } else {
+ destination.NodeOSUpgradeChannel = nil
+ }
+
+ // UpgradeChannel
+ if profile.UpgradeChannel != nil {
+ upgradeChannel := string(*profile.UpgradeChannel)
+ destination.UpgradeChannel = &upgradeChannel
+ } else {
+ destination.UpgradeChannel = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Auto upgrade profile for a managed cluster.
+type ManagedClusterAutoUpgradeProfile_STATUS struct {
+ // NodeOSUpgradeChannel: The default is Unmanaged, but may change to either NodeImage or SecurityPatch at GA.
+ NodeOSUpgradeChannel *ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS `json:"nodeOSUpgradeChannel,omitempty"`
+
+ // UpgradeChannel: For more information see [setting the AKS cluster auto-upgrade
+ // channel](https://docs.microsoft.com/azure/aks/upgrade-cluster#set-auto-upgrade-channel).
+ UpgradeChannel *ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS `json:"upgradeChannel,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAutoUpgradeProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAutoUpgradeProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAutoUpgradeProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAutoUpgradeProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "NodeOSUpgradeChannel":
+ if typedInput.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := *typedInput.NodeOSUpgradeChannel
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ }
+
+ // Set property "UpgradeChannel":
+ if typedInput.UpgradeChannel != nil {
+ upgradeChannel := *typedInput.UpgradeChannel
+ profile.UpgradeChannel = &upgradeChannel
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
+
+ // NodeOSUpgradeChannel
+ if source.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := *source.NodeOSUpgradeChannel
+ nodeOSUpgradeChannelTemp := genruntime.ToEnum(nodeOSUpgradeChannel, managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values)
+ profile.NodeOSUpgradeChannel = &nodeOSUpgradeChannelTemp
+ } else {
+ profile.NodeOSUpgradeChannel = nil
+ }
+
+ // UpgradeChannel
+ if source.UpgradeChannel != nil {
+ upgradeChannel := *source.UpgradeChannel
+ upgradeChannelTemp := genruntime.ToEnum(upgradeChannel, managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values)
+ profile.UpgradeChannel = &upgradeChannelTemp
+ } else {
+ profile.UpgradeChannel = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // NodeOSUpgradeChannel
+ if profile.NodeOSUpgradeChannel != nil {
+ nodeOSUpgradeChannel := string(*profile.NodeOSUpgradeChannel)
+ destination.NodeOSUpgradeChannel = &nodeOSUpgradeChannel
+ } else {
+ destination.NodeOSUpgradeChannel = nil
+ }
+
+ // UpgradeChannel
+ if profile.UpgradeChannel != nil {
+ upgradeChannel := string(*profile.UpgradeChannel)
+ destination.UpgradeChannel = &upgradeChannel
+ } else {
+ destination.UpgradeChannel = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfile struct {
+ // AppMonitoring: Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics
+ // and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring `json:"appMonitoring,omitempty"`
+
+ // ContainerInsights: Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout &
+ // stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview.
+ ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights `json:"containerInsights,omitempty"`
+
+ // Metrics: Metrics profile for the prometheus service addon
+ Metrics *ManagedClusterAzureMonitorProfileMetrics `json:"metrics,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterAzureMonitorProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfile_ARM{}
+
+ // Set property "AppMonitoring":
+ if profile.AppMonitoring != nil {
+ appMonitoring_ARM, err := (*profile.AppMonitoring).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ appMonitoring := *appMonitoring_ARM.(*ManagedClusterAzureMonitorProfileAppMonitoring_ARM)
+ result.AppMonitoring = &appMonitoring
+ }
+
+ // Set property "ContainerInsights":
+ if profile.ContainerInsights != nil {
+ containerInsights_ARM, err := (*profile.ContainerInsights).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ containerInsights := *containerInsights_ARM.(*ManagedClusterAzureMonitorProfileContainerInsights_ARM)
+ result.ContainerInsights = &containerInsights
+ }
+
+ // Set property "Metrics":
+ if profile.Metrics != nil {
+ metrics_ARM, err := (*profile.Metrics).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ metrics := *metrics_ARM.(*ManagedClusterAzureMonitorProfileMetrics_ARM)
+ result.Metrics = &metrics
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAzureMonitorProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAzureMonitorProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AppMonitoring":
+ if typedInput.AppMonitoring != nil {
+ var appMonitoring1 ManagedClusterAzureMonitorProfileAppMonitoring
+ err := appMonitoring1.PopulateFromARM(owner, *typedInput.AppMonitoring)
+ if err != nil {
+ return err
+ }
+ appMonitoring := appMonitoring1
+ profile.AppMonitoring = &appMonitoring
+ }
+
+ // Set property "ContainerInsights":
+ if typedInput.ContainerInsights != nil {
+ var containerInsights1 ManagedClusterAzureMonitorProfileContainerInsights
+ err := containerInsights1.PopulateFromARM(owner, *typedInput.ContainerInsights)
+ if err != nil {
+ return err
+ }
+ containerInsights := containerInsights1
+ profile.ContainerInsights = &containerInsights
+ }
+
+ // Set property "Metrics":
+ if typedInput.Metrics != nil {
+ var metrics1 ManagedClusterAzureMonitorProfileMetrics
+ err := metrics1.PopulateFromARM(owner, *typedInput.Metrics)
+ if err != nil {
+ return err
+ }
+ metrics := metrics1
+ profile.Metrics = &metrics
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
+
+ // AppMonitoring
+ if source.AppMonitoring != nil {
+ var appMonitoring ManagedClusterAzureMonitorProfileAppMonitoring
+ err := appMonitoring.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring(source.AppMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring() to populate field AppMonitoring")
+ }
+ profile.AppMonitoring = &appMonitoring
+ } else {
+ profile.AppMonitoring = nil
+ }
+
+ // ContainerInsights
+ if source.ContainerInsights != nil {
+ var containerInsight ManagedClusterAzureMonitorProfileContainerInsights
+ err := containerInsight.AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights(source.ContainerInsights)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights() to populate field ContainerInsights")
+ }
+ profile.ContainerInsights = &containerInsight
+ } else {
+ profile.ContainerInsights = nil
+ }
+
+ // Metrics
+ if source.Metrics != nil {
+ var metric ManagedClusterAzureMonitorProfileMetrics
+ err := metric.AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source.Metrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
+ }
+ profile.Metrics = &metric
+ } else {
+ profile.Metrics = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AppMonitoring
+ if profile.AppMonitoring != nil {
+ var appMonitoring storage.ManagedClusterAzureMonitorProfileAppMonitoring
+ err := profile.AppMonitoring.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring(&appMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring() to populate field AppMonitoring")
+ }
+ destination.AppMonitoring = &appMonitoring
+ } else {
+ destination.AppMonitoring = nil
+ }
+
+ // ContainerInsights
+ if profile.ContainerInsights != nil {
+ var containerInsight storage.ManagedClusterAzureMonitorProfileContainerInsights
+ err := profile.ContainerInsights.AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights(&containerInsight)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights() to populate field ContainerInsights")
+ }
+ destination.ContainerInsights = &containerInsight
+ } else {
+ destination.ContainerInsights = nil
+ }
+
+ // Metrics
+ if profile.Metrics != nil {
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
+ err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
+ }
+ destination.Metrics = &metric
+ } else {
+ destination.Metrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfile_STATUS struct {
+ // AppMonitoring: Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics
+ // and traces through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS `json:"appMonitoring,omitempty"`
+
+ // ContainerInsights: Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout &
+ // stderr logs etc. See aka.ms/AzureMonitorContainerInsights for an overview.
+ ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS `json:"containerInsights,omitempty"`
+
+ // Metrics: Metrics profile for the prometheus service addon
+ Metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS `json:"metrics,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AppMonitoring":
+ if typedInput.AppMonitoring != nil {
+ var appMonitoring1 ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+ err := appMonitoring1.PopulateFromARM(owner, *typedInput.AppMonitoring)
+ if err != nil {
+ return err
+ }
+ appMonitoring := appMonitoring1
+ profile.AppMonitoring = &appMonitoring
+ }
+
+ // Set property "ContainerInsights":
+ if typedInput.ContainerInsights != nil {
+ var containerInsights1 ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+ err := containerInsights1.PopulateFromARM(owner, *typedInput.ContainerInsights)
+ if err != nil {
+ return err
+ }
+ containerInsights := containerInsights1
+ profile.ContainerInsights = &containerInsights
+ }
+
+ // Set property "Metrics":
+ if typedInput.Metrics != nil {
+ var metrics1 ManagedClusterAzureMonitorProfileMetrics_STATUS
+ err := metrics1.PopulateFromARM(owner, *typedInput.Metrics)
+ if err != nil {
+ return err
+ }
+ metrics := metrics1
+ profile.Metrics = &metrics
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
+
+ // AppMonitoring
+ if source.AppMonitoring != nil {
+ var appMonitoring ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+ err := appMonitoring.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(source.AppMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS() to populate field AppMonitoring")
+ }
+ profile.AppMonitoring = &appMonitoring
+ } else {
+ profile.AppMonitoring = nil
+ }
+
+ // ContainerInsights
+ if source.ContainerInsights != nil {
+ var containerInsight ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+ err := containerInsight.AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(source.ContainerInsights)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS() to populate field ContainerInsights")
+ }
+ profile.ContainerInsights = &containerInsight
+ } else {
+ profile.ContainerInsights = nil
+ }
+
+ // Metrics
+ if source.Metrics != nil {
+ var metric ManagedClusterAzureMonitorProfileMetrics_STATUS
+ err := metric.AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source.Metrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
+ }
+ profile.Metrics = &metric
+ } else {
+ profile.Metrics = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AppMonitoring
+ if profile.AppMonitoring != nil {
+ var appMonitoring storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+ err := profile.AppMonitoring.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(&appMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS() to populate field AppMonitoring")
+ }
+ destination.AppMonitoring = &appMonitoring
+ } else {
+ destination.AppMonitoring = nil
+ }
+
+ // ContainerInsights
+ if profile.ContainerInsights != nil {
+ var containerInsight storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+ err := profile.ContainerInsights.AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(&containerInsight)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS() to populate field ContainerInsights")
+ }
+ destination.ContainerInsights = &containerInsight
+ } else {
+ destination.ContainerInsights = nil
+ }
+
+ // Metrics
+ if profile.Metrics != nil {
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
+ }
+ destination.Metrics = &metric
+ } else {
+ destination.Metrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The bootstrap profile.
+type ManagedClusterBootstrapProfile struct {
+ // ArtifactSource: The source where the artifacts are downloaded from.
+ ArtifactSource *ManagedClusterBootstrapProfile_ArtifactSource `json:"artifactSource,omitempty"`
+
+ // ContainerRegistryReference: The resource Id of Azure Container Registry. The registry must have private network access,
+ // premium SKU and zone redundancy.
+ ContainerRegistryReference *genruntime.ResourceReference `armReference:"ContainerRegistryId" json:"containerRegistryReference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterBootstrapProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterBootstrapProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterBootstrapProfile_ARM{}
+
+ // Set property "ArtifactSource":
+ if profile.ArtifactSource != nil {
+ artifactSource := *profile.ArtifactSource
+ result.ArtifactSource = &artifactSource
+ }
+
+ // Set property "ContainerRegistryId":
+ if profile.ContainerRegistryReference != nil {
+ containerRegistryReferenceARMID, err := resolved.ResolvedReferences.Lookup(*profile.ContainerRegistryReference)
+ if err != nil {
+ return nil, err
+ }
+ containerRegistryReference := containerRegistryReferenceARMID
+ result.ContainerRegistryId = &containerRegistryReference
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterBootstrapProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterBootstrapProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterBootstrapProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterBootstrapProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterBootstrapProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "ArtifactSource":
+ if typedInput.ArtifactSource != nil {
+ artifactSource := *typedInput.ArtifactSource
+ profile.ArtifactSource = &artifactSource
+ }
+
+ // no assignment for property "ContainerRegistryReference"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterBootstrapProfile populates our ManagedClusterBootstrapProfile from the provided source ManagedClusterBootstrapProfile
+func (profile *ManagedClusterBootstrapProfile) AssignProperties_From_ManagedClusterBootstrapProfile(source *storage.ManagedClusterBootstrapProfile) error {
+
+ // ArtifactSource
+ if source.ArtifactSource != nil {
+ artifactSource := *source.ArtifactSource
+ artifactSourceTemp := genruntime.ToEnum(artifactSource, managedClusterBootstrapProfile_ArtifactSource_Values)
+ profile.ArtifactSource = &artifactSourceTemp
+ } else {
+ profile.ArtifactSource = nil
+ }
+
+ // ContainerRegistryReference
+ if source.ContainerRegistryReference != nil {
+ containerRegistryReference := source.ContainerRegistryReference.Copy()
+ profile.ContainerRegistryReference = &containerRegistryReference
+ } else {
+ profile.ContainerRegistryReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterBootstrapProfile populates the provided destination ManagedClusterBootstrapProfile from our ManagedClusterBootstrapProfile
+func (profile *ManagedClusterBootstrapProfile) AssignProperties_To_ManagedClusterBootstrapProfile(destination *storage.ManagedClusterBootstrapProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ArtifactSource
+ if profile.ArtifactSource != nil {
+ artifactSource := string(*profile.ArtifactSource)
+ destination.ArtifactSource = &artifactSource
+ } else {
+ destination.ArtifactSource = nil
+ }
+
+ // ContainerRegistryReference
+ if profile.ContainerRegistryReference != nil {
+ containerRegistryReference := profile.ContainerRegistryReference.Copy()
+ destination.ContainerRegistryReference = &containerRegistryReference
+ } else {
+ destination.ContainerRegistryReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The bootstrap profile.
+type ManagedClusterBootstrapProfile_STATUS struct {
+ // ArtifactSource: The source where the artifacts are downloaded from.
+ ArtifactSource *ManagedClusterBootstrapProfile_ArtifactSource_STATUS `json:"artifactSource,omitempty"`
+
+ // ContainerRegistryId: The resource Id of Azure Container Registry. The registry must have private network access, premium
+ // SKU and zone redundancy.
+ ContainerRegistryId *string `json:"containerRegistryId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterBootstrapProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterBootstrapProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterBootstrapProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterBootstrapProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterBootstrapProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterBootstrapProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ArtifactSource":
+ if typedInput.ArtifactSource != nil {
+ artifactSource := *typedInput.ArtifactSource
+ profile.ArtifactSource = &artifactSource
+ }
+
+ // Set property "ContainerRegistryId":
+ if typedInput.ContainerRegistryId != nil {
+ containerRegistryId := *typedInput.ContainerRegistryId
+ profile.ContainerRegistryId = &containerRegistryId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterBootstrapProfile_STATUS populates our ManagedClusterBootstrapProfile_STATUS from the provided source ManagedClusterBootstrapProfile_STATUS
+func (profile *ManagedClusterBootstrapProfile_STATUS) AssignProperties_From_ManagedClusterBootstrapProfile_STATUS(source *storage.ManagedClusterBootstrapProfile_STATUS) error {
+
+ // ArtifactSource
+ if source.ArtifactSource != nil {
+ artifactSource := *source.ArtifactSource
+ artifactSourceTemp := genruntime.ToEnum(artifactSource, managedClusterBootstrapProfile_ArtifactSource_STATUS_Values)
+ profile.ArtifactSource = &artifactSourceTemp
+ } else {
+ profile.ArtifactSource = nil
+ }
+
+ // ContainerRegistryId
+ profile.ContainerRegistryId = genruntime.ClonePointerToString(source.ContainerRegistryId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterBootstrapProfile_STATUS populates the provided destination ManagedClusterBootstrapProfile_STATUS from our ManagedClusterBootstrapProfile_STATUS
+func (profile *ManagedClusterBootstrapProfile_STATUS) AssignProperties_To_ManagedClusterBootstrapProfile_STATUS(destination *storage.ManagedClusterBootstrapProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ArtifactSource
+ if profile.ArtifactSource != nil {
+ artifactSource := string(*profile.ArtifactSource)
+ destination.ArtifactSource = &artifactSource
+ } else {
+ destination.ArtifactSource = nil
+ }
+
+ // ContainerRegistryId
+ destination.ContainerRegistryId = genruntime.ClonePointerToString(profile.ContainerRegistryId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Cluster HTTP proxy configuration.
+type ManagedClusterHTTPProxyConfig struct {
+ // HttpProxy: The HTTP proxy server endpoint to use.
+ HttpProxy *string `json:"httpProxy,omitempty"`
+
+ // HttpsProxy: The HTTPS proxy server endpoint to use.
+ HttpsProxy *string `json:"httpsProxy,omitempty"`
+
+ // NoProxy: The endpoints that should not go through proxy.
+ NoProxy []string `json:"noProxy,omitempty"`
+
+ // TrustedCa: Alternative CA cert to use for connecting to proxy servers.
+ TrustedCa *string `json:"trustedCa,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterHTTPProxyConfig{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (config *ManagedClusterHTTPProxyConfig) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if config == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterHTTPProxyConfig_ARM{}
+
+ // Set property "HttpProxy":
+ if config.HttpProxy != nil {
+ httpProxy := *config.HttpProxy
+ result.HttpProxy = &httpProxy
+ }
+
+ // Set property "HttpsProxy":
+ if config.HttpsProxy != nil {
+ httpsProxy := *config.HttpsProxy
+ result.HttpsProxy = &httpsProxy
+ }
+
+ // Set property "NoProxy":
+ for _, item := range config.NoProxy {
+ result.NoProxy = append(result.NoProxy, item)
+ }
+
+ // Set property "TrustedCa":
+ if config.TrustedCa != nil {
+ trustedCa := *config.TrustedCa
+ result.TrustedCa = &trustedCa
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *ManagedClusterHTTPProxyConfig) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterHTTPProxyConfig_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *ManagedClusterHTTPProxyConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterHTTPProxyConfig_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterHTTPProxyConfig_ARM, got %T", armInput)
+ }
+
+ // Set property "HttpProxy":
+ if typedInput.HttpProxy != nil {
+ httpProxy := *typedInput.HttpProxy
+ config.HttpProxy = &httpProxy
+ }
+
+ // Set property "HttpsProxy":
+ if typedInput.HttpsProxy != nil {
+ httpsProxy := *typedInput.HttpsProxy
+ config.HttpsProxy = &httpsProxy
+ }
+
+ // Set property "NoProxy":
+ for _, item := range typedInput.NoProxy {
+ config.NoProxy = append(config.NoProxy, item)
+ }
+
+ // Set property "TrustedCa":
+ if typedInput.TrustedCa != nil {
+ trustedCa := *typedInput.TrustedCa
+ config.TrustedCa = &trustedCa
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
+
+ // HttpProxy
+ config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
+
+ // HttpsProxy
+ config.HttpsProxy = genruntime.ClonePointerToString(source.HttpsProxy)
+
+ // NoProxy
+ config.NoProxy = genruntime.CloneSliceOfString(source.NoProxy)
+
+ // TrustedCa
+ config.TrustedCa = genruntime.ClonePointerToString(source.TrustedCa)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // HttpProxy
+ destination.HttpProxy = genruntime.ClonePointerToString(config.HttpProxy)
+
+ // HttpsProxy
+ destination.HttpsProxy = genruntime.ClonePointerToString(config.HttpsProxy)
+
+ // NoProxy
+ destination.NoProxy = genruntime.CloneSliceOfString(config.NoProxy)
+
+ // TrustedCa
+ destination.TrustedCa = genruntime.ClonePointerToString(config.TrustedCa)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Cluster HTTP proxy configuration.
+type ManagedClusterHTTPProxyConfig_STATUS struct {
+ // EffectiveNoProxy: A read-only list of all endpoints for which traffic should not be sent to the proxy. This list is a
+ // superset of noProxy and values injected by AKS.
+ EffectiveNoProxy []string `json:"effectiveNoProxy,omitempty"`
+
+ // HttpProxy: The HTTP proxy server endpoint to use.
+ HttpProxy *string `json:"httpProxy,omitempty"`
+
+ // HttpsProxy: The HTTPS proxy server endpoint to use.
+ HttpsProxy *string `json:"httpsProxy,omitempty"`
+
+ // NoProxy: The endpoints that should not go through proxy.
+ NoProxy []string `json:"noProxy,omitempty"`
+
+ // TrustedCa: Alternative CA cert to use for connecting to proxy servers.
+ TrustedCa *string `json:"trustedCa,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterHTTPProxyConfig_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *ManagedClusterHTTPProxyConfig_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterHTTPProxyConfig_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *ManagedClusterHTTPProxyConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterHTTPProxyConfig_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterHTTPProxyConfig_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "EffectiveNoProxy":
+ for _, item := range typedInput.EffectiveNoProxy {
+ config.EffectiveNoProxy = append(config.EffectiveNoProxy, item)
+ }
+
+ // Set property "HttpProxy":
+ if typedInput.HttpProxy != nil {
+ httpProxy := *typedInput.HttpProxy
+ config.HttpProxy = &httpProxy
+ }
+
+ // Set property "HttpsProxy":
+ if typedInput.HttpsProxy != nil {
+ httpsProxy := *typedInput.HttpsProxy
+ config.HttpsProxy = &httpsProxy
+ }
+
+ // Set property "NoProxy":
+ for _, item := range typedInput.NoProxy {
+ config.NoProxy = append(config.NoProxy, item)
+ }
+
+ // Set property "TrustedCa":
+ if typedInput.TrustedCa != nil {
+ trustedCa := *typedInput.TrustedCa
+ config.TrustedCa = &trustedCa
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
+
+ // EffectiveNoProxy
+ config.EffectiveNoProxy = genruntime.CloneSliceOfString(source.EffectiveNoProxy)
+
+ // HttpProxy
+ config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
+
+ // HttpsProxy
+ config.HttpsProxy = genruntime.ClonePointerToString(source.HttpsProxy)
+
+ // NoProxy
+ config.NoProxy = genruntime.CloneSliceOfString(source.NoProxy)
+
+ // TrustedCa
+ config.TrustedCa = genruntime.ClonePointerToString(source.TrustedCa)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EffectiveNoProxy
+ destination.EffectiveNoProxy = genruntime.CloneSliceOfString(config.EffectiveNoProxy)
+
+ // HttpProxy
+ destination.HttpProxy = genruntime.ClonePointerToString(config.HttpProxy)
+
+ // HttpsProxy
+ destination.HttpsProxy = genruntime.ClonePointerToString(config.HttpsProxy)
+
+ // NoProxy
+ destination.NoProxy = genruntime.CloneSliceOfString(config.NoProxy)
+
+ // TrustedCa
+ destination.TrustedCa = genruntime.ClonePointerToString(config.TrustedCa)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Identity for the managed cluster.
+type ManagedClusterIdentity struct {
+ // DelegatedResources: The delegated identity resources assigned to this managed cluster. This can only be set by another
+ // Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
+ DelegatedResources map[string]DelegatedResource `json:"delegatedResources,omitempty"`
+
+ // Type: For more information see [use managed identities in
+ // AKS](https://docs.microsoft.com/azure/aks/use-managed-identity).
+ Type *ManagedClusterIdentity_Type `json:"type,omitempty"`
+
+ // UserAssignedIdentities: The keys must be ARM resource IDs in the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterIdentity{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (identity *ManagedClusterIdentity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if identity == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterIdentity_ARM{}
+
+ // Set property "DelegatedResources":
+ if identity.DelegatedResources != nil {
+ result.DelegatedResources = make(map[string]DelegatedResource_ARM, len(identity.DelegatedResources))
+ for key, value := range identity.DelegatedResources {
+ value_ARM, err := value.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.DelegatedResources[key] = *value_ARM.(*DelegatedResource_ARM)
+ }
+ }
+
+ // Set property "Type":
+ if identity.Type != nil {
+ typeVar := *identity.Type
+ result.Type = &typeVar
+ }
+
+ // Set property "UserAssignedIdentities":
+ result.UserAssignedIdentities = make(map[string]UserAssignedIdentityDetails_ARM, len(identity.UserAssignedIdentities))
+ for _, ident := range identity.UserAssignedIdentities {
+ identARMID, err := resolved.ResolvedReferences.Lookup(ident.Reference)
+ if err != nil {
+ return nil, err
+ }
+ key := identARMID
+ result.UserAssignedIdentities[key] = UserAssignedIdentityDetails_ARM{}
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *ManagedClusterIdentity) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIdentity_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *ManagedClusterIdentity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIdentity_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIdentity_ARM, got %T", armInput)
+ }
+
+ // Set property "DelegatedResources":
+ if typedInput.DelegatedResources != nil {
+ identity.DelegatedResources = make(map[string]DelegatedResource, len(typedInput.DelegatedResources))
+ for key, value := range typedInput.DelegatedResources {
+ var value1 DelegatedResource
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ identity.DelegatedResources[key] = value1
+ }
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ identity.Type = &typeVar
+ }
+
+ // no assignment for property "UserAssignedIdentities"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
+
+ // DelegatedResources
+ if source.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]DelegatedResource, len(source.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range source.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource DelegatedResource
+ err := delegatedResource.AssignProperties_From_DelegatedResource(&delegatedResourceValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_DelegatedResource() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ identity.DelegatedResources = delegatedResourceMap
+ } else {
+ identity.DelegatedResources = nil
+ }
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_Values)
+ identity.Type = &typeTemp
+ } else {
+ identity.Type = nil
+ }
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]UserAssignedIdentityDetails, len(source.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity UserAssignedIdentityDetails
+ err := userAssignedIdentity.AssignProperties_From_UserAssignedIdentityDetails(&userAssignedIdentityItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ identity.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ identity.UserAssignedIdentities = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DelegatedResources
+ if identity.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]storage.DelegatedResource, len(identity.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource storage.DelegatedResource
+ err := delegatedResourceValue.AssignProperties_To_DelegatedResource(&delegatedResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ destination.DelegatedResources = delegatedResourceMap
+ } else {
+ destination.DelegatedResources = nil
+ }
+
+ // Type
+ if identity.Type != nil {
+ typeVar := string(*identity.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // UserAssignedIdentities
+ if identity.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
+ err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Identity for the managed cluster.
+type ManagedClusterIdentity_STATUS struct {
+ // DelegatedResources: The delegated identity resources assigned to this managed cluster. This can only be set by another
+ // Azure Resource Provider, and managed cluster only accept one delegated identity resource. Internal use only.
+ DelegatedResources map[string]DelegatedResource_STATUS `json:"delegatedResources,omitempty"`
+
+ // PrincipalId: The principal id of the system assigned identity which is used by master components.
+ PrincipalId *string `json:"principalId,omitempty"`
+
+ // TenantId: The tenant id of the system assigned identity which is used by master components.
+ TenantId *string `json:"tenantId,omitempty"`
+
+ // Type: For more information see [use managed identities in
+ // AKS](https://docs.microsoft.com/azure/aks/use-managed-identity).
+ Type *ManagedClusterIdentity_Type_STATUS `json:"type,omitempty"`
+
+ // UserAssignedIdentities: The keys must be ARM resource IDs in the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
+ UserAssignedIdentities map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS `json:"userAssignedIdentities,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterIdentity_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *ManagedClusterIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIdentity_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *ManagedClusterIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIdentity_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIdentity_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "DelegatedResources":
+ if typedInput.DelegatedResources != nil {
+ identity.DelegatedResources = make(map[string]DelegatedResource_STATUS, len(typedInput.DelegatedResources))
+ for key, value := range typedInput.DelegatedResources {
+ var value1 DelegatedResource_STATUS
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ identity.DelegatedResources[key] = value1
+ }
+ }
+
+ // Set property "PrincipalId":
+ if typedInput.PrincipalId != nil {
+ principalId := *typedInput.PrincipalId
+ identity.PrincipalId = &principalId
+ }
+
+ // Set property "TenantId":
+ if typedInput.TenantId != nil {
+ tenantId := *typedInput.TenantId
+ identity.TenantId = &tenantId
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ identity.Type = &typeVar
+ }
+
+ // Set property "UserAssignedIdentities":
+ if typedInput.UserAssignedIdentities != nil {
+ identity.UserAssignedIdentities = make(map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(typedInput.UserAssignedIdentities))
+ for key, value := range typedInput.UserAssignedIdentities {
+ var value1 ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ err := value1.PopulateFromARM(owner, value)
+ if err != nil {
+ return err
+ }
+ identity.UserAssignedIdentities[key] = value1
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
+
+ // DelegatedResources
+ if source.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]DelegatedResource_STATUS, len(source.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range source.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource DelegatedResource_STATUS
+ err := delegatedResource.AssignProperties_From_DelegatedResource_STATUS(&delegatedResourceValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_DelegatedResource_STATUS() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ identity.DelegatedResources = delegatedResourceMap
+ } else {
+ identity.DelegatedResources = nil
+ }
+
+ // PrincipalId
+ identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
+
+ // TenantId
+ identity.TenantId = genruntime.ClonePointerToString(source.TenantId)
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedClusterIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
+ } else {
+ identity.Type = nil
+ }
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityMap := make(map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(source.UserAssignedIdentities))
+ for userAssignedIdentityKey, userAssignedIdentityValue := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityValue := userAssignedIdentityValue
+ var userAssignedIdentity ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ err := userAssignedIdentity.AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentityValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityMap[userAssignedIdentityKey] = userAssignedIdentity
+ }
+ identity.UserAssignedIdentities = userAssignedIdentityMap
+ } else {
+ identity.UserAssignedIdentities = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DelegatedResources
+ if identity.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]storage.DelegatedResource_STATUS, len(identity.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource storage.DelegatedResource_STATUS
+ err := delegatedResourceValue.AssignProperties_To_DelegatedResource_STATUS(&delegatedResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource_STATUS() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ destination.DelegatedResources = delegatedResourceMap
+ } else {
+ destination.DelegatedResources = nil
+ }
+
+ // PrincipalId
+ destination.PrincipalId = genruntime.ClonePointerToString(identity.PrincipalId)
+
+ // TenantId
+ destination.TenantId = genruntime.ClonePointerToString(identity.TenantId)
+
+ // Type
+ if identity.Type != nil {
+ typeVar := string(*identity.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // UserAssignedIdentities
+ if identity.UserAssignedIdentities != nil {
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityValue := userAssignedIdentityValue
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityMap[userAssignedIdentityKey] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityMap
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Ingress profile for the container service cluster.
+type ManagedClusterIngressProfile struct {
+ // WebAppRouting: Web App Routing settings for the ingress profile.
+ WebAppRouting *ManagedClusterIngressProfileWebAppRouting `json:"webAppRouting,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterIngressProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterIngressProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterIngressProfile_ARM{}
+
+ // Set property "WebAppRouting":
+ if profile.WebAppRouting != nil {
+ webAppRouting_ARM, err := (*profile.WebAppRouting).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ webAppRouting := *webAppRouting_ARM.(*ManagedClusterIngressProfileWebAppRouting_ARM)
+ result.WebAppRouting = &webAppRouting
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterIngressProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIngressProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterIngressProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIngressProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIngressProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "WebAppRouting":
+ if typedInput.WebAppRouting != nil {
+ var webAppRouting1 ManagedClusterIngressProfileWebAppRouting
+ err := webAppRouting1.PopulateFromARM(owner, *typedInput.WebAppRouting)
+ if err != nil {
+ return err
+ }
+ webAppRouting := webAppRouting1
+ profile.WebAppRouting = &webAppRouting
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIngressProfile populates our ManagedClusterIngressProfile from the provided source ManagedClusterIngressProfile
+func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedClusterIngressProfile(source *storage.ManagedClusterIngressProfile) error {
+
+ // WebAppRouting
+ if source.WebAppRouting != nil {
+ var webAppRouting ManagedClusterIngressProfileWebAppRouting
+ err := webAppRouting.AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source.WebAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfileWebAppRouting() to populate field WebAppRouting")
+ }
+ profile.WebAppRouting = &webAppRouting
+ } else {
+ profile.WebAppRouting = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfile populates the provided destination ManagedClusterIngressProfile from our ManagedClusterIngressProfile
+func (profile *ManagedClusterIngressProfile) AssignProperties_To_ManagedClusterIngressProfile(destination *storage.ManagedClusterIngressProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // WebAppRouting
+ if profile.WebAppRouting != nil {
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting
+ err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(&webAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting() to populate field WebAppRouting")
+ }
+ destination.WebAppRouting = &webAppRouting
+ } else {
+ destination.WebAppRouting = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Ingress profile for the container service cluster.
+type ManagedClusterIngressProfile_STATUS struct {
+ // WebAppRouting: Web App Routing settings for the ingress profile.
+ WebAppRouting *ManagedClusterIngressProfileWebAppRouting_STATUS `json:"webAppRouting,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterIngressProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterIngressProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIngressProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterIngressProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIngressProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIngressProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "WebAppRouting":
+ if typedInput.WebAppRouting != nil {
+ var webAppRouting1 ManagedClusterIngressProfileWebAppRouting_STATUS
+ err := webAppRouting1.PopulateFromARM(owner, *typedInput.WebAppRouting)
+ if err != nil {
+ return err
+ }
+ webAppRouting := webAppRouting1
+ profile.WebAppRouting = &webAppRouting
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIngressProfile_STATUS populates our ManagedClusterIngressProfile_STATUS from the provided source ManagedClusterIngressProfile_STATUS
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_ManagedClusterIngressProfile_STATUS(source *storage.ManagedClusterIngressProfile_STATUS) error {
+
+ // WebAppRouting
+ if source.WebAppRouting != nil {
+ var webAppRouting ManagedClusterIngressProfileWebAppRouting_STATUS
+ err := webAppRouting.AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source.WebAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS() to populate field WebAppRouting")
+ }
+ profile.WebAppRouting = &webAppRouting
+ } else {
+ profile.WebAppRouting = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfile_STATUS populates the provided destination ManagedClusterIngressProfile_STATUS from our ManagedClusterIngressProfile_STATUS
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_To_ManagedClusterIngressProfile_STATUS(destination *storage.ManagedClusterIngressProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // WebAppRouting
+ if profile.WebAppRouting != nil {
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting_STATUS
+ err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(&webAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS() to populate field WebAppRouting")
+ }
+ destination.WebAppRouting = &webAppRouting
+ } else {
+ destination.WebAppRouting = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The metrics profile for the ManagedCluster.
+type ManagedClusterMetricsProfile struct {
+ // CostAnalysis: The cost analysis configuration for the cluster
+ CostAnalysis *ManagedClusterCostAnalysis `json:"costAnalysis,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterMetricsProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterMetricsProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterMetricsProfile_ARM{}
+
+ // Set property "CostAnalysis":
+ if profile.CostAnalysis != nil {
+ costAnalysis_ARM, err := (*profile.CostAnalysis).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ costAnalysis := *costAnalysis_ARM.(*ManagedClusterCostAnalysis_ARM)
+ result.CostAnalysis = &costAnalysis
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterMetricsProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterMetricsProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterMetricsProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterMetricsProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterMetricsProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "CostAnalysis":
+ if typedInput.CostAnalysis != nil {
+ var costAnalysis1 ManagedClusterCostAnalysis
+ err := costAnalysis1.PopulateFromARM(owner, *typedInput.CostAnalysis)
+ if err != nil {
+ return err
+ }
+ costAnalysis := costAnalysis1
+ profile.CostAnalysis = &costAnalysis
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterMetricsProfile populates our ManagedClusterMetricsProfile from the provided source ManagedClusterMetricsProfile
+func (profile *ManagedClusterMetricsProfile) AssignProperties_From_ManagedClusterMetricsProfile(source *storage.ManagedClusterMetricsProfile) error {
+
+ // CostAnalysis
+ if source.CostAnalysis != nil {
+ var costAnalysis ManagedClusterCostAnalysis
+ err := costAnalysis.AssignProperties_From_ManagedClusterCostAnalysis(source.CostAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterCostAnalysis() to populate field CostAnalysis")
+ }
+ profile.CostAnalysis = &costAnalysis
+ } else {
+ profile.CostAnalysis = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterMetricsProfile populates the provided destination ManagedClusterMetricsProfile from our ManagedClusterMetricsProfile
+func (profile *ManagedClusterMetricsProfile) AssignProperties_To_ManagedClusterMetricsProfile(destination *storage.ManagedClusterMetricsProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CostAnalysis
+ if profile.CostAnalysis != nil {
+ var costAnalysis storage.ManagedClusterCostAnalysis
+ err := profile.CostAnalysis.AssignProperties_To_ManagedClusterCostAnalysis(&costAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterCostAnalysis() to populate field CostAnalysis")
+ }
+ destination.CostAnalysis = &costAnalysis
+ } else {
+ destination.CostAnalysis = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The metrics profile for the ManagedCluster.
+type ManagedClusterMetricsProfile_STATUS struct {
+ // CostAnalysis: The cost analysis configuration for the cluster
+ CostAnalysis *ManagedClusterCostAnalysis_STATUS `json:"costAnalysis,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterMetricsProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterMetricsProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterMetricsProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterMetricsProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterMetricsProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterMetricsProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "CostAnalysis":
+ if typedInput.CostAnalysis != nil {
+ var costAnalysis1 ManagedClusterCostAnalysis_STATUS
+ err := costAnalysis1.PopulateFromARM(owner, *typedInput.CostAnalysis)
+ if err != nil {
+ return err
+ }
+ costAnalysis := costAnalysis1
+ profile.CostAnalysis = &costAnalysis
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterMetricsProfile_STATUS populates our ManagedClusterMetricsProfile_STATUS from the provided source ManagedClusterMetricsProfile_STATUS
+func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_From_ManagedClusterMetricsProfile_STATUS(source *storage.ManagedClusterMetricsProfile_STATUS) error {
+
+ // CostAnalysis
+ if source.CostAnalysis != nil {
+ var costAnalysis ManagedClusterCostAnalysis_STATUS
+ err := costAnalysis.AssignProperties_From_ManagedClusterCostAnalysis_STATUS(source.CostAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterCostAnalysis_STATUS() to populate field CostAnalysis")
+ }
+ profile.CostAnalysis = &costAnalysis
+ } else {
+ profile.CostAnalysis = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterMetricsProfile_STATUS populates the provided destination ManagedClusterMetricsProfile_STATUS from our ManagedClusterMetricsProfile_STATUS
+func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_To_ManagedClusterMetricsProfile_STATUS(destination *storage.ManagedClusterMetricsProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CostAnalysis
+ if profile.CostAnalysis != nil {
+ var costAnalysis storage.ManagedClusterCostAnalysis_STATUS
+ err := profile.CostAnalysis.AssignProperties_To_ManagedClusterCostAnalysis_STATUS(&costAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterCostAnalysis_STATUS() to populate field CostAnalysis")
+ }
+ destination.CostAnalysis = &costAnalysis
+ } else {
+ destination.CostAnalysis = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterNodeProvisioningProfile struct {
+ // Mode: Once the mode it set to Auto, it cannot be changed back to Manual.
+ Mode *ManagedClusterNodeProvisioningProfile_Mode `json:"mode,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterNodeProvisioningProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterNodeProvisioningProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterNodeProvisioningProfile_ARM{}
+
+ // Set property "Mode":
+ if profile.Mode != nil {
+ mode := *profile.Mode
+ result.Mode = &mode
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterNodeProvisioningProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterNodeProvisioningProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterNodeProvisioningProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterNodeProvisioningProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterNodeProvisioningProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ profile.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterNodeProvisioningProfile populates our ManagedClusterNodeProvisioningProfile from the provided source ManagedClusterNodeProvisioningProfile
+func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_From_ManagedClusterNodeProvisioningProfile(source *storage.ManagedClusterNodeProvisioningProfile) error {
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, managedClusterNodeProvisioningProfile_Mode_Values)
+ profile.Mode = &modeTemp
+ } else {
+ profile.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeProvisioningProfile populates the provided destination ManagedClusterNodeProvisioningProfile from our ManagedClusterNodeProvisioningProfile
+func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_To_ManagedClusterNodeProvisioningProfile(destination *storage.ManagedClusterNodeProvisioningProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Mode
+ if profile.Mode != nil {
+ mode := string(*profile.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterNodeProvisioningProfile_STATUS struct {
+ // Mode: Once the mode it set to Auto, it cannot be changed back to Manual.
+ Mode *ManagedClusterNodeProvisioningProfile_Mode_STATUS `json:"mode,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterNodeProvisioningProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterNodeProvisioningProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterNodeProvisioningProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterNodeProvisioningProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ profile.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS populates our ManagedClusterNodeProvisioningProfile_STATUS from the provided source ManagedClusterNodeProvisioningProfile_STATUS
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS(source *storage.ManagedClusterNodeProvisioningProfile_STATUS) error {
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, managedClusterNodeProvisioningProfile_Mode_STATUS_Values)
+ profile.Mode = &modeTemp
+ } else {
+ profile.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS populates the provided destination ManagedClusterNodeProvisioningProfile_STATUS from our ManagedClusterNodeProvisioningProfile_STATUS
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(destination *storage.ManagedClusterNodeProvisioningProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Mode
+ if profile.Mode != nil {
+ mode := string(*profile.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Node resource group lockdown profile for a managed cluster.
+type ManagedClusterNodeResourceGroupProfile struct {
+ // RestrictionLevel: The restriction level applied to the cluster's node resource group
+ RestrictionLevel *ManagedClusterNodeResourceGroupProfile_RestrictionLevel `json:"restrictionLevel,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterNodeResourceGroupProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterNodeResourceGroupProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterNodeResourceGroupProfile_ARM{}
+
+ // Set property "RestrictionLevel":
+ if profile.RestrictionLevel != nil {
+ restrictionLevel := *profile.RestrictionLevel
+ result.RestrictionLevel = &restrictionLevel
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterNodeResourceGroupProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterNodeResourceGroupProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterNodeResourceGroupProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterNodeResourceGroupProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterNodeResourceGroupProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "RestrictionLevel":
+ if typedInput.RestrictionLevel != nil {
+ restrictionLevel := *typedInput.RestrictionLevel
+ profile.RestrictionLevel = &restrictionLevel
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterNodeResourceGroupProfile populates our ManagedClusterNodeResourceGroupProfile from the provided source ManagedClusterNodeResourceGroupProfile
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source *storage.ManagedClusterNodeResourceGroupProfile) error {
+
+ // RestrictionLevel
+ if source.RestrictionLevel != nil {
+ restrictionLevel := *source.RestrictionLevel
+ restrictionLevelTemp := genruntime.ToEnum(restrictionLevel, managedClusterNodeResourceGroupProfile_RestrictionLevel_Values)
+ profile.RestrictionLevel = &restrictionLevelTemp
+ } else {
+ profile.RestrictionLevel = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeResourceGroupProfile populates the provided destination ManagedClusterNodeResourceGroupProfile from our ManagedClusterNodeResourceGroupProfile
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_To_ManagedClusterNodeResourceGroupProfile(destination *storage.ManagedClusterNodeResourceGroupProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // RestrictionLevel
+ if profile.RestrictionLevel != nil {
+ restrictionLevel := string(*profile.RestrictionLevel)
+ destination.RestrictionLevel = &restrictionLevel
+ } else {
+ destination.RestrictionLevel = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Node resource group lockdown profile for a managed cluster.
+type ManagedClusterNodeResourceGroupProfile_STATUS struct {
+ // RestrictionLevel: The restriction level applied to the cluster's node resource group
+ RestrictionLevel *ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS `json:"restrictionLevel,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterNodeResourceGroupProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterNodeResourceGroupProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterNodeResourceGroupProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterNodeResourceGroupProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "RestrictionLevel":
+ if typedInput.RestrictionLevel != nil {
+ restrictionLevel := *typedInput.RestrictionLevel
+ profile.RestrictionLevel = &restrictionLevel
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS populates our ManagedClusterNodeResourceGroupProfile_STATUS from the provided source ManagedClusterNodeResourceGroupProfile_STATUS
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+
+ // RestrictionLevel
+ if source.RestrictionLevel != nil {
+ restrictionLevel := *source.RestrictionLevel
+ restrictionLevelTemp := genruntime.ToEnum(restrictionLevel, managedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Values)
+ profile.RestrictionLevel = &restrictionLevelTemp
+ } else {
+ profile.RestrictionLevel = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS populates the provided destination ManagedClusterNodeResourceGroupProfile_STATUS from our ManagedClusterNodeResourceGroupProfile_STATUS
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(destination *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // RestrictionLevel
+ if profile.RestrictionLevel != nil {
+ restrictionLevel := string(*profile.RestrictionLevel)
+ destination.RestrictionLevel = &restrictionLevel
+ } else {
+ destination.RestrictionLevel = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The OIDC issuer profile of the Managed Cluster.
+type ManagedClusterOIDCIssuerProfile struct {
+ // Enabled: Whether the OIDC issuer is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterOIDCIssuerProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterOIDCIssuerProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterOIDCIssuerProfile_ARM{}
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterOIDCIssuerProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterOIDCIssuerProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterOIDCIssuerProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterOIDCIssuerProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterOIDCIssuerProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The OIDC issuer profile of the Managed Cluster.
+type ManagedClusterOIDCIssuerProfile_STATUS struct {
+ // Enabled: Whether the OIDC issuer is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IssuerURL: The OIDC issuer url of the Managed Cluster.
+ IssuerURL *string `json:"issuerURL,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterOIDCIssuerProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterOIDCIssuerProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterOIDCIssuerProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterOIDCIssuerProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // Set property "IssuerURL":
+ if typedInput.IssuerURL != nil {
+ issuerURL := *typedInput.IssuerURL
+ profile.IssuerURL = &issuerURL
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // IssuerURL
+ profile.IssuerURL = genruntime.ClonePointerToString(source.IssuerURL)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IssuerURL
+ destination.IssuerURL = genruntime.ClonePointerToString(profile.IssuerURL)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
+type ManagedClusterOperatorSpec struct {
+ // ConfigMaps: configures where to place operator written ConfigMaps.
+ ConfigMaps *ManagedClusterOperatorConfigMaps `json:"configMaps,omitempty"`
+
+ // Secrets: configures where to place Azure generated secrets.
+ Secrets *ManagedClusterOperatorSecrets `json:"secrets,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
+
+ // ConfigMaps
+ if source.ConfigMaps != nil {
+ var configMap ManagedClusterOperatorConfigMaps
+ err := configMap.AssignProperties_From_ManagedClusterOperatorConfigMaps(source.ConfigMaps)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ operator.ConfigMaps = &configMap
+ } else {
+ operator.ConfigMaps = nil
+ }
+
+ // Secrets
+ if source.Secrets != nil {
+ var secret ManagedClusterOperatorSecrets
+ err := secret.AssignProperties_From_ManagedClusterOperatorSecrets(source.Secrets)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOperatorSecrets() to populate field Secrets")
+ }
+ operator.Secrets = &secret
+ } else {
+ operator.Secrets = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ConfigMaps
+ if operator.ConfigMaps != nil {
+ var configMap storage.ManagedClusterOperatorConfigMaps
+ err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ destination.ConfigMaps = &configMap
+ } else {
+ destination.ConfigMaps = nil
+ }
+
+ // Secrets
+ if operator.Secrets != nil {
+ var secret storage.ManagedClusterOperatorSecrets
+ err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
+ }
+ destination.Secrets = &secret
+ } else {
+ destination.Secrets = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
+// identity integration.
+type ManagedClusterPodIdentityProfile struct {
+ // AllowNetworkPluginKubenet: Running in Kubenet is disabled by default due to the security related nature of AAD Pod
+ // Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod
+ // Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities)
+ // for more information.
+ AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"`
+
+ // Enabled: Whether the pod identity addon is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // UserAssignedIdentities: The pod identities to use in the cluster.
+ UserAssignedIdentities []ManagedClusterPodIdentity `json:"userAssignedIdentities,omitempty"`
+
+ // UserAssignedIdentityExceptions: The pod identity exceptions to allow.
+ UserAssignedIdentityExceptions []ManagedClusterPodIdentityException `json:"userAssignedIdentityExceptions,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterPodIdentityProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterPodIdentityProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterPodIdentityProfile_ARM{}
+
+ // Set property "AllowNetworkPluginKubenet":
+ if profile.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *profile.AllowNetworkPluginKubenet
+ result.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ }
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "UserAssignedIdentities":
+ for _, item := range profile.UserAssignedIdentities {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.UserAssignedIdentities = append(result.UserAssignedIdentities, *item_ARM.(*ManagedClusterPodIdentity_ARM))
+ }
+
+ // Set property "UserAssignedIdentityExceptions":
+ for _, item := range profile.UserAssignedIdentityExceptions {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.UserAssignedIdentityExceptions = append(result.UserAssignedIdentityExceptions, *item_ARM.(*ManagedClusterPodIdentityException_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterPodIdentityProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterPodIdentityProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AllowNetworkPluginKubenet":
+ if typedInput.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *typedInput.AllowNetworkPluginKubenet
+ profile.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // Set property "UserAssignedIdentities":
+ for _, item := range typedInput.UserAssignedIdentities {
+ var item1 ManagedClusterPodIdentity
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.UserAssignedIdentities = append(profile.UserAssignedIdentities, item1)
+ }
+
+ // Set property "UserAssignedIdentityExceptions":
+ for _, item := range typedInput.UserAssignedIdentityExceptions {
+ var item1 ManagedClusterPodIdentityException
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.UserAssignedIdentityExceptions = append(profile.UserAssignedIdentityExceptions, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
+
+ // AllowNetworkPluginKubenet
+ if source.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *source.AllowNetworkPluginKubenet
+ profile.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ profile.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]ManagedClusterPodIdentity, len(source.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity ManagedClusterPodIdentity
+ err := userAssignedIdentity.AssignProperties_From_ManagedClusterPodIdentity(&userAssignedIdentityItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ profile.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ profile.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if source.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]ManagedClusterPodIdentityException, len(source.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range source.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException ManagedClusterPodIdentityException
+ err := userAssignedIdentityException.AssignProperties_From_ManagedClusterPodIdentityException(&userAssignedIdentityExceptionItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ profile.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ profile.UserAssignedIdentityExceptions = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllowNetworkPluginKubenet
+ if profile.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *profile.AllowNetworkPluginKubenet
+ destination.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ destination.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if profile.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
+ err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if profile.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
+ err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ destination.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ destination.UserAssignedIdentityExceptions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
+// identity integration.
+type ManagedClusterPodIdentityProfile_STATUS struct {
+ // AllowNetworkPluginKubenet: Running in Kubenet is disabled by default due to the security related nature of AAD Pod
+ // Identity and the risks of IP spoofing. See [using Kubenet network plugin with AAD Pod
+ // Identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities)
+ // for more information.
+ AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"`
+
+ // Enabled: Whether the pod identity addon is enabled.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // UserAssignedIdentities: The pod identities to use in the cluster.
+ UserAssignedIdentities []ManagedClusterPodIdentity_STATUS `json:"userAssignedIdentities,omitempty"`
+
+ // UserAssignedIdentityExceptions: The pod identity exceptions to allow.
+ UserAssignedIdentityExceptions []ManagedClusterPodIdentityException_STATUS `json:"userAssignedIdentityExceptions,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentityProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterPodIdentityProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterPodIdentityProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AllowNetworkPluginKubenet":
+ if typedInput.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *typedInput.AllowNetworkPluginKubenet
+ profile.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // Set property "UserAssignedIdentities":
+ for _, item := range typedInput.UserAssignedIdentities {
+ var item1 ManagedClusterPodIdentity_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.UserAssignedIdentities = append(profile.UserAssignedIdentities, item1)
+ }
+
+ // Set property "UserAssignedIdentityExceptions":
+ for _, item := range typedInput.UserAssignedIdentityExceptions {
+ var item1 ManagedClusterPodIdentityException_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.UserAssignedIdentityExceptions = append(profile.UserAssignedIdentityExceptions, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
+
+ // AllowNetworkPluginKubenet
+ if source.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *source.AllowNetworkPluginKubenet
+ profile.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ profile.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]ManagedClusterPodIdentity_STATUS, len(source.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity ManagedClusterPodIdentity_STATUS
+ err := userAssignedIdentity.AssignProperties_From_ManagedClusterPodIdentity_STATUS(&userAssignedIdentityItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ profile.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ profile.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if source.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]ManagedClusterPodIdentityException_STATUS, len(source.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range source.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException ManagedClusterPodIdentityException_STATUS
+ err := userAssignedIdentityException.AssignProperties_From_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityExceptionItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ profile.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ profile.UserAssignedIdentityExceptions = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllowNetworkPluginKubenet
+ if profile.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *profile.AllowNetworkPluginKubenet
+ destination.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ destination.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if profile.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
+ err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if profile.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
+ err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ destination.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ destination.UserAssignedIdentityExceptions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterProperties_AutoScalerProfile struct {
+ // BalanceSimilarNodeGroups: Valid values are 'true' and 'false'
+ BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"`
+
+ // DaemonsetEvictionForEmptyNodes: If set to true, all daemonset pods on empty nodes will be evicted before deletion of the
+ // node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be
+ // deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"`
+
+ // DaemonsetEvictionForOccupiedNodes: If set to true, all daemonset pods on occupied nodes will be evicted before deletion
+ // of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node
+ // will be deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"`
+
+ // Expander: Available values are: 'least-waste', 'most-pods', 'priority', 'random'.
+ Expander *Expander `json:"expander,omitempty"`
+
+ // IgnoreDaemonsetsUtilization: If set to true, the resources used by daemonset will be taken into account when making
+ // scaling down decisions.
+ IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"`
+
+ // MaxEmptyBulkDelete: The default is 10.
+ MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"`
+
+ // MaxGracefulTerminationSec: The default is 600.
+ MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"`
+
+ // MaxNodeProvisionTime: The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"`
+
+ // MaxTotalUnreadyPercentage: The default is 45. The maximum is 100 and the minimum is 0.
+ MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"`
+
+ // NewPodScaleUpDelay: For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler
+ // could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is
+ // '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
+ NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"`
+
+ // OkTotalUnreadyCount: This must be an integer. The default is 3.
+ OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"`
+
+ // ScaleDownDelayAfterAdd: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"`
+
+ // ScaleDownDelayAfterDelete: The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of
+ // time other than minutes (m) is supported.
+ ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"`
+
+ // ScaleDownDelayAfterFailure: The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other
+ // than minutes (m) is supported.
+ ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"`
+
+ // ScaleDownUnneededTime: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"`
+
+ // ScaleDownUnreadyTime: The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"`
+
+ // ScaleDownUtilizationThreshold: The default is '0.5'.
+ ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"`
+
+ // ScanInterval: The default is '10'. Values must be an integer number of seconds.
+ ScanInterval *string `json:"scan-interval,omitempty"`
+
+ // SkipNodesWithLocalStorage: The default is true.
+ SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"`
+
+ // SkipNodesWithSystemPods: The default is true.
+ SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterProperties_AutoScalerProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterProperties_AutoScalerProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterProperties_AutoScalerProfile_ARM{}
+
+ // Set property "BalanceSimilarNodeGroups":
+ if profile.BalanceSimilarNodeGroups != nil {
+ balanceSimilarNodeGroups := *profile.BalanceSimilarNodeGroups
+ result.BalanceSimilarNodeGroups = &balanceSimilarNodeGroups
+ }
+
+ // Set property "DaemonsetEvictionForEmptyNodes":
+ if profile.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNodes := *profile.DaemonsetEvictionForEmptyNodes
+ result.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNodes
+ }
+
+ // Set property "DaemonsetEvictionForOccupiedNodes":
+ if profile.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNodes := *profile.DaemonsetEvictionForOccupiedNodes
+ result.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNodes
+ }
+
+ // Set property "Expander":
+ if profile.Expander != nil {
+ expander := *profile.Expander
+ result.Expander = &expander
+ }
+
+ // Set property "IgnoreDaemonsetsUtilization":
+ if profile.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *profile.IgnoreDaemonsetsUtilization
+ result.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ }
+
+ // Set property "MaxEmptyBulkDelete":
+ if profile.MaxEmptyBulkDelete != nil {
+ maxEmptyBulkDelete := *profile.MaxEmptyBulkDelete
+ result.MaxEmptyBulkDelete = &maxEmptyBulkDelete
+ }
+
+ // Set property "MaxGracefulTerminationSec":
+ if profile.MaxGracefulTerminationSec != nil {
+ maxGracefulTerminationSec := *profile.MaxGracefulTerminationSec
+ result.MaxGracefulTerminationSec = &maxGracefulTerminationSec
+ }
+
+ // Set property "MaxNodeProvisionTime":
+ if profile.MaxNodeProvisionTime != nil {
+ maxNodeProvisionTime := *profile.MaxNodeProvisionTime
+ result.MaxNodeProvisionTime = &maxNodeProvisionTime
+ }
+
+ // Set property "MaxTotalUnreadyPercentage":
+ if profile.MaxTotalUnreadyPercentage != nil {
+ maxTotalUnreadyPercentage := *profile.MaxTotalUnreadyPercentage
+ result.MaxTotalUnreadyPercentage = &maxTotalUnreadyPercentage
+ }
+
+ // Set property "NewPodScaleUpDelay":
+ if profile.NewPodScaleUpDelay != nil {
+ newPodScaleUpDelay := *profile.NewPodScaleUpDelay
+ result.NewPodScaleUpDelay = &newPodScaleUpDelay
+ }
+
+ // Set property "OkTotalUnreadyCount":
+ if profile.OkTotalUnreadyCount != nil {
+ okTotalUnreadyCount := *profile.OkTotalUnreadyCount
+ result.OkTotalUnreadyCount = &okTotalUnreadyCount
+ }
+
+ // Set property "ScaleDownDelayAfterAdd":
+ if profile.ScaleDownDelayAfterAdd != nil {
+ scaleDownDelayAfterAdd := *profile.ScaleDownDelayAfterAdd
+ result.ScaleDownDelayAfterAdd = &scaleDownDelayAfterAdd
+ }
+
+ // Set property "ScaleDownDelayAfterDelete":
+ if profile.ScaleDownDelayAfterDelete != nil {
+ scaleDownDelayAfterDelete := *profile.ScaleDownDelayAfterDelete
+ result.ScaleDownDelayAfterDelete = &scaleDownDelayAfterDelete
+ }
+
+ // Set property "ScaleDownDelayAfterFailure":
+ if profile.ScaleDownDelayAfterFailure != nil {
+ scaleDownDelayAfterFailure := *profile.ScaleDownDelayAfterFailure
+ result.ScaleDownDelayAfterFailure = &scaleDownDelayAfterFailure
+ }
+
+ // Set property "ScaleDownUnneededTime":
+ if profile.ScaleDownUnneededTime != nil {
+ scaleDownUnneededTime := *profile.ScaleDownUnneededTime
+ result.ScaleDownUnneededTime = &scaleDownUnneededTime
+ }
+
+ // Set property "ScaleDownUnreadyTime":
+ if profile.ScaleDownUnreadyTime != nil {
+ scaleDownUnreadyTime := *profile.ScaleDownUnreadyTime
+ result.ScaleDownUnreadyTime = &scaleDownUnreadyTime
+ }
+
+ // Set property "ScaleDownUtilizationThreshold":
+ if profile.ScaleDownUtilizationThreshold != nil {
+ scaleDownUtilizationThreshold := *profile.ScaleDownUtilizationThreshold
+ result.ScaleDownUtilizationThreshold = &scaleDownUtilizationThreshold
+ }
+
+ // Set property "ScanInterval":
+ if profile.ScanInterval != nil {
+ scanInterval := *profile.ScanInterval
+ result.ScanInterval = &scanInterval
+ }
+
+ // Set property "SkipNodesWithLocalStorage":
+ if profile.SkipNodesWithLocalStorage != nil {
+ skipNodesWithLocalStorage := *profile.SkipNodesWithLocalStorage
+ result.SkipNodesWithLocalStorage = &skipNodesWithLocalStorage
+ }
+
+ // Set property "SkipNodesWithSystemPods":
+ if profile.SkipNodesWithSystemPods != nil {
+ skipNodesWithSystemPods := *profile.SkipNodesWithSystemPods
+ result.SkipNodesWithSystemPods = &skipNodesWithSystemPods
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterProperties_AutoScalerProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterProperties_AutoScalerProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterProperties_AutoScalerProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterProperties_AutoScalerProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterProperties_AutoScalerProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "BalanceSimilarNodeGroups":
+ if typedInput.BalanceSimilarNodeGroups != nil {
+ balanceSimilarNodeGroups := *typedInput.BalanceSimilarNodeGroups
+ profile.BalanceSimilarNodeGroups = &balanceSimilarNodeGroups
+ }
+
+ // Set property "DaemonsetEvictionForEmptyNodes":
+ if typedInput.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNodes := *typedInput.DaemonsetEvictionForEmptyNodes
+ profile.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNodes
+ }
+
+ // Set property "DaemonsetEvictionForOccupiedNodes":
+ if typedInput.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNodes := *typedInput.DaemonsetEvictionForOccupiedNodes
+ profile.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNodes
+ }
+
+ // Set property "Expander":
+ if typedInput.Expander != nil {
+ expander := *typedInput.Expander
+ profile.Expander = &expander
+ }
+
+ // Set property "IgnoreDaemonsetsUtilization":
+ if typedInput.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *typedInput.IgnoreDaemonsetsUtilization
+ profile.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ }
+
+ // Set property "MaxEmptyBulkDelete":
+ if typedInput.MaxEmptyBulkDelete != nil {
+ maxEmptyBulkDelete := *typedInput.MaxEmptyBulkDelete
+ profile.MaxEmptyBulkDelete = &maxEmptyBulkDelete
+ }
+
+ // Set property "MaxGracefulTerminationSec":
+ if typedInput.MaxGracefulTerminationSec != nil {
+ maxGracefulTerminationSec := *typedInput.MaxGracefulTerminationSec
+ profile.MaxGracefulTerminationSec = &maxGracefulTerminationSec
+ }
+
+ // Set property "MaxNodeProvisionTime":
+ if typedInput.MaxNodeProvisionTime != nil {
+ maxNodeProvisionTime := *typedInput.MaxNodeProvisionTime
+ profile.MaxNodeProvisionTime = &maxNodeProvisionTime
+ }
+
+ // Set property "MaxTotalUnreadyPercentage":
+ if typedInput.MaxTotalUnreadyPercentage != nil {
+ maxTotalUnreadyPercentage := *typedInput.MaxTotalUnreadyPercentage
+ profile.MaxTotalUnreadyPercentage = &maxTotalUnreadyPercentage
+ }
+
+ // Set property "NewPodScaleUpDelay":
+ if typedInput.NewPodScaleUpDelay != nil {
+ newPodScaleUpDelay := *typedInput.NewPodScaleUpDelay
+ profile.NewPodScaleUpDelay = &newPodScaleUpDelay
+ }
+
+ // Set property "OkTotalUnreadyCount":
+ if typedInput.OkTotalUnreadyCount != nil {
+ okTotalUnreadyCount := *typedInput.OkTotalUnreadyCount
+ profile.OkTotalUnreadyCount = &okTotalUnreadyCount
+ }
+
+ // Set property "ScaleDownDelayAfterAdd":
+ if typedInput.ScaleDownDelayAfterAdd != nil {
+ scaleDownDelayAfterAdd := *typedInput.ScaleDownDelayAfterAdd
+ profile.ScaleDownDelayAfterAdd = &scaleDownDelayAfterAdd
+ }
+
+ // Set property "ScaleDownDelayAfterDelete":
+ if typedInput.ScaleDownDelayAfterDelete != nil {
+ scaleDownDelayAfterDelete := *typedInput.ScaleDownDelayAfterDelete
+ profile.ScaleDownDelayAfterDelete = &scaleDownDelayAfterDelete
+ }
+
+ // Set property "ScaleDownDelayAfterFailure":
+ if typedInput.ScaleDownDelayAfterFailure != nil {
+ scaleDownDelayAfterFailure := *typedInput.ScaleDownDelayAfterFailure
+ profile.ScaleDownDelayAfterFailure = &scaleDownDelayAfterFailure
+ }
+
+ // Set property "ScaleDownUnneededTime":
+ if typedInput.ScaleDownUnneededTime != nil {
+ scaleDownUnneededTime := *typedInput.ScaleDownUnneededTime
+ profile.ScaleDownUnneededTime = &scaleDownUnneededTime
+ }
+
+ // Set property "ScaleDownUnreadyTime":
+ if typedInput.ScaleDownUnreadyTime != nil {
+ scaleDownUnreadyTime := *typedInput.ScaleDownUnreadyTime
+ profile.ScaleDownUnreadyTime = &scaleDownUnreadyTime
+ }
+
+ // Set property "ScaleDownUtilizationThreshold":
+ if typedInput.ScaleDownUtilizationThreshold != nil {
+ scaleDownUtilizationThreshold := *typedInput.ScaleDownUtilizationThreshold
+ profile.ScaleDownUtilizationThreshold = &scaleDownUtilizationThreshold
+ }
+
+ // Set property "ScanInterval":
+ if typedInput.ScanInterval != nil {
+ scanInterval := *typedInput.ScanInterval
+ profile.ScanInterval = &scanInterval
+ }
+
+ // Set property "SkipNodesWithLocalStorage":
+ if typedInput.SkipNodesWithLocalStorage != nil {
+ skipNodesWithLocalStorage := *typedInput.SkipNodesWithLocalStorage
+ profile.SkipNodesWithLocalStorage = &skipNodesWithLocalStorage
+ }
+
+ // Set property "SkipNodesWithSystemPods":
+ if typedInput.SkipNodesWithSystemPods != nil {
+ skipNodesWithSystemPods := *typedInput.SkipNodesWithSystemPods
+ profile.SkipNodesWithSystemPods = &skipNodesWithSystemPods
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
+
+ // BalanceSimilarNodeGroups
+ profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if source.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *source.DaemonsetEvictionForEmptyNodes
+ profile.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ profile.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if source.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *source.DaemonsetEvictionForOccupiedNodes
+ profile.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ profile.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ if source.Expander != nil {
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, expander_Values)
+ profile.Expander = &expanderTemp
+ } else {
+ profile.Expander = nil
+ }
+
+ // IgnoreDaemonsetsUtilization
+ if source.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *source.IgnoreDaemonsetsUtilization
+ profile.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ profile.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ profile.MaxEmptyBulkDelete = genruntime.ClonePointerToString(source.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ profile.MaxGracefulTerminationSec = genruntime.ClonePointerToString(source.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ profile.MaxNodeProvisionTime = genruntime.ClonePointerToString(source.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ profile.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(source.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ profile.NewPodScaleUpDelay = genruntime.ClonePointerToString(source.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ profile.OkTotalUnreadyCount = genruntime.ClonePointerToString(source.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ profile.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(source.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ profile.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(source.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ profile.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(source.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ profile.ScaleDownUnneededTime = genruntime.ClonePointerToString(source.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ profile.ScaleDownUnreadyTime = genruntime.ClonePointerToString(source.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ profile.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(source.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ profile.ScanInterval = genruntime.ClonePointerToString(source.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ profile.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(source.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ profile.SkipNodesWithSystemPods = genruntime.ClonePointerToString(source.SkipNodesWithSystemPods)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // BalanceSimilarNodeGroups
+ destination.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(profile.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if profile.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *profile.DaemonsetEvictionForEmptyNodes
+ destination.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ destination.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if profile.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *profile.DaemonsetEvictionForOccupiedNodes
+ destination.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ destination.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ if profile.Expander != nil {
+ expander := string(*profile.Expander)
+ destination.Expander = &expander
+ } else {
+ destination.Expander = nil
+ }
+
+ // IgnoreDaemonsetsUtilization
+ if profile.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *profile.IgnoreDaemonsetsUtilization
+ destination.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ destination.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ destination.MaxEmptyBulkDelete = genruntime.ClonePointerToString(profile.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ destination.MaxGracefulTerminationSec = genruntime.ClonePointerToString(profile.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ destination.MaxNodeProvisionTime = genruntime.ClonePointerToString(profile.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ destination.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(profile.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ destination.NewPodScaleUpDelay = genruntime.ClonePointerToString(profile.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ destination.OkTotalUnreadyCount = genruntime.ClonePointerToString(profile.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ destination.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ destination.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ destination.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ destination.ScaleDownUnneededTime = genruntime.ClonePointerToString(profile.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ destination.ScaleDownUnreadyTime = genruntime.ClonePointerToString(profile.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ destination.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(profile.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ destination.ScanInterval = genruntime.ClonePointerToString(profile.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ destination.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(profile.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ destination.SkipNodesWithSystemPods = genruntime.ClonePointerToString(profile.SkipNodesWithSystemPods)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterProperties_AutoScalerProfile_STATUS struct {
+ // BalanceSimilarNodeGroups: Valid values are 'true' and 'false'
+ BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"`
+
+ // DaemonsetEvictionForEmptyNodes: If set to true, all daemonset pods on empty nodes will be evicted before deletion of the
+ // node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node will be
+ // deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"`
+
+ // DaemonsetEvictionForOccupiedNodes: If set to true, all daemonset pods on occupied nodes will be evicted before deletion
+ // of the node. If the daemonset pod cannot be evicted another node will be chosen for scaling. If set to false, the node
+ // will be deleted without ensuring that daemonset pods are deleted or evicted.
+ DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"`
+
+ // Expander: Available values are: 'least-waste', 'most-pods', 'priority', 'random'.
+ Expander *Expander_STATUS `json:"expander,omitempty"`
+
+ // IgnoreDaemonsetsUtilization: If set to true, the resources used by daemonset will be taken into account when making
+ // scaling down decisions.
+ IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"`
+
+ // MaxEmptyBulkDelete: The default is 10.
+ MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"`
+
+ // MaxGracefulTerminationSec: The default is 600.
+ MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"`
+
+ // MaxNodeProvisionTime: The default is '15m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"`
+
+ // MaxTotalUnreadyPercentage: The default is 45. The maximum is 100 and the minimum is 0.
+ MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"`
+
+ // NewPodScaleUpDelay: For scenarios like burst/batch scale where you don't want CA to act before the kubernetes scheduler
+ // could schedule all the pods, you can tell CA to ignore unscheduled pods before they're a certain age. The default is
+ // '0s'. Values must be an integer followed by a unit ('s' for seconds, 'm' for minutes, 'h' for hours, etc).
+ NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"`
+
+ // OkTotalUnreadyCount: This must be an integer. The default is 3.
+ OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"`
+
+ // ScaleDownDelayAfterAdd: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"`
+
+ // ScaleDownDelayAfterDelete: The default is the scan-interval. Values must be an integer followed by an 'm'. No unit of
+ // time other than minutes (m) is supported.
+ ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"`
+
+ // ScaleDownDelayAfterFailure: The default is '3m'. Values must be an integer followed by an 'm'. No unit of time other
+ // than minutes (m) is supported.
+ ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"`
+
+ // ScaleDownUnneededTime: The default is '10m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"`
+
+ // ScaleDownUnreadyTime: The default is '20m'. Values must be an integer followed by an 'm'. No unit of time other than
+ // minutes (m) is supported.
+ ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"`
+
+ // ScaleDownUtilizationThreshold: The default is '0.5'.
+ ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"`
+
+ // ScanInterval: The default is '10'. Values must be an integer number of seconds.
+ ScanInterval *string `json:"scan-interval,omitempty"`
+
+ // SkipNodesWithLocalStorage: The default is true.
+ SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"`
+
+ // SkipNodesWithSystemPods: The default is true.
+ SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterProperties_AutoScalerProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterProperties_AutoScalerProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterProperties_AutoScalerProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterProperties_AutoScalerProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "BalanceSimilarNodeGroups":
+ if typedInput.BalanceSimilarNodeGroups != nil {
+ balanceSimilarNodeGroups := *typedInput.BalanceSimilarNodeGroups
+ profile.BalanceSimilarNodeGroups = &balanceSimilarNodeGroups
+ }
+
+ // Set property "DaemonsetEvictionForEmptyNodes":
+ if typedInput.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNodes := *typedInput.DaemonsetEvictionForEmptyNodes
+ profile.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNodes
+ }
+
+ // Set property "DaemonsetEvictionForOccupiedNodes":
+ if typedInput.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNodes := *typedInput.DaemonsetEvictionForOccupiedNodes
+ profile.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNodes
+ }
+
+ // Set property "Expander":
+ if typedInput.Expander != nil {
+ expander := *typedInput.Expander
+ profile.Expander = &expander
+ }
+
+ // Set property "IgnoreDaemonsetsUtilization":
+ if typedInput.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *typedInput.IgnoreDaemonsetsUtilization
+ profile.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ }
+
+ // Set property "MaxEmptyBulkDelete":
+ if typedInput.MaxEmptyBulkDelete != nil {
+ maxEmptyBulkDelete := *typedInput.MaxEmptyBulkDelete
+ profile.MaxEmptyBulkDelete = &maxEmptyBulkDelete
+ }
+
+ // Set property "MaxGracefulTerminationSec":
+ if typedInput.MaxGracefulTerminationSec != nil {
+ maxGracefulTerminationSec := *typedInput.MaxGracefulTerminationSec
+ profile.MaxGracefulTerminationSec = &maxGracefulTerminationSec
+ }
+
+ // Set property "MaxNodeProvisionTime":
+ if typedInput.MaxNodeProvisionTime != nil {
+ maxNodeProvisionTime := *typedInput.MaxNodeProvisionTime
+ profile.MaxNodeProvisionTime = &maxNodeProvisionTime
+ }
+
+ // Set property "MaxTotalUnreadyPercentage":
+ if typedInput.MaxTotalUnreadyPercentage != nil {
+ maxTotalUnreadyPercentage := *typedInput.MaxTotalUnreadyPercentage
+ profile.MaxTotalUnreadyPercentage = &maxTotalUnreadyPercentage
+ }
+
+ // Set property "NewPodScaleUpDelay":
+ if typedInput.NewPodScaleUpDelay != nil {
+ newPodScaleUpDelay := *typedInput.NewPodScaleUpDelay
+ profile.NewPodScaleUpDelay = &newPodScaleUpDelay
+ }
+
+ // Set property "OkTotalUnreadyCount":
+ if typedInput.OkTotalUnreadyCount != nil {
+ okTotalUnreadyCount := *typedInput.OkTotalUnreadyCount
+ profile.OkTotalUnreadyCount = &okTotalUnreadyCount
+ }
+
+ // Set property "ScaleDownDelayAfterAdd":
+ if typedInput.ScaleDownDelayAfterAdd != nil {
+ scaleDownDelayAfterAdd := *typedInput.ScaleDownDelayAfterAdd
+ profile.ScaleDownDelayAfterAdd = &scaleDownDelayAfterAdd
+ }
+
+ // Set property "ScaleDownDelayAfterDelete":
+ if typedInput.ScaleDownDelayAfterDelete != nil {
+ scaleDownDelayAfterDelete := *typedInput.ScaleDownDelayAfterDelete
+ profile.ScaleDownDelayAfterDelete = &scaleDownDelayAfterDelete
+ }
+
+ // Set property "ScaleDownDelayAfterFailure":
+ if typedInput.ScaleDownDelayAfterFailure != nil {
+ scaleDownDelayAfterFailure := *typedInput.ScaleDownDelayAfterFailure
+ profile.ScaleDownDelayAfterFailure = &scaleDownDelayAfterFailure
+ }
+
+ // Set property "ScaleDownUnneededTime":
+ if typedInput.ScaleDownUnneededTime != nil {
+ scaleDownUnneededTime := *typedInput.ScaleDownUnneededTime
+ profile.ScaleDownUnneededTime = &scaleDownUnneededTime
+ }
+
+ // Set property "ScaleDownUnreadyTime":
+ if typedInput.ScaleDownUnreadyTime != nil {
+ scaleDownUnreadyTime := *typedInput.ScaleDownUnreadyTime
+ profile.ScaleDownUnreadyTime = &scaleDownUnreadyTime
+ }
+
+ // Set property "ScaleDownUtilizationThreshold":
+ if typedInput.ScaleDownUtilizationThreshold != nil {
+ scaleDownUtilizationThreshold := *typedInput.ScaleDownUtilizationThreshold
+ profile.ScaleDownUtilizationThreshold = &scaleDownUtilizationThreshold
+ }
+
+ // Set property "ScanInterval":
+ if typedInput.ScanInterval != nil {
+ scanInterval := *typedInput.ScanInterval
+ profile.ScanInterval = &scanInterval
+ }
+
+ // Set property "SkipNodesWithLocalStorage":
+ if typedInput.SkipNodesWithLocalStorage != nil {
+ skipNodesWithLocalStorage := *typedInput.SkipNodesWithLocalStorage
+ profile.SkipNodesWithLocalStorage = &skipNodesWithLocalStorage
+ }
+
+ // Set property "SkipNodesWithSystemPods":
+ if typedInput.SkipNodesWithSystemPods != nil {
+ skipNodesWithSystemPods := *typedInput.SkipNodesWithSystemPods
+ profile.SkipNodesWithSystemPods = &skipNodesWithSystemPods
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+
+ // BalanceSimilarNodeGroups
+ profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if source.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *source.DaemonsetEvictionForEmptyNodes
+ profile.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ profile.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if source.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *source.DaemonsetEvictionForOccupiedNodes
+ profile.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ profile.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ if source.Expander != nil {
+ expander := *source.Expander
+ expanderTemp := genruntime.ToEnum(expander, expander_STATUS_Values)
+ profile.Expander = &expanderTemp
+ } else {
+ profile.Expander = nil
+ }
+
+ // IgnoreDaemonsetsUtilization
+ if source.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *source.IgnoreDaemonsetsUtilization
+ profile.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ profile.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ profile.MaxEmptyBulkDelete = genruntime.ClonePointerToString(source.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ profile.MaxGracefulTerminationSec = genruntime.ClonePointerToString(source.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ profile.MaxNodeProvisionTime = genruntime.ClonePointerToString(source.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ profile.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(source.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ profile.NewPodScaleUpDelay = genruntime.ClonePointerToString(source.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ profile.OkTotalUnreadyCount = genruntime.ClonePointerToString(source.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ profile.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(source.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ profile.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(source.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ profile.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(source.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ profile.ScaleDownUnneededTime = genruntime.ClonePointerToString(source.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ profile.ScaleDownUnreadyTime = genruntime.ClonePointerToString(source.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ profile.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(source.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ profile.ScanInterval = genruntime.ClonePointerToString(source.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ profile.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(source.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ profile.SkipNodesWithSystemPods = genruntime.ClonePointerToString(source.SkipNodesWithSystemPods)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // BalanceSimilarNodeGroups
+ destination.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(profile.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if profile.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *profile.DaemonsetEvictionForEmptyNodes
+ destination.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ destination.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if profile.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *profile.DaemonsetEvictionForOccupiedNodes
+ destination.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ destination.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ if profile.Expander != nil {
+ expander := string(*profile.Expander)
+ destination.Expander = &expander
+ } else {
+ destination.Expander = nil
+ }
+
+ // IgnoreDaemonsetsUtilization
+ if profile.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *profile.IgnoreDaemonsetsUtilization
+ destination.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ destination.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ destination.MaxEmptyBulkDelete = genruntime.ClonePointerToString(profile.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ destination.MaxGracefulTerminationSec = genruntime.ClonePointerToString(profile.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ destination.MaxNodeProvisionTime = genruntime.ClonePointerToString(profile.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ destination.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(profile.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ destination.NewPodScaleUpDelay = genruntime.ClonePointerToString(profile.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ destination.OkTotalUnreadyCount = genruntime.ClonePointerToString(profile.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ destination.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ destination.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ destination.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ destination.ScaleDownUnneededTime = genruntime.ClonePointerToString(profile.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ destination.ScaleDownUnreadyTime = genruntime.ClonePointerToString(profile.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ destination.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(profile.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ destination.ScanInterval = genruntime.ClonePointerToString(profile.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ destination.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(profile.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ destination.SkipNodesWithSystemPods = genruntime.ClonePointerToString(profile.SkipNodesWithSystemPods)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"Disabled","Enabled","SecuredByPerimeter"}
+type ManagedClusterProperties_PublicNetworkAccess string
+
+const (
+ ManagedClusterProperties_PublicNetworkAccess_Disabled = ManagedClusterProperties_PublicNetworkAccess("Disabled")
+ ManagedClusterProperties_PublicNetworkAccess_Enabled = ManagedClusterProperties_PublicNetworkAccess("Enabled")
+ ManagedClusterProperties_PublicNetworkAccess_SecuredByPerimeter = ManagedClusterProperties_PublicNetworkAccess("SecuredByPerimeter")
+)
+
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess
+var managedClusterProperties_PublicNetworkAccess_Values = map[string]ManagedClusterProperties_PublicNetworkAccess{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_Enabled,
+ "securedbyperimeter": ManagedClusterProperties_PublicNetworkAccess_SecuredByPerimeter,
+}
+
+type ManagedClusterProperties_PublicNetworkAccess_STATUS string
+
+const (
+ ManagedClusterProperties_PublicNetworkAccess_STATUS_Disabled = ManagedClusterProperties_PublicNetworkAccess_STATUS("Disabled")
+ ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled = ManagedClusterProperties_PublicNetworkAccess_STATUS("Enabled")
+ ManagedClusterProperties_PublicNetworkAccess_STATUS_SecuredByPerimeter = ManagedClusterProperties_PublicNetworkAccess_STATUS("SecuredByPerimeter")
+)
+
+// Mapping from string to ManagedClusterProperties_PublicNetworkAccess_STATUS
+var managedClusterProperties_PublicNetworkAccess_STATUS_Values = map[string]ManagedClusterProperties_PublicNetworkAccess_STATUS{
+ "disabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Disabled,
+ "enabled": ManagedClusterProperties_PublicNetworkAccess_STATUS_Enabled,
+ "securedbyperimeter": ManagedClusterProperties_PublicNetworkAccess_STATUS_SecuredByPerimeter,
+}
+
+// Security profile for the container service cluster.
+type ManagedClusterSecurityProfile struct {
+ // AzureKeyVaultKms: Azure Key Vault [key management
+ // service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.
+ AzureKeyVaultKms *AzureKeyVaultKms `json:"azureKeyVaultKms,omitempty"`
+
+ // CustomCATrustCertificates: A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the
+ // Custom CA Trust feature enabled. For more information see [Custom CA Trust
+ // Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority)
+ CustomCATrustCertificates ManagedClusterSecurityProfileCustomCATrustCertificates `json:"customCATrustCertificates,omitempty"`
+
+ // Defender: Microsoft Defender settings for the security profile.
+ Defender *ManagedClusterSecurityProfileDefender `json:"defender,omitempty"`
+
+ // ImageCleaner: Image Cleaner settings for the security profile.
+ ImageCleaner *ManagedClusterSecurityProfileImageCleaner `json:"imageCleaner,omitempty"`
+
+ // ImageIntegrity: Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This
+ // will not have any effect unless Azure Policy is applied to enforce image signatures. See
+ // https://aka.ms/aks/image-integrity for how to use this feature via policy.
+ ImageIntegrity *ManagedClusterSecurityProfileImageIntegrity `json:"imageIntegrity,omitempty"`
+
+ // NodeRestriction: [Node
+ // Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings
+ // for the security profile.
+ NodeRestriction *ManagedClusterSecurityProfileNodeRestriction `json:"nodeRestriction,omitempty"`
+
+ // WorkloadIdentity: Workload identity settings for the security profile. Workload identity enables Kubernetes applications
+ // to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.
+ WorkloadIdentity *ManagedClusterSecurityProfileWorkloadIdentity `json:"workloadIdentity,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterSecurityProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfile_ARM{}
+
+ // Set property "AzureKeyVaultKms":
+ if profile.AzureKeyVaultKms != nil {
+ azureKeyVaultKms_ARM, err := (*profile.AzureKeyVaultKms).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ azureKeyVaultKms := *azureKeyVaultKms_ARM.(*AzureKeyVaultKms_ARM)
+ result.AzureKeyVaultKms = &azureKeyVaultKms
+ }
+
+ // Set property "CustomCATrustCertificates":
+ result.CustomCATrustCertificates = profile.CustomCATrustCertificates
+
+ // Set property "Defender":
+ if profile.Defender != nil {
+ defender_ARM, err := (*profile.Defender).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ defender := *defender_ARM.(*ManagedClusterSecurityProfileDefender_ARM)
+ result.Defender = &defender
+ }
+
+ // Set property "ImageCleaner":
+ if profile.ImageCleaner != nil {
+ imageCleaner_ARM, err := (*profile.ImageCleaner).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ imageCleaner := *imageCleaner_ARM.(*ManagedClusterSecurityProfileImageCleaner_ARM)
+ result.ImageCleaner = &imageCleaner
+ }
+
+ // Set property "ImageIntegrity":
+ if profile.ImageIntegrity != nil {
+ imageIntegrity_ARM, err := (*profile.ImageIntegrity).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ imageIntegrity := *imageIntegrity_ARM.(*ManagedClusterSecurityProfileImageIntegrity_ARM)
+ result.ImageIntegrity = &imageIntegrity
+ }
+
+ // Set property "NodeRestriction":
+ if profile.NodeRestriction != nil {
+ nodeRestriction_ARM, err := (*profile.NodeRestriction).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ nodeRestriction := *nodeRestriction_ARM.(*ManagedClusterSecurityProfileNodeRestriction_ARM)
+ result.NodeRestriction = &nodeRestriction
+ }
+
+ // Set property "WorkloadIdentity":
+ if profile.WorkloadIdentity != nil {
+ workloadIdentity_ARM, err := (*profile.WorkloadIdentity).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ workloadIdentity := *workloadIdentity_ARM.(*ManagedClusterSecurityProfileWorkloadIdentity_ARM)
+ result.WorkloadIdentity = &workloadIdentity
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterSecurityProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterSecurityProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AzureKeyVaultKms":
+ if typedInput.AzureKeyVaultKms != nil {
+ var azureKeyVaultKms1 AzureKeyVaultKms
+ err := azureKeyVaultKms1.PopulateFromARM(owner, *typedInput.AzureKeyVaultKms)
+ if err != nil {
+ return err
+ }
+ azureKeyVaultKms := azureKeyVaultKms1
+ profile.AzureKeyVaultKms = &azureKeyVaultKms
+ }
+
+ // Set property "CustomCATrustCertificates":
+ profile.CustomCATrustCertificates = typedInput.CustomCATrustCertificates
+
+ // Set property "Defender":
+ if typedInput.Defender != nil {
+ var defender1 ManagedClusterSecurityProfileDefender
+ err := defender1.PopulateFromARM(owner, *typedInput.Defender)
+ if err != nil {
+ return err
+ }
+ defender := defender1
+ profile.Defender = &defender
+ }
+
+ // Set property "ImageCleaner":
+ if typedInput.ImageCleaner != nil {
+ var imageCleaner1 ManagedClusterSecurityProfileImageCleaner
+ err := imageCleaner1.PopulateFromARM(owner, *typedInput.ImageCleaner)
+ if err != nil {
+ return err
+ }
+ imageCleaner := imageCleaner1
+ profile.ImageCleaner = &imageCleaner
+ }
+
+ // Set property "ImageIntegrity":
+ if typedInput.ImageIntegrity != nil {
+ var imageIntegrity1 ManagedClusterSecurityProfileImageIntegrity
+ err := imageIntegrity1.PopulateFromARM(owner, *typedInput.ImageIntegrity)
+ if err != nil {
+ return err
+ }
+ imageIntegrity := imageIntegrity1
+ profile.ImageIntegrity = &imageIntegrity
+ }
+
+ // Set property "NodeRestriction":
+ if typedInput.NodeRestriction != nil {
+ var nodeRestriction1 ManagedClusterSecurityProfileNodeRestriction
+ err := nodeRestriction1.PopulateFromARM(owner, *typedInput.NodeRestriction)
+ if err != nil {
+ return err
+ }
+ nodeRestriction := nodeRestriction1
+ profile.NodeRestriction = &nodeRestriction
+ }
+
+ // Set property "WorkloadIdentity":
+ if typedInput.WorkloadIdentity != nil {
+ var workloadIdentity1 ManagedClusterSecurityProfileWorkloadIdentity
+ err := workloadIdentity1.PopulateFromARM(owner, *typedInput.WorkloadIdentity)
+ if err != nil {
+ return err
+ }
+ workloadIdentity := workloadIdentity1
+ profile.WorkloadIdentity = &workloadIdentity
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
+
+ // AzureKeyVaultKms
+ if source.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm AzureKeyVaultKms
+ err := azureKeyVaultKm.AssignProperties_From_AzureKeyVaultKms(source.AzureKeyVaultKms)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
+ }
+ profile.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ profile.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ profile.CustomCATrustCertificates = ManagedClusterSecurityProfileCustomCATrustCertificates(genruntime.CloneSliceOfString(source.CustomCATrustCertificates))
+
+ // Defender
+ if source.Defender != nil {
+ var defender ManagedClusterSecurityProfileDefender
+ err := defender.AssignProperties_From_ManagedClusterSecurityProfileDefender(source.Defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefender() to populate field Defender")
+ }
+ profile.Defender = &defender
+ } else {
+ profile.Defender = nil
+ }
+
+ // ImageCleaner
+ if source.ImageCleaner != nil {
+ var imageCleaner ManagedClusterSecurityProfileImageCleaner
+ err := imageCleaner.AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source.ImageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
+ }
+ profile.ImageCleaner = &imageCleaner
+ } else {
+ profile.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if source.ImageIntegrity != nil {
+ var imageIntegrity ManagedClusterSecurityProfileImageIntegrity
+ err := imageIntegrity.AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity(source.ImageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity() to populate field ImageIntegrity")
+ }
+ profile.ImageIntegrity = &imageIntegrity
+ } else {
+ profile.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if source.NodeRestriction != nil {
+ var nodeRestriction ManagedClusterSecurityProfileNodeRestriction
+ err := nodeRestriction.AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source.NodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction() to populate field NodeRestriction")
+ }
+ profile.NodeRestriction = &nodeRestriction
+ } else {
+ profile.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if source.WorkloadIdentity != nil {
+ var workloadIdentity ManagedClusterSecurityProfileWorkloadIdentity
+ err := workloadIdentity.AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source.WorkloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
+ }
+ profile.WorkloadIdentity = &workloadIdentity
+ } else {
+ profile.WorkloadIdentity = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AzureKeyVaultKms
+ if profile.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm storage.AzureKeyVaultKms
+ err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
+ }
+ destination.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ destination.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ destination.CustomCATrustCertificates = genruntime.CloneSliceOfString([]string(profile.CustomCATrustCertificates))
+
+ // Defender
+ if profile.Defender != nil {
+ var defender storage.ManagedClusterSecurityProfileDefender
+ err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
+ }
+ destination.Defender = &defender
+ } else {
+ destination.Defender = nil
+ }
+
+ // ImageCleaner
+ if profile.ImageCleaner != nil {
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
+ err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
+ }
+ destination.ImageCleaner = &imageCleaner
+ } else {
+ destination.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if profile.ImageIntegrity != nil {
+ var imageIntegrity storage.ManagedClusterSecurityProfileImageIntegrity
+ err := profile.ImageIntegrity.AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(&imageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity() to populate field ImageIntegrity")
+ }
+ destination.ImageIntegrity = &imageIntegrity
+ } else {
+ destination.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if profile.NodeRestriction != nil {
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction
+ err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(&nodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction() to populate field NodeRestriction")
+ }
+ destination.NodeRestriction = &nodeRestriction
+ } else {
+ destination.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if profile.WorkloadIdentity != nil {
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
+ err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
+ }
+ destination.WorkloadIdentity = &workloadIdentity
+ } else {
+ destination.WorkloadIdentity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Security profile for the container service cluster.
+type ManagedClusterSecurityProfile_STATUS struct {
+ // AzureKeyVaultKms: Azure Key Vault [key management
+ // service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.
+ AzureKeyVaultKms *AzureKeyVaultKms_STATUS `json:"azureKeyVaultKms,omitempty"`
+
+ // CustomCATrustCertificates: A list of up to 10 base64 encoded CAs that will be added to the trust store on nodes with the
+ // Custom CA Trust feature enabled. For more information see [Custom CA Trust
+ // Certificates](https://learn.microsoft.com/en-us/azure/aks/custom-certificate-authority)
+ CustomCATrustCertificates []string `json:"customCATrustCertificates,omitempty"`
+
+ // Defender: Microsoft Defender settings for the security profile.
+ Defender *ManagedClusterSecurityProfileDefender_STATUS `json:"defender,omitempty"`
+
+ // ImageCleaner: Image Cleaner settings for the security profile.
+ ImageCleaner *ManagedClusterSecurityProfileImageCleaner_STATUS `json:"imageCleaner,omitempty"`
+
+ // ImageIntegrity: Image integrity is a feature that works with Azure Policy to verify image integrity by signature. This
+ // will not have any effect unless Azure Policy is applied to enforce image signatures. See
+ // https://aka.ms/aks/image-integrity for how to use this feature via policy.
+ ImageIntegrity *ManagedClusterSecurityProfileImageIntegrity_STATUS `json:"imageIntegrity,omitempty"`
+
+ // NodeRestriction: [Node
+ // Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) settings
+ // for the security profile.
+ NodeRestriction *ManagedClusterSecurityProfileNodeRestriction_STATUS `json:"nodeRestriction,omitempty"`
+
+ // WorkloadIdentity: Workload identity settings for the security profile. Workload identity enables Kubernetes applications
+ // to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.
+ WorkloadIdentity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS `json:"workloadIdentity,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterSecurityProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterSecurityProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AzureKeyVaultKms":
+ if typedInput.AzureKeyVaultKms != nil {
+ var azureKeyVaultKms1 AzureKeyVaultKms_STATUS
+ err := azureKeyVaultKms1.PopulateFromARM(owner, *typedInput.AzureKeyVaultKms)
+ if err != nil {
+ return err
+ }
+ azureKeyVaultKms := azureKeyVaultKms1
+ profile.AzureKeyVaultKms = &azureKeyVaultKms
+ }
+
+ // Set property "CustomCATrustCertificates":
+ for _, item := range typedInput.CustomCATrustCertificates {
+ profile.CustomCATrustCertificates = append(profile.CustomCATrustCertificates, item)
+ }
+
+ // Set property "Defender":
+ if typedInput.Defender != nil {
+ var defender1 ManagedClusterSecurityProfileDefender_STATUS
+ err := defender1.PopulateFromARM(owner, *typedInput.Defender)
+ if err != nil {
+ return err
+ }
+ defender := defender1
+ profile.Defender = &defender
+ }
+
+ // Set property "ImageCleaner":
+ if typedInput.ImageCleaner != nil {
+ var imageCleaner1 ManagedClusterSecurityProfileImageCleaner_STATUS
+ err := imageCleaner1.PopulateFromARM(owner, *typedInput.ImageCleaner)
+ if err != nil {
+ return err
+ }
+ imageCleaner := imageCleaner1
+ profile.ImageCleaner = &imageCleaner
+ }
+
+ // Set property "ImageIntegrity":
+ if typedInput.ImageIntegrity != nil {
+ var imageIntegrity1 ManagedClusterSecurityProfileImageIntegrity_STATUS
+ err := imageIntegrity1.PopulateFromARM(owner, *typedInput.ImageIntegrity)
+ if err != nil {
+ return err
+ }
+ imageIntegrity := imageIntegrity1
+ profile.ImageIntegrity = &imageIntegrity
+ }
+
+ // Set property "NodeRestriction":
+ if typedInput.NodeRestriction != nil {
+ var nodeRestriction1 ManagedClusterSecurityProfileNodeRestriction_STATUS
+ err := nodeRestriction1.PopulateFromARM(owner, *typedInput.NodeRestriction)
+ if err != nil {
+ return err
+ }
+ nodeRestriction := nodeRestriction1
+ profile.NodeRestriction = &nodeRestriction
+ }
+
+ // Set property "WorkloadIdentity":
+ if typedInput.WorkloadIdentity != nil {
+ var workloadIdentity1 ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ err := workloadIdentity1.PopulateFromARM(owner, *typedInput.WorkloadIdentity)
+ if err != nil {
+ return err
+ }
+ workloadIdentity := workloadIdentity1
+ profile.WorkloadIdentity = &workloadIdentity
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
+
+ // AzureKeyVaultKms
+ if source.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm AzureKeyVaultKms_STATUS
+ err := azureKeyVaultKm.AssignProperties_From_AzureKeyVaultKms_STATUS(source.AzureKeyVaultKms)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
+ }
+ profile.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ profile.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ profile.CustomCATrustCertificates = genruntime.CloneSliceOfString(source.CustomCATrustCertificates)
+
+ // Defender
+ if source.Defender != nil {
+ var defender ManagedClusterSecurityProfileDefender_STATUS
+ err := defender.AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source.Defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
+ }
+ profile.Defender = &defender
+ } else {
+ profile.Defender = nil
+ }
+
+ // ImageCleaner
+ if source.ImageCleaner != nil {
+ var imageCleaner ManagedClusterSecurityProfileImageCleaner_STATUS
+ err := imageCleaner.AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source.ImageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
+ }
+ profile.ImageCleaner = &imageCleaner
+ } else {
+ profile.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if source.ImageIntegrity != nil {
+ var imageIntegrity ManagedClusterSecurityProfileImageIntegrity_STATUS
+ err := imageIntegrity.AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS(source.ImageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS() to populate field ImageIntegrity")
+ }
+ profile.ImageIntegrity = &imageIntegrity
+ } else {
+ profile.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if source.NodeRestriction != nil {
+ var nodeRestriction ManagedClusterSecurityProfileNodeRestriction_STATUS
+ err := nodeRestriction.AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source.NodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS() to populate field NodeRestriction")
+ }
+ profile.NodeRestriction = &nodeRestriction
+ } else {
+ profile.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if source.WorkloadIdentity != nil {
+ var workloadIdentity ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ err := workloadIdentity.AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source.WorkloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
+ }
+ profile.WorkloadIdentity = &workloadIdentity
+ } else {
+ profile.WorkloadIdentity = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AzureKeyVaultKms
+ if profile.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
+ err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
+ }
+ destination.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ destination.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ destination.CustomCATrustCertificates = genruntime.CloneSliceOfString(profile.CustomCATrustCertificates)
+
+ // Defender
+ if profile.Defender != nil {
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
+ err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
+ }
+ destination.Defender = &defender
+ } else {
+ destination.Defender = nil
+ }
+
+ // ImageCleaner
+ if profile.ImageCleaner != nil {
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
+ err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
+ }
+ destination.ImageCleaner = &imageCleaner
+ } else {
+ destination.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if profile.ImageIntegrity != nil {
+ var imageIntegrity storage.ManagedClusterSecurityProfileImageIntegrity_STATUS
+ err := profile.ImageIntegrity.AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(&imageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS() to populate field ImageIntegrity")
+ }
+ destination.ImageIntegrity = &imageIntegrity
+ } else {
+ destination.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if profile.NodeRestriction != nil {
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction_STATUS
+ err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(&nodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS() to populate field NodeRestriction")
+ }
+ destination.NodeRestriction = &nodeRestriction
+ } else {
+ destination.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if profile.WorkloadIdentity != nil {
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
+ }
+ destination.WorkloadIdentity = &workloadIdentity
+ } else {
+ destination.WorkloadIdentity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Information about a service principal identity for the cluster to use for manipulating Azure APIs.
+type ManagedClusterServicePrincipalProfile struct {
+ // +kubebuilder:validation:Required
+ // ClientId: The ID for the service principal.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // Secret: The secret password associated with the service principal in plain text.
+ Secret *genruntime.SecretReference `json:"secret,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterServicePrincipalProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterServicePrincipalProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterServicePrincipalProfile_ARM{}
+
+ // Set property "ClientId":
+ if profile.ClientId != nil {
+ clientId := *profile.ClientId
+ result.ClientId = &clientId
+ }
+
+ // Set property "Secret":
+ if profile.Secret != nil {
+ secretSecret, err := resolved.ResolvedSecrets.Lookup(*profile.Secret)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property Secret")
+ }
+ secret := secretSecret
+ result.Secret = &secret
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterServicePrincipalProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterServicePrincipalProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterServicePrincipalProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterServicePrincipalProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterServicePrincipalProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "ClientId":
+ if typedInput.ClientId != nil {
+ clientId := *typedInput.ClientId
+ profile.ClientId = &clientId
+ }
+
+ // no assignment for property "Secret"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
+
+ // ClientId
+ profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // Secret
+ if source.Secret != nil {
+ secret := source.Secret.Copy()
+ profile.Secret = &secret
+ } else {
+ profile.Secret = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(profile.ClientId)
+
+ // Secret
+ if profile.Secret != nil {
+ secret := profile.Secret.Copy()
+ destination.Secret = &secret
+ } else {
+ destination.Secret = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Information about a service principal identity for the cluster to use for manipulating Azure APIs.
+type ManagedClusterServicePrincipalProfile_STATUS struct {
+ // ClientId: The ID for the service principal.
+ ClientId *string `json:"clientId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterServicePrincipalProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterServicePrincipalProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterServicePrincipalProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterServicePrincipalProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ClientId":
+ if typedInput.ClientId != nil {
+ clientId := *typedInput.ClientId
+ profile.ClientId = &clientId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
+
+ // ClientId
+ profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(profile.ClientId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The SKU of a Managed Cluster.
+type ManagedClusterSKU struct {
+ // Name: The name of a managed cluster SKU.
+ Name *ManagedClusterSKU_Name `json:"name,omitempty"`
+
+ // Tier: If not specified, the default is 'Free'. See [AKS Pricing
+ // Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
+ Tier *ManagedClusterSKU_Tier `json:"tier,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSKU{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (clusterSKU *ManagedClusterSKU) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if clusterSKU == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSKU_ARM{}
+
+ // Set property "Name":
+ if clusterSKU.Name != nil {
+ name := *clusterSKU.Name
+ result.Name = &name
+ }
+
+ // Set property "Tier":
+ if clusterSKU.Tier != nil {
+ tier := *clusterSKU.Tier
+ result.Tier = &tier
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (clusterSKU *ManagedClusterSKU) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSKU_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (clusterSKU *ManagedClusterSKU) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSKU_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSKU_ARM, got %T", armInput)
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ clusterSKU.Name = &name
+ }
+
+ // Set property "Tier":
+ if typedInput.Tier != nil {
+ tier := *typedInput.Tier
+ clusterSKU.Tier = &tier
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
+
+ // Name
+ if source.Name != nil {
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_Values)
+ clusterSKU.Name = &nameTemp
+ } else {
+ clusterSKU.Name = nil
+ }
+
+ // Tier
+ if source.Tier != nil {
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_Values)
+ clusterSKU.Tier = &tierTemp
+ } else {
+ clusterSKU.Tier = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Name
+ if clusterSKU.Name != nil {
+ name := string(*clusterSKU.Name)
+ destination.Name = &name
+ } else {
+ destination.Name = nil
+ }
+
+ // Tier
+ if clusterSKU.Tier != nil {
+ tier := string(*clusterSKU.Tier)
+ destination.Tier = &tier
+ } else {
+ destination.Tier = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The SKU of a Managed Cluster.
+type ManagedClusterSKU_STATUS struct {
+ // Name: The name of a managed cluster SKU.
+ Name *ManagedClusterSKU_Name_STATUS `json:"name,omitempty"`
+
+ // Tier: If not specified, the default is 'Free'. See [AKS Pricing
+ // Tier](https://learn.microsoft.com/azure/aks/free-standard-pricing-tiers) for more details.
+ Tier *ManagedClusterSKU_Tier_STATUS `json:"tier,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSKU_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (clusterSKU *ManagedClusterSKU_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSKU_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (clusterSKU *ManagedClusterSKU_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSKU_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSKU_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ clusterSKU.Name = &name
+ }
+
+ // Set property "Tier":
+ if typedInput.Tier != nil {
+ tier := *typedInput.Tier
+ clusterSKU.Tier = &tier
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
+
+ // Name
+ if source.Name != nil {
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, managedClusterSKU_Name_STATUS_Values)
+ clusterSKU.Name = &nameTemp
+ } else {
+ clusterSKU.Name = nil
+ }
+
+ // Tier
+ if source.Tier != nil {
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, managedClusterSKU_Tier_STATUS_Values)
+ clusterSKU.Tier = &tierTemp
+ } else {
+ clusterSKU.Tier = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Name
+ if clusterSKU.Name != nil {
+ name := string(*clusterSKU.Name)
+ destination.Name = &name
+ } else {
+ destination.Name = nil
+ }
+
+ // Tier
+ if clusterSKU.Tier != nil {
+ tier := string(*clusterSKU.Tier)
+ destination.Tier = &tier
+ } else {
+ destination.Tier = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Storage profile for the container service cluster.
+type ManagedClusterStorageProfile struct {
+ // BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
+ BlobCSIDriver *ManagedClusterStorageProfileBlobCSIDriver `json:"blobCSIDriver,omitempty"`
+
+ // DiskCSIDriver: AzureDisk CSI Driver settings for the storage profile.
+ DiskCSIDriver *ManagedClusterStorageProfileDiskCSIDriver `json:"diskCSIDriver,omitempty"`
+
+ // FileCSIDriver: AzureFile CSI Driver settings for the storage profile.
+ FileCSIDriver *ManagedClusterStorageProfileFileCSIDriver `json:"fileCSIDriver,omitempty"`
+
+ // SnapshotController: Snapshot Controller settings for the storage profile.
+ SnapshotController *ManagedClusterStorageProfileSnapshotController `json:"snapshotController,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterStorageProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterStorageProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterStorageProfile_ARM{}
+
+ // Set property "BlobCSIDriver":
+ if profile.BlobCSIDriver != nil {
+ blobCSIDriver_ARM, err := (*profile.BlobCSIDriver).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ blobCSIDriver := *blobCSIDriver_ARM.(*ManagedClusterStorageProfileBlobCSIDriver_ARM)
+ result.BlobCSIDriver = &blobCSIDriver
+ }
+
+ // Set property "DiskCSIDriver":
+ if profile.DiskCSIDriver != nil {
+ diskCSIDriver_ARM, err := (*profile.DiskCSIDriver).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ diskCSIDriver := *diskCSIDriver_ARM.(*ManagedClusterStorageProfileDiskCSIDriver_ARM)
+ result.DiskCSIDriver = &diskCSIDriver
+ }
+
+ // Set property "FileCSIDriver":
+ if profile.FileCSIDriver != nil {
+ fileCSIDriver_ARM, err := (*profile.FileCSIDriver).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ fileCSIDriver := *fileCSIDriver_ARM.(*ManagedClusterStorageProfileFileCSIDriver_ARM)
+ result.FileCSIDriver = &fileCSIDriver
+ }
+
+ // Set property "SnapshotController":
+ if profile.SnapshotController != nil {
+ snapshotController_ARM, err := (*profile.SnapshotController).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ snapshotController := *snapshotController_ARM.(*ManagedClusterStorageProfileSnapshotController_ARM)
+ result.SnapshotController = &snapshotController
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterStorageProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterStorageProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "BlobCSIDriver":
+ if typedInput.BlobCSIDriver != nil {
+ var blobCSIDriver1 ManagedClusterStorageProfileBlobCSIDriver
+ err := blobCSIDriver1.PopulateFromARM(owner, *typedInput.BlobCSIDriver)
+ if err != nil {
+ return err
+ }
+ blobCSIDriver := blobCSIDriver1
+ profile.BlobCSIDriver = &blobCSIDriver
+ }
+
+ // Set property "DiskCSIDriver":
+ if typedInput.DiskCSIDriver != nil {
+ var diskCSIDriver1 ManagedClusterStorageProfileDiskCSIDriver
+ err := diskCSIDriver1.PopulateFromARM(owner, *typedInput.DiskCSIDriver)
+ if err != nil {
+ return err
+ }
+ diskCSIDriver := diskCSIDriver1
+ profile.DiskCSIDriver = &diskCSIDriver
+ }
+
+ // Set property "FileCSIDriver":
+ if typedInput.FileCSIDriver != nil {
+ var fileCSIDriver1 ManagedClusterStorageProfileFileCSIDriver
+ err := fileCSIDriver1.PopulateFromARM(owner, *typedInput.FileCSIDriver)
+ if err != nil {
+ return err
+ }
+ fileCSIDriver := fileCSIDriver1
+ profile.FileCSIDriver = &fileCSIDriver
+ }
+
+ // Set property "SnapshotController":
+ if typedInput.SnapshotController != nil {
+ var snapshotController1 ManagedClusterStorageProfileSnapshotController
+ err := snapshotController1.PopulateFromARM(owner, *typedInput.SnapshotController)
+ if err != nil {
+ return err
+ }
+ snapshotController := snapshotController1
+ profile.SnapshotController = &snapshotController
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
+
+ // BlobCSIDriver
+ if source.BlobCSIDriver != nil {
+ var blobCSIDriver ManagedClusterStorageProfileBlobCSIDriver
+ err := blobCSIDriver.AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source.BlobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
+ }
+ profile.BlobCSIDriver = &blobCSIDriver
+ } else {
+ profile.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if source.DiskCSIDriver != nil {
+ var diskCSIDriver ManagedClusterStorageProfileDiskCSIDriver
+ err := diskCSIDriver.AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source.DiskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
+ }
+ profile.DiskCSIDriver = &diskCSIDriver
+ } else {
+ profile.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if source.FileCSIDriver != nil {
+ var fileCSIDriver ManagedClusterStorageProfileFileCSIDriver
+ err := fileCSIDriver.AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source.FileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
+ }
+ profile.FileCSIDriver = &fileCSIDriver
+ } else {
+ profile.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if source.SnapshotController != nil {
+ var snapshotController ManagedClusterStorageProfileSnapshotController
+ err := snapshotController.AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source.SnapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
+ }
+ profile.SnapshotController = &snapshotController
+ } else {
+ profile.SnapshotController = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // BlobCSIDriver
+ if profile.BlobCSIDriver != nil {
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
+ err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
+ }
+ destination.BlobCSIDriver = &blobCSIDriver
+ } else {
+ destination.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if profile.DiskCSIDriver != nil {
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
+ err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
+ }
+ destination.DiskCSIDriver = &diskCSIDriver
+ } else {
+ destination.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if profile.FileCSIDriver != nil {
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
+ err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
+ }
+ destination.FileCSIDriver = &fileCSIDriver
+ } else {
+ destination.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if profile.SnapshotController != nil {
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
+ err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
+ }
+ destination.SnapshotController = &snapshotController
+ } else {
+ destination.SnapshotController = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Storage profile for the container service cluster.
+type ManagedClusterStorageProfile_STATUS struct {
+ // BlobCSIDriver: AzureBlob CSI Driver settings for the storage profile.
+ BlobCSIDriver *ManagedClusterStorageProfileBlobCSIDriver_STATUS `json:"blobCSIDriver,omitempty"`
+
+ // DiskCSIDriver: AzureDisk CSI Driver settings for the storage profile.
+ DiskCSIDriver *ManagedClusterStorageProfileDiskCSIDriver_STATUS `json:"diskCSIDriver,omitempty"`
+
+ // FileCSIDriver: AzureFile CSI Driver settings for the storage profile.
+ FileCSIDriver *ManagedClusterStorageProfileFileCSIDriver_STATUS `json:"fileCSIDriver,omitempty"`
+
+ // SnapshotController: Snapshot Controller settings for the storage profile.
+ SnapshotController *ManagedClusterStorageProfileSnapshotController_STATUS `json:"snapshotController,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterStorageProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterStorageProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterStorageProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "BlobCSIDriver":
+ if typedInput.BlobCSIDriver != nil {
+ var blobCSIDriver1 ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ err := blobCSIDriver1.PopulateFromARM(owner, *typedInput.BlobCSIDriver)
+ if err != nil {
+ return err
+ }
+ blobCSIDriver := blobCSIDriver1
+ profile.BlobCSIDriver = &blobCSIDriver
+ }
+
+ // Set property "DiskCSIDriver":
+ if typedInput.DiskCSIDriver != nil {
+ var diskCSIDriver1 ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ err := diskCSIDriver1.PopulateFromARM(owner, *typedInput.DiskCSIDriver)
+ if err != nil {
+ return err
+ }
+ diskCSIDriver := diskCSIDriver1
+ profile.DiskCSIDriver = &diskCSIDriver
+ }
+
+ // Set property "FileCSIDriver":
+ if typedInput.FileCSIDriver != nil {
+ var fileCSIDriver1 ManagedClusterStorageProfileFileCSIDriver_STATUS
+ err := fileCSIDriver1.PopulateFromARM(owner, *typedInput.FileCSIDriver)
+ if err != nil {
+ return err
+ }
+ fileCSIDriver := fileCSIDriver1
+ profile.FileCSIDriver = &fileCSIDriver
+ }
+
+ // Set property "SnapshotController":
+ if typedInput.SnapshotController != nil {
+ var snapshotController1 ManagedClusterStorageProfileSnapshotController_STATUS
+ err := snapshotController1.PopulateFromARM(owner, *typedInput.SnapshotController)
+ if err != nil {
+ return err
+ }
+ snapshotController := snapshotController1
+ profile.SnapshotController = &snapshotController
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
+
+ // BlobCSIDriver
+ if source.BlobCSIDriver != nil {
+ var blobCSIDriver ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ err := blobCSIDriver.AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source.BlobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
+ }
+ profile.BlobCSIDriver = &blobCSIDriver
+ } else {
+ profile.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if source.DiskCSIDriver != nil {
+ var diskCSIDriver ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ err := diskCSIDriver.AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source.DiskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
+ }
+ profile.DiskCSIDriver = &diskCSIDriver
+ } else {
+ profile.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if source.FileCSIDriver != nil {
+ var fileCSIDriver ManagedClusterStorageProfileFileCSIDriver_STATUS
+ err := fileCSIDriver.AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source.FileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
+ }
+ profile.FileCSIDriver = &fileCSIDriver
+ } else {
+ profile.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if source.SnapshotController != nil {
+ var snapshotController ManagedClusterStorageProfileSnapshotController_STATUS
+ err := snapshotController.AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source.SnapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
+ }
+ profile.SnapshotController = &snapshotController
+ } else {
+ profile.SnapshotController = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // BlobCSIDriver
+ if profile.BlobCSIDriver != nil {
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
+ }
+ destination.BlobCSIDriver = &blobCSIDriver
+ } else {
+ destination.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if profile.DiskCSIDriver != nil {
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
+ }
+ destination.DiskCSIDriver = &diskCSIDriver
+ } else {
+ destination.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if profile.FileCSIDriver != nil {
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
+ }
+ destination.FileCSIDriver = &fileCSIDriver
+ } else {
+ destination.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if profile.SnapshotController != nil {
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
+ err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
+ }
+ destination.SnapshotController = &snapshotController
+ } else {
+ destination.SnapshotController = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile for Windows VMs in the managed cluster.
+type ManagedClusterWindowsProfile struct {
+ // AdminPassword: Specifies the password of the administrator account.
+ // Minimum-length: 8 characters
+ // Max-length: 123 characters
+ // Complexity requirements: 3 out of 4 conditions below need to be fulfilled
+ // Has lower characters
+ // Has upper characters
+ // Has a digit
+ // Has a special character (Regex match [\W_])
+ // Disallowed values: "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1",
+ // "Password22", "iloveyou!"
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // AdminUsername: Specifies the name of the administrator account.
+ // Restriction: Cannot end in "."
+ // Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
+ // "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server",
+ // "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
+ // Minimum-length: 1 character
+ // Max-length: 20 characters
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // EnableCSIProxy: For more details on CSI proxy, see the [CSI proxy GitHub
+ // repo](https://github.com/kubernetes-csi/csi-proxy).
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+
+ // GmsaProfile: The Windows gMSA Profile in the Managed Cluster.
+ GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
+
+ // LicenseType: The license type to use for Windows VMs. See [Azure Hybrid User
+ // Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.
+ LicenseType *ManagedClusterWindowsProfile_LicenseType `json:"licenseType,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterWindowsProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterWindowsProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterWindowsProfile_ARM{}
+
+ // Set property "AdminPassword":
+ if profile.AdminPassword != nil {
+ adminPasswordSecret, err := resolved.ResolvedSecrets.Lookup(*profile.AdminPassword)
+ if err != nil {
+ return nil, errors.Wrap(err, "looking up secret for property AdminPassword")
+ }
+ adminPassword := adminPasswordSecret
+ result.AdminPassword = &adminPassword
+ }
+
+ // Set property "AdminUsername":
+ if profile.AdminUsername != nil {
+ adminUsername := *profile.AdminUsername
+ result.AdminUsername = &adminUsername
+ }
+
+ // Set property "EnableCSIProxy":
+ if profile.EnableCSIProxy != nil {
+ enableCSIProxy := *profile.EnableCSIProxy
+ result.EnableCSIProxy = &enableCSIProxy
+ }
+
+ // Set property "GmsaProfile":
+ if profile.GmsaProfile != nil {
+ gmsaProfile_ARM, err := (*profile.GmsaProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ gmsaProfile := *gmsaProfile_ARM.(*WindowsGmsaProfile_ARM)
+ result.GmsaProfile = &gmsaProfile
+ }
+
+ // Set property "LicenseType":
+ if profile.LicenseType != nil {
+ licenseType := *profile.LicenseType
+ result.LicenseType = &licenseType
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterWindowsProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWindowsProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterWindowsProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWindowsProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "AdminPassword"
+
+ // Set property "AdminUsername":
+ if typedInput.AdminUsername != nil {
+ adminUsername := *typedInput.AdminUsername
+ profile.AdminUsername = &adminUsername
+ }
+
+ // Set property "EnableCSIProxy":
+ if typedInput.EnableCSIProxy != nil {
+ enableCSIProxy := *typedInput.EnableCSIProxy
+ profile.EnableCSIProxy = &enableCSIProxy
+ }
+
+ // Set property "GmsaProfile":
+ if typedInput.GmsaProfile != nil {
+ var gmsaProfile1 WindowsGmsaProfile
+ err := gmsaProfile1.PopulateFromARM(owner, *typedInput.GmsaProfile)
+ if err != nil {
+ return err
+ }
+ gmsaProfile := gmsaProfile1
+ profile.GmsaProfile = &gmsaProfile
+ }
+
+ // Set property "LicenseType":
+ if typedInput.LicenseType != nil {
+ licenseType := *typedInput.LicenseType
+ profile.LicenseType = &licenseType
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
+
+ // AdminPassword
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // EnableCSIProxy
+ if source.EnableCSIProxy != nil {
+ enableCSIProxy := *source.EnableCSIProxy
+ profile.EnableCSIProxy = &enableCSIProxy
+ } else {
+ profile.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if source.GmsaProfile != nil {
+ var gmsaProfile WindowsGmsaProfile
+ err := gmsaProfile.AssignProperties_From_WindowsGmsaProfile(source.GmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_WindowsGmsaProfile() to populate field GmsaProfile")
+ }
+ profile.GmsaProfile = &gmsaProfile
+ } else {
+ profile.GmsaProfile = nil
+ }
+
+ // LicenseType
+ if source.LicenseType != nil {
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_Values)
+ profile.LicenseType = &licenseTypeTemp
+ } else {
+ profile.LicenseType = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminPassword
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // EnableCSIProxy
+ if profile.EnableCSIProxy != nil {
+ enableCSIProxy := *profile.EnableCSIProxy
+ destination.EnableCSIProxy = &enableCSIProxy
+ } else {
+ destination.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if profile.GmsaProfile != nil {
+ var gmsaProfile storage.WindowsGmsaProfile
+ err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
+ }
+ destination.GmsaProfile = &gmsaProfile
+ } else {
+ destination.GmsaProfile = nil
+ }
+
+ // LicenseType
+ if profile.LicenseType != nil {
+ licenseType := string(*profile.LicenseType)
+ destination.LicenseType = &licenseType
+ } else {
+ destination.LicenseType = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile for Windows VMs in the managed cluster.
+type ManagedClusterWindowsProfile_STATUS struct {
+ // AdminUsername: Specifies the name of the administrator account.
+ // Restriction: Cannot end in "."
+ // Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123",
+ // "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server",
+ // "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".
+ // Minimum-length: 1 character
+ // Max-length: 20 characters
+ AdminUsername *string `json:"adminUsername,omitempty"`
+
+ // EnableCSIProxy: For more details on CSI proxy, see the [CSI proxy GitHub
+ // repo](https://github.com/kubernetes-csi/csi-proxy).
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+
+ // GmsaProfile: The Windows gMSA Profile in the Managed Cluster.
+ GmsaProfile *WindowsGmsaProfile_STATUS `json:"gmsaProfile,omitempty"`
+
+ // LicenseType: The license type to use for Windows VMs. See [Azure Hybrid User
+ // Benefits](https://azure.microsoft.com/pricing/hybrid-benefit/faq/) for more details.
+ LicenseType *ManagedClusterWindowsProfile_LicenseType_STATUS `json:"licenseType,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterWindowsProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterWindowsProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWindowsProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterWindowsProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWindowsProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWindowsProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AdminUsername":
+ if typedInput.AdminUsername != nil {
+ adminUsername := *typedInput.AdminUsername
+ profile.AdminUsername = &adminUsername
+ }
+
+ // Set property "EnableCSIProxy":
+ if typedInput.EnableCSIProxy != nil {
+ enableCSIProxy := *typedInput.EnableCSIProxy
+ profile.EnableCSIProxy = &enableCSIProxy
+ }
+
+ // Set property "GmsaProfile":
+ if typedInput.GmsaProfile != nil {
+ var gmsaProfile1 WindowsGmsaProfile_STATUS
+ err := gmsaProfile1.PopulateFromARM(owner, *typedInput.GmsaProfile)
+ if err != nil {
+ return err
+ }
+ gmsaProfile := gmsaProfile1
+ profile.GmsaProfile = &gmsaProfile
+ }
+
+ // Set property "LicenseType":
+ if typedInput.LicenseType != nil {
+ licenseType := *typedInput.LicenseType
+ profile.LicenseType = &licenseType
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // EnableCSIProxy
+ if source.EnableCSIProxy != nil {
+ enableCSIProxy := *source.EnableCSIProxy
+ profile.EnableCSIProxy = &enableCSIProxy
+ } else {
+ profile.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if source.GmsaProfile != nil {
+ var gmsaProfile WindowsGmsaProfile_STATUS
+ err := gmsaProfile.AssignProperties_From_WindowsGmsaProfile_STATUS(source.GmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
+ }
+ profile.GmsaProfile = &gmsaProfile
+ } else {
+ profile.GmsaProfile = nil
+ }
+
+ // LicenseType
+ if source.LicenseType != nil {
+ licenseType := *source.LicenseType
+ licenseTypeTemp := genruntime.ToEnum(licenseType, managedClusterWindowsProfile_LicenseType_STATUS_Values)
+ profile.LicenseType = &licenseTypeTemp
+ } else {
+ profile.LicenseType = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // EnableCSIProxy
+ if profile.EnableCSIProxy != nil {
+ enableCSIProxy := *profile.EnableCSIProxy
+ destination.EnableCSIProxy = &enableCSIProxy
+ } else {
+ destination.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if profile.GmsaProfile != nil {
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
+ err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
+ }
+ destination.GmsaProfile = &gmsaProfile
+ } else {
+ destination.GmsaProfile = nil
+ }
+
+ // LicenseType
+ if profile.LicenseType != nil {
+ licenseType := string(*profile.LicenseType)
+ destination.LicenseType = &licenseType
+ } else {
+ destination.LicenseType = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Workload Auto-scaler profile for the managed cluster.
+type ManagedClusterWorkloadAutoScalerProfile struct {
+ // Keda: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+ Keda *ManagedClusterWorkloadAutoScalerProfileKeda `json:"keda,omitempty"`
+ VerticalPodAutoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler `json:"verticalPodAutoscaler,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterWorkloadAutoScalerProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterWorkloadAutoScalerProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterWorkloadAutoScalerProfile_ARM{}
+
+ // Set property "Keda":
+ if profile.Keda != nil {
+ keda_ARM, err := (*profile.Keda).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ keda := *keda_ARM.(*ManagedClusterWorkloadAutoScalerProfileKeda_ARM)
+ result.Keda = &keda
+ }
+
+ // Set property "VerticalPodAutoscaler":
+ if profile.VerticalPodAutoscaler != nil {
+ verticalPodAutoscaler_ARM, err := (*profile.VerticalPodAutoscaler).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ verticalPodAutoscaler := *verticalPodAutoscaler_ARM.(*ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM)
+ result.VerticalPodAutoscaler = &verticalPodAutoscaler
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterWorkloadAutoScalerProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWorkloadAutoScalerProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterWorkloadAutoScalerProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWorkloadAutoScalerProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWorkloadAutoScalerProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Keda":
+ if typedInput.Keda != nil {
+ var keda1 ManagedClusterWorkloadAutoScalerProfileKeda
+ err := keda1.PopulateFromARM(owner, *typedInput.Keda)
+ if err != nil {
+ return err
+ }
+ keda := keda1
+ profile.Keda = &keda
+ }
+
+ // Set property "VerticalPodAutoscaler":
+ if typedInput.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler1 ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ err := verticalPodAutoscaler1.PopulateFromARM(owner, *typedInput.VerticalPodAutoscaler)
+ if err != nil {
+ return err
+ }
+ verticalPodAutoscaler := verticalPodAutoscaler1
+ profile.VerticalPodAutoscaler = &verticalPodAutoscaler
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
+
+ // Keda
+ if source.Keda != nil {
+ var kedum ManagedClusterWorkloadAutoScalerProfileKeda
+ err := kedum.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source.Keda)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
+ }
+ profile.Keda = &kedum
+ } else {
+ profile.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if source.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ err := verticalPodAutoscaler.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source.VerticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
+ }
+ profile.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ profile.VerticalPodAutoscaler = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Keda
+ if profile.Keda != nil {
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
+ err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
+ }
+ destination.Keda = &kedum
+ } else {
+ destination.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if profile.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(&verticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
+ }
+ destination.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ destination.VerticalPodAutoscaler = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Workload Auto-scaler profile for the managed cluster.
+type ManagedClusterWorkloadAutoScalerProfile_STATUS struct {
+ // Keda: KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+ Keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS `json:"keda,omitempty"`
+ VerticalPodAutoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS `json:"verticalPodAutoscaler,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterWorkloadAutoScalerProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Keda":
+ if typedInput.Keda != nil {
+ var keda1 ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ err := keda1.PopulateFromARM(owner, *typedInput.Keda)
+ if err != nil {
+ return err
+ }
+ keda := keda1
+ profile.Keda = &keda
+ }
+
+ // Set property "VerticalPodAutoscaler":
+ if typedInput.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler1 ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ err := verticalPodAutoscaler1.PopulateFromARM(owner, *typedInput.VerticalPodAutoscaler)
+ if err != nil {
+ return err
+ }
+ verticalPodAutoscaler := verticalPodAutoscaler1
+ profile.VerticalPodAutoscaler = &verticalPodAutoscaler
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+
+ // Keda
+ if source.Keda != nil {
+ var kedum ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ err := kedum.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source.Keda)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
+ }
+ profile.Keda = &kedum
+ } else {
+ profile.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if source.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ err := verticalPodAutoscaler.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source.VerticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
+ }
+ profile.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ profile.VerticalPodAutoscaler = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Keda
+ if profile.Keda != nil {
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
+ }
+ destination.Keda = &kedum
+ } else {
+ destination.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if profile.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(&verticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
+ }
+ destination.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ destination.VerticalPodAutoscaler = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Describes the Power State of the cluster
+type PowerState_STATUS struct {
+ // Code: Tells whether the cluster is Running or Stopped
+ Code *PowerState_Code_STATUS `json:"code,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &PowerState_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (state *PowerState_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &PowerState_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (state *PowerState_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(PowerState_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected PowerState_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Code":
+ if typedInput.Code != nil {
+ code := *typedInput.Code
+ state.Code = &code
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
+
+ // Code
+ if source.Code != nil {
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_STATUS_Values)
+ state.Code = &codeTemp
+ } else {
+ state.Code = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Code
+ if state.Code != nil {
+ code := string(*state.Code)
+ destination.Code = &code
+ } else {
+ destination.Code = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// A private link resource
+type PrivateLinkResource struct {
+ // GroupId: The group ID of the resource.
+ GroupId *string `json:"groupId,omitempty"`
+
+ // Name: The name of the private link resource.
+ Name *string `json:"name,omitempty"`
+
+ // Reference: The ID of the private link resource.
+ Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
+
+ // RequiredMembers: The RequiredMembers of the resource
+ RequiredMembers []string `json:"requiredMembers,omitempty"`
+
+ // Type: The resource type.
+ Type *string `json:"type,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &PrivateLinkResource{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (resource *PrivateLinkResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if resource == nil {
+ return nil, nil
+ }
+ result := &PrivateLinkResource_ARM{}
+
+ // Set property "GroupId":
+ if resource.GroupId != nil {
+ groupId := *resource.GroupId
+ result.GroupId = &groupId
+ }
+
+ // Set property "Id":
+ if resource.Reference != nil {
+ referenceARMID, err := resolved.ResolvedReferences.Lookup(*resource.Reference)
+ if err != nil {
+ return nil, err
+ }
+ reference := referenceARMID
+ result.Id = &reference
+ }
+
+ // Set property "Name":
+ if resource.Name != nil {
+ name := *resource.Name
+ result.Name = &name
+ }
+
+ // Set property "RequiredMembers":
+ for _, item := range resource.RequiredMembers {
+ result.RequiredMembers = append(result.RequiredMembers, item)
+ }
+
+ // Set property "Type":
+ if resource.Type != nil {
+ typeVar := *resource.Type
+ result.Type = &typeVar
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (resource *PrivateLinkResource) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &PrivateLinkResource_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (resource *PrivateLinkResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(PrivateLinkResource_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected PrivateLinkResource_ARM, got %T", armInput)
+ }
+
+ // Set property "GroupId":
+ if typedInput.GroupId != nil {
+ groupId := *typedInput.GroupId
+ resource.GroupId = &groupId
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ resource.Name = &name
+ }
+
+ // no assignment for property "Reference"
+
+ // Set property "RequiredMembers":
+ for _, item := range typedInput.RequiredMembers {
+ resource.RequiredMembers = append(resource.RequiredMembers, item)
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ resource.Type = &typeVar
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
+
+ // GroupId
+ resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
+
+ // Name
+ resource.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Reference
+ if source.Reference != nil {
+ reference := source.Reference.Copy()
+ resource.Reference = &reference
+ } else {
+ resource.Reference = nil
+ }
+
+ // RequiredMembers
+ resource.RequiredMembers = genruntime.CloneSliceOfString(source.RequiredMembers)
+
+ // Type
+ resource.Type = genruntime.ClonePointerToString(source.Type)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // GroupId
+ destination.GroupId = genruntime.ClonePointerToString(resource.GroupId)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(resource.Name)
+
+ // Reference
+ if resource.Reference != nil {
+ reference := resource.Reference.Copy()
+ destination.Reference = &reference
+ } else {
+ destination.Reference = nil
+ }
+
+ // RequiredMembers
+ destination.RequiredMembers = genruntime.CloneSliceOfString(resource.RequiredMembers)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(resource.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// A private link resource
+type PrivateLinkResource_STATUS struct {
+ // GroupId: The group ID of the resource.
+ GroupId *string `json:"groupId,omitempty"`
+
+ // Id: The ID of the private link resource.
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the private link resource.
+ Name *string `json:"name,omitempty"`
+
+ // PrivateLinkServiceID: The private link service ID of the resource, this field is exposed only to NRP internally.
+ PrivateLinkServiceID *string `json:"privateLinkServiceID,omitempty"`
+
+ // RequiredMembers: The RequiredMembers of the resource
+ RequiredMembers []string `json:"requiredMembers,omitempty"`
+
+ // Type: The resource type.
+ Type *string `json:"type,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &PrivateLinkResource_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (resource *PrivateLinkResource_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &PrivateLinkResource_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (resource *PrivateLinkResource_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(PrivateLinkResource_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected PrivateLinkResource_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "GroupId":
+ if typedInput.GroupId != nil {
+ groupId := *typedInput.GroupId
+ resource.GroupId = &groupId
+ }
+
+ // Set property "Id":
+ if typedInput.Id != nil {
+ id := *typedInput.Id
+ resource.Id = &id
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ resource.Name = &name
+ }
+
+ // Set property "PrivateLinkServiceID":
+ if typedInput.PrivateLinkServiceID != nil {
+ privateLinkServiceID := *typedInput.PrivateLinkServiceID
+ resource.PrivateLinkServiceID = &privateLinkServiceID
+ }
+
+ // Set property "RequiredMembers":
+ for _, item := range typedInput.RequiredMembers {
+ resource.RequiredMembers = append(resource.RequiredMembers, item)
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ resource.Type = &typeVar
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
+
+ // GroupId
+ resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
+
+ // Id
+ resource.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Name
+ resource.Name = genruntime.ClonePointerToString(source.Name)
+
+ // PrivateLinkServiceID
+ resource.PrivateLinkServiceID = genruntime.ClonePointerToString(source.PrivateLinkServiceID)
+
+ // RequiredMembers
+ resource.RequiredMembers = genruntime.CloneSliceOfString(source.RequiredMembers)
+
+ // Type
+ resource.Type = genruntime.ClonePointerToString(source.Type)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // GroupId
+ destination.GroupId = genruntime.ClonePointerToString(resource.GroupId)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(resource.Id)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(resource.Name)
+
+ // PrivateLinkServiceID
+ destination.PrivateLinkServiceID = genruntime.ClonePointerToString(resource.PrivateLinkServiceID)
+
+ // RequiredMembers
+ destination.RequiredMembers = genruntime.CloneSliceOfString(resource.RequiredMembers)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(resource.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The Safeguards profile.
+type SafeguardsProfile struct {
+ // ExcludedNamespaces: List of namespaces excluded from Safeguards checks
+ ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Level: The Safeguards level to be used. By default, Safeguards is enabled for all namespaces except those that AKS
+ // excludes via systemExcludedNamespaces
+ Level *SafeguardsProfile_Level `json:"level,omitempty"`
+
+ // Version: The version of constraints to use
+ Version *string `json:"version,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &SafeguardsProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *SafeguardsProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &SafeguardsProfile_ARM{}
+
+ // Set property "ExcludedNamespaces":
+ for _, item := range profile.ExcludedNamespaces {
+ result.ExcludedNamespaces = append(result.ExcludedNamespaces, item)
+ }
+
+ // Set property "Level":
+ if profile.Level != nil {
+ level := *profile.Level
+ result.Level = &level
+ }
+
+ // Set property "Version":
+ if profile.Version != nil {
+ version := *profile.Version
+ result.Version = &version
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *SafeguardsProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &SafeguardsProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *SafeguardsProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(SafeguardsProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected SafeguardsProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "ExcludedNamespaces":
+ for _, item := range typedInput.ExcludedNamespaces {
+ profile.ExcludedNamespaces = append(profile.ExcludedNamespaces, item)
+ }
+
+ // Set property "Level":
+ if typedInput.Level != nil {
+ level := *typedInput.Level
+ profile.Level = &level
+ }
+
+ // Set property "Version":
+ if typedInput.Version != nil {
+ version := *typedInput.Version
+ profile.Version = &version
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_SafeguardsProfile populates our SafeguardsProfile from the provided source SafeguardsProfile
+func (profile *SafeguardsProfile) AssignProperties_From_SafeguardsProfile(source *storage.SafeguardsProfile) error {
+
+ // ExcludedNamespaces
+ profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
+
+ // Level
+ if source.Level != nil {
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, safeguardsProfile_Level_Values)
+ profile.Level = &levelTemp
+ } else {
+ profile.Level = nil
+ }
+
+ // Version
+ profile.Version = genruntime.ClonePointerToString(source.Version)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SafeguardsProfile populates the provided destination SafeguardsProfile from our SafeguardsProfile
+func (profile *SafeguardsProfile) AssignProperties_To_SafeguardsProfile(destination *storage.SafeguardsProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ExcludedNamespaces
+ destination.ExcludedNamespaces = genruntime.CloneSliceOfString(profile.ExcludedNamespaces)
+
+ // Level
+ if profile.Level != nil {
+ level := string(*profile.Level)
+ destination.Level = &level
+ } else {
+ destination.Level = nil
+ }
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(profile.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The Safeguards profile.
+type SafeguardsProfile_STATUS struct {
+ // ExcludedNamespaces: List of namespaces excluded from Safeguards checks
+ ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"`
+
+ // Level: The Safeguards level to be used. By default, Safeguards is enabled for all namespaces except those that AKS
+ // excludes via systemExcludedNamespaces
+ Level *SafeguardsProfile_Level_STATUS `json:"level,omitempty"`
+
+ // SystemExcludedNamespaces: List of namespaces specified by AKS to be excluded from Safeguards
+ SystemExcludedNamespaces []string `json:"systemExcludedNamespaces,omitempty"`
+
+ // Version: The version of constraints to use
+ Version *string `json:"version,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &SafeguardsProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *SafeguardsProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &SafeguardsProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *SafeguardsProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(SafeguardsProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected SafeguardsProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ExcludedNamespaces":
+ for _, item := range typedInput.ExcludedNamespaces {
+ profile.ExcludedNamespaces = append(profile.ExcludedNamespaces, item)
+ }
+
+ // Set property "Level":
+ if typedInput.Level != nil {
+ level := *typedInput.Level
+ profile.Level = &level
+ }
+
+ // Set property "SystemExcludedNamespaces":
+ for _, item := range typedInput.SystemExcludedNamespaces {
+ profile.SystemExcludedNamespaces = append(profile.SystemExcludedNamespaces, item)
+ }
+
+ // Set property "Version":
+ if typedInput.Version != nil {
+ version := *typedInput.Version
+ profile.Version = &version
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_SafeguardsProfile_STATUS populates our SafeguardsProfile_STATUS from the provided source SafeguardsProfile_STATUS
+func (profile *SafeguardsProfile_STATUS) AssignProperties_From_SafeguardsProfile_STATUS(source *storage.SafeguardsProfile_STATUS) error {
+
+ // ExcludedNamespaces
+ profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
+
+ // Level
+ if source.Level != nil {
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, safeguardsProfile_Level_STATUS_Values)
+ profile.Level = &levelTemp
+ } else {
+ profile.Level = nil
+ }
+
+ // SystemExcludedNamespaces
+ profile.SystemExcludedNamespaces = genruntime.CloneSliceOfString(source.SystemExcludedNamespaces)
+
+ // Version
+ profile.Version = genruntime.ClonePointerToString(source.Version)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SafeguardsProfile_STATUS populates the provided destination SafeguardsProfile_STATUS from our SafeguardsProfile_STATUS
+func (profile *SafeguardsProfile_STATUS) AssignProperties_To_SafeguardsProfile_STATUS(destination *storage.SafeguardsProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ExcludedNamespaces
+ destination.ExcludedNamespaces = genruntime.CloneSliceOfString(profile.ExcludedNamespaces)
+
+ // Level
+ if profile.Level != nil {
+ level := string(*profile.Level)
+ destination.Level = &level
+ } else {
+ destination.Level = nil
+ }
+
+ // SystemExcludedNamespaces
+ destination.SystemExcludedNamespaces = genruntime.CloneSliceOfString(profile.SystemExcludedNamespaces)
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(profile.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Service mesh profile for a managed cluster.
+type ServiceMeshProfile struct {
+ // Istio: Istio service mesh configuration.
+ Istio *IstioServiceMesh `json:"istio,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Mode: Mode of the service mesh.
+ Mode *ServiceMeshProfile_Mode `json:"mode,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ServiceMeshProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ServiceMeshProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ServiceMeshProfile_ARM{}
+
+ // Set property "Istio":
+ if profile.Istio != nil {
+ istio_ARM, err := (*profile.Istio).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ istio := *istio_ARM.(*IstioServiceMesh_ARM)
+ result.Istio = &istio
+ }
+
+ // Set property "Mode":
+ if profile.Mode != nil {
+ mode := *profile.Mode
+ result.Mode = &mode
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ServiceMeshProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ServiceMeshProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ServiceMeshProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ServiceMeshProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ServiceMeshProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Istio":
+ if typedInput.Istio != nil {
+ var istio1 IstioServiceMesh
+ err := istio1.PopulateFromARM(owner, *typedInput.Istio)
+ if err != nil {
+ return err
+ }
+ istio := istio1
+ profile.Istio = &istio
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ profile.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ServiceMeshProfile populates our ServiceMeshProfile from the provided source ServiceMeshProfile
+func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *storage.ServiceMeshProfile) error {
+
+ // Istio
+ if source.Istio != nil {
+ var istio IstioServiceMesh
+ err := istio.AssignProperties_From_IstioServiceMesh(source.Istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioServiceMesh() to populate field Istio")
+ }
+ profile.Istio = &istio
+ } else {
+ profile.Istio = nil
+ }
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_Values)
+ profile.Mode = &modeTemp
+ } else {
+ profile.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ServiceMeshProfile populates the provided destination ServiceMeshProfile from our ServiceMeshProfile
+func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *storage.ServiceMeshProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Istio
+ if profile.Istio != nil {
+ var istio storage.IstioServiceMesh
+ err := profile.Istio.AssignProperties_To_IstioServiceMesh(&istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh() to populate field Istio")
+ }
+ destination.Istio = &istio
+ } else {
+ destination.Istio = nil
+ }
+
+ // Mode
+ if profile.Mode != nil {
+ mode := string(*profile.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Service mesh profile for a managed cluster.
+type ServiceMeshProfile_STATUS struct {
+ // Istio: Istio service mesh configuration.
+ Istio *IstioServiceMesh_STATUS `json:"istio,omitempty"`
+
+ // Mode: Mode of the service mesh.
+ Mode *ServiceMeshProfile_Mode_STATUS `json:"mode,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ServiceMeshProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ServiceMeshProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ServiceMeshProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ServiceMeshProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ServiceMeshProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ServiceMeshProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Istio":
+ if typedInput.Istio != nil {
+ var istio1 IstioServiceMesh_STATUS
+ err := istio1.PopulateFromARM(owner, *typedInput.Istio)
+ if err != nil {
+ return err
+ }
+ istio := istio1
+ profile.Istio = &istio
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ profile.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ServiceMeshProfile_STATUS populates our ServiceMeshProfile_STATUS from the provided source ServiceMeshProfile_STATUS
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *storage.ServiceMeshProfile_STATUS) error {
+
+ // Istio
+ if source.Istio != nil {
+ var istio IstioServiceMesh_STATUS
+ err := istio.AssignProperties_From_IstioServiceMesh_STATUS(source.Istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioServiceMesh_STATUS() to populate field Istio")
+ }
+ profile.Istio = &istio
+ } else {
+ profile.Istio = nil
+ }
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, serviceMeshProfile_Mode_STATUS_Values)
+ profile.Mode = &modeTemp
+ } else {
+ profile.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ServiceMeshProfile_STATUS populates the provided destination ServiceMeshProfile_STATUS from our ServiceMeshProfile_STATUS
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *storage.ServiceMeshProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Istio
+ if profile.Istio != nil {
+ var istio storage.IstioServiceMesh_STATUS
+ err := profile.Istio.AssignProperties_To_IstioServiceMesh_STATUS(&istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh_STATUS() to populate field Istio")
+ }
+ destination.Istio = &istio
+ } else {
+ destination.Istio = nil
+ }
+
+ // Mode
+ if profile.Mode != nil {
+ mode := string(*profile.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Metadata pertaining to creation and last modification of the resource.
+type SystemData_STATUS struct {
+ // CreatedAt: The timestamp of resource creation (UTC).
+ CreatedAt *string `json:"createdAt,omitempty"`
+
+ // CreatedBy: The identity that created the resource.
+ CreatedBy *string `json:"createdBy,omitempty"`
+
+ // CreatedByType: The type of identity that created the resource.
+ CreatedByType *SystemData_CreatedByType_STATUS `json:"createdByType,omitempty"`
+
+ // LastModifiedAt: The timestamp of resource last modification (UTC)
+ LastModifiedAt *string `json:"lastModifiedAt,omitempty"`
+
+ // LastModifiedBy: The identity that last modified the resource.
+ LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
+
+ // LastModifiedByType: The type of identity that last modified the resource.
+ LastModifiedByType *SystemData_LastModifiedByType_STATUS `json:"lastModifiedByType,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &SystemData_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (data *SystemData_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &SystemData_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(SystemData_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected SystemData_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "CreatedAt":
+ if typedInput.CreatedAt != nil {
+ createdAt := *typedInput.CreatedAt
+ data.CreatedAt = &createdAt
+ }
+
+ // Set property "CreatedBy":
+ if typedInput.CreatedBy != nil {
+ createdBy := *typedInput.CreatedBy
+ data.CreatedBy = &createdBy
+ }
+
+ // Set property "CreatedByType":
+ if typedInput.CreatedByType != nil {
+ createdByType := *typedInput.CreatedByType
+ data.CreatedByType = &createdByType
+ }
+
+ // Set property "LastModifiedAt":
+ if typedInput.LastModifiedAt != nil {
+ lastModifiedAt := *typedInput.LastModifiedAt
+ data.LastModifiedAt = &lastModifiedAt
+ }
+
+ // Set property "LastModifiedBy":
+ if typedInput.LastModifiedBy != nil {
+ lastModifiedBy := *typedInput.LastModifiedBy
+ data.LastModifiedBy = &lastModifiedBy
+ }
+
+ // Set property "LastModifiedByType":
+ if typedInput.LastModifiedByType != nil {
+ lastModifiedByType := *typedInput.LastModifiedByType
+ data.LastModifiedByType = &lastModifiedByType
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
+
+ // CreatedAt
+ data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
+
+ // CreatedBy
+ data.CreatedBy = genruntime.ClonePointerToString(source.CreatedBy)
+
+ // CreatedByType
+ if source.CreatedByType != nil {
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
+ } else {
+ data.CreatedByType = nil
+ }
+
+ // LastModifiedAt
+ data.LastModifiedAt = genruntime.ClonePointerToString(source.LastModifiedAt)
+
+ // LastModifiedBy
+ data.LastModifiedBy = genruntime.ClonePointerToString(source.LastModifiedBy)
+
+ // LastModifiedByType
+ if source.LastModifiedByType != nil {
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
+ } else {
+ data.LastModifiedByType = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CreatedAt
+ destination.CreatedAt = genruntime.ClonePointerToString(data.CreatedAt)
+
+ // CreatedBy
+ destination.CreatedBy = genruntime.ClonePointerToString(data.CreatedBy)
+
+ // CreatedByType
+ if data.CreatedByType != nil {
+ createdByType := string(*data.CreatedByType)
+ destination.CreatedByType = &createdByType
+ } else {
+ destination.CreatedByType = nil
+ }
+
+ // LastModifiedAt
+ destination.LastModifiedAt = genruntime.ClonePointerToString(data.LastModifiedAt)
+
+ // LastModifiedBy
+ destination.LastModifiedBy = genruntime.ClonePointerToString(data.LastModifiedBy)
+
+ // LastModifiedByType
+ if data.LastModifiedByType != nil {
+ lastModifiedByType := string(*data.LastModifiedByType)
+ destination.LastModifiedByType = &lastModifiedByType
+ } else {
+ destination.LastModifiedByType = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Details about a user assigned identity.
+type UserAssignedIdentity struct {
+ // ClientId: The client ID of the user assigned identity.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // ObjectId: The object ID of the user assigned identity.
+ ObjectId *string `json:"objectId,omitempty"`
+
+ // ResourceReference: The resource ID of the user assigned identity.
+ ResourceReference *genruntime.ResourceReference `armReference:"ResourceId" json:"resourceReference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &UserAssignedIdentity{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (identity *UserAssignedIdentity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if identity == nil {
+ return nil, nil
+ }
+ result := &UserAssignedIdentity_ARM{}
+
+ // Set property "ClientId":
+ if identity.ClientId != nil {
+ clientId := *identity.ClientId
+ result.ClientId = &clientId
+ }
+
+ // Set property "ObjectId":
+ if identity.ObjectId != nil {
+ objectId := *identity.ObjectId
+ result.ObjectId = &objectId
+ }
+
+ // Set property "ResourceId":
+ if identity.ResourceReference != nil {
+ resourceReferenceARMID, err := resolved.ResolvedReferences.Lookup(*identity.ResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ resourceReference := resourceReferenceARMID
+ result.ResourceId = &resourceReference
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *UserAssignedIdentity) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &UserAssignedIdentity_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *UserAssignedIdentity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(UserAssignedIdentity_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected UserAssignedIdentity_ARM, got %T", armInput)
+ }
+
+ // Set property "ClientId":
+ if typedInput.ClientId != nil {
+ clientId := *typedInput.ClientId
+ identity.ClientId = &clientId
+ }
+
+ // Set property "ObjectId":
+ if typedInput.ObjectId != nil {
+ objectId := *typedInput.ObjectId
+ identity.ObjectId = &objectId
+ }
+
+ // no assignment for property "ResourceReference"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
+
+ // ClientId
+ identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // ObjectId
+ identity.ObjectId = genruntime.ClonePointerToString(source.ObjectId)
+
+ // ResourceReference
+ if source.ResourceReference != nil {
+ resourceReference := source.ResourceReference.Copy()
+ identity.ResourceReference = &resourceReference
+ } else {
+ identity.ResourceReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(identity.ClientId)
+
+ // ObjectId
+ destination.ObjectId = genruntime.ClonePointerToString(identity.ObjectId)
+
+ // ResourceReference
+ if identity.ResourceReference != nil {
+ resourceReference := identity.ResourceReference.Copy()
+ destination.ResourceReference = &resourceReference
+ } else {
+ destination.ResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Details about a user assigned identity.
+type UserAssignedIdentity_STATUS struct {
+ // ClientId: The client ID of the user assigned identity.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // ObjectId: The object ID of the user assigned identity.
+ ObjectId *string `json:"objectId,omitempty"`
+
+ // ResourceId: The resource ID of the user assigned identity.
+ ResourceId *string `json:"resourceId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &UserAssignedIdentity_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *UserAssignedIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &UserAssignedIdentity_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *UserAssignedIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(UserAssignedIdentity_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected UserAssignedIdentity_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ClientId":
+ if typedInput.ClientId != nil {
+ clientId := *typedInput.ClientId
+ identity.ClientId = &clientId
+ }
+
+ // Set property "ObjectId":
+ if typedInput.ObjectId != nil {
+ objectId := *typedInput.ObjectId
+ identity.ObjectId = &objectId
+ }
+
+ // Set property "ResourceId":
+ if typedInput.ResourceId != nil {
+ resourceId := *typedInput.ResourceId
+ identity.ResourceId = &resourceId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
+
+ // ClientId
+ identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // ObjectId
+ identity.ObjectId = genruntime.ClonePointerToString(source.ObjectId)
+
+ // ResourceId
+ identity.ResourceId = genruntime.ClonePointerToString(source.ResourceId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(identity.ClientId)
+
+ // ObjectId
+ destination.ObjectId = genruntime.ClonePointerToString(identity.ObjectId)
+
+ // ResourceId
+ destination.ResourceId = genruntime.ClonePointerToString(identity.ResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may
+// incur additional costs. For more information see aka.ms/aksadvancednetworking.
+type AdvancedNetworking struct {
+ // Observability: Observability profile to enable advanced network metrics and flow logs with historical contexts.
+ Observability *AdvancedNetworkingObservability `json:"observability,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AdvancedNetworking{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (networking *AdvancedNetworking) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if networking == nil {
+ return nil, nil
+ }
+ result := &AdvancedNetworking_ARM{}
+
+ // Set property "Observability":
+ if networking.Observability != nil {
+ observability_ARM, err := (*networking.Observability).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ observability := *observability_ARM.(*AdvancedNetworkingObservability_ARM)
+ result.Observability = &observability
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (networking *AdvancedNetworking) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AdvancedNetworking_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (networking *AdvancedNetworking) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AdvancedNetworking_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AdvancedNetworking_ARM, got %T", armInput)
+ }
+
+ // Set property "Observability":
+ if typedInput.Observability != nil {
+ var observability1 AdvancedNetworkingObservability
+ err := observability1.PopulateFromARM(owner, *typedInput.Observability)
+ if err != nil {
+ return err
+ }
+ observability := observability1
+ networking.Observability = &observability
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AdvancedNetworking populates our AdvancedNetworking from the provided source AdvancedNetworking
+func (networking *AdvancedNetworking) AssignProperties_From_AdvancedNetworking(source *storage.AdvancedNetworking) error {
+
+ // Observability
+ if source.Observability != nil {
+ var observability AdvancedNetworkingObservability
+ err := observability.AssignProperties_From_AdvancedNetworkingObservability(source.Observability)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AdvancedNetworkingObservability() to populate field Observability")
+ }
+ networking.Observability = &observability
+ } else {
+ networking.Observability = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AdvancedNetworking populates the provided destination AdvancedNetworking from our AdvancedNetworking
+func (networking *AdvancedNetworking) AssignProperties_To_AdvancedNetworking(destination *storage.AdvancedNetworking) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Observability
+ if networking.Observability != nil {
+ var observability storage.AdvancedNetworkingObservability
+ err := networking.Observability.AssignProperties_To_AdvancedNetworkingObservability(&observability)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AdvancedNetworkingObservability() to populate field Observability")
+ }
+ destination.Observability = &observability
+ } else {
+ destination.Observability = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may
+// incur additional costs. For more information see aka.ms/aksadvancednetworking.
+type AdvancedNetworking_STATUS struct {
+ // Observability: Observability profile to enable advanced network metrics and flow logs with historical contexts.
+ Observability *AdvancedNetworkingObservability_STATUS `json:"observability,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AdvancedNetworking_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (networking *AdvancedNetworking_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AdvancedNetworking_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (networking *AdvancedNetworking_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AdvancedNetworking_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AdvancedNetworking_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Observability":
+ if typedInput.Observability != nil {
+ var observability1 AdvancedNetworkingObservability_STATUS
+ err := observability1.PopulateFromARM(owner, *typedInput.Observability)
+ if err != nil {
+ return err
+ }
+ observability := observability1
+ networking.Observability = &observability
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AdvancedNetworking_STATUS populates our AdvancedNetworking_STATUS from the provided source AdvancedNetworking_STATUS
+func (networking *AdvancedNetworking_STATUS) AssignProperties_From_AdvancedNetworking_STATUS(source *storage.AdvancedNetworking_STATUS) error {
+
+ // Observability
+ if source.Observability != nil {
+ var observability AdvancedNetworkingObservability_STATUS
+ err := observability.AssignProperties_From_AdvancedNetworkingObservability_STATUS(source.Observability)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AdvancedNetworkingObservability_STATUS() to populate field Observability")
+ }
+ networking.Observability = &observability
+ } else {
+ networking.Observability = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AdvancedNetworking_STATUS populates the provided destination AdvancedNetworking_STATUS from our AdvancedNetworking_STATUS
+func (networking *AdvancedNetworking_STATUS) AssignProperties_To_AdvancedNetworking_STATUS(destination *storage.AdvancedNetworking_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Observability
+ if networking.Observability != nil {
+ var observability storage.AdvancedNetworkingObservability_STATUS
+ err := networking.Observability.AssignProperties_To_AdvancedNetworkingObservability_STATUS(&observability)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AdvancedNetworkingObservability_STATUS() to populate field Observability")
+ }
+ destination.Observability = &observability
+ } else {
+ destination.Observability = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Azure Key Vault key management service settings for the security profile.
+type AzureKeyVaultKms struct {
+ // Enabled: Whether to enable Azure Key Vault key management service. The default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KeyId: Identifier of Azure Key Vault key. See [key identifier
+ // format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name)
+ // for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key
+ // identifier. When Azure Key Vault key management service is disabled, leave the field empty.
+ KeyId *string `json:"keyId,omitempty"`
+
+ // KeyVaultNetworkAccess: Network access of key vault. The possible values are `Public` and `Private`. `Public` means the
+ // key vault allows public access from all networks. `Private` means the key vault disables public access and enables
+ // private link. The default value is `Public`.
+ KeyVaultNetworkAccess *AzureKeyVaultKms_KeyVaultNetworkAccess `json:"keyVaultNetworkAccess,omitempty"`
+
+ // KeyVaultResourceReference: Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and
+ // must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty.
+ KeyVaultResourceReference *genruntime.ResourceReference `armReference:"KeyVaultResourceId" json:"keyVaultResourceReference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AzureKeyVaultKms{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (vaultKms *AzureKeyVaultKms) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if vaultKms == nil {
+ return nil, nil
+ }
+ result := &AzureKeyVaultKms_ARM{}
+
+ // Set property "Enabled":
+ if vaultKms.Enabled != nil {
+ enabled := *vaultKms.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "KeyId":
+ if vaultKms.KeyId != nil {
+ keyId := *vaultKms.KeyId
+ result.KeyId = &keyId
+ }
+
+ // Set property "KeyVaultNetworkAccess":
+ if vaultKms.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := *vaultKms.KeyVaultNetworkAccess
+ result.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ }
+
+ // Set property "KeyVaultResourceId":
+ if vaultKms.KeyVaultResourceReference != nil {
+ keyVaultResourceReferenceARMID, err := resolved.ResolvedReferences.Lookup(*vaultKms.KeyVaultResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ keyVaultResourceReference := keyVaultResourceReferenceARMID
+ result.KeyVaultResourceId = &keyVaultResourceReference
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (vaultKms *AzureKeyVaultKms) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AzureKeyVaultKms_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (vaultKms *AzureKeyVaultKms) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AzureKeyVaultKms_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AzureKeyVaultKms_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ vaultKms.Enabled = &enabled
+ }
+
+ // Set property "KeyId":
+ if typedInput.KeyId != nil {
+ keyId := *typedInput.KeyId
+ vaultKms.KeyId = &keyId
+ }
+
+ // Set property "KeyVaultNetworkAccess":
+ if typedInput.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := *typedInput.KeyVaultNetworkAccess
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ }
+
+ // no assignment for property "KeyVaultResourceReference"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ vaultKms.Enabled = &enabled
+ } else {
+ vaultKms.Enabled = nil
+ }
+
+ // KeyId
+ vaultKms.KeyId = genruntime.ClonePointerToString(source.KeyId)
+
+ // KeyVaultNetworkAccess
+ if source.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
+ } else {
+ vaultKms.KeyVaultNetworkAccess = nil
+ }
+
+ // KeyVaultResourceReference
+ if source.KeyVaultResourceReference != nil {
+ keyVaultResourceReference := source.KeyVaultResourceReference.Copy()
+ vaultKms.KeyVaultResourceReference = &keyVaultResourceReference
+ } else {
+ vaultKms.KeyVaultResourceReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if vaultKms.Enabled != nil {
+ enabled := *vaultKms.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KeyId
+ destination.KeyId = genruntime.ClonePointerToString(vaultKms.KeyId)
+
+ // KeyVaultNetworkAccess
+ if vaultKms.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := string(*vaultKms.KeyVaultNetworkAccess)
+ destination.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ } else {
+ destination.KeyVaultNetworkAccess = nil
+ }
+
+ // KeyVaultResourceReference
+ if vaultKms.KeyVaultResourceReference != nil {
+ keyVaultResourceReference := vaultKms.KeyVaultResourceReference.Copy()
+ destination.KeyVaultResourceReference = &keyVaultResourceReference
+ } else {
+ destination.KeyVaultResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Azure Key Vault key management service settings for the security profile.
+type AzureKeyVaultKms_STATUS struct {
+ // Enabled: Whether to enable Azure Key Vault key management service. The default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KeyId: Identifier of Azure Key Vault key. See [key identifier
+ // format](https://docs.microsoft.com/en-us/azure/key-vault/general/about-keys-secrets-certificates#vault-name-and-object-name)
+ // for more details. When Azure Key Vault key management service is enabled, this field is required and must be a valid key
+ // identifier. When Azure Key Vault key management service is disabled, leave the field empty.
+ KeyId *string `json:"keyId,omitempty"`
+
+ // KeyVaultNetworkAccess: Network access of key vault. The possible values are `Public` and `Private`. `Public` means the
+ // key vault allows public access from all networks. `Private` means the key vault disables public access and enables
+ // private link. The default value is `Public`.
+ KeyVaultNetworkAccess *AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS `json:"keyVaultNetworkAccess,omitempty"`
+
+ // KeyVaultResourceId: Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and must
+ // be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty.
+ KeyVaultResourceId *string `json:"keyVaultResourceId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AzureKeyVaultKms_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (vaultKms *AzureKeyVaultKms_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AzureKeyVaultKms_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (vaultKms *AzureKeyVaultKms_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AzureKeyVaultKms_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AzureKeyVaultKms_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ vaultKms.Enabled = &enabled
+ }
+
+ // Set property "KeyId":
+ if typedInput.KeyId != nil {
+ keyId := *typedInput.KeyId
+ vaultKms.KeyId = &keyId
+ }
+
+ // Set property "KeyVaultNetworkAccess":
+ if typedInput.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := *typedInput.KeyVaultNetworkAccess
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ }
+
+ // Set property "KeyVaultResourceId":
+ if typedInput.KeyVaultResourceId != nil {
+ keyVaultResourceId := *typedInput.KeyVaultResourceId
+ vaultKms.KeyVaultResourceId = &keyVaultResourceId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ vaultKms.Enabled = &enabled
+ } else {
+ vaultKms.Enabled = nil
+ }
+
+ // KeyId
+ vaultKms.KeyId = genruntime.ClonePointerToString(source.KeyId)
+
+ // KeyVaultNetworkAccess
+ if source.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := *source.KeyVaultNetworkAccess
+ keyVaultNetworkAccessTemp := genruntime.ToEnum(keyVaultNetworkAccess, azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values)
+ vaultKms.KeyVaultNetworkAccess = &keyVaultNetworkAccessTemp
+ } else {
+ vaultKms.KeyVaultNetworkAccess = nil
+ }
+
+ // KeyVaultResourceId
+ vaultKms.KeyVaultResourceId = genruntime.ClonePointerToString(source.KeyVaultResourceId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if vaultKms.Enabled != nil {
+ enabled := *vaultKms.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KeyId
+ destination.KeyId = genruntime.ClonePointerToString(vaultKms.KeyId)
+
+ // KeyVaultNetworkAccess
+ if vaultKms.KeyVaultNetworkAccess != nil {
+ keyVaultNetworkAccess := string(*vaultKms.KeyVaultNetworkAccess)
+ destination.KeyVaultNetworkAccess = &keyVaultNetworkAccess
+ } else {
+ destination.KeyVaultNetworkAccess = nil
+ }
+
+ // KeyVaultResourceId
+ destination.KeyVaultResourceId = genruntime.ClonePointerToString(vaultKms.KeyVaultResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig struct {
+ // Enabled: Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by
+ // default without these customizations).
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IpvsConfig: Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'.
+ IpvsConfig *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig `json:"ipvsConfig,omitempty"`
+
+ // Mode: Specify which proxy mode to use ('IPTABLES' or 'IPVS')
+ Mode *ContainerServiceNetworkProfile_KubeProxyConfig_Mode `json:"mode,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ContainerServiceNetworkProfile_KubeProxyConfig{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if config == nil {
+ return nil, nil
+ }
+ result := &ContainerServiceNetworkProfile_KubeProxyConfig_ARM{}
+
+ // Set property "Enabled":
+ if config.Enabled != nil {
+ enabled := *config.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "IpvsConfig":
+ if config.IpvsConfig != nil {
+ ipvsConfig_ARM, err := (*config.IpvsConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ ipvsConfig := *ipvsConfig_ARM.(*ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM)
+ result.IpvsConfig = &ipvsConfig
+ }
+
+ // Set property "Mode":
+ if config.Mode != nil {
+ mode := *config.Mode
+ result.Mode = &mode
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceNetworkProfile_KubeProxyConfig_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceNetworkProfile_KubeProxyConfig_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceNetworkProfile_KubeProxyConfig_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ config.Enabled = &enabled
+ }
+
+ // Set property "IpvsConfig":
+ if typedInput.IpvsConfig != nil {
+ var ipvsConfig1 ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ err := ipvsConfig1.PopulateFromARM(owner, *typedInput.IpvsConfig)
+ if err != nil {
+ return err
+ }
+ ipvsConfig := ipvsConfig1
+ config.IpvsConfig = &ipvsConfig
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ config.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ config.Enabled = &enabled
+ } else {
+ config.Enabled = nil
+ }
+
+ // IpvsConfig
+ if source.IpvsConfig != nil {
+ var ipvsConfig ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ err := ipvsConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source.IpvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig() to populate field IpvsConfig")
+ }
+ config.IpvsConfig = &ipvsConfig
+ } else {
+ config.IpvsConfig = nil
+ }
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, containerServiceNetworkProfile_KubeProxyConfig_Mode_Values)
+ config.Mode = &modeTemp
+ } else {
+ config.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig from our ContainerServiceNetworkProfile_KubeProxyConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if config.Enabled != nil {
+ enabled := *config.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IpvsConfig
+ if config.IpvsConfig != nil {
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(&ipvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig() to populate field IpvsConfig")
+ }
+ destination.IpvsConfig = &ipvsConfig
+ } else {
+ destination.IpvsConfig = nil
+ }
+
+ // Mode
+ if config.Mode != nil {
+ mode := string(*config.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_STATUS struct {
+ // Enabled: Whether to enable on kube-proxy on the cluster (if no 'kubeProxyConfig' exists, kube-proxy is enabled in AKS by
+ // default without these customizations).
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IpvsConfig: Holds configuration customizations for IPVS. May only be specified if 'mode' is set to 'IPVS'.
+ IpvsConfig *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS `json:"ipvsConfig,omitempty"`
+
+ // Mode: Specify which proxy mode to use ('IPTABLES' or 'IPVS')
+ Mode *ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS `json:"mode,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ContainerServiceNetworkProfile_KubeProxyConfig_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ config.Enabled = &enabled
+ }
+
+ // Set property "IpvsConfig":
+ if typedInput.IpvsConfig != nil {
+ var ipvsConfig1 ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ err := ipvsConfig1.PopulateFromARM(owner, *typedInput.IpvsConfig)
+ if err != nil {
+ return err
+ }
+ ipvsConfig := ipvsConfig1
+ config.IpvsConfig = &ipvsConfig
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ config.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ config.Enabled = &enabled
+ } else {
+ config.Enabled = nil
+ }
+
+ // IpvsConfig
+ if source.IpvsConfig != nil {
+ var ipvsConfig ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ err := ipvsConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source.IpvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS() to populate field IpvsConfig")
+ }
+ config.IpvsConfig = &ipvsConfig
+ } else {
+ config.IpvsConfig = nil
+ }
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, containerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_Values)
+ config.Mode = &modeTemp
+ } else {
+ config.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if config.Enabled != nil {
+ enabled := *config.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IpvsConfig
+ if config.IpvsConfig != nil {
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(&ipvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS() to populate field IpvsConfig")
+ }
+ destination.IpvsConfig = &ipvsConfig
+ } else {
+ destination.IpvsConfig = nil
+ }
+
+ // Mode
+ if config.Mode != nil {
+ mode := string(*config.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"loadBalancer","managedNATGateway","none","userAssignedNATGateway","userDefinedRouting"}
+type ContainerServiceNetworkProfile_OutboundType string
+
+const (
+ ContainerServiceNetworkProfile_OutboundType_LoadBalancer = ContainerServiceNetworkProfile_OutboundType("loadBalancer")
+ ContainerServiceNetworkProfile_OutboundType_ManagedNATGateway = ContainerServiceNetworkProfile_OutboundType("managedNATGateway")
+ ContainerServiceNetworkProfile_OutboundType_None = ContainerServiceNetworkProfile_OutboundType("none")
+ ContainerServiceNetworkProfile_OutboundType_UserAssignedNATGateway = ContainerServiceNetworkProfile_OutboundType("userAssignedNATGateway")
+ ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType("userDefinedRouting")
+)
+
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType
+var containerServiceNetworkProfile_OutboundType_Values = map[string]ContainerServiceNetworkProfile_OutboundType{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_ManagedNATGateway,
+ "none": ContainerServiceNetworkProfile_OutboundType_None,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_UserDefinedRouting,
+}
+
+type ContainerServiceNetworkProfile_OutboundType_STATUS string
+
+const (
+ ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer = ContainerServiceNetworkProfile_OutboundType_STATUS("loadBalancer")
+ ContainerServiceNetworkProfile_OutboundType_STATUS_ManagedNATGateway = ContainerServiceNetworkProfile_OutboundType_STATUS("managedNATGateway")
+ ContainerServiceNetworkProfile_OutboundType_STATUS_None = ContainerServiceNetworkProfile_OutboundType_STATUS("none")
+ ContainerServiceNetworkProfile_OutboundType_STATUS_UserAssignedNATGateway = ContainerServiceNetworkProfile_OutboundType_STATUS("userAssignedNATGateway")
+ ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting = ContainerServiceNetworkProfile_OutboundType_STATUS("userDefinedRouting")
+)
+
+// Mapping from string to ContainerServiceNetworkProfile_OutboundType_STATUS
+var containerServiceNetworkProfile_OutboundType_STATUS_Values = map[string]ContainerServiceNetworkProfile_OutboundType_STATUS{
+ "loadbalancer": ContainerServiceNetworkProfile_OutboundType_STATUS_LoadBalancer,
+ "managednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_ManagedNATGateway,
+ "none": ContainerServiceNetworkProfile_OutboundType_STATUS_None,
+ "userassignednatgateway": ContainerServiceNetworkProfile_OutboundType_STATUS_UserAssignedNATGateway,
+ "userdefinedrouting": ContainerServiceNetworkProfile_OutboundType_STATUS_UserDefinedRouting,
+}
+
+// SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSshConfiguration struct {
+ // +kubebuilder:validation:Required
+ // PublicKeys: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
+ PublicKeys []ContainerServiceSshPublicKey `json:"publicKeys,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ContainerServiceSshConfiguration{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (configuration *ContainerServiceSshConfiguration) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if configuration == nil {
+ return nil, nil
+ }
+ result := &ContainerServiceSshConfiguration_ARM{}
+
+ // Set property "PublicKeys":
+ for _, item := range configuration.PublicKeys {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.PublicKeys = append(result.PublicKeys, *item_ARM.(*ContainerServiceSshPublicKey_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (configuration *ContainerServiceSshConfiguration) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceSshConfiguration_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (configuration *ContainerServiceSshConfiguration) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceSshConfiguration_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceSshConfiguration_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicKeys":
+ for _, item := range typedInput.PublicKeys {
+ var item1 ContainerServiceSshPublicKey
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ configuration.PublicKeys = append(configuration.PublicKeys, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
+
+ // PublicKeys
+ if source.PublicKeys != nil {
+ publicKeyList := make([]ContainerServiceSshPublicKey, len(source.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range source.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey ContainerServiceSshPublicKey
+ err := publicKey.AssignProperties_From_ContainerServiceSshPublicKey(&publicKeyItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshPublicKey() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ configuration.PublicKeys = publicKeyList
+ } else {
+ configuration.PublicKeys = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicKeys
+ if configuration.PublicKeys != nil {
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey storage.ContainerServiceSshPublicKey
+ err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ destination.PublicKeys = publicKeyList
+ } else {
+ destination.PublicKeys = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSshConfiguration_STATUS struct {
+ // PublicKeys: The list of SSH public keys used to authenticate with Linux-based VMs. A maximum of 1 key may be specified.
+ PublicKeys []ContainerServiceSshPublicKey_STATUS `json:"publicKeys,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ContainerServiceSshConfiguration_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (configuration *ContainerServiceSshConfiguration_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceSshConfiguration_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (configuration *ContainerServiceSshConfiguration_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceSshConfiguration_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceSshConfiguration_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicKeys":
+ for _, item := range typedInput.PublicKeys {
+ var item1 ContainerServiceSshPublicKey_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ configuration.PublicKeys = append(configuration.PublicKeys, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
+
+ // PublicKeys
+ if source.PublicKeys != nil {
+ publicKeyList := make([]ContainerServiceSshPublicKey_STATUS, len(source.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range source.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey ContainerServiceSshPublicKey_STATUS
+ err := publicKey.AssignProperties_From_ContainerServiceSshPublicKey_STATUS(&publicKeyItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ configuration.PublicKeys = publicKeyList
+ } else {
+ configuration.PublicKeys = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicKeys
+ if configuration.PublicKeys != nil {
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
+ err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ destination.PublicKeys = publicKeyList
+ } else {
+ destination.PublicKeys = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Delegated resource properties - internal use only.
+type DelegatedResource struct {
+ // Location: The source resource location - internal use only.
+ Location *string `json:"location,omitempty"`
+
+ // ReferralResource: The delegation id of the referral delegation (optional) - internal use only.
+ ReferralResource *string `json:"referralResource,omitempty"`
+
+ // ResourceReference: The ARM resource id of the delegated resource - internal use only.
+ ResourceReference *genruntime.ResourceReference `armReference:"ResourceId" json:"resourceReference,omitempty"`
+
+ // +kubebuilder:validation:Pattern="^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
+ // TenantId: The tenant id of the delegated resource - internal use only.
+ TenantId *string `json:"tenantId,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &DelegatedResource{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (resource *DelegatedResource) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if resource == nil {
+ return nil, nil
+ }
+ result := &DelegatedResource_ARM{}
+
+ // Set property "Location":
+ if resource.Location != nil {
+ location := *resource.Location
+ result.Location = &location
+ }
+
+ // Set property "ReferralResource":
+ if resource.ReferralResource != nil {
+ referralResource := *resource.ReferralResource
+ result.ReferralResource = &referralResource
+ }
+
+ // Set property "ResourceId":
+ if resource.ResourceReference != nil {
+ resourceReferenceARMID, err := resolved.ResolvedReferences.Lookup(*resource.ResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ resourceReference := resourceReferenceARMID
+ result.ResourceId = &resourceReference
+ }
+
+ // Set property "TenantId":
+ if resource.TenantId != nil {
+ tenantId := *resource.TenantId
+ result.TenantId = &tenantId
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (resource *DelegatedResource) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &DelegatedResource_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (resource *DelegatedResource) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(DelegatedResource_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected DelegatedResource_ARM, got %T", armInput)
+ }
+
+ // Set property "Location":
+ if typedInput.Location != nil {
+ location := *typedInput.Location
+ resource.Location = &location
+ }
+
+ // Set property "ReferralResource":
+ if typedInput.ReferralResource != nil {
+ referralResource := *typedInput.ReferralResource
+ resource.ReferralResource = &referralResource
+ }
+
+ // no assignment for property "ResourceReference"
+
+ // Set property "TenantId":
+ if typedInput.TenantId != nil {
+ tenantId := *typedInput.TenantId
+ resource.TenantId = &tenantId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_DelegatedResource populates our DelegatedResource from the provided source DelegatedResource
+func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(source *storage.DelegatedResource) error {
+
+ // Location
+ resource.Location = genruntime.ClonePointerToString(source.Location)
+
+ // ReferralResource
+ resource.ReferralResource = genruntime.ClonePointerToString(source.ReferralResource)
+
+ // ResourceReference
+ if source.ResourceReference != nil {
+ resourceReference := source.ResourceReference.Copy()
+ resource.ResourceReference = &resourceReference
+ } else {
+ resource.ResourceReference = nil
+ }
+
+ // TenantId
+ if source.TenantId != nil {
+ tenantId := *source.TenantId
+ resource.TenantId = &tenantId
+ } else {
+ resource.TenantId = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_DelegatedResource populates the provided destination DelegatedResource from our DelegatedResource
+func (resource *DelegatedResource) AssignProperties_To_DelegatedResource(destination *storage.DelegatedResource) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(resource.Location)
+
+ // ReferralResource
+ destination.ReferralResource = genruntime.ClonePointerToString(resource.ReferralResource)
+
+ // ResourceReference
+ if resource.ResourceReference != nil {
+ resourceReference := resource.ResourceReference.Copy()
+ destination.ResourceReference = &resourceReference
+ } else {
+ destination.ResourceReference = nil
+ }
+
+ // TenantId
+ if resource.TenantId != nil {
+ tenantId := *resource.TenantId
+ destination.TenantId = &tenantId
+ } else {
+ destination.TenantId = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Delegated resource properties - internal use only.
+type DelegatedResource_STATUS struct {
+ // Location: The source resource location - internal use only.
+ Location *string `json:"location,omitempty"`
+
+ // ReferralResource: The delegation id of the referral delegation (optional) - internal use only.
+ ReferralResource *string `json:"referralResource,omitempty"`
+
+ // ResourceId: The ARM resource id of the delegated resource - internal use only.
+ ResourceId *string `json:"resourceId,omitempty"`
+
+ // TenantId: The tenant id of the delegated resource - internal use only.
+ TenantId *string `json:"tenantId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &DelegatedResource_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (resource *DelegatedResource_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &DelegatedResource_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (resource *DelegatedResource_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(DelegatedResource_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected DelegatedResource_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Location":
+ if typedInput.Location != nil {
+ location := *typedInput.Location
+ resource.Location = &location
+ }
+
+ // Set property "ReferralResource":
+ if typedInput.ReferralResource != nil {
+ referralResource := *typedInput.ReferralResource
+ resource.ReferralResource = &referralResource
+ }
+
+ // Set property "ResourceId":
+ if typedInput.ResourceId != nil {
+ resourceId := *typedInput.ResourceId
+ resource.ResourceId = &resourceId
+ }
+
+ // Set property "TenantId":
+ if typedInput.TenantId != nil {
+ tenantId := *typedInput.TenantId
+ resource.TenantId = &tenantId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_DelegatedResource_STATUS populates our DelegatedResource_STATUS from the provided source DelegatedResource_STATUS
+func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResource_STATUS(source *storage.DelegatedResource_STATUS) error {
+
+ // Location
+ resource.Location = genruntime.ClonePointerToString(source.Location)
+
+ // ReferralResource
+ resource.ReferralResource = genruntime.ClonePointerToString(source.ReferralResource)
+
+ // ResourceId
+ resource.ResourceId = genruntime.ClonePointerToString(source.ResourceId)
+
+ // TenantId
+ resource.TenantId = genruntime.ClonePointerToString(source.TenantId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_DelegatedResource_STATUS populates the provided destination DelegatedResource_STATUS from our DelegatedResource_STATUS
+func (resource *DelegatedResource_STATUS) AssignProperties_To_DelegatedResource_STATUS(destination *storage.DelegatedResource_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(resource.Location)
+
+ // ReferralResource
+ destination.ReferralResource = genruntime.ClonePointerToString(resource.ReferralResource)
+
+ // ResourceId
+ destination.ResourceId = genruntime.ClonePointerToString(resource.ResourceId)
+
+ // TenantId
+ destination.TenantId = genruntime.ClonePointerToString(resource.TenantId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// If not specified, the default is 'random'. See
+// [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more
+// information.
+// +kubebuilder:validation:Enum={"least-waste","most-pods","priority","random"}
+type Expander string
+
+const (
+ Expander_LeastWaste = Expander("least-waste")
+ Expander_MostPods = Expander("most-pods")
+ Expander_Priority = Expander("priority")
+ Expander_Random = Expander("random")
+)
+
+// Mapping from string to Expander
+var expander_Values = map[string]Expander{
+ "least-waste": Expander_LeastWaste,
+ "most-pods": Expander_MostPods,
+ "priority": Expander_Priority,
+ "random": Expander_Random,
+}
+
+// If not specified, the default is 'random'. See
+// [expanders](https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#what-are-expanders) for more
+// information.
+type Expander_STATUS string
+
+const (
+ Expander_STATUS_LeastWaste = Expander_STATUS("least-waste")
+ Expander_STATUS_MostPods = Expander_STATUS("most-pods")
+ Expander_STATUS_Priority = Expander_STATUS("priority")
+ Expander_STATUS_Random = Expander_STATUS("random")
+)
+
+// Mapping from string to Expander_STATUS
+var expander_STATUS_Values = map[string]Expander_STATUS{
+ "least-waste": Expander_STATUS_LeastWaste,
+ "most-pods": Expander_STATUS_MostPods,
+ "priority": Expander_STATUS_Priority,
+ "random": Expander_STATUS_Random,
+}
+
+// To determine if address belongs IPv4 or IPv6 family.
+// +kubebuilder:validation:Enum={"IPv4","IPv6"}
+type IpFamily string
+
+const (
+ IpFamily_IPv4 = IpFamily("IPv4")
+ IpFamily_IPv6 = IpFamily("IPv6")
+)
+
+// Mapping from string to IpFamily
+var ipFamily_Values = map[string]IpFamily{
+ "ipv4": IpFamily_IPv4,
+ "ipv6": IpFamily_IPv6,
+}
+
+// To determine if address belongs IPv4 or IPv6 family.
+type IpFamily_STATUS string
+
+const (
+ IpFamily_STATUS_IPv4 = IpFamily_STATUS("IPv4")
+ IpFamily_STATUS_IPv6 = IpFamily_STATUS("IPv6")
+)
+
+// Mapping from string to IpFamily_STATUS
+var ipFamily_STATUS_Values = map[string]IpFamily_STATUS{
+ "ipv4": IpFamily_STATUS_IPv4,
+ "ipv6": IpFamily_STATUS_IPv6,
+}
+
+// Istio service mesh configuration.
+type IstioServiceMesh struct {
+ // CertificateAuthority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin
+ // certificates as described here https://aka.ms/asm-plugin-ca
+ CertificateAuthority *IstioCertificateAuthority `json:"certificateAuthority,omitempty"`
+
+ // Components: Istio components configuration.
+ Components *IstioComponents `json:"components,omitempty"`
+
+ // +kubebuilder:validation:MaxItems=2
+ // Revisions: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value.
+ // When canary upgrade is in progress, this can only hold two consecutive values. For more information, see:
+ // https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
+ Revisions []string `json:"revisions,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IstioServiceMesh{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (mesh *IstioServiceMesh) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if mesh == nil {
+ return nil, nil
+ }
+ result := &IstioServiceMesh_ARM{}
+
+ // Set property "CertificateAuthority":
+ if mesh.CertificateAuthority != nil {
+ certificateAuthority_ARM, err := (*mesh.CertificateAuthority).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ certificateAuthority := *certificateAuthority_ARM.(*IstioCertificateAuthority_ARM)
+ result.CertificateAuthority = &certificateAuthority
+ }
+
+ // Set property "Components":
+ if mesh.Components != nil {
+ components_ARM, err := (*mesh.Components).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ components := *components_ARM.(*IstioComponents_ARM)
+ result.Components = &components
+ }
+
+ // Set property "Revisions":
+ for _, item := range mesh.Revisions {
+ result.Revisions = append(result.Revisions, item)
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (mesh *IstioServiceMesh) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioServiceMesh_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (mesh *IstioServiceMesh) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioServiceMesh_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioServiceMesh_ARM, got %T", armInput)
+ }
+
+ // Set property "CertificateAuthority":
+ if typedInput.CertificateAuthority != nil {
+ var certificateAuthority1 IstioCertificateAuthority
+ err := certificateAuthority1.PopulateFromARM(owner, *typedInput.CertificateAuthority)
+ if err != nil {
+ return err
+ }
+ certificateAuthority := certificateAuthority1
+ mesh.CertificateAuthority = &certificateAuthority
+ }
+
+ // Set property "Components":
+ if typedInput.Components != nil {
+ var components1 IstioComponents
+ err := components1.PopulateFromARM(owner, *typedInput.Components)
+ if err != nil {
+ return err
+ }
+ components := components1
+ mesh.Components = &components
+ }
+
+ // Set property "Revisions":
+ for _, item := range typedInput.Revisions {
+ mesh.Revisions = append(mesh.Revisions, item)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioServiceMesh populates our IstioServiceMesh from the provided source IstioServiceMesh
+func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *storage.IstioServiceMesh) error {
+
+ // CertificateAuthority
+ if source.CertificateAuthority != nil {
+ var certificateAuthority IstioCertificateAuthority
+ err := certificateAuthority.AssignProperties_From_IstioCertificateAuthority(source.CertificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioCertificateAuthority() to populate field CertificateAuthority")
+ }
+ mesh.CertificateAuthority = &certificateAuthority
+ } else {
+ mesh.CertificateAuthority = nil
+ }
+
+ // Components
+ if source.Components != nil {
+ var component IstioComponents
+ err := component.AssignProperties_From_IstioComponents(source.Components)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioComponents() to populate field Components")
+ }
+ mesh.Components = &component
+ } else {
+ mesh.Components = nil
+ }
+
+ // Revisions
+ if source.Revisions != nil {
+ revisionList := make([]string, len(source.Revisions))
+ for revisionIndex, revisionItem := range source.Revisions {
+ // Shadow the loop variable to avoid aliasing
+ revisionItem := revisionItem
+ revisionList[revisionIndex] = revisionItem
+ }
+ mesh.Revisions = revisionList
+ } else {
+ mesh.Revisions = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioServiceMesh populates the provided destination IstioServiceMesh from our IstioServiceMesh
+func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *storage.IstioServiceMesh) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CertificateAuthority
+ if mesh.CertificateAuthority != nil {
+ var certificateAuthority storage.IstioCertificateAuthority
+ err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority(&certificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority() to populate field CertificateAuthority")
+ }
+ destination.CertificateAuthority = &certificateAuthority
+ } else {
+ destination.CertificateAuthority = nil
+ }
+
+ // Components
+ if mesh.Components != nil {
+ var component storage.IstioComponents
+ err := mesh.Components.AssignProperties_To_IstioComponents(&component)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioComponents() to populate field Components")
+ }
+ destination.Components = &component
+ } else {
+ destination.Components = nil
+ }
+
+ // Revisions
+ if mesh.Revisions != nil {
+ revisionList := make([]string, len(mesh.Revisions))
+ for revisionIndex, revisionItem := range mesh.Revisions {
+ // Shadow the loop variable to avoid aliasing
+ revisionItem := revisionItem
+ revisionList[revisionIndex] = revisionItem
+ }
+ destination.Revisions = revisionList
+ } else {
+ destination.Revisions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio service mesh configuration.
+type IstioServiceMesh_STATUS struct {
+ // CertificateAuthority: Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin
+ // certificates as described here https://aka.ms/asm-plugin-ca
+ CertificateAuthority *IstioCertificateAuthority_STATUS `json:"certificateAuthority,omitempty"`
+
+ // Components: Istio components configuration.
+ Components *IstioComponents_STATUS `json:"components,omitempty"`
+
+ // Revisions: The list of revisions of the Istio control plane. When an upgrade is not in progress, this holds one value.
+ // When canary upgrade is in progress, this can only hold two consecutive values. For more information, see:
+ // https://learn.microsoft.com/en-us/azure/aks/istio-upgrade
+ Revisions []string `json:"revisions,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IstioServiceMesh_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (mesh *IstioServiceMesh_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioServiceMesh_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (mesh *IstioServiceMesh_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioServiceMesh_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioServiceMesh_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "CertificateAuthority":
+ if typedInput.CertificateAuthority != nil {
+ var certificateAuthority1 IstioCertificateAuthority_STATUS
+ err := certificateAuthority1.PopulateFromARM(owner, *typedInput.CertificateAuthority)
+ if err != nil {
+ return err
+ }
+ certificateAuthority := certificateAuthority1
+ mesh.CertificateAuthority = &certificateAuthority
+ }
+
+ // Set property "Components":
+ if typedInput.Components != nil {
+ var components1 IstioComponents_STATUS
+ err := components1.PopulateFromARM(owner, *typedInput.Components)
+ if err != nil {
+ return err
+ }
+ components := components1
+ mesh.Components = &components
+ }
+
+ // Set property "Revisions":
+ for _, item := range typedInput.Revisions {
+ mesh.Revisions = append(mesh.Revisions, item)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioServiceMesh_STATUS populates our IstioServiceMesh_STATUS from the provided source IstioServiceMesh_STATUS
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *storage.IstioServiceMesh_STATUS) error {
+
+ // CertificateAuthority
+ if source.CertificateAuthority != nil {
+ var certificateAuthority IstioCertificateAuthority_STATUS
+ err := certificateAuthority.AssignProperties_From_IstioCertificateAuthority_STATUS(source.CertificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioCertificateAuthority_STATUS() to populate field CertificateAuthority")
+ }
+ mesh.CertificateAuthority = &certificateAuthority
+ } else {
+ mesh.CertificateAuthority = nil
+ }
+
+ // Components
+ if source.Components != nil {
+ var component IstioComponents_STATUS
+ err := component.AssignProperties_From_IstioComponents_STATUS(source.Components)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioComponents_STATUS() to populate field Components")
+ }
+ mesh.Components = &component
+ } else {
+ mesh.Components = nil
+ }
+
+ // Revisions
+ mesh.Revisions = genruntime.CloneSliceOfString(source.Revisions)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioServiceMesh_STATUS populates the provided destination IstioServiceMesh_STATUS from our IstioServiceMesh_STATUS
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *storage.IstioServiceMesh_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CertificateAuthority
+ if mesh.CertificateAuthority != nil {
+ var certificateAuthority storage.IstioCertificateAuthority_STATUS
+ err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority_STATUS(&certificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority_STATUS() to populate field CertificateAuthority")
+ }
+ destination.CertificateAuthority = &certificateAuthority
+ } else {
+ destination.CertificateAuthority = nil
+ }
+
+ // Components
+ if mesh.Components != nil {
+ var component storage.IstioComponents_STATUS
+ err := mesh.Components.AssignProperties_To_IstioComponents_STATUS(&component)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioComponents_STATUS() to populate field Components")
+ }
+ destination.Components = &component
+ } else {
+ destination.Components = nil
+ }
+
+ // Revisions
+ destination.Revisions = genruntime.CloneSliceOfString(mesh.Revisions)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more
+// information about the differences between load balancer SKUs.
+// +kubebuilder:validation:Enum={"basic","standard"}
+type LoadBalancerSku string
+
+const (
+ LoadBalancerSku_Basic = LoadBalancerSku("basic")
+ LoadBalancerSku_Standard = LoadBalancerSku("standard")
+)
+
+// Mapping from string to LoadBalancerSku
+var loadBalancerSku_Values = map[string]LoadBalancerSku{
+ "basic": LoadBalancerSku_Basic,
+ "standard": LoadBalancerSku_Standard,
+}
+
+// The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more
+// information about the differences between load balancer SKUs.
+type LoadBalancerSku_STATUS string
+
+const (
+ LoadBalancerSku_STATUS_Basic = LoadBalancerSku_STATUS("basic")
+ LoadBalancerSku_STATUS_Standard = LoadBalancerSku_STATUS("standard")
+)
+
+// Mapping from string to LoadBalancerSku_STATUS
+var loadBalancerSku_STATUS_Values = map[string]LoadBalancerSku_STATUS{
+ "basic": LoadBalancerSku_STATUS_Basic,
+ "standard": LoadBalancerSku_STATUS_Standard,
+}
+
+// +kubebuilder:validation:Enum={"NodeImage","None","SecurityPatch","Unmanaged"}
+type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel string
+
+const (
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_NodeImage = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("NodeImage")
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_None = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("None")
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_SecurityPatch = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("SecurityPatch")
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel("Unmanaged")
+)
+
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_None,
+ "securitypatch": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_SecurityPatch,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_Unmanaged,
+}
+
+type ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS string
+
+const (
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_NodeImage = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("NodeImage")
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_None = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("None")
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_SecurityPatch = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("SecurityPatch")
+ ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged = ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS("Unmanaged")
+)
+
+// Mapping from string to ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS{
+ "nodeimage": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_None,
+ "securitypatch": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_SecurityPatch,
+ "unmanaged": ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS_Unmanaged,
+}
+
+// +kubebuilder:validation:Enum={"node-image","none","patch","rapid","stable"}
+type ManagedClusterAutoUpgradeProfile_UpgradeChannel string
+
+const (
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage = ManagedClusterAutoUpgradeProfile_UpgradeChannel("node-image")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_None = ManagedClusterAutoUpgradeProfile_UpgradeChannel("none")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch = ManagedClusterAutoUpgradeProfile_UpgradeChannel("patch")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid = ManagedClusterAutoUpgradeProfile_UpgradeChannel("rapid")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel("stable")
+)
+
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel
+var managedClusterAutoUpgradeProfile_UpgradeChannel_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_Stable,
+}
+
+type ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS string
+
+const (
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("node-image")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("none")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("patch")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("rapid")
+ ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable = ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS("stable")
+)
+
+// Mapping from string to ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS
+var managedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Values = map[string]ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS{
+ "node-image": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_NodeImage,
+ "none": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_None,
+ "patch": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Patch,
+ "rapid": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Rapid,
+ "stable": ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS_Stable,
+}
+
+// Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces
+// through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoring struct {
+ // AutoInstrumentation: Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook
+ // to auto-instrument Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the
+ // application. See aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AutoInstrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation `json:"autoInstrumentation,omitempty"`
+
+ // OpenTelemetryLogs: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and
+ // Traces. Collects OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryLogs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs `json:"openTelemetryLogs,omitempty"`
+
+ // OpenTelemetryMetrics: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container
+ // Metrics. Collects OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics `json:"openTelemetryMetrics,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileAppMonitoring{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if monitoring == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileAppMonitoring_ARM{}
+
+ // Set property "AutoInstrumentation":
+ if monitoring.AutoInstrumentation != nil {
+ autoInstrumentation_ARM, err := (*monitoring.AutoInstrumentation).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ autoInstrumentation := *autoInstrumentation_ARM.(*ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM)
+ result.AutoInstrumentation = &autoInstrumentation
+ }
+
+ // Set property "OpenTelemetryLogs":
+ if monitoring.OpenTelemetryLogs != nil {
+ openTelemetryLogs_ARM, err := (*monitoring.OpenTelemetryLogs).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ openTelemetryLogs := *openTelemetryLogs_ARM.(*ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM)
+ result.OpenTelemetryLogs = &openTelemetryLogs
+ }
+
+ // Set property "OpenTelemetryMetrics":
+ if monitoring.OpenTelemetryMetrics != nil {
+ openTelemetryMetrics_ARM, err := (*monitoring.OpenTelemetryMetrics).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ openTelemetryMetrics := *openTelemetryMetrics_ARM.(*ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM)
+ result.OpenTelemetryMetrics = &openTelemetryMetrics
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoring_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoring_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoring_ARM, got %T", armInput)
+ }
+
+ // Set property "AutoInstrumentation":
+ if typedInput.AutoInstrumentation != nil {
+ var autoInstrumentation1 ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+ err := autoInstrumentation1.PopulateFromARM(owner, *typedInput.AutoInstrumentation)
+ if err != nil {
+ return err
+ }
+ autoInstrumentation := autoInstrumentation1
+ monitoring.AutoInstrumentation = &autoInstrumentation
+ }
+
+ // Set property "OpenTelemetryLogs":
+ if typedInput.OpenTelemetryLogs != nil {
+ var openTelemetryLogs1 ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+ err := openTelemetryLogs1.PopulateFromARM(owner, *typedInput.OpenTelemetryLogs)
+ if err != nil {
+ return err
+ }
+ openTelemetryLogs := openTelemetryLogs1
+ monitoring.OpenTelemetryLogs = &openTelemetryLogs
+ }
+
+ // Set property "OpenTelemetryMetrics":
+ if typedInput.OpenTelemetryMetrics != nil {
+ var openTelemetryMetrics1 ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+ err := openTelemetryMetrics1.PopulateFromARM(owner, *typedInput.OpenTelemetryMetrics)
+ if err != nil {
+ return err
+ }
+ openTelemetryMetrics := openTelemetryMetrics1
+ monitoring.OpenTelemetryMetrics = &openTelemetryMetrics
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring populates our ManagedClusterAzureMonitorProfileAppMonitoring from the provided source ManagedClusterAzureMonitorProfileAppMonitoring
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring(source *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error {
+
+ // AutoInstrumentation
+ if source.AutoInstrumentation != nil {
+ var autoInstrumentation ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+ err := autoInstrumentation.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation(source.AutoInstrumentation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation() to populate field AutoInstrumentation")
+ }
+ monitoring.AutoInstrumentation = &autoInstrumentation
+ } else {
+ monitoring.AutoInstrumentation = nil
+ }
+
+ // OpenTelemetryLogs
+ if source.OpenTelemetryLogs != nil {
+ var openTelemetryLog ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+ err := openTelemetryLog.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs(source.OpenTelemetryLogs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs() to populate field OpenTelemetryLogs")
+ }
+ monitoring.OpenTelemetryLogs = &openTelemetryLog
+ } else {
+ monitoring.OpenTelemetryLogs = nil
+ }
+
+ // OpenTelemetryMetrics
+ if source.OpenTelemetryMetrics != nil {
+ var openTelemetryMetric ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+ err := openTelemetryMetric.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(source.OpenTelemetryMetrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics() to populate field OpenTelemetryMetrics")
+ }
+ monitoring.OpenTelemetryMetrics = &openTelemetryMetric
+ } else {
+ monitoring.OpenTelemetryMetrics = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoring from our ManagedClusterAzureMonitorProfileAppMonitoring
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AutoInstrumentation
+ if monitoring.AutoInstrumentation != nil {
+ var autoInstrumentation storage.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+ err := monitoring.AutoInstrumentation.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation(&autoInstrumentation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation() to populate field AutoInstrumentation")
+ }
+ destination.AutoInstrumentation = &autoInstrumentation
+ } else {
+ destination.AutoInstrumentation = nil
+ }
+
+ // OpenTelemetryLogs
+ if monitoring.OpenTelemetryLogs != nil {
+ var openTelemetryLog storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+ err := monitoring.OpenTelemetryLogs.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs(&openTelemetryLog)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs() to populate field OpenTelemetryLogs")
+ }
+ destination.OpenTelemetryLogs = &openTelemetryLog
+ } else {
+ destination.OpenTelemetryLogs = nil
+ }
+
+ // OpenTelemetryMetrics
+ if monitoring.OpenTelemetryMetrics != nil {
+ var openTelemetryMetric storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+ err := monitoring.OpenTelemetryMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(&openTelemetryMetric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics() to populate field OpenTelemetryMetrics")
+ }
+ destination.OpenTelemetryMetrics = &openTelemetryMetric
+ } else {
+ destination.OpenTelemetryMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces
+// through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoring_STATUS struct {
+ // AutoInstrumentation: Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook
+ // to auto-instrument Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the
+ // application. See aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ AutoInstrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS `json:"autoInstrumentation,omitempty"`
+
+ // OpenTelemetryLogs: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and
+ // Traces. Collects OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryLogs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS `json:"openTelemetryLogs,omitempty"`
+
+ // OpenTelemetryMetrics: Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container
+ // Metrics. Collects OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+ // aka.ms/AzureMonitorApplicationMonitoring for an overview.
+ OpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS `json:"openTelemetryMetrics,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileAppMonitoring_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AutoInstrumentation":
+ if typedInput.AutoInstrumentation != nil {
+ var autoInstrumentation1 ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+ err := autoInstrumentation1.PopulateFromARM(owner, *typedInput.AutoInstrumentation)
+ if err != nil {
+ return err
+ }
+ autoInstrumentation := autoInstrumentation1
+ monitoring.AutoInstrumentation = &autoInstrumentation
+ }
+
+ // Set property "OpenTelemetryLogs":
+ if typedInput.OpenTelemetryLogs != nil {
+ var openTelemetryLogs1 ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+ err := openTelemetryLogs1.PopulateFromARM(owner, *typedInput.OpenTelemetryLogs)
+ if err != nil {
+ return err
+ }
+ openTelemetryLogs := openTelemetryLogs1
+ monitoring.OpenTelemetryLogs = &openTelemetryLogs
+ }
+
+ // Set property "OpenTelemetryMetrics":
+ if typedInput.OpenTelemetryMetrics != nil {
+ var openTelemetryMetrics1 ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+ err := openTelemetryMetrics1.PopulateFromARM(owner, *typedInput.OpenTelemetryMetrics)
+ if err != nil {
+ return err
+ }
+ openTelemetryMetrics := openTelemetryMetrics1
+ monitoring.OpenTelemetryMetrics = &openTelemetryMetrics
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoring_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
+
+ // AutoInstrumentation
+ if source.AutoInstrumentation != nil {
+ var autoInstrumentation ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+ err := autoInstrumentation.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS(source.AutoInstrumentation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS() to populate field AutoInstrumentation")
+ }
+ monitoring.AutoInstrumentation = &autoInstrumentation
+ } else {
+ monitoring.AutoInstrumentation = nil
+ }
+
+ // OpenTelemetryLogs
+ if source.OpenTelemetryLogs != nil {
+ var openTelemetryLog ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+ err := openTelemetryLog.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS(source.OpenTelemetryLogs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS() to populate field OpenTelemetryLogs")
+ }
+ monitoring.OpenTelemetryLogs = &openTelemetryLog
+ } else {
+ monitoring.OpenTelemetryLogs = nil
+ }
+
+ // OpenTelemetryMetrics
+ if source.OpenTelemetryMetrics != nil {
+ var openTelemetryMetric ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+ err := openTelemetryMetric.AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(source.OpenTelemetryMetrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS() to populate field OpenTelemetryMetrics")
+ }
+ monitoring.OpenTelemetryMetrics = &openTelemetryMetric
+ } else {
+ monitoring.OpenTelemetryMetrics = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoring_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AutoInstrumentation
+ if monitoring.AutoInstrumentation != nil {
+ var autoInstrumentation storage.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+ err := monitoring.AutoInstrumentation.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS(&autoInstrumentation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS() to populate field AutoInstrumentation")
+ }
+ destination.AutoInstrumentation = &autoInstrumentation
+ } else {
+ destination.AutoInstrumentation = nil
+ }
+
+ // OpenTelemetryLogs
+ if monitoring.OpenTelemetryLogs != nil {
+ var openTelemetryLog storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+ err := monitoring.OpenTelemetryLogs.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS(&openTelemetryLog)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS() to populate field OpenTelemetryLogs")
+ }
+ destination.OpenTelemetryLogs = &openTelemetryLog
+ } else {
+ destination.OpenTelemetryLogs = nil
+ }
+
+ // OpenTelemetryMetrics
+ if monitoring.OpenTelemetryMetrics != nil {
+ var openTelemetryMetric storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+ err := monitoring.OpenTelemetryMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(&openTelemetryMetric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS() to populate field OpenTelemetryMetrics")
+ }
+ destination.OpenTelemetryMetrics = &openTelemetryMetric
+ } else {
+ destination.OpenTelemetryMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See
+// aka.ms/AzureMonitorContainerInsights for an overview.
+type ManagedClusterAzureMonitorProfileContainerInsights struct {
+ // DisableCustomMetrics: Indicates whether custom metrics collection has to be disabled or not. If not specified the
+ // default is false. No custom metrics will be emitted if this field is false but the container insights enabled field is
+ // false
+ DisableCustomMetrics *bool `json:"disableCustomMetrics,omitempty"`
+
+ // DisablePrometheusMetricsScraping: Indicates whether prometheus metrics scraping is disabled or not. If not specified the
+ // default is false. No prometheus metrics will be emitted if this field is false but the container insights enabled field
+ // is false
+ DisablePrometheusMetricsScraping *bool `json:"disablePrometheusMetricsScraping,omitempty"`
+
+ // Enabled: Indicates if Azure Monitor Container Insights Logs Addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // LogAnalyticsWorkspaceResourceReference: Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing
+ // Azure Monitor Container Insights Logs.
+ LogAnalyticsWorkspaceResourceReference *genruntime.ResourceReference `armReference:"LogAnalyticsWorkspaceResourceId" json:"logAnalyticsWorkspaceResourceReference,omitempty"`
+
+ // SyslogPort: The syslog host port. If not specified, the default port is 28330.
+ SyslogPort *int `json:"syslogPort,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileContainerInsights{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if insights == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileContainerInsights_ARM{}
+
+ // Set property "DisableCustomMetrics":
+ if insights.DisableCustomMetrics != nil {
+ disableCustomMetrics := *insights.DisableCustomMetrics
+ result.DisableCustomMetrics = &disableCustomMetrics
+ }
+
+ // Set property "DisablePrometheusMetricsScraping":
+ if insights.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *insights.DisablePrometheusMetricsScraping
+ result.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ }
+
+ // Set property "Enabled":
+ if insights.Enabled != nil {
+ enabled := *insights.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "LogAnalyticsWorkspaceResourceId":
+ if insights.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReferenceARMID, err := resolved.ResolvedReferences.Lookup(*insights.LogAnalyticsWorkspaceResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ logAnalyticsWorkspaceResourceReference := logAnalyticsWorkspaceResourceReferenceARMID
+ result.LogAnalyticsWorkspaceResourceId = &logAnalyticsWorkspaceResourceReference
+ }
+
+ // Set property "SyslogPort":
+ if insights.SyslogPort != nil {
+ syslogPort := *insights.SyslogPort
+ result.SyslogPort = &syslogPort
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileContainerInsights_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileContainerInsights_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileContainerInsights_ARM, got %T", armInput)
+ }
+
+ // Set property "DisableCustomMetrics":
+ if typedInput.DisableCustomMetrics != nil {
+ disableCustomMetrics := *typedInput.DisableCustomMetrics
+ insights.DisableCustomMetrics = &disableCustomMetrics
+ }
+
+ // Set property "DisablePrometheusMetricsScraping":
+ if typedInput.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *typedInput.DisablePrometheusMetricsScraping
+ insights.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ insights.Enabled = &enabled
+ }
+
+ // no assignment for property "LogAnalyticsWorkspaceResourceReference"
+
+ // Set property "SyslogPort":
+ if typedInput.SyslogPort != nil {
+ syslogPort := *typedInput.SyslogPort
+ insights.SyslogPort = &syslogPort
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights populates our ManagedClusterAzureMonitorProfileContainerInsights from the provided source ManagedClusterAzureMonitorProfileContainerInsights
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights(source *storage.ManagedClusterAzureMonitorProfileContainerInsights) error {
+
+ // DisableCustomMetrics
+ if source.DisableCustomMetrics != nil {
+ disableCustomMetric := *source.DisableCustomMetrics
+ insights.DisableCustomMetrics = &disableCustomMetric
+ } else {
+ insights.DisableCustomMetrics = nil
+ }
+
+ // DisablePrometheusMetricsScraping
+ if source.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *source.DisablePrometheusMetricsScraping
+ insights.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ } else {
+ insights.DisablePrometheusMetricsScraping = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ insights.Enabled = &enabled
+ } else {
+ insights.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceReference
+ if source.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := source.LogAnalyticsWorkspaceResourceReference.Copy()
+ insights.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ insights.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SyslogPort
+ insights.SyslogPort = genruntime.ClonePointerToInt(source.SyslogPort)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights populates the provided destination ManagedClusterAzureMonitorProfileContainerInsights from our ManagedClusterAzureMonitorProfileContainerInsights
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights(destination *storage.ManagedClusterAzureMonitorProfileContainerInsights) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DisableCustomMetrics
+ if insights.DisableCustomMetrics != nil {
+ disableCustomMetric := *insights.DisableCustomMetrics
+ destination.DisableCustomMetrics = &disableCustomMetric
+ } else {
+ destination.DisableCustomMetrics = nil
+ }
+
+ // DisablePrometheusMetricsScraping
+ if insights.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *insights.DisablePrometheusMetricsScraping
+ destination.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ } else {
+ destination.DisablePrometheusMetricsScraping = nil
+ }
+
+ // Enabled
+ if insights.Enabled != nil {
+ enabled := *insights.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceReference
+ if insights.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := insights.LogAnalyticsWorkspaceResourceReference.Copy()
+ destination.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ destination.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SyslogPort
+ destination.SyslogPort = genruntime.ClonePointerToInt(insights.SyslogPort)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See
+// aka.ms/AzureMonitorContainerInsights for an overview.
+type ManagedClusterAzureMonitorProfileContainerInsights_STATUS struct {
+ // DisableCustomMetrics: Indicates whether custom metrics collection has to be disabled or not. If not specified the
+ // default is false. No custom metrics will be emitted if this field is false but the container insights enabled field is
+ // false
+ DisableCustomMetrics *bool `json:"disableCustomMetrics,omitempty"`
+
+ // DisablePrometheusMetricsScraping: Indicates whether prometheus metrics scraping is disabled or not. If not specified the
+ // default is false. No prometheus metrics will be emitted if this field is false but the container insights enabled field
+ // is false
+ DisablePrometheusMetricsScraping *bool `json:"disablePrometheusMetricsScraping,omitempty"`
+
+ // Enabled: Indicates if Azure Monitor Container Insights Logs Addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // LogAnalyticsWorkspaceResourceId: Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing Azure
+ // Monitor Container Insights Logs.
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+
+ // SyslogPort: The syslog host port. If not specified, the default port is 28330.
+ SyslogPort *int `json:"syslogPort,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileContainerInsights_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "DisableCustomMetrics":
+ if typedInput.DisableCustomMetrics != nil {
+ disableCustomMetrics := *typedInput.DisableCustomMetrics
+ insights.DisableCustomMetrics = &disableCustomMetrics
+ }
+
+ // Set property "DisablePrometheusMetricsScraping":
+ if typedInput.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *typedInput.DisablePrometheusMetricsScraping
+ insights.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ insights.Enabled = &enabled
+ }
+
+ // Set property "LogAnalyticsWorkspaceResourceId":
+ if typedInput.LogAnalyticsWorkspaceResourceId != nil {
+ logAnalyticsWorkspaceResourceId := *typedInput.LogAnalyticsWorkspaceResourceId
+ insights.LogAnalyticsWorkspaceResourceId = &logAnalyticsWorkspaceResourceId
+ }
+
+ // Set property "SyslogPort":
+ if typedInput.SyslogPort != nil {
+ syslogPort := *typedInput.SyslogPort
+ insights.SyslogPort = &syslogPort
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS populates our ManagedClusterAzureMonitorProfileContainerInsights_STATUS from the provided source ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(source *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
+
+ // DisableCustomMetrics
+ if source.DisableCustomMetrics != nil {
+ disableCustomMetric := *source.DisableCustomMetrics
+ insights.DisableCustomMetrics = &disableCustomMetric
+ } else {
+ insights.DisableCustomMetrics = nil
+ }
+
+ // DisablePrometheusMetricsScraping
+ if source.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *source.DisablePrometheusMetricsScraping
+ insights.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ } else {
+ insights.DisablePrometheusMetricsScraping = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ insights.Enabled = &enabled
+ } else {
+ insights.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceId
+ insights.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
+
+ // SyslogPort
+ insights.SyslogPort = genruntime.ClonePointerToInt(source.SyslogPort)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS populates the provided destination ManagedClusterAzureMonitorProfileContainerInsights_STATUS from our ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(destination *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DisableCustomMetrics
+ if insights.DisableCustomMetrics != nil {
+ disableCustomMetric := *insights.DisableCustomMetrics
+ destination.DisableCustomMetrics = &disableCustomMetric
+ } else {
+ destination.DisableCustomMetrics = nil
+ }
+
+ // DisablePrometheusMetricsScraping
+ if insights.DisablePrometheusMetricsScraping != nil {
+ disablePrometheusMetricsScraping := *insights.DisablePrometheusMetricsScraping
+ destination.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ } else {
+ destination.DisablePrometheusMetricsScraping = nil
+ }
+
+ // Enabled
+ if insights.Enabled != nil {
+ enabled := *insights.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceId
+ destination.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(insights.LogAnalyticsWorkspaceResourceId)
+
+ // SyslogPort
+ destination.SyslogPort = genruntime.ClonePointerToInt(insights.SyslogPort)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Metrics profile for the prometheus service addon
+type ManagedClusterAzureMonitorProfileMetrics struct {
+ // +kubebuilder:validation:Required
+ // Enabled: Whether to enable the Prometheus collector
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KubeStateMetrics: Kube State Metrics for prometheus addon profile for the container service cluster
+ KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics `json:"kubeStateMetrics,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileMetrics{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if metrics == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileMetrics_ARM{}
+
+ // Set property "Enabled":
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "KubeStateMetrics":
+ if metrics.KubeStateMetrics != nil {
+ kubeStateMetrics_ARM, err := (*metrics.KubeStateMetrics).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ kubeStateMetrics := *kubeStateMetrics_ARM.(*ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM)
+ result.KubeStateMetrics = &kubeStateMetrics
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileMetrics_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileMetrics_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileMetrics_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ metrics.Enabled = &enabled
+ }
+
+ // Set property "KubeStateMetrics":
+ if typedInput.KubeStateMetrics != nil {
+ var kubeStateMetrics1 ManagedClusterAzureMonitorProfileKubeStateMetrics
+ err := kubeStateMetrics1.PopulateFromARM(owner, *typedInput.KubeStateMetrics)
+ if err != nil {
+ return err
+ }
+ kubeStateMetrics := kubeStateMetrics1
+ metrics.KubeStateMetrics = &kubeStateMetrics
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if source.KubeStateMetrics != nil {
+ var kubeStateMetric ManagedClusterAzureMonitorProfileKubeStateMetrics
+ err := kubeStateMetric.AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source.KubeStateMetrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
+ }
+ metrics.KubeStateMetrics = &kubeStateMetric
+ } else {
+ metrics.KubeStateMetrics = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if metrics.KubeStateMetrics != nil {
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
+ }
+ destination.KubeStateMetrics = &kubeStateMetric
+ } else {
+ destination.KubeStateMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Metrics profile for the prometheus service addon
+type ManagedClusterAzureMonitorProfileMetrics_STATUS struct {
+ // Enabled: Whether to enable the Prometheus collector
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // KubeStateMetrics: Kube State Metrics for prometheus addon profile for the container service cluster
+ KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS `json:"kubeStateMetrics,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileMetrics_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ metrics.Enabled = &enabled
+ }
+
+ // Set property "KubeStateMetrics":
+ if typedInput.KubeStateMetrics != nil {
+ var kubeStateMetrics1 ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ err := kubeStateMetrics1.PopulateFromARM(owner, *typedInput.KubeStateMetrics)
+ if err != nil {
+ return err
+ }
+ kubeStateMetrics := kubeStateMetrics1
+ metrics.KubeStateMetrics = &kubeStateMetrics
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if source.KubeStateMetrics != nil {
+ var kubeStateMetric ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ err := kubeStateMetric.AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source.KubeStateMetrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
+ }
+ metrics.KubeStateMetrics = &kubeStateMetric
+ } else {
+ metrics.KubeStateMetrics = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if metrics.KubeStateMetrics != nil {
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
+ }
+ destination.KubeStateMetrics = &kubeStateMetric
+ } else {
+ destination.KubeStateMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"Cache","Direct"}
+type ManagedClusterBootstrapProfile_ArtifactSource string
+
+const (
+ ManagedClusterBootstrapProfile_ArtifactSource_Cache = ManagedClusterBootstrapProfile_ArtifactSource("Cache")
+ ManagedClusterBootstrapProfile_ArtifactSource_Direct = ManagedClusterBootstrapProfile_ArtifactSource("Direct")
+)
+
+// Mapping from string to ManagedClusterBootstrapProfile_ArtifactSource
+var managedClusterBootstrapProfile_ArtifactSource_Values = map[string]ManagedClusterBootstrapProfile_ArtifactSource{
+ "cache": ManagedClusterBootstrapProfile_ArtifactSource_Cache,
+ "direct": ManagedClusterBootstrapProfile_ArtifactSource_Direct,
+}
+
+type ManagedClusterBootstrapProfile_ArtifactSource_STATUS string
+
+const (
+ ManagedClusterBootstrapProfile_ArtifactSource_STATUS_Cache = ManagedClusterBootstrapProfile_ArtifactSource_STATUS("Cache")
+ ManagedClusterBootstrapProfile_ArtifactSource_STATUS_Direct = ManagedClusterBootstrapProfile_ArtifactSource_STATUS("Direct")
+)
+
+// Mapping from string to ManagedClusterBootstrapProfile_ArtifactSource_STATUS
+var managedClusterBootstrapProfile_ArtifactSource_STATUS_Values = map[string]ManagedClusterBootstrapProfile_ArtifactSource_STATUS{
+ "cache": ManagedClusterBootstrapProfile_ArtifactSource_STATUS_Cache,
+ "direct": ManagedClusterBootstrapProfile_ArtifactSource_STATUS_Direct,
+}
+
+// The cost analysis configuration for the cluster
+type ManagedClusterCostAnalysis struct {
+ // Enabled: The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will
+ // add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the
+ // default is false. For more information see aka.ms/aks/docs/cost-analysis.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterCostAnalysis{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (analysis *ManagedClusterCostAnalysis) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if analysis == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterCostAnalysis_ARM{}
+
+ // Set property "Enabled":
+ if analysis.Enabled != nil {
+ enabled := *analysis.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (analysis *ManagedClusterCostAnalysis) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterCostAnalysis_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (analysis *ManagedClusterCostAnalysis) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterCostAnalysis_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterCostAnalysis_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ analysis.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterCostAnalysis populates our ManagedClusterCostAnalysis from the provided source ManagedClusterCostAnalysis
+func (analysis *ManagedClusterCostAnalysis) AssignProperties_From_ManagedClusterCostAnalysis(source *storage.ManagedClusterCostAnalysis) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ analysis.Enabled = &enabled
+ } else {
+ analysis.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterCostAnalysis populates the provided destination ManagedClusterCostAnalysis from our ManagedClusterCostAnalysis
+func (analysis *ManagedClusterCostAnalysis) AssignProperties_To_ManagedClusterCostAnalysis(destination *storage.ManagedClusterCostAnalysis) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if analysis.Enabled != nil {
+ enabled := *analysis.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The cost analysis configuration for the cluster
+type ManagedClusterCostAnalysis_STATUS struct {
+ // Enabled: The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will
+ // add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the
+ // default is false. For more information see aka.ms/aks/docs/cost-analysis.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterCostAnalysis_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (analysis *ManagedClusterCostAnalysis_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterCostAnalysis_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (analysis *ManagedClusterCostAnalysis_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterCostAnalysis_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterCostAnalysis_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ analysis.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterCostAnalysis_STATUS populates our ManagedClusterCostAnalysis_STATUS from the provided source ManagedClusterCostAnalysis_STATUS
+func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_From_ManagedClusterCostAnalysis_STATUS(source *storage.ManagedClusterCostAnalysis_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ analysis.Enabled = &enabled
+ } else {
+ analysis.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterCostAnalysis_STATUS populates the provided destination ManagedClusterCostAnalysis_STATUS from our ManagedClusterCostAnalysis_STATUS
+func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_To_ManagedClusterCostAnalysis_STATUS(destination *storage.ManagedClusterCostAnalysis_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if analysis.Enabled != nil {
+ enabled := *analysis.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterIdentity_UserAssignedIdentities_STATUS struct {
+ // ClientId: The client id of user assigned identity.
+ ClientId *string `json:"clientId,omitempty"`
+
+ // PrincipalId: The principal id of user assigned identity.
+ PrincipalId *string `json:"principalId,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterIdentity_UserAssignedIdentities_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ClientId":
+ if typedInput.ClientId != nil {
+ clientId := *typedInput.ClientId
+ identities.ClientId = &clientId
+ }
+
+ // Set property "PrincipalId":
+ if typedInput.PrincipalId != nil {
+ principalId := *typedInput.PrincipalId
+ identities.PrincipalId = &principalId
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+
+ // ClientId
+ identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // PrincipalId
+ identities.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(identities.ClientId)
+
+ // PrincipalId
+ destination.PrincipalId = genruntime.ClonePointerToString(identities.PrincipalId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Web App Routing settings for the ingress profile.
+type ManagedClusterIngressProfileWebAppRouting struct {
+ // DnsZoneResourceReferences: Resource IDs of the DNS zones to be associated with the Web App Routing add-on. Used only
+ // when Web App Routing is enabled. Public and private DNS zones can be in different resource groups, but all public DNS
+ // zones must be in the same resource group and all private DNS zones must be in the same resource group.
+ DnsZoneResourceReferences []genruntime.ResourceReference `armReference:"DnsZoneResourceIds" json:"dnsZoneResourceReferences,omitempty"`
+
+ // Enabled: Whether to enable Web App Routing.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterIngressProfileWebAppRouting{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (routing *ManagedClusterIngressProfileWebAppRouting) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if routing == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterIngressProfileWebAppRouting_ARM{}
+
+ // Set property "DnsZoneResourceIds":
+ for _, item := range routing.DnsZoneResourceReferences {
+ itemARMID, err := resolved.ResolvedReferences.Lookup(item)
+ if err != nil {
+ return nil, err
+ }
+ result.DnsZoneResourceIds = append(result.DnsZoneResourceIds, itemARMID)
+ }
+
+ // Set property "Enabled":
+ if routing.Enabled != nil {
+ enabled := *routing.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (routing *ManagedClusterIngressProfileWebAppRouting) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIngressProfileWebAppRouting_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (routing *ManagedClusterIngressProfileWebAppRouting) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIngressProfileWebAppRouting_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIngressProfileWebAppRouting_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "DnsZoneResourceReferences"
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ routing.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting populates our ManagedClusterIngressProfileWebAppRouting from the provided source ManagedClusterIngressProfileWebAppRouting
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source *storage.ManagedClusterIngressProfileWebAppRouting) error {
+
+ // DnsZoneResourceReferences
+ if source.DnsZoneResourceReferences != nil {
+ dnsZoneResourceReferenceList := make([]genruntime.ResourceReference, len(source.DnsZoneResourceReferences))
+ for dnsZoneResourceReferenceIndex, dnsZoneResourceReferenceItem := range source.DnsZoneResourceReferences {
+ // Shadow the loop variable to avoid aliasing
+ dnsZoneResourceReferenceItem := dnsZoneResourceReferenceItem
+ dnsZoneResourceReferenceList[dnsZoneResourceReferenceIndex] = dnsZoneResourceReferenceItem.Copy()
+ }
+ routing.DnsZoneResourceReferences = dnsZoneResourceReferenceList
+ } else {
+ routing.DnsZoneResourceReferences = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ routing.Enabled = &enabled
+ } else {
+ routing.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting populates the provided destination ManagedClusterIngressProfileWebAppRouting from our ManagedClusterIngressProfileWebAppRouting
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(destination *storage.ManagedClusterIngressProfileWebAppRouting) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DnsZoneResourceReferences
+ if routing.DnsZoneResourceReferences != nil {
+ dnsZoneResourceReferenceList := make([]genruntime.ResourceReference, len(routing.DnsZoneResourceReferences))
+ for dnsZoneResourceReferenceIndex, dnsZoneResourceReferenceItem := range routing.DnsZoneResourceReferences {
+ // Shadow the loop variable to avoid aliasing
+ dnsZoneResourceReferenceItem := dnsZoneResourceReferenceItem
+ dnsZoneResourceReferenceList[dnsZoneResourceReferenceIndex] = dnsZoneResourceReferenceItem.Copy()
+ }
+ destination.DnsZoneResourceReferences = dnsZoneResourceReferenceList
+ } else {
+ destination.DnsZoneResourceReferences = nil
+ }
+
+ // Enabled
+ if routing.Enabled != nil {
+ enabled := *routing.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Web App Routing settings for the ingress profile.
+type ManagedClusterIngressProfileWebAppRouting_STATUS struct {
+ // DnsZoneResourceIds: Resource IDs of the DNS zones to be associated with the Web App Routing add-on. Used only when Web
+ // App Routing is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must
+ // be in the same resource group and all private DNS zones must be in the same resource group.
+ DnsZoneResourceIds []string `json:"dnsZoneResourceIds,omitempty"`
+
+ // Enabled: Whether to enable Web App Routing.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Identity: Managed identity of the Web Application Routing add-on. This is the identity that should be granted
+ // permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See
+ // [this overview of the add-on](https://learn.microsoft.com/en-us/azure/aks/web-app-routing?tabs=with-osm) for more
+ // instructions.
+ Identity *UserAssignedIdentity_STATUS `json:"identity,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterIngressProfileWebAppRouting_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterIngressProfileWebAppRouting_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterIngressProfileWebAppRouting_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterIngressProfileWebAppRouting_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "DnsZoneResourceIds":
+ for _, item := range typedInput.DnsZoneResourceIds {
+ routing.DnsZoneResourceIds = append(routing.DnsZoneResourceIds, item)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ routing.Enabled = &enabled
+ }
+
+ // Set property "Identity":
+ if typedInput.Identity != nil {
+ var identity1 UserAssignedIdentity_STATUS
+ err := identity1.PopulateFromARM(owner, *typedInput.Identity)
+ if err != nil {
+ return err
+ }
+ identity := identity1
+ routing.Identity = &identity
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS populates our ManagedClusterIngressProfileWebAppRouting_STATUS from the provided source ManagedClusterIngressProfileWebAppRouting_STATUS
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+
+ // DnsZoneResourceIds
+ routing.DnsZoneResourceIds = genruntime.CloneSliceOfString(source.DnsZoneResourceIds)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ routing.Enabled = &enabled
+ } else {
+ routing.Enabled = nil
+ }
+
+ // Identity
+ if source.Identity != nil {
+ var identity UserAssignedIdentity_STATUS
+ err := identity.AssignProperties_From_UserAssignedIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ routing.Identity = &identity
+ } else {
+ routing.Identity = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS populates the provided destination ManagedClusterIngressProfileWebAppRouting_STATUS from our ManagedClusterIngressProfileWebAppRouting_STATUS
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(destination *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DnsZoneResourceIds
+ destination.DnsZoneResourceIds = genruntime.CloneSliceOfString(routing.DnsZoneResourceIds)
+
+ // Enabled
+ if routing.Enabled != nil {
+ enabled := *routing.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Identity
+ if routing.Identity != nil {
+ var identity storage.UserAssignedIdentity_STATUS
+ err := routing.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed cluster load balancer.
+type ManagedClusterLoadBalancerProfile struct {
+ // +kubebuilder:validation:Maximum=64000
+ // +kubebuilder:validation:Minimum=0
+ // AllocatedOutboundPorts: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000
+ // (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
+ AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
+
+ // BackendPoolType: The type of the managed inbound Load Balancer BackendPool.
+ BackendPoolType *ManagedClusterLoadBalancerProfile_BackendPoolType `json:"backendPoolType,omitempty"`
+
+ // ClusterServiceLoadBalancerHealthProbeMode: The health probing behavior for External Traffic Policy Cluster services.
+ ClusterServiceLoadBalancerHealthProbeMode *ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode `json:"clusterServiceLoadBalancerHealthProbeMode,omitempty"`
+
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster load balancer.
+ EffectiveOutboundIPs []ResourceReference `json:"effectiveOutboundIPs,omitempty"`
+
+ // EnableMultipleStandardLoadBalancers: Enable multiple standard load balancers per AKS cluster or not.
+ EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"`
+
+ // +kubebuilder:validation:Maximum=120
+ // +kubebuilder:validation:Minimum=4
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 30 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPs: Desired managed outbound IPs for the cluster load balancer.
+ ManagedOutboundIPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs `json:"managedOutboundIPs,omitempty"`
+
+ // OutboundIPPrefixes: Desired outbound IP Prefix resources for the cluster load balancer.
+ OutboundIPPrefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes `json:"outboundIPPrefixes,omitempty"`
+
+ // OutboundIPs: Desired outbound IP resources for the cluster load balancer.
+ OutboundIPs *ManagedClusterLoadBalancerProfile_OutboundIPs `json:"outboundIPs,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterLoadBalancerProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterLoadBalancerProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterLoadBalancerProfile_ARM{}
+
+ // Set property "AllocatedOutboundPorts":
+ if profile.AllocatedOutboundPorts != nil {
+ allocatedOutboundPorts := *profile.AllocatedOutboundPorts
+ result.AllocatedOutboundPorts = &allocatedOutboundPorts
+ }
+
+ // Set property "BackendPoolType":
+ if profile.BackendPoolType != nil {
+ backendPoolType := *profile.BackendPoolType
+ result.BackendPoolType = &backendPoolType
+ }
+
+ // Set property "ClusterServiceLoadBalancerHealthProbeMode":
+ if profile.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := *profile.ClusterServiceLoadBalancerHealthProbeMode
+ result.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ }
+
+ // Set property "EffectiveOutboundIPs":
+ for _, item := range profile.EffectiveOutboundIPs {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.EffectiveOutboundIPs = append(result.EffectiveOutboundIPs, *item_ARM.(*ResourceReference_ARM))
+ }
+
+ // Set property "EnableMultipleStandardLoadBalancers":
+ if profile.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancers := *profile.EnableMultipleStandardLoadBalancers
+ result.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancers
+ }
+
+ // Set property "IdleTimeoutInMinutes":
+ if profile.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinutes := *profile.IdleTimeoutInMinutes
+ result.IdleTimeoutInMinutes = &idleTimeoutInMinutes
+ }
+
+ // Set property "ManagedOutboundIPs":
+ if profile.ManagedOutboundIPs != nil {
+ managedOutboundIPs_ARM, err := (*profile.ManagedOutboundIPs).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ managedOutboundIPs := *managedOutboundIPs_ARM.(*ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM)
+ result.ManagedOutboundIPs = &managedOutboundIPs
+ }
+
+ // Set property "OutboundIPPrefixes":
+ if profile.OutboundIPPrefixes != nil {
+ outboundIPPrefixes_ARM, err := (*profile.OutboundIPPrefixes).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ outboundIPPrefixes := *outboundIPPrefixes_ARM.(*ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM)
+ result.OutboundIPPrefixes = &outboundIPPrefixes
+ }
+
+ // Set property "OutboundIPs":
+ if profile.OutboundIPs != nil {
+ outboundIPs_ARM, err := (*profile.OutboundIPs).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ outboundIPs := *outboundIPs_ARM.(*ManagedClusterLoadBalancerProfile_OutboundIPs_ARM)
+ result.OutboundIPs = &outboundIPs
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterLoadBalancerProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterLoadBalancerProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AllocatedOutboundPorts":
+ if typedInput.AllocatedOutboundPorts != nil {
+ allocatedOutboundPorts := *typedInput.AllocatedOutboundPorts
+ profile.AllocatedOutboundPorts = &allocatedOutboundPorts
+ }
+
+ // Set property "BackendPoolType":
+ if typedInput.BackendPoolType != nil {
+ backendPoolType := *typedInput.BackendPoolType
+ profile.BackendPoolType = &backendPoolType
+ }
+
+ // Set property "ClusterServiceLoadBalancerHealthProbeMode":
+ if typedInput.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := *typedInput.ClusterServiceLoadBalancerHealthProbeMode
+ profile.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ }
+
+ // Set property "EffectiveOutboundIPs":
+ for _, item := range typedInput.EffectiveOutboundIPs {
+ var item1 ResourceReference
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.EffectiveOutboundIPs = append(profile.EffectiveOutboundIPs, item1)
+ }
+
+ // Set property "EnableMultipleStandardLoadBalancers":
+ if typedInput.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancers := *typedInput.EnableMultipleStandardLoadBalancers
+ profile.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancers
+ }
+
+ // Set property "IdleTimeoutInMinutes":
+ if typedInput.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinutes := *typedInput.IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = &idleTimeoutInMinutes
+ }
+
+ // Set property "ManagedOutboundIPs":
+ if typedInput.ManagedOutboundIPs != nil {
+ var managedOutboundIPs1 ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ err := managedOutboundIPs1.PopulateFromARM(owner, *typedInput.ManagedOutboundIPs)
+ if err != nil {
+ return err
+ }
+ managedOutboundIPs := managedOutboundIPs1
+ profile.ManagedOutboundIPs = &managedOutboundIPs
+ }
+
+ // Set property "OutboundIPPrefixes":
+ if typedInput.OutboundIPPrefixes != nil {
+ var outboundIPPrefixes1 ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ err := outboundIPPrefixes1.PopulateFromARM(owner, *typedInput.OutboundIPPrefixes)
+ if err != nil {
+ return err
+ }
+ outboundIPPrefixes := outboundIPPrefixes1
+ profile.OutboundIPPrefixes = &outboundIPPrefixes
+ }
+
+ // Set property "OutboundIPs":
+ if typedInput.OutboundIPs != nil {
+ var outboundIPs1 ManagedClusterLoadBalancerProfile_OutboundIPs
+ err := outboundIPs1.PopulateFromARM(owner, *typedInput.OutboundIPs)
+ if err != nil {
+ return err
+ }
+ outboundIPs := outboundIPs1
+ profile.OutboundIPs = &outboundIPs
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
+
+ // AllocatedOutboundPorts
+ if source.AllocatedOutboundPorts != nil {
+ allocatedOutboundPort := *source.AllocatedOutboundPorts
+ profile.AllocatedOutboundPorts = &allocatedOutboundPort
+ } else {
+ profile.AllocatedOutboundPorts = nil
+ }
+
+ // BackendPoolType
+ if source.BackendPoolType != nil {
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
+ } else {
+ profile.BackendPoolType = nil
+ }
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if source.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := *source.ClusterServiceLoadBalancerHealthProbeMode
+ clusterServiceLoadBalancerHealthProbeModeTemp := genruntime.ToEnum(clusterServiceLoadBalancerHealthProbeMode, managedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_Values)
+ profile.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeModeTemp
+ } else {
+ profile.ClusterServiceLoadBalancerHealthProbeMode = nil
+ }
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if source.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *source.EnableMultipleStandardLoadBalancers
+ profile.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ profile.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ if source.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinute := *source.IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = &idleTimeoutInMinute
+ } else {
+ profile.IdleTimeoutInMinutes = nil
+ }
+
+ // ManagedOutboundIPs
+ if source.ManagedOutboundIPs != nil {
+ var managedOutboundIP ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ err := managedOutboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source.ManagedOutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
+ }
+ profile.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ profile.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if source.OutboundIPPrefixes != nil {
+ var outboundIPPrefix ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ err := outboundIPPrefix.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source.OutboundIPPrefixes)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
+ }
+ profile.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ profile.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if source.OutboundIPs != nil {
+ var outboundIP ManagedClusterLoadBalancerProfile_OutboundIPs
+ err := outboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source.OutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
+ }
+ profile.OutboundIPs = &outboundIP
+ } else {
+ profile.OutboundIPs = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllocatedOutboundPorts
+ if profile.AllocatedOutboundPorts != nil {
+ allocatedOutboundPort := *profile.AllocatedOutboundPorts
+ destination.AllocatedOutboundPorts = &allocatedOutboundPort
+ } else {
+ destination.AllocatedOutboundPorts = nil
+ }
+
+ // BackendPoolType
+ if profile.BackendPoolType != nil {
+ backendPoolType := string(*profile.BackendPoolType)
+ destination.BackendPoolType = &backendPoolType
+ } else {
+ destination.BackendPoolType = nil
+ }
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if profile.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := string(*profile.ClusterServiceLoadBalancerHealthProbeMode)
+ destination.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ } else {
+ destination.ClusterServiceLoadBalancerHealthProbeMode = nil
+ }
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if profile.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *profile.EnableMultipleStandardLoadBalancers
+ destination.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ destination.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ if profile.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinute := *profile.IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = &idleTimeoutInMinute
+ } else {
+ destination.IdleTimeoutInMinutes = nil
+ }
+
+ // ManagedOutboundIPs
+ if profile.ManagedOutboundIPs != nil {
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
+ }
+ destination.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ destination.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if profile.OutboundIPPrefixes != nil {
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
+ }
+ destination.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ destination.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if profile.OutboundIPs != nil {
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
+ err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
+ }
+ destination.OutboundIPs = &outboundIP
+ } else {
+ destination.OutboundIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed cluster load balancer.
+type ManagedClusterLoadBalancerProfile_STATUS struct {
+ // AllocatedOutboundPorts: The desired number of allocated SNAT ports per VM. Allowed values are in the range of 0 to 64000
+ // (inclusive). The default value is 0 which results in Azure dynamically allocating ports.
+ AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
+
+ // BackendPoolType: The type of the managed inbound Load Balancer BackendPool.
+ BackendPoolType *ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS `json:"backendPoolType,omitempty"`
+
+ // ClusterServiceLoadBalancerHealthProbeMode: The health probing behavior for External Traffic Policy Cluster services.
+ ClusterServiceLoadBalancerHealthProbeMode *ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS `json:"clusterServiceLoadBalancerHealthProbeMode,omitempty"`
+
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster load balancer.
+ EffectiveOutboundIPs []ResourceReference_STATUS `json:"effectiveOutboundIPs,omitempty"`
+
+ // EnableMultipleStandardLoadBalancers: Enable multiple standard load balancers per AKS cluster or not.
+ EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"`
+
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 30 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPs: Desired managed outbound IPs for the cluster load balancer.
+ ManagedOutboundIPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS `json:"managedOutboundIPs,omitempty"`
+
+ // OutboundIPPrefixes: Desired outbound IP Prefix resources for the cluster load balancer.
+ OutboundIPPrefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS `json:"outboundIPPrefixes,omitempty"`
+
+ // OutboundIPs: Desired outbound IP resources for the cluster load balancer.
+ OutboundIPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS `json:"outboundIPs,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterLoadBalancerProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AllocatedOutboundPorts":
+ if typedInput.AllocatedOutboundPorts != nil {
+ allocatedOutboundPorts := *typedInput.AllocatedOutboundPorts
+ profile.AllocatedOutboundPorts = &allocatedOutboundPorts
+ }
+
+ // Set property "BackendPoolType":
+ if typedInput.BackendPoolType != nil {
+ backendPoolType := *typedInput.BackendPoolType
+ profile.BackendPoolType = &backendPoolType
+ }
+
+ // Set property "ClusterServiceLoadBalancerHealthProbeMode":
+ if typedInput.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := *typedInput.ClusterServiceLoadBalancerHealthProbeMode
+ profile.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ }
+
+ // Set property "EffectiveOutboundIPs":
+ for _, item := range typedInput.EffectiveOutboundIPs {
+ var item1 ResourceReference_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.EffectiveOutboundIPs = append(profile.EffectiveOutboundIPs, item1)
+ }
+
+ // Set property "EnableMultipleStandardLoadBalancers":
+ if typedInput.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancers := *typedInput.EnableMultipleStandardLoadBalancers
+ profile.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancers
+ }
+
+ // Set property "IdleTimeoutInMinutes":
+ if typedInput.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinutes := *typedInput.IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = &idleTimeoutInMinutes
+ }
+
+ // Set property "ManagedOutboundIPs":
+ if typedInput.ManagedOutboundIPs != nil {
+ var managedOutboundIPs1 ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ err := managedOutboundIPs1.PopulateFromARM(owner, *typedInput.ManagedOutboundIPs)
+ if err != nil {
+ return err
+ }
+ managedOutboundIPs := managedOutboundIPs1
+ profile.ManagedOutboundIPs = &managedOutboundIPs
+ }
+
+ // Set property "OutboundIPPrefixes":
+ if typedInput.OutboundIPPrefixes != nil {
+ var outboundIPPrefixes1 ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ err := outboundIPPrefixes1.PopulateFromARM(owner, *typedInput.OutboundIPPrefixes)
+ if err != nil {
+ return err
+ }
+ outboundIPPrefixes := outboundIPPrefixes1
+ profile.OutboundIPPrefixes = &outboundIPPrefixes
+ }
+
+ // Set property "OutboundIPs":
+ if typedInput.OutboundIPs != nil {
+ var outboundIPs1 ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ err := outboundIPs1.PopulateFromARM(owner, *typedInput.OutboundIPs)
+ if err != nil {
+ return err
+ }
+ outboundIPs := outboundIPs1
+ profile.OutboundIPs = &outboundIPs
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
+
+ // AllocatedOutboundPorts
+ profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
+
+ // BackendPoolType
+ if source.BackendPoolType != nil {
+ backendPoolType := *source.BackendPoolType
+ backendPoolTypeTemp := genruntime.ToEnum(backendPoolType, managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values)
+ profile.BackendPoolType = &backendPoolTypeTemp
+ } else {
+ profile.BackendPoolType = nil
+ }
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if source.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := *source.ClusterServiceLoadBalancerHealthProbeMode
+ clusterServiceLoadBalancerHealthProbeModeTemp := genruntime.ToEnum(clusterServiceLoadBalancerHealthProbeMode, managedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS_Values)
+ profile.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeModeTemp
+ } else {
+ profile.ClusterServiceLoadBalancerHealthProbeMode = nil
+ }
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference_STATUS, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference_STATUS
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference_STATUS(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if source.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *source.EnableMultipleStandardLoadBalancers
+ profile.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ profile.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(source.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPs
+ if source.ManagedOutboundIPs != nil {
+ var managedOutboundIP ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ err := managedOutboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source.ManagedOutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
+ }
+ profile.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ profile.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if source.OutboundIPPrefixes != nil {
+ var outboundIPPrefix ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ err := outboundIPPrefix.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source.OutboundIPPrefixes)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
+ }
+ profile.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ profile.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if source.OutboundIPs != nil {
+ var outboundIP ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ err := outboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source.OutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
+ }
+ profile.OutboundIPs = &outboundIP
+ } else {
+ profile.OutboundIPs = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllocatedOutboundPorts
+ destination.AllocatedOutboundPorts = genruntime.ClonePointerToInt(profile.AllocatedOutboundPorts)
+
+ // BackendPoolType
+ if profile.BackendPoolType != nil {
+ backendPoolType := string(*profile.BackendPoolType)
+ destination.BackendPoolType = &backendPoolType
+ } else {
+ destination.BackendPoolType = nil
+ }
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if profile.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ clusterServiceLoadBalancerHealthProbeMode := string(*profile.ClusterServiceLoadBalancerHealthProbeMode)
+ destination.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ } else {
+ destination.ClusterServiceLoadBalancerHealthProbeMode = nil
+ }
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference_STATUS
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if profile.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *profile.EnableMultipleStandardLoadBalancers
+ destination.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ destination.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(profile.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPs
+ if profile.ManagedOutboundIPs != nil {
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
+ }
+ destination.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ destination.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if profile.OutboundIPPrefixes != nil {
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
+ }
+ destination.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ destination.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if profile.OutboundIPs != nil {
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
+ }
+ destination.OutboundIPs = &outboundIP
+ } else {
+ destination.OutboundIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed cluster NAT gateway.
+type ManagedClusterNATGatewayProfile struct {
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster NAT gateway.
+ EffectiveOutboundIPs []ResourceReference `json:"effectiveOutboundIPs,omitempty"`
+
+ // +kubebuilder:validation:Maximum=120
+ // +kubebuilder:validation:Minimum=4
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 4 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPProfile: Profile of the managed outbound IP resources of the cluster NAT gateway.
+ ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile `json:"managedOutboundIPProfile,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterNATGatewayProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterNATGatewayProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterNATGatewayProfile_ARM{}
+
+ // Set property "EffectiveOutboundIPs":
+ for _, item := range profile.EffectiveOutboundIPs {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.EffectiveOutboundIPs = append(result.EffectiveOutboundIPs, *item_ARM.(*ResourceReference_ARM))
+ }
+
+ // Set property "IdleTimeoutInMinutes":
+ if profile.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinutes := *profile.IdleTimeoutInMinutes
+ result.IdleTimeoutInMinutes = &idleTimeoutInMinutes
+ }
+
+ // Set property "ManagedOutboundIPProfile":
+ if profile.ManagedOutboundIPProfile != nil {
+ managedOutboundIPProfile_ARM, err := (*profile.ManagedOutboundIPProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ managedOutboundIPProfile := *managedOutboundIPProfile_ARM.(*ManagedClusterManagedOutboundIPProfile_ARM)
+ result.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterNATGatewayProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterNATGatewayProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterNATGatewayProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterNATGatewayProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterNATGatewayProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "EffectiveOutboundIPs":
+ for _, item := range typedInput.EffectiveOutboundIPs {
+ var item1 ResourceReference
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.EffectiveOutboundIPs = append(profile.EffectiveOutboundIPs, item1)
+ }
+
+ // Set property "IdleTimeoutInMinutes":
+ if typedInput.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinutes := *typedInput.IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = &idleTimeoutInMinutes
+ }
+
+ // Set property "ManagedOutboundIPProfile":
+ if typedInput.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile1 ManagedClusterManagedOutboundIPProfile
+ err := managedOutboundIPProfile1.PopulateFromARM(owner, *typedInput.ManagedOutboundIPProfile)
+ if err != nil {
+ return err
+ }
+ managedOutboundIPProfile := managedOutboundIPProfile1
+ profile.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ if source.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinute := *source.IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = &idleTimeoutInMinute
+ } else {
+ profile.IdleTimeoutInMinutes = nil
+ }
+
+ // ManagedOutboundIPProfile
+ if source.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile ManagedClusterManagedOutboundIPProfile
+ err := managedOutboundIPProfile.AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source.ManagedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
+ }
+ profile.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ profile.ManagedOutboundIPProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ if profile.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinute := *profile.IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = &idleTimeoutInMinute
+ } else {
+ destination.IdleTimeoutInMinutes = nil
+ }
+
+ // ManagedOutboundIPProfile
+ if profile.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
+ err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
+ }
+ destination.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ destination.ManagedOutboundIPProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed cluster NAT gateway.
+type ManagedClusterNATGatewayProfile_STATUS struct {
+ // EffectiveOutboundIPs: The effective outbound IP resources of the cluster NAT gateway.
+ EffectiveOutboundIPs []ResourceReference_STATUS `json:"effectiveOutboundIPs,omitempty"`
+
+ // IdleTimeoutInMinutes: Desired outbound flow idle timeout in minutes. Allowed values are in the range of 4 to 120
+ // (inclusive). The default value is 4 minutes.
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+
+ // ManagedOutboundIPProfile: Profile of the managed outbound IP resources of the cluster NAT gateway.
+ ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile_STATUS `json:"managedOutboundIPProfile,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterNATGatewayProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterNATGatewayProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterNATGatewayProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterNATGatewayProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterNATGatewayProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterNATGatewayProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "EffectiveOutboundIPs":
+ for _, item := range typedInput.EffectiveOutboundIPs {
+ var item1 ResourceReference_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.EffectiveOutboundIPs = append(profile.EffectiveOutboundIPs, item1)
+ }
+
+ // Set property "IdleTimeoutInMinutes":
+ if typedInput.IdleTimeoutInMinutes != nil {
+ idleTimeoutInMinutes := *typedInput.IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = &idleTimeoutInMinutes
+ }
+
+ // Set property "ManagedOutboundIPProfile":
+ if typedInput.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile1 ManagedClusterManagedOutboundIPProfile_STATUS
+ err := managedOutboundIPProfile1.PopulateFromARM(owner, *typedInput.ManagedOutboundIPProfile)
+ if err != nil {
+ return err
+ }
+ managedOutboundIPProfile := managedOutboundIPProfile1
+ profile.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference_STATUS, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference_STATUS
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference_STATUS(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(source.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPProfile
+ if source.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile ManagedClusterManagedOutboundIPProfile_STATUS
+ err := managedOutboundIPProfile.AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source.ManagedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
+ }
+ profile.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ profile.ManagedOutboundIPProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference_STATUS
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(profile.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPProfile
+ if profile.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
+ err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
+ }
+ destination.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ destination.ManagedOutboundIPProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"Auto","Manual"}
+type ManagedClusterNodeProvisioningProfile_Mode string
+
+const (
+ ManagedClusterNodeProvisioningProfile_Mode_Auto = ManagedClusterNodeProvisioningProfile_Mode("Auto")
+ ManagedClusterNodeProvisioningProfile_Mode_Manual = ManagedClusterNodeProvisioningProfile_Mode("Manual")
+)
+
+// Mapping from string to ManagedClusterNodeProvisioningProfile_Mode
+var managedClusterNodeProvisioningProfile_Mode_Values = map[string]ManagedClusterNodeProvisioningProfile_Mode{
+ "auto": ManagedClusterNodeProvisioningProfile_Mode_Auto,
+ "manual": ManagedClusterNodeProvisioningProfile_Mode_Manual,
+}
+
+type ManagedClusterNodeProvisioningProfile_Mode_STATUS string
+
+const (
+ ManagedClusterNodeProvisioningProfile_Mode_STATUS_Auto = ManagedClusterNodeProvisioningProfile_Mode_STATUS("Auto")
+ ManagedClusterNodeProvisioningProfile_Mode_STATUS_Manual = ManagedClusterNodeProvisioningProfile_Mode_STATUS("Manual")
+)
+
+// Mapping from string to ManagedClusterNodeProvisioningProfile_Mode_STATUS
+var managedClusterNodeProvisioningProfile_Mode_STATUS_Values = map[string]ManagedClusterNodeProvisioningProfile_Mode_STATUS{
+ "auto": ManagedClusterNodeProvisioningProfile_Mode_STATUS_Auto,
+ "manual": ManagedClusterNodeProvisioningProfile_Mode_STATUS_Manual,
+}
+
+// +kubebuilder:validation:Enum={"ReadOnly","Unrestricted"}
+type ManagedClusterNodeResourceGroupProfile_RestrictionLevel string
+
+const (
+ ManagedClusterNodeResourceGroupProfile_RestrictionLevel_ReadOnly = ManagedClusterNodeResourceGroupProfile_RestrictionLevel("ReadOnly")
+ ManagedClusterNodeResourceGroupProfile_RestrictionLevel_Unrestricted = ManagedClusterNodeResourceGroupProfile_RestrictionLevel("Unrestricted")
+)
+
+// Mapping from string to ManagedClusterNodeResourceGroupProfile_RestrictionLevel
+var managedClusterNodeResourceGroupProfile_RestrictionLevel_Values = map[string]ManagedClusterNodeResourceGroupProfile_RestrictionLevel{
+ "readonly": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_ReadOnly,
+ "unrestricted": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_Unrestricted,
+}
+
+type ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS string
+
+const (
+ ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_ReadOnly = ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS("ReadOnly")
+ ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Unrestricted = ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS("Unrestricted")
+)
+
+// Mapping from string to ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS
+var managedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Values = map[string]ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS{
+ "readonly": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_ReadOnly,
+ "unrestricted": ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS_Unrestricted,
+}
+
+type ManagedClusterOperatorConfigMaps struct {
+ // OIDCIssuerProfile: indicates where the OIDCIssuerProfile config map should be placed. If omitted, no config map will be
+ // created.
+ OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
+
+ // OIDCIssuerProfile
+ if source.OIDCIssuerProfile != nil {
+ oidcIssuerProfile := source.OIDCIssuerProfile.Copy()
+ maps.OIDCIssuerProfile = &oidcIssuerProfile
+ } else {
+ maps.OIDCIssuerProfile = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // OIDCIssuerProfile
+ if maps.OIDCIssuerProfile != nil {
+ oidcIssuerProfile := maps.OIDCIssuerProfile.Copy()
+ destination.OIDCIssuerProfile = &oidcIssuerProfile
+ } else {
+ destination.OIDCIssuerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterOperatorSecrets struct {
+ // AdminCredentials: indicates where the AdminCredentials secret should be placed. If omitted, the secret will not be
+ // retrieved from Azure.
+ AdminCredentials *genruntime.SecretDestination `json:"adminCredentials,omitempty"`
+
+ // UserCredentials: indicates where the UserCredentials secret should be placed. If omitted, the secret will not be
+ // retrieved from Azure.
+ UserCredentials *genruntime.SecretDestination `json:"userCredentials,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
+
+ // AdminCredentials
+ if source.AdminCredentials != nil {
+ adminCredential := source.AdminCredentials.Copy()
+ secrets.AdminCredentials = &adminCredential
+ } else {
+ secrets.AdminCredentials = nil
+ }
+
+ // UserCredentials
+ if source.UserCredentials != nil {
+ userCredential := source.UserCredentials.Copy()
+ secrets.UserCredentials = &userCredential
+ } else {
+ secrets.UserCredentials = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AdminCredentials
+ if secrets.AdminCredentials != nil {
+ adminCredential := secrets.AdminCredentials.Copy()
+ destination.AdminCredentials = &adminCredential
+ } else {
+ destination.AdminCredentials = nil
+ }
+
+ // UserCredentials
+ if secrets.UserCredentials != nil {
+ userCredential := secrets.UserCredentials.Copy()
+ destination.UserCredentials = &userCredential
+ } else {
+ destination.UserCredentials = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Details about the pod identity assigned to the Managed Cluster.
+type ManagedClusterPodIdentity struct {
+ // BindingSelector: The binding selector to use for the AzureIdentityBinding resource.
+ BindingSelector *string `json:"bindingSelector,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Identity: The user assigned identity details.
+ Identity *UserAssignedIdentity `json:"identity,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Name: The name of the pod identity.
+ Name *string `json:"name,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Namespace: The namespace of the pod identity.
+ Namespace *string `json:"namespace,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterPodIdentity{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (identity *ManagedClusterPodIdentity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if identity == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterPodIdentity_ARM{}
+
+ // Set property "BindingSelector":
+ if identity.BindingSelector != nil {
+ bindingSelector := *identity.BindingSelector
+ result.BindingSelector = &bindingSelector
+ }
+
+ // Set property "Identity":
+ if identity.Identity != nil {
+ identity_ARM, err := (*identity.Identity).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ identity1 := *identity_ARM.(*UserAssignedIdentity_ARM)
+ result.Identity = &identity1
+ }
+
+ // Set property "Name":
+ if identity.Name != nil {
+ name := *identity.Name
+ result.Name = &name
+ }
+
+ // Set property "Namespace":
+ if identity.Namespace != nil {
+ namespace := *identity.Namespace
+ result.Namespace = &namespace
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *ManagedClusterPodIdentity) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentity_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *ManagedClusterPodIdentity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentity_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentity_ARM, got %T", armInput)
+ }
+
+ // Set property "BindingSelector":
+ if typedInput.BindingSelector != nil {
+ bindingSelector := *typedInput.BindingSelector
+ identity.BindingSelector = &bindingSelector
+ }
+
+ // Set property "Identity":
+ if typedInput.Identity != nil {
+ var identity2 UserAssignedIdentity
+ err := identity2.PopulateFromARM(owner, *typedInput.Identity)
+ if err != nil {
+ return err
+ }
+ identity1 := identity2
+ identity.Identity = &identity1
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ identity.Name = &name
+ }
+
+ // Set property "Namespace":
+ if typedInput.Namespace != nil {
+ namespace := *typedInput.Namespace
+ identity.Namespace = &namespace
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
+
+ // BindingSelector
+ identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
+
+ // Identity
+ if source.Identity != nil {
+ var identityLocal UserAssignedIdentity
+ err := identityLocal.AssignProperties_From_UserAssignedIdentity(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity() to populate field Identity")
+ }
+ identity.Identity = &identityLocal
+ } else {
+ identity.Identity = nil
+ }
+
+ // Name
+ identity.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ identity.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // BindingSelector
+ destination.BindingSelector = genruntime.ClonePointerToString(identity.BindingSelector)
+
+ // Identity
+ if identity.Identity != nil {
+ var identityLocal storage.UserAssignedIdentity
+ err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
+ }
+ destination.Identity = &identityLocal
+ } else {
+ destination.Identity = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(identity.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(identity.Namespace)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Details about the pod identity assigned to the Managed Cluster.
+type ManagedClusterPodIdentity_STATUS struct {
+ // BindingSelector: The binding selector to use for the AzureIdentityBinding resource.
+ BindingSelector *string `json:"bindingSelector,omitempty"`
+
+ // Identity: The user assigned identity details.
+ Identity *UserAssignedIdentity_STATUS `json:"identity,omitempty"`
+
+ // Name: The name of the pod identity.
+ Name *string `json:"name,omitempty"`
+
+ // Namespace: The namespace of the pod identity.
+ Namespace *string `json:"namespace,omitempty"`
+ ProvisioningInfo *ManagedClusterPodIdentity_ProvisioningInfo_STATUS `json:"provisioningInfo,omitempty"`
+
+ // ProvisioningState: The current provisioning state of the pod identity.
+ ProvisioningState *ManagedClusterPodIdentity_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentity_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *ManagedClusterPodIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentity_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *ManagedClusterPodIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentity_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentity_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "BindingSelector":
+ if typedInput.BindingSelector != nil {
+ bindingSelector := *typedInput.BindingSelector
+ identity.BindingSelector = &bindingSelector
+ }
+
+ // Set property "Identity":
+ if typedInput.Identity != nil {
+ var identity2 UserAssignedIdentity_STATUS
+ err := identity2.PopulateFromARM(owner, *typedInput.Identity)
+ if err != nil {
+ return err
+ }
+ identity1 := identity2
+ identity.Identity = &identity1
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ identity.Name = &name
+ }
+
+ // Set property "Namespace":
+ if typedInput.Namespace != nil {
+ namespace := *typedInput.Namespace
+ identity.Namespace = &namespace
+ }
+
+ // Set property "ProvisioningInfo":
+ if typedInput.ProvisioningInfo != nil {
+ var provisioningInfo1 ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ err := provisioningInfo1.PopulateFromARM(owner, *typedInput.ProvisioningInfo)
+ if err != nil {
+ return err
+ }
+ provisioningInfo := provisioningInfo1
+ identity.ProvisioningInfo = &provisioningInfo
+ }
+
+ // Set property "ProvisioningState":
+ if typedInput.ProvisioningState != nil {
+ provisioningState := *typedInput.ProvisioningState
+ identity.ProvisioningState = &provisioningState
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
+
+ // BindingSelector
+ identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
+
+ // Identity
+ if source.Identity != nil {
+ var identityLocal UserAssignedIdentity_STATUS
+ err := identityLocal.AssignProperties_From_UserAssignedIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ identity.Identity = &identityLocal
+ } else {
+ identity.Identity = nil
+ }
+
+ // Name
+ identity.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ identity.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // ProvisioningInfo
+ if source.ProvisioningInfo != nil {
+ var provisioningInfo ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ err := provisioningInfo.AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source.ProvisioningInfo)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
+ }
+ identity.ProvisioningInfo = &provisioningInfo
+ } else {
+ identity.ProvisioningInfo = nil
+ }
+
+ // ProvisioningState
+ if source.ProvisioningState != nil {
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, managedClusterPodIdentity_ProvisioningState_STATUS_Values)
+ identity.ProvisioningState = &provisioningStateTemp
+ } else {
+ identity.ProvisioningState = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // BindingSelector
+ destination.BindingSelector = genruntime.ClonePointerToString(identity.BindingSelector)
+
+ // Identity
+ if identity.Identity != nil {
+ var identityLocal storage.UserAssignedIdentity_STATUS
+ err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identityLocal
+ } else {
+ destination.Identity = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(identity.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(identity.Namespace)
+
+ // ProvisioningInfo
+ if identity.ProvisioningInfo != nil {
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
+ }
+ destination.ProvisioningInfo = &provisioningInfo
+ } else {
+ destination.ProvisioningInfo = nil
+ }
+
+ // ProvisioningState
+ if identity.ProvisioningState != nil {
+ provisioningState := string(*identity.ProvisioningState)
+ destination.ProvisioningState = &provisioningState
+ } else {
+ destination.ProvisioningState = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// See [disable AAD Pod Identity for a specific
+// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
+type ManagedClusterPodIdentityException struct {
+ // +kubebuilder:validation:Required
+ // Name: The name of the pod identity exception.
+ Name *string `json:"name,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Namespace: The namespace of the pod identity exception.
+ Namespace *string `json:"namespace,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // PodLabels: The pod labels to match.
+ PodLabels map[string]string `json:"podLabels,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterPodIdentityException{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (exception *ManagedClusterPodIdentityException) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if exception == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterPodIdentityException_ARM{}
+
+ // Set property "Name":
+ if exception.Name != nil {
+ name := *exception.Name
+ result.Name = &name
+ }
+
+ // Set property "Namespace":
+ if exception.Namespace != nil {
+ namespace := *exception.Namespace
+ result.Namespace = &namespace
+ }
+
+ // Set property "PodLabels":
+ if exception.PodLabels != nil {
+ result.PodLabels = make(map[string]string, len(exception.PodLabels))
+ for key, value := range exception.PodLabels {
+ result.PodLabels[key] = value
+ }
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (exception *ManagedClusterPodIdentityException) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityException_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (exception *ManagedClusterPodIdentityException) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityException_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityException_ARM, got %T", armInput)
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ exception.Name = &name
+ }
+
+ // Set property "Namespace":
+ if typedInput.Namespace != nil {
+ namespace := *typedInput.Namespace
+ exception.Namespace = &namespace
+ }
+
+ // Set property "PodLabels":
+ if typedInput.PodLabels != nil {
+ exception.PodLabels = make(map[string]string, len(typedInput.PodLabels))
+ for key, value := range typedInput.PodLabels {
+ exception.PodLabels[key] = value
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
+
+ // Name
+ exception.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ exception.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // PodLabels
+ exception.PodLabels = genruntime.CloneMapOfStringToString(source.PodLabels)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(exception.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(exception.Namespace)
+
+ // PodLabels
+ destination.PodLabels = genruntime.CloneMapOfStringToString(exception.PodLabels)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// See [disable AAD Pod Identity for a specific
+// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
+type ManagedClusterPodIdentityException_STATUS struct {
+ // Name: The name of the pod identity exception.
+ Name *string `json:"name,omitempty"`
+
+ // Namespace: The namespace of the pod identity exception.
+ Namespace *string `json:"namespace,omitempty"`
+
+ // PodLabels: The pod labels to match.
+ PodLabels map[string]string `json:"podLabels,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentityException_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (exception *ManagedClusterPodIdentityException_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityException_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (exception *ManagedClusterPodIdentityException_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityException_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityException_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ exception.Name = &name
+ }
+
+ // Set property "Namespace":
+ if typedInput.Namespace != nil {
+ namespace := *typedInput.Namespace
+ exception.Namespace = &namespace
+ }
+
+ // Set property "PodLabels":
+ if typedInput.PodLabels != nil {
+ exception.PodLabels = make(map[string]string, len(typedInput.PodLabels))
+ for key, value := range typedInput.PodLabels {
+ exception.PodLabels[key] = value
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
+
+ // Name
+ exception.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ exception.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // PodLabels
+ exception.PodLabels = genruntime.CloneMapOfStringToString(source.PodLabels)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(exception.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(exception.Namespace)
+
+ // PodLabels
+ destination.PodLabels = genruntime.CloneMapOfStringToString(exception.PodLabels)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:MaxItems=10
+// +kubebuilder:validation:MinItems=0
+type ManagedClusterSecurityProfileCustomCATrustCertificates []string
+
+// Microsoft Defender settings for the security profile.
+type ManagedClusterSecurityProfileDefender struct {
+ // LogAnalyticsWorkspaceResourceReference: Resource ID of the Log Analytics workspace to be associated with Microsoft
+ // Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When
+ // Microsoft Defender is disabled, leave the field empty.
+ LogAnalyticsWorkspaceResourceReference *genruntime.ResourceReference `armReference:"LogAnalyticsWorkspaceResourceId" json:"logAnalyticsWorkspaceResourceReference,omitempty"`
+
+ // SecurityMonitoring: Microsoft Defender threat detection for Cloud settings for the security profile.
+ SecurityMonitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring `json:"securityMonitoring,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfileDefender{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (defender *ManagedClusterSecurityProfileDefender) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if defender == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfileDefender_ARM{}
+
+ // Set property "LogAnalyticsWorkspaceResourceId":
+ if defender.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReferenceARMID, err := resolved.ResolvedReferences.Lookup(*defender.LogAnalyticsWorkspaceResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ logAnalyticsWorkspaceResourceReference := logAnalyticsWorkspaceResourceReferenceARMID
+ result.LogAnalyticsWorkspaceResourceId = &logAnalyticsWorkspaceResourceReference
+ }
+
+ // Set property "SecurityMonitoring":
+ if defender.SecurityMonitoring != nil {
+ securityMonitoring_ARM, err := (*defender.SecurityMonitoring).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ securityMonitoring := *securityMonitoring_ARM.(*ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM)
+ result.SecurityMonitoring = &securityMonitoring
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (defender *ManagedClusterSecurityProfileDefender) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileDefender_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (defender *ManagedClusterSecurityProfileDefender) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileDefender_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileDefender_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "LogAnalyticsWorkspaceResourceReference"
+
+ // Set property "SecurityMonitoring":
+ if typedInput.SecurityMonitoring != nil {
+ var securityMonitoring1 ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ err := securityMonitoring1.PopulateFromARM(owner, *typedInput.SecurityMonitoring)
+ if err != nil {
+ return err
+ }
+ securityMonitoring := securityMonitoring1
+ defender.SecurityMonitoring = &securityMonitoring
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
+
+ // LogAnalyticsWorkspaceResourceReference
+ if source.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := source.LogAnalyticsWorkspaceResourceReference.Copy()
+ defender.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ defender.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SecurityMonitoring
+ if source.SecurityMonitoring != nil {
+ var securityMonitoring ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ err := securityMonitoring.AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source.SecurityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
+ }
+ defender.SecurityMonitoring = &securityMonitoring
+ } else {
+ defender.SecurityMonitoring = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // LogAnalyticsWorkspaceResourceReference
+ if defender.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := defender.LogAnalyticsWorkspaceResourceReference.Copy()
+ destination.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ destination.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SecurityMonitoring
+ if defender.SecurityMonitoring != nil {
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
+ }
+ destination.SecurityMonitoring = &securityMonitoring
+ } else {
+ destination.SecurityMonitoring = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Microsoft Defender settings for the security profile.
+type ManagedClusterSecurityProfileDefender_STATUS struct {
+ // LogAnalyticsWorkspaceResourceId: Resource ID of the Log Analytics workspace to be associated with Microsoft Defender.
+ // When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When Microsoft
+ // Defender is disabled, leave the field empty.
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+
+ // SecurityMonitoring: Microsoft Defender threat detection for Cloud settings for the security profile.
+ SecurityMonitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS `json:"securityMonitoring,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfileDefender_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileDefender_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileDefender_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileDefender_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "LogAnalyticsWorkspaceResourceId":
+ if typedInput.LogAnalyticsWorkspaceResourceId != nil {
+ logAnalyticsWorkspaceResourceId := *typedInput.LogAnalyticsWorkspaceResourceId
+ defender.LogAnalyticsWorkspaceResourceId = &logAnalyticsWorkspaceResourceId
+ }
+
+ // Set property "SecurityMonitoring":
+ if typedInput.SecurityMonitoring != nil {
+ var securityMonitoring1 ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ err := securityMonitoring1.PopulateFromARM(owner, *typedInput.SecurityMonitoring)
+ if err != nil {
+ return err
+ }
+ securityMonitoring := securityMonitoring1
+ defender.SecurityMonitoring = &securityMonitoring
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
+
+ // LogAnalyticsWorkspaceResourceId
+ defender.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
+
+ // SecurityMonitoring
+ if source.SecurityMonitoring != nil {
+ var securityMonitoring ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ err := securityMonitoring.AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source.SecurityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
+ }
+ defender.SecurityMonitoring = &securityMonitoring
+ } else {
+ defender.SecurityMonitoring = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // LogAnalyticsWorkspaceResourceId
+ destination.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(defender.LogAnalyticsWorkspaceResourceId)
+
+ // SecurityMonitoring
+ if defender.SecurityMonitoring != nil {
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
+ }
+ destination.SecurityMonitoring = &securityMonitoring
+ } else {
+ destination.SecurityMonitoring = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here
+// are settings for the security profile.
+type ManagedClusterSecurityProfileImageCleaner struct {
+ // Enabled: Whether to enable Image Cleaner on AKS cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IntervalHours: Image Cleaner scanning interval in hours.
+ IntervalHours *int `json:"intervalHours,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfileImageCleaner{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if cleaner == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfileImageCleaner_ARM{}
+
+ // Set property "Enabled":
+ if cleaner.Enabled != nil {
+ enabled := *cleaner.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "IntervalHours":
+ if cleaner.IntervalHours != nil {
+ intervalHours := *cleaner.IntervalHours
+ result.IntervalHours = &intervalHours
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileImageCleaner_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileImageCleaner_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileImageCleaner_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ cleaner.Enabled = &enabled
+ }
+
+ // Set property "IntervalHours":
+ if typedInput.IntervalHours != nil {
+ intervalHours := *typedInput.IntervalHours
+ cleaner.IntervalHours = &intervalHours
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ cleaner.Enabled = &enabled
+ } else {
+ cleaner.Enabled = nil
+ }
+
+ // IntervalHours
+ cleaner.IntervalHours = genruntime.ClonePointerToInt(source.IntervalHours)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if cleaner.Enabled != nil {
+ enabled := *cleaner.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IntervalHours
+ destination.IntervalHours = genruntime.ClonePointerToInt(cleaner.IntervalHours)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here
+// are settings for the security profile.
+type ManagedClusterSecurityProfileImageCleaner_STATUS struct {
+ // Enabled: Whether to enable Image Cleaner on AKS cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // IntervalHours: Image Cleaner scanning interval in hours.
+ IntervalHours *int `json:"intervalHours,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfileImageCleaner_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileImageCleaner_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileImageCleaner_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileImageCleaner_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ cleaner.Enabled = &enabled
+ }
+
+ // Set property "IntervalHours":
+ if typedInput.IntervalHours != nil {
+ intervalHours := *typedInput.IntervalHours
+ cleaner.IntervalHours = &intervalHours
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ cleaner.Enabled = &enabled
+ } else {
+ cleaner.Enabled = nil
+ }
+
+ // IntervalHours
+ cleaner.IntervalHours = genruntime.ClonePointerToInt(source.IntervalHours)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if cleaner.Enabled != nil {
+ enabled := *cleaner.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IntervalHours
+ destination.IntervalHours = genruntime.ClonePointerToInt(cleaner.IntervalHours)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Image integrity related settings for the security profile.
+type ManagedClusterSecurityProfileImageIntegrity struct {
+ // Enabled: Whether to enable image integrity. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfileImageIntegrity{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if integrity == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfileImageIntegrity_ARM{}
+
+ // Set property "Enabled":
+ if integrity.Enabled != nil {
+ enabled := *integrity.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileImageIntegrity_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileImageIntegrity_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileImageIntegrity_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ integrity.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity populates our ManagedClusterSecurityProfileImageIntegrity from the provided source ManagedClusterSecurityProfileImageIntegrity
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity(source *storage.ManagedClusterSecurityProfileImageIntegrity) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ integrity.Enabled = &enabled
+ } else {
+ integrity.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity populates the provided destination ManagedClusterSecurityProfileImageIntegrity from our ManagedClusterSecurityProfileImageIntegrity
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(destination *storage.ManagedClusterSecurityProfileImageIntegrity) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if integrity.Enabled != nil {
+ enabled := *integrity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Image integrity related settings for the security profile.
+type ManagedClusterSecurityProfileImageIntegrity_STATUS struct {
+ // Enabled: Whether to enable image integrity. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfileImageIntegrity_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ integrity.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS populates our ManagedClusterSecurityProfileImageIntegrity_STATUS from the provided source ManagedClusterSecurityProfileImageIntegrity_STATUS
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS(source *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ integrity.Enabled = &enabled
+ } else {
+ integrity.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS populates the provided destination ManagedClusterSecurityProfileImageIntegrity_STATUS from our ManagedClusterSecurityProfileImageIntegrity_STATUS
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(destination *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if integrity.Enabled != nil {
+ enabled := *integrity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Node Restriction settings for the security profile.
+type ManagedClusterSecurityProfileNodeRestriction struct {
+ // Enabled: Whether to enable Node Restriction
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfileNodeRestriction{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if restriction == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfileNodeRestriction_ARM{}
+
+ // Set property "Enabled":
+ if restriction.Enabled != nil {
+ enabled := *restriction.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileNodeRestriction_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileNodeRestriction_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileNodeRestriction_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ restriction.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction populates our ManagedClusterSecurityProfileNodeRestriction from the provided source ManagedClusterSecurityProfileNodeRestriction
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source *storage.ManagedClusterSecurityProfileNodeRestriction) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ restriction.Enabled = &enabled
+ } else {
+ restriction.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction populates the provided destination ManagedClusterSecurityProfileNodeRestriction from our ManagedClusterSecurityProfileNodeRestriction
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(destination *storage.ManagedClusterSecurityProfileNodeRestriction) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if restriction.Enabled != nil {
+ enabled := *restriction.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Node Restriction settings for the security profile.
+type ManagedClusterSecurityProfileNodeRestriction_STATUS struct {
+ // Enabled: Whether to enable Node Restriction
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfileNodeRestriction_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ restriction.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS populates our ManagedClusterSecurityProfileNodeRestriction_STATUS from the provided source ManagedClusterSecurityProfileNodeRestriction_STATUS
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ restriction.Enabled = &enabled
+ } else {
+ restriction.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS populates the provided destination ManagedClusterSecurityProfileNodeRestriction_STATUS from our ManagedClusterSecurityProfileNodeRestriction_STATUS
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(destination *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if restriction.Enabled != nil {
+ enabled := *restriction.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Workload identity settings for the security profile.
+type ManagedClusterSecurityProfileWorkloadIdentity struct {
+ // Enabled: Whether to enable workload identity.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfileWorkloadIdentity{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if identity == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfileWorkloadIdentity_ARM{}
+
+ // Set property "Enabled":
+ if identity.Enabled != nil {
+ enabled := *identity.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileWorkloadIdentity_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileWorkloadIdentity_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileWorkloadIdentity_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ identity.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ identity.Enabled = &enabled
+ } else {
+ identity.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if identity.Enabled != nil {
+ enabled := *identity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Workload identity settings for the security profile.
+type ManagedClusterSecurityProfileWorkloadIdentity_STATUS struct {
+ // Enabled: Whether to enable workload identity.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfileWorkloadIdentity_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ identity.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ identity.Enabled = &enabled
+ } else {
+ identity.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if identity.Enabled != nil {
+ enabled := *identity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The Static Egress Gateway addon configuration for the cluster.
+type ManagedClusterStaticEgressGatewayProfile struct {
+ // Enabled: Indicates if Static Egress Gateway addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterStaticEgressGatewayProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterStaticEgressGatewayProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterStaticEgressGatewayProfile_ARM{}
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterStaticEgressGatewayProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStaticEgressGatewayProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterStaticEgressGatewayProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStaticEgressGatewayProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStaticEgressGatewayProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStaticEgressGatewayProfile populates our ManagedClusterStaticEgressGatewayProfile from the provided source ManagedClusterStaticEgressGatewayProfile
+func (profile *ManagedClusterStaticEgressGatewayProfile) AssignProperties_From_ManagedClusterStaticEgressGatewayProfile(source *storage.ManagedClusterStaticEgressGatewayProfile) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStaticEgressGatewayProfile populates the provided destination ManagedClusterStaticEgressGatewayProfile from our ManagedClusterStaticEgressGatewayProfile
+func (profile *ManagedClusterStaticEgressGatewayProfile) AssignProperties_To_ManagedClusterStaticEgressGatewayProfile(destination *storage.ManagedClusterStaticEgressGatewayProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The Static Egress Gateway addon configuration for the cluster.
+type ManagedClusterStaticEgressGatewayProfile_STATUS struct {
+ // Enabled: Indicates if Static Egress Gateway addon is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterStaticEgressGatewayProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterStaticEgressGatewayProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStaticEgressGatewayProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterStaticEgressGatewayProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStaticEgressGatewayProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStaticEgressGatewayProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStaticEgressGatewayProfile_STATUS populates our ManagedClusterStaticEgressGatewayProfile_STATUS from the provided source ManagedClusterStaticEgressGatewayProfile_STATUS
+func (profile *ManagedClusterStaticEgressGatewayProfile_STATUS) AssignProperties_From_ManagedClusterStaticEgressGatewayProfile_STATUS(source *storage.ManagedClusterStaticEgressGatewayProfile_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStaticEgressGatewayProfile_STATUS populates the provided destination ManagedClusterStaticEgressGatewayProfile_STATUS from our ManagedClusterStaticEgressGatewayProfile_STATUS
+func (profile *ManagedClusterStaticEgressGatewayProfile_STATUS) AssignProperties_To_ManagedClusterStaticEgressGatewayProfile_STATUS(destination *storage.ManagedClusterStaticEgressGatewayProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AzureBlob CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileBlobCSIDriver struct {
+ // Enabled: Whether to enable AzureBlob CSI Driver. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterStorageProfileBlobCSIDriver{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if driver == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterStorageProfileBlobCSIDriver_ARM{}
+
+ // Set property "Enabled":
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileBlobCSIDriver_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileBlobCSIDriver_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileBlobCSIDriver_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ driver.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AzureBlob CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileBlobCSIDriver_STATUS struct {
+ // Enabled: Whether to enable AzureBlob CSI Driver. The default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterStorageProfileBlobCSIDriver_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ driver.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AzureDisk CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileDiskCSIDriver struct {
+ // Enabled: Whether to enable AzureDisk CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Version: The version of AzureDisk CSI Driver. The default value is v1.
+ Version *string `json:"version,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterStorageProfileDiskCSIDriver{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if driver == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterStorageProfileDiskCSIDriver_ARM{}
+
+ // Set property "Enabled":
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "Version":
+ if driver.Version != nil {
+ version := *driver.Version
+ result.Version = &version
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileDiskCSIDriver_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileDiskCSIDriver_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileDiskCSIDriver_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ driver.Enabled = &enabled
+ }
+
+ // Set property "Version":
+ if typedInput.Version != nil {
+ version := *typedInput.Version
+ driver.Version = &version
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Version
+ driver.Version = genruntime.ClonePointerToString(source.Version)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(driver.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AzureDisk CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileDiskCSIDriver_STATUS struct {
+ // Enabled: Whether to enable AzureDisk CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Version: The version of AzureDisk CSI Driver. The default value is v1.
+ Version *string `json:"version,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterStorageProfileDiskCSIDriver_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ driver.Enabled = &enabled
+ }
+
+ // Set property "Version":
+ if typedInput.Version != nil {
+ version := *typedInput.Version
+ driver.Version = &version
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Version
+ driver.Version = genruntime.ClonePointerToString(source.Version)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(driver.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AzureFile CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileFileCSIDriver struct {
+ // Enabled: Whether to enable AzureFile CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterStorageProfileFileCSIDriver{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (driver *ManagedClusterStorageProfileFileCSIDriver) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if driver == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterStorageProfileFileCSIDriver_ARM{}
+
+ // Set property "Enabled":
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (driver *ManagedClusterStorageProfileFileCSIDriver) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileFileCSIDriver_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (driver *ManagedClusterStorageProfileFileCSIDriver) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileFileCSIDriver_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileFileCSIDriver_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ driver.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AzureFile CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileFileCSIDriver_STATUS struct {
+ // Enabled: Whether to enable AzureFile CSI Driver. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterStorageProfileFileCSIDriver_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ driver.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Snapshot Controller settings for the storage profile.
+type ManagedClusterStorageProfileSnapshotController struct {
+ // Enabled: Whether to enable Snapshot Controller. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterStorageProfileSnapshotController{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (controller *ManagedClusterStorageProfileSnapshotController) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if controller == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterStorageProfileSnapshotController_ARM{}
+
+ // Set property "Enabled":
+ if controller.Enabled != nil {
+ enabled := *controller.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (controller *ManagedClusterStorageProfileSnapshotController) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileSnapshotController_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (controller *ManagedClusterStorageProfileSnapshotController) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileSnapshotController_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileSnapshotController_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ controller.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ controller.Enabled = &enabled
+ } else {
+ controller.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if controller.Enabled != nil {
+ enabled := *controller.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Snapshot Controller settings for the storage profile.
+type ManagedClusterStorageProfileSnapshotController_STATUS struct {
+ // Enabled: Whether to enable Snapshot Controller. The default value is true.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterStorageProfileSnapshotController_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterStorageProfileSnapshotController_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterStorageProfileSnapshotController_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterStorageProfileSnapshotController_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ controller.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ controller.Enabled = &enabled
+ } else {
+ controller.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if controller.Enabled != nil {
+ enabled := *controller.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"None","Windows_Server"}
+type ManagedClusterWindowsProfile_LicenseType string
+
+const (
+ ManagedClusterWindowsProfile_LicenseType_None = ManagedClusterWindowsProfile_LicenseType("None")
+ ManagedClusterWindowsProfile_LicenseType_Windows_Server = ManagedClusterWindowsProfile_LicenseType("Windows_Server")
+)
+
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType
+var managedClusterWindowsProfile_LicenseType_Values = map[string]ManagedClusterWindowsProfile_LicenseType{
+ "none": ManagedClusterWindowsProfile_LicenseType_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_Windows_Server,
+}
+
+type ManagedClusterWindowsProfile_LicenseType_STATUS string
+
+const (
+ ManagedClusterWindowsProfile_LicenseType_STATUS_None = ManagedClusterWindowsProfile_LicenseType_STATUS("None")
+ ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server = ManagedClusterWindowsProfile_LicenseType_STATUS("Windows_Server")
+)
+
+// Mapping from string to ManagedClusterWindowsProfile_LicenseType_STATUS
+var managedClusterWindowsProfile_LicenseType_STATUS_Values = map[string]ManagedClusterWindowsProfile_LicenseType_STATUS{
+ "none": ManagedClusterWindowsProfile_LicenseType_STATUS_None,
+ "windows_server": ManagedClusterWindowsProfile_LicenseType_STATUS_Windows_Server,
+}
+
+// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+type ManagedClusterWorkloadAutoScalerProfileKeda struct {
+ // +kubebuilder:validation:Required
+ // Enabled: Whether to enable KEDA.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterWorkloadAutoScalerProfileKeda{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if keda == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterWorkloadAutoScalerProfileKeda_ARM{}
+
+ // Set property "Enabled":
+ if keda.Enabled != nil {
+ enabled := *keda.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWorkloadAutoScalerProfileKeda_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWorkloadAutoScalerProfileKeda_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWorkloadAutoScalerProfileKeda_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ keda.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ keda.Enabled = &enabled
+ } else {
+ keda.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if keda.Enabled != nil {
+ enabled := *keda.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+type ManagedClusterWorkloadAutoScalerProfileKeda_STATUS struct {
+ // Enabled: Whether to enable KEDA.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterWorkloadAutoScalerProfileKeda_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ keda.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ keda.Enabled = &enabled
+ } else {
+ keda.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if keda.Enabled != nil {
+ enabled := *keda.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler struct {
+ // AddonAutoscaling: Whether VPA add-on is enabled and configured to scale AKS-managed add-ons.
+ AddonAutoscaling *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling `json:"addonAutoscaling,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Enabled: Whether to enable VPA add-on in cluster. Default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if autoscaler == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM{}
+
+ // Set property "AddonAutoscaling":
+ if autoscaler.AddonAutoscaling != nil {
+ addonAutoscaling := *autoscaler.AddonAutoscaling
+ result.AddonAutoscaling = &addonAutoscaling
+ }
+
+ // Set property "Enabled":
+ if autoscaler.Enabled != nil {
+ enabled := *autoscaler.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM, got %T", armInput)
+ }
+
+ // Set property "AddonAutoscaling":
+ if typedInput.AddonAutoscaling != nil {
+ addonAutoscaling := *typedInput.AddonAutoscaling
+ autoscaler.AddonAutoscaling = &addonAutoscaling
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ autoscaler.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+
+ // AddonAutoscaling
+ if source.AddonAutoscaling != nil {
+ addonAutoscaling := *source.AddonAutoscaling
+ addonAutoscalingTemp := genruntime.ToEnum(addonAutoscaling, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Values)
+ autoscaler.AddonAutoscaling = &addonAutoscalingTemp
+ } else {
+ autoscaler.AddonAutoscaling = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ autoscaler.Enabled = &enabled
+ } else {
+ autoscaler.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AddonAutoscaling
+ if autoscaler.AddonAutoscaling != nil {
+ addonAutoscaling := string(*autoscaler.AddonAutoscaling)
+ destination.AddonAutoscaling = &addonAutoscaling
+ } else {
+ destination.AddonAutoscaling = nil
+ }
+
+ // Enabled
+ if autoscaler.Enabled != nil {
+ enabled := *autoscaler.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS struct {
+ // AddonAutoscaling: Whether VPA add-on is enabled and configured to scale AKS-managed add-ons.
+ AddonAutoscaling *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS `json:"addonAutoscaling,omitempty"`
+
+ // Enabled: Whether to enable VPA add-on in cluster. Default value is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AddonAutoscaling":
+ if typedInput.AddonAutoscaling != nil {
+ addonAutoscaling := *typedInput.AddonAutoscaling
+ autoscaler.AddonAutoscaling = &addonAutoscaling
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ autoscaler.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+
+ // AddonAutoscaling
+ if source.AddonAutoscaling != nil {
+ addonAutoscaling := *source.AddonAutoscaling
+ addonAutoscalingTemp := genruntime.ToEnum(addonAutoscaling, managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Values)
+ autoscaler.AddonAutoscaling = &addonAutoscalingTemp
+ } else {
+ autoscaler.AddonAutoscaling = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ autoscaler.Enabled = &enabled
+ } else {
+ autoscaler.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AddonAutoscaling
+ if autoscaler.AddonAutoscaling != nil {
+ addonAutoscaling := string(*autoscaler.AddonAutoscaling)
+ destination.AddonAutoscaling = &addonAutoscaling
+ } else {
+ destination.AddonAutoscaling = nil
+ }
+
+ // Enabled
+ if autoscaler.Enabled != nil {
+ enabled := *autoscaler.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Network dataplane used in the Kubernetes cluster.
+// +kubebuilder:validation:Enum={"azure","cilium"}
+type NetworkDataplane string
+
+const (
+ NetworkDataplane_Azure = NetworkDataplane("azure")
+ NetworkDataplane_Cilium = NetworkDataplane("cilium")
+)
+
+// Mapping from string to NetworkDataplane
+var networkDataplane_Values = map[string]NetworkDataplane{
+ "azure": NetworkDataplane_Azure,
+ "cilium": NetworkDataplane_Cilium,
+}
+
+// Network dataplane used in the Kubernetes cluster.
+type NetworkDataplane_STATUS string
+
+const (
+ NetworkDataplane_STATUS_Azure = NetworkDataplane_STATUS("azure")
+ NetworkDataplane_STATUS_Cilium = NetworkDataplane_STATUS("cilium")
+)
+
+// Mapping from string to NetworkDataplane_STATUS
+var networkDataplane_STATUS_Values = map[string]NetworkDataplane_STATUS{
+ "azure": NetworkDataplane_STATUS_Azure,
+ "cilium": NetworkDataplane_STATUS_Cilium,
+}
+
+// This cannot be specified if networkPlugin is anything other than 'azure'.
+// +kubebuilder:validation:Enum={"bridge","transparent"}
+type NetworkMode string
+
+const (
+ NetworkMode_Bridge = NetworkMode("bridge")
+ NetworkMode_Transparent = NetworkMode("transparent")
+)
+
+// Mapping from string to NetworkMode
+var networkMode_Values = map[string]NetworkMode{
+ "bridge": NetworkMode_Bridge,
+ "transparent": NetworkMode_Transparent,
+}
+
+// This cannot be specified if networkPlugin is anything other than 'azure'.
+type NetworkMode_STATUS string
+
+const (
+ NetworkMode_STATUS_Bridge = NetworkMode_STATUS("bridge")
+ NetworkMode_STATUS_Transparent = NetworkMode_STATUS("transparent")
+)
+
+// Mapping from string to NetworkMode_STATUS
+var networkMode_STATUS_Values = map[string]NetworkMode_STATUS{
+ "bridge": NetworkMode_STATUS_Bridge,
+ "transparent": NetworkMode_STATUS_Transparent,
+}
+
+// Network plugin used for building the Kubernetes network.
+// +kubebuilder:validation:Enum={"azure","kubenet","none"}
+type NetworkPlugin string
+
+const (
+ NetworkPlugin_Azure = NetworkPlugin("azure")
+ NetworkPlugin_Kubenet = NetworkPlugin("kubenet")
+ NetworkPlugin_None = NetworkPlugin("none")
+)
+
+// Mapping from string to NetworkPlugin
+var networkPlugin_Values = map[string]NetworkPlugin{
+ "azure": NetworkPlugin_Azure,
+ "kubenet": NetworkPlugin_Kubenet,
+ "none": NetworkPlugin_None,
+}
+
+// Network plugin used for building the Kubernetes network.
+type NetworkPlugin_STATUS string
+
+const (
+ NetworkPlugin_STATUS_Azure = NetworkPlugin_STATUS("azure")
+ NetworkPlugin_STATUS_Kubenet = NetworkPlugin_STATUS("kubenet")
+ NetworkPlugin_STATUS_None = NetworkPlugin_STATUS("none")
+)
+
+// Mapping from string to NetworkPlugin_STATUS
+var networkPlugin_STATUS_Values = map[string]NetworkPlugin_STATUS{
+ "azure": NetworkPlugin_STATUS_Azure,
+ "kubenet": NetworkPlugin_STATUS_Kubenet,
+ "none": NetworkPlugin_STATUS_None,
+}
+
+// The mode the network plugin should use.
+// +kubebuilder:validation:Enum={"overlay"}
+type NetworkPluginMode string
+
+const NetworkPluginMode_Overlay = NetworkPluginMode("overlay")
+
+// Mapping from string to NetworkPluginMode
+var networkPluginMode_Values = map[string]NetworkPluginMode{
+ "overlay": NetworkPluginMode_Overlay,
+}
+
+// The mode the network plugin should use.
+type NetworkPluginMode_STATUS string
+
+const NetworkPluginMode_STATUS_Overlay = NetworkPluginMode_STATUS("overlay")
+
+// Mapping from string to NetworkPluginMode_STATUS
+var networkPluginMode_STATUS_Values = map[string]NetworkPluginMode_STATUS{
+ "overlay": NetworkPluginMode_STATUS_Overlay,
+}
+
+// Network policy used for building the Kubernetes network.
+// +kubebuilder:validation:Enum={"azure","calico","cilium","none"}
+type NetworkPolicy string
+
+const (
+ NetworkPolicy_Azure = NetworkPolicy("azure")
+ NetworkPolicy_Calico = NetworkPolicy("calico")
+ NetworkPolicy_Cilium = NetworkPolicy("cilium")
+ NetworkPolicy_None = NetworkPolicy("none")
+)
+
+// Mapping from string to NetworkPolicy
+var networkPolicy_Values = map[string]NetworkPolicy{
+ "azure": NetworkPolicy_Azure,
+ "calico": NetworkPolicy_Calico,
+ "cilium": NetworkPolicy_Cilium,
+ "none": NetworkPolicy_None,
+}
+
+// Network policy used for building the Kubernetes network.
+type NetworkPolicy_STATUS string
+
+const (
+ NetworkPolicy_STATUS_Azure = NetworkPolicy_STATUS("azure")
+ NetworkPolicy_STATUS_Calico = NetworkPolicy_STATUS("calico")
+ NetworkPolicy_STATUS_Cilium = NetworkPolicy_STATUS("cilium")
+ NetworkPolicy_STATUS_None = NetworkPolicy_STATUS("none")
+)
+
+// Mapping from string to NetworkPolicy_STATUS
+var networkPolicy_STATUS_Values = map[string]NetworkPolicy_STATUS{
+ "azure": NetworkPolicy_STATUS_Azure,
+ "calico": NetworkPolicy_STATUS_Calico,
+ "cilium": NetworkPolicy_STATUS_Cilium,
+ "none": NetworkPolicy_STATUS_None,
+}
+
+// Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods with
+// hostNetwork=false. If not specified, the default is 'IMDS'.
+// +kubebuilder:validation:Enum={"IMDS","None"}
+type PodLinkLocalAccess string
+
+const (
+ PodLinkLocalAccess_IMDS = PodLinkLocalAccess("IMDS")
+ PodLinkLocalAccess_None = PodLinkLocalAccess("None")
+)
+
+// Mapping from string to PodLinkLocalAccess
+var podLinkLocalAccess_Values = map[string]PodLinkLocalAccess{
+ "imds": PodLinkLocalAccess_IMDS,
+ "none": PodLinkLocalAccess_None,
+}
+
+// Defines access to special link local addresses (Azure Instance Metadata Service, aka IMDS) for pods with
+// hostNetwork=false. If not specified, the default is 'IMDS'.
+type PodLinkLocalAccess_STATUS string
+
+const (
+ PodLinkLocalAccess_STATUS_IMDS = PodLinkLocalAccess_STATUS("IMDS")
+ PodLinkLocalAccess_STATUS_None = PodLinkLocalAccess_STATUS("None")
+)
+
+// Mapping from string to PodLinkLocalAccess_STATUS
+var podLinkLocalAccess_STATUS_Values = map[string]PodLinkLocalAccess_STATUS{
+ "imds": PodLinkLocalAccess_STATUS_IMDS,
+ "none": PodLinkLocalAccess_STATUS_None,
+}
+
+type PowerState_Code_STATUS string
+
+const (
+ PowerState_Code_STATUS_Running = PowerState_Code_STATUS("Running")
+ PowerState_Code_STATUS_Stopped = PowerState_Code_STATUS("Stopped")
+)
+
+// Mapping from string to PowerState_Code_STATUS
+var powerState_Code_STATUS_Values = map[string]PowerState_Code_STATUS{
+ "running": PowerState_Code_STATUS_Running,
+ "stopped": PowerState_Code_STATUS_Stopped,
+}
+
+// +kubebuilder:validation:Enum={"Enforcement","Off","Warning"}
+type SafeguardsProfile_Level string
+
+const (
+ SafeguardsProfile_Level_Enforcement = SafeguardsProfile_Level("Enforcement")
+ SafeguardsProfile_Level_Off = SafeguardsProfile_Level("Off")
+ SafeguardsProfile_Level_Warning = SafeguardsProfile_Level("Warning")
+)
+
+// Mapping from string to SafeguardsProfile_Level
+var safeguardsProfile_Level_Values = map[string]SafeguardsProfile_Level{
+ "enforcement": SafeguardsProfile_Level_Enforcement,
+ "off": SafeguardsProfile_Level_Off,
+ "warning": SafeguardsProfile_Level_Warning,
+}
+
+type SafeguardsProfile_Level_STATUS string
+
+const (
+ SafeguardsProfile_Level_STATUS_Enforcement = SafeguardsProfile_Level_STATUS("Enforcement")
+ SafeguardsProfile_Level_STATUS_Off = SafeguardsProfile_Level_STATUS("Off")
+ SafeguardsProfile_Level_STATUS_Warning = SafeguardsProfile_Level_STATUS("Warning")
+)
+
+// Mapping from string to SafeguardsProfile_Level_STATUS
+var safeguardsProfile_Level_STATUS_Values = map[string]SafeguardsProfile_Level_STATUS{
+ "enforcement": SafeguardsProfile_Level_STATUS_Enforcement,
+ "off": SafeguardsProfile_Level_STATUS_Off,
+ "warning": SafeguardsProfile_Level_STATUS_Warning,
+}
+
+// +kubebuilder:validation:Enum={"Disabled","Istio"}
+type ServiceMeshProfile_Mode string
+
+const (
+ ServiceMeshProfile_Mode_Disabled = ServiceMeshProfile_Mode("Disabled")
+ ServiceMeshProfile_Mode_Istio = ServiceMeshProfile_Mode("Istio")
+)
+
+// Mapping from string to ServiceMeshProfile_Mode
+var serviceMeshProfile_Mode_Values = map[string]ServiceMeshProfile_Mode{
+ "disabled": ServiceMeshProfile_Mode_Disabled,
+ "istio": ServiceMeshProfile_Mode_Istio,
+}
+
+type ServiceMeshProfile_Mode_STATUS string
+
+const (
+ ServiceMeshProfile_Mode_STATUS_Disabled = ServiceMeshProfile_Mode_STATUS("Disabled")
+ ServiceMeshProfile_Mode_STATUS_Istio = ServiceMeshProfile_Mode_STATUS("Istio")
+)
+
+// Mapping from string to ServiceMeshProfile_Mode_STATUS
+var serviceMeshProfile_Mode_STATUS_Values = map[string]ServiceMeshProfile_Mode_STATUS{
+ "disabled": ServiceMeshProfile_Mode_STATUS_Disabled,
+ "istio": ServiceMeshProfile_Mode_STATUS_Istio,
+}
+
+// Settings for overrides when upgrading a cluster.
+type UpgradeOverrideSettings struct {
+ // ForceUpgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade
+ // protections such as checking for deprecated API usage. Enable this option only with caution.
+ ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
+
+ // Until: Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the
+ // effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set
+ // by default. It must be set for the overrides to take effect.
+ Until *string `json:"until,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &UpgradeOverrideSettings{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (settings *UpgradeOverrideSettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if settings == nil {
+ return nil, nil
+ }
+ result := &UpgradeOverrideSettings_ARM{}
+
+ // Set property "ForceUpgrade":
+ if settings.ForceUpgrade != nil {
+ forceUpgrade := *settings.ForceUpgrade
+ result.ForceUpgrade = &forceUpgrade
+ }
+
+ // Set property "Until":
+ if settings.Until != nil {
+ until := *settings.Until
+ result.Until = &until
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (settings *UpgradeOverrideSettings) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &UpgradeOverrideSettings_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (settings *UpgradeOverrideSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(UpgradeOverrideSettings_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected UpgradeOverrideSettings_ARM, got %T", armInput)
+ }
+
+ // Set property "ForceUpgrade":
+ if typedInput.ForceUpgrade != nil {
+ forceUpgrade := *typedInput.ForceUpgrade
+ settings.ForceUpgrade = &forceUpgrade
+ }
+
+ // Set property "Until":
+ if typedInput.Until != nil {
+ until := *typedInput.Until
+ settings.Until = &until
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_UpgradeOverrideSettings populates our UpgradeOverrideSettings from the provided source UpgradeOverrideSettings
+func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *storage.UpgradeOverrideSettings) error {
+
+ // ForceUpgrade
+ if source.ForceUpgrade != nil {
+ forceUpgrade := *source.ForceUpgrade
+ settings.ForceUpgrade = &forceUpgrade
+ } else {
+ settings.ForceUpgrade = nil
+ }
+
+ // Until
+ settings.Until = genruntime.ClonePointerToString(source.Until)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UpgradeOverrideSettings populates the provided destination UpgradeOverrideSettings from our UpgradeOverrideSettings
+func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *storage.UpgradeOverrideSettings) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ForceUpgrade
+ if settings.ForceUpgrade != nil {
+ forceUpgrade := *settings.ForceUpgrade
+ destination.ForceUpgrade = &forceUpgrade
+ } else {
+ destination.ForceUpgrade = nil
+ }
+
+ // Until
+ destination.Until = genruntime.ClonePointerToString(settings.Until)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Settings for overrides when upgrading a cluster.
+type UpgradeOverrideSettings_STATUS struct {
+ // ForceUpgrade: Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade
+ // protections such as checking for deprecated API usage. Enable this option only with caution.
+ ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
+
+ // Until: Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the
+ // effectiveness won't change once an upgrade starts even if the `until` expires as upgrade proceeds. This field is not set
+ // by default. It must be set for the overrides to take effect.
+ Until *string `json:"until,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &UpgradeOverrideSettings_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (settings *UpgradeOverrideSettings_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &UpgradeOverrideSettings_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (settings *UpgradeOverrideSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(UpgradeOverrideSettings_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected UpgradeOverrideSettings_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ForceUpgrade":
+ if typedInput.ForceUpgrade != nil {
+ forceUpgrade := *typedInput.ForceUpgrade
+ settings.ForceUpgrade = &forceUpgrade
+ }
+
+ // Set property "Until":
+ if typedInput.Until != nil {
+ until := *typedInput.Until
+ settings.Until = &until
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_UpgradeOverrideSettings_STATUS populates our UpgradeOverrideSettings_STATUS from the provided source UpgradeOverrideSettings_STATUS
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *storage.UpgradeOverrideSettings_STATUS) error {
+
+ // ForceUpgrade
+ if source.ForceUpgrade != nil {
+ forceUpgrade := *source.ForceUpgrade
+ settings.ForceUpgrade = &forceUpgrade
+ } else {
+ settings.ForceUpgrade = nil
+ }
+
+ // Until
+ settings.Until = genruntime.ClonePointerToString(source.Until)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UpgradeOverrideSettings_STATUS populates the provided destination UpgradeOverrideSettings_STATUS from our UpgradeOverrideSettings_STATUS
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *storage.UpgradeOverrideSettings_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ForceUpgrade
+ if settings.ForceUpgrade != nil {
+ forceUpgrade := *settings.ForceUpgrade
+ destination.ForceUpgrade = &forceUpgrade
+ } else {
+ destination.ForceUpgrade = nil
+ }
+
+ // Until
+ destination.Until = genruntime.ClonePointerToString(settings.Until)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Information about the user assigned identity for the resource
+type UserAssignedIdentityDetails struct {
+ Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
+}
+
+// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
+
+ // Reference
+ details.Reference = source.Reference.Copy()
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Reference
+ destination.Reference = details.Reference.Copy()
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Windows gMSA Profile in the managed cluster.
+type WindowsGmsaProfile struct {
+ // DnsServer: Specifies the DNS server for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ DnsServer *string `json:"dnsServer,omitempty"`
+
+ // Enabled: Specifies whether to enable Windows gMSA in the managed cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // RootDomainName: Specifies the root domain name for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ RootDomainName *string `json:"rootDomainName,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &WindowsGmsaProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *WindowsGmsaProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &WindowsGmsaProfile_ARM{}
+
+ // Set property "DnsServer":
+ if profile.DnsServer != nil {
+ dnsServer := *profile.DnsServer
+ result.DnsServer = &dnsServer
+ }
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "RootDomainName":
+ if profile.RootDomainName != nil {
+ rootDomainName := *profile.RootDomainName
+ result.RootDomainName = &rootDomainName
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *WindowsGmsaProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &WindowsGmsaProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *WindowsGmsaProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(WindowsGmsaProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected WindowsGmsaProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "DnsServer":
+ if typedInput.DnsServer != nil {
+ dnsServer := *typedInput.DnsServer
+ profile.DnsServer = &dnsServer
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // Set property "RootDomainName":
+ if typedInput.RootDomainName != nil {
+ rootDomainName := *typedInput.RootDomainName
+ profile.RootDomainName = &rootDomainName
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
+
+ // DnsServer
+ profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // RootDomainName
+ profile.RootDomainName = genruntime.ClonePointerToString(source.RootDomainName)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DnsServer
+ destination.DnsServer = genruntime.ClonePointerToString(profile.DnsServer)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // RootDomainName
+ destination.RootDomainName = genruntime.ClonePointerToString(profile.RootDomainName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Windows gMSA Profile in the managed cluster.
+type WindowsGmsaProfile_STATUS struct {
+ // DnsServer: Specifies the DNS server for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ DnsServer *string `json:"dnsServer,omitempty"`
+
+ // Enabled: Specifies whether to enable Windows gMSA in the managed cluster.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // RootDomainName: Specifies the root domain name for Windows gMSA.
+ // Set it to empty if you have configured the DNS server in the vnet which is used to create the managed cluster.
+ RootDomainName *string `json:"rootDomainName,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &WindowsGmsaProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *WindowsGmsaProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &WindowsGmsaProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *WindowsGmsaProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(WindowsGmsaProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected WindowsGmsaProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "DnsServer":
+ if typedInput.DnsServer != nil {
+ dnsServer := *typedInput.DnsServer
+ profile.DnsServer = &dnsServer
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // Set property "RootDomainName":
+ if typedInput.RootDomainName != nil {
+ rootDomainName := *typedInput.RootDomainName
+ profile.RootDomainName = &rootDomainName
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
+
+ // DnsServer
+ profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // RootDomainName
+ profile.RootDomainName = genruntime.ClonePointerToString(source.RootDomainName)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DnsServer
+ destination.DnsServer = genruntime.ClonePointerToString(profile.DnsServer)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // RootDomainName
+ destination.RootDomainName = genruntime.ClonePointerToString(profile.RootDomainName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Observability profile to enable advanced network metrics and flow logs with historical contexts.
+type AdvancedNetworkingObservability struct {
+ // Enabled: Indicates the enablement of Advanced Networking observability functionalities on clusters.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AdvancedNetworkingObservability{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (observability *AdvancedNetworkingObservability) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if observability == nil {
+ return nil, nil
+ }
+ result := &AdvancedNetworkingObservability_ARM{}
+
+ // Set property "Enabled":
+ if observability.Enabled != nil {
+ enabled := *observability.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (observability *AdvancedNetworkingObservability) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AdvancedNetworkingObservability_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (observability *AdvancedNetworkingObservability) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AdvancedNetworkingObservability_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AdvancedNetworkingObservability_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ observability.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AdvancedNetworkingObservability populates our AdvancedNetworkingObservability from the provided source AdvancedNetworkingObservability
+func (observability *AdvancedNetworkingObservability) AssignProperties_From_AdvancedNetworkingObservability(source *storage.AdvancedNetworkingObservability) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ observability.Enabled = &enabled
+ } else {
+ observability.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AdvancedNetworkingObservability populates the provided destination AdvancedNetworkingObservability from our AdvancedNetworkingObservability
+func (observability *AdvancedNetworkingObservability) AssignProperties_To_AdvancedNetworkingObservability(destination *storage.AdvancedNetworkingObservability) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if observability.Enabled != nil {
+ enabled := *observability.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Observability profile to enable advanced network metrics and flow logs with historical contexts.
+type AdvancedNetworkingObservability_STATUS struct {
+ // Enabled: Indicates the enablement of Advanced Networking observability functionalities on clusters.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AdvancedNetworkingObservability_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (observability *AdvancedNetworkingObservability_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AdvancedNetworkingObservability_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (observability *AdvancedNetworkingObservability_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AdvancedNetworkingObservability_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AdvancedNetworkingObservability_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ observability.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AdvancedNetworkingObservability_STATUS populates our AdvancedNetworkingObservability_STATUS from the provided source AdvancedNetworkingObservability_STATUS
+func (observability *AdvancedNetworkingObservability_STATUS) AssignProperties_From_AdvancedNetworkingObservability_STATUS(source *storage.AdvancedNetworkingObservability_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ observability.Enabled = &enabled
+ } else {
+ observability.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AdvancedNetworkingObservability_STATUS populates the provided destination AdvancedNetworkingObservability_STATUS from our AdvancedNetworkingObservability_STATUS
+func (observability *AdvancedNetworkingObservability_STATUS) AssignProperties_To_AdvancedNetworkingObservability_STATUS(destination *storage.AdvancedNetworkingObservability_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if observability.Enabled != nil {
+ enabled := *observability.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"Private","Public"}
+type AzureKeyVaultKms_KeyVaultNetworkAccess string
+
+const (
+ AzureKeyVaultKms_KeyVaultNetworkAccess_Private = AzureKeyVaultKms_KeyVaultNetworkAccess("Private")
+ AzureKeyVaultKms_KeyVaultNetworkAccess_Public = AzureKeyVaultKms_KeyVaultNetworkAccess("Public")
+)
+
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess
+var azureKeyVaultKms_KeyVaultNetworkAccess_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_Public,
+}
+
+type AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS string
+
+const (
+ AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Private = AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS("Private")
+ AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public = AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS("Public")
+)
+
+// Mapping from string to AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS
+var azureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Values = map[string]AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS{
+ "private": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Private,
+ "public": AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS_Public,
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig struct {
+ // Scheduler: IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html.
+ Scheduler *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler `json:"scheduler,omitempty"`
+
+ // TcpFinTimeoutSeconds: The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive
+ // integer value.
+ TcpFinTimeoutSeconds *int `json:"tcpFinTimeoutSeconds,omitempty"`
+
+ // TcpTimeoutSeconds: The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value.
+ TcpTimeoutSeconds *int `json:"tcpTimeoutSeconds,omitempty"`
+
+ // UdpTimeoutSeconds: The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value.
+ UdpTimeoutSeconds *int `json:"udpTimeoutSeconds,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if config == nil {
+ return nil, nil
+ }
+ result := &ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM{}
+
+ // Set property "Scheduler":
+ if config.Scheduler != nil {
+ scheduler := *config.Scheduler
+ result.Scheduler = &scheduler
+ }
+
+ // Set property "TcpFinTimeoutSeconds":
+ if config.TcpFinTimeoutSeconds != nil {
+ tcpFinTimeoutSeconds := *config.TcpFinTimeoutSeconds
+ result.TcpFinTimeoutSeconds = &tcpFinTimeoutSeconds
+ }
+
+ // Set property "TcpTimeoutSeconds":
+ if config.TcpTimeoutSeconds != nil {
+ tcpTimeoutSeconds := *config.TcpTimeoutSeconds
+ result.TcpTimeoutSeconds = &tcpTimeoutSeconds
+ }
+
+ // Set property "UdpTimeoutSeconds":
+ if config.UdpTimeoutSeconds != nil {
+ udpTimeoutSeconds := *config.UdpTimeoutSeconds
+ result.UdpTimeoutSeconds = &udpTimeoutSeconds
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM, got %T", armInput)
+ }
+
+ // Set property "Scheduler":
+ if typedInput.Scheduler != nil {
+ scheduler := *typedInput.Scheduler
+ config.Scheduler = &scheduler
+ }
+
+ // Set property "TcpFinTimeoutSeconds":
+ if typedInput.TcpFinTimeoutSeconds != nil {
+ tcpFinTimeoutSeconds := *typedInput.TcpFinTimeoutSeconds
+ config.TcpFinTimeoutSeconds = &tcpFinTimeoutSeconds
+ }
+
+ // Set property "TcpTimeoutSeconds":
+ if typedInput.TcpTimeoutSeconds != nil {
+ tcpTimeoutSeconds := *typedInput.TcpTimeoutSeconds
+ config.TcpTimeoutSeconds = &tcpTimeoutSeconds
+ }
+
+ // Set property "UdpTimeoutSeconds":
+ if typedInput.UdpTimeoutSeconds != nil {
+ udpTimeoutSeconds := *typedInput.UdpTimeoutSeconds
+ config.UdpTimeoutSeconds = &udpTimeoutSeconds
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+
+ // Scheduler
+ if source.Scheduler != nil {
+ scheduler := *source.Scheduler
+ schedulerTemp := genruntime.ToEnum(scheduler, containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_Values)
+ config.Scheduler = &schedulerTemp
+ } else {
+ config.Scheduler = nil
+ }
+
+ // TcpFinTimeoutSeconds
+ config.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ config.TcpTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ config.UdpTimeoutSeconds = genruntime.ClonePointerToInt(source.UdpTimeoutSeconds)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Scheduler
+ if config.Scheduler != nil {
+ scheduler := string(*config.Scheduler)
+ destination.Scheduler = &scheduler
+ } else {
+ destination.Scheduler = nil
+ }
+
+ // TcpFinTimeoutSeconds
+ destination.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ destination.TcpTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ destination.UdpTimeoutSeconds = genruntime.ClonePointerToInt(config.UdpTimeoutSeconds)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS struct {
+ // Scheduler: IPVS scheduler, for more information please see http://www.linuxvirtualserver.org/docs/scheduling.html.
+ Scheduler *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS `json:"scheduler,omitempty"`
+
+ // TcpFinTimeoutSeconds: The timeout value used for IPVS TCP sessions after receiving a FIN in seconds. Must be a positive
+ // integer value.
+ TcpFinTimeoutSeconds *int `json:"tcpFinTimeoutSeconds,omitempty"`
+
+ // TcpTimeoutSeconds: The timeout value used for idle IPVS TCP sessions in seconds. Must be a positive integer value.
+ TcpTimeoutSeconds *int `json:"tcpTimeoutSeconds,omitempty"`
+
+ // UdpTimeoutSeconds: The timeout value used for IPVS UDP packets in seconds. Must be a positive integer value.
+ UdpTimeoutSeconds *int `json:"udpTimeoutSeconds,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Scheduler":
+ if typedInput.Scheduler != nil {
+ scheduler := *typedInput.Scheduler
+ config.Scheduler = &scheduler
+ }
+
+ // Set property "TcpFinTimeoutSeconds":
+ if typedInput.TcpFinTimeoutSeconds != nil {
+ tcpFinTimeoutSeconds := *typedInput.TcpFinTimeoutSeconds
+ config.TcpFinTimeoutSeconds = &tcpFinTimeoutSeconds
+ }
+
+ // Set property "TcpTimeoutSeconds":
+ if typedInput.TcpTimeoutSeconds != nil {
+ tcpTimeoutSeconds := *typedInput.TcpTimeoutSeconds
+ config.TcpTimeoutSeconds = &tcpTimeoutSeconds
+ }
+
+ // Set property "UdpTimeoutSeconds":
+ if typedInput.UdpTimeoutSeconds != nil {
+ udpTimeoutSeconds := *typedInput.UdpTimeoutSeconds
+ config.UdpTimeoutSeconds = &udpTimeoutSeconds
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+
+ // Scheduler
+ if source.Scheduler != nil {
+ scheduler := *source.Scheduler
+ schedulerTemp := genruntime.ToEnum(scheduler, containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_Values)
+ config.Scheduler = &schedulerTemp
+ } else {
+ config.Scheduler = nil
+ }
+
+ // TcpFinTimeoutSeconds
+ config.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ config.TcpTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ config.UdpTimeoutSeconds = genruntime.ClonePointerToInt(source.UdpTimeoutSeconds)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Scheduler
+ if config.Scheduler != nil {
+ scheduler := string(*config.Scheduler)
+ destination.Scheduler = &scheduler
+ } else {
+ destination.Scheduler = nil
+ }
+
+ // TcpFinTimeoutSeconds
+ destination.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ destination.TcpTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ destination.UdpTimeoutSeconds = genruntime.ClonePointerToInt(config.UdpTimeoutSeconds)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"IPTABLES","IPVS"}
+type ContainerServiceNetworkProfile_KubeProxyConfig_Mode string
+
+const (
+ ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPTABLES = ContainerServiceNetworkProfile_KubeProxyConfig_Mode("IPTABLES")
+ ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPVS = ContainerServiceNetworkProfile_KubeProxyConfig_Mode("IPVS")
+)
+
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_Mode
+var containerServiceNetworkProfile_KubeProxyConfig_Mode_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_Mode{
+ "iptables": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPTABLES,
+ "ipvs": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_IPVS,
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS string
+
+const (
+ ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPTABLES = ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS("IPTABLES")
+ ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPVS = ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS("IPVS")
+)
+
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS
+var containerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS{
+ "iptables": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPTABLES,
+ "ipvs": ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS_IPVS,
+}
+
+// Contains information about SSH certificate public key data.
+type ContainerServiceSshPublicKey struct {
+ // +kubebuilder:validation:Required
+ // KeyData: Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or
+ // without headers.
+ KeyData *string `json:"keyData,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ContainerServiceSshPublicKey{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (publicKey *ContainerServiceSshPublicKey) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if publicKey == nil {
+ return nil, nil
+ }
+ result := &ContainerServiceSshPublicKey_ARM{}
+
+ // Set property "KeyData":
+ if publicKey.KeyData != nil {
+ keyData := *publicKey.KeyData
+ result.KeyData = &keyData
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (publicKey *ContainerServiceSshPublicKey) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceSshPublicKey_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (publicKey *ContainerServiceSshPublicKey) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceSshPublicKey_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceSshPublicKey_ARM, got %T", armInput)
+ }
+
+ // Set property "KeyData":
+ if typedInput.KeyData != nil {
+ keyData := *typedInput.KeyData
+ publicKey.KeyData = &keyData
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
+
+ // KeyData
+ publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // KeyData
+ destination.KeyData = genruntime.ClonePointerToString(publicKey.KeyData)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Contains information about SSH certificate public key data.
+type ContainerServiceSshPublicKey_STATUS struct {
+ // KeyData: Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or
+ // without headers.
+ KeyData *string `json:"keyData,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ContainerServiceSshPublicKey_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (publicKey *ContainerServiceSshPublicKey_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ContainerServiceSshPublicKey_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (publicKey *ContainerServiceSshPublicKey_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ContainerServiceSshPublicKey_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ContainerServiceSshPublicKey_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "KeyData":
+ if typedInput.KeyData != nil {
+ keyData := *typedInput.KeyData
+ publicKey.KeyData = &keyData
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
+
+ // KeyData
+ publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // KeyData
+ destination.KeyData = genruntime.ClonePointerToString(publicKey.KeyData)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described
+// here https://aka.ms/asm-plugin-ca
+type IstioCertificateAuthority struct {
+ // Plugin: Plugin certificates information for Service Mesh.
+ Plugin *IstioPluginCertificateAuthority `json:"plugin,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IstioCertificateAuthority{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (authority *IstioCertificateAuthority) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if authority == nil {
+ return nil, nil
+ }
+ result := &IstioCertificateAuthority_ARM{}
+
+ // Set property "Plugin":
+ if authority.Plugin != nil {
+ plugin_ARM, err := (*authority.Plugin).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ plugin := *plugin_ARM.(*IstioPluginCertificateAuthority_ARM)
+ result.Plugin = &plugin
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (authority *IstioCertificateAuthority) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioCertificateAuthority_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (authority *IstioCertificateAuthority) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioCertificateAuthority_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioCertificateAuthority_ARM, got %T", armInput)
+ }
+
+ // Set property "Plugin":
+ if typedInput.Plugin != nil {
+ var plugin1 IstioPluginCertificateAuthority
+ err := plugin1.PopulateFromARM(owner, *typedInput.Plugin)
+ if err != nil {
+ return err
+ }
+ plugin := plugin1
+ authority.Plugin = &plugin
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioCertificateAuthority populates our IstioCertificateAuthority from the provided source IstioCertificateAuthority
+func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertificateAuthority(source *storage.IstioCertificateAuthority) error {
+
+ // Plugin
+ if source.Plugin != nil {
+ var plugin IstioPluginCertificateAuthority
+ err := plugin.AssignProperties_From_IstioPluginCertificateAuthority(source.Plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioPluginCertificateAuthority() to populate field Plugin")
+ }
+ authority.Plugin = &plugin
+ } else {
+ authority.Plugin = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioCertificateAuthority populates the provided destination IstioCertificateAuthority from our IstioCertificateAuthority
+func (authority *IstioCertificateAuthority) AssignProperties_To_IstioCertificateAuthority(destination *storage.IstioCertificateAuthority) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Plugin
+ if authority.Plugin != nil {
+ var plugin storage.IstioPluginCertificateAuthority
+ err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority(&plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority() to populate field Plugin")
+ }
+ destination.Plugin = &plugin
+ } else {
+ destination.Plugin = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described
+// here https://aka.ms/asm-plugin-ca
+type IstioCertificateAuthority_STATUS struct {
+ // Plugin: Plugin certificates information for Service Mesh.
+ Plugin *IstioPluginCertificateAuthority_STATUS `json:"plugin,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IstioCertificateAuthority_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (authority *IstioCertificateAuthority_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioCertificateAuthority_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (authority *IstioCertificateAuthority_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioCertificateAuthority_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioCertificateAuthority_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Plugin":
+ if typedInput.Plugin != nil {
+ var plugin1 IstioPluginCertificateAuthority_STATUS
+ err := plugin1.PopulateFromARM(owner, *typedInput.Plugin)
+ if err != nil {
+ return err
+ }
+ plugin := plugin1
+ authority.Plugin = &plugin
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioCertificateAuthority_STATUS populates our IstioCertificateAuthority_STATUS from the provided source IstioCertificateAuthority_STATUS
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCertificateAuthority_STATUS(source *storage.IstioCertificateAuthority_STATUS) error {
+
+ // Plugin
+ if source.Plugin != nil {
+ var plugin IstioPluginCertificateAuthority_STATUS
+ err := plugin.AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source.Plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioPluginCertificateAuthority_STATUS() to populate field Plugin")
+ }
+ authority.Plugin = &plugin
+ } else {
+ authority.Plugin = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioCertificateAuthority_STATUS populates the provided destination IstioCertificateAuthority_STATUS from our IstioCertificateAuthority_STATUS
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_To_IstioCertificateAuthority_STATUS(destination *storage.IstioCertificateAuthority_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Plugin
+ if authority.Plugin != nil {
+ var plugin storage.IstioPluginCertificateAuthority_STATUS
+ err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority_STATUS(&plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority_STATUS() to populate field Plugin")
+ }
+ destination.Plugin = &plugin
+ } else {
+ destination.Plugin = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio components configuration.
+type IstioComponents struct {
+ // EgressGateways: Istio egress gateways.
+ EgressGateways []IstioEgressGateway `json:"egressGateways,omitempty"`
+
+ // IngressGateways: Istio ingress gateways.
+ IngressGateways []IstioIngressGateway `json:"ingressGateways,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IstioComponents{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (components *IstioComponents) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if components == nil {
+ return nil, nil
+ }
+ result := &IstioComponents_ARM{}
+
+ // Set property "EgressGateways":
+ for _, item := range components.EgressGateways {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.EgressGateways = append(result.EgressGateways, *item_ARM.(*IstioEgressGateway_ARM))
+ }
+
+ // Set property "IngressGateways":
+ for _, item := range components.IngressGateways {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.IngressGateways = append(result.IngressGateways, *item_ARM.(*IstioIngressGateway_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (components *IstioComponents) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioComponents_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (components *IstioComponents) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioComponents_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioComponents_ARM, got %T", armInput)
+ }
+
+ // Set property "EgressGateways":
+ for _, item := range typedInput.EgressGateways {
+ var item1 IstioEgressGateway
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ components.EgressGateways = append(components.EgressGateways, item1)
+ }
+
+ // Set property "IngressGateways":
+ for _, item := range typedInput.IngressGateways {
+ var item1 IstioIngressGateway
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ components.IngressGateways = append(components.IngressGateways, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioComponents populates our IstioComponents from the provided source IstioComponents
+func (components *IstioComponents) AssignProperties_From_IstioComponents(source *storage.IstioComponents) error {
+
+ // EgressGateways
+ if source.EgressGateways != nil {
+ egressGatewayList := make([]IstioEgressGateway, len(source.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range source.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway IstioEgressGateway
+ err := egressGateway.AssignProperties_From_IstioEgressGateway(&egressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioEgressGateway() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ components.EgressGateways = egressGatewayList
+ } else {
+ components.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if source.IngressGateways != nil {
+ ingressGatewayList := make([]IstioIngressGateway, len(source.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range source.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway IstioIngressGateway
+ err := ingressGateway.AssignProperties_From_IstioIngressGateway(&ingressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioIngressGateway() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ components.IngressGateways = ingressGatewayList
+ } else {
+ components.IngressGateways = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioComponents populates the provided destination IstioComponents from our IstioComponents
+func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *storage.IstioComponents) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EgressGateways
+ if components.EgressGateways != nil {
+ egressGatewayList := make([]storage.IstioEgressGateway, len(components.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway storage.IstioEgressGateway
+ err := egressGatewayItem.AssignProperties_To_IstioEgressGateway(&egressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ destination.EgressGateways = egressGatewayList
+ } else {
+ destination.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if components.IngressGateways != nil {
+ ingressGatewayList := make([]storage.IstioIngressGateway, len(components.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway storage.IstioIngressGateway
+ err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway(&ingressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ destination.IngressGateways = ingressGatewayList
+ } else {
+ destination.IngressGateways = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio components configuration.
+type IstioComponents_STATUS struct {
+ // EgressGateways: Istio egress gateways.
+ EgressGateways []IstioEgressGateway_STATUS `json:"egressGateways,omitempty"`
+
+ // IngressGateways: Istio ingress gateways.
+ IngressGateways []IstioIngressGateway_STATUS `json:"ingressGateways,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IstioComponents_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (components *IstioComponents_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioComponents_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (components *IstioComponents_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioComponents_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioComponents_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "EgressGateways":
+ for _, item := range typedInput.EgressGateways {
+ var item1 IstioEgressGateway_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ components.EgressGateways = append(components.EgressGateways, item1)
+ }
+
+ // Set property "IngressGateways":
+ for _, item := range typedInput.IngressGateways {
+ var item1 IstioIngressGateway_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ components.IngressGateways = append(components.IngressGateways, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioComponents_STATUS populates our IstioComponents_STATUS from the provided source IstioComponents_STATUS
+func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *storage.IstioComponents_STATUS) error {
+
+ // EgressGateways
+ if source.EgressGateways != nil {
+ egressGatewayList := make([]IstioEgressGateway_STATUS, len(source.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range source.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway IstioEgressGateway_STATUS
+ err := egressGateway.AssignProperties_From_IstioEgressGateway_STATUS(&egressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioEgressGateway_STATUS() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ components.EgressGateways = egressGatewayList
+ } else {
+ components.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if source.IngressGateways != nil {
+ ingressGatewayList := make([]IstioIngressGateway_STATUS, len(source.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range source.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway IstioIngressGateway_STATUS
+ err := ingressGateway.AssignProperties_From_IstioIngressGateway_STATUS(&ingressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioIngressGateway_STATUS() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ components.IngressGateways = ingressGatewayList
+ } else {
+ components.IngressGateways = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioComponents_STATUS populates the provided destination IstioComponents_STATUS from our IstioComponents_STATUS
+func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *storage.IstioComponents_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EgressGateways
+ if components.EgressGateways != nil {
+ egressGatewayList := make([]storage.IstioEgressGateway_STATUS, len(components.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway storage.IstioEgressGateway_STATUS
+ err := egressGatewayItem.AssignProperties_To_IstioEgressGateway_STATUS(&egressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway_STATUS() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ destination.EgressGateways = egressGatewayList
+ } else {
+ destination.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if components.IngressGateways != nil {
+ ingressGatewayList := make([]storage.IstioIngressGateway_STATUS, len(components.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway storage.IstioIngressGateway_STATUS
+ err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway_STATUS(&ingressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway_STATUS() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ destination.IngressGateways = ingressGatewayList
+ } else {
+ destination.IngressGateways = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook to auto-instrument
+// Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the application. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation struct {
+ // Enabled: Indicates if Application Monitoring Auto Instrumentation is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if instrumentation == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM{}
+
+ // Set property "Enabled":
+ if instrumentation.Enabled != nil {
+ enabled := *instrumentation.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ instrumentation.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation populates our ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation from the provided source ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ instrumentation.Enabled = &enabled
+ } else {
+ instrumentation.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation from our ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if instrumentation.Enabled != nil {
+ enabled := *instrumentation.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook to auto-instrument
+// Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the application. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS struct {
+ // Enabled: Indicates if Application Monitoring Auto Instrumentation is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ instrumentation.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ instrumentation.Enabled = &enabled
+ } else {
+ instrumentation.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+func (instrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if instrumentation.Enabled != nil {
+ enabled := *instrumentation.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and Traces. Collects
+// OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Logs and traces is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry logs and traces. If not specified, the default port is 28331.
+ Port *int `json:"port,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if logs == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM{}
+
+ // Set property "Enabled":
+ if logs.Enabled != nil {
+ enabled := *logs.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "Port":
+ if logs.Port != nil {
+ port := *logs.Port
+ result.Port = &port
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ logs.Enabled = &enabled
+ }
+
+ // Set property "Port":
+ if typedInput.Port != nil {
+ port := *typedInput.Port
+ logs.Port = &port
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ logs.Enabled = &enabled
+ } else {
+ logs.Enabled = nil
+ }
+
+ // Port
+ logs.Port = genruntime.ClonePointerToInt(source.Port)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if logs.Enabled != nil {
+ enabled := *logs.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Port
+ destination.Port = genruntime.ClonePointerToInt(logs.Port)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and Traces. Collects
+// OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Logs and traces is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry logs and traces. If not specified, the default port is 28331.
+ Port *int `json:"port,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ logs.Enabled = &enabled
+ }
+
+ // Set property "Port":
+ if typedInput.Port != nil {
+ port := *typedInput.Port
+ logs.Port = &port
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ logs.Enabled = &enabled
+ } else {
+ logs.Enabled = nil
+ }
+
+ // Port
+ logs.Port = genruntime.ClonePointerToInt(source.Port)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+func (logs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if logs.Enabled != nil {
+ enabled := *logs.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Port
+ destination.Port = genruntime.ClonePointerToInt(logs.Port)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects
+// OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Metrics is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry metrics. If not specified, the default port is 28333.
+ Port *int `json:"port,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if metrics == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM{}
+
+ // Set property "Enabled":
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "Port":
+ if metrics.Port != nil {
+ port := *metrics.Port
+ result.Port = &port
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ metrics.Enabled = &enabled
+ }
+
+ // Set property "Port":
+ if typedInput.Port != nil {
+ port := *typedInput.Port
+ metrics.Port = &port
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // Port
+ metrics.Port = genruntime.ClonePointerToInt(source.Port)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Port
+ destination.Port = genruntime.ClonePointerToInt(metrics.Port)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects
+// OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS struct {
+ // Enabled: Indicates if Application Monitoring Open Telemetry Metrics is enabled or not.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Port: The Open Telemetry host port for Open Telemetry metrics. If not specified, the default port is 28333.
+ Port *int `json:"port,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ metrics.Enabled = &enabled
+ }
+
+ // Set property "Port":
+ if typedInput.Port != nil {
+ port := *typedInput.Port
+ metrics.Port = &port
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // Port
+ metrics.Port = genruntime.ClonePointerToInt(source.Port)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Port
+ destination.Port = genruntime.ClonePointerToInt(metrics.Port)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Kube State Metrics for prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfileKubeStateMetrics struct {
+ // MetricAnnotationsAllowList: Comma-separated list of additional Kubernetes label keys that will be used in the resource's
+ // labels metric.
+ MetricAnnotationsAllowList *string `json:"metricAnnotationsAllowList,omitempty"`
+
+ // MetricLabelsAllowlist: Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels
+ // metric.
+ MetricLabelsAllowlist *string `json:"metricLabelsAllowlist,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterAzureMonitorProfileKubeStateMetrics{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if metrics == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM{}
+
+ // Set property "MetricAnnotationsAllowList":
+ if metrics.MetricAnnotationsAllowList != nil {
+ metricAnnotationsAllowList := *metrics.MetricAnnotationsAllowList
+ result.MetricAnnotationsAllowList = &metricAnnotationsAllowList
+ }
+
+ // Set property "MetricLabelsAllowlist":
+ if metrics.MetricLabelsAllowlist != nil {
+ metricLabelsAllowlist := *metrics.MetricLabelsAllowlist
+ result.MetricLabelsAllowlist = &metricLabelsAllowlist
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM, got %T", armInput)
+ }
+
+ // Set property "MetricAnnotationsAllowList":
+ if typedInput.MetricAnnotationsAllowList != nil {
+ metricAnnotationsAllowList := *typedInput.MetricAnnotationsAllowList
+ metrics.MetricAnnotationsAllowList = &metricAnnotationsAllowList
+ }
+
+ // Set property "MetricLabelsAllowlist":
+ if typedInput.MetricLabelsAllowlist != nil {
+ metricLabelsAllowlist := *typedInput.MetricLabelsAllowlist
+ metrics.MetricLabelsAllowlist = &metricLabelsAllowlist
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+
+ // MetricAnnotationsAllowList
+ metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ metrics.MetricLabelsAllowlist = genruntime.ClonePointerToString(source.MetricLabelsAllowlist)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // MetricAnnotationsAllowList
+ destination.MetricAnnotationsAllowList = genruntime.ClonePointerToString(metrics.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ destination.MetricLabelsAllowlist = genruntime.ClonePointerToString(metrics.MetricLabelsAllowlist)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Kube State Metrics for prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS struct {
+ // MetricAnnotationsAllowList: Comma-separated list of additional Kubernetes label keys that will be used in the resource's
+ // labels metric.
+ MetricAnnotationsAllowList *string `json:"metricAnnotationsAllowList,omitempty"`
+
+ // MetricLabelsAllowlist: Comma-separated list of Kubernetes annotations keys that will be used in the resource's labels
+ // metric.
+ MetricLabelsAllowlist *string `json:"metricLabelsAllowlist,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "MetricAnnotationsAllowList":
+ if typedInput.MetricAnnotationsAllowList != nil {
+ metricAnnotationsAllowList := *typedInput.MetricAnnotationsAllowList
+ metrics.MetricAnnotationsAllowList = &metricAnnotationsAllowList
+ }
+
+ // Set property "MetricLabelsAllowlist":
+ if typedInput.MetricLabelsAllowlist != nil {
+ metricLabelsAllowlist := *typedInput.MetricLabelsAllowlist
+ metrics.MetricLabelsAllowlist = &metricLabelsAllowlist
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+
+ // MetricAnnotationsAllowList
+ metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ metrics.MetricLabelsAllowlist = genruntime.ClonePointerToString(source.MetricLabelsAllowlist)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // MetricAnnotationsAllowList
+ destination.MetricAnnotationsAllowList = genruntime.ClonePointerToString(metrics.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ destination.MetricLabelsAllowlist = genruntime.ClonePointerToString(metrics.MetricLabelsAllowlist)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"NodeIP","NodeIPConfiguration"}
+type ManagedClusterLoadBalancerProfile_BackendPoolType string
+
+const (
+ ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIP = ManagedClusterLoadBalancerProfile_BackendPoolType("NodeIP")
+ ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType("NodeIPConfiguration")
+)
+
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType
+var managedClusterLoadBalancerProfile_BackendPoolType_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_NodeIPConfiguration,
+}
+
+type ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS string
+
+const (
+ ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIP = ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS("NodeIP")
+ ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration = ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS("NodeIPConfiguration")
+)
+
+// Mapping from string to ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS
+var managedClusterLoadBalancerProfile_BackendPoolType_STATUS_Values = map[string]ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS{
+ "nodeip": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIP,
+ "nodeipconfiguration": ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS_NodeIPConfiguration,
+}
+
+// +kubebuilder:validation:Enum={"ServiceNodePort","Shared"}
+type ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode string
+
+const (
+ ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_ServiceNodePort = ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode("ServiceNodePort")
+ ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_Shared = ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode("Shared")
+)
+
+// Mapping from string to ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode
+var managedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_Values = map[string]ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode{
+ "servicenodeport": ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_ServiceNodePort,
+ "shared": ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_Shared,
+}
+
+type ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS string
+
+const (
+ ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS_ServiceNodePort = ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS("ServiceNodePort")
+ ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS_Shared = ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS("Shared")
+)
+
+// Mapping from string to ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS
+var managedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS_Values = map[string]ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS{
+ "servicenodeport": ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS_ServiceNodePort,
+ "shared": ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS_Shared,
+}
+
+type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
+ // +kubebuilder:validation:Maximum=100
+ // +kubebuilder:validation:Minimum=1
+ // Count: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values
+ // must be in the range of 1 to 100 (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // +kubebuilder:validation:Maximum=100
+ // +kubebuilder:validation:Minimum=0
+ // CountIPv6: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed
+ // values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
+ CountIPv6 *int `json:"countIPv6,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterLoadBalancerProfile_ManagedOutboundIPs{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if iPs == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM{}
+
+ // Set property "Count":
+ if iPs.Count != nil {
+ count := *iPs.Count
+ result.Count = &count
+ }
+
+ // Set property "CountIPv6":
+ if iPs.CountIPv6 != nil {
+ countIPv6 := *iPs.CountIPv6
+ result.CountIPv6 = &countIPv6
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ iPs.Count = &count
+ }
+
+ // Set property "CountIPv6":
+ if typedInput.CountIPv6 != nil {
+ countIPv6 := *typedInput.CountIPv6
+ iPs.CountIPv6 = &countIPv6
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+
+ // Count
+ if source.Count != nil {
+ count := *source.Count
+ iPs.Count = &count
+ } else {
+ iPs.Count = nil
+ }
+
+ // CountIPv6
+ if source.CountIPv6 != nil {
+ countIPv6 := *source.CountIPv6
+ iPs.CountIPv6 = &countIPv6
+ } else {
+ iPs.CountIPv6 = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ if iPs.Count != nil {
+ count := *iPs.Count
+ destination.Count = &count
+ } else {
+ destination.Count = nil
+ }
+
+ // CountIPv6
+ if iPs.CountIPv6 != nil {
+ countIPv6 := *iPs.CountIPv6
+ destination.CountIPv6 = &countIPv6
+ } else {
+ destination.CountIPv6 = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS struct {
+ // Count: The desired number of IPv4 outbound IPs created/managed by Azure for the cluster load balancer. Allowed values
+ // must be in the range of 1 to 100 (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CountIPv6: The desired number of IPv6 outbound IPs created/managed by Azure for the cluster load balancer. Allowed
+ // values must be in the range of 1 to 100 (inclusive). The default value is 0 for single-stack and 1 for dual-stack.
+ CountIPv6 *int `json:"countIPv6,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ iPs.Count = &count
+ }
+
+ // Set property "CountIPv6":
+ if typedInput.CountIPv6 != nil {
+ countIPv6 := *typedInput.CountIPv6
+ iPs.CountIPv6 = &countIPv6
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+
+ // Count
+ iPs.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CountIPv6
+ iPs.CountIPv6 = genruntime.ClonePointerToInt(source.CountIPv6)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(iPs.Count)
+
+ // CountIPv6
+ destination.CountIPv6 = genruntime.ClonePointerToInt(iPs.CountIPv6)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes struct {
+ // PublicIPPrefixes: A list of public IP prefix resources.
+ PublicIPPrefixes []ResourceReference `json:"publicIPPrefixes,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterLoadBalancerProfile_OutboundIPPrefixes{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if prefixes == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM{}
+
+ // Set property "PublicIPPrefixes":
+ for _, item := range prefixes.PublicIPPrefixes {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.PublicIPPrefixes = append(result.PublicIPPrefixes, *item_ARM.(*ResourceReference_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicIPPrefixes":
+ for _, item := range typedInput.PublicIPPrefixes {
+ var item1 ResourceReference
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ prefixes.PublicIPPrefixes = append(prefixes.PublicIPPrefixes, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+
+ // PublicIPPrefixes
+ if source.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]ResourceReference, len(source.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range source.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix ResourceReference
+ err := publicIPPrefix.AssignProperties_From_ResourceReference(&publicIPPrefixItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ prefixes.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ prefixes.PublicIPPrefixes = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicIPPrefixes
+ if prefixes.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix storage.ResourceReference
+ err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ destination.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ destination.PublicIPPrefixes = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS struct {
+ // PublicIPPrefixes: A list of public IP prefix resources.
+ PublicIPPrefixes []ResourceReference_STATUS `json:"publicIPPrefixes,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicIPPrefixes":
+ for _, item := range typedInput.PublicIPPrefixes {
+ var item1 ResourceReference_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ prefixes.PublicIPPrefixes = append(prefixes.PublicIPPrefixes, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+
+ // PublicIPPrefixes
+ if source.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]ResourceReference_STATUS, len(source.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range source.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix ResourceReference_STATUS
+ err := publicIPPrefix.AssignProperties_From_ResourceReference_STATUS(&publicIPPrefixItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ prefixes.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ prefixes.PublicIPPrefixes = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicIPPrefixes
+ if prefixes.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix storage.ResourceReference_STATUS
+ err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ destination.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ destination.PublicIPPrefixes = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPs struct {
+ // PublicIPs: A list of public IP resources.
+ PublicIPs []ResourceReference `json:"publicIPs,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterLoadBalancerProfile_OutboundIPs{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if iPs == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterLoadBalancerProfile_OutboundIPs_ARM{}
+
+ // Set property "PublicIPs":
+ for _, item := range iPs.PublicIPs {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.PublicIPs = append(result.PublicIPs, *item_ARM.(*ResourceReference_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_OutboundIPs_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_OutboundIPs_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_OutboundIPs_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicIPs":
+ for _, item := range typedInput.PublicIPs {
+ var item1 ResourceReference
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ iPs.PublicIPs = append(iPs.PublicIPs, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+
+ // PublicIPs
+ if source.PublicIPs != nil {
+ publicIPList := make([]ResourceReference, len(source.PublicIPs))
+ for publicIPIndex, publicIPItem := range source.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP ResourceReference
+ err := publicIP.AssignProperties_From_ResourceReference(&publicIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ iPs.PublicIPs = publicIPList
+ } else {
+ iPs.PublicIPs = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicIPs
+ if iPs.PublicIPs != nil {
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
+ for publicIPIndex, publicIPItem := range iPs.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP storage.ResourceReference
+ err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ destination.PublicIPs = publicIPList
+ } else {
+ destination.PublicIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS struct {
+ // PublicIPs: A list of public IP resources.
+ PublicIPs []ResourceReference_STATUS `json:"publicIPs,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicIPs":
+ for _, item := range typedInput.PublicIPs {
+ var item1 ResourceReference_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ iPs.PublicIPs = append(iPs.PublicIPs, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+
+ // PublicIPs
+ if source.PublicIPs != nil {
+ publicIPList := make([]ResourceReference_STATUS, len(source.PublicIPs))
+ for publicIPIndex, publicIPItem := range source.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP ResourceReference_STATUS
+ err := publicIP.AssignProperties_From_ResourceReference_STATUS(&publicIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ iPs.PublicIPs = publicIPList
+ } else {
+ iPs.PublicIPs = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicIPs
+ if iPs.PublicIPs != nil {
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
+ for publicIPIndex, publicIPItem := range iPs.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP storage.ResourceReference_STATUS
+ err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ destination.PublicIPs = publicIPList
+ } else {
+ destination.PublicIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed outbound IP resources of the managed cluster.
+type ManagedClusterManagedOutboundIPProfile struct {
+ // +kubebuilder:validation:Maximum=16
+ // +kubebuilder:validation:Minimum=1
+ // Count: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16
+ // (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterManagedOutboundIPProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManagedClusterManagedOutboundIPProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterManagedOutboundIPProfile_ARM{}
+
+ // Set property "Count":
+ if profile.Count != nil {
+ count := *profile.Count
+ result.Count = &count
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterManagedOutboundIPProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterManagedOutboundIPProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterManagedOutboundIPProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterManagedOutboundIPProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterManagedOutboundIPProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ profile.Count = &count
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
+
+ // Count
+ if source.Count != nil {
+ count := *source.Count
+ profile.Count = &count
+ } else {
+ profile.Count = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ if profile.Count != nil {
+ count := *profile.Count
+ destination.Count = &count
+ } else {
+ destination.Count = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed outbound IP resources of the managed cluster.
+type ManagedClusterManagedOutboundIPProfile_STATUS struct {
+ // Count: The desired number of outbound IPs created/managed by Azure. Allowed values must be in the range of 1 to 16
+ // (inclusive). The default value is 1.
+ Count *int `json:"count,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterManagedOutboundIPProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterManagedOutboundIPProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterManagedOutboundIPProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterManagedOutboundIPProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ profile.Count = &count
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterPodIdentity_ProvisioningInfo_STATUS struct {
+ // Error: Pod identity assignment error (if any).
+ Error *ManagedClusterPodIdentityProvisioningError_STATUS `json:"error,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentity_ProvisioningInfo_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Error":
+ if typedInput.Error != nil {
+ var error1 ManagedClusterPodIdentityProvisioningError_STATUS
+ err := error1.PopulateFromARM(owner, *typedInput.Error)
+ if err != nil {
+ return err
+ }
+ error := error1
+ info.Error = &error
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+
+ // Error
+ if source.Error != nil {
+ var error ManagedClusterPodIdentityProvisioningError_STATUS
+ err := error.AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source.Error)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
+ }
+ info.Error = &error
+ } else {
+ info.Error = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Error
+ if info.Error != nil {
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
+ err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
+ }
+ destination.Error = &error
+ } else {
+ destination.Error = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterPodIdentity_ProvisioningState_STATUS string
+
+const (
+ ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned = ManagedClusterPodIdentity_ProvisioningState_STATUS("Assigned")
+ ManagedClusterPodIdentity_ProvisioningState_STATUS_Canceled = ManagedClusterPodIdentity_ProvisioningState_STATUS("Canceled")
+ ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting = ManagedClusterPodIdentity_ProvisioningState_STATUS("Deleting")
+ ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed = ManagedClusterPodIdentity_ProvisioningState_STATUS("Failed")
+ ManagedClusterPodIdentity_ProvisioningState_STATUS_Succeeded = ManagedClusterPodIdentity_ProvisioningState_STATUS("Succeeded")
+ ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating = ManagedClusterPodIdentity_ProvisioningState_STATUS("Updating")
+)
+
+// Mapping from string to ManagedClusterPodIdentity_ProvisioningState_STATUS
+var managedClusterPodIdentity_ProvisioningState_STATUS_Values = map[string]ManagedClusterPodIdentity_ProvisioningState_STATUS{
+ "assigned": ManagedClusterPodIdentity_ProvisioningState_STATUS_Assigned,
+ "canceled": ManagedClusterPodIdentity_ProvisioningState_STATUS_Canceled,
+ "deleting": ManagedClusterPodIdentity_ProvisioningState_STATUS_Deleting,
+ "failed": ManagedClusterPodIdentity_ProvisioningState_STATUS_Failed,
+ "succeeded": ManagedClusterPodIdentity_ProvisioningState_STATUS_Succeeded,
+ "updating": ManagedClusterPodIdentity_ProvisioningState_STATUS_Updating,
+}
+
+// Microsoft Defender settings for the security profile threat detection.
+type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
+ // Enabled: Whether to enable Defender threat detection
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusterSecurityProfileDefenderSecurityMonitoring{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if monitoring == nil {
+ return nil, nil
+ }
+ result := &ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM{}
+
+ // Set property "Enabled":
+ if monitoring.Enabled != nil {
+ enabled := *monitoring.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ monitoring.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ monitoring.Enabled = &enabled
+ } else {
+ monitoring.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if monitoring.Enabled != nil {
+ enabled := *monitoring.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Microsoft Defender settings for the security profile threat detection.
+type ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS struct {
+ // Enabled: Whether to enable Defender threat detection
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ monitoring.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ monitoring.Enabled = &enabled
+ } else {
+ monitoring.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if monitoring.Enabled != nil {
+ enabled := *monitoring.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"Disabled","Enabled"}
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling string
+
+const (
+ ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Disabled = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling("Disabled")
+ ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Enabled = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling("Enabled")
+)
+
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling{
+ "disabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Disabled,
+ "enabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_Enabled,
+}
+
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS string
+
+const (
+ ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Disabled = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS("Disabled")
+ ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Enabled = ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS("Enabled")
+)
+
+// Mapping from string to ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS
+var managedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Values = map[string]ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS{
+ "disabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Disabled,
+ "enabled": ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS_Enabled,
+}
+
+// A reference to an Azure resource.
+type ResourceReference struct {
+ // Reference: The fully qualified Azure resource id.
+ Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ResourceReference{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (reference *ResourceReference) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if reference == nil {
+ return nil, nil
+ }
+ result := &ResourceReference_ARM{}
+
+ // Set property "Id":
+ if reference.Reference != nil {
+ referenceARMID, err := resolved.ResolvedReferences.Lookup(*reference.Reference)
+ if err != nil {
+ return nil, err
+ }
+ reference1 := referenceARMID
+ result.Id = &reference1
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (reference *ResourceReference) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ResourceReference_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (reference *ResourceReference) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ _, ok := armInput.(ResourceReference_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ResourceReference_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "Reference"
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
+
+ // Reference
+ if source.Reference != nil {
+ referenceTemp := source.Reference.Copy()
+ reference.Reference = &referenceTemp
+ } else {
+ reference.Reference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Reference
+ if reference.Reference != nil {
+ referenceTemp := reference.Reference.Copy()
+ destination.Reference = &referenceTemp
+ } else {
+ destination.Reference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// A reference to an Azure resource.
+type ResourceReference_STATUS struct {
+ // Id: The fully qualified Azure resource id.
+ Id *string `json:"id,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ResourceReference_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (reference *ResourceReference_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ResourceReference_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (reference *ResourceReference_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ResourceReference_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ResourceReference_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Id":
+ if typedInput.Id != nil {
+ id := *typedInput.Id
+ reference.Id = &id
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
+
+ // Id
+ reference.Id = genruntime.ClonePointerToString(source.Id)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(reference.Id)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"LeastConnection","RoundRobin"}
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler string
+
+const (
+ ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_LeastConnection = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler("LeastConnection")
+ ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_RoundRobin = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler("RoundRobin")
+)
+
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler
+var containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler{
+ "leastconnection": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_LeastConnection,
+ "roundrobin": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_RoundRobin,
+}
+
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS string
+
+const (
+ ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_LeastConnection = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS("LeastConnection")
+ ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_RoundRobin = ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS("RoundRobin")
+)
+
+// Mapping from string to ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS
+var containerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_Values = map[string]ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS{
+ "leastconnection": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_LeastConnection,
+ "roundrobin": ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS_RoundRobin,
+}
+
+// Istio egress gateway configuration.
+type IstioEgressGateway struct {
+ // +kubebuilder:validation:Required
+ // Enabled: Whether to enable the egress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IstioEgressGateway{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (gateway *IstioEgressGateway) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if gateway == nil {
+ return nil, nil
+ }
+ result := &IstioEgressGateway_ARM{}
+
+ // Set property "Enabled":
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (gateway *IstioEgressGateway) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioEgressGateway_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (gateway *IstioEgressGateway) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioEgressGateway_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioEgressGateway_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ gateway.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioEgressGateway populates our IstioEgressGateway from the provided source IstioEgressGateway
+func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(source *storage.IstioEgressGateway) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioEgressGateway populates the provided destination IstioEgressGateway from our IstioEgressGateway
+func (gateway *IstioEgressGateway) AssignProperties_To_IstioEgressGateway(destination *storage.IstioEgressGateway) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio egress gateway configuration.
+type IstioEgressGateway_STATUS struct {
+ // Enabled: Whether to enable the egress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IstioEgressGateway_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (gateway *IstioEgressGateway_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioEgressGateway_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (gateway *IstioEgressGateway_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioEgressGateway_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioEgressGateway_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ gateway.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioEgressGateway_STATUS populates our IstioEgressGateway_STATUS from the provided source IstioEgressGateway_STATUS
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGateway_STATUS(source *storage.IstioEgressGateway_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioEgressGateway_STATUS populates the provided destination IstioEgressGateway_STATUS from our IstioEgressGateway_STATUS
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_To_IstioEgressGateway_STATUS(destination *storage.IstioEgressGateway_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
+// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
+type IstioIngressGateway struct {
+ // +kubebuilder:validation:Required
+ // Enabled: Whether to enable the ingress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Mode: Mode of an ingress gateway.
+ Mode *IstioIngressGateway_Mode `json:"mode,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IstioIngressGateway{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (gateway *IstioIngressGateway) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if gateway == nil {
+ return nil, nil
+ }
+ result := &IstioIngressGateway_ARM{}
+
+ // Set property "Enabled":
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ result.Enabled = &enabled
+ }
+
+ // Set property "Mode":
+ if gateway.Mode != nil {
+ mode := *gateway.Mode
+ result.Mode = &mode
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (gateway *IstioIngressGateway) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioIngressGateway_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (gateway *IstioIngressGateway) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioIngressGateway_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioIngressGateway_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ gateway.Enabled = &enabled
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ gateway.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioIngressGateway populates our IstioIngressGateway from the provided source IstioIngressGateway
+func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *storage.IstioIngressGateway) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_Values)
+ gateway.Mode = &modeTemp
+ } else {
+ gateway.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioIngressGateway populates the provided destination IstioIngressGateway from our IstioIngressGateway
+func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *storage.IstioIngressGateway) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Mode
+ if gateway.Mode != nil {
+ mode := string(*gateway.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
+// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
+type IstioIngressGateway_STATUS struct {
+ // Enabled: Whether to enable the ingress gateway.
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // Mode: Mode of an ingress gateway.
+ Mode *IstioIngressGateway_Mode_STATUS `json:"mode,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IstioIngressGateway_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (gateway *IstioIngressGateway_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioIngressGateway_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (gateway *IstioIngressGateway_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioIngressGateway_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioIngressGateway_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ gateway.Enabled = &enabled
+ }
+
+ // Set property "Mode":
+ if typedInput.Mode != nil {
+ mode := *typedInput.Mode
+ gateway.Mode = &mode
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioIngressGateway_STATUS populates our IstioIngressGateway_STATUS from the provided source IstioIngressGateway_STATUS
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *storage.IstioIngressGateway_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, istioIngressGateway_Mode_STATUS_Values)
+ gateway.Mode = &modeTemp
+ } else {
+ gateway.Mode = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioIngressGateway_STATUS populates the provided destination IstioIngressGateway_STATUS from our IstioIngressGateway_STATUS
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *storage.IstioIngressGateway_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Mode
+ if gateway.Mode != nil {
+ mode := string(*gateway.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Plugin certificates information for Service Mesh.
+type IstioPluginCertificateAuthority struct {
+ // CertChainObjectName: Certificate chain object name in Azure Key Vault.
+ CertChainObjectName *string `json:"certChainObjectName,omitempty"`
+
+ // CertObjectName: Intermediate certificate object name in Azure Key Vault.
+ CertObjectName *string `json:"certObjectName,omitempty"`
+
+ // KeyObjectName: Intermediate certificate private key object name in Azure Key Vault.
+ KeyObjectName *string `json:"keyObjectName,omitempty"`
+
+ // KeyVaultReference: The resource ID of the Key Vault.
+ KeyVaultReference *genruntime.ResourceReference `armReference:"KeyVaultId" json:"keyVaultReference,omitempty"`
+
+ // RootCertObjectName: Root certificate object name in Azure Key Vault.
+ RootCertObjectName *string `json:"rootCertObjectName,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IstioPluginCertificateAuthority{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (authority *IstioPluginCertificateAuthority) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if authority == nil {
+ return nil, nil
+ }
+ result := &IstioPluginCertificateAuthority_ARM{}
+
+ // Set property "CertChainObjectName":
+ if authority.CertChainObjectName != nil {
+ certChainObjectName := *authority.CertChainObjectName
+ result.CertChainObjectName = &certChainObjectName
+ }
+
+ // Set property "CertObjectName":
+ if authority.CertObjectName != nil {
+ certObjectName := *authority.CertObjectName
+ result.CertObjectName = &certObjectName
+ }
+
+ // Set property "KeyObjectName":
+ if authority.KeyObjectName != nil {
+ keyObjectName := *authority.KeyObjectName
+ result.KeyObjectName = &keyObjectName
+ }
+
+ // Set property "KeyVaultId":
+ if authority.KeyVaultReference != nil {
+ keyVaultReferenceARMID, err := resolved.ResolvedReferences.Lookup(*authority.KeyVaultReference)
+ if err != nil {
+ return nil, err
+ }
+ keyVaultReference := keyVaultReferenceARMID
+ result.KeyVaultId = &keyVaultReference
+ }
+
+ // Set property "RootCertObjectName":
+ if authority.RootCertObjectName != nil {
+ rootCertObjectName := *authority.RootCertObjectName
+ result.RootCertObjectName = &rootCertObjectName
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (authority *IstioPluginCertificateAuthority) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioPluginCertificateAuthority_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (authority *IstioPluginCertificateAuthority) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioPluginCertificateAuthority_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioPluginCertificateAuthority_ARM, got %T", armInput)
+ }
+
+ // Set property "CertChainObjectName":
+ if typedInput.CertChainObjectName != nil {
+ certChainObjectName := *typedInput.CertChainObjectName
+ authority.CertChainObjectName = &certChainObjectName
+ }
+
+ // Set property "CertObjectName":
+ if typedInput.CertObjectName != nil {
+ certObjectName := *typedInput.CertObjectName
+ authority.CertObjectName = &certObjectName
+ }
+
+ // Set property "KeyObjectName":
+ if typedInput.KeyObjectName != nil {
+ keyObjectName := *typedInput.KeyObjectName
+ authority.KeyObjectName = &keyObjectName
+ }
+
+ // no assignment for property "KeyVaultReference"
+
+ // Set property "RootCertObjectName":
+ if typedInput.RootCertObjectName != nil {
+ rootCertObjectName := *typedInput.RootCertObjectName
+ authority.RootCertObjectName = &rootCertObjectName
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioPluginCertificateAuthority populates our IstioPluginCertificateAuthority from the provided source IstioPluginCertificateAuthority
+func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPluginCertificateAuthority(source *storage.IstioPluginCertificateAuthority) error {
+
+ // CertChainObjectName
+ authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
+
+ // CertObjectName
+ authority.CertObjectName = genruntime.ClonePointerToString(source.CertObjectName)
+
+ // KeyObjectName
+ authority.KeyObjectName = genruntime.ClonePointerToString(source.KeyObjectName)
+
+ // KeyVaultReference
+ if source.KeyVaultReference != nil {
+ keyVaultReference := source.KeyVaultReference.Copy()
+ authority.KeyVaultReference = &keyVaultReference
+ } else {
+ authority.KeyVaultReference = nil
+ }
+
+ // RootCertObjectName
+ authority.RootCertObjectName = genruntime.ClonePointerToString(source.RootCertObjectName)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioPluginCertificateAuthority populates the provided destination IstioPluginCertificateAuthority from our IstioPluginCertificateAuthority
+func (authority *IstioPluginCertificateAuthority) AssignProperties_To_IstioPluginCertificateAuthority(destination *storage.IstioPluginCertificateAuthority) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CertChainObjectName
+ destination.CertChainObjectName = genruntime.ClonePointerToString(authority.CertChainObjectName)
+
+ // CertObjectName
+ destination.CertObjectName = genruntime.ClonePointerToString(authority.CertObjectName)
+
+ // KeyObjectName
+ destination.KeyObjectName = genruntime.ClonePointerToString(authority.KeyObjectName)
+
+ // KeyVaultReference
+ if authority.KeyVaultReference != nil {
+ keyVaultReference := authority.KeyVaultReference.Copy()
+ destination.KeyVaultReference = &keyVaultReference
+ } else {
+ destination.KeyVaultReference = nil
+ }
+
+ // RootCertObjectName
+ destination.RootCertObjectName = genruntime.ClonePointerToString(authority.RootCertObjectName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Plugin certificates information for Service Mesh.
+type IstioPluginCertificateAuthority_STATUS struct {
+ // CertChainObjectName: Certificate chain object name in Azure Key Vault.
+ CertChainObjectName *string `json:"certChainObjectName,omitempty"`
+
+ // CertObjectName: Intermediate certificate object name in Azure Key Vault.
+ CertObjectName *string `json:"certObjectName,omitempty"`
+
+ // KeyObjectName: Intermediate certificate private key object name in Azure Key Vault.
+ KeyObjectName *string `json:"keyObjectName,omitempty"`
+
+ // KeyVaultId: The resource ID of the Key Vault.
+ KeyVaultId *string `json:"keyVaultId,omitempty"`
+
+ // RootCertObjectName: Root certificate object name in Azure Key Vault.
+ RootCertObjectName *string `json:"rootCertObjectName,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IstioPluginCertificateAuthority_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (authority *IstioPluginCertificateAuthority_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IstioPluginCertificateAuthority_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (authority *IstioPluginCertificateAuthority_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IstioPluginCertificateAuthority_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IstioPluginCertificateAuthority_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "CertChainObjectName":
+ if typedInput.CertChainObjectName != nil {
+ certChainObjectName := *typedInput.CertChainObjectName
+ authority.CertChainObjectName = &certChainObjectName
+ }
+
+ // Set property "CertObjectName":
+ if typedInput.CertObjectName != nil {
+ certObjectName := *typedInput.CertObjectName
+ authority.CertObjectName = &certObjectName
+ }
+
+ // Set property "KeyObjectName":
+ if typedInput.KeyObjectName != nil {
+ keyObjectName := *typedInput.KeyObjectName
+ authority.KeyObjectName = &keyObjectName
+ }
+
+ // Set property "KeyVaultId":
+ if typedInput.KeyVaultId != nil {
+ keyVaultId := *typedInput.KeyVaultId
+ authority.KeyVaultId = &keyVaultId
+ }
+
+ // Set property "RootCertObjectName":
+ if typedInput.RootCertObjectName != nil {
+ rootCertObjectName := *typedInput.RootCertObjectName
+ authority.RootCertObjectName = &rootCertObjectName
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IstioPluginCertificateAuthority_STATUS populates our IstioPluginCertificateAuthority_STATUS from the provided source IstioPluginCertificateAuthority_STATUS
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source *storage.IstioPluginCertificateAuthority_STATUS) error {
+
+ // CertChainObjectName
+ authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
+
+ // CertObjectName
+ authority.CertObjectName = genruntime.ClonePointerToString(source.CertObjectName)
+
+ // KeyObjectName
+ authority.KeyObjectName = genruntime.ClonePointerToString(source.KeyObjectName)
+
+ // KeyVaultId
+ authority.KeyVaultId = genruntime.ClonePointerToString(source.KeyVaultId)
+
+ // RootCertObjectName
+ authority.RootCertObjectName = genruntime.ClonePointerToString(source.RootCertObjectName)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioPluginCertificateAuthority_STATUS populates the provided destination IstioPluginCertificateAuthority_STATUS from our IstioPluginCertificateAuthority_STATUS
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_To_IstioPluginCertificateAuthority_STATUS(destination *storage.IstioPluginCertificateAuthority_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // CertChainObjectName
+ destination.CertChainObjectName = genruntime.ClonePointerToString(authority.CertChainObjectName)
+
+ // CertObjectName
+ destination.CertObjectName = genruntime.ClonePointerToString(authority.CertObjectName)
+
+ // KeyObjectName
+ destination.KeyObjectName = genruntime.ClonePointerToString(authority.KeyObjectName)
+
+ // KeyVaultId
+ destination.KeyVaultId = genruntime.ClonePointerToString(authority.KeyVaultId)
+
+ // RootCertObjectName
+ destination.RootCertObjectName = genruntime.ClonePointerToString(authority.RootCertObjectName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// An error response from the pod identity provisioning.
+type ManagedClusterPodIdentityProvisioningError_STATUS struct {
+ // Error: Details about the error.
+ Error *ManagedClusterPodIdentityProvisioningErrorBody_STATUS `json:"error,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentityProvisioningError_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityProvisioningError_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityProvisioningError_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityProvisioningError_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Error":
+ if typedInput.Error != nil {
+ var error2 ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ err := error2.PopulateFromARM(owner, *typedInput.Error)
+ if err != nil {
+ return err
+ }
+ error1 := error2
+ error.Error = &error1
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+
+ // Error
+ if source.Error != nil {
+ var errorLocal ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ err := errorLocal.AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source.Error)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
+ }
+ error.Error = &errorLocal
+ } else {
+ error.Error = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Error
+ if error.Error != nil {
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
+ }
+ destination.Error = &errorLocal
+ } else {
+ destination.Error = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"External","Internal"}
+type IstioIngressGateway_Mode string
+
+const (
+ IstioIngressGateway_Mode_External = IstioIngressGateway_Mode("External")
+ IstioIngressGateway_Mode_Internal = IstioIngressGateway_Mode("Internal")
+)
+
+// Mapping from string to IstioIngressGateway_Mode
+var istioIngressGateway_Mode_Values = map[string]IstioIngressGateway_Mode{
+ "external": IstioIngressGateway_Mode_External,
+ "internal": IstioIngressGateway_Mode_Internal,
+}
+
+type IstioIngressGateway_Mode_STATUS string
+
+const (
+ IstioIngressGateway_Mode_STATUS_External = IstioIngressGateway_Mode_STATUS("External")
+ IstioIngressGateway_Mode_STATUS_Internal = IstioIngressGateway_Mode_STATUS("Internal")
+)
+
+// Mapping from string to IstioIngressGateway_Mode_STATUS
+var istioIngressGateway_Mode_STATUS_Values = map[string]IstioIngressGateway_Mode_STATUS{
+ "external": IstioIngressGateway_Mode_STATUS_External,
+ "internal": IstioIngressGateway_Mode_STATUS_Internal,
+}
+
+// An error response from the pod identity provisioning.
+type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
+ // Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
+ Code *string `json:"code,omitempty"`
+
+ // Details: A list of additional details about the error.
+ Details []ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled `json:"details,omitempty"`
+
+ // Message: A message describing the error, intended to be suitable for display in a user interface.
+ Message *string `json:"message,omitempty"`
+
+ // Target: The target of the particular error. For example, the name of the property in error.
+ Target *string `json:"target,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentityProvisioningErrorBody_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Code":
+ if typedInput.Code != nil {
+ code := *typedInput.Code
+ body.Code = &code
+ }
+
+ // Set property "Details":
+ for _, item := range typedInput.Details {
+ var item1 ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ body.Details = append(body.Details, item1)
+ }
+
+ // Set property "Message":
+ if typedInput.Message != nil {
+ message := *typedInput.Message
+ body.Message = &message
+ }
+
+ // Set property "Target":
+ if typedInput.Target != nil {
+ target := *typedInput.Target
+ body.Target = &target
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+
+ // Code
+ body.Code = genruntime.ClonePointerToString(source.Code)
+
+ // Details
+ if source.Details != nil {
+ detailList := make([]ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(source.Details))
+ for detailIndex, detailItem := range source.Details {
+ // Shadow the loop variable to avoid aliasing
+ detailItem := detailItem
+ var detail ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ err := detail.AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detailItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
+ }
+ detailList[detailIndex] = detail
+ }
+ body.Details = detailList
+ } else {
+ body.Details = nil
+ }
+
+ // Message
+ body.Message = genruntime.ClonePointerToString(source.Message)
+
+ // Target
+ body.Target = genruntime.ClonePointerToString(source.Target)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Code
+ destination.Code = genruntime.ClonePointerToString(body.Code)
+
+ // Details
+ if body.Details != nil {
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ for detailIndex, detailItem := range body.Details {
+ // Shadow the loop variable to avoid aliasing
+ detailItem := detailItem
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
+ }
+ detailList[detailIndex] = detail
+ }
+ destination.Details = detailList
+ } else {
+ destination.Details = nil
+ }
+
+ // Message
+ destination.Message = genruntime.ClonePointerToString(body.Message)
+
+ // Target
+ destination.Target = genruntime.ClonePointerToString(body.Target)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled struct {
+ // Code: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
+ Code *string `json:"code,omitempty"`
+
+ // Message: A message describing the error, intended to be suitable for display in a user interface.
+ Message *string `json:"message,omitempty"`
+
+ // Target: The target of the particular error. For example, the name of the property in error.
+ Target *string `json:"target,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM, got %T", armInput)
+ }
+
+ // Set property "Code":
+ if typedInput.Code != nil {
+ code := *typedInput.Code
+ unrolled.Code = &code
+ }
+
+ // Set property "Message":
+ if typedInput.Message != nil {
+ message := *typedInput.Message
+ unrolled.Message = &message
+ }
+
+ // Set property "Target":
+ if typedInput.Target != nil {
+ target := *typedInput.Target
+ unrolled.Target = &target
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+
+ // Code
+ unrolled.Code = genruntime.ClonePointerToString(source.Code)
+
+ // Message
+ unrolled.Message = genruntime.ClonePointerToString(source.Message)
+
+ // Target
+ unrolled.Target = genruntime.ClonePointerToString(source.Target)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Code
+ destination.Code = genruntime.ClonePointerToString(unrolled.Code)
+
+ // Message
+ destination.Message = genruntime.ClonePointerToString(unrolled.Message)
+
+ // Target
+ destination.Target = genruntime.ClonePointerToString(unrolled.Target)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+func init() {
+ SchemeBuilder.Register(&ManagedCluster{}, &ManagedClusterList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_spec_arm_types_gen.go
new file mode 100644
index 0000000000..a52bf52d77
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_spec_arm_types_gen.go
@@ -0,0 +1,515 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+
+type ManagedClusters_AgentPool_Spec_ARM struct {
+ Name string `json:"name,omitempty"`
+
+ // Properties: Properties of an agent pool.
+ Properties *ManagedClusterAgentPoolProfileProperties_ARM `json:"properties,omitempty"`
+}
+
+var _ genruntime.ARMResourceSpec = &ManagedClusters_AgentPool_Spec_ARM{}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (pool ManagedClusters_AgentPool_Spec_ARM) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetName returns the Name of the resource
+func (pool *ManagedClusters_AgentPool_Spec_ARM) GetName() string {
+ return pool.Name
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/agentPools"
+func (pool *ManagedClusters_AgentPool_Spec_ARM) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/agentPools"
+}
+
+// Properties for the container service agent pool profile.
+type ManagedClusterAgentPoolProfileProperties_ARM struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_ARM `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones"`
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData_ARM `json:"creationData,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile_ARM `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile_ARM `json:"gpuProfile,omitempty"`
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig_ARM `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig_ARM `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode `json:"mode,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile_ARM `json:"networkProfile,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels"`
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *ContainerServiceOSDisk `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode `json:"podIPAllocationMode,omitempty"`
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState_ARM `json:"powerState,omitempty"`
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile_ARM `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings_ARM `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_ARM `json:"virtualMachineNodesStatus"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile_ARM `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile_ARM `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"`
+}
+
+type AgentPoolArtifactStreamingProfile_ARM struct {
+ // Enabled: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use
+ // this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Profile of the managed cluster gateway agent pool.
+type AgentPoolGatewayProfile_ARM struct {
+ // PublicIPPrefixSize: The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide
+ // public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with
+ // one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure
+ // public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8
+ // nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
+ PublicIPPrefixSize *int `json:"publicIPPrefixSize,omitempty"`
+}
+
+type AgentPoolGPUProfile_ARM struct {
+ // InstallGPUDriver: The default value is true when the vmSize of the agent pool contains a GPU, false otherwise. GPU
+ // Driver Installation can only be set true when VM has an associated GPU resource. Setting this field to false prevents
+ // automatic GPU driver installation. In that case, in order for the GPU to be usable, the user must perform GPU driver
+ // installation themselves.
+ InstallGPUDriver *bool `json:"installGPUDriver,omitempty"`
+}
+
+// Network settings of an agent pool.
+type AgentPoolNetworkProfile_ARM struct {
+ // AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
+ AllowedHostPorts []PortRange_ARM `json:"allowedHostPorts"`
+ ApplicationSecurityGroups []string `json:"applicationSecurityGroups,omitempty"`
+
+ // NodePublicIPTags: IPTags of instance-level public IPs.
+ NodePublicIPTags []IPTag_ARM `json:"nodePublicIPTags"`
+}
+
+// The security settings of an agent pool.
+type AgentPoolSecurityProfile_ARM struct {
+ // EnableSecureBoot: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and
+ // drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"`
+
+ // EnableVTPM: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held
+ // locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableVTPM *bool `json:"enableVTPM,omitempty"`
+
+ // SshAccess: SSH access method of an agent pool.
+ SshAccess *AgentPoolSSHAccess `json:"sshAccess,omitempty"`
+}
+
+// Settings for upgrading an agentpool
+type AgentPoolUpgradeSettings_ARM struct {
+ // DrainTimeoutInMinutes: The amount of time (in minutes) to wait on eviction of pods and graceful termination per node.
+ // This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not
+ // specified, the default is 30 minutes.
+ DrainTimeoutInMinutes *int `json:"drainTimeoutInMinutes,omitempty"`
+
+ // MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
+ // is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded
+ // up. If not specified, the default is 1. For more information, including best practices, see:
+ // https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade
+ MaxSurge *string `json:"maxSurge,omitempty"`
+
+ // NodeSoakDurationInMinutes: The amount of time (in minutes) to wait after draining a node and before reimaging it and
+ // moving on to next node. If not specified, the default is 0 minutes.
+ NodeSoakDurationInMinutes *int `json:"nodeSoakDurationInMinutes,omitempty"`
+
+ // UndrainableNodeBehavior: Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable
+ // nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the
+ // remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
+ UndrainableNodeBehavior *AgentPoolUpgradeSettings_UndrainableNodeBehavior `json:"undrainableNodeBehavior,omitempty"`
+}
+
+// The Windows agent pool's specific profile.
+type AgentPoolWindowsProfile_ARM struct {
+ // DisableOutboundNat: The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT
+ // Gateway and the Windows agent pool does not have node public IP enabled.
+ DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"`
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type KubeletConfig_ARM struct {
+ // AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
+ AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls"`
+
+ // ContainerLogMaxFiles: The maximum number of container log files that can be present for a container. The number must be
+ // ≥ 2.
+ ContainerLogMaxFiles *int `json:"containerLogMaxFiles,omitempty"`
+
+ // ContainerLogMaxSizeMB: The maximum size (e.g. 10Mi) of container log file before it is rotated.
+ ContainerLogMaxSizeMB *int `json:"containerLogMaxSizeMB,omitempty"`
+
+ // CpuCfsQuota: The default is true.
+ CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"`
+
+ // CpuCfsQuotaPeriod: The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and
+ // a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
+ CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"`
+
+ // CpuManagerPolicy: The default is 'none'. See [Kubernetes CPU management
+ // policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more
+ // information. Allowed values are 'none' and 'static'.
+ CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"`
+
+ // FailSwapOn: If set to true it will make the Kubelet fail to start if swap is enabled on the node.
+ FailSwapOn *bool `json:"failSwapOn,omitempty"`
+
+ // ImageGcHighThreshold: To disable image garbage collection, set to 100. The default is 85%
+ ImageGcHighThreshold *int `json:"imageGcHighThreshold,omitempty"`
+
+ // ImageGcLowThreshold: This cannot be set higher than imageGcHighThreshold. The default is 80%
+ ImageGcLowThreshold *int `json:"imageGcLowThreshold,omitempty"`
+
+ // PodMaxPids: The maximum number of processes per pod.
+ PodMaxPids *int `json:"podMaxPids,omitempty"`
+
+ // TopologyManagerPolicy: For more information see [Kubernetes Topology
+ // Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values
+ // are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
+ TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"`
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type LinuxOSConfig_ARM struct {
+ // SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
+ SwapFileSizeMB *int `json:"swapFileSizeMB,omitempty"`
+
+ // Sysctls: Sysctl settings for Linux agent nodes.
+ Sysctls *SysctlConfig_ARM `json:"sysctls,omitempty"`
+
+ // TransparentHugePageDefrag: Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is
+ // 'madvise'. For more information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"`
+
+ // TransparentHugePageEnabled: Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more
+ // information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"`
+}
+
+// Describes the Power State of the cluster
+type PowerState_ARM struct {
+ // Code: Tells whether the cluster is Running or Stopped
+ Code *PowerState_Code `json:"code,omitempty"`
+}
+
+// Current status on a group of nodes of the same vm size.
+type VirtualMachineNodes_ARM struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Size: The VM size of the agents used to host this group of nodes.
+ Size *string `json:"size,omitempty"`
+}
+
+// Specifications on VirtualMachines agent pool.
+type VirtualMachinesProfile_ARM struct {
+ // Scale: Specifications on how to scale a VirtualMachines agent pool.
+ Scale *ScaleProfile_ARM `json:"scale,omitempty"`
+}
+
+// Contains the IPTag associated with the object.
+type IPTag_ARM struct {
+ // IpTagType: The IP tag type. Example: RoutingPreference.
+ IpTagType *string `json:"ipTagType,omitempty"`
+
+ // Tag: The value of the IP tag associated with the public IP. Example: Internet.
+ Tag *string `json:"tag,omitempty"`
+}
+
+// The port range.
+type PortRange_ARM struct {
+ // PortEnd: The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or
+ // equal to portStart.
+ PortEnd *int `json:"portEnd,omitempty"`
+
+ // PortStart: The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or
+ // equal to portEnd.
+ PortStart *int `json:"portStart,omitempty"`
+
+ // Protocol: The network protocol of the port.
+ Protocol *PortRange_Protocol `json:"protocol,omitempty"`
+}
+
+// Specifications on how to scale a VirtualMachines agent pool.
+type ScaleProfile_ARM struct {
+ // Autoscale: Specifications on how to auto-scale the VirtualMachines agent pool within a predefined size range. Currently,
+ // at most one AutoScaleProfile is allowed.
+ Autoscale []AutoScaleProfile_ARM `json:"autoscale"`
+
+ // Manual: Specifications on how to scale the VirtualMachines agent pool to a fixed size. Currently, at most one
+ // ManualScaleProfile is allowed.
+ Manual []ManualScaleProfile_ARM `json:"manual"`
+}
+
+// Sysctl settings for Linux agent nodes.
+type SysctlConfig_ARM struct {
+ // FsAioMaxNr: Sysctl setting fs.aio-max-nr.
+ FsAioMaxNr *int `json:"fsAioMaxNr,omitempty"`
+
+ // FsFileMax: Sysctl setting fs.file-max.
+ FsFileMax *int `json:"fsFileMax,omitempty"`
+
+ // FsInotifyMaxUserWatches: Sysctl setting fs.inotify.max_user_watches.
+ FsInotifyMaxUserWatches *int `json:"fsInotifyMaxUserWatches,omitempty"`
+
+ // FsNrOpen: Sysctl setting fs.nr_open.
+ FsNrOpen *int `json:"fsNrOpen,omitempty"`
+
+ // KernelThreadsMax: Sysctl setting kernel.threads-max.
+ KernelThreadsMax *int `json:"kernelThreadsMax,omitempty"`
+
+ // NetCoreNetdevMaxBacklog: Sysctl setting net.core.netdev_max_backlog.
+ NetCoreNetdevMaxBacklog *int `json:"netCoreNetdevMaxBacklog,omitempty"`
+
+ // NetCoreOptmemMax: Sysctl setting net.core.optmem_max.
+ NetCoreOptmemMax *int `json:"netCoreOptmemMax,omitempty"`
+
+ // NetCoreRmemDefault: Sysctl setting net.core.rmem_default.
+ NetCoreRmemDefault *int `json:"netCoreRmemDefault,omitempty"`
+
+ // NetCoreRmemMax: Sysctl setting net.core.rmem_max.
+ NetCoreRmemMax *int `json:"netCoreRmemMax,omitempty"`
+
+ // NetCoreSomaxconn: Sysctl setting net.core.somaxconn.
+ NetCoreSomaxconn *int `json:"netCoreSomaxconn,omitempty"`
+
+ // NetCoreWmemDefault: Sysctl setting net.core.wmem_default.
+ NetCoreWmemDefault *int `json:"netCoreWmemDefault,omitempty"`
+
+ // NetCoreWmemMax: Sysctl setting net.core.wmem_max.
+ NetCoreWmemMax *int `json:"netCoreWmemMax,omitempty"`
+
+ // NetIpv4IpLocalPortRange: Sysctl setting net.ipv4.ip_local_port_range.
+ NetIpv4IpLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1.
+ NetIpv4NeighDefaultGcThresh1 *int `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2.
+ NetIpv4NeighDefaultGcThresh2 *int `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3.
+ NetIpv4NeighDefaultGcThresh3 *int `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
+
+ // NetIpv4TcpFinTimeout: Sysctl setting net.ipv4.tcp_fin_timeout.
+ NetIpv4TcpFinTimeout *int `json:"netIpv4TcpFinTimeout,omitempty"`
+
+ // NetIpv4TcpKeepaliveProbes: Sysctl setting net.ipv4.tcp_keepalive_probes.
+ NetIpv4TcpKeepaliveProbes *int `json:"netIpv4TcpKeepaliveProbes,omitempty"`
+
+ // NetIpv4TcpKeepaliveTime: Sysctl setting net.ipv4.tcp_keepalive_time.
+ NetIpv4TcpKeepaliveTime *int `json:"netIpv4TcpKeepaliveTime,omitempty"`
+
+ // NetIpv4TcpMaxSynBacklog: Sysctl setting net.ipv4.tcp_max_syn_backlog.
+ NetIpv4TcpMaxSynBacklog *int `json:"netIpv4TcpMaxSynBacklog,omitempty"`
+
+ // NetIpv4TcpMaxTwBuckets: Sysctl setting net.ipv4.tcp_max_tw_buckets.
+ NetIpv4TcpMaxTwBuckets *int `json:"netIpv4TcpMaxTwBuckets,omitempty"`
+
+ // NetIpv4TcpTwReuse: Sysctl setting net.ipv4.tcp_tw_reuse.
+ NetIpv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"`
+
+ // NetIpv4TcpkeepaliveIntvl: Sysctl setting net.ipv4.tcp_keepalive_intvl.
+ NetIpv4TcpkeepaliveIntvl *int `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
+
+ // NetNetfilterNfConntrackBuckets: Sysctl setting net.netfilter.nf_conntrack_buckets.
+ NetNetfilterNfConntrackBuckets *int `json:"netNetfilterNfConntrackBuckets,omitempty"`
+
+ // NetNetfilterNfConntrackMax: Sysctl setting net.netfilter.nf_conntrack_max.
+ NetNetfilterNfConntrackMax *int `json:"netNetfilterNfConntrackMax,omitempty"`
+
+ // VmMaxMapCount: Sysctl setting vm.max_map_count.
+ VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
+
+ // VmSwappiness: Sysctl setting vm.swappiness.
+ VmSwappiness *int `json:"vmSwappiness,omitempty"`
+
+ // VmVfsCachePressure: Sysctl setting vm.vfs_cache_pressure.
+ VmVfsCachePressure *int `json:"vmVfsCachePressure,omitempty"`
+}
+
+// Specifications on auto-scaling.
+type AutoScaleProfile_ARM struct {
+ // MaxCount: The maximum number of nodes of the specified sizes.
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MinCount: The minimum number of nodes of the specified sizes.
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when auto scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS
+ // will use the next size.
+ Sizes []string `json:"sizes"`
+}
+
+// Specifications on number of machines.
+type ManualScaleProfile_ARM struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS will
+ // use the next size.
+ Sizes []string `json:"sizes"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_status_arm_types_gen.go
new file mode 100644
index 0000000000..0424fcacc8
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_status_arm_types_gen.go
@@ -0,0 +1,534 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+type ManagedClusters_AgentPool_STATUS_ARM struct {
+ // Id: Resource ID.
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `json:"name,omitempty"`
+
+ // Properties: Properties of an agent pool.
+ Properties *ManagedClusterAgentPoolProfileProperties_STATUS_ARM `json:"properties,omitempty"`
+
+ // Type: Resource type
+ Type *string `json:"type,omitempty"`
+}
+
+// Properties for the container service agent pool profile.
+type ManagedClusterAgentPoolProfileProperties_STATUS_ARM struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_STATUS_ARM `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones"`
+
+ // CapacityReservationGroupID: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData_STATUS_ARM `json:"creationData,omitempty"`
+
+ // CurrentOrchestratorVersion: If orchestratorVersion was a fully specified version , this field will be
+ // exactly equal to it. If orchestratorVersion was , this field will contain the full
+ // version being used.
+ CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"`
+
+ // ETag: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
+ // updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic
+ // concurrency per the normal etag convention.
+ ETag *string `json:"eTag,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile_STATUS_ARM `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile_STATUS `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile_STATUS_ARM `json:"gpuProfile,omitempty"`
+
+ // HostGroupID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig_STATUS_ARM `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType_STATUS `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig_STATUS_ARM `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode_STATUS `json:"mode,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile_STATUS_ARM `json:"networkProfile,omitempty"`
+
+ // NodeImageVersion: The version of node image
+ NodeImageVersion *string `json:"nodeImageVersion,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels"`
+
+ // NodePublicIPPrefixID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType_STATUS `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU_STATUS `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType_STATUS `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode_STATUS `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetID: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is
+ // of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState_STATUS_ARM `json:"powerState,omitempty"`
+
+ // ProvisioningState: The current deployment or provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+
+ // ProximityPlacementGroupID: The ID for Proximity Placement Group.
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode_STATUS `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy_STATUS `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority_STATUS `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile_STATUS_ARM `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType_STATUS `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings_STATUS_ARM `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_STATUS_ARM `json:"virtualMachineNodesStatus"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile_STATUS_ARM `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetID: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified,
+ // this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile_STATUS_ARM `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime_STATUS `json:"workloadRuntime,omitempty"`
+}
+
+type AgentPoolArtifactStreamingProfile_STATUS_ARM struct {
+ // Enabled: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use
+ // this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+// Profile of the managed cluster gateway agent pool.
+type AgentPoolGatewayProfile_STATUS_ARM struct {
+ // PublicIPPrefixSize: The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide
+ // public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with
+ // one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure
+ // public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8
+ // nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
+ PublicIPPrefixSize *int `json:"publicIPPrefixSize,omitempty"`
+}
+
+type AgentPoolGPUProfile_STATUS_ARM struct {
+ // InstallGPUDriver: The default value is true when the vmSize of the agent pool contains a GPU, false otherwise. GPU
+ // Driver Installation can only be set true when VM has an associated GPU resource. Setting this field to false prevents
+ // automatic GPU driver installation. In that case, in order for the GPU to be usable, the user must perform GPU driver
+ // installation themselves.
+ InstallGPUDriver *bool `json:"installGPUDriver,omitempty"`
+}
+
+// Network settings of an agent pool.
+type AgentPoolNetworkProfile_STATUS_ARM struct {
+ // AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
+ AllowedHostPorts []PortRange_STATUS_ARM `json:"allowedHostPorts"`
+
+ // ApplicationSecurityGroups: The IDs of the application security groups which agent pool will associate when created.
+ ApplicationSecurityGroups []string `json:"applicationSecurityGroups"`
+
+ // NodePublicIPTags: IPTags of instance-level public IPs.
+ NodePublicIPTags []IPTag_STATUS_ARM `json:"nodePublicIPTags"`
+}
+
+// The security settings of an agent pool.
+type AgentPoolSecurityProfile_STATUS_ARM struct {
+ // EnableSecureBoot: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and
+ // drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"`
+
+ // EnableVTPM: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held
+ // locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableVTPM *bool `json:"enableVTPM,omitempty"`
+
+ // SshAccess: SSH access method of an agent pool.
+ SshAccess *AgentPoolSSHAccess_STATUS `json:"sshAccess,omitempty"`
+}
+
+// Settings for upgrading an agentpool
+type AgentPoolUpgradeSettings_STATUS_ARM struct {
+ // DrainTimeoutInMinutes: The amount of time (in minutes) to wait on eviction of pods and graceful termination per node.
+ // This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not
+ // specified, the default is 30 minutes.
+ DrainTimeoutInMinutes *int `json:"drainTimeoutInMinutes,omitempty"`
+
+ // MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
+ // is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded
+ // up. If not specified, the default is 1. For more information, including best practices, see:
+ // https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade
+ MaxSurge *string `json:"maxSurge,omitempty"`
+
+ // NodeSoakDurationInMinutes: The amount of time (in minutes) to wait after draining a node and before reimaging it and
+ // moving on to next node. If not specified, the default is 0 minutes.
+ NodeSoakDurationInMinutes *int `json:"nodeSoakDurationInMinutes,omitempty"`
+
+ // UndrainableNodeBehavior: Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable
+ // nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the
+ // remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
+ UndrainableNodeBehavior *AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS `json:"undrainableNodeBehavior,omitempty"`
+}
+
+// The Windows agent pool's specific profile.
+type AgentPoolWindowsProfile_STATUS_ARM struct {
+ // DisableOutboundNat: The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT
+ // Gateway and the Windows agent pool does not have node public IP enabled.
+ DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"`
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type KubeletConfig_STATUS_ARM struct {
+ // AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
+ AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls"`
+
+ // ContainerLogMaxFiles: The maximum number of container log files that can be present for a container. The number must be
+ // ≥ 2.
+ ContainerLogMaxFiles *int `json:"containerLogMaxFiles,omitempty"`
+
+ // ContainerLogMaxSizeMB: The maximum size (e.g. 10Mi) of container log file before it is rotated.
+ ContainerLogMaxSizeMB *int `json:"containerLogMaxSizeMB,omitempty"`
+
+ // CpuCfsQuota: The default is true.
+ CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"`
+
+ // CpuCfsQuotaPeriod: The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and
+ // a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
+ CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"`
+
+ // CpuManagerPolicy: The default is 'none'. See [Kubernetes CPU management
+ // policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more
+ // information. Allowed values are 'none' and 'static'.
+ CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"`
+
+ // FailSwapOn: If set to true it will make the Kubelet fail to start if swap is enabled on the node.
+ FailSwapOn *bool `json:"failSwapOn,omitempty"`
+
+ // ImageGcHighThreshold: To disable image garbage collection, set to 100. The default is 85%
+ ImageGcHighThreshold *int `json:"imageGcHighThreshold,omitempty"`
+
+ // ImageGcLowThreshold: This cannot be set higher than imageGcHighThreshold. The default is 80%
+ ImageGcLowThreshold *int `json:"imageGcLowThreshold,omitempty"`
+
+ // PodMaxPids: The maximum number of processes per pod.
+ PodMaxPids *int `json:"podMaxPids,omitempty"`
+
+ // TopologyManagerPolicy: For more information see [Kubernetes Topology
+ // Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values
+ // are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
+ TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"`
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type LinuxOSConfig_STATUS_ARM struct {
+ // SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
+ SwapFileSizeMB *int `json:"swapFileSizeMB,omitempty"`
+
+ // Sysctls: Sysctl settings for Linux agent nodes.
+ Sysctls *SysctlConfig_STATUS_ARM `json:"sysctls,omitempty"`
+
+ // TransparentHugePageDefrag: Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is
+ // 'madvise'. For more information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"`
+
+ // TransparentHugePageEnabled: Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more
+ // information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"`
+}
+
+// Current status on a group of nodes of the same vm size.
+type VirtualMachineNodes_STATUS_ARM struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Size: The VM size of the agents used to host this group of nodes.
+ Size *string `json:"size,omitempty"`
+}
+
+// Specifications on VirtualMachines agent pool.
+type VirtualMachinesProfile_STATUS_ARM struct {
+ // Scale: Specifications on how to scale a VirtualMachines agent pool.
+ Scale *ScaleProfile_STATUS_ARM `json:"scale,omitempty"`
+}
+
+// Contains the IPTag associated with the object.
+type IPTag_STATUS_ARM struct {
+ // IpTagType: The IP tag type. Example: RoutingPreference.
+ IpTagType *string `json:"ipTagType,omitempty"`
+
+ // Tag: The value of the IP tag associated with the public IP. Example: Internet.
+ Tag *string `json:"tag,omitempty"`
+}
+
+// The port range.
+type PortRange_STATUS_ARM struct {
+ // PortEnd: The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or
+ // equal to portStart.
+ PortEnd *int `json:"portEnd,omitempty"`
+
+ // PortStart: The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or
+ // equal to portEnd.
+ PortStart *int `json:"portStart,omitempty"`
+
+ // Protocol: The network protocol of the port.
+ Protocol *PortRange_Protocol_STATUS `json:"protocol,omitempty"`
+}
+
+// Specifications on how to scale a VirtualMachines agent pool.
+type ScaleProfile_STATUS_ARM struct {
+ // Autoscale: Specifications on how to auto-scale the VirtualMachines agent pool within a predefined size range. Currently,
+ // at most one AutoScaleProfile is allowed.
+ Autoscale []AutoScaleProfile_STATUS_ARM `json:"autoscale"`
+
+ // Manual: Specifications on how to scale the VirtualMachines agent pool to a fixed size. Currently, at most one
+ // ManualScaleProfile is allowed.
+ Manual []ManualScaleProfile_STATUS_ARM `json:"manual"`
+}
+
+// Sysctl settings for Linux agent nodes.
+type SysctlConfig_STATUS_ARM struct {
+ // FsAioMaxNr: Sysctl setting fs.aio-max-nr.
+ FsAioMaxNr *int `json:"fsAioMaxNr,omitempty"`
+
+ // FsFileMax: Sysctl setting fs.file-max.
+ FsFileMax *int `json:"fsFileMax,omitempty"`
+
+ // FsInotifyMaxUserWatches: Sysctl setting fs.inotify.max_user_watches.
+ FsInotifyMaxUserWatches *int `json:"fsInotifyMaxUserWatches,omitempty"`
+
+ // FsNrOpen: Sysctl setting fs.nr_open.
+ FsNrOpen *int `json:"fsNrOpen,omitempty"`
+
+ // KernelThreadsMax: Sysctl setting kernel.threads-max.
+ KernelThreadsMax *int `json:"kernelThreadsMax,omitempty"`
+
+ // NetCoreNetdevMaxBacklog: Sysctl setting net.core.netdev_max_backlog.
+ NetCoreNetdevMaxBacklog *int `json:"netCoreNetdevMaxBacklog,omitempty"`
+
+ // NetCoreOptmemMax: Sysctl setting net.core.optmem_max.
+ NetCoreOptmemMax *int `json:"netCoreOptmemMax,omitempty"`
+
+ // NetCoreRmemDefault: Sysctl setting net.core.rmem_default.
+ NetCoreRmemDefault *int `json:"netCoreRmemDefault,omitempty"`
+
+ // NetCoreRmemMax: Sysctl setting net.core.rmem_max.
+ NetCoreRmemMax *int `json:"netCoreRmemMax,omitempty"`
+
+ // NetCoreSomaxconn: Sysctl setting net.core.somaxconn.
+ NetCoreSomaxconn *int `json:"netCoreSomaxconn,omitempty"`
+
+ // NetCoreWmemDefault: Sysctl setting net.core.wmem_default.
+ NetCoreWmemDefault *int `json:"netCoreWmemDefault,omitempty"`
+
+ // NetCoreWmemMax: Sysctl setting net.core.wmem_max.
+ NetCoreWmemMax *int `json:"netCoreWmemMax,omitempty"`
+
+ // NetIpv4IpLocalPortRange: Sysctl setting net.ipv4.ip_local_port_range.
+ NetIpv4IpLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1.
+ NetIpv4NeighDefaultGcThresh1 *int `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2.
+ NetIpv4NeighDefaultGcThresh2 *int `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3.
+ NetIpv4NeighDefaultGcThresh3 *int `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
+
+ // NetIpv4TcpFinTimeout: Sysctl setting net.ipv4.tcp_fin_timeout.
+ NetIpv4TcpFinTimeout *int `json:"netIpv4TcpFinTimeout,omitempty"`
+
+ // NetIpv4TcpKeepaliveProbes: Sysctl setting net.ipv4.tcp_keepalive_probes.
+ NetIpv4TcpKeepaliveProbes *int `json:"netIpv4TcpKeepaliveProbes,omitempty"`
+
+ // NetIpv4TcpKeepaliveTime: Sysctl setting net.ipv4.tcp_keepalive_time.
+ NetIpv4TcpKeepaliveTime *int `json:"netIpv4TcpKeepaliveTime,omitempty"`
+
+ // NetIpv4TcpMaxSynBacklog: Sysctl setting net.ipv4.tcp_max_syn_backlog.
+ NetIpv4TcpMaxSynBacklog *int `json:"netIpv4TcpMaxSynBacklog,omitempty"`
+
+ // NetIpv4TcpMaxTwBuckets: Sysctl setting net.ipv4.tcp_max_tw_buckets.
+ NetIpv4TcpMaxTwBuckets *int `json:"netIpv4TcpMaxTwBuckets,omitempty"`
+
+ // NetIpv4TcpTwReuse: Sysctl setting net.ipv4.tcp_tw_reuse.
+ NetIpv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"`
+
+ // NetIpv4TcpkeepaliveIntvl: Sysctl setting net.ipv4.tcp_keepalive_intvl.
+ NetIpv4TcpkeepaliveIntvl *int `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
+
+ // NetNetfilterNfConntrackBuckets: Sysctl setting net.netfilter.nf_conntrack_buckets.
+ NetNetfilterNfConntrackBuckets *int `json:"netNetfilterNfConntrackBuckets,omitempty"`
+
+ // NetNetfilterNfConntrackMax: Sysctl setting net.netfilter.nf_conntrack_max.
+ NetNetfilterNfConntrackMax *int `json:"netNetfilterNfConntrackMax,omitempty"`
+
+ // VmMaxMapCount: Sysctl setting vm.max_map_count.
+ VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
+
+ // VmSwappiness: Sysctl setting vm.swappiness.
+ VmSwappiness *int `json:"vmSwappiness,omitempty"`
+
+ // VmVfsCachePressure: Sysctl setting vm.vfs_cache_pressure.
+ VmVfsCachePressure *int `json:"vmVfsCachePressure,omitempty"`
+}
+
+// Specifications on auto-scaling.
+type AutoScaleProfile_STATUS_ARM struct {
+ // MaxCount: The maximum number of nodes of the specified sizes.
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MinCount: The minimum number of nodes of the specified sizes.
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when auto scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS
+ // will use the next size.
+ Sizes []string `json:"sizes"`
+}
+
+// Specifications on number of machines.
+type ManualScaleProfile_STATUS_ARM struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS will
+ // use the next size.
+ Sizes []string `json:"sizes"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_types_gen.go
new file mode 100644
index 0000000000..6ae6e79eea
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_agent_pool_types_gen.go
@@ -0,0 +1,9666 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+import (
+ "fmt"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage"
+ "github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+ "sigs.k8s.io/controller-runtime/pkg/webhook/admission"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
+type ManagedClustersAgentPool struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedClusters_AgentPool_Spec `json:"spec,omitempty"`
+ Status ManagedClusters_AgentPool_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &ManagedClustersAgentPool{}
+
+// GetConditions returns the conditions of the resource
+func (pool *ManagedClustersAgentPool) GetConditions() conditions.Conditions {
+ return pool.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (pool *ManagedClustersAgentPool) SetConditions(conditions conditions.Conditions) {
+ pool.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &ManagedClustersAgentPool{}
+
+// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var source storage.ManagedClustersAgentPool
+
+ err := source.ConvertFrom(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from hub to source")
+ }
+
+ err = pool.AssignProperties_From_ManagedClustersAgentPool(&source)
+ if err != nil {
+ return errors.Wrap(err, "converting from source to pool")
+ }
+
+ return nil
+}
+
+// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var destination storage.ManagedClustersAgentPool
+ err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
+ if err != nil {
+ return errors.Wrap(err, "converting to destination from pool")
+ }
+ err = destination.ConvertTo(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from destination to hub")
+ }
+
+ return nil
+}
+
+// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1api20240402preview-managedclustersagentpool,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1api20240402preview,name=default.v1api20240402preview.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Defaulter = &ManagedClustersAgentPool{}
+
+// Default applies defaults to the ManagedClustersAgentPool resource
+func (pool *ManagedClustersAgentPool) Default() {
+ pool.defaultImpl()
+ var temp any = pool
+ if runtimeDefaulter, ok := temp.(genruntime.Defaulter); ok {
+ runtimeDefaulter.CustomDefault()
+ }
+}
+
+// defaultAzureName defaults the Azure name of the resource to the Kubernetes name
+func (pool *ManagedClustersAgentPool) defaultAzureName() {
+ if pool.Spec.AzureName == "" {
+ pool.Spec.AzureName = pool.Name
+ }
+}
+
+// defaultImpl applies the code generated defaults to the ManagedClustersAgentPool resource
+func (pool *ManagedClustersAgentPool) defaultImpl() { pool.defaultAzureName() }
+
+var _ genruntime.KubernetesResource = &ManagedClustersAgentPool{}
+
+// AzureName returns the Azure name of the resource
+func (pool *ManagedClustersAgentPool) AzureName() string {
+ return pool.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (pool ManagedClustersAgentPool) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (pool *ManagedClustersAgentPool) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (pool *ManagedClustersAgentPool) GetSpec() genruntime.ConvertibleSpec {
+ return &pool.Spec
+}
+
+// GetStatus returns the status of this resource
+func (pool *ManagedClustersAgentPool) GetStatus() genruntime.ConvertibleStatus {
+ return &pool.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (pool *ManagedClustersAgentPool) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/agentPools"
+func (pool *ManagedClustersAgentPool) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/agentPools"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (pool *ManagedClustersAgentPool) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedClusters_AgentPool_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (pool *ManagedClustersAgentPool) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(pool.Spec)
+ return pool.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (pool *ManagedClustersAgentPool) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedClusters_AgentPool_STATUS); ok {
+ pool.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedClusters_AgentPool_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ pool.Status = st
+ return nil
+}
+
+// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1api20240402preview-managedclustersagentpool,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=managedclustersagentpools,verbs=create;update,versions=v1api20240402preview,name=validate.v1api20240402preview.managedclustersagentpools.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Validator = &ManagedClustersAgentPool{}
+
+// ValidateCreate validates the creation of the resource
+func (pool *ManagedClustersAgentPool) ValidateCreate() (admission.Warnings, error) {
+ validations := pool.createValidations()
+ var temp any = pool
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.CreateValidations()...)
+ }
+ return genruntime.ValidateCreate(validations)
+}
+
+// ValidateDelete validates the deletion of the resource
+func (pool *ManagedClustersAgentPool) ValidateDelete() (admission.Warnings, error) {
+ validations := pool.deleteValidations()
+ var temp any = pool
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.DeleteValidations()...)
+ }
+ return genruntime.ValidateDelete(validations)
+}
+
+// ValidateUpdate validates an update of the resource
+func (pool *ManagedClustersAgentPool) ValidateUpdate(old runtime.Object) (admission.Warnings, error) {
+ validations := pool.updateValidations()
+ var temp any = pool
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.UpdateValidations()...)
+ }
+ return genruntime.ValidateUpdate(old, validations)
+}
+
+// createValidations validates the creation of the resource
+func (pool *ManagedClustersAgentPool) createValidations() []func() (admission.Warnings, error) {
+ return []func() (admission.Warnings, error){pool.validateResourceReferences, pool.validateOwnerReference}
+}
+
+// deleteValidations validates the deletion of the resource
+func (pool *ManagedClustersAgentPool) deleteValidations() []func() (admission.Warnings, error) {
+ return nil
+}
+
+// updateValidations validates the update of the resource
+func (pool *ManagedClustersAgentPool) updateValidations() []func(old runtime.Object) (admission.Warnings, error) {
+ return []func(old runtime.Object) (admission.Warnings, error){
+ func(old runtime.Object) (admission.Warnings, error) {
+ return pool.validateResourceReferences()
+ },
+ pool.validateWriteOnceProperties,
+ func(old runtime.Object) (admission.Warnings, error) {
+ return pool.validateOwnerReference()
+ },
+ }
+}
+
+// validateOwnerReference validates the owner field
+func (pool *ManagedClustersAgentPool) validateOwnerReference() (admission.Warnings, error) {
+ return genruntime.ValidateOwner(pool)
+}
+
+// validateResourceReferences validates all resource references
+func (pool *ManagedClustersAgentPool) validateResourceReferences() (admission.Warnings, error) {
+ refs, err := reflecthelpers.FindResourceReferences(&pool.Spec)
+ if err != nil {
+ return nil, err
+ }
+ return genruntime.ValidateResourceReferences(refs)
+}
+
+// validateWriteOnceProperties validates all WriteOnce properties
+func (pool *ManagedClustersAgentPool) validateWriteOnceProperties(old runtime.Object) (admission.Warnings, error) {
+ oldObj, ok := old.(*ManagedClustersAgentPool)
+ if !ok {
+ return nil, nil
+ }
+
+ return genruntime.ValidateWriteOnceProperties(oldObj, pool)
+}
+
+// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
+
+ // ObjectMeta
+ pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedClusters_AgentPool_Spec
+ err := spec.AssignProperties_From_ManagedClusters_AgentPool_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_AgentPool_Spec() to populate field Spec")
+ }
+ pool.Spec = spec
+
+ // Status
+ var status ManagedClusters_AgentPool_STATUS
+ err = status.AssignProperties_From_ManagedClusters_AgentPool_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_AgentPool_STATUS() to populate field Status")
+ }
+ pool.Status = status
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
+ err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status storage.ManagedClusters_AgentPool_STATUS
+ err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (pool *ManagedClustersAgentPool) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: pool.Spec.OriginalVersion(),
+ Kind: "ManagedClustersAgentPool",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
+type ManagedClustersAgentPoolList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []ManagedClustersAgentPool `json:"items"`
+}
+
+type ManagedClusters_AgentPool_Spec struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+
+ // +kubebuilder:validation:MaxLength=12
+ // +kubebuilder:validation:MinLength=1
+ // +kubebuilder:validation:Pattern="^[a-z][a-z0-9]{0,11}$"
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+
+ // CapacityReservationGroupReference: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupReference *genruntime.ResourceReference `armReference:"CapacityReservationGroupID" json:"capacityReservationGroupReference,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData `json:"creationData,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile `json:"gpuProfile,omitempty"`
+
+ // HostGroupReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupReference *genruntime.ResourceReference `armReference:"HostGroupID" json:"hostGroupReference,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode `json:"mode,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // NodePublicIPPrefixReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixReference *genruntime.ResourceReference `armReference:"NodePublicIPPrefixID" json:"nodePublicIPPrefixReference,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *ContainerServiceOSDisk `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType `json:"osType,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a containerservice.azure.com/ManagedCluster resource
+ Owner *genruntime.KnownResourceReference `group:"containerservice.azure.com" json:"owner,omitempty" kind:"ManagedCluster"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetReference: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details).
+ // This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetReference *genruntime.ResourceReference `armReference:"PodSubnetID" json:"podSubnetReference,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState `json:"powerState,omitempty"`
+
+ // ProximityPlacementGroupReference: The ID for Proximity Placement Group.
+ ProximityPlacementGroupReference *genruntime.ResourceReference `armReference:"ProximityPlacementGroupID" json:"proximityPlacementGroupReference,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // Type: The type of Agent Pool.
+ Type *AgentPoolType `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes `json:"virtualMachineNodesStatus,omitempty"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetReference: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
+ // specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetReference *genruntime.ResourceReference `armReference:"VnetSubnetID" json:"vnetSubnetReference,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusters_AgentPool_Spec{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (pool *ManagedClusters_AgentPool_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if pool == nil {
+ return nil, nil
+ }
+ result := &ManagedClusters_AgentPool_Spec_ARM{}
+
+ // Set property "Name":
+ result.Name = resolved.Name
+
+ // Set property "Properties":
+ if pool.ArtifactStreamingProfile != nil ||
+ pool.AvailabilityZones != nil ||
+ pool.CapacityReservationGroupReference != nil ||
+ pool.Count != nil ||
+ pool.CreationData != nil ||
+ pool.EnableAutoScaling != nil ||
+ pool.EnableCustomCATrust != nil ||
+ pool.EnableEncryptionAtHost != nil ||
+ pool.EnableFIPS != nil ||
+ pool.EnableNodePublicIP != nil ||
+ pool.EnableUltraSSD != nil ||
+ pool.GatewayProfile != nil ||
+ pool.GpuInstanceProfile != nil ||
+ pool.GpuProfile != nil ||
+ pool.HostGroupReference != nil ||
+ pool.KubeletConfig != nil ||
+ pool.KubeletDiskType != nil ||
+ pool.LinuxOSConfig != nil ||
+ pool.MaxCount != nil ||
+ pool.MaxPods != nil ||
+ pool.MessageOfTheDay != nil ||
+ pool.MinCount != nil ||
+ pool.Mode != nil ||
+ pool.NetworkProfile != nil ||
+ pool.NodeInitializationTaints != nil ||
+ pool.NodeLabels != nil ||
+ pool.NodePublicIPPrefixReference != nil ||
+ pool.NodeTaints != nil ||
+ pool.OrchestratorVersion != nil ||
+ pool.OsDiskSizeGB != nil ||
+ pool.OsDiskType != nil ||
+ pool.OsSKU != nil ||
+ pool.OsType != nil ||
+ pool.PodIPAllocationMode != nil ||
+ pool.PodSubnetReference != nil ||
+ pool.PowerState != nil ||
+ pool.ProximityPlacementGroupReference != nil ||
+ pool.ScaleDownMode != nil ||
+ pool.ScaleSetEvictionPolicy != nil ||
+ pool.ScaleSetPriority != nil ||
+ pool.SecurityProfile != nil ||
+ pool.SpotMaxPrice != nil ||
+ pool.Tags != nil ||
+ pool.Type != nil ||
+ pool.UpgradeSettings != nil ||
+ pool.VirtualMachineNodesStatus != nil ||
+ pool.VirtualMachinesProfile != nil ||
+ pool.VmSize != nil ||
+ pool.VnetSubnetReference != nil ||
+ pool.WindowsProfile != nil ||
+ pool.WorkloadRuntime != nil {
+ result.Properties = &ManagedClusterAgentPoolProfileProperties_ARM{}
+ }
+ if pool.ArtifactStreamingProfile != nil {
+ artifactStreamingProfile_ARM, err := (*pool.ArtifactStreamingProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ artifactStreamingProfile := *artifactStreamingProfile_ARM.(*AgentPoolArtifactStreamingProfile_ARM)
+ result.Properties.ArtifactStreamingProfile = &artifactStreamingProfile
+ }
+ for _, item := range pool.AvailabilityZones {
+ result.Properties.AvailabilityZones = append(result.Properties.AvailabilityZones, item)
+ }
+ if pool.CapacityReservationGroupReference != nil {
+ capacityReservationGroupIDARMID, err := resolved.ResolvedReferences.Lookup(*pool.CapacityReservationGroupReference)
+ if err != nil {
+ return nil, err
+ }
+ capacityReservationGroupID := capacityReservationGroupIDARMID
+ result.Properties.CapacityReservationGroupID = &capacityReservationGroupID
+ }
+ if pool.Count != nil {
+ count := *pool.Count
+ result.Properties.Count = &count
+ }
+ if pool.CreationData != nil {
+ creationData_ARM, err := (*pool.CreationData).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ creationData := *creationData_ARM.(*CreationData_ARM)
+ result.Properties.CreationData = &creationData
+ }
+ if pool.EnableAutoScaling != nil {
+ enableAutoScaling := *pool.EnableAutoScaling
+ result.Properties.EnableAutoScaling = &enableAutoScaling
+ }
+ if pool.EnableCustomCATrust != nil {
+ enableCustomCATrust := *pool.EnableCustomCATrust
+ result.Properties.EnableCustomCATrust = &enableCustomCATrust
+ }
+ if pool.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *pool.EnableEncryptionAtHost
+ result.Properties.EnableEncryptionAtHost = &enableEncryptionAtHost
+ }
+ if pool.EnableFIPS != nil {
+ enableFIPS := *pool.EnableFIPS
+ result.Properties.EnableFIPS = &enableFIPS
+ }
+ if pool.EnableNodePublicIP != nil {
+ enableNodePublicIP := *pool.EnableNodePublicIP
+ result.Properties.EnableNodePublicIP = &enableNodePublicIP
+ }
+ if pool.EnableUltraSSD != nil {
+ enableUltraSSD := *pool.EnableUltraSSD
+ result.Properties.EnableUltraSSD = &enableUltraSSD
+ }
+ if pool.GatewayProfile != nil {
+ gatewayProfile_ARM, err := (*pool.GatewayProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ gatewayProfile := *gatewayProfile_ARM.(*AgentPoolGatewayProfile_ARM)
+ result.Properties.GatewayProfile = &gatewayProfile
+ }
+ if pool.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *pool.GpuInstanceProfile
+ result.Properties.GpuInstanceProfile = &gpuInstanceProfile
+ }
+ if pool.GpuProfile != nil {
+ gpuProfile_ARM, err := (*pool.GpuProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ gpuProfile := *gpuProfile_ARM.(*AgentPoolGPUProfile_ARM)
+ result.Properties.GpuProfile = &gpuProfile
+ }
+ if pool.HostGroupReference != nil {
+ hostGroupIDARMID, err := resolved.ResolvedReferences.Lookup(*pool.HostGroupReference)
+ if err != nil {
+ return nil, err
+ }
+ hostGroupID := hostGroupIDARMID
+ result.Properties.HostGroupID = &hostGroupID
+ }
+ if pool.KubeletConfig != nil {
+ kubeletConfig_ARM, err := (*pool.KubeletConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ kubeletConfig := *kubeletConfig_ARM.(*KubeletConfig_ARM)
+ result.Properties.KubeletConfig = &kubeletConfig
+ }
+ if pool.KubeletDiskType != nil {
+ kubeletDiskType := *pool.KubeletDiskType
+ result.Properties.KubeletDiskType = &kubeletDiskType
+ }
+ if pool.LinuxOSConfig != nil {
+ linuxOSConfig_ARM, err := (*pool.LinuxOSConfig).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ linuxOSConfig := *linuxOSConfig_ARM.(*LinuxOSConfig_ARM)
+ result.Properties.LinuxOSConfig = &linuxOSConfig
+ }
+ if pool.MaxCount != nil {
+ maxCount := *pool.MaxCount
+ result.Properties.MaxCount = &maxCount
+ }
+ if pool.MaxPods != nil {
+ maxPods := *pool.MaxPods
+ result.Properties.MaxPods = &maxPods
+ }
+ if pool.MessageOfTheDay != nil {
+ messageOfTheDay := *pool.MessageOfTheDay
+ result.Properties.MessageOfTheDay = &messageOfTheDay
+ }
+ if pool.MinCount != nil {
+ minCount := *pool.MinCount
+ result.Properties.MinCount = &minCount
+ }
+ if pool.Mode != nil {
+ mode := *pool.Mode
+ result.Properties.Mode = &mode
+ }
+ if pool.NetworkProfile != nil {
+ networkProfile_ARM, err := (*pool.NetworkProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ networkProfile := *networkProfile_ARM.(*AgentPoolNetworkProfile_ARM)
+ result.Properties.NetworkProfile = &networkProfile
+ }
+ for _, item := range pool.NodeInitializationTaints {
+ result.Properties.NodeInitializationTaints = append(result.Properties.NodeInitializationTaints, item)
+ }
+ if pool.NodeLabels != nil {
+ result.Properties.NodeLabels = make(map[string]string, len(pool.NodeLabels))
+ for key, value := range pool.NodeLabels {
+ result.Properties.NodeLabels[key] = value
+ }
+ } else {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.Properties.NodeLabels = make(map[string]string)
+ }
+ if pool.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixIDARMID, err := resolved.ResolvedReferences.Lookup(*pool.NodePublicIPPrefixReference)
+ if err != nil {
+ return nil, err
+ }
+ nodePublicIPPrefixID := nodePublicIPPrefixIDARMID
+ result.Properties.NodePublicIPPrefixID = &nodePublicIPPrefixID
+ }
+ for _, item := range pool.NodeTaints {
+ result.Properties.NodeTaints = append(result.Properties.NodeTaints, item)
+ }
+ if result.Properties.NodeTaints == nil {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.Properties.NodeTaints = []string{}
+ }
+ if pool.OrchestratorVersion != nil {
+ orchestratorVersion := *pool.OrchestratorVersion
+ result.Properties.OrchestratorVersion = &orchestratorVersion
+ }
+ if pool.OsDiskSizeGB != nil {
+ osDiskSizeGB := *pool.OsDiskSizeGB
+ result.Properties.OsDiskSizeGB = &osDiskSizeGB
+ }
+ if pool.OsDiskType != nil {
+ osDiskType := *pool.OsDiskType
+ result.Properties.OsDiskType = &osDiskType
+ }
+ if pool.OsSKU != nil {
+ osSKU := *pool.OsSKU
+ result.Properties.OsSKU = &osSKU
+ }
+ if pool.OsType != nil {
+ osType := *pool.OsType
+ result.Properties.OsType = &osType
+ }
+ if pool.PodIPAllocationMode != nil {
+ podIPAllocationMode := *pool.PodIPAllocationMode
+ result.Properties.PodIPAllocationMode = &podIPAllocationMode
+ }
+ if pool.PodSubnetReference != nil {
+ podSubnetIDARMID, err := resolved.ResolvedReferences.Lookup(*pool.PodSubnetReference)
+ if err != nil {
+ return nil, err
+ }
+ podSubnetID := podSubnetIDARMID
+ result.Properties.PodSubnetID = &podSubnetID
+ }
+ if pool.PowerState != nil {
+ powerState_ARM, err := (*pool.PowerState).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ powerState := *powerState_ARM.(*PowerState_ARM)
+ result.Properties.PowerState = &powerState
+ }
+ if pool.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupIDARMID, err := resolved.ResolvedReferences.Lookup(*pool.ProximityPlacementGroupReference)
+ if err != nil {
+ return nil, err
+ }
+ proximityPlacementGroupID := proximityPlacementGroupIDARMID
+ result.Properties.ProximityPlacementGroupID = &proximityPlacementGroupID
+ }
+ if pool.ScaleDownMode != nil {
+ scaleDownMode := *pool.ScaleDownMode
+ result.Properties.ScaleDownMode = &scaleDownMode
+ }
+ if pool.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *pool.ScaleSetEvictionPolicy
+ result.Properties.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ }
+ if pool.ScaleSetPriority != nil {
+ scaleSetPriority := *pool.ScaleSetPriority
+ result.Properties.ScaleSetPriority = &scaleSetPriority
+ }
+ if pool.SecurityProfile != nil {
+ securityProfile_ARM, err := (*pool.SecurityProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ securityProfile := *securityProfile_ARM.(*AgentPoolSecurityProfile_ARM)
+ result.Properties.SecurityProfile = &securityProfile
+ }
+ if pool.SpotMaxPrice != nil {
+ spotMaxPrice := *pool.SpotMaxPrice
+ result.Properties.SpotMaxPrice = &spotMaxPrice
+ }
+ if pool.Tags != nil {
+ result.Properties.Tags = make(map[string]string, len(pool.Tags))
+ for key, value := range pool.Tags {
+ result.Properties.Tags[key] = value
+ }
+ } else {
+ // Set property to empty map, as this resource is set to serialize all collections explicitly
+ result.Properties.Tags = make(map[string]string)
+ }
+ if pool.Type != nil {
+ typeVar := *pool.Type
+ result.Properties.Type = &typeVar
+ }
+ if pool.UpgradeSettings != nil {
+ upgradeSettings_ARM, err := (*pool.UpgradeSettings).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ upgradeSettings := *upgradeSettings_ARM.(*AgentPoolUpgradeSettings_ARM)
+ result.Properties.UpgradeSettings = &upgradeSettings
+ }
+ for _, item := range pool.VirtualMachineNodesStatus {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Properties.VirtualMachineNodesStatus = append(result.Properties.VirtualMachineNodesStatus, *item_ARM.(*VirtualMachineNodes_ARM))
+ }
+ if pool.VirtualMachinesProfile != nil {
+ virtualMachinesProfile_ARM, err := (*pool.VirtualMachinesProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ virtualMachinesProfile := *virtualMachinesProfile_ARM.(*VirtualMachinesProfile_ARM)
+ result.Properties.VirtualMachinesProfile = &virtualMachinesProfile
+ }
+ if pool.VmSize != nil {
+ vmSize := *pool.VmSize
+ result.Properties.VmSize = &vmSize
+ }
+ if pool.VnetSubnetReference != nil {
+ vnetSubnetIDARMID, err := resolved.ResolvedReferences.Lookup(*pool.VnetSubnetReference)
+ if err != nil {
+ return nil, err
+ }
+ vnetSubnetID := vnetSubnetIDARMID
+ result.Properties.VnetSubnetID = &vnetSubnetID
+ }
+ if pool.WindowsProfile != nil {
+ windowsProfile_ARM, err := (*pool.WindowsProfile).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ windowsProfile := *windowsProfile_ARM.(*AgentPoolWindowsProfile_ARM)
+ result.Properties.WindowsProfile = &windowsProfile
+ }
+ if pool.WorkloadRuntime != nil {
+ workloadRuntime := *pool.WorkloadRuntime
+ result.Properties.WorkloadRuntime = &workloadRuntime
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (pool *ManagedClusters_AgentPool_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusters_AgentPool_Spec_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (pool *ManagedClusters_AgentPool_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusters_AgentPool_Spec_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusters_AgentPool_Spec_ARM, got %T", armInput)
+ }
+
+ // Set property "ArtifactStreamingProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile1 AgentPoolArtifactStreamingProfile
+ err := artifactStreamingProfile1.PopulateFromARM(owner, *typedInput.Properties.ArtifactStreamingProfile)
+ if err != nil {
+ return err
+ }
+ artifactStreamingProfile := artifactStreamingProfile1
+ pool.ArtifactStreamingProfile = &artifactStreamingProfile
+ }
+ }
+
+ // Set property "AvailabilityZones":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.AvailabilityZones {
+ pool.AvailabilityZones = append(pool.AvailabilityZones, item)
+ }
+ }
+
+ // Set property "AzureName":
+ pool.SetAzureName(genruntime.ExtractKubernetesResourceNameFromARMName(typedInput.Name))
+
+ // no assignment for property "CapacityReservationGroupReference"
+
+ // Set property "Count":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Count != nil {
+ count := *typedInput.Properties.Count
+ pool.Count = &count
+ }
+ }
+
+ // Set property "CreationData":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CreationData != nil {
+ var creationData1 CreationData
+ err := creationData1.PopulateFromARM(owner, *typedInput.Properties.CreationData)
+ if err != nil {
+ return err
+ }
+ creationData := creationData1
+ pool.CreationData = &creationData
+ }
+ }
+
+ // Set property "EnableAutoScaling":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableAutoScaling != nil {
+ enableAutoScaling := *typedInput.Properties.EnableAutoScaling
+ pool.EnableAutoScaling = &enableAutoScaling
+ }
+ }
+
+ // Set property "EnableCustomCATrust":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableCustomCATrust != nil {
+ enableCustomCATrust := *typedInput.Properties.EnableCustomCATrust
+ pool.EnableCustomCATrust = &enableCustomCATrust
+ }
+ }
+
+ // Set property "EnableEncryptionAtHost":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *typedInput.Properties.EnableEncryptionAtHost
+ pool.EnableEncryptionAtHost = &enableEncryptionAtHost
+ }
+ }
+
+ // Set property "EnableFIPS":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableFIPS != nil {
+ enableFIPS := *typedInput.Properties.EnableFIPS
+ pool.EnableFIPS = &enableFIPS
+ }
+ }
+
+ // Set property "EnableNodePublicIP":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableNodePublicIP != nil {
+ enableNodePublicIP := *typedInput.Properties.EnableNodePublicIP
+ pool.EnableNodePublicIP = &enableNodePublicIP
+ }
+ }
+
+ // Set property "EnableUltraSSD":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableUltraSSD != nil {
+ enableUltraSSD := *typedInput.Properties.EnableUltraSSD
+ pool.EnableUltraSSD = &enableUltraSSD
+ }
+ }
+
+ // Set property "GatewayProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.GatewayProfile != nil {
+ var gatewayProfile1 AgentPoolGatewayProfile
+ err := gatewayProfile1.PopulateFromARM(owner, *typedInput.Properties.GatewayProfile)
+ if err != nil {
+ return err
+ }
+ gatewayProfile := gatewayProfile1
+ pool.GatewayProfile = &gatewayProfile
+ }
+ }
+
+ // Set property "GpuInstanceProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *typedInput.Properties.GpuInstanceProfile
+ pool.GpuInstanceProfile = &gpuInstanceProfile
+ }
+ }
+
+ // Set property "GpuProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.GpuProfile != nil {
+ var gpuProfile1 AgentPoolGPUProfile
+ err := gpuProfile1.PopulateFromARM(owner, *typedInput.Properties.GpuProfile)
+ if err != nil {
+ return err
+ }
+ gpuProfile := gpuProfile1
+ pool.GpuProfile = &gpuProfile
+ }
+ }
+
+ // no assignment for property "HostGroupReference"
+
+ // Set property "KubeletConfig":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.KubeletConfig != nil {
+ var kubeletConfig1 KubeletConfig
+ err := kubeletConfig1.PopulateFromARM(owner, *typedInput.Properties.KubeletConfig)
+ if err != nil {
+ return err
+ }
+ kubeletConfig := kubeletConfig1
+ pool.KubeletConfig = &kubeletConfig
+ }
+ }
+
+ // Set property "KubeletDiskType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.KubeletDiskType != nil {
+ kubeletDiskType := *typedInput.Properties.KubeletDiskType
+ pool.KubeletDiskType = &kubeletDiskType
+ }
+ }
+
+ // Set property "LinuxOSConfig":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.LinuxOSConfig != nil {
+ var linuxOSConfig1 LinuxOSConfig
+ err := linuxOSConfig1.PopulateFromARM(owner, *typedInput.Properties.LinuxOSConfig)
+ if err != nil {
+ return err
+ }
+ linuxOSConfig := linuxOSConfig1
+ pool.LinuxOSConfig = &linuxOSConfig
+ }
+ }
+
+ // Set property "MaxCount":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MaxCount != nil {
+ maxCount := *typedInput.Properties.MaxCount
+ pool.MaxCount = &maxCount
+ }
+ }
+
+ // Set property "MaxPods":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MaxPods != nil {
+ maxPods := *typedInput.Properties.MaxPods
+ pool.MaxPods = &maxPods
+ }
+ }
+
+ // Set property "MessageOfTheDay":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MessageOfTheDay != nil {
+ messageOfTheDay := *typedInput.Properties.MessageOfTheDay
+ pool.MessageOfTheDay = &messageOfTheDay
+ }
+ }
+
+ // Set property "MinCount":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MinCount != nil {
+ minCount := *typedInput.Properties.MinCount
+ pool.MinCount = &minCount
+ }
+ }
+
+ // Set property "Mode":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Mode != nil {
+ mode := *typedInput.Properties.Mode
+ pool.Mode = &mode
+ }
+ }
+
+ // Set property "NetworkProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NetworkProfile != nil {
+ var networkProfile1 AgentPoolNetworkProfile
+ err := networkProfile1.PopulateFromARM(owner, *typedInput.Properties.NetworkProfile)
+ if err != nil {
+ return err
+ }
+ networkProfile := networkProfile1
+ pool.NetworkProfile = &networkProfile
+ }
+ }
+
+ // Set property "NodeInitializationTaints":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.NodeInitializationTaints {
+ pool.NodeInitializationTaints = append(pool.NodeInitializationTaints, item)
+ }
+ }
+
+ // Set property "NodeLabels":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeLabels != nil {
+ pool.NodeLabels = make(map[string]string, len(typedInput.Properties.NodeLabels))
+ for key, value := range typedInput.Properties.NodeLabels {
+ pool.NodeLabels[key] = value
+ }
+ }
+ }
+
+ // no assignment for property "NodePublicIPPrefixReference"
+
+ // Set property "NodeTaints":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.NodeTaints {
+ pool.NodeTaints = append(pool.NodeTaints, item)
+ }
+ }
+
+ // Set property "OrchestratorVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OrchestratorVersion != nil {
+ orchestratorVersion := *typedInput.Properties.OrchestratorVersion
+ pool.OrchestratorVersion = &orchestratorVersion
+ }
+ }
+
+ // Set property "OsDiskSizeGB":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsDiskSizeGB != nil {
+ osDiskSizeGB := *typedInput.Properties.OsDiskSizeGB
+ pool.OsDiskSizeGB = &osDiskSizeGB
+ }
+ }
+
+ // Set property "OsDiskType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsDiskType != nil {
+ osDiskType := *typedInput.Properties.OsDiskType
+ pool.OsDiskType = &osDiskType
+ }
+ }
+
+ // Set property "OsSKU":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsSKU != nil {
+ osSKU := *typedInput.Properties.OsSKU
+ pool.OsSKU = &osSKU
+ }
+ }
+
+ // Set property "OsType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsType != nil {
+ osType := *typedInput.Properties.OsType
+ pool.OsType = &osType
+ }
+ }
+
+ // Set property "Owner":
+ pool.Owner = &genruntime.KnownResourceReference{
+ Name: owner.Name,
+ ARMID: owner.ARMID,
+ }
+
+ // Set property "PodIPAllocationMode":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PodIPAllocationMode != nil {
+ podIPAllocationMode := *typedInput.Properties.PodIPAllocationMode
+ pool.PodIPAllocationMode = &podIPAllocationMode
+ }
+ }
+
+ // no assignment for property "PodSubnetReference"
+
+ // Set property "PowerState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PowerState != nil {
+ var powerState1 PowerState
+ err := powerState1.PopulateFromARM(owner, *typedInput.Properties.PowerState)
+ if err != nil {
+ return err
+ }
+ powerState := powerState1
+ pool.PowerState = &powerState
+ }
+ }
+
+ // no assignment for property "ProximityPlacementGroupReference"
+
+ // Set property "ScaleDownMode":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ScaleDownMode != nil {
+ scaleDownMode := *typedInput.Properties.ScaleDownMode
+ pool.ScaleDownMode = &scaleDownMode
+ }
+ }
+
+ // Set property "ScaleSetEvictionPolicy":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *typedInput.Properties.ScaleSetEvictionPolicy
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ }
+ }
+
+ // Set property "ScaleSetPriority":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ScaleSetPriority != nil {
+ scaleSetPriority := *typedInput.Properties.ScaleSetPriority
+ pool.ScaleSetPriority = &scaleSetPriority
+ }
+ }
+
+ // Set property "SecurityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SecurityProfile != nil {
+ var securityProfile1 AgentPoolSecurityProfile
+ err := securityProfile1.PopulateFromARM(owner, *typedInput.Properties.SecurityProfile)
+ if err != nil {
+ return err
+ }
+ securityProfile := securityProfile1
+ pool.SecurityProfile = &securityProfile
+ }
+ }
+
+ // Set property "SpotMaxPrice":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SpotMaxPrice != nil {
+ spotMaxPrice := *typedInput.Properties.SpotMaxPrice
+ pool.SpotMaxPrice = &spotMaxPrice
+ }
+ }
+
+ // Set property "Tags":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Tags != nil {
+ pool.Tags = make(map[string]string, len(typedInput.Properties.Tags))
+ for key, value := range typedInput.Properties.Tags {
+ pool.Tags[key] = value
+ }
+ }
+ }
+
+ // Set property "Type":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Type != nil {
+ typeVar := *typedInput.Properties.Type
+ pool.Type = &typeVar
+ }
+ }
+
+ // Set property "UpgradeSettings":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.UpgradeSettings != nil {
+ var upgradeSettings1 AgentPoolUpgradeSettings
+ err := upgradeSettings1.PopulateFromARM(owner, *typedInput.Properties.UpgradeSettings)
+ if err != nil {
+ return err
+ }
+ upgradeSettings := upgradeSettings1
+ pool.UpgradeSettings = &upgradeSettings
+ }
+ }
+
+ // Set property "VirtualMachineNodesStatus":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.VirtualMachineNodesStatus {
+ var item1 VirtualMachineNodes
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ pool.VirtualMachineNodesStatus = append(pool.VirtualMachineNodesStatus, item1)
+ }
+ }
+
+ // Set property "VirtualMachinesProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile1 VirtualMachinesProfile
+ err := virtualMachinesProfile1.PopulateFromARM(owner, *typedInput.Properties.VirtualMachinesProfile)
+ if err != nil {
+ return err
+ }
+ virtualMachinesProfile := virtualMachinesProfile1
+ pool.VirtualMachinesProfile = &virtualMachinesProfile
+ }
+ }
+
+ // Set property "VmSize":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.VmSize != nil {
+ vmSize := *typedInput.Properties.VmSize
+ pool.VmSize = &vmSize
+ }
+ }
+
+ // no assignment for property "VnetSubnetReference"
+
+ // Set property "WindowsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WindowsProfile != nil {
+ var windowsProfile1 AgentPoolWindowsProfile
+ err := windowsProfile1.PopulateFromARM(owner, *typedInput.Properties.WindowsProfile)
+ if err != nil {
+ return err
+ }
+ windowsProfile := windowsProfile1
+ pool.WindowsProfile = &windowsProfile
+ }
+ }
+
+ // Set property "WorkloadRuntime":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WorkloadRuntime != nil {
+ workloadRuntime := *typedInput.Properties.WorkloadRuntime
+ pool.WorkloadRuntime = &workloadRuntime
+ }
+ }
+
+ // No error
+ return nil
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
+
+// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
+func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
+ if ok {
+ // Populate our instance from source
+ return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_AgentPool_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
+func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
+ if ok {
+ // Populate destination from our instance
+ return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
+ err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ pool.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ pool.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // AzureName
+ pool.AzureName = source.AzureName
+
+ // CapacityReservationGroupReference
+ if source.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := source.CapacityReservationGroupReference.Copy()
+ pool.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ pool.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ pool.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData
+ err := creationDatum.AssignProperties_From_CreationData(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData() to populate field CreationData")
+ }
+ pool.CreationData = &creationDatum
+ } else {
+ pool.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ pool.EnableAutoScaling = &enableAutoScaling
+ } else {
+ pool.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ pool.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ pool.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ pool.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ pool.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ pool.EnableFIPS = &enableFIPS
+ } else {
+ pool.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ pool.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ pool.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ pool.EnableUltraSSD = &enableUltraSSD
+ } else {
+ pool.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if source.GatewayProfile != nil {
+ var gatewayProfile AgentPoolGatewayProfile
+ err := gatewayProfile.AssignProperties_From_AgentPoolGatewayProfile(source.GatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGatewayProfile() to populate field GatewayProfile")
+ }
+ pool.GatewayProfile = &gatewayProfile
+ } else {
+ pool.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if source.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
+ } else {
+ pool.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ pool.GpuProfile = &gpuProfile
+ } else {
+ pool.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if source.HostGroupReference != nil {
+ hostGroupReference := source.HostGroupReference.Copy()
+ pool.HostGroupReference = &hostGroupReference
+ } else {
+ pool.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig
+ err := kubeletConfig.AssignProperties_From_KubeletConfig(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig() to populate field KubeletConfig")
+ }
+ pool.KubeletConfig = &kubeletConfig
+ } else {
+ pool.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if source.KubeletDiskType != nil {
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
+ } else {
+ pool.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ pool.LinuxOSConfig = &linuxOSConfig
+ } else {
+ pool.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ pool.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ pool.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ pool.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ pool.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_Values)
+ pool.Mode = &modeTemp
+ } else {
+ pool.Mode = nil
+ }
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ pool.NetworkProfile = &networkProfile
+ } else {
+ pool.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ pool.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ pool.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if source.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := source.NodePublicIPPrefixReference.Copy()
+ pool.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ pool.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ pool.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ pool.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ if source.OsDiskSizeGB != nil {
+ osDiskSizeGB := ContainerServiceOSDisk(*source.OsDiskSizeGB)
+ pool.OsDiskSizeGB = &osDiskSizeGB
+ } else {
+ pool.OsDiskSizeGB = nil
+ }
+
+ // OsDiskType
+ if source.OsDiskType != nil {
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_Values)
+ pool.OsDiskType = &osDiskTypeTemp
+ } else {
+ pool.OsDiskType = nil
+ }
+
+ // OsSKU
+ if source.OsSKU != nil {
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_Values)
+ pool.OsSKU = &osSKUTemp
+ } else {
+ pool.OsSKU = nil
+ }
+
+ // OsType
+ if source.OsType != nil {
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_Values)
+ pool.OsType = &osTypeTemp
+ } else {
+ pool.OsType = nil
+ }
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ pool.Owner = &owner
+ } else {
+ pool.Owner = nil
+ }
+
+ // PodIPAllocationMode
+ if source.PodIPAllocationMode != nil {
+ podIPAllocationMode := *source.PodIPAllocationMode
+ podIPAllocationModeTemp := genruntime.ToEnum(podIPAllocationMode, podIPAllocationMode_Values)
+ pool.PodIPAllocationMode = &podIPAllocationModeTemp
+ } else {
+ pool.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetReference
+ if source.PodSubnetReference != nil {
+ podSubnetReference := source.PodSubnetReference.Copy()
+ pool.PodSubnetReference = &podSubnetReference
+ } else {
+ pool.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState
+ err := powerState.AssignProperties_From_PowerState(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState() to populate field PowerState")
+ }
+ pool.PowerState = &powerState
+ } else {
+ pool.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if source.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := source.ProximityPlacementGroupReference.Copy()
+ pool.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ pool.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ if source.ScaleDownMode != nil {
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
+ } else {
+ pool.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if source.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
+ } else {
+ pool.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if source.ScaleSetPriority != nil {
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
+ } else {
+ pool.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ pool.SecurityProfile = &securityProfile
+ } else {
+ pool.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ pool.SpotMaxPrice = &spotMaxPrice
+ } else {
+ pool.SpotMaxPrice = nil
+ }
+
+ // Tags
+ pool.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ if source.Type != nil {
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, agentPoolType_Values)
+ pool.Type = &typeTemp
+ } else {
+ pool.Type = nil
+ }
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ pool.UpgradeSettings = &upgradeSetting
+ } else {
+ pool.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ pool.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ pool.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ pool.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ pool.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ pool.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetReference
+ if source.VnetSubnetReference != nil {
+ vnetSubnetReference := source.VnetSubnetReference.Copy()
+ pool.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ pool.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ pool.WindowsProfile = &windowsProfile
+ } else {
+ pool.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if source.WorkloadRuntime != nil {
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
+ } else {
+ pool.WorkloadRuntime = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ArtifactStreamingProfile
+ if pool.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile
+ err := pool.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(pool.AvailabilityZones)
+
+ // AzureName
+ destination.AzureName = pool.AzureName
+
+ // CapacityReservationGroupReference
+ if pool.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := pool.CapacityReservationGroupReference.Copy()
+ destination.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ destination.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(pool.Count)
+
+ // CreationData
+ if pool.CreationData != nil {
+ var creationDatum storage.CreationData
+ err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if pool.EnableAutoScaling != nil {
+ enableAutoScaling := *pool.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if pool.EnableCustomCATrust != nil {
+ enableCustomCATrust := *pool.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if pool.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *pool.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if pool.EnableFIPS != nil {
+ enableFIPS := *pool.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if pool.EnableNodePublicIP != nil {
+ enableNodePublicIP := *pool.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if pool.EnableUltraSSD != nil {
+ enableUltraSSD := *pool.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if pool.GatewayProfile != nil {
+ var gatewayProfile storage.AgentPoolGatewayProfile
+ err := pool.GatewayProfile.AssignProperties_To_AgentPoolGatewayProfile(&gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGatewayProfile() to populate field GatewayProfile")
+ }
+ destination.GatewayProfile = &gatewayProfile
+ } else {
+ destination.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if pool.GpuInstanceProfile != nil {
+ gpuInstanceProfile := string(*pool.GpuInstanceProfile)
+ destination.GpuInstanceProfile = &gpuInstanceProfile
+ } else {
+ destination.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if pool.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile
+ err := pool.GpuProfile.AssignProperties_To_AgentPoolGPUProfile(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if pool.HostGroupReference != nil {
+ hostGroupReference := pool.HostGroupReference.Copy()
+ destination.HostGroupReference = &hostGroupReference
+ } else {
+ destination.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if pool.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig
+ err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if pool.KubeletDiskType != nil {
+ kubeletDiskType := string(*pool.KubeletDiskType)
+ destination.KubeletDiskType = &kubeletDiskType
+ } else {
+ destination.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if pool.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig
+ err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(pool.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(pool.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(pool.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(pool.MinCount)
+
+ // Mode
+ if pool.Mode != nil {
+ mode := string(*pool.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // NetworkProfile
+ if pool.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile
+ err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(pool.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(pool.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if pool.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := pool.NodePublicIPPrefixReference.Copy()
+ destination.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ destination.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(pool.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(pool.OrchestratorVersion)
+
+ // OriginalVersion
+ destination.OriginalVersion = pool.OriginalVersion()
+
+ // OsDiskSizeGB
+ if pool.OsDiskSizeGB != nil {
+ osDiskSizeGB := int(*pool.OsDiskSizeGB)
+ destination.OsDiskSizeGB = &osDiskSizeGB
+ } else {
+ destination.OsDiskSizeGB = nil
+ }
+
+ // OsDiskType
+ if pool.OsDiskType != nil {
+ osDiskType := string(*pool.OsDiskType)
+ destination.OsDiskType = &osDiskType
+ } else {
+ destination.OsDiskType = nil
+ }
+
+ // OsSKU
+ if pool.OsSKU != nil {
+ osSKU := string(*pool.OsSKU)
+ destination.OsSKU = &osSKU
+ } else {
+ destination.OsSKU = nil
+ }
+
+ // OsType
+ if pool.OsType != nil {
+ osType := string(*pool.OsType)
+ destination.OsType = &osType
+ } else {
+ destination.OsType = nil
+ }
+
+ // Owner
+ if pool.Owner != nil {
+ owner := pool.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // PodIPAllocationMode
+ if pool.PodIPAllocationMode != nil {
+ podIPAllocationMode := string(*pool.PodIPAllocationMode)
+ destination.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ destination.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetReference
+ if pool.PodSubnetReference != nil {
+ podSubnetReference := pool.PodSubnetReference.Copy()
+ destination.PodSubnetReference = &podSubnetReference
+ } else {
+ destination.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if pool.PowerState != nil {
+ var powerState storage.PowerState
+ err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if pool.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := pool.ProximityPlacementGroupReference.Copy()
+ destination.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ destination.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ if pool.ScaleDownMode != nil {
+ scaleDownMode := string(*pool.ScaleDownMode)
+ destination.ScaleDownMode = &scaleDownMode
+ } else {
+ destination.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if pool.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := string(*pool.ScaleSetEvictionPolicy)
+ destination.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ } else {
+ destination.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if pool.ScaleSetPriority != nil {
+ scaleSetPriority := string(*pool.ScaleSetPriority)
+ destination.ScaleSetPriority = &scaleSetPriority
+ } else {
+ destination.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if pool.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile
+ err := pool.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if pool.SpotMaxPrice != nil {
+ spotMaxPrice := *pool.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(pool.Tags)
+
+ // Type
+ if pool.Type != nil {
+ typeVar := string(*pool.Type)
+ destination.Type = &typeVar
+ } else {
+ destination.Type = nil
+ }
+
+ // UpgradeSettings
+ if pool.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings
+ err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if pool.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes, len(pool.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range pool.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if pool.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile
+ err := pool.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(pool.VmSize)
+
+ // VnetSubnetReference
+ if pool.VnetSubnetReference != nil {
+ vnetSubnetReference := pool.VnetSubnetReference.Copy()
+ destination.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ destination.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if pool.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile
+ err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if pool.WorkloadRuntime != nil {
+ workloadRuntime := string(*pool.WorkloadRuntime)
+ destination.WorkloadRuntime = &workloadRuntime
+ } else {
+ destination.WorkloadRuntime = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalVersion returns the original API version used to create the resource.
+func (pool *ManagedClusters_AgentPool_Spec) OriginalVersion() string {
+ return GroupVersion.Version
+}
+
+// SetAzureName sets the Azure name of the resource
+func (pool *ManagedClusters_AgentPool_Spec) SetAzureName(azureName string) {
+ pool.AzureName = azureName
+}
+
+type ManagedClusters_AgentPool_STATUS struct {
+ // ArtifactStreamingProfile: Configuration for using artifact streaming on AKS.
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_STATUS `json:"artifactStreamingProfile,omitempty"`
+
+ // AvailabilityZones: The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType
+ // property is 'VirtualMachineScaleSets'.
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+
+ // CapacityReservationGroupID: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+
+ // Conditions: The observed state of the resource
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+
+ // Count: Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive)
+ // for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
+ Count *int `json:"count,omitempty"`
+
+ // CreationData: CreationData to be used to specify the source Snapshot ID if the node pool will be created/upgraded using
+ // a snapshot.
+ CreationData *CreationData_STATUS `json:"creationData,omitempty"`
+
+ // CurrentOrchestratorVersion: If orchestratorVersion was a fully specified version , this field will be
+ // exactly equal to it. If orchestratorVersion was , this field will contain the full
+ // version being used.
+ CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"`
+
+ // ETag: Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is
+ // updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic
+ // concurrency per the normal etag convention.
+ ETag *string `json:"eTag,omitempty"`
+
+ // EnableAutoScaling: Whether to enable auto-scaler
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+
+ // EnableCustomCATrust: When set to true, AKS adds a label to the node indicating that the feature is enabled and deploys a
+ // daemonset along with host services to sync custom certificate authorities from user-provided list of base64 encoded
+ // certificates into node trust stores. Defaults to false.
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+
+ // EnableEncryptionAtHost: This is only supported on certain VM sizes and in certain Azure regions. For more information,
+ // see: https://docs.microsoft.com/azure/aks/enable-host-encryption
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+
+ // EnableFIPS: See [Add a FIPS-enabled node
+ // pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#add-a-fips-enabled-node-pool-preview) for more
+ // details.
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+
+ // EnableNodePublicIP: Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses.
+ // A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine
+ // to minimize hops. For more information see [assigning a public IP per
+ // node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The
+ // default is false.
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+
+ // EnableUltraSSD: Whether to enable UltraSSD
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+
+ // GatewayProfile: Profile specific to a managed agent pool in Gateway mode. This field cannot be set if agent pool mode is
+ // not Gateway.
+ GatewayProfile *AgentPoolGatewayProfile_STATUS `json:"gatewayProfile,omitempty"`
+
+ // GpuInstanceProfile: GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+ GpuInstanceProfile *GPUInstanceProfile_STATUS `json:"gpuInstanceProfile,omitempty"`
+
+ // GpuProfile: The GPU settings of an agent pool.
+ GpuProfile *AgentPoolGPUProfile_STATUS `json:"gpuProfile,omitempty"`
+
+ // HostGroupID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+
+ // Id: Resource ID.
+ Id *string `json:"id,omitempty"`
+
+ // KubeletConfig: The Kubelet configuration on the agent pool nodes.
+ KubeletConfig *KubeletConfig_STATUS `json:"kubeletConfig,omitempty"`
+
+ // KubeletDiskType: Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral
+ // storage.
+ KubeletDiskType *KubeletDiskType_STATUS `json:"kubeletDiskType,omitempty"`
+
+ // LinuxOSConfig: The OS configuration of Linux agent nodes.
+ LinuxOSConfig *LinuxOSConfig_STATUS `json:"linuxOSConfig,omitempty"`
+
+ // MaxCount: The maximum number of nodes for auto-scaling
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MaxPods: The maximum number of pods that can run on a node.
+ MaxPods *int `json:"maxPods,omitempty"`
+
+ // MessageOfTheDay: A base64-encoded string which will be written to /etc/motd after decoding. This allows customization of
+ // the message of the day for Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
+ // will be printed raw and not be executed as a script).
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+
+ // MinCount: The minimum number of nodes for auto-scaling
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Mode: A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool
+ // restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+ Mode *AgentPoolMode_STATUS `json:"mode,omitempty"`
+
+ // Name: The name of the resource that is unique within a resource group. This name can be used to access the resource.
+ Name *string `json:"name,omitempty"`
+
+ // NetworkProfile: Network-related settings of an agent pool.
+ NetworkProfile *AgentPoolNetworkProfile_STATUS `json:"networkProfile,omitempty"`
+
+ // NodeImageVersion: The version of node image
+ NodeImageVersion *string `json:"nodeImageVersion,omitempty"`
+
+ // NodeInitializationTaints: These taints will not be reconciled by AKS and can be removed with a kubectl call. This field
+ // can be modified after node pool is created, but nodes will not be recreated with new taints until another operation that
+ // requires recreation (e.g. node image upgrade) happens. These taints allow for required configuration to run before the
+ // node is ready to accept workloads, for example 'key1=value1:NoSchedule' that then can be removed with `kubectl taint
+ // nodes node1 key1=value1:NoSchedule-`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+
+ // NodeLabels: The node labels to be persisted across all nodes in agent pool.
+ NodeLabels map[string]string `json:"nodeLabels,omitempty"`
+
+ // NodePublicIPPrefixID: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+
+ // NodeTaints: The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
+ NodeTaints []string `json:"nodeTaints,omitempty"`
+
+ // OrchestratorVersion: Both patch version and are supported. When is
+ // specified, the latest supported patch version is chosen automatically. Updating the agent pool with the same
+ // once it has been created will not trigger an upgrade, even if a newer patch version is available. As a
+ // best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version
+ // must have the same major version as the control plane. The node pool minor version must be within two minor versions of
+ // the control plane version. The node pool version cannot be greater than the control plane version. For more information
+ // see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+
+ // OsDiskType: The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested
+ // OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+ // OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+ OsDiskType *OSDiskType_STATUS `json:"osDiskType,omitempty"`
+
+ // OsSKU: Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or
+ // Windows2019 if OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is
+ // deprecated.
+ OsSKU *OSSKU_STATUS `json:"osSKU,omitempty"`
+
+ // OsType: The operating system type. The default is Linux.
+ OsType *OSType_STATUS `json:"osType,omitempty"`
+
+ // PodIPAllocationMode: The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is
+ // 'DynamicIndividual'.
+ PodIPAllocationMode *PodIPAllocationMode_STATUS `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetID: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is
+ // of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+
+ // PowerState: When an Agent Pool is first created it is initially Running. The Agent Pool can be stopped by setting this
+ // field to Stopped. A stopped Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only
+ // be stopped if it is Running and provisioning state is Succeeded
+ PowerState *PowerState_STATUS `json:"powerState,omitempty"`
+
+ // PropertiesType: The type of Agent Pool.
+ PropertiesType *AgentPoolType_STATUS `json:"properties_type,omitempty"`
+
+ // ProvisioningState: The current deployment or provisioning state.
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+
+ // ProximityPlacementGroupID: The ID for Proximity Placement Group.
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+
+ // ScaleDownMode: This also effects the cluster autoscaler behavior. If not specified, it defaults to Delete.
+ ScaleDownMode *ScaleDownMode_STATUS `json:"scaleDownMode,omitempty"`
+
+ // ScaleSetEvictionPolicy: This cannot be specified unless the scaleSetPriority is 'Spot'. If not specified, the default is
+ // 'Delete'.
+ ScaleSetEvictionPolicy *ScaleSetEvictionPolicy_STATUS `json:"scaleSetEvictionPolicy,omitempty"`
+
+ // ScaleSetPriority: The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.
+ ScaleSetPriority *ScaleSetPriority_STATUS `json:"scaleSetPriority,omitempty"`
+
+ // SecurityProfile: The security settings of an agent pool.
+ SecurityProfile *AgentPoolSecurityProfile_STATUS `json:"securityProfile,omitempty"`
+
+ // SpotMaxPrice: Possible values are any decimal value greater than zero or -1 which indicates the willingness to pay any
+ // on-demand price. For more details on spot pricing, see [spot VMs
+ // pricing](https://docs.microsoft.com/azure/virtual-machines/spot-vms#pricing)
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+
+ // Tags: The tags to be persisted on the agent pool virtual machine scale set.
+ Tags map[string]string `json:"tags,omitempty"`
+
+ // Type: Resource type
+ Type *string `json:"type,omitempty"`
+
+ // UpgradeSettings: Settings for upgrading the agentpool
+ UpgradeSettings *AgentPoolUpgradeSettings_STATUS `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_STATUS `json:"virtualMachineNodesStatus,omitempty"`
+
+ // VirtualMachinesProfile: Specifications on VirtualMachines agent pool.
+ VirtualMachinesProfile *VirtualMachinesProfile_STATUS `json:"virtualMachinesProfile,omitempty"`
+
+ // VmSize: VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods
+ // might fail to run correctly. For more details on restricted VM sizes, see:
+ // https://docs.microsoft.com/azure/aks/quotas-skus-regions
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetID: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified,
+ // this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+
+ // WindowsProfile: The Windows agent pool's specific profile.
+ WindowsProfile *AgentPoolWindowsProfile_STATUS `json:"windowsProfile,omitempty"`
+
+ // WorkloadRuntime: Determines the type of workload a node can run.
+ WorkloadRuntime *WorkloadRuntime_STATUS `json:"workloadRuntime,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
+
+// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
+func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
+ if ok {
+ // Populate our instance from source
+ return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
+func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
+ err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusters_AgentPool_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (pool *ManagedClusters_AgentPool_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusters_AgentPool_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (pool *ManagedClusters_AgentPool_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusters_AgentPool_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusters_AgentPool_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "ArtifactStreamingProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile1 AgentPoolArtifactStreamingProfile_STATUS
+ err := artifactStreamingProfile1.PopulateFromARM(owner, *typedInput.Properties.ArtifactStreamingProfile)
+ if err != nil {
+ return err
+ }
+ artifactStreamingProfile := artifactStreamingProfile1
+ pool.ArtifactStreamingProfile = &artifactStreamingProfile
+ }
+ }
+
+ // Set property "AvailabilityZones":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.AvailabilityZones {
+ pool.AvailabilityZones = append(pool.AvailabilityZones, item)
+ }
+ }
+
+ // Set property "CapacityReservationGroupID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CapacityReservationGroupID != nil {
+ capacityReservationGroupID := *typedInput.Properties.CapacityReservationGroupID
+ pool.CapacityReservationGroupID = &capacityReservationGroupID
+ }
+ }
+
+ // no assignment for property "Conditions"
+
+ // Set property "Count":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Count != nil {
+ count := *typedInput.Properties.Count
+ pool.Count = &count
+ }
+ }
+
+ // Set property "CreationData":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CreationData != nil {
+ var creationData1 CreationData_STATUS
+ err := creationData1.PopulateFromARM(owner, *typedInput.Properties.CreationData)
+ if err != nil {
+ return err
+ }
+ creationData := creationData1
+ pool.CreationData = &creationData
+ }
+ }
+
+ // Set property "CurrentOrchestratorVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.CurrentOrchestratorVersion != nil {
+ currentOrchestratorVersion := *typedInput.Properties.CurrentOrchestratorVersion
+ pool.CurrentOrchestratorVersion = ¤tOrchestratorVersion
+ }
+ }
+
+ // Set property "ETag":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ETag != nil {
+ eTag := *typedInput.Properties.ETag
+ pool.ETag = &eTag
+ }
+ }
+
+ // Set property "EnableAutoScaling":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableAutoScaling != nil {
+ enableAutoScaling := *typedInput.Properties.EnableAutoScaling
+ pool.EnableAutoScaling = &enableAutoScaling
+ }
+ }
+
+ // Set property "EnableCustomCATrust":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableCustomCATrust != nil {
+ enableCustomCATrust := *typedInput.Properties.EnableCustomCATrust
+ pool.EnableCustomCATrust = &enableCustomCATrust
+ }
+ }
+
+ // Set property "EnableEncryptionAtHost":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *typedInput.Properties.EnableEncryptionAtHost
+ pool.EnableEncryptionAtHost = &enableEncryptionAtHost
+ }
+ }
+
+ // Set property "EnableFIPS":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableFIPS != nil {
+ enableFIPS := *typedInput.Properties.EnableFIPS
+ pool.EnableFIPS = &enableFIPS
+ }
+ }
+
+ // Set property "EnableNodePublicIP":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableNodePublicIP != nil {
+ enableNodePublicIP := *typedInput.Properties.EnableNodePublicIP
+ pool.EnableNodePublicIP = &enableNodePublicIP
+ }
+ }
+
+ // Set property "EnableUltraSSD":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.EnableUltraSSD != nil {
+ enableUltraSSD := *typedInput.Properties.EnableUltraSSD
+ pool.EnableUltraSSD = &enableUltraSSD
+ }
+ }
+
+ // Set property "GatewayProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.GatewayProfile != nil {
+ var gatewayProfile1 AgentPoolGatewayProfile_STATUS
+ err := gatewayProfile1.PopulateFromARM(owner, *typedInput.Properties.GatewayProfile)
+ if err != nil {
+ return err
+ }
+ gatewayProfile := gatewayProfile1
+ pool.GatewayProfile = &gatewayProfile
+ }
+ }
+
+ // Set property "GpuInstanceProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *typedInput.Properties.GpuInstanceProfile
+ pool.GpuInstanceProfile = &gpuInstanceProfile
+ }
+ }
+
+ // Set property "GpuProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.GpuProfile != nil {
+ var gpuProfile1 AgentPoolGPUProfile_STATUS
+ err := gpuProfile1.PopulateFromARM(owner, *typedInput.Properties.GpuProfile)
+ if err != nil {
+ return err
+ }
+ gpuProfile := gpuProfile1
+ pool.GpuProfile = &gpuProfile
+ }
+ }
+
+ // Set property "HostGroupID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.HostGroupID != nil {
+ hostGroupID := *typedInput.Properties.HostGroupID
+ pool.HostGroupID = &hostGroupID
+ }
+ }
+
+ // Set property "Id":
+ if typedInput.Id != nil {
+ id := *typedInput.Id
+ pool.Id = &id
+ }
+
+ // Set property "KubeletConfig":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.KubeletConfig != nil {
+ var kubeletConfig1 KubeletConfig_STATUS
+ err := kubeletConfig1.PopulateFromARM(owner, *typedInput.Properties.KubeletConfig)
+ if err != nil {
+ return err
+ }
+ kubeletConfig := kubeletConfig1
+ pool.KubeletConfig = &kubeletConfig
+ }
+ }
+
+ // Set property "KubeletDiskType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.KubeletDiskType != nil {
+ kubeletDiskType := *typedInput.Properties.KubeletDiskType
+ pool.KubeletDiskType = &kubeletDiskType
+ }
+ }
+
+ // Set property "LinuxOSConfig":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.LinuxOSConfig != nil {
+ var linuxOSConfig1 LinuxOSConfig_STATUS
+ err := linuxOSConfig1.PopulateFromARM(owner, *typedInput.Properties.LinuxOSConfig)
+ if err != nil {
+ return err
+ }
+ linuxOSConfig := linuxOSConfig1
+ pool.LinuxOSConfig = &linuxOSConfig
+ }
+ }
+
+ // Set property "MaxCount":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MaxCount != nil {
+ maxCount := *typedInput.Properties.MaxCount
+ pool.MaxCount = &maxCount
+ }
+ }
+
+ // Set property "MaxPods":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MaxPods != nil {
+ maxPods := *typedInput.Properties.MaxPods
+ pool.MaxPods = &maxPods
+ }
+ }
+
+ // Set property "MessageOfTheDay":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MessageOfTheDay != nil {
+ messageOfTheDay := *typedInput.Properties.MessageOfTheDay
+ pool.MessageOfTheDay = &messageOfTheDay
+ }
+ }
+
+ // Set property "MinCount":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.MinCount != nil {
+ minCount := *typedInput.Properties.MinCount
+ pool.MinCount = &minCount
+ }
+ }
+
+ // Set property "Mode":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Mode != nil {
+ mode := *typedInput.Properties.Mode
+ pool.Mode = &mode
+ }
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ pool.Name = &name
+ }
+
+ // Set property "NetworkProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NetworkProfile != nil {
+ var networkProfile1 AgentPoolNetworkProfile_STATUS
+ err := networkProfile1.PopulateFromARM(owner, *typedInput.Properties.NetworkProfile)
+ if err != nil {
+ return err
+ }
+ networkProfile := networkProfile1
+ pool.NetworkProfile = &networkProfile
+ }
+ }
+
+ // Set property "NodeImageVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeImageVersion != nil {
+ nodeImageVersion := *typedInput.Properties.NodeImageVersion
+ pool.NodeImageVersion = &nodeImageVersion
+ }
+ }
+
+ // Set property "NodeInitializationTaints":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.NodeInitializationTaints {
+ pool.NodeInitializationTaints = append(pool.NodeInitializationTaints, item)
+ }
+ }
+
+ // Set property "NodeLabels":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodeLabels != nil {
+ pool.NodeLabels = make(map[string]string, len(typedInput.Properties.NodeLabels))
+ for key, value := range typedInput.Properties.NodeLabels {
+ pool.NodeLabels[key] = value
+ }
+ }
+ }
+
+ // Set property "NodePublicIPPrefixID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.NodePublicIPPrefixID != nil {
+ nodePublicIPPrefixID := *typedInput.Properties.NodePublicIPPrefixID
+ pool.NodePublicIPPrefixID = &nodePublicIPPrefixID
+ }
+ }
+
+ // Set property "NodeTaints":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.NodeTaints {
+ pool.NodeTaints = append(pool.NodeTaints, item)
+ }
+ }
+
+ // Set property "OrchestratorVersion":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OrchestratorVersion != nil {
+ orchestratorVersion := *typedInput.Properties.OrchestratorVersion
+ pool.OrchestratorVersion = &orchestratorVersion
+ }
+ }
+
+ // Set property "OsDiskSizeGB":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsDiskSizeGB != nil {
+ osDiskSizeGB := *typedInput.Properties.OsDiskSizeGB
+ pool.OsDiskSizeGB = &osDiskSizeGB
+ }
+ }
+
+ // Set property "OsDiskType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsDiskType != nil {
+ osDiskType := *typedInput.Properties.OsDiskType
+ pool.OsDiskType = &osDiskType
+ }
+ }
+
+ // Set property "OsSKU":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsSKU != nil {
+ osSKU := *typedInput.Properties.OsSKU
+ pool.OsSKU = &osSKU
+ }
+ }
+
+ // Set property "OsType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.OsType != nil {
+ osType := *typedInput.Properties.OsType
+ pool.OsType = &osType
+ }
+ }
+
+ // Set property "PodIPAllocationMode":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PodIPAllocationMode != nil {
+ podIPAllocationMode := *typedInput.Properties.PodIPAllocationMode
+ pool.PodIPAllocationMode = &podIPAllocationMode
+ }
+ }
+
+ // Set property "PodSubnetID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PodSubnetID != nil {
+ podSubnetID := *typedInput.Properties.PodSubnetID
+ pool.PodSubnetID = &podSubnetID
+ }
+ }
+
+ // Set property "PowerState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.PowerState != nil {
+ var powerState1 PowerState_STATUS
+ err := powerState1.PopulateFromARM(owner, *typedInput.Properties.PowerState)
+ if err != nil {
+ return err
+ }
+ powerState := powerState1
+ pool.PowerState = &powerState
+ }
+ }
+
+ // Set property "PropertiesType":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Type != nil {
+ propertiesType := *typedInput.Properties.Type
+ pool.PropertiesType = &propertiesType
+ }
+ }
+
+ // Set property "ProvisioningState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ProvisioningState != nil {
+ provisioningState := *typedInput.Properties.ProvisioningState
+ pool.ProvisioningState = &provisioningState
+ }
+ }
+
+ // Set property "ProximityPlacementGroupID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ProximityPlacementGroupID != nil {
+ proximityPlacementGroupID := *typedInput.Properties.ProximityPlacementGroupID
+ pool.ProximityPlacementGroupID = &proximityPlacementGroupID
+ }
+ }
+
+ // Set property "ScaleDownMode":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ScaleDownMode != nil {
+ scaleDownMode := *typedInput.Properties.ScaleDownMode
+ pool.ScaleDownMode = &scaleDownMode
+ }
+ }
+
+ // Set property "ScaleSetEvictionPolicy":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *typedInput.Properties.ScaleSetEvictionPolicy
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ }
+ }
+
+ // Set property "ScaleSetPriority":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ScaleSetPriority != nil {
+ scaleSetPriority := *typedInput.Properties.ScaleSetPriority
+ pool.ScaleSetPriority = &scaleSetPriority
+ }
+ }
+
+ // Set property "SecurityProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SecurityProfile != nil {
+ var securityProfile1 AgentPoolSecurityProfile_STATUS
+ err := securityProfile1.PopulateFromARM(owner, *typedInput.Properties.SecurityProfile)
+ if err != nil {
+ return err
+ }
+ securityProfile := securityProfile1
+ pool.SecurityProfile = &securityProfile
+ }
+ }
+
+ // Set property "SpotMaxPrice":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SpotMaxPrice != nil {
+ spotMaxPrice := *typedInput.Properties.SpotMaxPrice
+ pool.SpotMaxPrice = &spotMaxPrice
+ }
+ }
+
+ // Set property "Tags":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.Tags != nil {
+ pool.Tags = make(map[string]string, len(typedInput.Properties.Tags))
+ for key, value := range typedInput.Properties.Tags {
+ pool.Tags[key] = value
+ }
+ }
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ pool.Type = &typeVar
+ }
+
+ // Set property "UpgradeSettings":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.UpgradeSettings != nil {
+ var upgradeSettings1 AgentPoolUpgradeSettings_STATUS
+ err := upgradeSettings1.PopulateFromARM(owner, *typedInput.Properties.UpgradeSettings)
+ if err != nil {
+ return err
+ }
+ upgradeSettings := upgradeSettings1
+ pool.UpgradeSettings = &upgradeSettings
+ }
+ }
+
+ // Set property "VirtualMachineNodesStatus":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.VirtualMachineNodesStatus {
+ var item1 VirtualMachineNodes_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ pool.VirtualMachineNodesStatus = append(pool.VirtualMachineNodesStatus, item1)
+ }
+ }
+
+ // Set property "VirtualMachinesProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile1 VirtualMachinesProfile_STATUS
+ err := virtualMachinesProfile1.PopulateFromARM(owner, *typedInput.Properties.VirtualMachinesProfile)
+ if err != nil {
+ return err
+ }
+ virtualMachinesProfile := virtualMachinesProfile1
+ pool.VirtualMachinesProfile = &virtualMachinesProfile
+ }
+ }
+
+ // Set property "VmSize":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.VmSize != nil {
+ vmSize := *typedInput.Properties.VmSize
+ pool.VmSize = &vmSize
+ }
+ }
+
+ // Set property "VnetSubnetID":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.VnetSubnetID != nil {
+ vnetSubnetID := *typedInput.Properties.VnetSubnetID
+ pool.VnetSubnetID = &vnetSubnetID
+ }
+ }
+
+ // Set property "WindowsProfile":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WindowsProfile != nil {
+ var windowsProfile1 AgentPoolWindowsProfile_STATUS
+ err := windowsProfile1.PopulateFromARM(owner, *typedInput.Properties.WindowsProfile)
+ if err != nil {
+ return err
+ }
+ windowsProfile := windowsProfile1
+ pool.WindowsProfile = &windowsProfile
+ }
+ }
+
+ // Set property "WorkloadRuntime":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.WorkloadRuntime != nil {
+ workloadRuntime := *typedInput.Properties.WorkloadRuntime
+ pool.WorkloadRuntime = &workloadRuntime
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile_STATUS
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ pool.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ pool.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ pool.CapacityReservationGroupID = genruntime.ClonePointerToString(source.CapacityReservationGroupID)
+
+ // Conditions
+ pool.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // Count
+ pool.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData_STATUS
+ err := creationDatum.AssignProperties_From_CreationData_STATUS(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData_STATUS() to populate field CreationData")
+ }
+ pool.CreationData = &creationDatum
+ } else {
+ pool.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ pool.CurrentOrchestratorVersion = genruntime.ClonePointerToString(source.CurrentOrchestratorVersion)
+
+ // ETag
+ pool.ETag = genruntime.ClonePointerToString(source.ETag)
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ pool.EnableAutoScaling = &enableAutoScaling
+ } else {
+ pool.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ pool.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ pool.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ pool.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ pool.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ pool.EnableFIPS = &enableFIPS
+ } else {
+ pool.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ pool.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ pool.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ pool.EnableUltraSSD = &enableUltraSSD
+ } else {
+ pool.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if source.GatewayProfile != nil {
+ var gatewayProfile AgentPoolGatewayProfile_STATUS
+ err := gatewayProfile.AssignProperties_From_AgentPoolGatewayProfile_STATUS(source.GatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGatewayProfile_STATUS() to populate field GatewayProfile")
+ }
+ pool.GatewayProfile = &gatewayProfile
+ } else {
+ pool.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if source.GpuInstanceProfile != nil {
+ gpuInstanceProfile := *source.GpuInstanceProfile
+ gpuInstanceProfileTemp := genruntime.ToEnum(gpuInstanceProfile, gPUInstanceProfile_STATUS_Values)
+ pool.GpuInstanceProfile = &gpuInstanceProfileTemp
+ } else {
+ pool.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile_STATUS
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile_STATUS(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ pool.GpuProfile = &gpuProfile
+ } else {
+ pool.GpuProfile = nil
+ }
+
+ // HostGroupID
+ pool.HostGroupID = genruntime.ClonePointerToString(source.HostGroupID)
+
+ // Id
+ pool.Id = genruntime.ClonePointerToString(source.Id)
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig_STATUS
+ err := kubeletConfig.AssignProperties_From_KubeletConfig_STATUS(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ pool.KubeletConfig = &kubeletConfig
+ } else {
+ pool.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if source.KubeletDiskType != nil {
+ kubeletDiskType := *source.KubeletDiskType
+ kubeletDiskTypeTemp := genruntime.ToEnum(kubeletDiskType, kubeletDiskType_STATUS_Values)
+ pool.KubeletDiskType = &kubeletDiskTypeTemp
+ } else {
+ pool.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig_STATUS
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig_STATUS(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ pool.LinuxOSConfig = &linuxOSConfig
+ } else {
+ pool.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ pool.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ pool.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ pool.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ pool.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ if source.Mode != nil {
+ mode := *source.Mode
+ modeTemp := genruntime.ToEnum(mode, agentPoolMode_STATUS_Values)
+ pool.Mode = &modeTemp
+ } else {
+ pool.Mode = nil
+ }
+
+ // Name
+ pool.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile_STATUS
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile_STATUS(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ pool.NetworkProfile = &networkProfile
+ } else {
+ pool.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ pool.NodeImageVersion = genruntime.ClonePointerToString(source.NodeImageVersion)
+
+ // NodeInitializationTaints
+ pool.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ pool.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixID
+ pool.NodePublicIPPrefixID = genruntime.ClonePointerToString(source.NodePublicIPPrefixID)
+
+ // NodeTaints
+ pool.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ pool.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ pool.OsDiskSizeGB = genruntime.ClonePointerToInt(source.OsDiskSizeGB)
+
+ // OsDiskType
+ if source.OsDiskType != nil {
+ osDiskType := *source.OsDiskType
+ osDiskTypeTemp := genruntime.ToEnum(osDiskType, oSDiskType_STATUS_Values)
+ pool.OsDiskType = &osDiskTypeTemp
+ } else {
+ pool.OsDiskType = nil
+ }
+
+ // OsSKU
+ if source.OsSKU != nil {
+ osSKU := *source.OsSKU
+ osSKUTemp := genruntime.ToEnum(osSKU, oSSKU_STATUS_Values)
+ pool.OsSKU = &osSKUTemp
+ } else {
+ pool.OsSKU = nil
+ }
+
+ // OsType
+ if source.OsType != nil {
+ osType := *source.OsType
+ osTypeTemp := genruntime.ToEnum(osType, oSType_STATUS_Values)
+ pool.OsType = &osTypeTemp
+ } else {
+ pool.OsType = nil
+ }
+
+ // PodIPAllocationMode
+ if source.PodIPAllocationMode != nil {
+ podIPAllocationMode := *source.PodIPAllocationMode
+ podIPAllocationModeTemp := genruntime.ToEnum(podIPAllocationMode, podIPAllocationMode_STATUS_Values)
+ pool.PodIPAllocationMode = &podIPAllocationModeTemp
+ } else {
+ pool.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetID
+ pool.PodSubnetID = genruntime.ClonePointerToString(source.PodSubnetID)
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState_STATUS
+ err := powerState.AssignProperties_From_PowerState_STATUS(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState_STATUS() to populate field PowerState")
+ }
+ pool.PowerState = &powerState
+ } else {
+ pool.PowerState = nil
+ }
+
+ // PropertiesType
+ if source.PropertiesType != nil {
+ propertiesType := *source.PropertiesType
+ propertiesTypeTemp := genruntime.ToEnum(propertiesType, agentPoolType_STATUS_Values)
+ pool.PropertiesType = &propertiesTypeTemp
+ } else {
+ pool.PropertiesType = nil
+ }
+
+ // ProvisioningState
+ pool.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ pool.ProximityPlacementGroupID = genruntime.ClonePointerToString(source.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ if source.ScaleDownMode != nil {
+ scaleDownMode := *source.ScaleDownMode
+ scaleDownModeTemp := genruntime.ToEnum(scaleDownMode, scaleDownMode_STATUS_Values)
+ pool.ScaleDownMode = &scaleDownModeTemp
+ } else {
+ pool.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if source.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := *source.ScaleSetEvictionPolicy
+ scaleSetEvictionPolicyTemp := genruntime.ToEnum(scaleSetEvictionPolicy, scaleSetEvictionPolicy_STATUS_Values)
+ pool.ScaleSetEvictionPolicy = &scaleSetEvictionPolicyTemp
+ } else {
+ pool.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if source.ScaleSetPriority != nil {
+ scaleSetPriority := *source.ScaleSetPriority
+ scaleSetPriorityTemp := genruntime.ToEnum(scaleSetPriority, scaleSetPriority_STATUS_Values)
+ pool.ScaleSetPriority = &scaleSetPriorityTemp
+ } else {
+ pool.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile_STATUS
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile_STATUS(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ pool.SecurityProfile = &securityProfile
+ } else {
+ pool.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ pool.SpotMaxPrice = &spotMaxPrice
+ } else {
+ pool.SpotMaxPrice = nil
+ }
+
+ // Tags
+ pool.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ pool.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings_STATUS
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ pool.UpgradeSettings = &upgradeSetting
+ } else {
+ pool.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes_STATUS, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes_STATUS(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ pool.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ pool.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile_STATUS
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile_STATUS(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ pool.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ pool.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ pool.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetID
+ pool.VnetSubnetID = genruntime.ClonePointerToString(source.VnetSubnetID)
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile_STATUS
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile_STATUS(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ pool.WindowsProfile = &windowsProfile
+ } else {
+ pool.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if source.WorkloadRuntime != nil {
+ workloadRuntime := *source.WorkloadRuntime
+ workloadRuntimeTemp := genruntime.ToEnum(workloadRuntime, workloadRuntime_STATUS_Values)
+ pool.WorkloadRuntime = &workloadRuntimeTemp
+ } else {
+ pool.WorkloadRuntime = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ArtifactStreamingProfile
+ if pool.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile_STATUS
+ err := pool.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(pool.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ destination.CapacityReservationGroupID = genruntime.ClonePointerToString(pool.CapacityReservationGroupID)
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(pool.Conditions)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(pool.Count)
+
+ // CreationData
+ if pool.CreationData != nil {
+ var creationDatum storage.CreationData_STATUS
+ err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ destination.CurrentOrchestratorVersion = genruntime.ClonePointerToString(pool.CurrentOrchestratorVersion)
+
+ // ETag
+ destination.ETag = genruntime.ClonePointerToString(pool.ETag)
+
+ // EnableAutoScaling
+ if pool.EnableAutoScaling != nil {
+ enableAutoScaling := *pool.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if pool.EnableCustomCATrust != nil {
+ enableCustomCATrust := *pool.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if pool.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *pool.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if pool.EnableFIPS != nil {
+ enableFIPS := *pool.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if pool.EnableNodePublicIP != nil {
+ enableNodePublicIP := *pool.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if pool.EnableUltraSSD != nil {
+ enableUltraSSD := *pool.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if pool.GatewayProfile != nil {
+ var gatewayProfile storage.AgentPoolGatewayProfile_STATUS
+ err := pool.GatewayProfile.AssignProperties_To_AgentPoolGatewayProfile_STATUS(&gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGatewayProfile_STATUS() to populate field GatewayProfile")
+ }
+ destination.GatewayProfile = &gatewayProfile
+ } else {
+ destination.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ if pool.GpuInstanceProfile != nil {
+ gpuInstanceProfile := string(*pool.GpuInstanceProfile)
+ destination.GpuInstanceProfile = &gpuInstanceProfile
+ } else {
+ destination.GpuInstanceProfile = nil
+ }
+
+ // GpuProfile
+ if pool.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile_STATUS
+ err := pool.GpuProfile.AssignProperties_To_AgentPoolGPUProfile_STATUS(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupID
+ destination.HostGroupID = genruntime.ClonePointerToString(pool.HostGroupID)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(pool.Id)
+
+ // KubeletConfig
+ if pool.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig_STATUS
+ err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ if pool.KubeletDiskType != nil {
+ kubeletDiskType := string(*pool.KubeletDiskType)
+ destination.KubeletDiskType = &kubeletDiskType
+ } else {
+ destination.KubeletDiskType = nil
+ }
+
+ // LinuxOSConfig
+ if pool.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
+ err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(pool.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(pool.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(pool.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(pool.MinCount)
+
+ // Mode
+ if pool.Mode != nil {
+ mode := string(*pool.Mode)
+ destination.Mode = &mode
+ } else {
+ destination.Mode = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(pool.Name)
+
+ // NetworkProfile
+ if pool.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
+ err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ destination.NodeImageVersion = genruntime.ClonePointerToString(pool.NodeImageVersion)
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(pool.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(pool.NodeLabels)
+
+ // NodePublicIPPrefixID
+ destination.NodePublicIPPrefixID = genruntime.ClonePointerToString(pool.NodePublicIPPrefixID)
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(pool.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(pool.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ destination.OsDiskSizeGB = genruntime.ClonePointerToInt(pool.OsDiskSizeGB)
+
+ // OsDiskType
+ if pool.OsDiskType != nil {
+ osDiskType := string(*pool.OsDiskType)
+ destination.OsDiskType = &osDiskType
+ } else {
+ destination.OsDiskType = nil
+ }
+
+ // OsSKU
+ if pool.OsSKU != nil {
+ osSKU := string(*pool.OsSKU)
+ destination.OsSKU = &osSKU
+ } else {
+ destination.OsSKU = nil
+ }
+
+ // OsType
+ if pool.OsType != nil {
+ osType := string(*pool.OsType)
+ destination.OsType = &osType
+ } else {
+ destination.OsType = nil
+ }
+
+ // PodIPAllocationMode
+ if pool.PodIPAllocationMode != nil {
+ podIPAllocationMode := string(*pool.PodIPAllocationMode)
+ destination.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ destination.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetID
+ destination.PodSubnetID = genruntime.ClonePointerToString(pool.PodSubnetID)
+
+ // PowerState
+ if pool.PowerState != nil {
+ var powerState storage.PowerState_STATUS
+ err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // PropertiesType
+ if pool.PropertiesType != nil {
+ propertiesType := string(*pool.PropertiesType)
+ destination.PropertiesType = &propertiesType
+ } else {
+ destination.PropertiesType = nil
+ }
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(pool.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ destination.ProximityPlacementGroupID = genruntime.ClonePointerToString(pool.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ if pool.ScaleDownMode != nil {
+ scaleDownMode := string(*pool.ScaleDownMode)
+ destination.ScaleDownMode = &scaleDownMode
+ } else {
+ destination.ScaleDownMode = nil
+ }
+
+ // ScaleSetEvictionPolicy
+ if pool.ScaleSetEvictionPolicy != nil {
+ scaleSetEvictionPolicy := string(*pool.ScaleSetEvictionPolicy)
+ destination.ScaleSetEvictionPolicy = &scaleSetEvictionPolicy
+ } else {
+ destination.ScaleSetEvictionPolicy = nil
+ }
+
+ // ScaleSetPriority
+ if pool.ScaleSetPriority != nil {
+ scaleSetPriority := string(*pool.ScaleSetPriority)
+ destination.ScaleSetPriority = &scaleSetPriority
+ } else {
+ destination.ScaleSetPriority = nil
+ }
+
+ // SecurityProfile
+ if pool.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile_STATUS
+ err := pool.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile_STATUS(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if pool.SpotMaxPrice != nil {
+ spotMaxPrice := *pool.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(pool.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(pool.Type)
+
+ // UpgradeSettings
+ if pool.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
+ err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if pool.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes_STATUS, len(pool.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range pool.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes_STATUS(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if pool.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile_STATUS
+ err := pool.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile_STATUS(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(pool.VmSize)
+
+ // VnetSubnetID
+ destination.VnetSubnetID = genruntime.ClonePointerToString(pool.VnetSubnetID)
+
+ // WindowsProfile
+ if pool.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
+ err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ if pool.WorkloadRuntime != nil {
+ workloadRuntime := string(*pool.WorkloadRuntime)
+ destination.WorkloadRuntime = &workloadRuntime
+ } else {
+ destination.WorkloadRuntime = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type AgentPoolArtifactStreamingProfile struct {
+ // Enabled: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use
+ // this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolArtifactStreamingProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AgentPoolArtifactStreamingProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AgentPoolArtifactStreamingProfile_ARM{}
+
+ // Set property "Enabled":
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ result.Enabled = &enabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolArtifactStreamingProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolArtifactStreamingProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolArtifactStreamingProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolArtifactStreamingProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolArtifactStreamingProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolArtifactStreamingProfile populates our AgentPoolArtifactStreamingProfile from the provided source AgentPoolArtifactStreamingProfile
+func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_From_AgentPoolArtifactStreamingProfile(source *storage.AgentPoolArtifactStreamingProfile) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolArtifactStreamingProfile populates the provided destination AgentPoolArtifactStreamingProfile from our AgentPoolArtifactStreamingProfile
+func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_To_AgentPoolArtifactStreamingProfile(destination *storage.AgentPoolArtifactStreamingProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type AgentPoolArtifactStreamingProfile_STATUS struct {
+ // Enabled: Artifact streaming speeds up the cold-start of containers on a node through on-demand image loading. To use
+ // this feature, container images must also enable artifact streaming on ACR. If not specified, the default is false.
+ Enabled *bool `json:"enabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolArtifactStreamingProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolArtifactStreamingProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolArtifactStreamingProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolArtifactStreamingProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Enabled":
+ if typedInput.Enabled != nil {
+ enabled := *typedInput.Enabled
+ profile.Enabled = &enabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS populates our AgentPoolArtifactStreamingProfile_STATUS from the provided source AgentPoolArtifactStreamingProfile_STATUS
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source *storage.AgentPoolArtifactStreamingProfile_STATUS) error {
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS populates the provided destination AgentPoolArtifactStreamingProfile_STATUS from our AgentPoolArtifactStreamingProfile_STATUS
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(destination *storage.AgentPoolArtifactStreamingProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed cluster gateway agent pool.
+type AgentPoolGatewayProfile struct {
+ // +kubebuilder:validation:Maximum=31
+ // +kubebuilder:validation:Minimum=28
+ // PublicIPPrefixSize: The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide
+ // public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with
+ // one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure
+ // public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8
+ // nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
+ PublicIPPrefixSize *int `json:"publicIPPrefixSize,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolGatewayProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AgentPoolGatewayProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AgentPoolGatewayProfile_ARM{}
+
+ // Set property "PublicIPPrefixSize":
+ if profile.PublicIPPrefixSize != nil {
+ publicIPPrefixSize := *profile.PublicIPPrefixSize
+ result.PublicIPPrefixSize = &publicIPPrefixSize
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolGatewayProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolGatewayProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolGatewayProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolGatewayProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolGatewayProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicIPPrefixSize":
+ if typedInput.PublicIPPrefixSize != nil {
+ publicIPPrefixSize := *typedInput.PublicIPPrefixSize
+ profile.PublicIPPrefixSize = &publicIPPrefixSize
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolGatewayProfile populates our AgentPoolGatewayProfile from the provided source AgentPoolGatewayProfile
+func (profile *AgentPoolGatewayProfile) AssignProperties_From_AgentPoolGatewayProfile(source *storage.AgentPoolGatewayProfile) error {
+
+ // PublicIPPrefixSize
+ if source.PublicIPPrefixSize != nil {
+ publicIPPrefixSize := *source.PublicIPPrefixSize
+ profile.PublicIPPrefixSize = &publicIPPrefixSize
+ } else {
+ profile.PublicIPPrefixSize = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolGatewayProfile populates the provided destination AgentPoolGatewayProfile from our AgentPoolGatewayProfile
+func (profile *AgentPoolGatewayProfile) AssignProperties_To_AgentPoolGatewayProfile(destination *storage.AgentPoolGatewayProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicIPPrefixSize
+ if profile.PublicIPPrefixSize != nil {
+ publicIPPrefixSize := *profile.PublicIPPrefixSize
+ destination.PublicIPPrefixSize = &publicIPPrefixSize
+ } else {
+ destination.PublicIPPrefixSize = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Profile of the managed cluster gateway agent pool.
+type AgentPoolGatewayProfile_STATUS struct {
+ // PublicIPPrefixSize: The Gateway agent pool associates one public IPPrefix for each static egress gateway to provide
+ // public egress. The size of Public IPPrefix should be selected by the user. Each node in the agent pool is assigned with
+ // one IP from the IPPrefix. The IPPrefix size thus serves as a cap on the size of the Gateway agent pool. Due to Azure
+ // public IPPrefix size limitation, the valid value range is [28, 31] (/31 = 2 nodes/IPs, /30 = 4 nodes/IPs, /29 = 8
+ // nodes/IPs, /28 = 16 nodes/IPs). The default value is 31.
+ PublicIPPrefixSize *int `json:"publicIPPrefixSize,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolGatewayProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolGatewayProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolGatewayProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolGatewayProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolGatewayProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolGatewayProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "PublicIPPrefixSize":
+ if typedInput.PublicIPPrefixSize != nil {
+ publicIPPrefixSize := *typedInput.PublicIPPrefixSize
+ profile.PublicIPPrefixSize = &publicIPPrefixSize
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolGatewayProfile_STATUS populates our AgentPoolGatewayProfile_STATUS from the provided source AgentPoolGatewayProfile_STATUS
+func (profile *AgentPoolGatewayProfile_STATUS) AssignProperties_From_AgentPoolGatewayProfile_STATUS(source *storage.AgentPoolGatewayProfile_STATUS) error {
+
+ // PublicIPPrefixSize
+ profile.PublicIPPrefixSize = genruntime.ClonePointerToInt(source.PublicIPPrefixSize)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolGatewayProfile_STATUS populates the provided destination AgentPoolGatewayProfile_STATUS from our AgentPoolGatewayProfile_STATUS
+func (profile *AgentPoolGatewayProfile_STATUS) AssignProperties_To_AgentPoolGatewayProfile_STATUS(destination *storage.AgentPoolGatewayProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PublicIPPrefixSize
+ destination.PublicIPPrefixSize = genruntime.ClonePointerToInt(profile.PublicIPPrefixSize)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type AgentPoolGPUProfile struct {
+ // InstallGPUDriver: The default value is true when the vmSize of the agent pool contains a GPU, false otherwise. GPU
+ // Driver Installation can only be set true when VM has an associated GPU resource. Setting this field to false prevents
+ // automatic GPU driver installation. In that case, in order for the GPU to be usable, the user must perform GPU driver
+ // installation themselves.
+ InstallGPUDriver *bool `json:"installGPUDriver,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolGPUProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AgentPoolGPUProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AgentPoolGPUProfile_ARM{}
+
+ // Set property "InstallGPUDriver":
+ if profile.InstallGPUDriver != nil {
+ installGPUDriver := *profile.InstallGPUDriver
+ result.InstallGPUDriver = &installGPUDriver
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolGPUProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolGPUProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolGPUProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolGPUProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolGPUProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "InstallGPUDriver":
+ if typedInput.InstallGPUDriver != nil {
+ installGPUDriver := *typedInput.InstallGPUDriver
+ profile.InstallGPUDriver = &installGPUDriver
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolGPUProfile populates our AgentPoolGPUProfile from the provided source AgentPoolGPUProfile
+func (profile *AgentPoolGPUProfile) AssignProperties_From_AgentPoolGPUProfile(source *storage.AgentPoolGPUProfile) error {
+
+ // InstallGPUDriver
+ if source.InstallGPUDriver != nil {
+ installGPUDriver := *source.InstallGPUDriver
+ profile.InstallGPUDriver = &installGPUDriver
+ } else {
+ profile.InstallGPUDriver = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolGPUProfile populates the provided destination AgentPoolGPUProfile from our AgentPoolGPUProfile
+func (profile *AgentPoolGPUProfile) AssignProperties_To_AgentPoolGPUProfile(destination *storage.AgentPoolGPUProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // InstallGPUDriver
+ if profile.InstallGPUDriver != nil {
+ installGPUDriver := *profile.InstallGPUDriver
+ destination.InstallGPUDriver = &installGPUDriver
+ } else {
+ destination.InstallGPUDriver = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+type AgentPoolGPUProfile_STATUS struct {
+ // InstallGPUDriver: The default value is true when the vmSize of the agent pool contains a GPU, false otherwise. GPU
+ // Driver Installation can only be set true when VM has an associated GPU resource. Setting this field to false prevents
+ // automatic GPU driver installation. In that case, in order for the GPU to be usable, the user must perform GPU driver
+ // installation themselves.
+ InstallGPUDriver *bool `json:"installGPUDriver,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolGPUProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolGPUProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolGPUProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolGPUProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolGPUProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolGPUProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "InstallGPUDriver":
+ if typedInput.InstallGPUDriver != nil {
+ installGPUDriver := *typedInput.InstallGPUDriver
+ profile.InstallGPUDriver = &installGPUDriver
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolGPUProfile_STATUS populates our AgentPoolGPUProfile_STATUS from the provided source AgentPoolGPUProfile_STATUS
+func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_From_AgentPoolGPUProfile_STATUS(source *storage.AgentPoolGPUProfile_STATUS) error {
+
+ // InstallGPUDriver
+ if source.InstallGPUDriver != nil {
+ installGPUDriver := *source.InstallGPUDriver
+ profile.InstallGPUDriver = &installGPUDriver
+ } else {
+ profile.InstallGPUDriver = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolGPUProfile_STATUS populates the provided destination AgentPoolGPUProfile_STATUS from our AgentPoolGPUProfile_STATUS
+func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_To_AgentPoolGPUProfile_STATUS(destination *storage.AgentPoolGPUProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // InstallGPUDriver
+ if profile.InstallGPUDriver != nil {
+ installGPUDriver := *profile.InstallGPUDriver
+ destination.InstallGPUDriver = &installGPUDriver
+ } else {
+ destination.InstallGPUDriver = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
+// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+// +kubebuilder:validation:Enum={"Gateway","System","User"}
+type AgentPoolMode string
+
+const (
+ AgentPoolMode_Gateway = AgentPoolMode("Gateway")
+ AgentPoolMode_System = AgentPoolMode("System")
+ AgentPoolMode_User = AgentPoolMode("User")
+)
+
+// Mapping from string to AgentPoolMode
+var agentPoolMode_Values = map[string]AgentPoolMode{
+ "gateway": AgentPoolMode_Gateway,
+ "system": AgentPoolMode_System,
+ "user": AgentPoolMode_User,
+}
+
+// A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions
+// and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools
+type AgentPoolMode_STATUS string
+
+const (
+ AgentPoolMode_STATUS_Gateway = AgentPoolMode_STATUS("Gateway")
+ AgentPoolMode_STATUS_System = AgentPoolMode_STATUS("System")
+ AgentPoolMode_STATUS_User = AgentPoolMode_STATUS("User")
+)
+
+// Mapping from string to AgentPoolMode_STATUS
+var agentPoolMode_STATUS_Values = map[string]AgentPoolMode_STATUS{
+ "gateway": AgentPoolMode_STATUS_Gateway,
+ "system": AgentPoolMode_STATUS_System,
+ "user": AgentPoolMode_STATUS_User,
+}
+
+// Network settings of an agent pool.
+type AgentPoolNetworkProfile struct {
+ // AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
+ AllowedHostPorts []PortRange `json:"allowedHostPorts,omitempty"`
+
+ // ApplicationSecurityGroupsReferences: The IDs of the application security groups which agent pool will associate when
+ // created.
+ ApplicationSecurityGroupsReferences []genruntime.ResourceReference `armReference:"ApplicationSecurityGroups" json:"applicationSecurityGroupsReferences,omitempty"`
+
+ // NodePublicIPTags: IPTags of instance-level public IPs.
+ NodePublicIPTags []IPTag `json:"nodePublicIPTags,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolNetworkProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AgentPoolNetworkProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AgentPoolNetworkProfile_ARM{}
+
+ // Set property "AllowedHostPorts":
+ for _, item := range profile.AllowedHostPorts {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.AllowedHostPorts = append(result.AllowedHostPorts, *item_ARM.(*PortRange_ARM))
+ }
+
+ // Set property "ApplicationSecurityGroups":
+ for _, item := range profile.ApplicationSecurityGroupsReferences {
+ itemARMID, err := resolved.ResolvedReferences.Lookup(item)
+ if err != nil {
+ return nil, err
+ }
+ result.ApplicationSecurityGroups = append(result.ApplicationSecurityGroups, itemARMID)
+ }
+
+ // Set property "NodePublicIPTags":
+ for _, item := range profile.NodePublicIPTags {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.NodePublicIPTags = append(result.NodePublicIPTags, *item_ARM.(*IPTag_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolNetworkProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolNetworkProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolNetworkProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolNetworkProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolNetworkProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "AllowedHostPorts":
+ for _, item := range typedInput.AllowedHostPorts {
+ var item1 PortRange
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.AllowedHostPorts = append(profile.AllowedHostPorts, item1)
+ }
+
+ // no assignment for property "ApplicationSecurityGroupsReferences"
+
+ // Set property "NodePublicIPTags":
+ for _, item := range typedInput.NodePublicIPTags {
+ var item1 IPTag
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.NodePublicIPTags = append(profile.NodePublicIPTags, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolNetworkProfile populates our AgentPoolNetworkProfile from the provided source AgentPoolNetworkProfile
+func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *storage.AgentPoolNetworkProfile) error {
+
+ // AllowedHostPorts
+ if source.AllowedHostPorts != nil {
+ allowedHostPortList := make([]PortRange, len(source.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range source.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort PortRange
+ err := allowedHostPort.AssignProperties_From_PortRange(&allowedHostPortItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PortRange() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ profile.AllowedHostPorts = allowedHostPortList
+ } else {
+ profile.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroupsReferences
+ if source.ApplicationSecurityGroupsReferences != nil {
+ applicationSecurityGroupsReferenceList := make([]genruntime.ResourceReference, len(source.ApplicationSecurityGroupsReferences))
+ for applicationSecurityGroupsReferenceIndex, applicationSecurityGroupsReferenceItem := range source.ApplicationSecurityGroupsReferences {
+ // Shadow the loop variable to avoid aliasing
+ applicationSecurityGroupsReferenceItem := applicationSecurityGroupsReferenceItem
+ applicationSecurityGroupsReferenceList[applicationSecurityGroupsReferenceIndex] = applicationSecurityGroupsReferenceItem.Copy()
+ }
+ profile.ApplicationSecurityGroupsReferences = applicationSecurityGroupsReferenceList
+ } else {
+ profile.ApplicationSecurityGroupsReferences = nil
+ }
+
+ // NodePublicIPTags
+ if source.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]IPTag, len(source.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range source.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag IPTag
+ err := nodePublicIPTag.AssignProperties_From_IPTag(&nodePublicIPTagItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IPTag() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ profile.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ profile.NodePublicIPTags = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolNetworkProfile populates the provided destination AgentPoolNetworkProfile from our AgentPoolNetworkProfile
+func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *storage.AgentPoolNetworkProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllowedHostPorts
+ if profile.AllowedHostPorts != nil {
+ allowedHostPortList := make([]storage.PortRange, len(profile.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort storage.PortRange
+ err := allowedHostPortItem.AssignProperties_To_PortRange(&allowedHostPort)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PortRange() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ destination.AllowedHostPorts = allowedHostPortList
+ } else {
+ destination.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroupsReferences
+ if profile.ApplicationSecurityGroupsReferences != nil {
+ applicationSecurityGroupsReferenceList := make([]genruntime.ResourceReference, len(profile.ApplicationSecurityGroupsReferences))
+ for applicationSecurityGroupsReferenceIndex, applicationSecurityGroupsReferenceItem := range profile.ApplicationSecurityGroupsReferences {
+ // Shadow the loop variable to avoid aliasing
+ applicationSecurityGroupsReferenceItem := applicationSecurityGroupsReferenceItem
+ applicationSecurityGroupsReferenceList[applicationSecurityGroupsReferenceIndex] = applicationSecurityGroupsReferenceItem.Copy()
+ }
+ destination.ApplicationSecurityGroupsReferences = applicationSecurityGroupsReferenceList
+ } else {
+ destination.ApplicationSecurityGroupsReferences = nil
+ }
+
+ // NodePublicIPTags
+ if profile.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]storage.IPTag, len(profile.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag storage.IPTag
+ err := nodePublicIPTagItem.AssignProperties_To_IPTag(&nodePublicIPTag)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IPTag() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ destination.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ destination.NodePublicIPTags = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Network settings of an agent pool.
+type AgentPoolNetworkProfile_STATUS struct {
+ // AllowedHostPorts: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
+ AllowedHostPorts []PortRange_STATUS `json:"allowedHostPorts,omitempty"`
+
+ // ApplicationSecurityGroups: The IDs of the application security groups which agent pool will associate when created.
+ ApplicationSecurityGroups []string `json:"applicationSecurityGroups,omitempty"`
+
+ // NodePublicIPTags: IPTags of instance-level public IPs.
+ NodePublicIPTags []IPTag_STATUS `json:"nodePublicIPTags,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolNetworkProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolNetworkProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolNetworkProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolNetworkProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolNetworkProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolNetworkProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AllowedHostPorts":
+ for _, item := range typedInput.AllowedHostPorts {
+ var item1 PortRange_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.AllowedHostPorts = append(profile.AllowedHostPorts, item1)
+ }
+
+ // Set property "ApplicationSecurityGroups":
+ for _, item := range typedInput.ApplicationSecurityGroups {
+ profile.ApplicationSecurityGroups = append(profile.ApplicationSecurityGroups, item)
+ }
+
+ // Set property "NodePublicIPTags":
+ for _, item := range typedInput.NodePublicIPTags {
+ var item1 IPTag_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.NodePublicIPTags = append(profile.NodePublicIPTags, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolNetworkProfile_STATUS populates our AgentPoolNetworkProfile_STATUS from the provided source AgentPoolNetworkProfile_STATUS
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *storage.AgentPoolNetworkProfile_STATUS) error {
+
+ // AllowedHostPorts
+ if source.AllowedHostPorts != nil {
+ allowedHostPortList := make([]PortRange_STATUS, len(source.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range source.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort PortRange_STATUS
+ err := allowedHostPort.AssignProperties_From_PortRange_STATUS(&allowedHostPortItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PortRange_STATUS() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ profile.AllowedHostPorts = allowedHostPortList
+ } else {
+ profile.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroups
+ profile.ApplicationSecurityGroups = genruntime.CloneSliceOfString(source.ApplicationSecurityGroups)
+
+ // NodePublicIPTags
+ if source.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]IPTag_STATUS, len(source.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range source.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag IPTag_STATUS
+ err := nodePublicIPTag.AssignProperties_From_IPTag_STATUS(&nodePublicIPTagItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IPTag_STATUS() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ profile.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ profile.NodePublicIPTags = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolNetworkProfile_STATUS populates the provided destination AgentPoolNetworkProfile_STATUS from our AgentPoolNetworkProfile_STATUS
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *storage.AgentPoolNetworkProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllowedHostPorts
+ if profile.AllowedHostPorts != nil {
+ allowedHostPortList := make([]storage.PortRange_STATUS, len(profile.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort storage.PortRange_STATUS
+ err := allowedHostPortItem.AssignProperties_To_PortRange_STATUS(&allowedHostPort)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PortRange_STATUS() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ destination.AllowedHostPorts = allowedHostPortList
+ } else {
+ destination.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroups
+ destination.ApplicationSecurityGroups = genruntime.CloneSliceOfString(profile.ApplicationSecurityGroups)
+
+ // NodePublicIPTags
+ if profile.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]storage.IPTag_STATUS, len(profile.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag storage.IPTag_STATUS
+ err := nodePublicIPTagItem.AssignProperties_To_IPTag_STATUS(&nodePublicIPTag)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IPTag_STATUS() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ destination.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ destination.NodePublicIPTags = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The security settings of an agent pool.
+type AgentPoolSecurityProfile struct {
+ // EnableSecureBoot: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and
+ // drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"`
+
+ // EnableVTPM: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held
+ // locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableVTPM *bool `json:"enableVTPM,omitempty"`
+
+ // SshAccess: SSH access method of an agent pool.
+ SshAccess *AgentPoolSSHAccess `json:"sshAccess,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolSecurityProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AgentPoolSecurityProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AgentPoolSecurityProfile_ARM{}
+
+ // Set property "EnableSecureBoot":
+ if profile.EnableSecureBoot != nil {
+ enableSecureBoot := *profile.EnableSecureBoot
+ result.EnableSecureBoot = &enableSecureBoot
+ }
+
+ // Set property "EnableVTPM":
+ if profile.EnableVTPM != nil {
+ enableVTPM := *profile.EnableVTPM
+ result.EnableVTPM = &enableVTPM
+ }
+
+ // Set property "SshAccess":
+ if profile.SshAccess != nil {
+ sshAccess := *profile.SshAccess
+ result.SshAccess = &sshAccess
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolSecurityProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolSecurityProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolSecurityProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolSecurityProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolSecurityProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "EnableSecureBoot":
+ if typedInput.EnableSecureBoot != nil {
+ enableSecureBoot := *typedInput.EnableSecureBoot
+ profile.EnableSecureBoot = &enableSecureBoot
+ }
+
+ // Set property "EnableVTPM":
+ if typedInput.EnableVTPM != nil {
+ enableVTPM := *typedInput.EnableVTPM
+ profile.EnableVTPM = &enableVTPM
+ }
+
+ // Set property "SshAccess":
+ if typedInput.SshAccess != nil {
+ sshAccess := *typedInput.SshAccess
+ profile.SshAccess = &sshAccess
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolSecurityProfile populates our AgentPoolSecurityProfile from the provided source AgentPoolSecurityProfile
+func (profile *AgentPoolSecurityProfile) AssignProperties_From_AgentPoolSecurityProfile(source *storage.AgentPoolSecurityProfile) error {
+
+ // EnableSecureBoot
+ if source.EnableSecureBoot != nil {
+ enableSecureBoot := *source.EnableSecureBoot
+ profile.EnableSecureBoot = &enableSecureBoot
+ } else {
+ profile.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if source.EnableVTPM != nil {
+ enableVTPM := *source.EnableVTPM
+ profile.EnableVTPM = &enableVTPM
+ } else {
+ profile.EnableVTPM = nil
+ }
+
+ // SshAccess
+ if source.SshAccess != nil {
+ sshAccess := *source.SshAccess
+ sshAccessTemp := genruntime.ToEnum(sshAccess, agentPoolSSHAccess_Values)
+ profile.SshAccess = &sshAccessTemp
+ } else {
+ profile.SshAccess = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolSecurityProfile populates the provided destination AgentPoolSecurityProfile from our AgentPoolSecurityProfile
+func (profile *AgentPoolSecurityProfile) AssignProperties_To_AgentPoolSecurityProfile(destination *storage.AgentPoolSecurityProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EnableSecureBoot
+ if profile.EnableSecureBoot != nil {
+ enableSecureBoot := *profile.EnableSecureBoot
+ destination.EnableSecureBoot = &enableSecureBoot
+ } else {
+ destination.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if profile.EnableVTPM != nil {
+ enableVTPM := *profile.EnableVTPM
+ destination.EnableVTPM = &enableVTPM
+ } else {
+ destination.EnableVTPM = nil
+ }
+
+ // SshAccess
+ if profile.SshAccess != nil {
+ sshAccess := string(*profile.SshAccess)
+ destination.SshAccess = &sshAccess
+ } else {
+ destination.SshAccess = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The security settings of an agent pool.
+type AgentPoolSecurityProfile_STATUS struct {
+ // EnableSecureBoot: Secure Boot is a feature of Trusted Launch which ensures that only signed operating systems and
+ // drivers can boot. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"`
+
+ // EnableVTPM: vTPM is a Trusted Launch feature for configuring a dedicated secure vault for keys and measurements held
+ // locally on the node. For more details, see aka.ms/aks/trustedlaunch. If not specified, the default is false.
+ EnableVTPM *bool `json:"enableVTPM,omitempty"`
+
+ // SshAccess: SSH access method of an agent pool.
+ SshAccess *AgentPoolSSHAccess_STATUS `json:"sshAccess,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolSecurityProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolSecurityProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolSecurityProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolSecurityProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolSecurityProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolSecurityProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "EnableSecureBoot":
+ if typedInput.EnableSecureBoot != nil {
+ enableSecureBoot := *typedInput.EnableSecureBoot
+ profile.EnableSecureBoot = &enableSecureBoot
+ }
+
+ // Set property "EnableVTPM":
+ if typedInput.EnableVTPM != nil {
+ enableVTPM := *typedInput.EnableVTPM
+ profile.EnableVTPM = &enableVTPM
+ }
+
+ // Set property "SshAccess":
+ if typedInput.SshAccess != nil {
+ sshAccess := *typedInput.SshAccess
+ profile.SshAccess = &sshAccess
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolSecurityProfile_STATUS populates our AgentPoolSecurityProfile_STATUS from the provided source AgentPoolSecurityProfile_STATUS
+func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_From_AgentPoolSecurityProfile_STATUS(source *storage.AgentPoolSecurityProfile_STATUS) error {
+
+ // EnableSecureBoot
+ if source.EnableSecureBoot != nil {
+ enableSecureBoot := *source.EnableSecureBoot
+ profile.EnableSecureBoot = &enableSecureBoot
+ } else {
+ profile.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if source.EnableVTPM != nil {
+ enableVTPM := *source.EnableVTPM
+ profile.EnableVTPM = &enableVTPM
+ } else {
+ profile.EnableVTPM = nil
+ }
+
+ // SshAccess
+ if source.SshAccess != nil {
+ sshAccess := *source.SshAccess
+ sshAccessTemp := genruntime.ToEnum(sshAccess, agentPoolSSHAccess_STATUS_Values)
+ profile.SshAccess = &sshAccessTemp
+ } else {
+ profile.SshAccess = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolSecurityProfile_STATUS populates the provided destination AgentPoolSecurityProfile_STATUS from our AgentPoolSecurityProfile_STATUS
+func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_To_AgentPoolSecurityProfile_STATUS(destination *storage.AgentPoolSecurityProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // EnableSecureBoot
+ if profile.EnableSecureBoot != nil {
+ enableSecureBoot := *profile.EnableSecureBoot
+ destination.EnableSecureBoot = &enableSecureBoot
+ } else {
+ destination.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if profile.EnableVTPM != nil {
+ enableVTPM := *profile.EnableVTPM
+ destination.EnableVTPM = &enableVTPM
+ } else {
+ destination.EnableVTPM = nil
+ }
+
+ // SshAccess
+ if profile.SshAccess != nil {
+ sshAccess := string(*profile.SshAccess)
+ destination.SshAccess = &sshAccess
+ } else {
+ destination.SshAccess = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The type of Agent Pool.
+// +kubebuilder:validation:Enum={"AvailabilitySet","VirtualMachineScaleSets","VirtualMachines"}
+type AgentPoolType string
+
+const (
+ AgentPoolType_AvailabilitySet = AgentPoolType("AvailabilitySet")
+ AgentPoolType_VirtualMachineScaleSets = AgentPoolType("VirtualMachineScaleSets")
+ AgentPoolType_VirtualMachines = AgentPoolType("VirtualMachines")
+)
+
+// Mapping from string to AgentPoolType
+var agentPoolType_Values = map[string]AgentPoolType{
+ "availabilityset": AgentPoolType_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_VirtualMachineScaleSets,
+ "virtualmachines": AgentPoolType_VirtualMachines,
+}
+
+// The type of Agent Pool.
+type AgentPoolType_STATUS string
+
+const (
+ AgentPoolType_STATUS_AvailabilitySet = AgentPoolType_STATUS("AvailabilitySet")
+ AgentPoolType_STATUS_VirtualMachineScaleSets = AgentPoolType_STATUS("VirtualMachineScaleSets")
+ AgentPoolType_STATUS_VirtualMachines = AgentPoolType_STATUS("VirtualMachines")
+)
+
+// Mapping from string to AgentPoolType_STATUS
+var agentPoolType_STATUS_Values = map[string]AgentPoolType_STATUS{
+ "availabilityset": AgentPoolType_STATUS_AvailabilitySet,
+ "virtualmachinescalesets": AgentPoolType_STATUS_VirtualMachineScaleSets,
+ "virtualmachines": AgentPoolType_STATUS_VirtualMachines,
+}
+
+// Settings for upgrading an agentpool
+type AgentPoolUpgradeSettings struct {
+ // +kubebuilder:validation:Maximum=1440
+ // +kubebuilder:validation:Minimum=1
+ // DrainTimeoutInMinutes: The amount of time (in minutes) to wait on eviction of pods and graceful termination per node.
+ // This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not
+ // specified, the default is 30 minutes.
+ DrainTimeoutInMinutes *int `json:"drainTimeoutInMinutes,omitempty"`
+
+ // MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
+ // is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded
+ // up. If not specified, the default is 1. For more information, including best practices, see:
+ // https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade
+ MaxSurge *string `json:"maxSurge,omitempty"`
+
+ // +kubebuilder:validation:Maximum=30
+ // +kubebuilder:validation:Minimum=0
+ // NodeSoakDurationInMinutes: The amount of time (in minutes) to wait after draining a node and before reimaging it and
+ // moving on to next node. If not specified, the default is 0 minutes.
+ NodeSoakDurationInMinutes *int `json:"nodeSoakDurationInMinutes,omitempty"`
+
+ // UndrainableNodeBehavior: Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable
+ // nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the
+ // remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
+ UndrainableNodeBehavior *AgentPoolUpgradeSettings_UndrainableNodeBehavior `json:"undrainableNodeBehavior,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolUpgradeSettings{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (settings *AgentPoolUpgradeSettings) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if settings == nil {
+ return nil, nil
+ }
+ result := &AgentPoolUpgradeSettings_ARM{}
+
+ // Set property "DrainTimeoutInMinutes":
+ if settings.DrainTimeoutInMinutes != nil {
+ drainTimeoutInMinutes := *settings.DrainTimeoutInMinutes
+ result.DrainTimeoutInMinutes = &drainTimeoutInMinutes
+ }
+
+ // Set property "MaxSurge":
+ if settings.MaxSurge != nil {
+ maxSurge := *settings.MaxSurge
+ result.MaxSurge = &maxSurge
+ }
+
+ // Set property "NodeSoakDurationInMinutes":
+ if settings.NodeSoakDurationInMinutes != nil {
+ nodeSoakDurationInMinutes := *settings.NodeSoakDurationInMinutes
+ result.NodeSoakDurationInMinutes = &nodeSoakDurationInMinutes
+ }
+
+ // Set property "UndrainableNodeBehavior":
+ if settings.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := *settings.UndrainableNodeBehavior
+ result.UndrainableNodeBehavior = &undrainableNodeBehavior
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (settings *AgentPoolUpgradeSettings) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolUpgradeSettings_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (settings *AgentPoolUpgradeSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolUpgradeSettings_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolUpgradeSettings_ARM, got %T", armInput)
+ }
+
+ // Set property "DrainTimeoutInMinutes":
+ if typedInput.DrainTimeoutInMinutes != nil {
+ drainTimeoutInMinutes := *typedInput.DrainTimeoutInMinutes
+ settings.DrainTimeoutInMinutes = &drainTimeoutInMinutes
+ }
+
+ // Set property "MaxSurge":
+ if typedInput.MaxSurge != nil {
+ maxSurge := *typedInput.MaxSurge
+ settings.MaxSurge = &maxSurge
+ }
+
+ // Set property "NodeSoakDurationInMinutes":
+ if typedInput.NodeSoakDurationInMinutes != nil {
+ nodeSoakDurationInMinutes := *typedInput.NodeSoakDurationInMinutes
+ settings.NodeSoakDurationInMinutes = &nodeSoakDurationInMinutes
+ }
+
+ // Set property "UndrainableNodeBehavior":
+ if typedInput.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := *typedInput.UndrainableNodeBehavior
+ settings.UndrainableNodeBehavior = &undrainableNodeBehavior
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
+
+ // DrainTimeoutInMinutes
+ if source.DrainTimeoutInMinutes != nil {
+ drainTimeoutInMinute := *source.DrainTimeoutInMinutes
+ settings.DrainTimeoutInMinutes = &drainTimeoutInMinute
+ } else {
+ settings.DrainTimeoutInMinutes = nil
+ }
+
+ // MaxSurge
+ settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ if source.NodeSoakDurationInMinutes != nil {
+ nodeSoakDurationInMinute := *source.NodeSoakDurationInMinutes
+ settings.NodeSoakDurationInMinutes = &nodeSoakDurationInMinute
+ } else {
+ settings.NodeSoakDurationInMinutes = nil
+ }
+
+ // UndrainableNodeBehavior
+ if source.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := *source.UndrainableNodeBehavior
+ undrainableNodeBehaviorTemp := genruntime.ToEnum(undrainableNodeBehavior, agentPoolUpgradeSettings_UndrainableNodeBehavior_Values)
+ settings.UndrainableNodeBehavior = &undrainableNodeBehaviorTemp
+ } else {
+ settings.UndrainableNodeBehavior = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DrainTimeoutInMinutes
+ if settings.DrainTimeoutInMinutes != nil {
+ drainTimeoutInMinute := *settings.DrainTimeoutInMinutes
+ destination.DrainTimeoutInMinutes = &drainTimeoutInMinute
+ } else {
+ destination.DrainTimeoutInMinutes = nil
+ }
+
+ // MaxSurge
+ destination.MaxSurge = genruntime.ClonePointerToString(settings.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ if settings.NodeSoakDurationInMinutes != nil {
+ nodeSoakDurationInMinute := *settings.NodeSoakDurationInMinutes
+ destination.NodeSoakDurationInMinutes = &nodeSoakDurationInMinute
+ } else {
+ destination.NodeSoakDurationInMinutes = nil
+ }
+
+ // UndrainableNodeBehavior
+ if settings.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := string(*settings.UndrainableNodeBehavior)
+ destination.UndrainableNodeBehavior = &undrainableNodeBehavior
+ } else {
+ destination.UndrainableNodeBehavior = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Settings for upgrading an agentpool
+type AgentPoolUpgradeSettings_STATUS struct {
+ // DrainTimeoutInMinutes: The amount of time (in minutes) to wait on eviction of pods and graceful termination per node.
+ // This eviction wait time honors waiting on pod disruption budgets. If this time is exceeded, the upgrade fails. If not
+ // specified, the default is 30 minutes.
+ DrainTimeoutInMinutes *int `json:"drainTimeoutInMinutes,omitempty"`
+
+ // MaxSurge: This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it
+ // is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded
+ // up. If not specified, the default is 1. For more information, including best practices, see:
+ // https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade
+ MaxSurge *string `json:"maxSurge,omitempty"`
+
+ // NodeSoakDurationInMinutes: The amount of time (in minutes) to wait after draining a node and before reimaging it and
+ // moving on to next node. If not specified, the default is 0 minutes.
+ NodeSoakDurationInMinutes *int `json:"nodeSoakDurationInMinutes,omitempty"`
+
+ // UndrainableNodeBehavior: Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable
+ // nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the
+ // remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
+ UndrainableNodeBehavior *AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS `json:"undrainableNodeBehavior,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolUpgradeSettings_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (settings *AgentPoolUpgradeSettings_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolUpgradeSettings_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (settings *AgentPoolUpgradeSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolUpgradeSettings_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolUpgradeSettings_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "DrainTimeoutInMinutes":
+ if typedInput.DrainTimeoutInMinutes != nil {
+ drainTimeoutInMinutes := *typedInput.DrainTimeoutInMinutes
+ settings.DrainTimeoutInMinutes = &drainTimeoutInMinutes
+ }
+
+ // Set property "MaxSurge":
+ if typedInput.MaxSurge != nil {
+ maxSurge := *typedInput.MaxSurge
+ settings.MaxSurge = &maxSurge
+ }
+
+ // Set property "NodeSoakDurationInMinutes":
+ if typedInput.NodeSoakDurationInMinutes != nil {
+ nodeSoakDurationInMinutes := *typedInput.NodeSoakDurationInMinutes
+ settings.NodeSoakDurationInMinutes = &nodeSoakDurationInMinutes
+ }
+
+ // Set property "UndrainableNodeBehavior":
+ if typedInput.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := *typedInput.UndrainableNodeBehavior
+ settings.UndrainableNodeBehavior = &undrainableNodeBehavior
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
+
+ // DrainTimeoutInMinutes
+ settings.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(source.DrainTimeoutInMinutes)
+
+ // MaxSurge
+ settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ settings.NodeSoakDurationInMinutes = genruntime.ClonePointerToInt(source.NodeSoakDurationInMinutes)
+
+ // UndrainableNodeBehavior
+ if source.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := *source.UndrainableNodeBehavior
+ undrainableNodeBehaviorTemp := genruntime.ToEnum(undrainableNodeBehavior, agentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS_Values)
+ settings.UndrainableNodeBehavior = &undrainableNodeBehaviorTemp
+ } else {
+ settings.UndrainableNodeBehavior = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DrainTimeoutInMinutes
+ destination.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(settings.DrainTimeoutInMinutes)
+
+ // MaxSurge
+ destination.MaxSurge = genruntime.ClonePointerToString(settings.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ destination.NodeSoakDurationInMinutes = genruntime.ClonePointerToInt(settings.NodeSoakDurationInMinutes)
+
+ // UndrainableNodeBehavior
+ if settings.UndrainableNodeBehavior != nil {
+ undrainableNodeBehavior := string(*settings.UndrainableNodeBehavior)
+ destination.UndrainableNodeBehavior = &undrainableNodeBehavior
+ } else {
+ destination.UndrainableNodeBehavior = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The Windows agent pool's specific profile.
+type AgentPoolWindowsProfile struct {
+ // DisableOutboundNat: The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT
+ // Gateway and the Windows agent pool does not have node public IP enabled.
+ DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AgentPoolWindowsProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AgentPoolWindowsProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AgentPoolWindowsProfile_ARM{}
+
+ // Set property "DisableOutboundNat":
+ if profile.DisableOutboundNat != nil {
+ disableOutboundNat := *profile.DisableOutboundNat
+ result.DisableOutboundNat = &disableOutboundNat
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolWindowsProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolWindowsProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolWindowsProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolWindowsProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolWindowsProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "DisableOutboundNat":
+ if typedInput.DisableOutboundNat != nil {
+ disableOutboundNat := *typedInput.DisableOutboundNat
+ profile.DisableOutboundNat = &disableOutboundNat
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolWindowsProfile populates our AgentPoolWindowsProfile from the provided source AgentPoolWindowsProfile
+func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsProfile(source *storage.AgentPoolWindowsProfile) error {
+
+ // DisableOutboundNat
+ if source.DisableOutboundNat != nil {
+ disableOutboundNat := *source.DisableOutboundNat
+ profile.DisableOutboundNat = &disableOutboundNat
+ } else {
+ profile.DisableOutboundNat = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolWindowsProfile populates the provided destination AgentPoolWindowsProfile from our AgentPoolWindowsProfile
+func (profile *AgentPoolWindowsProfile) AssignProperties_To_AgentPoolWindowsProfile(destination *storage.AgentPoolWindowsProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DisableOutboundNat
+ if profile.DisableOutboundNat != nil {
+ disableOutboundNat := *profile.DisableOutboundNat
+ destination.DisableOutboundNat = &disableOutboundNat
+ } else {
+ destination.DisableOutboundNat = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The Windows agent pool's specific profile.
+type AgentPoolWindowsProfile_STATUS struct {
+ // DisableOutboundNat: The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT
+ // Gateway and the Windows agent pool does not have node public IP enabled.
+ DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AgentPoolWindowsProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AgentPoolWindowsProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AgentPoolWindowsProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AgentPoolWindowsProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AgentPoolWindowsProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AgentPoolWindowsProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "DisableOutboundNat":
+ if typedInput.DisableOutboundNat != nil {
+ disableOutboundNat := *typedInput.DisableOutboundNat
+ profile.DisableOutboundNat = &disableOutboundNat
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AgentPoolWindowsProfile_STATUS populates our AgentPoolWindowsProfile_STATUS from the provided source AgentPoolWindowsProfile_STATUS
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWindowsProfile_STATUS(source *storage.AgentPoolWindowsProfile_STATUS) error {
+
+ // DisableOutboundNat
+ if source.DisableOutboundNat != nil {
+ disableOutboundNat := *source.DisableOutboundNat
+ profile.DisableOutboundNat = &disableOutboundNat
+ } else {
+ profile.DisableOutboundNat = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolWindowsProfile_STATUS populates the provided destination AgentPoolWindowsProfile_STATUS from our AgentPoolWindowsProfile_STATUS
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_To_AgentPoolWindowsProfile_STATUS(destination *storage.AgentPoolWindowsProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // DisableOutboundNat
+ if profile.DisableOutboundNat != nil {
+ disableOutboundNat := *profile.DisableOutboundNat
+ destination.DisableOutboundNat = &disableOutboundNat
+ } else {
+ destination.DisableOutboundNat = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Maximum=2048
+// +kubebuilder:validation:Minimum=0
+type ContainerServiceOSDisk int
+
+// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+// +kubebuilder:validation:Enum={"MIG1g","MIG2g","MIG3g","MIG4g","MIG7g"}
+type GPUInstanceProfile string
+
+const (
+ GPUInstanceProfile_MIG1G = GPUInstanceProfile("MIG1g")
+ GPUInstanceProfile_MIG2G = GPUInstanceProfile("MIG2g")
+ GPUInstanceProfile_MIG3G = GPUInstanceProfile("MIG3g")
+ GPUInstanceProfile_MIG4G = GPUInstanceProfile("MIG4g")
+ GPUInstanceProfile_MIG7G = GPUInstanceProfile("MIG7g")
+)
+
+// Mapping from string to GPUInstanceProfile
+var gPUInstanceProfile_Values = map[string]GPUInstanceProfile{
+ "mig1g": GPUInstanceProfile_MIG1G,
+ "mig2g": GPUInstanceProfile_MIG2G,
+ "mig3g": GPUInstanceProfile_MIG3G,
+ "mig4g": GPUInstanceProfile_MIG4G,
+ "mig7g": GPUInstanceProfile_MIG7G,
+}
+
+// GPUInstanceProfile to be used to specify GPU MIG instance profile for supported GPU VM SKU.
+type GPUInstanceProfile_STATUS string
+
+const (
+ GPUInstanceProfile_STATUS_MIG1G = GPUInstanceProfile_STATUS("MIG1g")
+ GPUInstanceProfile_STATUS_MIG2G = GPUInstanceProfile_STATUS("MIG2g")
+ GPUInstanceProfile_STATUS_MIG3G = GPUInstanceProfile_STATUS("MIG3g")
+ GPUInstanceProfile_STATUS_MIG4G = GPUInstanceProfile_STATUS("MIG4g")
+ GPUInstanceProfile_STATUS_MIG7G = GPUInstanceProfile_STATUS("MIG7g")
+)
+
+// Mapping from string to GPUInstanceProfile_STATUS
+var gPUInstanceProfile_STATUS_Values = map[string]GPUInstanceProfile_STATUS{
+ "mig1g": GPUInstanceProfile_STATUS_MIG1G,
+ "mig2g": GPUInstanceProfile_STATUS_MIG2G,
+ "mig3g": GPUInstanceProfile_STATUS_MIG3G,
+ "mig4g": GPUInstanceProfile_STATUS_MIG4G,
+ "mig7g": GPUInstanceProfile_STATUS_MIG7G,
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type KubeletConfig struct {
+ // AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
+ AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls,omitempty"`
+
+ // +kubebuilder:validation:Minimum=2
+ // ContainerLogMaxFiles: The maximum number of container log files that can be present for a container. The number must be
+ // ≥ 2.
+ ContainerLogMaxFiles *int `json:"containerLogMaxFiles,omitempty"`
+
+ // ContainerLogMaxSizeMB: The maximum size (e.g. 10Mi) of container log file before it is rotated.
+ ContainerLogMaxSizeMB *int `json:"containerLogMaxSizeMB,omitempty"`
+
+ // CpuCfsQuota: The default is true.
+ CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"`
+
+ // CpuCfsQuotaPeriod: The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and
+ // a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
+ CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"`
+
+ // CpuManagerPolicy: The default is 'none'. See [Kubernetes CPU management
+ // policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more
+ // information. Allowed values are 'none' and 'static'.
+ CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"`
+
+ // FailSwapOn: If set to true it will make the Kubelet fail to start if swap is enabled on the node.
+ FailSwapOn *bool `json:"failSwapOn,omitempty"`
+
+ // ImageGcHighThreshold: To disable image garbage collection, set to 100. The default is 85%
+ ImageGcHighThreshold *int `json:"imageGcHighThreshold,omitempty"`
+
+ // ImageGcLowThreshold: This cannot be set higher than imageGcHighThreshold. The default is 80%
+ ImageGcLowThreshold *int `json:"imageGcLowThreshold,omitempty"`
+
+ // PodMaxPids: The maximum number of processes per pod.
+ PodMaxPids *int `json:"podMaxPids,omitempty"`
+
+ // TopologyManagerPolicy: For more information see [Kubernetes Topology
+ // Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values
+ // are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
+ TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &KubeletConfig{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (config *KubeletConfig) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if config == nil {
+ return nil, nil
+ }
+ result := &KubeletConfig_ARM{}
+
+ // Set property "AllowedUnsafeSysctls":
+ for _, item := range config.AllowedUnsafeSysctls {
+ result.AllowedUnsafeSysctls = append(result.AllowedUnsafeSysctls, item)
+ }
+
+ // Set property "ContainerLogMaxFiles":
+ if config.ContainerLogMaxFiles != nil {
+ containerLogMaxFiles := *config.ContainerLogMaxFiles
+ result.ContainerLogMaxFiles = &containerLogMaxFiles
+ }
+
+ // Set property "ContainerLogMaxSizeMB":
+ if config.ContainerLogMaxSizeMB != nil {
+ containerLogMaxSizeMB := *config.ContainerLogMaxSizeMB
+ result.ContainerLogMaxSizeMB = &containerLogMaxSizeMB
+ }
+
+ // Set property "CpuCfsQuota":
+ if config.CpuCfsQuota != nil {
+ cpuCfsQuota := *config.CpuCfsQuota
+ result.CpuCfsQuota = &cpuCfsQuota
+ }
+
+ // Set property "CpuCfsQuotaPeriod":
+ if config.CpuCfsQuotaPeriod != nil {
+ cpuCfsQuotaPeriod := *config.CpuCfsQuotaPeriod
+ result.CpuCfsQuotaPeriod = &cpuCfsQuotaPeriod
+ }
+
+ // Set property "CpuManagerPolicy":
+ if config.CpuManagerPolicy != nil {
+ cpuManagerPolicy := *config.CpuManagerPolicy
+ result.CpuManagerPolicy = &cpuManagerPolicy
+ }
+
+ // Set property "FailSwapOn":
+ if config.FailSwapOn != nil {
+ failSwapOn := *config.FailSwapOn
+ result.FailSwapOn = &failSwapOn
+ }
+
+ // Set property "ImageGcHighThreshold":
+ if config.ImageGcHighThreshold != nil {
+ imageGcHighThreshold := *config.ImageGcHighThreshold
+ result.ImageGcHighThreshold = &imageGcHighThreshold
+ }
+
+ // Set property "ImageGcLowThreshold":
+ if config.ImageGcLowThreshold != nil {
+ imageGcLowThreshold := *config.ImageGcLowThreshold
+ result.ImageGcLowThreshold = &imageGcLowThreshold
+ }
+
+ // Set property "PodMaxPids":
+ if config.PodMaxPids != nil {
+ podMaxPids := *config.PodMaxPids
+ result.PodMaxPids = &podMaxPids
+ }
+
+ // Set property "TopologyManagerPolicy":
+ if config.TopologyManagerPolicy != nil {
+ topologyManagerPolicy := *config.TopologyManagerPolicy
+ result.TopologyManagerPolicy = &topologyManagerPolicy
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *KubeletConfig) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &KubeletConfig_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *KubeletConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(KubeletConfig_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected KubeletConfig_ARM, got %T", armInput)
+ }
+
+ // Set property "AllowedUnsafeSysctls":
+ for _, item := range typedInput.AllowedUnsafeSysctls {
+ config.AllowedUnsafeSysctls = append(config.AllowedUnsafeSysctls, item)
+ }
+
+ // Set property "ContainerLogMaxFiles":
+ if typedInput.ContainerLogMaxFiles != nil {
+ containerLogMaxFiles := *typedInput.ContainerLogMaxFiles
+ config.ContainerLogMaxFiles = &containerLogMaxFiles
+ }
+
+ // Set property "ContainerLogMaxSizeMB":
+ if typedInput.ContainerLogMaxSizeMB != nil {
+ containerLogMaxSizeMB := *typedInput.ContainerLogMaxSizeMB
+ config.ContainerLogMaxSizeMB = &containerLogMaxSizeMB
+ }
+
+ // Set property "CpuCfsQuota":
+ if typedInput.CpuCfsQuota != nil {
+ cpuCfsQuota := *typedInput.CpuCfsQuota
+ config.CpuCfsQuota = &cpuCfsQuota
+ }
+
+ // Set property "CpuCfsQuotaPeriod":
+ if typedInput.CpuCfsQuotaPeriod != nil {
+ cpuCfsQuotaPeriod := *typedInput.CpuCfsQuotaPeriod
+ config.CpuCfsQuotaPeriod = &cpuCfsQuotaPeriod
+ }
+
+ // Set property "CpuManagerPolicy":
+ if typedInput.CpuManagerPolicy != nil {
+ cpuManagerPolicy := *typedInput.CpuManagerPolicy
+ config.CpuManagerPolicy = &cpuManagerPolicy
+ }
+
+ // Set property "FailSwapOn":
+ if typedInput.FailSwapOn != nil {
+ failSwapOn := *typedInput.FailSwapOn
+ config.FailSwapOn = &failSwapOn
+ }
+
+ // Set property "ImageGcHighThreshold":
+ if typedInput.ImageGcHighThreshold != nil {
+ imageGcHighThreshold := *typedInput.ImageGcHighThreshold
+ config.ImageGcHighThreshold = &imageGcHighThreshold
+ }
+
+ // Set property "ImageGcLowThreshold":
+ if typedInput.ImageGcLowThreshold != nil {
+ imageGcLowThreshold := *typedInput.ImageGcLowThreshold
+ config.ImageGcLowThreshold = &imageGcLowThreshold
+ }
+
+ // Set property "PodMaxPids":
+ if typedInput.PodMaxPids != nil {
+ podMaxPids := *typedInput.PodMaxPids
+ config.PodMaxPids = &podMaxPids
+ }
+
+ // Set property "TopologyManagerPolicy":
+ if typedInput.TopologyManagerPolicy != nil {
+ topologyManagerPolicy := *typedInput.TopologyManagerPolicy
+ config.TopologyManagerPolicy = &topologyManagerPolicy
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
+
+ // AllowedUnsafeSysctls
+ config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ if source.ContainerLogMaxFiles != nil {
+ containerLogMaxFile := *source.ContainerLogMaxFiles
+ config.ContainerLogMaxFiles = &containerLogMaxFile
+ } else {
+ config.ContainerLogMaxFiles = nil
+ }
+
+ // ContainerLogMaxSizeMB
+ config.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(source.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if source.CpuCfsQuota != nil {
+ cpuCfsQuota := *source.CpuCfsQuota
+ config.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ config.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ config.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(source.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ config.CpuManagerPolicy = genruntime.ClonePointerToString(source.CpuManagerPolicy)
+
+ // FailSwapOn
+ if source.FailSwapOn != nil {
+ failSwapOn := *source.FailSwapOn
+ config.FailSwapOn = &failSwapOn
+ } else {
+ config.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ config.ImageGcHighThreshold = genruntime.ClonePointerToInt(source.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ config.ImageGcLowThreshold = genruntime.ClonePointerToInt(source.ImageGcLowThreshold)
+
+ // PodMaxPids
+ config.PodMaxPids = genruntime.ClonePointerToInt(source.PodMaxPids)
+
+ // TopologyManagerPolicy
+ config.TopologyManagerPolicy = genruntime.ClonePointerToString(source.TopologyManagerPolicy)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllowedUnsafeSysctls
+ destination.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(config.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ if config.ContainerLogMaxFiles != nil {
+ containerLogMaxFile := *config.ContainerLogMaxFiles
+ destination.ContainerLogMaxFiles = &containerLogMaxFile
+ } else {
+ destination.ContainerLogMaxFiles = nil
+ }
+
+ // ContainerLogMaxSizeMB
+ destination.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(config.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if config.CpuCfsQuota != nil {
+ cpuCfsQuota := *config.CpuCfsQuota
+ destination.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ destination.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ destination.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(config.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ destination.CpuManagerPolicy = genruntime.ClonePointerToString(config.CpuManagerPolicy)
+
+ // FailSwapOn
+ if config.FailSwapOn != nil {
+ failSwapOn := *config.FailSwapOn
+ destination.FailSwapOn = &failSwapOn
+ } else {
+ destination.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ destination.ImageGcHighThreshold = genruntime.ClonePointerToInt(config.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ destination.ImageGcLowThreshold = genruntime.ClonePointerToInt(config.ImageGcLowThreshold)
+
+ // PodMaxPids
+ destination.PodMaxPids = genruntime.ClonePointerToInt(config.PodMaxPids)
+
+ // TopologyManagerPolicy
+ destination.TopologyManagerPolicy = genruntime.ClonePointerToString(config.TopologyManagerPolicy)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type KubeletConfig_STATUS struct {
+ // AllowedUnsafeSysctls: Allowed list of unsafe sysctls or unsafe sysctl patterns (ending in `*`).
+ AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls,omitempty"`
+
+ // ContainerLogMaxFiles: The maximum number of container log files that can be present for a container. The number must be
+ // ≥ 2.
+ ContainerLogMaxFiles *int `json:"containerLogMaxFiles,omitempty"`
+
+ // ContainerLogMaxSizeMB: The maximum size (e.g. 10Mi) of container log file before it is rotated.
+ ContainerLogMaxSizeMB *int `json:"containerLogMaxSizeMB,omitempty"`
+
+ // CpuCfsQuota: The default is true.
+ CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"`
+
+ // CpuCfsQuotaPeriod: The default is '100ms.' Valid values are a sequence of decimal numbers with an optional fraction and
+ // a unit suffix. For example: '300ms', '2h45m'. Supported units are 'ns', 'us', 'ms', 's', 'm', and 'h'.
+ CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"`
+
+ // CpuManagerPolicy: The default is 'none'. See [Kubernetes CPU management
+ // policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/#cpu-management-policies) for more
+ // information. Allowed values are 'none' and 'static'.
+ CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"`
+
+ // FailSwapOn: If set to true it will make the Kubelet fail to start if swap is enabled on the node.
+ FailSwapOn *bool `json:"failSwapOn,omitempty"`
+
+ // ImageGcHighThreshold: To disable image garbage collection, set to 100. The default is 85%
+ ImageGcHighThreshold *int `json:"imageGcHighThreshold,omitempty"`
+
+ // ImageGcLowThreshold: This cannot be set higher than imageGcHighThreshold. The default is 80%
+ ImageGcLowThreshold *int `json:"imageGcLowThreshold,omitempty"`
+
+ // PodMaxPids: The maximum number of processes per pod.
+ PodMaxPids *int `json:"podMaxPids,omitempty"`
+
+ // TopologyManagerPolicy: For more information see [Kubernetes Topology
+ // Manager](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager). The default is 'none'. Allowed values
+ // are 'none', 'best-effort', 'restricted', and 'single-numa-node'.
+ TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &KubeletConfig_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *KubeletConfig_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &KubeletConfig_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *KubeletConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(KubeletConfig_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected KubeletConfig_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "AllowedUnsafeSysctls":
+ for _, item := range typedInput.AllowedUnsafeSysctls {
+ config.AllowedUnsafeSysctls = append(config.AllowedUnsafeSysctls, item)
+ }
+
+ // Set property "ContainerLogMaxFiles":
+ if typedInput.ContainerLogMaxFiles != nil {
+ containerLogMaxFiles := *typedInput.ContainerLogMaxFiles
+ config.ContainerLogMaxFiles = &containerLogMaxFiles
+ }
+
+ // Set property "ContainerLogMaxSizeMB":
+ if typedInput.ContainerLogMaxSizeMB != nil {
+ containerLogMaxSizeMB := *typedInput.ContainerLogMaxSizeMB
+ config.ContainerLogMaxSizeMB = &containerLogMaxSizeMB
+ }
+
+ // Set property "CpuCfsQuota":
+ if typedInput.CpuCfsQuota != nil {
+ cpuCfsQuota := *typedInput.CpuCfsQuota
+ config.CpuCfsQuota = &cpuCfsQuota
+ }
+
+ // Set property "CpuCfsQuotaPeriod":
+ if typedInput.CpuCfsQuotaPeriod != nil {
+ cpuCfsQuotaPeriod := *typedInput.CpuCfsQuotaPeriod
+ config.CpuCfsQuotaPeriod = &cpuCfsQuotaPeriod
+ }
+
+ // Set property "CpuManagerPolicy":
+ if typedInput.CpuManagerPolicy != nil {
+ cpuManagerPolicy := *typedInput.CpuManagerPolicy
+ config.CpuManagerPolicy = &cpuManagerPolicy
+ }
+
+ // Set property "FailSwapOn":
+ if typedInput.FailSwapOn != nil {
+ failSwapOn := *typedInput.FailSwapOn
+ config.FailSwapOn = &failSwapOn
+ }
+
+ // Set property "ImageGcHighThreshold":
+ if typedInput.ImageGcHighThreshold != nil {
+ imageGcHighThreshold := *typedInput.ImageGcHighThreshold
+ config.ImageGcHighThreshold = &imageGcHighThreshold
+ }
+
+ // Set property "ImageGcLowThreshold":
+ if typedInput.ImageGcLowThreshold != nil {
+ imageGcLowThreshold := *typedInput.ImageGcLowThreshold
+ config.ImageGcLowThreshold = &imageGcLowThreshold
+ }
+
+ // Set property "PodMaxPids":
+ if typedInput.PodMaxPids != nil {
+ podMaxPids := *typedInput.PodMaxPids
+ config.PodMaxPids = &podMaxPids
+ }
+
+ // Set property "TopologyManagerPolicy":
+ if typedInput.TopologyManagerPolicy != nil {
+ topologyManagerPolicy := *typedInput.TopologyManagerPolicy
+ config.TopologyManagerPolicy = &topologyManagerPolicy
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
+
+ // AllowedUnsafeSysctls
+ config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ config.ContainerLogMaxFiles = genruntime.ClonePointerToInt(source.ContainerLogMaxFiles)
+
+ // ContainerLogMaxSizeMB
+ config.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(source.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if source.CpuCfsQuota != nil {
+ cpuCfsQuota := *source.CpuCfsQuota
+ config.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ config.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ config.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(source.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ config.CpuManagerPolicy = genruntime.ClonePointerToString(source.CpuManagerPolicy)
+
+ // FailSwapOn
+ if source.FailSwapOn != nil {
+ failSwapOn := *source.FailSwapOn
+ config.FailSwapOn = &failSwapOn
+ } else {
+ config.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ config.ImageGcHighThreshold = genruntime.ClonePointerToInt(source.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ config.ImageGcLowThreshold = genruntime.ClonePointerToInt(source.ImageGcLowThreshold)
+
+ // PodMaxPids
+ config.PodMaxPids = genruntime.ClonePointerToInt(source.PodMaxPids)
+
+ // TopologyManagerPolicy
+ config.TopologyManagerPolicy = genruntime.ClonePointerToString(source.TopologyManagerPolicy)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AllowedUnsafeSysctls
+ destination.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(config.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ destination.ContainerLogMaxFiles = genruntime.ClonePointerToInt(config.ContainerLogMaxFiles)
+
+ // ContainerLogMaxSizeMB
+ destination.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(config.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if config.CpuCfsQuota != nil {
+ cpuCfsQuota := *config.CpuCfsQuota
+ destination.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ destination.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ destination.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(config.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ destination.CpuManagerPolicy = genruntime.ClonePointerToString(config.CpuManagerPolicy)
+
+ // FailSwapOn
+ if config.FailSwapOn != nil {
+ failSwapOn := *config.FailSwapOn
+ destination.FailSwapOn = &failSwapOn
+ } else {
+ destination.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ destination.ImageGcHighThreshold = genruntime.ClonePointerToInt(config.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ destination.ImageGcLowThreshold = genruntime.ClonePointerToInt(config.ImageGcLowThreshold)
+
+ // PodMaxPids
+ destination.PodMaxPids = genruntime.ClonePointerToInt(config.PodMaxPids)
+
+ // TopologyManagerPolicy
+ destination.TopologyManagerPolicy = genruntime.ClonePointerToString(config.TopologyManagerPolicy)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
+// +kubebuilder:validation:Enum={"OS","Temporary"}
+type KubeletDiskType string
+
+const (
+ KubeletDiskType_OS = KubeletDiskType("OS")
+ KubeletDiskType_Temporary = KubeletDiskType("Temporary")
+)
+
+// Mapping from string to KubeletDiskType
+var kubeletDiskType_Values = map[string]KubeletDiskType{
+ "os": KubeletDiskType_OS,
+ "temporary": KubeletDiskType_Temporary,
+}
+
+// Determines the placement of emptyDir volumes, container runtime data root, and Kubelet ephemeral storage.
+type KubeletDiskType_STATUS string
+
+const (
+ KubeletDiskType_STATUS_OS = KubeletDiskType_STATUS("OS")
+ KubeletDiskType_STATUS_Temporary = KubeletDiskType_STATUS("Temporary")
+)
+
+// Mapping from string to KubeletDiskType_STATUS
+var kubeletDiskType_STATUS_Values = map[string]KubeletDiskType_STATUS{
+ "os": KubeletDiskType_STATUS_OS,
+ "temporary": KubeletDiskType_STATUS_Temporary,
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type LinuxOSConfig struct {
+ // SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
+ SwapFileSizeMB *int `json:"swapFileSizeMB,omitempty"`
+
+ // Sysctls: Sysctl settings for Linux agent nodes.
+ Sysctls *SysctlConfig `json:"sysctls,omitempty"`
+
+ // TransparentHugePageDefrag: Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is
+ // 'madvise'. For more information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"`
+
+ // TransparentHugePageEnabled: Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more
+ // information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &LinuxOSConfig{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (config *LinuxOSConfig) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if config == nil {
+ return nil, nil
+ }
+ result := &LinuxOSConfig_ARM{}
+
+ // Set property "SwapFileSizeMB":
+ if config.SwapFileSizeMB != nil {
+ swapFileSizeMB := *config.SwapFileSizeMB
+ result.SwapFileSizeMB = &swapFileSizeMB
+ }
+
+ // Set property "Sysctls":
+ if config.Sysctls != nil {
+ sysctls_ARM, err := (*config.Sysctls).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ sysctls := *sysctls_ARM.(*SysctlConfig_ARM)
+ result.Sysctls = &sysctls
+ }
+
+ // Set property "TransparentHugePageDefrag":
+ if config.TransparentHugePageDefrag != nil {
+ transparentHugePageDefrag := *config.TransparentHugePageDefrag
+ result.TransparentHugePageDefrag = &transparentHugePageDefrag
+ }
+
+ // Set property "TransparentHugePageEnabled":
+ if config.TransparentHugePageEnabled != nil {
+ transparentHugePageEnabled := *config.TransparentHugePageEnabled
+ result.TransparentHugePageEnabled = &transparentHugePageEnabled
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *LinuxOSConfig) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &LinuxOSConfig_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *LinuxOSConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(LinuxOSConfig_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected LinuxOSConfig_ARM, got %T", armInput)
+ }
+
+ // Set property "SwapFileSizeMB":
+ if typedInput.SwapFileSizeMB != nil {
+ swapFileSizeMB := *typedInput.SwapFileSizeMB
+ config.SwapFileSizeMB = &swapFileSizeMB
+ }
+
+ // Set property "Sysctls":
+ if typedInput.Sysctls != nil {
+ var sysctls1 SysctlConfig
+ err := sysctls1.PopulateFromARM(owner, *typedInput.Sysctls)
+ if err != nil {
+ return err
+ }
+ sysctls := sysctls1
+ config.Sysctls = &sysctls
+ }
+
+ // Set property "TransparentHugePageDefrag":
+ if typedInput.TransparentHugePageDefrag != nil {
+ transparentHugePageDefrag := *typedInput.TransparentHugePageDefrag
+ config.TransparentHugePageDefrag = &transparentHugePageDefrag
+ }
+
+ // Set property "TransparentHugePageEnabled":
+ if typedInput.TransparentHugePageEnabled != nil {
+ transparentHugePageEnabled := *typedInput.TransparentHugePageEnabled
+ config.TransparentHugePageEnabled = &transparentHugePageEnabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
+
+ // SwapFileSizeMB
+ config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
+
+ // Sysctls
+ if source.Sysctls != nil {
+ var sysctl SysctlConfig
+ err := sysctl.AssignProperties_From_SysctlConfig(source.Sysctls)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SysctlConfig() to populate field Sysctls")
+ }
+ config.Sysctls = &sysctl
+ } else {
+ config.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ config.TransparentHugePageDefrag = genruntime.ClonePointerToString(source.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ config.TransparentHugePageEnabled = genruntime.ClonePointerToString(source.TransparentHugePageEnabled)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // SwapFileSizeMB
+ destination.SwapFileSizeMB = genruntime.ClonePointerToInt(config.SwapFileSizeMB)
+
+ // Sysctls
+ if config.Sysctls != nil {
+ var sysctl storage.SysctlConfig
+ err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
+ }
+ destination.Sysctls = &sysctl
+ } else {
+ destination.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ destination.TransparentHugePageDefrag = genruntime.ClonePointerToString(config.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ destination.TransparentHugePageEnabled = genruntime.ClonePointerToString(config.TransparentHugePageEnabled)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type LinuxOSConfig_STATUS struct {
+ // SwapFileSizeMB: The size in MB of a swap file that will be created on each node.
+ SwapFileSizeMB *int `json:"swapFileSizeMB,omitempty"`
+
+ // Sysctls: Sysctl settings for Linux agent nodes.
+ Sysctls *SysctlConfig_STATUS `json:"sysctls,omitempty"`
+
+ // TransparentHugePageDefrag: Valid values are 'always', 'defer', 'defer+madvise', 'madvise' and 'never'. The default is
+ // 'madvise'. For more information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"`
+
+ // TransparentHugePageEnabled: Valid values are 'always', 'madvise', and 'never'. The default is 'always'. For more
+ // information see [Transparent
+ // Hugepages](https://www.kernel.org/doc/html/latest/admin-guide/mm/transhuge.html#admin-guide-transhuge).
+ TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &LinuxOSConfig_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *LinuxOSConfig_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &LinuxOSConfig_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *LinuxOSConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(LinuxOSConfig_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected LinuxOSConfig_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "SwapFileSizeMB":
+ if typedInput.SwapFileSizeMB != nil {
+ swapFileSizeMB := *typedInput.SwapFileSizeMB
+ config.SwapFileSizeMB = &swapFileSizeMB
+ }
+
+ // Set property "Sysctls":
+ if typedInput.Sysctls != nil {
+ var sysctls1 SysctlConfig_STATUS
+ err := sysctls1.PopulateFromARM(owner, *typedInput.Sysctls)
+ if err != nil {
+ return err
+ }
+ sysctls := sysctls1
+ config.Sysctls = &sysctls
+ }
+
+ // Set property "TransparentHugePageDefrag":
+ if typedInput.TransparentHugePageDefrag != nil {
+ transparentHugePageDefrag := *typedInput.TransparentHugePageDefrag
+ config.TransparentHugePageDefrag = &transparentHugePageDefrag
+ }
+
+ // Set property "TransparentHugePageEnabled":
+ if typedInput.TransparentHugePageEnabled != nil {
+ transparentHugePageEnabled := *typedInput.TransparentHugePageEnabled
+ config.TransparentHugePageEnabled = &transparentHugePageEnabled
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
+
+ // SwapFileSizeMB
+ config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
+
+ // Sysctls
+ if source.Sysctls != nil {
+ var sysctl SysctlConfig_STATUS
+ err := sysctl.AssignProperties_From_SysctlConfig_STATUS(source.Sysctls)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SysctlConfig_STATUS() to populate field Sysctls")
+ }
+ config.Sysctls = &sysctl
+ } else {
+ config.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ config.TransparentHugePageDefrag = genruntime.ClonePointerToString(source.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ config.TransparentHugePageEnabled = genruntime.ClonePointerToString(source.TransparentHugePageEnabled)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // SwapFileSizeMB
+ destination.SwapFileSizeMB = genruntime.ClonePointerToInt(config.SwapFileSizeMB)
+
+ // Sysctls
+ if config.Sysctls != nil {
+ var sysctl storage.SysctlConfig_STATUS
+ err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
+ }
+ destination.Sysctls = &sysctl
+ } else {
+ destination.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ destination.TransparentHugePageDefrag = genruntime.ClonePointerToString(config.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ destination.TransparentHugePageEnabled = genruntime.ClonePointerToString(config.TransparentHugePageEnabled)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
+// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+// +kubebuilder:validation:Enum={"Ephemeral","Managed"}
+type OSDiskType string
+
+const (
+ OSDiskType_Ephemeral = OSDiskType("Ephemeral")
+ OSDiskType_Managed = OSDiskType("Managed")
+)
+
+// Mapping from string to OSDiskType
+var oSDiskType_Values = map[string]OSDiskType{
+ "ephemeral": OSDiskType_Ephemeral,
+ "managed": OSDiskType_Managed,
+}
+
+// The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise,
+// defaults to 'Managed'. May not be changed after creation. For more information see [Ephemeral
+// OS](https://docs.microsoft.com/azure/aks/cluster-configuration#ephemeral-os).
+type OSDiskType_STATUS string
+
+const (
+ OSDiskType_STATUS_Ephemeral = OSDiskType_STATUS("Ephemeral")
+ OSDiskType_STATUS_Managed = OSDiskType_STATUS("Managed")
+)
+
+// Mapping from string to OSDiskType_STATUS
+var oSDiskType_STATUS_Values = map[string]OSDiskType_STATUS{
+ "ephemeral": OSDiskType_STATUS_Ephemeral,
+ "managed": OSDiskType_STATUS_Managed,
+}
+
+// Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if
+// OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
+// +kubebuilder:validation:Enum={"AzureLinux","CBLMariner","Mariner","Ubuntu","Windows2019","Windows2022","WindowsAnnual"}
+type OSSKU string
+
+const (
+ OSSKU_AzureLinux = OSSKU("AzureLinux")
+ OSSKU_CBLMariner = OSSKU("CBLMariner")
+ OSSKU_Mariner = OSSKU("Mariner")
+ OSSKU_Ubuntu = OSSKU("Ubuntu")
+ OSSKU_Windows2019 = OSSKU("Windows2019")
+ OSSKU_Windows2022 = OSSKU("Windows2022")
+ OSSKU_WindowsAnnual = OSSKU("WindowsAnnual")
+)
+
+// Mapping from string to OSSKU
+var oSSKU_Values = map[string]OSSKU{
+ "azurelinux": OSSKU_AzureLinux,
+ "cblmariner": OSSKU_CBLMariner,
+ "mariner": OSSKU_Mariner,
+ "ubuntu": OSSKU_Ubuntu,
+ "windows2019": OSSKU_Windows2019,
+ "windows2022": OSSKU_Windows2022,
+ "windowsannual": OSSKU_WindowsAnnual,
+}
+
+// Specifies the OS SKU used by the agent pool. If not specified, the default is Ubuntu if OSType=Linux or Windows2019 if
+// OSType=Windows. And the default Windows OSSKU will be changed to Windows2022 after Windows2019 is deprecated.
+type OSSKU_STATUS string
+
+const (
+ OSSKU_STATUS_AzureLinux = OSSKU_STATUS("AzureLinux")
+ OSSKU_STATUS_CBLMariner = OSSKU_STATUS("CBLMariner")
+ OSSKU_STATUS_Mariner = OSSKU_STATUS("Mariner")
+ OSSKU_STATUS_Ubuntu = OSSKU_STATUS("Ubuntu")
+ OSSKU_STATUS_Windows2019 = OSSKU_STATUS("Windows2019")
+ OSSKU_STATUS_Windows2022 = OSSKU_STATUS("Windows2022")
+ OSSKU_STATUS_WindowsAnnual = OSSKU_STATUS("WindowsAnnual")
+)
+
+// Mapping from string to OSSKU_STATUS
+var oSSKU_STATUS_Values = map[string]OSSKU_STATUS{
+ "azurelinux": OSSKU_STATUS_AzureLinux,
+ "cblmariner": OSSKU_STATUS_CBLMariner,
+ "mariner": OSSKU_STATUS_Mariner,
+ "ubuntu": OSSKU_STATUS_Ubuntu,
+ "windows2019": OSSKU_STATUS_Windows2019,
+ "windows2022": OSSKU_STATUS_Windows2022,
+ "windowsannual": OSSKU_STATUS_WindowsAnnual,
+}
+
+// The operating system type. The default is Linux.
+// +kubebuilder:validation:Enum={"Linux","Windows"}
+type OSType string
+
+const (
+ OSType_Linux = OSType("Linux")
+ OSType_Windows = OSType("Windows")
+)
+
+// Mapping from string to OSType
+var oSType_Values = map[string]OSType{
+ "linux": OSType_Linux,
+ "windows": OSType_Windows,
+}
+
+// The operating system type. The default is Linux.
+type OSType_STATUS string
+
+const (
+ OSType_STATUS_Linux = OSType_STATUS("Linux")
+ OSType_STATUS_Windows = OSType_STATUS("Windows")
+)
+
+// Mapping from string to OSType_STATUS
+var oSType_STATUS_Values = map[string]OSType_STATUS{
+ "linux": OSType_STATUS_Linux,
+ "windows": OSType_STATUS_Windows,
+}
+
+// The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
+// +kubebuilder:validation:Enum={"DynamicIndividual","StaticBlock"}
+type PodIPAllocationMode string
+
+const (
+ PodIPAllocationMode_DynamicIndividual = PodIPAllocationMode("DynamicIndividual")
+ PodIPAllocationMode_StaticBlock = PodIPAllocationMode("StaticBlock")
+)
+
+// Mapping from string to PodIPAllocationMode
+var podIPAllocationMode_Values = map[string]PodIPAllocationMode{
+ "dynamicindividual": PodIPAllocationMode_DynamicIndividual,
+ "staticblock": PodIPAllocationMode_StaticBlock,
+}
+
+// The IP allocation mode for pods in the agent pool. Must be used with podSubnetId. The default is 'DynamicIndividual'.
+type PodIPAllocationMode_STATUS string
+
+const (
+ PodIPAllocationMode_STATUS_DynamicIndividual = PodIPAllocationMode_STATUS("DynamicIndividual")
+ PodIPAllocationMode_STATUS_StaticBlock = PodIPAllocationMode_STATUS("StaticBlock")
+)
+
+// Mapping from string to PodIPAllocationMode_STATUS
+var podIPAllocationMode_STATUS_Values = map[string]PodIPAllocationMode_STATUS{
+ "dynamicindividual": PodIPAllocationMode_STATUS_DynamicIndividual,
+ "staticblock": PodIPAllocationMode_STATUS_StaticBlock,
+}
+
+// Describes the Power State of the cluster
+type PowerState struct {
+ // Code: Tells whether the cluster is Running or Stopped
+ Code *PowerState_Code `json:"code,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &PowerState{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (state *PowerState) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if state == nil {
+ return nil, nil
+ }
+ result := &PowerState_ARM{}
+
+ // Set property "Code":
+ if state.Code != nil {
+ code := *state.Code
+ result.Code = &code
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (state *PowerState) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &PowerState_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (state *PowerState) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(PowerState_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected PowerState_ARM, got %T", armInput)
+ }
+
+ // Set property "Code":
+ if typedInput.Code != nil {
+ code := *typedInput.Code
+ state.Code = &code
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
+
+ // Code
+ if source.Code != nil {
+ code := *source.Code
+ codeTemp := genruntime.ToEnum(code, powerState_Code_Values)
+ state.Code = &codeTemp
+ } else {
+ state.Code = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Code
+ if state.Code != nil {
+ code := string(*state.Code)
+ destination.Code = &code
+ } else {
+ destination.Code = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Describes how VMs are added to or removed from Agent Pools. See [billing
+// states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
+// +kubebuilder:validation:Enum={"Deallocate","Delete"}
+type ScaleDownMode string
+
+const (
+ ScaleDownMode_Deallocate = ScaleDownMode("Deallocate")
+ ScaleDownMode_Delete = ScaleDownMode("Delete")
+)
+
+// Mapping from string to ScaleDownMode
+var scaleDownMode_Values = map[string]ScaleDownMode{
+ "deallocate": ScaleDownMode_Deallocate,
+ "delete": ScaleDownMode_Delete,
+}
+
+// Describes how VMs are added to or removed from Agent Pools. See [billing
+// states](https://docs.microsoft.com/azure/virtual-machines/states-billing).
+type ScaleDownMode_STATUS string
+
+const (
+ ScaleDownMode_STATUS_Deallocate = ScaleDownMode_STATUS("Deallocate")
+ ScaleDownMode_STATUS_Delete = ScaleDownMode_STATUS("Delete")
+)
+
+// Mapping from string to ScaleDownMode_STATUS
+var scaleDownMode_STATUS_Values = map[string]ScaleDownMode_STATUS{
+ "deallocate": ScaleDownMode_STATUS_Deallocate,
+ "delete": ScaleDownMode_STATUS_Delete,
+}
+
+// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
+// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
+// +kubebuilder:validation:Enum={"Deallocate","Delete"}
+type ScaleSetEvictionPolicy string
+
+const (
+ ScaleSetEvictionPolicy_Deallocate = ScaleSetEvictionPolicy("Deallocate")
+ ScaleSetEvictionPolicy_Delete = ScaleSetEvictionPolicy("Delete")
+)
+
+// Mapping from string to ScaleSetEvictionPolicy
+var scaleSetEvictionPolicy_Values = map[string]ScaleSetEvictionPolicy{
+ "deallocate": ScaleSetEvictionPolicy_Deallocate,
+ "delete": ScaleSetEvictionPolicy_Delete,
+}
+
+// The eviction policy specifies what to do with the VM when it is evicted. The default is Delete. For more information
+// about eviction see [spot VMs](https://docs.microsoft.com/azure/virtual-machines/spot-vms)
+type ScaleSetEvictionPolicy_STATUS string
+
+const (
+ ScaleSetEvictionPolicy_STATUS_Deallocate = ScaleSetEvictionPolicy_STATUS("Deallocate")
+ ScaleSetEvictionPolicy_STATUS_Delete = ScaleSetEvictionPolicy_STATUS("Delete")
+)
+
+// Mapping from string to ScaleSetEvictionPolicy_STATUS
+var scaleSetEvictionPolicy_STATUS_Values = map[string]ScaleSetEvictionPolicy_STATUS{
+ "deallocate": ScaleSetEvictionPolicy_STATUS_Deallocate,
+ "delete": ScaleSetEvictionPolicy_STATUS_Delete,
+}
+
+// The Virtual Machine Scale Set priority.
+// +kubebuilder:validation:Enum={"Regular","Spot"}
+type ScaleSetPriority string
+
+const (
+ ScaleSetPriority_Regular = ScaleSetPriority("Regular")
+ ScaleSetPriority_Spot = ScaleSetPriority("Spot")
+)
+
+// Mapping from string to ScaleSetPriority
+var scaleSetPriority_Values = map[string]ScaleSetPriority{
+ "regular": ScaleSetPriority_Regular,
+ "spot": ScaleSetPriority_Spot,
+}
+
+// The Virtual Machine Scale Set priority.
+type ScaleSetPriority_STATUS string
+
+const (
+ ScaleSetPriority_STATUS_Regular = ScaleSetPriority_STATUS("Regular")
+ ScaleSetPriority_STATUS_Spot = ScaleSetPriority_STATUS("Spot")
+)
+
+// Mapping from string to ScaleSetPriority_STATUS
+var scaleSetPriority_STATUS_Values = map[string]ScaleSetPriority_STATUS{
+ "regular": ScaleSetPriority_STATUS_Regular,
+ "spot": ScaleSetPriority_STATUS_Spot,
+}
+
+// Current status on a group of nodes of the same vm size.
+type VirtualMachineNodes struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Size: The VM size of the agents used to host this group of nodes.
+ Size *string `json:"size,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &VirtualMachineNodes{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (nodes *VirtualMachineNodes) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if nodes == nil {
+ return nil, nil
+ }
+ result := &VirtualMachineNodes_ARM{}
+
+ // Set property "Count":
+ if nodes.Count != nil {
+ count := *nodes.Count
+ result.Count = &count
+ }
+
+ // Set property "Size":
+ if nodes.Size != nil {
+ size := *nodes.Size
+ result.Size = &size
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (nodes *VirtualMachineNodes) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &VirtualMachineNodes_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (nodes *VirtualMachineNodes) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(VirtualMachineNodes_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected VirtualMachineNodes_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ nodes.Count = &count
+ }
+
+ // Set property "Size":
+ if typedInput.Size != nil {
+ size := *typedInput.Size
+ nodes.Size = &size
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_VirtualMachineNodes populates our VirtualMachineNodes from the provided source VirtualMachineNodes
+func (nodes *VirtualMachineNodes) AssignProperties_From_VirtualMachineNodes(source *storage.VirtualMachineNodes) error {
+
+ // Count
+ nodes.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Size
+ nodes.Size = genruntime.ClonePointerToString(source.Size)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachineNodes populates the provided destination VirtualMachineNodes from our VirtualMachineNodes
+func (nodes *VirtualMachineNodes) AssignProperties_To_VirtualMachineNodes(destination *storage.VirtualMachineNodes) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(nodes.Count)
+
+ // Size
+ destination.Size = genruntime.ClonePointerToString(nodes.Size)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Current status on a group of nodes of the same vm size.
+type VirtualMachineNodes_STATUS struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Size: The VM size of the agents used to host this group of nodes.
+ Size *string `json:"size,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &VirtualMachineNodes_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (nodes *VirtualMachineNodes_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &VirtualMachineNodes_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (nodes *VirtualMachineNodes_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(VirtualMachineNodes_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected VirtualMachineNodes_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ nodes.Count = &count
+ }
+
+ // Set property "Size":
+ if typedInput.Size != nil {
+ size := *typedInput.Size
+ nodes.Size = &size
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_VirtualMachineNodes_STATUS populates our VirtualMachineNodes_STATUS from the provided source VirtualMachineNodes_STATUS
+func (nodes *VirtualMachineNodes_STATUS) AssignProperties_From_VirtualMachineNodes_STATUS(source *storage.VirtualMachineNodes_STATUS) error {
+
+ // Count
+ nodes.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Size
+ nodes.Size = genruntime.ClonePointerToString(source.Size)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachineNodes_STATUS populates the provided destination VirtualMachineNodes_STATUS from our VirtualMachineNodes_STATUS
+func (nodes *VirtualMachineNodes_STATUS) AssignProperties_To_VirtualMachineNodes_STATUS(destination *storage.VirtualMachineNodes_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(nodes.Count)
+
+ // Size
+ destination.Size = genruntime.ClonePointerToString(nodes.Size)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on VirtualMachines agent pool.
+type VirtualMachinesProfile struct {
+ // Scale: Specifications on how to scale a VirtualMachines agent pool.
+ Scale *ScaleProfile `json:"scale,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &VirtualMachinesProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *VirtualMachinesProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &VirtualMachinesProfile_ARM{}
+
+ // Set property "Scale":
+ if profile.Scale != nil {
+ scale_ARM, err := (*profile.Scale).ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ scale := *scale_ARM.(*ScaleProfile_ARM)
+ result.Scale = &scale
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *VirtualMachinesProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &VirtualMachinesProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *VirtualMachinesProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(VirtualMachinesProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected VirtualMachinesProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Scale":
+ if typedInput.Scale != nil {
+ var scale1 ScaleProfile
+ err := scale1.PopulateFromARM(owner, *typedInput.Scale)
+ if err != nil {
+ return err
+ }
+ scale := scale1
+ profile.Scale = &scale
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_VirtualMachinesProfile populates our VirtualMachinesProfile from the provided source VirtualMachinesProfile
+func (profile *VirtualMachinesProfile) AssignProperties_From_VirtualMachinesProfile(source *storage.VirtualMachinesProfile) error {
+
+ // Scale
+ if source.Scale != nil {
+ var scale ScaleProfile
+ err := scale.AssignProperties_From_ScaleProfile(source.Scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ScaleProfile() to populate field Scale")
+ }
+ profile.Scale = &scale
+ } else {
+ profile.Scale = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachinesProfile populates the provided destination VirtualMachinesProfile from our VirtualMachinesProfile
+func (profile *VirtualMachinesProfile) AssignProperties_To_VirtualMachinesProfile(destination *storage.VirtualMachinesProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Scale
+ if profile.Scale != nil {
+ var scale storage.ScaleProfile
+ err := profile.Scale.AssignProperties_To_ScaleProfile(&scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ScaleProfile() to populate field Scale")
+ }
+ destination.Scale = &scale
+ } else {
+ destination.Scale = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on VirtualMachines agent pool.
+type VirtualMachinesProfile_STATUS struct {
+ // Scale: Specifications on how to scale a VirtualMachines agent pool.
+ Scale *ScaleProfile_STATUS `json:"scale,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &VirtualMachinesProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *VirtualMachinesProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &VirtualMachinesProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *VirtualMachinesProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(VirtualMachinesProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected VirtualMachinesProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Scale":
+ if typedInput.Scale != nil {
+ var scale1 ScaleProfile_STATUS
+ err := scale1.PopulateFromARM(owner, *typedInput.Scale)
+ if err != nil {
+ return err
+ }
+ scale := scale1
+ profile.Scale = &scale
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_VirtualMachinesProfile_STATUS populates our VirtualMachinesProfile_STATUS from the provided source VirtualMachinesProfile_STATUS
+func (profile *VirtualMachinesProfile_STATUS) AssignProperties_From_VirtualMachinesProfile_STATUS(source *storage.VirtualMachinesProfile_STATUS) error {
+
+ // Scale
+ if source.Scale != nil {
+ var scale ScaleProfile_STATUS
+ err := scale.AssignProperties_From_ScaleProfile_STATUS(source.Scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ScaleProfile_STATUS() to populate field Scale")
+ }
+ profile.Scale = &scale
+ } else {
+ profile.Scale = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachinesProfile_STATUS populates the provided destination VirtualMachinesProfile_STATUS from our VirtualMachinesProfile_STATUS
+func (profile *VirtualMachinesProfile_STATUS) AssignProperties_To_VirtualMachinesProfile_STATUS(destination *storage.VirtualMachinesProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Scale
+ if profile.Scale != nil {
+ var scale storage.ScaleProfile_STATUS
+ err := profile.Scale.AssignProperties_To_ScaleProfile_STATUS(&scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ScaleProfile_STATUS() to populate field Scale")
+ }
+ destination.Scale = &scale
+ } else {
+ destination.Scale = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Determines the type of workload a node can run.
+// +kubebuilder:validation:Enum={"KataMshvVmIsolation","OCIContainer","WasmWasi"}
+type WorkloadRuntime string
+
+const (
+ WorkloadRuntime_KataMshvVmIsolation = WorkloadRuntime("KataMshvVmIsolation")
+ WorkloadRuntime_OCIContainer = WorkloadRuntime("OCIContainer")
+ WorkloadRuntime_WasmWasi = WorkloadRuntime("WasmWasi")
+)
+
+// Mapping from string to WorkloadRuntime
+var workloadRuntime_Values = map[string]WorkloadRuntime{
+ "katamshvvmisolation": WorkloadRuntime_KataMshvVmIsolation,
+ "ocicontainer": WorkloadRuntime_OCIContainer,
+ "wasmwasi": WorkloadRuntime_WasmWasi,
+}
+
+// Determines the type of workload a node can run.
+type WorkloadRuntime_STATUS string
+
+const (
+ WorkloadRuntime_STATUS_KataMshvVmIsolation = WorkloadRuntime_STATUS("KataMshvVmIsolation")
+ WorkloadRuntime_STATUS_OCIContainer = WorkloadRuntime_STATUS("OCIContainer")
+ WorkloadRuntime_STATUS_WasmWasi = WorkloadRuntime_STATUS("WasmWasi")
+)
+
+// Mapping from string to WorkloadRuntime_STATUS
+var workloadRuntime_STATUS_Values = map[string]WorkloadRuntime_STATUS{
+ "katamshvvmisolation": WorkloadRuntime_STATUS_KataMshvVmIsolation,
+ "ocicontainer": WorkloadRuntime_STATUS_OCIContainer,
+ "wasmwasi": WorkloadRuntime_STATUS_WasmWasi,
+}
+
+// SSH access method of an agent pool.
+// +kubebuilder:validation:Enum={"Disabled","LocalUser"}
+type AgentPoolSSHAccess string
+
+const (
+ AgentPoolSSHAccess_Disabled = AgentPoolSSHAccess("Disabled")
+ AgentPoolSSHAccess_LocalUser = AgentPoolSSHAccess("LocalUser")
+)
+
+// Mapping from string to AgentPoolSSHAccess
+var agentPoolSSHAccess_Values = map[string]AgentPoolSSHAccess{
+ "disabled": AgentPoolSSHAccess_Disabled,
+ "localuser": AgentPoolSSHAccess_LocalUser,
+}
+
+// SSH access method of an agent pool.
+type AgentPoolSSHAccess_STATUS string
+
+const (
+ AgentPoolSSHAccess_STATUS_Disabled = AgentPoolSSHAccess_STATUS("Disabled")
+ AgentPoolSSHAccess_STATUS_LocalUser = AgentPoolSSHAccess_STATUS("LocalUser")
+)
+
+// Mapping from string to AgentPoolSSHAccess_STATUS
+var agentPoolSSHAccess_STATUS_Values = map[string]AgentPoolSSHAccess_STATUS{
+ "disabled": AgentPoolSSHAccess_STATUS_Disabled,
+ "localuser": AgentPoolSSHAccess_STATUS_LocalUser,
+}
+
+// +kubebuilder:validation:Enum={"Cordon","Schedule"}
+type AgentPoolUpgradeSettings_UndrainableNodeBehavior string
+
+const (
+ AgentPoolUpgradeSettings_UndrainableNodeBehavior_Cordon = AgentPoolUpgradeSettings_UndrainableNodeBehavior("Cordon")
+ AgentPoolUpgradeSettings_UndrainableNodeBehavior_Schedule = AgentPoolUpgradeSettings_UndrainableNodeBehavior("Schedule")
+)
+
+// Mapping from string to AgentPoolUpgradeSettings_UndrainableNodeBehavior
+var agentPoolUpgradeSettings_UndrainableNodeBehavior_Values = map[string]AgentPoolUpgradeSettings_UndrainableNodeBehavior{
+ "cordon": AgentPoolUpgradeSettings_UndrainableNodeBehavior_Cordon,
+ "schedule": AgentPoolUpgradeSettings_UndrainableNodeBehavior_Schedule,
+}
+
+type AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS string
+
+const (
+ AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS_Cordon = AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS("Cordon")
+ AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS_Schedule = AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS("Schedule")
+)
+
+// Mapping from string to AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS
+var agentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS_Values = map[string]AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS{
+ "cordon": AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS_Cordon,
+ "schedule": AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS_Schedule,
+}
+
+// Contains the IPTag associated with the object.
+type IPTag struct {
+ // IpTagType: The IP tag type. Example: RoutingPreference.
+ IpTagType *string `json:"ipTagType,omitempty"`
+
+ // Tag: The value of the IP tag associated with the public IP. Example: Internet.
+ Tag *string `json:"tag,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &IPTag{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (ipTag *IPTag) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if ipTag == nil {
+ return nil, nil
+ }
+ result := &IPTag_ARM{}
+
+ // Set property "IpTagType":
+ if ipTag.IpTagType != nil {
+ ipTagType := *ipTag.IpTagType
+ result.IpTagType = &ipTagType
+ }
+
+ // Set property "Tag":
+ if ipTag.Tag != nil {
+ tag := *ipTag.Tag
+ result.Tag = &tag
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (ipTag *IPTag) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IPTag_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (ipTag *IPTag) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IPTag_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IPTag_ARM, got %T", armInput)
+ }
+
+ // Set property "IpTagType":
+ if typedInput.IpTagType != nil {
+ ipTagType := *typedInput.IpTagType
+ ipTag.IpTagType = &ipTagType
+ }
+
+ // Set property "Tag":
+ if typedInput.Tag != nil {
+ tag := *typedInput.Tag
+ ipTag.Tag = &tag
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IPTag populates our IPTag from the provided source IPTag
+func (ipTag *IPTag) AssignProperties_From_IPTag(source *storage.IPTag) error {
+
+ // IpTagType
+ ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
+
+ // Tag
+ ipTag.Tag = genruntime.ClonePointerToString(source.Tag)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IPTag populates the provided destination IPTag from our IPTag
+func (ipTag *IPTag) AssignProperties_To_IPTag(destination *storage.IPTag) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // IpTagType
+ destination.IpTagType = genruntime.ClonePointerToString(ipTag.IpTagType)
+
+ // Tag
+ destination.Tag = genruntime.ClonePointerToString(ipTag.Tag)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Contains the IPTag associated with the object.
+type IPTag_STATUS struct {
+ // IpTagType: The IP tag type. Example: RoutingPreference.
+ IpTagType *string `json:"ipTagType,omitempty"`
+
+ // Tag: The value of the IP tag associated with the public IP. Example: Internet.
+ Tag *string `json:"tag,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &IPTag_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (ipTag *IPTag_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &IPTag_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (ipTag *IPTag_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(IPTag_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected IPTag_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "IpTagType":
+ if typedInput.IpTagType != nil {
+ ipTagType := *typedInput.IpTagType
+ ipTag.IpTagType = &ipTagType
+ }
+
+ // Set property "Tag":
+ if typedInput.Tag != nil {
+ tag := *typedInput.Tag
+ ipTag.Tag = &tag
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_IPTag_STATUS populates our IPTag_STATUS from the provided source IPTag_STATUS
+func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *storage.IPTag_STATUS) error {
+
+ // IpTagType
+ ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
+
+ // Tag
+ ipTag.Tag = genruntime.ClonePointerToString(source.Tag)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IPTag_STATUS populates the provided destination IPTag_STATUS from our IPTag_STATUS
+func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *storage.IPTag_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // IpTagType
+ destination.IpTagType = genruntime.ClonePointerToString(ipTag.IpTagType)
+
+ // Tag
+ destination.Tag = genruntime.ClonePointerToString(ipTag.Tag)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The port range.
+type PortRange struct {
+ // +kubebuilder:validation:Maximum=65535
+ // +kubebuilder:validation:Minimum=1
+ // PortEnd: The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or
+ // equal to portStart.
+ PortEnd *int `json:"portEnd,omitempty"`
+
+ // +kubebuilder:validation:Maximum=65535
+ // +kubebuilder:validation:Minimum=1
+ // PortStart: The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or
+ // equal to portEnd.
+ PortStart *int `json:"portStart,omitempty"`
+
+ // Protocol: The network protocol of the port.
+ Protocol *PortRange_Protocol `json:"protocol,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &PortRange{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (portRange *PortRange) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if portRange == nil {
+ return nil, nil
+ }
+ result := &PortRange_ARM{}
+
+ // Set property "PortEnd":
+ if portRange.PortEnd != nil {
+ portEnd := *portRange.PortEnd
+ result.PortEnd = &portEnd
+ }
+
+ // Set property "PortStart":
+ if portRange.PortStart != nil {
+ portStart := *portRange.PortStart
+ result.PortStart = &portStart
+ }
+
+ // Set property "Protocol":
+ if portRange.Protocol != nil {
+ protocol := *portRange.Protocol
+ result.Protocol = &protocol
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (portRange *PortRange) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &PortRange_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (portRange *PortRange) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(PortRange_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected PortRange_ARM, got %T", armInput)
+ }
+
+ // Set property "PortEnd":
+ if typedInput.PortEnd != nil {
+ portEnd := *typedInput.PortEnd
+ portRange.PortEnd = &portEnd
+ }
+
+ // Set property "PortStart":
+ if typedInput.PortStart != nil {
+ portStart := *typedInput.PortStart
+ portRange.PortStart = &portStart
+ }
+
+ // Set property "Protocol":
+ if typedInput.Protocol != nil {
+ protocol := *typedInput.Protocol
+ portRange.Protocol = &protocol
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_PortRange populates our PortRange from the provided source PortRange
+func (portRange *PortRange) AssignProperties_From_PortRange(source *storage.PortRange) error {
+
+ // PortEnd
+ if source.PortEnd != nil {
+ portEnd := *source.PortEnd
+ portRange.PortEnd = &portEnd
+ } else {
+ portRange.PortEnd = nil
+ }
+
+ // PortStart
+ if source.PortStart != nil {
+ portStart := *source.PortStart
+ portRange.PortStart = &portStart
+ } else {
+ portRange.PortStart = nil
+ }
+
+ // Protocol
+ if source.Protocol != nil {
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_Values)
+ portRange.Protocol = &protocolTemp
+ } else {
+ portRange.Protocol = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PortRange populates the provided destination PortRange from our PortRange
+func (portRange *PortRange) AssignProperties_To_PortRange(destination *storage.PortRange) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PortEnd
+ if portRange.PortEnd != nil {
+ portEnd := *portRange.PortEnd
+ destination.PortEnd = &portEnd
+ } else {
+ destination.PortEnd = nil
+ }
+
+ // PortStart
+ if portRange.PortStart != nil {
+ portStart := *portRange.PortStart
+ destination.PortStart = &portStart
+ } else {
+ destination.PortStart = nil
+ }
+
+ // Protocol
+ if portRange.Protocol != nil {
+ protocol := string(*portRange.Protocol)
+ destination.Protocol = &protocol
+ } else {
+ destination.Protocol = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// The port range.
+type PortRange_STATUS struct {
+ // PortEnd: The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or
+ // equal to portStart.
+ PortEnd *int `json:"portEnd,omitempty"`
+
+ // PortStart: The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or
+ // equal to portEnd.
+ PortStart *int `json:"portStart,omitempty"`
+
+ // Protocol: The network protocol of the port.
+ Protocol *PortRange_Protocol_STATUS `json:"protocol,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &PortRange_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (portRange *PortRange_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &PortRange_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (portRange *PortRange_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(PortRange_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected PortRange_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "PortEnd":
+ if typedInput.PortEnd != nil {
+ portEnd := *typedInput.PortEnd
+ portRange.PortEnd = &portEnd
+ }
+
+ // Set property "PortStart":
+ if typedInput.PortStart != nil {
+ portStart := *typedInput.PortStart
+ portRange.PortStart = &portStart
+ }
+
+ // Set property "Protocol":
+ if typedInput.Protocol != nil {
+ protocol := *typedInput.Protocol
+ portRange.Protocol = &protocol
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_PortRange_STATUS populates our PortRange_STATUS from the provided source PortRange_STATUS
+func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *storage.PortRange_STATUS) error {
+
+ // PortEnd
+ portRange.PortEnd = genruntime.ClonePointerToInt(source.PortEnd)
+
+ // PortStart
+ portRange.PortStart = genruntime.ClonePointerToInt(source.PortStart)
+
+ // Protocol
+ if source.Protocol != nil {
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, portRange_Protocol_STATUS_Values)
+ portRange.Protocol = &protocolTemp
+ } else {
+ portRange.Protocol = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PortRange_STATUS populates the provided destination PortRange_STATUS from our PortRange_STATUS
+func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *storage.PortRange_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PortEnd
+ destination.PortEnd = genruntime.ClonePointerToInt(portRange.PortEnd)
+
+ // PortStart
+ destination.PortStart = genruntime.ClonePointerToInt(portRange.PortStart)
+
+ // Protocol
+ if portRange.Protocol != nil {
+ protocol := string(*portRange.Protocol)
+ destination.Protocol = &protocol
+ } else {
+ destination.Protocol = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"Running","Stopped"}
+type PowerState_Code string
+
+const (
+ PowerState_Code_Running = PowerState_Code("Running")
+ PowerState_Code_Stopped = PowerState_Code("Stopped")
+)
+
+// Mapping from string to PowerState_Code
+var powerState_Code_Values = map[string]PowerState_Code{
+ "running": PowerState_Code_Running,
+ "stopped": PowerState_Code_Stopped,
+}
+
+// Specifications on how to scale a VirtualMachines agent pool.
+type ScaleProfile struct {
+ // Autoscale: Specifications on how to auto-scale the VirtualMachines agent pool within a predefined size range. Currently,
+ // at most one AutoScaleProfile is allowed.
+ Autoscale []AutoScaleProfile `json:"autoscale,omitempty"`
+
+ // Manual: Specifications on how to scale the VirtualMachines agent pool to a fixed size. Currently, at most one
+ // ManualScaleProfile is allowed.
+ Manual []ManualScaleProfile `json:"manual,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ScaleProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ScaleProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ScaleProfile_ARM{}
+
+ // Set property "Autoscale":
+ for _, item := range profile.Autoscale {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Autoscale = append(result.Autoscale, *item_ARM.(*AutoScaleProfile_ARM))
+ }
+
+ // Set property "Manual":
+ for _, item := range profile.Manual {
+ item_ARM, err := item.ConvertToARM(resolved)
+ if err != nil {
+ return nil, err
+ }
+ result.Manual = append(result.Manual, *item_ARM.(*ManualScaleProfile_ARM))
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ScaleProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ScaleProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ScaleProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ScaleProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ScaleProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Autoscale":
+ for _, item := range typedInput.Autoscale {
+ var item1 AutoScaleProfile
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.Autoscale = append(profile.Autoscale, item1)
+ }
+
+ // Set property "Manual":
+ for _, item := range typedInput.Manual {
+ var item1 ManualScaleProfile
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.Manual = append(profile.Manual, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ScaleProfile populates our ScaleProfile from the provided source ScaleProfile
+func (profile *ScaleProfile) AssignProperties_From_ScaleProfile(source *storage.ScaleProfile) error {
+
+ // Autoscale
+ if source.Autoscale != nil {
+ autoscaleList := make([]AutoScaleProfile, len(source.Autoscale))
+ for autoscaleIndex, autoscaleItem := range source.Autoscale {
+ // Shadow the loop variable to avoid aliasing
+ autoscaleItem := autoscaleItem
+ var autoscale AutoScaleProfile
+ err := autoscale.AssignProperties_From_AutoScaleProfile(&autoscaleItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AutoScaleProfile() to populate field Autoscale")
+ }
+ autoscaleList[autoscaleIndex] = autoscale
+ }
+ profile.Autoscale = autoscaleList
+ } else {
+ profile.Autoscale = nil
+ }
+
+ // Manual
+ if source.Manual != nil {
+ manualList := make([]ManualScaleProfile, len(source.Manual))
+ for manualIndex, manualItem := range source.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual ManualScaleProfile
+ err := manual.AssignProperties_From_ManualScaleProfile(&manualItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManualScaleProfile() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ profile.Manual = manualList
+ } else {
+ profile.Manual = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ScaleProfile populates the provided destination ScaleProfile from our ScaleProfile
+func (profile *ScaleProfile) AssignProperties_To_ScaleProfile(destination *storage.ScaleProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Autoscale
+ if profile.Autoscale != nil {
+ autoscaleList := make([]storage.AutoScaleProfile, len(profile.Autoscale))
+ for autoscaleIndex, autoscaleItem := range profile.Autoscale {
+ // Shadow the loop variable to avoid aliasing
+ autoscaleItem := autoscaleItem
+ var autoscale storage.AutoScaleProfile
+ err := autoscaleItem.AssignProperties_To_AutoScaleProfile(&autoscale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AutoScaleProfile() to populate field Autoscale")
+ }
+ autoscaleList[autoscaleIndex] = autoscale
+ }
+ destination.Autoscale = autoscaleList
+ } else {
+ destination.Autoscale = nil
+ }
+
+ // Manual
+ if profile.Manual != nil {
+ manualList := make([]storage.ManualScaleProfile, len(profile.Manual))
+ for manualIndex, manualItem := range profile.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual storage.ManualScaleProfile
+ err := manualItem.AssignProperties_To_ManualScaleProfile(&manual)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManualScaleProfile() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ destination.Manual = manualList
+ } else {
+ destination.Manual = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on how to scale a VirtualMachines agent pool.
+type ScaleProfile_STATUS struct {
+ // Autoscale: Specifications on how to auto-scale the VirtualMachines agent pool within a predefined size range. Currently,
+ // at most one AutoScaleProfile is allowed.
+ Autoscale []AutoScaleProfile_STATUS `json:"autoscale,omitempty"`
+
+ // Manual: Specifications on how to scale the VirtualMachines agent pool to a fixed size. Currently, at most one
+ // ManualScaleProfile is allowed.
+ Manual []ManualScaleProfile_STATUS `json:"manual,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ScaleProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ScaleProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ScaleProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ScaleProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ScaleProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ScaleProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Autoscale":
+ for _, item := range typedInput.Autoscale {
+ var item1 AutoScaleProfile_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.Autoscale = append(profile.Autoscale, item1)
+ }
+
+ // Set property "Manual":
+ for _, item := range typedInput.Manual {
+ var item1 ManualScaleProfile_STATUS
+ err := item1.PopulateFromARM(owner, item)
+ if err != nil {
+ return err
+ }
+ profile.Manual = append(profile.Manual, item1)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ScaleProfile_STATUS populates our ScaleProfile_STATUS from the provided source ScaleProfile_STATUS
+func (profile *ScaleProfile_STATUS) AssignProperties_From_ScaleProfile_STATUS(source *storage.ScaleProfile_STATUS) error {
+
+ // Autoscale
+ if source.Autoscale != nil {
+ autoscaleList := make([]AutoScaleProfile_STATUS, len(source.Autoscale))
+ for autoscaleIndex, autoscaleItem := range source.Autoscale {
+ // Shadow the loop variable to avoid aliasing
+ autoscaleItem := autoscaleItem
+ var autoscale AutoScaleProfile_STATUS
+ err := autoscale.AssignProperties_From_AutoScaleProfile_STATUS(&autoscaleItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AutoScaleProfile_STATUS() to populate field Autoscale")
+ }
+ autoscaleList[autoscaleIndex] = autoscale
+ }
+ profile.Autoscale = autoscaleList
+ } else {
+ profile.Autoscale = nil
+ }
+
+ // Manual
+ if source.Manual != nil {
+ manualList := make([]ManualScaleProfile_STATUS, len(source.Manual))
+ for manualIndex, manualItem := range source.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual ManualScaleProfile_STATUS
+ err := manual.AssignProperties_From_ManualScaleProfile_STATUS(&manualItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManualScaleProfile_STATUS() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ profile.Manual = manualList
+ } else {
+ profile.Manual = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ScaleProfile_STATUS populates the provided destination ScaleProfile_STATUS from our ScaleProfile_STATUS
+func (profile *ScaleProfile_STATUS) AssignProperties_To_ScaleProfile_STATUS(destination *storage.ScaleProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Autoscale
+ if profile.Autoscale != nil {
+ autoscaleList := make([]storage.AutoScaleProfile_STATUS, len(profile.Autoscale))
+ for autoscaleIndex, autoscaleItem := range profile.Autoscale {
+ // Shadow the loop variable to avoid aliasing
+ autoscaleItem := autoscaleItem
+ var autoscale storage.AutoScaleProfile_STATUS
+ err := autoscaleItem.AssignProperties_To_AutoScaleProfile_STATUS(&autoscale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AutoScaleProfile_STATUS() to populate field Autoscale")
+ }
+ autoscaleList[autoscaleIndex] = autoscale
+ }
+ destination.Autoscale = autoscaleList
+ } else {
+ destination.Autoscale = nil
+ }
+
+ // Manual
+ if profile.Manual != nil {
+ manualList := make([]storage.ManualScaleProfile_STATUS, len(profile.Manual))
+ for manualIndex, manualItem := range profile.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual storage.ManualScaleProfile_STATUS
+ err := manualItem.AssignProperties_To_ManualScaleProfile_STATUS(&manual)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManualScaleProfile_STATUS() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ destination.Manual = manualList
+ } else {
+ destination.Manual = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Sysctl settings for Linux agent nodes.
+type SysctlConfig struct {
+ // FsAioMaxNr: Sysctl setting fs.aio-max-nr.
+ FsAioMaxNr *int `json:"fsAioMaxNr,omitempty"`
+
+ // FsFileMax: Sysctl setting fs.file-max.
+ FsFileMax *int `json:"fsFileMax,omitempty"`
+
+ // FsInotifyMaxUserWatches: Sysctl setting fs.inotify.max_user_watches.
+ FsInotifyMaxUserWatches *int `json:"fsInotifyMaxUserWatches,omitempty"`
+
+ // FsNrOpen: Sysctl setting fs.nr_open.
+ FsNrOpen *int `json:"fsNrOpen,omitempty"`
+
+ // KernelThreadsMax: Sysctl setting kernel.threads-max.
+ KernelThreadsMax *int `json:"kernelThreadsMax,omitempty"`
+
+ // NetCoreNetdevMaxBacklog: Sysctl setting net.core.netdev_max_backlog.
+ NetCoreNetdevMaxBacklog *int `json:"netCoreNetdevMaxBacklog,omitempty"`
+
+ // NetCoreOptmemMax: Sysctl setting net.core.optmem_max.
+ NetCoreOptmemMax *int `json:"netCoreOptmemMax,omitempty"`
+
+ // NetCoreRmemDefault: Sysctl setting net.core.rmem_default.
+ NetCoreRmemDefault *int `json:"netCoreRmemDefault,omitempty"`
+
+ // NetCoreRmemMax: Sysctl setting net.core.rmem_max.
+ NetCoreRmemMax *int `json:"netCoreRmemMax,omitempty"`
+
+ // NetCoreSomaxconn: Sysctl setting net.core.somaxconn.
+ NetCoreSomaxconn *int `json:"netCoreSomaxconn,omitempty"`
+
+ // NetCoreWmemDefault: Sysctl setting net.core.wmem_default.
+ NetCoreWmemDefault *int `json:"netCoreWmemDefault,omitempty"`
+
+ // NetCoreWmemMax: Sysctl setting net.core.wmem_max.
+ NetCoreWmemMax *int `json:"netCoreWmemMax,omitempty"`
+
+ // NetIpv4IpLocalPortRange: Sysctl setting net.ipv4.ip_local_port_range.
+ NetIpv4IpLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1.
+ NetIpv4NeighDefaultGcThresh1 *int `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2.
+ NetIpv4NeighDefaultGcThresh2 *int `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3.
+ NetIpv4NeighDefaultGcThresh3 *int `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
+
+ // NetIpv4TcpFinTimeout: Sysctl setting net.ipv4.tcp_fin_timeout.
+ NetIpv4TcpFinTimeout *int `json:"netIpv4TcpFinTimeout,omitempty"`
+
+ // NetIpv4TcpKeepaliveProbes: Sysctl setting net.ipv4.tcp_keepalive_probes.
+ NetIpv4TcpKeepaliveProbes *int `json:"netIpv4TcpKeepaliveProbes,omitempty"`
+
+ // NetIpv4TcpKeepaliveTime: Sysctl setting net.ipv4.tcp_keepalive_time.
+ NetIpv4TcpKeepaliveTime *int `json:"netIpv4TcpKeepaliveTime,omitempty"`
+
+ // NetIpv4TcpMaxSynBacklog: Sysctl setting net.ipv4.tcp_max_syn_backlog.
+ NetIpv4TcpMaxSynBacklog *int `json:"netIpv4TcpMaxSynBacklog,omitempty"`
+
+ // NetIpv4TcpMaxTwBuckets: Sysctl setting net.ipv4.tcp_max_tw_buckets.
+ NetIpv4TcpMaxTwBuckets *int `json:"netIpv4TcpMaxTwBuckets,omitempty"`
+
+ // NetIpv4TcpTwReuse: Sysctl setting net.ipv4.tcp_tw_reuse.
+ NetIpv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"`
+
+ // +kubebuilder:validation:Maximum=90
+ // +kubebuilder:validation:Minimum=10
+ // NetIpv4TcpkeepaliveIntvl: Sysctl setting net.ipv4.tcp_keepalive_intvl.
+ NetIpv4TcpkeepaliveIntvl *int `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
+
+ // +kubebuilder:validation:Maximum=524288
+ // +kubebuilder:validation:Minimum=65536
+ // NetNetfilterNfConntrackBuckets: Sysctl setting net.netfilter.nf_conntrack_buckets.
+ NetNetfilterNfConntrackBuckets *int `json:"netNetfilterNfConntrackBuckets,omitempty"`
+
+ // +kubebuilder:validation:Maximum=2097152
+ // +kubebuilder:validation:Minimum=131072
+ // NetNetfilterNfConntrackMax: Sysctl setting net.netfilter.nf_conntrack_max.
+ NetNetfilterNfConntrackMax *int `json:"netNetfilterNfConntrackMax,omitempty"`
+
+ // VmMaxMapCount: Sysctl setting vm.max_map_count.
+ VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
+
+ // VmSwappiness: Sysctl setting vm.swappiness.
+ VmSwappiness *int `json:"vmSwappiness,omitempty"`
+
+ // VmVfsCachePressure: Sysctl setting vm.vfs_cache_pressure.
+ VmVfsCachePressure *int `json:"vmVfsCachePressure,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &SysctlConfig{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (config *SysctlConfig) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if config == nil {
+ return nil, nil
+ }
+ result := &SysctlConfig_ARM{}
+
+ // Set property "FsAioMaxNr":
+ if config.FsAioMaxNr != nil {
+ fsAioMaxNr := *config.FsAioMaxNr
+ result.FsAioMaxNr = &fsAioMaxNr
+ }
+
+ // Set property "FsFileMax":
+ if config.FsFileMax != nil {
+ fsFileMax := *config.FsFileMax
+ result.FsFileMax = &fsFileMax
+ }
+
+ // Set property "FsInotifyMaxUserWatches":
+ if config.FsInotifyMaxUserWatches != nil {
+ fsInotifyMaxUserWatches := *config.FsInotifyMaxUserWatches
+ result.FsInotifyMaxUserWatches = &fsInotifyMaxUserWatches
+ }
+
+ // Set property "FsNrOpen":
+ if config.FsNrOpen != nil {
+ fsNrOpen := *config.FsNrOpen
+ result.FsNrOpen = &fsNrOpen
+ }
+
+ // Set property "KernelThreadsMax":
+ if config.KernelThreadsMax != nil {
+ kernelThreadsMax := *config.KernelThreadsMax
+ result.KernelThreadsMax = &kernelThreadsMax
+ }
+
+ // Set property "NetCoreNetdevMaxBacklog":
+ if config.NetCoreNetdevMaxBacklog != nil {
+ netCoreNetdevMaxBacklog := *config.NetCoreNetdevMaxBacklog
+ result.NetCoreNetdevMaxBacklog = &netCoreNetdevMaxBacklog
+ }
+
+ // Set property "NetCoreOptmemMax":
+ if config.NetCoreOptmemMax != nil {
+ netCoreOptmemMax := *config.NetCoreOptmemMax
+ result.NetCoreOptmemMax = &netCoreOptmemMax
+ }
+
+ // Set property "NetCoreRmemDefault":
+ if config.NetCoreRmemDefault != nil {
+ netCoreRmemDefault := *config.NetCoreRmemDefault
+ result.NetCoreRmemDefault = &netCoreRmemDefault
+ }
+
+ // Set property "NetCoreRmemMax":
+ if config.NetCoreRmemMax != nil {
+ netCoreRmemMax := *config.NetCoreRmemMax
+ result.NetCoreRmemMax = &netCoreRmemMax
+ }
+
+ // Set property "NetCoreSomaxconn":
+ if config.NetCoreSomaxconn != nil {
+ netCoreSomaxconn := *config.NetCoreSomaxconn
+ result.NetCoreSomaxconn = &netCoreSomaxconn
+ }
+
+ // Set property "NetCoreWmemDefault":
+ if config.NetCoreWmemDefault != nil {
+ netCoreWmemDefault := *config.NetCoreWmemDefault
+ result.NetCoreWmemDefault = &netCoreWmemDefault
+ }
+
+ // Set property "NetCoreWmemMax":
+ if config.NetCoreWmemMax != nil {
+ netCoreWmemMax := *config.NetCoreWmemMax
+ result.NetCoreWmemMax = &netCoreWmemMax
+ }
+
+ // Set property "NetIpv4IpLocalPortRange":
+ if config.NetIpv4IpLocalPortRange != nil {
+ netIpv4IpLocalPortRange := *config.NetIpv4IpLocalPortRange
+ result.NetIpv4IpLocalPortRange = &netIpv4IpLocalPortRange
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh1":
+ if config.NetIpv4NeighDefaultGcThresh1 != nil {
+ netIpv4NeighDefaultGcThresh1 := *config.NetIpv4NeighDefaultGcThresh1
+ result.NetIpv4NeighDefaultGcThresh1 = &netIpv4NeighDefaultGcThresh1
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh2":
+ if config.NetIpv4NeighDefaultGcThresh2 != nil {
+ netIpv4NeighDefaultGcThresh2 := *config.NetIpv4NeighDefaultGcThresh2
+ result.NetIpv4NeighDefaultGcThresh2 = &netIpv4NeighDefaultGcThresh2
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh3":
+ if config.NetIpv4NeighDefaultGcThresh3 != nil {
+ netIpv4NeighDefaultGcThresh3 := *config.NetIpv4NeighDefaultGcThresh3
+ result.NetIpv4NeighDefaultGcThresh3 = &netIpv4NeighDefaultGcThresh3
+ }
+
+ // Set property "NetIpv4TcpFinTimeout":
+ if config.NetIpv4TcpFinTimeout != nil {
+ netIpv4TcpFinTimeout := *config.NetIpv4TcpFinTimeout
+ result.NetIpv4TcpFinTimeout = &netIpv4TcpFinTimeout
+ }
+
+ // Set property "NetIpv4TcpKeepaliveProbes":
+ if config.NetIpv4TcpKeepaliveProbes != nil {
+ netIpv4TcpKeepaliveProbes := *config.NetIpv4TcpKeepaliveProbes
+ result.NetIpv4TcpKeepaliveProbes = &netIpv4TcpKeepaliveProbes
+ }
+
+ // Set property "NetIpv4TcpKeepaliveTime":
+ if config.NetIpv4TcpKeepaliveTime != nil {
+ netIpv4TcpKeepaliveTime := *config.NetIpv4TcpKeepaliveTime
+ result.NetIpv4TcpKeepaliveTime = &netIpv4TcpKeepaliveTime
+ }
+
+ // Set property "NetIpv4TcpMaxSynBacklog":
+ if config.NetIpv4TcpMaxSynBacklog != nil {
+ netIpv4TcpMaxSynBacklog := *config.NetIpv4TcpMaxSynBacklog
+ result.NetIpv4TcpMaxSynBacklog = &netIpv4TcpMaxSynBacklog
+ }
+
+ // Set property "NetIpv4TcpMaxTwBuckets":
+ if config.NetIpv4TcpMaxTwBuckets != nil {
+ netIpv4TcpMaxTwBuckets := *config.NetIpv4TcpMaxTwBuckets
+ result.NetIpv4TcpMaxTwBuckets = &netIpv4TcpMaxTwBuckets
+ }
+
+ // Set property "NetIpv4TcpTwReuse":
+ if config.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *config.NetIpv4TcpTwReuse
+ result.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ }
+
+ // Set property "NetIpv4TcpkeepaliveIntvl":
+ if config.NetIpv4TcpkeepaliveIntvl != nil {
+ netIpv4TcpkeepaliveIntvl := *config.NetIpv4TcpkeepaliveIntvl
+ result.NetIpv4TcpkeepaliveIntvl = &netIpv4TcpkeepaliveIntvl
+ }
+
+ // Set property "NetNetfilterNfConntrackBuckets":
+ if config.NetNetfilterNfConntrackBuckets != nil {
+ netNetfilterNfConntrackBuckets := *config.NetNetfilterNfConntrackBuckets
+ result.NetNetfilterNfConntrackBuckets = &netNetfilterNfConntrackBuckets
+ }
+
+ // Set property "NetNetfilterNfConntrackMax":
+ if config.NetNetfilterNfConntrackMax != nil {
+ netNetfilterNfConntrackMax := *config.NetNetfilterNfConntrackMax
+ result.NetNetfilterNfConntrackMax = &netNetfilterNfConntrackMax
+ }
+
+ // Set property "VmMaxMapCount":
+ if config.VmMaxMapCount != nil {
+ vmMaxMapCount := *config.VmMaxMapCount
+ result.VmMaxMapCount = &vmMaxMapCount
+ }
+
+ // Set property "VmSwappiness":
+ if config.VmSwappiness != nil {
+ vmSwappiness := *config.VmSwappiness
+ result.VmSwappiness = &vmSwappiness
+ }
+
+ // Set property "VmVfsCachePressure":
+ if config.VmVfsCachePressure != nil {
+ vmVfsCachePressure := *config.VmVfsCachePressure
+ result.VmVfsCachePressure = &vmVfsCachePressure
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *SysctlConfig) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &SysctlConfig_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *SysctlConfig) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(SysctlConfig_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected SysctlConfig_ARM, got %T", armInput)
+ }
+
+ // Set property "FsAioMaxNr":
+ if typedInput.FsAioMaxNr != nil {
+ fsAioMaxNr := *typedInput.FsAioMaxNr
+ config.FsAioMaxNr = &fsAioMaxNr
+ }
+
+ // Set property "FsFileMax":
+ if typedInput.FsFileMax != nil {
+ fsFileMax := *typedInput.FsFileMax
+ config.FsFileMax = &fsFileMax
+ }
+
+ // Set property "FsInotifyMaxUserWatches":
+ if typedInput.FsInotifyMaxUserWatches != nil {
+ fsInotifyMaxUserWatches := *typedInput.FsInotifyMaxUserWatches
+ config.FsInotifyMaxUserWatches = &fsInotifyMaxUserWatches
+ }
+
+ // Set property "FsNrOpen":
+ if typedInput.FsNrOpen != nil {
+ fsNrOpen := *typedInput.FsNrOpen
+ config.FsNrOpen = &fsNrOpen
+ }
+
+ // Set property "KernelThreadsMax":
+ if typedInput.KernelThreadsMax != nil {
+ kernelThreadsMax := *typedInput.KernelThreadsMax
+ config.KernelThreadsMax = &kernelThreadsMax
+ }
+
+ // Set property "NetCoreNetdevMaxBacklog":
+ if typedInput.NetCoreNetdevMaxBacklog != nil {
+ netCoreNetdevMaxBacklog := *typedInput.NetCoreNetdevMaxBacklog
+ config.NetCoreNetdevMaxBacklog = &netCoreNetdevMaxBacklog
+ }
+
+ // Set property "NetCoreOptmemMax":
+ if typedInput.NetCoreOptmemMax != nil {
+ netCoreOptmemMax := *typedInput.NetCoreOptmemMax
+ config.NetCoreOptmemMax = &netCoreOptmemMax
+ }
+
+ // Set property "NetCoreRmemDefault":
+ if typedInput.NetCoreRmemDefault != nil {
+ netCoreRmemDefault := *typedInput.NetCoreRmemDefault
+ config.NetCoreRmemDefault = &netCoreRmemDefault
+ }
+
+ // Set property "NetCoreRmemMax":
+ if typedInput.NetCoreRmemMax != nil {
+ netCoreRmemMax := *typedInput.NetCoreRmemMax
+ config.NetCoreRmemMax = &netCoreRmemMax
+ }
+
+ // Set property "NetCoreSomaxconn":
+ if typedInput.NetCoreSomaxconn != nil {
+ netCoreSomaxconn := *typedInput.NetCoreSomaxconn
+ config.NetCoreSomaxconn = &netCoreSomaxconn
+ }
+
+ // Set property "NetCoreWmemDefault":
+ if typedInput.NetCoreWmemDefault != nil {
+ netCoreWmemDefault := *typedInput.NetCoreWmemDefault
+ config.NetCoreWmemDefault = &netCoreWmemDefault
+ }
+
+ // Set property "NetCoreWmemMax":
+ if typedInput.NetCoreWmemMax != nil {
+ netCoreWmemMax := *typedInput.NetCoreWmemMax
+ config.NetCoreWmemMax = &netCoreWmemMax
+ }
+
+ // Set property "NetIpv4IpLocalPortRange":
+ if typedInput.NetIpv4IpLocalPortRange != nil {
+ netIpv4IpLocalPortRange := *typedInput.NetIpv4IpLocalPortRange
+ config.NetIpv4IpLocalPortRange = &netIpv4IpLocalPortRange
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh1":
+ if typedInput.NetIpv4NeighDefaultGcThresh1 != nil {
+ netIpv4NeighDefaultGcThresh1 := *typedInput.NetIpv4NeighDefaultGcThresh1
+ config.NetIpv4NeighDefaultGcThresh1 = &netIpv4NeighDefaultGcThresh1
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh2":
+ if typedInput.NetIpv4NeighDefaultGcThresh2 != nil {
+ netIpv4NeighDefaultGcThresh2 := *typedInput.NetIpv4NeighDefaultGcThresh2
+ config.NetIpv4NeighDefaultGcThresh2 = &netIpv4NeighDefaultGcThresh2
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh3":
+ if typedInput.NetIpv4NeighDefaultGcThresh3 != nil {
+ netIpv4NeighDefaultGcThresh3 := *typedInput.NetIpv4NeighDefaultGcThresh3
+ config.NetIpv4NeighDefaultGcThresh3 = &netIpv4NeighDefaultGcThresh3
+ }
+
+ // Set property "NetIpv4TcpFinTimeout":
+ if typedInput.NetIpv4TcpFinTimeout != nil {
+ netIpv4TcpFinTimeout := *typedInput.NetIpv4TcpFinTimeout
+ config.NetIpv4TcpFinTimeout = &netIpv4TcpFinTimeout
+ }
+
+ // Set property "NetIpv4TcpKeepaliveProbes":
+ if typedInput.NetIpv4TcpKeepaliveProbes != nil {
+ netIpv4TcpKeepaliveProbes := *typedInput.NetIpv4TcpKeepaliveProbes
+ config.NetIpv4TcpKeepaliveProbes = &netIpv4TcpKeepaliveProbes
+ }
+
+ // Set property "NetIpv4TcpKeepaliveTime":
+ if typedInput.NetIpv4TcpKeepaliveTime != nil {
+ netIpv4TcpKeepaliveTime := *typedInput.NetIpv4TcpKeepaliveTime
+ config.NetIpv4TcpKeepaliveTime = &netIpv4TcpKeepaliveTime
+ }
+
+ // Set property "NetIpv4TcpMaxSynBacklog":
+ if typedInput.NetIpv4TcpMaxSynBacklog != nil {
+ netIpv4TcpMaxSynBacklog := *typedInput.NetIpv4TcpMaxSynBacklog
+ config.NetIpv4TcpMaxSynBacklog = &netIpv4TcpMaxSynBacklog
+ }
+
+ // Set property "NetIpv4TcpMaxTwBuckets":
+ if typedInput.NetIpv4TcpMaxTwBuckets != nil {
+ netIpv4TcpMaxTwBuckets := *typedInput.NetIpv4TcpMaxTwBuckets
+ config.NetIpv4TcpMaxTwBuckets = &netIpv4TcpMaxTwBuckets
+ }
+
+ // Set property "NetIpv4TcpTwReuse":
+ if typedInput.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *typedInput.NetIpv4TcpTwReuse
+ config.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ }
+
+ // Set property "NetIpv4TcpkeepaliveIntvl":
+ if typedInput.NetIpv4TcpkeepaliveIntvl != nil {
+ netIpv4TcpkeepaliveIntvl := *typedInput.NetIpv4TcpkeepaliveIntvl
+ config.NetIpv4TcpkeepaliveIntvl = &netIpv4TcpkeepaliveIntvl
+ }
+
+ // Set property "NetNetfilterNfConntrackBuckets":
+ if typedInput.NetNetfilterNfConntrackBuckets != nil {
+ netNetfilterNfConntrackBuckets := *typedInput.NetNetfilterNfConntrackBuckets
+ config.NetNetfilterNfConntrackBuckets = &netNetfilterNfConntrackBuckets
+ }
+
+ // Set property "NetNetfilterNfConntrackMax":
+ if typedInput.NetNetfilterNfConntrackMax != nil {
+ netNetfilterNfConntrackMax := *typedInput.NetNetfilterNfConntrackMax
+ config.NetNetfilterNfConntrackMax = &netNetfilterNfConntrackMax
+ }
+
+ // Set property "VmMaxMapCount":
+ if typedInput.VmMaxMapCount != nil {
+ vmMaxMapCount := *typedInput.VmMaxMapCount
+ config.VmMaxMapCount = &vmMaxMapCount
+ }
+
+ // Set property "VmSwappiness":
+ if typedInput.VmSwappiness != nil {
+ vmSwappiness := *typedInput.VmSwappiness
+ config.VmSwappiness = &vmSwappiness
+ }
+
+ // Set property "VmVfsCachePressure":
+ if typedInput.VmVfsCachePressure != nil {
+ vmVfsCachePressure := *typedInput.VmVfsCachePressure
+ config.VmVfsCachePressure = &vmVfsCachePressure
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
+
+ // FsAioMaxNr
+ config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
+
+ // FsFileMax
+ config.FsFileMax = genruntime.ClonePointerToInt(source.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ config.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(source.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ config.FsNrOpen = genruntime.ClonePointerToInt(source.FsNrOpen)
+
+ // KernelThreadsMax
+ config.KernelThreadsMax = genruntime.ClonePointerToInt(source.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ config.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(source.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ config.NetCoreOptmemMax = genruntime.ClonePointerToInt(source.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ config.NetCoreRmemDefault = genruntime.ClonePointerToInt(source.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ config.NetCoreRmemMax = genruntime.ClonePointerToInt(source.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ config.NetCoreSomaxconn = genruntime.ClonePointerToInt(source.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ config.NetCoreWmemDefault = genruntime.ClonePointerToInt(source.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ config.NetCoreWmemMax = genruntime.ClonePointerToInt(source.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ config.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(source.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ config.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ config.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ config.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ config.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(source.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ config.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ config.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ config.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ config.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if source.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *source.NetIpv4TcpTwReuse
+ config.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ config.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ if source.NetIpv4TcpkeepaliveIntvl != nil {
+ netIpv4TcpkeepaliveIntvl := *source.NetIpv4TcpkeepaliveIntvl
+ config.NetIpv4TcpkeepaliveIntvl = &netIpv4TcpkeepaliveIntvl
+ } else {
+ config.NetIpv4TcpkeepaliveIntvl = nil
+ }
+
+ // NetNetfilterNfConntrackBuckets
+ if source.NetNetfilterNfConntrackBuckets != nil {
+ netNetfilterNfConntrackBucket := *source.NetNetfilterNfConntrackBuckets
+ config.NetNetfilterNfConntrackBuckets = &netNetfilterNfConntrackBucket
+ } else {
+ config.NetNetfilterNfConntrackBuckets = nil
+ }
+
+ // NetNetfilterNfConntrackMax
+ if source.NetNetfilterNfConntrackMax != nil {
+ netNetfilterNfConntrackMax := *source.NetNetfilterNfConntrackMax
+ config.NetNetfilterNfConntrackMax = &netNetfilterNfConntrackMax
+ } else {
+ config.NetNetfilterNfConntrackMax = nil
+ }
+
+ // VmMaxMapCount
+ config.VmMaxMapCount = genruntime.ClonePointerToInt(source.VmMaxMapCount)
+
+ // VmSwappiness
+ config.VmSwappiness = genruntime.ClonePointerToInt(source.VmSwappiness)
+
+ // VmVfsCachePressure
+ config.VmVfsCachePressure = genruntime.ClonePointerToInt(source.VmVfsCachePressure)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // FsAioMaxNr
+ destination.FsAioMaxNr = genruntime.ClonePointerToInt(config.FsAioMaxNr)
+
+ // FsFileMax
+ destination.FsFileMax = genruntime.ClonePointerToInt(config.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ destination.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(config.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ destination.FsNrOpen = genruntime.ClonePointerToInt(config.FsNrOpen)
+
+ // KernelThreadsMax
+ destination.KernelThreadsMax = genruntime.ClonePointerToInt(config.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ destination.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(config.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ destination.NetCoreOptmemMax = genruntime.ClonePointerToInt(config.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ destination.NetCoreRmemDefault = genruntime.ClonePointerToInt(config.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ destination.NetCoreRmemMax = genruntime.ClonePointerToInt(config.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ destination.NetCoreSomaxconn = genruntime.ClonePointerToInt(config.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ destination.NetCoreWmemDefault = genruntime.ClonePointerToInt(config.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ destination.NetCoreWmemMax = genruntime.ClonePointerToInt(config.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ destination.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(config.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ destination.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ destination.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ destination.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ destination.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(config.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ destination.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ destination.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ destination.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ destination.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if config.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *config.NetIpv4TcpTwReuse
+ destination.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ destination.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ if config.NetIpv4TcpkeepaliveIntvl != nil {
+ netIpv4TcpkeepaliveIntvl := *config.NetIpv4TcpkeepaliveIntvl
+ destination.NetIpv4TcpkeepaliveIntvl = &netIpv4TcpkeepaliveIntvl
+ } else {
+ destination.NetIpv4TcpkeepaliveIntvl = nil
+ }
+
+ // NetNetfilterNfConntrackBuckets
+ if config.NetNetfilterNfConntrackBuckets != nil {
+ netNetfilterNfConntrackBucket := *config.NetNetfilterNfConntrackBuckets
+ destination.NetNetfilterNfConntrackBuckets = &netNetfilterNfConntrackBucket
+ } else {
+ destination.NetNetfilterNfConntrackBuckets = nil
+ }
+
+ // NetNetfilterNfConntrackMax
+ if config.NetNetfilterNfConntrackMax != nil {
+ netNetfilterNfConntrackMax := *config.NetNetfilterNfConntrackMax
+ destination.NetNetfilterNfConntrackMax = &netNetfilterNfConntrackMax
+ } else {
+ destination.NetNetfilterNfConntrackMax = nil
+ }
+
+ // VmMaxMapCount
+ destination.VmMaxMapCount = genruntime.ClonePointerToInt(config.VmMaxMapCount)
+
+ // VmSwappiness
+ destination.VmSwappiness = genruntime.ClonePointerToInt(config.VmSwappiness)
+
+ // VmVfsCachePressure
+ destination.VmVfsCachePressure = genruntime.ClonePointerToInt(config.VmVfsCachePressure)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Sysctl settings for Linux agent nodes.
+type SysctlConfig_STATUS struct {
+ // FsAioMaxNr: Sysctl setting fs.aio-max-nr.
+ FsAioMaxNr *int `json:"fsAioMaxNr,omitempty"`
+
+ // FsFileMax: Sysctl setting fs.file-max.
+ FsFileMax *int `json:"fsFileMax,omitempty"`
+
+ // FsInotifyMaxUserWatches: Sysctl setting fs.inotify.max_user_watches.
+ FsInotifyMaxUserWatches *int `json:"fsInotifyMaxUserWatches,omitempty"`
+
+ // FsNrOpen: Sysctl setting fs.nr_open.
+ FsNrOpen *int `json:"fsNrOpen,omitempty"`
+
+ // KernelThreadsMax: Sysctl setting kernel.threads-max.
+ KernelThreadsMax *int `json:"kernelThreadsMax,omitempty"`
+
+ // NetCoreNetdevMaxBacklog: Sysctl setting net.core.netdev_max_backlog.
+ NetCoreNetdevMaxBacklog *int `json:"netCoreNetdevMaxBacklog,omitempty"`
+
+ // NetCoreOptmemMax: Sysctl setting net.core.optmem_max.
+ NetCoreOptmemMax *int `json:"netCoreOptmemMax,omitempty"`
+
+ // NetCoreRmemDefault: Sysctl setting net.core.rmem_default.
+ NetCoreRmemDefault *int `json:"netCoreRmemDefault,omitempty"`
+
+ // NetCoreRmemMax: Sysctl setting net.core.rmem_max.
+ NetCoreRmemMax *int `json:"netCoreRmemMax,omitempty"`
+
+ // NetCoreSomaxconn: Sysctl setting net.core.somaxconn.
+ NetCoreSomaxconn *int `json:"netCoreSomaxconn,omitempty"`
+
+ // NetCoreWmemDefault: Sysctl setting net.core.wmem_default.
+ NetCoreWmemDefault *int `json:"netCoreWmemDefault,omitempty"`
+
+ // NetCoreWmemMax: Sysctl setting net.core.wmem_max.
+ NetCoreWmemMax *int `json:"netCoreWmemMax,omitempty"`
+
+ // NetIpv4IpLocalPortRange: Sysctl setting net.ipv4.ip_local_port_range.
+ NetIpv4IpLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh1: Sysctl setting net.ipv4.neigh.default.gc_thresh1.
+ NetIpv4NeighDefaultGcThresh1 *int `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh2: Sysctl setting net.ipv4.neigh.default.gc_thresh2.
+ NetIpv4NeighDefaultGcThresh2 *int `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
+
+ // NetIpv4NeighDefaultGcThresh3: Sysctl setting net.ipv4.neigh.default.gc_thresh3.
+ NetIpv4NeighDefaultGcThresh3 *int `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
+
+ // NetIpv4TcpFinTimeout: Sysctl setting net.ipv4.tcp_fin_timeout.
+ NetIpv4TcpFinTimeout *int `json:"netIpv4TcpFinTimeout,omitempty"`
+
+ // NetIpv4TcpKeepaliveProbes: Sysctl setting net.ipv4.tcp_keepalive_probes.
+ NetIpv4TcpKeepaliveProbes *int `json:"netIpv4TcpKeepaliveProbes,omitempty"`
+
+ // NetIpv4TcpKeepaliveTime: Sysctl setting net.ipv4.tcp_keepalive_time.
+ NetIpv4TcpKeepaliveTime *int `json:"netIpv4TcpKeepaliveTime,omitempty"`
+
+ // NetIpv4TcpMaxSynBacklog: Sysctl setting net.ipv4.tcp_max_syn_backlog.
+ NetIpv4TcpMaxSynBacklog *int `json:"netIpv4TcpMaxSynBacklog,omitempty"`
+
+ // NetIpv4TcpMaxTwBuckets: Sysctl setting net.ipv4.tcp_max_tw_buckets.
+ NetIpv4TcpMaxTwBuckets *int `json:"netIpv4TcpMaxTwBuckets,omitempty"`
+
+ // NetIpv4TcpTwReuse: Sysctl setting net.ipv4.tcp_tw_reuse.
+ NetIpv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"`
+
+ // NetIpv4TcpkeepaliveIntvl: Sysctl setting net.ipv4.tcp_keepalive_intvl.
+ NetIpv4TcpkeepaliveIntvl *int `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
+
+ // NetNetfilterNfConntrackBuckets: Sysctl setting net.netfilter.nf_conntrack_buckets.
+ NetNetfilterNfConntrackBuckets *int `json:"netNetfilterNfConntrackBuckets,omitempty"`
+
+ // NetNetfilterNfConntrackMax: Sysctl setting net.netfilter.nf_conntrack_max.
+ NetNetfilterNfConntrackMax *int `json:"netNetfilterNfConntrackMax,omitempty"`
+
+ // VmMaxMapCount: Sysctl setting vm.max_map_count.
+ VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
+
+ // VmSwappiness: Sysctl setting vm.swappiness.
+ VmSwappiness *int `json:"vmSwappiness,omitempty"`
+
+ // VmVfsCachePressure: Sysctl setting vm.vfs_cache_pressure.
+ VmVfsCachePressure *int `json:"vmVfsCachePressure,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &SysctlConfig_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (config *SysctlConfig_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &SysctlConfig_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (config *SysctlConfig_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(SysctlConfig_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected SysctlConfig_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "FsAioMaxNr":
+ if typedInput.FsAioMaxNr != nil {
+ fsAioMaxNr := *typedInput.FsAioMaxNr
+ config.FsAioMaxNr = &fsAioMaxNr
+ }
+
+ // Set property "FsFileMax":
+ if typedInput.FsFileMax != nil {
+ fsFileMax := *typedInput.FsFileMax
+ config.FsFileMax = &fsFileMax
+ }
+
+ // Set property "FsInotifyMaxUserWatches":
+ if typedInput.FsInotifyMaxUserWatches != nil {
+ fsInotifyMaxUserWatches := *typedInput.FsInotifyMaxUserWatches
+ config.FsInotifyMaxUserWatches = &fsInotifyMaxUserWatches
+ }
+
+ // Set property "FsNrOpen":
+ if typedInput.FsNrOpen != nil {
+ fsNrOpen := *typedInput.FsNrOpen
+ config.FsNrOpen = &fsNrOpen
+ }
+
+ // Set property "KernelThreadsMax":
+ if typedInput.KernelThreadsMax != nil {
+ kernelThreadsMax := *typedInput.KernelThreadsMax
+ config.KernelThreadsMax = &kernelThreadsMax
+ }
+
+ // Set property "NetCoreNetdevMaxBacklog":
+ if typedInput.NetCoreNetdevMaxBacklog != nil {
+ netCoreNetdevMaxBacklog := *typedInput.NetCoreNetdevMaxBacklog
+ config.NetCoreNetdevMaxBacklog = &netCoreNetdevMaxBacklog
+ }
+
+ // Set property "NetCoreOptmemMax":
+ if typedInput.NetCoreOptmemMax != nil {
+ netCoreOptmemMax := *typedInput.NetCoreOptmemMax
+ config.NetCoreOptmemMax = &netCoreOptmemMax
+ }
+
+ // Set property "NetCoreRmemDefault":
+ if typedInput.NetCoreRmemDefault != nil {
+ netCoreRmemDefault := *typedInput.NetCoreRmemDefault
+ config.NetCoreRmemDefault = &netCoreRmemDefault
+ }
+
+ // Set property "NetCoreRmemMax":
+ if typedInput.NetCoreRmemMax != nil {
+ netCoreRmemMax := *typedInput.NetCoreRmemMax
+ config.NetCoreRmemMax = &netCoreRmemMax
+ }
+
+ // Set property "NetCoreSomaxconn":
+ if typedInput.NetCoreSomaxconn != nil {
+ netCoreSomaxconn := *typedInput.NetCoreSomaxconn
+ config.NetCoreSomaxconn = &netCoreSomaxconn
+ }
+
+ // Set property "NetCoreWmemDefault":
+ if typedInput.NetCoreWmemDefault != nil {
+ netCoreWmemDefault := *typedInput.NetCoreWmemDefault
+ config.NetCoreWmemDefault = &netCoreWmemDefault
+ }
+
+ // Set property "NetCoreWmemMax":
+ if typedInput.NetCoreWmemMax != nil {
+ netCoreWmemMax := *typedInput.NetCoreWmemMax
+ config.NetCoreWmemMax = &netCoreWmemMax
+ }
+
+ // Set property "NetIpv4IpLocalPortRange":
+ if typedInput.NetIpv4IpLocalPortRange != nil {
+ netIpv4IpLocalPortRange := *typedInput.NetIpv4IpLocalPortRange
+ config.NetIpv4IpLocalPortRange = &netIpv4IpLocalPortRange
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh1":
+ if typedInput.NetIpv4NeighDefaultGcThresh1 != nil {
+ netIpv4NeighDefaultGcThresh1 := *typedInput.NetIpv4NeighDefaultGcThresh1
+ config.NetIpv4NeighDefaultGcThresh1 = &netIpv4NeighDefaultGcThresh1
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh2":
+ if typedInput.NetIpv4NeighDefaultGcThresh2 != nil {
+ netIpv4NeighDefaultGcThresh2 := *typedInput.NetIpv4NeighDefaultGcThresh2
+ config.NetIpv4NeighDefaultGcThresh2 = &netIpv4NeighDefaultGcThresh2
+ }
+
+ // Set property "NetIpv4NeighDefaultGcThresh3":
+ if typedInput.NetIpv4NeighDefaultGcThresh3 != nil {
+ netIpv4NeighDefaultGcThresh3 := *typedInput.NetIpv4NeighDefaultGcThresh3
+ config.NetIpv4NeighDefaultGcThresh3 = &netIpv4NeighDefaultGcThresh3
+ }
+
+ // Set property "NetIpv4TcpFinTimeout":
+ if typedInput.NetIpv4TcpFinTimeout != nil {
+ netIpv4TcpFinTimeout := *typedInput.NetIpv4TcpFinTimeout
+ config.NetIpv4TcpFinTimeout = &netIpv4TcpFinTimeout
+ }
+
+ // Set property "NetIpv4TcpKeepaliveProbes":
+ if typedInput.NetIpv4TcpKeepaliveProbes != nil {
+ netIpv4TcpKeepaliveProbes := *typedInput.NetIpv4TcpKeepaliveProbes
+ config.NetIpv4TcpKeepaliveProbes = &netIpv4TcpKeepaliveProbes
+ }
+
+ // Set property "NetIpv4TcpKeepaliveTime":
+ if typedInput.NetIpv4TcpKeepaliveTime != nil {
+ netIpv4TcpKeepaliveTime := *typedInput.NetIpv4TcpKeepaliveTime
+ config.NetIpv4TcpKeepaliveTime = &netIpv4TcpKeepaliveTime
+ }
+
+ // Set property "NetIpv4TcpMaxSynBacklog":
+ if typedInput.NetIpv4TcpMaxSynBacklog != nil {
+ netIpv4TcpMaxSynBacklog := *typedInput.NetIpv4TcpMaxSynBacklog
+ config.NetIpv4TcpMaxSynBacklog = &netIpv4TcpMaxSynBacklog
+ }
+
+ // Set property "NetIpv4TcpMaxTwBuckets":
+ if typedInput.NetIpv4TcpMaxTwBuckets != nil {
+ netIpv4TcpMaxTwBuckets := *typedInput.NetIpv4TcpMaxTwBuckets
+ config.NetIpv4TcpMaxTwBuckets = &netIpv4TcpMaxTwBuckets
+ }
+
+ // Set property "NetIpv4TcpTwReuse":
+ if typedInput.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *typedInput.NetIpv4TcpTwReuse
+ config.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ }
+
+ // Set property "NetIpv4TcpkeepaliveIntvl":
+ if typedInput.NetIpv4TcpkeepaliveIntvl != nil {
+ netIpv4TcpkeepaliveIntvl := *typedInput.NetIpv4TcpkeepaliveIntvl
+ config.NetIpv4TcpkeepaliveIntvl = &netIpv4TcpkeepaliveIntvl
+ }
+
+ // Set property "NetNetfilterNfConntrackBuckets":
+ if typedInput.NetNetfilterNfConntrackBuckets != nil {
+ netNetfilterNfConntrackBuckets := *typedInput.NetNetfilterNfConntrackBuckets
+ config.NetNetfilterNfConntrackBuckets = &netNetfilterNfConntrackBuckets
+ }
+
+ // Set property "NetNetfilterNfConntrackMax":
+ if typedInput.NetNetfilterNfConntrackMax != nil {
+ netNetfilterNfConntrackMax := *typedInput.NetNetfilterNfConntrackMax
+ config.NetNetfilterNfConntrackMax = &netNetfilterNfConntrackMax
+ }
+
+ // Set property "VmMaxMapCount":
+ if typedInput.VmMaxMapCount != nil {
+ vmMaxMapCount := *typedInput.VmMaxMapCount
+ config.VmMaxMapCount = &vmMaxMapCount
+ }
+
+ // Set property "VmSwappiness":
+ if typedInput.VmSwappiness != nil {
+ vmSwappiness := *typedInput.VmSwappiness
+ config.VmSwappiness = &vmSwappiness
+ }
+
+ // Set property "VmVfsCachePressure":
+ if typedInput.VmVfsCachePressure != nil {
+ vmVfsCachePressure := *typedInput.VmVfsCachePressure
+ config.VmVfsCachePressure = &vmVfsCachePressure
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
+
+ // FsAioMaxNr
+ config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
+
+ // FsFileMax
+ config.FsFileMax = genruntime.ClonePointerToInt(source.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ config.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(source.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ config.FsNrOpen = genruntime.ClonePointerToInt(source.FsNrOpen)
+
+ // KernelThreadsMax
+ config.KernelThreadsMax = genruntime.ClonePointerToInt(source.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ config.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(source.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ config.NetCoreOptmemMax = genruntime.ClonePointerToInt(source.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ config.NetCoreRmemDefault = genruntime.ClonePointerToInt(source.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ config.NetCoreRmemMax = genruntime.ClonePointerToInt(source.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ config.NetCoreSomaxconn = genruntime.ClonePointerToInt(source.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ config.NetCoreWmemDefault = genruntime.ClonePointerToInt(source.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ config.NetCoreWmemMax = genruntime.ClonePointerToInt(source.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ config.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(source.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ config.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ config.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ config.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ config.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(source.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ config.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ config.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ config.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ config.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if source.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *source.NetIpv4TcpTwReuse
+ config.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ config.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ config.NetIpv4TcpkeepaliveIntvl = genruntime.ClonePointerToInt(source.NetIpv4TcpkeepaliveIntvl)
+
+ // NetNetfilterNfConntrackBuckets
+ config.NetNetfilterNfConntrackBuckets = genruntime.ClonePointerToInt(source.NetNetfilterNfConntrackBuckets)
+
+ // NetNetfilterNfConntrackMax
+ config.NetNetfilterNfConntrackMax = genruntime.ClonePointerToInt(source.NetNetfilterNfConntrackMax)
+
+ // VmMaxMapCount
+ config.VmMaxMapCount = genruntime.ClonePointerToInt(source.VmMaxMapCount)
+
+ // VmSwappiness
+ config.VmSwappiness = genruntime.ClonePointerToInt(source.VmSwappiness)
+
+ // VmVfsCachePressure
+ config.VmVfsCachePressure = genruntime.ClonePointerToInt(source.VmVfsCachePressure)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // FsAioMaxNr
+ destination.FsAioMaxNr = genruntime.ClonePointerToInt(config.FsAioMaxNr)
+
+ // FsFileMax
+ destination.FsFileMax = genruntime.ClonePointerToInt(config.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ destination.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(config.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ destination.FsNrOpen = genruntime.ClonePointerToInt(config.FsNrOpen)
+
+ // KernelThreadsMax
+ destination.KernelThreadsMax = genruntime.ClonePointerToInt(config.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ destination.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(config.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ destination.NetCoreOptmemMax = genruntime.ClonePointerToInt(config.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ destination.NetCoreRmemDefault = genruntime.ClonePointerToInt(config.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ destination.NetCoreRmemMax = genruntime.ClonePointerToInt(config.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ destination.NetCoreSomaxconn = genruntime.ClonePointerToInt(config.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ destination.NetCoreWmemDefault = genruntime.ClonePointerToInt(config.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ destination.NetCoreWmemMax = genruntime.ClonePointerToInt(config.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ destination.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(config.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ destination.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ destination.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ destination.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ destination.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(config.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ destination.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ destination.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ destination.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ destination.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if config.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *config.NetIpv4TcpTwReuse
+ destination.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ destination.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ destination.NetIpv4TcpkeepaliveIntvl = genruntime.ClonePointerToInt(config.NetIpv4TcpkeepaliveIntvl)
+
+ // NetNetfilterNfConntrackBuckets
+ destination.NetNetfilterNfConntrackBuckets = genruntime.ClonePointerToInt(config.NetNetfilterNfConntrackBuckets)
+
+ // NetNetfilterNfConntrackMax
+ destination.NetNetfilterNfConntrackMax = genruntime.ClonePointerToInt(config.NetNetfilterNfConntrackMax)
+
+ // VmMaxMapCount
+ destination.VmMaxMapCount = genruntime.ClonePointerToInt(config.VmMaxMapCount)
+
+ // VmSwappiness
+ destination.VmSwappiness = genruntime.ClonePointerToInt(config.VmSwappiness)
+
+ // VmVfsCachePressure
+ destination.VmVfsCachePressure = genruntime.ClonePointerToInt(config.VmVfsCachePressure)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on auto-scaling.
+type AutoScaleProfile struct {
+ // MaxCount: The maximum number of nodes of the specified sizes.
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MinCount: The minimum number of nodes of the specified sizes.
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when auto scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS
+ // will use the next size.
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &AutoScaleProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *AutoScaleProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &AutoScaleProfile_ARM{}
+
+ // Set property "MaxCount":
+ if profile.MaxCount != nil {
+ maxCount := *profile.MaxCount
+ result.MaxCount = &maxCount
+ }
+
+ // Set property "MinCount":
+ if profile.MinCount != nil {
+ minCount := *profile.MinCount
+ result.MinCount = &minCount
+ }
+
+ // Set property "Sizes":
+ for _, item := range profile.Sizes {
+ result.Sizes = append(result.Sizes, item)
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AutoScaleProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AutoScaleProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AutoScaleProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AutoScaleProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AutoScaleProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "MaxCount":
+ if typedInput.MaxCount != nil {
+ maxCount := *typedInput.MaxCount
+ profile.MaxCount = &maxCount
+ }
+
+ // Set property "MinCount":
+ if typedInput.MinCount != nil {
+ minCount := *typedInput.MinCount
+ profile.MinCount = &minCount
+ }
+
+ // Set property "Sizes":
+ for _, item := range typedInput.Sizes {
+ profile.Sizes = append(profile.Sizes, item)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AutoScaleProfile populates our AutoScaleProfile from the provided source AutoScaleProfile
+func (profile *AutoScaleProfile) AssignProperties_From_AutoScaleProfile(source *storage.AutoScaleProfile) error {
+
+ // MaxCount
+ profile.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MinCount
+ profile.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Sizes
+ profile.Sizes = genruntime.CloneSliceOfString(source.Sizes)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AutoScaleProfile populates the provided destination AutoScaleProfile from our AutoScaleProfile
+func (profile *AutoScaleProfile) AssignProperties_To_AutoScaleProfile(destination *storage.AutoScaleProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(profile.MaxCount)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(profile.MinCount)
+
+ // Sizes
+ destination.Sizes = genruntime.CloneSliceOfString(profile.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on auto-scaling.
+type AutoScaleProfile_STATUS struct {
+ // MaxCount: The maximum number of nodes of the specified sizes.
+ MaxCount *int `json:"maxCount,omitempty"`
+
+ // MinCount: The minimum number of nodes of the specified sizes.
+ MinCount *int `json:"minCount,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when auto scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS
+ // will use the next size.
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &AutoScaleProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *AutoScaleProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &AutoScaleProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *AutoScaleProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(AutoScaleProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected AutoScaleProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "MaxCount":
+ if typedInput.MaxCount != nil {
+ maxCount := *typedInput.MaxCount
+ profile.MaxCount = &maxCount
+ }
+
+ // Set property "MinCount":
+ if typedInput.MinCount != nil {
+ minCount := *typedInput.MinCount
+ profile.MinCount = &minCount
+ }
+
+ // Set property "Sizes":
+ for _, item := range typedInput.Sizes {
+ profile.Sizes = append(profile.Sizes, item)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_AutoScaleProfile_STATUS populates our AutoScaleProfile_STATUS from the provided source AutoScaleProfile_STATUS
+func (profile *AutoScaleProfile_STATUS) AssignProperties_From_AutoScaleProfile_STATUS(source *storage.AutoScaleProfile_STATUS) error {
+
+ // MaxCount
+ profile.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MinCount
+ profile.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Sizes
+ profile.Sizes = genruntime.CloneSliceOfString(source.Sizes)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AutoScaleProfile_STATUS populates the provided destination AutoScaleProfile_STATUS from our AutoScaleProfile_STATUS
+func (profile *AutoScaleProfile_STATUS) AssignProperties_To_AutoScaleProfile_STATUS(destination *storage.AutoScaleProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(profile.MaxCount)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(profile.MinCount)
+
+ // Sizes
+ destination.Sizes = genruntime.CloneSliceOfString(profile.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on number of machines.
+type ManualScaleProfile struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS will
+ // use the next size.
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManualScaleProfile{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (profile *ManualScaleProfile) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if profile == nil {
+ return nil, nil
+ }
+ result := &ManualScaleProfile_ARM{}
+
+ // Set property "Count":
+ if profile.Count != nil {
+ count := *profile.Count
+ result.Count = &count
+ }
+
+ // Set property "Sizes":
+ for _, item := range profile.Sizes {
+ result.Sizes = append(result.Sizes, item)
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManualScaleProfile) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManualScaleProfile_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManualScaleProfile) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManualScaleProfile_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManualScaleProfile_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ profile.Count = &count
+ }
+
+ // Set property "Sizes":
+ for _, item := range typedInput.Sizes {
+ profile.Sizes = append(profile.Sizes, item)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManualScaleProfile populates our ManualScaleProfile from the provided source ManualScaleProfile
+func (profile *ManualScaleProfile) AssignProperties_From_ManualScaleProfile(source *storage.ManualScaleProfile) error {
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Sizes
+ profile.Sizes = genruntime.CloneSliceOfString(source.Sizes)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManualScaleProfile populates the provided destination ManualScaleProfile from our ManualScaleProfile
+func (profile *ManualScaleProfile) AssignProperties_To_ManualScaleProfile(destination *storage.ManualScaleProfile) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Sizes
+ destination.Sizes = genruntime.CloneSliceOfString(profile.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// Specifications on number of machines.
+type ManualScaleProfile_STATUS struct {
+ // Count: Number of nodes.
+ Count *int `json:"count,omitempty"`
+
+ // Sizes: The list of allowed vm sizes e.g. ['Standard_E4s_v3', 'Standard_E16s_v3', 'Standard_D16s_v5']. AKS will use the
+ // first available one when scaling. If a VM size is unavailable (e.g. due to quota or regional capacity reasons), AKS will
+ // use the next size.
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+var _ genruntime.FromARMConverter = &ManualScaleProfile_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (profile *ManualScaleProfile_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManualScaleProfile_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (profile *ManualScaleProfile_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManualScaleProfile_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManualScaleProfile_STATUS_ARM, got %T", armInput)
+ }
+
+ // Set property "Count":
+ if typedInput.Count != nil {
+ count := *typedInput.Count
+ profile.Count = &count
+ }
+
+ // Set property "Sizes":
+ for _, item := range typedInput.Sizes {
+ profile.Sizes = append(profile.Sizes, item)
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManualScaleProfile_STATUS populates our ManualScaleProfile_STATUS from the provided source ManualScaleProfile_STATUS
+func (profile *ManualScaleProfile_STATUS) AssignProperties_From_ManualScaleProfile_STATUS(source *storage.ManualScaleProfile_STATUS) error {
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Sizes
+ profile.Sizes = genruntime.CloneSliceOfString(source.Sizes)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManualScaleProfile_STATUS populates the provided destination ManualScaleProfile_STATUS from our ManualScaleProfile_STATUS
+func (profile *ManualScaleProfile_STATUS) AssignProperties_To_ManualScaleProfile_STATUS(destination *storage.ManualScaleProfile_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Sizes
+ destination.Sizes = genruntime.CloneSliceOfString(profile.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// +kubebuilder:validation:Enum={"TCP","UDP"}
+type PortRange_Protocol string
+
+const (
+ PortRange_Protocol_TCP = PortRange_Protocol("TCP")
+ PortRange_Protocol_UDP = PortRange_Protocol("UDP")
+)
+
+// Mapping from string to PortRange_Protocol
+var portRange_Protocol_Values = map[string]PortRange_Protocol{
+ "tcp": PortRange_Protocol_TCP,
+ "udp": PortRange_Protocol_UDP,
+}
+
+type PortRange_Protocol_STATUS string
+
+const (
+ PortRange_Protocol_STATUS_TCP = PortRange_Protocol_STATUS("TCP")
+ PortRange_Protocol_STATUS_UDP = PortRange_Protocol_STATUS("UDP")
+)
+
+// Mapping from string to PortRange_Protocol_STATUS
+var portRange_Protocol_STATUS_Values = map[string]PortRange_Protocol_STATUS{
+ "tcp": PortRange_Protocol_STATUS_TCP,
+ "udp": PortRange_Protocol_STATUS_UDP,
+}
+
+func init() {
+ SchemeBuilder.Register(&ManagedClustersAgentPool{}, &ManagedClustersAgentPoolList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_trusted_access_role_binding_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_trusted_access_role_binding_spec_arm_types_gen.go
new file mode 100644
index 0000000000..ace523dfbc
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_trusted_access_role_binding_spec_arm_types_gen.go
@@ -0,0 +1,38 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+
+type ManagedClusters_TrustedAccessRoleBinding_Spec_ARM struct {
+ Name string `json:"name,omitempty"`
+
+ // Properties: Properties for trusted access role binding
+ Properties *TrustedAccessRoleBindingProperties_ARM `json:"properties,omitempty"`
+}
+
+var _ genruntime.ARMResourceSpec = &ManagedClusters_TrustedAccessRoleBinding_Spec_ARM{}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (binding ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetName returns the Name of the resource
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) GetName() string {
+ return binding.Name
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+}
+
+// Properties for trusted access role binding
+type TrustedAccessRoleBindingProperties_ARM struct {
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles"`
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
new file mode 100644
index 0000000000..d217bfa2cd
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/managed_clusters_trusted_access_role_binding_status_arm_types_gen.go
@@ -0,0 +1,54 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+type ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM struct {
+ // Id: Fully qualified resource ID for the resource. E.g.
+ // "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the resource
+ Name *string `json:"name,omitempty"`
+
+ // Properties: Properties for trusted access role binding
+ Properties *TrustedAccessRoleBindingProperties_STATUS_ARM `json:"properties,omitempty"`
+
+ // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData_STATUS_ARM `json:"systemData,omitempty"`
+
+ // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string `json:"type,omitempty"`
+}
+
+// Properties for trusted access role binding
+type TrustedAccessRoleBindingProperties_STATUS_ARM struct {
+ // ProvisioningState: The current provisioning state of trusted access role binding.
+ ProvisioningState *TrustedAccessRoleBindingProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
+
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles"`
+
+ // SourceResourceId: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
+
+type TrustedAccessRoleBindingProperties_ProvisioningState_STATUS string
+
+const (
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Canceled = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Canceled")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Deleting = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Deleting")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Failed = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Failed")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Succeeded = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Succeeded")
+ TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Updating = TrustedAccessRoleBindingProperties_ProvisioningState_STATUS("Updating")
+)
+
+// Mapping from string to TrustedAccessRoleBindingProperties_ProvisioningState_STATUS
+var trustedAccessRoleBindingProperties_ProvisioningState_STATUS_Values = map[string]TrustedAccessRoleBindingProperties_ProvisioningState_STATUS{
+ "canceled": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Canceled,
+ "deleting": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Deleting,
+ "failed": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Failed,
+ "succeeded": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Succeeded,
+ "updating": TrustedAccessRoleBindingProperties_ProvisioningState_STATUS_Updating,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/groupversion_info_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/groupversion_info_gen.go
new file mode 100644
index 0000000000..41beb84e6a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/groupversion_info_gen.go
@@ -0,0 +1,32 @@
+/*
+Copyright (c) Microsoft Corporation.
+Licensed under the MIT license.
+*/
+
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+
+// Package storage contains API Schema definitions for the containerservice storage API group
+// +kubebuilder:object:generate=true
+// All object properties are optional by default, this will be overridden when needed:
+// +kubebuilder:validation:Optional
+// +groupName=containerservice.azure.com
+// +versionName=v1api20240402previewstorage
+package storage
+
+import (
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/scheme"
+)
+
+var (
+ // GroupVersion is group version used to register these objects
+ GroupVersion = schema.GroupVersion{Group: "containerservice.azure.com", Version: "v1api20240402previewstorage"}
+
+ // SchemeBuilder is used to add go types to the GroupVersionKind scheme
+ SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
+
+ // AddToScheme adds the types in this group-version to the given scheme.
+ AddToScheme = SchemeBuilder.AddToScheme
+
+ localSchemeBuilder = SchemeBuilder.SchemeBuilder
+)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/managed_cluster_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/managed_cluster_types_gen.go
new file mode 100644
index 0000000000..9c8ba948e3
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/managed_cluster_types_gen.go
@@ -0,0 +1,20640 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package storage
+
+import (
+ "context"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
+ "github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps"
+ "github.com/go-logr/logr"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/client"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Storage version of v1api20240402preview.ManagedCluster
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
+type ManagedCluster struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedCluster_Spec `json:"spec,omitempty"`
+ Status ManagedCluster_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &ManagedCluster{}
+
+// GetConditions returns the conditions of the resource
+func (cluster *ManagedCluster) GetConditions() conditions.Conditions {
+ return cluster.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (cluster *ManagedCluster) SetConditions(conditions conditions.Conditions) {
+ cluster.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &ManagedCluster{}
+
+// ConvertFrom populates our ManagedCluster from the provided hub ManagedCluster
+func (cluster *ManagedCluster) ConvertFrom(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var source storage.ManagedCluster
+
+ err := source.ConvertFrom(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from hub to source")
+ }
+
+ err = cluster.AssignProperties_From_ManagedCluster(&source)
+ if err != nil {
+ return errors.Wrap(err, "converting from source to cluster")
+ }
+
+ return nil
+}
+
+// ConvertTo populates the provided hub ManagedCluster from our ManagedCluster
+func (cluster *ManagedCluster) ConvertTo(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var destination storage.ManagedCluster
+ err := cluster.AssignProperties_To_ManagedCluster(&destination)
+ if err != nil {
+ return errors.Wrap(err, "converting to destination from cluster")
+ }
+ err = destination.ConvertTo(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from destination to hub")
+ }
+
+ return nil
+}
+
+var _ genruntime.KubernetesExporter = &ManagedCluster{}
+
+// ExportKubernetesResources defines a resource which can create other resources in Kubernetes.
+func (cluster *ManagedCluster) ExportKubernetesResources(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error) {
+ collector := configmaps.NewCollector(cluster.Namespace)
+ if cluster.Spec.OperatorSpec != nil && cluster.Spec.OperatorSpec.ConfigMaps != nil {
+ if cluster.Status.OidcIssuerProfile != nil {
+ if cluster.Status.OidcIssuerProfile.IssuerURL != nil {
+ collector.AddValue(cluster.Spec.OperatorSpec.ConfigMaps.OIDCIssuerProfile, *cluster.Status.OidcIssuerProfile.IssuerURL)
+ }
+ }
+ }
+ result, err := collector.Values()
+ if err != nil {
+ return nil, err
+ }
+ return configmaps.SliceToClientObjectSlice(result), nil
+}
+
+var _ genruntime.KubernetesResource = &ManagedCluster{}
+
+// AzureName returns the Azure name of the resource
+func (cluster *ManagedCluster) AzureName() string {
+ return cluster.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (cluster ManagedCluster) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (cluster *ManagedCluster) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (cluster *ManagedCluster) GetSpec() genruntime.ConvertibleSpec {
+ return &cluster.Spec
+}
+
+// GetStatus returns the status of this resource
+func (cluster *ManagedCluster) GetStatus() genruntime.ConvertibleStatus {
+ return &cluster.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (cluster *ManagedCluster) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters"
+func (cluster *ManagedCluster) GetType() string {
+ return "Microsoft.ContainerService/managedClusters"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (cluster *ManagedCluster) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedCluster_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (cluster *ManagedCluster) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(cluster.Spec)
+ return cluster.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (cluster *ManagedCluster) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedCluster_STATUS); ok {
+ cluster.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedCluster_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ cluster.Status = st
+ return nil
+}
+
+// AssignProperties_From_ManagedCluster populates our ManagedCluster from the provided source ManagedCluster
+func (cluster *ManagedCluster) AssignProperties_From_ManagedCluster(source *storage.ManagedCluster) error {
+
+ // ObjectMeta
+ cluster.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedCluster_Spec
+ err := spec.AssignProperties_From_ManagedCluster_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedCluster_Spec() to populate field Spec")
+ }
+ cluster.Spec = spec
+
+ // Status
+ var status ManagedCluster_STATUS
+ err = status.AssignProperties_From_ManagedCluster_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedCluster_STATUS() to populate field Status")
+ }
+ cluster.Status = status
+
+ // Invoke the augmentConversionForManagedCluster interface (if implemented) to customize the conversion
+ var clusterAsAny any = cluster
+ if augmentedCluster, ok := clusterAsAny.(augmentConversionForManagedCluster); ok {
+ err := augmentedCluster.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedCluster populates the provided destination ManagedCluster from our ManagedCluster
+func (cluster *ManagedCluster) AssignProperties_To_ManagedCluster(destination *storage.ManagedCluster) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *cluster.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec storage.ManagedCluster_Spec
+ err := cluster.Spec.AssignProperties_To_ManagedCluster_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status storage.ManagedCluster_STATUS
+ err = cluster.Status.AssignProperties_To_ManagedCluster_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedCluster_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // Invoke the augmentConversionForManagedCluster interface (if implemented) to customize the conversion
+ var clusterAsAny any = cluster
+ if augmentedCluster, ok := clusterAsAny.(augmentConversionForManagedCluster); ok {
+ err := augmentedCluster.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (cluster *ManagedCluster) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: cluster.Spec.OriginalVersion,
+ Kind: "ManagedCluster",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Storage version of v1api20240402preview.ManagedCluster
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}
+type ManagedClusterList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []ManagedCluster `json:"items"`
+}
+
+// Storage version of v1api20240402preview.APIVersion
+// +kubebuilder:validation:Enum={"2024-04-02-preview"}
+type APIVersion string
+
+const APIVersion_Value = APIVersion("2024-04-02-preview")
+
+type augmentConversionForManagedCluster interface {
+ AssignPropertiesFrom(src *storage.ManagedCluster) error
+ AssignPropertiesTo(dst *storage.ManagedCluster) error
+}
+
+// Storage version of v1api20240402preview.ManagedCluster_Spec
+type ManagedCluster_Spec struct {
+ AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"`
+ AddonProfiles map[string]ManagedClusterAddonProfile `json:"addonProfiles,omitempty"`
+ AgentPoolProfiles []ManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"`
+ AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile `json:"aiToolchainOperatorProfile,omitempty"`
+ ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile `json:"apiServerAccessProfile,omitempty"`
+ AutoScalerProfile *ManagedClusterProperties_AutoScalerProfile `json:"autoScalerProfile,omitempty"`
+ AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"`
+ AzureMonitorProfile *ManagedClusterAzureMonitorProfile `json:"azureMonitorProfile,omitempty"`
+
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+ BootstrapProfile *ManagedClusterBootstrapProfile `json:"bootstrapProfile,omitempty"`
+ CreationData *CreationData `json:"creationData,omitempty"`
+ DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"`
+
+ // DiskEncryptionSetReference: This is of the form:
+ // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{encryptionSetName}'
+ DiskEncryptionSetReference *genruntime.ResourceReference `armReference:"DiskEncryptionSetID" json:"diskEncryptionSetReference,omitempty"`
+ DnsPrefix *string `json:"dnsPrefix,omitempty"`
+ EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"`
+ EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"`
+ EnableRBAC *bool `json:"enableRBAC,omitempty"`
+ ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"`
+ FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"`
+ HttpProxyConfig *ManagedClusterHTTPProxyConfig `json:"httpProxyConfig,omitempty"`
+ Identity *ManagedClusterIdentity `json:"identity,omitempty"`
+ IdentityProfile map[string]UserAssignedIdentity `json:"identityProfile,omitempty"`
+ IngressProfile *ManagedClusterIngressProfile `json:"ingressProfile,omitempty"`
+ Kind *string `json:"kind,omitempty"`
+ KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
+ LinuxProfile *ContainerServiceLinuxProfile `json:"linuxProfile,omitempty"`
+ Location *string `json:"location,omitempty"`
+ MetricsProfile *ManagedClusterMetricsProfile `json:"metricsProfile,omitempty"`
+ NetworkProfile *ContainerServiceNetworkProfile `json:"networkProfile,omitempty"`
+ NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile `json:"nodeProvisioningProfile,omitempty"`
+ NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"`
+ NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile `json:"nodeResourceGroupProfile,omitempty"`
+ OidcIssuerProfile *ManagedClusterOIDCIssuerProfile `json:"oidcIssuerProfile,omitempty"`
+ OperatorSpec *ManagedClusterOperatorSpec `json:"operatorSpec,omitempty"`
+ OriginalVersion string `json:"originalVersion,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a resources.azure.com/ResourceGroup resource
+ Owner *genruntime.KnownResourceReference `group:"resources.azure.com" json:"owner,omitempty" kind:"ResourceGroup"`
+ PodIdentityProfile *ManagedClusterPodIdentityProfile `json:"podIdentityProfile,omitempty"`
+ PrivateLinkResources []PrivateLinkResource `json:"privateLinkResources,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicNetworkAccess *string `json:"publicNetworkAccess,omitempty"`
+ SafeguardsProfile *SafeguardsProfile `json:"safeguardsProfile,omitempty"`
+ SecurityProfile *ManagedClusterSecurityProfile `json:"securityProfile,omitempty"`
+ ServiceMeshProfile *ServiceMeshProfile `json:"serviceMeshProfile,omitempty"`
+ ServicePrincipalProfile *ManagedClusterServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"`
+ Sku *ManagedClusterSKU `json:"sku,omitempty"`
+ StorageProfile *ManagedClusterStorageProfile `json:"storageProfile,omitempty"`
+ SupportPlan *string `json:"supportPlan,omitempty"`
+ Tags map[string]string `json:"tags,omitempty" serializationType:"explicitEmptyCollection"`
+ UpgradeSettings *ClusterUpgradeSettings `json:"upgradeSettings,omitempty"`
+ WindowsProfile *ManagedClusterWindowsProfile `json:"windowsProfile,omitempty"`
+ WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile `json:"workloadAutoScalerProfile,omitempty"`
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedCluster_Spec{}
+
+// ConvertSpecFrom populates our ManagedCluster_Spec from the provided source
+func (cluster *ManagedCluster_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*storage.ManagedCluster_Spec)
+ if ok {
+ // Populate our instance from source
+ return cluster.AssignProperties_From_ManagedCluster_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedCluster_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = cluster.AssignProperties_From_ManagedCluster_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedCluster_Spec
+func (cluster *ManagedCluster_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*storage.ManagedCluster_Spec)
+ if ok {
+ // Populate destination from our instance
+ return cluster.AssignProperties_To_ManagedCluster_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedCluster_Spec{}
+ err := cluster.AssignProperties_To_ManagedCluster_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedCluster_Spec populates our ManagedCluster_Spec from the provided source ManagedCluster_Spec
+func (cluster *ManagedCluster_Spec) AssignProperties_From_ManagedCluster_Spec(source *storage.ManagedCluster_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AadProfile
+ if source.AadProfile != nil {
+ var aadProfile ManagedClusterAADProfile
+ err := aadProfile.AssignProperties_From_ManagedClusterAADProfile(source.AadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAADProfile() to populate field AadProfile")
+ }
+ cluster.AadProfile = &aadProfile
+ } else {
+ cluster.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if source.AddonProfiles != nil {
+ addonProfileMap := make(map[string]ManagedClusterAddonProfile, len(source.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range source.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile ManagedClusterAddonProfile
+ err := addonProfile.AssignProperties_From_ManagedClusterAddonProfile(&addonProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAddonProfile() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ cluster.AddonProfiles = addonProfileMap
+ } else {
+ cluster.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if source.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]ManagedClusterAgentPoolProfile, len(source.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range source.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile ManagedClusterAgentPoolProfile
+ err := agentPoolProfile.AssignProperties_From_ManagedClusterAgentPoolProfile(&agentPoolProfileItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ cluster.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ cluster.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if source.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile ManagedClusterAIToolchainOperatorProfile
+ err := aiToolchainOperatorProfile.AssignProperties_From_ManagedClusterAIToolchainOperatorProfile(source.AiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAIToolchainOperatorProfile() to populate field AiToolchainOperatorProfile")
+ }
+ cluster.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ cluster.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if source.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile ManagedClusterAPIServerAccessProfile
+ err := apiServerAccessProfile.AssignProperties_From_ManagedClusterAPIServerAccessProfile(source.ApiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
+ }
+ cluster.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ cluster.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if source.AutoScalerProfile != nil {
+ var autoScalerProfile ManagedClusterProperties_AutoScalerProfile
+ err := autoScalerProfile.AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source.AutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
+ }
+ cluster.AutoScalerProfile = &autoScalerProfile
+ } else {
+ cluster.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if source.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile ManagedClusterAutoUpgradeProfile
+ err := autoUpgradeProfile.AssignProperties_From_ManagedClusterAutoUpgradeProfile(source.AutoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
+ }
+ cluster.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ cluster.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if source.AzureMonitorProfile != nil {
+ var azureMonitorProfile ManagedClusterAzureMonitorProfile
+ err := azureMonitorProfile.AssignProperties_From_ManagedClusterAzureMonitorProfile(source.AzureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
+ }
+ cluster.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ cluster.AzureMonitorProfile = nil
+ }
+
+ // AzureName
+ cluster.AzureName = source.AzureName
+
+ // BootstrapProfile
+ if propertyBag.Contains("BootstrapProfile") {
+ var bootstrapProfile ManagedClusterBootstrapProfile
+ err := propertyBag.Pull("BootstrapProfile", &bootstrapProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'BootstrapProfile' from propertyBag")
+ }
+
+ cluster.BootstrapProfile = &bootstrapProfile
+ } else {
+ cluster.BootstrapProfile = nil
+ }
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData
+ err := creationDatum.AssignProperties_From_CreationData(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData() to populate field CreationData")
+ }
+ cluster.CreationData = &creationDatum
+ } else {
+ cluster.CreationData = nil
+ }
+
+ // DisableLocalAccounts
+ if source.DisableLocalAccounts != nil {
+ disableLocalAccount := *source.DisableLocalAccounts
+ cluster.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ cluster.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetReference
+ if source.DiskEncryptionSetReference != nil {
+ diskEncryptionSetReference := source.DiskEncryptionSetReference.Copy()
+ cluster.DiskEncryptionSetReference = &diskEncryptionSetReference
+ } else {
+ cluster.DiskEncryptionSetReference = nil
+ }
+
+ // DnsPrefix
+ cluster.DnsPrefix = genruntime.ClonePointerToString(source.DnsPrefix)
+
+ // EnableNamespaceResources
+ if source.EnableNamespaceResources != nil {
+ enableNamespaceResource := *source.EnableNamespaceResources
+ cluster.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ cluster.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if source.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *source.EnablePodSecurityPolicy
+ cluster.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ cluster.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if source.EnableRBAC != nil {
+ enableRBAC := *source.EnableRBAC
+ cluster.EnableRBAC = &enableRBAC
+ } else {
+ cluster.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if source.ExtendedLocation != nil {
+ var extendedLocation ExtendedLocation
+ err := extendedLocation.AssignProperties_From_ExtendedLocation(source.ExtendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ExtendedLocation() to populate field ExtendedLocation")
+ }
+ cluster.ExtendedLocation = &extendedLocation
+ } else {
+ cluster.ExtendedLocation = nil
+ }
+
+ // FqdnSubdomain
+ cluster.FqdnSubdomain = genruntime.ClonePointerToString(source.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if source.HttpProxyConfig != nil {
+ var httpProxyConfig ManagedClusterHTTPProxyConfig
+ err := httpProxyConfig.AssignProperties_From_ManagedClusterHTTPProxyConfig(source.HttpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
+ }
+ cluster.HttpProxyConfig = &httpProxyConfig
+ } else {
+ cluster.HttpProxyConfig = nil
+ }
+
+ // Identity
+ if source.Identity != nil {
+ var identity ManagedClusterIdentity
+ err := identity.AssignProperties_From_ManagedClusterIdentity(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIdentity() to populate field Identity")
+ }
+ cluster.Identity = &identity
+ } else {
+ cluster.Identity = nil
+ }
+
+ // IdentityProfile
+ if source.IdentityProfile != nil {
+ identityProfileMap := make(map[string]UserAssignedIdentity, len(source.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range source.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile UserAssignedIdentity
+ err := identityProfile.AssignProperties_From_UserAssignedIdentity(&identityProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ cluster.IdentityProfile = identityProfileMap
+ } else {
+ cluster.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if source.IngressProfile != nil {
+ var ingressProfile ManagedClusterIngressProfile
+ err := ingressProfile.AssignProperties_From_ManagedClusterIngressProfile(source.IngressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfile() to populate field IngressProfile")
+ }
+ cluster.IngressProfile = &ingressProfile
+ } else {
+ cluster.IngressProfile = nil
+ }
+
+ // Kind
+ if propertyBag.Contains("Kind") {
+ var kind string
+ err := propertyBag.Pull("Kind", &kind)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Kind' from propertyBag")
+ }
+
+ cluster.Kind = &kind
+ } else {
+ cluster.Kind = nil
+ }
+
+ // KubernetesVersion
+ cluster.KubernetesVersion = genruntime.ClonePointerToString(source.KubernetesVersion)
+
+ // LinuxProfile
+ if source.LinuxProfile != nil {
+ var linuxProfile ContainerServiceLinuxProfile
+ err := linuxProfile.AssignProperties_From_ContainerServiceLinuxProfile(source.LinuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceLinuxProfile() to populate field LinuxProfile")
+ }
+ cluster.LinuxProfile = &linuxProfile
+ } else {
+ cluster.LinuxProfile = nil
+ }
+
+ // Location
+ cluster.Location = genruntime.ClonePointerToString(source.Location)
+
+ // MetricsProfile
+ if source.MetricsProfile != nil {
+ var metricsProfile ManagedClusterMetricsProfile
+ err := metricsProfile.AssignProperties_From_ManagedClusterMetricsProfile(source.MetricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterMetricsProfile() to populate field MetricsProfile")
+ }
+ cluster.MetricsProfile = &metricsProfile
+ } else {
+ cluster.MetricsProfile = nil
+ }
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile ContainerServiceNetworkProfile
+ err := networkProfile.AssignProperties_From_ContainerServiceNetworkProfile(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile() to populate field NetworkProfile")
+ }
+ cluster.NetworkProfile = &networkProfile
+ } else {
+ cluster.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if source.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile ManagedClusterNodeProvisioningProfile
+ err := nodeProvisioningProfile.AssignProperties_From_ManagedClusterNodeProvisioningProfile(source.NodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeProvisioningProfile() to populate field NodeProvisioningProfile")
+ }
+ cluster.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ cluster.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ cluster.NodeResourceGroup = genruntime.ClonePointerToString(source.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if source.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile ManagedClusterNodeResourceGroupProfile
+ err := nodeResourceGroupProfile.AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source.NodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeResourceGroupProfile() to populate field NodeResourceGroupProfile")
+ }
+ cluster.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ cluster.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if source.OidcIssuerProfile != nil {
+ var oidcIssuerProfile ManagedClusterOIDCIssuerProfile
+ err := oidcIssuerProfile.AssignProperties_From_ManagedClusterOIDCIssuerProfile(source.OidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
+ }
+ cluster.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ cluster.OidcIssuerProfile = nil
+ }
+
+ // OperatorSpec
+ if source.OperatorSpec != nil {
+ var operatorSpec ManagedClusterOperatorSpec
+ err := operatorSpec.AssignProperties_From_ManagedClusterOperatorSpec(source.OperatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOperatorSpec() to populate field OperatorSpec")
+ }
+ cluster.OperatorSpec = &operatorSpec
+ } else {
+ cluster.OperatorSpec = nil
+ }
+
+ // OriginalVersion
+ cluster.OriginalVersion = source.OriginalVersion
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ cluster.Owner = &owner
+ } else {
+ cluster.Owner = nil
+ }
+
+ // PodIdentityProfile
+ if source.PodIdentityProfile != nil {
+ var podIdentityProfile ManagedClusterPodIdentityProfile
+ err := podIdentityProfile.AssignProperties_From_ManagedClusterPodIdentityProfile(source.PodIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
+ }
+ cluster.PodIdentityProfile = &podIdentityProfile
+ } else {
+ cluster.PodIdentityProfile = nil
+ }
+
+ // PrivateLinkResources
+ if source.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]PrivateLinkResource, len(source.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range source.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource PrivateLinkResource
+ err := privateLinkResource.AssignProperties_From_PrivateLinkResource(&privateLinkResourceItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PrivateLinkResource() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ cluster.PrivateLinkResources = privateLinkResourceList
+ } else {
+ cluster.PrivateLinkResources = nil
+ }
+
+ // PublicNetworkAccess
+ cluster.PublicNetworkAccess = genruntime.ClonePointerToString(source.PublicNetworkAccess)
+
+ // SafeguardsProfile
+ if source.SafeguardsProfile != nil {
+ var safeguardsProfile SafeguardsProfile
+ err := safeguardsProfile.AssignProperties_From_SafeguardsProfile(source.SafeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SafeguardsProfile() to populate field SafeguardsProfile")
+ }
+ cluster.SafeguardsProfile = &safeguardsProfile
+ } else {
+ cluster.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile ManagedClusterSecurityProfile
+ err := securityProfile.AssignProperties_From_ManagedClusterSecurityProfile(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfile() to populate field SecurityProfile")
+ }
+ cluster.SecurityProfile = &securityProfile
+ } else {
+ cluster.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if source.ServiceMeshProfile != nil {
+ var serviceMeshProfile ServiceMeshProfile
+ err := serviceMeshProfile.AssignProperties_From_ServiceMeshProfile(source.ServiceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ServiceMeshProfile() to populate field ServiceMeshProfile")
+ }
+ cluster.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ cluster.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if source.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile ManagedClusterServicePrincipalProfile
+ err := servicePrincipalProfile.AssignProperties_From_ManagedClusterServicePrincipalProfile(source.ServicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
+ }
+ cluster.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ cluster.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if source.Sku != nil {
+ var sku ManagedClusterSKU
+ err := sku.AssignProperties_From_ManagedClusterSKU(source.Sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSKU() to populate field Sku")
+ }
+ cluster.Sku = &sku
+ } else {
+ cluster.Sku = nil
+ }
+
+ // StorageProfile
+ if source.StorageProfile != nil {
+ var storageProfile ManagedClusterStorageProfile
+ err := storageProfile.AssignProperties_From_ManagedClusterStorageProfile(source.StorageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfile() to populate field StorageProfile")
+ }
+ cluster.StorageProfile = &storageProfile
+ } else {
+ cluster.StorageProfile = nil
+ }
+
+ // SupportPlan
+ cluster.SupportPlan = genruntime.ClonePointerToString(source.SupportPlan)
+
+ // Tags
+ cluster.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting ClusterUpgradeSettings
+ err := upgradeSetting.AssignProperties_From_ClusterUpgradeSettings(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ClusterUpgradeSettings() to populate field UpgradeSettings")
+ }
+ cluster.UpgradeSettings = &upgradeSetting
+ } else {
+ cluster.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile ManagedClusterWindowsProfile
+ err := windowsProfile.AssignProperties_From_ManagedClusterWindowsProfile(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWindowsProfile() to populate field WindowsProfile")
+ }
+ cluster.WindowsProfile = &windowsProfile
+ } else {
+ cluster.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if source.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile ManagedClusterWorkloadAutoScalerProfile
+ err := workloadAutoScalerProfile.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source.WorkloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
+ }
+ cluster.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ cluster.WorkloadAutoScalerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ cluster.PropertyBag = propertyBag
+ } else {
+ cluster.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedCluster_Spec interface (if implemented) to customize the conversion
+ var clusterAsAny any = cluster
+ if augmentedCluster, ok := clusterAsAny.(augmentConversionForManagedCluster_Spec); ok {
+ err := augmentedCluster.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedCluster_Spec populates the provided destination ManagedCluster_Spec from our ManagedCluster_Spec
+func (cluster *ManagedCluster_Spec) AssignProperties_To_ManagedCluster_Spec(destination *storage.ManagedCluster_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(cluster.PropertyBag)
+
+ // AadProfile
+ if cluster.AadProfile != nil {
+ var aadProfile storage.ManagedClusterAADProfile
+ err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile(&aadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile() to populate field AadProfile")
+ }
+ destination.AadProfile = &aadProfile
+ } else {
+ destination.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if cluster.AddonProfiles != nil {
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile, len(cluster.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile storage.ManagedClusterAddonProfile
+ err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile(&addonProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ destination.AddonProfiles = addonProfileMap
+ } else {
+ destination.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if cluster.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile, len(cluster.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile
+ err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile(&agentPoolProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ destination.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ destination.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if cluster.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile storage.ManagedClusterAIToolchainOperatorProfile
+ err := cluster.AiToolchainOperatorProfile.AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(&aiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAIToolchainOperatorProfile() to populate field AiToolchainOperatorProfile")
+ }
+ destination.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ destination.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if cluster.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile
+ err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile(&apiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile() to populate field ApiServerAccessProfile")
+ }
+ destination.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ destination.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if cluster.AutoScalerProfile != nil {
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile
+ err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(&autoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile() to populate field AutoScalerProfile")
+ }
+ destination.AutoScalerProfile = &autoScalerProfile
+ } else {
+ destination.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if cluster.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile
+ err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile(&autoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile() to populate field AutoUpgradeProfile")
+ }
+ destination.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ destination.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if cluster.AzureMonitorProfile != nil {
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile
+ err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile(&azureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile() to populate field AzureMonitorProfile")
+ }
+ destination.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ destination.AzureMonitorProfile = nil
+ }
+
+ // AzureName
+ destination.AzureName = cluster.AzureName
+
+ // BootstrapProfile
+ if cluster.BootstrapProfile != nil {
+ propertyBag.Add("BootstrapProfile", *cluster.BootstrapProfile)
+ } else {
+ propertyBag.Remove("BootstrapProfile")
+ }
+
+ // CreationData
+ if cluster.CreationData != nil {
+ var creationDatum storage.CreationData
+ err := cluster.CreationData.AssignProperties_To_CreationData(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // DisableLocalAccounts
+ if cluster.DisableLocalAccounts != nil {
+ disableLocalAccount := *cluster.DisableLocalAccounts
+ destination.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ destination.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetReference
+ if cluster.DiskEncryptionSetReference != nil {
+ diskEncryptionSetReference := cluster.DiskEncryptionSetReference.Copy()
+ destination.DiskEncryptionSetReference = &diskEncryptionSetReference
+ } else {
+ destination.DiskEncryptionSetReference = nil
+ }
+
+ // DnsPrefix
+ destination.DnsPrefix = genruntime.ClonePointerToString(cluster.DnsPrefix)
+
+ // EnableNamespaceResources
+ if cluster.EnableNamespaceResources != nil {
+ enableNamespaceResource := *cluster.EnableNamespaceResources
+ destination.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ destination.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if cluster.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *cluster.EnablePodSecurityPolicy
+ destination.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ destination.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if cluster.EnableRBAC != nil {
+ enableRBAC := *cluster.EnableRBAC
+ destination.EnableRBAC = &enableRBAC
+ } else {
+ destination.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if cluster.ExtendedLocation != nil {
+ var extendedLocation storage.ExtendedLocation
+ err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
+ }
+ destination.ExtendedLocation = &extendedLocation
+ } else {
+ destination.ExtendedLocation = nil
+ }
+
+ // FqdnSubdomain
+ destination.FqdnSubdomain = genruntime.ClonePointerToString(cluster.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if cluster.HttpProxyConfig != nil {
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig
+ err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig(&httpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig() to populate field HttpProxyConfig")
+ }
+ destination.HttpProxyConfig = &httpProxyConfig
+ } else {
+ destination.HttpProxyConfig = nil
+ }
+
+ // Identity
+ if cluster.Identity != nil {
+ var identity storage.ManagedClusterIdentity
+ err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // IdentityProfile
+ if cluster.IdentityProfile != nil {
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity, len(cluster.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile storage.UserAssignedIdentity
+ err := identityProfileValue.AssignProperties_To_UserAssignedIdentity(&identityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ destination.IdentityProfile = identityProfileMap
+ } else {
+ destination.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if cluster.IngressProfile != nil {
+ var ingressProfile storage.ManagedClusterIngressProfile
+ err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile(&ingressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile() to populate field IngressProfile")
+ }
+ destination.IngressProfile = &ingressProfile
+ } else {
+ destination.IngressProfile = nil
+ }
+
+ // Kind
+ if cluster.Kind != nil {
+ propertyBag.Add("Kind", *cluster.Kind)
+ } else {
+ propertyBag.Remove("Kind")
+ }
+
+ // KubernetesVersion
+ destination.KubernetesVersion = genruntime.ClonePointerToString(cluster.KubernetesVersion)
+
+ // LinuxProfile
+ if cluster.LinuxProfile != nil {
+ var linuxProfile storage.ContainerServiceLinuxProfile
+ err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile(&linuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile() to populate field LinuxProfile")
+ }
+ destination.LinuxProfile = &linuxProfile
+ } else {
+ destination.LinuxProfile = nil
+ }
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(cluster.Location)
+
+ // MetricsProfile
+ if cluster.MetricsProfile != nil {
+ var metricsProfile storage.ManagedClusterMetricsProfile
+ err := cluster.MetricsProfile.AssignProperties_To_ManagedClusterMetricsProfile(&metricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterMetricsProfile() to populate field MetricsProfile")
+ }
+ destination.MetricsProfile = &metricsProfile
+ } else {
+ destination.MetricsProfile = nil
+ }
+
+ // NetworkProfile
+ if cluster.NetworkProfile != nil {
+ var networkProfile storage.ContainerServiceNetworkProfile
+ err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if cluster.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile storage.ManagedClusterNodeProvisioningProfile
+ err := cluster.NodeProvisioningProfile.AssignProperties_To_ManagedClusterNodeProvisioningProfile(&nodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeProvisioningProfile() to populate field NodeProvisioningProfile")
+ }
+ destination.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ destination.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ destination.NodeResourceGroup = genruntime.ClonePointerToString(cluster.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if cluster.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile
+ err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile(&nodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile() to populate field NodeResourceGroupProfile")
+ }
+ destination.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ destination.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if cluster.OidcIssuerProfile != nil {
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile
+ err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile(&oidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile() to populate field OidcIssuerProfile")
+ }
+ destination.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ destination.OidcIssuerProfile = nil
+ }
+
+ // OperatorSpec
+ if cluster.OperatorSpec != nil {
+ var operatorSpec storage.ManagedClusterOperatorSpec
+ err := cluster.OperatorSpec.AssignProperties_To_ManagedClusterOperatorSpec(&operatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSpec() to populate field OperatorSpec")
+ }
+ destination.OperatorSpec = &operatorSpec
+ } else {
+ destination.OperatorSpec = nil
+ }
+
+ // OriginalVersion
+ destination.OriginalVersion = cluster.OriginalVersion
+
+ // Owner
+ if cluster.Owner != nil {
+ owner := cluster.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // PodIdentityProfile
+ if cluster.PodIdentityProfile != nil {
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile
+ err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile(&podIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile() to populate field PodIdentityProfile")
+ }
+ destination.PodIdentityProfile = &podIdentityProfile
+ } else {
+ destination.PodIdentityProfile = nil
+ }
+
+ // PrivateLinkResources
+ if cluster.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]storage.PrivateLinkResource, len(cluster.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource storage.PrivateLinkResource
+ err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource(&privateLinkResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ destination.PrivateLinkResources = privateLinkResourceList
+ } else {
+ destination.PrivateLinkResources = nil
+ }
+
+ // PublicNetworkAccess
+ destination.PublicNetworkAccess = genruntime.ClonePointerToString(cluster.PublicNetworkAccess)
+
+ // SafeguardsProfile
+ if cluster.SafeguardsProfile != nil {
+ var safeguardsProfile storage.SafeguardsProfile
+ err := cluster.SafeguardsProfile.AssignProperties_To_SafeguardsProfile(&safeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SafeguardsProfile() to populate field SafeguardsProfile")
+ }
+ destination.SafeguardsProfile = &safeguardsProfile
+ } else {
+ destination.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if cluster.SecurityProfile != nil {
+ var securityProfile storage.ManagedClusterSecurityProfile
+ err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if cluster.ServiceMeshProfile != nil {
+ var serviceMeshProfile storage.ServiceMeshProfile
+ err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile(&serviceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile() to populate field ServiceMeshProfile")
+ }
+ destination.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ destination.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if cluster.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile
+ err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile(&servicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile() to populate field ServicePrincipalProfile")
+ }
+ destination.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ destination.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if cluster.Sku != nil {
+ var sku storage.ManagedClusterSKU
+ err := cluster.Sku.AssignProperties_To_ManagedClusterSKU(&sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU() to populate field Sku")
+ }
+ destination.Sku = &sku
+ } else {
+ destination.Sku = nil
+ }
+
+ // StorageProfile
+ if cluster.StorageProfile != nil {
+ var storageProfile storage.ManagedClusterStorageProfile
+ err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile(&storageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile() to populate field StorageProfile")
+ }
+ destination.StorageProfile = &storageProfile
+ } else {
+ destination.StorageProfile = nil
+ }
+
+ // SupportPlan
+ destination.SupportPlan = genruntime.ClonePointerToString(cluster.SupportPlan)
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(cluster.Tags)
+
+ // UpgradeSettings
+ if cluster.UpgradeSettings != nil {
+ var upgradeSetting storage.ClusterUpgradeSettings
+ err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if cluster.WindowsProfile != nil {
+ var windowsProfile storage.ManagedClusterWindowsProfile
+ err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if cluster.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile
+ err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(&workloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile() to populate field WorkloadAutoScalerProfile")
+ }
+ destination.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ destination.WorkloadAutoScalerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedCluster_Spec interface (if implemented) to customize the conversion
+ var clusterAsAny any = cluster
+ if augmentedCluster, ok := clusterAsAny.(augmentConversionForManagedCluster_Spec); ok {
+ err := augmentedCluster.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedCluster_STATUS
+// Managed cluster.
+type ManagedCluster_STATUS struct {
+ AadProfile *ManagedClusterAADProfile_STATUS `json:"aadProfile,omitempty"`
+ AddonProfiles map[string]ManagedClusterAddonProfile_STATUS `json:"addonProfiles,omitempty"`
+ AgentPoolProfiles []ManagedClusterAgentPoolProfile_STATUS `json:"agentPoolProfiles,omitempty"`
+ AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile_STATUS `json:"aiToolchainOperatorProfile,omitempty"`
+ ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile_STATUS `json:"apiServerAccessProfile,omitempty"`
+ AutoScalerProfile *ManagedClusterProperties_AutoScalerProfile_STATUS `json:"autoScalerProfile,omitempty"`
+ AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile_STATUS `json:"autoUpgradeProfile,omitempty"`
+ AzureMonitorProfile *ManagedClusterAzureMonitorProfile_STATUS `json:"azureMonitorProfile,omitempty"`
+ AzurePortalFQDN *string `json:"azurePortalFQDN,omitempty"`
+ BootstrapProfile *ManagedClusterBootstrapProfile_STATUS `json:"bootstrapProfile,omitempty"`
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+ CreationData *CreationData_STATUS `json:"creationData,omitempty"`
+ CurrentKubernetesVersion *string `json:"currentKubernetesVersion,omitempty"`
+ DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"`
+ DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"`
+ DnsPrefix *string `json:"dnsPrefix,omitempty"`
+ ETag *string `json:"eTag,omitempty"`
+ EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"`
+ EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"`
+ EnableRBAC *bool `json:"enableRBAC,omitempty"`
+ ExtendedLocation *ExtendedLocation_STATUS `json:"extendedLocation,omitempty"`
+ Fqdn *string `json:"fqdn,omitempty"`
+ FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"`
+ HttpProxyConfig *ManagedClusterHTTPProxyConfig_STATUS `json:"httpProxyConfig,omitempty"`
+ Id *string `json:"id,omitempty"`
+ Identity *ManagedClusterIdentity_STATUS `json:"identity,omitempty"`
+ IdentityProfile map[string]UserAssignedIdentity_STATUS `json:"identityProfile,omitempty"`
+ IngressProfile *ManagedClusterIngressProfile_STATUS `json:"ingressProfile,omitempty"`
+ Kind *string `json:"kind,omitempty"`
+ KubernetesVersion *string `json:"kubernetesVersion,omitempty"`
+ LinuxProfile *ContainerServiceLinuxProfile_STATUS `json:"linuxProfile,omitempty"`
+ Location *string `json:"location,omitempty"`
+ MaxAgentPools *int `json:"maxAgentPools,omitempty"`
+ MetricsProfile *ManagedClusterMetricsProfile_STATUS `json:"metricsProfile,omitempty"`
+ Name *string `json:"name,omitempty"`
+ NetworkProfile *ContainerServiceNetworkProfile_STATUS `json:"networkProfile,omitempty"`
+ NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile_STATUS `json:"nodeProvisioningProfile,omitempty"`
+ NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"`
+ NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile_STATUS `json:"nodeResourceGroupProfile,omitempty"`
+ OidcIssuerProfile *ManagedClusterOIDCIssuerProfile_STATUS `json:"oidcIssuerProfile,omitempty"`
+ PodIdentityProfile *ManagedClusterPodIdentityProfile_STATUS `json:"podIdentityProfile,omitempty"`
+ PowerState *PowerState_STATUS `json:"powerState,omitempty"`
+ PrivateFQDN *string `json:"privateFQDN,omitempty"`
+ PrivateLinkResources []PrivateLinkResource_STATUS `json:"privateLinkResources,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ PublicNetworkAccess *string `json:"publicNetworkAccess,omitempty"`
+ ResourceUID *string `json:"resourceUID,omitempty"`
+ SafeguardsProfile *SafeguardsProfile_STATUS `json:"safeguardsProfile,omitempty"`
+ SecurityProfile *ManagedClusterSecurityProfile_STATUS `json:"securityProfile,omitempty"`
+ ServiceMeshProfile *ServiceMeshProfile_STATUS `json:"serviceMeshProfile,omitempty"`
+ ServicePrincipalProfile *ManagedClusterServicePrincipalProfile_STATUS `json:"servicePrincipalProfile,omitempty"`
+ Sku *ManagedClusterSKU_STATUS `json:"sku,omitempty"`
+ StorageProfile *ManagedClusterStorageProfile_STATUS `json:"storageProfile,omitempty"`
+ SupportPlan *string `json:"supportPlan,omitempty"`
+ SystemData *SystemData_STATUS `json:"systemData,omitempty"`
+ Tags map[string]string `json:"tags,omitempty"`
+ Type *string `json:"type,omitempty"`
+ UpgradeSettings *ClusterUpgradeSettings_STATUS `json:"upgradeSettings,omitempty"`
+ WindowsProfile *ManagedClusterWindowsProfile_STATUS `json:"windowsProfile,omitempty"`
+ WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile_STATUS `json:"workloadAutoScalerProfile,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedCluster_STATUS{}
+
+// ConvertStatusFrom populates our ManagedCluster_STATUS from the provided source
+func (cluster *ManagedCluster_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*storage.ManagedCluster_STATUS)
+ if ok {
+ // Populate our instance from source
+ return cluster.AssignProperties_From_ManagedCluster_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedCluster_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = cluster.AssignProperties_From_ManagedCluster_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedCluster_STATUS
+func (cluster *ManagedCluster_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*storage.ManagedCluster_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedCluster_STATUS{}
+ err := cluster.AssignProperties_To_ManagedCluster_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedCluster_STATUS populates our ManagedCluster_STATUS from the provided source ManagedCluster_STATUS
+func (cluster *ManagedCluster_STATUS) AssignProperties_From_ManagedCluster_STATUS(source *storage.ManagedCluster_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AadProfile
+ if source.AadProfile != nil {
+ var aadProfile ManagedClusterAADProfile_STATUS
+ err := aadProfile.AssignProperties_From_ManagedClusterAADProfile_STATUS(source.AadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
+ }
+ cluster.AadProfile = &aadProfile
+ } else {
+ cluster.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if source.AddonProfiles != nil {
+ addonProfileMap := make(map[string]ManagedClusterAddonProfile_STATUS, len(source.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range source.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile ManagedClusterAddonProfile_STATUS
+ err := addonProfile.AssignProperties_From_ManagedClusterAddonProfile_STATUS(&addonProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ cluster.AddonProfiles = addonProfileMap
+ } else {
+ cluster.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if source.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]ManagedClusterAgentPoolProfile_STATUS, len(source.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range source.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile ManagedClusterAgentPoolProfile_STATUS
+ err := agentPoolProfile.AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfileItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ cluster.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ cluster.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if source.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile ManagedClusterAIToolchainOperatorProfile_STATUS
+ err := aiToolchainOperatorProfile.AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS(source.AiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS() to populate field AiToolchainOperatorProfile")
+ }
+ cluster.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ cluster.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if source.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile ManagedClusterAPIServerAccessProfile_STATUS
+ err := apiServerAccessProfile.AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source.ApiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
+ }
+ cluster.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ cluster.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if source.AutoScalerProfile != nil {
+ var autoScalerProfile ManagedClusterProperties_AutoScalerProfile_STATUS
+ err := autoScalerProfile.AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source.AutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
+ }
+ cluster.AutoScalerProfile = &autoScalerProfile
+ } else {
+ cluster.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if source.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile ManagedClusterAutoUpgradeProfile_STATUS
+ err := autoUpgradeProfile.AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source.AutoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
+ }
+ cluster.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ cluster.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if source.AzureMonitorProfile != nil {
+ var azureMonitorProfile ManagedClusterAzureMonitorProfile_STATUS
+ err := azureMonitorProfile.AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source.AzureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
+ }
+ cluster.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ cluster.AzureMonitorProfile = nil
+ }
+
+ // AzurePortalFQDN
+ cluster.AzurePortalFQDN = genruntime.ClonePointerToString(source.AzurePortalFQDN)
+
+ // BootstrapProfile
+ if propertyBag.Contains("BootstrapProfile") {
+ var bootstrapProfile ManagedClusterBootstrapProfile_STATUS
+ err := propertyBag.Pull("BootstrapProfile", &bootstrapProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'BootstrapProfile' from propertyBag")
+ }
+
+ cluster.BootstrapProfile = &bootstrapProfile
+ } else {
+ cluster.BootstrapProfile = nil
+ }
+
+ // Conditions
+ cluster.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData_STATUS
+ err := creationDatum.AssignProperties_From_CreationData_STATUS(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData_STATUS() to populate field CreationData")
+ }
+ cluster.CreationData = &creationDatum
+ } else {
+ cluster.CreationData = nil
+ }
+
+ // CurrentKubernetesVersion
+ cluster.CurrentKubernetesVersion = genruntime.ClonePointerToString(source.CurrentKubernetesVersion)
+
+ // DisableLocalAccounts
+ if source.DisableLocalAccounts != nil {
+ disableLocalAccount := *source.DisableLocalAccounts
+ cluster.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ cluster.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetID
+ cluster.DiskEncryptionSetID = genruntime.ClonePointerToString(source.DiskEncryptionSetID)
+
+ // DnsPrefix
+ cluster.DnsPrefix = genruntime.ClonePointerToString(source.DnsPrefix)
+
+ // ETag
+ if propertyBag.Contains("ETag") {
+ var eTag string
+ err := propertyBag.Pull("ETag", &eTag)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ETag' from propertyBag")
+ }
+
+ cluster.ETag = &eTag
+ } else {
+ cluster.ETag = nil
+ }
+
+ // EnableNamespaceResources
+ if source.EnableNamespaceResources != nil {
+ enableNamespaceResource := *source.EnableNamespaceResources
+ cluster.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ cluster.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if source.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *source.EnablePodSecurityPolicy
+ cluster.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ cluster.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if source.EnableRBAC != nil {
+ enableRBAC := *source.EnableRBAC
+ cluster.EnableRBAC = &enableRBAC
+ } else {
+ cluster.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if source.ExtendedLocation != nil {
+ var extendedLocation ExtendedLocation_STATUS
+ err := extendedLocation.AssignProperties_From_ExtendedLocation_STATUS(source.ExtendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ExtendedLocation_STATUS() to populate field ExtendedLocation")
+ }
+ cluster.ExtendedLocation = &extendedLocation
+ } else {
+ cluster.ExtendedLocation = nil
+ }
+
+ // Fqdn
+ cluster.Fqdn = genruntime.ClonePointerToString(source.Fqdn)
+
+ // FqdnSubdomain
+ cluster.FqdnSubdomain = genruntime.ClonePointerToString(source.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if source.HttpProxyConfig != nil {
+ var httpProxyConfig ManagedClusterHTTPProxyConfig_STATUS
+ err := httpProxyConfig.AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source.HttpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
+ }
+ cluster.HttpProxyConfig = &httpProxyConfig
+ } else {
+ cluster.HttpProxyConfig = nil
+ }
+
+ // Id
+ cluster.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Identity
+ if source.Identity != nil {
+ var identity ManagedClusterIdentity_STATUS
+ err := identity.AssignProperties_From_ManagedClusterIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIdentity_STATUS() to populate field Identity")
+ }
+ cluster.Identity = &identity
+ } else {
+ cluster.Identity = nil
+ }
+
+ // IdentityProfile
+ if source.IdentityProfile != nil {
+ identityProfileMap := make(map[string]UserAssignedIdentity_STATUS, len(source.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range source.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile UserAssignedIdentity_STATUS
+ err := identityProfile.AssignProperties_From_UserAssignedIdentity_STATUS(&identityProfileValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ cluster.IdentityProfile = identityProfileMap
+ } else {
+ cluster.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if source.IngressProfile != nil {
+ var ingressProfile ManagedClusterIngressProfile_STATUS
+ err := ingressProfile.AssignProperties_From_ManagedClusterIngressProfile_STATUS(source.IngressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfile_STATUS() to populate field IngressProfile")
+ }
+ cluster.IngressProfile = &ingressProfile
+ } else {
+ cluster.IngressProfile = nil
+ }
+
+ // Kind
+ if propertyBag.Contains("Kind") {
+ var kind string
+ err := propertyBag.Pull("Kind", &kind)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Kind' from propertyBag")
+ }
+
+ cluster.Kind = &kind
+ } else {
+ cluster.Kind = nil
+ }
+
+ // KubernetesVersion
+ cluster.KubernetesVersion = genruntime.ClonePointerToString(source.KubernetesVersion)
+
+ // LinuxProfile
+ if source.LinuxProfile != nil {
+ var linuxProfile ContainerServiceLinuxProfile_STATUS
+ err := linuxProfile.AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source.LinuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
+ }
+ cluster.LinuxProfile = &linuxProfile
+ } else {
+ cluster.LinuxProfile = nil
+ }
+
+ // Location
+ cluster.Location = genruntime.ClonePointerToString(source.Location)
+
+ // MaxAgentPools
+ cluster.MaxAgentPools = genruntime.ClonePointerToInt(source.MaxAgentPools)
+
+ // MetricsProfile
+ if source.MetricsProfile != nil {
+ var metricsProfile ManagedClusterMetricsProfile_STATUS
+ err := metricsProfile.AssignProperties_From_ManagedClusterMetricsProfile_STATUS(source.MetricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterMetricsProfile_STATUS() to populate field MetricsProfile")
+ }
+ cluster.MetricsProfile = &metricsProfile
+ } else {
+ cluster.MetricsProfile = nil
+ }
+
+ // Name
+ cluster.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile ContainerServiceNetworkProfile_STATUS
+ err := networkProfile.AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ cluster.NetworkProfile = &networkProfile
+ } else {
+ cluster.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if source.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile ManagedClusterNodeProvisioningProfile_STATUS
+ err := nodeProvisioningProfile.AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS(source.NodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS() to populate field NodeProvisioningProfile")
+ }
+ cluster.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ cluster.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ cluster.NodeResourceGroup = genruntime.ClonePointerToString(source.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if source.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile ManagedClusterNodeResourceGroupProfile_STATUS
+ err := nodeResourceGroupProfile.AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source.NodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS() to populate field NodeResourceGroupProfile")
+ }
+ cluster.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ cluster.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if source.OidcIssuerProfile != nil {
+ var oidcIssuerProfile ManagedClusterOIDCIssuerProfile_STATUS
+ err := oidcIssuerProfile.AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source.OidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
+ }
+ cluster.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ cluster.OidcIssuerProfile = nil
+ }
+
+ // PodIdentityProfile
+ if source.PodIdentityProfile != nil {
+ var podIdentityProfile ManagedClusterPodIdentityProfile_STATUS
+ err := podIdentityProfile.AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source.PodIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
+ }
+ cluster.PodIdentityProfile = &podIdentityProfile
+ } else {
+ cluster.PodIdentityProfile = nil
+ }
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState_STATUS
+ err := powerState.AssignProperties_From_PowerState_STATUS(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState_STATUS() to populate field PowerState")
+ }
+ cluster.PowerState = &powerState
+ } else {
+ cluster.PowerState = nil
+ }
+
+ // PrivateFQDN
+ cluster.PrivateFQDN = genruntime.ClonePointerToString(source.PrivateFQDN)
+
+ // PrivateLinkResources
+ if source.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]PrivateLinkResource_STATUS, len(source.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range source.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource PrivateLinkResource_STATUS
+ err := privateLinkResource.AssignProperties_From_PrivateLinkResource_STATUS(&privateLinkResourceItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ cluster.PrivateLinkResources = privateLinkResourceList
+ } else {
+ cluster.PrivateLinkResources = nil
+ }
+
+ // ProvisioningState
+ cluster.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // PublicNetworkAccess
+ cluster.PublicNetworkAccess = genruntime.ClonePointerToString(source.PublicNetworkAccess)
+
+ // ResourceUID
+ cluster.ResourceUID = genruntime.ClonePointerToString(source.ResourceUID)
+
+ // SafeguardsProfile
+ if source.SafeguardsProfile != nil {
+ var safeguardsProfile SafeguardsProfile_STATUS
+ err := safeguardsProfile.AssignProperties_From_SafeguardsProfile_STATUS(source.SafeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SafeguardsProfile_STATUS() to populate field SafeguardsProfile")
+ }
+ cluster.SafeguardsProfile = &safeguardsProfile
+ } else {
+ cluster.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile ManagedClusterSecurityProfile_STATUS
+ err := securityProfile.AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ cluster.SecurityProfile = &securityProfile
+ } else {
+ cluster.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if source.ServiceMeshProfile != nil {
+ var serviceMeshProfile ServiceMeshProfile_STATUS
+ err := serviceMeshProfile.AssignProperties_From_ServiceMeshProfile_STATUS(source.ServiceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
+ }
+ cluster.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ cluster.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if source.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile ManagedClusterServicePrincipalProfile_STATUS
+ err := servicePrincipalProfile.AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source.ServicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
+ }
+ cluster.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ cluster.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if source.Sku != nil {
+ var sku ManagedClusterSKU_STATUS
+ err := sku.AssignProperties_From_ManagedClusterSKU_STATUS(source.Sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSKU_STATUS() to populate field Sku")
+ }
+ cluster.Sku = &sku
+ } else {
+ cluster.Sku = nil
+ }
+
+ // StorageProfile
+ if source.StorageProfile != nil {
+ var storageProfile ManagedClusterStorageProfile_STATUS
+ err := storageProfile.AssignProperties_From_ManagedClusterStorageProfile_STATUS(source.StorageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
+ }
+ cluster.StorageProfile = &storageProfile
+ } else {
+ cluster.StorageProfile = nil
+ }
+
+ // SupportPlan
+ cluster.SupportPlan = genruntime.ClonePointerToString(source.SupportPlan)
+
+ // SystemData
+ if source.SystemData != nil {
+ var systemDatum SystemData_STATUS
+ err := systemDatum.AssignProperties_From_SystemData_STATUS(source.SystemData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData")
+ }
+ cluster.SystemData = &systemDatum
+ } else {
+ cluster.SystemData = nil
+ }
+
+ // Tags
+ cluster.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ cluster.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting ClusterUpgradeSettings_STATUS
+ err := upgradeSetting.AssignProperties_From_ClusterUpgradeSettings_STATUS(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ cluster.UpgradeSettings = &upgradeSetting
+ } else {
+ cluster.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile ManagedClusterWindowsProfile_STATUS
+ err := windowsProfile.AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ cluster.WindowsProfile = &windowsProfile
+ } else {
+ cluster.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if source.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile ManagedClusterWorkloadAutoScalerProfile_STATUS
+ err := workloadAutoScalerProfile.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source.WorkloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
+ }
+ cluster.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ cluster.WorkloadAutoScalerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ cluster.PropertyBag = propertyBag
+ } else {
+ cluster.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedCluster_STATUS interface (if implemented) to customize the conversion
+ var clusterAsAny any = cluster
+ if augmentedCluster, ok := clusterAsAny.(augmentConversionForManagedCluster_STATUS); ok {
+ err := augmentedCluster.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedCluster_STATUS populates the provided destination ManagedCluster_STATUS from our ManagedCluster_STATUS
+func (cluster *ManagedCluster_STATUS) AssignProperties_To_ManagedCluster_STATUS(destination *storage.ManagedCluster_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(cluster.PropertyBag)
+
+ // AadProfile
+ if cluster.AadProfile != nil {
+ var aadProfile storage.ManagedClusterAADProfile_STATUS
+ err := cluster.AadProfile.AssignProperties_To_ManagedClusterAADProfile_STATUS(&aadProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAADProfile_STATUS() to populate field AadProfile")
+ }
+ destination.AadProfile = &aadProfile
+ } else {
+ destination.AadProfile = nil
+ }
+
+ // AddonProfiles
+ if cluster.AddonProfiles != nil {
+ addonProfileMap := make(map[string]storage.ManagedClusterAddonProfile_STATUS, len(cluster.AddonProfiles))
+ for addonProfileKey, addonProfileValue := range cluster.AddonProfiles {
+ // Shadow the loop variable to avoid aliasing
+ addonProfileValue := addonProfileValue
+ var addonProfile storage.ManagedClusterAddonProfile_STATUS
+ err := addonProfileValue.AssignProperties_To_ManagedClusterAddonProfile_STATUS(&addonProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAddonProfile_STATUS() to populate field AddonProfiles")
+ }
+ addonProfileMap[addonProfileKey] = addonProfile
+ }
+ destination.AddonProfiles = addonProfileMap
+ } else {
+ destination.AddonProfiles = nil
+ }
+
+ // AgentPoolProfiles
+ if cluster.AgentPoolProfiles != nil {
+ agentPoolProfileList := make([]storage.ManagedClusterAgentPoolProfile_STATUS, len(cluster.AgentPoolProfiles))
+ for agentPoolProfileIndex, agentPoolProfileItem := range cluster.AgentPoolProfiles {
+ // Shadow the loop variable to avoid aliasing
+ agentPoolProfileItem := agentPoolProfileItem
+ var agentPoolProfile storage.ManagedClusterAgentPoolProfile_STATUS
+ err := agentPoolProfileItem.AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(&agentPoolProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS() to populate field AgentPoolProfiles")
+ }
+ agentPoolProfileList[agentPoolProfileIndex] = agentPoolProfile
+ }
+ destination.AgentPoolProfiles = agentPoolProfileList
+ } else {
+ destination.AgentPoolProfiles = nil
+ }
+
+ // AiToolchainOperatorProfile
+ if cluster.AiToolchainOperatorProfile != nil {
+ var aiToolchainOperatorProfile storage.ManagedClusterAIToolchainOperatorProfile_STATUS
+ err := cluster.AiToolchainOperatorProfile.AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(&aiToolchainOperatorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS() to populate field AiToolchainOperatorProfile")
+ }
+ destination.AiToolchainOperatorProfile = &aiToolchainOperatorProfile
+ } else {
+ destination.AiToolchainOperatorProfile = nil
+ }
+
+ // ApiServerAccessProfile
+ if cluster.ApiServerAccessProfile != nil {
+ var apiServerAccessProfile storage.ManagedClusterAPIServerAccessProfile_STATUS
+ err := cluster.ApiServerAccessProfile.AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(&apiServerAccessProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS() to populate field ApiServerAccessProfile")
+ }
+ destination.ApiServerAccessProfile = &apiServerAccessProfile
+ } else {
+ destination.ApiServerAccessProfile = nil
+ }
+
+ // AutoScalerProfile
+ if cluster.AutoScalerProfile != nil {
+ var autoScalerProfile storage.ManagedClusterProperties_AutoScalerProfile_STATUS
+ err := cluster.AutoScalerProfile.AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(&autoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS() to populate field AutoScalerProfile")
+ }
+ destination.AutoScalerProfile = &autoScalerProfile
+ } else {
+ destination.AutoScalerProfile = nil
+ }
+
+ // AutoUpgradeProfile
+ if cluster.AutoUpgradeProfile != nil {
+ var autoUpgradeProfile storage.ManagedClusterAutoUpgradeProfile_STATUS
+ err := cluster.AutoUpgradeProfile.AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(&autoUpgradeProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS() to populate field AutoUpgradeProfile")
+ }
+ destination.AutoUpgradeProfile = &autoUpgradeProfile
+ } else {
+ destination.AutoUpgradeProfile = nil
+ }
+
+ // AzureMonitorProfile
+ if cluster.AzureMonitorProfile != nil {
+ var azureMonitorProfile storage.ManagedClusterAzureMonitorProfile_STATUS
+ err := cluster.AzureMonitorProfile.AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(&azureMonitorProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS() to populate field AzureMonitorProfile")
+ }
+ destination.AzureMonitorProfile = &azureMonitorProfile
+ } else {
+ destination.AzureMonitorProfile = nil
+ }
+
+ // AzurePortalFQDN
+ destination.AzurePortalFQDN = genruntime.ClonePointerToString(cluster.AzurePortalFQDN)
+
+ // BootstrapProfile
+ if cluster.BootstrapProfile != nil {
+ propertyBag.Add("BootstrapProfile", *cluster.BootstrapProfile)
+ } else {
+ propertyBag.Remove("BootstrapProfile")
+ }
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(cluster.Conditions)
+
+ // CreationData
+ if cluster.CreationData != nil {
+ var creationDatum storage.CreationData_STATUS
+ err := cluster.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // CurrentKubernetesVersion
+ destination.CurrentKubernetesVersion = genruntime.ClonePointerToString(cluster.CurrentKubernetesVersion)
+
+ // DisableLocalAccounts
+ if cluster.DisableLocalAccounts != nil {
+ disableLocalAccount := *cluster.DisableLocalAccounts
+ destination.DisableLocalAccounts = &disableLocalAccount
+ } else {
+ destination.DisableLocalAccounts = nil
+ }
+
+ // DiskEncryptionSetID
+ destination.DiskEncryptionSetID = genruntime.ClonePointerToString(cluster.DiskEncryptionSetID)
+
+ // DnsPrefix
+ destination.DnsPrefix = genruntime.ClonePointerToString(cluster.DnsPrefix)
+
+ // ETag
+ if cluster.ETag != nil {
+ propertyBag.Add("ETag", *cluster.ETag)
+ } else {
+ propertyBag.Remove("ETag")
+ }
+
+ // EnableNamespaceResources
+ if cluster.EnableNamespaceResources != nil {
+ enableNamespaceResource := *cluster.EnableNamespaceResources
+ destination.EnableNamespaceResources = &enableNamespaceResource
+ } else {
+ destination.EnableNamespaceResources = nil
+ }
+
+ // EnablePodSecurityPolicy
+ if cluster.EnablePodSecurityPolicy != nil {
+ enablePodSecurityPolicy := *cluster.EnablePodSecurityPolicy
+ destination.EnablePodSecurityPolicy = &enablePodSecurityPolicy
+ } else {
+ destination.EnablePodSecurityPolicy = nil
+ }
+
+ // EnableRBAC
+ if cluster.EnableRBAC != nil {
+ enableRBAC := *cluster.EnableRBAC
+ destination.EnableRBAC = &enableRBAC
+ } else {
+ destination.EnableRBAC = nil
+ }
+
+ // ExtendedLocation
+ if cluster.ExtendedLocation != nil {
+ var extendedLocation storage.ExtendedLocation_STATUS
+ err := cluster.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
+ }
+ destination.ExtendedLocation = &extendedLocation
+ } else {
+ destination.ExtendedLocation = nil
+ }
+
+ // Fqdn
+ destination.Fqdn = genruntime.ClonePointerToString(cluster.Fqdn)
+
+ // FqdnSubdomain
+ destination.FqdnSubdomain = genruntime.ClonePointerToString(cluster.FqdnSubdomain)
+
+ // HttpProxyConfig
+ if cluster.HttpProxyConfig != nil {
+ var httpProxyConfig storage.ManagedClusterHTTPProxyConfig_STATUS
+ err := cluster.HttpProxyConfig.AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(&httpProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS() to populate field HttpProxyConfig")
+ }
+ destination.HttpProxyConfig = &httpProxyConfig
+ } else {
+ destination.HttpProxyConfig = nil
+ }
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(cluster.Id)
+
+ // Identity
+ if cluster.Identity != nil {
+ var identity storage.ManagedClusterIdentity_STATUS
+ err := cluster.Identity.AssignProperties_To_ManagedClusterIdentity_STATUS(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // IdentityProfile
+ if cluster.IdentityProfile != nil {
+ identityProfileMap := make(map[string]storage.UserAssignedIdentity_STATUS, len(cluster.IdentityProfile))
+ for identityProfileKey, identityProfileValue := range cluster.IdentityProfile {
+ // Shadow the loop variable to avoid aliasing
+ identityProfileValue := identityProfileValue
+ var identityProfile storage.UserAssignedIdentity_STATUS
+ err := identityProfileValue.AssignProperties_To_UserAssignedIdentity_STATUS(&identityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field IdentityProfile")
+ }
+ identityProfileMap[identityProfileKey] = identityProfile
+ }
+ destination.IdentityProfile = identityProfileMap
+ } else {
+ destination.IdentityProfile = nil
+ }
+
+ // IngressProfile
+ if cluster.IngressProfile != nil {
+ var ingressProfile storage.ManagedClusterIngressProfile_STATUS
+ err := cluster.IngressProfile.AssignProperties_To_ManagedClusterIngressProfile_STATUS(&ingressProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfile_STATUS() to populate field IngressProfile")
+ }
+ destination.IngressProfile = &ingressProfile
+ } else {
+ destination.IngressProfile = nil
+ }
+
+ // Kind
+ if cluster.Kind != nil {
+ propertyBag.Add("Kind", *cluster.Kind)
+ } else {
+ propertyBag.Remove("Kind")
+ }
+
+ // KubernetesVersion
+ destination.KubernetesVersion = genruntime.ClonePointerToString(cluster.KubernetesVersion)
+
+ // LinuxProfile
+ if cluster.LinuxProfile != nil {
+ var linuxProfile storage.ContainerServiceLinuxProfile_STATUS
+ err := cluster.LinuxProfile.AssignProperties_To_ContainerServiceLinuxProfile_STATUS(&linuxProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceLinuxProfile_STATUS() to populate field LinuxProfile")
+ }
+ destination.LinuxProfile = &linuxProfile
+ } else {
+ destination.LinuxProfile = nil
+ }
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(cluster.Location)
+
+ // MaxAgentPools
+ destination.MaxAgentPools = genruntime.ClonePointerToInt(cluster.MaxAgentPools)
+
+ // MetricsProfile
+ if cluster.MetricsProfile != nil {
+ var metricsProfile storage.ManagedClusterMetricsProfile_STATUS
+ err := cluster.MetricsProfile.AssignProperties_To_ManagedClusterMetricsProfile_STATUS(&metricsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterMetricsProfile_STATUS() to populate field MetricsProfile")
+ }
+ destination.MetricsProfile = &metricsProfile
+ } else {
+ destination.MetricsProfile = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(cluster.Name)
+
+ // NetworkProfile
+ if cluster.NetworkProfile != nil {
+ var networkProfile storage.ContainerServiceNetworkProfile_STATUS
+ err := cluster.NetworkProfile.AssignProperties_To_ContainerServiceNetworkProfile_STATUS(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeProvisioningProfile
+ if cluster.NodeProvisioningProfile != nil {
+ var nodeProvisioningProfile storage.ManagedClusterNodeProvisioningProfile_STATUS
+ err := cluster.NodeProvisioningProfile.AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(&nodeProvisioningProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS() to populate field NodeProvisioningProfile")
+ }
+ destination.NodeProvisioningProfile = &nodeProvisioningProfile
+ } else {
+ destination.NodeProvisioningProfile = nil
+ }
+
+ // NodeResourceGroup
+ destination.NodeResourceGroup = genruntime.ClonePointerToString(cluster.NodeResourceGroup)
+
+ // NodeResourceGroupProfile
+ if cluster.NodeResourceGroupProfile != nil {
+ var nodeResourceGroupProfile storage.ManagedClusterNodeResourceGroupProfile_STATUS
+ err := cluster.NodeResourceGroupProfile.AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(&nodeResourceGroupProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS() to populate field NodeResourceGroupProfile")
+ }
+ destination.NodeResourceGroupProfile = &nodeResourceGroupProfile
+ } else {
+ destination.NodeResourceGroupProfile = nil
+ }
+
+ // OidcIssuerProfile
+ if cluster.OidcIssuerProfile != nil {
+ var oidcIssuerProfile storage.ManagedClusterOIDCIssuerProfile_STATUS
+ err := cluster.OidcIssuerProfile.AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(&oidcIssuerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS() to populate field OidcIssuerProfile")
+ }
+ destination.OidcIssuerProfile = &oidcIssuerProfile
+ } else {
+ destination.OidcIssuerProfile = nil
+ }
+
+ // PodIdentityProfile
+ if cluster.PodIdentityProfile != nil {
+ var podIdentityProfile storage.ManagedClusterPodIdentityProfile_STATUS
+ err := cluster.PodIdentityProfile.AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(&podIdentityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS() to populate field PodIdentityProfile")
+ }
+ destination.PodIdentityProfile = &podIdentityProfile
+ } else {
+ destination.PodIdentityProfile = nil
+ }
+
+ // PowerState
+ if cluster.PowerState != nil {
+ var powerState storage.PowerState_STATUS
+ err := cluster.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // PrivateFQDN
+ destination.PrivateFQDN = genruntime.ClonePointerToString(cluster.PrivateFQDN)
+
+ // PrivateLinkResources
+ if cluster.PrivateLinkResources != nil {
+ privateLinkResourceList := make([]storage.PrivateLinkResource_STATUS, len(cluster.PrivateLinkResources))
+ for privateLinkResourceIndex, privateLinkResourceItem := range cluster.PrivateLinkResources {
+ // Shadow the loop variable to avoid aliasing
+ privateLinkResourceItem := privateLinkResourceItem
+ var privateLinkResource storage.PrivateLinkResource_STATUS
+ err := privateLinkResourceItem.AssignProperties_To_PrivateLinkResource_STATUS(&privateLinkResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkResource_STATUS() to populate field PrivateLinkResources")
+ }
+ privateLinkResourceList[privateLinkResourceIndex] = privateLinkResource
+ }
+ destination.PrivateLinkResources = privateLinkResourceList
+ } else {
+ destination.PrivateLinkResources = nil
+ }
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(cluster.ProvisioningState)
+
+ // PublicNetworkAccess
+ destination.PublicNetworkAccess = genruntime.ClonePointerToString(cluster.PublicNetworkAccess)
+
+ // ResourceUID
+ destination.ResourceUID = genruntime.ClonePointerToString(cluster.ResourceUID)
+
+ // SafeguardsProfile
+ if cluster.SafeguardsProfile != nil {
+ var safeguardsProfile storage.SafeguardsProfile_STATUS
+ err := cluster.SafeguardsProfile.AssignProperties_To_SafeguardsProfile_STATUS(&safeguardsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SafeguardsProfile_STATUS() to populate field SafeguardsProfile")
+ }
+ destination.SafeguardsProfile = &safeguardsProfile
+ } else {
+ destination.SafeguardsProfile = nil
+ }
+
+ // SecurityProfile
+ if cluster.SecurityProfile != nil {
+ var securityProfile storage.ManagedClusterSecurityProfile_STATUS
+ err := cluster.SecurityProfile.AssignProperties_To_ManagedClusterSecurityProfile_STATUS(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // ServiceMeshProfile
+ if cluster.ServiceMeshProfile != nil {
+ var serviceMeshProfile storage.ServiceMeshProfile_STATUS
+ err := cluster.ServiceMeshProfile.AssignProperties_To_ServiceMeshProfile_STATUS(&serviceMeshProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ServiceMeshProfile_STATUS() to populate field ServiceMeshProfile")
+ }
+ destination.ServiceMeshProfile = &serviceMeshProfile
+ } else {
+ destination.ServiceMeshProfile = nil
+ }
+
+ // ServicePrincipalProfile
+ if cluster.ServicePrincipalProfile != nil {
+ var servicePrincipalProfile storage.ManagedClusterServicePrincipalProfile_STATUS
+ err := cluster.ServicePrincipalProfile.AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(&servicePrincipalProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS() to populate field ServicePrincipalProfile")
+ }
+ destination.ServicePrincipalProfile = &servicePrincipalProfile
+ } else {
+ destination.ServicePrincipalProfile = nil
+ }
+
+ // Sku
+ if cluster.Sku != nil {
+ var sku storage.ManagedClusterSKU_STATUS
+ err := cluster.Sku.AssignProperties_To_ManagedClusterSKU_STATUS(&sku)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSKU_STATUS() to populate field Sku")
+ }
+ destination.Sku = &sku
+ } else {
+ destination.Sku = nil
+ }
+
+ // StorageProfile
+ if cluster.StorageProfile != nil {
+ var storageProfile storage.ManagedClusterStorageProfile_STATUS
+ err := cluster.StorageProfile.AssignProperties_To_ManagedClusterStorageProfile_STATUS(&storageProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfile_STATUS() to populate field StorageProfile")
+ }
+ destination.StorageProfile = &storageProfile
+ } else {
+ destination.StorageProfile = nil
+ }
+
+ // SupportPlan
+ destination.SupportPlan = genruntime.ClonePointerToString(cluster.SupportPlan)
+
+ // SystemData
+ if cluster.SystemData != nil {
+ var systemDatum storage.SystemData_STATUS
+ err := cluster.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
+ }
+ destination.SystemData = &systemDatum
+ } else {
+ destination.SystemData = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(cluster.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(cluster.Type)
+
+ // UpgradeSettings
+ if cluster.UpgradeSettings != nil {
+ var upgradeSetting storage.ClusterUpgradeSettings_STATUS
+ err := cluster.UpgradeSettings.AssignProperties_To_ClusterUpgradeSettings_STATUS(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ClusterUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // WindowsProfile
+ if cluster.WindowsProfile != nil {
+ var windowsProfile storage.ManagedClusterWindowsProfile_STATUS
+ err := cluster.WindowsProfile.AssignProperties_To_ManagedClusterWindowsProfile_STATUS(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadAutoScalerProfile
+ if cluster.WorkloadAutoScalerProfile != nil {
+ var workloadAutoScalerProfile storage.ManagedClusterWorkloadAutoScalerProfile_STATUS
+ err := cluster.WorkloadAutoScalerProfile.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(&workloadAutoScalerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS() to populate field WorkloadAutoScalerProfile")
+ }
+ destination.WorkloadAutoScalerProfile = &workloadAutoScalerProfile
+ } else {
+ destination.WorkloadAutoScalerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedCluster_STATUS interface (if implemented) to customize the conversion
+ var clusterAsAny any = cluster
+ if augmentedCluster, ok := clusterAsAny.(augmentConversionForManagedCluster_STATUS); ok {
+ err := augmentedCluster.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManagedCluster_Spec interface {
+ AssignPropertiesFrom(src *storage.ManagedCluster_Spec) error
+ AssignPropertiesTo(dst *storage.ManagedCluster_Spec) error
+}
+
+type augmentConversionForManagedCluster_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedCluster_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedCluster_STATUS) error
+}
+
+// Storage version of v1api20240402preview.ClusterUpgradeSettings
+// Settings for upgrading a cluster.
+type ClusterUpgradeSettings struct {
+ OverrideSettings *UpgradeOverrideSettings `json:"overrideSettings,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ClusterUpgradeSettings populates our ClusterUpgradeSettings from the provided source ClusterUpgradeSettings
+func (settings *ClusterUpgradeSettings) AssignProperties_From_ClusterUpgradeSettings(source *storage.ClusterUpgradeSettings) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // OverrideSettings
+ if source.OverrideSettings != nil {
+ var overrideSetting UpgradeOverrideSettings
+ err := overrideSetting.AssignProperties_From_UpgradeOverrideSettings(source.OverrideSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UpgradeOverrideSettings() to populate field OverrideSettings")
+ }
+ settings.OverrideSettings = &overrideSetting
+ } else {
+ settings.OverrideSettings = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ settings.PropertyBag = propertyBag
+ } else {
+ settings.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForClusterUpgradeSettings interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForClusterUpgradeSettings); ok {
+ err := augmentedSettings.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ClusterUpgradeSettings populates the provided destination ClusterUpgradeSettings from our ClusterUpgradeSettings
+func (settings *ClusterUpgradeSettings) AssignProperties_To_ClusterUpgradeSettings(destination *storage.ClusterUpgradeSettings) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
+
+ // OverrideSettings
+ if settings.OverrideSettings != nil {
+ var overrideSetting storage.UpgradeOverrideSettings
+ err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings(&overrideSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings() to populate field OverrideSettings")
+ }
+ destination.OverrideSettings = &overrideSetting
+ } else {
+ destination.OverrideSettings = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForClusterUpgradeSettings interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForClusterUpgradeSettings); ok {
+ err := augmentedSettings.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ClusterUpgradeSettings_STATUS
+// Settings for upgrading a cluster.
+type ClusterUpgradeSettings_STATUS struct {
+ OverrideSettings *UpgradeOverrideSettings_STATUS `json:"overrideSettings,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ClusterUpgradeSettings_STATUS populates our ClusterUpgradeSettings_STATUS from the provided source ClusterUpgradeSettings_STATUS
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_From_ClusterUpgradeSettings_STATUS(source *storage.ClusterUpgradeSettings_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // OverrideSettings
+ if source.OverrideSettings != nil {
+ var overrideSetting UpgradeOverrideSettings_STATUS
+ err := overrideSetting.AssignProperties_From_UpgradeOverrideSettings_STATUS(source.OverrideSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
+ }
+ settings.OverrideSettings = &overrideSetting
+ } else {
+ settings.OverrideSettings = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ settings.PropertyBag = propertyBag
+ } else {
+ settings.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForClusterUpgradeSettings_STATUS interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForClusterUpgradeSettings_STATUS); ok {
+ err := augmentedSettings.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ClusterUpgradeSettings_STATUS populates the provided destination ClusterUpgradeSettings_STATUS from our ClusterUpgradeSettings_STATUS
+func (settings *ClusterUpgradeSettings_STATUS) AssignProperties_To_ClusterUpgradeSettings_STATUS(destination *storage.ClusterUpgradeSettings_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
+
+ // OverrideSettings
+ if settings.OverrideSettings != nil {
+ var overrideSetting storage.UpgradeOverrideSettings_STATUS
+ err := settings.OverrideSettings.AssignProperties_To_UpgradeOverrideSettings_STATUS(&overrideSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UpgradeOverrideSettings_STATUS() to populate field OverrideSettings")
+ }
+ destination.OverrideSettings = &overrideSetting
+ } else {
+ destination.OverrideSettings = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForClusterUpgradeSettings_STATUS interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForClusterUpgradeSettings_STATUS); ok {
+ err := augmentedSettings.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceLinuxProfile
+// Profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile struct {
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Ssh *ContainerServiceSshConfiguration `json:"ssh,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceLinuxProfile populates our ContainerServiceLinuxProfile from the provided source ContainerServiceLinuxProfile
+func (profile *ContainerServiceLinuxProfile) AssignProperties_From_ContainerServiceLinuxProfile(source *storage.ContainerServiceLinuxProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // Ssh
+ if source.Ssh != nil {
+ var ssh ContainerServiceSshConfiguration
+ err := ssh.AssignProperties_From_ContainerServiceSshConfiguration(source.Ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshConfiguration() to populate field Ssh")
+ }
+ profile.Ssh = &ssh
+ } else {
+ profile.Ssh = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceLinuxProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceLinuxProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceLinuxProfile populates the provided destination ContainerServiceLinuxProfile from our ContainerServiceLinuxProfile
+func (profile *ContainerServiceLinuxProfile) AssignProperties_To_ContainerServiceLinuxProfile(destination *storage.ContainerServiceLinuxProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // Ssh
+ if profile.Ssh != nil {
+ var ssh storage.ContainerServiceSshConfiguration
+ err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration(&ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration() to populate field Ssh")
+ }
+ destination.Ssh = &ssh
+ } else {
+ destination.Ssh = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceLinuxProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceLinuxProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceLinuxProfile_STATUS
+// Profile for Linux VMs in the container service cluster.
+type ContainerServiceLinuxProfile_STATUS struct {
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Ssh *ContainerServiceSshConfiguration_STATUS `json:"ssh,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceLinuxProfile_STATUS populates our ContainerServiceLinuxProfile_STATUS from the provided source ContainerServiceLinuxProfile_STATUS
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_From_ContainerServiceLinuxProfile_STATUS(source *storage.ContainerServiceLinuxProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // Ssh
+ if source.Ssh != nil {
+ var ssh ContainerServiceSshConfiguration_STATUS
+ err := ssh.AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source.Ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
+ }
+ profile.Ssh = &ssh
+ } else {
+ profile.Ssh = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceLinuxProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceLinuxProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceLinuxProfile_STATUS populates the provided destination ContainerServiceLinuxProfile_STATUS from our ContainerServiceLinuxProfile_STATUS
+func (profile *ContainerServiceLinuxProfile_STATUS) AssignProperties_To_ContainerServiceLinuxProfile_STATUS(destination *storage.ContainerServiceLinuxProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // Ssh
+ if profile.Ssh != nil {
+ var ssh storage.ContainerServiceSshConfiguration_STATUS
+ err := profile.Ssh.AssignProperties_To_ContainerServiceSshConfiguration_STATUS(&ssh)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshConfiguration_STATUS() to populate field Ssh")
+ }
+ destination.Ssh = &ssh
+ } else {
+ destination.Ssh = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceLinuxProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceLinuxProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceNetworkProfile
+// Profile of network configuration.
+type ContainerServiceNetworkProfile struct {
+ AdvancedNetworking *AdvancedNetworking `json:"advancedNetworking,omitempty"`
+ DnsServiceIP *string `json:"dnsServiceIP,omitempty"`
+ IpFamilies []string `json:"ipFamilies,omitempty"`
+ KubeProxyConfig *ContainerServiceNetworkProfile_KubeProxyConfig `json:"kubeProxyConfig,omitempty"`
+ LoadBalancerProfile *ManagedClusterLoadBalancerProfile `json:"loadBalancerProfile,omitempty"`
+ LoadBalancerSku *string `json:"loadBalancerSku,omitempty"`
+ NatGatewayProfile *ManagedClusterNATGatewayProfile `json:"natGatewayProfile,omitempty"`
+ NetworkDataplane *string `json:"networkDataplane,omitempty"`
+ NetworkMode *string `json:"networkMode,omitempty"`
+ NetworkPlugin *string `json:"networkPlugin,omitempty"`
+ NetworkPluginMode *string `json:"networkPluginMode,omitempty"`
+ NetworkPolicy *string `json:"networkPolicy,omitempty"`
+ OutboundType *string `json:"outboundType,omitempty"`
+ PodCidr *string `json:"podCidr,omitempty"`
+ PodCidrs []string `json:"podCidrs,omitempty"`
+ PodLinkLocalAccess *string `json:"podLinkLocalAccess,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ServiceCidr *string `json:"serviceCidr,omitempty"`
+ ServiceCidrs []string `json:"serviceCidrs,omitempty"`
+ StaticEgressGatewayProfile *ManagedClusterStaticEgressGatewayProfile `json:"staticEgressGatewayProfile,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile populates our ContainerServiceNetworkProfile from the provided source ContainerServiceNetworkProfile
+func (profile *ContainerServiceNetworkProfile) AssignProperties_From_ContainerServiceNetworkProfile(source *storage.ContainerServiceNetworkProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdvancedNetworking
+ if propertyBag.Contains("AdvancedNetworking") {
+ var advancedNetworking AdvancedNetworking
+ err := propertyBag.Pull("AdvancedNetworking", &advancedNetworking)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AdvancedNetworking' from propertyBag")
+ }
+
+ profile.AdvancedNetworking = &advancedNetworking
+ } else {
+ profile.AdvancedNetworking = nil
+ }
+
+ // DnsServiceIP
+ profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
+
+ // IpFamilies
+ profile.IpFamilies = genruntime.CloneSliceOfString(source.IpFamilies)
+
+ // KubeProxyConfig
+ if source.KubeProxyConfig != nil {
+ var kubeProxyConfig ContainerServiceNetworkProfile_KubeProxyConfig
+ err := kubeProxyConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source.KubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig() to populate field KubeProxyConfig")
+ }
+ profile.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ profile.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if source.LoadBalancerProfile != nil {
+ var loadBalancerProfile ManagedClusterLoadBalancerProfile
+ err := loadBalancerProfile.AssignProperties_From_ManagedClusterLoadBalancerProfile(source.LoadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
+ }
+ profile.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ profile.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ profile.LoadBalancerSku = genruntime.ClonePointerToString(source.LoadBalancerSku)
+
+ // Monitoring
+ if source.Monitoring != nil {
+ propertyBag.Add("Monitoring", *source.Monitoring)
+ } else {
+ propertyBag.Remove("Monitoring")
+ }
+
+ // NatGatewayProfile
+ if source.NatGatewayProfile != nil {
+ var natGatewayProfile ManagedClusterNATGatewayProfile
+ err := natGatewayProfile.AssignProperties_From_ManagedClusterNATGatewayProfile(source.NatGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
+ }
+ profile.NatGatewayProfile = &natGatewayProfile
+ } else {
+ profile.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ profile.NetworkDataplane = genruntime.ClonePointerToString(source.NetworkDataplane)
+
+ // NetworkMode
+ profile.NetworkMode = genruntime.ClonePointerToString(source.NetworkMode)
+
+ // NetworkPlugin
+ profile.NetworkPlugin = genruntime.ClonePointerToString(source.NetworkPlugin)
+
+ // NetworkPluginMode
+ profile.NetworkPluginMode = genruntime.ClonePointerToString(source.NetworkPluginMode)
+
+ // NetworkPolicy
+ profile.NetworkPolicy = genruntime.ClonePointerToString(source.NetworkPolicy)
+
+ // OutboundType
+ profile.OutboundType = genruntime.ClonePointerToString(source.OutboundType)
+
+ // PodCidr
+ profile.PodCidr = genruntime.ClonePointerToString(source.PodCidr)
+
+ // PodCidrs
+ profile.PodCidrs = genruntime.CloneSliceOfString(source.PodCidrs)
+
+ // PodLinkLocalAccess
+ if propertyBag.Contains("PodLinkLocalAccess") {
+ var podLinkLocalAccess string
+ err := propertyBag.Pull("PodLinkLocalAccess", &podLinkLocalAccess)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PodLinkLocalAccess' from propertyBag")
+ }
+
+ profile.PodLinkLocalAccess = &podLinkLocalAccess
+ } else {
+ profile.PodLinkLocalAccess = nil
+ }
+
+ // ServiceCidr
+ profile.ServiceCidr = genruntime.ClonePointerToString(source.ServiceCidr)
+
+ // ServiceCidrs
+ profile.ServiceCidrs = genruntime.CloneSliceOfString(source.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if propertyBag.Contains("StaticEgressGatewayProfile") {
+ var staticEgressGatewayProfile ManagedClusterStaticEgressGatewayProfile
+ err := propertyBag.Pull("StaticEgressGatewayProfile", &staticEgressGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'StaticEgressGatewayProfile' from propertyBag")
+ }
+
+ profile.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ } else {
+ profile.StaticEgressGatewayProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceNetworkProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile populates the provided destination ContainerServiceNetworkProfile from our ContainerServiceNetworkProfile
+func (profile *ContainerServiceNetworkProfile) AssignProperties_To_ContainerServiceNetworkProfile(destination *storage.ContainerServiceNetworkProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdvancedNetworking
+ if profile.AdvancedNetworking != nil {
+ propertyBag.Add("AdvancedNetworking", *profile.AdvancedNetworking)
+ } else {
+ propertyBag.Remove("AdvancedNetworking")
+ }
+
+ // DnsServiceIP
+ destination.DnsServiceIP = genruntime.ClonePointerToString(profile.DnsServiceIP)
+
+ // IpFamilies
+ destination.IpFamilies = genruntime.CloneSliceOfString(profile.IpFamilies)
+
+ // KubeProxyConfig
+ if profile.KubeProxyConfig != nil {
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig
+ err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(&kubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig() to populate field KubeProxyConfig")
+ }
+ destination.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ destination.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if profile.LoadBalancerProfile != nil {
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile
+ err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile(&loadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile() to populate field LoadBalancerProfile")
+ }
+ destination.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ destination.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ destination.LoadBalancerSku = genruntime.ClonePointerToString(profile.LoadBalancerSku)
+
+ // Monitoring
+ if propertyBag.Contains("Monitoring") {
+ var monitoring storage.NetworkMonitoring
+ err := propertyBag.Pull("Monitoring", &monitoring)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Monitoring' from propertyBag")
+ }
+
+ destination.Monitoring = &monitoring
+ } else {
+ destination.Monitoring = nil
+ }
+
+ // NatGatewayProfile
+ if profile.NatGatewayProfile != nil {
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile
+ err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile(&natGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile() to populate field NatGatewayProfile")
+ }
+ destination.NatGatewayProfile = &natGatewayProfile
+ } else {
+ destination.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ destination.NetworkDataplane = genruntime.ClonePointerToString(profile.NetworkDataplane)
+
+ // NetworkMode
+ destination.NetworkMode = genruntime.ClonePointerToString(profile.NetworkMode)
+
+ // NetworkPlugin
+ destination.NetworkPlugin = genruntime.ClonePointerToString(profile.NetworkPlugin)
+
+ // NetworkPluginMode
+ destination.NetworkPluginMode = genruntime.ClonePointerToString(profile.NetworkPluginMode)
+
+ // NetworkPolicy
+ destination.NetworkPolicy = genruntime.ClonePointerToString(profile.NetworkPolicy)
+
+ // OutboundType
+ destination.OutboundType = genruntime.ClonePointerToString(profile.OutboundType)
+
+ // PodCidr
+ destination.PodCidr = genruntime.ClonePointerToString(profile.PodCidr)
+
+ // PodCidrs
+ destination.PodCidrs = genruntime.CloneSliceOfString(profile.PodCidrs)
+
+ // PodLinkLocalAccess
+ if profile.PodLinkLocalAccess != nil {
+ propertyBag.Add("PodLinkLocalAccess", *profile.PodLinkLocalAccess)
+ } else {
+ propertyBag.Remove("PodLinkLocalAccess")
+ }
+
+ // ServiceCidr
+ destination.ServiceCidr = genruntime.ClonePointerToString(profile.ServiceCidr)
+
+ // ServiceCidrs
+ destination.ServiceCidrs = genruntime.CloneSliceOfString(profile.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if profile.StaticEgressGatewayProfile != nil {
+ propertyBag.Add("StaticEgressGatewayProfile", *profile.StaticEgressGatewayProfile)
+ } else {
+ propertyBag.Remove("StaticEgressGatewayProfile")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceNetworkProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceNetworkProfile_STATUS
+// Profile of network configuration.
+type ContainerServiceNetworkProfile_STATUS struct {
+ AdvancedNetworking *AdvancedNetworking_STATUS `json:"advancedNetworking,omitempty"`
+ DnsServiceIP *string `json:"dnsServiceIP,omitempty"`
+ IpFamilies []string `json:"ipFamilies,omitempty"`
+ KubeProxyConfig *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS `json:"kubeProxyConfig,omitempty"`
+ LoadBalancerProfile *ManagedClusterLoadBalancerProfile_STATUS `json:"loadBalancerProfile,omitempty"`
+ LoadBalancerSku *string `json:"loadBalancerSku,omitempty"`
+ NatGatewayProfile *ManagedClusterNATGatewayProfile_STATUS `json:"natGatewayProfile,omitempty"`
+ NetworkDataplane *string `json:"networkDataplane,omitempty"`
+ NetworkMode *string `json:"networkMode,omitempty"`
+ NetworkPlugin *string `json:"networkPlugin,omitempty"`
+ NetworkPluginMode *string `json:"networkPluginMode,omitempty"`
+ NetworkPolicy *string `json:"networkPolicy,omitempty"`
+ OutboundType *string `json:"outboundType,omitempty"`
+ PodCidr *string `json:"podCidr,omitempty"`
+ PodCidrs []string `json:"podCidrs,omitempty"`
+ PodLinkLocalAccess *string `json:"podLinkLocalAccess,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ServiceCidr *string `json:"serviceCidr,omitempty"`
+ ServiceCidrs []string `json:"serviceCidrs,omitempty"`
+ StaticEgressGatewayProfile *ManagedClusterStaticEgressGatewayProfile_STATUS `json:"staticEgressGatewayProfile,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_STATUS populates our ContainerServiceNetworkProfile_STATUS from the provided source ContainerServiceNetworkProfile_STATUS
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_STATUS(source *storage.ContainerServiceNetworkProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdvancedNetworking
+ if propertyBag.Contains("AdvancedNetworking") {
+ var advancedNetworking AdvancedNetworking_STATUS
+ err := propertyBag.Pull("AdvancedNetworking", &advancedNetworking)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AdvancedNetworking' from propertyBag")
+ }
+
+ profile.AdvancedNetworking = &advancedNetworking
+ } else {
+ profile.AdvancedNetworking = nil
+ }
+
+ // DnsServiceIP
+ profile.DnsServiceIP = genruntime.ClonePointerToString(source.DnsServiceIP)
+
+ // IpFamilies
+ profile.IpFamilies = genruntime.CloneSliceOfString(source.IpFamilies)
+
+ // KubeProxyConfig
+ if source.KubeProxyConfig != nil {
+ var kubeProxyConfig ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ err := kubeProxyConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source.KubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS() to populate field KubeProxyConfig")
+ }
+ profile.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ profile.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if source.LoadBalancerProfile != nil {
+ var loadBalancerProfile ManagedClusterLoadBalancerProfile_STATUS
+ err := loadBalancerProfile.AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source.LoadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
+ }
+ profile.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ profile.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ profile.LoadBalancerSku = genruntime.ClonePointerToString(source.LoadBalancerSku)
+
+ // Monitoring
+ if source.Monitoring != nil {
+ propertyBag.Add("Monitoring", *source.Monitoring)
+ } else {
+ propertyBag.Remove("Monitoring")
+ }
+
+ // NatGatewayProfile
+ if source.NatGatewayProfile != nil {
+ var natGatewayProfile ManagedClusterNATGatewayProfile_STATUS
+ err := natGatewayProfile.AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source.NatGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
+ }
+ profile.NatGatewayProfile = &natGatewayProfile
+ } else {
+ profile.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ profile.NetworkDataplane = genruntime.ClonePointerToString(source.NetworkDataplane)
+
+ // NetworkMode
+ profile.NetworkMode = genruntime.ClonePointerToString(source.NetworkMode)
+
+ // NetworkPlugin
+ profile.NetworkPlugin = genruntime.ClonePointerToString(source.NetworkPlugin)
+
+ // NetworkPluginMode
+ profile.NetworkPluginMode = genruntime.ClonePointerToString(source.NetworkPluginMode)
+
+ // NetworkPolicy
+ profile.NetworkPolicy = genruntime.ClonePointerToString(source.NetworkPolicy)
+
+ // OutboundType
+ profile.OutboundType = genruntime.ClonePointerToString(source.OutboundType)
+
+ // PodCidr
+ profile.PodCidr = genruntime.ClonePointerToString(source.PodCidr)
+
+ // PodCidrs
+ profile.PodCidrs = genruntime.CloneSliceOfString(source.PodCidrs)
+
+ // PodLinkLocalAccess
+ if propertyBag.Contains("PodLinkLocalAccess") {
+ var podLinkLocalAccess string
+ err := propertyBag.Pull("PodLinkLocalAccess", &podLinkLocalAccess)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PodLinkLocalAccess' from propertyBag")
+ }
+
+ profile.PodLinkLocalAccess = &podLinkLocalAccess
+ } else {
+ profile.PodLinkLocalAccess = nil
+ }
+
+ // ServiceCidr
+ profile.ServiceCidr = genruntime.ClonePointerToString(source.ServiceCidr)
+
+ // ServiceCidrs
+ profile.ServiceCidrs = genruntime.CloneSliceOfString(source.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if propertyBag.Contains("StaticEgressGatewayProfile") {
+ var staticEgressGatewayProfile ManagedClusterStaticEgressGatewayProfile_STATUS
+ err := propertyBag.Pull("StaticEgressGatewayProfile", &staticEgressGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'StaticEgressGatewayProfile' from propertyBag")
+ }
+
+ profile.StaticEgressGatewayProfile = &staticEgressGatewayProfile
+ } else {
+ profile.StaticEgressGatewayProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceNetworkProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_STATUS populates the provided destination ContainerServiceNetworkProfile_STATUS from our ContainerServiceNetworkProfile_STATUS
+func (profile *ContainerServiceNetworkProfile_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_STATUS(destination *storage.ContainerServiceNetworkProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdvancedNetworking
+ if profile.AdvancedNetworking != nil {
+ propertyBag.Add("AdvancedNetworking", *profile.AdvancedNetworking)
+ } else {
+ propertyBag.Remove("AdvancedNetworking")
+ }
+
+ // DnsServiceIP
+ destination.DnsServiceIP = genruntime.ClonePointerToString(profile.DnsServiceIP)
+
+ // IpFamilies
+ destination.IpFamilies = genruntime.CloneSliceOfString(profile.IpFamilies)
+
+ // KubeProxyConfig
+ if profile.KubeProxyConfig != nil {
+ var kubeProxyConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+ err := profile.KubeProxyConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(&kubeProxyConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS() to populate field KubeProxyConfig")
+ }
+ destination.KubeProxyConfig = &kubeProxyConfig
+ } else {
+ destination.KubeProxyConfig = nil
+ }
+
+ // LoadBalancerProfile
+ if profile.LoadBalancerProfile != nil {
+ var loadBalancerProfile storage.ManagedClusterLoadBalancerProfile_STATUS
+ err := profile.LoadBalancerProfile.AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(&loadBalancerProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS() to populate field LoadBalancerProfile")
+ }
+ destination.LoadBalancerProfile = &loadBalancerProfile
+ } else {
+ destination.LoadBalancerProfile = nil
+ }
+
+ // LoadBalancerSku
+ destination.LoadBalancerSku = genruntime.ClonePointerToString(profile.LoadBalancerSku)
+
+ // Monitoring
+ if propertyBag.Contains("Monitoring") {
+ var monitoring storage.NetworkMonitoring_STATUS
+ err := propertyBag.Pull("Monitoring", &monitoring)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Monitoring' from propertyBag")
+ }
+
+ destination.Monitoring = &monitoring
+ } else {
+ destination.Monitoring = nil
+ }
+
+ // NatGatewayProfile
+ if profile.NatGatewayProfile != nil {
+ var natGatewayProfile storage.ManagedClusterNATGatewayProfile_STATUS
+ err := profile.NatGatewayProfile.AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(&natGatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS() to populate field NatGatewayProfile")
+ }
+ destination.NatGatewayProfile = &natGatewayProfile
+ } else {
+ destination.NatGatewayProfile = nil
+ }
+
+ // NetworkDataplane
+ destination.NetworkDataplane = genruntime.ClonePointerToString(profile.NetworkDataplane)
+
+ // NetworkMode
+ destination.NetworkMode = genruntime.ClonePointerToString(profile.NetworkMode)
+
+ // NetworkPlugin
+ destination.NetworkPlugin = genruntime.ClonePointerToString(profile.NetworkPlugin)
+
+ // NetworkPluginMode
+ destination.NetworkPluginMode = genruntime.ClonePointerToString(profile.NetworkPluginMode)
+
+ // NetworkPolicy
+ destination.NetworkPolicy = genruntime.ClonePointerToString(profile.NetworkPolicy)
+
+ // OutboundType
+ destination.OutboundType = genruntime.ClonePointerToString(profile.OutboundType)
+
+ // PodCidr
+ destination.PodCidr = genruntime.ClonePointerToString(profile.PodCidr)
+
+ // PodCidrs
+ destination.PodCidrs = genruntime.CloneSliceOfString(profile.PodCidrs)
+
+ // PodLinkLocalAccess
+ if profile.PodLinkLocalAccess != nil {
+ propertyBag.Add("PodLinkLocalAccess", *profile.PodLinkLocalAccess)
+ } else {
+ propertyBag.Remove("PodLinkLocalAccess")
+ }
+
+ // ServiceCidr
+ destination.ServiceCidr = genruntime.ClonePointerToString(profile.ServiceCidr)
+
+ // ServiceCidrs
+ destination.ServiceCidrs = genruntime.CloneSliceOfString(profile.ServiceCidrs)
+
+ // StaticEgressGatewayProfile
+ if profile.StaticEgressGatewayProfile != nil {
+ propertyBag.Add("StaticEgressGatewayProfile", *profile.StaticEgressGatewayProfile)
+ } else {
+ propertyBag.Remove("StaticEgressGatewayProfile")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForContainerServiceNetworkProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.CreationData
+// Data used when creating a target resource from a source resource.
+type CreationData struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+
+ // SourceResourceReference: This is the ARM ID of the source object to be used to create the target object.
+ SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
+}
+
+// AssignProperties_From_CreationData populates our CreationData from the provided source CreationData
+func (data *CreationData) AssignProperties_From_CreationData(source *storage.CreationData) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // SourceResourceReference
+ if source.SourceResourceReference != nil {
+ sourceResourceReference := source.SourceResourceReference.Copy()
+ data.SourceResourceReference = &sourceResourceReference
+ } else {
+ data.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ data.PropertyBag = propertyBag
+ } else {
+ data.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForCreationData interface (if implemented) to customize the conversion
+ var dataAsAny any = data
+ if augmentedData, ok := dataAsAny.(augmentConversionForCreationData); ok {
+ err := augmentedData.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_CreationData populates the provided destination CreationData from our CreationData
+func (data *CreationData) AssignProperties_To_CreationData(destination *storage.CreationData) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
+
+ // SourceResourceReference
+ if data.SourceResourceReference != nil {
+ sourceResourceReference := data.SourceResourceReference.Copy()
+ destination.SourceResourceReference = &sourceResourceReference
+ } else {
+ destination.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForCreationData interface (if implemented) to customize the conversion
+ var dataAsAny any = data
+ if augmentedData, ok := dataAsAny.(augmentConversionForCreationData); ok {
+ err := augmentedData.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.CreationData_STATUS
+// Data used when creating a target resource from a source resource.
+type CreationData_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+}
+
+// AssignProperties_From_CreationData_STATUS populates our CreationData_STATUS from the provided source CreationData_STATUS
+func (data *CreationData_STATUS) AssignProperties_From_CreationData_STATUS(source *storage.CreationData_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // SourceResourceId
+ data.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ data.PropertyBag = propertyBag
+ } else {
+ data.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForCreationData_STATUS interface (if implemented) to customize the conversion
+ var dataAsAny any = data
+ if augmentedData, ok := dataAsAny.(augmentConversionForCreationData_STATUS); ok {
+ err := augmentedData.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_CreationData_STATUS populates the provided destination CreationData_STATUS from our CreationData_STATUS
+func (data *CreationData_STATUS) AssignProperties_To_CreationData_STATUS(destination *storage.CreationData_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
+
+ // SourceResourceId
+ destination.SourceResourceId = genruntime.ClonePointerToString(data.SourceResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForCreationData_STATUS interface (if implemented) to customize the conversion
+ var dataAsAny any = data
+ if augmentedData, ok := dataAsAny.(augmentConversionForCreationData_STATUS); ok {
+ err := augmentedData.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ExtendedLocation
+// The complex type of the extended location.
+type ExtendedLocation struct {
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Type *string `json:"type,omitempty"`
+}
+
+// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Name
+ location.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Type
+ location.Type = genruntime.ClonePointerToString(source.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ location.PropertyBag = propertyBag
+ } else {
+ location.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForExtendedLocation interface (if implemented) to customize the conversion
+ var locationAsAny any = location
+ if augmentedLocation, ok := locationAsAny.(augmentConversionForExtendedLocation); ok {
+ err := augmentedLocation.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(location.Name)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(location.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForExtendedLocation interface (if implemented) to customize the conversion
+ var locationAsAny any = location
+ if augmentedLocation, ok := locationAsAny.(augmentConversionForExtendedLocation); ok {
+ err := augmentedLocation.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ExtendedLocation_STATUS
+// The complex type of the extended location.
+type ExtendedLocation_STATUS struct {
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Type *string `json:"type,omitempty"`
+}
+
+// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Name
+ location.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Type
+ location.Type = genruntime.ClonePointerToString(source.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ location.PropertyBag = propertyBag
+ } else {
+ location.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForExtendedLocation_STATUS interface (if implemented) to customize the conversion
+ var locationAsAny any = location
+ if augmentedLocation, ok := locationAsAny.(augmentConversionForExtendedLocation_STATUS); ok {
+ err := augmentedLocation.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(location.Name)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(location.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForExtendedLocation_STATUS interface (if implemented) to customize the conversion
+ var locationAsAny any = location
+ if augmentedLocation, ok := locationAsAny.(augmentConversionForExtendedLocation_STATUS); ok {
+ err := augmentedLocation.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAADProfile
+// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
+type ManagedClusterAADProfile struct {
+ AdminGroupObjectIDs []string `json:"adminGroupObjectIDs,omitempty"`
+ ClientAppID *string `json:"clientAppID,omitempty"`
+ EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"`
+ Managed *bool `json:"managed,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ServerAppID *string `json:"serverAppID,omitempty"`
+ ServerAppSecret *string `json:"serverAppSecret,omitempty"`
+ TenantID *string `json:"tenantID,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAADProfile populates our ManagedClusterAADProfile from the provided source ManagedClusterAADProfile
+func (profile *ManagedClusterAADProfile) AssignProperties_From_ManagedClusterAADProfile(source *storage.ManagedClusterAADProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminGroupObjectIDs
+ profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
+
+ // ClientAppID
+ profile.ClientAppID = genruntime.ClonePointerToString(source.ClientAppID)
+
+ // EnableAzureRBAC
+ if source.EnableAzureRBAC != nil {
+ enableAzureRBAC := *source.EnableAzureRBAC
+ profile.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ profile.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if source.Managed != nil {
+ managed := *source.Managed
+ profile.Managed = &managed
+ } else {
+ profile.Managed = nil
+ }
+
+ // ServerAppID
+ profile.ServerAppID = genruntime.ClonePointerToString(source.ServerAppID)
+
+ // ServerAppSecret
+ profile.ServerAppSecret = genruntime.ClonePointerToString(source.ServerAppSecret)
+
+ // TenantID
+ profile.TenantID = genruntime.ClonePointerToString(source.TenantID)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAADProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAADProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAADProfile populates the provided destination ManagedClusterAADProfile from our ManagedClusterAADProfile
+func (profile *ManagedClusterAADProfile) AssignProperties_To_ManagedClusterAADProfile(destination *storage.ManagedClusterAADProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdminGroupObjectIDs
+ destination.AdminGroupObjectIDs = genruntime.CloneSliceOfString(profile.AdminGroupObjectIDs)
+
+ // ClientAppID
+ destination.ClientAppID = genruntime.ClonePointerToString(profile.ClientAppID)
+
+ // EnableAzureRBAC
+ if profile.EnableAzureRBAC != nil {
+ enableAzureRBAC := *profile.EnableAzureRBAC
+ destination.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ destination.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if profile.Managed != nil {
+ managed := *profile.Managed
+ destination.Managed = &managed
+ } else {
+ destination.Managed = nil
+ }
+
+ // ServerAppID
+ destination.ServerAppID = genruntime.ClonePointerToString(profile.ServerAppID)
+
+ // ServerAppSecret
+ destination.ServerAppSecret = genruntime.ClonePointerToString(profile.ServerAppSecret)
+
+ // TenantID
+ destination.TenantID = genruntime.ClonePointerToString(profile.TenantID)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAADProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAADProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAADProfile_STATUS
+// For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
+type ManagedClusterAADProfile_STATUS struct {
+ AdminGroupObjectIDs []string `json:"adminGroupObjectIDs,omitempty"`
+ ClientAppID *string `json:"clientAppID,omitempty"`
+ EnableAzureRBAC *bool `json:"enableAzureRBAC,omitempty"`
+ Managed *bool `json:"managed,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ServerAppID *string `json:"serverAppID,omitempty"`
+ ServerAppSecret *string `json:"serverAppSecret,omitempty"`
+ TenantID *string `json:"tenantID,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAADProfile_STATUS populates our ManagedClusterAADProfile_STATUS from the provided source ManagedClusterAADProfile_STATUS
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_From_ManagedClusterAADProfile_STATUS(source *storage.ManagedClusterAADProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminGroupObjectIDs
+ profile.AdminGroupObjectIDs = genruntime.CloneSliceOfString(source.AdminGroupObjectIDs)
+
+ // ClientAppID
+ profile.ClientAppID = genruntime.ClonePointerToString(source.ClientAppID)
+
+ // EnableAzureRBAC
+ if source.EnableAzureRBAC != nil {
+ enableAzureRBAC := *source.EnableAzureRBAC
+ profile.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ profile.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if source.Managed != nil {
+ managed := *source.Managed
+ profile.Managed = &managed
+ } else {
+ profile.Managed = nil
+ }
+
+ // ServerAppID
+ profile.ServerAppID = genruntime.ClonePointerToString(source.ServerAppID)
+
+ // ServerAppSecret
+ profile.ServerAppSecret = genruntime.ClonePointerToString(source.ServerAppSecret)
+
+ // TenantID
+ profile.TenantID = genruntime.ClonePointerToString(source.TenantID)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAADProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAADProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAADProfile_STATUS populates the provided destination ManagedClusterAADProfile_STATUS from our ManagedClusterAADProfile_STATUS
+func (profile *ManagedClusterAADProfile_STATUS) AssignProperties_To_ManagedClusterAADProfile_STATUS(destination *storage.ManagedClusterAADProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdminGroupObjectIDs
+ destination.AdminGroupObjectIDs = genruntime.CloneSliceOfString(profile.AdminGroupObjectIDs)
+
+ // ClientAppID
+ destination.ClientAppID = genruntime.ClonePointerToString(profile.ClientAppID)
+
+ // EnableAzureRBAC
+ if profile.EnableAzureRBAC != nil {
+ enableAzureRBAC := *profile.EnableAzureRBAC
+ destination.EnableAzureRBAC = &enableAzureRBAC
+ } else {
+ destination.EnableAzureRBAC = nil
+ }
+
+ // Managed
+ if profile.Managed != nil {
+ managed := *profile.Managed
+ destination.Managed = &managed
+ } else {
+ destination.Managed = nil
+ }
+
+ // ServerAppID
+ destination.ServerAppID = genruntime.ClonePointerToString(profile.ServerAppID)
+
+ // ServerAppSecret
+ destination.ServerAppSecret = genruntime.ClonePointerToString(profile.ServerAppSecret)
+
+ // TenantID
+ destination.TenantID = genruntime.ClonePointerToString(profile.TenantID)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAADProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAADProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAddonProfile
+// A Kubernetes add-on profile for a managed cluster.
+type ManagedClusterAddonProfile struct {
+ Config map[string]string `json:"config,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAddonProfile populates our ManagedClusterAddonProfile from the provided source ManagedClusterAddonProfile
+func (profile *ManagedClusterAddonProfile) AssignProperties_From_ManagedClusterAddonProfile(source *storage.ManagedClusterAddonProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Config
+ profile.Config = genruntime.CloneMapOfStringToString(source.Config)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAddonProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAddonProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAddonProfile populates the provided destination ManagedClusterAddonProfile from our ManagedClusterAddonProfile
+func (profile *ManagedClusterAddonProfile) AssignProperties_To_ManagedClusterAddonProfile(destination *storage.ManagedClusterAddonProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Config
+ destination.Config = genruntime.CloneMapOfStringToString(profile.Config)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAddonProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAddonProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAddonProfile_STATUS
+// A Kubernetes add-on profile for a managed cluster.
+type ManagedClusterAddonProfile_STATUS struct {
+ Config map[string]string `json:"config,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ Identity *UserAssignedIdentity_STATUS `json:"identity,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAddonProfile_STATUS populates our ManagedClusterAddonProfile_STATUS from the provided source ManagedClusterAddonProfile_STATUS
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_From_ManagedClusterAddonProfile_STATUS(source *storage.ManagedClusterAddonProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Config
+ profile.Config = genruntime.CloneMapOfStringToString(source.Config)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Identity
+ if source.Identity != nil {
+ var identity UserAssignedIdentity_STATUS
+ err := identity.AssignProperties_From_UserAssignedIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ profile.Identity = &identity
+ } else {
+ profile.Identity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAddonProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAddonProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAddonProfile_STATUS populates the provided destination ManagedClusterAddonProfile_STATUS from our ManagedClusterAddonProfile_STATUS
+func (profile *ManagedClusterAddonProfile_STATUS) AssignProperties_To_ManagedClusterAddonProfile_STATUS(destination *storage.ManagedClusterAddonProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Config
+ destination.Config = genruntime.CloneMapOfStringToString(profile.Config)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Identity
+ if profile.Identity != nil {
+ var identity storage.UserAssignedIdentity_STATUS
+ err := profile.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAddonProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAddonProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAgentPoolProfile
+// Profile for the container service agent pool.
+type ManagedClusterAgentPoolProfile struct {
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"`
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+
+ // CapacityReservationGroupReference: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupReference *genruntime.ResourceReference `armReference:"CapacityReservationGroupID" json:"capacityReservationGroupReference,omitempty"`
+ Count *int `json:"count,omitempty"`
+ CreationData *CreationData `json:"creationData,omitempty"`
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+ GatewayProfile *AgentPoolGatewayProfile `json:"gatewayProfile,omitempty"`
+ GpuInstanceProfile *string `json:"gpuInstanceProfile,omitempty"`
+ GpuProfile *AgentPoolGPUProfile `json:"gpuProfile,omitempty"`
+
+ // HostGroupReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupReference *genruntime.ResourceReference `armReference:"HostGroupID" json:"hostGroupReference,omitempty"`
+ KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"`
+ KubeletDiskType *string `json:"kubeletDiskType,omitempty"`
+ LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"`
+ MaxCount *int `json:"maxCount,omitempty"`
+ MaxPods *int `json:"maxPods,omitempty"`
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+ MinCount *int `json:"minCount,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ Name *string `json:"name,omitempty"`
+ NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+ NodeLabels map[string]string `json:"nodeLabels,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // NodePublicIPPrefixReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixReference *genruntime.ResourceReference `armReference:"NodePublicIPPrefixID" json:"nodePublicIPPrefixReference,omitempty"`
+ NodeTaints []string `json:"nodeTaints,omitempty" serializationType:"explicitEmptyCollection"`
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+ OsDiskType *string `json:"osDiskType,omitempty"`
+ OsSKU *string `json:"osSKU,omitempty"`
+ OsType *string `json:"osType,omitempty"`
+ PodIPAllocationMode *string `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetReference: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details).
+ // This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetReference *genruntime.ResourceReference `armReference:"PodSubnetID" json:"podSubnetReference,omitempty"`
+ PowerState *PowerState `json:"powerState,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+
+ // ProximityPlacementGroupReference: The ID for Proximity Placement Group.
+ ProximityPlacementGroupReference *genruntime.ResourceReference `armReference:"ProximityPlacementGroupID" json:"proximityPlacementGroupReference,omitempty"`
+ ScaleDownMode *string `json:"scaleDownMode,omitempty"`
+ ScaleSetEvictionPolicy *string `json:"scaleSetEvictionPolicy,omitempty"`
+ ScaleSetPriority *string `json:"scaleSetPriority,omitempty"`
+ SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"`
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+ Tags map[string]string `json:"tags,omitempty" serializationType:"explicitEmptyCollection"`
+ Type *string `json:"type,omitempty"`
+ UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes `json:"virtualMachineNodesStatus,omitempty"`
+ VirtualMachinesProfile *VirtualMachinesProfile `json:"virtualMachinesProfile,omitempty"`
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetReference: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
+ // specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetReference *genruntime.ResourceReference `armReference:"VnetSubnetID" json:"vnetSubnetReference,omitempty"`
+ WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"`
+ WorkloadRuntime *string `json:"workloadRuntime,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAgentPoolProfile populates our ManagedClusterAgentPoolProfile from the provided source ManagedClusterAgentPoolProfile
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_From_ManagedClusterAgentPoolProfile(source *storage.ManagedClusterAgentPoolProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ profile.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ profile.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // CapacityReservationGroupReference
+ if source.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := source.CapacityReservationGroupReference.Copy()
+ profile.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ profile.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData
+ err := creationDatum.AssignProperties_From_CreationData(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData() to populate field CreationData")
+ }
+ profile.CreationData = &creationDatum
+ } else {
+ profile.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ profile.EnableAutoScaling = &enableAutoScaling
+ } else {
+ profile.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ profile.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ profile.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ profile.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ profile.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ profile.EnableFIPS = &enableFIPS
+ } else {
+ profile.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ profile.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ profile.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ profile.EnableUltraSSD = &enableUltraSSD
+ } else {
+ profile.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if propertyBag.Contains("GatewayProfile") {
+ var gatewayProfile AgentPoolGatewayProfile
+ err := propertyBag.Pull("GatewayProfile", &gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'GatewayProfile' from propertyBag")
+ }
+
+ profile.GatewayProfile = &gatewayProfile
+ } else {
+ profile.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ profile.GpuInstanceProfile = genruntime.ClonePointerToString(source.GpuInstanceProfile)
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ profile.GpuProfile = &gpuProfile
+ } else {
+ profile.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if source.HostGroupReference != nil {
+ hostGroupReference := source.HostGroupReference.Copy()
+ profile.HostGroupReference = &hostGroupReference
+ } else {
+ profile.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig
+ err := kubeletConfig.AssignProperties_From_KubeletConfig(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig() to populate field KubeletConfig")
+ }
+ profile.KubeletConfig = &kubeletConfig
+ } else {
+ profile.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ profile.KubeletDiskType = genruntime.ClonePointerToString(source.KubeletDiskType)
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ profile.LinuxOSConfig = &linuxOSConfig
+ } else {
+ profile.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ profile.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ profile.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ profile.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ profile.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ profile.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Name
+ profile.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ profile.NetworkProfile = &networkProfile
+ } else {
+ profile.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ profile.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ profile.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if source.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := source.NodePublicIPPrefixReference.Copy()
+ profile.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ profile.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ profile.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ profile.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ profile.OsDiskSizeGB = genruntime.ClonePointerToInt(source.OsDiskSizeGB)
+
+ // OsDiskType
+ profile.OsDiskType = genruntime.ClonePointerToString(source.OsDiskType)
+
+ // OsSKU
+ profile.OsSKU = genruntime.ClonePointerToString(source.OsSKU)
+
+ // OsType
+ profile.OsType = genruntime.ClonePointerToString(source.OsType)
+
+ // PodIPAllocationMode
+ if propertyBag.Contains("PodIPAllocationMode") {
+ var podIPAllocationMode string
+ err := propertyBag.Pull("PodIPAllocationMode", &podIPAllocationMode)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PodIPAllocationMode' from propertyBag")
+ }
+
+ profile.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ profile.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetReference
+ if source.PodSubnetReference != nil {
+ podSubnetReference := source.PodSubnetReference.Copy()
+ profile.PodSubnetReference = &podSubnetReference
+ } else {
+ profile.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState
+ err := powerState.AssignProperties_From_PowerState(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState() to populate field PowerState")
+ }
+ profile.PowerState = &powerState
+ } else {
+ profile.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if source.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := source.ProximityPlacementGroupReference.Copy()
+ profile.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ profile.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ profile.ScaleDownMode = genruntime.ClonePointerToString(source.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ profile.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(source.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ profile.ScaleSetPriority = genruntime.ClonePointerToString(source.ScaleSetPriority)
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ profile.SecurityProfile = &securityProfile
+ } else {
+ profile.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ profile.SpotMaxPrice = &spotMaxPrice
+ } else {
+ profile.SpotMaxPrice = nil
+ }
+
+ // Tags
+ profile.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ profile.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ profile.UpgradeSettings = &upgradeSetting
+ } else {
+ profile.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ profile.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ profile.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ profile.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ profile.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ profile.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetReference
+ if source.VnetSubnetReference != nil {
+ vnetSubnetReference := source.VnetSubnetReference.Copy()
+ profile.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ profile.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ profile.WindowsProfile = &windowsProfile
+ } else {
+ profile.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ profile.WorkloadRuntime = genruntime.ClonePointerToString(source.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAgentPoolProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAgentPoolProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAgentPoolProfile populates the provided destination ManagedClusterAgentPoolProfile from our ManagedClusterAgentPoolProfile
+func (profile *ManagedClusterAgentPoolProfile) AssignProperties_To_ManagedClusterAgentPoolProfile(destination *storage.ManagedClusterAgentPoolProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if profile.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile
+ err := profile.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(profile.AvailabilityZones)
+
+ // CapacityReservationGroupReference
+ if profile.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := profile.CapacityReservationGroupReference.Copy()
+ destination.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ destination.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // CreationData
+ if profile.CreationData != nil {
+ var creationDatum storage.CreationData
+ err := profile.CreationData.AssignProperties_To_CreationData(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if profile.EnableAutoScaling != nil {
+ enableAutoScaling := *profile.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if profile.EnableCustomCATrust != nil {
+ enableCustomCATrust := *profile.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if profile.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *profile.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if profile.EnableFIPS != nil {
+ enableFIPS := *profile.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if profile.EnableNodePublicIP != nil {
+ enableNodePublicIP := *profile.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if profile.EnableUltraSSD != nil {
+ enableUltraSSD := *profile.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if profile.GatewayProfile != nil {
+ propertyBag.Add("GatewayProfile", *profile.GatewayProfile)
+ } else {
+ propertyBag.Remove("GatewayProfile")
+ }
+
+ // GpuInstanceProfile
+ destination.GpuInstanceProfile = genruntime.ClonePointerToString(profile.GpuInstanceProfile)
+
+ // GpuProfile
+ if profile.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile
+ err := profile.GpuProfile.AssignProperties_To_AgentPoolGPUProfile(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if profile.HostGroupReference != nil {
+ hostGroupReference := profile.HostGroupReference.Copy()
+ destination.HostGroupReference = &hostGroupReference
+ } else {
+ destination.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if profile.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig
+ err := profile.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ destination.KubeletDiskType = genruntime.ClonePointerToString(profile.KubeletDiskType)
+
+ // LinuxOSConfig
+ if profile.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig
+ err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(profile.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(profile.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(profile.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(profile.MinCount)
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(profile.Mode)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(profile.Name)
+
+ // NetworkProfile
+ if profile.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile
+ err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(profile.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(profile.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if profile.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := profile.NodePublicIPPrefixReference.Copy()
+ destination.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ destination.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(profile.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(profile.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ destination.OsDiskSizeGB = genruntime.ClonePointerToInt(profile.OsDiskSizeGB)
+
+ // OsDiskType
+ destination.OsDiskType = genruntime.ClonePointerToString(profile.OsDiskType)
+
+ // OsSKU
+ destination.OsSKU = genruntime.ClonePointerToString(profile.OsSKU)
+
+ // OsType
+ destination.OsType = genruntime.ClonePointerToString(profile.OsType)
+
+ // PodIPAllocationMode
+ if profile.PodIPAllocationMode != nil {
+ propertyBag.Add("PodIPAllocationMode", *profile.PodIPAllocationMode)
+ } else {
+ propertyBag.Remove("PodIPAllocationMode")
+ }
+
+ // PodSubnetReference
+ if profile.PodSubnetReference != nil {
+ podSubnetReference := profile.PodSubnetReference.Copy()
+ destination.PodSubnetReference = &podSubnetReference
+ } else {
+ destination.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if profile.PowerState != nil {
+ var powerState storage.PowerState
+ err := profile.PowerState.AssignProperties_To_PowerState(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if profile.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := profile.ProximityPlacementGroupReference.Copy()
+ destination.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ destination.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ destination.ScaleDownMode = genruntime.ClonePointerToString(profile.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ destination.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(profile.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ destination.ScaleSetPriority = genruntime.ClonePointerToString(profile.ScaleSetPriority)
+
+ // SecurityProfile
+ if profile.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile
+ err := profile.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if profile.SpotMaxPrice != nil {
+ spotMaxPrice := *profile.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(profile.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(profile.Type)
+
+ // UpgradeSettings
+ if profile.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings
+ err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if profile.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes, len(profile.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range profile.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if profile.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile
+ err := profile.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(profile.VmSize)
+
+ // VnetSubnetReference
+ if profile.VnetSubnetReference != nil {
+ vnetSubnetReference := profile.VnetSubnetReference.Copy()
+ destination.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ destination.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if profile.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile
+ err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ destination.WorkloadRuntime = genruntime.ClonePointerToString(profile.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAgentPoolProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAgentPoolProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAgentPoolProfile_STATUS
+// Profile for the container service agent pool.
+type ManagedClusterAgentPoolProfile_STATUS struct {
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_STATUS `json:"artifactStreamingProfile,omitempty"`
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+ Count *int `json:"count,omitempty"`
+ CreationData *CreationData_STATUS `json:"creationData,omitempty"`
+ CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"`
+ ETag *string `json:"eTag,omitempty"`
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+ GatewayProfile *AgentPoolGatewayProfile_STATUS `json:"gatewayProfile,omitempty"`
+ GpuInstanceProfile *string `json:"gpuInstanceProfile,omitempty"`
+ GpuProfile *AgentPoolGPUProfile_STATUS `json:"gpuProfile,omitempty"`
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+ KubeletConfig *KubeletConfig_STATUS `json:"kubeletConfig,omitempty"`
+ KubeletDiskType *string `json:"kubeletDiskType,omitempty"`
+ LinuxOSConfig *LinuxOSConfig_STATUS `json:"linuxOSConfig,omitempty"`
+ MaxCount *int `json:"maxCount,omitempty"`
+ MaxPods *int `json:"maxPods,omitempty"`
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+ MinCount *int `json:"minCount,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ Name *string `json:"name,omitempty"`
+ NetworkProfile *AgentPoolNetworkProfile_STATUS `json:"networkProfile,omitempty"`
+ NodeImageVersion *string `json:"nodeImageVersion,omitempty"`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+ NodeLabels map[string]string `json:"nodeLabels,omitempty"`
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+ NodeTaints []string `json:"nodeTaints,omitempty"`
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+ OsDiskType *string `json:"osDiskType,omitempty"`
+ OsSKU *string `json:"osSKU,omitempty"`
+ OsType *string `json:"osType,omitempty"`
+ PodIPAllocationMode *string `json:"podIPAllocationMode,omitempty"`
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+ PowerState *PowerState_STATUS `json:"powerState,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+ ScaleDownMode *string `json:"scaleDownMode,omitempty"`
+ ScaleSetEvictionPolicy *string `json:"scaleSetEvictionPolicy,omitempty"`
+ ScaleSetPriority *string `json:"scaleSetPriority,omitempty"`
+ SecurityProfile *AgentPoolSecurityProfile_STATUS `json:"securityProfile,omitempty"`
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+ Tags map[string]string `json:"tags,omitempty"`
+ Type *string `json:"type,omitempty"`
+ UpgradeSettings *AgentPoolUpgradeSettings_STATUS `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_STATUS `json:"virtualMachineNodesStatus,omitempty"`
+ VirtualMachinesProfile *VirtualMachinesProfile_STATUS `json:"virtualMachinesProfile,omitempty"`
+ VmSize *string `json:"vmSize,omitempty"`
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+ WindowsProfile *AgentPoolWindowsProfile_STATUS `json:"windowsProfile,omitempty"`
+ WorkloadRuntime *string `json:"workloadRuntime,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS populates our ManagedClusterAgentPoolProfile_STATUS from the provided source ManagedClusterAgentPoolProfile_STATUS
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_From_ManagedClusterAgentPoolProfile_STATUS(source *storage.ManagedClusterAgentPoolProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile_STATUS
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ profile.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ profile.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ profile.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ profile.CapacityReservationGroupID = genruntime.ClonePointerToString(source.CapacityReservationGroupID)
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData_STATUS
+ err := creationDatum.AssignProperties_From_CreationData_STATUS(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData_STATUS() to populate field CreationData")
+ }
+ profile.CreationData = &creationDatum
+ } else {
+ profile.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ profile.CurrentOrchestratorVersion = genruntime.ClonePointerToString(source.CurrentOrchestratorVersion)
+
+ // ETag
+ if propertyBag.Contains("ETag") {
+ var eTag string
+ err := propertyBag.Pull("ETag", &eTag)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ETag' from propertyBag")
+ }
+
+ profile.ETag = &eTag
+ } else {
+ profile.ETag = nil
+ }
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ profile.EnableAutoScaling = &enableAutoScaling
+ } else {
+ profile.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ profile.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ profile.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ profile.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ profile.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ profile.EnableFIPS = &enableFIPS
+ } else {
+ profile.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ profile.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ profile.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ profile.EnableUltraSSD = &enableUltraSSD
+ } else {
+ profile.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if propertyBag.Contains("GatewayProfile") {
+ var gatewayProfile AgentPoolGatewayProfile_STATUS
+ err := propertyBag.Pull("GatewayProfile", &gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'GatewayProfile' from propertyBag")
+ }
+
+ profile.GatewayProfile = &gatewayProfile
+ } else {
+ profile.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ profile.GpuInstanceProfile = genruntime.ClonePointerToString(source.GpuInstanceProfile)
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile_STATUS
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile_STATUS(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ profile.GpuProfile = &gpuProfile
+ } else {
+ profile.GpuProfile = nil
+ }
+
+ // HostGroupID
+ profile.HostGroupID = genruntime.ClonePointerToString(source.HostGroupID)
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig_STATUS
+ err := kubeletConfig.AssignProperties_From_KubeletConfig_STATUS(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ profile.KubeletConfig = &kubeletConfig
+ } else {
+ profile.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ profile.KubeletDiskType = genruntime.ClonePointerToString(source.KubeletDiskType)
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig_STATUS
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig_STATUS(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ profile.LinuxOSConfig = &linuxOSConfig
+ } else {
+ profile.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ profile.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ profile.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ profile.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ profile.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ profile.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Name
+ profile.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile_STATUS
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile_STATUS(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ profile.NetworkProfile = &networkProfile
+ } else {
+ profile.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ profile.NodeImageVersion = genruntime.ClonePointerToString(source.NodeImageVersion)
+
+ // NodeInitializationTaints
+ profile.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ profile.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixID
+ profile.NodePublicIPPrefixID = genruntime.ClonePointerToString(source.NodePublicIPPrefixID)
+
+ // NodeTaints
+ profile.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ profile.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ profile.OsDiskSizeGB = genruntime.ClonePointerToInt(source.OsDiskSizeGB)
+
+ // OsDiskType
+ profile.OsDiskType = genruntime.ClonePointerToString(source.OsDiskType)
+
+ // OsSKU
+ profile.OsSKU = genruntime.ClonePointerToString(source.OsSKU)
+
+ // OsType
+ profile.OsType = genruntime.ClonePointerToString(source.OsType)
+
+ // PodIPAllocationMode
+ if propertyBag.Contains("PodIPAllocationMode") {
+ var podIPAllocationMode string
+ err := propertyBag.Pull("PodIPAllocationMode", &podIPAllocationMode)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PodIPAllocationMode' from propertyBag")
+ }
+
+ profile.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ profile.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetID
+ profile.PodSubnetID = genruntime.ClonePointerToString(source.PodSubnetID)
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState_STATUS
+ err := powerState.AssignProperties_From_PowerState_STATUS(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState_STATUS() to populate field PowerState")
+ }
+ profile.PowerState = &powerState
+ } else {
+ profile.PowerState = nil
+ }
+
+ // ProvisioningState
+ profile.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ profile.ProximityPlacementGroupID = genruntime.ClonePointerToString(source.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ profile.ScaleDownMode = genruntime.ClonePointerToString(source.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ profile.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(source.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ profile.ScaleSetPriority = genruntime.ClonePointerToString(source.ScaleSetPriority)
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile_STATUS
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile_STATUS(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ profile.SecurityProfile = &securityProfile
+ } else {
+ profile.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ profile.SpotMaxPrice = &spotMaxPrice
+ } else {
+ profile.SpotMaxPrice = nil
+ }
+
+ // Tags
+ profile.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ profile.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings_STATUS
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ profile.UpgradeSettings = &upgradeSetting
+ } else {
+ profile.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes_STATUS, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes_STATUS(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ profile.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ profile.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile_STATUS
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile_STATUS(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ profile.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ profile.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ profile.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetID
+ profile.VnetSubnetID = genruntime.ClonePointerToString(source.VnetSubnetID)
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile_STATUS
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile_STATUS(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ profile.WindowsProfile = &windowsProfile
+ } else {
+ profile.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ profile.WorkloadRuntime = genruntime.ClonePointerToString(source.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAgentPoolProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAgentPoolProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS populates the provided destination ManagedClusterAgentPoolProfile_STATUS from our ManagedClusterAgentPoolProfile_STATUS
+func (profile *ManagedClusterAgentPoolProfile_STATUS) AssignProperties_To_ManagedClusterAgentPoolProfile_STATUS(destination *storage.ManagedClusterAgentPoolProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if profile.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile_STATUS
+ err := profile.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(profile.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ destination.CapacityReservationGroupID = genruntime.ClonePointerToString(profile.CapacityReservationGroupID)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // CreationData
+ if profile.CreationData != nil {
+ var creationDatum storage.CreationData_STATUS
+ err := profile.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ destination.CurrentOrchestratorVersion = genruntime.ClonePointerToString(profile.CurrentOrchestratorVersion)
+
+ // ETag
+ if profile.ETag != nil {
+ propertyBag.Add("ETag", *profile.ETag)
+ } else {
+ propertyBag.Remove("ETag")
+ }
+
+ // EnableAutoScaling
+ if profile.EnableAutoScaling != nil {
+ enableAutoScaling := *profile.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if profile.EnableCustomCATrust != nil {
+ enableCustomCATrust := *profile.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if profile.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *profile.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if profile.EnableFIPS != nil {
+ enableFIPS := *profile.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if profile.EnableNodePublicIP != nil {
+ enableNodePublicIP := *profile.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if profile.EnableUltraSSD != nil {
+ enableUltraSSD := *profile.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if profile.GatewayProfile != nil {
+ propertyBag.Add("GatewayProfile", *profile.GatewayProfile)
+ } else {
+ propertyBag.Remove("GatewayProfile")
+ }
+
+ // GpuInstanceProfile
+ destination.GpuInstanceProfile = genruntime.ClonePointerToString(profile.GpuInstanceProfile)
+
+ // GpuProfile
+ if profile.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile_STATUS
+ err := profile.GpuProfile.AssignProperties_To_AgentPoolGPUProfile_STATUS(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupID
+ destination.HostGroupID = genruntime.ClonePointerToString(profile.HostGroupID)
+
+ // KubeletConfig
+ if profile.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig_STATUS
+ err := profile.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ destination.KubeletDiskType = genruntime.ClonePointerToString(profile.KubeletDiskType)
+
+ // LinuxOSConfig
+ if profile.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
+ err := profile.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(profile.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(profile.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(profile.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(profile.MinCount)
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(profile.Mode)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(profile.Name)
+
+ // NetworkProfile
+ if profile.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
+ err := profile.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ destination.NodeImageVersion = genruntime.ClonePointerToString(profile.NodeImageVersion)
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(profile.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(profile.NodeLabels)
+
+ // NodePublicIPPrefixID
+ destination.NodePublicIPPrefixID = genruntime.ClonePointerToString(profile.NodePublicIPPrefixID)
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(profile.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(profile.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ destination.OsDiskSizeGB = genruntime.ClonePointerToInt(profile.OsDiskSizeGB)
+
+ // OsDiskType
+ destination.OsDiskType = genruntime.ClonePointerToString(profile.OsDiskType)
+
+ // OsSKU
+ destination.OsSKU = genruntime.ClonePointerToString(profile.OsSKU)
+
+ // OsType
+ destination.OsType = genruntime.ClonePointerToString(profile.OsType)
+
+ // PodIPAllocationMode
+ if profile.PodIPAllocationMode != nil {
+ propertyBag.Add("PodIPAllocationMode", *profile.PodIPAllocationMode)
+ } else {
+ propertyBag.Remove("PodIPAllocationMode")
+ }
+
+ // PodSubnetID
+ destination.PodSubnetID = genruntime.ClonePointerToString(profile.PodSubnetID)
+
+ // PowerState
+ if profile.PowerState != nil {
+ var powerState storage.PowerState_STATUS
+ err := profile.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(profile.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ destination.ProximityPlacementGroupID = genruntime.ClonePointerToString(profile.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ destination.ScaleDownMode = genruntime.ClonePointerToString(profile.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ destination.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(profile.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ destination.ScaleSetPriority = genruntime.ClonePointerToString(profile.ScaleSetPriority)
+
+ // SecurityProfile
+ if profile.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile_STATUS
+ err := profile.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile_STATUS(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if profile.SpotMaxPrice != nil {
+ spotMaxPrice := *profile.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(profile.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(profile.Type)
+
+ // UpgradeSettings
+ if profile.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
+ err := profile.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if profile.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes_STATUS, len(profile.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range profile.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes_STATUS(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if profile.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile_STATUS
+ err := profile.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile_STATUS(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(profile.VmSize)
+
+ // VnetSubnetID
+ destination.VnetSubnetID = genruntime.ClonePointerToString(profile.VnetSubnetID)
+
+ // WindowsProfile
+ if profile.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
+ err := profile.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ destination.WorkloadRuntime = genruntime.ClonePointerToString(profile.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAgentPoolProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAgentPoolProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAIToolchainOperatorProfile
+// When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator
+// automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and
+// enables distributed inference against them.
+type ManagedClusterAIToolchainOperatorProfile struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAIToolchainOperatorProfile populates our ManagedClusterAIToolchainOperatorProfile from the provided source ManagedClusterAIToolchainOperatorProfile
+func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile(source *storage.ManagedClusterAIToolchainOperatorProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAIToolchainOperatorProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAIToolchainOperatorProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAIToolchainOperatorProfile populates the provided destination ManagedClusterAIToolchainOperatorProfile from our ManagedClusterAIToolchainOperatorProfile
+func (profile *ManagedClusterAIToolchainOperatorProfile) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile(destination *storage.ManagedClusterAIToolchainOperatorProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAIToolchainOperatorProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAIToolchainOperatorProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAIToolchainOperatorProfile_STATUS
+// When enabling the operator, a set of AKS managed CRDs and controllers will be installed in the cluster. The operator
+// automates the deployment of OSS models for inference and/or training purposes. It provides a set of preset models and
+// enables distributed inference against them.
+type ManagedClusterAIToolchainOperatorProfile_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS populates our ManagedClusterAIToolchainOperatorProfile_STATUS from the provided source ManagedClusterAIToolchainOperatorProfile_STATUS
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_From_ManagedClusterAIToolchainOperatorProfile_STATUS(source *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAIToolchainOperatorProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAIToolchainOperatorProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS populates the provided destination ManagedClusterAIToolchainOperatorProfile_STATUS from our ManagedClusterAIToolchainOperatorProfile_STATUS
+func (profile *ManagedClusterAIToolchainOperatorProfile_STATUS) AssignProperties_To_ManagedClusterAIToolchainOperatorProfile_STATUS(destination *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAIToolchainOperatorProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAIToolchainOperatorProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAPIServerAccessProfile
+// Access profile for managed cluster API server.
+type ManagedClusterAPIServerAccessProfile struct {
+ AuthorizedIPRanges []string `json:"authorizedIPRanges,omitempty"`
+ DisableRunCommand *bool `json:"disableRunCommand,omitempty"`
+ EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
+ EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"`
+ EnableVnetIntegration *bool `json:"enableVnetIntegration,omitempty"`
+ PrivateDNSZone *string `json:"privateDNSZone,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SubnetId *string `json:"subnetId,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAPIServerAccessProfile populates our ManagedClusterAPIServerAccessProfile from the provided source ManagedClusterAPIServerAccessProfile
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_From_ManagedClusterAPIServerAccessProfile(source *storage.ManagedClusterAPIServerAccessProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AuthorizedIPRanges
+ profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if source.DisableRunCommand != nil {
+ disableRunCommand := *source.DisableRunCommand
+ profile.DisableRunCommand = &disableRunCommand
+ } else {
+ profile.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if source.EnablePrivateCluster != nil {
+ enablePrivateCluster := *source.EnablePrivateCluster
+ profile.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ profile.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if source.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *source.EnablePrivateClusterPublicFQDN
+ profile.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ profile.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if source.EnableVnetIntegration != nil {
+ enableVnetIntegration := *source.EnableVnetIntegration
+ profile.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ profile.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ profile.PrivateDNSZone = genruntime.ClonePointerToString(source.PrivateDNSZone)
+
+ // SubnetId
+ profile.SubnetId = genruntime.ClonePointerToString(source.SubnetId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAPIServerAccessProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAPIServerAccessProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAPIServerAccessProfile populates the provided destination ManagedClusterAPIServerAccessProfile from our ManagedClusterAPIServerAccessProfile
+func (profile *ManagedClusterAPIServerAccessProfile) AssignProperties_To_ManagedClusterAPIServerAccessProfile(destination *storage.ManagedClusterAPIServerAccessProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AuthorizedIPRanges
+ destination.AuthorizedIPRanges = genruntime.CloneSliceOfString(profile.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if profile.DisableRunCommand != nil {
+ disableRunCommand := *profile.DisableRunCommand
+ destination.DisableRunCommand = &disableRunCommand
+ } else {
+ destination.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if profile.EnablePrivateCluster != nil {
+ enablePrivateCluster := *profile.EnablePrivateCluster
+ destination.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ destination.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if profile.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *profile.EnablePrivateClusterPublicFQDN
+ destination.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ destination.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if profile.EnableVnetIntegration != nil {
+ enableVnetIntegration := *profile.EnableVnetIntegration
+ destination.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ destination.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ destination.PrivateDNSZone = genruntime.ClonePointerToString(profile.PrivateDNSZone)
+
+ // SubnetId
+ destination.SubnetId = genruntime.ClonePointerToString(profile.SubnetId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAPIServerAccessProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAPIServerAccessProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAPIServerAccessProfile_STATUS
+// Access profile for managed cluster API server.
+type ManagedClusterAPIServerAccessProfile_STATUS struct {
+ AuthorizedIPRanges []string `json:"authorizedIPRanges,omitempty"`
+ DisableRunCommand *bool `json:"disableRunCommand,omitempty"`
+ EnablePrivateCluster *bool `json:"enablePrivateCluster,omitempty"`
+ EnablePrivateClusterPublicFQDN *bool `json:"enablePrivateClusterPublicFQDN,omitempty"`
+ EnableVnetIntegration *bool `json:"enableVnetIntegration,omitempty"`
+ PrivateDNSZone *string `json:"privateDNSZone,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SubnetId *string `json:"subnetId,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS populates our ManagedClusterAPIServerAccessProfile_STATUS from the provided source ManagedClusterAPIServerAccessProfile_STATUS
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_From_ManagedClusterAPIServerAccessProfile_STATUS(source *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AuthorizedIPRanges
+ profile.AuthorizedIPRanges = genruntime.CloneSliceOfString(source.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if source.DisableRunCommand != nil {
+ disableRunCommand := *source.DisableRunCommand
+ profile.DisableRunCommand = &disableRunCommand
+ } else {
+ profile.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if source.EnablePrivateCluster != nil {
+ enablePrivateCluster := *source.EnablePrivateCluster
+ profile.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ profile.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if source.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *source.EnablePrivateClusterPublicFQDN
+ profile.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ profile.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if source.EnableVnetIntegration != nil {
+ enableVnetIntegration := *source.EnableVnetIntegration
+ profile.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ profile.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ profile.PrivateDNSZone = genruntime.ClonePointerToString(source.PrivateDNSZone)
+
+ // SubnetId
+ profile.SubnetId = genruntime.ClonePointerToString(source.SubnetId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAPIServerAccessProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAPIServerAccessProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS populates the provided destination ManagedClusterAPIServerAccessProfile_STATUS from our ManagedClusterAPIServerAccessProfile_STATUS
+func (profile *ManagedClusterAPIServerAccessProfile_STATUS) AssignProperties_To_ManagedClusterAPIServerAccessProfile_STATUS(destination *storage.ManagedClusterAPIServerAccessProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AuthorizedIPRanges
+ destination.AuthorizedIPRanges = genruntime.CloneSliceOfString(profile.AuthorizedIPRanges)
+
+ // DisableRunCommand
+ if profile.DisableRunCommand != nil {
+ disableRunCommand := *profile.DisableRunCommand
+ destination.DisableRunCommand = &disableRunCommand
+ } else {
+ destination.DisableRunCommand = nil
+ }
+
+ // EnablePrivateCluster
+ if profile.EnablePrivateCluster != nil {
+ enablePrivateCluster := *profile.EnablePrivateCluster
+ destination.EnablePrivateCluster = &enablePrivateCluster
+ } else {
+ destination.EnablePrivateCluster = nil
+ }
+
+ // EnablePrivateClusterPublicFQDN
+ if profile.EnablePrivateClusterPublicFQDN != nil {
+ enablePrivateClusterPublicFQDN := *profile.EnablePrivateClusterPublicFQDN
+ destination.EnablePrivateClusterPublicFQDN = &enablePrivateClusterPublicFQDN
+ } else {
+ destination.EnablePrivateClusterPublicFQDN = nil
+ }
+
+ // EnableVnetIntegration
+ if profile.EnableVnetIntegration != nil {
+ enableVnetIntegration := *profile.EnableVnetIntegration
+ destination.EnableVnetIntegration = &enableVnetIntegration
+ } else {
+ destination.EnableVnetIntegration = nil
+ }
+
+ // PrivateDNSZone
+ destination.PrivateDNSZone = genruntime.ClonePointerToString(profile.PrivateDNSZone)
+
+ // SubnetId
+ destination.SubnetId = genruntime.ClonePointerToString(profile.SubnetId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAPIServerAccessProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAPIServerAccessProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAutoUpgradeProfile
+// Auto upgrade profile for a managed cluster.
+type ManagedClusterAutoUpgradeProfile struct {
+ NodeOSUpgradeChannel *string `json:"nodeOSUpgradeChannel,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UpgradeChannel *string `json:"upgradeChannel,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAutoUpgradeProfile populates our ManagedClusterAutoUpgradeProfile from the provided source ManagedClusterAutoUpgradeProfile
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_From_ManagedClusterAutoUpgradeProfile(source *storage.ManagedClusterAutoUpgradeProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // NodeOSUpgradeChannel
+ profile.NodeOSUpgradeChannel = genruntime.ClonePointerToString(source.NodeOSUpgradeChannel)
+
+ // UpgradeChannel
+ profile.UpgradeChannel = genruntime.ClonePointerToString(source.UpgradeChannel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAutoUpgradeProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAutoUpgradeProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAutoUpgradeProfile populates the provided destination ManagedClusterAutoUpgradeProfile from our ManagedClusterAutoUpgradeProfile
+func (profile *ManagedClusterAutoUpgradeProfile) AssignProperties_To_ManagedClusterAutoUpgradeProfile(destination *storage.ManagedClusterAutoUpgradeProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // NodeOSUpgradeChannel
+ destination.NodeOSUpgradeChannel = genruntime.ClonePointerToString(profile.NodeOSUpgradeChannel)
+
+ // UpgradeChannel
+ destination.UpgradeChannel = genruntime.ClonePointerToString(profile.UpgradeChannel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAutoUpgradeProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAutoUpgradeProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAutoUpgradeProfile_STATUS
+// Auto upgrade profile for a managed cluster.
+type ManagedClusterAutoUpgradeProfile_STATUS struct {
+ NodeOSUpgradeChannel *string `json:"nodeOSUpgradeChannel,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UpgradeChannel *string `json:"upgradeChannel,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS populates our ManagedClusterAutoUpgradeProfile_STATUS from the provided source ManagedClusterAutoUpgradeProfile_STATUS
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_From_ManagedClusterAutoUpgradeProfile_STATUS(source *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // NodeOSUpgradeChannel
+ profile.NodeOSUpgradeChannel = genruntime.ClonePointerToString(source.NodeOSUpgradeChannel)
+
+ // UpgradeChannel
+ profile.UpgradeChannel = genruntime.ClonePointerToString(source.UpgradeChannel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAutoUpgradeProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAutoUpgradeProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS populates the provided destination ManagedClusterAutoUpgradeProfile_STATUS from our ManagedClusterAutoUpgradeProfile_STATUS
+func (profile *ManagedClusterAutoUpgradeProfile_STATUS) AssignProperties_To_ManagedClusterAutoUpgradeProfile_STATUS(destination *storage.ManagedClusterAutoUpgradeProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // NodeOSUpgradeChannel
+ destination.NodeOSUpgradeChannel = genruntime.ClonePointerToString(profile.NodeOSUpgradeChannel)
+
+ // UpgradeChannel
+ destination.UpgradeChannel = genruntime.ClonePointerToString(profile.UpgradeChannel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAutoUpgradeProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAutoUpgradeProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfile
+// Prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfile struct {
+ AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring `json:"appMonitoring,omitempty"`
+ ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights `json:"containerInsights,omitempty"`
+ Metrics *ManagedClusterAzureMonitorProfileMetrics `json:"metrics,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfile populates our ManagedClusterAzureMonitorProfile from the provided source ManagedClusterAzureMonitorProfile
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_From_ManagedClusterAzureMonitorProfile(source *storage.ManagedClusterAzureMonitorProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AppMonitoring
+ if propertyBag.Contains("AppMonitoring") {
+ var appMonitoring ManagedClusterAzureMonitorProfileAppMonitoring
+ err := propertyBag.Pull("AppMonitoring", &appMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AppMonitoring' from propertyBag")
+ }
+
+ profile.AppMonitoring = &appMonitoring
+ } else {
+ profile.AppMonitoring = nil
+ }
+
+ // ContainerInsights
+ if propertyBag.Contains("ContainerInsights") {
+ var containerInsight ManagedClusterAzureMonitorProfileContainerInsights
+ err := propertyBag.Pull("ContainerInsights", &containerInsight)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ContainerInsights' from propertyBag")
+ }
+
+ profile.ContainerInsights = &containerInsight
+ } else {
+ profile.ContainerInsights = nil
+ }
+
+ // Logs
+ if source.Logs != nil {
+ propertyBag.Add("Logs", *source.Logs)
+ } else {
+ propertyBag.Remove("Logs")
+ }
+
+ // Metrics
+ if source.Metrics != nil {
+ var metric ManagedClusterAzureMonitorProfileMetrics
+ err := metric.AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source.Metrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
+ }
+ profile.Metrics = &metric
+ } else {
+ profile.Metrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAzureMonitorProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfile populates the provided destination ManagedClusterAzureMonitorProfile from our ManagedClusterAzureMonitorProfile
+func (profile *ManagedClusterAzureMonitorProfile) AssignProperties_To_ManagedClusterAzureMonitorProfile(destination *storage.ManagedClusterAzureMonitorProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AppMonitoring
+ if profile.AppMonitoring != nil {
+ propertyBag.Add("AppMonitoring", *profile.AppMonitoring)
+ } else {
+ propertyBag.Remove("AppMonitoring")
+ }
+
+ // ContainerInsights
+ if profile.ContainerInsights != nil {
+ propertyBag.Add("ContainerInsights", *profile.ContainerInsights)
+ } else {
+ propertyBag.Remove("ContainerInsights")
+ }
+
+ // Logs
+ if propertyBag.Contains("Logs") {
+ var log storage.ManagedClusterAzureMonitorProfileLogs
+ err := propertyBag.Pull("Logs", &log)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Logs' from propertyBag")
+ }
+
+ destination.Logs = &log
+ } else {
+ destination.Logs = nil
+ }
+
+ // Metrics
+ if profile.Metrics != nil {
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics
+ err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(&metric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics() to populate field Metrics")
+ }
+ destination.Metrics = &metric
+ } else {
+ destination.Metrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAzureMonitorProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfile_STATUS
+// Prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfile_STATUS struct {
+ AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS `json:"appMonitoring,omitempty"`
+ ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS `json:"containerInsights,omitempty"`
+ Metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS `json:"metrics,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS populates our ManagedClusterAzureMonitorProfile_STATUS from the provided source ManagedClusterAzureMonitorProfile_STATUS
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfile_STATUS(source *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AppMonitoring
+ if propertyBag.Contains("AppMonitoring") {
+ var appMonitoring ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+ err := propertyBag.Pull("AppMonitoring", &appMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AppMonitoring' from propertyBag")
+ }
+
+ profile.AppMonitoring = &appMonitoring
+ } else {
+ profile.AppMonitoring = nil
+ }
+
+ // ContainerInsights
+ if propertyBag.Contains("ContainerInsights") {
+ var containerInsight ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+ err := propertyBag.Pull("ContainerInsights", &containerInsight)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ContainerInsights' from propertyBag")
+ }
+
+ profile.ContainerInsights = &containerInsight
+ } else {
+ profile.ContainerInsights = nil
+ }
+
+ // Logs
+ if source.Logs != nil {
+ propertyBag.Add("Logs", *source.Logs)
+ } else {
+ propertyBag.Remove("Logs")
+ }
+
+ // Metrics
+ if source.Metrics != nil {
+ var metric ManagedClusterAzureMonitorProfileMetrics_STATUS
+ err := metric.AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source.Metrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
+ }
+ profile.Metrics = &metric
+ } else {
+ profile.Metrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAzureMonitorProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS populates the provided destination ManagedClusterAzureMonitorProfile_STATUS from our ManagedClusterAzureMonitorProfile_STATUS
+func (profile *ManagedClusterAzureMonitorProfile_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfile_STATUS(destination *storage.ManagedClusterAzureMonitorProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AppMonitoring
+ if profile.AppMonitoring != nil {
+ propertyBag.Add("AppMonitoring", *profile.AppMonitoring)
+ } else {
+ propertyBag.Remove("AppMonitoring")
+ }
+
+ // ContainerInsights
+ if profile.ContainerInsights != nil {
+ propertyBag.Add("ContainerInsights", *profile.ContainerInsights)
+ } else {
+ propertyBag.Remove("ContainerInsights")
+ }
+
+ // Logs
+ if propertyBag.Contains("Logs") {
+ var log storage.ManagedClusterAzureMonitorProfileLogs_STATUS
+ err := propertyBag.Pull("Logs", &log)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Logs' from propertyBag")
+ }
+
+ destination.Logs = &log
+ } else {
+ destination.Logs = nil
+ }
+
+ // Metrics
+ if profile.Metrics != nil {
+ var metric storage.ManagedClusterAzureMonitorProfileMetrics_STATUS
+ err := profile.Metrics.AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(&metric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS() to populate field Metrics")
+ }
+ destination.Metrics = &metric
+ } else {
+ destination.Metrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterAzureMonitorProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterBootstrapProfile
+// The bootstrap profile.
+type ManagedClusterBootstrapProfile struct {
+ ArtifactSource *string `json:"artifactSource,omitempty"`
+
+ // ContainerRegistryReference: The resource Id of Azure Container Registry. The registry must have private network access,
+ // premium SKU and zone redundancy.
+ ContainerRegistryReference *genruntime.ResourceReference `armReference:"ContainerRegistryId" json:"containerRegistryReference,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterBootstrapProfile_STATUS
+// The bootstrap profile.
+type ManagedClusterBootstrapProfile_STATUS struct {
+ ArtifactSource *string `json:"artifactSource,omitempty"`
+ ContainerRegistryId *string `json:"containerRegistryId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterHTTPProxyConfig
+// Cluster HTTP proxy configuration.
+type ManagedClusterHTTPProxyConfig struct {
+ HttpProxy *string `json:"httpProxy,omitempty"`
+ HttpsProxy *string `json:"httpsProxy,omitempty"`
+ NoProxy []string `json:"noProxy,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ TrustedCa *string `json:"trustedCa,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterHTTPProxyConfig populates our ManagedClusterHTTPProxyConfig from the provided source ManagedClusterHTTPProxyConfig
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_From_ManagedClusterHTTPProxyConfig(source *storage.ManagedClusterHTTPProxyConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // HttpProxy
+ config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
+
+ // HttpsProxy
+ config.HttpsProxy = genruntime.ClonePointerToString(source.HttpsProxy)
+
+ // NoProxy
+ config.NoProxy = genruntime.CloneSliceOfString(source.NoProxy)
+
+ // TrustedCa
+ config.TrustedCa = genruntime.ClonePointerToString(source.TrustedCa)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterHTTPProxyConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForManagedClusterHTTPProxyConfig); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterHTTPProxyConfig populates the provided destination ManagedClusterHTTPProxyConfig from our ManagedClusterHTTPProxyConfig
+func (config *ManagedClusterHTTPProxyConfig) AssignProperties_To_ManagedClusterHTTPProxyConfig(destination *storage.ManagedClusterHTTPProxyConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // HttpProxy
+ destination.HttpProxy = genruntime.ClonePointerToString(config.HttpProxy)
+
+ // HttpsProxy
+ destination.HttpsProxy = genruntime.ClonePointerToString(config.HttpsProxy)
+
+ // NoProxy
+ destination.NoProxy = genruntime.CloneSliceOfString(config.NoProxy)
+
+ // TrustedCa
+ destination.TrustedCa = genruntime.ClonePointerToString(config.TrustedCa)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterHTTPProxyConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForManagedClusterHTTPProxyConfig); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterHTTPProxyConfig_STATUS
+// Cluster HTTP proxy configuration.
+type ManagedClusterHTTPProxyConfig_STATUS struct {
+ EffectiveNoProxy []string `json:"effectiveNoProxy,omitempty"`
+ HttpProxy *string `json:"httpProxy,omitempty"`
+ HttpsProxy *string `json:"httpsProxy,omitempty"`
+ NoProxy []string `json:"noProxy,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ TrustedCa *string `json:"trustedCa,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS populates our ManagedClusterHTTPProxyConfig_STATUS from the provided source ManagedClusterHTTPProxyConfig_STATUS
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_From_ManagedClusterHTTPProxyConfig_STATUS(source *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EffectiveNoProxy
+ config.EffectiveNoProxy = genruntime.CloneSliceOfString(source.EffectiveNoProxy)
+
+ // HttpProxy
+ config.HttpProxy = genruntime.ClonePointerToString(source.HttpProxy)
+
+ // HttpsProxy
+ config.HttpsProxy = genruntime.ClonePointerToString(source.HttpsProxy)
+
+ // NoProxy
+ config.NoProxy = genruntime.CloneSliceOfString(source.NoProxy)
+
+ // TrustedCa
+ config.TrustedCa = genruntime.ClonePointerToString(source.TrustedCa)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterHTTPProxyConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForManagedClusterHTTPProxyConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS populates the provided destination ManagedClusterHTTPProxyConfig_STATUS from our ManagedClusterHTTPProxyConfig_STATUS
+func (config *ManagedClusterHTTPProxyConfig_STATUS) AssignProperties_To_ManagedClusterHTTPProxyConfig_STATUS(destination *storage.ManagedClusterHTTPProxyConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // EffectiveNoProxy
+ destination.EffectiveNoProxy = genruntime.CloneSliceOfString(config.EffectiveNoProxy)
+
+ // HttpProxy
+ destination.HttpProxy = genruntime.ClonePointerToString(config.HttpProxy)
+
+ // HttpsProxy
+ destination.HttpsProxy = genruntime.ClonePointerToString(config.HttpsProxy)
+
+ // NoProxy
+ destination.NoProxy = genruntime.CloneSliceOfString(config.NoProxy)
+
+ // TrustedCa
+ destination.TrustedCa = genruntime.ClonePointerToString(config.TrustedCa)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterHTTPProxyConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForManagedClusterHTTPProxyConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIdentity
+// Identity for the managed cluster.
+type ManagedClusterIdentity struct {
+ DelegatedResources map[string]DelegatedResource `json:"delegatedResources,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Type *string `json:"type,omitempty"`
+ UserAssignedIdentities []UserAssignedIdentityDetails `json:"userAssignedIdentities,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIdentity populates our ManagedClusterIdentity from the provided source ManagedClusterIdentity
+func (identity *ManagedClusterIdentity) AssignProperties_From_ManagedClusterIdentity(source *storage.ManagedClusterIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DelegatedResources
+ if source.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]DelegatedResource, len(source.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range source.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource DelegatedResource
+ err := delegatedResource.AssignProperties_From_DelegatedResource(&delegatedResourceValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_DelegatedResource() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ identity.DelegatedResources = delegatedResourceMap
+ } else {
+ identity.DelegatedResources = nil
+ }
+
+ // Type
+ identity.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]UserAssignedIdentityDetails, len(source.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity UserAssignedIdentityDetails
+ err := userAssignedIdentity.AssignProperties_From_UserAssignedIdentityDetails(&userAssignedIdentityItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ identity.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ identity.UserAssignedIdentities = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIdentity populates the provided destination ManagedClusterIdentity from our ManagedClusterIdentity
+func (identity *ManagedClusterIdentity) AssignProperties_To_ManagedClusterIdentity(destination *storage.ManagedClusterIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // DelegatedResources
+ if identity.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]storage.DelegatedResource, len(identity.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource storage.DelegatedResource
+ err := delegatedResourceValue.AssignProperties_To_DelegatedResource(&delegatedResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ destination.DelegatedResources = delegatedResourceMap
+ } else {
+ destination.DelegatedResources = nil
+ }
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(identity.Type)
+
+ // UserAssignedIdentities
+ if identity.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
+ err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIdentity_STATUS
+// Identity for the managed cluster.
+type ManagedClusterIdentity_STATUS struct {
+ DelegatedResources map[string]DelegatedResource_STATUS `json:"delegatedResources,omitempty"`
+ PrincipalId *string `json:"principalId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ TenantId *string `json:"tenantId,omitempty"`
+ Type *string `json:"type,omitempty"`
+ UserAssignedIdentities map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS `json:"userAssignedIdentities,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIdentity_STATUS populates our ManagedClusterIdentity_STATUS from the provided source ManagedClusterIdentity_STATUS
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_From_ManagedClusterIdentity_STATUS(source *storage.ManagedClusterIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DelegatedResources
+ if source.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]DelegatedResource_STATUS, len(source.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range source.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource DelegatedResource_STATUS
+ err := delegatedResource.AssignProperties_From_DelegatedResource_STATUS(&delegatedResourceValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_DelegatedResource_STATUS() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ identity.DelegatedResources = delegatedResourceMap
+ } else {
+ identity.DelegatedResources = nil
+ }
+
+ // PrincipalId
+ identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
+
+ // TenantId
+ identity.TenantId = genruntime.ClonePointerToString(source.TenantId)
+
+ // Type
+ identity.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityMap := make(map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(source.UserAssignedIdentities))
+ for userAssignedIdentityKey, userAssignedIdentityValue := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityValue := userAssignedIdentityValue
+ var userAssignedIdentity ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ err := userAssignedIdentity.AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentityValue)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityMap[userAssignedIdentityKey] = userAssignedIdentity
+ }
+ identity.UserAssignedIdentities = userAssignedIdentityMap
+ } else {
+ identity.UserAssignedIdentities = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIdentity_STATUS populates the provided destination ManagedClusterIdentity_STATUS from our ManagedClusterIdentity_STATUS
+func (identity *ManagedClusterIdentity_STATUS) AssignProperties_To_ManagedClusterIdentity_STATUS(destination *storage.ManagedClusterIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // DelegatedResources
+ if identity.DelegatedResources != nil {
+ delegatedResourceMap := make(map[string]storage.DelegatedResource_STATUS, len(identity.DelegatedResources))
+ for delegatedResourceKey, delegatedResourceValue := range identity.DelegatedResources {
+ // Shadow the loop variable to avoid aliasing
+ delegatedResourceValue := delegatedResourceValue
+ var delegatedResource storage.DelegatedResource_STATUS
+ err := delegatedResourceValue.AssignProperties_To_DelegatedResource_STATUS(&delegatedResource)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_DelegatedResource_STATUS() to populate field DelegatedResources")
+ }
+ delegatedResourceMap[delegatedResourceKey] = delegatedResource
+ }
+ destination.DelegatedResources = delegatedResourceMap
+ } else {
+ destination.DelegatedResources = nil
+ }
+
+ // PrincipalId
+ destination.PrincipalId = genruntime.ClonePointerToString(identity.PrincipalId)
+
+ // TenantId
+ destination.TenantId = genruntime.ClonePointerToString(identity.TenantId)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(identity.Type)
+
+ // UserAssignedIdentities
+ if identity.UserAssignedIdentities != nil {
+ userAssignedIdentityMap := make(map[string]storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityValue := userAssignedIdentityValue
+ var userAssignedIdentity storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+ err := userAssignedIdentityValue.AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityMap[userAssignedIdentityKey] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityMap
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIngressProfile
+// Ingress profile for the container service cluster.
+type ManagedClusterIngressProfile struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ WebAppRouting *ManagedClusterIngressProfileWebAppRouting `json:"webAppRouting,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIngressProfile populates our ManagedClusterIngressProfile from the provided source ManagedClusterIngressProfile
+func (profile *ManagedClusterIngressProfile) AssignProperties_From_ManagedClusterIngressProfile(source *storage.ManagedClusterIngressProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // WebAppRouting
+ if source.WebAppRouting != nil {
+ var webAppRouting ManagedClusterIngressProfileWebAppRouting
+ err := webAppRouting.AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source.WebAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfileWebAppRouting() to populate field WebAppRouting")
+ }
+ profile.WebAppRouting = &webAppRouting
+ } else {
+ profile.WebAppRouting = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterIngressProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfile populates the provided destination ManagedClusterIngressProfile from our ManagedClusterIngressProfile
+func (profile *ManagedClusterIngressProfile) AssignProperties_To_ManagedClusterIngressProfile(destination *storage.ManagedClusterIngressProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // WebAppRouting
+ if profile.WebAppRouting != nil {
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting
+ err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(&webAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting() to populate field WebAppRouting")
+ }
+ destination.WebAppRouting = &webAppRouting
+ } else {
+ destination.WebAppRouting = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterIngressProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIngressProfile_STATUS
+// Ingress profile for the container service cluster.
+type ManagedClusterIngressProfile_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ WebAppRouting *ManagedClusterIngressProfileWebAppRouting_STATUS `json:"webAppRouting,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIngressProfile_STATUS populates our ManagedClusterIngressProfile_STATUS from the provided source ManagedClusterIngressProfile_STATUS
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_From_ManagedClusterIngressProfile_STATUS(source *storage.ManagedClusterIngressProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // WebAppRouting
+ if source.WebAppRouting != nil {
+ var webAppRouting ManagedClusterIngressProfileWebAppRouting_STATUS
+ err := webAppRouting.AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source.WebAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS() to populate field WebAppRouting")
+ }
+ profile.WebAppRouting = &webAppRouting
+ } else {
+ profile.WebAppRouting = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterIngressProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfile_STATUS populates the provided destination ManagedClusterIngressProfile_STATUS from our ManagedClusterIngressProfile_STATUS
+func (profile *ManagedClusterIngressProfile_STATUS) AssignProperties_To_ManagedClusterIngressProfile_STATUS(destination *storage.ManagedClusterIngressProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // WebAppRouting
+ if profile.WebAppRouting != nil {
+ var webAppRouting storage.ManagedClusterIngressProfileWebAppRouting_STATUS
+ err := profile.WebAppRouting.AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(&webAppRouting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS() to populate field WebAppRouting")
+ }
+ destination.WebAppRouting = &webAppRouting
+ } else {
+ destination.WebAppRouting = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterIngressProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterMetricsProfile
+// The metrics profile for the ManagedCluster.
+type ManagedClusterMetricsProfile struct {
+ CostAnalysis *ManagedClusterCostAnalysis `json:"costAnalysis,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterMetricsProfile populates our ManagedClusterMetricsProfile from the provided source ManagedClusterMetricsProfile
+func (profile *ManagedClusterMetricsProfile) AssignProperties_From_ManagedClusterMetricsProfile(source *storage.ManagedClusterMetricsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CostAnalysis
+ if source.CostAnalysis != nil {
+ var costAnalysis ManagedClusterCostAnalysis
+ err := costAnalysis.AssignProperties_From_ManagedClusterCostAnalysis(source.CostAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterCostAnalysis() to populate field CostAnalysis")
+ }
+ profile.CostAnalysis = &costAnalysis
+ } else {
+ profile.CostAnalysis = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterMetricsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterMetricsProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterMetricsProfile populates the provided destination ManagedClusterMetricsProfile from our ManagedClusterMetricsProfile
+func (profile *ManagedClusterMetricsProfile) AssignProperties_To_ManagedClusterMetricsProfile(destination *storage.ManagedClusterMetricsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // CostAnalysis
+ if profile.CostAnalysis != nil {
+ var costAnalysis storage.ManagedClusterCostAnalysis
+ err := profile.CostAnalysis.AssignProperties_To_ManagedClusterCostAnalysis(&costAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterCostAnalysis() to populate field CostAnalysis")
+ }
+ destination.CostAnalysis = &costAnalysis
+ } else {
+ destination.CostAnalysis = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterMetricsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterMetricsProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterMetricsProfile_STATUS
+// The metrics profile for the ManagedCluster.
+type ManagedClusterMetricsProfile_STATUS struct {
+ CostAnalysis *ManagedClusterCostAnalysis_STATUS `json:"costAnalysis,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterMetricsProfile_STATUS populates our ManagedClusterMetricsProfile_STATUS from the provided source ManagedClusterMetricsProfile_STATUS
+func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_From_ManagedClusterMetricsProfile_STATUS(source *storage.ManagedClusterMetricsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CostAnalysis
+ if source.CostAnalysis != nil {
+ var costAnalysis ManagedClusterCostAnalysis_STATUS
+ err := costAnalysis.AssignProperties_From_ManagedClusterCostAnalysis_STATUS(source.CostAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterCostAnalysis_STATUS() to populate field CostAnalysis")
+ }
+ profile.CostAnalysis = &costAnalysis
+ } else {
+ profile.CostAnalysis = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterMetricsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterMetricsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterMetricsProfile_STATUS populates the provided destination ManagedClusterMetricsProfile_STATUS from our ManagedClusterMetricsProfile_STATUS
+func (profile *ManagedClusterMetricsProfile_STATUS) AssignProperties_To_ManagedClusterMetricsProfile_STATUS(destination *storage.ManagedClusterMetricsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // CostAnalysis
+ if profile.CostAnalysis != nil {
+ var costAnalysis storage.ManagedClusterCostAnalysis_STATUS
+ err := profile.CostAnalysis.AssignProperties_To_ManagedClusterCostAnalysis_STATUS(&costAnalysis)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterCostAnalysis_STATUS() to populate field CostAnalysis")
+ }
+ destination.CostAnalysis = &costAnalysis
+ } else {
+ destination.CostAnalysis = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterMetricsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterMetricsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterNodeProvisioningProfile
+type ManagedClusterNodeProvisioningProfile struct {
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterNodeProvisioningProfile populates our ManagedClusterNodeProvisioningProfile from the provided source ManagedClusterNodeProvisioningProfile
+func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_From_ManagedClusterNodeProvisioningProfile(source *storage.ManagedClusterNodeProvisioningProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Mode
+ profile.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeProvisioningProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeProvisioningProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeProvisioningProfile populates the provided destination ManagedClusterNodeProvisioningProfile from our ManagedClusterNodeProvisioningProfile
+func (profile *ManagedClusterNodeProvisioningProfile) AssignProperties_To_ManagedClusterNodeProvisioningProfile(destination *storage.ManagedClusterNodeProvisioningProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(profile.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeProvisioningProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeProvisioningProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterNodeProvisioningProfile_STATUS
+type ManagedClusterNodeProvisioningProfile_STATUS struct {
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS populates our ManagedClusterNodeProvisioningProfile_STATUS from the provided source ManagedClusterNodeProvisioningProfile_STATUS
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_From_ManagedClusterNodeProvisioningProfile_STATUS(source *storage.ManagedClusterNodeProvisioningProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Mode
+ profile.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeProvisioningProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeProvisioningProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS populates the provided destination ManagedClusterNodeProvisioningProfile_STATUS from our ManagedClusterNodeProvisioningProfile_STATUS
+func (profile *ManagedClusterNodeProvisioningProfile_STATUS) AssignProperties_To_ManagedClusterNodeProvisioningProfile_STATUS(destination *storage.ManagedClusterNodeProvisioningProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(profile.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeProvisioningProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeProvisioningProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterNodeResourceGroupProfile
+// Node resource group lockdown profile for a managed cluster.
+type ManagedClusterNodeResourceGroupProfile struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RestrictionLevel *string `json:"restrictionLevel,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterNodeResourceGroupProfile populates our ManagedClusterNodeResourceGroupProfile from the provided source ManagedClusterNodeResourceGroupProfile
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_From_ManagedClusterNodeResourceGroupProfile(source *storage.ManagedClusterNodeResourceGroupProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // RestrictionLevel
+ profile.RestrictionLevel = genruntime.ClonePointerToString(source.RestrictionLevel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeResourceGroupProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeResourceGroupProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeResourceGroupProfile populates the provided destination ManagedClusterNodeResourceGroupProfile from our ManagedClusterNodeResourceGroupProfile
+func (profile *ManagedClusterNodeResourceGroupProfile) AssignProperties_To_ManagedClusterNodeResourceGroupProfile(destination *storage.ManagedClusterNodeResourceGroupProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // RestrictionLevel
+ destination.RestrictionLevel = genruntime.ClonePointerToString(profile.RestrictionLevel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeResourceGroupProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeResourceGroupProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterNodeResourceGroupProfile_STATUS
+// Node resource group lockdown profile for a managed cluster.
+type ManagedClusterNodeResourceGroupProfile_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RestrictionLevel *string `json:"restrictionLevel,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS populates our ManagedClusterNodeResourceGroupProfile_STATUS from the provided source ManagedClusterNodeResourceGroupProfile_STATUS
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_From_ManagedClusterNodeResourceGroupProfile_STATUS(source *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // RestrictionLevel
+ profile.RestrictionLevel = genruntime.ClonePointerToString(source.RestrictionLevel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS populates the provided destination ManagedClusterNodeResourceGroupProfile_STATUS from our ManagedClusterNodeResourceGroupProfile_STATUS
+func (profile *ManagedClusterNodeResourceGroupProfile_STATUS) AssignProperties_To_ManagedClusterNodeResourceGroupProfile_STATUS(destination *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // RestrictionLevel
+ destination.RestrictionLevel = genruntime.ClonePointerToString(profile.RestrictionLevel)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterOIDCIssuerProfile
+// The OIDC issuer profile of the Managed Cluster.
+type ManagedClusterOIDCIssuerProfile struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOIDCIssuerProfile populates our ManagedClusterOIDCIssuerProfile from the provided source ManagedClusterOIDCIssuerProfile
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_From_ManagedClusterOIDCIssuerProfile(source *storage.ManagedClusterOIDCIssuerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOIDCIssuerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterOIDCIssuerProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOIDCIssuerProfile populates the provided destination ManagedClusterOIDCIssuerProfile from our ManagedClusterOIDCIssuerProfile
+func (profile *ManagedClusterOIDCIssuerProfile) AssignProperties_To_ManagedClusterOIDCIssuerProfile(destination *storage.ManagedClusterOIDCIssuerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOIDCIssuerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterOIDCIssuerProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterOIDCIssuerProfile_STATUS
+// The OIDC issuer profile of the Managed Cluster.
+type ManagedClusterOIDCIssuerProfile_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ IssuerURL *string `json:"issuerURL,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS populates our ManagedClusterOIDCIssuerProfile_STATUS from the provided source ManagedClusterOIDCIssuerProfile_STATUS
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_From_ManagedClusterOIDCIssuerProfile_STATUS(source *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // IssuerURL
+ profile.IssuerURL = genruntime.ClonePointerToString(source.IssuerURL)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOIDCIssuerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterOIDCIssuerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS populates the provided destination ManagedClusterOIDCIssuerProfile_STATUS from our ManagedClusterOIDCIssuerProfile_STATUS
+func (profile *ManagedClusterOIDCIssuerProfile_STATUS) AssignProperties_To_ManagedClusterOIDCIssuerProfile_STATUS(destination *storage.ManagedClusterOIDCIssuerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IssuerURL
+ destination.IssuerURL = genruntime.ClonePointerToString(profile.IssuerURL)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOIDCIssuerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterOIDCIssuerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterOperatorSpec
+// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
+type ManagedClusterOperatorSpec struct {
+ ConfigMaps *ManagedClusterOperatorConfigMaps `json:"configMaps,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Secrets *ManagedClusterOperatorSecrets `json:"secrets,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOperatorSpec populates our ManagedClusterOperatorSpec from the provided source ManagedClusterOperatorSpec
+func (operator *ManagedClusterOperatorSpec) AssignProperties_From_ManagedClusterOperatorSpec(source *storage.ManagedClusterOperatorSpec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ConfigMaps
+ if source.ConfigMaps != nil {
+ var configMap ManagedClusterOperatorConfigMaps
+ err := configMap.AssignProperties_From_ManagedClusterOperatorConfigMaps(source.ConfigMaps)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ operator.ConfigMaps = &configMap
+ } else {
+ operator.ConfigMaps = nil
+ }
+
+ // Secrets
+ if source.Secrets != nil {
+ var secret ManagedClusterOperatorSecrets
+ err := secret.AssignProperties_From_ManagedClusterOperatorSecrets(source.Secrets)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterOperatorSecrets() to populate field Secrets")
+ }
+ operator.Secrets = &secret
+ } else {
+ operator.Secrets = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ operator.PropertyBag = propertyBag
+ } else {
+ operator.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOperatorSpec interface (if implemented) to customize the conversion
+ var operatorAsAny any = operator
+ if augmentedOperator, ok := operatorAsAny.(augmentConversionForManagedClusterOperatorSpec); ok {
+ err := augmentedOperator.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOperatorSpec populates the provided destination ManagedClusterOperatorSpec from our ManagedClusterOperatorSpec
+func (operator *ManagedClusterOperatorSpec) AssignProperties_To_ManagedClusterOperatorSpec(destination *storage.ManagedClusterOperatorSpec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(operator.PropertyBag)
+
+ // ConfigMaps
+ if operator.ConfigMaps != nil {
+ var configMap storage.ManagedClusterOperatorConfigMaps
+ err := operator.ConfigMaps.AssignProperties_To_ManagedClusterOperatorConfigMaps(&configMap)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ destination.ConfigMaps = &configMap
+ } else {
+ destination.ConfigMaps = nil
+ }
+
+ // Secrets
+ if operator.Secrets != nil {
+ var secret storage.ManagedClusterOperatorSecrets
+ err := operator.Secrets.AssignProperties_To_ManagedClusterOperatorSecrets(&secret)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterOperatorSecrets() to populate field Secrets")
+ }
+ destination.Secrets = &secret
+ } else {
+ destination.Secrets = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOperatorSpec interface (if implemented) to customize the conversion
+ var operatorAsAny any = operator
+ if augmentedOperator, ok := operatorAsAny.(augmentConversionForManagedClusterOperatorSpec); ok {
+ err := augmentedOperator.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityProfile
+// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
+// identity integration.
+type ManagedClusterPodIdentityProfile struct {
+ AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UserAssignedIdentities []ManagedClusterPodIdentity `json:"userAssignedIdentities,omitempty"`
+ UserAssignedIdentityExceptions []ManagedClusterPodIdentityException `json:"userAssignedIdentityExceptions,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProfile populates our ManagedClusterPodIdentityProfile from the provided source ManagedClusterPodIdentityProfile
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_From_ManagedClusterPodIdentityProfile(source *storage.ManagedClusterPodIdentityProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllowNetworkPluginKubenet
+ if source.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *source.AllowNetworkPluginKubenet
+ profile.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ profile.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]ManagedClusterPodIdentity, len(source.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity ManagedClusterPodIdentity
+ err := userAssignedIdentity.AssignProperties_From_ManagedClusterPodIdentity(&userAssignedIdentityItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ profile.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ profile.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if source.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]ManagedClusterPodIdentityException, len(source.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range source.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException ManagedClusterPodIdentityException
+ err := userAssignedIdentityException.AssignProperties_From_ManagedClusterPodIdentityException(&userAssignedIdentityExceptionItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ profile.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ profile.UserAssignedIdentityExceptions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterPodIdentityProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProfile populates the provided destination ManagedClusterPodIdentityProfile from our ManagedClusterPodIdentityProfile
+func (profile *ManagedClusterPodIdentityProfile) AssignProperties_To_ManagedClusterPodIdentityProfile(destination *storage.ManagedClusterPodIdentityProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AllowNetworkPluginKubenet
+ if profile.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *profile.AllowNetworkPluginKubenet
+ destination.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ destination.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if profile.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity, len(profile.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity storage.ManagedClusterPodIdentity
+ err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if profile.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException, len(profile.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException
+ err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException(&userAssignedIdentityException)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ destination.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ destination.UserAssignedIdentityExceptions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterPodIdentityProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityProfile_STATUS
+// See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod
+// identity integration.
+type ManagedClusterPodIdentityProfile_STATUS struct {
+ AllowNetworkPluginKubenet *bool `json:"allowNetworkPluginKubenet,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UserAssignedIdentities []ManagedClusterPodIdentity_STATUS `json:"userAssignedIdentities,omitempty"`
+ UserAssignedIdentityExceptions []ManagedClusterPodIdentityException_STATUS `json:"userAssignedIdentityExceptions,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS populates our ManagedClusterPodIdentityProfile_STATUS from the provided source ManagedClusterPodIdentityProfile_STATUS
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_From_ManagedClusterPodIdentityProfile_STATUS(source *storage.ManagedClusterPodIdentityProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllowNetworkPluginKubenet
+ if source.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *source.AllowNetworkPluginKubenet
+ profile.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ profile.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if source.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]ManagedClusterPodIdentity_STATUS, len(source.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range source.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity ManagedClusterPodIdentity_STATUS
+ err := userAssignedIdentity.AssignProperties_From_ManagedClusterPodIdentity_STATUS(&userAssignedIdentityItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ profile.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ profile.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if source.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]ManagedClusterPodIdentityException_STATUS, len(source.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range source.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException ManagedClusterPodIdentityException_STATUS
+ err := userAssignedIdentityException.AssignProperties_From_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityExceptionItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ profile.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ profile.UserAssignedIdentityExceptions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterPodIdentityProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS populates the provided destination ManagedClusterPodIdentityProfile_STATUS from our ManagedClusterPodIdentityProfile_STATUS
+func (profile *ManagedClusterPodIdentityProfile_STATUS) AssignProperties_To_ManagedClusterPodIdentityProfile_STATUS(destination *storage.ManagedClusterPodIdentityProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AllowNetworkPluginKubenet
+ if profile.AllowNetworkPluginKubenet != nil {
+ allowNetworkPluginKubenet := *profile.AllowNetworkPluginKubenet
+ destination.AllowNetworkPluginKubenet = &allowNetworkPluginKubenet
+ } else {
+ destination.AllowNetworkPluginKubenet = nil
+ }
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // UserAssignedIdentities
+ if profile.UserAssignedIdentities != nil {
+ userAssignedIdentityList := make([]storage.ManagedClusterPodIdentity_STATUS, len(profile.UserAssignedIdentities))
+ for userAssignedIdentityIndex, userAssignedIdentityItem := range profile.UserAssignedIdentities {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityItem := userAssignedIdentityItem
+ var userAssignedIdentity storage.ManagedClusterPodIdentity_STATUS
+ err := userAssignedIdentityItem.AssignProperties_To_ManagedClusterPodIdentity_STATUS(&userAssignedIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_STATUS() to populate field UserAssignedIdentities")
+ }
+ userAssignedIdentityList[userAssignedIdentityIndex] = userAssignedIdentity
+ }
+ destination.UserAssignedIdentities = userAssignedIdentityList
+ } else {
+ destination.UserAssignedIdentities = nil
+ }
+
+ // UserAssignedIdentityExceptions
+ if profile.UserAssignedIdentityExceptions != nil {
+ userAssignedIdentityExceptionList := make([]storage.ManagedClusterPodIdentityException_STATUS, len(profile.UserAssignedIdentityExceptions))
+ for userAssignedIdentityExceptionIndex, userAssignedIdentityExceptionItem := range profile.UserAssignedIdentityExceptions {
+ // Shadow the loop variable to avoid aliasing
+ userAssignedIdentityExceptionItem := userAssignedIdentityExceptionItem
+ var userAssignedIdentityException storage.ManagedClusterPodIdentityException_STATUS
+ err := userAssignedIdentityExceptionItem.AssignProperties_To_ManagedClusterPodIdentityException_STATUS(&userAssignedIdentityException)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityException_STATUS() to populate field UserAssignedIdentityExceptions")
+ }
+ userAssignedIdentityExceptionList[userAssignedIdentityExceptionIndex] = userAssignedIdentityException
+ }
+ destination.UserAssignedIdentityExceptions = userAssignedIdentityExceptionList
+ } else {
+ destination.UserAssignedIdentityExceptions = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterPodIdentityProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterProperties_AutoScalerProfile
+type ManagedClusterProperties_AutoScalerProfile struct {
+ BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"`
+ DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"`
+ DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"`
+ Expander *string `json:"expander,omitempty"`
+ IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"`
+ MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"`
+ MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"`
+ MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"`
+ MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"`
+ NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"`
+ OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"`
+ ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"`
+ ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"`
+ ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"`
+ ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"`
+ ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"`
+ ScanInterval *string `json:"scan-interval,omitempty"`
+ SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"`
+ SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile populates our ManagedClusterProperties_AutoScalerProfile from the provided source ManagedClusterProperties_AutoScalerProfile
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile(source *storage.ManagedClusterProperties_AutoScalerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // BalanceSimilarNodeGroups
+ profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if source.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *source.DaemonsetEvictionForEmptyNodes
+ profile.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ profile.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if source.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *source.DaemonsetEvictionForOccupiedNodes
+ profile.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ profile.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ profile.Expander = genruntime.ClonePointerToString(source.Expander)
+
+ // IgnoreDaemonsetsUtilization
+ if source.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *source.IgnoreDaemonsetsUtilization
+ profile.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ profile.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ profile.MaxEmptyBulkDelete = genruntime.ClonePointerToString(source.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ profile.MaxGracefulTerminationSec = genruntime.ClonePointerToString(source.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ profile.MaxNodeProvisionTime = genruntime.ClonePointerToString(source.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ profile.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(source.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ profile.NewPodScaleUpDelay = genruntime.ClonePointerToString(source.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ profile.OkTotalUnreadyCount = genruntime.ClonePointerToString(source.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ profile.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(source.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ profile.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(source.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ profile.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(source.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ profile.ScaleDownUnneededTime = genruntime.ClonePointerToString(source.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ profile.ScaleDownUnreadyTime = genruntime.ClonePointerToString(source.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ profile.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(source.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ profile.ScanInterval = genruntime.ClonePointerToString(source.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ profile.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(source.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ profile.SkipNodesWithSystemPods = genruntime.ClonePointerToString(source.SkipNodesWithSystemPods)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterProperties_AutoScalerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterProperties_AutoScalerProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile populates the provided destination ManagedClusterProperties_AutoScalerProfile from our ManagedClusterProperties_AutoScalerProfile
+func (profile *ManagedClusterProperties_AutoScalerProfile) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile(destination *storage.ManagedClusterProperties_AutoScalerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // BalanceSimilarNodeGroups
+ destination.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(profile.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if profile.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *profile.DaemonsetEvictionForEmptyNodes
+ destination.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ destination.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if profile.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *profile.DaemonsetEvictionForOccupiedNodes
+ destination.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ destination.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ destination.Expander = genruntime.ClonePointerToString(profile.Expander)
+
+ // IgnoreDaemonsetsUtilization
+ if profile.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *profile.IgnoreDaemonsetsUtilization
+ destination.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ destination.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ destination.MaxEmptyBulkDelete = genruntime.ClonePointerToString(profile.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ destination.MaxGracefulTerminationSec = genruntime.ClonePointerToString(profile.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ destination.MaxNodeProvisionTime = genruntime.ClonePointerToString(profile.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ destination.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(profile.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ destination.NewPodScaleUpDelay = genruntime.ClonePointerToString(profile.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ destination.OkTotalUnreadyCount = genruntime.ClonePointerToString(profile.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ destination.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ destination.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ destination.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ destination.ScaleDownUnneededTime = genruntime.ClonePointerToString(profile.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ destination.ScaleDownUnreadyTime = genruntime.ClonePointerToString(profile.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ destination.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(profile.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ destination.ScanInterval = genruntime.ClonePointerToString(profile.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ destination.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(profile.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ destination.SkipNodesWithSystemPods = genruntime.ClonePointerToString(profile.SkipNodesWithSystemPods)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterProperties_AutoScalerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterProperties_AutoScalerProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterProperties_AutoScalerProfile_STATUS
+type ManagedClusterProperties_AutoScalerProfile_STATUS struct {
+ BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"`
+ DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"`
+ DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"`
+ Expander *string `json:"expander,omitempty"`
+ IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"`
+ MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"`
+ MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"`
+ MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"`
+ MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"`
+ NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"`
+ OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"`
+ ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"`
+ ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"`
+ ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"`
+ ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"`
+ ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"`
+ ScanInterval *string `json:"scan-interval,omitempty"`
+ SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"`
+ SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS populates our ManagedClusterProperties_AutoScalerProfile_STATUS from the provided source ManagedClusterProperties_AutoScalerProfile_STATUS
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterProperties_AutoScalerProfile_STATUS(source *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // BalanceSimilarNodeGroups
+ profile.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(source.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if source.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *source.DaemonsetEvictionForEmptyNodes
+ profile.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ profile.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if source.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *source.DaemonsetEvictionForOccupiedNodes
+ profile.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ profile.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ profile.Expander = genruntime.ClonePointerToString(source.Expander)
+
+ // IgnoreDaemonsetsUtilization
+ if source.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *source.IgnoreDaemonsetsUtilization
+ profile.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ profile.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ profile.MaxEmptyBulkDelete = genruntime.ClonePointerToString(source.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ profile.MaxGracefulTerminationSec = genruntime.ClonePointerToString(source.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ profile.MaxNodeProvisionTime = genruntime.ClonePointerToString(source.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ profile.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(source.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ profile.NewPodScaleUpDelay = genruntime.ClonePointerToString(source.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ profile.OkTotalUnreadyCount = genruntime.ClonePointerToString(source.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ profile.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(source.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ profile.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(source.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ profile.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(source.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ profile.ScaleDownUnneededTime = genruntime.ClonePointerToString(source.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ profile.ScaleDownUnreadyTime = genruntime.ClonePointerToString(source.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ profile.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(source.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ profile.ScanInterval = genruntime.ClonePointerToString(source.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ profile.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(source.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ profile.SkipNodesWithSystemPods = genruntime.ClonePointerToString(source.SkipNodesWithSystemPods)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS populates the provided destination ManagedClusterProperties_AutoScalerProfile_STATUS from our ManagedClusterProperties_AutoScalerProfile_STATUS
+func (profile *ManagedClusterProperties_AutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterProperties_AutoScalerProfile_STATUS(destination *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // BalanceSimilarNodeGroups
+ destination.BalanceSimilarNodeGroups = genruntime.ClonePointerToString(profile.BalanceSimilarNodeGroups)
+
+ // DaemonsetEvictionForEmptyNodes
+ if profile.DaemonsetEvictionForEmptyNodes != nil {
+ daemonsetEvictionForEmptyNode := *profile.DaemonsetEvictionForEmptyNodes
+ destination.DaemonsetEvictionForEmptyNodes = &daemonsetEvictionForEmptyNode
+ } else {
+ destination.DaemonsetEvictionForEmptyNodes = nil
+ }
+
+ // DaemonsetEvictionForOccupiedNodes
+ if profile.DaemonsetEvictionForOccupiedNodes != nil {
+ daemonsetEvictionForOccupiedNode := *profile.DaemonsetEvictionForOccupiedNodes
+ destination.DaemonsetEvictionForOccupiedNodes = &daemonsetEvictionForOccupiedNode
+ } else {
+ destination.DaemonsetEvictionForOccupiedNodes = nil
+ }
+
+ // Expander
+ destination.Expander = genruntime.ClonePointerToString(profile.Expander)
+
+ // IgnoreDaemonsetsUtilization
+ if profile.IgnoreDaemonsetsUtilization != nil {
+ ignoreDaemonsetsUtilization := *profile.IgnoreDaemonsetsUtilization
+ destination.IgnoreDaemonsetsUtilization = &ignoreDaemonsetsUtilization
+ } else {
+ destination.IgnoreDaemonsetsUtilization = nil
+ }
+
+ // MaxEmptyBulkDelete
+ destination.MaxEmptyBulkDelete = genruntime.ClonePointerToString(profile.MaxEmptyBulkDelete)
+
+ // MaxGracefulTerminationSec
+ destination.MaxGracefulTerminationSec = genruntime.ClonePointerToString(profile.MaxGracefulTerminationSec)
+
+ // MaxNodeProvisionTime
+ destination.MaxNodeProvisionTime = genruntime.ClonePointerToString(profile.MaxNodeProvisionTime)
+
+ // MaxTotalUnreadyPercentage
+ destination.MaxTotalUnreadyPercentage = genruntime.ClonePointerToString(profile.MaxTotalUnreadyPercentage)
+
+ // NewPodScaleUpDelay
+ destination.NewPodScaleUpDelay = genruntime.ClonePointerToString(profile.NewPodScaleUpDelay)
+
+ // OkTotalUnreadyCount
+ destination.OkTotalUnreadyCount = genruntime.ClonePointerToString(profile.OkTotalUnreadyCount)
+
+ // ScaleDownDelayAfterAdd
+ destination.ScaleDownDelayAfterAdd = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterAdd)
+
+ // ScaleDownDelayAfterDelete
+ destination.ScaleDownDelayAfterDelete = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterDelete)
+
+ // ScaleDownDelayAfterFailure
+ destination.ScaleDownDelayAfterFailure = genruntime.ClonePointerToString(profile.ScaleDownDelayAfterFailure)
+
+ // ScaleDownUnneededTime
+ destination.ScaleDownUnneededTime = genruntime.ClonePointerToString(profile.ScaleDownUnneededTime)
+
+ // ScaleDownUnreadyTime
+ destination.ScaleDownUnreadyTime = genruntime.ClonePointerToString(profile.ScaleDownUnreadyTime)
+
+ // ScaleDownUtilizationThreshold
+ destination.ScaleDownUtilizationThreshold = genruntime.ClonePointerToString(profile.ScaleDownUtilizationThreshold)
+
+ // ScanInterval
+ destination.ScanInterval = genruntime.ClonePointerToString(profile.ScanInterval)
+
+ // SkipNodesWithLocalStorage
+ destination.SkipNodesWithLocalStorage = genruntime.ClonePointerToString(profile.SkipNodesWithLocalStorage)
+
+ // SkipNodesWithSystemPods
+ destination.SkipNodesWithSystemPods = genruntime.ClonePointerToString(profile.SkipNodesWithSystemPods)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfile
+// Security profile for the container service cluster.
+type ManagedClusterSecurityProfile struct {
+ AzureKeyVaultKms *AzureKeyVaultKms `json:"azureKeyVaultKms,omitempty"`
+ CustomCATrustCertificates []string `json:"customCATrustCertificates,omitempty"`
+ Defender *ManagedClusterSecurityProfileDefender `json:"defender,omitempty"`
+ ImageCleaner *ManagedClusterSecurityProfileImageCleaner `json:"imageCleaner,omitempty"`
+ ImageIntegrity *ManagedClusterSecurityProfileImageIntegrity `json:"imageIntegrity,omitempty"`
+ NodeRestriction *ManagedClusterSecurityProfileNodeRestriction `json:"nodeRestriction,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ WorkloadIdentity *ManagedClusterSecurityProfileWorkloadIdentity `json:"workloadIdentity,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfile populates our ManagedClusterSecurityProfile from the provided source ManagedClusterSecurityProfile
+func (profile *ManagedClusterSecurityProfile) AssignProperties_From_ManagedClusterSecurityProfile(source *storage.ManagedClusterSecurityProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AzureKeyVaultKms
+ if source.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm AzureKeyVaultKms
+ err := azureKeyVaultKm.AssignProperties_From_AzureKeyVaultKms(source.AzureKeyVaultKms)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
+ }
+ profile.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ profile.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ profile.CustomCATrustCertificates = genruntime.CloneSliceOfString(source.CustomCATrustCertificates)
+
+ // Defender
+ if source.Defender != nil {
+ var defender ManagedClusterSecurityProfileDefender
+ err := defender.AssignProperties_From_ManagedClusterSecurityProfileDefender(source.Defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefender() to populate field Defender")
+ }
+ profile.Defender = &defender
+ } else {
+ profile.Defender = nil
+ }
+
+ // ImageCleaner
+ if source.ImageCleaner != nil {
+ var imageCleaner ManagedClusterSecurityProfileImageCleaner
+ err := imageCleaner.AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source.ImageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
+ }
+ profile.ImageCleaner = &imageCleaner
+ } else {
+ profile.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if source.ImageIntegrity != nil {
+ var imageIntegrity ManagedClusterSecurityProfileImageIntegrity
+ err := imageIntegrity.AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity(source.ImageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity() to populate field ImageIntegrity")
+ }
+ profile.ImageIntegrity = &imageIntegrity
+ } else {
+ profile.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if source.NodeRestriction != nil {
+ var nodeRestriction ManagedClusterSecurityProfileNodeRestriction
+ err := nodeRestriction.AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source.NodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction() to populate field NodeRestriction")
+ }
+ profile.NodeRestriction = &nodeRestriction
+ } else {
+ profile.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if source.WorkloadIdentity != nil {
+ var workloadIdentity ManagedClusterSecurityProfileWorkloadIdentity
+ err := workloadIdentity.AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source.WorkloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
+ }
+ profile.WorkloadIdentity = &workloadIdentity
+ } else {
+ profile.WorkloadIdentity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterSecurityProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfile populates the provided destination ManagedClusterSecurityProfile from our ManagedClusterSecurityProfile
+func (profile *ManagedClusterSecurityProfile) AssignProperties_To_ManagedClusterSecurityProfile(destination *storage.ManagedClusterSecurityProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AzureKeyVaultKms
+ if profile.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm storage.AzureKeyVaultKms
+ err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms(&azureKeyVaultKm)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms() to populate field AzureKeyVaultKms")
+ }
+ destination.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ destination.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ destination.CustomCATrustCertificates = genruntime.CloneSliceOfString(profile.CustomCATrustCertificates)
+
+ // Defender
+ if profile.Defender != nil {
+ var defender storage.ManagedClusterSecurityProfileDefender
+ err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender(&defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender() to populate field Defender")
+ }
+ destination.Defender = &defender
+ } else {
+ destination.Defender = nil
+ }
+
+ // ImageCleaner
+ if profile.ImageCleaner != nil {
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner
+ err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(&imageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner() to populate field ImageCleaner")
+ }
+ destination.ImageCleaner = &imageCleaner
+ } else {
+ destination.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if profile.ImageIntegrity != nil {
+ var imageIntegrity storage.ManagedClusterSecurityProfileImageIntegrity
+ err := profile.ImageIntegrity.AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(&imageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity() to populate field ImageIntegrity")
+ }
+ destination.ImageIntegrity = &imageIntegrity
+ } else {
+ destination.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if profile.NodeRestriction != nil {
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction
+ err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(&nodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction() to populate field NodeRestriction")
+ }
+ destination.NodeRestriction = &nodeRestriction
+ } else {
+ destination.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if profile.WorkloadIdentity != nil {
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity
+ err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(&workloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity() to populate field WorkloadIdentity")
+ }
+ destination.WorkloadIdentity = &workloadIdentity
+ } else {
+ destination.WorkloadIdentity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterSecurityProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfile_STATUS
+// Security profile for the container service cluster.
+type ManagedClusterSecurityProfile_STATUS struct {
+ AzureKeyVaultKms *AzureKeyVaultKms_STATUS `json:"azureKeyVaultKms,omitempty"`
+ CustomCATrustCertificates []string `json:"customCATrustCertificates,omitempty"`
+ Defender *ManagedClusterSecurityProfileDefender_STATUS `json:"defender,omitempty"`
+ ImageCleaner *ManagedClusterSecurityProfileImageCleaner_STATUS `json:"imageCleaner,omitempty"`
+ ImageIntegrity *ManagedClusterSecurityProfileImageIntegrity_STATUS `json:"imageIntegrity,omitempty"`
+ NodeRestriction *ManagedClusterSecurityProfileNodeRestriction_STATUS `json:"nodeRestriction,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ WorkloadIdentity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS `json:"workloadIdentity,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfile_STATUS populates our ManagedClusterSecurityProfile_STATUS from the provided source ManagedClusterSecurityProfile_STATUS
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_From_ManagedClusterSecurityProfile_STATUS(source *storage.ManagedClusterSecurityProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AzureKeyVaultKms
+ if source.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm AzureKeyVaultKms_STATUS
+ err := azureKeyVaultKm.AssignProperties_From_AzureKeyVaultKms_STATUS(source.AzureKeyVaultKms)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
+ }
+ profile.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ profile.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ profile.CustomCATrustCertificates = genruntime.CloneSliceOfString(source.CustomCATrustCertificates)
+
+ // Defender
+ if source.Defender != nil {
+ var defender ManagedClusterSecurityProfileDefender_STATUS
+ err := defender.AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source.Defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
+ }
+ profile.Defender = &defender
+ } else {
+ profile.Defender = nil
+ }
+
+ // ImageCleaner
+ if source.ImageCleaner != nil {
+ var imageCleaner ManagedClusterSecurityProfileImageCleaner_STATUS
+ err := imageCleaner.AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source.ImageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
+ }
+ profile.ImageCleaner = &imageCleaner
+ } else {
+ profile.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if source.ImageIntegrity != nil {
+ var imageIntegrity ManagedClusterSecurityProfileImageIntegrity_STATUS
+ err := imageIntegrity.AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS(source.ImageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS() to populate field ImageIntegrity")
+ }
+ profile.ImageIntegrity = &imageIntegrity
+ } else {
+ profile.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if source.NodeRestriction != nil {
+ var nodeRestriction ManagedClusterSecurityProfileNodeRestriction_STATUS
+ err := nodeRestriction.AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source.NodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS() to populate field NodeRestriction")
+ }
+ profile.NodeRestriction = &nodeRestriction
+ } else {
+ profile.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if source.WorkloadIdentity != nil {
+ var workloadIdentity ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ err := workloadIdentity.AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source.WorkloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
+ }
+ profile.WorkloadIdentity = &workloadIdentity
+ } else {
+ profile.WorkloadIdentity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterSecurityProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfile_STATUS populates the provided destination ManagedClusterSecurityProfile_STATUS from our ManagedClusterSecurityProfile_STATUS
+func (profile *ManagedClusterSecurityProfile_STATUS) AssignProperties_To_ManagedClusterSecurityProfile_STATUS(destination *storage.ManagedClusterSecurityProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AzureKeyVaultKms
+ if profile.AzureKeyVaultKms != nil {
+ var azureKeyVaultKm storage.AzureKeyVaultKms_STATUS
+ err := profile.AzureKeyVaultKms.AssignProperties_To_AzureKeyVaultKms_STATUS(&azureKeyVaultKm)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AzureKeyVaultKms_STATUS() to populate field AzureKeyVaultKms")
+ }
+ destination.AzureKeyVaultKms = &azureKeyVaultKm
+ } else {
+ destination.AzureKeyVaultKms = nil
+ }
+
+ // CustomCATrustCertificates
+ destination.CustomCATrustCertificates = genruntime.CloneSliceOfString(profile.CustomCATrustCertificates)
+
+ // Defender
+ if profile.Defender != nil {
+ var defender storage.ManagedClusterSecurityProfileDefender_STATUS
+ err := profile.Defender.AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(&defender)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS() to populate field Defender")
+ }
+ destination.Defender = &defender
+ } else {
+ destination.Defender = nil
+ }
+
+ // ImageCleaner
+ if profile.ImageCleaner != nil {
+ var imageCleaner storage.ManagedClusterSecurityProfileImageCleaner_STATUS
+ err := profile.ImageCleaner.AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(&imageCleaner)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS() to populate field ImageCleaner")
+ }
+ destination.ImageCleaner = &imageCleaner
+ } else {
+ destination.ImageCleaner = nil
+ }
+
+ // ImageIntegrity
+ if profile.ImageIntegrity != nil {
+ var imageIntegrity storage.ManagedClusterSecurityProfileImageIntegrity_STATUS
+ err := profile.ImageIntegrity.AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(&imageIntegrity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS() to populate field ImageIntegrity")
+ }
+ destination.ImageIntegrity = &imageIntegrity
+ } else {
+ destination.ImageIntegrity = nil
+ }
+
+ // NodeRestriction
+ if profile.NodeRestriction != nil {
+ var nodeRestriction storage.ManagedClusterSecurityProfileNodeRestriction_STATUS
+ err := profile.NodeRestriction.AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(&nodeRestriction)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS() to populate field NodeRestriction")
+ }
+ destination.NodeRestriction = &nodeRestriction
+ } else {
+ destination.NodeRestriction = nil
+ }
+
+ // WorkloadIdentity
+ if profile.WorkloadIdentity != nil {
+ var workloadIdentity storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+ err := profile.WorkloadIdentity.AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(&workloadIdentity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS() to populate field WorkloadIdentity")
+ }
+ destination.WorkloadIdentity = &workloadIdentity
+ } else {
+ destination.WorkloadIdentity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterSecurityProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterServicePrincipalProfile
+// Information about a service principal identity for the cluster to use for manipulating Azure APIs.
+type ManagedClusterServicePrincipalProfile struct {
+ ClientId *string `json:"clientId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Secret *genruntime.SecretReference `json:"secret,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterServicePrincipalProfile populates our ManagedClusterServicePrincipalProfile from the provided source ManagedClusterServicePrincipalProfile
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_From_ManagedClusterServicePrincipalProfile(source *storage.ManagedClusterServicePrincipalProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ClientId
+ profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // Secret
+ if source.Secret != nil {
+ secret := source.Secret.Copy()
+ profile.Secret = &secret
+ } else {
+ profile.Secret = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterServicePrincipalProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterServicePrincipalProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterServicePrincipalProfile populates the provided destination ManagedClusterServicePrincipalProfile from our ManagedClusterServicePrincipalProfile
+func (profile *ManagedClusterServicePrincipalProfile) AssignProperties_To_ManagedClusterServicePrincipalProfile(destination *storage.ManagedClusterServicePrincipalProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(profile.ClientId)
+
+ // Secret
+ if profile.Secret != nil {
+ secret := profile.Secret.Copy()
+ destination.Secret = &secret
+ } else {
+ destination.Secret = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterServicePrincipalProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterServicePrincipalProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterServicePrincipalProfile_STATUS
+// Information about a service principal identity for the cluster to use for manipulating Azure APIs.
+type ManagedClusterServicePrincipalProfile_STATUS struct {
+ ClientId *string `json:"clientId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS populates our ManagedClusterServicePrincipalProfile_STATUS from the provided source ManagedClusterServicePrincipalProfile_STATUS
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_From_ManagedClusterServicePrincipalProfile_STATUS(source *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ClientId
+ profile.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterServicePrincipalProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterServicePrincipalProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS populates the provided destination ManagedClusterServicePrincipalProfile_STATUS from our ManagedClusterServicePrincipalProfile_STATUS
+func (profile *ManagedClusterServicePrincipalProfile_STATUS) AssignProperties_To_ManagedClusterServicePrincipalProfile_STATUS(destination *storage.ManagedClusterServicePrincipalProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(profile.ClientId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterServicePrincipalProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterServicePrincipalProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSKU
+// The SKU of a Managed Cluster.
+type ManagedClusterSKU struct {
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Tier *string `json:"tier,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSKU populates our ManagedClusterSKU from the provided source ManagedClusterSKU
+func (clusterSKU *ManagedClusterSKU) AssignProperties_From_ManagedClusterSKU(source *storage.ManagedClusterSKU) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Name
+ clusterSKU.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Tier
+ clusterSKU.Tier = genruntime.ClonePointerToString(source.Tier)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ clusterSKU.PropertyBag = propertyBag
+ } else {
+ clusterSKU.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSKU interface (if implemented) to customize the conversion
+ var clusterSKUAsAny any = clusterSKU
+ if augmentedClusterSKU, ok := clusterSKUAsAny.(augmentConversionForManagedClusterSKU); ok {
+ err := augmentedClusterSKU.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSKU populates the provided destination ManagedClusterSKU from our ManagedClusterSKU
+func (clusterSKU *ManagedClusterSKU) AssignProperties_To_ManagedClusterSKU(destination *storage.ManagedClusterSKU) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(clusterSKU.PropertyBag)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(clusterSKU.Name)
+
+ // Tier
+ destination.Tier = genruntime.ClonePointerToString(clusterSKU.Tier)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSKU interface (if implemented) to customize the conversion
+ var clusterSKUAsAny any = clusterSKU
+ if augmentedClusterSKU, ok := clusterSKUAsAny.(augmentConversionForManagedClusterSKU); ok {
+ err := augmentedClusterSKU.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSKU_STATUS
+// The SKU of a Managed Cluster.
+type ManagedClusterSKU_STATUS struct {
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Tier *string `json:"tier,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSKU_STATUS populates our ManagedClusterSKU_STATUS from the provided source ManagedClusterSKU_STATUS
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_From_ManagedClusterSKU_STATUS(source *storage.ManagedClusterSKU_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Name
+ clusterSKU.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Tier
+ clusterSKU.Tier = genruntime.ClonePointerToString(source.Tier)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ clusterSKU.PropertyBag = propertyBag
+ } else {
+ clusterSKU.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSKU_STATUS interface (if implemented) to customize the conversion
+ var clusterSKUAsAny any = clusterSKU
+ if augmentedClusterSKU, ok := clusterSKUAsAny.(augmentConversionForManagedClusterSKU_STATUS); ok {
+ err := augmentedClusterSKU.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSKU_STATUS populates the provided destination ManagedClusterSKU_STATUS from our ManagedClusterSKU_STATUS
+func (clusterSKU *ManagedClusterSKU_STATUS) AssignProperties_To_ManagedClusterSKU_STATUS(destination *storage.ManagedClusterSKU_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(clusterSKU.PropertyBag)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(clusterSKU.Name)
+
+ // Tier
+ destination.Tier = genruntime.ClonePointerToString(clusterSKU.Tier)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSKU_STATUS interface (if implemented) to customize the conversion
+ var clusterSKUAsAny any = clusterSKU
+ if augmentedClusterSKU, ok := clusterSKUAsAny.(augmentConversionForManagedClusterSKU_STATUS); ok {
+ err := augmentedClusterSKU.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfile
+// Storage profile for the container service cluster.
+type ManagedClusterStorageProfile struct {
+ BlobCSIDriver *ManagedClusterStorageProfileBlobCSIDriver `json:"blobCSIDriver,omitempty"`
+ DiskCSIDriver *ManagedClusterStorageProfileDiskCSIDriver `json:"diskCSIDriver,omitempty"`
+ FileCSIDriver *ManagedClusterStorageProfileFileCSIDriver `json:"fileCSIDriver,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SnapshotController *ManagedClusterStorageProfileSnapshotController `json:"snapshotController,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfile populates our ManagedClusterStorageProfile from the provided source ManagedClusterStorageProfile
+func (profile *ManagedClusterStorageProfile) AssignProperties_From_ManagedClusterStorageProfile(source *storage.ManagedClusterStorageProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // BlobCSIDriver
+ if source.BlobCSIDriver != nil {
+ var blobCSIDriver ManagedClusterStorageProfileBlobCSIDriver
+ err := blobCSIDriver.AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source.BlobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
+ }
+ profile.BlobCSIDriver = &blobCSIDriver
+ } else {
+ profile.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if source.DiskCSIDriver != nil {
+ var diskCSIDriver ManagedClusterStorageProfileDiskCSIDriver
+ err := diskCSIDriver.AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source.DiskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
+ }
+ profile.DiskCSIDriver = &diskCSIDriver
+ } else {
+ profile.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if source.FileCSIDriver != nil {
+ var fileCSIDriver ManagedClusterStorageProfileFileCSIDriver
+ err := fileCSIDriver.AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source.FileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
+ }
+ profile.FileCSIDriver = &fileCSIDriver
+ } else {
+ profile.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if source.SnapshotController != nil {
+ var snapshotController ManagedClusterStorageProfileSnapshotController
+ err := snapshotController.AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source.SnapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
+ }
+ profile.SnapshotController = &snapshotController
+ } else {
+ profile.SnapshotController = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterStorageProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfile populates the provided destination ManagedClusterStorageProfile from our ManagedClusterStorageProfile
+func (profile *ManagedClusterStorageProfile) AssignProperties_To_ManagedClusterStorageProfile(destination *storage.ManagedClusterStorageProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // BlobCSIDriver
+ if profile.BlobCSIDriver != nil {
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver
+ err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(&blobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver() to populate field BlobCSIDriver")
+ }
+ destination.BlobCSIDriver = &blobCSIDriver
+ } else {
+ destination.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if profile.DiskCSIDriver != nil {
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver
+ err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(&diskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver() to populate field DiskCSIDriver")
+ }
+ destination.DiskCSIDriver = &diskCSIDriver
+ } else {
+ destination.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if profile.FileCSIDriver != nil {
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver
+ err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(&fileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver() to populate field FileCSIDriver")
+ }
+ destination.FileCSIDriver = &fileCSIDriver
+ } else {
+ destination.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if profile.SnapshotController != nil {
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController
+ err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController(&snapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController() to populate field SnapshotController")
+ }
+ destination.SnapshotController = &snapshotController
+ } else {
+ destination.SnapshotController = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterStorageProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfile_STATUS
+// Storage profile for the container service cluster.
+type ManagedClusterStorageProfile_STATUS struct {
+ BlobCSIDriver *ManagedClusterStorageProfileBlobCSIDriver_STATUS `json:"blobCSIDriver,omitempty"`
+ DiskCSIDriver *ManagedClusterStorageProfileDiskCSIDriver_STATUS `json:"diskCSIDriver,omitempty"`
+ FileCSIDriver *ManagedClusterStorageProfileFileCSIDriver_STATUS `json:"fileCSIDriver,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SnapshotController *ManagedClusterStorageProfileSnapshotController_STATUS `json:"snapshotController,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfile_STATUS populates our ManagedClusterStorageProfile_STATUS from the provided source ManagedClusterStorageProfile_STATUS
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_From_ManagedClusterStorageProfile_STATUS(source *storage.ManagedClusterStorageProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // BlobCSIDriver
+ if source.BlobCSIDriver != nil {
+ var blobCSIDriver ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ err := blobCSIDriver.AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source.BlobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
+ }
+ profile.BlobCSIDriver = &blobCSIDriver
+ } else {
+ profile.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if source.DiskCSIDriver != nil {
+ var diskCSIDriver ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ err := diskCSIDriver.AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source.DiskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
+ }
+ profile.DiskCSIDriver = &diskCSIDriver
+ } else {
+ profile.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if source.FileCSIDriver != nil {
+ var fileCSIDriver ManagedClusterStorageProfileFileCSIDriver_STATUS
+ err := fileCSIDriver.AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source.FileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
+ }
+ profile.FileCSIDriver = &fileCSIDriver
+ } else {
+ profile.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if source.SnapshotController != nil {
+ var snapshotController ManagedClusterStorageProfileSnapshotController_STATUS
+ err := snapshotController.AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source.SnapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
+ }
+ profile.SnapshotController = &snapshotController
+ } else {
+ profile.SnapshotController = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterStorageProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfile_STATUS populates the provided destination ManagedClusterStorageProfile_STATUS from our ManagedClusterStorageProfile_STATUS
+func (profile *ManagedClusterStorageProfile_STATUS) AssignProperties_To_ManagedClusterStorageProfile_STATUS(destination *storage.ManagedClusterStorageProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // BlobCSIDriver
+ if profile.BlobCSIDriver != nil {
+ var blobCSIDriver storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+ err := profile.BlobCSIDriver.AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(&blobCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS() to populate field BlobCSIDriver")
+ }
+ destination.BlobCSIDriver = &blobCSIDriver
+ } else {
+ destination.BlobCSIDriver = nil
+ }
+
+ // DiskCSIDriver
+ if profile.DiskCSIDriver != nil {
+ var diskCSIDriver storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+ err := profile.DiskCSIDriver.AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(&diskCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS() to populate field DiskCSIDriver")
+ }
+ destination.DiskCSIDriver = &diskCSIDriver
+ } else {
+ destination.DiskCSIDriver = nil
+ }
+
+ // FileCSIDriver
+ if profile.FileCSIDriver != nil {
+ var fileCSIDriver storage.ManagedClusterStorageProfileFileCSIDriver_STATUS
+ err := profile.FileCSIDriver.AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(&fileCSIDriver)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS() to populate field FileCSIDriver")
+ }
+ destination.FileCSIDriver = &fileCSIDriver
+ } else {
+ destination.FileCSIDriver = nil
+ }
+
+ // SnapshotController
+ if profile.SnapshotController != nil {
+ var snapshotController storage.ManagedClusterStorageProfileSnapshotController_STATUS
+ err := profile.SnapshotController.AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(&snapshotController)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS() to populate field SnapshotController")
+ }
+ destination.SnapshotController = &snapshotController
+ } else {
+ destination.SnapshotController = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterStorageProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWindowsProfile
+// Profile for Windows VMs in the managed cluster.
+type ManagedClusterWindowsProfile struct {
+ AdminPassword *genruntime.SecretReference `json:"adminPassword,omitempty"`
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ GmsaProfile *WindowsGmsaProfile `json:"gmsaProfile,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWindowsProfile populates our ManagedClusterWindowsProfile from the provided source ManagedClusterWindowsProfile
+func (profile *ManagedClusterWindowsProfile) AssignProperties_From_ManagedClusterWindowsProfile(source *storage.ManagedClusterWindowsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminPassword
+ if source.AdminPassword != nil {
+ adminPassword := source.AdminPassword.Copy()
+ profile.AdminPassword = &adminPassword
+ } else {
+ profile.AdminPassword = nil
+ }
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // EnableCSIProxy
+ if source.EnableCSIProxy != nil {
+ enableCSIProxy := *source.EnableCSIProxy
+ profile.EnableCSIProxy = &enableCSIProxy
+ } else {
+ profile.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if source.GmsaProfile != nil {
+ var gmsaProfile WindowsGmsaProfile
+ err := gmsaProfile.AssignProperties_From_WindowsGmsaProfile(source.GmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_WindowsGmsaProfile() to populate field GmsaProfile")
+ }
+ profile.GmsaProfile = &gmsaProfile
+ } else {
+ profile.GmsaProfile = nil
+ }
+
+ // LicenseType
+ profile.LicenseType = genruntime.ClonePointerToString(source.LicenseType)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWindowsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWindowsProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWindowsProfile populates the provided destination ManagedClusterWindowsProfile from our ManagedClusterWindowsProfile
+func (profile *ManagedClusterWindowsProfile) AssignProperties_To_ManagedClusterWindowsProfile(destination *storage.ManagedClusterWindowsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdminPassword
+ if profile.AdminPassword != nil {
+ adminPassword := profile.AdminPassword.Copy()
+ destination.AdminPassword = &adminPassword
+ } else {
+ destination.AdminPassword = nil
+ }
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // EnableCSIProxy
+ if profile.EnableCSIProxy != nil {
+ enableCSIProxy := *profile.EnableCSIProxy
+ destination.EnableCSIProxy = &enableCSIProxy
+ } else {
+ destination.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if profile.GmsaProfile != nil {
+ var gmsaProfile storage.WindowsGmsaProfile
+ err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile(&gmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile() to populate field GmsaProfile")
+ }
+ destination.GmsaProfile = &gmsaProfile
+ } else {
+ destination.GmsaProfile = nil
+ }
+
+ // LicenseType
+ destination.LicenseType = genruntime.ClonePointerToString(profile.LicenseType)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWindowsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWindowsProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWindowsProfile_STATUS
+// Profile for Windows VMs in the managed cluster.
+type ManagedClusterWindowsProfile_STATUS struct {
+ AdminUsername *string `json:"adminUsername,omitempty"`
+ EnableCSIProxy *bool `json:"enableCSIProxy,omitempty"`
+ GmsaProfile *WindowsGmsaProfile_STATUS `json:"gmsaProfile,omitempty"`
+ LicenseType *string `json:"licenseType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWindowsProfile_STATUS populates our ManagedClusterWindowsProfile_STATUS from the provided source ManagedClusterWindowsProfile_STATUS
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_From_ManagedClusterWindowsProfile_STATUS(source *storage.ManagedClusterWindowsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminUsername
+ profile.AdminUsername = genruntime.ClonePointerToString(source.AdminUsername)
+
+ // EnableCSIProxy
+ if source.EnableCSIProxy != nil {
+ enableCSIProxy := *source.EnableCSIProxy
+ profile.EnableCSIProxy = &enableCSIProxy
+ } else {
+ profile.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if source.GmsaProfile != nil {
+ var gmsaProfile WindowsGmsaProfile_STATUS
+ err := gmsaProfile.AssignProperties_From_WindowsGmsaProfile_STATUS(source.GmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
+ }
+ profile.GmsaProfile = &gmsaProfile
+ } else {
+ profile.GmsaProfile = nil
+ }
+
+ // LicenseType
+ profile.LicenseType = genruntime.ClonePointerToString(source.LicenseType)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWindowsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWindowsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWindowsProfile_STATUS populates the provided destination ManagedClusterWindowsProfile_STATUS from our ManagedClusterWindowsProfile_STATUS
+func (profile *ManagedClusterWindowsProfile_STATUS) AssignProperties_To_ManagedClusterWindowsProfile_STATUS(destination *storage.ManagedClusterWindowsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AdminUsername
+ destination.AdminUsername = genruntime.ClonePointerToString(profile.AdminUsername)
+
+ // EnableCSIProxy
+ if profile.EnableCSIProxy != nil {
+ enableCSIProxy := *profile.EnableCSIProxy
+ destination.EnableCSIProxy = &enableCSIProxy
+ } else {
+ destination.EnableCSIProxy = nil
+ }
+
+ // GmsaProfile
+ if profile.GmsaProfile != nil {
+ var gmsaProfile storage.WindowsGmsaProfile_STATUS
+ err := profile.GmsaProfile.AssignProperties_To_WindowsGmsaProfile_STATUS(&gmsaProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_WindowsGmsaProfile_STATUS() to populate field GmsaProfile")
+ }
+ destination.GmsaProfile = &gmsaProfile
+ } else {
+ destination.GmsaProfile = nil
+ }
+
+ // LicenseType
+ destination.LicenseType = genruntime.ClonePointerToString(profile.LicenseType)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWindowsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWindowsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWorkloadAutoScalerProfile
+// Workload Auto-scaler profile for the managed cluster.
+type ManagedClusterWorkloadAutoScalerProfile struct {
+ Keda *ManagedClusterWorkloadAutoScalerProfileKeda `json:"keda,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ VerticalPodAutoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler `json:"verticalPodAutoscaler,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile populates our ManagedClusterWorkloadAutoScalerProfile from the provided source ManagedClusterWorkloadAutoScalerProfile
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile(source *storage.ManagedClusterWorkloadAutoScalerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Keda
+ if source.Keda != nil {
+ var kedum ManagedClusterWorkloadAutoScalerProfileKeda
+ err := kedum.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source.Keda)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
+ }
+ profile.Keda = &kedum
+ } else {
+ profile.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if source.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ err := verticalPodAutoscaler.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source.VerticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
+ }
+ profile.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ profile.VerticalPodAutoscaler = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile populates the provided destination ManagedClusterWorkloadAutoScalerProfile from our ManagedClusterWorkloadAutoScalerProfile
+func (profile *ManagedClusterWorkloadAutoScalerProfile) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile(destination *storage.ManagedClusterWorkloadAutoScalerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Keda
+ if profile.Keda != nil {
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda
+ err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(&kedum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda() to populate field Keda")
+ }
+ destination.Keda = &kedum
+ } else {
+ destination.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if profile.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+ err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(&verticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler() to populate field VerticalPodAutoscaler")
+ }
+ destination.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ destination.VerticalPodAutoscaler = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWorkloadAutoScalerProfile_STATUS
+// Workload Auto-scaler profile for the managed cluster.
+type ManagedClusterWorkloadAutoScalerProfile_STATUS struct {
+ Keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS `json:"keda,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ VerticalPodAutoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS `json:"verticalPodAutoscaler,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS populates our ManagedClusterWorkloadAutoScalerProfile_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfile_STATUS
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfile_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Keda
+ if source.Keda != nil {
+ var kedum ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ err := kedum.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source.Keda)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
+ }
+ profile.Keda = &kedum
+ } else {
+ profile.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if source.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ err := verticalPodAutoscaler.AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source.VerticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
+ }
+ profile.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ profile.VerticalPodAutoscaler = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfile_STATUS from our ManagedClusterWorkloadAutoScalerProfile_STATUS
+func (profile *ManagedClusterWorkloadAutoScalerProfile_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfile_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Keda
+ if profile.Keda != nil {
+ var kedum storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+ err := profile.Keda.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(&kedum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS() to populate field Keda")
+ }
+ destination.Keda = &kedum
+ } else {
+ destination.Keda = nil
+ }
+
+ // VerticalPodAutoscaler
+ if profile.VerticalPodAutoscaler != nil {
+ var verticalPodAutoscaler storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+ err := profile.VerticalPodAutoscaler.AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(&verticalPodAutoscaler)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS() to populate field VerticalPodAutoscaler")
+ }
+ destination.VerticalPodAutoscaler = &verticalPodAutoscaler
+ } else {
+ destination.VerticalPodAutoscaler = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.PowerState_STATUS
+// Describes the Power State of the cluster
+type PowerState_STATUS struct {
+ Code *string `json:"code,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_PowerState_STATUS populates our PowerState_STATUS from the provided source PowerState_STATUS
+func (state *PowerState_STATUS) AssignProperties_From_PowerState_STATUS(source *storage.PowerState_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Code
+ state.Code = genruntime.ClonePointerToString(source.Code)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ state.PropertyBag = propertyBag
+ } else {
+ state.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPowerState_STATUS interface (if implemented) to customize the conversion
+ var stateAsAny any = state
+ if augmentedState, ok := stateAsAny.(augmentConversionForPowerState_STATUS); ok {
+ err := augmentedState.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PowerState_STATUS populates the provided destination PowerState_STATUS from our PowerState_STATUS
+func (state *PowerState_STATUS) AssignProperties_To_PowerState_STATUS(destination *storage.PowerState_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(state.PropertyBag)
+
+ // Code
+ destination.Code = genruntime.ClonePointerToString(state.Code)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPowerState_STATUS interface (if implemented) to customize the conversion
+ var stateAsAny any = state
+ if augmentedState, ok := stateAsAny.(augmentConversionForPowerState_STATUS); ok {
+ err := augmentedState.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.PrivateLinkResource
+// A private link resource
+type PrivateLinkResource struct {
+ GroupId *string `json:"groupId,omitempty"`
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+
+ // Reference: The ID of the private link resource.
+ Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
+ RequiredMembers []string `json:"requiredMembers,omitempty"`
+ Type *string `json:"type,omitempty"`
+}
+
+// AssignProperties_From_PrivateLinkResource populates our PrivateLinkResource from the provided source PrivateLinkResource
+func (resource *PrivateLinkResource) AssignProperties_From_PrivateLinkResource(source *storage.PrivateLinkResource) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // GroupId
+ resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
+
+ // Name
+ resource.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Reference
+ if source.Reference != nil {
+ reference := source.Reference.Copy()
+ resource.Reference = &reference
+ } else {
+ resource.Reference = nil
+ }
+
+ // RequiredMembers
+ resource.RequiredMembers = genruntime.CloneSliceOfString(source.RequiredMembers)
+
+ // Type
+ resource.Type = genruntime.ClonePointerToString(source.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ resource.PropertyBag = propertyBag
+ } else {
+ resource.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPrivateLinkResource interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForPrivateLinkResource); ok {
+ err := augmentedResource.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PrivateLinkResource populates the provided destination PrivateLinkResource from our PrivateLinkResource
+func (resource *PrivateLinkResource) AssignProperties_To_PrivateLinkResource(destination *storage.PrivateLinkResource) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
+
+ // GroupId
+ destination.GroupId = genruntime.ClonePointerToString(resource.GroupId)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(resource.Name)
+
+ // Reference
+ if resource.Reference != nil {
+ reference := resource.Reference.Copy()
+ destination.Reference = &reference
+ } else {
+ destination.Reference = nil
+ }
+
+ // RequiredMembers
+ destination.RequiredMembers = genruntime.CloneSliceOfString(resource.RequiredMembers)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(resource.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPrivateLinkResource interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForPrivateLinkResource); ok {
+ err := augmentedResource.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.PrivateLinkResource_STATUS
+// A private link resource
+type PrivateLinkResource_STATUS struct {
+ GroupId *string `json:"groupId,omitempty"`
+ Id *string `json:"id,omitempty"`
+ Name *string `json:"name,omitempty"`
+ PrivateLinkServiceID *string `json:"privateLinkServiceID,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RequiredMembers []string `json:"requiredMembers,omitempty"`
+ Type *string `json:"type,omitempty"`
+}
+
+// AssignProperties_From_PrivateLinkResource_STATUS populates our PrivateLinkResource_STATUS from the provided source PrivateLinkResource_STATUS
+func (resource *PrivateLinkResource_STATUS) AssignProperties_From_PrivateLinkResource_STATUS(source *storage.PrivateLinkResource_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // GroupId
+ resource.GroupId = genruntime.ClonePointerToString(source.GroupId)
+
+ // Id
+ resource.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Name
+ resource.Name = genruntime.ClonePointerToString(source.Name)
+
+ // PrivateLinkServiceID
+ resource.PrivateLinkServiceID = genruntime.ClonePointerToString(source.PrivateLinkServiceID)
+
+ // RequiredMembers
+ resource.RequiredMembers = genruntime.CloneSliceOfString(source.RequiredMembers)
+
+ // Type
+ resource.Type = genruntime.ClonePointerToString(source.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ resource.PropertyBag = propertyBag
+ } else {
+ resource.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPrivateLinkResource_STATUS interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForPrivateLinkResource_STATUS); ok {
+ err := augmentedResource.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PrivateLinkResource_STATUS populates the provided destination PrivateLinkResource_STATUS from our PrivateLinkResource_STATUS
+func (resource *PrivateLinkResource_STATUS) AssignProperties_To_PrivateLinkResource_STATUS(destination *storage.PrivateLinkResource_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
+
+ // GroupId
+ destination.GroupId = genruntime.ClonePointerToString(resource.GroupId)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(resource.Id)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(resource.Name)
+
+ // PrivateLinkServiceID
+ destination.PrivateLinkServiceID = genruntime.ClonePointerToString(resource.PrivateLinkServiceID)
+
+ // RequiredMembers
+ destination.RequiredMembers = genruntime.CloneSliceOfString(resource.RequiredMembers)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(resource.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPrivateLinkResource_STATUS interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForPrivateLinkResource_STATUS); ok {
+ err := augmentedResource.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.SafeguardsProfile
+// The Safeguards profile.
+type SafeguardsProfile struct {
+ ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"`
+ Level *string `json:"level,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Version *string `json:"version,omitempty"`
+}
+
+// AssignProperties_From_SafeguardsProfile populates our SafeguardsProfile from the provided source SafeguardsProfile
+func (profile *SafeguardsProfile) AssignProperties_From_SafeguardsProfile(source *storage.SafeguardsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ExcludedNamespaces
+ profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
+
+ // Level
+ profile.Level = genruntime.ClonePointerToString(source.Level)
+
+ // Version
+ profile.Version = genruntime.ClonePointerToString(source.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSafeguardsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForSafeguardsProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SafeguardsProfile populates the provided destination SafeguardsProfile from our SafeguardsProfile
+func (profile *SafeguardsProfile) AssignProperties_To_SafeguardsProfile(destination *storage.SafeguardsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // ExcludedNamespaces
+ destination.ExcludedNamespaces = genruntime.CloneSliceOfString(profile.ExcludedNamespaces)
+
+ // Level
+ destination.Level = genruntime.ClonePointerToString(profile.Level)
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(profile.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSafeguardsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForSafeguardsProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.SafeguardsProfile_STATUS
+// The Safeguards profile.
+type SafeguardsProfile_STATUS struct {
+ ExcludedNamespaces []string `json:"excludedNamespaces,omitempty"`
+ Level *string `json:"level,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SystemExcludedNamespaces []string `json:"systemExcludedNamespaces,omitempty"`
+ Version *string `json:"version,omitempty"`
+}
+
+// AssignProperties_From_SafeguardsProfile_STATUS populates our SafeguardsProfile_STATUS from the provided source SafeguardsProfile_STATUS
+func (profile *SafeguardsProfile_STATUS) AssignProperties_From_SafeguardsProfile_STATUS(source *storage.SafeguardsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ExcludedNamespaces
+ profile.ExcludedNamespaces = genruntime.CloneSliceOfString(source.ExcludedNamespaces)
+
+ // Level
+ profile.Level = genruntime.ClonePointerToString(source.Level)
+
+ // SystemExcludedNamespaces
+ profile.SystemExcludedNamespaces = genruntime.CloneSliceOfString(source.SystemExcludedNamespaces)
+
+ // Version
+ profile.Version = genruntime.ClonePointerToString(source.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSafeguardsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForSafeguardsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SafeguardsProfile_STATUS populates the provided destination SafeguardsProfile_STATUS from our SafeguardsProfile_STATUS
+func (profile *SafeguardsProfile_STATUS) AssignProperties_To_SafeguardsProfile_STATUS(destination *storage.SafeguardsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // ExcludedNamespaces
+ destination.ExcludedNamespaces = genruntime.CloneSliceOfString(profile.ExcludedNamespaces)
+
+ // Level
+ destination.Level = genruntime.ClonePointerToString(profile.Level)
+
+ // SystemExcludedNamespaces
+ destination.SystemExcludedNamespaces = genruntime.CloneSliceOfString(profile.SystemExcludedNamespaces)
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(profile.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSafeguardsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForSafeguardsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ServiceMeshProfile
+// Service mesh profile for a managed cluster.
+type ServiceMeshProfile struct {
+ Istio *IstioServiceMesh `json:"istio,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ServiceMeshProfile populates our ServiceMeshProfile from the provided source ServiceMeshProfile
+func (profile *ServiceMeshProfile) AssignProperties_From_ServiceMeshProfile(source *storage.ServiceMeshProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Istio
+ if source.Istio != nil {
+ var istio IstioServiceMesh
+ err := istio.AssignProperties_From_IstioServiceMesh(source.Istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioServiceMesh() to populate field Istio")
+ }
+ profile.Istio = &istio
+ } else {
+ profile.Istio = nil
+ }
+
+ // Mode
+ profile.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForServiceMeshProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForServiceMeshProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ServiceMeshProfile populates the provided destination ServiceMeshProfile from our ServiceMeshProfile
+func (profile *ServiceMeshProfile) AssignProperties_To_ServiceMeshProfile(destination *storage.ServiceMeshProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Istio
+ if profile.Istio != nil {
+ var istio storage.IstioServiceMesh
+ err := profile.Istio.AssignProperties_To_IstioServiceMesh(&istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh() to populate field Istio")
+ }
+ destination.Istio = &istio
+ } else {
+ destination.Istio = nil
+ }
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(profile.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForServiceMeshProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForServiceMeshProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ServiceMeshProfile_STATUS
+// Service mesh profile for a managed cluster.
+type ServiceMeshProfile_STATUS struct {
+ Istio *IstioServiceMesh_STATUS `json:"istio,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ServiceMeshProfile_STATUS populates our ServiceMeshProfile_STATUS from the provided source ServiceMeshProfile_STATUS
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_From_ServiceMeshProfile_STATUS(source *storage.ServiceMeshProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Istio
+ if source.Istio != nil {
+ var istio IstioServiceMesh_STATUS
+ err := istio.AssignProperties_From_IstioServiceMesh_STATUS(source.Istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioServiceMesh_STATUS() to populate field Istio")
+ }
+ profile.Istio = &istio
+ } else {
+ profile.Istio = nil
+ }
+
+ // Mode
+ profile.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForServiceMeshProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForServiceMeshProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ServiceMeshProfile_STATUS populates the provided destination ServiceMeshProfile_STATUS from our ServiceMeshProfile_STATUS
+func (profile *ServiceMeshProfile_STATUS) AssignProperties_To_ServiceMeshProfile_STATUS(destination *storage.ServiceMeshProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Istio
+ if profile.Istio != nil {
+ var istio storage.IstioServiceMesh_STATUS
+ err := profile.Istio.AssignProperties_To_IstioServiceMesh_STATUS(&istio)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioServiceMesh_STATUS() to populate field Istio")
+ }
+ destination.Istio = &istio
+ } else {
+ destination.Istio = nil
+ }
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(profile.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForServiceMeshProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForServiceMeshProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.SystemData_STATUS
+// Metadata pertaining to creation and last modification of the resource.
+type SystemData_STATUS struct {
+ CreatedAt *string `json:"createdAt,omitempty"`
+ CreatedBy *string `json:"createdBy,omitempty"`
+ CreatedByType *string `json:"createdByType,omitempty"`
+ LastModifiedAt *string `json:"lastModifiedAt,omitempty"`
+ LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
+ LastModifiedByType *string `json:"lastModifiedByType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CreatedAt
+ data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
+
+ // CreatedBy
+ data.CreatedBy = genruntime.ClonePointerToString(source.CreatedBy)
+
+ // CreatedByType
+ data.CreatedByType = genruntime.ClonePointerToString(source.CreatedByType)
+
+ // LastModifiedAt
+ data.LastModifiedAt = genruntime.ClonePointerToString(source.LastModifiedAt)
+
+ // LastModifiedBy
+ data.LastModifiedBy = genruntime.ClonePointerToString(source.LastModifiedBy)
+
+ // LastModifiedByType
+ data.LastModifiedByType = genruntime.ClonePointerToString(source.LastModifiedByType)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ data.PropertyBag = propertyBag
+ } else {
+ data.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSystemData_STATUS interface (if implemented) to customize the conversion
+ var dataAsAny any = data
+ if augmentedData, ok := dataAsAny.(augmentConversionForSystemData_STATUS); ok {
+ err := augmentedData.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(data.PropertyBag)
+
+ // CreatedAt
+ destination.CreatedAt = genruntime.ClonePointerToString(data.CreatedAt)
+
+ // CreatedBy
+ destination.CreatedBy = genruntime.ClonePointerToString(data.CreatedBy)
+
+ // CreatedByType
+ destination.CreatedByType = genruntime.ClonePointerToString(data.CreatedByType)
+
+ // LastModifiedAt
+ destination.LastModifiedAt = genruntime.ClonePointerToString(data.LastModifiedAt)
+
+ // LastModifiedBy
+ destination.LastModifiedBy = genruntime.ClonePointerToString(data.LastModifiedBy)
+
+ // LastModifiedByType
+ destination.LastModifiedByType = genruntime.ClonePointerToString(data.LastModifiedByType)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSystemData_STATUS interface (if implemented) to customize the conversion
+ var dataAsAny any = data
+ if augmentedData, ok := dataAsAny.(augmentConversionForSystemData_STATUS); ok {
+ err := augmentedData.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.UserAssignedIdentity
+// Details about a user assigned identity.
+type UserAssignedIdentity struct {
+ ClientId *string `json:"clientId,omitempty"`
+ ObjectId *string `json:"objectId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+
+ // ResourceReference: The resource ID of the user assigned identity.
+ ResourceReference *genruntime.ResourceReference `armReference:"ResourceId" json:"resourceReference,omitempty"`
+}
+
+// AssignProperties_From_UserAssignedIdentity populates our UserAssignedIdentity from the provided source UserAssignedIdentity
+func (identity *UserAssignedIdentity) AssignProperties_From_UserAssignedIdentity(source *storage.UserAssignedIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ClientId
+ identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // ObjectId
+ identity.ObjectId = genruntime.ClonePointerToString(source.ObjectId)
+
+ // ResourceReference
+ if source.ResourceReference != nil {
+ resourceReference := source.ResourceReference.Copy()
+ identity.ResourceReference = &resourceReference
+ } else {
+ identity.ResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUserAssignedIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForUserAssignedIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UserAssignedIdentity populates the provided destination UserAssignedIdentity from our UserAssignedIdentity
+func (identity *UserAssignedIdentity) AssignProperties_To_UserAssignedIdentity(destination *storage.UserAssignedIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(identity.ClientId)
+
+ // ObjectId
+ destination.ObjectId = genruntime.ClonePointerToString(identity.ObjectId)
+
+ // ResourceReference
+ if identity.ResourceReference != nil {
+ resourceReference := identity.ResourceReference.Copy()
+ destination.ResourceReference = &resourceReference
+ } else {
+ destination.ResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUserAssignedIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForUserAssignedIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.UserAssignedIdentity_STATUS
+// Details about a user assigned identity.
+type UserAssignedIdentity_STATUS struct {
+ ClientId *string `json:"clientId,omitempty"`
+ ObjectId *string `json:"objectId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ResourceId *string `json:"resourceId,omitempty"`
+}
+
+// AssignProperties_From_UserAssignedIdentity_STATUS populates our UserAssignedIdentity_STATUS from the provided source UserAssignedIdentity_STATUS
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_From_UserAssignedIdentity_STATUS(source *storage.UserAssignedIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ClientId
+ identity.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // ObjectId
+ identity.ObjectId = genruntime.ClonePointerToString(source.ObjectId)
+
+ // ResourceId
+ identity.ResourceId = genruntime.ClonePointerToString(source.ResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUserAssignedIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForUserAssignedIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UserAssignedIdentity_STATUS populates the provided destination UserAssignedIdentity_STATUS from our UserAssignedIdentity_STATUS
+func (identity *UserAssignedIdentity_STATUS) AssignProperties_To_UserAssignedIdentity_STATUS(destination *storage.UserAssignedIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(identity.ClientId)
+
+ // ObjectId
+ destination.ObjectId = genruntime.ClonePointerToString(identity.ObjectId)
+
+ // ResourceId
+ destination.ResourceId = genruntime.ClonePointerToString(identity.ResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUserAssignedIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForUserAssignedIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AdvancedNetworking
+// Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may
+// incur additional costs. For more information see aka.ms/aksadvancednetworking.
+type AdvancedNetworking struct {
+ Observability *AdvancedNetworkingObservability `json:"observability,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.AdvancedNetworking_STATUS
+// Advanced Networking profile for enabling observability on a cluster. Note that enabling advanced networking features may
+// incur additional costs. For more information see aka.ms/aksadvancednetworking.
+type AdvancedNetworking_STATUS struct {
+ Observability *AdvancedNetworkingObservability_STATUS `json:"observability,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+type augmentConversionForClusterUpgradeSettings interface {
+ AssignPropertiesFrom(src *storage.ClusterUpgradeSettings) error
+ AssignPropertiesTo(dst *storage.ClusterUpgradeSettings) error
+}
+
+type augmentConversionForClusterUpgradeSettings_STATUS interface {
+ AssignPropertiesFrom(src *storage.ClusterUpgradeSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.ClusterUpgradeSettings_STATUS) error
+}
+
+type augmentConversionForContainerServiceLinuxProfile interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceLinuxProfile) error
+ AssignPropertiesTo(dst *storage.ContainerServiceLinuxProfile) error
+}
+
+type augmentConversionForContainerServiceLinuxProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceLinuxProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceLinuxProfile_STATUS) error
+}
+
+type augmentConversionForContainerServiceNetworkProfile interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile) error
+}
+
+type augmentConversionForContainerServiceNetworkProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_STATUS) error
+}
+
+type augmentConversionForCreationData interface {
+ AssignPropertiesFrom(src *storage.CreationData) error
+ AssignPropertiesTo(dst *storage.CreationData) error
+}
+
+type augmentConversionForCreationData_STATUS interface {
+ AssignPropertiesFrom(src *storage.CreationData_STATUS) error
+ AssignPropertiesTo(dst *storage.CreationData_STATUS) error
+}
+
+type augmentConversionForExtendedLocation interface {
+ AssignPropertiesFrom(src *storage.ExtendedLocation) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation) error
+}
+
+type augmentConversionForExtendedLocation_STATUS interface {
+ AssignPropertiesFrom(src *storage.ExtendedLocation_STATUS) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation_STATUS) error
+}
+
+type augmentConversionForManagedClusterAADProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAADProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAADProfile) error
+}
+
+type augmentConversionForManagedClusterAADProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAADProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAADProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterAddonProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAddonProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAddonProfile) error
+}
+
+type augmentConversionForManagedClusterAddonProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAddonProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAddonProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterAgentPoolProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAgentPoolProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAgentPoolProfile) error
+}
+
+type augmentConversionForManagedClusterAgentPoolProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAgentPoolProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAgentPoolProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterAIToolchainOperatorProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAIToolchainOperatorProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAIToolchainOperatorProfile) error
+}
+
+type augmentConversionForManagedClusterAIToolchainOperatorProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAIToolchainOperatorProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterAPIServerAccessProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAPIServerAccessProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAPIServerAccessProfile) error
+}
+
+type augmentConversionForManagedClusterAPIServerAccessProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAPIServerAccessProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAPIServerAccessProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterAutoUpgradeProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAutoUpgradeProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAutoUpgradeProfile) error
+}
+
+type augmentConversionForManagedClusterAutoUpgradeProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAutoUpgradeProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAutoUpgradeProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfile) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterHTTPProxyConfig interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterHTTPProxyConfig) error
+ AssignPropertiesTo(dst *storage.ManagedClusterHTTPProxyConfig) error
+}
+
+type augmentConversionForManagedClusterHTTPProxyConfig_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterHTTPProxyConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterHTTPProxyConfig_STATUS) error
+}
+
+type augmentConversionForManagedClusterIdentity interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity) error
+}
+
+type augmentConversionForManagedClusterIdentity_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity_STATUS) error
+}
+
+type augmentConversionForManagedClusterIngressProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIngressProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIngressProfile) error
+}
+
+type augmentConversionForManagedClusterIngressProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIngressProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIngressProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterMetricsProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterMetricsProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterMetricsProfile) error
+}
+
+type augmentConversionForManagedClusterMetricsProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterMetricsProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterMetricsProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterNodeProvisioningProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterNodeProvisioningProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNodeProvisioningProfile) error
+}
+
+type augmentConversionForManagedClusterNodeProvisioningProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterNodeProvisioningProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNodeProvisioningProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterNodeResourceGroupProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterNodeResourceGroupProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNodeResourceGroupProfile) error
+}
+
+type augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNodeResourceGroupProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterOIDCIssuerProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterOIDCIssuerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOIDCIssuerProfile) error
+}
+
+type augmentConversionForManagedClusterOIDCIssuerProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterOIDCIssuerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOIDCIssuerProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterOperatorSpec interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorSpec) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorSpec) error
+}
+
+type augmentConversionForManagedClusterPodIdentityProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProfile) error
+}
+
+type augmentConversionForManagedClusterPodIdentityProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterProperties_AutoScalerProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterProperties_AutoScalerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterProperties_AutoScalerProfile) error
+}
+
+type augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterProperties_AutoScalerProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfile) error
+}
+
+type augmentConversionForManagedClusterSecurityProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterServicePrincipalProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterServicePrincipalProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterServicePrincipalProfile) error
+}
+
+type augmentConversionForManagedClusterServicePrincipalProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterServicePrincipalProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterServicePrincipalProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterSKU interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSKU) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSKU) error
+}
+
+type augmentConversionForManagedClusterSKU_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSKU_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSKU_STATUS) error
+}
+
+type augmentConversionForManagedClusterStorageProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfile) error
+}
+
+type augmentConversionForManagedClusterStorageProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterWindowsProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWindowsProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWindowsProfile) error
+}
+
+type augmentConversionForManagedClusterWindowsProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWindowsProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWindowsProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterWorkloadAutoScalerProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfile) error
+}
+
+type augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfile_STATUS) error
+}
+
+type augmentConversionForPowerState_STATUS interface {
+ AssignPropertiesFrom(src *storage.PowerState_STATUS) error
+ AssignPropertiesTo(dst *storage.PowerState_STATUS) error
+}
+
+type augmentConversionForPrivateLinkResource interface {
+ AssignPropertiesFrom(src *storage.PrivateLinkResource) error
+ AssignPropertiesTo(dst *storage.PrivateLinkResource) error
+}
+
+type augmentConversionForPrivateLinkResource_STATUS interface {
+ AssignPropertiesFrom(src *storage.PrivateLinkResource_STATUS) error
+ AssignPropertiesTo(dst *storage.PrivateLinkResource_STATUS) error
+}
+
+type augmentConversionForSafeguardsProfile interface {
+ AssignPropertiesFrom(src *storage.SafeguardsProfile) error
+ AssignPropertiesTo(dst *storage.SafeguardsProfile) error
+}
+
+type augmentConversionForSafeguardsProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.SafeguardsProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.SafeguardsProfile_STATUS) error
+}
+
+type augmentConversionForServiceMeshProfile interface {
+ AssignPropertiesFrom(src *storage.ServiceMeshProfile) error
+ AssignPropertiesTo(dst *storage.ServiceMeshProfile) error
+}
+
+type augmentConversionForServiceMeshProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ServiceMeshProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ServiceMeshProfile_STATUS) error
+}
+
+type augmentConversionForSystemData_STATUS interface {
+ AssignPropertiesFrom(src *storage.SystemData_STATUS) error
+ AssignPropertiesTo(dst *storage.SystemData_STATUS) error
+}
+
+type augmentConversionForUserAssignedIdentity interface {
+ AssignPropertiesFrom(src *storage.UserAssignedIdentity) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentity) error
+}
+
+type augmentConversionForUserAssignedIdentity_STATUS interface {
+ AssignPropertiesFrom(src *storage.UserAssignedIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentity_STATUS) error
+}
+
+// Storage version of v1api20240402preview.AzureKeyVaultKms
+// Azure Key Vault key management service settings for the security profile.
+type AzureKeyVaultKms struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ KeyId *string `json:"keyId,omitempty"`
+ KeyVaultNetworkAccess *string `json:"keyVaultNetworkAccess,omitempty"`
+
+ // KeyVaultResourceReference: Resource ID of key vault. When keyVaultNetworkAccess is `Private`, this field is required and
+ // must be a valid resource ID. When keyVaultNetworkAccess is `Public`, leave the field empty.
+ KeyVaultResourceReference *genruntime.ResourceReference `armReference:"KeyVaultResourceId" json:"keyVaultResourceReference,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AzureKeyVaultKms populates our AzureKeyVaultKms from the provided source AzureKeyVaultKms
+func (vaultKms *AzureKeyVaultKms) AssignProperties_From_AzureKeyVaultKms(source *storage.AzureKeyVaultKms) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ vaultKms.Enabled = &enabled
+ } else {
+ vaultKms.Enabled = nil
+ }
+
+ // KeyId
+ vaultKms.KeyId = genruntime.ClonePointerToString(source.KeyId)
+
+ // KeyVaultNetworkAccess
+ vaultKms.KeyVaultNetworkAccess = genruntime.ClonePointerToString(source.KeyVaultNetworkAccess)
+
+ // KeyVaultResourceReference
+ if source.KeyVaultResourceReference != nil {
+ keyVaultResourceReference := source.KeyVaultResourceReference.Copy()
+ vaultKms.KeyVaultResourceReference = &keyVaultResourceReference
+ } else {
+ vaultKms.KeyVaultResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ vaultKms.PropertyBag = propertyBag
+ } else {
+ vaultKms.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAzureKeyVaultKms interface (if implemented) to customize the conversion
+ var vaultKmsAsAny any = vaultKms
+ if augmentedVaultKms, ok := vaultKmsAsAny.(augmentConversionForAzureKeyVaultKms); ok {
+ err := augmentedVaultKms.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AzureKeyVaultKms populates the provided destination AzureKeyVaultKms from our AzureKeyVaultKms
+func (vaultKms *AzureKeyVaultKms) AssignProperties_To_AzureKeyVaultKms(destination *storage.AzureKeyVaultKms) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(vaultKms.PropertyBag)
+
+ // Enabled
+ if vaultKms.Enabled != nil {
+ enabled := *vaultKms.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KeyId
+ destination.KeyId = genruntime.ClonePointerToString(vaultKms.KeyId)
+
+ // KeyVaultNetworkAccess
+ destination.KeyVaultNetworkAccess = genruntime.ClonePointerToString(vaultKms.KeyVaultNetworkAccess)
+
+ // KeyVaultResourceReference
+ if vaultKms.KeyVaultResourceReference != nil {
+ keyVaultResourceReference := vaultKms.KeyVaultResourceReference.Copy()
+ destination.KeyVaultResourceReference = &keyVaultResourceReference
+ } else {
+ destination.KeyVaultResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAzureKeyVaultKms interface (if implemented) to customize the conversion
+ var vaultKmsAsAny any = vaultKms
+ if augmentedVaultKms, ok := vaultKmsAsAny.(augmentConversionForAzureKeyVaultKms); ok {
+ err := augmentedVaultKms.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AzureKeyVaultKms_STATUS
+// Azure Key Vault key management service settings for the security profile.
+type AzureKeyVaultKms_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ KeyId *string `json:"keyId,omitempty"`
+ KeyVaultNetworkAccess *string `json:"keyVaultNetworkAccess,omitempty"`
+ KeyVaultResourceId *string `json:"keyVaultResourceId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AzureKeyVaultKms_STATUS populates our AzureKeyVaultKms_STATUS from the provided source AzureKeyVaultKms_STATUS
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_From_AzureKeyVaultKms_STATUS(source *storage.AzureKeyVaultKms_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ vaultKms.Enabled = &enabled
+ } else {
+ vaultKms.Enabled = nil
+ }
+
+ // KeyId
+ vaultKms.KeyId = genruntime.ClonePointerToString(source.KeyId)
+
+ // KeyVaultNetworkAccess
+ vaultKms.KeyVaultNetworkAccess = genruntime.ClonePointerToString(source.KeyVaultNetworkAccess)
+
+ // KeyVaultResourceId
+ vaultKms.KeyVaultResourceId = genruntime.ClonePointerToString(source.KeyVaultResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ vaultKms.PropertyBag = propertyBag
+ } else {
+ vaultKms.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAzureKeyVaultKms_STATUS interface (if implemented) to customize the conversion
+ var vaultKmsAsAny any = vaultKms
+ if augmentedVaultKms, ok := vaultKmsAsAny.(augmentConversionForAzureKeyVaultKms_STATUS); ok {
+ err := augmentedVaultKms.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AzureKeyVaultKms_STATUS populates the provided destination AzureKeyVaultKms_STATUS from our AzureKeyVaultKms_STATUS
+func (vaultKms *AzureKeyVaultKms_STATUS) AssignProperties_To_AzureKeyVaultKms_STATUS(destination *storage.AzureKeyVaultKms_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(vaultKms.PropertyBag)
+
+ // Enabled
+ if vaultKms.Enabled != nil {
+ enabled := *vaultKms.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KeyId
+ destination.KeyId = genruntime.ClonePointerToString(vaultKms.KeyId)
+
+ // KeyVaultNetworkAccess
+ destination.KeyVaultNetworkAccess = genruntime.ClonePointerToString(vaultKms.KeyVaultNetworkAccess)
+
+ // KeyVaultResourceId
+ destination.KeyVaultResourceId = genruntime.ClonePointerToString(vaultKms.KeyVaultResourceId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAzureKeyVaultKms_STATUS interface (if implemented) to customize the conversion
+ var vaultKmsAsAny any = vaultKms
+ if augmentedVaultKms, ok := vaultKmsAsAny.(augmentConversionForAzureKeyVaultKms_STATUS); ok {
+ err := augmentedVaultKms.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceNetworkProfile_KubeProxyConfig
+type ContainerServiceNetworkProfile_KubeProxyConfig struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ IpvsConfig *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig `json:"ipvsConfig,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ config.Enabled = &enabled
+ } else {
+ config.Enabled = nil
+ }
+
+ // IpvsConfig
+ if source.IpvsConfig != nil {
+ var ipvsConfig ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ err := ipvsConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source.IpvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig() to populate field IpvsConfig")
+ }
+ config.IpvsConfig = &ipvsConfig
+ } else {
+ config.IpvsConfig = nil
+ }
+
+ // Mode
+ config.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig from our ContainerServiceNetworkProfile_KubeProxyConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // Enabled
+ if config.Enabled != nil {
+ enabled := *config.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IpvsConfig
+ if config.IpvsConfig != nil {
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+ err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(&ipvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig() to populate field IpvsConfig")
+ }
+ destination.IpvsConfig = &ipvsConfig
+ } else {
+ destination.IpvsConfig = nil
+ }
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(config.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+type ContainerServiceNetworkProfile_KubeProxyConfig_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ IpvsConfig *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS `json:"ipvsConfig,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ config.Enabled = &enabled
+ } else {
+ config.Enabled = nil
+ }
+
+ // IpvsConfig
+ if source.IpvsConfig != nil {
+ var ipvsConfig ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ err := ipvsConfig.AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source.IpvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS() to populate field IpvsConfig")
+ }
+ config.IpvsConfig = &ipvsConfig
+ } else {
+ config.IpvsConfig = nil
+ }
+
+ // Mode
+ config.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // Enabled
+ if config.Enabled != nil {
+ enabled := *config.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IpvsConfig
+ if config.IpvsConfig != nil {
+ var ipvsConfig storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+ err := config.IpvsConfig.AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(&ipvsConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS() to populate field IpvsConfig")
+ }
+ destination.IpvsConfig = &ipvsConfig
+ } else {
+ destination.IpvsConfig = nil
+ }
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(config.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceSshConfiguration
+// SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSshConfiguration struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicKeys []ContainerServiceSshPublicKey `json:"publicKeys,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceSshConfiguration populates our ContainerServiceSshConfiguration from the provided source ContainerServiceSshConfiguration
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_From_ContainerServiceSshConfiguration(source *storage.ContainerServiceSshConfiguration) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PublicKeys
+ if source.PublicKeys != nil {
+ publicKeyList := make([]ContainerServiceSshPublicKey, len(source.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range source.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey ContainerServiceSshPublicKey
+ err := publicKey.AssignProperties_From_ContainerServiceSshPublicKey(&publicKeyItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshPublicKey() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ configuration.PublicKeys = publicKeyList
+ } else {
+ configuration.PublicKeys = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ configuration.PropertyBag = propertyBag
+ } else {
+ configuration.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshConfiguration interface (if implemented) to customize the conversion
+ var configurationAsAny any = configuration
+ if augmentedConfiguration, ok := configurationAsAny.(augmentConversionForContainerServiceSshConfiguration); ok {
+ err := augmentedConfiguration.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshConfiguration populates the provided destination ContainerServiceSshConfiguration from our ContainerServiceSshConfiguration
+func (configuration *ContainerServiceSshConfiguration) AssignProperties_To_ContainerServiceSshConfiguration(destination *storage.ContainerServiceSshConfiguration) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(configuration.PropertyBag)
+
+ // PublicKeys
+ if configuration.PublicKeys != nil {
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey, len(configuration.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey storage.ContainerServiceSshPublicKey
+ err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey(&publicKey)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ destination.PublicKeys = publicKeyList
+ } else {
+ destination.PublicKeys = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshConfiguration interface (if implemented) to customize the conversion
+ var configurationAsAny any = configuration
+ if augmentedConfiguration, ok := configurationAsAny.(augmentConversionForContainerServiceSshConfiguration); ok {
+ err := augmentedConfiguration.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceSshConfiguration_STATUS
+// SSH configuration for Linux-based VMs running on Azure.
+type ContainerServiceSshConfiguration_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicKeys []ContainerServiceSshPublicKey_STATUS `json:"publicKeys,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceSshConfiguration_STATUS populates our ContainerServiceSshConfiguration_STATUS from the provided source ContainerServiceSshConfiguration_STATUS
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_From_ContainerServiceSshConfiguration_STATUS(source *storage.ContainerServiceSshConfiguration_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PublicKeys
+ if source.PublicKeys != nil {
+ publicKeyList := make([]ContainerServiceSshPublicKey_STATUS, len(source.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range source.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey ContainerServiceSshPublicKey_STATUS
+ err := publicKey.AssignProperties_From_ContainerServiceSshPublicKey_STATUS(&publicKeyItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ configuration.PublicKeys = publicKeyList
+ } else {
+ configuration.PublicKeys = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ configuration.PropertyBag = propertyBag
+ } else {
+ configuration.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshConfiguration_STATUS interface (if implemented) to customize the conversion
+ var configurationAsAny any = configuration
+ if augmentedConfiguration, ok := configurationAsAny.(augmentConversionForContainerServiceSshConfiguration_STATUS); ok {
+ err := augmentedConfiguration.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshConfiguration_STATUS populates the provided destination ContainerServiceSshConfiguration_STATUS from our ContainerServiceSshConfiguration_STATUS
+func (configuration *ContainerServiceSshConfiguration_STATUS) AssignProperties_To_ContainerServiceSshConfiguration_STATUS(destination *storage.ContainerServiceSshConfiguration_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(configuration.PropertyBag)
+
+ // PublicKeys
+ if configuration.PublicKeys != nil {
+ publicKeyList := make([]storage.ContainerServiceSshPublicKey_STATUS, len(configuration.PublicKeys))
+ for publicKeyIndex, publicKeyItem := range configuration.PublicKeys {
+ // Shadow the loop variable to avoid aliasing
+ publicKeyItem := publicKeyItem
+ var publicKey storage.ContainerServiceSshPublicKey_STATUS
+ err := publicKeyItem.AssignProperties_To_ContainerServiceSshPublicKey_STATUS(&publicKey)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ContainerServiceSshPublicKey_STATUS() to populate field PublicKeys")
+ }
+ publicKeyList[publicKeyIndex] = publicKey
+ }
+ destination.PublicKeys = publicKeyList
+ } else {
+ destination.PublicKeys = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshConfiguration_STATUS interface (if implemented) to customize the conversion
+ var configurationAsAny any = configuration
+ if augmentedConfiguration, ok := configurationAsAny.(augmentConversionForContainerServiceSshConfiguration_STATUS); ok {
+ err := augmentedConfiguration.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.DelegatedResource
+// Delegated resource properties - internal use only.
+type DelegatedResource struct {
+ Location *string `json:"location,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ReferralResource *string `json:"referralResource,omitempty"`
+
+ // ResourceReference: The ARM resource id of the delegated resource - internal use only.
+ ResourceReference *genruntime.ResourceReference `armReference:"ResourceId" json:"resourceReference,omitempty"`
+ TenantId *string `json:"tenantId,omitempty"`
+}
+
+// AssignProperties_From_DelegatedResource populates our DelegatedResource from the provided source DelegatedResource
+func (resource *DelegatedResource) AssignProperties_From_DelegatedResource(source *storage.DelegatedResource) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Location
+ resource.Location = genruntime.ClonePointerToString(source.Location)
+
+ // ReferralResource
+ resource.ReferralResource = genruntime.ClonePointerToString(source.ReferralResource)
+
+ // ResourceReference
+ if source.ResourceReference != nil {
+ resourceReference := source.ResourceReference.Copy()
+ resource.ResourceReference = &resourceReference
+ } else {
+ resource.ResourceReference = nil
+ }
+
+ // TenantId
+ resource.TenantId = genruntime.ClonePointerToString(source.TenantId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ resource.PropertyBag = propertyBag
+ } else {
+ resource.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForDelegatedResource interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForDelegatedResource); ok {
+ err := augmentedResource.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_DelegatedResource populates the provided destination DelegatedResource from our DelegatedResource
+func (resource *DelegatedResource) AssignProperties_To_DelegatedResource(destination *storage.DelegatedResource) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(resource.Location)
+
+ // ReferralResource
+ destination.ReferralResource = genruntime.ClonePointerToString(resource.ReferralResource)
+
+ // ResourceReference
+ if resource.ResourceReference != nil {
+ resourceReference := resource.ResourceReference.Copy()
+ destination.ResourceReference = &resourceReference
+ } else {
+ destination.ResourceReference = nil
+ }
+
+ // TenantId
+ destination.TenantId = genruntime.ClonePointerToString(resource.TenantId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForDelegatedResource interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForDelegatedResource); ok {
+ err := augmentedResource.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.DelegatedResource_STATUS
+// Delegated resource properties - internal use only.
+type DelegatedResource_STATUS struct {
+ Location *string `json:"location,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ReferralResource *string `json:"referralResource,omitempty"`
+ ResourceId *string `json:"resourceId,omitempty"`
+ TenantId *string `json:"tenantId,omitempty"`
+}
+
+// AssignProperties_From_DelegatedResource_STATUS populates our DelegatedResource_STATUS from the provided source DelegatedResource_STATUS
+func (resource *DelegatedResource_STATUS) AssignProperties_From_DelegatedResource_STATUS(source *storage.DelegatedResource_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Location
+ resource.Location = genruntime.ClonePointerToString(source.Location)
+
+ // ReferralResource
+ resource.ReferralResource = genruntime.ClonePointerToString(source.ReferralResource)
+
+ // ResourceId
+ resource.ResourceId = genruntime.ClonePointerToString(source.ResourceId)
+
+ // TenantId
+ resource.TenantId = genruntime.ClonePointerToString(source.TenantId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ resource.PropertyBag = propertyBag
+ } else {
+ resource.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForDelegatedResource_STATUS interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForDelegatedResource_STATUS); ok {
+ err := augmentedResource.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_DelegatedResource_STATUS populates the provided destination DelegatedResource_STATUS from our DelegatedResource_STATUS
+func (resource *DelegatedResource_STATUS) AssignProperties_To_DelegatedResource_STATUS(destination *storage.DelegatedResource_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(resource.PropertyBag)
+
+ // Location
+ destination.Location = genruntime.ClonePointerToString(resource.Location)
+
+ // ReferralResource
+ destination.ReferralResource = genruntime.ClonePointerToString(resource.ReferralResource)
+
+ // ResourceId
+ destination.ResourceId = genruntime.ClonePointerToString(resource.ResourceId)
+
+ // TenantId
+ destination.TenantId = genruntime.ClonePointerToString(resource.TenantId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForDelegatedResource_STATUS interface (if implemented) to customize the conversion
+ var resourceAsAny any = resource
+ if augmentedResource, ok := resourceAsAny.(augmentConversionForDelegatedResource_STATUS); ok {
+ err := augmentedResource.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioServiceMesh
+// Istio service mesh configuration.
+type IstioServiceMesh struct {
+ CertificateAuthority *IstioCertificateAuthority `json:"certificateAuthority,omitempty"`
+ Components *IstioComponents `json:"components,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Revisions []string `json:"revisions,omitempty"`
+}
+
+// AssignProperties_From_IstioServiceMesh populates our IstioServiceMesh from the provided source IstioServiceMesh
+func (mesh *IstioServiceMesh) AssignProperties_From_IstioServiceMesh(source *storage.IstioServiceMesh) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CertificateAuthority
+ if source.CertificateAuthority != nil {
+ var certificateAuthority IstioCertificateAuthority
+ err := certificateAuthority.AssignProperties_From_IstioCertificateAuthority(source.CertificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioCertificateAuthority() to populate field CertificateAuthority")
+ }
+ mesh.CertificateAuthority = &certificateAuthority
+ } else {
+ mesh.CertificateAuthority = nil
+ }
+
+ // Components
+ if source.Components != nil {
+ var component IstioComponents
+ err := component.AssignProperties_From_IstioComponents(source.Components)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioComponents() to populate field Components")
+ }
+ mesh.Components = &component
+ } else {
+ mesh.Components = nil
+ }
+
+ // Revisions
+ mesh.Revisions = genruntime.CloneSliceOfString(source.Revisions)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ mesh.PropertyBag = propertyBag
+ } else {
+ mesh.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioServiceMesh interface (if implemented) to customize the conversion
+ var meshAsAny any = mesh
+ if augmentedMesh, ok := meshAsAny.(augmentConversionForIstioServiceMesh); ok {
+ err := augmentedMesh.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioServiceMesh populates the provided destination IstioServiceMesh from our IstioServiceMesh
+func (mesh *IstioServiceMesh) AssignProperties_To_IstioServiceMesh(destination *storage.IstioServiceMesh) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(mesh.PropertyBag)
+
+ // CertificateAuthority
+ if mesh.CertificateAuthority != nil {
+ var certificateAuthority storage.IstioCertificateAuthority
+ err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority(&certificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority() to populate field CertificateAuthority")
+ }
+ destination.CertificateAuthority = &certificateAuthority
+ } else {
+ destination.CertificateAuthority = nil
+ }
+
+ // Components
+ if mesh.Components != nil {
+ var component storage.IstioComponents
+ err := mesh.Components.AssignProperties_To_IstioComponents(&component)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioComponents() to populate field Components")
+ }
+ destination.Components = &component
+ } else {
+ destination.Components = nil
+ }
+
+ // Revisions
+ destination.Revisions = genruntime.CloneSliceOfString(mesh.Revisions)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioServiceMesh interface (if implemented) to customize the conversion
+ var meshAsAny any = mesh
+ if augmentedMesh, ok := meshAsAny.(augmentConversionForIstioServiceMesh); ok {
+ err := augmentedMesh.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioServiceMesh_STATUS
+// Istio service mesh configuration.
+type IstioServiceMesh_STATUS struct {
+ CertificateAuthority *IstioCertificateAuthority_STATUS `json:"certificateAuthority,omitempty"`
+ Components *IstioComponents_STATUS `json:"components,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Revisions []string `json:"revisions,omitempty"`
+}
+
+// AssignProperties_From_IstioServiceMesh_STATUS populates our IstioServiceMesh_STATUS from the provided source IstioServiceMesh_STATUS
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_From_IstioServiceMesh_STATUS(source *storage.IstioServiceMesh_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CertificateAuthority
+ if source.CertificateAuthority != nil {
+ var certificateAuthority IstioCertificateAuthority_STATUS
+ err := certificateAuthority.AssignProperties_From_IstioCertificateAuthority_STATUS(source.CertificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioCertificateAuthority_STATUS() to populate field CertificateAuthority")
+ }
+ mesh.CertificateAuthority = &certificateAuthority
+ } else {
+ mesh.CertificateAuthority = nil
+ }
+
+ // Components
+ if source.Components != nil {
+ var component IstioComponents_STATUS
+ err := component.AssignProperties_From_IstioComponents_STATUS(source.Components)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioComponents_STATUS() to populate field Components")
+ }
+ mesh.Components = &component
+ } else {
+ mesh.Components = nil
+ }
+
+ // Revisions
+ mesh.Revisions = genruntime.CloneSliceOfString(source.Revisions)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ mesh.PropertyBag = propertyBag
+ } else {
+ mesh.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioServiceMesh_STATUS interface (if implemented) to customize the conversion
+ var meshAsAny any = mesh
+ if augmentedMesh, ok := meshAsAny.(augmentConversionForIstioServiceMesh_STATUS); ok {
+ err := augmentedMesh.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioServiceMesh_STATUS populates the provided destination IstioServiceMesh_STATUS from our IstioServiceMesh_STATUS
+func (mesh *IstioServiceMesh_STATUS) AssignProperties_To_IstioServiceMesh_STATUS(destination *storage.IstioServiceMesh_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(mesh.PropertyBag)
+
+ // CertificateAuthority
+ if mesh.CertificateAuthority != nil {
+ var certificateAuthority storage.IstioCertificateAuthority_STATUS
+ err := mesh.CertificateAuthority.AssignProperties_To_IstioCertificateAuthority_STATUS(&certificateAuthority)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioCertificateAuthority_STATUS() to populate field CertificateAuthority")
+ }
+ destination.CertificateAuthority = &certificateAuthority
+ } else {
+ destination.CertificateAuthority = nil
+ }
+
+ // Components
+ if mesh.Components != nil {
+ var component storage.IstioComponents_STATUS
+ err := mesh.Components.AssignProperties_To_IstioComponents_STATUS(&component)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioComponents_STATUS() to populate field Components")
+ }
+ destination.Components = &component
+ } else {
+ destination.Components = nil
+ }
+
+ // Revisions
+ destination.Revisions = genruntime.CloneSliceOfString(mesh.Revisions)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioServiceMesh_STATUS interface (if implemented) to customize the conversion
+ var meshAsAny any = mesh
+ if augmentedMesh, ok := meshAsAny.(augmentConversionForIstioServiceMesh_STATUS); ok {
+ err := augmentedMesh.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoring
+// Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces
+// through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoring struct {
+ AutoInstrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation `json:"autoInstrumentation,omitempty"`
+ OpenTelemetryLogs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs `json:"openTelemetryLogs,omitempty"`
+ OpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics `json:"openTelemetryMetrics,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring populates our ManagedClusterAzureMonitorProfileAppMonitoring from the provided source ManagedClusterAzureMonitorProfileAppMonitoring
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring(source *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AutoInstrumentation
+ if propertyBag.Contains("AutoInstrumentation") {
+ var autoInstrumentation ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+ err := propertyBag.Pull("AutoInstrumentation", &autoInstrumentation)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AutoInstrumentation' from propertyBag")
+ }
+
+ monitoring.AutoInstrumentation = &autoInstrumentation
+ } else {
+ monitoring.AutoInstrumentation = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ propertyBag.Add("Enabled", *source.Enabled)
+ } else {
+ propertyBag.Remove("Enabled")
+ }
+
+ // OpenTelemetryLogs
+ if propertyBag.Contains("OpenTelemetryLogs") {
+ var openTelemetryLog ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+ err := propertyBag.Pull("OpenTelemetryLogs", &openTelemetryLog)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'OpenTelemetryLogs' from propertyBag")
+ }
+
+ monitoring.OpenTelemetryLogs = &openTelemetryLog
+ } else {
+ monitoring.OpenTelemetryLogs = nil
+ }
+
+ // OpenTelemetryMetrics
+ if propertyBag.Contains("OpenTelemetryMetrics") {
+ var openTelemetryMetric ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+ err := propertyBag.Pull("OpenTelemetryMetrics", &openTelemetryMetric)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'OpenTelemetryMetrics' from propertyBag")
+ }
+
+ monitoring.OpenTelemetryMetrics = &openTelemetryMetric
+ } else {
+ monitoring.OpenTelemetryMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ monitoring.PropertyBag = propertyBag
+ } else {
+ monitoring.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring); ok {
+ err := augmentedMonitoring.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoring from our ManagedClusterAzureMonitorProfileAppMonitoring
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(monitoring.PropertyBag)
+
+ // AutoInstrumentation
+ if monitoring.AutoInstrumentation != nil {
+ propertyBag.Add("AutoInstrumentation", *monitoring.AutoInstrumentation)
+ } else {
+ propertyBag.Remove("AutoInstrumentation")
+ }
+
+ // Enabled
+ if propertyBag.Contains("Enabled") {
+ var enabled bool
+ err := propertyBag.Pull("Enabled", &enabled)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Enabled' from propertyBag")
+ }
+
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // OpenTelemetryLogs
+ if monitoring.OpenTelemetryLogs != nil {
+ propertyBag.Add("OpenTelemetryLogs", *monitoring.OpenTelemetryLogs)
+ } else {
+ propertyBag.Remove("OpenTelemetryLogs")
+ }
+
+ // OpenTelemetryMetrics
+ if monitoring.OpenTelemetryMetrics != nil {
+ propertyBag.Add("OpenTelemetryMetrics", *monitoring.OpenTelemetryMetrics)
+ } else {
+ propertyBag.Remove("OpenTelemetryMetrics")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring); ok {
+ err := augmentedMonitoring.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+// Application Monitoring Profile for Kubernetes Application Container. Collects application logs, metrics and traces
+// through auto-instrumentation of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoring_STATUS struct {
+ AutoInstrumentation *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS `json:"autoInstrumentation,omitempty"`
+ OpenTelemetryLogs *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS `json:"openTelemetryLogs,omitempty"`
+ OpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS `json:"openTelemetryMetrics,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoring_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AutoInstrumentation
+ if propertyBag.Contains("AutoInstrumentation") {
+ var autoInstrumentation ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+ err := propertyBag.Pull("AutoInstrumentation", &autoInstrumentation)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AutoInstrumentation' from propertyBag")
+ }
+
+ monitoring.AutoInstrumentation = &autoInstrumentation
+ } else {
+ monitoring.AutoInstrumentation = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ propertyBag.Add("Enabled", *source.Enabled)
+ } else {
+ propertyBag.Remove("Enabled")
+ }
+
+ // OpenTelemetryLogs
+ if propertyBag.Contains("OpenTelemetryLogs") {
+ var openTelemetryLog ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+ err := propertyBag.Pull("OpenTelemetryLogs", &openTelemetryLog)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'OpenTelemetryLogs' from propertyBag")
+ }
+
+ monitoring.OpenTelemetryLogs = &openTelemetryLog
+ } else {
+ monitoring.OpenTelemetryLogs = nil
+ }
+
+ // OpenTelemetryMetrics
+ if propertyBag.Contains("OpenTelemetryMetrics") {
+ var openTelemetryMetric ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+ err := propertyBag.Pull("OpenTelemetryMetrics", &openTelemetryMetric)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'OpenTelemetryMetrics' from propertyBag")
+ }
+
+ monitoring.OpenTelemetryMetrics = &openTelemetryMetric
+ } else {
+ monitoring.OpenTelemetryMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ monitoring.PropertyBag = propertyBag
+ } else {
+ monitoring.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring_STATUS interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring_STATUS); ok {
+ err := augmentedMonitoring.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoring_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoring_STATUS
+func (monitoring *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoring_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(monitoring.PropertyBag)
+
+ // AutoInstrumentation
+ if monitoring.AutoInstrumentation != nil {
+ propertyBag.Add("AutoInstrumentation", *monitoring.AutoInstrumentation)
+ } else {
+ propertyBag.Remove("AutoInstrumentation")
+ }
+
+ // Enabled
+ if propertyBag.Contains("Enabled") {
+ var enabled bool
+ err := propertyBag.Pull("Enabled", &enabled)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Enabled' from propertyBag")
+ }
+
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // OpenTelemetryLogs
+ if monitoring.OpenTelemetryLogs != nil {
+ propertyBag.Add("OpenTelemetryLogs", *monitoring.OpenTelemetryLogs)
+ } else {
+ propertyBag.Remove("OpenTelemetryLogs")
+ }
+
+ // OpenTelemetryMetrics
+ if monitoring.OpenTelemetryMetrics != nil {
+ propertyBag.Add("OpenTelemetryMetrics", *monitoring.OpenTelemetryMetrics)
+ } else {
+ propertyBag.Remove("OpenTelemetryMetrics")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring_STATUS interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring_STATUS); ok {
+ err := augmentedMonitoring.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileContainerInsights
+// Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See
+// aka.ms/AzureMonitorContainerInsights for an overview.
+type ManagedClusterAzureMonitorProfileContainerInsights struct {
+ DisableCustomMetrics *bool `json:"disableCustomMetrics,omitempty"`
+ DisablePrometheusMetricsScraping *bool `json:"disablePrometheusMetricsScraping,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+
+ // LogAnalyticsWorkspaceResourceReference: Fully Qualified ARM Resource Id of Azure Log Analytics Workspace for storing
+ // Azure Monitor Container Insights Logs.
+ LogAnalyticsWorkspaceResourceReference *genruntime.ResourceReference `armReference:"LogAnalyticsWorkspaceResourceId" json:"logAnalyticsWorkspaceResourceReference,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SyslogPort *int `json:"syslogPort,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights populates our ManagedClusterAzureMonitorProfileContainerInsights from the provided source ManagedClusterAzureMonitorProfileContainerInsights
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights(source *storage.ManagedClusterAzureMonitorProfileContainerInsights) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DisableCustomMetrics
+ if propertyBag.Contains("DisableCustomMetrics") {
+ var disableCustomMetric bool
+ err := propertyBag.Pull("DisableCustomMetrics", &disableCustomMetric)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'DisableCustomMetrics' from propertyBag")
+ }
+
+ insights.DisableCustomMetrics = &disableCustomMetric
+ } else {
+ insights.DisableCustomMetrics = nil
+ }
+
+ // DisablePrometheusMetricsScraping
+ if propertyBag.Contains("DisablePrometheusMetricsScraping") {
+ var disablePrometheusMetricsScraping bool
+ err := propertyBag.Pull("DisablePrometheusMetricsScraping", &disablePrometheusMetricsScraping)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'DisablePrometheusMetricsScraping' from propertyBag")
+ }
+
+ insights.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ } else {
+ insights.DisablePrometheusMetricsScraping = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ insights.Enabled = &enabled
+ } else {
+ insights.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceReference
+ if source.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := source.LogAnalyticsWorkspaceResourceReference.Copy()
+ insights.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ insights.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SyslogPort
+ if propertyBag.Contains("SyslogPort") {
+ var syslogPort int
+ err := propertyBag.Pull("SyslogPort", &syslogPort)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'SyslogPort' from propertyBag")
+ }
+
+ insights.SyslogPort = &syslogPort
+ } else {
+ insights.SyslogPort = nil
+ }
+
+ // WindowsHostLogs
+ if source.WindowsHostLogs != nil {
+ propertyBag.Add("WindowsHostLogs", *source.WindowsHostLogs)
+ } else {
+ propertyBag.Remove("WindowsHostLogs")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ insights.PropertyBag = propertyBag
+ } else {
+ insights.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileContainerInsights interface (if implemented) to customize the conversion
+ var insightsAsAny any = insights
+ if augmentedInsights, ok := insightsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileContainerInsights); ok {
+ err := augmentedInsights.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights populates the provided destination ManagedClusterAzureMonitorProfileContainerInsights from our ManagedClusterAzureMonitorProfileContainerInsights
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights(destination *storage.ManagedClusterAzureMonitorProfileContainerInsights) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(insights.PropertyBag)
+
+ // DisableCustomMetrics
+ if insights.DisableCustomMetrics != nil {
+ propertyBag.Add("DisableCustomMetrics", *insights.DisableCustomMetrics)
+ } else {
+ propertyBag.Remove("DisableCustomMetrics")
+ }
+
+ // DisablePrometheusMetricsScraping
+ if insights.DisablePrometheusMetricsScraping != nil {
+ propertyBag.Add("DisablePrometheusMetricsScraping", *insights.DisablePrometheusMetricsScraping)
+ } else {
+ propertyBag.Remove("DisablePrometheusMetricsScraping")
+ }
+
+ // Enabled
+ if insights.Enabled != nil {
+ enabled := *insights.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceReference
+ if insights.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := insights.LogAnalyticsWorkspaceResourceReference.Copy()
+ destination.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ destination.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SyslogPort
+ if insights.SyslogPort != nil {
+ propertyBag.Add("SyslogPort", *insights.SyslogPort)
+ } else {
+ propertyBag.Remove("SyslogPort")
+ }
+
+ // WindowsHostLogs
+ if propertyBag.Contains("WindowsHostLogs") {
+ var windowsHostLog storage.ManagedClusterAzureMonitorProfileWindowsHostLogs
+ err := propertyBag.Pull("WindowsHostLogs", &windowsHostLog)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'WindowsHostLogs' from propertyBag")
+ }
+
+ destination.WindowsHostLogs = &windowsHostLog
+ } else {
+ destination.WindowsHostLogs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileContainerInsights interface (if implemented) to customize the conversion
+ var insightsAsAny any = insights
+ if augmentedInsights, ok := insightsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileContainerInsights); ok {
+ err := augmentedInsights.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+// Azure Monitor Container Insights Profile for Kubernetes Events, Inventory and Container stdout & stderr logs etc. See
+// aka.ms/AzureMonitorContainerInsights for an overview.
+type ManagedClusterAzureMonitorProfileContainerInsights_STATUS struct {
+ DisableCustomMetrics *bool `json:"disableCustomMetrics,omitempty"`
+ DisablePrometheusMetricsScraping *bool `json:"disablePrometheusMetricsScraping,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SyslogPort *int `json:"syslogPort,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS populates our ManagedClusterAzureMonitorProfileContainerInsights_STATUS from the provided source ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(source *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DisableCustomMetrics
+ if propertyBag.Contains("DisableCustomMetrics") {
+ var disableCustomMetric bool
+ err := propertyBag.Pull("DisableCustomMetrics", &disableCustomMetric)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'DisableCustomMetrics' from propertyBag")
+ }
+
+ insights.DisableCustomMetrics = &disableCustomMetric
+ } else {
+ insights.DisableCustomMetrics = nil
+ }
+
+ // DisablePrometheusMetricsScraping
+ if propertyBag.Contains("DisablePrometheusMetricsScraping") {
+ var disablePrometheusMetricsScraping bool
+ err := propertyBag.Pull("DisablePrometheusMetricsScraping", &disablePrometheusMetricsScraping)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'DisablePrometheusMetricsScraping' from propertyBag")
+ }
+
+ insights.DisablePrometheusMetricsScraping = &disablePrometheusMetricsScraping
+ } else {
+ insights.DisablePrometheusMetricsScraping = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ insights.Enabled = &enabled
+ } else {
+ insights.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceId
+ insights.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
+
+ // SyslogPort
+ if propertyBag.Contains("SyslogPort") {
+ var syslogPort int
+ err := propertyBag.Pull("SyslogPort", &syslogPort)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'SyslogPort' from propertyBag")
+ }
+
+ insights.SyslogPort = &syslogPort
+ } else {
+ insights.SyslogPort = nil
+ }
+
+ // WindowsHostLogs
+ if source.WindowsHostLogs != nil {
+ propertyBag.Add("WindowsHostLogs", *source.WindowsHostLogs)
+ } else {
+ propertyBag.Remove("WindowsHostLogs")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ insights.PropertyBag = propertyBag
+ } else {
+ insights.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileContainerInsights_STATUS interface (if implemented) to customize the conversion
+ var insightsAsAny any = insights
+ if augmentedInsights, ok := insightsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileContainerInsights_STATUS); ok {
+ err := augmentedInsights.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS populates the provided destination ManagedClusterAzureMonitorProfileContainerInsights_STATUS from our ManagedClusterAzureMonitorProfileContainerInsights_STATUS
+func (insights *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileContainerInsights_STATUS(destination *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(insights.PropertyBag)
+
+ // DisableCustomMetrics
+ if insights.DisableCustomMetrics != nil {
+ propertyBag.Add("DisableCustomMetrics", *insights.DisableCustomMetrics)
+ } else {
+ propertyBag.Remove("DisableCustomMetrics")
+ }
+
+ // DisablePrometheusMetricsScraping
+ if insights.DisablePrometheusMetricsScraping != nil {
+ propertyBag.Add("DisablePrometheusMetricsScraping", *insights.DisablePrometheusMetricsScraping)
+ } else {
+ propertyBag.Remove("DisablePrometheusMetricsScraping")
+ }
+
+ // Enabled
+ if insights.Enabled != nil {
+ enabled := *insights.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // LogAnalyticsWorkspaceResourceId
+ destination.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(insights.LogAnalyticsWorkspaceResourceId)
+
+ // SyslogPort
+ if insights.SyslogPort != nil {
+ propertyBag.Add("SyslogPort", *insights.SyslogPort)
+ } else {
+ propertyBag.Remove("SyslogPort")
+ }
+
+ // WindowsHostLogs
+ if propertyBag.Contains("WindowsHostLogs") {
+ var windowsHostLog storage.ManagedClusterAzureMonitorProfileWindowsHostLogs_STATUS
+ err := propertyBag.Pull("WindowsHostLogs", &windowsHostLog)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'WindowsHostLogs' from propertyBag")
+ }
+
+ destination.WindowsHostLogs = &windowsHostLog
+ } else {
+ destination.WindowsHostLogs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileContainerInsights_STATUS interface (if implemented) to customize the conversion
+ var insightsAsAny any = insights
+ if augmentedInsights, ok := insightsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileContainerInsights_STATUS); ok {
+ err := augmentedInsights.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileMetrics
+// Metrics profile for the prometheus service addon
+type ManagedClusterAzureMonitorProfileMetrics struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics `json:"kubeStateMetrics,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics populates our ManagedClusterAzureMonitorProfileMetrics from the provided source ManagedClusterAzureMonitorProfileMetrics
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics(source *storage.ManagedClusterAzureMonitorProfileMetrics) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AppMonitoringOpenTelemetryMetrics
+ if source.AppMonitoringOpenTelemetryMetrics != nil {
+ propertyBag.Add("AppMonitoringOpenTelemetryMetrics", *source.AppMonitoringOpenTelemetryMetrics)
+ } else {
+ propertyBag.Remove("AppMonitoringOpenTelemetryMetrics")
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if source.KubeStateMetrics != nil {
+ var kubeStateMetric ManagedClusterAzureMonitorProfileKubeStateMetrics
+ err := kubeStateMetric.AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source.KubeStateMetrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
+ }
+ metrics.KubeStateMetrics = &kubeStateMetric
+ } else {
+ metrics.KubeStateMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ metrics.PropertyBag = propertyBag
+ } else {
+ metrics.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileMetrics interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileMetrics); ok {
+ err := augmentedMetrics.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics populates the provided destination ManagedClusterAzureMonitorProfileMetrics from our ManagedClusterAzureMonitorProfileMetrics
+func (metrics *ManagedClusterAzureMonitorProfileMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics(destination *storage.ManagedClusterAzureMonitorProfileMetrics) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
+
+ // AppMonitoringOpenTelemetryMetrics
+ if propertyBag.Contains("AppMonitoringOpenTelemetryMetrics") {
+ var appMonitoringOpenTelemetryMetric storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+ err := propertyBag.Pull("AppMonitoringOpenTelemetryMetrics", &appMonitoringOpenTelemetryMetric)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AppMonitoringOpenTelemetryMetrics' from propertyBag")
+ }
+
+ destination.AppMonitoringOpenTelemetryMetrics = &appMonitoringOpenTelemetryMetric
+ } else {
+ destination.AppMonitoringOpenTelemetryMetrics = nil
+ }
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if metrics.KubeStateMetrics != nil {
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics
+ err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(&kubeStateMetric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics() to populate field KubeStateMetrics")
+ }
+ destination.KubeStateMetrics = &kubeStateMetric
+ } else {
+ destination.KubeStateMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileMetrics interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileMetrics); ok {
+ err := augmentedMetrics.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileMetrics_STATUS
+// Metrics profile for the prometheus service addon
+type ManagedClusterAzureMonitorProfileMetrics_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS `json:"kubeStateMetrics,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS populates our ManagedClusterAzureMonitorProfileMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AppMonitoringOpenTelemetryMetrics
+ if source.AppMonitoringOpenTelemetryMetrics != nil {
+ propertyBag.Add("AppMonitoringOpenTelemetryMetrics", *source.AppMonitoringOpenTelemetryMetrics)
+ } else {
+ propertyBag.Remove("AppMonitoringOpenTelemetryMetrics")
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if source.KubeStateMetrics != nil {
+ var kubeStateMetric ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ err := kubeStateMetric.AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source.KubeStateMetrics)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
+ }
+ metrics.KubeStateMetrics = &kubeStateMetric
+ } else {
+ metrics.KubeStateMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ metrics.PropertyBag = propertyBag
+ } else {
+ metrics.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS); ok {
+ err := augmentedMetrics.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileMetrics_STATUS from our ManagedClusterAzureMonitorProfileMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
+
+ // AppMonitoringOpenTelemetryMetrics
+ if propertyBag.Contains("AppMonitoringOpenTelemetryMetrics") {
+ var appMonitoringOpenTelemetryMetric storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+ err := propertyBag.Pull("AppMonitoringOpenTelemetryMetrics", &appMonitoringOpenTelemetryMetric)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'AppMonitoringOpenTelemetryMetrics' from propertyBag")
+ }
+
+ destination.AppMonitoringOpenTelemetryMetrics = &appMonitoringOpenTelemetryMetric
+ } else {
+ destination.AppMonitoringOpenTelemetryMetrics = nil
+ }
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // KubeStateMetrics
+ if metrics.KubeStateMetrics != nil {
+ var kubeStateMetric storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+ err := metrics.KubeStateMetrics.AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(&kubeStateMetric)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS() to populate field KubeStateMetrics")
+ }
+ destination.KubeStateMetrics = &kubeStateMetric
+ } else {
+ destination.KubeStateMetrics = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS); ok {
+ err := augmentedMetrics.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterCostAnalysis
+// The cost analysis configuration for the cluster
+type ManagedClusterCostAnalysis struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterCostAnalysis populates our ManagedClusterCostAnalysis from the provided source ManagedClusterCostAnalysis
+func (analysis *ManagedClusterCostAnalysis) AssignProperties_From_ManagedClusterCostAnalysis(source *storage.ManagedClusterCostAnalysis) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ analysis.Enabled = &enabled
+ } else {
+ analysis.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ analysis.PropertyBag = propertyBag
+ } else {
+ analysis.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterCostAnalysis interface (if implemented) to customize the conversion
+ var analysisAsAny any = analysis
+ if augmentedAnalysis, ok := analysisAsAny.(augmentConversionForManagedClusterCostAnalysis); ok {
+ err := augmentedAnalysis.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterCostAnalysis populates the provided destination ManagedClusterCostAnalysis from our ManagedClusterCostAnalysis
+func (analysis *ManagedClusterCostAnalysis) AssignProperties_To_ManagedClusterCostAnalysis(destination *storage.ManagedClusterCostAnalysis) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(analysis.PropertyBag)
+
+ // Enabled
+ if analysis.Enabled != nil {
+ enabled := *analysis.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterCostAnalysis interface (if implemented) to customize the conversion
+ var analysisAsAny any = analysis
+ if augmentedAnalysis, ok := analysisAsAny.(augmentConversionForManagedClusterCostAnalysis); ok {
+ err := augmentedAnalysis.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterCostAnalysis_STATUS
+// The cost analysis configuration for the cluster
+type ManagedClusterCostAnalysis_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterCostAnalysis_STATUS populates our ManagedClusterCostAnalysis_STATUS from the provided source ManagedClusterCostAnalysis_STATUS
+func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_From_ManagedClusterCostAnalysis_STATUS(source *storage.ManagedClusterCostAnalysis_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ analysis.Enabled = &enabled
+ } else {
+ analysis.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ analysis.PropertyBag = propertyBag
+ } else {
+ analysis.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterCostAnalysis_STATUS interface (if implemented) to customize the conversion
+ var analysisAsAny any = analysis
+ if augmentedAnalysis, ok := analysisAsAny.(augmentConversionForManagedClusterCostAnalysis_STATUS); ok {
+ err := augmentedAnalysis.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterCostAnalysis_STATUS populates the provided destination ManagedClusterCostAnalysis_STATUS from our ManagedClusterCostAnalysis_STATUS
+func (analysis *ManagedClusterCostAnalysis_STATUS) AssignProperties_To_ManagedClusterCostAnalysis_STATUS(destination *storage.ManagedClusterCostAnalysis_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(analysis.PropertyBag)
+
+ // Enabled
+ if analysis.Enabled != nil {
+ enabled := *analysis.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterCostAnalysis_STATUS interface (if implemented) to customize the conversion
+ var analysisAsAny any = analysis
+ if augmentedAnalysis, ok := analysisAsAny.(augmentConversionForManagedClusterCostAnalysis_STATUS); ok {
+ err := augmentedAnalysis.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIdentity_UserAssignedIdentities_STATUS
+type ManagedClusterIdentity_UserAssignedIdentities_STATUS struct {
+ ClientId *string `json:"clientId,omitempty"`
+ PrincipalId *string `json:"principalId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates our ManagedClusterIdentity_UserAssignedIdentities_STATUS from the provided source ManagedClusterIdentity_UserAssignedIdentities_STATUS
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedClusterIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ClientId
+ identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
+
+ // PrincipalId
+ identities.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identities.PropertyBag = propertyBag
+ } else {
+ identities.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS interface (if implemented) to customize the conversion
+ var identitiesAsAny any = identities
+ if augmentedIdentities, ok := identitiesAsAny.(augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS); ok {
+ err := augmentedIdentities.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedClusterIdentity_UserAssignedIdentities_STATUS from our ManagedClusterIdentity_UserAssignedIdentities_STATUS
+func (identities *ManagedClusterIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedClusterIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identities.PropertyBag)
+
+ // ClientId
+ destination.ClientId = genruntime.ClonePointerToString(identities.ClientId)
+
+ // PrincipalId
+ destination.PrincipalId = genruntime.ClonePointerToString(identities.PrincipalId)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS interface (if implemented) to customize the conversion
+ var identitiesAsAny any = identities
+ if augmentedIdentities, ok := identitiesAsAny.(augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS); ok {
+ err := augmentedIdentities.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIngressProfileWebAppRouting
+// Web App Routing settings for the ingress profile.
+type ManagedClusterIngressProfileWebAppRouting struct {
+ DnsZoneResourceReferences []genruntime.ResourceReference `armReference:"DnsZoneResourceIds" json:"dnsZoneResourceReferences,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting populates our ManagedClusterIngressProfileWebAppRouting from the provided source ManagedClusterIngressProfileWebAppRouting
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting(source *storage.ManagedClusterIngressProfileWebAppRouting) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DnsZoneResourceReferences
+ if source.DnsZoneResourceReferences != nil {
+ dnsZoneResourceReferenceList := make([]genruntime.ResourceReference, len(source.DnsZoneResourceReferences))
+ for dnsZoneResourceReferenceIndex, dnsZoneResourceReferenceItem := range source.DnsZoneResourceReferences {
+ // Shadow the loop variable to avoid aliasing
+ dnsZoneResourceReferenceItem := dnsZoneResourceReferenceItem
+ dnsZoneResourceReferenceList[dnsZoneResourceReferenceIndex] = dnsZoneResourceReferenceItem.Copy()
+ }
+ routing.DnsZoneResourceReferences = dnsZoneResourceReferenceList
+ } else {
+ routing.DnsZoneResourceReferences = nil
+ }
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ routing.Enabled = &enabled
+ } else {
+ routing.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ routing.PropertyBag = propertyBag
+ } else {
+ routing.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfileWebAppRouting interface (if implemented) to customize the conversion
+ var routingAsAny any = routing
+ if augmentedRouting, ok := routingAsAny.(augmentConversionForManagedClusterIngressProfileWebAppRouting); ok {
+ err := augmentedRouting.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting populates the provided destination ManagedClusterIngressProfileWebAppRouting from our ManagedClusterIngressProfileWebAppRouting
+func (routing *ManagedClusterIngressProfileWebAppRouting) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting(destination *storage.ManagedClusterIngressProfileWebAppRouting) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(routing.PropertyBag)
+
+ // DnsZoneResourceReferences
+ if routing.DnsZoneResourceReferences != nil {
+ dnsZoneResourceReferenceList := make([]genruntime.ResourceReference, len(routing.DnsZoneResourceReferences))
+ for dnsZoneResourceReferenceIndex, dnsZoneResourceReferenceItem := range routing.DnsZoneResourceReferences {
+ // Shadow the loop variable to avoid aliasing
+ dnsZoneResourceReferenceItem := dnsZoneResourceReferenceItem
+ dnsZoneResourceReferenceList[dnsZoneResourceReferenceIndex] = dnsZoneResourceReferenceItem.Copy()
+ }
+ destination.DnsZoneResourceReferences = dnsZoneResourceReferenceList
+ } else {
+ destination.DnsZoneResourceReferences = nil
+ }
+
+ // Enabled
+ if routing.Enabled != nil {
+ enabled := *routing.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfileWebAppRouting interface (if implemented) to customize the conversion
+ var routingAsAny any = routing
+ if augmentedRouting, ok := routingAsAny.(augmentConversionForManagedClusterIngressProfileWebAppRouting); ok {
+ err := augmentedRouting.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterIngressProfileWebAppRouting_STATUS
+// Web App Routing settings for the ingress profile.
+type ManagedClusterIngressProfileWebAppRouting_STATUS struct {
+ DnsZoneResourceIds []string `json:"dnsZoneResourceIds,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ Identity *UserAssignedIdentity_STATUS `json:"identity,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS populates our ManagedClusterIngressProfileWebAppRouting_STATUS from the provided source ManagedClusterIngressProfileWebAppRouting_STATUS
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_From_ManagedClusterIngressProfileWebAppRouting_STATUS(source *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DnsZoneResourceIds
+ routing.DnsZoneResourceIds = genruntime.CloneSliceOfString(source.DnsZoneResourceIds)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ routing.Enabled = &enabled
+ } else {
+ routing.Enabled = nil
+ }
+
+ // Identity
+ if source.Identity != nil {
+ var identity UserAssignedIdentity_STATUS
+ err := identity.AssignProperties_From_UserAssignedIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ routing.Identity = &identity
+ } else {
+ routing.Identity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ routing.PropertyBag = propertyBag
+ } else {
+ routing.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS interface (if implemented) to customize the conversion
+ var routingAsAny any = routing
+ if augmentedRouting, ok := routingAsAny.(augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS); ok {
+ err := augmentedRouting.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS populates the provided destination ManagedClusterIngressProfileWebAppRouting_STATUS from our ManagedClusterIngressProfileWebAppRouting_STATUS
+func (routing *ManagedClusterIngressProfileWebAppRouting_STATUS) AssignProperties_To_ManagedClusterIngressProfileWebAppRouting_STATUS(destination *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(routing.PropertyBag)
+
+ // DnsZoneResourceIds
+ destination.DnsZoneResourceIds = genruntime.CloneSliceOfString(routing.DnsZoneResourceIds)
+
+ // Enabled
+ if routing.Enabled != nil {
+ enabled := *routing.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Identity
+ if routing.Identity != nil {
+ var identity storage.UserAssignedIdentity_STATUS
+ err := routing.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identity
+ } else {
+ destination.Identity = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS interface (if implemented) to customize the conversion
+ var routingAsAny any = routing
+ if augmentedRouting, ok := routingAsAny.(augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS); ok {
+ err := augmentedRouting.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile
+// Profile of the managed cluster load balancer.
+type ManagedClusterLoadBalancerProfile struct {
+ AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
+ BackendPoolType *string `json:"backendPoolType,omitempty"`
+ ClusterServiceLoadBalancerHealthProbeMode *string `json:"clusterServiceLoadBalancerHealthProbeMode,omitempty"`
+ EffectiveOutboundIPs []ResourceReference `json:"effectiveOutboundIPs,omitempty"`
+ EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"`
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+ ManagedOutboundIPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs `json:"managedOutboundIPs,omitempty"`
+ OutboundIPPrefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes `json:"outboundIPPrefixes,omitempty"`
+ OutboundIPs *ManagedClusterLoadBalancerProfile_OutboundIPs `json:"outboundIPs,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile populates our ManagedClusterLoadBalancerProfile from the provided source ManagedClusterLoadBalancerProfile
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_From_ManagedClusterLoadBalancerProfile(source *storage.ManagedClusterLoadBalancerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllocatedOutboundPorts
+ profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
+
+ // BackendPoolType
+ profile.BackendPoolType = genruntime.ClonePointerToString(source.BackendPoolType)
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if propertyBag.Contains("ClusterServiceLoadBalancerHealthProbeMode") {
+ var clusterServiceLoadBalancerHealthProbeMode string
+ err := propertyBag.Pull("ClusterServiceLoadBalancerHealthProbeMode", &clusterServiceLoadBalancerHealthProbeMode)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ClusterServiceLoadBalancerHealthProbeMode' from propertyBag")
+ }
+
+ profile.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ } else {
+ profile.ClusterServiceLoadBalancerHealthProbeMode = nil
+ }
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if source.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *source.EnableMultipleStandardLoadBalancers
+ profile.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ profile.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(source.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPs
+ if source.ManagedOutboundIPs != nil {
+ var managedOutboundIP ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ err := managedOutboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source.ManagedOutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
+ }
+ profile.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ profile.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if source.OutboundIPPrefixes != nil {
+ var outboundIPPrefix ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ err := outboundIPPrefix.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source.OutboundIPPrefixes)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
+ }
+ profile.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ profile.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if source.OutboundIPs != nil {
+ var outboundIP ManagedClusterLoadBalancerProfile_OutboundIPs
+ err := outboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source.OutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
+ }
+ profile.OutboundIPs = &outboundIP
+ } else {
+ profile.OutboundIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterLoadBalancerProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile populates the provided destination ManagedClusterLoadBalancerProfile from our ManagedClusterLoadBalancerProfile
+func (profile *ManagedClusterLoadBalancerProfile) AssignProperties_To_ManagedClusterLoadBalancerProfile(destination *storage.ManagedClusterLoadBalancerProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AllocatedOutboundPorts
+ destination.AllocatedOutboundPorts = genruntime.ClonePointerToInt(profile.AllocatedOutboundPorts)
+
+ // BackendPoolType
+ destination.BackendPoolType = genruntime.ClonePointerToString(profile.BackendPoolType)
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if profile.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ propertyBag.Add("ClusterServiceLoadBalancerHealthProbeMode", *profile.ClusterServiceLoadBalancerHealthProbeMode)
+ } else {
+ propertyBag.Remove("ClusterServiceLoadBalancerHealthProbeMode")
+ }
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if profile.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *profile.EnableMultipleStandardLoadBalancers
+ destination.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ destination.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(profile.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPs
+ if profile.ManagedOutboundIPs != nil {
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+ err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(&managedOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs() to populate field ManagedOutboundIPs")
+ }
+ destination.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ destination.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if profile.OutboundIPPrefixes != nil {
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+ err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(&outboundIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes() to populate field OutboundIPPrefixes")
+ }
+ destination.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ destination.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if profile.OutboundIPs != nil {
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs
+ err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(&outboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs() to populate field OutboundIPs")
+ }
+ destination.OutboundIPs = &outboundIP
+ } else {
+ destination.OutboundIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterLoadBalancerProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_STATUS
+// Profile of the managed cluster load balancer.
+type ManagedClusterLoadBalancerProfile_STATUS struct {
+ AllocatedOutboundPorts *int `json:"allocatedOutboundPorts,omitempty"`
+ BackendPoolType *string `json:"backendPoolType,omitempty"`
+ ClusterServiceLoadBalancerHealthProbeMode *string `json:"clusterServiceLoadBalancerHealthProbeMode,omitempty"`
+ EffectiveOutboundIPs []ResourceReference_STATUS `json:"effectiveOutboundIPs,omitempty"`
+ EnableMultipleStandardLoadBalancers *bool `json:"enableMultipleStandardLoadBalancers,omitempty"`
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+ ManagedOutboundIPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS `json:"managedOutboundIPs,omitempty"`
+ OutboundIPPrefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS `json:"outboundIPPrefixes,omitempty"`
+ OutboundIPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS `json:"outboundIPs,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS populates our ManagedClusterLoadBalancerProfile_STATUS from the provided source ManagedClusterLoadBalancerProfile_STATUS
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_STATUS(source *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllocatedOutboundPorts
+ profile.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
+
+ // BackendPoolType
+ profile.BackendPoolType = genruntime.ClonePointerToString(source.BackendPoolType)
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if propertyBag.Contains("ClusterServiceLoadBalancerHealthProbeMode") {
+ var clusterServiceLoadBalancerHealthProbeMode string
+ err := propertyBag.Pull("ClusterServiceLoadBalancerHealthProbeMode", &clusterServiceLoadBalancerHealthProbeMode)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ClusterServiceLoadBalancerHealthProbeMode' from propertyBag")
+ }
+
+ profile.ClusterServiceLoadBalancerHealthProbeMode = &clusterServiceLoadBalancerHealthProbeMode
+ } else {
+ profile.ClusterServiceLoadBalancerHealthProbeMode = nil
+ }
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference_STATUS, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference_STATUS
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference_STATUS(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if source.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *source.EnableMultipleStandardLoadBalancers
+ profile.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ profile.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(source.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPs
+ if source.ManagedOutboundIPs != nil {
+ var managedOutboundIP ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ err := managedOutboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source.ManagedOutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
+ }
+ profile.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ profile.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if source.OutboundIPPrefixes != nil {
+ var outboundIPPrefix ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ err := outboundIPPrefix.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source.OutboundIPPrefixes)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
+ }
+ profile.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ profile.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if source.OutboundIPs != nil {
+ var outboundIP ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ err := outboundIP.AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source.OutboundIPs)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
+ }
+ profile.OutboundIPs = &outboundIP
+ } else {
+ profile.OutboundIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_STATUS from our ManagedClusterLoadBalancerProfile_STATUS
+func (profile *ManagedClusterLoadBalancerProfile_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AllocatedOutboundPorts
+ destination.AllocatedOutboundPorts = genruntime.ClonePointerToInt(profile.AllocatedOutboundPorts)
+
+ // BackendPoolType
+ destination.BackendPoolType = genruntime.ClonePointerToString(profile.BackendPoolType)
+
+ // ClusterServiceLoadBalancerHealthProbeMode
+ if profile.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ propertyBag.Add("ClusterServiceLoadBalancerHealthProbeMode", *profile.ClusterServiceLoadBalancerHealthProbeMode)
+ } else {
+ propertyBag.Remove("ClusterServiceLoadBalancerHealthProbeMode")
+ }
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference_STATUS
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // EnableMultipleStandardLoadBalancers
+ if profile.EnableMultipleStandardLoadBalancers != nil {
+ enableMultipleStandardLoadBalancer := *profile.EnableMultipleStandardLoadBalancers
+ destination.EnableMultipleStandardLoadBalancers = &enableMultipleStandardLoadBalancer
+ } else {
+ destination.EnableMultipleStandardLoadBalancers = nil
+ }
+
+ // IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(profile.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPs
+ if profile.ManagedOutboundIPs != nil {
+ var managedOutboundIP storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+ err := profile.ManagedOutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(&managedOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS() to populate field ManagedOutboundIPs")
+ }
+ destination.ManagedOutboundIPs = &managedOutboundIP
+ } else {
+ destination.ManagedOutboundIPs = nil
+ }
+
+ // OutboundIPPrefixes
+ if profile.OutboundIPPrefixes != nil {
+ var outboundIPPrefix storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+ err := profile.OutboundIPPrefixes.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(&outboundIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS() to populate field OutboundIPPrefixes")
+ }
+ destination.OutboundIPPrefixes = &outboundIPPrefix
+ } else {
+ destination.OutboundIPPrefixes = nil
+ }
+
+ // OutboundIPs
+ if profile.OutboundIPs != nil {
+ var outboundIP storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+ err := profile.OutboundIPs.AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(&outboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS() to populate field OutboundIPs")
+ }
+ destination.OutboundIPs = &outboundIP
+ } else {
+ destination.OutboundIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterNATGatewayProfile
+// Profile of the managed cluster NAT gateway.
+type ManagedClusterNATGatewayProfile struct {
+ EffectiveOutboundIPs []ResourceReference `json:"effectiveOutboundIPs,omitempty"`
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+ ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile `json:"managedOutboundIPProfile,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterNATGatewayProfile populates our ManagedClusterNATGatewayProfile from the provided source ManagedClusterNATGatewayProfile
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_From_ManagedClusterNATGatewayProfile(source *storage.ManagedClusterNATGatewayProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(source.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPProfile
+ if source.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile ManagedClusterManagedOutboundIPProfile
+ err := managedOutboundIPProfile.AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source.ManagedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
+ }
+ profile.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ profile.ManagedOutboundIPProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNATGatewayProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNATGatewayProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNATGatewayProfile populates the provided destination ManagedClusterNATGatewayProfile from our ManagedClusterNATGatewayProfile
+func (profile *ManagedClusterNATGatewayProfile) AssignProperties_To_ManagedClusterNATGatewayProfile(destination *storage.ManagedClusterNATGatewayProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(profile.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPProfile
+ if profile.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile
+ err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile(&managedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile() to populate field ManagedOutboundIPProfile")
+ }
+ destination.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ destination.ManagedOutboundIPProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNATGatewayProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNATGatewayProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterNATGatewayProfile_STATUS
+// Profile of the managed cluster NAT gateway.
+type ManagedClusterNATGatewayProfile_STATUS struct {
+ EffectiveOutboundIPs []ResourceReference_STATUS `json:"effectiveOutboundIPs,omitempty"`
+ IdleTimeoutInMinutes *int `json:"idleTimeoutInMinutes,omitempty"`
+ ManagedOutboundIPProfile *ManagedClusterManagedOutboundIPProfile_STATUS `json:"managedOutboundIPProfile,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS populates our ManagedClusterNATGatewayProfile_STATUS from the provided source ManagedClusterNATGatewayProfile_STATUS
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_From_ManagedClusterNATGatewayProfile_STATUS(source *storage.ManagedClusterNATGatewayProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EffectiveOutboundIPs
+ if source.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]ResourceReference_STATUS, len(source.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range source.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP ResourceReference_STATUS
+ err := effectiveOutboundIP.AssignProperties_From_ResourceReference_STATUS(&effectiveOutboundIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ profile.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ profile.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ profile.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(source.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPProfile
+ if source.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile ManagedClusterManagedOutboundIPProfile_STATUS
+ err := managedOutboundIPProfile.AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source.ManagedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
+ }
+ profile.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ profile.ManagedOutboundIPProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNATGatewayProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNATGatewayProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS populates the provided destination ManagedClusterNATGatewayProfile_STATUS from our ManagedClusterNATGatewayProfile_STATUS
+func (profile *ManagedClusterNATGatewayProfile_STATUS) AssignProperties_To_ManagedClusterNATGatewayProfile_STATUS(destination *storage.ManagedClusterNATGatewayProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // EffectiveOutboundIPs
+ if profile.EffectiveOutboundIPs != nil {
+ effectiveOutboundIPList := make([]storage.ResourceReference_STATUS, len(profile.EffectiveOutboundIPs))
+ for effectiveOutboundIPIndex, effectiveOutboundIPItem := range profile.EffectiveOutboundIPs {
+ // Shadow the loop variable to avoid aliasing
+ effectiveOutboundIPItem := effectiveOutboundIPItem
+ var effectiveOutboundIP storage.ResourceReference_STATUS
+ err := effectiveOutboundIPItem.AssignProperties_To_ResourceReference_STATUS(&effectiveOutboundIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field EffectiveOutboundIPs")
+ }
+ effectiveOutboundIPList[effectiveOutboundIPIndex] = effectiveOutboundIP
+ }
+ destination.EffectiveOutboundIPs = effectiveOutboundIPList
+ } else {
+ destination.EffectiveOutboundIPs = nil
+ }
+
+ // IdleTimeoutInMinutes
+ destination.IdleTimeoutInMinutes = genruntime.ClonePointerToInt(profile.IdleTimeoutInMinutes)
+
+ // ManagedOutboundIPProfile
+ if profile.ManagedOutboundIPProfile != nil {
+ var managedOutboundIPProfile storage.ManagedClusterManagedOutboundIPProfile_STATUS
+ err := profile.ManagedOutboundIPProfile.AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(&managedOutboundIPProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS() to populate field ManagedOutboundIPProfile")
+ }
+ destination.ManagedOutboundIPProfile = &managedOutboundIPProfile
+ } else {
+ destination.ManagedOutboundIPProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterNATGatewayProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterNATGatewayProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterOperatorConfigMaps
+type ManagedClusterOperatorConfigMaps struct {
+ OIDCIssuerProfile *genruntime.ConfigMapDestination `json:"oidcIssuerProfile,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOperatorConfigMaps populates our ManagedClusterOperatorConfigMaps from the provided source ManagedClusterOperatorConfigMaps
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_From_ManagedClusterOperatorConfigMaps(source *storage.ManagedClusterOperatorConfigMaps) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // OIDCIssuerProfile
+ if source.OIDCIssuerProfile != nil {
+ oidcIssuerProfile := source.OIDCIssuerProfile.Copy()
+ maps.OIDCIssuerProfile = &oidcIssuerProfile
+ } else {
+ maps.OIDCIssuerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ maps.PropertyBag = propertyBag
+ } else {
+ maps.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOperatorConfigMaps interface (if implemented) to customize the conversion
+ var mapsAsAny any = maps
+ if augmentedMaps, ok := mapsAsAny.(augmentConversionForManagedClusterOperatorConfigMaps); ok {
+ err := augmentedMaps.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOperatorConfigMaps populates the provided destination ManagedClusterOperatorConfigMaps from our ManagedClusterOperatorConfigMaps
+func (maps *ManagedClusterOperatorConfigMaps) AssignProperties_To_ManagedClusterOperatorConfigMaps(destination *storage.ManagedClusterOperatorConfigMaps) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(maps.PropertyBag)
+
+ // OIDCIssuerProfile
+ if maps.OIDCIssuerProfile != nil {
+ oidcIssuerProfile := maps.OIDCIssuerProfile.Copy()
+ destination.OIDCIssuerProfile = &oidcIssuerProfile
+ } else {
+ destination.OIDCIssuerProfile = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOperatorConfigMaps interface (if implemented) to customize the conversion
+ var mapsAsAny any = maps
+ if augmentedMaps, ok := mapsAsAny.(augmentConversionForManagedClusterOperatorConfigMaps); ok {
+ err := augmentedMaps.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterOperatorSecrets
+type ManagedClusterOperatorSecrets struct {
+ AdminCredentials *genruntime.SecretDestination `json:"adminCredentials,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UserCredentials *genruntime.SecretDestination `json:"userCredentials,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterOperatorSecrets populates our ManagedClusterOperatorSecrets from the provided source ManagedClusterOperatorSecrets
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_From_ManagedClusterOperatorSecrets(source *storage.ManagedClusterOperatorSecrets) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AdminCredentials
+ if source.AdminCredentials != nil {
+ adminCredential := source.AdminCredentials.Copy()
+ secrets.AdminCredentials = &adminCredential
+ } else {
+ secrets.AdminCredentials = nil
+ }
+
+ // UserCredentials
+ if source.UserCredentials != nil {
+ userCredential := source.UserCredentials.Copy()
+ secrets.UserCredentials = &userCredential
+ } else {
+ secrets.UserCredentials = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ secrets.PropertyBag = propertyBag
+ } else {
+ secrets.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOperatorSecrets interface (if implemented) to customize the conversion
+ var secretsAsAny any = secrets
+ if augmentedSecrets, ok := secretsAsAny.(augmentConversionForManagedClusterOperatorSecrets); ok {
+ err := augmentedSecrets.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterOperatorSecrets populates the provided destination ManagedClusterOperatorSecrets from our ManagedClusterOperatorSecrets
+func (secrets *ManagedClusterOperatorSecrets) AssignProperties_To_ManagedClusterOperatorSecrets(destination *storage.ManagedClusterOperatorSecrets) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(secrets.PropertyBag)
+
+ // AdminCredentials
+ if secrets.AdminCredentials != nil {
+ adminCredential := secrets.AdminCredentials.Copy()
+ destination.AdminCredentials = &adminCredential
+ } else {
+ destination.AdminCredentials = nil
+ }
+
+ // UserCredentials
+ if secrets.UserCredentials != nil {
+ userCredential := secrets.UserCredentials.Copy()
+ destination.UserCredentials = &userCredential
+ } else {
+ destination.UserCredentials = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterOperatorSecrets interface (if implemented) to customize the conversion
+ var secretsAsAny any = secrets
+ if augmentedSecrets, ok := secretsAsAny.(augmentConversionForManagedClusterOperatorSecrets); ok {
+ err := augmentedSecrets.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentity
+// Details about the pod identity assigned to the Managed Cluster.
+type ManagedClusterPodIdentity struct {
+ BindingSelector *string `json:"bindingSelector,omitempty"`
+ Identity *UserAssignedIdentity `json:"identity,omitempty"`
+ Name *string `json:"name,omitempty"`
+ Namespace *string `json:"namespace,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentity populates our ManagedClusterPodIdentity from the provided source ManagedClusterPodIdentity
+func (identity *ManagedClusterPodIdentity) AssignProperties_From_ManagedClusterPodIdentity(source *storage.ManagedClusterPodIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // BindingSelector
+ identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
+
+ // Identity
+ if source.Identity != nil {
+ var identityLocal UserAssignedIdentity
+ err := identityLocal.AssignProperties_From_UserAssignedIdentity(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity() to populate field Identity")
+ }
+ identity.Identity = &identityLocal
+ } else {
+ identity.Identity = nil
+ }
+
+ // Name
+ identity.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ identity.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterPodIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentity populates the provided destination ManagedClusterPodIdentity from our ManagedClusterPodIdentity
+func (identity *ManagedClusterPodIdentity) AssignProperties_To_ManagedClusterPodIdentity(destination *storage.ManagedClusterPodIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // BindingSelector
+ destination.BindingSelector = genruntime.ClonePointerToString(identity.BindingSelector)
+
+ // Identity
+ if identity.Identity != nil {
+ var identityLocal storage.UserAssignedIdentity
+ err := identity.Identity.AssignProperties_To_UserAssignedIdentity(&identityLocal)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity() to populate field Identity")
+ }
+ destination.Identity = &identityLocal
+ } else {
+ destination.Identity = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(identity.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(identity.Namespace)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterPodIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentity_STATUS
+// Details about the pod identity assigned to the Managed Cluster.
+type ManagedClusterPodIdentity_STATUS struct {
+ BindingSelector *string `json:"bindingSelector,omitempty"`
+ Identity *UserAssignedIdentity_STATUS `json:"identity,omitempty"`
+ Name *string `json:"name,omitempty"`
+ Namespace *string `json:"namespace,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ProvisioningInfo *ManagedClusterPodIdentity_ProvisioningInfo_STATUS `json:"provisioningInfo,omitempty"`
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentity_STATUS populates our ManagedClusterPodIdentity_STATUS from the provided source ManagedClusterPodIdentity_STATUS
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_From_ManagedClusterPodIdentity_STATUS(source *storage.ManagedClusterPodIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // BindingSelector
+ identity.BindingSelector = genruntime.ClonePointerToString(source.BindingSelector)
+
+ // Identity
+ if source.Identity != nil {
+ var identityLocal UserAssignedIdentity_STATUS
+ err := identityLocal.AssignProperties_From_UserAssignedIdentity_STATUS(source.Identity)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ identity.Identity = &identityLocal
+ } else {
+ identity.Identity = nil
+ }
+
+ // Name
+ identity.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ identity.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // ProvisioningInfo
+ if source.ProvisioningInfo != nil {
+ var provisioningInfo ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ err := provisioningInfo.AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source.ProvisioningInfo)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
+ }
+ identity.ProvisioningInfo = &provisioningInfo
+ } else {
+ identity.ProvisioningInfo = nil
+ }
+
+ // ProvisioningState
+ identity.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterPodIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentity_STATUS populates the provided destination ManagedClusterPodIdentity_STATUS from our ManagedClusterPodIdentity_STATUS
+func (identity *ManagedClusterPodIdentity_STATUS) AssignProperties_To_ManagedClusterPodIdentity_STATUS(destination *storage.ManagedClusterPodIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // BindingSelector
+ destination.BindingSelector = genruntime.ClonePointerToString(identity.BindingSelector)
+
+ // Identity
+ if identity.Identity != nil {
+ var identityLocal storage.UserAssignedIdentity_STATUS
+ err := identity.Identity.AssignProperties_To_UserAssignedIdentity_STATUS(&identityLocal)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentity_STATUS() to populate field Identity")
+ }
+ destination.Identity = &identityLocal
+ } else {
+ destination.Identity = nil
+ }
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(identity.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(identity.Namespace)
+
+ // ProvisioningInfo
+ if identity.ProvisioningInfo != nil {
+ var provisioningInfo storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+ err := identity.ProvisioningInfo.AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(&provisioningInfo)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS() to populate field ProvisioningInfo")
+ }
+ destination.ProvisioningInfo = &provisioningInfo
+ } else {
+ destination.ProvisioningInfo = nil
+ }
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(identity.ProvisioningState)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterPodIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityException
+// See [disable AAD Pod Identity for a specific
+// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
+type ManagedClusterPodIdentityException struct {
+ Name *string `json:"name,omitempty"`
+ Namespace *string `json:"namespace,omitempty"`
+ PodLabels map[string]string `json:"podLabels,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityException populates our ManagedClusterPodIdentityException from the provided source ManagedClusterPodIdentityException
+func (exception *ManagedClusterPodIdentityException) AssignProperties_From_ManagedClusterPodIdentityException(source *storage.ManagedClusterPodIdentityException) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Name
+ exception.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ exception.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // PodLabels
+ exception.PodLabels = genruntime.CloneMapOfStringToString(source.PodLabels)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ exception.PropertyBag = propertyBag
+ } else {
+ exception.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityException interface (if implemented) to customize the conversion
+ var exceptionAsAny any = exception
+ if augmentedException, ok := exceptionAsAny.(augmentConversionForManagedClusterPodIdentityException); ok {
+ err := augmentedException.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityException populates the provided destination ManagedClusterPodIdentityException from our ManagedClusterPodIdentityException
+func (exception *ManagedClusterPodIdentityException) AssignProperties_To_ManagedClusterPodIdentityException(destination *storage.ManagedClusterPodIdentityException) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(exception.PropertyBag)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(exception.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(exception.Namespace)
+
+ // PodLabels
+ destination.PodLabels = genruntime.CloneMapOfStringToString(exception.PodLabels)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityException interface (if implemented) to customize the conversion
+ var exceptionAsAny any = exception
+ if augmentedException, ok := exceptionAsAny.(augmentConversionForManagedClusterPodIdentityException); ok {
+ err := augmentedException.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityException_STATUS
+// See [disable AAD Pod Identity for a specific
+// Pod/Application](https://azure.github.io/aad-pod-identity/docs/configure/application_exception/) for more details.
+type ManagedClusterPodIdentityException_STATUS struct {
+ Name *string `json:"name,omitempty"`
+ Namespace *string `json:"namespace,omitempty"`
+ PodLabels map[string]string `json:"podLabels,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityException_STATUS populates our ManagedClusterPodIdentityException_STATUS from the provided source ManagedClusterPodIdentityException_STATUS
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_From_ManagedClusterPodIdentityException_STATUS(source *storage.ManagedClusterPodIdentityException_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Name
+ exception.Name = genruntime.ClonePointerToString(source.Name)
+
+ // Namespace
+ exception.Namespace = genruntime.ClonePointerToString(source.Namespace)
+
+ // PodLabels
+ exception.PodLabels = genruntime.CloneMapOfStringToString(source.PodLabels)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ exception.PropertyBag = propertyBag
+ } else {
+ exception.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityException_STATUS interface (if implemented) to customize the conversion
+ var exceptionAsAny any = exception
+ if augmentedException, ok := exceptionAsAny.(augmentConversionForManagedClusterPodIdentityException_STATUS); ok {
+ err := augmentedException.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityException_STATUS populates the provided destination ManagedClusterPodIdentityException_STATUS from our ManagedClusterPodIdentityException_STATUS
+func (exception *ManagedClusterPodIdentityException_STATUS) AssignProperties_To_ManagedClusterPodIdentityException_STATUS(destination *storage.ManagedClusterPodIdentityException_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(exception.PropertyBag)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(exception.Name)
+
+ // Namespace
+ destination.Namespace = genruntime.ClonePointerToString(exception.Namespace)
+
+ // PodLabels
+ destination.PodLabels = genruntime.CloneMapOfStringToString(exception.PodLabels)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityException_STATUS interface (if implemented) to customize the conversion
+ var exceptionAsAny any = exception
+ if augmentedException, ok := exceptionAsAny.(augmentConversionForManagedClusterPodIdentityException_STATUS); ok {
+ err := augmentedException.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileDefender
+// Microsoft Defender settings for the security profile.
+type ManagedClusterSecurityProfileDefender struct {
+ // LogAnalyticsWorkspaceResourceReference: Resource ID of the Log Analytics workspace to be associated with Microsoft
+ // Defender. When Microsoft Defender is enabled, this field is required and must be a valid workspace resource ID. When
+ // Microsoft Defender is disabled, leave the field empty.
+ LogAnalyticsWorkspaceResourceReference *genruntime.ResourceReference `armReference:"LogAnalyticsWorkspaceResourceId" json:"logAnalyticsWorkspaceResourceReference,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SecurityMonitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring `json:"securityMonitoring,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefender populates our ManagedClusterSecurityProfileDefender from the provided source ManagedClusterSecurityProfileDefender
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_From_ManagedClusterSecurityProfileDefender(source *storage.ManagedClusterSecurityProfileDefender) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // LogAnalyticsWorkspaceResourceReference
+ if source.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := source.LogAnalyticsWorkspaceResourceReference.Copy()
+ defender.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ defender.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SecurityMonitoring
+ if source.SecurityMonitoring != nil {
+ var securityMonitoring ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ err := securityMonitoring.AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source.SecurityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
+ }
+ defender.SecurityMonitoring = &securityMonitoring
+ } else {
+ defender.SecurityMonitoring = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ defender.PropertyBag = propertyBag
+ } else {
+ defender.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefender interface (if implemented) to customize the conversion
+ var defenderAsAny any = defender
+ if augmentedDefender, ok := defenderAsAny.(augmentConversionForManagedClusterSecurityProfileDefender); ok {
+ err := augmentedDefender.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefender populates the provided destination ManagedClusterSecurityProfileDefender from our ManagedClusterSecurityProfileDefender
+func (defender *ManagedClusterSecurityProfileDefender) AssignProperties_To_ManagedClusterSecurityProfileDefender(destination *storage.ManagedClusterSecurityProfileDefender) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(defender.PropertyBag)
+
+ // LogAnalyticsWorkspaceResourceReference
+ if defender.LogAnalyticsWorkspaceResourceReference != nil {
+ logAnalyticsWorkspaceResourceReference := defender.LogAnalyticsWorkspaceResourceReference.Copy()
+ destination.LogAnalyticsWorkspaceResourceReference = &logAnalyticsWorkspaceResourceReference
+ } else {
+ destination.LogAnalyticsWorkspaceResourceReference = nil
+ }
+
+ // SecurityMonitoring
+ if defender.SecurityMonitoring != nil {
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+ err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(&securityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring() to populate field SecurityMonitoring")
+ }
+ destination.SecurityMonitoring = &securityMonitoring
+ } else {
+ destination.SecurityMonitoring = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefender interface (if implemented) to customize the conversion
+ var defenderAsAny any = defender
+ if augmentedDefender, ok := defenderAsAny.(augmentConversionForManagedClusterSecurityProfileDefender); ok {
+ err := augmentedDefender.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileDefender_STATUS
+// Microsoft Defender settings for the security profile.
+type ManagedClusterSecurityProfileDefender_STATUS struct {
+ LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SecurityMonitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS `json:"securityMonitoring,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS populates our ManagedClusterSecurityProfileDefender_STATUS from the provided source ManagedClusterSecurityProfileDefender_STATUS
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefender_STATUS(source *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // LogAnalyticsWorkspaceResourceId
+ defender.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(source.LogAnalyticsWorkspaceResourceId)
+
+ // SecurityMonitoring
+ if source.SecurityMonitoring != nil {
+ var securityMonitoring ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ err := securityMonitoring.AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source.SecurityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
+ }
+ defender.SecurityMonitoring = &securityMonitoring
+ } else {
+ defender.SecurityMonitoring = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ defender.PropertyBag = propertyBag
+ } else {
+ defender.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefender_STATUS interface (if implemented) to customize the conversion
+ var defenderAsAny any = defender
+ if augmentedDefender, ok := defenderAsAny.(augmentConversionForManagedClusterSecurityProfileDefender_STATUS); ok {
+ err := augmentedDefender.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS populates the provided destination ManagedClusterSecurityProfileDefender_STATUS from our ManagedClusterSecurityProfileDefender_STATUS
+func (defender *ManagedClusterSecurityProfileDefender_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefender_STATUS(destination *storage.ManagedClusterSecurityProfileDefender_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(defender.PropertyBag)
+
+ // LogAnalyticsWorkspaceResourceId
+ destination.LogAnalyticsWorkspaceResourceId = genruntime.ClonePointerToString(defender.LogAnalyticsWorkspaceResourceId)
+
+ // SecurityMonitoring
+ if defender.SecurityMonitoring != nil {
+ var securityMonitoring storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+ err := defender.SecurityMonitoring.AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(&securityMonitoring)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS() to populate field SecurityMonitoring")
+ }
+ destination.SecurityMonitoring = &securityMonitoring
+ } else {
+ destination.SecurityMonitoring = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefender_STATUS interface (if implemented) to customize the conversion
+ var defenderAsAny any = defender
+ if augmentedDefender, ok := defenderAsAny.(augmentConversionForManagedClusterSecurityProfileDefender_STATUS); ok {
+ err := augmentedDefender.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileImageCleaner
+// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here
+// are settings for the security profile.
+type ManagedClusterSecurityProfileImageCleaner struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ IntervalHours *int `json:"intervalHours,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner populates our ManagedClusterSecurityProfileImageCleaner from the provided source ManagedClusterSecurityProfileImageCleaner
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner(source *storage.ManagedClusterSecurityProfileImageCleaner) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ cleaner.Enabled = &enabled
+ } else {
+ cleaner.Enabled = nil
+ }
+
+ // IntervalHours
+ cleaner.IntervalHours = genruntime.ClonePointerToInt(source.IntervalHours)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ cleaner.PropertyBag = propertyBag
+ } else {
+ cleaner.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageCleaner interface (if implemented) to customize the conversion
+ var cleanerAsAny any = cleaner
+ if augmentedCleaner, ok := cleanerAsAny.(augmentConversionForManagedClusterSecurityProfileImageCleaner); ok {
+ err := augmentedCleaner.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner populates the provided destination ManagedClusterSecurityProfileImageCleaner from our ManagedClusterSecurityProfileImageCleaner
+func (cleaner *ManagedClusterSecurityProfileImageCleaner) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner(destination *storage.ManagedClusterSecurityProfileImageCleaner) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(cleaner.PropertyBag)
+
+ // Enabled
+ if cleaner.Enabled != nil {
+ enabled := *cleaner.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IntervalHours
+ destination.IntervalHours = genruntime.ClonePointerToInt(cleaner.IntervalHours)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageCleaner interface (if implemented) to customize the conversion
+ var cleanerAsAny any = cleaner
+ if augmentedCleaner, ok := cleanerAsAny.(augmentConversionForManagedClusterSecurityProfileImageCleaner); ok {
+ err := augmentedCleaner.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileImageCleaner_STATUS
+// Image Cleaner removes unused images from nodes, freeing up disk space and helping to reduce attack surface area. Here
+// are settings for the security profile.
+type ManagedClusterSecurityProfileImageCleaner_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ IntervalHours *int `json:"intervalHours,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS populates our ManagedClusterSecurityProfileImageCleaner_STATUS from the provided source ManagedClusterSecurityProfileImageCleaner_STATUS
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageCleaner_STATUS(source *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ cleaner.Enabled = &enabled
+ } else {
+ cleaner.Enabled = nil
+ }
+
+ // IntervalHours
+ cleaner.IntervalHours = genruntime.ClonePointerToInt(source.IntervalHours)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ cleaner.PropertyBag = propertyBag
+ } else {
+ cleaner.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS interface (if implemented) to customize the conversion
+ var cleanerAsAny any = cleaner
+ if augmentedCleaner, ok := cleanerAsAny.(augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS); ok {
+ err := augmentedCleaner.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS populates the provided destination ManagedClusterSecurityProfileImageCleaner_STATUS from our ManagedClusterSecurityProfileImageCleaner_STATUS
+func (cleaner *ManagedClusterSecurityProfileImageCleaner_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageCleaner_STATUS(destination *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(cleaner.PropertyBag)
+
+ // Enabled
+ if cleaner.Enabled != nil {
+ enabled := *cleaner.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // IntervalHours
+ destination.IntervalHours = genruntime.ClonePointerToInt(cleaner.IntervalHours)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS interface (if implemented) to customize the conversion
+ var cleanerAsAny any = cleaner
+ if augmentedCleaner, ok := cleanerAsAny.(augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS); ok {
+ err := augmentedCleaner.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileImageIntegrity
+// Image integrity related settings for the security profile.
+type ManagedClusterSecurityProfileImageIntegrity struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity populates our ManagedClusterSecurityProfileImageIntegrity from the provided source ManagedClusterSecurityProfileImageIntegrity
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity(source *storage.ManagedClusterSecurityProfileImageIntegrity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ integrity.Enabled = &enabled
+ } else {
+ integrity.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ integrity.PropertyBag = propertyBag
+ } else {
+ integrity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageIntegrity interface (if implemented) to customize the conversion
+ var integrityAsAny any = integrity
+ if augmentedIntegrity, ok := integrityAsAny.(augmentConversionForManagedClusterSecurityProfileImageIntegrity); ok {
+ err := augmentedIntegrity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity populates the provided destination ManagedClusterSecurityProfileImageIntegrity from our ManagedClusterSecurityProfileImageIntegrity
+func (integrity *ManagedClusterSecurityProfileImageIntegrity) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity(destination *storage.ManagedClusterSecurityProfileImageIntegrity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(integrity.PropertyBag)
+
+ // Enabled
+ if integrity.Enabled != nil {
+ enabled := *integrity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageIntegrity interface (if implemented) to customize the conversion
+ var integrityAsAny any = integrity
+ if augmentedIntegrity, ok := integrityAsAny.(augmentConversionForManagedClusterSecurityProfileImageIntegrity); ok {
+ err := augmentedIntegrity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileImageIntegrity_STATUS
+// Image integrity related settings for the security profile.
+type ManagedClusterSecurityProfileImageIntegrity_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS populates our ManagedClusterSecurityProfileImageIntegrity_STATUS from the provided source ManagedClusterSecurityProfileImageIntegrity_STATUS
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileImageIntegrity_STATUS(source *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ integrity.Enabled = &enabled
+ } else {
+ integrity.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ integrity.PropertyBag = propertyBag
+ } else {
+ integrity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageIntegrity_STATUS interface (if implemented) to customize the conversion
+ var integrityAsAny any = integrity
+ if augmentedIntegrity, ok := integrityAsAny.(augmentConversionForManagedClusterSecurityProfileImageIntegrity_STATUS); ok {
+ err := augmentedIntegrity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS populates the provided destination ManagedClusterSecurityProfileImageIntegrity_STATUS from our ManagedClusterSecurityProfileImageIntegrity_STATUS
+func (integrity *ManagedClusterSecurityProfileImageIntegrity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileImageIntegrity_STATUS(destination *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(integrity.PropertyBag)
+
+ // Enabled
+ if integrity.Enabled != nil {
+ enabled := *integrity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileImageIntegrity_STATUS interface (if implemented) to customize the conversion
+ var integrityAsAny any = integrity
+ if augmentedIntegrity, ok := integrityAsAny.(augmentConversionForManagedClusterSecurityProfileImageIntegrity_STATUS); ok {
+ err := augmentedIntegrity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileNodeRestriction
+// Node Restriction settings for the security profile.
+type ManagedClusterSecurityProfileNodeRestriction struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction populates our ManagedClusterSecurityProfileNodeRestriction from the provided source ManagedClusterSecurityProfileNodeRestriction
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction(source *storage.ManagedClusterSecurityProfileNodeRestriction) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ restriction.Enabled = &enabled
+ } else {
+ restriction.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ restriction.PropertyBag = propertyBag
+ } else {
+ restriction.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileNodeRestriction interface (if implemented) to customize the conversion
+ var restrictionAsAny any = restriction
+ if augmentedRestriction, ok := restrictionAsAny.(augmentConversionForManagedClusterSecurityProfileNodeRestriction); ok {
+ err := augmentedRestriction.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction populates the provided destination ManagedClusterSecurityProfileNodeRestriction from our ManagedClusterSecurityProfileNodeRestriction
+func (restriction *ManagedClusterSecurityProfileNodeRestriction) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction(destination *storage.ManagedClusterSecurityProfileNodeRestriction) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(restriction.PropertyBag)
+
+ // Enabled
+ if restriction.Enabled != nil {
+ enabled := *restriction.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileNodeRestriction interface (if implemented) to customize the conversion
+ var restrictionAsAny any = restriction
+ if augmentedRestriction, ok := restrictionAsAny.(augmentConversionForManagedClusterSecurityProfileNodeRestriction); ok {
+ err := augmentedRestriction.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileNodeRestriction_STATUS
+// Node Restriction settings for the security profile.
+type ManagedClusterSecurityProfileNodeRestriction_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS populates our ManagedClusterSecurityProfileNodeRestriction_STATUS from the provided source ManagedClusterSecurityProfileNodeRestriction_STATUS
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_From_ManagedClusterSecurityProfileNodeRestriction_STATUS(source *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ restriction.Enabled = &enabled
+ } else {
+ restriction.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ restriction.PropertyBag = propertyBag
+ } else {
+ restriction.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS interface (if implemented) to customize the conversion
+ var restrictionAsAny any = restriction
+ if augmentedRestriction, ok := restrictionAsAny.(augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS); ok {
+ err := augmentedRestriction.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS populates the provided destination ManagedClusterSecurityProfileNodeRestriction_STATUS from our ManagedClusterSecurityProfileNodeRestriction_STATUS
+func (restriction *ManagedClusterSecurityProfileNodeRestriction_STATUS) AssignProperties_To_ManagedClusterSecurityProfileNodeRestriction_STATUS(destination *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(restriction.PropertyBag)
+
+ // Enabled
+ if restriction.Enabled != nil {
+ enabled := *restriction.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS interface (if implemented) to customize the conversion
+ var restrictionAsAny any = restriction
+ if augmentedRestriction, ok := restrictionAsAny.(augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS); ok {
+ err := augmentedRestriction.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileWorkloadIdentity
+// Workload identity settings for the security profile.
+type ManagedClusterSecurityProfileWorkloadIdentity struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity populates our ManagedClusterSecurityProfileWorkloadIdentity from the provided source ManagedClusterSecurityProfileWorkloadIdentity
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity(source *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ identity.Enabled = &enabled
+ } else {
+ identity.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileWorkloadIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterSecurityProfileWorkloadIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity from our ManagedClusterSecurityProfileWorkloadIdentity
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // Enabled
+ if identity.Enabled != nil {
+ enabled := *identity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileWorkloadIdentity interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterSecurityProfileWorkloadIdentity); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+// Workload identity settings for the security profile.
+type ManagedClusterSecurityProfileWorkloadIdentity_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates our ManagedClusterSecurityProfileWorkloadIdentity_STATUS from the provided source ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_From_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(source *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ identity.Enabled = &enabled
+ } else {
+ identity.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ identity.PropertyBag = propertyBag
+ } else {
+ identity.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS populates the provided destination ManagedClusterSecurityProfileWorkloadIdentity_STATUS from our ManagedClusterSecurityProfileWorkloadIdentity_STATUS
+func (identity *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) AssignProperties_To_ManagedClusterSecurityProfileWorkloadIdentity_STATUS(destination *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(identity.PropertyBag)
+
+ // Enabled
+ if identity.Enabled != nil {
+ enabled := *identity.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS interface (if implemented) to customize the conversion
+ var identityAsAny any = identity
+ if augmentedIdentity, ok := identityAsAny.(augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS); ok {
+ err := augmentedIdentity.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStaticEgressGatewayProfile
+// The Static Egress Gateway addon configuration for the cluster.
+type ManagedClusterStaticEgressGatewayProfile struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStaticEgressGatewayProfile_STATUS
+// The Static Egress Gateway addon configuration for the cluster.
+type ManagedClusterStaticEgressGatewayProfile_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileBlobCSIDriver
+// AzureBlob CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileBlobCSIDriver struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver populates our ManagedClusterStorageProfileBlobCSIDriver from the provided source ManagedClusterStorageProfileBlobCSIDriver
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver(source *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ driver.PropertyBag = propertyBag
+ } else {
+ driver.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileBlobCSIDriver interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileBlobCSIDriver); ok {
+ err := augmentedDriver.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver populates the provided destination ManagedClusterStorageProfileBlobCSIDriver from our ManagedClusterStorageProfileBlobCSIDriver
+func (driver *ManagedClusterStorageProfileBlobCSIDriver) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver(destination *storage.ManagedClusterStorageProfileBlobCSIDriver) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileBlobCSIDriver interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileBlobCSIDriver); ok {
+ err := augmentedDriver.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileBlobCSIDriver_STATUS
+// AzureBlob CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileBlobCSIDriver_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates our ManagedClusterStorageProfileBlobCSIDriver_STATUS from the provided source ManagedClusterStorageProfileBlobCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileBlobCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ driver.PropertyBag = propertyBag
+ } else {
+ driver.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS); ok {
+ err := augmentedDriver.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileBlobCSIDriver_STATUS from our ManagedClusterStorageProfileBlobCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileBlobCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileBlobCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS); ok {
+ err := augmentedDriver.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileDiskCSIDriver
+// AzureDisk CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileDiskCSIDriver struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Version *string `json:"version,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver populates our ManagedClusterStorageProfileDiskCSIDriver from the provided source ManagedClusterStorageProfileDiskCSIDriver
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver(source *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Version
+ driver.Version = genruntime.ClonePointerToString(source.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ driver.PropertyBag = propertyBag
+ } else {
+ driver.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileDiskCSIDriver interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileDiskCSIDriver); ok {
+ err := augmentedDriver.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver populates the provided destination ManagedClusterStorageProfileDiskCSIDriver from our ManagedClusterStorageProfileDiskCSIDriver
+func (driver *ManagedClusterStorageProfileDiskCSIDriver) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver(destination *storage.ManagedClusterStorageProfileDiskCSIDriver) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(driver.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileDiskCSIDriver interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileDiskCSIDriver); ok {
+ err := augmentedDriver.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileDiskCSIDriver_STATUS
+// AzureDisk CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileDiskCSIDriver_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Version *string `json:"version,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates our ManagedClusterStorageProfileDiskCSIDriver_STATUS from the provided source ManagedClusterStorageProfileDiskCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileDiskCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Version
+ driver.Version = genruntime.ClonePointerToString(source.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ driver.PropertyBag = propertyBag
+ } else {
+ driver.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS); ok {
+ err := augmentedDriver.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileDiskCSIDriver_STATUS from our ManagedClusterStorageProfileDiskCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileDiskCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileDiskCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Version
+ destination.Version = genruntime.ClonePointerToString(driver.Version)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS); ok {
+ err := augmentedDriver.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileFileCSIDriver
+// AzureFile CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileFileCSIDriver struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver populates our ManagedClusterStorageProfileFileCSIDriver from the provided source ManagedClusterStorageProfileFileCSIDriver
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver(source *storage.ManagedClusterStorageProfileFileCSIDriver) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ driver.PropertyBag = propertyBag
+ } else {
+ driver.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileFileCSIDriver interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileFileCSIDriver); ok {
+ err := augmentedDriver.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver populates the provided destination ManagedClusterStorageProfileFileCSIDriver from our ManagedClusterStorageProfileFileCSIDriver
+func (driver *ManagedClusterStorageProfileFileCSIDriver) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver(destination *storage.ManagedClusterStorageProfileFileCSIDriver) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileFileCSIDriver interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileFileCSIDriver); ok {
+ err := augmentedDriver.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileFileCSIDriver_STATUS
+// AzureFile CSI Driver settings for the storage profile.
+type ManagedClusterStorageProfileFileCSIDriver_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS populates our ManagedClusterStorageProfileFileCSIDriver_STATUS from the provided source ManagedClusterStorageProfileFileCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_From_ManagedClusterStorageProfileFileCSIDriver_STATUS(source *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ driver.Enabled = &enabled
+ } else {
+ driver.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ driver.PropertyBag = propertyBag
+ } else {
+ driver.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS); ok {
+ err := augmentedDriver.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS populates the provided destination ManagedClusterStorageProfileFileCSIDriver_STATUS from our ManagedClusterStorageProfileFileCSIDriver_STATUS
+func (driver *ManagedClusterStorageProfileFileCSIDriver_STATUS) AssignProperties_To_ManagedClusterStorageProfileFileCSIDriver_STATUS(destination *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(driver.PropertyBag)
+
+ // Enabled
+ if driver.Enabled != nil {
+ enabled := *driver.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS interface (if implemented) to customize the conversion
+ var driverAsAny any = driver
+ if augmentedDriver, ok := driverAsAny.(augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS); ok {
+ err := augmentedDriver.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileSnapshotController
+// Snapshot Controller settings for the storage profile.
+type ManagedClusterStorageProfileSnapshotController struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileSnapshotController populates our ManagedClusterStorageProfileSnapshotController from the provided source ManagedClusterStorageProfileSnapshotController
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_From_ManagedClusterStorageProfileSnapshotController(source *storage.ManagedClusterStorageProfileSnapshotController) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ controller.Enabled = &enabled
+ } else {
+ controller.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ controller.PropertyBag = propertyBag
+ } else {
+ controller.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileSnapshotController interface (if implemented) to customize the conversion
+ var controllerAsAny any = controller
+ if augmentedController, ok := controllerAsAny.(augmentConversionForManagedClusterStorageProfileSnapshotController); ok {
+ err := augmentedController.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileSnapshotController populates the provided destination ManagedClusterStorageProfileSnapshotController from our ManagedClusterStorageProfileSnapshotController
+func (controller *ManagedClusterStorageProfileSnapshotController) AssignProperties_To_ManagedClusterStorageProfileSnapshotController(destination *storage.ManagedClusterStorageProfileSnapshotController) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(controller.PropertyBag)
+
+ // Enabled
+ if controller.Enabled != nil {
+ enabled := *controller.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileSnapshotController interface (if implemented) to customize the conversion
+ var controllerAsAny any = controller
+ if augmentedController, ok := controllerAsAny.(augmentConversionForManagedClusterStorageProfileSnapshotController); ok {
+ err := augmentedController.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterStorageProfileSnapshotController_STATUS
+// Snapshot Controller settings for the storage profile.
+type ManagedClusterStorageProfileSnapshotController_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS populates our ManagedClusterStorageProfileSnapshotController_STATUS from the provided source ManagedClusterStorageProfileSnapshotController_STATUS
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_From_ManagedClusterStorageProfileSnapshotController_STATUS(source *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ controller.Enabled = &enabled
+ } else {
+ controller.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ controller.PropertyBag = propertyBag
+ } else {
+ controller.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS interface (if implemented) to customize the conversion
+ var controllerAsAny any = controller
+ if augmentedController, ok := controllerAsAny.(augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS); ok {
+ err := augmentedController.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS populates the provided destination ManagedClusterStorageProfileSnapshotController_STATUS from our ManagedClusterStorageProfileSnapshotController_STATUS
+func (controller *ManagedClusterStorageProfileSnapshotController_STATUS) AssignProperties_To_ManagedClusterStorageProfileSnapshotController_STATUS(destination *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(controller.PropertyBag)
+
+ // Enabled
+ if controller.Enabled != nil {
+ enabled := *controller.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS interface (if implemented) to customize the conversion
+ var controllerAsAny any = controller
+ if augmentedController, ok := controllerAsAny.(augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS); ok {
+ err := augmentedController.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWorkloadAutoScalerProfileKeda
+// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+type ManagedClusterWorkloadAutoScalerProfileKeda struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda populates our ManagedClusterWorkloadAutoScalerProfileKeda from the provided source ManagedClusterWorkloadAutoScalerProfileKeda
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ keda.Enabled = &enabled
+ } else {
+ keda.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ keda.PropertyBag = propertyBag
+ } else {
+ keda.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda interface (if implemented) to customize the conversion
+ var kedaAsAny any = keda
+ if augmentedKeda, ok := kedaAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda); ok {
+ err := augmentedKeda.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda from our ManagedClusterWorkloadAutoScalerProfileKeda
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(keda.PropertyBag)
+
+ // Enabled
+ if keda.Enabled != nil {
+ enabled := *keda.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda interface (if implemented) to customize the conversion
+ var kedaAsAny any = keda
+ if augmentedKeda, ok := kedaAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda); ok {
+ err := augmentedKeda.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+// KEDA (Kubernetes Event-driven Autoscaling) settings for the workload auto-scaler profile.
+type ManagedClusterWorkloadAutoScalerProfileKeda_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ keda.Enabled = &enabled
+ } else {
+ keda.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ keda.PropertyBag = propertyBag
+ } else {
+ keda.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS interface (if implemented) to customize the conversion
+ var kedaAsAny any = keda
+ if augmentedKeda, ok := kedaAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS); ok {
+ err := augmentedKeda.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileKeda_STATUS from our ManagedClusterWorkloadAutoScalerProfileKeda_STATUS
+func (keda *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileKeda_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(keda.PropertyBag)
+
+ // Enabled
+ if keda.Enabled != nil {
+ enabled := *keda.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS interface (if implemented) to customize the conversion
+ var kedaAsAny any = keda
+ if augmentedKeda, ok := kedaAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS); ok {
+ err := augmentedKeda.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler struct {
+ AddonAutoscaling *string `json:"addonAutoscaling,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AddonAutoscaling
+ autoscaler.AddonAutoscaling = genruntime.ClonePointerToString(source.AddonAutoscaling)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ autoscaler.Enabled = &enabled
+ } else {
+ autoscaler.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ autoscaler.PropertyBag = propertyBag
+ } else {
+ autoscaler.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler interface (if implemented) to customize the conversion
+ var autoscalerAsAny any = autoscaler
+ if augmentedAutoscaler, ok := autoscalerAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler); ok {
+ err := augmentedAutoscaler.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(autoscaler.PropertyBag)
+
+ // AddonAutoscaling
+ destination.AddonAutoscaling = genruntime.ClonePointerToString(autoscaler.AddonAutoscaling)
+
+ // Enabled
+ if autoscaler.Enabled != nil {
+ enabled := *autoscaler.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler interface (if implemented) to customize the conversion
+ var autoscalerAsAny any = autoscaler
+ if augmentedAutoscaler, ok := autoscalerAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler); ok {
+ err := augmentedAutoscaler.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS struct {
+ AddonAutoscaling *string `json:"addonAutoscaling,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from the provided source ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_From_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(source *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AddonAutoscaling
+ autoscaler.AddonAutoscaling = genruntime.ClonePointerToString(source.AddonAutoscaling)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ autoscaler.Enabled = &enabled
+ } else {
+ autoscaler.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ autoscaler.PropertyBag = propertyBag
+ } else {
+ autoscaler.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS interface (if implemented) to customize the conversion
+ var autoscalerAsAny any = autoscaler
+ if augmentedAutoscaler, ok := autoscalerAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS); ok {
+ err := augmentedAutoscaler.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS populates the provided destination ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS from our ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS
+func (autoscaler *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) AssignProperties_To_ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS(destination *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(autoscaler.PropertyBag)
+
+ // AddonAutoscaling
+ destination.AddonAutoscaling = genruntime.ClonePointerToString(autoscaler.AddonAutoscaling)
+
+ // Enabled
+ if autoscaler.Enabled != nil {
+ enabled := *autoscaler.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS interface (if implemented) to customize the conversion
+ var autoscalerAsAny any = autoscaler
+ if augmentedAutoscaler, ok := autoscalerAsAny.(augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS); ok {
+ err := augmentedAutoscaler.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.UpgradeOverrideSettings
+// Settings for overrides when upgrading a cluster.
+type UpgradeOverrideSettings struct {
+ ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Until *string `json:"until,omitempty"`
+}
+
+// AssignProperties_From_UpgradeOverrideSettings populates our UpgradeOverrideSettings from the provided source UpgradeOverrideSettings
+func (settings *UpgradeOverrideSettings) AssignProperties_From_UpgradeOverrideSettings(source *storage.UpgradeOverrideSettings) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ForceUpgrade
+ if source.ForceUpgrade != nil {
+ forceUpgrade := *source.ForceUpgrade
+ settings.ForceUpgrade = &forceUpgrade
+ } else {
+ settings.ForceUpgrade = nil
+ }
+
+ // Until
+ settings.Until = genruntime.ClonePointerToString(source.Until)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ settings.PropertyBag = propertyBag
+ } else {
+ settings.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUpgradeOverrideSettings interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForUpgradeOverrideSettings); ok {
+ err := augmentedSettings.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UpgradeOverrideSettings populates the provided destination UpgradeOverrideSettings from our UpgradeOverrideSettings
+func (settings *UpgradeOverrideSettings) AssignProperties_To_UpgradeOverrideSettings(destination *storage.UpgradeOverrideSettings) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
+
+ // ForceUpgrade
+ if settings.ForceUpgrade != nil {
+ forceUpgrade := *settings.ForceUpgrade
+ destination.ForceUpgrade = &forceUpgrade
+ } else {
+ destination.ForceUpgrade = nil
+ }
+
+ // Until
+ destination.Until = genruntime.ClonePointerToString(settings.Until)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUpgradeOverrideSettings interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForUpgradeOverrideSettings); ok {
+ err := augmentedSettings.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.UpgradeOverrideSettings_STATUS
+// Settings for overrides when upgrading a cluster.
+type UpgradeOverrideSettings_STATUS struct {
+ ForceUpgrade *bool `json:"forceUpgrade,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Until *string `json:"until,omitempty"`
+}
+
+// AssignProperties_From_UpgradeOverrideSettings_STATUS populates our UpgradeOverrideSettings_STATUS from the provided source UpgradeOverrideSettings_STATUS
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_From_UpgradeOverrideSettings_STATUS(source *storage.UpgradeOverrideSettings_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ForceUpgrade
+ if source.ForceUpgrade != nil {
+ forceUpgrade := *source.ForceUpgrade
+ settings.ForceUpgrade = &forceUpgrade
+ } else {
+ settings.ForceUpgrade = nil
+ }
+
+ // Until
+ settings.Until = genruntime.ClonePointerToString(source.Until)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ settings.PropertyBag = propertyBag
+ } else {
+ settings.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUpgradeOverrideSettings_STATUS interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForUpgradeOverrideSettings_STATUS); ok {
+ err := augmentedSettings.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UpgradeOverrideSettings_STATUS populates the provided destination UpgradeOverrideSettings_STATUS from our UpgradeOverrideSettings_STATUS
+func (settings *UpgradeOverrideSettings_STATUS) AssignProperties_To_UpgradeOverrideSettings_STATUS(destination *storage.UpgradeOverrideSettings_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
+
+ // ForceUpgrade
+ if settings.ForceUpgrade != nil {
+ forceUpgrade := *settings.ForceUpgrade
+ destination.ForceUpgrade = &forceUpgrade
+ } else {
+ destination.ForceUpgrade = nil
+ }
+
+ // Until
+ destination.Until = genruntime.ClonePointerToString(settings.Until)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUpgradeOverrideSettings_STATUS interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForUpgradeOverrideSettings_STATUS); ok {
+ err := augmentedSettings.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.UserAssignedIdentityDetails
+// Information about the user assigned identity for the resource
+type UserAssignedIdentityDetails struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
+}
+
+// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Reference
+ details.Reference = source.Reference.Copy()
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ details.PropertyBag = propertyBag
+ } else {
+ details.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUserAssignedIdentityDetails interface (if implemented) to customize the conversion
+ var detailsAsAny any = details
+ if augmentedDetails, ok := detailsAsAny.(augmentConversionForUserAssignedIdentityDetails); ok {
+ err := augmentedDetails.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(details.PropertyBag)
+
+ // Reference
+ destination.Reference = details.Reference.Copy()
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForUserAssignedIdentityDetails interface (if implemented) to customize the conversion
+ var detailsAsAny any = details
+ if augmentedDetails, ok := detailsAsAny.(augmentConversionForUserAssignedIdentityDetails); ok {
+ err := augmentedDetails.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.WindowsGmsaProfile
+// Windows gMSA Profile in the managed cluster.
+type WindowsGmsaProfile struct {
+ DnsServer *string `json:"dnsServer,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RootDomainName *string `json:"rootDomainName,omitempty"`
+}
+
+// AssignProperties_From_WindowsGmsaProfile populates our WindowsGmsaProfile from the provided source WindowsGmsaProfile
+func (profile *WindowsGmsaProfile) AssignProperties_From_WindowsGmsaProfile(source *storage.WindowsGmsaProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DnsServer
+ profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // RootDomainName
+ profile.RootDomainName = genruntime.ClonePointerToString(source.RootDomainName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForWindowsGmsaProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForWindowsGmsaProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_WindowsGmsaProfile populates the provided destination WindowsGmsaProfile from our WindowsGmsaProfile
+func (profile *WindowsGmsaProfile) AssignProperties_To_WindowsGmsaProfile(destination *storage.WindowsGmsaProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // DnsServer
+ destination.DnsServer = genruntime.ClonePointerToString(profile.DnsServer)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // RootDomainName
+ destination.RootDomainName = genruntime.ClonePointerToString(profile.RootDomainName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForWindowsGmsaProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForWindowsGmsaProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.WindowsGmsaProfile_STATUS
+// Windows gMSA Profile in the managed cluster.
+type WindowsGmsaProfile_STATUS struct {
+ DnsServer *string `json:"dnsServer,omitempty"`
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RootDomainName *string `json:"rootDomainName,omitempty"`
+}
+
+// AssignProperties_From_WindowsGmsaProfile_STATUS populates our WindowsGmsaProfile_STATUS from the provided source WindowsGmsaProfile_STATUS
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_From_WindowsGmsaProfile_STATUS(source *storage.WindowsGmsaProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DnsServer
+ profile.DnsServer = genruntime.ClonePointerToString(source.DnsServer)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // RootDomainName
+ profile.RootDomainName = genruntime.ClonePointerToString(source.RootDomainName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForWindowsGmsaProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForWindowsGmsaProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_WindowsGmsaProfile_STATUS populates the provided destination WindowsGmsaProfile_STATUS from our WindowsGmsaProfile_STATUS
+func (profile *WindowsGmsaProfile_STATUS) AssignProperties_To_WindowsGmsaProfile_STATUS(destination *storage.WindowsGmsaProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // DnsServer
+ destination.DnsServer = genruntime.ClonePointerToString(profile.DnsServer)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // RootDomainName
+ destination.RootDomainName = genruntime.ClonePointerToString(profile.RootDomainName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForWindowsGmsaProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForWindowsGmsaProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AdvancedNetworkingObservability
+// Observability profile to enable advanced network metrics and flow logs with historical contexts.
+type AdvancedNetworkingObservability struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.AdvancedNetworkingObservability_STATUS
+// Observability profile to enable advanced network metrics and flow logs with historical contexts.
+type AdvancedNetworkingObservability_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+type augmentConversionForAzureKeyVaultKms interface {
+ AssignPropertiesFrom(src *storage.AzureKeyVaultKms) error
+ AssignPropertiesTo(dst *storage.AzureKeyVaultKms) error
+}
+
+type augmentConversionForAzureKeyVaultKms_STATUS interface {
+ AssignPropertiesFrom(src *storage.AzureKeyVaultKms_STATUS) error
+ AssignPropertiesTo(dst *storage.AzureKeyVaultKms_STATUS) error
+}
+
+type augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_KubeProxyConfig) error
+}
+
+type augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) error
+}
+
+type augmentConversionForContainerServiceSshConfiguration interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceSshConfiguration) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshConfiguration) error
+}
+
+type augmentConversionForContainerServiceSshConfiguration_STATUS interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceSshConfiguration_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshConfiguration_STATUS) error
+}
+
+type augmentConversionForDelegatedResource interface {
+ AssignPropertiesFrom(src *storage.DelegatedResource) error
+ AssignPropertiesTo(dst *storage.DelegatedResource) error
+}
+
+type augmentConversionForDelegatedResource_STATUS interface {
+ AssignPropertiesFrom(src *storage.DelegatedResource_STATUS) error
+ AssignPropertiesTo(dst *storage.DelegatedResource_STATUS) error
+}
+
+type augmentConversionForIstioServiceMesh interface {
+ AssignPropertiesFrom(src *storage.IstioServiceMesh) error
+ AssignPropertiesTo(dst *storage.IstioServiceMesh) error
+}
+
+type augmentConversionForIstioServiceMesh_STATUS interface {
+ AssignPropertiesFrom(src *storage.IstioServiceMesh_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioServiceMesh_STATUS) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileAppMonitoring) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileContainerInsights interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileContainerInsights) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileContainerInsights) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileContainerInsights_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileContainerInsights_STATUS) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileMetrics interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileMetrics) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileMetrics) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileMetrics_STATUS) error
+}
+
+type augmentConversionForManagedClusterCostAnalysis interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterCostAnalysis) error
+ AssignPropertiesTo(dst *storage.ManagedClusterCostAnalysis) error
+}
+
+type augmentConversionForManagedClusterCostAnalysis_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterCostAnalysis_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterCostAnalysis_STATUS) error
+}
+
+type augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIdentity_UserAssignedIdentities_STATUS) error
+}
+
+type augmentConversionForManagedClusterIngressProfileWebAppRouting interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIngressProfileWebAppRouting) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIngressProfileWebAppRouting) error
+}
+
+type augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterIngressProfileWebAppRouting_STATUS) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterNATGatewayProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterNATGatewayProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNATGatewayProfile) error
+}
+
+type augmentConversionForManagedClusterNATGatewayProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterNATGatewayProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterNATGatewayProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterOperatorConfigMaps interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorConfigMaps) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorConfigMaps) error
+}
+
+type augmentConversionForManagedClusterOperatorSecrets interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterOperatorSecrets) error
+ AssignPropertiesTo(dst *storage.ManagedClusterOperatorSecrets) error
+}
+
+type augmentConversionForManagedClusterPodIdentity interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity) error
+}
+
+type augmentConversionForManagedClusterPodIdentity_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity_STATUS) error
+}
+
+type augmentConversionForManagedClusterPodIdentityException interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityException) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityException) error
+}
+
+type augmentConversionForManagedClusterPodIdentityException_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityException_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityException_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileDefender interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefender) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefender) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileDefender_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefender_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefender_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileImageCleaner interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileImageCleaner) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileImageCleaner) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileImageCleaner_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileImageIntegrity interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileImageIntegrity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileImageIntegrity) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileImageIntegrity_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileImageIntegrity_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileNodeRestriction interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileNodeRestriction) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileNodeRestriction) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileNodeRestriction_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileWorkloadIdentity interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileWorkloadIdentity) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileWorkloadIdentity) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileWorkloadIdentity_STATUS) error
+}
+
+type augmentConversionForManagedClusterStorageProfileBlobCSIDriver interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileBlobCSIDriver) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileBlobCSIDriver) error
+}
+
+type augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileBlobCSIDriver_STATUS) error
+}
+
+type augmentConversionForManagedClusterStorageProfileDiskCSIDriver interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileDiskCSIDriver) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileDiskCSIDriver) error
+}
+
+type augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileDiskCSIDriver_STATUS) error
+}
+
+type augmentConversionForManagedClusterStorageProfileFileCSIDriver interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileFileCSIDriver) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileFileCSIDriver) error
+}
+
+type augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileFileCSIDriver_STATUS) error
+}
+
+type augmentConversionForManagedClusterStorageProfileSnapshotController interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileSnapshotController) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileSnapshotController) error
+}
+
+type augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterStorageProfileSnapshotController_STATUS) error
+}
+
+type augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileKeda) error
+}
+
+type augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) error
+}
+
+type augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) error
+}
+
+type augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) error
+}
+
+type augmentConversionForUpgradeOverrideSettings interface {
+ AssignPropertiesFrom(src *storage.UpgradeOverrideSettings) error
+ AssignPropertiesTo(dst *storage.UpgradeOverrideSettings) error
+}
+
+type augmentConversionForUpgradeOverrideSettings_STATUS interface {
+ AssignPropertiesFrom(src *storage.UpgradeOverrideSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.UpgradeOverrideSettings_STATUS) error
+}
+
+type augmentConversionForUserAssignedIdentityDetails interface {
+ AssignPropertiesFrom(src *storage.UserAssignedIdentityDetails) error
+ AssignPropertiesTo(dst *storage.UserAssignedIdentityDetails) error
+}
+
+type augmentConversionForWindowsGmsaProfile interface {
+ AssignPropertiesFrom(src *storage.WindowsGmsaProfile) error
+ AssignPropertiesTo(dst *storage.WindowsGmsaProfile) error
+}
+
+type augmentConversionForWindowsGmsaProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.WindowsGmsaProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.WindowsGmsaProfile_STATUS) error
+}
+
+// Storage version of v1api20240402preview.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Scheduler *string `json:"scheduler,omitempty"`
+ TcpFinTimeoutSeconds *int `json:"tcpFinTimeoutSeconds,omitempty"`
+ TcpTimeoutSeconds *int `json:"tcpTimeoutSeconds,omitempty"`
+ UdpTimeoutSeconds *int `json:"udpTimeoutSeconds,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Scheduler
+ config.Scheduler = genruntime.ClonePointerToString(source.Scheduler)
+
+ // TcpFinTimeoutSeconds
+ config.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ config.TcpTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ config.UdpTimeoutSeconds = genruntime.ClonePointerToInt(source.UdpTimeoutSeconds)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // Scheduler
+ destination.Scheduler = genruntime.ClonePointerToString(config.Scheduler)
+
+ // TcpFinTimeoutSeconds
+ destination.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ destination.TcpTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ destination.UdpTimeoutSeconds = genruntime.ClonePointerToInt(config.UdpTimeoutSeconds)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+type ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Scheduler *string `json:"scheduler,omitempty"`
+ TcpFinTimeoutSeconds *int `json:"tcpFinTimeoutSeconds,omitempty"`
+ TcpTimeoutSeconds *int `json:"tcpTimeoutSeconds,omitempty"`
+ UdpTimeoutSeconds *int `json:"udpTimeoutSeconds,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from the provided source ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_From_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(source *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Scheduler
+ config.Scheduler = genruntime.ClonePointerToString(source.Scheduler)
+
+ // TcpFinTimeoutSeconds
+ config.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ config.TcpTimeoutSeconds = genruntime.ClonePointerToInt(source.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ config.UdpTimeoutSeconds = genruntime.ClonePointerToInt(source.UdpTimeoutSeconds)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS populates the provided destination ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS from our ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS
+func (config *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) AssignProperties_To_ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS(destination *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // Scheduler
+ destination.Scheduler = genruntime.ClonePointerToString(config.Scheduler)
+
+ // TcpFinTimeoutSeconds
+ destination.TcpFinTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpFinTimeoutSeconds)
+
+ // TcpTimeoutSeconds
+ destination.TcpTimeoutSeconds = genruntime.ClonePointerToInt(config.TcpTimeoutSeconds)
+
+ // UdpTimeoutSeconds
+ destination.UdpTimeoutSeconds = genruntime.ClonePointerToInt(config.UdpTimeoutSeconds)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceSshPublicKey
+// Contains information about SSH certificate public key data.
+type ContainerServiceSshPublicKey struct {
+ KeyData *string `json:"keyData,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceSshPublicKey populates our ContainerServiceSshPublicKey from the provided source ContainerServiceSshPublicKey
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_From_ContainerServiceSshPublicKey(source *storage.ContainerServiceSshPublicKey) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // KeyData
+ publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ publicKey.PropertyBag = propertyBag
+ } else {
+ publicKey.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshPublicKey interface (if implemented) to customize the conversion
+ var publicKeyAsAny any = publicKey
+ if augmentedPublicKey, ok := publicKeyAsAny.(augmentConversionForContainerServiceSshPublicKey); ok {
+ err := augmentedPublicKey.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshPublicKey populates the provided destination ContainerServiceSshPublicKey from our ContainerServiceSshPublicKey
+func (publicKey *ContainerServiceSshPublicKey) AssignProperties_To_ContainerServiceSshPublicKey(destination *storage.ContainerServiceSshPublicKey) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(publicKey.PropertyBag)
+
+ // KeyData
+ destination.KeyData = genruntime.ClonePointerToString(publicKey.KeyData)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshPublicKey interface (if implemented) to customize the conversion
+ var publicKeyAsAny any = publicKey
+ if augmentedPublicKey, ok := publicKeyAsAny.(augmentConversionForContainerServiceSshPublicKey); ok {
+ err := augmentedPublicKey.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ContainerServiceSshPublicKey_STATUS
+// Contains information about SSH certificate public key data.
+type ContainerServiceSshPublicKey_STATUS struct {
+ KeyData *string `json:"keyData,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ContainerServiceSshPublicKey_STATUS populates our ContainerServiceSshPublicKey_STATUS from the provided source ContainerServiceSshPublicKey_STATUS
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_From_ContainerServiceSshPublicKey_STATUS(source *storage.ContainerServiceSshPublicKey_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // KeyData
+ publicKey.KeyData = genruntime.ClonePointerToString(source.KeyData)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ publicKey.PropertyBag = propertyBag
+ } else {
+ publicKey.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshPublicKey_STATUS interface (if implemented) to customize the conversion
+ var publicKeyAsAny any = publicKey
+ if augmentedPublicKey, ok := publicKeyAsAny.(augmentConversionForContainerServiceSshPublicKey_STATUS); ok {
+ err := augmentedPublicKey.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ContainerServiceSshPublicKey_STATUS populates the provided destination ContainerServiceSshPublicKey_STATUS from our ContainerServiceSshPublicKey_STATUS
+func (publicKey *ContainerServiceSshPublicKey_STATUS) AssignProperties_To_ContainerServiceSshPublicKey_STATUS(destination *storage.ContainerServiceSshPublicKey_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(publicKey.PropertyBag)
+
+ // KeyData
+ destination.KeyData = genruntime.ClonePointerToString(publicKey.KeyData)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForContainerServiceSshPublicKey_STATUS interface (if implemented) to customize the conversion
+ var publicKeyAsAny any = publicKey
+ if augmentedPublicKey, ok := publicKeyAsAny.(augmentConversionForContainerServiceSshPublicKey_STATUS); ok {
+ err := augmentedPublicKey.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioCertificateAuthority
+// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described
+// here https://aka.ms/asm-plugin-ca
+type IstioCertificateAuthority struct {
+ Plugin *IstioPluginCertificateAuthority `json:"plugin,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioCertificateAuthority populates our IstioCertificateAuthority from the provided source IstioCertificateAuthority
+func (authority *IstioCertificateAuthority) AssignProperties_From_IstioCertificateAuthority(source *storage.IstioCertificateAuthority) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Plugin
+ if source.Plugin != nil {
+ var plugin IstioPluginCertificateAuthority
+ err := plugin.AssignProperties_From_IstioPluginCertificateAuthority(source.Plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioPluginCertificateAuthority() to populate field Plugin")
+ }
+ authority.Plugin = &plugin
+ } else {
+ authority.Plugin = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ authority.PropertyBag = propertyBag
+ } else {
+ authority.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioCertificateAuthority interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioCertificateAuthority); ok {
+ err := augmentedAuthority.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioCertificateAuthority populates the provided destination IstioCertificateAuthority from our IstioCertificateAuthority
+func (authority *IstioCertificateAuthority) AssignProperties_To_IstioCertificateAuthority(destination *storage.IstioCertificateAuthority) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(authority.PropertyBag)
+
+ // Plugin
+ if authority.Plugin != nil {
+ var plugin storage.IstioPluginCertificateAuthority
+ err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority(&plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority() to populate field Plugin")
+ }
+ destination.Plugin = &plugin
+ } else {
+ destination.Plugin = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioCertificateAuthority interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioCertificateAuthority); ok {
+ err := augmentedAuthority.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioCertificateAuthority_STATUS
+// Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described
+// here https://aka.ms/asm-plugin-ca
+type IstioCertificateAuthority_STATUS struct {
+ Plugin *IstioPluginCertificateAuthority_STATUS `json:"plugin,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioCertificateAuthority_STATUS populates our IstioCertificateAuthority_STATUS from the provided source IstioCertificateAuthority_STATUS
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_From_IstioCertificateAuthority_STATUS(source *storage.IstioCertificateAuthority_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Plugin
+ if source.Plugin != nil {
+ var plugin IstioPluginCertificateAuthority_STATUS
+ err := plugin.AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source.Plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioPluginCertificateAuthority_STATUS() to populate field Plugin")
+ }
+ authority.Plugin = &plugin
+ } else {
+ authority.Plugin = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ authority.PropertyBag = propertyBag
+ } else {
+ authority.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioCertificateAuthority_STATUS interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioCertificateAuthority_STATUS); ok {
+ err := augmentedAuthority.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioCertificateAuthority_STATUS populates the provided destination IstioCertificateAuthority_STATUS from our IstioCertificateAuthority_STATUS
+func (authority *IstioCertificateAuthority_STATUS) AssignProperties_To_IstioCertificateAuthority_STATUS(destination *storage.IstioCertificateAuthority_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(authority.PropertyBag)
+
+ // Plugin
+ if authority.Plugin != nil {
+ var plugin storage.IstioPluginCertificateAuthority_STATUS
+ err := authority.Plugin.AssignProperties_To_IstioPluginCertificateAuthority_STATUS(&plugin)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioPluginCertificateAuthority_STATUS() to populate field Plugin")
+ }
+ destination.Plugin = &plugin
+ } else {
+ destination.Plugin = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioCertificateAuthority_STATUS interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioCertificateAuthority_STATUS); ok {
+ err := augmentedAuthority.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioComponents
+// Istio components configuration.
+type IstioComponents struct {
+ EgressGateways []IstioEgressGateway `json:"egressGateways,omitempty"`
+ IngressGateways []IstioIngressGateway `json:"ingressGateways,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioComponents populates our IstioComponents from the provided source IstioComponents
+func (components *IstioComponents) AssignProperties_From_IstioComponents(source *storage.IstioComponents) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EgressGateways
+ if source.EgressGateways != nil {
+ egressGatewayList := make([]IstioEgressGateway, len(source.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range source.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway IstioEgressGateway
+ err := egressGateway.AssignProperties_From_IstioEgressGateway(&egressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioEgressGateway() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ components.EgressGateways = egressGatewayList
+ } else {
+ components.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if source.IngressGateways != nil {
+ ingressGatewayList := make([]IstioIngressGateway, len(source.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range source.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway IstioIngressGateway
+ err := ingressGateway.AssignProperties_From_IstioIngressGateway(&ingressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioIngressGateway() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ components.IngressGateways = ingressGatewayList
+ } else {
+ components.IngressGateways = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ components.PropertyBag = propertyBag
+ } else {
+ components.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioComponents interface (if implemented) to customize the conversion
+ var componentsAsAny any = components
+ if augmentedComponents, ok := componentsAsAny.(augmentConversionForIstioComponents); ok {
+ err := augmentedComponents.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioComponents populates the provided destination IstioComponents from our IstioComponents
+func (components *IstioComponents) AssignProperties_To_IstioComponents(destination *storage.IstioComponents) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(components.PropertyBag)
+
+ // EgressGateways
+ if components.EgressGateways != nil {
+ egressGatewayList := make([]storage.IstioEgressGateway, len(components.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway storage.IstioEgressGateway
+ err := egressGatewayItem.AssignProperties_To_IstioEgressGateway(&egressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ destination.EgressGateways = egressGatewayList
+ } else {
+ destination.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if components.IngressGateways != nil {
+ ingressGatewayList := make([]storage.IstioIngressGateway, len(components.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway storage.IstioIngressGateway
+ err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway(&ingressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ destination.IngressGateways = ingressGatewayList
+ } else {
+ destination.IngressGateways = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioComponents interface (if implemented) to customize the conversion
+ var componentsAsAny any = components
+ if augmentedComponents, ok := componentsAsAny.(augmentConversionForIstioComponents); ok {
+ err := augmentedComponents.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioComponents_STATUS
+// Istio components configuration.
+type IstioComponents_STATUS struct {
+ EgressGateways []IstioEgressGateway_STATUS `json:"egressGateways,omitempty"`
+ IngressGateways []IstioIngressGateway_STATUS `json:"ingressGateways,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioComponents_STATUS populates our IstioComponents_STATUS from the provided source IstioComponents_STATUS
+func (components *IstioComponents_STATUS) AssignProperties_From_IstioComponents_STATUS(source *storage.IstioComponents_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EgressGateways
+ if source.EgressGateways != nil {
+ egressGatewayList := make([]IstioEgressGateway_STATUS, len(source.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range source.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway IstioEgressGateway_STATUS
+ err := egressGateway.AssignProperties_From_IstioEgressGateway_STATUS(&egressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioEgressGateway_STATUS() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ components.EgressGateways = egressGatewayList
+ } else {
+ components.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if source.IngressGateways != nil {
+ ingressGatewayList := make([]IstioIngressGateway_STATUS, len(source.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range source.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway IstioIngressGateway_STATUS
+ err := ingressGateway.AssignProperties_From_IstioIngressGateway_STATUS(&ingressGatewayItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IstioIngressGateway_STATUS() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ components.IngressGateways = ingressGatewayList
+ } else {
+ components.IngressGateways = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ components.PropertyBag = propertyBag
+ } else {
+ components.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioComponents_STATUS interface (if implemented) to customize the conversion
+ var componentsAsAny any = components
+ if augmentedComponents, ok := componentsAsAny.(augmentConversionForIstioComponents_STATUS); ok {
+ err := augmentedComponents.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioComponents_STATUS populates the provided destination IstioComponents_STATUS from our IstioComponents_STATUS
+func (components *IstioComponents_STATUS) AssignProperties_To_IstioComponents_STATUS(destination *storage.IstioComponents_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(components.PropertyBag)
+
+ // EgressGateways
+ if components.EgressGateways != nil {
+ egressGatewayList := make([]storage.IstioEgressGateway_STATUS, len(components.EgressGateways))
+ for egressGatewayIndex, egressGatewayItem := range components.EgressGateways {
+ // Shadow the loop variable to avoid aliasing
+ egressGatewayItem := egressGatewayItem
+ var egressGateway storage.IstioEgressGateway_STATUS
+ err := egressGatewayItem.AssignProperties_To_IstioEgressGateway_STATUS(&egressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioEgressGateway_STATUS() to populate field EgressGateways")
+ }
+ egressGatewayList[egressGatewayIndex] = egressGateway
+ }
+ destination.EgressGateways = egressGatewayList
+ } else {
+ destination.EgressGateways = nil
+ }
+
+ // IngressGateways
+ if components.IngressGateways != nil {
+ ingressGatewayList := make([]storage.IstioIngressGateway_STATUS, len(components.IngressGateways))
+ for ingressGatewayIndex, ingressGatewayItem := range components.IngressGateways {
+ // Shadow the loop variable to avoid aliasing
+ ingressGatewayItem := ingressGatewayItem
+ var ingressGateway storage.IstioIngressGateway_STATUS
+ err := ingressGatewayItem.AssignProperties_To_IstioIngressGateway_STATUS(&ingressGateway)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IstioIngressGateway_STATUS() to populate field IngressGateways")
+ }
+ ingressGatewayList[ingressGatewayIndex] = ingressGateway
+ }
+ destination.IngressGateways = ingressGatewayList
+ } else {
+ destination.IngressGateways = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioComponents_STATUS interface (if implemented) to customize the conversion
+ var componentsAsAny any = components
+ if augmentedComponents, ok := componentsAsAny.(augmentConversionForIstioComponents_STATUS); ok {
+ err := augmentedComponents.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
+// Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook to auto-instrument
+// Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the application. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS
+// Application Monitoring Auto Instrumentation for Kubernetes Application Container. Deploys web hook to auto-instrument
+// Azure Monitor OpenTelemetry based SDKs to collect OpenTelemetry metrics, logs and traces of the application. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and Traces. Collects
+// OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ Port *int `json:"port,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Logs and Traces. Collects
+// OpenTelemetry logs and traces of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ Port *int `json:"port,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects
+// OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ Port *int `json:"port,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // Port
+ if propertyBag.Contains("Port") {
+ var port int
+ err := propertyBag.Pull("Port", &port)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Port' from propertyBag")
+ }
+
+ metrics.Port = &port
+ } else {
+ metrics.Port = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ metrics.PropertyBag = propertyBag
+ } else {
+ metrics.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics); ok {
+ err := augmentedMetrics.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Port
+ if metrics.Port != nil {
+ propertyBag.Add("Port", *metrics.Port)
+ } else {
+ propertyBag.Remove("Port")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics); ok {
+ err := augmentedMetrics.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+// Application Monitoring Open Telemetry Metrics Profile for Kubernetes Application Container Metrics. Collects
+// OpenTelemetry metrics of the application using Azure Monitor OpenTelemetry based SDKs. See
+// aka.ms/AzureMonitorApplicationMonitoring for an overview.
+type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ Port *int `json:"port,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS populates our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ metrics.Enabled = &enabled
+ } else {
+ metrics.Enabled = nil
+ }
+
+ // Port
+ if propertyBag.Contains("Port") {
+ var port int
+ err := propertyBag.Pull("Port", &port)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Port' from propertyBag")
+ }
+
+ metrics.Port = &port
+ } else {
+ metrics.Port = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ metrics.PropertyBag = propertyBag
+ } else {
+ metrics.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS); ok {
+ err := augmentedMetrics.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS from our ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
+
+ // Enabled
+ if metrics.Enabled != nil {
+ enabled := *metrics.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Port
+ if metrics.Port != nil {
+ propertyBag.Add("Port", *metrics.Port)
+ } else {
+ propertyBag.Remove("Port")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS); ok {
+ err := augmentedMetrics.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileKubeStateMetrics
+// Kube State Metrics for prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfileKubeStateMetrics struct {
+ MetricAnnotationsAllowList *string `json:"metricAnnotationsAllowList,omitempty"`
+ MetricLabelsAllowlist *string `json:"metricLabelsAllowlist,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics populates our ManagedClusterAzureMonitorProfileKubeStateMetrics from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // MetricAnnotationsAllowList
+ metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ metrics.MetricLabelsAllowlist = genruntime.ClonePointerToString(source.MetricLabelsAllowlist)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ metrics.PropertyBag = propertyBag
+ } else {
+ metrics.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics); ok {
+ err := augmentedMetrics.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics from our ManagedClusterAzureMonitorProfileKubeStateMetrics
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
+
+ // MetricAnnotationsAllowList
+ destination.MetricAnnotationsAllowList = genruntime.ClonePointerToString(metrics.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ destination.MetricLabelsAllowlist = genruntime.ClonePointerToString(metrics.MetricLabelsAllowlist)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics); ok {
+ err := augmentedMetrics.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+// Kube State Metrics for prometheus addon profile for the container service cluster
+type ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS struct {
+ MetricAnnotationsAllowList *string `json:"metricAnnotationsAllowList,omitempty"`
+ MetricLabelsAllowlist *string `json:"metricLabelsAllowlist,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from the provided source ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_From_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(source *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // MetricAnnotationsAllowList
+ metrics.MetricAnnotationsAllowList = genruntime.ClonePointerToString(source.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ metrics.MetricLabelsAllowlist = genruntime.ClonePointerToString(source.MetricLabelsAllowlist)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ metrics.PropertyBag = propertyBag
+ } else {
+ metrics.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS); ok {
+ err := augmentedMetrics.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS populates the provided destination ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS from our ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS
+func (metrics *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) AssignProperties_To_ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS(destination *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(metrics.PropertyBag)
+
+ // MetricAnnotationsAllowList
+ destination.MetricAnnotationsAllowList = genruntime.ClonePointerToString(metrics.MetricAnnotationsAllowList)
+
+ // MetricLabelsAllowlist
+ destination.MetricLabelsAllowlist = genruntime.ClonePointerToString(metrics.MetricLabelsAllowlist)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS interface (if implemented) to customize the conversion
+ var metricsAsAny any = metrics
+ if augmentedMetrics, ok := metricsAsAny.(augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS); ok {
+ err := augmentedMetrics.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs struct {
+ Count *int `json:"count,omitempty"`
+ CountIPv6 *int `json:"countIPv6,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ iPs.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CountIPv6
+ iPs.CountIPv6 = genruntime.ClonePointerToInt(source.CountIPv6)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ iPs.PropertyBag = propertyBag
+ } else {
+ iPs.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs); ok {
+ err := augmentedIPs.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(iPs.Count)
+
+ // CountIPv6
+ destination.CountIPv6 = genruntime.ClonePointerToInt(iPs.CountIPv6)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs); ok {
+ err := augmentedIPs.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+type ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS struct {
+ Count *int `json:"count,omitempty"`
+ CountIPv6 *int `json:"countIPv6,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ iPs.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CountIPv6
+ iPs.CountIPv6 = genruntime.ClonePointerToInt(source.CountIPv6)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ iPs.PropertyBag = propertyBag
+ } else {
+ iPs.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS); ok {
+ err := augmentedIPs.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(iPs.Count)
+
+ // CountIPv6
+ destination.CountIPv6 = genruntime.ClonePointerToInt(iPs.CountIPv6)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS); ok {
+ err := augmentedIPs.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicIPPrefixes []ResourceReference `json:"publicIPPrefixes,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PublicIPPrefixes
+ if source.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]ResourceReference, len(source.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range source.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix ResourceReference
+ err := publicIPPrefix.AssignProperties_From_ResourceReference(&publicIPPrefixItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ prefixes.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ prefixes.PublicIPPrefixes = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ prefixes.PropertyBag = propertyBag
+ } else {
+ prefixes.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes interface (if implemented) to customize the conversion
+ var prefixesAsAny any = prefixes
+ if augmentedPrefixes, ok := prefixesAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes); ok {
+ err := augmentedPrefixes.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(prefixes.PropertyBag)
+
+ // PublicIPPrefixes
+ if prefixes.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]storage.ResourceReference, len(prefixes.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix storage.ResourceReference
+ err := publicIPPrefixItem.AssignProperties_To_ResourceReference(&publicIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ destination.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ destination.PublicIPPrefixes = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes interface (if implemented) to customize the conversion
+ var prefixesAsAny any = prefixes
+ if augmentedPrefixes, ok := prefixesAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes); ok {
+ err := augmentedPrefixes.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+type ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicIPPrefixes []ResourceReference_STATUS `json:"publicIPPrefixes,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PublicIPPrefixes
+ if source.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]ResourceReference_STATUS, len(source.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range source.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix ResourceReference_STATUS
+ err := publicIPPrefix.AssignProperties_From_ResourceReference_STATUS(&publicIPPrefixItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ prefixes.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ prefixes.PublicIPPrefixes = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ prefixes.PropertyBag = propertyBag
+ } else {
+ prefixes.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS interface (if implemented) to customize the conversion
+ var prefixesAsAny any = prefixes
+ if augmentedPrefixes, ok := prefixesAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS); ok {
+ err := augmentedPrefixes.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS
+func (prefixes *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(prefixes.PropertyBag)
+
+ // PublicIPPrefixes
+ if prefixes.PublicIPPrefixes != nil {
+ publicIPPrefixList := make([]storage.ResourceReference_STATUS, len(prefixes.PublicIPPrefixes))
+ for publicIPPrefixIndex, publicIPPrefixItem := range prefixes.PublicIPPrefixes {
+ // Shadow the loop variable to avoid aliasing
+ publicIPPrefixItem := publicIPPrefixItem
+ var publicIPPrefix storage.ResourceReference_STATUS
+ err := publicIPPrefixItem.AssignProperties_To_ResourceReference_STATUS(&publicIPPrefix)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPPrefixes")
+ }
+ publicIPPrefixList[publicIPPrefixIndex] = publicIPPrefix
+ }
+ destination.PublicIPPrefixes = publicIPPrefixList
+ } else {
+ destination.PublicIPPrefixes = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS interface (if implemented) to customize the conversion
+ var prefixesAsAny any = prefixes
+ if augmentedPrefixes, ok := prefixesAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS); ok {
+ err := augmentedPrefixes.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_OutboundIPs
+type ManagedClusterLoadBalancerProfile_OutboundIPs struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicIPs []ResourceReference `json:"publicIPs,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs populates our ManagedClusterLoadBalancerProfile_OutboundIPs from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PublicIPs
+ if source.PublicIPs != nil {
+ publicIPList := make([]ResourceReference, len(source.PublicIPs))
+ for publicIPIndex, publicIPItem := range source.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP ResourceReference
+ err := publicIP.AssignProperties_From_ResourceReference(&publicIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ iPs.PublicIPs = publicIPList
+ } else {
+ iPs.PublicIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ iPs.PropertyBag = propertyBag
+ } else {
+ iPs.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs); ok {
+ err := augmentedIPs.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs from our ManagedClusterLoadBalancerProfile_OutboundIPs
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
+
+ // PublicIPs
+ if iPs.PublicIPs != nil {
+ publicIPList := make([]storage.ResourceReference, len(iPs.PublicIPs))
+ for publicIPIndex, publicIPItem := range iPs.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP storage.ResourceReference
+ err := publicIPItem.AssignProperties_To_ResourceReference(&publicIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ destination.PublicIPs = publicIPList
+ } else {
+ destination.PublicIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs); ok {
+ err := augmentedIPs.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+type ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicIPs []ResourceReference_STATUS `json:"publicIPs,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from the provided source ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_From_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(source *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PublicIPs
+ if source.PublicIPs != nil {
+ publicIPList := make([]ResourceReference_STATUS, len(source.PublicIPs))
+ for publicIPIndex, publicIPItem := range source.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP ResourceReference_STATUS
+ err := publicIP.AssignProperties_From_ResourceReference_STATUS(&publicIPItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ResourceReference_STATUS() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ iPs.PublicIPs = publicIPList
+ } else {
+ iPs.PublicIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ iPs.PropertyBag = propertyBag
+ } else {
+ iPs.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS); ok {
+ err := augmentedIPs.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS populates the provided destination ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS from our ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS
+func (iPs *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) AssignProperties_To_ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS(destination *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(iPs.PropertyBag)
+
+ // PublicIPs
+ if iPs.PublicIPs != nil {
+ publicIPList := make([]storage.ResourceReference_STATUS, len(iPs.PublicIPs))
+ for publicIPIndex, publicIPItem := range iPs.PublicIPs {
+ // Shadow the loop variable to avoid aliasing
+ publicIPItem := publicIPItem
+ var publicIP storage.ResourceReference_STATUS
+ err := publicIPItem.AssignProperties_To_ResourceReference_STATUS(&publicIP)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ResourceReference_STATUS() to populate field PublicIPs")
+ }
+ publicIPList[publicIPIndex] = publicIP
+ }
+ destination.PublicIPs = publicIPList
+ } else {
+ destination.PublicIPs = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS interface (if implemented) to customize the conversion
+ var iPsAsAny any = iPs
+ if augmentedIPs, ok := iPsAsAny.(augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS); ok {
+ err := augmentedIPs.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterManagedOutboundIPProfile
+// Profile of the managed outbound IP resources of the managed cluster.
+type ManagedClusterManagedOutboundIPProfile struct {
+ Count *int `json:"count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterManagedOutboundIPProfile populates our ManagedClusterManagedOutboundIPProfile from the provided source ManagedClusterManagedOutboundIPProfile
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_From_ManagedClusterManagedOutboundIPProfile(source *storage.ManagedClusterManagedOutboundIPProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterManagedOutboundIPProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterManagedOutboundIPProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterManagedOutboundIPProfile populates the provided destination ManagedClusterManagedOutboundIPProfile from our ManagedClusterManagedOutboundIPProfile
+func (profile *ManagedClusterManagedOutboundIPProfile) AssignProperties_To_ManagedClusterManagedOutboundIPProfile(destination *storage.ManagedClusterManagedOutboundIPProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterManagedOutboundIPProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterManagedOutboundIPProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterManagedOutboundIPProfile_STATUS
+// Profile of the managed outbound IP resources of the managed cluster.
+type ManagedClusterManagedOutboundIPProfile_STATUS struct {
+ Count *int `json:"count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS populates our ManagedClusterManagedOutboundIPProfile_STATUS from the provided source ManagedClusterManagedOutboundIPProfile_STATUS
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_From_ManagedClusterManagedOutboundIPProfile_STATUS(source *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS populates the provided destination ManagedClusterManagedOutboundIPProfile_STATUS from our ManagedClusterManagedOutboundIPProfile_STATUS
+func (profile *ManagedClusterManagedOutboundIPProfile_STATUS) AssignProperties_To_ManagedClusterManagedOutboundIPProfile_STATUS(destination *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+type ManagedClusterPodIdentity_ProvisioningInfo_STATUS struct {
+ Error *ManagedClusterPodIdentityProvisioningError_STATUS `json:"error,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates our ManagedClusterPodIdentity_ProvisioningInfo_STATUS from the provided source ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_From_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(source *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Error
+ if source.Error != nil {
+ var error ManagedClusterPodIdentityProvisioningError_STATUS
+ err := error.AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source.Error)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
+ }
+ info.Error = &error
+ } else {
+ info.Error = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ info.PropertyBag = propertyBag
+ } else {
+ info.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS interface (if implemented) to customize the conversion
+ var infoAsAny any = info
+ if augmentedInfo, ok := infoAsAny.(augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS); ok {
+ err := augmentedInfo.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS populates the provided destination ManagedClusterPodIdentity_ProvisioningInfo_STATUS from our ManagedClusterPodIdentity_ProvisioningInfo_STATUS
+func (info *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) AssignProperties_To_ManagedClusterPodIdentity_ProvisioningInfo_STATUS(destination *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(info.PropertyBag)
+
+ // Error
+ if info.Error != nil {
+ var error storage.ManagedClusterPodIdentityProvisioningError_STATUS
+ err := info.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(&error)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS() to populate field Error")
+ }
+ destination.Error = &error
+ } else {
+ destination.Error = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS interface (if implemented) to customize the conversion
+ var infoAsAny any = info
+ if augmentedInfo, ok := infoAsAny.(augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS); ok {
+ err := augmentedInfo.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileDefenderSecurityMonitoring
+// Microsoft Defender settings for the security profile threat detection.
+type ManagedClusterSecurityProfileDefenderSecurityMonitoring struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ monitoring.Enabled = &enabled
+ } else {
+ monitoring.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ monitoring.PropertyBag = propertyBag
+ } else {
+ monitoring.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring); ok {
+ err := augmentedMonitoring.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring from our ManagedClusterSecurityProfileDefenderSecurityMonitoring
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(monitoring.PropertyBag)
+
+ // Enabled
+ if monitoring.Enabled != nil {
+ enabled := *monitoring.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring); ok {
+ err := augmentedMonitoring.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+// Microsoft Defender settings for the security profile threat detection.
+type ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from the provided source ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_From_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(source *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ monitoring.Enabled = &enabled
+ } else {
+ monitoring.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ monitoring.PropertyBag = propertyBag
+ } else {
+ monitoring.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS); ok {
+ err := augmentedMonitoring.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS populates the provided destination ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS from our ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS
+func (monitoring *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) AssignProperties_To_ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS(destination *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(monitoring.PropertyBag)
+
+ // Enabled
+ if monitoring.Enabled != nil {
+ enabled := *monitoring.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS interface (if implemented) to customize the conversion
+ var monitoringAsAny any = monitoring
+ if augmentedMonitoring, ok := monitoringAsAny.(augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS); ok {
+ err := augmentedMonitoring.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ResourceReference
+// A reference to an Azure resource.
+type ResourceReference struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+
+ // Reference: The fully qualified Azure resource id.
+ Reference *genruntime.ResourceReference `armReference:"Id" json:"reference,omitempty"`
+}
+
+// AssignProperties_From_ResourceReference populates our ResourceReference from the provided source ResourceReference
+func (reference *ResourceReference) AssignProperties_From_ResourceReference(source *storage.ResourceReference) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Reference
+ if source.Reference != nil {
+ referenceTemp := source.Reference.Copy()
+ reference.Reference = &referenceTemp
+ } else {
+ reference.Reference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ reference.PropertyBag = propertyBag
+ } else {
+ reference.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForResourceReference interface (if implemented) to customize the conversion
+ var referenceAsAny any = reference
+ if augmentedReference, ok := referenceAsAny.(augmentConversionForResourceReference); ok {
+ err := augmentedReference.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ResourceReference populates the provided destination ResourceReference from our ResourceReference
+func (reference *ResourceReference) AssignProperties_To_ResourceReference(destination *storage.ResourceReference) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(reference.PropertyBag)
+
+ // Reference
+ if reference.Reference != nil {
+ referenceTemp := reference.Reference.Copy()
+ destination.Reference = &referenceTemp
+ } else {
+ destination.Reference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForResourceReference interface (if implemented) to customize the conversion
+ var referenceAsAny any = reference
+ if augmentedReference, ok := referenceAsAny.(augmentConversionForResourceReference); ok {
+ err := augmentedReference.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ResourceReference_STATUS
+// A reference to an Azure resource.
+type ResourceReference_STATUS struct {
+ Id *string `json:"id,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ResourceReference_STATUS populates our ResourceReference_STATUS from the provided source ResourceReference_STATUS
+func (reference *ResourceReference_STATUS) AssignProperties_From_ResourceReference_STATUS(source *storage.ResourceReference_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Id
+ reference.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ reference.PropertyBag = propertyBag
+ } else {
+ reference.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForResourceReference_STATUS interface (if implemented) to customize the conversion
+ var referenceAsAny any = reference
+ if augmentedReference, ok := referenceAsAny.(augmentConversionForResourceReference_STATUS); ok {
+ err := augmentedReference.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ResourceReference_STATUS populates the provided destination ResourceReference_STATUS from our ResourceReference_STATUS
+func (reference *ResourceReference_STATUS) AssignProperties_To_ResourceReference_STATUS(destination *storage.ResourceReference_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(reference.PropertyBag)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(reference.Id)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForResourceReference_STATUS interface (if implemented) to customize the conversion
+ var referenceAsAny any = reference
+ if augmentedReference, ok := referenceAsAny.(augmentConversionForResourceReference_STATUS); ok {
+ err := augmentedReference.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) error
+}
+
+type augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) error
+}
+
+type augmentConversionForContainerServiceSshPublicKey interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceSshPublicKey) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshPublicKey) error
+}
+
+type augmentConversionForContainerServiceSshPublicKey_STATUS interface {
+ AssignPropertiesFrom(src *storage.ContainerServiceSshPublicKey_STATUS) error
+ AssignPropertiesTo(dst *storage.ContainerServiceSshPublicKey_STATUS) error
+}
+
+type augmentConversionForIstioCertificateAuthority interface {
+ AssignPropertiesFrom(src *storage.IstioCertificateAuthority) error
+ AssignPropertiesTo(dst *storage.IstioCertificateAuthority) error
+}
+
+type augmentConversionForIstioCertificateAuthority_STATUS interface {
+ AssignPropertiesFrom(src *storage.IstioCertificateAuthority_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioCertificateAuthority_STATUS) error
+}
+
+type augmentConversionForIstioComponents interface {
+ AssignPropertiesFrom(src *storage.IstioComponents) error
+ AssignPropertiesTo(dst *storage.IstioComponents) error
+}
+
+type augmentConversionForIstioComponents_STATUS interface {
+ AssignPropertiesFrom(src *storage.IstioComponents_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioComponents_STATUS) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics) error
+}
+
+type augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPs) error
+}
+
+type augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) error
+}
+
+type augmentConversionForManagedClusterManagedOutboundIPProfile interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterManagedOutboundIPProfile) error
+ AssignPropertiesTo(dst *storage.ManagedClusterManagedOutboundIPProfile) error
+}
+
+type augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterManagedOutboundIPProfile_STATUS) error
+}
+
+type augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentity_ProvisioningInfo_STATUS) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring) error
+}
+
+type augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) error
+}
+
+type augmentConversionForResourceReference interface {
+ AssignPropertiesFrom(src *storage.ResourceReference) error
+ AssignPropertiesTo(dst *storage.ResourceReference) error
+}
+
+type augmentConversionForResourceReference_STATUS interface {
+ AssignPropertiesFrom(src *storage.ResourceReference_STATUS) error
+ AssignPropertiesTo(dst *storage.ResourceReference_STATUS) error
+}
+
+// Storage version of v1api20240402preview.IstioEgressGateway
+// Istio egress gateway configuration.
+type IstioEgressGateway struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioEgressGateway populates our IstioEgressGateway from the provided source IstioEgressGateway
+func (gateway *IstioEgressGateway) AssignProperties_From_IstioEgressGateway(source *storage.IstioEgressGateway) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // NodeSelector
+ if len(source.NodeSelector) > 0 {
+ propertyBag.Add("NodeSelector", source.NodeSelector)
+ } else {
+ propertyBag.Remove("NodeSelector")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ gateway.PropertyBag = propertyBag
+ } else {
+ gateway.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioEgressGateway interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioEgressGateway); ok {
+ err := augmentedGateway.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioEgressGateway populates the provided destination IstioEgressGateway from our IstioEgressGateway
+func (gateway *IstioEgressGateway) AssignProperties_To_IstioEgressGateway(destination *storage.IstioEgressGateway) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(gateway.PropertyBag)
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // NodeSelector
+ if propertyBag.Contains("NodeSelector") {
+ var nodeSelector map[string]string
+ err := propertyBag.Pull("NodeSelector", &nodeSelector)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'NodeSelector' from propertyBag")
+ }
+
+ destination.NodeSelector = nodeSelector
+ } else {
+ destination.NodeSelector = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioEgressGateway interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioEgressGateway); ok {
+ err := augmentedGateway.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioEgressGateway_STATUS
+// Istio egress gateway configuration.
+type IstioEgressGateway_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioEgressGateway_STATUS populates our IstioEgressGateway_STATUS from the provided source IstioEgressGateway_STATUS
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_From_IstioEgressGateway_STATUS(source *storage.IstioEgressGateway_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // NodeSelector
+ if len(source.NodeSelector) > 0 {
+ propertyBag.Add("NodeSelector", source.NodeSelector)
+ } else {
+ propertyBag.Remove("NodeSelector")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ gateway.PropertyBag = propertyBag
+ } else {
+ gateway.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioEgressGateway_STATUS interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioEgressGateway_STATUS); ok {
+ err := augmentedGateway.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioEgressGateway_STATUS populates the provided destination IstioEgressGateway_STATUS from our IstioEgressGateway_STATUS
+func (gateway *IstioEgressGateway_STATUS) AssignProperties_To_IstioEgressGateway_STATUS(destination *storage.IstioEgressGateway_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(gateway.PropertyBag)
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // NodeSelector
+ if propertyBag.Contains("NodeSelector") {
+ var nodeSelector map[string]string
+ err := propertyBag.Pull("NodeSelector", &nodeSelector)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'NodeSelector' from propertyBag")
+ }
+
+ destination.NodeSelector = nodeSelector
+ } else {
+ destination.NodeSelector = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioEgressGateway_STATUS interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioEgressGateway_STATUS); ok {
+ err := augmentedGateway.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioIngressGateway
+// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
+// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
+type IstioIngressGateway struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioIngressGateway populates our IstioIngressGateway from the provided source IstioIngressGateway
+func (gateway *IstioIngressGateway) AssignProperties_From_IstioIngressGateway(source *storage.IstioIngressGateway) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // Mode
+ gateway.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ gateway.PropertyBag = propertyBag
+ } else {
+ gateway.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioIngressGateway interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioIngressGateway); ok {
+ err := augmentedGateway.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioIngressGateway populates the provided destination IstioIngressGateway from our IstioIngressGateway
+func (gateway *IstioIngressGateway) AssignProperties_To_IstioIngressGateway(destination *storage.IstioIngressGateway) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(gateway.PropertyBag)
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(gateway.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioIngressGateway interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioIngressGateway); ok {
+ err := augmentedGateway.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioIngressGateway_STATUS
+// Istio ingress gateway configuration. For now, we support up to one external ingress gateway named
+// `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`.
+type IstioIngressGateway_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_IstioIngressGateway_STATUS populates our IstioIngressGateway_STATUS from the provided source IstioIngressGateway_STATUS
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_From_IstioIngressGateway_STATUS(source *storage.IstioIngressGateway_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ gateway.Enabled = &enabled
+ } else {
+ gateway.Enabled = nil
+ }
+
+ // Mode
+ gateway.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ gateway.PropertyBag = propertyBag
+ } else {
+ gateway.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioIngressGateway_STATUS interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioIngressGateway_STATUS); ok {
+ err := augmentedGateway.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioIngressGateway_STATUS populates the provided destination IstioIngressGateway_STATUS from our IstioIngressGateway_STATUS
+func (gateway *IstioIngressGateway_STATUS) AssignProperties_To_IstioIngressGateway_STATUS(destination *storage.IstioIngressGateway_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(gateway.PropertyBag)
+
+ // Enabled
+ if gateway.Enabled != nil {
+ enabled := *gateway.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(gateway.Mode)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioIngressGateway_STATUS interface (if implemented) to customize the conversion
+ var gatewayAsAny any = gateway
+ if augmentedGateway, ok := gatewayAsAny.(augmentConversionForIstioIngressGateway_STATUS); ok {
+ err := augmentedGateway.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioPluginCertificateAuthority
+// Plugin certificates information for Service Mesh.
+type IstioPluginCertificateAuthority struct {
+ CertChainObjectName *string `json:"certChainObjectName,omitempty"`
+ CertObjectName *string `json:"certObjectName,omitempty"`
+ KeyObjectName *string `json:"keyObjectName,omitempty"`
+
+ // KeyVaultReference: The resource ID of the Key Vault.
+ KeyVaultReference *genruntime.ResourceReference `armReference:"KeyVaultId" json:"keyVaultReference,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RootCertObjectName *string `json:"rootCertObjectName,omitempty"`
+}
+
+// AssignProperties_From_IstioPluginCertificateAuthority populates our IstioPluginCertificateAuthority from the provided source IstioPluginCertificateAuthority
+func (authority *IstioPluginCertificateAuthority) AssignProperties_From_IstioPluginCertificateAuthority(source *storage.IstioPluginCertificateAuthority) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CertChainObjectName
+ authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
+
+ // CertObjectName
+ authority.CertObjectName = genruntime.ClonePointerToString(source.CertObjectName)
+
+ // KeyObjectName
+ authority.KeyObjectName = genruntime.ClonePointerToString(source.KeyObjectName)
+
+ // KeyVaultReference
+ if source.KeyVaultReference != nil {
+ keyVaultReference := source.KeyVaultReference.Copy()
+ authority.KeyVaultReference = &keyVaultReference
+ } else {
+ authority.KeyVaultReference = nil
+ }
+
+ // RootCertObjectName
+ authority.RootCertObjectName = genruntime.ClonePointerToString(source.RootCertObjectName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ authority.PropertyBag = propertyBag
+ } else {
+ authority.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioPluginCertificateAuthority interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioPluginCertificateAuthority); ok {
+ err := augmentedAuthority.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioPluginCertificateAuthority populates the provided destination IstioPluginCertificateAuthority from our IstioPluginCertificateAuthority
+func (authority *IstioPluginCertificateAuthority) AssignProperties_To_IstioPluginCertificateAuthority(destination *storage.IstioPluginCertificateAuthority) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(authority.PropertyBag)
+
+ // CertChainObjectName
+ destination.CertChainObjectName = genruntime.ClonePointerToString(authority.CertChainObjectName)
+
+ // CertObjectName
+ destination.CertObjectName = genruntime.ClonePointerToString(authority.CertObjectName)
+
+ // KeyObjectName
+ destination.KeyObjectName = genruntime.ClonePointerToString(authority.KeyObjectName)
+
+ // KeyVaultReference
+ if authority.KeyVaultReference != nil {
+ keyVaultReference := authority.KeyVaultReference.Copy()
+ destination.KeyVaultReference = &keyVaultReference
+ } else {
+ destination.KeyVaultReference = nil
+ }
+
+ // RootCertObjectName
+ destination.RootCertObjectName = genruntime.ClonePointerToString(authority.RootCertObjectName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioPluginCertificateAuthority interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioPluginCertificateAuthority); ok {
+ err := augmentedAuthority.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IstioPluginCertificateAuthority_STATUS
+// Plugin certificates information for Service Mesh.
+type IstioPluginCertificateAuthority_STATUS struct {
+ CertChainObjectName *string `json:"certChainObjectName,omitempty"`
+ CertObjectName *string `json:"certObjectName,omitempty"`
+ KeyObjectName *string `json:"keyObjectName,omitempty"`
+ KeyVaultId *string `json:"keyVaultId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ RootCertObjectName *string `json:"rootCertObjectName,omitempty"`
+}
+
+// AssignProperties_From_IstioPluginCertificateAuthority_STATUS populates our IstioPluginCertificateAuthority_STATUS from the provided source IstioPluginCertificateAuthority_STATUS
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_From_IstioPluginCertificateAuthority_STATUS(source *storage.IstioPluginCertificateAuthority_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // CertChainObjectName
+ authority.CertChainObjectName = genruntime.ClonePointerToString(source.CertChainObjectName)
+
+ // CertObjectName
+ authority.CertObjectName = genruntime.ClonePointerToString(source.CertObjectName)
+
+ // KeyObjectName
+ authority.KeyObjectName = genruntime.ClonePointerToString(source.KeyObjectName)
+
+ // KeyVaultId
+ authority.KeyVaultId = genruntime.ClonePointerToString(source.KeyVaultId)
+
+ // RootCertObjectName
+ authority.RootCertObjectName = genruntime.ClonePointerToString(source.RootCertObjectName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ authority.PropertyBag = propertyBag
+ } else {
+ authority.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioPluginCertificateAuthority_STATUS interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioPluginCertificateAuthority_STATUS); ok {
+ err := augmentedAuthority.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IstioPluginCertificateAuthority_STATUS populates the provided destination IstioPluginCertificateAuthority_STATUS from our IstioPluginCertificateAuthority_STATUS
+func (authority *IstioPluginCertificateAuthority_STATUS) AssignProperties_To_IstioPluginCertificateAuthority_STATUS(destination *storage.IstioPluginCertificateAuthority_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(authority.PropertyBag)
+
+ // CertChainObjectName
+ destination.CertChainObjectName = genruntime.ClonePointerToString(authority.CertChainObjectName)
+
+ // CertObjectName
+ destination.CertObjectName = genruntime.ClonePointerToString(authority.CertObjectName)
+
+ // KeyObjectName
+ destination.KeyObjectName = genruntime.ClonePointerToString(authority.KeyObjectName)
+
+ // KeyVaultId
+ destination.KeyVaultId = genruntime.ClonePointerToString(authority.KeyVaultId)
+
+ // RootCertObjectName
+ destination.RootCertObjectName = genruntime.ClonePointerToString(authority.RootCertObjectName)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIstioPluginCertificateAuthority_STATUS interface (if implemented) to customize the conversion
+ var authorityAsAny any = authority
+ if augmentedAuthority, ok := authorityAsAny.(augmentConversionForIstioPluginCertificateAuthority_STATUS); ok {
+ err := augmentedAuthority.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityProvisioningError_STATUS
+// An error response from the pod identity provisioning.
+type ManagedClusterPodIdentityProvisioningError_STATUS struct {
+ Error *ManagedClusterPodIdentityProvisioningErrorBody_STATUS `json:"error,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS populates our ManagedClusterPodIdentityProvisioningError_STATUS from the provided source ManagedClusterPodIdentityProvisioningError_STATUS
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningError_STATUS(source *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Error
+ if source.Error != nil {
+ var errorLocal ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ err := errorLocal.AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source.Error)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
+ }
+ error.Error = &errorLocal
+ } else {
+ error.Error = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ error.PropertyBag = propertyBag
+ } else {
+ error.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS interface (if implemented) to customize the conversion
+ var errorAsAny any = error
+ if augmentedError, ok := errorAsAny.(augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS); ok {
+ err := augmentedError.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningError_STATUS from our ManagedClusterPodIdentityProvisioningError_STATUS
+func (error *ManagedClusterPodIdentityProvisioningError_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningError_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(error.PropertyBag)
+
+ // Error
+ if error.Error != nil {
+ var errorLocal storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+ err := error.Error.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(&errorLocal)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS() to populate field Error")
+ }
+ destination.Error = &errorLocal
+ } else {
+ destination.Error = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS interface (if implemented) to customize the conversion
+ var errorAsAny any = error
+ if augmentedError, ok := errorAsAny.(augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS); ok {
+ err := augmentedError.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForIstioEgressGateway interface {
+ AssignPropertiesFrom(src *storage.IstioEgressGateway) error
+ AssignPropertiesTo(dst *storage.IstioEgressGateway) error
+}
+
+type augmentConversionForIstioEgressGateway_STATUS interface {
+ AssignPropertiesFrom(src *storage.IstioEgressGateway_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioEgressGateway_STATUS) error
+}
+
+type augmentConversionForIstioIngressGateway interface {
+ AssignPropertiesFrom(src *storage.IstioIngressGateway) error
+ AssignPropertiesTo(dst *storage.IstioIngressGateway) error
+}
+
+type augmentConversionForIstioIngressGateway_STATUS interface {
+ AssignPropertiesFrom(src *storage.IstioIngressGateway_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioIngressGateway_STATUS) error
+}
+
+type augmentConversionForIstioPluginCertificateAuthority interface {
+ AssignPropertiesFrom(src *storage.IstioPluginCertificateAuthority) error
+ AssignPropertiesTo(dst *storage.IstioPluginCertificateAuthority) error
+}
+
+type augmentConversionForIstioPluginCertificateAuthority_STATUS interface {
+ AssignPropertiesFrom(src *storage.IstioPluginCertificateAuthority_STATUS) error
+ AssignPropertiesTo(dst *storage.IstioPluginCertificateAuthority_STATUS) error
+}
+
+type augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningError_STATUS) error
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+// An error response from the pod identity provisioning.
+type ManagedClusterPodIdentityProvisioningErrorBody_STATUS struct {
+ Code *string `json:"code,omitempty"`
+ Details []ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled `json:"details,omitempty"`
+ Message *string `json:"message,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Target *string `json:"target,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Code
+ body.Code = genruntime.ClonePointerToString(source.Code)
+
+ // Details
+ if source.Details != nil {
+ detailList := make([]ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(source.Details))
+ for detailIndex, detailItem := range source.Details {
+ // Shadow the loop variable to avoid aliasing
+ detailItem := detailItem
+ var detail ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ err := detail.AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detailItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
+ }
+ detailList[detailIndex] = detail
+ }
+ body.Details = detailList
+ } else {
+ body.Details = nil
+ }
+
+ // Message
+ body.Message = genruntime.ClonePointerToString(source.Message)
+
+ // Target
+ body.Target = genruntime.ClonePointerToString(source.Target)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ body.PropertyBag = propertyBag
+ } else {
+ body.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS interface (if implemented) to customize the conversion
+ var bodyAsAny any = body
+ if augmentedBody, ok := bodyAsAny.(augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS); ok {
+ err := augmentedBody.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS
+func (body *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(body.PropertyBag)
+
+ // Code
+ destination.Code = genruntime.ClonePointerToString(body.Code)
+
+ // Details
+ if body.Details != nil {
+ detailList := make([]storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(body.Details))
+ for detailIndex, detailItem := range body.Details {
+ // Shadow the loop variable to avoid aliasing
+ detailItem := detailItem
+ var detail storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+ err := detailItem.AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(&detail)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled() to populate field Details")
+ }
+ detailList[detailIndex] = detail
+ }
+ destination.Details = detailList
+ } else {
+ destination.Details = nil
+ }
+
+ // Message
+ destination.Message = genruntime.ClonePointerToString(body.Message)
+
+ // Target
+ destination.Target = genruntime.ClonePointerToString(body.Target)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS interface (if implemented) to customize the conversion
+ var bodyAsAny any = body
+ if augmentedBody, ok := bodyAsAny.(augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS); ok {
+ err := augmentedBody.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS) error
+}
+
+// Storage version of v1api20240402preview.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+type ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled struct {
+ Code *string `json:"code,omitempty"`
+ Message *string `json:"message,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Target *string `json:"target,omitempty"`
+}
+
+// AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from the provided source ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_From_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(source *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Code
+ unrolled.Code = genruntime.ClonePointerToString(source.Code)
+
+ // Message
+ unrolled.Message = genruntime.ClonePointerToString(source.Message)
+
+ // Target
+ unrolled.Target = genruntime.ClonePointerToString(source.Target)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ unrolled.PropertyBag = propertyBag
+ } else {
+ unrolled.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled interface (if implemented) to customize the conversion
+ var unrolledAsAny any = unrolled
+ if augmentedUnrolled, ok := unrolledAsAny.(augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled); ok {
+ err := augmentedUnrolled.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled populates the provided destination ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled from our ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled
+func (unrolled *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) AssignProperties_To_ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled(destination *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(unrolled.PropertyBag)
+
+ // Code
+ destination.Code = genruntime.ClonePointerToString(unrolled.Code)
+
+ // Message
+ destination.Message = genruntime.ClonePointerToString(unrolled.Message)
+
+ // Target
+ destination.Target = genruntime.ClonePointerToString(unrolled.Target)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled interface (if implemented) to customize the conversion
+ var unrolledAsAny any = unrolled
+ if augmentedUnrolled, ok := unrolledAsAny.(augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled); ok {
+ err := augmentedUnrolled.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled interface {
+ AssignPropertiesFrom(src *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
+ AssignPropertiesTo(dst *storage.ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) error
+}
+
+func init() {
+ SchemeBuilder.Register(&ManagedCluster{}, &ManagedClusterList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/managed_clusters_agent_pool_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/managed_clusters_agent_pool_types_gen.go
new file mode 100644
index 0000000000..07c19b7137
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/managed_clusters_agent_pool_types_gen.go
@@ -0,0 +1,5389 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package storage
+
+import (
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Storage version of v1api20240402preview.ManagedClustersAgentPool
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
+type ManagedClustersAgentPool struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedClusters_AgentPool_Spec `json:"spec,omitempty"`
+ Status ManagedClusters_AgentPool_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &ManagedClustersAgentPool{}
+
+// GetConditions returns the conditions of the resource
+func (pool *ManagedClustersAgentPool) GetConditions() conditions.Conditions {
+ return pool.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (pool *ManagedClustersAgentPool) SetConditions(conditions conditions.Conditions) {
+ pool.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &ManagedClustersAgentPool{}
+
+// ConvertFrom populates our ManagedClustersAgentPool from the provided hub ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) ConvertFrom(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var source storage.ManagedClustersAgentPool
+
+ err := source.ConvertFrom(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from hub to source")
+ }
+
+ err = pool.AssignProperties_From_ManagedClustersAgentPool(&source)
+ if err != nil {
+ return errors.Wrap(err, "converting from source to pool")
+ }
+
+ return nil
+}
+
+// ConvertTo populates the provided hub ManagedClustersAgentPool from our ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) ConvertTo(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var destination storage.ManagedClustersAgentPool
+ err := pool.AssignProperties_To_ManagedClustersAgentPool(&destination)
+ if err != nil {
+ return errors.Wrap(err, "converting to destination from pool")
+ }
+ err = destination.ConvertTo(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from destination to hub")
+ }
+
+ return nil
+}
+
+var _ genruntime.KubernetesResource = &ManagedClustersAgentPool{}
+
+// AzureName returns the Azure name of the resource
+func (pool *ManagedClustersAgentPool) AzureName() string {
+ return pool.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (pool ManagedClustersAgentPool) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (pool *ManagedClustersAgentPool) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (pool *ManagedClustersAgentPool) GetSpec() genruntime.ConvertibleSpec {
+ return &pool.Spec
+}
+
+// GetStatus returns the status of this resource
+func (pool *ManagedClustersAgentPool) GetStatus() genruntime.ConvertibleStatus {
+ return &pool.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (pool *ManagedClustersAgentPool) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/agentPools"
+func (pool *ManagedClustersAgentPool) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/agentPools"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (pool *ManagedClustersAgentPool) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedClusters_AgentPool_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (pool *ManagedClustersAgentPool) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(pool.Spec)
+ return pool.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (pool *ManagedClustersAgentPool) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedClusters_AgentPool_STATUS); ok {
+ pool.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedClusters_AgentPool_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ pool.Status = st
+ return nil
+}
+
+// AssignProperties_From_ManagedClustersAgentPool populates our ManagedClustersAgentPool from the provided source ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) AssignProperties_From_ManagedClustersAgentPool(source *storage.ManagedClustersAgentPool) error {
+
+ // ObjectMeta
+ pool.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedClusters_AgentPool_Spec
+ err := spec.AssignProperties_From_ManagedClusters_AgentPool_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_AgentPool_Spec() to populate field Spec")
+ }
+ pool.Spec = spec
+
+ // Status
+ var status ManagedClusters_AgentPool_STATUS
+ err = status.AssignProperties_From_ManagedClusters_AgentPool_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_AgentPool_STATUS() to populate field Status")
+ }
+ pool.Status = status
+
+ // Invoke the augmentConversionForManagedClustersAgentPool interface (if implemented) to customize the conversion
+ var poolAsAny any = pool
+ if augmentedPool, ok := poolAsAny.(augmentConversionForManagedClustersAgentPool); ok {
+ err := augmentedPool.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClustersAgentPool populates the provided destination ManagedClustersAgentPool from our ManagedClustersAgentPool
+func (pool *ManagedClustersAgentPool) AssignProperties_To_ManagedClustersAgentPool(destination *storage.ManagedClustersAgentPool) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *pool.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec storage.ManagedClusters_AgentPool_Spec
+ err := pool.Spec.AssignProperties_To_ManagedClusters_AgentPool_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status storage.ManagedClusters_AgentPool_STATUS
+ err = pool.Status.AssignProperties_To_ManagedClusters_AgentPool_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_AgentPool_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // Invoke the augmentConversionForManagedClustersAgentPool interface (if implemented) to customize the conversion
+ var poolAsAny any = pool
+ if augmentedPool, ok := poolAsAny.(augmentConversionForManagedClustersAgentPool); ok {
+ err := augmentedPool.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (pool *ManagedClustersAgentPool) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: pool.Spec.OriginalVersion,
+ Kind: "ManagedClustersAgentPool",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Storage version of v1api20240402preview.ManagedClustersAgentPool
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}
+type ManagedClustersAgentPoolList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []ManagedClustersAgentPool `json:"items"`
+}
+
+type augmentConversionForManagedClustersAgentPool interface {
+ AssignPropertiesFrom(src *storage.ManagedClustersAgentPool) error
+ AssignPropertiesTo(dst *storage.ManagedClustersAgentPool) error
+}
+
+// Storage version of v1api20240402preview.ManagedClusters_AgentPool_Spec
+type ManagedClusters_AgentPool_Spec struct {
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"`
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+
+ // CapacityReservationGroupReference: AKS will associate the specified agent pool with the Capacity Reservation Group.
+ CapacityReservationGroupReference *genruntime.ResourceReference `armReference:"CapacityReservationGroupID" json:"capacityReservationGroupReference,omitempty"`
+ Count *int `json:"count,omitempty"`
+ CreationData *CreationData `json:"creationData,omitempty"`
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+ GatewayProfile *AgentPoolGatewayProfile `json:"gatewayProfile,omitempty"`
+ GpuInstanceProfile *string `json:"gpuInstanceProfile,omitempty"`
+ GpuProfile *AgentPoolGPUProfile `json:"gpuProfile,omitempty"`
+
+ // HostGroupReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}.
+ // For more information see [Azure dedicated hosts](https://docs.microsoft.com/azure/virtual-machines/dedicated-hosts).
+ HostGroupReference *genruntime.ResourceReference `armReference:"HostGroupID" json:"hostGroupReference,omitempty"`
+ KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"`
+ KubeletDiskType *string `json:"kubeletDiskType,omitempty"`
+ LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"`
+ MaxCount *int `json:"maxCount,omitempty"`
+ MaxPods *int `json:"maxPods,omitempty"`
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+ MinCount *int `json:"minCount,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+ NodeLabels map[string]string `json:"nodeLabels,omitempty" serializationType:"explicitEmptyCollection"`
+
+ // NodePublicIPPrefixReference: This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}
+ NodePublicIPPrefixReference *genruntime.ResourceReference `armReference:"NodePublicIPPrefixID" json:"nodePublicIPPrefixReference,omitempty"`
+ NodeTaints []string `json:"nodeTaints,omitempty" serializationType:"explicitEmptyCollection"`
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OriginalVersion string `json:"originalVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+ OsDiskType *string `json:"osDiskType,omitempty"`
+ OsSKU *string `json:"osSKU,omitempty"`
+ OsType *string `json:"osType,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a containerservice.azure.com/ManagedCluster resource
+ Owner *genruntime.KnownResourceReference `group:"containerservice.azure.com" json:"owner,omitempty" kind:"ManagedCluster"`
+ PodIPAllocationMode *string `json:"podIPAllocationMode,omitempty"`
+
+ // PodSubnetReference: If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details).
+ // This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ PodSubnetReference *genruntime.ResourceReference `armReference:"PodSubnetID" json:"podSubnetReference,omitempty"`
+ PowerState *PowerState `json:"powerState,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+
+ // ProximityPlacementGroupReference: The ID for Proximity Placement Group.
+ ProximityPlacementGroupReference *genruntime.ResourceReference `armReference:"ProximityPlacementGroupID" json:"proximityPlacementGroupReference,omitempty"`
+ ScaleDownMode *string `json:"scaleDownMode,omitempty"`
+ ScaleSetEvictionPolicy *string `json:"scaleSetEvictionPolicy,omitempty"`
+ ScaleSetPriority *string `json:"scaleSetPriority,omitempty"`
+ SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"`
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+ Tags map[string]string `json:"tags,omitempty" serializationType:"explicitEmptyCollection"`
+ Type *string `json:"type,omitempty"`
+ UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes `json:"virtualMachineNodesStatus,omitempty"`
+ VirtualMachinesProfile *VirtualMachinesProfile `json:"virtualMachinesProfile,omitempty"`
+ VmSize *string `json:"vmSize,omitempty"`
+
+ // VnetSubnetReference: If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
+ // specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form:
+ // /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
+ VnetSubnetReference *genruntime.ResourceReference `armReference:"VnetSubnetID" json:"vnetSubnetReference,omitempty"`
+ WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"`
+ WorkloadRuntime *string `json:"workloadRuntime,omitempty"`
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedClusters_AgentPool_Spec{}
+
+// ConvertSpecFrom populates our ManagedClusters_AgentPool_Spec from the provided source
+func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*storage.ManagedClusters_AgentPool_Spec)
+ if ok {
+ // Populate our instance from source
+ return pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_AgentPool_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = pool.AssignProperties_From_ManagedClusters_AgentPool_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedClusters_AgentPool_Spec
+func (pool *ManagedClusters_AgentPool_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_Spec)
+ if ok {
+ // Populate destination from our instance
+ return pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_AgentPool_Spec{}
+ err := pool.AssignProperties_To_ManagedClusters_AgentPool_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_AgentPool_Spec populates our ManagedClusters_AgentPool_Spec from the provided source ManagedClusters_AgentPool_Spec
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_From_ManagedClusters_AgentPool_Spec(source *storage.ManagedClusters_AgentPool_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ pool.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ pool.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // AzureName
+ pool.AzureName = source.AzureName
+
+ // CapacityReservationGroupReference
+ if source.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := source.CapacityReservationGroupReference.Copy()
+ pool.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ pool.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ pool.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData
+ err := creationDatum.AssignProperties_From_CreationData(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData() to populate field CreationData")
+ }
+ pool.CreationData = &creationDatum
+ } else {
+ pool.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ pool.EnableAutoScaling = &enableAutoScaling
+ } else {
+ pool.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ pool.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ pool.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ pool.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ pool.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ pool.EnableFIPS = &enableFIPS
+ } else {
+ pool.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ pool.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ pool.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ pool.EnableUltraSSD = &enableUltraSSD
+ } else {
+ pool.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if propertyBag.Contains("GatewayProfile") {
+ var gatewayProfile AgentPoolGatewayProfile
+ err := propertyBag.Pull("GatewayProfile", &gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'GatewayProfile' from propertyBag")
+ }
+
+ pool.GatewayProfile = &gatewayProfile
+ } else {
+ pool.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ pool.GpuInstanceProfile = genruntime.ClonePointerToString(source.GpuInstanceProfile)
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ pool.GpuProfile = &gpuProfile
+ } else {
+ pool.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if source.HostGroupReference != nil {
+ hostGroupReference := source.HostGroupReference.Copy()
+ pool.HostGroupReference = &hostGroupReference
+ } else {
+ pool.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig
+ err := kubeletConfig.AssignProperties_From_KubeletConfig(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig() to populate field KubeletConfig")
+ }
+ pool.KubeletConfig = &kubeletConfig
+ } else {
+ pool.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ pool.KubeletDiskType = genruntime.ClonePointerToString(source.KubeletDiskType)
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ pool.LinuxOSConfig = &linuxOSConfig
+ } else {
+ pool.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ pool.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ pool.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ pool.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ pool.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ pool.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ pool.NetworkProfile = &networkProfile
+ } else {
+ pool.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ pool.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ pool.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if source.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := source.NodePublicIPPrefixReference.Copy()
+ pool.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ pool.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ pool.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ pool.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OriginalVersion
+ pool.OriginalVersion = source.OriginalVersion
+
+ // OsDiskSizeGB
+ pool.OsDiskSizeGB = genruntime.ClonePointerToInt(source.OsDiskSizeGB)
+
+ // OsDiskType
+ pool.OsDiskType = genruntime.ClonePointerToString(source.OsDiskType)
+
+ // OsSKU
+ pool.OsSKU = genruntime.ClonePointerToString(source.OsSKU)
+
+ // OsType
+ pool.OsType = genruntime.ClonePointerToString(source.OsType)
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ pool.Owner = &owner
+ } else {
+ pool.Owner = nil
+ }
+
+ // PodIPAllocationMode
+ if propertyBag.Contains("PodIPAllocationMode") {
+ var podIPAllocationMode string
+ err := propertyBag.Pull("PodIPAllocationMode", &podIPAllocationMode)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PodIPAllocationMode' from propertyBag")
+ }
+
+ pool.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ pool.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetReference
+ if source.PodSubnetReference != nil {
+ podSubnetReference := source.PodSubnetReference.Copy()
+ pool.PodSubnetReference = &podSubnetReference
+ } else {
+ pool.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState
+ err := powerState.AssignProperties_From_PowerState(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState() to populate field PowerState")
+ }
+ pool.PowerState = &powerState
+ } else {
+ pool.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if source.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := source.ProximityPlacementGroupReference.Copy()
+ pool.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ pool.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ pool.ScaleDownMode = genruntime.ClonePointerToString(source.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ pool.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(source.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ pool.ScaleSetPriority = genruntime.ClonePointerToString(source.ScaleSetPriority)
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ pool.SecurityProfile = &securityProfile
+ } else {
+ pool.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ pool.SpotMaxPrice = &spotMaxPrice
+ } else {
+ pool.SpotMaxPrice = nil
+ }
+
+ // Tags
+ pool.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ pool.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ pool.UpgradeSettings = &upgradeSetting
+ } else {
+ pool.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ pool.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ pool.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ pool.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ pool.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ pool.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetReference
+ if source.VnetSubnetReference != nil {
+ vnetSubnetReference := source.VnetSubnetReference.Copy()
+ pool.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ pool.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ pool.WindowsProfile = &windowsProfile
+ } else {
+ pool.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ pool.WorkloadRuntime = genruntime.ClonePointerToString(source.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ pool.PropertyBag = propertyBag
+ } else {
+ pool.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_AgentPool_Spec interface (if implemented) to customize the conversion
+ var poolAsAny any = pool
+ if augmentedPool, ok := poolAsAny.(augmentConversionForManagedClusters_AgentPool_Spec); ok {
+ err := augmentedPool.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_AgentPool_Spec populates the provided destination ManagedClusters_AgentPool_Spec from our ManagedClusters_AgentPool_Spec
+func (pool *ManagedClusters_AgentPool_Spec) AssignProperties_To_ManagedClusters_AgentPool_Spec(destination *storage.ManagedClusters_AgentPool_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(pool.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if pool.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile
+ err := pool.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(pool.AvailabilityZones)
+
+ // AzureName
+ destination.AzureName = pool.AzureName
+
+ // CapacityReservationGroupReference
+ if pool.CapacityReservationGroupReference != nil {
+ capacityReservationGroupReference := pool.CapacityReservationGroupReference.Copy()
+ destination.CapacityReservationGroupReference = &capacityReservationGroupReference
+ } else {
+ destination.CapacityReservationGroupReference = nil
+ }
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(pool.Count)
+
+ // CreationData
+ if pool.CreationData != nil {
+ var creationDatum storage.CreationData
+ err := pool.CreationData.AssignProperties_To_CreationData(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // EnableAutoScaling
+ if pool.EnableAutoScaling != nil {
+ enableAutoScaling := *pool.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if pool.EnableCustomCATrust != nil {
+ enableCustomCATrust := *pool.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if pool.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *pool.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if pool.EnableFIPS != nil {
+ enableFIPS := *pool.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if pool.EnableNodePublicIP != nil {
+ enableNodePublicIP := *pool.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if pool.EnableUltraSSD != nil {
+ enableUltraSSD := *pool.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if pool.GatewayProfile != nil {
+ propertyBag.Add("GatewayProfile", *pool.GatewayProfile)
+ } else {
+ propertyBag.Remove("GatewayProfile")
+ }
+
+ // GpuInstanceProfile
+ destination.GpuInstanceProfile = genruntime.ClonePointerToString(pool.GpuInstanceProfile)
+
+ // GpuProfile
+ if pool.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile
+ err := pool.GpuProfile.AssignProperties_To_AgentPoolGPUProfile(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupReference
+ if pool.HostGroupReference != nil {
+ hostGroupReference := pool.HostGroupReference.Copy()
+ destination.HostGroupReference = &hostGroupReference
+ } else {
+ destination.HostGroupReference = nil
+ }
+
+ // KubeletConfig
+ if pool.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig
+ err := pool.KubeletConfig.AssignProperties_To_KubeletConfig(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ destination.KubeletDiskType = genruntime.ClonePointerToString(pool.KubeletDiskType)
+
+ // LinuxOSConfig
+ if pool.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig
+ err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(pool.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(pool.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(pool.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(pool.MinCount)
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(pool.Mode)
+
+ // NetworkProfile
+ if pool.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile
+ err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(pool.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(pool.NodeLabels)
+
+ // NodePublicIPPrefixReference
+ if pool.NodePublicIPPrefixReference != nil {
+ nodePublicIPPrefixReference := pool.NodePublicIPPrefixReference.Copy()
+ destination.NodePublicIPPrefixReference = &nodePublicIPPrefixReference
+ } else {
+ destination.NodePublicIPPrefixReference = nil
+ }
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(pool.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(pool.OrchestratorVersion)
+
+ // OriginalVersion
+ destination.OriginalVersion = pool.OriginalVersion
+
+ // OsDiskSizeGB
+ destination.OsDiskSizeGB = genruntime.ClonePointerToInt(pool.OsDiskSizeGB)
+
+ // OsDiskType
+ destination.OsDiskType = genruntime.ClonePointerToString(pool.OsDiskType)
+
+ // OsSKU
+ destination.OsSKU = genruntime.ClonePointerToString(pool.OsSKU)
+
+ // OsType
+ destination.OsType = genruntime.ClonePointerToString(pool.OsType)
+
+ // Owner
+ if pool.Owner != nil {
+ owner := pool.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // PodIPAllocationMode
+ if pool.PodIPAllocationMode != nil {
+ propertyBag.Add("PodIPAllocationMode", *pool.PodIPAllocationMode)
+ } else {
+ propertyBag.Remove("PodIPAllocationMode")
+ }
+
+ // PodSubnetReference
+ if pool.PodSubnetReference != nil {
+ podSubnetReference := pool.PodSubnetReference.Copy()
+ destination.PodSubnetReference = &podSubnetReference
+ } else {
+ destination.PodSubnetReference = nil
+ }
+
+ // PowerState
+ if pool.PowerState != nil {
+ var powerState storage.PowerState
+ err := pool.PowerState.AssignProperties_To_PowerState(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // ProximityPlacementGroupReference
+ if pool.ProximityPlacementGroupReference != nil {
+ proximityPlacementGroupReference := pool.ProximityPlacementGroupReference.Copy()
+ destination.ProximityPlacementGroupReference = &proximityPlacementGroupReference
+ } else {
+ destination.ProximityPlacementGroupReference = nil
+ }
+
+ // ScaleDownMode
+ destination.ScaleDownMode = genruntime.ClonePointerToString(pool.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ destination.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(pool.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ destination.ScaleSetPriority = genruntime.ClonePointerToString(pool.ScaleSetPriority)
+
+ // SecurityProfile
+ if pool.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile
+ err := pool.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if pool.SpotMaxPrice != nil {
+ spotMaxPrice := *pool.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(pool.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(pool.Type)
+
+ // UpgradeSettings
+ if pool.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings
+ err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if pool.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes, len(pool.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range pool.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if pool.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile
+ err := pool.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(pool.VmSize)
+
+ // VnetSubnetReference
+ if pool.VnetSubnetReference != nil {
+ vnetSubnetReference := pool.VnetSubnetReference.Copy()
+ destination.VnetSubnetReference = &vnetSubnetReference
+ } else {
+ destination.VnetSubnetReference = nil
+ }
+
+ // WindowsProfile
+ if pool.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile
+ err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ destination.WorkloadRuntime = genruntime.ClonePointerToString(pool.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_AgentPool_Spec interface (if implemented) to customize the conversion
+ var poolAsAny any = pool
+ if augmentedPool, ok := poolAsAny.(augmentConversionForManagedClusters_AgentPool_Spec); ok {
+ err := augmentedPool.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusters_AgentPool_STATUS
+type ManagedClusters_AgentPool_STATUS struct {
+ ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile_STATUS `json:"artifactStreamingProfile,omitempty"`
+ AvailabilityZones []string `json:"availabilityZones,omitempty"`
+ CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"`
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+ Count *int `json:"count,omitempty"`
+ CreationData *CreationData_STATUS `json:"creationData,omitempty"`
+ CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"`
+ ETag *string `json:"eTag,omitempty"`
+ EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"`
+ EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"`
+ EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"`
+ EnableFIPS *bool `json:"enableFIPS,omitempty"`
+ EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"`
+ EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"`
+ GatewayProfile *AgentPoolGatewayProfile_STATUS `json:"gatewayProfile,omitempty"`
+ GpuInstanceProfile *string `json:"gpuInstanceProfile,omitempty"`
+ GpuProfile *AgentPoolGPUProfile_STATUS `json:"gpuProfile,omitempty"`
+ HostGroupID *string `json:"hostGroupID,omitempty"`
+ Id *string `json:"id,omitempty"`
+ KubeletConfig *KubeletConfig_STATUS `json:"kubeletConfig,omitempty"`
+ KubeletDiskType *string `json:"kubeletDiskType,omitempty"`
+ LinuxOSConfig *LinuxOSConfig_STATUS `json:"linuxOSConfig,omitempty"`
+ MaxCount *int `json:"maxCount,omitempty"`
+ MaxPods *int `json:"maxPods,omitempty"`
+ MessageOfTheDay *string `json:"messageOfTheDay,omitempty"`
+ MinCount *int `json:"minCount,omitempty"`
+ Mode *string `json:"mode,omitempty"`
+ Name *string `json:"name,omitempty"`
+ NetworkProfile *AgentPoolNetworkProfile_STATUS `json:"networkProfile,omitempty"`
+ NodeImageVersion *string `json:"nodeImageVersion,omitempty"`
+ NodeInitializationTaints []string `json:"nodeInitializationTaints,omitempty"`
+ NodeLabels map[string]string `json:"nodeLabels,omitempty"`
+ NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"`
+ NodeTaints []string `json:"nodeTaints,omitempty"`
+ OrchestratorVersion *string `json:"orchestratorVersion,omitempty"`
+ OsDiskSizeGB *int `json:"osDiskSizeGB,omitempty"`
+ OsDiskType *string `json:"osDiskType,omitempty"`
+ OsSKU *string `json:"osSKU,omitempty"`
+ OsType *string `json:"osType,omitempty"`
+ PodIPAllocationMode *string `json:"podIPAllocationMode,omitempty"`
+ PodSubnetID *string `json:"podSubnetID,omitempty"`
+ PowerState *PowerState_STATUS `json:"powerState,omitempty"`
+ PropertiesType *string `json:"properties_type,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"`
+ ScaleDownMode *string `json:"scaleDownMode,omitempty"`
+ ScaleSetEvictionPolicy *string `json:"scaleSetEvictionPolicy,omitempty"`
+ ScaleSetPriority *string `json:"scaleSetPriority,omitempty"`
+ SecurityProfile *AgentPoolSecurityProfile_STATUS `json:"securityProfile,omitempty"`
+ SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"`
+ Tags map[string]string `json:"tags,omitempty"`
+ Type *string `json:"type,omitempty"`
+ UpgradeSettings *AgentPoolUpgradeSettings_STATUS `json:"upgradeSettings,omitempty"`
+ VirtualMachineNodesStatus []VirtualMachineNodes_STATUS `json:"virtualMachineNodesStatus,omitempty"`
+ VirtualMachinesProfile *VirtualMachinesProfile_STATUS `json:"virtualMachinesProfile,omitempty"`
+ VmSize *string `json:"vmSize,omitempty"`
+ VnetSubnetID *string `json:"vnetSubnetID,omitempty"`
+ WindowsProfile *AgentPoolWindowsProfile_STATUS `json:"windowsProfile,omitempty"`
+ WorkloadRuntime *string `json:"workloadRuntime,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedClusters_AgentPool_STATUS{}
+
+// ConvertStatusFrom populates our ManagedClusters_AgentPool_STATUS from the provided source
+func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*storage.ManagedClusters_AgentPool_STATUS)
+ if ok {
+ // Populate our instance from source
+ return pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_AgentPool_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = pool.AssignProperties_From_ManagedClusters_AgentPool_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedClusters_AgentPool_STATUS
+func (pool *ManagedClusters_AgentPool_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*storage.ManagedClusters_AgentPool_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_AgentPool_STATUS{}
+ err := pool.AssignProperties_To_ManagedClusters_AgentPool_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_AgentPool_STATUS populates our ManagedClusters_AgentPool_STATUS from the provided source ManagedClusters_AgentPool_STATUS
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_From_ManagedClusters_AgentPool_STATUS(source *storage.ManagedClusters_AgentPool_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if source.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile AgentPoolArtifactStreamingProfile_STATUS
+ err := artifactStreamingProfile.AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source.ArtifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ pool.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ pool.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ pool.AvailabilityZones = genruntime.CloneSliceOfString(source.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ pool.CapacityReservationGroupID = genruntime.ClonePointerToString(source.CapacityReservationGroupID)
+
+ // Conditions
+ pool.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // Count
+ pool.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // CreationData
+ if source.CreationData != nil {
+ var creationDatum CreationData_STATUS
+ err := creationDatum.AssignProperties_From_CreationData_STATUS(source.CreationData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_CreationData_STATUS() to populate field CreationData")
+ }
+ pool.CreationData = &creationDatum
+ } else {
+ pool.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ pool.CurrentOrchestratorVersion = genruntime.ClonePointerToString(source.CurrentOrchestratorVersion)
+
+ // ETag
+ if propertyBag.Contains("ETag") {
+ var eTag string
+ err := propertyBag.Pull("ETag", &eTag)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'ETag' from propertyBag")
+ }
+
+ pool.ETag = &eTag
+ } else {
+ pool.ETag = nil
+ }
+
+ // EnableAutoScaling
+ if source.EnableAutoScaling != nil {
+ enableAutoScaling := *source.EnableAutoScaling
+ pool.EnableAutoScaling = &enableAutoScaling
+ } else {
+ pool.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if source.EnableCustomCATrust != nil {
+ enableCustomCATrust := *source.EnableCustomCATrust
+ pool.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ pool.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if source.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *source.EnableEncryptionAtHost
+ pool.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ pool.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if source.EnableFIPS != nil {
+ enableFIPS := *source.EnableFIPS
+ pool.EnableFIPS = &enableFIPS
+ } else {
+ pool.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if source.EnableNodePublicIP != nil {
+ enableNodePublicIP := *source.EnableNodePublicIP
+ pool.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ pool.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if source.EnableUltraSSD != nil {
+ enableUltraSSD := *source.EnableUltraSSD
+ pool.EnableUltraSSD = &enableUltraSSD
+ } else {
+ pool.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if propertyBag.Contains("GatewayProfile") {
+ var gatewayProfile AgentPoolGatewayProfile_STATUS
+ err := propertyBag.Pull("GatewayProfile", &gatewayProfile)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'GatewayProfile' from propertyBag")
+ }
+
+ pool.GatewayProfile = &gatewayProfile
+ } else {
+ pool.GatewayProfile = nil
+ }
+
+ // GpuInstanceProfile
+ pool.GpuInstanceProfile = genruntime.ClonePointerToString(source.GpuInstanceProfile)
+
+ // GpuProfile
+ if source.GpuProfile != nil {
+ var gpuProfile AgentPoolGPUProfile_STATUS
+ err := gpuProfile.AssignProperties_From_AgentPoolGPUProfile_STATUS(source.GpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ pool.GpuProfile = &gpuProfile
+ } else {
+ pool.GpuProfile = nil
+ }
+
+ // HostGroupID
+ pool.HostGroupID = genruntime.ClonePointerToString(source.HostGroupID)
+
+ // Id
+ pool.Id = genruntime.ClonePointerToString(source.Id)
+
+ // KubeletConfig
+ if source.KubeletConfig != nil {
+ var kubeletConfig KubeletConfig_STATUS
+ err := kubeletConfig.AssignProperties_From_KubeletConfig_STATUS(source.KubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ pool.KubeletConfig = &kubeletConfig
+ } else {
+ pool.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ pool.KubeletDiskType = genruntime.ClonePointerToString(source.KubeletDiskType)
+
+ // LinuxOSConfig
+ if source.LinuxOSConfig != nil {
+ var linuxOSConfig LinuxOSConfig_STATUS
+ err := linuxOSConfig.AssignProperties_From_LinuxOSConfig_STATUS(source.LinuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ pool.LinuxOSConfig = &linuxOSConfig
+ } else {
+ pool.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ pool.MaxCount = genruntime.ClonePointerToInt(source.MaxCount)
+
+ // MaxPods
+ pool.MaxPods = genruntime.ClonePointerToInt(source.MaxPods)
+
+ // MessageOfTheDay
+ pool.MessageOfTheDay = genruntime.ClonePointerToString(source.MessageOfTheDay)
+
+ // MinCount
+ pool.MinCount = genruntime.ClonePointerToInt(source.MinCount)
+
+ // Mode
+ pool.Mode = genruntime.ClonePointerToString(source.Mode)
+
+ // Name
+ pool.Name = genruntime.ClonePointerToString(source.Name)
+
+ // NetworkProfile
+ if source.NetworkProfile != nil {
+ var networkProfile AgentPoolNetworkProfile_STATUS
+ err := networkProfile.AssignProperties_From_AgentPoolNetworkProfile_STATUS(source.NetworkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ pool.NetworkProfile = &networkProfile
+ } else {
+ pool.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ pool.NodeImageVersion = genruntime.ClonePointerToString(source.NodeImageVersion)
+
+ // NodeInitializationTaints
+ pool.NodeInitializationTaints = genruntime.CloneSliceOfString(source.NodeInitializationTaints)
+
+ // NodeLabels
+ pool.NodeLabels = genruntime.CloneMapOfStringToString(source.NodeLabels)
+
+ // NodePublicIPPrefixID
+ pool.NodePublicIPPrefixID = genruntime.ClonePointerToString(source.NodePublicIPPrefixID)
+
+ // NodeTaints
+ pool.NodeTaints = genruntime.CloneSliceOfString(source.NodeTaints)
+
+ // OrchestratorVersion
+ pool.OrchestratorVersion = genruntime.ClonePointerToString(source.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ pool.OsDiskSizeGB = genruntime.ClonePointerToInt(source.OsDiskSizeGB)
+
+ // OsDiskType
+ pool.OsDiskType = genruntime.ClonePointerToString(source.OsDiskType)
+
+ // OsSKU
+ pool.OsSKU = genruntime.ClonePointerToString(source.OsSKU)
+
+ // OsType
+ pool.OsType = genruntime.ClonePointerToString(source.OsType)
+
+ // PodIPAllocationMode
+ if propertyBag.Contains("PodIPAllocationMode") {
+ var podIPAllocationMode string
+ err := propertyBag.Pull("PodIPAllocationMode", &podIPAllocationMode)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'PodIPAllocationMode' from propertyBag")
+ }
+
+ pool.PodIPAllocationMode = &podIPAllocationMode
+ } else {
+ pool.PodIPAllocationMode = nil
+ }
+
+ // PodSubnetID
+ pool.PodSubnetID = genruntime.ClonePointerToString(source.PodSubnetID)
+
+ // PowerState
+ if source.PowerState != nil {
+ var powerState PowerState_STATUS
+ err := powerState.AssignProperties_From_PowerState_STATUS(source.PowerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PowerState_STATUS() to populate field PowerState")
+ }
+ pool.PowerState = &powerState
+ } else {
+ pool.PowerState = nil
+ }
+
+ // PropertiesType
+ pool.PropertiesType = genruntime.ClonePointerToString(source.PropertiesType)
+
+ // ProvisioningState
+ pool.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ pool.ProximityPlacementGroupID = genruntime.ClonePointerToString(source.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ pool.ScaleDownMode = genruntime.ClonePointerToString(source.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ pool.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(source.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ pool.ScaleSetPriority = genruntime.ClonePointerToString(source.ScaleSetPriority)
+
+ // SecurityProfile
+ if source.SecurityProfile != nil {
+ var securityProfile AgentPoolSecurityProfile_STATUS
+ err := securityProfile.AssignProperties_From_AgentPoolSecurityProfile_STATUS(source.SecurityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ pool.SecurityProfile = &securityProfile
+ } else {
+ pool.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if source.SpotMaxPrice != nil {
+ spotMaxPrice := *source.SpotMaxPrice
+ pool.SpotMaxPrice = &spotMaxPrice
+ } else {
+ pool.SpotMaxPrice = nil
+ }
+
+ // Tags
+ pool.Tags = genruntime.CloneMapOfStringToString(source.Tags)
+
+ // Type
+ pool.Type = genruntime.ClonePointerToString(source.Type)
+
+ // UpgradeSettings
+ if source.UpgradeSettings != nil {
+ var upgradeSetting AgentPoolUpgradeSettings_STATUS
+ err := upgradeSetting.AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source.UpgradeSettings)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ pool.UpgradeSettings = &upgradeSetting
+ } else {
+ pool.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if source.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]VirtualMachineNodes_STATUS, len(source.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range source.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatus.AssignProperties_From_VirtualMachineNodes_STATUS(&virtualMachineNodesStatusItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ pool.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ pool.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if source.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile VirtualMachinesProfile_STATUS
+ err := virtualMachinesProfile.AssignProperties_From_VirtualMachinesProfile_STATUS(source.VirtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ pool.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ pool.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ pool.VmSize = genruntime.ClonePointerToString(source.VmSize)
+
+ // VnetSubnetID
+ pool.VnetSubnetID = genruntime.ClonePointerToString(source.VnetSubnetID)
+
+ // WindowsProfile
+ if source.WindowsProfile != nil {
+ var windowsProfile AgentPoolWindowsProfile_STATUS
+ err := windowsProfile.AssignProperties_From_AgentPoolWindowsProfile_STATUS(source.WindowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ pool.WindowsProfile = &windowsProfile
+ } else {
+ pool.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ pool.WorkloadRuntime = genruntime.ClonePointerToString(source.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ pool.PropertyBag = propertyBag
+ } else {
+ pool.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_AgentPool_STATUS interface (if implemented) to customize the conversion
+ var poolAsAny any = pool
+ if augmentedPool, ok := poolAsAny.(augmentConversionForManagedClusters_AgentPool_STATUS); ok {
+ err := augmentedPool.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_AgentPool_STATUS populates the provided destination ManagedClusters_AgentPool_STATUS from our ManagedClusters_AgentPool_STATUS
+func (pool *ManagedClusters_AgentPool_STATUS) AssignProperties_To_ManagedClusters_AgentPool_STATUS(destination *storage.ManagedClusters_AgentPool_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(pool.PropertyBag)
+
+ // ArtifactStreamingProfile
+ if pool.ArtifactStreamingProfile != nil {
+ var artifactStreamingProfile storage.AgentPoolArtifactStreamingProfile_STATUS
+ err := pool.ArtifactStreamingProfile.AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(&artifactStreamingProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS() to populate field ArtifactStreamingProfile")
+ }
+ destination.ArtifactStreamingProfile = &artifactStreamingProfile
+ } else {
+ destination.ArtifactStreamingProfile = nil
+ }
+
+ // AvailabilityZones
+ destination.AvailabilityZones = genruntime.CloneSliceOfString(pool.AvailabilityZones)
+
+ // CapacityReservationGroupID
+ destination.CapacityReservationGroupID = genruntime.ClonePointerToString(pool.CapacityReservationGroupID)
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(pool.Conditions)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(pool.Count)
+
+ // CreationData
+ if pool.CreationData != nil {
+ var creationDatum storage.CreationData_STATUS
+ err := pool.CreationData.AssignProperties_To_CreationData_STATUS(&creationDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_CreationData_STATUS() to populate field CreationData")
+ }
+ destination.CreationData = &creationDatum
+ } else {
+ destination.CreationData = nil
+ }
+
+ // CurrentOrchestratorVersion
+ destination.CurrentOrchestratorVersion = genruntime.ClonePointerToString(pool.CurrentOrchestratorVersion)
+
+ // ETag
+ if pool.ETag != nil {
+ propertyBag.Add("ETag", *pool.ETag)
+ } else {
+ propertyBag.Remove("ETag")
+ }
+
+ // EnableAutoScaling
+ if pool.EnableAutoScaling != nil {
+ enableAutoScaling := *pool.EnableAutoScaling
+ destination.EnableAutoScaling = &enableAutoScaling
+ } else {
+ destination.EnableAutoScaling = nil
+ }
+
+ // EnableCustomCATrust
+ if pool.EnableCustomCATrust != nil {
+ enableCustomCATrust := *pool.EnableCustomCATrust
+ destination.EnableCustomCATrust = &enableCustomCATrust
+ } else {
+ destination.EnableCustomCATrust = nil
+ }
+
+ // EnableEncryptionAtHost
+ if pool.EnableEncryptionAtHost != nil {
+ enableEncryptionAtHost := *pool.EnableEncryptionAtHost
+ destination.EnableEncryptionAtHost = &enableEncryptionAtHost
+ } else {
+ destination.EnableEncryptionAtHost = nil
+ }
+
+ // EnableFIPS
+ if pool.EnableFIPS != nil {
+ enableFIPS := *pool.EnableFIPS
+ destination.EnableFIPS = &enableFIPS
+ } else {
+ destination.EnableFIPS = nil
+ }
+
+ // EnableNodePublicIP
+ if pool.EnableNodePublicIP != nil {
+ enableNodePublicIP := *pool.EnableNodePublicIP
+ destination.EnableNodePublicIP = &enableNodePublicIP
+ } else {
+ destination.EnableNodePublicIP = nil
+ }
+
+ // EnableUltraSSD
+ if pool.EnableUltraSSD != nil {
+ enableUltraSSD := *pool.EnableUltraSSD
+ destination.EnableUltraSSD = &enableUltraSSD
+ } else {
+ destination.EnableUltraSSD = nil
+ }
+
+ // GatewayProfile
+ if pool.GatewayProfile != nil {
+ propertyBag.Add("GatewayProfile", *pool.GatewayProfile)
+ } else {
+ propertyBag.Remove("GatewayProfile")
+ }
+
+ // GpuInstanceProfile
+ destination.GpuInstanceProfile = genruntime.ClonePointerToString(pool.GpuInstanceProfile)
+
+ // GpuProfile
+ if pool.GpuProfile != nil {
+ var gpuProfile storage.AgentPoolGPUProfile_STATUS
+ err := pool.GpuProfile.AssignProperties_To_AgentPoolGPUProfile_STATUS(&gpuProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolGPUProfile_STATUS() to populate field GpuProfile")
+ }
+ destination.GpuProfile = &gpuProfile
+ } else {
+ destination.GpuProfile = nil
+ }
+
+ // HostGroupID
+ destination.HostGroupID = genruntime.ClonePointerToString(pool.HostGroupID)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(pool.Id)
+
+ // KubeletConfig
+ if pool.KubeletConfig != nil {
+ var kubeletConfig storage.KubeletConfig_STATUS
+ err := pool.KubeletConfig.AssignProperties_To_KubeletConfig_STATUS(&kubeletConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_KubeletConfig_STATUS() to populate field KubeletConfig")
+ }
+ destination.KubeletConfig = &kubeletConfig
+ } else {
+ destination.KubeletConfig = nil
+ }
+
+ // KubeletDiskType
+ destination.KubeletDiskType = genruntime.ClonePointerToString(pool.KubeletDiskType)
+
+ // LinuxOSConfig
+ if pool.LinuxOSConfig != nil {
+ var linuxOSConfig storage.LinuxOSConfig_STATUS
+ err := pool.LinuxOSConfig.AssignProperties_To_LinuxOSConfig_STATUS(&linuxOSConfig)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_LinuxOSConfig_STATUS() to populate field LinuxOSConfig")
+ }
+ destination.LinuxOSConfig = &linuxOSConfig
+ } else {
+ destination.LinuxOSConfig = nil
+ }
+
+ // MaxCount
+ destination.MaxCount = genruntime.ClonePointerToInt(pool.MaxCount)
+
+ // MaxPods
+ destination.MaxPods = genruntime.ClonePointerToInt(pool.MaxPods)
+
+ // MessageOfTheDay
+ destination.MessageOfTheDay = genruntime.ClonePointerToString(pool.MessageOfTheDay)
+
+ // MinCount
+ destination.MinCount = genruntime.ClonePointerToInt(pool.MinCount)
+
+ // Mode
+ destination.Mode = genruntime.ClonePointerToString(pool.Mode)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(pool.Name)
+
+ // NetworkProfile
+ if pool.NetworkProfile != nil {
+ var networkProfile storage.AgentPoolNetworkProfile_STATUS
+ err := pool.NetworkProfile.AssignProperties_To_AgentPoolNetworkProfile_STATUS(&networkProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolNetworkProfile_STATUS() to populate field NetworkProfile")
+ }
+ destination.NetworkProfile = &networkProfile
+ } else {
+ destination.NetworkProfile = nil
+ }
+
+ // NodeImageVersion
+ destination.NodeImageVersion = genruntime.ClonePointerToString(pool.NodeImageVersion)
+
+ // NodeInitializationTaints
+ destination.NodeInitializationTaints = genruntime.CloneSliceOfString(pool.NodeInitializationTaints)
+
+ // NodeLabels
+ destination.NodeLabels = genruntime.CloneMapOfStringToString(pool.NodeLabels)
+
+ // NodePublicIPPrefixID
+ destination.NodePublicIPPrefixID = genruntime.ClonePointerToString(pool.NodePublicIPPrefixID)
+
+ // NodeTaints
+ destination.NodeTaints = genruntime.CloneSliceOfString(pool.NodeTaints)
+
+ // OrchestratorVersion
+ destination.OrchestratorVersion = genruntime.ClonePointerToString(pool.OrchestratorVersion)
+
+ // OsDiskSizeGB
+ destination.OsDiskSizeGB = genruntime.ClonePointerToInt(pool.OsDiskSizeGB)
+
+ // OsDiskType
+ destination.OsDiskType = genruntime.ClonePointerToString(pool.OsDiskType)
+
+ // OsSKU
+ destination.OsSKU = genruntime.ClonePointerToString(pool.OsSKU)
+
+ // OsType
+ destination.OsType = genruntime.ClonePointerToString(pool.OsType)
+
+ // PodIPAllocationMode
+ if pool.PodIPAllocationMode != nil {
+ propertyBag.Add("PodIPAllocationMode", *pool.PodIPAllocationMode)
+ } else {
+ propertyBag.Remove("PodIPAllocationMode")
+ }
+
+ // PodSubnetID
+ destination.PodSubnetID = genruntime.ClonePointerToString(pool.PodSubnetID)
+
+ // PowerState
+ if pool.PowerState != nil {
+ var powerState storage.PowerState_STATUS
+ err := pool.PowerState.AssignProperties_To_PowerState_STATUS(&powerState)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PowerState_STATUS() to populate field PowerState")
+ }
+ destination.PowerState = &powerState
+ } else {
+ destination.PowerState = nil
+ }
+
+ // PropertiesType
+ destination.PropertiesType = genruntime.ClonePointerToString(pool.PropertiesType)
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(pool.ProvisioningState)
+
+ // ProximityPlacementGroupID
+ destination.ProximityPlacementGroupID = genruntime.ClonePointerToString(pool.ProximityPlacementGroupID)
+
+ // ScaleDownMode
+ destination.ScaleDownMode = genruntime.ClonePointerToString(pool.ScaleDownMode)
+
+ // ScaleSetEvictionPolicy
+ destination.ScaleSetEvictionPolicy = genruntime.ClonePointerToString(pool.ScaleSetEvictionPolicy)
+
+ // ScaleSetPriority
+ destination.ScaleSetPriority = genruntime.ClonePointerToString(pool.ScaleSetPriority)
+
+ // SecurityProfile
+ if pool.SecurityProfile != nil {
+ var securityProfile storage.AgentPoolSecurityProfile_STATUS
+ err := pool.SecurityProfile.AssignProperties_To_AgentPoolSecurityProfile_STATUS(&securityProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolSecurityProfile_STATUS() to populate field SecurityProfile")
+ }
+ destination.SecurityProfile = &securityProfile
+ } else {
+ destination.SecurityProfile = nil
+ }
+
+ // SpotMaxPrice
+ if pool.SpotMaxPrice != nil {
+ spotMaxPrice := *pool.SpotMaxPrice
+ destination.SpotMaxPrice = &spotMaxPrice
+ } else {
+ destination.SpotMaxPrice = nil
+ }
+
+ // Tags
+ destination.Tags = genruntime.CloneMapOfStringToString(pool.Tags)
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(pool.Type)
+
+ // UpgradeSettings
+ if pool.UpgradeSettings != nil {
+ var upgradeSetting storage.AgentPoolUpgradeSettings_STATUS
+ err := pool.UpgradeSettings.AssignProperties_To_AgentPoolUpgradeSettings_STATUS(&upgradeSetting)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolUpgradeSettings_STATUS() to populate field UpgradeSettings")
+ }
+ destination.UpgradeSettings = &upgradeSetting
+ } else {
+ destination.UpgradeSettings = nil
+ }
+
+ // VirtualMachineNodesStatus
+ if pool.VirtualMachineNodesStatus != nil {
+ virtualMachineNodesStatusList := make([]storage.VirtualMachineNodes_STATUS, len(pool.VirtualMachineNodesStatus))
+ for virtualMachineNodesStatusIndex, virtualMachineNodesStatusItem := range pool.VirtualMachineNodesStatus {
+ // Shadow the loop variable to avoid aliasing
+ virtualMachineNodesStatusItem := virtualMachineNodesStatusItem
+ var virtualMachineNodesStatus storage.VirtualMachineNodes_STATUS
+ err := virtualMachineNodesStatusItem.AssignProperties_To_VirtualMachineNodes_STATUS(&virtualMachineNodesStatus)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachineNodes_STATUS() to populate field VirtualMachineNodesStatus")
+ }
+ virtualMachineNodesStatusList[virtualMachineNodesStatusIndex] = virtualMachineNodesStatus
+ }
+ destination.VirtualMachineNodesStatus = virtualMachineNodesStatusList
+ } else {
+ destination.VirtualMachineNodesStatus = nil
+ }
+
+ // VirtualMachinesProfile
+ if pool.VirtualMachinesProfile != nil {
+ var virtualMachinesProfile storage.VirtualMachinesProfile_STATUS
+ err := pool.VirtualMachinesProfile.AssignProperties_To_VirtualMachinesProfile_STATUS(&virtualMachinesProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_VirtualMachinesProfile_STATUS() to populate field VirtualMachinesProfile")
+ }
+ destination.VirtualMachinesProfile = &virtualMachinesProfile
+ } else {
+ destination.VirtualMachinesProfile = nil
+ }
+
+ // VmSize
+ destination.VmSize = genruntime.ClonePointerToString(pool.VmSize)
+
+ // VnetSubnetID
+ destination.VnetSubnetID = genruntime.ClonePointerToString(pool.VnetSubnetID)
+
+ // WindowsProfile
+ if pool.WindowsProfile != nil {
+ var windowsProfile storage.AgentPoolWindowsProfile_STATUS
+ err := pool.WindowsProfile.AssignProperties_To_AgentPoolWindowsProfile_STATUS(&windowsProfile)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_AgentPoolWindowsProfile_STATUS() to populate field WindowsProfile")
+ }
+ destination.WindowsProfile = &windowsProfile
+ } else {
+ destination.WindowsProfile = nil
+ }
+
+ // WorkloadRuntime
+ destination.WorkloadRuntime = genruntime.ClonePointerToString(pool.WorkloadRuntime)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_AgentPool_STATUS interface (if implemented) to customize the conversion
+ var poolAsAny any = pool
+ if augmentedPool, ok := poolAsAny.(augmentConversionForManagedClusters_AgentPool_STATUS); ok {
+ err := augmentedPool.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolArtifactStreamingProfile
+type AgentPoolArtifactStreamingProfile struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolArtifactStreamingProfile populates our AgentPoolArtifactStreamingProfile from the provided source AgentPoolArtifactStreamingProfile
+func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_From_AgentPoolArtifactStreamingProfile(source *storage.AgentPoolArtifactStreamingProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolArtifactStreamingProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolArtifactStreamingProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolArtifactStreamingProfile populates the provided destination AgentPoolArtifactStreamingProfile from our AgentPoolArtifactStreamingProfile
+func (profile *AgentPoolArtifactStreamingProfile) AssignProperties_To_AgentPoolArtifactStreamingProfile(destination *storage.AgentPoolArtifactStreamingProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolArtifactStreamingProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolArtifactStreamingProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolArtifactStreamingProfile_STATUS
+type AgentPoolArtifactStreamingProfile_STATUS struct {
+ Enabled *bool `json:"enabled,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS populates our AgentPoolArtifactStreamingProfile_STATUS from the provided source AgentPoolArtifactStreamingProfile_STATUS
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_From_AgentPoolArtifactStreamingProfile_STATUS(source *storage.AgentPoolArtifactStreamingProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Enabled
+ if source.Enabled != nil {
+ enabled := *source.Enabled
+ profile.Enabled = &enabled
+ } else {
+ profile.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolArtifactStreamingProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolArtifactStreamingProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS populates the provided destination AgentPoolArtifactStreamingProfile_STATUS from our AgentPoolArtifactStreamingProfile_STATUS
+func (profile *AgentPoolArtifactStreamingProfile_STATUS) AssignProperties_To_AgentPoolArtifactStreamingProfile_STATUS(destination *storage.AgentPoolArtifactStreamingProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Enabled
+ if profile.Enabled != nil {
+ enabled := *profile.Enabled
+ destination.Enabled = &enabled
+ } else {
+ destination.Enabled = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolArtifactStreamingProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolArtifactStreamingProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolGatewayProfile
+// Profile of the managed cluster gateway agent pool.
+type AgentPoolGatewayProfile struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicIPPrefixSize *int `json:"publicIPPrefixSize,omitempty"`
+}
+
+// Storage version of v1api20240402preview.AgentPoolGatewayProfile_STATUS
+// Profile of the managed cluster gateway agent pool.
+type AgentPoolGatewayProfile_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ PublicIPPrefixSize *int `json:"publicIPPrefixSize,omitempty"`
+}
+
+// Storage version of v1api20240402preview.AgentPoolGPUProfile
+type AgentPoolGPUProfile struct {
+ InstallGPUDriver *bool `json:"installGPUDriver,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolGPUProfile populates our AgentPoolGPUProfile from the provided source AgentPoolGPUProfile
+func (profile *AgentPoolGPUProfile) AssignProperties_From_AgentPoolGPUProfile(source *storage.AgentPoolGPUProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // InstallGPUDriver
+ if source.InstallGPUDriver != nil {
+ installGPUDriver := *source.InstallGPUDriver
+ profile.InstallGPUDriver = &installGPUDriver
+ } else {
+ profile.InstallGPUDriver = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolGPUProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolGPUProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolGPUProfile populates the provided destination AgentPoolGPUProfile from our AgentPoolGPUProfile
+func (profile *AgentPoolGPUProfile) AssignProperties_To_AgentPoolGPUProfile(destination *storage.AgentPoolGPUProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // InstallGPUDriver
+ if profile.InstallGPUDriver != nil {
+ installGPUDriver := *profile.InstallGPUDriver
+ destination.InstallGPUDriver = &installGPUDriver
+ } else {
+ destination.InstallGPUDriver = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolGPUProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolGPUProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolGPUProfile_STATUS
+type AgentPoolGPUProfile_STATUS struct {
+ InstallGPUDriver *bool `json:"installGPUDriver,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolGPUProfile_STATUS populates our AgentPoolGPUProfile_STATUS from the provided source AgentPoolGPUProfile_STATUS
+func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_From_AgentPoolGPUProfile_STATUS(source *storage.AgentPoolGPUProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // InstallGPUDriver
+ if source.InstallGPUDriver != nil {
+ installGPUDriver := *source.InstallGPUDriver
+ profile.InstallGPUDriver = &installGPUDriver
+ } else {
+ profile.InstallGPUDriver = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolGPUProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolGPUProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolGPUProfile_STATUS populates the provided destination AgentPoolGPUProfile_STATUS from our AgentPoolGPUProfile_STATUS
+func (profile *AgentPoolGPUProfile_STATUS) AssignProperties_To_AgentPoolGPUProfile_STATUS(destination *storage.AgentPoolGPUProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // InstallGPUDriver
+ if profile.InstallGPUDriver != nil {
+ installGPUDriver := *profile.InstallGPUDriver
+ destination.InstallGPUDriver = &installGPUDriver
+ } else {
+ destination.InstallGPUDriver = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolGPUProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolGPUProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolNetworkProfile
+// Network settings of an agent pool.
+type AgentPoolNetworkProfile struct {
+ AllowedHostPorts []PortRange `json:"allowedHostPorts,omitempty"`
+ ApplicationSecurityGroupsReferences []genruntime.ResourceReference `armReference:"ApplicationSecurityGroups" json:"applicationSecurityGroupsReferences,omitempty"`
+ NodePublicIPTags []IPTag `json:"nodePublicIPTags,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolNetworkProfile populates our AgentPoolNetworkProfile from the provided source AgentPoolNetworkProfile
+func (profile *AgentPoolNetworkProfile) AssignProperties_From_AgentPoolNetworkProfile(source *storage.AgentPoolNetworkProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllowedHostPorts
+ if source.AllowedHostPorts != nil {
+ allowedHostPortList := make([]PortRange, len(source.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range source.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort PortRange
+ err := allowedHostPort.AssignProperties_From_PortRange(&allowedHostPortItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PortRange() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ profile.AllowedHostPorts = allowedHostPortList
+ } else {
+ profile.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroupsReferences
+ if source.ApplicationSecurityGroupsReferences != nil {
+ applicationSecurityGroupsReferenceList := make([]genruntime.ResourceReference, len(source.ApplicationSecurityGroupsReferences))
+ for applicationSecurityGroupsReferenceIndex, applicationSecurityGroupsReferenceItem := range source.ApplicationSecurityGroupsReferences {
+ // Shadow the loop variable to avoid aliasing
+ applicationSecurityGroupsReferenceItem := applicationSecurityGroupsReferenceItem
+ applicationSecurityGroupsReferenceList[applicationSecurityGroupsReferenceIndex] = applicationSecurityGroupsReferenceItem.Copy()
+ }
+ profile.ApplicationSecurityGroupsReferences = applicationSecurityGroupsReferenceList
+ } else {
+ profile.ApplicationSecurityGroupsReferences = nil
+ }
+
+ // NodePublicIPTags
+ if source.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]IPTag, len(source.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range source.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag IPTag
+ err := nodePublicIPTag.AssignProperties_From_IPTag(&nodePublicIPTagItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IPTag() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ profile.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ profile.NodePublicIPTags = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolNetworkProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolNetworkProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolNetworkProfile populates the provided destination AgentPoolNetworkProfile from our AgentPoolNetworkProfile
+func (profile *AgentPoolNetworkProfile) AssignProperties_To_AgentPoolNetworkProfile(destination *storage.AgentPoolNetworkProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AllowedHostPorts
+ if profile.AllowedHostPorts != nil {
+ allowedHostPortList := make([]storage.PortRange, len(profile.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort storage.PortRange
+ err := allowedHostPortItem.AssignProperties_To_PortRange(&allowedHostPort)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PortRange() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ destination.AllowedHostPorts = allowedHostPortList
+ } else {
+ destination.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroupsReferences
+ if profile.ApplicationSecurityGroupsReferences != nil {
+ applicationSecurityGroupsReferenceList := make([]genruntime.ResourceReference, len(profile.ApplicationSecurityGroupsReferences))
+ for applicationSecurityGroupsReferenceIndex, applicationSecurityGroupsReferenceItem := range profile.ApplicationSecurityGroupsReferences {
+ // Shadow the loop variable to avoid aliasing
+ applicationSecurityGroupsReferenceItem := applicationSecurityGroupsReferenceItem
+ applicationSecurityGroupsReferenceList[applicationSecurityGroupsReferenceIndex] = applicationSecurityGroupsReferenceItem.Copy()
+ }
+ destination.ApplicationSecurityGroupsReferences = applicationSecurityGroupsReferenceList
+ } else {
+ destination.ApplicationSecurityGroupsReferences = nil
+ }
+
+ // NodePublicIPTags
+ if profile.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]storage.IPTag, len(profile.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag storage.IPTag
+ err := nodePublicIPTagItem.AssignProperties_To_IPTag(&nodePublicIPTag)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IPTag() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ destination.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ destination.NodePublicIPTags = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolNetworkProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolNetworkProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolNetworkProfile_STATUS
+// Network settings of an agent pool.
+type AgentPoolNetworkProfile_STATUS struct {
+ AllowedHostPorts []PortRange_STATUS `json:"allowedHostPorts,omitempty"`
+ ApplicationSecurityGroups []string `json:"applicationSecurityGroups,omitempty"`
+ NodePublicIPTags []IPTag_STATUS `json:"nodePublicIPTags,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolNetworkProfile_STATUS populates our AgentPoolNetworkProfile_STATUS from the provided source AgentPoolNetworkProfile_STATUS
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_From_AgentPoolNetworkProfile_STATUS(source *storage.AgentPoolNetworkProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllowedHostPorts
+ if source.AllowedHostPorts != nil {
+ allowedHostPortList := make([]PortRange_STATUS, len(source.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range source.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort PortRange_STATUS
+ err := allowedHostPort.AssignProperties_From_PortRange_STATUS(&allowedHostPortItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PortRange_STATUS() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ profile.AllowedHostPorts = allowedHostPortList
+ } else {
+ profile.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroups
+ profile.ApplicationSecurityGroups = genruntime.CloneSliceOfString(source.ApplicationSecurityGroups)
+
+ // NodePublicIPTags
+ if source.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]IPTag_STATUS, len(source.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range source.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag IPTag_STATUS
+ err := nodePublicIPTag.AssignProperties_From_IPTag_STATUS(&nodePublicIPTagItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_IPTag_STATUS() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ profile.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ profile.NodePublicIPTags = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolNetworkProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolNetworkProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolNetworkProfile_STATUS populates the provided destination AgentPoolNetworkProfile_STATUS from our AgentPoolNetworkProfile_STATUS
+func (profile *AgentPoolNetworkProfile_STATUS) AssignProperties_To_AgentPoolNetworkProfile_STATUS(destination *storage.AgentPoolNetworkProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // AllowedHostPorts
+ if profile.AllowedHostPorts != nil {
+ allowedHostPortList := make([]storage.PortRange_STATUS, len(profile.AllowedHostPorts))
+ for allowedHostPortIndex, allowedHostPortItem := range profile.AllowedHostPorts {
+ // Shadow the loop variable to avoid aliasing
+ allowedHostPortItem := allowedHostPortItem
+ var allowedHostPort storage.PortRange_STATUS
+ err := allowedHostPortItem.AssignProperties_To_PortRange_STATUS(&allowedHostPort)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PortRange_STATUS() to populate field AllowedHostPorts")
+ }
+ allowedHostPortList[allowedHostPortIndex] = allowedHostPort
+ }
+ destination.AllowedHostPorts = allowedHostPortList
+ } else {
+ destination.AllowedHostPorts = nil
+ }
+
+ // ApplicationSecurityGroups
+ destination.ApplicationSecurityGroups = genruntime.CloneSliceOfString(profile.ApplicationSecurityGroups)
+
+ // NodePublicIPTags
+ if profile.NodePublicIPTags != nil {
+ nodePublicIPTagList := make([]storage.IPTag_STATUS, len(profile.NodePublicIPTags))
+ for nodePublicIPTagIndex, nodePublicIPTagItem := range profile.NodePublicIPTags {
+ // Shadow the loop variable to avoid aliasing
+ nodePublicIPTagItem := nodePublicIPTagItem
+ var nodePublicIPTag storage.IPTag_STATUS
+ err := nodePublicIPTagItem.AssignProperties_To_IPTag_STATUS(&nodePublicIPTag)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_IPTag_STATUS() to populate field NodePublicIPTags")
+ }
+ nodePublicIPTagList[nodePublicIPTagIndex] = nodePublicIPTag
+ }
+ destination.NodePublicIPTags = nodePublicIPTagList
+ } else {
+ destination.NodePublicIPTags = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolNetworkProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolNetworkProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolSecurityProfile
+// The security settings of an agent pool.
+type AgentPoolSecurityProfile struct {
+ EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"`
+ EnableVTPM *bool `json:"enableVTPM,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SshAccess *string `json:"sshAccess,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolSecurityProfile populates our AgentPoolSecurityProfile from the provided source AgentPoolSecurityProfile
+func (profile *AgentPoolSecurityProfile) AssignProperties_From_AgentPoolSecurityProfile(source *storage.AgentPoolSecurityProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EnableSecureBoot
+ if source.EnableSecureBoot != nil {
+ enableSecureBoot := *source.EnableSecureBoot
+ profile.EnableSecureBoot = &enableSecureBoot
+ } else {
+ profile.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if source.EnableVTPM != nil {
+ enableVTPM := *source.EnableVTPM
+ profile.EnableVTPM = &enableVTPM
+ } else {
+ profile.EnableVTPM = nil
+ }
+
+ // SshAccess
+ profile.SshAccess = genruntime.ClonePointerToString(source.SshAccess)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolSecurityProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolSecurityProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolSecurityProfile populates the provided destination AgentPoolSecurityProfile from our AgentPoolSecurityProfile
+func (profile *AgentPoolSecurityProfile) AssignProperties_To_AgentPoolSecurityProfile(destination *storage.AgentPoolSecurityProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // EnableSecureBoot
+ if profile.EnableSecureBoot != nil {
+ enableSecureBoot := *profile.EnableSecureBoot
+ destination.EnableSecureBoot = &enableSecureBoot
+ } else {
+ destination.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if profile.EnableVTPM != nil {
+ enableVTPM := *profile.EnableVTPM
+ destination.EnableVTPM = &enableVTPM
+ } else {
+ destination.EnableVTPM = nil
+ }
+
+ // SshAccess
+ destination.SshAccess = genruntime.ClonePointerToString(profile.SshAccess)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolSecurityProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolSecurityProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolSecurityProfile_STATUS
+// The security settings of an agent pool.
+type AgentPoolSecurityProfile_STATUS struct {
+ EnableSecureBoot *bool `json:"enableSecureBoot,omitempty"`
+ EnableVTPM *bool `json:"enableVTPM,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SshAccess *string `json:"sshAccess,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolSecurityProfile_STATUS populates our AgentPoolSecurityProfile_STATUS from the provided source AgentPoolSecurityProfile_STATUS
+func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_From_AgentPoolSecurityProfile_STATUS(source *storage.AgentPoolSecurityProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // EnableSecureBoot
+ if source.EnableSecureBoot != nil {
+ enableSecureBoot := *source.EnableSecureBoot
+ profile.EnableSecureBoot = &enableSecureBoot
+ } else {
+ profile.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if source.EnableVTPM != nil {
+ enableVTPM := *source.EnableVTPM
+ profile.EnableVTPM = &enableVTPM
+ } else {
+ profile.EnableVTPM = nil
+ }
+
+ // SshAccess
+ profile.SshAccess = genruntime.ClonePointerToString(source.SshAccess)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolSecurityProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolSecurityProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolSecurityProfile_STATUS populates the provided destination AgentPoolSecurityProfile_STATUS from our AgentPoolSecurityProfile_STATUS
+func (profile *AgentPoolSecurityProfile_STATUS) AssignProperties_To_AgentPoolSecurityProfile_STATUS(destination *storage.AgentPoolSecurityProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // EnableSecureBoot
+ if profile.EnableSecureBoot != nil {
+ enableSecureBoot := *profile.EnableSecureBoot
+ destination.EnableSecureBoot = &enableSecureBoot
+ } else {
+ destination.EnableSecureBoot = nil
+ }
+
+ // EnableVTPM
+ if profile.EnableVTPM != nil {
+ enableVTPM := *profile.EnableVTPM
+ destination.EnableVTPM = &enableVTPM
+ } else {
+ destination.EnableVTPM = nil
+ }
+
+ // SshAccess
+ destination.SshAccess = genruntime.ClonePointerToString(profile.SshAccess)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolSecurityProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolSecurityProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolUpgradeSettings
+// Settings for upgrading an agentpool
+type AgentPoolUpgradeSettings struct {
+ DrainTimeoutInMinutes *int `json:"drainTimeoutInMinutes,omitempty"`
+ MaxSurge *string `json:"maxSurge,omitempty"`
+ NodeSoakDurationInMinutes *int `json:"nodeSoakDurationInMinutes,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UndrainableNodeBehavior *string `json:"undrainableNodeBehavior,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolUpgradeSettings populates our AgentPoolUpgradeSettings from the provided source AgentPoolUpgradeSettings
+func (settings *AgentPoolUpgradeSettings) AssignProperties_From_AgentPoolUpgradeSettings(source *storage.AgentPoolUpgradeSettings) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DrainTimeoutInMinutes
+ settings.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(source.DrainTimeoutInMinutes)
+
+ // MaxSurge
+ settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ settings.NodeSoakDurationInMinutes = genruntime.ClonePointerToInt(source.NodeSoakDurationInMinutes)
+
+ // UndrainableNodeBehavior
+ if propertyBag.Contains("UndrainableNodeBehavior") {
+ var undrainableNodeBehavior string
+ err := propertyBag.Pull("UndrainableNodeBehavior", &undrainableNodeBehavior)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'UndrainableNodeBehavior' from propertyBag")
+ }
+
+ settings.UndrainableNodeBehavior = &undrainableNodeBehavior
+ } else {
+ settings.UndrainableNodeBehavior = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ settings.PropertyBag = propertyBag
+ } else {
+ settings.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolUpgradeSettings interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForAgentPoolUpgradeSettings); ok {
+ err := augmentedSettings.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolUpgradeSettings populates the provided destination AgentPoolUpgradeSettings from our AgentPoolUpgradeSettings
+func (settings *AgentPoolUpgradeSettings) AssignProperties_To_AgentPoolUpgradeSettings(destination *storage.AgentPoolUpgradeSettings) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
+
+ // DrainTimeoutInMinutes
+ destination.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(settings.DrainTimeoutInMinutes)
+
+ // MaxSurge
+ destination.MaxSurge = genruntime.ClonePointerToString(settings.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ destination.NodeSoakDurationInMinutes = genruntime.ClonePointerToInt(settings.NodeSoakDurationInMinutes)
+
+ // UndrainableNodeBehavior
+ if settings.UndrainableNodeBehavior != nil {
+ propertyBag.Add("UndrainableNodeBehavior", *settings.UndrainableNodeBehavior)
+ } else {
+ propertyBag.Remove("UndrainableNodeBehavior")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolUpgradeSettings interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForAgentPoolUpgradeSettings); ok {
+ err := augmentedSettings.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolUpgradeSettings_STATUS
+// Settings for upgrading an agentpool
+type AgentPoolUpgradeSettings_STATUS struct {
+ DrainTimeoutInMinutes *int `json:"drainTimeoutInMinutes,omitempty"`
+ MaxSurge *string `json:"maxSurge,omitempty"`
+ NodeSoakDurationInMinutes *int `json:"nodeSoakDurationInMinutes,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ UndrainableNodeBehavior *string `json:"undrainableNodeBehavior,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolUpgradeSettings_STATUS populates our AgentPoolUpgradeSettings_STATUS from the provided source AgentPoolUpgradeSettings_STATUS
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_From_AgentPoolUpgradeSettings_STATUS(source *storage.AgentPoolUpgradeSettings_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DrainTimeoutInMinutes
+ settings.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(source.DrainTimeoutInMinutes)
+
+ // MaxSurge
+ settings.MaxSurge = genruntime.ClonePointerToString(source.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ settings.NodeSoakDurationInMinutes = genruntime.ClonePointerToInt(source.NodeSoakDurationInMinutes)
+
+ // UndrainableNodeBehavior
+ if propertyBag.Contains("UndrainableNodeBehavior") {
+ var undrainableNodeBehavior string
+ err := propertyBag.Pull("UndrainableNodeBehavior", &undrainableNodeBehavior)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'UndrainableNodeBehavior' from propertyBag")
+ }
+
+ settings.UndrainableNodeBehavior = &undrainableNodeBehavior
+ } else {
+ settings.UndrainableNodeBehavior = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ settings.PropertyBag = propertyBag
+ } else {
+ settings.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolUpgradeSettings_STATUS interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForAgentPoolUpgradeSettings_STATUS); ok {
+ err := augmentedSettings.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolUpgradeSettings_STATUS populates the provided destination AgentPoolUpgradeSettings_STATUS from our AgentPoolUpgradeSettings_STATUS
+func (settings *AgentPoolUpgradeSettings_STATUS) AssignProperties_To_AgentPoolUpgradeSettings_STATUS(destination *storage.AgentPoolUpgradeSettings_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(settings.PropertyBag)
+
+ // DrainTimeoutInMinutes
+ destination.DrainTimeoutInMinutes = genruntime.ClonePointerToInt(settings.DrainTimeoutInMinutes)
+
+ // MaxSurge
+ destination.MaxSurge = genruntime.ClonePointerToString(settings.MaxSurge)
+
+ // NodeSoakDurationInMinutes
+ destination.NodeSoakDurationInMinutes = genruntime.ClonePointerToInt(settings.NodeSoakDurationInMinutes)
+
+ // UndrainableNodeBehavior
+ if settings.UndrainableNodeBehavior != nil {
+ propertyBag.Add("UndrainableNodeBehavior", *settings.UndrainableNodeBehavior)
+ } else {
+ propertyBag.Remove("UndrainableNodeBehavior")
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolUpgradeSettings_STATUS interface (if implemented) to customize the conversion
+ var settingsAsAny any = settings
+ if augmentedSettings, ok := settingsAsAny.(augmentConversionForAgentPoolUpgradeSettings_STATUS); ok {
+ err := augmentedSettings.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolWindowsProfile
+// The Windows agent pool's specific profile.
+type AgentPoolWindowsProfile struct {
+ DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolWindowsProfile populates our AgentPoolWindowsProfile from the provided source AgentPoolWindowsProfile
+func (profile *AgentPoolWindowsProfile) AssignProperties_From_AgentPoolWindowsProfile(source *storage.AgentPoolWindowsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DisableOutboundNat
+ if source.DisableOutboundNat != nil {
+ disableOutboundNat := *source.DisableOutboundNat
+ profile.DisableOutboundNat = &disableOutboundNat
+ } else {
+ profile.DisableOutboundNat = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolWindowsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolWindowsProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolWindowsProfile populates the provided destination AgentPoolWindowsProfile from our AgentPoolWindowsProfile
+func (profile *AgentPoolWindowsProfile) AssignProperties_To_AgentPoolWindowsProfile(destination *storage.AgentPoolWindowsProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // DisableOutboundNat
+ if profile.DisableOutboundNat != nil {
+ disableOutboundNat := *profile.DisableOutboundNat
+ destination.DisableOutboundNat = &disableOutboundNat
+ } else {
+ destination.DisableOutboundNat = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolWindowsProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolWindowsProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.AgentPoolWindowsProfile_STATUS
+// The Windows agent pool's specific profile.
+type AgentPoolWindowsProfile_STATUS struct {
+ DisableOutboundNat *bool `json:"disableOutboundNat,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_AgentPoolWindowsProfile_STATUS populates our AgentPoolWindowsProfile_STATUS from the provided source AgentPoolWindowsProfile_STATUS
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_From_AgentPoolWindowsProfile_STATUS(source *storage.AgentPoolWindowsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // DisableOutboundNat
+ if source.DisableOutboundNat != nil {
+ disableOutboundNat := *source.DisableOutboundNat
+ profile.DisableOutboundNat = &disableOutboundNat
+ } else {
+ profile.DisableOutboundNat = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolWindowsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolWindowsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_AgentPoolWindowsProfile_STATUS populates the provided destination AgentPoolWindowsProfile_STATUS from our AgentPoolWindowsProfile_STATUS
+func (profile *AgentPoolWindowsProfile_STATUS) AssignProperties_To_AgentPoolWindowsProfile_STATUS(destination *storage.AgentPoolWindowsProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // DisableOutboundNat
+ if profile.DisableOutboundNat != nil {
+ disableOutboundNat := *profile.DisableOutboundNat
+ destination.DisableOutboundNat = &disableOutboundNat
+ } else {
+ destination.DisableOutboundNat = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForAgentPoolWindowsProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForAgentPoolWindowsProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManagedClusters_AgentPool_Spec interface {
+ AssignPropertiesFrom(src *storage.ManagedClusters_AgentPool_Spec) error
+ AssignPropertiesTo(dst *storage.ManagedClusters_AgentPool_Spec) error
+}
+
+type augmentConversionForManagedClusters_AgentPool_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManagedClusters_AgentPool_STATUS) error
+ AssignPropertiesTo(dst *storage.ManagedClusters_AgentPool_STATUS) error
+}
+
+// Storage version of v1api20240402preview.KubeletConfig
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type KubeletConfig struct {
+ AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls,omitempty"`
+ ContainerLogMaxFiles *int `json:"containerLogMaxFiles,omitempty"`
+ ContainerLogMaxSizeMB *int `json:"containerLogMaxSizeMB,omitempty"`
+ CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"`
+ CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"`
+ CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"`
+ FailSwapOn *bool `json:"failSwapOn,omitempty"`
+ ImageGcHighThreshold *int `json:"imageGcHighThreshold,omitempty"`
+ ImageGcLowThreshold *int `json:"imageGcLowThreshold,omitempty"`
+ PodMaxPids *int `json:"podMaxPids,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"`
+}
+
+// AssignProperties_From_KubeletConfig populates our KubeletConfig from the provided source KubeletConfig
+func (config *KubeletConfig) AssignProperties_From_KubeletConfig(source *storage.KubeletConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllowedUnsafeSysctls
+ config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ config.ContainerLogMaxFiles = genruntime.ClonePointerToInt(source.ContainerLogMaxFiles)
+
+ // ContainerLogMaxSizeMB
+ config.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(source.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if source.CpuCfsQuota != nil {
+ cpuCfsQuota := *source.CpuCfsQuota
+ config.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ config.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ config.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(source.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ config.CpuManagerPolicy = genruntime.ClonePointerToString(source.CpuManagerPolicy)
+
+ // FailSwapOn
+ if source.FailSwapOn != nil {
+ failSwapOn := *source.FailSwapOn
+ config.FailSwapOn = &failSwapOn
+ } else {
+ config.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ config.ImageGcHighThreshold = genruntime.ClonePointerToInt(source.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ config.ImageGcLowThreshold = genruntime.ClonePointerToInt(source.ImageGcLowThreshold)
+
+ // PodMaxPids
+ config.PodMaxPids = genruntime.ClonePointerToInt(source.PodMaxPids)
+
+ // TopologyManagerPolicy
+ config.TopologyManagerPolicy = genruntime.ClonePointerToString(source.TopologyManagerPolicy)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForKubeletConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForKubeletConfig); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_KubeletConfig populates the provided destination KubeletConfig from our KubeletConfig
+func (config *KubeletConfig) AssignProperties_To_KubeletConfig(destination *storage.KubeletConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // AllowedUnsafeSysctls
+ destination.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(config.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ destination.ContainerLogMaxFiles = genruntime.ClonePointerToInt(config.ContainerLogMaxFiles)
+
+ // ContainerLogMaxSizeMB
+ destination.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(config.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if config.CpuCfsQuota != nil {
+ cpuCfsQuota := *config.CpuCfsQuota
+ destination.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ destination.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ destination.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(config.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ destination.CpuManagerPolicy = genruntime.ClonePointerToString(config.CpuManagerPolicy)
+
+ // FailSwapOn
+ if config.FailSwapOn != nil {
+ failSwapOn := *config.FailSwapOn
+ destination.FailSwapOn = &failSwapOn
+ } else {
+ destination.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ destination.ImageGcHighThreshold = genruntime.ClonePointerToInt(config.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ destination.ImageGcLowThreshold = genruntime.ClonePointerToInt(config.ImageGcLowThreshold)
+
+ // PodMaxPids
+ destination.PodMaxPids = genruntime.ClonePointerToInt(config.PodMaxPids)
+
+ // TopologyManagerPolicy
+ destination.TopologyManagerPolicy = genruntime.ClonePointerToString(config.TopologyManagerPolicy)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForKubeletConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForKubeletConfig); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.KubeletConfig_STATUS
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type KubeletConfig_STATUS struct {
+ AllowedUnsafeSysctls []string `json:"allowedUnsafeSysctls,omitempty"`
+ ContainerLogMaxFiles *int `json:"containerLogMaxFiles,omitempty"`
+ ContainerLogMaxSizeMB *int `json:"containerLogMaxSizeMB,omitempty"`
+ CpuCfsQuota *bool `json:"cpuCfsQuota,omitempty"`
+ CpuCfsQuotaPeriod *string `json:"cpuCfsQuotaPeriod,omitempty"`
+ CpuManagerPolicy *string `json:"cpuManagerPolicy,omitempty"`
+ FailSwapOn *bool `json:"failSwapOn,omitempty"`
+ ImageGcHighThreshold *int `json:"imageGcHighThreshold,omitempty"`
+ ImageGcLowThreshold *int `json:"imageGcLowThreshold,omitempty"`
+ PodMaxPids *int `json:"podMaxPids,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ TopologyManagerPolicy *string `json:"topologyManagerPolicy,omitempty"`
+}
+
+// AssignProperties_From_KubeletConfig_STATUS populates our KubeletConfig_STATUS from the provided source KubeletConfig_STATUS
+func (config *KubeletConfig_STATUS) AssignProperties_From_KubeletConfig_STATUS(source *storage.KubeletConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AllowedUnsafeSysctls
+ config.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(source.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ config.ContainerLogMaxFiles = genruntime.ClonePointerToInt(source.ContainerLogMaxFiles)
+
+ // ContainerLogMaxSizeMB
+ config.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(source.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if source.CpuCfsQuota != nil {
+ cpuCfsQuota := *source.CpuCfsQuota
+ config.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ config.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ config.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(source.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ config.CpuManagerPolicy = genruntime.ClonePointerToString(source.CpuManagerPolicy)
+
+ // FailSwapOn
+ if source.FailSwapOn != nil {
+ failSwapOn := *source.FailSwapOn
+ config.FailSwapOn = &failSwapOn
+ } else {
+ config.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ config.ImageGcHighThreshold = genruntime.ClonePointerToInt(source.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ config.ImageGcLowThreshold = genruntime.ClonePointerToInt(source.ImageGcLowThreshold)
+
+ // PodMaxPids
+ config.PodMaxPids = genruntime.ClonePointerToInt(source.PodMaxPids)
+
+ // TopologyManagerPolicy
+ config.TopologyManagerPolicy = genruntime.ClonePointerToString(source.TopologyManagerPolicy)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForKubeletConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForKubeletConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_KubeletConfig_STATUS populates the provided destination KubeletConfig_STATUS from our KubeletConfig_STATUS
+func (config *KubeletConfig_STATUS) AssignProperties_To_KubeletConfig_STATUS(destination *storage.KubeletConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // AllowedUnsafeSysctls
+ destination.AllowedUnsafeSysctls = genruntime.CloneSliceOfString(config.AllowedUnsafeSysctls)
+
+ // ContainerLogMaxFiles
+ destination.ContainerLogMaxFiles = genruntime.ClonePointerToInt(config.ContainerLogMaxFiles)
+
+ // ContainerLogMaxSizeMB
+ destination.ContainerLogMaxSizeMB = genruntime.ClonePointerToInt(config.ContainerLogMaxSizeMB)
+
+ // CpuCfsQuota
+ if config.CpuCfsQuota != nil {
+ cpuCfsQuota := *config.CpuCfsQuota
+ destination.CpuCfsQuota = &cpuCfsQuota
+ } else {
+ destination.CpuCfsQuota = nil
+ }
+
+ // CpuCfsQuotaPeriod
+ destination.CpuCfsQuotaPeriod = genruntime.ClonePointerToString(config.CpuCfsQuotaPeriod)
+
+ // CpuManagerPolicy
+ destination.CpuManagerPolicy = genruntime.ClonePointerToString(config.CpuManagerPolicy)
+
+ // FailSwapOn
+ if config.FailSwapOn != nil {
+ failSwapOn := *config.FailSwapOn
+ destination.FailSwapOn = &failSwapOn
+ } else {
+ destination.FailSwapOn = nil
+ }
+
+ // ImageGcHighThreshold
+ destination.ImageGcHighThreshold = genruntime.ClonePointerToInt(config.ImageGcHighThreshold)
+
+ // ImageGcLowThreshold
+ destination.ImageGcLowThreshold = genruntime.ClonePointerToInt(config.ImageGcLowThreshold)
+
+ // PodMaxPids
+ destination.PodMaxPids = genruntime.ClonePointerToInt(config.PodMaxPids)
+
+ // TopologyManagerPolicy
+ destination.TopologyManagerPolicy = genruntime.ClonePointerToString(config.TopologyManagerPolicy)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForKubeletConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForKubeletConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.LinuxOSConfig
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type LinuxOSConfig struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SwapFileSizeMB *int `json:"swapFileSizeMB,omitempty"`
+ Sysctls *SysctlConfig `json:"sysctls,omitempty"`
+ TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"`
+ TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"`
+}
+
+// AssignProperties_From_LinuxOSConfig populates our LinuxOSConfig from the provided source LinuxOSConfig
+func (config *LinuxOSConfig) AssignProperties_From_LinuxOSConfig(source *storage.LinuxOSConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // SwapFileSizeMB
+ config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
+
+ // Sysctls
+ if source.Sysctls != nil {
+ var sysctl SysctlConfig
+ err := sysctl.AssignProperties_From_SysctlConfig(source.Sysctls)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SysctlConfig() to populate field Sysctls")
+ }
+ config.Sysctls = &sysctl
+ } else {
+ config.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ config.TransparentHugePageDefrag = genruntime.ClonePointerToString(source.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ config.TransparentHugePageEnabled = genruntime.ClonePointerToString(source.TransparentHugePageEnabled)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForLinuxOSConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForLinuxOSConfig); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_LinuxOSConfig populates the provided destination LinuxOSConfig from our LinuxOSConfig
+func (config *LinuxOSConfig) AssignProperties_To_LinuxOSConfig(destination *storage.LinuxOSConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // SwapFileSizeMB
+ destination.SwapFileSizeMB = genruntime.ClonePointerToInt(config.SwapFileSizeMB)
+
+ // Sysctls
+ if config.Sysctls != nil {
+ var sysctl storage.SysctlConfig
+ err := config.Sysctls.AssignProperties_To_SysctlConfig(&sysctl)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig() to populate field Sysctls")
+ }
+ destination.Sysctls = &sysctl
+ } else {
+ destination.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ destination.TransparentHugePageDefrag = genruntime.ClonePointerToString(config.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ destination.TransparentHugePageEnabled = genruntime.ClonePointerToString(config.TransparentHugePageEnabled)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForLinuxOSConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForLinuxOSConfig); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.LinuxOSConfig_STATUS
+// See [AKS custom node configuration](https://docs.microsoft.com/azure/aks/custom-node-configuration) for more details.
+type LinuxOSConfig_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ SwapFileSizeMB *int `json:"swapFileSizeMB,omitempty"`
+ Sysctls *SysctlConfig_STATUS `json:"sysctls,omitempty"`
+ TransparentHugePageDefrag *string `json:"transparentHugePageDefrag,omitempty"`
+ TransparentHugePageEnabled *string `json:"transparentHugePageEnabled,omitempty"`
+}
+
+// AssignProperties_From_LinuxOSConfig_STATUS populates our LinuxOSConfig_STATUS from the provided source LinuxOSConfig_STATUS
+func (config *LinuxOSConfig_STATUS) AssignProperties_From_LinuxOSConfig_STATUS(source *storage.LinuxOSConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // SwapFileSizeMB
+ config.SwapFileSizeMB = genruntime.ClonePointerToInt(source.SwapFileSizeMB)
+
+ // Sysctls
+ if source.Sysctls != nil {
+ var sysctl SysctlConfig_STATUS
+ err := sysctl.AssignProperties_From_SysctlConfig_STATUS(source.Sysctls)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SysctlConfig_STATUS() to populate field Sysctls")
+ }
+ config.Sysctls = &sysctl
+ } else {
+ config.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ config.TransparentHugePageDefrag = genruntime.ClonePointerToString(source.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ config.TransparentHugePageEnabled = genruntime.ClonePointerToString(source.TransparentHugePageEnabled)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForLinuxOSConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForLinuxOSConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_LinuxOSConfig_STATUS populates the provided destination LinuxOSConfig_STATUS from our LinuxOSConfig_STATUS
+func (config *LinuxOSConfig_STATUS) AssignProperties_To_LinuxOSConfig_STATUS(destination *storage.LinuxOSConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // SwapFileSizeMB
+ destination.SwapFileSizeMB = genruntime.ClonePointerToInt(config.SwapFileSizeMB)
+
+ // Sysctls
+ if config.Sysctls != nil {
+ var sysctl storage.SysctlConfig_STATUS
+ err := config.Sysctls.AssignProperties_To_SysctlConfig_STATUS(&sysctl)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SysctlConfig_STATUS() to populate field Sysctls")
+ }
+ destination.Sysctls = &sysctl
+ } else {
+ destination.Sysctls = nil
+ }
+
+ // TransparentHugePageDefrag
+ destination.TransparentHugePageDefrag = genruntime.ClonePointerToString(config.TransparentHugePageDefrag)
+
+ // TransparentHugePageEnabled
+ destination.TransparentHugePageEnabled = genruntime.ClonePointerToString(config.TransparentHugePageEnabled)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForLinuxOSConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForLinuxOSConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.PowerState
+// Describes the Power State of the cluster
+type PowerState struct {
+ Code *string `json:"code,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_PowerState populates our PowerState from the provided source PowerState
+func (state *PowerState) AssignProperties_From_PowerState(source *storage.PowerState) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Code
+ state.Code = genruntime.ClonePointerToString(source.Code)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ state.PropertyBag = propertyBag
+ } else {
+ state.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPowerState interface (if implemented) to customize the conversion
+ var stateAsAny any = state
+ if augmentedState, ok := stateAsAny.(augmentConversionForPowerState); ok {
+ err := augmentedState.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PowerState populates the provided destination PowerState from our PowerState
+func (state *PowerState) AssignProperties_To_PowerState(destination *storage.PowerState) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(state.PropertyBag)
+
+ // Code
+ destination.Code = genruntime.ClonePointerToString(state.Code)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPowerState interface (if implemented) to customize the conversion
+ var stateAsAny any = state
+ if augmentedState, ok := stateAsAny.(augmentConversionForPowerState); ok {
+ err := augmentedState.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.VirtualMachineNodes
+// Current status on a group of nodes of the same vm size.
+type VirtualMachineNodes struct {
+ Count *int `json:"count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Size *string `json:"size,omitempty"`
+}
+
+// AssignProperties_From_VirtualMachineNodes populates our VirtualMachineNodes from the provided source VirtualMachineNodes
+func (nodes *VirtualMachineNodes) AssignProperties_From_VirtualMachineNodes(source *storage.VirtualMachineNodes) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ nodes.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Size
+ nodes.Size = genruntime.ClonePointerToString(source.Size)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ nodes.PropertyBag = propertyBag
+ } else {
+ nodes.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachineNodes interface (if implemented) to customize the conversion
+ var nodesAsAny any = nodes
+ if augmentedNodes, ok := nodesAsAny.(augmentConversionForVirtualMachineNodes); ok {
+ err := augmentedNodes.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachineNodes populates the provided destination VirtualMachineNodes from our VirtualMachineNodes
+func (nodes *VirtualMachineNodes) AssignProperties_To_VirtualMachineNodes(destination *storage.VirtualMachineNodes) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(nodes.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(nodes.Count)
+
+ // Size
+ destination.Size = genruntime.ClonePointerToString(nodes.Size)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachineNodes interface (if implemented) to customize the conversion
+ var nodesAsAny any = nodes
+ if augmentedNodes, ok := nodesAsAny.(augmentConversionForVirtualMachineNodes); ok {
+ err := augmentedNodes.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.VirtualMachineNodes_STATUS
+// Current status on a group of nodes of the same vm size.
+type VirtualMachineNodes_STATUS struct {
+ Count *int `json:"count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Size *string `json:"size,omitempty"`
+}
+
+// AssignProperties_From_VirtualMachineNodes_STATUS populates our VirtualMachineNodes_STATUS from the provided source VirtualMachineNodes_STATUS
+func (nodes *VirtualMachineNodes_STATUS) AssignProperties_From_VirtualMachineNodes_STATUS(source *storage.VirtualMachineNodes_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ nodes.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Size
+ nodes.Size = genruntime.ClonePointerToString(source.Size)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ nodes.PropertyBag = propertyBag
+ } else {
+ nodes.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachineNodes_STATUS interface (if implemented) to customize the conversion
+ var nodesAsAny any = nodes
+ if augmentedNodes, ok := nodesAsAny.(augmentConversionForVirtualMachineNodes_STATUS); ok {
+ err := augmentedNodes.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachineNodes_STATUS populates the provided destination VirtualMachineNodes_STATUS from our VirtualMachineNodes_STATUS
+func (nodes *VirtualMachineNodes_STATUS) AssignProperties_To_VirtualMachineNodes_STATUS(destination *storage.VirtualMachineNodes_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(nodes.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(nodes.Count)
+
+ // Size
+ destination.Size = genruntime.ClonePointerToString(nodes.Size)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachineNodes_STATUS interface (if implemented) to customize the conversion
+ var nodesAsAny any = nodes
+ if augmentedNodes, ok := nodesAsAny.(augmentConversionForVirtualMachineNodes_STATUS); ok {
+ err := augmentedNodes.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.VirtualMachinesProfile
+// Specifications on VirtualMachines agent pool.
+type VirtualMachinesProfile struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Scale *ScaleProfile `json:"scale,omitempty"`
+}
+
+// AssignProperties_From_VirtualMachinesProfile populates our VirtualMachinesProfile from the provided source VirtualMachinesProfile
+func (profile *VirtualMachinesProfile) AssignProperties_From_VirtualMachinesProfile(source *storage.VirtualMachinesProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Scale
+ if source.Scale != nil {
+ var scale ScaleProfile
+ err := scale.AssignProperties_From_ScaleProfile(source.Scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ScaleProfile() to populate field Scale")
+ }
+ profile.Scale = &scale
+ } else {
+ profile.Scale = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachinesProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForVirtualMachinesProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachinesProfile populates the provided destination VirtualMachinesProfile from our VirtualMachinesProfile
+func (profile *VirtualMachinesProfile) AssignProperties_To_VirtualMachinesProfile(destination *storage.VirtualMachinesProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Scale
+ if profile.Scale != nil {
+ var scale storage.ScaleProfile
+ err := profile.Scale.AssignProperties_To_ScaleProfile(&scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ScaleProfile() to populate field Scale")
+ }
+ destination.Scale = &scale
+ } else {
+ destination.Scale = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachinesProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForVirtualMachinesProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.VirtualMachinesProfile_STATUS
+// Specifications on VirtualMachines agent pool.
+type VirtualMachinesProfile_STATUS struct {
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Scale *ScaleProfile_STATUS `json:"scale,omitempty"`
+}
+
+// AssignProperties_From_VirtualMachinesProfile_STATUS populates our VirtualMachinesProfile_STATUS from the provided source VirtualMachinesProfile_STATUS
+func (profile *VirtualMachinesProfile_STATUS) AssignProperties_From_VirtualMachinesProfile_STATUS(source *storage.VirtualMachinesProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Scale
+ if source.Scale != nil {
+ var scale ScaleProfile_STATUS
+ err := scale.AssignProperties_From_ScaleProfile_STATUS(source.Scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ScaleProfile_STATUS() to populate field Scale")
+ }
+ profile.Scale = &scale
+ } else {
+ profile.Scale = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachinesProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForVirtualMachinesProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_VirtualMachinesProfile_STATUS populates the provided destination VirtualMachinesProfile_STATUS from our VirtualMachinesProfile_STATUS
+func (profile *VirtualMachinesProfile_STATUS) AssignProperties_To_VirtualMachinesProfile_STATUS(destination *storage.VirtualMachinesProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Scale
+ if profile.Scale != nil {
+ var scale storage.ScaleProfile_STATUS
+ err := profile.Scale.AssignProperties_To_ScaleProfile_STATUS(&scale)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ScaleProfile_STATUS() to populate field Scale")
+ }
+ destination.Scale = &scale
+ } else {
+ destination.Scale = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForVirtualMachinesProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForVirtualMachinesProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForAgentPoolArtifactStreamingProfile interface {
+ AssignPropertiesFrom(src *storage.AgentPoolArtifactStreamingProfile) error
+ AssignPropertiesTo(dst *storage.AgentPoolArtifactStreamingProfile) error
+}
+
+type augmentConversionForAgentPoolArtifactStreamingProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.AgentPoolArtifactStreamingProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolArtifactStreamingProfile_STATUS) error
+}
+
+type augmentConversionForAgentPoolGPUProfile interface {
+ AssignPropertiesFrom(src *storage.AgentPoolGPUProfile) error
+ AssignPropertiesTo(dst *storage.AgentPoolGPUProfile) error
+}
+
+type augmentConversionForAgentPoolGPUProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.AgentPoolGPUProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolGPUProfile_STATUS) error
+}
+
+type augmentConversionForAgentPoolNetworkProfile interface {
+ AssignPropertiesFrom(src *storage.AgentPoolNetworkProfile) error
+ AssignPropertiesTo(dst *storage.AgentPoolNetworkProfile) error
+}
+
+type augmentConversionForAgentPoolNetworkProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.AgentPoolNetworkProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolNetworkProfile_STATUS) error
+}
+
+type augmentConversionForAgentPoolSecurityProfile interface {
+ AssignPropertiesFrom(src *storage.AgentPoolSecurityProfile) error
+ AssignPropertiesTo(dst *storage.AgentPoolSecurityProfile) error
+}
+
+type augmentConversionForAgentPoolSecurityProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.AgentPoolSecurityProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolSecurityProfile_STATUS) error
+}
+
+type augmentConversionForAgentPoolUpgradeSettings interface {
+ AssignPropertiesFrom(src *storage.AgentPoolUpgradeSettings) error
+ AssignPropertiesTo(dst *storage.AgentPoolUpgradeSettings) error
+}
+
+type augmentConversionForAgentPoolUpgradeSettings_STATUS interface {
+ AssignPropertiesFrom(src *storage.AgentPoolUpgradeSettings_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolUpgradeSettings_STATUS) error
+}
+
+type augmentConversionForAgentPoolWindowsProfile interface {
+ AssignPropertiesFrom(src *storage.AgentPoolWindowsProfile) error
+ AssignPropertiesTo(dst *storage.AgentPoolWindowsProfile) error
+}
+
+type augmentConversionForAgentPoolWindowsProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.AgentPoolWindowsProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.AgentPoolWindowsProfile_STATUS) error
+}
+
+type augmentConversionForKubeletConfig interface {
+ AssignPropertiesFrom(src *storage.KubeletConfig) error
+ AssignPropertiesTo(dst *storage.KubeletConfig) error
+}
+
+type augmentConversionForKubeletConfig_STATUS interface {
+ AssignPropertiesFrom(src *storage.KubeletConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.KubeletConfig_STATUS) error
+}
+
+type augmentConversionForLinuxOSConfig interface {
+ AssignPropertiesFrom(src *storage.LinuxOSConfig) error
+ AssignPropertiesTo(dst *storage.LinuxOSConfig) error
+}
+
+type augmentConversionForLinuxOSConfig_STATUS interface {
+ AssignPropertiesFrom(src *storage.LinuxOSConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.LinuxOSConfig_STATUS) error
+}
+
+type augmentConversionForPowerState interface {
+ AssignPropertiesFrom(src *storage.PowerState) error
+ AssignPropertiesTo(dst *storage.PowerState) error
+}
+
+type augmentConversionForVirtualMachineNodes interface {
+ AssignPropertiesFrom(src *storage.VirtualMachineNodes) error
+ AssignPropertiesTo(dst *storage.VirtualMachineNodes) error
+}
+
+type augmentConversionForVirtualMachineNodes_STATUS interface {
+ AssignPropertiesFrom(src *storage.VirtualMachineNodes_STATUS) error
+ AssignPropertiesTo(dst *storage.VirtualMachineNodes_STATUS) error
+}
+
+type augmentConversionForVirtualMachinesProfile interface {
+ AssignPropertiesFrom(src *storage.VirtualMachinesProfile) error
+ AssignPropertiesTo(dst *storage.VirtualMachinesProfile) error
+}
+
+type augmentConversionForVirtualMachinesProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.VirtualMachinesProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.VirtualMachinesProfile_STATUS) error
+}
+
+// Storage version of v1api20240402preview.IPTag
+// Contains the IPTag associated with the object.
+type IPTag struct {
+ IpTagType *string `json:"ipTagType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Tag *string `json:"tag,omitempty"`
+}
+
+// AssignProperties_From_IPTag populates our IPTag from the provided source IPTag
+func (ipTag *IPTag) AssignProperties_From_IPTag(source *storage.IPTag) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // IpTagType
+ ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
+
+ // Tag
+ ipTag.Tag = genruntime.ClonePointerToString(source.Tag)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ ipTag.PropertyBag = propertyBag
+ } else {
+ ipTag.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIPTag interface (if implemented) to customize the conversion
+ var ipTagAsAny any = ipTag
+ if augmentedIpTag, ok := ipTagAsAny.(augmentConversionForIPTag); ok {
+ err := augmentedIpTag.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IPTag populates the provided destination IPTag from our IPTag
+func (ipTag *IPTag) AssignProperties_To_IPTag(destination *storage.IPTag) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(ipTag.PropertyBag)
+
+ // IpTagType
+ destination.IpTagType = genruntime.ClonePointerToString(ipTag.IpTagType)
+
+ // Tag
+ destination.Tag = genruntime.ClonePointerToString(ipTag.Tag)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIPTag interface (if implemented) to customize the conversion
+ var ipTagAsAny any = ipTag
+ if augmentedIpTag, ok := ipTagAsAny.(augmentConversionForIPTag); ok {
+ err := augmentedIpTag.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.IPTag_STATUS
+// Contains the IPTag associated with the object.
+type IPTag_STATUS struct {
+ IpTagType *string `json:"ipTagType,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Tag *string `json:"tag,omitempty"`
+}
+
+// AssignProperties_From_IPTag_STATUS populates our IPTag_STATUS from the provided source IPTag_STATUS
+func (ipTag *IPTag_STATUS) AssignProperties_From_IPTag_STATUS(source *storage.IPTag_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // IpTagType
+ ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
+
+ // Tag
+ ipTag.Tag = genruntime.ClonePointerToString(source.Tag)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ ipTag.PropertyBag = propertyBag
+ } else {
+ ipTag.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIPTag_STATUS interface (if implemented) to customize the conversion
+ var ipTagAsAny any = ipTag
+ if augmentedIpTag, ok := ipTagAsAny.(augmentConversionForIPTag_STATUS); ok {
+ err := augmentedIpTag.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_IPTag_STATUS populates the provided destination IPTag_STATUS from our IPTag_STATUS
+func (ipTag *IPTag_STATUS) AssignProperties_To_IPTag_STATUS(destination *storage.IPTag_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(ipTag.PropertyBag)
+
+ // IpTagType
+ destination.IpTagType = genruntime.ClonePointerToString(ipTag.IpTagType)
+
+ // Tag
+ destination.Tag = genruntime.ClonePointerToString(ipTag.Tag)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForIPTag_STATUS interface (if implemented) to customize the conversion
+ var ipTagAsAny any = ipTag
+ if augmentedIpTag, ok := ipTagAsAny.(augmentConversionForIPTag_STATUS); ok {
+ err := augmentedIpTag.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.PortRange
+// The port range.
+type PortRange struct {
+ PortEnd *int `json:"portEnd,omitempty"`
+ PortStart *int `json:"portStart,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Protocol *string `json:"protocol,omitempty"`
+}
+
+// AssignProperties_From_PortRange populates our PortRange from the provided source PortRange
+func (portRange *PortRange) AssignProperties_From_PortRange(source *storage.PortRange) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PortEnd
+ portRange.PortEnd = genruntime.ClonePointerToInt(source.PortEnd)
+
+ // PortStart
+ portRange.PortStart = genruntime.ClonePointerToInt(source.PortStart)
+
+ // Protocol
+ portRange.Protocol = genruntime.ClonePointerToString(source.Protocol)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ portRange.PropertyBag = propertyBag
+ } else {
+ portRange.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPortRange interface (if implemented) to customize the conversion
+ var portRangeAsAny any = portRange
+ if augmentedPortRange, ok := portRangeAsAny.(augmentConversionForPortRange); ok {
+ err := augmentedPortRange.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PortRange populates the provided destination PortRange from our PortRange
+func (portRange *PortRange) AssignProperties_To_PortRange(destination *storage.PortRange) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(portRange.PropertyBag)
+
+ // PortEnd
+ destination.PortEnd = genruntime.ClonePointerToInt(portRange.PortEnd)
+
+ // PortStart
+ destination.PortStart = genruntime.ClonePointerToInt(portRange.PortStart)
+
+ // Protocol
+ destination.Protocol = genruntime.ClonePointerToString(portRange.Protocol)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPortRange interface (if implemented) to customize the conversion
+ var portRangeAsAny any = portRange
+ if augmentedPortRange, ok := portRangeAsAny.(augmentConversionForPortRange); ok {
+ err := augmentedPortRange.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.PortRange_STATUS
+// The port range.
+type PortRange_STATUS struct {
+ PortEnd *int `json:"portEnd,omitempty"`
+ PortStart *int `json:"portStart,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Protocol *string `json:"protocol,omitempty"`
+}
+
+// AssignProperties_From_PortRange_STATUS populates our PortRange_STATUS from the provided source PortRange_STATUS
+func (portRange *PortRange_STATUS) AssignProperties_From_PortRange_STATUS(source *storage.PortRange_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // PortEnd
+ portRange.PortEnd = genruntime.ClonePointerToInt(source.PortEnd)
+
+ // PortStart
+ portRange.PortStart = genruntime.ClonePointerToInt(source.PortStart)
+
+ // Protocol
+ portRange.Protocol = genruntime.ClonePointerToString(source.Protocol)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ portRange.PropertyBag = propertyBag
+ } else {
+ portRange.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPortRange_STATUS interface (if implemented) to customize the conversion
+ var portRangeAsAny any = portRange
+ if augmentedPortRange, ok := portRangeAsAny.(augmentConversionForPortRange_STATUS); ok {
+ err := augmentedPortRange.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PortRange_STATUS populates the provided destination PortRange_STATUS from our PortRange_STATUS
+func (portRange *PortRange_STATUS) AssignProperties_To_PortRange_STATUS(destination *storage.PortRange_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(portRange.PropertyBag)
+
+ // PortEnd
+ destination.PortEnd = genruntime.ClonePointerToInt(portRange.PortEnd)
+
+ // PortStart
+ destination.PortStart = genruntime.ClonePointerToInt(portRange.PortStart)
+
+ // Protocol
+ destination.Protocol = genruntime.ClonePointerToString(portRange.Protocol)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForPortRange_STATUS interface (if implemented) to customize the conversion
+ var portRangeAsAny any = portRange
+ if augmentedPortRange, ok := portRangeAsAny.(augmentConversionForPortRange_STATUS); ok {
+ err := augmentedPortRange.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ScaleProfile
+// Specifications on how to scale a VirtualMachines agent pool.
+type ScaleProfile struct {
+ Autoscale []AutoScaleProfile `json:"autoscale,omitempty"`
+ Manual []ManualScaleProfile `json:"manual,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ScaleProfile populates our ScaleProfile from the provided source ScaleProfile
+func (profile *ScaleProfile) AssignProperties_From_ScaleProfile(source *storage.ScaleProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Autoscale
+ if propertyBag.Contains("Autoscale") {
+ var autoscale []AutoScaleProfile
+ err := propertyBag.Pull("Autoscale", &autoscale)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Autoscale' from propertyBag")
+ }
+
+ profile.Autoscale = autoscale
+ } else {
+ profile.Autoscale = nil
+ }
+
+ // Manual
+ if source.Manual != nil {
+ manualList := make([]ManualScaleProfile, len(source.Manual))
+ for manualIndex, manualItem := range source.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual ManualScaleProfile
+ err := manual.AssignProperties_From_ManualScaleProfile(&manualItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManualScaleProfile() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ profile.Manual = manualList
+ } else {
+ profile.Manual = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForScaleProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForScaleProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ScaleProfile populates the provided destination ScaleProfile from our ScaleProfile
+func (profile *ScaleProfile) AssignProperties_To_ScaleProfile(destination *storage.ScaleProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Autoscale
+ if len(profile.Autoscale) > 0 {
+ propertyBag.Add("Autoscale", profile.Autoscale)
+ } else {
+ propertyBag.Remove("Autoscale")
+ }
+
+ // Manual
+ if profile.Manual != nil {
+ manualList := make([]storage.ManualScaleProfile, len(profile.Manual))
+ for manualIndex, manualItem := range profile.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual storage.ManualScaleProfile
+ err := manualItem.AssignProperties_To_ManualScaleProfile(&manual)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManualScaleProfile() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ destination.Manual = manualList
+ } else {
+ destination.Manual = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForScaleProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForScaleProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ScaleProfile_STATUS
+// Specifications on how to scale a VirtualMachines agent pool.
+type ScaleProfile_STATUS struct {
+ Autoscale []AutoScaleProfile_STATUS `json:"autoscale,omitempty"`
+ Manual []ManualScaleProfile_STATUS `json:"manual,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
+// AssignProperties_From_ScaleProfile_STATUS populates our ScaleProfile_STATUS from the provided source ScaleProfile_STATUS
+func (profile *ScaleProfile_STATUS) AssignProperties_From_ScaleProfile_STATUS(source *storage.ScaleProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Autoscale
+ if propertyBag.Contains("Autoscale") {
+ var autoscale []AutoScaleProfile_STATUS
+ err := propertyBag.Pull("Autoscale", &autoscale)
+ if err != nil {
+ return errors.Wrap(err, "pulling 'Autoscale' from propertyBag")
+ }
+
+ profile.Autoscale = autoscale
+ } else {
+ profile.Autoscale = nil
+ }
+
+ // Manual
+ if source.Manual != nil {
+ manualList := make([]ManualScaleProfile_STATUS, len(source.Manual))
+ for manualIndex, manualItem := range source.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual ManualScaleProfile_STATUS
+ err := manual.AssignProperties_From_ManualScaleProfile_STATUS(&manualItem)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManualScaleProfile_STATUS() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ profile.Manual = manualList
+ } else {
+ profile.Manual = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForScaleProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForScaleProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ScaleProfile_STATUS populates the provided destination ScaleProfile_STATUS from our ScaleProfile_STATUS
+func (profile *ScaleProfile_STATUS) AssignProperties_To_ScaleProfile_STATUS(destination *storage.ScaleProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Autoscale
+ if len(profile.Autoscale) > 0 {
+ propertyBag.Add("Autoscale", profile.Autoscale)
+ } else {
+ propertyBag.Remove("Autoscale")
+ }
+
+ // Manual
+ if profile.Manual != nil {
+ manualList := make([]storage.ManualScaleProfile_STATUS, len(profile.Manual))
+ for manualIndex, manualItem := range profile.Manual {
+ // Shadow the loop variable to avoid aliasing
+ manualItem := manualItem
+ var manual storage.ManualScaleProfile_STATUS
+ err := manualItem.AssignProperties_To_ManualScaleProfile_STATUS(&manual)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManualScaleProfile_STATUS() to populate field Manual")
+ }
+ manualList[manualIndex] = manual
+ }
+ destination.Manual = manualList
+ } else {
+ destination.Manual = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForScaleProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForScaleProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.SysctlConfig
+// Sysctl settings for Linux agent nodes.
+type SysctlConfig struct {
+ FsAioMaxNr *int `json:"fsAioMaxNr,omitempty"`
+ FsFileMax *int `json:"fsFileMax,omitempty"`
+ FsInotifyMaxUserWatches *int `json:"fsInotifyMaxUserWatches,omitempty"`
+ FsNrOpen *int `json:"fsNrOpen,omitempty"`
+ KernelThreadsMax *int `json:"kernelThreadsMax,omitempty"`
+ NetCoreNetdevMaxBacklog *int `json:"netCoreNetdevMaxBacklog,omitempty"`
+ NetCoreOptmemMax *int `json:"netCoreOptmemMax,omitempty"`
+ NetCoreRmemDefault *int `json:"netCoreRmemDefault,omitempty"`
+ NetCoreRmemMax *int `json:"netCoreRmemMax,omitempty"`
+ NetCoreSomaxconn *int `json:"netCoreSomaxconn,omitempty"`
+ NetCoreWmemDefault *int `json:"netCoreWmemDefault,omitempty"`
+ NetCoreWmemMax *int `json:"netCoreWmemMax,omitempty"`
+ NetIpv4IpLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"`
+ NetIpv4NeighDefaultGcThresh1 *int `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
+ NetIpv4NeighDefaultGcThresh2 *int `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
+ NetIpv4NeighDefaultGcThresh3 *int `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
+ NetIpv4TcpFinTimeout *int `json:"netIpv4TcpFinTimeout,omitempty"`
+ NetIpv4TcpKeepaliveProbes *int `json:"netIpv4TcpKeepaliveProbes,omitempty"`
+ NetIpv4TcpKeepaliveTime *int `json:"netIpv4TcpKeepaliveTime,omitempty"`
+ NetIpv4TcpMaxSynBacklog *int `json:"netIpv4TcpMaxSynBacklog,omitempty"`
+ NetIpv4TcpMaxTwBuckets *int `json:"netIpv4TcpMaxTwBuckets,omitempty"`
+ NetIpv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"`
+ NetIpv4TcpkeepaliveIntvl *int `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
+ NetNetfilterNfConntrackBuckets *int `json:"netNetfilterNfConntrackBuckets,omitempty"`
+ NetNetfilterNfConntrackMax *int `json:"netNetfilterNfConntrackMax,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
+ VmSwappiness *int `json:"vmSwappiness,omitempty"`
+ VmVfsCachePressure *int `json:"vmVfsCachePressure,omitempty"`
+}
+
+// AssignProperties_From_SysctlConfig populates our SysctlConfig from the provided source SysctlConfig
+func (config *SysctlConfig) AssignProperties_From_SysctlConfig(source *storage.SysctlConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // FsAioMaxNr
+ config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
+
+ // FsFileMax
+ config.FsFileMax = genruntime.ClonePointerToInt(source.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ config.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(source.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ config.FsNrOpen = genruntime.ClonePointerToInt(source.FsNrOpen)
+
+ // KernelThreadsMax
+ config.KernelThreadsMax = genruntime.ClonePointerToInt(source.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ config.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(source.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ config.NetCoreOptmemMax = genruntime.ClonePointerToInt(source.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ config.NetCoreRmemDefault = genruntime.ClonePointerToInt(source.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ config.NetCoreRmemMax = genruntime.ClonePointerToInt(source.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ config.NetCoreSomaxconn = genruntime.ClonePointerToInt(source.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ config.NetCoreWmemDefault = genruntime.ClonePointerToInt(source.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ config.NetCoreWmemMax = genruntime.ClonePointerToInt(source.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ config.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(source.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ config.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ config.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ config.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ config.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(source.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ config.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ config.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ config.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ config.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if source.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *source.NetIpv4TcpTwReuse
+ config.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ config.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ config.NetIpv4TcpkeepaliveIntvl = genruntime.ClonePointerToInt(source.NetIpv4TcpkeepaliveIntvl)
+
+ // NetNetfilterNfConntrackBuckets
+ config.NetNetfilterNfConntrackBuckets = genruntime.ClonePointerToInt(source.NetNetfilterNfConntrackBuckets)
+
+ // NetNetfilterNfConntrackMax
+ config.NetNetfilterNfConntrackMax = genruntime.ClonePointerToInt(source.NetNetfilterNfConntrackMax)
+
+ // VmMaxMapCount
+ config.VmMaxMapCount = genruntime.ClonePointerToInt(source.VmMaxMapCount)
+
+ // VmSwappiness
+ config.VmSwappiness = genruntime.ClonePointerToInt(source.VmSwappiness)
+
+ // VmVfsCachePressure
+ config.VmVfsCachePressure = genruntime.ClonePointerToInt(source.VmVfsCachePressure)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSysctlConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForSysctlConfig); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SysctlConfig populates the provided destination SysctlConfig from our SysctlConfig
+func (config *SysctlConfig) AssignProperties_To_SysctlConfig(destination *storage.SysctlConfig) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // FsAioMaxNr
+ destination.FsAioMaxNr = genruntime.ClonePointerToInt(config.FsAioMaxNr)
+
+ // FsFileMax
+ destination.FsFileMax = genruntime.ClonePointerToInt(config.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ destination.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(config.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ destination.FsNrOpen = genruntime.ClonePointerToInt(config.FsNrOpen)
+
+ // KernelThreadsMax
+ destination.KernelThreadsMax = genruntime.ClonePointerToInt(config.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ destination.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(config.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ destination.NetCoreOptmemMax = genruntime.ClonePointerToInt(config.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ destination.NetCoreRmemDefault = genruntime.ClonePointerToInt(config.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ destination.NetCoreRmemMax = genruntime.ClonePointerToInt(config.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ destination.NetCoreSomaxconn = genruntime.ClonePointerToInt(config.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ destination.NetCoreWmemDefault = genruntime.ClonePointerToInt(config.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ destination.NetCoreWmemMax = genruntime.ClonePointerToInt(config.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ destination.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(config.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ destination.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ destination.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ destination.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ destination.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(config.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ destination.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ destination.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ destination.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ destination.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if config.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *config.NetIpv4TcpTwReuse
+ destination.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ destination.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ destination.NetIpv4TcpkeepaliveIntvl = genruntime.ClonePointerToInt(config.NetIpv4TcpkeepaliveIntvl)
+
+ // NetNetfilterNfConntrackBuckets
+ destination.NetNetfilterNfConntrackBuckets = genruntime.ClonePointerToInt(config.NetNetfilterNfConntrackBuckets)
+
+ // NetNetfilterNfConntrackMax
+ destination.NetNetfilterNfConntrackMax = genruntime.ClonePointerToInt(config.NetNetfilterNfConntrackMax)
+
+ // VmMaxMapCount
+ destination.VmMaxMapCount = genruntime.ClonePointerToInt(config.VmMaxMapCount)
+
+ // VmSwappiness
+ destination.VmSwappiness = genruntime.ClonePointerToInt(config.VmSwappiness)
+
+ // VmVfsCachePressure
+ destination.VmVfsCachePressure = genruntime.ClonePointerToInt(config.VmVfsCachePressure)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSysctlConfig interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForSysctlConfig); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.SysctlConfig_STATUS
+// Sysctl settings for Linux agent nodes.
+type SysctlConfig_STATUS struct {
+ FsAioMaxNr *int `json:"fsAioMaxNr,omitempty"`
+ FsFileMax *int `json:"fsFileMax,omitempty"`
+ FsInotifyMaxUserWatches *int `json:"fsInotifyMaxUserWatches,omitempty"`
+ FsNrOpen *int `json:"fsNrOpen,omitempty"`
+ KernelThreadsMax *int `json:"kernelThreadsMax,omitempty"`
+ NetCoreNetdevMaxBacklog *int `json:"netCoreNetdevMaxBacklog,omitempty"`
+ NetCoreOptmemMax *int `json:"netCoreOptmemMax,omitempty"`
+ NetCoreRmemDefault *int `json:"netCoreRmemDefault,omitempty"`
+ NetCoreRmemMax *int `json:"netCoreRmemMax,omitempty"`
+ NetCoreSomaxconn *int `json:"netCoreSomaxconn,omitempty"`
+ NetCoreWmemDefault *int `json:"netCoreWmemDefault,omitempty"`
+ NetCoreWmemMax *int `json:"netCoreWmemMax,omitempty"`
+ NetIpv4IpLocalPortRange *string `json:"netIpv4IpLocalPortRange,omitempty"`
+ NetIpv4NeighDefaultGcThresh1 *int `json:"netIpv4NeighDefaultGcThresh1,omitempty"`
+ NetIpv4NeighDefaultGcThresh2 *int `json:"netIpv4NeighDefaultGcThresh2,omitempty"`
+ NetIpv4NeighDefaultGcThresh3 *int `json:"netIpv4NeighDefaultGcThresh3,omitempty"`
+ NetIpv4TcpFinTimeout *int `json:"netIpv4TcpFinTimeout,omitempty"`
+ NetIpv4TcpKeepaliveProbes *int `json:"netIpv4TcpKeepaliveProbes,omitempty"`
+ NetIpv4TcpKeepaliveTime *int `json:"netIpv4TcpKeepaliveTime,omitempty"`
+ NetIpv4TcpMaxSynBacklog *int `json:"netIpv4TcpMaxSynBacklog,omitempty"`
+ NetIpv4TcpMaxTwBuckets *int `json:"netIpv4TcpMaxTwBuckets,omitempty"`
+ NetIpv4TcpTwReuse *bool `json:"netIpv4TcpTwReuse,omitempty"`
+ NetIpv4TcpkeepaliveIntvl *int `json:"netIpv4TcpkeepaliveIntvl,omitempty"`
+ NetNetfilterNfConntrackBuckets *int `json:"netNetfilterNfConntrackBuckets,omitempty"`
+ NetNetfilterNfConntrackMax *int `json:"netNetfilterNfConntrackMax,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ VmMaxMapCount *int `json:"vmMaxMapCount,omitempty"`
+ VmSwappiness *int `json:"vmSwappiness,omitempty"`
+ VmVfsCachePressure *int `json:"vmVfsCachePressure,omitempty"`
+}
+
+// AssignProperties_From_SysctlConfig_STATUS populates our SysctlConfig_STATUS from the provided source SysctlConfig_STATUS
+func (config *SysctlConfig_STATUS) AssignProperties_From_SysctlConfig_STATUS(source *storage.SysctlConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // FsAioMaxNr
+ config.FsAioMaxNr = genruntime.ClonePointerToInt(source.FsAioMaxNr)
+
+ // FsFileMax
+ config.FsFileMax = genruntime.ClonePointerToInt(source.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ config.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(source.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ config.FsNrOpen = genruntime.ClonePointerToInt(source.FsNrOpen)
+
+ // KernelThreadsMax
+ config.KernelThreadsMax = genruntime.ClonePointerToInt(source.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ config.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(source.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ config.NetCoreOptmemMax = genruntime.ClonePointerToInt(source.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ config.NetCoreRmemDefault = genruntime.ClonePointerToInt(source.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ config.NetCoreRmemMax = genruntime.ClonePointerToInt(source.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ config.NetCoreSomaxconn = genruntime.ClonePointerToInt(source.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ config.NetCoreWmemDefault = genruntime.ClonePointerToInt(source.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ config.NetCoreWmemMax = genruntime.ClonePointerToInt(source.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ config.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(source.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ config.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ config.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ config.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(source.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ config.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(source.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ config.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ config.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(source.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ config.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ config.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(source.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if source.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *source.NetIpv4TcpTwReuse
+ config.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ config.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ config.NetIpv4TcpkeepaliveIntvl = genruntime.ClonePointerToInt(source.NetIpv4TcpkeepaliveIntvl)
+
+ // NetNetfilterNfConntrackBuckets
+ config.NetNetfilterNfConntrackBuckets = genruntime.ClonePointerToInt(source.NetNetfilterNfConntrackBuckets)
+
+ // NetNetfilterNfConntrackMax
+ config.NetNetfilterNfConntrackMax = genruntime.ClonePointerToInt(source.NetNetfilterNfConntrackMax)
+
+ // VmMaxMapCount
+ config.VmMaxMapCount = genruntime.ClonePointerToInt(source.VmMaxMapCount)
+
+ // VmSwappiness
+ config.VmSwappiness = genruntime.ClonePointerToInt(source.VmSwappiness)
+
+ // VmVfsCachePressure
+ config.VmVfsCachePressure = genruntime.ClonePointerToInt(source.VmVfsCachePressure)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ config.PropertyBag = propertyBag
+ } else {
+ config.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSysctlConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForSysctlConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_SysctlConfig_STATUS populates the provided destination SysctlConfig_STATUS from our SysctlConfig_STATUS
+func (config *SysctlConfig_STATUS) AssignProperties_To_SysctlConfig_STATUS(destination *storage.SysctlConfig_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(config.PropertyBag)
+
+ // FsAioMaxNr
+ destination.FsAioMaxNr = genruntime.ClonePointerToInt(config.FsAioMaxNr)
+
+ // FsFileMax
+ destination.FsFileMax = genruntime.ClonePointerToInt(config.FsFileMax)
+
+ // FsInotifyMaxUserWatches
+ destination.FsInotifyMaxUserWatches = genruntime.ClonePointerToInt(config.FsInotifyMaxUserWatches)
+
+ // FsNrOpen
+ destination.FsNrOpen = genruntime.ClonePointerToInt(config.FsNrOpen)
+
+ // KernelThreadsMax
+ destination.KernelThreadsMax = genruntime.ClonePointerToInt(config.KernelThreadsMax)
+
+ // NetCoreNetdevMaxBacklog
+ destination.NetCoreNetdevMaxBacklog = genruntime.ClonePointerToInt(config.NetCoreNetdevMaxBacklog)
+
+ // NetCoreOptmemMax
+ destination.NetCoreOptmemMax = genruntime.ClonePointerToInt(config.NetCoreOptmemMax)
+
+ // NetCoreRmemDefault
+ destination.NetCoreRmemDefault = genruntime.ClonePointerToInt(config.NetCoreRmemDefault)
+
+ // NetCoreRmemMax
+ destination.NetCoreRmemMax = genruntime.ClonePointerToInt(config.NetCoreRmemMax)
+
+ // NetCoreSomaxconn
+ destination.NetCoreSomaxconn = genruntime.ClonePointerToInt(config.NetCoreSomaxconn)
+
+ // NetCoreWmemDefault
+ destination.NetCoreWmemDefault = genruntime.ClonePointerToInt(config.NetCoreWmemDefault)
+
+ // NetCoreWmemMax
+ destination.NetCoreWmemMax = genruntime.ClonePointerToInt(config.NetCoreWmemMax)
+
+ // NetIpv4IpLocalPortRange
+ destination.NetIpv4IpLocalPortRange = genruntime.ClonePointerToString(config.NetIpv4IpLocalPortRange)
+
+ // NetIpv4NeighDefaultGcThresh1
+ destination.NetIpv4NeighDefaultGcThresh1 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh1)
+
+ // NetIpv4NeighDefaultGcThresh2
+ destination.NetIpv4NeighDefaultGcThresh2 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh2)
+
+ // NetIpv4NeighDefaultGcThresh3
+ destination.NetIpv4NeighDefaultGcThresh3 = genruntime.ClonePointerToInt(config.NetIpv4NeighDefaultGcThresh3)
+
+ // NetIpv4TcpFinTimeout
+ destination.NetIpv4TcpFinTimeout = genruntime.ClonePointerToInt(config.NetIpv4TcpFinTimeout)
+
+ // NetIpv4TcpKeepaliveProbes
+ destination.NetIpv4TcpKeepaliveProbes = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveProbes)
+
+ // NetIpv4TcpKeepaliveTime
+ destination.NetIpv4TcpKeepaliveTime = genruntime.ClonePointerToInt(config.NetIpv4TcpKeepaliveTime)
+
+ // NetIpv4TcpMaxSynBacklog
+ destination.NetIpv4TcpMaxSynBacklog = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxSynBacklog)
+
+ // NetIpv4TcpMaxTwBuckets
+ destination.NetIpv4TcpMaxTwBuckets = genruntime.ClonePointerToInt(config.NetIpv4TcpMaxTwBuckets)
+
+ // NetIpv4TcpTwReuse
+ if config.NetIpv4TcpTwReuse != nil {
+ netIpv4TcpTwReuse := *config.NetIpv4TcpTwReuse
+ destination.NetIpv4TcpTwReuse = &netIpv4TcpTwReuse
+ } else {
+ destination.NetIpv4TcpTwReuse = nil
+ }
+
+ // NetIpv4TcpkeepaliveIntvl
+ destination.NetIpv4TcpkeepaliveIntvl = genruntime.ClonePointerToInt(config.NetIpv4TcpkeepaliveIntvl)
+
+ // NetNetfilterNfConntrackBuckets
+ destination.NetNetfilterNfConntrackBuckets = genruntime.ClonePointerToInt(config.NetNetfilterNfConntrackBuckets)
+
+ // NetNetfilterNfConntrackMax
+ destination.NetNetfilterNfConntrackMax = genruntime.ClonePointerToInt(config.NetNetfilterNfConntrackMax)
+
+ // VmMaxMapCount
+ destination.VmMaxMapCount = genruntime.ClonePointerToInt(config.VmMaxMapCount)
+
+ // VmSwappiness
+ destination.VmSwappiness = genruntime.ClonePointerToInt(config.VmSwappiness)
+
+ // VmVfsCachePressure
+ destination.VmVfsCachePressure = genruntime.ClonePointerToInt(config.VmVfsCachePressure)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForSysctlConfig_STATUS interface (if implemented) to customize the conversion
+ var configAsAny any = config
+ if augmentedConfig, ok := configAsAny.(augmentConversionForSysctlConfig_STATUS); ok {
+ err := augmentedConfig.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForIPTag interface {
+ AssignPropertiesFrom(src *storage.IPTag) error
+ AssignPropertiesTo(dst *storage.IPTag) error
+}
+
+type augmentConversionForIPTag_STATUS interface {
+ AssignPropertiesFrom(src *storage.IPTag_STATUS) error
+ AssignPropertiesTo(dst *storage.IPTag_STATUS) error
+}
+
+type augmentConversionForPortRange interface {
+ AssignPropertiesFrom(src *storage.PortRange) error
+ AssignPropertiesTo(dst *storage.PortRange) error
+}
+
+type augmentConversionForPortRange_STATUS interface {
+ AssignPropertiesFrom(src *storage.PortRange_STATUS) error
+ AssignPropertiesTo(dst *storage.PortRange_STATUS) error
+}
+
+type augmentConversionForScaleProfile interface {
+ AssignPropertiesFrom(src *storage.ScaleProfile) error
+ AssignPropertiesTo(dst *storage.ScaleProfile) error
+}
+
+type augmentConversionForScaleProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ScaleProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ScaleProfile_STATUS) error
+}
+
+type augmentConversionForSysctlConfig interface {
+ AssignPropertiesFrom(src *storage.SysctlConfig) error
+ AssignPropertiesTo(dst *storage.SysctlConfig) error
+}
+
+type augmentConversionForSysctlConfig_STATUS interface {
+ AssignPropertiesFrom(src *storage.SysctlConfig_STATUS) error
+ AssignPropertiesTo(dst *storage.SysctlConfig_STATUS) error
+}
+
+// Storage version of v1api20240402preview.AutoScaleProfile
+// Specifications on auto-scaling.
+type AutoScaleProfile struct {
+ MaxCount *int `json:"maxCount,omitempty"`
+ MinCount *int `json:"minCount,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+// Storage version of v1api20240402preview.AutoScaleProfile_STATUS
+// Specifications on auto-scaling.
+type AutoScaleProfile_STATUS struct {
+ MaxCount *int `json:"maxCount,omitempty"`
+ MinCount *int `json:"minCount,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+// Storage version of v1api20240402preview.ManualScaleProfile
+// Specifications on number of machines.
+type ManualScaleProfile struct {
+ Count *int `json:"count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+// AssignProperties_From_ManualScaleProfile populates our ManualScaleProfile from the provided source ManualScaleProfile
+func (profile *ManualScaleProfile) AssignProperties_From_ManualScaleProfile(source *storage.ManualScaleProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Sizes
+ profile.Sizes = genruntime.CloneSliceOfString(source.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManualScaleProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManualScaleProfile); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManualScaleProfile populates the provided destination ManualScaleProfile from our ManualScaleProfile
+func (profile *ManualScaleProfile) AssignProperties_To_ManualScaleProfile(destination *storage.ManualScaleProfile) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Sizes
+ destination.Sizes = genruntime.CloneSliceOfString(profile.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManualScaleProfile interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManualScaleProfile); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManualScaleProfile_STATUS
+// Specifications on number of machines.
+type ManualScaleProfile_STATUS struct {
+ Count *int `json:"count,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Sizes []string `json:"sizes,omitempty"`
+}
+
+// AssignProperties_From_ManualScaleProfile_STATUS populates our ManualScaleProfile_STATUS from the provided source ManualScaleProfile_STATUS
+func (profile *ManualScaleProfile_STATUS) AssignProperties_From_ManualScaleProfile_STATUS(source *storage.ManualScaleProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Count
+ profile.Count = genruntime.ClonePointerToInt(source.Count)
+
+ // Sizes
+ profile.Sizes = genruntime.CloneSliceOfString(source.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ profile.PropertyBag = propertyBag
+ } else {
+ profile.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManualScaleProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManualScaleProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManualScaleProfile_STATUS populates the provided destination ManualScaleProfile_STATUS from our ManualScaleProfile_STATUS
+func (profile *ManualScaleProfile_STATUS) AssignProperties_To_ManualScaleProfile_STATUS(destination *storage.ManualScaleProfile_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(profile.PropertyBag)
+
+ // Count
+ destination.Count = genruntime.ClonePointerToInt(profile.Count)
+
+ // Sizes
+ destination.Sizes = genruntime.CloneSliceOfString(profile.Sizes)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManualScaleProfile_STATUS interface (if implemented) to customize the conversion
+ var profileAsAny any = profile
+ if augmentedProfile, ok := profileAsAny.(augmentConversionForManualScaleProfile_STATUS); ok {
+ err := augmentedProfile.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManualScaleProfile interface {
+ AssignPropertiesFrom(src *storage.ManualScaleProfile) error
+ AssignPropertiesTo(dst *storage.ManualScaleProfile) error
+}
+
+type augmentConversionForManualScaleProfile_STATUS interface {
+ AssignPropertiesFrom(src *storage.ManualScaleProfile_STATUS) error
+ AssignPropertiesTo(dst *storage.ManualScaleProfile_STATUS) error
+}
+
+func init() {
+ SchemeBuilder.Register(&ManagedClustersAgentPool{}, &ManagedClustersAgentPoolList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/structure.txt
new file mode 100644
index 0000000000..a93c2d0d43
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/structure.txt
@@ -0,0 +1,1612 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage
+--------------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2024-04-02-preview"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (51 properties)
+│ ├── AadProfile: *Object (8 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AgentPoolProfiles: Object (53 properties)[]
+│ │ ├── ArtifactStreamingProfile: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableCustomCATrust: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GatewayProfile: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PublicIPPrefixSize: *int
+│ │ ├── GpuInstanceProfile: *string
+│ │ ├── GpuProfile: *Object (2 properties)
+│ │ │ ├── InstallGPUDriver: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── HostGroupReference: *genruntime.ResourceReference
+│ │ ├── KubeletConfig: *Object (12 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *string
+│ │ ├── LinuxOSConfig: *Object (5 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (29 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MessageOfTheDay: *string
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *string
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (4 properties)
+│ │ │ ├── AllowedHostPorts: Object (4 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Protocol: *string
+│ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ │ ├── NodePublicIPTags: Object (3 properties)[]
+│ │ │ │ ├── IpTagType: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Tag: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NodeInitializationTaints: string[]
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *int
+│ │ ├── OsDiskType: *string
+│ │ ├── OsSKU: *string
+│ │ ├── OsType: *string
+│ │ ├── PodIPAllocationMode: *string
+│ │ ├── PodSubnetReference: *genruntime.ResourceReference
+│ │ ├── PowerState: *Object (2 properties)
+│ │ │ ├── Code: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ │ ├── ScaleDownMode: *string
+│ │ ├── ScaleSetEvictionPolicy: *string
+│ │ ├── ScaleSetPriority: *string
+│ │ ├── SecurityProfile: *Object (4 properties)
+│ │ │ ├── EnableSecureBoot: *bool
+│ │ │ ├── EnableVTPM: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SshAccess: *string
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *string
+│ │ ├── UpgradeSettings: *Object (5 properties)
+│ │ │ ├── DrainTimeoutInMinutes: *int
+│ │ │ ├── MaxSurge: *string
+│ │ │ ├── NodeSoakDurationInMinutes: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── UndrainableNodeBehavior: *string
+│ │ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Size: *string
+│ │ ├── VirtualMachinesProfile: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Scale: *Object (3 properties)
+│ │ │ ├── Autoscale: Object (4 properties)[]
+│ │ │ │ ├── MaxCount: *int
+│ │ │ │ ├── MinCount: *int
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Sizes: string[]
+│ │ │ ├── Manual: Object (3 properties)[]
+│ │ │ │ ├── Count: *int
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Sizes: string[]
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ │ ├── WindowsProfile: *Object (2 properties)
+│ │ │ ├── DisableOutboundNat: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── WorkloadRuntime: *string
+│ ├── AiToolchainOperatorProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ApiServerAccessProfile: *Object (8 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (21 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *string
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (3 properties)
+│ │ ├── NodeOSUpgradeChannel: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UpgradeChannel: *string
+│ ├── AzureMonitorProfile: *Object (4 properties)
+│ │ ├── AppMonitoring: *Object (4 properties)
+│ │ │ ├── AutoInstrumentation: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OpenTelemetryLogs: *Object (3 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ ├── Port: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OpenTelemetryMetrics: *Object (3 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ ├── Port: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ContainerInsights: *Object (6 properties)
+│ │ │ ├── DisableCustomMetrics: *bool
+│ │ │ ├── DisablePrometheusMetricsScraping: *bool
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SyslogPort: *int
+│ │ ├── Metrics: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KubeStateMetrics: *Object (3 properties)
+│ │ │ │ ├── MetricAnnotationsAllowList: *string
+│ │ │ │ ├── MetricLabelsAllowlist: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── BootstrapProfile: *Object (3 properties)
+│ │ ├── ArtifactSource: *string
+│ │ ├── ContainerRegistryReference: *genruntime.ResourceReference
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (4 properties)
+│ │ ├── DelegatedResources: map[string]Object (5 properties)
+│ │ │ ├── Location: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── ReferralResource: *string
+│ │ │ ├── ResourceReference: *genruntime.ResourceReference
+│ │ │ └── TenantId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (4 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── IngressProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WebAppRouting: *Object (3 properties)
+│ │ ├── DnsZoneResourceReferences: genruntime.ResourceReference[]
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Kind: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (3 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Ssh: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicKeys: Object (2 properties)[]
+│ │ ├── KeyData: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── MetricsProfile: *Object (2 properties)
+│ │ ├── CostAnalysis: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NetworkProfile: *Object (20 properties)
+│ │ ├── AdvancedNetworking: *Object (2 properties)
+│ │ │ ├── Observability: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: string[]
+│ │ ├── KubeProxyConfig: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (5 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── Scheduler: *string
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ ├── Mode: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerProfile: *Object (10 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *string
+│ │ │ ├── ClusterServiceLoadBalancerHealthProbeMode: *string
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ ├── CountIPv6: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── OutboundIPs: *Object (2 properties)
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PublicIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── LoadBalancerSku: *string
+│ │ ├── NatGatewayProfile: *Object (4 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NetworkDataplane: *string
+│ │ ├── NetworkMode: *string
+│ │ ├── NetworkPlugin: *string
+│ │ ├── NetworkPluginMode: *string
+│ │ ├── NetworkPolicy: *string
+│ │ ├── OutboundType: *string
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PodLinkLocalAccess: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ServiceCidr: *string
+│ │ ├── ServiceCidrs: string[]
+│ │ └── StaticEgressGatewayProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeProvisioningProfile: *Object (2 properties)
+│ │ ├── Mode: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RestrictionLevel: *string
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OperatorSpec: *Object (3 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secrets: *Object (3 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (5 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── UserAssignedIdentities: Object (5 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (4 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ ├── PodLabels: map[string]string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicNetworkAccess: *string
+│ ├── SafeguardsProfile: *Object (4 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (8 properties)
+│ │ ├── AzureKeyVaultKms: *Object (5 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *string
+│ │ │ ├── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── CustomCATrustCertificates: string[]
+│ │ ├── Defender: *Object (3 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── SecurityMonitoring: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageCleaner: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IntervalHours: *int
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── ImageIntegrity: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── NodeRestriction: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── WorkloadIdentity: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServiceMeshProfile: *Object (3 properties)
+│ │ ├── Istio: *Object (4 properties)
+│ │ │ ├── CertificateAuthority: *Object (2 properties)
+│ │ │ │ ├── Plugin: *Object (6 properties)
+│ │ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ │ ├── CertObjectName: *string
+│ │ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
+│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ │ │ └── RootCertObjectName: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── Components: *Object (3 properties)
+│ │ │ │ ├── EgressGateways: Object (2 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ ├── IngressGateways: Object (3 properties)[]
+│ │ │ │ │ ├── Enabled: *bool
+│ │ │ │ │ ├── Mode: *string
+│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Revisions: string[]
+│ │ ├── Mode: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ServicePrincipalProfile: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── StorageProfile: *Object (5 properties)
+│ │ ├── BlobCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── DiskCSIDriver: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SnapshotController: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── SupportPlan: *string
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (2 properties)
+│ │ ├── OverrideSettings: *Object (3 properties)
+│ │ │ ├── ForceUpgrade: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Until: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── WindowsProfile: *Object (6 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (4 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── RootDomainName: *string
+│ │ ├── LicenseType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadAutoScalerProfile: *Object (3 properties)
+│ ├── Keda: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── VerticalPodAutoscaler: *Object (3 properties)
+│ ├── AddonAutoscaling: *string
+│ ├── Enabled: *bool
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (61 properties)
+ ├── AadProfile: *Object (8 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (4 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AgentPoolProfiles: Object (57 properties)[]
+ │ ├── ArtifactStreamingProfile: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── ETag: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableCustomCATrust: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GatewayProfile: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── PublicIPPrefixSize: *int
+ │ ├── GpuInstanceProfile: *string
+ │ ├── GpuProfile: *Object (2 properties)
+ │ │ ├── InstallGPUDriver: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (12 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *string
+ │ ├── LinuxOSConfig: *Object (5 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (29 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MessageOfTheDay: *string
+ │ ├── MinCount: *int
+ │ ├── Mode: *string
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (4 properties)
+ │ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Protocol: *string
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ │ ├── IpTagType: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Tag: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeInitializationTaints: string[]
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *string
+ │ ├── OsSKU: *string
+ │ ├── OsType: *string
+ │ ├── PodIPAllocationMode: *string
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (2 properties)
+ │ │ ├── Code: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *string
+ │ ├── ScaleSetEvictionPolicy: *string
+ │ ├── ScaleSetPriority: *string
+ │ ├── SecurityProfile: *Object (4 properties)
+ │ │ ├── EnableSecureBoot: *bool
+ │ │ ├── EnableVTPM: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SshAccess: *string
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *string
+ │ ├── UpgradeSettings: *Object (5 properties)
+ │ │ ├── DrainTimeoutInMinutes: *int
+ │ │ ├── MaxSurge: *string
+ │ │ ├── NodeSoakDurationInMinutes: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── UndrainableNodeBehavior: *string
+ │ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+ │ │ ├── Count: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Size: *string
+ │ ├── VirtualMachinesProfile: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Scale: *Object (3 properties)
+ │ │ ├── Autoscale: Object (4 properties)[]
+ │ │ │ ├── MaxCount: *int
+ │ │ │ ├── MinCount: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Sizes: string[]
+ │ │ ├── Manual: Object (3 properties)[]
+ │ │ │ ├── Count: *int
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Sizes: string[]
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ ├── WindowsProfile: *Object (2 properties)
+ │ │ ├── DisableOutboundNat: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadRuntime: *string
+ ├── AiToolchainOperatorProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ApiServerAccessProfile: *Object (8 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── EnableVnetIntegration: *bool
+ │ ├── PrivateDNSZone: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SubnetId: *string
+ ├── AutoScalerProfile: *Object (21 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+ │ ├── Expander: *string
+ │ ├── IgnoreDaemonsetsUtilization: *bool
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (3 properties)
+ │ ├── NodeOSUpgradeChannel: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UpgradeChannel: *string
+ ├── AzureMonitorProfile: *Object (4 properties)
+ │ ├── AppMonitoring: *Object (4 properties)
+ │ │ ├── AutoInstrumentation: *Object (2 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OpenTelemetryLogs: *Object (3 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ ├── Port: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OpenTelemetryMetrics: *Object (3 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ ├── Port: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ContainerInsights: *Object (6 properties)
+ │ │ ├── DisableCustomMetrics: *bool
+ │ │ ├── DisablePrometheusMetricsScraping: *bool
+ │ │ ├── Enabled: *bool
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SyslogPort: *int
+ │ ├── Metrics: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KubeStateMetrics: *Object (3 properties)
+ │ │ │ ├── MetricAnnotationsAllowList: *string
+ │ │ │ ├── MetricLabelsAllowlist: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AzurePortalFQDN: *string
+ ├── BootstrapProfile: *Object (3 properties)
+ │ ├── ArtifactSource: *string
+ │ ├── ContainerRegistryId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Conditions: conditions.Condition[]
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── ETag: *string
+ ├── EnableNamespaceResources: *bool
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (6 properties)
+ │ ├── EffectiveNoProxy: string[]
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (6 properties)
+ │ ├── DelegatedResources: map[string]Object (5 properties)
+ │ │ ├── Location: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ReferralResource: *string
+ │ │ ├── ResourceId: *string
+ │ │ └── TenantId: *string
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IdentityProfile: map[string]Object (4 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ResourceId: *string
+ ├── IngressProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WebAppRouting: *Object (4 properties)
+ │ ├── DnsZoneResourceIds: string[]
+ │ ├── Enabled: *bool
+ │ ├── Identity: *Object (4 properties)
+ │ │ ├── ClientId: *string
+ │ │ ├── ObjectId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ResourceId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Kind: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (3 properties)
+ │ ├── AdminUsername: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Ssh: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicKeys: Object (2 properties)[]
+ │ ├── KeyData: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── MetricsProfile: *Object (2 properties)
+ │ ├── CostAnalysis: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Name: *string
+ ├── NetworkProfile: *Object (20 properties)
+ │ ├── AdvancedNetworking: *Object (2 properties)
+ │ │ ├── Observability: *Object (2 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── DnsServiceIP: *string
+ │ ├── IpFamilies: string[]
+ │ ├── KubeProxyConfig: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IpvsConfig: *Object (5 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── Scheduler: *string
+ │ │ │ ├── TcpFinTimeoutSeconds: *int
+ │ │ │ ├── TcpTimeoutSeconds: *int
+ │ │ │ └── UdpTimeoutSeconds: *int
+ │ │ ├── Mode: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerProfile: *Object (10 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *string
+ │ │ ├── ClusterServiceLoadBalancerHealthProbeMode: *string
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (3 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ ├── CountIPv6: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPPrefixes: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPPrefixes: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── OutboundIPs: *Object (2 properties)
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PublicIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerSku: *string
+ │ ├── NatGatewayProfile: *Object (4 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (2 properties)[]
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPProfile: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NetworkDataplane: *string
+ │ ├── NetworkMode: *string
+ │ ├── NetworkPlugin: *string
+ │ ├── NetworkPluginMode: *string
+ │ ├── NetworkPolicy: *string
+ │ ├── OutboundType: *string
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── PodLinkLocalAccess: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ServiceCidr: *string
+ │ ├── ServiceCidrs: string[]
+ │ └── StaticEgressGatewayProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeProvisioningProfile: *Object (2 properties)
+ │ ├── Mode: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeResourceGroup: *string
+ ├── NodeResourceGroupProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── RestrictionLevel: *string
+ ├── OidcIssuerProfile: *Object (3 properties)
+ │ ├── Enabled: *bool
+ │ ├── IssuerURL: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PodIdentityProfile: *Object (5 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── UserAssignedIdentities: Object (7 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (4 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningInfo: *Object (2 properties)
+ │ │ │ ├── Error: *Object (2 properties)
+ │ │ │ │ ├── Error: *Object (5 properties)
+ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ ├── Details: Object (4 properties)[]
+ │ │ │ │ │ │ ├── Code: *string
+ │ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ │ └── Target: *string
+ │ │ │ │ │ ├── Message: *string
+ │ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ │ └── Target: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── ProvisioningState: *string
+ │ └── UserAssignedIdentityExceptions: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ ├── PodLabels: map[string]string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (7 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *string
+ ├── ResourceUID: *string
+ ├── SafeguardsProfile: *Object (5 properties)
+ │ ├── ExcludedNamespaces: string[]
+ │ ├── Level: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SystemExcludedNamespaces: string[]
+ │ └── Version: *string
+ ├── SecurityProfile: *Object (8 properties)
+ │ ├── AzureKeyVaultKms: *Object (5 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *string
+ │ │ ├── KeyVaultResourceId: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── CustomCATrustCertificates: string[]
+ │ ├── Defender: *Object (3 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── SecurityMonitoring: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageCleaner: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IntervalHours: *int
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ImageIntegrity: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── NodeRestriction: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── WorkloadIdentity: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceMeshProfile: *Object (3 properties)
+ │ ├── Istio: *Object (4 properties)
+ │ │ ├── CertificateAuthority: *Object (2 properties)
+ │ │ │ ├── Plugin: *Object (6 properties)
+ │ │ │ │ ├── CertChainObjectName: *string
+ │ │ │ │ ├── CertObjectName: *string
+ │ │ │ │ ├── KeyObjectName: *string
+ │ │ │ │ ├── KeyVaultId: *string
+ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ │ │ └── RootCertObjectName: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Components: *Object (3 properties)
+ │ │ │ ├── EgressGateways: Object (2 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ ├── IngressGateways: Object (3 properties)[]
+ │ │ │ │ ├── Enabled: *bool
+ │ │ │ │ ├── Mode: *string
+ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Revisions: string[]
+ │ ├── Mode: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServicePrincipalProfile: *Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── StorageProfile: *Object (5 properties)
+ │ ├── BlobCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── DiskCSIDriver: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Version: *string
+ │ ├── FileCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SnapshotController: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SupportPlan: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (2 properties)
+ │ ├── OverrideSettings: *Object (3 properties)
+ │ │ ├── ForceUpgrade: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Until: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── WindowsProfile: *Object (5 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (4 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── RootDomainName: *string
+ │ ├── LicenseType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadAutoScalerProfile: *Object (3 properties)
+ ├── Keda: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ └── VerticalPodAutoscaler: *Object (3 properties)
+ ├── AddonAutoscaling: *string
+ ├── Enabled: *bool
+ └── PropertyBag: genruntime.PropertyBag
+ManagedClustersAgentPool: Resource
+├── Owner: containerservice/v1api20240402preview.ManagedCluster
+├── Spec: Object (55 properties)
+│ ├── ArtifactStreamingProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: string
+│ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ ├── Count: *int
+│ ├── CreationData: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GatewayProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicIPPrefixSize: *int
+│ ├── GpuInstanceProfile: *string
+│ ├── GpuProfile: *Object (2 properties)
+│ │ ├── InstallGPUDriver: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (12 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *string
+│ ├── LinuxOSConfig: *Object (5 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (29 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *string
+│ ├── NetworkProfile: *Object (4 properties)
+│ │ ├── AllowedHostPorts: Object (4 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Protocol: *string
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ ├── NodePublicIPTags: Object (3 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Tag: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── NodeInitializationTaints: string[]
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OriginalVersion: string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *string
+│ ├── OsSKU: *string
+│ ├── OsType: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIPAllocationMode: *string
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (2 properties)
+│ │ ├── Code: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *string
+│ ├── ScaleSetEvictionPolicy: *string
+│ ├── ScaleSetPriority: *string
+│ ├── SecurityProfile: *Object (4 properties)
+│ │ ├── EnableSecureBoot: *bool
+│ │ ├── EnableVTPM: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── SshAccess: *string
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *string
+│ ├── UpgradeSettings: *Object (5 properties)
+│ │ ├── DrainTimeoutInMinutes: *int
+│ │ ├── MaxSurge: *string
+│ │ ├── NodeSoakDurationInMinutes: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── UndrainableNodeBehavior: *string
+│ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+│ │ ├── Count: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Size: *string
+│ ├── VirtualMachinesProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Scale: *Object (3 properties)
+│ │ ├── Autoscale: Object (4 properties)[]
+│ │ │ ├── MaxCount: *int
+│ │ │ ├── MinCount: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Sizes: string[]
+│ │ ├── Manual: Object (3 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Sizes: string[]
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ ├── WindowsProfile: *Object (2 properties)
+│ │ ├── DisableOutboundNat: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── WorkloadRuntime: *string
+└── Status: Object (60 properties)
+ ├── ArtifactStreamingProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── ETag: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GatewayProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── PublicIPPrefixSize: *int
+ ├── GpuInstanceProfile: *string
+ ├── GpuProfile: *Object (2 properties)
+ │ ├── InstallGPUDriver: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (12 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *string
+ ├── LinuxOSConfig: *Object (5 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (29 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *string
+ ├── Name: *string
+ ├── NetworkProfile: *Object (4 properties)
+ │ ├── AllowedHostPorts: Object (4 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Protocol: *string
+ │ ├── ApplicationSecurityGroups: string[]
+ │ ├── NodePublicIPTags: Object (3 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Tag: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NodeImageVersion: *string
+ ├── NodeInitializationTaints: string[]
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *string
+ ├── OsSKU: *string
+ ├── OsType: *string
+ ├── PodIPAllocationMode: *string
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (2 properties)
+ │ ├── Code: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertiesType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *string
+ ├── ScaleSetEvictionPolicy: *string
+ ├── ScaleSetPriority: *string
+ ├── SecurityProfile: *Object (4 properties)
+ │ ├── EnableSecureBoot: *bool
+ │ ├── EnableVTPM: *bool
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── SshAccess: *string
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (5 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ ├── NodeSoakDurationInMinutes: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── UndrainableNodeBehavior: *string
+ ├── VirtualMachineNodesStatus: Object (3 properties)[]
+ │ ├── Count: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Size: *string
+ ├── VirtualMachinesProfile: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Scale: *Object (3 properties)
+ │ ├── Autoscale: Object (4 properties)[]
+ │ │ ├── MaxCount: *int
+ │ │ ├── MinCount: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Sizes: string[]
+ │ ├── Manual: Object (3 properties)[]
+ │ │ ├── Count: *int
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Sizes: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (2 properties)
+ │ ├── DisableOutboundNat: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── WorkloadRuntime: *string
+TrustedAccessRoleBinding: Resource
+├── Owner: containerservice/v1api20240402preview.ManagedCluster
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Roles: string[]
+│ └── SourceResourceReference: *genruntime.ResourceReference
+└── Status: Object (9 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Roles: string[]
+ ├── SourceResourceId: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── Type: *string
+augmentConversionForAgentPoolArtifactStreamingProfile: Interface
+augmentConversionForAgentPoolArtifactStreamingProfile_STATUS: Interface
+augmentConversionForAgentPoolGPUProfile: Interface
+augmentConversionForAgentPoolGPUProfile_STATUS: Interface
+augmentConversionForAgentPoolNetworkProfile: Interface
+augmentConversionForAgentPoolNetworkProfile_STATUS: Interface
+augmentConversionForAgentPoolSecurityProfile: Interface
+augmentConversionForAgentPoolSecurityProfile_STATUS: Interface
+augmentConversionForAgentPoolUpgradeSettings: Interface
+augmentConversionForAgentPoolUpgradeSettings_STATUS: Interface
+augmentConversionForAgentPoolWindowsProfile: Interface
+augmentConversionForAgentPoolWindowsProfile_STATUS: Interface
+augmentConversionForAzureKeyVaultKms: Interface
+augmentConversionForAzureKeyVaultKms_STATUS: Interface
+augmentConversionForClusterUpgradeSettings: Interface
+augmentConversionForClusterUpgradeSettings_STATUS: Interface
+augmentConversionForContainerServiceLinuxProfile: Interface
+augmentConversionForContainerServiceLinuxProfile_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile_KubeProxyConfig_STATUS: Interface
+augmentConversionForContainerServiceNetworkProfile_STATUS: Interface
+augmentConversionForContainerServiceSshConfiguration: Interface
+augmentConversionForContainerServiceSshConfiguration_STATUS: Interface
+augmentConversionForContainerServiceSshPublicKey: Interface
+augmentConversionForContainerServiceSshPublicKey_STATUS: Interface
+augmentConversionForCreationData: Interface
+augmentConversionForCreationData_STATUS: Interface
+augmentConversionForDelegatedResource: Interface
+augmentConversionForDelegatedResource_STATUS: Interface
+augmentConversionForExtendedLocation: Interface
+augmentConversionForExtendedLocation_STATUS: Interface
+augmentConversionForIPTag: Interface
+augmentConversionForIPTag_STATUS: Interface
+augmentConversionForIstioCertificateAuthority: Interface
+augmentConversionForIstioCertificateAuthority_STATUS: Interface
+augmentConversionForIstioComponents: Interface
+augmentConversionForIstioComponents_STATUS: Interface
+augmentConversionForIstioEgressGateway: Interface
+augmentConversionForIstioEgressGateway_STATUS: Interface
+augmentConversionForIstioIngressGateway: Interface
+augmentConversionForIstioIngressGateway_STATUS: Interface
+augmentConversionForIstioPluginCertificateAuthority: Interface
+augmentConversionForIstioPluginCertificateAuthority_STATUS: Interface
+augmentConversionForIstioServiceMesh: Interface
+augmentConversionForIstioServiceMesh_STATUS: Interface
+augmentConversionForKubeletConfig: Interface
+augmentConversionForKubeletConfig_STATUS: Interface
+augmentConversionForLinuxOSConfig: Interface
+augmentConversionForLinuxOSConfig_STATUS: Interface
+augmentConversionForManagedCluster: Interface
+augmentConversionForManagedClusterAADProfile: Interface
+augmentConversionForManagedClusterAADProfile_STATUS: Interface
+augmentConversionForManagedClusterAIToolchainOperatorProfile: Interface
+augmentConversionForManagedClusterAIToolchainOperatorProfile_STATUS: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile: Interface
+augmentConversionForManagedClusterAPIServerAccessProfile_STATUS: Interface
+augmentConversionForManagedClusterAddonProfile: Interface
+augmentConversionForManagedClusterAddonProfile_STATUS: Interface
+augmentConversionForManagedClusterAgentPoolProfile: Interface
+augmentConversionForManagedClusterAgentPoolProfile_STATUS: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile: Interface
+augmentConversionForManagedClusterAutoUpgradeProfile_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile: Interface
+augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring: Interface
+augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileAppMonitoring_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileContainerInsights: Interface
+augmentConversionForManagedClusterAzureMonitorProfileContainerInsights_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics: Interface
+augmentConversionForManagedClusterAzureMonitorProfileMetrics_STATUS: Interface
+augmentConversionForManagedClusterAzureMonitorProfile_STATUS: Interface
+augmentConversionForManagedClusterCostAnalysis: Interface
+augmentConversionForManagedClusterCostAnalysis_STATUS: Interface
+augmentConversionForManagedClusterHTTPProxyConfig: Interface
+augmentConversionForManagedClusterHTTPProxyConfig_STATUS: Interface
+augmentConversionForManagedClusterIdentity: Interface
+augmentConversionForManagedClusterIdentity_STATUS: Interface
+augmentConversionForManagedClusterIdentity_UserAssignedIdentities_STATUS: Interface
+augmentConversionForManagedClusterIngressProfile: Interface
+augmentConversionForManagedClusterIngressProfileWebAppRouting: Interface
+augmentConversionForManagedClusterIngressProfileWebAppRouting_STATUS: Interface
+augmentConversionForManagedClusterIngressProfile_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_OutboundIPs_STATUS: Interface
+augmentConversionForManagedClusterLoadBalancerProfile_STATUS: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile: Interface
+augmentConversionForManagedClusterManagedOutboundIPProfile_STATUS: Interface
+augmentConversionForManagedClusterMetricsProfile: Interface
+augmentConversionForManagedClusterMetricsProfile_STATUS: Interface
+augmentConversionForManagedClusterNATGatewayProfile: Interface
+augmentConversionForManagedClusterNATGatewayProfile_STATUS: Interface
+augmentConversionForManagedClusterNodeProvisioningProfile: Interface
+augmentConversionForManagedClusterNodeProvisioningProfile_STATUS: Interface
+augmentConversionForManagedClusterNodeResourceGroupProfile: Interface
+augmentConversionForManagedClusterNodeResourceGroupProfile_STATUS: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile: Interface
+augmentConversionForManagedClusterOIDCIssuerProfile_STATUS: Interface
+augmentConversionForManagedClusterOperatorConfigMaps: Interface
+augmentConversionForManagedClusterOperatorSecrets: Interface
+augmentConversionForManagedClusterOperatorSpec: Interface
+augmentConversionForManagedClusterPodIdentity: Interface
+augmentConversionForManagedClusterPodIdentityException: Interface
+augmentConversionForManagedClusterPodIdentityException_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProfile: Interface
+augmentConversionForManagedClusterPodIdentityProfile_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled: Interface
+augmentConversionForManagedClusterPodIdentityProvisioningError_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_ProvisioningInfo_STATUS: Interface
+augmentConversionForManagedClusterPodIdentity_STATUS: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile: Interface
+augmentConversionForManagedClusterProperties_AutoScalerProfile_STATUS: Interface
+augmentConversionForManagedClusterSKU: Interface
+augmentConversionForManagedClusterSKU_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile: Interface
+augmentConversionForManagedClusterSecurityProfileDefender: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring: Interface
+augmentConversionForManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileDefender_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner: Interface
+augmentConversionForManagedClusterSecurityProfileImageCleaner_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileImageIntegrity: Interface
+augmentConversionForManagedClusterSecurityProfileImageIntegrity_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileNodeRestriction: Interface
+augmentConversionForManagedClusterSecurityProfileNodeRestriction_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity: Interface
+augmentConversionForManagedClusterSecurityProfileWorkloadIdentity_STATUS: Interface
+augmentConversionForManagedClusterSecurityProfile_STATUS: Interface
+augmentConversionForManagedClusterServicePrincipalProfile: Interface
+augmentConversionForManagedClusterServicePrincipalProfile_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileBlobCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileDiskCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver: Interface
+augmentConversionForManagedClusterStorageProfileFileCSIDriver_STATUS: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController: Interface
+augmentConversionForManagedClusterStorageProfileSnapshotController_STATUS: Interface
+augmentConversionForManagedClusterStorageProfile_STATUS: Interface
+augmentConversionForManagedClusterWindowsProfile: Interface
+augmentConversionForManagedClusterWindowsProfile_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileKeda_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS: Interface
+augmentConversionForManagedClusterWorkloadAutoScalerProfile_STATUS: Interface
+augmentConversionForManagedCluster_STATUS: Interface
+augmentConversionForManagedCluster_Spec: Interface
+augmentConversionForManagedClustersAgentPool: Interface
+augmentConversionForManagedClusters_AgentPool_STATUS: Interface
+augmentConversionForManagedClusters_AgentPool_Spec: Interface
+augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS: Interface
+augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec: Interface
+augmentConversionForManualScaleProfile: Interface
+augmentConversionForManualScaleProfile_STATUS: Interface
+augmentConversionForPortRange: Interface
+augmentConversionForPortRange_STATUS: Interface
+augmentConversionForPowerState: Interface
+augmentConversionForPowerState_STATUS: Interface
+augmentConversionForPrivateLinkResource: Interface
+augmentConversionForPrivateLinkResource_STATUS: Interface
+augmentConversionForResourceReference: Interface
+augmentConversionForResourceReference_STATUS: Interface
+augmentConversionForSafeguardsProfile: Interface
+augmentConversionForSafeguardsProfile_STATUS: Interface
+augmentConversionForScaleProfile: Interface
+augmentConversionForScaleProfile_STATUS: Interface
+augmentConversionForServiceMeshProfile: Interface
+augmentConversionForServiceMeshProfile_STATUS: Interface
+augmentConversionForSysctlConfig: Interface
+augmentConversionForSysctlConfig_STATUS: Interface
+augmentConversionForSystemData_STATUS: Interface
+augmentConversionForTrustedAccessRoleBinding: Interface
+augmentConversionForUpgradeOverrideSettings: Interface
+augmentConversionForUpgradeOverrideSettings_STATUS: Interface
+augmentConversionForUserAssignedIdentity: Interface
+augmentConversionForUserAssignedIdentityDetails: Interface
+augmentConversionForUserAssignedIdentity_STATUS: Interface
+augmentConversionForVirtualMachineNodes: Interface
+augmentConversionForVirtualMachineNodes_STATUS: Interface
+augmentConversionForVirtualMachinesProfile: Interface
+augmentConversionForVirtualMachinesProfile_STATUS: Interface
+augmentConversionForWindowsGmsaProfile: Interface
+augmentConversionForWindowsGmsaProfile_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/trusted_access_role_binding_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/trusted_access_role_binding_types_gen.go
new file mode 100644
index 0000000000..d68860ddfb
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/trusted_access_role_binding_types_gen.go
@@ -0,0 +1,606 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package storage
+
+import (
+ "fmt"
+ v20231001s "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231001/storage"
+ v20231102ps "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20231102preview/storage"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Storage version of v1api20240402preview.TrustedAccessRoleBinding
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBinding struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedClusters_TrustedAccessRoleBinding_Spec `json:"spec,omitempty"`
+ Status ManagedClusters_TrustedAccessRoleBinding_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &TrustedAccessRoleBinding{}
+
+// GetConditions returns the conditions of the resource
+func (binding *TrustedAccessRoleBinding) GetConditions() conditions.Conditions {
+ return binding.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (binding *TrustedAccessRoleBinding) SetConditions(conditions conditions.Conditions) {
+ binding.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &TrustedAccessRoleBinding{}
+
+// ConvertFrom populates our TrustedAccessRoleBinding from the provided hub TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertFrom(hub conversion.Hub) error {
+ source, ok := hub.(*v20231001s.TrustedAccessRoleBinding)
+ if !ok {
+ return fmt.Errorf("expected containerservice/v1api20231001/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ }
+
+ return binding.AssignProperties_From_TrustedAccessRoleBinding(source)
+}
+
+// ConvertTo populates the provided hub TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertTo(hub conversion.Hub) error {
+ destination, ok := hub.(*v20231001s.TrustedAccessRoleBinding)
+ if !ok {
+ return fmt.Errorf("expected containerservice/v1api20231001/storage/TrustedAccessRoleBinding but received %T instead", hub)
+ }
+
+ return binding.AssignProperties_To_TrustedAccessRoleBinding(destination)
+}
+
+var _ genruntime.KubernetesResource = &TrustedAccessRoleBinding{}
+
+// AzureName returns the Azure name of the resource
+func (binding *TrustedAccessRoleBinding) AzureName() string {
+ return binding.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (binding TrustedAccessRoleBinding) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (binding *TrustedAccessRoleBinding) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (binding *TrustedAccessRoleBinding) GetSpec() genruntime.ConvertibleSpec {
+ return &binding.Spec
+}
+
+// GetStatus returns the status of this resource
+func (binding *TrustedAccessRoleBinding) GetStatus() genruntime.ConvertibleStatus {
+ return &binding.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (binding *TrustedAccessRoleBinding) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+func (binding *TrustedAccessRoleBinding) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (binding *TrustedAccessRoleBinding) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (binding *TrustedAccessRoleBinding) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(binding.Spec)
+ return binding.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (binding *TrustedAccessRoleBinding) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ binding.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ binding.Status = st
+ return nil
+}
+
+// AssignProperties_From_TrustedAccessRoleBinding populates our TrustedAccessRoleBinding from the provided source TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRoleBinding(source *v20231001s.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ binding.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := spec.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ binding.Spec = spec
+
+ // Status
+ var status ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = status.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ binding.Status = status
+
+ // Invoke the augmentConversionForTrustedAccessRoleBinding interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForTrustedAccessRoleBinding); ok {
+ err := augmentedBinding.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_TrustedAccessRoleBinding populates the provided destination TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBinding(destination *v20231001s.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *binding.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := binding.Spec.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = binding.Status.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // Invoke the augmentConversionForTrustedAccessRoleBinding interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForTrustedAccessRoleBinding); ok {
+ err := augmentedBinding.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (binding *TrustedAccessRoleBinding) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: binding.Spec.OriginalVersion,
+ Kind: "TrustedAccessRoleBinding",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Storage version of v1api20240402preview.TrustedAccessRoleBinding
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBindingList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []TrustedAccessRoleBinding `json:"items"`
+}
+
+type augmentConversionForTrustedAccessRoleBinding interface {
+ AssignPropertiesFrom(src *v20231001s.TrustedAccessRoleBinding) error
+ AssignPropertiesTo(dst *v20231001s.TrustedAccessRoleBinding) error
+}
+
+// Storage version of v1api20240402preview.ManagedClusters_TrustedAccessRoleBinding_Spec
+type ManagedClusters_TrustedAccessRoleBinding_Spec struct {
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+ OriginalVersion string `json:"originalVersion,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a containerservice.azure.com/ManagedCluster resource
+ Owner *genruntime.KnownResourceReference `group:"containerservice.azure.com" json:"owner,omitempty" kind:"ManagedCluster"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ Roles []string `json:"roles,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // SourceResourceReference: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedClusters_TrustedAccessRoleBinding_Spec{}
+
+// ConvertSpecFrom populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(source *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // AzureName
+ binding.AzureName = source.AzureName
+
+ // OriginalVersion
+ binding.OriginalVersion = source.OriginalVersion
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ binding.Owner = &owner
+ } else {
+ binding.Owner = nil
+ }
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceReference
+ if source.SourceResourceReference != nil {
+ sourceResourceReference := source.SourceResourceReference.Copy()
+ binding.SourceResourceReference = &sourceResourceReference
+ } else {
+ binding.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ binding.PropertyBag = propertyBag
+ } else {
+ binding.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec); ok {
+ err := augmentedBinding.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec populates the provided destination ManagedClusters_TrustedAccessRoleBinding_Spec from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(destination *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(binding.PropertyBag)
+
+ // AzureName
+ destination.AzureName = binding.AzureName
+
+ // OriginalVersion
+ destination.OriginalVersion = binding.OriginalVersion
+
+ // Owner
+ if binding.Owner != nil {
+ owner := binding.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceReference
+ if binding.SourceResourceReference != nil {
+ sourceResourceReference := binding.SourceResourceReference.Copy()
+ destination.SourceResourceReference = &sourceResourceReference
+ } else {
+ destination.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec); ok {
+ err := augmentedBinding.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// Storage version of v1api20240402preview.ManagedClusters_TrustedAccessRoleBinding_STATUS
+type ManagedClusters_TrustedAccessRoleBinding_STATUS struct {
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+ Id *string `json:"id,omitempty"`
+ Name *string `json:"name,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+ ProvisioningState *string `json:"provisioningState,omitempty"`
+ Roles []string `json:"roles,omitempty"`
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+ SystemData *SystemData_STATUS `json:"systemData,omitempty"`
+ Type *string `json:"type,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+
+// ConvertStatusFrom populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
+
+ // Conditions
+ binding.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // Id
+ binding.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Name
+ binding.Name = genruntime.ClonePointerToString(source.Name)
+
+ // ProvisioningState
+ binding.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceId
+ binding.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
+
+ // SystemData
+ if source.SystemData != nil {
+ var systemDataSTATUSStash v20231102ps.SystemData_STATUS
+ err := systemDataSTATUSStash.AssignProperties_From_SystemData_STATUS(source.SystemData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData_STATUSStash from SystemData")
+ }
+ var systemDatum SystemData_STATUS
+ err = systemDatum.AssignProperties_From_SystemData_STATUS(&systemDataSTATUSStash)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData from SystemData_STATUSStash")
+ }
+ binding.SystemData = &systemDatum
+ } else {
+ binding.SystemData = nil
+ }
+
+ // Type
+ binding.Type = genruntime.ClonePointerToString(source.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ binding.PropertyBag = propertyBag
+ } else {
+ binding.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ err := augmentedBinding.AssignPropertiesFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesFrom() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS populates the provided destination ManagedClusters_TrustedAccessRoleBinding_STATUS from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(destination *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+ // Clone the existing property bag
+ propertyBag := genruntime.NewPropertyBag(binding.PropertyBag)
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(binding.Conditions)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(binding.Id)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(binding.Name)
+
+ // ProvisioningState
+ destination.ProvisioningState = genruntime.ClonePointerToString(binding.ProvisioningState)
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceId
+ destination.SourceResourceId = genruntime.ClonePointerToString(binding.SourceResourceId)
+
+ // SystemData
+ if binding.SystemData != nil {
+ var systemDataSTATUSStash v20231102ps.SystemData_STATUS
+ err := binding.SystemData.AssignProperties_To_SystemData_STATUS(&systemDataSTATUSStash)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData_STATUSStash from SystemData")
+ }
+ var systemDatum v20231001s.SystemData_STATUS
+ err = systemDataSTATUSStash.AssignProperties_To_SystemData_STATUS(&systemDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData from SystemData_STATUSStash")
+ }
+ destination.SystemData = &systemDatum
+ } else {
+ destination.SystemData = nil
+ }
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(binding.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // Invoke the augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS interface (if implemented) to customize the conversion
+ var bindingAsAny any = binding
+ if augmentedBinding, ok := bindingAsAny.(augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ err := augmentedBinding.AssignPropertiesTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "calling augmented AssignPropertiesTo() for conversion")
+ }
+ }
+
+ // No error
+ return nil
+}
+
+type augmentConversionForManagedClusters_TrustedAccessRoleBinding_Spec interface {
+ AssignPropertiesFrom(src *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error
+ AssignPropertiesTo(dst *v20231001s.ManagedClusters_TrustedAccessRoleBinding_Spec) error
+}
+
+type augmentConversionForManagedClusters_TrustedAccessRoleBinding_STATUS interface {
+ AssignPropertiesFrom(src *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error
+ AssignPropertiesTo(dst *v20231001s.ManagedClusters_TrustedAccessRoleBinding_STATUS) error
+}
+
+func init() {
+ SchemeBuilder.Register(&TrustedAccessRoleBinding{}, &TrustedAccessRoleBindingList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/zz_generated.deepcopy.go
new file mode 100644
index 0000000000..5491d0d962
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage/zz_generated.deepcopy.go
@@ -0,0 +1,9704 @@
+//go:build !ignore_autogenerated
+
+/*
+Copyright (c) Microsoft Corporation.
+Licensed under the MIT license.
+*/
+
+// Code generated by controller-gen. DO NOT EDIT.
+
+package storage
+
+import (
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ runtime "k8s.io/apimachinery/pkg/runtime"
+)
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworking) DeepCopyInto(out *AdvancedNetworking) {
+ *out = *in
+ if in.Observability != nil {
+ in, out := &in.Observability, &out.Observability
+ *out = new(AdvancedNetworkingObservability)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworking.
+func (in *AdvancedNetworking) DeepCopy() *AdvancedNetworking {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworking)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworkingObservability) DeepCopyInto(out *AdvancedNetworkingObservability) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworkingObservability.
+func (in *AdvancedNetworkingObservability) DeepCopy() *AdvancedNetworkingObservability {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworkingObservability)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworkingObservability_STATUS) DeepCopyInto(out *AdvancedNetworkingObservability_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworkingObservability_STATUS.
+func (in *AdvancedNetworkingObservability_STATUS) DeepCopy() *AdvancedNetworkingObservability_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworkingObservability_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworking_STATUS) DeepCopyInto(out *AdvancedNetworking_STATUS) {
+ *out = *in
+ if in.Observability != nil {
+ in, out := &in.Observability, &out.Observability
+ *out = new(AdvancedNetworkingObservability_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworking_STATUS.
+func (in *AdvancedNetworking_STATUS) DeepCopy() *AdvancedNetworking_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworking_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolArtifactStreamingProfile) DeepCopyInto(out *AgentPoolArtifactStreamingProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolArtifactStreamingProfile.
+func (in *AgentPoolArtifactStreamingProfile) DeepCopy() *AgentPoolArtifactStreamingProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolArtifactStreamingProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolArtifactStreamingProfile_STATUS) DeepCopyInto(out *AgentPoolArtifactStreamingProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolArtifactStreamingProfile_STATUS.
+func (in *AgentPoolArtifactStreamingProfile_STATUS) DeepCopy() *AgentPoolArtifactStreamingProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolArtifactStreamingProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGPUProfile) DeepCopyInto(out *AgentPoolGPUProfile) {
+ *out = *in
+ if in.InstallGPUDriver != nil {
+ in, out := &in.InstallGPUDriver, &out.InstallGPUDriver
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGPUProfile.
+func (in *AgentPoolGPUProfile) DeepCopy() *AgentPoolGPUProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGPUProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGPUProfile_STATUS) DeepCopyInto(out *AgentPoolGPUProfile_STATUS) {
+ *out = *in
+ if in.InstallGPUDriver != nil {
+ in, out := &in.InstallGPUDriver, &out.InstallGPUDriver
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGPUProfile_STATUS.
+func (in *AgentPoolGPUProfile_STATUS) DeepCopy() *AgentPoolGPUProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGPUProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGatewayProfile) DeepCopyInto(out *AgentPoolGatewayProfile) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicIPPrefixSize != nil {
+ in, out := &in.PublicIPPrefixSize, &out.PublicIPPrefixSize
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGatewayProfile.
+func (in *AgentPoolGatewayProfile) DeepCopy() *AgentPoolGatewayProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGatewayProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGatewayProfile_STATUS) DeepCopyInto(out *AgentPoolGatewayProfile_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicIPPrefixSize != nil {
+ in, out := &in.PublicIPPrefixSize, &out.PublicIPPrefixSize
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGatewayProfile_STATUS.
+func (in *AgentPoolGatewayProfile_STATUS) DeepCopy() *AgentPoolGatewayProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGatewayProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolNetworkProfile) DeepCopyInto(out *AgentPoolNetworkProfile) {
+ *out = *in
+ if in.AllowedHostPorts != nil {
+ in, out := &in.AllowedHostPorts, &out.AllowedHostPorts
+ *out = make([]PortRange, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ApplicationSecurityGroupsReferences != nil {
+ in, out := &in.ApplicationSecurityGroupsReferences, &out.ApplicationSecurityGroupsReferences
+ *out = make([]genruntime.ResourceReference, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodePublicIPTags != nil {
+ in, out := &in.NodePublicIPTags, &out.NodePublicIPTags
+ *out = make([]IPTag, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolNetworkProfile.
+func (in *AgentPoolNetworkProfile) DeepCopy() *AgentPoolNetworkProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolNetworkProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolNetworkProfile_STATUS) DeepCopyInto(out *AgentPoolNetworkProfile_STATUS) {
+ *out = *in
+ if in.AllowedHostPorts != nil {
+ in, out := &in.AllowedHostPorts, &out.AllowedHostPorts
+ *out = make([]PortRange_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ApplicationSecurityGroups != nil {
+ in, out := &in.ApplicationSecurityGroups, &out.ApplicationSecurityGroups
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodePublicIPTags != nil {
+ in, out := &in.NodePublicIPTags, &out.NodePublicIPTags
+ *out = make([]IPTag_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolNetworkProfile_STATUS.
+func (in *AgentPoolNetworkProfile_STATUS) DeepCopy() *AgentPoolNetworkProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolNetworkProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolSecurityProfile) DeepCopyInto(out *AgentPoolSecurityProfile) {
+ *out = *in
+ if in.EnableSecureBoot != nil {
+ in, out := &in.EnableSecureBoot, &out.EnableSecureBoot
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVTPM != nil {
+ in, out := &in.EnableVTPM, &out.EnableVTPM
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SshAccess != nil {
+ in, out := &in.SshAccess, &out.SshAccess
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSecurityProfile.
+func (in *AgentPoolSecurityProfile) DeepCopy() *AgentPoolSecurityProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolSecurityProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolSecurityProfile_STATUS) DeepCopyInto(out *AgentPoolSecurityProfile_STATUS) {
+ *out = *in
+ if in.EnableSecureBoot != nil {
+ in, out := &in.EnableSecureBoot, &out.EnableSecureBoot
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVTPM != nil {
+ in, out := &in.EnableVTPM, &out.EnableVTPM
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SshAccess != nil {
+ in, out := &in.SshAccess, &out.SshAccess
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSecurityProfile_STATUS.
+func (in *AgentPoolSecurityProfile_STATUS) DeepCopy() *AgentPoolSecurityProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolSecurityProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolUpgradeSettings) DeepCopyInto(out *AgentPoolUpgradeSettings) {
+ *out = *in
+ if in.DrainTimeoutInMinutes != nil {
+ in, out := &in.DrainTimeoutInMinutes, &out.DrainTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxSurge != nil {
+ in, out := &in.MaxSurge, &out.MaxSurge
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeSoakDurationInMinutes != nil {
+ in, out := &in.NodeSoakDurationInMinutes, &out.NodeSoakDurationInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UndrainableNodeBehavior != nil {
+ in, out := &in.UndrainableNodeBehavior, &out.UndrainableNodeBehavior
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolUpgradeSettings.
+func (in *AgentPoolUpgradeSettings) DeepCopy() *AgentPoolUpgradeSettings {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolUpgradeSettings)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolUpgradeSettings_STATUS) DeepCopyInto(out *AgentPoolUpgradeSettings_STATUS) {
+ *out = *in
+ if in.DrainTimeoutInMinutes != nil {
+ in, out := &in.DrainTimeoutInMinutes, &out.DrainTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxSurge != nil {
+ in, out := &in.MaxSurge, &out.MaxSurge
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeSoakDurationInMinutes != nil {
+ in, out := &in.NodeSoakDurationInMinutes, &out.NodeSoakDurationInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UndrainableNodeBehavior != nil {
+ in, out := &in.UndrainableNodeBehavior, &out.UndrainableNodeBehavior
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolUpgradeSettings_STATUS.
+func (in *AgentPoolUpgradeSettings_STATUS) DeepCopy() *AgentPoolUpgradeSettings_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolUpgradeSettings_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolWindowsProfile) DeepCopyInto(out *AgentPoolWindowsProfile) {
+ *out = *in
+ if in.DisableOutboundNat != nil {
+ in, out := &in.DisableOutboundNat, &out.DisableOutboundNat
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolWindowsProfile.
+func (in *AgentPoolWindowsProfile) DeepCopy() *AgentPoolWindowsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolWindowsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolWindowsProfile_STATUS) DeepCopyInto(out *AgentPoolWindowsProfile_STATUS) {
+ *out = *in
+ if in.DisableOutboundNat != nil {
+ in, out := &in.DisableOutboundNat, &out.DisableOutboundNat
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolWindowsProfile_STATUS.
+func (in *AgentPoolWindowsProfile_STATUS) DeepCopy() *AgentPoolWindowsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolWindowsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AutoScaleProfile) DeepCopyInto(out *AutoScaleProfile) {
+ *out = *in
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleProfile.
+func (in *AutoScaleProfile) DeepCopy() *AutoScaleProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AutoScaleProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AutoScaleProfile_STATUS) DeepCopyInto(out *AutoScaleProfile_STATUS) {
+ *out = *in
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleProfile_STATUS.
+func (in *AutoScaleProfile_STATUS) DeepCopy() *AutoScaleProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AutoScaleProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AzureKeyVaultKms) DeepCopyInto(out *AzureKeyVaultKms) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KeyId != nil {
+ in, out := &in.KeyId, &out.KeyId
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultNetworkAccess != nil {
+ in, out := &in.KeyVaultNetworkAccess, &out.KeyVaultNetworkAccess
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultResourceReference != nil {
+ in, out := &in.KeyVaultResourceReference, &out.KeyVaultResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultKms.
+func (in *AzureKeyVaultKms) DeepCopy() *AzureKeyVaultKms {
+ if in == nil {
+ return nil
+ }
+ out := new(AzureKeyVaultKms)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AzureKeyVaultKms_STATUS) DeepCopyInto(out *AzureKeyVaultKms_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KeyId != nil {
+ in, out := &in.KeyId, &out.KeyId
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultNetworkAccess != nil {
+ in, out := &in.KeyVaultNetworkAccess, &out.KeyVaultNetworkAccess
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultResourceId != nil {
+ in, out := &in.KeyVaultResourceId, &out.KeyVaultResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultKms_STATUS.
+func (in *AzureKeyVaultKms_STATUS) DeepCopy() *AzureKeyVaultKms_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AzureKeyVaultKms_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ClusterUpgradeSettings) DeepCopyInto(out *ClusterUpgradeSettings) {
+ *out = *in
+ if in.OverrideSettings != nil {
+ in, out := &in.OverrideSettings, &out.OverrideSettings
+ *out = new(UpgradeOverrideSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpgradeSettings.
+func (in *ClusterUpgradeSettings) DeepCopy() *ClusterUpgradeSettings {
+ if in == nil {
+ return nil
+ }
+ out := new(ClusterUpgradeSettings)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ClusterUpgradeSettings_STATUS) DeepCopyInto(out *ClusterUpgradeSettings_STATUS) {
+ *out = *in
+ if in.OverrideSettings != nil {
+ in, out := &in.OverrideSettings, &out.OverrideSettings
+ *out = new(UpgradeOverrideSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpgradeSettings_STATUS.
+func (in *ClusterUpgradeSettings_STATUS) DeepCopy() *ClusterUpgradeSettings_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ClusterUpgradeSettings_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceLinuxProfile) DeepCopyInto(out *ContainerServiceLinuxProfile) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Ssh != nil {
+ in, out := &in.Ssh, &out.Ssh
+ *out = new(ContainerServiceSshConfiguration)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceLinuxProfile.
+func (in *ContainerServiceLinuxProfile) DeepCopy() *ContainerServiceLinuxProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceLinuxProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceLinuxProfile_STATUS) DeepCopyInto(out *ContainerServiceLinuxProfile_STATUS) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Ssh != nil {
+ in, out := &in.Ssh, &out.Ssh
+ *out = new(ContainerServiceSshConfiguration_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceLinuxProfile_STATUS.
+func (in *ContainerServiceLinuxProfile_STATUS) DeepCopy() *ContainerServiceLinuxProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceLinuxProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile) DeepCopyInto(out *ContainerServiceNetworkProfile) {
+ *out = *in
+ if in.AdvancedNetworking != nil {
+ in, out := &in.AdvancedNetworking, &out.AdvancedNetworking
+ *out = new(AdvancedNetworking)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DnsServiceIP != nil {
+ in, out := &in.DnsServiceIP, &out.DnsServiceIP
+ *out = new(string)
+ **out = **in
+ }
+ if in.IpFamilies != nil {
+ in, out := &in.IpFamilies, &out.IpFamilies
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.KubeProxyConfig != nil {
+ in, out := &in.KubeProxyConfig, &out.KubeProxyConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerProfile != nil {
+ in, out := &in.LoadBalancerProfile, &out.LoadBalancerProfile
+ *out = new(ManagedClusterLoadBalancerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerSku != nil {
+ in, out := &in.LoadBalancerSku, &out.LoadBalancerSku
+ *out = new(string)
+ **out = **in
+ }
+ if in.NatGatewayProfile != nil {
+ in, out := &in.NatGatewayProfile, &out.NatGatewayProfile
+ *out = new(ManagedClusterNATGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkDataplane != nil {
+ in, out := &in.NetworkDataplane, &out.NetworkDataplane
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkMode != nil {
+ in, out := &in.NetworkMode, &out.NetworkMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkPlugin != nil {
+ in, out := &in.NetworkPlugin, &out.NetworkPlugin
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkPluginMode != nil {
+ in, out := &in.NetworkPluginMode, &out.NetworkPluginMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkPolicy != nil {
+ in, out := &in.NetworkPolicy, &out.NetworkPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.OutboundType != nil {
+ in, out := &in.OutboundType, &out.OutboundType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidr != nil {
+ in, out := &in.PodCidr, &out.PodCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidrs != nil {
+ in, out := &in.PodCidrs, &out.PodCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PodLinkLocalAccess != nil {
+ in, out := &in.PodLinkLocalAccess, &out.PodLinkLocalAccess
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ServiceCidr != nil {
+ in, out := &in.ServiceCidr, &out.ServiceCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServiceCidrs != nil {
+ in, out := &in.ServiceCidrs, &out.ServiceCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.StaticEgressGatewayProfile != nil {
+ in, out := &in.StaticEgressGatewayProfile, &out.StaticEgressGatewayProfile
+ *out = new(ManagedClusterStaticEgressGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile.
+func (in *ContainerServiceNetworkProfile) DeepCopy() *ContainerServiceNetworkProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IpvsConfig != nil {
+ in, out := &in.IpvsConfig, &out.IpvsConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Scheduler != nil {
+ in, out := &in.Scheduler, &out.Scheduler
+ *out = new(string)
+ **out = **in
+ }
+ if in.TcpFinTimeoutSeconds != nil {
+ in, out := &in.TcpFinTimeoutSeconds, &out.TcpFinTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.TcpTimeoutSeconds != nil {
+ in, out := &in.TcpTimeoutSeconds, &out.TcpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.UdpTimeoutSeconds != nil {
+ in, out := &in.UdpTimeoutSeconds, &out.UdpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Scheduler != nil {
+ in, out := &in.Scheduler, &out.Scheduler
+ *out = new(string)
+ **out = **in
+ }
+ if in.TcpFinTimeoutSeconds != nil {
+ in, out := &in.TcpFinTimeoutSeconds, &out.TcpFinTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.TcpTimeoutSeconds != nil {
+ in, out := &in.TcpTimeoutSeconds, &out.TcpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.UdpTimeoutSeconds != nil {
+ in, out := &in.UdpTimeoutSeconds, &out.UdpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IpvsConfig != nil {
+ in, out := &in.IpvsConfig, &out.IpvsConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_STATUS.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_STATUS) DeepCopyInto(out *ContainerServiceNetworkProfile_STATUS) {
+ *out = *in
+ if in.AdvancedNetworking != nil {
+ in, out := &in.AdvancedNetworking, &out.AdvancedNetworking
+ *out = new(AdvancedNetworking_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DnsServiceIP != nil {
+ in, out := &in.DnsServiceIP, &out.DnsServiceIP
+ *out = new(string)
+ **out = **in
+ }
+ if in.IpFamilies != nil {
+ in, out := &in.IpFamilies, &out.IpFamilies
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.KubeProxyConfig != nil {
+ in, out := &in.KubeProxyConfig, &out.KubeProxyConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerProfile != nil {
+ in, out := &in.LoadBalancerProfile, &out.LoadBalancerProfile
+ *out = new(ManagedClusterLoadBalancerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerSku != nil {
+ in, out := &in.LoadBalancerSku, &out.LoadBalancerSku
+ *out = new(string)
+ **out = **in
+ }
+ if in.NatGatewayProfile != nil {
+ in, out := &in.NatGatewayProfile, &out.NatGatewayProfile
+ *out = new(ManagedClusterNATGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkDataplane != nil {
+ in, out := &in.NetworkDataplane, &out.NetworkDataplane
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkMode != nil {
+ in, out := &in.NetworkMode, &out.NetworkMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkPlugin != nil {
+ in, out := &in.NetworkPlugin, &out.NetworkPlugin
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkPluginMode != nil {
+ in, out := &in.NetworkPluginMode, &out.NetworkPluginMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkPolicy != nil {
+ in, out := &in.NetworkPolicy, &out.NetworkPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.OutboundType != nil {
+ in, out := &in.OutboundType, &out.OutboundType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidr != nil {
+ in, out := &in.PodCidr, &out.PodCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidrs != nil {
+ in, out := &in.PodCidrs, &out.PodCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PodLinkLocalAccess != nil {
+ in, out := &in.PodLinkLocalAccess, &out.PodLinkLocalAccess
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ServiceCidr != nil {
+ in, out := &in.ServiceCidr, &out.ServiceCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServiceCidrs != nil {
+ in, out := &in.ServiceCidrs, &out.ServiceCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.StaticEgressGatewayProfile != nil {
+ in, out := &in.StaticEgressGatewayProfile, &out.StaticEgressGatewayProfile
+ *out = new(ManagedClusterStaticEgressGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_STATUS.
+func (in *ContainerServiceNetworkProfile_STATUS) DeepCopy() *ContainerServiceNetworkProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshConfiguration) DeepCopyInto(out *ContainerServiceSshConfiguration) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicKeys != nil {
+ in, out := &in.PublicKeys, &out.PublicKeys
+ *out = make([]ContainerServiceSshPublicKey, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshConfiguration.
+func (in *ContainerServiceSshConfiguration) DeepCopy() *ContainerServiceSshConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshConfiguration_STATUS) DeepCopyInto(out *ContainerServiceSshConfiguration_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicKeys != nil {
+ in, out := &in.PublicKeys, &out.PublicKeys
+ *out = make([]ContainerServiceSshPublicKey_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshConfiguration_STATUS.
+func (in *ContainerServiceSshConfiguration_STATUS) DeepCopy() *ContainerServiceSshConfiguration_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshConfiguration_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshPublicKey) DeepCopyInto(out *ContainerServiceSshPublicKey) {
+ *out = *in
+ if in.KeyData != nil {
+ in, out := &in.KeyData, &out.KeyData
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshPublicKey.
+func (in *ContainerServiceSshPublicKey) DeepCopy() *ContainerServiceSshPublicKey {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshPublicKey)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshPublicKey_STATUS) DeepCopyInto(out *ContainerServiceSshPublicKey_STATUS) {
+ *out = *in
+ if in.KeyData != nil {
+ in, out := &in.KeyData, &out.KeyData
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshPublicKey_STATUS.
+func (in *ContainerServiceSshPublicKey_STATUS) DeepCopy() *ContainerServiceSshPublicKey_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshPublicKey_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *CreationData) DeepCopyInto(out *CreationData) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SourceResourceReference != nil {
+ in, out := &in.SourceResourceReference, &out.SourceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationData.
+func (in *CreationData) DeepCopy() *CreationData {
+ if in == nil {
+ return nil
+ }
+ out := new(CreationData)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *CreationData_STATUS) DeepCopyInto(out *CreationData_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationData_STATUS.
+func (in *CreationData_STATUS) DeepCopy() *CreationData_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(CreationData_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DelegatedResource) DeepCopyInto(out *DelegatedResource) {
+ *out = *in
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ReferralResource != nil {
+ in, out := &in.ReferralResource, &out.ReferralResource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceReference != nil {
+ in, out := &in.ResourceReference, &out.ResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedResource.
+func (in *DelegatedResource) DeepCopy() *DelegatedResource {
+ if in == nil {
+ return nil
+ }
+ out := new(DelegatedResource)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DelegatedResource_STATUS) DeepCopyInto(out *DelegatedResource_STATUS) {
+ *out = *in
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ReferralResource != nil {
+ in, out := &in.ReferralResource, &out.ReferralResource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedResource_STATUS.
+func (in *DelegatedResource_STATUS) DeepCopy() *DelegatedResource_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(DelegatedResource_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtendedLocation) DeepCopyInto(out *ExtendedLocation) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation.
+func (in *ExtendedLocation) DeepCopy() *ExtendedLocation {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtendedLocation)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtendedLocation_STATUS) DeepCopyInto(out *ExtendedLocation_STATUS) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_STATUS.
+func (in *ExtendedLocation_STATUS) DeepCopy() *ExtendedLocation_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtendedLocation_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IPTag) DeepCopyInto(out *IPTag) {
+ *out = *in
+ if in.IpTagType != nil {
+ in, out := &in.IpTagType, &out.IpTagType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Tag != nil {
+ in, out := &in.Tag, &out.Tag
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTag.
+func (in *IPTag) DeepCopy() *IPTag {
+ if in == nil {
+ return nil
+ }
+ out := new(IPTag)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IPTag_STATUS) DeepCopyInto(out *IPTag_STATUS) {
+ *out = *in
+ if in.IpTagType != nil {
+ in, out := &in.IpTagType, &out.IpTagType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Tag != nil {
+ in, out := &in.Tag, &out.Tag
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTag_STATUS.
+func (in *IPTag_STATUS) DeepCopy() *IPTag_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IPTag_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioCertificateAuthority) DeepCopyInto(out *IstioCertificateAuthority) {
+ *out = *in
+ if in.Plugin != nil {
+ in, out := &in.Plugin, &out.Plugin
+ *out = new(IstioPluginCertificateAuthority)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioCertificateAuthority.
+func (in *IstioCertificateAuthority) DeepCopy() *IstioCertificateAuthority {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioCertificateAuthority)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioCertificateAuthority_STATUS) DeepCopyInto(out *IstioCertificateAuthority_STATUS) {
+ *out = *in
+ if in.Plugin != nil {
+ in, out := &in.Plugin, &out.Plugin
+ *out = new(IstioPluginCertificateAuthority_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioCertificateAuthority_STATUS.
+func (in *IstioCertificateAuthority_STATUS) DeepCopy() *IstioCertificateAuthority_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioCertificateAuthority_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioComponents) DeepCopyInto(out *IstioComponents) {
+ *out = *in
+ if in.EgressGateways != nil {
+ in, out := &in.EgressGateways, &out.EgressGateways
+ *out = make([]IstioEgressGateway, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IngressGateways != nil {
+ in, out := &in.IngressGateways, &out.IngressGateways
+ *out = make([]IstioIngressGateway, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioComponents.
+func (in *IstioComponents) DeepCopy() *IstioComponents {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioComponents)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioComponents_STATUS) DeepCopyInto(out *IstioComponents_STATUS) {
+ *out = *in
+ if in.EgressGateways != nil {
+ in, out := &in.EgressGateways, &out.EgressGateways
+ *out = make([]IstioEgressGateway_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IngressGateways != nil {
+ in, out := &in.IngressGateways, &out.IngressGateways
+ *out = make([]IstioIngressGateway_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioComponents_STATUS.
+func (in *IstioComponents_STATUS) DeepCopy() *IstioComponents_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioComponents_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioEgressGateway) DeepCopyInto(out *IstioEgressGateway) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioEgressGateway.
+func (in *IstioEgressGateway) DeepCopy() *IstioEgressGateway {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioEgressGateway)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioEgressGateway_STATUS) DeepCopyInto(out *IstioEgressGateway_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioEgressGateway_STATUS.
+func (in *IstioEgressGateway_STATUS) DeepCopy() *IstioEgressGateway_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioEgressGateway_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioIngressGateway) DeepCopyInto(out *IstioIngressGateway) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioIngressGateway.
+func (in *IstioIngressGateway) DeepCopy() *IstioIngressGateway {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioIngressGateway)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioIngressGateway_STATUS) DeepCopyInto(out *IstioIngressGateway_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioIngressGateway_STATUS.
+func (in *IstioIngressGateway_STATUS) DeepCopy() *IstioIngressGateway_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioIngressGateway_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioPluginCertificateAuthority) DeepCopyInto(out *IstioPluginCertificateAuthority) {
+ *out = *in
+ if in.CertChainObjectName != nil {
+ in, out := &in.CertChainObjectName, &out.CertChainObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.CertObjectName != nil {
+ in, out := &in.CertObjectName, &out.CertObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyObjectName != nil {
+ in, out := &in.KeyObjectName, &out.KeyObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultReference != nil {
+ in, out := &in.KeyVaultReference, &out.KeyVaultReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RootCertObjectName != nil {
+ in, out := &in.RootCertObjectName, &out.RootCertObjectName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioPluginCertificateAuthority.
+func (in *IstioPluginCertificateAuthority) DeepCopy() *IstioPluginCertificateAuthority {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioPluginCertificateAuthority)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioPluginCertificateAuthority_STATUS) DeepCopyInto(out *IstioPluginCertificateAuthority_STATUS) {
+ *out = *in
+ if in.CertChainObjectName != nil {
+ in, out := &in.CertChainObjectName, &out.CertChainObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.CertObjectName != nil {
+ in, out := &in.CertObjectName, &out.CertObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyObjectName != nil {
+ in, out := &in.KeyObjectName, &out.KeyObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultId != nil {
+ in, out := &in.KeyVaultId, &out.KeyVaultId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RootCertObjectName != nil {
+ in, out := &in.RootCertObjectName, &out.RootCertObjectName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioPluginCertificateAuthority_STATUS.
+func (in *IstioPluginCertificateAuthority_STATUS) DeepCopy() *IstioPluginCertificateAuthority_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioPluginCertificateAuthority_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioServiceMesh) DeepCopyInto(out *IstioServiceMesh) {
+ *out = *in
+ if in.CertificateAuthority != nil {
+ in, out := &in.CertificateAuthority, &out.CertificateAuthority
+ *out = new(IstioCertificateAuthority)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Components != nil {
+ in, out := &in.Components, &out.Components
+ *out = new(IstioComponents)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Revisions != nil {
+ in, out := &in.Revisions, &out.Revisions
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioServiceMesh.
+func (in *IstioServiceMesh) DeepCopy() *IstioServiceMesh {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioServiceMesh)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioServiceMesh_STATUS) DeepCopyInto(out *IstioServiceMesh_STATUS) {
+ *out = *in
+ if in.CertificateAuthority != nil {
+ in, out := &in.CertificateAuthority, &out.CertificateAuthority
+ *out = new(IstioCertificateAuthority_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Components != nil {
+ in, out := &in.Components, &out.Components
+ *out = new(IstioComponents_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Revisions != nil {
+ in, out := &in.Revisions, &out.Revisions
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioServiceMesh_STATUS.
+func (in *IstioServiceMesh_STATUS) DeepCopy() *IstioServiceMesh_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioServiceMesh_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KubeletConfig) DeepCopyInto(out *KubeletConfig) {
+ *out = *in
+ if in.AllowedUnsafeSysctls != nil {
+ in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ContainerLogMaxFiles != nil {
+ in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
+ *out = new(int)
+ **out = **in
+ }
+ if in.ContainerLogMaxSizeMB != nil {
+ in, out := &in.ContainerLogMaxSizeMB, &out.ContainerLogMaxSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.CpuCfsQuota != nil {
+ in, out := &in.CpuCfsQuota, &out.CpuCfsQuota
+ *out = new(bool)
+ **out = **in
+ }
+ if in.CpuCfsQuotaPeriod != nil {
+ in, out := &in.CpuCfsQuotaPeriod, &out.CpuCfsQuotaPeriod
+ *out = new(string)
+ **out = **in
+ }
+ if in.CpuManagerPolicy != nil {
+ in, out := &in.CpuManagerPolicy, &out.CpuManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.FailSwapOn != nil {
+ in, out := &in.FailSwapOn, &out.FailSwapOn
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ImageGcHighThreshold != nil {
+ in, out := &in.ImageGcHighThreshold, &out.ImageGcHighThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.ImageGcLowThreshold != nil {
+ in, out := &in.ImageGcLowThreshold, &out.ImageGcLowThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.PodMaxPids != nil {
+ in, out := &in.PodMaxPids, &out.PodMaxPids
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.TopologyManagerPolicy != nil {
+ in, out := &in.TopologyManagerPolicy, &out.TopologyManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfig.
+func (in *KubeletConfig) DeepCopy() *KubeletConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(KubeletConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KubeletConfig_STATUS) DeepCopyInto(out *KubeletConfig_STATUS) {
+ *out = *in
+ if in.AllowedUnsafeSysctls != nil {
+ in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ContainerLogMaxFiles != nil {
+ in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
+ *out = new(int)
+ **out = **in
+ }
+ if in.ContainerLogMaxSizeMB != nil {
+ in, out := &in.ContainerLogMaxSizeMB, &out.ContainerLogMaxSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.CpuCfsQuota != nil {
+ in, out := &in.CpuCfsQuota, &out.CpuCfsQuota
+ *out = new(bool)
+ **out = **in
+ }
+ if in.CpuCfsQuotaPeriod != nil {
+ in, out := &in.CpuCfsQuotaPeriod, &out.CpuCfsQuotaPeriod
+ *out = new(string)
+ **out = **in
+ }
+ if in.CpuManagerPolicy != nil {
+ in, out := &in.CpuManagerPolicy, &out.CpuManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.FailSwapOn != nil {
+ in, out := &in.FailSwapOn, &out.FailSwapOn
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ImageGcHighThreshold != nil {
+ in, out := &in.ImageGcHighThreshold, &out.ImageGcHighThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.ImageGcLowThreshold != nil {
+ in, out := &in.ImageGcLowThreshold, &out.ImageGcLowThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.PodMaxPids != nil {
+ in, out := &in.PodMaxPids, &out.PodMaxPids
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.TopologyManagerPolicy != nil {
+ in, out := &in.TopologyManagerPolicy, &out.TopologyManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfig_STATUS.
+func (in *KubeletConfig_STATUS) DeepCopy() *KubeletConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(KubeletConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *LinuxOSConfig) DeepCopyInto(out *LinuxOSConfig) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SwapFileSizeMB != nil {
+ in, out := &in.SwapFileSizeMB, &out.SwapFileSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sysctls != nil {
+ in, out := &in.Sysctls, &out.Sysctls
+ *out = new(SysctlConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.TransparentHugePageDefrag != nil {
+ in, out := &in.TransparentHugePageDefrag, &out.TransparentHugePageDefrag
+ *out = new(string)
+ **out = **in
+ }
+ if in.TransparentHugePageEnabled != nil {
+ in, out := &in.TransparentHugePageEnabled, &out.TransparentHugePageEnabled
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxOSConfig.
+func (in *LinuxOSConfig) DeepCopy() *LinuxOSConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(LinuxOSConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *LinuxOSConfig_STATUS) DeepCopyInto(out *LinuxOSConfig_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SwapFileSizeMB != nil {
+ in, out := &in.SwapFileSizeMB, &out.SwapFileSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sysctls != nil {
+ in, out := &in.Sysctls, &out.Sysctls
+ *out = new(SysctlConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.TransparentHugePageDefrag != nil {
+ in, out := &in.TransparentHugePageDefrag, &out.TransparentHugePageDefrag
+ *out = new(string)
+ **out = **in
+ }
+ if in.TransparentHugePageEnabled != nil {
+ in, out := &in.TransparentHugePageEnabled, &out.TransparentHugePageEnabled
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxOSConfig_STATUS.
+func (in *LinuxOSConfig_STATUS) DeepCopy() *LinuxOSConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(LinuxOSConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster) DeepCopyInto(out *ManagedCluster) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster.
+func (in *ManagedCluster) DeepCopy() *ManagedCluster {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedCluster) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAADProfile) DeepCopyInto(out *ManagedClusterAADProfile) {
+ *out = *in
+ if in.AdminGroupObjectIDs != nil {
+ in, out := &in.AdminGroupObjectIDs, &out.AdminGroupObjectIDs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ClientAppID != nil {
+ in, out := &in.ClientAppID, &out.ClientAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAzureRBAC != nil {
+ in, out := &in.EnableAzureRBAC, &out.EnableAzureRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Managed != nil {
+ in, out := &in.Managed, &out.Managed
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ServerAppID != nil {
+ in, out := &in.ServerAppID, &out.ServerAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServerAppSecret != nil {
+ in, out := &in.ServerAppSecret, &out.ServerAppSecret
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantID != nil {
+ in, out := &in.TenantID, &out.TenantID
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAADProfile.
+func (in *ManagedClusterAADProfile) DeepCopy() *ManagedClusterAADProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAADProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAADProfile_STATUS) DeepCopyInto(out *ManagedClusterAADProfile_STATUS) {
+ *out = *in
+ if in.AdminGroupObjectIDs != nil {
+ in, out := &in.AdminGroupObjectIDs, &out.AdminGroupObjectIDs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ClientAppID != nil {
+ in, out := &in.ClientAppID, &out.ClientAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAzureRBAC != nil {
+ in, out := &in.EnableAzureRBAC, &out.EnableAzureRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Managed != nil {
+ in, out := &in.Managed, &out.Managed
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ServerAppID != nil {
+ in, out := &in.ServerAppID, &out.ServerAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServerAppSecret != nil {
+ in, out := &in.ServerAppSecret, &out.ServerAppSecret
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantID != nil {
+ in, out := &in.TenantID, &out.TenantID
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAADProfile_STATUS.
+func (in *ManagedClusterAADProfile_STATUS) DeepCopy() *ManagedClusterAADProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAADProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAIToolchainOperatorProfile) DeepCopyInto(out *ManagedClusterAIToolchainOperatorProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAIToolchainOperatorProfile.
+func (in *ManagedClusterAIToolchainOperatorProfile) DeepCopy() *ManagedClusterAIToolchainOperatorProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAIToolchainOperatorProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAIToolchainOperatorProfile_STATUS) DeepCopyInto(out *ManagedClusterAIToolchainOperatorProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAIToolchainOperatorProfile_STATUS.
+func (in *ManagedClusterAIToolchainOperatorProfile_STATUS) DeepCopy() *ManagedClusterAIToolchainOperatorProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAIToolchainOperatorProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAPIServerAccessProfile) DeepCopyInto(out *ManagedClusterAPIServerAccessProfile) {
+ *out = *in
+ if in.AuthorizedIPRanges != nil {
+ in, out := &in.AuthorizedIPRanges, &out.AuthorizedIPRanges
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.DisableRunCommand != nil {
+ in, out := &in.DisableRunCommand, &out.DisableRunCommand
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateCluster != nil {
+ in, out := &in.EnablePrivateCluster, &out.EnablePrivateCluster
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateClusterPublicFQDN != nil {
+ in, out := &in.EnablePrivateClusterPublicFQDN, &out.EnablePrivateClusterPublicFQDN
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVnetIntegration != nil {
+ in, out := &in.EnableVnetIntegration, &out.EnableVnetIntegration
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PrivateDNSZone != nil {
+ in, out := &in.PrivateDNSZone, &out.PrivateDNSZone
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SubnetId != nil {
+ in, out := &in.SubnetId, &out.SubnetId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAPIServerAccessProfile.
+func (in *ManagedClusterAPIServerAccessProfile) DeepCopy() *ManagedClusterAPIServerAccessProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAPIServerAccessProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAPIServerAccessProfile_STATUS) DeepCopyInto(out *ManagedClusterAPIServerAccessProfile_STATUS) {
+ *out = *in
+ if in.AuthorizedIPRanges != nil {
+ in, out := &in.AuthorizedIPRanges, &out.AuthorizedIPRanges
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.DisableRunCommand != nil {
+ in, out := &in.DisableRunCommand, &out.DisableRunCommand
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateCluster != nil {
+ in, out := &in.EnablePrivateCluster, &out.EnablePrivateCluster
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateClusterPublicFQDN != nil {
+ in, out := &in.EnablePrivateClusterPublicFQDN, &out.EnablePrivateClusterPublicFQDN
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVnetIntegration != nil {
+ in, out := &in.EnableVnetIntegration, &out.EnableVnetIntegration
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PrivateDNSZone != nil {
+ in, out := &in.PrivateDNSZone, &out.PrivateDNSZone
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SubnetId != nil {
+ in, out := &in.SubnetId, &out.SubnetId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAPIServerAccessProfile_STATUS.
+func (in *ManagedClusterAPIServerAccessProfile_STATUS) DeepCopy() *ManagedClusterAPIServerAccessProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAPIServerAccessProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAddonProfile) DeepCopyInto(out *ManagedClusterAddonProfile) {
+ *out = *in
+ if in.Config != nil {
+ in, out := &in.Config, &out.Config
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAddonProfile.
+func (in *ManagedClusterAddonProfile) DeepCopy() *ManagedClusterAddonProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAddonProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAddonProfile_STATUS) DeepCopyInto(out *ManagedClusterAddonProfile_STATUS) {
+ *out = *in
+ if in.Config != nil {
+ in, out := &in.Config, &out.Config
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAddonProfile_STATUS.
+func (in *ManagedClusterAddonProfile_STATUS) DeepCopy() *ManagedClusterAddonProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAddonProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfile) DeepCopyInto(out *ManagedClusterAgentPoolProfile) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupReference != nil {
+ in, out := &in.CapacityReservationGroupReference, &out.CapacityReservationGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(string)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupReference != nil {
+ in, out := &in.HostGroupReference, &out.HostGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixReference != nil {
+ in, out := &in.NodePublicIPPrefixReference, &out.NodePublicIPPrefixReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodSubnetReference != nil {
+ in, out := &in.PodSubnetReference, &out.PodSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProximityPlacementGroupReference != nil {
+ in, out := &in.ProximityPlacementGroupReference, &out.ProximityPlacementGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetReference != nil {
+ in, out := &in.VnetSubnetReference, &out.VnetSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfile.
+func (in *ManagedClusterAgentPoolProfile) DeepCopy() *ManagedClusterAgentPoolProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfile_STATUS) DeepCopyInto(out *ManagedClusterAgentPoolProfile_STATUS) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentOrchestratorVersion != nil {
+ in, out := &in.CurrentOrchestratorVersion, &out.CurrentOrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(string)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeImageVersion != nil {
+ in, out := &in.NodeImageVersion, &out.NodeImageVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfile_STATUS.
+func (in *ManagedClusterAgentPoolProfile_STATUS) DeepCopy() *ManagedClusterAgentPoolProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAutoUpgradeProfile) DeepCopyInto(out *ManagedClusterAutoUpgradeProfile) {
+ *out = *in
+ if in.NodeOSUpgradeChannel != nil {
+ in, out := &in.NodeOSUpgradeChannel, &out.NodeOSUpgradeChannel
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UpgradeChannel != nil {
+ in, out := &in.UpgradeChannel, &out.UpgradeChannel
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAutoUpgradeProfile.
+func (in *ManagedClusterAutoUpgradeProfile) DeepCopy() *ManagedClusterAutoUpgradeProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAutoUpgradeProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAutoUpgradeProfile_STATUS) DeepCopyInto(out *ManagedClusterAutoUpgradeProfile_STATUS) {
+ *out = *in
+ if in.NodeOSUpgradeChannel != nil {
+ in, out := &in.NodeOSUpgradeChannel, &out.NodeOSUpgradeChannel
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UpgradeChannel != nil {
+ in, out := &in.UpgradeChannel, &out.UpgradeChannel
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAutoUpgradeProfile_STATUS.
+func (in *ManagedClusterAutoUpgradeProfile_STATUS) DeepCopy() *ManagedClusterAutoUpgradeProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAutoUpgradeProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfile) DeepCopyInto(out *ManagedClusterAzureMonitorProfile) {
+ *out = *in
+ if in.AppMonitoring != nil {
+ in, out := &in.AppMonitoring, &out.AppMonitoring
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoring)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ContainerInsights != nil {
+ in, out := &in.ContainerInsights, &out.ContainerInsights
+ *out = new(ManagedClusterAzureMonitorProfileContainerInsights)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Metrics != nil {
+ in, out := &in.Metrics, &out.Metrics
+ *out = new(ManagedClusterAzureMonitorProfileMetrics)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfile.
+func (in *ManagedClusterAzureMonitorProfile) DeepCopy() *ManagedClusterAzureMonitorProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoring) {
+ *out = *in
+ if in.AutoInstrumentation != nil {
+ in, out := &in.AutoInstrumentation, &out.AutoInstrumentation
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryLogs != nil {
+ in, out := &in.OpenTelemetryLogs, &out.OpenTelemetryLogs
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryMetrics != nil {
+ in, out := &in.OpenTelemetryMetrics, &out.OpenTelemetryMetrics
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoring.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoring {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoring)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) {
+ *out = *in
+ if in.AutoInstrumentation != nil {
+ in, out := &in.AutoInstrumentation, &out.AutoInstrumentation
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryLogs != nil {
+ in, out := &in.OpenTelemetryLogs, &out.OpenTelemetryLogs
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryMetrics != nil {
+ in, out := &in.OpenTelemetryMetrics, &out.OpenTelemetryMetrics
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoring_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights) DeepCopyInto(out *ManagedClusterAzureMonitorProfileContainerInsights) {
+ *out = *in
+ if in.DisableCustomMetrics != nil {
+ in, out := &in.DisableCustomMetrics, &out.DisableCustomMetrics
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DisablePrometheusMetricsScraping != nil {
+ in, out := &in.DisablePrometheusMetricsScraping, &out.DisablePrometheusMetricsScraping
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.LogAnalyticsWorkspaceResourceReference != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceReference, &out.LogAnalyticsWorkspaceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SyslogPort != nil {
+ in, out := &in.SyslogPort, &out.SyslogPort
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileContainerInsights.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights) DeepCopy() *ManagedClusterAzureMonitorProfileContainerInsights {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileContainerInsights)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) {
+ *out = *in
+ if in.DisableCustomMetrics != nil {
+ in, out := &in.DisableCustomMetrics, &out.DisableCustomMetrics
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DisablePrometheusMetricsScraping != nil {
+ in, out := &in.DisablePrometheusMetricsScraping, &out.DisablePrometheusMetricsScraping
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SyslogPort != nil {
+ in, out := &in.SyslogPort, &out.SyslogPort
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileContainerInsights_STATUS.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileContainerInsights_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileContainerInsights_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics) DeepCopyInto(out *ManagedClusterAzureMonitorProfileKubeStateMetrics) {
+ *out = *in
+ if in.MetricAnnotationsAllowList != nil {
+ in, out := &in.MetricAnnotationsAllowList, &out.MetricAnnotationsAllowList
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricLabelsAllowlist != nil {
+ in, out := &in.MetricLabelsAllowlist, &out.MetricLabelsAllowlist
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileKubeStateMetrics.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics) DeepCopy() *ManagedClusterAzureMonitorProfileKubeStateMetrics {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileKubeStateMetrics)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) {
+ *out = *in
+ if in.MetricAnnotationsAllowList != nil {
+ in, out := &in.MetricAnnotationsAllowList, &out.MetricAnnotationsAllowList
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricLabelsAllowlist != nil {
+ in, out := &in.MetricLabelsAllowlist, &out.MetricLabelsAllowlist
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileMetrics) DeepCopyInto(out *ManagedClusterAzureMonitorProfileMetrics) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KubeStateMetrics != nil {
+ in, out := &in.KubeStateMetrics, &out.KubeStateMetrics
+ *out = new(ManagedClusterAzureMonitorProfileKubeStateMetrics)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileMetrics.
+func (in *ManagedClusterAzureMonitorProfileMetrics) DeepCopy() *ManagedClusterAzureMonitorProfileMetrics {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileMetrics)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileMetrics_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileMetrics_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KubeStateMetrics != nil {
+ in, out := &in.KubeStateMetrics, &out.KubeStateMetrics
+ *out = new(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileMetrics_STATUS.
+func (in *ManagedClusterAzureMonitorProfileMetrics_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileMetrics_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileMetrics_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfile_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfile_STATUS) {
+ *out = *in
+ if in.AppMonitoring != nil {
+ in, out := &in.AppMonitoring, &out.AppMonitoring
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ContainerInsights != nil {
+ in, out := &in.ContainerInsights, &out.ContainerInsights
+ *out = new(ManagedClusterAzureMonitorProfileContainerInsights_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Metrics != nil {
+ in, out := &in.Metrics, &out.Metrics
+ *out = new(ManagedClusterAzureMonitorProfileMetrics_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfile_STATUS.
+func (in *ManagedClusterAzureMonitorProfile_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterBootstrapProfile) DeepCopyInto(out *ManagedClusterBootstrapProfile) {
+ *out = *in
+ if in.ArtifactSource != nil {
+ in, out := &in.ArtifactSource, &out.ArtifactSource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ContainerRegistryReference != nil {
+ in, out := &in.ContainerRegistryReference, &out.ContainerRegistryReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterBootstrapProfile.
+func (in *ManagedClusterBootstrapProfile) DeepCopy() *ManagedClusterBootstrapProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterBootstrapProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterBootstrapProfile_STATUS) DeepCopyInto(out *ManagedClusterBootstrapProfile_STATUS) {
+ *out = *in
+ if in.ArtifactSource != nil {
+ in, out := &in.ArtifactSource, &out.ArtifactSource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ContainerRegistryId != nil {
+ in, out := &in.ContainerRegistryId, &out.ContainerRegistryId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterBootstrapProfile_STATUS.
+func (in *ManagedClusterBootstrapProfile_STATUS) DeepCopy() *ManagedClusterBootstrapProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterBootstrapProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterCostAnalysis) DeepCopyInto(out *ManagedClusterCostAnalysis) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterCostAnalysis.
+func (in *ManagedClusterCostAnalysis) DeepCopy() *ManagedClusterCostAnalysis {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterCostAnalysis)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterCostAnalysis_STATUS) DeepCopyInto(out *ManagedClusterCostAnalysis_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterCostAnalysis_STATUS.
+func (in *ManagedClusterCostAnalysis_STATUS) DeepCopy() *ManagedClusterCostAnalysis_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterCostAnalysis_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterHTTPProxyConfig) DeepCopyInto(out *ManagedClusterHTTPProxyConfig) {
+ *out = *in
+ if in.HttpProxy != nil {
+ in, out := &in.HttpProxy, &out.HttpProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpsProxy != nil {
+ in, out := &in.HttpsProxy, &out.HttpsProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.NoProxy != nil {
+ in, out := &in.NoProxy, &out.NoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.TrustedCa != nil {
+ in, out := &in.TrustedCa, &out.TrustedCa
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterHTTPProxyConfig.
+func (in *ManagedClusterHTTPProxyConfig) DeepCopy() *ManagedClusterHTTPProxyConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterHTTPProxyConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterHTTPProxyConfig_STATUS) DeepCopyInto(out *ManagedClusterHTTPProxyConfig_STATUS) {
+ *out = *in
+ if in.EffectiveNoProxy != nil {
+ in, out := &in.EffectiveNoProxy, &out.EffectiveNoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.HttpProxy != nil {
+ in, out := &in.HttpProxy, &out.HttpProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpsProxy != nil {
+ in, out := &in.HttpsProxy, &out.HttpsProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.NoProxy != nil {
+ in, out := &in.NoProxy, &out.NoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.TrustedCa != nil {
+ in, out := &in.TrustedCa, &out.TrustedCa
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterHTTPProxyConfig_STATUS.
+func (in *ManagedClusterHTTPProxyConfig_STATUS) DeepCopy() *ManagedClusterHTTPProxyConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterHTTPProxyConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity) DeepCopyInto(out *ManagedClusterIdentity) {
+ *out = *in
+ if in.DelegatedResources != nil {
+ in, out := &in.DelegatedResources, &out.DelegatedResources
+ *out = make(map[string]DelegatedResource, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]UserAssignedIdentityDetails, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity.
+func (in *ManagedClusterIdentity) DeepCopy() *ManagedClusterIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_STATUS) DeepCopyInto(out *ManagedClusterIdentity_STATUS) {
+ *out = *in
+ if in.DelegatedResources != nil {
+ in, out := &in.DelegatedResources, &out.DelegatedResources
+ *out = make(map[string]DelegatedResource_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make(map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_STATUS.
+func (in *ManagedClusterIdentity_STATUS) DeepCopy() *ManagedClusterIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_UserAssignedIdentities_STATUS) DeepCopyInto(out *ManagedClusterIdentity_UserAssignedIdentities_STATUS) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_UserAssignedIdentities_STATUS.
+func (in *ManagedClusterIdentity_UserAssignedIdentities_STATUS) DeepCopy() *ManagedClusterIdentity_UserAssignedIdentities_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_UserAssignedIdentities_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfile) DeepCopyInto(out *ManagedClusterIngressProfile) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.WebAppRouting != nil {
+ in, out := &in.WebAppRouting, &out.WebAppRouting
+ *out = new(ManagedClusterIngressProfileWebAppRouting)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfile.
+func (in *ManagedClusterIngressProfile) DeepCopy() *ManagedClusterIngressProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfileWebAppRouting) DeepCopyInto(out *ManagedClusterIngressProfileWebAppRouting) {
+ *out = *in
+ if in.DnsZoneResourceReferences != nil {
+ in, out := &in.DnsZoneResourceReferences, &out.DnsZoneResourceReferences
+ *out = make([]genruntime.ResourceReference, len(*in))
+ copy(*out, *in)
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfileWebAppRouting.
+func (in *ManagedClusterIngressProfileWebAppRouting) DeepCopy() *ManagedClusterIngressProfileWebAppRouting {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfileWebAppRouting)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfileWebAppRouting_STATUS) DeepCopyInto(out *ManagedClusterIngressProfileWebAppRouting_STATUS) {
+ *out = *in
+ if in.DnsZoneResourceIds != nil {
+ in, out := &in.DnsZoneResourceIds, &out.DnsZoneResourceIds
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfileWebAppRouting_STATUS.
+func (in *ManagedClusterIngressProfileWebAppRouting_STATUS) DeepCopy() *ManagedClusterIngressProfileWebAppRouting_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfileWebAppRouting_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfile_STATUS) DeepCopyInto(out *ManagedClusterIngressProfile_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.WebAppRouting != nil {
+ in, out := &in.WebAppRouting, &out.WebAppRouting
+ *out = new(ManagedClusterIngressProfileWebAppRouting_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfile_STATUS.
+func (in *ManagedClusterIngressProfile_STATUS) DeepCopy() *ManagedClusterIngressProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterList) DeepCopyInto(out *ManagedClusterList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ManagedCluster, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterList.
+func (in *ManagedClusterList) DeepCopy() *ManagedClusterList {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedClusterList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile) DeepCopyInto(out *ManagedClusterLoadBalancerProfile) {
+ *out = *in
+ if in.AllocatedOutboundPorts != nil {
+ in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts
+ *out = new(int)
+ **out = **in
+ }
+ if in.BackendPoolType != nil {
+ in, out := &in.BackendPoolType, &out.BackendPoolType
+ *out = new(string)
+ **out = **in
+ }
+ if in.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ in, out := &in.ClusterServiceLoadBalancerHealthProbeMode, &out.ClusterServiceLoadBalancerHealthProbeMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.EnableMultipleStandardLoadBalancers != nil {
+ in, out := &in.EnableMultipleStandardLoadBalancers, &out.EnableMultipleStandardLoadBalancers
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPs != nil {
+ in, out := &in.ManagedOutboundIPs, &out.ManagedOutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPPrefixes != nil {
+ in, out := &in.OutboundIPPrefixes, &out.OutboundIPPrefixes
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPs != nil {
+ in, out := &in.OutboundIPs, &out.OutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPs)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile.
+func (in *ManagedClusterLoadBalancerProfile) DeepCopy() *ManagedClusterLoadBalancerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CountIPv6 != nil {
+ in, out := &in.CountIPv6, &out.CountIPv6
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ManagedOutboundIPs.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) DeepCopy() *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CountIPv6 != nil {
+ in, out := &in.CountIPv6, &out.CountIPv6
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicIPPrefixes != nil {
+ in, out := &in.PublicIPPrefixes, &out.PublicIPPrefixes
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPPrefixes.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicIPPrefixes != nil {
+ in, out := &in.PublicIPPrefixes, &out.PublicIPPrefixes
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPs) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicIPs != nil {
+ in, out := &in.PublicIPs, &out.PublicIPs
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPs.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPs {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPs)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicIPs != nil {
+ in, out := &in.PublicIPs, &out.PublicIPs
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_STATUS) {
+ *out = *in
+ if in.AllocatedOutboundPorts != nil {
+ in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts
+ *out = new(int)
+ **out = **in
+ }
+ if in.BackendPoolType != nil {
+ in, out := &in.BackendPoolType, &out.BackendPoolType
+ *out = new(string)
+ **out = **in
+ }
+ if in.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ in, out := &in.ClusterServiceLoadBalancerHealthProbeMode, &out.ClusterServiceLoadBalancerHealthProbeMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.EnableMultipleStandardLoadBalancers != nil {
+ in, out := &in.EnableMultipleStandardLoadBalancers, &out.EnableMultipleStandardLoadBalancers
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPs != nil {
+ in, out := &in.ManagedOutboundIPs, &out.ManagedOutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPPrefixes != nil {
+ in, out := &in.OutboundIPPrefixes, &out.OutboundIPPrefixes
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPs != nil {
+ in, out := &in.OutboundIPs, &out.OutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterManagedOutboundIPProfile) DeepCopyInto(out *ManagedClusterManagedOutboundIPProfile) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterManagedOutboundIPProfile.
+func (in *ManagedClusterManagedOutboundIPProfile) DeepCopy() *ManagedClusterManagedOutboundIPProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterManagedOutboundIPProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterManagedOutboundIPProfile_STATUS) DeepCopyInto(out *ManagedClusterManagedOutboundIPProfile_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterManagedOutboundIPProfile_STATUS.
+func (in *ManagedClusterManagedOutboundIPProfile_STATUS) DeepCopy() *ManagedClusterManagedOutboundIPProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterManagedOutboundIPProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterMetricsProfile) DeepCopyInto(out *ManagedClusterMetricsProfile) {
+ *out = *in
+ if in.CostAnalysis != nil {
+ in, out := &in.CostAnalysis, &out.CostAnalysis
+ *out = new(ManagedClusterCostAnalysis)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterMetricsProfile.
+func (in *ManagedClusterMetricsProfile) DeepCopy() *ManagedClusterMetricsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterMetricsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterMetricsProfile_STATUS) DeepCopyInto(out *ManagedClusterMetricsProfile_STATUS) {
+ *out = *in
+ if in.CostAnalysis != nil {
+ in, out := &in.CostAnalysis, &out.CostAnalysis
+ *out = new(ManagedClusterCostAnalysis_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterMetricsProfile_STATUS.
+func (in *ManagedClusterMetricsProfile_STATUS) DeepCopy() *ManagedClusterMetricsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterMetricsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNATGatewayProfile) DeepCopyInto(out *ManagedClusterNATGatewayProfile) {
+ *out = *in
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPProfile != nil {
+ in, out := &in.ManagedOutboundIPProfile, &out.ManagedOutboundIPProfile
+ *out = new(ManagedClusterManagedOutboundIPProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNATGatewayProfile.
+func (in *ManagedClusterNATGatewayProfile) DeepCopy() *ManagedClusterNATGatewayProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNATGatewayProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNATGatewayProfile_STATUS) DeepCopyInto(out *ManagedClusterNATGatewayProfile_STATUS) {
+ *out = *in
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPProfile != nil {
+ in, out := &in.ManagedOutboundIPProfile, &out.ManagedOutboundIPProfile
+ *out = new(ManagedClusterManagedOutboundIPProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNATGatewayProfile_STATUS.
+func (in *ManagedClusterNATGatewayProfile_STATUS) DeepCopy() *ManagedClusterNATGatewayProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNATGatewayProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeProvisioningProfile) DeepCopyInto(out *ManagedClusterNodeProvisioningProfile) {
+ *out = *in
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeProvisioningProfile.
+func (in *ManagedClusterNodeProvisioningProfile) DeepCopy() *ManagedClusterNodeProvisioningProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeProvisioningProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeProvisioningProfile_STATUS) DeepCopyInto(out *ManagedClusterNodeProvisioningProfile_STATUS) {
+ *out = *in
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeProvisioningProfile_STATUS.
+func (in *ManagedClusterNodeProvisioningProfile_STATUS) DeepCopy() *ManagedClusterNodeProvisioningProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeProvisioningProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeResourceGroupProfile) DeepCopyInto(out *ManagedClusterNodeResourceGroupProfile) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RestrictionLevel != nil {
+ in, out := &in.RestrictionLevel, &out.RestrictionLevel
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeResourceGroupProfile.
+func (in *ManagedClusterNodeResourceGroupProfile) DeepCopy() *ManagedClusterNodeResourceGroupProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeResourceGroupProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeResourceGroupProfile_STATUS) DeepCopyInto(out *ManagedClusterNodeResourceGroupProfile_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RestrictionLevel != nil {
+ in, out := &in.RestrictionLevel, &out.RestrictionLevel
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeResourceGroupProfile_STATUS.
+func (in *ManagedClusterNodeResourceGroupProfile_STATUS) DeepCopy() *ManagedClusterNodeResourceGroupProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeResourceGroupProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOIDCIssuerProfile) DeepCopyInto(out *ManagedClusterOIDCIssuerProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOIDCIssuerProfile.
+func (in *ManagedClusterOIDCIssuerProfile) DeepCopy() *ManagedClusterOIDCIssuerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOIDCIssuerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOIDCIssuerProfile_STATUS) DeepCopyInto(out *ManagedClusterOIDCIssuerProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IssuerURL != nil {
+ in, out := &in.IssuerURL, &out.IssuerURL
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOIDCIssuerProfile_STATUS.
+func (in *ManagedClusterOIDCIssuerProfile_STATUS) DeepCopy() *ManagedClusterOIDCIssuerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOIDCIssuerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOperatorConfigMaps) {
+ *out = *in
+ if in.OIDCIssuerProfile != nil {
+ in, out := &in.OIDCIssuerProfile, &out.OIDCIssuerProfile
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorConfigMaps.
+func (in *ManagedClusterOperatorConfigMaps) DeepCopy() *ManagedClusterOperatorConfigMaps {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOperatorConfigMaps)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOperatorSecrets) DeepCopyInto(out *ManagedClusterOperatorSecrets) {
+ *out = *in
+ if in.AdminCredentials != nil {
+ in, out := &in.AdminCredentials, &out.AdminCredentials
+ *out = new(genruntime.SecretDestination)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UserCredentials != nil {
+ in, out := &in.UserCredentials, &out.UserCredentials
+ *out = new(genruntime.SecretDestination)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorSecrets.
+func (in *ManagedClusterOperatorSecrets) DeepCopy() *ManagedClusterOperatorSecrets {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOperatorSecrets)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOperatorSpec) DeepCopyInto(out *ManagedClusterOperatorSpec) {
+ *out = *in
+ if in.ConfigMaps != nil {
+ in, out := &in.ConfigMaps, &out.ConfigMaps
+ *out = new(ManagedClusterOperatorConfigMaps)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Secrets != nil {
+ in, out := &in.Secrets, &out.Secrets
+ *out = new(ManagedClusterOperatorSecrets)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorSpec.
+func (in *ManagedClusterOperatorSpec) DeepCopy() *ManagedClusterOperatorSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOperatorSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity) DeepCopyInto(out *ManagedClusterPodIdentity) {
+ *out = *in
+ if in.BindingSelector != nil {
+ in, out := &in.BindingSelector, &out.BindingSelector
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity.
+func (in *ManagedClusterPodIdentity) DeepCopy() *ManagedClusterPodIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityException) DeepCopyInto(out *ManagedClusterPodIdentityException) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodLabels != nil {
+ in, out := &in.PodLabels, &out.PodLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityException.
+func (in *ManagedClusterPodIdentityException) DeepCopy() *ManagedClusterPodIdentityException {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityException)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityException_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityException_STATUS) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodLabels != nil {
+ in, out := &in.PodLabels, &out.PodLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityException_STATUS.
+func (in *ManagedClusterPodIdentityException_STATUS) DeepCopy() *ManagedClusterPodIdentityException_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityException_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProfile) DeepCopyInto(out *ManagedClusterPodIdentityProfile) {
+ *out = *in
+ if in.AllowNetworkPluginKubenet != nil {
+ in, out := &in.AllowNetworkPluginKubenet, &out.AllowNetworkPluginKubenet
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]ManagedClusterPodIdentity, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.UserAssignedIdentityExceptions != nil {
+ in, out := &in.UserAssignedIdentityExceptions, &out.UserAssignedIdentityExceptions
+ *out = make([]ManagedClusterPodIdentityException, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProfile.
+func (in *ManagedClusterPodIdentityProfile) DeepCopy() *ManagedClusterPodIdentityProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProfile_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityProfile_STATUS) {
+ *out = *in
+ if in.AllowNetworkPluginKubenet != nil {
+ in, out := &in.AllowNetworkPluginKubenet, &out.AllowNetworkPluginKubenet
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]ManagedClusterPodIdentity_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.UserAssignedIdentityExceptions != nil {
+ in, out := &in.UserAssignedIdentityExceptions, &out.UserAssignedIdentityExceptions
+ *out = make([]ManagedClusterPodIdentityException_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProfile_STATUS.
+func (in *ManagedClusterPodIdentityProfile_STATUS) DeepCopy() *ManagedClusterPodIdentityProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.Details != nil {
+ in, out := &in.Details, &out.Details
+ *out = make([]ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Message != nil {
+ in, out := &in.Message, &out.Message
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Target != nil {
+ in, out := &in.Target, &out.Target
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningErrorBody_STATUS.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) DeepCopy() *ManagedClusterPodIdentityProvisioningErrorBody_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.Message != nil {
+ in, out := &in.Message, &out.Message
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Target != nil {
+ in, out := &in.Target, &out.Target
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) DeepCopy() *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningError_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningError_STATUS) {
+ *out = *in
+ if in.Error != nil {
+ in, out := &in.Error, &out.Error
+ *out = new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningError_STATUS.
+func (in *ManagedClusterPodIdentityProvisioningError_STATUS) DeepCopy() *ManagedClusterPodIdentityProvisioningError_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningError_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) DeepCopyInto(out *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) {
+ *out = *in
+ if in.Error != nil {
+ in, out := &in.Error, &out.Error
+ *out = new(ManagedClusterPodIdentityProvisioningError_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_ProvisioningInfo_STATUS.
+func (in *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) DeepCopy() *ManagedClusterPodIdentity_ProvisioningInfo_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_ProvisioningInfo_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_STATUS) DeepCopyInto(out *ManagedClusterPodIdentity_STATUS) {
+ *out = *in
+ if in.BindingSelector != nil {
+ in, out := &in.BindingSelector, &out.BindingSelector
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProvisioningInfo != nil {
+ in, out := &in.ProvisioningInfo, &out.ProvisioningInfo
+ *out = new(ManagedClusterPodIdentity_ProvisioningInfo_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_STATUS.
+func (in *ManagedClusterPodIdentity_STATUS) DeepCopy() *ManagedClusterPodIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_AutoScalerProfile) DeepCopyInto(out *ManagedClusterProperties_AutoScalerProfile) {
+ *out = *in
+ if in.BalanceSimilarNodeGroups != nil {
+ in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
+ *out = new(string)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForEmptyNodes != nil {
+ in, out := &in.DaemonsetEvictionForEmptyNodes, &out.DaemonsetEvictionForEmptyNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForOccupiedNodes != nil {
+ in, out := &in.DaemonsetEvictionForOccupiedNodes, &out.DaemonsetEvictionForOccupiedNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Expander != nil {
+ in, out := &in.Expander, &out.Expander
+ *out = new(string)
+ **out = **in
+ }
+ if in.IgnoreDaemonsetsUtilization != nil {
+ in, out := &in.IgnoreDaemonsetsUtilization, &out.IgnoreDaemonsetsUtilization
+ *out = new(bool)
+ **out = **in
+ }
+ if in.MaxEmptyBulkDelete != nil {
+ in, out := &in.MaxEmptyBulkDelete, &out.MaxEmptyBulkDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxGracefulTerminationSec != nil {
+ in, out := &in.MaxGracefulTerminationSec, &out.MaxGracefulTerminationSec
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxNodeProvisionTime != nil {
+ in, out := &in.MaxNodeProvisionTime, &out.MaxNodeProvisionTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxTotalUnreadyPercentage != nil {
+ in, out := &in.MaxTotalUnreadyPercentage, &out.MaxTotalUnreadyPercentage
+ *out = new(string)
+ **out = **in
+ }
+ if in.NewPodScaleUpDelay != nil {
+ in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
+ *out = new(string)
+ **out = **in
+ }
+ if in.OkTotalUnreadyCount != nil {
+ in, out := &in.OkTotalUnreadyCount, &out.OkTotalUnreadyCount
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ScaleDownDelayAfterAdd != nil {
+ in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterDelete != nil {
+ in, out := &in.ScaleDownDelayAfterDelete, &out.ScaleDownDelayAfterDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterFailure != nil {
+ in, out := &in.ScaleDownDelayAfterFailure, &out.ScaleDownDelayAfterFailure
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnneededTime != nil {
+ in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnreadyTime != nil {
+ in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUtilizationThreshold != nil {
+ in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScanInterval != nil {
+ in, out := &in.ScanInterval, &out.ScanInterval
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithLocalStorage != nil {
+ in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithSystemPods != nil {
+ in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_AutoScalerProfile.
+func (in *ManagedClusterProperties_AutoScalerProfile) DeepCopy() *ManagedClusterProperties_AutoScalerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_AutoScalerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_AutoScalerProfile_STATUS) DeepCopyInto(out *ManagedClusterProperties_AutoScalerProfile_STATUS) {
+ *out = *in
+ if in.BalanceSimilarNodeGroups != nil {
+ in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
+ *out = new(string)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForEmptyNodes != nil {
+ in, out := &in.DaemonsetEvictionForEmptyNodes, &out.DaemonsetEvictionForEmptyNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForOccupiedNodes != nil {
+ in, out := &in.DaemonsetEvictionForOccupiedNodes, &out.DaemonsetEvictionForOccupiedNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Expander != nil {
+ in, out := &in.Expander, &out.Expander
+ *out = new(string)
+ **out = **in
+ }
+ if in.IgnoreDaemonsetsUtilization != nil {
+ in, out := &in.IgnoreDaemonsetsUtilization, &out.IgnoreDaemonsetsUtilization
+ *out = new(bool)
+ **out = **in
+ }
+ if in.MaxEmptyBulkDelete != nil {
+ in, out := &in.MaxEmptyBulkDelete, &out.MaxEmptyBulkDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxGracefulTerminationSec != nil {
+ in, out := &in.MaxGracefulTerminationSec, &out.MaxGracefulTerminationSec
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxNodeProvisionTime != nil {
+ in, out := &in.MaxNodeProvisionTime, &out.MaxNodeProvisionTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxTotalUnreadyPercentage != nil {
+ in, out := &in.MaxTotalUnreadyPercentage, &out.MaxTotalUnreadyPercentage
+ *out = new(string)
+ **out = **in
+ }
+ if in.NewPodScaleUpDelay != nil {
+ in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
+ *out = new(string)
+ **out = **in
+ }
+ if in.OkTotalUnreadyCount != nil {
+ in, out := &in.OkTotalUnreadyCount, &out.OkTotalUnreadyCount
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ScaleDownDelayAfterAdd != nil {
+ in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterDelete != nil {
+ in, out := &in.ScaleDownDelayAfterDelete, &out.ScaleDownDelayAfterDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterFailure != nil {
+ in, out := &in.ScaleDownDelayAfterFailure, &out.ScaleDownDelayAfterFailure
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnneededTime != nil {
+ in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnreadyTime != nil {
+ in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUtilizationThreshold != nil {
+ in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScanInterval != nil {
+ in, out := &in.ScanInterval, &out.ScanInterval
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithLocalStorage != nil {
+ in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithSystemPods != nil {
+ in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_AutoScalerProfile_STATUS.
+func (in *ManagedClusterProperties_AutoScalerProfile_STATUS) DeepCopy() *ManagedClusterProperties_AutoScalerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_AutoScalerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSKU) DeepCopyInto(out *ManagedClusterSKU) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Tier != nil {
+ in, out := &in.Tier, &out.Tier
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSKU.
+func (in *ManagedClusterSKU) DeepCopy() *ManagedClusterSKU {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSKU)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSKU_STATUS) DeepCopyInto(out *ManagedClusterSKU_STATUS) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Tier != nil {
+ in, out := &in.Tier, &out.Tier
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSKU_STATUS.
+func (in *ManagedClusterSKU_STATUS) DeepCopy() *ManagedClusterSKU_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSKU_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfile) DeepCopyInto(out *ManagedClusterSecurityProfile) {
+ *out = *in
+ if in.AzureKeyVaultKms != nil {
+ in, out := &in.AzureKeyVaultKms, &out.AzureKeyVaultKms
+ *out = new(AzureKeyVaultKms)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CustomCATrustCertificates != nil {
+ in, out := &in.CustomCATrustCertificates, &out.CustomCATrustCertificates
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Defender != nil {
+ in, out := &in.Defender, &out.Defender
+ *out = new(ManagedClusterSecurityProfileDefender)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageCleaner != nil {
+ in, out := &in.ImageCleaner, &out.ImageCleaner
+ *out = new(ManagedClusterSecurityProfileImageCleaner)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageIntegrity != nil {
+ in, out := &in.ImageIntegrity, &out.ImageIntegrity
+ *out = new(ManagedClusterSecurityProfileImageIntegrity)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeRestriction != nil {
+ in, out := &in.NodeRestriction, &out.NodeRestriction
+ *out = new(ManagedClusterSecurityProfileNodeRestriction)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.WorkloadIdentity != nil {
+ in, out := &in.WorkloadIdentity, &out.WorkloadIdentity
+ *out = new(ManagedClusterSecurityProfileWorkloadIdentity)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfile.
+func (in *ManagedClusterSecurityProfile) DeepCopy() *ManagedClusterSecurityProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefender) DeepCopyInto(out *ManagedClusterSecurityProfileDefender) {
+ *out = *in
+ if in.LogAnalyticsWorkspaceResourceReference != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceReference, &out.LogAnalyticsWorkspaceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SecurityMonitoring != nil {
+ in, out := &in.SecurityMonitoring, &out.SecurityMonitoring
+ *out = new(ManagedClusterSecurityProfileDefenderSecurityMonitoring)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefender.
+func (in *ManagedClusterSecurityProfileDefender) DeepCopy() *ManagedClusterSecurityProfileDefender {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefender)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring) DeepCopyInto(out *ManagedClusterSecurityProfileDefenderSecurityMonitoring) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefenderSecurityMonitoring.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring) DeepCopy() *ManagedClusterSecurityProfileDefenderSecurityMonitoring {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefenderSecurityMonitoring)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) DeepCopy() *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefender_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileDefender_STATUS) {
+ *out = *in
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SecurityMonitoring != nil {
+ in, out := &in.SecurityMonitoring, &out.SecurityMonitoring
+ *out = new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefender_STATUS.
+func (in *ManagedClusterSecurityProfileDefender_STATUS) DeepCopy() *ManagedClusterSecurityProfileDefender_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefender_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageCleaner) DeepCopyInto(out *ManagedClusterSecurityProfileImageCleaner) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntervalHours != nil {
+ in, out := &in.IntervalHours, &out.IntervalHours
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageCleaner.
+func (in *ManagedClusterSecurityProfileImageCleaner) DeepCopy() *ManagedClusterSecurityProfileImageCleaner {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageCleaner)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageCleaner_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileImageCleaner_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntervalHours != nil {
+ in, out := &in.IntervalHours, &out.IntervalHours
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageCleaner_STATUS.
+func (in *ManagedClusterSecurityProfileImageCleaner_STATUS) DeepCopy() *ManagedClusterSecurityProfileImageCleaner_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageCleaner_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageIntegrity) DeepCopyInto(out *ManagedClusterSecurityProfileImageIntegrity) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageIntegrity.
+func (in *ManagedClusterSecurityProfileImageIntegrity) DeepCopy() *ManagedClusterSecurityProfileImageIntegrity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageIntegrity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageIntegrity_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileImageIntegrity_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageIntegrity_STATUS.
+func (in *ManagedClusterSecurityProfileImageIntegrity_STATUS) DeepCopy() *ManagedClusterSecurityProfileImageIntegrity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageIntegrity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileNodeRestriction) DeepCopyInto(out *ManagedClusterSecurityProfileNodeRestriction) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileNodeRestriction.
+func (in *ManagedClusterSecurityProfileNodeRestriction) DeepCopy() *ManagedClusterSecurityProfileNodeRestriction {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileNodeRestriction)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileNodeRestriction_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileNodeRestriction_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileNodeRestriction_STATUS.
+func (in *ManagedClusterSecurityProfileNodeRestriction_STATUS) DeepCopy() *ManagedClusterSecurityProfileNodeRestriction_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileNodeRestriction_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity) DeepCopyInto(out *ManagedClusterSecurityProfileWorkloadIdentity) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileWorkloadIdentity.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity) DeepCopy() *ManagedClusterSecurityProfileWorkloadIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileWorkloadIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileWorkloadIdentity_STATUS.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) DeepCopy() *ManagedClusterSecurityProfileWorkloadIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileWorkloadIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfile_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfile_STATUS) {
+ *out = *in
+ if in.AzureKeyVaultKms != nil {
+ in, out := &in.AzureKeyVaultKms, &out.AzureKeyVaultKms
+ *out = new(AzureKeyVaultKms_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CustomCATrustCertificates != nil {
+ in, out := &in.CustomCATrustCertificates, &out.CustomCATrustCertificates
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Defender != nil {
+ in, out := &in.Defender, &out.Defender
+ *out = new(ManagedClusterSecurityProfileDefender_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageCleaner != nil {
+ in, out := &in.ImageCleaner, &out.ImageCleaner
+ *out = new(ManagedClusterSecurityProfileImageCleaner_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageIntegrity != nil {
+ in, out := &in.ImageIntegrity, &out.ImageIntegrity
+ *out = new(ManagedClusterSecurityProfileImageIntegrity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeRestriction != nil {
+ in, out := &in.NodeRestriction, &out.NodeRestriction
+ *out = new(ManagedClusterSecurityProfileNodeRestriction_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.WorkloadIdentity != nil {
+ in, out := &in.WorkloadIdentity, &out.WorkloadIdentity
+ *out = new(ManagedClusterSecurityProfileWorkloadIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfile_STATUS.
+func (in *ManagedClusterSecurityProfile_STATUS) DeepCopy() *ManagedClusterSecurityProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterServicePrincipalProfile) DeepCopyInto(out *ManagedClusterServicePrincipalProfile) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Secret != nil {
+ in, out := &in.Secret, &out.Secret
+ *out = new(genruntime.SecretReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServicePrincipalProfile.
+func (in *ManagedClusterServicePrincipalProfile) DeepCopy() *ManagedClusterServicePrincipalProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterServicePrincipalProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterServicePrincipalProfile_STATUS) DeepCopyInto(out *ManagedClusterServicePrincipalProfile_STATUS) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServicePrincipalProfile_STATUS.
+func (in *ManagedClusterServicePrincipalProfile_STATUS) DeepCopy() *ManagedClusterServicePrincipalProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterServicePrincipalProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStaticEgressGatewayProfile) DeepCopyInto(out *ManagedClusterStaticEgressGatewayProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStaticEgressGatewayProfile.
+func (in *ManagedClusterStaticEgressGatewayProfile) DeepCopy() *ManagedClusterStaticEgressGatewayProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStaticEgressGatewayProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStaticEgressGatewayProfile_STATUS) DeepCopyInto(out *ManagedClusterStaticEgressGatewayProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStaticEgressGatewayProfile_STATUS.
+func (in *ManagedClusterStaticEgressGatewayProfile_STATUS) DeepCopy() *ManagedClusterStaticEgressGatewayProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStaticEgressGatewayProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfile) DeepCopyInto(out *ManagedClusterStorageProfile) {
+ *out = *in
+ if in.BlobCSIDriver != nil {
+ in, out := &in.BlobCSIDriver, &out.BlobCSIDriver
+ *out = new(ManagedClusterStorageProfileBlobCSIDriver)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DiskCSIDriver != nil {
+ in, out := &in.DiskCSIDriver, &out.DiskCSIDriver
+ *out = new(ManagedClusterStorageProfileDiskCSIDriver)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FileCSIDriver != nil {
+ in, out := &in.FileCSIDriver, &out.FileCSIDriver
+ *out = new(ManagedClusterStorageProfileFileCSIDriver)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SnapshotController != nil {
+ in, out := &in.SnapshotController, &out.SnapshotController
+ *out = new(ManagedClusterStorageProfileSnapshotController)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfile.
+func (in *ManagedClusterStorageProfile) DeepCopy() *ManagedClusterStorageProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileBlobCSIDriver) DeepCopyInto(out *ManagedClusterStorageProfileBlobCSIDriver) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileBlobCSIDriver.
+func (in *ManagedClusterStorageProfileBlobCSIDriver) DeepCopy() *ManagedClusterStorageProfileBlobCSIDriver {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileBlobCSIDriver)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileBlobCSIDriver_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileBlobCSIDriver_STATUS.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_STATUS) DeepCopy() *ManagedClusterStorageProfileBlobCSIDriver_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileBlobCSIDriver_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileDiskCSIDriver) DeepCopyInto(out *ManagedClusterStorageProfileDiskCSIDriver) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileDiskCSIDriver.
+func (in *ManagedClusterStorageProfileDiskCSIDriver) DeepCopy() *ManagedClusterStorageProfileDiskCSIDriver {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileDiskCSIDriver)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileDiskCSIDriver_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileDiskCSIDriver_STATUS.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_STATUS) DeepCopy() *ManagedClusterStorageProfileDiskCSIDriver_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileDiskCSIDriver_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileFileCSIDriver) DeepCopyInto(out *ManagedClusterStorageProfileFileCSIDriver) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileFileCSIDriver.
+func (in *ManagedClusterStorageProfileFileCSIDriver) DeepCopy() *ManagedClusterStorageProfileFileCSIDriver {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileFileCSIDriver)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileFileCSIDriver_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileFileCSIDriver_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileFileCSIDriver_STATUS.
+func (in *ManagedClusterStorageProfileFileCSIDriver_STATUS) DeepCopy() *ManagedClusterStorageProfileFileCSIDriver_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileFileCSIDriver_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileSnapshotController) DeepCopyInto(out *ManagedClusterStorageProfileSnapshotController) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileSnapshotController.
+func (in *ManagedClusterStorageProfileSnapshotController) DeepCopy() *ManagedClusterStorageProfileSnapshotController {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileSnapshotController)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileSnapshotController_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileSnapshotController_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileSnapshotController_STATUS.
+func (in *ManagedClusterStorageProfileSnapshotController_STATUS) DeepCopy() *ManagedClusterStorageProfileSnapshotController_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileSnapshotController_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfile_STATUS) DeepCopyInto(out *ManagedClusterStorageProfile_STATUS) {
+ *out = *in
+ if in.BlobCSIDriver != nil {
+ in, out := &in.BlobCSIDriver, &out.BlobCSIDriver
+ *out = new(ManagedClusterStorageProfileBlobCSIDriver_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DiskCSIDriver != nil {
+ in, out := &in.DiskCSIDriver, &out.DiskCSIDriver
+ *out = new(ManagedClusterStorageProfileDiskCSIDriver_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FileCSIDriver != nil {
+ in, out := &in.FileCSIDriver, &out.FileCSIDriver
+ *out = new(ManagedClusterStorageProfileFileCSIDriver_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SnapshotController != nil {
+ in, out := &in.SnapshotController, &out.SnapshotController
+ *out = new(ManagedClusterStorageProfileSnapshotController_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfile_STATUS.
+func (in *ManagedClusterStorageProfile_STATUS) DeepCopy() *ManagedClusterStorageProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsProfile) {
+ *out = *in
+ if in.AdminPassword != nil {
+ in, out := &in.AdminPassword, &out.AdminPassword
+ *out = new(genruntime.SecretReference)
+ **out = **in
+ }
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableCSIProxy != nil {
+ in, out := &in.EnableCSIProxy, &out.EnableCSIProxy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GmsaProfile != nil {
+ in, out := &in.GmsaProfile, &out.GmsaProfile
+ *out = new(WindowsGmsaProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LicenseType != nil {
+ in, out := &in.LicenseType, &out.LicenseType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWindowsProfile.
+func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWindowsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableCSIProxy != nil {
+ in, out := &in.EnableCSIProxy, &out.EnableCSIProxy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GmsaProfile != nil {
+ in, out := &in.GmsaProfile, &out.GmsaProfile
+ *out = new(WindowsGmsaProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LicenseType != nil {
+ in, out := &in.LicenseType, &out.LicenseType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWindowsProfile_STATUS.
+func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindowsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWindowsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfile) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfile) {
+ *out = *in
+ if in.Keda != nil {
+ in, out := &in.Keda, &out.Keda
+ *out = new(ManagedClusterWorkloadAutoScalerProfileKeda)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.VerticalPodAutoscaler != nil {
+ in, out := &in.VerticalPodAutoscaler, &out.VerticalPodAutoscaler
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfile.
+func (in *ManagedClusterWorkloadAutoScalerProfile) DeepCopy() *ManagedClusterWorkloadAutoScalerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileKeda) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileKeda.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileKeda {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileKeda)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileKeda_STATUS.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) {
+ *out = *in
+ if in.AddonAutoscaling != nil {
+ in, out := &in.AddonAutoscaling, &out.AddonAutoscaling
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) {
+ *out = *in
+ if in.AddonAutoscaling != nil {
+ in, out := &in.AddonAutoscaling, &out.AddonAutoscaling
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfile_STATUS) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfile_STATUS) {
+ *out = *in
+ if in.Keda != nil {
+ in, out := &in.Keda, &out.Keda
+ *out = new(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.VerticalPodAutoscaler != nil {
+ in, out := &in.VerticalPodAutoscaler, &out.VerticalPodAutoscaler
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfile_STATUS.
+func (in *ManagedClusterWorkloadAutoScalerProfile_STATUS) DeepCopy() *ManagedClusterWorkloadAutoScalerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster_STATUS) DeepCopyInto(out *ManagedCluster_STATUS) {
+ *out = *in
+ if in.AadProfile != nil {
+ in, out := &in.AadProfile, &out.AadProfile
+ *out = new(ManagedClusterAADProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AddonProfiles != nil {
+ in, out := &in.AddonProfiles, &out.AddonProfiles
+ *out = make(map[string]ManagedClusterAddonProfile_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.AgentPoolProfiles != nil {
+ in, out := &in.AgentPoolProfiles, &out.AgentPoolProfiles
+ *out = make([]ManagedClusterAgentPoolProfile_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.AiToolchainOperatorProfile != nil {
+ in, out := &in.AiToolchainOperatorProfile, &out.AiToolchainOperatorProfile
+ *out = new(ManagedClusterAIToolchainOperatorProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ApiServerAccessProfile != nil {
+ in, out := &in.ApiServerAccessProfile, &out.ApiServerAccessProfile
+ *out = new(ManagedClusterAPIServerAccessProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoScalerProfile != nil {
+ in, out := &in.AutoScalerProfile, &out.AutoScalerProfile
+ *out = new(ManagedClusterProperties_AutoScalerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoUpgradeProfile != nil {
+ in, out := &in.AutoUpgradeProfile, &out.AutoUpgradeProfile
+ *out = new(ManagedClusterAutoUpgradeProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzureMonitorProfile != nil {
+ in, out := &in.AzureMonitorProfile, &out.AzureMonitorProfile
+ *out = new(ManagedClusterAzureMonitorProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzurePortalFQDN != nil {
+ in, out := &in.AzurePortalFQDN, &out.AzurePortalFQDN
+ *out = new(string)
+ **out = **in
+ }
+ if in.BootstrapProfile != nil {
+ in, out := &in.BootstrapProfile, &out.BootstrapProfile
+ *out = new(ManagedClusterBootstrapProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentKubernetesVersion != nil {
+ in, out := &in.CurrentKubernetesVersion, &out.CurrentKubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.DisableLocalAccounts != nil {
+ in, out := &in.DisableLocalAccounts, &out.DisableLocalAccounts
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DiskEncryptionSetID != nil {
+ in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.DnsPrefix != nil {
+ in, out := &in.DnsPrefix, &out.DnsPrefix
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableNamespaceResources != nil {
+ in, out := &in.EnableNamespaceResources, &out.EnableNamespaceResources
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePodSecurityPolicy != nil {
+ in, out := &in.EnablePodSecurityPolicy, &out.EnablePodSecurityPolicy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableRBAC != nil {
+ in, out := &in.EnableRBAC, &out.EnableRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ExtendedLocation != nil {
+ in, out := &in.ExtendedLocation, &out.ExtendedLocation
+ *out = new(ExtendedLocation_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Fqdn != nil {
+ in, out := &in.Fqdn, &out.Fqdn
+ *out = new(string)
+ **out = **in
+ }
+ if in.FqdnSubdomain != nil {
+ in, out := &in.FqdnSubdomain, &out.FqdnSubdomain
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpProxyConfig != nil {
+ in, out := &in.HttpProxyConfig, &out.HttpProxyConfig
+ *out = new(ManagedClusterHTTPProxyConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(ManagedClusterIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.IdentityProfile != nil {
+ in, out := &in.IdentityProfile, &out.IdentityProfile
+ *out = make(map[string]UserAssignedIdentity_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.IngressProfile != nil {
+ in, out := &in.IngressProfile, &out.IngressProfile
+ *out = new(ManagedClusterIngressProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Kind != nil {
+ in, out := &in.Kind, &out.Kind
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubernetesVersion != nil {
+ in, out := &in.KubernetesVersion, &out.KubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxProfile != nil {
+ in, out := &in.LinuxProfile, &out.LinuxProfile
+ *out = new(ContainerServiceLinuxProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxAgentPools != nil {
+ in, out := &in.MaxAgentPools, &out.MaxAgentPools
+ *out = new(int)
+ **out = **in
+ }
+ if in.MetricsProfile != nil {
+ in, out := &in.MetricsProfile, &out.MetricsProfile
+ *out = new(ManagedClusterMetricsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(ContainerServiceNetworkProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeProvisioningProfile != nil {
+ in, out := &in.NodeProvisioningProfile, &out.NodeProvisioningProfile
+ *out = new(ManagedClusterNodeProvisioningProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeResourceGroup != nil {
+ in, out := &in.NodeResourceGroup, &out.NodeResourceGroup
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeResourceGroupProfile != nil {
+ in, out := &in.NodeResourceGroupProfile, &out.NodeResourceGroupProfile
+ *out = new(ManagedClusterNodeResourceGroupProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OidcIssuerProfile != nil {
+ in, out := &in.OidcIssuerProfile, &out.OidcIssuerProfile
+ *out = new(ManagedClusterOIDCIssuerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PodIdentityProfile != nil {
+ in, out := &in.PodIdentityProfile, &out.PodIdentityProfile
+ *out = new(ManagedClusterPodIdentityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PrivateFQDN != nil {
+ in, out := &in.PrivateFQDN, &out.PrivateFQDN
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrivateLinkResources != nil {
+ in, out := &in.PrivateLinkResources, &out.PrivateLinkResources
+ *out = make([]PrivateLinkResource_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.PublicNetworkAccess != nil {
+ in, out := &in.PublicNetworkAccess, &out.PublicNetworkAccess
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceUID != nil {
+ in, out := &in.ResourceUID, &out.ResourceUID
+ *out = new(string)
+ **out = **in
+ }
+ if in.SafeguardsProfile != nil {
+ in, out := &in.SafeguardsProfile, &out.SafeguardsProfile
+ *out = new(SafeguardsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(ManagedClusterSecurityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServiceMeshProfile != nil {
+ in, out := &in.ServiceMeshProfile, &out.ServiceMeshProfile
+ *out = new(ServiceMeshProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServicePrincipalProfile != nil {
+ in, out := &in.ServicePrincipalProfile, &out.ServicePrincipalProfile
+ *out = new(ManagedClusterServicePrincipalProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Sku != nil {
+ in, out := &in.Sku, &out.Sku
+ *out = new(ManagedClusterSKU_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StorageProfile != nil {
+ in, out := &in.StorageProfile, &out.StorageProfile
+ *out = new(ManagedClusterStorageProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SupportPlan != nil {
+ in, out := &in.SupportPlan, &out.SupportPlan
+ *out = new(string)
+ **out = **in
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(ClusterUpgradeSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(ManagedClusterWindowsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadAutoScalerProfile != nil {
+ in, out := &in.WorkloadAutoScalerProfile, &out.WorkloadAutoScalerProfile
+ *out = new(ManagedClusterWorkloadAutoScalerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster_STATUS.
+func (in *ManagedCluster_STATUS) DeepCopy() *ManagedCluster_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster_Spec) DeepCopyInto(out *ManagedCluster_Spec) {
+ *out = *in
+ if in.AadProfile != nil {
+ in, out := &in.AadProfile, &out.AadProfile
+ *out = new(ManagedClusterAADProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AddonProfiles != nil {
+ in, out := &in.AddonProfiles, &out.AddonProfiles
+ *out = make(map[string]ManagedClusterAddonProfile, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.AgentPoolProfiles != nil {
+ in, out := &in.AgentPoolProfiles, &out.AgentPoolProfiles
+ *out = make([]ManagedClusterAgentPoolProfile, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.AiToolchainOperatorProfile != nil {
+ in, out := &in.AiToolchainOperatorProfile, &out.AiToolchainOperatorProfile
+ *out = new(ManagedClusterAIToolchainOperatorProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ApiServerAccessProfile != nil {
+ in, out := &in.ApiServerAccessProfile, &out.ApiServerAccessProfile
+ *out = new(ManagedClusterAPIServerAccessProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoScalerProfile != nil {
+ in, out := &in.AutoScalerProfile, &out.AutoScalerProfile
+ *out = new(ManagedClusterProperties_AutoScalerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoUpgradeProfile != nil {
+ in, out := &in.AutoUpgradeProfile, &out.AutoUpgradeProfile
+ *out = new(ManagedClusterAutoUpgradeProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzureMonitorProfile != nil {
+ in, out := &in.AzureMonitorProfile, &out.AzureMonitorProfile
+ *out = new(ManagedClusterAzureMonitorProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.BootstrapProfile != nil {
+ in, out := &in.BootstrapProfile, &out.BootstrapProfile
+ *out = new(ManagedClusterBootstrapProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DisableLocalAccounts != nil {
+ in, out := &in.DisableLocalAccounts, &out.DisableLocalAccounts
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DiskEncryptionSetReference != nil {
+ in, out := &in.DiskEncryptionSetReference, &out.DiskEncryptionSetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.DnsPrefix != nil {
+ in, out := &in.DnsPrefix, &out.DnsPrefix
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableNamespaceResources != nil {
+ in, out := &in.EnableNamespaceResources, &out.EnableNamespaceResources
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePodSecurityPolicy != nil {
+ in, out := &in.EnablePodSecurityPolicy, &out.EnablePodSecurityPolicy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableRBAC != nil {
+ in, out := &in.EnableRBAC, &out.EnableRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ExtendedLocation != nil {
+ in, out := &in.ExtendedLocation, &out.ExtendedLocation
+ *out = new(ExtendedLocation)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FqdnSubdomain != nil {
+ in, out := &in.FqdnSubdomain, &out.FqdnSubdomain
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpProxyConfig != nil {
+ in, out := &in.HttpProxyConfig, &out.HttpProxyConfig
+ *out = new(ManagedClusterHTTPProxyConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(ManagedClusterIdentity)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.IdentityProfile != nil {
+ in, out := &in.IdentityProfile, &out.IdentityProfile
+ *out = make(map[string]UserAssignedIdentity, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.IngressProfile != nil {
+ in, out := &in.IngressProfile, &out.IngressProfile
+ *out = new(ManagedClusterIngressProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Kind != nil {
+ in, out := &in.Kind, &out.Kind
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubernetesVersion != nil {
+ in, out := &in.KubernetesVersion, &out.KubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxProfile != nil {
+ in, out := &in.LinuxProfile, &out.LinuxProfile
+ *out = new(ContainerServiceLinuxProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricsProfile != nil {
+ in, out := &in.MetricsProfile, &out.MetricsProfile
+ *out = new(ManagedClusterMetricsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(ContainerServiceNetworkProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeProvisioningProfile != nil {
+ in, out := &in.NodeProvisioningProfile, &out.NodeProvisioningProfile
+ *out = new(ManagedClusterNodeProvisioningProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeResourceGroup != nil {
+ in, out := &in.NodeResourceGroup, &out.NodeResourceGroup
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeResourceGroupProfile != nil {
+ in, out := &in.NodeResourceGroupProfile, &out.NodeResourceGroupProfile
+ *out = new(ManagedClusterNodeResourceGroupProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OidcIssuerProfile != nil {
+ in, out := &in.OidcIssuerProfile, &out.OidcIssuerProfile
+ *out = new(ManagedClusterOIDCIssuerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OperatorSpec != nil {
+ in, out := &in.OperatorSpec, &out.OperatorSpec
+ *out = new(ManagedClusterOperatorSpec)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.PodIdentityProfile != nil {
+ in, out := &in.PodIdentityProfile, &out.PodIdentityProfile
+ *out = new(ManagedClusterPodIdentityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PrivateLinkResources != nil {
+ in, out := &in.PrivateLinkResources, &out.PrivateLinkResources
+ *out = make([]PrivateLinkResource, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.PublicNetworkAccess != nil {
+ in, out := &in.PublicNetworkAccess, &out.PublicNetworkAccess
+ *out = new(string)
+ **out = **in
+ }
+ if in.SafeguardsProfile != nil {
+ in, out := &in.SafeguardsProfile, &out.SafeguardsProfile
+ *out = new(SafeguardsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(ManagedClusterSecurityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServiceMeshProfile != nil {
+ in, out := &in.ServiceMeshProfile, &out.ServiceMeshProfile
+ *out = new(ServiceMeshProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServicePrincipalProfile != nil {
+ in, out := &in.ServicePrincipalProfile, &out.ServicePrincipalProfile
+ *out = new(ManagedClusterServicePrincipalProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Sku != nil {
+ in, out := &in.Sku, &out.Sku
+ *out = new(ManagedClusterSKU)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StorageProfile != nil {
+ in, out := &in.StorageProfile, &out.StorageProfile
+ *out = new(ManagedClusterStorageProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SupportPlan != nil {
+ in, out := &in.SupportPlan, &out.SupportPlan
+ *out = new(string)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(ClusterUpgradeSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(ManagedClusterWindowsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadAutoScalerProfile != nil {
+ in, out := &in.WorkloadAutoScalerProfile, &out.WorkloadAutoScalerProfile
+ *out = new(ManagedClusterWorkloadAutoScalerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster_Spec.
+func (in *ManagedCluster_Spec) DeepCopy() *ManagedCluster_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClustersAgentPool) DeepCopyInto(out *ManagedClustersAgentPool) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClustersAgentPool.
+func (in *ManagedClustersAgentPool) DeepCopy() *ManagedClustersAgentPool {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClustersAgentPool)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedClustersAgentPool) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClustersAgentPoolList) DeepCopyInto(out *ManagedClustersAgentPoolList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ManagedClustersAgentPool, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClustersAgentPoolList.
+func (in *ManagedClustersAgentPoolList) DeepCopy() *ManagedClustersAgentPoolList {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClustersAgentPoolList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedClustersAgentPoolList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_AgentPool_STATUS) DeepCopyInto(out *ManagedClusters_AgentPool_STATUS) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentOrchestratorVersion != nil {
+ in, out := &in.CurrentOrchestratorVersion, &out.CurrentOrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(string)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeImageVersion != nil {
+ in, out := &in.NodeImageVersion, &out.NodeImageVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertiesType != nil {
+ in, out := &in.PropertiesType, &out.PropertiesType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_AgentPool_STATUS.
+func (in *ManagedClusters_AgentPool_STATUS) DeepCopy() *ManagedClusters_AgentPool_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_AgentPool_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_AgentPool_Spec) DeepCopyInto(out *ManagedClusters_AgentPool_Spec) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupReference != nil {
+ in, out := &in.CapacityReservationGroupReference, &out.CapacityReservationGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(string)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupReference != nil {
+ in, out := &in.HostGroupReference, &out.HostGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixReference != nil {
+ in, out := &in.NodePublicIPPrefixReference, &out.NodePublicIPPrefixReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(string)
+ **out = **in
+ }
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodSubnetReference != nil {
+ in, out := &in.PodSubnetReference, &out.PodSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProximityPlacementGroupReference != nil {
+ in, out := &in.ProximityPlacementGroupReference, &out.ProximityPlacementGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetReference != nil {
+ in, out := &in.VnetSubnetReference, &out.VnetSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_AgentPool_Spec.
+func (in *ManagedClusters_AgentPool_Spec) DeepCopy() *ManagedClusters_AgentPool_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_AgentPool_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_STATUS) {
+ *out = *in
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_STATUS.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_Spec) {
+ *out = *in
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceReference != nil {
+ in, out := &in.SourceResourceReference, &out.SourceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_Spec.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManualScaleProfile) DeepCopyInto(out *ManualScaleProfile) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScaleProfile.
+func (in *ManualScaleProfile) DeepCopy() *ManualScaleProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManualScaleProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManualScaleProfile_STATUS) DeepCopyInto(out *ManualScaleProfile_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScaleProfile_STATUS.
+func (in *ManualScaleProfile_STATUS) DeepCopy() *ManualScaleProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManualScaleProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PortRange) DeepCopyInto(out *PortRange) {
+ *out = *in
+ if in.PortEnd != nil {
+ in, out := &in.PortEnd, &out.PortEnd
+ *out = new(int)
+ **out = **in
+ }
+ if in.PortStart != nil {
+ in, out := &in.PortStart, &out.PortStart
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Protocol != nil {
+ in, out := &in.Protocol, &out.Protocol
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRange.
+func (in *PortRange) DeepCopy() *PortRange {
+ if in == nil {
+ return nil
+ }
+ out := new(PortRange)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PortRange_STATUS) DeepCopyInto(out *PortRange_STATUS) {
+ *out = *in
+ if in.PortEnd != nil {
+ in, out := &in.PortEnd, &out.PortEnd
+ *out = new(int)
+ **out = **in
+ }
+ if in.PortStart != nil {
+ in, out := &in.PortStart, &out.PortStart
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Protocol != nil {
+ in, out := &in.Protocol, &out.Protocol
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRange_STATUS.
+func (in *PortRange_STATUS) DeepCopy() *PortRange_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(PortRange_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PowerState) DeepCopyInto(out *PowerState) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerState.
+func (in *PowerState) DeepCopy() *PowerState {
+ if in == nil {
+ return nil
+ }
+ out := new(PowerState)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PowerState_STATUS) DeepCopyInto(out *PowerState_STATUS) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerState_STATUS.
+func (in *PowerState_STATUS) DeepCopy() *PowerState_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(PowerState_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateLinkResource) DeepCopyInto(out *PrivateLinkResource) {
+ *out = *in
+ if in.GroupId != nil {
+ in, out := &in.GroupId, &out.GroupId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Reference != nil {
+ in, out := &in.Reference, &out.Reference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.RequiredMembers != nil {
+ in, out := &in.RequiredMembers, &out.RequiredMembers
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkResource.
+func (in *PrivateLinkResource) DeepCopy() *PrivateLinkResource {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateLinkResource)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateLinkResource_STATUS) DeepCopyInto(out *PrivateLinkResource_STATUS) {
+ *out = *in
+ if in.GroupId != nil {
+ in, out := &in.GroupId, &out.GroupId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrivateLinkServiceID != nil {
+ in, out := &in.PrivateLinkServiceID, &out.PrivateLinkServiceID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RequiredMembers != nil {
+ in, out := &in.RequiredMembers, &out.RequiredMembers
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkResource_STATUS.
+func (in *PrivateLinkResource_STATUS) DeepCopy() *PrivateLinkResource_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateLinkResource_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceReference) DeepCopyInto(out *ResourceReference) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Reference != nil {
+ in, out := &in.Reference, &out.Reference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
+func (in *ResourceReference) DeepCopy() *ResourceReference {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceReference)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceReference_STATUS) DeepCopyInto(out *ResourceReference_STATUS) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference_STATUS.
+func (in *ResourceReference_STATUS) DeepCopy() *ResourceReference_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceReference_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SafeguardsProfile) DeepCopyInto(out *SafeguardsProfile) {
+ *out = *in
+ if in.ExcludedNamespaces != nil {
+ in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Level != nil {
+ in, out := &in.Level, &out.Level
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SafeguardsProfile.
+func (in *SafeguardsProfile) DeepCopy() *SafeguardsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(SafeguardsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SafeguardsProfile_STATUS) DeepCopyInto(out *SafeguardsProfile_STATUS) {
+ *out = *in
+ if in.ExcludedNamespaces != nil {
+ in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Level != nil {
+ in, out := &in.Level, &out.Level
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.SystemExcludedNamespaces != nil {
+ in, out := &in.SystemExcludedNamespaces, &out.SystemExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SafeguardsProfile_STATUS.
+func (in *SafeguardsProfile_STATUS) DeepCopy() *SafeguardsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(SafeguardsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ScaleProfile) DeepCopyInto(out *ScaleProfile) {
+ *out = *in
+ if in.Autoscale != nil {
+ in, out := &in.Autoscale, &out.Autoscale
+ *out = make([]AutoScaleProfile, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Manual != nil {
+ in, out := &in.Manual, &out.Manual
+ *out = make([]ManualScaleProfile, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleProfile.
+func (in *ScaleProfile) DeepCopy() *ScaleProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ScaleProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ScaleProfile_STATUS) DeepCopyInto(out *ScaleProfile_STATUS) {
+ *out = *in
+ if in.Autoscale != nil {
+ in, out := &in.Autoscale, &out.Autoscale
+ *out = make([]AutoScaleProfile_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Manual != nil {
+ in, out := &in.Manual, &out.Manual
+ *out = make([]ManualScaleProfile_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleProfile_STATUS.
+func (in *ScaleProfile_STATUS) DeepCopy() *ScaleProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ScaleProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ServiceMeshProfile) DeepCopyInto(out *ServiceMeshProfile) {
+ *out = *in
+ if in.Istio != nil {
+ in, out := &in.Istio, &out.Istio
+ *out = new(IstioServiceMesh)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMeshProfile.
+func (in *ServiceMeshProfile) DeepCopy() *ServiceMeshProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ServiceMeshProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ServiceMeshProfile_STATUS) DeepCopyInto(out *ServiceMeshProfile_STATUS) {
+ *out = *in
+ if in.Istio != nil {
+ in, out := &in.Istio, &out.Istio
+ *out = new(IstioServiceMesh_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMeshProfile_STATUS.
+func (in *ServiceMeshProfile_STATUS) DeepCopy() *ServiceMeshProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ServiceMeshProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SysctlConfig) DeepCopyInto(out *SysctlConfig) {
+ *out = *in
+ if in.FsAioMaxNr != nil {
+ in, out := &in.FsAioMaxNr, &out.FsAioMaxNr
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsFileMax != nil {
+ in, out := &in.FsFileMax, &out.FsFileMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsInotifyMaxUserWatches != nil {
+ in, out := &in.FsInotifyMaxUserWatches, &out.FsInotifyMaxUserWatches
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsNrOpen != nil {
+ in, out := &in.FsNrOpen, &out.FsNrOpen
+ *out = new(int)
+ **out = **in
+ }
+ if in.KernelThreadsMax != nil {
+ in, out := &in.KernelThreadsMax, &out.KernelThreadsMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreNetdevMaxBacklog != nil {
+ in, out := &in.NetCoreNetdevMaxBacklog, &out.NetCoreNetdevMaxBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreOptmemMax != nil {
+ in, out := &in.NetCoreOptmemMax, &out.NetCoreOptmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemDefault != nil {
+ in, out := &in.NetCoreRmemDefault, &out.NetCoreRmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemMax != nil {
+ in, out := &in.NetCoreRmemMax, &out.NetCoreRmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreSomaxconn != nil {
+ in, out := &in.NetCoreSomaxconn, &out.NetCoreSomaxconn
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemDefault != nil {
+ in, out := &in.NetCoreWmemDefault, &out.NetCoreWmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemMax != nil {
+ in, out := &in.NetCoreWmemMax, &out.NetCoreWmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4IpLocalPortRange != nil {
+ in, out := &in.NetIpv4IpLocalPortRange, &out.NetIpv4IpLocalPortRange
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh1 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh1, &out.NetIpv4NeighDefaultGcThresh1
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh2 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh2, &out.NetIpv4NeighDefaultGcThresh2
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh3 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh3, &out.NetIpv4NeighDefaultGcThresh3
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpFinTimeout != nil {
+ in, out := &in.NetIpv4TcpFinTimeout, &out.NetIpv4TcpFinTimeout
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveProbes != nil {
+ in, out := &in.NetIpv4TcpKeepaliveProbes, &out.NetIpv4TcpKeepaliveProbes
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveTime != nil {
+ in, out := &in.NetIpv4TcpKeepaliveTime, &out.NetIpv4TcpKeepaliveTime
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxSynBacklog != nil {
+ in, out := &in.NetIpv4TcpMaxSynBacklog, &out.NetIpv4TcpMaxSynBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxTwBuckets != nil {
+ in, out := &in.NetIpv4TcpMaxTwBuckets, &out.NetIpv4TcpMaxTwBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpTwReuse != nil {
+ in, out := &in.NetIpv4TcpTwReuse, &out.NetIpv4TcpTwReuse
+ *out = new(bool)
+ **out = **in
+ }
+ if in.NetIpv4TcpkeepaliveIntvl != nil {
+ in, out := &in.NetIpv4TcpkeepaliveIntvl, &out.NetIpv4TcpkeepaliveIntvl
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackBuckets != nil {
+ in, out := &in.NetNetfilterNfConntrackBuckets, &out.NetNetfilterNfConntrackBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackMax != nil {
+ in, out := &in.NetNetfilterNfConntrackMax, &out.NetNetfilterNfConntrackMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.VmMaxMapCount != nil {
+ in, out := &in.VmMaxMapCount, &out.VmMaxMapCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmSwappiness != nil {
+ in, out := &in.VmSwappiness, &out.VmSwappiness
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmVfsCachePressure != nil {
+ in, out := &in.VmVfsCachePressure, &out.VmVfsCachePressure
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlConfig.
+func (in *SysctlConfig) DeepCopy() *SysctlConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(SysctlConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SysctlConfig_STATUS) DeepCopyInto(out *SysctlConfig_STATUS) {
+ *out = *in
+ if in.FsAioMaxNr != nil {
+ in, out := &in.FsAioMaxNr, &out.FsAioMaxNr
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsFileMax != nil {
+ in, out := &in.FsFileMax, &out.FsFileMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsInotifyMaxUserWatches != nil {
+ in, out := &in.FsInotifyMaxUserWatches, &out.FsInotifyMaxUserWatches
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsNrOpen != nil {
+ in, out := &in.FsNrOpen, &out.FsNrOpen
+ *out = new(int)
+ **out = **in
+ }
+ if in.KernelThreadsMax != nil {
+ in, out := &in.KernelThreadsMax, &out.KernelThreadsMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreNetdevMaxBacklog != nil {
+ in, out := &in.NetCoreNetdevMaxBacklog, &out.NetCoreNetdevMaxBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreOptmemMax != nil {
+ in, out := &in.NetCoreOptmemMax, &out.NetCoreOptmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemDefault != nil {
+ in, out := &in.NetCoreRmemDefault, &out.NetCoreRmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemMax != nil {
+ in, out := &in.NetCoreRmemMax, &out.NetCoreRmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreSomaxconn != nil {
+ in, out := &in.NetCoreSomaxconn, &out.NetCoreSomaxconn
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemDefault != nil {
+ in, out := &in.NetCoreWmemDefault, &out.NetCoreWmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemMax != nil {
+ in, out := &in.NetCoreWmemMax, &out.NetCoreWmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4IpLocalPortRange != nil {
+ in, out := &in.NetIpv4IpLocalPortRange, &out.NetIpv4IpLocalPortRange
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh1 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh1, &out.NetIpv4NeighDefaultGcThresh1
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh2 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh2, &out.NetIpv4NeighDefaultGcThresh2
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh3 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh3, &out.NetIpv4NeighDefaultGcThresh3
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpFinTimeout != nil {
+ in, out := &in.NetIpv4TcpFinTimeout, &out.NetIpv4TcpFinTimeout
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveProbes != nil {
+ in, out := &in.NetIpv4TcpKeepaliveProbes, &out.NetIpv4TcpKeepaliveProbes
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveTime != nil {
+ in, out := &in.NetIpv4TcpKeepaliveTime, &out.NetIpv4TcpKeepaliveTime
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxSynBacklog != nil {
+ in, out := &in.NetIpv4TcpMaxSynBacklog, &out.NetIpv4TcpMaxSynBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxTwBuckets != nil {
+ in, out := &in.NetIpv4TcpMaxTwBuckets, &out.NetIpv4TcpMaxTwBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpTwReuse != nil {
+ in, out := &in.NetIpv4TcpTwReuse, &out.NetIpv4TcpTwReuse
+ *out = new(bool)
+ **out = **in
+ }
+ if in.NetIpv4TcpkeepaliveIntvl != nil {
+ in, out := &in.NetIpv4TcpkeepaliveIntvl, &out.NetIpv4TcpkeepaliveIntvl
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackBuckets != nil {
+ in, out := &in.NetNetfilterNfConntrackBuckets, &out.NetNetfilterNfConntrackBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackMax != nil {
+ in, out := &in.NetNetfilterNfConntrackMax, &out.NetNetfilterNfConntrackMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.VmMaxMapCount != nil {
+ in, out := &in.VmMaxMapCount, &out.VmMaxMapCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmSwappiness != nil {
+ in, out := &in.VmSwappiness, &out.VmSwappiness
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmVfsCachePressure != nil {
+ in, out := &in.VmVfsCachePressure, &out.VmVfsCachePressure
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlConfig_STATUS.
+func (in *SysctlConfig_STATUS) DeepCopy() *SysctlConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(SysctlConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS) {
+ *out = *in
+ if in.CreatedAt != nil {
+ in, out := &in.CreatedAt, &out.CreatedAt
+ *out = new(string)
+ **out = **in
+ }
+ if in.CreatedBy != nil {
+ in, out := &in.CreatedBy, &out.CreatedBy
+ *out = new(string)
+ **out = **in
+ }
+ if in.CreatedByType != nil {
+ in, out := &in.CreatedByType, &out.CreatedByType
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedAt != nil {
+ in, out := &in.LastModifiedAt, &out.LastModifiedAt
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedBy != nil {
+ in, out := &in.LastModifiedBy, &out.LastModifiedBy
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedByType != nil {
+ in, out := &in.LastModifiedByType, &out.LastModifiedByType
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemData_STATUS.
+func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(SystemData_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBinding) DeepCopyInto(out *TrustedAccessRoleBinding) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBinding.
+func (in *TrustedAccessRoleBinding) DeepCopy() *TrustedAccessRoleBinding {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBinding)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBinding) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingList) DeepCopyInto(out *TrustedAccessRoleBindingList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]TrustedAccessRoleBinding, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingList.
+func (in *TrustedAccessRoleBindingList) DeepCopy() *TrustedAccessRoleBindingList {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBindingList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UpgradeOverrideSettings) DeepCopyInto(out *UpgradeOverrideSettings) {
+ *out = *in
+ if in.ForceUpgrade != nil {
+ in, out := &in.ForceUpgrade, &out.ForceUpgrade
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Until != nil {
+ in, out := &in.Until, &out.Until
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeOverrideSettings.
+func (in *UpgradeOverrideSettings) DeepCopy() *UpgradeOverrideSettings {
+ if in == nil {
+ return nil
+ }
+ out := new(UpgradeOverrideSettings)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UpgradeOverrideSettings_STATUS) DeepCopyInto(out *UpgradeOverrideSettings_STATUS) {
+ *out = *in
+ if in.ForceUpgrade != nil {
+ in, out := &in.ForceUpgrade, &out.ForceUpgrade
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Until != nil {
+ in, out := &in.Until, &out.Until
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeOverrideSettings_STATUS.
+func (in *UpgradeOverrideSettings_STATUS) DeepCopy() *UpgradeOverrideSettings_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(UpgradeOverrideSettings_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentity) DeepCopyInto(out *UserAssignedIdentity) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ObjectId != nil {
+ in, out := &in.ObjectId, &out.ObjectId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ResourceReference != nil {
+ in, out := &in.ResourceReference, &out.ResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentity.
+func (in *UserAssignedIdentity) DeepCopy() *UserAssignedIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentityDetails) DeepCopyInto(out *UserAssignedIdentityDetails) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ out.Reference = in.Reference
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentityDetails.
+func (in *UserAssignedIdentityDetails) DeepCopy() *UserAssignedIdentityDetails {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentityDetails)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentity_STATUS) DeepCopyInto(out *UserAssignedIdentity_STATUS) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ObjectId != nil {
+ in, out := &in.ObjectId, &out.ObjectId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentity_STATUS.
+func (in *UserAssignedIdentity_STATUS) DeepCopy() *UserAssignedIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachineNodes) DeepCopyInto(out *VirtualMachineNodes) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Size != nil {
+ in, out := &in.Size, &out.Size
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNodes.
+func (in *VirtualMachineNodes) DeepCopy() *VirtualMachineNodes {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachineNodes)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachineNodes_STATUS) DeepCopyInto(out *VirtualMachineNodes_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Size != nil {
+ in, out := &in.Size, &out.Size
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNodes_STATUS.
+func (in *VirtualMachineNodes_STATUS) DeepCopy() *VirtualMachineNodes_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachineNodes_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachinesProfile) DeepCopyInto(out *VirtualMachinesProfile) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Scale != nil {
+ in, out := &in.Scale, &out.Scale
+ *out = new(ScaleProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinesProfile.
+func (in *VirtualMachinesProfile) DeepCopy() *VirtualMachinesProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachinesProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachinesProfile_STATUS) DeepCopyInto(out *VirtualMachinesProfile_STATUS) {
+ *out = *in
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Scale != nil {
+ in, out := &in.Scale, &out.Scale
+ *out = new(ScaleProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinesProfile_STATUS.
+func (in *VirtualMachinesProfile_STATUS) DeepCopy() *VirtualMachinesProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachinesProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *WindowsGmsaProfile) DeepCopyInto(out *WindowsGmsaProfile) {
+ *out = *in
+ if in.DnsServer != nil {
+ in, out := &in.DnsServer, &out.DnsServer
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RootDomainName != nil {
+ in, out := &in.RootDomainName, &out.RootDomainName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsGmsaProfile.
+func (in *WindowsGmsaProfile) DeepCopy() *WindowsGmsaProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(WindowsGmsaProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *WindowsGmsaProfile_STATUS) DeepCopyInto(out *WindowsGmsaProfile_STATUS) {
+ *out = *in
+ if in.DnsServer != nil {
+ in, out := &in.DnsServer, &out.DnsServer
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.RootDomainName != nil {
+ in, out := &in.RootDomainName, &out.RootDomainName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsGmsaProfile_STATUS.
+func (in *WindowsGmsaProfile_STATUS) DeepCopy() *WindowsGmsaProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(WindowsGmsaProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/structure.txt
new file mode 100644
index 0000000000..0f3465e210
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/structure.txt
@@ -0,0 +1,3066 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview
+------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2024-04-02-preview"
+ManagedCluster: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (49 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (52 properties)[]
+│ │ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableCustomCATrust: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GatewayProfile: *Object (1 property)
+│ │ │ └── PublicIPPrefixSize: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 31
+│ │ │ └── Rule 1: Minimum: 28
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── GpuProfile: *Object (1 property)
+│ │ │ └── InstallGPUDriver: *bool
+│ │ ├── HostGroupReference: *genruntime.ResourceReference
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ │ └── Rule 0: Minimum: 2
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 90
+│ │ │ │ │ └── Rule 1: Minimum: 10
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 524288
+│ │ │ │ │ └── Rule 1: Minimum: 65536
+│ │ │ │ ├── NetNetfilterNfConntrackMax: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 2097152
+│ │ │ │ │ └── Rule 1: Minimum: 131072
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MessageOfTheDay: *string
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (3 values)
+│ │ │ ├── "Gateway"
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[a-z][a-z0-9]{0,11}$"
+│ │ ├── NetworkProfile: *Object (3 properties)
+│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ │ ├── PortEnd: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ ├── PortStart: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ └── Protocol: *Enum (2 values)
+│ │ │ │ ├── "TCP"
+│ │ │ │ └── "UDP"
+│ │ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ └── Tag: *string
+│ │ ├── NodeInitializationTaints: string[]
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (7 values)
+│ │ │ ├── "AzureLinux"
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Mariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ ├── "Windows2022"
+│ │ │ └── "WindowsAnnual"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodIPAllocationMode: *Enum (2 values)
+│ │ │ ├── "DynamicIndividual"
+│ │ │ └── "StaticBlock"
+│ │ ├── PodSubnetReference: *genruntime.ResourceReference
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SecurityProfile: *Object (3 properties)
+│ │ │ ├── EnableSecureBoot: *bool
+│ │ │ ├── EnableVTPM: *bool
+│ │ │ └── SshAccess: *Enum (2 values)
+│ │ │ ├── "Disabled"
+│ │ │ └── "LocalUser"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ ├── "VirtualMachineScaleSets"
+│ │ │ └── "VirtualMachines"
+│ │ ├── UpgradeSettings: *Object (4 properties)
+│ │ │ ├── DrainTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 1440
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ ├── MaxSurge: *string
+│ │ │ ├── NodeSoakDurationInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 30
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ └── UndrainableNodeBehavior: *Enum (2 values)
+│ │ │ ├── "Cordon"
+│ │ │ └── "Schedule"
+│ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Size: *string
+│ │ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ │ └── Scale: *Object (2 properties)
+│ │ │ ├── Autoscale: Object (3 properties)[]
+│ │ │ │ ├── MaxCount: *int
+│ │ │ │ ├── MinCount: *int
+│ │ │ │ └── Sizes: string[]
+│ │ │ └── Manual: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Sizes: string[]
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ │ ├── WindowsProfile: *Object (1 property)
+│ │ │ └── DisableOutboundNat: *bool
+│ │ └── WorkloadRuntime: *Enum (3 values)
+│ │ ├── "KataMshvVmIsolation"
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── AiToolchainOperatorProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (20 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (3 properties)
+│ │ ├── AppMonitoring: *Object (3 properties)
+│ │ │ ├── AutoInstrumentation: *Object (1 property)
+│ │ │ │ └── Enabled: *bool
+│ │ │ ├── OpenTelemetryLogs: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Port: *int
+│ │ │ └── OpenTelemetryMetrics: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Port: *int
+│ │ ├── ContainerInsights: *Object (5 properties)
+│ │ │ ├── DisableCustomMetrics: *bool
+│ │ │ ├── DisablePrometheusMetricsScraping: *bool
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── SyslogPort: *int
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 63
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$"
+│ ├── BootstrapProfile: *Object (2 properties)
+│ │ ├── ArtifactSource: *Enum (2 values)
+│ │ │ ├── "Cache"
+│ │ │ └── "Direct"
+│ │ └── ContainerRegistryReference: *genruntime.ResourceReference
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetReference: *genruntime.ResourceReference
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── Identity: *Object (3 properties)
+│ │ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ │ ├── Location: *string
+│ │ │ ├── ReferralResource: *string
+│ │ │ ├── ResourceReference: *genruntime.ResourceReference
+│ │ │ └── TenantId: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "None"
+│ │ │ ├── "SystemAssigned"
+│ │ │ └── "UserAssigned"
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceReference: *genruntime.ResourceReference
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (2 properties)
+│ │ ├── DnsZoneResourceReferences: genruntime.ResourceReference[]
+│ │ └── Enabled: *bool
+│ ├── Kind: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^[A-Za-z][-A-Za-z0-9_]*$"
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── Location: *string
+│ ├── MetricsProfile: *Object (1 property)
+│ │ └── CostAnalysis: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NetworkProfile: *Object (19 properties)
+│ │ ├── AdvancedNetworking: *Object (1 property)
+│ │ │ └── Observability: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DnsServiceIP: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (9 properties)
+│ │ │ ├── AllocatedOutboundPorts: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 64000
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── ClusterServiceLoadBalancerHealthProbeMode: *Enum (2 values)
+│ │ │ │ ├── "ServiceNodePort"
+│ │ │ │ └── "Shared"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: Validated<*int> (2 rules)
+│ │ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ │ └── CountIPv6: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 100
+│ │ │ │ └── Rule 1: Minimum: 0
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── IdleTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 120
+│ │ │ │ └── Rule 1: Minimum: 4
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 16
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (4 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ ├── "cilium"
+│ │ │ └── "none"
+│ │ ├── OutboundType: *Enum (5 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "none"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── PodCidrs: string[]
+│ │ ├── PodLinkLocalAccess: *Enum (2 values)
+│ │ │ ├── "IMDS"
+│ │ │ └── "None"
+│ │ ├── ServiceCidr: Validated<*string> (1 rule)
+│ │ │ └── Rule 0: Pattern: "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
+│ │ ├── ServiceCidrs: string[]
+│ │ └── StaticEgressGatewayProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NodeProvisioningProfile: *Object (1 property)
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Auto"
+│ │ └── "Manual"
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (1 property)
+│ │ │ └── OIDCIssuerProfile: *genruntime.ConfigMapDestination
+│ │ └── Secrets: *Object (2 properties)
+│ │ ├── AdminCredentials: *genruntime.SecretDestination
+│ │ └── UserCredentials: *genruntime.SecretDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceReference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Name: *string
+│ │ ├── Reference: *genruntime.ResourceReference
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SafeguardsProfile: *Object (3 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceReference: *genruntime.ResourceReference
+│ │ ├── CustomCATrustCertificates: Validated (2 rules)
+│ │ │ ├── Rule 0: MaxItems: 10
+│ │ │ └── Rule 1: MinItems: 0
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceReference: *genruntime.ResourceReference
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── ImageIntegrity: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultReference: *genruntime.ResourceReference
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (1 property)[]
+│ │ │ │ │ └── Enabled: *bool
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: Validated (1 rule)
+│ │ │ └── Rule 0: MaxItems: 2
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *genruntime.SecretReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (2 values)
+│ │ │ ├── "Automatic"
+│ │ │ └── "Base"
+│ │ └── Tier: *Enum (3 values)
+│ │ ├── "Free"
+│ │ ├── "Premium"
+│ │ └── "Standard"
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── Tags: map[string]string
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *genruntime.SecretReference
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── AddonAutoscaling: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ └── Enabled: *bool
+└── Status: Object (60 properties)
+ ├── AadProfile: *Object (7 properties)
+ │ ├── AdminGroupObjectIDs: string[]
+ │ ├── ClientAppID: *string
+ │ ├── EnableAzureRBAC: *bool
+ │ ├── Managed: *bool
+ │ ├── ServerAppID: *string
+ │ ├── ServerAppSecret: *string
+ │ └── TenantID: *string
+ ├── AddonProfiles: map[string]Object (3 properties)
+ │ ├── Config: map[string]string
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── AgentPoolProfiles: Object (56 properties)[]
+ │ ├── ArtifactStreamingProfile: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── AvailabilityZones: string[]
+ │ ├── CapacityReservationGroupID: *string
+ │ ├── Count: *int
+ │ ├── CreationData: *Object (1 property)
+ │ │ └── SourceResourceId: *string
+ │ ├── CurrentOrchestratorVersion: *string
+ │ ├── ETag: *string
+ │ ├── EnableAutoScaling: *bool
+ │ ├── EnableCustomCATrust: *bool
+ │ ├── EnableEncryptionAtHost: *bool
+ │ ├── EnableFIPS: *bool
+ │ ├── EnableNodePublicIP: *bool
+ │ ├── EnableUltraSSD: *bool
+ │ ├── GatewayProfile: *Object (1 property)
+ │ │ └── PublicIPPrefixSize: *int
+ │ ├── GpuInstanceProfile: *Enum (5 values)
+ │ │ ├── "MIG1g"
+ │ │ ├── "MIG2g"
+ │ │ ├── "MIG3g"
+ │ │ ├── "MIG4g"
+ │ │ └── "MIG7g"
+ │ ├── GpuProfile: *Object (1 property)
+ │ │ └── InstallGPUDriver: *bool
+ │ ├── HostGroupID: *string
+ │ ├── KubeletConfig: *Object (11 properties)
+ │ │ ├── AllowedUnsafeSysctls: string[]
+ │ │ ├── ContainerLogMaxFiles: *int
+ │ │ ├── ContainerLogMaxSizeMB: *int
+ │ │ ├── CpuCfsQuota: *bool
+ │ │ ├── CpuCfsQuotaPeriod: *string
+ │ │ ├── CpuManagerPolicy: *string
+ │ │ ├── FailSwapOn: *bool
+ │ │ ├── ImageGcHighThreshold: *int
+ │ │ ├── ImageGcLowThreshold: *int
+ │ │ ├── PodMaxPids: *int
+ │ │ └── TopologyManagerPolicy: *string
+ │ ├── KubeletDiskType: *Enum (2 values)
+ │ │ ├── "OS"
+ │ │ └── "Temporary"
+ │ ├── LinuxOSConfig: *Object (4 properties)
+ │ │ ├── SwapFileSizeMB: *int
+ │ │ ├── Sysctls: *Object (28 properties)
+ │ │ │ ├── FsAioMaxNr: *int
+ │ │ │ ├── FsFileMax: *int
+ │ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ │ ├── FsNrOpen: *int
+ │ │ │ ├── KernelThreadsMax: *int
+ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ │ ├── NetCoreOptmemMax: *int
+ │ │ │ ├── NetCoreRmemDefault: *int
+ │ │ │ ├── NetCoreRmemMax: *int
+ │ │ │ ├── NetCoreSomaxconn: *int
+ │ │ │ ├── NetCoreWmemDefault: *int
+ │ │ │ ├── NetCoreWmemMax: *int
+ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ │ ├── VmMaxMapCount: *int
+ │ │ │ ├── VmSwappiness: *int
+ │ │ │ └── VmVfsCachePressure: *int
+ │ │ ├── TransparentHugePageDefrag: *string
+ │ │ └── TransparentHugePageEnabled: *string
+ │ ├── MaxCount: *int
+ │ ├── MaxPods: *int
+ │ ├── MessageOfTheDay: *string
+ │ ├── MinCount: *int
+ │ ├── Mode: *Enum (3 values)
+ │ │ ├── "Gateway"
+ │ │ ├── "System"
+ │ │ └── "User"
+ │ ├── Name: *string
+ │ ├── NetworkProfile: *Object (3 properties)
+ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ │ ├── PortEnd: *int
+ │ │ │ ├── PortStart: *int
+ │ │ │ └── Protocol: *Enum (2 values)
+ │ │ │ ├── "TCP"
+ │ │ │ └── "UDP"
+ │ │ ├── ApplicationSecurityGroups: string[]
+ │ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ │ ├── IpTagType: *string
+ │ │ └── Tag: *string
+ │ ├── NodeImageVersion: *string
+ │ ├── NodeInitializationTaints: string[]
+ │ ├── NodeLabels: map[string]string
+ │ ├── NodePublicIPPrefixID: *string
+ │ ├── NodeTaints: string[]
+ │ ├── OrchestratorVersion: *string
+ │ ├── OsDiskSizeGB: *int
+ │ ├── OsDiskType: *Enum (2 values)
+ │ │ ├── "Ephemeral"
+ │ │ └── "Managed"
+ │ ├── OsSKU: *Enum (7 values)
+ │ │ ├── "AzureLinux"
+ │ │ ├── "CBLMariner"
+ │ │ ├── "Mariner"
+ │ │ ├── "Ubuntu"
+ │ │ ├── "Windows2019"
+ │ │ ├── "Windows2022"
+ │ │ └── "WindowsAnnual"
+ │ ├── OsType: *Enum (2 values)
+ │ │ ├── "Linux"
+ │ │ └── "Windows"
+ │ ├── PodIPAllocationMode: *Enum (2 values)
+ │ │ ├── "DynamicIndividual"
+ │ │ └── "StaticBlock"
+ │ ├── PodSubnetID: *string
+ │ ├── PowerState: *Object (1 property)
+ │ │ └── Code: *Enum (2 values)
+ │ │ ├── "Running"
+ │ │ └── "Stopped"
+ │ ├── ProvisioningState: *string
+ │ ├── ProximityPlacementGroupID: *string
+ │ ├── ScaleDownMode: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ │ ├── "Deallocate"
+ │ │ └── "Delete"
+ │ ├── ScaleSetPriority: *Enum (2 values)
+ │ │ ├── "Regular"
+ │ │ └── "Spot"
+ │ ├── SecurityProfile: *Object (3 properties)
+ │ │ ├── EnableSecureBoot: *bool
+ │ │ ├── EnableVTPM: *bool
+ │ │ └── SshAccess: *Enum (2 values)
+ │ │ ├── "Disabled"
+ │ │ └── "LocalUser"
+ │ ├── SpotMaxPrice: *float64
+ │ ├── Tags: map[string]string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "AvailabilitySet"
+ │ │ ├── "VirtualMachineScaleSets"
+ │ │ └── "VirtualMachines"
+ │ ├── UpgradeSettings: *Object (4 properties)
+ │ │ ├── DrainTimeoutInMinutes: *int
+ │ │ ├── MaxSurge: *string
+ │ │ ├── NodeSoakDurationInMinutes: *int
+ │ │ └── UndrainableNodeBehavior: *Enum (2 values)
+ │ │ ├── "Cordon"
+ │ │ └── "Schedule"
+ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+ │ │ ├── Count: *int
+ │ │ └── Size: *string
+ │ ├── VirtualMachinesProfile: *Object (1 property)
+ │ │ └── Scale: *Object (2 properties)
+ │ │ ├── Autoscale: Object (3 properties)[]
+ │ │ │ ├── MaxCount: *int
+ │ │ │ ├── MinCount: *int
+ │ │ │ └── Sizes: string[]
+ │ │ └── Manual: Object (2 properties)[]
+ │ │ ├── Count: *int
+ │ │ └── Sizes: string[]
+ │ ├── VmSize: *string
+ │ ├── VnetSubnetID: *string
+ │ ├── WindowsProfile: *Object (1 property)
+ │ │ └── DisableOutboundNat: *bool
+ │ └── WorkloadRuntime: *Enum (3 values)
+ │ ├── "KataMshvVmIsolation"
+ │ ├── "OCIContainer"
+ │ └── "WasmWasi"
+ ├── AiToolchainOperatorProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ApiServerAccessProfile: *Object (7 properties)
+ │ ├── AuthorizedIPRanges: string[]
+ │ ├── DisableRunCommand: *bool
+ │ ├── EnablePrivateCluster: *bool
+ │ ├── EnablePrivateClusterPublicFQDN: *bool
+ │ ├── EnableVnetIntegration: *bool
+ │ ├── PrivateDNSZone: *string
+ │ └── SubnetId: *string
+ ├── AutoScalerProfile: *Object (20 properties)
+ │ ├── BalanceSimilarNodeGroups: *string
+ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+ │ ├── Expander: *Enum (4 values)
+ │ │ ├── "least-waste"
+ │ │ ├── "most-pods"
+ │ │ ├── "priority"
+ │ │ └── "random"
+ │ ├── IgnoreDaemonsetsUtilization: *bool
+ │ ├── MaxEmptyBulkDelete: *string
+ │ ├── MaxGracefulTerminationSec: *string
+ │ ├── MaxNodeProvisionTime: *string
+ │ ├── MaxTotalUnreadyPercentage: *string
+ │ ├── NewPodScaleUpDelay: *string
+ │ ├── OkTotalUnreadyCount: *string
+ │ ├── ScaleDownDelayAfterAdd: *string
+ │ ├── ScaleDownDelayAfterDelete: *string
+ │ ├── ScaleDownDelayAfterFailure: *string
+ │ ├── ScaleDownUnneededTime: *string
+ │ ├── ScaleDownUnreadyTime: *string
+ │ ├── ScaleDownUtilizationThreshold: *string
+ │ ├── ScanInterval: *string
+ │ ├── SkipNodesWithLocalStorage: *string
+ │ └── SkipNodesWithSystemPods: *string
+ ├── AutoUpgradeProfile: *Object (2 properties)
+ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+ │ │ ├── "NodeImage"
+ │ │ ├── "None"
+ │ │ ├── "SecurityPatch"
+ │ │ └── "Unmanaged"
+ │ └── UpgradeChannel: *Enum (5 values)
+ │ ├── "node-image"
+ │ ├── "none"
+ │ ├── "patch"
+ │ ├── "rapid"
+ │ └── "stable"
+ ├── AzureMonitorProfile: *Object (3 properties)
+ │ ├── AppMonitoring: *Object (3 properties)
+ │ │ ├── AutoInstrumentation: *Object (1 property)
+ │ │ │ └── Enabled: *bool
+ │ │ ├── OpenTelemetryLogs: *Object (2 properties)
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── Port: *int
+ │ │ └── OpenTelemetryMetrics: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── Port: *int
+ │ ├── ContainerInsights: *Object (5 properties)
+ │ │ ├── DisableCustomMetrics: *bool
+ │ │ ├── DisablePrometheusMetricsScraping: *bool
+ │ │ ├── Enabled: *bool
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── SyslogPort: *int
+ │ └── Metrics: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── KubeStateMetrics: *Object (2 properties)
+ │ ├── MetricAnnotationsAllowList: *string
+ │ └── MetricLabelsAllowlist: *string
+ ├── AzurePortalFQDN: *string
+ ├── BootstrapProfile: *Object (2 properties)
+ │ ├── ArtifactSource: *Enum (2 values)
+ │ │ ├── "Cache"
+ │ │ └── "Direct"
+ │ └── ContainerRegistryId: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentKubernetesVersion: *string
+ ├── DisableLocalAccounts: *bool
+ ├── DiskEncryptionSetID: *string
+ ├── DnsPrefix: *string
+ ├── ETag: *string
+ ├── EnableNamespaceResources: *bool
+ ├── EnablePodSecurityPolicy: *bool
+ ├── EnableRBAC: *bool
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdn: *string
+ ├── FqdnSubdomain: *string
+ ├── HttpProxyConfig: *Object (5 properties)
+ │ ├── EffectiveNoProxy: string[]
+ │ ├── HttpProxy: *string
+ │ ├── HttpsProxy: *string
+ │ ├── NoProxy: string[]
+ │ └── TrustedCa: *string
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── DelegatedResources: map[string]Object (4 properties)
+ │ │ ├── Location: *string
+ │ │ ├── ReferralResource: *string
+ │ │ ├── ResourceId: *string
+ │ │ └── TenantId: *string
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (3 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── IdentityProfile: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── IngressProfile: *Object (1 property)
+ │ └── WebAppRouting: *Object (3 properties)
+ │ ├── DnsZoneResourceIds: string[]
+ │ ├── Enabled: *bool
+ │ └── Identity: *Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── ObjectId: *string
+ │ └── ResourceId: *string
+ ├── Kind: *string
+ ├── KubernetesVersion: *string
+ ├── LinuxProfile: *Object (2 properties)
+ │ ├── AdminUsername: *string
+ │ └── Ssh: *Object (1 property)
+ │ └── PublicKeys: Object (1 property)[]
+ │ └── KeyData: *string
+ ├── Location: *string
+ ├── MaxAgentPools: *int
+ ├── MetricsProfile: *Object (1 property)
+ │ └── CostAnalysis: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── Name: *string
+ ├── NetworkProfile: *Object (19 properties)
+ │ ├── AdvancedNetworking: *Object (1 property)
+ │ │ └── Observability: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── DnsServiceIP: *string
+ │ ├── IpFamilies: Enum (2 values)[]
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── KubeProxyConfig: *Object (3 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── IpvsConfig: *Object (4 properties)
+ │ │ │ ├── Scheduler: *Enum (2 values)
+ │ │ │ │ ├── "LeastConnection"
+ │ │ │ │ └── "RoundRobin"
+ │ │ │ ├── TcpFinTimeoutSeconds: *int
+ │ │ │ ├── TcpTimeoutSeconds: *int
+ │ │ │ └── UdpTimeoutSeconds: *int
+ │ │ └── Mode: *Enum (2 values)
+ │ │ ├── "IPTABLES"
+ │ │ └── "IPVS"
+ │ ├── LoadBalancerProfile: *Object (9 properties)
+ │ │ ├── AllocatedOutboundPorts: *int
+ │ │ ├── BackendPoolType: *Enum (2 values)
+ │ │ │ ├── "NodeIP"
+ │ │ │ └── "NodeIPConfiguration"
+ │ │ ├── ClusterServiceLoadBalancerHealthProbeMode: *Enum (2 values)
+ │ │ │ ├── "ServiceNodePort"
+ │ │ │ └── "Shared"
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+ │ │ │ ├── Count: *int
+ │ │ │ └── CountIPv6: *int
+ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ └── OutboundIPs: *Object (1 property)
+ │ │ └── PublicIPs: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerSku: *Enum (2 values)
+ │ │ ├── "basic"
+ │ │ └── "standard"
+ │ ├── NatGatewayProfile: *Object (3 properties)
+ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+ │ │ │ └── Id: *string
+ │ │ ├── IdleTimeoutInMinutes: *int
+ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+ │ │ └── Count: *int
+ │ ├── NetworkDataplane: *Enum (2 values)
+ │ │ ├── "azure"
+ │ │ └── "cilium"
+ │ ├── NetworkMode: *Enum (2 values)
+ │ │ ├── "bridge"
+ │ │ └── "transparent"
+ │ ├── NetworkPlugin: *Enum (3 values)
+ │ │ ├── "azure"
+ │ │ ├── "kubenet"
+ │ │ └── "none"
+ │ ├── NetworkPluginMode: *Enum (1 value)
+ │ │ └── "overlay"
+ │ ├── NetworkPolicy: *Enum (4 values)
+ │ │ ├── "azure"
+ │ │ ├── "calico"
+ │ │ ├── "cilium"
+ │ │ └── "none"
+ │ ├── OutboundType: *Enum (5 values)
+ │ │ ├── "loadBalancer"
+ │ │ ├── "managedNATGateway"
+ │ │ ├── "none"
+ │ │ ├── "userAssignedNATGateway"
+ │ │ └── "userDefinedRouting"
+ │ ├── PodCidr: *string
+ │ ├── PodCidrs: string[]
+ │ ├── PodLinkLocalAccess: *Enum (2 values)
+ │ │ ├── "IMDS"
+ │ │ └── "None"
+ │ ├── ServiceCidr: *string
+ │ ├── ServiceCidrs: string[]
+ │ └── StaticEgressGatewayProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── NodeProvisioningProfile: *Object (1 property)
+ │ └── Mode: *Enum (2 values)
+ │ ├── "Auto"
+ │ └── "Manual"
+ ├── NodeResourceGroup: *string
+ ├── NodeResourceGroupProfile: *Object (1 property)
+ │ └── RestrictionLevel: *Enum (2 values)
+ │ ├── "ReadOnly"
+ │ └── "Unrestricted"
+ ├── OidcIssuerProfile: *Object (2 properties)
+ │ ├── Enabled: *bool
+ │ └── IssuerURL: *string
+ ├── PodIdentityProfile: *Object (4 properties)
+ │ ├── AllowNetworkPluginKubenet: *bool
+ │ ├── Enabled: *bool
+ │ ├── UserAssignedIdentities: Object (6 properties)[]
+ │ │ ├── BindingSelector: *string
+ │ │ ├── Identity: *Object (3 properties)
+ │ │ │ ├── ClientId: *string
+ │ │ │ ├── ObjectId: *string
+ │ │ │ └── ResourceId: *string
+ │ │ ├── Name: *string
+ │ │ ├── Namespace: *string
+ │ │ ├── ProvisioningInfo: *Object (1 property)
+ │ │ │ └── Error: *Object (1 property)
+ │ │ │ └── Error: *Object (4 properties)
+ │ │ │ ├── Code: *string
+ │ │ │ ├── Details: Object (3 properties)[]
+ │ │ │ │ ├── Code: *string
+ │ │ │ │ ├── Message: *string
+ │ │ │ │ └── Target: *string
+ │ │ │ ├── Message: *string
+ │ │ │ └── Target: *string
+ │ │ └── ProvisioningState: *Enum (6 values)
+ │ │ ├── "Assigned"
+ │ │ ├── "Canceled"
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── Namespace: *string
+ │ └── PodLabels: map[string]string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PrivateFQDN: *string
+ ├── PrivateLinkResources: Object (6 properties)[]
+ │ ├── GroupId: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceID: *string
+ │ ├── RequiredMembers: string[]
+ │ └── Type: *string
+ ├── ProvisioningState: *string
+ ├── PublicNetworkAccess: *Enum (3 values)
+ │ ├── "Disabled"
+ │ ├── "Enabled"
+ │ └── "SecuredByPerimeter"
+ ├── ResourceUID: *string
+ ├── SafeguardsProfile: *Object (4 properties)
+ │ ├── ExcludedNamespaces: string[]
+ │ ├── Level: *Enum (3 values)
+ │ │ ├── "Enforcement"
+ │ │ ├── "Off"
+ │ │ └── "Warning"
+ │ ├── SystemExcludedNamespaces: string[]
+ │ └── Version: *string
+ ├── SecurityProfile: *Object (7 properties)
+ │ ├── AzureKeyVaultKms: *Object (4 properties)
+ │ │ ├── Enabled: *bool
+ │ │ ├── KeyId: *string
+ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+ │ │ │ ├── "Private"
+ │ │ │ └── "Public"
+ │ │ └── KeyVaultResourceId: *string
+ │ ├── CustomCATrustCertificates: string[]
+ │ ├── Defender: *Object (2 properties)
+ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+ │ │ └── SecurityMonitoring: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── ImageCleaner: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── IntervalHours: *int
+ │ ├── ImageIntegrity: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── NodeRestriction: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── WorkloadIdentity: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── ServiceMeshProfile: *Object (2 properties)
+ │ ├── Istio: *Object (3 properties)
+ │ │ ├── CertificateAuthority: *Object (1 property)
+ │ │ │ └── Plugin: *Object (5 properties)
+ │ │ │ ├── CertChainObjectName: *string
+ │ │ │ ├── CertObjectName: *string
+ │ │ │ ├── KeyObjectName: *string
+ │ │ │ ├── KeyVaultId: *string
+ │ │ │ └── RootCertObjectName: *string
+ │ │ ├── Components: *Object (2 properties)
+ │ │ │ ├── EgressGateways: Object (1 property)[]
+ │ │ │ │ └── Enabled: *bool
+ │ │ │ └── IngressGateways: Object (2 properties)[]
+ │ │ │ ├── Enabled: *bool
+ │ │ │ └── Mode: *Enum (2 values)
+ │ │ │ ├── "External"
+ │ │ │ └── "Internal"
+ │ │ └── Revisions: string[]
+ │ └── Mode: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Istio"
+ ├── ServicePrincipalProfile: *Object (1 property)
+ │ └── ClientId: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (2 values)
+ │ │ ├── "Automatic"
+ │ │ └── "Base"
+ │ └── Tier: *Enum (3 values)
+ │ ├── "Free"
+ │ ├── "Premium"
+ │ └── "Standard"
+ ├── StorageProfile: *Object (4 properties)
+ │ ├── BlobCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ ├── DiskCSIDriver: *Object (2 properties)
+ │ │ ├── Enabled: *bool
+ │ │ └── Version: *string
+ │ ├── FileCSIDriver: *Object (1 property)
+ │ │ └── Enabled: *bool
+ │ └── SnapshotController: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── SupportPlan: *Enum (2 values)
+ │ ├── "AKSLongTermSupport"
+ │ └── "KubernetesOfficial"
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (1 property)
+ │ └── OverrideSettings: *Object (2 properties)
+ │ ├── ForceUpgrade: *bool
+ │ └── Until: *string
+ ├── WindowsProfile: *Object (4 properties)
+ │ ├── AdminUsername: *string
+ │ ├── EnableCSIProxy: *bool
+ │ ├── GmsaProfile: *Object (3 properties)
+ │ │ ├── DnsServer: *string
+ │ │ ├── Enabled: *bool
+ │ │ └── RootDomainName: *string
+ │ └── LicenseType: *Enum (2 values)
+ │ ├── "None"
+ │ └── "Windows_Server"
+ └── WorkloadAutoScalerProfile: *Object (2 properties)
+ ├── Keda: *Object (1 property)
+ │ └── Enabled: *bool
+ └── VerticalPodAutoscaler: *Object (2 properties)
+ ├── AddonAutoscaling: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ └── Enabled: *bool
+ManagedCluster_STATUS_ARM: Object (12 properties)
+├── ETag: *string
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Identity: *Object (5 properties)
+│ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ ├── Location: *string
+│ │ ├── ReferralResource: *string
+│ │ ├── ResourceId: *string
+│ │ └── TenantId: *string
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Kind: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (48 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (3 properties)
+│ │ ├── Config: map[string]string
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── AgentPoolProfiles: Object (56 properties)[]
+│ │ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupID: *string
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceId: *string
+│ │ ├── CurrentOrchestratorVersion: *string
+│ │ ├── ETag: *string
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableCustomCATrust: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GatewayProfile: *Object (1 property)
+│ │ │ └── PublicIPPrefixSize: *int
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── GpuProfile: *Object (1 property)
+│ │ │ └── InstallGPUDriver: *bool
+│ │ ├── HostGroupID: *string
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MessageOfTheDay: *string
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (3 values)
+│ │ │ ├── "Gateway"
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (3 properties)
+│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ └── Protocol: *Enum (2 values)
+│ │ │ │ ├── "TCP"
+│ │ │ │ └── "UDP"
+│ │ │ ├── ApplicationSecurityGroups: string[]
+│ │ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ └── Tag: *string
+│ │ ├── NodeImageVersion: *string
+│ │ ├── NodeInitializationTaints: string[]
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *int
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (7 values)
+│ │ │ ├── "AzureLinux"
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Mariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ ├── "Windows2022"
+│ │ │ └── "WindowsAnnual"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodIPAllocationMode: *Enum (2 values)
+│ │ │ ├── "DynamicIndividual"
+│ │ │ └── "StaticBlock"
+│ │ ├── PodSubnetID: *string
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProvisioningState: *string
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SecurityProfile: *Object (3 properties)
+│ │ │ ├── EnableSecureBoot: *bool
+│ │ │ ├── EnableVTPM: *bool
+│ │ │ └── SshAccess: *Enum (2 values)
+│ │ │ ├── "Disabled"
+│ │ │ └── "LocalUser"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ ├── "VirtualMachineScaleSets"
+│ │ │ └── "VirtualMachines"
+│ │ ├── UpgradeSettings: *Object (4 properties)
+│ │ │ ├── DrainTimeoutInMinutes: *int
+│ │ │ ├── MaxSurge: *string
+│ │ │ ├── NodeSoakDurationInMinutes: *int
+│ │ │ └── UndrainableNodeBehavior: *Enum (2 values)
+│ │ │ ├── "Cordon"
+│ │ │ └── "Schedule"
+│ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Size: *string
+│ │ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ │ └── Scale: *Object (2 properties)
+│ │ │ ├── Autoscale: Object (3 properties)[]
+│ │ │ │ ├── MaxCount: *int
+│ │ │ │ ├── MinCount: *int
+│ │ │ │ └── Sizes: string[]
+│ │ │ └── Manual: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Sizes: string[]
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetID: *string
+│ │ ├── WindowsProfile: *Object (1 property)
+│ │ │ └── DisableOutboundNat: *bool
+│ │ └── WorkloadRuntime: *Enum (3 values)
+│ │ ├── "KataMshvVmIsolation"
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── AiToolchainOperatorProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (20 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (3 properties)
+│ │ ├── AppMonitoring: *Object (3 properties)
+│ │ │ ├── AutoInstrumentation: *Object (1 property)
+│ │ │ │ └── Enabled: *bool
+│ │ │ ├── OpenTelemetryLogs: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Port: *int
+│ │ │ └── OpenTelemetryMetrics: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Port: *int
+│ │ ├── ContainerInsights: *Object (5 properties)
+│ │ │ ├── DisableCustomMetrics: *bool
+│ │ │ ├── DisablePrometheusMetricsScraping: *bool
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SyslogPort: *int
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── AzurePortalFQDN: *string
+│ ├── BootstrapProfile: *Object (2 properties)
+│ │ ├── ArtifactSource: *Enum (2 values)
+│ │ │ ├── "Cache"
+│ │ │ └── "Direct"
+│ │ └── ContainerRegistryId: *string
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentKubernetesVersion: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── Fqdn: *string
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (5 properties)
+│ │ ├── EffectiveNoProxy: string[]
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (3 properties)
+│ │ ├── DnsZoneResourceIds: string[]
+│ │ ├── Enabled: *bool
+│ │ └── Identity: *Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MaxAgentPools: *int
+│ ├── MetricsProfile: *Object (1 property)
+│ │ └── CostAnalysis: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NetworkProfile: *Object (19 properties)
+│ │ ├── AdvancedNetworking: *Object (1 property)
+│ │ │ └── Observability: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (9 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── ClusterServiceLoadBalancerHealthProbeMode: *Enum (2 values)
+│ │ │ │ ├── "ServiceNodePort"
+│ │ │ │ └── "Shared"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (4 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ ├── "cilium"
+│ │ │ └── "none"
+│ │ ├── OutboundType: *Enum (5 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "none"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PodLinkLocalAccess: *Enum (2 values)
+│ │ │ ├── "IMDS"
+│ │ │ └── "None"
+│ │ ├── ServiceCidr: *string
+│ │ ├── ServiceCidrs: string[]
+│ │ └── StaticEgressGatewayProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NodeProvisioningProfile: *Object (1 property)
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Auto"
+│ │ └── "Manual"
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── IssuerURL: *string
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (6 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ ├── Namespace: *string
+│ │ │ ├── ProvisioningInfo: *Object (1 property)
+│ │ │ │ └── Error: *Object (1 property)
+│ │ │ │ └── Error: *Object (4 properties)
+│ │ │ │ ├── Code: *string
+│ │ │ │ ├── Details: Object (3 properties)[]
+│ │ │ │ │ ├── Code: *string
+│ │ │ │ │ ├── Message: *string
+│ │ │ │ │ └── Target: *string
+│ │ │ │ ├── Message: *string
+│ │ │ │ └── Target: *string
+│ │ │ └── ProvisioningState: *Enum (6 values)
+│ │ │ ├── "Assigned"
+│ │ │ ├── "Canceled"
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── PrivateFQDN: *string
+│ ├── PrivateLinkResources: Object (6 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceID: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── ProvisioningState: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── ResourceUID: *string
+│ ├── SafeguardsProfile: *Object (4 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ ├── SystemExcludedNamespaces: string[]
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── CustomCATrustCertificates: string[]
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── ImageIntegrity: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultId: *string
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (1 property)[]
+│ │ │ │ │ └── Enabled: *bool
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: string[]
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (1 property)
+│ │ └── ClientId: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (4 properties)
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── AddonAutoscaling: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (2 values)
+│ │ ├── "Automatic"
+│ │ └── "Base"
+│ └── Tier: *Enum (3 values)
+│ ├── "Free"
+│ ├── "Premium"
+│ └── "Standard"
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+ManagedCluster_Spec_ARM: Object (8 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Identity: *Object (3 properties)
+│ ├── DelegatedResources: map[string]Object (4 properties)
+│ │ ├── Location: *string
+│ │ ├── ReferralResource: *string
+│ │ ├── ResourceId: *string
+│ │ └── TenantId: *string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Kind: *string
+├── Location: *string
+├── Name: string
+├── Properties: *Object (40 properties)
+│ ├── AadProfile: *Object (7 properties)
+│ │ ├── AdminGroupObjectIDs: string[]
+│ │ ├── ClientAppID: *string
+│ │ ├── EnableAzureRBAC: *bool
+│ │ ├── Managed: *bool
+│ │ ├── ServerAppID: *string
+│ │ ├── ServerAppSecret: *string
+│ │ └── TenantID: *string
+│ ├── AddonProfiles: map[string]Object (2 properties)
+│ │ ├── Config: map[string]string
+│ │ └── Enabled: *bool
+│ ├── AgentPoolProfiles: Object (52 properties)[]
+│ │ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── AvailabilityZones: string[]
+│ │ ├── CapacityReservationGroupID: *string
+│ │ ├── Count: *int
+│ │ ├── CreationData: *Object (1 property)
+│ │ │ └── SourceResourceId: *string
+│ │ ├── EnableAutoScaling: *bool
+│ │ ├── EnableCustomCATrust: *bool
+│ │ ├── EnableEncryptionAtHost: *bool
+│ │ ├── EnableFIPS: *bool
+│ │ ├── EnableNodePublicIP: *bool
+│ │ ├── EnableUltraSSD: *bool
+│ │ ├── GatewayProfile: *Object (1 property)
+│ │ │ └── PublicIPPrefixSize: *int
+│ │ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ │ ├── "MIG1g"
+│ │ │ ├── "MIG2g"
+│ │ │ ├── "MIG3g"
+│ │ │ ├── "MIG4g"
+│ │ │ └── "MIG7g"
+│ │ ├── GpuProfile: *Object (1 property)
+│ │ │ └── InstallGPUDriver: *bool
+│ │ ├── HostGroupID: *string
+│ │ ├── KubeletConfig: *Object (11 properties)
+│ │ │ ├── AllowedUnsafeSysctls: string[]
+│ │ │ ├── ContainerLogMaxFiles: *int
+│ │ │ ├── ContainerLogMaxSizeMB: *int
+│ │ │ ├── CpuCfsQuota: *bool
+│ │ │ ├── CpuCfsQuotaPeriod: *string
+│ │ │ ├── CpuManagerPolicy: *string
+│ │ │ ├── FailSwapOn: *bool
+│ │ │ ├── ImageGcHighThreshold: *int
+│ │ │ ├── ImageGcLowThreshold: *int
+│ │ │ ├── PodMaxPids: *int
+│ │ │ └── TopologyManagerPolicy: *string
+│ │ ├── KubeletDiskType: *Enum (2 values)
+│ │ │ ├── "OS"
+│ │ │ └── "Temporary"
+│ │ ├── LinuxOSConfig: *Object (4 properties)
+│ │ │ ├── SwapFileSizeMB: *int
+│ │ │ ├── Sysctls: *Object (28 properties)
+│ │ │ │ ├── FsAioMaxNr: *int
+│ │ │ │ ├── FsFileMax: *int
+│ │ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ │ ├── FsNrOpen: *int
+│ │ │ │ ├── KernelThreadsMax: *int
+│ │ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ │ ├── NetCoreRmemMax: *int
+│ │ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ │ ├── NetCoreWmemMax: *int
+│ │ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ │ ├── VmMaxMapCount: *int
+│ │ │ │ ├── VmSwappiness: *int
+│ │ │ │ └── VmVfsCachePressure: *int
+│ │ │ ├── TransparentHugePageDefrag: *string
+│ │ │ └── TransparentHugePageEnabled: *string
+│ │ ├── MaxCount: *int
+│ │ ├── MaxPods: *int
+│ │ ├── MessageOfTheDay: *string
+│ │ ├── MinCount: *int
+│ │ ├── Mode: *Enum (3 values)
+│ │ │ ├── "Gateway"
+│ │ │ ├── "System"
+│ │ │ └── "User"
+│ │ ├── Name: *string
+│ │ ├── NetworkProfile: *Object (3 properties)
+│ │ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ │ ├── PortEnd: *int
+│ │ │ │ ├── PortStart: *int
+│ │ │ │ └── Protocol: *Enum (2 values)
+│ │ │ │ ├── "TCP"
+│ │ │ │ └── "UDP"
+│ │ │ ├── ApplicationSecurityGroups: string[]
+│ │ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ │ ├── IpTagType: *string
+│ │ │ └── Tag: *string
+│ │ ├── NodeInitializationTaints: string[]
+│ │ ├── NodeLabels: map[string]string
+│ │ ├── NodePublicIPPrefixID: *string
+│ │ ├── NodeTaints: string[]
+│ │ ├── OrchestratorVersion: *string
+│ │ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ │ ├── Rule 0: Maximum: 2048
+│ │ │ └── Rule 1: Minimum: 0
+│ │ ├── OsDiskType: *Enum (2 values)
+│ │ │ ├── "Ephemeral"
+│ │ │ └── "Managed"
+│ │ ├── OsSKU: *Enum (7 values)
+│ │ │ ├── "AzureLinux"
+│ │ │ ├── "CBLMariner"
+│ │ │ ├── "Mariner"
+│ │ │ ├── "Ubuntu"
+│ │ │ ├── "Windows2019"
+│ │ │ ├── "Windows2022"
+│ │ │ └── "WindowsAnnual"
+│ │ ├── OsType: *Enum (2 values)
+│ │ │ ├── "Linux"
+│ │ │ └── "Windows"
+│ │ ├── PodIPAllocationMode: *Enum (2 values)
+│ │ │ ├── "DynamicIndividual"
+│ │ │ └── "StaticBlock"
+│ │ ├── PodSubnetID: *string
+│ │ ├── PowerState: *Object (1 property)
+│ │ │ └── Code: *Enum (2 values)
+│ │ │ ├── "Running"
+│ │ │ └── "Stopped"
+│ │ ├── ProximityPlacementGroupID: *string
+│ │ ├── ScaleDownMode: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ │ ├── "Deallocate"
+│ │ │ └── "Delete"
+│ │ ├── ScaleSetPriority: *Enum (2 values)
+│ │ │ ├── "Regular"
+│ │ │ └── "Spot"
+│ │ ├── SecurityProfile: *Object (3 properties)
+│ │ │ ├── EnableSecureBoot: *bool
+│ │ │ ├── EnableVTPM: *bool
+│ │ │ └── SshAccess: *Enum (2 values)
+│ │ │ ├── "Disabled"
+│ │ │ └── "LocalUser"
+│ │ ├── SpotMaxPrice: *float64
+│ │ ├── Tags: map[string]string
+│ │ ├── Type: *Enum (3 values)
+│ │ │ ├── "AvailabilitySet"
+│ │ │ ├── "VirtualMachineScaleSets"
+│ │ │ └── "VirtualMachines"
+│ │ ├── UpgradeSettings: *Object (4 properties)
+│ │ │ ├── DrainTimeoutInMinutes: *int
+│ │ │ ├── MaxSurge: *string
+│ │ │ ├── NodeSoakDurationInMinutes: *int
+│ │ │ └── UndrainableNodeBehavior: *Enum (2 values)
+│ │ │ ├── "Cordon"
+│ │ │ └── "Schedule"
+│ │ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Size: *string
+│ │ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ │ └── Scale: *Object (2 properties)
+│ │ │ ├── Autoscale: Object (3 properties)[]
+│ │ │ │ ├── MaxCount: *int
+│ │ │ │ ├── MinCount: *int
+│ │ │ │ └── Sizes: string[]
+│ │ │ └── Manual: Object (2 properties)[]
+│ │ │ ├── Count: *int
+│ │ │ └── Sizes: string[]
+│ │ ├── VmSize: *string
+│ │ ├── VnetSubnetID: *string
+│ │ ├── WindowsProfile: *Object (1 property)
+│ │ │ └── DisableOutboundNat: *bool
+│ │ └── WorkloadRuntime: *Enum (3 values)
+│ │ ├── "KataMshvVmIsolation"
+│ │ ├── "OCIContainer"
+│ │ └── "WasmWasi"
+│ ├── AiToolchainOperatorProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ApiServerAccessProfile: *Object (7 properties)
+│ │ ├── AuthorizedIPRanges: string[]
+│ │ ├── DisableRunCommand: *bool
+│ │ ├── EnablePrivateCluster: *bool
+│ │ ├── EnablePrivateClusterPublicFQDN: *bool
+│ │ ├── EnableVnetIntegration: *bool
+│ │ ├── PrivateDNSZone: *string
+│ │ └── SubnetId: *string
+│ ├── AutoScalerProfile: *Object (20 properties)
+│ │ ├── BalanceSimilarNodeGroups: *string
+│ │ ├── DaemonsetEvictionForEmptyNodes: *bool
+│ │ ├── DaemonsetEvictionForOccupiedNodes: *bool
+│ │ ├── Expander: *Enum (4 values)
+│ │ │ ├── "least-waste"
+│ │ │ ├── "most-pods"
+│ │ │ ├── "priority"
+│ │ │ └── "random"
+│ │ ├── IgnoreDaemonsetsUtilization: *bool
+│ │ ├── MaxEmptyBulkDelete: *string
+│ │ ├── MaxGracefulTerminationSec: *string
+│ │ ├── MaxNodeProvisionTime: *string
+│ │ ├── MaxTotalUnreadyPercentage: *string
+│ │ ├── NewPodScaleUpDelay: *string
+│ │ ├── OkTotalUnreadyCount: *string
+│ │ ├── ScaleDownDelayAfterAdd: *string
+│ │ ├── ScaleDownDelayAfterDelete: *string
+│ │ ├── ScaleDownDelayAfterFailure: *string
+│ │ ├── ScaleDownUnneededTime: *string
+│ │ ├── ScaleDownUnreadyTime: *string
+│ │ ├── ScaleDownUtilizationThreshold: *string
+│ │ ├── ScanInterval: *string
+│ │ ├── SkipNodesWithLocalStorage: *string
+│ │ └── SkipNodesWithSystemPods: *string
+│ ├── AutoUpgradeProfile: *Object (2 properties)
+│ │ ├── NodeOSUpgradeChannel: *Enum (4 values)
+│ │ │ ├── "NodeImage"
+│ │ │ ├── "None"
+│ │ │ ├── "SecurityPatch"
+│ │ │ └── "Unmanaged"
+│ │ └── UpgradeChannel: *Enum (5 values)
+│ │ ├── "node-image"
+│ │ ├── "none"
+│ │ ├── "patch"
+│ │ ├── "rapid"
+│ │ └── "stable"
+│ ├── AzureMonitorProfile: *Object (3 properties)
+│ │ ├── AppMonitoring: *Object (3 properties)
+│ │ │ ├── AutoInstrumentation: *Object (1 property)
+│ │ │ │ └── Enabled: *bool
+│ │ │ ├── OpenTelemetryLogs: *Object (2 properties)
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Port: *int
+│ │ │ └── OpenTelemetryMetrics: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Port: *int
+│ │ ├── ContainerInsights: *Object (5 properties)
+│ │ │ ├── DisableCustomMetrics: *bool
+│ │ │ ├── DisablePrometheusMetricsScraping: *bool
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SyslogPort: *int
+│ │ └── Metrics: *Object (2 properties)
+│ │ ├── Enabled: *bool
+│ │ └── KubeStateMetrics: *Object (2 properties)
+│ │ ├── MetricAnnotationsAllowList: *string
+│ │ └── MetricLabelsAllowlist: *string
+│ ├── BootstrapProfile: *Object (2 properties)
+│ │ ├── ArtifactSource: *Enum (2 values)
+│ │ │ ├── "Cache"
+│ │ │ └── "Direct"
+│ │ └── ContainerRegistryId: *string
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── DisableLocalAccounts: *bool
+│ ├── DiskEncryptionSetID: *string
+│ ├── DnsPrefix: *string
+│ ├── EnableNamespaceResources: *bool
+│ ├── EnablePodSecurityPolicy: *bool
+│ ├── EnableRBAC: *bool
+│ ├── FqdnSubdomain: *string
+│ ├── HttpProxyConfig: *Object (4 properties)
+│ │ ├── HttpProxy: *string
+│ │ ├── HttpsProxy: *string
+│ │ ├── NoProxy: string[]
+│ │ └── TrustedCa: *string
+│ ├── IdentityProfile: map[string]Object (3 properties)
+│ │ ├── ClientId: *string
+│ │ ├── ObjectId: *string
+│ │ └── ResourceId: *string
+│ ├── IngressProfile: *Object (1 property)
+│ │ └── WebAppRouting: *Object (2 properties)
+│ │ ├── DnsZoneResourceIds: string[]
+│ │ └── Enabled: *bool
+│ ├── KubernetesVersion: *string
+│ ├── LinuxProfile: *Object (2 properties)
+│ │ ├── AdminUsername: *string
+│ │ └── Ssh: *Object (1 property)
+│ │ └── PublicKeys: Object (1 property)[]
+│ │ └── KeyData: *string
+│ ├── MetricsProfile: *Object (1 property)
+│ │ └── CostAnalysis: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NetworkProfile: *Object (19 properties)
+│ │ ├── AdvancedNetworking: *Object (1 property)
+│ │ │ └── Observability: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DnsServiceIP: *string
+│ │ ├── IpFamilies: Enum (2 values)[]
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── KubeProxyConfig: *Object (3 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── IpvsConfig: *Object (4 properties)
+│ │ │ │ ├── Scheduler: *Enum (2 values)
+│ │ │ │ │ ├── "LeastConnection"
+│ │ │ │ │ └── "RoundRobin"
+│ │ │ │ ├── TcpFinTimeoutSeconds: *int
+│ │ │ │ ├── TcpTimeoutSeconds: *int
+│ │ │ │ └── UdpTimeoutSeconds: *int
+│ │ │ └── Mode: *Enum (2 values)
+│ │ │ ├── "IPTABLES"
+│ │ │ └── "IPVS"
+│ │ ├── LoadBalancerProfile: *Object (9 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendPoolType: *Enum (2 values)
+│ │ │ │ ├── "NodeIP"
+│ │ │ │ └── "NodeIPConfiguration"
+│ │ │ ├── ClusterServiceLoadBalancerHealthProbeMode: *Enum (2 values)
+│ │ │ │ ├── "ServiceNodePort"
+│ │ │ │ └── "Shared"
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableMultipleStandardLoadBalancers: *bool
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── ManagedOutboundIPs: *Object (2 properties)
+│ │ │ │ ├── Count: *int
+│ │ │ │ └── CountIPv6: *int
+│ │ │ ├── OutboundIPPrefixes: *Object (1 property)
+│ │ │ │ └── PublicIPPrefixes: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── OutboundIPs: *Object (1 property)
+│ │ │ └── PublicIPs: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerSku: *Enum (2 values)
+│ │ │ ├── "basic"
+│ │ │ └── "standard"
+│ │ ├── NatGatewayProfile: *Object (3 properties)
+│ │ │ ├── EffectiveOutboundIPs: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ └── ManagedOutboundIPProfile: *Object (1 property)
+│ │ │ └── Count: *int
+│ │ ├── NetworkDataplane: *Enum (2 values)
+│ │ │ ├── "azure"
+│ │ │ └── "cilium"
+│ │ ├── NetworkMode: *Enum (2 values)
+│ │ │ ├── "bridge"
+│ │ │ └── "transparent"
+│ │ ├── NetworkPlugin: *Enum (3 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "kubenet"
+│ │ │ └── "none"
+│ │ ├── NetworkPluginMode: *Enum (1 value)
+│ │ │ └── "overlay"
+│ │ ├── NetworkPolicy: *Enum (4 values)
+│ │ │ ├── "azure"
+│ │ │ ├── "calico"
+│ │ │ ├── "cilium"
+│ │ │ └── "none"
+│ │ ├── OutboundType: *Enum (5 values)
+│ │ │ ├── "loadBalancer"
+│ │ │ ├── "managedNATGateway"
+│ │ │ ├── "none"
+│ │ │ ├── "userAssignedNATGateway"
+│ │ │ └── "userDefinedRouting"
+│ │ ├── PodCidr: *string
+│ │ ├── PodCidrs: string[]
+│ │ ├── PodLinkLocalAccess: *Enum (2 values)
+│ │ │ ├── "IMDS"
+│ │ │ └── "None"
+│ │ ├── ServiceCidr: *string
+│ │ ├── ServiceCidrs: string[]
+│ │ └── StaticEgressGatewayProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── NodeProvisioningProfile: *Object (1 property)
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Auto"
+│ │ └── "Manual"
+│ ├── NodeResourceGroup: *string
+│ ├── NodeResourceGroupProfile: *Object (1 property)
+│ │ └── RestrictionLevel: *Enum (2 values)
+│ │ ├── "ReadOnly"
+│ │ └── "Unrestricted"
+│ ├── OidcIssuerProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── PodIdentityProfile: *Object (4 properties)
+│ │ ├── AllowNetworkPluginKubenet: *bool
+│ │ ├── Enabled: *bool
+│ │ ├── UserAssignedIdentities: Object (4 properties)[]
+│ │ │ ├── BindingSelector: *string
+│ │ │ ├── Identity: *Object (3 properties)
+│ │ │ │ ├── ClientId: *string
+│ │ │ │ ├── ObjectId: *string
+│ │ │ │ └── ResourceId: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Namespace: *string
+│ │ └── UserAssignedIdentityExceptions: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Namespace: *string
+│ │ └── PodLabels: map[string]string
+│ ├── PrivateLinkResources: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── RequiredMembers: string[]
+│ │ └── Type: *string
+│ ├── PublicNetworkAccess: *Enum (3 values)
+│ │ ├── "Disabled"
+│ │ ├── "Enabled"
+│ │ └── "SecuredByPerimeter"
+│ ├── SafeguardsProfile: *Object (3 properties)
+│ │ ├── ExcludedNamespaces: string[]
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Enforcement"
+│ │ │ ├── "Off"
+│ │ │ └── "Warning"
+│ │ └── Version: *string
+│ ├── SecurityProfile: *Object (7 properties)
+│ │ ├── AzureKeyVaultKms: *Object (4 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ ├── KeyId: *string
+│ │ │ ├── KeyVaultNetworkAccess: *Enum (2 values)
+│ │ │ │ ├── "Private"
+│ │ │ │ └── "Public"
+│ │ │ └── KeyVaultResourceId: *string
+│ │ ├── CustomCATrustCertificates: Validated (2 rules)
+│ │ │ ├── Rule 0: MaxItems: 10
+│ │ │ └── Rule 1: MinItems: 0
+│ │ ├── Defender: *Object (2 properties)
+│ │ │ ├── LogAnalyticsWorkspaceResourceId: *string
+│ │ │ └── SecurityMonitoring: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── ImageCleaner: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── IntervalHours: *int
+│ │ ├── ImageIntegrity: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── NodeRestriction: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── WorkloadIdentity: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── ServiceMeshProfile: *Object (2 properties)
+│ │ ├── Istio: *Object (3 properties)
+│ │ │ ├── CertificateAuthority: *Object (1 property)
+│ │ │ │ └── Plugin: *Object (5 properties)
+│ │ │ │ ├── CertChainObjectName: *string
+│ │ │ │ ├── CertObjectName: *string
+│ │ │ │ ├── KeyObjectName: *string
+│ │ │ │ ├── KeyVaultId: *string
+│ │ │ │ └── RootCertObjectName: *string
+│ │ │ ├── Components: *Object (2 properties)
+│ │ │ │ ├── EgressGateways: Object (1 property)[]
+│ │ │ │ │ └── Enabled: *bool
+│ │ │ │ └── IngressGateways: Object (2 properties)[]
+│ │ │ │ ├── Enabled: *bool
+│ │ │ │ └── Mode: *Enum (2 values)
+│ │ │ │ ├── "External"
+│ │ │ │ └── "Internal"
+│ │ │ └── Revisions: string[]
+│ │ └── Mode: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Istio"
+│ ├── ServicePrincipalProfile: *Object (2 properties)
+│ │ ├── ClientId: *string
+│ │ └── Secret: *string
+│ ├── StorageProfile: *Object (4 properties)
+│ │ ├── BlobCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ ├── DiskCSIDriver: *Object (2 properties)
+│ │ │ ├── Enabled: *bool
+│ │ │ └── Version: *string
+│ │ ├── FileCSIDriver: *Object (1 property)
+│ │ │ └── Enabled: *bool
+│ │ └── SnapshotController: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── SupportPlan: *Enum (2 values)
+│ │ ├── "AKSLongTermSupport"
+│ │ └── "KubernetesOfficial"
+│ ├── UpgradeSettings: *Object (1 property)
+│ │ └── OverrideSettings: *Object (2 properties)
+│ │ ├── ForceUpgrade: *bool
+│ │ └── Until: *string
+│ ├── WindowsProfile: *Object (5 properties)
+│ │ ├── AdminPassword: *string
+│ │ ├── AdminUsername: *string
+│ │ ├── EnableCSIProxy: *bool
+│ │ ├── GmsaProfile: *Object (3 properties)
+│ │ │ ├── DnsServer: *string
+│ │ │ ├── Enabled: *bool
+│ │ │ └── RootDomainName: *string
+│ │ └── LicenseType: *Enum (2 values)
+│ │ ├── "None"
+│ │ └── "Windows_Server"
+│ └── WorkloadAutoScalerProfile: *Object (2 properties)
+│ ├── Keda: *Object (1 property)
+│ │ └── Enabled: *bool
+│ └── VerticalPodAutoscaler: *Object (2 properties)
+│ ├── AddonAutoscaling: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ └── Enabled: *bool
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (2 values)
+│ │ ├── "Automatic"
+│ │ └── "Base"
+│ └── Tier: *Enum (3 values)
+│ ├── "Free"
+│ ├── "Premium"
+│ └── "Standard"
+└── Tags: map[string]string
+ManagedClustersAgentPool: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (53 properties)
+│ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── AvailabilityZones: string[]
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 12
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^[a-z][a-z0-9]{0,11}$"
+│ ├── CapacityReservationGroupReference: *genruntime.ResourceReference
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceReference: *genruntime.ResourceReference
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GatewayProfile: *Object (1 property)
+│ │ └── PublicIPPrefixSize: Validated<*int> (2 rules)
+│ │ ├── Rule 0: Maximum: 31
+│ │ └── Rule 1: Minimum: 28
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── GpuProfile: *Object (1 property)
+│ │ └── InstallGPUDriver: *bool
+│ ├── HostGroupReference: *genruntime.ResourceReference
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 90
+│ │ │ │ └── Rule 1: Minimum: 10
+│ │ │ ├── NetNetfilterNfConntrackBuckets: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 524288
+│ │ │ │ └── Rule 1: Minimum: 65536
+│ │ │ ├── NetNetfilterNfConntrackMax: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 2097152
+│ │ │ │ └── Rule 1: Minimum: 131072
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (3 values)
+│ │ ├── "Gateway"
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ ├── PortStart: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroupsReferences: genruntime.ResourceReference[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeInitializationTaints: string[]
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixReference: *genruntime.ResourceReference
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *Validated (2 rules)
+│ │ ├── Rule 0: Maximum: 2048
+│ │ └── Rule 1: Minimum: 0
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (7 values)
+│ │ ├── "AzureLinux"
+│ │ ├── "CBLMariner"
+│ │ ├── "Mariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ ├── "Windows2022"
+│ │ └── "WindowsAnnual"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PodIPAllocationMode: *Enum (2 values)
+│ │ ├── "DynamicIndividual"
+│ │ └── "StaticBlock"
+│ ├── PodSubnetReference: *genruntime.ResourceReference
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProximityPlacementGroupReference: *genruntime.ResourceReference
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SecurityProfile: *Object (3 properties)
+│ │ ├── EnableSecureBoot: *bool
+│ │ ├── EnableVTPM: *bool
+│ │ └── SshAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "LocalUser"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "AvailabilitySet"
+│ │ ├── "VirtualMachineScaleSets"
+│ │ └── "VirtualMachines"
+│ ├── UpgradeSettings: *Object (4 properties)
+│ │ ├── DrainTimeoutInMinutes: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 1440
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── MaxSurge: *string
+│ │ ├── NodeSoakDurationInMinutes: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 30
+│ │ │ └── Rule 1: Minimum: 0
+│ │ └── UndrainableNodeBehavior: *Enum (2 values)
+│ │ ├── "Cordon"
+│ │ └── "Schedule"
+│ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Size: *string
+│ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ └── Scale: *Object (2 properties)
+│ │ ├── Autoscale: Object (3 properties)[]
+│ │ │ ├── MaxCount: *int
+│ │ │ ├── MinCount: *int
+│ │ │ └── Sizes: string[]
+│ │ └── Manual: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Sizes: string[]
+│ ├── VmSize: *string
+│ ├── VnetSubnetReference: *genruntime.ResourceReference
+│ ├── WindowsProfile: *Object (1 property)
+│ │ └── DisableOutboundNat: *bool
+│ └── WorkloadRuntime: *Enum (3 values)
+│ ├── "KataMshvVmIsolation"
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Status: Object (59 properties)
+ ├── ArtifactStreamingProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── CurrentOrchestratorVersion: *string
+ ├── ETag: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GatewayProfile: *Object (1 property)
+ │ └── PublicIPPrefixSize: *int
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── GpuProfile: *Object (1 property)
+ │ └── InstallGPUDriver: *bool
+ ├── HostGroupID: *string
+ ├── Id: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *Enum (3 values)
+ │ ├── "Gateway"
+ │ ├── "System"
+ │ └── "User"
+ ├── Name: *string
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeImageVersion: *string
+ ├── NodeInitializationTaints: string[]
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *int
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (7 values)
+ │ ├── "AzureLinux"
+ │ ├── "CBLMariner"
+ │ ├── "Mariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ ├── "Windows2022"
+ │ └── "WindowsAnnual"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodIPAllocationMode: *Enum (2 values)
+ │ ├── "DynamicIndividual"
+ │ └── "StaticBlock"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── PropertiesType: *Enum (3 values)
+ │ ├── "AvailabilitySet"
+ │ ├── "VirtualMachineScaleSets"
+ │ └── "VirtualMachines"
+ ├── ProvisioningState: *string
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SecurityProfile: *Object (3 properties)
+ │ ├── EnableSecureBoot: *bool
+ │ ├── EnableVTPM: *bool
+ │ └── SshAccess: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "LocalUser"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── UpgradeSettings: *Object (4 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ ├── NodeSoakDurationInMinutes: *int
+ │ └── UndrainableNodeBehavior: *Enum (2 values)
+ │ ├── "Cordon"
+ │ └── "Schedule"
+ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Size: *string
+ ├── VirtualMachinesProfile: *Object (1 property)
+ │ └── Scale: *Object (2 properties)
+ │ ├── Autoscale: Object (3 properties)[]
+ │ │ ├── MaxCount: *int
+ │ │ ├── MinCount: *int
+ │ │ └── Sizes: string[]
+ │ └── Manual: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Sizes: string[]
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (1 property)
+ │ └── DisableOutboundNat: *bool
+ └── WorkloadRuntime: *Enum (3 values)
+ ├── "KataMshvVmIsolation"
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_AgentPool_STATUS_ARM: Object (4 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (55 properties)
+│ ├── ArtifactStreamingProfile: *Object (1 property)
+│ │ └── Enabled: *bool
+│ ├── AvailabilityZones: string[]
+│ ├── CapacityReservationGroupID: *string
+│ ├── Count: *int
+│ ├── CreationData: *Object (1 property)
+│ │ └── SourceResourceId: *string
+│ ├── CurrentOrchestratorVersion: *string
+│ ├── ETag: *string
+│ ├── EnableAutoScaling: *bool
+│ ├── EnableCustomCATrust: *bool
+│ ├── EnableEncryptionAtHost: *bool
+│ ├── EnableFIPS: *bool
+│ ├── EnableNodePublicIP: *bool
+│ ├── EnableUltraSSD: *bool
+│ ├── GatewayProfile: *Object (1 property)
+│ │ └── PublicIPPrefixSize: *int
+│ ├── GpuInstanceProfile: *Enum (5 values)
+│ │ ├── "MIG1g"
+│ │ ├── "MIG2g"
+│ │ ├── "MIG3g"
+│ │ ├── "MIG4g"
+│ │ └── "MIG7g"
+│ ├── GpuProfile: *Object (1 property)
+│ │ └── InstallGPUDriver: *bool
+│ ├── HostGroupID: *string
+│ ├── KubeletConfig: *Object (11 properties)
+│ │ ├── AllowedUnsafeSysctls: string[]
+│ │ ├── ContainerLogMaxFiles: *int
+│ │ ├── ContainerLogMaxSizeMB: *int
+│ │ ├── CpuCfsQuota: *bool
+│ │ ├── CpuCfsQuotaPeriod: *string
+│ │ ├── CpuManagerPolicy: *string
+│ │ ├── FailSwapOn: *bool
+│ │ ├── ImageGcHighThreshold: *int
+│ │ ├── ImageGcLowThreshold: *int
+│ │ ├── PodMaxPids: *int
+│ │ └── TopologyManagerPolicy: *string
+│ ├── KubeletDiskType: *Enum (2 values)
+│ │ ├── "OS"
+│ │ └── "Temporary"
+│ ├── LinuxOSConfig: *Object (4 properties)
+│ │ ├── SwapFileSizeMB: *int
+│ │ ├── Sysctls: *Object (28 properties)
+│ │ │ ├── FsAioMaxNr: *int
+│ │ │ ├── FsFileMax: *int
+│ │ │ ├── FsInotifyMaxUserWatches: *int
+│ │ │ ├── FsNrOpen: *int
+│ │ │ ├── KernelThreadsMax: *int
+│ │ │ ├── NetCoreNetdevMaxBacklog: *int
+│ │ │ ├── NetCoreOptmemMax: *int
+│ │ │ ├── NetCoreRmemDefault: *int
+│ │ │ ├── NetCoreRmemMax: *int
+│ │ │ ├── NetCoreSomaxconn: *int
+│ │ │ ├── NetCoreWmemDefault: *int
+│ │ │ ├── NetCoreWmemMax: *int
+│ │ │ ├── NetIpv4IpLocalPortRange: *string
+│ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+│ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+│ │ │ ├── NetIpv4TcpFinTimeout: *int
+│ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+│ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+│ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+│ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+│ │ │ ├── NetIpv4TcpTwReuse: *bool
+│ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+│ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+│ │ │ ├── NetNetfilterNfConntrackMax: *int
+│ │ │ ├── VmMaxMapCount: *int
+│ │ │ ├── VmSwappiness: *int
+│ │ │ └── VmVfsCachePressure: *int
+│ │ ├── TransparentHugePageDefrag: *string
+│ │ └── TransparentHugePageEnabled: *string
+│ ├── MaxCount: *int
+│ ├── MaxPods: *int
+│ ├── MessageOfTheDay: *string
+│ ├── MinCount: *int
+│ ├── Mode: *Enum (3 values)
+│ │ ├── "Gateway"
+│ │ ├── "System"
+│ │ └── "User"
+│ ├── NetworkProfile: *Object (3 properties)
+│ │ ├── AllowedHostPorts: Object (3 properties)[]
+│ │ │ ├── PortEnd: *int
+│ │ │ ├── PortStart: *int
+│ │ │ └── Protocol: *Enum (2 values)
+│ │ │ ├── "TCP"
+│ │ │ └── "UDP"
+│ │ ├── ApplicationSecurityGroups: string[]
+│ │ └── NodePublicIPTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NodeImageVersion: *string
+│ ├── NodeInitializationTaints: string[]
+│ ├── NodeLabels: map[string]string
+│ ├── NodePublicIPPrefixID: *string
+│ ├── NodeTaints: string[]
+│ ├── OrchestratorVersion: *string
+│ ├── OsDiskSizeGB: *int
+│ ├── OsDiskType: *Enum (2 values)
+│ │ ├── "Ephemeral"
+│ │ └── "Managed"
+│ ├── OsSKU: *Enum (7 values)
+│ │ ├── "AzureLinux"
+│ │ ├── "CBLMariner"
+│ │ ├── "Mariner"
+│ │ ├── "Ubuntu"
+│ │ ├── "Windows2019"
+│ │ ├── "Windows2022"
+│ │ └── "WindowsAnnual"
+│ ├── OsType: *Enum (2 values)
+│ │ ├── "Linux"
+│ │ └── "Windows"
+│ ├── PodIPAllocationMode: *Enum (2 values)
+│ │ ├── "DynamicIndividual"
+│ │ └── "StaticBlock"
+│ ├── PodSubnetID: *string
+│ ├── PowerState: *Object (1 property)
+│ │ └── Code: *Enum (2 values)
+│ │ ├── "Running"
+│ │ └── "Stopped"
+│ ├── ProvisioningState: *string
+│ ├── ProximityPlacementGroupID: *string
+│ ├── ScaleDownMode: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+│ │ ├── "Deallocate"
+│ │ └── "Delete"
+│ ├── ScaleSetPriority: *Enum (2 values)
+│ │ ├── "Regular"
+│ │ └── "Spot"
+│ ├── SecurityProfile: *Object (3 properties)
+│ │ ├── EnableSecureBoot: *bool
+│ │ ├── EnableVTPM: *bool
+│ │ └── SshAccess: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "LocalUser"
+│ ├── SpotMaxPrice: *float64
+│ ├── Tags: map[string]string
+│ ├── Type: *Enum (3 values)
+│ │ ├── "AvailabilitySet"
+│ │ ├── "VirtualMachineScaleSets"
+│ │ └── "VirtualMachines"
+│ ├── UpgradeSettings: *Object (4 properties)
+│ │ ├── DrainTimeoutInMinutes: *int
+│ │ ├── MaxSurge: *string
+│ │ ├── NodeSoakDurationInMinutes: *int
+│ │ └── UndrainableNodeBehavior: *Enum (2 values)
+│ │ ├── "Cordon"
+│ │ └── "Schedule"
+│ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Size: *string
+│ ├── VirtualMachinesProfile: *Object (1 property)
+│ │ └── Scale: *Object (2 properties)
+│ │ ├── Autoscale: Object (3 properties)[]
+│ │ │ ├── MaxCount: *int
+│ │ │ ├── MinCount: *int
+│ │ │ └── Sizes: string[]
+│ │ └── Manual: Object (2 properties)[]
+│ │ ├── Count: *int
+│ │ └── Sizes: string[]
+│ ├── VmSize: *string
+│ ├── VnetSubnetID: *string
+│ ├── WindowsProfile: *Object (1 property)
+│ │ └── DisableOutboundNat: *bool
+│ └── WorkloadRuntime: *Enum (3 values)
+│ ├── "KataMshvVmIsolation"
+│ ├── "OCIContainer"
+│ └── "WasmWasi"
+└── Type: *string
+ManagedClusters_AgentPool_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (51 properties)
+ ├── ArtifactStreamingProfile: *Object (1 property)
+ │ └── Enabled: *bool
+ ├── AvailabilityZones: string[]
+ ├── CapacityReservationGroupID: *string
+ ├── Count: *int
+ ├── CreationData: *Object (1 property)
+ │ └── SourceResourceId: *string
+ ├── EnableAutoScaling: *bool
+ ├── EnableCustomCATrust: *bool
+ ├── EnableEncryptionAtHost: *bool
+ ├── EnableFIPS: *bool
+ ├── EnableNodePublicIP: *bool
+ ├── EnableUltraSSD: *bool
+ ├── GatewayProfile: *Object (1 property)
+ │ └── PublicIPPrefixSize: *int
+ ├── GpuInstanceProfile: *Enum (5 values)
+ │ ├── "MIG1g"
+ │ ├── "MIG2g"
+ │ ├── "MIG3g"
+ │ ├── "MIG4g"
+ │ └── "MIG7g"
+ ├── GpuProfile: *Object (1 property)
+ │ └── InstallGPUDriver: *bool
+ ├── HostGroupID: *string
+ ├── KubeletConfig: *Object (11 properties)
+ │ ├── AllowedUnsafeSysctls: string[]
+ │ ├── ContainerLogMaxFiles: *int
+ │ ├── ContainerLogMaxSizeMB: *int
+ │ ├── CpuCfsQuota: *bool
+ │ ├── CpuCfsQuotaPeriod: *string
+ │ ├── CpuManagerPolicy: *string
+ │ ├── FailSwapOn: *bool
+ │ ├── ImageGcHighThreshold: *int
+ │ ├── ImageGcLowThreshold: *int
+ │ ├── PodMaxPids: *int
+ │ └── TopologyManagerPolicy: *string
+ ├── KubeletDiskType: *Enum (2 values)
+ │ ├── "OS"
+ │ └── "Temporary"
+ ├── LinuxOSConfig: *Object (4 properties)
+ │ ├── SwapFileSizeMB: *int
+ │ ├── Sysctls: *Object (28 properties)
+ │ │ ├── FsAioMaxNr: *int
+ │ │ ├── FsFileMax: *int
+ │ │ ├── FsInotifyMaxUserWatches: *int
+ │ │ ├── FsNrOpen: *int
+ │ │ ├── KernelThreadsMax: *int
+ │ │ ├── NetCoreNetdevMaxBacklog: *int
+ │ │ ├── NetCoreOptmemMax: *int
+ │ │ ├── NetCoreRmemDefault: *int
+ │ │ ├── NetCoreRmemMax: *int
+ │ │ ├── NetCoreSomaxconn: *int
+ │ │ ├── NetCoreWmemDefault: *int
+ │ │ ├── NetCoreWmemMax: *int
+ │ │ ├── NetIpv4IpLocalPortRange: *string
+ │ │ ├── NetIpv4NeighDefaultGcThresh1: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh2: *int
+ │ │ ├── NetIpv4NeighDefaultGcThresh3: *int
+ │ │ ├── NetIpv4TcpFinTimeout: *int
+ │ │ ├── NetIpv4TcpKeepaliveProbes: *int
+ │ │ ├── NetIpv4TcpKeepaliveTime: *int
+ │ │ ├── NetIpv4TcpMaxSynBacklog: *int
+ │ │ ├── NetIpv4TcpMaxTwBuckets: *int
+ │ │ ├── NetIpv4TcpTwReuse: *bool
+ │ │ ├── NetIpv4TcpkeepaliveIntvl: *int
+ │ │ ├── NetNetfilterNfConntrackBuckets: *int
+ │ │ ├── NetNetfilterNfConntrackMax: *int
+ │ │ ├── VmMaxMapCount: *int
+ │ │ ├── VmSwappiness: *int
+ │ │ └── VmVfsCachePressure: *int
+ │ ├── TransparentHugePageDefrag: *string
+ │ └── TransparentHugePageEnabled: *string
+ ├── MaxCount: *int
+ ├── MaxPods: *int
+ ├── MessageOfTheDay: *string
+ ├── MinCount: *int
+ ├── Mode: *Enum (3 values)
+ │ ├── "Gateway"
+ │ ├── "System"
+ │ └── "User"
+ ├── NetworkProfile: *Object (3 properties)
+ │ ├── AllowedHostPorts: Object (3 properties)[]
+ │ │ ├── PortEnd: *int
+ │ │ ├── PortStart: *int
+ │ │ └── Protocol: *Enum (2 values)
+ │ │ ├── "TCP"
+ │ │ └── "UDP"
+ │ ├── ApplicationSecurityGroups: string[]
+ │ └── NodePublicIPTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── NodeInitializationTaints: string[]
+ ├── NodeLabels: map[string]string
+ ├── NodePublicIPPrefixID: *string
+ ├── NodeTaints: string[]
+ ├── OrchestratorVersion: *string
+ ├── OsDiskSizeGB: *Validated (2 rules)
+ │ ├── Rule 0: Maximum: 2048
+ │ └── Rule 1: Minimum: 0
+ ├── OsDiskType: *Enum (2 values)
+ │ ├── "Ephemeral"
+ │ └── "Managed"
+ ├── OsSKU: *Enum (7 values)
+ │ ├── "AzureLinux"
+ │ ├── "CBLMariner"
+ │ ├── "Mariner"
+ │ ├── "Ubuntu"
+ │ ├── "Windows2019"
+ │ ├── "Windows2022"
+ │ └── "WindowsAnnual"
+ ├── OsType: *Enum (2 values)
+ │ ├── "Linux"
+ │ └── "Windows"
+ ├── PodIPAllocationMode: *Enum (2 values)
+ │ ├── "DynamicIndividual"
+ │ └── "StaticBlock"
+ ├── PodSubnetID: *string
+ ├── PowerState: *Object (1 property)
+ │ └── Code: *Enum (2 values)
+ │ ├── "Running"
+ │ └── "Stopped"
+ ├── ProximityPlacementGroupID: *string
+ ├── ScaleDownMode: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetEvictionPolicy: *Enum (2 values)
+ │ ├── "Deallocate"
+ │ └── "Delete"
+ ├── ScaleSetPriority: *Enum (2 values)
+ │ ├── "Regular"
+ │ └── "Spot"
+ ├── SecurityProfile: *Object (3 properties)
+ │ ├── EnableSecureBoot: *bool
+ │ ├── EnableVTPM: *bool
+ │ └── SshAccess: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "LocalUser"
+ ├── SpotMaxPrice: *float64
+ ├── Tags: map[string]string
+ ├── Type: *Enum (3 values)
+ │ ├── "AvailabilitySet"
+ │ ├── "VirtualMachineScaleSets"
+ │ └── "VirtualMachines"
+ ├── UpgradeSettings: *Object (4 properties)
+ │ ├── DrainTimeoutInMinutes: *int
+ │ ├── MaxSurge: *string
+ │ ├── NodeSoakDurationInMinutes: *int
+ │ └── UndrainableNodeBehavior: *Enum (2 values)
+ │ ├── "Cordon"
+ │ └── "Schedule"
+ ├── VirtualMachineNodesStatus: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Size: *string
+ ├── VirtualMachinesProfile: *Object (1 property)
+ │ └── Scale: *Object (2 properties)
+ │ ├── Autoscale: Object (3 properties)[]
+ │ │ ├── MaxCount: *int
+ │ │ ├── MinCount: *int
+ │ │ └── Sizes: string[]
+ │ └── Manual: Object (2 properties)[]
+ │ ├── Count: *int
+ │ └── Sizes: string[]
+ ├── VmSize: *string
+ ├── VnetSubnetID: *string
+ ├── WindowsProfile: *Object (1 property)
+ │ └── DisableOutboundNat: *bool
+ └── WorkloadRuntime: *Enum (3 values)
+ ├── "KataMshvVmIsolation"
+ ├── "OCIContainer"
+ └── "WasmWasi"
+ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM: Object (5 properties)
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── ProvisioningState: *Enum (5 values)
+│ │ ├── "Canceled"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── Roles: string[]
+│ └── SourceResourceId: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+ManagedClusters_TrustedAccessRoleBinding_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (2 properties)
+ ├── Roles: string[]
+ └── SourceResourceId: *string
+TrustedAccessRoleBinding: Resource
+├── Owner: ManagedCluster
+├── Spec: Object (4 properties)
+│ ├── AzureName: Validated (3 rules)
+│ │ ├── Rule 0: MaxLength: 24
+│ │ ├── Rule 1: MinLength: 1
+│ │ └── Rule 2: Pattern: "^([A-Za-z0-9-])+$"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Roles: string[]
+│ └── SourceResourceReference: *genruntime.ResourceReference
+└── Status: Object (8 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (5 values)
+ │ ├── "Canceled"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── Roles: string[]
+ ├── SourceResourceId: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ └── Type: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/trusted_access_role_binding_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/trusted_access_role_binding_types_gen.go
new file mode 100644
index 0000000000..74f2781f2a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/trusted_access_role_binding_types_gen.go
@@ -0,0 +1,804 @@
+// Code generated by azure-service-operator-codegen. DO NOT EDIT.
+// Copyright (c) Microsoft Corporation.
+// Licensed under the MIT license.
+package v1api20240402preview
+
+import (
+ "fmt"
+ storage "github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/storage"
+ "github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/pkg/errors"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/conversion"
+ "sigs.k8s.io/controller-runtime/pkg/webhook/admission"
+)
+
+// +kubebuilder:object:root=true
+// +kubebuilder:subresource:status
+// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
+// +kubebuilder:printcolumn:name="Severity",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].severity"
+// +kubebuilder:printcolumn:name="Reason",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].reason"
+// +kubebuilder:printcolumn:name="Message",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].message"
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBinding struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ObjectMeta `json:"metadata,omitempty"`
+ Spec ManagedClusters_TrustedAccessRoleBinding_Spec `json:"spec,omitempty"`
+ Status ManagedClusters_TrustedAccessRoleBinding_STATUS `json:"status,omitempty"`
+}
+
+var _ conditions.Conditioner = &TrustedAccessRoleBinding{}
+
+// GetConditions returns the conditions of the resource
+func (binding *TrustedAccessRoleBinding) GetConditions() conditions.Conditions {
+ return binding.Status.Conditions
+}
+
+// SetConditions sets the conditions on the resource status
+func (binding *TrustedAccessRoleBinding) SetConditions(conditions conditions.Conditions) {
+ binding.Status.Conditions = conditions
+}
+
+var _ conversion.Convertible = &TrustedAccessRoleBinding{}
+
+// ConvertFrom populates our TrustedAccessRoleBinding from the provided hub TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertFrom(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var source storage.TrustedAccessRoleBinding
+
+ err := source.ConvertFrom(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from hub to source")
+ }
+
+ err = binding.AssignProperties_From_TrustedAccessRoleBinding(&source)
+ if err != nil {
+ return errors.Wrap(err, "converting from source to binding")
+ }
+
+ return nil
+}
+
+// ConvertTo populates the provided hub TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) ConvertTo(hub conversion.Hub) error {
+ // intermediate variable for conversion
+ var destination storage.TrustedAccessRoleBinding
+ err := binding.AssignProperties_To_TrustedAccessRoleBinding(&destination)
+ if err != nil {
+ return errors.Wrap(err, "converting to destination from binding")
+ }
+ err = destination.ConvertTo(hub)
+ if err != nil {
+ return errors.Wrap(err, "converting from destination to hub")
+ }
+
+ return nil
+}
+
+// +kubebuilder:webhook:path=/mutate-containerservice-azure-com-v1api20240402preview-trustedaccessrolebinding,mutating=true,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=create;update,versions=v1api20240402preview,name=default.v1api20240402preview.trustedaccessrolebindings.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Defaulter = &TrustedAccessRoleBinding{}
+
+// Default applies defaults to the TrustedAccessRoleBinding resource
+func (binding *TrustedAccessRoleBinding) Default() {
+ binding.defaultImpl()
+ var temp any = binding
+ if runtimeDefaulter, ok := temp.(genruntime.Defaulter); ok {
+ runtimeDefaulter.CustomDefault()
+ }
+}
+
+// defaultAzureName defaults the Azure name of the resource to the Kubernetes name
+func (binding *TrustedAccessRoleBinding) defaultAzureName() {
+ if binding.Spec.AzureName == "" {
+ binding.Spec.AzureName = binding.Name
+ }
+}
+
+// defaultImpl applies the code generated defaults to the TrustedAccessRoleBinding resource
+func (binding *TrustedAccessRoleBinding) defaultImpl() { binding.defaultAzureName() }
+
+var _ genruntime.KubernetesResource = &TrustedAccessRoleBinding{}
+
+// AzureName returns the Azure name of the resource
+func (binding *TrustedAccessRoleBinding) AzureName() string {
+ return binding.Spec.AzureName
+}
+
+// GetAPIVersion returns the ARM API version of the resource. This is always "2024-04-02-preview"
+func (binding TrustedAccessRoleBinding) GetAPIVersion() string {
+ return string(APIVersion_Value)
+}
+
+// GetResourceScope returns the scope of the resource
+func (binding *TrustedAccessRoleBinding) GetResourceScope() genruntime.ResourceScope {
+ return genruntime.ResourceScopeResourceGroup
+}
+
+// GetSpec returns the specification of this resource
+func (binding *TrustedAccessRoleBinding) GetSpec() genruntime.ConvertibleSpec {
+ return &binding.Spec
+}
+
+// GetStatus returns the status of this resource
+func (binding *TrustedAccessRoleBinding) GetStatus() genruntime.ConvertibleStatus {
+ return &binding.Status
+}
+
+// GetSupportedOperations returns the operations supported by the resource
+func (binding *TrustedAccessRoleBinding) GetSupportedOperations() []genruntime.ResourceOperation {
+ return []genruntime.ResourceOperation{
+ genruntime.ResourceOperationDelete,
+ genruntime.ResourceOperationGet,
+ genruntime.ResourceOperationPut,
+ }
+}
+
+// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+func (binding *TrustedAccessRoleBinding) GetType() string {
+ return "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings"
+}
+
+// NewEmptyStatus returns a new empty (blank) status
+func (binding *TrustedAccessRoleBinding) NewEmptyStatus() genruntime.ConvertibleStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+}
+
+// Owner returns the ResourceReference of the owner
+func (binding *TrustedAccessRoleBinding) Owner() *genruntime.ResourceReference {
+ group, kind := genruntime.LookupOwnerGroupKind(binding.Spec)
+ return binding.Spec.Owner.AsResourceReference(group, kind)
+}
+
+// SetStatus sets the status of this resource
+func (binding *TrustedAccessRoleBinding) SetStatus(status genruntime.ConvertibleStatus) error {
+ // If we have exactly the right type of status, assign it
+ if st, ok := status.(*ManagedClusters_TrustedAccessRoleBinding_STATUS); ok {
+ binding.Status = *st
+ return nil
+ }
+
+ // Convert status to required version
+ var st ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err := status.ConvertStatusTo(&st)
+ if err != nil {
+ return errors.Wrap(err, "failed to convert status")
+ }
+
+ binding.Status = st
+ return nil
+}
+
+// +kubebuilder:webhook:path=/validate-containerservice-azure-com-v1api20240402preview-trustedaccessrolebinding,mutating=false,sideEffects=None,matchPolicy=Exact,failurePolicy=fail,groups=containerservice.azure.com,resources=trustedaccessrolebindings,verbs=create;update,versions=v1api20240402preview,name=validate.v1api20240402preview.trustedaccessrolebindings.containerservice.azure.com,admissionReviewVersions=v1
+
+var _ admission.Validator = &TrustedAccessRoleBinding{}
+
+// ValidateCreate validates the creation of the resource
+func (binding *TrustedAccessRoleBinding) ValidateCreate() (admission.Warnings, error) {
+ validations := binding.createValidations()
+ var temp any = binding
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.CreateValidations()...)
+ }
+ return genruntime.ValidateCreate(validations)
+}
+
+// ValidateDelete validates the deletion of the resource
+func (binding *TrustedAccessRoleBinding) ValidateDelete() (admission.Warnings, error) {
+ validations := binding.deleteValidations()
+ var temp any = binding
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.DeleteValidations()...)
+ }
+ return genruntime.ValidateDelete(validations)
+}
+
+// ValidateUpdate validates an update of the resource
+func (binding *TrustedAccessRoleBinding) ValidateUpdate(old runtime.Object) (admission.Warnings, error) {
+ validations := binding.updateValidations()
+ var temp any = binding
+ if runtimeValidator, ok := temp.(genruntime.Validator); ok {
+ validations = append(validations, runtimeValidator.UpdateValidations()...)
+ }
+ return genruntime.ValidateUpdate(old, validations)
+}
+
+// createValidations validates the creation of the resource
+func (binding *TrustedAccessRoleBinding) createValidations() []func() (admission.Warnings, error) {
+ return []func() (admission.Warnings, error){binding.validateResourceReferences, binding.validateOwnerReference}
+}
+
+// deleteValidations validates the deletion of the resource
+func (binding *TrustedAccessRoleBinding) deleteValidations() []func() (admission.Warnings, error) {
+ return nil
+}
+
+// updateValidations validates the update of the resource
+func (binding *TrustedAccessRoleBinding) updateValidations() []func(old runtime.Object) (admission.Warnings, error) {
+ return []func(old runtime.Object) (admission.Warnings, error){
+ func(old runtime.Object) (admission.Warnings, error) {
+ return binding.validateResourceReferences()
+ },
+ binding.validateWriteOnceProperties,
+ func(old runtime.Object) (admission.Warnings, error) {
+ return binding.validateOwnerReference()
+ },
+ }
+}
+
+// validateOwnerReference validates the owner field
+func (binding *TrustedAccessRoleBinding) validateOwnerReference() (admission.Warnings, error) {
+ return genruntime.ValidateOwner(binding)
+}
+
+// validateResourceReferences validates all resource references
+func (binding *TrustedAccessRoleBinding) validateResourceReferences() (admission.Warnings, error) {
+ refs, err := reflecthelpers.FindResourceReferences(&binding.Spec)
+ if err != nil {
+ return nil, err
+ }
+ return genruntime.ValidateResourceReferences(refs)
+}
+
+// validateWriteOnceProperties validates all WriteOnce properties
+func (binding *TrustedAccessRoleBinding) validateWriteOnceProperties(old runtime.Object) (admission.Warnings, error) {
+ oldObj, ok := old.(*TrustedAccessRoleBinding)
+ if !ok {
+ return nil, nil
+ }
+
+ return genruntime.ValidateWriteOnceProperties(oldObj, binding)
+}
+
+// AssignProperties_From_TrustedAccessRoleBinding populates our TrustedAccessRoleBinding from the provided source TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_From_TrustedAccessRoleBinding(source *storage.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ binding.ObjectMeta = *source.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := spec.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(&source.Spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ binding.Spec = spec
+
+ // Status
+ var status ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = status.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(&source.Status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ binding.Status = status
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_TrustedAccessRoleBinding populates the provided destination TrustedAccessRoleBinding from our TrustedAccessRoleBinding
+func (binding *TrustedAccessRoleBinding) AssignProperties_To_TrustedAccessRoleBinding(destination *storage.TrustedAccessRoleBinding) error {
+
+ // ObjectMeta
+ destination.ObjectMeta = *binding.ObjectMeta.DeepCopy()
+
+ // Spec
+ var spec storage.ManagedClusters_TrustedAccessRoleBinding_Spec
+ err := binding.Spec.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(&spec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec() to populate field Spec")
+ }
+ destination.Spec = spec
+
+ // Status
+ var status storage.ManagedClusters_TrustedAccessRoleBinding_STATUS
+ err = binding.Status.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(&status)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS() to populate field Status")
+ }
+ destination.Status = status
+
+ // No error
+ return nil
+}
+
+// OriginalGVK returns a GroupValueKind for the original API version used to create the resource
+func (binding *TrustedAccessRoleBinding) OriginalGVK() *schema.GroupVersionKind {
+ return &schema.GroupVersionKind{
+ Group: GroupVersion.Group,
+ Version: binding.Spec.OriginalVersion(),
+ Kind: "TrustedAccessRoleBinding",
+ }
+}
+
+// +kubebuilder:object:root=true
+// Generator information:
+// - Generated from: /containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2024-04-02-preview/managedClusters.json
+// - ARM URI: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}
+type TrustedAccessRoleBindingList struct {
+ metav1.TypeMeta `json:",inline"`
+ metav1.ListMeta `json:"metadata,omitempty"`
+ Items []TrustedAccessRoleBinding `json:"items"`
+}
+
+type ManagedClusters_TrustedAccessRoleBinding_Spec struct {
+ // +kubebuilder:validation:MaxLength=24
+ // +kubebuilder:validation:MinLength=1
+ // +kubebuilder:validation:Pattern="^([A-Za-z0-9-])+$"
+ // AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it
+ // doesn't have to be.
+ AzureName string `json:"azureName,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
+ // controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
+ // reference to a containerservice.azure.com/ManagedCluster resource
+ Owner *genruntime.KnownResourceReference `group:"containerservice.azure.com" json:"owner,omitempty" kind:"ManagedCluster"`
+
+ // +kubebuilder:validation:Required
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles,omitempty"`
+
+ // +kubebuilder:validation:Required
+ // SourceResourceReference: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceReference *genruntime.ResourceReference `armReference:"SourceResourceId" json:"sourceResourceReference,omitempty"`
+}
+
+var _ genruntime.ARMTransformer = &ManagedClusters_TrustedAccessRoleBinding_Spec{}
+
+// ConvertToARM converts from a Kubernetes CRD object to an ARM object
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertToARM(resolved genruntime.ConvertToARMResolvedDetails) (interface{}, error) {
+ if binding == nil {
+ return nil, nil
+ }
+ result := &ManagedClusters_TrustedAccessRoleBinding_Spec_ARM{}
+
+ // Set property "Name":
+ result.Name = resolved.Name
+
+ // Set property "Properties":
+ if binding.Roles != nil || binding.SourceResourceReference != nil {
+ result.Properties = &TrustedAccessRoleBindingProperties_ARM{}
+ }
+ for _, item := range binding.Roles {
+ result.Properties.Roles = append(result.Properties.Roles, item)
+ }
+ if binding.SourceResourceReference != nil {
+ sourceResourceIdARMID, err := resolved.ResolvedReferences.Lookup(*binding.SourceResourceReference)
+ if err != nil {
+ return nil, err
+ }
+ sourceResourceId := sourceResourceIdARMID
+ result.Properties.SourceResourceId = &sourceResourceId
+ }
+ return result, nil
+}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_Spec_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusters_TrustedAccessRoleBinding_Spec_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusters_TrustedAccessRoleBinding_Spec_ARM, got %T", armInput)
+ }
+
+ // Set property "AzureName":
+ binding.SetAzureName(genruntime.ExtractKubernetesResourceNameFromARMName(typedInput.Name))
+
+ // Set property "Owner":
+ binding.Owner = &genruntime.KnownResourceReference{
+ Name: owner.Name,
+ ARMID: owner.ARMID,
+ }
+
+ // Set property "Roles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.Roles {
+ binding.Roles = append(binding.Roles, item)
+ }
+ }
+
+ // no assignment for property "SourceResourceReference"
+
+ // No error
+ return nil
+}
+
+var _ genruntime.ConvertibleSpec = &ManagedClusters_TrustedAccessRoleBinding_Spec{}
+
+// ConvertSpecFrom populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
+ src, ok := source.(*storage.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := src.ConvertSpecFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecFrom()")
+ }
+
+ return nil
+}
+
+// ConvertSpecTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
+ dst, ok := destination.(*storage.ManagedClusters_TrustedAccessRoleBinding_Spec)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_TrustedAccessRoleBinding_Spec{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertSpecTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertSpecTo()")
+ }
+
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec populates our ManagedClusters_TrustedAccessRoleBinding_Spec from the provided source ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_Spec(source *storage.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+
+ // AzureName
+ binding.AzureName = source.AzureName
+
+ // Owner
+ if source.Owner != nil {
+ owner := source.Owner.Copy()
+ binding.Owner = &owner
+ } else {
+ binding.Owner = nil
+ }
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceReference
+ if source.SourceResourceReference != nil {
+ sourceResourceReference := source.SourceResourceReference.Copy()
+ binding.SourceResourceReference = &sourceResourceReference
+ } else {
+ binding.SourceResourceReference = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec populates the provided destination ManagedClusters_TrustedAccessRoleBinding_Spec from our ManagedClusters_TrustedAccessRoleBinding_Spec
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_Spec(destination *storage.ManagedClusters_TrustedAccessRoleBinding_Spec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // AzureName
+ destination.AzureName = binding.AzureName
+
+ // OriginalVersion
+ destination.OriginalVersion = binding.OriginalVersion()
+
+ // Owner
+ if binding.Owner != nil {
+ owner := binding.Owner.Copy()
+ destination.Owner = &owner
+ } else {
+ destination.Owner = nil
+ }
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceReference
+ if binding.SourceResourceReference != nil {
+ sourceResourceReference := binding.SourceResourceReference.Copy()
+ destination.SourceResourceReference = &sourceResourceReference
+ } else {
+ destination.SourceResourceReference = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+// OriginalVersion returns the original API version used to create the resource.
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) OriginalVersion() string {
+ return GroupVersion.Version
+}
+
+// SetAzureName sets the Azure name of the resource
+func (binding *ManagedClusters_TrustedAccessRoleBinding_Spec) SetAzureName(azureName string) {
+ binding.AzureName = azureName
+}
+
+type ManagedClusters_TrustedAccessRoleBinding_STATUS struct {
+ // Conditions: The observed state of the resource
+ Conditions []conditions.Condition `json:"conditions,omitempty"`
+
+ // Id: Fully qualified resource ID for the resource. E.g.
+ // "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ Id *string `json:"id,omitempty"`
+
+ // Name: The name of the resource
+ Name *string `json:"name,omitempty"`
+
+ // ProvisioningState: The current provisioning state of trusted access role binding.
+ ProvisioningState *TrustedAccessRoleBindingProperties_ProvisioningState_STATUS `json:"provisioningState,omitempty"`
+
+ // Roles: A list of roles to bind, each item is a resource type qualified role name. For example:
+ // 'Microsoft.MachineLearningServices/workspaces/reader'.
+ Roles []string `json:"roles,omitempty"`
+
+ // SourceResourceId: The ARM resource ID of source resource that trusted access is configured for.
+ SourceResourceId *string `json:"sourceResourceId,omitempty"`
+
+ // SystemData: Azure Resource Manager metadata containing createdBy and modifiedBy information.
+ SystemData *SystemData_STATUS `json:"systemData,omitempty"`
+
+ // Type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
+ Type *string `json:"type,omitempty"`
+}
+
+var _ genruntime.ConvertibleStatus = &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+
+// ConvertStatusFrom populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
+ src, ok := source.(*storage.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate our instance from source
+ return binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ }
+
+ // Convert to an intermediate form
+ src = &storage.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := src.ConvertStatusFrom(source)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
+ }
+
+ // Update our instance from src
+ err = binding.AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(src)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusFrom()")
+ }
+
+ return nil
+}
+
+// ConvertStatusTo populates the provided destination from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
+ dst, ok := destination.(*storage.ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ if ok {
+ // Populate destination from our instance
+ return binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ }
+
+ // Convert to an intermediate form
+ dst = &storage.ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+ err := binding.AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(dst)
+ if err != nil {
+ return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
+ }
+
+ // Update dst from our instance
+ err = dst.ConvertStatusTo(destination)
+ if err != nil {
+ return errors.Wrap(err, "final step of conversion in ConvertStatusTo()")
+ }
+
+ return nil
+}
+
+var _ genruntime.FromARMConverter = &ManagedClusters_TrustedAccessRoleBinding_STATUS{}
+
+// NewEmptyARMValue returns an empty ARM value suitable for deserializing into
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) NewEmptyARMValue() genruntime.ARMResourceStatus {
+ return &ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM{}
+}
+
+// PopulateFromARM populates a Kubernetes CRD object from an Azure ARM object
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInput interface{}) error {
+ typedInput, ok := armInput.(ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM)
+ if !ok {
+ return fmt.Errorf("unexpected type supplied for PopulateFromARM() function. Expected ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM, got %T", armInput)
+ }
+
+ // no assignment for property "Conditions"
+
+ // Set property "Id":
+ if typedInput.Id != nil {
+ id := *typedInput.Id
+ binding.Id = &id
+ }
+
+ // Set property "Name":
+ if typedInput.Name != nil {
+ name := *typedInput.Name
+ binding.Name = &name
+ }
+
+ // Set property "ProvisioningState":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.ProvisioningState != nil {
+ provisioningState := *typedInput.Properties.ProvisioningState
+ binding.ProvisioningState = &provisioningState
+ }
+ }
+
+ // Set property "Roles":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ for _, item := range typedInput.Properties.Roles {
+ binding.Roles = append(binding.Roles, item)
+ }
+ }
+
+ // Set property "SourceResourceId":
+ // copying flattened property:
+ if typedInput.Properties != nil {
+ if typedInput.Properties.SourceResourceId != nil {
+ sourceResourceId := *typedInput.Properties.SourceResourceId
+ binding.SourceResourceId = &sourceResourceId
+ }
+ }
+
+ // Set property "SystemData":
+ if typedInput.SystemData != nil {
+ var systemData1 SystemData_STATUS
+ err := systemData1.PopulateFromARM(owner, *typedInput.SystemData)
+ if err != nil {
+ return err
+ }
+ systemData := systemData1
+ binding.SystemData = &systemData
+ }
+
+ // Set property "Type":
+ if typedInput.Type != nil {
+ typeVar := *typedInput.Type
+ binding.Type = &typeVar
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS populates our ManagedClusters_TrustedAccessRoleBinding_STATUS from the provided source ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_From_ManagedClusters_TrustedAccessRoleBinding_STATUS(source *storage.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+
+ // Conditions
+ binding.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
+
+ // Id
+ binding.Id = genruntime.ClonePointerToString(source.Id)
+
+ // Name
+ binding.Name = genruntime.ClonePointerToString(source.Name)
+
+ // ProvisioningState
+ if source.ProvisioningState != nil {
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, trustedAccessRoleBindingProperties_ProvisioningState_STATUS_Values)
+ binding.ProvisioningState = &provisioningStateTemp
+ } else {
+ binding.ProvisioningState = nil
+ }
+
+ // Roles
+ binding.Roles = genruntime.CloneSliceOfString(source.Roles)
+
+ // SourceResourceId
+ binding.SourceResourceId = genruntime.ClonePointerToString(source.SourceResourceId)
+
+ // SystemData
+ if source.SystemData != nil {
+ var systemDatum SystemData_STATUS
+ err := systemDatum.AssignProperties_From_SystemData_STATUS(source.SystemData)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_SystemData_STATUS() to populate field SystemData")
+ }
+ binding.SystemData = &systemDatum
+ } else {
+ binding.SystemData = nil
+ }
+
+ // Type
+ binding.Type = genruntime.ClonePointerToString(source.Type)
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS populates the provided destination ManagedClusters_TrustedAccessRoleBinding_STATUS from our ManagedClusters_TrustedAccessRoleBinding_STATUS
+func (binding *ManagedClusters_TrustedAccessRoleBinding_STATUS) AssignProperties_To_ManagedClusters_TrustedAccessRoleBinding_STATUS(destination *storage.ManagedClusters_TrustedAccessRoleBinding_STATUS) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // Conditions
+ destination.Conditions = genruntime.CloneSliceOfCondition(binding.Conditions)
+
+ // Id
+ destination.Id = genruntime.ClonePointerToString(binding.Id)
+
+ // Name
+ destination.Name = genruntime.ClonePointerToString(binding.Name)
+
+ // ProvisioningState
+ if binding.ProvisioningState != nil {
+ provisioningState := string(*binding.ProvisioningState)
+ destination.ProvisioningState = &provisioningState
+ } else {
+ destination.ProvisioningState = nil
+ }
+
+ // Roles
+ destination.Roles = genruntime.CloneSliceOfString(binding.Roles)
+
+ // SourceResourceId
+ destination.SourceResourceId = genruntime.ClonePointerToString(binding.SourceResourceId)
+
+ // SystemData
+ if binding.SystemData != nil {
+ var systemDatum storage.SystemData_STATUS
+ err := binding.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
+ }
+ destination.SystemData = &systemDatum
+ } else {
+ destination.SystemData = nil
+ }
+
+ // Type
+ destination.Type = genruntime.ClonePointerToString(binding.Type)
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
+func init() {
+ SchemeBuilder.Register(&TrustedAccessRoleBinding{}, &TrustedAccessRoleBindingList{})
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/zz_generated.deepcopy.go
new file mode 100644
index 0000000000..be7d8b6b1f
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/containerservice/v1api20240402preview/zz_generated.deepcopy.go
@@ -0,0 +1,16300 @@
+//go:build !ignore_autogenerated
+
+/*
+Copyright (c) Microsoft Corporation.
+Licensed under the MIT license.
+*/
+
+// Code generated by controller-gen. DO NOT EDIT.
+
+package v1api20240402preview
+
+import (
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "k8s.io/apimachinery/pkg/runtime"
+)
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworking) DeepCopyInto(out *AdvancedNetworking) {
+ *out = *in
+ if in.Observability != nil {
+ in, out := &in.Observability, &out.Observability
+ *out = new(AdvancedNetworkingObservability)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworking.
+func (in *AdvancedNetworking) DeepCopy() *AdvancedNetworking {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworking)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworkingObservability) DeepCopyInto(out *AdvancedNetworkingObservability) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworkingObservability.
+func (in *AdvancedNetworkingObservability) DeepCopy() *AdvancedNetworkingObservability {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworkingObservability)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworkingObservability_ARM) DeepCopyInto(out *AdvancedNetworkingObservability_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworkingObservability_ARM.
+func (in *AdvancedNetworkingObservability_ARM) DeepCopy() *AdvancedNetworkingObservability_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworkingObservability_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworkingObservability_STATUS) DeepCopyInto(out *AdvancedNetworkingObservability_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworkingObservability_STATUS.
+func (in *AdvancedNetworkingObservability_STATUS) DeepCopy() *AdvancedNetworkingObservability_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworkingObservability_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworkingObservability_STATUS_ARM) DeepCopyInto(out *AdvancedNetworkingObservability_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworkingObservability_STATUS_ARM.
+func (in *AdvancedNetworkingObservability_STATUS_ARM) DeepCopy() *AdvancedNetworkingObservability_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworkingObservability_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworking_ARM) DeepCopyInto(out *AdvancedNetworking_ARM) {
+ *out = *in
+ if in.Observability != nil {
+ in, out := &in.Observability, &out.Observability
+ *out = new(AdvancedNetworkingObservability_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworking_ARM.
+func (in *AdvancedNetworking_ARM) DeepCopy() *AdvancedNetworking_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworking_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworking_STATUS) DeepCopyInto(out *AdvancedNetworking_STATUS) {
+ *out = *in
+ if in.Observability != nil {
+ in, out := &in.Observability, &out.Observability
+ *out = new(AdvancedNetworkingObservability_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworking_STATUS.
+func (in *AdvancedNetworking_STATUS) DeepCopy() *AdvancedNetworking_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworking_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AdvancedNetworking_STATUS_ARM) DeepCopyInto(out *AdvancedNetworking_STATUS_ARM) {
+ *out = *in
+ if in.Observability != nil {
+ in, out := &in.Observability, &out.Observability
+ *out = new(AdvancedNetworkingObservability_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdvancedNetworking_STATUS_ARM.
+func (in *AdvancedNetworking_STATUS_ARM) DeepCopy() *AdvancedNetworking_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AdvancedNetworking_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolArtifactStreamingProfile) DeepCopyInto(out *AgentPoolArtifactStreamingProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolArtifactStreamingProfile.
+func (in *AgentPoolArtifactStreamingProfile) DeepCopy() *AgentPoolArtifactStreamingProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolArtifactStreamingProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolArtifactStreamingProfile_ARM) DeepCopyInto(out *AgentPoolArtifactStreamingProfile_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolArtifactStreamingProfile_ARM.
+func (in *AgentPoolArtifactStreamingProfile_ARM) DeepCopy() *AgentPoolArtifactStreamingProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolArtifactStreamingProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolArtifactStreamingProfile_STATUS) DeepCopyInto(out *AgentPoolArtifactStreamingProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolArtifactStreamingProfile_STATUS.
+func (in *AgentPoolArtifactStreamingProfile_STATUS) DeepCopy() *AgentPoolArtifactStreamingProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolArtifactStreamingProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolArtifactStreamingProfile_STATUS_ARM) DeepCopyInto(out *AgentPoolArtifactStreamingProfile_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolArtifactStreamingProfile_STATUS_ARM.
+func (in *AgentPoolArtifactStreamingProfile_STATUS_ARM) DeepCopy() *AgentPoolArtifactStreamingProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolArtifactStreamingProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGPUProfile) DeepCopyInto(out *AgentPoolGPUProfile) {
+ *out = *in
+ if in.InstallGPUDriver != nil {
+ in, out := &in.InstallGPUDriver, &out.InstallGPUDriver
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGPUProfile.
+func (in *AgentPoolGPUProfile) DeepCopy() *AgentPoolGPUProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGPUProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGPUProfile_ARM) DeepCopyInto(out *AgentPoolGPUProfile_ARM) {
+ *out = *in
+ if in.InstallGPUDriver != nil {
+ in, out := &in.InstallGPUDriver, &out.InstallGPUDriver
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGPUProfile_ARM.
+func (in *AgentPoolGPUProfile_ARM) DeepCopy() *AgentPoolGPUProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGPUProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGPUProfile_STATUS) DeepCopyInto(out *AgentPoolGPUProfile_STATUS) {
+ *out = *in
+ if in.InstallGPUDriver != nil {
+ in, out := &in.InstallGPUDriver, &out.InstallGPUDriver
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGPUProfile_STATUS.
+func (in *AgentPoolGPUProfile_STATUS) DeepCopy() *AgentPoolGPUProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGPUProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGPUProfile_STATUS_ARM) DeepCopyInto(out *AgentPoolGPUProfile_STATUS_ARM) {
+ *out = *in
+ if in.InstallGPUDriver != nil {
+ in, out := &in.InstallGPUDriver, &out.InstallGPUDriver
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGPUProfile_STATUS_ARM.
+func (in *AgentPoolGPUProfile_STATUS_ARM) DeepCopy() *AgentPoolGPUProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGPUProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGatewayProfile) DeepCopyInto(out *AgentPoolGatewayProfile) {
+ *out = *in
+ if in.PublicIPPrefixSize != nil {
+ in, out := &in.PublicIPPrefixSize, &out.PublicIPPrefixSize
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGatewayProfile.
+func (in *AgentPoolGatewayProfile) DeepCopy() *AgentPoolGatewayProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGatewayProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGatewayProfile_ARM) DeepCopyInto(out *AgentPoolGatewayProfile_ARM) {
+ *out = *in
+ if in.PublicIPPrefixSize != nil {
+ in, out := &in.PublicIPPrefixSize, &out.PublicIPPrefixSize
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGatewayProfile_ARM.
+func (in *AgentPoolGatewayProfile_ARM) DeepCopy() *AgentPoolGatewayProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGatewayProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGatewayProfile_STATUS) DeepCopyInto(out *AgentPoolGatewayProfile_STATUS) {
+ *out = *in
+ if in.PublicIPPrefixSize != nil {
+ in, out := &in.PublicIPPrefixSize, &out.PublicIPPrefixSize
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGatewayProfile_STATUS.
+func (in *AgentPoolGatewayProfile_STATUS) DeepCopy() *AgentPoolGatewayProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGatewayProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolGatewayProfile_STATUS_ARM) DeepCopyInto(out *AgentPoolGatewayProfile_STATUS_ARM) {
+ *out = *in
+ if in.PublicIPPrefixSize != nil {
+ in, out := &in.PublicIPPrefixSize, &out.PublicIPPrefixSize
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolGatewayProfile_STATUS_ARM.
+func (in *AgentPoolGatewayProfile_STATUS_ARM) DeepCopy() *AgentPoolGatewayProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolGatewayProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolNetworkProfile) DeepCopyInto(out *AgentPoolNetworkProfile) {
+ *out = *in
+ if in.AllowedHostPorts != nil {
+ in, out := &in.AllowedHostPorts, &out.AllowedHostPorts
+ *out = make([]PortRange, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ApplicationSecurityGroupsReferences != nil {
+ in, out := &in.ApplicationSecurityGroupsReferences, &out.ApplicationSecurityGroupsReferences
+ *out = make([]genruntime.ResourceReference, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodePublicIPTags != nil {
+ in, out := &in.NodePublicIPTags, &out.NodePublicIPTags
+ *out = make([]IPTag, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolNetworkProfile.
+func (in *AgentPoolNetworkProfile) DeepCopy() *AgentPoolNetworkProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolNetworkProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolNetworkProfile_ARM) DeepCopyInto(out *AgentPoolNetworkProfile_ARM) {
+ *out = *in
+ if in.AllowedHostPorts != nil {
+ in, out := &in.AllowedHostPorts, &out.AllowedHostPorts
+ *out = make([]PortRange_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ApplicationSecurityGroups != nil {
+ in, out := &in.ApplicationSecurityGroups, &out.ApplicationSecurityGroups
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodePublicIPTags != nil {
+ in, out := &in.NodePublicIPTags, &out.NodePublicIPTags
+ *out = make([]IPTag_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolNetworkProfile_ARM.
+func (in *AgentPoolNetworkProfile_ARM) DeepCopy() *AgentPoolNetworkProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolNetworkProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolNetworkProfile_STATUS) DeepCopyInto(out *AgentPoolNetworkProfile_STATUS) {
+ *out = *in
+ if in.AllowedHostPorts != nil {
+ in, out := &in.AllowedHostPorts, &out.AllowedHostPorts
+ *out = make([]PortRange_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ApplicationSecurityGroups != nil {
+ in, out := &in.ApplicationSecurityGroups, &out.ApplicationSecurityGroups
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodePublicIPTags != nil {
+ in, out := &in.NodePublicIPTags, &out.NodePublicIPTags
+ *out = make([]IPTag_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolNetworkProfile_STATUS.
+func (in *AgentPoolNetworkProfile_STATUS) DeepCopy() *AgentPoolNetworkProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolNetworkProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolNetworkProfile_STATUS_ARM) DeepCopyInto(out *AgentPoolNetworkProfile_STATUS_ARM) {
+ *out = *in
+ if in.AllowedHostPorts != nil {
+ in, out := &in.AllowedHostPorts, &out.AllowedHostPorts
+ *out = make([]PortRange_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ApplicationSecurityGroups != nil {
+ in, out := &in.ApplicationSecurityGroups, &out.ApplicationSecurityGroups
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodePublicIPTags != nil {
+ in, out := &in.NodePublicIPTags, &out.NodePublicIPTags
+ *out = make([]IPTag_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolNetworkProfile_STATUS_ARM.
+func (in *AgentPoolNetworkProfile_STATUS_ARM) DeepCopy() *AgentPoolNetworkProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolNetworkProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolSecurityProfile) DeepCopyInto(out *AgentPoolSecurityProfile) {
+ *out = *in
+ if in.EnableSecureBoot != nil {
+ in, out := &in.EnableSecureBoot, &out.EnableSecureBoot
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVTPM != nil {
+ in, out := &in.EnableVTPM, &out.EnableVTPM
+ *out = new(bool)
+ **out = **in
+ }
+ if in.SshAccess != nil {
+ in, out := &in.SshAccess, &out.SshAccess
+ *out = new(AgentPoolSSHAccess)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSecurityProfile.
+func (in *AgentPoolSecurityProfile) DeepCopy() *AgentPoolSecurityProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolSecurityProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolSecurityProfile_ARM) DeepCopyInto(out *AgentPoolSecurityProfile_ARM) {
+ *out = *in
+ if in.EnableSecureBoot != nil {
+ in, out := &in.EnableSecureBoot, &out.EnableSecureBoot
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVTPM != nil {
+ in, out := &in.EnableVTPM, &out.EnableVTPM
+ *out = new(bool)
+ **out = **in
+ }
+ if in.SshAccess != nil {
+ in, out := &in.SshAccess, &out.SshAccess
+ *out = new(AgentPoolSSHAccess)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSecurityProfile_ARM.
+func (in *AgentPoolSecurityProfile_ARM) DeepCopy() *AgentPoolSecurityProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolSecurityProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolSecurityProfile_STATUS) DeepCopyInto(out *AgentPoolSecurityProfile_STATUS) {
+ *out = *in
+ if in.EnableSecureBoot != nil {
+ in, out := &in.EnableSecureBoot, &out.EnableSecureBoot
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVTPM != nil {
+ in, out := &in.EnableVTPM, &out.EnableVTPM
+ *out = new(bool)
+ **out = **in
+ }
+ if in.SshAccess != nil {
+ in, out := &in.SshAccess, &out.SshAccess
+ *out = new(AgentPoolSSHAccess_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSecurityProfile_STATUS.
+func (in *AgentPoolSecurityProfile_STATUS) DeepCopy() *AgentPoolSecurityProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolSecurityProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolSecurityProfile_STATUS_ARM) DeepCopyInto(out *AgentPoolSecurityProfile_STATUS_ARM) {
+ *out = *in
+ if in.EnableSecureBoot != nil {
+ in, out := &in.EnableSecureBoot, &out.EnableSecureBoot
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVTPM != nil {
+ in, out := &in.EnableVTPM, &out.EnableVTPM
+ *out = new(bool)
+ **out = **in
+ }
+ if in.SshAccess != nil {
+ in, out := &in.SshAccess, &out.SshAccess
+ *out = new(AgentPoolSSHAccess_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolSecurityProfile_STATUS_ARM.
+func (in *AgentPoolSecurityProfile_STATUS_ARM) DeepCopy() *AgentPoolSecurityProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolSecurityProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolUpgradeSettings) DeepCopyInto(out *AgentPoolUpgradeSettings) {
+ *out = *in
+ if in.DrainTimeoutInMinutes != nil {
+ in, out := &in.DrainTimeoutInMinutes, &out.DrainTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxSurge != nil {
+ in, out := &in.MaxSurge, &out.MaxSurge
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeSoakDurationInMinutes != nil {
+ in, out := &in.NodeSoakDurationInMinutes, &out.NodeSoakDurationInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.UndrainableNodeBehavior != nil {
+ in, out := &in.UndrainableNodeBehavior, &out.UndrainableNodeBehavior
+ *out = new(AgentPoolUpgradeSettings_UndrainableNodeBehavior)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolUpgradeSettings.
+func (in *AgentPoolUpgradeSettings) DeepCopy() *AgentPoolUpgradeSettings {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolUpgradeSettings)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolUpgradeSettings_ARM) DeepCopyInto(out *AgentPoolUpgradeSettings_ARM) {
+ *out = *in
+ if in.DrainTimeoutInMinutes != nil {
+ in, out := &in.DrainTimeoutInMinutes, &out.DrainTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxSurge != nil {
+ in, out := &in.MaxSurge, &out.MaxSurge
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeSoakDurationInMinutes != nil {
+ in, out := &in.NodeSoakDurationInMinutes, &out.NodeSoakDurationInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.UndrainableNodeBehavior != nil {
+ in, out := &in.UndrainableNodeBehavior, &out.UndrainableNodeBehavior
+ *out = new(AgentPoolUpgradeSettings_UndrainableNodeBehavior)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolUpgradeSettings_ARM.
+func (in *AgentPoolUpgradeSettings_ARM) DeepCopy() *AgentPoolUpgradeSettings_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolUpgradeSettings_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolUpgradeSettings_STATUS) DeepCopyInto(out *AgentPoolUpgradeSettings_STATUS) {
+ *out = *in
+ if in.DrainTimeoutInMinutes != nil {
+ in, out := &in.DrainTimeoutInMinutes, &out.DrainTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxSurge != nil {
+ in, out := &in.MaxSurge, &out.MaxSurge
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeSoakDurationInMinutes != nil {
+ in, out := &in.NodeSoakDurationInMinutes, &out.NodeSoakDurationInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.UndrainableNodeBehavior != nil {
+ in, out := &in.UndrainableNodeBehavior, &out.UndrainableNodeBehavior
+ *out = new(AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolUpgradeSettings_STATUS.
+func (in *AgentPoolUpgradeSettings_STATUS) DeepCopy() *AgentPoolUpgradeSettings_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolUpgradeSettings_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolUpgradeSettings_STATUS_ARM) DeepCopyInto(out *AgentPoolUpgradeSettings_STATUS_ARM) {
+ *out = *in
+ if in.DrainTimeoutInMinutes != nil {
+ in, out := &in.DrainTimeoutInMinutes, &out.DrainTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxSurge != nil {
+ in, out := &in.MaxSurge, &out.MaxSurge
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeSoakDurationInMinutes != nil {
+ in, out := &in.NodeSoakDurationInMinutes, &out.NodeSoakDurationInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.UndrainableNodeBehavior != nil {
+ in, out := &in.UndrainableNodeBehavior, &out.UndrainableNodeBehavior
+ *out = new(AgentPoolUpgradeSettings_UndrainableNodeBehavior_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolUpgradeSettings_STATUS_ARM.
+func (in *AgentPoolUpgradeSettings_STATUS_ARM) DeepCopy() *AgentPoolUpgradeSettings_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolUpgradeSettings_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolWindowsProfile) DeepCopyInto(out *AgentPoolWindowsProfile) {
+ *out = *in
+ if in.DisableOutboundNat != nil {
+ in, out := &in.DisableOutboundNat, &out.DisableOutboundNat
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolWindowsProfile.
+func (in *AgentPoolWindowsProfile) DeepCopy() *AgentPoolWindowsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolWindowsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolWindowsProfile_ARM) DeepCopyInto(out *AgentPoolWindowsProfile_ARM) {
+ *out = *in
+ if in.DisableOutboundNat != nil {
+ in, out := &in.DisableOutboundNat, &out.DisableOutboundNat
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolWindowsProfile_ARM.
+func (in *AgentPoolWindowsProfile_ARM) DeepCopy() *AgentPoolWindowsProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolWindowsProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolWindowsProfile_STATUS) DeepCopyInto(out *AgentPoolWindowsProfile_STATUS) {
+ *out = *in
+ if in.DisableOutboundNat != nil {
+ in, out := &in.DisableOutboundNat, &out.DisableOutboundNat
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolWindowsProfile_STATUS.
+func (in *AgentPoolWindowsProfile_STATUS) DeepCopy() *AgentPoolWindowsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolWindowsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AgentPoolWindowsProfile_STATUS_ARM) DeepCopyInto(out *AgentPoolWindowsProfile_STATUS_ARM) {
+ *out = *in
+ if in.DisableOutboundNat != nil {
+ in, out := &in.DisableOutboundNat, &out.DisableOutboundNat
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AgentPoolWindowsProfile_STATUS_ARM.
+func (in *AgentPoolWindowsProfile_STATUS_ARM) DeepCopy() *AgentPoolWindowsProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AgentPoolWindowsProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AutoScaleProfile) DeepCopyInto(out *AutoScaleProfile) {
+ *out = *in
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleProfile.
+func (in *AutoScaleProfile) DeepCopy() *AutoScaleProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AutoScaleProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AutoScaleProfile_ARM) DeepCopyInto(out *AutoScaleProfile_ARM) {
+ *out = *in
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleProfile_ARM.
+func (in *AutoScaleProfile_ARM) DeepCopy() *AutoScaleProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AutoScaleProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AutoScaleProfile_STATUS) DeepCopyInto(out *AutoScaleProfile_STATUS) {
+ *out = *in
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleProfile_STATUS.
+func (in *AutoScaleProfile_STATUS) DeepCopy() *AutoScaleProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AutoScaleProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AutoScaleProfile_STATUS_ARM) DeepCopyInto(out *AutoScaleProfile_STATUS_ARM) {
+ *out = *in
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutoScaleProfile_STATUS_ARM.
+func (in *AutoScaleProfile_STATUS_ARM) DeepCopy() *AutoScaleProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AutoScaleProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AzureKeyVaultKms) DeepCopyInto(out *AzureKeyVaultKms) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KeyId != nil {
+ in, out := &in.KeyId, &out.KeyId
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultNetworkAccess != nil {
+ in, out := &in.KeyVaultNetworkAccess, &out.KeyVaultNetworkAccess
+ *out = new(AzureKeyVaultKms_KeyVaultNetworkAccess)
+ **out = **in
+ }
+ if in.KeyVaultResourceReference != nil {
+ in, out := &in.KeyVaultResourceReference, &out.KeyVaultResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultKms.
+func (in *AzureKeyVaultKms) DeepCopy() *AzureKeyVaultKms {
+ if in == nil {
+ return nil
+ }
+ out := new(AzureKeyVaultKms)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AzureKeyVaultKms_ARM) DeepCopyInto(out *AzureKeyVaultKms_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KeyId != nil {
+ in, out := &in.KeyId, &out.KeyId
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultNetworkAccess != nil {
+ in, out := &in.KeyVaultNetworkAccess, &out.KeyVaultNetworkAccess
+ *out = new(AzureKeyVaultKms_KeyVaultNetworkAccess)
+ **out = **in
+ }
+ if in.KeyVaultResourceId != nil {
+ in, out := &in.KeyVaultResourceId, &out.KeyVaultResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultKms_ARM.
+func (in *AzureKeyVaultKms_ARM) DeepCopy() *AzureKeyVaultKms_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AzureKeyVaultKms_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AzureKeyVaultKms_STATUS) DeepCopyInto(out *AzureKeyVaultKms_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KeyId != nil {
+ in, out := &in.KeyId, &out.KeyId
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultNetworkAccess != nil {
+ in, out := &in.KeyVaultNetworkAccess, &out.KeyVaultNetworkAccess
+ *out = new(AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS)
+ **out = **in
+ }
+ if in.KeyVaultResourceId != nil {
+ in, out := &in.KeyVaultResourceId, &out.KeyVaultResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultKms_STATUS.
+func (in *AzureKeyVaultKms_STATUS) DeepCopy() *AzureKeyVaultKms_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(AzureKeyVaultKms_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AzureKeyVaultKms_STATUS_ARM) DeepCopyInto(out *AzureKeyVaultKms_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KeyId != nil {
+ in, out := &in.KeyId, &out.KeyId
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultNetworkAccess != nil {
+ in, out := &in.KeyVaultNetworkAccess, &out.KeyVaultNetworkAccess
+ *out = new(AzureKeyVaultKms_KeyVaultNetworkAccess_STATUS)
+ **out = **in
+ }
+ if in.KeyVaultResourceId != nil {
+ in, out := &in.KeyVaultResourceId, &out.KeyVaultResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureKeyVaultKms_STATUS_ARM.
+func (in *AzureKeyVaultKms_STATUS_ARM) DeepCopy() *AzureKeyVaultKms_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(AzureKeyVaultKms_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ClusterUpgradeSettings) DeepCopyInto(out *ClusterUpgradeSettings) {
+ *out = *in
+ if in.OverrideSettings != nil {
+ in, out := &in.OverrideSettings, &out.OverrideSettings
+ *out = new(UpgradeOverrideSettings)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpgradeSettings.
+func (in *ClusterUpgradeSettings) DeepCopy() *ClusterUpgradeSettings {
+ if in == nil {
+ return nil
+ }
+ out := new(ClusterUpgradeSettings)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ClusterUpgradeSettings_ARM) DeepCopyInto(out *ClusterUpgradeSettings_ARM) {
+ *out = *in
+ if in.OverrideSettings != nil {
+ in, out := &in.OverrideSettings, &out.OverrideSettings
+ *out = new(UpgradeOverrideSettings_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpgradeSettings_ARM.
+func (in *ClusterUpgradeSettings_ARM) DeepCopy() *ClusterUpgradeSettings_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ClusterUpgradeSettings_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ClusterUpgradeSettings_STATUS) DeepCopyInto(out *ClusterUpgradeSettings_STATUS) {
+ *out = *in
+ if in.OverrideSettings != nil {
+ in, out := &in.OverrideSettings, &out.OverrideSettings
+ *out = new(UpgradeOverrideSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpgradeSettings_STATUS.
+func (in *ClusterUpgradeSettings_STATUS) DeepCopy() *ClusterUpgradeSettings_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ClusterUpgradeSettings_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ClusterUpgradeSettings_STATUS_ARM) DeepCopyInto(out *ClusterUpgradeSettings_STATUS_ARM) {
+ *out = *in
+ if in.OverrideSettings != nil {
+ in, out := &in.OverrideSettings, &out.OverrideSettings
+ *out = new(UpgradeOverrideSettings_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpgradeSettings_STATUS_ARM.
+func (in *ClusterUpgradeSettings_STATUS_ARM) DeepCopy() *ClusterUpgradeSettings_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ClusterUpgradeSettings_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceLinuxProfile) DeepCopyInto(out *ContainerServiceLinuxProfile) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.Ssh != nil {
+ in, out := &in.Ssh, &out.Ssh
+ *out = new(ContainerServiceSshConfiguration)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceLinuxProfile.
+func (in *ContainerServiceLinuxProfile) DeepCopy() *ContainerServiceLinuxProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceLinuxProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceLinuxProfile_ARM) DeepCopyInto(out *ContainerServiceLinuxProfile_ARM) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.Ssh != nil {
+ in, out := &in.Ssh, &out.Ssh
+ *out = new(ContainerServiceSshConfiguration_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceLinuxProfile_ARM.
+func (in *ContainerServiceLinuxProfile_ARM) DeepCopy() *ContainerServiceLinuxProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceLinuxProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceLinuxProfile_STATUS) DeepCopyInto(out *ContainerServiceLinuxProfile_STATUS) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.Ssh != nil {
+ in, out := &in.Ssh, &out.Ssh
+ *out = new(ContainerServiceSshConfiguration_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceLinuxProfile_STATUS.
+func (in *ContainerServiceLinuxProfile_STATUS) DeepCopy() *ContainerServiceLinuxProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceLinuxProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceLinuxProfile_STATUS_ARM) DeepCopyInto(out *ContainerServiceLinuxProfile_STATUS_ARM) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.Ssh != nil {
+ in, out := &in.Ssh, &out.Ssh
+ *out = new(ContainerServiceSshConfiguration_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceLinuxProfile_STATUS_ARM.
+func (in *ContainerServiceLinuxProfile_STATUS_ARM) DeepCopy() *ContainerServiceLinuxProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceLinuxProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile) DeepCopyInto(out *ContainerServiceNetworkProfile) {
+ *out = *in
+ if in.AdvancedNetworking != nil {
+ in, out := &in.AdvancedNetworking, &out.AdvancedNetworking
+ *out = new(AdvancedNetworking)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DnsServiceIP != nil {
+ in, out := &in.DnsServiceIP, &out.DnsServiceIP
+ *out = new(string)
+ **out = **in
+ }
+ if in.IpFamilies != nil {
+ in, out := &in.IpFamilies, &out.IpFamilies
+ *out = make([]IpFamily, len(*in))
+ copy(*out, *in)
+ }
+ if in.KubeProxyConfig != nil {
+ in, out := &in.KubeProxyConfig, &out.KubeProxyConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerProfile != nil {
+ in, out := &in.LoadBalancerProfile, &out.LoadBalancerProfile
+ *out = new(ManagedClusterLoadBalancerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerSku != nil {
+ in, out := &in.LoadBalancerSku, &out.LoadBalancerSku
+ *out = new(LoadBalancerSku)
+ **out = **in
+ }
+ if in.NatGatewayProfile != nil {
+ in, out := &in.NatGatewayProfile, &out.NatGatewayProfile
+ *out = new(ManagedClusterNATGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkDataplane != nil {
+ in, out := &in.NetworkDataplane, &out.NetworkDataplane
+ *out = new(NetworkDataplane)
+ **out = **in
+ }
+ if in.NetworkMode != nil {
+ in, out := &in.NetworkMode, &out.NetworkMode
+ *out = new(NetworkMode)
+ **out = **in
+ }
+ if in.NetworkPlugin != nil {
+ in, out := &in.NetworkPlugin, &out.NetworkPlugin
+ *out = new(NetworkPlugin)
+ **out = **in
+ }
+ if in.NetworkPluginMode != nil {
+ in, out := &in.NetworkPluginMode, &out.NetworkPluginMode
+ *out = new(NetworkPluginMode)
+ **out = **in
+ }
+ if in.NetworkPolicy != nil {
+ in, out := &in.NetworkPolicy, &out.NetworkPolicy
+ *out = new(NetworkPolicy)
+ **out = **in
+ }
+ if in.OutboundType != nil {
+ in, out := &in.OutboundType, &out.OutboundType
+ *out = new(ContainerServiceNetworkProfile_OutboundType)
+ **out = **in
+ }
+ if in.PodCidr != nil {
+ in, out := &in.PodCidr, &out.PodCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidrs != nil {
+ in, out := &in.PodCidrs, &out.PodCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PodLinkLocalAccess != nil {
+ in, out := &in.PodLinkLocalAccess, &out.PodLinkLocalAccess
+ *out = new(PodLinkLocalAccess)
+ **out = **in
+ }
+ if in.ServiceCidr != nil {
+ in, out := &in.ServiceCidr, &out.ServiceCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServiceCidrs != nil {
+ in, out := &in.ServiceCidrs, &out.ServiceCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.StaticEgressGatewayProfile != nil {
+ in, out := &in.StaticEgressGatewayProfile, &out.StaticEgressGatewayProfile
+ *out = new(ManagedClusterStaticEgressGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile.
+func (in *ContainerServiceNetworkProfile) DeepCopy() *ContainerServiceNetworkProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_ARM) DeepCopyInto(out *ContainerServiceNetworkProfile_ARM) {
+ *out = *in
+ if in.AdvancedNetworking != nil {
+ in, out := &in.AdvancedNetworking, &out.AdvancedNetworking
+ *out = new(AdvancedNetworking_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DnsServiceIP != nil {
+ in, out := &in.DnsServiceIP, &out.DnsServiceIP
+ *out = new(string)
+ **out = **in
+ }
+ if in.IpFamilies != nil {
+ in, out := &in.IpFamilies, &out.IpFamilies
+ *out = make([]IpFamily, len(*in))
+ copy(*out, *in)
+ }
+ if in.KubeProxyConfig != nil {
+ in, out := &in.KubeProxyConfig, &out.KubeProxyConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerProfile != nil {
+ in, out := &in.LoadBalancerProfile, &out.LoadBalancerProfile
+ *out = new(ManagedClusterLoadBalancerProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerSku != nil {
+ in, out := &in.LoadBalancerSku, &out.LoadBalancerSku
+ *out = new(LoadBalancerSku)
+ **out = **in
+ }
+ if in.NatGatewayProfile != nil {
+ in, out := &in.NatGatewayProfile, &out.NatGatewayProfile
+ *out = new(ManagedClusterNATGatewayProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkDataplane != nil {
+ in, out := &in.NetworkDataplane, &out.NetworkDataplane
+ *out = new(NetworkDataplane)
+ **out = **in
+ }
+ if in.NetworkMode != nil {
+ in, out := &in.NetworkMode, &out.NetworkMode
+ *out = new(NetworkMode)
+ **out = **in
+ }
+ if in.NetworkPlugin != nil {
+ in, out := &in.NetworkPlugin, &out.NetworkPlugin
+ *out = new(NetworkPlugin)
+ **out = **in
+ }
+ if in.NetworkPluginMode != nil {
+ in, out := &in.NetworkPluginMode, &out.NetworkPluginMode
+ *out = new(NetworkPluginMode)
+ **out = **in
+ }
+ if in.NetworkPolicy != nil {
+ in, out := &in.NetworkPolicy, &out.NetworkPolicy
+ *out = new(NetworkPolicy)
+ **out = **in
+ }
+ if in.OutboundType != nil {
+ in, out := &in.OutboundType, &out.OutboundType
+ *out = new(ContainerServiceNetworkProfile_OutboundType)
+ **out = **in
+ }
+ if in.PodCidr != nil {
+ in, out := &in.PodCidr, &out.PodCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidrs != nil {
+ in, out := &in.PodCidrs, &out.PodCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PodLinkLocalAccess != nil {
+ in, out := &in.PodLinkLocalAccess, &out.PodLinkLocalAccess
+ *out = new(PodLinkLocalAccess)
+ **out = **in
+ }
+ if in.ServiceCidr != nil {
+ in, out := &in.ServiceCidr, &out.ServiceCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServiceCidrs != nil {
+ in, out := &in.ServiceCidrs, &out.ServiceCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.StaticEgressGatewayProfile != nil {
+ in, out := &in.StaticEgressGatewayProfile, &out.StaticEgressGatewayProfile
+ *out = new(ManagedClusterStaticEgressGatewayProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_ARM.
+func (in *ContainerServiceNetworkProfile_ARM) DeepCopy() *ContainerServiceNetworkProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IpvsConfig != nil {
+ in, out := &in.IpvsConfig, &out.IpvsConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_ARM) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IpvsConfig != nil {
+ in, out := &in.IpvsConfig, &out.IpvsConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_ARM.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_ARM) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) {
+ *out = *in
+ if in.Scheduler != nil {
+ in, out := &in.Scheduler, &out.Scheduler
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler)
+ **out = **in
+ }
+ if in.TcpFinTimeoutSeconds != nil {
+ in, out := &in.TcpFinTimeoutSeconds, &out.TcpFinTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.TcpTimeoutSeconds != nil {
+ in, out := &in.TcpTimeoutSeconds, &out.TcpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.UdpTimeoutSeconds != nil {
+ in, out := &in.UdpTimeoutSeconds, &out.UdpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM) {
+ *out = *in
+ if in.Scheduler != nil {
+ in, out := &in.Scheduler, &out.Scheduler
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler)
+ **out = **in
+ }
+ if in.TcpFinTimeoutSeconds != nil {
+ in, out := &in.TcpFinTimeoutSeconds, &out.TcpFinTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.TcpTimeoutSeconds != nil {
+ in, out := &in.TcpTimeoutSeconds, &out.TcpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.UdpTimeoutSeconds != nil {
+ in, out := &in.UdpTimeoutSeconds, &out.UdpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) {
+ *out = *in
+ if in.Scheduler != nil {
+ in, out := &in.Scheduler, &out.Scheduler
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS)
+ **out = **in
+ }
+ if in.TcpFinTimeoutSeconds != nil {
+ in, out := &in.TcpFinTimeoutSeconds, &out.TcpFinTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.TcpTimeoutSeconds != nil {
+ in, out := &in.TcpTimeoutSeconds, &out.TcpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.UdpTimeoutSeconds != nil {
+ in, out := &in.UdpTimeoutSeconds, &out.UdpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM) {
+ *out = *in
+ if in.Scheduler != nil {
+ in, out := &in.Scheduler, &out.Scheduler
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_Scheduler_STATUS)
+ **out = **in
+ }
+ if in.TcpFinTimeoutSeconds != nil {
+ in, out := &in.TcpFinTimeoutSeconds, &out.TcpFinTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.TcpTimeoutSeconds != nil {
+ in, out := &in.TcpTimeoutSeconds, &out.TcpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+ if in.UdpTimeoutSeconds != nil {
+ in, out := &in.UdpTimeoutSeconds, &out.UdpTimeoutSeconds
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IpvsConfig != nil {
+ in, out := &in.IpvsConfig, &out.IpvsConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_STATUS.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM) DeepCopyInto(out *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IpvsConfig != nil {
+ in, out := &in.IpvsConfig, &out.IpvsConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_IpvsConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM.
+func (in *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM) DeepCopy() *ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_STATUS) DeepCopyInto(out *ContainerServiceNetworkProfile_STATUS) {
+ *out = *in
+ if in.AdvancedNetworking != nil {
+ in, out := &in.AdvancedNetworking, &out.AdvancedNetworking
+ *out = new(AdvancedNetworking_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DnsServiceIP != nil {
+ in, out := &in.DnsServiceIP, &out.DnsServiceIP
+ *out = new(string)
+ **out = **in
+ }
+ if in.IpFamilies != nil {
+ in, out := &in.IpFamilies, &out.IpFamilies
+ *out = make([]IpFamily_STATUS, len(*in))
+ copy(*out, *in)
+ }
+ if in.KubeProxyConfig != nil {
+ in, out := &in.KubeProxyConfig, &out.KubeProxyConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerProfile != nil {
+ in, out := &in.LoadBalancerProfile, &out.LoadBalancerProfile
+ *out = new(ManagedClusterLoadBalancerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerSku != nil {
+ in, out := &in.LoadBalancerSku, &out.LoadBalancerSku
+ *out = new(LoadBalancerSku_STATUS)
+ **out = **in
+ }
+ if in.NatGatewayProfile != nil {
+ in, out := &in.NatGatewayProfile, &out.NatGatewayProfile
+ *out = new(ManagedClusterNATGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkDataplane != nil {
+ in, out := &in.NetworkDataplane, &out.NetworkDataplane
+ *out = new(NetworkDataplane_STATUS)
+ **out = **in
+ }
+ if in.NetworkMode != nil {
+ in, out := &in.NetworkMode, &out.NetworkMode
+ *out = new(NetworkMode_STATUS)
+ **out = **in
+ }
+ if in.NetworkPlugin != nil {
+ in, out := &in.NetworkPlugin, &out.NetworkPlugin
+ *out = new(NetworkPlugin_STATUS)
+ **out = **in
+ }
+ if in.NetworkPluginMode != nil {
+ in, out := &in.NetworkPluginMode, &out.NetworkPluginMode
+ *out = new(NetworkPluginMode_STATUS)
+ **out = **in
+ }
+ if in.NetworkPolicy != nil {
+ in, out := &in.NetworkPolicy, &out.NetworkPolicy
+ *out = new(NetworkPolicy_STATUS)
+ **out = **in
+ }
+ if in.OutboundType != nil {
+ in, out := &in.OutboundType, &out.OutboundType
+ *out = new(ContainerServiceNetworkProfile_OutboundType_STATUS)
+ **out = **in
+ }
+ if in.PodCidr != nil {
+ in, out := &in.PodCidr, &out.PodCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidrs != nil {
+ in, out := &in.PodCidrs, &out.PodCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PodLinkLocalAccess != nil {
+ in, out := &in.PodLinkLocalAccess, &out.PodLinkLocalAccess
+ *out = new(PodLinkLocalAccess_STATUS)
+ **out = **in
+ }
+ if in.ServiceCidr != nil {
+ in, out := &in.ServiceCidr, &out.ServiceCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServiceCidrs != nil {
+ in, out := &in.ServiceCidrs, &out.ServiceCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.StaticEgressGatewayProfile != nil {
+ in, out := &in.StaticEgressGatewayProfile, &out.StaticEgressGatewayProfile
+ *out = new(ManagedClusterStaticEgressGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_STATUS.
+func (in *ContainerServiceNetworkProfile_STATUS) DeepCopy() *ContainerServiceNetworkProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceNetworkProfile_STATUS_ARM) DeepCopyInto(out *ContainerServiceNetworkProfile_STATUS_ARM) {
+ *out = *in
+ if in.AdvancedNetworking != nil {
+ in, out := &in.AdvancedNetworking, &out.AdvancedNetworking
+ *out = new(AdvancedNetworking_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DnsServiceIP != nil {
+ in, out := &in.DnsServiceIP, &out.DnsServiceIP
+ *out = new(string)
+ **out = **in
+ }
+ if in.IpFamilies != nil {
+ in, out := &in.IpFamilies, &out.IpFamilies
+ *out = make([]IpFamily_STATUS, len(*in))
+ copy(*out, *in)
+ }
+ if in.KubeProxyConfig != nil {
+ in, out := &in.KubeProxyConfig, &out.KubeProxyConfig
+ *out = new(ContainerServiceNetworkProfile_KubeProxyConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerProfile != nil {
+ in, out := &in.LoadBalancerProfile, &out.LoadBalancerProfile
+ *out = new(ManagedClusterLoadBalancerProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LoadBalancerSku != nil {
+ in, out := &in.LoadBalancerSku, &out.LoadBalancerSku
+ *out = new(LoadBalancerSku_STATUS)
+ **out = **in
+ }
+ if in.NatGatewayProfile != nil {
+ in, out := &in.NatGatewayProfile, &out.NatGatewayProfile
+ *out = new(ManagedClusterNATGatewayProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkDataplane != nil {
+ in, out := &in.NetworkDataplane, &out.NetworkDataplane
+ *out = new(NetworkDataplane_STATUS)
+ **out = **in
+ }
+ if in.NetworkMode != nil {
+ in, out := &in.NetworkMode, &out.NetworkMode
+ *out = new(NetworkMode_STATUS)
+ **out = **in
+ }
+ if in.NetworkPlugin != nil {
+ in, out := &in.NetworkPlugin, &out.NetworkPlugin
+ *out = new(NetworkPlugin_STATUS)
+ **out = **in
+ }
+ if in.NetworkPluginMode != nil {
+ in, out := &in.NetworkPluginMode, &out.NetworkPluginMode
+ *out = new(NetworkPluginMode_STATUS)
+ **out = **in
+ }
+ if in.NetworkPolicy != nil {
+ in, out := &in.NetworkPolicy, &out.NetworkPolicy
+ *out = new(NetworkPolicy_STATUS)
+ **out = **in
+ }
+ if in.OutboundType != nil {
+ in, out := &in.OutboundType, &out.OutboundType
+ *out = new(ContainerServiceNetworkProfile_OutboundType_STATUS)
+ **out = **in
+ }
+ if in.PodCidr != nil {
+ in, out := &in.PodCidr, &out.PodCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodCidrs != nil {
+ in, out := &in.PodCidrs, &out.PodCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.PodLinkLocalAccess != nil {
+ in, out := &in.PodLinkLocalAccess, &out.PodLinkLocalAccess
+ *out = new(PodLinkLocalAccess_STATUS)
+ **out = **in
+ }
+ if in.ServiceCidr != nil {
+ in, out := &in.ServiceCidr, &out.ServiceCidr
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServiceCidrs != nil {
+ in, out := &in.ServiceCidrs, &out.ServiceCidrs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.StaticEgressGatewayProfile != nil {
+ in, out := &in.StaticEgressGatewayProfile, &out.StaticEgressGatewayProfile
+ *out = new(ManagedClusterStaticEgressGatewayProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceNetworkProfile_STATUS_ARM.
+func (in *ContainerServiceNetworkProfile_STATUS_ARM) DeepCopy() *ContainerServiceNetworkProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceNetworkProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshConfiguration) DeepCopyInto(out *ContainerServiceSshConfiguration) {
+ *out = *in
+ if in.PublicKeys != nil {
+ in, out := &in.PublicKeys, &out.PublicKeys
+ *out = make([]ContainerServiceSshPublicKey, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshConfiguration.
+func (in *ContainerServiceSshConfiguration) DeepCopy() *ContainerServiceSshConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshConfiguration_ARM) DeepCopyInto(out *ContainerServiceSshConfiguration_ARM) {
+ *out = *in
+ if in.PublicKeys != nil {
+ in, out := &in.PublicKeys, &out.PublicKeys
+ *out = make([]ContainerServiceSshPublicKey_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshConfiguration_ARM.
+func (in *ContainerServiceSshConfiguration_ARM) DeepCopy() *ContainerServiceSshConfiguration_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshConfiguration_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshConfiguration_STATUS) DeepCopyInto(out *ContainerServiceSshConfiguration_STATUS) {
+ *out = *in
+ if in.PublicKeys != nil {
+ in, out := &in.PublicKeys, &out.PublicKeys
+ *out = make([]ContainerServiceSshPublicKey_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshConfiguration_STATUS.
+func (in *ContainerServiceSshConfiguration_STATUS) DeepCopy() *ContainerServiceSshConfiguration_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshConfiguration_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshConfiguration_STATUS_ARM) DeepCopyInto(out *ContainerServiceSshConfiguration_STATUS_ARM) {
+ *out = *in
+ if in.PublicKeys != nil {
+ in, out := &in.PublicKeys, &out.PublicKeys
+ *out = make([]ContainerServiceSshPublicKey_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshConfiguration_STATUS_ARM.
+func (in *ContainerServiceSshConfiguration_STATUS_ARM) DeepCopy() *ContainerServiceSshConfiguration_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshConfiguration_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshPublicKey) DeepCopyInto(out *ContainerServiceSshPublicKey) {
+ *out = *in
+ if in.KeyData != nil {
+ in, out := &in.KeyData, &out.KeyData
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshPublicKey.
+func (in *ContainerServiceSshPublicKey) DeepCopy() *ContainerServiceSshPublicKey {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshPublicKey)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshPublicKey_ARM) DeepCopyInto(out *ContainerServiceSshPublicKey_ARM) {
+ *out = *in
+ if in.KeyData != nil {
+ in, out := &in.KeyData, &out.KeyData
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshPublicKey_ARM.
+func (in *ContainerServiceSshPublicKey_ARM) DeepCopy() *ContainerServiceSshPublicKey_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshPublicKey_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshPublicKey_STATUS) DeepCopyInto(out *ContainerServiceSshPublicKey_STATUS) {
+ *out = *in
+ if in.KeyData != nil {
+ in, out := &in.KeyData, &out.KeyData
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshPublicKey_STATUS.
+func (in *ContainerServiceSshPublicKey_STATUS) DeepCopy() *ContainerServiceSshPublicKey_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshPublicKey_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ContainerServiceSshPublicKey_STATUS_ARM) DeepCopyInto(out *ContainerServiceSshPublicKey_STATUS_ARM) {
+ *out = *in
+ if in.KeyData != nil {
+ in, out := &in.KeyData, &out.KeyData
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerServiceSshPublicKey_STATUS_ARM.
+func (in *ContainerServiceSshPublicKey_STATUS_ARM) DeepCopy() *ContainerServiceSshPublicKey_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ContainerServiceSshPublicKey_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *CreationData) DeepCopyInto(out *CreationData) {
+ *out = *in
+ if in.SourceResourceReference != nil {
+ in, out := &in.SourceResourceReference, &out.SourceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationData.
+func (in *CreationData) DeepCopy() *CreationData {
+ if in == nil {
+ return nil
+ }
+ out := new(CreationData)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *CreationData_ARM) DeepCopyInto(out *CreationData_ARM) {
+ *out = *in
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationData_ARM.
+func (in *CreationData_ARM) DeepCopy() *CreationData_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(CreationData_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *CreationData_STATUS) DeepCopyInto(out *CreationData_STATUS) {
+ *out = *in
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationData_STATUS.
+func (in *CreationData_STATUS) DeepCopy() *CreationData_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(CreationData_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *CreationData_STATUS_ARM) DeepCopyInto(out *CreationData_STATUS_ARM) {
+ *out = *in
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreationData_STATUS_ARM.
+func (in *CreationData_STATUS_ARM) DeepCopy() *CreationData_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(CreationData_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DelegatedResource) DeepCopyInto(out *DelegatedResource) {
+ *out = *in
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.ReferralResource != nil {
+ in, out := &in.ReferralResource, &out.ReferralResource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceReference != nil {
+ in, out := &in.ResourceReference, &out.ResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedResource.
+func (in *DelegatedResource) DeepCopy() *DelegatedResource {
+ if in == nil {
+ return nil
+ }
+ out := new(DelegatedResource)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DelegatedResource_ARM) DeepCopyInto(out *DelegatedResource_ARM) {
+ *out = *in
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.ReferralResource != nil {
+ in, out := &in.ReferralResource, &out.ReferralResource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedResource_ARM.
+func (in *DelegatedResource_ARM) DeepCopy() *DelegatedResource_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(DelegatedResource_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DelegatedResource_STATUS) DeepCopyInto(out *DelegatedResource_STATUS) {
+ *out = *in
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.ReferralResource != nil {
+ in, out := &in.ReferralResource, &out.ReferralResource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedResource_STATUS.
+func (in *DelegatedResource_STATUS) DeepCopy() *DelegatedResource_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(DelegatedResource_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DelegatedResource_STATUS_ARM) DeepCopyInto(out *DelegatedResource_STATUS_ARM) {
+ *out = *in
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.ReferralResource != nil {
+ in, out := &in.ReferralResource, &out.ReferralResource
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DelegatedResource_STATUS_ARM.
+func (in *DelegatedResource_STATUS_ARM) DeepCopy() *DelegatedResource_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(DelegatedResource_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtendedLocation) DeepCopyInto(out *ExtendedLocation) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ExtendedLocationType)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation.
+func (in *ExtendedLocation) DeepCopy() *ExtendedLocation {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtendedLocation)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtendedLocation_ARM) DeepCopyInto(out *ExtendedLocation_ARM) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ExtendedLocationType)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_ARM.
+func (in *ExtendedLocation_ARM) DeepCopy() *ExtendedLocation_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtendedLocation_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtendedLocation_STATUS) DeepCopyInto(out *ExtendedLocation_STATUS) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ExtendedLocationType_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_STATUS.
+func (in *ExtendedLocation_STATUS) DeepCopy() *ExtendedLocation_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtendedLocation_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtendedLocation_STATUS_ARM) DeepCopyInto(out *ExtendedLocation_STATUS_ARM) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ExtendedLocationType_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtendedLocation_STATUS_ARM.
+func (in *ExtendedLocation_STATUS_ARM) DeepCopy() *ExtendedLocation_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtendedLocation_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IPTag) DeepCopyInto(out *IPTag) {
+ *out = *in
+ if in.IpTagType != nil {
+ in, out := &in.IpTagType, &out.IpTagType
+ *out = new(string)
+ **out = **in
+ }
+ if in.Tag != nil {
+ in, out := &in.Tag, &out.Tag
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTag.
+func (in *IPTag) DeepCopy() *IPTag {
+ if in == nil {
+ return nil
+ }
+ out := new(IPTag)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IPTag_ARM) DeepCopyInto(out *IPTag_ARM) {
+ *out = *in
+ if in.IpTagType != nil {
+ in, out := &in.IpTagType, &out.IpTagType
+ *out = new(string)
+ **out = **in
+ }
+ if in.Tag != nil {
+ in, out := &in.Tag, &out.Tag
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTag_ARM.
+func (in *IPTag_ARM) DeepCopy() *IPTag_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IPTag_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IPTag_STATUS) DeepCopyInto(out *IPTag_STATUS) {
+ *out = *in
+ if in.IpTagType != nil {
+ in, out := &in.IpTagType, &out.IpTagType
+ *out = new(string)
+ **out = **in
+ }
+ if in.Tag != nil {
+ in, out := &in.Tag, &out.Tag
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTag_STATUS.
+func (in *IPTag_STATUS) DeepCopy() *IPTag_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IPTag_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IPTag_STATUS_ARM) DeepCopyInto(out *IPTag_STATUS_ARM) {
+ *out = *in
+ if in.IpTagType != nil {
+ in, out := &in.IpTagType, &out.IpTagType
+ *out = new(string)
+ **out = **in
+ }
+ if in.Tag != nil {
+ in, out := &in.Tag, &out.Tag
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPTag_STATUS_ARM.
+func (in *IPTag_STATUS_ARM) DeepCopy() *IPTag_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IPTag_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioCertificateAuthority) DeepCopyInto(out *IstioCertificateAuthority) {
+ *out = *in
+ if in.Plugin != nil {
+ in, out := &in.Plugin, &out.Plugin
+ *out = new(IstioPluginCertificateAuthority)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioCertificateAuthority.
+func (in *IstioCertificateAuthority) DeepCopy() *IstioCertificateAuthority {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioCertificateAuthority)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioCertificateAuthority_ARM) DeepCopyInto(out *IstioCertificateAuthority_ARM) {
+ *out = *in
+ if in.Plugin != nil {
+ in, out := &in.Plugin, &out.Plugin
+ *out = new(IstioPluginCertificateAuthority_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioCertificateAuthority_ARM.
+func (in *IstioCertificateAuthority_ARM) DeepCopy() *IstioCertificateAuthority_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioCertificateAuthority_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioCertificateAuthority_STATUS) DeepCopyInto(out *IstioCertificateAuthority_STATUS) {
+ *out = *in
+ if in.Plugin != nil {
+ in, out := &in.Plugin, &out.Plugin
+ *out = new(IstioPluginCertificateAuthority_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioCertificateAuthority_STATUS.
+func (in *IstioCertificateAuthority_STATUS) DeepCopy() *IstioCertificateAuthority_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioCertificateAuthority_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioCertificateAuthority_STATUS_ARM) DeepCopyInto(out *IstioCertificateAuthority_STATUS_ARM) {
+ *out = *in
+ if in.Plugin != nil {
+ in, out := &in.Plugin, &out.Plugin
+ *out = new(IstioPluginCertificateAuthority_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioCertificateAuthority_STATUS_ARM.
+func (in *IstioCertificateAuthority_STATUS_ARM) DeepCopy() *IstioCertificateAuthority_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioCertificateAuthority_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioComponents) DeepCopyInto(out *IstioComponents) {
+ *out = *in
+ if in.EgressGateways != nil {
+ in, out := &in.EgressGateways, &out.EgressGateways
+ *out = make([]IstioEgressGateway, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IngressGateways != nil {
+ in, out := &in.IngressGateways, &out.IngressGateways
+ *out = make([]IstioIngressGateway, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioComponents.
+func (in *IstioComponents) DeepCopy() *IstioComponents {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioComponents)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioComponents_ARM) DeepCopyInto(out *IstioComponents_ARM) {
+ *out = *in
+ if in.EgressGateways != nil {
+ in, out := &in.EgressGateways, &out.EgressGateways
+ *out = make([]IstioEgressGateway_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IngressGateways != nil {
+ in, out := &in.IngressGateways, &out.IngressGateways
+ *out = make([]IstioIngressGateway_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioComponents_ARM.
+func (in *IstioComponents_ARM) DeepCopy() *IstioComponents_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioComponents_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioComponents_STATUS) DeepCopyInto(out *IstioComponents_STATUS) {
+ *out = *in
+ if in.EgressGateways != nil {
+ in, out := &in.EgressGateways, &out.EgressGateways
+ *out = make([]IstioEgressGateway_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IngressGateways != nil {
+ in, out := &in.IngressGateways, &out.IngressGateways
+ *out = make([]IstioIngressGateway_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioComponents_STATUS.
+func (in *IstioComponents_STATUS) DeepCopy() *IstioComponents_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioComponents_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioComponents_STATUS_ARM) DeepCopyInto(out *IstioComponents_STATUS_ARM) {
+ *out = *in
+ if in.EgressGateways != nil {
+ in, out := &in.EgressGateways, &out.EgressGateways
+ *out = make([]IstioEgressGateway_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IngressGateways != nil {
+ in, out := &in.IngressGateways, &out.IngressGateways
+ *out = make([]IstioIngressGateway_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioComponents_STATUS_ARM.
+func (in *IstioComponents_STATUS_ARM) DeepCopy() *IstioComponents_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioComponents_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioEgressGateway) DeepCopyInto(out *IstioEgressGateway) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioEgressGateway.
+func (in *IstioEgressGateway) DeepCopy() *IstioEgressGateway {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioEgressGateway)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioEgressGateway_ARM) DeepCopyInto(out *IstioEgressGateway_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioEgressGateway_ARM.
+func (in *IstioEgressGateway_ARM) DeepCopy() *IstioEgressGateway_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioEgressGateway_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioEgressGateway_STATUS) DeepCopyInto(out *IstioEgressGateway_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioEgressGateway_STATUS.
+func (in *IstioEgressGateway_STATUS) DeepCopy() *IstioEgressGateway_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioEgressGateway_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioEgressGateway_STATUS_ARM) DeepCopyInto(out *IstioEgressGateway_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioEgressGateway_STATUS_ARM.
+func (in *IstioEgressGateway_STATUS_ARM) DeepCopy() *IstioEgressGateway_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioEgressGateway_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioIngressGateway) DeepCopyInto(out *IstioIngressGateway) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(IstioIngressGateway_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioIngressGateway.
+func (in *IstioIngressGateway) DeepCopy() *IstioIngressGateway {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioIngressGateway)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioIngressGateway_ARM) DeepCopyInto(out *IstioIngressGateway_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(IstioIngressGateway_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioIngressGateway_ARM.
+func (in *IstioIngressGateway_ARM) DeepCopy() *IstioIngressGateway_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioIngressGateway_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioIngressGateway_STATUS) DeepCopyInto(out *IstioIngressGateway_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(IstioIngressGateway_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioIngressGateway_STATUS.
+func (in *IstioIngressGateway_STATUS) DeepCopy() *IstioIngressGateway_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioIngressGateway_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioIngressGateway_STATUS_ARM) DeepCopyInto(out *IstioIngressGateway_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(IstioIngressGateway_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioIngressGateway_STATUS_ARM.
+func (in *IstioIngressGateway_STATUS_ARM) DeepCopy() *IstioIngressGateway_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioIngressGateway_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioPluginCertificateAuthority) DeepCopyInto(out *IstioPluginCertificateAuthority) {
+ *out = *in
+ if in.CertChainObjectName != nil {
+ in, out := &in.CertChainObjectName, &out.CertChainObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.CertObjectName != nil {
+ in, out := &in.CertObjectName, &out.CertObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyObjectName != nil {
+ in, out := &in.KeyObjectName, &out.KeyObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultReference != nil {
+ in, out := &in.KeyVaultReference, &out.KeyVaultReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.RootCertObjectName != nil {
+ in, out := &in.RootCertObjectName, &out.RootCertObjectName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioPluginCertificateAuthority.
+func (in *IstioPluginCertificateAuthority) DeepCopy() *IstioPluginCertificateAuthority {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioPluginCertificateAuthority)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioPluginCertificateAuthority_ARM) DeepCopyInto(out *IstioPluginCertificateAuthority_ARM) {
+ *out = *in
+ if in.CertChainObjectName != nil {
+ in, out := &in.CertChainObjectName, &out.CertChainObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.CertObjectName != nil {
+ in, out := &in.CertObjectName, &out.CertObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyObjectName != nil {
+ in, out := &in.KeyObjectName, &out.KeyObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultId != nil {
+ in, out := &in.KeyVaultId, &out.KeyVaultId
+ *out = new(string)
+ **out = **in
+ }
+ if in.RootCertObjectName != nil {
+ in, out := &in.RootCertObjectName, &out.RootCertObjectName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioPluginCertificateAuthority_ARM.
+func (in *IstioPluginCertificateAuthority_ARM) DeepCopy() *IstioPluginCertificateAuthority_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioPluginCertificateAuthority_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioPluginCertificateAuthority_STATUS) DeepCopyInto(out *IstioPluginCertificateAuthority_STATUS) {
+ *out = *in
+ if in.CertChainObjectName != nil {
+ in, out := &in.CertChainObjectName, &out.CertChainObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.CertObjectName != nil {
+ in, out := &in.CertObjectName, &out.CertObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyObjectName != nil {
+ in, out := &in.KeyObjectName, &out.KeyObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultId != nil {
+ in, out := &in.KeyVaultId, &out.KeyVaultId
+ *out = new(string)
+ **out = **in
+ }
+ if in.RootCertObjectName != nil {
+ in, out := &in.RootCertObjectName, &out.RootCertObjectName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioPluginCertificateAuthority_STATUS.
+func (in *IstioPluginCertificateAuthority_STATUS) DeepCopy() *IstioPluginCertificateAuthority_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioPluginCertificateAuthority_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioPluginCertificateAuthority_STATUS_ARM) DeepCopyInto(out *IstioPluginCertificateAuthority_STATUS_ARM) {
+ *out = *in
+ if in.CertChainObjectName != nil {
+ in, out := &in.CertChainObjectName, &out.CertChainObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.CertObjectName != nil {
+ in, out := &in.CertObjectName, &out.CertObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyObjectName != nil {
+ in, out := &in.KeyObjectName, &out.KeyObjectName
+ *out = new(string)
+ **out = **in
+ }
+ if in.KeyVaultId != nil {
+ in, out := &in.KeyVaultId, &out.KeyVaultId
+ *out = new(string)
+ **out = **in
+ }
+ if in.RootCertObjectName != nil {
+ in, out := &in.RootCertObjectName, &out.RootCertObjectName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioPluginCertificateAuthority_STATUS_ARM.
+func (in *IstioPluginCertificateAuthority_STATUS_ARM) DeepCopy() *IstioPluginCertificateAuthority_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioPluginCertificateAuthority_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioServiceMesh) DeepCopyInto(out *IstioServiceMesh) {
+ *out = *in
+ if in.CertificateAuthority != nil {
+ in, out := &in.CertificateAuthority, &out.CertificateAuthority
+ *out = new(IstioCertificateAuthority)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Components != nil {
+ in, out := &in.Components, &out.Components
+ *out = new(IstioComponents)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Revisions != nil {
+ in, out := &in.Revisions, &out.Revisions
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioServiceMesh.
+func (in *IstioServiceMesh) DeepCopy() *IstioServiceMesh {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioServiceMesh)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioServiceMesh_ARM) DeepCopyInto(out *IstioServiceMesh_ARM) {
+ *out = *in
+ if in.CertificateAuthority != nil {
+ in, out := &in.CertificateAuthority, &out.CertificateAuthority
+ *out = new(IstioCertificateAuthority_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Components != nil {
+ in, out := &in.Components, &out.Components
+ *out = new(IstioComponents_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Revisions != nil {
+ in, out := &in.Revisions, &out.Revisions
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioServiceMesh_ARM.
+func (in *IstioServiceMesh_ARM) DeepCopy() *IstioServiceMesh_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioServiceMesh_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioServiceMesh_STATUS) DeepCopyInto(out *IstioServiceMesh_STATUS) {
+ *out = *in
+ if in.CertificateAuthority != nil {
+ in, out := &in.CertificateAuthority, &out.CertificateAuthority
+ *out = new(IstioCertificateAuthority_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Components != nil {
+ in, out := &in.Components, &out.Components
+ *out = new(IstioComponents_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Revisions != nil {
+ in, out := &in.Revisions, &out.Revisions
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioServiceMesh_STATUS.
+func (in *IstioServiceMesh_STATUS) DeepCopy() *IstioServiceMesh_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioServiceMesh_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IstioServiceMesh_STATUS_ARM) DeepCopyInto(out *IstioServiceMesh_STATUS_ARM) {
+ *out = *in
+ if in.CertificateAuthority != nil {
+ in, out := &in.CertificateAuthority, &out.CertificateAuthority
+ *out = new(IstioCertificateAuthority_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Components != nil {
+ in, out := &in.Components, &out.Components
+ *out = new(IstioComponents_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Revisions != nil {
+ in, out := &in.Revisions, &out.Revisions
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IstioServiceMesh_STATUS_ARM.
+func (in *IstioServiceMesh_STATUS_ARM) DeepCopy() *IstioServiceMesh_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(IstioServiceMesh_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KubeletConfig) DeepCopyInto(out *KubeletConfig) {
+ *out = *in
+ if in.AllowedUnsafeSysctls != nil {
+ in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ContainerLogMaxFiles != nil {
+ in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
+ *out = new(int)
+ **out = **in
+ }
+ if in.ContainerLogMaxSizeMB != nil {
+ in, out := &in.ContainerLogMaxSizeMB, &out.ContainerLogMaxSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.CpuCfsQuota != nil {
+ in, out := &in.CpuCfsQuota, &out.CpuCfsQuota
+ *out = new(bool)
+ **out = **in
+ }
+ if in.CpuCfsQuotaPeriod != nil {
+ in, out := &in.CpuCfsQuotaPeriod, &out.CpuCfsQuotaPeriod
+ *out = new(string)
+ **out = **in
+ }
+ if in.CpuManagerPolicy != nil {
+ in, out := &in.CpuManagerPolicy, &out.CpuManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.FailSwapOn != nil {
+ in, out := &in.FailSwapOn, &out.FailSwapOn
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ImageGcHighThreshold != nil {
+ in, out := &in.ImageGcHighThreshold, &out.ImageGcHighThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.ImageGcLowThreshold != nil {
+ in, out := &in.ImageGcLowThreshold, &out.ImageGcLowThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.PodMaxPids != nil {
+ in, out := &in.PodMaxPids, &out.PodMaxPids
+ *out = new(int)
+ **out = **in
+ }
+ if in.TopologyManagerPolicy != nil {
+ in, out := &in.TopologyManagerPolicy, &out.TopologyManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfig.
+func (in *KubeletConfig) DeepCopy() *KubeletConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(KubeletConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KubeletConfig_ARM) DeepCopyInto(out *KubeletConfig_ARM) {
+ *out = *in
+ if in.AllowedUnsafeSysctls != nil {
+ in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ContainerLogMaxFiles != nil {
+ in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
+ *out = new(int)
+ **out = **in
+ }
+ if in.ContainerLogMaxSizeMB != nil {
+ in, out := &in.ContainerLogMaxSizeMB, &out.ContainerLogMaxSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.CpuCfsQuota != nil {
+ in, out := &in.CpuCfsQuota, &out.CpuCfsQuota
+ *out = new(bool)
+ **out = **in
+ }
+ if in.CpuCfsQuotaPeriod != nil {
+ in, out := &in.CpuCfsQuotaPeriod, &out.CpuCfsQuotaPeriod
+ *out = new(string)
+ **out = **in
+ }
+ if in.CpuManagerPolicy != nil {
+ in, out := &in.CpuManagerPolicy, &out.CpuManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.FailSwapOn != nil {
+ in, out := &in.FailSwapOn, &out.FailSwapOn
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ImageGcHighThreshold != nil {
+ in, out := &in.ImageGcHighThreshold, &out.ImageGcHighThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.ImageGcLowThreshold != nil {
+ in, out := &in.ImageGcLowThreshold, &out.ImageGcLowThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.PodMaxPids != nil {
+ in, out := &in.PodMaxPids, &out.PodMaxPids
+ *out = new(int)
+ **out = **in
+ }
+ if in.TopologyManagerPolicy != nil {
+ in, out := &in.TopologyManagerPolicy, &out.TopologyManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfig_ARM.
+func (in *KubeletConfig_ARM) DeepCopy() *KubeletConfig_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(KubeletConfig_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KubeletConfig_STATUS) DeepCopyInto(out *KubeletConfig_STATUS) {
+ *out = *in
+ if in.AllowedUnsafeSysctls != nil {
+ in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ContainerLogMaxFiles != nil {
+ in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
+ *out = new(int)
+ **out = **in
+ }
+ if in.ContainerLogMaxSizeMB != nil {
+ in, out := &in.ContainerLogMaxSizeMB, &out.ContainerLogMaxSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.CpuCfsQuota != nil {
+ in, out := &in.CpuCfsQuota, &out.CpuCfsQuota
+ *out = new(bool)
+ **out = **in
+ }
+ if in.CpuCfsQuotaPeriod != nil {
+ in, out := &in.CpuCfsQuotaPeriod, &out.CpuCfsQuotaPeriod
+ *out = new(string)
+ **out = **in
+ }
+ if in.CpuManagerPolicy != nil {
+ in, out := &in.CpuManagerPolicy, &out.CpuManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.FailSwapOn != nil {
+ in, out := &in.FailSwapOn, &out.FailSwapOn
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ImageGcHighThreshold != nil {
+ in, out := &in.ImageGcHighThreshold, &out.ImageGcHighThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.ImageGcLowThreshold != nil {
+ in, out := &in.ImageGcLowThreshold, &out.ImageGcLowThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.PodMaxPids != nil {
+ in, out := &in.PodMaxPids, &out.PodMaxPids
+ *out = new(int)
+ **out = **in
+ }
+ if in.TopologyManagerPolicy != nil {
+ in, out := &in.TopologyManagerPolicy, &out.TopologyManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfig_STATUS.
+func (in *KubeletConfig_STATUS) DeepCopy() *KubeletConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(KubeletConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KubeletConfig_STATUS_ARM) DeepCopyInto(out *KubeletConfig_STATUS_ARM) {
+ *out = *in
+ if in.AllowedUnsafeSysctls != nil {
+ in, out := &in.AllowedUnsafeSysctls, &out.AllowedUnsafeSysctls
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ContainerLogMaxFiles != nil {
+ in, out := &in.ContainerLogMaxFiles, &out.ContainerLogMaxFiles
+ *out = new(int)
+ **out = **in
+ }
+ if in.ContainerLogMaxSizeMB != nil {
+ in, out := &in.ContainerLogMaxSizeMB, &out.ContainerLogMaxSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.CpuCfsQuota != nil {
+ in, out := &in.CpuCfsQuota, &out.CpuCfsQuota
+ *out = new(bool)
+ **out = **in
+ }
+ if in.CpuCfsQuotaPeriod != nil {
+ in, out := &in.CpuCfsQuotaPeriod, &out.CpuCfsQuotaPeriod
+ *out = new(string)
+ **out = **in
+ }
+ if in.CpuManagerPolicy != nil {
+ in, out := &in.CpuManagerPolicy, &out.CpuManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+ if in.FailSwapOn != nil {
+ in, out := &in.FailSwapOn, &out.FailSwapOn
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ImageGcHighThreshold != nil {
+ in, out := &in.ImageGcHighThreshold, &out.ImageGcHighThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.ImageGcLowThreshold != nil {
+ in, out := &in.ImageGcLowThreshold, &out.ImageGcLowThreshold
+ *out = new(int)
+ **out = **in
+ }
+ if in.PodMaxPids != nil {
+ in, out := &in.PodMaxPids, &out.PodMaxPids
+ *out = new(int)
+ **out = **in
+ }
+ if in.TopologyManagerPolicy != nil {
+ in, out := &in.TopologyManagerPolicy, &out.TopologyManagerPolicy
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeletConfig_STATUS_ARM.
+func (in *KubeletConfig_STATUS_ARM) DeepCopy() *KubeletConfig_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(KubeletConfig_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *LinuxOSConfig) DeepCopyInto(out *LinuxOSConfig) {
+ *out = *in
+ if in.SwapFileSizeMB != nil {
+ in, out := &in.SwapFileSizeMB, &out.SwapFileSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sysctls != nil {
+ in, out := &in.Sysctls, &out.Sysctls
+ *out = new(SysctlConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.TransparentHugePageDefrag != nil {
+ in, out := &in.TransparentHugePageDefrag, &out.TransparentHugePageDefrag
+ *out = new(string)
+ **out = **in
+ }
+ if in.TransparentHugePageEnabled != nil {
+ in, out := &in.TransparentHugePageEnabled, &out.TransparentHugePageEnabled
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxOSConfig.
+func (in *LinuxOSConfig) DeepCopy() *LinuxOSConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(LinuxOSConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *LinuxOSConfig_ARM) DeepCopyInto(out *LinuxOSConfig_ARM) {
+ *out = *in
+ if in.SwapFileSizeMB != nil {
+ in, out := &in.SwapFileSizeMB, &out.SwapFileSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sysctls != nil {
+ in, out := &in.Sysctls, &out.Sysctls
+ *out = new(SysctlConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.TransparentHugePageDefrag != nil {
+ in, out := &in.TransparentHugePageDefrag, &out.TransparentHugePageDefrag
+ *out = new(string)
+ **out = **in
+ }
+ if in.TransparentHugePageEnabled != nil {
+ in, out := &in.TransparentHugePageEnabled, &out.TransparentHugePageEnabled
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxOSConfig_ARM.
+func (in *LinuxOSConfig_ARM) DeepCopy() *LinuxOSConfig_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(LinuxOSConfig_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *LinuxOSConfig_STATUS) DeepCopyInto(out *LinuxOSConfig_STATUS) {
+ *out = *in
+ if in.SwapFileSizeMB != nil {
+ in, out := &in.SwapFileSizeMB, &out.SwapFileSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sysctls != nil {
+ in, out := &in.Sysctls, &out.Sysctls
+ *out = new(SysctlConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.TransparentHugePageDefrag != nil {
+ in, out := &in.TransparentHugePageDefrag, &out.TransparentHugePageDefrag
+ *out = new(string)
+ **out = **in
+ }
+ if in.TransparentHugePageEnabled != nil {
+ in, out := &in.TransparentHugePageEnabled, &out.TransparentHugePageEnabled
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxOSConfig_STATUS.
+func (in *LinuxOSConfig_STATUS) DeepCopy() *LinuxOSConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(LinuxOSConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *LinuxOSConfig_STATUS_ARM) DeepCopyInto(out *LinuxOSConfig_STATUS_ARM) {
+ *out = *in
+ if in.SwapFileSizeMB != nil {
+ in, out := &in.SwapFileSizeMB, &out.SwapFileSizeMB
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sysctls != nil {
+ in, out := &in.Sysctls, &out.Sysctls
+ *out = new(SysctlConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.TransparentHugePageDefrag != nil {
+ in, out := &in.TransparentHugePageDefrag, &out.TransparentHugePageDefrag
+ *out = new(string)
+ **out = **in
+ }
+ if in.TransparentHugePageEnabled != nil {
+ in, out := &in.TransparentHugePageEnabled, &out.TransparentHugePageEnabled
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LinuxOSConfig_STATUS_ARM.
+func (in *LinuxOSConfig_STATUS_ARM) DeepCopy() *LinuxOSConfig_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(LinuxOSConfig_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster) DeepCopyInto(out *ManagedCluster) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster.
+func (in *ManagedCluster) DeepCopy() *ManagedCluster {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedCluster) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAADProfile) DeepCopyInto(out *ManagedClusterAADProfile) {
+ *out = *in
+ if in.AdminGroupObjectIDs != nil {
+ in, out := &in.AdminGroupObjectIDs, &out.AdminGroupObjectIDs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ClientAppID != nil {
+ in, out := &in.ClientAppID, &out.ClientAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAzureRBAC != nil {
+ in, out := &in.EnableAzureRBAC, &out.EnableAzureRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Managed != nil {
+ in, out := &in.Managed, &out.Managed
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ServerAppID != nil {
+ in, out := &in.ServerAppID, &out.ServerAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServerAppSecret != nil {
+ in, out := &in.ServerAppSecret, &out.ServerAppSecret
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantID != nil {
+ in, out := &in.TenantID, &out.TenantID
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAADProfile.
+func (in *ManagedClusterAADProfile) DeepCopy() *ManagedClusterAADProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAADProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAADProfile_ARM) DeepCopyInto(out *ManagedClusterAADProfile_ARM) {
+ *out = *in
+ if in.AdminGroupObjectIDs != nil {
+ in, out := &in.AdminGroupObjectIDs, &out.AdminGroupObjectIDs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ClientAppID != nil {
+ in, out := &in.ClientAppID, &out.ClientAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAzureRBAC != nil {
+ in, out := &in.EnableAzureRBAC, &out.EnableAzureRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Managed != nil {
+ in, out := &in.Managed, &out.Managed
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ServerAppID != nil {
+ in, out := &in.ServerAppID, &out.ServerAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServerAppSecret != nil {
+ in, out := &in.ServerAppSecret, &out.ServerAppSecret
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantID != nil {
+ in, out := &in.TenantID, &out.TenantID
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAADProfile_ARM.
+func (in *ManagedClusterAADProfile_ARM) DeepCopy() *ManagedClusterAADProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAADProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAADProfile_STATUS) DeepCopyInto(out *ManagedClusterAADProfile_STATUS) {
+ *out = *in
+ if in.AdminGroupObjectIDs != nil {
+ in, out := &in.AdminGroupObjectIDs, &out.AdminGroupObjectIDs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ClientAppID != nil {
+ in, out := &in.ClientAppID, &out.ClientAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAzureRBAC != nil {
+ in, out := &in.EnableAzureRBAC, &out.EnableAzureRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Managed != nil {
+ in, out := &in.Managed, &out.Managed
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ServerAppID != nil {
+ in, out := &in.ServerAppID, &out.ServerAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServerAppSecret != nil {
+ in, out := &in.ServerAppSecret, &out.ServerAppSecret
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantID != nil {
+ in, out := &in.TenantID, &out.TenantID
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAADProfile_STATUS.
+func (in *ManagedClusterAADProfile_STATUS) DeepCopy() *ManagedClusterAADProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAADProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAADProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAADProfile_STATUS_ARM) {
+ *out = *in
+ if in.AdminGroupObjectIDs != nil {
+ in, out := &in.AdminGroupObjectIDs, &out.AdminGroupObjectIDs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ClientAppID != nil {
+ in, out := &in.ClientAppID, &out.ClientAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAzureRBAC != nil {
+ in, out := &in.EnableAzureRBAC, &out.EnableAzureRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Managed != nil {
+ in, out := &in.Managed, &out.Managed
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ServerAppID != nil {
+ in, out := &in.ServerAppID, &out.ServerAppID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ServerAppSecret != nil {
+ in, out := &in.ServerAppSecret, &out.ServerAppSecret
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantID != nil {
+ in, out := &in.TenantID, &out.TenantID
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAADProfile_STATUS_ARM.
+func (in *ManagedClusterAADProfile_STATUS_ARM) DeepCopy() *ManagedClusterAADProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAADProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAIToolchainOperatorProfile) DeepCopyInto(out *ManagedClusterAIToolchainOperatorProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAIToolchainOperatorProfile.
+func (in *ManagedClusterAIToolchainOperatorProfile) DeepCopy() *ManagedClusterAIToolchainOperatorProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAIToolchainOperatorProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAIToolchainOperatorProfile_ARM) DeepCopyInto(out *ManagedClusterAIToolchainOperatorProfile_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAIToolchainOperatorProfile_ARM.
+func (in *ManagedClusterAIToolchainOperatorProfile_ARM) DeepCopy() *ManagedClusterAIToolchainOperatorProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAIToolchainOperatorProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAIToolchainOperatorProfile_STATUS) DeepCopyInto(out *ManagedClusterAIToolchainOperatorProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAIToolchainOperatorProfile_STATUS.
+func (in *ManagedClusterAIToolchainOperatorProfile_STATUS) DeepCopy() *ManagedClusterAIToolchainOperatorProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAIToolchainOperatorProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAIToolchainOperatorProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAIToolchainOperatorProfile_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAIToolchainOperatorProfile_STATUS_ARM.
+func (in *ManagedClusterAIToolchainOperatorProfile_STATUS_ARM) DeepCopy() *ManagedClusterAIToolchainOperatorProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAIToolchainOperatorProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAPIServerAccessProfile) DeepCopyInto(out *ManagedClusterAPIServerAccessProfile) {
+ *out = *in
+ if in.AuthorizedIPRanges != nil {
+ in, out := &in.AuthorizedIPRanges, &out.AuthorizedIPRanges
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.DisableRunCommand != nil {
+ in, out := &in.DisableRunCommand, &out.DisableRunCommand
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateCluster != nil {
+ in, out := &in.EnablePrivateCluster, &out.EnablePrivateCluster
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateClusterPublicFQDN != nil {
+ in, out := &in.EnablePrivateClusterPublicFQDN, &out.EnablePrivateClusterPublicFQDN
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVnetIntegration != nil {
+ in, out := &in.EnableVnetIntegration, &out.EnableVnetIntegration
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PrivateDNSZone != nil {
+ in, out := &in.PrivateDNSZone, &out.PrivateDNSZone
+ *out = new(string)
+ **out = **in
+ }
+ if in.SubnetId != nil {
+ in, out := &in.SubnetId, &out.SubnetId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAPIServerAccessProfile.
+func (in *ManagedClusterAPIServerAccessProfile) DeepCopy() *ManagedClusterAPIServerAccessProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAPIServerAccessProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAPIServerAccessProfile_ARM) DeepCopyInto(out *ManagedClusterAPIServerAccessProfile_ARM) {
+ *out = *in
+ if in.AuthorizedIPRanges != nil {
+ in, out := &in.AuthorizedIPRanges, &out.AuthorizedIPRanges
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.DisableRunCommand != nil {
+ in, out := &in.DisableRunCommand, &out.DisableRunCommand
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateCluster != nil {
+ in, out := &in.EnablePrivateCluster, &out.EnablePrivateCluster
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateClusterPublicFQDN != nil {
+ in, out := &in.EnablePrivateClusterPublicFQDN, &out.EnablePrivateClusterPublicFQDN
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVnetIntegration != nil {
+ in, out := &in.EnableVnetIntegration, &out.EnableVnetIntegration
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PrivateDNSZone != nil {
+ in, out := &in.PrivateDNSZone, &out.PrivateDNSZone
+ *out = new(string)
+ **out = **in
+ }
+ if in.SubnetId != nil {
+ in, out := &in.SubnetId, &out.SubnetId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAPIServerAccessProfile_ARM.
+func (in *ManagedClusterAPIServerAccessProfile_ARM) DeepCopy() *ManagedClusterAPIServerAccessProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAPIServerAccessProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAPIServerAccessProfile_STATUS) DeepCopyInto(out *ManagedClusterAPIServerAccessProfile_STATUS) {
+ *out = *in
+ if in.AuthorizedIPRanges != nil {
+ in, out := &in.AuthorizedIPRanges, &out.AuthorizedIPRanges
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.DisableRunCommand != nil {
+ in, out := &in.DisableRunCommand, &out.DisableRunCommand
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateCluster != nil {
+ in, out := &in.EnablePrivateCluster, &out.EnablePrivateCluster
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateClusterPublicFQDN != nil {
+ in, out := &in.EnablePrivateClusterPublicFQDN, &out.EnablePrivateClusterPublicFQDN
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVnetIntegration != nil {
+ in, out := &in.EnableVnetIntegration, &out.EnableVnetIntegration
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PrivateDNSZone != nil {
+ in, out := &in.PrivateDNSZone, &out.PrivateDNSZone
+ *out = new(string)
+ **out = **in
+ }
+ if in.SubnetId != nil {
+ in, out := &in.SubnetId, &out.SubnetId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAPIServerAccessProfile_STATUS.
+func (in *ManagedClusterAPIServerAccessProfile_STATUS) DeepCopy() *ManagedClusterAPIServerAccessProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAPIServerAccessProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAPIServerAccessProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAPIServerAccessProfile_STATUS_ARM) {
+ *out = *in
+ if in.AuthorizedIPRanges != nil {
+ in, out := &in.AuthorizedIPRanges, &out.AuthorizedIPRanges
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.DisableRunCommand != nil {
+ in, out := &in.DisableRunCommand, &out.DisableRunCommand
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateCluster != nil {
+ in, out := &in.EnablePrivateCluster, &out.EnablePrivateCluster
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePrivateClusterPublicFQDN != nil {
+ in, out := &in.EnablePrivateClusterPublicFQDN, &out.EnablePrivateClusterPublicFQDN
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableVnetIntegration != nil {
+ in, out := &in.EnableVnetIntegration, &out.EnableVnetIntegration
+ *out = new(bool)
+ **out = **in
+ }
+ if in.PrivateDNSZone != nil {
+ in, out := &in.PrivateDNSZone, &out.PrivateDNSZone
+ *out = new(string)
+ **out = **in
+ }
+ if in.SubnetId != nil {
+ in, out := &in.SubnetId, &out.SubnetId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAPIServerAccessProfile_STATUS_ARM.
+func (in *ManagedClusterAPIServerAccessProfile_STATUS_ARM) DeepCopy() *ManagedClusterAPIServerAccessProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAPIServerAccessProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAddonProfile) DeepCopyInto(out *ManagedClusterAddonProfile) {
+ *out = *in
+ if in.Config != nil {
+ in, out := &in.Config, &out.Config
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAddonProfile.
+func (in *ManagedClusterAddonProfile) DeepCopy() *ManagedClusterAddonProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAddonProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAddonProfile_ARM) DeepCopyInto(out *ManagedClusterAddonProfile_ARM) {
+ *out = *in
+ if in.Config != nil {
+ in, out := &in.Config, &out.Config
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAddonProfile_ARM.
+func (in *ManagedClusterAddonProfile_ARM) DeepCopy() *ManagedClusterAddonProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAddonProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAddonProfile_STATUS) DeepCopyInto(out *ManagedClusterAddonProfile_STATUS) {
+ *out = *in
+ if in.Config != nil {
+ in, out := &in.Config, &out.Config
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAddonProfile_STATUS.
+func (in *ManagedClusterAddonProfile_STATUS) DeepCopy() *ManagedClusterAddonProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAddonProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAddonProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAddonProfile_STATUS_ARM) {
+ *out = *in
+ if in.Config != nil {
+ in, out := &in.Config, &out.Config
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAddonProfile_STATUS_ARM.
+func (in *ManagedClusterAddonProfile_STATUS_ARM) DeepCopy() *ManagedClusterAddonProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAddonProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfile) DeepCopyInto(out *ManagedClusterAgentPoolProfile) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupReference != nil {
+ in, out := &in.CapacityReservationGroupReference, &out.CapacityReservationGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupReference != nil {
+ in, out := &in.HostGroupReference, &out.HostGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixReference != nil {
+ in, out := &in.NodePublicIPPrefixReference, &out.NodePublicIPPrefixReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(ContainerServiceOSDisk)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode)
+ **out = **in
+ }
+ if in.PodSubnetReference != nil {
+ in, out := &in.PodSubnetReference, &out.PodSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProximityPlacementGroupReference != nil {
+ in, out := &in.ProximityPlacementGroupReference, &out.ProximityPlacementGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetReference != nil {
+ in, out := &in.VnetSubnetReference, &out.VnetSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfile.
+func (in *ManagedClusterAgentPoolProfile) DeepCopy() *ManagedClusterAgentPoolProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfileProperties_ARM) DeepCopyInto(out *ManagedClusterAgentPoolProfileProperties_ARM) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(ContainerServiceOSDisk)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfileProperties_ARM.
+func (in *ManagedClusterAgentPoolProfileProperties_ARM) DeepCopy() *ManagedClusterAgentPoolProfileProperties_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfileProperties_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfileProperties_STATUS_ARM) DeepCopyInto(out *ManagedClusterAgentPoolProfileProperties_STATUS_ARM) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentOrchestratorVersion != nil {
+ in, out := &in.CurrentOrchestratorVersion, &out.CurrentOrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile_STATUS)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType_STATUS)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode_STATUS)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeImageVersion != nil {
+ in, out := &in.NodeImageVersion, &out.NodeImageVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType_STATUS)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU_STATUS)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType_STATUS)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode_STATUS)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority_STATUS)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType_STATUS)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfileProperties_STATUS_ARM.
+func (in *ManagedClusterAgentPoolProfileProperties_STATUS_ARM) DeepCopy() *ManagedClusterAgentPoolProfileProperties_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfileProperties_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfile_ARM) DeepCopyInto(out *ManagedClusterAgentPoolProfile_ARM) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(ContainerServiceOSDisk)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfile_ARM.
+func (in *ManagedClusterAgentPoolProfile_ARM) DeepCopy() *ManagedClusterAgentPoolProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfile_STATUS) DeepCopyInto(out *ManagedClusterAgentPoolProfile_STATUS) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentOrchestratorVersion != nil {
+ in, out := &in.CurrentOrchestratorVersion, &out.CurrentOrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile_STATUS)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType_STATUS)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode_STATUS)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeImageVersion != nil {
+ in, out := &in.NodeImageVersion, &out.NodeImageVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType_STATUS)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU_STATUS)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType_STATUS)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode_STATUS)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority_STATUS)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType_STATUS)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfile_STATUS.
+func (in *ManagedClusterAgentPoolProfile_STATUS) DeepCopy() *ManagedClusterAgentPoolProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAgentPoolProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAgentPoolProfile_STATUS_ARM) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentOrchestratorVersion != nil {
+ in, out := &in.CurrentOrchestratorVersion, &out.CurrentOrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile_STATUS)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType_STATUS)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode_STATUS)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeImageVersion != nil {
+ in, out := &in.NodeImageVersion, &out.NodeImageVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType_STATUS)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU_STATUS)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType_STATUS)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode_STATUS)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority_STATUS)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType_STATUS)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAgentPoolProfile_STATUS_ARM.
+func (in *ManagedClusterAgentPoolProfile_STATUS_ARM) DeepCopy() *ManagedClusterAgentPoolProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAgentPoolProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAutoUpgradeProfile) DeepCopyInto(out *ManagedClusterAutoUpgradeProfile) {
+ *out = *in
+ if in.NodeOSUpgradeChannel != nil {
+ in, out := &in.NodeOSUpgradeChannel, &out.NodeOSUpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel)
+ **out = **in
+ }
+ if in.UpgradeChannel != nil {
+ in, out := &in.UpgradeChannel, &out.UpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_UpgradeChannel)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAutoUpgradeProfile.
+func (in *ManagedClusterAutoUpgradeProfile) DeepCopy() *ManagedClusterAutoUpgradeProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAutoUpgradeProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAutoUpgradeProfile_ARM) DeepCopyInto(out *ManagedClusterAutoUpgradeProfile_ARM) {
+ *out = *in
+ if in.NodeOSUpgradeChannel != nil {
+ in, out := &in.NodeOSUpgradeChannel, &out.NodeOSUpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel)
+ **out = **in
+ }
+ if in.UpgradeChannel != nil {
+ in, out := &in.UpgradeChannel, &out.UpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_UpgradeChannel)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAutoUpgradeProfile_ARM.
+func (in *ManagedClusterAutoUpgradeProfile_ARM) DeepCopy() *ManagedClusterAutoUpgradeProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAutoUpgradeProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAutoUpgradeProfile_STATUS) DeepCopyInto(out *ManagedClusterAutoUpgradeProfile_STATUS) {
+ *out = *in
+ if in.NodeOSUpgradeChannel != nil {
+ in, out := &in.NodeOSUpgradeChannel, &out.NodeOSUpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS)
+ **out = **in
+ }
+ if in.UpgradeChannel != nil {
+ in, out := &in.UpgradeChannel, &out.UpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAutoUpgradeProfile_STATUS.
+func (in *ManagedClusterAutoUpgradeProfile_STATUS) DeepCopy() *ManagedClusterAutoUpgradeProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAutoUpgradeProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAutoUpgradeProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAutoUpgradeProfile_STATUS_ARM) {
+ *out = *in
+ if in.NodeOSUpgradeChannel != nil {
+ in, out := &in.NodeOSUpgradeChannel, &out.NodeOSUpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_NodeOSUpgradeChannel_STATUS)
+ **out = **in
+ }
+ if in.UpgradeChannel != nil {
+ in, out := &in.UpgradeChannel, &out.UpgradeChannel
+ *out = new(ManagedClusterAutoUpgradeProfile_UpgradeChannel_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAutoUpgradeProfile_STATUS_ARM.
+func (in *ManagedClusterAutoUpgradeProfile_STATUS_ARM) DeepCopy() *ManagedClusterAutoUpgradeProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAutoUpgradeProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfile) DeepCopyInto(out *ManagedClusterAzureMonitorProfile) {
+ *out = *in
+ if in.AppMonitoring != nil {
+ in, out := &in.AppMonitoring, &out.AppMonitoring
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoring)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ContainerInsights != nil {
+ in, out := &in.ContainerInsights, &out.ContainerInsights
+ *out = new(ManagedClusterAzureMonitorProfileContainerInsights)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Metrics != nil {
+ in, out := &in.Metrics, &out.Metrics
+ *out = new(ManagedClusterAzureMonitorProfileMetrics)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfile.
+func (in *ManagedClusterAzureMonitorProfile) DeepCopy() *ManagedClusterAzureMonitorProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoring) {
+ *out = *in
+ if in.AutoInstrumentation != nil {
+ in, out := &in.AutoInstrumentation, &out.AutoInstrumentation
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryLogs != nil {
+ in, out := &in.OpenTelemetryLogs, &out.OpenTelemetryLogs
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryMetrics != nil {
+ in, out := &in.OpenTelemetryMetrics, &out.OpenTelemetryMetrics
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoring.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoring {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoring)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Port != nil {
+ in, out := &in.Port, &out.Port
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoring_ARM) {
+ *out = *in
+ if in.AutoInstrumentation != nil {
+ in, out := &in.AutoInstrumentation, &out.AutoInstrumentation
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryLogs != nil {
+ in, out := &in.OpenTelemetryLogs, &out.OpenTelemetryLogs
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryMetrics != nil {
+ in, out := &in.OpenTelemetryMetrics, &out.OpenTelemetryMetrics
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoring_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoring_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoring_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) {
+ *out = *in
+ if in.AutoInstrumentation != nil {
+ in, out := &in.AutoInstrumentation, &out.AutoInstrumentation
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryLogs != nil {
+ in, out := &in.OpenTelemetryLogs, &out.OpenTelemetryLogs
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryMetrics != nil {
+ in, out := &in.OpenTelemetryMetrics, &out.OpenTelemetryMetrics
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoring_STATUS.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM) {
+ *out = *in
+ if in.AutoInstrumentation != nil {
+ in, out := &in.AutoInstrumentation, &out.AutoInstrumentation
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryLogs != nil {
+ in, out := &in.OpenTelemetryLogs, &out.OpenTelemetryLogs
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OpenTelemetryMetrics != nil {
+ in, out := &in.OpenTelemetryMetrics, &out.OpenTelemetryMetrics
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights) DeepCopyInto(out *ManagedClusterAzureMonitorProfileContainerInsights) {
+ *out = *in
+ if in.DisableCustomMetrics != nil {
+ in, out := &in.DisableCustomMetrics, &out.DisableCustomMetrics
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DisablePrometheusMetricsScraping != nil {
+ in, out := &in.DisablePrometheusMetricsScraping, &out.DisablePrometheusMetricsScraping
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.LogAnalyticsWorkspaceResourceReference != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceReference, &out.LogAnalyticsWorkspaceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.SyslogPort != nil {
+ in, out := &in.SyslogPort, &out.SyslogPort
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileContainerInsights.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights) DeepCopy() *ManagedClusterAzureMonitorProfileContainerInsights {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileContainerInsights)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileContainerInsights_ARM) {
+ *out = *in
+ if in.DisableCustomMetrics != nil {
+ in, out := &in.DisableCustomMetrics, &out.DisableCustomMetrics
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DisablePrometheusMetricsScraping != nil {
+ in, out := &in.DisablePrometheusMetricsScraping, &out.DisablePrometheusMetricsScraping
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SyslogPort != nil {
+ in, out := &in.SyslogPort, &out.SyslogPort
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileContainerInsights_ARM.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileContainerInsights_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileContainerInsights_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) {
+ *out = *in
+ if in.DisableCustomMetrics != nil {
+ in, out := &in.DisableCustomMetrics, &out.DisableCustomMetrics
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DisablePrometheusMetricsScraping != nil {
+ in, out := &in.DisablePrometheusMetricsScraping, &out.DisablePrometheusMetricsScraping
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SyslogPort != nil {
+ in, out := &in.SyslogPort, &out.SyslogPort
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileContainerInsights_STATUS.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileContainerInsights_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileContainerInsights_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM) {
+ *out = *in
+ if in.DisableCustomMetrics != nil {
+ in, out := &in.DisableCustomMetrics, &out.DisableCustomMetrics
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DisablePrometheusMetricsScraping != nil {
+ in, out := &in.DisablePrometheusMetricsScraping, &out.DisablePrometheusMetricsScraping
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SyslogPort != nil {
+ in, out := &in.SyslogPort, &out.SyslogPort
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics) DeepCopyInto(out *ManagedClusterAzureMonitorProfileKubeStateMetrics) {
+ *out = *in
+ if in.MetricAnnotationsAllowList != nil {
+ in, out := &in.MetricAnnotationsAllowList, &out.MetricAnnotationsAllowList
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricLabelsAllowlist != nil {
+ in, out := &in.MetricLabelsAllowlist, &out.MetricLabelsAllowlist
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileKubeStateMetrics.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics) DeepCopy() *ManagedClusterAzureMonitorProfileKubeStateMetrics {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileKubeStateMetrics)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM) {
+ *out = *in
+ if in.MetricAnnotationsAllowList != nil {
+ in, out := &in.MetricAnnotationsAllowList, &out.MetricAnnotationsAllowList
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricLabelsAllowlist != nil {
+ in, out := &in.MetricLabelsAllowlist, &out.MetricLabelsAllowlist
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) {
+ *out = *in
+ if in.MetricAnnotationsAllowList != nil {
+ in, out := &in.MetricAnnotationsAllowList, &out.MetricAnnotationsAllowList
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricLabelsAllowlist != nil {
+ in, out := &in.MetricLabelsAllowlist, &out.MetricLabelsAllowlist
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM) {
+ *out = *in
+ if in.MetricAnnotationsAllowList != nil {
+ in, out := &in.MetricAnnotationsAllowList, &out.MetricAnnotationsAllowList
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricLabelsAllowlist != nil {
+ in, out := &in.MetricLabelsAllowlist, &out.MetricLabelsAllowlist
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileMetrics) DeepCopyInto(out *ManagedClusterAzureMonitorProfileMetrics) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KubeStateMetrics != nil {
+ in, out := &in.KubeStateMetrics, &out.KubeStateMetrics
+ *out = new(ManagedClusterAzureMonitorProfileKubeStateMetrics)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileMetrics.
+func (in *ManagedClusterAzureMonitorProfileMetrics) DeepCopy() *ManagedClusterAzureMonitorProfileMetrics {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileMetrics)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileMetrics_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileMetrics_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KubeStateMetrics != nil {
+ in, out := &in.KubeStateMetrics, &out.KubeStateMetrics
+ *out = new(ManagedClusterAzureMonitorProfileKubeStateMetrics_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileMetrics_ARM.
+func (in *ManagedClusterAzureMonitorProfileMetrics_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileMetrics_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileMetrics_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileMetrics_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfileMetrics_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KubeStateMetrics != nil {
+ in, out := &in.KubeStateMetrics, &out.KubeStateMetrics
+ *out = new(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileMetrics_STATUS.
+func (in *ManagedClusterAzureMonitorProfileMetrics_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfileMetrics_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileMetrics_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.KubeStateMetrics != nil {
+ in, out := &in.KubeStateMetrics, &out.KubeStateMetrics
+ *out = new(ManagedClusterAzureMonitorProfileKubeStateMetrics_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfile_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfile_ARM) {
+ *out = *in
+ if in.AppMonitoring != nil {
+ in, out := &in.AppMonitoring, &out.AppMonitoring
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoring_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ContainerInsights != nil {
+ in, out := &in.ContainerInsights, &out.ContainerInsights
+ *out = new(ManagedClusterAzureMonitorProfileContainerInsights_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Metrics != nil {
+ in, out := &in.Metrics, &out.Metrics
+ *out = new(ManagedClusterAzureMonitorProfileMetrics_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfile_ARM.
+func (in *ManagedClusterAzureMonitorProfile_ARM) DeepCopy() *ManagedClusterAzureMonitorProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfile_STATUS) DeepCopyInto(out *ManagedClusterAzureMonitorProfile_STATUS) {
+ *out = *in
+ if in.AppMonitoring != nil {
+ in, out := &in.AppMonitoring, &out.AppMonitoring
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ContainerInsights != nil {
+ in, out := &in.ContainerInsights, &out.ContainerInsights
+ *out = new(ManagedClusterAzureMonitorProfileContainerInsights_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Metrics != nil {
+ in, out := &in.Metrics, &out.Metrics
+ *out = new(ManagedClusterAzureMonitorProfileMetrics_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfile_STATUS.
+func (in *ManagedClusterAzureMonitorProfile_STATUS) DeepCopy() *ManagedClusterAzureMonitorProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterAzureMonitorProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterAzureMonitorProfile_STATUS_ARM) {
+ *out = *in
+ if in.AppMonitoring != nil {
+ in, out := &in.AppMonitoring, &out.AppMonitoring
+ *out = new(ManagedClusterAzureMonitorProfileAppMonitoring_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ContainerInsights != nil {
+ in, out := &in.ContainerInsights, &out.ContainerInsights
+ *out = new(ManagedClusterAzureMonitorProfileContainerInsights_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Metrics != nil {
+ in, out := &in.Metrics, &out.Metrics
+ *out = new(ManagedClusterAzureMonitorProfileMetrics_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterAzureMonitorProfile_STATUS_ARM.
+func (in *ManagedClusterAzureMonitorProfile_STATUS_ARM) DeepCopy() *ManagedClusterAzureMonitorProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterAzureMonitorProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterBootstrapProfile) DeepCopyInto(out *ManagedClusterBootstrapProfile) {
+ *out = *in
+ if in.ArtifactSource != nil {
+ in, out := &in.ArtifactSource, &out.ArtifactSource
+ *out = new(ManagedClusterBootstrapProfile_ArtifactSource)
+ **out = **in
+ }
+ if in.ContainerRegistryReference != nil {
+ in, out := &in.ContainerRegistryReference, &out.ContainerRegistryReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterBootstrapProfile.
+func (in *ManagedClusterBootstrapProfile) DeepCopy() *ManagedClusterBootstrapProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterBootstrapProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterBootstrapProfile_ARM) DeepCopyInto(out *ManagedClusterBootstrapProfile_ARM) {
+ *out = *in
+ if in.ArtifactSource != nil {
+ in, out := &in.ArtifactSource, &out.ArtifactSource
+ *out = new(ManagedClusterBootstrapProfile_ArtifactSource)
+ **out = **in
+ }
+ if in.ContainerRegistryId != nil {
+ in, out := &in.ContainerRegistryId, &out.ContainerRegistryId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterBootstrapProfile_ARM.
+func (in *ManagedClusterBootstrapProfile_ARM) DeepCopy() *ManagedClusterBootstrapProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterBootstrapProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterBootstrapProfile_STATUS) DeepCopyInto(out *ManagedClusterBootstrapProfile_STATUS) {
+ *out = *in
+ if in.ArtifactSource != nil {
+ in, out := &in.ArtifactSource, &out.ArtifactSource
+ *out = new(ManagedClusterBootstrapProfile_ArtifactSource_STATUS)
+ **out = **in
+ }
+ if in.ContainerRegistryId != nil {
+ in, out := &in.ContainerRegistryId, &out.ContainerRegistryId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterBootstrapProfile_STATUS.
+func (in *ManagedClusterBootstrapProfile_STATUS) DeepCopy() *ManagedClusterBootstrapProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterBootstrapProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterBootstrapProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterBootstrapProfile_STATUS_ARM) {
+ *out = *in
+ if in.ArtifactSource != nil {
+ in, out := &in.ArtifactSource, &out.ArtifactSource
+ *out = new(ManagedClusterBootstrapProfile_ArtifactSource_STATUS)
+ **out = **in
+ }
+ if in.ContainerRegistryId != nil {
+ in, out := &in.ContainerRegistryId, &out.ContainerRegistryId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterBootstrapProfile_STATUS_ARM.
+func (in *ManagedClusterBootstrapProfile_STATUS_ARM) DeepCopy() *ManagedClusterBootstrapProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterBootstrapProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterCostAnalysis) DeepCopyInto(out *ManagedClusterCostAnalysis) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterCostAnalysis.
+func (in *ManagedClusterCostAnalysis) DeepCopy() *ManagedClusterCostAnalysis {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterCostAnalysis)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterCostAnalysis_ARM) DeepCopyInto(out *ManagedClusterCostAnalysis_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterCostAnalysis_ARM.
+func (in *ManagedClusterCostAnalysis_ARM) DeepCopy() *ManagedClusterCostAnalysis_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterCostAnalysis_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterCostAnalysis_STATUS) DeepCopyInto(out *ManagedClusterCostAnalysis_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterCostAnalysis_STATUS.
+func (in *ManagedClusterCostAnalysis_STATUS) DeepCopy() *ManagedClusterCostAnalysis_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterCostAnalysis_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterCostAnalysis_STATUS_ARM) DeepCopyInto(out *ManagedClusterCostAnalysis_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterCostAnalysis_STATUS_ARM.
+func (in *ManagedClusterCostAnalysis_STATUS_ARM) DeepCopy() *ManagedClusterCostAnalysis_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterCostAnalysis_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterHTTPProxyConfig) DeepCopyInto(out *ManagedClusterHTTPProxyConfig) {
+ *out = *in
+ if in.HttpProxy != nil {
+ in, out := &in.HttpProxy, &out.HttpProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpsProxy != nil {
+ in, out := &in.HttpsProxy, &out.HttpsProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.NoProxy != nil {
+ in, out := &in.NoProxy, &out.NoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.TrustedCa != nil {
+ in, out := &in.TrustedCa, &out.TrustedCa
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterHTTPProxyConfig.
+func (in *ManagedClusterHTTPProxyConfig) DeepCopy() *ManagedClusterHTTPProxyConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterHTTPProxyConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterHTTPProxyConfig_ARM) DeepCopyInto(out *ManagedClusterHTTPProxyConfig_ARM) {
+ *out = *in
+ if in.HttpProxy != nil {
+ in, out := &in.HttpProxy, &out.HttpProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpsProxy != nil {
+ in, out := &in.HttpsProxy, &out.HttpsProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.NoProxy != nil {
+ in, out := &in.NoProxy, &out.NoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.TrustedCa != nil {
+ in, out := &in.TrustedCa, &out.TrustedCa
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterHTTPProxyConfig_ARM.
+func (in *ManagedClusterHTTPProxyConfig_ARM) DeepCopy() *ManagedClusterHTTPProxyConfig_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterHTTPProxyConfig_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterHTTPProxyConfig_STATUS) DeepCopyInto(out *ManagedClusterHTTPProxyConfig_STATUS) {
+ *out = *in
+ if in.EffectiveNoProxy != nil {
+ in, out := &in.EffectiveNoProxy, &out.EffectiveNoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.HttpProxy != nil {
+ in, out := &in.HttpProxy, &out.HttpProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpsProxy != nil {
+ in, out := &in.HttpsProxy, &out.HttpsProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.NoProxy != nil {
+ in, out := &in.NoProxy, &out.NoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.TrustedCa != nil {
+ in, out := &in.TrustedCa, &out.TrustedCa
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterHTTPProxyConfig_STATUS.
+func (in *ManagedClusterHTTPProxyConfig_STATUS) DeepCopy() *ManagedClusterHTTPProxyConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterHTTPProxyConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterHTTPProxyConfig_STATUS_ARM) DeepCopyInto(out *ManagedClusterHTTPProxyConfig_STATUS_ARM) {
+ *out = *in
+ if in.EffectiveNoProxy != nil {
+ in, out := &in.EffectiveNoProxy, &out.EffectiveNoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.HttpProxy != nil {
+ in, out := &in.HttpProxy, &out.HttpProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpsProxy != nil {
+ in, out := &in.HttpsProxy, &out.HttpsProxy
+ *out = new(string)
+ **out = **in
+ }
+ if in.NoProxy != nil {
+ in, out := &in.NoProxy, &out.NoProxy
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.TrustedCa != nil {
+ in, out := &in.TrustedCa, &out.TrustedCa
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterHTTPProxyConfig_STATUS_ARM.
+func (in *ManagedClusterHTTPProxyConfig_STATUS_ARM) DeepCopy() *ManagedClusterHTTPProxyConfig_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterHTTPProxyConfig_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity) DeepCopyInto(out *ManagedClusterIdentity) {
+ *out = *in
+ if in.DelegatedResources != nil {
+ in, out := &in.DelegatedResources, &out.DelegatedResources
+ *out = make(map[string]DelegatedResource, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ManagedClusterIdentity_Type)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]UserAssignedIdentityDetails, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity.
+func (in *ManagedClusterIdentity) DeepCopy() *ManagedClusterIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_ARM) DeepCopyInto(out *ManagedClusterIdentity_ARM) {
+ *out = *in
+ if in.DelegatedResources != nil {
+ in, out := &in.DelegatedResources, &out.DelegatedResources
+ *out = make(map[string]DelegatedResource_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ManagedClusterIdentity_Type)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make(map[string]UserAssignedIdentityDetails_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_ARM.
+func (in *ManagedClusterIdentity_ARM) DeepCopy() *ManagedClusterIdentity_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_STATUS) DeepCopyInto(out *ManagedClusterIdentity_STATUS) {
+ *out = *in
+ if in.DelegatedResources != nil {
+ in, out := &in.DelegatedResources, &out.DelegatedResources
+ *out = make(map[string]DelegatedResource_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ManagedClusterIdentity_Type_STATUS)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make(map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_STATUS.
+func (in *ManagedClusterIdentity_STATUS) DeepCopy() *ManagedClusterIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_STATUS_ARM) DeepCopyInto(out *ManagedClusterIdentity_STATUS_ARM) {
+ *out = *in
+ if in.DelegatedResources != nil {
+ in, out := &in.DelegatedResources, &out.DelegatedResources
+ *out = make(map[string]DelegatedResource_STATUS_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(string)
+ **out = **in
+ }
+ if in.TenantId != nil {
+ in, out := &in.TenantId, &out.TenantId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(ManagedClusterIdentity_Type_STATUS)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make(map[string]ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_STATUS_ARM.
+func (in *ManagedClusterIdentity_STATUS_ARM) DeepCopy() *ManagedClusterIdentity_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_UserAssignedIdentities_STATUS) DeepCopyInto(out *ManagedClusterIdentity_UserAssignedIdentities_STATUS) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_UserAssignedIdentities_STATUS.
+func (in *ManagedClusterIdentity_UserAssignedIdentities_STATUS) DeepCopy() *ManagedClusterIdentity_UserAssignedIdentities_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_UserAssignedIdentities_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM) DeepCopyInto(out *ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM.
+func (in *ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM) DeepCopy() *ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIdentity_UserAssignedIdentities_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfile) DeepCopyInto(out *ManagedClusterIngressProfile) {
+ *out = *in
+ if in.WebAppRouting != nil {
+ in, out := &in.WebAppRouting, &out.WebAppRouting
+ *out = new(ManagedClusterIngressProfileWebAppRouting)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfile.
+func (in *ManagedClusterIngressProfile) DeepCopy() *ManagedClusterIngressProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfileWebAppRouting) DeepCopyInto(out *ManagedClusterIngressProfileWebAppRouting) {
+ *out = *in
+ if in.DnsZoneResourceReferences != nil {
+ in, out := &in.DnsZoneResourceReferences, &out.DnsZoneResourceReferences
+ *out = make([]genruntime.ResourceReference, len(*in))
+ copy(*out, *in)
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfileWebAppRouting.
+func (in *ManagedClusterIngressProfileWebAppRouting) DeepCopy() *ManagedClusterIngressProfileWebAppRouting {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfileWebAppRouting)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfileWebAppRouting_ARM) DeepCopyInto(out *ManagedClusterIngressProfileWebAppRouting_ARM) {
+ *out = *in
+ if in.DnsZoneResourceIds != nil {
+ in, out := &in.DnsZoneResourceIds, &out.DnsZoneResourceIds
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfileWebAppRouting_ARM.
+func (in *ManagedClusterIngressProfileWebAppRouting_ARM) DeepCopy() *ManagedClusterIngressProfileWebAppRouting_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfileWebAppRouting_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfileWebAppRouting_STATUS) DeepCopyInto(out *ManagedClusterIngressProfileWebAppRouting_STATUS) {
+ *out = *in
+ if in.DnsZoneResourceIds != nil {
+ in, out := &in.DnsZoneResourceIds, &out.DnsZoneResourceIds
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfileWebAppRouting_STATUS.
+func (in *ManagedClusterIngressProfileWebAppRouting_STATUS) DeepCopy() *ManagedClusterIngressProfileWebAppRouting_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfileWebAppRouting_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfileWebAppRouting_STATUS_ARM) DeepCopyInto(out *ManagedClusterIngressProfileWebAppRouting_STATUS_ARM) {
+ *out = *in
+ if in.DnsZoneResourceIds != nil {
+ in, out := &in.DnsZoneResourceIds, &out.DnsZoneResourceIds
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfileWebAppRouting_STATUS_ARM.
+func (in *ManagedClusterIngressProfileWebAppRouting_STATUS_ARM) DeepCopy() *ManagedClusterIngressProfileWebAppRouting_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfileWebAppRouting_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfile_ARM) DeepCopyInto(out *ManagedClusterIngressProfile_ARM) {
+ *out = *in
+ if in.WebAppRouting != nil {
+ in, out := &in.WebAppRouting, &out.WebAppRouting
+ *out = new(ManagedClusterIngressProfileWebAppRouting_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfile_ARM.
+func (in *ManagedClusterIngressProfile_ARM) DeepCopy() *ManagedClusterIngressProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfile_STATUS) DeepCopyInto(out *ManagedClusterIngressProfile_STATUS) {
+ *out = *in
+ if in.WebAppRouting != nil {
+ in, out := &in.WebAppRouting, &out.WebAppRouting
+ *out = new(ManagedClusterIngressProfileWebAppRouting_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfile_STATUS.
+func (in *ManagedClusterIngressProfile_STATUS) DeepCopy() *ManagedClusterIngressProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterIngressProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterIngressProfile_STATUS_ARM) {
+ *out = *in
+ if in.WebAppRouting != nil {
+ in, out := &in.WebAppRouting, &out.WebAppRouting
+ *out = new(ManagedClusterIngressProfileWebAppRouting_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterIngressProfile_STATUS_ARM.
+func (in *ManagedClusterIngressProfile_STATUS_ARM) DeepCopy() *ManagedClusterIngressProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterIngressProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterList) DeepCopyInto(out *ManagedClusterList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ManagedCluster, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterList.
+func (in *ManagedClusterList) DeepCopy() *ManagedClusterList {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedClusterList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile) DeepCopyInto(out *ManagedClusterLoadBalancerProfile) {
+ *out = *in
+ if in.AllocatedOutboundPorts != nil {
+ in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts
+ *out = new(int)
+ **out = **in
+ }
+ if in.BackendPoolType != nil {
+ in, out := &in.BackendPoolType, &out.BackendPoolType
+ *out = new(ManagedClusterLoadBalancerProfile_BackendPoolType)
+ **out = **in
+ }
+ if in.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ in, out := &in.ClusterServiceLoadBalancerHealthProbeMode, &out.ClusterServiceLoadBalancerHealthProbeMode
+ *out = new(ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode)
+ **out = **in
+ }
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.EnableMultipleStandardLoadBalancers != nil {
+ in, out := &in.EnableMultipleStandardLoadBalancers, &out.EnableMultipleStandardLoadBalancers
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPs != nil {
+ in, out := &in.ManagedOutboundIPs, &out.ManagedOutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPPrefixes != nil {
+ in, out := &in.OutboundIPPrefixes, &out.OutboundIPPrefixes
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPs != nil {
+ in, out := &in.OutboundIPs, &out.OutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPs)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile.
+func (in *ManagedClusterLoadBalancerProfile) DeepCopy() *ManagedClusterLoadBalancerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ARM) {
+ *out = *in
+ if in.AllocatedOutboundPorts != nil {
+ in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts
+ *out = new(int)
+ **out = **in
+ }
+ if in.BackendPoolType != nil {
+ in, out := &in.BackendPoolType, &out.BackendPoolType
+ *out = new(ManagedClusterLoadBalancerProfile_BackendPoolType)
+ **out = **in
+ }
+ if in.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ in, out := &in.ClusterServiceLoadBalancerHealthProbeMode, &out.ClusterServiceLoadBalancerHealthProbeMode
+ *out = new(ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode)
+ **out = **in
+ }
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.EnableMultipleStandardLoadBalancers != nil {
+ in, out := &in.EnableMultipleStandardLoadBalancers, &out.EnableMultipleStandardLoadBalancers
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPs != nil {
+ in, out := &in.ManagedOutboundIPs, &out.ManagedOutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPPrefixes != nil {
+ in, out := &in.OutboundIPPrefixes, &out.OutboundIPPrefixes
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPs != nil {
+ in, out := &in.OutboundIPs, &out.OutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPs_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ARM.
+func (in *ManagedClusterLoadBalancerProfile_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CountIPv6 != nil {
+ in, out := &in.CountIPv6, &out.CountIPv6
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ManagedOutboundIPs.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs) DeepCopy() *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CountIPv6 != nil {
+ in, out := &in.CountIPv6, &out.CountIPv6
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CountIPv6 != nil {
+ in, out := &in.CountIPv6, &out.CountIPv6
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CountIPv6 != nil {
+ in, out := &in.CountIPv6, &out.CountIPv6
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM.
+func (in *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) {
+ *out = *in
+ if in.PublicIPPrefixes != nil {
+ in, out := &in.PublicIPPrefixes, &out.PublicIPPrefixes
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPPrefixes.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM) {
+ *out = *in
+ if in.PublicIPPrefixes != nil {
+ in, out := &in.PublicIPPrefixes, &out.PublicIPPrefixes
+ *out = make([]ResourceReference_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) {
+ *out = *in
+ if in.PublicIPPrefixes != nil {
+ in, out := &in.PublicIPPrefixes, &out.PublicIPPrefixes
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM) {
+ *out = *in
+ if in.PublicIPPrefixes != nil {
+ in, out := &in.PublicIPPrefixes, &out.PublicIPPrefixes
+ *out = make([]ResourceReference_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPs) {
+ *out = *in
+ if in.PublicIPs != nil {
+ in, out := &in.PublicIPs, &out.PublicIPs
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPs.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPs {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPs)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPs_ARM) {
+ *out = *in
+ if in.PublicIPs != nil {
+ in, out := &in.PublicIPs, &out.PublicIPs
+ *out = make([]ResourceReference_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPs_ARM.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPs_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPs_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) {
+ *out = *in
+ if in.PublicIPs != nil {
+ in, out := &in.PublicIPs, &out.PublicIPs
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM) {
+ *out = *in
+ if in.PublicIPs != nil {
+ in, out := &in.PublicIPs, &out.PublicIPs
+ *out = make([]ResourceReference_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM.
+func (in *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_STATUS) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_STATUS) {
+ *out = *in
+ if in.AllocatedOutboundPorts != nil {
+ in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts
+ *out = new(int)
+ **out = **in
+ }
+ if in.BackendPoolType != nil {
+ in, out := &in.BackendPoolType, &out.BackendPoolType
+ *out = new(ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS)
+ **out = **in
+ }
+ if in.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ in, out := &in.ClusterServiceLoadBalancerHealthProbeMode, &out.ClusterServiceLoadBalancerHealthProbeMode
+ *out = new(ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS)
+ **out = **in
+ }
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.EnableMultipleStandardLoadBalancers != nil {
+ in, out := &in.EnableMultipleStandardLoadBalancers, &out.EnableMultipleStandardLoadBalancers
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPs != nil {
+ in, out := &in.ManagedOutboundIPs, &out.ManagedOutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPPrefixes != nil {
+ in, out := &in.OutboundIPPrefixes, &out.OutboundIPPrefixes
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPs != nil {
+ in, out := &in.OutboundIPs, &out.OutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_STATUS.
+func (in *ManagedClusterLoadBalancerProfile_STATUS) DeepCopy() *ManagedClusterLoadBalancerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterLoadBalancerProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterLoadBalancerProfile_STATUS_ARM) {
+ *out = *in
+ if in.AllocatedOutboundPorts != nil {
+ in, out := &in.AllocatedOutboundPorts, &out.AllocatedOutboundPorts
+ *out = new(int)
+ **out = **in
+ }
+ if in.BackendPoolType != nil {
+ in, out := &in.BackendPoolType, &out.BackendPoolType
+ *out = new(ManagedClusterLoadBalancerProfile_BackendPoolType_STATUS)
+ **out = **in
+ }
+ if in.ClusterServiceLoadBalancerHealthProbeMode != nil {
+ in, out := &in.ClusterServiceLoadBalancerHealthProbeMode, &out.ClusterServiceLoadBalancerHealthProbeMode
+ *out = new(ManagedClusterLoadBalancerProfile_ClusterServiceLoadBalancerHealthProbeMode_STATUS)
+ **out = **in
+ }
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.EnableMultipleStandardLoadBalancers != nil {
+ in, out := &in.EnableMultipleStandardLoadBalancers, &out.EnableMultipleStandardLoadBalancers
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPs != nil {
+ in, out := &in.ManagedOutboundIPs, &out.ManagedOutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_ManagedOutboundIPs_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPPrefixes != nil {
+ in, out := &in.OutboundIPPrefixes, &out.OutboundIPPrefixes
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPPrefixes_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OutboundIPs != nil {
+ in, out := &in.OutboundIPs, &out.OutboundIPs
+ *out = new(ManagedClusterLoadBalancerProfile_OutboundIPs_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterLoadBalancerProfile_STATUS_ARM.
+func (in *ManagedClusterLoadBalancerProfile_STATUS_ARM) DeepCopy() *ManagedClusterLoadBalancerProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterLoadBalancerProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterManagedOutboundIPProfile) DeepCopyInto(out *ManagedClusterManagedOutboundIPProfile) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterManagedOutboundIPProfile.
+func (in *ManagedClusterManagedOutboundIPProfile) DeepCopy() *ManagedClusterManagedOutboundIPProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterManagedOutboundIPProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterManagedOutboundIPProfile_ARM) DeepCopyInto(out *ManagedClusterManagedOutboundIPProfile_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterManagedOutboundIPProfile_ARM.
+func (in *ManagedClusterManagedOutboundIPProfile_ARM) DeepCopy() *ManagedClusterManagedOutboundIPProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterManagedOutboundIPProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterManagedOutboundIPProfile_STATUS) DeepCopyInto(out *ManagedClusterManagedOutboundIPProfile_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterManagedOutboundIPProfile_STATUS.
+func (in *ManagedClusterManagedOutboundIPProfile_STATUS) DeepCopy() *ManagedClusterManagedOutboundIPProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterManagedOutboundIPProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterManagedOutboundIPProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterManagedOutboundIPProfile_STATUS_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterManagedOutboundIPProfile_STATUS_ARM.
+func (in *ManagedClusterManagedOutboundIPProfile_STATUS_ARM) DeepCopy() *ManagedClusterManagedOutboundIPProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterManagedOutboundIPProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterMetricsProfile) DeepCopyInto(out *ManagedClusterMetricsProfile) {
+ *out = *in
+ if in.CostAnalysis != nil {
+ in, out := &in.CostAnalysis, &out.CostAnalysis
+ *out = new(ManagedClusterCostAnalysis)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterMetricsProfile.
+func (in *ManagedClusterMetricsProfile) DeepCopy() *ManagedClusterMetricsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterMetricsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterMetricsProfile_ARM) DeepCopyInto(out *ManagedClusterMetricsProfile_ARM) {
+ *out = *in
+ if in.CostAnalysis != nil {
+ in, out := &in.CostAnalysis, &out.CostAnalysis
+ *out = new(ManagedClusterCostAnalysis_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterMetricsProfile_ARM.
+func (in *ManagedClusterMetricsProfile_ARM) DeepCopy() *ManagedClusterMetricsProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterMetricsProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterMetricsProfile_STATUS) DeepCopyInto(out *ManagedClusterMetricsProfile_STATUS) {
+ *out = *in
+ if in.CostAnalysis != nil {
+ in, out := &in.CostAnalysis, &out.CostAnalysis
+ *out = new(ManagedClusterCostAnalysis_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterMetricsProfile_STATUS.
+func (in *ManagedClusterMetricsProfile_STATUS) DeepCopy() *ManagedClusterMetricsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterMetricsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterMetricsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterMetricsProfile_STATUS_ARM) {
+ *out = *in
+ if in.CostAnalysis != nil {
+ in, out := &in.CostAnalysis, &out.CostAnalysis
+ *out = new(ManagedClusterCostAnalysis_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterMetricsProfile_STATUS_ARM.
+func (in *ManagedClusterMetricsProfile_STATUS_ARM) DeepCopy() *ManagedClusterMetricsProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterMetricsProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNATGatewayProfile) DeepCopyInto(out *ManagedClusterNATGatewayProfile) {
+ *out = *in
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPProfile != nil {
+ in, out := &in.ManagedOutboundIPProfile, &out.ManagedOutboundIPProfile
+ *out = new(ManagedClusterManagedOutboundIPProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNATGatewayProfile.
+func (in *ManagedClusterNATGatewayProfile) DeepCopy() *ManagedClusterNATGatewayProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNATGatewayProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNATGatewayProfile_ARM) DeepCopyInto(out *ManagedClusterNATGatewayProfile_ARM) {
+ *out = *in
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPProfile != nil {
+ in, out := &in.ManagedOutboundIPProfile, &out.ManagedOutboundIPProfile
+ *out = new(ManagedClusterManagedOutboundIPProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNATGatewayProfile_ARM.
+func (in *ManagedClusterNATGatewayProfile_ARM) DeepCopy() *ManagedClusterNATGatewayProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNATGatewayProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNATGatewayProfile_STATUS) DeepCopyInto(out *ManagedClusterNATGatewayProfile_STATUS) {
+ *out = *in
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPProfile != nil {
+ in, out := &in.ManagedOutboundIPProfile, &out.ManagedOutboundIPProfile
+ *out = new(ManagedClusterManagedOutboundIPProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNATGatewayProfile_STATUS.
+func (in *ManagedClusterNATGatewayProfile_STATUS) DeepCopy() *ManagedClusterNATGatewayProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNATGatewayProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNATGatewayProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterNATGatewayProfile_STATUS_ARM) {
+ *out = *in
+ if in.EffectiveOutboundIPs != nil {
+ in, out := &in.EffectiveOutboundIPs, &out.EffectiveOutboundIPs
+ *out = make([]ResourceReference_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.IdleTimeoutInMinutes != nil {
+ in, out := &in.IdleTimeoutInMinutes, &out.IdleTimeoutInMinutes
+ *out = new(int)
+ **out = **in
+ }
+ if in.ManagedOutboundIPProfile != nil {
+ in, out := &in.ManagedOutboundIPProfile, &out.ManagedOutboundIPProfile
+ *out = new(ManagedClusterManagedOutboundIPProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNATGatewayProfile_STATUS_ARM.
+func (in *ManagedClusterNATGatewayProfile_STATUS_ARM) DeepCopy() *ManagedClusterNATGatewayProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNATGatewayProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeProvisioningProfile) DeepCopyInto(out *ManagedClusterNodeProvisioningProfile) {
+ *out = *in
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ManagedClusterNodeProvisioningProfile_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeProvisioningProfile.
+func (in *ManagedClusterNodeProvisioningProfile) DeepCopy() *ManagedClusterNodeProvisioningProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeProvisioningProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeProvisioningProfile_ARM) DeepCopyInto(out *ManagedClusterNodeProvisioningProfile_ARM) {
+ *out = *in
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ManagedClusterNodeProvisioningProfile_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeProvisioningProfile_ARM.
+func (in *ManagedClusterNodeProvisioningProfile_ARM) DeepCopy() *ManagedClusterNodeProvisioningProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeProvisioningProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeProvisioningProfile_STATUS) DeepCopyInto(out *ManagedClusterNodeProvisioningProfile_STATUS) {
+ *out = *in
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ManagedClusterNodeProvisioningProfile_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeProvisioningProfile_STATUS.
+func (in *ManagedClusterNodeProvisioningProfile_STATUS) DeepCopy() *ManagedClusterNodeProvisioningProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeProvisioningProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeProvisioningProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterNodeProvisioningProfile_STATUS_ARM) {
+ *out = *in
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ManagedClusterNodeProvisioningProfile_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeProvisioningProfile_STATUS_ARM.
+func (in *ManagedClusterNodeProvisioningProfile_STATUS_ARM) DeepCopy() *ManagedClusterNodeProvisioningProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeProvisioningProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeResourceGroupProfile) DeepCopyInto(out *ManagedClusterNodeResourceGroupProfile) {
+ *out = *in
+ if in.RestrictionLevel != nil {
+ in, out := &in.RestrictionLevel, &out.RestrictionLevel
+ *out = new(ManagedClusterNodeResourceGroupProfile_RestrictionLevel)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeResourceGroupProfile.
+func (in *ManagedClusterNodeResourceGroupProfile) DeepCopy() *ManagedClusterNodeResourceGroupProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeResourceGroupProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeResourceGroupProfile_ARM) DeepCopyInto(out *ManagedClusterNodeResourceGroupProfile_ARM) {
+ *out = *in
+ if in.RestrictionLevel != nil {
+ in, out := &in.RestrictionLevel, &out.RestrictionLevel
+ *out = new(ManagedClusterNodeResourceGroupProfile_RestrictionLevel)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeResourceGroupProfile_ARM.
+func (in *ManagedClusterNodeResourceGroupProfile_ARM) DeepCopy() *ManagedClusterNodeResourceGroupProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeResourceGroupProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeResourceGroupProfile_STATUS) DeepCopyInto(out *ManagedClusterNodeResourceGroupProfile_STATUS) {
+ *out = *in
+ if in.RestrictionLevel != nil {
+ in, out := &in.RestrictionLevel, &out.RestrictionLevel
+ *out = new(ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeResourceGroupProfile_STATUS.
+func (in *ManagedClusterNodeResourceGroupProfile_STATUS) DeepCopy() *ManagedClusterNodeResourceGroupProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeResourceGroupProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterNodeResourceGroupProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterNodeResourceGroupProfile_STATUS_ARM) {
+ *out = *in
+ if in.RestrictionLevel != nil {
+ in, out := &in.RestrictionLevel, &out.RestrictionLevel
+ *out = new(ManagedClusterNodeResourceGroupProfile_RestrictionLevel_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterNodeResourceGroupProfile_STATUS_ARM.
+func (in *ManagedClusterNodeResourceGroupProfile_STATUS_ARM) DeepCopy() *ManagedClusterNodeResourceGroupProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterNodeResourceGroupProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOIDCIssuerProfile) DeepCopyInto(out *ManagedClusterOIDCIssuerProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOIDCIssuerProfile.
+func (in *ManagedClusterOIDCIssuerProfile) DeepCopy() *ManagedClusterOIDCIssuerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOIDCIssuerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOIDCIssuerProfile_ARM) DeepCopyInto(out *ManagedClusterOIDCIssuerProfile_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOIDCIssuerProfile_ARM.
+func (in *ManagedClusterOIDCIssuerProfile_ARM) DeepCopy() *ManagedClusterOIDCIssuerProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOIDCIssuerProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOIDCIssuerProfile_STATUS) DeepCopyInto(out *ManagedClusterOIDCIssuerProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IssuerURL != nil {
+ in, out := &in.IssuerURL, &out.IssuerURL
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOIDCIssuerProfile_STATUS.
+func (in *ManagedClusterOIDCIssuerProfile_STATUS) DeepCopy() *ManagedClusterOIDCIssuerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOIDCIssuerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOIDCIssuerProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterOIDCIssuerProfile_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IssuerURL != nil {
+ in, out := &in.IssuerURL, &out.IssuerURL
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOIDCIssuerProfile_STATUS_ARM.
+func (in *ManagedClusterOIDCIssuerProfile_STATUS_ARM) DeepCopy() *ManagedClusterOIDCIssuerProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOIDCIssuerProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOperatorConfigMaps) DeepCopyInto(out *ManagedClusterOperatorConfigMaps) {
+ *out = *in
+ if in.OIDCIssuerProfile != nil {
+ in, out := &in.OIDCIssuerProfile, &out.OIDCIssuerProfile
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorConfigMaps.
+func (in *ManagedClusterOperatorConfigMaps) DeepCopy() *ManagedClusterOperatorConfigMaps {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOperatorConfigMaps)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOperatorSecrets) DeepCopyInto(out *ManagedClusterOperatorSecrets) {
+ *out = *in
+ if in.AdminCredentials != nil {
+ in, out := &in.AdminCredentials, &out.AdminCredentials
+ *out = new(genruntime.SecretDestination)
+ **out = **in
+ }
+ if in.UserCredentials != nil {
+ in, out := &in.UserCredentials, &out.UserCredentials
+ *out = new(genruntime.SecretDestination)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorSecrets.
+func (in *ManagedClusterOperatorSecrets) DeepCopy() *ManagedClusterOperatorSecrets {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOperatorSecrets)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterOperatorSpec) DeepCopyInto(out *ManagedClusterOperatorSpec) {
+ *out = *in
+ if in.ConfigMaps != nil {
+ in, out := &in.ConfigMaps, &out.ConfigMaps
+ *out = new(ManagedClusterOperatorConfigMaps)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Secrets != nil {
+ in, out := &in.Secrets, &out.Secrets
+ *out = new(ManagedClusterOperatorSecrets)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterOperatorSpec.
+func (in *ManagedClusterOperatorSpec) DeepCopy() *ManagedClusterOperatorSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterOperatorSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity) DeepCopyInto(out *ManagedClusterPodIdentity) {
+ *out = *in
+ if in.BindingSelector != nil {
+ in, out := &in.BindingSelector, &out.BindingSelector
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity.
+func (in *ManagedClusterPodIdentity) DeepCopy() *ManagedClusterPodIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityException) DeepCopyInto(out *ManagedClusterPodIdentityException) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodLabels != nil {
+ in, out := &in.PodLabels, &out.PodLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityException.
+func (in *ManagedClusterPodIdentityException) DeepCopy() *ManagedClusterPodIdentityException {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityException)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityException_ARM) DeepCopyInto(out *ManagedClusterPodIdentityException_ARM) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodLabels != nil {
+ in, out := &in.PodLabels, &out.PodLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityException_ARM.
+func (in *ManagedClusterPodIdentityException_ARM) DeepCopy() *ManagedClusterPodIdentityException_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityException_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityException_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityException_STATUS) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodLabels != nil {
+ in, out := &in.PodLabels, &out.PodLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityException_STATUS.
+func (in *ManagedClusterPodIdentityException_STATUS) DeepCopy() *ManagedClusterPodIdentityException_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityException_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityException_STATUS_ARM) DeepCopyInto(out *ManagedClusterPodIdentityException_STATUS_ARM) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.PodLabels != nil {
+ in, out := &in.PodLabels, &out.PodLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityException_STATUS_ARM.
+func (in *ManagedClusterPodIdentityException_STATUS_ARM) DeepCopy() *ManagedClusterPodIdentityException_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityException_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProfile) DeepCopyInto(out *ManagedClusterPodIdentityProfile) {
+ *out = *in
+ if in.AllowNetworkPluginKubenet != nil {
+ in, out := &in.AllowNetworkPluginKubenet, &out.AllowNetworkPluginKubenet
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]ManagedClusterPodIdentity, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.UserAssignedIdentityExceptions != nil {
+ in, out := &in.UserAssignedIdentityExceptions, &out.UserAssignedIdentityExceptions
+ *out = make([]ManagedClusterPodIdentityException, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProfile.
+func (in *ManagedClusterPodIdentityProfile) DeepCopy() *ManagedClusterPodIdentityProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProfile_ARM) DeepCopyInto(out *ManagedClusterPodIdentityProfile_ARM) {
+ *out = *in
+ if in.AllowNetworkPluginKubenet != nil {
+ in, out := &in.AllowNetworkPluginKubenet, &out.AllowNetworkPluginKubenet
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]ManagedClusterPodIdentity_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.UserAssignedIdentityExceptions != nil {
+ in, out := &in.UserAssignedIdentityExceptions, &out.UserAssignedIdentityExceptions
+ *out = make([]ManagedClusterPodIdentityException_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProfile_ARM.
+func (in *ManagedClusterPodIdentityProfile_ARM) DeepCopy() *ManagedClusterPodIdentityProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProfile_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityProfile_STATUS) {
+ *out = *in
+ if in.AllowNetworkPluginKubenet != nil {
+ in, out := &in.AllowNetworkPluginKubenet, &out.AllowNetworkPluginKubenet
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]ManagedClusterPodIdentity_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.UserAssignedIdentityExceptions != nil {
+ in, out := &in.UserAssignedIdentityExceptions, &out.UserAssignedIdentityExceptions
+ *out = make([]ManagedClusterPodIdentityException_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProfile_STATUS.
+func (in *ManagedClusterPodIdentityProfile_STATUS) DeepCopy() *ManagedClusterPodIdentityProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterPodIdentityProfile_STATUS_ARM) {
+ *out = *in
+ if in.AllowNetworkPluginKubenet != nil {
+ in, out := &in.AllowNetworkPluginKubenet, &out.AllowNetworkPluginKubenet
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.UserAssignedIdentities != nil {
+ in, out := &in.UserAssignedIdentities, &out.UserAssignedIdentities
+ *out = make([]ManagedClusterPodIdentity_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.UserAssignedIdentityExceptions != nil {
+ in, out := &in.UserAssignedIdentityExceptions, &out.UserAssignedIdentityExceptions
+ *out = make([]ManagedClusterPodIdentityException_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProfile_STATUS_ARM.
+func (in *ManagedClusterPodIdentityProfile_STATUS_ARM) DeepCopy() *ManagedClusterPodIdentityProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.Details != nil {
+ in, out := &in.Details, &out.Details
+ *out = make([]ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Message != nil {
+ in, out := &in.Message, &out.Message
+ *out = new(string)
+ **out = **in
+ }
+ if in.Target != nil {
+ in, out := &in.Target, &out.Target
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningErrorBody_STATUS.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS) DeepCopy() *ManagedClusterPodIdentityProvisioningErrorBody_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.Details != nil {
+ in, out := &in.Details, &out.Details
+ *out = make([]ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Message != nil {
+ in, out := &in.Message, &out.Message
+ *out = new(string)
+ **out = **in
+ }
+ if in.Target != nil {
+ in, out := &in.Target, &out.Target
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM) DeepCopy() *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.Message != nil {
+ in, out := &in.Message, &out.Message
+ *out = new(string)
+ **out = **in
+ }
+ if in.Target != nil {
+ in, out := &in.Target, &out.Target
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled) DeepCopy() *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(string)
+ **out = **in
+ }
+ if in.Message != nil {
+ in, out := &in.Message, &out.Message
+ *out = new(string)
+ **out = **in
+ }
+ if in.Target != nil {
+ in, out := &in.Target, &out.Target
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM.
+func (in *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM) DeepCopy() *ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_Unrolled_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningError_STATUS) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningError_STATUS) {
+ *out = *in
+ if in.Error != nil {
+ in, out := &in.Error, &out.Error
+ *out = new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningError_STATUS.
+func (in *ManagedClusterPodIdentityProvisioningError_STATUS) DeepCopy() *ManagedClusterPodIdentityProvisioningError_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningError_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentityProvisioningError_STATUS_ARM) DeepCopyInto(out *ManagedClusterPodIdentityProvisioningError_STATUS_ARM) {
+ *out = *in
+ if in.Error != nil {
+ in, out := &in.Error, &out.Error
+ *out = new(ManagedClusterPodIdentityProvisioningErrorBody_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentityProvisioningError_STATUS_ARM.
+func (in *ManagedClusterPodIdentityProvisioningError_STATUS_ARM) DeepCopy() *ManagedClusterPodIdentityProvisioningError_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentityProvisioningError_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_ARM) DeepCopyInto(out *ManagedClusterPodIdentity_ARM) {
+ *out = *in
+ if in.BindingSelector != nil {
+ in, out := &in.BindingSelector, &out.BindingSelector
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_ARM.
+func (in *ManagedClusterPodIdentity_ARM) DeepCopy() *ManagedClusterPodIdentity_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) DeepCopyInto(out *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) {
+ *out = *in
+ if in.Error != nil {
+ in, out := &in.Error, &out.Error
+ *out = new(ManagedClusterPodIdentityProvisioningError_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_ProvisioningInfo_STATUS.
+func (in *ManagedClusterPodIdentity_ProvisioningInfo_STATUS) DeepCopy() *ManagedClusterPodIdentity_ProvisioningInfo_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_ProvisioningInfo_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM) DeepCopyInto(out *ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM) {
+ *out = *in
+ if in.Error != nil {
+ in, out := &in.Error, &out.Error
+ *out = new(ManagedClusterPodIdentityProvisioningError_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM.
+func (in *ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM) DeepCopy() *ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_STATUS) DeepCopyInto(out *ManagedClusterPodIdentity_STATUS) {
+ *out = *in
+ if in.BindingSelector != nil {
+ in, out := &in.BindingSelector, &out.BindingSelector
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProvisioningInfo != nil {
+ in, out := &in.ProvisioningInfo, &out.ProvisioningInfo
+ *out = new(ManagedClusterPodIdentity_ProvisioningInfo_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(ManagedClusterPodIdentity_ProvisioningState_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_STATUS.
+func (in *ManagedClusterPodIdentity_STATUS) DeepCopy() *ManagedClusterPodIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterPodIdentity_STATUS_ARM) DeepCopyInto(out *ManagedClusterPodIdentity_STATUS_ARM) {
+ *out = *in
+ if in.BindingSelector != nil {
+ in, out := &in.BindingSelector, &out.BindingSelector
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(UserAssignedIdentity_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Namespace != nil {
+ in, out := &in.Namespace, &out.Namespace
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProvisioningInfo != nil {
+ in, out := &in.ProvisioningInfo, &out.ProvisioningInfo
+ *out = new(ManagedClusterPodIdentity_ProvisioningInfo_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(ManagedClusterPodIdentity_ProvisioningState_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterPodIdentity_STATUS_ARM.
+func (in *ManagedClusterPodIdentity_STATUS_ARM) DeepCopy() *ManagedClusterPodIdentity_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterPodIdentity_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_ARM) DeepCopyInto(out *ManagedClusterProperties_ARM) {
+ *out = *in
+ if in.AadProfile != nil {
+ in, out := &in.AadProfile, &out.AadProfile
+ *out = new(ManagedClusterAADProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AddonProfiles != nil {
+ in, out := &in.AddonProfiles, &out.AddonProfiles
+ *out = make(map[string]ManagedClusterAddonProfile_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.AgentPoolProfiles != nil {
+ in, out := &in.AgentPoolProfiles, &out.AgentPoolProfiles
+ *out = make([]ManagedClusterAgentPoolProfile_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.AiToolchainOperatorProfile != nil {
+ in, out := &in.AiToolchainOperatorProfile, &out.AiToolchainOperatorProfile
+ *out = new(ManagedClusterAIToolchainOperatorProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ApiServerAccessProfile != nil {
+ in, out := &in.ApiServerAccessProfile, &out.ApiServerAccessProfile
+ *out = new(ManagedClusterAPIServerAccessProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoScalerProfile != nil {
+ in, out := &in.AutoScalerProfile, &out.AutoScalerProfile
+ *out = new(ManagedClusterProperties_AutoScalerProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoUpgradeProfile != nil {
+ in, out := &in.AutoUpgradeProfile, &out.AutoUpgradeProfile
+ *out = new(ManagedClusterAutoUpgradeProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzureMonitorProfile != nil {
+ in, out := &in.AzureMonitorProfile, &out.AzureMonitorProfile
+ *out = new(ManagedClusterAzureMonitorProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.BootstrapProfile != nil {
+ in, out := &in.BootstrapProfile, &out.BootstrapProfile
+ *out = new(ManagedClusterBootstrapProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DisableLocalAccounts != nil {
+ in, out := &in.DisableLocalAccounts, &out.DisableLocalAccounts
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DiskEncryptionSetID != nil {
+ in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.DnsPrefix != nil {
+ in, out := &in.DnsPrefix, &out.DnsPrefix
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableNamespaceResources != nil {
+ in, out := &in.EnableNamespaceResources, &out.EnableNamespaceResources
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePodSecurityPolicy != nil {
+ in, out := &in.EnablePodSecurityPolicy, &out.EnablePodSecurityPolicy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableRBAC != nil {
+ in, out := &in.EnableRBAC, &out.EnableRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.FqdnSubdomain != nil {
+ in, out := &in.FqdnSubdomain, &out.FqdnSubdomain
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpProxyConfig != nil {
+ in, out := &in.HttpProxyConfig, &out.HttpProxyConfig
+ *out = new(ManagedClusterHTTPProxyConfig_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.IdentityProfile != nil {
+ in, out := &in.IdentityProfile, &out.IdentityProfile
+ *out = make(map[string]UserAssignedIdentity_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.IngressProfile != nil {
+ in, out := &in.IngressProfile, &out.IngressProfile
+ *out = new(ManagedClusterIngressProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubernetesVersion != nil {
+ in, out := &in.KubernetesVersion, &out.KubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxProfile != nil {
+ in, out := &in.LinuxProfile, &out.LinuxProfile
+ *out = new(ContainerServiceLinuxProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MetricsProfile != nil {
+ in, out := &in.MetricsProfile, &out.MetricsProfile
+ *out = new(ManagedClusterMetricsProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(ContainerServiceNetworkProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeProvisioningProfile != nil {
+ in, out := &in.NodeProvisioningProfile, &out.NodeProvisioningProfile
+ *out = new(ManagedClusterNodeProvisioningProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeResourceGroup != nil {
+ in, out := &in.NodeResourceGroup, &out.NodeResourceGroup
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeResourceGroupProfile != nil {
+ in, out := &in.NodeResourceGroupProfile, &out.NodeResourceGroupProfile
+ *out = new(ManagedClusterNodeResourceGroupProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OidcIssuerProfile != nil {
+ in, out := &in.OidcIssuerProfile, &out.OidcIssuerProfile
+ *out = new(ManagedClusterOIDCIssuerProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PodIdentityProfile != nil {
+ in, out := &in.PodIdentityProfile, &out.PodIdentityProfile
+ *out = new(ManagedClusterPodIdentityProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PrivateLinkResources != nil {
+ in, out := &in.PrivateLinkResources, &out.PrivateLinkResources
+ *out = make([]PrivateLinkResource_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PublicNetworkAccess != nil {
+ in, out := &in.PublicNetworkAccess, &out.PublicNetworkAccess
+ *out = new(ManagedClusterProperties_PublicNetworkAccess)
+ **out = **in
+ }
+ if in.SafeguardsProfile != nil {
+ in, out := &in.SafeguardsProfile, &out.SafeguardsProfile
+ *out = new(SafeguardsProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(ManagedClusterSecurityProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServiceMeshProfile != nil {
+ in, out := &in.ServiceMeshProfile, &out.ServiceMeshProfile
+ *out = new(ServiceMeshProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServicePrincipalProfile != nil {
+ in, out := &in.ServicePrincipalProfile, &out.ServicePrincipalProfile
+ *out = new(ManagedClusterServicePrincipalProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StorageProfile != nil {
+ in, out := &in.StorageProfile, &out.StorageProfile
+ *out = new(ManagedClusterStorageProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SupportPlan != nil {
+ in, out := &in.SupportPlan, &out.SupportPlan
+ *out = new(KubernetesSupportPlan)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(ClusterUpgradeSettings_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(ManagedClusterWindowsProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadAutoScalerProfile != nil {
+ in, out := &in.WorkloadAutoScalerProfile, &out.WorkloadAutoScalerProfile
+ *out = new(ManagedClusterWorkloadAutoScalerProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_ARM.
+func (in *ManagedClusterProperties_ARM) DeepCopy() *ManagedClusterProperties_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_AutoScalerProfile) DeepCopyInto(out *ManagedClusterProperties_AutoScalerProfile) {
+ *out = *in
+ if in.BalanceSimilarNodeGroups != nil {
+ in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
+ *out = new(string)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForEmptyNodes != nil {
+ in, out := &in.DaemonsetEvictionForEmptyNodes, &out.DaemonsetEvictionForEmptyNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForOccupiedNodes != nil {
+ in, out := &in.DaemonsetEvictionForOccupiedNodes, &out.DaemonsetEvictionForOccupiedNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Expander != nil {
+ in, out := &in.Expander, &out.Expander
+ *out = new(Expander)
+ **out = **in
+ }
+ if in.IgnoreDaemonsetsUtilization != nil {
+ in, out := &in.IgnoreDaemonsetsUtilization, &out.IgnoreDaemonsetsUtilization
+ *out = new(bool)
+ **out = **in
+ }
+ if in.MaxEmptyBulkDelete != nil {
+ in, out := &in.MaxEmptyBulkDelete, &out.MaxEmptyBulkDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxGracefulTerminationSec != nil {
+ in, out := &in.MaxGracefulTerminationSec, &out.MaxGracefulTerminationSec
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxNodeProvisionTime != nil {
+ in, out := &in.MaxNodeProvisionTime, &out.MaxNodeProvisionTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxTotalUnreadyPercentage != nil {
+ in, out := &in.MaxTotalUnreadyPercentage, &out.MaxTotalUnreadyPercentage
+ *out = new(string)
+ **out = **in
+ }
+ if in.NewPodScaleUpDelay != nil {
+ in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
+ *out = new(string)
+ **out = **in
+ }
+ if in.OkTotalUnreadyCount != nil {
+ in, out := &in.OkTotalUnreadyCount, &out.OkTotalUnreadyCount
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterAdd != nil {
+ in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterDelete != nil {
+ in, out := &in.ScaleDownDelayAfterDelete, &out.ScaleDownDelayAfterDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterFailure != nil {
+ in, out := &in.ScaleDownDelayAfterFailure, &out.ScaleDownDelayAfterFailure
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnneededTime != nil {
+ in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnreadyTime != nil {
+ in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUtilizationThreshold != nil {
+ in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScanInterval != nil {
+ in, out := &in.ScanInterval, &out.ScanInterval
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithLocalStorage != nil {
+ in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithSystemPods != nil {
+ in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_AutoScalerProfile.
+func (in *ManagedClusterProperties_AutoScalerProfile) DeepCopy() *ManagedClusterProperties_AutoScalerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_AutoScalerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_AutoScalerProfile_ARM) DeepCopyInto(out *ManagedClusterProperties_AutoScalerProfile_ARM) {
+ *out = *in
+ if in.BalanceSimilarNodeGroups != nil {
+ in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
+ *out = new(string)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForEmptyNodes != nil {
+ in, out := &in.DaemonsetEvictionForEmptyNodes, &out.DaemonsetEvictionForEmptyNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForOccupiedNodes != nil {
+ in, out := &in.DaemonsetEvictionForOccupiedNodes, &out.DaemonsetEvictionForOccupiedNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Expander != nil {
+ in, out := &in.Expander, &out.Expander
+ *out = new(Expander)
+ **out = **in
+ }
+ if in.IgnoreDaemonsetsUtilization != nil {
+ in, out := &in.IgnoreDaemonsetsUtilization, &out.IgnoreDaemonsetsUtilization
+ *out = new(bool)
+ **out = **in
+ }
+ if in.MaxEmptyBulkDelete != nil {
+ in, out := &in.MaxEmptyBulkDelete, &out.MaxEmptyBulkDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxGracefulTerminationSec != nil {
+ in, out := &in.MaxGracefulTerminationSec, &out.MaxGracefulTerminationSec
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxNodeProvisionTime != nil {
+ in, out := &in.MaxNodeProvisionTime, &out.MaxNodeProvisionTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxTotalUnreadyPercentage != nil {
+ in, out := &in.MaxTotalUnreadyPercentage, &out.MaxTotalUnreadyPercentage
+ *out = new(string)
+ **out = **in
+ }
+ if in.NewPodScaleUpDelay != nil {
+ in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
+ *out = new(string)
+ **out = **in
+ }
+ if in.OkTotalUnreadyCount != nil {
+ in, out := &in.OkTotalUnreadyCount, &out.OkTotalUnreadyCount
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterAdd != nil {
+ in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterDelete != nil {
+ in, out := &in.ScaleDownDelayAfterDelete, &out.ScaleDownDelayAfterDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterFailure != nil {
+ in, out := &in.ScaleDownDelayAfterFailure, &out.ScaleDownDelayAfterFailure
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnneededTime != nil {
+ in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnreadyTime != nil {
+ in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUtilizationThreshold != nil {
+ in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScanInterval != nil {
+ in, out := &in.ScanInterval, &out.ScanInterval
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithLocalStorage != nil {
+ in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithSystemPods != nil {
+ in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_AutoScalerProfile_ARM.
+func (in *ManagedClusterProperties_AutoScalerProfile_ARM) DeepCopy() *ManagedClusterProperties_AutoScalerProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_AutoScalerProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_AutoScalerProfile_STATUS) DeepCopyInto(out *ManagedClusterProperties_AutoScalerProfile_STATUS) {
+ *out = *in
+ if in.BalanceSimilarNodeGroups != nil {
+ in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
+ *out = new(string)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForEmptyNodes != nil {
+ in, out := &in.DaemonsetEvictionForEmptyNodes, &out.DaemonsetEvictionForEmptyNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForOccupiedNodes != nil {
+ in, out := &in.DaemonsetEvictionForOccupiedNodes, &out.DaemonsetEvictionForOccupiedNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Expander != nil {
+ in, out := &in.Expander, &out.Expander
+ *out = new(Expander_STATUS)
+ **out = **in
+ }
+ if in.IgnoreDaemonsetsUtilization != nil {
+ in, out := &in.IgnoreDaemonsetsUtilization, &out.IgnoreDaemonsetsUtilization
+ *out = new(bool)
+ **out = **in
+ }
+ if in.MaxEmptyBulkDelete != nil {
+ in, out := &in.MaxEmptyBulkDelete, &out.MaxEmptyBulkDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxGracefulTerminationSec != nil {
+ in, out := &in.MaxGracefulTerminationSec, &out.MaxGracefulTerminationSec
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxNodeProvisionTime != nil {
+ in, out := &in.MaxNodeProvisionTime, &out.MaxNodeProvisionTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxTotalUnreadyPercentage != nil {
+ in, out := &in.MaxTotalUnreadyPercentage, &out.MaxTotalUnreadyPercentage
+ *out = new(string)
+ **out = **in
+ }
+ if in.NewPodScaleUpDelay != nil {
+ in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
+ *out = new(string)
+ **out = **in
+ }
+ if in.OkTotalUnreadyCount != nil {
+ in, out := &in.OkTotalUnreadyCount, &out.OkTotalUnreadyCount
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterAdd != nil {
+ in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterDelete != nil {
+ in, out := &in.ScaleDownDelayAfterDelete, &out.ScaleDownDelayAfterDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterFailure != nil {
+ in, out := &in.ScaleDownDelayAfterFailure, &out.ScaleDownDelayAfterFailure
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnneededTime != nil {
+ in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnreadyTime != nil {
+ in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUtilizationThreshold != nil {
+ in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScanInterval != nil {
+ in, out := &in.ScanInterval, &out.ScanInterval
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithLocalStorage != nil {
+ in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithSystemPods != nil {
+ in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_AutoScalerProfile_STATUS.
+func (in *ManagedClusterProperties_AutoScalerProfile_STATUS) DeepCopy() *ManagedClusterProperties_AutoScalerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_AutoScalerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_AutoScalerProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterProperties_AutoScalerProfile_STATUS_ARM) {
+ *out = *in
+ if in.BalanceSimilarNodeGroups != nil {
+ in, out := &in.BalanceSimilarNodeGroups, &out.BalanceSimilarNodeGroups
+ *out = new(string)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForEmptyNodes != nil {
+ in, out := &in.DaemonsetEvictionForEmptyNodes, &out.DaemonsetEvictionForEmptyNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DaemonsetEvictionForOccupiedNodes != nil {
+ in, out := &in.DaemonsetEvictionForOccupiedNodes, &out.DaemonsetEvictionForOccupiedNodes
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Expander != nil {
+ in, out := &in.Expander, &out.Expander
+ *out = new(Expander_STATUS)
+ **out = **in
+ }
+ if in.IgnoreDaemonsetsUtilization != nil {
+ in, out := &in.IgnoreDaemonsetsUtilization, &out.IgnoreDaemonsetsUtilization
+ *out = new(bool)
+ **out = **in
+ }
+ if in.MaxEmptyBulkDelete != nil {
+ in, out := &in.MaxEmptyBulkDelete, &out.MaxEmptyBulkDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxGracefulTerminationSec != nil {
+ in, out := &in.MaxGracefulTerminationSec, &out.MaxGracefulTerminationSec
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxNodeProvisionTime != nil {
+ in, out := &in.MaxNodeProvisionTime, &out.MaxNodeProvisionTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxTotalUnreadyPercentage != nil {
+ in, out := &in.MaxTotalUnreadyPercentage, &out.MaxTotalUnreadyPercentage
+ *out = new(string)
+ **out = **in
+ }
+ if in.NewPodScaleUpDelay != nil {
+ in, out := &in.NewPodScaleUpDelay, &out.NewPodScaleUpDelay
+ *out = new(string)
+ **out = **in
+ }
+ if in.OkTotalUnreadyCount != nil {
+ in, out := &in.OkTotalUnreadyCount, &out.OkTotalUnreadyCount
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterAdd != nil {
+ in, out := &in.ScaleDownDelayAfterAdd, &out.ScaleDownDelayAfterAdd
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterDelete != nil {
+ in, out := &in.ScaleDownDelayAfterDelete, &out.ScaleDownDelayAfterDelete
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownDelayAfterFailure != nil {
+ in, out := &in.ScaleDownDelayAfterFailure, &out.ScaleDownDelayAfterFailure
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnneededTime != nil {
+ in, out := &in.ScaleDownUnneededTime, &out.ScaleDownUnneededTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUnreadyTime != nil {
+ in, out := &in.ScaleDownUnreadyTime, &out.ScaleDownUnreadyTime
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownUtilizationThreshold != nil {
+ in, out := &in.ScaleDownUtilizationThreshold, &out.ScaleDownUtilizationThreshold
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScanInterval != nil {
+ in, out := &in.ScanInterval, &out.ScanInterval
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithLocalStorage != nil {
+ in, out := &in.SkipNodesWithLocalStorage, &out.SkipNodesWithLocalStorage
+ *out = new(string)
+ **out = **in
+ }
+ if in.SkipNodesWithSystemPods != nil {
+ in, out := &in.SkipNodesWithSystemPods, &out.SkipNodesWithSystemPods
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_AutoScalerProfile_STATUS_ARM.
+func (in *ManagedClusterProperties_AutoScalerProfile_STATUS_ARM) DeepCopy() *ManagedClusterProperties_AutoScalerProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_AutoScalerProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterProperties_STATUS_ARM) DeepCopyInto(out *ManagedClusterProperties_STATUS_ARM) {
+ *out = *in
+ if in.AadProfile != nil {
+ in, out := &in.AadProfile, &out.AadProfile
+ *out = new(ManagedClusterAADProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AddonProfiles != nil {
+ in, out := &in.AddonProfiles, &out.AddonProfiles
+ *out = make(map[string]ManagedClusterAddonProfile_STATUS_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.AgentPoolProfiles != nil {
+ in, out := &in.AgentPoolProfiles, &out.AgentPoolProfiles
+ *out = make([]ManagedClusterAgentPoolProfile_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.AiToolchainOperatorProfile != nil {
+ in, out := &in.AiToolchainOperatorProfile, &out.AiToolchainOperatorProfile
+ *out = new(ManagedClusterAIToolchainOperatorProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ApiServerAccessProfile != nil {
+ in, out := &in.ApiServerAccessProfile, &out.ApiServerAccessProfile
+ *out = new(ManagedClusterAPIServerAccessProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoScalerProfile != nil {
+ in, out := &in.AutoScalerProfile, &out.AutoScalerProfile
+ *out = new(ManagedClusterProperties_AutoScalerProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoUpgradeProfile != nil {
+ in, out := &in.AutoUpgradeProfile, &out.AutoUpgradeProfile
+ *out = new(ManagedClusterAutoUpgradeProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzureMonitorProfile != nil {
+ in, out := &in.AzureMonitorProfile, &out.AzureMonitorProfile
+ *out = new(ManagedClusterAzureMonitorProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzurePortalFQDN != nil {
+ in, out := &in.AzurePortalFQDN, &out.AzurePortalFQDN
+ *out = new(string)
+ **out = **in
+ }
+ if in.BootstrapProfile != nil {
+ in, out := &in.BootstrapProfile, &out.BootstrapProfile
+ *out = new(ManagedClusterBootstrapProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentKubernetesVersion != nil {
+ in, out := &in.CurrentKubernetesVersion, &out.CurrentKubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.DisableLocalAccounts != nil {
+ in, out := &in.DisableLocalAccounts, &out.DisableLocalAccounts
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DiskEncryptionSetID != nil {
+ in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.DnsPrefix != nil {
+ in, out := &in.DnsPrefix, &out.DnsPrefix
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableNamespaceResources != nil {
+ in, out := &in.EnableNamespaceResources, &out.EnableNamespaceResources
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePodSecurityPolicy != nil {
+ in, out := &in.EnablePodSecurityPolicy, &out.EnablePodSecurityPolicy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableRBAC != nil {
+ in, out := &in.EnableRBAC, &out.EnableRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Fqdn != nil {
+ in, out := &in.Fqdn, &out.Fqdn
+ *out = new(string)
+ **out = **in
+ }
+ if in.FqdnSubdomain != nil {
+ in, out := &in.FqdnSubdomain, &out.FqdnSubdomain
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpProxyConfig != nil {
+ in, out := &in.HttpProxyConfig, &out.HttpProxyConfig
+ *out = new(ManagedClusterHTTPProxyConfig_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.IdentityProfile != nil {
+ in, out := &in.IdentityProfile, &out.IdentityProfile
+ *out = make(map[string]UserAssignedIdentity_STATUS_ARM, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.IngressProfile != nil {
+ in, out := &in.IngressProfile, &out.IngressProfile
+ *out = new(ManagedClusterIngressProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubernetesVersion != nil {
+ in, out := &in.KubernetesVersion, &out.KubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxProfile != nil {
+ in, out := &in.LinuxProfile, &out.LinuxProfile
+ *out = new(ContainerServiceLinuxProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxAgentPools != nil {
+ in, out := &in.MaxAgentPools, &out.MaxAgentPools
+ *out = new(int)
+ **out = **in
+ }
+ if in.MetricsProfile != nil {
+ in, out := &in.MetricsProfile, &out.MetricsProfile
+ *out = new(ManagedClusterMetricsProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(ContainerServiceNetworkProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeProvisioningProfile != nil {
+ in, out := &in.NodeProvisioningProfile, &out.NodeProvisioningProfile
+ *out = new(ManagedClusterNodeProvisioningProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeResourceGroup != nil {
+ in, out := &in.NodeResourceGroup, &out.NodeResourceGroup
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeResourceGroupProfile != nil {
+ in, out := &in.NodeResourceGroupProfile, &out.NodeResourceGroupProfile
+ *out = new(ManagedClusterNodeResourceGroupProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OidcIssuerProfile != nil {
+ in, out := &in.OidcIssuerProfile, &out.OidcIssuerProfile
+ *out = new(ManagedClusterOIDCIssuerProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PodIdentityProfile != nil {
+ in, out := &in.PodIdentityProfile, &out.PodIdentityProfile
+ *out = new(ManagedClusterPodIdentityProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PrivateFQDN != nil {
+ in, out := &in.PrivateFQDN, &out.PrivateFQDN
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrivateLinkResources != nil {
+ in, out := &in.PrivateLinkResources, &out.PrivateLinkResources
+ *out = make([]PrivateLinkResource_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.PublicNetworkAccess != nil {
+ in, out := &in.PublicNetworkAccess, &out.PublicNetworkAccess
+ *out = new(ManagedClusterProperties_PublicNetworkAccess_STATUS)
+ **out = **in
+ }
+ if in.ResourceUID != nil {
+ in, out := &in.ResourceUID, &out.ResourceUID
+ *out = new(string)
+ **out = **in
+ }
+ if in.SafeguardsProfile != nil {
+ in, out := &in.SafeguardsProfile, &out.SafeguardsProfile
+ *out = new(SafeguardsProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(ManagedClusterSecurityProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServiceMeshProfile != nil {
+ in, out := &in.ServiceMeshProfile, &out.ServiceMeshProfile
+ *out = new(ServiceMeshProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServicePrincipalProfile != nil {
+ in, out := &in.ServicePrincipalProfile, &out.ServicePrincipalProfile
+ *out = new(ManagedClusterServicePrincipalProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StorageProfile != nil {
+ in, out := &in.StorageProfile, &out.StorageProfile
+ *out = new(ManagedClusterStorageProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SupportPlan != nil {
+ in, out := &in.SupportPlan, &out.SupportPlan
+ *out = new(KubernetesSupportPlan_STATUS)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(ClusterUpgradeSettings_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(ManagedClusterWindowsProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadAutoScalerProfile != nil {
+ in, out := &in.WorkloadAutoScalerProfile, &out.WorkloadAutoScalerProfile
+ *out = new(ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterProperties_STATUS_ARM.
+func (in *ManagedClusterProperties_STATUS_ARM) DeepCopy() *ManagedClusterProperties_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterProperties_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSKU) DeepCopyInto(out *ManagedClusterSKU) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(ManagedClusterSKU_Name)
+ **out = **in
+ }
+ if in.Tier != nil {
+ in, out := &in.Tier, &out.Tier
+ *out = new(ManagedClusterSKU_Tier)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSKU.
+func (in *ManagedClusterSKU) DeepCopy() *ManagedClusterSKU {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSKU)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSKU_ARM) DeepCopyInto(out *ManagedClusterSKU_ARM) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(ManagedClusterSKU_Name)
+ **out = **in
+ }
+ if in.Tier != nil {
+ in, out := &in.Tier, &out.Tier
+ *out = new(ManagedClusterSKU_Tier)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSKU_ARM.
+func (in *ManagedClusterSKU_ARM) DeepCopy() *ManagedClusterSKU_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSKU_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSKU_STATUS) DeepCopyInto(out *ManagedClusterSKU_STATUS) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(ManagedClusterSKU_Name_STATUS)
+ **out = **in
+ }
+ if in.Tier != nil {
+ in, out := &in.Tier, &out.Tier
+ *out = new(ManagedClusterSKU_Tier_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSKU_STATUS.
+func (in *ManagedClusterSKU_STATUS) DeepCopy() *ManagedClusterSKU_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSKU_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSKU_STATUS_ARM) DeepCopyInto(out *ManagedClusterSKU_STATUS_ARM) {
+ *out = *in
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(ManagedClusterSKU_Name_STATUS)
+ **out = **in
+ }
+ if in.Tier != nil {
+ in, out := &in.Tier, &out.Tier
+ *out = new(ManagedClusterSKU_Tier_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSKU_STATUS_ARM.
+func (in *ManagedClusterSKU_STATUS_ARM) DeepCopy() *ManagedClusterSKU_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSKU_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfile) DeepCopyInto(out *ManagedClusterSecurityProfile) {
+ *out = *in
+ if in.AzureKeyVaultKms != nil {
+ in, out := &in.AzureKeyVaultKms, &out.AzureKeyVaultKms
+ *out = new(AzureKeyVaultKms)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CustomCATrustCertificates != nil {
+ in, out := &in.CustomCATrustCertificates, &out.CustomCATrustCertificates
+ *out = make(ManagedClusterSecurityProfileCustomCATrustCertificates, len(*in))
+ copy(*out, *in)
+ }
+ if in.Defender != nil {
+ in, out := &in.Defender, &out.Defender
+ *out = new(ManagedClusterSecurityProfileDefender)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageCleaner != nil {
+ in, out := &in.ImageCleaner, &out.ImageCleaner
+ *out = new(ManagedClusterSecurityProfileImageCleaner)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageIntegrity != nil {
+ in, out := &in.ImageIntegrity, &out.ImageIntegrity
+ *out = new(ManagedClusterSecurityProfileImageIntegrity)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeRestriction != nil {
+ in, out := &in.NodeRestriction, &out.NodeRestriction
+ *out = new(ManagedClusterSecurityProfileNodeRestriction)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadIdentity != nil {
+ in, out := &in.WorkloadIdentity, &out.WorkloadIdentity
+ *out = new(ManagedClusterSecurityProfileWorkloadIdentity)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfile.
+func (in *ManagedClusterSecurityProfile) DeepCopy() *ManagedClusterSecurityProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in ManagedClusterSecurityProfileCustomCATrustCertificates) DeepCopyInto(out *ManagedClusterSecurityProfileCustomCATrustCertificates) {
+ {
+ in := &in
+ *out = make(ManagedClusterSecurityProfileCustomCATrustCertificates, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileCustomCATrustCertificates.
+func (in ManagedClusterSecurityProfileCustomCATrustCertificates) DeepCopy() ManagedClusterSecurityProfileCustomCATrustCertificates {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileCustomCATrustCertificates)
+ in.DeepCopyInto(out)
+ return *out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefender) DeepCopyInto(out *ManagedClusterSecurityProfileDefender) {
+ *out = *in
+ if in.LogAnalyticsWorkspaceResourceReference != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceReference, &out.LogAnalyticsWorkspaceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.SecurityMonitoring != nil {
+ in, out := &in.SecurityMonitoring, &out.SecurityMonitoring
+ *out = new(ManagedClusterSecurityProfileDefenderSecurityMonitoring)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefender.
+func (in *ManagedClusterSecurityProfileDefender) DeepCopy() *ManagedClusterSecurityProfileDefender {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefender)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring) DeepCopyInto(out *ManagedClusterSecurityProfileDefenderSecurityMonitoring) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefenderSecurityMonitoring.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring) DeepCopy() *ManagedClusterSecurityProfileDefenderSecurityMonitoring {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefenderSecurityMonitoring)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM) DeepCopy() *ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS) DeepCopy() *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM.
+func (in *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefender_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileDefender_ARM) {
+ *out = *in
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityMonitoring != nil {
+ in, out := &in.SecurityMonitoring, &out.SecurityMonitoring
+ *out = new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefender_ARM.
+func (in *ManagedClusterSecurityProfileDefender_ARM) DeepCopy() *ManagedClusterSecurityProfileDefender_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefender_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefender_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileDefender_STATUS) {
+ *out = *in
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityMonitoring != nil {
+ in, out := &in.SecurityMonitoring, &out.SecurityMonitoring
+ *out = new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefender_STATUS.
+func (in *ManagedClusterSecurityProfileDefender_STATUS) DeepCopy() *ManagedClusterSecurityProfileDefender_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefender_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileDefender_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileDefender_STATUS_ARM) {
+ *out = *in
+ if in.LogAnalyticsWorkspaceResourceId != nil {
+ in, out := &in.LogAnalyticsWorkspaceResourceId, &out.LogAnalyticsWorkspaceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SecurityMonitoring != nil {
+ in, out := &in.SecurityMonitoring, &out.SecurityMonitoring
+ *out = new(ManagedClusterSecurityProfileDefenderSecurityMonitoring_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileDefender_STATUS_ARM.
+func (in *ManagedClusterSecurityProfileDefender_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfileDefender_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileDefender_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageCleaner) DeepCopyInto(out *ManagedClusterSecurityProfileImageCleaner) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntervalHours != nil {
+ in, out := &in.IntervalHours, &out.IntervalHours
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageCleaner.
+func (in *ManagedClusterSecurityProfileImageCleaner) DeepCopy() *ManagedClusterSecurityProfileImageCleaner {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageCleaner)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageCleaner_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileImageCleaner_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntervalHours != nil {
+ in, out := &in.IntervalHours, &out.IntervalHours
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageCleaner_ARM.
+func (in *ManagedClusterSecurityProfileImageCleaner_ARM) DeepCopy() *ManagedClusterSecurityProfileImageCleaner_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageCleaner_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageCleaner_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileImageCleaner_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntervalHours != nil {
+ in, out := &in.IntervalHours, &out.IntervalHours
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageCleaner_STATUS.
+func (in *ManagedClusterSecurityProfileImageCleaner_STATUS) DeepCopy() *ManagedClusterSecurityProfileImageCleaner_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageCleaner_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageCleaner_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileImageCleaner_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntervalHours != nil {
+ in, out := &in.IntervalHours, &out.IntervalHours
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageCleaner_STATUS_ARM.
+func (in *ManagedClusterSecurityProfileImageCleaner_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfileImageCleaner_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageCleaner_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageIntegrity) DeepCopyInto(out *ManagedClusterSecurityProfileImageIntegrity) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageIntegrity.
+func (in *ManagedClusterSecurityProfileImageIntegrity) DeepCopy() *ManagedClusterSecurityProfileImageIntegrity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageIntegrity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageIntegrity_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileImageIntegrity_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageIntegrity_ARM.
+func (in *ManagedClusterSecurityProfileImageIntegrity_ARM) DeepCopy() *ManagedClusterSecurityProfileImageIntegrity_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageIntegrity_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageIntegrity_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileImageIntegrity_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageIntegrity_STATUS.
+func (in *ManagedClusterSecurityProfileImageIntegrity_STATUS) DeepCopy() *ManagedClusterSecurityProfileImageIntegrity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageIntegrity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM.
+func (in *ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileNodeRestriction) DeepCopyInto(out *ManagedClusterSecurityProfileNodeRestriction) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileNodeRestriction.
+func (in *ManagedClusterSecurityProfileNodeRestriction) DeepCopy() *ManagedClusterSecurityProfileNodeRestriction {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileNodeRestriction)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileNodeRestriction_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileNodeRestriction_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileNodeRestriction_ARM.
+func (in *ManagedClusterSecurityProfileNodeRestriction_ARM) DeepCopy() *ManagedClusterSecurityProfileNodeRestriction_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileNodeRestriction_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileNodeRestriction_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileNodeRestriction_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileNodeRestriction_STATUS.
+func (in *ManagedClusterSecurityProfileNodeRestriction_STATUS) DeepCopy() *ManagedClusterSecurityProfileNodeRestriction_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileNodeRestriction_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM.
+func (in *ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity) DeepCopyInto(out *ManagedClusterSecurityProfileWorkloadIdentity) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileWorkloadIdentity.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity) DeepCopy() *ManagedClusterSecurityProfileWorkloadIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileWorkloadIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileWorkloadIdentity_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileWorkloadIdentity_ARM.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_ARM) DeepCopy() *ManagedClusterSecurityProfileWorkloadIdentity_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileWorkloadIdentity_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileWorkloadIdentity_STATUS.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_STATUS) DeepCopy() *ManagedClusterSecurityProfileWorkloadIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileWorkloadIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM.
+func (in *ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfile_ARM) DeepCopyInto(out *ManagedClusterSecurityProfile_ARM) {
+ *out = *in
+ if in.AzureKeyVaultKms != nil {
+ in, out := &in.AzureKeyVaultKms, &out.AzureKeyVaultKms
+ *out = new(AzureKeyVaultKms_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CustomCATrustCertificates != nil {
+ in, out := &in.CustomCATrustCertificates, &out.CustomCATrustCertificates
+ *out = make(ManagedClusterSecurityProfileCustomCATrustCertificates, len(*in))
+ copy(*out, *in)
+ }
+ if in.Defender != nil {
+ in, out := &in.Defender, &out.Defender
+ *out = new(ManagedClusterSecurityProfileDefender_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageCleaner != nil {
+ in, out := &in.ImageCleaner, &out.ImageCleaner
+ *out = new(ManagedClusterSecurityProfileImageCleaner_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageIntegrity != nil {
+ in, out := &in.ImageIntegrity, &out.ImageIntegrity
+ *out = new(ManagedClusterSecurityProfileImageIntegrity_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeRestriction != nil {
+ in, out := &in.NodeRestriction, &out.NodeRestriction
+ *out = new(ManagedClusterSecurityProfileNodeRestriction_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadIdentity != nil {
+ in, out := &in.WorkloadIdentity, &out.WorkloadIdentity
+ *out = new(ManagedClusterSecurityProfileWorkloadIdentity_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfile_ARM.
+func (in *ManagedClusterSecurityProfile_ARM) DeepCopy() *ManagedClusterSecurityProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfile_STATUS) DeepCopyInto(out *ManagedClusterSecurityProfile_STATUS) {
+ *out = *in
+ if in.AzureKeyVaultKms != nil {
+ in, out := &in.AzureKeyVaultKms, &out.AzureKeyVaultKms
+ *out = new(AzureKeyVaultKms_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CustomCATrustCertificates != nil {
+ in, out := &in.CustomCATrustCertificates, &out.CustomCATrustCertificates
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Defender != nil {
+ in, out := &in.Defender, &out.Defender
+ *out = new(ManagedClusterSecurityProfileDefender_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageCleaner != nil {
+ in, out := &in.ImageCleaner, &out.ImageCleaner
+ *out = new(ManagedClusterSecurityProfileImageCleaner_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageIntegrity != nil {
+ in, out := &in.ImageIntegrity, &out.ImageIntegrity
+ *out = new(ManagedClusterSecurityProfileImageIntegrity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeRestriction != nil {
+ in, out := &in.NodeRestriction, &out.NodeRestriction
+ *out = new(ManagedClusterSecurityProfileNodeRestriction_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadIdentity != nil {
+ in, out := &in.WorkloadIdentity, &out.WorkloadIdentity
+ *out = new(ManagedClusterSecurityProfileWorkloadIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfile_STATUS.
+func (in *ManagedClusterSecurityProfile_STATUS) DeepCopy() *ManagedClusterSecurityProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterSecurityProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterSecurityProfile_STATUS_ARM) {
+ *out = *in
+ if in.AzureKeyVaultKms != nil {
+ in, out := &in.AzureKeyVaultKms, &out.AzureKeyVaultKms
+ *out = new(AzureKeyVaultKms_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CustomCATrustCertificates != nil {
+ in, out := &in.CustomCATrustCertificates, &out.CustomCATrustCertificates
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Defender != nil {
+ in, out := &in.Defender, &out.Defender
+ *out = new(ManagedClusterSecurityProfileDefender_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageCleaner != nil {
+ in, out := &in.ImageCleaner, &out.ImageCleaner
+ *out = new(ManagedClusterSecurityProfileImageCleaner_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ImageIntegrity != nil {
+ in, out := &in.ImageIntegrity, &out.ImageIntegrity
+ *out = new(ManagedClusterSecurityProfileImageIntegrity_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeRestriction != nil {
+ in, out := &in.NodeRestriction, &out.NodeRestriction
+ *out = new(ManagedClusterSecurityProfileNodeRestriction_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadIdentity != nil {
+ in, out := &in.WorkloadIdentity, &out.WorkloadIdentity
+ *out = new(ManagedClusterSecurityProfileWorkloadIdentity_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterSecurityProfile_STATUS_ARM.
+func (in *ManagedClusterSecurityProfile_STATUS_ARM) DeepCopy() *ManagedClusterSecurityProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterSecurityProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterServicePrincipalProfile) DeepCopyInto(out *ManagedClusterServicePrincipalProfile) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Secret != nil {
+ in, out := &in.Secret, &out.Secret
+ *out = new(genruntime.SecretReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServicePrincipalProfile.
+func (in *ManagedClusterServicePrincipalProfile) DeepCopy() *ManagedClusterServicePrincipalProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterServicePrincipalProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterServicePrincipalProfile_ARM) DeepCopyInto(out *ManagedClusterServicePrincipalProfile_ARM) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Secret != nil {
+ in, out := &in.Secret, &out.Secret
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServicePrincipalProfile_ARM.
+func (in *ManagedClusterServicePrincipalProfile_ARM) DeepCopy() *ManagedClusterServicePrincipalProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterServicePrincipalProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterServicePrincipalProfile_STATUS) DeepCopyInto(out *ManagedClusterServicePrincipalProfile_STATUS) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServicePrincipalProfile_STATUS.
+func (in *ManagedClusterServicePrincipalProfile_STATUS) DeepCopy() *ManagedClusterServicePrincipalProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterServicePrincipalProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterServicePrincipalProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterServicePrincipalProfile_STATUS_ARM) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterServicePrincipalProfile_STATUS_ARM.
+func (in *ManagedClusterServicePrincipalProfile_STATUS_ARM) DeepCopy() *ManagedClusterServicePrincipalProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterServicePrincipalProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStaticEgressGatewayProfile) DeepCopyInto(out *ManagedClusterStaticEgressGatewayProfile) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStaticEgressGatewayProfile.
+func (in *ManagedClusterStaticEgressGatewayProfile) DeepCopy() *ManagedClusterStaticEgressGatewayProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStaticEgressGatewayProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStaticEgressGatewayProfile_ARM) DeepCopyInto(out *ManagedClusterStaticEgressGatewayProfile_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStaticEgressGatewayProfile_ARM.
+func (in *ManagedClusterStaticEgressGatewayProfile_ARM) DeepCopy() *ManagedClusterStaticEgressGatewayProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStaticEgressGatewayProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStaticEgressGatewayProfile_STATUS) DeepCopyInto(out *ManagedClusterStaticEgressGatewayProfile_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStaticEgressGatewayProfile_STATUS.
+func (in *ManagedClusterStaticEgressGatewayProfile_STATUS) DeepCopy() *ManagedClusterStaticEgressGatewayProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStaticEgressGatewayProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStaticEgressGatewayProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterStaticEgressGatewayProfile_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStaticEgressGatewayProfile_STATUS_ARM.
+func (in *ManagedClusterStaticEgressGatewayProfile_STATUS_ARM) DeepCopy() *ManagedClusterStaticEgressGatewayProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStaticEgressGatewayProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfile) DeepCopyInto(out *ManagedClusterStorageProfile) {
+ *out = *in
+ if in.BlobCSIDriver != nil {
+ in, out := &in.BlobCSIDriver, &out.BlobCSIDriver
+ *out = new(ManagedClusterStorageProfileBlobCSIDriver)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DiskCSIDriver != nil {
+ in, out := &in.DiskCSIDriver, &out.DiskCSIDriver
+ *out = new(ManagedClusterStorageProfileDiskCSIDriver)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FileCSIDriver != nil {
+ in, out := &in.FileCSIDriver, &out.FileCSIDriver
+ *out = new(ManagedClusterStorageProfileFileCSIDriver)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SnapshotController != nil {
+ in, out := &in.SnapshotController, &out.SnapshotController
+ *out = new(ManagedClusterStorageProfileSnapshotController)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfile.
+func (in *ManagedClusterStorageProfile) DeepCopy() *ManagedClusterStorageProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileBlobCSIDriver) DeepCopyInto(out *ManagedClusterStorageProfileBlobCSIDriver) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileBlobCSIDriver.
+func (in *ManagedClusterStorageProfileBlobCSIDriver) DeepCopy() *ManagedClusterStorageProfileBlobCSIDriver {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileBlobCSIDriver)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_ARM) DeepCopyInto(out *ManagedClusterStorageProfileBlobCSIDriver_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileBlobCSIDriver_ARM.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_ARM) DeepCopy() *ManagedClusterStorageProfileBlobCSIDriver_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileBlobCSIDriver_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileBlobCSIDriver_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileBlobCSIDriver_STATUS.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_STATUS) DeepCopy() *ManagedClusterStorageProfileBlobCSIDriver_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileBlobCSIDriver_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM) DeepCopyInto(out *ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM.
+func (in *ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM) DeepCopy() *ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileDiskCSIDriver) DeepCopyInto(out *ManagedClusterStorageProfileDiskCSIDriver) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileDiskCSIDriver.
+func (in *ManagedClusterStorageProfileDiskCSIDriver) DeepCopy() *ManagedClusterStorageProfileDiskCSIDriver {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileDiskCSIDriver)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_ARM) DeepCopyInto(out *ManagedClusterStorageProfileDiskCSIDriver_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileDiskCSIDriver_ARM.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_ARM) DeepCopy() *ManagedClusterStorageProfileDiskCSIDriver_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileDiskCSIDriver_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileDiskCSIDriver_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileDiskCSIDriver_STATUS.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_STATUS) DeepCopy() *ManagedClusterStorageProfileDiskCSIDriver_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileDiskCSIDriver_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM) DeepCopyInto(out *ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM.
+func (in *ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM) DeepCopy() *ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileFileCSIDriver) DeepCopyInto(out *ManagedClusterStorageProfileFileCSIDriver) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileFileCSIDriver.
+func (in *ManagedClusterStorageProfileFileCSIDriver) DeepCopy() *ManagedClusterStorageProfileFileCSIDriver {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileFileCSIDriver)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileFileCSIDriver_ARM) DeepCopyInto(out *ManagedClusterStorageProfileFileCSIDriver_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileFileCSIDriver_ARM.
+func (in *ManagedClusterStorageProfileFileCSIDriver_ARM) DeepCopy() *ManagedClusterStorageProfileFileCSIDriver_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileFileCSIDriver_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileFileCSIDriver_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileFileCSIDriver_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileFileCSIDriver_STATUS.
+func (in *ManagedClusterStorageProfileFileCSIDriver_STATUS) DeepCopy() *ManagedClusterStorageProfileFileCSIDriver_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileFileCSIDriver_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM) DeepCopyInto(out *ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM.
+func (in *ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM) DeepCopy() *ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileSnapshotController) DeepCopyInto(out *ManagedClusterStorageProfileSnapshotController) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileSnapshotController.
+func (in *ManagedClusterStorageProfileSnapshotController) DeepCopy() *ManagedClusterStorageProfileSnapshotController {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileSnapshotController)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileSnapshotController_ARM) DeepCopyInto(out *ManagedClusterStorageProfileSnapshotController_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileSnapshotController_ARM.
+func (in *ManagedClusterStorageProfileSnapshotController_ARM) DeepCopy() *ManagedClusterStorageProfileSnapshotController_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileSnapshotController_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileSnapshotController_STATUS) DeepCopyInto(out *ManagedClusterStorageProfileSnapshotController_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileSnapshotController_STATUS.
+func (in *ManagedClusterStorageProfileSnapshotController_STATUS) DeepCopy() *ManagedClusterStorageProfileSnapshotController_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileSnapshotController_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfileSnapshotController_STATUS_ARM) DeepCopyInto(out *ManagedClusterStorageProfileSnapshotController_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfileSnapshotController_STATUS_ARM.
+func (in *ManagedClusterStorageProfileSnapshotController_STATUS_ARM) DeepCopy() *ManagedClusterStorageProfileSnapshotController_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfileSnapshotController_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfile_ARM) DeepCopyInto(out *ManagedClusterStorageProfile_ARM) {
+ *out = *in
+ if in.BlobCSIDriver != nil {
+ in, out := &in.BlobCSIDriver, &out.BlobCSIDriver
+ *out = new(ManagedClusterStorageProfileBlobCSIDriver_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DiskCSIDriver != nil {
+ in, out := &in.DiskCSIDriver, &out.DiskCSIDriver
+ *out = new(ManagedClusterStorageProfileDiskCSIDriver_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FileCSIDriver != nil {
+ in, out := &in.FileCSIDriver, &out.FileCSIDriver
+ *out = new(ManagedClusterStorageProfileFileCSIDriver_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SnapshotController != nil {
+ in, out := &in.SnapshotController, &out.SnapshotController
+ *out = new(ManagedClusterStorageProfileSnapshotController_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfile_ARM.
+func (in *ManagedClusterStorageProfile_ARM) DeepCopy() *ManagedClusterStorageProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfile_STATUS) DeepCopyInto(out *ManagedClusterStorageProfile_STATUS) {
+ *out = *in
+ if in.BlobCSIDriver != nil {
+ in, out := &in.BlobCSIDriver, &out.BlobCSIDriver
+ *out = new(ManagedClusterStorageProfileBlobCSIDriver_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DiskCSIDriver != nil {
+ in, out := &in.DiskCSIDriver, &out.DiskCSIDriver
+ *out = new(ManagedClusterStorageProfileDiskCSIDriver_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FileCSIDriver != nil {
+ in, out := &in.FileCSIDriver, &out.FileCSIDriver
+ *out = new(ManagedClusterStorageProfileFileCSIDriver_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SnapshotController != nil {
+ in, out := &in.SnapshotController, &out.SnapshotController
+ *out = new(ManagedClusterStorageProfileSnapshotController_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfile_STATUS.
+func (in *ManagedClusterStorageProfile_STATUS) DeepCopy() *ManagedClusterStorageProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterStorageProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterStorageProfile_STATUS_ARM) {
+ *out = *in
+ if in.BlobCSIDriver != nil {
+ in, out := &in.BlobCSIDriver, &out.BlobCSIDriver
+ *out = new(ManagedClusterStorageProfileBlobCSIDriver_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DiskCSIDriver != nil {
+ in, out := &in.DiskCSIDriver, &out.DiskCSIDriver
+ *out = new(ManagedClusterStorageProfileDiskCSIDriver_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FileCSIDriver != nil {
+ in, out := &in.FileCSIDriver, &out.FileCSIDriver
+ *out = new(ManagedClusterStorageProfileFileCSIDriver_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SnapshotController != nil {
+ in, out := &in.SnapshotController, &out.SnapshotController
+ *out = new(ManagedClusterStorageProfileSnapshotController_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterStorageProfile_STATUS_ARM.
+func (in *ManagedClusterStorageProfile_STATUS_ARM) DeepCopy() *ManagedClusterStorageProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterStorageProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWindowsProfile) DeepCopyInto(out *ManagedClusterWindowsProfile) {
+ *out = *in
+ if in.AdminPassword != nil {
+ in, out := &in.AdminPassword, &out.AdminPassword
+ *out = new(genruntime.SecretReference)
+ **out = **in
+ }
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableCSIProxy != nil {
+ in, out := &in.EnableCSIProxy, &out.EnableCSIProxy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GmsaProfile != nil {
+ in, out := &in.GmsaProfile, &out.GmsaProfile
+ *out = new(WindowsGmsaProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LicenseType != nil {
+ in, out := &in.LicenseType, &out.LicenseType
+ *out = new(ManagedClusterWindowsProfile_LicenseType)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWindowsProfile.
+func (in *ManagedClusterWindowsProfile) DeepCopy() *ManagedClusterWindowsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWindowsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWindowsProfile_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_ARM) {
+ *out = *in
+ if in.AdminPassword != nil {
+ in, out := &in.AdminPassword, &out.AdminPassword
+ *out = new(string)
+ **out = **in
+ }
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableCSIProxy != nil {
+ in, out := &in.EnableCSIProxy, &out.EnableCSIProxy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GmsaProfile != nil {
+ in, out := &in.GmsaProfile, &out.GmsaProfile
+ *out = new(WindowsGmsaProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LicenseType != nil {
+ in, out := &in.LicenseType, &out.LicenseType
+ *out = new(ManagedClusterWindowsProfile_LicenseType)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWindowsProfile_ARM.
+func (in *ManagedClusterWindowsProfile_ARM) DeepCopy() *ManagedClusterWindowsProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWindowsProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWindowsProfile_STATUS) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableCSIProxy != nil {
+ in, out := &in.EnableCSIProxy, &out.EnableCSIProxy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GmsaProfile != nil {
+ in, out := &in.GmsaProfile, &out.GmsaProfile
+ *out = new(WindowsGmsaProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LicenseType != nil {
+ in, out := &in.LicenseType, &out.LicenseType
+ *out = new(ManagedClusterWindowsProfile_LicenseType_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWindowsProfile_STATUS.
+func (in *ManagedClusterWindowsProfile_STATUS) DeepCopy() *ManagedClusterWindowsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWindowsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWindowsProfile_STATUS_ARM) {
+ *out = *in
+ if in.AdminUsername != nil {
+ in, out := &in.AdminUsername, &out.AdminUsername
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableCSIProxy != nil {
+ in, out := &in.EnableCSIProxy, &out.EnableCSIProxy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GmsaProfile != nil {
+ in, out := &in.GmsaProfile, &out.GmsaProfile
+ *out = new(WindowsGmsaProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.LicenseType != nil {
+ in, out := &in.LicenseType, &out.LicenseType
+ *out = new(ManagedClusterWindowsProfile_LicenseType_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWindowsProfile_STATUS_ARM.
+func (in *ManagedClusterWindowsProfile_STATUS_ARM) DeepCopy() *ManagedClusterWindowsProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWindowsProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfile) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfile) {
+ *out = *in
+ if in.Keda != nil {
+ in, out := &in.Keda, &out.Keda
+ *out = new(ManagedClusterWorkloadAutoScalerProfileKeda)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VerticalPodAutoscaler != nil {
+ in, out := &in.VerticalPodAutoscaler, &out.VerticalPodAutoscaler
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfile.
+func (in *ManagedClusterWorkloadAutoScalerProfile) DeepCopy() *ManagedClusterWorkloadAutoScalerProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileKeda) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileKeda.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileKeda {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileKeda)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_ARM) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileKeda_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileKeda_ARM.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_ARM) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileKeda_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileKeda_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileKeda_STATUS.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM) {
+ *out = *in
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM.
+func (in *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) {
+ *out = *in
+ if in.AddonAutoscaling != nil {
+ in, out := &in.AddonAutoscaling, &out.AddonAutoscaling
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM) {
+ *out = *in
+ if in.AddonAutoscaling != nil {
+ in, out := &in.AddonAutoscaling, &out.AddonAutoscaling
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) {
+ *out = *in
+ if in.AddonAutoscaling != nil {
+ in, out := &in.AddonAutoscaling, &out.AddonAutoscaling
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM) {
+ *out = *in
+ if in.AddonAutoscaling != nil {
+ in, out := &in.AddonAutoscaling, &out.AddonAutoscaling
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_AddonAutoscaling_STATUS)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM.
+func (in *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM) DeepCopy() *ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfile_ARM) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfile_ARM) {
+ *out = *in
+ if in.Keda != nil {
+ in, out := &in.Keda, &out.Keda
+ *out = new(ManagedClusterWorkloadAutoScalerProfileKeda_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VerticalPodAutoscaler != nil {
+ in, out := &in.VerticalPodAutoscaler, &out.VerticalPodAutoscaler
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfile_ARM.
+func (in *ManagedClusterWorkloadAutoScalerProfile_ARM) DeepCopy() *ManagedClusterWorkloadAutoScalerProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfile_STATUS) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfile_STATUS) {
+ *out = *in
+ if in.Keda != nil {
+ in, out := &in.Keda, &out.Keda
+ *out = new(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VerticalPodAutoscaler != nil {
+ in, out := &in.VerticalPodAutoscaler, &out.VerticalPodAutoscaler
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfile_STATUS.
+func (in *ManagedClusterWorkloadAutoScalerProfile_STATUS) DeepCopy() *ManagedClusterWorkloadAutoScalerProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM) DeepCopyInto(out *ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM) {
+ *out = *in
+ if in.Keda != nil {
+ in, out := &in.Keda, &out.Keda
+ *out = new(ManagedClusterWorkloadAutoScalerProfileKeda_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VerticalPodAutoscaler != nil {
+ in, out := &in.VerticalPodAutoscaler, &out.VerticalPodAutoscaler
+ *out = new(ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM.
+func (in *ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM) DeepCopy() *ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusterWorkloadAutoScalerProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster_STATUS) DeepCopyInto(out *ManagedCluster_STATUS) {
+ *out = *in
+ if in.AadProfile != nil {
+ in, out := &in.AadProfile, &out.AadProfile
+ *out = new(ManagedClusterAADProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AddonProfiles != nil {
+ in, out := &in.AddonProfiles, &out.AddonProfiles
+ *out = make(map[string]ManagedClusterAddonProfile_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.AgentPoolProfiles != nil {
+ in, out := &in.AgentPoolProfiles, &out.AgentPoolProfiles
+ *out = make([]ManagedClusterAgentPoolProfile_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.AiToolchainOperatorProfile != nil {
+ in, out := &in.AiToolchainOperatorProfile, &out.AiToolchainOperatorProfile
+ *out = new(ManagedClusterAIToolchainOperatorProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ApiServerAccessProfile != nil {
+ in, out := &in.ApiServerAccessProfile, &out.ApiServerAccessProfile
+ *out = new(ManagedClusterAPIServerAccessProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoScalerProfile != nil {
+ in, out := &in.AutoScalerProfile, &out.AutoScalerProfile
+ *out = new(ManagedClusterProperties_AutoScalerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoUpgradeProfile != nil {
+ in, out := &in.AutoUpgradeProfile, &out.AutoUpgradeProfile
+ *out = new(ManagedClusterAutoUpgradeProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzureMonitorProfile != nil {
+ in, out := &in.AzureMonitorProfile, &out.AzureMonitorProfile
+ *out = new(ManagedClusterAzureMonitorProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzurePortalFQDN != nil {
+ in, out := &in.AzurePortalFQDN, &out.AzurePortalFQDN
+ *out = new(string)
+ **out = **in
+ }
+ if in.BootstrapProfile != nil {
+ in, out := &in.BootstrapProfile, &out.BootstrapProfile
+ *out = new(ManagedClusterBootstrapProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentKubernetesVersion != nil {
+ in, out := &in.CurrentKubernetesVersion, &out.CurrentKubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.DisableLocalAccounts != nil {
+ in, out := &in.DisableLocalAccounts, &out.DisableLocalAccounts
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DiskEncryptionSetID != nil {
+ in, out := &in.DiskEncryptionSetID, &out.DiskEncryptionSetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.DnsPrefix != nil {
+ in, out := &in.DnsPrefix, &out.DnsPrefix
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableNamespaceResources != nil {
+ in, out := &in.EnableNamespaceResources, &out.EnableNamespaceResources
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePodSecurityPolicy != nil {
+ in, out := &in.EnablePodSecurityPolicy, &out.EnablePodSecurityPolicy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableRBAC != nil {
+ in, out := &in.EnableRBAC, &out.EnableRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ExtendedLocation != nil {
+ in, out := &in.ExtendedLocation, &out.ExtendedLocation
+ *out = new(ExtendedLocation_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Fqdn != nil {
+ in, out := &in.Fqdn, &out.Fqdn
+ *out = new(string)
+ **out = **in
+ }
+ if in.FqdnSubdomain != nil {
+ in, out := &in.FqdnSubdomain, &out.FqdnSubdomain
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpProxyConfig != nil {
+ in, out := &in.HttpProxyConfig, &out.HttpProxyConfig
+ *out = new(ManagedClusterHTTPProxyConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(ManagedClusterIdentity_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.IdentityProfile != nil {
+ in, out := &in.IdentityProfile, &out.IdentityProfile
+ *out = make(map[string]UserAssignedIdentity_STATUS, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.IngressProfile != nil {
+ in, out := &in.IngressProfile, &out.IngressProfile
+ *out = new(ManagedClusterIngressProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Kind != nil {
+ in, out := &in.Kind, &out.Kind
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubernetesVersion != nil {
+ in, out := &in.KubernetesVersion, &out.KubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxProfile != nil {
+ in, out := &in.LinuxProfile, &out.LinuxProfile
+ *out = new(ContainerServiceLinuxProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.MaxAgentPools != nil {
+ in, out := &in.MaxAgentPools, &out.MaxAgentPools
+ *out = new(int)
+ **out = **in
+ }
+ if in.MetricsProfile != nil {
+ in, out := &in.MetricsProfile, &out.MetricsProfile
+ *out = new(ManagedClusterMetricsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(ContainerServiceNetworkProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeProvisioningProfile != nil {
+ in, out := &in.NodeProvisioningProfile, &out.NodeProvisioningProfile
+ *out = new(ManagedClusterNodeProvisioningProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeResourceGroup != nil {
+ in, out := &in.NodeResourceGroup, &out.NodeResourceGroup
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeResourceGroupProfile != nil {
+ in, out := &in.NodeResourceGroupProfile, &out.NodeResourceGroupProfile
+ *out = new(ManagedClusterNodeResourceGroupProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OidcIssuerProfile != nil {
+ in, out := &in.OidcIssuerProfile, &out.OidcIssuerProfile
+ *out = new(ManagedClusterOIDCIssuerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PodIdentityProfile != nil {
+ in, out := &in.PodIdentityProfile, &out.PodIdentityProfile
+ *out = new(ManagedClusterPodIdentityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PrivateFQDN != nil {
+ in, out := &in.PrivateFQDN, &out.PrivateFQDN
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrivateLinkResources != nil {
+ in, out := &in.PrivateLinkResources, &out.PrivateLinkResources
+ *out = make([]PrivateLinkResource_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.PublicNetworkAccess != nil {
+ in, out := &in.PublicNetworkAccess, &out.PublicNetworkAccess
+ *out = new(ManagedClusterProperties_PublicNetworkAccess_STATUS)
+ **out = **in
+ }
+ if in.ResourceUID != nil {
+ in, out := &in.ResourceUID, &out.ResourceUID
+ *out = new(string)
+ **out = **in
+ }
+ if in.SafeguardsProfile != nil {
+ in, out := &in.SafeguardsProfile, &out.SafeguardsProfile
+ *out = new(SafeguardsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(ManagedClusterSecurityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServiceMeshProfile != nil {
+ in, out := &in.ServiceMeshProfile, &out.ServiceMeshProfile
+ *out = new(ServiceMeshProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServicePrincipalProfile != nil {
+ in, out := &in.ServicePrincipalProfile, &out.ServicePrincipalProfile
+ *out = new(ManagedClusterServicePrincipalProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Sku != nil {
+ in, out := &in.Sku, &out.Sku
+ *out = new(ManagedClusterSKU_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StorageProfile != nil {
+ in, out := &in.StorageProfile, &out.StorageProfile
+ *out = new(ManagedClusterStorageProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SupportPlan != nil {
+ in, out := &in.SupportPlan, &out.SupportPlan
+ *out = new(KubernetesSupportPlan_STATUS)
+ **out = **in
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(ClusterUpgradeSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(ManagedClusterWindowsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadAutoScalerProfile != nil {
+ in, out := &in.WorkloadAutoScalerProfile, &out.WorkloadAutoScalerProfile
+ *out = new(ManagedClusterWorkloadAutoScalerProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster_STATUS.
+func (in *ManagedCluster_STATUS) DeepCopy() *ManagedCluster_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster_STATUS_ARM) DeepCopyInto(out *ManagedCluster_STATUS_ARM) {
+ *out = *in
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.ExtendedLocation != nil {
+ in, out := &in.ExtendedLocation, &out.ExtendedLocation
+ *out = new(ExtendedLocation_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(ManagedClusterIdentity_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Kind != nil {
+ in, out := &in.Kind, &out.Kind
+ *out = new(string)
+ **out = **in
+ }
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(ManagedClusterProperties_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Sku != nil {
+ in, out := &in.Sku, &out.Sku
+ *out = new(ManagedClusterSKU_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster_STATUS_ARM.
+func (in *ManagedCluster_STATUS_ARM) DeepCopy() *ManagedCluster_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster_Spec) DeepCopyInto(out *ManagedCluster_Spec) {
+ *out = *in
+ if in.AadProfile != nil {
+ in, out := &in.AadProfile, &out.AadProfile
+ *out = new(ManagedClusterAADProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AddonProfiles != nil {
+ in, out := &in.AddonProfiles, &out.AddonProfiles
+ *out = make(map[string]ManagedClusterAddonProfile, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.AgentPoolProfiles != nil {
+ in, out := &in.AgentPoolProfiles, &out.AgentPoolProfiles
+ *out = make([]ManagedClusterAgentPoolProfile, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.AiToolchainOperatorProfile != nil {
+ in, out := &in.AiToolchainOperatorProfile, &out.AiToolchainOperatorProfile
+ *out = new(ManagedClusterAIToolchainOperatorProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ApiServerAccessProfile != nil {
+ in, out := &in.ApiServerAccessProfile, &out.ApiServerAccessProfile
+ *out = new(ManagedClusterAPIServerAccessProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoScalerProfile != nil {
+ in, out := &in.AutoScalerProfile, &out.AutoScalerProfile
+ *out = new(ManagedClusterProperties_AutoScalerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AutoUpgradeProfile != nil {
+ in, out := &in.AutoUpgradeProfile, &out.AutoUpgradeProfile
+ *out = new(ManagedClusterAutoUpgradeProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AzureMonitorProfile != nil {
+ in, out := &in.AzureMonitorProfile, &out.AzureMonitorProfile
+ *out = new(ManagedClusterAzureMonitorProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.BootstrapProfile != nil {
+ in, out := &in.BootstrapProfile, &out.BootstrapProfile
+ *out = new(ManagedClusterBootstrapProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.DisableLocalAccounts != nil {
+ in, out := &in.DisableLocalAccounts, &out.DisableLocalAccounts
+ *out = new(bool)
+ **out = **in
+ }
+ if in.DiskEncryptionSetReference != nil {
+ in, out := &in.DiskEncryptionSetReference, &out.DiskEncryptionSetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.DnsPrefix != nil {
+ in, out := &in.DnsPrefix, &out.DnsPrefix
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableNamespaceResources != nil {
+ in, out := &in.EnableNamespaceResources, &out.EnableNamespaceResources
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnablePodSecurityPolicy != nil {
+ in, out := &in.EnablePodSecurityPolicy, &out.EnablePodSecurityPolicy
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableRBAC != nil {
+ in, out := &in.EnableRBAC, &out.EnableRBAC
+ *out = new(bool)
+ **out = **in
+ }
+ if in.ExtendedLocation != nil {
+ in, out := &in.ExtendedLocation, &out.ExtendedLocation
+ *out = new(ExtendedLocation)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.FqdnSubdomain != nil {
+ in, out := &in.FqdnSubdomain, &out.FqdnSubdomain
+ *out = new(string)
+ **out = **in
+ }
+ if in.HttpProxyConfig != nil {
+ in, out := &in.HttpProxyConfig, &out.HttpProxyConfig
+ *out = new(ManagedClusterHTTPProxyConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(ManagedClusterIdentity)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.IdentityProfile != nil {
+ in, out := &in.IdentityProfile, &out.IdentityProfile
+ *out = make(map[string]UserAssignedIdentity, len(*in))
+ for key, val := range *in {
+ (*out)[key] = *val.DeepCopy()
+ }
+ }
+ if in.IngressProfile != nil {
+ in, out := &in.IngressProfile, &out.IngressProfile
+ *out = new(ManagedClusterIngressProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Kind != nil {
+ in, out := &in.Kind, &out.Kind
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubernetesVersion != nil {
+ in, out := &in.KubernetesVersion, &out.KubernetesVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.LinuxProfile != nil {
+ in, out := &in.LinuxProfile, &out.LinuxProfile
+ *out = new(ContainerServiceLinuxProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.MetricsProfile != nil {
+ in, out := &in.MetricsProfile, &out.MetricsProfile
+ *out = new(ManagedClusterMetricsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(ContainerServiceNetworkProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeProvisioningProfile != nil {
+ in, out := &in.NodeProvisioningProfile, &out.NodeProvisioningProfile
+ *out = new(ManagedClusterNodeProvisioningProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeResourceGroup != nil {
+ in, out := &in.NodeResourceGroup, &out.NodeResourceGroup
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeResourceGroupProfile != nil {
+ in, out := &in.NodeResourceGroupProfile, &out.NodeResourceGroupProfile
+ *out = new(ManagedClusterNodeResourceGroupProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OidcIssuerProfile != nil {
+ in, out := &in.OidcIssuerProfile, &out.OidcIssuerProfile
+ *out = new(ManagedClusterOIDCIssuerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.OperatorSpec != nil {
+ in, out := &in.OperatorSpec, &out.OperatorSpec
+ *out = new(ManagedClusterOperatorSpec)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.PodIdentityProfile != nil {
+ in, out := &in.PodIdentityProfile, &out.PodIdentityProfile
+ *out = new(ManagedClusterPodIdentityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PrivateLinkResources != nil {
+ in, out := &in.PrivateLinkResources, &out.PrivateLinkResources
+ *out = make([]PrivateLinkResource, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.PublicNetworkAccess != nil {
+ in, out := &in.PublicNetworkAccess, &out.PublicNetworkAccess
+ *out = new(ManagedClusterProperties_PublicNetworkAccess)
+ **out = **in
+ }
+ if in.SafeguardsProfile != nil {
+ in, out := &in.SafeguardsProfile, &out.SafeguardsProfile
+ *out = new(SafeguardsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(ManagedClusterSecurityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServiceMeshProfile != nil {
+ in, out := &in.ServiceMeshProfile, &out.ServiceMeshProfile
+ *out = new(ServiceMeshProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ServicePrincipalProfile != nil {
+ in, out := &in.ServicePrincipalProfile, &out.ServicePrincipalProfile
+ *out = new(ManagedClusterServicePrincipalProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Sku != nil {
+ in, out := &in.Sku, &out.Sku
+ *out = new(ManagedClusterSKU)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StorageProfile != nil {
+ in, out := &in.StorageProfile, &out.StorageProfile
+ *out = new(ManagedClusterStorageProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SupportPlan != nil {
+ in, out := &in.SupportPlan, &out.SupportPlan
+ *out = new(KubernetesSupportPlan)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(ClusterUpgradeSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(ManagedClusterWindowsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadAutoScalerProfile != nil {
+ in, out := &in.WorkloadAutoScalerProfile, &out.WorkloadAutoScalerProfile
+ *out = new(ManagedClusterWorkloadAutoScalerProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster_Spec.
+func (in *ManagedCluster_Spec) DeepCopy() *ManagedCluster_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedCluster_Spec_ARM) DeepCopyInto(out *ManagedCluster_Spec_ARM) {
+ *out = *in
+ if in.ExtendedLocation != nil {
+ in, out := &in.ExtendedLocation, &out.ExtendedLocation
+ *out = new(ExtendedLocation_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(ManagedClusterIdentity_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Kind != nil {
+ in, out := &in.Kind, &out.Kind
+ *out = new(string)
+ **out = **in
+ }
+ if in.Location != nil {
+ in, out := &in.Location, &out.Location
+ *out = new(string)
+ **out = **in
+ }
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(ManagedClusterProperties_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Sku != nil {
+ in, out := &in.Sku, &out.Sku
+ *out = new(ManagedClusterSKU_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedCluster_Spec_ARM.
+func (in *ManagedCluster_Spec_ARM) DeepCopy() *ManagedCluster_Spec_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedCluster_Spec_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClustersAgentPool) DeepCopyInto(out *ManagedClustersAgentPool) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClustersAgentPool.
+func (in *ManagedClustersAgentPool) DeepCopy() *ManagedClustersAgentPool {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClustersAgentPool)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedClustersAgentPool) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClustersAgentPoolList) DeepCopyInto(out *ManagedClustersAgentPoolList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ManagedClustersAgentPool, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClustersAgentPoolList.
+func (in *ManagedClustersAgentPoolList) DeepCopy() *ManagedClustersAgentPoolList {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClustersAgentPoolList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ManagedClustersAgentPoolList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_AgentPool_STATUS) DeepCopyInto(out *ManagedClusters_AgentPool_STATUS) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupID != nil {
+ in, out := &in.CapacityReservationGroupID, &out.CapacityReservationGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.CurrentOrchestratorVersion != nil {
+ in, out := &in.CurrentOrchestratorVersion, &out.CurrentOrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.ETag != nil {
+ in, out := &in.ETag, &out.ETag
+ *out = new(string)
+ **out = **in
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile_STATUS)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupID != nil {
+ in, out := &in.HostGroupID, &out.HostGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType_STATUS)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode_STATUS)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeImageVersion != nil {
+ in, out := &in.NodeImageVersion, &out.NodeImageVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixID != nil {
+ in, out := &in.NodePublicIPPrefixID, &out.NodePublicIPPrefixID
+ *out = new(string)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(int)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType_STATUS)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU_STATUS)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType_STATUS)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode_STATUS)
+ **out = **in
+ }
+ if in.PodSubnetID != nil {
+ in, out := &in.PodSubnetID, &out.PodSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertiesType != nil {
+ in, out := &in.PropertiesType, &out.PropertiesType
+ *out = new(AgentPoolType_STATUS)
+ **out = **in
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProximityPlacementGroupID != nil {
+ in, out := &in.ProximityPlacementGroupID, &out.ProximityPlacementGroupID
+ *out = new(string)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy_STATUS)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority_STATUS)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetID != nil {
+ in, out := &in.VnetSubnetID, &out.VnetSubnetID
+ *out = new(string)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_AgentPool_STATUS.
+func (in *ManagedClusters_AgentPool_STATUS) DeepCopy() *ManagedClusters_AgentPool_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_AgentPool_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_AgentPool_STATUS_ARM) DeepCopyInto(out *ManagedClusters_AgentPool_STATUS_ARM) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(ManagedClusterAgentPoolProfileProperties_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_AgentPool_STATUS_ARM.
+func (in *ManagedClusters_AgentPool_STATUS_ARM) DeepCopy() *ManagedClusters_AgentPool_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_AgentPool_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_AgentPool_Spec) DeepCopyInto(out *ManagedClusters_AgentPool_Spec) {
+ *out = *in
+ if in.ArtifactStreamingProfile != nil {
+ in, out := &in.ArtifactStreamingProfile, &out.ArtifactStreamingProfile
+ *out = new(AgentPoolArtifactStreamingProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AvailabilityZones != nil {
+ in, out := &in.AvailabilityZones, &out.AvailabilityZones
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.CapacityReservationGroupReference != nil {
+ in, out := &in.CapacityReservationGroupReference, &out.CapacityReservationGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.CreationData != nil {
+ in, out := &in.CreationData, &out.CreationData
+ *out = new(CreationData)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.EnableAutoScaling != nil {
+ in, out := &in.EnableAutoScaling, &out.EnableAutoScaling
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableCustomCATrust != nil {
+ in, out := &in.EnableCustomCATrust, &out.EnableCustomCATrust
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableEncryptionAtHost != nil {
+ in, out := &in.EnableEncryptionAtHost, &out.EnableEncryptionAtHost
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableFIPS != nil {
+ in, out := &in.EnableFIPS, &out.EnableFIPS
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableNodePublicIP != nil {
+ in, out := &in.EnableNodePublicIP, &out.EnableNodePublicIP
+ *out = new(bool)
+ **out = **in
+ }
+ if in.EnableUltraSSD != nil {
+ in, out := &in.EnableUltraSSD, &out.EnableUltraSSD
+ *out = new(bool)
+ **out = **in
+ }
+ if in.GatewayProfile != nil {
+ in, out := &in.GatewayProfile, &out.GatewayProfile
+ *out = new(AgentPoolGatewayProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.GpuInstanceProfile != nil {
+ in, out := &in.GpuInstanceProfile, &out.GpuInstanceProfile
+ *out = new(GPUInstanceProfile)
+ **out = **in
+ }
+ if in.GpuProfile != nil {
+ in, out := &in.GpuProfile, &out.GpuProfile
+ *out = new(AgentPoolGPUProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.HostGroupReference != nil {
+ in, out := &in.HostGroupReference, &out.HostGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.KubeletConfig != nil {
+ in, out := &in.KubeletConfig, &out.KubeletConfig
+ *out = new(KubeletConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.KubeletDiskType != nil {
+ in, out := &in.KubeletDiskType, &out.KubeletDiskType
+ *out = new(KubeletDiskType)
+ **out = **in
+ }
+ if in.LinuxOSConfig != nil {
+ in, out := &in.LinuxOSConfig, &out.LinuxOSConfig
+ *out = new(LinuxOSConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MaxCount != nil {
+ in, out := &in.MaxCount, &out.MaxCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.MaxPods != nil {
+ in, out := &in.MaxPods, &out.MaxPods
+ *out = new(int)
+ **out = **in
+ }
+ if in.MessageOfTheDay != nil {
+ in, out := &in.MessageOfTheDay, &out.MessageOfTheDay
+ *out = new(string)
+ **out = **in
+ }
+ if in.MinCount != nil {
+ in, out := &in.MinCount, &out.MinCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(AgentPoolMode)
+ **out = **in
+ }
+ if in.NetworkProfile != nil {
+ in, out := &in.NetworkProfile, &out.NetworkProfile
+ *out = new(AgentPoolNetworkProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.NodeInitializationTaints != nil {
+ in, out := &in.NodeInitializationTaints, &out.NodeInitializationTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.NodeLabels != nil {
+ in, out := &in.NodeLabels, &out.NodeLabels
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.NodePublicIPPrefixReference != nil {
+ in, out := &in.NodePublicIPPrefixReference, &out.NodePublicIPPrefixReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.NodeTaints != nil {
+ in, out := &in.NodeTaints, &out.NodeTaints
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.OrchestratorVersion != nil {
+ in, out := &in.OrchestratorVersion, &out.OrchestratorVersion
+ *out = new(string)
+ **out = **in
+ }
+ if in.OsDiskSizeGB != nil {
+ in, out := &in.OsDiskSizeGB, &out.OsDiskSizeGB
+ *out = new(ContainerServiceOSDisk)
+ **out = **in
+ }
+ if in.OsDiskType != nil {
+ in, out := &in.OsDiskType, &out.OsDiskType
+ *out = new(OSDiskType)
+ **out = **in
+ }
+ if in.OsSKU != nil {
+ in, out := &in.OsSKU, &out.OsSKU
+ *out = new(OSSKU)
+ **out = **in
+ }
+ if in.OsType != nil {
+ in, out := &in.OsType, &out.OsType
+ *out = new(OSType)
+ **out = **in
+ }
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.PodIPAllocationMode != nil {
+ in, out := &in.PodIPAllocationMode, &out.PodIPAllocationMode
+ *out = new(PodIPAllocationMode)
+ **out = **in
+ }
+ if in.PodSubnetReference != nil {
+ in, out := &in.PodSubnetReference, &out.PodSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.PowerState != nil {
+ in, out := &in.PowerState, &out.PowerState
+ *out = new(PowerState)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ProximityPlacementGroupReference != nil {
+ in, out := &in.ProximityPlacementGroupReference, &out.ProximityPlacementGroupReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.ScaleDownMode != nil {
+ in, out := &in.ScaleDownMode, &out.ScaleDownMode
+ *out = new(ScaleDownMode)
+ **out = **in
+ }
+ if in.ScaleSetEvictionPolicy != nil {
+ in, out := &in.ScaleSetEvictionPolicy, &out.ScaleSetEvictionPolicy
+ *out = new(ScaleSetEvictionPolicy)
+ **out = **in
+ }
+ if in.ScaleSetPriority != nil {
+ in, out := &in.ScaleSetPriority, &out.ScaleSetPriority
+ *out = new(ScaleSetPriority)
+ **out = **in
+ }
+ if in.SecurityProfile != nil {
+ in, out := &in.SecurityProfile, &out.SecurityProfile
+ *out = new(AgentPoolSecurityProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SpotMaxPrice != nil {
+ in, out := &in.SpotMaxPrice, &out.SpotMaxPrice
+ *out = new(float64)
+ **out = **in
+ }
+ if in.Tags != nil {
+ in, out := &in.Tags, &out.Tags
+ *out = make(map[string]string, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(AgentPoolType)
+ **out = **in
+ }
+ if in.UpgradeSettings != nil {
+ in, out := &in.UpgradeSettings, &out.UpgradeSettings
+ *out = new(AgentPoolUpgradeSettings)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VirtualMachineNodesStatus != nil {
+ in, out := &in.VirtualMachineNodesStatus, &out.VirtualMachineNodesStatus
+ *out = make([]VirtualMachineNodes, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.VirtualMachinesProfile != nil {
+ in, out := &in.VirtualMachinesProfile, &out.VirtualMachinesProfile
+ *out = new(VirtualMachinesProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VmSize != nil {
+ in, out := &in.VmSize, &out.VmSize
+ *out = new(string)
+ **out = **in
+ }
+ if in.VnetSubnetReference != nil {
+ in, out := &in.VnetSubnetReference, &out.VnetSubnetReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.WindowsProfile != nil {
+ in, out := &in.WindowsProfile, &out.WindowsProfile
+ *out = new(AgentPoolWindowsProfile)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.WorkloadRuntime != nil {
+ in, out := &in.WorkloadRuntime, &out.WorkloadRuntime
+ *out = new(WorkloadRuntime)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_AgentPool_Spec.
+func (in *ManagedClusters_AgentPool_Spec) DeepCopy() *ManagedClusters_AgentPool_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_AgentPool_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_AgentPool_Spec_ARM) DeepCopyInto(out *ManagedClusters_AgentPool_Spec_ARM) {
+ *out = *in
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(ManagedClusterAgentPoolProfileProperties_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_AgentPool_Spec_ARM.
+func (in *ManagedClusters_AgentPool_Spec_ARM) DeepCopy() *ManagedClusters_AgentPool_Spec_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_AgentPool_Spec_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_STATUS) {
+ *out = *in
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]conditions.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(TrustedAccessRoleBindingProperties_ProvisioningState_STATUS)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_STATUS.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(TrustedAccessRoleBindingProperties_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SystemData != nil {
+ in, out := &in.SystemData, &out.SystemData
+ *out = new(SystemData_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM.
+func (in *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_Spec) {
+ *out = *in
+ if in.Owner != nil {
+ in, out := &in.Owner, &out.Owner
+ *out = new(genruntime.KnownResourceReference)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceReference != nil {
+ in, out := &in.SourceResourceReference, &out.SourceResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_Spec.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_Spec {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_Spec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) DeepCopyInto(out *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) {
+ *out = *in
+ if in.Properties != nil {
+ in, out := &in.Properties, &out.Properties
+ *out = new(TrustedAccessRoleBindingProperties_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedClusters_TrustedAccessRoleBinding_Spec_ARM.
+func (in *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM) DeepCopy() *ManagedClusters_TrustedAccessRoleBinding_Spec_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManagedClusters_TrustedAccessRoleBinding_Spec_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManualScaleProfile) DeepCopyInto(out *ManualScaleProfile) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScaleProfile.
+func (in *ManualScaleProfile) DeepCopy() *ManualScaleProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ManualScaleProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManualScaleProfile_ARM) DeepCopyInto(out *ManualScaleProfile_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScaleProfile_ARM.
+func (in *ManualScaleProfile_ARM) DeepCopy() *ManualScaleProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManualScaleProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManualScaleProfile_STATUS) DeepCopyInto(out *ManualScaleProfile_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScaleProfile_STATUS.
+func (in *ManualScaleProfile_STATUS) DeepCopy() *ManualScaleProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ManualScaleProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ManualScaleProfile_STATUS_ARM) DeepCopyInto(out *ManualScaleProfile_STATUS_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Sizes != nil {
+ in, out := &in.Sizes, &out.Sizes
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManualScaleProfile_STATUS_ARM.
+func (in *ManualScaleProfile_STATUS_ARM) DeepCopy() *ManualScaleProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ManualScaleProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PortRange) DeepCopyInto(out *PortRange) {
+ *out = *in
+ if in.PortEnd != nil {
+ in, out := &in.PortEnd, &out.PortEnd
+ *out = new(int)
+ **out = **in
+ }
+ if in.PortStart != nil {
+ in, out := &in.PortStart, &out.PortStart
+ *out = new(int)
+ **out = **in
+ }
+ if in.Protocol != nil {
+ in, out := &in.Protocol, &out.Protocol
+ *out = new(PortRange_Protocol)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRange.
+func (in *PortRange) DeepCopy() *PortRange {
+ if in == nil {
+ return nil
+ }
+ out := new(PortRange)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PortRange_ARM) DeepCopyInto(out *PortRange_ARM) {
+ *out = *in
+ if in.PortEnd != nil {
+ in, out := &in.PortEnd, &out.PortEnd
+ *out = new(int)
+ **out = **in
+ }
+ if in.PortStart != nil {
+ in, out := &in.PortStart, &out.PortStart
+ *out = new(int)
+ **out = **in
+ }
+ if in.Protocol != nil {
+ in, out := &in.Protocol, &out.Protocol
+ *out = new(PortRange_Protocol)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRange_ARM.
+func (in *PortRange_ARM) DeepCopy() *PortRange_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(PortRange_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PortRange_STATUS) DeepCopyInto(out *PortRange_STATUS) {
+ *out = *in
+ if in.PortEnd != nil {
+ in, out := &in.PortEnd, &out.PortEnd
+ *out = new(int)
+ **out = **in
+ }
+ if in.PortStart != nil {
+ in, out := &in.PortStart, &out.PortStart
+ *out = new(int)
+ **out = **in
+ }
+ if in.Protocol != nil {
+ in, out := &in.Protocol, &out.Protocol
+ *out = new(PortRange_Protocol_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRange_STATUS.
+func (in *PortRange_STATUS) DeepCopy() *PortRange_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(PortRange_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PortRange_STATUS_ARM) DeepCopyInto(out *PortRange_STATUS_ARM) {
+ *out = *in
+ if in.PortEnd != nil {
+ in, out := &in.PortEnd, &out.PortEnd
+ *out = new(int)
+ **out = **in
+ }
+ if in.PortStart != nil {
+ in, out := &in.PortStart, &out.PortStart
+ *out = new(int)
+ **out = **in
+ }
+ if in.Protocol != nil {
+ in, out := &in.Protocol, &out.Protocol
+ *out = new(PortRange_Protocol_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortRange_STATUS_ARM.
+func (in *PortRange_STATUS_ARM) DeepCopy() *PortRange_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(PortRange_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PowerState) DeepCopyInto(out *PowerState) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(PowerState_Code)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerState.
+func (in *PowerState) DeepCopy() *PowerState {
+ if in == nil {
+ return nil
+ }
+ out := new(PowerState)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PowerState_ARM) DeepCopyInto(out *PowerState_ARM) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(PowerState_Code)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerState_ARM.
+func (in *PowerState_ARM) DeepCopy() *PowerState_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(PowerState_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PowerState_STATUS) DeepCopyInto(out *PowerState_STATUS) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(PowerState_Code_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerState_STATUS.
+func (in *PowerState_STATUS) DeepCopy() *PowerState_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(PowerState_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PowerState_STATUS_ARM) DeepCopyInto(out *PowerState_STATUS_ARM) {
+ *out = *in
+ if in.Code != nil {
+ in, out := &in.Code, &out.Code
+ *out = new(PowerState_Code_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PowerState_STATUS_ARM.
+func (in *PowerState_STATUS_ARM) DeepCopy() *PowerState_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(PowerState_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateLinkResource) DeepCopyInto(out *PrivateLinkResource) {
+ *out = *in
+ if in.GroupId != nil {
+ in, out := &in.GroupId, &out.GroupId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.Reference != nil {
+ in, out := &in.Reference, &out.Reference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+ if in.RequiredMembers != nil {
+ in, out := &in.RequiredMembers, &out.RequiredMembers
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkResource.
+func (in *PrivateLinkResource) DeepCopy() *PrivateLinkResource {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateLinkResource)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateLinkResource_ARM) DeepCopyInto(out *PrivateLinkResource_ARM) {
+ *out = *in
+ if in.GroupId != nil {
+ in, out := &in.GroupId, &out.GroupId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.RequiredMembers != nil {
+ in, out := &in.RequiredMembers, &out.RequiredMembers
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkResource_ARM.
+func (in *PrivateLinkResource_ARM) DeepCopy() *PrivateLinkResource_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateLinkResource_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateLinkResource_STATUS) DeepCopyInto(out *PrivateLinkResource_STATUS) {
+ *out = *in
+ if in.GroupId != nil {
+ in, out := &in.GroupId, &out.GroupId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrivateLinkServiceID != nil {
+ in, out := &in.PrivateLinkServiceID, &out.PrivateLinkServiceID
+ *out = new(string)
+ **out = **in
+ }
+ if in.RequiredMembers != nil {
+ in, out := &in.RequiredMembers, &out.RequiredMembers
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkResource_STATUS.
+func (in *PrivateLinkResource_STATUS) DeepCopy() *PrivateLinkResource_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateLinkResource_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateLinkResource_STATUS_ARM) DeepCopyInto(out *PrivateLinkResource_STATUS_ARM) {
+ *out = *in
+ if in.GroupId != nil {
+ in, out := &in.GroupId, &out.GroupId
+ *out = new(string)
+ **out = **in
+ }
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+ if in.Name != nil {
+ in, out := &in.Name, &out.Name
+ *out = new(string)
+ **out = **in
+ }
+ if in.PrivateLinkServiceID != nil {
+ in, out := &in.PrivateLinkServiceID, &out.PrivateLinkServiceID
+ *out = new(string)
+ **out = **in
+ }
+ if in.RequiredMembers != nil {
+ in, out := &in.RequiredMembers, &out.RequiredMembers
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Type != nil {
+ in, out := &in.Type, &out.Type
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateLinkResource_STATUS_ARM.
+func (in *PrivateLinkResource_STATUS_ARM) DeepCopy() *PrivateLinkResource_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateLinkResource_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceReference) DeepCopyInto(out *ResourceReference) {
+ *out = *in
+ if in.Reference != nil {
+ in, out := &in.Reference, &out.Reference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
+func (in *ResourceReference) DeepCopy() *ResourceReference {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceReference)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceReference_ARM) DeepCopyInto(out *ResourceReference_ARM) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference_ARM.
+func (in *ResourceReference_ARM) DeepCopy() *ResourceReference_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceReference_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceReference_STATUS) DeepCopyInto(out *ResourceReference_STATUS) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference_STATUS.
+func (in *ResourceReference_STATUS) DeepCopy() *ResourceReference_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceReference_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceReference_STATUS_ARM) DeepCopyInto(out *ResourceReference_STATUS_ARM) {
+ *out = *in
+ if in.Id != nil {
+ in, out := &in.Id, &out.Id
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference_STATUS_ARM.
+func (in *ResourceReference_STATUS_ARM) DeepCopy() *ResourceReference_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceReference_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SafeguardsProfile) DeepCopyInto(out *SafeguardsProfile) {
+ *out = *in
+ if in.ExcludedNamespaces != nil {
+ in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Level != nil {
+ in, out := &in.Level, &out.Level
+ *out = new(SafeguardsProfile_Level)
+ **out = **in
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SafeguardsProfile.
+func (in *SafeguardsProfile) DeepCopy() *SafeguardsProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(SafeguardsProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SafeguardsProfile_ARM) DeepCopyInto(out *SafeguardsProfile_ARM) {
+ *out = *in
+ if in.ExcludedNamespaces != nil {
+ in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Level != nil {
+ in, out := &in.Level, &out.Level
+ *out = new(SafeguardsProfile_Level)
+ **out = **in
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SafeguardsProfile_ARM.
+func (in *SafeguardsProfile_ARM) DeepCopy() *SafeguardsProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(SafeguardsProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SafeguardsProfile_STATUS) DeepCopyInto(out *SafeguardsProfile_STATUS) {
+ *out = *in
+ if in.ExcludedNamespaces != nil {
+ in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Level != nil {
+ in, out := &in.Level, &out.Level
+ *out = new(SafeguardsProfile_Level_STATUS)
+ **out = **in
+ }
+ if in.SystemExcludedNamespaces != nil {
+ in, out := &in.SystemExcludedNamespaces, &out.SystemExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SafeguardsProfile_STATUS.
+func (in *SafeguardsProfile_STATUS) DeepCopy() *SafeguardsProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(SafeguardsProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SafeguardsProfile_STATUS_ARM) DeepCopyInto(out *SafeguardsProfile_STATUS_ARM) {
+ *out = *in
+ if in.ExcludedNamespaces != nil {
+ in, out := &in.ExcludedNamespaces, &out.ExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Level != nil {
+ in, out := &in.Level, &out.Level
+ *out = new(SafeguardsProfile_Level_STATUS)
+ **out = **in
+ }
+ if in.SystemExcludedNamespaces != nil {
+ in, out := &in.SystemExcludedNamespaces, &out.SystemExcludedNamespaces
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Version != nil {
+ in, out := &in.Version, &out.Version
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SafeguardsProfile_STATUS_ARM.
+func (in *SafeguardsProfile_STATUS_ARM) DeepCopy() *SafeguardsProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(SafeguardsProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ScaleProfile) DeepCopyInto(out *ScaleProfile) {
+ *out = *in
+ if in.Autoscale != nil {
+ in, out := &in.Autoscale, &out.Autoscale
+ *out = make([]AutoScaleProfile, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Manual != nil {
+ in, out := &in.Manual, &out.Manual
+ *out = make([]ManualScaleProfile, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleProfile.
+func (in *ScaleProfile) DeepCopy() *ScaleProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ScaleProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ScaleProfile_ARM) DeepCopyInto(out *ScaleProfile_ARM) {
+ *out = *in
+ if in.Autoscale != nil {
+ in, out := &in.Autoscale, &out.Autoscale
+ *out = make([]AutoScaleProfile_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Manual != nil {
+ in, out := &in.Manual, &out.Manual
+ *out = make([]ManualScaleProfile_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleProfile_ARM.
+func (in *ScaleProfile_ARM) DeepCopy() *ScaleProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ScaleProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ScaleProfile_STATUS) DeepCopyInto(out *ScaleProfile_STATUS) {
+ *out = *in
+ if in.Autoscale != nil {
+ in, out := &in.Autoscale, &out.Autoscale
+ *out = make([]AutoScaleProfile_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Manual != nil {
+ in, out := &in.Manual, &out.Manual
+ *out = make([]ManualScaleProfile_STATUS, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleProfile_STATUS.
+func (in *ScaleProfile_STATUS) DeepCopy() *ScaleProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ScaleProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ScaleProfile_STATUS_ARM) DeepCopyInto(out *ScaleProfile_STATUS_ARM) {
+ *out = *in
+ if in.Autoscale != nil {
+ in, out := &in.Autoscale, &out.Autoscale
+ *out = make([]AutoScaleProfile_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Manual != nil {
+ in, out := &in.Manual, &out.Manual
+ *out = make([]ManualScaleProfile_STATUS_ARM, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleProfile_STATUS_ARM.
+func (in *ScaleProfile_STATUS_ARM) DeepCopy() *ScaleProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ScaleProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ServiceMeshProfile) DeepCopyInto(out *ServiceMeshProfile) {
+ *out = *in
+ if in.Istio != nil {
+ in, out := &in.Istio, &out.Istio
+ *out = new(IstioServiceMesh)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ServiceMeshProfile_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMeshProfile.
+func (in *ServiceMeshProfile) DeepCopy() *ServiceMeshProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(ServiceMeshProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ServiceMeshProfile_ARM) DeepCopyInto(out *ServiceMeshProfile_ARM) {
+ *out = *in
+ if in.Istio != nil {
+ in, out := &in.Istio, &out.Istio
+ *out = new(IstioServiceMesh_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ServiceMeshProfile_Mode)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMeshProfile_ARM.
+func (in *ServiceMeshProfile_ARM) DeepCopy() *ServiceMeshProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ServiceMeshProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ServiceMeshProfile_STATUS) DeepCopyInto(out *ServiceMeshProfile_STATUS) {
+ *out = *in
+ if in.Istio != nil {
+ in, out := &in.Istio, &out.Istio
+ *out = new(IstioServiceMesh_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ServiceMeshProfile_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMeshProfile_STATUS.
+func (in *ServiceMeshProfile_STATUS) DeepCopy() *ServiceMeshProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(ServiceMeshProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ServiceMeshProfile_STATUS_ARM) DeepCopyInto(out *ServiceMeshProfile_STATUS_ARM) {
+ *out = *in
+ if in.Istio != nil {
+ in, out := &in.Istio, &out.Istio
+ *out = new(IstioServiceMesh_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Mode != nil {
+ in, out := &in.Mode, &out.Mode
+ *out = new(ServiceMeshProfile_Mode_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceMeshProfile_STATUS_ARM.
+func (in *ServiceMeshProfile_STATUS_ARM) DeepCopy() *ServiceMeshProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(ServiceMeshProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SysctlConfig) DeepCopyInto(out *SysctlConfig) {
+ *out = *in
+ if in.FsAioMaxNr != nil {
+ in, out := &in.FsAioMaxNr, &out.FsAioMaxNr
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsFileMax != nil {
+ in, out := &in.FsFileMax, &out.FsFileMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsInotifyMaxUserWatches != nil {
+ in, out := &in.FsInotifyMaxUserWatches, &out.FsInotifyMaxUserWatches
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsNrOpen != nil {
+ in, out := &in.FsNrOpen, &out.FsNrOpen
+ *out = new(int)
+ **out = **in
+ }
+ if in.KernelThreadsMax != nil {
+ in, out := &in.KernelThreadsMax, &out.KernelThreadsMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreNetdevMaxBacklog != nil {
+ in, out := &in.NetCoreNetdevMaxBacklog, &out.NetCoreNetdevMaxBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreOptmemMax != nil {
+ in, out := &in.NetCoreOptmemMax, &out.NetCoreOptmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemDefault != nil {
+ in, out := &in.NetCoreRmemDefault, &out.NetCoreRmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemMax != nil {
+ in, out := &in.NetCoreRmemMax, &out.NetCoreRmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreSomaxconn != nil {
+ in, out := &in.NetCoreSomaxconn, &out.NetCoreSomaxconn
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemDefault != nil {
+ in, out := &in.NetCoreWmemDefault, &out.NetCoreWmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemMax != nil {
+ in, out := &in.NetCoreWmemMax, &out.NetCoreWmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4IpLocalPortRange != nil {
+ in, out := &in.NetIpv4IpLocalPortRange, &out.NetIpv4IpLocalPortRange
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh1 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh1, &out.NetIpv4NeighDefaultGcThresh1
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh2 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh2, &out.NetIpv4NeighDefaultGcThresh2
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh3 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh3, &out.NetIpv4NeighDefaultGcThresh3
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpFinTimeout != nil {
+ in, out := &in.NetIpv4TcpFinTimeout, &out.NetIpv4TcpFinTimeout
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveProbes != nil {
+ in, out := &in.NetIpv4TcpKeepaliveProbes, &out.NetIpv4TcpKeepaliveProbes
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveTime != nil {
+ in, out := &in.NetIpv4TcpKeepaliveTime, &out.NetIpv4TcpKeepaliveTime
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxSynBacklog != nil {
+ in, out := &in.NetIpv4TcpMaxSynBacklog, &out.NetIpv4TcpMaxSynBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxTwBuckets != nil {
+ in, out := &in.NetIpv4TcpMaxTwBuckets, &out.NetIpv4TcpMaxTwBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpTwReuse != nil {
+ in, out := &in.NetIpv4TcpTwReuse, &out.NetIpv4TcpTwReuse
+ *out = new(bool)
+ **out = **in
+ }
+ if in.NetIpv4TcpkeepaliveIntvl != nil {
+ in, out := &in.NetIpv4TcpkeepaliveIntvl, &out.NetIpv4TcpkeepaliveIntvl
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackBuckets != nil {
+ in, out := &in.NetNetfilterNfConntrackBuckets, &out.NetNetfilterNfConntrackBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackMax != nil {
+ in, out := &in.NetNetfilterNfConntrackMax, &out.NetNetfilterNfConntrackMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmMaxMapCount != nil {
+ in, out := &in.VmMaxMapCount, &out.VmMaxMapCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmSwappiness != nil {
+ in, out := &in.VmSwappiness, &out.VmSwappiness
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmVfsCachePressure != nil {
+ in, out := &in.VmVfsCachePressure, &out.VmVfsCachePressure
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlConfig.
+func (in *SysctlConfig) DeepCopy() *SysctlConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(SysctlConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SysctlConfig_ARM) DeepCopyInto(out *SysctlConfig_ARM) {
+ *out = *in
+ if in.FsAioMaxNr != nil {
+ in, out := &in.FsAioMaxNr, &out.FsAioMaxNr
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsFileMax != nil {
+ in, out := &in.FsFileMax, &out.FsFileMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsInotifyMaxUserWatches != nil {
+ in, out := &in.FsInotifyMaxUserWatches, &out.FsInotifyMaxUserWatches
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsNrOpen != nil {
+ in, out := &in.FsNrOpen, &out.FsNrOpen
+ *out = new(int)
+ **out = **in
+ }
+ if in.KernelThreadsMax != nil {
+ in, out := &in.KernelThreadsMax, &out.KernelThreadsMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreNetdevMaxBacklog != nil {
+ in, out := &in.NetCoreNetdevMaxBacklog, &out.NetCoreNetdevMaxBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreOptmemMax != nil {
+ in, out := &in.NetCoreOptmemMax, &out.NetCoreOptmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemDefault != nil {
+ in, out := &in.NetCoreRmemDefault, &out.NetCoreRmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemMax != nil {
+ in, out := &in.NetCoreRmemMax, &out.NetCoreRmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreSomaxconn != nil {
+ in, out := &in.NetCoreSomaxconn, &out.NetCoreSomaxconn
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemDefault != nil {
+ in, out := &in.NetCoreWmemDefault, &out.NetCoreWmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemMax != nil {
+ in, out := &in.NetCoreWmemMax, &out.NetCoreWmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4IpLocalPortRange != nil {
+ in, out := &in.NetIpv4IpLocalPortRange, &out.NetIpv4IpLocalPortRange
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh1 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh1, &out.NetIpv4NeighDefaultGcThresh1
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh2 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh2, &out.NetIpv4NeighDefaultGcThresh2
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh3 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh3, &out.NetIpv4NeighDefaultGcThresh3
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpFinTimeout != nil {
+ in, out := &in.NetIpv4TcpFinTimeout, &out.NetIpv4TcpFinTimeout
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveProbes != nil {
+ in, out := &in.NetIpv4TcpKeepaliveProbes, &out.NetIpv4TcpKeepaliveProbes
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveTime != nil {
+ in, out := &in.NetIpv4TcpKeepaliveTime, &out.NetIpv4TcpKeepaliveTime
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxSynBacklog != nil {
+ in, out := &in.NetIpv4TcpMaxSynBacklog, &out.NetIpv4TcpMaxSynBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxTwBuckets != nil {
+ in, out := &in.NetIpv4TcpMaxTwBuckets, &out.NetIpv4TcpMaxTwBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpTwReuse != nil {
+ in, out := &in.NetIpv4TcpTwReuse, &out.NetIpv4TcpTwReuse
+ *out = new(bool)
+ **out = **in
+ }
+ if in.NetIpv4TcpkeepaliveIntvl != nil {
+ in, out := &in.NetIpv4TcpkeepaliveIntvl, &out.NetIpv4TcpkeepaliveIntvl
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackBuckets != nil {
+ in, out := &in.NetNetfilterNfConntrackBuckets, &out.NetNetfilterNfConntrackBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackMax != nil {
+ in, out := &in.NetNetfilterNfConntrackMax, &out.NetNetfilterNfConntrackMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmMaxMapCount != nil {
+ in, out := &in.VmMaxMapCount, &out.VmMaxMapCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmSwappiness != nil {
+ in, out := &in.VmSwappiness, &out.VmSwappiness
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmVfsCachePressure != nil {
+ in, out := &in.VmVfsCachePressure, &out.VmVfsCachePressure
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlConfig_ARM.
+func (in *SysctlConfig_ARM) DeepCopy() *SysctlConfig_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(SysctlConfig_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SysctlConfig_STATUS) DeepCopyInto(out *SysctlConfig_STATUS) {
+ *out = *in
+ if in.FsAioMaxNr != nil {
+ in, out := &in.FsAioMaxNr, &out.FsAioMaxNr
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsFileMax != nil {
+ in, out := &in.FsFileMax, &out.FsFileMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsInotifyMaxUserWatches != nil {
+ in, out := &in.FsInotifyMaxUserWatches, &out.FsInotifyMaxUserWatches
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsNrOpen != nil {
+ in, out := &in.FsNrOpen, &out.FsNrOpen
+ *out = new(int)
+ **out = **in
+ }
+ if in.KernelThreadsMax != nil {
+ in, out := &in.KernelThreadsMax, &out.KernelThreadsMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreNetdevMaxBacklog != nil {
+ in, out := &in.NetCoreNetdevMaxBacklog, &out.NetCoreNetdevMaxBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreOptmemMax != nil {
+ in, out := &in.NetCoreOptmemMax, &out.NetCoreOptmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemDefault != nil {
+ in, out := &in.NetCoreRmemDefault, &out.NetCoreRmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemMax != nil {
+ in, out := &in.NetCoreRmemMax, &out.NetCoreRmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreSomaxconn != nil {
+ in, out := &in.NetCoreSomaxconn, &out.NetCoreSomaxconn
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemDefault != nil {
+ in, out := &in.NetCoreWmemDefault, &out.NetCoreWmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemMax != nil {
+ in, out := &in.NetCoreWmemMax, &out.NetCoreWmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4IpLocalPortRange != nil {
+ in, out := &in.NetIpv4IpLocalPortRange, &out.NetIpv4IpLocalPortRange
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh1 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh1, &out.NetIpv4NeighDefaultGcThresh1
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh2 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh2, &out.NetIpv4NeighDefaultGcThresh2
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh3 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh3, &out.NetIpv4NeighDefaultGcThresh3
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpFinTimeout != nil {
+ in, out := &in.NetIpv4TcpFinTimeout, &out.NetIpv4TcpFinTimeout
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveProbes != nil {
+ in, out := &in.NetIpv4TcpKeepaliveProbes, &out.NetIpv4TcpKeepaliveProbes
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveTime != nil {
+ in, out := &in.NetIpv4TcpKeepaliveTime, &out.NetIpv4TcpKeepaliveTime
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxSynBacklog != nil {
+ in, out := &in.NetIpv4TcpMaxSynBacklog, &out.NetIpv4TcpMaxSynBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxTwBuckets != nil {
+ in, out := &in.NetIpv4TcpMaxTwBuckets, &out.NetIpv4TcpMaxTwBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpTwReuse != nil {
+ in, out := &in.NetIpv4TcpTwReuse, &out.NetIpv4TcpTwReuse
+ *out = new(bool)
+ **out = **in
+ }
+ if in.NetIpv4TcpkeepaliveIntvl != nil {
+ in, out := &in.NetIpv4TcpkeepaliveIntvl, &out.NetIpv4TcpkeepaliveIntvl
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackBuckets != nil {
+ in, out := &in.NetNetfilterNfConntrackBuckets, &out.NetNetfilterNfConntrackBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackMax != nil {
+ in, out := &in.NetNetfilterNfConntrackMax, &out.NetNetfilterNfConntrackMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmMaxMapCount != nil {
+ in, out := &in.VmMaxMapCount, &out.VmMaxMapCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmSwappiness != nil {
+ in, out := &in.VmSwappiness, &out.VmSwappiness
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmVfsCachePressure != nil {
+ in, out := &in.VmVfsCachePressure, &out.VmVfsCachePressure
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlConfig_STATUS.
+func (in *SysctlConfig_STATUS) DeepCopy() *SysctlConfig_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(SysctlConfig_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SysctlConfig_STATUS_ARM) DeepCopyInto(out *SysctlConfig_STATUS_ARM) {
+ *out = *in
+ if in.FsAioMaxNr != nil {
+ in, out := &in.FsAioMaxNr, &out.FsAioMaxNr
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsFileMax != nil {
+ in, out := &in.FsFileMax, &out.FsFileMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsInotifyMaxUserWatches != nil {
+ in, out := &in.FsInotifyMaxUserWatches, &out.FsInotifyMaxUserWatches
+ *out = new(int)
+ **out = **in
+ }
+ if in.FsNrOpen != nil {
+ in, out := &in.FsNrOpen, &out.FsNrOpen
+ *out = new(int)
+ **out = **in
+ }
+ if in.KernelThreadsMax != nil {
+ in, out := &in.KernelThreadsMax, &out.KernelThreadsMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreNetdevMaxBacklog != nil {
+ in, out := &in.NetCoreNetdevMaxBacklog, &out.NetCoreNetdevMaxBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreOptmemMax != nil {
+ in, out := &in.NetCoreOptmemMax, &out.NetCoreOptmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemDefault != nil {
+ in, out := &in.NetCoreRmemDefault, &out.NetCoreRmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreRmemMax != nil {
+ in, out := &in.NetCoreRmemMax, &out.NetCoreRmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreSomaxconn != nil {
+ in, out := &in.NetCoreSomaxconn, &out.NetCoreSomaxconn
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemDefault != nil {
+ in, out := &in.NetCoreWmemDefault, &out.NetCoreWmemDefault
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetCoreWmemMax != nil {
+ in, out := &in.NetCoreWmemMax, &out.NetCoreWmemMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4IpLocalPortRange != nil {
+ in, out := &in.NetIpv4IpLocalPortRange, &out.NetIpv4IpLocalPortRange
+ *out = new(string)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh1 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh1, &out.NetIpv4NeighDefaultGcThresh1
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh2 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh2, &out.NetIpv4NeighDefaultGcThresh2
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4NeighDefaultGcThresh3 != nil {
+ in, out := &in.NetIpv4NeighDefaultGcThresh3, &out.NetIpv4NeighDefaultGcThresh3
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpFinTimeout != nil {
+ in, out := &in.NetIpv4TcpFinTimeout, &out.NetIpv4TcpFinTimeout
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveProbes != nil {
+ in, out := &in.NetIpv4TcpKeepaliveProbes, &out.NetIpv4TcpKeepaliveProbes
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpKeepaliveTime != nil {
+ in, out := &in.NetIpv4TcpKeepaliveTime, &out.NetIpv4TcpKeepaliveTime
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxSynBacklog != nil {
+ in, out := &in.NetIpv4TcpMaxSynBacklog, &out.NetIpv4TcpMaxSynBacklog
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpMaxTwBuckets != nil {
+ in, out := &in.NetIpv4TcpMaxTwBuckets, &out.NetIpv4TcpMaxTwBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetIpv4TcpTwReuse != nil {
+ in, out := &in.NetIpv4TcpTwReuse, &out.NetIpv4TcpTwReuse
+ *out = new(bool)
+ **out = **in
+ }
+ if in.NetIpv4TcpkeepaliveIntvl != nil {
+ in, out := &in.NetIpv4TcpkeepaliveIntvl, &out.NetIpv4TcpkeepaliveIntvl
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackBuckets != nil {
+ in, out := &in.NetNetfilterNfConntrackBuckets, &out.NetNetfilterNfConntrackBuckets
+ *out = new(int)
+ **out = **in
+ }
+ if in.NetNetfilterNfConntrackMax != nil {
+ in, out := &in.NetNetfilterNfConntrackMax, &out.NetNetfilterNfConntrackMax
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmMaxMapCount != nil {
+ in, out := &in.VmMaxMapCount, &out.VmMaxMapCount
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmSwappiness != nil {
+ in, out := &in.VmSwappiness, &out.VmSwappiness
+ *out = new(int)
+ **out = **in
+ }
+ if in.VmVfsCachePressure != nil {
+ in, out := &in.VmVfsCachePressure, &out.VmVfsCachePressure
+ *out = new(int)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SysctlConfig_STATUS_ARM.
+func (in *SysctlConfig_STATUS_ARM) DeepCopy() *SysctlConfig_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(SysctlConfig_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SystemData_STATUS) DeepCopyInto(out *SystemData_STATUS) {
+ *out = *in
+ if in.CreatedAt != nil {
+ in, out := &in.CreatedAt, &out.CreatedAt
+ *out = new(string)
+ **out = **in
+ }
+ if in.CreatedBy != nil {
+ in, out := &in.CreatedBy, &out.CreatedBy
+ *out = new(string)
+ **out = **in
+ }
+ if in.CreatedByType != nil {
+ in, out := &in.CreatedByType, &out.CreatedByType
+ *out = new(SystemData_CreatedByType_STATUS)
+ **out = **in
+ }
+ if in.LastModifiedAt != nil {
+ in, out := &in.LastModifiedAt, &out.LastModifiedAt
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedBy != nil {
+ in, out := &in.LastModifiedBy, &out.LastModifiedBy
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedByType != nil {
+ in, out := &in.LastModifiedByType, &out.LastModifiedByType
+ *out = new(SystemData_LastModifiedByType_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemData_STATUS.
+func (in *SystemData_STATUS) DeepCopy() *SystemData_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(SystemData_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SystemData_STATUS_ARM) DeepCopyInto(out *SystemData_STATUS_ARM) {
+ *out = *in
+ if in.CreatedAt != nil {
+ in, out := &in.CreatedAt, &out.CreatedAt
+ *out = new(string)
+ **out = **in
+ }
+ if in.CreatedBy != nil {
+ in, out := &in.CreatedBy, &out.CreatedBy
+ *out = new(string)
+ **out = **in
+ }
+ if in.CreatedByType != nil {
+ in, out := &in.CreatedByType, &out.CreatedByType
+ *out = new(SystemData_CreatedByType_STATUS)
+ **out = **in
+ }
+ if in.LastModifiedAt != nil {
+ in, out := &in.LastModifiedAt, &out.LastModifiedAt
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedBy != nil {
+ in, out := &in.LastModifiedBy, &out.LastModifiedBy
+ *out = new(string)
+ **out = **in
+ }
+ if in.LastModifiedByType != nil {
+ in, out := &in.LastModifiedByType, &out.LastModifiedByType
+ *out = new(SystemData_LastModifiedByType_STATUS)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemData_STATUS_ARM.
+func (in *SystemData_STATUS_ARM) DeepCopy() *SystemData_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(SystemData_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBinding) DeepCopyInto(out *TrustedAccessRoleBinding) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBinding.
+func (in *TrustedAccessRoleBinding) DeepCopy() *TrustedAccessRoleBinding {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBinding)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBinding) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingList) DeepCopyInto(out *TrustedAccessRoleBindingList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]TrustedAccessRoleBinding, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingList.
+func (in *TrustedAccessRoleBindingList) DeepCopy() *TrustedAccessRoleBindingList {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *TrustedAccessRoleBindingList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingProperties_ARM) DeepCopyInto(out *TrustedAccessRoleBindingProperties_ARM) {
+ *out = *in
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingProperties_ARM.
+func (in *TrustedAccessRoleBindingProperties_ARM) DeepCopy() *TrustedAccessRoleBindingProperties_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingProperties_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TrustedAccessRoleBindingProperties_STATUS_ARM) DeepCopyInto(out *TrustedAccessRoleBindingProperties_STATUS_ARM) {
+ *out = *in
+ if in.ProvisioningState != nil {
+ in, out := &in.ProvisioningState, &out.ProvisioningState
+ *out = new(TrustedAccessRoleBindingProperties_ProvisioningState_STATUS)
+ **out = **in
+ }
+ if in.Roles != nil {
+ in, out := &in.Roles, &out.Roles
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.SourceResourceId != nil {
+ in, out := &in.SourceResourceId, &out.SourceResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TrustedAccessRoleBindingProperties_STATUS_ARM.
+func (in *TrustedAccessRoleBindingProperties_STATUS_ARM) DeepCopy() *TrustedAccessRoleBindingProperties_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(TrustedAccessRoleBindingProperties_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UpgradeOverrideSettings) DeepCopyInto(out *UpgradeOverrideSettings) {
+ *out = *in
+ if in.ForceUpgrade != nil {
+ in, out := &in.ForceUpgrade, &out.ForceUpgrade
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Until != nil {
+ in, out := &in.Until, &out.Until
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeOverrideSettings.
+func (in *UpgradeOverrideSettings) DeepCopy() *UpgradeOverrideSettings {
+ if in == nil {
+ return nil
+ }
+ out := new(UpgradeOverrideSettings)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UpgradeOverrideSettings_ARM) DeepCopyInto(out *UpgradeOverrideSettings_ARM) {
+ *out = *in
+ if in.ForceUpgrade != nil {
+ in, out := &in.ForceUpgrade, &out.ForceUpgrade
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Until != nil {
+ in, out := &in.Until, &out.Until
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeOverrideSettings_ARM.
+func (in *UpgradeOverrideSettings_ARM) DeepCopy() *UpgradeOverrideSettings_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(UpgradeOverrideSettings_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UpgradeOverrideSettings_STATUS) DeepCopyInto(out *UpgradeOverrideSettings_STATUS) {
+ *out = *in
+ if in.ForceUpgrade != nil {
+ in, out := &in.ForceUpgrade, &out.ForceUpgrade
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Until != nil {
+ in, out := &in.Until, &out.Until
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeOverrideSettings_STATUS.
+func (in *UpgradeOverrideSettings_STATUS) DeepCopy() *UpgradeOverrideSettings_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(UpgradeOverrideSettings_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UpgradeOverrideSettings_STATUS_ARM) DeepCopyInto(out *UpgradeOverrideSettings_STATUS_ARM) {
+ *out = *in
+ if in.ForceUpgrade != nil {
+ in, out := &in.ForceUpgrade, &out.ForceUpgrade
+ *out = new(bool)
+ **out = **in
+ }
+ if in.Until != nil {
+ in, out := &in.Until, &out.Until
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeOverrideSettings_STATUS_ARM.
+func (in *UpgradeOverrideSettings_STATUS_ARM) DeepCopy() *UpgradeOverrideSettings_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(UpgradeOverrideSettings_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentity) DeepCopyInto(out *UserAssignedIdentity) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ObjectId != nil {
+ in, out := &in.ObjectId, &out.ObjectId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceReference != nil {
+ in, out := &in.ResourceReference, &out.ResourceReference
+ *out = new(genruntime.ResourceReference)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentity.
+func (in *UserAssignedIdentity) DeepCopy() *UserAssignedIdentity {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentity)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentityDetails) DeepCopyInto(out *UserAssignedIdentityDetails) {
+ *out = *in
+ out.Reference = in.Reference
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentityDetails.
+func (in *UserAssignedIdentityDetails) DeepCopy() *UserAssignedIdentityDetails {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentityDetails)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentityDetails_ARM) DeepCopyInto(out *UserAssignedIdentityDetails_ARM) {
+ *out = *in
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentityDetails_ARM.
+func (in *UserAssignedIdentityDetails_ARM) DeepCopy() *UserAssignedIdentityDetails_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentityDetails_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentity_ARM) DeepCopyInto(out *UserAssignedIdentity_ARM) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ObjectId != nil {
+ in, out := &in.ObjectId, &out.ObjectId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentity_ARM.
+func (in *UserAssignedIdentity_ARM) DeepCopy() *UserAssignedIdentity_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentity_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentity_STATUS) DeepCopyInto(out *UserAssignedIdentity_STATUS) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ObjectId != nil {
+ in, out := &in.ObjectId, &out.ObjectId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentity_STATUS.
+func (in *UserAssignedIdentity_STATUS) DeepCopy() *UserAssignedIdentity_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentity_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *UserAssignedIdentity_STATUS_ARM) DeepCopyInto(out *UserAssignedIdentity_STATUS_ARM) {
+ *out = *in
+ if in.ClientId != nil {
+ in, out := &in.ClientId, &out.ClientId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ObjectId != nil {
+ in, out := &in.ObjectId, &out.ObjectId
+ *out = new(string)
+ **out = **in
+ }
+ if in.ResourceId != nil {
+ in, out := &in.ResourceId, &out.ResourceId
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserAssignedIdentity_STATUS_ARM.
+func (in *UserAssignedIdentity_STATUS_ARM) DeepCopy() *UserAssignedIdentity_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(UserAssignedIdentity_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachineNodes) DeepCopyInto(out *VirtualMachineNodes) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Size != nil {
+ in, out := &in.Size, &out.Size
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNodes.
+func (in *VirtualMachineNodes) DeepCopy() *VirtualMachineNodes {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachineNodes)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachineNodes_ARM) DeepCopyInto(out *VirtualMachineNodes_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Size != nil {
+ in, out := &in.Size, &out.Size
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNodes_ARM.
+func (in *VirtualMachineNodes_ARM) DeepCopy() *VirtualMachineNodes_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachineNodes_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachineNodes_STATUS) DeepCopyInto(out *VirtualMachineNodes_STATUS) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Size != nil {
+ in, out := &in.Size, &out.Size
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNodes_STATUS.
+func (in *VirtualMachineNodes_STATUS) DeepCopy() *VirtualMachineNodes_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachineNodes_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachineNodes_STATUS_ARM) DeepCopyInto(out *VirtualMachineNodes_STATUS_ARM) {
+ *out = *in
+ if in.Count != nil {
+ in, out := &in.Count, &out.Count
+ *out = new(int)
+ **out = **in
+ }
+ if in.Size != nil {
+ in, out := &in.Size, &out.Size
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachineNodes_STATUS_ARM.
+func (in *VirtualMachineNodes_STATUS_ARM) DeepCopy() *VirtualMachineNodes_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachineNodes_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachinesProfile) DeepCopyInto(out *VirtualMachinesProfile) {
+ *out = *in
+ if in.Scale != nil {
+ in, out := &in.Scale, &out.Scale
+ *out = new(ScaleProfile)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinesProfile.
+func (in *VirtualMachinesProfile) DeepCopy() *VirtualMachinesProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachinesProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachinesProfile_ARM) DeepCopyInto(out *VirtualMachinesProfile_ARM) {
+ *out = *in
+ if in.Scale != nil {
+ in, out := &in.Scale, &out.Scale
+ *out = new(ScaleProfile_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinesProfile_ARM.
+func (in *VirtualMachinesProfile_ARM) DeepCopy() *VirtualMachinesProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachinesProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachinesProfile_STATUS) DeepCopyInto(out *VirtualMachinesProfile_STATUS) {
+ *out = *in
+ if in.Scale != nil {
+ in, out := &in.Scale, &out.Scale
+ *out = new(ScaleProfile_STATUS)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinesProfile_STATUS.
+func (in *VirtualMachinesProfile_STATUS) DeepCopy() *VirtualMachinesProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachinesProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VirtualMachinesProfile_STATUS_ARM) DeepCopyInto(out *VirtualMachinesProfile_STATUS_ARM) {
+ *out = *in
+ if in.Scale != nil {
+ in, out := &in.Scale, &out.Scale
+ *out = new(ScaleProfile_STATUS_ARM)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VirtualMachinesProfile_STATUS_ARM.
+func (in *VirtualMachinesProfile_STATUS_ARM) DeepCopy() *VirtualMachinesProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(VirtualMachinesProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *WindowsGmsaProfile) DeepCopyInto(out *WindowsGmsaProfile) {
+ *out = *in
+ if in.DnsServer != nil {
+ in, out := &in.DnsServer, &out.DnsServer
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.RootDomainName != nil {
+ in, out := &in.RootDomainName, &out.RootDomainName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsGmsaProfile.
+func (in *WindowsGmsaProfile) DeepCopy() *WindowsGmsaProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(WindowsGmsaProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *WindowsGmsaProfile_ARM) DeepCopyInto(out *WindowsGmsaProfile_ARM) {
+ *out = *in
+ if in.DnsServer != nil {
+ in, out := &in.DnsServer, &out.DnsServer
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.RootDomainName != nil {
+ in, out := &in.RootDomainName, &out.RootDomainName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsGmsaProfile_ARM.
+func (in *WindowsGmsaProfile_ARM) DeepCopy() *WindowsGmsaProfile_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(WindowsGmsaProfile_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *WindowsGmsaProfile_STATUS) DeepCopyInto(out *WindowsGmsaProfile_STATUS) {
+ *out = *in
+ if in.DnsServer != nil {
+ in, out := &in.DnsServer, &out.DnsServer
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.RootDomainName != nil {
+ in, out := &in.RootDomainName, &out.RootDomainName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsGmsaProfile_STATUS.
+func (in *WindowsGmsaProfile_STATUS) DeepCopy() *WindowsGmsaProfile_STATUS {
+ if in == nil {
+ return nil
+ }
+ out := new(WindowsGmsaProfile_STATUS)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *WindowsGmsaProfile_STATUS_ARM) DeepCopyInto(out *WindowsGmsaProfile_STATUS_ARM) {
+ *out = *in
+ if in.DnsServer != nil {
+ in, out := &in.DnsServer, &out.DnsServer
+ *out = new(string)
+ **out = **in
+ }
+ if in.Enabled != nil {
+ in, out := &in.Enabled, &out.Enabled
+ *out = new(bool)
+ **out = **in
+ }
+ if in.RootDomainName != nil {
+ in, out := &in.RootDomainName, &out.RootDomainName
+ *out = new(string)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WindowsGmsaProfile_STATUS_ARM.
+func (in *WindowsGmsaProfile_STATUS_ARM) DeepCopy() *WindowsGmsaProfile_STATUS_ARM {
+ if in == nil {
+ return nil
+ }
+ out := new(WindowsGmsaProfile_STATUS_ARM)
+ in.DeepCopyInto(out)
+ return out
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_spec_arm_types_gen.go
index 7368ab8ec9..69b606c802 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_spec_arm_types_gen.go
@@ -124,6 +124,11 @@ type Identity_Type string
const Identity_Type_SystemAssigned = Identity_Type("SystemAssigned")
+// Mapping from string to Identity_Type
+var identity_Type_Values = map[string]Identity_Type{
+ "systemassigned": Identity_Type_SystemAssigned,
+}
+
// Scope of the extension. It can be either Cluster or Namespace; but not both.
type Scope_ARM struct {
// Cluster: Specifies that the scope of the extension is Cluster
@@ -143,6 +148,14 @@ const (
SystemData_CreatedByType_User = SystemData_CreatedByType("User")
)
+// Mapping from string to SystemData_CreatedByType
+var systemData_CreatedByType_Values = map[string]SystemData_CreatedByType{
+ "application": SystemData_CreatedByType_Application,
+ "key": SystemData_CreatedByType_Key,
+ "managedidentity": SystemData_CreatedByType_ManagedIdentity,
+ "user": SystemData_CreatedByType_User,
+}
+
// +kubebuilder:validation:Enum={"Application","Key","ManagedIdentity","User"}
type SystemData_LastModifiedByType string
@@ -153,6 +166,14 @@ const (
SystemData_LastModifiedByType_User = SystemData_LastModifiedByType("User")
)
+// Mapping from string to SystemData_LastModifiedByType
+var systemData_LastModifiedByType_Values = map[string]SystemData_LastModifiedByType{
+ "application": SystemData_LastModifiedByType_Application,
+ "key": SystemData_LastModifiedByType_Key,
+ "managedidentity": SystemData_LastModifiedByType_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_User,
+}
+
// Specifies that the scope of the extension is Cluster
type ScopeCluster_ARM struct {
// ReleaseNamespace: Namespace where the extension Release must be placed, for a Cluster scoped extension. If this
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_status_arm_types_gen.go
index e6fc77e556..1ccca9eb22 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_status_arm_types_gen.go
@@ -185,6 +185,11 @@ type Identity_Type_STATUS string
const Identity_Type_STATUS_SystemAssigned = Identity_Type_STATUS("SystemAssigned")
+// Mapping from string to Identity_Type_STATUS
+var identity_Type_STATUS_Values = map[string]Identity_Type_STATUS{
+ "systemassigned": Identity_Type_STATUS_SystemAssigned,
+}
+
// Scope of the extension. It can be either Cluster or Namespace; but not both.
type Scope_STATUS_ARM struct {
// Cluster: Specifies that the scope of the extension is Cluster
@@ -203,6 +208,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -212,6 +225,14 @@ const (
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
+
// The resource management error additional info.
type ErrorAdditionalInfo_STATUS_ARM struct {
// Info: The additional info.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_types_gen.go
index 64c12e7bfa..4bed605145 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/extension_types_gen.go
@@ -4,16 +4,21 @@
package v1api20230501
import (
+ "context"
"fmt"
- v20230501s "github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage"
+ "github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps"
+ "github.com/go-logr/logr"
"github.com/pkg/errors"
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/conversion"
"sigs.k8s.io/controller-runtime/pkg/webhook/admission"
)
@@ -50,7 +55,7 @@ var _ conversion.Convertible = &Extension{}
// ConvertFrom populates our Extension from the provided hub Extension
func (extension *Extension) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20230501s.Extension)
+ source, ok := hub.(*storage.Extension)
if !ok {
return fmt.Errorf("expected kubernetesconfiguration/v1api20230501/storage/Extension but received %T instead", hub)
}
@@ -60,7 +65,7 @@ func (extension *Extension) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub Extension from our Extension
func (extension *Extension) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20230501s.Extension)
+ destination, ok := hub.(*storage.Extension)
if !ok {
return fmt.Errorf("expected kubernetesconfiguration/v1api20230501/storage/Extension but received %T instead", hub)
}
@@ -102,6 +107,25 @@ func (extension *Extension) InitializeSpec(status genruntime.ConvertibleStatus)
return fmt.Errorf("expected Status of type Extension_STATUS but received %T instead", status)
}
+var _ genruntime.KubernetesExporter = &Extension{}
+
+// ExportKubernetesResources defines a resource which can create other resources in Kubernetes.
+func (extension *Extension) ExportKubernetesResources(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error) {
+ collector := configmaps.NewCollector(extension.Namespace)
+ if extension.Spec.OperatorSpec != nil && extension.Spec.OperatorSpec.ConfigMaps != nil {
+ if extension.Status.AksAssignedIdentity != nil {
+ if extension.Status.AksAssignedIdentity.PrincipalId != nil {
+ collector.AddValue(extension.Spec.OperatorSpec.ConfigMaps.PrincipalId, *extension.Status.AksAssignedIdentity.PrincipalId)
+ }
+ }
+ }
+ result, err := collector.Values()
+ if err != nil {
+ return nil, err
+ }
+ return configmaps.SliceToClientObjectSlice(result), nil
+}
+
var _ genruntime.KubernetesResource = &Extension{}
// AzureName returns the Azure name of the resource
@@ -208,7 +232,7 @@ func (extension *Extension) ValidateUpdate(old runtime.Object) (admission.Warnin
// createValidations validates the creation of the resource
func (extension *Extension) createValidations() []func() (admission.Warnings, error) {
- return []func() (admission.Warnings, error){extension.validateResourceReferences}
+ return []func() (admission.Warnings, error){extension.validateResourceReferences, extension.validateConfigMapDestinations}
}
// deleteValidations validates the deletion of the resource
@@ -222,7 +246,25 @@ func (extension *Extension) updateValidations() []func(old runtime.Object) (admi
func(old runtime.Object) (admission.Warnings, error) {
return extension.validateResourceReferences()
},
- extension.validateWriteOnceProperties}
+ extension.validateWriteOnceProperties,
+ func(old runtime.Object) (admission.Warnings, error) {
+ return extension.validateConfigMapDestinations()
+ },
+ }
+}
+
+// validateConfigMapDestinations validates there are no colliding genruntime.ConfigMapDestinations
+func (extension *Extension) validateConfigMapDestinations() (admission.Warnings, error) {
+ if extension.Spec.OperatorSpec == nil {
+ return nil, nil
+ }
+ if extension.Spec.OperatorSpec.ConfigMaps == nil {
+ return nil, nil
+ }
+ toValidate := []*genruntime.ConfigMapDestination{
+ extension.Spec.OperatorSpec.ConfigMaps.PrincipalId,
+ }
+ return genruntime.ValidateConfigMapDestinations(toValidate)
}
// validateResourceReferences validates all resource references
@@ -245,7 +287,7 @@ func (extension *Extension) validateWriteOnceProperties(old runtime.Object) (adm
}
// AssignProperties_From_Extension populates our Extension from the provided source Extension
-func (extension *Extension) AssignProperties_From_Extension(source *v20230501s.Extension) error {
+func (extension *Extension) AssignProperties_From_Extension(source *storage.Extension) error {
// ObjectMeta
extension.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -271,13 +313,13 @@ func (extension *Extension) AssignProperties_From_Extension(source *v20230501s.E
}
// AssignProperties_To_Extension populates the provided destination Extension from our Extension
-func (extension *Extension) AssignProperties_To_Extension(destination *v20230501s.Extension) error {
+func (extension *Extension) AssignProperties_To_Extension(destination *storage.Extension) error {
// ObjectMeta
destination.ObjectMeta = *extension.ObjectMeta.DeepCopy()
// Spec
- var spec v20230501s.Extension_Spec
+ var spec storage.Extension_Spec
err := extension.Spec.AssignProperties_To_Extension_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Extension_Spec() to populate field Spec")
@@ -285,7 +327,7 @@ func (extension *Extension) AssignProperties_To_Extension(destination *v20230501
destination.Spec = spec
// Status
- var status v20230501s.Extension_STATUS
+ var status storage.Extension_STATUS
err = extension.Status.AssignProperties_To_Extension_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Extension_STATUS() to populate field Status")
@@ -345,6 +387,10 @@ type Extension_Spec struct {
// Identity: Identity of the Extension resource
Identity *Identity `json:"identity,omitempty"`
+ // OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
+ // passed directly to Azure
+ OperatorSpec *ExtensionOperatorSpec `json:"operatorSpec,omitempty"`
+
// +kubebuilder:validation:Required
// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. This resource is an
@@ -544,6 +590,8 @@ func (extension *Extension_Spec) PopulateFromARM(owner genruntime.ArbitraryOwner
extension.Identity = &identity
}
+ // no assignment for property "OperatorSpec"
+
// Set property "Owner":
extension.Owner = &owner
@@ -609,14 +657,14 @@ var _ genruntime.ConvertibleSpec = &Extension_Spec{}
// ConvertSpecFrom populates our Extension_Spec from the provided source
func (extension *Extension_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20230501s.Extension_Spec)
+ src, ok := source.(*storage.Extension_Spec)
if ok {
// Populate our instance from source
return extension.AssignProperties_From_Extension_Spec(src)
}
// Convert to an intermediate form
- src = &v20230501s.Extension_Spec{}
+ src = &storage.Extension_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -633,14 +681,14 @@ func (extension *Extension_Spec) ConvertSpecFrom(source genruntime.ConvertibleSp
// ConvertSpecTo populates the provided destination from our Extension_Spec
func (extension *Extension_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20230501s.Extension_Spec)
+ dst, ok := destination.(*storage.Extension_Spec)
if ok {
// Populate destination from our instance
return extension.AssignProperties_To_Extension_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20230501s.Extension_Spec{}
+ dst = &storage.Extension_Spec{}
err := extension.AssignProperties_To_Extension_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -656,7 +704,7 @@ func (extension *Extension_Spec) ConvertSpecTo(destination genruntime.Convertibl
}
// AssignProperties_From_Extension_Spec populates our Extension_Spec from the provided source Extension_Spec
-func (extension *Extension_Spec) AssignProperties_From_Extension_Spec(source *v20230501s.Extension_Spec) error {
+func (extension *Extension_Spec) AssignProperties_From_Extension_Spec(source *storage.Extension_Spec) error {
// AksAssignedIdentity
if source.AksAssignedIdentity != nil {
@@ -707,6 +755,18 @@ func (extension *Extension_Spec) AssignProperties_From_Extension_Spec(source *v2
extension.Identity = nil
}
+ // OperatorSpec
+ if source.OperatorSpec != nil {
+ var operatorSpec ExtensionOperatorSpec
+ err := operatorSpec.AssignProperties_From_ExtensionOperatorSpec(source.OperatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ExtensionOperatorSpec() to populate field OperatorSpec")
+ }
+ extension.OperatorSpec = &operatorSpec
+ } else {
+ extension.OperatorSpec = nil
+ }
+
// Owner
if source.Owner != nil {
owner := source.Owner.Copy()
@@ -762,13 +822,13 @@ func (extension *Extension_Spec) AssignProperties_From_Extension_Spec(source *v2
}
// AssignProperties_To_Extension_Spec populates the provided destination Extension_Spec from our Extension_Spec
-func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination *v20230501s.Extension_Spec) error {
+func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination *storage.Extension_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AksAssignedIdentity
if extension.AksAssignedIdentity != nil {
- var aksAssignedIdentity v20230501s.Extension_Properties_AksAssignedIdentity_Spec
+ var aksAssignedIdentity storage.Extension_Properties_AksAssignedIdentity_Spec
err := extension.AksAssignedIdentity.AssignProperties_To_Extension_Properties_AksAssignedIdentity_Spec(&aksAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Extension_Properties_AksAssignedIdentity_Spec() to populate field AksAssignedIdentity")
@@ -805,7 +865,7 @@ func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination
// Identity
if extension.Identity != nil {
- var identity v20230501s.Identity
+ var identity storage.Identity
err := extension.Identity.AssignProperties_To_Identity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Identity() to populate field Identity")
@@ -815,6 +875,18 @@ func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination
destination.Identity = nil
}
+ // OperatorSpec
+ if extension.OperatorSpec != nil {
+ var operatorSpec storage.ExtensionOperatorSpec
+ err := extension.OperatorSpec.AssignProperties_To_ExtensionOperatorSpec(&operatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ExtensionOperatorSpec() to populate field OperatorSpec")
+ }
+ destination.OperatorSpec = &operatorSpec
+ } else {
+ destination.OperatorSpec = nil
+ }
+
// OriginalVersion
destination.OriginalVersion = extension.OriginalVersion()
@@ -828,7 +900,7 @@ func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination
// Plan
if extension.Plan != nil {
- var plan v20230501s.Plan
+ var plan storage.Plan
err := extension.Plan.AssignProperties_To_Plan(&plan)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Plan() to populate field Plan")
@@ -843,7 +915,7 @@ func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination
// Scope
if extension.Scope != nil {
- var scope v20230501s.Scope
+ var scope storage.Scope
err := extension.Scope.AssignProperties_To_Scope(&scope)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Scope() to populate field Scope")
@@ -855,7 +927,7 @@ func (extension *Extension_Spec) AssignProperties_To_Extension_Spec(destination
// SystemData
if extension.SystemData != nil {
- var systemDatum v20230501s.SystemData
+ var systemDatum storage.SystemData
err := extension.SystemData.AssignProperties_To_SystemData(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData() to populate field SystemData")
@@ -1053,14 +1125,14 @@ var _ genruntime.ConvertibleStatus = &Extension_STATUS{}
// ConvertStatusFrom populates our Extension_STATUS from the provided source
func (extension *Extension_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20230501s.Extension_STATUS)
+ src, ok := source.(*storage.Extension_STATUS)
if ok {
// Populate our instance from source
return extension.AssignProperties_From_Extension_STATUS(src)
}
// Convert to an intermediate form
- src = &v20230501s.Extension_STATUS{}
+ src = &storage.Extension_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1077,14 +1149,14 @@ func (extension *Extension_STATUS) ConvertStatusFrom(source genruntime.Convertib
// ConvertStatusTo populates the provided destination from our Extension_STATUS
func (extension *Extension_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20230501s.Extension_STATUS)
+ dst, ok := destination.(*storage.Extension_STATUS)
if ok {
// Populate destination from our instance
return extension.AssignProperties_To_Extension_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20230501s.Extension_STATUS{}
+ dst = &storage.Extension_STATUS{}
err := extension.AssignProperties_To_Extension_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1331,7 +1403,7 @@ func (extension *Extension_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_Extension_STATUS populates our Extension_STATUS from the provided source Extension_STATUS
-func (extension *Extension_STATUS) AssignProperties_From_Extension_STATUS(source *v20230501s.Extension_STATUS) error {
+func (extension *Extension_STATUS) AssignProperties_From_Extension_STATUS(source *storage.Extension_STATUS) error {
// AksAssignedIdentity
if source.AksAssignedIdentity != nil {
@@ -1426,8 +1498,9 @@ func (extension *Extension_STATUS) AssignProperties_From_Extension_STATUS(source
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningStateDefinition_STATUS(*source.ProvisioningState)
- extension.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningStateDefinition_STATUS_Values)
+ extension.ProvisioningState = &provisioningStateTemp
} else {
extension.ProvisioningState = nil
}
@@ -1488,13 +1561,13 @@ func (extension *Extension_STATUS) AssignProperties_From_Extension_STATUS(source
}
// AssignProperties_To_Extension_STATUS populates the provided destination Extension_STATUS from our Extension_STATUS
-func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destination *v20230501s.Extension_STATUS) error {
+func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destination *storage.Extension_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AksAssignedIdentity
if extension.AksAssignedIdentity != nil {
- var aksAssignedIdentity v20230501s.Extension_Properties_AksAssignedIdentity_STATUS
+ var aksAssignedIdentity storage.Extension_Properties_AksAssignedIdentity_STATUS
err := extension.AksAssignedIdentity.AssignProperties_To_Extension_Properties_AksAssignedIdentity_STATUS(&aksAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Extension_Properties_AksAssignedIdentity_STATUS() to populate field AksAssignedIdentity")
@@ -1529,7 +1602,7 @@ func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destinat
// ErrorInfo
if extension.ErrorInfo != nil {
- var errorInfo v20230501s.ErrorDetail_STATUS
+ var errorInfo storage.ErrorDetail_STATUS
err := extension.ErrorInfo.AssignProperties_To_ErrorDetail_STATUS(&errorInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorDetail_STATUS() to populate field ErrorInfo")
@@ -1547,7 +1620,7 @@ func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destinat
// Identity
if extension.Identity != nil {
- var identity v20230501s.Identity_STATUS
+ var identity storage.Identity_STATUS
err := extension.Identity.AssignProperties_To_Identity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Identity_STATUS() to populate field Identity")
@@ -1573,7 +1646,7 @@ func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destinat
// Plan
if extension.Plan != nil {
- var plan v20230501s.Plan_STATUS
+ var plan storage.Plan_STATUS
err := extension.Plan.AssignProperties_To_Plan_STATUS(&plan)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Plan_STATUS() to populate field Plan")
@@ -1596,7 +1669,7 @@ func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destinat
// Scope
if extension.Scope != nil {
- var scope v20230501s.Scope_STATUS
+ var scope storage.Scope_STATUS
err := extension.Scope.AssignProperties_To_Scope_STATUS(&scope)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Scope_STATUS() to populate field Scope")
@@ -1608,11 +1681,11 @@ func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destinat
// Statuses
if extension.Statuses != nil {
- statusList := make([]v20230501s.ExtensionStatus_STATUS, len(extension.Statuses))
+ statusList := make([]storage.ExtensionStatus_STATUS, len(extension.Statuses))
for statusIndex, statusItem := range extension.Statuses {
// Shadow the loop variable to avoid aliasing
statusItem := statusItem
- var status v20230501s.ExtensionStatus_STATUS
+ var status storage.ExtensionStatus_STATUS
err := statusItem.AssignProperties_To_ExtensionStatus_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtensionStatus_STATUS() to populate field Statuses")
@@ -1626,7 +1699,7 @@ func (extension *Extension_STATUS) AssignProperties_To_Extension_STATUS(destinat
// SystemData
if extension.SystemData != nil {
- var systemDatum v20230501s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := extension.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -1728,7 +1801,7 @@ func (detail *ErrorDetail_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ErrorDetail_STATUS populates our ErrorDetail_STATUS from the provided source ErrorDetail_STATUS
-func (detail *ErrorDetail_STATUS) AssignProperties_From_ErrorDetail_STATUS(source *v20230501s.ErrorDetail_STATUS) error {
+func (detail *ErrorDetail_STATUS) AssignProperties_From_ErrorDetail_STATUS(source *storage.ErrorDetail_STATUS) error {
// AdditionalInfo
if source.AdditionalInfo != nil {
@@ -1780,17 +1853,17 @@ func (detail *ErrorDetail_STATUS) AssignProperties_From_ErrorDetail_STATUS(sourc
}
// AssignProperties_To_ErrorDetail_STATUS populates the provided destination ErrorDetail_STATUS from our ErrorDetail_STATUS
-func (detail *ErrorDetail_STATUS) AssignProperties_To_ErrorDetail_STATUS(destination *v20230501s.ErrorDetail_STATUS) error {
+func (detail *ErrorDetail_STATUS) AssignProperties_To_ErrorDetail_STATUS(destination *storage.ErrorDetail_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdditionalInfo
if detail.AdditionalInfo != nil {
- additionalInfoList := make([]v20230501s.ErrorAdditionalInfo_STATUS, len(detail.AdditionalInfo))
+ additionalInfoList := make([]storage.ErrorAdditionalInfo_STATUS, len(detail.AdditionalInfo))
for additionalInfoIndex, additionalInfoItem := range detail.AdditionalInfo {
// Shadow the loop variable to avoid aliasing
additionalInfoItem := additionalInfoItem
- var additionalInfo v20230501s.ErrorAdditionalInfo_STATUS
+ var additionalInfo storage.ErrorAdditionalInfo_STATUS
err := additionalInfoItem.AssignProperties_To_ErrorAdditionalInfo_STATUS(&additionalInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorAdditionalInfo_STATUS() to populate field AdditionalInfo")
@@ -1807,11 +1880,11 @@ func (detail *ErrorDetail_STATUS) AssignProperties_To_ErrorDetail_STATUS(destina
// Details
if detail.Details != nil {
- detailList := make([]v20230501s.ErrorDetail_STATUS_Unrolled, len(detail.Details))
+ detailList := make([]storage.ErrorDetail_STATUS_Unrolled, len(detail.Details))
for detailIndex, detailItem := range detail.Details {
// Shadow the loop variable to avoid aliasing
detailItem := detailItem
- var detailLocal v20230501s.ErrorDetail_STATUS_Unrolled
+ var detailLocal storage.ErrorDetail_STATUS_Unrolled
err := detailItem.AssignProperties_To_ErrorDetail_STATUS_Unrolled(&detailLocal)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorDetail_STATUS_Unrolled() to populate field Details")
@@ -1885,12 +1958,13 @@ func (identity *Extension_Properties_AksAssignedIdentity_Spec) PopulateFromARM(o
}
// AssignProperties_From_Extension_Properties_AksAssignedIdentity_Spec populates our Extension_Properties_AksAssignedIdentity_Spec from the provided source Extension_Properties_AksAssignedIdentity_Spec
-func (identity *Extension_Properties_AksAssignedIdentity_Spec) AssignProperties_From_Extension_Properties_AksAssignedIdentity_Spec(source *v20230501s.Extension_Properties_AksAssignedIdentity_Spec) error {
+func (identity *Extension_Properties_AksAssignedIdentity_Spec) AssignProperties_From_Extension_Properties_AksAssignedIdentity_Spec(source *storage.Extension_Properties_AksAssignedIdentity_Spec) error {
// Type
if source.Type != nil {
- typeVar := Extension_Properties_AksAssignedIdentity_Type_Spec(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extension_Properties_AksAssignedIdentity_Type_Spec_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -1900,7 +1974,7 @@ func (identity *Extension_Properties_AksAssignedIdentity_Spec) AssignProperties_
}
// AssignProperties_To_Extension_Properties_AksAssignedIdentity_Spec populates the provided destination Extension_Properties_AksAssignedIdentity_Spec from our Extension_Properties_AksAssignedIdentity_Spec
-func (identity *Extension_Properties_AksAssignedIdentity_Spec) AssignProperties_To_Extension_Properties_AksAssignedIdentity_Spec(destination *v20230501s.Extension_Properties_AksAssignedIdentity_Spec) error {
+func (identity *Extension_Properties_AksAssignedIdentity_Spec) AssignProperties_To_Extension_Properties_AksAssignedIdentity_Spec(destination *storage.Extension_Properties_AksAssignedIdentity_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1928,7 +2002,7 @@ func (identity *Extension_Properties_AksAssignedIdentity_Spec) Initialize_From_E
// Type
if source.Type != nil {
- typeVar := Extension_Properties_AksAssignedIdentity_Type_Spec(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), extension_Properties_AksAssignedIdentity_Type_Spec_Values)
identity.Type = &typeVar
} else {
identity.Type = nil
@@ -1986,7 +2060,7 @@ func (identity *Extension_Properties_AksAssignedIdentity_STATUS) PopulateFromARM
}
// AssignProperties_From_Extension_Properties_AksAssignedIdentity_STATUS populates our Extension_Properties_AksAssignedIdentity_STATUS from the provided source Extension_Properties_AksAssignedIdentity_STATUS
-func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignProperties_From_Extension_Properties_AksAssignedIdentity_STATUS(source *v20230501s.Extension_Properties_AksAssignedIdentity_STATUS) error {
+func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignProperties_From_Extension_Properties_AksAssignedIdentity_STATUS(source *storage.Extension_Properties_AksAssignedIdentity_STATUS) error {
// PrincipalId
identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
@@ -1996,8 +2070,9 @@ func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignPropertie
// Type
if source.Type != nil {
- typeVar := Extension_Properties_AksAssignedIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extension_Properties_AksAssignedIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -2007,7 +2082,7 @@ func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignPropertie
}
// AssignProperties_To_Extension_Properties_AksAssignedIdentity_STATUS populates the provided destination Extension_Properties_AksAssignedIdentity_STATUS from our Extension_Properties_AksAssignedIdentity_STATUS
-func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignProperties_To_Extension_Properties_AksAssignedIdentity_STATUS(destination *v20230501s.Extension_Properties_AksAssignedIdentity_STATUS) error {
+func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignProperties_To_Extension_Properties_AksAssignedIdentity_STATUS(destination *storage.Extension_Properties_AksAssignedIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2036,6 +2111,59 @@ func (identity *Extension_Properties_AksAssignedIdentity_STATUS) AssignPropertie
return nil
}
+// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
+type ExtensionOperatorSpec struct {
+ // ConfigMaps: configures where to place operator written ConfigMaps.
+ ConfigMaps *ExtensionOperatorConfigMaps `json:"configMaps,omitempty"`
+}
+
+// AssignProperties_From_ExtensionOperatorSpec populates our ExtensionOperatorSpec from the provided source ExtensionOperatorSpec
+func (operator *ExtensionOperatorSpec) AssignProperties_From_ExtensionOperatorSpec(source *storage.ExtensionOperatorSpec) error {
+
+ // ConfigMaps
+ if source.ConfigMaps != nil {
+ var configMap ExtensionOperatorConfigMaps
+ err := configMap.AssignProperties_From_ExtensionOperatorConfigMaps(source.ConfigMaps)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_ExtensionOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ operator.ConfigMaps = &configMap
+ } else {
+ operator.ConfigMaps = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ExtensionOperatorSpec populates the provided destination ExtensionOperatorSpec from our ExtensionOperatorSpec
+func (operator *ExtensionOperatorSpec) AssignProperties_To_ExtensionOperatorSpec(destination *storage.ExtensionOperatorSpec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ConfigMaps
+ if operator.ConfigMaps != nil {
+ var configMap storage.ExtensionOperatorConfigMaps
+ err := operator.ConfigMaps.AssignProperties_To_ExtensionOperatorConfigMaps(&configMap)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_ExtensionOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ destination.ConfigMaps = &configMap
+ } else {
+ destination.ConfigMaps = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
// Status from the extension.
type ExtensionStatus_STATUS struct {
// Code: Status code provided by the Extension
@@ -2103,7 +2231,7 @@ func (status *ExtensionStatus_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ExtensionStatus_STATUS populates our ExtensionStatus_STATUS from the provided source ExtensionStatus_STATUS
-func (status *ExtensionStatus_STATUS) AssignProperties_From_ExtensionStatus_STATUS(source *v20230501s.ExtensionStatus_STATUS) error {
+func (status *ExtensionStatus_STATUS) AssignProperties_From_ExtensionStatus_STATUS(source *storage.ExtensionStatus_STATUS) error {
// Code
status.Code = genruntime.ClonePointerToString(source.Code)
@@ -2113,8 +2241,9 @@ func (status *ExtensionStatus_STATUS) AssignProperties_From_ExtensionStatus_STAT
// Level
if source.Level != nil {
- level := ExtensionStatus_Level_STATUS(*source.Level)
- status.Level = &level
+ level := *source.Level
+ levelTemp := genruntime.ToEnum(level, extensionStatus_Level_STATUS_Values)
+ status.Level = &levelTemp
} else {
status.Level = nil
}
@@ -2130,7 +2259,7 @@ func (status *ExtensionStatus_STATUS) AssignProperties_From_ExtensionStatus_STAT
}
// AssignProperties_To_ExtensionStatus_STATUS populates the provided destination ExtensionStatus_STATUS from our ExtensionStatus_STATUS
-func (status *ExtensionStatus_STATUS) AssignProperties_To_ExtensionStatus_STATUS(destination *v20230501s.ExtensionStatus_STATUS) error {
+func (status *ExtensionStatus_STATUS) AssignProperties_To_ExtensionStatus_STATUS(destination *storage.ExtensionStatus_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2211,12 +2340,13 @@ func (identity *Identity) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_Identity populates our Identity from the provided source Identity
-func (identity *Identity) AssignProperties_From_Identity(source *v20230501s.Identity) error {
+func (identity *Identity) AssignProperties_From_Identity(source *storage.Identity) error {
// Type
if source.Type != nil {
- typeVar := Identity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, identity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -2226,7 +2356,7 @@ func (identity *Identity) AssignProperties_From_Identity(source *v20230501s.Iden
}
// AssignProperties_To_Identity populates the provided destination Identity from our Identity
-func (identity *Identity) AssignProperties_To_Identity(destination *v20230501s.Identity) error {
+func (identity *Identity) AssignProperties_To_Identity(destination *storage.Identity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2254,7 +2384,7 @@ func (identity *Identity) Initialize_From_Identity_STATUS(source *Identity_STATU
// Type
if source.Type != nil {
- typeVar := Identity_Type(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), identity_Type_Values)
identity.Type = &typeVar
} else {
identity.Type = nil
@@ -2313,7 +2443,7 @@ func (identity *Identity_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_Identity_STATUS populates our Identity_STATUS from the provided source Identity_STATUS
-func (identity *Identity_STATUS) AssignProperties_From_Identity_STATUS(source *v20230501s.Identity_STATUS) error {
+func (identity *Identity_STATUS) AssignProperties_From_Identity_STATUS(source *storage.Identity_STATUS) error {
// PrincipalId
identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
@@ -2323,8 +2453,9 @@ func (identity *Identity_STATUS) AssignProperties_From_Identity_STATUS(source *v
// Type
if source.Type != nil {
- typeVar := Identity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, identity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -2334,7 +2465,7 @@ func (identity *Identity_STATUS) AssignProperties_From_Identity_STATUS(source *v
}
// AssignProperties_To_Identity_STATUS populates the provided destination Identity_STATUS from our Identity_STATUS
-func (identity *Identity_STATUS) AssignProperties_To_Identity_STATUS(destination *v20230501s.Identity_STATUS) error {
+func (identity *Identity_STATUS) AssignProperties_To_Identity_STATUS(destination *storage.Identity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2473,7 +2604,7 @@ func (plan *Plan) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armI
}
// AssignProperties_From_Plan populates our Plan from the provided source Plan
-func (plan *Plan) AssignProperties_From_Plan(source *v20230501s.Plan) error {
+func (plan *Plan) AssignProperties_From_Plan(source *storage.Plan) error {
// Name
plan.Name = genruntime.ClonePointerToString(source.Name)
@@ -2495,7 +2626,7 @@ func (plan *Plan) AssignProperties_From_Plan(source *v20230501s.Plan) error {
}
// AssignProperties_To_Plan populates the provided destination Plan from our Plan
-func (plan *Plan) AssignProperties_To_Plan(destination *v20230501s.Plan) error {
+func (plan *Plan) AssignProperties_To_Plan(destination *storage.Plan) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2615,7 +2746,7 @@ func (plan *Plan_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReferenc
}
// AssignProperties_From_Plan_STATUS populates our Plan_STATUS from the provided source Plan_STATUS
-func (plan *Plan_STATUS) AssignProperties_From_Plan_STATUS(source *v20230501s.Plan_STATUS) error {
+func (plan *Plan_STATUS) AssignProperties_From_Plan_STATUS(source *storage.Plan_STATUS) error {
// Name
plan.Name = genruntime.ClonePointerToString(source.Name)
@@ -2637,7 +2768,7 @@ func (plan *Plan_STATUS) AssignProperties_From_Plan_STATUS(source *v20230501s.Pl
}
// AssignProperties_To_Plan_STATUS populates the provided destination Plan_STATUS from our Plan_STATUS
-func (plan *Plan_STATUS) AssignProperties_To_Plan_STATUS(destination *v20230501s.Plan_STATUS) error {
+func (plan *Plan_STATUS) AssignProperties_To_Plan_STATUS(destination *storage.Plan_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2679,6 +2810,16 @@ const (
ProvisioningStateDefinition_STATUS_Updating = ProvisioningStateDefinition_STATUS("Updating")
)
+// Mapping from string to ProvisioningStateDefinition_STATUS
+var provisioningStateDefinition_STATUS_Values = map[string]ProvisioningStateDefinition_STATUS{
+ "canceled": ProvisioningStateDefinition_STATUS_Canceled,
+ "creating": ProvisioningStateDefinition_STATUS_Creating,
+ "deleting": ProvisioningStateDefinition_STATUS_Deleting,
+ "failed": ProvisioningStateDefinition_STATUS_Failed,
+ "succeeded": ProvisioningStateDefinition_STATUS_Succeeded,
+ "updating": ProvisioningStateDefinition_STATUS_Updating,
+}
+
// Scope of the extension. It can be either Cluster or Namespace; but not both.
type Scope struct {
// Cluster: Specifies that the scope of the extension is Cluster
@@ -2758,7 +2899,7 @@ func (scope *Scope) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_Scope populates our Scope from the provided source Scope
-func (scope *Scope) AssignProperties_From_Scope(source *v20230501s.Scope) error {
+func (scope *Scope) AssignProperties_From_Scope(source *storage.Scope) error {
// Cluster
if source.Cluster != nil {
@@ -2789,13 +2930,13 @@ func (scope *Scope) AssignProperties_From_Scope(source *v20230501s.Scope) error
}
// AssignProperties_To_Scope populates the provided destination Scope from our Scope
-func (scope *Scope) AssignProperties_To_Scope(destination *v20230501s.Scope) error {
+func (scope *Scope) AssignProperties_To_Scope(destination *storage.Scope) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Cluster
if scope.Cluster != nil {
- var cluster v20230501s.ScopeCluster
+ var cluster storage.ScopeCluster
err := scope.Cluster.AssignProperties_To_ScopeCluster(&cluster)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ScopeCluster() to populate field Cluster")
@@ -2807,7 +2948,7 @@ func (scope *Scope) AssignProperties_To_Scope(destination *v20230501s.Scope) err
// Namespace
if scope.Namespace != nil {
- var namespace v20230501s.ScopeNamespace
+ var namespace storage.ScopeNamespace
err := scope.Namespace.AssignProperties_To_ScopeNamespace(&namespace)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ScopeNamespace() to populate field Namespace")
@@ -2909,7 +3050,7 @@ func (scope *Scope_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_Scope_STATUS populates our Scope_STATUS from the provided source Scope_STATUS
-func (scope *Scope_STATUS) AssignProperties_From_Scope_STATUS(source *v20230501s.Scope_STATUS) error {
+func (scope *Scope_STATUS) AssignProperties_From_Scope_STATUS(source *storage.Scope_STATUS) error {
// Cluster
if source.Cluster != nil {
@@ -2940,13 +3081,13 @@ func (scope *Scope_STATUS) AssignProperties_From_Scope_STATUS(source *v20230501s
}
// AssignProperties_To_Scope_STATUS populates the provided destination Scope_STATUS from our Scope_STATUS
-func (scope *Scope_STATUS) AssignProperties_To_Scope_STATUS(destination *v20230501s.Scope_STATUS) error {
+func (scope *Scope_STATUS) AssignProperties_To_Scope_STATUS(destination *storage.Scope_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// Cluster
if scope.Cluster != nil {
- var cluster v20230501s.ScopeCluster_STATUS
+ var cluster storage.ScopeCluster_STATUS
err := scope.Cluster.AssignProperties_To_ScopeCluster_STATUS(&cluster)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ScopeCluster_STATUS() to populate field Cluster")
@@ -2958,7 +3099,7 @@ func (scope *Scope_STATUS) AssignProperties_To_Scope_STATUS(destination *v202305
// Namespace
if scope.Namespace != nil {
- var namespace v20230501s.ScopeNamespace_STATUS
+ var namespace storage.ScopeNamespace_STATUS
err := scope.Namespace.AssignProperties_To_ScopeNamespace_STATUS(&namespace)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ScopeNamespace_STATUS() to populate field Namespace")
@@ -3100,7 +3241,7 @@ func (data *SystemData) PopulateFromARM(owner genruntime.ArbitraryOwnerReference
}
// AssignProperties_From_SystemData populates our SystemData from the provided source SystemData
-func (data *SystemData) AssignProperties_From_SystemData(source *v20230501s.SystemData) error {
+func (data *SystemData) AssignProperties_From_SystemData(source *storage.SystemData) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -3110,8 +3251,9 @@ func (data *SystemData) AssignProperties_From_SystemData(source *v20230501s.Syst
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -3124,8 +3266,9 @@ func (data *SystemData) AssignProperties_From_SystemData(source *v20230501s.Syst
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -3135,7 +3278,7 @@ func (data *SystemData) AssignProperties_From_SystemData(source *v20230501s.Syst
}
// AssignProperties_To_SystemData populates the provided destination SystemData from our SystemData
-func (data *SystemData) AssignProperties_To_SystemData(destination *v20230501s.SystemData) error {
+func (data *SystemData) AssignProperties_To_SystemData(destination *storage.SystemData) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3189,7 +3332,7 @@ func (data *SystemData) Initialize_From_SystemData_STATUS(source *SystemData_STA
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType(*source.CreatedByType)
+ createdByType := genruntime.ToEnum(string(*source.CreatedByType), systemData_CreatedByType_Values)
data.CreatedByType = &createdByType
} else {
data.CreatedByType = nil
@@ -3203,7 +3346,7 @@ func (data *SystemData) Initialize_From_SystemData_STATUS(source *SystemData_STA
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType(*source.LastModifiedByType)
+ lastModifiedByType := genruntime.ToEnum(string(*source.LastModifiedByType), systemData_LastModifiedByType_Values)
data.LastModifiedByType = &lastModifiedByType
} else {
data.LastModifiedByType = nil
@@ -3289,7 +3432,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20230501s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -3299,8 +3442,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -3313,8 +3457,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -3324,7 +3469,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20230501s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3409,7 +3554,7 @@ func (info *ErrorAdditionalInfo_STATUS) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ErrorAdditionalInfo_STATUS populates our ErrorAdditionalInfo_STATUS from the provided source ErrorAdditionalInfo_STATUS
-func (info *ErrorAdditionalInfo_STATUS) AssignProperties_From_ErrorAdditionalInfo_STATUS(source *v20230501s.ErrorAdditionalInfo_STATUS) error {
+func (info *ErrorAdditionalInfo_STATUS) AssignProperties_From_ErrorAdditionalInfo_STATUS(source *storage.ErrorAdditionalInfo_STATUS) error {
// Info
if source.Info != nil {
@@ -3432,7 +3577,7 @@ func (info *ErrorAdditionalInfo_STATUS) AssignProperties_From_ErrorAdditionalInf
}
// AssignProperties_To_ErrorAdditionalInfo_STATUS populates the provided destination ErrorAdditionalInfo_STATUS from our ErrorAdditionalInfo_STATUS
-func (info *ErrorAdditionalInfo_STATUS) AssignProperties_To_ErrorAdditionalInfo_STATUS(destination *v20230501s.ErrorAdditionalInfo_STATUS) error {
+func (info *ErrorAdditionalInfo_STATUS) AssignProperties_To_ErrorAdditionalInfo_STATUS(destination *storage.ErrorAdditionalInfo_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3524,7 +3669,7 @@ func (unrolled *ErrorDetail_STATUS_Unrolled) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ErrorDetail_STATUS_Unrolled populates our ErrorDetail_STATUS_Unrolled from the provided source ErrorDetail_STATUS_Unrolled
-func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_From_ErrorDetail_STATUS_Unrolled(source *v20230501s.ErrorDetail_STATUS_Unrolled) error {
+func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_From_ErrorDetail_STATUS_Unrolled(source *storage.ErrorDetail_STATUS_Unrolled) error {
// AdditionalInfo
if source.AdditionalInfo != nil {
@@ -3558,17 +3703,17 @@ func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_From_ErrorDetail_S
}
// AssignProperties_To_ErrorDetail_STATUS_Unrolled populates the provided destination ErrorDetail_STATUS_Unrolled from our ErrorDetail_STATUS_Unrolled
-func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_To_ErrorDetail_STATUS_Unrolled(destination *v20230501s.ErrorDetail_STATUS_Unrolled) error {
+func (unrolled *ErrorDetail_STATUS_Unrolled) AssignProperties_To_ErrorDetail_STATUS_Unrolled(destination *storage.ErrorDetail_STATUS_Unrolled) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AdditionalInfo
if unrolled.AdditionalInfo != nil {
- additionalInfoList := make([]v20230501s.ErrorAdditionalInfo_STATUS, len(unrolled.AdditionalInfo))
+ additionalInfoList := make([]storage.ErrorAdditionalInfo_STATUS, len(unrolled.AdditionalInfo))
for additionalInfoIndex, additionalInfoItem := range unrolled.AdditionalInfo {
// Shadow the loop variable to avoid aliasing
additionalInfoItem := additionalInfoItem
- var additionalInfo v20230501s.ErrorAdditionalInfo_STATUS
+ var additionalInfo storage.ErrorAdditionalInfo_STATUS
err := additionalInfoItem.AssignProperties_To_ErrorAdditionalInfo_STATUS(&additionalInfo)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ErrorAdditionalInfo_STATUS() to populate field AdditionalInfo")
@@ -3608,6 +3753,12 @@ const (
Extension_Properties_AksAssignedIdentity_Type_Spec_UserAssigned = Extension_Properties_AksAssignedIdentity_Type_Spec("UserAssigned")
)
+// Mapping from string to Extension_Properties_AksAssignedIdentity_Type_Spec
+var extension_Properties_AksAssignedIdentity_Type_Spec_Values = map[string]Extension_Properties_AksAssignedIdentity_Type_Spec{
+ "systemassigned": Extension_Properties_AksAssignedIdentity_Type_Spec_SystemAssigned,
+ "userassigned": Extension_Properties_AksAssignedIdentity_Type_Spec_UserAssigned,
+}
+
type Extension_Properties_AksAssignedIdentity_Type_STATUS string
const (
@@ -3615,6 +3766,56 @@ const (
Extension_Properties_AksAssignedIdentity_Type_STATUS_UserAssigned = Extension_Properties_AksAssignedIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to Extension_Properties_AksAssignedIdentity_Type_STATUS
+var extension_Properties_AksAssignedIdentity_Type_STATUS_Values = map[string]Extension_Properties_AksAssignedIdentity_Type_STATUS{
+ "systemassigned": Extension_Properties_AksAssignedIdentity_Type_STATUS_SystemAssigned,
+ "userassigned": Extension_Properties_AksAssignedIdentity_Type_STATUS_UserAssigned,
+}
+
+type ExtensionOperatorConfigMaps struct {
+ // PrincipalId: indicates where the PrincipalId config map should be placed. If omitted, no config map will be created.
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
+}
+
+// AssignProperties_From_ExtensionOperatorConfigMaps populates our ExtensionOperatorConfigMaps from the provided source ExtensionOperatorConfigMaps
+func (maps *ExtensionOperatorConfigMaps) AssignProperties_From_ExtensionOperatorConfigMaps(source *storage.ExtensionOperatorConfigMaps) error {
+
+ // PrincipalId
+ if source.PrincipalId != nil {
+ principalId := source.PrincipalId.Copy()
+ maps.PrincipalId = &principalId
+ } else {
+ maps.PrincipalId = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_ExtensionOperatorConfigMaps populates the provided destination ExtensionOperatorConfigMaps from our ExtensionOperatorConfigMaps
+func (maps *ExtensionOperatorConfigMaps) AssignProperties_To_ExtensionOperatorConfigMaps(destination *storage.ExtensionOperatorConfigMaps) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PrincipalId
+ if maps.PrincipalId != nil {
+ principalId := maps.PrincipalId.Copy()
+ destination.PrincipalId = &principalId
+ } else {
+ destination.PrincipalId = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
type ExtensionStatus_Level_STATUS string
const (
@@ -3623,6 +3824,13 @@ const (
ExtensionStatus_Level_STATUS_Warning = ExtensionStatus_Level_STATUS("Warning")
)
+// Mapping from string to ExtensionStatus_Level_STATUS
+var extensionStatus_Level_STATUS_Values = map[string]ExtensionStatus_Level_STATUS{
+ "error": ExtensionStatus_Level_STATUS_Error,
+ "information": ExtensionStatus_Level_STATUS_Information,
+ "warning": ExtensionStatus_Level_STATUS_Warning,
+}
+
// Specifies that the scope of the extension is Cluster
type ScopeCluster struct {
// ReleaseNamespace: Namespace where the extension Release must be placed, for a Cluster scoped extension. If this
@@ -3670,7 +3878,7 @@ func (cluster *ScopeCluster) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_ScopeCluster populates our ScopeCluster from the provided source ScopeCluster
-func (cluster *ScopeCluster) AssignProperties_From_ScopeCluster(source *v20230501s.ScopeCluster) error {
+func (cluster *ScopeCluster) AssignProperties_From_ScopeCluster(source *storage.ScopeCluster) error {
// ReleaseNamespace
cluster.ReleaseNamespace = genruntime.ClonePointerToString(source.ReleaseNamespace)
@@ -3680,7 +3888,7 @@ func (cluster *ScopeCluster) AssignProperties_From_ScopeCluster(source *v2023050
}
// AssignProperties_To_ScopeCluster populates the provided destination ScopeCluster from our ScopeCluster
-func (cluster *ScopeCluster) AssignProperties_To_ScopeCluster(destination *v20230501s.ScopeCluster) error {
+func (cluster *ScopeCluster) AssignProperties_To_ScopeCluster(destination *storage.ScopeCluster) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3740,7 +3948,7 @@ func (cluster *ScopeCluster_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_ScopeCluster_STATUS populates our ScopeCluster_STATUS from the provided source ScopeCluster_STATUS
-func (cluster *ScopeCluster_STATUS) AssignProperties_From_ScopeCluster_STATUS(source *v20230501s.ScopeCluster_STATUS) error {
+func (cluster *ScopeCluster_STATUS) AssignProperties_From_ScopeCluster_STATUS(source *storage.ScopeCluster_STATUS) error {
// ReleaseNamespace
cluster.ReleaseNamespace = genruntime.ClonePointerToString(source.ReleaseNamespace)
@@ -3750,7 +3958,7 @@ func (cluster *ScopeCluster_STATUS) AssignProperties_From_ScopeCluster_STATUS(so
}
// AssignProperties_To_ScopeCluster_STATUS populates the provided destination ScopeCluster_STATUS from our ScopeCluster_STATUS
-func (cluster *ScopeCluster_STATUS) AssignProperties_To_ScopeCluster_STATUS(destination *v20230501s.ScopeCluster_STATUS) error {
+func (cluster *ScopeCluster_STATUS) AssignProperties_To_ScopeCluster_STATUS(destination *storage.ScopeCluster_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3815,7 +4023,7 @@ func (namespace *ScopeNamespace) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_ScopeNamespace populates our ScopeNamespace from the provided source ScopeNamespace
-func (namespace *ScopeNamespace) AssignProperties_From_ScopeNamespace(source *v20230501s.ScopeNamespace) error {
+func (namespace *ScopeNamespace) AssignProperties_From_ScopeNamespace(source *storage.ScopeNamespace) error {
// TargetNamespace
namespace.TargetNamespace = genruntime.ClonePointerToString(source.TargetNamespace)
@@ -3825,7 +4033,7 @@ func (namespace *ScopeNamespace) AssignProperties_From_ScopeNamespace(source *v2
}
// AssignProperties_To_ScopeNamespace populates the provided destination ScopeNamespace from our ScopeNamespace
-func (namespace *ScopeNamespace) AssignProperties_To_ScopeNamespace(destination *v20230501s.ScopeNamespace) error {
+func (namespace *ScopeNamespace) AssignProperties_To_ScopeNamespace(destination *storage.ScopeNamespace) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3885,7 +4093,7 @@ func (namespace *ScopeNamespace_STATUS) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ScopeNamespace_STATUS populates our ScopeNamespace_STATUS from the provided source ScopeNamespace_STATUS
-func (namespace *ScopeNamespace_STATUS) AssignProperties_From_ScopeNamespace_STATUS(source *v20230501s.ScopeNamespace_STATUS) error {
+func (namespace *ScopeNamespace_STATUS) AssignProperties_From_ScopeNamespace_STATUS(source *storage.ScopeNamespace_STATUS) error {
// TargetNamespace
namespace.TargetNamespace = genruntime.ClonePointerToString(source.TargetNamespace)
@@ -3895,7 +4103,7 @@ func (namespace *ScopeNamespace_STATUS) AssignProperties_From_ScopeNamespace_STA
}
// AssignProperties_To_ScopeNamespace_STATUS populates the provided destination ScopeNamespace_STATUS from our ScopeNamespace_STATUS
-func (namespace *ScopeNamespace_STATUS) AssignProperties_To_ScopeNamespace_STATUS(destination *v20230501s.ScopeNamespace_STATUS) error {
+func (namespace *ScopeNamespace_STATUS) AssignProperties_To_ScopeNamespace_STATUS(destination *storage.ScopeNamespace_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/extension_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/extension_types_gen.go
index dfeb2f8b7b..73fdd9ee3b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/extension_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/extension_types_gen.go
@@ -4,12 +4,17 @@
package storage
import (
+ "context"
+ "github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
+ "github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps"
+ "github.com/go-logr/logr"
"github.com/pkg/errors"
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
+ "sigs.k8s.io/controller-runtime/pkg/client"
)
// +kubebuilder:rbac:groups=kubernetesconfiguration.azure.com,resources=extensions,verbs=get;list;watch;create;update;patch;delete
@@ -45,6 +50,25 @@ func (extension *Extension) SetConditions(conditions conditions.Conditions) {
extension.Status.Conditions = conditions
}
+var _ genruntime.KubernetesExporter = &Extension{}
+
+// ExportKubernetesResources defines a resource which can create other resources in Kubernetes.
+func (extension *Extension) ExportKubernetesResources(_ context.Context, _ genruntime.MetaObject, _ *genericarmclient.GenericClient, _ logr.Logger) ([]client.Object, error) {
+ collector := configmaps.NewCollector(extension.Namespace)
+ if extension.Spec.OperatorSpec != nil && extension.Spec.OperatorSpec.ConfigMaps != nil {
+ if extension.Status.AksAssignedIdentity != nil {
+ if extension.Status.AksAssignedIdentity.PrincipalId != nil {
+ collector.AddValue(extension.Spec.OperatorSpec.ConfigMaps.PrincipalId, *extension.Status.AksAssignedIdentity.PrincipalId)
+ }
+ }
+ }
+ result, err := collector.Values()
+ if err != nil {
+ return nil, err
+ }
+ return configmaps.SliceToClientObjectSlice(result), nil
+}
+
var _ genruntime.KubernetesResource = &Extension{}
// AzureName returns the Azure name of the resource
@@ -156,6 +180,7 @@ type Extension_Spec struct {
ConfigurationSettings map[string]string `json:"configurationSettings,omitempty"`
ExtensionType *string `json:"extensionType,omitempty"`
Identity *Identity `json:"identity,omitempty"`
+ OperatorSpec *ExtensionOperatorSpec `json:"operatorSpec,omitempty"`
OriginalVersion string `json:"originalVersion,omitempty"`
// +kubebuilder:validation:Required
@@ -264,6 +289,13 @@ type Extension_Properties_AksAssignedIdentity_STATUS struct {
Type *string `json:"type,omitempty"`
}
+// Storage version of v1api20230501.ExtensionOperatorSpec
+// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
+type ExtensionOperatorSpec struct {
+ ConfigMaps *ExtensionOperatorConfigMaps `json:"configMaps,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
// Storage version of v1api20230501.ExtensionStatus_STATUS
// Status from the extension.
type ExtensionStatus_STATUS struct {
@@ -370,6 +402,12 @@ type ErrorDetail_STATUS_Unrolled struct {
Target *string `json:"target,omitempty"`
}
+// Storage version of v1api20230501.ExtensionOperatorConfigMaps
+type ExtensionOperatorConfigMaps struct {
+ PrincipalId *genruntime.ConfigMapDestination `json:"principalId,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
// Storage version of v1api20230501.ScopeCluster
// Specifies that the scope of the extension is Cluster
type ScopeCluster struct {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/structure.txt
index 8d400e6d5e..e14c71c8a4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/structure.txt
@@ -1,120 +1,126 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage
-├── APIVersion: Enum (1 value)
-│ └── "2023-05-01"
-└── Extension: Resource
- ├── Spec: Object (15 properties)
- │ ├── AksAssignedIdentity: *Object (2 properties)
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Type: *string
- │ ├── AutoUpgradeMinorVersion: *bool
- │ ├── AzureName: string
- │ ├── ConfigurationProtectedSettings: *genruntime.SecretMapReference
- │ ├── ConfigurationSettings: map[string]string
- │ ├── ExtensionType: *string
- │ ├── Identity: *Object (2 properties)
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Type: *string
- │ ├── OriginalVersion: string
- │ ├── Owner: *genruntime.ArbitraryOwnerReference
- │ ├── Plan: *Object (6 properties)
- │ │ ├── Name: *string
- │ │ ├── Product: *string
- │ │ ├── PromotionCode: *string
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ ├── Publisher: *string
- │ │ └── Version: *string
+--------------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-05-01"
+Extension: Resource
+├── Spec: Object (16 properties)
+│ ├── AksAssignedIdentity: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── AutoUpgradeMinorVersion: *bool
+│ ├── AzureName: string
+│ ├── ConfigurationProtectedSettings: *genruntime.SecretMapReference
+│ ├── ConfigurationSettings: map[string]string
+│ ├── ExtensionType: *string
+│ ├── Identity: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── PrincipalId: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.ArbitraryOwnerReference
+│ ├── Plan: *Object (6 properties)
+│ │ ├── Name: *string
+│ │ ├── Product: *string
+│ │ ├── PromotionCode: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Publisher: *string
+│ │ └── Version: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ReleaseTrain: *string
+│ ├── Scope: *Object (3 properties)
+│ │ ├── Cluster: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── ReleaseNamespace: *string
+│ │ ├── Namespace: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── TargetNamespace: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── SystemData: *Object (7 properties)
+│ │ ├── CreatedAt: *string
+│ │ ├── CreatedBy: *string
+│ │ ├── CreatedByType: *string
+│ │ ├── LastModifiedAt: *string
+│ │ ├── LastModifiedBy: *string
+│ │ ├── LastModifiedByType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── Version: *string
+└── Status: Object (23 properties)
+ ├── AksAssignedIdentity: *Object (4 properties)
+ │ ├── PrincipalId: *string
│ ├── PropertyBag: genruntime.PropertyBag
- │ ├── ReleaseTrain: *string
- │ ├── Scope: *Object (3 properties)
- │ │ ├── Cluster: *Object (2 properties)
+ │ ├── TenantId: *string
+ │ └── Type: *string
+ ├── AutoUpgradeMinorVersion: *bool
+ ├── Conditions: conditions.Condition[]
+ ├── ConfigurationProtectedSettings: map[string]string
+ ├── ConfigurationSettings: map[string]string
+ ├── CurrentVersion: *string
+ ├── CustomLocationSettings: map[string]string
+ ├── ErrorInfo: *Object (6 properties)
+ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ ├── Info: map[string]v1.JSON
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Type: *string
+ │ ├── Code: *string
+ │ ├── Details: Object (5 properties)[]
+ │ │ ├── AdditionalInfo: Object (3 properties)[]
+ │ │ │ ├── Info: map[string]v1.JSON
│ │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ │ └── ReleaseNamespace: *string
- │ │ ├── Namespace: *Object (2 properties)
- │ │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ │ └── TargetNamespace: *string
- │ │ └── PropertyBag: genruntime.PropertyBag
- │ ├── SystemData: *Object (7 properties)
- │ │ ├── CreatedAt: *string
- │ │ ├── CreatedBy: *string
- │ │ ├── CreatedByType: *string
- │ │ ├── LastModifiedAt: *string
- │ │ ├── LastModifiedBy: *string
- │ │ ├── LastModifiedByType: *string
- │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ │ └── Type: *string
+ │ │ ├── Code: *string
+ │ │ ├── Message: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Target: *string
+ │ ├── Message: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Target: *string
+ ├── ExtensionType: *string
+ ├── Id: *string
+ ├── Identity: *Object (4 properties)
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ └── Type: *string
+ ├── IsSystemExtension: *bool
+ ├── Name: *string
+ ├── PackageUri: *string
+ ├── Plan: *Object (6 properties)
+ │ ├── Name: *string
+ │ ├── Product: *string
+ │ ├── PromotionCode: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Publisher: *string
│ └── Version: *string
- └── Status: Object (23 properties)
- ├── AksAssignedIdentity: *Object (4 properties)
- │ ├── PrincipalId: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ ├── TenantId: *string
- │ └── Type: *string
- ├── AutoUpgradeMinorVersion: *bool
- ├── Conditions: conditions.Condition[]
- ├── ConfigurationProtectedSettings: map[string]string
- ├── ConfigurationSettings: map[string]string
- ├── CurrentVersion: *string
- ├── CustomLocationSettings: map[string]string
- ├── ErrorInfo: *Object (6 properties)
- │ ├── AdditionalInfo: Object (3 properties)[]
- │ │ ├── Info: map[string]v1.JSON
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Type: *string
- │ ├── Code: *string
- │ ├── Details: Object (5 properties)[]
- │ │ ├── AdditionalInfo: Object (3 properties)[]
- │ │ │ ├── Info: map[string]v1.JSON
- │ │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ │ └── Type: *string
- │ │ ├── Code: *string
- │ │ ├── Message: *string
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Target: *string
- │ ├── Message: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── Target: *string
- ├── ExtensionType: *string
- ├── Id: *string
- ├── Identity: *Object (4 properties)
- │ ├── PrincipalId: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ ├── TenantId: *string
- │ └── Type: *string
- ├── IsSystemExtension: *bool
- ├── Name: *string
- ├── PackageUri: *string
- ├── Plan: *Object (6 properties)
- │ ├── Name: *string
- │ ├── Product: *string
- │ ├── PromotionCode: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ ├── Publisher: *string
- │ └── Version: *string
- ├── PropertyBag: genruntime.PropertyBag
- ├── ProvisioningState: *string
- ├── ReleaseTrain: *string
- ├── Scope: *Object (3 properties)
- │ ├── Cluster: *Object (2 properties)
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── ReleaseNamespace: *string
- │ ├── Namespace: *Object (2 properties)
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── TargetNamespace: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── Statuses: Object (6 properties)[]
- │ ├── Code: *string
- │ ├── DisplayStatus: *string
- │ ├── Level: *string
- │ ├── Message: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── Time: *string
- ├── SystemData: *Object (7 properties)
- │ ├── CreatedAt: *string
- │ ├── CreatedBy: *string
- │ ├── CreatedByType: *string
- │ ├── LastModifiedAt: *string
- │ ├── LastModifiedBy: *string
- │ ├── LastModifiedByType: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── Type: *string
- └── Version: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ReleaseTrain: *string
+ ├── Scope: *Object (3 properties)
+ │ ├── Cluster: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── ReleaseNamespace: *string
+ │ ├── Namespace: *Object (2 properties)
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TargetNamespace: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Statuses: Object (6 properties)[]
+ │ ├── Code: *string
+ │ ├── DisplayStatus: *string
+ │ ├── Level: *string
+ │ ├── Message: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Time: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Type: *string
+ └── Version: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/zz_generated.deepcopy.go
index 866274fd58..d465d74fa1 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/storage/zz_generated.deepcopy.go
@@ -204,6 +204,60 @@ func (in *ExtensionList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtensionOperatorConfigMaps) DeepCopyInto(out *ExtensionOperatorConfigMaps) {
+ *out = *in
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionOperatorConfigMaps.
+func (in *ExtensionOperatorConfigMaps) DeepCopy() *ExtensionOperatorConfigMaps {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtensionOperatorConfigMaps)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtensionOperatorSpec) DeepCopyInto(out *ExtensionOperatorSpec) {
+ *out = *in
+ if in.ConfigMaps != nil {
+ in, out := &in.ConfigMaps, &out.ConfigMaps
+ *out = new(ExtensionOperatorConfigMaps)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionOperatorSpec.
+func (in *ExtensionOperatorSpec) DeepCopy() *ExtensionOperatorSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtensionOperatorSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExtensionStatus_STATUS) DeepCopyInto(out *ExtensionStatus_STATUS) {
*out = *in
@@ -492,6 +546,11 @@ func (in *Extension_Spec) DeepCopyInto(out *Extension_Spec) {
*out = new(Identity)
(*in).DeepCopyInto(*out)
}
+ if in.OperatorSpec != nil {
+ in, out := &in.OperatorSpec, &out.OperatorSpec
+ *out = new(ExtensionOperatorSpec)
+ (*in).DeepCopyInto(*out)
+ }
if in.Owner != nil {
in, out := &in.Owner, &out.Owner
*out = new(genruntime.ArbitraryOwnerReference)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/structure.txt
index 4dc200ec2f..f99e580897 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/structure.txt
@@ -1,198 +1,38 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501
-├── APIVersion: Enum (1 value)
-│ └── "2023-05-01"
-├── Extension: Resource
-│ ├── Spec: Object (13 properties)
-│ │ ├── AksAssignedIdentity: *Object (1 property)
-│ │ │ └── Type: *Enum (2 values)
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ ├── AutoUpgradeMinorVersion: *bool
-│ │ ├── AzureName: string
-│ │ ├── ConfigurationProtectedSettings: *genruntime.SecretMapReference
-│ │ ├── ConfigurationSettings: map[string]string
-│ │ ├── ExtensionType: *string
-│ │ ├── Identity: *Object (1 property)
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "SystemAssigned"
-│ │ ├── Owner: *genruntime.ArbitraryOwnerReference
-│ │ ├── Plan: *Object (5 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── Product: *string
-│ │ │ ├── PromotionCode: *string
-│ │ │ ├── Publisher: *string
-│ │ │ └── Version: *string
-│ │ ├── ReleaseTrain: *string
-│ │ ├── Scope: *Object (2 properties)
-│ │ │ ├── Cluster: *Object (1 property)
-│ │ │ │ └── ReleaseNamespace: *string
-│ │ │ └── Namespace: *Object (1 property)
-│ │ │ └── TargetNamespace: *string
-│ │ ├── SystemData: *Object (6 properties)
-│ │ │ ├── CreatedAt: *string
-│ │ │ ├── CreatedBy: *string
-│ │ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ │ ├── "Application"
-│ │ │ │ ├── "Key"
-│ │ │ │ ├── "ManagedIdentity"
-│ │ │ │ └── "User"
-│ │ │ ├── LastModifiedAt: *string
-│ │ │ ├── LastModifiedBy: *string
-│ │ │ └── LastModifiedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ └── Version: *string
-│ └── Status: Object (22 properties)
-│ ├── AksAssignedIdentity: *Object (3 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ └── Type: *Enum (2 values)
-│ │ ├── "SystemAssigned"
-│ │ └── "UserAssigned"
-│ ├── AutoUpgradeMinorVersion: *bool
-│ ├── Conditions: conditions.Condition[]
-│ ├── ConfigurationProtectedSettings: map[string]string
-│ ├── ConfigurationSettings: map[string]string
-│ ├── CurrentVersion: *string
-│ ├── CustomLocationSettings: map[string]string
-│ ├── ErrorInfo: *Object (5 properties)
-│ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ ├── Info: map[string]v1.JSON
-│ │ │ └── Type: *string
-│ │ ├── Code: *string
-│ │ ├── Details: Object (4 properties)[]
-│ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ └── Type: *string
-│ │ │ ├── Code: *string
-│ │ │ ├── Message: *string
-│ │ │ └── Target: *string
-│ │ ├── Message: *string
-│ │ └── Target: *string
-│ ├── ExtensionType: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (3 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "SystemAssigned"
-│ ├── IsSystemExtension: *bool
-│ ├── Name: *string
-│ ├── PackageUri: *string
-│ ├── Plan: *Object (5 properties)
-│ │ ├── Name: *string
-│ │ ├── Product: *string
-│ │ ├── PromotionCode: *string
-│ │ ├── Publisher: *string
-│ │ └── Version: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ReleaseTrain: *string
-│ ├── Scope: *Object (2 properties)
-│ │ ├── Cluster: *Object (1 property)
-│ │ │ └── ReleaseNamespace: *string
-│ │ └── Namespace: *Object (1 property)
-│ │ └── TargetNamespace: *string
-│ ├── Statuses: Object (5 properties)[]
-│ │ ├── Code: *string
-│ │ ├── DisplayStatus: *string
-│ │ ├── Level: *Enum (3 values)
-│ │ │ ├── "Error"
-│ │ │ ├── "Information"
-│ │ │ └── "Warning"
-│ │ ├── Message: *string
-│ │ └── Time: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Type: *string
-│ └── Version: *string
-├── Extension_STATUS_ARM: Object (7 properties)
-│ ├── Id: *string
-│ ├── Identity: *Object (3 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
+------------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2023-05-01"
+Extension: Resource
+├── Spec: Object (14 properties)
+│ ├── AksAssignedIdentity: *Object (1 property)
+│ │ └── Type: *Enum (2 values)
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ ├── AutoUpgradeMinorVersion: *bool
+│ ├── AzureName: string
+│ ├── ConfigurationProtectedSettings: *genruntime.SecretMapReference
+│ ├── ConfigurationSettings: map[string]string
+│ ├── ExtensionType: *string
+│ ├── Identity: *Object (1 property)
│ │ └── Type: *Enum (1 value)
│ │ └── "SystemAssigned"
-│ ├── Name: *string
+│ ├── OperatorSpec: *Object (1 property)
+│ │ └── ConfigMaps: *Object (1 property)
+│ │ └── PrincipalId: *genruntime.ConfigMapDestination
+│ ├── Owner: *genruntime.ArbitraryOwnerReference
│ ├── Plan: *Object (5 properties)
│ │ ├── Name: *string
│ │ ├── Product: *string
│ │ ├── PromotionCode: *string
│ │ ├── Publisher: *string
│ │ └── Version: *string
-│ ├── Properties: *Object (15 properties)
-│ │ ├── AksAssignedIdentity: *Object (3 properties)
-│ │ │ ├── PrincipalId: *string
-│ │ │ ├── TenantId: *string
-│ │ │ └── Type: *Enum (2 values)
-│ │ │ ├── "SystemAssigned"
-│ │ │ └── "UserAssigned"
-│ │ ├── AutoUpgradeMinorVersion: *bool
-│ │ ├── ConfigurationProtectedSettings: map[string]string
-│ │ ├── ConfigurationSettings: map[string]string
-│ │ ├── CurrentVersion: *string
-│ │ ├── CustomLocationSettings: map[string]string
-│ │ ├── ErrorInfo: *Object (5 properties)
-│ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ └── Type: *string
-│ │ │ ├── Code: *string
-│ │ │ ├── Details: Object (4 properties)[]
-│ │ │ │ ├── AdditionalInfo: Object (2 properties)[]
-│ │ │ │ │ ├── Info: map[string]v1.JSON
-│ │ │ │ │ └── Type: *string
-│ │ │ │ ├── Code: *string
-│ │ │ │ ├── Message: *string
-│ │ │ │ └── Target: *string
-│ │ │ ├── Message: *string
-│ │ │ └── Target: *string
-│ │ ├── ExtensionType: *string
-│ │ ├── IsSystemExtension: *bool
-│ │ ├── PackageUri: *string
-│ │ ├── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Creating"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ReleaseTrain: *string
-│ │ ├── Scope: *Object (2 properties)
-│ │ │ ├── Cluster: *Object (1 property)
-│ │ │ │ └── ReleaseNamespace: *string
-│ │ │ └── Namespace: *Object (1 property)
-│ │ │ └── TargetNamespace: *string
-│ │ ├── Statuses: Object (5 properties)[]
-│ │ │ ├── Code: *string
-│ │ │ ├── DisplayStatus: *string
-│ │ │ ├── Level: *Enum (3 values)
-│ │ │ │ ├── "Error"
-│ │ │ │ ├── "Information"
-│ │ │ │ └── "Warning"
-│ │ │ ├── Message: *string
-│ │ │ └── Time: *string
-│ │ └── Version: *string
+│ ├── ReleaseTrain: *string
+│ ├── Scope: *Object (2 properties)
+│ │ ├── Cluster: *Object (1 property)
+│ │ │ └── ReleaseNamespace: *string
+│ │ └── Namespace: *Object (1 property)
+│ │ └── TargetNamespace: *string
│ ├── SystemData: *Object (6 properties)
│ │ ├── CreatedAt: *string
│ │ ├── CreatedBy: *string
@@ -208,46 +48,210 @@ github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api2023
│ │ ├── "Key"
│ │ ├── "ManagedIdentity"
│ │ └── "User"
-│ └── Type: *string
-└── Extension_Spec_ARM: Object (5 properties)
- ├── Identity: *Object (1 property)
+│ └── Version: *string
+└── Status: Object (22 properties)
+ ├── AksAssignedIdentity: *Object (3 properties)
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ └── Type: *Enum (2 values)
+ │ ├── "SystemAssigned"
+ │ └── "UserAssigned"
+ ├── AutoUpgradeMinorVersion: *bool
+ ├── Conditions: conditions.Condition[]
+ ├── ConfigurationProtectedSettings: map[string]string
+ ├── ConfigurationSettings: map[string]string
+ ├── CurrentVersion: *string
+ ├── CustomLocationSettings: map[string]string
+ ├── ErrorInfo: *Object (5 properties)
+ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ ├── Info: map[string]v1.JSON
+ │ │ └── Type: *string
+ │ ├── Code: *string
+ │ ├── Details: Object (4 properties)[]
+ │ │ ├── AdditionalInfo: Object (2 properties)[]
+ │ │ │ ├── Info: map[string]v1.JSON
+ │ │ │ └── Type: *string
+ │ │ ├── Code: *string
+ │ │ ├── Message: *string
+ │ │ └── Target: *string
+ │ ├── Message: *string
+ │ └── Target: *string
+ ├── ExtensionType: *string
+ ├── Id: *string
+ ├── Identity: *Object (3 properties)
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
│ └── Type: *Enum (1 value)
│ └── "SystemAssigned"
- ├── Name: string
+ ├── IsSystemExtension: *bool
+ ├── Name: *string
+ ├── PackageUri: *string
├── Plan: *Object (5 properties)
│ ├── Name: *string
│ ├── Product: *string
│ ├── PromotionCode: *string
│ ├── Publisher: *string
│ └── Version: *string
- ├── Properties: *Object (8 properties)
- │ ├── AksAssignedIdentity: *Object (1 property)
- │ │ └── Type: *Enum (2 values)
- │ │ ├── "SystemAssigned"
- │ │ └── "UserAssigned"
- │ ├── AutoUpgradeMinorVersion: *bool
- │ ├── ConfigurationProtectedSettings: map[string]string
- │ ├── ConfigurationSettings: map[string]string
- │ ├── ExtensionType: *string
- │ ├── ReleaseTrain: *string
- │ ├── Scope: *Object (2 properties)
- │ │ ├── Cluster: *Object (1 property)
- │ │ │ └── ReleaseNamespace: *string
- │ │ └── Namespace: *Object (1 property)
- │ │ └── TargetNamespace: *string
- │ └── Version: *string
- └── SystemData: *Object (6 properties)
- ├── CreatedAt: *string
- ├── CreatedBy: *string
- ├── CreatedByType: *Enum (4 values)
- │ ├── "Application"
- │ ├── "Key"
- │ ├── "ManagedIdentity"
- │ └── "User"
- ├── LastModifiedAt: *string
- ├── LastModifiedBy: *string
- └── LastModifiedByType: *Enum (4 values)
- ├── "Application"
- ├── "Key"
- ├── "ManagedIdentity"
- └── "User"
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ReleaseTrain: *string
+ ├── Scope: *Object (2 properties)
+ │ ├── Cluster: *Object (1 property)
+ │ │ └── ReleaseNamespace: *string
+ │ └── Namespace: *Object (1 property)
+ │ └── TargetNamespace: *string
+ ├── Statuses: Object (5 properties)[]
+ │ ├── Code: *string
+ │ ├── DisplayStatus: *string
+ │ ├── Level: *Enum (3 values)
+ │ │ ├── "Error"
+ │ │ ├── "Information"
+ │ │ └── "Warning"
+ │ ├── Message: *string
+ │ └── Time: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Type: *string
+ └── Version: *string
+Extension_STATUS_ARM: Object (7 properties)
+├── Id: *string
+├── Identity: *Object (3 properties)
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ └── Type: *Enum (1 value)
+│ └── "SystemAssigned"
+├── Name: *string
+├── Plan: *Object (5 properties)
+│ ├── Name: *string
+│ ├── Product: *string
+│ ├── PromotionCode: *string
+│ ├── Publisher: *string
+│ └── Version: *string
+├── Properties: *Object (15 properties)
+│ ├── AksAssignedIdentity: *Object (3 properties)
+│ │ ├── PrincipalId: *string
+│ │ ├── TenantId: *string
+│ │ └── Type: *Enum (2 values)
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ ├── AutoUpgradeMinorVersion: *bool
+│ ├── ConfigurationProtectedSettings: map[string]string
+│ ├── ConfigurationSettings: map[string]string
+│ ├── CurrentVersion: *string
+│ ├── CustomLocationSettings: map[string]string
+│ ├── ErrorInfo: *Object (5 properties)
+│ │ ├── AdditionalInfo: Object (2 properties)[]
+│ │ │ ├── Info: map[string]v1.JSON
+│ │ │ └── Type: *string
+│ │ ├── Code: *string
+│ │ ├── Details: Object (4 properties)[]
+│ │ │ ├── AdditionalInfo: Object (2 properties)[]
+│ │ │ │ ├── Info: map[string]v1.JSON
+│ │ │ │ └── Type: *string
+│ │ │ ├── Code: *string
+│ │ │ ├── Message: *string
+│ │ │ └── Target: *string
+│ │ ├── Message: *string
+│ │ └── Target: *string
+│ ├── ExtensionType: *string
+│ ├── IsSystemExtension: *bool
+│ ├── PackageUri: *string
+│ ├── ProvisioningState: *Enum (6 values)
+│ │ ├── "Canceled"
+│ │ ├── "Creating"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── ReleaseTrain: *string
+│ ├── Scope: *Object (2 properties)
+│ │ ├── Cluster: *Object (1 property)
+│ │ │ └── ReleaseNamespace: *string
+│ │ └── Namespace: *Object (1 property)
+│ │ └── TargetNamespace: *string
+│ ├── Statuses: Object (5 properties)[]
+│ │ ├── Code: *string
+│ │ ├── DisplayStatus: *string
+│ │ ├── Level: *Enum (3 values)
+│ │ │ ├── "Error"
+│ │ │ ├── "Information"
+│ │ │ └── "Warning"
+│ │ ├── Message: *string
+│ │ └── Time: *string
+│ └── Version: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+Extension_Spec_ARM: Object (5 properties)
+├── Identity: *Object (1 property)
+│ └── Type: *Enum (1 value)
+│ └── "SystemAssigned"
+├── Name: string
+├── Plan: *Object (5 properties)
+│ ├── Name: *string
+│ ├── Product: *string
+│ ├── PromotionCode: *string
+│ ├── Publisher: *string
+│ └── Version: *string
+├── Properties: *Object (8 properties)
+│ ├── AksAssignedIdentity: *Object (1 property)
+│ │ └── Type: *Enum (2 values)
+│ │ ├── "SystemAssigned"
+│ │ └── "UserAssigned"
+│ ├── AutoUpgradeMinorVersion: *bool
+│ ├── ConfigurationProtectedSettings: map[string]string
+│ ├── ConfigurationSettings: map[string]string
+│ ├── ExtensionType: *string
+│ ├── ReleaseTrain: *string
+│ ├── Scope: *Object (2 properties)
+│ │ ├── Cluster: *Object (1 property)
+│ │ │ └── ReleaseNamespace: *string
+│ │ └── Namespace: *Object (1 property)
+│ │ └── TargetNamespace: *string
+│ └── Version: *string
+└── SystemData: *Object (6 properties)
+ ├── CreatedAt: *string
+ ├── CreatedBy: *string
+ ├── CreatedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── LastModifiedAt: *string
+ ├── LastModifiedBy: *string
+ └── LastModifiedByType: *Enum (4 values)
+ ├── "Application"
+ ├── "Key"
+ ├── "ManagedIdentity"
+ └── "User"
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/zz_generated.deepcopy.go
index 0831249f58..e0b3f16ccf 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/kubernetesconfiguration/v1api20230501/zz_generated.deepcopy.go
@@ -291,6 +291,46 @@ func (in *ExtensionList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtensionOperatorConfigMaps) DeepCopyInto(out *ExtensionOperatorConfigMaps) {
+ *out = *in
+ if in.PrincipalId != nil {
+ in, out := &in.PrincipalId, &out.PrincipalId
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionOperatorConfigMaps.
+func (in *ExtensionOperatorConfigMaps) DeepCopy() *ExtensionOperatorConfigMaps {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtensionOperatorConfigMaps)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExtensionOperatorSpec) DeepCopyInto(out *ExtensionOperatorSpec) {
+ *out = *in
+ if in.ConfigMaps != nil {
+ in, out := &in.ConfigMaps, &out.ConfigMaps
+ *out = new(ExtensionOperatorConfigMaps)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionOperatorSpec.
+func (in *ExtensionOperatorSpec) DeepCopy() *ExtensionOperatorSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(ExtensionOperatorSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExtensionStatus_STATUS) DeepCopyInto(out *ExtensionStatus_STATUS) {
*out = *in
@@ -848,6 +888,11 @@ func (in *Extension_Spec) DeepCopyInto(out *Extension_Spec) {
*out = new(Identity)
(*in).DeepCopyInto(*out)
}
+ if in.OperatorSpec != nil {
+ in, out := &in.OperatorSpec, &out.OperatorSpec
+ *out = new(ExtensionOperatorSpec)
+ (*in).DeepCopyInto(*out)
+ }
if in.Owner != nil {
in, out := &in.Owner, &out.Owner
*out = new(genruntime.ArbitraryOwnerReference)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_spec_arm_types_gen.go
index c8a0ff8ff5..8c2fa27b46 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_spec_arm_types_gen.go
@@ -105,6 +105,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// Frontend IP address of the load balancer.
type FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded_ARM struct {
// Name: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer.
@@ -146,6 +151,12 @@ const (
LoadBalancerSku_Name_Standard = LoadBalancerSku_Name("Standard")
)
+// Mapping from string to LoadBalancerSku_Name
+var loadBalancerSku_Name_Values = map[string]LoadBalancerSku_Name{
+ "basic": LoadBalancerSku_Name_Basic,
+ "standard": LoadBalancerSku_Name_Standard,
+}
+
// +kubebuilder:validation:Enum={"Global","Regional"}
type LoadBalancerSku_Tier string
@@ -154,6 +165,12 @@ const (
LoadBalancerSku_Tier_Regional = LoadBalancerSku_Tier("Regional")
)
+// Mapping from string to LoadBalancerSku_Tier
+var loadBalancerSku_Tier_Values = map[string]LoadBalancerSku_Tier{
+ "global": LoadBalancerSku_Tier_Global,
+ "regional": LoadBalancerSku_Tier_Regional,
+}
+
// A load balancing rule for a load balancer.
type LoadBalancingRule_ARM struct {
// Name: The name of the resource that is unique within the set of load balancing rules used by the load balancer. This
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_status_arm_types_gen.go
index fed9889022..7c4fa9b180 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_status_arm_types_gen.go
@@ -112,6 +112,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// Frontend IP address of the load balancer.
type FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded_ARM struct {
// Etag: A unique read-only string that changes whenever the resource is updated.
@@ -179,6 +184,12 @@ const (
LoadBalancerSku_Name_STATUS_Standard = LoadBalancerSku_Name_STATUS("Standard")
)
+// Mapping from string to LoadBalancerSku_Name_STATUS
+var loadBalancerSku_Name_STATUS_Values = map[string]LoadBalancerSku_Name_STATUS{
+ "basic": LoadBalancerSku_Name_STATUS_Basic,
+ "standard": LoadBalancerSku_Name_STATUS_Standard,
+}
+
type LoadBalancerSku_Tier_STATUS string
const (
@@ -186,6 +197,12 @@ const (
LoadBalancerSku_Tier_STATUS_Regional = LoadBalancerSku_Tier_STATUS("Regional")
)
+// Mapping from string to LoadBalancerSku_Tier_STATUS
+var loadBalancerSku_Tier_STATUS_Values = map[string]LoadBalancerSku_Tier_STATUS{
+ "global": LoadBalancerSku_Tier_STATUS_Global,
+ "regional": LoadBalancerSku_Tier_STATUS_Regional,
+}
+
// A load balancing rule for a load balancer.
type LoadBalancingRule_STATUS_ARM struct {
// Etag: A unique read-only string that changes whenever the resource is updated.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_types_gen.go
index 3bef899a4b..2d51cd6729 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancer_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &LoadBalancer{}
// ConvertFrom populates our LoadBalancer from the provided hub LoadBalancer
func (balancer *LoadBalancer) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.LoadBalancer)
+ source, ok := hub.(*storage.LoadBalancer)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/LoadBalancer but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (balancer *LoadBalancer) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub LoadBalancer from our LoadBalancer
func (balancer *LoadBalancer) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.LoadBalancer)
+ destination, ok := hub.(*storage.LoadBalancer)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/LoadBalancer but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (balancer *LoadBalancer) validateWriteOnceProperties(old runtime.Object) (a
}
// AssignProperties_From_LoadBalancer populates our LoadBalancer from the provided source LoadBalancer
-func (balancer *LoadBalancer) AssignProperties_From_LoadBalancer(source *v20201101s.LoadBalancer) error {
+func (balancer *LoadBalancer) AssignProperties_From_LoadBalancer(source *storage.LoadBalancer) error {
// ObjectMeta
balancer.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (balancer *LoadBalancer) AssignProperties_From_LoadBalancer(source *v202011
}
// AssignProperties_To_LoadBalancer populates the provided destination LoadBalancer from our LoadBalancer
-func (balancer *LoadBalancer) AssignProperties_To_LoadBalancer(destination *v20201101s.LoadBalancer) error {
+func (balancer *LoadBalancer) AssignProperties_To_LoadBalancer(destination *storage.LoadBalancer) error {
// ObjectMeta
destination.ObjectMeta = *balancer.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.LoadBalancer_Spec
+ var spec storage.LoadBalancer_Spec
err := balancer.Spec.AssignProperties_To_LoadBalancer_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancer_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (balancer *LoadBalancer) AssignProperties_To_LoadBalancer(destination *v202
destination.Spec = spec
// Status
- var status v20201101s.LoadBalancer_STATUS
+ var status storage.LoadBalancer_STATUS
err = balancer.Status.AssignProperties_To_LoadBalancer_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancer_STATUS() to populate field Status")
@@ -645,14 +645,14 @@ var _ genruntime.ConvertibleSpec = &LoadBalancer_Spec{}
// ConvertSpecFrom populates our LoadBalancer_Spec from the provided source
func (balancer *LoadBalancer_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.LoadBalancer_Spec)
+ src, ok := source.(*storage.LoadBalancer_Spec)
if ok {
// Populate our instance from source
return balancer.AssignProperties_From_LoadBalancer_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.LoadBalancer_Spec{}
+ src = &storage.LoadBalancer_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -669,14 +669,14 @@ func (balancer *LoadBalancer_Spec) ConvertSpecFrom(source genruntime.Convertible
// ConvertSpecTo populates the provided destination from our LoadBalancer_Spec
func (balancer *LoadBalancer_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.LoadBalancer_Spec)
+ dst, ok := destination.(*storage.LoadBalancer_Spec)
if ok {
// Populate destination from our instance
return balancer.AssignProperties_To_LoadBalancer_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.LoadBalancer_Spec{}
+ dst = &storage.LoadBalancer_Spec{}
err := balancer.AssignProperties_To_LoadBalancer_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -692,7 +692,7 @@ func (balancer *LoadBalancer_Spec) ConvertSpecTo(destination genruntime.Converti
}
// AssignProperties_From_LoadBalancer_Spec populates our LoadBalancer_Spec from the provided source LoadBalancer_Spec
-func (balancer *LoadBalancer_Spec) AssignProperties_From_LoadBalancer_Spec(source *v20201101s.LoadBalancer_Spec) error {
+func (balancer *LoadBalancer_Spec) AssignProperties_From_LoadBalancer_Spec(source *storage.LoadBalancer_Spec) error {
// AzureName
balancer.AzureName = source.AzureName
@@ -866,7 +866,7 @@ func (balancer *LoadBalancer_Spec) AssignProperties_From_LoadBalancer_Spec(sourc
}
// AssignProperties_To_LoadBalancer_Spec populates the provided destination LoadBalancer_Spec from our LoadBalancer_Spec
-func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destination *v20201101s.LoadBalancer_Spec) error {
+func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destination *storage.LoadBalancer_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -875,11 +875,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// BackendAddressPools
if balancer.BackendAddressPools != nil {
- backendAddressPoolList := make([]v20201101s.BackendAddressPool_LoadBalancer_SubResourceEmbedded, len(balancer.BackendAddressPools))
+ backendAddressPoolList := make([]storage.BackendAddressPool_LoadBalancer_SubResourceEmbedded, len(balancer.BackendAddressPools))
for backendAddressPoolIndex, backendAddressPoolItem := range balancer.BackendAddressPools {
// Shadow the loop variable to avoid aliasing
backendAddressPoolItem := backendAddressPoolItem
- var backendAddressPool v20201101s.BackendAddressPool_LoadBalancer_SubResourceEmbedded
+ var backendAddressPool storage.BackendAddressPool_LoadBalancer_SubResourceEmbedded
err := backendAddressPoolItem.AssignProperties_To_BackendAddressPool_LoadBalancer_SubResourceEmbedded(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BackendAddressPool_LoadBalancer_SubResourceEmbedded() to populate field BackendAddressPools")
@@ -893,7 +893,7 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// ExtendedLocation
if balancer.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := balancer.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -905,11 +905,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// FrontendIPConfigurations
if balancer.FrontendIPConfigurations != nil {
- frontendIPConfigurationList := make([]v20201101s.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded, len(balancer.FrontendIPConfigurations))
+ frontendIPConfigurationList := make([]storage.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded, len(balancer.FrontendIPConfigurations))
for frontendIPConfigurationIndex, frontendIPConfigurationItem := range balancer.FrontendIPConfigurations {
// Shadow the loop variable to avoid aliasing
frontendIPConfigurationItem := frontendIPConfigurationItem
- var frontendIPConfiguration v20201101s.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded
+ var frontendIPConfiguration storage.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded
err := frontendIPConfigurationItem.AssignProperties_To_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded() to populate field FrontendIPConfigurations")
@@ -923,11 +923,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// InboundNatPools
if balancer.InboundNatPools != nil {
- inboundNatPoolList := make([]v20201101s.InboundNatPool, len(balancer.InboundNatPools))
+ inboundNatPoolList := make([]storage.InboundNatPool, len(balancer.InboundNatPools))
for inboundNatPoolIndex, inboundNatPoolItem := range balancer.InboundNatPools {
// Shadow the loop variable to avoid aliasing
inboundNatPoolItem := inboundNatPoolItem
- var inboundNatPool v20201101s.InboundNatPool
+ var inboundNatPool storage.InboundNatPool
err := inboundNatPoolItem.AssignProperties_To_InboundNatPool(&inboundNatPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_InboundNatPool() to populate field InboundNatPools")
@@ -941,11 +941,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// InboundNatRules
if balancer.InboundNatRules != nil {
- inboundNatRuleList := make([]v20201101s.InboundNatRule_LoadBalancer_SubResourceEmbedded, len(balancer.InboundNatRules))
+ inboundNatRuleList := make([]storage.InboundNatRule_LoadBalancer_SubResourceEmbedded, len(balancer.InboundNatRules))
for inboundNatRuleIndex, inboundNatRuleItem := range balancer.InboundNatRules {
// Shadow the loop variable to avoid aliasing
inboundNatRuleItem := inboundNatRuleItem
- var inboundNatRule v20201101s.InboundNatRule_LoadBalancer_SubResourceEmbedded
+ var inboundNatRule storage.InboundNatRule_LoadBalancer_SubResourceEmbedded
err := inboundNatRuleItem.AssignProperties_To_InboundNatRule_LoadBalancer_SubResourceEmbedded(&inboundNatRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_InboundNatRule_LoadBalancer_SubResourceEmbedded() to populate field InboundNatRules")
@@ -959,11 +959,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// LoadBalancingRules
if balancer.LoadBalancingRules != nil {
- loadBalancingRuleList := make([]v20201101s.LoadBalancingRule, len(balancer.LoadBalancingRules))
+ loadBalancingRuleList := make([]storage.LoadBalancingRule, len(balancer.LoadBalancingRules))
for loadBalancingRuleIndex, loadBalancingRuleItem := range balancer.LoadBalancingRules {
// Shadow the loop variable to avoid aliasing
loadBalancingRuleItem := loadBalancingRuleItem
- var loadBalancingRule v20201101s.LoadBalancingRule
+ var loadBalancingRule storage.LoadBalancingRule
err := loadBalancingRuleItem.AssignProperties_To_LoadBalancingRule(&loadBalancingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancingRule() to populate field LoadBalancingRules")
@@ -983,11 +983,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// OutboundRules
if balancer.OutboundRules != nil {
- outboundRuleList := make([]v20201101s.OutboundRule, len(balancer.OutboundRules))
+ outboundRuleList := make([]storage.OutboundRule, len(balancer.OutboundRules))
for outboundRuleIndex, outboundRuleItem := range balancer.OutboundRules {
// Shadow the loop variable to avoid aliasing
outboundRuleItem := outboundRuleItem
- var outboundRule v20201101s.OutboundRule
+ var outboundRule storage.OutboundRule
err := outboundRuleItem.AssignProperties_To_OutboundRule(&outboundRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_OutboundRule() to populate field OutboundRules")
@@ -1009,11 +1009,11 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// Probes
if balancer.Probes != nil {
- probeList := make([]v20201101s.Probe, len(balancer.Probes))
+ probeList := make([]storage.Probe, len(balancer.Probes))
for probeIndex, probeItem := range balancer.Probes {
// Shadow the loop variable to avoid aliasing
probeItem := probeItem
- var probe v20201101s.Probe
+ var probe storage.Probe
err := probeItem.AssignProperties_To_Probe(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Probe() to populate field Probes")
@@ -1027,7 +1027,7 @@ func (balancer *LoadBalancer_Spec) AssignProperties_To_LoadBalancer_Spec(destina
// Sku
if balancer.Sku != nil {
- var sku v20201101s.LoadBalancerSku
+ var sku storage.LoadBalancerSku
err := balancer.Sku.AssignProperties_To_LoadBalancerSku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancerSku() to populate field Sku")
@@ -1290,14 +1290,14 @@ var _ genruntime.ConvertibleStatus = &LoadBalancer_STATUS{}
// ConvertStatusFrom populates our LoadBalancer_STATUS from the provided source
func (balancer *LoadBalancer_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.LoadBalancer_STATUS)
+ src, ok := source.(*storage.LoadBalancer_STATUS)
if ok {
// Populate our instance from source
return balancer.AssignProperties_From_LoadBalancer_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.LoadBalancer_STATUS{}
+ src = &storage.LoadBalancer_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1314,14 +1314,14 @@ func (balancer *LoadBalancer_STATUS) ConvertStatusFrom(source genruntime.Convert
// ConvertStatusTo populates the provided destination from our LoadBalancer_STATUS
func (balancer *LoadBalancer_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.LoadBalancer_STATUS)
+ dst, ok := destination.(*storage.LoadBalancer_STATUS)
if ok {
// Populate destination from our instance
return balancer.AssignProperties_To_LoadBalancer_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.LoadBalancer_STATUS{}
+ dst = &storage.LoadBalancer_STATUS{}
err := balancer.AssignProperties_To_LoadBalancer_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1526,7 +1526,7 @@ func (balancer *LoadBalancer_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_LoadBalancer_STATUS populates our LoadBalancer_STATUS from the provided source LoadBalancer_STATUS
-func (balancer *LoadBalancer_STATUS) AssignProperties_From_LoadBalancer_STATUS(source *v20201101s.LoadBalancer_STATUS) error {
+func (balancer *LoadBalancer_STATUS) AssignProperties_From_LoadBalancer_STATUS(source *storage.LoadBalancer_STATUS) error {
// BackendAddressPools
if source.BackendAddressPools != nil {
@@ -1683,8 +1683,9 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_From_LoadBalancer_STATUS(s
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- balancer.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ balancer.ProvisioningState = &provisioningStateTemp
} else {
balancer.ProvisioningState = nil
}
@@ -1715,17 +1716,17 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_From_LoadBalancer_STATUS(s
}
// AssignProperties_To_LoadBalancer_STATUS populates the provided destination LoadBalancer_STATUS from our LoadBalancer_STATUS
-func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(destination *v20201101s.LoadBalancer_STATUS) error {
+func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(destination *storage.LoadBalancer_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendAddressPools
if balancer.BackendAddressPools != nil {
- backendAddressPoolList := make([]v20201101s.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded, len(balancer.BackendAddressPools))
+ backendAddressPoolList := make([]storage.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded, len(balancer.BackendAddressPools))
for backendAddressPoolIndex, backendAddressPoolItem := range balancer.BackendAddressPools {
// Shadow the loop variable to avoid aliasing
backendAddressPoolItem := backendAddressPoolItem
- var backendAddressPool v20201101s.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded
+ var backendAddressPool storage.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded
err := backendAddressPoolItem.AssignProperties_To_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded() to populate field BackendAddressPools")
@@ -1745,7 +1746,7 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// ExtendedLocation
if balancer.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := balancer.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1757,11 +1758,11 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// FrontendIPConfigurations
if balancer.FrontendIPConfigurations != nil {
- frontendIPConfigurationList := make([]v20201101s.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded, len(balancer.FrontendIPConfigurations))
+ frontendIPConfigurationList := make([]storage.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded, len(balancer.FrontendIPConfigurations))
for frontendIPConfigurationIndex, frontendIPConfigurationItem := range balancer.FrontendIPConfigurations {
// Shadow the loop variable to avoid aliasing
frontendIPConfigurationItem := frontendIPConfigurationItem
- var frontendIPConfiguration v20201101s.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
+ var frontendIPConfiguration storage.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
err := frontendIPConfigurationItem.AssignProperties_To_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded() to populate field FrontendIPConfigurations")
@@ -1778,11 +1779,11 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// InboundNatPools
if balancer.InboundNatPools != nil {
- inboundNatPoolList := make([]v20201101s.InboundNatPool_STATUS, len(balancer.InboundNatPools))
+ inboundNatPoolList := make([]storage.InboundNatPool_STATUS, len(balancer.InboundNatPools))
for inboundNatPoolIndex, inboundNatPoolItem := range balancer.InboundNatPools {
// Shadow the loop variable to avoid aliasing
inboundNatPoolItem := inboundNatPoolItem
- var inboundNatPool v20201101s.InboundNatPool_STATUS
+ var inboundNatPool storage.InboundNatPool_STATUS
err := inboundNatPoolItem.AssignProperties_To_InboundNatPool_STATUS(&inboundNatPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_InboundNatPool_STATUS() to populate field InboundNatPools")
@@ -1796,11 +1797,11 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// InboundNatRules
if balancer.InboundNatRules != nil {
- inboundNatRuleList := make([]v20201101s.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded, len(balancer.InboundNatRules))
+ inboundNatRuleList := make([]storage.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded, len(balancer.InboundNatRules))
for inboundNatRuleIndex, inboundNatRuleItem := range balancer.InboundNatRules {
// Shadow the loop variable to avoid aliasing
inboundNatRuleItem := inboundNatRuleItem
- var inboundNatRule v20201101s.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded
+ var inboundNatRule storage.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded
err := inboundNatRuleItem.AssignProperties_To_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded(&inboundNatRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded() to populate field InboundNatRules")
@@ -1814,11 +1815,11 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// LoadBalancingRules
if balancer.LoadBalancingRules != nil {
- loadBalancingRuleList := make([]v20201101s.LoadBalancingRule_STATUS, len(balancer.LoadBalancingRules))
+ loadBalancingRuleList := make([]storage.LoadBalancingRule_STATUS, len(balancer.LoadBalancingRules))
for loadBalancingRuleIndex, loadBalancingRuleItem := range balancer.LoadBalancingRules {
// Shadow the loop variable to avoid aliasing
loadBalancingRuleItem := loadBalancingRuleItem
- var loadBalancingRule v20201101s.LoadBalancingRule_STATUS
+ var loadBalancingRule storage.LoadBalancingRule_STATUS
err := loadBalancingRuleItem.AssignProperties_To_LoadBalancingRule_STATUS(&loadBalancingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancingRule_STATUS() to populate field LoadBalancingRules")
@@ -1838,11 +1839,11 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// OutboundRules
if balancer.OutboundRules != nil {
- outboundRuleList := make([]v20201101s.OutboundRule_STATUS, len(balancer.OutboundRules))
+ outboundRuleList := make([]storage.OutboundRule_STATUS, len(balancer.OutboundRules))
for outboundRuleIndex, outboundRuleItem := range balancer.OutboundRules {
// Shadow the loop variable to avoid aliasing
outboundRuleItem := outboundRuleItem
- var outboundRule v20201101s.OutboundRule_STATUS
+ var outboundRule storage.OutboundRule_STATUS
err := outboundRuleItem.AssignProperties_To_OutboundRule_STATUS(&outboundRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_OutboundRule_STATUS() to populate field OutboundRules")
@@ -1856,11 +1857,11 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// Probes
if balancer.Probes != nil {
- probeList := make([]v20201101s.Probe_STATUS, len(balancer.Probes))
+ probeList := make([]storage.Probe_STATUS, len(balancer.Probes))
for probeIndex, probeItem := range balancer.Probes {
// Shadow the loop variable to avoid aliasing
probeItem := probeItem
- var probe v20201101s.Probe_STATUS
+ var probe storage.Probe_STATUS
err := probeItem.AssignProperties_To_Probe_STATUS(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Probe_STATUS() to populate field Probes")
@@ -1885,7 +1886,7 @@ func (balancer *LoadBalancer_STATUS) AssignProperties_To_LoadBalancer_STATUS(des
// Sku
if balancer.Sku != nil {
- var sku v20201101s.LoadBalancerSku_STATUS
+ var sku storage.LoadBalancerSku_STATUS
err := balancer.Sku.AssignProperties_To_LoadBalancerSku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancerSku_STATUS() to populate field Sku")
@@ -1987,7 +1988,7 @@ func (embedded *BackendAddressPool_LoadBalancer_SubResourceEmbedded) PopulateFro
}
// AssignProperties_From_BackendAddressPool_LoadBalancer_SubResourceEmbedded populates our BackendAddressPool_LoadBalancer_SubResourceEmbedded from the provided source BackendAddressPool_LoadBalancer_SubResourceEmbedded
-func (embedded *BackendAddressPool_LoadBalancer_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_LoadBalancer_SubResourceEmbedded(source *v20201101s.BackendAddressPool_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_LoadBalancer_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_LoadBalancer_SubResourceEmbedded(source *storage.BackendAddressPool_LoadBalancer_SubResourceEmbedded) error {
// LoadBalancerBackendAddresses
if source.LoadBalancerBackendAddresses != nil {
@@ -2015,17 +2016,17 @@ func (embedded *BackendAddressPool_LoadBalancer_SubResourceEmbedded) AssignPrope
}
// AssignProperties_To_BackendAddressPool_LoadBalancer_SubResourceEmbedded populates the provided destination BackendAddressPool_LoadBalancer_SubResourceEmbedded from our BackendAddressPool_LoadBalancer_SubResourceEmbedded
-func (embedded *BackendAddressPool_LoadBalancer_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_LoadBalancer_SubResourceEmbedded(destination *v20201101s.BackendAddressPool_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_LoadBalancer_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_LoadBalancer_SubResourceEmbedded(destination *storage.BackendAddressPool_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// LoadBalancerBackendAddresses
if embedded.LoadBalancerBackendAddresses != nil {
- loadBalancerBackendAddressList := make([]v20201101s.LoadBalancerBackendAddress, len(embedded.LoadBalancerBackendAddresses))
+ loadBalancerBackendAddressList := make([]storage.LoadBalancerBackendAddress, len(embedded.LoadBalancerBackendAddresses))
for loadBalancerBackendAddressIndex, loadBalancerBackendAddressItem := range embedded.LoadBalancerBackendAddresses {
// Shadow the loop variable to avoid aliasing
loadBalancerBackendAddressItem := loadBalancerBackendAddressItem
- var loadBalancerBackendAddress v20201101s.LoadBalancerBackendAddress
+ var loadBalancerBackendAddress storage.LoadBalancerBackendAddress
err := loadBalancerBackendAddressItem.AssignProperties_To_LoadBalancerBackendAddress(&loadBalancerBackendAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancerBackendAddress() to populate field LoadBalancerBackendAddresses")
@@ -2231,7 +2232,7 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Popu
}
// AssignProperties_From_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded populates our BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded from the provided source BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded(source *v20201101s.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded(source *storage.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) error {
// BackendIPConfigurations
if source.BackendIPConfigurations != nil {
@@ -2328,8 +2329,9 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Assi
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -2342,17 +2344,17 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Assi
}
// AssignProperties_To_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded populates the provided destination BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded from our BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded(destination *v20201101s.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded(destination *storage.BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendIPConfigurations
if embedded.BackendIPConfigurations != nil {
- backendIPConfigurationList := make([]v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded, len(embedded.BackendIPConfigurations))
+ backendIPConfigurationList := make([]storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded, len(embedded.BackendIPConfigurations))
for backendIPConfigurationIndex, backendIPConfigurationItem := range embedded.BackendIPConfigurations {
// Shadow the loop variable to avoid aliasing
backendIPConfigurationItem := backendIPConfigurationItem
- var backendIPConfiguration v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
+ var backendIPConfiguration storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
err := backendIPConfigurationItem.AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(&backendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded() to populate field BackendIPConfigurations")
@@ -2372,11 +2374,11 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Assi
// LoadBalancerBackendAddresses
if embedded.LoadBalancerBackendAddresses != nil {
- loadBalancerBackendAddressList := make([]v20201101s.LoadBalancerBackendAddress_STATUS, len(embedded.LoadBalancerBackendAddresses))
+ loadBalancerBackendAddressList := make([]storage.LoadBalancerBackendAddress_STATUS, len(embedded.LoadBalancerBackendAddresses))
for loadBalancerBackendAddressIndex, loadBalancerBackendAddressItem := range embedded.LoadBalancerBackendAddresses {
// Shadow the loop variable to avoid aliasing
loadBalancerBackendAddressItem := loadBalancerBackendAddressItem
- var loadBalancerBackendAddress v20201101s.LoadBalancerBackendAddress_STATUS
+ var loadBalancerBackendAddress storage.LoadBalancerBackendAddress_STATUS
err := loadBalancerBackendAddressItem.AssignProperties_To_LoadBalancerBackendAddress_STATUS(&loadBalancerBackendAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancerBackendAddress_STATUS() to populate field LoadBalancerBackendAddresses")
@@ -2390,11 +2392,11 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Assi
// LoadBalancingRules
if embedded.LoadBalancingRules != nil {
- loadBalancingRuleList := make([]v20201101s.SubResource_STATUS, len(embedded.LoadBalancingRules))
+ loadBalancingRuleList := make([]storage.SubResource_STATUS, len(embedded.LoadBalancingRules))
for loadBalancingRuleIndex, loadBalancingRuleItem := range embedded.LoadBalancingRules {
// Shadow the loop variable to avoid aliasing
loadBalancingRuleItem := loadBalancingRuleItem
- var loadBalancingRule v20201101s.SubResource_STATUS
+ var loadBalancingRule storage.SubResource_STATUS
err := loadBalancingRuleItem.AssignProperties_To_SubResource_STATUS(&loadBalancingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field LoadBalancingRules")
@@ -2411,7 +2413,7 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Assi
// OutboundRule
if embedded.OutboundRule != nil {
- var outboundRule v20201101s.SubResource_STATUS
+ var outboundRule storage.SubResource_STATUS
err := embedded.OutboundRule.AssignProperties_To_SubResource_STATUS(&outboundRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field OutboundRule")
@@ -2423,11 +2425,11 @@ func (embedded *BackendAddressPool_STATUS_LoadBalancer_SubResourceEmbedded) Assi
// OutboundRules
if embedded.OutboundRules != nil {
- outboundRuleList := make([]v20201101s.SubResource_STATUS, len(embedded.OutboundRules))
+ outboundRuleList := make([]storage.SubResource_STATUS, len(embedded.OutboundRules))
for outboundRuleIndex, outboundRuleItem := range embedded.OutboundRules {
// Shadow the loop variable to avoid aliasing
outboundRuleItem := outboundRuleItem
- var outboundRule v20201101s.SubResource_STATUS
+ var outboundRule storage.SubResource_STATUS
err := outboundRuleItem.AssignProperties_To_SubResource_STATUS(&outboundRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field OutboundRules")
@@ -2524,15 +2526,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20201101s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -2542,7 +2545,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20201101s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2576,7 +2579,7 @@ func (location *ExtendedLocation) Initialize_From_ExtendedLocation_STATUS(source
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), extendedLocationType_Values)
location.Type = &typeVar
} else {
location.Type = nil
@@ -2626,15 +2629,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20201101s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -2644,7 +2648,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20201101s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2863,7 +2867,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Popula
}
// AssignProperties_From_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded populates our FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded from the provided source FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded(source *v20201101s.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded(source *storage.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) error {
// Name
embedded.Name = genruntime.ClonePointerToString(source.Name)
@@ -2873,16 +2877,18 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Assign
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion(*source.PrivateIPAddressVersion)
- embedded.PrivateIPAddressVersion = &privateIPAddressVersion
+ privateIPAddressVersion := *source.PrivateIPAddressVersion
+ privateIPAddressVersionTemp := genruntime.ToEnum(privateIPAddressVersion, iPVersion_Values)
+ embedded.PrivateIPAddressVersion = &privateIPAddressVersionTemp
} else {
embedded.PrivateIPAddressVersion = nil
}
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
- embedded.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_Values)
+ embedded.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
embedded.PrivateIPAllocationMethod = nil
}
@@ -2931,7 +2937,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Assign
}
// AssignProperties_To_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded populates the provided destination FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded from our FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded(destination *v20201101s.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded(destination *storage.FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2959,7 +2965,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Assign
// PublicIPAddress
if embedded.PublicIPAddress != nil {
- var publicIPAddress v20201101s.PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded
+ var publicIPAddress storage.PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded
err := embedded.PublicIPAddress.AssignProperties_To_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded() to populate field PublicIPAddress")
@@ -2971,7 +2977,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Assign
// PublicIPPrefix
if embedded.PublicIPPrefix != nil {
- var publicIPPrefix v20201101s.SubResource
+ var publicIPPrefix storage.SubResource
err := embedded.PublicIPPrefix.AssignProperties_To_SubResource(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field PublicIPPrefix")
@@ -2983,7 +2989,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Assign
// Subnet
if embedded.Subnet != nil {
- var subnet v20201101s.Subnet_LoadBalancer_SubResourceEmbedded
+ var subnet storage.Subnet_LoadBalancer_SubResourceEmbedded
err := embedded.Subnet.AssignProperties_To_Subnet_LoadBalancer_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_LoadBalancer_SubResourceEmbedded() to populate field Subnet")
@@ -3018,7 +3024,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Initia
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion(*source.PrivateIPAddressVersion)
+ privateIPAddressVersion := genruntime.ToEnum(string(*source.PrivateIPAddressVersion), iPVersion_Values)
embedded.PrivateIPAddressVersion = &privateIPAddressVersion
} else {
embedded.PrivateIPAddressVersion = nil
@@ -3026,7 +3032,7 @@ func (embedded *FrontendIPConfiguration_LoadBalancer_SubResourceEmbedded) Initia
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
+ privateIPAllocationMethod := genruntime.ToEnum(string(*source.PrivateIPAllocationMethod), iPAllocationMethod_Values)
embedded.PrivateIPAllocationMethod = &privateIPAllocationMethod
} else {
embedded.PrivateIPAllocationMethod = nil
@@ -3305,7 +3311,7 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
}
// AssignProperties_From_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded populates our FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded from the provided source FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(source *v20201101s.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(source *storage.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Etag
embedded.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -3393,24 +3399,27 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion_STATUS(*source.PrivateIPAddressVersion)
- embedded.PrivateIPAddressVersion = &privateIPAddressVersion
+ privateIPAddressVersion := *source.PrivateIPAddressVersion
+ privateIPAddressVersionTemp := genruntime.ToEnum(privateIPAddressVersion, iPVersion_STATUS_Values)
+ embedded.PrivateIPAddressVersion = &privateIPAddressVersionTemp
} else {
embedded.PrivateIPAddressVersion = nil
}
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod_STATUS(*source.PrivateIPAllocationMethod)
- embedded.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_STATUS_Values)
+ embedded.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
embedded.PrivateIPAllocationMethod = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -3462,7 +3471,7 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
}
// AssignProperties_To_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded populates the provided destination FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded from our FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(destination *v20201101s.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(destination *storage.FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3474,11 +3483,11 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// InboundNatPools
if embedded.InboundNatPools != nil {
- inboundNatPoolList := make([]v20201101s.SubResource_STATUS, len(embedded.InboundNatPools))
+ inboundNatPoolList := make([]storage.SubResource_STATUS, len(embedded.InboundNatPools))
for inboundNatPoolIndex, inboundNatPoolItem := range embedded.InboundNatPools {
// Shadow the loop variable to avoid aliasing
inboundNatPoolItem := inboundNatPoolItem
- var inboundNatPool v20201101s.SubResource_STATUS
+ var inboundNatPool storage.SubResource_STATUS
err := inboundNatPoolItem.AssignProperties_To_SubResource_STATUS(&inboundNatPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field InboundNatPools")
@@ -3492,11 +3501,11 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// InboundNatRules
if embedded.InboundNatRules != nil {
- inboundNatRuleList := make([]v20201101s.SubResource_STATUS, len(embedded.InboundNatRules))
+ inboundNatRuleList := make([]storage.SubResource_STATUS, len(embedded.InboundNatRules))
for inboundNatRuleIndex, inboundNatRuleItem := range embedded.InboundNatRules {
// Shadow the loop variable to avoid aliasing
inboundNatRuleItem := inboundNatRuleItem
- var inboundNatRule v20201101s.SubResource_STATUS
+ var inboundNatRule storage.SubResource_STATUS
err := inboundNatRuleItem.AssignProperties_To_SubResource_STATUS(&inboundNatRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field InboundNatRules")
@@ -3510,11 +3519,11 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// LoadBalancingRules
if embedded.LoadBalancingRules != nil {
- loadBalancingRuleList := make([]v20201101s.SubResource_STATUS, len(embedded.LoadBalancingRules))
+ loadBalancingRuleList := make([]storage.SubResource_STATUS, len(embedded.LoadBalancingRules))
for loadBalancingRuleIndex, loadBalancingRuleItem := range embedded.LoadBalancingRules {
// Shadow the loop variable to avoid aliasing
loadBalancingRuleItem := loadBalancingRuleItem
- var loadBalancingRule v20201101s.SubResource_STATUS
+ var loadBalancingRule storage.SubResource_STATUS
err := loadBalancingRuleItem.AssignProperties_To_SubResource_STATUS(&loadBalancingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field LoadBalancingRules")
@@ -3531,11 +3540,11 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// OutboundRules
if embedded.OutboundRules != nil {
- outboundRuleList := make([]v20201101s.SubResource_STATUS, len(embedded.OutboundRules))
+ outboundRuleList := make([]storage.SubResource_STATUS, len(embedded.OutboundRules))
for outboundRuleIndex, outboundRuleItem := range embedded.OutboundRules {
// Shadow the loop variable to avoid aliasing
outboundRuleItem := outboundRuleItem
- var outboundRule v20201101s.SubResource_STATUS
+ var outboundRule storage.SubResource_STATUS
err := outboundRuleItem.AssignProperties_To_SubResource_STATUS(&outboundRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field OutboundRules")
@@ -3576,7 +3585,7 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// PublicIPAddress
if embedded.PublicIPAddress != nil {
- var publicIPAddress v20201101s.PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded
+ var publicIPAddress storage.PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded
err := embedded.PublicIPAddress.AssignProperties_To_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded() to populate field PublicIPAddress")
@@ -3588,7 +3597,7 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// PublicIPPrefix
if embedded.PublicIPPrefix != nil {
- var publicIPPrefix v20201101s.SubResource_STATUS
+ var publicIPPrefix storage.SubResource_STATUS
err := embedded.PublicIPPrefix.AssignProperties_To_SubResource_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field PublicIPPrefix")
@@ -3600,7 +3609,7 @@ func (embedded *FrontendIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded)
// Subnet
if embedded.Subnet != nil {
- var subnet v20201101s.Subnet_STATUS_LoadBalancer_SubResourceEmbedded
+ var subnet storage.Subnet_STATUS_LoadBalancer_SubResourceEmbedded
err := embedded.Subnet.AssignProperties_To_Subnet_STATUS_LoadBalancer_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_STATUS_LoadBalancer_SubResourceEmbedded() to populate field Subnet")
@@ -3833,7 +3842,7 @@ func (pool *InboundNatPool) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_InboundNatPool populates our InboundNatPool from the provided source InboundNatPool
-func (pool *InboundNatPool) AssignProperties_From_InboundNatPool(source *v20201101s.InboundNatPool) error {
+func (pool *InboundNatPool) AssignProperties_From_InboundNatPool(source *storage.InboundNatPool) error {
// BackendPort
pool.BackendPort = genruntime.ClonePointerToInt(source.BackendPort)
@@ -3880,8 +3889,9 @@ func (pool *InboundNatPool) AssignProperties_From_InboundNatPool(source *v202011
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
- pool.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_Values)
+ pool.Protocol = &protocolTemp
} else {
pool.Protocol = nil
}
@@ -3891,7 +3901,7 @@ func (pool *InboundNatPool) AssignProperties_From_InboundNatPool(source *v202011
}
// AssignProperties_To_InboundNatPool populates the provided destination InboundNatPool from our InboundNatPool
-func (pool *InboundNatPool) AssignProperties_To_InboundNatPool(destination *v20201101s.InboundNatPool) error {
+func (pool *InboundNatPool) AssignProperties_To_InboundNatPool(destination *storage.InboundNatPool) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3916,7 +3926,7 @@ func (pool *InboundNatPool) AssignProperties_To_InboundNatPool(destination *v202
// FrontendIPConfiguration
if pool.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource
+ var frontendIPConfiguration storage.SubResource
err := pool.FrontendIPConfiguration.AssignProperties_To_SubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field FrontendIPConfiguration")
@@ -4005,7 +4015,7 @@ func (pool *InboundNatPool) Initialize_From_InboundNatPool_STATUS(source *Inboun
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), transportProtocol_Values)
pool.Protocol = &protocol
} else {
pool.Protocol = nil
@@ -4193,7 +4203,7 @@ func (pool *InboundNatPool_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_InboundNatPool_STATUS populates our InboundNatPool_STATUS from the provided source InboundNatPool_STATUS
-func (pool *InboundNatPool_STATUS) AssignProperties_From_InboundNatPool_STATUS(source *v20201101s.InboundNatPool_STATUS) error {
+func (pool *InboundNatPool_STATUS) AssignProperties_From_InboundNatPool_STATUS(source *storage.InboundNatPool_STATUS) error {
// BackendPort
pool.BackendPort = genruntime.ClonePointerToInt(source.BackendPort)
@@ -4246,16 +4256,18 @@ func (pool *InboundNatPool_STATUS) AssignProperties_From_InboundNatPool_STATUS(s
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol_STATUS(*source.Protocol)
- pool.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_STATUS_Values)
+ pool.Protocol = &protocolTemp
} else {
pool.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- pool.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ pool.ProvisioningState = &provisioningStateTemp
} else {
pool.ProvisioningState = nil
}
@@ -4268,7 +4280,7 @@ func (pool *InboundNatPool_STATUS) AssignProperties_From_InboundNatPool_STATUS(s
}
// AssignProperties_To_InboundNatPool_STATUS populates the provided destination InboundNatPool_STATUS from our InboundNatPool_STATUS
-func (pool *InboundNatPool_STATUS) AssignProperties_To_InboundNatPool_STATUS(destination *v20201101s.InboundNatPool_STATUS) error {
+func (pool *InboundNatPool_STATUS) AssignProperties_To_InboundNatPool_STATUS(destination *storage.InboundNatPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4296,7 +4308,7 @@ func (pool *InboundNatPool_STATUS) AssignProperties_To_InboundNatPool_STATUS(des
// FrontendIPConfiguration
if pool.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource_STATUS
+ var frontendIPConfiguration storage.SubResource_STATUS
err := pool.FrontendIPConfiguration.AssignProperties_To_SubResource_STATUS(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field FrontendIPConfiguration")
@@ -4535,7 +4547,7 @@ func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) PopulateFromARM
}
// AssignProperties_From_InboundNatRule_LoadBalancer_SubResourceEmbedded populates our InboundNatRule_LoadBalancer_SubResourceEmbedded from the provided source InboundNatRule_LoadBalancer_SubResourceEmbedded
-func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignProperties_From_InboundNatRule_LoadBalancer_SubResourceEmbedded(source *v20201101s.InboundNatRule_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignProperties_From_InboundNatRule_LoadBalancer_SubResourceEmbedded(source *storage.InboundNatRule_LoadBalancer_SubResourceEmbedded) error {
// BackendPort
embedded.BackendPort = genruntime.ClonePointerToInt(source.BackendPort)
@@ -4579,8 +4591,9 @@ func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignPropertie
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
- embedded.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_Values)
+ embedded.Protocol = &protocolTemp
} else {
embedded.Protocol = nil
}
@@ -4590,7 +4603,7 @@ func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignPropertie
}
// AssignProperties_To_InboundNatRule_LoadBalancer_SubResourceEmbedded populates the provided destination InboundNatRule_LoadBalancer_SubResourceEmbedded from our InboundNatRule_LoadBalancer_SubResourceEmbedded
-func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignProperties_To_InboundNatRule_LoadBalancer_SubResourceEmbedded(destination *v20201101s.InboundNatRule_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignProperties_To_InboundNatRule_LoadBalancer_SubResourceEmbedded(destination *storage.InboundNatRule_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4615,7 +4628,7 @@ func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) AssignPropertie
// FrontendIPConfiguration
if embedded.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource
+ var frontendIPConfiguration storage.SubResource
err := embedded.FrontendIPConfiguration.AssignProperties_To_SubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field FrontendIPConfiguration")
@@ -4698,7 +4711,7 @@ func (embedded *InboundNatRule_LoadBalancer_SubResourceEmbedded) Initialize_From
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), transportProtocol_Values)
embedded.Protocol = &protocol
} else {
embedded.Protocol = nil
@@ -4891,7 +4904,7 @@ func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) Populate
}
// AssignProperties_From_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded populates our InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded from the provided source InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded(source *v20201101s.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded(source *storage.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) error {
// BackendIPConfiguration
if source.BackendIPConfiguration != nil {
@@ -4953,16 +4966,18 @@ func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignPr
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol_STATUS(*source.Protocol)
- embedded.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_STATUS_Values)
+ embedded.Protocol = &protocolTemp
} else {
embedded.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -4975,13 +4990,13 @@ func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignPr
}
// AssignProperties_To_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded populates the provided destination InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded from our InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded(destination *v20201101s.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded(destination *storage.InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendIPConfiguration
if embedded.BackendIPConfiguration != nil {
- var backendIPConfiguration v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
+ var backendIPConfiguration storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
err := embedded.BackendIPConfiguration.AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(&backendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded() to populate field BackendIPConfiguration")
@@ -5015,7 +5030,7 @@ func (embedded *InboundNatRule_STATUS_LoadBalancer_SubResourceEmbedded) AssignPr
// FrontendIPConfiguration
if embedded.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource_STATUS
+ var frontendIPConfiguration storage.SubResource_STATUS
err := embedded.FrontendIPConfiguration.AssignProperties_To_SubResource_STATUS(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field FrontendIPConfiguration")
@@ -5128,20 +5143,22 @@ func (balancerSku *LoadBalancerSku) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_LoadBalancerSku populates our LoadBalancerSku from the provided source LoadBalancerSku
-func (balancerSku *LoadBalancerSku) AssignProperties_From_LoadBalancerSku(source *v20201101s.LoadBalancerSku) error {
+func (balancerSku *LoadBalancerSku) AssignProperties_From_LoadBalancerSku(source *storage.LoadBalancerSku) error {
// Name
if source.Name != nil {
- name := LoadBalancerSku_Name(*source.Name)
- balancerSku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, loadBalancerSku_Name_Values)
+ balancerSku.Name = &nameTemp
} else {
balancerSku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := LoadBalancerSku_Tier(*source.Tier)
- balancerSku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, loadBalancerSku_Tier_Values)
+ balancerSku.Tier = &tierTemp
} else {
balancerSku.Tier = nil
}
@@ -5151,7 +5168,7 @@ func (balancerSku *LoadBalancerSku) AssignProperties_From_LoadBalancerSku(source
}
// AssignProperties_To_LoadBalancerSku populates the provided destination LoadBalancerSku from our LoadBalancerSku
-func (balancerSku *LoadBalancerSku) AssignProperties_To_LoadBalancerSku(destination *v20201101s.LoadBalancerSku) error {
+func (balancerSku *LoadBalancerSku) AssignProperties_To_LoadBalancerSku(destination *storage.LoadBalancerSku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5187,7 +5204,7 @@ func (balancerSku *LoadBalancerSku) Initialize_From_LoadBalancerSku_STATUS(sourc
// Name
if source.Name != nil {
- name := LoadBalancerSku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), loadBalancerSku_Name_Values)
balancerSku.Name = &name
} else {
balancerSku.Name = nil
@@ -5195,7 +5212,7 @@ func (balancerSku *LoadBalancerSku) Initialize_From_LoadBalancerSku_STATUS(sourc
// Tier
if source.Tier != nil {
- tier := LoadBalancerSku_Tier(*source.Tier)
+ tier := genruntime.ToEnum(string(*source.Tier), loadBalancerSku_Tier_Values)
balancerSku.Tier = &tier
} else {
balancerSku.Tier = nil
@@ -5245,20 +5262,22 @@ func (balancerSku *LoadBalancerSku_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_LoadBalancerSku_STATUS populates our LoadBalancerSku_STATUS from the provided source LoadBalancerSku_STATUS
-func (balancerSku *LoadBalancerSku_STATUS) AssignProperties_From_LoadBalancerSku_STATUS(source *v20201101s.LoadBalancerSku_STATUS) error {
+func (balancerSku *LoadBalancerSku_STATUS) AssignProperties_From_LoadBalancerSku_STATUS(source *storage.LoadBalancerSku_STATUS) error {
// Name
if source.Name != nil {
- name := LoadBalancerSku_Name_STATUS(*source.Name)
- balancerSku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, loadBalancerSku_Name_STATUS_Values)
+ balancerSku.Name = &nameTemp
} else {
balancerSku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := LoadBalancerSku_Tier_STATUS(*source.Tier)
- balancerSku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, loadBalancerSku_Tier_STATUS_Values)
+ balancerSku.Tier = &tierTemp
} else {
balancerSku.Tier = nil
}
@@ -5268,7 +5287,7 @@ func (balancerSku *LoadBalancerSku_STATUS) AssignProperties_From_LoadBalancerSku
}
// AssignProperties_To_LoadBalancerSku_STATUS populates the provided destination LoadBalancerSku_STATUS from our LoadBalancerSku_STATUS
-func (balancerSku *LoadBalancerSku_STATUS) AssignProperties_To_LoadBalancerSku_STATUS(destination *v20201101s.LoadBalancerSku_STATUS) error {
+func (balancerSku *LoadBalancerSku_STATUS) AssignProperties_To_LoadBalancerSku_STATUS(destination *storage.LoadBalancerSku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5574,7 +5593,7 @@ func (rule *LoadBalancingRule) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_LoadBalancingRule populates our LoadBalancingRule from the provided source LoadBalancingRule
-func (rule *LoadBalancingRule) AssignProperties_From_LoadBalancingRule(source *v20201101s.LoadBalancingRule) error {
+func (rule *LoadBalancingRule) AssignProperties_From_LoadBalancingRule(source *storage.LoadBalancingRule) error {
// BackendAddressPool
if source.BackendAddressPool != nil {
@@ -5635,8 +5654,9 @@ func (rule *LoadBalancingRule) AssignProperties_From_LoadBalancingRule(source *v
// LoadDistribution
if source.LoadDistribution != nil {
- loadDistribution := LoadBalancingRulePropertiesFormat_LoadDistribution(*source.LoadDistribution)
- rule.LoadDistribution = &loadDistribution
+ loadDistribution := *source.LoadDistribution
+ loadDistributionTemp := genruntime.ToEnum(loadDistribution, loadBalancingRulePropertiesFormat_LoadDistribution_Values)
+ rule.LoadDistribution = &loadDistributionTemp
} else {
rule.LoadDistribution = nil
}
@@ -5658,8 +5678,9 @@ func (rule *LoadBalancingRule) AssignProperties_From_LoadBalancingRule(source *v
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
@@ -5669,13 +5690,13 @@ func (rule *LoadBalancingRule) AssignProperties_From_LoadBalancingRule(source *v
}
// AssignProperties_To_LoadBalancingRule populates the provided destination LoadBalancingRule from our LoadBalancingRule
-func (rule *LoadBalancingRule) AssignProperties_To_LoadBalancingRule(destination *v20201101s.LoadBalancingRule) error {
+func (rule *LoadBalancingRule) AssignProperties_To_LoadBalancingRule(destination *storage.LoadBalancingRule) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendAddressPool
if rule.BackendAddressPool != nil {
- var backendAddressPool v20201101s.SubResource
+ var backendAddressPool storage.SubResource
err := rule.BackendAddressPool.AssignProperties_To_SubResource(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field BackendAddressPool")
@@ -5714,7 +5735,7 @@ func (rule *LoadBalancingRule) AssignProperties_To_LoadBalancingRule(destination
// FrontendIPConfiguration
if rule.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource
+ var frontendIPConfiguration storage.SubResource
err := rule.FrontendIPConfiguration.AssignProperties_To_SubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field FrontendIPConfiguration")
@@ -5743,7 +5764,7 @@ func (rule *LoadBalancingRule) AssignProperties_To_LoadBalancingRule(destination
// Probe
if rule.Probe != nil {
- var probe v20201101s.SubResource
+ var probe storage.SubResource
err := rule.Probe.AssignProperties_To_SubResource(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field Probe")
@@ -5834,7 +5855,7 @@ func (rule *LoadBalancingRule) Initialize_From_LoadBalancingRule_STATUS(source *
// LoadDistribution
if source.LoadDistribution != nil {
- loadDistribution := LoadBalancingRulePropertiesFormat_LoadDistribution(*source.LoadDistribution)
+ loadDistribution := genruntime.ToEnum(string(*source.LoadDistribution), loadBalancingRulePropertiesFormat_LoadDistribution_Values)
rule.LoadDistribution = &loadDistribution
} else {
rule.LoadDistribution = nil
@@ -5857,7 +5878,7 @@ func (rule *LoadBalancingRule) Initialize_From_LoadBalancingRule_STATUS(source *
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), transportProtocol_Values)
rule.Protocol = &protocol
} else {
rule.Protocol = nil
@@ -6093,7 +6114,7 @@ func (rule *LoadBalancingRule_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_LoadBalancingRule_STATUS populates our LoadBalancingRule_STATUS from the provided source LoadBalancingRule_STATUS
-func (rule *LoadBalancingRule_STATUS) AssignProperties_From_LoadBalancingRule_STATUS(source *v20201101s.LoadBalancingRule_STATUS) error {
+func (rule *LoadBalancingRule_STATUS) AssignProperties_From_LoadBalancingRule_STATUS(source *storage.LoadBalancingRule_STATUS) error {
// BackendAddressPool
if source.BackendAddressPool != nil {
@@ -6160,8 +6181,9 @@ func (rule *LoadBalancingRule_STATUS) AssignProperties_From_LoadBalancingRule_ST
// LoadDistribution
if source.LoadDistribution != nil {
- loadDistribution := LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS(*source.LoadDistribution)
- rule.LoadDistribution = &loadDistribution
+ loadDistribution := *source.LoadDistribution
+ loadDistributionTemp := genruntime.ToEnum(loadDistribution, loadBalancingRulePropertiesFormat_LoadDistribution_STATUS_Values)
+ rule.LoadDistribution = &loadDistributionTemp
} else {
rule.LoadDistribution = nil
}
@@ -6183,16 +6205,18 @@ func (rule *LoadBalancingRule_STATUS) AssignProperties_From_LoadBalancingRule_ST
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol_STATUS(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_STATUS_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- rule.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ rule.ProvisioningState = &provisioningStateTemp
} else {
rule.ProvisioningState = nil
}
@@ -6205,13 +6229,13 @@ func (rule *LoadBalancingRule_STATUS) AssignProperties_From_LoadBalancingRule_ST
}
// AssignProperties_To_LoadBalancingRule_STATUS populates the provided destination LoadBalancingRule_STATUS from our LoadBalancingRule_STATUS
-func (rule *LoadBalancingRule_STATUS) AssignProperties_To_LoadBalancingRule_STATUS(destination *v20201101s.LoadBalancingRule_STATUS) error {
+func (rule *LoadBalancingRule_STATUS) AssignProperties_To_LoadBalancingRule_STATUS(destination *storage.LoadBalancingRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendAddressPool
if rule.BackendAddressPool != nil {
- var backendAddressPool v20201101s.SubResource_STATUS
+ var backendAddressPool storage.SubResource_STATUS
err := rule.BackendAddressPool.AssignProperties_To_SubResource_STATUS(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field BackendAddressPool")
@@ -6253,7 +6277,7 @@ func (rule *LoadBalancingRule_STATUS) AssignProperties_To_LoadBalancingRule_STAT
// FrontendIPConfiguration
if rule.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource_STATUS
+ var frontendIPConfiguration storage.SubResource_STATUS
err := rule.FrontendIPConfiguration.AssignProperties_To_SubResource_STATUS(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field FrontendIPConfiguration")
@@ -6285,7 +6309,7 @@ func (rule *LoadBalancingRule_STATUS) AssignProperties_To_LoadBalancingRule_STAT
// Probe
if rule.Probe != nil {
- var probe v20201101s.SubResource_STATUS
+ var probe storage.SubResource_STATUS
err := rule.Probe.AssignProperties_To_SubResource_STATUS(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field Probe")
@@ -6499,7 +6523,7 @@ func (rule *OutboundRule) PopulateFromARM(owner genruntime.ArbitraryOwnerReferen
}
// AssignProperties_From_OutboundRule populates our OutboundRule from the provided source OutboundRule
-func (rule *OutboundRule) AssignProperties_From_OutboundRule(source *v20201101s.OutboundRule) error {
+func (rule *OutboundRule) AssignProperties_From_OutboundRule(source *storage.OutboundRule) error {
// AllocatedOutboundPorts
rule.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
@@ -6550,8 +6574,9 @@ func (rule *OutboundRule) AssignProperties_From_OutboundRule(source *v20201101s.
// Protocol
if source.Protocol != nil {
- protocol := OutboundRulePropertiesFormat_Protocol(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, outboundRulePropertiesFormat_Protocol_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
@@ -6561,7 +6586,7 @@ func (rule *OutboundRule) AssignProperties_From_OutboundRule(source *v20201101s.
}
// AssignProperties_To_OutboundRule populates the provided destination OutboundRule from our OutboundRule
-func (rule *OutboundRule) AssignProperties_To_OutboundRule(destination *v20201101s.OutboundRule) error {
+func (rule *OutboundRule) AssignProperties_To_OutboundRule(destination *storage.OutboundRule) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6570,7 +6595,7 @@ func (rule *OutboundRule) AssignProperties_To_OutboundRule(destination *v2020110
// BackendAddressPool
if rule.BackendAddressPool != nil {
- var backendAddressPool v20201101s.SubResource
+ var backendAddressPool storage.SubResource
err := rule.BackendAddressPool.AssignProperties_To_SubResource(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field BackendAddressPool")
@@ -6590,11 +6615,11 @@ func (rule *OutboundRule) AssignProperties_To_OutboundRule(destination *v2020110
// FrontendIPConfigurations
if rule.FrontendIPConfigurations != nil {
- frontendIPConfigurationList := make([]v20201101s.SubResource, len(rule.FrontendIPConfigurations))
+ frontendIPConfigurationList := make([]storage.SubResource, len(rule.FrontendIPConfigurations))
for frontendIPConfigurationIndex, frontendIPConfigurationItem := range rule.FrontendIPConfigurations {
// Shadow the loop variable to avoid aliasing
frontendIPConfigurationItem := frontendIPConfigurationItem
- var frontendIPConfiguration v20201101s.SubResource
+ var frontendIPConfiguration storage.SubResource
err := frontendIPConfigurationItem.AssignProperties_To_SubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field FrontendIPConfigurations")
@@ -6683,7 +6708,7 @@ func (rule *OutboundRule) Initialize_From_OutboundRule_STATUS(source *OutboundRu
// Protocol
if source.Protocol != nil {
- protocol := OutboundRulePropertiesFormat_Protocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), outboundRulePropertiesFormat_Protocol_Values)
rule.Protocol = &protocol
} else {
rule.Protocol = nil
@@ -6847,7 +6872,7 @@ func (rule *OutboundRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_OutboundRule_STATUS populates our OutboundRule_STATUS from the provided source OutboundRule_STATUS
-func (rule *OutboundRule_STATUS) AssignProperties_From_OutboundRule_STATUS(source *v20201101s.OutboundRule_STATUS) error {
+func (rule *OutboundRule_STATUS) AssignProperties_From_OutboundRule_STATUS(source *storage.OutboundRule_STATUS) error {
// AllocatedOutboundPorts
rule.AllocatedOutboundPorts = genruntime.ClonePointerToInt(source.AllocatedOutboundPorts)
@@ -6904,16 +6929,18 @@ func (rule *OutboundRule_STATUS) AssignProperties_From_OutboundRule_STATUS(sourc
// Protocol
if source.Protocol != nil {
- protocol := OutboundRulePropertiesFormat_Protocol_STATUS(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, outboundRulePropertiesFormat_Protocol_STATUS_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- rule.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ rule.ProvisioningState = &provisioningStateTemp
} else {
rule.ProvisioningState = nil
}
@@ -6926,7 +6953,7 @@ func (rule *OutboundRule_STATUS) AssignProperties_From_OutboundRule_STATUS(sourc
}
// AssignProperties_To_OutboundRule_STATUS populates the provided destination OutboundRule_STATUS from our OutboundRule_STATUS
-func (rule *OutboundRule_STATUS) AssignProperties_To_OutboundRule_STATUS(destination *v20201101s.OutboundRule_STATUS) error {
+func (rule *OutboundRule_STATUS) AssignProperties_To_OutboundRule_STATUS(destination *storage.OutboundRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6935,7 +6962,7 @@ func (rule *OutboundRule_STATUS) AssignProperties_To_OutboundRule_STATUS(destina
// BackendAddressPool
if rule.BackendAddressPool != nil {
- var backendAddressPool v20201101s.SubResource_STATUS
+ var backendAddressPool storage.SubResource_STATUS
err := rule.BackendAddressPool.AssignProperties_To_SubResource_STATUS(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field BackendAddressPool")
@@ -6958,11 +6985,11 @@ func (rule *OutboundRule_STATUS) AssignProperties_To_OutboundRule_STATUS(destina
// FrontendIPConfigurations
if rule.FrontendIPConfigurations != nil {
- frontendIPConfigurationList := make([]v20201101s.SubResource_STATUS, len(rule.FrontendIPConfigurations))
+ frontendIPConfigurationList := make([]storage.SubResource_STATUS, len(rule.FrontendIPConfigurations))
for frontendIPConfigurationIndex, frontendIPConfigurationItem := range rule.FrontendIPConfigurations {
// Shadow the loop variable to avoid aliasing
frontendIPConfigurationItem := frontendIPConfigurationItem
- var frontendIPConfiguration v20201101s.SubResource_STATUS
+ var frontendIPConfiguration storage.SubResource_STATUS
err := frontendIPConfigurationItem.AssignProperties_To_SubResource_STATUS(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field FrontendIPConfigurations")
@@ -7158,7 +7185,7 @@ func (probe *Probe) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_Probe populates our Probe from the provided source Probe
-func (probe *Probe) AssignProperties_From_Probe(source *v20201101s.Probe) error {
+func (probe *Probe) AssignProperties_From_Probe(source *storage.Probe) error {
// IntervalInSeconds
probe.IntervalInSeconds = genruntime.ClonePointerToInt(source.IntervalInSeconds)
@@ -7174,8 +7201,9 @@ func (probe *Probe) AssignProperties_From_Probe(source *v20201101s.Probe) error
// Protocol
if source.Protocol != nil {
- protocol := ProbePropertiesFormat_Protocol(*source.Protocol)
- probe.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, probePropertiesFormat_Protocol_Values)
+ probe.Protocol = &protocolTemp
} else {
probe.Protocol = nil
}
@@ -7188,7 +7216,7 @@ func (probe *Probe) AssignProperties_From_Probe(source *v20201101s.Probe) error
}
// AssignProperties_To_Probe populates the provided destination Probe from our Probe
-func (probe *Probe) AssignProperties_To_Probe(destination *v20201101s.Probe) error {
+func (probe *Probe) AssignProperties_To_Probe(destination *storage.Probe) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7243,7 +7271,7 @@ func (probe *Probe) Initialize_From_Probe_STATUS(source *Probe_STATUS) error {
// Protocol
if source.Protocol != nil {
- protocol := ProbePropertiesFormat_Protocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), probePropertiesFormat_Protocol_Values)
probe.Protocol = &protocol
} else {
probe.Protocol = nil
@@ -7410,7 +7438,7 @@ func (probe *Probe_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_Probe_STATUS populates our Probe_STATUS from the provided source Probe_STATUS
-func (probe *Probe_STATUS) AssignProperties_From_Probe_STATUS(source *v20201101s.Probe_STATUS) error {
+func (probe *Probe_STATUS) AssignProperties_From_Probe_STATUS(source *storage.Probe_STATUS) error {
// Etag
probe.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -7450,16 +7478,18 @@ func (probe *Probe_STATUS) AssignProperties_From_Probe_STATUS(source *v20201101s
// Protocol
if source.Protocol != nil {
- protocol := ProbePropertiesFormat_Protocol_STATUS(*source.Protocol)
- probe.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, probePropertiesFormat_Protocol_STATUS_Values)
+ probe.Protocol = &protocolTemp
} else {
probe.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- probe.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ probe.ProvisioningState = &provisioningStateTemp
} else {
probe.ProvisioningState = nil
}
@@ -7475,7 +7505,7 @@ func (probe *Probe_STATUS) AssignProperties_From_Probe_STATUS(source *v20201101s
}
// AssignProperties_To_Probe_STATUS populates the provided destination Probe_STATUS from our Probe_STATUS
-func (probe *Probe_STATUS) AssignProperties_To_Probe_STATUS(destination *v20201101s.Probe_STATUS) error {
+func (probe *Probe_STATUS) AssignProperties_To_Probe_STATUS(destination *storage.Probe_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7490,11 +7520,11 @@ func (probe *Probe_STATUS) AssignProperties_To_Probe_STATUS(destination *v202011
// LoadBalancingRules
if probe.LoadBalancingRules != nil {
- loadBalancingRuleList := make([]v20201101s.SubResource_STATUS, len(probe.LoadBalancingRules))
+ loadBalancingRuleList := make([]storage.SubResource_STATUS, len(probe.LoadBalancingRules))
for loadBalancingRuleIndex, loadBalancingRuleItem := range probe.LoadBalancingRules {
// Shadow the loop variable to avoid aliasing
loadBalancingRuleItem := loadBalancingRuleItem
- var loadBalancingRule v20201101s.SubResource_STATUS
+ var loadBalancingRule storage.SubResource_STATUS
err := loadBalancingRuleItem.AssignProperties_To_SubResource_STATUS(&loadBalancingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field LoadBalancingRules")
@@ -7558,6 +7588,14 @@ const (
ProvisioningState_STATUS_Updating = ProvisioningState_STATUS("Updating")
)
+// Mapping from string to ProvisioningState_STATUS
+var provisioningState_STATUS_Values = map[string]ProvisioningState_STATUS{
+ "deleting": ProvisioningState_STATUS_Deleting,
+ "failed": ProvisioningState_STATUS_Failed,
+ "succeeded": ProvisioningState_STATUS_Succeeded,
+ "updating": ProvisioningState_STATUS_Updating,
+}
+
// Load balancer backend addresses.
type LoadBalancerBackendAddress struct {
// IpAddress: IP Address belonging to the referenced virtual network.
@@ -7703,7 +7741,7 @@ func (address *LoadBalancerBackendAddress) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_LoadBalancerBackendAddress populates our LoadBalancerBackendAddress from the provided source LoadBalancerBackendAddress
-func (address *LoadBalancerBackendAddress) AssignProperties_From_LoadBalancerBackendAddress(source *v20201101s.LoadBalancerBackendAddress) error {
+func (address *LoadBalancerBackendAddress) AssignProperties_From_LoadBalancerBackendAddress(source *storage.LoadBalancerBackendAddress) error {
// IpAddress
address.IpAddress = genruntime.ClonePointerToString(source.IpAddress)
@@ -7752,7 +7790,7 @@ func (address *LoadBalancerBackendAddress) AssignProperties_From_LoadBalancerBac
}
// AssignProperties_To_LoadBalancerBackendAddress populates the provided destination LoadBalancerBackendAddress from our LoadBalancerBackendAddress
-func (address *LoadBalancerBackendAddress) AssignProperties_To_LoadBalancerBackendAddress(destination *v20201101s.LoadBalancerBackendAddress) error {
+func (address *LoadBalancerBackendAddress) AssignProperties_To_LoadBalancerBackendAddress(destination *storage.LoadBalancerBackendAddress) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7761,7 +7799,7 @@ func (address *LoadBalancerBackendAddress) AssignProperties_To_LoadBalancerBacke
// LoadBalancerFrontendIPConfiguration
if address.LoadBalancerFrontendIPConfiguration != nil {
- var loadBalancerFrontendIPConfiguration v20201101s.SubResource
+ var loadBalancerFrontendIPConfiguration storage.SubResource
err := address.LoadBalancerFrontendIPConfiguration.AssignProperties_To_SubResource(&loadBalancerFrontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field LoadBalancerFrontendIPConfiguration")
@@ -7776,7 +7814,7 @@ func (address *LoadBalancerBackendAddress) AssignProperties_To_LoadBalancerBacke
// Subnet
if address.Subnet != nil {
- var subnet v20201101s.SubResource
+ var subnet storage.SubResource
err := address.Subnet.AssignProperties_To_SubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field Subnet")
@@ -7788,7 +7826,7 @@ func (address *LoadBalancerBackendAddress) AssignProperties_To_LoadBalancerBacke
// VirtualNetwork
if address.VirtualNetwork != nil {
- var virtualNetwork v20201101s.SubResource
+ var virtualNetwork storage.SubResource
err := address.VirtualNetwork.AssignProperties_To_SubResource(&virtualNetwork)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field VirtualNetwork")
@@ -7969,7 +8007,7 @@ func (address *LoadBalancerBackendAddress_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_LoadBalancerBackendAddress_STATUS populates our LoadBalancerBackendAddress_STATUS from the provided source LoadBalancerBackendAddress_STATUS
-func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_From_LoadBalancerBackendAddress_STATUS(source *v20201101s.LoadBalancerBackendAddress_STATUS) error {
+func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_From_LoadBalancerBackendAddress_STATUS(source *storage.LoadBalancerBackendAddress_STATUS) error {
// IpAddress
address.IpAddress = genruntime.ClonePointerToString(source.IpAddress)
@@ -8030,7 +8068,7 @@ func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_From_LoadBala
}
// AssignProperties_To_LoadBalancerBackendAddress_STATUS populates the provided destination LoadBalancerBackendAddress_STATUS from our LoadBalancerBackendAddress_STATUS
-func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_To_LoadBalancerBackendAddress_STATUS(destination *v20201101s.LoadBalancerBackendAddress_STATUS) error {
+func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_To_LoadBalancerBackendAddress_STATUS(destination *storage.LoadBalancerBackendAddress_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8039,7 +8077,7 @@ func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_To_LoadBalanc
// LoadBalancerFrontendIPConfiguration
if address.LoadBalancerFrontendIPConfiguration != nil {
- var loadBalancerFrontendIPConfiguration v20201101s.SubResource_STATUS
+ var loadBalancerFrontendIPConfiguration storage.SubResource_STATUS
err := address.LoadBalancerFrontendIPConfiguration.AssignProperties_To_SubResource_STATUS(&loadBalancerFrontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field LoadBalancerFrontendIPConfiguration")
@@ -8054,7 +8092,7 @@ func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_To_LoadBalanc
// NetworkInterfaceIPConfiguration
if address.NetworkInterfaceIPConfiguration != nil {
- var networkInterfaceIPConfiguration v20201101s.SubResource_STATUS
+ var networkInterfaceIPConfiguration storage.SubResource_STATUS
err := address.NetworkInterfaceIPConfiguration.AssignProperties_To_SubResource_STATUS(&networkInterfaceIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field NetworkInterfaceIPConfiguration")
@@ -8066,7 +8104,7 @@ func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_To_LoadBalanc
// Subnet
if address.Subnet != nil {
- var subnet v20201101s.SubResource_STATUS
+ var subnet storage.SubResource_STATUS
err := address.Subnet.AssignProperties_To_SubResource_STATUS(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field Subnet")
@@ -8078,7 +8116,7 @@ func (address *LoadBalancerBackendAddress_STATUS) AssignProperties_To_LoadBalanc
// VirtualNetwork
if address.VirtualNetwork != nil {
- var virtualNetwork v20201101s.SubResource_STATUS
+ var virtualNetwork storage.SubResource_STATUS
err := address.VirtualNetwork.AssignProperties_To_SubResource_STATUS(&virtualNetwork)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field VirtualNetwork")
@@ -8108,6 +8146,13 @@ const (
LoadBalancingRulePropertiesFormat_LoadDistribution_SourceIPProtocol = LoadBalancingRulePropertiesFormat_LoadDistribution("SourceIPProtocol")
)
+// Mapping from string to LoadBalancingRulePropertiesFormat_LoadDistribution
+var loadBalancingRulePropertiesFormat_LoadDistribution_Values = map[string]LoadBalancingRulePropertiesFormat_LoadDistribution{
+ "default": LoadBalancingRulePropertiesFormat_LoadDistribution_Default,
+ "sourceip": LoadBalancingRulePropertiesFormat_LoadDistribution_SourceIP,
+ "sourceipprotocol": LoadBalancingRulePropertiesFormat_LoadDistribution_SourceIPProtocol,
+}
+
type LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS string
const (
@@ -8116,6 +8161,13 @@ const (
LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS_SourceIPProtocol = LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS("SourceIPProtocol")
)
+// Mapping from string to LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS
+var loadBalancingRulePropertiesFormat_LoadDistribution_STATUS_Values = map[string]LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS{
+ "default": LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS_Default,
+ "sourceip": LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS_SourceIP,
+ "sourceipprotocol": LoadBalancingRulePropertiesFormat_LoadDistribution_STATUS_SourceIPProtocol,
+}
+
// IPConfiguration in a network interface.
type NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded struct {
// Id: Resource ID.
@@ -8147,7 +8199,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceE
}
// AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded populates our NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded from the provided source NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(source *v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(source *storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -8157,7 +8209,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceE
}
// AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded populates the provided destination NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded from our NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(destination *v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded(destination *storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8184,6 +8236,13 @@ const (
OutboundRulePropertiesFormat_Protocol_Udp = OutboundRulePropertiesFormat_Protocol("Udp")
)
+// Mapping from string to OutboundRulePropertiesFormat_Protocol
+var outboundRulePropertiesFormat_Protocol_Values = map[string]OutboundRulePropertiesFormat_Protocol{
+ "all": OutboundRulePropertiesFormat_Protocol_All,
+ "tcp": OutboundRulePropertiesFormat_Protocol_Tcp,
+ "udp": OutboundRulePropertiesFormat_Protocol_Udp,
+}
+
type OutboundRulePropertiesFormat_Protocol_STATUS string
const (
@@ -8192,6 +8251,13 @@ const (
OutboundRulePropertiesFormat_Protocol_STATUS_Udp = OutboundRulePropertiesFormat_Protocol_STATUS("Udp")
)
+// Mapping from string to OutboundRulePropertiesFormat_Protocol_STATUS
+var outboundRulePropertiesFormat_Protocol_STATUS_Values = map[string]OutboundRulePropertiesFormat_Protocol_STATUS{
+ "all": OutboundRulePropertiesFormat_Protocol_STATUS_All,
+ "tcp": OutboundRulePropertiesFormat_Protocol_STATUS_Tcp,
+ "udp": OutboundRulePropertiesFormat_Protocol_STATUS_Udp,
+}
+
// +kubebuilder:validation:Enum={"Http","Https","Tcp"}
type ProbePropertiesFormat_Protocol string
@@ -8201,6 +8267,13 @@ const (
ProbePropertiesFormat_Protocol_Tcp = ProbePropertiesFormat_Protocol("Tcp")
)
+// Mapping from string to ProbePropertiesFormat_Protocol
+var probePropertiesFormat_Protocol_Values = map[string]ProbePropertiesFormat_Protocol{
+ "http": ProbePropertiesFormat_Protocol_Http,
+ "https": ProbePropertiesFormat_Protocol_Https,
+ "tcp": ProbePropertiesFormat_Protocol_Tcp,
+}
+
type ProbePropertiesFormat_Protocol_STATUS string
const (
@@ -8209,6 +8282,13 @@ const (
ProbePropertiesFormat_Protocol_STATUS_Tcp = ProbePropertiesFormat_Protocol_STATUS("Tcp")
)
+// Mapping from string to ProbePropertiesFormat_Protocol_STATUS
+var probePropertiesFormat_Protocol_STATUS_Values = map[string]ProbePropertiesFormat_Protocol_STATUS{
+ "http": ProbePropertiesFormat_Protocol_STATUS_Http,
+ "https": ProbePropertiesFormat_Protocol_STATUS_Https,
+ "tcp": ProbePropertiesFormat_Protocol_STATUS_Tcp,
+}
+
// Public IP address resource.
type PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded struct {
// Id: Resource ID.
@@ -8240,7 +8320,7 @@ func (embedded *PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) Populat
}
// AssignProperties_From_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded populates our PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded from the provided source PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded(source *v20201101s.PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded(source *storage.PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -8250,7 +8330,7 @@ func (embedded *PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) AssignP
}
// AssignProperties_To_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded populates the provided destination PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded from our PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded(destination *v20201101s.PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded(destination *storage.PublicIPAddress_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8314,7 +8394,7 @@ func (embedded *PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) PopulateFr
}
// AssignProperties_From_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded populates our PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded from the provided source PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded
-func (embedded *PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) AssignProperties_From_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded(source *v20201101s.PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) AssignProperties_From_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded(source *storage.PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -8329,7 +8409,7 @@ func (embedded *PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) AssignProp
}
// AssignProperties_To_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded populates the provided destination PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded from our PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded
-func (embedded *PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) AssignProperties_To_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded(destination *v20201101s.PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) AssignProperties_To_PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded(destination *storage.PublicIPAddressSpec_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8413,7 +8493,7 @@ func (embedded *Subnet_LoadBalancer_SubResourceEmbedded) PopulateFromARM(owner g
}
// AssignProperties_From_Subnet_LoadBalancer_SubResourceEmbedded populates our Subnet_LoadBalancer_SubResourceEmbedded from the provided source Subnet_LoadBalancer_SubResourceEmbedded
-func (embedded *Subnet_LoadBalancer_SubResourceEmbedded) AssignProperties_From_Subnet_LoadBalancer_SubResourceEmbedded(source *v20201101s.Subnet_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *Subnet_LoadBalancer_SubResourceEmbedded) AssignProperties_From_Subnet_LoadBalancer_SubResourceEmbedded(source *storage.Subnet_LoadBalancer_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -8428,7 +8508,7 @@ func (embedded *Subnet_LoadBalancer_SubResourceEmbedded) AssignProperties_From_S
}
// AssignProperties_To_Subnet_LoadBalancer_SubResourceEmbedded populates the provided destination Subnet_LoadBalancer_SubResourceEmbedded from our Subnet_LoadBalancer_SubResourceEmbedded
-func (embedded *Subnet_LoadBalancer_SubResourceEmbedded) AssignProperties_To_Subnet_LoadBalancer_SubResourceEmbedded(destination *v20201101s.Subnet_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *Subnet_LoadBalancer_SubResourceEmbedded) AssignProperties_To_Subnet_LoadBalancer_SubResourceEmbedded(destination *storage.Subnet_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8497,7 +8577,7 @@ func (embedded *Subnet_STATUS_LoadBalancer_SubResourceEmbedded) PopulateFromARM(
}
// AssignProperties_From_Subnet_STATUS_LoadBalancer_SubResourceEmbedded populates our Subnet_STATUS_LoadBalancer_SubResourceEmbedded from the provided source Subnet_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *Subnet_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_LoadBalancer_SubResourceEmbedded(source *v20201101s.Subnet_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_LoadBalancer_SubResourceEmbedded(source *storage.Subnet_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -8507,7 +8587,7 @@ func (embedded *Subnet_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties
}
// AssignProperties_To_Subnet_STATUS_LoadBalancer_SubResourceEmbedded populates the provided destination Subnet_STATUS_LoadBalancer_SubResourceEmbedded from our Subnet_STATUS_LoadBalancer_SubResourceEmbedded
-func (embedded *Subnet_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_LoadBalancer_SubResourceEmbedded(destination *v20201101s.Subnet_STATUS_LoadBalancer_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_LoadBalancer_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_LoadBalancer_SubResourceEmbedded(destination *storage.Subnet_STATUS_LoadBalancer_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancers_inbound_nat_rule_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancers_inbound_nat_rule_types_gen.go
index d022d147f6..8354d00481 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancers_inbound_nat_rule_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/load_balancers_inbound_nat_rule_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &LoadBalancersInboundNatRule{}
// ConvertFrom populates our LoadBalancersInboundNatRule from the provided hub LoadBalancersInboundNatRule
func (rule *LoadBalancersInboundNatRule) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.LoadBalancersInboundNatRule)
+ source, ok := hub.(*storage.LoadBalancersInboundNatRule)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/LoadBalancersInboundNatRule but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (rule *LoadBalancersInboundNatRule) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub LoadBalancersInboundNatRule from our LoadBalancersInboundNatRule
func (rule *LoadBalancersInboundNatRule) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.LoadBalancersInboundNatRule)
+ destination, ok := hub.(*storage.LoadBalancersInboundNatRule)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/LoadBalancersInboundNatRule but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (rule *LoadBalancersInboundNatRule) validateWriteOnceProperties(old runtime
}
// AssignProperties_From_LoadBalancersInboundNatRule populates our LoadBalancersInboundNatRule from the provided source LoadBalancersInboundNatRule
-func (rule *LoadBalancersInboundNatRule) AssignProperties_From_LoadBalancersInboundNatRule(source *v20201101s.LoadBalancersInboundNatRule) error {
+func (rule *LoadBalancersInboundNatRule) AssignProperties_From_LoadBalancersInboundNatRule(source *storage.LoadBalancersInboundNatRule) error {
// ObjectMeta
rule.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (rule *LoadBalancersInboundNatRule) AssignProperties_From_LoadBalancersInbo
}
// AssignProperties_To_LoadBalancersInboundNatRule populates the provided destination LoadBalancersInboundNatRule from our LoadBalancersInboundNatRule
-func (rule *LoadBalancersInboundNatRule) AssignProperties_To_LoadBalancersInboundNatRule(destination *v20201101s.LoadBalancersInboundNatRule) error {
+func (rule *LoadBalancersInboundNatRule) AssignProperties_To_LoadBalancersInboundNatRule(destination *storage.LoadBalancersInboundNatRule) error {
// ObjectMeta
destination.ObjectMeta = *rule.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.LoadBalancers_InboundNatRule_Spec
+ var spec storage.LoadBalancers_InboundNatRule_Spec
err := rule.Spec.AssignProperties_To_LoadBalancers_InboundNatRule_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancers_InboundNatRule_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (rule *LoadBalancersInboundNatRule) AssignProperties_To_LoadBalancersInboun
destination.Spec = spec
// Status
- var status v20201101s.LoadBalancers_InboundNatRule_STATUS
+ var status storage.LoadBalancers_InboundNatRule_STATUS
err = rule.Status.AssignProperties_To_LoadBalancers_InboundNatRule_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_LoadBalancers_InboundNatRule_STATUS() to populate field Status")
@@ -516,14 +516,14 @@ var _ genruntime.ConvertibleSpec = &LoadBalancers_InboundNatRule_Spec{}
// ConvertSpecFrom populates our LoadBalancers_InboundNatRule_Spec from the provided source
func (rule *LoadBalancers_InboundNatRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.LoadBalancers_InboundNatRule_Spec)
+ src, ok := source.(*storage.LoadBalancers_InboundNatRule_Spec)
if ok {
// Populate our instance from source
return rule.AssignProperties_From_LoadBalancers_InboundNatRule_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.LoadBalancers_InboundNatRule_Spec{}
+ src = &storage.LoadBalancers_InboundNatRule_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -540,14 +540,14 @@ func (rule *LoadBalancers_InboundNatRule_Spec) ConvertSpecFrom(source genruntime
// ConvertSpecTo populates the provided destination from our LoadBalancers_InboundNatRule_Spec
func (rule *LoadBalancers_InboundNatRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.LoadBalancers_InboundNatRule_Spec)
+ dst, ok := destination.(*storage.LoadBalancers_InboundNatRule_Spec)
if ok {
// Populate destination from our instance
return rule.AssignProperties_To_LoadBalancers_InboundNatRule_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.LoadBalancers_InboundNatRule_Spec{}
+ dst = &storage.LoadBalancers_InboundNatRule_Spec{}
err := rule.AssignProperties_To_LoadBalancers_InboundNatRule_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -563,7 +563,7 @@ func (rule *LoadBalancers_InboundNatRule_Spec) ConvertSpecTo(destination genrunt
}
// AssignProperties_From_LoadBalancers_InboundNatRule_Spec populates our LoadBalancers_InboundNatRule_Spec from the provided source LoadBalancers_InboundNatRule_Spec
-func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_From_LoadBalancers_InboundNatRule_Spec(source *v20201101s.LoadBalancers_InboundNatRule_Spec) error {
+func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_From_LoadBalancers_InboundNatRule_Spec(source *storage.LoadBalancers_InboundNatRule_Spec) error {
// AzureName
rule.AzureName = source.AzureName
@@ -615,8 +615,9 @@ func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_From_LoadBalance
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
@@ -626,7 +627,7 @@ func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_From_LoadBalance
}
// AssignProperties_To_LoadBalancers_InboundNatRule_Spec populates the provided destination LoadBalancers_InboundNatRule_Spec from our LoadBalancers_InboundNatRule_Spec
-func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_To_LoadBalancers_InboundNatRule_Spec(destination *v20201101s.LoadBalancers_InboundNatRule_Spec) error {
+func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_To_LoadBalancers_InboundNatRule_Spec(destination *storage.LoadBalancers_InboundNatRule_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -654,7 +655,7 @@ func (rule *LoadBalancers_InboundNatRule_Spec) AssignProperties_To_LoadBalancers
// FrontendIPConfiguration
if rule.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource
+ var frontendIPConfiguration storage.SubResource
err := rule.FrontendIPConfiguration.AssignProperties_To_SubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field FrontendIPConfiguration")
@@ -742,7 +743,7 @@ func (rule *LoadBalancers_InboundNatRule_Spec) Initialize_From_LoadBalancers_Inb
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), transportProtocol_Values)
rule.Protocol = &protocol
} else {
rule.Protocol = nil
@@ -817,14 +818,14 @@ var _ genruntime.ConvertibleStatus = &LoadBalancers_InboundNatRule_STATUS{}
// ConvertStatusFrom populates our LoadBalancers_InboundNatRule_STATUS from the provided source
func (rule *LoadBalancers_InboundNatRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.LoadBalancers_InboundNatRule_STATUS)
+ src, ok := source.(*storage.LoadBalancers_InboundNatRule_STATUS)
if ok {
// Populate our instance from source
return rule.AssignProperties_From_LoadBalancers_InboundNatRule_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.LoadBalancers_InboundNatRule_STATUS{}
+ src = &storage.LoadBalancers_InboundNatRule_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -841,14 +842,14 @@ func (rule *LoadBalancers_InboundNatRule_STATUS) ConvertStatusFrom(source genrun
// ConvertStatusTo populates the provided destination from our LoadBalancers_InboundNatRule_STATUS
func (rule *LoadBalancers_InboundNatRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.LoadBalancers_InboundNatRule_STATUS)
+ dst, ok := destination.(*storage.LoadBalancers_InboundNatRule_STATUS)
if ok {
// Populate destination from our instance
return rule.AssignProperties_To_LoadBalancers_InboundNatRule_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.LoadBalancers_InboundNatRule_STATUS{}
+ dst = &storage.LoadBalancers_InboundNatRule_STATUS{}
err := rule.AssignProperties_To_LoadBalancers_InboundNatRule_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -999,7 +1000,7 @@ func (rule *LoadBalancers_InboundNatRule_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_LoadBalancers_InboundNatRule_STATUS populates our LoadBalancers_InboundNatRule_STATUS from the provided source LoadBalancers_InboundNatRule_STATUS
-func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_From_LoadBalancers_InboundNatRule_STATUS(source *v20201101s.LoadBalancers_InboundNatRule_STATUS) error {
+func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_From_LoadBalancers_InboundNatRule_STATUS(source *storage.LoadBalancers_InboundNatRule_STATUS) error {
// BackendIPConfiguration
if source.BackendIPConfiguration != nil {
@@ -1064,16 +1065,18 @@ func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_From_LoadBalan
// Protocol
if source.Protocol != nil {
- protocol := TransportProtocol_STATUS(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, transportProtocol_STATUS_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- rule.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ rule.ProvisioningState = &provisioningStateTemp
} else {
rule.ProvisioningState = nil
}
@@ -1086,13 +1089,13 @@ func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_From_LoadBalan
}
// AssignProperties_To_LoadBalancers_InboundNatRule_STATUS populates the provided destination LoadBalancers_InboundNatRule_STATUS from our LoadBalancers_InboundNatRule_STATUS
-func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_To_LoadBalancers_InboundNatRule_STATUS(destination *v20201101s.LoadBalancers_InboundNatRule_STATUS) error {
+func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_To_LoadBalancers_InboundNatRule_STATUS(destination *storage.LoadBalancers_InboundNatRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendIPConfiguration
if rule.BackendIPConfiguration != nil {
- var backendIPConfiguration v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded
+ var backendIPConfiguration storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded
err := rule.BackendIPConfiguration.AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded(&backendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded() to populate field BackendIPConfiguration")
@@ -1129,7 +1132,7 @@ func (rule *LoadBalancers_InboundNatRule_STATUS) AssignProperties_To_LoadBalance
// FrontendIPConfiguration
if rule.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20201101s.SubResource_STATUS
+ var frontendIPConfiguration storage.SubResource_STATUS
err := rule.FrontendIPConfiguration.AssignProperties_To_SubResource_STATUS(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field FrontendIPConfiguration")
@@ -1212,7 +1215,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatR
}
// AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded populates our NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded from the provided source NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded(source *v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded(source *storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1222,7 +1225,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatR
}
// AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded populates the provided destination NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded from our NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded(destination *v20201101s.NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded(destination *storage.NetworkInterfaceIPConfiguration_STATUS_LoadBalancers_InboundNatRule_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1286,7 +1289,7 @@ func (resource *SubResource) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_SubResource populates our SubResource from the provided source SubResource
-func (resource *SubResource) AssignProperties_From_SubResource(source *v20201101s.SubResource) error {
+func (resource *SubResource) AssignProperties_From_SubResource(source *storage.SubResource) error {
// Reference
if source.Reference != nil {
@@ -1301,7 +1304,7 @@ func (resource *SubResource) AssignProperties_From_SubResource(source *v20201101
}
// AssignProperties_To_SubResource populates the provided destination SubResource from our SubResource
-func (resource *SubResource) AssignProperties_To_SubResource(destination *v20201101s.SubResource) error {
+func (resource *SubResource) AssignProperties_To_SubResource(destination *storage.SubResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1370,7 +1373,7 @@ func (resource *SubResource_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_SubResource_STATUS populates our SubResource_STATUS from the provided source SubResource_STATUS
-func (resource *SubResource_STATUS) AssignProperties_From_SubResource_STATUS(source *v20201101s.SubResource_STATUS) error {
+func (resource *SubResource_STATUS) AssignProperties_From_SubResource_STATUS(source *storage.SubResource_STATUS) error {
// Id
resource.Id = genruntime.ClonePointerToString(source.Id)
@@ -1380,7 +1383,7 @@ func (resource *SubResource_STATUS) AssignProperties_From_SubResource_STATUS(sou
}
// AssignProperties_To_SubResource_STATUS populates the provided destination SubResource_STATUS from our SubResource_STATUS
-func (resource *SubResource_STATUS) AssignProperties_To_SubResource_STATUS(destination *v20201101s.SubResource_STATUS) error {
+func (resource *SubResource_STATUS) AssignProperties_To_SubResource_STATUS(destination *storage.SubResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1408,6 +1411,13 @@ const (
TransportProtocol_Udp = TransportProtocol("Udp")
)
+// Mapping from string to TransportProtocol
+var transportProtocol_Values = map[string]TransportProtocol{
+ "all": TransportProtocol_All,
+ "tcp": TransportProtocol_Tcp,
+ "udp": TransportProtocol_Udp,
+}
+
// The transport protocol for the endpoint.
type TransportProtocol_STATUS string
@@ -1417,6 +1427,13 @@ const (
TransportProtocol_STATUS_Udp = TransportProtocol_STATUS("Udp")
)
+// Mapping from string to TransportProtocol_STATUS
+var transportProtocol_STATUS_Values = map[string]TransportProtocol_STATUS{
+ "all": TransportProtocol_STATUS_All,
+ "tcp": TransportProtocol_STATUS_Tcp,
+ "udp": TransportProtocol_STATUS_Udp,
+}
+
func init() {
SchemeBuilder.Register(&LoadBalancersInboundNatRule{}, &LoadBalancersInboundNatRuleList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_interface_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_interface_types_gen.go
index 6de890b935..a394d00c22 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_interface_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_interface_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &NetworkInterface{}
// ConvertFrom populates our NetworkInterface from the provided hub NetworkInterface
func (networkInterface *NetworkInterface) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.NetworkInterface)
+ source, ok := hub.(*storage.NetworkInterface)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/NetworkInterface but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (networkInterface *NetworkInterface) ConvertFrom(hub conversion.Hub) error
// ConvertTo populates the provided hub NetworkInterface from our NetworkInterface
func (networkInterface *NetworkInterface) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.NetworkInterface)
+ destination, ok := hub.(*storage.NetworkInterface)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/NetworkInterface but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (networkInterface *NetworkInterface) validateWriteOnceProperties(old runtim
}
// AssignProperties_From_NetworkInterface populates our NetworkInterface from the provided source NetworkInterface
-func (networkInterface *NetworkInterface) AssignProperties_From_NetworkInterface(source *v20201101s.NetworkInterface) error {
+func (networkInterface *NetworkInterface) AssignProperties_From_NetworkInterface(source *storage.NetworkInterface) error {
// ObjectMeta
networkInterface.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (networkInterface *NetworkInterface) AssignProperties_From_NetworkInterface
}
// AssignProperties_To_NetworkInterface populates the provided destination NetworkInterface from our NetworkInterface
-func (networkInterface *NetworkInterface) AssignProperties_To_NetworkInterface(destination *v20201101s.NetworkInterface) error {
+func (networkInterface *NetworkInterface) AssignProperties_To_NetworkInterface(destination *storage.NetworkInterface) error {
// ObjectMeta
destination.ObjectMeta = *networkInterface.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.NetworkInterface_Spec
+ var spec storage.NetworkInterface_Spec
err := networkInterface.Spec.AssignProperties_To_NetworkInterface_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterface_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (networkInterface *NetworkInterface) AssignProperties_To_NetworkInterface(d
destination.Spec = spec
// Status
- var status v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded
+ var status storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded
err = networkInterface.Status.AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded() to populate field Status")
@@ -594,14 +594,14 @@ var _ genruntime.ConvertibleSpec = &NetworkInterface_Spec{}
// ConvertSpecFrom populates our NetworkInterface_Spec from the provided source
func (networkInterface *NetworkInterface_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.NetworkInterface_Spec)
+ src, ok := source.(*storage.NetworkInterface_Spec)
if ok {
// Populate our instance from source
return networkInterface.AssignProperties_From_NetworkInterface_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.NetworkInterface_Spec{}
+ src = &storage.NetworkInterface_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -618,14 +618,14 @@ func (networkInterface *NetworkInterface_Spec) ConvertSpecFrom(source genruntime
// ConvertSpecTo populates the provided destination from our NetworkInterface_Spec
func (networkInterface *NetworkInterface_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.NetworkInterface_Spec)
+ dst, ok := destination.(*storage.NetworkInterface_Spec)
if ok {
// Populate destination from our instance
return networkInterface.AssignProperties_To_NetworkInterface_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.NetworkInterface_Spec{}
+ dst = &storage.NetworkInterface_Spec{}
err := networkInterface.AssignProperties_To_NetworkInterface_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -641,7 +641,7 @@ func (networkInterface *NetworkInterface_Spec) ConvertSpecTo(destination genrunt
}
// AssignProperties_From_NetworkInterface_Spec populates our NetworkInterface_Spec from the provided source NetworkInterface_Spec
-func (networkInterface *NetworkInterface_Spec) AssignProperties_From_NetworkInterface_Spec(source *v20201101s.NetworkInterface_Spec) error {
+func (networkInterface *NetworkInterface_Spec) AssignProperties_From_NetworkInterface_Spec(source *storage.NetworkInterface_Spec) error {
// AzureName
networkInterface.AzureName = source.AzureName
@@ -721,8 +721,9 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_From_NetworkInte
// NicType
if source.NicType != nil {
- nicType := NetworkInterfacePropertiesFormat_NicType(*source.NicType)
- networkInterface.NicType = &nicType
+ nicType := *source.NicType
+ nicTypeTemp := genruntime.ToEnum(nicType, networkInterfacePropertiesFormat_NicType_Values)
+ networkInterface.NicType = &nicTypeTemp
} else {
networkInterface.NicType = nil
}
@@ -755,7 +756,7 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_From_NetworkInte
}
// AssignProperties_To_NetworkInterface_Spec populates the provided destination NetworkInterface_Spec from our NetworkInterface_Spec
-func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterface_Spec(destination *v20201101s.NetworkInterface_Spec) error {
+func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterface_Spec(destination *storage.NetworkInterface_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -764,7 +765,7 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterf
// DnsSettings
if networkInterface.DnsSettings != nil {
- var dnsSetting v20201101s.NetworkInterfaceDnsSettings
+ var dnsSetting storage.NetworkInterfaceDnsSettings
err := networkInterface.DnsSettings.AssignProperties_To_NetworkInterfaceDnsSettings(&dnsSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceDnsSettings() to populate field DnsSettings")
@@ -792,7 +793,7 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterf
// ExtendedLocation
if networkInterface.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := networkInterface.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -804,11 +805,11 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterf
// IpConfigurations
if networkInterface.IpConfigurations != nil {
- ipConfigurationList := make([]v20201101s.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded, len(networkInterface.IpConfigurations))
+ ipConfigurationList := make([]storage.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded, len(networkInterface.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range networkInterface.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20201101s.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded
+ var ipConfiguration storage.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded
err := ipConfigurationItem.AssignProperties_To_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded() to populate field IpConfigurations")
@@ -825,7 +826,7 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterf
// NetworkSecurityGroup
if networkInterface.NetworkSecurityGroup != nil {
- var networkSecurityGroup v20201101s.NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
+ var networkSecurityGroup storage.NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
err := networkInterface.NetworkSecurityGroup.AssignProperties_To_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(&networkSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded() to populate field NetworkSecurityGroup")
@@ -856,7 +857,7 @@ func (networkInterface *NetworkInterface_Spec) AssignProperties_To_NetworkInterf
// PrivateLinkService
if networkInterface.PrivateLinkService != nil {
- var privateLinkService v20201101s.PrivateLinkServiceSpec
+ var privateLinkService storage.PrivateLinkServiceSpec
err := networkInterface.PrivateLinkService.AssignProperties_To_PrivateLinkServiceSpec(&privateLinkService)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceSpec() to populate field PrivateLinkService")
@@ -958,7 +959,7 @@ func (networkInterface *NetworkInterface_Spec) Initialize_From_NetworkInterface_
// NicType
if source.NicType != nil {
- nicType := NetworkInterfacePropertiesFormat_NicType(*source.NicType)
+ nicType := genruntime.ToEnum(string(*source.NicType), networkInterfacePropertiesFormat_NicType_Values)
networkInterface.NicType = &nicType
} else {
networkInterface.NicType = nil
@@ -1075,14 +1076,14 @@ var _ genruntime.ConvertibleStatus = &NetworkInterface_STATUS_NetworkInterface_S
// ConvertStatusFrom populates our NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded from the provided source
func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded)
+ src, ok := source.(*storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded)
if ok {
// Populate our instance from source
return embedded.AssignProperties_From_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(src)
}
// Convert to an intermediate form
- src = &v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded{}
+ src = &storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1099,14 +1100,14 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) Co
// ConvertStatusTo populates the provided destination from our NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded
func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded)
+ dst, ok := destination.(*storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded)
if ok {
// Populate destination from our instance
return embedded.AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded{}
+ dst = &storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded{}
err := embedded.AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1381,7 +1382,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) Po
}
// AssignProperties_From_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded populates our NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded from the provided source NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Conditions
embedded.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -1473,8 +1474,9 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// MigrationPhase
if source.MigrationPhase != nil {
- migrationPhase := NetworkInterfacePropertiesFormat_MigrationPhase_STATUS(*source.MigrationPhase)
- embedded.MigrationPhase = &migrationPhase
+ migrationPhase := *source.MigrationPhase
+ migrationPhaseTemp := genruntime.ToEnum(migrationPhase, networkInterfacePropertiesFormat_MigrationPhase_STATUS_Values)
+ embedded.MigrationPhase = &migrationPhaseTemp
} else {
embedded.MigrationPhase = nil
}
@@ -1496,8 +1498,9 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// NicType
if source.NicType != nil {
- nicType := NetworkInterfacePropertiesFormat_NicType_STATUS(*source.NicType)
- embedded.NicType = &nicType
+ nicType := *source.NicType
+ nicTypeTemp := genruntime.ToEnum(nicType, networkInterfacePropertiesFormat_NicType_STATUS_Values)
+ embedded.NicType = &nicTypeTemp
} else {
embedded.NicType = nil
}
@@ -1536,8 +1539,9 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -1586,7 +1590,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
}
// AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded from our NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1595,7 +1599,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// DnsSettings
if embedded.DnsSettings != nil {
- var dnsSetting v20201101s.NetworkInterfaceDnsSettings_STATUS
+ var dnsSetting storage.NetworkInterfaceDnsSettings_STATUS
err := embedded.DnsSettings.AssignProperties_To_NetworkInterfaceDnsSettings_STATUS(&dnsSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceDnsSettings_STATUS() to populate field DnsSettings")
@@ -1607,7 +1611,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// DscpConfiguration
if embedded.DscpConfiguration != nil {
- var dscpConfiguration v20201101s.SubResource_STATUS
+ var dscpConfiguration storage.SubResource_STATUS
err := embedded.DscpConfiguration.AssignProperties_To_SubResource_STATUS(&dscpConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field DscpConfiguration")
@@ -1638,7 +1642,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// ExtendedLocation
if embedded.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := embedded.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1656,11 +1660,11 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// IpConfigurations
if embedded.IpConfigurations != nil {
- ipConfigurationList := make([]v20201101s.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.IpConfigurations))
+ ipConfigurationList := make([]storage.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range embedded.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20201101s.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
+ var ipConfiguration storage.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
err := ipConfigurationItem.AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded() to populate field IpConfigurations")
@@ -1691,7 +1695,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// NetworkSecurityGroup
if embedded.NetworkSecurityGroup != nil {
- var networkSecurityGroup v20201101s.NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
+ var networkSecurityGroup storage.NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
err := embedded.NetworkSecurityGroup.AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(&networkSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded() to populate field NetworkSecurityGroup")
@@ -1719,7 +1723,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// PrivateEndpoint
if embedded.PrivateEndpoint != nil {
- var privateEndpoint v20201101s.PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded
+ var privateEndpoint storage.PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded
err := embedded.PrivateEndpoint.AssignProperties_To_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded(&privateEndpoint)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded() to populate field PrivateEndpoint")
@@ -1731,7 +1735,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// PrivateLinkService
if embedded.PrivateLinkService != nil {
- var privateLinkService v20201101s.PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded
+ var privateLinkService storage.PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded
err := embedded.PrivateLinkService.AssignProperties_To_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded(&privateLinkService)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded() to populate field PrivateLinkService")
@@ -1757,11 +1761,11 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// TapConfigurations
if embedded.TapConfigurations != nil {
- tapConfigurationList := make([]v20201101s.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.TapConfigurations))
+ tapConfigurationList := make([]storage.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.TapConfigurations))
for tapConfigurationIndex, tapConfigurationItem := range embedded.TapConfigurations {
// Shadow the loop variable to avoid aliasing
tapConfigurationItem := tapConfigurationItem
- var tapConfiguration v20201101s.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
+ var tapConfiguration storage.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
err := tapConfigurationItem.AssignProperties_To_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(&tapConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded() to populate field TapConfigurations")
@@ -1778,7 +1782,7 @@ func (embedded *NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded) As
// VirtualMachine
if embedded.VirtualMachine != nil {
- var virtualMachine v20201101s.SubResource_STATUS
+ var virtualMachine storage.SubResource_STATUS
err := embedded.VirtualMachine.AssignProperties_To_SubResource_STATUS(&virtualMachine)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field VirtualMachine")
@@ -1860,7 +1864,7 @@ func (settings *NetworkInterfaceDnsSettings) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_NetworkInterfaceDnsSettings populates our NetworkInterfaceDnsSettings from the provided source NetworkInterfaceDnsSettings
-func (settings *NetworkInterfaceDnsSettings) AssignProperties_From_NetworkInterfaceDnsSettings(source *v20201101s.NetworkInterfaceDnsSettings) error {
+func (settings *NetworkInterfaceDnsSettings) AssignProperties_From_NetworkInterfaceDnsSettings(source *storage.NetworkInterfaceDnsSettings) error {
// DnsServers
settings.DnsServers = genruntime.CloneSliceOfString(source.DnsServers)
@@ -1873,7 +1877,7 @@ func (settings *NetworkInterfaceDnsSettings) AssignProperties_From_NetworkInterf
}
// AssignProperties_To_NetworkInterfaceDnsSettings populates the provided destination NetworkInterfaceDnsSettings from our NetworkInterfaceDnsSettings
-func (settings *NetworkInterfaceDnsSettings) AssignProperties_To_NetworkInterfaceDnsSettings(destination *v20201101s.NetworkInterfaceDnsSettings) error {
+func (settings *NetworkInterfaceDnsSettings) AssignProperties_To_NetworkInterfaceDnsSettings(destination *storage.NetworkInterfaceDnsSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1977,7 +1981,7 @@ func (settings *NetworkInterfaceDnsSettings_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_NetworkInterfaceDnsSettings_STATUS populates our NetworkInterfaceDnsSettings_STATUS from the provided source NetworkInterfaceDnsSettings_STATUS
-func (settings *NetworkInterfaceDnsSettings_STATUS) AssignProperties_From_NetworkInterfaceDnsSettings_STATUS(source *v20201101s.NetworkInterfaceDnsSettings_STATUS) error {
+func (settings *NetworkInterfaceDnsSettings_STATUS) AssignProperties_From_NetworkInterfaceDnsSettings_STATUS(source *storage.NetworkInterfaceDnsSettings_STATUS) error {
// AppliedDnsServers
settings.AppliedDnsServers = genruntime.CloneSliceOfString(source.AppliedDnsServers)
@@ -1999,7 +2003,7 @@ func (settings *NetworkInterfaceDnsSettings_STATUS) AssignProperties_From_Networ
}
// AssignProperties_To_NetworkInterfaceDnsSettings_STATUS populates the provided destination NetworkInterfaceDnsSettings_STATUS from our NetworkInterfaceDnsSettings_STATUS
-func (settings *NetworkInterfaceDnsSettings_STATUS) AssignProperties_To_NetworkInterfaceDnsSettings_STATUS(destination *v20201101s.NetworkInterfaceDnsSettings_STATUS) error {
+func (settings *NetworkInterfaceDnsSettings_STATUS) AssignProperties_To_NetworkInterfaceDnsSettings_STATUS(destination *storage.NetworkInterfaceDnsSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2319,7 +2323,7 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
}
// AssignProperties_From_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded populates our NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded from the provided source NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded(source *v20201101s.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded(source *storage.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) error {
// ApplicationGatewayBackendAddressPools
if source.ApplicationGatewayBackendAddressPools != nil {
@@ -2409,16 +2413,18 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion(*source.PrivateIPAddressVersion)
- embedded.PrivateIPAddressVersion = &privateIPAddressVersion
+ privateIPAddressVersion := *source.PrivateIPAddressVersion
+ privateIPAddressVersionTemp := genruntime.ToEnum(privateIPAddressVersion, iPVersion_Values)
+ embedded.PrivateIPAddressVersion = &privateIPAddressVersionTemp
} else {
embedded.PrivateIPAddressVersion = nil
}
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
- embedded.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_Values)
+ embedded.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
embedded.PrivateIPAllocationMethod = nil
}
@@ -2470,17 +2476,17 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
}
// AssignProperties_To_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded populates the provided destination NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded from our NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded(destination *v20201101s.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded(destination *storage.NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ApplicationGatewayBackendAddressPools
if embedded.ApplicationGatewayBackendAddressPools != nil {
- applicationGatewayBackendAddressPoolList := make([]v20201101s.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationGatewayBackendAddressPools))
+ applicationGatewayBackendAddressPoolList := make([]storage.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationGatewayBackendAddressPools))
for applicationGatewayBackendAddressPoolIndex, applicationGatewayBackendAddressPoolItem := range embedded.ApplicationGatewayBackendAddressPools {
// Shadow the loop variable to avoid aliasing
applicationGatewayBackendAddressPoolItem := applicationGatewayBackendAddressPoolItem
- var applicationGatewayBackendAddressPool v20201101s.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded
+ var applicationGatewayBackendAddressPool storage.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded
err := applicationGatewayBackendAddressPoolItem.AssignProperties_To_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded(&applicationGatewayBackendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded() to populate field ApplicationGatewayBackendAddressPools")
@@ -2494,11 +2500,11 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// ApplicationSecurityGroups
if embedded.ApplicationSecurityGroups != nil {
- applicationSecurityGroupList := make([]v20201101s.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationSecurityGroups))
+ applicationSecurityGroupList := make([]storage.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationSecurityGroups))
for applicationSecurityGroupIndex, applicationSecurityGroupItem := range embedded.ApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
applicationSecurityGroupItem := applicationSecurityGroupItem
- var applicationSecurityGroup v20201101s.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
+ var applicationSecurityGroup storage.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
err := applicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(&applicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded() to populate field ApplicationSecurityGroups")
@@ -2512,11 +2518,11 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// LoadBalancerBackendAddressPools
if embedded.LoadBalancerBackendAddressPools != nil {
- loadBalancerBackendAddressPoolList := make([]v20201101s.BackendAddressPool_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerBackendAddressPools))
+ loadBalancerBackendAddressPoolList := make([]storage.BackendAddressPool_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerBackendAddressPools))
for loadBalancerBackendAddressPoolIndex, loadBalancerBackendAddressPoolItem := range embedded.LoadBalancerBackendAddressPools {
// Shadow the loop variable to avoid aliasing
loadBalancerBackendAddressPoolItem := loadBalancerBackendAddressPoolItem
- var loadBalancerBackendAddressPool v20201101s.BackendAddressPool_NetworkInterface_SubResourceEmbedded
+ var loadBalancerBackendAddressPool storage.BackendAddressPool_NetworkInterface_SubResourceEmbedded
err := loadBalancerBackendAddressPoolItem.AssignProperties_To_BackendAddressPool_NetworkInterface_SubResourceEmbedded(&loadBalancerBackendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BackendAddressPool_NetworkInterface_SubResourceEmbedded() to populate field LoadBalancerBackendAddressPools")
@@ -2530,11 +2536,11 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// LoadBalancerInboundNatRules
if embedded.LoadBalancerInboundNatRules != nil {
- loadBalancerInboundNatRuleList := make([]v20201101s.InboundNatRule_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerInboundNatRules))
+ loadBalancerInboundNatRuleList := make([]storage.InboundNatRule_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerInboundNatRules))
for loadBalancerInboundNatRuleIndex, loadBalancerInboundNatRuleItem := range embedded.LoadBalancerInboundNatRules {
// Shadow the loop variable to avoid aliasing
loadBalancerInboundNatRuleItem := loadBalancerInboundNatRuleItem
- var loadBalancerInboundNatRule v20201101s.InboundNatRule_NetworkInterface_SubResourceEmbedded
+ var loadBalancerInboundNatRule storage.InboundNatRule_NetworkInterface_SubResourceEmbedded
err := loadBalancerInboundNatRuleItem.AssignProperties_To_InboundNatRule_NetworkInterface_SubResourceEmbedded(&loadBalancerInboundNatRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_InboundNatRule_NetworkInterface_SubResourceEmbedded() to populate field LoadBalancerInboundNatRules")
@@ -2578,7 +2584,7 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// PublicIPAddress
if embedded.PublicIPAddress != nil {
- var publicIPAddress v20201101s.PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded
+ var publicIPAddress storage.PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded
err := embedded.PublicIPAddress.AssignProperties_To_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded() to populate field PublicIPAddress")
@@ -2590,7 +2596,7 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// Subnet
if embedded.Subnet != nil {
- var subnet v20201101s.Subnet_NetworkInterface_SubResourceEmbedded
+ var subnet storage.Subnet_NetworkInterface_SubResourceEmbedded
err := embedded.Subnet.AssignProperties_To_Subnet_NetworkInterface_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_NetworkInterface_SubResourceEmbedded() to populate field Subnet")
@@ -2602,11 +2608,11 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// VirtualNetworkTaps
if embedded.VirtualNetworkTaps != nil {
- virtualNetworkTapList := make([]v20201101s.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded, len(embedded.VirtualNetworkTaps))
+ virtualNetworkTapList := make([]storage.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded, len(embedded.VirtualNetworkTaps))
for virtualNetworkTapIndex, virtualNetworkTapItem := range embedded.VirtualNetworkTaps {
// Shadow the loop variable to avoid aliasing
virtualNetworkTapItem := virtualNetworkTapItem
- var virtualNetworkTap v20201101s.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded
+ var virtualNetworkTap storage.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded
err := virtualNetworkTapItem.AssignProperties_To_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded(&virtualNetworkTap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded() to populate field VirtualNetworkTaps")
@@ -2720,7 +2726,7 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion(*source.PrivateIPAddressVersion)
+ privateIPAddressVersion := genruntime.ToEnum(string(*source.PrivateIPAddressVersion), iPVersion_Values)
embedded.PrivateIPAddressVersion = &privateIPAddressVersion
} else {
embedded.PrivateIPAddressVersion = nil
@@ -2728,7 +2734,7 @@ func (embedded *NetworkInterfaceIPConfiguration_NetworkInterface_SubResourceEmbe
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
+ privateIPAllocationMethod := genruntime.ToEnum(string(*source.PrivateIPAllocationMethod), iPAllocationMethod_Values)
embedded.PrivateIPAllocationMethod = &privateIPAllocationMethod
} else {
embedded.PrivateIPAllocationMethod = nil
@@ -3029,7 +3035,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
}
// AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded populates our NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded from the provided source NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
// ApplicationGatewayBackendAddressPools
if source.ApplicationGatewayBackendAddressPools != nil {
@@ -3125,16 +3131,18 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion_STATUS(*source.PrivateIPAddressVersion)
- embedded.PrivateIPAddressVersion = &privateIPAddressVersion
+ privateIPAddressVersion := *source.PrivateIPAddressVersion
+ privateIPAddressVersionTemp := genruntime.ToEnum(privateIPAddressVersion, iPVersion_STATUS_Values)
+ embedded.PrivateIPAddressVersion = &privateIPAddressVersionTemp
} else {
embedded.PrivateIPAddressVersion = nil
}
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod_STATUS(*source.PrivateIPAllocationMethod)
- embedded.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_STATUS_Values)
+ embedded.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
embedded.PrivateIPAllocationMethod = nil
}
@@ -3153,8 +3161,9 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -3209,17 +3218,17 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
}
// AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded from our NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ApplicationGatewayBackendAddressPools
if embedded.ApplicationGatewayBackendAddressPools != nil {
- applicationGatewayBackendAddressPoolList := make([]v20201101s.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationGatewayBackendAddressPools))
+ applicationGatewayBackendAddressPoolList := make([]storage.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationGatewayBackendAddressPools))
for applicationGatewayBackendAddressPoolIndex, applicationGatewayBackendAddressPoolItem := range embedded.ApplicationGatewayBackendAddressPools {
// Shadow the loop variable to avoid aliasing
applicationGatewayBackendAddressPoolItem := applicationGatewayBackendAddressPoolItem
- var applicationGatewayBackendAddressPool v20201101s.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
+ var applicationGatewayBackendAddressPool storage.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
err := applicationGatewayBackendAddressPoolItem.AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(&applicationGatewayBackendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded() to populate field ApplicationGatewayBackendAddressPools")
@@ -3233,11 +3242,11 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// ApplicationSecurityGroups
if embedded.ApplicationSecurityGroups != nil {
- applicationSecurityGroupList := make([]v20201101s.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationSecurityGroups))
+ applicationSecurityGroupList := make([]storage.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.ApplicationSecurityGroups))
for applicationSecurityGroupIndex, applicationSecurityGroupItem := range embedded.ApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
applicationSecurityGroupItem := applicationSecurityGroupItem
- var applicationSecurityGroup v20201101s.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
+ var applicationSecurityGroup storage.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
err := applicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(&applicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded() to populate field ApplicationSecurityGroups")
@@ -3257,11 +3266,11 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// LoadBalancerBackendAddressPools
if embedded.LoadBalancerBackendAddressPools != nil {
- loadBalancerBackendAddressPoolList := make([]v20201101s.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerBackendAddressPools))
+ loadBalancerBackendAddressPoolList := make([]storage.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerBackendAddressPools))
for loadBalancerBackendAddressPoolIndex, loadBalancerBackendAddressPoolItem := range embedded.LoadBalancerBackendAddressPools {
// Shadow the loop variable to avoid aliasing
loadBalancerBackendAddressPoolItem := loadBalancerBackendAddressPoolItem
- var loadBalancerBackendAddressPool v20201101s.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
+ var loadBalancerBackendAddressPool storage.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
err := loadBalancerBackendAddressPoolItem.AssignProperties_To_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(&loadBalancerBackendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded() to populate field LoadBalancerBackendAddressPools")
@@ -3275,11 +3284,11 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// LoadBalancerInboundNatRules
if embedded.LoadBalancerInboundNatRules != nil {
- loadBalancerInboundNatRuleList := make([]v20201101s.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerInboundNatRules))
+ loadBalancerInboundNatRuleList := make([]storage.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.LoadBalancerInboundNatRules))
for loadBalancerInboundNatRuleIndex, loadBalancerInboundNatRuleItem := range embedded.LoadBalancerInboundNatRules {
// Shadow the loop variable to avoid aliasing
loadBalancerInboundNatRuleItem := loadBalancerInboundNatRuleItem
- var loadBalancerInboundNatRule v20201101s.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded
+ var loadBalancerInboundNatRule storage.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded
err := loadBalancerInboundNatRuleItem.AssignProperties_To_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded(&loadBalancerInboundNatRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded() to populate field LoadBalancerInboundNatRules")
@@ -3323,7 +3332,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// PrivateLinkConnectionProperties
if embedded.PrivateLinkConnectionProperties != nil {
- var privateLinkConnectionProperty v20201101s.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS
+ var privateLinkConnectionProperty storage.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS
err := embedded.PrivateLinkConnectionProperties.AssignProperties_To_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS(&privateLinkConnectionProperty)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS() to populate field PrivateLinkConnectionProperties")
@@ -3343,7 +3352,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// PublicIPAddress
if embedded.PublicIPAddress != nil {
- var publicIPAddress v20201101s.PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded
+ var publicIPAddress storage.PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded
err := embedded.PublicIPAddress.AssignProperties_To_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded() to populate field PublicIPAddress")
@@ -3355,7 +3364,7 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// Subnet
if embedded.Subnet != nil {
- var subnet v20201101s.Subnet_STATUS_NetworkInterface_SubResourceEmbedded
+ var subnet storage.Subnet_STATUS_NetworkInterface_SubResourceEmbedded
err := embedded.Subnet.AssignProperties_To_Subnet_STATUS_NetworkInterface_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_STATUS_NetworkInterface_SubResourceEmbedded() to populate field Subnet")
@@ -3370,11 +3379,11 @@ func (embedded *NetworkInterfaceIPConfiguration_STATUS_NetworkInterface_SubResou
// VirtualNetworkTaps
if embedded.VirtualNetworkTaps != nil {
- virtualNetworkTapList := make([]v20201101s.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.VirtualNetworkTaps))
+ virtualNetworkTapList := make([]storage.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded, len(embedded.VirtualNetworkTaps))
for virtualNetworkTapIndex, virtualNetworkTapItem := range embedded.VirtualNetworkTaps {
// Shadow the loop variable to avoid aliasing
virtualNetworkTapItem := virtualNetworkTapItem
- var virtualNetworkTap v20201101s.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded
+ var virtualNetworkTap storage.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded
err := virtualNetworkTapItem.AssignProperties_To_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded(&virtualNetworkTap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded() to populate field VirtualNetworkTaps")
@@ -3407,6 +3416,15 @@ const (
NetworkInterfacePropertiesFormat_MigrationPhase_STATUS_Prepare = NetworkInterfacePropertiesFormat_MigrationPhase_STATUS("Prepare")
)
+// Mapping from string to NetworkInterfacePropertiesFormat_MigrationPhase_STATUS
+var networkInterfacePropertiesFormat_MigrationPhase_STATUS_Values = map[string]NetworkInterfacePropertiesFormat_MigrationPhase_STATUS{
+ "abort": NetworkInterfacePropertiesFormat_MigrationPhase_STATUS_Abort,
+ "commit": NetworkInterfacePropertiesFormat_MigrationPhase_STATUS_Commit,
+ "committed": NetworkInterfacePropertiesFormat_MigrationPhase_STATUS_Committed,
+ "none": NetworkInterfacePropertiesFormat_MigrationPhase_STATUS_None,
+ "prepare": NetworkInterfacePropertiesFormat_MigrationPhase_STATUS_Prepare,
+}
+
// +kubebuilder:validation:Enum={"Elastic","Standard"}
type NetworkInterfacePropertiesFormat_NicType string
@@ -3415,6 +3433,12 @@ const (
NetworkInterfacePropertiesFormat_NicType_Standard = NetworkInterfacePropertiesFormat_NicType("Standard")
)
+// Mapping from string to NetworkInterfacePropertiesFormat_NicType
+var networkInterfacePropertiesFormat_NicType_Values = map[string]NetworkInterfacePropertiesFormat_NicType{
+ "elastic": NetworkInterfacePropertiesFormat_NicType_Elastic,
+ "standard": NetworkInterfacePropertiesFormat_NicType_Standard,
+}
+
type NetworkInterfacePropertiesFormat_NicType_STATUS string
const (
@@ -3422,6 +3446,12 @@ const (
NetworkInterfacePropertiesFormat_NicType_STATUS_Standard = NetworkInterfacePropertiesFormat_NicType_STATUS("Standard")
)
+// Mapping from string to NetworkInterfacePropertiesFormat_NicType_STATUS
+var networkInterfacePropertiesFormat_NicType_STATUS_Values = map[string]NetworkInterfacePropertiesFormat_NicType_STATUS{
+ "elastic": NetworkInterfacePropertiesFormat_NicType_STATUS_Elastic,
+ "standard": NetworkInterfacePropertiesFormat_NicType_STATUS_Standard,
+}
+
// Tap configuration in a Network Interface.
type NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded struct {
// Id: Resource ID.
@@ -3453,7 +3483,7 @@ func (embedded *NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubReso
}
// AssignProperties_From_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded populates our NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded from the provided source NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3463,7 +3493,7 @@ func (embedded *NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubReso
}
// AssignProperties_To_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded from our NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.NetworkInterfaceTapConfiguration_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3512,7 +3542,7 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
}
// AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded populates our NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded from the provided source NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3522,7 +3552,7 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
}
// AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded from our NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.NetworkSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3586,7 +3616,7 @@ func (embedded *NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) P
}
// AssignProperties_From_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded populates our NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded from the provided source NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(source *v20201101s.NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(source *storage.NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -3601,7 +3631,7 @@ func (embedded *NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) A
}
// AssignProperties_To_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded populates the provided destination NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded from our NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(destination *v20201101s.NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(destination *storage.NetworkSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3670,7 +3700,7 @@ func (embedded *PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) Pop
}
// AssignProperties_From_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded populates our PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded from the provided source PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3680,7 +3710,7 @@ func (embedded *PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) Ass
}
// AssignProperties_To_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded from our PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.PrivateEndpoint_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3729,7 +3759,7 @@ func (embedded *PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded)
}
// AssignProperties_From_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded populates our PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded from the provided source PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3739,7 +3769,7 @@ func (embedded *PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded)
}
// AssignProperties_To_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded from our PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.PrivateLinkService_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3803,7 +3833,7 @@ func (service *PrivateLinkServiceSpec) PopulateFromARM(owner genruntime.Arbitrar
}
// AssignProperties_From_PrivateLinkServiceSpec populates our PrivateLinkServiceSpec from the provided source PrivateLinkServiceSpec
-func (service *PrivateLinkServiceSpec) AssignProperties_From_PrivateLinkServiceSpec(source *v20201101s.PrivateLinkServiceSpec) error {
+func (service *PrivateLinkServiceSpec) AssignProperties_From_PrivateLinkServiceSpec(source *storage.PrivateLinkServiceSpec) error {
// Reference
if source.Reference != nil {
@@ -3818,7 +3848,7 @@ func (service *PrivateLinkServiceSpec) AssignProperties_From_PrivateLinkServiceS
}
// AssignProperties_To_PrivateLinkServiceSpec populates the provided destination PrivateLinkServiceSpec from our PrivateLinkServiceSpec
-func (service *PrivateLinkServiceSpec) AssignProperties_To_PrivateLinkServiceSpec(destination *v20201101s.PrivateLinkServiceSpec) error {
+func (service *PrivateLinkServiceSpec) AssignProperties_To_PrivateLinkServiceSpec(destination *storage.PrivateLinkServiceSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3902,7 +3932,7 @@ func (embedded *ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourc
}
// AssignProperties_From_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded populates our ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded from the provided source ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded(source *v20201101s.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded(source *storage.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -3917,7 +3947,7 @@ func (embedded *ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourc
}
// AssignProperties_To_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded populates the provided destination ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded from our ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded(destination *v20201101s.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded(destination *storage.ApplicationGatewayBackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3986,7 +4016,7 @@ func (embedded *ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_Sub
}
// AssignProperties_From_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded populates our ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded from the provided source ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3996,7 +4026,7 @@ func (embedded *ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_Sub
}
// AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded from our ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.ApplicationGatewayBackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4045,7 +4075,7 @@ func (embedded *ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbe
}
// AssignProperties_From_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded populates our ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded from the provided source ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -4055,7 +4085,7 @@ func (embedded *ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbe
}
// AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded from our ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.ApplicationSecurityGroup_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4119,7 +4149,7 @@ func (embedded *ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedde
}
// AssignProperties_From_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded populates our ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded from the provided source ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(source *v20201101s.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(source *storage.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -4134,7 +4164,7 @@ func (embedded *ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedde
}
// AssignProperties_To_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded populates the provided destination ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded from our ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(destination *v20201101s.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded(destination *storage.ApplicationSecurityGroupSpec_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4218,7 +4248,7 @@ func (embedded *BackendAddressPool_NetworkInterface_SubResourceEmbedded) Populat
}
// AssignProperties_From_BackendAddressPool_NetworkInterface_SubResourceEmbedded populates our BackendAddressPool_NetworkInterface_SubResourceEmbedded from the provided source BackendAddressPool_NetworkInterface_SubResourceEmbedded
-func (embedded *BackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_NetworkInterface_SubResourceEmbedded(source *v20201101s.BackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_NetworkInterface_SubResourceEmbedded(source *storage.BackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -4233,7 +4263,7 @@ func (embedded *BackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignP
}
// AssignProperties_To_BackendAddressPool_NetworkInterface_SubResourceEmbedded populates the provided destination BackendAddressPool_NetworkInterface_SubResourceEmbedded from our BackendAddressPool_NetworkInterface_SubResourceEmbedded
-func (embedded *BackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_NetworkInterface_SubResourceEmbedded(destination *v20201101s.BackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_NetworkInterface_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_NetworkInterface_SubResourceEmbedded(destination *storage.BackendAddressPool_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4302,7 +4332,7 @@ func (embedded *BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded)
}
// AssignProperties_From_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded populates our BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded from the provided source BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -4312,7 +4342,7 @@ func (embedded *BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded)
}
// AssignProperties_To_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded from our BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.BackendAddressPool_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4376,7 +4406,7 @@ func (embedded *InboundNatRule_NetworkInterface_SubResourceEmbedded) PopulateFro
}
// AssignProperties_From_InboundNatRule_NetworkInterface_SubResourceEmbedded populates our InboundNatRule_NetworkInterface_SubResourceEmbedded from the provided source InboundNatRule_NetworkInterface_SubResourceEmbedded
-func (embedded *InboundNatRule_NetworkInterface_SubResourceEmbedded) AssignProperties_From_InboundNatRule_NetworkInterface_SubResourceEmbedded(source *v20201101s.InboundNatRule_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_NetworkInterface_SubResourceEmbedded) AssignProperties_From_InboundNatRule_NetworkInterface_SubResourceEmbedded(source *storage.InboundNatRule_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -4391,7 +4421,7 @@ func (embedded *InboundNatRule_NetworkInterface_SubResourceEmbedded) AssignPrope
}
// AssignProperties_To_InboundNatRule_NetworkInterface_SubResourceEmbedded populates the provided destination InboundNatRule_NetworkInterface_SubResourceEmbedded from our InboundNatRule_NetworkInterface_SubResourceEmbedded
-func (embedded *InboundNatRule_NetworkInterface_SubResourceEmbedded) AssignProperties_To_InboundNatRule_NetworkInterface_SubResourceEmbedded(destination *v20201101s.InboundNatRule_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_NetworkInterface_SubResourceEmbedded) AssignProperties_To_InboundNatRule_NetworkInterface_SubResourceEmbedded(destination *storage.InboundNatRule_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4460,7 +4490,7 @@ func (embedded *InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) Popu
}
// AssignProperties_From_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded populates our InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded from the provided source InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -4470,7 +4500,7 @@ func (embedded *InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) Assi
}
// AssignProperties_To_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded from our InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.InboundNatRule_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4536,7 +4566,7 @@ func (properties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties
}
// AssignProperties_From_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS populates our NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS from the provided source NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS
-func (properties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) AssignProperties_From_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS(source *v20201101s.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) error {
+func (properties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) AssignProperties_From_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS(source *storage.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) error {
// Fqdns
properties.Fqdns = genruntime.CloneSliceOfString(source.Fqdns)
@@ -4552,7 +4582,7 @@ func (properties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties
}
// AssignProperties_To_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS populates the provided destination NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS from our NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS
-func (properties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) AssignProperties_To_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS(destination *v20201101s.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) error {
+func (properties *NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) AssignProperties_To_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS(destination *storage.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4607,7 +4637,7 @@ func (embedded *PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) Pop
}
// AssignProperties_From_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded populates our PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded from the provided source PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -4617,7 +4647,7 @@ func (embedded *PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) Ass
}
// AssignProperties_To_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded from our PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.PublicIPAddress_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4681,7 +4711,7 @@ func (embedded *PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) Popula
}
// AssignProperties_From_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded populates our PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded from the provided source PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded(source *v20201101s.PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded(source *storage.PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -4696,7 +4726,7 @@ func (embedded *PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) Assign
}
// AssignProperties_To_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded populates the provided destination PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded from our PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded(destination *v20201101s.PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded(destination *storage.PublicIPAddressSpec_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4780,7 +4810,7 @@ func (embedded *Subnet_NetworkInterface_SubResourceEmbedded) PopulateFromARM(own
}
// AssignProperties_From_Subnet_NetworkInterface_SubResourceEmbedded populates our Subnet_NetworkInterface_SubResourceEmbedded from the provided source Subnet_NetworkInterface_SubResourceEmbedded
-func (embedded *Subnet_NetworkInterface_SubResourceEmbedded) AssignProperties_From_Subnet_NetworkInterface_SubResourceEmbedded(source *v20201101s.Subnet_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *Subnet_NetworkInterface_SubResourceEmbedded) AssignProperties_From_Subnet_NetworkInterface_SubResourceEmbedded(source *storage.Subnet_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -4795,7 +4825,7 @@ func (embedded *Subnet_NetworkInterface_SubResourceEmbedded) AssignProperties_Fr
}
// AssignProperties_To_Subnet_NetworkInterface_SubResourceEmbedded populates the provided destination Subnet_NetworkInterface_SubResourceEmbedded from our Subnet_NetworkInterface_SubResourceEmbedded
-func (embedded *Subnet_NetworkInterface_SubResourceEmbedded) AssignProperties_To_Subnet_NetworkInterface_SubResourceEmbedded(destination *v20201101s.Subnet_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *Subnet_NetworkInterface_SubResourceEmbedded) AssignProperties_To_Subnet_NetworkInterface_SubResourceEmbedded(destination *storage.Subnet_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4864,7 +4894,7 @@ func (embedded *Subnet_STATUS_NetworkInterface_SubResourceEmbedded) PopulateFrom
}
// AssignProperties_From_Subnet_STATUS_NetworkInterface_SubResourceEmbedded populates our Subnet_STATUS_NetworkInterface_SubResourceEmbedded from the provided source Subnet_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *Subnet_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.Subnet_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.Subnet_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -4874,7 +4904,7 @@ func (embedded *Subnet_STATUS_NetworkInterface_SubResourceEmbedded) AssignProper
}
// AssignProperties_To_Subnet_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination Subnet_STATUS_NetworkInterface_SubResourceEmbedded from our Subnet_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *Subnet_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.Subnet_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.Subnet_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4923,7 +4953,7 @@ func (embedded *VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) P
}
// AssignProperties_From_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded populates our VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded from the provided source VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded(source *v20201101s.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_From_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded(source *storage.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -4933,7 +4963,7 @@ func (embedded *VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) A
}
// AssignProperties_To_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded populates the provided destination VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded from our VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded
-func (embedded *VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded(destination *v20201101s.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) AssignProperties_To_VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded(destination *storage.VirtualNetworkTap_STATUS_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4997,7 +5027,7 @@ func (embedded *VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) Popu
}
// AssignProperties_From_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded populates our VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded from the provided source VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded(source *v20201101s.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_From_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded(source *storage.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -5012,7 +5042,7 @@ func (embedded *VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) Assi
}
// AssignProperties_To_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded populates the provided destination VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded from our VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded
-func (embedded *VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded(destination *v20201101s.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) error {
+func (embedded *VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) AssignProperties_To_VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded(destination *storage.VirtualNetworkTapSpec_NetworkInterface_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_group_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_group_types_gen.go
index 3288d63e97..604c4cef91 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_group_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_group_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &NetworkSecurityGroup{}
// ConvertFrom populates our NetworkSecurityGroup from the provided hub NetworkSecurityGroup
func (group *NetworkSecurityGroup) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.NetworkSecurityGroup)
+ source, ok := hub.(*storage.NetworkSecurityGroup)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/NetworkSecurityGroup but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (group *NetworkSecurityGroup) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub NetworkSecurityGroup from our NetworkSecurityGroup
func (group *NetworkSecurityGroup) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.NetworkSecurityGroup)
+ destination, ok := hub.(*storage.NetworkSecurityGroup)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/NetworkSecurityGroup but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (group *NetworkSecurityGroup) validateWriteOnceProperties(old runtime.Objec
}
// AssignProperties_From_NetworkSecurityGroup populates our NetworkSecurityGroup from the provided source NetworkSecurityGroup
-func (group *NetworkSecurityGroup) AssignProperties_From_NetworkSecurityGroup(source *v20201101s.NetworkSecurityGroup) error {
+func (group *NetworkSecurityGroup) AssignProperties_From_NetworkSecurityGroup(source *storage.NetworkSecurityGroup) error {
// ObjectMeta
group.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (group *NetworkSecurityGroup) AssignProperties_From_NetworkSecurityGroup(so
}
// AssignProperties_To_NetworkSecurityGroup populates the provided destination NetworkSecurityGroup from our NetworkSecurityGroup
-func (group *NetworkSecurityGroup) AssignProperties_To_NetworkSecurityGroup(destination *v20201101s.NetworkSecurityGroup) error {
+func (group *NetworkSecurityGroup) AssignProperties_To_NetworkSecurityGroup(destination *storage.NetworkSecurityGroup) error {
// ObjectMeta
destination.ObjectMeta = *group.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.NetworkSecurityGroup_Spec
+ var spec storage.NetworkSecurityGroup_Spec
err := group.Spec.AssignProperties_To_NetworkSecurityGroup_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroup_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (group *NetworkSecurityGroup) AssignProperties_To_NetworkSecurityGroup(dest
destination.Spec = spec
// Status
- var status v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded
+ var status storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded
err = group.Status.AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded() to populate field Status")
@@ -415,14 +415,14 @@ var _ genruntime.ConvertibleSpec = &NetworkSecurityGroup_Spec{}
// ConvertSpecFrom populates our NetworkSecurityGroup_Spec from the provided source
func (group *NetworkSecurityGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.NetworkSecurityGroup_Spec)
+ src, ok := source.(*storage.NetworkSecurityGroup_Spec)
if ok {
// Populate our instance from source
return group.AssignProperties_From_NetworkSecurityGroup_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.NetworkSecurityGroup_Spec{}
+ src = &storage.NetworkSecurityGroup_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -439,14 +439,14 @@ func (group *NetworkSecurityGroup_Spec) ConvertSpecFrom(source genruntime.Conver
// ConvertSpecTo populates the provided destination from our NetworkSecurityGroup_Spec
func (group *NetworkSecurityGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.NetworkSecurityGroup_Spec)
+ dst, ok := destination.(*storage.NetworkSecurityGroup_Spec)
if ok {
// Populate destination from our instance
return group.AssignProperties_To_NetworkSecurityGroup_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.NetworkSecurityGroup_Spec{}
+ dst = &storage.NetworkSecurityGroup_Spec{}
err := group.AssignProperties_To_NetworkSecurityGroup_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -462,7 +462,7 @@ func (group *NetworkSecurityGroup_Spec) ConvertSpecTo(destination genruntime.Con
}
// AssignProperties_From_NetworkSecurityGroup_Spec populates our NetworkSecurityGroup_Spec from the provided source NetworkSecurityGroup_Spec
-func (group *NetworkSecurityGroup_Spec) AssignProperties_From_NetworkSecurityGroup_Spec(source *v20201101s.NetworkSecurityGroup_Spec) error {
+func (group *NetworkSecurityGroup_Spec) AssignProperties_From_NetworkSecurityGroup_Spec(source *storage.NetworkSecurityGroup_Spec) error {
// AzureName
group.AzureName = source.AzureName
@@ -486,7 +486,7 @@ func (group *NetworkSecurityGroup_Spec) AssignProperties_From_NetworkSecurityGro
}
// AssignProperties_To_NetworkSecurityGroup_Spec populates the provided destination NetworkSecurityGroup_Spec from our NetworkSecurityGroup_Spec
-func (group *NetworkSecurityGroup_Spec) AssignProperties_To_NetworkSecurityGroup_Spec(destination *v20201101s.NetworkSecurityGroup_Spec) error {
+func (group *NetworkSecurityGroup_Spec) AssignProperties_To_NetworkSecurityGroup_Spec(destination *storage.NetworkSecurityGroup_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -588,14 +588,14 @@ var _ genruntime.ConvertibleStatus = &NetworkSecurityGroup_STATUS_NetworkSecurit
// ConvertStatusFrom populates our NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded from the provided source
func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded)
+ src, ok := source.(*storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded)
if ok {
// Populate our instance from source
return embedded.AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(src)
}
// Convert to an intermediate form
- src = &v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded{}
+ src = &storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -612,14 +612,14 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
// ConvertStatusTo populates the provided destination from our NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded
func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded)
+ dst, ok := destination.(*storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded)
if ok {
// Populate destination from our instance
return embedded.AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded{}
+ dst = &storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded{}
err := embedded.AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -763,7 +763,7 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
}
// AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded populates our NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded from the provided source NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded
-func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(source *v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(source *storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
// Conditions
embedded.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -836,8 +836,9 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -874,7 +875,7 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
}
// AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded populates the provided destination NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded from our NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded
-func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(destination *v20201101s.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded(destination *storage.NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -883,11 +884,11 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
// DefaultSecurityRules
if embedded.DefaultSecurityRules != nil {
- defaultSecurityRuleList := make([]v20201101s.SecurityRule_STATUS, len(embedded.DefaultSecurityRules))
+ defaultSecurityRuleList := make([]storage.SecurityRule_STATUS, len(embedded.DefaultSecurityRules))
for defaultSecurityRuleIndex, defaultSecurityRuleItem := range embedded.DefaultSecurityRules {
// Shadow the loop variable to avoid aliasing
defaultSecurityRuleItem := defaultSecurityRuleItem
- var defaultSecurityRule v20201101s.SecurityRule_STATUS
+ var defaultSecurityRule storage.SecurityRule_STATUS
err := defaultSecurityRuleItem.AssignProperties_To_SecurityRule_STATUS(&defaultSecurityRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SecurityRule_STATUS() to populate field DefaultSecurityRules")
@@ -904,11 +905,11 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
// FlowLogs
if embedded.FlowLogs != nil {
- flowLogList := make([]v20201101s.FlowLog_STATUS, len(embedded.FlowLogs))
+ flowLogList := make([]storage.FlowLog_STATUS, len(embedded.FlowLogs))
for flowLogIndex, flowLogItem := range embedded.FlowLogs {
// Shadow the loop variable to avoid aliasing
flowLogItem := flowLogItem
- var flowLog v20201101s.FlowLog_STATUS
+ var flowLog storage.FlowLog_STATUS
err := flowLogItem.AssignProperties_To_FlowLog_STATUS(&flowLog)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FlowLog_STATUS() to populate field FlowLogs")
@@ -931,11 +932,11 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
// NetworkInterfaces
if embedded.NetworkInterfaces != nil {
- networkInterfaceList := make([]v20201101s.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded, len(embedded.NetworkInterfaces))
+ networkInterfaceList := make([]storage.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded, len(embedded.NetworkInterfaces))
for networkInterfaceIndex, networkInterfaceItem := range embedded.NetworkInterfaces {
// Shadow the loop variable to avoid aliasing
networkInterfaceItem := networkInterfaceItem
- var networkInterface v20201101s.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded
+ var networkInterface storage.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded
err := networkInterfaceItem.AssignProperties_To_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded(&networkInterface)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded() to populate field NetworkInterfaces")
@@ -960,11 +961,11 @@ func (embedded *NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbe
// Subnets
if embedded.Subnets != nil {
- subnetList := make([]v20201101s.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded, len(embedded.Subnets))
+ subnetList := make([]storage.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded, len(embedded.Subnets))
for subnetIndex, subnetItem := range embedded.Subnets {
// Shadow the loop variable to avoid aliasing
subnetItem := subnetItem
- var subnet v20201101s.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded
+ var subnet storage.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded
err := subnetItem.AssignProperties_To_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded() to populate field Subnets")
@@ -1024,7 +1025,7 @@ func (flowLog *FlowLog_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_FlowLog_STATUS populates our FlowLog_STATUS from the provided source FlowLog_STATUS
-func (flowLog *FlowLog_STATUS) AssignProperties_From_FlowLog_STATUS(source *v20201101s.FlowLog_STATUS) error {
+func (flowLog *FlowLog_STATUS) AssignProperties_From_FlowLog_STATUS(source *storage.FlowLog_STATUS) error {
// Id
flowLog.Id = genruntime.ClonePointerToString(source.Id)
@@ -1034,7 +1035,7 @@ func (flowLog *FlowLog_STATUS) AssignProperties_From_FlowLog_STATUS(source *v202
}
// AssignProperties_To_FlowLog_STATUS populates the provided destination FlowLog_STATUS from our FlowLog_STATUS
-func (flowLog *FlowLog_STATUS) AssignProperties_To_FlowLog_STATUS(destination *v20201101s.FlowLog_STATUS) error {
+func (flowLog *FlowLog_STATUS) AssignProperties_To_FlowLog_STATUS(destination *storage.FlowLog_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1083,7 +1084,7 @@ func (embedded *NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded
}
// AssignProperties_From_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded populates our NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded from the provided source NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded(source *v20201101s.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded(source *storage.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1093,7 +1094,7 @@ func (embedded *NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded
}
// AssignProperties_To_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded populates the provided destination NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded from our NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded(destination *v20201101s.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded(destination *storage.NetworkInterface_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1142,7 +1143,7 @@ func (rule *SecurityRule_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_SecurityRule_STATUS populates our SecurityRule_STATUS from the provided source SecurityRule_STATUS
-func (rule *SecurityRule_STATUS) AssignProperties_From_SecurityRule_STATUS(source *v20201101s.SecurityRule_STATUS) error {
+func (rule *SecurityRule_STATUS) AssignProperties_From_SecurityRule_STATUS(source *storage.SecurityRule_STATUS) error {
// Id
rule.Id = genruntime.ClonePointerToString(source.Id)
@@ -1152,7 +1153,7 @@ func (rule *SecurityRule_STATUS) AssignProperties_From_SecurityRule_STATUS(sourc
}
// AssignProperties_To_SecurityRule_STATUS populates the provided destination SecurityRule_STATUS from our SecurityRule_STATUS
-func (rule *SecurityRule_STATUS) AssignProperties_To_SecurityRule_STATUS(destination *v20201101s.SecurityRule_STATUS) error {
+func (rule *SecurityRule_STATUS) AssignProperties_To_SecurityRule_STATUS(destination *storage.SecurityRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1201,7 +1202,7 @@ func (embedded *Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) Populate
}
// AssignProperties_From_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded populates our Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded from the provided source Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded
-func (embedded *Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded(source *v20201101s.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded(source *storage.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1211,7 +1212,7 @@ func (embedded *Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignPr
}
// AssignProperties_To_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded populates the provided destination Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded from our Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded
-func (embedded *Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded(destination *v20201101s.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded(destination *storage.Subnet_STATUS_NetworkSecurityGroup_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_groups_security_rule_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_groups_security_rule_types_gen.go
index cade313510..f07dbb73d0 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_groups_security_rule_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/network_security_groups_security_rule_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &NetworkSecurityGroupsSecurityRule{}
// ConvertFrom populates our NetworkSecurityGroupsSecurityRule from the provided hub NetworkSecurityGroupsSecurityRule
func (rule *NetworkSecurityGroupsSecurityRule) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.NetworkSecurityGroupsSecurityRule)
+ source, ok := hub.(*storage.NetworkSecurityGroupsSecurityRule)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/NetworkSecurityGroupsSecurityRule but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) ConvertFrom(hub conversion.Hub) e
// ConvertTo populates the provided hub NetworkSecurityGroupsSecurityRule from our NetworkSecurityGroupsSecurityRule
func (rule *NetworkSecurityGroupsSecurityRule) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.NetworkSecurityGroupsSecurityRule)
+ destination, ok := hub.(*storage.NetworkSecurityGroupsSecurityRule)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/NetworkSecurityGroupsSecurityRule but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) validateWriteOnceProperties(old r
}
// AssignProperties_From_NetworkSecurityGroupsSecurityRule populates our NetworkSecurityGroupsSecurityRule from the provided source NetworkSecurityGroupsSecurityRule
-func (rule *NetworkSecurityGroupsSecurityRule) AssignProperties_From_NetworkSecurityGroupsSecurityRule(source *v20201101s.NetworkSecurityGroupsSecurityRule) error {
+func (rule *NetworkSecurityGroupsSecurityRule) AssignProperties_From_NetworkSecurityGroupsSecurityRule(source *storage.NetworkSecurityGroupsSecurityRule) error {
// ObjectMeta
rule.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (rule *NetworkSecurityGroupsSecurityRule) AssignProperties_From_NetworkSecu
}
// AssignProperties_To_NetworkSecurityGroupsSecurityRule populates the provided destination NetworkSecurityGroupsSecurityRule from our NetworkSecurityGroupsSecurityRule
-func (rule *NetworkSecurityGroupsSecurityRule) AssignProperties_To_NetworkSecurityGroupsSecurityRule(destination *v20201101s.NetworkSecurityGroupsSecurityRule) error {
+func (rule *NetworkSecurityGroupsSecurityRule) AssignProperties_To_NetworkSecurityGroupsSecurityRule(destination *storage.NetworkSecurityGroupsSecurityRule) error {
// ObjectMeta
destination.ObjectMeta = *rule.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.NetworkSecurityGroups_SecurityRule_Spec
+ var spec storage.NetworkSecurityGroups_SecurityRule_Spec
err := rule.Spec.AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (rule *NetworkSecurityGroupsSecurityRule) AssignProperties_To_NetworkSecuri
destination.Spec = spec
// Status
- var status v20201101s.NetworkSecurityGroups_SecurityRule_STATUS
+ var status storage.NetworkSecurityGroups_SecurityRule_STATUS
err = rule.Status.AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS() to populate field Status")
@@ -653,14 +653,14 @@ var _ genruntime.ConvertibleSpec = &NetworkSecurityGroups_SecurityRule_Spec{}
// ConvertSpecFrom populates our NetworkSecurityGroups_SecurityRule_Spec from the provided source
func (rule *NetworkSecurityGroups_SecurityRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.NetworkSecurityGroups_SecurityRule_Spec)
+ src, ok := source.(*storage.NetworkSecurityGroups_SecurityRule_Spec)
if ok {
// Populate our instance from source
return rule.AssignProperties_From_NetworkSecurityGroups_SecurityRule_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.NetworkSecurityGroups_SecurityRule_Spec{}
+ src = &storage.NetworkSecurityGroups_SecurityRule_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -677,14 +677,14 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) ConvertSpecFrom(source genr
// ConvertSpecTo populates the provided destination from our NetworkSecurityGroups_SecurityRule_Spec
func (rule *NetworkSecurityGroups_SecurityRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.NetworkSecurityGroups_SecurityRule_Spec)
+ dst, ok := destination.(*storage.NetworkSecurityGroups_SecurityRule_Spec)
if ok {
// Populate destination from our instance
return rule.AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.NetworkSecurityGroups_SecurityRule_Spec{}
+ dst = &storage.NetworkSecurityGroups_SecurityRule_Spec{}
err := rule.AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -700,12 +700,13 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) ConvertSpecTo(destination g
}
// AssignProperties_From_NetworkSecurityGroups_SecurityRule_Spec populates our NetworkSecurityGroups_SecurityRule_Spec from the provided source NetworkSecurityGroups_SecurityRule_Spec
-func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_From_NetworkSecurityGroups_SecurityRule_Spec(source *v20201101s.NetworkSecurityGroups_SecurityRule_Spec) error {
+func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_From_NetworkSecurityGroups_SecurityRule_Spec(source *storage.NetworkSecurityGroups_SecurityRule_Spec) error {
// Access
if source.Access != nil {
- access := SecurityRuleAccess(*source.Access)
- rule.Access = &access
+ access := *source.Access
+ accessTemp := genruntime.ToEnum(access, securityRuleAccess_Values)
+ rule.Access = &accessTemp
} else {
rule.Access = nil
}
@@ -748,8 +749,9 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_From_Netwo
// Direction
if source.Direction != nil {
- direction := SecurityRuleDirection(*source.Direction)
- rule.Direction = &direction
+ direction := *source.Direction
+ directionTemp := genruntime.ToEnum(direction, securityRuleDirection_Values)
+ rule.Direction = &directionTemp
} else {
rule.Direction = nil
}
@@ -767,8 +769,9 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_From_Netwo
// Protocol
if source.Protocol != nil {
- protocol := SecurityRulePropertiesFormat_Protocol(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, securityRulePropertiesFormat_Protocol_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
@@ -808,7 +811,7 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_From_Netwo
}
// AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec populates the provided destination NetworkSecurityGroups_SecurityRule_Spec from our NetworkSecurityGroups_SecurityRule_Spec
-func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec(destination *v20201101s.NetworkSecurityGroups_SecurityRule_Spec) error {
+func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_To_NetworkSecurityGroups_SecurityRule_Spec(destination *storage.NetworkSecurityGroups_SecurityRule_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -834,11 +837,11 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_To_Network
// DestinationApplicationSecurityGroups
if rule.DestinationApplicationSecurityGroups != nil {
- destinationApplicationSecurityGroupList := make([]v20201101s.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.DestinationApplicationSecurityGroups))
+ destinationApplicationSecurityGroupList := make([]storage.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.DestinationApplicationSecurityGroups))
for destinationApplicationSecurityGroupIndex, destinationApplicationSecurityGroupItem := range rule.DestinationApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
destinationApplicationSecurityGroupItem := destinationApplicationSecurityGroupItem
- var destinationApplicationSecurityGroup v20201101s.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
+ var destinationApplicationSecurityGroup storage.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
err := destinationApplicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(&destinationApplicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded() to populate field DestinationApplicationSecurityGroups")
@@ -894,11 +897,11 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) AssignProperties_To_Network
// SourceApplicationSecurityGroups
if rule.SourceApplicationSecurityGroups != nil {
- sourceApplicationSecurityGroupList := make([]v20201101s.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.SourceApplicationSecurityGroups))
+ sourceApplicationSecurityGroupList := make([]storage.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.SourceApplicationSecurityGroups))
for sourceApplicationSecurityGroupIndex, sourceApplicationSecurityGroupItem := range rule.SourceApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
sourceApplicationSecurityGroupItem := sourceApplicationSecurityGroupItem
- var sourceApplicationSecurityGroup v20201101s.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
+ var sourceApplicationSecurityGroup storage.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
err := sourceApplicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(&sourceApplicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded() to populate field SourceApplicationSecurityGroups")
@@ -932,7 +935,7 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) Initialize_From_NetworkSecu
// Access
if source.Access != nil {
- access := SecurityRuleAccess(*source.Access)
+ access := genruntime.ToEnum(string(*source.Access), securityRuleAccess_Values)
rule.Access = &access
} else {
rule.Access = nil
@@ -973,7 +976,7 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) Initialize_From_NetworkSecu
// Direction
if source.Direction != nil {
- direction := SecurityRuleDirection(*source.Direction)
+ direction := genruntime.ToEnum(string(*source.Direction), securityRuleDirection_Values)
rule.Direction = &direction
} else {
rule.Direction = nil
@@ -984,7 +987,7 @@ func (rule *NetworkSecurityGroups_SecurityRule_Spec) Initialize_From_NetworkSecu
// Protocol
if source.Protocol != nil {
- protocol := SecurityRulePropertiesFormat_Protocol(*source.Protocol)
+ protocol := genruntime.ToEnum(string(*source.Protocol), securityRulePropertiesFormat_Protocol_Values)
rule.Protocol = &protocol
} else {
rule.Protocol = nil
@@ -1109,14 +1112,14 @@ var _ genruntime.ConvertibleStatus = &NetworkSecurityGroups_SecurityRule_STATUS{
// ConvertStatusFrom populates our NetworkSecurityGroups_SecurityRule_STATUS from the provided source
func (rule *NetworkSecurityGroups_SecurityRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.NetworkSecurityGroups_SecurityRule_STATUS)
+ src, ok := source.(*storage.NetworkSecurityGroups_SecurityRule_STATUS)
if ok {
// Populate our instance from source
return rule.AssignProperties_From_NetworkSecurityGroups_SecurityRule_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.NetworkSecurityGroups_SecurityRule_STATUS{}
+ src = &storage.NetworkSecurityGroups_SecurityRule_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1133,14 +1136,14 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) ConvertStatusFrom(source
// ConvertStatusTo populates the provided destination from our NetworkSecurityGroups_SecurityRule_STATUS
func (rule *NetworkSecurityGroups_SecurityRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.NetworkSecurityGroups_SecurityRule_STATUS)
+ dst, ok := destination.(*storage.NetworkSecurityGroups_SecurityRule_STATUS)
if ok {
// Populate destination from our instance
return rule.AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.NetworkSecurityGroups_SecurityRule_STATUS{}
+ dst = &storage.NetworkSecurityGroups_SecurityRule_STATUS{}
err := rule.AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1348,12 +1351,13 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_NetworkSecurityGroups_SecurityRule_STATUS populates our NetworkSecurityGroups_SecurityRule_STATUS from the provided source NetworkSecurityGroups_SecurityRule_STATUS
-func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_From_NetworkSecurityGroups_SecurityRule_STATUS(source *v20201101s.NetworkSecurityGroups_SecurityRule_STATUS) error {
+func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_From_NetworkSecurityGroups_SecurityRule_STATUS(source *storage.NetworkSecurityGroups_SecurityRule_STATUS) error {
// Access
if source.Access != nil {
- access := SecurityRuleAccess_STATUS(*source.Access)
- rule.Access = &access
+ access := *source.Access
+ accessTemp := genruntime.ToEnum(access, securityRuleAccess_STATUS_Values)
+ rule.Access = &accessTemp
} else {
rule.Access = nil
}
@@ -1396,8 +1400,9 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_From_Net
// Direction
if source.Direction != nil {
- direction := SecurityRuleDirection_STATUS(*source.Direction)
- rule.Direction = &direction
+ direction := *source.Direction
+ directionTemp := genruntime.ToEnum(direction, securityRuleDirection_STATUS_Values)
+ rule.Direction = &directionTemp
} else {
rule.Direction = nil
}
@@ -1416,16 +1421,18 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_From_Net
// Protocol
if source.Protocol != nil {
- protocol := SecurityRulePropertiesFormat_Protocol_STATUS(*source.Protocol)
- rule.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, securityRulePropertiesFormat_Protocol_STATUS_Values)
+ rule.Protocol = &protocolTemp
} else {
rule.Protocol = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- rule.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ rule.ProvisioningState = &provisioningStateTemp
} else {
rule.ProvisioningState = nil
}
@@ -1468,7 +1475,7 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_From_Net
}
// AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS populates the provided destination NetworkSecurityGroups_SecurityRule_STATUS from our NetworkSecurityGroups_SecurityRule_STATUS
-func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS(destination *v20201101s.NetworkSecurityGroups_SecurityRule_STATUS) error {
+func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_To_NetworkSecurityGroups_SecurityRule_STATUS(destination *storage.NetworkSecurityGroups_SecurityRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1494,11 +1501,11 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_To_Netwo
// DestinationApplicationSecurityGroups
if rule.DestinationApplicationSecurityGroups != nil {
- destinationApplicationSecurityGroupList := make([]v20201101s.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.DestinationApplicationSecurityGroups))
+ destinationApplicationSecurityGroupList := make([]storage.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.DestinationApplicationSecurityGroups))
for destinationApplicationSecurityGroupIndex, destinationApplicationSecurityGroupItem := range rule.DestinationApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
destinationApplicationSecurityGroupItem := destinationApplicationSecurityGroupItem
- var destinationApplicationSecurityGroup v20201101s.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
+ var destinationApplicationSecurityGroup storage.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
err := destinationApplicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(&destinationApplicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded() to populate field DestinationApplicationSecurityGroups")
@@ -1560,11 +1567,11 @@ func (rule *NetworkSecurityGroups_SecurityRule_STATUS) AssignProperties_To_Netwo
// SourceApplicationSecurityGroups
if rule.SourceApplicationSecurityGroups != nil {
- sourceApplicationSecurityGroupList := make([]v20201101s.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.SourceApplicationSecurityGroups))
+ sourceApplicationSecurityGroupList := make([]storage.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded, len(rule.SourceApplicationSecurityGroups))
for sourceApplicationSecurityGroupIndex, sourceApplicationSecurityGroupItem := range rule.SourceApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
sourceApplicationSecurityGroupItem := sourceApplicationSecurityGroupItem
- var sourceApplicationSecurityGroup v20201101s.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
+ var sourceApplicationSecurityGroup storage.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
err := sourceApplicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(&sourceApplicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded() to populate field SourceApplicationSecurityGroups")
@@ -1627,7 +1634,7 @@ func (embedded *ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRu
}
// AssignProperties_From_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded populates our ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded from the provided source ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(source *v20201101s.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(source *storage.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1637,7 +1644,7 @@ func (embedded *ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRu
}
// AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded populates the provided destination ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded from our ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(destination *v20201101s.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(destination *storage.ApplicationSecurityGroup_STATUS_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1701,7 +1708,7 @@ func (embedded *ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_
}
// AssignProperties_From_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded populates our ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded from the provided source ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(source *v20201101s.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(source *storage.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -1716,7 +1723,7 @@ func (embedded *ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_
}
// AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded populates the provided destination ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded from our ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(destination *v20201101s.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded(destination *storage.ApplicationSecurityGroupSpec_NetworkSecurityGroups_SecurityRule_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1763,6 +1770,12 @@ const (
SecurityRuleAccess_Deny = SecurityRuleAccess("Deny")
)
+// Mapping from string to SecurityRuleAccess
+var securityRuleAccess_Values = map[string]SecurityRuleAccess{
+ "allow": SecurityRuleAccess_Allow,
+ "deny": SecurityRuleAccess_Deny,
+}
+
// Whether network traffic is allowed or denied.
type SecurityRuleAccess_STATUS string
@@ -1771,6 +1784,12 @@ const (
SecurityRuleAccess_STATUS_Deny = SecurityRuleAccess_STATUS("Deny")
)
+// Mapping from string to SecurityRuleAccess_STATUS
+var securityRuleAccess_STATUS_Values = map[string]SecurityRuleAccess_STATUS{
+ "allow": SecurityRuleAccess_STATUS_Allow,
+ "deny": SecurityRuleAccess_STATUS_Deny,
+}
+
// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
// +kubebuilder:validation:Enum={"Inbound","Outbound"}
type SecurityRuleDirection string
@@ -1780,6 +1799,12 @@ const (
SecurityRuleDirection_Outbound = SecurityRuleDirection("Outbound")
)
+// Mapping from string to SecurityRuleDirection
+var securityRuleDirection_Values = map[string]SecurityRuleDirection{
+ "inbound": SecurityRuleDirection_Inbound,
+ "outbound": SecurityRuleDirection_Outbound,
+}
+
// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
type SecurityRuleDirection_STATUS string
@@ -1788,6 +1813,12 @@ const (
SecurityRuleDirection_STATUS_Outbound = SecurityRuleDirection_STATUS("Outbound")
)
+// Mapping from string to SecurityRuleDirection_STATUS
+var securityRuleDirection_STATUS_Values = map[string]SecurityRuleDirection_STATUS{
+ "inbound": SecurityRuleDirection_STATUS_Inbound,
+ "outbound": SecurityRuleDirection_STATUS_Outbound,
+}
+
// +kubebuilder:validation:Enum={"Ah","Esp","Icmp","*","Tcp","Udp"}
type SecurityRulePropertiesFormat_Protocol string
@@ -1800,6 +1831,16 @@ const (
SecurityRulePropertiesFormat_Protocol_Udp = SecurityRulePropertiesFormat_Protocol("Udp")
)
+// Mapping from string to SecurityRulePropertiesFormat_Protocol
+var securityRulePropertiesFormat_Protocol_Values = map[string]SecurityRulePropertiesFormat_Protocol{
+ "ah": SecurityRulePropertiesFormat_Protocol_Ah,
+ "esp": SecurityRulePropertiesFormat_Protocol_Esp,
+ "icmp": SecurityRulePropertiesFormat_Protocol_Icmp,
+ "*": SecurityRulePropertiesFormat_Protocol_Star,
+ "tcp": SecurityRulePropertiesFormat_Protocol_Tcp,
+ "udp": SecurityRulePropertiesFormat_Protocol_Udp,
+}
+
type SecurityRulePropertiesFormat_Protocol_STATUS string
const (
@@ -1811,6 +1852,16 @@ const (
SecurityRulePropertiesFormat_Protocol_STATUS_Udp = SecurityRulePropertiesFormat_Protocol_STATUS("Udp")
)
+// Mapping from string to SecurityRulePropertiesFormat_Protocol_STATUS
+var securityRulePropertiesFormat_Protocol_STATUS_Values = map[string]SecurityRulePropertiesFormat_Protocol_STATUS{
+ "ah": SecurityRulePropertiesFormat_Protocol_STATUS_Ah,
+ "esp": SecurityRulePropertiesFormat_Protocol_STATUS_Esp,
+ "icmp": SecurityRulePropertiesFormat_Protocol_STATUS_Icmp,
+ "*": SecurityRulePropertiesFormat_Protocol_STATUS_Star,
+ "tcp": SecurityRulePropertiesFormat_Protocol_STATUS_Tcp,
+ "udp": SecurityRulePropertiesFormat_Protocol_STATUS_Udp,
+}
+
func init() {
SchemeBuilder.Register(&NetworkSecurityGroupsSecurityRule{}, &NetworkSecurityGroupsSecurityRuleList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_spec_arm_types_gen.go
index 326343dc38..6ae60759be 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_spec_arm_types_gen.go
@@ -140,6 +140,12 @@ const (
PublicIPAddressSku_Name_Standard = PublicIPAddressSku_Name("Standard")
)
+// Mapping from string to PublicIPAddressSku_Name
+var publicIPAddressSku_Name_Values = map[string]PublicIPAddressSku_Name{
+ "basic": PublicIPAddressSku_Name_Basic,
+ "standard": PublicIPAddressSku_Name_Standard,
+}
+
// +kubebuilder:validation:Enum={"Global","Regional"}
type PublicIPAddressSku_Tier string
@@ -148,6 +154,12 @@ const (
PublicIPAddressSku_Tier_Regional = PublicIPAddressSku_Tier("Regional")
)
+// Mapping from string to PublicIPAddressSku_Tier
+var publicIPAddressSku_Tier_Values = map[string]PublicIPAddressSku_Tier{
+ "global": PublicIPAddressSku_Tier_Global,
+ "regional": PublicIPAddressSku_Tier_Regional,
+}
+
// Public IP address resource.
type PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded_ARM struct {
Id *string `json:"id,omitempty"`
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_status_public_ip_address_sub_resource_embedded_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_status_public_ip_address_sub_resource_embedded_arm_types_gen.go
index 18cc937f3b..b7660700b2 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_status_public_ip_address_sub_resource_embedded_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_status_public_ip_address_sub_resource_embedded_arm_types_gen.go
@@ -145,9 +145,21 @@ const (
PublicIPAddressSku_Name_STATUS_Standard = PublicIPAddressSku_Name_STATUS("Standard")
)
+// Mapping from string to PublicIPAddressSku_Name_STATUS
+var publicIPAddressSku_Name_STATUS_Values = map[string]PublicIPAddressSku_Name_STATUS{
+ "basic": PublicIPAddressSku_Name_STATUS_Basic,
+ "standard": PublicIPAddressSku_Name_STATUS_Standard,
+}
+
type PublicIPAddressSku_Tier_STATUS string
const (
PublicIPAddressSku_Tier_STATUS_Global = PublicIPAddressSku_Tier_STATUS("Global")
PublicIPAddressSku_Tier_STATUS_Regional = PublicIPAddressSku_Tier_STATUS("Regional")
)
+
+// Mapping from string to PublicIPAddressSku_Tier_STATUS
+var publicIPAddressSku_Tier_STATUS_Values = map[string]PublicIPAddressSku_Tier_STATUS{
+ "global": PublicIPAddressSku_Tier_STATUS_Global,
+ "regional": PublicIPAddressSku_Tier_STATUS_Regional,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_types_gen.go
index 647fc83b5b..32a565178a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/public_ip_address_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &PublicIPAddress{}
// ConvertFrom populates our PublicIPAddress from the provided hub PublicIPAddress
func (address *PublicIPAddress) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.PublicIPAddress)
+ source, ok := hub.(*storage.PublicIPAddress)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/PublicIPAddress but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (address *PublicIPAddress) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub PublicIPAddress from our PublicIPAddress
func (address *PublicIPAddress) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.PublicIPAddress)
+ destination, ok := hub.(*storage.PublicIPAddress)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/PublicIPAddress but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (address *PublicIPAddress) validateWriteOnceProperties(old runtime.Object)
}
// AssignProperties_From_PublicIPAddress populates our PublicIPAddress from the provided source PublicIPAddress
-func (address *PublicIPAddress) AssignProperties_From_PublicIPAddress(source *v20201101s.PublicIPAddress) error {
+func (address *PublicIPAddress) AssignProperties_From_PublicIPAddress(source *storage.PublicIPAddress) error {
// ObjectMeta
address.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (address *PublicIPAddress) AssignProperties_From_PublicIPAddress(source *v2
}
// AssignProperties_To_PublicIPAddress populates the provided destination PublicIPAddress from our PublicIPAddress
-func (address *PublicIPAddress) AssignProperties_To_PublicIPAddress(destination *v20201101s.PublicIPAddress) error {
+func (address *PublicIPAddress) AssignProperties_To_PublicIPAddress(destination *storage.PublicIPAddress) error {
// ObjectMeta
destination.ObjectMeta = *address.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.PublicIPAddress_Spec
+ var spec storage.PublicIPAddress_Spec
err := address.Spec.AssignProperties_To_PublicIPAddress_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddress_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (address *PublicIPAddress) AssignProperties_To_PublicIPAddress(destination
destination.Spec = spec
// Status
- var status v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded
+ var status storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded
err = address.Status.AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded() to populate field Status")
@@ -726,14 +726,14 @@ var _ genruntime.ConvertibleSpec = &PublicIPAddress_Spec{}
// ConvertSpecFrom populates our PublicIPAddress_Spec from the provided source
func (address *PublicIPAddress_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.PublicIPAddress_Spec)
+ src, ok := source.(*storage.PublicIPAddress_Spec)
if ok {
// Populate our instance from source
return address.AssignProperties_From_PublicIPAddress_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.PublicIPAddress_Spec{}
+ src = &storage.PublicIPAddress_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -750,14 +750,14 @@ func (address *PublicIPAddress_Spec) ConvertSpecFrom(source genruntime.Convertib
// ConvertSpecTo populates the provided destination from our PublicIPAddress_Spec
func (address *PublicIPAddress_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.PublicIPAddress_Spec)
+ dst, ok := destination.(*storage.PublicIPAddress_Spec)
if ok {
// Populate destination from our instance
return address.AssignProperties_To_PublicIPAddress_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.PublicIPAddress_Spec{}
+ dst = &storage.PublicIPAddress_Spec{}
err := address.AssignProperties_To_PublicIPAddress_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -773,7 +773,7 @@ func (address *PublicIPAddress_Spec) ConvertSpecTo(destination genruntime.Conver
}
// AssignProperties_From_PublicIPAddress_Spec populates our PublicIPAddress_Spec from the provided source PublicIPAddress_Spec
-func (address *PublicIPAddress_Spec) AssignProperties_From_PublicIPAddress_Spec(source *v20201101s.PublicIPAddress_Spec) error {
+func (address *PublicIPAddress_Spec) AssignProperties_From_PublicIPAddress_Spec(source *storage.PublicIPAddress_Spec) error {
// AzureName
address.AzureName = source.AzureName
@@ -875,16 +875,18 @@ func (address *PublicIPAddress_Spec) AssignProperties_From_PublicIPAddress_Spec(
// PublicIPAddressVersion
if source.PublicIPAddressVersion != nil {
- publicIPAddressVersion := IPVersion(*source.PublicIPAddressVersion)
- address.PublicIPAddressVersion = &publicIPAddressVersion
+ publicIPAddressVersion := *source.PublicIPAddressVersion
+ publicIPAddressVersionTemp := genruntime.ToEnum(publicIPAddressVersion, iPVersion_Values)
+ address.PublicIPAddressVersion = &publicIPAddressVersionTemp
} else {
address.PublicIPAddressVersion = nil
}
// PublicIPAllocationMethod
if source.PublicIPAllocationMethod != nil {
- publicIPAllocationMethod := IPAllocationMethod(*source.PublicIPAllocationMethod)
- address.PublicIPAllocationMethod = &publicIPAllocationMethod
+ publicIPAllocationMethod := *source.PublicIPAllocationMethod
+ publicIPAllocationMethodTemp := genruntime.ToEnum(publicIPAllocationMethod, iPAllocationMethod_Values)
+ address.PublicIPAllocationMethod = &publicIPAllocationMethodTemp
} else {
address.PublicIPAllocationMethod = nil
}
@@ -936,7 +938,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_From_PublicIPAddress_Spec(
}
// AssignProperties_To_PublicIPAddress_Spec populates the provided destination PublicIPAddress_Spec from our PublicIPAddress_Spec
-func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(destination *v20201101s.PublicIPAddress_Spec) error {
+func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(destination *storage.PublicIPAddress_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -945,7 +947,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// DdosSettings
if address.DdosSettings != nil {
- var ddosSetting v20201101s.DdosSettings
+ var ddosSetting storage.DdosSettings
err := address.DdosSettings.AssignProperties_To_DdosSettings(&ddosSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DdosSettings() to populate field DdosSettings")
@@ -957,7 +959,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// DnsSettings
if address.DnsSettings != nil {
- var dnsSetting v20201101s.PublicIPAddressDnsSettings
+ var dnsSetting storage.PublicIPAddressDnsSettings
err := address.DnsSettings.AssignProperties_To_PublicIPAddressDnsSettings(&dnsSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressDnsSettings() to populate field DnsSettings")
@@ -969,7 +971,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// ExtendedLocation
if address.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := address.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -987,11 +989,11 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// IpTags
if address.IpTags != nil {
- ipTagList := make([]v20201101s.IpTag, len(address.IpTags))
+ ipTagList := make([]storage.IpTag, len(address.IpTags))
for ipTagIndex, ipTagItem := range address.IpTags {
// Shadow the loop variable to avoid aliasing
ipTagItem := ipTagItem
- var ipTag v20201101s.IpTag
+ var ipTag storage.IpTag
err := ipTagItem.AssignProperties_To_IpTag(&ipTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpTag() to populate field IpTags")
@@ -1005,7 +1007,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// LinkedPublicIPAddress
if address.LinkedPublicIPAddress != nil {
- var linkedPublicIPAddress v20201101s.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded
+ var linkedPublicIPAddress storage.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded
err := address.LinkedPublicIPAddress.AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded(&linkedPublicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded() to populate field LinkedPublicIPAddress")
@@ -1020,7 +1022,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// NatGateway
if address.NatGateway != nil {
- var natGateway v20201101s.NatGatewaySpec_PublicIPAddress_SubResourceEmbedded
+ var natGateway storage.NatGatewaySpec_PublicIPAddress_SubResourceEmbedded
err := address.NatGateway.AssignProperties_To_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded(&natGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded() to populate field NatGateway")
@@ -1059,7 +1061,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// PublicIPPrefix
if address.PublicIPPrefix != nil {
- var publicIPPrefix v20201101s.SubResource
+ var publicIPPrefix storage.SubResource
err := address.PublicIPPrefix.AssignProperties_To_SubResource(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field PublicIPPrefix")
@@ -1071,7 +1073,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// ServicePublicIPAddress
if address.ServicePublicIPAddress != nil {
- var servicePublicIPAddress v20201101s.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded
+ var servicePublicIPAddress storage.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded
err := address.ServicePublicIPAddress.AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded(&servicePublicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded() to populate field ServicePublicIPAddress")
@@ -1083,7 +1085,7 @@ func (address *PublicIPAddress_Spec) AssignProperties_To_PublicIPAddress_Spec(de
// Sku
if address.Sku != nil {
- var sku v20201101s.PublicIPAddressSku
+ var sku storage.PublicIPAddressSku
err := address.Sku.AssignProperties_To_PublicIPAddressSku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressSku() to populate field Sku")
@@ -1190,7 +1192,7 @@ func (address *PublicIPAddress_Spec) Initialize_From_PublicIPAddress_STATUS_Publ
// PublicIPAddressVersion
if source.PublicIPAddressVersion != nil {
- publicIPAddressVersion := IPVersion(*source.PublicIPAddressVersion)
+ publicIPAddressVersion := genruntime.ToEnum(string(*source.PublicIPAddressVersion), iPVersion_Values)
address.PublicIPAddressVersion = &publicIPAddressVersion
} else {
address.PublicIPAddressVersion = nil
@@ -1198,7 +1200,7 @@ func (address *PublicIPAddress_Spec) Initialize_From_PublicIPAddress_STATUS_Publ
// PublicIPAllocationMethod
if source.PublicIPAllocationMethod != nil {
- publicIPAllocationMethod := IPAllocationMethod(*source.PublicIPAllocationMethod)
+ publicIPAllocationMethod := genruntime.ToEnum(string(*source.PublicIPAllocationMethod), iPAllocationMethod_Values)
address.PublicIPAllocationMethod = &publicIPAllocationMethod
} else {
address.PublicIPAllocationMethod = nil
@@ -1322,14 +1324,14 @@ var _ genruntime.ConvertibleStatus = &PublicIPAddress_STATUS_PublicIPAddress_Sub
// ConvertStatusFrom populates our PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded from the provided source
func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded)
+ src, ok := source.(*storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded)
if ok {
// Populate our instance from source
return embedded.AssignProperties_From_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(src)
}
// Convert to an intermediate form
- src = &v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded{}
+ src = &storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1346,14 +1348,14 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Conv
// ConvertStatusTo populates the provided destination from our PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded
func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded)
+ dst, ok := destination.(*storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded)
if ok {
// Populate destination from our instance
return embedded.AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded{}
+ dst = &storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded{}
err := embedded.AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1600,7 +1602,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Popu
}
// AssignProperties_From_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded populates our PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded from the provided source PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded
-func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(source *v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(source *storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) error {
// Conditions
embedded.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -1688,8 +1690,9 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// MigrationPhase
if source.MigrationPhase != nil {
- migrationPhase := PublicIPAddressPropertiesFormat_MigrationPhase_STATUS(*source.MigrationPhase)
- embedded.MigrationPhase = &migrationPhase
+ migrationPhase := *source.MigrationPhase
+ migrationPhaseTemp := genruntime.ToEnum(migrationPhase, publicIPAddressPropertiesFormat_MigrationPhase_STATUS_Values)
+ embedded.MigrationPhase = &migrationPhaseTemp
} else {
embedded.MigrationPhase = nil
}
@@ -1711,24 +1714,27 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
// PublicIPAddressVersion
if source.PublicIPAddressVersion != nil {
- publicIPAddressVersion := IPVersion_STATUS(*source.PublicIPAddressVersion)
- embedded.PublicIPAddressVersion = &publicIPAddressVersion
+ publicIPAddressVersion := *source.PublicIPAddressVersion
+ publicIPAddressVersionTemp := genruntime.ToEnum(publicIPAddressVersion, iPVersion_STATUS_Values)
+ embedded.PublicIPAddressVersion = &publicIPAddressVersionTemp
} else {
embedded.PublicIPAddressVersion = nil
}
// PublicIPAllocationMethod
if source.PublicIPAllocationMethod != nil {
- publicIPAllocationMethod := IPAllocationMethod_STATUS(*source.PublicIPAllocationMethod)
- embedded.PublicIPAllocationMethod = &publicIPAllocationMethod
+ publicIPAllocationMethod := *source.PublicIPAllocationMethod
+ publicIPAllocationMethodTemp := genruntime.ToEnum(publicIPAllocationMethod, iPAllocationMethod_STATUS_Values)
+ embedded.PublicIPAllocationMethod = &publicIPAllocationMethodTemp
} else {
embedded.PublicIPAllocationMethod = nil
}
@@ -1774,7 +1780,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
}
// AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded populates the provided destination PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded from our PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded
-func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(destination *v20201101s.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded(destination *storage.PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1783,7 +1789,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// DdosSettings
if embedded.DdosSettings != nil {
- var ddosSetting v20201101s.DdosSettings_STATUS
+ var ddosSetting storage.DdosSettings_STATUS
err := embedded.DdosSettings.AssignProperties_To_DdosSettings_STATUS(&ddosSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DdosSettings_STATUS() to populate field DdosSettings")
@@ -1795,7 +1801,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// DnsSettings
if embedded.DnsSettings != nil {
- var dnsSetting v20201101s.PublicIPAddressDnsSettings_STATUS
+ var dnsSetting storage.PublicIPAddressDnsSettings_STATUS
err := embedded.DnsSettings.AssignProperties_To_PublicIPAddressDnsSettings_STATUS(&dnsSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressDnsSettings_STATUS() to populate field DnsSettings")
@@ -1810,7 +1816,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// ExtendedLocation
if embedded.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := embedded.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1831,7 +1837,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// IpConfiguration
if embedded.IpConfiguration != nil {
- var ipConfiguration v20201101s.IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded
+ var ipConfiguration storage.IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded
err := embedded.IpConfiguration.AssignProperties_To_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded() to populate field IpConfiguration")
@@ -1843,11 +1849,11 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// IpTags
if embedded.IpTags != nil {
- ipTagList := make([]v20201101s.IpTag_STATUS, len(embedded.IpTags))
+ ipTagList := make([]storage.IpTag_STATUS, len(embedded.IpTags))
for ipTagIndex, ipTagItem := range embedded.IpTags {
// Shadow the loop variable to avoid aliasing
ipTagItem := ipTagItem
- var ipTag v20201101s.IpTag_STATUS
+ var ipTag storage.IpTag_STATUS
err := ipTagItem.AssignProperties_To_IpTag_STATUS(&ipTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpTag_STATUS() to populate field IpTags")
@@ -1875,7 +1881,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// NatGateway
if embedded.NatGateway != nil {
- var natGateway v20201101s.NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded
+ var natGateway storage.NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded
err := embedded.NatGateway.AssignProperties_To_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded(&natGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded() to populate field NatGateway")
@@ -1911,7 +1917,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// PublicIPPrefix
if embedded.PublicIPPrefix != nil {
- var publicIPPrefix v20201101s.SubResource_STATUS
+ var publicIPPrefix storage.SubResource_STATUS
err := embedded.PublicIPPrefix.AssignProperties_To_SubResource_STATUS(&publicIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field PublicIPPrefix")
@@ -1926,7 +1932,7 @@ func (embedded *PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
// Sku
if embedded.Sku != nil {
- var sku v20201101s.PublicIPAddressSku_STATUS
+ var sku storage.PublicIPAddressSku_STATUS
err := embedded.Sku.AssignProperties_To_PublicIPAddressSku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPAddressSku_STATUS() to populate field Sku")
@@ -2042,7 +2048,7 @@ func (settings *DdosSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerRef
}
// AssignProperties_From_DdosSettings populates our DdosSettings from the provided source DdosSettings
-func (settings *DdosSettings) AssignProperties_From_DdosSettings(source *v20201101s.DdosSettings) error {
+func (settings *DdosSettings) AssignProperties_From_DdosSettings(source *storage.DdosSettings) error {
// DdosCustomPolicy
if source.DdosCustomPolicy != nil {
@@ -2066,8 +2072,9 @@ func (settings *DdosSettings) AssignProperties_From_DdosSettings(source *v202011
// ProtectionCoverage
if source.ProtectionCoverage != nil {
- protectionCoverage := DdosSettings_ProtectionCoverage(*source.ProtectionCoverage)
- settings.ProtectionCoverage = &protectionCoverage
+ protectionCoverage := *source.ProtectionCoverage
+ protectionCoverageTemp := genruntime.ToEnum(protectionCoverage, ddosSettings_ProtectionCoverage_Values)
+ settings.ProtectionCoverage = &protectionCoverageTemp
} else {
settings.ProtectionCoverage = nil
}
@@ -2077,13 +2084,13 @@ func (settings *DdosSettings) AssignProperties_From_DdosSettings(source *v202011
}
// AssignProperties_To_DdosSettings populates the provided destination DdosSettings from our DdosSettings
-func (settings *DdosSettings) AssignProperties_To_DdosSettings(destination *v20201101s.DdosSettings) error {
+func (settings *DdosSettings) AssignProperties_To_DdosSettings(destination *storage.DdosSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DdosCustomPolicy
if settings.DdosCustomPolicy != nil {
- var ddosCustomPolicy v20201101s.SubResource
+ var ddosCustomPolicy storage.SubResource
err := settings.DdosCustomPolicy.AssignProperties_To_SubResource(&ddosCustomPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field DdosCustomPolicy")
@@ -2145,7 +2152,7 @@ func (settings *DdosSettings) Initialize_From_DdosSettings_STATUS(source *DdosSe
// ProtectionCoverage
if source.ProtectionCoverage != nil {
- protectionCoverage := DdosSettings_ProtectionCoverage(*source.ProtectionCoverage)
+ protectionCoverage := genruntime.ToEnum(string(*source.ProtectionCoverage), ddosSettings_ProtectionCoverage_Values)
settings.ProtectionCoverage = &protectionCoverage
} else {
settings.ProtectionCoverage = nil
@@ -2210,7 +2217,7 @@ func (settings *DdosSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_DdosSettings_STATUS populates our DdosSettings_STATUS from the provided source DdosSettings_STATUS
-func (settings *DdosSettings_STATUS) AssignProperties_From_DdosSettings_STATUS(source *v20201101s.DdosSettings_STATUS) error {
+func (settings *DdosSettings_STATUS) AssignProperties_From_DdosSettings_STATUS(source *storage.DdosSettings_STATUS) error {
// DdosCustomPolicy
if source.DdosCustomPolicy != nil {
@@ -2234,8 +2241,9 @@ func (settings *DdosSettings_STATUS) AssignProperties_From_DdosSettings_STATUS(s
// ProtectionCoverage
if source.ProtectionCoverage != nil {
- protectionCoverage := DdosSettings_ProtectionCoverage_STATUS(*source.ProtectionCoverage)
- settings.ProtectionCoverage = &protectionCoverage
+ protectionCoverage := *source.ProtectionCoverage
+ protectionCoverageTemp := genruntime.ToEnum(protectionCoverage, ddosSettings_ProtectionCoverage_STATUS_Values)
+ settings.ProtectionCoverage = &protectionCoverageTemp
} else {
settings.ProtectionCoverage = nil
}
@@ -2245,13 +2253,13 @@ func (settings *DdosSettings_STATUS) AssignProperties_From_DdosSettings_STATUS(s
}
// AssignProperties_To_DdosSettings_STATUS populates the provided destination DdosSettings_STATUS from our DdosSettings_STATUS
-func (settings *DdosSettings_STATUS) AssignProperties_To_DdosSettings_STATUS(destination *v20201101s.DdosSettings_STATUS) error {
+func (settings *DdosSettings_STATUS) AssignProperties_To_DdosSettings_STATUS(destination *storage.DdosSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DdosCustomPolicy
if settings.DdosCustomPolicy != nil {
- var ddosCustomPolicy v20201101s.SubResource_STATUS
+ var ddosCustomPolicy storage.SubResource_STATUS
err := settings.DdosCustomPolicy.AssignProperties_To_SubResource_STATUS(&ddosCustomPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field DdosCustomPolicy")
@@ -2297,6 +2305,12 @@ const (
IPAllocationMethod_Static = IPAllocationMethod("Static")
)
+// Mapping from string to IPAllocationMethod
+var iPAllocationMethod_Values = map[string]IPAllocationMethod{
+ "dynamic": IPAllocationMethod_Dynamic,
+ "static": IPAllocationMethod_Static,
+}
+
// IP address allocation method.
type IPAllocationMethod_STATUS string
@@ -2305,6 +2319,12 @@ const (
IPAllocationMethod_STATUS_Static = IPAllocationMethod_STATUS("Static")
)
+// Mapping from string to IPAllocationMethod_STATUS
+var iPAllocationMethod_STATUS_Values = map[string]IPAllocationMethod_STATUS{
+ "dynamic": IPAllocationMethod_STATUS_Dynamic,
+ "static": IPAllocationMethod_STATUS_Static,
+}
+
// IP configuration.
type IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded struct {
// Id: Resource ID.
@@ -2336,7 +2356,7 @@ func (embedded *IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) Popu
}
// AssignProperties_From_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded populates our IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded from the provided source IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded
-func (embedded *IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded(source *v20201101s.IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded(source *storage.IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2346,7 +2366,7 @@ func (embedded *IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) Assi
}
// AssignProperties_To_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded populates the provided destination IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded from our IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded
-func (embedded *IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded(destination *v20201101s.IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded(destination *storage.IPConfiguration_STATUS_PublicIPAddress_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2425,7 +2445,7 @@ func (ipTag *IpTag) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_IpTag populates our IpTag from the provided source IpTag
-func (ipTag *IpTag) AssignProperties_From_IpTag(source *v20201101s.IpTag) error {
+func (ipTag *IpTag) AssignProperties_From_IpTag(source *storage.IpTag) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -2438,7 +2458,7 @@ func (ipTag *IpTag) AssignProperties_From_IpTag(source *v20201101s.IpTag) error
}
// AssignProperties_To_IpTag populates the provided destination IpTag from our IpTag
-func (ipTag *IpTag) AssignProperties_To_IpTag(destination *v20201101s.IpTag) error {
+func (ipTag *IpTag) AssignProperties_To_IpTag(destination *storage.IpTag) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2512,7 +2532,7 @@ func (ipTag *IpTag_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_IpTag_STATUS populates our IpTag_STATUS from the provided source IpTag_STATUS
-func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *v20201101s.IpTag_STATUS) error {
+func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *storage.IpTag_STATUS) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -2525,7 +2545,7 @@ func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *v20201101s
}
// AssignProperties_To_IpTag_STATUS populates the provided destination IpTag_STATUS from our IpTag_STATUS
-func (ipTag *IpTag_STATUS) AssignProperties_To_IpTag_STATUS(destination *v20201101s.IpTag_STATUS) error {
+func (ipTag *IpTag_STATUS) AssignProperties_To_IpTag_STATUS(destination *storage.IpTag_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2555,6 +2575,12 @@ const (
IPVersion_IPv6 = IPVersion("IPv6")
)
+// Mapping from string to IPVersion
+var iPVersion_Values = map[string]IPVersion{
+ "ipv4": IPVersion_IPv4,
+ "ipv6": IPVersion_IPv6,
+}
+
// IP address version.
type IPVersion_STATUS string
@@ -2563,6 +2589,12 @@ const (
IPVersion_STATUS_IPv6 = IPVersion_STATUS("IPv6")
)
+// Mapping from string to IPVersion_STATUS
+var iPVersion_STATUS_Values = map[string]IPVersion_STATUS{
+ "ipv4": IPVersion_STATUS_IPv4,
+ "ipv6": IPVersion_STATUS_IPv6,
+}
+
// Nat Gateway resource.
type NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded struct {
// Id: Resource ID.
@@ -2594,7 +2626,7 @@ func (embedded *NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) PopulateF
}
// AssignProperties_From_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded populates our NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded from the provided source NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded
-func (embedded *NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded(source *v20201101s.NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded(source *storage.NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2604,7 +2636,7 @@ func (embedded *NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) AssignPro
}
// AssignProperties_To_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded populates the provided destination NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded from our NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded
-func (embedded *NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded(destination *v20201101s.NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded(destination *storage.NatGateway_STATUS_PublicIPAddress_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2668,7 +2700,7 @@ func (embedded *NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) PopulateFrom
}
// AssignProperties_From_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded populates our NatGatewaySpec_PublicIPAddress_SubResourceEmbedded from the provided source NatGatewaySpec_PublicIPAddress_SubResourceEmbedded
-func (embedded *NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded(source *v20201101s.NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded(source *storage.NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -2683,7 +2715,7 @@ func (embedded *NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) AssignProper
}
// AssignProperties_To_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded populates the provided destination NatGatewaySpec_PublicIPAddress_SubResourceEmbedded from our NatGatewaySpec_PublicIPAddress_SubResourceEmbedded
-func (embedded *NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded(destination *v20201101s.NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_NatGatewaySpec_PublicIPAddress_SubResourceEmbedded(destination *storage.NatGatewaySpec_PublicIPAddress_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2802,7 +2834,7 @@ func (settings *PublicIPAddressDnsSettings) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_PublicIPAddressDnsSettings populates our PublicIPAddressDnsSettings from the provided source PublicIPAddressDnsSettings
-func (settings *PublicIPAddressDnsSettings) AssignProperties_From_PublicIPAddressDnsSettings(source *v20201101s.PublicIPAddressDnsSettings) error {
+func (settings *PublicIPAddressDnsSettings) AssignProperties_From_PublicIPAddressDnsSettings(source *storage.PublicIPAddressDnsSettings) error {
// DomainNameLabel
settings.DomainNameLabel = genruntime.ClonePointerToString(source.DomainNameLabel)
@@ -2818,7 +2850,7 @@ func (settings *PublicIPAddressDnsSettings) AssignProperties_From_PublicIPAddres
}
// AssignProperties_To_PublicIPAddressDnsSettings populates the provided destination PublicIPAddressDnsSettings from our PublicIPAddressDnsSettings
-func (settings *PublicIPAddressDnsSettings) AssignProperties_To_PublicIPAddressDnsSettings(destination *v20201101s.PublicIPAddressDnsSettings) error {
+func (settings *PublicIPAddressDnsSettings) AssignProperties_To_PublicIPAddressDnsSettings(destination *storage.PublicIPAddressDnsSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2912,7 +2944,7 @@ func (settings *PublicIPAddressDnsSettings_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_PublicIPAddressDnsSettings_STATUS populates our PublicIPAddressDnsSettings_STATUS from the provided source PublicIPAddressDnsSettings_STATUS
-func (settings *PublicIPAddressDnsSettings_STATUS) AssignProperties_From_PublicIPAddressDnsSettings_STATUS(source *v20201101s.PublicIPAddressDnsSettings_STATUS) error {
+func (settings *PublicIPAddressDnsSettings_STATUS) AssignProperties_From_PublicIPAddressDnsSettings_STATUS(source *storage.PublicIPAddressDnsSettings_STATUS) error {
// DomainNameLabel
settings.DomainNameLabel = genruntime.ClonePointerToString(source.DomainNameLabel)
@@ -2928,7 +2960,7 @@ func (settings *PublicIPAddressDnsSettings_STATUS) AssignProperties_From_PublicI
}
// AssignProperties_To_PublicIPAddressDnsSettings_STATUS populates the provided destination PublicIPAddressDnsSettings_STATUS from our PublicIPAddressDnsSettings_STATUS
-func (settings *PublicIPAddressDnsSettings_STATUS) AssignProperties_To_PublicIPAddressDnsSettings_STATUS(destination *v20201101s.PublicIPAddressDnsSettings_STATUS) error {
+func (settings *PublicIPAddressDnsSettings_STATUS) AssignProperties_To_PublicIPAddressDnsSettings_STATUS(destination *storage.PublicIPAddressDnsSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2962,6 +2994,15 @@ const (
PublicIPAddressPropertiesFormat_MigrationPhase_STATUS_Prepare = PublicIPAddressPropertiesFormat_MigrationPhase_STATUS("Prepare")
)
+// Mapping from string to PublicIPAddressPropertiesFormat_MigrationPhase_STATUS
+var publicIPAddressPropertiesFormat_MigrationPhase_STATUS_Values = map[string]PublicIPAddressPropertiesFormat_MigrationPhase_STATUS{
+ "abort": PublicIPAddressPropertiesFormat_MigrationPhase_STATUS_Abort,
+ "commit": PublicIPAddressPropertiesFormat_MigrationPhase_STATUS_Commit,
+ "committed": PublicIPAddressPropertiesFormat_MigrationPhase_STATUS_Committed,
+ "none": PublicIPAddressPropertiesFormat_MigrationPhase_STATUS_None,
+ "prepare": PublicIPAddressPropertiesFormat_MigrationPhase_STATUS_Prepare,
+}
+
// SKU of a public IP address.
type PublicIPAddressSku struct {
// Name: Name of a public IP address SKU.
@@ -3023,20 +3064,22 @@ func (addressSku *PublicIPAddressSku) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_PublicIPAddressSku populates our PublicIPAddressSku from the provided source PublicIPAddressSku
-func (addressSku *PublicIPAddressSku) AssignProperties_From_PublicIPAddressSku(source *v20201101s.PublicIPAddressSku) error {
+func (addressSku *PublicIPAddressSku) AssignProperties_From_PublicIPAddressSku(source *storage.PublicIPAddressSku) error {
// Name
if source.Name != nil {
- name := PublicIPAddressSku_Name(*source.Name)
- addressSku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, publicIPAddressSku_Name_Values)
+ addressSku.Name = &nameTemp
} else {
addressSku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := PublicIPAddressSku_Tier(*source.Tier)
- addressSku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, publicIPAddressSku_Tier_Values)
+ addressSku.Tier = &tierTemp
} else {
addressSku.Tier = nil
}
@@ -3046,7 +3089,7 @@ func (addressSku *PublicIPAddressSku) AssignProperties_From_PublicIPAddressSku(s
}
// AssignProperties_To_PublicIPAddressSku populates the provided destination PublicIPAddressSku from our PublicIPAddressSku
-func (addressSku *PublicIPAddressSku) AssignProperties_To_PublicIPAddressSku(destination *v20201101s.PublicIPAddressSku) error {
+func (addressSku *PublicIPAddressSku) AssignProperties_To_PublicIPAddressSku(destination *storage.PublicIPAddressSku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3082,7 +3125,7 @@ func (addressSku *PublicIPAddressSku) Initialize_From_PublicIPAddressSku_STATUS(
// Name
if source.Name != nil {
- name := PublicIPAddressSku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), publicIPAddressSku_Name_Values)
addressSku.Name = &name
} else {
addressSku.Name = nil
@@ -3090,7 +3133,7 @@ func (addressSku *PublicIPAddressSku) Initialize_From_PublicIPAddressSku_STATUS(
// Tier
if source.Tier != nil {
- tier := PublicIPAddressSku_Tier(*source.Tier)
+ tier := genruntime.ToEnum(string(*source.Tier), publicIPAddressSku_Tier_Values)
addressSku.Tier = &tier
} else {
addressSku.Tier = nil
@@ -3140,20 +3183,22 @@ func (addressSku *PublicIPAddressSku_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_PublicIPAddressSku_STATUS populates our PublicIPAddressSku_STATUS from the provided source PublicIPAddressSku_STATUS
-func (addressSku *PublicIPAddressSku_STATUS) AssignProperties_From_PublicIPAddressSku_STATUS(source *v20201101s.PublicIPAddressSku_STATUS) error {
+func (addressSku *PublicIPAddressSku_STATUS) AssignProperties_From_PublicIPAddressSku_STATUS(source *storage.PublicIPAddressSku_STATUS) error {
// Name
if source.Name != nil {
- name := PublicIPAddressSku_Name_STATUS(*source.Name)
- addressSku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, publicIPAddressSku_Name_STATUS_Values)
+ addressSku.Name = &nameTemp
} else {
addressSku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := PublicIPAddressSku_Tier_STATUS(*source.Tier)
- addressSku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, publicIPAddressSku_Tier_STATUS_Values)
+ addressSku.Tier = &tierTemp
} else {
addressSku.Tier = nil
}
@@ -3163,7 +3208,7 @@ func (addressSku *PublicIPAddressSku_STATUS) AssignProperties_From_PublicIPAddre
}
// AssignProperties_To_PublicIPAddressSku_STATUS populates the provided destination PublicIPAddressSku_STATUS from our PublicIPAddressSku_STATUS
-func (addressSku *PublicIPAddressSku_STATUS) AssignProperties_To_PublicIPAddressSku_STATUS(destination *v20201101s.PublicIPAddressSku_STATUS) error {
+func (addressSku *PublicIPAddressSku_STATUS) AssignProperties_To_PublicIPAddressSku_STATUS(destination *storage.PublicIPAddressSku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3240,7 +3285,7 @@ func (embedded *PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) Populat
}
// AssignProperties_From_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded populates our PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded from the provided source PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded
-func (embedded *PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded(source *v20201101s.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_From_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded(source *storage.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -3255,7 +3300,7 @@ func (embedded *PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) AssignP
}
// AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded populates the provided destination PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded from our PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded
-func (embedded *PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded(destination *v20201101s.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) error {
+func (embedded *PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) AssignProperties_To_PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded(destination *storage.PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3286,6 +3331,12 @@ const (
DdosSettings_ProtectionCoverage_Standard = DdosSettings_ProtectionCoverage("Standard")
)
+// Mapping from string to DdosSettings_ProtectionCoverage
+var ddosSettings_ProtectionCoverage_Values = map[string]DdosSettings_ProtectionCoverage{
+ "basic": DdosSettings_ProtectionCoverage_Basic,
+ "standard": DdosSettings_ProtectionCoverage_Standard,
+}
+
type DdosSettings_ProtectionCoverage_STATUS string
const (
@@ -3293,6 +3344,12 @@ const (
DdosSettings_ProtectionCoverage_STATUS_Standard = DdosSettings_ProtectionCoverage_STATUS("Standard")
)
+// Mapping from string to DdosSettings_ProtectionCoverage_STATUS
+var ddosSettings_ProtectionCoverage_STATUS_Values = map[string]DdosSettings_ProtectionCoverage_STATUS{
+ "basic": DdosSettings_ProtectionCoverage_STATUS_Basic,
+ "standard": DdosSettings_ProtectionCoverage_STATUS_Standard,
+}
+
func init() {
SchemeBuilder.Register(&PublicIPAddress{}, &PublicIPAddressList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_table_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_table_types_gen.go
index e4a6d1465c..0fcbe8dbfc 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_table_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_table_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &RouteTable{}
// ConvertFrom populates our RouteTable from the provided hub RouteTable
func (table *RouteTable) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.RouteTable)
+ source, ok := hub.(*storage.RouteTable)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/RouteTable but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (table *RouteTable) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub RouteTable from our RouteTable
func (table *RouteTable) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.RouteTable)
+ destination, ok := hub.(*storage.RouteTable)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/RouteTable but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (table *RouteTable) validateWriteOnceProperties(old runtime.Object) (admiss
}
// AssignProperties_From_RouteTable populates our RouteTable from the provided source RouteTable
-func (table *RouteTable) AssignProperties_From_RouteTable(source *v20201101s.RouteTable) error {
+func (table *RouteTable) AssignProperties_From_RouteTable(source *storage.RouteTable) error {
// ObjectMeta
table.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (table *RouteTable) AssignProperties_From_RouteTable(source *v20201101s.Rou
}
// AssignProperties_To_RouteTable populates the provided destination RouteTable from our RouteTable
-func (table *RouteTable) AssignProperties_To_RouteTable(destination *v20201101s.RouteTable) error {
+func (table *RouteTable) AssignProperties_To_RouteTable(destination *storage.RouteTable) error {
// ObjectMeta
destination.ObjectMeta = *table.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.RouteTable_Spec
+ var spec storage.RouteTable_Spec
err := table.Spec.AssignProperties_To_RouteTable_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RouteTable_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (table *RouteTable) AssignProperties_To_RouteTable(destination *v20201101s.
destination.Spec = spec
// Status
- var status v20201101s.RouteTable_STATUS
+ var status storage.RouteTable_STATUS
err = table.Status.AssignProperties_To_RouteTable_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RouteTable_STATUS() to populate field Status")
@@ -434,14 +434,14 @@ var _ genruntime.ConvertibleSpec = &RouteTable_Spec{}
// ConvertSpecFrom populates our RouteTable_Spec from the provided source
func (table *RouteTable_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.RouteTable_Spec)
+ src, ok := source.(*storage.RouteTable_Spec)
if ok {
// Populate our instance from source
return table.AssignProperties_From_RouteTable_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.RouteTable_Spec{}
+ src = &storage.RouteTable_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -458,14 +458,14 @@ func (table *RouteTable_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec)
// ConvertSpecTo populates the provided destination from our RouteTable_Spec
func (table *RouteTable_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.RouteTable_Spec)
+ dst, ok := destination.(*storage.RouteTable_Spec)
if ok {
// Populate destination from our instance
return table.AssignProperties_To_RouteTable_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.RouteTable_Spec{}
+ dst = &storage.RouteTable_Spec{}
err := table.AssignProperties_To_RouteTable_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -481,7 +481,7 @@ func (table *RouteTable_Spec) ConvertSpecTo(destination genruntime.ConvertibleSp
}
// AssignProperties_From_RouteTable_Spec populates our RouteTable_Spec from the provided source RouteTable_Spec
-func (table *RouteTable_Spec) AssignProperties_From_RouteTable_Spec(source *v20201101s.RouteTable_Spec) error {
+func (table *RouteTable_Spec) AssignProperties_From_RouteTable_Spec(source *storage.RouteTable_Spec) error {
// AzureName
table.AzureName = source.AzureName
@@ -513,7 +513,7 @@ func (table *RouteTable_Spec) AssignProperties_From_RouteTable_Spec(source *v202
}
// AssignProperties_To_RouteTable_Spec populates the provided destination RouteTable_Spec from our RouteTable_Spec
-func (table *RouteTable_Spec) AssignProperties_To_RouteTable_Spec(destination *v20201101s.RouteTable_Spec) error {
+func (table *RouteTable_Spec) AssignProperties_To_RouteTable_Spec(destination *storage.RouteTable_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -622,14 +622,14 @@ var _ genruntime.ConvertibleStatus = &RouteTable_STATUS{}
// ConvertStatusFrom populates our RouteTable_STATUS from the provided source
func (table *RouteTable_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.RouteTable_STATUS)
+ src, ok := source.(*storage.RouteTable_STATUS)
if ok {
// Populate our instance from source
return table.AssignProperties_From_RouteTable_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.RouteTable_STATUS{}
+ src = &storage.RouteTable_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -646,14 +646,14 @@ func (table *RouteTable_STATUS) ConvertStatusFrom(source genruntime.ConvertibleS
// ConvertStatusTo populates the provided destination from our RouteTable_STATUS
func (table *RouteTable_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.RouteTable_STATUS)
+ dst, ok := destination.(*storage.RouteTable_STATUS)
if ok {
// Populate destination from our instance
return table.AssignProperties_To_RouteTable_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.RouteTable_STATUS{}
+ dst = &storage.RouteTable_STATUS{}
err := table.AssignProperties_To_RouteTable_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -754,7 +754,7 @@ func (table *RouteTable_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_RouteTable_STATUS populates our RouteTable_STATUS from the provided source RouteTable_STATUS
-func (table *RouteTable_STATUS) AssignProperties_From_RouteTable_STATUS(source *v20201101s.RouteTable_STATUS) error {
+func (table *RouteTable_STATUS) AssignProperties_From_RouteTable_STATUS(source *storage.RouteTable_STATUS) error {
// Conditions
table.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -781,8 +781,9 @@ func (table *RouteTable_STATUS) AssignProperties_From_RouteTable_STATUS(source *
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- table.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ table.ProvisioningState = &provisioningStateTemp
} else {
table.ProvisioningState = nil
}
@@ -801,7 +802,7 @@ func (table *RouteTable_STATUS) AssignProperties_From_RouteTable_STATUS(source *
}
// AssignProperties_To_RouteTable_STATUS populates the provided destination RouteTable_STATUS from our RouteTable_STATUS
-func (table *RouteTable_STATUS) AssignProperties_To_RouteTable_STATUS(destination *v20201101s.RouteTable_STATUS) error {
+func (table *RouteTable_STATUS) AssignProperties_To_RouteTable_STATUS(destination *storage.RouteTable_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_tables_route_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_tables_route_types_gen.go
index ca92fee6b2..433126c838 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_tables_route_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/route_tables_route_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &RouteTablesRoute{}
// ConvertFrom populates our RouteTablesRoute from the provided hub RouteTablesRoute
func (route *RouteTablesRoute) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.RouteTablesRoute)
+ source, ok := hub.(*storage.RouteTablesRoute)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/RouteTablesRoute but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (route *RouteTablesRoute) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub RouteTablesRoute from our RouteTablesRoute
func (route *RouteTablesRoute) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.RouteTablesRoute)
+ destination, ok := hub.(*storage.RouteTablesRoute)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/RouteTablesRoute but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (route *RouteTablesRoute) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_RouteTablesRoute populates our RouteTablesRoute from the provided source RouteTablesRoute
-func (route *RouteTablesRoute) AssignProperties_From_RouteTablesRoute(source *v20201101s.RouteTablesRoute) error {
+func (route *RouteTablesRoute) AssignProperties_From_RouteTablesRoute(source *storage.RouteTablesRoute) error {
// ObjectMeta
route.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (route *RouteTablesRoute) AssignProperties_From_RouteTablesRoute(source *v2
}
// AssignProperties_To_RouteTablesRoute populates the provided destination RouteTablesRoute from our RouteTablesRoute
-func (route *RouteTablesRoute) AssignProperties_To_RouteTablesRoute(destination *v20201101s.RouteTablesRoute) error {
+func (route *RouteTablesRoute) AssignProperties_To_RouteTablesRoute(destination *storage.RouteTablesRoute) error {
// ObjectMeta
destination.ObjectMeta = *route.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.RouteTables_Route_Spec
+ var spec storage.RouteTables_Route_Spec
err := route.Spec.AssignProperties_To_RouteTables_Route_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RouteTables_Route_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (route *RouteTablesRoute) AssignProperties_To_RouteTablesRoute(destination
destination.Spec = spec
// Status
- var status v20201101s.RouteTables_Route_STATUS
+ var status storage.RouteTables_Route_STATUS
err = route.Status.AssignProperties_To_RouteTables_Route_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RouteTables_Route_STATUS() to populate field Status")
@@ -453,14 +453,14 @@ var _ genruntime.ConvertibleSpec = &RouteTables_Route_Spec{}
// ConvertSpecFrom populates our RouteTables_Route_Spec from the provided source
func (route *RouteTables_Route_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.RouteTables_Route_Spec)
+ src, ok := source.(*storage.RouteTables_Route_Spec)
if ok {
// Populate our instance from source
return route.AssignProperties_From_RouteTables_Route_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.RouteTables_Route_Spec{}
+ src = &storage.RouteTables_Route_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -477,14 +477,14 @@ func (route *RouteTables_Route_Spec) ConvertSpecFrom(source genruntime.Convertib
// ConvertSpecTo populates the provided destination from our RouteTables_Route_Spec
func (route *RouteTables_Route_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.RouteTables_Route_Spec)
+ dst, ok := destination.(*storage.RouteTables_Route_Spec)
if ok {
// Populate destination from our instance
return route.AssignProperties_To_RouteTables_Route_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.RouteTables_Route_Spec{}
+ dst = &storage.RouteTables_Route_Spec{}
err := route.AssignProperties_To_RouteTables_Route_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -500,7 +500,7 @@ func (route *RouteTables_Route_Spec) ConvertSpecTo(destination genruntime.Conver
}
// AssignProperties_From_RouteTables_Route_Spec populates our RouteTables_Route_Spec from the provided source RouteTables_Route_Spec
-func (route *RouteTables_Route_Spec) AssignProperties_From_RouteTables_Route_Spec(source *v20201101s.RouteTables_Route_Spec) error {
+func (route *RouteTables_Route_Spec) AssignProperties_From_RouteTables_Route_Spec(source *storage.RouteTables_Route_Spec) error {
// AddressPrefix
route.AddressPrefix = genruntime.ClonePointerToString(source.AddressPrefix)
@@ -521,8 +521,9 @@ func (route *RouteTables_Route_Spec) AssignProperties_From_RouteTables_Route_Spe
// NextHopType
if source.NextHopType != nil {
- nextHopType := RouteNextHopType(*source.NextHopType)
- route.NextHopType = &nextHopType
+ nextHopType := *source.NextHopType
+ nextHopTypeTemp := genruntime.ToEnum(nextHopType, routeNextHopType_Values)
+ route.NextHopType = &nextHopTypeTemp
} else {
route.NextHopType = nil
}
@@ -540,7 +541,7 @@ func (route *RouteTables_Route_Spec) AssignProperties_From_RouteTables_Route_Spe
}
// AssignProperties_To_RouteTables_Route_Spec populates the provided destination RouteTables_Route_Spec from our RouteTables_Route_Spec
-func (route *RouteTables_Route_Spec) AssignProperties_To_RouteTables_Route_Spec(destination *v20201101s.RouteTables_Route_Spec) error {
+func (route *RouteTables_Route_Spec) AssignProperties_To_RouteTables_Route_Spec(destination *storage.RouteTables_Route_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -610,7 +611,7 @@ func (route *RouteTables_Route_Spec) Initialize_From_RouteTables_Route_STATUS(so
// NextHopType
if source.NextHopType != nil {
- nextHopType := RouteNextHopType(*source.NextHopType)
+ nextHopType := genruntime.ToEnum(string(*source.NextHopType), routeNextHopType_Values)
route.NextHopType = &nextHopType
} else {
route.NextHopType = nil
@@ -665,14 +666,14 @@ var _ genruntime.ConvertibleStatus = &RouteTables_Route_STATUS{}
// ConvertStatusFrom populates our RouteTables_Route_STATUS from the provided source
func (route *RouteTables_Route_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.RouteTables_Route_STATUS)
+ src, ok := source.(*storage.RouteTables_Route_STATUS)
if ok {
// Populate our instance from source
return route.AssignProperties_From_RouteTables_Route_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.RouteTables_Route_STATUS{}
+ src = &storage.RouteTables_Route_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -689,14 +690,14 @@ func (route *RouteTables_Route_STATUS) ConvertStatusFrom(source genruntime.Conve
// ConvertStatusTo populates the provided destination from our RouteTables_Route_STATUS
func (route *RouteTables_Route_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.RouteTables_Route_STATUS)
+ dst, ok := destination.(*storage.RouteTables_Route_STATUS)
if ok {
// Populate destination from our instance
return route.AssignProperties_To_RouteTables_Route_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.RouteTables_Route_STATUS{}
+ dst = &storage.RouteTables_Route_STATUS{}
err := route.AssignProperties_To_RouteTables_Route_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -801,7 +802,7 @@ func (route *RouteTables_Route_STATUS) PopulateFromARM(owner genruntime.Arbitrar
}
// AssignProperties_From_RouteTables_Route_STATUS populates our RouteTables_Route_STATUS from the provided source RouteTables_Route_STATUS
-func (route *RouteTables_Route_STATUS) AssignProperties_From_RouteTables_Route_STATUS(source *v20201101s.RouteTables_Route_STATUS) error {
+func (route *RouteTables_Route_STATUS) AssignProperties_From_RouteTables_Route_STATUS(source *storage.RouteTables_Route_STATUS) error {
// AddressPrefix
route.AddressPrefix = genruntime.ClonePointerToString(source.AddressPrefix)
@@ -831,16 +832,18 @@ func (route *RouteTables_Route_STATUS) AssignProperties_From_RouteTables_Route_S
// NextHopType
if source.NextHopType != nil {
- nextHopType := RouteNextHopType_STATUS(*source.NextHopType)
- route.NextHopType = &nextHopType
+ nextHopType := *source.NextHopType
+ nextHopTypeTemp := genruntime.ToEnum(nextHopType, routeNextHopType_STATUS_Values)
+ route.NextHopType = &nextHopTypeTemp
} else {
route.NextHopType = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- route.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ route.ProvisioningState = &provisioningStateTemp
} else {
route.ProvisioningState = nil
}
@@ -853,7 +856,7 @@ func (route *RouteTables_Route_STATUS) AssignProperties_From_RouteTables_Route_S
}
// AssignProperties_To_RouteTables_Route_STATUS populates the provided destination RouteTables_Route_STATUS from our RouteTables_Route_STATUS
-func (route *RouteTables_Route_STATUS) AssignProperties_To_RouteTables_Route_STATUS(destination *v20201101s.RouteTables_Route_STATUS) error {
+func (route *RouteTables_Route_STATUS) AssignProperties_To_RouteTables_Route_STATUS(destination *storage.RouteTables_Route_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -925,6 +928,15 @@ const (
RouteNextHopType_VnetLocal = RouteNextHopType("VnetLocal")
)
+// Mapping from string to RouteNextHopType
+var routeNextHopType_Values = map[string]RouteNextHopType{
+ "internet": RouteNextHopType_Internet,
+ "none": RouteNextHopType_None,
+ "virtualappliance": RouteNextHopType_VirtualAppliance,
+ "virtualnetworkgateway": RouteNextHopType_VirtualNetworkGateway,
+ "vnetlocal": RouteNextHopType_VnetLocal,
+}
+
// The type of Azure hop the packet should be sent to.
type RouteNextHopType_STATUS string
@@ -936,6 +948,15 @@ const (
RouteNextHopType_STATUS_VnetLocal = RouteNextHopType_STATUS("VnetLocal")
)
+// Mapping from string to RouteNextHopType_STATUS
+var routeNextHopType_STATUS_Values = map[string]RouteNextHopType_STATUS{
+ "internet": RouteNextHopType_STATUS_Internet,
+ "none": RouteNextHopType_STATUS_None,
+ "virtualappliance": RouteNextHopType_STATUS_VirtualAppliance,
+ "virtualnetworkgateway": RouteNextHopType_STATUS_VirtualNetworkGateway,
+ "vnetlocal": RouteNextHopType_STATUS_VnetLocal,
+}
+
func init() {
SchemeBuilder.Register(&RouteTablesRoute{}, &RouteTablesRouteList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/load_balancer_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/load_balancer_types_gen.go
index 285260c697..b9ebfc8823 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/load_balancer_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/load_balancer_types_gen.go
@@ -4,7 +4,7 @@
package storage
import (
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
@@ -268,7 +268,7 @@ type ExtendedLocation struct {
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20220701s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -299,7 +299,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20220701s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
@@ -338,7 +338,7 @@ type ExtendedLocation_STATUS struct {
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20220701s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -369,7 +369,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20220701s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(location.PropertyBag)
@@ -618,13 +618,13 @@ type Probe_STATUS struct {
}
type augmentConversionForExtendedLocation interface {
- AssignPropertiesFrom(src *v20220701s.ExtendedLocation) error
- AssignPropertiesTo(dst *v20220701s.ExtendedLocation) error
+ AssignPropertiesFrom(src *storage.ExtendedLocation) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation) error
}
type augmentConversionForExtendedLocation_STATUS interface {
- AssignPropertiesFrom(src *v20220701s.ExtendedLocation_STATUS) error
- AssignPropertiesTo(dst *v20220701s.ExtendedLocation_STATUS) error
+ AssignPropertiesFrom(src *storage.ExtendedLocation_STATUS) error
+ AssignPropertiesTo(dst *storage.ExtendedLocation_STATUS) error
}
// Storage version of v1api20201101.LoadBalancerBackendAddress
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/public_ip_address_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/public_ip_address_types_gen.go
index 2d69440636..28a792c6fd 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/public_ip_address_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/public_ip_address_types_gen.go
@@ -4,7 +4,7 @@
package storage
import (
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
"github.com/pkg/errors"
@@ -273,7 +273,7 @@ type IpTag struct {
}
// AssignProperties_From_IpTag populates our IpTag from the provided source IpTag
-func (ipTag *IpTag) AssignProperties_From_IpTag(source *v20220701s.IpTag) error {
+func (ipTag *IpTag) AssignProperties_From_IpTag(source *storage.IpTag) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -304,7 +304,7 @@ func (ipTag *IpTag) AssignProperties_From_IpTag(source *v20220701s.IpTag) error
}
// AssignProperties_To_IpTag populates the provided destination IpTag from our IpTag
-func (ipTag *IpTag) AssignProperties_To_IpTag(destination *v20220701s.IpTag) error {
+func (ipTag *IpTag) AssignProperties_To_IpTag(destination *storage.IpTag) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(ipTag.PropertyBag)
@@ -343,7 +343,7 @@ type IpTag_STATUS struct {
}
// AssignProperties_From_IpTag_STATUS populates our IpTag_STATUS from the provided source IpTag_STATUS
-func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *v20220701s.IpTag_STATUS) error {
+func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *storage.IpTag_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(source.PropertyBag)
@@ -374,7 +374,7 @@ func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *v20220701s
}
// AssignProperties_To_IpTag_STATUS populates the provided destination IpTag_STATUS from our IpTag_STATUS
-func (ipTag *IpTag_STATUS) AssignProperties_To_IpTag_STATUS(destination *v20220701s.IpTag_STATUS) error {
+func (ipTag *IpTag_STATUS) AssignProperties_To_IpTag_STATUS(destination *storage.IpTag_STATUS) error {
// Clone the existing property bag
propertyBag := genruntime.NewPropertyBag(ipTag.PropertyBag)
@@ -464,13 +464,13 @@ type PublicIPAddressSpec_PublicIPAddress_SubResourceEmbedded struct {
}
type augmentConversionForIpTag interface {
- AssignPropertiesFrom(src *v20220701s.IpTag) error
- AssignPropertiesTo(dst *v20220701s.IpTag) error
+ AssignPropertiesFrom(src *storage.IpTag) error
+ AssignPropertiesTo(dst *storage.IpTag) error
}
type augmentConversionForIpTag_STATUS interface {
- AssignPropertiesFrom(src *v20220701s.IpTag_STATUS) error
- AssignPropertiesTo(dst *v20220701s.IpTag_STATUS) error
+ AssignPropertiesFrom(src *storage.IpTag_STATUS) error
+ AssignPropertiesTo(dst *storage.IpTag_STATUS) error
}
func init() {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/structure.txt
index 58e7af1a36..205d93ffb0 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage/structure.txt
@@ -1,304 +1,62 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage
-├── APIVersion: Enum (1 value)
-│ └── "2020-11-01"
-├── LoadBalancer: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (15 properties)
-│ │ ├── AzureName: string
-│ │ ├── BackendAddressPools: Object (3 properties)[]
-│ │ │ ├── LoadBalancerBackendAddresses: Object (6 properties)[]
-│ │ │ │ ├── IpAddress: *string
-│ │ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Subnet: *Object (2 properties)
-│ │ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── VirtualNetwork: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── FrontendIPConfigurations: Object (9 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAddressVersion: *string
-│ │ │ ├── PrivateIPAllocationMethod: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── PublicIPPrefix: *Object (2 properties)
+----------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2020-11-01"
+LoadBalancer: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (15 properties)
+│ ├── AzureName: string
+│ ├── BackendAddressPools: Object (3 properties)[]
+│ │ ├── LoadBalancerBackendAddresses: Object (6 properties)[]
+│ │ │ ├── IpAddress: *string
+│ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (2 properties)
│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ ├── Subnet: *Object (2 properties)
│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Zones: string[]
-│ │ ├── InboundNatPools: Object (10 properties)[]
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPortRangeEnd: *int
-│ │ │ ├── FrontendPortRangeStart: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Protocol: *string
-│ │ ├── InboundNatRules: Object (9 properties)[]
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Protocol: *string
-│ │ ├── LoadBalancingRules: Object (13 properties)[]
-│ │ │ ├── BackendAddressPool: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── DisableOutboundSnat: *bool
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── LoadDistribution: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Probe: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Protocol: *string
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── OutboundRules: Object (8 properties)[]
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendAddressPool: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfigurations: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Protocol: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Probes: Object (7 properties)[]
-│ │ │ ├── IntervalInSeconds: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── NumberOfProbes: *int
-│ │ │ ├── Port: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Protocol: *string
-│ │ │ └── RequestPath: *string
+│ │ │ └── VirtualNetwork: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
+│ │ └── Type: *string
+│ ├── FrontendIPConfigurations: Object (9 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *string
+│ │ ├── PrivateIPAllocationMethod: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── PublicIPAddress: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ └── Tags: map[string]string
-│ └── Status: Object (19 properties)
-│ ├── BackendAddressPools: Object (11 properties)[]
-│ │ ├── BackendIPConfigurations: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── LoadBalancerBackendAddresses: Object (7 properties)[]
-│ │ │ ├── IpAddress: *string
-│ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkInterfaceIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Subnet: *Object (2 properties)
-│ │ │ │ ├── Id: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── VirtualNetwork: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancingRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Name: *string
-│ │ ├── OutboundRule: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── OutboundRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ └── Type: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── FrontendIPConfigurations: Object (17 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── InboundNatPools: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── InboundNatRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancingRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Name: *string
-│ │ ├── OutboundRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAddressVersion: *string
-│ │ ├── PrivateIPAllocationMethod: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicIPPrefix: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Subnet: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Type: *string
-│ │ └── Zones: string[]
-│ ├── Id: *string
-│ ├── InboundNatPools: Object (14 properties)[]
-│ │ ├── BackendPort: *int
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── FrontendPortRangeEnd: *int
-│ │ ├── FrontendPortRangeStart: *int
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Protocol: *string
-│ │ ├── ProvisioningState: *string
-│ │ └── Type: *string
-│ ├── InboundNatRules: Object (14 properties)[]
-│ │ ├── BackendIPConfiguration: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── BackendPort: *int
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── FrontendPort: *int
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Protocol: *string
-│ │ ├── ProvisioningState: *string
-│ │ └── Type: *string
-│ ├── LoadBalancingRules: Object (17 properties)[]
-│ │ ├── BackendAddressPool: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── BackendPort: *int
-│ │ ├── DisableOutboundSnat: *bool
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── FrontendPort: *int
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── LoadDistribution: *string
-│ │ ├── Name: *string
-│ │ ├── Probe: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Protocol: *string
-│ │ ├── ProvisioningState: *string
-│ │ └── Type: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── OutboundRules: Object (12 properties)[]
-│ │ ├── AllocatedOutboundPorts: *int
-│ │ ├── BackendAddressPool: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfigurations: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Protocol: *string
-│ │ ├── ProvisioningState: *string
-│ │ └── Type: *string
-│ ├── Probes: Object (12 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── IntervalInSeconds: *int
-│ │ ├── LoadBalancingRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Name: *string
-│ │ ├── NumberOfProbes: *int
-│ │ ├── Port: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Protocol: *string
-│ │ ├── ProvisioningState: *string
-│ │ ├── RequestPath: *string
-│ │ └── Type: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── LoadBalancersInboundNatRule: Resource
-│ ├── Owner: network/v1api20201101.LoadBalancer
-│ ├── Spec: Object (11 properties)
-│ │ ├── AzureName: string
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PublicIPPrefix: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Subnet: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Zones: string[]
+│ ├── InboundNatPools: Object (10 properties)[]
+│ │ ├── BackendPort: *int
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPortRangeEnd: *int
+│ │ ├── FrontendPortRangeStart: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Protocol: *string
+│ ├── InboundNatRules: Object (9 properties)[]
│ │ ├── BackendPort: *int
│ │ ├── EnableFloatingIP: *bool
│ │ ├── EnableTcpReset: *bool
@@ -307,792 +65,1035 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage
│ │ │ └── Reference: *genruntime.ResourceReference
│ │ ├── FrontendPort: *int
│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ ├── Name: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
│ │ └── Protocol: *string
-│ └── Status: Object (15 properties)
-│ ├── BackendIPConfiguration: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── BackendPort: *int
-│ ├── Conditions: conditions.Condition[]
-│ ├── EnableFloatingIP: *bool
-│ ├── EnableTcpReset: *bool
-│ ├── Etag: *string
-│ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── FrontendPort: *int
-│ ├── Id: *string
-│ ├── IdleTimeoutInMinutes: *int
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── Protocol: *string
-│ ├── ProvisioningState: *string
-│ └── Type: *string
-├── NetworkInterface: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (14 properties)
-│ │ ├── AzureName: string
-│ │ ├── DnsSettings: *Object (3 properties)
-│ │ │ ├── DnsServers: string[]
-│ │ │ ├── InternalDnsNameLabel: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── EnableAcceleratedNetworking: *bool
-│ │ ├── EnableIPForwarding: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── IpConfigurations: Object (13 properties)[]
-│ │ │ ├── ApplicationGatewayBackendAddressPools: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── ApplicationSecurityGroups: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerBackendAddressPools: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadBalancerInboundNatRules: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── Primary: *bool
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAddressVersion: *string
-│ │ │ ├── PrivateIPAllocationMethod: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Subnet: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── VirtualNetworkTaps: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── NetworkSecurityGroup: *Object (2 properties)
+│ ├── LoadBalancingRules: Object (13 properties)[]
+│ │ ├── BackendAddressPool: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── NicType: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateLinkService: *Object (2 properties)
+│ │ ├── BackendPort: *int
+│ │ ├── DisableOutboundSnat: *bool
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── LoadDistribution: *string
+│ │ ├── Name: *string
+│ │ ├── Probe: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Reference: *genruntime.ResourceReference
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (26 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DnsSettings: *Object (6 properties)
-│ │ ├── AppliedDnsServers: string[]
-│ │ ├── DnsServers: string[]
-│ │ ├── InternalDnsNameLabel: *string
-│ │ ├── InternalDomainNameSuffix: *string
-│ │ ├── InternalFqdn: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── DscpConfiguration: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── EnableAcceleratedNetworking: *bool
-│ ├── EnableIPForwarding: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── HostedWorkloads: string[]
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (18 properties)[]
-│ │ ├── ApplicationGatewayBackendAddressPools: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── ApplicationSecurityGroups: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── LoadBalancerBackendAddressPools: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── LoadBalancerInboundNatRules: Object (2 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Name: *string
-│ │ ├── Primary: *bool
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAddressVersion: *string
-│ │ ├── PrivateIPAllocationMethod: *string
-│ │ ├── PrivateLinkConnectionProperties: *Object (4 properties)
-│ │ │ ├── Fqdns: string[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RequiredMemberName: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Subnet: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Type: *string
-│ │ └── VirtualNetworkTaps: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── MacAddress: *string
-│ ├── MigrationPhase: *string
-│ ├── Name: *string
-│ ├── NetworkSecurityGroup: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── NicType: *string
-│ ├── Primary: *bool
-│ ├── PrivateEndpoint: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateLinkService: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ ├── TapConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Type: *string
-│ └── VirtualMachine: *Object (2 properties)
-│ ├── Id: *string
-│ └── PropertyBag: genruntime.PropertyBag
-├── NetworkSecurityGroup: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (6 properties)
-│ │ ├── AzureName: string
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (14 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DefaultSecurityRules: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Etag: *string
-│ ├── FlowLogs: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── NetworkInterfaces: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Subnets: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── NetworkSecurityGroupsSecurityRule: Resource
-│ ├── Owner: network/v1api20201101.NetworkSecurityGroup
-│ ├── Spec: Object (19 properties)
-│ │ ├── Access: *string
-│ │ ├── AzureName: string
-│ │ ├── Description: *string
-│ │ ├── DestinationAddressPrefix: *string
-│ │ ├── DestinationAddressPrefixes: string[]
-│ │ ├── DestinationApplicationSecurityGroups: Object (2 properties)[]
+│ │ └── Protocol: *string
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── OutboundRules: Object (8 properties)[]
+│ │ ├── AllocatedOutboundPorts: *int
+│ │ ├── BackendAddressPool: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── DestinationPortRange: *string
-│ │ ├── DestinationPortRanges: string[]
-│ │ ├── Direction: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Priority: *int
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfigurations: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Protocol: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Probes: Object (7 properties)[]
+│ │ ├── IntervalInSeconds: *int
+│ │ ├── Name: *string
+│ │ ├── NumberOfProbes: *int
+│ │ ├── Port: *int
│ │ ├── PropertyBag: genruntime.PropertyBag
│ │ ├── Protocol: *string
-│ │ ├── SourceAddressPrefix: *string
-│ │ ├── SourceAddressPrefixes: string[]
-│ │ ├── SourceApplicationSecurityGroups: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── SourcePortRange: *string
-│ │ └── SourcePortRanges: string[]
-│ └── Status: Object (22 properties)
-│ ├── Access: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Description: *string
-│ ├── DestinationAddressPrefix: *string
-│ ├── DestinationAddressPrefixes: string[]
-│ ├── DestinationApplicationSecurityGroups: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── DestinationPortRange: *string
-│ ├── DestinationPortRanges: string[]
-│ ├── Direction: *string
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Priority: *int
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── Protocol: *string
-│ ├── ProvisioningState: *string
-│ ├── SourceAddressPrefix: *string
-│ ├── SourceAddressPrefixes: string[]
-│ ├── SourceApplicationSecurityGroups: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SourcePortRange: *string
-│ ├── SourcePortRanges: string[]
-│ └── Type: *string
-├── PublicIPAddress: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (20 properties)
-│ │ ├── AzureName: string
-│ │ ├── DdosSettings: *Object (4 properties)
-│ │ │ ├── DdosCustomPolicy: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProtectedIP: *bool
-│ │ │ └── ProtectionCoverage: *string
-│ │ ├── DnsSettings: *Object (4 properties)
-│ │ │ ├── DomainNameLabel: *string
-│ │ │ ├── Fqdn: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ReverseFqdn: *string
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── IpAddress: *string
-│ │ ├── IpTags: Object (3 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tag: *string
-│ │ ├── LinkedPublicIPAddress: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── NatGateway: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ └── RequestPath: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicIPAddressVersion: *string
-│ │ ├── PublicIPAllocationMethod: *string
-│ │ ├── PublicIPPrefix: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ServicePublicIPAddress: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── Tags: map[string]string
-│ │ └── Zones: string[]
-│ └── Status: Object (24 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DdosSettings: *Object (4 properties)
-│ │ ├── DdosCustomPolicy: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProtectedIP: *bool
-│ │ └── ProtectionCoverage: *string
-│ ├── DnsSettings: *Object (4 properties)
-│ │ ├── DomainNameLabel: *string
-│ │ ├── Fqdn: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── ReverseFqdn: *string
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Id: *string
-│ ├── IdleTimeoutInMinutes: *int
-│ ├── IpAddress: *string
-│ ├── IpConfiguration: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IpTags: Object (3 properties)[]
-│ │ ├── IpTagType: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tag: *string
-│ ├── Location: *string
-│ ├── MigrationPhase: *string
-│ ├── Name: *string
-│ ├── NatGateway: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── PublicIPAddressVersion: *string
-│ ├── PublicIPAllocationMethod: *string
-│ ├── PublicIPPrefix: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── RouteTable: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (7 properties)
-│ │ ├── AzureName: string
-│ │ ├── DisableBgpRoutePropagation: *bool
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ └── Tier: *string
+│ └── Tags: map[string]string
+└── Status: Object (19 properties)
+ ├── BackendAddressPools: Object (11 properties)[]
+ │ ├── BackendIPConfigurations: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── LoadBalancerBackendAddresses: Object (7 properties)[]
+ │ │ ├── IpAddress: *string
+ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (2 properties)
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Name: *string
+ │ │ ├── NetworkInterfaceIPConfiguration: *Object (2 properties)
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Subnet: *Object (2 properties)
+ │ │ │ ├── Id: *string
+ │ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ │ └── VirtualNetwork: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancingRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Name: *string
+ │ ├── OutboundRule: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── OutboundRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ └── Type: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── FrontendIPConfigurations: Object (17 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── InboundNatPools: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── InboundNatRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancingRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Name: *string
+ │ ├── OutboundRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAddressVersion: *string
+ │ ├── PrivateIPAllocationMethod: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── PublicIPAddress: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PublicIPPrefix: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Subnet: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Type: *string
+ │ └── Zones: string[]
+ ├── Id: *string
+ ├── InboundNatPools: Object (14 properties)[]
+ │ ├── BackendPort: *int
+ │ ├── EnableFloatingIP: *bool
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfiguration: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── FrontendPortRangeEnd: *int
+ │ ├── FrontendPortRangeStart: *int
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Protocol: *string
+ │ ├── ProvisioningState: *string
+ │ └── Type: *string
+ ├── InboundNatRules: Object (14 properties)[]
+ │ ├── BackendIPConfiguration: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── BackendPort: *int
+ │ ├── EnableFloatingIP: *bool
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfiguration: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── FrontendPort: *int
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Protocol: *string
+ │ ├── ProvisioningState: *string
+ │ └── Type: *string
+ ├── LoadBalancingRules: Object (17 properties)[]
+ │ ├── BackendAddressPool: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── BackendPort: *int
+ │ ├── DisableOutboundSnat: *bool
+ │ ├── EnableFloatingIP: *bool
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfiguration: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── FrontendPort: *int
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── LoadDistribution: *string
+ │ ├── Name: *string
+ │ ├── Probe: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Protocol: *string
+ │ ├── ProvisioningState: *string
+ │ └── Type: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── OutboundRules: Object (12 properties)[]
+ │ ├── AllocatedOutboundPorts: *int
+ │ ├── BackendAddressPool: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfigurations: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Protocol: *string
+ │ ├── ProvisioningState: *string
+ │ └── Type: *string
+ ├── Probes: Object (12 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── IntervalInSeconds: *int
+ │ ├── LoadBalancingRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Name: *string
+ │ ├── NumberOfProbes: *int
+ │ ├── Port: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── Protocol: *string
+ │ ├── ProvisioningState: *string
+ │ ├── RequestPath: *string
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+LoadBalancersInboundNatRule: Resource
+├── Owner: network/v1api20201101.LoadBalancer
+├── Spec: Object (11 properties)
+│ ├── AzureName: string
+│ ├── BackendPort: *int
+│ ├── EnableFloatingIP: *bool
+│ ├── EnableTcpReset: *bool
+│ ├── FrontendIPConfiguration: *Object (2 properties)
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DisableBgpRoutePropagation: *bool
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── RouteTablesRoute: Resource
-│ ├── Owner: network/v1api20201101.RouteTable
-│ ├── Spec: Object (8 properties)
-│ │ ├── AddressPrefix: *string
-│ │ ├── AzureName: string
-│ │ ├── HasBgpOverride: *bool
-│ │ ├── NextHopIpAddress: *string
-│ │ ├── NextHopType: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── FrontendPort: *int
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Protocol: *string
+└── Status: Object (15 properties)
+ ├── BackendIPConfiguration: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── BackendPort: *int
+ ├── Conditions: conditions.Condition[]
+ ├── EnableFloatingIP: *bool
+ ├── EnableTcpReset: *bool
+ ├── Etag: *string
+ ├── FrontendIPConfiguration: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── FrontendPort: *int
+ ├── Id: *string
+ ├── IdleTimeoutInMinutes: *int
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── Protocol: *string
+ ├── ProvisioningState: *string
+ └── Type: *string
+NetworkInterface: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (14 properties)
+│ ├── AzureName: string
+│ ├── DnsSettings: *Object (3 properties)
+│ │ ├── DnsServers: string[]
+│ │ ├── InternalDnsNameLabel: *string
│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (11 properties)
-│ ├── AddressPrefix: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── HasBgpOverride: *bool
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── NextHopIpAddress: *string
-│ ├── NextHopType: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ └── Type: *string
-├── VirtualNetwork: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (14 properties)
-│ │ ├── AddressSpace: *Object (2 properties)
-│ │ │ ├── AddressPrefixes: string[]
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AzureName: string
-│ │ ├── BgpCommunities: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── DdosProtectionPlan: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── DhcpOptions: *Object (2 properties)
-│ │ │ ├── DnsServers: string[]
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── EnableDdosProtection: *bool
-│ │ ├── EnableVmProtection: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── IpAllocations: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ ├── EnableAcceleratedNetworking: *bool
+│ ├── EnableIPForwarding: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (18 properties)
-│ ├── AddressSpace: *Object (2 properties)
-│ │ ├── AddressPrefixes: string[]
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── BgpCommunities: *Object (3 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RegionalCommunity: *string
-│ │ └── VirtualNetworkCommunity: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── DdosProtectionPlan: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── DhcpOptions: *Object (2 properties)
-│ │ ├── DnsServers: string[]
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── EnableDdosProtection: *bool
-│ ├── EnableVmProtection: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Id: *string
-│ ├── IpAllocations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── VirtualNetworkGateway: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (21 properties)
-│ │ ├── ActiveActive: *bool
-│ │ ├── AzureName: string
-│ │ ├── BgpSettings: *Object (5 properties)
-│ │ │ ├── Asn: *uint32
-│ │ │ ├── BgpPeeringAddress: *string
-│ │ │ ├── BgpPeeringAddresses: Object (3 properties)[]
-│ │ │ │ ├── CustomBgpIpAddresses: string[]
-│ │ │ │ ├── IpconfigurationId: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PeerWeight: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── CustomRoutes: *Object (2 properties)
-│ │ │ ├── AddressPrefixes: string[]
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── EnableBgp: *bool
-│ │ ├── EnableDnsForwarding: *bool
-│ │ ├── EnablePrivateIpAddress: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── GatewayDefaultSite: *Object (2 properties)
+│ │ └── Type: *string
+│ ├── IpConfigurations: Object (13 properties)[]
+│ │ ├── ApplicationGatewayBackendAddressPools: Object (2 properties)[]
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── GatewayType: *string
-│ │ ├── IpConfigurations: Object (5 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAllocationMethod: *string
+│ │ ├── ApplicationSecurityGroups: Object (2 properties)[]
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Subnet: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerBackendAddressPools: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerInboundNatRules: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Primary: *bool
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *string
+│ │ ├── PrivateIPAllocationMethod: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Name: *string
+│ │ ├── PublicIPAddress: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── Tags: map[string]string
-│ │ ├── VNetExtendedLocationResourceReference: *genruntime.ResourceReference
-│ │ ├── VpnClientConfiguration: *Object (13 properties)
-│ │ │ ├── AadAudience: *string
-│ │ │ ├── AadIssuer: *string
-│ │ │ ├── AadTenant: *string
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Subnet: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── VirtualNetworkTaps: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── NetworkSecurityGroup: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── NicType: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateLinkService: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (26 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DnsSettings: *Object (6 properties)
+ │ ├── AppliedDnsServers: string[]
+ │ ├── DnsServers: string[]
+ │ ├── InternalDnsNameLabel: *string
+ │ ├── InternalDomainNameSuffix: *string
+ │ ├── InternalFqdn: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── DscpConfiguration: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── EnableAcceleratedNetworking: *bool
+ ├── EnableIPForwarding: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── HostedWorkloads: string[]
+ ├── Id: *string
+ ├── IpConfigurations: Object (18 properties)[]
+ │ ├── ApplicationGatewayBackendAddressPools: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── ApplicationSecurityGroups: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── LoadBalancerBackendAddressPools: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── LoadBalancerInboundNatRules: Object (2 properties)[]
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Name: *string
+ │ ├── Primary: *bool
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAddressVersion: *string
+ │ ├── PrivateIPAllocationMethod: *string
+ │ ├── PrivateLinkConnectionProperties: *Object (4 properties)
+ │ │ ├── Fqdns: string[]
+ │ │ ├── GroupId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── RequiredMemberName: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── PublicIPAddress: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Subnet: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── Type: *string
+ │ └── VirtualNetworkTaps: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── MacAddress: *string
+ ├── MigrationPhase: *string
+ ├── Name: *string
+ ├── NetworkSecurityGroup: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NicType: *string
+ ├── Primary: *bool
+ ├── PrivateEndpoint: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateLinkService: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Tags: map[string]string
+ ├── TapConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Type: *string
+ └── VirtualMachine: *Object (2 properties)
+ ├── Id: *string
+ └── PropertyBag: genruntime.PropertyBag
+NetworkSecurityGroup: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (14 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DefaultSecurityRules: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Etag: *string
+ ├── FlowLogs: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── NetworkInterfaces: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Subnets: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+NetworkSecurityGroupsSecurityRule: Resource
+├── Owner: network/v1api20201101.NetworkSecurityGroup
+├── Spec: Object (19 properties)
+│ ├── Access: *string
+│ ├── AzureName: string
+│ ├── Description: *string
+│ ├── DestinationAddressPrefix: *string
+│ ├── DestinationAddressPrefixes: string[]
+│ ├── DestinationApplicationSecurityGroups: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── DestinationPortRange: *string
+│ ├── DestinationPortRanges: string[]
+│ ├── Direction: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Priority: *int
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Protocol: *string
+│ ├── SourceAddressPrefix: *string
+│ ├── SourceAddressPrefixes: string[]
+│ ├── SourceApplicationSecurityGroups: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── SourcePortRange: *string
+│ └── SourcePortRanges: string[]
+└── Status: Object (22 properties)
+ ├── Access: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Description: *string
+ ├── DestinationAddressPrefix: *string
+ ├── DestinationAddressPrefixes: string[]
+ ├── DestinationApplicationSecurityGroups: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── DestinationPortRange: *string
+ ├── DestinationPortRanges: string[]
+ ├── Direction: *string
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── Priority: *int
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── Protocol: *string
+ ├── ProvisioningState: *string
+ ├── SourceAddressPrefix: *string
+ ├── SourceAddressPrefixes: string[]
+ ├── SourceApplicationSecurityGroups: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SourcePortRange: *string
+ ├── SourcePortRanges: string[]
+ └── Type: *string
+PublicIPAddress: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (20 properties)
+│ ├── AzureName: string
+│ ├── DdosSettings: *Object (4 properties)
+│ │ ├── DdosCustomPolicy: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── ProtectedIP: *bool
+│ │ └── ProtectionCoverage: *string
+│ ├── DnsSettings: *Object (4 properties)
+│ │ ├── DomainNameLabel: *string
+│ │ ├── Fqdn: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ReverseFqdn: *string
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── IpAddress: *string
+│ ├── IpTags: Object (3 properties)[]
+│ │ ├── IpTagType: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tag: *string
+│ ├── LinkedPublicIPAddress: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── NatGateway: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicIPAddressVersion: *string
+│ ├── PublicIPAllocationMethod: *string
+│ ├── PublicIPPrefix: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ServicePublicIPAddress: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── Tags: map[string]string
+│ └── Zones: string[]
+└── Status: Object (24 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DdosSettings: *Object (4 properties)
+ │ ├── DdosCustomPolicy: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProtectedIP: *bool
+ │ └── ProtectionCoverage: *string
+ ├── DnsSettings: *Object (4 properties)
+ │ ├── DomainNameLabel: *string
+ │ ├── Fqdn: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── ReverseFqdn: *string
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Id: *string
+ ├── IdleTimeoutInMinutes: *int
+ ├── IpAddress: *string
+ ├── IpConfiguration: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IpTags: Object (3 properties)[]
+ │ ├── IpTagType: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tag: *string
+ ├── Location: *string
+ ├── MigrationPhase: *string
+ ├── Name: *string
+ ├── NatGateway: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicIPAddressVersion: *string
+ ├── PublicIPAllocationMethod: *string
+ ├── PublicIPPrefix: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Zones: string[]
+RouteTable: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (7 properties)
+│ ├── AzureName: string
+│ ├── DisableBgpRoutePropagation: *bool
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DisableBgpRoutePropagation: *bool
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+RouteTablesRoute: Resource
+├── Owner: network/v1api20201101.RouteTable
+├── Spec: Object (8 properties)
+│ ├── AddressPrefix: *string
+│ ├── AzureName: string
+│ ├── HasBgpOverride: *bool
+│ ├── NextHopIpAddress: *string
+│ ├── NextHopType: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (11 properties)
+ ├── AddressPrefix: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── HasBgpOverride: *bool
+ ├── Id: *string
+ ├── Name: *string
+ ├── NextHopIpAddress: *string
+ ├── NextHopType: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ └── Type: *string
+VirtualNetwork: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (14 properties)
+│ ├── AddressSpace: *Object (2 properties)
+│ │ ├── AddressPrefixes: string[]
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── BgpCommunities: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── DdosProtectionPlan: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── DhcpOptions: *Object (2 properties)
+│ │ ├── DnsServers: string[]
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── EnableDdosProtection: *bool
+│ ├── EnableVmProtection: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── IpAllocations: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (18 properties)
+ ├── AddressSpace: *Object (2 properties)
+ │ ├── AddressPrefixes: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── BgpCommunities: *Object (3 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RegionalCommunity: *string
+ │ └── VirtualNetworkCommunity: *string
+ ├── Conditions: conditions.Condition[]
+ ├── DdosProtectionPlan: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── DhcpOptions: *Object (2 properties)
+ │ ├── DnsServers: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── EnableDdosProtection: *bool
+ ├── EnableVmProtection: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Id: *string
+ ├── IpAllocations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+VirtualNetworkGateway: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (21 properties)
+│ ├── ActiveActive: *bool
+│ ├── AzureName: string
+│ ├── BgpSettings: *Object (5 properties)
+│ │ ├── Asn: *uint32
+│ │ ├── BgpPeeringAddress: *string
+│ │ ├── BgpPeeringAddresses: Object (3 properties)[]
+│ │ │ ├── CustomBgpIpAddresses: string[]
+│ │ │ ├── IpconfigurationId: *string
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── PeerWeight: *int
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── CustomRoutes: *Object (2 properties)
+│ │ ├── AddressPrefixes: string[]
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── EnableBgp: *bool
+│ ├── EnableDnsForwarding: *bool
+│ ├── EnablePrivateIpAddress: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── GatewayDefaultSite: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── GatewayType: *string
+│ ├── IpConfigurations: Object (5 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAllocationMethod: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── PublicIPAddress: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── Tags: map[string]string
+│ ├── VNetExtendedLocationResourceReference: *genruntime.ResourceReference
+│ ├── VpnClientConfiguration: *Object (13 properties)
+│ │ ├── AadAudience: *string
+│ │ ├── AadIssuer: *string
+│ │ ├── AadTenant: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── RadiusServerAddress: *string
+│ │ ├── RadiusServerSecret: *string
+│ │ ├── RadiusServers: Object (4 properties)[]
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ ├── RadiusServerAddress: *string
-│ │ │ ├── RadiusServerSecret: *string
-│ │ │ ├── RadiusServers: Object (4 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── RadiusServerAddress: *string
-│ │ │ │ ├── RadiusServerScore: *int
-│ │ │ │ └── RadiusServerSecret: *string
-│ │ │ ├── VpnAuthenticationTypes: string[]
-│ │ │ ├── VpnClientAddressPool: *Object (2 properties)
-│ │ │ │ ├── AddressPrefixes: string[]
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── VpnClientIpsecPolicies: Object (9 properties)[]
-│ │ │ │ ├── DhGroup: *string
-│ │ │ │ ├── IkeEncryption: *string
-│ │ │ │ ├── IkeIntegrity: *string
-│ │ │ │ ├── IpsecEncryption: *string
-│ │ │ │ ├── IpsecIntegrity: *string
-│ │ │ │ ├── PfsGroup: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── SaDataSizeKilobytes: *int
-│ │ │ │ └── SaLifeTimeSeconds: *int
-│ │ │ ├── VpnClientProtocols: string[]
-│ │ │ ├── VpnClientRevokedCertificates: Object (3 properties)[]
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Thumbprint: *string
-│ │ │ └── VpnClientRootCertificates: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PublicCertData: *string
-│ │ ├── VpnGatewayGeneration: *string
-│ │ └── VpnType: *string
-│ └── Status: Object (26 properties)
-│ ├── ActiveActive: *bool
-│ ├── BgpSettings: *Object (5 properties)
-│ │ ├── Asn: *uint32
-│ │ ├── BgpPeeringAddress: *string
-│ │ ├── BgpPeeringAddresses: Object (5 properties)[]
-│ │ │ ├── CustomBgpIpAddresses: string[]
-│ │ │ ├── DefaultBgpIpAddresses: string[]
-│ │ │ ├── IpconfigurationId: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TunnelIpAddresses: string[]
-│ │ ├── PeerWeight: *int
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomRoutes: *Object (2 properties)
-│ │ ├── AddressPrefixes: string[]
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── EnableBgp: *bool
-│ ├── EnableDnsForwarding: *bool
-│ ├── EnablePrivateIpAddress: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── GatewayDefaultSite: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── GatewayType: *string
-│ ├── Id: *string
-│ ├── InboundDnsForwardingEndpoint: *string
-│ ├── IpConfigurations: Object (9 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAllocationMethod: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── Subnet: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (4 properties)
-│ │ ├── Capacity: *int
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── VNetExtendedLocationResourceId: *string
-│ ├── VpnClientConfiguration: *Object (13 properties)
-│ │ ├── AadAudience: *string
-│ │ ├── AadIssuer: *string
-│ │ ├── AadTenant: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RadiusServerAddress: *string
-│ │ ├── RadiusServerSecret: *string
-│ │ ├── RadiusServers: Object (4 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── RadiusServerAddress: *string
-│ │ │ ├── RadiusServerScore: *int
-│ │ │ └── RadiusServerSecret: *string
-│ │ ├── VpnAuthenticationTypes: string[]
-│ │ ├── VpnClientAddressPool: *Object (2 properties)
-│ │ │ ├── AddressPrefixes: string[]
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── VpnClientIpsecPolicies: Object (9 properties)[]
-│ │ │ ├── DhGroup: *string
-│ │ │ ├── IkeEncryption: *string
-│ │ │ ├── IkeIntegrity: *string
-│ │ │ ├── IpsecEncryption: *string
-│ │ │ ├── IpsecIntegrity: *string
-│ │ │ ├── PfsGroup: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SaDataSizeKilobytes: *int
-│ │ │ └── SaLifeTimeSeconds: *int
-│ │ ├── VpnClientProtocols: string[]
-│ │ ├── VpnClientRevokedCertificates: Object (6 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── ProvisioningState: *string
-│ │ │ └── Thumbprint: *string
-│ │ └── VpnClientRootCertificates: Object (6 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ └── PublicCertData: *string
-│ ├── VpnGatewayGeneration: *string
-│ └── VpnType: *string
-├── VirtualNetworksSubnet: Resource
-│ ├── Owner: network/v1api20201101.VirtualNetwork
-│ ├── Spec: Object (16 properties)
-│ │ ├── AddressPrefix: *string
-│ │ ├── AddressPrefixes: string[]
-│ │ ├── ApplicationGatewayIpConfigurations: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── AzureName: string
-│ │ ├── Delegations: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── ServiceName: *string
-│ │ ├── IpAllocations: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── NatGateway: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── NetworkSecurityGroup: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateEndpointNetworkPolicies: *string
-│ │ ├── PrivateLinkServiceNetworkPolicies: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RouteTable: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ServiceEndpointPolicies: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── ServiceEndpoints: Object (3 properties)[]
-│ │ ├── Locations: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Service: *string
-│ └── Status: Object (25 properties)
-│ ├── AddressPrefix: *string
-│ ├── AddressPrefixes: string[]
-│ ├── ApplicationGatewayIpConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Conditions: conditions.Condition[]
-│ ├── Delegations: Object (8 properties)[]
-│ │ ├── Actions: string[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── ServiceName: *string
-│ │ └── Type: *string
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IpAllocations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IpConfigurationProfiles: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── IpConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Name: *string
-│ ├── NatGateway: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── NetworkSecurityGroup: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateEndpointNetworkPolicies: *string
-│ ├── PrivateEndpoints: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateLinkServiceNetworkPolicies: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── Purpose: *string
-│ ├── ResourceNavigationLinks: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── RouteTable: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServiceAssociationLinks: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServiceEndpointPolicies: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ServiceEndpoints: Object (4 properties)[]
-│ │ ├── Locations: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ └── Service: *string
-│ └── Type: *string
-├── VirtualNetworksVirtualNetworkPeering: Resource
-│ ├── Owner: network/v1api20201101.VirtualNetwork
-│ ├── Spec: Object (13 properties)
-│ │ ├── AllowForwardedTraffic: *bool
-│ │ ├── AllowGatewayTransit: *bool
-│ │ ├── AllowVirtualNetworkAccess: *bool
-│ │ ├── AzureName: string
-│ │ ├── DoNotVerifyRemoteGateways: *bool
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PeeringState: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RemoteAddressSpace: *Object (2 properties)
+│ │ │ ├── RadiusServerScore: *int
+│ │ │ └── RadiusServerSecret: *string
+│ │ ├── VpnAuthenticationTypes: string[]
+│ │ ├── VpnClientAddressPool: *Object (2 properties)
│ │ │ ├── AddressPrefixes: string[]
│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── RemoteBgpCommunities: *Object (2 properties)
+│ │ ├── VpnClientIpsecPolicies: Object (9 properties)[]
+│ │ │ ├── DhGroup: *string
+│ │ │ ├── IkeEncryption: *string
+│ │ │ ├── IkeIntegrity: *string
+│ │ │ ├── IpsecEncryption: *string
+│ │ │ ├── IpsecIntegrity: *string
+│ │ │ ├── PfsGroup: *string
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── RemoteVirtualNetwork: *Object (2 properties)
+│ │ │ ├── SaDataSizeKilobytes: *int
+│ │ │ └── SaLifeTimeSeconds: *int
+│ │ ├── VpnClientProtocols: string[]
+│ │ ├── VpnClientRevokedCertificates: Object (3 properties)[]
+│ │ │ ├── Name: *string
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── UseRemoteGateways: *bool
-│ └── Status: Object (17 properties)
-│ ├── AllowForwardedTraffic: *bool
-│ ├── AllowGatewayTransit: *bool
-│ ├── AllowVirtualNetworkAccess: *bool
-│ ├── Conditions: conditions.Condition[]
-│ ├── DoNotVerifyRemoteGateways: *bool
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── PeeringState: *string
+│ │ │ └── Thumbprint: *string
+│ │ └── VpnClientRootCertificates: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── PublicCertData: *string
+│ ├── VpnGatewayGeneration: *string
+│ └── VpnType: *string
+└── Status: Object (26 properties)
+ ├── ActiveActive: *bool
+ ├── BgpSettings: *Object (5 properties)
+ │ ├── Asn: *uint32
+ │ ├── BgpPeeringAddress: *string
+ │ ├── BgpPeeringAddresses: Object (5 properties)[]
+ │ │ ├── CustomBgpIpAddresses: string[]
+ │ │ ├── DefaultBgpIpAddresses: string[]
+ │ │ ├── IpconfigurationId: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── TunnelIpAddresses: string[]
+ │ ├── PeerWeight: *int
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Conditions: conditions.Condition[]
+ ├── CustomRoutes: *Object (2 properties)
+ │ ├── AddressPrefixes: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── EnableBgp: *bool
+ ├── EnableDnsForwarding: *bool
+ ├── EnablePrivateIpAddress: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── GatewayDefaultSite: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── GatewayType: *string
+ ├── Id: *string
+ ├── InboundDnsForwardingEndpoint: *string
+ ├── IpConfigurations: Object (9 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAllocationMethod: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── PublicIPAddress: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── Subnet: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (4 properties)
+ │ ├── Capacity: *int
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── VNetExtendedLocationResourceId: *string
+ ├── VpnClientConfiguration: *Object (13 properties)
+ │ ├── AadAudience: *string
+ │ ├── AadIssuer: *string
+ │ ├── AadTenant: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RadiusServerAddress: *string
+ │ ├── RadiusServerSecret: *string
+ │ ├── RadiusServers: Object (4 properties)[]
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── RadiusServerAddress: *string
+ │ │ ├── RadiusServerScore: *int
+ │ │ └── RadiusServerSecret: *string
+ │ ├── VpnAuthenticationTypes: string[]
+ │ ├── VpnClientAddressPool: *Object (2 properties)
+ │ │ ├── AddressPrefixes: string[]
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ ├── VpnClientIpsecPolicies: Object (9 properties)[]
+ │ │ ├── DhGroup: *string
+ │ │ ├── IkeEncryption: *string
+ │ │ ├── IkeIntegrity: *string
+ │ │ ├── IpsecEncryption: *string
+ │ │ ├── IpsecIntegrity: *string
+ │ │ ├── PfsGroup: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── SaDataSizeKilobytes: *int
+ │ │ └── SaLifeTimeSeconds: *int
+ │ ├── VpnClientProtocols: string[]
+ │ ├── VpnClientRevokedCertificates: Object (6 properties)[]
+ │ │ ├── Etag: *string
+ │ │ ├── Id: *string
+ │ │ ├── Name: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── ProvisioningState: *string
+ │ │ └── Thumbprint: *string
+ │ └── VpnClientRootCertificates: Object (6 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ └── PublicCertData: *string
+ ├── VpnGatewayGeneration: *string
+ └── VpnType: *string
+VirtualNetworksSubnet: Resource
+├── Owner: network/v1api20201101.VirtualNetwork
+├── Spec: Object (16 properties)
+│ ├── AddressPrefix: *string
+│ ├── AddressPrefixes: string[]
+│ ├── ApplicationGatewayIpConfigurations: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── AzureName: string
+│ ├── Delegations: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── ServiceName: *string
+│ ├── IpAllocations: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── NatGateway: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── NetworkSecurityGroup: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateEndpointNetworkPolicies: *string
+│ ├── PrivateLinkServiceNetworkPolicies: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── RouteTable: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ServiceEndpointPolicies: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── ServiceEndpoints: Object (3 properties)[]
+│ ├── Locations: string[]
│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── RemoteAddressSpace: *Object (2 properties)
-│ │ ├── AddressPrefixes: string[]
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── RemoteBgpCommunities: *Object (3 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RegionalCommunity: *string
-│ │ └── VirtualNetworkCommunity: *string
-│ ├── RemoteVirtualNetwork: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ResourceGuid: *string
-│ ├── Type: *string
-│ └── UseRemoteGateways: *bool
-├── augmentConversionForExtendedLocation: Interface
-├── augmentConversionForExtendedLocation_STATUS: Interface
-├── augmentConversionForIpTag: Interface
-└── augmentConversionForIpTag_STATUS: Interface
+│ └── Service: *string
+└── Status: Object (25 properties)
+ ├── AddressPrefix: *string
+ ├── AddressPrefixes: string[]
+ ├── ApplicationGatewayIpConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Conditions: conditions.Condition[]
+ ├── Delegations: Object (8 properties)[]
+ │ ├── Actions: string[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── ServiceName: *string
+ │ └── Type: *string
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IpAllocations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IpConfigurationProfiles: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── IpConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Name: *string
+ ├── NatGateway: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── NetworkSecurityGroup: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateEndpointNetworkPolicies: *string
+ ├── PrivateEndpoints: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateLinkServiceNetworkPolicies: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Purpose: *string
+ ├── ResourceNavigationLinks: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── RouteTable: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceAssociationLinks: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceEndpointPolicies: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ServiceEndpoints: Object (4 properties)[]
+ │ ├── Locations: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ └── Service: *string
+ └── Type: *string
+VirtualNetworksVirtualNetworkPeering: Resource
+├── Owner: network/v1api20201101.VirtualNetwork
+├── Spec: Object (13 properties)
+│ ├── AllowForwardedTraffic: *bool
+│ ├── AllowGatewayTransit: *bool
+│ ├── AllowVirtualNetworkAccess: *bool
+│ ├── AzureName: string
+│ ├── DoNotVerifyRemoteGateways: *bool
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PeeringState: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── RemoteAddressSpace: *Object (2 properties)
+│ │ ├── AddressPrefixes: string[]
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── RemoteBgpCommunities: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── RemoteVirtualNetwork: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── UseRemoteGateways: *bool
+└── Status: Object (17 properties)
+ ├── AllowForwardedTraffic: *bool
+ ├── AllowGatewayTransit: *bool
+ ├── AllowVirtualNetworkAccess: *bool
+ ├── Conditions: conditions.Condition[]
+ ├── DoNotVerifyRemoteGateways: *bool
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── PeeringState: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── RemoteAddressSpace: *Object (2 properties)
+ │ ├── AddressPrefixes: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── RemoteBgpCommunities: *Object (3 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RegionalCommunity: *string
+ │ └── VirtualNetworkCommunity: *string
+ ├── RemoteVirtualNetwork: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ResourceGuid: *string
+ ├── Type: *string
+ └── UseRemoteGateways: *bool
+augmentConversionForExtendedLocation: Interface
+augmentConversionForExtendedLocation_STATUS: Interface
+augmentConversionForIpTag: Interface
+augmentConversionForIpTag_STATUS: Interface
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/structure.txt
index ec32691db3..95c8281c08 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/structure.txt
@@ -1,651 +1,117 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/network/v1api20201101
-├── APIVersion: Enum (1 value)
-│ └── "2020-11-01"
-├── LoadBalancer: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (13 properties)
-│ │ ├── AzureName: string
-│ │ ├── BackendAddressPools: Object (2 properties)[]
-│ │ │ ├── LoadBalancerBackendAddresses: Object (5 properties)[]
-│ │ │ │ ├── IpAddress: *string
-│ │ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ ├── Name: *string
-│ │ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ │ └── VirtualNetwork: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Name: *string
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── FrontendIPConfigurations: Object (8 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── PublicIPPrefix: *Object (1 property)
+--------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2020-11-01"
+LoadBalancer: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (13 properties)
+│ ├── AzureName: string
+│ ├── BackendAddressPools: Object (2 properties)[]
+│ │ ├── LoadBalancerBackendAddresses: Object (5 properties)[]
+│ │ │ ├── IpAddress: *string
+│ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ ├── Name: *string
│ │ │ ├── Subnet: *Object (1 property)
│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Zones: string[]
-│ │ ├── InboundNatPools: Object (9 properties)[]
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPortRangeEnd: *int
-│ │ │ ├── FrontendPortRangeStart: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── Name: *string
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── InboundNatRules: Object (8 properties)[]
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── Name: *string
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── LoadBalancingRules: Object (12 properties)[]
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── DisableOutboundSnat: *bool
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── LoadDistribution: *Enum (3 values)
-│ │ │ │ ├── "Default"
-│ │ │ │ ├── "SourceIP"
-│ │ │ │ └── "SourceIPProtocol"
-│ │ │ ├── Name: *string
-│ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── Location: *string
-│ │ ├── OutboundRules: Object (7 properties)[]
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfigurations: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── Name: *string
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Probes: Object (6 properties)[]
-│ │ │ ├── IntervalInSeconds: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── NumberOfProbes: *int
-│ │ │ ├── Port: *int
-│ │ │ ├── Protocol: *Enum (3 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ └── "Tcp"
-│ │ │ └── RequestPath: *string
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (2 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ └── "Standard"
-│ │ │ └── Tier: *Enum (2 values)
-│ │ │ ├── "Global"
-│ │ │ └── "Regional"
-│ │ └── Tags: map[string]string
-│ └── Status: Object (18 properties)
-│ ├── BackendAddressPools: Object (10 properties)[]
-│ │ ├── BackendIPConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── LoadBalancerBackendAddresses: Object (6 properties)[]
-│ │ │ ├── IpAddress: *string
-│ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── NetworkInterfaceIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── VirtualNetwork: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancingRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Name: *string
-│ │ ├── OutboundRule: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── OutboundRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Type: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── FrontendIPConfigurations: Object (16 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── InboundNatPools: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── InboundNatRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancingRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Name: *string
-│ │ ├── OutboundRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── PublicIPPrefix: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Type: *string
-│ │ └── Zones: string[]
-│ ├── Id: *string
-│ ├── InboundNatPools: Object (13 properties)[]
-│ │ ├── BackendPort: *int
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── FrontendPortRangeEnd: *int
-│ │ ├── FrontendPortRangeStart: *int
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Name: *string
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Type: *string
-│ ├── InboundNatRules: Object (13 properties)[]
-│ │ ├── BackendIPConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── BackendPort: *int
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── FrontendPort: *int
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Name: *string
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Type: *string
-│ ├── LoadBalancingRules: Object (16 properties)[]
-│ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── BackendPort: *int
-│ │ ├── DisableOutboundSnat: *bool
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── FrontendPort: *int
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── LoadDistribution: *Enum (3 values)
-│ │ │ ├── "Default"
-│ │ │ ├── "SourceIP"
-│ │ │ └── "SourceIPProtocol"
-│ │ ├── Name: *string
-│ │ ├── Probe: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Type: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── OutboundRules: Object (11 properties)[]
-│ │ ├── AllocatedOutboundPorts: *int
-│ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── Etag: *string
-│ │ ├── FrontendIPConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Id: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Name: *string
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Type: *string
-│ ├── Probes: Object (11 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── IntervalInSeconds: *int
-│ │ ├── LoadBalancingRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Name: *string
-│ │ ├── NumberOfProbes: *int
-│ │ ├── Port: *int
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "Http"
-│ │ │ ├── "Https"
-│ │ │ └── "Tcp"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RequestPath: *string
-│ │ └── Type: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Global"
-│ │ └── "Regional"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── LoadBalancer_STATUS_ARM: Object (9 properties)
-│ ├── Etag: *string
+│ │ │ └── VirtualNetwork: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Name: *string
│ ├── ExtendedLocation: *Object (2 properties)
│ │ ├── Name: *string
│ │ └── Type: *Enum (1 value)
│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (9 properties)
-│ │ ├── BackendAddressPools: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (6 properties)
-│ │ │ │ ├── BackendIPConfigurations: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── LoadBalancerBackendAddresses: Object (2 properties)[]
-│ │ │ │ │ ├── Name: *string
-│ │ │ │ │ └── Properties: *Object (5 properties)
-│ │ │ │ │ ├── IpAddress: *string
-│ │ │ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
-│ │ │ │ │ │ └── Id: *string
-│ │ │ │ │ ├── NetworkInterfaceIPConfiguration: *Object (1 property)
-│ │ │ │ │ │ └── Id: *string
-│ │ │ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ │ │ └── Id: *string
-│ │ │ │ │ └── VirtualNetwork: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── LoadBalancingRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── OutboundRule: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── OutboundRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── Type: *string
-│ │ ├── FrontendIPConfigurations: Object (6 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (11 properties)
-│ │ │ │ ├── InboundNatPools: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── InboundNatRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── LoadBalancingRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── OutboundRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── PrivateIPAddress: *string
-│ │ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ │ ├── "IPv4"
-│ │ │ │ │ └── "IPv6"
-│ │ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ │ ├── "Dynamic"
-│ │ │ │ │ └── "Static"
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── PublicIPPrefix: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── Subnet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Type: *string
-│ │ │ └── Zones: string[]
-│ │ ├── InboundNatPools: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (9 properties)
-│ │ │ │ ├── BackendPort: *int
-│ │ │ │ ├── EnableFloatingIP: *bool
-│ │ │ │ ├── EnableTcpReset: *bool
-│ │ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── FrontendPortRangeEnd: *int
-│ │ │ │ ├── FrontendPortRangeStart: *int
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── Protocol: *Enum (3 values)
-│ │ │ │ │ ├── "All"
-│ │ │ │ │ ├── "Tcp"
-│ │ │ │ │ └── "Udp"
-│ │ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── Type: *string
-│ │ ├── InboundNatRules: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (9 properties)
-│ │ │ │ ├── BackendIPConfiguration: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── BackendPort: *int
-│ │ │ │ ├── EnableFloatingIP: *bool
-│ │ │ │ ├── EnableTcpReset: *bool
-│ │ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── FrontendPort: *int
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── Protocol: *Enum (3 values)
-│ │ │ │ │ ├── "All"
-│ │ │ │ │ ├── "Tcp"
-│ │ │ │ │ └── "Udp"
-│ │ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── Type: *string
-│ │ ├── LoadBalancingRules: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (12 properties)
-│ │ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── BackendPort: *int
-│ │ │ │ ├── DisableOutboundSnat: *bool
-│ │ │ │ ├── EnableFloatingIP: *bool
-│ │ │ │ ├── EnableTcpReset: *bool
-│ │ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── FrontendPort: *int
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── LoadDistribution: *Enum (3 values)
-│ │ │ │ │ ├── "Default"
-│ │ │ │ │ ├── "SourceIP"
-│ │ │ │ │ └── "SourceIPProtocol"
-│ │ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── Protocol: *Enum (3 values)
-│ │ │ │ │ ├── "All"
-│ │ │ │ │ ├── "Tcp"
-│ │ │ │ │ └── "Udp"
-│ │ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── Type: *string
-│ │ ├── OutboundRules: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (7 properties)
-│ │ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── EnableTcpReset: *bool
-│ │ │ │ ├── FrontendIPConfigurations: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ │ ├── Protocol: *Enum (3 values)
-│ │ │ │ │ ├── "All"
-│ │ │ │ │ ├── "Tcp"
-│ │ │ │ │ └── "Udp"
-│ │ │ │ └── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── Type: *string
-│ │ ├── Probes: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (7 properties)
-│ │ │ │ ├── IntervalInSeconds: *int
-│ │ │ │ ├── LoadBalancingRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── NumberOfProbes: *int
-│ │ │ │ ├── Port: *int
-│ │ │ │ ├── Protocol: *Enum (3 values)
-│ │ │ │ │ ├── "Http"
-│ │ │ │ │ ├── "Https"
-│ │ │ │ │ └── "Tcp"
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ └── RequestPath: *string
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── ResourceGuid: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Global"
-│ │ └── "Regional"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── LoadBalancer_Spec_ARM: Object (6 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
+│ ├── FrontendIPConfigurations: Object (8 properties)[]
│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PublicIPPrefix: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Subnet: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Zones: string[]
+│ ├── InboundNatPools: Object (9 properties)[]
+│ │ ├── BackendPort: *int
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPortRangeEnd: *int
+│ │ ├── FrontendPortRangeStart: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── Name: *string
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── InboundNatRules: Object (8 properties)[]
+│ │ ├── BackendPort: *int
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── Name: *string
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── LoadBalancingRules: Object (12 properties)[]
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── BackendPort: *int
+│ │ ├── DisableOutboundSnat: *bool
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── LoadDistribution: *Enum (3 values)
+│ │ │ ├── "Default"
+│ │ │ ├── "SourceIP"
+│ │ │ └── "SourceIPProtocol"
+│ │ ├── Name: *string
+│ │ ├── Probe: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (7 properties)
-│ │ ├── BackendAddressPools: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── LoadBalancerBackendAddresses: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (4 properties)
-│ │ │ ├── IpAddress: *string
-│ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── VirtualNetwork: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── FrontendIPConfigurations: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (6 properties)
-│ │ │ │ ├── PrivateIPAddress: *string
-│ │ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ │ ├── "IPv4"
-│ │ │ │ │ └── "IPv6"
-│ │ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ │ ├── "Dynamic"
-│ │ │ │ │ └── "Static"
-│ │ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── PublicIPPrefix: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── Subnet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Zones: string[]
-│ │ ├── InboundNatPools: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (8 properties)
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── FrontendPortRangeEnd: *int
-│ │ │ ├── FrontendPortRangeStart: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── InboundNatRules: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (7 properties)
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── FrontendPort: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── LoadBalancingRules: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (11 properties)
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── BackendPort: *int
-│ │ │ ├── DisableOutboundSnat: *bool
-│ │ │ ├── EnableFloatingIP: *bool
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── FrontendPort: *int
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ ├── LoadDistribution: *Enum (3 values)
-│ │ │ │ ├── "Default"
-│ │ │ │ ├── "SourceIP"
-│ │ │ │ └── "SourceIPProtocol"
-│ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── OutboundRules: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (6 properties)
-│ │ │ ├── AllocatedOutboundPorts: *int
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── EnableTcpReset: *bool
-│ │ │ ├── FrontendIPConfigurations: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── IdleTimeoutInMinutes: *int
-│ │ │ └── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ └── Probes: Object (2 properties)[]
-│ │ ├── Name: *string
-│ │ └── Properties: *Object (5 properties)
-│ │ ├── IntervalInSeconds: *int
-│ │ ├── NumberOfProbes: *int
-│ │ ├── Port: *int
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "Http"
-│ │ │ ├── "Https"
-│ │ │ └── "Tcp"
-│ │ └── RequestPath: *string
+│ ├── OutboundRules: Object (7 properties)[]
+│ │ ├── AllocatedOutboundPorts: *int
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfigurations: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── Name: *string
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Probes: Object (6 properties)[]
+│ │ ├── IntervalInSeconds: *int
+│ │ ├── Name: *string
+│ │ ├── NumberOfProbes: *int
+│ │ ├── Port: *int
+│ │ ├── Protocol: *Enum (3 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ └── "Tcp"
+│ │ └── RequestPath: *string
│ ├── Sku: *Object (2 properties)
│ │ ├── Name: *Enum (2 values)
│ │ │ ├── "Basic"
@@ -654,107 +120,786 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20201101
│ │ ├── "Global"
│ │ └── "Regional"
│ └── Tags: map[string]string
-├── LoadBalancersInboundNatRule: Resource
-│ ├── Owner: LoadBalancer
-│ ├── Spec: Object (9 properties)
-│ │ ├── AzureName: string
-│ │ ├── BackendPort: *int
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── FrontendPort: *int
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Protocol: *Enum (3 values)
-│ │ ├── "All"
-│ │ ├── "Tcp"
-│ │ └── "Udp"
-│ └── Status: Object (14 properties)
-│ ├── BackendIPConfiguration: *Object (1 property)
-│ │ └── Id: *string
-│ ├── BackendPort: *int
-│ ├── Conditions: conditions.Condition[]
-│ ├── EnableFloatingIP: *bool
-│ ├── EnableTcpReset: *bool
-│ ├── Etag: *string
-│ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ └── Id: *string
-│ ├── FrontendPort: *int
-│ ├── Id: *string
-│ ├── IdleTimeoutInMinutes: *int
-│ ├── Name: *string
-│ ├── Protocol: *Enum (3 values)
-│ │ ├── "All"
-│ │ ├── "Tcp"
-│ │ └── "Udp"
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ └── Type: *string
-├── LoadBalancers_InboundNatRule_STATUS_ARM: Object (5 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
+└── Status: Object (18 properties)
+ ├── BackendAddressPools: Object (10 properties)[]
+ │ ├── BackendIPConfigurations: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── LoadBalancerBackendAddresses: Object (6 properties)[]
+ │ │ ├── IpAddress: *string
+ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
+ │ │ │ └── Id: *string
+ │ │ ├── Name: *string
+ │ │ ├── NetworkInterfaceIPConfiguration: *Object (1 property)
+ │ │ │ └── Id: *string
+ │ │ ├── Subnet: *Object (1 property)
+ │ │ │ └── Id: *string
+ │ │ └── VirtualNetwork: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── LoadBalancingRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Name: *string
+ │ ├── OutboundRule: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── OutboundRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── Type: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── FrontendIPConfigurations: Object (16 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── InboundNatPools: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── InboundNatRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancingRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Name: *string
+ │ ├── OutboundRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+ │ │ ├── "Dynamic"
+ │ │ └── "Static"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── PublicIPAddress: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── PublicIPPrefix: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── Subnet: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── Type: *string
+ │ └── Zones: string[]
+ ├── Id: *string
+ ├── InboundNatPools: Object (13 properties)[]
+ │ ├── BackendPort: *int
+ │ ├── EnableFloatingIP: *bool
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfiguration: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── FrontendPortRangeEnd: *int
+ │ ├── FrontendPortRangeStart: *int
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── Name: *string
+ │ ├── Protocol: *Enum (3 values)
+ │ │ ├── "All"
+ │ │ ├── "Tcp"
+ │ │ └── "Udp"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── Type: *string
+ ├── InboundNatRules: Object (13 properties)[]
+ │ ├── BackendIPConfiguration: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── BackendPort: *int
+ │ ├── EnableFloatingIP: *bool
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfiguration: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── FrontendPort: *int
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── Name: *string
+ │ ├── Protocol: *Enum (3 values)
+ │ │ ├── "All"
+ │ │ ├── "Tcp"
+ │ │ └── "Udp"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── Type: *string
+ ├── LoadBalancingRules: Object (16 properties)[]
+ │ ├── BackendAddressPool: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── BackendPort: *int
+ │ ├── DisableOutboundSnat: *bool
+ │ ├── EnableFloatingIP: *bool
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfiguration: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── FrontendPort: *int
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── LoadDistribution: *Enum (3 values)
+ │ │ ├── "Default"
+ │ │ ├── "SourceIP"
+ │ │ └── "SourceIPProtocol"
+ │ ├── Name: *string
+ │ ├── Probe: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── Protocol: *Enum (3 values)
+ │ │ ├── "All"
+ │ │ ├── "Tcp"
+ │ │ └── "Udp"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── Type: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── OutboundRules: Object (11 properties)[]
+ │ ├── AllocatedOutboundPorts: *int
+ │ ├── BackendAddressPool: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── EnableTcpReset: *bool
+ │ ├── Etag: *string
+ │ ├── FrontendIPConfigurations: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Id: *string
+ │ ├── IdleTimeoutInMinutes: *int
+ │ ├── Name: *string
+ │ ├── Protocol: *Enum (3 values)
+ │ │ ├── "All"
+ │ │ ├── "Tcp"
+ │ │ └── "Udp"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── Type: *string
+ ├── Probes: Object (11 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── IntervalInSeconds: *int
+ │ ├── LoadBalancingRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Name: *string
+ │ ├── NumberOfProbes: *int
+ │ ├── Port: *int
+ │ ├── Protocol: *Enum (3 values)
+ │ │ ├── "Http"
+ │ │ ├── "Https"
+ │ │ └── "Tcp"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── RequestPath: *string
+ │ └── Type: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (2 values)
+ │ │ ├── "Basic"
+ │ │ └── "Standard"
+ │ └── Tier: *Enum (2 values)
+ │ ├── "Global"
+ │ └── "Regional"
+ ├── Tags: map[string]string
+ └── Type: *string
+LoadBalancer_STATUS_ARM: Object (9 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (9 properties)
-│ │ ├── BackendIPConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── BackendPort: *int
-│ │ ├── EnableFloatingIP: *bool
-│ │ ├── EnableTcpReset: *bool
-│ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── FrontendPort: *int
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Protocol: *Enum (3 values)
-│ │ │ ├── "All"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ └── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ └── Type: *string
-├── LoadBalancers_InboundNatRule_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (7 properties)
-│ ├── BackendPort: *int
-│ ├── EnableFloatingIP: *bool
-│ ├── EnableTcpReset: *bool
-│ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ └── Id: *string
-│ ├── FrontendPort: *int
-│ ├── IdleTimeoutInMinutes: *int
-│ └── Protocol: *Enum (3 values)
-│ ├── "All"
-│ ├── "Tcp"
-│ └── "Udp"
-├── NetworkInterface: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (12 properties)
-│ │ ├── AzureName: string
-│ │ ├── DnsSettings: *Object (2 properties)
-│ │ │ ├── DnsServers: string[]
-│ │ │ └── InternalDnsNameLabel: *string
-│ │ ├── EnableAcceleratedNetworking: *bool
-│ │ ├── EnableIPForwarding: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── IpConfigurations: Object (12 properties)[]
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (9 properties)
+│ ├── BackendAddressPools: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (6 properties)
+│ │ │ ├── BackendIPConfigurations: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── LoadBalancerBackendAddresses: Object (2 properties)[]
+│ │ │ │ ├── Name: *string
+│ │ │ │ └── Properties: *Object (5 properties)
+│ │ │ │ ├── IpAddress: *string
+│ │ │ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
+│ │ │ │ │ └── Id: *string
+│ │ │ │ ├── NetworkInterfaceIPConfiguration: *Object (1 property)
+│ │ │ │ │ └── Id: *string
+│ │ │ │ ├── Subnet: *Object (1 property)
+│ │ │ │ │ └── Id: *string
+│ │ │ │ └── VirtualNetwork: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── LoadBalancingRules: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── OutboundRule: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── OutboundRules: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── Type: *string
+│ ├── FrontendIPConfigurations: Object (6 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (11 properties)
+│ │ │ ├── InboundNatPools: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── InboundNatRules: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── LoadBalancingRules: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── OutboundRules: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── PrivateIPAddress: *string
+│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ │ ├── "IPv4"
+│ │ │ │ └── "IPv6"
+│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ │ ├── "Dynamic"
+│ │ │ │ └── "Static"
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
+│ │ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── PublicIPPrefix: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ └── Subnet: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Type: *string
+│ │ └── Zones: string[]
+│ ├── InboundNatPools: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (9 properties)
+│ │ │ ├── BackendPort: *int
+│ │ │ ├── EnableFloatingIP: *bool
+│ │ │ ├── EnableTcpReset: *bool
+│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── FrontendPortRangeEnd: *int
+│ │ │ ├── FrontendPortRangeStart: *int
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── Protocol: *Enum (3 values)
+│ │ │ │ ├── "All"
+│ │ │ │ ├── "Tcp"
+│ │ │ │ └── "Udp"
+│ │ │ └── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── Type: *string
+│ ├── InboundNatRules: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (9 properties)
+│ │ │ ├── BackendIPConfiguration: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── BackendPort: *int
+│ │ │ ├── EnableFloatingIP: *bool
+│ │ │ ├── EnableTcpReset: *bool
+│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── FrontendPort: *int
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── Protocol: *Enum (3 values)
+│ │ │ │ ├── "All"
+│ │ │ │ ├── "Tcp"
+│ │ │ │ └── "Udp"
+│ │ │ └── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── Type: *string
+│ ├── LoadBalancingRules: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (12 properties)
+│ │ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── BackendPort: *int
+│ │ │ ├── DisableOutboundSnat: *bool
+│ │ │ ├── EnableFloatingIP: *bool
+│ │ │ ├── EnableTcpReset: *bool
+│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── FrontendPort: *int
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── LoadDistribution: *Enum (3 values)
+│ │ │ │ ├── "Default"
+│ │ │ │ ├── "SourceIP"
+│ │ │ │ └── "SourceIPProtocol"
+│ │ │ ├── Probe: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── Protocol: *Enum (3 values)
+│ │ │ │ ├── "All"
+│ │ │ │ ├── "Tcp"
+│ │ │ │ └── "Udp"
+│ │ │ └── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── Type: *string
+│ ├── OutboundRules: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (7 properties)
+│ │ │ ├── AllocatedOutboundPorts: *int
+│ │ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── EnableTcpReset: *bool
+│ │ │ ├── FrontendIPConfigurations: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── IdleTimeoutInMinutes: *int
+│ │ │ ├── Protocol: *Enum (3 values)
+│ │ │ │ ├── "All"
+│ │ │ │ ├── "Tcp"
+│ │ │ │ └── "Udp"
+│ │ │ └── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── Type: *string
+│ ├── Probes: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (7 properties)
+│ │ │ ├── IntervalInSeconds: *int
+│ │ │ ├── LoadBalancingRules: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── NumberOfProbes: *int
+│ │ │ ├── Port: *int
+│ │ │ ├── Protocol: *Enum (3 values)
+│ │ │ │ ├── "Http"
+│ │ │ │ ├── "Https"
+│ │ │ │ └── "Tcp"
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
+│ │ │ └── RequestPath: *string
+│ │ └── Type: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── ResourceGuid: *string
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ └── Tier: *Enum (2 values)
+│ ├── "Global"
+│ └── "Regional"
+├── Tags: map[string]string
+└── Type: *string
+LoadBalancer_Spec_ARM: Object (6 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (7 properties)
+│ ├── BackendAddressPools: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── LoadBalancerBackendAddresses: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (4 properties)
+│ │ ├── IpAddress: *string
+│ │ ├── LoadBalancerFrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Subnet: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── VirtualNetwork: *Object (1 property)
+│ │ └── Id: *string
+│ ├── FrontendIPConfigurations: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (6 properties)
+│ │ │ ├── PrivateIPAddress: *string
+│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ │ ├── "IPv4"
+│ │ │ │ └── "IPv6"
+│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ │ ├── "Dynamic"
+│ │ │ │ └── "Static"
+│ │ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── PublicIPPrefix: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ └── Subnet: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── Zones: string[]
+│ ├── InboundNatPools: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (8 properties)
+│ │ ├── BackendPort: *int
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── FrontendPortRangeEnd: *int
+│ │ ├── FrontendPortRangeStart: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── InboundNatRules: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (7 properties)
+│ │ ├── BackendPort: *int
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── FrontendPort: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── LoadBalancingRules: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (11 properties)
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── BackendPort: *int
+│ │ ├── DisableOutboundSnat: *bool
+│ │ ├── EnableFloatingIP: *bool
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── FrontendPort: *int
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ ├── LoadDistribution: *Enum (3 values)
+│ │ │ ├── "Default"
+│ │ │ ├── "SourceIP"
+│ │ │ └── "SourceIPProtocol"
+│ │ ├── Probe: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── OutboundRules: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (6 properties)
+│ │ ├── AllocatedOutboundPorts: *int
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── EnableTcpReset: *bool
+│ │ ├── FrontendIPConfigurations: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── IdleTimeoutInMinutes: *int
+│ │ └── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ └── Probes: Object (2 properties)[]
+│ ├── Name: *string
+│ └── Properties: *Object (5 properties)
+│ ├── IntervalInSeconds: *int
+│ ├── NumberOfProbes: *int
+│ ├── Port: *int
+│ ├── Protocol: *Enum (3 values)
+│ │ ├── "Http"
+│ │ ├── "Https"
+│ │ └── "Tcp"
+│ └── RequestPath: *string
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ └── Tier: *Enum (2 values)
+│ ├── "Global"
+│ └── "Regional"
+└── Tags: map[string]string
+LoadBalancersInboundNatRule: Resource
+├── Owner: LoadBalancer
+├── Spec: Object (9 properties)
+│ ├── AzureName: string
+│ ├── BackendPort: *int
+│ ├── EnableFloatingIP: *bool
+│ ├── EnableTcpReset: *bool
+│ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── FrontendPort: *int
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── Protocol: *Enum (3 values)
+│ ├── "All"
+│ ├── "Tcp"
+│ └── "Udp"
+└── Status: Object (14 properties)
+ ├── BackendIPConfiguration: *Object (1 property)
+ │ └── Id: *string
+ ├── BackendPort: *int
+ ├── Conditions: conditions.Condition[]
+ ├── EnableFloatingIP: *bool
+ ├── EnableTcpReset: *bool
+ ├── Etag: *string
+ ├── FrontendIPConfiguration: *Object (1 property)
+ │ └── Id: *string
+ ├── FrontendPort: *int
+ ├── Id: *string
+ ├── IdleTimeoutInMinutes: *int
+ ├── Name: *string
+ ├── Protocol: *Enum (3 values)
+ │ ├── "All"
+ │ ├── "Tcp"
+ │ └── "Udp"
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ └── Type: *string
+LoadBalancers_InboundNatRule_STATUS_ARM: Object (5 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (9 properties)
+│ ├── BackendIPConfiguration: *Object (1 property)
+│ │ └── Id: *string
+│ ├── BackendPort: *int
+│ ├── EnableFloatingIP: *bool
+│ ├── EnableTcpReset: *bool
+│ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ └── Id: *string
+│ ├── FrontendPort: *int
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── Protocol: *Enum (3 values)
+│ │ ├── "All"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ └── ProvisioningState: *Enum (4 values)
+│ ├── "Deleting"
+│ ├── "Failed"
+│ ├── "Succeeded"
+│ └── "Updating"
+└── Type: *string
+LoadBalancers_InboundNatRule_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (7 properties)
+ ├── BackendPort: *int
+ ├── EnableFloatingIP: *bool
+ ├── EnableTcpReset: *bool
+ ├── FrontendIPConfiguration: *Object (1 property)
+ │ └── Id: *string
+ ├── FrontendPort: *int
+ ├── IdleTimeoutInMinutes: *int
+ └── Protocol: *Enum (3 values)
+ ├── "All"
+ ├── "Tcp"
+ └── "Udp"
+NetworkInterface: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (12 properties)
+│ ├── AzureName: string
+│ ├── DnsSettings: *Object (2 properties)
+│ │ ├── DnsServers: string[]
+│ │ └── InternalDnsNameLabel: *string
+│ ├── EnableAcceleratedNetworking: *bool
+│ ├── EnableIPForwarding: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── IpConfigurations: Object (12 properties)[]
+│ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── ApplicationSecurityGroups: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Primary: *bool
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Subnet: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── VirtualNetworkTaps: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── NetworkSecurityGroup: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── NicType: *Enum (2 values)
+│ │ ├── "Elastic"
+│ │ └── "Standard"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateLinkService: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (25 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DnsSettings: *Object (5 properties)
+ │ ├── AppliedDnsServers: string[]
+ │ ├── DnsServers: string[]
+ │ ├── InternalDnsNameLabel: *string
+ │ ├── InternalDomainNameSuffix: *string
+ │ └── InternalFqdn: *string
+ ├── DscpConfiguration: *Object (1 property)
+ │ └── Id: *string
+ ├── EnableAcceleratedNetworking: *bool
+ ├── EnableIPForwarding: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── HostedWorkloads: string[]
+ ├── Id: *string
+ ├── IpConfigurations: Object (17 properties)[]
+ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── ApplicationSecurityGroups: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
+ │ │ └── Id: *string
+ │ ├── Name: *string
+ │ ├── Primary: *bool
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+ │ │ ├── "Dynamic"
+ │ │ └── "Static"
+ │ ├── PrivateLinkConnectionProperties: *Object (3 properties)
+ │ │ ├── Fqdns: string[]
+ │ │ ├── GroupId: *string
+ │ │ └── RequiredMemberName: *string
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── PublicIPAddress: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── Subnet: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── Type: *string
+ │ └── VirtualNetworkTaps: Object (1 property)[]
+ │ └── Id: *string
+ ├── Location: *string
+ ├── MacAddress: *string
+ ├── MigrationPhase: *Enum (5 values)
+ │ ├── "Abort"
+ │ ├── "Commit"
+ │ ├── "Committed"
+ │ ├── "None"
+ │ └── "Prepare"
+ ├── Name: *string
+ ├── NetworkSecurityGroup: *Object (1 property)
+ │ └── Id: *string
+ ├── NicType: *Enum (2 values)
+ │ ├── "Elastic"
+ │ └── "Standard"
+ ├── Primary: *bool
+ ├── PrivateEndpoint: *Object (1 property)
+ │ └── Id: *string
+ ├── PrivateLinkService: *Object (1 property)
+ │ └── Id: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Tags: map[string]string
+ ├── TapConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Type: *string
+ └── VirtualMachine: *Object (1 property)
+ └── Id: *string
+NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded_ARM: Object (8 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (17 properties)
+│ ├── DnsSettings: *Object (5 properties)
+│ │ ├── AppliedDnsServers: string[]
+│ │ ├── DnsServers: string[]
+│ │ ├── InternalDnsNameLabel: *string
+│ │ ├── InternalDomainNameSuffix: *string
+│ │ └── InternalFqdn: *string
+│ ├── DscpConfiguration: *Object (1 property)
+│ │ └── Id: *string
+│ ├── EnableAcceleratedNetworking: *bool
+│ ├── EnableIPForwarding: *bool
+│ ├── HostedWorkloads: string[]
+│ ├── IpConfigurations: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (13 properties)
│ │ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ │ └── Id: *string
│ │ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ │ └── Id: *string
│ │ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ │ └── Id: *string
│ │ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
+│ │ │ │ └── Id: *string
│ │ │ ├── Primary: *bool
│ │ │ ├── PrivateIPAddress: *string
│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
@@ -763,674 +908,363 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20201101
│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
│ │ │ │ ├── "Dynamic"
│ │ │ │ └── "Static"
+│ │ │ ├── PrivateLinkConnectionProperties: *Object (3 properties)
+│ │ │ │ ├── Fqdns: string[]
+│ │ │ │ ├── GroupId: *string
+│ │ │ │ └── RequiredMemberName: *string
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ │ └── Id: *string
│ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ │ └── Id: *string
│ │ │ └── VirtualNetworkTaps: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── NicType: *Enum (2 values)
-│ │ │ ├── "Elastic"
-│ │ │ └── "Standard"
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateLinkService: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (25 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DnsSettings: *Object (5 properties)
-│ │ ├── AppliedDnsServers: string[]
-│ │ ├── DnsServers: string[]
-│ │ ├── InternalDnsNameLabel: *string
-│ │ ├── InternalDomainNameSuffix: *string
-│ │ └── InternalFqdn: *string
-│ ├── DscpConfiguration: *Object (1 property)
-│ │ └── Id: *string
-│ ├── EnableAcceleratedNetworking: *bool
-│ ├── EnableIPForwarding: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── HostedWorkloads: string[]
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (17 properties)[]
-│ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Name: *string
-│ │ ├── Primary: *bool
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── PrivateLinkConnectionProperties: *Object (3 properties)
-│ │ │ ├── Fqdns: string[]
-│ │ │ ├── GroupId: *string
-│ │ │ └── RequiredMemberName: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Type: *string
-│ │ └── VirtualNetworkTaps: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── MacAddress: *string
-│ ├── MigrationPhase: *Enum (5 values)
-│ │ ├── "Abort"
-│ │ ├── "Commit"
-│ │ ├── "Committed"
-│ │ ├── "None"
-│ │ └── "Prepare"
-│ ├── Name: *string
-│ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ └── Id: *string
-│ ├── NicType: *Enum (2 values)
-│ │ ├── "Elastic"
-│ │ └── "Standard"
-│ ├── Primary: *bool
-│ ├── PrivateEndpoint: *Object (1 property)
-│ │ └── Id: *string
-│ ├── PrivateLinkService: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ ├── TapConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Type: *string
-│ └── VirtualMachine: *Object (1 property)
-│ └── Id: *string
-├── NetworkInterface_STATUS_NetworkInterface_SubResourceEmbedded_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
+│ │ │ └── Id: *string
+│ │ └── Type: *string
+│ ├── MacAddress: *string
+│ ├── MigrationPhase: *Enum (5 values)
+│ │ ├── "Abort"
+│ │ ├── "Commit"
+│ │ ├── "Committed"
+│ │ ├── "None"
+│ │ └── "Prepare"
+│ ├── NetworkSecurityGroup: *Object (1 property)
+│ │ └── Id: *string
+│ ├── NicType: *Enum (2 values)
+│ │ ├── "Elastic"
+│ │ └── "Standard"
+│ ├── Primary: *bool
+│ ├── PrivateEndpoint: *Object (1 property)
+│ │ └── Id: *string
+│ ├── PrivateLinkService: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── ResourceGuid: *string
+│ ├── TapConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ └── VirtualMachine: *Object (1 property)
+│ └── Id: *string
+├── Tags: map[string]string
+└── Type: *string
+NetworkInterface_Spec_ARM: Object (5 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (17 properties)
-│ │ ├── DnsSettings: *Object (5 properties)
-│ │ │ ├── AppliedDnsServers: string[]
-│ │ │ ├── DnsServers: string[]
-│ │ │ ├── InternalDnsNameLabel: *string
-│ │ │ ├── InternalDomainNameSuffix: *string
-│ │ │ └── InternalFqdn: *string
-│ │ ├── DscpConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── EnableAcceleratedNetworking: *bool
-│ │ ├── EnableIPForwarding: *bool
-│ │ ├── HostedWorkloads: string[]
-│ │ ├── IpConfigurations: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (13 properties)
-│ │ │ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── Primary: *bool
-│ │ │ │ ├── PrivateIPAddress: *string
-│ │ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ │ ├── "IPv4"
-│ │ │ │ │ └── "IPv6"
-│ │ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ │ ├── "Dynamic"
-│ │ │ │ │ └── "Static"
-│ │ │ │ ├── PrivateLinkConnectionProperties: *Object (3 properties)
-│ │ │ │ │ ├── Fqdns: string[]
-│ │ │ │ │ ├── GroupId: *string
-│ │ │ │ │ └── RequiredMemberName: *string
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── VirtualNetworkTaps: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ └── Type: *string
-│ │ ├── MacAddress: *string
-│ │ ├── MigrationPhase: *Enum (5 values)
-│ │ │ ├── "Abort"
-│ │ │ ├── "Commit"
-│ │ │ ├── "Committed"
-│ │ │ ├── "None"
-│ │ │ └── "Prepare"
-│ │ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── NicType: *Enum (2 values)
-│ │ │ ├── "Elastic"
-│ │ │ └── "Standard"
-│ │ ├── Primary: *bool
-│ │ ├── PrivateEndpoint: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── PrivateLinkService: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ResourceGuid: *string
-│ │ ├── TapConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── VirtualMachine: *Object (1 property)
-│ │ └── Id: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── NetworkInterface_Spec_ARM: Object (5 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (7 properties)
+│ ├── DnsSettings: *Object (2 properties)
+│ │ ├── DnsServers: string[]
+│ │ └── InternalDnsNameLabel: *string
+│ ├── EnableAcceleratedNetworking: *bool
+│ ├── EnableIPForwarding: *bool
+│ ├── IpConfigurations: Object (2 properties)[]
│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
+│ │ └── Properties: *Object (11 properties)
+│ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── ApplicationSecurityGroups: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── Primary: *bool
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Subnet: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── VirtualNetworkTaps: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── NetworkSecurityGroup: *Object (1 property)
+│ │ └── Id: *string
+│ ├── NicType: *Enum (2 values)
+│ │ ├── "Elastic"
+│ │ └── "Standard"
+│ └── PrivateLinkService: *Object (1 property)
+│ └── Id: *string
+└── Tags: map[string]string
+NetworkSecurityGroup: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (4 properties)
+│ ├── AzureName: string
│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (7 properties)
-│ │ ├── DnsSettings: *Object (2 properties)
-│ │ │ ├── DnsServers: string[]
-│ │ │ └── InternalDnsNameLabel: *string
-│ │ ├── EnableAcceleratedNetworking: *bool
-│ │ ├── EnableIPForwarding: *bool
-│ │ ├── IpConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (11 properties)
-│ │ │ ├── ApplicationGatewayBackendAddressPools: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerBackendAddressPools: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadBalancerInboundNatRules: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── Primary: *bool
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Subnet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── VirtualNetworkTaps: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── NicType: *Enum (2 values)
-│ │ │ ├── "Elastic"
-│ │ │ └── "Standard"
-│ │ └── PrivateLinkService: *Object (1 property)
-│ │ └── Id: *string
+│ ├── Owner: *genruntime.KnownResourceReference
│ └── Tags: map[string]string
-├── NetworkSecurityGroup: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (4 properties)
-│ │ ├── AzureName: string
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (13 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DefaultSecurityRules: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Etag: *string
-│ ├── FlowLogs: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── NetworkInterfaces: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Subnets: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded_ARM: Object (7 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (6 properties)
-│ │ ├── DefaultSecurityRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── FlowLogs: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── NetworkInterfaces: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ResourceGuid: *string
-│ │ └── Subnets: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── NetworkSecurityGroup_Spec_ARM: Object (4 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (1 property)
-│ │ └── SecurityRules: Object (4 properties)[]
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── Properties: *Object (15 properties)
-│ │ │ ├── Access: *Enum (2 values)
-│ │ │ │ ├── "Allow"
-│ │ │ │ └── "Deny"
-│ │ │ ├── Description: *string
-│ │ │ ├── DestinationAddressPrefix: *string
-│ │ │ ├── DestinationAddressPrefixes: string[]
-│ │ │ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── DestinationPortRange: *string
-│ │ │ ├── DestinationPortRanges: string[]
-│ │ │ ├── Direction: *Enum (2 values)
-│ │ │ │ ├── "Inbound"
-│ │ │ │ └── "Outbound"
-│ │ │ ├── Priority: *int
-│ │ │ ├── Protocol: *Enum (6 values)
-│ │ │ │ ├── "Ah"
-│ │ │ │ ├── "Esp"
-│ │ │ │ ├── "Icmp"
-│ │ │ │ ├── "*"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Udp"
-│ │ │ ├── SourceAddressPrefix: *string
-│ │ │ ├── SourceAddressPrefixes: string[]
-│ │ │ ├── SourceApplicationSecurityGroups: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── SourcePortRange: *string
-│ │ │ └── SourcePortRanges: string[]
-│ │ └── Type: *string
-│ └── Tags: map[string]string
-├── NetworkSecurityGroupsSecurityRule: Resource
-│ ├── Owner: NetworkSecurityGroup
-│ ├── Spec: Object (17 properties)
-│ │ ├── Access: *Enum (2 values)
-│ │ │ ├── "Allow"
-│ │ │ └── "Deny"
-│ │ ├── AzureName: string
-│ │ ├── Description: *string
-│ │ ├── DestinationAddressPrefix: *string
-│ │ ├── DestinationAddressPrefixes: string[]
-│ │ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── DestinationPortRange: *string
-│ │ ├── DestinationPortRanges: string[]
-│ │ ├── Direction: *Enum (2 values)
-│ │ │ ├── "Inbound"
-│ │ │ └── "Outbound"
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Priority: *int
-│ │ ├── Protocol: *Enum (6 values)
-│ │ │ ├── "Ah"
-│ │ │ ├── "Esp"
-│ │ │ ├── "Icmp"
-│ │ │ ├── "*"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── SourceAddressPrefix: *string
-│ │ ├── SourceAddressPrefixes: string[]
-│ │ ├── SourceApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── SourcePortRange: *string
-│ │ └── SourcePortRanges: string[]
-│ └── Status: Object (21 properties)
-│ ├── Access: *Enum (2 values)
-│ │ ├── "Allow"
-│ │ └── "Deny"
-│ ├── Conditions: conditions.Condition[]
-│ ├── Description: *string
-│ ├── DestinationAddressPrefix: *string
-│ ├── DestinationAddressPrefixes: string[]
-│ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── DestinationPortRange: *string
-│ ├── DestinationPortRanges: string[]
-│ ├── Direction: *Enum (2 values)
-│ │ ├── "Inbound"
-│ │ └── "Outbound"
-│ ├── Etag: *string
+└── Status: Object (13 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DefaultSecurityRules: Object (1 property)[]
+ │ └── Id: *string
+ ├── Etag: *string
+ ├── FlowLogs: Object (1 property)[]
+ │ └── Id: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── NetworkInterfaces: Object (1 property)[]
+ │ └── Id: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Subnets: Object (1 property)[]
+ │ └── Id: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+NetworkSecurityGroup_STATUS_NetworkSecurityGroup_SubResourceEmbedded_ARM: Object (7 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (6 properties)
+│ ├── DefaultSecurityRules: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── FlowLogs: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── NetworkInterfaces: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── ResourceGuid: *string
+│ └── Subnets: Object (1 property)[]
+│ └── Id: *string
+├── Tags: map[string]string
+└── Type: *string
+NetworkSecurityGroup_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (1 property)
+│ └── SecurityRules: Object (4 properties)[]
│ ├── Id: *string
│ ├── Name: *string
-│ ├── Priority: *int
-│ ├── Protocol: *Enum (6 values)
-│ │ ├── "Ah"
-│ │ ├── "Esp"
-│ │ ├── "Icmp"
-│ │ ├── "*"
-│ │ ├── "Tcp"
-│ │ └── "Udp"
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── SourceAddressPrefix: *string
-│ ├── SourceAddressPrefixes: string[]
-│ ├── SourceApplicationSecurityGroups: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── SourcePortRange: *string
-│ ├── SourcePortRanges: string[]
-│ └── Type: *string
-├── NetworkSecurityGroups_SecurityRule_STATUS_ARM: Object (5 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (16 properties)
-│ │ ├── Access: *Enum (2 values)
-│ │ │ ├── "Allow"
-│ │ │ └── "Deny"
-│ │ ├── Description: *string
-│ │ ├── DestinationAddressPrefix: *string
-│ │ ├── DestinationAddressPrefixes: string[]
-│ │ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── DestinationPortRange: *string
-│ │ ├── DestinationPortRanges: string[]
-│ │ ├── Direction: *Enum (2 values)
-│ │ │ ├── "Inbound"
-│ │ │ └── "Outbound"
-│ │ ├── Priority: *int
-│ │ ├── Protocol: *Enum (6 values)
-│ │ │ ├── "Ah"
-│ │ │ ├── "Esp"
-│ │ │ ├── "Icmp"
-│ │ │ ├── "*"
-│ │ │ ├── "Tcp"
-│ │ │ └── "Udp"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── SourceAddressPrefix: *string
-│ │ ├── SourceAddressPrefixes: string[]
-│ │ ├── SourceApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── SourcePortRange: *string
-│ │ └── SourcePortRanges: string[]
-│ └── Type: *string
-├── NetworkSecurityGroups_SecurityRule_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (15 properties)
-│ ├── Access: *Enum (2 values)
-│ │ ├── "Allow"
-│ │ └── "Deny"
-│ ├── Description: *string
-│ ├── DestinationAddressPrefix: *string
-│ ├── DestinationAddressPrefixes: string[]
-│ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── DestinationPortRange: *string
-│ ├── DestinationPortRanges: string[]
-│ ├── Direction: *Enum (2 values)
-│ │ ├── "Inbound"
-│ │ └── "Outbound"
-│ ├── Priority: *int
-│ ├── Protocol: *Enum (6 values)
-│ │ ├── "Ah"
-│ │ ├── "Esp"
-│ │ ├── "Icmp"
-│ │ ├── "*"
-│ │ ├── "Tcp"
-│ │ └── "Udp"
-│ ├── SourceAddressPrefix: *string
-│ ├── SourceAddressPrefixes: string[]
-│ ├── SourceApplicationSecurityGroups: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── SourcePortRange: *string
-│ └── SourcePortRanges: string[]
-├── PublicIPAddress: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (18 properties)
-│ │ ├── AzureName: string
-│ │ ├── DdosSettings: *Object (3 properties)
-│ │ │ ├── DdosCustomPolicy: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── ProtectedIP: *bool
-│ │ │ └── ProtectionCoverage: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ ├── DnsSettings: *Object (3 properties)
-│ │ │ ├── DomainNameLabel: *string
-│ │ │ ├── Fqdn: *string
-│ │ │ └── ReverseFqdn: *string
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── IpAddress: *string
-│ │ ├── IpTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── LinkedPublicIPAddress: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PublicIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── PublicIPPrefix: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ServicePublicIPAddress: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (2 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ └── "Standard"
-│ │ │ └── Tier: *Enum (2 values)
-│ │ │ ├── "Global"
-│ │ │ └── "Regional"
-│ │ ├── Tags: map[string]string
-│ │ └── Zones: string[]
-│ └── Status: Object (23 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DdosSettings: *Object (3 properties)
-│ │ ├── DdosCustomPolicy: *Object (1 property)
+│ ├── Properties: *Object (15 properties)
+│ │ ├── Access: *Enum (2 values)
+│ │ │ ├── "Allow"
+│ │ │ └── "Deny"
+│ │ ├── Description: *string
+│ │ ├── DestinationAddressPrefix: *string
+│ │ ├── DestinationAddressPrefixes: string[]
+│ │ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
│ │ │ └── Id: *string
-│ │ ├── ProtectedIP: *bool
-│ │ └── ProtectionCoverage: *Enum (2 values)
-│ │ ├── "Basic"
-│ │ └── "Standard"
-│ ├── DnsSettings: *Object (3 properties)
-│ │ ├── DomainNameLabel: *string
-│ │ ├── Fqdn: *string
-│ │ └── ReverseFqdn: *string
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── IdleTimeoutInMinutes: *int
-│ ├── IpAddress: *string
-│ ├── IpConfiguration: *Object (1 property)
-│ │ └── Id: *string
-│ ├── IpTags: Object (2 properties)[]
-│ │ ├── IpTagType: *string
-│ │ └── Tag: *string
-│ ├── Location: *string
-│ ├── MigrationPhase: *Enum (5 values)
-│ │ ├── "Abort"
-│ │ ├── "Commit"
-│ │ ├── "Committed"
-│ │ ├── "None"
-│ │ └── "Prepare"
-│ ├── Name: *string
-│ ├── NatGateway: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ ├── "IPv4"
-│ │ └── "IPv6"
-│ ├── PublicIPAllocationMethod: *Enum (2 values)
-│ │ ├── "Dynamic"
-│ │ └── "Static"
-│ ├── PublicIPPrefix: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Global"
-│ │ └── "Regional"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded_ARM: Object (10 properties)
-│ ├── Etag: *string
+│ │ ├── DestinationPortRange: *string
+│ │ ├── DestinationPortRanges: string[]
+│ │ ├── Direction: *Enum (2 values)
+│ │ │ ├── "Inbound"
+│ │ │ └── "Outbound"
+│ │ ├── Priority: *int
+│ │ ├── Protocol: *Enum (6 values)
+│ │ │ ├── "Ah"
+│ │ │ ├── "Esp"
+│ │ │ ├── "Icmp"
+│ │ │ ├── "*"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Udp"
+│ │ ├── SourceAddressPrefix: *string
+│ │ ├── SourceAddressPrefixes: string[]
+│ │ ├── SourceApplicationSecurityGroups: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── SourcePortRange: *string
+│ │ └── SourcePortRanges: string[]
+│ └── Type: *string
+└── Tags: map[string]string
+NetworkSecurityGroupsSecurityRule: Resource
+├── Owner: NetworkSecurityGroup
+├── Spec: Object (17 properties)
+│ ├── Access: *Enum (2 values)
+│ │ ├── "Allow"
+│ │ └── "Deny"
+│ ├── AzureName: string
+│ ├── Description: *string
+│ ├── DestinationAddressPrefix: *string
+│ ├── DestinationAddressPrefixes: string[]
+│ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── DestinationPortRange: *string
+│ ├── DestinationPortRanges: string[]
+│ ├── Direction: *Enum (2 values)
+│ │ ├── "Inbound"
+│ │ └── "Outbound"
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Priority: *int
+│ ├── Protocol: *Enum (6 values)
+│ │ ├── "Ah"
+│ │ ├── "Esp"
+│ │ ├── "Icmp"
+│ │ ├── "*"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── SourceAddressPrefix: *string
+│ ├── SourceAddressPrefixes: string[]
+│ ├── SourceApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── SourcePortRange: *string
+│ └── SourcePortRanges: string[]
+└── Status: Object (21 properties)
+ ├── Access: *Enum (2 values)
+ │ ├── "Allow"
+ │ └── "Deny"
+ ├── Conditions: conditions.Condition[]
+ ├── Description: *string
+ ├── DestinationAddressPrefix: *string
+ ├── DestinationAddressPrefixes: string[]
+ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
+ │ └── Id: *string
+ ├── DestinationPortRange: *string
+ ├── DestinationPortRanges: string[]
+ ├── Direction: *Enum (2 values)
+ │ ├── "Inbound"
+ │ └── "Outbound"
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── Priority: *int
+ ├── Protocol: *Enum (6 values)
+ │ ├── "Ah"
+ │ ├── "Esp"
+ │ ├── "Icmp"
+ │ ├── "*"
+ │ ├── "Tcp"
+ │ └── "Udp"
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── SourceAddressPrefix: *string
+ ├── SourceAddressPrefixes: string[]
+ ├── SourceApplicationSecurityGroups: Object (1 property)[]
+ │ └── Id: *string
+ ├── SourcePortRange: *string
+ ├── SourcePortRanges: string[]
+ └── Type: *string
+NetworkSecurityGroups_SecurityRule_STATUS_ARM: Object (5 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (16 properties)
+│ ├── Access: *Enum (2 values)
+│ │ ├── "Allow"
+│ │ └── "Deny"
+│ ├── Description: *string
+│ ├── DestinationAddressPrefix: *string
+│ ├── DestinationAddressPrefixes: string[]
+│ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── DestinationPortRange: *string
+│ ├── DestinationPortRanges: string[]
+│ ├── Direction: *Enum (2 values)
+│ │ ├── "Inbound"
+│ │ └── "Outbound"
+│ ├── Priority: *int
+│ ├── Protocol: *Enum (6 values)
+│ │ ├── "Ah"
+│ │ ├── "Esp"
+│ │ ├── "Icmp"
+│ │ ├── "*"
+│ │ ├── "Tcp"
+│ │ └── "Udp"
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── SourceAddressPrefix: *string
+│ ├── SourceAddressPrefixes: string[]
+│ ├── SourceApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── SourcePortRange: *string
+│ └── SourcePortRanges: string[]
+└── Type: *string
+NetworkSecurityGroups_SecurityRule_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (15 properties)
+ ├── Access: *Enum (2 values)
+ │ ├── "Allow"
+ │ └── "Deny"
+ ├── Description: *string
+ ├── DestinationAddressPrefix: *string
+ ├── DestinationAddressPrefixes: string[]
+ ├── DestinationApplicationSecurityGroups: Object (1 property)[]
+ │ └── Id: *string
+ ├── DestinationPortRange: *string
+ ├── DestinationPortRanges: string[]
+ ├── Direction: *Enum (2 values)
+ │ ├── "Inbound"
+ │ └── "Outbound"
+ ├── Priority: *int
+ ├── Protocol: *Enum (6 values)
+ │ ├── "Ah"
+ │ ├── "Esp"
+ │ ├── "Icmp"
+ │ ├── "*"
+ │ ├── "Tcp"
+ │ └── "Udp"
+ ├── SourceAddressPrefix: *string
+ ├── SourceAddressPrefixes: string[]
+ ├── SourceApplicationSecurityGroups: Object (1 property)[]
+ │ └── Id: *string
+ ├── SourcePortRange: *string
+ └── SourcePortRanges: string[]
+PublicIPAddress: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (18 properties)
+│ ├── AzureName: string
+│ ├── DdosSettings: *Object (3 properties)
+│ │ ├── DdosCustomPolicy: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── ProtectedIP: *bool
+│ │ └── ProtectionCoverage: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ ├── DnsSettings: *Object (3 properties)
+│ │ ├── DomainNameLabel: *string
+│ │ ├── Fqdn: *string
+│ │ └── ReverseFqdn: *string
│ ├── ExtendedLocation: *Object (2 properties)
│ │ ├── Name: *string
│ │ └── Type: *Enum (1 value)
│ │ └── "EdgeZone"
-│ ├── Id: *string
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── IpAddress: *string
+│ ├── IpTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── LinkedPublicIPAddress: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (13 properties)
-│ │ ├── DdosSettings: *Object (3 properties)
-│ │ │ ├── DdosCustomPolicy: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── ProtectedIP: *bool
-│ │ │ └── ProtectionCoverage: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ ├── DnsSettings: *Object (3 properties)
-│ │ │ ├── DomainNameLabel: *string
-│ │ │ ├── Fqdn: *string
-│ │ │ └── ReverseFqdn: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── IpAddress: *string
-│ │ ├── IpConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── IpTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── MigrationPhase: *Enum (5 values)
-│ │ │ ├── "Abort"
-│ │ │ ├── "Commit"
-│ │ │ ├── "Committed"
-│ │ │ ├── "None"
-│ │ │ └── "Prepare"
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PublicIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── PublicIPPrefix: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ └── ResourceGuid: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Global"
-│ │ └── "Regional"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── PublicIPAddress_Spec_ARM: Object (7 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (11 properties)
-│ │ ├── DdosSettings: *Object (3 properties)
-│ │ │ ├── DdosCustomPolicy: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── ProtectedIP: *bool
-│ │ │ └── ProtectionCoverage: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ ├── DnsSettings: *Object (3 properties)
-│ │ │ ├── DomainNameLabel: *string
-│ │ │ ├── Fqdn: *string
-│ │ │ └── ReverseFqdn: *string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── IpAddress: *string
-│ │ ├── IpTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── LinkedPublicIPAddress: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PublicIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── PublicIPPrefix: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ └── ServicePublicIPAddress: *Object (1 property)
-│ │ └── Id: *string
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PublicIPAddressVersion: *Enum (2 values)
+│ │ ├── "IPv4"
+│ │ └── "IPv6"
+│ ├── PublicIPAllocationMethod: *Enum (2 values)
+│ │ ├── "Dynamic"
+│ │ └── "Static"
+│ ├── PublicIPPrefix: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ServicePublicIPAddress: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── Sku: *Object (2 properties)
│ │ ├── Name: *Enum (2 values)
│ │ │ ├── "Basic"
@@ -1440,1291 +1274,1458 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20201101
│ │ └── "Regional"
│ ├── Tags: map[string]string
│ └── Zones: string[]
-├── RouteTable: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (5 properties)
-│ │ ├── AzureName: string
-│ │ ├── DisableBgpRoutePropagation: *bool
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (10 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DisableBgpRoutePropagation: *bool
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── RouteTable_STATUS_ARM: Object (7 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
+└── Status: Object (23 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DdosSettings: *Object (3 properties)
+ │ ├── DdosCustomPolicy: *Object (1 property)
+ │ │ └── Id: *string
+ │ ├── ProtectedIP: *bool
+ │ └── ProtectionCoverage: *Enum (2 values)
+ │ ├── "Basic"
+ │ └── "Standard"
+ ├── DnsSettings: *Object (3 properties)
+ │ ├── DomainNameLabel: *string
+ │ ├── Fqdn: *string
+ │ └── ReverseFqdn: *string
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Id: *string
+ ├── IdleTimeoutInMinutes: *int
+ ├── IpAddress: *string
+ ├── IpConfiguration: *Object (1 property)
+ │ └── Id: *string
+ ├── IpTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── Location: *string
+ ├── MigrationPhase: *Enum (5 values)
+ │ ├── "Abort"
+ │ ├── "Commit"
+ │ ├── "Committed"
+ │ ├── "None"
+ │ └── "Prepare"
+ ├── Name: *string
+ ├── NatGateway: *Object (1 property)
+ │ └── Id: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── PublicIPAddressVersion: *Enum (2 values)
+ │ ├── "IPv4"
+ │ └── "IPv6"
+ ├── PublicIPAllocationMethod: *Enum (2 values)
+ │ ├── "Dynamic"
+ │ └── "Static"
+ ├── PublicIPPrefix: *Object (1 property)
+ │ └── Id: *string
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *Enum (2 values)
+ │ │ ├── "Basic"
+ │ │ └── "Standard"
+ │ └── Tier: *Enum (2 values)
+ │ ├── "Global"
+ │ └── "Regional"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Zones: string[]
+PublicIPAddress_STATUS_PublicIPAddress_SubResourceEmbedded_ARM: Object (10 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── DisableBgpRoutePropagation: *bool
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── RouteTable_Spec_ARM: Object (4 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (13 properties)
+│ ├── DdosSettings: *Object (3 properties)
+│ │ ├── DdosCustomPolicy: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── ProtectedIP: *bool
+│ │ └── ProtectionCoverage: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ ├── DnsSettings: *Object (3 properties)
+│ │ ├── DomainNameLabel: *string
+│ │ ├── Fqdn: *string
+│ │ └── ReverseFqdn: *string
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── IpAddress: *string
+│ ├── IpConfiguration: *Object (1 property)
+│ │ └── Id: *string
+│ ├── IpTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── MigrationPhase: *Enum (5 values)
+│ │ ├── "Abort"
+│ │ ├── "Commit"
+│ │ ├── "Committed"
+│ │ ├── "None"
+│ │ └── "Prepare"
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── PublicIPAddressVersion: *Enum (2 values)
+│ │ ├── "IPv4"
+│ │ └── "IPv6"
+│ ├── PublicIPAllocationMethod: *Enum (2 values)
+│ │ ├── "Dynamic"
+│ │ └── "Static"
+│ ├── PublicIPPrefix: *Object (1 property)
+│ │ └── Id: *string
+│ └── ResourceGuid: *string
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ └── Tier: *Enum (2 values)
+│ ├── "Global"
+│ └── "Regional"
+├── Tags: map[string]string
+├── Type: *string
+└── Zones: string[]
+PublicIPAddress_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (11 properties)
+│ ├── DdosSettings: *Object (3 properties)
+│ │ ├── DdosCustomPolicy: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── ProtectedIP: *bool
+│ │ └── ProtectionCoverage: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ ├── DnsSettings: *Object (3 properties)
+│ │ ├── DomainNameLabel: *string
+│ │ ├── Fqdn: *string
+│ │ └── ReverseFqdn: *string
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── IpAddress: *string
+│ ├── IpTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── LinkedPublicIPAddress: *Object (1 property)
+│ │ └── Id: *string
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Id: *string
+│ ├── PublicIPAddressVersion: *Enum (2 values)
+│ │ ├── "IPv4"
+│ │ └── "IPv6"
+│ ├── PublicIPAllocationMethod: *Enum (2 values)
+│ │ ├── "Dynamic"
+│ │ └── "Static"
+│ ├── PublicIPPrefix: *Object (1 property)
+│ │ └── Id: *string
+│ └── ServicePublicIPAddress: *Object (1 property)
+│ └── Id: *string
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "Standard"
+│ └── Tier: *Enum (2 values)
+│ ├── "Global"
+│ └── "Regional"
+├── Tags: map[string]string
+└── Zones: string[]
+RouteTable: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (5 properties)
+│ ├── AzureName: string
+│ ├── DisableBgpRoutePropagation: *bool
│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (2 properties)
-│ │ ├── DisableBgpRoutePropagation: *bool
-│ │ └── Routes: Object (4 properties)[]
-│ │ ├── Id: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (10 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DisableBgpRoutePropagation: *bool
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+RouteTable_STATUS_ARM: Object (7 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── DisableBgpRoutePropagation: *bool
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── ResourceGuid: *string
+├── Tags: map[string]string
+└── Type: *string
+RouteTable_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (2 properties)
+│ ├── DisableBgpRoutePropagation: *bool
+│ └── Routes: Object (4 properties)[]
+│ ├── Id: *string
+│ ├── Name: *string
+│ ├── Properties: *Object (4 properties)
+│ │ ├── AddressPrefix: *string
+│ │ ├── HasBgpOverride: *bool
+│ │ ├── NextHopIpAddress: *string
+│ │ └── NextHopType: *Enum (5 values)
+│ │ ├── "Internet"
+│ │ ├── "None"
+│ │ ├── "VirtualAppliance"
+│ │ ├── "VirtualNetworkGateway"
+│ │ └── "VnetLocal"
+│ └── Type: *string
+└── Tags: map[string]string
+RouteTablesRoute: Resource
+├── Owner: RouteTable
+├── Spec: Object (6 properties)
+│ ├── AddressPrefix: *string
+│ ├── AzureName: string
+│ ├── HasBgpOverride: *bool
+│ ├── NextHopIpAddress: *string
+│ ├── NextHopType: *Enum (5 values)
+│ │ ├── "Internet"
+│ │ ├── "None"
+│ │ ├── "VirtualAppliance"
+│ │ ├── "VirtualNetworkGateway"
+│ │ └── "VnetLocal"
+│ └── Owner: *genruntime.KnownResourceReference
+└── Status: Object (10 properties)
+ ├── AddressPrefix: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── HasBgpOverride: *bool
+ ├── Id: *string
+ ├── Name: *string
+ ├── NextHopIpAddress: *string
+ ├── NextHopType: *Enum (5 values)
+ │ ├── "Internet"
+ │ ├── "None"
+ │ ├── "VirtualAppliance"
+ │ ├── "VirtualNetworkGateway"
+ │ └── "VnetLocal"
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ └── Type: *string
+RouteTables_Route_STATUS_ARM: Object (5 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (5 properties)
+│ ├── AddressPrefix: *string
+│ ├── HasBgpOverride: *bool
+│ ├── NextHopIpAddress: *string
+│ ├── NextHopType: *Enum (5 values)
+│ │ ├── "Internet"
+│ │ ├── "None"
+│ │ ├── "VirtualAppliance"
+│ │ ├── "VirtualNetworkGateway"
+│ │ └── "VnetLocal"
+│ └── ProvisioningState: *Enum (4 values)
+│ ├── "Deleting"
+│ ├── "Failed"
+│ ├── "Succeeded"
+│ └── "Updating"
+└── Type: *string
+RouteTables_Route_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (4 properties)
+ ├── AddressPrefix: *string
+ ├── HasBgpOverride: *bool
+ ├── NextHopIpAddress: *string
+ └── NextHopType: *Enum (5 values)
+ ├── "Internet"
+ ├── "None"
+ ├── "VirtualAppliance"
+ ├── "VirtualNetworkGateway"
+ └── "VnetLocal"
+VirtualNetwork: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (12 properties)
+│ ├── AddressSpace: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── AzureName: string
+│ ├── BgpCommunities: *Object (1 property)
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── DdosProtectionPlan: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── DhcpOptions: *Object (1 property)
+│ │ └── DnsServers: string[]
+│ ├── EnableDdosProtection: *bool
+│ ├── EnableVmProtection: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── IpAllocations: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (17 properties)
+ ├── AddressSpace: *Object (1 property)
+ │ └── AddressPrefixes: string[]
+ ├── BgpCommunities: *Object (2 properties)
+ │ ├── RegionalCommunity: *string
+ │ └── VirtualNetworkCommunity: *string
+ ├── Conditions: conditions.Condition[]
+ ├── DdosProtectionPlan: *Object (1 property)
+ │ └── Id: *string
+ ├── DhcpOptions: *Object (1 property)
+ │ └── DnsServers: string[]
+ ├── EnableDdosProtection: *bool
+ ├── EnableVmProtection: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Id: *string
+ ├── IpAllocations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+VirtualNetworkGateway: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (19 properties)
+│ ├── ActiveActive: *bool
+│ ├── AzureName: string
+│ ├── BgpSettings: *Object (4 properties)
+│ │ ├── Asn: *uint32
+│ │ ├── BgpPeeringAddress: *string
+│ │ ├── BgpPeeringAddresses: Object (2 properties)[]
+│ │ │ ├── CustomBgpIpAddresses: string[]
+│ │ │ └── IpconfigurationId: *string
+│ │ └── PeerWeight: *int
+│ ├── CustomRoutes: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── EnableBgp: *bool
+│ ├── EnableDnsForwarding: *bool
+│ ├── EnablePrivateIpAddress: *bool
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── GatewayDefaultSite: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── GatewayType: *Enum (3 values)
+│ │ ├── "ExpressRoute"
+│ │ ├── "LocalGateway"
+│ │ └── "Vpn"
+│ ├── IpConfigurations: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (17 values)
+│ │ │ ├── "Basic"
+│ │ │ ├── "ErGw1AZ"
+│ │ │ ├── "ErGw2AZ"
+│ │ │ ├── "ErGw3AZ"
+│ │ │ ├── "HighPerformance"
+│ │ │ ├── "Standard"
+│ │ │ ├── "UltraPerformance"
+│ │ │ ├── "VpnGw1"
+│ │ │ ├── "VpnGw1AZ"
+│ │ │ ├── "VpnGw2"
+│ │ │ ├── "VpnGw2AZ"
+│ │ │ ├── "VpnGw3"
+│ │ │ ├── "VpnGw3AZ"
+│ │ │ ├── "VpnGw4"
+│ │ │ ├── "VpnGw4AZ"
+│ │ │ ├── "VpnGw5"
+│ │ │ └── "VpnGw5AZ"
+│ │ └── Tier: *Enum (17 values)
+│ │ ├── "Basic"
+│ │ ├── "ErGw1AZ"
+│ │ ├── "ErGw2AZ"
+│ │ ├── "ErGw3AZ"
+│ │ ├── "HighPerformance"
+│ │ ├── "Standard"
+│ │ ├── "UltraPerformance"
+│ │ ├── "VpnGw1"
+│ │ ├── "VpnGw1AZ"
+│ │ ├── "VpnGw2"
+│ │ ├── "VpnGw2AZ"
+│ │ ├── "VpnGw3"
+│ │ ├── "VpnGw3AZ"
+│ │ ├── "VpnGw4"
+│ │ ├── "VpnGw4AZ"
+│ │ ├── "VpnGw5"
+│ │ └── "VpnGw5AZ"
+│ ├── Tags: map[string]string
+│ ├── VNetExtendedLocationResourceReference: *genruntime.ResourceReference
+│ ├── VpnClientConfiguration: *Object (12 properties)
+│ │ ├── AadAudience: *string
+│ │ ├── AadIssuer: *string
+│ │ ├── AadTenant: *string
+│ │ ├── RadiusServerAddress: *string
+│ │ ├── RadiusServerSecret: *string
+│ │ ├── RadiusServers: Object (3 properties)[]
+│ │ │ ├── RadiusServerAddress: *string
+│ │ │ ├── RadiusServerScore: *int
+│ │ │ └── RadiusServerSecret: *string
+│ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
+│ │ │ ├── "AAD"
+│ │ │ ├── "Certificate"
+│ │ │ └── "Radius"
+│ │ ├── VpnClientAddressPool: *Object (1 property)
+│ │ │ └── AddressPrefixes: string[]
+│ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
+│ │ │ ├── DhGroup: *Enum (8 values)
+│ │ │ │ ├── "DHGroup1"
+│ │ │ │ ├── "DHGroup14"
+│ │ │ │ ├── "DHGroup2"
+│ │ │ │ ├── "DHGroup2048"
+│ │ │ │ ├── "DHGroup24"
+│ │ │ │ ├── "ECP256"
+│ │ │ │ ├── "ECP384"
+│ │ │ │ └── "None"
+│ │ │ ├── IkeEncryption: *Enum (7 values)
+│ │ │ │ ├── "AES128"
+│ │ │ │ ├── "AES192"
+│ │ │ │ ├── "AES256"
+│ │ │ │ ├── "DES"
+│ │ │ │ ├── "DES3"
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ └── "GCMAES256"
+│ │ │ ├── IkeIntegrity: *Enum (6 values)
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ ├── "MD5"
+│ │ │ │ ├── "SHA1"
+│ │ │ │ ├── "SHA256"
+│ │ │ │ └── "SHA384"
+│ │ │ ├── IpsecEncryption: *Enum (9 values)
+│ │ │ │ ├── "AES128"
+│ │ │ │ ├── "AES192"
+│ │ │ │ ├── "AES256"
+│ │ │ │ ├── "DES"
+│ │ │ │ ├── "DES3"
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES192"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ └── "None"
+│ │ │ ├── IpsecIntegrity: *Enum (6 values)
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES192"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ ├── "MD5"
+│ │ │ │ ├── "SHA1"
+│ │ │ │ └── "SHA256"
+│ │ │ ├── PfsGroup: *Enum (9 values)
+│ │ │ │ ├── "ECP256"
+│ │ │ │ ├── "ECP384"
+│ │ │ │ ├── "None"
+│ │ │ │ ├── "PFS1"
+│ │ │ │ ├── "PFS14"
+│ │ │ │ ├── "PFS2"
+│ │ │ │ ├── "PFS2048"
+│ │ │ │ ├── "PFS24"
+│ │ │ │ └── "PFSMM"
+│ │ │ ├── SaDataSizeKilobytes: *int
+│ │ │ └── SaLifeTimeSeconds: *int
+│ │ ├── VpnClientProtocols: Enum (3 values)[]
+│ │ │ ├── "IkeV2"
+│ │ │ ├── "OpenVPN"
+│ │ │ └── "SSTP"
+│ │ ├── VpnClientRevokedCertificates: Object (2 properties)[]
+│ │ │ ├── Name: *string
+│ │ │ └── Thumbprint: *string
+│ │ └── VpnClientRootCertificates: Object (2 properties)[]
│ │ ├── Name: *string
-│ │ ├── Properties: *Object (4 properties)
-│ │ │ ├── AddressPrefix: *string
-│ │ │ ├── HasBgpOverride: *bool
-│ │ │ ├── NextHopIpAddress: *string
-│ │ │ └── NextHopType: *Enum (5 values)
-│ │ │ ├── "Internet"
-│ │ │ ├── "None"
-│ │ │ ├── "VirtualAppliance"
-│ │ │ ├── "VirtualNetworkGateway"
-│ │ │ └── "VnetLocal"
-│ │ └── Type: *string
-│ └── Tags: map[string]string
-├── RouteTablesRoute: Resource
-│ ├── Owner: RouteTable
-│ ├── Spec: Object (6 properties)
-│ │ ├── AddressPrefix: *string
-│ │ ├── AzureName: string
-│ │ ├── HasBgpOverride: *bool
-│ │ ├── NextHopIpAddress: *string
-│ │ ├── NextHopType: *Enum (5 values)
-│ │ │ ├── "Internet"
-│ │ │ ├── "None"
-│ │ │ ├── "VirtualAppliance"
-│ │ │ ├── "VirtualNetworkGateway"
-│ │ │ └── "VnetLocal"
-│ │ └── Owner: *genruntime.KnownResourceReference
-│ └── Status: Object (10 properties)
-│ ├── AddressPrefix: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── HasBgpOverride: *bool
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── NextHopIpAddress: *string
-│ ├── NextHopType: *Enum (5 values)
-│ │ ├── "Internet"
-│ │ ├── "None"
-│ │ ├── "VirtualAppliance"
-│ │ ├── "VirtualNetworkGateway"
-│ │ └── "VnetLocal"
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ └── Type: *string
-├── RouteTables_Route_STATUS_ARM: Object (5 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
+│ │ └── PublicCertData: *string
+│ ├── VpnGatewayGeneration: *Enum (3 values)
+│ │ ├── "Generation1"
+│ │ ├── "Generation2"
+│ │ └── "None"
+│ └── VpnType: *Enum (2 values)
+│ ├── "PolicyBased"
+│ └── "RouteBased"
+└── Status: Object (25 properties)
+ ├── ActiveActive: *bool
+ ├── BgpSettings: *Object (4 properties)
+ │ ├── Asn: *uint32
+ │ ├── BgpPeeringAddress: *string
+ │ ├── BgpPeeringAddresses: Object (4 properties)[]
+ │ │ ├── CustomBgpIpAddresses: string[]
+ │ │ ├── DefaultBgpIpAddresses: string[]
+ │ │ ├── IpconfigurationId: *string
+ │ │ └── TunnelIpAddresses: string[]
+ │ └── PeerWeight: *int
+ ├── Conditions: conditions.Condition[]
+ ├── CustomRoutes: *Object (1 property)
+ │ └── AddressPrefixes: string[]
+ ├── EnableBgp: *bool
+ ├── EnableDnsForwarding: *bool
+ ├── EnablePrivateIpAddress: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── GatewayDefaultSite: *Object (1 property)
+ │ └── Id: *string
+ ├── GatewayType: *Enum (3 values)
+ │ ├── "ExpressRoute"
+ │ ├── "LocalGateway"
+ │ └── "Vpn"
+ ├── Id: *string
+ ├── InboundDnsForwardingEndpoint: *string
+ ├── IpConfigurations: Object (8 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+ │ │ ├── "Dynamic"
+ │ │ └── "Static"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── PublicIPAddress: *Object (1 property)
+ │ │ └── Id: *string
+ │ └── Subnet: *Object (1 property)
+ │ └── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (3 properties)
+ │ ├── Capacity: *int
+ │ ├── Name: *Enum (17 values)
+ │ │ ├── "Basic"
+ │ │ ├── "ErGw1AZ"
+ │ │ ├── "ErGw2AZ"
+ │ │ ├── "ErGw3AZ"
+ │ │ ├── "HighPerformance"
+ │ │ ├── "Standard"
+ │ │ ├── "UltraPerformance"
+ │ │ ├── "VpnGw1"
+ │ │ ├── "VpnGw1AZ"
+ │ │ ├── "VpnGw2"
+ │ │ ├── "VpnGw2AZ"
+ │ │ ├── "VpnGw3"
+ │ │ ├── "VpnGw3AZ"
+ │ │ ├── "VpnGw4"
+ │ │ ├── "VpnGw4AZ"
+ │ │ ├── "VpnGw5"
+ │ │ └── "VpnGw5AZ"
+ │ └── Tier: *Enum (17 values)
+ │ ├── "Basic"
+ │ ├── "ErGw1AZ"
+ │ ├── "ErGw2AZ"
+ │ ├── "ErGw3AZ"
+ │ ├── "HighPerformance"
+ │ ├── "Standard"
+ │ ├── "UltraPerformance"
+ │ ├── "VpnGw1"
+ │ ├── "VpnGw1AZ"
+ │ ├── "VpnGw2"
+ │ ├── "VpnGw2AZ"
+ │ ├── "VpnGw3"
+ │ ├── "VpnGw3AZ"
+ │ ├── "VpnGw4"
+ │ ├── "VpnGw4AZ"
+ │ ├── "VpnGw5"
+ │ └── "VpnGw5AZ"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ ├── VNetExtendedLocationResourceId: *string
+ ├── VpnClientConfiguration: *Object (12 properties)
+ │ ├── AadAudience: *string
+ │ ├── AadIssuer: *string
+ │ ├── AadTenant: *string
+ │ ├── RadiusServerAddress: *string
+ │ ├── RadiusServerSecret: *string
+ │ ├── RadiusServers: Object (3 properties)[]
+ │ │ ├── RadiusServerAddress: *string
+ │ │ ├── RadiusServerScore: *int
+ │ │ └── RadiusServerSecret: *string
+ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
+ │ │ ├── "AAD"
+ │ │ ├── "Certificate"
+ │ │ └── "Radius"
+ │ ├── VpnClientAddressPool: *Object (1 property)
+ │ │ └── AddressPrefixes: string[]
+ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
+ │ │ ├── DhGroup: *Enum (8 values)
+ │ │ │ ├── "DHGroup1"
+ │ │ │ ├── "DHGroup14"
+ │ │ │ ├── "DHGroup2"
+ │ │ │ ├── "DHGroup2048"
+ │ │ │ ├── "DHGroup24"
+ │ │ │ ├── "ECP256"
+ │ │ │ ├── "ECP384"
+ │ │ │ └── "None"
+ │ │ ├── IkeEncryption: *Enum (7 values)
+ │ │ │ ├── "AES128"
+ │ │ │ ├── "AES192"
+ │ │ │ ├── "AES256"
+ │ │ │ ├── "DES"
+ │ │ │ ├── "DES3"
+ │ │ │ ├── "GCMAES128"
+ │ │ │ └── "GCMAES256"
+ │ │ ├── IkeIntegrity: *Enum (6 values)
+ │ │ │ ├── "GCMAES128"
+ │ │ │ ├── "GCMAES256"
+ │ │ │ ├── "MD5"
+ │ │ │ ├── "SHA1"
+ │ │ │ ├── "SHA256"
+ │ │ │ └── "SHA384"
+ │ │ ├── IpsecEncryption: *Enum (9 values)
+ │ │ │ ├── "AES128"
+ │ │ │ ├── "AES192"
+ │ │ │ ├── "AES256"
+ │ │ │ ├── "DES"
+ │ │ │ ├── "DES3"
+ │ │ │ ├── "GCMAES128"
+ │ │ │ ├── "GCMAES192"
+ │ │ │ ├── "GCMAES256"
+ │ │ │ └── "None"
+ │ │ ├── IpsecIntegrity: *Enum (6 values)
+ │ │ │ ├── "GCMAES128"
+ │ │ │ ├── "GCMAES192"
+ │ │ │ ├── "GCMAES256"
+ │ │ │ ├── "MD5"
+ │ │ │ ├── "SHA1"
+ │ │ │ └── "SHA256"
+ │ │ ├── PfsGroup: *Enum (9 values)
+ │ │ │ ├── "ECP256"
+ │ │ │ ├── "ECP384"
+ │ │ │ ├── "None"
+ │ │ │ ├── "PFS1"
+ │ │ │ ├── "PFS14"
+ │ │ │ ├── "PFS2"
+ │ │ │ ├── "PFS2048"
+ │ │ │ ├── "PFS24"
+ │ │ │ └── "PFSMM"
+ │ │ ├── SaDataSizeKilobytes: *int
+ │ │ └── SaLifeTimeSeconds: *int
+ │ ├── VpnClientProtocols: Enum (3 values)[]
+ │ │ ├── "IkeV2"
+ │ │ ├── "OpenVPN"
+ │ │ └── "SSTP"
+ │ ├── VpnClientRevokedCertificates: Object (5 properties)[]
+ │ │ ├── Etag: *string
+ │ │ ├── Id: *string
+ │ │ ├── Name: *string
+ │ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ │ ├── "Deleting"
+ │ │ │ ├── "Failed"
+ │ │ │ ├── "Succeeded"
+ │ │ │ └── "Updating"
+ │ │ └── Thumbprint: *string
+ │ └── VpnClientRootCertificates: Object (5 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── PublicCertData: *string
+ ├── VpnGatewayGeneration: *Enum (3 values)
+ │ ├── "Generation1"
+ │ ├── "Generation2"
+ │ └── "None"
+ └── VpnType: *Enum (2 values)
+ ├── "PolicyBased"
+ └── "RouteBased"
+VirtualNetworkGateway_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (5 properties)
-│ │ ├── AddressPrefix: *string
-│ │ ├── HasBgpOverride: *bool
-│ │ ├── NextHopIpAddress: *string
-│ │ ├── NextHopType: *Enum (5 values)
-│ │ │ ├── "Internet"
-│ │ │ ├── "None"
-│ │ │ ├── "VirtualAppliance"
-│ │ │ ├── "VirtualNetworkGateway"
-│ │ │ └── "VnetLocal"
-│ │ └── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ └── Type: *string
-├── RouteTables_Route_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (4 properties)
-│ ├── AddressPrefix: *string
-│ ├── HasBgpOverride: *bool
-│ ├── NextHopIpAddress: *string
-│ └── NextHopType: *Enum (5 values)
-│ ├── "Internet"
-│ ├── "None"
-│ ├── "VirtualAppliance"
-│ ├── "VirtualNetworkGateway"
-│ └── "VnetLocal"
-├── VirtualNetwork: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (12 properties)
-│ │ ├── AddressSpace: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── AzureName: string
-│ │ ├── BgpCommunities: *Object (1 property)
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── DdosProtectionPlan: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── DhcpOptions: *Object (1 property)
-│ │ │ └── DnsServers: string[]
-│ │ ├── EnableDdosProtection: *bool
-│ │ ├── EnableVmProtection: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── IpAllocations: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (17 properties)
-│ ├── AddressSpace: *Object (1 property)
-│ │ └── AddressPrefixes: string[]
-│ ├── BgpCommunities: *Object (2 properties)
-│ │ ├── RegionalCommunity: *string
-│ │ └── VirtualNetworkCommunity: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── DdosProtectionPlan: *Object (1 property)
-│ │ └── Id: *string
-│ ├── DhcpOptions: *Object (1 property)
-│ │ └── DnsServers: string[]
-│ ├── EnableDdosProtection: *bool
-│ ├── EnableVmProtection: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── IpAllocations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── VirtualNetworkGateway: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (19 properties)
-│ │ ├── ActiveActive: *bool
-│ │ ├── AzureName: string
-│ │ ├── BgpSettings: *Object (4 properties)
-│ │ │ ├── Asn: *uint32
-│ │ │ ├── BgpPeeringAddress: *string
-│ │ │ ├── BgpPeeringAddresses: Object (2 properties)[]
-│ │ │ │ ├── CustomBgpIpAddresses: string[]
-│ │ │ │ └── IpconfigurationId: *string
-│ │ │ └── PeerWeight: *int
-│ │ ├── CustomRoutes: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── EnableBgp: *bool
-│ │ ├── EnableDnsForwarding: *bool
-│ │ ├── EnablePrivateIpAddress: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── GatewayDefaultSite: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── GatewayType: *Enum (3 values)
-│ │ │ ├── "ExpressRoute"
-│ │ │ ├── "LocalGateway"
-│ │ │ └── "Vpn"
-│ │ ├── IpConfigurations: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (17 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ ├── "ErGw1AZ"
-│ │ │ │ ├── "ErGw2AZ"
-│ │ │ │ ├── "ErGw3AZ"
-│ │ │ │ ├── "HighPerformance"
-│ │ │ │ ├── "Standard"
-│ │ │ │ ├── "UltraPerformance"
-│ │ │ │ ├── "VpnGw1"
-│ │ │ │ ├── "VpnGw1AZ"
-│ │ │ │ ├── "VpnGw2"
-│ │ │ │ ├── "VpnGw2AZ"
-│ │ │ │ ├── "VpnGw3"
-│ │ │ │ ├── "VpnGw3AZ"
-│ │ │ │ ├── "VpnGw4"
-│ │ │ │ ├── "VpnGw4AZ"
-│ │ │ │ ├── "VpnGw5"
-│ │ │ │ └── "VpnGw5AZ"
-│ │ │ └── Tier: *Enum (17 values)
-│ │ │ ├── "Basic"
-│ │ │ ├── "ErGw1AZ"
-│ │ │ ├── "ErGw2AZ"
-│ │ │ ├── "ErGw3AZ"
-│ │ │ ├── "HighPerformance"
-│ │ │ ├── "Standard"
-│ │ │ ├── "UltraPerformance"
-│ │ │ ├── "VpnGw1"
-│ │ │ ├── "VpnGw1AZ"
-│ │ │ ├── "VpnGw2"
-│ │ │ ├── "VpnGw2AZ"
-│ │ │ ├── "VpnGw3"
-│ │ │ ├── "VpnGw3AZ"
-│ │ │ ├── "VpnGw4"
-│ │ │ ├── "VpnGw4AZ"
-│ │ │ ├── "VpnGw5"
-│ │ │ └── "VpnGw5AZ"
-│ │ ├── Tags: map[string]string
-│ │ ├── VNetExtendedLocationResourceReference: *genruntime.ResourceReference
-│ │ ├── VpnClientConfiguration: *Object (12 properties)
-│ │ │ ├── AadAudience: *string
-│ │ │ ├── AadIssuer: *string
-│ │ │ ├── AadTenant: *string
-│ │ │ ├── RadiusServerAddress: *string
-│ │ │ ├── RadiusServerSecret: *string
-│ │ │ ├── RadiusServers: Object (3 properties)[]
-│ │ │ │ ├── RadiusServerAddress: *string
-│ │ │ │ ├── RadiusServerScore: *int
-│ │ │ │ └── RadiusServerSecret: *string
-│ │ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
-│ │ │ │ ├── "AAD"
-│ │ │ │ ├── "Certificate"
-│ │ │ │ └── "Radius"
-│ │ │ ├── VpnClientAddressPool: *Object (1 property)
-│ │ │ │ └── AddressPrefixes: string[]
-│ │ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
-│ │ │ │ ├── DhGroup: *Enum (8 values)
-│ │ │ │ │ ├── "DHGroup1"
-│ │ │ │ │ ├── "DHGroup14"
-│ │ │ │ │ ├── "DHGroup2"
-│ │ │ │ │ ├── "DHGroup2048"
-│ │ │ │ │ ├── "DHGroup24"
-│ │ │ │ │ ├── "ECP256"
-│ │ │ │ │ ├── "ECP384"
-│ │ │ │ │ └── "None"
-│ │ │ │ ├── IkeEncryption: *Enum (7 values)
-│ │ │ │ │ ├── "AES128"
-│ │ │ │ │ ├── "AES192"
-│ │ │ │ │ ├── "AES256"
-│ │ │ │ │ ├── "DES"
-│ │ │ │ │ ├── "DES3"
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ └── "GCMAES256"
-│ │ │ │ ├── IkeIntegrity: *Enum (6 values)
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ ├── "MD5"
-│ │ │ │ │ ├── "SHA1"
-│ │ │ │ │ ├── "SHA256"
-│ │ │ │ │ └── "SHA384"
-│ │ │ │ ├── IpsecEncryption: *Enum (9 values)
-│ │ │ │ │ ├── "AES128"
-│ │ │ │ │ ├── "AES192"
-│ │ │ │ │ ├── "AES256"
-│ │ │ │ │ ├── "DES"
-│ │ │ │ │ ├── "DES3"
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES192"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ └── "None"
-│ │ │ │ ├── IpsecIntegrity: *Enum (6 values)
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES192"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ ├── "MD5"
-│ │ │ │ │ ├── "SHA1"
-│ │ │ │ │ └── "SHA256"
-│ │ │ │ ├── PfsGroup: *Enum (9 values)
-│ │ │ │ │ ├── "ECP256"
-│ │ │ │ │ ├── "ECP384"
-│ │ │ │ │ ├── "None"
-│ │ │ │ │ ├── "PFS1"
-│ │ │ │ │ ├── "PFS14"
-│ │ │ │ │ ├── "PFS2"
-│ │ │ │ │ ├── "PFS2048"
-│ │ │ │ │ ├── "PFS24"
-│ │ │ │ │ └── "PFSMM"
-│ │ │ │ ├── SaDataSizeKilobytes: *int
-│ │ │ │ └── SaLifeTimeSeconds: *int
-│ │ │ ├── VpnClientProtocols: Enum (3 values)[]
-│ │ │ │ ├── "IkeV2"
-│ │ │ │ ├── "OpenVPN"
-│ │ │ │ └── "SSTP"
-│ │ │ ├── VpnClientRevokedCertificates: Object (2 properties)[]
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Thumbprint: *string
-│ │ │ └── VpnClientRootCertificates: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── PublicCertData: *string
-│ │ ├── VpnGatewayGeneration: *Enum (3 values)
-│ │ │ ├── "Generation1"
-│ │ │ ├── "Generation2"
-│ │ │ └── "None"
-│ │ └── VpnType: *Enum (2 values)
-│ │ ├── "PolicyBased"
-│ │ └── "RouteBased"
-│ └── Status: Object (25 properties)
-│ ├── ActiveActive: *bool
-│ ├── BgpSettings: *Object (4 properties)
-│ │ ├── Asn: *uint32
-│ │ ├── BgpPeeringAddress: *string
-│ │ ├── BgpPeeringAddresses: Object (4 properties)[]
-│ │ │ ├── CustomBgpIpAddresses: string[]
-│ │ │ ├── DefaultBgpIpAddresses: string[]
-│ │ │ ├── IpconfigurationId: *string
-│ │ │ └── TunnelIpAddresses: string[]
-│ │ └── PeerWeight: *int
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomRoutes: *Object (1 property)
-│ │ └── AddressPrefixes: string[]
-│ ├── EnableBgp: *bool
-│ ├── EnableDnsForwarding: *bool
-│ ├── EnablePrivateIpAddress: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── GatewayDefaultSite: *Object (1 property)
-│ │ └── Id: *string
-│ ├── GatewayType: *Enum (3 values)
-│ │ ├── "ExpressRoute"
-│ │ ├── "LocalGateway"
-│ │ └── "Vpn"
-│ ├── Id: *string
-│ ├── InboundDnsForwardingEndpoint: *string
-│ ├── IpConfigurations: Object (8 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ └── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Capacity: *int
-│ │ ├── Name: *Enum (17 values)
-│ │ │ ├── "Basic"
-│ │ │ ├── "ErGw1AZ"
-│ │ │ ├── "ErGw2AZ"
-│ │ │ ├── "ErGw3AZ"
-│ │ │ ├── "HighPerformance"
-│ │ │ ├── "Standard"
-│ │ │ ├── "UltraPerformance"
-│ │ │ ├── "VpnGw1"
-│ │ │ ├── "VpnGw1AZ"
-│ │ │ ├── "VpnGw2"
-│ │ │ ├── "VpnGw2AZ"
-│ │ │ ├── "VpnGw3"
-│ │ │ ├── "VpnGw3AZ"
-│ │ │ ├── "VpnGw4"
-│ │ │ ├── "VpnGw4AZ"
-│ │ │ ├── "VpnGw5"
-│ │ │ └── "VpnGw5AZ"
-│ │ └── Tier: *Enum (17 values)
-│ │ ├── "Basic"
-│ │ ├── "ErGw1AZ"
-│ │ ├── "ErGw2AZ"
-│ │ ├── "ErGw3AZ"
-│ │ ├── "HighPerformance"
-│ │ ├── "Standard"
-│ │ ├── "UltraPerformance"
-│ │ ├── "VpnGw1"
-│ │ ├── "VpnGw1AZ"
-│ │ ├── "VpnGw2"
-│ │ ├── "VpnGw2AZ"
-│ │ ├── "VpnGw3"
-│ │ ├── "VpnGw3AZ"
-│ │ ├── "VpnGw4"
-│ │ ├── "VpnGw4AZ"
-│ │ ├── "VpnGw5"
-│ │ └── "VpnGw5AZ"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ ├── VNetExtendedLocationResourceId: *string
-│ ├── VpnClientConfiguration: *Object (12 properties)
-│ │ ├── AadAudience: *string
-│ │ ├── AadIssuer: *string
-│ │ ├── AadTenant: *string
-│ │ ├── RadiusServerAddress: *string
-│ │ ├── RadiusServerSecret: *string
-│ │ ├── RadiusServers: Object (3 properties)[]
-│ │ │ ├── RadiusServerAddress: *string
-│ │ │ ├── RadiusServerScore: *int
-│ │ │ └── RadiusServerSecret: *string
-│ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
-│ │ │ ├── "AAD"
-│ │ │ ├── "Certificate"
-│ │ │ └── "Radius"
-│ │ ├── VpnClientAddressPool: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
-│ │ │ ├── DhGroup: *Enum (8 values)
-│ │ │ │ ├── "DHGroup1"
-│ │ │ │ ├── "DHGroup14"
-│ │ │ │ ├── "DHGroup2"
-│ │ │ │ ├── "DHGroup2048"
-│ │ │ │ ├── "DHGroup24"
-│ │ │ │ ├── "ECP256"
-│ │ │ │ ├── "ECP384"
-│ │ │ │ └── "None"
-│ │ │ ├── IkeEncryption: *Enum (7 values)
-│ │ │ │ ├── "AES128"
-│ │ │ │ ├── "AES192"
-│ │ │ │ ├── "AES256"
-│ │ │ │ ├── "DES"
-│ │ │ │ ├── "DES3"
-│ │ │ │ ├── "GCMAES128"
-│ │ │ │ └── "GCMAES256"
-│ │ │ ├── IkeIntegrity: *Enum (6 values)
-│ │ │ │ ├── "GCMAES128"
-│ │ │ │ ├── "GCMAES256"
-│ │ │ │ ├── "MD5"
-│ │ │ │ ├── "SHA1"
-│ │ │ │ ├── "SHA256"
-│ │ │ │ └── "SHA384"
-│ │ │ ├── IpsecEncryption: *Enum (9 values)
-│ │ │ │ ├── "AES128"
-│ │ │ │ ├── "AES192"
-│ │ │ │ ├── "AES256"
-│ │ │ │ ├── "DES"
-│ │ │ │ ├── "DES3"
-│ │ │ │ ├── "GCMAES128"
-│ │ │ │ ├── "GCMAES192"
-│ │ │ │ ├── "GCMAES256"
-│ │ │ │ └── "None"
-│ │ │ ├── IpsecIntegrity: *Enum (6 values)
-│ │ │ │ ├── "GCMAES128"
-│ │ │ │ ├── "GCMAES192"
-│ │ │ │ ├── "GCMAES256"
-│ │ │ │ ├── "MD5"
-│ │ │ │ ├── "SHA1"
-│ │ │ │ └── "SHA256"
-│ │ │ ├── PfsGroup: *Enum (9 values)
-│ │ │ │ ├── "ECP256"
-│ │ │ │ ├── "ECP384"
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "PFS1"
-│ │ │ │ ├── "PFS14"
-│ │ │ │ ├── "PFS2"
-│ │ │ │ ├── "PFS2048"
-│ │ │ │ ├── "PFS24"
-│ │ │ │ └── "PFSMM"
-│ │ │ ├── SaDataSizeKilobytes: *int
-│ │ │ └── SaLifeTimeSeconds: *int
-│ │ ├── VpnClientProtocols: Enum (3 values)[]
-│ │ │ ├── "IkeV2"
-│ │ │ ├── "OpenVPN"
-│ │ │ └── "SSTP"
-│ │ ├── VpnClientRevokedCertificates: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── Thumbprint: *string
-│ │ └── VpnClientRootCertificates: Object (5 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── PublicCertData: *string
-│ ├── VpnGatewayGeneration: *Enum (3 values)
-│ │ ├── "Generation1"
-│ │ ├── "Generation2"
-│ │ └── "None"
-│ └── VpnType: *Enum (2 values)
-│ ├── "PolicyBased"
-│ └── "RouteBased"
-├── VirtualNetworkGateway_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (17 properties)
+│ ├── ActiveActive: *bool
+│ ├── BgpSettings: *Object (4 properties)
+│ │ ├── Asn: *uint32
+│ │ ├── BgpPeeringAddress: *string
+│ │ ├── BgpPeeringAddresses: Object (4 properties)[]
+│ │ │ ├── CustomBgpIpAddresses: string[]
+│ │ │ ├── DefaultBgpIpAddresses: string[]
+│ │ │ ├── IpconfigurationId: *string
+│ │ │ └── TunnelIpAddresses: string[]
+│ │ └── PeerWeight: *int
+│ ├── CustomRoutes: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── EnableBgp: *bool
+│ ├── EnableDnsForwarding: *bool
+│ ├── EnablePrivateIpAddress: *bool
+│ ├── GatewayDefaultSite: *Object (1 property)
+│ │ └── Id: *string
+│ ├── GatewayType: *Enum (3 values)
+│ │ ├── "ExpressRoute"
+│ │ ├── "LocalGateway"
+│ │ └── "Vpn"
+│ ├── InboundDnsForwardingEndpoint: *string
+│ ├── IpConfigurations: Object (4 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (17 properties)
-│ │ ├── ActiveActive: *bool
-│ │ ├── BgpSettings: *Object (4 properties)
-│ │ │ ├── Asn: *uint32
-│ │ │ ├── BgpPeeringAddress: *string
-│ │ │ ├── BgpPeeringAddresses: Object (4 properties)[]
-│ │ │ │ ├── CustomBgpIpAddresses: string[]
-│ │ │ │ ├── DefaultBgpIpAddresses: string[]
-│ │ │ │ ├── IpconfigurationId: *string
-│ │ │ │ └── TunnelIpAddresses: string[]
-│ │ │ └── PeerWeight: *int
-│ │ ├── CustomRoutes: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── EnableBgp: *bool
-│ │ ├── EnableDnsForwarding: *bool
-│ │ ├── EnablePrivateIpAddress: *bool
-│ │ ├── GatewayDefaultSite: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── GatewayType: *Enum (3 values)
-│ │ │ ├── "ExpressRoute"
-│ │ │ ├── "LocalGateway"
-│ │ │ └── "Vpn"
-│ │ ├── InboundDnsForwardingEndpoint: *string
-│ │ ├── IpConfigurations: Object (4 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (5 properties)
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ResourceGuid: *string
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Capacity: *int
-│ │ │ ├── Name: *Enum (17 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ ├── "ErGw1AZ"
-│ │ │ │ ├── "ErGw2AZ"
-│ │ │ │ ├── "ErGw3AZ"
-│ │ │ │ ├── "HighPerformance"
-│ │ │ │ ├── "Standard"
-│ │ │ │ ├── "UltraPerformance"
-│ │ │ │ ├── "VpnGw1"
-│ │ │ │ ├── "VpnGw1AZ"
-│ │ │ │ ├── "VpnGw2"
-│ │ │ │ ├── "VpnGw2AZ"
-│ │ │ │ ├── "VpnGw3"
-│ │ │ │ ├── "VpnGw3AZ"
-│ │ │ │ ├── "VpnGw4"
-│ │ │ │ ├── "VpnGw4AZ"
-│ │ │ │ ├── "VpnGw5"
-│ │ │ │ └── "VpnGw5AZ"
-│ │ │ └── Tier: *Enum (17 values)
-│ │ │ ├── "Basic"
-│ │ │ ├── "ErGw1AZ"
-│ │ │ ├── "ErGw2AZ"
-│ │ │ ├── "ErGw3AZ"
-│ │ │ ├── "HighPerformance"
-│ │ │ ├── "Standard"
-│ │ │ ├── "UltraPerformance"
-│ │ │ ├── "VpnGw1"
-│ │ │ ├── "VpnGw1AZ"
-│ │ │ ├── "VpnGw2"
-│ │ │ ├── "VpnGw2AZ"
-│ │ │ ├── "VpnGw3"
-│ │ │ ├── "VpnGw3AZ"
-│ │ │ ├── "VpnGw4"
-│ │ │ ├── "VpnGw4AZ"
-│ │ │ ├── "VpnGw5"
-│ │ │ └── "VpnGw5AZ"
-│ │ ├── VNetExtendedLocationResourceId: *string
-│ │ ├── VpnClientConfiguration: *Object (12 properties)
-│ │ │ ├── AadAudience: *string
-│ │ │ ├── AadIssuer: *string
-│ │ │ ├── AadTenant: *string
-│ │ │ ├── RadiusServerAddress: *string
-│ │ │ ├── RadiusServerSecret: *string
-│ │ │ ├── RadiusServers: Object (3 properties)[]
-│ │ │ │ ├── RadiusServerAddress: *string
-│ │ │ │ ├── RadiusServerScore: *int
-│ │ │ │ └── RadiusServerSecret: *string
-│ │ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
-│ │ │ │ ├── "AAD"
-│ │ │ │ ├── "Certificate"
-│ │ │ │ └── "Radius"
-│ │ │ ├── VpnClientAddressPool: *Object (1 property)
-│ │ │ │ └── AddressPrefixes: string[]
-│ │ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
-│ │ │ │ ├── DhGroup: *Enum (8 values)
-│ │ │ │ │ ├── "DHGroup1"
-│ │ │ │ │ ├── "DHGroup14"
-│ │ │ │ │ ├── "DHGroup2"
-│ │ │ │ │ ├── "DHGroup2048"
-│ │ │ │ │ ├── "DHGroup24"
-│ │ │ │ │ ├── "ECP256"
-│ │ │ │ │ ├── "ECP384"
-│ │ │ │ │ └── "None"
-│ │ │ │ ├── IkeEncryption: *Enum (7 values)
-│ │ │ │ │ ├── "AES128"
-│ │ │ │ │ ├── "AES192"
-│ │ │ │ │ ├── "AES256"
-│ │ │ │ │ ├── "DES"
-│ │ │ │ │ ├── "DES3"
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ └── "GCMAES256"
-│ │ │ │ ├── IkeIntegrity: *Enum (6 values)
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ ├── "MD5"
-│ │ │ │ │ ├── "SHA1"
-│ │ │ │ │ ├── "SHA256"
-│ │ │ │ │ └── "SHA384"
-│ │ │ │ ├── IpsecEncryption: *Enum (9 values)
-│ │ │ │ │ ├── "AES128"
-│ │ │ │ │ ├── "AES192"
-│ │ │ │ │ ├── "AES256"
-│ │ │ │ │ ├── "DES"
-│ │ │ │ │ ├── "DES3"
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES192"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ └── "None"
-│ │ │ │ ├── IpsecIntegrity: *Enum (6 values)
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES192"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ ├── "MD5"
-│ │ │ │ │ ├── "SHA1"
-│ │ │ │ │ └── "SHA256"
-│ │ │ │ ├── PfsGroup: *Enum (9 values)
-│ │ │ │ │ ├── "ECP256"
-│ │ │ │ │ ├── "ECP384"
-│ │ │ │ │ ├── "None"
-│ │ │ │ │ ├── "PFS1"
-│ │ │ │ │ ├── "PFS14"
-│ │ │ │ │ ├── "PFS2"
-│ │ │ │ │ ├── "PFS2048"
-│ │ │ │ │ ├── "PFS24"
-│ │ │ │ │ └── "PFSMM"
-│ │ │ │ ├── SaDataSizeKilobytes: *int
-│ │ │ │ └── SaLifeTimeSeconds: *int
-│ │ │ ├── VpnClientProtocols: Enum (3 values)[]
-│ │ │ │ ├── "IkeV2"
-│ │ │ │ ├── "OpenVPN"
-│ │ │ │ └── "SSTP"
-│ │ │ ├── VpnClientRevokedCertificates: Object (4 properties)[]
-│ │ │ │ ├── Etag: *string
-│ │ │ │ ├── Id: *string
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Properties: *Object (2 properties)
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ └── Thumbprint: *string
-│ │ │ └── VpnClientRootCertificates: Object (4 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (2 properties)
-│ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ ├── "Deleting"
-│ │ │ │ ├── "Failed"
-│ │ │ │ ├── "Succeeded"
-│ │ │ │ └── "Updating"
-│ │ │ └── PublicCertData: *string
-│ │ ├── VpnGatewayGeneration: *Enum (3 values)
-│ │ │ ├── "Generation1"
-│ │ │ ├── "Generation2"
-│ │ │ └── "None"
-│ │ └── VpnType: *Enum (2 values)
-│ │ ├── "PolicyBased"
-│ │ └── "RouteBased"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── VirtualNetworkGateway_Spec_ARM: Object (5 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (14 properties)
-│ │ ├── ActiveActive: *bool
-│ │ ├── BgpSettings: *Object (4 properties)
-│ │ │ ├── Asn: *uint32
-│ │ │ ├── BgpPeeringAddress: *string
-│ │ │ ├── BgpPeeringAddresses: Object (2 properties)[]
-│ │ │ │ ├── CustomBgpIpAddresses: string[]
-│ │ │ │ └── IpconfigurationId: *string
-│ │ │ └── PeerWeight: *int
-│ │ ├── CustomRoutes: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── EnableBgp: *bool
-│ │ ├── EnableDnsForwarding: *bool
-│ │ ├── EnablePrivateIpAddress: *bool
-│ │ ├── GatewayDefaultSite: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── GatewayType: *Enum (3 values)
-│ │ │ ├── "ExpressRoute"
-│ │ │ ├── "LocalGateway"
-│ │ │ └── "Vpn"
-│ │ ├── IpConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (3 properties)
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (17 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ ├── "ErGw1AZ"
-│ │ │ │ ├── "ErGw2AZ"
-│ │ │ │ ├── "ErGw3AZ"
-│ │ │ │ ├── "HighPerformance"
-│ │ │ │ ├── "Standard"
-│ │ │ │ ├── "UltraPerformance"
-│ │ │ │ ├── "VpnGw1"
-│ │ │ │ ├── "VpnGw1AZ"
-│ │ │ │ ├── "VpnGw2"
-│ │ │ │ ├── "VpnGw2AZ"
-│ │ │ │ ├── "VpnGw3"
-│ │ │ │ ├── "VpnGw3AZ"
-│ │ │ │ ├── "VpnGw4"
-│ │ │ │ ├── "VpnGw4AZ"
-│ │ │ │ ├── "VpnGw5"
-│ │ │ │ └── "VpnGw5AZ"
-│ │ │ └── Tier: *Enum (17 values)
-│ │ │ ├── "Basic"
-│ │ │ ├── "ErGw1AZ"
-│ │ │ ├── "ErGw2AZ"
-│ │ │ ├── "ErGw3AZ"
-│ │ │ ├── "HighPerformance"
-│ │ │ ├── "Standard"
-│ │ │ ├── "UltraPerformance"
-│ │ │ ├── "VpnGw1"
-│ │ │ ├── "VpnGw1AZ"
-│ │ │ ├── "VpnGw2"
-│ │ │ ├── "VpnGw2AZ"
-│ │ │ ├── "VpnGw3"
-│ │ │ ├── "VpnGw3AZ"
-│ │ │ ├── "VpnGw4"
-│ │ │ ├── "VpnGw4AZ"
-│ │ │ ├── "VpnGw5"
-│ │ │ └── "VpnGw5AZ"
-│ │ ├── VNetExtendedLocationResourceId: *string
-│ │ ├── VpnClientConfiguration: *Object (12 properties)
-│ │ │ ├── AadAudience: *string
-│ │ │ ├── AadIssuer: *string
-│ │ │ ├── AadTenant: *string
-│ │ │ ├── RadiusServerAddress: *string
-│ │ │ ├── RadiusServerSecret: *string
-│ │ │ ├── RadiusServers: Object (3 properties)[]
-│ │ │ │ ├── RadiusServerAddress: *string
-│ │ │ │ ├── RadiusServerScore: *int
-│ │ │ │ └── RadiusServerSecret: *string
-│ │ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
-│ │ │ │ ├── "AAD"
-│ │ │ │ ├── "Certificate"
-│ │ │ │ └── "Radius"
-│ │ │ ├── VpnClientAddressPool: *Object (1 property)
-│ │ │ │ └── AddressPrefixes: string[]
-│ │ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
-│ │ │ │ ├── DhGroup: *Enum (8 values)
-│ │ │ │ │ ├── "DHGroup1"
-│ │ │ │ │ ├── "DHGroup14"
-│ │ │ │ │ ├── "DHGroup2"
-│ │ │ │ │ ├── "DHGroup2048"
-│ │ │ │ │ ├── "DHGroup24"
-│ │ │ │ │ ├── "ECP256"
-│ │ │ │ │ ├── "ECP384"
-│ │ │ │ │ └── "None"
-│ │ │ │ ├── IkeEncryption: *Enum (7 values)
-│ │ │ │ │ ├── "AES128"
-│ │ │ │ │ ├── "AES192"
-│ │ │ │ │ ├── "AES256"
-│ │ │ │ │ ├── "DES"
-│ │ │ │ │ ├── "DES3"
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ └── "GCMAES256"
-│ │ │ │ ├── IkeIntegrity: *Enum (6 values)
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ ├── "MD5"
-│ │ │ │ │ ├── "SHA1"
-│ │ │ │ │ ├── "SHA256"
-│ │ │ │ │ └── "SHA384"
-│ │ │ │ ├── IpsecEncryption: *Enum (9 values)
-│ │ │ │ │ ├── "AES128"
-│ │ │ │ │ ├── "AES192"
-│ │ │ │ │ ├── "AES256"
-│ │ │ │ │ ├── "DES"
-│ │ │ │ │ ├── "DES3"
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES192"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ └── "None"
-│ │ │ │ ├── IpsecIntegrity: *Enum (6 values)
-│ │ │ │ │ ├── "GCMAES128"
-│ │ │ │ │ ├── "GCMAES192"
-│ │ │ │ │ ├── "GCMAES256"
-│ │ │ │ │ ├── "MD5"
-│ │ │ │ │ ├── "SHA1"
-│ │ │ │ │ └── "SHA256"
-│ │ │ │ ├── PfsGroup: *Enum (9 values)
-│ │ │ │ │ ├── "ECP256"
-│ │ │ │ │ ├── "ECP384"
-│ │ │ │ │ ├── "None"
-│ │ │ │ │ ├── "PFS1"
-│ │ │ │ │ ├── "PFS14"
-│ │ │ │ │ ├── "PFS2"
-│ │ │ │ │ ├── "PFS2048"
-│ │ │ │ │ ├── "PFS24"
-│ │ │ │ │ └── "PFSMM"
-│ │ │ │ ├── SaDataSizeKilobytes: *int
-│ │ │ │ └── SaLifeTimeSeconds: *int
-│ │ │ ├── VpnClientProtocols: Enum (3 values)[]
-│ │ │ │ ├── "IkeV2"
-│ │ │ │ ├── "OpenVPN"
-│ │ │ │ └── "SSTP"
-│ │ │ ├── VpnClientRevokedCertificates: Object (2 properties)[]
-│ │ │ │ ├── Name: *string
-│ │ │ │ └── Properties: *Object (1 property)
-│ │ │ │ └── Thumbprint: *string
-│ │ │ └── VpnClientRootCertificates: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── PublicCertData: *string
-│ │ ├── VpnGatewayGeneration: *Enum (3 values)
-│ │ │ ├── "Generation1"
-│ │ │ ├── "Generation2"
-│ │ │ └── "None"
-│ │ └── VpnType: *Enum (2 values)
-│ │ ├── "PolicyBased"
-│ │ └── "RouteBased"
-│ └── Tags: map[string]string
-├── VirtualNetwork_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (9 properties)
-│ │ ├── AddressSpace: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── BgpCommunities: *Object (2 properties)
-│ │ │ ├── RegionalCommunity: *string
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── DdosProtectionPlan: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── DhcpOptions: *Object (1 property)
-│ │ │ └── DnsServers: string[]
-│ │ ├── EnableDdosProtection: *bool
-│ │ ├── EnableVmProtection: *bool
-│ │ ├── IpAllocations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── ResourceGuid: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── VirtualNetwork_Spec_ARM: Object (5 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (9 properties)
-│ │ ├── AddressSpace: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── BgpCommunities: *Object (1 property)
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── DdosProtectionPlan: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── DhcpOptions: *Object (1 property)
-│ │ │ └── DnsServers: string[]
-│ │ ├── EnableDdosProtection: *bool
-│ │ ├── EnableVmProtection: *bool
-│ │ ├── IpAllocations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Subnets: Object (4 properties)[]
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (12 properties)
-│ │ │ │ ├── AddressPrefix: *string
-│ │ │ │ ├── AddressPrefixes: string[]
-│ │ │ │ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── Delegations: Object (2 properties)[]
-│ │ │ │ │ ├── Name: *string
-│ │ │ │ │ └── Properties: *Object (1 property)
-│ │ │ │ │ └── ServiceName: *string
-│ │ │ │ ├── IpAllocations: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── NatGateway: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
-│ │ │ │ │ ├── "Disabled"
-│ │ │ │ │ └── "Enabled"
-│ │ │ │ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
-│ │ │ │ │ ├── "Disabled"
-│ │ │ │ │ └── "Enabled"
-│ │ │ │ ├── RouteTable: *Object (1 property)
-│ │ │ │ │ └── Id: *string
-│ │ │ │ ├── ServiceEndpointPolicies: Object (1 property)[]
-│ │ │ │ │ └── Id: *string
-│ │ │ │ └── ServiceEndpoints: Object (2 properties)[]
-│ │ │ │ ├── Locations: string[]
-│ │ │ │ └── Service: *string
-│ │ │ └── Type: *string
-│ │ └── VirtualNetworkPeerings: Object (4 properties)[]
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── Properties: *Object (9 properties)
-│ │ │ ├── AllowForwardedTraffic: *bool
-│ │ │ ├── AllowGatewayTransit: *bool
-│ │ │ ├── AllowVirtualNetworkAccess: *bool
-│ │ │ ├── DoNotVerifyRemoteGateways: *bool
-│ │ │ ├── PeeringState: *Enum (3 values)
-│ │ │ │ ├── "Connected"
-│ │ │ │ ├── "Disconnected"
-│ │ │ │ └── "Initiated"
-│ │ │ ├── RemoteAddressSpace: *Object (1 property)
-│ │ │ │ └── AddressPrefixes: string[]
-│ │ │ ├── RemoteBgpCommunities: *Object (1 property)
-│ │ │ │ └── VirtualNetworkCommunity: *string
-│ │ │ ├── RemoteVirtualNetwork: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── UseRemoteGateways: *bool
-│ │ └── Type: *string
-│ └── Tags: map[string]string
-├── VirtualNetworksSubnet: Resource
-│ ├── Owner: VirtualNetwork
-│ ├── Spec: Object (14 properties)
-│ │ ├── AddressPrefix: *string
-│ │ ├── AddressPrefixes: string[]
-│ │ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── AzureName: string
-│ │ ├── Delegations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── ServiceName: *string
-│ │ ├── IpAllocations: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── RouteTable: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ServiceEndpointPolicies: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── ServiceEndpoints: Object (2 properties)[]
-│ │ ├── Locations: string[]
-│ │ └── Service: *string
-│ └── Status: Object (24 properties)
-│ ├── AddressPrefix: *string
-│ ├── AddressPrefixes: string[]
-│ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── Delegations: Object (7 properties)[]
-│ │ ├── Actions: string[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ServiceName: *string
-│ │ └── Type: *string
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IpAllocations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── IpConfigurationProfiles: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── IpConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Name: *string
-│ ├── NatGateway: *Object (1 property)
-│ │ └── Id: *string
-│ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ └── Id: *string
-│ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── PrivateEndpoints: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── Purpose: *string
-│ ├── ResourceNavigationLinks: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── RouteTable: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ServiceAssociationLinks: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ServiceEndpointPolicies: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ServiceEndpoints: Object (3 properties)[]
-│ │ ├── Locations: string[]
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Service: *string
-│ └── Type: *string
-├── VirtualNetworksVirtualNetworkPeering: Resource
-│ ├── Owner: VirtualNetwork
-│ ├── Spec: Object (11 properties)
-│ │ ├── AllowForwardedTraffic: *bool
-│ │ ├── AllowGatewayTransit: *bool
-│ │ ├── AllowVirtualNetworkAccess: *bool
-│ │ ├── AzureName: string
-│ │ ├── DoNotVerifyRemoteGateways: *bool
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PeeringState: *Enum (3 values)
-│ │ │ ├── "Connected"
-│ │ │ ├── "Disconnected"
-│ │ │ └── "Initiated"
-│ │ ├── RemoteAddressSpace: *Object (1 property)
-│ │ │ └── AddressPrefixes: string[]
-│ │ ├── RemoteBgpCommunities: *Object (1 property)
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── RemoteVirtualNetwork: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── UseRemoteGateways: *bool
-│ └── Status: Object (16 properties)
-│ ├── AllowForwardedTraffic: *bool
-│ ├── AllowGatewayTransit: *bool
-│ ├── AllowVirtualNetworkAccess: *bool
-│ ├── Conditions: conditions.Condition[]
-│ ├── DoNotVerifyRemoteGateways: *bool
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── PeeringState: *Enum (3 values)
-│ │ ├── "Connected"
-│ │ ├── "Disconnected"
-│ │ └── "Initiated"
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── RemoteAddressSpace: *Object (1 property)
-│ │ └── AddressPrefixes: string[]
-│ ├── RemoteBgpCommunities: *Object (2 properties)
-│ │ ├── RegionalCommunity: *string
-│ │ └── VirtualNetworkCommunity: *string
-│ ├── RemoteVirtualNetwork: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ResourceGuid: *string
-│ ├── Type: *string
-│ └── UseRemoteGateways: *bool
-├── VirtualNetworks_Subnet_STATUS_ARM: Object (5 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (19 properties)
-│ │ ├── AddressPrefix: *string
-│ │ ├── AddressPrefixes: string[]
-│ │ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Delegations: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (3 properties)
-│ │ │ │ ├── Actions: string[]
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ └── ServiceName: *string
-│ │ │ └── Type: *string
-│ │ ├── IpAllocations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── IpConfigurationProfiles: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── IpConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── PrivateEndpoints: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── Purpose: *string
-│ │ ├── ResourceNavigationLinks: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── RouteTable: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ServiceAssociationLinks: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ServiceEndpointPolicies: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── ServiceEndpoints: Object (3 properties)[]
-│ │ ├── Locations: string[]
+│ │ └── Properties: *Object (5 properties)
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
│ │ ├── ProvisioningState: *Enum (4 values)
│ │ │ ├── "Deleting"
│ │ │ ├── "Failed"
│ │ │ ├── "Succeeded"
│ │ │ └── "Updating"
-│ │ └── Service: *string
-│ └── Type: *string
-├── VirtualNetworks_Subnet_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (12 properties)
-│ ├── AddressPrefix: *string
-│ ├── AddressPrefixes: string[]
-│ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Delegations: Object (2 properties)[]
-│ │ ├── Name: *string
-│ │ └── Properties: *Object (1 property)
-│ │ └── ServiceName: *string
-│ ├── IpAllocations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── NatGateway: *Object (1 property)
-│ │ └── Id: *string
-│ ├── NetworkSecurityGroup: *Object (1 property)
-│ │ └── Id: *string
-│ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── RouteTable: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ServiceEndpointPolicies: Object (1 property)[]
-│ │ └── Id: *string
-│ └── ServiceEndpoints: Object (2 properties)[]
-│ ├── Locations: string[]
-│ └── Service: *string
-├── VirtualNetworks_VirtualNetworkPeering_STATUS_ARM: Object (5 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (11 properties)
-│ │ ├── AllowForwardedTraffic: *bool
-│ │ ├── AllowGatewayTransit: *bool
-│ │ ├── AllowVirtualNetworkAccess: *bool
-│ │ ├── DoNotVerifyRemoteGateways: *bool
-│ │ ├── PeeringState: *Enum (3 values)
-│ │ │ ├── "Connected"
-│ │ │ ├── "Disconnected"
-│ │ │ └── "Initiated"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RemoteAddressSpace: *Object (1 property)
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── ResourceGuid: *string
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Capacity: *int
+│ │ ├── Name: *Enum (17 values)
+│ │ │ ├── "Basic"
+│ │ │ ├── "ErGw1AZ"
+│ │ │ ├── "ErGw2AZ"
+│ │ │ ├── "ErGw3AZ"
+│ │ │ ├── "HighPerformance"
+│ │ │ ├── "Standard"
+│ │ │ ├── "UltraPerformance"
+│ │ │ ├── "VpnGw1"
+│ │ │ ├── "VpnGw1AZ"
+│ │ │ ├── "VpnGw2"
+│ │ │ ├── "VpnGw2AZ"
+│ │ │ ├── "VpnGw3"
+│ │ │ ├── "VpnGw3AZ"
+│ │ │ ├── "VpnGw4"
+│ │ │ ├── "VpnGw4AZ"
+│ │ │ ├── "VpnGw5"
+│ │ │ └── "VpnGw5AZ"
+│ │ └── Tier: *Enum (17 values)
+│ │ ├── "Basic"
+│ │ ├── "ErGw1AZ"
+│ │ ├── "ErGw2AZ"
+│ │ ├── "ErGw3AZ"
+│ │ ├── "HighPerformance"
+│ │ ├── "Standard"
+│ │ ├── "UltraPerformance"
+│ │ ├── "VpnGw1"
+│ │ ├── "VpnGw1AZ"
+│ │ ├── "VpnGw2"
+│ │ ├── "VpnGw2AZ"
+│ │ ├── "VpnGw3"
+│ │ ├── "VpnGw3AZ"
+│ │ ├── "VpnGw4"
+│ │ ├── "VpnGw4AZ"
+│ │ ├── "VpnGw5"
+│ │ └── "VpnGw5AZ"
+│ ├── VNetExtendedLocationResourceId: *string
+│ ├── VpnClientConfiguration: *Object (12 properties)
+│ │ ├── AadAudience: *string
+│ │ ├── AadIssuer: *string
+│ │ ├── AadTenant: *string
+│ │ ├── RadiusServerAddress: *string
+│ │ ├── RadiusServerSecret: *string
+│ │ ├── RadiusServers: Object (3 properties)[]
+│ │ │ ├── RadiusServerAddress: *string
+│ │ │ ├── RadiusServerScore: *int
+│ │ │ └── RadiusServerSecret: *string
+│ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
+│ │ │ ├── "AAD"
+│ │ │ ├── "Certificate"
+│ │ │ └── "Radius"
+│ │ ├── VpnClientAddressPool: *Object (1 property)
│ │ │ └── AddressPrefixes: string[]
-│ │ ├── RemoteBgpCommunities: *Object (2 properties)
-│ │ │ ├── RegionalCommunity: *string
-│ │ │ └── VirtualNetworkCommunity: *string
-│ │ ├── RemoteVirtualNetwork: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ResourceGuid: *string
-│ │ └── UseRemoteGateways: *bool
-│ └── Type: *string
-└── VirtualNetworks_VirtualNetworkPeering_Spec_ARM: Object (2 properties)
- ├── Name: string
- └── Properties: *Object (9 properties)
- ├── AllowForwardedTraffic: *bool
- ├── AllowGatewayTransit: *bool
- ├── AllowVirtualNetworkAccess: *bool
- ├── DoNotVerifyRemoteGateways: *bool
- ├── PeeringState: *Enum (3 values)
- │ ├── "Connected"
- │ ├── "Disconnected"
- │ └── "Initiated"
- ├── RemoteAddressSpace: *Object (1 property)
- │ └── AddressPrefixes: string[]
- ├── RemoteBgpCommunities: *Object (1 property)
- │ └── VirtualNetworkCommunity: *string
- ├── RemoteVirtualNetwork: *Object (1 property)
- │ └── Id: *string
- └── UseRemoteGateways: *bool
+│ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
+│ │ │ ├── DhGroup: *Enum (8 values)
+│ │ │ │ ├── "DHGroup1"
+│ │ │ │ ├── "DHGroup14"
+│ │ │ │ ├── "DHGroup2"
+│ │ │ │ ├── "DHGroup2048"
+│ │ │ │ ├── "DHGroup24"
+│ │ │ │ ├── "ECP256"
+│ │ │ │ ├── "ECP384"
+│ │ │ │ └── "None"
+│ │ │ ├── IkeEncryption: *Enum (7 values)
+│ │ │ │ ├── "AES128"
+│ │ │ │ ├── "AES192"
+│ │ │ │ ├── "AES256"
+│ │ │ │ ├── "DES"
+│ │ │ │ ├── "DES3"
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ └── "GCMAES256"
+│ │ │ ├── IkeIntegrity: *Enum (6 values)
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ ├── "MD5"
+│ │ │ │ ├── "SHA1"
+│ │ │ │ ├── "SHA256"
+│ │ │ │ └── "SHA384"
+│ │ │ ├── IpsecEncryption: *Enum (9 values)
+│ │ │ │ ├── "AES128"
+│ │ │ │ ├── "AES192"
+│ │ │ │ ├── "AES256"
+│ │ │ │ ├── "DES"
+│ │ │ │ ├── "DES3"
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES192"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ └── "None"
+│ │ │ ├── IpsecIntegrity: *Enum (6 values)
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES192"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ ├── "MD5"
+│ │ │ │ ├── "SHA1"
+│ │ │ │ └── "SHA256"
+│ │ │ ├── PfsGroup: *Enum (9 values)
+│ │ │ │ ├── "ECP256"
+│ │ │ │ ├── "ECP384"
+│ │ │ │ ├── "None"
+│ │ │ │ ├── "PFS1"
+│ │ │ │ ├── "PFS14"
+│ │ │ │ ├── "PFS2"
+│ │ │ │ ├── "PFS2048"
+│ │ │ │ ├── "PFS24"
+│ │ │ │ └── "PFSMM"
+│ │ │ ├── SaDataSizeKilobytes: *int
+│ │ │ └── SaLifeTimeSeconds: *int
+│ │ ├── VpnClientProtocols: Enum (3 values)[]
+│ │ │ ├── "IkeV2"
+│ │ │ ├── "OpenVPN"
+│ │ │ └── "SSTP"
+│ │ ├── VpnClientRevokedCertificates: Object (4 properties)[]
+│ │ │ ├── Etag: *string
+│ │ │ ├── Id: *string
+│ │ │ ├── Name: *string
+│ │ │ └── Properties: *Object (2 properties)
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
+│ │ │ └── Thumbprint: *string
+│ │ └── VpnClientRootCertificates: Object (4 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (2 properties)
+│ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ ├── "Deleting"
+│ │ │ ├── "Failed"
+│ │ │ ├── "Succeeded"
+│ │ │ └── "Updating"
+│ │ └── PublicCertData: *string
+│ ├── VpnGatewayGeneration: *Enum (3 values)
+│ │ ├── "Generation1"
+│ │ ├── "Generation2"
+│ │ └── "None"
+│ └── VpnType: *Enum (2 values)
+│ ├── "PolicyBased"
+│ └── "RouteBased"
+├── Tags: map[string]string
+└── Type: *string
+VirtualNetworkGateway_Spec_ARM: Object (5 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (14 properties)
+│ ├── ActiveActive: *bool
+│ ├── BgpSettings: *Object (4 properties)
+│ │ ├── Asn: *uint32
+│ │ ├── BgpPeeringAddress: *string
+│ │ ├── BgpPeeringAddresses: Object (2 properties)[]
+│ │ │ ├── CustomBgpIpAddresses: string[]
+│ │ │ └── IpconfigurationId: *string
+│ │ └── PeerWeight: *int
+│ ├── CustomRoutes: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── EnableBgp: *bool
+│ ├── EnableDnsForwarding: *bool
+│ ├── EnablePrivateIpAddress: *bool
+│ ├── GatewayDefaultSite: *Object (1 property)
+│ │ └── Id: *string
+│ ├── GatewayType: *Enum (3 values)
+│ │ ├── "ExpressRoute"
+│ │ ├── "LocalGateway"
+│ │ └── "Vpn"
+│ ├── IpConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (3 properties)
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Id: *string
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *Enum (17 values)
+│ │ │ ├── "Basic"
+│ │ │ ├── "ErGw1AZ"
+│ │ │ ├── "ErGw2AZ"
+│ │ │ ├── "ErGw3AZ"
+│ │ │ ├── "HighPerformance"
+│ │ │ ├── "Standard"
+│ │ │ ├── "UltraPerformance"
+│ │ │ ├── "VpnGw1"
+│ │ │ ├── "VpnGw1AZ"
+│ │ │ ├── "VpnGw2"
+│ │ │ ├── "VpnGw2AZ"
+│ │ │ ├── "VpnGw3"
+│ │ │ ├── "VpnGw3AZ"
+│ │ │ ├── "VpnGw4"
+│ │ │ ├── "VpnGw4AZ"
+│ │ │ ├── "VpnGw5"
+│ │ │ └── "VpnGw5AZ"
+│ │ └── Tier: *Enum (17 values)
+│ │ ├── "Basic"
+│ │ ├── "ErGw1AZ"
+│ │ ├── "ErGw2AZ"
+│ │ ├── "ErGw3AZ"
+│ │ ├── "HighPerformance"
+│ │ ├── "Standard"
+│ │ ├── "UltraPerformance"
+│ │ ├── "VpnGw1"
+│ │ ├── "VpnGw1AZ"
+│ │ ├── "VpnGw2"
+│ │ ├── "VpnGw2AZ"
+│ │ ├── "VpnGw3"
+│ │ ├── "VpnGw3AZ"
+│ │ ├── "VpnGw4"
+│ │ ├── "VpnGw4AZ"
+│ │ ├── "VpnGw5"
+│ │ └── "VpnGw5AZ"
+│ ├── VNetExtendedLocationResourceId: *string
+│ ├── VpnClientConfiguration: *Object (12 properties)
+│ │ ├── AadAudience: *string
+│ │ ├── AadIssuer: *string
+│ │ ├── AadTenant: *string
+│ │ ├── RadiusServerAddress: *string
+│ │ ├── RadiusServerSecret: *string
+│ │ ├── RadiusServers: Object (3 properties)[]
+│ │ │ ├── RadiusServerAddress: *string
+│ │ │ ├── RadiusServerScore: *int
+│ │ │ └── RadiusServerSecret: *string
+│ │ ├── VpnAuthenticationTypes: Enum (3 values)[]
+│ │ │ ├── "AAD"
+│ │ │ ├── "Certificate"
+│ │ │ └── "Radius"
+│ │ ├── VpnClientAddressPool: *Object (1 property)
+│ │ │ └── AddressPrefixes: string[]
+│ │ ├── VpnClientIpsecPolicies: Object (8 properties)[]
+│ │ │ ├── DhGroup: *Enum (8 values)
+│ │ │ │ ├── "DHGroup1"
+│ │ │ │ ├── "DHGroup14"
+│ │ │ │ ├── "DHGroup2"
+│ │ │ │ ├── "DHGroup2048"
+│ │ │ │ ├── "DHGroup24"
+│ │ │ │ ├── "ECP256"
+│ │ │ │ ├── "ECP384"
+│ │ │ │ └── "None"
+│ │ │ ├── IkeEncryption: *Enum (7 values)
+│ │ │ │ ├── "AES128"
+│ │ │ │ ├── "AES192"
+│ │ │ │ ├── "AES256"
+│ │ │ │ ├── "DES"
+│ │ │ │ ├── "DES3"
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ └── "GCMAES256"
+│ │ │ ├── IkeIntegrity: *Enum (6 values)
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ ├── "MD5"
+│ │ │ │ ├── "SHA1"
+│ │ │ │ ├── "SHA256"
+│ │ │ │ └── "SHA384"
+│ │ │ ├── IpsecEncryption: *Enum (9 values)
+│ │ │ │ ├── "AES128"
+│ │ │ │ ├── "AES192"
+│ │ │ │ ├── "AES256"
+│ │ │ │ ├── "DES"
+│ │ │ │ ├── "DES3"
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES192"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ └── "None"
+│ │ │ ├── IpsecIntegrity: *Enum (6 values)
+│ │ │ │ ├── "GCMAES128"
+│ │ │ │ ├── "GCMAES192"
+│ │ │ │ ├── "GCMAES256"
+│ │ │ │ ├── "MD5"
+│ │ │ │ ├── "SHA1"
+│ │ │ │ └── "SHA256"
+│ │ │ ├── PfsGroup: *Enum (9 values)
+│ │ │ │ ├── "ECP256"
+│ │ │ │ ├── "ECP384"
+│ │ │ │ ├── "None"
+│ │ │ │ ├── "PFS1"
+│ │ │ │ ├── "PFS14"
+│ │ │ │ ├── "PFS2"
+│ │ │ │ ├── "PFS2048"
+│ │ │ │ ├── "PFS24"
+│ │ │ │ └── "PFSMM"
+│ │ │ ├── SaDataSizeKilobytes: *int
+│ │ │ └── SaLifeTimeSeconds: *int
+│ │ ├── VpnClientProtocols: Enum (3 values)[]
+│ │ │ ├── "IkeV2"
+│ │ │ ├── "OpenVPN"
+│ │ │ └── "SSTP"
+│ │ ├── VpnClientRevokedCertificates: Object (2 properties)[]
+│ │ │ ├── Name: *string
+│ │ │ └── Properties: *Object (1 property)
+│ │ │ └── Thumbprint: *string
+│ │ └── VpnClientRootCertificates: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── PublicCertData: *string
+│ ├── VpnGatewayGeneration: *Enum (3 values)
+│ │ ├── "Generation1"
+│ │ ├── "Generation2"
+│ │ └── "None"
+│ └── VpnType: *Enum (2 values)
+│ ├── "PolicyBased"
+│ └── "RouteBased"
+└── Tags: map[string]string
+VirtualNetwork_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (9 properties)
+│ ├── AddressSpace: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── BgpCommunities: *Object (2 properties)
+│ │ ├── RegionalCommunity: *string
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── DdosProtectionPlan: *Object (1 property)
+│ │ └── Id: *string
+│ ├── DhcpOptions: *Object (1 property)
+│ │ └── DnsServers: string[]
+│ ├── EnableDdosProtection: *bool
+│ ├── EnableVmProtection: *bool
+│ ├── IpAllocations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── ResourceGuid: *string
+├── Tags: map[string]string
+└── Type: *string
+VirtualNetwork_Spec_ARM: Object (5 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (9 properties)
+│ ├── AddressSpace: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── BgpCommunities: *Object (1 property)
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── DdosProtectionPlan: *Object (1 property)
+│ │ └── Id: *string
+│ ├── DhcpOptions: *Object (1 property)
+│ │ └── DnsServers: string[]
+│ ├── EnableDdosProtection: *bool
+│ ├── EnableVmProtection: *bool
+│ ├── IpAllocations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── Subnets: Object (4 properties)[]
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (12 properties)
+│ │ │ ├── AddressPrefix: *string
+│ │ │ ├── AddressPrefixes: string[]
+│ │ │ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── Delegations: Object (2 properties)[]
+│ │ │ │ ├── Name: *string
+│ │ │ │ └── Properties: *Object (1 property)
+│ │ │ │ └── ServiceName: *string
+│ │ │ ├── IpAllocations: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ ├── NatGateway: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── NetworkSecurityGroup: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
+│ │ │ │ ├── "Disabled"
+│ │ │ │ └── "Enabled"
+│ │ │ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
+│ │ │ │ ├── "Disabled"
+│ │ │ │ └── "Enabled"
+│ │ │ ├── RouteTable: *Object (1 property)
+│ │ │ │ └── Id: *string
+│ │ │ ├── ServiceEndpointPolicies: Object (1 property)[]
+│ │ │ │ └── Id: *string
+│ │ │ └── ServiceEndpoints: Object (2 properties)[]
+│ │ │ ├── Locations: string[]
+│ │ │ └── Service: *string
+│ │ └── Type: *string
+│ └── VirtualNetworkPeerings: Object (4 properties)[]
+│ ├── Id: *string
+│ ├── Name: *string
+│ ├── Properties: *Object (9 properties)
+│ │ ├── AllowForwardedTraffic: *bool
+│ │ ├── AllowGatewayTransit: *bool
+│ │ ├── AllowVirtualNetworkAccess: *bool
+│ │ ├── DoNotVerifyRemoteGateways: *bool
+│ │ ├── PeeringState: *Enum (3 values)
+│ │ │ ├── "Connected"
+│ │ │ ├── "Disconnected"
+│ │ │ └── "Initiated"
+│ │ ├── RemoteAddressSpace: *Object (1 property)
+│ │ │ └── AddressPrefixes: string[]
+│ │ ├── RemoteBgpCommunities: *Object (1 property)
+│ │ │ └── VirtualNetworkCommunity: *string
+│ │ ├── RemoteVirtualNetwork: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── UseRemoteGateways: *bool
+│ └── Type: *string
+└── Tags: map[string]string
+VirtualNetworksSubnet: Resource
+├── Owner: VirtualNetwork
+├── Spec: Object (14 properties)
+│ ├── AddressPrefix: *string
+│ ├── AddressPrefixes: string[]
+│ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── AzureName: string
+│ ├── Delegations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── ServiceName: *string
+│ ├── IpAllocations: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── NetworkSecurityGroup: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── RouteTable: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ServiceEndpointPolicies: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── ServiceEndpoints: Object (2 properties)[]
+│ ├── Locations: string[]
+│ └── Service: *string
+└── Status: Object (24 properties)
+ ├── AddressPrefix: *string
+ ├── AddressPrefixes: string[]
+ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Conditions: conditions.Condition[]
+ ├── Delegations: Object (7 properties)[]
+ │ ├── Actions: string[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── ServiceName: *string
+ │ └── Type: *string
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IpAllocations: Object (1 property)[]
+ │ └── Id: *string
+ ├── IpConfigurationProfiles: Object (1 property)[]
+ │ └── Id: *string
+ ├── IpConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Name: *string
+ ├── NatGateway: *Object (1 property)
+ │ └── Id: *string
+ ├── NetworkSecurityGroup: *Object (1 property)
+ │ └── Id: *string
+ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── PrivateEndpoints: Object (1 property)[]
+ │ └── Id: *string
+ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── Purpose: *string
+ ├── ResourceNavigationLinks: Object (1 property)[]
+ │ └── Id: *string
+ ├── RouteTable: *Object (1 property)
+ │ └── Id: *string
+ ├── ServiceAssociationLinks: Object (1 property)[]
+ │ └── Id: *string
+ ├── ServiceEndpointPolicies: Object (1 property)[]
+ │ └── Id: *string
+ ├── ServiceEndpoints: Object (3 properties)[]
+ │ ├── Locations: string[]
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ └── Service: *string
+ └── Type: *string
+VirtualNetworksVirtualNetworkPeering: Resource
+├── Owner: VirtualNetwork
+├── Spec: Object (11 properties)
+│ ├── AllowForwardedTraffic: *bool
+│ ├── AllowGatewayTransit: *bool
+│ ├── AllowVirtualNetworkAccess: *bool
+│ ├── AzureName: string
+│ ├── DoNotVerifyRemoteGateways: *bool
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PeeringState: *Enum (3 values)
+│ │ ├── "Connected"
+│ │ ├── "Disconnected"
+│ │ └── "Initiated"
+│ ├── RemoteAddressSpace: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── RemoteBgpCommunities: *Object (1 property)
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── RemoteVirtualNetwork: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── UseRemoteGateways: *bool
+└── Status: Object (16 properties)
+ ├── AllowForwardedTraffic: *bool
+ ├── AllowGatewayTransit: *bool
+ ├── AllowVirtualNetworkAccess: *bool
+ ├── Conditions: conditions.Condition[]
+ ├── DoNotVerifyRemoteGateways: *bool
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── PeeringState: *Enum (3 values)
+ │ ├── "Connected"
+ │ ├── "Disconnected"
+ │ └── "Initiated"
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── RemoteAddressSpace: *Object (1 property)
+ │ └── AddressPrefixes: string[]
+ ├── RemoteBgpCommunities: *Object (2 properties)
+ │ ├── RegionalCommunity: *string
+ │ └── VirtualNetworkCommunity: *string
+ ├── RemoteVirtualNetwork: *Object (1 property)
+ │ └── Id: *string
+ ├── ResourceGuid: *string
+ ├── Type: *string
+ └── UseRemoteGateways: *bool
+VirtualNetworks_Subnet_STATUS_ARM: Object (5 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (19 properties)
+│ ├── AddressPrefix: *string
+│ ├── AddressPrefixes: string[]
+│ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── Delegations: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (3 properties)
+│ │ │ ├── Actions: string[]
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
+│ │ │ └── ServiceName: *string
+│ │ └── Type: *string
+│ ├── IpAllocations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── IpConfigurationProfiles: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── IpConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Id: *string
+│ ├── NetworkSecurityGroup: *Object (1 property)
+│ │ └── Id: *string
+│ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── PrivateEndpoints: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── Purpose: *string
+│ ├── ResourceNavigationLinks: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── RouteTable: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ServiceAssociationLinks: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ServiceEndpointPolicies: Object (1 property)[]
+│ │ └── Id: *string
+│ └── ServiceEndpoints: Object (3 properties)[]
+│ ├── Locations: string[]
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── Service: *string
+└── Type: *string
+VirtualNetworks_Subnet_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (12 properties)
+ ├── AddressPrefix: *string
+ ├── AddressPrefixes: string[]
+ ├── ApplicationGatewayIpConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Delegations: Object (2 properties)[]
+ │ ├── Name: *string
+ │ └── Properties: *Object (1 property)
+ │ └── ServiceName: *string
+ ├── IpAllocations: Object (1 property)[]
+ │ └── Id: *string
+ ├── NatGateway: *Object (1 property)
+ │ └── Id: *string
+ ├── NetworkSecurityGroup: *Object (1 property)
+ │ └── Id: *string
+ ├── PrivateEndpointNetworkPolicies: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── PrivateLinkServiceNetworkPolicies: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── RouteTable: *Object (1 property)
+ │ └── Id: *string
+ ├── ServiceEndpointPolicies: Object (1 property)[]
+ │ └── Id: *string
+ └── ServiceEndpoints: Object (2 properties)[]
+ ├── Locations: string[]
+ └── Service: *string
+VirtualNetworks_VirtualNetworkPeering_STATUS_ARM: Object (5 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (11 properties)
+│ ├── AllowForwardedTraffic: *bool
+│ ├── AllowGatewayTransit: *bool
+│ ├── AllowVirtualNetworkAccess: *bool
+│ ├── DoNotVerifyRemoteGateways: *bool
+│ ├── PeeringState: *Enum (3 values)
+│ │ ├── "Connected"
+│ │ ├── "Disconnected"
+│ │ └── "Initiated"
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── RemoteAddressSpace: *Object (1 property)
+│ │ └── AddressPrefixes: string[]
+│ ├── RemoteBgpCommunities: *Object (2 properties)
+│ │ ├── RegionalCommunity: *string
+│ │ └── VirtualNetworkCommunity: *string
+│ ├── RemoteVirtualNetwork: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ResourceGuid: *string
+│ └── UseRemoteGateways: *bool
+└── Type: *string
+VirtualNetworks_VirtualNetworkPeering_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (9 properties)
+ ├── AllowForwardedTraffic: *bool
+ ├── AllowGatewayTransit: *bool
+ ├── AllowVirtualNetworkAccess: *bool
+ ├── DoNotVerifyRemoteGateways: *bool
+ ├── PeeringState: *Enum (3 values)
+ │ ├── "Connected"
+ │ ├── "Disconnected"
+ │ └── "Initiated"
+ ├── RemoteAddressSpace: *Object (1 property)
+ │ └── AddressPrefixes: string[]
+ ├── RemoteBgpCommunities: *Object (1 property)
+ │ └── VirtualNetworkCommunity: *string
+ ├── RemoteVirtualNetwork: *Object (1 property)
+ │ └── Id: *string
+ └── UseRemoteGateways: *bool
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_gateway_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_gateway_types_gen.go
index bf53796997..db5a4ab710 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_gateway_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_gateway_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &VirtualNetworkGateway{}
// ConvertFrom populates our VirtualNetworkGateway from the provided hub VirtualNetworkGateway
func (gateway *VirtualNetworkGateway) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.VirtualNetworkGateway)
+ source, ok := hub.(*storage.VirtualNetworkGateway)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetworkGateway but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (gateway *VirtualNetworkGateway) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub VirtualNetworkGateway from our VirtualNetworkGateway
func (gateway *VirtualNetworkGateway) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.VirtualNetworkGateway)
+ destination, ok := hub.(*storage.VirtualNetworkGateway)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetworkGateway but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (gateway *VirtualNetworkGateway) validateWriteOnceProperties(old runtime.Ob
}
// AssignProperties_From_VirtualNetworkGateway populates our VirtualNetworkGateway from the provided source VirtualNetworkGateway
-func (gateway *VirtualNetworkGateway) AssignProperties_From_VirtualNetworkGateway(source *v20201101s.VirtualNetworkGateway) error {
+func (gateway *VirtualNetworkGateway) AssignProperties_From_VirtualNetworkGateway(source *storage.VirtualNetworkGateway) error {
// ObjectMeta
gateway.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (gateway *VirtualNetworkGateway) AssignProperties_From_VirtualNetworkGatewa
}
// AssignProperties_To_VirtualNetworkGateway populates the provided destination VirtualNetworkGateway from our VirtualNetworkGateway
-func (gateway *VirtualNetworkGateway) AssignProperties_To_VirtualNetworkGateway(destination *v20201101s.VirtualNetworkGateway) error {
+func (gateway *VirtualNetworkGateway) AssignProperties_To_VirtualNetworkGateway(destination *storage.VirtualNetworkGateway) error {
// ObjectMeta
destination.ObjectMeta = *gateway.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.VirtualNetworkGateway_Spec
+ var spec storage.VirtualNetworkGateway_Spec
err := gateway.Spec.AssignProperties_To_VirtualNetworkGateway_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkGateway_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (gateway *VirtualNetworkGateway) AssignProperties_To_VirtualNetworkGateway(
destination.Spec = spec
// Status
- var status v20201101s.VirtualNetworkGateway_STATUS
+ var status storage.VirtualNetworkGateway_STATUS
err = gateway.Status.AssignProperties_To_VirtualNetworkGateway_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkGateway_STATUS() to populate field Status")
@@ -733,14 +733,14 @@ var _ genruntime.ConvertibleSpec = &VirtualNetworkGateway_Spec{}
// ConvertSpecFrom populates our VirtualNetworkGateway_Spec from the provided source
func (gateway *VirtualNetworkGateway_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.VirtualNetworkGateway_Spec)
+ src, ok := source.(*storage.VirtualNetworkGateway_Spec)
if ok {
// Populate our instance from source
return gateway.AssignProperties_From_VirtualNetworkGateway_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetworkGateway_Spec{}
+ src = &storage.VirtualNetworkGateway_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -757,14 +757,14 @@ func (gateway *VirtualNetworkGateway_Spec) ConvertSpecFrom(source genruntime.Con
// ConvertSpecTo populates the provided destination from our VirtualNetworkGateway_Spec
func (gateway *VirtualNetworkGateway_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.VirtualNetworkGateway_Spec)
+ dst, ok := destination.(*storage.VirtualNetworkGateway_Spec)
if ok {
// Populate destination from our instance
return gateway.AssignProperties_To_VirtualNetworkGateway_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetworkGateway_Spec{}
+ dst = &storage.VirtualNetworkGateway_Spec{}
err := gateway.AssignProperties_To_VirtualNetworkGateway_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -780,7 +780,7 @@ func (gateway *VirtualNetworkGateway_Spec) ConvertSpecTo(destination genruntime.
}
// AssignProperties_From_VirtualNetworkGateway_Spec populates our VirtualNetworkGateway_Spec from the provided source VirtualNetworkGateway_Spec
-func (gateway *VirtualNetworkGateway_Spec) AssignProperties_From_VirtualNetworkGateway_Spec(source *v20201101s.VirtualNetworkGateway_Spec) error {
+func (gateway *VirtualNetworkGateway_Spec) AssignProperties_From_VirtualNetworkGateway_Spec(source *storage.VirtualNetworkGateway_Spec) error {
// ActiveActive
if source.ActiveActive != nil {
@@ -867,8 +867,9 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_From_VirtualNetworkG
// GatewayType
if source.GatewayType != nil {
- gatewayType := VirtualNetworkGatewayPropertiesFormat_GatewayType(*source.GatewayType)
- gateway.GatewayType = &gatewayType
+ gatewayType := *source.GatewayType
+ gatewayTypeTemp := genruntime.ToEnum(gatewayType, virtualNetworkGatewayPropertiesFormat_GatewayType_Values)
+ gateway.GatewayType = &gatewayTypeTemp
} else {
gateway.GatewayType = nil
}
@@ -939,16 +940,18 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_From_VirtualNetworkG
// VpnGatewayGeneration
if source.VpnGatewayGeneration != nil {
- vpnGatewayGeneration := VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration(*source.VpnGatewayGeneration)
- gateway.VpnGatewayGeneration = &vpnGatewayGeneration
+ vpnGatewayGeneration := *source.VpnGatewayGeneration
+ vpnGatewayGenerationTemp := genruntime.ToEnum(vpnGatewayGeneration, virtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_Values)
+ gateway.VpnGatewayGeneration = &vpnGatewayGenerationTemp
} else {
gateway.VpnGatewayGeneration = nil
}
// VpnType
if source.VpnType != nil {
- vpnType := VirtualNetworkGatewayPropertiesFormat_VpnType(*source.VpnType)
- gateway.VpnType = &vpnType
+ vpnType := *source.VpnType
+ vpnTypeTemp := genruntime.ToEnum(vpnType, virtualNetworkGatewayPropertiesFormat_VpnType_Values)
+ gateway.VpnType = &vpnTypeTemp
} else {
gateway.VpnType = nil
}
@@ -958,7 +961,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_From_VirtualNetworkG
}
// AssignProperties_To_VirtualNetworkGateway_Spec populates the provided destination VirtualNetworkGateway_Spec from our VirtualNetworkGateway_Spec
-func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGateway_Spec(destination *v20201101s.VirtualNetworkGateway_Spec) error {
+func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGateway_Spec(destination *storage.VirtualNetworkGateway_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -975,7 +978,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// BgpSettings
if gateway.BgpSettings != nil {
- var bgpSetting v20201101s.BgpSettings
+ var bgpSetting storage.BgpSettings
err := gateway.BgpSettings.AssignProperties_To_BgpSettings(&bgpSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BgpSettings() to populate field BgpSettings")
@@ -987,7 +990,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// CustomRoutes
if gateway.CustomRoutes != nil {
- var customRoute v20201101s.AddressSpace
+ var customRoute storage.AddressSpace
err := gateway.CustomRoutes.AssignProperties_To_AddressSpace(&customRoute)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace() to populate field CustomRoutes")
@@ -1023,7 +1026,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// ExtendedLocation
if gateway.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := gateway.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -1035,7 +1038,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// GatewayDefaultSite
if gateway.GatewayDefaultSite != nil {
- var gatewayDefaultSite v20201101s.SubResource
+ var gatewayDefaultSite storage.SubResource
err := gateway.GatewayDefaultSite.AssignProperties_To_SubResource(&gatewayDefaultSite)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field GatewayDefaultSite")
@@ -1055,11 +1058,11 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// IpConfigurations
if gateway.IpConfigurations != nil {
- ipConfigurationList := make([]v20201101s.VirtualNetworkGatewayIPConfiguration, len(gateway.IpConfigurations))
+ ipConfigurationList := make([]storage.VirtualNetworkGatewayIPConfiguration, len(gateway.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range gateway.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20201101s.VirtualNetworkGatewayIPConfiguration
+ var ipConfiguration storage.VirtualNetworkGatewayIPConfiguration
err := ipConfigurationItem.AssignProperties_To_VirtualNetworkGatewayIPConfiguration(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkGatewayIPConfiguration() to populate field IpConfigurations")
@@ -1087,7 +1090,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// Sku
if gateway.Sku != nil {
- var sku v20201101s.VirtualNetworkGatewaySku
+ var sku storage.VirtualNetworkGatewaySku
err := gateway.Sku.AssignProperties_To_VirtualNetworkGatewaySku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkGatewaySku() to populate field Sku")
@@ -1110,7 +1113,7 @@ func (gateway *VirtualNetworkGateway_Spec) AssignProperties_To_VirtualNetworkGat
// VpnClientConfiguration
if gateway.VpnClientConfiguration != nil {
- var vpnClientConfiguration v20201101s.VpnClientConfiguration
+ var vpnClientConfiguration storage.VpnClientConfiguration
err := gateway.VpnClientConfiguration.AssignProperties_To_VpnClientConfiguration(&vpnClientConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VpnClientConfiguration() to populate field VpnClientConfiguration")
@@ -1232,7 +1235,7 @@ func (gateway *VirtualNetworkGateway_Spec) Initialize_From_VirtualNetworkGateway
// GatewayType
if source.GatewayType != nil {
- gatewayType := VirtualNetworkGatewayPropertiesFormat_GatewayType(*source.GatewayType)
+ gatewayType := genruntime.ToEnum(string(*source.GatewayType), virtualNetworkGatewayPropertiesFormat_GatewayType_Values)
gateway.GatewayType = &gatewayType
} else {
gateway.GatewayType = nil
@@ -1296,7 +1299,7 @@ func (gateway *VirtualNetworkGateway_Spec) Initialize_From_VirtualNetworkGateway
// VpnGatewayGeneration
if source.VpnGatewayGeneration != nil {
- vpnGatewayGeneration := VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration(*source.VpnGatewayGeneration)
+ vpnGatewayGeneration := genruntime.ToEnum(string(*source.VpnGatewayGeneration), virtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_Values)
gateway.VpnGatewayGeneration = &vpnGatewayGeneration
} else {
gateway.VpnGatewayGeneration = nil
@@ -1304,7 +1307,7 @@ func (gateway *VirtualNetworkGateway_Spec) Initialize_From_VirtualNetworkGateway
// VpnType
if source.VpnType != nil {
- vpnType := VirtualNetworkGatewayPropertiesFormat_VpnType(*source.VpnType)
+ vpnType := genruntime.ToEnum(string(*source.VpnType), virtualNetworkGatewayPropertiesFormat_VpnType_Values)
gateway.VpnType = &vpnType
} else {
gateway.VpnType = nil
@@ -1411,14 +1414,14 @@ var _ genruntime.ConvertibleStatus = &VirtualNetworkGateway_STATUS{}
// ConvertStatusFrom populates our VirtualNetworkGateway_STATUS from the provided source
func (gateway *VirtualNetworkGateway_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.VirtualNetworkGateway_STATUS)
+ src, ok := source.(*storage.VirtualNetworkGateway_STATUS)
if ok {
// Populate our instance from source
return gateway.AssignProperties_From_VirtualNetworkGateway_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetworkGateway_STATUS{}
+ src = &storage.VirtualNetworkGateway_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1435,14 +1438,14 @@ func (gateway *VirtualNetworkGateway_STATUS) ConvertStatusFrom(source genruntime
// ConvertStatusTo populates the provided destination from our VirtualNetworkGateway_STATUS
func (gateway *VirtualNetworkGateway_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.VirtualNetworkGateway_STATUS)
+ dst, ok := destination.(*storage.VirtualNetworkGateway_STATUS)
if ok {
// Populate destination from our instance
return gateway.AssignProperties_To_VirtualNetworkGateway_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetworkGateway_STATUS{}
+ dst = &storage.VirtualNetworkGateway_STATUS{}
err := gateway.AssignProperties_To_VirtualNetworkGateway_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1709,7 +1712,7 @@ func (gateway *VirtualNetworkGateway_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_VirtualNetworkGateway_STATUS populates our VirtualNetworkGateway_STATUS from the provided source VirtualNetworkGateway_STATUS
-func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_From_VirtualNetworkGateway_STATUS(source *v20201101s.VirtualNetworkGateway_STATUS) error {
+func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_From_VirtualNetworkGateway_STATUS(source *storage.VirtualNetworkGateway_STATUS) error {
// ActiveActive
if source.ActiveActive != nil {
@@ -1799,8 +1802,9 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_From_VirtualNetwor
// GatewayType
if source.GatewayType != nil {
- gatewayType := VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS(*source.GatewayType)
- gateway.GatewayType = &gatewayType
+ gatewayType := *source.GatewayType
+ gatewayTypeTemp := genruntime.ToEnum(gatewayType, virtualNetworkGatewayPropertiesFormat_GatewayType_STATUS_Values)
+ gateway.GatewayType = &gatewayTypeTemp
} else {
gateway.GatewayType = nil
}
@@ -1837,8 +1841,9 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_From_VirtualNetwor
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- gateway.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ gateway.ProvisioningState = &provisioningStateTemp
} else {
gateway.ProvisioningState = nil
}
@@ -1881,16 +1886,18 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_From_VirtualNetwor
// VpnGatewayGeneration
if source.VpnGatewayGeneration != nil {
- vpnGatewayGeneration := VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS(*source.VpnGatewayGeneration)
- gateway.VpnGatewayGeneration = &vpnGatewayGeneration
+ vpnGatewayGeneration := *source.VpnGatewayGeneration
+ vpnGatewayGenerationTemp := genruntime.ToEnum(vpnGatewayGeneration, virtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS_Values)
+ gateway.VpnGatewayGeneration = &vpnGatewayGenerationTemp
} else {
gateway.VpnGatewayGeneration = nil
}
// VpnType
if source.VpnType != nil {
- vpnType := VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS(*source.VpnType)
- gateway.VpnType = &vpnType
+ vpnType := *source.VpnType
+ vpnTypeTemp := genruntime.ToEnum(vpnType, virtualNetworkGatewayPropertiesFormat_VpnType_STATUS_Values)
+ gateway.VpnType = &vpnTypeTemp
} else {
gateway.VpnType = nil
}
@@ -1900,7 +1907,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_From_VirtualNetwor
}
// AssignProperties_To_VirtualNetworkGateway_STATUS populates the provided destination VirtualNetworkGateway_STATUS from our VirtualNetworkGateway_STATUS
-func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkGateway_STATUS(destination *v20201101s.VirtualNetworkGateway_STATUS) error {
+func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkGateway_STATUS(destination *storage.VirtualNetworkGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1914,7 +1921,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// BgpSettings
if gateway.BgpSettings != nil {
- var bgpSetting v20201101s.BgpSettings_STATUS
+ var bgpSetting storage.BgpSettings_STATUS
err := gateway.BgpSettings.AssignProperties_To_BgpSettings_STATUS(&bgpSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BgpSettings_STATUS() to populate field BgpSettings")
@@ -1929,7 +1936,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// CustomRoutes
if gateway.CustomRoutes != nil {
- var customRoute v20201101s.AddressSpace_STATUS
+ var customRoute storage.AddressSpace_STATUS
err := gateway.CustomRoutes.AssignProperties_To_AddressSpace_STATUS(&customRoute)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace_STATUS() to populate field CustomRoutes")
@@ -1968,7 +1975,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// ExtendedLocation
if gateway.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := gateway.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1980,7 +1987,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// GatewayDefaultSite
if gateway.GatewayDefaultSite != nil {
- var gatewayDefaultSite v20201101s.SubResource_STATUS
+ var gatewayDefaultSite storage.SubResource_STATUS
err := gateway.GatewayDefaultSite.AssignProperties_To_SubResource_STATUS(&gatewayDefaultSite)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field GatewayDefaultSite")
@@ -2006,11 +2013,11 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// IpConfigurations
if gateway.IpConfigurations != nil {
- ipConfigurationList := make([]v20201101s.VirtualNetworkGatewayIPConfiguration_STATUS, len(gateway.IpConfigurations))
+ ipConfigurationList := make([]storage.VirtualNetworkGatewayIPConfiguration_STATUS, len(gateway.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range gateway.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20201101s.VirtualNetworkGatewayIPConfiguration_STATUS
+ var ipConfiguration storage.VirtualNetworkGatewayIPConfiguration_STATUS
err := ipConfigurationItem.AssignProperties_To_VirtualNetworkGatewayIPConfiguration_STATUS(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkGatewayIPConfiguration_STATUS() to populate field IpConfigurations")
@@ -2041,7 +2048,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// Sku
if gateway.Sku != nil {
- var sku v20201101s.VirtualNetworkGatewaySku_STATUS
+ var sku storage.VirtualNetworkGatewaySku_STATUS
err := gateway.Sku.AssignProperties_To_VirtualNetworkGatewaySku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkGatewaySku_STATUS() to populate field Sku")
@@ -2062,7 +2069,7 @@ func (gateway *VirtualNetworkGateway_STATUS) AssignProperties_To_VirtualNetworkG
// VpnClientConfiguration
if gateway.VpnClientConfiguration != nil {
- var vpnClientConfiguration v20201101s.VpnClientConfiguration_STATUS
+ var vpnClientConfiguration storage.VpnClientConfiguration_STATUS
err := gateway.VpnClientConfiguration.AssignProperties_To_VpnClientConfiguration_STATUS(&vpnClientConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VpnClientConfiguration_STATUS() to populate field VpnClientConfiguration")
@@ -2197,7 +2204,7 @@ func (settings *BgpSettings) PopulateFromARM(owner genruntime.ArbitraryOwnerRefe
}
// AssignProperties_From_BgpSettings populates our BgpSettings from the provided source BgpSettings
-func (settings *BgpSettings) AssignProperties_From_BgpSettings(source *v20201101s.BgpSettings) error {
+func (settings *BgpSettings) AssignProperties_From_BgpSettings(source *storage.BgpSettings) error {
// Asn
if source.Asn != nil {
@@ -2236,7 +2243,7 @@ func (settings *BgpSettings) AssignProperties_From_BgpSettings(source *v20201101
}
// AssignProperties_To_BgpSettings populates the provided destination BgpSettings from our BgpSettings
-func (settings *BgpSettings) AssignProperties_To_BgpSettings(destination *v20201101s.BgpSettings) error {
+func (settings *BgpSettings) AssignProperties_To_BgpSettings(destination *storage.BgpSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2253,11 +2260,11 @@ func (settings *BgpSettings) AssignProperties_To_BgpSettings(destination *v20201
// BgpPeeringAddresses
if settings.BgpPeeringAddresses != nil {
- bgpPeeringAddressList := make([]v20201101s.IPConfigurationBgpPeeringAddress, len(settings.BgpPeeringAddresses))
+ bgpPeeringAddressList := make([]storage.IPConfigurationBgpPeeringAddress, len(settings.BgpPeeringAddresses))
for bgpPeeringAddressIndex, bgpPeeringAddressItem := range settings.BgpPeeringAddresses {
// Shadow the loop variable to avoid aliasing
bgpPeeringAddressItem := bgpPeeringAddressItem
- var bgpPeeringAddress v20201101s.IPConfigurationBgpPeeringAddress
+ var bgpPeeringAddress storage.IPConfigurationBgpPeeringAddress
err := bgpPeeringAddressItem.AssignProperties_To_IPConfigurationBgpPeeringAddress(&bgpPeeringAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPConfigurationBgpPeeringAddress() to populate field BgpPeeringAddresses")
@@ -2384,7 +2391,7 @@ func (settings *BgpSettings_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_BgpSettings_STATUS populates our BgpSettings_STATUS from the provided source BgpSettings_STATUS
-func (settings *BgpSettings_STATUS) AssignProperties_From_BgpSettings_STATUS(source *v20201101s.BgpSettings_STATUS) error {
+func (settings *BgpSettings_STATUS) AssignProperties_From_BgpSettings_STATUS(source *storage.BgpSettings_STATUS) error {
// Asn
if source.Asn != nil {
@@ -2423,7 +2430,7 @@ func (settings *BgpSettings_STATUS) AssignProperties_From_BgpSettings_STATUS(sou
}
// AssignProperties_To_BgpSettings_STATUS populates the provided destination BgpSettings_STATUS from our BgpSettings_STATUS
-func (settings *BgpSettings_STATUS) AssignProperties_To_BgpSettings_STATUS(destination *v20201101s.BgpSettings_STATUS) error {
+func (settings *BgpSettings_STATUS) AssignProperties_To_BgpSettings_STATUS(destination *storage.BgpSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2440,11 +2447,11 @@ func (settings *BgpSettings_STATUS) AssignProperties_To_BgpSettings_STATUS(desti
// BgpPeeringAddresses
if settings.BgpPeeringAddresses != nil {
- bgpPeeringAddressList := make([]v20201101s.IPConfigurationBgpPeeringAddress_STATUS, len(settings.BgpPeeringAddresses))
+ bgpPeeringAddressList := make([]storage.IPConfigurationBgpPeeringAddress_STATUS, len(settings.BgpPeeringAddresses))
for bgpPeeringAddressIndex, bgpPeeringAddressItem := range settings.BgpPeeringAddresses {
// Shadow the loop variable to avoid aliasing
bgpPeeringAddressItem := bgpPeeringAddressItem
- var bgpPeeringAddress v20201101s.IPConfigurationBgpPeeringAddress_STATUS
+ var bgpPeeringAddress storage.IPConfigurationBgpPeeringAddress_STATUS
err := bgpPeeringAddressItem.AssignProperties_To_IPConfigurationBgpPeeringAddress_STATUS(&bgpPeeringAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPConfigurationBgpPeeringAddress_STATUS() to populate field BgpPeeringAddresses")
@@ -2589,15 +2596,16 @@ func (configuration *VirtualNetworkGatewayIPConfiguration) PopulateFromARM(owner
}
// AssignProperties_From_VirtualNetworkGatewayIPConfiguration populates our VirtualNetworkGatewayIPConfiguration from the provided source VirtualNetworkGatewayIPConfiguration
-func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_From_VirtualNetworkGatewayIPConfiguration(source *v20201101s.VirtualNetworkGatewayIPConfiguration) error {
+func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_From_VirtualNetworkGatewayIPConfiguration(source *storage.VirtualNetworkGatewayIPConfiguration) error {
// Name
configuration.Name = genruntime.ClonePointerToString(source.Name)
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
- configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_Values)
+ configuration.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
configuration.PrivateIPAllocationMethod = nil
}
@@ -2631,7 +2639,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_From
}
// AssignProperties_To_VirtualNetworkGatewayIPConfiguration populates the provided destination VirtualNetworkGatewayIPConfiguration from our VirtualNetworkGatewayIPConfiguration
-func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_To_VirtualNetworkGatewayIPConfiguration(destination *v20201101s.VirtualNetworkGatewayIPConfiguration) error {
+func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_To_VirtualNetworkGatewayIPConfiguration(destination *storage.VirtualNetworkGatewayIPConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2648,7 +2656,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_To_V
// PublicIPAddress
if configuration.PublicIPAddress != nil {
- var publicIPAddress v20201101s.SubResource
+ var publicIPAddress storage.SubResource
err := configuration.PublicIPAddress.AssignProperties_To_SubResource(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field PublicIPAddress")
@@ -2660,7 +2668,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration) AssignProperties_To_V
// Subnet
if configuration.Subnet != nil {
- var subnet v20201101s.SubResource
+ var subnet storage.SubResource
err := configuration.Subnet.AssignProperties_To_SubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field Subnet")
@@ -2689,7 +2697,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration) Initialize_From_Virtu
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
+ privateIPAllocationMethod := genruntime.ToEnum(string(*source.PrivateIPAllocationMethod), iPAllocationMethod_Values)
configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
} else {
configuration.PrivateIPAllocationMethod = nil
@@ -2842,7 +2850,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) PopulateFromAR
}
// AssignProperties_From_VirtualNetworkGatewayIPConfiguration_STATUS populates our VirtualNetworkGatewayIPConfiguration_STATUS from the provided source VirtualNetworkGatewayIPConfiguration_STATUS
-func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperties_From_VirtualNetworkGatewayIPConfiguration_STATUS(source *v20201101s.VirtualNetworkGatewayIPConfiguration_STATUS) error {
+func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperties_From_VirtualNetworkGatewayIPConfiguration_STATUS(source *storage.VirtualNetworkGatewayIPConfiguration_STATUS) error {
// Etag
configuration.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -2858,16 +2866,18 @@ func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperti
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod_STATUS(*source.PrivateIPAllocationMethod)
- configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_STATUS_Values)
+ configuration.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
configuration.PrivateIPAllocationMethod = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- configuration.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ configuration.ProvisioningState = &provisioningStateTemp
} else {
configuration.ProvisioningState = nil
}
@@ -2901,7 +2911,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperti
}
// AssignProperties_To_VirtualNetworkGatewayIPConfiguration_STATUS populates the provided destination VirtualNetworkGatewayIPConfiguration_STATUS from our VirtualNetworkGatewayIPConfiguration_STATUS
-func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperties_To_VirtualNetworkGatewayIPConfiguration_STATUS(destination *v20201101s.VirtualNetworkGatewayIPConfiguration_STATUS) error {
+func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperties_To_VirtualNetworkGatewayIPConfiguration_STATUS(destination *storage.VirtualNetworkGatewayIPConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2935,7 +2945,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperti
// PublicIPAddress
if configuration.PublicIPAddress != nil {
- var publicIPAddress v20201101s.SubResource_STATUS
+ var publicIPAddress storage.SubResource_STATUS
err := configuration.PublicIPAddress.AssignProperties_To_SubResource_STATUS(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field PublicIPAddress")
@@ -2947,7 +2957,7 @@ func (configuration *VirtualNetworkGatewayIPConfiguration_STATUS) AssignProperti
// Subnet
if configuration.Subnet != nil {
- var subnet v20201101s.SubResource_STATUS
+ var subnet storage.SubResource_STATUS
err := configuration.Subnet.AssignProperties_To_SubResource_STATUS(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field Subnet")
@@ -2977,6 +2987,13 @@ const (
VirtualNetworkGatewayPropertiesFormat_GatewayType_Vpn = VirtualNetworkGatewayPropertiesFormat_GatewayType("Vpn")
)
+// Mapping from string to VirtualNetworkGatewayPropertiesFormat_GatewayType
+var virtualNetworkGatewayPropertiesFormat_GatewayType_Values = map[string]VirtualNetworkGatewayPropertiesFormat_GatewayType{
+ "expressroute": VirtualNetworkGatewayPropertiesFormat_GatewayType_ExpressRoute,
+ "localgateway": VirtualNetworkGatewayPropertiesFormat_GatewayType_LocalGateway,
+ "vpn": VirtualNetworkGatewayPropertiesFormat_GatewayType_Vpn,
+}
+
type VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS string
const (
@@ -2985,6 +3002,13 @@ const (
VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS_Vpn = VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS("Vpn")
)
+// Mapping from string to VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS
+var virtualNetworkGatewayPropertiesFormat_GatewayType_STATUS_Values = map[string]VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS{
+ "expressroute": VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS_ExpressRoute,
+ "localgateway": VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS_LocalGateway,
+ "vpn": VirtualNetworkGatewayPropertiesFormat_GatewayType_STATUS_Vpn,
+}
+
// +kubebuilder:validation:Enum={"Generation1","Generation2","None"}
type VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration string
@@ -2994,6 +3018,13 @@ const (
VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_None = VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration("None")
)
+// Mapping from string to VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration
+var virtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_Values = map[string]VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration{
+ "generation1": VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_Generation1,
+ "generation2": VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_Generation2,
+ "none": VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_None,
+}
+
type VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS string
const (
@@ -3002,6 +3033,13 @@ const (
VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS_None = VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS("None")
)
+// Mapping from string to VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS
+var virtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS_Values = map[string]VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS{
+ "generation1": VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS_Generation1,
+ "generation2": VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS_Generation2,
+ "none": VirtualNetworkGatewayPropertiesFormat_VpnGatewayGeneration_STATUS_None,
+}
+
// +kubebuilder:validation:Enum={"PolicyBased","RouteBased"}
type VirtualNetworkGatewayPropertiesFormat_VpnType string
@@ -3010,6 +3048,12 @@ const (
VirtualNetworkGatewayPropertiesFormat_VpnType_RouteBased = VirtualNetworkGatewayPropertiesFormat_VpnType("RouteBased")
)
+// Mapping from string to VirtualNetworkGatewayPropertiesFormat_VpnType
+var virtualNetworkGatewayPropertiesFormat_VpnType_Values = map[string]VirtualNetworkGatewayPropertiesFormat_VpnType{
+ "policybased": VirtualNetworkGatewayPropertiesFormat_VpnType_PolicyBased,
+ "routebased": VirtualNetworkGatewayPropertiesFormat_VpnType_RouteBased,
+}
+
type VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS string
const (
@@ -3017,6 +3061,12 @@ const (
VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS_RouteBased = VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS("RouteBased")
)
+// Mapping from string to VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS
+var virtualNetworkGatewayPropertiesFormat_VpnType_STATUS_Values = map[string]VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS{
+ "policybased": VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS_PolicyBased,
+ "routebased": VirtualNetworkGatewayPropertiesFormat_VpnType_STATUS_RouteBased,
+}
+
// VirtualNetworkGatewaySku details.
type VirtualNetworkGatewaySku struct {
// Name: Gateway SKU name.
@@ -3078,20 +3128,22 @@ func (gatewaySku *VirtualNetworkGatewaySku) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_VirtualNetworkGatewaySku populates our VirtualNetworkGatewaySku from the provided source VirtualNetworkGatewaySku
-func (gatewaySku *VirtualNetworkGatewaySku) AssignProperties_From_VirtualNetworkGatewaySku(source *v20201101s.VirtualNetworkGatewaySku) error {
+func (gatewaySku *VirtualNetworkGatewaySku) AssignProperties_From_VirtualNetworkGatewaySku(source *storage.VirtualNetworkGatewaySku) error {
// Name
if source.Name != nil {
- name := VirtualNetworkGatewaySku_Name(*source.Name)
- gatewaySku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, virtualNetworkGatewaySku_Name_Values)
+ gatewaySku.Name = &nameTemp
} else {
gatewaySku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := VirtualNetworkGatewaySku_Tier(*source.Tier)
- gatewaySku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, virtualNetworkGatewaySku_Tier_Values)
+ gatewaySku.Tier = &tierTemp
} else {
gatewaySku.Tier = nil
}
@@ -3101,7 +3153,7 @@ func (gatewaySku *VirtualNetworkGatewaySku) AssignProperties_From_VirtualNetwork
}
// AssignProperties_To_VirtualNetworkGatewaySku populates the provided destination VirtualNetworkGatewaySku from our VirtualNetworkGatewaySku
-func (gatewaySku *VirtualNetworkGatewaySku) AssignProperties_To_VirtualNetworkGatewaySku(destination *v20201101s.VirtualNetworkGatewaySku) error {
+func (gatewaySku *VirtualNetworkGatewaySku) AssignProperties_To_VirtualNetworkGatewaySku(destination *storage.VirtualNetworkGatewaySku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3137,7 +3189,7 @@ func (gatewaySku *VirtualNetworkGatewaySku) Initialize_From_VirtualNetworkGatewa
// Name
if source.Name != nil {
- name := VirtualNetworkGatewaySku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), virtualNetworkGatewaySku_Name_Values)
gatewaySku.Name = &name
} else {
gatewaySku.Name = nil
@@ -3145,7 +3197,7 @@ func (gatewaySku *VirtualNetworkGatewaySku) Initialize_From_VirtualNetworkGatewa
// Tier
if source.Tier != nil {
- tier := VirtualNetworkGatewaySku_Tier(*source.Tier)
+ tier := genruntime.ToEnum(string(*source.Tier), virtualNetworkGatewaySku_Tier_Values)
gatewaySku.Tier = &tier
} else {
gatewaySku.Tier = nil
@@ -3204,23 +3256,25 @@ func (gatewaySku *VirtualNetworkGatewaySku_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_VirtualNetworkGatewaySku_STATUS populates our VirtualNetworkGatewaySku_STATUS from the provided source VirtualNetworkGatewaySku_STATUS
-func (gatewaySku *VirtualNetworkGatewaySku_STATUS) AssignProperties_From_VirtualNetworkGatewaySku_STATUS(source *v20201101s.VirtualNetworkGatewaySku_STATUS) error {
+func (gatewaySku *VirtualNetworkGatewaySku_STATUS) AssignProperties_From_VirtualNetworkGatewaySku_STATUS(source *storage.VirtualNetworkGatewaySku_STATUS) error {
// Capacity
gatewaySku.Capacity = genruntime.ClonePointerToInt(source.Capacity)
// Name
if source.Name != nil {
- name := VirtualNetworkGatewaySku_Name_STATUS(*source.Name)
- gatewaySku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, virtualNetworkGatewaySku_Name_STATUS_Values)
+ gatewaySku.Name = &nameTemp
} else {
gatewaySku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := VirtualNetworkGatewaySku_Tier_STATUS(*source.Tier)
- gatewaySku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, virtualNetworkGatewaySku_Tier_STATUS_Values)
+ gatewaySku.Tier = &tierTemp
} else {
gatewaySku.Tier = nil
}
@@ -3230,7 +3284,7 @@ func (gatewaySku *VirtualNetworkGatewaySku_STATUS) AssignProperties_From_Virtual
}
// AssignProperties_To_VirtualNetworkGatewaySku_STATUS populates the provided destination VirtualNetworkGatewaySku_STATUS from our VirtualNetworkGatewaySku_STATUS
-func (gatewaySku *VirtualNetworkGatewaySku_STATUS) AssignProperties_To_VirtualNetworkGatewaySku_STATUS(destination *v20201101s.VirtualNetworkGatewaySku_STATUS) error {
+func (gatewaySku *VirtualNetworkGatewaySku_STATUS) AssignProperties_To_VirtualNetworkGatewaySku_STATUS(destination *storage.VirtualNetworkGatewaySku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3511,7 +3565,7 @@ func (configuration *VpnClientConfiguration) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_VpnClientConfiguration populates our VpnClientConfiguration from the provided source VpnClientConfiguration
-func (configuration *VpnClientConfiguration) AssignProperties_From_VpnClientConfiguration(source *v20201101s.VpnClientConfiguration) error {
+func (configuration *VpnClientConfiguration) AssignProperties_From_VpnClientConfiguration(source *storage.VpnClientConfiguration) error {
// AadAudience
configuration.AadAudience = genruntime.ClonePointerToString(source.AadAudience)
@@ -3552,7 +3606,7 @@ func (configuration *VpnClientConfiguration) AssignProperties_From_VpnClientConf
for vpnAuthenticationTypeIndex, vpnAuthenticationTypeItem := range source.VpnAuthenticationTypes {
// Shadow the loop variable to avoid aliasing
vpnAuthenticationTypeItem := vpnAuthenticationTypeItem
- vpnAuthenticationTypeList[vpnAuthenticationTypeIndex] = VpnClientConfiguration_VpnAuthenticationTypes(vpnAuthenticationTypeItem)
+ vpnAuthenticationTypeList[vpnAuthenticationTypeIndex] = genruntime.ToEnum(vpnAuthenticationTypeItem, vpnClientConfiguration_VpnAuthenticationTypes_Values)
}
configuration.VpnAuthenticationTypes = vpnAuthenticationTypeList
} else {
@@ -3595,7 +3649,7 @@ func (configuration *VpnClientConfiguration) AssignProperties_From_VpnClientConf
for vpnClientProtocolIndex, vpnClientProtocolItem := range source.VpnClientProtocols {
// Shadow the loop variable to avoid aliasing
vpnClientProtocolItem := vpnClientProtocolItem
- vpnClientProtocolList[vpnClientProtocolIndex] = VpnClientConfiguration_VpnClientProtocols(vpnClientProtocolItem)
+ vpnClientProtocolList[vpnClientProtocolIndex] = genruntime.ToEnum(vpnClientProtocolItem, vpnClientConfiguration_VpnClientProtocols_Values)
}
configuration.VpnClientProtocols = vpnClientProtocolList
} else {
@@ -3643,7 +3697,7 @@ func (configuration *VpnClientConfiguration) AssignProperties_From_VpnClientConf
}
// AssignProperties_To_VpnClientConfiguration populates the provided destination VpnClientConfiguration from our VpnClientConfiguration
-func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfiguration(destination *v20201101s.VpnClientConfiguration) error {
+func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfiguration(destination *storage.VpnClientConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3664,11 +3718,11 @@ func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfig
// RadiusServers
if configuration.RadiusServers != nil {
- radiusServerList := make([]v20201101s.RadiusServer, len(configuration.RadiusServers))
+ radiusServerList := make([]storage.RadiusServer, len(configuration.RadiusServers))
for radiusServerIndex, radiusServerItem := range configuration.RadiusServers {
// Shadow the loop variable to avoid aliasing
radiusServerItem := radiusServerItem
- var radiusServer v20201101s.RadiusServer
+ var radiusServer storage.RadiusServer
err := radiusServerItem.AssignProperties_To_RadiusServer(&radiusServer)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RadiusServer() to populate field RadiusServers")
@@ -3695,7 +3749,7 @@ func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfig
// VpnClientAddressPool
if configuration.VpnClientAddressPool != nil {
- var vpnClientAddressPool v20201101s.AddressSpace
+ var vpnClientAddressPool storage.AddressSpace
err := configuration.VpnClientAddressPool.AssignProperties_To_AddressSpace(&vpnClientAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace() to populate field VpnClientAddressPool")
@@ -3707,11 +3761,11 @@ func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfig
// VpnClientIpsecPolicies
if configuration.VpnClientIpsecPolicies != nil {
- vpnClientIpsecPolicyList := make([]v20201101s.IpsecPolicy, len(configuration.VpnClientIpsecPolicies))
+ vpnClientIpsecPolicyList := make([]storage.IpsecPolicy, len(configuration.VpnClientIpsecPolicies))
for vpnClientIpsecPolicyIndex, vpnClientIpsecPolicyItem := range configuration.VpnClientIpsecPolicies {
// Shadow the loop variable to avoid aliasing
vpnClientIpsecPolicyItem := vpnClientIpsecPolicyItem
- var vpnClientIpsecPolicy v20201101s.IpsecPolicy
+ var vpnClientIpsecPolicy storage.IpsecPolicy
err := vpnClientIpsecPolicyItem.AssignProperties_To_IpsecPolicy(&vpnClientIpsecPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpsecPolicy() to populate field VpnClientIpsecPolicies")
@@ -3738,11 +3792,11 @@ func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfig
// VpnClientRevokedCertificates
if configuration.VpnClientRevokedCertificates != nil {
- vpnClientRevokedCertificateList := make([]v20201101s.VpnClientRevokedCertificate, len(configuration.VpnClientRevokedCertificates))
+ vpnClientRevokedCertificateList := make([]storage.VpnClientRevokedCertificate, len(configuration.VpnClientRevokedCertificates))
for vpnClientRevokedCertificateIndex, vpnClientRevokedCertificateItem := range configuration.VpnClientRevokedCertificates {
// Shadow the loop variable to avoid aliasing
vpnClientRevokedCertificateItem := vpnClientRevokedCertificateItem
- var vpnClientRevokedCertificate v20201101s.VpnClientRevokedCertificate
+ var vpnClientRevokedCertificate storage.VpnClientRevokedCertificate
err := vpnClientRevokedCertificateItem.AssignProperties_To_VpnClientRevokedCertificate(&vpnClientRevokedCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VpnClientRevokedCertificate() to populate field VpnClientRevokedCertificates")
@@ -3756,11 +3810,11 @@ func (configuration *VpnClientConfiguration) AssignProperties_To_VpnClientConfig
// VpnClientRootCertificates
if configuration.VpnClientRootCertificates != nil {
- vpnClientRootCertificateList := make([]v20201101s.VpnClientRootCertificate, len(configuration.VpnClientRootCertificates))
+ vpnClientRootCertificateList := make([]storage.VpnClientRootCertificate, len(configuration.VpnClientRootCertificates))
for vpnClientRootCertificateIndex, vpnClientRootCertificateItem := range configuration.VpnClientRootCertificates {
// Shadow the loop variable to avoid aliasing
vpnClientRootCertificateItem := vpnClientRootCertificateItem
- var vpnClientRootCertificate v20201101s.VpnClientRootCertificate
+ var vpnClientRootCertificate storage.VpnClientRootCertificate
err := vpnClientRootCertificateItem.AssignProperties_To_VpnClientRootCertificate(&vpnClientRootCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VpnClientRootCertificate() to populate field VpnClientRootCertificates")
@@ -3825,7 +3879,7 @@ func (configuration *VpnClientConfiguration) Initialize_From_VpnClientConfigurat
for vpnAuthenticationTypeIndex, vpnAuthenticationTypeItem := range source.VpnAuthenticationTypes {
// Shadow the loop variable to avoid aliasing
vpnAuthenticationTypeItem := vpnAuthenticationTypeItem
- vpnAuthenticationType := VpnClientConfiguration_VpnAuthenticationTypes(vpnAuthenticationTypeItem)
+ vpnAuthenticationType := genruntime.ToEnum(string(vpnAuthenticationTypeItem), vpnClientConfiguration_VpnAuthenticationTypes_Values)
vpnAuthenticationTypeList[vpnAuthenticationTypeIndex] = vpnAuthenticationType
}
configuration.VpnAuthenticationTypes = vpnAuthenticationTypeList
@@ -3869,7 +3923,7 @@ func (configuration *VpnClientConfiguration) Initialize_From_VpnClientConfigurat
for vpnClientProtocolIndex, vpnClientProtocolItem := range source.VpnClientProtocols {
// Shadow the loop variable to avoid aliasing
vpnClientProtocolItem := vpnClientProtocolItem
- vpnClientProtocol := VpnClientConfiguration_VpnClientProtocols(vpnClientProtocolItem)
+ vpnClientProtocol := genruntime.ToEnum(string(vpnClientProtocolItem), vpnClientConfiguration_VpnClientProtocols_Values)
vpnClientProtocolList[vpnClientProtocolIndex] = vpnClientProtocol
}
configuration.VpnClientProtocols = vpnClientProtocolList
@@ -4069,7 +4123,7 @@ func (configuration *VpnClientConfiguration_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_VpnClientConfiguration_STATUS populates our VpnClientConfiguration_STATUS from the provided source VpnClientConfiguration_STATUS
-func (configuration *VpnClientConfiguration_STATUS) AssignProperties_From_VpnClientConfiguration_STATUS(source *v20201101s.VpnClientConfiguration_STATUS) error {
+func (configuration *VpnClientConfiguration_STATUS) AssignProperties_From_VpnClientConfiguration_STATUS(source *storage.VpnClientConfiguration_STATUS) error {
// AadAudience
configuration.AadAudience = genruntime.ClonePointerToString(source.AadAudience)
@@ -4110,7 +4164,7 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_From_VpnCli
for vpnAuthenticationTypeIndex, vpnAuthenticationTypeItem := range source.VpnAuthenticationTypes {
// Shadow the loop variable to avoid aliasing
vpnAuthenticationTypeItem := vpnAuthenticationTypeItem
- vpnAuthenticationTypeList[vpnAuthenticationTypeIndex] = VpnClientConfiguration_VpnAuthenticationTypes_STATUS(vpnAuthenticationTypeItem)
+ vpnAuthenticationTypeList[vpnAuthenticationTypeIndex] = genruntime.ToEnum(vpnAuthenticationTypeItem, vpnClientConfiguration_VpnAuthenticationTypes_STATUS_Values)
}
configuration.VpnAuthenticationTypes = vpnAuthenticationTypeList
} else {
@@ -4153,7 +4207,7 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_From_VpnCli
for vpnClientProtocolIndex, vpnClientProtocolItem := range source.VpnClientProtocols {
// Shadow the loop variable to avoid aliasing
vpnClientProtocolItem := vpnClientProtocolItem
- vpnClientProtocolList[vpnClientProtocolIndex] = VpnClientConfiguration_VpnClientProtocols_STATUS(vpnClientProtocolItem)
+ vpnClientProtocolList[vpnClientProtocolIndex] = genruntime.ToEnum(vpnClientProtocolItem, vpnClientConfiguration_VpnClientProtocols_STATUS_Values)
}
configuration.VpnClientProtocols = vpnClientProtocolList
} else {
@@ -4201,7 +4255,7 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_From_VpnCli
}
// AssignProperties_To_VpnClientConfiguration_STATUS populates the provided destination VpnClientConfiguration_STATUS from our VpnClientConfiguration_STATUS
-func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClientConfiguration_STATUS(destination *v20201101s.VpnClientConfiguration_STATUS) error {
+func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClientConfiguration_STATUS(destination *storage.VpnClientConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4222,11 +4276,11 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClien
// RadiusServers
if configuration.RadiusServers != nil {
- radiusServerList := make([]v20201101s.RadiusServer_STATUS, len(configuration.RadiusServers))
+ radiusServerList := make([]storage.RadiusServer_STATUS, len(configuration.RadiusServers))
for radiusServerIndex, radiusServerItem := range configuration.RadiusServers {
// Shadow the loop variable to avoid aliasing
radiusServerItem := radiusServerItem
- var radiusServer v20201101s.RadiusServer_STATUS
+ var radiusServer storage.RadiusServer_STATUS
err := radiusServerItem.AssignProperties_To_RadiusServer_STATUS(&radiusServer)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RadiusServer_STATUS() to populate field RadiusServers")
@@ -4253,7 +4307,7 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClien
// VpnClientAddressPool
if configuration.VpnClientAddressPool != nil {
- var vpnClientAddressPool v20201101s.AddressSpace_STATUS
+ var vpnClientAddressPool storage.AddressSpace_STATUS
err := configuration.VpnClientAddressPool.AssignProperties_To_AddressSpace_STATUS(&vpnClientAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace_STATUS() to populate field VpnClientAddressPool")
@@ -4265,11 +4319,11 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClien
// VpnClientIpsecPolicies
if configuration.VpnClientIpsecPolicies != nil {
- vpnClientIpsecPolicyList := make([]v20201101s.IpsecPolicy_STATUS, len(configuration.VpnClientIpsecPolicies))
+ vpnClientIpsecPolicyList := make([]storage.IpsecPolicy_STATUS, len(configuration.VpnClientIpsecPolicies))
for vpnClientIpsecPolicyIndex, vpnClientIpsecPolicyItem := range configuration.VpnClientIpsecPolicies {
// Shadow the loop variable to avoid aliasing
vpnClientIpsecPolicyItem := vpnClientIpsecPolicyItem
- var vpnClientIpsecPolicy v20201101s.IpsecPolicy_STATUS
+ var vpnClientIpsecPolicy storage.IpsecPolicy_STATUS
err := vpnClientIpsecPolicyItem.AssignProperties_To_IpsecPolicy_STATUS(&vpnClientIpsecPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpsecPolicy_STATUS() to populate field VpnClientIpsecPolicies")
@@ -4296,11 +4350,11 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClien
// VpnClientRevokedCertificates
if configuration.VpnClientRevokedCertificates != nil {
- vpnClientRevokedCertificateList := make([]v20201101s.VpnClientRevokedCertificate_STATUS, len(configuration.VpnClientRevokedCertificates))
+ vpnClientRevokedCertificateList := make([]storage.VpnClientRevokedCertificate_STATUS, len(configuration.VpnClientRevokedCertificates))
for vpnClientRevokedCertificateIndex, vpnClientRevokedCertificateItem := range configuration.VpnClientRevokedCertificates {
// Shadow the loop variable to avoid aliasing
vpnClientRevokedCertificateItem := vpnClientRevokedCertificateItem
- var vpnClientRevokedCertificate v20201101s.VpnClientRevokedCertificate_STATUS
+ var vpnClientRevokedCertificate storage.VpnClientRevokedCertificate_STATUS
err := vpnClientRevokedCertificateItem.AssignProperties_To_VpnClientRevokedCertificate_STATUS(&vpnClientRevokedCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VpnClientRevokedCertificate_STATUS() to populate field VpnClientRevokedCertificates")
@@ -4314,11 +4368,11 @@ func (configuration *VpnClientConfiguration_STATUS) AssignProperties_To_VpnClien
// VpnClientRootCertificates
if configuration.VpnClientRootCertificates != nil {
- vpnClientRootCertificateList := make([]v20201101s.VpnClientRootCertificate_STATUS, len(configuration.VpnClientRootCertificates))
+ vpnClientRootCertificateList := make([]storage.VpnClientRootCertificate_STATUS, len(configuration.VpnClientRootCertificates))
for vpnClientRootCertificateIndex, vpnClientRootCertificateItem := range configuration.VpnClientRootCertificates {
// Shadow the loop variable to avoid aliasing
vpnClientRootCertificateItem := vpnClientRootCertificateItem
- var vpnClientRootCertificate v20201101s.VpnClientRootCertificate_STATUS
+ var vpnClientRootCertificate storage.VpnClientRootCertificate_STATUS
err := vpnClientRootCertificateItem.AssignProperties_To_VpnClientRootCertificate_STATUS(&vpnClientRootCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VpnClientRootCertificate_STATUS() to populate field VpnClientRootCertificates")
@@ -4400,7 +4454,7 @@ func (address *IPConfigurationBgpPeeringAddress) PopulateFromARM(owner genruntim
}
// AssignProperties_From_IPConfigurationBgpPeeringAddress populates our IPConfigurationBgpPeeringAddress from the provided source IPConfigurationBgpPeeringAddress
-func (address *IPConfigurationBgpPeeringAddress) AssignProperties_From_IPConfigurationBgpPeeringAddress(source *v20201101s.IPConfigurationBgpPeeringAddress) error {
+func (address *IPConfigurationBgpPeeringAddress) AssignProperties_From_IPConfigurationBgpPeeringAddress(source *storage.IPConfigurationBgpPeeringAddress) error {
// CustomBgpIpAddresses
address.CustomBgpIpAddresses = genruntime.CloneSliceOfString(source.CustomBgpIpAddresses)
@@ -4413,7 +4467,7 @@ func (address *IPConfigurationBgpPeeringAddress) AssignProperties_From_IPConfigu
}
// AssignProperties_To_IPConfigurationBgpPeeringAddress populates the provided destination IPConfigurationBgpPeeringAddress from our IPConfigurationBgpPeeringAddress
-func (address *IPConfigurationBgpPeeringAddress) AssignProperties_To_IPConfigurationBgpPeeringAddress(destination *v20201101s.IPConfigurationBgpPeeringAddress) error {
+func (address *IPConfigurationBgpPeeringAddress) AssignProperties_To_IPConfigurationBgpPeeringAddress(destination *storage.IPConfigurationBgpPeeringAddress) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4502,7 +4556,7 @@ func (address *IPConfigurationBgpPeeringAddress_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_IPConfigurationBgpPeeringAddress_STATUS populates our IPConfigurationBgpPeeringAddress_STATUS from the provided source IPConfigurationBgpPeeringAddress_STATUS
-func (address *IPConfigurationBgpPeeringAddress_STATUS) AssignProperties_From_IPConfigurationBgpPeeringAddress_STATUS(source *v20201101s.IPConfigurationBgpPeeringAddress_STATUS) error {
+func (address *IPConfigurationBgpPeeringAddress_STATUS) AssignProperties_From_IPConfigurationBgpPeeringAddress_STATUS(source *storage.IPConfigurationBgpPeeringAddress_STATUS) error {
// CustomBgpIpAddresses
address.CustomBgpIpAddresses = genruntime.CloneSliceOfString(source.CustomBgpIpAddresses)
@@ -4521,7 +4575,7 @@ func (address *IPConfigurationBgpPeeringAddress_STATUS) AssignProperties_From_IP
}
// AssignProperties_To_IPConfigurationBgpPeeringAddress_STATUS populates the provided destination IPConfigurationBgpPeeringAddress_STATUS from our IPConfigurationBgpPeeringAddress_STATUS
-func (address *IPConfigurationBgpPeeringAddress_STATUS) AssignProperties_To_IPConfigurationBgpPeeringAddress_STATUS(destination *v20201101s.IPConfigurationBgpPeeringAddress_STATUS) error {
+func (address *IPConfigurationBgpPeeringAddress_STATUS) AssignProperties_To_IPConfigurationBgpPeeringAddress_STATUS(destination *storage.IPConfigurationBgpPeeringAddress_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4709,52 +4763,58 @@ func (policy *IpsecPolicy) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_IpsecPolicy populates our IpsecPolicy from the provided source IpsecPolicy
-func (policy *IpsecPolicy) AssignProperties_From_IpsecPolicy(source *v20201101s.IpsecPolicy) error {
+func (policy *IpsecPolicy) AssignProperties_From_IpsecPolicy(source *storage.IpsecPolicy) error {
// DhGroup
if source.DhGroup != nil {
- dhGroup := DhGroup(*source.DhGroup)
- policy.DhGroup = &dhGroup
+ dhGroup := *source.DhGroup
+ dhGroupTemp := genruntime.ToEnum(dhGroup, dhGroup_Values)
+ policy.DhGroup = &dhGroupTemp
} else {
policy.DhGroup = nil
}
// IkeEncryption
if source.IkeEncryption != nil {
- ikeEncryption := IkeEncryption(*source.IkeEncryption)
- policy.IkeEncryption = &ikeEncryption
+ ikeEncryption := *source.IkeEncryption
+ ikeEncryptionTemp := genruntime.ToEnum(ikeEncryption, ikeEncryption_Values)
+ policy.IkeEncryption = &ikeEncryptionTemp
} else {
policy.IkeEncryption = nil
}
// IkeIntegrity
if source.IkeIntegrity != nil {
- ikeIntegrity := IkeIntegrity(*source.IkeIntegrity)
- policy.IkeIntegrity = &ikeIntegrity
+ ikeIntegrity := *source.IkeIntegrity
+ ikeIntegrityTemp := genruntime.ToEnum(ikeIntegrity, ikeIntegrity_Values)
+ policy.IkeIntegrity = &ikeIntegrityTemp
} else {
policy.IkeIntegrity = nil
}
// IpsecEncryption
if source.IpsecEncryption != nil {
- ipsecEncryption := IpsecEncryption(*source.IpsecEncryption)
- policy.IpsecEncryption = &ipsecEncryption
+ ipsecEncryption := *source.IpsecEncryption
+ ipsecEncryptionTemp := genruntime.ToEnum(ipsecEncryption, ipsecEncryption_Values)
+ policy.IpsecEncryption = &ipsecEncryptionTemp
} else {
policy.IpsecEncryption = nil
}
// IpsecIntegrity
if source.IpsecIntegrity != nil {
- ipsecIntegrity := IpsecIntegrity(*source.IpsecIntegrity)
- policy.IpsecIntegrity = &ipsecIntegrity
+ ipsecIntegrity := *source.IpsecIntegrity
+ ipsecIntegrityTemp := genruntime.ToEnum(ipsecIntegrity, ipsecIntegrity_Values)
+ policy.IpsecIntegrity = &ipsecIntegrityTemp
} else {
policy.IpsecIntegrity = nil
}
// PfsGroup
if source.PfsGroup != nil {
- pfsGroup := PfsGroup(*source.PfsGroup)
- policy.PfsGroup = &pfsGroup
+ pfsGroup := *source.PfsGroup
+ pfsGroupTemp := genruntime.ToEnum(pfsGroup, pfsGroup_Values)
+ policy.PfsGroup = &pfsGroupTemp
} else {
policy.PfsGroup = nil
}
@@ -4770,7 +4830,7 @@ func (policy *IpsecPolicy) AssignProperties_From_IpsecPolicy(source *v20201101s.
}
// AssignProperties_To_IpsecPolicy populates the provided destination IpsecPolicy from our IpsecPolicy
-func (policy *IpsecPolicy) AssignProperties_To_IpsecPolicy(destination *v20201101s.IpsecPolicy) error {
+func (policy *IpsecPolicy) AssignProperties_To_IpsecPolicy(destination *storage.IpsecPolicy) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4844,7 +4904,7 @@ func (policy *IpsecPolicy) Initialize_From_IpsecPolicy_STATUS(source *IpsecPolic
// DhGroup
if source.DhGroup != nil {
- dhGroup := DhGroup(*source.DhGroup)
+ dhGroup := genruntime.ToEnum(string(*source.DhGroup), dhGroup_Values)
policy.DhGroup = &dhGroup
} else {
policy.DhGroup = nil
@@ -4852,7 +4912,7 @@ func (policy *IpsecPolicy) Initialize_From_IpsecPolicy_STATUS(source *IpsecPolic
// IkeEncryption
if source.IkeEncryption != nil {
- ikeEncryption := IkeEncryption(*source.IkeEncryption)
+ ikeEncryption := genruntime.ToEnum(string(*source.IkeEncryption), ikeEncryption_Values)
policy.IkeEncryption = &ikeEncryption
} else {
policy.IkeEncryption = nil
@@ -4860,7 +4920,7 @@ func (policy *IpsecPolicy) Initialize_From_IpsecPolicy_STATUS(source *IpsecPolic
// IkeIntegrity
if source.IkeIntegrity != nil {
- ikeIntegrity := IkeIntegrity(*source.IkeIntegrity)
+ ikeIntegrity := genruntime.ToEnum(string(*source.IkeIntegrity), ikeIntegrity_Values)
policy.IkeIntegrity = &ikeIntegrity
} else {
policy.IkeIntegrity = nil
@@ -4868,7 +4928,7 @@ func (policy *IpsecPolicy) Initialize_From_IpsecPolicy_STATUS(source *IpsecPolic
// IpsecEncryption
if source.IpsecEncryption != nil {
- ipsecEncryption := IpsecEncryption(*source.IpsecEncryption)
+ ipsecEncryption := genruntime.ToEnum(string(*source.IpsecEncryption), ipsecEncryption_Values)
policy.IpsecEncryption = &ipsecEncryption
} else {
policy.IpsecEncryption = nil
@@ -4876,7 +4936,7 @@ func (policy *IpsecPolicy) Initialize_From_IpsecPolicy_STATUS(source *IpsecPolic
// IpsecIntegrity
if source.IpsecIntegrity != nil {
- ipsecIntegrity := IpsecIntegrity(*source.IpsecIntegrity)
+ ipsecIntegrity := genruntime.ToEnum(string(*source.IpsecIntegrity), ipsecIntegrity_Values)
policy.IpsecIntegrity = &ipsecIntegrity
} else {
policy.IpsecIntegrity = nil
@@ -4884,7 +4944,7 @@ func (policy *IpsecPolicy) Initialize_From_IpsecPolicy_STATUS(source *IpsecPolic
// PfsGroup
if source.PfsGroup != nil {
- pfsGroup := PfsGroup(*source.PfsGroup)
+ pfsGroup := genruntime.ToEnum(string(*source.PfsGroup), pfsGroup_Values)
policy.PfsGroup = &pfsGroup
} else {
policy.PfsGroup = nil
@@ -4996,52 +5056,58 @@ func (policy *IpsecPolicy_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_IpsecPolicy_STATUS populates our IpsecPolicy_STATUS from the provided source IpsecPolicy_STATUS
-func (policy *IpsecPolicy_STATUS) AssignProperties_From_IpsecPolicy_STATUS(source *v20201101s.IpsecPolicy_STATUS) error {
+func (policy *IpsecPolicy_STATUS) AssignProperties_From_IpsecPolicy_STATUS(source *storage.IpsecPolicy_STATUS) error {
// DhGroup
if source.DhGroup != nil {
- dhGroup := DhGroup_STATUS(*source.DhGroup)
- policy.DhGroup = &dhGroup
+ dhGroup := *source.DhGroup
+ dhGroupTemp := genruntime.ToEnum(dhGroup, dhGroup_STATUS_Values)
+ policy.DhGroup = &dhGroupTemp
} else {
policy.DhGroup = nil
}
// IkeEncryption
if source.IkeEncryption != nil {
- ikeEncryption := IkeEncryption_STATUS(*source.IkeEncryption)
- policy.IkeEncryption = &ikeEncryption
+ ikeEncryption := *source.IkeEncryption
+ ikeEncryptionTemp := genruntime.ToEnum(ikeEncryption, ikeEncryption_STATUS_Values)
+ policy.IkeEncryption = &ikeEncryptionTemp
} else {
policy.IkeEncryption = nil
}
// IkeIntegrity
if source.IkeIntegrity != nil {
- ikeIntegrity := IkeIntegrity_STATUS(*source.IkeIntegrity)
- policy.IkeIntegrity = &ikeIntegrity
+ ikeIntegrity := *source.IkeIntegrity
+ ikeIntegrityTemp := genruntime.ToEnum(ikeIntegrity, ikeIntegrity_STATUS_Values)
+ policy.IkeIntegrity = &ikeIntegrityTemp
} else {
policy.IkeIntegrity = nil
}
// IpsecEncryption
if source.IpsecEncryption != nil {
- ipsecEncryption := IpsecEncryption_STATUS(*source.IpsecEncryption)
- policy.IpsecEncryption = &ipsecEncryption
+ ipsecEncryption := *source.IpsecEncryption
+ ipsecEncryptionTemp := genruntime.ToEnum(ipsecEncryption, ipsecEncryption_STATUS_Values)
+ policy.IpsecEncryption = &ipsecEncryptionTemp
} else {
policy.IpsecEncryption = nil
}
// IpsecIntegrity
if source.IpsecIntegrity != nil {
- ipsecIntegrity := IpsecIntegrity_STATUS(*source.IpsecIntegrity)
- policy.IpsecIntegrity = &ipsecIntegrity
+ ipsecIntegrity := *source.IpsecIntegrity
+ ipsecIntegrityTemp := genruntime.ToEnum(ipsecIntegrity, ipsecIntegrity_STATUS_Values)
+ policy.IpsecIntegrity = &ipsecIntegrityTemp
} else {
policy.IpsecIntegrity = nil
}
// PfsGroup
if source.PfsGroup != nil {
- pfsGroup := PfsGroup_STATUS(*source.PfsGroup)
- policy.PfsGroup = &pfsGroup
+ pfsGroup := *source.PfsGroup
+ pfsGroupTemp := genruntime.ToEnum(pfsGroup, pfsGroup_STATUS_Values)
+ policy.PfsGroup = &pfsGroupTemp
} else {
policy.PfsGroup = nil
}
@@ -5057,7 +5123,7 @@ func (policy *IpsecPolicy_STATUS) AssignProperties_From_IpsecPolicy_STATUS(sourc
}
// AssignProperties_To_IpsecPolicy_STATUS populates the provided destination IpsecPolicy_STATUS from our IpsecPolicy_STATUS
-func (policy *IpsecPolicy_STATUS) AssignProperties_To_IpsecPolicy_STATUS(destination *v20201101s.IpsecPolicy_STATUS) error {
+func (policy *IpsecPolicy_STATUS) AssignProperties_To_IpsecPolicy_STATUS(destination *storage.IpsecPolicy_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5203,7 +5269,7 @@ func (server *RadiusServer) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_RadiusServer populates our RadiusServer from the provided source RadiusServer
-func (server *RadiusServer) AssignProperties_From_RadiusServer(source *v20201101s.RadiusServer) error {
+func (server *RadiusServer) AssignProperties_From_RadiusServer(source *storage.RadiusServer) error {
// RadiusServerAddress
server.RadiusServerAddress = genruntime.ClonePointerToString(source.RadiusServerAddress)
@@ -5219,7 +5285,7 @@ func (server *RadiusServer) AssignProperties_From_RadiusServer(source *v20201101
}
// AssignProperties_To_RadiusServer populates the provided destination RadiusServer from our RadiusServer
-func (server *RadiusServer) AssignProperties_To_RadiusServer(destination *v20201101s.RadiusServer) error {
+func (server *RadiusServer) AssignProperties_To_RadiusServer(destination *storage.RadiusServer) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5308,7 +5374,7 @@ func (server *RadiusServer_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_RadiusServer_STATUS populates our RadiusServer_STATUS from the provided source RadiusServer_STATUS
-func (server *RadiusServer_STATUS) AssignProperties_From_RadiusServer_STATUS(source *v20201101s.RadiusServer_STATUS) error {
+func (server *RadiusServer_STATUS) AssignProperties_From_RadiusServer_STATUS(source *storage.RadiusServer_STATUS) error {
// RadiusServerAddress
server.RadiusServerAddress = genruntime.ClonePointerToString(source.RadiusServerAddress)
@@ -5324,7 +5390,7 @@ func (server *RadiusServer_STATUS) AssignProperties_From_RadiusServer_STATUS(sou
}
// AssignProperties_To_RadiusServer_STATUS populates the provided destination RadiusServer_STATUS from our RadiusServer_STATUS
-func (server *RadiusServer_STATUS) AssignProperties_To_RadiusServer_STATUS(destination *v20201101s.RadiusServer_STATUS) error {
+func (server *RadiusServer_STATUS) AssignProperties_To_RadiusServer_STATUS(destination *storage.RadiusServer_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5371,6 +5437,27 @@ const (
VirtualNetworkGatewaySku_Name_VpnGw5AZ = VirtualNetworkGatewaySku_Name("VpnGw5AZ")
)
+// Mapping from string to VirtualNetworkGatewaySku_Name
+var virtualNetworkGatewaySku_Name_Values = map[string]VirtualNetworkGatewaySku_Name{
+ "basic": VirtualNetworkGatewaySku_Name_Basic,
+ "ergw1az": VirtualNetworkGatewaySku_Name_ErGw1AZ,
+ "ergw2az": VirtualNetworkGatewaySku_Name_ErGw2AZ,
+ "ergw3az": VirtualNetworkGatewaySku_Name_ErGw3AZ,
+ "highperformance": VirtualNetworkGatewaySku_Name_HighPerformance,
+ "standard": VirtualNetworkGatewaySku_Name_Standard,
+ "ultraperformance": VirtualNetworkGatewaySku_Name_UltraPerformance,
+ "vpngw1": VirtualNetworkGatewaySku_Name_VpnGw1,
+ "vpngw1az": VirtualNetworkGatewaySku_Name_VpnGw1AZ,
+ "vpngw2": VirtualNetworkGatewaySku_Name_VpnGw2,
+ "vpngw2az": VirtualNetworkGatewaySku_Name_VpnGw2AZ,
+ "vpngw3": VirtualNetworkGatewaySku_Name_VpnGw3,
+ "vpngw3az": VirtualNetworkGatewaySku_Name_VpnGw3AZ,
+ "vpngw4": VirtualNetworkGatewaySku_Name_VpnGw4,
+ "vpngw4az": VirtualNetworkGatewaySku_Name_VpnGw4AZ,
+ "vpngw5": VirtualNetworkGatewaySku_Name_VpnGw5,
+ "vpngw5az": VirtualNetworkGatewaySku_Name_VpnGw5AZ,
+}
+
type VirtualNetworkGatewaySku_Name_STATUS string
const (
@@ -5393,6 +5480,27 @@ const (
VirtualNetworkGatewaySku_Name_STATUS_VpnGw5AZ = VirtualNetworkGatewaySku_Name_STATUS("VpnGw5AZ")
)
+// Mapping from string to VirtualNetworkGatewaySku_Name_STATUS
+var virtualNetworkGatewaySku_Name_STATUS_Values = map[string]VirtualNetworkGatewaySku_Name_STATUS{
+ "basic": VirtualNetworkGatewaySku_Name_STATUS_Basic,
+ "ergw1az": VirtualNetworkGatewaySku_Name_STATUS_ErGw1AZ,
+ "ergw2az": VirtualNetworkGatewaySku_Name_STATUS_ErGw2AZ,
+ "ergw3az": VirtualNetworkGatewaySku_Name_STATUS_ErGw3AZ,
+ "highperformance": VirtualNetworkGatewaySku_Name_STATUS_HighPerformance,
+ "standard": VirtualNetworkGatewaySku_Name_STATUS_Standard,
+ "ultraperformance": VirtualNetworkGatewaySku_Name_STATUS_UltraPerformance,
+ "vpngw1": VirtualNetworkGatewaySku_Name_STATUS_VpnGw1,
+ "vpngw1az": VirtualNetworkGatewaySku_Name_STATUS_VpnGw1AZ,
+ "vpngw2": VirtualNetworkGatewaySku_Name_STATUS_VpnGw2,
+ "vpngw2az": VirtualNetworkGatewaySku_Name_STATUS_VpnGw2AZ,
+ "vpngw3": VirtualNetworkGatewaySku_Name_STATUS_VpnGw3,
+ "vpngw3az": VirtualNetworkGatewaySku_Name_STATUS_VpnGw3AZ,
+ "vpngw4": VirtualNetworkGatewaySku_Name_STATUS_VpnGw4,
+ "vpngw4az": VirtualNetworkGatewaySku_Name_STATUS_VpnGw4AZ,
+ "vpngw5": VirtualNetworkGatewaySku_Name_STATUS_VpnGw5,
+ "vpngw5az": VirtualNetworkGatewaySku_Name_STATUS_VpnGw5AZ,
+}
+
// +kubebuilder:validation:Enum={"Basic","ErGw1AZ","ErGw2AZ","ErGw3AZ","HighPerformance","Standard","UltraPerformance","VpnGw1","VpnGw1AZ","VpnGw2","VpnGw2AZ","VpnGw3","VpnGw3AZ","VpnGw4","VpnGw4AZ","VpnGw5","VpnGw5AZ"}
type VirtualNetworkGatewaySku_Tier string
@@ -5416,6 +5524,27 @@ const (
VirtualNetworkGatewaySku_Tier_VpnGw5AZ = VirtualNetworkGatewaySku_Tier("VpnGw5AZ")
)
+// Mapping from string to VirtualNetworkGatewaySku_Tier
+var virtualNetworkGatewaySku_Tier_Values = map[string]VirtualNetworkGatewaySku_Tier{
+ "basic": VirtualNetworkGatewaySku_Tier_Basic,
+ "ergw1az": VirtualNetworkGatewaySku_Tier_ErGw1AZ,
+ "ergw2az": VirtualNetworkGatewaySku_Tier_ErGw2AZ,
+ "ergw3az": VirtualNetworkGatewaySku_Tier_ErGw3AZ,
+ "highperformance": VirtualNetworkGatewaySku_Tier_HighPerformance,
+ "standard": VirtualNetworkGatewaySku_Tier_Standard,
+ "ultraperformance": VirtualNetworkGatewaySku_Tier_UltraPerformance,
+ "vpngw1": VirtualNetworkGatewaySku_Tier_VpnGw1,
+ "vpngw1az": VirtualNetworkGatewaySku_Tier_VpnGw1AZ,
+ "vpngw2": VirtualNetworkGatewaySku_Tier_VpnGw2,
+ "vpngw2az": VirtualNetworkGatewaySku_Tier_VpnGw2AZ,
+ "vpngw3": VirtualNetworkGatewaySku_Tier_VpnGw3,
+ "vpngw3az": VirtualNetworkGatewaySku_Tier_VpnGw3AZ,
+ "vpngw4": VirtualNetworkGatewaySku_Tier_VpnGw4,
+ "vpngw4az": VirtualNetworkGatewaySku_Tier_VpnGw4AZ,
+ "vpngw5": VirtualNetworkGatewaySku_Tier_VpnGw5,
+ "vpngw5az": VirtualNetworkGatewaySku_Tier_VpnGw5AZ,
+}
+
type VirtualNetworkGatewaySku_Tier_STATUS string
const (
@@ -5438,6 +5567,27 @@ const (
VirtualNetworkGatewaySku_Tier_STATUS_VpnGw5AZ = VirtualNetworkGatewaySku_Tier_STATUS("VpnGw5AZ")
)
+// Mapping from string to VirtualNetworkGatewaySku_Tier_STATUS
+var virtualNetworkGatewaySku_Tier_STATUS_Values = map[string]VirtualNetworkGatewaySku_Tier_STATUS{
+ "basic": VirtualNetworkGatewaySku_Tier_STATUS_Basic,
+ "ergw1az": VirtualNetworkGatewaySku_Tier_STATUS_ErGw1AZ,
+ "ergw2az": VirtualNetworkGatewaySku_Tier_STATUS_ErGw2AZ,
+ "ergw3az": VirtualNetworkGatewaySku_Tier_STATUS_ErGw3AZ,
+ "highperformance": VirtualNetworkGatewaySku_Tier_STATUS_HighPerformance,
+ "standard": VirtualNetworkGatewaySku_Tier_STATUS_Standard,
+ "ultraperformance": VirtualNetworkGatewaySku_Tier_STATUS_UltraPerformance,
+ "vpngw1": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw1,
+ "vpngw1az": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw1AZ,
+ "vpngw2": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw2,
+ "vpngw2az": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw2AZ,
+ "vpngw3": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw3,
+ "vpngw3az": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw3AZ,
+ "vpngw4": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw4,
+ "vpngw4az": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw4AZ,
+ "vpngw5": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw5,
+ "vpngw5az": VirtualNetworkGatewaySku_Tier_STATUS_VpnGw5AZ,
+}
+
// +kubebuilder:validation:Enum={"AAD","Certificate","Radius"}
type VpnClientConfiguration_VpnAuthenticationTypes string
@@ -5447,6 +5597,13 @@ const (
VpnClientConfiguration_VpnAuthenticationTypes_Radius = VpnClientConfiguration_VpnAuthenticationTypes("Radius")
)
+// Mapping from string to VpnClientConfiguration_VpnAuthenticationTypes
+var vpnClientConfiguration_VpnAuthenticationTypes_Values = map[string]VpnClientConfiguration_VpnAuthenticationTypes{
+ "aad": VpnClientConfiguration_VpnAuthenticationTypes_AAD,
+ "certificate": VpnClientConfiguration_VpnAuthenticationTypes_Certificate,
+ "radius": VpnClientConfiguration_VpnAuthenticationTypes_Radius,
+}
+
type VpnClientConfiguration_VpnAuthenticationTypes_STATUS string
const (
@@ -5455,6 +5612,13 @@ const (
VpnClientConfiguration_VpnAuthenticationTypes_STATUS_Radius = VpnClientConfiguration_VpnAuthenticationTypes_STATUS("Radius")
)
+// Mapping from string to VpnClientConfiguration_VpnAuthenticationTypes_STATUS
+var vpnClientConfiguration_VpnAuthenticationTypes_STATUS_Values = map[string]VpnClientConfiguration_VpnAuthenticationTypes_STATUS{
+ "aad": VpnClientConfiguration_VpnAuthenticationTypes_STATUS_AAD,
+ "certificate": VpnClientConfiguration_VpnAuthenticationTypes_STATUS_Certificate,
+ "radius": VpnClientConfiguration_VpnAuthenticationTypes_STATUS_Radius,
+}
+
// +kubebuilder:validation:Enum={"IkeV2","OpenVPN","SSTP"}
type VpnClientConfiguration_VpnClientProtocols string
@@ -5464,6 +5628,13 @@ const (
VpnClientConfiguration_VpnClientProtocols_SSTP = VpnClientConfiguration_VpnClientProtocols("SSTP")
)
+// Mapping from string to VpnClientConfiguration_VpnClientProtocols
+var vpnClientConfiguration_VpnClientProtocols_Values = map[string]VpnClientConfiguration_VpnClientProtocols{
+ "ikev2": VpnClientConfiguration_VpnClientProtocols_IkeV2,
+ "openvpn": VpnClientConfiguration_VpnClientProtocols_OpenVPN,
+ "sstp": VpnClientConfiguration_VpnClientProtocols_SSTP,
+}
+
type VpnClientConfiguration_VpnClientProtocols_STATUS string
const (
@@ -5472,6 +5643,13 @@ const (
VpnClientConfiguration_VpnClientProtocols_STATUS_SSTP = VpnClientConfiguration_VpnClientProtocols_STATUS("SSTP")
)
+// Mapping from string to VpnClientConfiguration_VpnClientProtocols_STATUS
+var vpnClientConfiguration_VpnClientProtocols_STATUS_Values = map[string]VpnClientConfiguration_VpnClientProtocols_STATUS{
+ "ikev2": VpnClientConfiguration_VpnClientProtocols_STATUS_IkeV2,
+ "openvpn": VpnClientConfiguration_VpnClientProtocols_STATUS_OpenVPN,
+ "sstp": VpnClientConfiguration_VpnClientProtocols_STATUS_SSTP,
+}
+
// VPN client revoked certificate of virtual network gateway.
type VpnClientRevokedCertificate struct {
// Name: The name of the resource that is unique within a resource group. This name can be used to access the resource.
@@ -5539,7 +5717,7 @@ func (certificate *VpnClientRevokedCertificate) PopulateFromARM(owner genruntime
}
// AssignProperties_From_VpnClientRevokedCertificate populates our VpnClientRevokedCertificate from the provided source VpnClientRevokedCertificate
-func (certificate *VpnClientRevokedCertificate) AssignProperties_From_VpnClientRevokedCertificate(source *v20201101s.VpnClientRevokedCertificate) error {
+func (certificate *VpnClientRevokedCertificate) AssignProperties_From_VpnClientRevokedCertificate(source *storage.VpnClientRevokedCertificate) error {
// Name
certificate.Name = genruntime.ClonePointerToString(source.Name)
@@ -5552,7 +5730,7 @@ func (certificate *VpnClientRevokedCertificate) AssignProperties_From_VpnClientR
}
// AssignProperties_To_VpnClientRevokedCertificate populates the provided destination VpnClientRevokedCertificate from our VpnClientRevokedCertificate
-func (certificate *VpnClientRevokedCertificate) AssignProperties_To_VpnClientRevokedCertificate(destination *v20201101s.VpnClientRevokedCertificate) error {
+func (certificate *VpnClientRevokedCertificate) AssignProperties_To_VpnClientRevokedCertificate(destination *storage.VpnClientRevokedCertificate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5659,7 +5837,7 @@ func (certificate *VpnClientRevokedCertificate_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_VpnClientRevokedCertificate_STATUS populates our VpnClientRevokedCertificate_STATUS from the provided source VpnClientRevokedCertificate_STATUS
-func (certificate *VpnClientRevokedCertificate_STATUS) AssignProperties_From_VpnClientRevokedCertificate_STATUS(source *v20201101s.VpnClientRevokedCertificate_STATUS) error {
+func (certificate *VpnClientRevokedCertificate_STATUS) AssignProperties_From_VpnClientRevokedCertificate_STATUS(source *storage.VpnClientRevokedCertificate_STATUS) error {
// Etag
certificate.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -5672,8 +5850,9 @@ func (certificate *VpnClientRevokedCertificate_STATUS) AssignProperties_From_Vpn
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- certificate.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ certificate.ProvisioningState = &provisioningStateTemp
} else {
certificate.ProvisioningState = nil
}
@@ -5686,7 +5865,7 @@ func (certificate *VpnClientRevokedCertificate_STATUS) AssignProperties_From_Vpn
}
// AssignProperties_To_VpnClientRevokedCertificate_STATUS populates the provided destination VpnClientRevokedCertificate_STATUS from our VpnClientRevokedCertificate_STATUS
-func (certificate *VpnClientRevokedCertificate_STATUS) AssignProperties_To_VpnClientRevokedCertificate_STATUS(destination *v20201101s.VpnClientRevokedCertificate_STATUS) error {
+func (certificate *VpnClientRevokedCertificate_STATUS) AssignProperties_To_VpnClientRevokedCertificate_STATUS(destination *storage.VpnClientRevokedCertificate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5789,7 +5968,7 @@ func (certificate *VpnClientRootCertificate) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_VpnClientRootCertificate populates our VpnClientRootCertificate from the provided source VpnClientRootCertificate
-func (certificate *VpnClientRootCertificate) AssignProperties_From_VpnClientRootCertificate(source *v20201101s.VpnClientRootCertificate) error {
+func (certificate *VpnClientRootCertificate) AssignProperties_From_VpnClientRootCertificate(source *storage.VpnClientRootCertificate) error {
// Name
certificate.Name = genruntime.ClonePointerToString(source.Name)
@@ -5802,7 +5981,7 @@ func (certificate *VpnClientRootCertificate) AssignProperties_From_VpnClientRoot
}
// AssignProperties_To_VpnClientRootCertificate populates the provided destination VpnClientRootCertificate from our VpnClientRootCertificate
-func (certificate *VpnClientRootCertificate) AssignProperties_To_VpnClientRootCertificate(destination *v20201101s.VpnClientRootCertificate) error {
+func (certificate *VpnClientRootCertificate) AssignProperties_To_VpnClientRootCertificate(destination *storage.VpnClientRootCertificate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5909,7 +6088,7 @@ func (certificate *VpnClientRootCertificate_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_VpnClientRootCertificate_STATUS populates our VpnClientRootCertificate_STATUS from the provided source VpnClientRootCertificate_STATUS
-func (certificate *VpnClientRootCertificate_STATUS) AssignProperties_From_VpnClientRootCertificate_STATUS(source *v20201101s.VpnClientRootCertificate_STATUS) error {
+func (certificate *VpnClientRootCertificate_STATUS) AssignProperties_From_VpnClientRootCertificate_STATUS(source *storage.VpnClientRootCertificate_STATUS) error {
// Etag
certificate.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -5922,8 +6101,9 @@ func (certificate *VpnClientRootCertificate_STATUS) AssignProperties_From_VpnCli
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- certificate.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ certificate.ProvisioningState = &provisioningStateTemp
} else {
certificate.ProvisioningState = nil
}
@@ -5936,7 +6116,7 @@ func (certificate *VpnClientRootCertificate_STATUS) AssignProperties_From_VpnCli
}
// AssignProperties_To_VpnClientRootCertificate_STATUS populates the provided destination VpnClientRootCertificate_STATUS from our VpnClientRootCertificate_STATUS
-func (certificate *VpnClientRootCertificate_STATUS) AssignProperties_To_VpnClientRootCertificate_STATUS(destination *v20201101s.VpnClientRootCertificate_STATUS) error {
+func (certificate *VpnClientRootCertificate_STATUS) AssignProperties_To_VpnClientRootCertificate_STATUS(destination *storage.VpnClientRootCertificate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5986,6 +6166,18 @@ const (
DhGroup_None = DhGroup("None")
)
+// Mapping from string to DhGroup
+var dhGroup_Values = map[string]DhGroup{
+ "dhgroup1": DhGroup_DHGroup1,
+ "dhgroup14": DhGroup_DHGroup14,
+ "dhgroup2": DhGroup_DHGroup2,
+ "dhgroup2048": DhGroup_DHGroup2048,
+ "dhgroup24": DhGroup_DHGroup24,
+ "ecp256": DhGroup_ECP256,
+ "ecp384": DhGroup_ECP384,
+ "none": DhGroup_None,
+}
+
// The DH Groups used in IKE Phase 1 for initial SA.
type DhGroup_STATUS string
@@ -6000,6 +6192,18 @@ const (
DhGroup_STATUS_None = DhGroup_STATUS("None")
)
+// Mapping from string to DhGroup_STATUS
+var dhGroup_STATUS_Values = map[string]DhGroup_STATUS{
+ "dhgroup1": DhGroup_STATUS_DHGroup1,
+ "dhgroup14": DhGroup_STATUS_DHGroup14,
+ "dhgroup2": DhGroup_STATUS_DHGroup2,
+ "dhgroup2048": DhGroup_STATUS_DHGroup2048,
+ "dhgroup24": DhGroup_STATUS_DHGroup24,
+ "ecp256": DhGroup_STATUS_ECP256,
+ "ecp384": DhGroup_STATUS_ECP384,
+ "none": DhGroup_STATUS_None,
+}
+
// The IKE encryption algorithm (IKE phase 2).
// +kubebuilder:validation:Enum={"AES128","AES192","AES256","DES","DES3","GCMAES128","GCMAES256"}
type IkeEncryption string
@@ -6014,6 +6218,17 @@ const (
IkeEncryption_GCMAES256 = IkeEncryption("GCMAES256")
)
+// Mapping from string to IkeEncryption
+var ikeEncryption_Values = map[string]IkeEncryption{
+ "aes128": IkeEncryption_AES128,
+ "aes192": IkeEncryption_AES192,
+ "aes256": IkeEncryption_AES256,
+ "des": IkeEncryption_DES,
+ "des3": IkeEncryption_DES3,
+ "gcmaes128": IkeEncryption_GCMAES128,
+ "gcmaes256": IkeEncryption_GCMAES256,
+}
+
// The IKE encryption algorithm (IKE phase 2).
type IkeEncryption_STATUS string
@@ -6027,6 +6242,17 @@ const (
IkeEncryption_STATUS_GCMAES256 = IkeEncryption_STATUS("GCMAES256")
)
+// Mapping from string to IkeEncryption_STATUS
+var ikeEncryption_STATUS_Values = map[string]IkeEncryption_STATUS{
+ "aes128": IkeEncryption_STATUS_AES128,
+ "aes192": IkeEncryption_STATUS_AES192,
+ "aes256": IkeEncryption_STATUS_AES256,
+ "des": IkeEncryption_STATUS_DES,
+ "des3": IkeEncryption_STATUS_DES3,
+ "gcmaes128": IkeEncryption_STATUS_GCMAES128,
+ "gcmaes256": IkeEncryption_STATUS_GCMAES256,
+}
+
// The IKE integrity algorithm (IKE phase 2).
// +kubebuilder:validation:Enum={"GCMAES128","GCMAES256","MD5","SHA1","SHA256","SHA384"}
type IkeIntegrity string
@@ -6040,6 +6266,16 @@ const (
IkeIntegrity_SHA384 = IkeIntegrity("SHA384")
)
+// Mapping from string to IkeIntegrity
+var ikeIntegrity_Values = map[string]IkeIntegrity{
+ "gcmaes128": IkeIntegrity_GCMAES128,
+ "gcmaes256": IkeIntegrity_GCMAES256,
+ "md5": IkeIntegrity_MD5,
+ "sha1": IkeIntegrity_SHA1,
+ "sha256": IkeIntegrity_SHA256,
+ "sha384": IkeIntegrity_SHA384,
+}
+
// The IKE integrity algorithm (IKE phase 2).
type IkeIntegrity_STATUS string
@@ -6052,6 +6288,16 @@ const (
IkeIntegrity_STATUS_SHA384 = IkeIntegrity_STATUS("SHA384")
)
+// Mapping from string to IkeIntegrity_STATUS
+var ikeIntegrity_STATUS_Values = map[string]IkeIntegrity_STATUS{
+ "gcmaes128": IkeIntegrity_STATUS_GCMAES128,
+ "gcmaes256": IkeIntegrity_STATUS_GCMAES256,
+ "md5": IkeIntegrity_STATUS_MD5,
+ "sha1": IkeIntegrity_STATUS_SHA1,
+ "sha256": IkeIntegrity_STATUS_SHA256,
+ "sha384": IkeIntegrity_STATUS_SHA384,
+}
+
// The IPSec encryption algorithm (IKE phase 1).
// +kubebuilder:validation:Enum={"AES128","AES192","AES256","DES","DES3","GCMAES128","GCMAES192","GCMAES256","None"}
type IpsecEncryption string
@@ -6068,6 +6314,19 @@ const (
IpsecEncryption_None = IpsecEncryption("None")
)
+// Mapping from string to IpsecEncryption
+var ipsecEncryption_Values = map[string]IpsecEncryption{
+ "aes128": IpsecEncryption_AES128,
+ "aes192": IpsecEncryption_AES192,
+ "aes256": IpsecEncryption_AES256,
+ "des": IpsecEncryption_DES,
+ "des3": IpsecEncryption_DES3,
+ "gcmaes128": IpsecEncryption_GCMAES128,
+ "gcmaes192": IpsecEncryption_GCMAES192,
+ "gcmaes256": IpsecEncryption_GCMAES256,
+ "none": IpsecEncryption_None,
+}
+
// The IPSec encryption algorithm (IKE phase 1).
type IpsecEncryption_STATUS string
@@ -6083,6 +6342,19 @@ const (
IpsecEncryption_STATUS_None = IpsecEncryption_STATUS("None")
)
+// Mapping from string to IpsecEncryption_STATUS
+var ipsecEncryption_STATUS_Values = map[string]IpsecEncryption_STATUS{
+ "aes128": IpsecEncryption_STATUS_AES128,
+ "aes192": IpsecEncryption_STATUS_AES192,
+ "aes256": IpsecEncryption_STATUS_AES256,
+ "des": IpsecEncryption_STATUS_DES,
+ "des3": IpsecEncryption_STATUS_DES3,
+ "gcmaes128": IpsecEncryption_STATUS_GCMAES128,
+ "gcmaes192": IpsecEncryption_STATUS_GCMAES192,
+ "gcmaes256": IpsecEncryption_STATUS_GCMAES256,
+ "none": IpsecEncryption_STATUS_None,
+}
+
// The IPSec integrity algorithm (IKE phase 1).
// +kubebuilder:validation:Enum={"GCMAES128","GCMAES192","GCMAES256","MD5","SHA1","SHA256"}
type IpsecIntegrity string
@@ -6096,6 +6368,16 @@ const (
IpsecIntegrity_SHA256 = IpsecIntegrity("SHA256")
)
+// Mapping from string to IpsecIntegrity
+var ipsecIntegrity_Values = map[string]IpsecIntegrity{
+ "gcmaes128": IpsecIntegrity_GCMAES128,
+ "gcmaes192": IpsecIntegrity_GCMAES192,
+ "gcmaes256": IpsecIntegrity_GCMAES256,
+ "md5": IpsecIntegrity_MD5,
+ "sha1": IpsecIntegrity_SHA1,
+ "sha256": IpsecIntegrity_SHA256,
+}
+
// The IPSec integrity algorithm (IKE phase 1).
type IpsecIntegrity_STATUS string
@@ -6108,6 +6390,16 @@ const (
IpsecIntegrity_STATUS_SHA256 = IpsecIntegrity_STATUS("SHA256")
)
+// Mapping from string to IpsecIntegrity_STATUS
+var ipsecIntegrity_STATUS_Values = map[string]IpsecIntegrity_STATUS{
+ "gcmaes128": IpsecIntegrity_STATUS_GCMAES128,
+ "gcmaes192": IpsecIntegrity_STATUS_GCMAES192,
+ "gcmaes256": IpsecIntegrity_STATUS_GCMAES256,
+ "md5": IpsecIntegrity_STATUS_MD5,
+ "sha1": IpsecIntegrity_STATUS_SHA1,
+ "sha256": IpsecIntegrity_STATUS_SHA256,
+}
+
// The Pfs Groups used in IKE Phase 2 for new child SA.
// +kubebuilder:validation:Enum={"ECP256","ECP384","None","PFS1","PFS14","PFS2","PFS2048","PFS24","PFSMM"}
type PfsGroup string
@@ -6124,6 +6416,19 @@ const (
PfsGroup_PFSMM = PfsGroup("PFSMM")
)
+// Mapping from string to PfsGroup
+var pfsGroup_Values = map[string]PfsGroup{
+ "ecp256": PfsGroup_ECP256,
+ "ecp384": PfsGroup_ECP384,
+ "none": PfsGroup_None,
+ "pfs1": PfsGroup_PFS1,
+ "pfs14": PfsGroup_PFS14,
+ "pfs2": PfsGroup_PFS2,
+ "pfs2048": PfsGroup_PFS2048,
+ "pfs24": PfsGroup_PFS24,
+ "pfsmm": PfsGroup_PFSMM,
+}
+
// The Pfs Groups used in IKE Phase 2 for new child SA.
type PfsGroup_STATUS string
@@ -6139,6 +6444,19 @@ const (
PfsGroup_STATUS_PFSMM = PfsGroup_STATUS("PFSMM")
)
+// Mapping from string to PfsGroup_STATUS
+var pfsGroup_STATUS_Values = map[string]PfsGroup_STATUS{
+ "ecp256": PfsGroup_STATUS_ECP256,
+ "ecp384": PfsGroup_STATUS_ECP384,
+ "none": PfsGroup_STATUS_None,
+ "pfs1": PfsGroup_STATUS_PFS1,
+ "pfs14": PfsGroup_STATUS_PFS14,
+ "pfs2": PfsGroup_STATUS_PFS2,
+ "pfs2048": PfsGroup_STATUS_PFS2048,
+ "pfs24": PfsGroup_STATUS_PFS24,
+ "pfsmm": PfsGroup_STATUS_PFSMM,
+}
+
func init() {
SchemeBuilder.Register(&VirtualNetworkGateway{}, &VirtualNetworkGatewayList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_types_gen.go
index 832196514c..cbadce539f 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_network_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &VirtualNetwork{}
// ConvertFrom populates our VirtualNetwork from the provided hub VirtualNetwork
func (network *VirtualNetwork) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.VirtualNetwork)
+ source, ok := hub.(*storage.VirtualNetwork)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetwork but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (network *VirtualNetwork) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub VirtualNetwork from our VirtualNetwork
func (network *VirtualNetwork) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.VirtualNetwork)
+ destination, ok := hub.(*storage.VirtualNetwork)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetwork but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (network *VirtualNetwork) validateWriteOnceProperties(old runtime.Object) (
}
// AssignProperties_From_VirtualNetwork populates our VirtualNetwork from the provided source VirtualNetwork
-func (network *VirtualNetwork) AssignProperties_From_VirtualNetwork(source *v20201101s.VirtualNetwork) error {
+func (network *VirtualNetwork) AssignProperties_From_VirtualNetwork(source *storage.VirtualNetwork) error {
// ObjectMeta
network.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (network *VirtualNetwork) AssignProperties_From_VirtualNetwork(source *v202
}
// AssignProperties_To_VirtualNetwork populates the provided destination VirtualNetwork from our VirtualNetwork
-func (network *VirtualNetwork) AssignProperties_To_VirtualNetwork(destination *v20201101s.VirtualNetwork) error {
+func (network *VirtualNetwork) AssignProperties_To_VirtualNetwork(destination *storage.VirtualNetwork) error {
// ObjectMeta
destination.ObjectMeta = *network.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.VirtualNetwork_Spec
+ var spec storage.VirtualNetwork_Spec
err := network.Spec.AssignProperties_To_VirtualNetwork_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetwork_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (network *VirtualNetwork) AssignProperties_To_VirtualNetwork(destination *v
destination.Spec = spec
// Status
- var status v20201101s.VirtualNetwork_STATUS
+ var status storage.VirtualNetwork_STATUS
err = network.Status.AssignProperties_To_VirtualNetwork_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetwork_STATUS() to populate field Status")
@@ -604,14 +604,14 @@ var _ genruntime.ConvertibleSpec = &VirtualNetwork_Spec{}
// ConvertSpecFrom populates our VirtualNetwork_Spec from the provided source
func (network *VirtualNetwork_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.VirtualNetwork_Spec)
+ src, ok := source.(*storage.VirtualNetwork_Spec)
if ok {
// Populate our instance from source
return network.AssignProperties_From_VirtualNetwork_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetwork_Spec{}
+ src = &storage.VirtualNetwork_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -628,14 +628,14 @@ func (network *VirtualNetwork_Spec) ConvertSpecFrom(source genruntime.Convertibl
// ConvertSpecTo populates the provided destination from our VirtualNetwork_Spec
func (network *VirtualNetwork_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.VirtualNetwork_Spec)
+ dst, ok := destination.(*storage.VirtualNetwork_Spec)
if ok {
// Populate destination from our instance
return network.AssignProperties_To_VirtualNetwork_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetwork_Spec{}
+ dst = &storage.VirtualNetwork_Spec{}
err := network.AssignProperties_To_VirtualNetwork_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -651,7 +651,7 @@ func (network *VirtualNetwork_Spec) ConvertSpecTo(destination genruntime.Convert
}
// AssignProperties_From_VirtualNetwork_Spec populates our VirtualNetwork_Spec from the provided source VirtualNetwork_Spec
-func (network *VirtualNetwork_Spec) AssignProperties_From_VirtualNetwork_Spec(source *v20201101s.VirtualNetwork_Spec) error {
+func (network *VirtualNetwork_Spec) AssignProperties_From_VirtualNetwork_Spec(source *storage.VirtualNetwork_Spec) error {
// AddressSpace
if source.AddressSpace != nil {
@@ -769,13 +769,13 @@ func (network *VirtualNetwork_Spec) AssignProperties_From_VirtualNetwork_Spec(so
}
// AssignProperties_To_VirtualNetwork_Spec populates the provided destination VirtualNetwork_Spec from our VirtualNetwork_Spec
-func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(destination *v20201101s.VirtualNetwork_Spec) error {
+func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(destination *storage.VirtualNetwork_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AddressSpace
if network.AddressSpace != nil {
- var addressSpace v20201101s.AddressSpace
+ var addressSpace storage.AddressSpace
err := network.AddressSpace.AssignProperties_To_AddressSpace(&addressSpace)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace() to populate field AddressSpace")
@@ -790,7 +790,7 @@ func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(dest
// BgpCommunities
if network.BgpCommunities != nil {
- var bgpCommunity v20201101s.VirtualNetworkBgpCommunities
+ var bgpCommunity storage.VirtualNetworkBgpCommunities
err := network.BgpCommunities.AssignProperties_To_VirtualNetworkBgpCommunities(&bgpCommunity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkBgpCommunities() to populate field BgpCommunities")
@@ -802,7 +802,7 @@ func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(dest
// DdosProtectionPlan
if network.DdosProtectionPlan != nil {
- var ddosProtectionPlan v20201101s.SubResource
+ var ddosProtectionPlan storage.SubResource
err := network.DdosProtectionPlan.AssignProperties_To_SubResource(&ddosProtectionPlan)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field DdosProtectionPlan")
@@ -814,7 +814,7 @@ func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(dest
// DhcpOptions
if network.DhcpOptions != nil {
- var dhcpOption v20201101s.DhcpOptions
+ var dhcpOption storage.DhcpOptions
err := network.DhcpOptions.AssignProperties_To_DhcpOptions(&dhcpOption)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DhcpOptions() to populate field DhcpOptions")
@@ -842,7 +842,7 @@ func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(dest
// ExtendedLocation
if network.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := network.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -854,11 +854,11 @@ func (network *VirtualNetwork_Spec) AssignProperties_To_VirtualNetwork_Spec(dest
// IpAllocations
if network.IpAllocations != nil {
- ipAllocationList := make([]v20201101s.SubResource, len(network.IpAllocations))
+ ipAllocationList := make([]storage.SubResource, len(network.IpAllocations))
for ipAllocationIndex, ipAllocationItem := range network.IpAllocations {
// Shadow the loop variable to avoid aliasing
ipAllocationItem := ipAllocationItem
- var ipAllocation v20201101s.SubResource
+ var ipAllocation storage.SubResource
err := ipAllocationItem.AssignProperties_To_SubResource(&ipAllocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field IpAllocations")
@@ -1072,14 +1072,14 @@ var _ genruntime.ConvertibleStatus = &VirtualNetwork_STATUS{}
// ConvertStatusFrom populates our VirtualNetwork_STATUS from the provided source
func (network *VirtualNetwork_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.VirtualNetwork_STATUS)
+ src, ok := source.(*storage.VirtualNetwork_STATUS)
if ok {
// Populate our instance from source
return network.AssignProperties_From_VirtualNetwork_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetwork_STATUS{}
+ src = &storage.VirtualNetwork_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1096,14 +1096,14 @@ func (network *VirtualNetwork_STATUS) ConvertStatusFrom(source genruntime.Conver
// ConvertStatusTo populates the provided destination from our VirtualNetwork_STATUS
func (network *VirtualNetwork_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.VirtualNetwork_STATUS)
+ dst, ok := destination.(*storage.VirtualNetwork_STATUS)
if ok {
// Populate destination from our instance
return network.AssignProperties_To_VirtualNetwork_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetwork_STATUS{}
+ dst = &storage.VirtualNetwork_STATUS{}
err := network.AssignProperties_To_VirtualNetwork_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1293,7 +1293,7 @@ func (network *VirtualNetwork_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_VirtualNetwork_STATUS populates our VirtualNetwork_STATUS from the provided source VirtualNetwork_STATUS
-func (network *VirtualNetwork_STATUS) AssignProperties_From_VirtualNetwork_STATUS(source *v20201101s.VirtualNetwork_STATUS) error {
+func (network *VirtualNetwork_STATUS) AssignProperties_From_VirtualNetwork_STATUS(source *storage.VirtualNetwork_STATUS) error {
// AddressSpace
if source.AddressSpace != nil {
@@ -1406,8 +1406,9 @@ func (network *VirtualNetwork_STATUS) AssignProperties_From_VirtualNetwork_STATU
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- network.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ network.ProvisioningState = &provisioningStateTemp
} else {
network.ProvisioningState = nil
}
@@ -1426,13 +1427,13 @@ func (network *VirtualNetwork_STATUS) AssignProperties_From_VirtualNetwork_STATU
}
// AssignProperties_To_VirtualNetwork_STATUS populates the provided destination VirtualNetwork_STATUS from our VirtualNetwork_STATUS
-func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(destination *v20201101s.VirtualNetwork_STATUS) error {
+func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(destination *storage.VirtualNetwork_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AddressSpace
if network.AddressSpace != nil {
- var addressSpace v20201101s.AddressSpace_STATUS
+ var addressSpace storage.AddressSpace_STATUS
err := network.AddressSpace.AssignProperties_To_AddressSpace_STATUS(&addressSpace)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace_STATUS() to populate field AddressSpace")
@@ -1444,7 +1445,7 @@ func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(
// BgpCommunities
if network.BgpCommunities != nil {
- var bgpCommunity v20201101s.VirtualNetworkBgpCommunities_STATUS
+ var bgpCommunity storage.VirtualNetworkBgpCommunities_STATUS
err := network.BgpCommunities.AssignProperties_To_VirtualNetworkBgpCommunities_STATUS(&bgpCommunity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkBgpCommunities_STATUS() to populate field BgpCommunities")
@@ -1459,7 +1460,7 @@ func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(
// DdosProtectionPlan
if network.DdosProtectionPlan != nil {
- var ddosProtectionPlan v20201101s.SubResource_STATUS
+ var ddosProtectionPlan storage.SubResource_STATUS
err := network.DdosProtectionPlan.AssignProperties_To_SubResource_STATUS(&ddosProtectionPlan)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field DdosProtectionPlan")
@@ -1471,7 +1472,7 @@ func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(
// DhcpOptions
if network.DhcpOptions != nil {
- var dhcpOption v20201101s.DhcpOptions_STATUS
+ var dhcpOption storage.DhcpOptions_STATUS
err := network.DhcpOptions.AssignProperties_To_DhcpOptions_STATUS(&dhcpOption)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DhcpOptions_STATUS() to populate field DhcpOptions")
@@ -1502,7 +1503,7 @@ func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(
// ExtendedLocation
if network.ExtendedLocation != nil {
- var extendedLocation v20201101s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := network.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1517,11 +1518,11 @@ func (network *VirtualNetwork_STATUS) AssignProperties_To_VirtualNetwork_STATUS(
// IpAllocations
if network.IpAllocations != nil {
- ipAllocationList := make([]v20201101s.SubResource_STATUS, len(network.IpAllocations))
+ ipAllocationList := make([]storage.SubResource_STATUS, len(network.IpAllocations))
for ipAllocationIndex, ipAllocationItem := range network.IpAllocations {
// Shadow the loop variable to avoid aliasing
ipAllocationItem := ipAllocationItem
- var ipAllocation v20201101s.SubResource_STATUS
+ var ipAllocation storage.SubResource_STATUS
err := ipAllocationItem.AssignProperties_To_SubResource_STATUS(&ipAllocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field IpAllocations")
@@ -1611,7 +1612,7 @@ func (space *AddressSpace) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_AddressSpace populates our AddressSpace from the provided source AddressSpace
-func (space *AddressSpace) AssignProperties_From_AddressSpace(source *v20201101s.AddressSpace) error {
+func (space *AddressSpace) AssignProperties_From_AddressSpace(source *storage.AddressSpace) error {
// AddressPrefixes
space.AddressPrefixes = genruntime.CloneSliceOfString(source.AddressPrefixes)
@@ -1621,7 +1622,7 @@ func (space *AddressSpace) AssignProperties_From_AddressSpace(source *v20201101s
}
// AssignProperties_To_AddressSpace populates the provided destination AddressSpace from our AddressSpace
-func (space *AddressSpace) AssignProperties_To_AddressSpace(destination *v20201101s.AddressSpace) error {
+func (space *AddressSpace) AssignProperties_To_AddressSpace(destination *storage.AddressSpace) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1679,7 +1680,7 @@ func (space *AddressSpace_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_AddressSpace_STATUS populates our AddressSpace_STATUS from the provided source AddressSpace_STATUS
-func (space *AddressSpace_STATUS) AssignProperties_From_AddressSpace_STATUS(source *v20201101s.AddressSpace_STATUS) error {
+func (space *AddressSpace_STATUS) AssignProperties_From_AddressSpace_STATUS(source *storage.AddressSpace_STATUS) error {
// AddressPrefixes
space.AddressPrefixes = genruntime.CloneSliceOfString(source.AddressPrefixes)
@@ -1689,7 +1690,7 @@ func (space *AddressSpace_STATUS) AssignProperties_From_AddressSpace_STATUS(sour
}
// AssignProperties_To_AddressSpace_STATUS populates the provided destination AddressSpace_STATUS from our AddressSpace_STATUS
-func (space *AddressSpace_STATUS) AssignProperties_To_AddressSpace_STATUS(destination *v20201101s.AddressSpace_STATUS) error {
+func (space *AddressSpace_STATUS) AssignProperties_To_AddressSpace_STATUS(destination *storage.AddressSpace_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1752,7 +1753,7 @@ func (options *DhcpOptions) PopulateFromARM(owner genruntime.ArbitraryOwnerRefer
}
// AssignProperties_From_DhcpOptions populates our DhcpOptions from the provided source DhcpOptions
-func (options *DhcpOptions) AssignProperties_From_DhcpOptions(source *v20201101s.DhcpOptions) error {
+func (options *DhcpOptions) AssignProperties_From_DhcpOptions(source *storage.DhcpOptions) error {
// DnsServers
options.DnsServers = genruntime.CloneSliceOfString(source.DnsServers)
@@ -1762,7 +1763,7 @@ func (options *DhcpOptions) AssignProperties_From_DhcpOptions(source *v20201101s
}
// AssignProperties_To_DhcpOptions populates the provided destination DhcpOptions from our DhcpOptions
-func (options *DhcpOptions) AssignProperties_To_DhcpOptions(destination *v20201101s.DhcpOptions) error {
+func (options *DhcpOptions) AssignProperties_To_DhcpOptions(destination *storage.DhcpOptions) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1821,7 +1822,7 @@ func (options *DhcpOptions_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_DhcpOptions_STATUS populates our DhcpOptions_STATUS from the provided source DhcpOptions_STATUS
-func (options *DhcpOptions_STATUS) AssignProperties_From_DhcpOptions_STATUS(source *v20201101s.DhcpOptions_STATUS) error {
+func (options *DhcpOptions_STATUS) AssignProperties_From_DhcpOptions_STATUS(source *storage.DhcpOptions_STATUS) error {
// DnsServers
options.DnsServers = genruntime.CloneSliceOfString(source.DnsServers)
@@ -1831,7 +1832,7 @@ func (options *DhcpOptions_STATUS) AssignProperties_From_DhcpOptions_STATUS(sour
}
// AssignProperties_To_DhcpOptions_STATUS populates the provided destination DhcpOptions_STATUS from our DhcpOptions_STATUS
-func (options *DhcpOptions_STATUS) AssignProperties_To_DhcpOptions_STATUS(destination *v20201101s.DhcpOptions_STATUS) error {
+func (options *DhcpOptions_STATUS) AssignProperties_To_DhcpOptions_STATUS(destination *storage.DhcpOptions_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1896,7 +1897,7 @@ func (communities *VirtualNetworkBgpCommunities) PopulateFromARM(owner genruntim
}
// AssignProperties_From_VirtualNetworkBgpCommunities populates our VirtualNetworkBgpCommunities from the provided source VirtualNetworkBgpCommunities
-func (communities *VirtualNetworkBgpCommunities) AssignProperties_From_VirtualNetworkBgpCommunities(source *v20201101s.VirtualNetworkBgpCommunities) error {
+func (communities *VirtualNetworkBgpCommunities) AssignProperties_From_VirtualNetworkBgpCommunities(source *storage.VirtualNetworkBgpCommunities) error {
// VirtualNetworkCommunity
communities.VirtualNetworkCommunity = genruntime.ClonePointerToString(source.VirtualNetworkCommunity)
@@ -1906,7 +1907,7 @@ func (communities *VirtualNetworkBgpCommunities) AssignProperties_From_VirtualNe
}
// AssignProperties_To_VirtualNetworkBgpCommunities populates the provided destination VirtualNetworkBgpCommunities from our VirtualNetworkBgpCommunities
-func (communities *VirtualNetworkBgpCommunities) AssignProperties_To_VirtualNetworkBgpCommunities(destination *v20201101s.VirtualNetworkBgpCommunities) error {
+func (communities *VirtualNetworkBgpCommunities) AssignProperties_To_VirtualNetworkBgpCommunities(destination *storage.VirtualNetworkBgpCommunities) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1974,7 +1975,7 @@ func (communities *VirtualNetworkBgpCommunities_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_VirtualNetworkBgpCommunities_STATUS populates our VirtualNetworkBgpCommunities_STATUS from the provided source VirtualNetworkBgpCommunities_STATUS
-func (communities *VirtualNetworkBgpCommunities_STATUS) AssignProperties_From_VirtualNetworkBgpCommunities_STATUS(source *v20201101s.VirtualNetworkBgpCommunities_STATUS) error {
+func (communities *VirtualNetworkBgpCommunities_STATUS) AssignProperties_From_VirtualNetworkBgpCommunities_STATUS(source *storage.VirtualNetworkBgpCommunities_STATUS) error {
// RegionalCommunity
communities.RegionalCommunity = genruntime.ClonePointerToString(source.RegionalCommunity)
@@ -1987,7 +1988,7 @@ func (communities *VirtualNetworkBgpCommunities_STATUS) AssignProperties_From_Vi
}
// AssignProperties_To_VirtualNetworkBgpCommunities_STATUS populates the provided destination VirtualNetworkBgpCommunities_STATUS from our VirtualNetworkBgpCommunities_STATUS
-func (communities *VirtualNetworkBgpCommunities_STATUS) AssignProperties_To_VirtualNetworkBgpCommunities_STATUS(destination *v20201101s.VirtualNetworkBgpCommunities_STATUS) error {
+func (communities *VirtualNetworkBgpCommunities_STATUS) AssignProperties_To_VirtualNetworkBgpCommunities_STATUS(destination *storage.VirtualNetworkBgpCommunities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_subnet_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_subnet_types_gen.go
index 782f7f603f..5b478c92d0 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_subnet_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_subnet_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &VirtualNetworksSubnet{}
// ConvertFrom populates our VirtualNetworksSubnet from the provided hub VirtualNetworksSubnet
func (subnet *VirtualNetworksSubnet) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.VirtualNetworksSubnet)
+ source, ok := hub.(*storage.VirtualNetworksSubnet)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetworksSubnet but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (subnet *VirtualNetworksSubnet) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub VirtualNetworksSubnet from our VirtualNetworksSubnet
func (subnet *VirtualNetworksSubnet) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.VirtualNetworksSubnet)
+ destination, ok := hub.(*storage.VirtualNetworksSubnet)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetworksSubnet but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (subnet *VirtualNetworksSubnet) validateWriteOnceProperties(old runtime.Obj
}
// AssignProperties_From_VirtualNetworksSubnet populates our VirtualNetworksSubnet from the provided source VirtualNetworksSubnet
-func (subnet *VirtualNetworksSubnet) AssignProperties_From_VirtualNetworksSubnet(source *v20201101s.VirtualNetworksSubnet) error {
+func (subnet *VirtualNetworksSubnet) AssignProperties_From_VirtualNetworksSubnet(source *storage.VirtualNetworksSubnet) error {
// ObjectMeta
subnet.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (subnet *VirtualNetworksSubnet) AssignProperties_From_VirtualNetworksSubnet
}
// AssignProperties_To_VirtualNetworksSubnet populates the provided destination VirtualNetworksSubnet from our VirtualNetworksSubnet
-func (subnet *VirtualNetworksSubnet) AssignProperties_To_VirtualNetworksSubnet(destination *v20201101s.VirtualNetworksSubnet) error {
+func (subnet *VirtualNetworksSubnet) AssignProperties_To_VirtualNetworksSubnet(destination *storage.VirtualNetworksSubnet) error {
// ObjectMeta
destination.ObjectMeta = *subnet.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.VirtualNetworks_Subnet_Spec
+ var spec storage.VirtualNetworks_Subnet_Spec
err := subnet.Spec.AssignProperties_To_VirtualNetworks_Subnet_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworks_Subnet_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (subnet *VirtualNetworksSubnet) AssignProperties_To_VirtualNetworksSubnet(d
destination.Spec = spec
// Status
- var status v20201101s.VirtualNetworks_Subnet_STATUS
+ var status storage.VirtualNetworks_Subnet_STATUS
err = subnet.Status.AssignProperties_To_VirtualNetworks_Subnet_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworks_Subnet_STATUS() to populate field Status")
@@ -647,14 +647,14 @@ var _ genruntime.ConvertibleSpec = &VirtualNetworks_Subnet_Spec{}
// ConvertSpecFrom populates our VirtualNetworks_Subnet_Spec from the provided source
func (subnet *VirtualNetworks_Subnet_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.VirtualNetworks_Subnet_Spec)
+ src, ok := source.(*storage.VirtualNetworks_Subnet_Spec)
if ok {
// Populate our instance from source
return subnet.AssignProperties_From_VirtualNetworks_Subnet_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetworks_Subnet_Spec{}
+ src = &storage.VirtualNetworks_Subnet_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -671,14 +671,14 @@ func (subnet *VirtualNetworks_Subnet_Spec) ConvertSpecFrom(source genruntime.Con
// ConvertSpecTo populates the provided destination from our VirtualNetworks_Subnet_Spec
func (subnet *VirtualNetworks_Subnet_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.VirtualNetworks_Subnet_Spec)
+ dst, ok := destination.(*storage.VirtualNetworks_Subnet_Spec)
if ok {
// Populate destination from our instance
return subnet.AssignProperties_To_VirtualNetworks_Subnet_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetworks_Subnet_Spec{}
+ dst = &storage.VirtualNetworks_Subnet_Spec{}
err := subnet.AssignProperties_To_VirtualNetworks_Subnet_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -694,7 +694,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) ConvertSpecTo(destination genruntime.
}
// AssignProperties_From_VirtualNetworks_Subnet_Spec populates our VirtualNetworks_Subnet_Spec from the provided source VirtualNetworks_Subnet_Spec
-func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_From_VirtualNetworks_Subnet_Spec(source *v20201101s.VirtualNetworks_Subnet_Spec) error {
+func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_From_VirtualNetworks_Subnet_Spec(source *storage.VirtualNetworks_Subnet_Spec) error {
// AddressPrefix
subnet.AddressPrefix = genruntime.ClonePointerToString(source.AddressPrefix)
@@ -793,16 +793,18 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_From_VirtualNetworks
// PrivateEndpointNetworkPolicies
if source.PrivateEndpointNetworkPolicies != nil {
- privateEndpointNetworkPolicy := SubnetPropertiesFormat_PrivateEndpointNetworkPolicies(*source.PrivateEndpointNetworkPolicies)
- subnet.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicy
+ privateEndpointNetworkPolicy := *source.PrivateEndpointNetworkPolicies
+ privateEndpointNetworkPolicyTemp := genruntime.ToEnum(privateEndpointNetworkPolicy, subnetPropertiesFormat_PrivateEndpointNetworkPolicies_Values)
+ subnet.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicyTemp
} else {
subnet.PrivateEndpointNetworkPolicies = nil
}
// PrivateLinkServiceNetworkPolicies
if source.PrivateLinkServiceNetworkPolicies != nil {
- privateLinkServiceNetworkPolicy := SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies(*source.PrivateLinkServiceNetworkPolicies)
- subnet.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicy
+ privateLinkServiceNetworkPolicy := *source.PrivateLinkServiceNetworkPolicies
+ privateLinkServiceNetworkPolicyTemp := genruntime.ToEnum(privateLinkServiceNetworkPolicy, subnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_Values)
+ subnet.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicyTemp
} else {
subnet.PrivateLinkServiceNetworkPolicies = nil
}
@@ -860,7 +862,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_From_VirtualNetworks
}
// AssignProperties_To_VirtualNetworks_Subnet_Spec populates the provided destination VirtualNetworks_Subnet_Spec from our VirtualNetworks_Subnet_Spec
-func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_Subnet_Spec(destination *v20201101s.VirtualNetworks_Subnet_Spec) error {
+func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_Subnet_Spec(destination *storage.VirtualNetworks_Subnet_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -872,11 +874,11 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// ApplicationGatewayIpConfigurations
if subnet.ApplicationGatewayIpConfigurations != nil {
- applicationGatewayIpConfigurationList := make([]v20201101s.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ApplicationGatewayIpConfigurations))
+ applicationGatewayIpConfigurationList := make([]storage.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ApplicationGatewayIpConfigurations))
for applicationGatewayIpConfigurationIndex, applicationGatewayIpConfigurationItem := range subnet.ApplicationGatewayIpConfigurations {
// Shadow the loop variable to avoid aliasing
applicationGatewayIpConfigurationItem := applicationGatewayIpConfigurationItem
- var applicationGatewayIpConfiguration v20201101s.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded
+ var applicationGatewayIpConfiguration storage.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded
err := applicationGatewayIpConfigurationItem.AssignProperties_To_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded(&applicationGatewayIpConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field ApplicationGatewayIpConfigurations")
@@ -893,11 +895,11 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// Delegations
if subnet.Delegations != nil {
- delegationList := make([]v20201101s.Delegation, len(subnet.Delegations))
+ delegationList := make([]storage.Delegation, len(subnet.Delegations))
for delegationIndex, delegationItem := range subnet.Delegations {
// Shadow the loop variable to avoid aliasing
delegationItem := delegationItem
- var delegation v20201101s.Delegation
+ var delegation storage.Delegation
err := delegationItem.AssignProperties_To_Delegation(&delegation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Delegation() to populate field Delegations")
@@ -911,11 +913,11 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// IpAllocations
if subnet.IpAllocations != nil {
- ipAllocationList := make([]v20201101s.SubResource, len(subnet.IpAllocations))
+ ipAllocationList := make([]storage.SubResource, len(subnet.IpAllocations))
for ipAllocationIndex, ipAllocationItem := range subnet.IpAllocations {
// Shadow the loop variable to avoid aliasing
ipAllocationItem := ipAllocationItem
- var ipAllocation v20201101s.SubResource
+ var ipAllocation storage.SubResource
err := ipAllocationItem.AssignProperties_To_SubResource(&ipAllocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field IpAllocations")
@@ -929,7 +931,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// NatGateway
if subnet.NatGateway != nil {
- var natGateway v20201101s.SubResource
+ var natGateway storage.SubResource
err := subnet.NatGateway.AssignProperties_To_SubResource(&natGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field NatGateway")
@@ -941,7 +943,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// NetworkSecurityGroup
if subnet.NetworkSecurityGroup != nil {
- var networkSecurityGroup v20201101s.NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded
+ var networkSecurityGroup storage.NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded
err := subnet.NetworkSecurityGroup.AssignProperties_To_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded(&networkSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field NetworkSecurityGroup")
@@ -980,7 +982,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// RouteTable
if subnet.RouteTable != nil {
- var routeTable v20201101s.RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded
+ var routeTable storage.RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded
err := subnet.RouteTable.AssignProperties_To_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded(&routeTable)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field RouteTable")
@@ -992,11 +994,11 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// ServiceEndpointPolicies
if subnet.ServiceEndpointPolicies != nil {
- serviceEndpointPolicyList := make([]v20201101s.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ServiceEndpointPolicies))
+ serviceEndpointPolicyList := make([]storage.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ServiceEndpointPolicies))
for serviceEndpointPolicyIndex, serviceEndpointPolicyItem := range subnet.ServiceEndpointPolicies {
// Shadow the loop variable to avoid aliasing
serviceEndpointPolicyItem := serviceEndpointPolicyItem
- var serviceEndpointPolicy v20201101s.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded
+ var serviceEndpointPolicy storage.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded
err := serviceEndpointPolicyItem.AssignProperties_To_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded(&serviceEndpointPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field ServiceEndpointPolicies")
@@ -1010,11 +1012,11 @@ func (subnet *VirtualNetworks_Subnet_Spec) AssignProperties_To_VirtualNetworks_S
// ServiceEndpoints
if subnet.ServiceEndpoints != nil {
- serviceEndpointList := make([]v20201101s.ServiceEndpointPropertiesFormat, len(subnet.ServiceEndpoints))
+ serviceEndpointList := make([]storage.ServiceEndpointPropertiesFormat, len(subnet.ServiceEndpoints))
for serviceEndpointIndex, serviceEndpointItem := range subnet.ServiceEndpoints {
// Shadow the loop variable to avoid aliasing
serviceEndpointItem := serviceEndpointItem
- var serviceEndpoint v20201101s.ServiceEndpointPropertiesFormat
+ var serviceEndpoint storage.ServiceEndpointPropertiesFormat
err := serviceEndpointItem.AssignProperties_To_ServiceEndpointPropertiesFormat(&serviceEndpoint)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceEndpointPropertiesFormat() to populate field ServiceEndpoints")
@@ -1126,7 +1128,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) Initialize_From_VirtualNetworks_Subne
// PrivateEndpointNetworkPolicies
if source.PrivateEndpointNetworkPolicies != nil {
- privateEndpointNetworkPolicy := SubnetPropertiesFormat_PrivateEndpointNetworkPolicies(*source.PrivateEndpointNetworkPolicies)
+ privateEndpointNetworkPolicy := genruntime.ToEnum(string(*source.PrivateEndpointNetworkPolicies), subnetPropertiesFormat_PrivateEndpointNetworkPolicies_Values)
subnet.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicy
} else {
subnet.PrivateEndpointNetworkPolicies = nil
@@ -1134,7 +1136,7 @@ func (subnet *VirtualNetworks_Subnet_Spec) Initialize_From_VirtualNetworks_Subne
// PrivateLinkServiceNetworkPolicies
if source.PrivateLinkServiceNetworkPolicies != nil {
- privateLinkServiceNetworkPolicy := SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies(*source.PrivateLinkServiceNetworkPolicies)
+ privateLinkServiceNetworkPolicy := genruntime.ToEnum(string(*source.PrivateLinkServiceNetworkPolicies), subnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_Values)
subnet.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicy
} else {
subnet.PrivateLinkServiceNetworkPolicies = nil
@@ -1281,14 +1283,14 @@ var _ genruntime.ConvertibleStatus = &VirtualNetworks_Subnet_STATUS{}
// ConvertStatusFrom populates our VirtualNetworks_Subnet_STATUS from the provided source
func (subnet *VirtualNetworks_Subnet_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.VirtualNetworks_Subnet_STATUS)
+ src, ok := source.(*storage.VirtualNetworks_Subnet_STATUS)
if ok {
// Populate our instance from source
return subnet.AssignProperties_From_VirtualNetworks_Subnet_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetworks_Subnet_STATUS{}
+ src = &storage.VirtualNetworks_Subnet_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1305,14 +1307,14 @@ func (subnet *VirtualNetworks_Subnet_STATUS) ConvertStatusFrom(source genruntime
// ConvertStatusTo populates the provided destination from our VirtualNetworks_Subnet_STATUS
func (subnet *VirtualNetworks_Subnet_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.VirtualNetworks_Subnet_STATUS)
+ dst, ok := destination.(*storage.VirtualNetworks_Subnet_STATUS)
if ok {
// Populate destination from our instance
return subnet.AssignProperties_To_VirtualNetworks_Subnet_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetworks_Subnet_STATUS{}
+ dst = &storage.VirtualNetworks_Subnet_STATUS{}
err := subnet.AssignProperties_To_VirtualNetworks_Subnet_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1597,7 +1599,7 @@ func (subnet *VirtualNetworks_Subnet_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_VirtualNetworks_Subnet_STATUS populates our VirtualNetworks_Subnet_STATUS from the provided source VirtualNetworks_Subnet_STATUS
-func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_From_VirtualNetworks_Subnet_STATUS(source *v20201101s.VirtualNetworks_Subnet_STATUS) error {
+func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_From_VirtualNetworks_Subnet_STATUS(source *storage.VirtualNetworks_Subnet_STATUS) error {
// AddressPrefix
subnet.AddressPrefix = genruntime.ClonePointerToString(source.AddressPrefix)
@@ -1733,8 +1735,9 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_From_VirtualNetwor
// PrivateEndpointNetworkPolicies
if source.PrivateEndpointNetworkPolicies != nil {
- privateEndpointNetworkPolicy := SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS(*source.PrivateEndpointNetworkPolicies)
- subnet.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicy
+ privateEndpointNetworkPolicy := *source.PrivateEndpointNetworkPolicies
+ privateEndpointNetworkPolicyTemp := genruntime.ToEnum(privateEndpointNetworkPolicy, subnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS_Values)
+ subnet.PrivateEndpointNetworkPolicies = &privateEndpointNetworkPolicyTemp
} else {
subnet.PrivateEndpointNetworkPolicies = nil
}
@@ -1759,16 +1762,18 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_From_VirtualNetwor
// PrivateLinkServiceNetworkPolicies
if source.PrivateLinkServiceNetworkPolicies != nil {
- privateLinkServiceNetworkPolicy := SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS(*source.PrivateLinkServiceNetworkPolicies)
- subnet.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicy
+ privateLinkServiceNetworkPolicy := *source.PrivateLinkServiceNetworkPolicies
+ privateLinkServiceNetworkPolicyTemp := genruntime.ToEnum(privateLinkServiceNetworkPolicy, subnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS_Values)
+ subnet.PrivateLinkServiceNetworkPolicies = &privateLinkServiceNetworkPolicyTemp
} else {
subnet.PrivateLinkServiceNetworkPolicies = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- subnet.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ subnet.ProvisioningState = &provisioningStateTemp
} else {
subnet.ProvisioningState = nil
}
@@ -1868,7 +1873,7 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_From_VirtualNetwor
}
// AssignProperties_To_VirtualNetworks_Subnet_STATUS populates the provided destination VirtualNetworks_Subnet_STATUS from our VirtualNetworks_Subnet_STATUS
-func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks_Subnet_STATUS(destination *v20201101s.VirtualNetworks_Subnet_STATUS) error {
+func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks_Subnet_STATUS(destination *storage.VirtualNetworks_Subnet_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1880,11 +1885,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// ApplicationGatewayIpConfigurations
if subnet.ApplicationGatewayIpConfigurations != nil {
- applicationGatewayIpConfigurationList := make([]v20201101s.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ApplicationGatewayIpConfigurations))
+ applicationGatewayIpConfigurationList := make([]storage.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ApplicationGatewayIpConfigurations))
for applicationGatewayIpConfigurationIndex, applicationGatewayIpConfigurationItem := range subnet.ApplicationGatewayIpConfigurations {
// Shadow the loop variable to avoid aliasing
applicationGatewayIpConfigurationItem := applicationGatewayIpConfigurationItem
- var applicationGatewayIpConfiguration v20201101s.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
+ var applicationGatewayIpConfiguration storage.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
err := applicationGatewayIpConfigurationItem.AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(&applicationGatewayIpConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field ApplicationGatewayIpConfigurations")
@@ -1901,11 +1906,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// Delegations
if subnet.Delegations != nil {
- delegationList := make([]v20201101s.Delegation_STATUS, len(subnet.Delegations))
+ delegationList := make([]storage.Delegation_STATUS, len(subnet.Delegations))
for delegationIndex, delegationItem := range subnet.Delegations {
// Shadow the loop variable to avoid aliasing
delegationItem := delegationItem
- var delegation v20201101s.Delegation_STATUS
+ var delegation storage.Delegation_STATUS
err := delegationItem.AssignProperties_To_Delegation_STATUS(&delegation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Delegation_STATUS() to populate field Delegations")
@@ -1925,11 +1930,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// IpAllocations
if subnet.IpAllocations != nil {
- ipAllocationList := make([]v20201101s.SubResource_STATUS, len(subnet.IpAllocations))
+ ipAllocationList := make([]storage.SubResource_STATUS, len(subnet.IpAllocations))
for ipAllocationIndex, ipAllocationItem := range subnet.IpAllocations {
// Shadow the loop variable to avoid aliasing
ipAllocationItem := ipAllocationItem
- var ipAllocation v20201101s.SubResource_STATUS
+ var ipAllocation storage.SubResource_STATUS
err := ipAllocationItem.AssignProperties_To_SubResource_STATUS(&ipAllocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field IpAllocations")
@@ -1943,11 +1948,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// IpConfigurationProfiles
if subnet.IpConfigurationProfiles != nil {
- ipConfigurationProfileList := make([]v20201101s.IPConfigurationProfile_STATUS, len(subnet.IpConfigurationProfiles))
+ ipConfigurationProfileList := make([]storage.IPConfigurationProfile_STATUS, len(subnet.IpConfigurationProfiles))
for ipConfigurationProfileIndex, ipConfigurationProfileItem := range subnet.IpConfigurationProfiles {
// Shadow the loop variable to avoid aliasing
ipConfigurationProfileItem := ipConfigurationProfileItem
- var ipConfigurationProfile v20201101s.IPConfigurationProfile_STATUS
+ var ipConfigurationProfile storage.IPConfigurationProfile_STATUS
err := ipConfigurationProfileItem.AssignProperties_To_IPConfigurationProfile_STATUS(&ipConfigurationProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPConfigurationProfile_STATUS() to populate field IpConfigurationProfiles")
@@ -1961,11 +1966,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// IpConfigurations
if subnet.IpConfigurations != nil {
- ipConfigurationList := make([]v20201101s.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.IpConfigurations))
+ ipConfigurationList := make([]storage.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range subnet.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20201101s.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
+ var ipConfiguration storage.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
err := ipConfigurationItem.AssignProperties_To_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field IpConfigurations")
@@ -1982,7 +1987,7 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// NatGateway
if subnet.NatGateway != nil {
- var natGateway v20201101s.SubResource_STATUS
+ var natGateway storage.SubResource_STATUS
err := subnet.NatGateway.AssignProperties_To_SubResource_STATUS(&natGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field NatGateway")
@@ -1994,7 +1999,7 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// NetworkSecurityGroup
if subnet.NetworkSecurityGroup != nil {
- var networkSecurityGroup v20201101s.NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
+ var networkSecurityGroup storage.NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
err := subnet.NetworkSecurityGroup.AssignProperties_To_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(&networkSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field NetworkSecurityGroup")
@@ -2014,11 +2019,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// PrivateEndpoints
if subnet.PrivateEndpoints != nil {
- privateEndpointList := make([]v20201101s.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.PrivateEndpoints))
+ privateEndpointList := make([]storage.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.PrivateEndpoints))
for privateEndpointIndex, privateEndpointItem := range subnet.PrivateEndpoints {
// Shadow the loop variable to avoid aliasing
privateEndpointItem := privateEndpointItem
- var privateEndpoint v20201101s.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
+ var privateEndpoint storage.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
err := privateEndpointItem.AssignProperties_To_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(&privateEndpoint)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field PrivateEndpoints")
@@ -2051,11 +2056,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// ResourceNavigationLinks
if subnet.ResourceNavigationLinks != nil {
- resourceNavigationLinkList := make([]v20201101s.ResourceNavigationLink_STATUS, len(subnet.ResourceNavigationLinks))
+ resourceNavigationLinkList := make([]storage.ResourceNavigationLink_STATUS, len(subnet.ResourceNavigationLinks))
for resourceNavigationLinkIndex, resourceNavigationLinkItem := range subnet.ResourceNavigationLinks {
// Shadow the loop variable to avoid aliasing
resourceNavigationLinkItem := resourceNavigationLinkItem
- var resourceNavigationLink v20201101s.ResourceNavigationLink_STATUS
+ var resourceNavigationLink storage.ResourceNavigationLink_STATUS
err := resourceNavigationLinkItem.AssignProperties_To_ResourceNavigationLink_STATUS(&resourceNavigationLink)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceNavigationLink_STATUS() to populate field ResourceNavigationLinks")
@@ -2069,7 +2074,7 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// RouteTable
if subnet.RouteTable != nil {
- var routeTable v20201101s.RouteTable_STATUS_SubResourceEmbedded
+ var routeTable storage.RouteTable_STATUS_SubResourceEmbedded
err := subnet.RouteTable.AssignProperties_To_RouteTable_STATUS_SubResourceEmbedded(&routeTable)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RouteTable_STATUS_SubResourceEmbedded() to populate field RouteTable")
@@ -2081,11 +2086,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// ServiceAssociationLinks
if subnet.ServiceAssociationLinks != nil {
- serviceAssociationLinkList := make([]v20201101s.ServiceAssociationLink_STATUS, len(subnet.ServiceAssociationLinks))
+ serviceAssociationLinkList := make([]storage.ServiceAssociationLink_STATUS, len(subnet.ServiceAssociationLinks))
for serviceAssociationLinkIndex, serviceAssociationLinkItem := range subnet.ServiceAssociationLinks {
// Shadow the loop variable to avoid aliasing
serviceAssociationLinkItem := serviceAssociationLinkItem
- var serviceAssociationLink v20201101s.ServiceAssociationLink_STATUS
+ var serviceAssociationLink storage.ServiceAssociationLink_STATUS
err := serviceAssociationLinkItem.AssignProperties_To_ServiceAssociationLink_STATUS(&serviceAssociationLink)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceAssociationLink_STATUS() to populate field ServiceAssociationLinks")
@@ -2099,11 +2104,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// ServiceEndpointPolicies
if subnet.ServiceEndpointPolicies != nil {
- serviceEndpointPolicyList := make([]v20201101s.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ServiceEndpointPolicies))
+ serviceEndpointPolicyList := make([]storage.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded, len(subnet.ServiceEndpointPolicies))
for serviceEndpointPolicyIndex, serviceEndpointPolicyItem := range subnet.ServiceEndpointPolicies {
// Shadow the loop variable to avoid aliasing
serviceEndpointPolicyItem := serviceEndpointPolicyItem
- var serviceEndpointPolicy v20201101s.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
+ var serviceEndpointPolicy storage.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
err := serviceEndpointPolicyItem.AssignProperties_To_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(&serviceEndpointPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded() to populate field ServiceEndpointPolicies")
@@ -2117,11 +2122,11 @@ func (subnet *VirtualNetworks_Subnet_STATUS) AssignProperties_To_VirtualNetworks
// ServiceEndpoints
if subnet.ServiceEndpoints != nil {
- serviceEndpointList := make([]v20201101s.ServiceEndpointPropertiesFormat_STATUS, len(subnet.ServiceEndpoints))
+ serviceEndpointList := make([]storage.ServiceEndpointPropertiesFormat_STATUS, len(subnet.ServiceEndpoints))
for serviceEndpointIndex, serviceEndpointItem := range subnet.ServiceEndpoints {
// Shadow the loop variable to avoid aliasing
serviceEndpointItem := serviceEndpointItem
- var serviceEndpoint v20201101s.ServiceEndpointPropertiesFormat_STATUS
+ var serviceEndpoint storage.ServiceEndpointPropertiesFormat_STATUS
err := serviceEndpointItem.AssignProperties_To_ServiceEndpointPropertiesFormat_STATUS(&serviceEndpoint)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ServiceEndpointPropertiesFormat_STATUS() to populate field ServiceEndpoints")
@@ -2178,7 +2183,7 @@ func (embedded *ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_
}
// AssignProperties_From_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates our ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2188,7 +2193,7 @@ func (embedded *ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_
}
// AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from our ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.ApplicationGatewayIPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2252,7 +2257,7 @@ func (embedded *ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubReso
}
// AssignProperties_From_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded populates our ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -2267,7 +2272,7 @@ func (embedded *ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubReso
}
// AssignProperties_To_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded from our ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.ApplicationGatewayIPConfiguration_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2372,7 +2377,7 @@ func (delegation *Delegation) PopulateFromARM(owner genruntime.ArbitraryOwnerRef
}
// AssignProperties_From_Delegation populates our Delegation from the provided source Delegation
-func (delegation *Delegation) AssignProperties_From_Delegation(source *v20201101s.Delegation) error {
+func (delegation *Delegation) AssignProperties_From_Delegation(source *storage.Delegation) error {
// Name
delegation.Name = genruntime.ClonePointerToString(source.Name)
@@ -2385,7 +2390,7 @@ func (delegation *Delegation) AssignProperties_From_Delegation(source *v20201101
}
// AssignProperties_To_Delegation populates the provided destination Delegation from our Delegation
-func (delegation *Delegation) AssignProperties_To_Delegation(destination *v20201101s.Delegation) error {
+func (delegation *Delegation) AssignProperties_To_Delegation(destination *storage.Delegation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2512,7 +2517,7 @@ func (delegation *Delegation_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_Delegation_STATUS populates our Delegation_STATUS from the provided source Delegation_STATUS
-func (delegation *Delegation_STATUS) AssignProperties_From_Delegation_STATUS(source *v20201101s.Delegation_STATUS) error {
+func (delegation *Delegation_STATUS) AssignProperties_From_Delegation_STATUS(source *storage.Delegation_STATUS) error {
// Actions
delegation.Actions = genruntime.CloneSliceOfString(source.Actions)
@@ -2528,8 +2533,9 @@ func (delegation *Delegation_STATUS) AssignProperties_From_Delegation_STATUS(sou
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- delegation.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ delegation.ProvisioningState = &provisioningStateTemp
} else {
delegation.ProvisioningState = nil
}
@@ -2545,7 +2551,7 @@ func (delegation *Delegation_STATUS) AssignProperties_From_Delegation_STATUS(sou
}
// AssignProperties_To_Delegation_STATUS populates the provided destination Delegation_STATUS from our Delegation_STATUS
-func (delegation *Delegation_STATUS) AssignProperties_To_Delegation_STATUS(destination *v20201101s.Delegation_STATUS) error {
+func (delegation *Delegation_STATUS) AssignProperties_To_Delegation_STATUS(destination *storage.Delegation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2617,7 +2623,7 @@ func (embedded *IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedde
}
// AssignProperties_From_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates our IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2627,7 +2633,7 @@ func (embedded *IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedde
}
// AssignProperties_To_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from our IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.IPConfiguration_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2676,7 +2682,7 @@ func (profile *IPConfigurationProfile_STATUS) PopulateFromARM(owner genruntime.A
}
// AssignProperties_From_IPConfigurationProfile_STATUS populates our IPConfigurationProfile_STATUS from the provided source IPConfigurationProfile_STATUS
-func (profile *IPConfigurationProfile_STATUS) AssignProperties_From_IPConfigurationProfile_STATUS(source *v20201101s.IPConfigurationProfile_STATUS) error {
+func (profile *IPConfigurationProfile_STATUS) AssignProperties_From_IPConfigurationProfile_STATUS(source *storage.IPConfigurationProfile_STATUS) error {
// Id
profile.Id = genruntime.ClonePointerToString(source.Id)
@@ -2686,7 +2692,7 @@ func (profile *IPConfigurationProfile_STATUS) AssignProperties_From_IPConfigurat
}
// AssignProperties_To_IPConfigurationProfile_STATUS populates the provided destination IPConfigurationProfile_STATUS from our IPConfigurationProfile_STATUS
-func (profile *IPConfigurationProfile_STATUS) AssignProperties_To_IPConfigurationProfile_STATUS(destination *v20201101s.IPConfigurationProfile_STATUS) error {
+func (profile *IPConfigurationProfile_STATUS) AssignProperties_To_IPConfigurationProfile_STATUS(destination *storage.IPConfigurationProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2735,7 +2741,7 @@ func (embedded *NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEm
}
// AssignProperties_From_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates our NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2745,7 +2751,7 @@ func (embedded *NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEm
}
// AssignProperties_To_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from our NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.NetworkSecurityGroup_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2809,7 +2815,7 @@ func (embedded *NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbed
}
// AssignProperties_From_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded populates our NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -2824,7 +2830,7 @@ func (embedded *NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbed
}
// AssignProperties_To_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded from our NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.NetworkSecurityGroupSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2893,7 +2899,7 @@ func (embedded *PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedde
}
// AssignProperties_From_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates our PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2903,7 +2909,7 @@ func (embedded *PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedde
}
// AssignProperties_To_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from our PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.PrivateEndpoint_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2952,7 +2958,7 @@ func (link *ResourceNavigationLink_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ResourceNavigationLink_STATUS populates our ResourceNavigationLink_STATUS from the provided source ResourceNavigationLink_STATUS
-func (link *ResourceNavigationLink_STATUS) AssignProperties_From_ResourceNavigationLink_STATUS(source *v20201101s.ResourceNavigationLink_STATUS) error {
+func (link *ResourceNavigationLink_STATUS) AssignProperties_From_ResourceNavigationLink_STATUS(source *storage.ResourceNavigationLink_STATUS) error {
// Id
link.Id = genruntime.ClonePointerToString(source.Id)
@@ -2962,7 +2968,7 @@ func (link *ResourceNavigationLink_STATUS) AssignProperties_From_ResourceNavigat
}
// AssignProperties_To_ResourceNavigationLink_STATUS populates the provided destination ResourceNavigationLink_STATUS from our ResourceNavigationLink_STATUS
-func (link *ResourceNavigationLink_STATUS) AssignProperties_To_ResourceNavigationLink_STATUS(destination *v20201101s.ResourceNavigationLink_STATUS) error {
+func (link *ResourceNavigationLink_STATUS) AssignProperties_To_ResourceNavigationLink_STATUS(destination *storage.ResourceNavigationLink_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3011,7 +3017,7 @@ func (embedded *RouteTable_STATUS_SubResourceEmbedded) PopulateFromARM(owner gen
}
// AssignProperties_From_RouteTable_STATUS_SubResourceEmbedded populates our RouteTable_STATUS_SubResourceEmbedded from the provided source RouteTable_STATUS_SubResourceEmbedded
-func (embedded *RouteTable_STATUS_SubResourceEmbedded) AssignProperties_From_RouteTable_STATUS_SubResourceEmbedded(source *v20201101s.RouteTable_STATUS_SubResourceEmbedded) error {
+func (embedded *RouteTable_STATUS_SubResourceEmbedded) AssignProperties_From_RouteTable_STATUS_SubResourceEmbedded(source *storage.RouteTable_STATUS_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3021,7 +3027,7 @@ func (embedded *RouteTable_STATUS_SubResourceEmbedded) AssignProperties_From_Rou
}
// AssignProperties_To_RouteTable_STATUS_SubResourceEmbedded populates the provided destination RouteTable_STATUS_SubResourceEmbedded from our RouteTable_STATUS_SubResourceEmbedded
-func (embedded *RouteTable_STATUS_SubResourceEmbedded) AssignProperties_To_RouteTable_STATUS_SubResourceEmbedded(destination *v20201101s.RouteTable_STATUS_SubResourceEmbedded) error {
+func (embedded *RouteTable_STATUS_SubResourceEmbedded) AssignProperties_To_RouteTable_STATUS_SubResourceEmbedded(destination *storage.RouteTable_STATUS_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3085,7 +3091,7 @@ func (embedded *RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) Popul
}
// AssignProperties_From_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded populates our RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -3100,7 +3106,7 @@ func (embedded *RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) Assig
}
// AssignProperties_To_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded from our RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.RouteTableSpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3169,7 +3175,7 @@ func (link *ServiceAssociationLink_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ServiceAssociationLink_STATUS populates our ServiceAssociationLink_STATUS from the provided source ServiceAssociationLink_STATUS
-func (link *ServiceAssociationLink_STATUS) AssignProperties_From_ServiceAssociationLink_STATUS(source *v20201101s.ServiceAssociationLink_STATUS) error {
+func (link *ServiceAssociationLink_STATUS) AssignProperties_From_ServiceAssociationLink_STATUS(source *storage.ServiceAssociationLink_STATUS) error {
// Id
link.Id = genruntime.ClonePointerToString(source.Id)
@@ -3179,7 +3185,7 @@ func (link *ServiceAssociationLink_STATUS) AssignProperties_From_ServiceAssociat
}
// AssignProperties_To_ServiceAssociationLink_STATUS populates the provided destination ServiceAssociationLink_STATUS from our ServiceAssociationLink_STATUS
-func (link *ServiceAssociationLink_STATUS) AssignProperties_To_ServiceAssociationLink_STATUS(destination *v20201101s.ServiceAssociationLink_STATUS) error {
+func (link *ServiceAssociationLink_STATUS) AssignProperties_To_ServiceAssociationLink_STATUS(destination *storage.ServiceAssociationLink_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3228,7 +3234,7 @@ func (embedded *ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceE
}
// AssignProperties_From_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates our ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3238,7 +3244,7 @@ func (embedded *ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceE
}
// AssignProperties_To_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded from our ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.ServiceEndpointPolicy_STATUS_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3302,7 +3308,7 @@ func (embedded *ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbe
}
// AssignProperties_From_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded populates our ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded from the provided source ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded(source *v20201101s.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_From_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded(source *storage.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -3317,7 +3323,7 @@ func (embedded *ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbe
}
// AssignProperties_To_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded populates the provided destination ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded from our ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded
-func (embedded *ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded(destination *v20201101s.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
+func (embedded *ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) AssignProperties_To_ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded(destination *storage.ServiceEndpointPolicySpec_VirtualNetworks_Subnet_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3414,7 +3420,7 @@ func (format *ServiceEndpointPropertiesFormat) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ServiceEndpointPropertiesFormat populates our ServiceEndpointPropertiesFormat from the provided source ServiceEndpointPropertiesFormat
-func (format *ServiceEndpointPropertiesFormat) AssignProperties_From_ServiceEndpointPropertiesFormat(source *v20201101s.ServiceEndpointPropertiesFormat) error {
+func (format *ServiceEndpointPropertiesFormat) AssignProperties_From_ServiceEndpointPropertiesFormat(source *storage.ServiceEndpointPropertiesFormat) error {
// Locations
format.Locations = genruntime.CloneSliceOfString(source.Locations)
@@ -3427,7 +3433,7 @@ func (format *ServiceEndpointPropertiesFormat) AssignProperties_From_ServiceEndp
}
// AssignProperties_To_ServiceEndpointPropertiesFormat populates the provided destination ServiceEndpointPropertiesFormat from our ServiceEndpointPropertiesFormat
-func (format *ServiceEndpointPropertiesFormat) AssignProperties_To_ServiceEndpointPropertiesFormat(destination *v20201101s.ServiceEndpointPropertiesFormat) error {
+func (format *ServiceEndpointPropertiesFormat) AssignProperties_To_ServiceEndpointPropertiesFormat(destination *storage.ServiceEndpointPropertiesFormat) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3509,15 +3515,16 @@ func (format *ServiceEndpointPropertiesFormat_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ServiceEndpointPropertiesFormat_STATUS populates our ServiceEndpointPropertiesFormat_STATUS from the provided source ServiceEndpointPropertiesFormat_STATUS
-func (format *ServiceEndpointPropertiesFormat_STATUS) AssignProperties_From_ServiceEndpointPropertiesFormat_STATUS(source *v20201101s.ServiceEndpointPropertiesFormat_STATUS) error {
+func (format *ServiceEndpointPropertiesFormat_STATUS) AssignProperties_From_ServiceEndpointPropertiesFormat_STATUS(source *storage.ServiceEndpointPropertiesFormat_STATUS) error {
// Locations
format.Locations = genruntime.CloneSliceOfString(source.Locations)
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- format.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ format.ProvisioningState = &provisioningStateTemp
} else {
format.ProvisioningState = nil
}
@@ -3530,7 +3537,7 @@ func (format *ServiceEndpointPropertiesFormat_STATUS) AssignProperties_From_Serv
}
// AssignProperties_To_ServiceEndpointPropertiesFormat_STATUS populates the provided destination ServiceEndpointPropertiesFormat_STATUS from our ServiceEndpointPropertiesFormat_STATUS
-func (format *ServiceEndpointPropertiesFormat_STATUS) AssignProperties_To_ServiceEndpointPropertiesFormat_STATUS(destination *v20201101s.ServiceEndpointPropertiesFormat_STATUS) error {
+func (format *ServiceEndpointPropertiesFormat_STATUS) AssignProperties_To_ServiceEndpointPropertiesFormat_STATUS(destination *storage.ServiceEndpointPropertiesFormat_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3567,6 +3574,12 @@ const (
SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_Enabled = SubnetPropertiesFormat_PrivateEndpointNetworkPolicies("Enabled")
)
+// Mapping from string to SubnetPropertiesFormat_PrivateEndpointNetworkPolicies
+var subnetPropertiesFormat_PrivateEndpointNetworkPolicies_Values = map[string]SubnetPropertiesFormat_PrivateEndpointNetworkPolicies{
+ "disabled": SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_Disabled,
+ "enabled": SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_Enabled,
+}
+
type SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS string
const (
@@ -3574,6 +3587,12 @@ const (
SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS_Enabled = SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS("Enabled")
)
+// Mapping from string to SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS
+var subnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS_Values = map[string]SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS{
+ "disabled": SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS_Disabled,
+ "enabled": SubnetPropertiesFormat_PrivateEndpointNetworkPolicies_STATUS_Enabled,
+}
+
// +kubebuilder:validation:Enum={"Disabled","Enabled"}
type SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies string
@@ -3582,6 +3601,12 @@ const (
SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_Enabled = SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies("Enabled")
)
+// Mapping from string to SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies
+var subnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_Values = map[string]SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies{
+ "disabled": SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_Disabled,
+ "enabled": SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_Enabled,
+}
+
type SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS string
const (
@@ -3589,6 +3614,12 @@ const (
SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS_Enabled = SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS("Enabled")
)
+// Mapping from string to SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS
+var subnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS_Values = map[string]SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS{
+ "disabled": SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS_Disabled,
+ "enabled": SubnetPropertiesFormat_PrivateLinkServiceNetworkPolicies_STATUS_Enabled,
+}
+
func init() {
SchemeBuilder.Register(&VirtualNetworksSubnet{}, &VirtualNetworksSubnetList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_virtual_network_peering_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_virtual_network_peering_types_gen.go
index 73fd33b8e7..b172bd0c42 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_virtual_network_peering_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/virtual_networks_virtual_network_peering_types_gen.go
@@ -5,7 +5,7 @@ package v1api20201101
import (
"fmt"
- v20201101s "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20201101/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &VirtualNetworksVirtualNetworkPeering{}
// ConvertFrom populates our VirtualNetworksVirtualNetworkPeering from the provided hub VirtualNetworksVirtualNetworkPeering
func (peering *VirtualNetworksVirtualNetworkPeering) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20201101s.VirtualNetworksVirtualNetworkPeering)
+ source, ok := hub.(*storage.VirtualNetworksVirtualNetworkPeering)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetworksVirtualNetworkPeering but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) ConvertFrom(hub conversion.
// ConvertTo populates the provided hub VirtualNetworksVirtualNetworkPeering from our VirtualNetworksVirtualNetworkPeering
func (peering *VirtualNetworksVirtualNetworkPeering) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20201101s.VirtualNetworksVirtualNetworkPeering)
+ destination, ok := hub.(*storage.VirtualNetworksVirtualNetworkPeering)
if !ok {
return fmt.Errorf("expected network/v1api20201101/storage/VirtualNetworksVirtualNetworkPeering but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) validateWriteOnceProperties
}
// AssignProperties_From_VirtualNetworksVirtualNetworkPeering populates our VirtualNetworksVirtualNetworkPeering from the provided source VirtualNetworksVirtualNetworkPeering
-func (peering *VirtualNetworksVirtualNetworkPeering) AssignProperties_From_VirtualNetworksVirtualNetworkPeering(source *v20201101s.VirtualNetworksVirtualNetworkPeering) error {
+func (peering *VirtualNetworksVirtualNetworkPeering) AssignProperties_From_VirtualNetworksVirtualNetworkPeering(source *storage.VirtualNetworksVirtualNetworkPeering) error {
// ObjectMeta
peering.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (peering *VirtualNetworksVirtualNetworkPeering) AssignProperties_From_Virtu
}
// AssignProperties_To_VirtualNetworksVirtualNetworkPeering populates the provided destination VirtualNetworksVirtualNetworkPeering from our VirtualNetworksVirtualNetworkPeering
-func (peering *VirtualNetworksVirtualNetworkPeering) AssignProperties_To_VirtualNetworksVirtualNetworkPeering(destination *v20201101s.VirtualNetworksVirtualNetworkPeering) error {
+func (peering *VirtualNetworksVirtualNetworkPeering) AssignProperties_To_VirtualNetworksVirtualNetworkPeering(destination *storage.VirtualNetworksVirtualNetworkPeering) error {
// ObjectMeta
destination.ObjectMeta = *peering.ObjectMeta.DeepCopy()
// Spec
- var spec v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec
+ var spec storage.VirtualNetworks_VirtualNetworkPeering_Spec
err := peering.Spec.AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (peering *VirtualNetworksVirtualNetworkPeering) AssignProperties_To_Virtual
destination.Spec = spec
// Status
- var status v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS
+ var status storage.VirtualNetworks_VirtualNetworkPeering_STATUS
err = peering.Status.AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS() to populate field Status")
@@ -570,14 +570,14 @@ var _ genruntime.ConvertibleSpec = &VirtualNetworks_VirtualNetworkPeering_Spec{}
// ConvertSpecFrom populates our VirtualNetworks_VirtualNetworkPeering_Spec from the provided source
func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec)
+ src, ok := source.(*storage.VirtualNetworks_VirtualNetworkPeering_Spec)
if ok {
// Populate our instance from source
return peering.AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_Spec(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec{}
+ src = &storage.VirtualNetworks_VirtualNetworkPeering_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -594,14 +594,14 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) ConvertSpecFrom(sourc
// ConvertSpecTo populates the provided destination from our VirtualNetworks_VirtualNetworkPeering_Spec
func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec)
+ dst, ok := destination.(*storage.VirtualNetworks_VirtualNetworkPeering_Spec)
if ok {
// Populate destination from our instance
return peering.AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec{}
+ dst = &storage.VirtualNetworks_VirtualNetworkPeering_Spec{}
err := peering.AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -617,7 +617,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) ConvertSpecTo(destina
}
// AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_Spec populates our VirtualNetworks_VirtualNetworkPeering_Spec from the provided source VirtualNetworks_VirtualNetworkPeering_Spec
-func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_Spec(source *v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec) error {
+func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_Spec(source *storage.VirtualNetworks_VirtualNetworkPeering_Spec) error {
// AllowForwardedTraffic
if source.AllowForwardedTraffic != nil {
@@ -664,8 +664,9 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_From
// PeeringState
if source.PeeringState != nil {
- peeringState := VirtualNetworkPeeringPropertiesFormat_PeeringState(*source.PeeringState)
- peering.PeeringState = &peeringState
+ peeringState := *source.PeeringState
+ peeringStateTemp := genruntime.ToEnum(peeringState, virtualNetworkPeeringPropertiesFormat_PeeringState_Values)
+ peering.PeeringState = &peeringStateTemp
} else {
peering.PeeringState = nil
}
@@ -719,7 +720,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_From
}
// AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec populates the provided destination VirtualNetworks_VirtualNetworkPeering_Spec from our VirtualNetworks_VirtualNetworkPeering_Spec
-func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec(destination *v20201101s.VirtualNetworks_VirtualNetworkPeering_Spec) error {
+func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_Spec(destination *storage.VirtualNetworks_VirtualNetworkPeering_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -779,7 +780,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_To_V
// RemoteAddressSpace
if peering.RemoteAddressSpace != nil {
- var remoteAddressSpace v20201101s.AddressSpace
+ var remoteAddressSpace storage.AddressSpace
err := peering.RemoteAddressSpace.AssignProperties_To_AddressSpace(&remoteAddressSpace)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace() to populate field RemoteAddressSpace")
@@ -791,7 +792,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_To_V
// RemoteBgpCommunities
if peering.RemoteBgpCommunities != nil {
- var remoteBgpCommunity v20201101s.VirtualNetworkBgpCommunities
+ var remoteBgpCommunity storage.VirtualNetworkBgpCommunities
err := peering.RemoteBgpCommunities.AssignProperties_To_VirtualNetworkBgpCommunities(&remoteBgpCommunity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkBgpCommunities() to populate field RemoteBgpCommunities")
@@ -803,7 +804,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) AssignProperties_To_V
// RemoteVirtualNetwork
if peering.RemoteVirtualNetwork != nil {
- var remoteVirtualNetwork v20201101s.SubResource
+ var remoteVirtualNetwork storage.SubResource
err := peering.RemoteVirtualNetwork.AssignProperties_To_SubResource(&remoteVirtualNetwork)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource() to populate field RemoteVirtualNetwork")
@@ -869,7 +870,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_Spec) Initialize_From_Virtu
// PeeringState
if source.PeeringState != nil {
- peeringState := VirtualNetworkPeeringPropertiesFormat_PeeringState(*source.PeeringState)
+ peeringState := genruntime.ToEnum(string(*source.PeeringState), virtualNetworkPeeringPropertiesFormat_PeeringState_Values)
peering.PeeringState = &peeringState
} else {
peering.PeeringState = nil
@@ -994,14 +995,14 @@ var _ genruntime.ConvertibleStatus = &VirtualNetworks_VirtualNetworkPeering_STAT
// ConvertStatusFrom populates our VirtualNetworks_VirtualNetworkPeering_STATUS from the provided source
func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS)
+ src, ok := source.(*storage.VirtualNetworks_VirtualNetworkPeering_STATUS)
if ok {
// Populate our instance from source
return peering.AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_STATUS(src)
}
// Convert to an intermediate form
- src = &v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS{}
+ src = &storage.VirtualNetworks_VirtualNetworkPeering_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1018,14 +1019,14 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) ConvertStatusFrom(s
// ConvertStatusTo populates the provided destination from our VirtualNetworks_VirtualNetworkPeering_STATUS
func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS)
+ dst, ok := destination.(*storage.VirtualNetworks_VirtualNetworkPeering_STATUS)
if ok {
// Populate destination from our instance
return peering.AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS{}
+ dst = &storage.VirtualNetworks_VirtualNetworkPeering_STATUS{}
err := peering.AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1199,7 +1200,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) PopulateFromARM(own
}
// AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_STATUS populates our VirtualNetworks_VirtualNetworkPeering_STATUS from the provided source VirtualNetworks_VirtualNetworkPeering_STATUS
-func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_STATUS(source *v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS) error {
+func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_From_VirtualNetworks_VirtualNetworkPeering_STATUS(source *storage.VirtualNetworks_VirtualNetworkPeering_STATUS) error {
// AllowForwardedTraffic
if source.AllowForwardedTraffic != nil {
@@ -1247,16 +1248,18 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_Fr
// PeeringState
if source.PeeringState != nil {
- peeringState := VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS(*source.PeeringState)
- peering.PeeringState = &peeringState
+ peeringState := *source.PeeringState
+ peeringStateTemp := genruntime.ToEnum(peeringState, virtualNetworkPeeringPropertiesFormat_PeeringState_STATUS_Values)
+ peering.PeeringState = &peeringStateTemp
} else {
peering.PeeringState = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ProvisioningState_STATUS(*source.ProvisioningState)
- peering.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, provisioningState_STATUS_Values)
+ peering.ProvisioningState = &provisioningStateTemp
} else {
peering.ProvisioningState = nil
}
@@ -1316,7 +1319,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_Fr
}
// AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS populates the provided destination VirtualNetworks_VirtualNetworkPeering_STATUS from our VirtualNetworks_VirtualNetworkPeering_STATUS
-func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS(destination *v20201101s.VirtualNetworks_VirtualNetworkPeering_STATUS) error {
+func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_To_VirtualNetworks_VirtualNetworkPeering_STATUS(destination *storage.VirtualNetworks_VirtualNetworkPeering_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1382,7 +1385,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_To
// RemoteAddressSpace
if peering.RemoteAddressSpace != nil {
- var remoteAddressSpace v20201101s.AddressSpace_STATUS
+ var remoteAddressSpace storage.AddressSpace_STATUS
err := peering.RemoteAddressSpace.AssignProperties_To_AddressSpace_STATUS(&remoteAddressSpace)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_AddressSpace_STATUS() to populate field RemoteAddressSpace")
@@ -1394,7 +1397,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_To
// RemoteBgpCommunities
if peering.RemoteBgpCommunities != nil {
- var remoteBgpCommunity v20201101s.VirtualNetworkBgpCommunities_STATUS
+ var remoteBgpCommunity storage.VirtualNetworkBgpCommunities_STATUS
err := peering.RemoteBgpCommunities.AssignProperties_To_VirtualNetworkBgpCommunities_STATUS(&remoteBgpCommunity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_VirtualNetworkBgpCommunities_STATUS() to populate field RemoteBgpCommunities")
@@ -1406,7 +1409,7 @@ func (peering *VirtualNetworks_VirtualNetworkPeering_STATUS) AssignProperties_To
// RemoteVirtualNetwork
if peering.RemoteVirtualNetwork != nil {
- var remoteVirtualNetwork v20201101s.SubResource_STATUS
+ var remoteVirtualNetwork storage.SubResource_STATUS
err := peering.RemoteVirtualNetwork.AssignProperties_To_SubResource_STATUS(&remoteVirtualNetwork)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SubResource_STATUS() to populate field RemoteVirtualNetwork")
@@ -1450,6 +1453,13 @@ const (
VirtualNetworkPeeringPropertiesFormat_PeeringState_Initiated = VirtualNetworkPeeringPropertiesFormat_PeeringState("Initiated")
)
+// Mapping from string to VirtualNetworkPeeringPropertiesFormat_PeeringState
+var virtualNetworkPeeringPropertiesFormat_PeeringState_Values = map[string]VirtualNetworkPeeringPropertiesFormat_PeeringState{
+ "connected": VirtualNetworkPeeringPropertiesFormat_PeeringState_Connected,
+ "disconnected": VirtualNetworkPeeringPropertiesFormat_PeeringState_Disconnected,
+ "initiated": VirtualNetworkPeeringPropertiesFormat_PeeringState_Initiated,
+}
+
type VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS string
const (
@@ -1458,6 +1468,13 @@ const (
VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS_Initiated = VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS("Initiated")
)
+// Mapping from string to VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS
+var virtualNetworkPeeringPropertiesFormat_PeeringState_STATUS_Values = map[string]VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS{
+ "connected": VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS_Connected,
+ "disconnected": VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS_Disconnected,
+ "initiated": VirtualNetworkPeeringPropertiesFormat_PeeringState_STATUS_Initiated,
+}
+
func init() {
SchemeBuilder.Register(&VirtualNetworksVirtualNetworkPeering{}, &VirtualNetworksVirtualNetworkPeeringList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_spec_arm_types_gen.go
index 48e9745ab8..4682aac393 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_spec_arm_types_gen.go
@@ -461,6 +461,14 @@ const (
ManagedServiceIdentity_Type_UserAssigned = ManagedServiceIdentity_Type("UserAssigned")
)
+// Mapping from string to ManagedServiceIdentity_Type
+var managedServiceIdentity_Type_Values = map[string]ManagedServiceIdentity_Type{
+ "none": ManagedServiceIdentity_Type_None,
+ "systemassigned": ManagedServiceIdentity_Type_SystemAssigned,
+ "systemassigned, userassigned": ManagedServiceIdentity_Type_SystemAssignedUserAssigned,
+ "userassigned": ManagedServiceIdentity_Type_UserAssigned,
+}
+
// Information about the user assigned identity for the resource
type UserAssignedIdentityDetails_ARM struct {
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_status_application_gateway_sub_resource_embedded_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_status_application_gateway_sub_resource_embedded_arm_types_gen.go
index c038aac9f4..240b531a0a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_status_application_gateway_sub_resource_embedded_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_status_application_gateway_sub_resource_embedded_arm_types_gen.go
@@ -421,6 +421,14 @@ const (
ManagedServiceIdentity_Type_STATUS_UserAssigned = ManagedServiceIdentity_Type_STATUS("UserAssigned")
)
+// Mapping from string to ManagedServiceIdentity_Type_STATUS
+var managedServiceIdentity_Type_STATUS_Values = map[string]ManagedServiceIdentity_Type_STATUS{
+ "none": ManagedServiceIdentity_Type_STATUS_None,
+ "systemassigned": ManagedServiceIdentity_Type_STATUS_SystemAssigned,
+ "systemassigned, userassigned": ManagedServiceIdentity_Type_STATUS_SystemAssignedUserAssigned,
+ "userassigned": ManagedServiceIdentity_Type_STATUS_UserAssigned,
+}
+
type ManagedServiceIdentity_UserAssignedIdentities_STATUS_ARM struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_types_gen.go
index 3aae7ba26c..1abc3a1c92 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/application_gateway_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &ApplicationGateway{}
// ConvertFrom populates our ApplicationGateway from the provided hub ApplicationGateway
func (gateway *ApplicationGateway) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.ApplicationGateway)
+ source, ok := hub.(*storage.ApplicationGateway)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/ApplicationGateway but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (gateway *ApplicationGateway) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ApplicationGateway from our ApplicationGateway
func (gateway *ApplicationGateway) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.ApplicationGateway)
+ destination, ok := hub.(*storage.ApplicationGateway)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/ApplicationGateway but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (gateway *ApplicationGateway) validateWriteOnceProperties(old runtime.Objec
}
// AssignProperties_From_ApplicationGateway populates our ApplicationGateway from the provided source ApplicationGateway
-func (gateway *ApplicationGateway) AssignProperties_From_ApplicationGateway(source *v20220701s.ApplicationGateway) error {
+func (gateway *ApplicationGateway) AssignProperties_From_ApplicationGateway(source *storage.ApplicationGateway) error {
// ObjectMeta
gateway.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (gateway *ApplicationGateway) AssignProperties_From_ApplicationGateway(sour
}
// AssignProperties_To_ApplicationGateway populates the provided destination ApplicationGateway from our ApplicationGateway
-func (gateway *ApplicationGateway) AssignProperties_To_ApplicationGateway(destination *v20220701s.ApplicationGateway) error {
+func (gateway *ApplicationGateway) AssignProperties_To_ApplicationGateway(destination *storage.ApplicationGateway) error {
// ObjectMeta
destination.ObjectMeta = *gateway.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.ApplicationGateway_Spec
+ var spec storage.ApplicationGateway_Spec
err := gateway.Spec.AssignProperties_To_ApplicationGateway_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGateway_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (gateway *ApplicationGateway) AssignProperties_To_ApplicationGateway(destin
destination.Spec = spec
// Status
- var status v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
+ var status storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
err = gateway.Status.AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded() to populate field Status")
@@ -1216,14 +1216,14 @@ var _ genruntime.ConvertibleSpec = &ApplicationGateway_Spec{}
// ConvertSpecFrom populates our ApplicationGateway_Spec from the provided source
func (gateway *ApplicationGateway_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.ApplicationGateway_Spec)
+ src, ok := source.(*storage.ApplicationGateway_Spec)
if ok {
// Populate our instance from source
return gateway.AssignProperties_From_ApplicationGateway_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.ApplicationGateway_Spec{}
+ src = &storage.ApplicationGateway_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -1240,14 +1240,14 @@ func (gateway *ApplicationGateway_Spec) ConvertSpecFrom(source genruntime.Conver
// ConvertSpecTo populates the provided destination from our ApplicationGateway_Spec
func (gateway *ApplicationGateway_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.ApplicationGateway_Spec)
+ dst, ok := destination.(*storage.ApplicationGateway_Spec)
if ok {
// Populate destination from our instance
return gateway.AssignProperties_To_ApplicationGateway_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.ApplicationGateway_Spec{}
+ dst = &storage.ApplicationGateway_Spec{}
err := gateway.AssignProperties_To_ApplicationGateway_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -1263,7 +1263,7 @@ func (gateway *ApplicationGateway_Spec) ConvertSpecTo(destination genruntime.Con
}
// AssignProperties_From_ApplicationGateway_Spec populates our ApplicationGateway_Spec from the provided source ApplicationGateway_Spec
-func (gateway *ApplicationGateway_Spec) AssignProperties_From_ApplicationGateway_Spec(source *v20220701s.ApplicationGateway_Spec) error {
+func (gateway *ApplicationGateway_Spec) AssignProperties_From_ApplicationGateway_Spec(source *storage.ApplicationGateway_Spec) error {
// AuthenticationCertificates
if source.AuthenticationCertificates != nil {
@@ -1794,17 +1794,17 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_From_ApplicationGateway
}
// AssignProperties_To_ApplicationGateway_Spec populates the provided destination ApplicationGateway_Spec from our ApplicationGateway_Spec
-func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_Spec(destination *v20220701s.ApplicationGateway_Spec) error {
+func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_Spec(destination *storage.ApplicationGateway_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AuthenticationCertificates
if gateway.AuthenticationCertificates != nil {
- authenticationCertificateList := make([]v20220701s.ApplicationGatewayAuthenticationCertificate, len(gateway.AuthenticationCertificates))
+ authenticationCertificateList := make([]storage.ApplicationGatewayAuthenticationCertificate, len(gateway.AuthenticationCertificates))
for authenticationCertificateIndex, authenticationCertificateItem := range gateway.AuthenticationCertificates {
// Shadow the loop variable to avoid aliasing
authenticationCertificateItem := authenticationCertificateItem
- var authenticationCertificate v20220701s.ApplicationGatewayAuthenticationCertificate
+ var authenticationCertificate storage.ApplicationGatewayAuthenticationCertificate
err := authenticationCertificateItem.AssignProperties_To_ApplicationGatewayAuthenticationCertificate(&authenticationCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayAuthenticationCertificate() to populate field AuthenticationCertificates")
@@ -1818,7 +1818,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// AutoscaleConfiguration
if gateway.AutoscaleConfiguration != nil {
- var autoscaleConfiguration v20220701s.ApplicationGatewayAutoscaleConfiguration
+ var autoscaleConfiguration storage.ApplicationGatewayAutoscaleConfiguration
err := gateway.AutoscaleConfiguration.AssignProperties_To_ApplicationGatewayAutoscaleConfiguration(&autoscaleConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayAutoscaleConfiguration() to populate field AutoscaleConfiguration")
@@ -1833,11 +1833,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// BackendAddressPools
if gateway.BackendAddressPools != nil {
- backendAddressPoolList := make([]v20220701s.ApplicationGatewayBackendAddressPool, len(gateway.BackendAddressPools))
+ backendAddressPoolList := make([]storage.ApplicationGatewayBackendAddressPool, len(gateway.BackendAddressPools))
for backendAddressPoolIndex, backendAddressPoolItem := range gateway.BackendAddressPools {
// Shadow the loop variable to avoid aliasing
backendAddressPoolItem := backendAddressPoolItem
- var backendAddressPool v20220701s.ApplicationGatewayBackendAddressPool
+ var backendAddressPool storage.ApplicationGatewayBackendAddressPool
err := backendAddressPoolItem.AssignProperties_To_ApplicationGatewayBackendAddressPool(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendAddressPool() to populate field BackendAddressPools")
@@ -1851,11 +1851,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// BackendHttpSettingsCollection
if gateway.BackendHttpSettingsCollection != nil {
- backendHttpSettingsCollectionList := make([]v20220701s.ApplicationGatewayBackendHttpSettings, len(gateway.BackendHttpSettingsCollection))
+ backendHttpSettingsCollectionList := make([]storage.ApplicationGatewayBackendHttpSettings, len(gateway.BackendHttpSettingsCollection))
for backendHttpSettingsCollectionIndex, backendHttpSettingsCollectionItem := range gateway.BackendHttpSettingsCollection {
// Shadow the loop variable to avoid aliasing
backendHttpSettingsCollectionItem := backendHttpSettingsCollectionItem
- var backendHttpSettingsCollection v20220701s.ApplicationGatewayBackendHttpSettings
+ var backendHttpSettingsCollection storage.ApplicationGatewayBackendHttpSettings
err := backendHttpSettingsCollectionItem.AssignProperties_To_ApplicationGatewayBackendHttpSettings(&backendHttpSettingsCollection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendHttpSettings() to populate field BackendHttpSettingsCollection")
@@ -1869,11 +1869,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// BackendSettingsCollection
if gateway.BackendSettingsCollection != nil {
- backendSettingsCollectionList := make([]v20220701s.ApplicationGatewayBackendSettings, len(gateway.BackendSettingsCollection))
+ backendSettingsCollectionList := make([]storage.ApplicationGatewayBackendSettings, len(gateway.BackendSettingsCollection))
for backendSettingsCollectionIndex, backendSettingsCollectionItem := range gateway.BackendSettingsCollection {
// Shadow the loop variable to avoid aliasing
backendSettingsCollectionItem := backendSettingsCollectionItem
- var backendSettingsCollection v20220701s.ApplicationGatewayBackendSettings
+ var backendSettingsCollection storage.ApplicationGatewayBackendSettings
err := backendSettingsCollectionItem.AssignProperties_To_ApplicationGatewayBackendSettings(&backendSettingsCollection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendSettings() to populate field BackendSettingsCollection")
@@ -1887,11 +1887,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// CustomErrorConfigurations
if gateway.CustomErrorConfigurations != nil {
- customErrorConfigurationList := make([]v20220701s.ApplicationGatewayCustomError, len(gateway.CustomErrorConfigurations))
+ customErrorConfigurationList := make([]storage.ApplicationGatewayCustomError, len(gateway.CustomErrorConfigurations))
for customErrorConfigurationIndex, customErrorConfigurationItem := range gateway.CustomErrorConfigurations {
// Shadow the loop variable to avoid aliasing
customErrorConfigurationItem := customErrorConfigurationItem
- var customErrorConfiguration v20220701s.ApplicationGatewayCustomError
+ var customErrorConfiguration storage.ApplicationGatewayCustomError
err := customErrorConfigurationItem.AssignProperties_To_ApplicationGatewayCustomError(&customErrorConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayCustomError() to populate field CustomErrorConfigurations")
@@ -1921,7 +1921,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// FirewallPolicy
if gateway.FirewallPolicy != nil {
- var firewallPolicy v20220701s.ApplicationGatewaySubResource
+ var firewallPolicy storage.ApplicationGatewaySubResource
err := gateway.FirewallPolicy.AssignProperties_To_ApplicationGatewaySubResource(&firewallPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field FirewallPolicy")
@@ -1941,11 +1941,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// FrontendIPConfigurations
if gateway.FrontendIPConfigurations != nil {
- frontendIPConfigurationList := make([]v20220701s.ApplicationGatewayFrontendIPConfiguration, len(gateway.FrontendIPConfigurations))
+ frontendIPConfigurationList := make([]storage.ApplicationGatewayFrontendIPConfiguration, len(gateway.FrontendIPConfigurations))
for frontendIPConfigurationIndex, frontendIPConfigurationItem := range gateway.FrontendIPConfigurations {
// Shadow the loop variable to avoid aliasing
frontendIPConfigurationItem := frontendIPConfigurationItem
- var frontendIPConfiguration v20220701s.ApplicationGatewayFrontendIPConfiguration
+ var frontendIPConfiguration storage.ApplicationGatewayFrontendIPConfiguration
err := frontendIPConfigurationItem.AssignProperties_To_ApplicationGatewayFrontendIPConfiguration(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFrontendIPConfiguration() to populate field FrontendIPConfigurations")
@@ -1959,11 +1959,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// FrontendPorts
if gateway.FrontendPorts != nil {
- frontendPortList := make([]v20220701s.ApplicationGatewayFrontendPort, len(gateway.FrontendPorts))
+ frontendPortList := make([]storage.ApplicationGatewayFrontendPort, len(gateway.FrontendPorts))
for frontendPortIndex, frontendPortItem := range gateway.FrontendPorts {
// Shadow the loop variable to avoid aliasing
frontendPortItem := frontendPortItem
- var frontendPort v20220701s.ApplicationGatewayFrontendPort
+ var frontendPort storage.ApplicationGatewayFrontendPort
err := frontendPortItem.AssignProperties_To_ApplicationGatewayFrontendPort(&frontendPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFrontendPort() to populate field FrontendPorts")
@@ -1977,11 +1977,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// GatewayIPConfigurations
if gateway.GatewayIPConfigurations != nil {
- gatewayIPConfigurationList := make([]v20220701s.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded, len(gateway.GatewayIPConfigurations))
+ gatewayIPConfigurationList := make([]storage.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded, len(gateway.GatewayIPConfigurations))
for gatewayIPConfigurationIndex, gatewayIPConfigurationItem := range gateway.GatewayIPConfigurations {
// Shadow the loop variable to avoid aliasing
gatewayIPConfigurationItem := gatewayIPConfigurationItem
- var gatewayIPConfiguration v20220701s.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded
+ var gatewayIPConfiguration storage.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded
err := gatewayIPConfigurationItem.AssignProperties_To_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded(&gatewayIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded() to populate field GatewayIPConfigurations")
@@ -1995,7 +1995,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// GlobalConfiguration
if gateway.GlobalConfiguration != nil {
- var globalConfiguration v20220701s.ApplicationGatewayGlobalConfiguration
+ var globalConfiguration storage.ApplicationGatewayGlobalConfiguration
err := gateway.GlobalConfiguration.AssignProperties_To_ApplicationGatewayGlobalConfiguration(&globalConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayGlobalConfiguration() to populate field GlobalConfiguration")
@@ -2007,11 +2007,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// HttpListeners
if gateway.HttpListeners != nil {
- httpListenerList := make([]v20220701s.ApplicationGatewayHttpListener, len(gateway.HttpListeners))
+ httpListenerList := make([]storage.ApplicationGatewayHttpListener, len(gateway.HttpListeners))
for httpListenerIndex, httpListenerItem := range gateway.HttpListeners {
// Shadow the loop variable to avoid aliasing
httpListenerItem := httpListenerItem
- var httpListener v20220701s.ApplicationGatewayHttpListener
+ var httpListener storage.ApplicationGatewayHttpListener
err := httpListenerItem.AssignProperties_To_ApplicationGatewayHttpListener(&httpListener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayHttpListener() to populate field HttpListeners")
@@ -2025,7 +2025,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// Identity
if gateway.Identity != nil {
- var identity v20220701s.ManagedServiceIdentity
+ var identity storage.ManagedServiceIdentity
err := gateway.Identity.AssignProperties_To_ManagedServiceIdentity(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedServiceIdentity() to populate field Identity")
@@ -2037,11 +2037,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// Listeners
if gateway.Listeners != nil {
- listenerList := make([]v20220701s.ApplicationGatewayListener, len(gateway.Listeners))
+ listenerList := make([]storage.ApplicationGatewayListener, len(gateway.Listeners))
for listenerIndex, listenerItem := range gateway.Listeners {
// Shadow the loop variable to avoid aliasing
listenerItem := listenerItem
- var listener v20220701s.ApplicationGatewayListener
+ var listener storage.ApplicationGatewayListener
err := listenerItem.AssignProperties_To_ApplicationGatewayListener(&listener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayListener() to populate field Listeners")
@@ -2055,11 +2055,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// LoadDistributionPolicies
if gateway.LoadDistributionPolicies != nil {
- loadDistributionPolicyList := make([]v20220701s.ApplicationGatewayLoadDistributionPolicy, len(gateway.LoadDistributionPolicies))
+ loadDistributionPolicyList := make([]storage.ApplicationGatewayLoadDistributionPolicy, len(gateway.LoadDistributionPolicies))
for loadDistributionPolicyIndex, loadDistributionPolicyItem := range gateway.LoadDistributionPolicies {
// Shadow the loop variable to avoid aliasing
loadDistributionPolicyItem := loadDistributionPolicyItem
- var loadDistributionPolicy v20220701s.ApplicationGatewayLoadDistributionPolicy
+ var loadDistributionPolicy storage.ApplicationGatewayLoadDistributionPolicy
err := loadDistributionPolicyItem.AssignProperties_To_ApplicationGatewayLoadDistributionPolicy(&loadDistributionPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayLoadDistributionPolicy() to populate field LoadDistributionPolicies")
@@ -2087,11 +2087,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// PrivateLinkConfigurations
if gateway.PrivateLinkConfigurations != nil {
- privateLinkConfigurationList := make([]v20220701s.ApplicationGatewayPrivateLinkConfiguration, len(gateway.PrivateLinkConfigurations))
+ privateLinkConfigurationList := make([]storage.ApplicationGatewayPrivateLinkConfiguration, len(gateway.PrivateLinkConfigurations))
for privateLinkConfigurationIndex, privateLinkConfigurationItem := range gateway.PrivateLinkConfigurations {
// Shadow the loop variable to avoid aliasing
privateLinkConfigurationItem := privateLinkConfigurationItem
- var privateLinkConfiguration v20220701s.ApplicationGatewayPrivateLinkConfiguration
+ var privateLinkConfiguration storage.ApplicationGatewayPrivateLinkConfiguration
err := privateLinkConfigurationItem.AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration(&privateLinkConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration() to populate field PrivateLinkConfigurations")
@@ -2105,11 +2105,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// Probes
if gateway.Probes != nil {
- probeList := make([]v20220701s.ApplicationGatewayProbe, len(gateway.Probes))
+ probeList := make([]storage.ApplicationGatewayProbe, len(gateway.Probes))
for probeIndex, probeItem := range gateway.Probes {
// Shadow the loop variable to avoid aliasing
probeItem := probeItem
- var probe v20220701s.ApplicationGatewayProbe
+ var probe storage.ApplicationGatewayProbe
err := probeItem.AssignProperties_To_ApplicationGatewayProbe(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayProbe() to populate field Probes")
@@ -2123,11 +2123,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// RedirectConfigurations
if gateway.RedirectConfigurations != nil {
- redirectConfigurationList := make([]v20220701s.ApplicationGatewayRedirectConfiguration, len(gateway.RedirectConfigurations))
+ redirectConfigurationList := make([]storage.ApplicationGatewayRedirectConfiguration, len(gateway.RedirectConfigurations))
for redirectConfigurationIndex, redirectConfigurationItem := range gateway.RedirectConfigurations {
// Shadow the loop variable to avoid aliasing
redirectConfigurationItem := redirectConfigurationItem
- var redirectConfiguration v20220701s.ApplicationGatewayRedirectConfiguration
+ var redirectConfiguration storage.ApplicationGatewayRedirectConfiguration
err := redirectConfigurationItem.AssignProperties_To_ApplicationGatewayRedirectConfiguration(&redirectConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRedirectConfiguration() to populate field RedirectConfigurations")
@@ -2141,11 +2141,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// RequestRoutingRules
if gateway.RequestRoutingRules != nil {
- requestRoutingRuleList := make([]v20220701s.ApplicationGatewayRequestRoutingRule, len(gateway.RequestRoutingRules))
+ requestRoutingRuleList := make([]storage.ApplicationGatewayRequestRoutingRule, len(gateway.RequestRoutingRules))
for requestRoutingRuleIndex, requestRoutingRuleItem := range gateway.RequestRoutingRules {
// Shadow the loop variable to avoid aliasing
requestRoutingRuleItem := requestRoutingRuleItem
- var requestRoutingRule v20220701s.ApplicationGatewayRequestRoutingRule
+ var requestRoutingRule storage.ApplicationGatewayRequestRoutingRule
err := requestRoutingRuleItem.AssignProperties_To_ApplicationGatewayRequestRoutingRule(&requestRoutingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRequestRoutingRule() to populate field RequestRoutingRules")
@@ -2159,11 +2159,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// RewriteRuleSets
if gateway.RewriteRuleSets != nil {
- rewriteRuleSetList := make([]v20220701s.ApplicationGatewayRewriteRuleSet, len(gateway.RewriteRuleSets))
+ rewriteRuleSetList := make([]storage.ApplicationGatewayRewriteRuleSet, len(gateway.RewriteRuleSets))
for rewriteRuleSetIndex, rewriteRuleSetItem := range gateway.RewriteRuleSets {
// Shadow the loop variable to avoid aliasing
rewriteRuleSetItem := rewriteRuleSetItem
- var rewriteRuleSet v20220701s.ApplicationGatewayRewriteRuleSet
+ var rewriteRuleSet storage.ApplicationGatewayRewriteRuleSet
err := rewriteRuleSetItem.AssignProperties_To_ApplicationGatewayRewriteRuleSet(&rewriteRuleSet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRewriteRuleSet() to populate field RewriteRuleSets")
@@ -2177,11 +2177,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// RoutingRules
if gateway.RoutingRules != nil {
- routingRuleList := make([]v20220701s.ApplicationGatewayRoutingRule, len(gateway.RoutingRules))
+ routingRuleList := make([]storage.ApplicationGatewayRoutingRule, len(gateway.RoutingRules))
for routingRuleIndex, routingRuleItem := range gateway.RoutingRules {
// Shadow the loop variable to avoid aliasing
routingRuleItem := routingRuleItem
- var routingRule v20220701s.ApplicationGatewayRoutingRule
+ var routingRule storage.ApplicationGatewayRoutingRule
err := routingRuleItem.AssignProperties_To_ApplicationGatewayRoutingRule(&routingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRoutingRule() to populate field RoutingRules")
@@ -2195,7 +2195,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// Sku
if gateway.Sku != nil {
- var sku v20220701s.ApplicationGatewaySku
+ var sku storage.ApplicationGatewaySku
err := gateway.Sku.AssignProperties_To_ApplicationGatewaySku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySku() to populate field Sku")
@@ -2207,11 +2207,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// SslCertificates
if gateway.SslCertificates != nil {
- sslCertificateList := make([]v20220701s.ApplicationGatewaySslCertificate, len(gateway.SslCertificates))
+ sslCertificateList := make([]storage.ApplicationGatewaySslCertificate, len(gateway.SslCertificates))
for sslCertificateIndex, sslCertificateItem := range gateway.SslCertificates {
// Shadow the loop variable to avoid aliasing
sslCertificateItem := sslCertificateItem
- var sslCertificate v20220701s.ApplicationGatewaySslCertificate
+ var sslCertificate storage.ApplicationGatewaySslCertificate
err := sslCertificateItem.AssignProperties_To_ApplicationGatewaySslCertificate(&sslCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslCertificate() to populate field SslCertificates")
@@ -2225,7 +2225,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// SslPolicy
if gateway.SslPolicy != nil {
- var sslPolicy v20220701s.ApplicationGatewaySslPolicy
+ var sslPolicy storage.ApplicationGatewaySslPolicy
err := gateway.SslPolicy.AssignProperties_To_ApplicationGatewaySslPolicy(&sslPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslPolicy() to populate field SslPolicy")
@@ -2237,11 +2237,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// SslProfiles
if gateway.SslProfiles != nil {
- sslProfileList := make([]v20220701s.ApplicationGatewaySslProfile, len(gateway.SslProfiles))
+ sslProfileList := make([]storage.ApplicationGatewaySslProfile, len(gateway.SslProfiles))
for sslProfileIndex, sslProfileItem := range gateway.SslProfiles {
// Shadow the loop variable to avoid aliasing
sslProfileItem := sslProfileItem
- var sslProfile v20220701s.ApplicationGatewaySslProfile
+ var sslProfile storage.ApplicationGatewaySslProfile
err := sslProfileItem.AssignProperties_To_ApplicationGatewaySslProfile(&sslProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslProfile() to populate field SslProfiles")
@@ -2258,11 +2258,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// TrustedClientCertificates
if gateway.TrustedClientCertificates != nil {
- trustedClientCertificateList := make([]v20220701s.ApplicationGatewayTrustedClientCertificate, len(gateway.TrustedClientCertificates))
+ trustedClientCertificateList := make([]storage.ApplicationGatewayTrustedClientCertificate, len(gateway.TrustedClientCertificates))
for trustedClientCertificateIndex, trustedClientCertificateItem := range gateway.TrustedClientCertificates {
// Shadow the loop variable to avoid aliasing
trustedClientCertificateItem := trustedClientCertificateItem
- var trustedClientCertificate v20220701s.ApplicationGatewayTrustedClientCertificate
+ var trustedClientCertificate storage.ApplicationGatewayTrustedClientCertificate
err := trustedClientCertificateItem.AssignProperties_To_ApplicationGatewayTrustedClientCertificate(&trustedClientCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayTrustedClientCertificate() to populate field TrustedClientCertificates")
@@ -2276,11 +2276,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// TrustedRootCertificates
if gateway.TrustedRootCertificates != nil {
- trustedRootCertificateList := make([]v20220701s.ApplicationGatewayTrustedRootCertificate, len(gateway.TrustedRootCertificates))
+ trustedRootCertificateList := make([]storage.ApplicationGatewayTrustedRootCertificate, len(gateway.TrustedRootCertificates))
for trustedRootCertificateIndex, trustedRootCertificateItem := range gateway.TrustedRootCertificates {
// Shadow the loop variable to avoid aliasing
trustedRootCertificateItem := trustedRootCertificateItem
- var trustedRootCertificate v20220701s.ApplicationGatewayTrustedRootCertificate
+ var trustedRootCertificate storage.ApplicationGatewayTrustedRootCertificate
err := trustedRootCertificateItem.AssignProperties_To_ApplicationGatewayTrustedRootCertificate(&trustedRootCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayTrustedRootCertificate() to populate field TrustedRootCertificates")
@@ -2294,11 +2294,11 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// UrlPathMaps
if gateway.UrlPathMaps != nil {
- urlPathMapList := make([]v20220701s.ApplicationGatewayUrlPathMap, len(gateway.UrlPathMaps))
+ urlPathMapList := make([]storage.ApplicationGatewayUrlPathMap, len(gateway.UrlPathMaps))
for urlPathMapIndex, urlPathMapItem := range gateway.UrlPathMaps {
// Shadow the loop variable to avoid aliasing
urlPathMapItem := urlPathMapItem
- var urlPathMap v20220701s.ApplicationGatewayUrlPathMap
+ var urlPathMap storage.ApplicationGatewayUrlPathMap
err := urlPathMapItem.AssignProperties_To_ApplicationGatewayUrlPathMap(&urlPathMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayUrlPathMap() to populate field UrlPathMaps")
@@ -2312,7 +2312,7 @@ func (gateway *ApplicationGateway_Spec) AssignProperties_To_ApplicationGateway_S
// WebApplicationFirewallConfiguration
if gateway.WebApplicationFirewallConfiguration != nil {
- var webApplicationFirewallConfiguration v20220701s.ApplicationGatewayWebApplicationFirewallConfiguration
+ var webApplicationFirewallConfiguration storage.ApplicationGatewayWebApplicationFirewallConfiguration
err := gateway.WebApplicationFirewallConfiguration.AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration(&webApplicationFirewallConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration() to populate field WebApplicationFirewallConfiguration")
@@ -3025,14 +3025,14 @@ var _ genruntime.ConvertibleStatus = &ApplicationGateway_STATUS_ApplicationGatew
// ConvertStatusFrom populates our ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded from the provided source
func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded)
+ src, ok := source.(*storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded)
if ok {
// Populate our instance from source
return embedded.AssignProperties_From_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(src)
}
// Convert to an intermediate form
- src = &v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded{}
+ src = &storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -3049,14 +3049,14 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// ConvertStatusTo populates the provided destination from our ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded)
+ dst, ok := destination.(*storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded)
if ok {
// Populate destination from our instance
return embedded.AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded{}
+ dst = &storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded{}
err := embedded.AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -3583,7 +3583,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
}
// AssignProperties_From_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded populates our ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded from the provided source ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
-func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_From_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(source *v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) error {
+func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_From_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(source *storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) error {
// AuthenticationCertificates
if source.AuthenticationCertificates != nil {
@@ -3872,8 +3872,9 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// OperationalState
if source.OperationalState != nil {
- operationalState := ApplicationGatewayPropertiesFormat_OperationalState_STATUS(*source.OperationalState)
- embedded.OperationalState = &operationalState
+ operationalState := *source.OperationalState
+ operationalStateTemp := genruntime.ToEnum(operationalState, applicationGatewayPropertiesFormat_OperationalState_STATUS_Values)
+ embedded.OperationalState = &operationalStateTemp
} else {
embedded.OperationalState = nil
}
@@ -3934,8 +3935,9 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ApplicationGatewayProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, applicationGatewayProvisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -4155,17 +4157,17 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
}
// AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded populates the provided destination ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded from our ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
-func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(destination *v20220701s.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) error {
+func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_To_ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded(destination *storage.ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AuthenticationCertificates
if embedded.AuthenticationCertificates != nil {
- authenticationCertificateList := make([]v20220701s.ApplicationGatewayAuthenticationCertificate_STATUS, len(embedded.AuthenticationCertificates))
+ authenticationCertificateList := make([]storage.ApplicationGatewayAuthenticationCertificate_STATUS, len(embedded.AuthenticationCertificates))
for authenticationCertificateIndex, authenticationCertificateItem := range embedded.AuthenticationCertificates {
// Shadow the loop variable to avoid aliasing
authenticationCertificateItem := authenticationCertificateItem
- var authenticationCertificate v20220701s.ApplicationGatewayAuthenticationCertificate_STATUS
+ var authenticationCertificate storage.ApplicationGatewayAuthenticationCertificate_STATUS
err := authenticationCertificateItem.AssignProperties_To_ApplicationGatewayAuthenticationCertificate_STATUS(&authenticationCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayAuthenticationCertificate_STATUS() to populate field AuthenticationCertificates")
@@ -4179,7 +4181,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// AutoscaleConfiguration
if embedded.AutoscaleConfiguration != nil {
- var autoscaleConfiguration v20220701s.ApplicationGatewayAutoscaleConfiguration_STATUS
+ var autoscaleConfiguration storage.ApplicationGatewayAutoscaleConfiguration_STATUS
err := embedded.AutoscaleConfiguration.AssignProperties_To_ApplicationGatewayAutoscaleConfiguration_STATUS(&autoscaleConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayAutoscaleConfiguration_STATUS() to populate field AutoscaleConfiguration")
@@ -4191,11 +4193,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// BackendAddressPools
if embedded.BackendAddressPools != nil {
- backendAddressPoolList := make([]v20220701s.ApplicationGatewayBackendAddressPool_STATUS, len(embedded.BackendAddressPools))
+ backendAddressPoolList := make([]storage.ApplicationGatewayBackendAddressPool_STATUS, len(embedded.BackendAddressPools))
for backendAddressPoolIndex, backendAddressPoolItem := range embedded.BackendAddressPools {
// Shadow the loop variable to avoid aliasing
backendAddressPoolItem := backendAddressPoolItem
- var backendAddressPool v20220701s.ApplicationGatewayBackendAddressPool_STATUS
+ var backendAddressPool storage.ApplicationGatewayBackendAddressPool_STATUS
err := backendAddressPoolItem.AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS() to populate field BackendAddressPools")
@@ -4209,11 +4211,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// BackendHttpSettingsCollection
if embedded.BackendHttpSettingsCollection != nil {
- backendHttpSettingsCollectionList := make([]v20220701s.ApplicationGatewayBackendHttpSettings_STATUS, len(embedded.BackendHttpSettingsCollection))
+ backendHttpSettingsCollectionList := make([]storage.ApplicationGatewayBackendHttpSettings_STATUS, len(embedded.BackendHttpSettingsCollection))
for backendHttpSettingsCollectionIndex, backendHttpSettingsCollectionItem := range embedded.BackendHttpSettingsCollection {
// Shadow the loop variable to avoid aliasing
backendHttpSettingsCollectionItem := backendHttpSettingsCollectionItem
- var backendHttpSettingsCollection v20220701s.ApplicationGatewayBackendHttpSettings_STATUS
+ var backendHttpSettingsCollection storage.ApplicationGatewayBackendHttpSettings_STATUS
err := backendHttpSettingsCollectionItem.AssignProperties_To_ApplicationGatewayBackendHttpSettings_STATUS(&backendHttpSettingsCollection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendHttpSettings_STATUS() to populate field BackendHttpSettingsCollection")
@@ -4227,11 +4229,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// BackendSettingsCollection
if embedded.BackendSettingsCollection != nil {
- backendSettingsCollectionList := make([]v20220701s.ApplicationGatewayBackendSettings_STATUS, len(embedded.BackendSettingsCollection))
+ backendSettingsCollectionList := make([]storage.ApplicationGatewayBackendSettings_STATUS, len(embedded.BackendSettingsCollection))
for backendSettingsCollectionIndex, backendSettingsCollectionItem := range embedded.BackendSettingsCollection {
// Shadow the loop variable to avoid aliasing
backendSettingsCollectionItem := backendSettingsCollectionItem
- var backendSettingsCollection v20220701s.ApplicationGatewayBackendSettings_STATUS
+ var backendSettingsCollection storage.ApplicationGatewayBackendSettings_STATUS
err := backendSettingsCollectionItem.AssignProperties_To_ApplicationGatewayBackendSettings_STATUS(&backendSettingsCollection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendSettings_STATUS() to populate field BackendSettingsCollection")
@@ -4248,11 +4250,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// CustomErrorConfigurations
if embedded.CustomErrorConfigurations != nil {
- customErrorConfigurationList := make([]v20220701s.ApplicationGatewayCustomError_STATUS, len(embedded.CustomErrorConfigurations))
+ customErrorConfigurationList := make([]storage.ApplicationGatewayCustomError_STATUS, len(embedded.CustomErrorConfigurations))
for customErrorConfigurationIndex, customErrorConfigurationItem := range embedded.CustomErrorConfigurations {
// Shadow the loop variable to avoid aliasing
customErrorConfigurationItem := customErrorConfigurationItem
- var customErrorConfiguration v20220701s.ApplicationGatewayCustomError_STATUS
+ var customErrorConfiguration storage.ApplicationGatewayCustomError_STATUS
err := customErrorConfigurationItem.AssignProperties_To_ApplicationGatewayCustomError_STATUS(&customErrorConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayCustomError_STATUS() to populate field CustomErrorConfigurations")
@@ -4285,7 +4287,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// FirewallPolicy
if embedded.FirewallPolicy != nil {
- var firewallPolicy v20220701s.ApplicationGatewaySubResource_STATUS
+ var firewallPolicy storage.ApplicationGatewaySubResource_STATUS
err := embedded.FirewallPolicy.AssignProperties_To_ApplicationGatewaySubResource_STATUS(&firewallPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource_STATUS() to populate field FirewallPolicy")
@@ -4305,11 +4307,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// FrontendIPConfigurations
if embedded.FrontendIPConfigurations != nil {
- frontendIPConfigurationList := make([]v20220701s.ApplicationGatewayFrontendIPConfiguration_STATUS, len(embedded.FrontendIPConfigurations))
+ frontendIPConfigurationList := make([]storage.ApplicationGatewayFrontendIPConfiguration_STATUS, len(embedded.FrontendIPConfigurations))
for frontendIPConfigurationIndex, frontendIPConfigurationItem := range embedded.FrontendIPConfigurations {
// Shadow the loop variable to avoid aliasing
frontendIPConfigurationItem := frontendIPConfigurationItem
- var frontendIPConfiguration v20220701s.ApplicationGatewayFrontendIPConfiguration_STATUS
+ var frontendIPConfiguration storage.ApplicationGatewayFrontendIPConfiguration_STATUS
err := frontendIPConfigurationItem.AssignProperties_To_ApplicationGatewayFrontendIPConfiguration_STATUS(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFrontendIPConfiguration_STATUS() to populate field FrontendIPConfigurations")
@@ -4323,11 +4325,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// FrontendPorts
if embedded.FrontendPorts != nil {
- frontendPortList := make([]v20220701s.ApplicationGatewayFrontendPort_STATUS, len(embedded.FrontendPorts))
+ frontendPortList := make([]storage.ApplicationGatewayFrontendPort_STATUS, len(embedded.FrontendPorts))
for frontendPortIndex, frontendPortItem := range embedded.FrontendPorts {
// Shadow the loop variable to avoid aliasing
frontendPortItem := frontendPortItem
- var frontendPort v20220701s.ApplicationGatewayFrontendPort_STATUS
+ var frontendPort storage.ApplicationGatewayFrontendPort_STATUS
err := frontendPortItem.AssignProperties_To_ApplicationGatewayFrontendPort_STATUS(&frontendPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFrontendPort_STATUS() to populate field FrontendPorts")
@@ -4341,11 +4343,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// GatewayIPConfigurations
if embedded.GatewayIPConfigurations != nil {
- gatewayIPConfigurationList := make([]v20220701s.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded, len(embedded.GatewayIPConfigurations))
+ gatewayIPConfigurationList := make([]storage.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded, len(embedded.GatewayIPConfigurations))
for gatewayIPConfigurationIndex, gatewayIPConfigurationItem := range embedded.GatewayIPConfigurations {
// Shadow the loop variable to avoid aliasing
gatewayIPConfigurationItem := gatewayIPConfigurationItem
- var gatewayIPConfiguration v20220701s.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded
+ var gatewayIPConfiguration storage.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded
err := gatewayIPConfigurationItem.AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded(&gatewayIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded() to populate field GatewayIPConfigurations")
@@ -4359,7 +4361,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// GlobalConfiguration
if embedded.GlobalConfiguration != nil {
- var globalConfiguration v20220701s.ApplicationGatewayGlobalConfiguration_STATUS
+ var globalConfiguration storage.ApplicationGatewayGlobalConfiguration_STATUS
err := embedded.GlobalConfiguration.AssignProperties_To_ApplicationGatewayGlobalConfiguration_STATUS(&globalConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayGlobalConfiguration_STATUS() to populate field GlobalConfiguration")
@@ -4371,11 +4373,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// HttpListeners
if embedded.HttpListeners != nil {
- httpListenerList := make([]v20220701s.ApplicationGatewayHttpListener_STATUS, len(embedded.HttpListeners))
+ httpListenerList := make([]storage.ApplicationGatewayHttpListener_STATUS, len(embedded.HttpListeners))
for httpListenerIndex, httpListenerItem := range embedded.HttpListeners {
// Shadow the loop variable to avoid aliasing
httpListenerItem := httpListenerItem
- var httpListener v20220701s.ApplicationGatewayHttpListener_STATUS
+ var httpListener storage.ApplicationGatewayHttpListener_STATUS
err := httpListenerItem.AssignProperties_To_ApplicationGatewayHttpListener_STATUS(&httpListener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayHttpListener_STATUS() to populate field HttpListeners")
@@ -4392,7 +4394,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// Identity
if embedded.Identity != nil {
- var identity v20220701s.ManagedServiceIdentity_STATUS
+ var identity storage.ManagedServiceIdentity_STATUS
err := embedded.Identity.AssignProperties_To_ManagedServiceIdentity_STATUS(&identity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedServiceIdentity_STATUS() to populate field Identity")
@@ -4404,11 +4406,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// Listeners
if embedded.Listeners != nil {
- listenerList := make([]v20220701s.ApplicationGatewayListener_STATUS, len(embedded.Listeners))
+ listenerList := make([]storage.ApplicationGatewayListener_STATUS, len(embedded.Listeners))
for listenerIndex, listenerItem := range embedded.Listeners {
// Shadow the loop variable to avoid aliasing
listenerItem := listenerItem
- var listener v20220701s.ApplicationGatewayListener_STATUS
+ var listener storage.ApplicationGatewayListener_STATUS
err := listenerItem.AssignProperties_To_ApplicationGatewayListener_STATUS(&listener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayListener_STATUS() to populate field Listeners")
@@ -4422,11 +4424,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// LoadDistributionPolicies
if embedded.LoadDistributionPolicies != nil {
- loadDistributionPolicyList := make([]v20220701s.ApplicationGatewayLoadDistributionPolicy_STATUS, len(embedded.LoadDistributionPolicies))
+ loadDistributionPolicyList := make([]storage.ApplicationGatewayLoadDistributionPolicy_STATUS, len(embedded.LoadDistributionPolicies))
for loadDistributionPolicyIndex, loadDistributionPolicyItem := range embedded.LoadDistributionPolicies {
// Shadow the loop variable to avoid aliasing
loadDistributionPolicyItem := loadDistributionPolicyItem
- var loadDistributionPolicy v20220701s.ApplicationGatewayLoadDistributionPolicy_STATUS
+ var loadDistributionPolicy storage.ApplicationGatewayLoadDistributionPolicy_STATUS
err := loadDistributionPolicyItem.AssignProperties_To_ApplicationGatewayLoadDistributionPolicy_STATUS(&loadDistributionPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayLoadDistributionPolicy_STATUS() to populate field LoadDistributionPolicies")
@@ -4454,11 +4456,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// PrivateEndpointConnections
if embedded.PrivateEndpointConnections != nil {
- privateEndpointConnectionList := make([]v20220701s.ApplicationGatewayPrivateEndpointConnection_STATUS, len(embedded.PrivateEndpointConnections))
+ privateEndpointConnectionList := make([]storage.ApplicationGatewayPrivateEndpointConnection_STATUS, len(embedded.PrivateEndpointConnections))
for privateEndpointConnectionIndex, privateEndpointConnectionItem := range embedded.PrivateEndpointConnections {
// Shadow the loop variable to avoid aliasing
privateEndpointConnectionItem := privateEndpointConnectionItem
- var privateEndpointConnection v20220701s.ApplicationGatewayPrivateEndpointConnection_STATUS
+ var privateEndpointConnection storage.ApplicationGatewayPrivateEndpointConnection_STATUS
err := privateEndpointConnectionItem.AssignProperties_To_ApplicationGatewayPrivateEndpointConnection_STATUS(&privateEndpointConnection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayPrivateEndpointConnection_STATUS() to populate field PrivateEndpointConnections")
@@ -4472,11 +4474,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// PrivateLinkConfigurations
if embedded.PrivateLinkConfigurations != nil {
- privateLinkConfigurationList := make([]v20220701s.ApplicationGatewayPrivateLinkConfiguration_STATUS, len(embedded.PrivateLinkConfigurations))
+ privateLinkConfigurationList := make([]storage.ApplicationGatewayPrivateLinkConfiguration_STATUS, len(embedded.PrivateLinkConfigurations))
for privateLinkConfigurationIndex, privateLinkConfigurationItem := range embedded.PrivateLinkConfigurations {
// Shadow the loop variable to avoid aliasing
privateLinkConfigurationItem := privateLinkConfigurationItem
- var privateLinkConfiguration v20220701s.ApplicationGatewayPrivateLinkConfiguration_STATUS
+ var privateLinkConfiguration storage.ApplicationGatewayPrivateLinkConfiguration_STATUS
err := privateLinkConfigurationItem.AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration_STATUS(&privateLinkConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration_STATUS() to populate field PrivateLinkConfigurations")
@@ -4490,11 +4492,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// Probes
if embedded.Probes != nil {
- probeList := make([]v20220701s.ApplicationGatewayProbe_STATUS, len(embedded.Probes))
+ probeList := make([]storage.ApplicationGatewayProbe_STATUS, len(embedded.Probes))
for probeIndex, probeItem := range embedded.Probes {
// Shadow the loop variable to avoid aliasing
probeItem := probeItem
- var probe v20220701s.ApplicationGatewayProbe_STATUS
+ var probe storage.ApplicationGatewayProbe_STATUS
err := probeItem.AssignProperties_To_ApplicationGatewayProbe_STATUS(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayProbe_STATUS() to populate field Probes")
@@ -4516,11 +4518,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// RedirectConfigurations
if embedded.RedirectConfigurations != nil {
- redirectConfigurationList := make([]v20220701s.ApplicationGatewayRedirectConfiguration_STATUS, len(embedded.RedirectConfigurations))
+ redirectConfigurationList := make([]storage.ApplicationGatewayRedirectConfiguration_STATUS, len(embedded.RedirectConfigurations))
for redirectConfigurationIndex, redirectConfigurationItem := range embedded.RedirectConfigurations {
// Shadow the loop variable to avoid aliasing
redirectConfigurationItem := redirectConfigurationItem
- var redirectConfiguration v20220701s.ApplicationGatewayRedirectConfiguration_STATUS
+ var redirectConfiguration storage.ApplicationGatewayRedirectConfiguration_STATUS
err := redirectConfigurationItem.AssignProperties_To_ApplicationGatewayRedirectConfiguration_STATUS(&redirectConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRedirectConfiguration_STATUS() to populate field RedirectConfigurations")
@@ -4534,11 +4536,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// RequestRoutingRules
if embedded.RequestRoutingRules != nil {
- requestRoutingRuleList := make([]v20220701s.ApplicationGatewayRequestRoutingRule_STATUS, len(embedded.RequestRoutingRules))
+ requestRoutingRuleList := make([]storage.ApplicationGatewayRequestRoutingRule_STATUS, len(embedded.RequestRoutingRules))
for requestRoutingRuleIndex, requestRoutingRuleItem := range embedded.RequestRoutingRules {
// Shadow the loop variable to avoid aliasing
requestRoutingRuleItem := requestRoutingRuleItem
- var requestRoutingRule v20220701s.ApplicationGatewayRequestRoutingRule_STATUS
+ var requestRoutingRule storage.ApplicationGatewayRequestRoutingRule_STATUS
err := requestRoutingRuleItem.AssignProperties_To_ApplicationGatewayRequestRoutingRule_STATUS(&requestRoutingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRequestRoutingRule_STATUS() to populate field RequestRoutingRules")
@@ -4555,11 +4557,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// RewriteRuleSets
if embedded.RewriteRuleSets != nil {
- rewriteRuleSetList := make([]v20220701s.ApplicationGatewayRewriteRuleSet_STATUS, len(embedded.RewriteRuleSets))
+ rewriteRuleSetList := make([]storage.ApplicationGatewayRewriteRuleSet_STATUS, len(embedded.RewriteRuleSets))
for rewriteRuleSetIndex, rewriteRuleSetItem := range embedded.RewriteRuleSets {
// Shadow the loop variable to avoid aliasing
rewriteRuleSetItem := rewriteRuleSetItem
- var rewriteRuleSet v20220701s.ApplicationGatewayRewriteRuleSet_STATUS
+ var rewriteRuleSet storage.ApplicationGatewayRewriteRuleSet_STATUS
err := rewriteRuleSetItem.AssignProperties_To_ApplicationGatewayRewriteRuleSet_STATUS(&rewriteRuleSet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRewriteRuleSet_STATUS() to populate field RewriteRuleSets")
@@ -4573,11 +4575,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// RoutingRules
if embedded.RoutingRules != nil {
- routingRuleList := make([]v20220701s.ApplicationGatewayRoutingRule_STATUS, len(embedded.RoutingRules))
+ routingRuleList := make([]storage.ApplicationGatewayRoutingRule_STATUS, len(embedded.RoutingRules))
for routingRuleIndex, routingRuleItem := range embedded.RoutingRules {
// Shadow the loop variable to avoid aliasing
routingRuleItem := routingRuleItem
- var routingRule v20220701s.ApplicationGatewayRoutingRule_STATUS
+ var routingRule storage.ApplicationGatewayRoutingRule_STATUS
err := routingRuleItem.AssignProperties_To_ApplicationGatewayRoutingRule_STATUS(&routingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRoutingRule_STATUS() to populate field RoutingRules")
@@ -4591,7 +4593,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// Sku
if embedded.Sku != nil {
- var sku v20220701s.ApplicationGatewaySku_STATUS
+ var sku storage.ApplicationGatewaySku_STATUS
err := embedded.Sku.AssignProperties_To_ApplicationGatewaySku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySku_STATUS() to populate field Sku")
@@ -4603,11 +4605,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// SslCertificates
if embedded.SslCertificates != nil {
- sslCertificateList := make([]v20220701s.ApplicationGatewaySslCertificate_STATUS, len(embedded.SslCertificates))
+ sslCertificateList := make([]storage.ApplicationGatewaySslCertificate_STATUS, len(embedded.SslCertificates))
for sslCertificateIndex, sslCertificateItem := range embedded.SslCertificates {
// Shadow the loop variable to avoid aliasing
sslCertificateItem := sslCertificateItem
- var sslCertificate v20220701s.ApplicationGatewaySslCertificate_STATUS
+ var sslCertificate storage.ApplicationGatewaySslCertificate_STATUS
err := sslCertificateItem.AssignProperties_To_ApplicationGatewaySslCertificate_STATUS(&sslCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslCertificate_STATUS() to populate field SslCertificates")
@@ -4621,7 +4623,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// SslPolicy
if embedded.SslPolicy != nil {
- var sslPolicy v20220701s.ApplicationGatewaySslPolicy_STATUS
+ var sslPolicy storage.ApplicationGatewaySslPolicy_STATUS
err := embedded.SslPolicy.AssignProperties_To_ApplicationGatewaySslPolicy_STATUS(&sslPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslPolicy_STATUS() to populate field SslPolicy")
@@ -4633,11 +4635,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// SslProfiles
if embedded.SslProfiles != nil {
- sslProfileList := make([]v20220701s.ApplicationGatewaySslProfile_STATUS, len(embedded.SslProfiles))
+ sslProfileList := make([]storage.ApplicationGatewaySslProfile_STATUS, len(embedded.SslProfiles))
for sslProfileIndex, sslProfileItem := range embedded.SslProfiles {
// Shadow the loop variable to avoid aliasing
sslProfileItem := sslProfileItem
- var sslProfile v20220701s.ApplicationGatewaySslProfile_STATUS
+ var sslProfile storage.ApplicationGatewaySslProfile_STATUS
err := sslProfileItem.AssignProperties_To_ApplicationGatewaySslProfile_STATUS(&sslProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslProfile_STATUS() to populate field SslProfiles")
@@ -4654,11 +4656,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// TrustedClientCertificates
if embedded.TrustedClientCertificates != nil {
- trustedClientCertificateList := make([]v20220701s.ApplicationGatewayTrustedClientCertificate_STATUS, len(embedded.TrustedClientCertificates))
+ trustedClientCertificateList := make([]storage.ApplicationGatewayTrustedClientCertificate_STATUS, len(embedded.TrustedClientCertificates))
for trustedClientCertificateIndex, trustedClientCertificateItem := range embedded.TrustedClientCertificates {
// Shadow the loop variable to avoid aliasing
trustedClientCertificateItem := trustedClientCertificateItem
- var trustedClientCertificate v20220701s.ApplicationGatewayTrustedClientCertificate_STATUS
+ var trustedClientCertificate storage.ApplicationGatewayTrustedClientCertificate_STATUS
err := trustedClientCertificateItem.AssignProperties_To_ApplicationGatewayTrustedClientCertificate_STATUS(&trustedClientCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayTrustedClientCertificate_STATUS() to populate field TrustedClientCertificates")
@@ -4672,11 +4674,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// TrustedRootCertificates
if embedded.TrustedRootCertificates != nil {
- trustedRootCertificateList := make([]v20220701s.ApplicationGatewayTrustedRootCertificate_STATUS, len(embedded.TrustedRootCertificates))
+ trustedRootCertificateList := make([]storage.ApplicationGatewayTrustedRootCertificate_STATUS, len(embedded.TrustedRootCertificates))
for trustedRootCertificateIndex, trustedRootCertificateItem := range embedded.TrustedRootCertificates {
// Shadow the loop variable to avoid aliasing
trustedRootCertificateItem := trustedRootCertificateItem
- var trustedRootCertificate v20220701s.ApplicationGatewayTrustedRootCertificate_STATUS
+ var trustedRootCertificate storage.ApplicationGatewayTrustedRootCertificate_STATUS
err := trustedRootCertificateItem.AssignProperties_To_ApplicationGatewayTrustedRootCertificate_STATUS(&trustedRootCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayTrustedRootCertificate_STATUS() to populate field TrustedRootCertificates")
@@ -4693,11 +4695,11 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// UrlPathMaps
if embedded.UrlPathMaps != nil {
- urlPathMapList := make([]v20220701s.ApplicationGatewayUrlPathMap_STATUS, len(embedded.UrlPathMaps))
+ urlPathMapList := make([]storage.ApplicationGatewayUrlPathMap_STATUS, len(embedded.UrlPathMaps))
for urlPathMapIndex, urlPathMapItem := range embedded.UrlPathMaps {
// Shadow the loop variable to avoid aliasing
urlPathMapItem := urlPathMapItem
- var urlPathMap v20220701s.ApplicationGatewayUrlPathMap_STATUS
+ var urlPathMap storage.ApplicationGatewayUrlPathMap_STATUS
err := urlPathMapItem.AssignProperties_To_ApplicationGatewayUrlPathMap_STATUS(&urlPathMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayUrlPathMap_STATUS() to populate field UrlPathMaps")
@@ -4711,7 +4713,7 @@ func (embedded *ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded
// WebApplicationFirewallConfiguration
if embedded.WebApplicationFirewallConfiguration != nil {
- var webApplicationFirewallConfiguration v20220701s.ApplicationGatewayWebApplicationFirewallConfiguration_STATUS
+ var webApplicationFirewallConfiguration storage.ApplicationGatewayWebApplicationFirewallConfiguration_STATUS
err := embedded.WebApplicationFirewallConfiguration.AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS(&webApplicationFirewallConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS() to populate field WebApplicationFirewallConfiguration")
@@ -4799,7 +4801,7 @@ func (certificate *ApplicationGatewayAuthenticationCertificate) PopulateFromARM(
}
// AssignProperties_From_ApplicationGatewayAuthenticationCertificate populates our ApplicationGatewayAuthenticationCertificate from the provided source ApplicationGatewayAuthenticationCertificate
-func (certificate *ApplicationGatewayAuthenticationCertificate) AssignProperties_From_ApplicationGatewayAuthenticationCertificate(source *v20220701s.ApplicationGatewayAuthenticationCertificate) error {
+func (certificate *ApplicationGatewayAuthenticationCertificate) AssignProperties_From_ApplicationGatewayAuthenticationCertificate(source *storage.ApplicationGatewayAuthenticationCertificate) error {
// Data
if source.Data != nil {
@@ -4817,7 +4819,7 @@ func (certificate *ApplicationGatewayAuthenticationCertificate) AssignProperties
}
// AssignProperties_To_ApplicationGatewayAuthenticationCertificate populates the provided destination ApplicationGatewayAuthenticationCertificate from our ApplicationGatewayAuthenticationCertificate
-func (certificate *ApplicationGatewayAuthenticationCertificate) AssignProperties_To_ApplicationGatewayAuthenticationCertificate(destination *v20220701s.ApplicationGatewayAuthenticationCertificate) error {
+func (certificate *ApplicationGatewayAuthenticationCertificate) AssignProperties_To_ApplicationGatewayAuthenticationCertificate(destination *storage.ApplicationGatewayAuthenticationCertificate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4881,7 +4883,7 @@ func (certificate *ApplicationGatewayAuthenticationCertificate_STATUS) PopulateF
}
// AssignProperties_From_ApplicationGatewayAuthenticationCertificate_STATUS populates our ApplicationGatewayAuthenticationCertificate_STATUS from the provided source ApplicationGatewayAuthenticationCertificate_STATUS
-func (certificate *ApplicationGatewayAuthenticationCertificate_STATUS) AssignProperties_From_ApplicationGatewayAuthenticationCertificate_STATUS(source *v20220701s.ApplicationGatewayAuthenticationCertificate_STATUS) error {
+func (certificate *ApplicationGatewayAuthenticationCertificate_STATUS) AssignProperties_From_ApplicationGatewayAuthenticationCertificate_STATUS(source *storage.ApplicationGatewayAuthenticationCertificate_STATUS) error {
// Id
certificate.Id = genruntime.ClonePointerToString(source.Id)
@@ -4891,7 +4893,7 @@ func (certificate *ApplicationGatewayAuthenticationCertificate_STATUS) AssignPro
}
// AssignProperties_To_ApplicationGatewayAuthenticationCertificate_STATUS populates the provided destination ApplicationGatewayAuthenticationCertificate_STATUS from our ApplicationGatewayAuthenticationCertificate_STATUS
-func (certificate *ApplicationGatewayAuthenticationCertificate_STATUS) AssignProperties_To_ApplicationGatewayAuthenticationCertificate_STATUS(destination *v20220701s.ApplicationGatewayAuthenticationCertificate_STATUS) error {
+func (certificate *ApplicationGatewayAuthenticationCertificate_STATUS) AssignProperties_To_ApplicationGatewayAuthenticationCertificate_STATUS(destination *storage.ApplicationGatewayAuthenticationCertificate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -4973,7 +4975,7 @@ func (configuration *ApplicationGatewayAutoscaleConfiguration) PopulateFromARM(o
}
// AssignProperties_From_ApplicationGatewayAutoscaleConfiguration populates our ApplicationGatewayAutoscaleConfiguration from the provided source ApplicationGatewayAutoscaleConfiguration
-func (configuration *ApplicationGatewayAutoscaleConfiguration) AssignProperties_From_ApplicationGatewayAutoscaleConfiguration(source *v20220701s.ApplicationGatewayAutoscaleConfiguration) error {
+func (configuration *ApplicationGatewayAutoscaleConfiguration) AssignProperties_From_ApplicationGatewayAutoscaleConfiguration(source *storage.ApplicationGatewayAutoscaleConfiguration) error {
// MaxCapacity
if source.MaxCapacity != nil {
@@ -4996,7 +4998,7 @@ func (configuration *ApplicationGatewayAutoscaleConfiguration) AssignProperties_
}
// AssignProperties_To_ApplicationGatewayAutoscaleConfiguration populates the provided destination ApplicationGatewayAutoscaleConfiguration from our ApplicationGatewayAutoscaleConfiguration
-func (configuration *ApplicationGatewayAutoscaleConfiguration) AssignProperties_To_ApplicationGatewayAutoscaleConfiguration(destination *v20220701s.ApplicationGatewayAutoscaleConfiguration) error {
+func (configuration *ApplicationGatewayAutoscaleConfiguration) AssignProperties_To_ApplicationGatewayAutoscaleConfiguration(destination *storage.ApplicationGatewayAutoscaleConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5090,7 +5092,7 @@ func (configuration *ApplicationGatewayAutoscaleConfiguration_STATUS) PopulateFr
}
// AssignProperties_From_ApplicationGatewayAutoscaleConfiguration_STATUS populates our ApplicationGatewayAutoscaleConfiguration_STATUS from the provided source ApplicationGatewayAutoscaleConfiguration_STATUS
-func (configuration *ApplicationGatewayAutoscaleConfiguration_STATUS) AssignProperties_From_ApplicationGatewayAutoscaleConfiguration_STATUS(source *v20220701s.ApplicationGatewayAutoscaleConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayAutoscaleConfiguration_STATUS) AssignProperties_From_ApplicationGatewayAutoscaleConfiguration_STATUS(source *storage.ApplicationGatewayAutoscaleConfiguration_STATUS) error {
// MaxCapacity
configuration.MaxCapacity = genruntime.ClonePointerToInt(source.MaxCapacity)
@@ -5103,7 +5105,7 @@ func (configuration *ApplicationGatewayAutoscaleConfiguration_STATUS) AssignProp
}
// AssignProperties_To_ApplicationGatewayAutoscaleConfiguration_STATUS populates the provided destination ApplicationGatewayAutoscaleConfiguration_STATUS from our ApplicationGatewayAutoscaleConfiguration_STATUS
-func (configuration *ApplicationGatewayAutoscaleConfiguration_STATUS) AssignProperties_To_ApplicationGatewayAutoscaleConfiguration_STATUS(destination *v20220701s.ApplicationGatewayAutoscaleConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayAutoscaleConfiguration_STATUS) AssignProperties_To_ApplicationGatewayAutoscaleConfiguration_STATUS(destination *storage.ApplicationGatewayAutoscaleConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5198,7 +5200,7 @@ func (pool *ApplicationGatewayBackendAddressPool) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ApplicationGatewayBackendAddressPool populates our ApplicationGatewayBackendAddressPool from the provided source ApplicationGatewayBackendAddressPool
-func (pool *ApplicationGatewayBackendAddressPool) AssignProperties_From_ApplicationGatewayBackendAddressPool(source *v20220701s.ApplicationGatewayBackendAddressPool) error {
+func (pool *ApplicationGatewayBackendAddressPool) AssignProperties_From_ApplicationGatewayBackendAddressPool(source *storage.ApplicationGatewayBackendAddressPool) error {
// BackendAddresses
if source.BackendAddresses != nil {
@@ -5226,17 +5228,17 @@ func (pool *ApplicationGatewayBackendAddressPool) AssignProperties_From_Applicat
}
// AssignProperties_To_ApplicationGatewayBackendAddressPool populates the provided destination ApplicationGatewayBackendAddressPool from our ApplicationGatewayBackendAddressPool
-func (pool *ApplicationGatewayBackendAddressPool) AssignProperties_To_ApplicationGatewayBackendAddressPool(destination *v20220701s.ApplicationGatewayBackendAddressPool) error {
+func (pool *ApplicationGatewayBackendAddressPool) AssignProperties_To_ApplicationGatewayBackendAddressPool(destination *storage.ApplicationGatewayBackendAddressPool) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendAddresses
if pool.BackendAddresses != nil {
- backendAddressList := make([]v20220701s.ApplicationGatewayBackendAddress, len(pool.BackendAddresses))
+ backendAddressList := make([]storage.ApplicationGatewayBackendAddress, len(pool.BackendAddresses))
for backendAddressIndex, backendAddressItem := range pool.BackendAddresses {
// Shadow the loop variable to avoid aliasing
backendAddressItem := backendAddressItem
- var backendAddress v20220701s.ApplicationGatewayBackendAddress
+ var backendAddress storage.ApplicationGatewayBackendAddress
err := backendAddressItem.AssignProperties_To_ApplicationGatewayBackendAddress(&backendAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayBackendAddress() to populate field BackendAddresses")
@@ -5300,7 +5302,7 @@ func (pool *ApplicationGatewayBackendAddressPool_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ApplicationGatewayBackendAddressPool_STATUS populates our ApplicationGatewayBackendAddressPool_STATUS from the provided source ApplicationGatewayBackendAddressPool_STATUS
-func (pool *ApplicationGatewayBackendAddressPool_STATUS) AssignProperties_From_ApplicationGatewayBackendAddressPool_STATUS(source *v20220701s.ApplicationGatewayBackendAddressPool_STATUS) error {
+func (pool *ApplicationGatewayBackendAddressPool_STATUS) AssignProperties_From_ApplicationGatewayBackendAddressPool_STATUS(source *storage.ApplicationGatewayBackendAddressPool_STATUS) error {
// Id
pool.Id = genruntime.ClonePointerToString(source.Id)
@@ -5310,7 +5312,7 @@ func (pool *ApplicationGatewayBackendAddressPool_STATUS) AssignProperties_From_A
}
// AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS populates the provided destination ApplicationGatewayBackendAddressPool_STATUS from our ApplicationGatewayBackendAddressPool_STATUS
-func (pool *ApplicationGatewayBackendAddressPool_STATUS) AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS(destination *v20220701s.ApplicationGatewayBackendAddressPool_STATUS) error {
+func (pool *ApplicationGatewayBackendAddressPool_STATUS) AssignProperties_To_ApplicationGatewayBackendAddressPool_STATUS(destination *storage.ApplicationGatewayBackendAddressPool_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5634,7 +5636,7 @@ func (settings *ApplicationGatewayBackendHttpSettings) PopulateFromARM(owner gen
}
// AssignProperties_From_ApplicationGatewayBackendHttpSettings populates our ApplicationGatewayBackendHttpSettings from the provided source ApplicationGatewayBackendHttpSettings
-func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_From_ApplicationGatewayBackendHttpSettings(source *v20220701s.ApplicationGatewayBackendHttpSettings) error {
+func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_From_ApplicationGatewayBackendHttpSettings(source *storage.ApplicationGatewayBackendHttpSettings) error {
// AffinityCookieName
settings.AffinityCookieName = genruntime.ClonePointerToString(source.AffinityCookieName)
@@ -5671,8 +5673,9 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_From_App
// CookieBasedAffinity
if source.CookieBasedAffinity != nil {
- cookieBasedAffinity := ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity(*source.CookieBasedAffinity)
- settings.CookieBasedAffinity = &cookieBasedAffinity
+ cookieBasedAffinity := *source.CookieBasedAffinity
+ cookieBasedAffinityTemp := genruntime.ToEnum(cookieBasedAffinity, applicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity_Values)
+ settings.CookieBasedAffinity = &cookieBasedAffinityTemp
} else {
settings.CookieBasedAffinity = nil
}
@@ -5719,8 +5722,9 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_From_App
// Protocol
if source.Protocol != nil {
- protocol := ApplicationGatewayProtocol(*source.Protocol)
- settings.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, applicationGatewayProtocol_Values)
+ settings.Protocol = &protocolTemp
} else {
settings.Protocol = nil
}
@@ -5751,7 +5755,7 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_From_App
}
// AssignProperties_To_ApplicationGatewayBackendHttpSettings populates the provided destination ApplicationGatewayBackendHttpSettings from our ApplicationGatewayBackendHttpSettings
-func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_To_ApplicationGatewayBackendHttpSettings(destination *v20220701s.ApplicationGatewayBackendHttpSettings) error {
+func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_To_ApplicationGatewayBackendHttpSettings(destination *storage.ApplicationGatewayBackendHttpSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -5760,11 +5764,11 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_To_Appli
// AuthenticationCertificates
if settings.AuthenticationCertificates != nil {
- authenticationCertificateList := make([]v20220701s.ApplicationGatewaySubResource, len(settings.AuthenticationCertificates))
+ authenticationCertificateList := make([]storage.ApplicationGatewaySubResource, len(settings.AuthenticationCertificates))
for authenticationCertificateIndex, authenticationCertificateItem := range settings.AuthenticationCertificates {
// Shadow the loop variable to avoid aliasing
authenticationCertificateItem := authenticationCertificateItem
- var authenticationCertificate v20220701s.ApplicationGatewaySubResource
+ var authenticationCertificate storage.ApplicationGatewaySubResource
err := authenticationCertificateItem.AssignProperties_To_ApplicationGatewaySubResource(&authenticationCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field AuthenticationCertificates")
@@ -5778,7 +5782,7 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_To_Appli
// ConnectionDraining
if settings.ConnectionDraining != nil {
- var connectionDraining v20220701s.ApplicationGatewayConnectionDraining
+ var connectionDraining storage.ApplicationGatewayConnectionDraining
err := settings.ConnectionDraining.AssignProperties_To_ApplicationGatewayConnectionDraining(&connectionDraining)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayConnectionDraining() to populate field ConnectionDraining")
@@ -5818,7 +5822,7 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_To_Appli
// Probe
if settings.Probe != nil {
- var probe v20220701s.ApplicationGatewaySubResource
+ var probe storage.ApplicationGatewaySubResource
err := settings.Probe.AssignProperties_To_ApplicationGatewaySubResource(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field Probe")
@@ -5849,11 +5853,11 @@ func (settings *ApplicationGatewayBackendHttpSettings) AssignProperties_To_Appli
// TrustedRootCertificates
if settings.TrustedRootCertificates != nil {
- trustedRootCertificateList := make([]v20220701s.ApplicationGatewaySubResource, len(settings.TrustedRootCertificates))
+ trustedRootCertificateList := make([]storage.ApplicationGatewaySubResource, len(settings.TrustedRootCertificates))
for trustedRootCertificateIndex, trustedRootCertificateItem := range settings.TrustedRootCertificates {
// Shadow the loop variable to avoid aliasing
trustedRootCertificateItem := trustedRootCertificateItem
- var trustedRootCertificate v20220701s.ApplicationGatewaySubResource
+ var trustedRootCertificate storage.ApplicationGatewaySubResource
err := trustedRootCertificateItem.AssignProperties_To_ApplicationGatewaySubResource(&trustedRootCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field TrustedRootCertificates")
@@ -5914,7 +5918,7 @@ func (settings *ApplicationGatewayBackendHttpSettings_STATUS) PopulateFromARM(ow
}
// AssignProperties_From_ApplicationGatewayBackendHttpSettings_STATUS populates our ApplicationGatewayBackendHttpSettings_STATUS from the provided source ApplicationGatewayBackendHttpSettings_STATUS
-func (settings *ApplicationGatewayBackendHttpSettings_STATUS) AssignProperties_From_ApplicationGatewayBackendHttpSettings_STATUS(source *v20220701s.ApplicationGatewayBackendHttpSettings_STATUS) error {
+func (settings *ApplicationGatewayBackendHttpSettings_STATUS) AssignProperties_From_ApplicationGatewayBackendHttpSettings_STATUS(source *storage.ApplicationGatewayBackendHttpSettings_STATUS) error {
// Id
settings.Id = genruntime.ClonePointerToString(source.Id)
@@ -5924,7 +5928,7 @@ func (settings *ApplicationGatewayBackendHttpSettings_STATUS) AssignProperties_F
}
// AssignProperties_To_ApplicationGatewayBackendHttpSettings_STATUS populates the provided destination ApplicationGatewayBackendHttpSettings_STATUS from our ApplicationGatewayBackendHttpSettings_STATUS
-func (settings *ApplicationGatewayBackendHttpSettings_STATUS) AssignProperties_To_ApplicationGatewayBackendHttpSettings_STATUS(destination *v20220701s.ApplicationGatewayBackendHttpSettings_STATUS) error {
+func (settings *ApplicationGatewayBackendHttpSettings_STATUS) AssignProperties_To_ApplicationGatewayBackendHttpSettings_STATUS(destination *storage.ApplicationGatewayBackendHttpSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6129,7 +6133,7 @@ func (settings *ApplicationGatewayBackendSettings) PopulateFromARM(owner genrunt
}
// AssignProperties_From_ApplicationGatewayBackendSettings populates our ApplicationGatewayBackendSettings from the provided source ApplicationGatewayBackendSettings
-func (settings *ApplicationGatewayBackendSettings) AssignProperties_From_ApplicationGatewayBackendSettings(source *v20220701s.ApplicationGatewayBackendSettings) error {
+func (settings *ApplicationGatewayBackendSettings) AssignProperties_From_ApplicationGatewayBackendSettings(source *storage.ApplicationGatewayBackendSettings) error {
// HostName
settings.HostName = genruntime.ClonePointerToString(source.HostName)
@@ -6162,8 +6166,9 @@ func (settings *ApplicationGatewayBackendSettings) AssignProperties_From_Applica
// Protocol
if source.Protocol != nil {
- protocol := ApplicationGatewayProtocol(*source.Protocol)
- settings.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, applicationGatewayProtocol_Values)
+ settings.Protocol = &protocolTemp
} else {
settings.Protocol = nil
}
@@ -6194,7 +6199,7 @@ func (settings *ApplicationGatewayBackendSettings) AssignProperties_From_Applica
}
// AssignProperties_To_ApplicationGatewayBackendSettings populates the provided destination ApplicationGatewayBackendSettings from our ApplicationGatewayBackendSettings
-func (settings *ApplicationGatewayBackendSettings) AssignProperties_To_ApplicationGatewayBackendSettings(destination *v20220701s.ApplicationGatewayBackendSettings) error {
+func (settings *ApplicationGatewayBackendSettings) AssignProperties_To_ApplicationGatewayBackendSettings(destination *storage.ApplicationGatewayBackendSettings) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6217,7 +6222,7 @@ func (settings *ApplicationGatewayBackendSettings) AssignProperties_To_Applicati
// Probe
if settings.Probe != nil {
- var probe v20220701s.ApplicationGatewaySubResource
+ var probe storage.ApplicationGatewaySubResource
err := settings.Probe.AssignProperties_To_ApplicationGatewaySubResource(&probe)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field Probe")
@@ -6240,11 +6245,11 @@ func (settings *ApplicationGatewayBackendSettings) AssignProperties_To_Applicati
// TrustedRootCertificates
if settings.TrustedRootCertificates != nil {
- trustedRootCertificateList := make([]v20220701s.ApplicationGatewaySubResource, len(settings.TrustedRootCertificates))
+ trustedRootCertificateList := make([]storage.ApplicationGatewaySubResource, len(settings.TrustedRootCertificates))
for trustedRootCertificateIndex, trustedRootCertificateItem := range settings.TrustedRootCertificates {
// Shadow the loop variable to avoid aliasing
trustedRootCertificateItem := trustedRootCertificateItem
- var trustedRootCertificate v20220701s.ApplicationGatewaySubResource
+ var trustedRootCertificate storage.ApplicationGatewaySubResource
err := trustedRootCertificateItem.AssignProperties_To_ApplicationGatewaySubResource(&trustedRootCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field TrustedRootCertificates")
@@ -6305,7 +6310,7 @@ func (settings *ApplicationGatewayBackendSettings_STATUS) PopulateFromARM(owner
}
// AssignProperties_From_ApplicationGatewayBackendSettings_STATUS populates our ApplicationGatewayBackendSettings_STATUS from the provided source ApplicationGatewayBackendSettings_STATUS
-func (settings *ApplicationGatewayBackendSettings_STATUS) AssignProperties_From_ApplicationGatewayBackendSettings_STATUS(source *v20220701s.ApplicationGatewayBackendSettings_STATUS) error {
+func (settings *ApplicationGatewayBackendSettings_STATUS) AssignProperties_From_ApplicationGatewayBackendSettings_STATUS(source *storage.ApplicationGatewayBackendSettings_STATUS) error {
// Id
settings.Id = genruntime.ClonePointerToString(source.Id)
@@ -6315,7 +6320,7 @@ func (settings *ApplicationGatewayBackendSettings_STATUS) AssignProperties_From_
}
// AssignProperties_To_ApplicationGatewayBackendSettings_STATUS populates the provided destination ApplicationGatewayBackendSettings_STATUS from our ApplicationGatewayBackendSettings_STATUS
-func (settings *ApplicationGatewayBackendSettings_STATUS) AssignProperties_To_ApplicationGatewayBackendSettings_STATUS(destination *v20220701s.ApplicationGatewayBackendSettings_STATUS) error {
+func (settings *ApplicationGatewayBackendSettings_STATUS) AssignProperties_To_ApplicationGatewayBackendSettings_STATUS(destination *storage.ApplicationGatewayBackendSettings_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6394,15 +6399,16 @@ func (error *ApplicationGatewayCustomError) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ApplicationGatewayCustomError populates our ApplicationGatewayCustomError from the provided source ApplicationGatewayCustomError
-func (error *ApplicationGatewayCustomError) AssignProperties_From_ApplicationGatewayCustomError(source *v20220701s.ApplicationGatewayCustomError) error {
+func (error *ApplicationGatewayCustomError) AssignProperties_From_ApplicationGatewayCustomError(source *storage.ApplicationGatewayCustomError) error {
// CustomErrorPageUrl
error.CustomErrorPageUrl = genruntime.ClonePointerToString(source.CustomErrorPageUrl)
// StatusCode
if source.StatusCode != nil {
- statusCode := ApplicationGatewayCustomError_StatusCode(*source.StatusCode)
- error.StatusCode = &statusCode
+ statusCode := *source.StatusCode
+ statusCodeTemp := genruntime.ToEnum(statusCode, applicationGatewayCustomError_StatusCode_Values)
+ error.StatusCode = &statusCodeTemp
} else {
error.StatusCode = nil
}
@@ -6412,7 +6418,7 @@ func (error *ApplicationGatewayCustomError) AssignProperties_From_ApplicationGat
}
// AssignProperties_To_ApplicationGatewayCustomError populates the provided destination ApplicationGatewayCustomError from our ApplicationGatewayCustomError
-func (error *ApplicationGatewayCustomError) AssignProperties_To_ApplicationGatewayCustomError(destination *v20220701s.ApplicationGatewayCustomError) error {
+func (error *ApplicationGatewayCustomError) AssignProperties_To_ApplicationGatewayCustomError(destination *storage.ApplicationGatewayCustomError) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6446,7 +6452,7 @@ func (error *ApplicationGatewayCustomError) Initialize_From_ApplicationGatewayCu
// StatusCode
if source.StatusCode != nil {
- statusCode := ApplicationGatewayCustomError_StatusCode(*source.StatusCode)
+ statusCode := genruntime.ToEnum(string(*source.StatusCode), applicationGatewayCustomError_StatusCode_Values)
error.StatusCode = &statusCode
} else {
error.StatusCode = nil
@@ -6496,15 +6502,16 @@ func (error *ApplicationGatewayCustomError_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_ApplicationGatewayCustomError_STATUS populates our ApplicationGatewayCustomError_STATUS from the provided source ApplicationGatewayCustomError_STATUS
-func (error *ApplicationGatewayCustomError_STATUS) AssignProperties_From_ApplicationGatewayCustomError_STATUS(source *v20220701s.ApplicationGatewayCustomError_STATUS) error {
+func (error *ApplicationGatewayCustomError_STATUS) AssignProperties_From_ApplicationGatewayCustomError_STATUS(source *storage.ApplicationGatewayCustomError_STATUS) error {
// CustomErrorPageUrl
error.CustomErrorPageUrl = genruntime.ClonePointerToString(source.CustomErrorPageUrl)
// StatusCode
if source.StatusCode != nil {
- statusCode := ApplicationGatewayCustomError_StatusCode_STATUS(*source.StatusCode)
- error.StatusCode = &statusCode
+ statusCode := *source.StatusCode
+ statusCodeTemp := genruntime.ToEnum(statusCode, applicationGatewayCustomError_StatusCode_STATUS_Values)
+ error.StatusCode = &statusCodeTemp
} else {
error.StatusCode = nil
}
@@ -6514,7 +6521,7 @@ func (error *ApplicationGatewayCustomError_STATUS) AssignProperties_From_Applica
}
// AssignProperties_To_ApplicationGatewayCustomError_STATUS populates the provided destination ApplicationGatewayCustomError_STATUS from our ApplicationGatewayCustomError_STATUS
-func (error *ApplicationGatewayCustomError_STATUS) AssignProperties_To_ApplicationGatewayCustomError_STATUS(destination *v20220701s.ApplicationGatewayCustomError_STATUS) error {
+func (error *ApplicationGatewayCustomError_STATUS) AssignProperties_To_ApplicationGatewayCustomError_STATUS(destination *storage.ApplicationGatewayCustomError_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6702,7 +6709,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration) PopulateFromARM(
}
// AssignProperties_From_ApplicationGatewayFrontendIPConfiguration populates our ApplicationGatewayFrontendIPConfiguration from the provided source ApplicationGatewayFrontendIPConfiguration
-func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties_From_ApplicationGatewayFrontendIPConfiguration(source *v20220701s.ApplicationGatewayFrontendIPConfiguration) error {
+func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties_From_ApplicationGatewayFrontendIPConfiguration(source *storage.ApplicationGatewayFrontendIPConfiguration) error {
// Name
configuration.Name = genruntime.ClonePointerToString(source.Name)
@@ -6712,8 +6719,9 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
- configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_Values)
+ configuration.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
configuration.PrivateIPAllocationMethod = nil
}
@@ -6759,7 +6767,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties
}
// AssignProperties_To_ApplicationGatewayFrontendIPConfiguration populates the provided destination ApplicationGatewayFrontendIPConfiguration from our ApplicationGatewayFrontendIPConfiguration
-func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties_To_ApplicationGatewayFrontendIPConfiguration(destination *v20220701s.ApplicationGatewayFrontendIPConfiguration) error {
+func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties_To_ApplicationGatewayFrontendIPConfiguration(destination *storage.ApplicationGatewayFrontendIPConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6779,7 +6787,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties
// PrivateLinkConfiguration
if configuration.PrivateLinkConfiguration != nil {
- var privateLinkConfiguration v20220701s.ApplicationGatewaySubResource
+ var privateLinkConfiguration storage.ApplicationGatewaySubResource
err := configuration.PrivateLinkConfiguration.AssignProperties_To_ApplicationGatewaySubResource(&privateLinkConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field PrivateLinkConfiguration")
@@ -6791,7 +6799,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties
// PublicIPAddress
if configuration.PublicIPAddress != nil {
- var publicIPAddress v20220701s.ApplicationGatewaySubResource
+ var publicIPAddress storage.ApplicationGatewaySubResource
err := configuration.PublicIPAddress.AssignProperties_To_ApplicationGatewaySubResource(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field PublicIPAddress")
@@ -6803,7 +6811,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration) AssignProperties
// Subnet
if configuration.Subnet != nil {
- var subnet v20220701s.ApplicationGatewaySubResource
+ var subnet storage.ApplicationGatewaySubResource
err := configuration.Subnet.AssignProperties_To_ApplicationGatewaySubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field Subnet")
@@ -6862,7 +6870,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration_STATUS) PopulateF
}
// AssignProperties_From_ApplicationGatewayFrontendIPConfiguration_STATUS populates our ApplicationGatewayFrontendIPConfiguration_STATUS from the provided source ApplicationGatewayFrontendIPConfiguration_STATUS
-func (configuration *ApplicationGatewayFrontendIPConfiguration_STATUS) AssignProperties_From_ApplicationGatewayFrontendIPConfiguration_STATUS(source *v20220701s.ApplicationGatewayFrontendIPConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayFrontendIPConfiguration_STATUS) AssignProperties_From_ApplicationGatewayFrontendIPConfiguration_STATUS(source *storage.ApplicationGatewayFrontendIPConfiguration_STATUS) error {
// Id
configuration.Id = genruntime.ClonePointerToString(source.Id)
@@ -6872,7 +6880,7 @@ func (configuration *ApplicationGatewayFrontendIPConfiguration_STATUS) AssignPro
}
// AssignProperties_To_ApplicationGatewayFrontendIPConfiguration_STATUS populates the provided destination ApplicationGatewayFrontendIPConfiguration_STATUS from our ApplicationGatewayFrontendIPConfiguration_STATUS
-func (configuration *ApplicationGatewayFrontendIPConfiguration_STATUS) AssignProperties_To_ApplicationGatewayFrontendIPConfiguration_STATUS(destination *v20220701s.ApplicationGatewayFrontendIPConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayFrontendIPConfiguration_STATUS) AssignProperties_To_ApplicationGatewayFrontendIPConfiguration_STATUS(destination *storage.ApplicationGatewayFrontendIPConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -6957,7 +6965,7 @@ func (port *ApplicationGatewayFrontendPort) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ApplicationGatewayFrontendPort populates our ApplicationGatewayFrontendPort from the provided source ApplicationGatewayFrontendPort
-func (port *ApplicationGatewayFrontendPort) AssignProperties_From_ApplicationGatewayFrontendPort(source *v20220701s.ApplicationGatewayFrontendPort) error {
+func (port *ApplicationGatewayFrontendPort) AssignProperties_From_ApplicationGatewayFrontendPort(source *storage.ApplicationGatewayFrontendPort) error {
// Name
port.Name = genruntime.ClonePointerToString(source.Name)
@@ -6970,7 +6978,7 @@ func (port *ApplicationGatewayFrontendPort) AssignProperties_From_ApplicationGat
}
// AssignProperties_To_ApplicationGatewayFrontendPort populates the provided destination ApplicationGatewayFrontendPort from our ApplicationGatewayFrontendPort
-func (port *ApplicationGatewayFrontendPort) AssignProperties_To_ApplicationGatewayFrontendPort(destination *v20220701s.ApplicationGatewayFrontendPort) error {
+func (port *ApplicationGatewayFrontendPort) AssignProperties_To_ApplicationGatewayFrontendPort(destination *storage.ApplicationGatewayFrontendPort) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7029,7 +7037,7 @@ func (port *ApplicationGatewayFrontendPort_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_ApplicationGatewayFrontendPort_STATUS populates our ApplicationGatewayFrontendPort_STATUS from the provided source ApplicationGatewayFrontendPort_STATUS
-func (port *ApplicationGatewayFrontendPort_STATUS) AssignProperties_From_ApplicationGatewayFrontendPort_STATUS(source *v20220701s.ApplicationGatewayFrontendPort_STATUS) error {
+func (port *ApplicationGatewayFrontendPort_STATUS) AssignProperties_From_ApplicationGatewayFrontendPort_STATUS(source *storage.ApplicationGatewayFrontendPort_STATUS) error {
// Id
port.Id = genruntime.ClonePointerToString(source.Id)
@@ -7039,7 +7047,7 @@ func (port *ApplicationGatewayFrontendPort_STATUS) AssignProperties_From_Applica
}
// AssignProperties_To_ApplicationGatewayFrontendPort_STATUS populates the provided destination ApplicationGatewayFrontendPort_STATUS from our ApplicationGatewayFrontendPort_STATUS
-func (port *ApplicationGatewayFrontendPort_STATUS) AssignProperties_To_ApplicationGatewayFrontendPort_STATUS(destination *v20220701s.ApplicationGatewayFrontendPort_STATUS) error {
+func (port *ApplicationGatewayFrontendPort_STATUS) AssignProperties_To_ApplicationGatewayFrontendPort_STATUS(destination *storage.ApplicationGatewayFrontendPort_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7118,7 +7126,7 @@ func (configuration *ApplicationGatewayGlobalConfiguration) PopulateFromARM(owne
}
// AssignProperties_From_ApplicationGatewayGlobalConfiguration populates our ApplicationGatewayGlobalConfiguration from the provided source ApplicationGatewayGlobalConfiguration
-func (configuration *ApplicationGatewayGlobalConfiguration) AssignProperties_From_ApplicationGatewayGlobalConfiguration(source *v20220701s.ApplicationGatewayGlobalConfiguration) error {
+func (configuration *ApplicationGatewayGlobalConfiguration) AssignProperties_From_ApplicationGatewayGlobalConfiguration(source *storage.ApplicationGatewayGlobalConfiguration) error {
// EnableRequestBuffering
if source.EnableRequestBuffering != nil {
@@ -7141,7 +7149,7 @@ func (configuration *ApplicationGatewayGlobalConfiguration) AssignProperties_Fro
}
// AssignProperties_To_ApplicationGatewayGlobalConfiguration populates the provided destination ApplicationGatewayGlobalConfiguration from our ApplicationGatewayGlobalConfiguration
-func (configuration *ApplicationGatewayGlobalConfiguration) AssignProperties_To_ApplicationGatewayGlobalConfiguration(destination *v20220701s.ApplicationGatewayGlobalConfiguration) error {
+func (configuration *ApplicationGatewayGlobalConfiguration) AssignProperties_To_ApplicationGatewayGlobalConfiguration(destination *storage.ApplicationGatewayGlobalConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7235,7 +7243,7 @@ func (configuration *ApplicationGatewayGlobalConfiguration_STATUS) PopulateFromA
}
// AssignProperties_From_ApplicationGatewayGlobalConfiguration_STATUS populates our ApplicationGatewayGlobalConfiguration_STATUS from the provided source ApplicationGatewayGlobalConfiguration_STATUS
-func (configuration *ApplicationGatewayGlobalConfiguration_STATUS) AssignProperties_From_ApplicationGatewayGlobalConfiguration_STATUS(source *v20220701s.ApplicationGatewayGlobalConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayGlobalConfiguration_STATUS) AssignProperties_From_ApplicationGatewayGlobalConfiguration_STATUS(source *storage.ApplicationGatewayGlobalConfiguration_STATUS) error {
// EnableRequestBuffering
if source.EnableRequestBuffering != nil {
@@ -7258,7 +7266,7 @@ func (configuration *ApplicationGatewayGlobalConfiguration_STATUS) AssignPropert
}
// AssignProperties_To_ApplicationGatewayGlobalConfiguration_STATUS populates the provided destination ApplicationGatewayGlobalConfiguration_STATUS from our ApplicationGatewayGlobalConfiguration_STATUS
-func (configuration *ApplicationGatewayGlobalConfiguration_STATUS) AssignProperties_To_ApplicationGatewayGlobalConfiguration_STATUS(destination *v20220701s.ApplicationGatewayGlobalConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayGlobalConfiguration_STATUS) AssignProperties_To_ApplicationGatewayGlobalConfiguration_STATUS(destination *storage.ApplicationGatewayGlobalConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7559,7 +7567,7 @@ func (listener *ApplicationGatewayHttpListener) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ApplicationGatewayHttpListener populates our ApplicationGatewayHttpListener from the provided source ApplicationGatewayHttpListener
-func (listener *ApplicationGatewayHttpListener) AssignProperties_From_ApplicationGatewayHttpListener(source *v20220701s.ApplicationGatewayHttpListener) error {
+func (listener *ApplicationGatewayHttpListener) AssignProperties_From_ApplicationGatewayHttpListener(source *storage.ApplicationGatewayHttpListener) error {
// CustomErrorConfigurations
if source.CustomErrorConfigurations != nil {
@@ -7626,8 +7634,9 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_From_Applicatio
// Protocol
if source.Protocol != nil {
- protocol := ApplicationGatewayProtocol(*source.Protocol)
- listener.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, applicationGatewayProtocol_Values)
+ listener.Protocol = &protocolTemp
} else {
listener.Protocol = nil
}
@@ -7669,17 +7678,17 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_From_Applicatio
}
// AssignProperties_To_ApplicationGatewayHttpListener populates the provided destination ApplicationGatewayHttpListener from our ApplicationGatewayHttpListener
-func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationGatewayHttpListener(destination *v20220701s.ApplicationGatewayHttpListener) error {
+func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationGatewayHttpListener(destination *storage.ApplicationGatewayHttpListener) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// CustomErrorConfigurations
if listener.CustomErrorConfigurations != nil {
- customErrorConfigurationList := make([]v20220701s.ApplicationGatewayCustomError, len(listener.CustomErrorConfigurations))
+ customErrorConfigurationList := make([]storage.ApplicationGatewayCustomError, len(listener.CustomErrorConfigurations))
for customErrorConfigurationIndex, customErrorConfigurationItem := range listener.CustomErrorConfigurations {
// Shadow the loop variable to avoid aliasing
customErrorConfigurationItem := customErrorConfigurationItem
- var customErrorConfiguration v20220701s.ApplicationGatewayCustomError
+ var customErrorConfiguration storage.ApplicationGatewayCustomError
err := customErrorConfigurationItem.AssignProperties_To_ApplicationGatewayCustomError(&customErrorConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayCustomError() to populate field CustomErrorConfigurations")
@@ -7693,7 +7702,7 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationG
// FirewallPolicy
if listener.FirewallPolicy != nil {
- var firewallPolicy v20220701s.ApplicationGatewaySubResource
+ var firewallPolicy storage.ApplicationGatewaySubResource
err := listener.FirewallPolicy.AssignProperties_To_ApplicationGatewaySubResource(&firewallPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field FirewallPolicy")
@@ -7705,7 +7714,7 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationG
// FrontendIPConfiguration
if listener.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20220701s.ApplicationGatewaySubResource
+ var frontendIPConfiguration storage.ApplicationGatewaySubResource
err := listener.FrontendIPConfiguration.AssignProperties_To_ApplicationGatewaySubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field FrontendIPConfiguration")
@@ -7717,7 +7726,7 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationG
// FrontendPort
if listener.FrontendPort != nil {
- var frontendPort v20220701s.ApplicationGatewaySubResource
+ var frontendPort storage.ApplicationGatewaySubResource
err := listener.FrontendPort.AssignProperties_To_ApplicationGatewaySubResource(&frontendPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field FrontendPort")
@@ -7754,7 +7763,7 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationG
// SslCertificate
if listener.SslCertificate != nil {
- var sslCertificate v20220701s.ApplicationGatewaySubResource
+ var sslCertificate storage.ApplicationGatewaySubResource
err := listener.SslCertificate.AssignProperties_To_ApplicationGatewaySubResource(&sslCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field SslCertificate")
@@ -7766,7 +7775,7 @@ func (listener *ApplicationGatewayHttpListener) AssignProperties_To_ApplicationG
// SslProfile
if listener.SslProfile != nil {
- var sslProfile v20220701s.ApplicationGatewaySubResource
+ var sslProfile storage.ApplicationGatewaySubResource
err := listener.SslProfile.AssignProperties_To_ApplicationGatewaySubResource(&sslProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field SslProfile")
@@ -7825,7 +7834,7 @@ func (listener *ApplicationGatewayHttpListener_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_ApplicationGatewayHttpListener_STATUS populates our ApplicationGatewayHttpListener_STATUS from the provided source ApplicationGatewayHttpListener_STATUS
-func (listener *ApplicationGatewayHttpListener_STATUS) AssignProperties_From_ApplicationGatewayHttpListener_STATUS(source *v20220701s.ApplicationGatewayHttpListener_STATUS) error {
+func (listener *ApplicationGatewayHttpListener_STATUS) AssignProperties_From_ApplicationGatewayHttpListener_STATUS(source *storage.ApplicationGatewayHttpListener_STATUS) error {
// Id
listener.Id = genruntime.ClonePointerToString(source.Id)
@@ -7835,7 +7844,7 @@ func (listener *ApplicationGatewayHttpListener_STATUS) AssignProperties_From_App
}
// AssignProperties_To_ApplicationGatewayHttpListener_STATUS populates the provided destination ApplicationGatewayHttpListener_STATUS from our ApplicationGatewayHttpListener_STATUS
-func (listener *ApplicationGatewayHttpListener_STATUS) AssignProperties_To_ApplicationGatewayHttpListener_STATUS(destination *v20220701s.ApplicationGatewayHttpListener_STATUS) error {
+func (listener *ApplicationGatewayHttpListener_STATUS) AssignProperties_To_ApplicationGatewayHttpListener_STATUS(destination *storage.ApplicationGatewayHttpListener_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7929,7 +7938,7 @@ func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResource
}
// AssignProperties_From_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded populates our ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded from the provided source ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded(source *v20220701s.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded(source *storage.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) error {
// Name
embedded.Name = genruntime.ClonePointerToString(source.Name)
@@ -7951,7 +7960,7 @@ func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResource
}
// AssignProperties_To_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded populates the provided destination ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded from our ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded(destination *v20220701s.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded(destination *storage.ApplicationGatewayIPConfiguration_ApplicationGateway_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -7960,7 +7969,7 @@ func (embedded *ApplicationGatewayIPConfiguration_ApplicationGateway_SubResource
// Subnet
if embedded.Subnet != nil {
- var subnet v20220701s.ApplicationGatewaySubResource
+ var subnet storage.ApplicationGatewaySubResource
err := embedded.Subnet.AssignProperties_To_ApplicationGatewaySubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field Subnet")
@@ -8019,7 +8028,7 @@ func (embedded *ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubR
}
// AssignProperties_From_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded populates our ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded from the provided source ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded(source *v20220701s.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_From_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded(source *storage.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -8029,7 +8038,7 @@ func (embedded *ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubR
}
// AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded populates the provided destination ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded from our ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded
-func (embedded *ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded(destination *v20220701s.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) error {
+func (embedded *ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) AssignProperties_To_ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded(destination *storage.ApplicationGatewayIPConfiguration_STATUS_ApplicationGateway_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8218,7 +8227,7 @@ func (listener *ApplicationGatewayListener) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_ApplicationGatewayListener populates our ApplicationGatewayListener from the provided source ApplicationGatewayListener
-func (listener *ApplicationGatewayListener) AssignProperties_From_ApplicationGatewayListener(source *v20220701s.ApplicationGatewayListener) error {
+func (listener *ApplicationGatewayListener) AssignProperties_From_ApplicationGatewayListener(source *storage.ApplicationGatewayListener) error {
// FrontendIPConfiguration
if source.FrontendIPConfiguration != nil {
@@ -8249,8 +8258,9 @@ func (listener *ApplicationGatewayListener) AssignProperties_From_ApplicationGat
// Protocol
if source.Protocol != nil {
- protocol := ApplicationGatewayProtocol(*source.Protocol)
- listener.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, applicationGatewayProtocol_Values)
+ listener.Protocol = &protocolTemp
} else {
listener.Protocol = nil
}
@@ -8284,13 +8294,13 @@ func (listener *ApplicationGatewayListener) AssignProperties_From_ApplicationGat
}
// AssignProperties_To_ApplicationGatewayListener populates the provided destination ApplicationGatewayListener from our ApplicationGatewayListener
-func (listener *ApplicationGatewayListener) AssignProperties_To_ApplicationGatewayListener(destination *v20220701s.ApplicationGatewayListener) error {
+func (listener *ApplicationGatewayListener) AssignProperties_To_ApplicationGatewayListener(destination *storage.ApplicationGatewayListener) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// FrontendIPConfiguration
if listener.FrontendIPConfiguration != nil {
- var frontendIPConfiguration v20220701s.ApplicationGatewaySubResource
+ var frontendIPConfiguration storage.ApplicationGatewaySubResource
err := listener.FrontendIPConfiguration.AssignProperties_To_ApplicationGatewaySubResource(&frontendIPConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field FrontendIPConfiguration")
@@ -8302,7 +8312,7 @@ func (listener *ApplicationGatewayListener) AssignProperties_To_ApplicationGatew
// FrontendPort
if listener.FrontendPort != nil {
- var frontendPort v20220701s.ApplicationGatewaySubResource
+ var frontendPort storage.ApplicationGatewaySubResource
err := listener.FrontendPort.AssignProperties_To_ApplicationGatewaySubResource(&frontendPort)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field FrontendPort")
@@ -8325,7 +8335,7 @@ func (listener *ApplicationGatewayListener) AssignProperties_To_ApplicationGatew
// SslCertificate
if listener.SslCertificate != nil {
- var sslCertificate v20220701s.ApplicationGatewaySubResource
+ var sslCertificate storage.ApplicationGatewaySubResource
err := listener.SslCertificate.AssignProperties_To_ApplicationGatewaySubResource(&sslCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field SslCertificate")
@@ -8337,7 +8347,7 @@ func (listener *ApplicationGatewayListener) AssignProperties_To_ApplicationGatew
// SslProfile
if listener.SslProfile != nil {
- var sslProfile v20220701s.ApplicationGatewaySubResource
+ var sslProfile storage.ApplicationGatewaySubResource
err := listener.SslProfile.AssignProperties_To_ApplicationGatewaySubResource(&sslProfile)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field SslProfile")
@@ -8396,7 +8406,7 @@ func (listener *ApplicationGatewayListener_STATUS) PopulateFromARM(owner genrunt
}
// AssignProperties_From_ApplicationGatewayListener_STATUS populates our ApplicationGatewayListener_STATUS from the provided source ApplicationGatewayListener_STATUS
-func (listener *ApplicationGatewayListener_STATUS) AssignProperties_From_ApplicationGatewayListener_STATUS(source *v20220701s.ApplicationGatewayListener_STATUS) error {
+func (listener *ApplicationGatewayListener_STATUS) AssignProperties_From_ApplicationGatewayListener_STATUS(source *storage.ApplicationGatewayListener_STATUS) error {
// Id
listener.Id = genruntime.ClonePointerToString(source.Id)
@@ -8406,7 +8416,7 @@ func (listener *ApplicationGatewayListener_STATUS) AssignProperties_From_Applica
}
// AssignProperties_To_ApplicationGatewayListener_STATUS populates the provided destination ApplicationGatewayListener_STATUS from our ApplicationGatewayListener_STATUS
-func (listener *ApplicationGatewayListener_STATUS) AssignProperties_To_ApplicationGatewayListener_STATUS(destination *v20220701s.ApplicationGatewayListener_STATUS) error {
+func (listener *ApplicationGatewayListener_STATUS) AssignProperties_To_ApplicationGatewayListener_STATUS(destination *storage.ApplicationGatewayListener_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8514,12 +8524,13 @@ func (policy *ApplicationGatewayLoadDistributionPolicy) PopulateFromARM(owner ge
}
// AssignProperties_From_ApplicationGatewayLoadDistributionPolicy populates our ApplicationGatewayLoadDistributionPolicy from the provided source ApplicationGatewayLoadDistributionPolicy
-func (policy *ApplicationGatewayLoadDistributionPolicy) AssignProperties_From_ApplicationGatewayLoadDistributionPolicy(source *v20220701s.ApplicationGatewayLoadDistributionPolicy) error {
+func (policy *ApplicationGatewayLoadDistributionPolicy) AssignProperties_From_ApplicationGatewayLoadDistributionPolicy(source *storage.ApplicationGatewayLoadDistributionPolicy) error {
// LoadDistributionAlgorithm
if source.LoadDistributionAlgorithm != nil {
- loadDistributionAlgorithm := ApplicationGatewayLoadDistributionAlgorithmEnum(*source.LoadDistributionAlgorithm)
- policy.LoadDistributionAlgorithm = &loadDistributionAlgorithm
+ loadDistributionAlgorithm := *source.LoadDistributionAlgorithm
+ loadDistributionAlgorithmTemp := genruntime.ToEnum(loadDistributionAlgorithm, applicationGatewayLoadDistributionAlgorithmEnum_Values)
+ policy.LoadDistributionAlgorithm = &loadDistributionAlgorithmTemp
} else {
policy.LoadDistributionAlgorithm = nil
}
@@ -8550,7 +8561,7 @@ func (policy *ApplicationGatewayLoadDistributionPolicy) AssignProperties_From_Ap
}
// AssignProperties_To_ApplicationGatewayLoadDistributionPolicy populates the provided destination ApplicationGatewayLoadDistributionPolicy from our ApplicationGatewayLoadDistributionPolicy
-func (policy *ApplicationGatewayLoadDistributionPolicy) AssignProperties_To_ApplicationGatewayLoadDistributionPolicy(destination *v20220701s.ApplicationGatewayLoadDistributionPolicy) error {
+func (policy *ApplicationGatewayLoadDistributionPolicy) AssignProperties_To_ApplicationGatewayLoadDistributionPolicy(destination *storage.ApplicationGatewayLoadDistributionPolicy) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8564,11 +8575,11 @@ func (policy *ApplicationGatewayLoadDistributionPolicy) AssignProperties_To_Appl
// LoadDistributionTargets
if policy.LoadDistributionTargets != nil {
- loadDistributionTargetList := make([]v20220701s.ApplicationGatewayLoadDistributionTarget, len(policy.LoadDistributionTargets))
+ loadDistributionTargetList := make([]storage.ApplicationGatewayLoadDistributionTarget, len(policy.LoadDistributionTargets))
for loadDistributionTargetIndex, loadDistributionTargetItem := range policy.LoadDistributionTargets {
// Shadow the loop variable to avoid aliasing
loadDistributionTargetItem := loadDistributionTargetItem
- var loadDistributionTarget v20220701s.ApplicationGatewayLoadDistributionTarget
+ var loadDistributionTarget storage.ApplicationGatewayLoadDistributionTarget
err := loadDistributionTargetItem.AssignProperties_To_ApplicationGatewayLoadDistributionTarget(&loadDistributionTarget)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayLoadDistributionTarget() to populate field LoadDistributionTargets")
@@ -8632,7 +8643,7 @@ func (policy *ApplicationGatewayLoadDistributionPolicy_STATUS) PopulateFromARM(o
}
// AssignProperties_From_ApplicationGatewayLoadDistributionPolicy_STATUS populates our ApplicationGatewayLoadDistributionPolicy_STATUS from the provided source ApplicationGatewayLoadDistributionPolicy_STATUS
-func (policy *ApplicationGatewayLoadDistributionPolicy_STATUS) AssignProperties_From_ApplicationGatewayLoadDistributionPolicy_STATUS(source *v20220701s.ApplicationGatewayLoadDistributionPolicy_STATUS) error {
+func (policy *ApplicationGatewayLoadDistributionPolicy_STATUS) AssignProperties_From_ApplicationGatewayLoadDistributionPolicy_STATUS(source *storage.ApplicationGatewayLoadDistributionPolicy_STATUS) error {
// Id
policy.Id = genruntime.ClonePointerToString(source.Id)
@@ -8642,7 +8653,7 @@ func (policy *ApplicationGatewayLoadDistributionPolicy_STATUS) AssignProperties_
}
// AssignProperties_To_ApplicationGatewayLoadDistributionPolicy_STATUS populates the provided destination ApplicationGatewayLoadDistributionPolicy_STATUS from our ApplicationGatewayLoadDistributionPolicy_STATUS
-func (policy *ApplicationGatewayLoadDistributionPolicy_STATUS) AssignProperties_To_ApplicationGatewayLoadDistributionPolicy_STATUS(destination *v20220701s.ApplicationGatewayLoadDistributionPolicy_STATUS) error {
+func (policy *ApplicationGatewayLoadDistributionPolicy_STATUS) AssignProperties_To_ApplicationGatewayLoadDistributionPolicy_STATUS(destination *storage.ApplicationGatewayLoadDistributionPolicy_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8691,7 +8702,7 @@ func (connection *ApplicationGatewayPrivateEndpointConnection_STATUS) PopulateFr
}
// AssignProperties_From_ApplicationGatewayPrivateEndpointConnection_STATUS populates our ApplicationGatewayPrivateEndpointConnection_STATUS from the provided source ApplicationGatewayPrivateEndpointConnection_STATUS
-func (connection *ApplicationGatewayPrivateEndpointConnection_STATUS) AssignProperties_From_ApplicationGatewayPrivateEndpointConnection_STATUS(source *v20220701s.ApplicationGatewayPrivateEndpointConnection_STATUS) error {
+func (connection *ApplicationGatewayPrivateEndpointConnection_STATUS) AssignProperties_From_ApplicationGatewayPrivateEndpointConnection_STATUS(source *storage.ApplicationGatewayPrivateEndpointConnection_STATUS) error {
// Id
connection.Id = genruntime.ClonePointerToString(source.Id)
@@ -8701,7 +8712,7 @@ func (connection *ApplicationGatewayPrivateEndpointConnection_STATUS) AssignProp
}
// AssignProperties_To_ApplicationGatewayPrivateEndpointConnection_STATUS populates the provided destination ApplicationGatewayPrivateEndpointConnection_STATUS from our ApplicationGatewayPrivateEndpointConnection_STATUS
-func (connection *ApplicationGatewayPrivateEndpointConnection_STATUS) AssignProperties_To_ApplicationGatewayPrivateEndpointConnection_STATUS(destination *v20220701s.ApplicationGatewayPrivateEndpointConnection_STATUS) error {
+func (connection *ApplicationGatewayPrivateEndpointConnection_STATUS) AssignProperties_To_ApplicationGatewayPrivateEndpointConnection_STATUS(destination *storage.ApplicationGatewayPrivateEndpointConnection_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -8793,7 +8804,7 @@ func (configuration *ApplicationGatewayPrivateLinkConfiguration) PopulateFromARM
}
// AssignProperties_From_ApplicationGatewayPrivateLinkConfiguration populates our ApplicationGatewayPrivateLinkConfiguration from the provided source ApplicationGatewayPrivateLinkConfiguration
-func (configuration *ApplicationGatewayPrivateLinkConfiguration) AssignProperties_From_ApplicationGatewayPrivateLinkConfiguration(source *v20220701s.ApplicationGatewayPrivateLinkConfiguration) error {
+func (configuration *ApplicationGatewayPrivateLinkConfiguration) AssignProperties_From_ApplicationGatewayPrivateLinkConfiguration(source *storage.ApplicationGatewayPrivateLinkConfiguration) error {
// IpConfigurations
if source.IpConfigurations != nil {
@@ -8821,17 +8832,17 @@ func (configuration *ApplicationGatewayPrivateLinkConfiguration) AssignPropertie
}
// AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration populates the provided destination ApplicationGatewayPrivateLinkConfiguration from our ApplicationGatewayPrivateLinkConfiguration
-func (configuration *ApplicationGatewayPrivateLinkConfiguration) AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration(destination *v20220701s.ApplicationGatewayPrivateLinkConfiguration) error {
+func (configuration *ApplicationGatewayPrivateLinkConfiguration) AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration(destination *storage.ApplicationGatewayPrivateLinkConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// IpConfigurations
if configuration.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.ApplicationGatewayPrivateLinkIpConfiguration, len(configuration.IpConfigurations))
+ ipConfigurationList := make([]storage.ApplicationGatewayPrivateLinkIpConfiguration, len(configuration.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range configuration.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.ApplicationGatewayPrivateLinkIpConfiguration
+ var ipConfiguration storage.ApplicationGatewayPrivateLinkIpConfiguration
err := ipConfigurationItem.AssignProperties_To_ApplicationGatewayPrivateLinkIpConfiguration(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayPrivateLinkIpConfiguration() to populate field IpConfigurations")
@@ -8895,7 +8906,7 @@ func (configuration *ApplicationGatewayPrivateLinkConfiguration_STATUS) Populate
}
// AssignProperties_From_ApplicationGatewayPrivateLinkConfiguration_STATUS populates our ApplicationGatewayPrivateLinkConfiguration_STATUS from the provided source ApplicationGatewayPrivateLinkConfiguration_STATUS
-func (configuration *ApplicationGatewayPrivateLinkConfiguration_STATUS) AssignProperties_From_ApplicationGatewayPrivateLinkConfiguration_STATUS(source *v20220701s.ApplicationGatewayPrivateLinkConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayPrivateLinkConfiguration_STATUS) AssignProperties_From_ApplicationGatewayPrivateLinkConfiguration_STATUS(source *storage.ApplicationGatewayPrivateLinkConfiguration_STATUS) error {
// Id
configuration.Id = genruntime.ClonePointerToString(source.Id)
@@ -8905,7 +8916,7 @@ func (configuration *ApplicationGatewayPrivateLinkConfiguration_STATUS) AssignPr
}
// AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration_STATUS populates the provided destination ApplicationGatewayPrivateLinkConfiguration_STATUS from our ApplicationGatewayPrivateLinkConfiguration_STATUS
-func (configuration *ApplicationGatewayPrivateLinkConfiguration_STATUS) AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration_STATUS(destination *v20220701s.ApplicationGatewayPrivateLinkConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayPrivateLinkConfiguration_STATUS) AssignProperties_To_ApplicationGatewayPrivateLinkConfiguration_STATUS(destination *storage.ApplicationGatewayPrivateLinkConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9177,7 +9188,7 @@ func (probe *ApplicationGatewayProbe) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_ApplicationGatewayProbe populates our ApplicationGatewayProbe from the provided source ApplicationGatewayProbe
-func (probe *ApplicationGatewayProbe) AssignProperties_From_ApplicationGatewayProbe(source *v20220701s.ApplicationGatewayProbe) error {
+func (probe *ApplicationGatewayProbe) AssignProperties_From_ApplicationGatewayProbe(source *storage.ApplicationGatewayProbe) error {
// Host
probe.Host = genruntime.ClonePointerToString(source.Host)
@@ -9232,8 +9243,9 @@ func (probe *ApplicationGatewayProbe) AssignProperties_From_ApplicationGatewayPr
// Protocol
if source.Protocol != nil {
- protocol := ApplicationGatewayProtocol(*source.Protocol)
- probe.Protocol = &protocol
+ protocol := *source.Protocol
+ protocolTemp := genruntime.ToEnum(protocol, applicationGatewayProtocol_Values)
+ probe.Protocol = &protocolTemp
} else {
probe.Protocol = nil
}
@@ -9249,7 +9261,7 @@ func (probe *ApplicationGatewayProbe) AssignProperties_From_ApplicationGatewayPr
}
// AssignProperties_To_ApplicationGatewayProbe populates the provided destination ApplicationGatewayProbe from our ApplicationGatewayProbe
-func (probe *ApplicationGatewayProbe) AssignProperties_To_ApplicationGatewayProbe(destination *v20220701s.ApplicationGatewayProbe) error {
+func (probe *ApplicationGatewayProbe) AssignProperties_To_ApplicationGatewayProbe(destination *storage.ApplicationGatewayProbe) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9261,7 +9273,7 @@ func (probe *ApplicationGatewayProbe) AssignProperties_To_ApplicationGatewayProb
// Match
if probe.Match != nil {
- var match v20220701s.ApplicationGatewayProbeHealthResponseMatch
+ var match storage.ApplicationGatewayProbeHealthResponseMatch
err := probe.Match.AssignProperties_To_ApplicationGatewayProbeHealthResponseMatch(&match)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayProbeHealthResponseMatch() to populate field Match")
@@ -9367,7 +9379,7 @@ func (probe *ApplicationGatewayProbe_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ApplicationGatewayProbe_STATUS populates our ApplicationGatewayProbe_STATUS from the provided source ApplicationGatewayProbe_STATUS
-func (probe *ApplicationGatewayProbe_STATUS) AssignProperties_From_ApplicationGatewayProbe_STATUS(source *v20220701s.ApplicationGatewayProbe_STATUS) error {
+func (probe *ApplicationGatewayProbe_STATUS) AssignProperties_From_ApplicationGatewayProbe_STATUS(source *storage.ApplicationGatewayProbe_STATUS) error {
// Id
probe.Id = genruntime.ClonePointerToString(source.Id)
@@ -9377,7 +9389,7 @@ func (probe *ApplicationGatewayProbe_STATUS) AssignProperties_From_ApplicationGa
}
// AssignProperties_To_ApplicationGatewayProbe_STATUS populates the provided destination ApplicationGatewayProbe_STATUS from our ApplicationGatewayProbe_STATUS
-func (probe *ApplicationGatewayProbe_STATUS) AssignProperties_To_ApplicationGatewayProbe_STATUS(destination *v20220701s.ApplicationGatewayProbe_STATUS) error {
+func (probe *ApplicationGatewayProbe_STATUS) AssignProperties_To_ApplicationGatewayProbe_STATUS(destination *storage.ApplicationGatewayProbe_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9404,6 +9416,14 @@ const (
ApplicationGatewayPropertiesFormat_OperationalState_STATUS_Stopping = ApplicationGatewayPropertiesFormat_OperationalState_STATUS("Stopping")
)
+// Mapping from string to ApplicationGatewayPropertiesFormat_OperationalState_STATUS
+var applicationGatewayPropertiesFormat_OperationalState_STATUS_Values = map[string]ApplicationGatewayPropertiesFormat_OperationalState_STATUS{
+ "running": ApplicationGatewayPropertiesFormat_OperationalState_STATUS_Running,
+ "starting": ApplicationGatewayPropertiesFormat_OperationalState_STATUS_Starting,
+ "stopped": ApplicationGatewayPropertiesFormat_OperationalState_STATUS_Stopped,
+ "stopping": ApplicationGatewayPropertiesFormat_OperationalState_STATUS_Stopping,
+}
+
// The current provisioning state.
type ApplicationGatewayProvisioningState_STATUS string
@@ -9414,6 +9434,14 @@ const (
ApplicationGatewayProvisioningState_STATUS_Updating = ApplicationGatewayProvisioningState_STATUS("Updating")
)
+// Mapping from string to ApplicationGatewayProvisioningState_STATUS
+var applicationGatewayProvisioningState_STATUS_Values = map[string]ApplicationGatewayProvisioningState_STATUS{
+ "deleting": ApplicationGatewayProvisioningState_STATUS_Deleting,
+ "failed": ApplicationGatewayProvisioningState_STATUS_Failed,
+ "succeeded": ApplicationGatewayProvisioningState_STATUS_Succeeded,
+ "updating": ApplicationGatewayProvisioningState_STATUS_Updating,
+}
+
// Redirect configuration of an application gateway.
type ApplicationGatewayRedirectConfiguration struct {
// IncludePath: Include path in the redirected url.
@@ -9630,7 +9658,7 @@ func (configuration *ApplicationGatewayRedirectConfiguration) PopulateFromARM(ow
}
// AssignProperties_From_ApplicationGatewayRedirectConfiguration populates our ApplicationGatewayRedirectConfiguration from the provided source ApplicationGatewayRedirectConfiguration
-func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_From_ApplicationGatewayRedirectConfiguration(source *v20220701s.ApplicationGatewayRedirectConfiguration) error {
+func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_From_ApplicationGatewayRedirectConfiguration(source *storage.ApplicationGatewayRedirectConfiguration) error {
// IncludePath
if source.IncludePath != nil {
@@ -9671,8 +9699,9 @@ func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_F
// RedirectType
if source.RedirectType != nil {
- redirectType := RedirectTypeEnum(*source.RedirectType)
- configuration.RedirectType = &redirectType
+ redirectType := *source.RedirectType
+ redirectTypeTemp := genruntime.ToEnum(redirectType, redirectTypeEnum_Values)
+ configuration.RedirectType = &redirectTypeTemp
} else {
configuration.RedirectType = nil
}
@@ -9733,7 +9762,7 @@ func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_F
}
// AssignProperties_To_ApplicationGatewayRedirectConfiguration populates the provided destination ApplicationGatewayRedirectConfiguration from our ApplicationGatewayRedirectConfiguration
-func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_To_ApplicationGatewayRedirectConfiguration(destination *v20220701s.ApplicationGatewayRedirectConfiguration) error {
+func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_To_ApplicationGatewayRedirectConfiguration(destination *storage.ApplicationGatewayRedirectConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -9758,11 +9787,11 @@ func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_T
// PathRules
if configuration.PathRules != nil {
- pathRuleList := make([]v20220701s.ApplicationGatewaySubResource, len(configuration.PathRules))
+ pathRuleList := make([]storage.ApplicationGatewaySubResource, len(configuration.PathRules))
for pathRuleIndex, pathRuleItem := range configuration.PathRules {
// Shadow the loop variable to avoid aliasing
pathRuleItem := pathRuleItem
- var pathRule v20220701s.ApplicationGatewaySubResource
+ var pathRule storage.ApplicationGatewaySubResource
err := pathRuleItem.AssignProperties_To_ApplicationGatewaySubResource(&pathRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field PathRules")
@@ -9784,11 +9813,11 @@ func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_T
// RequestRoutingRules
if configuration.RequestRoutingRules != nil {
- requestRoutingRuleList := make([]v20220701s.ApplicationGatewaySubResource, len(configuration.RequestRoutingRules))
+ requestRoutingRuleList := make([]storage.ApplicationGatewaySubResource, len(configuration.RequestRoutingRules))
for requestRoutingRuleIndex, requestRoutingRuleItem := range configuration.RequestRoutingRules {
// Shadow the loop variable to avoid aliasing
requestRoutingRuleItem := requestRoutingRuleItem
- var requestRoutingRule v20220701s.ApplicationGatewaySubResource
+ var requestRoutingRule storage.ApplicationGatewaySubResource
err := requestRoutingRuleItem.AssignProperties_To_ApplicationGatewaySubResource(&requestRoutingRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field RequestRoutingRules")
@@ -9802,7 +9831,7 @@ func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_T
// TargetListener
if configuration.TargetListener != nil {
- var targetListener v20220701s.ApplicationGatewaySubResource
+ var targetListener storage.ApplicationGatewaySubResource
err := configuration.TargetListener.AssignProperties_To_ApplicationGatewaySubResource(&targetListener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field TargetListener")
@@ -9817,11 +9846,11 @@ func (configuration *ApplicationGatewayRedirectConfiguration) AssignProperties_T
// UrlPathMaps
if configuration.UrlPathMaps != nil {
- urlPathMapList := make([]v20220701s.ApplicationGatewaySubResource, len(configuration.UrlPathMaps))
+ urlPathMapList := make([]storage.ApplicationGatewaySubResource, len(configuration.UrlPathMaps))
for urlPathMapIndex, urlPathMapItem := range configuration.UrlPathMaps {
// Shadow the loop variable to avoid aliasing
urlPathMapItem := urlPathMapItem
- var urlPathMap v20220701s.ApplicationGatewaySubResource
+ var urlPathMap storage.ApplicationGatewaySubResource
err := urlPathMapItem.AssignProperties_To_ApplicationGatewaySubResource(&urlPathMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field UrlPathMaps")
@@ -9882,7 +9911,7 @@ func (configuration *ApplicationGatewayRedirectConfiguration_STATUS) PopulateFro
}
// AssignProperties_From_ApplicationGatewayRedirectConfiguration_STATUS populates our ApplicationGatewayRedirectConfiguration_STATUS from the provided source ApplicationGatewayRedirectConfiguration_STATUS
-func (configuration *ApplicationGatewayRedirectConfiguration_STATUS) AssignProperties_From_ApplicationGatewayRedirectConfiguration_STATUS(source *v20220701s.ApplicationGatewayRedirectConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayRedirectConfiguration_STATUS) AssignProperties_From_ApplicationGatewayRedirectConfiguration_STATUS(source *storage.ApplicationGatewayRedirectConfiguration_STATUS) error {
// Id
configuration.Id = genruntime.ClonePointerToString(source.Id)
@@ -9892,7 +9921,7 @@ func (configuration *ApplicationGatewayRedirectConfiguration_STATUS) AssignPrope
}
// AssignProperties_To_ApplicationGatewayRedirectConfiguration_STATUS populates the provided destination ApplicationGatewayRedirectConfiguration_STATUS from our ApplicationGatewayRedirectConfiguration_STATUS
-func (configuration *ApplicationGatewayRedirectConfiguration_STATUS) AssignProperties_To_ApplicationGatewayRedirectConfiguration_STATUS(destination *v20220701s.ApplicationGatewayRedirectConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayRedirectConfiguration_STATUS) AssignProperties_To_ApplicationGatewayRedirectConfiguration_STATUS(destination *storage.ApplicationGatewayRedirectConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10178,7 +10207,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ApplicationGatewayRequestRoutingRule populates our ApplicationGatewayRequestRoutingRule from the provided source ApplicationGatewayRequestRoutingRule
-func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_From_ApplicationGatewayRequestRoutingRule(source *v20220701s.ApplicationGatewayRequestRoutingRule) error {
+func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_From_ApplicationGatewayRequestRoutingRule(source *storage.ApplicationGatewayRequestRoutingRule) error {
// BackendAddressPool
if source.BackendAddressPool != nil {
@@ -10265,8 +10294,9 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_From_Applicat
// RuleType
if source.RuleType != nil {
- ruleType := ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType(*source.RuleType)
- rule.RuleType = &ruleType
+ ruleType := *source.RuleType
+ ruleTypeTemp := genruntime.ToEnum(ruleType, applicationGatewayRequestRoutingRulePropertiesFormat_RuleType_Values)
+ rule.RuleType = &ruleTypeTemp
} else {
rule.RuleType = nil
}
@@ -10288,13 +10318,13 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_From_Applicat
}
// AssignProperties_To_ApplicationGatewayRequestRoutingRule populates the provided destination ApplicationGatewayRequestRoutingRule from our ApplicationGatewayRequestRoutingRule
-func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_ApplicationGatewayRequestRoutingRule(destination *v20220701s.ApplicationGatewayRequestRoutingRule) error {
+func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_ApplicationGatewayRequestRoutingRule(destination *storage.ApplicationGatewayRequestRoutingRule) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendAddressPool
if rule.BackendAddressPool != nil {
- var backendAddressPool v20220701s.ApplicationGatewaySubResource
+ var backendAddressPool storage.ApplicationGatewaySubResource
err := rule.BackendAddressPool.AssignProperties_To_ApplicationGatewaySubResource(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field BackendAddressPool")
@@ -10306,7 +10336,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_Applicatio
// BackendHttpSettings
if rule.BackendHttpSettings != nil {
- var backendHttpSetting v20220701s.ApplicationGatewaySubResource
+ var backendHttpSetting storage.ApplicationGatewaySubResource
err := rule.BackendHttpSettings.AssignProperties_To_ApplicationGatewaySubResource(&backendHttpSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field BackendHttpSettings")
@@ -10318,7 +10348,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_Applicatio
// HttpListener
if rule.HttpListener != nil {
- var httpListener v20220701s.ApplicationGatewaySubResource
+ var httpListener storage.ApplicationGatewaySubResource
err := rule.HttpListener.AssignProperties_To_ApplicationGatewaySubResource(&httpListener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field HttpListener")
@@ -10330,7 +10360,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_Applicatio
// LoadDistributionPolicy
if rule.LoadDistributionPolicy != nil {
- var loadDistributionPolicy v20220701s.ApplicationGatewaySubResource
+ var loadDistributionPolicy storage.ApplicationGatewaySubResource
err := rule.LoadDistributionPolicy.AssignProperties_To_ApplicationGatewaySubResource(&loadDistributionPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field LoadDistributionPolicy")
@@ -10353,7 +10383,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_Applicatio
// RedirectConfiguration
if rule.RedirectConfiguration != nil {
- var redirectConfiguration v20220701s.ApplicationGatewaySubResource
+ var redirectConfiguration storage.ApplicationGatewaySubResource
err := rule.RedirectConfiguration.AssignProperties_To_ApplicationGatewaySubResource(&redirectConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field RedirectConfiguration")
@@ -10365,7 +10395,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_Applicatio
// RewriteRuleSet
if rule.RewriteRuleSet != nil {
- var rewriteRuleSet v20220701s.ApplicationGatewaySubResource
+ var rewriteRuleSet storage.ApplicationGatewaySubResource
err := rule.RewriteRuleSet.AssignProperties_To_ApplicationGatewaySubResource(&rewriteRuleSet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field RewriteRuleSet")
@@ -10385,7 +10415,7 @@ func (rule *ApplicationGatewayRequestRoutingRule) AssignProperties_To_Applicatio
// UrlPathMap
if rule.UrlPathMap != nil {
- var urlPathMap v20220701s.ApplicationGatewaySubResource
+ var urlPathMap storage.ApplicationGatewaySubResource
err := rule.UrlPathMap.AssignProperties_To_ApplicationGatewaySubResource(&urlPathMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field UrlPathMap")
@@ -10444,7 +10474,7 @@ func (rule *ApplicationGatewayRequestRoutingRule_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_ApplicationGatewayRequestRoutingRule_STATUS populates our ApplicationGatewayRequestRoutingRule_STATUS from the provided source ApplicationGatewayRequestRoutingRule_STATUS
-func (rule *ApplicationGatewayRequestRoutingRule_STATUS) AssignProperties_From_ApplicationGatewayRequestRoutingRule_STATUS(source *v20220701s.ApplicationGatewayRequestRoutingRule_STATUS) error {
+func (rule *ApplicationGatewayRequestRoutingRule_STATUS) AssignProperties_From_ApplicationGatewayRequestRoutingRule_STATUS(source *storage.ApplicationGatewayRequestRoutingRule_STATUS) error {
// Id
rule.Id = genruntime.ClonePointerToString(source.Id)
@@ -10454,7 +10484,7 @@ func (rule *ApplicationGatewayRequestRoutingRule_STATUS) AssignProperties_From_A
}
// AssignProperties_To_ApplicationGatewayRequestRoutingRule_STATUS populates the provided destination ApplicationGatewayRequestRoutingRule_STATUS from our ApplicationGatewayRequestRoutingRule_STATUS
-func (rule *ApplicationGatewayRequestRoutingRule_STATUS) AssignProperties_To_ApplicationGatewayRequestRoutingRule_STATUS(destination *v20220701s.ApplicationGatewayRequestRoutingRule_STATUS) error {
+func (rule *ApplicationGatewayRequestRoutingRule_STATUS) AssignProperties_To_ApplicationGatewayRequestRoutingRule_STATUS(destination *storage.ApplicationGatewayRequestRoutingRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10546,7 +10576,7 @@ func (ruleSet *ApplicationGatewayRewriteRuleSet) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ApplicationGatewayRewriteRuleSet populates our ApplicationGatewayRewriteRuleSet from the provided source ApplicationGatewayRewriteRuleSet
-func (ruleSet *ApplicationGatewayRewriteRuleSet) AssignProperties_From_ApplicationGatewayRewriteRuleSet(source *v20220701s.ApplicationGatewayRewriteRuleSet) error {
+func (ruleSet *ApplicationGatewayRewriteRuleSet) AssignProperties_From_ApplicationGatewayRewriteRuleSet(source *storage.ApplicationGatewayRewriteRuleSet) error {
// Name
ruleSet.Name = genruntime.ClonePointerToString(source.Name)
@@ -10574,7 +10604,7 @@ func (ruleSet *ApplicationGatewayRewriteRuleSet) AssignProperties_From_Applicati
}
// AssignProperties_To_ApplicationGatewayRewriteRuleSet populates the provided destination ApplicationGatewayRewriteRuleSet from our ApplicationGatewayRewriteRuleSet
-func (ruleSet *ApplicationGatewayRewriteRuleSet) AssignProperties_To_ApplicationGatewayRewriteRuleSet(destination *v20220701s.ApplicationGatewayRewriteRuleSet) error {
+func (ruleSet *ApplicationGatewayRewriteRuleSet) AssignProperties_To_ApplicationGatewayRewriteRuleSet(destination *storage.ApplicationGatewayRewriteRuleSet) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10583,11 +10613,11 @@ func (ruleSet *ApplicationGatewayRewriteRuleSet) AssignProperties_To_Application
// RewriteRules
if ruleSet.RewriteRules != nil {
- rewriteRuleList := make([]v20220701s.ApplicationGatewayRewriteRule, len(ruleSet.RewriteRules))
+ rewriteRuleList := make([]storage.ApplicationGatewayRewriteRule, len(ruleSet.RewriteRules))
for rewriteRuleIndex, rewriteRuleItem := range ruleSet.RewriteRules {
// Shadow the loop variable to avoid aliasing
rewriteRuleItem := rewriteRuleItem
- var rewriteRule v20220701s.ApplicationGatewayRewriteRule
+ var rewriteRule storage.ApplicationGatewayRewriteRule
err := rewriteRuleItem.AssignProperties_To_ApplicationGatewayRewriteRule(&rewriteRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRewriteRule() to populate field RewriteRules")
@@ -10648,7 +10678,7 @@ func (ruleSet *ApplicationGatewayRewriteRuleSet_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_ApplicationGatewayRewriteRuleSet_STATUS populates our ApplicationGatewayRewriteRuleSet_STATUS from the provided source ApplicationGatewayRewriteRuleSet_STATUS
-func (ruleSet *ApplicationGatewayRewriteRuleSet_STATUS) AssignProperties_From_ApplicationGatewayRewriteRuleSet_STATUS(source *v20220701s.ApplicationGatewayRewriteRuleSet_STATUS) error {
+func (ruleSet *ApplicationGatewayRewriteRuleSet_STATUS) AssignProperties_From_ApplicationGatewayRewriteRuleSet_STATUS(source *storage.ApplicationGatewayRewriteRuleSet_STATUS) error {
// Id
ruleSet.Id = genruntime.ClonePointerToString(source.Id)
@@ -10658,7 +10688,7 @@ func (ruleSet *ApplicationGatewayRewriteRuleSet_STATUS) AssignProperties_From_Ap
}
// AssignProperties_To_ApplicationGatewayRewriteRuleSet_STATUS populates the provided destination ApplicationGatewayRewriteRuleSet_STATUS from our ApplicationGatewayRewriteRuleSet_STATUS
-func (ruleSet *ApplicationGatewayRewriteRuleSet_STATUS) AssignProperties_To_ApplicationGatewayRewriteRuleSet_STATUS(destination *v20220701s.ApplicationGatewayRewriteRuleSet_STATUS) error {
+func (ruleSet *ApplicationGatewayRewriteRuleSet_STATUS) AssignProperties_To_ApplicationGatewayRewriteRuleSet_STATUS(destination *storage.ApplicationGatewayRewriteRuleSet_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -10841,7 +10871,7 @@ func (rule *ApplicationGatewayRoutingRule) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ApplicationGatewayRoutingRule populates our ApplicationGatewayRoutingRule from the provided source ApplicationGatewayRoutingRule
-func (rule *ApplicationGatewayRoutingRule) AssignProperties_From_ApplicationGatewayRoutingRule(source *v20220701s.ApplicationGatewayRoutingRule) error {
+func (rule *ApplicationGatewayRoutingRule) AssignProperties_From_ApplicationGatewayRoutingRule(source *storage.ApplicationGatewayRoutingRule) error {
// BackendAddressPool
if source.BackendAddressPool != nil {
@@ -10892,8 +10922,9 @@ func (rule *ApplicationGatewayRoutingRule) AssignProperties_From_ApplicationGate
// RuleType
if source.RuleType != nil {
- ruleType := ApplicationGatewayRoutingRulePropertiesFormat_RuleType(*source.RuleType)
- rule.RuleType = &ruleType
+ ruleType := *source.RuleType
+ ruleTypeTemp := genruntime.ToEnum(ruleType, applicationGatewayRoutingRulePropertiesFormat_RuleType_Values)
+ rule.RuleType = &ruleTypeTemp
} else {
rule.RuleType = nil
}
@@ -10903,13 +10934,13 @@ func (rule *ApplicationGatewayRoutingRule) AssignProperties_From_ApplicationGate
}
// AssignProperties_To_ApplicationGatewayRoutingRule populates the provided destination ApplicationGatewayRoutingRule from our ApplicationGatewayRoutingRule
-func (rule *ApplicationGatewayRoutingRule) AssignProperties_To_ApplicationGatewayRoutingRule(destination *v20220701s.ApplicationGatewayRoutingRule) error {
+func (rule *ApplicationGatewayRoutingRule) AssignProperties_To_ApplicationGatewayRoutingRule(destination *storage.ApplicationGatewayRoutingRule) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// BackendAddressPool
if rule.BackendAddressPool != nil {
- var backendAddressPool v20220701s.ApplicationGatewaySubResource
+ var backendAddressPool storage.ApplicationGatewaySubResource
err := rule.BackendAddressPool.AssignProperties_To_ApplicationGatewaySubResource(&backendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field BackendAddressPool")
@@ -10921,7 +10952,7 @@ func (rule *ApplicationGatewayRoutingRule) AssignProperties_To_ApplicationGatewa
// BackendSettings
if rule.BackendSettings != nil {
- var backendSetting v20220701s.ApplicationGatewaySubResource
+ var backendSetting storage.ApplicationGatewaySubResource
err := rule.BackendSettings.AssignProperties_To_ApplicationGatewaySubResource(&backendSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field BackendSettings")
@@ -10933,7 +10964,7 @@ func (rule *ApplicationGatewayRoutingRule) AssignProperties_To_ApplicationGatewa
// Listener
if rule.Listener != nil {
- var listener v20220701s.ApplicationGatewaySubResource
+ var listener storage.ApplicationGatewaySubResource
err := rule.Listener.AssignProperties_To_ApplicationGatewaySubResource(&listener)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field Listener")
@@ -11011,7 +11042,7 @@ func (rule *ApplicationGatewayRoutingRule_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ApplicationGatewayRoutingRule_STATUS populates our ApplicationGatewayRoutingRule_STATUS from the provided source ApplicationGatewayRoutingRule_STATUS
-func (rule *ApplicationGatewayRoutingRule_STATUS) AssignProperties_From_ApplicationGatewayRoutingRule_STATUS(source *v20220701s.ApplicationGatewayRoutingRule_STATUS) error {
+func (rule *ApplicationGatewayRoutingRule_STATUS) AssignProperties_From_ApplicationGatewayRoutingRule_STATUS(source *storage.ApplicationGatewayRoutingRule_STATUS) error {
// Id
rule.Id = genruntime.ClonePointerToString(source.Id)
@@ -11021,7 +11052,7 @@ func (rule *ApplicationGatewayRoutingRule_STATUS) AssignProperties_From_Applicat
}
// AssignProperties_To_ApplicationGatewayRoutingRule_STATUS populates the provided destination ApplicationGatewayRoutingRule_STATUS from our ApplicationGatewayRoutingRule_STATUS
-func (rule *ApplicationGatewayRoutingRule_STATUS) AssignProperties_To_ApplicationGatewayRoutingRule_STATUS(destination *v20220701s.ApplicationGatewayRoutingRule_STATUS) error {
+func (rule *ApplicationGatewayRoutingRule_STATUS) AssignProperties_To_ApplicationGatewayRoutingRule_STATUS(destination *storage.ApplicationGatewayRoutingRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11115,23 +11146,25 @@ func (gatewaySku *ApplicationGatewaySku) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ApplicationGatewaySku populates our ApplicationGatewaySku from the provided source ApplicationGatewaySku
-func (gatewaySku *ApplicationGatewaySku) AssignProperties_From_ApplicationGatewaySku(source *v20220701s.ApplicationGatewaySku) error {
+func (gatewaySku *ApplicationGatewaySku) AssignProperties_From_ApplicationGatewaySku(source *storage.ApplicationGatewaySku) error {
// Capacity
gatewaySku.Capacity = genruntime.ClonePointerToInt(source.Capacity)
// Name
if source.Name != nil {
- name := ApplicationGatewaySku_Name(*source.Name)
- gatewaySku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, applicationGatewaySku_Name_Values)
+ gatewaySku.Name = &nameTemp
} else {
gatewaySku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ApplicationGatewaySku_Tier(*source.Tier)
- gatewaySku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, applicationGatewaySku_Tier_Values)
+ gatewaySku.Tier = &tierTemp
} else {
gatewaySku.Tier = nil
}
@@ -11141,7 +11174,7 @@ func (gatewaySku *ApplicationGatewaySku) AssignProperties_From_ApplicationGatewa
}
// AssignProperties_To_ApplicationGatewaySku populates the provided destination ApplicationGatewaySku from our ApplicationGatewaySku
-func (gatewaySku *ApplicationGatewaySku) AssignProperties_To_ApplicationGatewaySku(destination *v20220701s.ApplicationGatewaySku) error {
+func (gatewaySku *ApplicationGatewaySku) AssignProperties_To_ApplicationGatewaySku(destination *storage.ApplicationGatewaySku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11183,7 +11216,7 @@ func (gatewaySku *ApplicationGatewaySku) Initialize_From_ApplicationGatewaySku_S
// Name
if source.Name != nil {
- name := ApplicationGatewaySku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), applicationGatewaySku_Name_Values)
gatewaySku.Name = &name
} else {
gatewaySku.Name = nil
@@ -11191,7 +11224,7 @@ func (gatewaySku *ApplicationGatewaySku) Initialize_From_ApplicationGatewaySku_S
// Tier
if source.Tier != nil {
- tier := ApplicationGatewaySku_Tier(*source.Tier)
+ tier := genruntime.ToEnum(string(*source.Tier), applicationGatewaySku_Tier_Values)
gatewaySku.Tier = &tier
} else {
gatewaySku.Tier = nil
@@ -11250,23 +11283,25 @@ func (gatewaySku *ApplicationGatewaySku_STATUS) PopulateFromARM(owner genruntime
}
// AssignProperties_From_ApplicationGatewaySku_STATUS populates our ApplicationGatewaySku_STATUS from the provided source ApplicationGatewaySku_STATUS
-func (gatewaySku *ApplicationGatewaySku_STATUS) AssignProperties_From_ApplicationGatewaySku_STATUS(source *v20220701s.ApplicationGatewaySku_STATUS) error {
+func (gatewaySku *ApplicationGatewaySku_STATUS) AssignProperties_From_ApplicationGatewaySku_STATUS(source *storage.ApplicationGatewaySku_STATUS) error {
// Capacity
gatewaySku.Capacity = genruntime.ClonePointerToInt(source.Capacity)
// Name
if source.Name != nil {
- name := ApplicationGatewaySku_Name_STATUS(*source.Name)
- gatewaySku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, applicationGatewaySku_Name_STATUS_Values)
+ gatewaySku.Name = &nameTemp
} else {
gatewaySku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := ApplicationGatewaySku_Tier_STATUS(*source.Tier)
- gatewaySku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, applicationGatewaySku_Tier_STATUS_Values)
+ gatewaySku.Tier = &tierTemp
} else {
gatewaySku.Tier = nil
}
@@ -11276,7 +11311,7 @@ func (gatewaySku *ApplicationGatewaySku_STATUS) AssignProperties_From_Applicatio
}
// AssignProperties_To_ApplicationGatewaySku_STATUS populates the provided destination ApplicationGatewaySku_STATUS from our ApplicationGatewaySku_STATUS
-func (gatewaySku *ApplicationGatewaySku_STATUS) AssignProperties_To_ApplicationGatewaySku_STATUS(destination *v20220701s.ApplicationGatewaySku_STATUS) error {
+func (gatewaySku *ApplicationGatewaySku_STATUS) AssignProperties_To_ApplicationGatewaySku_STATUS(destination *storage.ApplicationGatewaySku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11405,7 +11440,7 @@ func (certificate *ApplicationGatewaySslCertificate) PopulateFromARM(owner genru
}
// AssignProperties_From_ApplicationGatewaySslCertificate populates our ApplicationGatewaySslCertificate from the provided source ApplicationGatewaySslCertificate
-func (certificate *ApplicationGatewaySslCertificate) AssignProperties_From_ApplicationGatewaySslCertificate(source *v20220701s.ApplicationGatewaySslCertificate) error {
+func (certificate *ApplicationGatewaySslCertificate) AssignProperties_From_ApplicationGatewaySslCertificate(source *storage.ApplicationGatewaySslCertificate) error {
// Data
if source.Data != nil {
@@ -11434,7 +11469,7 @@ func (certificate *ApplicationGatewaySslCertificate) AssignProperties_From_Appli
}
// AssignProperties_To_ApplicationGatewaySslCertificate populates the provided destination ApplicationGatewaySslCertificate from our ApplicationGatewaySslCertificate
-func (certificate *ApplicationGatewaySslCertificate) AssignProperties_To_ApplicationGatewaySslCertificate(destination *v20220701s.ApplicationGatewaySslCertificate) error {
+func (certificate *ApplicationGatewaySslCertificate) AssignProperties_To_ApplicationGatewaySslCertificate(destination *storage.ApplicationGatewaySslCertificate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11509,7 +11544,7 @@ func (certificate *ApplicationGatewaySslCertificate_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_ApplicationGatewaySslCertificate_STATUS populates our ApplicationGatewaySslCertificate_STATUS from the provided source ApplicationGatewaySslCertificate_STATUS
-func (certificate *ApplicationGatewaySslCertificate_STATUS) AssignProperties_From_ApplicationGatewaySslCertificate_STATUS(source *v20220701s.ApplicationGatewaySslCertificate_STATUS) error {
+func (certificate *ApplicationGatewaySslCertificate_STATUS) AssignProperties_From_ApplicationGatewaySslCertificate_STATUS(source *storage.ApplicationGatewaySslCertificate_STATUS) error {
// Id
certificate.Id = genruntime.ClonePointerToString(source.Id)
@@ -11519,7 +11554,7 @@ func (certificate *ApplicationGatewaySslCertificate_STATUS) AssignProperties_Fro
}
// AssignProperties_To_ApplicationGatewaySslCertificate_STATUS populates the provided destination ApplicationGatewaySslCertificate_STATUS from our ApplicationGatewaySslCertificate_STATUS
-func (certificate *ApplicationGatewaySslCertificate_STATUS) AssignProperties_To_ApplicationGatewaySslCertificate_STATUS(destination *v20220701s.ApplicationGatewaySslCertificate_STATUS) error {
+func (certificate *ApplicationGatewaySslCertificate_STATUS) AssignProperties_To_ApplicationGatewaySslCertificate_STATUS(destination *storage.ApplicationGatewaySslCertificate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11639,7 +11674,7 @@ func (policy *ApplicationGatewaySslPolicy) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ApplicationGatewaySslPolicy populates our ApplicationGatewaySslPolicy from the provided source ApplicationGatewaySslPolicy
-func (policy *ApplicationGatewaySslPolicy) AssignProperties_From_ApplicationGatewaySslPolicy(source *v20220701s.ApplicationGatewaySslPolicy) error {
+func (policy *ApplicationGatewaySslPolicy) AssignProperties_From_ApplicationGatewaySslPolicy(source *storage.ApplicationGatewaySslPolicy) error {
// CipherSuites
if source.CipherSuites != nil {
@@ -11647,7 +11682,7 @@ func (policy *ApplicationGatewaySslPolicy) AssignProperties_From_ApplicationGate
for cipherSuiteIndex, cipherSuiteItem := range source.CipherSuites {
// Shadow the loop variable to avoid aliasing
cipherSuiteItem := cipherSuiteItem
- cipherSuiteList[cipherSuiteIndex] = CipherSuitesEnum(cipherSuiteItem)
+ cipherSuiteList[cipherSuiteIndex] = genruntime.ToEnum(cipherSuiteItem, cipherSuitesEnum_Values)
}
policy.CipherSuites = cipherSuiteList
} else {
@@ -11660,7 +11695,7 @@ func (policy *ApplicationGatewaySslPolicy) AssignProperties_From_ApplicationGate
for disabledSslProtocolIndex, disabledSslProtocolItem := range source.DisabledSslProtocols {
// Shadow the loop variable to avoid aliasing
disabledSslProtocolItem := disabledSslProtocolItem
- disabledSslProtocolList[disabledSslProtocolIndex] = ProtocolsEnum(disabledSslProtocolItem)
+ disabledSslProtocolList[disabledSslProtocolIndex] = genruntime.ToEnum(disabledSslProtocolItem, protocolsEnum_Values)
}
policy.DisabledSslProtocols = disabledSslProtocolList
} else {
@@ -11669,24 +11704,27 @@ func (policy *ApplicationGatewaySslPolicy) AssignProperties_From_ApplicationGate
// MinProtocolVersion
if source.MinProtocolVersion != nil {
- minProtocolVersion := ProtocolsEnum(*source.MinProtocolVersion)
- policy.MinProtocolVersion = &minProtocolVersion
+ minProtocolVersion := *source.MinProtocolVersion
+ minProtocolVersionTemp := genruntime.ToEnum(minProtocolVersion, protocolsEnum_Values)
+ policy.MinProtocolVersion = &minProtocolVersionTemp
} else {
policy.MinProtocolVersion = nil
}
// PolicyName
if source.PolicyName != nil {
- policyName := PolicyNameEnum(*source.PolicyName)
- policy.PolicyName = &policyName
+ policyName := *source.PolicyName
+ policyNameTemp := genruntime.ToEnum(policyName, policyNameEnum_Values)
+ policy.PolicyName = &policyNameTemp
} else {
policy.PolicyName = nil
}
// PolicyType
if source.PolicyType != nil {
- policyType := ApplicationGatewaySslPolicy_PolicyType(*source.PolicyType)
- policy.PolicyType = &policyType
+ policyType := *source.PolicyType
+ policyTypeTemp := genruntime.ToEnum(policyType, applicationGatewaySslPolicy_PolicyType_Values)
+ policy.PolicyType = &policyTypeTemp
} else {
policy.PolicyType = nil
}
@@ -11696,7 +11734,7 @@ func (policy *ApplicationGatewaySslPolicy) AssignProperties_From_ApplicationGate
}
// AssignProperties_To_ApplicationGatewaySslPolicy populates the provided destination ApplicationGatewaySslPolicy from our ApplicationGatewaySslPolicy
-func (policy *ApplicationGatewaySslPolicy) AssignProperties_To_ApplicationGatewaySslPolicy(destination *v20220701s.ApplicationGatewaySslPolicy) error {
+func (policy *ApplicationGatewaySslPolicy) AssignProperties_To_ApplicationGatewaySslPolicy(destination *storage.ApplicationGatewaySslPolicy) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -11770,7 +11808,7 @@ func (policy *ApplicationGatewaySslPolicy) Initialize_From_ApplicationGatewaySsl
for cipherSuiteIndex, cipherSuiteItem := range source.CipherSuites {
// Shadow the loop variable to avoid aliasing
cipherSuiteItem := cipherSuiteItem
- cipherSuite := CipherSuitesEnum(cipherSuiteItem)
+ cipherSuite := genruntime.ToEnum(string(cipherSuiteItem), cipherSuitesEnum_Values)
cipherSuiteList[cipherSuiteIndex] = cipherSuite
}
policy.CipherSuites = cipherSuiteList
@@ -11784,7 +11822,7 @@ func (policy *ApplicationGatewaySslPolicy) Initialize_From_ApplicationGatewaySsl
for disabledSslProtocolIndex, disabledSslProtocolItem := range source.DisabledSslProtocols {
// Shadow the loop variable to avoid aliasing
disabledSslProtocolItem := disabledSslProtocolItem
- disabledSslProtocol := ProtocolsEnum(disabledSslProtocolItem)
+ disabledSslProtocol := genruntime.ToEnum(string(disabledSslProtocolItem), protocolsEnum_Values)
disabledSslProtocolList[disabledSslProtocolIndex] = disabledSslProtocol
}
policy.DisabledSslProtocols = disabledSslProtocolList
@@ -11794,7 +11832,7 @@ func (policy *ApplicationGatewaySslPolicy) Initialize_From_ApplicationGatewaySsl
// MinProtocolVersion
if source.MinProtocolVersion != nil {
- minProtocolVersion := ProtocolsEnum(*source.MinProtocolVersion)
+ minProtocolVersion := genruntime.ToEnum(string(*source.MinProtocolVersion), protocolsEnum_Values)
policy.MinProtocolVersion = &minProtocolVersion
} else {
policy.MinProtocolVersion = nil
@@ -11802,7 +11840,7 @@ func (policy *ApplicationGatewaySslPolicy) Initialize_From_ApplicationGatewaySsl
// PolicyName
if source.PolicyName != nil {
- policyName := PolicyNameEnum(*source.PolicyName)
+ policyName := genruntime.ToEnum(string(*source.PolicyName), policyNameEnum_Values)
policy.PolicyName = &policyName
} else {
policy.PolicyName = nil
@@ -11810,7 +11848,7 @@ func (policy *ApplicationGatewaySslPolicy) Initialize_From_ApplicationGatewaySsl
// PolicyType
if source.PolicyType != nil {
- policyType := ApplicationGatewaySslPolicy_PolicyType(*source.PolicyType)
+ policyType := genruntime.ToEnum(string(*source.PolicyType), applicationGatewaySslPolicy_PolicyType_Values)
policy.PolicyType = &policyType
} else {
policy.PolicyType = nil
@@ -11885,7 +11923,7 @@ func (policy *ApplicationGatewaySslPolicy_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ApplicationGatewaySslPolicy_STATUS populates our ApplicationGatewaySslPolicy_STATUS from the provided source ApplicationGatewaySslPolicy_STATUS
-func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_From_ApplicationGatewaySslPolicy_STATUS(source *v20220701s.ApplicationGatewaySslPolicy_STATUS) error {
+func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_From_ApplicationGatewaySslPolicy_STATUS(source *storage.ApplicationGatewaySslPolicy_STATUS) error {
// CipherSuites
if source.CipherSuites != nil {
@@ -11893,7 +11931,7 @@ func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_From_Applicat
for cipherSuiteIndex, cipherSuiteItem := range source.CipherSuites {
// Shadow the loop variable to avoid aliasing
cipherSuiteItem := cipherSuiteItem
- cipherSuiteList[cipherSuiteIndex] = CipherSuitesEnum_STATUS(cipherSuiteItem)
+ cipherSuiteList[cipherSuiteIndex] = genruntime.ToEnum(cipherSuiteItem, cipherSuitesEnum_STATUS_Values)
}
policy.CipherSuites = cipherSuiteList
} else {
@@ -11906,7 +11944,7 @@ func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_From_Applicat
for disabledSslProtocolIndex, disabledSslProtocolItem := range source.DisabledSslProtocols {
// Shadow the loop variable to avoid aliasing
disabledSslProtocolItem := disabledSslProtocolItem
- disabledSslProtocolList[disabledSslProtocolIndex] = ProtocolsEnum_STATUS(disabledSslProtocolItem)
+ disabledSslProtocolList[disabledSslProtocolIndex] = genruntime.ToEnum(disabledSslProtocolItem, protocolsEnum_STATUS_Values)
}
policy.DisabledSslProtocols = disabledSslProtocolList
} else {
@@ -11915,24 +11953,27 @@ func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_From_Applicat
// MinProtocolVersion
if source.MinProtocolVersion != nil {
- minProtocolVersion := ProtocolsEnum_STATUS(*source.MinProtocolVersion)
- policy.MinProtocolVersion = &minProtocolVersion
+ minProtocolVersion := *source.MinProtocolVersion
+ minProtocolVersionTemp := genruntime.ToEnum(minProtocolVersion, protocolsEnum_STATUS_Values)
+ policy.MinProtocolVersion = &minProtocolVersionTemp
} else {
policy.MinProtocolVersion = nil
}
// PolicyName
if source.PolicyName != nil {
- policyName := PolicyNameEnum_STATUS(*source.PolicyName)
- policy.PolicyName = &policyName
+ policyName := *source.PolicyName
+ policyNameTemp := genruntime.ToEnum(policyName, policyNameEnum_STATUS_Values)
+ policy.PolicyName = &policyNameTemp
} else {
policy.PolicyName = nil
}
// PolicyType
if source.PolicyType != nil {
- policyType := ApplicationGatewaySslPolicy_PolicyType_STATUS(*source.PolicyType)
- policy.PolicyType = &policyType
+ policyType := *source.PolicyType
+ policyTypeTemp := genruntime.ToEnum(policyType, applicationGatewaySslPolicy_PolicyType_STATUS_Values)
+ policy.PolicyType = &policyTypeTemp
} else {
policy.PolicyType = nil
}
@@ -11942,7 +11983,7 @@ func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_From_Applicat
}
// AssignProperties_To_ApplicationGatewaySslPolicy_STATUS populates the provided destination ApplicationGatewaySslPolicy_STATUS from our ApplicationGatewaySslPolicy_STATUS
-func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_To_ApplicationGatewaySslPolicy_STATUS(destination *v20220701s.ApplicationGatewaySslPolicy_STATUS) error {
+func (policy *ApplicationGatewaySslPolicy_STATUS) AssignProperties_To_ApplicationGatewaySslPolicy_STATUS(destination *storage.ApplicationGatewaySslPolicy_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12133,7 +12174,7 @@ func (profile *ApplicationGatewaySslProfile) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ApplicationGatewaySslProfile populates our ApplicationGatewaySslProfile from the provided source ApplicationGatewaySslProfile
-func (profile *ApplicationGatewaySslProfile) AssignProperties_From_ApplicationGatewaySslProfile(source *v20220701s.ApplicationGatewaySslProfile) error {
+func (profile *ApplicationGatewaySslProfile) AssignProperties_From_ApplicationGatewaySslProfile(source *storage.ApplicationGatewaySslProfile) error {
// ClientAuthConfiguration
if source.ClientAuthConfiguration != nil {
@@ -12185,13 +12226,13 @@ func (profile *ApplicationGatewaySslProfile) AssignProperties_From_ApplicationGa
}
// AssignProperties_To_ApplicationGatewaySslProfile populates the provided destination ApplicationGatewaySslProfile from our ApplicationGatewaySslProfile
-func (profile *ApplicationGatewaySslProfile) AssignProperties_To_ApplicationGatewaySslProfile(destination *v20220701s.ApplicationGatewaySslProfile) error {
+func (profile *ApplicationGatewaySslProfile) AssignProperties_To_ApplicationGatewaySslProfile(destination *storage.ApplicationGatewaySslProfile) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ClientAuthConfiguration
if profile.ClientAuthConfiguration != nil {
- var clientAuthConfiguration v20220701s.ApplicationGatewayClientAuthConfiguration
+ var clientAuthConfiguration storage.ApplicationGatewayClientAuthConfiguration
err := profile.ClientAuthConfiguration.AssignProperties_To_ApplicationGatewayClientAuthConfiguration(&clientAuthConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayClientAuthConfiguration() to populate field ClientAuthConfiguration")
@@ -12206,7 +12247,7 @@ func (profile *ApplicationGatewaySslProfile) AssignProperties_To_ApplicationGate
// SslPolicy
if profile.SslPolicy != nil {
- var sslPolicy v20220701s.ApplicationGatewaySslPolicy
+ var sslPolicy storage.ApplicationGatewaySslPolicy
err := profile.SslPolicy.AssignProperties_To_ApplicationGatewaySslPolicy(&sslPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySslPolicy() to populate field SslPolicy")
@@ -12218,11 +12259,11 @@ func (profile *ApplicationGatewaySslProfile) AssignProperties_To_ApplicationGate
// TrustedClientCertificates
if profile.TrustedClientCertificates != nil {
- trustedClientCertificateList := make([]v20220701s.ApplicationGatewaySubResource, len(profile.TrustedClientCertificates))
+ trustedClientCertificateList := make([]storage.ApplicationGatewaySubResource, len(profile.TrustedClientCertificates))
for trustedClientCertificateIndex, trustedClientCertificateItem := range profile.TrustedClientCertificates {
// Shadow the loop variable to avoid aliasing
trustedClientCertificateItem := trustedClientCertificateItem
- var trustedClientCertificate v20220701s.ApplicationGatewaySubResource
+ var trustedClientCertificate storage.ApplicationGatewaySubResource
err := trustedClientCertificateItem.AssignProperties_To_ApplicationGatewaySubResource(&trustedClientCertificate)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field TrustedClientCertificates")
@@ -12283,7 +12324,7 @@ func (profile *ApplicationGatewaySslProfile_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ApplicationGatewaySslProfile_STATUS populates our ApplicationGatewaySslProfile_STATUS from the provided source ApplicationGatewaySslProfile_STATUS
-func (profile *ApplicationGatewaySslProfile_STATUS) AssignProperties_From_ApplicationGatewaySslProfile_STATUS(source *v20220701s.ApplicationGatewaySslProfile_STATUS) error {
+func (profile *ApplicationGatewaySslProfile_STATUS) AssignProperties_From_ApplicationGatewaySslProfile_STATUS(source *storage.ApplicationGatewaySslProfile_STATUS) error {
// Id
profile.Id = genruntime.ClonePointerToString(source.Id)
@@ -12293,7 +12334,7 @@ func (profile *ApplicationGatewaySslProfile_STATUS) AssignProperties_From_Applic
}
// AssignProperties_To_ApplicationGatewaySslProfile_STATUS populates the provided destination ApplicationGatewaySslProfile_STATUS from our ApplicationGatewaySslProfile_STATUS
-func (profile *ApplicationGatewaySslProfile_STATUS) AssignProperties_To_ApplicationGatewaySslProfile_STATUS(destination *v20220701s.ApplicationGatewaySslProfile_STATUS) error {
+func (profile *ApplicationGatewaySslProfile_STATUS) AssignProperties_To_ApplicationGatewaySslProfile_STATUS(destination *storage.ApplicationGatewaySslProfile_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12357,7 +12398,7 @@ func (resource *ApplicationGatewaySubResource) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ApplicationGatewaySubResource populates our ApplicationGatewaySubResource from the provided source ApplicationGatewaySubResource
-func (resource *ApplicationGatewaySubResource) AssignProperties_From_ApplicationGatewaySubResource(source *v20220701s.ApplicationGatewaySubResource) error {
+func (resource *ApplicationGatewaySubResource) AssignProperties_From_ApplicationGatewaySubResource(source *storage.ApplicationGatewaySubResource) error {
// Reference
if source.Reference != nil {
@@ -12372,7 +12413,7 @@ func (resource *ApplicationGatewaySubResource) AssignProperties_From_Application
}
// AssignProperties_To_ApplicationGatewaySubResource populates the provided destination ApplicationGatewaySubResource from our ApplicationGatewaySubResource
-func (resource *ApplicationGatewaySubResource) AssignProperties_To_ApplicationGatewaySubResource(destination *v20220701s.ApplicationGatewaySubResource) error {
+func (resource *ApplicationGatewaySubResource) AssignProperties_To_ApplicationGatewaySubResource(destination *storage.ApplicationGatewaySubResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12441,7 +12482,7 @@ func (resource *ApplicationGatewaySubResource_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_ApplicationGatewaySubResource_STATUS populates our ApplicationGatewaySubResource_STATUS from the provided source ApplicationGatewaySubResource_STATUS
-func (resource *ApplicationGatewaySubResource_STATUS) AssignProperties_From_ApplicationGatewaySubResource_STATUS(source *v20220701s.ApplicationGatewaySubResource_STATUS) error {
+func (resource *ApplicationGatewaySubResource_STATUS) AssignProperties_From_ApplicationGatewaySubResource_STATUS(source *storage.ApplicationGatewaySubResource_STATUS) error {
// Id
resource.Id = genruntime.ClonePointerToString(source.Id)
@@ -12451,7 +12492,7 @@ func (resource *ApplicationGatewaySubResource_STATUS) AssignProperties_From_Appl
}
// AssignProperties_To_ApplicationGatewaySubResource_STATUS populates the provided destination ApplicationGatewaySubResource_STATUS from our ApplicationGatewaySubResource_STATUS
-func (resource *ApplicationGatewaySubResource_STATUS) AssignProperties_To_ApplicationGatewaySubResource_STATUS(destination *v20220701s.ApplicationGatewaySubResource_STATUS) error {
+func (resource *ApplicationGatewaySubResource_STATUS) AssignProperties_To_ApplicationGatewaySubResource_STATUS(destination *storage.ApplicationGatewaySubResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12533,7 +12574,7 @@ func (certificate *ApplicationGatewayTrustedClientCertificate) PopulateFromARM(o
}
// AssignProperties_From_ApplicationGatewayTrustedClientCertificate populates our ApplicationGatewayTrustedClientCertificate from the provided source ApplicationGatewayTrustedClientCertificate
-func (certificate *ApplicationGatewayTrustedClientCertificate) AssignProperties_From_ApplicationGatewayTrustedClientCertificate(source *v20220701s.ApplicationGatewayTrustedClientCertificate) error {
+func (certificate *ApplicationGatewayTrustedClientCertificate) AssignProperties_From_ApplicationGatewayTrustedClientCertificate(source *storage.ApplicationGatewayTrustedClientCertificate) error {
// Data
if source.Data != nil {
@@ -12551,7 +12592,7 @@ func (certificate *ApplicationGatewayTrustedClientCertificate) AssignProperties_
}
// AssignProperties_To_ApplicationGatewayTrustedClientCertificate populates the provided destination ApplicationGatewayTrustedClientCertificate from our ApplicationGatewayTrustedClientCertificate
-func (certificate *ApplicationGatewayTrustedClientCertificate) AssignProperties_To_ApplicationGatewayTrustedClientCertificate(destination *v20220701s.ApplicationGatewayTrustedClientCertificate) error {
+func (certificate *ApplicationGatewayTrustedClientCertificate) AssignProperties_To_ApplicationGatewayTrustedClientCertificate(destination *storage.ApplicationGatewayTrustedClientCertificate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12615,7 +12656,7 @@ func (certificate *ApplicationGatewayTrustedClientCertificate_STATUS) PopulateFr
}
// AssignProperties_From_ApplicationGatewayTrustedClientCertificate_STATUS populates our ApplicationGatewayTrustedClientCertificate_STATUS from the provided source ApplicationGatewayTrustedClientCertificate_STATUS
-func (certificate *ApplicationGatewayTrustedClientCertificate_STATUS) AssignProperties_From_ApplicationGatewayTrustedClientCertificate_STATUS(source *v20220701s.ApplicationGatewayTrustedClientCertificate_STATUS) error {
+func (certificate *ApplicationGatewayTrustedClientCertificate_STATUS) AssignProperties_From_ApplicationGatewayTrustedClientCertificate_STATUS(source *storage.ApplicationGatewayTrustedClientCertificate_STATUS) error {
// Id
certificate.Id = genruntime.ClonePointerToString(source.Id)
@@ -12625,7 +12666,7 @@ func (certificate *ApplicationGatewayTrustedClientCertificate_STATUS) AssignProp
}
// AssignProperties_To_ApplicationGatewayTrustedClientCertificate_STATUS populates the provided destination ApplicationGatewayTrustedClientCertificate_STATUS from our ApplicationGatewayTrustedClientCertificate_STATUS
-func (certificate *ApplicationGatewayTrustedClientCertificate_STATUS) AssignProperties_To_ApplicationGatewayTrustedClientCertificate_STATUS(destination *v20220701s.ApplicationGatewayTrustedClientCertificate_STATUS) error {
+func (certificate *ApplicationGatewayTrustedClientCertificate_STATUS) AssignProperties_To_ApplicationGatewayTrustedClientCertificate_STATUS(destination *storage.ApplicationGatewayTrustedClientCertificate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12723,7 +12764,7 @@ func (certificate *ApplicationGatewayTrustedRootCertificate) PopulateFromARM(own
}
// AssignProperties_From_ApplicationGatewayTrustedRootCertificate populates our ApplicationGatewayTrustedRootCertificate from the provided source ApplicationGatewayTrustedRootCertificate
-func (certificate *ApplicationGatewayTrustedRootCertificate) AssignProperties_From_ApplicationGatewayTrustedRootCertificate(source *v20220701s.ApplicationGatewayTrustedRootCertificate) error {
+func (certificate *ApplicationGatewayTrustedRootCertificate) AssignProperties_From_ApplicationGatewayTrustedRootCertificate(source *storage.ApplicationGatewayTrustedRootCertificate) error {
// Data
if source.Data != nil {
@@ -12744,7 +12785,7 @@ func (certificate *ApplicationGatewayTrustedRootCertificate) AssignProperties_Fr
}
// AssignProperties_To_ApplicationGatewayTrustedRootCertificate populates the provided destination ApplicationGatewayTrustedRootCertificate from our ApplicationGatewayTrustedRootCertificate
-func (certificate *ApplicationGatewayTrustedRootCertificate) AssignProperties_To_ApplicationGatewayTrustedRootCertificate(destination *v20220701s.ApplicationGatewayTrustedRootCertificate) error {
+func (certificate *ApplicationGatewayTrustedRootCertificate) AssignProperties_To_ApplicationGatewayTrustedRootCertificate(destination *storage.ApplicationGatewayTrustedRootCertificate) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -12811,7 +12852,7 @@ func (certificate *ApplicationGatewayTrustedRootCertificate_STATUS) PopulateFrom
}
// AssignProperties_From_ApplicationGatewayTrustedRootCertificate_STATUS populates our ApplicationGatewayTrustedRootCertificate_STATUS from the provided source ApplicationGatewayTrustedRootCertificate_STATUS
-func (certificate *ApplicationGatewayTrustedRootCertificate_STATUS) AssignProperties_From_ApplicationGatewayTrustedRootCertificate_STATUS(source *v20220701s.ApplicationGatewayTrustedRootCertificate_STATUS) error {
+func (certificate *ApplicationGatewayTrustedRootCertificate_STATUS) AssignProperties_From_ApplicationGatewayTrustedRootCertificate_STATUS(source *storage.ApplicationGatewayTrustedRootCertificate_STATUS) error {
// Id
certificate.Id = genruntime.ClonePointerToString(source.Id)
@@ -12821,7 +12862,7 @@ func (certificate *ApplicationGatewayTrustedRootCertificate_STATUS) AssignProper
}
// AssignProperties_To_ApplicationGatewayTrustedRootCertificate_STATUS populates the provided destination ApplicationGatewayTrustedRootCertificate_STATUS from our ApplicationGatewayTrustedRootCertificate_STATUS
-func (certificate *ApplicationGatewayTrustedRootCertificate_STATUS) AssignProperties_To_ApplicationGatewayTrustedRootCertificate_STATUS(destination *v20220701s.ApplicationGatewayTrustedRootCertificate_STATUS) error {
+func (certificate *ApplicationGatewayTrustedRootCertificate_STATUS) AssignProperties_To_ApplicationGatewayTrustedRootCertificate_STATUS(destination *storage.ApplicationGatewayTrustedRootCertificate_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13043,7 +13084,7 @@ func (pathMap *ApplicationGatewayUrlPathMap) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_ApplicationGatewayUrlPathMap populates our ApplicationGatewayUrlPathMap from the provided source ApplicationGatewayUrlPathMap
-func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_From_ApplicationGatewayUrlPathMap(source *v20220701s.ApplicationGatewayUrlPathMap) error {
+func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_From_ApplicationGatewayUrlPathMap(source *storage.ApplicationGatewayUrlPathMap) error {
// DefaultBackendAddressPool
if source.DefaultBackendAddressPool != nil {
@@ -13131,13 +13172,13 @@ func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_From_ApplicationGa
}
// AssignProperties_To_ApplicationGatewayUrlPathMap populates the provided destination ApplicationGatewayUrlPathMap from our ApplicationGatewayUrlPathMap
-func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGatewayUrlPathMap(destination *v20220701s.ApplicationGatewayUrlPathMap) error {
+func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGatewayUrlPathMap(destination *storage.ApplicationGatewayUrlPathMap) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DefaultBackendAddressPool
if pathMap.DefaultBackendAddressPool != nil {
- var defaultBackendAddressPool v20220701s.ApplicationGatewaySubResource
+ var defaultBackendAddressPool storage.ApplicationGatewaySubResource
err := pathMap.DefaultBackendAddressPool.AssignProperties_To_ApplicationGatewaySubResource(&defaultBackendAddressPool)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field DefaultBackendAddressPool")
@@ -13149,7 +13190,7 @@ func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGate
// DefaultBackendHttpSettings
if pathMap.DefaultBackendHttpSettings != nil {
- var defaultBackendHttpSetting v20220701s.ApplicationGatewaySubResource
+ var defaultBackendHttpSetting storage.ApplicationGatewaySubResource
err := pathMap.DefaultBackendHttpSettings.AssignProperties_To_ApplicationGatewaySubResource(&defaultBackendHttpSetting)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field DefaultBackendHttpSettings")
@@ -13161,7 +13202,7 @@ func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGate
// DefaultLoadDistributionPolicy
if pathMap.DefaultLoadDistributionPolicy != nil {
- var defaultLoadDistributionPolicy v20220701s.ApplicationGatewaySubResource
+ var defaultLoadDistributionPolicy storage.ApplicationGatewaySubResource
err := pathMap.DefaultLoadDistributionPolicy.AssignProperties_To_ApplicationGatewaySubResource(&defaultLoadDistributionPolicy)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field DefaultLoadDistributionPolicy")
@@ -13173,7 +13214,7 @@ func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGate
// DefaultRedirectConfiguration
if pathMap.DefaultRedirectConfiguration != nil {
- var defaultRedirectConfiguration v20220701s.ApplicationGatewaySubResource
+ var defaultRedirectConfiguration storage.ApplicationGatewaySubResource
err := pathMap.DefaultRedirectConfiguration.AssignProperties_To_ApplicationGatewaySubResource(&defaultRedirectConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field DefaultRedirectConfiguration")
@@ -13185,7 +13226,7 @@ func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGate
// DefaultRewriteRuleSet
if pathMap.DefaultRewriteRuleSet != nil {
- var defaultRewriteRuleSet v20220701s.ApplicationGatewaySubResource
+ var defaultRewriteRuleSet storage.ApplicationGatewaySubResource
err := pathMap.DefaultRewriteRuleSet.AssignProperties_To_ApplicationGatewaySubResource(&defaultRewriteRuleSet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field DefaultRewriteRuleSet")
@@ -13200,11 +13241,11 @@ func (pathMap *ApplicationGatewayUrlPathMap) AssignProperties_To_ApplicationGate
// PathRules
if pathMap.PathRules != nil {
- pathRuleList := make([]v20220701s.ApplicationGatewayPathRule, len(pathMap.PathRules))
+ pathRuleList := make([]storage.ApplicationGatewayPathRule, len(pathMap.PathRules))
for pathRuleIndex, pathRuleItem := range pathMap.PathRules {
// Shadow the loop variable to avoid aliasing
pathRuleItem := pathRuleItem
- var pathRule v20220701s.ApplicationGatewayPathRule
+ var pathRule storage.ApplicationGatewayPathRule
err := pathRuleItem.AssignProperties_To_ApplicationGatewayPathRule(&pathRule)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayPathRule() to populate field PathRules")
@@ -13265,7 +13306,7 @@ func (pathMap *ApplicationGatewayUrlPathMap_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_ApplicationGatewayUrlPathMap_STATUS populates our ApplicationGatewayUrlPathMap_STATUS from the provided source ApplicationGatewayUrlPathMap_STATUS
-func (pathMap *ApplicationGatewayUrlPathMap_STATUS) AssignProperties_From_ApplicationGatewayUrlPathMap_STATUS(source *v20220701s.ApplicationGatewayUrlPathMap_STATUS) error {
+func (pathMap *ApplicationGatewayUrlPathMap_STATUS) AssignProperties_From_ApplicationGatewayUrlPathMap_STATUS(source *storage.ApplicationGatewayUrlPathMap_STATUS) error {
// Id
pathMap.Id = genruntime.ClonePointerToString(source.Id)
@@ -13275,7 +13316,7 @@ func (pathMap *ApplicationGatewayUrlPathMap_STATUS) AssignProperties_From_Applic
}
// AssignProperties_To_ApplicationGatewayUrlPathMap_STATUS populates the provided destination ApplicationGatewayUrlPathMap_STATUS from our ApplicationGatewayUrlPathMap_STATUS
-func (pathMap *ApplicationGatewayUrlPathMap_STATUS) AssignProperties_To_ApplicationGatewayUrlPathMap_STATUS(destination *v20220701s.ApplicationGatewayUrlPathMap_STATUS) error {
+func (pathMap *ApplicationGatewayUrlPathMap_STATUS) AssignProperties_To_ApplicationGatewayUrlPathMap_STATUS(destination *storage.ApplicationGatewayUrlPathMap_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -13497,7 +13538,7 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) Popu
}
// AssignProperties_From_ApplicationGatewayWebApplicationFirewallConfiguration populates our ApplicationGatewayWebApplicationFirewallConfiguration from the provided source ApplicationGatewayWebApplicationFirewallConfiguration
-func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) AssignProperties_From_ApplicationGatewayWebApplicationFirewallConfiguration(source *v20220701s.ApplicationGatewayWebApplicationFirewallConfiguration) error {
+func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) AssignProperties_From_ApplicationGatewayWebApplicationFirewallConfiguration(source *storage.ApplicationGatewayWebApplicationFirewallConfiguration) error {
// DisabledRuleGroups
if source.DisabledRuleGroups != nil {
@@ -13553,8 +13594,9 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) Assi
// FirewallMode
if source.FirewallMode != nil {
- firewallMode := ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode(*source.FirewallMode)
- configuration.FirewallMode = &firewallMode
+ firewallMode := *source.FirewallMode
+ firewallModeTemp := genruntime.ToEnum(firewallMode, applicationGatewayWebApplicationFirewallConfiguration_FirewallMode_Values)
+ configuration.FirewallMode = &firewallModeTemp
} else {
configuration.FirewallMode = nil
}
@@ -13594,17 +13636,17 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) Assi
}
// AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration populates the provided destination ApplicationGatewayWebApplicationFirewallConfiguration from our ApplicationGatewayWebApplicationFirewallConfiguration
-func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration(destination *v20220701s.ApplicationGatewayWebApplicationFirewallConfiguration) error {
+func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration(destination *storage.ApplicationGatewayWebApplicationFirewallConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DisabledRuleGroups
if configuration.DisabledRuleGroups != nil {
- disabledRuleGroupList := make([]v20220701s.ApplicationGatewayFirewallDisabledRuleGroup, len(configuration.DisabledRuleGroups))
+ disabledRuleGroupList := make([]storage.ApplicationGatewayFirewallDisabledRuleGroup, len(configuration.DisabledRuleGroups))
for disabledRuleGroupIndex, disabledRuleGroupItem := range configuration.DisabledRuleGroups {
// Shadow the loop variable to avoid aliasing
disabledRuleGroupItem := disabledRuleGroupItem
- var disabledRuleGroup v20220701s.ApplicationGatewayFirewallDisabledRuleGroup
+ var disabledRuleGroup storage.ApplicationGatewayFirewallDisabledRuleGroup
err := disabledRuleGroupItem.AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup(&disabledRuleGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup() to populate field DisabledRuleGroups")
@@ -13626,11 +13668,11 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) Assi
// Exclusions
if configuration.Exclusions != nil {
- exclusionList := make([]v20220701s.ApplicationGatewayFirewallExclusion, len(configuration.Exclusions))
+ exclusionList := make([]storage.ApplicationGatewayFirewallExclusion, len(configuration.Exclusions))
for exclusionIndex, exclusionItem := range configuration.Exclusions {
// Shadow the loop variable to avoid aliasing
exclusionItem := exclusionItem
- var exclusion v20220701s.ApplicationGatewayFirewallExclusion
+ var exclusion storage.ApplicationGatewayFirewallExclusion
err := exclusionItem.AssignProperties_To_ApplicationGatewayFirewallExclusion(&exclusion)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFirewallExclusion() to populate field Exclusions")
@@ -13756,7 +13798,7 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration) Init
// FirewallMode
if source.FirewallMode != nil {
- firewallMode := ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode(*source.FirewallMode)
+ firewallMode := genruntime.ToEnum(string(*source.FirewallMode), applicationGatewayWebApplicationFirewallConfiguration_FirewallMode_Values)
configuration.FirewallMode = &firewallMode
} else {
configuration.FirewallMode = nil
@@ -13916,7 +13958,7 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATU
}
// AssignProperties_From_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS populates our ApplicationGatewayWebApplicationFirewallConfiguration_STATUS from the provided source ApplicationGatewayWebApplicationFirewallConfiguration_STATUS
-func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) AssignProperties_From_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS(source *v20220701s.ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) AssignProperties_From_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS(source *storage.ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) error {
// DisabledRuleGroups
if source.DisabledRuleGroups != nil {
@@ -13967,8 +14009,9 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATU
// FirewallMode
if source.FirewallMode != nil {
- firewallMode := ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS(*source.FirewallMode)
- configuration.FirewallMode = &firewallMode
+ firewallMode := *source.FirewallMode
+ firewallModeTemp := genruntime.ToEnum(firewallMode, applicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS_Values)
+ configuration.FirewallMode = &firewallModeTemp
} else {
configuration.FirewallMode = nil
}
@@ -13998,17 +14041,17 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATU
}
// AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS populates the provided destination ApplicationGatewayWebApplicationFirewallConfiguration_STATUS from our ApplicationGatewayWebApplicationFirewallConfiguration_STATUS
-func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS(destination *v20220701s.ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) error {
+func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) AssignProperties_To_ApplicationGatewayWebApplicationFirewallConfiguration_STATUS(destination *storage.ApplicationGatewayWebApplicationFirewallConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// DisabledRuleGroups
if configuration.DisabledRuleGroups != nil {
- disabledRuleGroupList := make([]v20220701s.ApplicationGatewayFirewallDisabledRuleGroup_STATUS, len(configuration.DisabledRuleGroups))
+ disabledRuleGroupList := make([]storage.ApplicationGatewayFirewallDisabledRuleGroup_STATUS, len(configuration.DisabledRuleGroups))
for disabledRuleGroupIndex, disabledRuleGroupItem := range configuration.DisabledRuleGroups {
// Shadow the loop variable to avoid aliasing
disabledRuleGroupItem := disabledRuleGroupItem
- var disabledRuleGroup v20220701s.ApplicationGatewayFirewallDisabledRuleGroup_STATUS
+ var disabledRuleGroup storage.ApplicationGatewayFirewallDisabledRuleGroup_STATUS
err := disabledRuleGroupItem.AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup_STATUS(&disabledRuleGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup_STATUS() to populate field DisabledRuleGroups")
@@ -14030,11 +14073,11 @@ func (configuration *ApplicationGatewayWebApplicationFirewallConfiguration_STATU
// Exclusions
if configuration.Exclusions != nil {
- exclusionList := make([]v20220701s.ApplicationGatewayFirewallExclusion_STATUS, len(configuration.Exclusions))
+ exclusionList := make([]storage.ApplicationGatewayFirewallExclusion_STATUS, len(configuration.Exclusions))
for exclusionIndex, exclusionItem := range configuration.Exclusions {
// Shadow the loop variable to avoid aliasing
exclusionItem := exclusionItem
- var exclusion v20220701s.ApplicationGatewayFirewallExclusion_STATUS
+ var exclusion storage.ApplicationGatewayFirewallExclusion_STATUS
err := exclusionItem.AssignProperties_To_ApplicationGatewayFirewallExclusion_STATUS(&exclusion)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayFirewallExclusion_STATUS() to populate field Exclusions")
@@ -14154,12 +14197,13 @@ func (identity *ManagedServiceIdentity) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ManagedServiceIdentity populates our ManagedServiceIdentity from the provided source ManagedServiceIdentity
-func (identity *ManagedServiceIdentity) AssignProperties_From_ManagedServiceIdentity(source *v20220701s.ManagedServiceIdentity) error {
+func (identity *ManagedServiceIdentity) AssignProperties_From_ManagedServiceIdentity(source *storage.ManagedServiceIdentity) error {
// Type
if source.Type != nil {
- typeVar := ManagedServiceIdentity_Type(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedServiceIdentity_Type_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -14187,7 +14231,7 @@ func (identity *ManagedServiceIdentity) AssignProperties_From_ManagedServiceIden
}
// AssignProperties_To_ManagedServiceIdentity populates the provided destination ManagedServiceIdentity from our ManagedServiceIdentity
-func (identity *ManagedServiceIdentity) AssignProperties_To_ManagedServiceIdentity(destination *v20220701s.ManagedServiceIdentity) error {
+func (identity *ManagedServiceIdentity) AssignProperties_To_ManagedServiceIdentity(destination *storage.ManagedServiceIdentity) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14201,11 +14245,11 @@ func (identity *ManagedServiceIdentity) AssignProperties_To_ManagedServiceIdenti
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityList := make([]v20220701s.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
+ userAssignedIdentityList := make([]storage.UserAssignedIdentityDetails, len(identity.UserAssignedIdentities))
for userAssignedIdentityIndex, userAssignedIdentityItem := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityItem := userAssignedIdentityItem
- var userAssignedIdentity v20220701s.UserAssignedIdentityDetails
+ var userAssignedIdentity storage.UserAssignedIdentityDetails
err := userAssignedIdentityItem.AssignProperties_To_UserAssignedIdentityDetails(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_UserAssignedIdentityDetails() to populate field UserAssignedIdentities")
@@ -14233,7 +14277,7 @@ func (identity *ManagedServiceIdentity) Initialize_From_ManagedServiceIdentity_S
// Type
if source.Type != nil {
- typeVar := ManagedServiceIdentity_Type(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), managedServiceIdentity_Type_Values)
identity.Type = &typeVar
} else {
identity.Type = nil
@@ -14326,7 +14370,7 @@ func (identity *ManagedServiceIdentity_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_ManagedServiceIdentity_STATUS populates our ManagedServiceIdentity_STATUS from the provided source ManagedServiceIdentity_STATUS
-func (identity *ManagedServiceIdentity_STATUS) AssignProperties_From_ManagedServiceIdentity_STATUS(source *v20220701s.ManagedServiceIdentity_STATUS) error {
+func (identity *ManagedServiceIdentity_STATUS) AssignProperties_From_ManagedServiceIdentity_STATUS(source *storage.ManagedServiceIdentity_STATUS) error {
// PrincipalId
identity.PrincipalId = genruntime.ClonePointerToString(source.PrincipalId)
@@ -14336,8 +14380,9 @@ func (identity *ManagedServiceIdentity_STATUS) AssignProperties_From_ManagedServ
// Type
if source.Type != nil {
- typeVar := ManagedServiceIdentity_Type_STATUS(*source.Type)
- identity.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, managedServiceIdentity_Type_STATUS_Values)
+ identity.Type = &typeTemp
} else {
identity.Type = nil
}
@@ -14365,7 +14410,7 @@ func (identity *ManagedServiceIdentity_STATUS) AssignProperties_From_ManagedServ
}
// AssignProperties_To_ManagedServiceIdentity_STATUS populates the provided destination ManagedServiceIdentity_STATUS from our ManagedServiceIdentity_STATUS
-func (identity *ManagedServiceIdentity_STATUS) AssignProperties_To_ManagedServiceIdentity_STATUS(destination *v20220701s.ManagedServiceIdentity_STATUS) error {
+func (identity *ManagedServiceIdentity_STATUS) AssignProperties_To_ManagedServiceIdentity_STATUS(destination *storage.ManagedServiceIdentity_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14385,11 +14430,11 @@ func (identity *ManagedServiceIdentity_STATUS) AssignProperties_To_ManagedServic
// UserAssignedIdentities
if identity.UserAssignedIdentities != nil {
- userAssignedIdentityMap := make(map[string]v20220701s.ManagedServiceIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
+ userAssignedIdentityMap := make(map[string]storage.ManagedServiceIdentity_UserAssignedIdentities_STATUS, len(identity.UserAssignedIdentities))
for userAssignedIdentityKey, userAssignedIdentityValue := range identity.UserAssignedIdentities {
// Shadow the loop variable to avoid aliasing
userAssignedIdentityValue := userAssignedIdentityValue
- var userAssignedIdentity v20220701s.ManagedServiceIdentity_UserAssignedIdentities_STATUS
+ var userAssignedIdentity storage.ManagedServiceIdentity_UserAssignedIdentities_STATUS
err := userAssignedIdentityValue.AssignProperties_To_ManagedServiceIdentity_UserAssignedIdentities_STATUS(&userAssignedIdentity)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ManagedServiceIdentity_UserAssignedIdentities_STATUS() to populate field UserAssignedIdentities")
@@ -14473,7 +14518,7 @@ func (address *ApplicationGatewayBackendAddress) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ApplicationGatewayBackendAddress populates our ApplicationGatewayBackendAddress from the provided source ApplicationGatewayBackendAddress
-func (address *ApplicationGatewayBackendAddress) AssignProperties_From_ApplicationGatewayBackendAddress(source *v20220701s.ApplicationGatewayBackendAddress) error {
+func (address *ApplicationGatewayBackendAddress) AssignProperties_From_ApplicationGatewayBackendAddress(source *storage.ApplicationGatewayBackendAddress) error {
// Fqdn
address.Fqdn = genruntime.ClonePointerToString(source.Fqdn)
@@ -14486,7 +14531,7 @@ func (address *ApplicationGatewayBackendAddress) AssignProperties_From_Applicati
}
// AssignProperties_To_ApplicationGatewayBackendAddress populates the provided destination ApplicationGatewayBackendAddress from our ApplicationGatewayBackendAddress
-func (address *ApplicationGatewayBackendAddress) AssignProperties_To_ApplicationGatewayBackendAddress(destination *v20220701s.ApplicationGatewayBackendAddress) error {
+func (address *ApplicationGatewayBackendAddress) AssignProperties_To_ApplicationGatewayBackendAddress(destination *storage.ApplicationGatewayBackendAddress) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14515,6 +14560,12 @@ const (
ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity_Enabled = ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity("Enabled")
)
+// Mapping from string to ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity
+var applicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity_Values = map[string]ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity{
+ "disabled": ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity_Disabled,
+ "enabled": ApplicationGatewayBackendHttpSettingsPropertiesFormat_CookieBasedAffinity_Enabled,
+}
+
// Application gateway client authentication configuration.
type ApplicationGatewayClientAuthConfiguration struct {
// VerifyClientCertIssuerDN: Verify client certificate issuer name on the application gateway.
@@ -14576,7 +14627,7 @@ func (configuration *ApplicationGatewayClientAuthConfiguration) PopulateFromARM(
}
// AssignProperties_From_ApplicationGatewayClientAuthConfiguration populates our ApplicationGatewayClientAuthConfiguration from the provided source ApplicationGatewayClientAuthConfiguration
-func (configuration *ApplicationGatewayClientAuthConfiguration) AssignProperties_From_ApplicationGatewayClientAuthConfiguration(source *v20220701s.ApplicationGatewayClientAuthConfiguration) error {
+func (configuration *ApplicationGatewayClientAuthConfiguration) AssignProperties_From_ApplicationGatewayClientAuthConfiguration(source *storage.ApplicationGatewayClientAuthConfiguration) error {
// VerifyClientCertIssuerDN
if source.VerifyClientCertIssuerDN != nil {
@@ -14588,8 +14639,9 @@ func (configuration *ApplicationGatewayClientAuthConfiguration) AssignProperties
// VerifyClientRevocation
if source.VerifyClientRevocation != nil {
- verifyClientRevocation := ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation(*source.VerifyClientRevocation)
- configuration.VerifyClientRevocation = &verifyClientRevocation
+ verifyClientRevocation := *source.VerifyClientRevocation
+ verifyClientRevocationTemp := genruntime.ToEnum(verifyClientRevocation, applicationGatewayClientAuthConfiguration_VerifyClientRevocation_Values)
+ configuration.VerifyClientRevocation = &verifyClientRevocationTemp
} else {
configuration.VerifyClientRevocation = nil
}
@@ -14599,7 +14651,7 @@ func (configuration *ApplicationGatewayClientAuthConfiguration) AssignProperties
}
// AssignProperties_To_ApplicationGatewayClientAuthConfiguration populates the provided destination ApplicationGatewayClientAuthConfiguration from our ApplicationGatewayClientAuthConfiguration
-func (configuration *ApplicationGatewayClientAuthConfiguration) AssignProperties_To_ApplicationGatewayClientAuthConfiguration(destination *v20220701s.ApplicationGatewayClientAuthConfiguration) error {
+func (configuration *ApplicationGatewayClientAuthConfiguration) AssignProperties_To_ApplicationGatewayClientAuthConfiguration(destination *storage.ApplicationGatewayClientAuthConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14697,7 +14749,7 @@ func (draining *ApplicationGatewayConnectionDraining) PopulateFromARM(owner genr
}
// AssignProperties_From_ApplicationGatewayConnectionDraining populates our ApplicationGatewayConnectionDraining from the provided source ApplicationGatewayConnectionDraining
-func (draining *ApplicationGatewayConnectionDraining) AssignProperties_From_ApplicationGatewayConnectionDraining(source *v20220701s.ApplicationGatewayConnectionDraining) error {
+func (draining *ApplicationGatewayConnectionDraining) AssignProperties_From_ApplicationGatewayConnectionDraining(source *storage.ApplicationGatewayConnectionDraining) error {
// DrainTimeoutInSec
if source.DrainTimeoutInSec != nil {
@@ -14720,7 +14772,7 @@ func (draining *ApplicationGatewayConnectionDraining) AssignProperties_From_Appl
}
// AssignProperties_To_ApplicationGatewayConnectionDraining populates the provided destination ApplicationGatewayConnectionDraining from our ApplicationGatewayConnectionDraining
-func (draining *ApplicationGatewayConnectionDraining) AssignProperties_To_ApplicationGatewayConnectionDraining(destination *v20220701s.ApplicationGatewayConnectionDraining) error {
+func (draining *ApplicationGatewayConnectionDraining) AssignProperties_To_ApplicationGatewayConnectionDraining(destination *storage.ApplicationGatewayConnectionDraining) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14759,6 +14811,12 @@ const (
ApplicationGatewayCustomError_StatusCode_HttpStatus502 = ApplicationGatewayCustomError_StatusCode("HttpStatus502")
)
+// Mapping from string to ApplicationGatewayCustomError_StatusCode
+var applicationGatewayCustomError_StatusCode_Values = map[string]ApplicationGatewayCustomError_StatusCode{
+ "httpstatus403": ApplicationGatewayCustomError_StatusCode_HttpStatus403,
+ "httpstatus502": ApplicationGatewayCustomError_StatusCode_HttpStatus502,
+}
+
type ApplicationGatewayCustomError_StatusCode_STATUS string
const (
@@ -14766,6 +14824,12 @@ const (
ApplicationGatewayCustomError_StatusCode_STATUS_HttpStatus502 = ApplicationGatewayCustomError_StatusCode_STATUS("HttpStatus502")
)
+// Mapping from string to ApplicationGatewayCustomError_StatusCode_STATUS
+var applicationGatewayCustomError_StatusCode_STATUS_Values = map[string]ApplicationGatewayCustomError_StatusCode_STATUS{
+ "httpstatus403": ApplicationGatewayCustomError_StatusCode_STATUS_HttpStatus403,
+ "httpstatus502": ApplicationGatewayCustomError_StatusCode_STATUS_HttpStatus502,
+}
+
// Allows to disable rules within a rule group or an entire rule group.
type ApplicationGatewayFirewallDisabledRuleGroup struct {
// +kubebuilder:validation:Required
@@ -14826,7 +14890,7 @@ func (group *ApplicationGatewayFirewallDisabledRuleGroup) PopulateFromARM(owner
}
// AssignProperties_From_ApplicationGatewayFirewallDisabledRuleGroup populates our ApplicationGatewayFirewallDisabledRuleGroup from the provided source ApplicationGatewayFirewallDisabledRuleGroup
-func (group *ApplicationGatewayFirewallDisabledRuleGroup) AssignProperties_From_ApplicationGatewayFirewallDisabledRuleGroup(source *v20220701s.ApplicationGatewayFirewallDisabledRuleGroup) error {
+func (group *ApplicationGatewayFirewallDisabledRuleGroup) AssignProperties_From_ApplicationGatewayFirewallDisabledRuleGroup(source *storage.ApplicationGatewayFirewallDisabledRuleGroup) error {
// RuleGroupName
group.RuleGroupName = genruntime.ClonePointerToString(source.RuleGroupName)
@@ -14849,7 +14913,7 @@ func (group *ApplicationGatewayFirewallDisabledRuleGroup) AssignProperties_From_
}
// AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup populates the provided destination ApplicationGatewayFirewallDisabledRuleGroup from our ApplicationGatewayFirewallDisabledRuleGroup
-func (group *ApplicationGatewayFirewallDisabledRuleGroup) AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup(destination *v20220701s.ApplicationGatewayFirewallDisabledRuleGroup) error {
+func (group *ApplicationGatewayFirewallDisabledRuleGroup) AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup(destination *storage.ApplicationGatewayFirewallDisabledRuleGroup) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -14942,7 +15006,7 @@ func (group *ApplicationGatewayFirewallDisabledRuleGroup_STATUS) PopulateFromARM
}
// AssignProperties_From_ApplicationGatewayFirewallDisabledRuleGroup_STATUS populates our ApplicationGatewayFirewallDisabledRuleGroup_STATUS from the provided source ApplicationGatewayFirewallDisabledRuleGroup_STATUS
-func (group *ApplicationGatewayFirewallDisabledRuleGroup_STATUS) AssignProperties_From_ApplicationGatewayFirewallDisabledRuleGroup_STATUS(source *v20220701s.ApplicationGatewayFirewallDisabledRuleGroup_STATUS) error {
+func (group *ApplicationGatewayFirewallDisabledRuleGroup_STATUS) AssignProperties_From_ApplicationGatewayFirewallDisabledRuleGroup_STATUS(source *storage.ApplicationGatewayFirewallDisabledRuleGroup_STATUS) error {
// RuleGroupName
group.RuleGroupName = genruntime.ClonePointerToString(source.RuleGroupName)
@@ -14965,7 +15029,7 @@ func (group *ApplicationGatewayFirewallDisabledRuleGroup_STATUS) AssignPropertie
}
// AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup_STATUS populates the provided destination ApplicationGatewayFirewallDisabledRuleGroup_STATUS from our ApplicationGatewayFirewallDisabledRuleGroup_STATUS
-func (group *ApplicationGatewayFirewallDisabledRuleGroup_STATUS) AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup_STATUS(destination *v20220701s.ApplicationGatewayFirewallDisabledRuleGroup_STATUS) error {
+func (group *ApplicationGatewayFirewallDisabledRuleGroup_STATUS) AssignProperties_To_ApplicationGatewayFirewallDisabledRuleGroup_STATUS(destination *storage.ApplicationGatewayFirewallDisabledRuleGroup_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15077,7 +15141,7 @@ func (exclusion *ApplicationGatewayFirewallExclusion) PopulateFromARM(owner genr
}
// AssignProperties_From_ApplicationGatewayFirewallExclusion populates our ApplicationGatewayFirewallExclusion from the provided source ApplicationGatewayFirewallExclusion
-func (exclusion *ApplicationGatewayFirewallExclusion) AssignProperties_From_ApplicationGatewayFirewallExclusion(source *v20220701s.ApplicationGatewayFirewallExclusion) error {
+func (exclusion *ApplicationGatewayFirewallExclusion) AssignProperties_From_ApplicationGatewayFirewallExclusion(source *storage.ApplicationGatewayFirewallExclusion) error {
// MatchVariable
exclusion.MatchVariable = genruntime.ClonePointerToString(source.MatchVariable)
@@ -15093,7 +15157,7 @@ func (exclusion *ApplicationGatewayFirewallExclusion) AssignProperties_From_Appl
}
// AssignProperties_To_ApplicationGatewayFirewallExclusion populates the provided destination ApplicationGatewayFirewallExclusion from our ApplicationGatewayFirewallExclusion
-func (exclusion *ApplicationGatewayFirewallExclusion) AssignProperties_To_ApplicationGatewayFirewallExclusion(destination *v20220701s.ApplicationGatewayFirewallExclusion) error {
+func (exclusion *ApplicationGatewayFirewallExclusion) AssignProperties_To_ApplicationGatewayFirewallExclusion(destination *storage.ApplicationGatewayFirewallExclusion) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15184,7 +15248,7 @@ func (exclusion *ApplicationGatewayFirewallExclusion_STATUS) PopulateFromARM(own
}
// AssignProperties_From_ApplicationGatewayFirewallExclusion_STATUS populates our ApplicationGatewayFirewallExclusion_STATUS from the provided source ApplicationGatewayFirewallExclusion_STATUS
-func (exclusion *ApplicationGatewayFirewallExclusion_STATUS) AssignProperties_From_ApplicationGatewayFirewallExclusion_STATUS(source *v20220701s.ApplicationGatewayFirewallExclusion_STATUS) error {
+func (exclusion *ApplicationGatewayFirewallExclusion_STATUS) AssignProperties_From_ApplicationGatewayFirewallExclusion_STATUS(source *storage.ApplicationGatewayFirewallExclusion_STATUS) error {
// MatchVariable
exclusion.MatchVariable = genruntime.ClonePointerToString(source.MatchVariable)
@@ -15200,7 +15264,7 @@ func (exclusion *ApplicationGatewayFirewallExclusion_STATUS) AssignProperties_Fr
}
// AssignProperties_To_ApplicationGatewayFirewallExclusion_STATUS populates the provided destination ApplicationGatewayFirewallExclusion_STATUS from our ApplicationGatewayFirewallExclusion_STATUS
-func (exclusion *ApplicationGatewayFirewallExclusion_STATUS) AssignProperties_To_ApplicationGatewayFirewallExclusion_STATUS(destination *v20220701s.ApplicationGatewayFirewallExclusion_STATUS) error {
+func (exclusion *ApplicationGatewayFirewallExclusion_STATUS) AssignProperties_To_ApplicationGatewayFirewallExclusion_STATUS(destination *storage.ApplicationGatewayFirewallExclusion_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15234,6 +15298,13 @@ const (
ApplicationGatewayLoadDistributionAlgorithmEnum_RoundRobin = ApplicationGatewayLoadDistributionAlgorithmEnum("RoundRobin")
)
+// Mapping from string to ApplicationGatewayLoadDistributionAlgorithmEnum
+var applicationGatewayLoadDistributionAlgorithmEnum_Values = map[string]ApplicationGatewayLoadDistributionAlgorithmEnum{
+ "iphash": ApplicationGatewayLoadDistributionAlgorithmEnum_IpHash,
+ "leastconnections": ApplicationGatewayLoadDistributionAlgorithmEnum_LeastConnections,
+ "roundrobin": ApplicationGatewayLoadDistributionAlgorithmEnum_RoundRobin,
+}
+
// Load Distribution Target of an application gateway.
type ApplicationGatewayLoadDistributionTarget struct {
// Reference: Resource ID.
@@ -15280,7 +15351,7 @@ func (target *ApplicationGatewayLoadDistributionTarget) PopulateFromARM(owner ge
}
// AssignProperties_From_ApplicationGatewayLoadDistributionTarget populates our ApplicationGatewayLoadDistributionTarget from the provided source ApplicationGatewayLoadDistributionTarget
-func (target *ApplicationGatewayLoadDistributionTarget) AssignProperties_From_ApplicationGatewayLoadDistributionTarget(source *v20220701s.ApplicationGatewayLoadDistributionTarget) error {
+func (target *ApplicationGatewayLoadDistributionTarget) AssignProperties_From_ApplicationGatewayLoadDistributionTarget(source *storage.ApplicationGatewayLoadDistributionTarget) error {
// Reference
if source.Reference != nil {
@@ -15295,7 +15366,7 @@ func (target *ApplicationGatewayLoadDistributionTarget) AssignProperties_From_Ap
}
// AssignProperties_To_ApplicationGatewayLoadDistributionTarget populates the provided destination ApplicationGatewayLoadDistributionTarget from our ApplicationGatewayLoadDistributionTarget
-func (target *ApplicationGatewayLoadDistributionTarget) AssignProperties_To_ApplicationGatewayLoadDistributionTarget(destination *v20220701s.ApplicationGatewayLoadDistributionTarget) error {
+func (target *ApplicationGatewayLoadDistributionTarget) AssignProperties_To_ApplicationGatewayLoadDistributionTarget(destination *storage.ApplicationGatewayLoadDistributionTarget) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15364,7 +15435,7 @@ func (rule *ApplicationGatewayPathRule) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_ApplicationGatewayPathRule populates our ApplicationGatewayPathRule from the provided source ApplicationGatewayPathRule
-func (rule *ApplicationGatewayPathRule) AssignProperties_From_ApplicationGatewayPathRule(source *v20220701s.ApplicationGatewayPathRule) error {
+func (rule *ApplicationGatewayPathRule) AssignProperties_From_ApplicationGatewayPathRule(source *storage.ApplicationGatewayPathRule) error {
// Reference
if source.Reference != nil {
@@ -15379,7 +15450,7 @@ func (rule *ApplicationGatewayPathRule) AssignProperties_From_ApplicationGateway
}
// AssignProperties_To_ApplicationGatewayPathRule populates the provided destination ApplicationGatewayPathRule from our ApplicationGatewayPathRule
-func (rule *ApplicationGatewayPathRule) AssignProperties_To_ApplicationGatewayPathRule(destination *v20220701s.ApplicationGatewayPathRule) error {
+func (rule *ApplicationGatewayPathRule) AssignProperties_To_ApplicationGatewayPathRule(destination *storage.ApplicationGatewayPathRule) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15448,7 +15519,7 @@ func (configuration *ApplicationGatewayPrivateLinkIpConfiguration) PopulateFromA
}
// AssignProperties_From_ApplicationGatewayPrivateLinkIpConfiguration populates our ApplicationGatewayPrivateLinkIpConfiguration from the provided source ApplicationGatewayPrivateLinkIpConfiguration
-func (configuration *ApplicationGatewayPrivateLinkIpConfiguration) AssignProperties_From_ApplicationGatewayPrivateLinkIpConfiguration(source *v20220701s.ApplicationGatewayPrivateLinkIpConfiguration) error {
+func (configuration *ApplicationGatewayPrivateLinkIpConfiguration) AssignProperties_From_ApplicationGatewayPrivateLinkIpConfiguration(source *storage.ApplicationGatewayPrivateLinkIpConfiguration) error {
// Reference
if source.Reference != nil {
@@ -15463,7 +15534,7 @@ func (configuration *ApplicationGatewayPrivateLinkIpConfiguration) AssignPropert
}
// AssignProperties_To_ApplicationGatewayPrivateLinkIpConfiguration populates the provided destination ApplicationGatewayPrivateLinkIpConfiguration from our ApplicationGatewayPrivateLinkIpConfiguration
-func (configuration *ApplicationGatewayPrivateLinkIpConfiguration) AssignProperties_To_ApplicationGatewayPrivateLinkIpConfiguration(destination *v20220701s.ApplicationGatewayPrivateLinkIpConfiguration) error {
+func (configuration *ApplicationGatewayPrivateLinkIpConfiguration) AssignProperties_To_ApplicationGatewayPrivateLinkIpConfiguration(destination *storage.ApplicationGatewayPrivateLinkIpConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15545,7 +15616,7 @@ func (match *ApplicationGatewayProbeHealthResponseMatch) PopulateFromARM(owner g
}
// AssignProperties_From_ApplicationGatewayProbeHealthResponseMatch populates our ApplicationGatewayProbeHealthResponseMatch from the provided source ApplicationGatewayProbeHealthResponseMatch
-func (match *ApplicationGatewayProbeHealthResponseMatch) AssignProperties_From_ApplicationGatewayProbeHealthResponseMatch(source *v20220701s.ApplicationGatewayProbeHealthResponseMatch) error {
+func (match *ApplicationGatewayProbeHealthResponseMatch) AssignProperties_From_ApplicationGatewayProbeHealthResponseMatch(source *storage.ApplicationGatewayProbeHealthResponseMatch) error {
// Body
match.Body = genruntime.ClonePointerToString(source.Body)
@@ -15558,7 +15629,7 @@ func (match *ApplicationGatewayProbeHealthResponseMatch) AssignProperties_From_A
}
// AssignProperties_To_ApplicationGatewayProbeHealthResponseMatch populates the provided destination ApplicationGatewayProbeHealthResponseMatch from our ApplicationGatewayProbeHealthResponseMatch
-func (match *ApplicationGatewayProbeHealthResponseMatch) AssignProperties_To_ApplicationGatewayProbeHealthResponseMatch(destination *v20220701s.ApplicationGatewayProbeHealthResponseMatch) error {
+func (match *ApplicationGatewayProbeHealthResponseMatch) AssignProperties_To_ApplicationGatewayProbeHealthResponseMatch(destination *storage.ApplicationGatewayProbeHealthResponseMatch) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -15590,6 +15661,14 @@ const (
ApplicationGatewayProtocol_Tls = ApplicationGatewayProtocol("Tls")
)
+// Mapping from string to ApplicationGatewayProtocol
+var applicationGatewayProtocol_Values = map[string]ApplicationGatewayProtocol{
+ "http": ApplicationGatewayProtocol_Http,
+ "https": ApplicationGatewayProtocol_Https,
+ "tcp": ApplicationGatewayProtocol_Tcp,
+ "tls": ApplicationGatewayProtocol_Tls,
+}
+
// +kubebuilder:validation:Enum={"Basic","PathBasedRouting"}
type ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType string
@@ -15598,6 +15677,12 @@ const (
ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType_PathBasedRouting = ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType("PathBasedRouting")
)
+// Mapping from string to ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType
+var applicationGatewayRequestRoutingRulePropertiesFormat_RuleType_Values = map[string]ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType{
+ "basic": ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType_Basic,
+ "pathbasedrouting": ApplicationGatewayRequestRoutingRulePropertiesFormat_RuleType_PathBasedRouting,
+}
+
// Rewrite rule of an application gateway.
type ApplicationGatewayRewriteRule struct {
// ActionSet: Set of actions to be done as part of the rewrite Rule.
@@ -15706,7 +15791,7 @@ func (rule *ApplicationGatewayRewriteRule) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_ApplicationGatewayRewriteRule populates our ApplicationGatewayRewriteRule from the provided source ApplicationGatewayRewriteRule
-func (rule *ApplicationGatewayRewriteRule) AssignProperties_From_ApplicationGatewayRewriteRule(source *v20220701s.ApplicationGatewayRewriteRule) error {
+func (rule *ApplicationGatewayRewriteRule) AssignProperties_From_ApplicationGatewayRewriteRule(source *storage.ApplicationGatewayRewriteRule) error {
// ActionSet
if source.ActionSet != nil {
@@ -15749,13 +15834,13 @@ func (rule *ApplicationGatewayRewriteRule) AssignProperties_From_ApplicationGate
}
// AssignProperties_To_ApplicationGatewayRewriteRule populates the provided destination ApplicationGatewayRewriteRule from our ApplicationGatewayRewriteRule
-func (rule *ApplicationGatewayRewriteRule) AssignProperties_To_ApplicationGatewayRewriteRule(destination *v20220701s.ApplicationGatewayRewriteRule) error {
+func (rule *ApplicationGatewayRewriteRule) AssignProperties_To_ApplicationGatewayRewriteRule(destination *storage.ApplicationGatewayRewriteRule) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ActionSet
if rule.ActionSet != nil {
- var actionSet v20220701s.ApplicationGatewayRewriteRuleActionSet
+ var actionSet storage.ApplicationGatewayRewriteRuleActionSet
err := rule.ActionSet.AssignProperties_To_ApplicationGatewayRewriteRuleActionSet(&actionSet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRewriteRuleActionSet() to populate field ActionSet")
@@ -15767,11 +15852,11 @@ func (rule *ApplicationGatewayRewriteRule) AssignProperties_To_ApplicationGatewa
// Conditions
if rule.Conditions != nil {
- conditionList := make([]v20220701s.ApplicationGatewayRewriteRuleCondition, len(rule.Conditions))
+ conditionList := make([]storage.ApplicationGatewayRewriteRuleCondition, len(rule.Conditions))
for conditionIndex, conditionItem := range rule.Conditions {
// Shadow the loop variable to avoid aliasing
conditionItem := conditionItem
- var condition v20220701s.ApplicationGatewayRewriteRuleCondition
+ var condition storage.ApplicationGatewayRewriteRuleCondition
err := conditionItem.AssignProperties_To_ApplicationGatewayRewriteRuleCondition(&condition)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayRewriteRuleCondition() to populate field Conditions")
@@ -15808,6 +15893,12 @@ const (
ApplicationGatewayRoutingRulePropertiesFormat_RuleType_PathBasedRouting = ApplicationGatewayRoutingRulePropertiesFormat_RuleType("PathBasedRouting")
)
+// Mapping from string to ApplicationGatewayRoutingRulePropertiesFormat_RuleType
+var applicationGatewayRoutingRulePropertiesFormat_RuleType_Values = map[string]ApplicationGatewayRoutingRulePropertiesFormat_RuleType{
+ "basic": ApplicationGatewayRoutingRulePropertiesFormat_RuleType_Basic,
+ "pathbasedrouting": ApplicationGatewayRoutingRulePropertiesFormat_RuleType_PathBasedRouting,
+}
+
// +kubebuilder:validation:Enum={"Standard_Large","Standard_Medium","Standard_Small","Standard_v2","WAF_Large","WAF_Medium","WAF_v2"}
type ApplicationGatewaySku_Name string
@@ -15821,6 +15912,17 @@ const (
ApplicationGatewaySku_Name_WAF_V2 = ApplicationGatewaySku_Name("WAF_v2")
)
+// Mapping from string to ApplicationGatewaySku_Name
+var applicationGatewaySku_Name_Values = map[string]ApplicationGatewaySku_Name{
+ "standard_large": ApplicationGatewaySku_Name_Standard_Large,
+ "standard_medium": ApplicationGatewaySku_Name_Standard_Medium,
+ "standard_small": ApplicationGatewaySku_Name_Standard_Small,
+ "standard_v2": ApplicationGatewaySku_Name_Standard_V2,
+ "waf_large": ApplicationGatewaySku_Name_WAF_Large,
+ "waf_medium": ApplicationGatewaySku_Name_WAF_Medium,
+ "waf_v2": ApplicationGatewaySku_Name_WAF_V2,
+}
+
type ApplicationGatewaySku_Name_STATUS string
const (
@@ -15833,6 +15935,17 @@ const (
ApplicationGatewaySku_Name_STATUS_WAF_V2 = ApplicationGatewaySku_Name_STATUS("WAF_v2")
)
+// Mapping from string to ApplicationGatewaySku_Name_STATUS
+var applicationGatewaySku_Name_STATUS_Values = map[string]ApplicationGatewaySku_Name_STATUS{
+ "standard_large": ApplicationGatewaySku_Name_STATUS_Standard_Large,
+ "standard_medium": ApplicationGatewaySku_Name_STATUS_Standard_Medium,
+ "standard_small": ApplicationGatewaySku_Name_STATUS_Standard_Small,
+ "standard_v2": ApplicationGatewaySku_Name_STATUS_Standard_V2,
+ "waf_large": ApplicationGatewaySku_Name_STATUS_WAF_Large,
+ "waf_medium": ApplicationGatewaySku_Name_STATUS_WAF_Medium,
+ "waf_v2": ApplicationGatewaySku_Name_STATUS_WAF_V2,
+}
+
// +kubebuilder:validation:Enum={"Standard","Standard_v2","WAF","WAF_v2"}
type ApplicationGatewaySku_Tier string
@@ -15843,6 +15956,14 @@ const (
ApplicationGatewaySku_Tier_WAF_V2 = ApplicationGatewaySku_Tier("WAF_v2")
)
+// Mapping from string to ApplicationGatewaySku_Tier
+var applicationGatewaySku_Tier_Values = map[string]ApplicationGatewaySku_Tier{
+ "standard": ApplicationGatewaySku_Tier_Standard,
+ "standard_v2": ApplicationGatewaySku_Tier_Standard_V2,
+ "waf": ApplicationGatewaySku_Tier_WAF,
+ "waf_v2": ApplicationGatewaySku_Tier_WAF_V2,
+}
+
type ApplicationGatewaySku_Tier_STATUS string
const (
@@ -15852,6 +15973,14 @@ const (
ApplicationGatewaySku_Tier_STATUS_WAF_V2 = ApplicationGatewaySku_Tier_STATUS("WAF_v2")
)
+// Mapping from string to ApplicationGatewaySku_Tier_STATUS
+var applicationGatewaySku_Tier_STATUS_Values = map[string]ApplicationGatewaySku_Tier_STATUS{
+ "standard": ApplicationGatewaySku_Tier_STATUS_Standard,
+ "standard_v2": ApplicationGatewaySku_Tier_STATUS_Standard_V2,
+ "waf": ApplicationGatewaySku_Tier_STATUS_WAF,
+ "waf_v2": ApplicationGatewaySku_Tier_STATUS_WAF_V2,
+}
+
// +kubebuilder:validation:Enum={"Custom","CustomV2","Predefined"}
type ApplicationGatewaySslPolicy_PolicyType string
@@ -15861,6 +15990,13 @@ const (
ApplicationGatewaySslPolicy_PolicyType_Predefined = ApplicationGatewaySslPolicy_PolicyType("Predefined")
)
+// Mapping from string to ApplicationGatewaySslPolicy_PolicyType
+var applicationGatewaySslPolicy_PolicyType_Values = map[string]ApplicationGatewaySslPolicy_PolicyType{
+ "custom": ApplicationGatewaySslPolicy_PolicyType_Custom,
+ "customv2": ApplicationGatewaySslPolicy_PolicyType_CustomV2,
+ "predefined": ApplicationGatewaySslPolicy_PolicyType_Predefined,
+}
+
type ApplicationGatewaySslPolicy_PolicyType_STATUS string
const (
@@ -15869,6 +16005,13 @@ const (
ApplicationGatewaySslPolicy_PolicyType_STATUS_Predefined = ApplicationGatewaySslPolicy_PolicyType_STATUS("Predefined")
)
+// Mapping from string to ApplicationGatewaySslPolicy_PolicyType_STATUS
+var applicationGatewaySslPolicy_PolicyType_STATUS_Values = map[string]ApplicationGatewaySslPolicy_PolicyType_STATUS{
+ "custom": ApplicationGatewaySslPolicy_PolicyType_STATUS_Custom,
+ "customv2": ApplicationGatewaySslPolicy_PolicyType_STATUS_CustomV2,
+ "predefined": ApplicationGatewaySslPolicy_PolicyType_STATUS_Predefined,
+}
+
// +kubebuilder:validation:Enum={"Detection","Prevention"}
type ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode string
@@ -15877,6 +16020,12 @@ const (
ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_Prevention = ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode("Prevention")
)
+// Mapping from string to ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode
+var applicationGatewayWebApplicationFirewallConfiguration_FirewallMode_Values = map[string]ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode{
+ "detection": ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_Detection,
+ "prevention": ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_Prevention,
+}
+
type ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS string
const (
@@ -15884,6 +16033,12 @@ const (
ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS_Prevention = ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS("Prevention")
)
+// Mapping from string to ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS
+var applicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS_Values = map[string]ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS{
+ "detection": ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS_Detection,
+ "prevention": ApplicationGatewayWebApplicationFirewallConfiguration_FirewallMode_STATUS_Prevention,
+}
+
// Ssl cipher suites enums.
// +kubebuilder:validation:Enum={"TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA","TLS_DHE_DSS_WITH_AES_128_CBC_SHA","TLS_DHE_DSS_WITH_AES_128_CBC_SHA256","TLS_DHE_DSS_WITH_AES_256_CBC_SHA","TLS_DHE_DSS_WITH_AES_256_CBC_SHA256","TLS_DHE_RSA_WITH_AES_128_CBC_SHA","TLS_DHE_RSA_WITH_AES_128_GCM_SHA256","TLS_DHE_RSA_WITH_AES_256_CBC_SHA","TLS_DHE_RSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA","TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256","TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA","TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384","TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384","TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA","TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256","TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256","TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA","TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384","TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384","TLS_RSA_WITH_3DES_EDE_CBC_SHA","TLS_RSA_WITH_AES_128_CBC_SHA","TLS_RSA_WITH_AES_128_CBC_SHA256","TLS_RSA_WITH_AES_128_GCM_SHA256","TLS_RSA_WITH_AES_256_CBC_SHA","TLS_RSA_WITH_AES_256_CBC_SHA256","TLS_RSA_WITH_AES_256_GCM_SHA384"}
type CipherSuitesEnum string
@@ -15919,6 +16074,38 @@ const (
CipherSuitesEnum_TLS_RSA_WITH_AES_256_GCM_SHA384 = CipherSuitesEnum("TLS_RSA_WITH_AES_256_GCM_SHA384")
)
+// Mapping from string to CipherSuitesEnum
+var cipherSuitesEnum_Values = map[string]CipherSuitesEnum{
+ "tls_dhe_dss_with_3des_ede_cbc_sha": CipherSuitesEnum_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
+ "tls_dhe_dss_with_aes_128_cbc_sha": CipherSuitesEnum_TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
+ "tls_dhe_dss_with_aes_128_cbc_sha256": CipherSuitesEnum_TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,
+ "tls_dhe_dss_with_aes_256_cbc_sha": CipherSuitesEnum_TLS_DHE_DSS_WITH_AES_256_CBC_SHA,
+ "tls_dhe_dss_with_aes_256_cbc_sha256": CipherSuitesEnum_TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,
+ "tls_dhe_rsa_with_aes_128_cbc_sha": CipherSuitesEnum_TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
+ "tls_dhe_rsa_with_aes_128_gcm_sha256": CipherSuitesEnum_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
+ "tls_dhe_rsa_with_aes_256_cbc_sha": CipherSuitesEnum_TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
+ "tls_dhe_rsa_with_aes_256_gcm_sha384": CipherSuitesEnum_TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,
+ "tls_ecdhe_ecdsa_with_aes_128_cbc_sha": CipherSuitesEnum_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
+ "tls_ecdhe_ecdsa_with_aes_128_cbc_sha256": CipherSuitesEnum_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
+ "tls_ecdhe_ecdsa_with_aes_128_gcm_sha256": CipherSuitesEnum_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
+ "tls_ecdhe_ecdsa_with_aes_256_cbc_sha": CipherSuitesEnum_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
+ "tls_ecdhe_ecdsa_with_aes_256_cbc_sha384": CipherSuitesEnum_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
+ "tls_ecdhe_ecdsa_with_aes_256_gcm_sha384": CipherSuitesEnum_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
+ "tls_ecdhe_rsa_with_aes_128_cbc_sha": CipherSuitesEnum_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
+ "tls_ecdhe_rsa_with_aes_128_cbc_sha256": CipherSuitesEnum_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
+ "tls_ecdhe_rsa_with_aes_128_gcm_sha256": CipherSuitesEnum_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
+ "tls_ecdhe_rsa_with_aes_256_cbc_sha": CipherSuitesEnum_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
+ "tls_ecdhe_rsa_with_aes_256_cbc_sha384": CipherSuitesEnum_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
+ "tls_ecdhe_rsa_with_aes_256_gcm_sha384": CipherSuitesEnum_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
+ "tls_rsa_with_3des_ede_cbc_sha": CipherSuitesEnum_TLS_RSA_WITH_3DES_EDE_CBC_SHA,
+ "tls_rsa_with_aes_128_cbc_sha": CipherSuitesEnum_TLS_RSA_WITH_AES_128_CBC_SHA,
+ "tls_rsa_with_aes_128_cbc_sha256": CipherSuitesEnum_TLS_RSA_WITH_AES_128_CBC_SHA256,
+ "tls_rsa_with_aes_128_gcm_sha256": CipherSuitesEnum_TLS_RSA_WITH_AES_128_GCM_SHA256,
+ "tls_rsa_with_aes_256_cbc_sha": CipherSuitesEnum_TLS_RSA_WITH_AES_256_CBC_SHA,
+ "tls_rsa_with_aes_256_cbc_sha256": CipherSuitesEnum_TLS_RSA_WITH_AES_256_CBC_SHA256,
+ "tls_rsa_with_aes_256_gcm_sha384": CipherSuitesEnum_TLS_RSA_WITH_AES_256_GCM_SHA384,
+}
+
// Ssl cipher suites enums.
type CipherSuitesEnum_STATUS string
@@ -15953,6 +16140,38 @@ const (
CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_256_GCM_SHA384 = CipherSuitesEnum_STATUS("TLS_RSA_WITH_AES_256_GCM_SHA384")
)
+// Mapping from string to CipherSuitesEnum_STATUS
+var cipherSuitesEnum_STATUS_Values = map[string]CipherSuitesEnum_STATUS{
+ "tls_dhe_dss_with_3des_ede_cbc_sha": CipherSuitesEnum_STATUS_TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,
+ "tls_dhe_dss_with_aes_128_cbc_sha": CipherSuitesEnum_STATUS_TLS_DHE_DSS_WITH_AES_128_CBC_SHA,
+ "tls_dhe_dss_with_aes_128_cbc_sha256": CipherSuitesEnum_STATUS_TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,
+ "tls_dhe_dss_with_aes_256_cbc_sha": CipherSuitesEnum_STATUS_TLS_DHE_DSS_WITH_AES_256_CBC_SHA,
+ "tls_dhe_dss_with_aes_256_cbc_sha256": CipherSuitesEnum_STATUS_TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,
+ "tls_dhe_rsa_with_aes_128_cbc_sha": CipherSuitesEnum_STATUS_TLS_DHE_RSA_WITH_AES_128_CBC_SHA,
+ "tls_dhe_rsa_with_aes_128_gcm_sha256": CipherSuitesEnum_STATUS_TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,
+ "tls_dhe_rsa_with_aes_256_cbc_sha": CipherSuitesEnum_STATUS_TLS_DHE_RSA_WITH_AES_256_CBC_SHA,
+ "tls_dhe_rsa_with_aes_256_gcm_sha384": CipherSuitesEnum_STATUS_TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,
+ "tls_ecdhe_ecdsa_with_aes_128_cbc_sha": CipherSuitesEnum_STATUS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,
+ "tls_ecdhe_ecdsa_with_aes_128_cbc_sha256": CipherSuitesEnum_STATUS_TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256,
+ "tls_ecdhe_ecdsa_with_aes_128_gcm_sha256": CipherSuitesEnum_STATUS_TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
+ "tls_ecdhe_ecdsa_with_aes_256_cbc_sha": CipherSuitesEnum_STATUS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,
+ "tls_ecdhe_ecdsa_with_aes_256_cbc_sha384": CipherSuitesEnum_STATUS_TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384,
+ "tls_ecdhe_ecdsa_with_aes_256_gcm_sha384": CipherSuitesEnum_STATUS_TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,
+ "tls_ecdhe_rsa_with_aes_128_cbc_sha": CipherSuitesEnum_STATUS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,
+ "tls_ecdhe_rsa_with_aes_128_cbc_sha256": CipherSuitesEnum_STATUS_TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,
+ "tls_ecdhe_rsa_with_aes_128_gcm_sha256": CipherSuitesEnum_STATUS_TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,
+ "tls_ecdhe_rsa_with_aes_256_cbc_sha": CipherSuitesEnum_STATUS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,
+ "tls_ecdhe_rsa_with_aes_256_cbc_sha384": CipherSuitesEnum_STATUS_TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,
+ "tls_ecdhe_rsa_with_aes_256_gcm_sha384": CipherSuitesEnum_STATUS_TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,
+ "tls_rsa_with_3des_ede_cbc_sha": CipherSuitesEnum_STATUS_TLS_RSA_WITH_3DES_EDE_CBC_SHA,
+ "tls_rsa_with_aes_128_cbc_sha": CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_128_CBC_SHA,
+ "tls_rsa_with_aes_128_cbc_sha256": CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_128_CBC_SHA256,
+ "tls_rsa_with_aes_128_gcm_sha256": CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_128_GCM_SHA256,
+ "tls_rsa_with_aes_256_cbc_sha": CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_256_CBC_SHA,
+ "tls_rsa_with_aes_256_cbc_sha256": CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_256_CBC_SHA256,
+ "tls_rsa_with_aes_256_gcm_sha384": CipherSuitesEnum_STATUS_TLS_RSA_WITH_AES_256_GCM_SHA384,
+}
+
// IP address allocation method.
// +kubebuilder:validation:Enum={"Dynamic","Static"}
type IPAllocationMethod string
@@ -15962,6 +16181,12 @@ const (
IPAllocationMethod_Static = IPAllocationMethod("Static")
)
+// Mapping from string to IPAllocationMethod
+var iPAllocationMethod_Values = map[string]IPAllocationMethod{
+ "dynamic": IPAllocationMethod_Dynamic,
+ "static": IPAllocationMethod_Static,
+}
+
type ManagedServiceIdentity_UserAssignedIdentities_STATUS struct {
// ClientId: The client id of user assigned identity.
ClientId *string `json:"clientId,omitempty"`
@@ -16001,7 +16226,7 @@ func (identities *ManagedServiceIdentity_UserAssignedIdentities_STATUS) Populate
}
// AssignProperties_From_ManagedServiceIdentity_UserAssignedIdentities_STATUS populates our ManagedServiceIdentity_UserAssignedIdentities_STATUS from the provided source ManagedServiceIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedServiceIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedServiceIdentity_UserAssignedIdentities_STATUS(source *v20220701s.ManagedServiceIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedServiceIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_ManagedServiceIdentity_UserAssignedIdentities_STATUS(source *storage.ManagedServiceIdentity_UserAssignedIdentities_STATUS) error {
// ClientId
identities.ClientId = genruntime.ClonePointerToString(source.ClientId)
@@ -16014,7 +16239,7 @@ func (identities *ManagedServiceIdentity_UserAssignedIdentities_STATUS) AssignPr
}
// AssignProperties_To_ManagedServiceIdentity_UserAssignedIdentities_STATUS populates the provided destination ManagedServiceIdentity_UserAssignedIdentities_STATUS from our ManagedServiceIdentity_UserAssignedIdentities_STATUS
-func (identities *ManagedServiceIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedServiceIdentity_UserAssignedIdentities_STATUS(destination *v20220701s.ManagedServiceIdentity_UserAssignedIdentities_STATUS) error {
+func (identities *ManagedServiceIdentity_UserAssignedIdentities_STATUS) AssignProperties_To_ManagedServiceIdentity_UserAssignedIdentities_STATUS(destination *storage.ManagedServiceIdentity_UserAssignedIdentities_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16047,6 +16272,15 @@ const (
PolicyNameEnum_AppGwSslPolicy20220101S = PolicyNameEnum("AppGwSslPolicy20220101S")
)
+// Mapping from string to PolicyNameEnum
+var policyNameEnum_Values = map[string]PolicyNameEnum{
+ "appgwsslpolicy20150501": PolicyNameEnum_AppGwSslPolicy20150501,
+ "appgwsslpolicy20170401": PolicyNameEnum_AppGwSslPolicy20170401,
+ "appgwsslpolicy20170401s": PolicyNameEnum_AppGwSslPolicy20170401S,
+ "appgwsslpolicy20220101": PolicyNameEnum_AppGwSslPolicy20220101,
+ "appgwsslpolicy20220101s": PolicyNameEnum_AppGwSslPolicy20220101S,
+}
+
// Ssl predefined policy name enums.
type PolicyNameEnum_STATUS string
@@ -16058,6 +16292,15 @@ const (
PolicyNameEnum_STATUS_AppGwSslPolicy20220101S = PolicyNameEnum_STATUS("AppGwSslPolicy20220101S")
)
+// Mapping from string to PolicyNameEnum_STATUS
+var policyNameEnum_STATUS_Values = map[string]PolicyNameEnum_STATUS{
+ "appgwsslpolicy20150501": PolicyNameEnum_STATUS_AppGwSslPolicy20150501,
+ "appgwsslpolicy20170401": PolicyNameEnum_STATUS_AppGwSslPolicy20170401,
+ "appgwsslpolicy20170401s": PolicyNameEnum_STATUS_AppGwSslPolicy20170401S,
+ "appgwsslpolicy20220101": PolicyNameEnum_STATUS_AppGwSslPolicy20220101,
+ "appgwsslpolicy20220101s": PolicyNameEnum_STATUS_AppGwSslPolicy20220101S,
+}
+
// Ssl protocol enums.
// +kubebuilder:validation:Enum={"TLSv1_0","TLSv1_1","TLSv1_2","TLSv1_3"}
type ProtocolsEnum string
@@ -16069,6 +16312,14 @@ const (
ProtocolsEnum_TLSv1_3 = ProtocolsEnum("TLSv1_3")
)
+// Mapping from string to ProtocolsEnum
+var protocolsEnum_Values = map[string]ProtocolsEnum{
+ "tlsv1_0": ProtocolsEnum_TLSv1_0,
+ "tlsv1_1": ProtocolsEnum_TLSv1_1,
+ "tlsv1_2": ProtocolsEnum_TLSv1_2,
+ "tlsv1_3": ProtocolsEnum_TLSv1_3,
+}
+
// Ssl protocol enums.
type ProtocolsEnum_STATUS string
@@ -16079,6 +16330,14 @@ const (
ProtocolsEnum_STATUS_TLSv1_3 = ProtocolsEnum_STATUS("TLSv1_3")
)
+// Mapping from string to ProtocolsEnum_STATUS
+var protocolsEnum_STATUS_Values = map[string]ProtocolsEnum_STATUS{
+ "tlsv1_0": ProtocolsEnum_STATUS_TLSv1_0,
+ "tlsv1_1": ProtocolsEnum_STATUS_TLSv1_1,
+ "tlsv1_2": ProtocolsEnum_STATUS_TLSv1_2,
+ "tlsv1_3": ProtocolsEnum_STATUS_TLSv1_3,
+}
+
// Redirect type enum.
// +kubebuilder:validation:Enum={"Found","Permanent","SeeOther","Temporary"}
type RedirectTypeEnum string
@@ -16090,13 +16349,21 @@ const (
RedirectTypeEnum_Temporary = RedirectTypeEnum("Temporary")
)
+// Mapping from string to RedirectTypeEnum
+var redirectTypeEnum_Values = map[string]RedirectTypeEnum{
+ "found": RedirectTypeEnum_Found,
+ "permanent": RedirectTypeEnum_Permanent,
+ "seeother": RedirectTypeEnum_SeeOther,
+ "temporary": RedirectTypeEnum_Temporary,
+}
+
// Information about the user assigned identity for the resource
type UserAssignedIdentityDetails struct {
Reference genruntime.ResourceReference `armReference:"Reference" json:"reference,omitempty"`
}
// AssignProperties_From_UserAssignedIdentityDetails populates our UserAssignedIdentityDetails from the provided source UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *v20220701s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedIdentityDetails(source *storage.UserAssignedIdentityDetails) error {
// Reference
details.Reference = source.Reference.Copy()
@@ -16106,7 +16373,7 @@ func (details *UserAssignedIdentityDetails) AssignProperties_From_UserAssignedId
}
// AssignProperties_To_UserAssignedIdentityDetails populates the provided destination UserAssignedIdentityDetails from our UserAssignedIdentityDetails
-func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *v20220701s.UserAssignedIdentityDetails) error {
+func (details *UserAssignedIdentityDetails) AssignProperties_To_UserAssignedIdentityDetails(destination *storage.UserAssignedIdentityDetails) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16132,6 +16399,12 @@ const (
ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation_OCSP = ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation("OCSP")
)
+// Mapping from string to ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation
+var applicationGatewayClientAuthConfiguration_VerifyClientRevocation_Values = map[string]ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation{
+ "none": ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation_None,
+ "ocsp": ApplicationGatewayClientAuthConfiguration_VerifyClientRevocation_OCSP,
+}
+
// Set of actions in the Rewrite Rule in Application Gateway.
type ApplicationGatewayRewriteRuleActionSet struct {
// RequestHeaderConfigurations: Request Header Actions in the Action Set.
@@ -16231,7 +16504,7 @@ func (actionSet *ApplicationGatewayRewriteRuleActionSet) PopulateFromARM(owner g
}
// AssignProperties_From_ApplicationGatewayRewriteRuleActionSet populates our ApplicationGatewayRewriteRuleActionSet from the provided source ApplicationGatewayRewriteRuleActionSet
-func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_From_ApplicationGatewayRewriteRuleActionSet(source *v20220701s.ApplicationGatewayRewriteRuleActionSet) error {
+func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_From_ApplicationGatewayRewriteRuleActionSet(source *storage.ApplicationGatewayRewriteRuleActionSet) error {
// RequestHeaderConfigurations
if source.RequestHeaderConfigurations != nil {
@@ -16286,17 +16559,17 @@ func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_From_A
}
// AssignProperties_To_ApplicationGatewayRewriteRuleActionSet populates the provided destination ApplicationGatewayRewriteRuleActionSet from our ApplicationGatewayRewriteRuleActionSet
-func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_To_ApplicationGatewayRewriteRuleActionSet(destination *v20220701s.ApplicationGatewayRewriteRuleActionSet) error {
+func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_To_ApplicationGatewayRewriteRuleActionSet(destination *storage.ApplicationGatewayRewriteRuleActionSet) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// RequestHeaderConfigurations
if actionSet.RequestHeaderConfigurations != nil {
- requestHeaderConfigurationList := make([]v20220701s.ApplicationGatewayHeaderConfiguration, len(actionSet.RequestHeaderConfigurations))
+ requestHeaderConfigurationList := make([]storage.ApplicationGatewayHeaderConfiguration, len(actionSet.RequestHeaderConfigurations))
for requestHeaderConfigurationIndex, requestHeaderConfigurationItem := range actionSet.RequestHeaderConfigurations {
// Shadow the loop variable to avoid aliasing
requestHeaderConfigurationItem := requestHeaderConfigurationItem
- var requestHeaderConfiguration v20220701s.ApplicationGatewayHeaderConfiguration
+ var requestHeaderConfiguration storage.ApplicationGatewayHeaderConfiguration
err := requestHeaderConfigurationItem.AssignProperties_To_ApplicationGatewayHeaderConfiguration(&requestHeaderConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayHeaderConfiguration() to populate field RequestHeaderConfigurations")
@@ -16310,11 +16583,11 @@ func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_To_App
// ResponseHeaderConfigurations
if actionSet.ResponseHeaderConfigurations != nil {
- responseHeaderConfigurationList := make([]v20220701s.ApplicationGatewayHeaderConfiguration, len(actionSet.ResponseHeaderConfigurations))
+ responseHeaderConfigurationList := make([]storage.ApplicationGatewayHeaderConfiguration, len(actionSet.ResponseHeaderConfigurations))
for responseHeaderConfigurationIndex, responseHeaderConfigurationItem := range actionSet.ResponseHeaderConfigurations {
// Shadow the loop variable to avoid aliasing
responseHeaderConfigurationItem := responseHeaderConfigurationItem
- var responseHeaderConfiguration v20220701s.ApplicationGatewayHeaderConfiguration
+ var responseHeaderConfiguration storage.ApplicationGatewayHeaderConfiguration
err := responseHeaderConfigurationItem.AssignProperties_To_ApplicationGatewayHeaderConfiguration(&responseHeaderConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayHeaderConfiguration() to populate field ResponseHeaderConfigurations")
@@ -16328,7 +16601,7 @@ func (actionSet *ApplicationGatewayRewriteRuleActionSet) AssignProperties_To_App
// UrlConfiguration
if actionSet.UrlConfiguration != nil {
- var urlConfiguration v20220701s.ApplicationGatewayUrlConfiguration
+ var urlConfiguration storage.ApplicationGatewayUrlConfiguration
err := actionSet.UrlConfiguration.AssignProperties_To_ApplicationGatewayUrlConfiguration(&urlConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewayUrlConfiguration() to populate field UrlConfiguration")
@@ -16440,7 +16713,7 @@ func (condition *ApplicationGatewayRewriteRuleCondition) PopulateFromARM(owner g
}
// AssignProperties_From_ApplicationGatewayRewriteRuleCondition populates our ApplicationGatewayRewriteRuleCondition from the provided source ApplicationGatewayRewriteRuleCondition
-func (condition *ApplicationGatewayRewriteRuleCondition) AssignProperties_From_ApplicationGatewayRewriteRuleCondition(source *v20220701s.ApplicationGatewayRewriteRuleCondition) error {
+func (condition *ApplicationGatewayRewriteRuleCondition) AssignProperties_From_ApplicationGatewayRewriteRuleCondition(source *storage.ApplicationGatewayRewriteRuleCondition) error {
// IgnoreCase
if source.IgnoreCase != nil {
@@ -16469,7 +16742,7 @@ func (condition *ApplicationGatewayRewriteRuleCondition) AssignProperties_From_A
}
// AssignProperties_To_ApplicationGatewayRewriteRuleCondition populates the provided destination ApplicationGatewayRewriteRuleCondition from our ApplicationGatewayRewriteRuleCondition
-func (condition *ApplicationGatewayRewriteRuleCondition) AssignProperties_To_ApplicationGatewayRewriteRuleCondition(destination *v20220701s.ApplicationGatewayRewriteRuleCondition) error {
+func (condition *ApplicationGatewayRewriteRuleCondition) AssignProperties_To_ApplicationGatewayRewriteRuleCondition(destination *storage.ApplicationGatewayRewriteRuleCondition) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16567,7 +16840,7 @@ func (configuration *ApplicationGatewayHeaderConfiguration) PopulateFromARM(owne
}
// AssignProperties_From_ApplicationGatewayHeaderConfiguration populates our ApplicationGatewayHeaderConfiguration from the provided source ApplicationGatewayHeaderConfiguration
-func (configuration *ApplicationGatewayHeaderConfiguration) AssignProperties_From_ApplicationGatewayHeaderConfiguration(source *v20220701s.ApplicationGatewayHeaderConfiguration) error {
+func (configuration *ApplicationGatewayHeaderConfiguration) AssignProperties_From_ApplicationGatewayHeaderConfiguration(source *storage.ApplicationGatewayHeaderConfiguration) error {
// HeaderName
configuration.HeaderName = genruntime.ClonePointerToString(source.HeaderName)
@@ -16580,7 +16853,7 @@ func (configuration *ApplicationGatewayHeaderConfiguration) AssignProperties_Fro
}
// AssignProperties_To_ApplicationGatewayHeaderConfiguration populates the provided destination ApplicationGatewayHeaderConfiguration from our ApplicationGatewayHeaderConfiguration
-func (configuration *ApplicationGatewayHeaderConfiguration) AssignProperties_To_ApplicationGatewayHeaderConfiguration(destination *v20220701s.ApplicationGatewayHeaderConfiguration) error {
+func (configuration *ApplicationGatewayHeaderConfiguration) AssignProperties_To_ApplicationGatewayHeaderConfiguration(destination *storage.ApplicationGatewayHeaderConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -16680,7 +16953,7 @@ func (configuration *ApplicationGatewayUrlConfiguration) PopulateFromARM(owner g
}
// AssignProperties_From_ApplicationGatewayUrlConfiguration populates our ApplicationGatewayUrlConfiguration from the provided source ApplicationGatewayUrlConfiguration
-func (configuration *ApplicationGatewayUrlConfiguration) AssignProperties_From_ApplicationGatewayUrlConfiguration(source *v20220701s.ApplicationGatewayUrlConfiguration) error {
+func (configuration *ApplicationGatewayUrlConfiguration) AssignProperties_From_ApplicationGatewayUrlConfiguration(source *storage.ApplicationGatewayUrlConfiguration) error {
// ModifiedPath
configuration.ModifiedPath = genruntime.ClonePointerToString(source.ModifiedPath)
@@ -16701,7 +16974,7 @@ func (configuration *ApplicationGatewayUrlConfiguration) AssignProperties_From_A
}
// AssignProperties_To_ApplicationGatewayUrlConfiguration populates the provided destination ApplicationGatewayUrlConfiguration from our ApplicationGatewayUrlConfiguration
-func (configuration *ApplicationGatewayUrlConfiguration) AssignProperties_To_ApplicationGatewayUrlConfiguration(destination *v20220701s.ApplicationGatewayUrlConfiguration) error {
+func (configuration *ApplicationGatewayUrlConfiguration) AssignProperties_To_ApplicationGatewayUrlConfiguration(destination *storage.ApplicationGatewayUrlConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go
index 1e8a407285..2f5f1c7945 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_spec_arm_types_gen.go
@@ -87,6 +87,12 @@ const (
Sku_Name_Standard = Sku_Name("Standard")
)
+// Mapping from string to Sku_Name
+var sku_Name_Values = map[string]Sku_Name{
+ "basic": Sku_Name_Basic,
+ "standard": Sku_Name_Standard,
+}
+
// Properties of IP configuration of an Bastion Host.
type BastionHostIPConfigurationPropertiesFormat_ARM struct {
// PrivateIPAllocationMethod: Private IP allocation method.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go
index 5ed04e83f1..ca5eb4a6c1 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_status_arm_types_gen.go
@@ -78,3 +78,9 @@ const (
Sku_Name_STATUS_Basic = Sku_Name_STATUS("Basic")
Sku_Name_STATUS_Standard = Sku_Name_STATUS("Standard")
)
+
+// Mapping from string to Sku_Name_STATUS
+var sku_Name_STATUS_Values = map[string]Sku_Name_STATUS{
+ "basic": Sku_Name_STATUS_Basic,
+ "standard": Sku_Name_STATUS_Standard,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_types_gen.go
index d5ff06fc85..1b264bd1ed 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/bastion_host_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &BastionHost{}
// ConvertFrom populates our BastionHost from the provided hub BastionHost
func (host *BastionHost) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.BastionHost)
+ source, ok := hub.(*storage.BastionHost)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/BastionHost but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (host *BastionHost) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub BastionHost from our BastionHost
func (host *BastionHost) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.BastionHost)
+ destination, ok := hub.(*storage.BastionHost)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/BastionHost but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (host *BastionHost) validateWriteOnceProperties(old runtime.Object) (admiss
}
// AssignProperties_From_BastionHost populates our BastionHost from the provided source BastionHost
-func (host *BastionHost) AssignProperties_From_BastionHost(source *v20220701s.BastionHost) error {
+func (host *BastionHost) AssignProperties_From_BastionHost(source *storage.BastionHost) error {
// ObjectMeta
host.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (host *BastionHost) AssignProperties_From_BastionHost(source *v20220701s.Ba
}
// AssignProperties_To_BastionHost populates the provided destination BastionHost from our BastionHost
-func (host *BastionHost) AssignProperties_To_BastionHost(destination *v20220701s.BastionHost) error {
+func (host *BastionHost) AssignProperties_To_BastionHost(destination *storage.BastionHost) error {
// ObjectMeta
destination.ObjectMeta = *host.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.BastionHost_Spec
+ var spec storage.BastionHost_Spec
err := host.Spec.AssignProperties_To_BastionHost_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BastionHost_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (host *BastionHost) AssignProperties_To_BastionHost(destination *v20220701s
destination.Spec = spec
// Status
- var status v20220701s.BastionHost_STATUS
+ var status storage.BastionHost_STATUS
err = host.Status.AssignProperties_To_BastionHost_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BastionHost_STATUS() to populate field Status")
@@ -586,14 +586,14 @@ var _ genruntime.ConvertibleSpec = &BastionHost_Spec{}
// ConvertSpecFrom populates our BastionHost_Spec from the provided source
func (host *BastionHost_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.BastionHost_Spec)
+ src, ok := source.(*storage.BastionHost_Spec)
if ok {
// Populate our instance from source
return host.AssignProperties_From_BastionHost_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.BastionHost_Spec{}
+ src = &storage.BastionHost_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -610,14 +610,14 @@ func (host *BastionHost_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec)
// ConvertSpecTo populates the provided destination from our BastionHost_Spec
func (host *BastionHost_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.BastionHost_Spec)
+ dst, ok := destination.(*storage.BastionHost_Spec)
if ok {
// Populate destination from our instance
return host.AssignProperties_To_BastionHost_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.BastionHost_Spec{}
+ dst = &storage.BastionHost_Spec{}
err := host.AssignProperties_To_BastionHost_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -633,7 +633,7 @@ func (host *BastionHost_Spec) ConvertSpecTo(destination genruntime.ConvertibleSp
}
// AssignProperties_From_BastionHost_Spec populates our BastionHost_Spec from the provided source BastionHost_Spec
-func (host *BastionHost_Spec) AssignProperties_From_BastionHost_Spec(source *v20220701s.BastionHost_Spec) error {
+func (host *BastionHost_Spec) AssignProperties_From_BastionHost_Spec(source *storage.BastionHost_Spec) error {
// AzureName
host.AzureName = source.AzureName
@@ -738,7 +738,7 @@ func (host *BastionHost_Spec) AssignProperties_From_BastionHost_Spec(source *v20
}
// AssignProperties_To_BastionHost_Spec populates the provided destination BastionHost_Spec from our BastionHost_Spec
-func (host *BastionHost_Spec) AssignProperties_To_BastionHost_Spec(destination *v20220701s.BastionHost_Spec) error {
+func (host *BastionHost_Spec) AssignProperties_To_BastionHost_Spec(destination *storage.BastionHost_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -790,11 +790,11 @@ func (host *BastionHost_Spec) AssignProperties_To_BastionHost_Spec(destination *
// IpConfigurations
if host.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.BastionHostIPConfiguration, len(host.IpConfigurations))
+ ipConfigurationList := make([]storage.BastionHostIPConfiguration, len(host.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range host.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.BastionHostIPConfiguration
+ var ipConfiguration storage.BastionHostIPConfiguration
err := ipConfigurationItem.AssignProperties_To_BastionHostIPConfiguration(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BastionHostIPConfiguration() to populate field IpConfigurations")
@@ -830,7 +830,7 @@ func (host *BastionHost_Spec) AssignProperties_To_BastionHost_Spec(destination *
// Sku
if host.Sku != nil {
- var sku v20220701s.Sku
+ var sku storage.Sku
err := host.Sku.AssignProperties_To_Sku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Sku() to populate field Sku")
@@ -1014,14 +1014,14 @@ var _ genruntime.ConvertibleStatus = &BastionHost_STATUS{}
// ConvertStatusFrom populates our BastionHost_STATUS from the provided source
func (host *BastionHost_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.BastionHost_STATUS)
+ src, ok := source.(*storage.BastionHost_STATUS)
if ok {
// Populate our instance from source
return host.AssignProperties_From_BastionHost_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.BastionHost_STATUS{}
+ src = &storage.BastionHost_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1038,14 +1038,14 @@ func (host *BastionHost_STATUS) ConvertStatusFrom(source genruntime.ConvertibleS
// ConvertStatusTo populates the provided destination from our BastionHost_STATUS
func (host *BastionHost_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.BastionHost_STATUS)
+ dst, ok := destination.(*storage.BastionHost_STATUS)
if ok {
// Populate destination from our instance
return host.AssignProperties_To_BastionHost_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.BastionHost_STATUS{}
+ dst = &storage.BastionHost_STATUS{}
err := host.AssignProperties_To_BastionHost_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1215,7 +1215,7 @@ func (host *BastionHost_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_BastionHost_STATUS populates our BastionHost_STATUS from the provided source BastionHost_STATUS
-func (host *BastionHost_STATUS) AssignProperties_From_BastionHost_STATUS(source *v20220701s.BastionHost_STATUS) error {
+func (host *BastionHost_STATUS) AssignProperties_From_BastionHost_STATUS(source *storage.BastionHost_STATUS) error {
// Conditions
host.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -1295,8 +1295,9 @@ func (host *BastionHost_STATUS) AssignProperties_From_BastionHost_STATUS(source
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := BastionHostProvisioningState_STATUS(*source.ProvisioningState)
- host.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, bastionHostProvisioningState_STATUS_Values)
+ host.ProvisioningState = &provisioningStateTemp
} else {
host.ProvisioningState = nil
}
@@ -1327,7 +1328,7 @@ func (host *BastionHost_STATUS) AssignProperties_From_BastionHost_STATUS(source
}
// AssignProperties_To_BastionHost_STATUS populates the provided destination BastionHost_STATUS from our BastionHost_STATUS
-func (host *BastionHost_STATUS) AssignProperties_To_BastionHost_STATUS(destination *v20220701s.BastionHost_STATUS) error {
+func (host *BastionHost_STATUS) AssignProperties_To_BastionHost_STATUS(destination *storage.BastionHost_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1385,11 +1386,11 @@ func (host *BastionHost_STATUS) AssignProperties_To_BastionHost_STATUS(destinati
// IpConfigurations
if host.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.BastionHostIPConfiguration_STATUS, len(host.IpConfigurations))
+ ipConfigurationList := make([]storage.BastionHostIPConfiguration_STATUS, len(host.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range host.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.BastionHostIPConfiguration_STATUS
+ var ipConfiguration storage.BastionHostIPConfiguration_STATUS
err := ipConfigurationItem.AssignProperties_To_BastionHostIPConfiguration_STATUS(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BastionHostIPConfiguration_STATUS() to populate field IpConfigurations")
@@ -1420,7 +1421,7 @@ func (host *BastionHost_STATUS) AssignProperties_To_BastionHost_STATUS(destinati
// Sku
if host.Sku != nil {
- var sku v20220701s.Sku_STATUS
+ var sku storage.Sku_STATUS
err := host.Sku.AssignProperties_To_Sku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Sku_STATUS() to populate field Sku")
@@ -1568,15 +1569,16 @@ func (configuration *BastionHostIPConfiguration) PopulateFromARM(owner genruntim
}
// AssignProperties_From_BastionHostIPConfiguration populates our BastionHostIPConfiguration from the provided source BastionHostIPConfiguration
-func (configuration *BastionHostIPConfiguration) AssignProperties_From_BastionHostIPConfiguration(source *v20220701s.BastionHostIPConfiguration) error {
+func (configuration *BastionHostIPConfiguration) AssignProperties_From_BastionHostIPConfiguration(source *storage.BastionHostIPConfiguration) error {
// Name
configuration.Name = genruntime.ClonePointerToString(source.Name)
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
- configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_Values)
+ configuration.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
configuration.PrivateIPAllocationMethod = nil
}
@@ -1610,7 +1612,7 @@ func (configuration *BastionHostIPConfiguration) AssignProperties_From_BastionHo
}
// AssignProperties_To_BastionHostIPConfiguration populates the provided destination BastionHostIPConfiguration from our BastionHostIPConfiguration
-func (configuration *BastionHostIPConfiguration) AssignProperties_To_BastionHostIPConfiguration(destination *v20220701s.BastionHostIPConfiguration) error {
+func (configuration *BastionHostIPConfiguration) AssignProperties_To_BastionHostIPConfiguration(destination *storage.BastionHostIPConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1627,7 +1629,7 @@ func (configuration *BastionHostIPConfiguration) AssignProperties_To_BastionHost
// PublicIPAddress
if configuration.PublicIPAddress != nil {
- var publicIPAddress v20220701s.BastionHostSubResource
+ var publicIPAddress storage.BastionHostSubResource
err := configuration.PublicIPAddress.AssignProperties_To_BastionHostSubResource(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BastionHostSubResource() to populate field PublicIPAddress")
@@ -1639,7 +1641,7 @@ func (configuration *BastionHostIPConfiguration) AssignProperties_To_BastionHost
// Subnet
if configuration.Subnet != nil {
- var subnet v20220701s.BastionHostSubResource
+ var subnet storage.BastionHostSubResource
err := configuration.Subnet.AssignProperties_To_BastionHostSubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_BastionHostSubResource() to populate field Subnet")
@@ -1698,7 +1700,7 @@ func (configuration *BastionHostIPConfiguration_STATUS) PopulateFromARM(owner ge
}
// AssignProperties_From_BastionHostIPConfiguration_STATUS populates our BastionHostIPConfiguration_STATUS from the provided source BastionHostIPConfiguration_STATUS
-func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_From_BastionHostIPConfiguration_STATUS(source *v20220701s.BastionHostIPConfiguration_STATUS) error {
+func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_From_BastionHostIPConfiguration_STATUS(source *storage.BastionHostIPConfiguration_STATUS) error {
// Id
configuration.Id = genruntime.ClonePointerToString(source.Id)
@@ -1708,7 +1710,7 @@ func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_From_Ba
}
// AssignProperties_To_BastionHostIPConfiguration_STATUS populates the provided destination BastionHostIPConfiguration_STATUS from our BastionHostIPConfiguration_STATUS
-func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_To_BastionHostIPConfiguration_STATUS(destination *v20220701s.BastionHostIPConfiguration_STATUS) error {
+func (configuration *BastionHostIPConfiguration_STATUS) AssignProperties_To_BastionHostIPConfiguration_STATUS(destination *storage.BastionHostIPConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1736,6 +1738,14 @@ const (
BastionHostProvisioningState_STATUS_Updating = BastionHostProvisioningState_STATUS("Updating")
)
+// Mapping from string to BastionHostProvisioningState_STATUS
+var bastionHostProvisioningState_STATUS_Values = map[string]BastionHostProvisioningState_STATUS{
+ "deleting": BastionHostProvisioningState_STATUS_Deleting,
+ "failed": BastionHostProvisioningState_STATUS_Failed,
+ "succeeded": BastionHostProvisioningState_STATUS_Succeeded,
+ "updating": BastionHostProvisioningState_STATUS_Updating,
+}
+
// The sku of this Bastion Host.
type Sku struct {
// Name: The name of this Bastion Host.
@@ -1782,12 +1792,13 @@ func (sku *Sku) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, armInp
}
// AssignProperties_From_Sku populates our Sku from the provided source Sku
-func (sku *Sku) AssignProperties_From_Sku(source *v20220701s.Sku) error {
+func (sku *Sku) AssignProperties_From_Sku(source *storage.Sku) error {
// Name
if source.Name != nil {
- name := Sku_Name(*source.Name)
- sku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, sku_Name_Values)
+ sku.Name = &nameTemp
} else {
sku.Name = nil
}
@@ -1797,7 +1808,7 @@ func (sku *Sku) AssignProperties_From_Sku(source *v20220701s.Sku) error {
}
// AssignProperties_To_Sku populates the provided destination Sku from our Sku
-func (sku *Sku) AssignProperties_To_Sku(destination *v20220701s.Sku) error {
+func (sku *Sku) AssignProperties_To_Sku(destination *storage.Sku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1825,7 +1836,7 @@ func (sku *Sku) Initialize_From_Sku_STATUS(source *Sku_STATUS) error {
// Name
if source.Name != nil {
- name := Sku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), sku_Name_Values)
sku.Name = &name
} else {
sku.Name = nil
@@ -1866,12 +1877,13 @@ func (sku *Sku_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerReference,
}
// AssignProperties_From_Sku_STATUS populates our Sku_STATUS from the provided source Sku_STATUS
-func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *v20220701s.Sku_STATUS) error {
+func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *storage.Sku_STATUS) error {
// Name
if source.Name != nil {
- name := Sku_Name_STATUS(*source.Name)
- sku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, sku_Name_STATUS_Values)
+ sku.Name = &nameTemp
} else {
sku.Name = nil
}
@@ -1881,7 +1893,7 @@ func (sku *Sku_STATUS) AssignProperties_From_Sku_STATUS(source *v20220701s.Sku_S
}
// AssignProperties_To_Sku_STATUS populates the provided destination Sku_STATUS from our Sku_STATUS
-func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *v20220701s.Sku_STATUS) error {
+func (sku *Sku_STATUS) AssignProperties_To_Sku_STATUS(destination *storage.Sku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1950,7 +1962,7 @@ func (resource *BastionHostSubResource) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_BastionHostSubResource populates our BastionHostSubResource from the provided source BastionHostSubResource
-func (resource *BastionHostSubResource) AssignProperties_From_BastionHostSubResource(source *v20220701s.BastionHostSubResource) error {
+func (resource *BastionHostSubResource) AssignProperties_From_BastionHostSubResource(source *storage.BastionHostSubResource) error {
// Reference
if source.Reference != nil {
@@ -1965,7 +1977,7 @@ func (resource *BastionHostSubResource) AssignProperties_From_BastionHostSubReso
}
// AssignProperties_To_BastionHostSubResource populates the provided destination BastionHostSubResource from our BastionHostSubResource
-func (resource *BastionHostSubResource) AssignProperties_To_BastionHostSubResource(destination *v20220701s.BastionHostSubResource) error {
+func (resource *BastionHostSubResource) AssignProperties_To_BastionHostSubResource(destination *storage.BastionHostSubResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_rule_sets_forwarding_rule_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_rule_sets_forwarding_rule_types_gen.go
index 836428edd9..9acdfde269 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_rule_sets_forwarding_rule_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_rule_sets_forwarding_rule_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &DnsForwardingRuleSetsForwardingRule{}
// ConvertFrom populates our DnsForwardingRuleSetsForwardingRule from the provided hub DnsForwardingRuleSetsForwardingRule
func (rule *DnsForwardingRuleSetsForwardingRule) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.DnsForwardingRuleSetsForwardingRule)
+ source, ok := hub.(*storage.DnsForwardingRuleSetsForwardingRule)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsForwardingRuleSetsForwardingRule but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (rule *DnsForwardingRuleSetsForwardingRule) ConvertFrom(hub conversion.Hub)
// ConvertTo populates the provided hub DnsForwardingRuleSetsForwardingRule from our DnsForwardingRuleSetsForwardingRule
func (rule *DnsForwardingRuleSetsForwardingRule) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.DnsForwardingRuleSetsForwardingRule)
+ destination, ok := hub.(*storage.DnsForwardingRuleSetsForwardingRule)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsForwardingRuleSetsForwardingRule but received %T instead", hub)
}
@@ -266,7 +266,7 @@ func (rule *DnsForwardingRuleSetsForwardingRule) validateWriteOnceProperties(old
}
// AssignProperties_From_DnsForwardingRuleSetsForwardingRule populates our DnsForwardingRuleSetsForwardingRule from the provided source DnsForwardingRuleSetsForwardingRule
-func (rule *DnsForwardingRuleSetsForwardingRule) AssignProperties_From_DnsForwardingRuleSetsForwardingRule(source *v20220701s.DnsForwardingRuleSetsForwardingRule) error {
+func (rule *DnsForwardingRuleSetsForwardingRule) AssignProperties_From_DnsForwardingRuleSetsForwardingRule(source *storage.DnsForwardingRuleSetsForwardingRule) error {
// ObjectMeta
rule.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -292,13 +292,13 @@ func (rule *DnsForwardingRuleSetsForwardingRule) AssignProperties_From_DnsForwar
}
// AssignProperties_To_DnsForwardingRuleSetsForwardingRule populates the provided destination DnsForwardingRuleSetsForwardingRule from our DnsForwardingRuleSetsForwardingRule
-func (rule *DnsForwardingRuleSetsForwardingRule) AssignProperties_To_DnsForwardingRuleSetsForwardingRule(destination *v20220701s.DnsForwardingRuleSetsForwardingRule) error {
+func (rule *DnsForwardingRuleSetsForwardingRule) AssignProperties_To_DnsForwardingRuleSetsForwardingRule(destination *storage.DnsForwardingRuleSetsForwardingRule) error {
// ObjectMeta
destination.ObjectMeta = *rule.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.DnsForwardingRulesets_ForwardingRule_Spec
+ var spec storage.DnsForwardingRulesets_ForwardingRule_Spec
err := rule.Spec.AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec() to populate field Spec")
@@ -306,7 +306,7 @@ func (rule *DnsForwardingRuleSetsForwardingRule) AssignProperties_To_DnsForwardi
destination.Spec = spec
// Status
- var status v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS
+ var status storage.DnsForwardingRulesets_ForwardingRule_STATUS
err = rule.Status.AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS() to populate field Status")
@@ -476,14 +476,14 @@ var _ genruntime.ConvertibleSpec = &DnsForwardingRulesets_ForwardingRule_Spec{}
// ConvertSpecFrom populates our DnsForwardingRulesets_ForwardingRule_Spec from the provided source
func (rule *DnsForwardingRulesets_ForwardingRule_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.DnsForwardingRulesets_ForwardingRule_Spec)
+ src, ok := source.(*storage.DnsForwardingRulesets_ForwardingRule_Spec)
if ok {
// Populate our instance from source
return rule.AssignProperties_From_DnsForwardingRulesets_ForwardingRule_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsForwardingRulesets_ForwardingRule_Spec{}
+ src = &storage.DnsForwardingRulesets_ForwardingRule_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -500,14 +500,14 @@ func (rule *DnsForwardingRulesets_ForwardingRule_Spec) ConvertSpecFrom(source ge
// ConvertSpecTo populates the provided destination from our DnsForwardingRulesets_ForwardingRule_Spec
func (rule *DnsForwardingRulesets_ForwardingRule_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.DnsForwardingRulesets_ForwardingRule_Spec)
+ dst, ok := destination.(*storage.DnsForwardingRulesets_ForwardingRule_Spec)
if ok {
// Populate destination from our instance
return rule.AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsForwardingRulesets_ForwardingRule_Spec{}
+ dst = &storage.DnsForwardingRulesets_ForwardingRule_Spec{}
err := rule.AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -523,7 +523,7 @@ func (rule *DnsForwardingRulesets_ForwardingRule_Spec) ConvertSpecTo(destination
}
// AssignProperties_From_DnsForwardingRulesets_ForwardingRule_Spec populates our DnsForwardingRulesets_ForwardingRule_Spec from the provided source DnsForwardingRulesets_ForwardingRule_Spec
-func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_From_DnsForwardingRulesets_ForwardingRule_Spec(source *v20220701s.DnsForwardingRulesets_ForwardingRule_Spec) error {
+func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_From_DnsForwardingRulesets_ForwardingRule_Spec(source *storage.DnsForwardingRulesets_ForwardingRule_Spec) error {
// AzureName
rule.AzureName = source.AzureName
@@ -533,8 +533,9 @@ func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_From_Dns
// ForwardingRuleState
if source.ForwardingRuleState != nil {
- forwardingRuleState := ForwardingRuleProperties_ForwardingRuleState(*source.ForwardingRuleState)
- rule.ForwardingRuleState = &forwardingRuleState
+ forwardingRuleState := *source.ForwardingRuleState
+ forwardingRuleStateTemp := genruntime.ToEnum(forwardingRuleState, forwardingRuleProperties_ForwardingRuleState_Values)
+ rule.ForwardingRuleState = &forwardingRuleStateTemp
} else {
rule.ForwardingRuleState = nil
}
@@ -573,7 +574,7 @@ func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_From_Dns
}
// AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec populates the provided destination DnsForwardingRulesets_ForwardingRule_Spec from our DnsForwardingRulesets_ForwardingRule_Spec
-func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec(destination *v20220701s.DnsForwardingRulesets_ForwardingRule_Spec) error {
+func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_To_DnsForwardingRulesets_ForwardingRule_Spec(destination *storage.DnsForwardingRulesets_ForwardingRule_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -607,11 +608,11 @@ func (rule *DnsForwardingRulesets_ForwardingRule_Spec) AssignProperties_To_DnsFo
// TargetDnsServers
if rule.TargetDnsServers != nil {
- targetDnsServerList := make([]v20220701s.TargetDnsServer, len(rule.TargetDnsServers))
+ targetDnsServerList := make([]storage.TargetDnsServer, len(rule.TargetDnsServers))
for targetDnsServerIndex, targetDnsServerItem := range rule.TargetDnsServers {
// Shadow the loop variable to avoid aliasing
targetDnsServerItem := targetDnsServerItem
- var targetDnsServer v20220701s.TargetDnsServer
+ var targetDnsServer storage.TargetDnsServer
err := targetDnsServerItem.AssignProperties_To_TargetDnsServer(&targetDnsServer)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_TargetDnsServer() to populate field TargetDnsServers")
@@ -642,7 +643,7 @@ func (rule *DnsForwardingRulesets_ForwardingRule_Spec) Initialize_From_DnsForwar
// ForwardingRuleState
if source.ForwardingRuleState != nil {
- forwardingRuleState := ForwardingRuleProperties_ForwardingRuleState(*source.ForwardingRuleState)
+ forwardingRuleState := genruntime.ToEnum(string(*source.ForwardingRuleState), forwardingRuleProperties_ForwardingRuleState_Values)
rule.ForwardingRuleState = &forwardingRuleState
} else {
rule.ForwardingRuleState = nil
@@ -724,14 +725,14 @@ var _ genruntime.ConvertibleStatus = &DnsForwardingRulesets_ForwardingRule_STATU
// ConvertStatusFrom populates our DnsForwardingRulesets_ForwardingRule_STATUS from the provided source
func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS)
+ src, ok := source.(*storage.DnsForwardingRulesets_ForwardingRule_STATUS)
if ok {
// Populate our instance from source
return rule.AssignProperties_From_DnsForwardingRulesets_ForwardingRule_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS{}
+ src = &storage.DnsForwardingRulesets_ForwardingRule_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -748,14 +749,14 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) ConvertStatusFrom(sourc
// ConvertStatusTo populates the provided destination from our DnsForwardingRulesets_ForwardingRule_STATUS
func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS)
+ dst, ok := destination.(*storage.DnsForwardingRulesets_ForwardingRule_STATUS)
if ok {
// Populate destination from our instance
return rule.AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS{}
+ dst = &storage.DnsForwardingRulesets_ForwardingRule_STATUS{}
err := rule.AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -877,7 +878,7 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) PopulateFromARM(owner g
}
// AssignProperties_From_DnsForwardingRulesets_ForwardingRule_STATUS populates our DnsForwardingRulesets_ForwardingRule_STATUS from the provided source DnsForwardingRulesets_ForwardingRule_STATUS
-func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_From_DnsForwardingRulesets_ForwardingRule_STATUS(source *v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS) error {
+func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_From_DnsForwardingRulesets_ForwardingRule_STATUS(source *storage.DnsForwardingRulesets_ForwardingRule_STATUS) error {
// Conditions
rule.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -890,8 +891,9 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_From_D
// ForwardingRuleState
if source.ForwardingRuleState != nil {
- forwardingRuleState := ForwardingRuleProperties_ForwardingRuleState_STATUS(*source.ForwardingRuleState)
- rule.ForwardingRuleState = &forwardingRuleState
+ forwardingRuleState := *source.ForwardingRuleState
+ forwardingRuleStateTemp := genruntime.ToEnum(forwardingRuleState, forwardingRuleProperties_ForwardingRuleState_STATUS_Values)
+ rule.ForwardingRuleState = &forwardingRuleStateTemp
} else {
rule.ForwardingRuleState = nil
}
@@ -907,8 +909,9 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_From_D
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := DnsresolverProvisioningState_STATUS(*source.ProvisioningState)
- rule.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, dnsresolverProvisioningState_STATUS_Values)
+ rule.ProvisioningState = &provisioningStateTemp
} else {
rule.ProvisioningState = nil
}
@@ -951,7 +954,7 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_From_D
}
// AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS populates the provided destination DnsForwardingRulesets_ForwardingRule_STATUS from our DnsForwardingRulesets_ForwardingRule_STATUS
-func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS(destination *v20220701s.DnsForwardingRulesets_ForwardingRule_STATUS) error {
+func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_To_DnsForwardingRulesets_ForwardingRule_STATUS(destination *storage.DnsForwardingRulesets_ForwardingRule_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -991,7 +994,7 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_To_Dns
// SystemData
if rule.SystemData != nil {
- var systemDatum v20220701s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := rule.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -1003,11 +1006,11 @@ func (rule *DnsForwardingRulesets_ForwardingRule_STATUS) AssignProperties_To_Dns
// TargetDnsServers
if rule.TargetDnsServers != nil {
- targetDnsServerList := make([]v20220701s.TargetDnsServer_STATUS, len(rule.TargetDnsServers))
+ targetDnsServerList := make([]storage.TargetDnsServer_STATUS, len(rule.TargetDnsServers))
for targetDnsServerIndex, targetDnsServerItem := range rule.TargetDnsServers {
// Shadow the loop variable to avoid aliasing
targetDnsServerItem := targetDnsServerItem
- var targetDnsServer v20220701s.TargetDnsServer_STATUS
+ var targetDnsServer storage.TargetDnsServer_STATUS
err := targetDnsServerItem.AssignProperties_To_TargetDnsServer_STATUS(&targetDnsServer)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_TargetDnsServer_STATUS() to populate field TargetDnsServers")
@@ -1045,6 +1048,16 @@ const (
DnsresolverProvisioningState_STATUS_Updating = DnsresolverProvisioningState_STATUS("Updating")
)
+// Mapping from string to DnsresolverProvisioningState_STATUS
+var dnsresolverProvisioningState_STATUS_Values = map[string]DnsresolverProvisioningState_STATUS{
+ "canceled": DnsresolverProvisioningState_STATUS_Canceled,
+ "creating": DnsresolverProvisioningState_STATUS_Creating,
+ "deleting": DnsresolverProvisioningState_STATUS_Deleting,
+ "failed": DnsresolverProvisioningState_STATUS_Failed,
+ "succeeded": DnsresolverProvisioningState_STATUS_Succeeded,
+ "updating": DnsresolverProvisioningState_STATUS_Updating,
+}
+
// +kubebuilder:validation:Enum={"Disabled","Enabled"}
type ForwardingRuleProperties_ForwardingRuleState string
@@ -1053,6 +1066,12 @@ const (
ForwardingRuleProperties_ForwardingRuleState_Enabled = ForwardingRuleProperties_ForwardingRuleState("Enabled")
)
+// Mapping from string to ForwardingRuleProperties_ForwardingRuleState
+var forwardingRuleProperties_ForwardingRuleState_Values = map[string]ForwardingRuleProperties_ForwardingRuleState{
+ "disabled": ForwardingRuleProperties_ForwardingRuleState_Disabled,
+ "enabled": ForwardingRuleProperties_ForwardingRuleState_Enabled,
+}
+
type ForwardingRuleProperties_ForwardingRuleState_STATUS string
const (
@@ -1060,6 +1079,12 @@ const (
ForwardingRuleProperties_ForwardingRuleState_STATUS_Enabled = ForwardingRuleProperties_ForwardingRuleState_STATUS("Enabled")
)
+// Mapping from string to ForwardingRuleProperties_ForwardingRuleState_STATUS
+var forwardingRuleProperties_ForwardingRuleState_STATUS_Values = map[string]ForwardingRuleProperties_ForwardingRuleState_STATUS{
+ "disabled": ForwardingRuleProperties_ForwardingRuleState_STATUS_Disabled,
+ "enabled": ForwardingRuleProperties_ForwardingRuleState_STATUS_Enabled,
+}
+
// Metadata pertaining to creation and last modification of the resource.
type SystemData_STATUS struct {
// CreatedAt: The timestamp of resource creation (UTC).
@@ -1136,7 +1161,7 @@ func (data *SystemData_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_SystemData_STATUS populates our SystemData_STATUS from the provided source SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v20220701s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *storage.SystemData_STATUS) error {
// CreatedAt
data.CreatedAt = genruntime.ClonePointerToString(source.CreatedAt)
@@ -1146,8 +1171,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// CreatedByType
if source.CreatedByType != nil {
- createdByType := SystemData_CreatedByType_STATUS(*source.CreatedByType)
- data.CreatedByType = &createdByType
+ createdByType := *source.CreatedByType
+ createdByTypeTemp := genruntime.ToEnum(createdByType, systemData_CreatedByType_STATUS_Values)
+ data.CreatedByType = &createdByTypeTemp
} else {
data.CreatedByType = nil
}
@@ -1160,8 +1186,9 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
// LastModifiedByType
if source.LastModifiedByType != nil {
- lastModifiedByType := SystemData_LastModifiedByType_STATUS(*source.LastModifiedByType)
- data.LastModifiedByType = &lastModifiedByType
+ lastModifiedByType := *source.LastModifiedByType
+ lastModifiedByTypeTemp := genruntime.ToEnum(lastModifiedByType, systemData_LastModifiedByType_STATUS_Values)
+ data.LastModifiedByType = &lastModifiedByTypeTemp
} else {
data.LastModifiedByType = nil
}
@@ -1171,7 +1198,7 @@ func (data *SystemData_STATUS) AssignProperties_From_SystemData_STATUS(source *v
}
// AssignProperties_To_SystemData_STATUS populates the provided destination SystemData_STATUS from our SystemData_STATUS
-func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *v20220701s.SystemData_STATUS) error {
+func (data *SystemData_STATUS) AssignProperties_To_SystemData_STATUS(destination *storage.SystemData_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1288,7 +1315,7 @@ func (server *TargetDnsServer) PopulateFromARM(owner genruntime.ArbitraryOwnerRe
}
// AssignProperties_From_TargetDnsServer populates our TargetDnsServer from the provided source TargetDnsServer
-func (server *TargetDnsServer) AssignProperties_From_TargetDnsServer(source *v20220701s.TargetDnsServer) error {
+func (server *TargetDnsServer) AssignProperties_From_TargetDnsServer(source *storage.TargetDnsServer) error {
// IpAddress
server.IpAddress = genruntime.ClonePointerToString(source.IpAddress)
@@ -1309,7 +1336,7 @@ func (server *TargetDnsServer) AssignProperties_From_TargetDnsServer(source *v20
}
// AssignProperties_To_TargetDnsServer populates the provided destination TargetDnsServer from our TargetDnsServer
-func (server *TargetDnsServer) AssignProperties_To_TargetDnsServer(destination *v20220701s.TargetDnsServer) error {
+func (server *TargetDnsServer) AssignProperties_To_TargetDnsServer(destination *storage.TargetDnsServer) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1391,7 +1418,7 @@ func (server *TargetDnsServer_STATUS) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_TargetDnsServer_STATUS populates our TargetDnsServer_STATUS from the provided source TargetDnsServer_STATUS
-func (server *TargetDnsServer_STATUS) AssignProperties_From_TargetDnsServer_STATUS(source *v20220701s.TargetDnsServer_STATUS) error {
+func (server *TargetDnsServer_STATUS) AssignProperties_From_TargetDnsServer_STATUS(source *storage.TargetDnsServer_STATUS) error {
// IpAddress
server.IpAddress = genruntime.ClonePointerToString(source.IpAddress)
@@ -1404,7 +1431,7 @@ func (server *TargetDnsServer_STATUS) AssignProperties_From_TargetDnsServer_STAT
}
// AssignProperties_To_TargetDnsServer_STATUS populates the provided destination TargetDnsServer_STATUS from our TargetDnsServer_STATUS
-func (server *TargetDnsServer_STATUS) AssignProperties_To_TargetDnsServer_STATUS(destination *v20220701s.TargetDnsServer_STATUS) error {
+func (server *TargetDnsServer_STATUS) AssignProperties_To_TargetDnsServer_STATUS(destination *storage.TargetDnsServer_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_status_arm_types_gen.go
index b683d643d9..7c2848d8ed 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_status_arm_types_gen.go
@@ -81,6 +81,14 @@ const (
SystemData_CreatedByType_STATUS_User = SystemData_CreatedByType_STATUS("User")
)
+// Mapping from string to SystemData_CreatedByType_STATUS
+var systemData_CreatedByType_STATUS_Values = map[string]SystemData_CreatedByType_STATUS{
+ "application": SystemData_CreatedByType_STATUS_Application,
+ "key": SystemData_CreatedByType_STATUS_Key,
+ "managedidentity": SystemData_CreatedByType_STATUS_ManagedIdentity,
+ "user": SystemData_CreatedByType_STATUS_User,
+}
+
type SystemData_LastModifiedByType_STATUS string
const (
@@ -89,3 +97,11 @@ const (
SystemData_LastModifiedByType_STATUS_ManagedIdentity = SystemData_LastModifiedByType_STATUS("ManagedIdentity")
SystemData_LastModifiedByType_STATUS_User = SystemData_LastModifiedByType_STATUS("User")
)
+
+// Mapping from string to SystemData_LastModifiedByType_STATUS
+var systemData_LastModifiedByType_STATUS_Values = map[string]SystemData_LastModifiedByType_STATUS{
+ "application": SystemData_LastModifiedByType_STATUS_Application,
+ "key": SystemData_LastModifiedByType_STATUS_Key,
+ "managedidentity": SystemData_LastModifiedByType_STATUS_ManagedIdentity,
+ "user": SystemData_LastModifiedByType_STATUS_User,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_types_gen.go
index 46d23270da..e3617be243 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_forwarding_ruleset_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &DnsForwardingRuleset{}
// ConvertFrom populates our DnsForwardingRuleset from the provided hub DnsForwardingRuleset
func (ruleset *DnsForwardingRuleset) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.DnsForwardingRuleset)
+ source, ok := hub.(*storage.DnsForwardingRuleset)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsForwardingRuleset but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (ruleset *DnsForwardingRuleset) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub DnsForwardingRuleset from our DnsForwardingRuleset
func (ruleset *DnsForwardingRuleset) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.DnsForwardingRuleset)
+ destination, ok := hub.(*storage.DnsForwardingRuleset)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsForwardingRuleset but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (ruleset *DnsForwardingRuleset) validateWriteOnceProperties(old runtime.Obj
}
// AssignProperties_From_DnsForwardingRuleset populates our DnsForwardingRuleset from the provided source DnsForwardingRuleset
-func (ruleset *DnsForwardingRuleset) AssignProperties_From_DnsForwardingRuleset(source *v20220701s.DnsForwardingRuleset) error {
+func (ruleset *DnsForwardingRuleset) AssignProperties_From_DnsForwardingRuleset(source *storage.DnsForwardingRuleset) error {
// ObjectMeta
ruleset.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (ruleset *DnsForwardingRuleset) AssignProperties_From_DnsForwardingRuleset(
}
// AssignProperties_To_DnsForwardingRuleset populates the provided destination DnsForwardingRuleset from our DnsForwardingRuleset
-func (ruleset *DnsForwardingRuleset) AssignProperties_To_DnsForwardingRuleset(destination *v20220701s.DnsForwardingRuleset) error {
+func (ruleset *DnsForwardingRuleset) AssignProperties_To_DnsForwardingRuleset(destination *storage.DnsForwardingRuleset) error {
// ObjectMeta
destination.ObjectMeta = *ruleset.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.DnsForwardingRuleset_Spec
+ var spec storage.DnsForwardingRuleset_Spec
err := ruleset.Spec.AssignProperties_To_DnsForwardingRuleset_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsForwardingRuleset_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (ruleset *DnsForwardingRuleset) AssignProperties_To_DnsForwardingRuleset(de
destination.Spec = spec
// Status
- var status v20220701s.DnsForwardingRuleset_STATUS
+ var status storage.DnsForwardingRuleset_STATUS
err = ruleset.Status.AssignProperties_To_DnsForwardingRuleset_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsForwardingRuleset_STATUS() to populate field Status")
@@ -444,14 +444,14 @@ var _ genruntime.ConvertibleSpec = &DnsForwardingRuleset_Spec{}
// ConvertSpecFrom populates our DnsForwardingRuleset_Spec from the provided source
func (ruleset *DnsForwardingRuleset_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.DnsForwardingRuleset_Spec)
+ src, ok := source.(*storage.DnsForwardingRuleset_Spec)
if ok {
// Populate our instance from source
return ruleset.AssignProperties_From_DnsForwardingRuleset_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsForwardingRuleset_Spec{}
+ src = &storage.DnsForwardingRuleset_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -468,14 +468,14 @@ func (ruleset *DnsForwardingRuleset_Spec) ConvertSpecFrom(source genruntime.Conv
// ConvertSpecTo populates the provided destination from our DnsForwardingRuleset_Spec
func (ruleset *DnsForwardingRuleset_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.DnsForwardingRuleset_Spec)
+ dst, ok := destination.(*storage.DnsForwardingRuleset_Spec)
if ok {
// Populate destination from our instance
return ruleset.AssignProperties_To_DnsForwardingRuleset_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsForwardingRuleset_Spec{}
+ dst = &storage.DnsForwardingRuleset_Spec{}
err := ruleset.AssignProperties_To_DnsForwardingRuleset_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -491,7 +491,7 @@ func (ruleset *DnsForwardingRuleset_Spec) ConvertSpecTo(destination genruntime.C
}
// AssignProperties_From_DnsForwardingRuleset_Spec populates our DnsForwardingRuleset_Spec from the provided source DnsForwardingRuleset_Spec
-func (ruleset *DnsForwardingRuleset_Spec) AssignProperties_From_DnsForwardingRuleset_Spec(source *v20220701s.DnsForwardingRuleset_Spec) error {
+func (ruleset *DnsForwardingRuleset_Spec) AssignProperties_From_DnsForwardingRuleset_Spec(source *storage.DnsForwardingRuleset_Spec) error {
// AzureName
ruleset.AzureName = source.AzureName
@@ -533,7 +533,7 @@ func (ruleset *DnsForwardingRuleset_Spec) AssignProperties_From_DnsForwardingRul
}
// AssignProperties_To_DnsForwardingRuleset_Spec populates the provided destination DnsForwardingRuleset_Spec from our DnsForwardingRuleset_Spec
-func (ruleset *DnsForwardingRuleset_Spec) AssignProperties_To_DnsForwardingRuleset_Spec(destination *v20220701s.DnsForwardingRuleset_Spec) error {
+func (ruleset *DnsForwardingRuleset_Spec) AssignProperties_To_DnsForwardingRuleset_Spec(destination *storage.DnsForwardingRuleset_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -542,11 +542,11 @@ func (ruleset *DnsForwardingRuleset_Spec) AssignProperties_To_DnsForwardingRules
// DnsResolverOutboundEndpoints
if ruleset.DnsResolverOutboundEndpoints != nil {
- dnsResolverOutboundEndpointList := make([]v20220701s.DnsresolverSubResource, len(ruleset.DnsResolverOutboundEndpoints))
+ dnsResolverOutboundEndpointList := make([]storage.DnsresolverSubResource, len(ruleset.DnsResolverOutboundEndpoints))
for dnsResolverOutboundEndpointIndex, dnsResolverOutboundEndpointItem := range ruleset.DnsResolverOutboundEndpoints {
// Shadow the loop variable to avoid aliasing
dnsResolverOutboundEndpointItem := dnsResolverOutboundEndpointItem
- var dnsResolverOutboundEndpoint v20220701s.DnsresolverSubResource
+ var dnsResolverOutboundEndpoint storage.DnsresolverSubResource
err := dnsResolverOutboundEndpointItem.AssignProperties_To_DnsresolverSubResource(&dnsResolverOutboundEndpoint)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource() to populate field DnsResolverOutboundEndpoints")
@@ -670,14 +670,14 @@ var _ genruntime.ConvertibleStatus = &DnsForwardingRuleset_STATUS{}
// ConvertStatusFrom populates our DnsForwardingRuleset_STATUS from the provided source
func (ruleset *DnsForwardingRuleset_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.DnsForwardingRuleset_STATUS)
+ src, ok := source.(*storage.DnsForwardingRuleset_STATUS)
if ok {
// Populate our instance from source
return ruleset.AssignProperties_From_DnsForwardingRuleset_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsForwardingRuleset_STATUS{}
+ src = &storage.DnsForwardingRuleset_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -694,14 +694,14 @@ func (ruleset *DnsForwardingRuleset_STATUS) ConvertStatusFrom(source genruntime.
// ConvertStatusTo populates the provided destination from our DnsForwardingRuleset_STATUS
func (ruleset *DnsForwardingRuleset_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.DnsForwardingRuleset_STATUS)
+ dst, ok := destination.(*storage.DnsForwardingRuleset_STATUS)
if ok {
// Populate destination from our instance
return ruleset.AssignProperties_To_DnsForwardingRuleset_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsForwardingRuleset_STATUS{}
+ dst = &storage.DnsForwardingRuleset_STATUS{}
err := ruleset.AssignProperties_To_DnsForwardingRuleset_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -817,7 +817,7 @@ func (ruleset *DnsForwardingRuleset_STATUS) PopulateFromARM(owner genruntime.Arb
}
// AssignProperties_From_DnsForwardingRuleset_STATUS populates our DnsForwardingRuleset_STATUS from the provided source DnsForwardingRuleset_STATUS
-func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_From_DnsForwardingRuleset_STATUS(source *v20220701s.DnsForwardingRuleset_STATUS) error {
+func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_From_DnsForwardingRuleset_STATUS(source *storage.DnsForwardingRuleset_STATUS) error {
// Conditions
ruleset.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -854,8 +854,9 @@ func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_From_DnsForwardingR
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := DnsresolverProvisioningState_STATUS(*source.ProvisioningState)
- ruleset.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, dnsresolverProvisioningState_STATUS_Values)
+ ruleset.ProvisioningState = &provisioningStateTemp
} else {
ruleset.ProvisioningState = nil
}
@@ -886,7 +887,7 @@ func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_From_DnsForwardingR
}
// AssignProperties_To_DnsForwardingRuleset_STATUS populates the provided destination DnsForwardingRuleset_STATUS from our DnsForwardingRuleset_STATUS
-func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_To_DnsForwardingRuleset_STATUS(destination *v20220701s.DnsForwardingRuleset_STATUS) error {
+func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_To_DnsForwardingRuleset_STATUS(destination *storage.DnsForwardingRuleset_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -895,11 +896,11 @@ func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_To_DnsForwardingRul
// DnsResolverOutboundEndpoints
if ruleset.DnsResolverOutboundEndpoints != nil {
- dnsResolverOutboundEndpointList := make([]v20220701s.DnsresolverSubResource_STATUS, len(ruleset.DnsResolverOutboundEndpoints))
+ dnsResolverOutboundEndpointList := make([]storage.DnsresolverSubResource_STATUS, len(ruleset.DnsResolverOutboundEndpoints))
for dnsResolverOutboundEndpointIndex, dnsResolverOutboundEndpointItem := range ruleset.DnsResolverOutboundEndpoints {
// Shadow the loop variable to avoid aliasing
dnsResolverOutboundEndpointItem := dnsResolverOutboundEndpointItem
- var dnsResolverOutboundEndpoint v20220701s.DnsresolverSubResource_STATUS
+ var dnsResolverOutboundEndpoint storage.DnsresolverSubResource_STATUS
err := dnsResolverOutboundEndpointItem.AssignProperties_To_DnsresolverSubResource_STATUS(&dnsResolverOutboundEndpoint)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource_STATUS() to populate field DnsResolverOutboundEndpoints")
@@ -936,7 +937,7 @@ func (ruleset *DnsForwardingRuleset_STATUS) AssignProperties_To_DnsForwardingRul
// SystemData
if ruleset.SystemData != nil {
- var systemDatum v20220701s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := ruleset.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -1010,7 +1011,7 @@ func (resource *DnsresolverSubResource) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_DnsresolverSubResource populates our DnsresolverSubResource from the provided source DnsresolverSubResource
-func (resource *DnsresolverSubResource) AssignProperties_From_DnsresolverSubResource(source *v20220701s.DnsresolverSubResource) error {
+func (resource *DnsresolverSubResource) AssignProperties_From_DnsresolverSubResource(source *storage.DnsresolverSubResource) error {
// Reference
if source.Reference != nil {
@@ -1025,7 +1026,7 @@ func (resource *DnsresolverSubResource) AssignProperties_From_DnsresolverSubReso
}
// AssignProperties_To_DnsresolverSubResource populates the provided destination DnsresolverSubResource from our DnsresolverSubResource
-func (resource *DnsresolverSubResource) AssignProperties_To_DnsresolverSubResource(destination *v20220701s.DnsresolverSubResource) error {
+func (resource *DnsresolverSubResource) AssignProperties_To_DnsresolverSubResource(destination *storage.DnsresolverSubResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1094,7 +1095,7 @@ func (resource *DnsresolverSubResource_STATUS) PopulateFromARM(owner genruntime.
}
// AssignProperties_From_DnsresolverSubResource_STATUS populates our DnsresolverSubResource_STATUS from the provided source DnsresolverSubResource_STATUS
-func (resource *DnsresolverSubResource_STATUS) AssignProperties_From_DnsresolverSubResource_STATUS(source *v20220701s.DnsresolverSubResource_STATUS) error {
+func (resource *DnsresolverSubResource_STATUS) AssignProperties_From_DnsresolverSubResource_STATUS(source *storage.DnsresolverSubResource_STATUS) error {
// Id
resource.Id = genruntime.ClonePointerToString(source.Id)
@@ -1104,7 +1105,7 @@ func (resource *DnsresolverSubResource_STATUS) AssignProperties_From_Dnsresolver
}
// AssignProperties_To_DnsresolverSubResource_STATUS populates the provided destination DnsresolverSubResource_STATUS from our DnsresolverSubResource_STATUS
-func (resource *DnsresolverSubResource_STATUS) AssignProperties_To_DnsresolverSubResource_STATUS(destination *v20220701s.DnsresolverSubResource_STATUS) error {
+func (resource *DnsresolverSubResource_STATUS) AssignProperties_To_DnsresolverSubResource_STATUS(destination *storage.DnsresolverSubResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolver_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolver_types_gen.go
index cf0a797d0f..c3bb5ca648 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolver_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolver_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &DnsResolver{}
// ConvertFrom populates our DnsResolver from the provided hub DnsResolver
func (resolver *DnsResolver) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.DnsResolver)
+ source, ok := hub.(*storage.DnsResolver)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsResolver but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (resolver *DnsResolver) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub DnsResolver from our DnsResolver
func (resolver *DnsResolver) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.DnsResolver)
+ destination, ok := hub.(*storage.DnsResolver)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsResolver but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (resolver *DnsResolver) validateWriteOnceProperties(old runtime.Object) (ad
}
// AssignProperties_From_DnsResolver populates our DnsResolver from the provided source DnsResolver
-func (resolver *DnsResolver) AssignProperties_From_DnsResolver(source *v20220701s.DnsResolver) error {
+func (resolver *DnsResolver) AssignProperties_From_DnsResolver(source *storage.DnsResolver) error {
// ObjectMeta
resolver.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (resolver *DnsResolver) AssignProperties_From_DnsResolver(source *v20220701
}
// AssignProperties_To_DnsResolver populates the provided destination DnsResolver from our DnsResolver
-func (resolver *DnsResolver) AssignProperties_To_DnsResolver(destination *v20220701s.DnsResolver) error {
+func (resolver *DnsResolver) AssignProperties_To_DnsResolver(destination *storage.DnsResolver) error {
// ObjectMeta
destination.ObjectMeta = *resolver.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.DnsResolver_Spec
+ var spec storage.DnsResolver_Spec
err := resolver.Spec.AssignProperties_To_DnsResolver_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsResolver_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (resolver *DnsResolver) AssignProperties_To_DnsResolver(destination *v20220
destination.Spec = spec
// Status
- var status v20220701s.DnsResolver_STATUS
+ var status storage.DnsResolver_STATUS
err = resolver.Status.AssignProperties_To_DnsResolver_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsResolver_STATUS() to populate field Status")
@@ -445,14 +445,14 @@ var _ genruntime.ConvertibleSpec = &DnsResolver_Spec{}
// ConvertSpecFrom populates our DnsResolver_Spec from the provided source
func (resolver *DnsResolver_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.DnsResolver_Spec)
+ src, ok := source.(*storage.DnsResolver_Spec)
if ok {
// Populate our instance from source
return resolver.AssignProperties_From_DnsResolver_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsResolver_Spec{}
+ src = &storage.DnsResolver_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -469,14 +469,14 @@ func (resolver *DnsResolver_Spec) ConvertSpecFrom(source genruntime.ConvertibleS
// ConvertSpecTo populates the provided destination from our DnsResolver_Spec
func (resolver *DnsResolver_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.DnsResolver_Spec)
+ dst, ok := destination.(*storage.DnsResolver_Spec)
if ok {
// Populate destination from our instance
return resolver.AssignProperties_To_DnsResolver_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsResolver_Spec{}
+ dst = &storage.DnsResolver_Spec{}
err := resolver.AssignProperties_To_DnsResolver_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -492,7 +492,7 @@ func (resolver *DnsResolver_Spec) ConvertSpecTo(destination genruntime.Convertib
}
// AssignProperties_From_DnsResolver_Spec populates our DnsResolver_Spec from the provided source DnsResolver_Spec
-func (resolver *DnsResolver_Spec) AssignProperties_From_DnsResolver_Spec(source *v20220701s.DnsResolver_Spec) error {
+func (resolver *DnsResolver_Spec) AssignProperties_From_DnsResolver_Spec(source *storage.DnsResolver_Spec) error {
// AzureName
resolver.AzureName = source.AzureName
@@ -528,7 +528,7 @@ func (resolver *DnsResolver_Spec) AssignProperties_From_DnsResolver_Spec(source
}
// AssignProperties_To_DnsResolver_Spec populates the provided destination DnsResolver_Spec from our DnsResolver_Spec
-func (resolver *DnsResolver_Spec) AssignProperties_To_DnsResolver_Spec(destination *v20220701s.DnsResolver_Spec) error {
+func (resolver *DnsResolver_Spec) AssignProperties_To_DnsResolver_Spec(destination *storage.DnsResolver_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -554,7 +554,7 @@ func (resolver *DnsResolver_Spec) AssignProperties_To_DnsResolver_Spec(destinati
// VirtualNetwork
if resolver.VirtualNetwork != nil {
- var virtualNetwork v20220701s.DnsresolverSubResource
+ var virtualNetwork storage.DnsresolverSubResource
err := resolver.VirtualNetwork.AssignProperties_To_DnsresolverSubResource(&virtualNetwork)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource() to populate field VirtualNetwork")
@@ -654,14 +654,14 @@ var _ genruntime.ConvertibleStatus = &DnsResolver_STATUS{}
// ConvertStatusFrom populates our DnsResolver_STATUS from the provided source
func (resolver *DnsResolver_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.DnsResolver_STATUS)
+ src, ok := source.(*storage.DnsResolver_STATUS)
if ok {
// Populate our instance from source
return resolver.AssignProperties_From_DnsResolver_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsResolver_STATUS{}
+ src = &storage.DnsResolver_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -678,14 +678,14 @@ func (resolver *DnsResolver_STATUS) ConvertStatusFrom(source genruntime.Converti
// ConvertStatusTo populates the provided destination from our DnsResolver_STATUS
func (resolver *DnsResolver_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.DnsResolver_STATUS)
+ dst, ok := destination.(*storage.DnsResolver_STATUS)
if ok {
// Populate destination from our instance
return resolver.AssignProperties_To_DnsResolver_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsResolver_STATUS{}
+ dst = &storage.DnsResolver_STATUS{}
err := resolver.AssignProperties_To_DnsResolver_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -811,15 +811,16 @@ func (resolver *DnsResolver_STATUS) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_DnsResolver_STATUS populates our DnsResolver_STATUS from the provided source DnsResolver_STATUS
-func (resolver *DnsResolver_STATUS) AssignProperties_From_DnsResolver_STATUS(source *v20220701s.DnsResolver_STATUS) error {
+func (resolver *DnsResolver_STATUS) AssignProperties_From_DnsResolver_STATUS(source *storage.DnsResolver_STATUS) error {
// Conditions
resolver.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
// DnsResolverState
if source.DnsResolverState != nil {
- dnsResolverState := DnsResolverProperties_DnsResolverState_STATUS(*source.DnsResolverState)
- resolver.DnsResolverState = &dnsResolverState
+ dnsResolverState := *source.DnsResolverState
+ dnsResolverStateTemp := genruntime.ToEnum(dnsResolverState, dnsResolverProperties_DnsResolverState_STATUS_Values)
+ resolver.DnsResolverState = &dnsResolverStateTemp
} else {
resolver.DnsResolverState = nil
}
@@ -838,8 +839,9 @@ func (resolver *DnsResolver_STATUS) AssignProperties_From_DnsResolver_STATUS(sou
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := DnsresolverProvisioningState_STATUS(*source.ProvisioningState)
- resolver.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, dnsresolverProvisioningState_STATUS_Values)
+ resolver.ProvisioningState = &provisioningStateTemp
} else {
resolver.ProvisioningState = nil
}
@@ -882,7 +884,7 @@ func (resolver *DnsResolver_STATUS) AssignProperties_From_DnsResolver_STATUS(sou
}
// AssignProperties_To_DnsResolver_STATUS populates the provided destination DnsResolver_STATUS from our DnsResolver_STATUS
-func (resolver *DnsResolver_STATUS) AssignProperties_To_DnsResolver_STATUS(destination *v20220701s.DnsResolver_STATUS) error {
+func (resolver *DnsResolver_STATUS) AssignProperties_To_DnsResolver_STATUS(destination *storage.DnsResolver_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -922,7 +924,7 @@ func (resolver *DnsResolver_STATUS) AssignProperties_To_DnsResolver_STATUS(desti
// SystemData
if resolver.SystemData != nil {
- var systemDatum v20220701s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := resolver.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -940,7 +942,7 @@ func (resolver *DnsResolver_STATUS) AssignProperties_To_DnsResolver_STATUS(desti
// VirtualNetwork
if resolver.VirtualNetwork != nil {
- var virtualNetwork v20220701s.DnsresolverSubResource_STATUS
+ var virtualNetwork storage.DnsresolverSubResource_STATUS
err := resolver.VirtualNetwork.AssignProperties_To_DnsresolverSubResource_STATUS(&virtualNetwork)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource_STATUS() to populate field VirtualNetwork")
@@ -968,6 +970,12 @@ const (
DnsResolverProperties_DnsResolverState_STATUS_Disconnected = DnsResolverProperties_DnsResolverState_STATUS("Disconnected")
)
+// Mapping from string to DnsResolverProperties_DnsResolverState_STATUS
+var dnsResolverProperties_DnsResolverState_STATUS_Values = map[string]DnsResolverProperties_DnsResolverState_STATUS{
+ "connected": DnsResolverProperties_DnsResolverState_STATUS_Connected,
+ "disconnected": DnsResolverProperties_DnsResolverState_STATUS_Disconnected,
+}
+
func init() {
SchemeBuilder.Register(&DnsResolver{}, &DnsResolverList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_inbound_endpoint_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_inbound_endpoint_types_gen.go
index d36ce17ab6..7b1bfd18e4 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_inbound_endpoint_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_inbound_endpoint_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &DnsResolversInboundEndpoint{}
// ConvertFrom populates our DnsResolversInboundEndpoint from the provided hub DnsResolversInboundEndpoint
func (endpoint *DnsResolversInboundEndpoint) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.DnsResolversInboundEndpoint)
+ source, ok := hub.(*storage.DnsResolversInboundEndpoint)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsResolversInboundEndpoint but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (endpoint *DnsResolversInboundEndpoint) ConvertFrom(hub conversion.Hub) err
// ConvertTo populates the provided hub DnsResolversInboundEndpoint from our DnsResolversInboundEndpoint
func (endpoint *DnsResolversInboundEndpoint) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.DnsResolversInboundEndpoint)
+ destination, ok := hub.(*storage.DnsResolversInboundEndpoint)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsResolversInboundEndpoint but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (endpoint *DnsResolversInboundEndpoint) validateWriteOnceProperties(old run
}
// AssignProperties_From_DnsResolversInboundEndpoint populates our DnsResolversInboundEndpoint from the provided source DnsResolversInboundEndpoint
-func (endpoint *DnsResolversInboundEndpoint) AssignProperties_From_DnsResolversInboundEndpoint(source *v20220701s.DnsResolversInboundEndpoint) error {
+func (endpoint *DnsResolversInboundEndpoint) AssignProperties_From_DnsResolversInboundEndpoint(source *storage.DnsResolversInboundEndpoint) error {
// ObjectMeta
endpoint.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (endpoint *DnsResolversInboundEndpoint) AssignProperties_From_DnsResolversI
}
// AssignProperties_To_DnsResolversInboundEndpoint populates the provided destination DnsResolversInboundEndpoint from our DnsResolversInboundEndpoint
-func (endpoint *DnsResolversInboundEndpoint) AssignProperties_To_DnsResolversInboundEndpoint(destination *v20220701s.DnsResolversInboundEndpoint) error {
+func (endpoint *DnsResolversInboundEndpoint) AssignProperties_To_DnsResolversInboundEndpoint(destination *storage.DnsResolversInboundEndpoint) error {
// ObjectMeta
destination.ObjectMeta = *endpoint.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.DnsResolvers_InboundEndpoint_Spec
+ var spec storage.DnsResolvers_InboundEndpoint_Spec
err := endpoint.Spec.AssignProperties_To_DnsResolvers_InboundEndpoint_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsResolvers_InboundEndpoint_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (endpoint *DnsResolversInboundEndpoint) AssignProperties_To_DnsResolversInb
destination.Spec = spec
// Status
- var status v20220701s.DnsResolvers_InboundEndpoint_STATUS
+ var status storage.DnsResolvers_InboundEndpoint_STATUS
err = endpoint.Status.AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS() to populate field Status")
@@ -443,14 +443,14 @@ var _ genruntime.ConvertibleSpec = &DnsResolvers_InboundEndpoint_Spec{}
// ConvertSpecFrom populates our DnsResolvers_InboundEndpoint_Spec from the provided source
func (endpoint *DnsResolvers_InboundEndpoint_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.DnsResolvers_InboundEndpoint_Spec)
+ src, ok := source.(*storage.DnsResolvers_InboundEndpoint_Spec)
if ok {
// Populate our instance from source
return endpoint.AssignProperties_From_DnsResolvers_InboundEndpoint_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsResolvers_InboundEndpoint_Spec{}
+ src = &storage.DnsResolvers_InboundEndpoint_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -467,14 +467,14 @@ func (endpoint *DnsResolvers_InboundEndpoint_Spec) ConvertSpecFrom(source genrun
// ConvertSpecTo populates the provided destination from our DnsResolvers_InboundEndpoint_Spec
func (endpoint *DnsResolvers_InboundEndpoint_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.DnsResolvers_InboundEndpoint_Spec)
+ dst, ok := destination.(*storage.DnsResolvers_InboundEndpoint_Spec)
if ok {
// Populate destination from our instance
return endpoint.AssignProperties_To_DnsResolvers_InboundEndpoint_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsResolvers_InboundEndpoint_Spec{}
+ dst = &storage.DnsResolvers_InboundEndpoint_Spec{}
err := endpoint.AssignProperties_To_DnsResolvers_InboundEndpoint_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -490,7 +490,7 @@ func (endpoint *DnsResolvers_InboundEndpoint_Spec) ConvertSpecTo(destination gen
}
// AssignProperties_From_DnsResolvers_InboundEndpoint_Spec populates our DnsResolvers_InboundEndpoint_Spec from the provided source DnsResolvers_InboundEndpoint_Spec
-func (endpoint *DnsResolvers_InboundEndpoint_Spec) AssignProperties_From_DnsResolvers_InboundEndpoint_Spec(source *v20220701s.DnsResolvers_InboundEndpoint_Spec) error {
+func (endpoint *DnsResolvers_InboundEndpoint_Spec) AssignProperties_From_DnsResolvers_InboundEndpoint_Spec(source *storage.DnsResolvers_InboundEndpoint_Spec) error {
// AzureName
endpoint.AzureName = source.AzureName
@@ -532,7 +532,7 @@ func (endpoint *DnsResolvers_InboundEndpoint_Spec) AssignProperties_From_DnsReso
}
// AssignProperties_To_DnsResolvers_InboundEndpoint_Spec populates the provided destination DnsResolvers_InboundEndpoint_Spec from our DnsResolvers_InboundEndpoint_Spec
-func (endpoint *DnsResolvers_InboundEndpoint_Spec) AssignProperties_To_DnsResolvers_InboundEndpoint_Spec(destination *v20220701s.DnsResolvers_InboundEndpoint_Spec) error {
+func (endpoint *DnsResolvers_InboundEndpoint_Spec) AssignProperties_To_DnsResolvers_InboundEndpoint_Spec(destination *storage.DnsResolvers_InboundEndpoint_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -541,11 +541,11 @@ func (endpoint *DnsResolvers_InboundEndpoint_Spec) AssignProperties_To_DnsResolv
// IpConfigurations
if endpoint.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.IpConfiguration, len(endpoint.IpConfigurations))
+ ipConfigurationList := make([]storage.IpConfiguration, len(endpoint.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range endpoint.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.IpConfiguration
+ var ipConfiguration storage.IpConfiguration
err := ipConfigurationItem.AssignProperties_To_IpConfiguration(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpConfiguration() to populate field IpConfigurations")
@@ -667,14 +667,14 @@ var _ genruntime.ConvertibleStatus = &DnsResolvers_InboundEndpoint_STATUS{}
// ConvertStatusFrom populates our DnsResolvers_InboundEndpoint_STATUS from the provided source
func (endpoint *DnsResolvers_InboundEndpoint_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.DnsResolvers_InboundEndpoint_STATUS)
+ src, ok := source.(*storage.DnsResolvers_InboundEndpoint_STATUS)
if ok {
// Populate our instance from source
return endpoint.AssignProperties_From_DnsResolvers_InboundEndpoint_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsResolvers_InboundEndpoint_STATUS{}
+ src = &storage.DnsResolvers_InboundEndpoint_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -691,14 +691,14 @@ func (endpoint *DnsResolvers_InboundEndpoint_STATUS) ConvertStatusFrom(source ge
// ConvertStatusTo populates the provided destination from our DnsResolvers_InboundEndpoint_STATUS
func (endpoint *DnsResolvers_InboundEndpoint_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.DnsResolvers_InboundEndpoint_STATUS)
+ dst, ok := destination.(*storage.DnsResolvers_InboundEndpoint_STATUS)
if ok {
// Populate destination from our instance
return endpoint.AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsResolvers_InboundEndpoint_STATUS{}
+ dst = &storage.DnsResolvers_InboundEndpoint_STATUS{}
err := endpoint.AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -814,7 +814,7 @@ func (endpoint *DnsResolvers_InboundEndpoint_STATUS) PopulateFromARM(owner genru
}
// AssignProperties_From_DnsResolvers_InboundEndpoint_STATUS populates our DnsResolvers_InboundEndpoint_STATUS from the provided source DnsResolvers_InboundEndpoint_STATUS
-func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_From_DnsResolvers_InboundEndpoint_STATUS(source *v20220701s.DnsResolvers_InboundEndpoint_STATUS) error {
+func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_From_DnsResolvers_InboundEndpoint_STATUS(source *storage.DnsResolvers_InboundEndpoint_STATUS) error {
// Conditions
endpoint.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -851,8 +851,9 @@ func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_From_DnsRe
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := DnsresolverProvisioningState_STATUS(*source.ProvisioningState)
- endpoint.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, dnsresolverProvisioningState_STATUS_Values)
+ endpoint.ProvisioningState = &provisioningStateTemp
} else {
endpoint.ProvisioningState = nil
}
@@ -883,7 +884,7 @@ func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_From_DnsRe
}
// AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS populates the provided destination DnsResolvers_InboundEndpoint_STATUS from our DnsResolvers_InboundEndpoint_STATUS
-func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS(destination *v20220701s.DnsResolvers_InboundEndpoint_STATUS) error {
+func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_To_DnsResolvers_InboundEndpoint_STATUS(destination *storage.DnsResolvers_InboundEndpoint_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -898,11 +899,11 @@ func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_To_DnsReso
// IpConfigurations
if endpoint.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.IpConfiguration_STATUS, len(endpoint.IpConfigurations))
+ ipConfigurationList := make([]storage.IpConfiguration_STATUS, len(endpoint.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range endpoint.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.IpConfiguration_STATUS
+ var ipConfiguration storage.IpConfiguration_STATUS
err := ipConfigurationItem.AssignProperties_To_IpConfiguration_STATUS(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpConfiguration_STATUS() to populate field IpConfigurations")
@@ -933,7 +934,7 @@ func (endpoint *DnsResolvers_InboundEndpoint_STATUS) AssignProperties_To_DnsReso
// SystemData
if endpoint.SystemData != nil {
- var systemDatum v20220701s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := endpoint.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
@@ -1046,15 +1047,16 @@ func (configuration *IpConfiguration) PopulateFromARM(owner genruntime.Arbitrary
}
// AssignProperties_From_IpConfiguration populates our IpConfiguration from the provided source IpConfiguration
-func (configuration *IpConfiguration) AssignProperties_From_IpConfiguration(source *v20220701s.IpConfiguration) error {
+func (configuration *IpConfiguration) AssignProperties_From_IpConfiguration(source *storage.IpConfiguration) error {
// PrivateIpAddress
configuration.PrivateIpAddress = genruntime.ClonePointerToString(source.PrivateIpAddress)
// PrivateIpAllocationMethod
if source.PrivateIpAllocationMethod != nil {
- privateIpAllocationMethod := IpConfiguration_PrivateIpAllocationMethod(*source.PrivateIpAllocationMethod)
- configuration.PrivateIpAllocationMethod = &privateIpAllocationMethod
+ privateIpAllocationMethod := *source.PrivateIpAllocationMethod
+ privateIpAllocationMethodTemp := genruntime.ToEnum(privateIpAllocationMethod, ipConfiguration_PrivateIpAllocationMethod_Values)
+ configuration.PrivateIpAllocationMethod = &privateIpAllocationMethodTemp
} else {
configuration.PrivateIpAllocationMethod = nil
}
@@ -1076,7 +1078,7 @@ func (configuration *IpConfiguration) AssignProperties_From_IpConfiguration(sour
}
// AssignProperties_To_IpConfiguration populates the provided destination IpConfiguration from our IpConfiguration
-func (configuration *IpConfiguration) AssignProperties_To_IpConfiguration(destination *v20220701s.IpConfiguration) error {
+func (configuration *IpConfiguration) AssignProperties_To_IpConfiguration(destination *storage.IpConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1093,7 +1095,7 @@ func (configuration *IpConfiguration) AssignProperties_To_IpConfiguration(destin
// Subnet
if configuration.Subnet != nil {
- var subnet v20220701s.DnsresolverSubResource
+ var subnet storage.DnsresolverSubResource
err := configuration.Subnet.AssignProperties_To_DnsresolverSubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource() to populate field Subnet")
@@ -1122,7 +1124,7 @@ func (configuration *IpConfiguration) Initialize_From_IpConfiguration_STATUS(sou
// PrivateIpAllocationMethod
if source.PrivateIpAllocationMethod != nil {
- privateIpAllocationMethod := IpConfiguration_PrivateIpAllocationMethod(*source.PrivateIpAllocationMethod)
+ privateIpAllocationMethod := genruntime.ToEnum(string(*source.PrivateIpAllocationMethod), ipConfiguration_PrivateIpAllocationMethod_Values)
configuration.PrivateIpAllocationMethod = &privateIpAllocationMethod
} else {
configuration.PrivateIpAllocationMethod = nil
@@ -1198,15 +1200,16 @@ func (configuration *IpConfiguration_STATUS) PopulateFromARM(owner genruntime.Ar
}
// AssignProperties_From_IpConfiguration_STATUS populates our IpConfiguration_STATUS from the provided source IpConfiguration_STATUS
-func (configuration *IpConfiguration_STATUS) AssignProperties_From_IpConfiguration_STATUS(source *v20220701s.IpConfiguration_STATUS) error {
+func (configuration *IpConfiguration_STATUS) AssignProperties_From_IpConfiguration_STATUS(source *storage.IpConfiguration_STATUS) error {
// PrivateIpAddress
configuration.PrivateIpAddress = genruntime.ClonePointerToString(source.PrivateIpAddress)
// PrivateIpAllocationMethod
if source.PrivateIpAllocationMethod != nil {
- privateIpAllocationMethod := IpConfiguration_PrivateIpAllocationMethod_STATUS(*source.PrivateIpAllocationMethod)
- configuration.PrivateIpAllocationMethod = &privateIpAllocationMethod
+ privateIpAllocationMethod := *source.PrivateIpAllocationMethod
+ privateIpAllocationMethodTemp := genruntime.ToEnum(privateIpAllocationMethod, ipConfiguration_PrivateIpAllocationMethod_STATUS_Values)
+ configuration.PrivateIpAllocationMethod = &privateIpAllocationMethodTemp
} else {
configuration.PrivateIpAllocationMethod = nil
}
@@ -1228,7 +1231,7 @@ func (configuration *IpConfiguration_STATUS) AssignProperties_From_IpConfigurati
}
// AssignProperties_To_IpConfiguration_STATUS populates the provided destination IpConfiguration_STATUS from our IpConfiguration_STATUS
-func (configuration *IpConfiguration_STATUS) AssignProperties_To_IpConfiguration_STATUS(destination *v20220701s.IpConfiguration_STATUS) error {
+func (configuration *IpConfiguration_STATUS) AssignProperties_To_IpConfiguration_STATUS(destination *storage.IpConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1245,7 +1248,7 @@ func (configuration *IpConfiguration_STATUS) AssignProperties_To_IpConfiguration
// Subnet
if configuration.Subnet != nil {
- var subnet v20220701s.DnsresolverSubResource_STATUS
+ var subnet storage.DnsresolverSubResource_STATUS
err := configuration.Subnet.AssignProperties_To_DnsresolverSubResource_STATUS(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource_STATUS() to populate field Subnet")
@@ -1274,6 +1277,12 @@ const (
IpConfiguration_PrivateIpAllocationMethod_Static = IpConfiguration_PrivateIpAllocationMethod("Static")
)
+// Mapping from string to IpConfiguration_PrivateIpAllocationMethod
+var ipConfiguration_PrivateIpAllocationMethod_Values = map[string]IpConfiguration_PrivateIpAllocationMethod{
+ "dynamic": IpConfiguration_PrivateIpAllocationMethod_Dynamic,
+ "static": IpConfiguration_PrivateIpAllocationMethod_Static,
+}
+
type IpConfiguration_PrivateIpAllocationMethod_STATUS string
const (
@@ -1281,6 +1290,12 @@ const (
IpConfiguration_PrivateIpAllocationMethod_STATUS_Static = IpConfiguration_PrivateIpAllocationMethod_STATUS("Static")
)
+// Mapping from string to IpConfiguration_PrivateIpAllocationMethod_STATUS
+var ipConfiguration_PrivateIpAllocationMethod_STATUS_Values = map[string]IpConfiguration_PrivateIpAllocationMethod_STATUS{
+ "dynamic": IpConfiguration_PrivateIpAllocationMethod_STATUS_Dynamic,
+ "static": IpConfiguration_PrivateIpAllocationMethod_STATUS_Static,
+}
+
func init() {
SchemeBuilder.Register(&DnsResolversInboundEndpoint{}, &DnsResolversInboundEndpointList{})
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_outbound_endpoint_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_outbound_endpoint_types_gen.go
index f294b7dd2b..e8c941d2a0 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_outbound_endpoint_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/dns_resolvers_outbound_endpoint_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &DnsResolversOutboundEndpoint{}
// ConvertFrom populates our DnsResolversOutboundEndpoint from the provided hub DnsResolversOutboundEndpoint
func (endpoint *DnsResolversOutboundEndpoint) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.DnsResolversOutboundEndpoint)
+ source, ok := hub.(*storage.DnsResolversOutboundEndpoint)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsResolversOutboundEndpoint but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (endpoint *DnsResolversOutboundEndpoint) ConvertFrom(hub conversion.Hub) er
// ConvertTo populates the provided hub DnsResolversOutboundEndpoint from our DnsResolversOutboundEndpoint
func (endpoint *DnsResolversOutboundEndpoint) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.DnsResolversOutboundEndpoint)
+ destination, ok := hub.(*storage.DnsResolversOutboundEndpoint)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/DnsResolversOutboundEndpoint but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (endpoint *DnsResolversOutboundEndpoint) validateWriteOnceProperties(old ru
}
// AssignProperties_From_DnsResolversOutboundEndpoint populates our DnsResolversOutboundEndpoint from the provided source DnsResolversOutboundEndpoint
-func (endpoint *DnsResolversOutboundEndpoint) AssignProperties_From_DnsResolversOutboundEndpoint(source *v20220701s.DnsResolversOutboundEndpoint) error {
+func (endpoint *DnsResolversOutboundEndpoint) AssignProperties_From_DnsResolversOutboundEndpoint(source *storage.DnsResolversOutboundEndpoint) error {
// ObjectMeta
endpoint.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (endpoint *DnsResolversOutboundEndpoint) AssignProperties_From_DnsResolvers
}
// AssignProperties_To_DnsResolversOutboundEndpoint populates the provided destination DnsResolversOutboundEndpoint from our DnsResolversOutboundEndpoint
-func (endpoint *DnsResolversOutboundEndpoint) AssignProperties_To_DnsResolversOutboundEndpoint(destination *v20220701s.DnsResolversOutboundEndpoint) error {
+func (endpoint *DnsResolversOutboundEndpoint) AssignProperties_To_DnsResolversOutboundEndpoint(destination *storage.DnsResolversOutboundEndpoint) error {
// ObjectMeta
destination.ObjectMeta = *endpoint.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.DnsResolvers_OutboundEndpoint_Spec
+ var spec storage.DnsResolvers_OutboundEndpoint_Spec
err := endpoint.Spec.AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (endpoint *DnsResolversOutboundEndpoint) AssignProperties_To_DnsResolversOu
destination.Spec = spec
// Status
- var status v20220701s.DnsResolvers_OutboundEndpoint_STATUS
+ var status storage.DnsResolvers_OutboundEndpoint_STATUS
err = endpoint.Status.AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS() to populate field Status")
@@ -445,14 +445,14 @@ var _ genruntime.ConvertibleSpec = &DnsResolvers_OutboundEndpoint_Spec{}
// ConvertSpecFrom populates our DnsResolvers_OutboundEndpoint_Spec from the provided source
func (endpoint *DnsResolvers_OutboundEndpoint_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.DnsResolvers_OutboundEndpoint_Spec)
+ src, ok := source.(*storage.DnsResolvers_OutboundEndpoint_Spec)
if ok {
// Populate our instance from source
return endpoint.AssignProperties_From_DnsResolvers_OutboundEndpoint_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsResolvers_OutboundEndpoint_Spec{}
+ src = &storage.DnsResolvers_OutboundEndpoint_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -469,14 +469,14 @@ func (endpoint *DnsResolvers_OutboundEndpoint_Spec) ConvertSpecFrom(source genru
// ConvertSpecTo populates the provided destination from our DnsResolvers_OutboundEndpoint_Spec
func (endpoint *DnsResolvers_OutboundEndpoint_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.DnsResolvers_OutboundEndpoint_Spec)
+ dst, ok := destination.(*storage.DnsResolvers_OutboundEndpoint_Spec)
if ok {
// Populate destination from our instance
return endpoint.AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsResolvers_OutboundEndpoint_Spec{}
+ dst = &storage.DnsResolvers_OutboundEndpoint_Spec{}
err := endpoint.AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -492,7 +492,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_Spec) ConvertSpecTo(destination ge
}
// AssignProperties_From_DnsResolvers_OutboundEndpoint_Spec populates our DnsResolvers_OutboundEndpoint_Spec from the provided source DnsResolvers_OutboundEndpoint_Spec
-func (endpoint *DnsResolvers_OutboundEndpoint_Spec) AssignProperties_From_DnsResolvers_OutboundEndpoint_Spec(source *v20220701s.DnsResolvers_OutboundEndpoint_Spec) error {
+func (endpoint *DnsResolvers_OutboundEndpoint_Spec) AssignProperties_From_DnsResolvers_OutboundEndpoint_Spec(source *storage.DnsResolvers_OutboundEndpoint_Spec) error {
// AzureName
endpoint.AzureName = source.AzureName
@@ -528,7 +528,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_Spec) AssignProperties_From_DnsRes
}
// AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec populates the provided destination DnsResolvers_OutboundEndpoint_Spec from our DnsResolvers_OutboundEndpoint_Spec
-func (endpoint *DnsResolvers_OutboundEndpoint_Spec) AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec(destination *v20220701s.DnsResolvers_OutboundEndpoint_Spec) error {
+func (endpoint *DnsResolvers_OutboundEndpoint_Spec) AssignProperties_To_DnsResolvers_OutboundEndpoint_Spec(destination *storage.DnsResolvers_OutboundEndpoint_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -551,7 +551,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_Spec) AssignProperties_To_DnsResol
// Subnet
if endpoint.Subnet != nil {
- var subnet v20220701s.DnsresolverSubResource
+ var subnet storage.DnsresolverSubResource
err := endpoint.Subnet.AssignProperties_To_DnsresolverSubResource(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource() to populate field Subnet")
@@ -651,14 +651,14 @@ var _ genruntime.ConvertibleStatus = &DnsResolvers_OutboundEndpoint_STATUS{}
// ConvertStatusFrom populates our DnsResolvers_OutboundEndpoint_STATUS from the provided source
func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.DnsResolvers_OutboundEndpoint_STATUS)
+ src, ok := source.(*storage.DnsResolvers_OutboundEndpoint_STATUS)
if ok {
// Populate our instance from source
return endpoint.AssignProperties_From_DnsResolvers_OutboundEndpoint_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.DnsResolvers_OutboundEndpoint_STATUS{}
+ src = &storage.DnsResolvers_OutboundEndpoint_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -675,14 +675,14 @@ func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) ConvertStatusFrom(source g
// ConvertStatusTo populates the provided destination from our DnsResolvers_OutboundEndpoint_STATUS
func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.DnsResolvers_OutboundEndpoint_STATUS)
+ dst, ok := destination.(*storage.DnsResolvers_OutboundEndpoint_STATUS)
if ok {
// Populate destination from our instance
return endpoint.AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.DnsResolvers_OutboundEndpoint_STATUS{}
+ dst = &storage.DnsResolvers_OutboundEndpoint_STATUS{}
err := endpoint.AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -799,7 +799,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_DnsResolvers_OutboundEndpoint_STATUS populates our DnsResolvers_OutboundEndpoint_STATUS from the provided source DnsResolvers_OutboundEndpoint_STATUS
-func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_From_DnsResolvers_OutboundEndpoint_STATUS(source *v20220701s.DnsResolvers_OutboundEndpoint_STATUS) error {
+func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_From_DnsResolvers_OutboundEndpoint_STATUS(source *storage.DnsResolvers_OutboundEndpoint_STATUS) error {
// Conditions
endpoint.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -818,8 +818,9 @@ func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_From_DnsR
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := DnsresolverProvisioningState_STATUS(*source.ProvisioningState)
- endpoint.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, dnsresolverProvisioningState_STATUS_Values)
+ endpoint.ProvisioningState = &provisioningStateTemp
} else {
endpoint.ProvisioningState = nil
}
@@ -862,7 +863,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_From_DnsR
}
// AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS populates the provided destination DnsResolvers_OutboundEndpoint_STATUS from our DnsResolvers_OutboundEndpoint_STATUS
-func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS(destination *v20220701s.DnsResolvers_OutboundEndpoint_STATUS) error {
+func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_To_DnsResolvers_OutboundEndpoint_STATUS(destination *storage.DnsResolvers_OutboundEndpoint_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -894,7 +895,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_To_DnsRes
// Subnet
if endpoint.Subnet != nil {
- var subnet v20220701s.DnsresolverSubResource_STATUS
+ var subnet storage.DnsresolverSubResource_STATUS
err := endpoint.Subnet.AssignProperties_To_DnsresolverSubResource_STATUS(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_DnsresolverSubResource_STATUS() to populate field Subnet")
@@ -906,7 +907,7 @@ func (endpoint *DnsResolvers_OutboundEndpoint_STATUS) AssignProperties_To_DnsRes
// SystemData
if endpoint.SystemData != nil {
- var systemDatum v20220701s.SystemData_STATUS
+ var systemDatum storage.SystemData_STATUS
err := endpoint.SystemData.AssignProperties_To_SystemData_STATUS(&systemDatum)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_SystemData_STATUS() to populate field SystemData")
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_spec_arm_types_gen.go
index f97c5f21e4..28e44667e0 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_spec_arm_types_gen.go
@@ -62,3 +62,8 @@ type NatGatewaySku_ARM struct {
type NatGatewaySku_Name string
const NatGatewaySku_Name_Standard = NatGatewaySku_Name("Standard")
+
+// Mapping from string to NatGatewaySku_Name
+var natGatewaySku_Name_Values = map[string]NatGatewaySku_Name{
+ "standard": NatGatewaySku_Name_Standard,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_status_arm_types_gen.go
index ef689941f2..40f881e558 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_status_arm_types_gen.go
@@ -63,3 +63,8 @@ type NatGatewaySku_STATUS_ARM struct {
type NatGatewaySku_Name_STATUS string
const NatGatewaySku_Name_STATUS_Standard = NatGatewaySku_Name_STATUS("Standard")
+
+// Mapping from string to NatGatewaySku_Name_STATUS
+var natGatewaySku_Name_STATUS_Values = map[string]NatGatewaySku_Name_STATUS{
+ "standard": NatGatewaySku_Name_STATUS_Standard,
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_types_gen.go
index b31b96e155..3f9c587b53 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/nat_gateway_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &NatGateway{}
// ConvertFrom populates our NatGateway from the provided hub NatGateway
func (gateway *NatGateway) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.NatGateway)
+ source, ok := hub.(*storage.NatGateway)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/NatGateway but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (gateway *NatGateway) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub NatGateway from our NatGateway
func (gateway *NatGateway) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.NatGateway)
+ destination, ok := hub.(*storage.NatGateway)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/NatGateway but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (gateway *NatGateway) validateWriteOnceProperties(old runtime.Object) (admi
}
// AssignProperties_From_NatGateway populates our NatGateway from the provided source NatGateway
-func (gateway *NatGateway) AssignProperties_From_NatGateway(source *v20220701s.NatGateway) error {
+func (gateway *NatGateway) AssignProperties_From_NatGateway(source *storage.NatGateway) error {
// ObjectMeta
gateway.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (gateway *NatGateway) AssignProperties_From_NatGateway(source *v20220701s.N
}
// AssignProperties_To_NatGateway populates the provided destination NatGateway from our NatGateway
-func (gateway *NatGateway) AssignProperties_To_NatGateway(destination *v20220701s.NatGateway) error {
+func (gateway *NatGateway) AssignProperties_To_NatGateway(destination *storage.NatGateway) error {
// ObjectMeta
destination.ObjectMeta = *gateway.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.NatGateway_Spec
+ var spec storage.NatGateway_Spec
err := gateway.Spec.AssignProperties_To_NatGateway_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGateway_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (gateway *NatGateway) AssignProperties_To_NatGateway(destination *v20220701
destination.Spec = spec
// Status
- var status v20220701s.NatGateway_STATUS
+ var status storage.NatGateway_STATUS
err = gateway.Status.AssignProperties_To_NatGateway_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGateway_STATUS() to populate field Status")
@@ -519,14 +519,14 @@ var _ genruntime.ConvertibleSpec = &NatGateway_Spec{}
// ConvertSpecFrom populates our NatGateway_Spec from the provided source
func (gateway *NatGateway_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.NatGateway_Spec)
+ src, ok := source.(*storage.NatGateway_Spec)
if ok {
// Populate our instance from source
return gateway.AssignProperties_From_NatGateway_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.NatGateway_Spec{}
+ src = &storage.NatGateway_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -543,14 +543,14 @@ func (gateway *NatGateway_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpe
// ConvertSpecTo populates the provided destination from our NatGateway_Spec
func (gateway *NatGateway_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.NatGateway_Spec)
+ dst, ok := destination.(*storage.NatGateway_Spec)
if ok {
// Populate destination from our instance
return gateway.AssignProperties_To_NatGateway_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.NatGateway_Spec{}
+ dst = &storage.NatGateway_Spec{}
err := gateway.AssignProperties_To_NatGateway_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -566,7 +566,7 @@ func (gateway *NatGateway_Spec) ConvertSpecTo(destination genruntime.Convertible
}
// AssignProperties_From_NatGateway_Spec populates our NatGateway_Spec from the provided source NatGateway_Spec
-func (gateway *NatGateway_Spec) AssignProperties_From_NatGateway_Spec(source *v20220701s.NatGateway_Spec) error {
+func (gateway *NatGateway_Spec) AssignProperties_From_NatGateway_Spec(source *storage.NatGateway_Spec) error {
// AzureName
gateway.AzureName = source.AzureName
@@ -644,7 +644,7 @@ func (gateway *NatGateway_Spec) AssignProperties_From_NatGateway_Spec(source *v2
}
// AssignProperties_To_NatGateway_Spec populates the provided destination NatGateway_Spec from our NatGateway_Spec
-func (gateway *NatGateway_Spec) AssignProperties_To_NatGateway_Spec(destination *v20220701s.NatGateway_Spec) error {
+func (gateway *NatGateway_Spec) AssignProperties_To_NatGateway_Spec(destination *storage.NatGateway_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -670,11 +670,11 @@ func (gateway *NatGateway_Spec) AssignProperties_To_NatGateway_Spec(destination
// PublicIpAddresses
if gateway.PublicIpAddresses != nil {
- publicIpAddressList := make([]v20220701s.ApplicationGatewaySubResource, len(gateway.PublicIpAddresses))
+ publicIpAddressList := make([]storage.ApplicationGatewaySubResource, len(gateway.PublicIpAddresses))
for publicIpAddressIndex, publicIpAddressItem := range gateway.PublicIpAddresses {
// Shadow the loop variable to avoid aliasing
publicIpAddressItem := publicIpAddressItem
- var publicIpAddress v20220701s.ApplicationGatewaySubResource
+ var publicIpAddress storage.ApplicationGatewaySubResource
err := publicIpAddressItem.AssignProperties_To_ApplicationGatewaySubResource(&publicIpAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field PublicIpAddresses")
@@ -688,11 +688,11 @@ func (gateway *NatGateway_Spec) AssignProperties_To_NatGateway_Spec(destination
// PublicIpPrefixes
if gateway.PublicIpPrefixes != nil {
- publicIpPrefixList := make([]v20220701s.ApplicationGatewaySubResource, len(gateway.PublicIpPrefixes))
+ publicIpPrefixList := make([]storage.ApplicationGatewaySubResource, len(gateway.PublicIpPrefixes))
for publicIpPrefixIndex, publicIpPrefixItem := range gateway.PublicIpPrefixes {
// Shadow the loop variable to avoid aliasing
publicIpPrefixItem := publicIpPrefixItem
- var publicIpPrefix v20220701s.ApplicationGatewaySubResource
+ var publicIpPrefix storage.ApplicationGatewaySubResource
err := publicIpPrefixItem.AssignProperties_To_ApplicationGatewaySubResource(&publicIpPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource() to populate field PublicIpPrefixes")
@@ -706,7 +706,7 @@ func (gateway *NatGateway_Spec) AssignProperties_To_NatGateway_Spec(destination
// Sku
if gateway.Sku != nil {
- var sku v20220701s.NatGatewaySku
+ var sku storage.NatGatewaySku
err := gateway.Sku.AssignProperties_To_NatGatewaySku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGatewaySku() to populate field Sku")
@@ -860,14 +860,14 @@ var _ genruntime.ConvertibleStatus = &NatGateway_STATUS{}
// ConvertStatusFrom populates our NatGateway_STATUS from the provided source
func (gateway *NatGateway_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.NatGateway_STATUS)
+ src, ok := source.(*storage.NatGateway_STATUS)
if ok {
// Populate our instance from source
return gateway.AssignProperties_From_NatGateway_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.NatGateway_STATUS{}
+ src = &storage.NatGateway_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -884,14 +884,14 @@ func (gateway *NatGateway_STATUS) ConvertStatusFrom(source genruntime.Convertibl
// ConvertStatusTo populates the provided destination from our NatGateway_STATUS
func (gateway *NatGateway_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.NatGateway_STATUS)
+ dst, ok := destination.(*storage.NatGateway_STATUS)
if ok {
// Populate destination from our instance
return gateway.AssignProperties_To_NatGateway_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.NatGateway_STATUS{}
+ dst = &storage.NatGateway_STATUS{}
err := gateway.AssignProperties_To_NatGateway_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1047,7 +1047,7 @@ func (gateway *NatGateway_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_NatGateway_STATUS populates our NatGateway_STATUS from the provided source NatGateway_STATUS
-func (gateway *NatGateway_STATUS) AssignProperties_From_NatGateway_STATUS(source *v20220701s.NatGateway_STATUS) error {
+func (gateway *NatGateway_STATUS) AssignProperties_From_NatGateway_STATUS(source *storage.NatGateway_STATUS) error {
// Conditions
gateway.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -1069,8 +1069,9 @@ func (gateway *NatGateway_STATUS) AssignProperties_From_NatGateway_STATUS(source
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ApplicationGatewayProvisioningState_STATUS(*source.ProvisioningState)
- gateway.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, applicationGatewayProvisioningState_STATUS_Values)
+ gateway.ProvisioningState = &provisioningStateTemp
} else {
gateway.ProvisioningState = nil
}
@@ -1158,7 +1159,7 @@ func (gateway *NatGateway_STATUS) AssignProperties_From_NatGateway_STATUS(source
}
// AssignProperties_To_NatGateway_STATUS populates the provided destination NatGateway_STATUS from our NatGateway_STATUS
-func (gateway *NatGateway_STATUS) AssignProperties_To_NatGateway_STATUS(destination *v20220701s.NatGateway_STATUS) error {
+func (gateway *NatGateway_STATUS) AssignProperties_To_NatGateway_STATUS(destination *storage.NatGateway_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1190,11 +1191,11 @@ func (gateway *NatGateway_STATUS) AssignProperties_To_NatGateway_STATUS(destinat
// PublicIpAddresses
if gateway.PublicIpAddresses != nil {
- publicIpAddressList := make([]v20220701s.ApplicationGatewaySubResource_STATUS, len(gateway.PublicIpAddresses))
+ publicIpAddressList := make([]storage.ApplicationGatewaySubResource_STATUS, len(gateway.PublicIpAddresses))
for publicIpAddressIndex, publicIpAddressItem := range gateway.PublicIpAddresses {
// Shadow the loop variable to avoid aliasing
publicIpAddressItem := publicIpAddressItem
- var publicIpAddress v20220701s.ApplicationGatewaySubResource_STATUS
+ var publicIpAddress storage.ApplicationGatewaySubResource_STATUS
err := publicIpAddressItem.AssignProperties_To_ApplicationGatewaySubResource_STATUS(&publicIpAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource_STATUS() to populate field PublicIpAddresses")
@@ -1208,11 +1209,11 @@ func (gateway *NatGateway_STATUS) AssignProperties_To_NatGateway_STATUS(destinat
// PublicIpPrefixes
if gateway.PublicIpPrefixes != nil {
- publicIpPrefixList := make([]v20220701s.ApplicationGatewaySubResource_STATUS, len(gateway.PublicIpPrefixes))
+ publicIpPrefixList := make([]storage.ApplicationGatewaySubResource_STATUS, len(gateway.PublicIpPrefixes))
for publicIpPrefixIndex, publicIpPrefixItem := range gateway.PublicIpPrefixes {
// Shadow the loop variable to avoid aliasing
publicIpPrefixItem := publicIpPrefixItem
- var publicIpPrefix v20220701s.ApplicationGatewaySubResource_STATUS
+ var publicIpPrefix storage.ApplicationGatewaySubResource_STATUS
err := publicIpPrefixItem.AssignProperties_To_ApplicationGatewaySubResource_STATUS(&publicIpPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource_STATUS() to populate field PublicIpPrefixes")
@@ -1229,7 +1230,7 @@ func (gateway *NatGateway_STATUS) AssignProperties_To_NatGateway_STATUS(destinat
// Sku
if gateway.Sku != nil {
- var sku v20220701s.NatGatewaySku_STATUS
+ var sku storage.NatGatewaySku_STATUS
err := gateway.Sku.AssignProperties_To_NatGatewaySku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGatewaySku_STATUS() to populate field Sku")
@@ -1241,11 +1242,11 @@ func (gateway *NatGateway_STATUS) AssignProperties_To_NatGateway_STATUS(destinat
// Subnets
if gateway.Subnets != nil {
- subnetList := make([]v20220701s.ApplicationGatewaySubResource_STATUS, len(gateway.Subnets))
+ subnetList := make([]storage.ApplicationGatewaySubResource_STATUS, len(gateway.Subnets))
for subnetIndex, subnetItem := range gateway.Subnets {
// Shadow the loop variable to avoid aliasing
subnetItem := subnetItem
- var subnet v20220701s.ApplicationGatewaySubResource_STATUS
+ var subnet storage.ApplicationGatewaySubResource_STATUS
err := subnetItem.AssignProperties_To_ApplicationGatewaySubResource_STATUS(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationGatewaySubResource_STATUS() to populate field Subnets")
@@ -1323,12 +1324,13 @@ func (gatewaySku *NatGatewaySku) PopulateFromARM(owner genruntime.ArbitraryOwner
}
// AssignProperties_From_NatGatewaySku populates our NatGatewaySku from the provided source NatGatewaySku
-func (gatewaySku *NatGatewaySku) AssignProperties_From_NatGatewaySku(source *v20220701s.NatGatewaySku) error {
+func (gatewaySku *NatGatewaySku) AssignProperties_From_NatGatewaySku(source *storage.NatGatewaySku) error {
// Name
if source.Name != nil {
- name := NatGatewaySku_Name(*source.Name)
- gatewaySku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, natGatewaySku_Name_Values)
+ gatewaySku.Name = &nameTemp
} else {
gatewaySku.Name = nil
}
@@ -1338,7 +1340,7 @@ func (gatewaySku *NatGatewaySku) AssignProperties_From_NatGatewaySku(source *v20
}
// AssignProperties_To_NatGatewaySku populates the provided destination NatGatewaySku from our NatGatewaySku
-func (gatewaySku *NatGatewaySku) AssignProperties_To_NatGatewaySku(destination *v20220701s.NatGatewaySku) error {
+func (gatewaySku *NatGatewaySku) AssignProperties_To_NatGatewaySku(destination *storage.NatGatewaySku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1366,7 +1368,7 @@ func (gatewaySku *NatGatewaySku) Initialize_From_NatGatewaySku_STATUS(source *Na
// Name
if source.Name != nil {
- name := NatGatewaySku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), natGatewaySku_Name_Values)
gatewaySku.Name = &name
} else {
gatewaySku.Name = nil
@@ -1407,12 +1409,13 @@ func (gatewaySku *NatGatewaySku_STATUS) PopulateFromARM(owner genruntime.Arbitra
}
// AssignProperties_From_NatGatewaySku_STATUS populates our NatGatewaySku_STATUS from the provided source NatGatewaySku_STATUS
-func (gatewaySku *NatGatewaySku_STATUS) AssignProperties_From_NatGatewaySku_STATUS(source *v20220701s.NatGatewaySku_STATUS) error {
+func (gatewaySku *NatGatewaySku_STATUS) AssignProperties_From_NatGatewaySku_STATUS(source *storage.NatGatewaySku_STATUS) error {
// Name
if source.Name != nil {
- name := NatGatewaySku_Name_STATUS(*source.Name)
- gatewaySku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, natGatewaySku_Name_STATUS_Values)
+ gatewaySku.Name = &nameTemp
} else {
gatewaySku.Name = nil
}
@@ -1422,7 +1425,7 @@ func (gatewaySku *NatGatewaySku_STATUS) AssignProperties_From_NatGatewaySku_STAT
}
// AssignProperties_To_NatGatewaySku_STATUS populates the provided destination NatGatewaySku_STATUS from our NatGatewaySku_STATUS
-func (gatewaySku *NatGatewaySku_STATUS) AssignProperties_To_NatGatewaySku_STATUS(destination *v20220701s.NatGatewaySku_STATUS) error {
+func (gatewaySku *NatGatewaySku_STATUS) AssignProperties_To_NatGatewaySku_STATUS(destination *storage.NatGatewaySku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_spec_arm_types_gen.go
index 0a0978931d..af2811a1bb 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_spec_arm_types_gen.go
@@ -80,6 +80,11 @@ type ExtendedLocationType string
const ExtendedLocationType_EdgeZone = ExtendedLocationType("EdgeZone")
+// Mapping from string to ExtendedLocationType
+var extendedLocationType_Values = map[string]ExtendedLocationType{
+ "edgezone": ExtendedLocationType_EdgeZone,
+}
+
// An IP Configuration of the private endpoint.
type PrivateEndpointIPConfiguration_ARM struct {
// Name: The name of the resource that is unique within a resource group.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_status_private_endpoint_sub_resource_embedded_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_status_private_endpoint_sub_resource_embedded_arm_types_gen.go
index 0ef7e6c0d4..d10f2a9802 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_status_private_endpoint_sub_resource_embedded_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_status_private_endpoint_sub_resource_embedded_arm_types_gen.go
@@ -91,6 +91,11 @@ type ExtendedLocationType_STATUS string
const ExtendedLocationType_STATUS_EdgeZone = ExtendedLocationType_STATUS("EdgeZone")
+// Mapping from string to ExtendedLocationType_STATUS
+var extendedLocationType_STATUS_Values = map[string]ExtendedLocationType_STATUS{
+ "edgezone": ExtendedLocationType_STATUS_EdgeZone,
+}
+
// A network interface in a resource group.
type NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded_ARM struct {
// Id: Resource ID.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_types_gen.go
index 2061a83269..d87cc05884 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoint_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &PrivateEndpoint{}
// ConvertFrom populates our PrivateEndpoint from the provided hub PrivateEndpoint
func (endpoint *PrivateEndpoint) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.PrivateEndpoint)
+ source, ok := hub.(*storage.PrivateEndpoint)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PrivateEndpoint but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (endpoint *PrivateEndpoint) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub PrivateEndpoint from our PrivateEndpoint
func (endpoint *PrivateEndpoint) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.PrivateEndpoint)
+ destination, ok := hub.(*storage.PrivateEndpoint)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PrivateEndpoint but received %T instead", hub)
}
@@ -208,7 +208,7 @@ func (endpoint *PrivateEndpoint) ValidateUpdate(old runtime.Object) (admission.W
// createValidations validates the creation of the resource
func (endpoint *PrivateEndpoint) createValidations() []func() (admission.Warnings, error) {
- return []func() (admission.Warnings, error){endpoint.validateResourceReferences, endpoint.validateOwnerReference}
+ return []func() (admission.Warnings, error){endpoint.validateResourceReferences, endpoint.validateOwnerReference, endpoint.validateConfigMapDestinations}
}
// deleteValidations validates the deletion of the resource
@@ -226,9 +226,26 @@ func (endpoint *PrivateEndpoint) updateValidations() []func(old runtime.Object)
func(old runtime.Object) (admission.Warnings, error) {
return endpoint.validateOwnerReference()
},
+ func(old runtime.Object) (admission.Warnings, error) {
+ return endpoint.validateConfigMapDestinations()
+ },
}
}
+// validateConfigMapDestinations validates there are no colliding genruntime.ConfigMapDestinations
+func (endpoint *PrivateEndpoint) validateConfigMapDestinations() (admission.Warnings, error) {
+ if endpoint.Spec.OperatorSpec == nil {
+ return nil, nil
+ }
+ if endpoint.Spec.OperatorSpec.ConfigMaps == nil {
+ return nil, nil
+ }
+ toValidate := []*genruntime.ConfigMapDestination{
+ endpoint.Spec.OperatorSpec.ConfigMaps.PrimaryNicPrivateIpAddress,
+ }
+ return genruntime.ValidateConfigMapDestinations(toValidate)
+}
+
// validateOwnerReference validates the owner field
func (endpoint *PrivateEndpoint) validateOwnerReference() (admission.Warnings, error) {
return genruntime.ValidateOwner(endpoint)
@@ -254,7 +271,7 @@ func (endpoint *PrivateEndpoint) validateWriteOnceProperties(old runtime.Object)
}
// AssignProperties_From_PrivateEndpoint populates our PrivateEndpoint from the provided source PrivateEndpoint
-func (endpoint *PrivateEndpoint) AssignProperties_From_PrivateEndpoint(source *v20220701s.PrivateEndpoint) error {
+func (endpoint *PrivateEndpoint) AssignProperties_From_PrivateEndpoint(source *storage.PrivateEndpoint) error {
// ObjectMeta
endpoint.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +297,13 @@ func (endpoint *PrivateEndpoint) AssignProperties_From_PrivateEndpoint(source *v
}
// AssignProperties_To_PrivateEndpoint populates the provided destination PrivateEndpoint from our PrivateEndpoint
-func (endpoint *PrivateEndpoint) AssignProperties_To_PrivateEndpoint(destination *v20220701s.PrivateEndpoint) error {
+func (endpoint *PrivateEndpoint) AssignProperties_To_PrivateEndpoint(destination *storage.PrivateEndpoint) error {
// ObjectMeta
destination.ObjectMeta = *endpoint.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.PrivateEndpoint_Spec
+ var spec storage.PrivateEndpoint_Spec
err := endpoint.Spec.AssignProperties_To_PrivateEndpoint_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpoint_Spec() to populate field Spec")
@@ -294,7 +311,7 @@ func (endpoint *PrivateEndpoint) AssignProperties_To_PrivateEndpoint(destination
destination.Spec = spec
// Status
- var status v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded
+ var status storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded
err = endpoint.Status.AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded() to populate field Status")
@@ -349,6 +366,10 @@ type PrivateEndpoint_Spec struct {
// the network admin does not have access to approve connections to the remote resource.
ManualPrivateLinkServiceConnections []PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"`
+ // OperatorSpec: The specification for configuring operator behavior. This field is interpreted by the operator and not
+ // passed directly to Azure
+ OperatorSpec *PrivateEndpointOperatorSpec `json:"operatorSpec,omitempty"`
+
// +kubebuilder:validation:Required
// Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also
// controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a
@@ -533,6 +554,8 @@ func (endpoint *PrivateEndpoint_Spec) PopulateFromARM(owner genruntime.Arbitrary
}
}
+ // no assignment for property "OperatorSpec"
+
// Set property "Owner":
endpoint.Owner = &genruntime.KnownResourceReference{
Name: owner.Name,
@@ -582,14 +605,14 @@ var _ genruntime.ConvertibleSpec = &PrivateEndpoint_Spec{}
// ConvertSpecFrom populates our PrivateEndpoint_Spec from the provided source
func (endpoint *PrivateEndpoint_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.PrivateEndpoint_Spec)
+ src, ok := source.(*storage.PrivateEndpoint_Spec)
if ok {
// Populate our instance from source
return endpoint.AssignProperties_From_PrivateEndpoint_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.PrivateEndpoint_Spec{}
+ src = &storage.PrivateEndpoint_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -606,14 +629,14 @@ func (endpoint *PrivateEndpoint_Spec) ConvertSpecFrom(source genruntime.Converti
// ConvertSpecTo populates the provided destination from our PrivateEndpoint_Spec
func (endpoint *PrivateEndpoint_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.PrivateEndpoint_Spec)
+ dst, ok := destination.(*storage.PrivateEndpoint_Spec)
if ok {
// Populate destination from our instance
return endpoint.AssignProperties_To_PrivateEndpoint_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PrivateEndpoint_Spec{}
+ dst = &storage.PrivateEndpoint_Spec{}
err := endpoint.AssignProperties_To_PrivateEndpoint_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -629,7 +652,7 @@ func (endpoint *PrivateEndpoint_Spec) ConvertSpecTo(destination genruntime.Conve
}
// AssignProperties_From_PrivateEndpoint_Spec populates our PrivateEndpoint_Spec from the provided source PrivateEndpoint_Spec
-func (endpoint *PrivateEndpoint_Spec) AssignProperties_From_PrivateEndpoint_Spec(source *v20220701s.PrivateEndpoint_Spec) error {
+func (endpoint *PrivateEndpoint_Spec) AssignProperties_From_PrivateEndpoint_Spec(source *storage.PrivateEndpoint_Spec) error {
// ApplicationSecurityGroups
if source.ApplicationSecurityGroups != nil {
@@ -706,6 +729,18 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_From_PrivateEndpoint_Spec
endpoint.ManualPrivateLinkServiceConnections = nil
}
+ // OperatorSpec
+ if source.OperatorSpec != nil {
+ var operatorSpec PrivateEndpointOperatorSpec
+ err := operatorSpec.AssignProperties_From_PrivateEndpointOperatorSpec(source.OperatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PrivateEndpointOperatorSpec() to populate field OperatorSpec")
+ }
+ endpoint.OperatorSpec = &operatorSpec
+ } else {
+ endpoint.OperatorSpec = nil
+ }
+
// Owner
if source.Owner != nil {
owner := source.Owner.Copy()
@@ -752,17 +787,17 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_From_PrivateEndpoint_Spec
}
// AssignProperties_To_PrivateEndpoint_Spec populates the provided destination PrivateEndpoint_Spec from our PrivateEndpoint_Spec
-func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(destination *v20220701s.PrivateEndpoint_Spec) error {
+func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(destination *storage.PrivateEndpoint_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ApplicationSecurityGroups
if endpoint.ApplicationSecurityGroups != nil {
- applicationSecurityGroupList := make([]v20220701s.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded, len(endpoint.ApplicationSecurityGroups))
+ applicationSecurityGroupList := make([]storage.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded, len(endpoint.ApplicationSecurityGroups))
for applicationSecurityGroupIndex, applicationSecurityGroupItem := range endpoint.ApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
applicationSecurityGroupItem := applicationSecurityGroupItem
- var applicationSecurityGroup v20220701s.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded
+ var applicationSecurityGroup storage.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded
err := applicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded(&applicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded() to populate field ApplicationSecurityGroups")
@@ -782,7 +817,7 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(d
// ExtendedLocation
if endpoint.ExtendedLocation != nil {
- var extendedLocation v20220701s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := endpoint.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -794,11 +829,11 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(d
// IpConfigurations
if endpoint.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.PrivateEndpointIPConfiguration, len(endpoint.IpConfigurations))
+ ipConfigurationList := make([]storage.PrivateEndpointIPConfiguration, len(endpoint.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range endpoint.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.PrivateEndpointIPConfiguration
+ var ipConfiguration storage.PrivateEndpointIPConfiguration
err := ipConfigurationItem.AssignProperties_To_PrivateEndpointIPConfiguration(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpointIPConfiguration() to populate field IpConfigurations")
@@ -815,11 +850,11 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(d
// ManualPrivateLinkServiceConnections
if endpoint.ManualPrivateLinkServiceConnections != nil {
- manualPrivateLinkServiceConnectionList := make([]v20220701s.PrivateLinkServiceConnection, len(endpoint.ManualPrivateLinkServiceConnections))
+ manualPrivateLinkServiceConnectionList := make([]storage.PrivateLinkServiceConnection, len(endpoint.ManualPrivateLinkServiceConnections))
for manualPrivateLinkServiceConnectionIndex, manualPrivateLinkServiceConnectionItem := range endpoint.ManualPrivateLinkServiceConnections {
// Shadow the loop variable to avoid aliasing
manualPrivateLinkServiceConnectionItem := manualPrivateLinkServiceConnectionItem
- var manualPrivateLinkServiceConnection v20220701s.PrivateLinkServiceConnection
+ var manualPrivateLinkServiceConnection storage.PrivateLinkServiceConnection
err := manualPrivateLinkServiceConnectionItem.AssignProperties_To_PrivateLinkServiceConnection(&manualPrivateLinkServiceConnection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceConnection() to populate field ManualPrivateLinkServiceConnections")
@@ -831,6 +866,18 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(d
destination.ManualPrivateLinkServiceConnections = nil
}
+ // OperatorSpec
+ if endpoint.OperatorSpec != nil {
+ var operatorSpec storage.PrivateEndpointOperatorSpec
+ err := endpoint.OperatorSpec.AssignProperties_To_PrivateEndpointOperatorSpec(&operatorSpec)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpointOperatorSpec() to populate field OperatorSpec")
+ }
+ destination.OperatorSpec = &operatorSpec
+ } else {
+ destination.OperatorSpec = nil
+ }
+
// OriginalVersion
destination.OriginalVersion = endpoint.OriginalVersion()
@@ -844,11 +891,11 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(d
// PrivateLinkServiceConnections
if endpoint.PrivateLinkServiceConnections != nil {
- privateLinkServiceConnectionList := make([]v20220701s.PrivateLinkServiceConnection, len(endpoint.PrivateLinkServiceConnections))
+ privateLinkServiceConnectionList := make([]storage.PrivateLinkServiceConnection, len(endpoint.PrivateLinkServiceConnections))
for privateLinkServiceConnectionIndex, privateLinkServiceConnectionItem := range endpoint.PrivateLinkServiceConnections {
// Shadow the loop variable to avoid aliasing
privateLinkServiceConnectionItem := privateLinkServiceConnectionItem
- var privateLinkServiceConnection v20220701s.PrivateLinkServiceConnection
+ var privateLinkServiceConnection storage.PrivateLinkServiceConnection
err := privateLinkServiceConnectionItem.AssignProperties_To_PrivateLinkServiceConnection(&privateLinkServiceConnection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceConnection() to populate field PrivateLinkServiceConnections")
@@ -862,7 +909,7 @@ func (endpoint *PrivateEndpoint_Spec) AssignProperties_To_PrivateEndpoint_Spec(d
// Subnet
if endpoint.Subnet != nil {
- var subnet v20220701s.Subnet_PrivateEndpoint_SubResourceEmbedded
+ var subnet storage.Subnet_PrivateEndpoint_SubResourceEmbedded
err := endpoint.Subnet.AssignProperties_To_Subnet_PrivateEndpoint_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_PrivateEndpoint_SubResourceEmbedded() to populate field Subnet")
@@ -1066,14 +1113,14 @@ var _ genruntime.ConvertibleStatus = &PrivateEndpoint_STATUS_PrivateEndpoint_Sub
// ConvertStatusFrom populates our PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded from the provided source
func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded)
+ src, ok := source.(*storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded)
if ok {
// Populate our instance from source
return embedded.AssignProperties_From_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(src)
}
// Convert to an intermediate form
- src = &v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded{}
+ src = &storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1090,14 +1137,14 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Conv
// ConvertStatusTo populates the provided destination from our PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded
func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded)
+ dst, ok := destination.(*storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded)
if ok {
// Populate destination from our instance
return embedded.AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded{}
+ dst = &storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded{}
err := embedded.AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1292,7 +1339,7 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Popu
}
// AssignProperties_From_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded populates our PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded from the provided source PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(source *v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(source *storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// ApplicationSecurityGroups
if source.ApplicationSecurityGroups != nil {
@@ -1434,8 +1481,9 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ApplicationGatewayProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, applicationGatewayProvisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -1463,17 +1511,17 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
}
// AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded populates the provided destination PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded from our PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *v20220701s.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *storage.PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ApplicationSecurityGroups
if embedded.ApplicationSecurityGroups != nil {
- applicationSecurityGroupList := make([]v20220701s.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded, len(embedded.ApplicationSecurityGroups))
+ applicationSecurityGroupList := make([]storage.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded, len(embedded.ApplicationSecurityGroups))
for applicationSecurityGroupIndex, applicationSecurityGroupItem := range embedded.ApplicationSecurityGroups {
// Shadow the loop variable to avoid aliasing
applicationSecurityGroupItem := applicationSecurityGroupItem
- var applicationSecurityGroup v20220701s.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded
+ var applicationSecurityGroup storage.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded
err := applicationSecurityGroupItem.AssignProperties_To_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(&applicationSecurityGroup)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded() to populate field ApplicationSecurityGroups")
@@ -1490,11 +1538,11 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// CustomDnsConfigs
if embedded.CustomDnsConfigs != nil {
- customDnsConfigList := make([]v20220701s.CustomDnsConfigPropertiesFormat_STATUS, len(embedded.CustomDnsConfigs))
+ customDnsConfigList := make([]storage.CustomDnsConfigPropertiesFormat_STATUS, len(embedded.CustomDnsConfigs))
for customDnsConfigIndex, customDnsConfigItem := range embedded.CustomDnsConfigs {
// Shadow the loop variable to avoid aliasing
customDnsConfigItem := customDnsConfigItem
- var customDnsConfig v20220701s.CustomDnsConfigPropertiesFormat_STATUS
+ var customDnsConfig storage.CustomDnsConfigPropertiesFormat_STATUS
err := customDnsConfigItem.AssignProperties_To_CustomDnsConfigPropertiesFormat_STATUS(&customDnsConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_CustomDnsConfigPropertiesFormat_STATUS() to populate field CustomDnsConfigs")
@@ -1514,7 +1562,7 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// ExtendedLocation
if embedded.ExtendedLocation != nil {
- var extendedLocation v20220701s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := embedded.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1529,11 +1577,11 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// IpConfigurations
if embedded.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.PrivateEndpointIPConfiguration_STATUS, len(embedded.IpConfigurations))
+ ipConfigurationList := make([]storage.PrivateEndpointIPConfiguration_STATUS, len(embedded.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range embedded.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.PrivateEndpointIPConfiguration_STATUS
+ var ipConfiguration storage.PrivateEndpointIPConfiguration_STATUS
err := ipConfigurationItem.AssignProperties_To_PrivateEndpointIPConfiguration_STATUS(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpointIPConfiguration_STATUS() to populate field IpConfigurations")
@@ -1550,11 +1598,11 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// ManualPrivateLinkServiceConnections
if embedded.ManualPrivateLinkServiceConnections != nil {
- manualPrivateLinkServiceConnectionList := make([]v20220701s.PrivateLinkServiceConnection_STATUS, len(embedded.ManualPrivateLinkServiceConnections))
+ manualPrivateLinkServiceConnectionList := make([]storage.PrivateLinkServiceConnection_STATUS, len(embedded.ManualPrivateLinkServiceConnections))
for manualPrivateLinkServiceConnectionIndex, manualPrivateLinkServiceConnectionItem := range embedded.ManualPrivateLinkServiceConnections {
// Shadow the loop variable to avoid aliasing
manualPrivateLinkServiceConnectionItem := manualPrivateLinkServiceConnectionItem
- var manualPrivateLinkServiceConnection v20220701s.PrivateLinkServiceConnection_STATUS
+ var manualPrivateLinkServiceConnection storage.PrivateLinkServiceConnection_STATUS
err := manualPrivateLinkServiceConnectionItem.AssignProperties_To_PrivateLinkServiceConnection_STATUS(&manualPrivateLinkServiceConnection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceConnection_STATUS() to populate field ManualPrivateLinkServiceConnections")
@@ -1571,11 +1619,11 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// NetworkInterfaces
if embedded.NetworkInterfaces != nil {
- networkInterfaceList := make([]v20220701s.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded, len(embedded.NetworkInterfaces))
+ networkInterfaceList := make([]storage.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded, len(embedded.NetworkInterfaces))
for networkInterfaceIndex, networkInterfaceItem := range embedded.NetworkInterfaces {
// Shadow the loop variable to avoid aliasing
networkInterfaceItem := networkInterfaceItem
- var networkInterface v20220701s.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded
+ var networkInterface storage.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded
err := networkInterfaceItem.AssignProperties_To_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(&networkInterface)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded() to populate field NetworkInterfaces")
@@ -1589,11 +1637,11 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// PrivateLinkServiceConnections
if embedded.PrivateLinkServiceConnections != nil {
- privateLinkServiceConnectionList := make([]v20220701s.PrivateLinkServiceConnection_STATUS, len(embedded.PrivateLinkServiceConnections))
+ privateLinkServiceConnectionList := make([]storage.PrivateLinkServiceConnection_STATUS, len(embedded.PrivateLinkServiceConnections))
for privateLinkServiceConnectionIndex, privateLinkServiceConnectionItem := range embedded.PrivateLinkServiceConnections {
// Shadow the loop variable to avoid aliasing
privateLinkServiceConnectionItem := privateLinkServiceConnectionItem
- var privateLinkServiceConnection v20220701s.PrivateLinkServiceConnection_STATUS
+ var privateLinkServiceConnection storage.PrivateLinkServiceConnection_STATUS
err := privateLinkServiceConnectionItem.AssignProperties_To_PrivateLinkServiceConnection_STATUS(&privateLinkServiceConnection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceConnection_STATUS() to populate field PrivateLinkServiceConnections")
@@ -1615,7 +1663,7 @@ func (embedded *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) Assi
// Subnet
if embedded.Subnet != nil {
- var subnet v20220701s.Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded
+ var subnet storage.Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded
err := embedded.Subnet.AssignProperties_To_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded() to populate field Subnet")
@@ -1673,7 +1721,7 @@ func (embedded *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbed
}
// AssignProperties_From_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded populates our ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded from the provided source ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(source *v20220701s.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(source *storage.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1683,7 +1731,7 @@ func (embedded *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbed
}
// AssignProperties_To_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded populates the provided destination ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded from our ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *v20220701s.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *storage.ApplicationSecurityGroup_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1747,7 +1795,7 @@ func (embedded *ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded
}
// AssignProperties_From_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded populates our ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded from the provided source ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded(source *v20220701s.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded(source *storage.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -1762,7 +1810,7 @@ func (embedded *ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded
}
// AssignProperties_To_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded populates the provided destination ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded from our ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded
-func (embedded *ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded(destination *v20220701s.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded(destination *storage.ApplicationSecurityGroupSpec_PrivateEndpoint_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1839,7 +1887,7 @@ func (format *CustomDnsConfigPropertiesFormat_STATUS) PopulateFromARM(owner genr
}
// AssignProperties_From_CustomDnsConfigPropertiesFormat_STATUS populates our CustomDnsConfigPropertiesFormat_STATUS from the provided source CustomDnsConfigPropertiesFormat_STATUS
-func (format *CustomDnsConfigPropertiesFormat_STATUS) AssignProperties_From_CustomDnsConfigPropertiesFormat_STATUS(source *v20220701s.CustomDnsConfigPropertiesFormat_STATUS) error {
+func (format *CustomDnsConfigPropertiesFormat_STATUS) AssignProperties_From_CustomDnsConfigPropertiesFormat_STATUS(source *storage.CustomDnsConfigPropertiesFormat_STATUS) error {
// Fqdn
format.Fqdn = genruntime.ClonePointerToString(source.Fqdn)
@@ -1852,7 +1900,7 @@ func (format *CustomDnsConfigPropertiesFormat_STATUS) AssignProperties_From_Cust
}
// AssignProperties_To_CustomDnsConfigPropertiesFormat_STATUS populates the provided destination CustomDnsConfigPropertiesFormat_STATUS from our CustomDnsConfigPropertiesFormat_STATUS
-func (format *CustomDnsConfigPropertiesFormat_STATUS) AssignProperties_To_CustomDnsConfigPropertiesFormat_STATUS(destination *v20220701s.CustomDnsConfigPropertiesFormat_STATUS) error {
+func (format *CustomDnsConfigPropertiesFormat_STATUS) AssignProperties_To_CustomDnsConfigPropertiesFormat_STATUS(destination *storage.CustomDnsConfigPropertiesFormat_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1934,15 +1982,16 @@ func (location *ExtendedLocation) PopulateFromARM(owner genruntime.ArbitraryOwne
}
// AssignProperties_From_ExtendedLocation populates our ExtendedLocation from the provided source ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *v20220701s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source *storage.ExtendedLocation) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -1952,7 +2001,7 @@ func (location *ExtendedLocation) AssignProperties_From_ExtendedLocation(source
}
// AssignProperties_To_ExtendedLocation populates the provided destination ExtendedLocation from our ExtendedLocation
-func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *v20220701s.ExtendedLocation) error {
+func (location *ExtendedLocation) AssignProperties_To_ExtendedLocation(destination *storage.ExtendedLocation) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1986,7 +2035,7 @@ func (location *ExtendedLocation) Initialize_From_ExtendedLocation_STATUS(source
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType(*source.Type)
+ typeVar := genruntime.ToEnum(string(*source.Type), extendedLocationType_Values)
location.Type = &typeVar
} else {
location.Type = nil
@@ -2036,15 +2085,16 @@ func (location *ExtendedLocation_STATUS) PopulateFromARM(owner genruntime.Arbitr
}
// AssignProperties_From_ExtendedLocation_STATUS populates our ExtendedLocation_STATUS from the provided source ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *v20220701s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_STATUS(source *storage.ExtendedLocation_STATUS) error {
// Name
location.Name = genruntime.ClonePointerToString(source.Name)
// Type
if source.Type != nil {
- typeVar := ExtendedLocationType_STATUS(*source.Type)
- location.Type = &typeVar
+ typeVar := *source.Type
+ typeTemp := genruntime.ToEnum(typeVar, extendedLocationType_STATUS_Values)
+ location.Type = &typeTemp
} else {
location.Type = nil
}
@@ -2054,7 +2104,7 @@ func (location *ExtendedLocation_STATUS) AssignProperties_From_ExtendedLocation_
}
// AssignProperties_To_ExtendedLocation_STATUS populates the provided destination ExtendedLocation_STATUS from our ExtendedLocation_STATUS
-func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *v20220701s.ExtendedLocation_STATUS) error {
+func (location *ExtendedLocation_STATUS) AssignProperties_To_ExtendedLocation_STATUS(destination *storage.ExtendedLocation_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2111,7 +2161,7 @@ func (embedded *NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) Pop
}
// AssignProperties_From_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded populates our NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded from the provided source NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(source *v20220701s.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(source *storage.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2121,7 +2171,7 @@ func (embedded *NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) Ass
}
// AssignProperties_To_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded populates the provided destination NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded from our NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *v20220701s.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *storage.NetworkInterface_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2240,7 +2290,7 @@ func (configuration *PrivateEndpointIPConfiguration) PopulateFromARM(owner genru
}
// AssignProperties_From_PrivateEndpointIPConfiguration populates our PrivateEndpointIPConfiguration from the provided source PrivateEndpointIPConfiguration
-func (configuration *PrivateEndpointIPConfiguration) AssignProperties_From_PrivateEndpointIPConfiguration(source *v20220701s.PrivateEndpointIPConfiguration) error {
+func (configuration *PrivateEndpointIPConfiguration) AssignProperties_From_PrivateEndpointIPConfiguration(source *storage.PrivateEndpointIPConfiguration) error {
// GroupId
configuration.GroupId = genruntime.ClonePointerToString(source.GroupId)
@@ -2259,7 +2309,7 @@ func (configuration *PrivateEndpointIPConfiguration) AssignProperties_From_Priva
}
// AssignProperties_To_PrivateEndpointIPConfiguration populates the provided destination PrivateEndpointIPConfiguration from our PrivateEndpointIPConfiguration
-func (configuration *PrivateEndpointIPConfiguration) AssignProperties_To_PrivateEndpointIPConfiguration(destination *v20220701s.PrivateEndpointIPConfiguration) error {
+func (configuration *PrivateEndpointIPConfiguration) AssignProperties_To_PrivateEndpointIPConfiguration(destination *storage.PrivateEndpointIPConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2390,7 +2440,7 @@ func (configuration *PrivateEndpointIPConfiguration_STATUS) PopulateFromARM(owne
}
// AssignProperties_From_PrivateEndpointIPConfiguration_STATUS populates our PrivateEndpointIPConfiguration_STATUS from the provided source PrivateEndpointIPConfiguration_STATUS
-func (configuration *PrivateEndpointIPConfiguration_STATUS) AssignProperties_From_PrivateEndpointIPConfiguration_STATUS(source *v20220701s.PrivateEndpointIPConfiguration_STATUS) error {
+func (configuration *PrivateEndpointIPConfiguration_STATUS) AssignProperties_From_PrivateEndpointIPConfiguration_STATUS(source *storage.PrivateEndpointIPConfiguration_STATUS) error {
// Etag
configuration.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -2415,7 +2465,7 @@ func (configuration *PrivateEndpointIPConfiguration_STATUS) AssignProperties_Fro
}
// AssignProperties_To_PrivateEndpointIPConfiguration_STATUS populates the provided destination PrivateEndpointIPConfiguration_STATUS from our PrivateEndpointIPConfiguration_STATUS
-func (configuration *PrivateEndpointIPConfiguration_STATUS) AssignProperties_To_PrivateEndpointIPConfiguration_STATUS(destination *v20220701s.PrivateEndpointIPConfiguration_STATUS) error {
+func (configuration *PrivateEndpointIPConfiguration_STATUS) AssignProperties_To_PrivateEndpointIPConfiguration_STATUS(destination *storage.PrivateEndpointIPConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2448,6 +2498,59 @@ func (configuration *PrivateEndpointIPConfiguration_STATUS) AssignProperties_To_
return nil
}
+// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
+type PrivateEndpointOperatorSpec struct {
+ // ConfigMaps: configures where to place operator written ConfigMaps.
+ ConfigMaps *PrivateEndpointOperatorConfigMaps `json:"configMaps,omitempty"`
+}
+
+// AssignProperties_From_PrivateEndpointOperatorSpec populates our PrivateEndpointOperatorSpec from the provided source PrivateEndpointOperatorSpec
+func (operator *PrivateEndpointOperatorSpec) AssignProperties_From_PrivateEndpointOperatorSpec(source *storage.PrivateEndpointOperatorSpec) error {
+
+ // ConfigMaps
+ if source.ConfigMaps != nil {
+ var configMap PrivateEndpointOperatorConfigMaps
+ err := configMap.AssignProperties_From_PrivateEndpointOperatorConfigMaps(source.ConfigMaps)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_From_PrivateEndpointOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ operator.ConfigMaps = &configMap
+ } else {
+ operator.ConfigMaps = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PrivateEndpointOperatorSpec populates the provided destination PrivateEndpointOperatorSpec from our PrivateEndpointOperatorSpec
+func (operator *PrivateEndpointOperatorSpec) AssignProperties_To_PrivateEndpointOperatorSpec(destination *storage.PrivateEndpointOperatorSpec) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // ConfigMaps
+ if operator.ConfigMaps != nil {
+ var configMap storage.PrivateEndpointOperatorConfigMaps
+ err := operator.ConfigMaps.AssignProperties_To_PrivateEndpointOperatorConfigMaps(&configMap)
+ if err != nil {
+ return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpointOperatorConfigMaps() to populate field ConfigMaps")
+ }
+ destination.ConfigMaps = &configMap
+ } else {
+ destination.ConfigMaps = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
// PrivateLinkServiceConnection resource.
type PrivateLinkServiceConnection struct {
// GroupIds: The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.
@@ -2572,7 +2675,7 @@ func (connection *PrivateLinkServiceConnection) PopulateFromARM(owner genruntime
}
// AssignProperties_From_PrivateLinkServiceConnection populates our PrivateLinkServiceConnection from the provided source PrivateLinkServiceConnection
-func (connection *PrivateLinkServiceConnection) AssignProperties_From_PrivateLinkServiceConnection(source *v20220701s.PrivateLinkServiceConnection) error {
+func (connection *PrivateLinkServiceConnection) AssignProperties_From_PrivateLinkServiceConnection(source *storage.PrivateLinkServiceConnection) error {
// GroupIds
connection.GroupIds = genruntime.CloneSliceOfString(source.GroupIds)
@@ -2608,7 +2711,7 @@ func (connection *PrivateLinkServiceConnection) AssignProperties_From_PrivateLin
}
// AssignProperties_To_PrivateLinkServiceConnection populates the provided destination PrivateLinkServiceConnection from our PrivateLinkServiceConnection
-func (connection *PrivateLinkServiceConnection) AssignProperties_To_PrivateLinkServiceConnection(destination *v20220701s.PrivateLinkServiceConnection) error {
+func (connection *PrivateLinkServiceConnection) AssignProperties_To_PrivateLinkServiceConnection(destination *storage.PrivateLinkServiceConnection) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2620,7 +2723,7 @@ func (connection *PrivateLinkServiceConnection) AssignProperties_To_PrivateLinkS
// PrivateLinkServiceConnectionState
if connection.PrivateLinkServiceConnectionState != nil {
- var privateLinkServiceConnectionState v20220701s.PrivateLinkServiceConnectionState
+ var privateLinkServiceConnectionState storage.PrivateLinkServiceConnectionState
err := connection.PrivateLinkServiceConnectionState.AssignProperties_To_PrivateLinkServiceConnectionState(&privateLinkServiceConnectionState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceConnectionState() to populate field PrivateLinkServiceConnectionState")
@@ -2812,7 +2915,7 @@ func (connection *PrivateLinkServiceConnection_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_PrivateLinkServiceConnection_STATUS populates our PrivateLinkServiceConnection_STATUS from the provided source PrivateLinkServiceConnection_STATUS
-func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_From_PrivateLinkServiceConnection_STATUS(source *v20220701s.PrivateLinkServiceConnection_STATUS) error {
+func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_From_PrivateLinkServiceConnection_STATUS(source *storage.PrivateLinkServiceConnection_STATUS) error {
// Etag
connection.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -2843,8 +2946,9 @@ func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_From_Pri
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ApplicationGatewayProvisioningState_STATUS(*source.ProvisioningState)
- connection.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, applicationGatewayProvisioningState_STATUS_Values)
+ connection.ProvisioningState = &provisioningStateTemp
} else {
connection.ProvisioningState = nil
}
@@ -2860,7 +2964,7 @@ func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_From_Pri
}
// AssignProperties_To_PrivateLinkServiceConnection_STATUS populates the provided destination PrivateLinkServiceConnection_STATUS from our PrivateLinkServiceConnection_STATUS
-func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_To_PrivateLinkServiceConnection_STATUS(destination *v20220701s.PrivateLinkServiceConnection_STATUS) error {
+func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_To_PrivateLinkServiceConnection_STATUS(destination *storage.PrivateLinkServiceConnection_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2878,7 +2982,7 @@ func (connection *PrivateLinkServiceConnection_STATUS) AssignProperties_To_Priva
// PrivateLinkServiceConnectionState
if connection.PrivateLinkServiceConnectionState != nil {
- var privateLinkServiceConnectionState v20220701s.PrivateLinkServiceConnectionState_STATUS
+ var privateLinkServiceConnectionState storage.PrivateLinkServiceConnectionState_STATUS
err := connection.PrivateLinkServiceConnectionState.AssignProperties_To_PrivateLinkServiceConnectionState_STATUS(&privateLinkServiceConnectionState)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceConnectionState_STATUS() to populate field PrivateLinkServiceConnectionState")
@@ -2962,7 +3066,7 @@ func (embedded *Subnet_PrivateEndpoint_SubResourceEmbedded) PopulateFromARM(owne
}
// AssignProperties_From_Subnet_PrivateEndpoint_SubResourceEmbedded populates our Subnet_PrivateEndpoint_SubResourceEmbedded from the provided source Subnet_PrivateEndpoint_SubResourceEmbedded
-func (embedded *Subnet_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_Subnet_PrivateEndpoint_SubResourceEmbedded(source *v20220701s.Subnet_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *Subnet_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_Subnet_PrivateEndpoint_SubResourceEmbedded(source *storage.Subnet_PrivateEndpoint_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -2977,7 +3081,7 @@ func (embedded *Subnet_PrivateEndpoint_SubResourceEmbedded) AssignProperties_Fro
}
// AssignProperties_To_Subnet_PrivateEndpoint_SubResourceEmbedded populates the provided destination Subnet_PrivateEndpoint_SubResourceEmbedded from our Subnet_PrivateEndpoint_SubResourceEmbedded
-func (embedded *Subnet_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_Subnet_PrivateEndpoint_SubResourceEmbedded(destination *v20220701s.Subnet_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *Subnet_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_Subnet_PrivateEndpoint_SubResourceEmbedded(destination *storage.Subnet_PrivateEndpoint_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3046,7 +3150,7 @@ func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) PopulateFromA
}
// AssignProperties_From_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded populates our Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded from the provided source Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded(source *v20220701s.Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded(source *storage.Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -3056,7 +3160,7 @@ func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignPropert
}
// AssignProperties_To_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded populates the provided destination Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded from our Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded
-func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *v20220701s.Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded(destination *storage.Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3074,6 +3178,51 @@ func (embedded *Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded) AssignPropert
return nil
}
+type PrivateEndpointOperatorConfigMaps struct {
+ // PrimaryNicPrivateIpAddress: indicates where the PrimaryNicPrivateIpAddress config map should be placed. If omitted, no
+ // config map will be created.
+ PrimaryNicPrivateIpAddress *genruntime.ConfigMapDestination `json:"primaryNicPrivateIpAddress,omitempty"`
+}
+
+// AssignProperties_From_PrivateEndpointOperatorConfigMaps populates our PrivateEndpointOperatorConfigMaps from the provided source PrivateEndpointOperatorConfigMaps
+func (maps *PrivateEndpointOperatorConfigMaps) AssignProperties_From_PrivateEndpointOperatorConfigMaps(source *storage.PrivateEndpointOperatorConfigMaps) error {
+
+ // PrimaryNicPrivateIpAddress
+ if source.PrimaryNicPrivateIpAddress != nil {
+ primaryNicPrivateIpAddress := source.PrimaryNicPrivateIpAddress.Copy()
+ maps.PrimaryNicPrivateIpAddress = &primaryNicPrivateIpAddress
+ } else {
+ maps.PrimaryNicPrivateIpAddress = nil
+ }
+
+ // No error
+ return nil
+}
+
+// AssignProperties_To_PrivateEndpointOperatorConfigMaps populates the provided destination PrivateEndpointOperatorConfigMaps from our PrivateEndpointOperatorConfigMaps
+func (maps *PrivateEndpointOperatorConfigMaps) AssignProperties_To_PrivateEndpointOperatorConfigMaps(destination *storage.PrivateEndpointOperatorConfigMaps) error {
+ // Create a new property bag
+ propertyBag := genruntime.NewPropertyBag()
+
+ // PrimaryNicPrivateIpAddress
+ if maps.PrimaryNicPrivateIpAddress != nil {
+ primaryNicPrivateIpAddress := maps.PrimaryNicPrivateIpAddress.Copy()
+ destination.PrimaryNicPrivateIpAddress = &primaryNicPrivateIpAddress
+ } else {
+ destination.PrimaryNicPrivateIpAddress = nil
+ }
+
+ // Update the property bag
+ if len(propertyBag) > 0 {
+ destination.PropertyBag = propertyBag
+ } else {
+ destination.PropertyBag = nil
+ }
+
+ // No error
+ return nil
+}
+
// A collection of information about the state of the connection between service consumer and provider.
type PrivateLinkServiceConnectionState struct {
// ActionsRequired: A message indicating if changes on the service provider require any updates on the consumer.
@@ -3150,7 +3299,7 @@ func (state *PrivateLinkServiceConnectionState) PopulateFromARM(owner genruntime
}
// AssignProperties_From_PrivateLinkServiceConnectionState populates our PrivateLinkServiceConnectionState from the provided source PrivateLinkServiceConnectionState
-func (state *PrivateLinkServiceConnectionState) AssignProperties_From_PrivateLinkServiceConnectionState(source *v20220701s.PrivateLinkServiceConnectionState) error {
+func (state *PrivateLinkServiceConnectionState) AssignProperties_From_PrivateLinkServiceConnectionState(source *storage.PrivateLinkServiceConnectionState) error {
// ActionsRequired
state.ActionsRequired = genruntime.ClonePointerToString(source.ActionsRequired)
@@ -3166,7 +3315,7 @@ func (state *PrivateLinkServiceConnectionState) AssignProperties_From_PrivateLin
}
// AssignProperties_To_PrivateLinkServiceConnectionState populates the provided destination PrivateLinkServiceConnectionState from our PrivateLinkServiceConnectionState
-func (state *PrivateLinkServiceConnectionState) AssignProperties_To_PrivateLinkServiceConnectionState(destination *v20220701s.PrivateLinkServiceConnectionState) error {
+func (state *PrivateLinkServiceConnectionState) AssignProperties_To_PrivateLinkServiceConnectionState(destination *storage.PrivateLinkServiceConnectionState) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -3255,7 +3404,7 @@ func (state *PrivateLinkServiceConnectionState_STATUS) PopulateFromARM(owner gen
}
// AssignProperties_From_PrivateLinkServiceConnectionState_STATUS populates our PrivateLinkServiceConnectionState_STATUS from the provided source PrivateLinkServiceConnectionState_STATUS
-func (state *PrivateLinkServiceConnectionState_STATUS) AssignProperties_From_PrivateLinkServiceConnectionState_STATUS(source *v20220701s.PrivateLinkServiceConnectionState_STATUS) error {
+func (state *PrivateLinkServiceConnectionState_STATUS) AssignProperties_From_PrivateLinkServiceConnectionState_STATUS(source *storage.PrivateLinkServiceConnectionState_STATUS) error {
// ActionsRequired
state.ActionsRequired = genruntime.ClonePointerToString(source.ActionsRequired)
@@ -3271,7 +3420,7 @@ func (state *PrivateLinkServiceConnectionState_STATUS) AssignProperties_From_Pri
}
// AssignProperties_To_PrivateLinkServiceConnectionState_STATUS populates the provided destination PrivateLinkServiceConnectionState_STATUS from our PrivateLinkServiceConnectionState_STATUS
-func (state *PrivateLinkServiceConnectionState_STATUS) AssignProperties_To_PrivateLinkServiceConnectionState_STATUS(destination *v20220701s.PrivateLinkServiceConnectionState_STATUS) error {
+func (state *PrivateLinkServiceConnectionState_STATUS) AssignProperties_To_PrivateLinkServiceConnectionState_STATUS(destination *storage.PrivateLinkServiceConnectionState_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoints_private_dns_zone_group_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoints_private_dns_zone_group_types_gen.go
index 1843639458..7b70b4d18e 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoints_private_dns_zone_group_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_endpoints_private_dns_zone_group_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &PrivateEndpointsPrivateDnsZoneGroup{}
// ConvertFrom populates our PrivateEndpointsPrivateDnsZoneGroup from the provided hub PrivateEndpointsPrivateDnsZoneGroup
func (group *PrivateEndpointsPrivateDnsZoneGroup) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.PrivateEndpointsPrivateDnsZoneGroup)
+ source, ok := hub.(*storage.PrivateEndpointsPrivateDnsZoneGroup)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PrivateEndpointsPrivateDnsZoneGroup but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (group *PrivateEndpointsPrivateDnsZoneGroup) ConvertFrom(hub conversion.Hub
// ConvertTo populates the provided hub PrivateEndpointsPrivateDnsZoneGroup from our PrivateEndpointsPrivateDnsZoneGroup
func (group *PrivateEndpointsPrivateDnsZoneGroup) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.PrivateEndpointsPrivateDnsZoneGroup)
+ destination, ok := hub.(*storage.PrivateEndpointsPrivateDnsZoneGroup)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PrivateEndpointsPrivateDnsZoneGroup but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (group *PrivateEndpointsPrivateDnsZoneGroup) validateWriteOnceProperties(ol
}
// AssignProperties_From_PrivateEndpointsPrivateDnsZoneGroup populates our PrivateEndpointsPrivateDnsZoneGroup from the provided source PrivateEndpointsPrivateDnsZoneGroup
-func (group *PrivateEndpointsPrivateDnsZoneGroup) AssignProperties_From_PrivateEndpointsPrivateDnsZoneGroup(source *v20220701s.PrivateEndpointsPrivateDnsZoneGroup) error {
+func (group *PrivateEndpointsPrivateDnsZoneGroup) AssignProperties_From_PrivateEndpointsPrivateDnsZoneGroup(source *storage.PrivateEndpointsPrivateDnsZoneGroup) error {
// ObjectMeta
group.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (group *PrivateEndpointsPrivateDnsZoneGroup) AssignProperties_From_PrivateE
}
// AssignProperties_To_PrivateEndpointsPrivateDnsZoneGroup populates the provided destination PrivateEndpointsPrivateDnsZoneGroup from our PrivateEndpointsPrivateDnsZoneGroup
-func (group *PrivateEndpointsPrivateDnsZoneGroup) AssignProperties_To_PrivateEndpointsPrivateDnsZoneGroup(destination *v20220701s.PrivateEndpointsPrivateDnsZoneGroup) error {
+func (group *PrivateEndpointsPrivateDnsZoneGroup) AssignProperties_To_PrivateEndpointsPrivateDnsZoneGroup(destination *storage.PrivateEndpointsPrivateDnsZoneGroup) error {
// ObjectMeta
destination.ObjectMeta = *group.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec
+ var spec storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec
err := group.Spec.AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (group *PrivateEndpointsPrivateDnsZoneGroup) AssignProperties_To_PrivateEnd
destination.Spec = spec
// Status
- var status v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS
+ var status storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS
err = group.Status.AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS() to populate field Status")
@@ -407,14 +407,14 @@ var _ genruntime.ConvertibleSpec = &PrivateEndpoints_PrivateDnsZoneGroup_Spec{}
// ConvertSpecFrom populates our PrivateEndpoints_PrivateDnsZoneGroup_Spec from the provided source
func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec)
+ src, ok := source.(*storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec)
if ok {
// Populate our instance from source
return group.AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec{}
+ src = &storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -431,14 +431,14 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) ConvertSpecFrom(source g
// ConvertSpecTo populates the provided destination from our PrivateEndpoints_PrivateDnsZoneGroup_Spec
func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec)
+ dst, ok := destination.(*storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec)
if ok {
// Populate destination from our instance
return group.AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec{}
+ dst = &storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec{}
err := group.AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -454,7 +454,7 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) ConvertSpecTo(destinatio
}
// AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_Spec populates our PrivateEndpoints_PrivateDnsZoneGroup_Spec from the provided source PrivateEndpoints_PrivateDnsZoneGroup_Spec
-func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_Spec(source *v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec) error {
+func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_Spec(source *storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec) error {
// AzureName
group.AzureName = source.AzureName
@@ -490,7 +490,7 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) AssignProperties_From_Pr
}
// AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec populates the provided destination PrivateEndpoints_PrivateDnsZoneGroup_Spec from our PrivateEndpoints_PrivateDnsZoneGroup_Spec
-func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec(destination *v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_Spec) error {
+func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_Spec(destination *storage.PrivateEndpoints_PrivateDnsZoneGroup_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -510,11 +510,11 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_Spec) AssignProperties_To_Priv
// PrivateDnsZoneConfigs
if group.PrivateDnsZoneConfigs != nil {
- privateDnsZoneConfigList := make([]v20220701s.PrivateDnsZoneConfig, len(group.PrivateDnsZoneConfigs))
+ privateDnsZoneConfigList := make([]storage.PrivateDnsZoneConfig, len(group.PrivateDnsZoneConfigs))
for privateDnsZoneConfigIndex, privateDnsZoneConfigItem := range group.PrivateDnsZoneConfigs {
// Shadow the loop variable to avoid aliasing
privateDnsZoneConfigItem := privateDnsZoneConfigItem
- var privateDnsZoneConfig v20220701s.PrivateDnsZoneConfig
+ var privateDnsZoneConfig storage.PrivateDnsZoneConfig
err := privateDnsZoneConfigItem.AssignProperties_To_PrivateDnsZoneConfig(&privateDnsZoneConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateDnsZoneConfig() to populate field PrivateDnsZoneConfigs")
@@ -596,14 +596,14 @@ var _ genruntime.ConvertibleStatus = &PrivateEndpoints_PrivateDnsZoneGroup_STATU
// ConvertStatusFrom populates our PrivateEndpoints_PrivateDnsZoneGroup_STATUS from the provided source
func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS)
+ src, ok := source.(*storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS)
if ok {
// Populate our instance from source
return group.AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS{}
+ src = &storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -620,14 +620,14 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) ConvertStatusFrom(sour
// ConvertStatusTo populates the provided destination from our PrivateEndpoints_PrivateDnsZoneGroup_STATUS
func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS)
+ dst, ok := destination.(*storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS)
if ok {
// Populate destination from our instance
return group.AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS{}
+ dst = &storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS{}
err := group.AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -703,7 +703,7 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) PopulateFromARM(owner
}
// AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_STATUS populates our PrivateEndpoints_PrivateDnsZoneGroup_STATUS from the provided source PrivateEndpoints_PrivateDnsZoneGroup_STATUS
-func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(source *v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS) error {
+func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_From_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(source *storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS) error {
// Conditions
group.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -737,8 +737,9 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_From_
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := PrivateEndpointProvisioningState_STATUS(*source.ProvisioningState)
- group.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, privateEndpointProvisioningState_STATUS_Values)
+ group.ProvisioningState = &provisioningStateTemp
} else {
group.ProvisioningState = nil
}
@@ -748,7 +749,7 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_From_
}
// AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS populates the provided destination PrivateEndpoints_PrivateDnsZoneGroup_STATUS from our PrivateEndpoints_PrivateDnsZoneGroup_STATUS
-func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(destination *v20220701s.PrivateEndpoints_PrivateDnsZoneGroup_STATUS) error {
+func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_To_PrivateEndpoints_PrivateDnsZoneGroup_STATUS(destination *storage.PrivateEndpoints_PrivateDnsZoneGroup_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -766,11 +767,11 @@ func (group *PrivateEndpoints_PrivateDnsZoneGroup_STATUS) AssignProperties_To_Pr
// PrivateDnsZoneConfigs
if group.PrivateDnsZoneConfigs != nil {
- privateDnsZoneConfigList := make([]v20220701s.PrivateDnsZoneConfig_STATUS, len(group.PrivateDnsZoneConfigs))
+ privateDnsZoneConfigList := make([]storage.PrivateDnsZoneConfig_STATUS, len(group.PrivateDnsZoneConfigs))
for privateDnsZoneConfigIndex, privateDnsZoneConfigItem := range group.PrivateDnsZoneConfigs {
// Shadow the loop variable to avoid aliasing
privateDnsZoneConfigItem := privateDnsZoneConfigItem
- var privateDnsZoneConfig v20220701s.PrivateDnsZoneConfig_STATUS
+ var privateDnsZoneConfig storage.PrivateDnsZoneConfig_STATUS
err := privateDnsZoneConfigItem.AssignProperties_To_PrivateDnsZoneConfig_STATUS(&privateDnsZoneConfig)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateDnsZoneConfig_STATUS() to populate field PrivateDnsZoneConfigs")
@@ -865,7 +866,7 @@ func (config *PrivateDnsZoneConfig) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_PrivateDnsZoneConfig populates our PrivateDnsZoneConfig from the provided source PrivateDnsZoneConfig
-func (config *PrivateDnsZoneConfig) AssignProperties_From_PrivateDnsZoneConfig(source *v20220701s.PrivateDnsZoneConfig) error {
+func (config *PrivateDnsZoneConfig) AssignProperties_From_PrivateDnsZoneConfig(source *storage.PrivateDnsZoneConfig) error {
// Name
config.Name = genruntime.ClonePointerToString(source.Name)
@@ -883,7 +884,7 @@ func (config *PrivateDnsZoneConfig) AssignProperties_From_PrivateDnsZoneConfig(s
}
// AssignProperties_To_PrivateDnsZoneConfig populates the provided destination PrivateDnsZoneConfig from our PrivateDnsZoneConfig
-func (config *PrivateDnsZoneConfig) AssignProperties_To_PrivateDnsZoneConfig(destination *v20220701s.PrivateDnsZoneConfig) error {
+func (config *PrivateDnsZoneConfig) AssignProperties_To_PrivateDnsZoneConfig(destination *storage.PrivateDnsZoneConfig) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -986,7 +987,7 @@ func (config *PrivateDnsZoneConfig_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_PrivateDnsZoneConfig_STATUS populates our PrivateDnsZoneConfig_STATUS from the provided source PrivateDnsZoneConfig_STATUS
-func (config *PrivateDnsZoneConfig_STATUS) AssignProperties_From_PrivateDnsZoneConfig_STATUS(source *v20220701s.PrivateDnsZoneConfig_STATUS) error {
+func (config *PrivateDnsZoneConfig_STATUS) AssignProperties_From_PrivateDnsZoneConfig_STATUS(source *storage.PrivateDnsZoneConfig_STATUS) error {
// Name
config.Name = genruntime.ClonePointerToString(source.Name)
@@ -1017,7 +1018,7 @@ func (config *PrivateDnsZoneConfig_STATUS) AssignProperties_From_PrivateDnsZoneC
}
// AssignProperties_To_PrivateDnsZoneConfig_STATUS populates the provided destination PrivateDnsZoneConfig_STATUS from our PrivateDnsZoneConfig_STATUS
-func (config *PrivateDnsZoneConfig_STATUS) AssignProperties_To_PrivateDnsZoneConfig_STATUS(destination *v20220701s.PrivateDnsZoneConfig_STATUS) error {
+func (config *PrivateDnsZoneConfig_STATUS) AssignProperties_To_PrivateDnsZoneConfig_STATUS(destination *storage.PrivateDnsZoneConfig_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1029,11 +1030,11 @@ func (config *PrivateDnsZoneConfig_STATUS) AssignProperties_To_PrivateDnsZoneCon
// RecordSets
if config.RecordSets != nil {
- recordSetList := make([]v20220701s.RecordSet_STATUS, len(config.RecordSets))
+ recordSetList := make([]storage.RecordSet_STATUS, len(config.RecordSets))
for recordSetIndex, recordSetItem := range config.RecordSets {
// Shadow the loop variable to avoid aliasing
recordSetItem := recordSetItem
- var recordSet v20220701s.RecordSet_STATUS
+ var recordSet storage.RecordSet_STATUS
err := recordSetItem.AssignProperties_To_RecordSet_STATUS(&recordSet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_RecordSet_STATUS() to populate field RecordSets")
@@ -1066,6 +1067,14 @@ const (
PrivateEndpointProvisioningState_STATUS_Updating = PrivateEndpointProvisioningState_STATUS("Updating")
)
+// Mapping from string to PrivateEndpointProvisioningState_STATUS
+var privateEndpointProvisioningState_STATUS_Values = map[string]PrivateEndpointProvisioningState_STATUS{
+ "deleting": PrivateEndpointProvisioningState_STATUS_Deleting,
+ "failed": PrivateEndpointProvisioningState_STATUS_Failed,
+ "succeeded": PrivateEndpointProvisioningState_STATUS_Succeeded,
+ "updating": PrivateEndpointProvisioningState_STATUS_Updating,
+}
+
// A collective group of information about the record set information.
type RecordSet_STATUS struct {
// Fqdn: Fqdn that resolves to private endpoint ip address.
@@ -1141,7 +1150,7 @@ func (recordSet *RecordSet_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_RecordSet_STATUS populates our RecordSet_STATUS from the provided source RecordSet_STATUS
-func (recordSet *RecordSet_STATUS) AssignProperties_From_RecordSet_STATUS(source *v20220701s.RecordSet_STATUS) error {
+func (recordSet *RecordSet_STATUS) AssignProperties_From_RecordSet_STATUS(source *storage.RecordSet_STATUS) error {
// Fqdn
recordSet.Fqdn = genruntime.ClonePointerToString(source.Fqdn)
@@ -1151,8 +1160,9 @@ func (recordSet *RecordSet_STATUS) AssignProperties_From_RecordSet_STATUS(source
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := PrivateEndpointProvisioningState_STATUS(*source.ProvisioningState)
- recordSet.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, privateEndpointProvisioningState_STATUS_Values)
+ recordSet.ProvisioningState = &provisioningStateTemp
} else {
recordSet.ProvisioningState = nil
}
@@ -1171,7 +1181,7 @@ func (recordSet *RecordSet_STATUS) AssignProperties_From_RecordSet_STATUS(source
}
// AssignProperties_To_RecordSet_STATUS populates the provided destination RecordSet_STATUS from our RecordSet_STATUS
-func (recordSet *RecordSet_STATUS) AssignProperties_To_RecordSet_STATUS(destination *v20220701s.RecordSet_STATUS) error {
+func (recordSet *RecordSet_STATUS) AssignProperties_To_RecordSet_STATUS(destination *storage.RecordSet_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_link_service_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_link_service_types_gen.go
index a4dbe4fd61..7f36c3ab8a 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_link_service_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/private_link_service_types_gen.go
@@ -6,7 +6,7 @@ package v1api20220701
import (
"context"
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/genericarmclient"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
@@ -54,7 +54,7 @@ var _ conversion.Convertible = &PrivateLinkService{}
// ConvertFrom populates our PrivateLinkService from the provided hub PrivateLinkService
func (service *PrivateLinkService) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.PrivateLinkService)
+ source, ok := hub.(*storage.PrivateLinkService)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PrivateLinkService but received %T instead", hub)
}
@@ -64,7 +64,7 @@ func (service *PrivateLinkService) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub PrivateLinkService from our PrivateLinkService
func (service *PrivateLinkService) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.PrivateLinkService)
+ destination, ok := hub.(*storage.PrivateLinkService)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PrivateLinkService but received %T instead", hub)
}
@@ -293,7 +293,7 @@ func (service *PrivateLinkService) validateWriteOnceProperties(old runtime.Objec
}
// AssignProperties_From_PrivateLinkService populates our PrivateLinkService from the provided source PrivateLinkService
-func (service *PrivateLinkService) AssignProperties_From_PrivateLinkService(source *v20220701s.PrivateLinkService) error {
+func (service *PrivateLinkService) AssignProperties_From_PrivateLinkService(source *storage.PrivateLinkService) error {
// ObjectMeta
service.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -319,13 +319,13 @@ func (service *PrivateLinkService) AssignProperties_From_PrivateLinkService(sour
}
// AssignProperties_To_PrivateLinkService populates the provided destination PrivateLinkService from our PrivateLinkService
-func (service *PrivateLinkService) AssignProperties_To_PrivateLinkService(destination *v20220701s.PrivateLinkService) error {
+func (service *PrivateLinkService) AssignProperties_To_PrivateLinkService(destination *storage.PrivateLinkService) error {
// ObjectMeta
destination.ObjectMeta = *service.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.PrivateLinkService_Spec
+ var spec storage.PrivateLinkService_Spec
err := service.Spec.AssignProperties_To_PrivateLinkService_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkService_Spec() to populate field Spec")
@@ -333,7 +333,7 @@ func (service *PrivateLinkService) AssignProperties_To_PrivateLinkService(destin
destination.Spec = spec
// Status
- var status v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
+ var status storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
err = service.Status.AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded() to populate field Status")
@@ -618,14 +618,14 @@ var _ genruntime.ConvertibleSpec = &PrivateLinkService_Spec{}
// ConvertSpecFrom populates our PrivateLinkService_Spec from the provided source
func (service *PrivateLinkService_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.PrivateLinkService_Spec)
+ src, ok := source.(*storage.PrivateLinkService_Spec)
if ok {
// Populate our instance from source
return service.AssignProperties_From_PrivateLinkService_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.PrivateLinkService_Spec{}
+ src = &storage.PrivateLinkService_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -642,14 +642,14 @@ func (service *PrivateLinkService_Spec) ConvertSpecFrom(source genruntime.Conver
// ConvertSpecTo populates the provided destination from our PrivateLinkService_Spec
func (service *PrivateLinkService_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.PrivateLinkService_Spec)
+ dst, ok := destination.(*storage.PrivateLinkService_Spec)
if ok {
// Populate destination from our instance
return service.AssignProperties_To_PrivateLinkService_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PrivateLinkService_Spec{}
+ dst = &storage.PrivateLinkService_Spec{}
err := service.AssignProperties_To_PrivateLinkService_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -665,7 +665,7 @@ func (service *PrivateLinkService_Spec) ConvertSpecTo(destination genruntime.Con
}
// AssignProperties_From_PrivateLinkService_Spec populates our PrivateLinkService_Spec from the provided source PrivateLinkService_Spec
-func (service *PrivateLinkService_Spec) AssignProperties_From_PrivateLinkService_Spec(source *v20220701s.PrivateLinkService_Spec) error {
+func (service *PrivateLinkService_Spec) AssignProperties_From_PrivateLinkService_Spec(source *storage.PrivateLinkService_Spec) error {
// AutoApproval
if source.AutoApproval != nil {
@@ -784,13 +784,13 @@ func (service *PrivateLinkService_Spec) AssignProperties_From_PrivateLinkService
}
// AssignProperties_To_PrivateLinkService_Spec populates the provided destination PrivateLinkService_Spec from our PrivateLinkService_Spec
-func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_Spec(destination *v20220701s.PrivateLinkService_Spec) error {
+func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_Spec(destination *storage.PrivateLinkService_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// AutoApproval
if service.AutoApproval != nil {
- var autoApproval v20220701s.ResourceSet
+ var autoApproval storage.ResourceSet
err := service.AutoApproval.AssignProperties_To_ResourceSet(&autoApproval)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceSet() to populate field AutoApproval")
@@ -813,7 +813,7 @@ func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_S
// ExtendedLocation
if service.ExtendedLocation != nil {
- var extendedLocation v20220701s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := service.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -828,11 +828,11 @@ func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_S
// IpConfigurations
if service.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.PrivateLinkServiceIpConfiguration, len(service.IpConfigurations))
+ ipConfigurationList := make([]storage.PrivateLinkServiceIpConfiguration, len(service.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range service.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.PrivateLinkServiceIpConfiguration
+ var ipConfiguration storage.PrivateLinkServiceIpConfiguration
err := ipConfigurationItem.AssignProperties_To_PrivateLinkServiceIpConfiguration(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceIpConfiguration() to populate field IpConfigurations")
@@ -846,11 +846,11 @@ func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_S
// LoadBalancerFrontendIpConfigurations
if service.LoadBalancerFrontendIpConfigurations != nil {
- loadBalancerFrontendIpConfigurationList := make([]v20220701s.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded, len(service.LoadBalancerFrontendIpConfigurations))
+ loadBalancerFrontendIpConfigurationList := make([]storage.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded, len(service.LoadBalancerFrontendIpConfigurations))
for loadBalancerFrontendIpConfigurationIndex, loadBalancerFrontendIpConfigurationItem := range service.LoadBalancerFrontendIpConfigurations {
// Shadow the loop variable to avoid aliasing
loadBalancerFrontendIpConfigurationItem := loadBalancerFrontendIpConfigurationItem
- var loadBalancerFrontendIpConfiguration v20220701s.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded
+ var loadBalancerFrontendIpConfiguration storage.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded
err := loadBalancerFrontendIpConfigurationItem.AssignProperties_To_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded(&loadBalancerFrontendIpConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded() to populate field LoadBalancerFrontendIpConfigurations")
@@ -867,7 +867,7 @@ func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_S
// OperatorSpec
if service.OperatorSpec != nil {
- var operatorSpec v20220701s.PrivateLinkServiceOperatorSpec
+ var operatorSpec storage.PrivateLinkServiceOperatorSpec
err := service.OperatorSpec.AssignProperties_To_PrivateLinkServiceOperatorSpec(&operatorSpec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceOperatorSpec() to populate field OperatorSpec")
@@ -893,7 +893,7 @@ func (service *PrivateLinkService_Spec) AssignProperties_To_PrivateLinkService_S
// Visibility
if service.Visibility != nil {
- var visibility v20220701s.ResourceSet
+ var visibility storage.ResourceSet
err := service.Visibility.AssignProperties_To_ResourceSet(&visibility)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceSet() to populate field Visibility")
@@ -1079,14 +1079,14 @@ var _ genruntime.ConvertibleStatus = &PrivateLinkService_STATUS_PrivateLinkServi
// ConvertStatusFrom populates our PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded from the provided source
func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded)
+ src, ok := source.(*storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded)
if ok {
// Populate our instance from source
return embedded.AssignProperties_From_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(src)
}
// Convert to an intermediate form
- src = &v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded{}
+ src = &storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1103,14 +1103,14 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// ConvertStatusTo populates the provided destination from our PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded)
+ dst, ok := destination.(*storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded)
if ok {
// Populate destination from our instance
return embedded.AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded{}
+ dst = &storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded{}
err := embedded.AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1310,7 +1310,7 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
}
// AssignProperties_From_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded populates our PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded from the provided source PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(source *v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(source *storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Alias
embedded.Alias = genruntime.ClonePointerToString(source.Alias)
@@ -1439,8 +1439,9 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ApplicationGatewayProvisioningState_STATUS(*source.ProvisioningState)
- embedded.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, applicationGatewayProvisioningState_STATUS_Values)
+ embedded.ProvisioningState = &provisioningStateTemp
} else {
embedded.ProvisioningState = nil
}
@@ -1468,7 +1469,7 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
}
// AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded populates the provided destination PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded from our PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(destination *v20220701s.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded(destination *storage.PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1477,7 +1478,7 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// AutoApproval
if embedded.AutoApproval != nil {
- var autoApproval v20220701s.ResourceSet_STATUS
+ var autoApproval storage.ResourceSet_STATUS
err := embedded.AutoApproval.AssignProperties_To_ResourceSet_STATUS(&autoApproval)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceSet_STATUS() to populate field AutoApproval")
@@ -1503,7 +1504,7 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// ExtendedLocation
if embedded.ExtendedLocation != nil {
- var extendedLocation v20220701s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := embedded.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1521,11 +1522,11 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// IpConfigurations
if embedded.IpConfigurations != nil {
- ipConfigurationList := make([]v20220701s.PrivateLinkServiceIpConfiguration_STATUS, len(embedded.IpConfigurations))
+ ipConfigurationList := make([]storage.PrivateLinkServiceIpConfiguration_STATUS, len(embedded.IpConfigurations))
for ipConfigurationIndex, ipConfigurationItem := range embedded.IpConfigurations {
// Shadow the loop variable to avoid aliasing
ipConfigurationItem := ipConfigurationItem
- var ipConfiguration v20220701s.PrivateLinkServiceIpConfiguration_STATUS
+ var ipConfiguration storage.PrivateLinkServiceIpConfiguration_STATUS
err := ipConfigurationItem.AssignProperties_To_PrivateLinkServiceIpConfiguration_STATUS(&ipConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceIpConfiguration_STATUS() to populate field IpConfigurations")
@@ -1539,11 +1540,11 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// LoadBalancerFrontendIpConfigurations
if embedded.LoadBalancerFrontendIpConfigurations != nil {
- loadBalancerFrontendIpConfigurationList := make([]v20220701s.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded, len(embedded.LoadBalancerFrontendIpConfigurations))
+ loadBalancerFrontendIpConfigurationList := make([]storage.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded, len(embedded.LoadBalancerFrontendIpConfigurations))
for loadBalancerFrontendIpConfigurationIndex, loadBalancerFrontendIpConfigurationItem := range embedded.LoadBalancerFrontendIpConfigurations {
// Shadow the loop variable to avoid aliasing
loadBalancerFrontendIpConfigurationItem := loadBalancerFrontendIpConfigurationItem
- var loadBalancerFrontendIpConfiguration v20220701s.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded
+ var loadBalancerFrontendIpConfiguration storage.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded
err := loadBalancerFrontendIpConfigurationItem.AssignProperties_To_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded(&loadBalancerFrontendIpConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded() to populate field LoadBalancerFrontendIpConfigurations")
@@ -1563,11 +1564,11 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// NetworkInterfaces
if embedded.NetworkInterfaces != nil {
- networkInterfaceList := make([]v20220701s.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded, len(embedded.NetworkInterfaces))
+ networkInterfaceList := make([]storage.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded, len(embedded.NetworkInterfaces))
for networkInterfaceIndex, networkInterfaceItem := range embedded.NetworkInterfaces {
// Shadow the loop variable to avoid aliasing
networkInterfaceItem := networkInterfaceItem
- var networkInterface v20220701s.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded
+ var networkInterface storage.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded
err := networkInterfaceItem.AssignProperties_To_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded(&networkInterface)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded() to populate field NetworkInterfaces")
@@ -1581,11 +1582,11 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// PrivateEndpointConnections
if embedded.PrivateEndpointConnections != nil {
- privateEndpointConnectionList := make([]v20220701s.PrivateEndpointConnection_STATUS, len(embedded.PrivateEndpointConnections))
+ privateEndpointConnectionList := make([]storage.PrivateEndpointConnection_STATUS, len(embedded.PrivateEndpointConnections))
for privateEndpointConnectionIndex, privateEndpointConnectionItem := range embedded.PrivateEndpointConnections {
// Shadow the loop variable to avoid aliasing
privateEndpointConnectionItem := privateEndpointConnectionItem
- var privateEndpointConnection v20220701s.PrivateEndpointConnection_STATUS
+ var privateEndpointConnection storage.PrivateEndpointConnection_STATUS
err := privateEndpointConnectionItem.AssignProperties_To_PrivateEndpointConnection_STATUS(&privateEndpointConnection)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateEndpointConnection_STATUS() to populate field PrivateEndpointConnections")
@@ -1613,7 +1614,7 @@ func (embedded *PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded
// Visibility
if embedded.Visibility != nil {
- var visibility v20220701s.ResourceSet_STATUS
+ var visibility storage.ResourceSet_STATUS
err := embedded.Visibility.AssignProperties_To_ResourceSet_STATUS(&visibility)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceSet_STATUS() to populate field Visibility")
@@ -1680,7 +1681,7 @@ func (embedded *FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded)
}
// AssignProperties_From_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded populates our FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded from the provided source FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded(source *v20220701s.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded(source *storage.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -1695,7 +1696,7 @@ func (embedded *FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded)
}
// AssignProperties_To_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded populates the provided destination FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded from our FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded(destination *v20220701s.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded(destination *storage.FrontendIPConfiguration_PrivateLinkService_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1764,7 +1765,7 @@ func (embedded *FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmb
}
// AssignProperties_From_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded populates our FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded from the provided source FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded(source *v20220701s.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded(source *storage.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1774,7 +1775,7 @@ func (embedded *FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmb
}
// AssignProperties_To_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded populates the provided destination FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded from our FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded(destination *v20220701s.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded(destination *storage.FrontendIPConfiguration_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1823,7 +1824,7 @@ func (embedded *NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded)
}
// AssignProperties_From_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded populates our NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded from the provided source NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded(source *v20220701s.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded(source *storage.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1833,7 +1834,7 @@ func (embedded *NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded)
}
// AssignProperties_To_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded populates the provided destination NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded from our NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded(destination *v20220701s.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded(destination *storage.NetworkInterface_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1882,7 +1883,7 @@ func (connection *PrivateEndpointConnection_STATUS) PopulateFromARM(owner genrun
}
// AssignProperties_From_PrivateEndpointConnection_STATUS populates our PrivateEndpointConnection_STATUS from the provided source PrivateEndpointConnection_STATUS
-func (connection *PrivateEndpointConnection_STATUS) AssignProperties_From_PrivateEndpointConnection_STATUS(source *v20220701s.PrivateEndpointConnection_STATUS) error {
+func (connection *PrivateEndpointConnection_STATUS) AssignProperties_From_PrivateEndpointConnection_STATUS(source *storage.PrivateEndpointConnection_STATUS) error {
// Id
connection.Id = genruntime.ClonePointerToString(source.Id)
@@ -1892,7 +1893,7 @@ func (connection *PrivateEndpointConnection_STATUS) AssignProperties_From_Privat
}
// AssignProperties_To_PrivateEndpointConnection_STATUS populates the provided destination PrivateEndpointConnection_STATUS from our PrivateEndpointConnection_STATUS
-func (connection *PrivateEndpointConnection_STATUS) AssignProperties_To_PrivateEndpointConnection_STATUS(destination *v20220701s.PrivateEndpointConnection_STATUS) error {
+func (connection *PrivateEndpointConnection_STATUS) AssignProperties_To_PrivateEndpointConnection_STATUS(destination *storage.PrivateEndpointConnection_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2054,7 +2055,7 @@ func (configuration *PrivateLinkServiceIpConfiguration) PopulateFromARM(owner ge
}
// AssignProperties_From_PrivateLinkServiceIpConfiguration populates our PrivateLinkServiceIpConfiguration from the provided source PrivateLinkServiceIpConfiguration
-func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_From_PrivateLinkServiceIpConfiguration(source *v20220701s.PrivateLinkServiceIpConfiguration) error {
+func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_From_PrivateLinkServiceIpConfiguration(source *storage.PrivateLinkServiceIpConfiguration) error {
// Name
configuration.Name = genruntime.ClonePointerToString(source.Name)
@@ -2072,16 +2073,18 @@ func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_From_Pr
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion(*source.PrivateIPAddressVersion)
- configuration.PrivateIPAddressVersion = &privateIPAddressVersion
+ privateIPAddressVersion := *source.PrivateIPAddressVersion
+ privateIPAddressVersionTemp := genruntime.ToEnum(privateIPAddressVersion, iPVersion_Values)
+ configuration.PrivateIPAddressVersion = &privateIPAddressVersionTemp
} else {
configuration.PrivateIPAddressVersion = nil
}
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
- configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_Values)
+ configuration.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
configuration.PrivateIPAllocationMethod = nil
}
@@ -2103,7 +2106,7 @@ func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_From_Pr
}
// AssignProperties_To_PrivateLinkServiceIpConfiguration populates the provided destination PrivateLinkServiceIpConfiguration from our PrivateLinkServiceIpConfiguration
-func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_To_PrivateLinkServiceIpConfiguration(destination *v20220701s.PrivateLinkServiceIpConfiguration) error {
+func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_To_PrivateLinkServiceIpConfiguration(destination *storage.PrivateLinkServiceIpConfiguration) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2139,7 +2142,7 @@ func (configuration *PrivateLinkServiceIpConfiguration) AssignProperties_To_Priv
// Subnet
if configuration.Subnet != nil {
- var subnet v20220701s.Subnet_PrivateLinkService_SubResourceEmbedded
+ var subnet storage.Subnet_PrivateLinkService_SubResourceEmbedded
err := configuration.Subnet.AssignProperties_To_Subnet_PrivateLinkService_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_PrivateLinkService_SubResourceEmbedded() to populate field Subnet")
@@ -2179,7 +2182,7 @@ func (configuration *PrivateLinkServiceIpConfiguration) Initialize_From_PrivateL
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion(*source.PrivateIPAddressVersion)
+ privateIPAddressVersion := genruntime.ToEnum(string(*source.PrivateIPAddressVersion), iPVersion_Values)
configuration.PrivateIPAddressVersion = &privateIPAddressVersion
} else {
configuration.PrivateIPAddressVersion = nil
@@ -2187,7 +2190,7 @@ func (configuration *PrivateLinkServiceIpConfiguration) Initialize_From_PrivateL
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod(*source.PrivateIPAllocationMethod)
+ privateIPAllocationMethod := genruntime.ToEnum(string(*source.PrivateIPAllocationMethod), iPAllocationMethod_Values)
configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
} else {
configuration.PrivateIPAllocationMethod = nil
@@ -2344,7 +2347,7 @@ func (configuration *PrivateLinkServiceIpConfiguration_STATUS) PopulateFromARM(o
}
// AssignProperties_From_PrivateLinkServiceIpConfiguration_STATUS populates our PrivateLinkServiceIpConfiguration_STATUS from the provided source PrivateLinkServiceIpConfiguration_STATUS
-func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_From_PrivateLinkServiceIpConfiguration_STATUS(source *v20220701s.PrivateLinkServiceIpConfiguration_STATUS) error {
+func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_From_PrivateLinkServiceIpConfiguration_STATUS(source *storage.PrivateLinkServiceIpConfiguration_STATUS) error {
// Etag
configuration.Etag = genruntime.ClonePointerToString(source.Etag)
@@ -2368,24 +2371,27 @@ func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_
// PrivateIPAddressVersion
if source.PrivateIPAddressVersion != nil {
- privateIPAddressVersion := IPVersion_STATUS(*source.PrivateIPAddressVersion)
- configuration.PrivateIPAddressVersion = &privateIPAddressVersion
+ privateIPAddressVersion := *source.PrivateIPAddressVersion
+ privateIPAddressVersionTemp := genruntime.ToEnum(privateIPAddressVersion, iPVersion_STATUS_Values)
+ configuration.PrivateIPAddressVersion = &privateIPAddressVersionTemp
} else {
configuration.PrivateIPAddressVersion = nil
}
// PrivateIPAllocationMethod
if source.PrivateIPAllocationMethod != nil {
- privateIPAllocationMethod := IPAllocationMethod_STATUS(*source.PrivateIPAllocationMethod)
- configuration.PrivateIPAllocationMethod = &privateIPAllocationMethod
+ privateIPAllocationMethod := *source.PrivateIPAllocationMethod
+ privateIPAllocationMethodTemp := genruntime.ToEnum(privateIPAllocationMethod, iPAllocationMethod_STATUS_Values)
+ configuration.PrivateIPAllocationMethod = &privateIPAllocationMethodTemp
} else {
configuration.PrivateIPAllocationMethod = nil
}
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := ApplicationGatewayProvisioningState_STATUS(*source.ProvisioningState)
- configuration.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, applicationGatewayProvisioningState_STATUS_Values)
+ configuration.ProvisioningState = &provisioningStateTemp
} else {
configuration.ProvisioningState = nil
}
@@ -2410,7 +2416,7 @@ func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_
}
// AssignProperties_To_PrivateLinkServiceIpConfiguration_STATUS populates the provided destination PrivateLinkServiceIpConfiguration_STATUS from our PrivateLinkServiceIpConfiguration_STATUS
-func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_To_PrivateLinkServiceIpConfiguration_STATUS(destination *v20220701s.PrivateLinkServiceIpConfiguration_STATUS) error {
+func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_To_PrivateLinkServiceIpConfiguration_STATUS(destination *storage.PrivateLinkServiceIpConfiguration_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2460,7 +2466,7 @@ func (configuration *PrivateLinkServiceIpConfiguration_STATUS) AssignProperties_
// Subnet
if configuration.Subnet != nil {
- var subnet v20220701s.Subnet_STATUS_PrivateLinkService_SubResourceEmbedded
+ var subnet storage.Subnet_STATUS_PrivateLinkService_SubResourceEmbedded
err := configuration.Subnet.AssignProperties_To_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded(&subnet)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded() to populate field Subnet")
@@ -2491,7 +2497,7 @@ type PrivateLinkServiceOperatorSpec struct {
}
// AssignProperties_From_PrivateLinkServiceOperatorSpec populates our PrivateLinkServiceOperatorSpec from the provided source PrivateLinkServiceOperatorSpec
-func (operator *PrivateLinkServiceOperatorSpec) AssignProperties_From_PrivateLinkServiceOperatorSpec(source *v20220701s.PrivateLinkServiceOperatorSpec) error {
+func (operator *PrivateLinkServiceOperatorSpec) AssignProperties_From_PrivateLinkServiceOperatorSpec(source *storage.PrivateLinkServiceOperatorSpec) error {
// ConfigMaps
if source.ConfigMaps != nil {
@@ -2510,13 +2516,13 @@ func (operator *PrivateLinkServiceOperatorSpec) AssignProperties_From_PrivateLin
}
// AssignProperties_To_PrivateLinkServiceOperatorSpec populates the provided destination PrivateLinkServiceOperatorSpec from our PrivateLinkServiceOperatorSpec
-func (operator *PrivateLinkServiceOperatorSpec) AssignProperties_To_PrivateLinkServiceOperatorSpec(destination *v20220701s.PrivateLinkServiceOperatorSpec) error {
+func (operator *PrivateLinkServiceOperatorSpec) AssignProperties_To_PrivateLinkServiceOperatorSpec(destination *storage.PrivateLinkServiceOperatorSpec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
// ConfigMaps
if operator.ConfigMaps != nil {
- var configMap v20220701s.PrivateLinkServiceOperatorConfigMaps
+ var configMap storage.PrivateLinkServiceOperatorConfigMaps
err := operator.ConfigMaps.AssignProperties_To_PrivateLinkServiceOperatorConfigMaps(&configMap)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PrivateLinkServiceOperatorConfigMaps() to populate field ConfigMaps")
@@ -2581,7 +2587,7 @@ func (resourceSet *ResourceSet) PopulateFromARM(owner genruntime.ArbitraryOwnerR
}
// AssignProperties_From_ResourceSet populates our ResourceSet from the provided source ResourceSet
-func (resourceSet *ResourceSet) AssignProperties_From_ResourceSet(source *v20220701s.ResourceSet) error {
+func (resourceSet *ResourceSet) AssignProperties_From_ResourceSet(source *storage.ResourceSet) error {
// Subscriptions
resourceSet.Subscriptions = genruntime.CloneSliceOfString(source.Subscriptions)
@@ -2591,7 +2597,7 @@ func (resourceSet *ResourceSet) AssignProperties_From_ResourceSet(source *v20220
}
// AssignProperties_To_ResourceSet populates the provided destination ResourceSet from our ResourceSet
-func (resourceSet *ResourceSet) AssignProperties_To_ResourceSet(destination *v20220701s.ResourceSet) error {
+func (resourceSet *ResourceSet) AssignProperties_To_ResourceSet(destination *storage.ResourceSet) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2649,7 +2655,7 @@ func (resourceSet *ResourceSet_STATUS) PopulateFromARM(owner genruntime.Arbitrar
}
// AssignProperties_From_ResourceSet_STATUS populates our ResourceSet_STATUS from the provided source ResourceSet_STATUS
-func (resourceSet *ResourceSet_STATUS) AssignProperties_From_ResourceSet_STATUS(source *v20220701s.ResourceSet_STATUS) error {
+func (resourceSet *ResourceSet_STATUS) AssignProperties_From_ResourceSet_STATUS(source *storage.ResourceSet_STATUS) error {
// Subscriptions
resourceSet.Subscriptions = genruntime.CloneSliceOfString(source.Subscriptions)
@@ -2659,7 +2665,7 @@ func (resourceSet *ResourceSet_STATUS) AssignProperties_From_ResourceSet_STATUS(
}
// AssignProperties_To_ResourceSet_STATUS populates the provided destination ResourceSet_STATUS from our ResourceSet_STATUS
-func (resourceSet *ResourceSet_STATUS) AssignProperties_To_ResourceSet_STATUS(destination *v20220701s.ResourceSet_STATUS) error {
+func (resourceSet *ResourceSet_STATUS) AssignProperties_To_ResourceSet_STATUS(destination *storage.ResourceSet_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2685,13 +2691,19 @@ const (
IPAllocationMethod_STATUS_Static = IPAllocationMethod_STATUS("Static")
)
+// Mapping from string to IPAllocationMethod_STATUS
+var iPAllocationMethod_STATUS_Values = map[string]IPAllocationMethod_STATUS{
+ "dynamic": IPAllocationMethod_STATUS_Dynamic,
+ "static": IPAllocationMethod_STATUS_Static,
+}
+
type PrivateLinkServiceOperatorConfigMaps struct {
// Alias: indicates where the Alias config map should be placed. If omitted, no config map will be created.
Alias *genruntime.ConfigMapDestination `json:"alias,omitempty"`
}
// AssignProperties_From_PrivateLinkServiceOperatorConfigMaps populates our PrivateLinkServiceOperatorConfigMaps from the provided source PrivateLinkServiceOperatorConfigMaps
-func (maps *PrivateLinkServiceOperatorConfigMaps) AssignProperties_From_PrivateLinkServiceOperatorConfigMaps(source *v20220701s.PrivateLinkServiceOperatorConfigMaps) error {
+func (maps *PrivateLinkServiceOperatorConfigMaps) AssignProperties_From_PrivateLinkServiceOperatorConfigMaps(source *storage.PrivateLinkServiceOperatorConfigMaps) error {
// Alias
if source.Alias != nil {
@@ -2706,7 +2718,7 @@ func (maps *PrivateLinkServiceOperatorConfigMaps) AssignProperties_From_PrivateL
}
// AssignProperties_To_PrivateLinkServiceOperatorConfigMaps populates the provided destination PrivateLinkServiceOperatorConfigMaps from our PrivateLinkServiceOperatorConfigMaps
-func (maps *PrivateLinkServiceOperatorConfigMaps) AssignProperties_To_PrivateLinkServiceOperatorConfigMaps(destination *v20220701s.PrivateLinkServiceOperatorConfigMaps) error {
+func (maps *PrivateLinkServiceOperatorConfigMaps) AssignProperties_To_PrivateLinkServiceOperatorConfigMaps(destination *storage.PrivateLinkServiceOperatorConfigMaps) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2775,7 +2787,7 @@ func (embedded *Subnet_PrivateLinkService_SubResourceEmbedded) PopulateFromARM(o
}
// AssignProperties_From_Subnet_PrivateLinkService_SubResourceEmbedded populates our Subnet_PrivateLinkService_SubResourceEmbedded from the provided source Subnet_PrivateLinkService_SubResourceEmbedded
-func (embedded *Subnet_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_Subnet_PrivateLinkService_SubResourceEmbedded(source *v20220701s.Subnet_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *Subnet_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_Subnet_PrivateLinkService_SubResourceEmbedded(source *storage.Subnet_PrivateLinkService_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -2790,7 +2802,7 @@ func (embedded *Subnet_PrivateLinkService_SubResourceEmbedded) AssignProperties_
}
// AssignProperties_To_Subnet_PrivateLinkService_SubResourceEmbedded populates the provided destination Subnet_PrivateLinkService_SubResourceEmbedded from our Subnet_PrivateLinkService_SubResourceEmbedded
-func (embedded *Subnet_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_Subnet_PrivateLinkService_SubResourceEmbedded(destination *v20220701s.Subnet_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *Subnet_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_Subnet_PrivateLinkService_SubResourceEmbedded(destination *storage.Subnet_PrivateLinkService_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2859,7 +2871,7 @@ func (embedded *Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) PopulateFr
}
// AssignProperties_From_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded populates our Subnet_STATUS_PrivateLinkService_SubResourceEmbedded from the provided source Subnet_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded(source *v20220701s.Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_From_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded(source *storage.Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -2869,7 +2881,7 @@ func (embedded *Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProp
}
// AssignProperties_To_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded populates the provided destination Subnet_STATUS_PrivateLinkService_SubResourceEmbedded from our Subnet_STATUS_PrivateLinkService_SubResourceEmbedded
-func (embedded *Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded(destination *v20220701s.Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) error {
+func (embedded *Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) AssignProperties_To_Subnet_STATUS_PrivateLinkService_SubResourceEmbedded(destination *storage.Subnet_STATUS_PrivateLinkService_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_spec_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_spec_arm_types_gen.go
index 9509753ec0..45d14677fd 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_spec_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_spec_arm_types_gen.go
@@ -89,6 +89,11 @@ type PublicIPPrefixSku_Name string
const PublicIPPrefixSku_Name_Standard = PublicIPPrefixSku_Name("Standard")
+// Mapping from string to PublicIPPrefixSku_Name
+var publicIPPrefixSku_Name_Values = map[string]PublicIPPrefixSku_Name{
+ "standard": PublicIPPrefixSku_Name_Standard,
+}
+
// +kubebuilder:validation:Enum={"Global","Regional"}
type PublicIPPrefixSku_Tier string
@@ -97,6 +102,12 @@ const (
PublicIPPrefixSku_Tier_Regional = PublicIPPrefixSku_Tier("Regional")
)
+// Mapping from string to PublicIPPrefixSku_Tier
+var publicIPPrefixSku_Tier_Values = map[string]PublicIPPrefixSku_Tier{
+ "global": PublicIPPrefixSku_Tier_Global,
+ "regional": PublicIPPrefixSku_Tier_Regional,
+}
+
// Reference to another subresource.
type PublicIpPrefixSubResource_ARM struct {
Id *string `json:"id,omitempty"`
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_status_arm_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_status_arm_types_gen.go
index 2b5fda683c..bbc619d015 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_status_arm_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_status_arm_types_gen.go
@@ -98,6 +98,11 @@ type PublicIPPrefixSku_Name_STATUS string
const PublicIPPrefixSku_Name_STATUS_Standard = PublicIPPrefixSku_Name_STATUS("Standard")
+// Mapping from string to PublicIPPrefixSku_Name_STATUS
+var publicIPPrefixSku_Name_STATUS_Values = map[string]PublicIPPrefixSku_Name_STATUS{
+ "standard": PublicIPPrefixSku_Name_STATUS_Standard,
+}
+
type PublicIPPrefixSku_Tier_STATUS string
const (
@@ -105,6 +110,12 @@ const (
PublicIPPrefixSku_Tier_STATUS_Regional = PublicIPPrefixSku_Tier_STATUS("Regional")
)
+// Mapping from string to PublicIPPrefixSku_Tier_STATUS
+var publicIPPrefixSku_Tier_STATUS_Values = map[string]PublicIPPrefixSku_Tier_STATUS{
+ "global": PublicIPPrefixSku_Tier_STATUS_Global,
+ "regional": PublicIPPrefixSku_Tier_STATUS_Regional,
+}
+
// Reference to another subresource.
type PublicIpPrefixSubResource_STATUS_ARM struct {
// Id: Resource ID.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_types_gen.go
index 6b150ae3bc..59bde0342d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/public_ip_prefix_types_gen.go
@@ -5,7 +5,7 @@ package v1api20220701
import (
"fmt"
- v20220701s "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &PublicIPPrefix{}
// ConvertFrom populates our PublicIPPrefix from the provided hub PublicIPPrefix
func (prefix *PublicIPPrefix) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20220701s.PublicIPPrefix)
+ source, ok := hub.(*storage.PublicIPPrefix)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PublicIPPrefix but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (prefix *PublicIPPrefix) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub PublicIPPrefix from our PublicIPPrefix
func (prefix *PublicIPPrefix) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20220701s.PublicIPPrefix)
+ destination, ok := hub.(*storage.PublicIPPrefix)
if !ok {
return fmt.Errorf("expected network/v1api20220701/storage/PublicIPPrefix but received %T instead", hub)
}
@@ -254,7 +254,7 @@ func (prefix *PublicIPPrefix) validateWriteOnceProperties(old runtime.Object) (a
}
// AssignProperties_From_PublicIPPrefix populates our PublicIPPrefix from the provided source PublicIPPrefix
-func (prefix *PublicIPPrefix) AssignProperties_From_PublicIPPrefix(source *v20220701s.PublicIPPrefix) error {
+func (prefix *PublicIPPrefix) AssignProperties_From_PublicIPPrefix(source *storage.PublicIPPrefix) error {
// ObjectMeta
prefix.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -280,13 +280,13 @@ func (prefix *PublicIPPrefix) AssignProperties_From_PublicIPPrefix(source *v2022
}
// AssignProperties_To_PublicIPPrefix populates the provided destination PublicIPPrefix from our PublicIPPrefix
-func (prefix *PublicIPPrefix) AssignProperties_To_PublicIPPrefix(destination *v20220701s.PublicIPPrefix) error {
+func (prefix *PublicIPPrefix) AssignProperties_To_PublicIPPrefix(destination *storage.PublicIPPrefix) error {
// ObjectMeta
destination.ObjectMeta = *prefix.ObjectMeta.DeepCopy()
// Spec
- var spec v20220701s.PublicIPPrefix_Spec
+ var spec storage.PublicIPPrefix_Spec
err := prefix.Spec.AssignProperties_To_PublicIPPrefix_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPPrefix_Spec() to populate field Spec")
@@ -294,7 +294,7 @@ func (prefix *PublicIPPrefix) AssignProperties_To_PublicIPPrefix(destination *v2
destination.Spec = spec
// Status
- var status v20220701s.PublicIPPrefix_STATUS
+ var status storage.PublicIPPrefix_STATUS
err = prefix.Status.AssignProperties_To_PublicIPPrefix_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPPrefix_STATUS() to populate field Status")
@@ -588,14 +588,14 @@ var _ genruntime.ConvertibleSpec = &PublicIPPrefix_Spec{}
// ConvertSpecFrom populates our PublicIPPrefix_Spec from the provided source
func (prefix *PublicIPPrefix_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20220701s.PublicIPPrefix_Spec)
+ src, ok := source.(*storage.PublicIPPrefix_Spec)
if ok {
// Populate our instance from source
return prefix.AssignProperties_From_PublicIPPrefix_Spec(src)
}
// Convert to an intermediate form
- src = &v20220701s.PublicIPPrefix_Spec{}
+ src = &storage.PublicIPPrefix_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -612,14 +612,14 @@ func (prefix *PublicIPPrefix_Spec) ConvertSpecFrom(source genruntime.Convertible
// ConvertSpecTo populates the provided destination from our PublicIPPrefix_Spec
func (prefix *PublicIPPrefix_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20220701s.PublicIPPrefix_Spec)
+ dst, ok := destination.(*storage.PublicIPPrefix_Spec)
if ok {
// Populate destination from our instance
return prefix.AssignProperties_To_PublicIPPrefix_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PublicIPPrefix_Spec{}
+ dst = &storage.PublicIPPrefix_Spec{}
err := prefix.AssignProperties_To_PublicIPPrefix_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -635,7 +635,7 @@ func (prefix *PublicIPPrefix_Spec) ConvertSpecTo(destination genruntime.Converti
}
// AssignProperties_From_PublicIPPrefix_Spec populates our PublicIPPrefix_Spec from the provided source PublicIPPrefix_Spec
-func (prefix *PublicIPPrefix_Spec) AssignProperties_From_PublicIPPrefix_Spec(source *v20220701s.PublicIPPrefix_Spec) error {
+func (prefix *PublicIPPrefix_Spec) AssignProperties_From_PublicIPPrefix_Spec(source *storage.PublicIPPrefix_Spec) error {
// AzureName
prefix.AzureName = source.AzureName
@@ -710,8 +710,9 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_From_PublicIPPrefix_Spec(sou
// PublicIPAddressVersion
if source.PublicIPAddressVersion != nil {
- publicIPAddressVersion := IPVersion(*source.PublicIPAddressVersion)
- prefix.PublicIPAddressVersion = &publicIPAddressVersion
+ publicIPAddressVersion := *source.PublicIPAddressVersion
+ publicIPAddressVersionTemp := genruntime.ToEnum(publicIPAddressVersion, iPVersion_Values)
+ prefix.PublicIPAddressVersion = &publicIPAddressVersionTemp
} else {
prefix.PublicIPAddressVersion = nil
}
@@ -739,7 +740,7 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_From_PublicIPPrefix_Spec(sou
}
// AssignProperties_To_PublicIPPrefix_Spec populates the provided destination PublicIPPrefix_Spec from our PublicIPPrefix_Spec
-func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(destination *v20220701s.PublicIPPrefix_Spec) error {
+func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(destination *storage.PublicIPPrefix_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -748,7 +749,7 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(desti
// CustomIPPrefix
if prefix.CustomIPPrefix != nil {
- var customIPPrefix v20220701s.PublicIpPrefixSubResource
+ var customIPPrefix storage.PublicIpPrefixSubResource
err := prefix.CustomIPPrefix.AssignProperties_To_PublicIpPrefixSubResource(&customIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIpPrefixSubResource() to populate field CustomIPPrefix")
@@ -760,7 +761,7 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(desti
// ExtendedLocation
if prefix.ExtendedLocation != nil {
- var extendedLocation v20220701s.ExtendedLocation
+ var extendedLocation storage.ExtendedLocation
err := prefix.ExtendedLocation.AssignProperties_To_ExtendedLocation(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation() to populate field ExtendedLocation")
@@ -772,11 +773,11 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(desti
// IpTags
if prefix.IpTags != nil {
- ipTagList := make([]v20220701s.IpTag, len(prefix.IpTags))
+ ipTagList := make([]storage.IpTag, len(prefix.IpTags))
for ipTagIndex, ipTagItem := range prefix.IpTags {
// Shadow the loop variable to avoid aliasing
ipTagItem := ipTagItem
- var ipTag v20220701s.IpTag
+ var ipTag storage.IpTag
err := ipTagItem.AssignProperties_To_IpTag(&ipTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpTag() to populate field IpTags")
@@ -793,7 +794,7 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(desti
// NatGateway
if prefix.NatGateway != nil {
- var natGateway v20220701s.NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded
+ var natGateway storage.NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded
err := prefix.NatGateway.AssignProperties_To_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded(&natGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded() to populate field NatGateway")
@@ -827,7 +828,7 @@ func (prefix *PublicIPPrefix_Spec) AssignProperties_To_PublicIPPrefix_Spec(desti
// Sku
if prefix.Sku != nil {
- var sku v20220701s.PublicIPPrefixSku
+ var sku storage.PublicIPPrefixSku
err := prefix.Sku.AssignProperties_To_PublicIPPrefixSku(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPPrefixSku() to populate field Sku")
@@ -919,7 +920,7 @@ func (prefix *PublicIPPrefix_Spec) Initialize_From_PublicIPPrefix_STATUS(source
// PublicIPAddressVersion
if source.PublicIPAddressVersion != nil {
- publicIPAddressVersion := IPVersion(*source.PublicIPAddressVersion)
+ publicIPAddressVersion := genruntime.ToEnum(string(*source.PublicIPAddressVersion), iPVersion_Values)
prefix.PublicIPAddressVersion = &publicIPAddressVersion
} else {
prefix.PublicIPAddressVersion = nil
@@ -1023,14 +1024,14 @@ var _ genruntime.ConvertibleStatus = &PublicIPPrefix_STATUS{}
// ConvertStatusFrom populates our PublicIPPrefix_STATUS from the provided source
func (prefix *PublicIPPrefix_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20220701s.PublicIPPrefix_STATUS)
+ src, ok := source.(*storage.PublicIPPrefix_STATUS)
if ok {
// Populate our instance from source
return prefix.AssignProperties_From_PublicIPPrefix_STATUS(src)
}
// Convert to an intermediate form
- src = &v20220701s.PublicIPPrefix_STATUS{}
+ src = &storage.PublicIPPrefix_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -1047,14 +1048,14 @@ func (prefix *PublicIPPrefix_STATUS) ConvertStatusFrom(source genruntime.Convert
// ConvertStatusTo populates the provided destination from our PublicIPPrefix_STATUS
func (prefix *PublicIPPrefix_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20220701s.PublicIPPrefix_STATUS)
+ dst, ok := destination.(*storage.PublicIPPrefix_STATUS)
if ok {
// Populate destination from our instance
return prefix.AssignProperties_To_PublicIPPrefix_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20220701s.PublicIPPrefix_STATUS{}
+ dst = &storage.PublicIPPrefix_STATUS{}
err := prefix.AssignProperties_To_PublicIPPrefix_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -1268,7 +1269,7 @@ func (prefix *PublicIPPrefix_STATUS) PopulateFromARM(owner genruntime.ArbitraryO
}
// AssignProperties_From_PublicIPPrefix_STATUS populates our PublicIPPrefix_STATUS from the provided source PublicIPPrefix_STATUS
-func (prefix *PublicIPPrefix_STATUS) AssignProperties_From_PublicIPPrefix_STATUS(source *v20220701s.PublicIPPrefix_STATUS) error {
+func (prefix *PublicIPPrefix_STATUS) AssignProperties_From_PublicIPPrefix_STATUS(source *storage.PublicIPPrefix_STATUS) error {
// Conditions
prefix.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -1359,16 +1360,18 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_From_PublicIPPrefix_STATUS
// ProvisioningState
if source.ProvisioningState != nil {
- provisioningState := PublicIpPrefixProvisioningState_STATUS(*source.ProvisioningState)
- prefix.ProvisioningState = &provisioningState
+ provisioningState := *source.ProvisioningState
+ provisioningStateTemp := genruntime.ToEnum(provisioningState, publicIpPrefixProvisioningState_STATUS_Values)
+ prefix.ProvisioningState = &provisioningStateTemp
} else {
prefix.ProvisioningState = nil
}
// PublicIPAddressVersion
if source.PublicIPAddressVersion != nil {
- publicIPAddressVersion := IPVersion_STATUS(*source.PublicIPAddressVersion)
- prefix.PublicIPAddressVersion = &publicIPAddressVersion
+ publicIPAddressVersion := *source.PublicIPAddressVersion
+ publicIPAddressVersionTemp := genruntime.ToEnum(publicIPAddressVersion, iPVersion_STATUS_Values)
+ prefix.PublicIPAddressVersion = &publicIPAddressVersionTemp
} else {
prefix.PublicIPAddressVersion = nil
}
@@ -1420,7 +1423,7 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_From_PublicIPPrefix_STATUS
}
// AssignProperties_To_PublicIPPrefix_STATUS populates the provided destination PublicIPPrefix_STATUS from our PublicIPPrefix_STATUS
-func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(destination *v20220701s.PublicIPPrefix_STATUS) error {
+func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(destination *storage.PublicIPPrefix_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1429,7 +1432,7 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// CustomIPPrefix
if prefix.CustomIPPrefix != nil {
- var customIPPrefix v20220701s.PublicIpPrefixSubResource_STATUS
+ var customIPPrefix storage.PublicIpPrefixSubResource_STATUS
err := prefix.CustomIPPrefix.AssignProperties_To_PublicIpPrefixSubResource_STATUS(&customIPPrefix)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIpPrefixSubResource_STATUS() to populate field CustomIPPrefix")
@@ -1444,7 +1447,7 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// ExtendedLocation
if prefix.ExtendedLocation != nil {
- var extendedLocation v20220701s.ExtendedLocation_STATUS
+ var extendedLocation storage.ExtendedLocation_STATUS
err := prefix.ExtendedLocation.AssignProperties_To_ExtendedLocation_STATUS(&extendedLocation)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ExtendedLocation_STATUS() to populate field ExtendedLocation")
@@ -1462,11 +1465,11 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// IpTags
if prefix.IpTags != nil {
- ipTagList := make([]v20220701s.IpTag_STATUS, len(prefix.IpTags))
+ ipTagList := make([]storage.IpTag_STATUS, len(prefix.IpTags))
for ipTagIndex, ipTagItem := range prefix.IpTags {
// Shadow the loop variable to avoid aliasing
ipTagItem := ipTagItem
- var ipTag v20220701s.IpTag_STATUS
+ var ipTag storage.IpTag_STATUS
err := ipTagItem.AssignProperties_To_IpTag_STATUS(&ipTag)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_IpTag_STATUS() to populate field IpTags")
@@ -1480,7 +1483,7 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// LoadBalancerFrontendIpConfiguration
if prefix.LoadBalancerFrontendIpConfiguration != nil {
- var loadBalancerFrontendIpConfiguration v20220701s.PublicIpPrefixSubResource_STATUS
+ var loadBalancerFrontendIpConfiguration storage.PublicIpPrefixSubResource_STATUS
err := prefix.LoadBalancerFrontendIpConfiguration.AssignProperties_To_PublicIpPrefixSubResource_STATUS(&loadBalancerFrontendIpConfiguration)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIpPrefixSubResource_STATUS() to populate field LoadBalancerFrontendIpConfiguration")
@@ -1498,7 +1501,7 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// NatGateway
if prefix.NatGateway != nil {
- var natGateway v20220701s.NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded
+ var natGateway storage.NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded
err := prefix.NatGateway.AssignProperties_To_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded(&natGateway)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded() to populate field NatGateway")
@@ -1529,11 +1532,11 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// PublicIPAddresses
if prefix.PublicIPAddresses != nil {
- publicIPAddressList := make([]v20220701s.ReferencedPublicIpAddress_STATUS, len(prefix.PublicIPAddresses))
+ publicIPAddressList := make([]storage.ReferencedPublicIpAddress_STATUS, len(prefix.PublicIPAddresses))
for publicIPAddressIndex, publicIPAddressItem := range prefix.PublicIPAddresses {
// Shadow the loop variable to avoid aliasing
publicIPAddressItem := publicIPAddressItem
- var publicIPAddress v20220701s.ReferencedPublicIpAddress_STATUS
+ var publicIPAddress storage.ReferencedPublicIpAddress_STATUS
err := publicIPAddressItem.AssignProperties_To_ReferencedPublicIpAddress_STATUS(&publicIPAddress)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ReferencedPublicIpAddress_STATUS() to populate field PublicIPAddresses")
@@ -1550,7 +1553,7 @@ func (prefix *PublicIPPrefix_STATUS) AssignProperties_To_PublicIPPrefix_STATUS(d
// Sku
if prefix.Sku != nil {
- var sku v20220701s.PublicIPPrefixSku_STATUS
+ var sku storage.PublicIPPrefixSku_STATUS
err := prefix.Sku.AssignProperties_To_PublicIPPrefixSku_STATUS(&sku)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_PublicIPPrefixSku_STATUS() to populate field Sku")
@@ -1641,7 +1644,7 @@ func (ipTag *IpTag) PopulateFromARM(owner genruntime.ArbitraryOwnerReference, ar
}
// AssignProperties_From_IpTag populates our IpTag from the provided source IpTag
-func (ipTag *IpTag) AssignProperties_From_IpTag(source *v20220701s.IpTag) error {
+func (ipTag *IpTag) AssignProperties_From_IpTag(source *storage.IpTag) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -1654,7 +1657,7 @@ func (ipTag *IpTag) AssignProperties_From_IpTag(source *v20220701s.IpTag) error
}
// AssignProperties_To_IpTag populates the provided destination IpTag from our IpTag
-func (ipTag *IpTag) AssignProperties_To_IpTag(destination *v20220701s.IpTag) error {
+func (ipTag *IpTag) AssignProperties_To_IpTag(destination *storage.IpTag) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1728,7 +1731,7 @@ func (ipTag *IpTag_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwnerRefere
}
// AssignProperties_From_IpTag_STATUS populates our IpTag_STATUS from the provided source IpTag_STATUS
-func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *v20220701s.IpTag_STATUS) error {
+func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *storage.IpTag_STATUS) error {
// IpTagType
ipTag.IpTagType = genruntime.ClonePointerToString(source.IpTagType)
@@ -1741,7 +1744,7 @@ func (ipTag *IpTag_STATUS) AssignProperties_From_IpTag_STATUS(source *v20220701s
}
// AssignProperties_To_IpTag_STATUS populates the provided destination IpTag_STATUS from our IpTag_STATUS
-func (ipTag *IpTag_STATUS) AssignProperties_To_IpTag_STATUS(destination *v20220701s.IpTag_STATUS) error {
+func (ipTag *IpTag_STATUS) AssignProperties_To_IpTag_STATUS(destination *storage.IpTag_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1771,6 +1774,12 @@ const (
IPVersion_IPv6 = IPVersion("IPv6")
)
+// Mapping from string to IPVersion
+var iPVersion_Values = map[string]IPVersion{
+ "ipv4": IPVersion_IPv4,
+ "ipv6": IPVersion_IPv6,
+}
+
// IP address version.
type IPVersion_STATUS string
@@ -1779,6 +1788,12 @@ const (
IPVersion_STATUS_IPv6 = IPVersion_STATUS("IPv6")
)
+// Mapping from string to IPVersion_STATUS
+var iPVersion_STATUS_Values = map[string]IPVersion_STATUS{
+ "ipv4": IPVersion_STATUS_IPv4,
+ "ipv6": IPVersion_STATUS_IPv6,
+}
+
// Nat Gateway resource.
type NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded struct {
// Id: Resource ID.
@@ -1810,7 +1825,7 @@ func (embedded *NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) PopulateFr
}
// AssignProperties_From_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded populates our NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded from the provided source NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded
-func (embedded *NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) AssignProperties_From_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded(source *v20220701s.NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) error {
+func (embedded *NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) AssignProperties_From_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded(source *storage.NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) error {
// Id
embedded.Id = genruntime.ClonePointerToString(source.Id)
@@ -1820,7 +1835,7 @@ func (embedded *NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) AssignProp
}
// AssignProperties_To_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded populates the provided destination NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded from our NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded
-func (embedded *NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) AssignProperties_To_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded(destination *v20220701s.NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) error {
+func (embedded *NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) AssignProperties_To_NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded(destination *storage.NatGateway_STATUS_PublicIPPrefix_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1884,7 +1899,7 @@ func (embedded *NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) PopulateFromA
}
// AssignProperties_From_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded populates our NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded from the provided source NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded
-func (embedded *NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) AssignProperties_From_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded(source *v20220701s.NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) error {
+func (embedded *NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) AssignProperties_From_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded(source *storage.NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) error {
// Reference
if source.Reference != nil {
@@ -1899,7 +1914,7 @@ func (embedded *NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) AssignPropert
}
// AssignProperties_To_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded populates the provided destination NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded from our NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded
-func (embedded *NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) AssignProperties_To_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded(destination *v20220701s.NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) error {
+func (embedded *NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) AssignProperties_To_NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded(destination *storage.NatGatewaySpec_PublicIPPrefix_SubResourceEmbedded) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -1947,6 +1962,14 @@ const (
PublicIpPrefixProvisioningState_STATUS_Updating = PublicIpPrefixProvisioningState_STATUS("Updating")
)
+// Mapping from string to PublicIpPrefixProvisioningState_STATUS
+var publicIpPrefixProvisioningState_STATUS_Values = map[string]PublicIpPrefixProvisioningState_STATUS{
+ "deleting": PublicIpPrefixProvisioningState_STATUS_Deleting,
+ "failed": PublicIpPrefixProvisioningState_STATUS_Failed,
+ "succeeded": PublicIpPrefixProvisioningState_STATUS_Succeeded,
+ "updating": PublicIpPrefixProvisioningState_STATUS_Updating,
+}
+
// SKU of a public IP prefix.
type PublicIPPrefixSku struct {
// Name: Name of a public IP prefix SKU.
@@ -2008,20 +2031,22 @@ func (prefixSku *PublicIPPrefixSku) PopulateFromARM(owner genruntime.ArbitraryOw
}
// AssignProperties_From_PublicIPPrefixSku populates our PublicIPPrefixSku from the provided source PublicIPPrefixSku
-func (prefixSku *PublicIPPrefixSku) AssignProperties_From_PublicIPPrefixSku(source *v20220701s.PublicIPPrefixSku) error {
+func (prefixSku *PublicIPPrefixSku) AssignProperties_From_PublicIPPrefixSku(source *storage.PublicIPPrefixSku) error {
// Name
if source.Name != nil {
- name := PublicIPPrefixSku_Name(*source.Name)
- prefixSku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, publicIPPrefixSku_Name_Values)
+ prefixSku.Name = &nameTemp
} else {
prefixSku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := PublicIPPrefixSku_Tier(*source.Tier)
- prefixSku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, publicIPPrefixSku_Tier_Values)
+ prefixSku.Tier = &tierTemp
} else {
prefixSku.Tier = nil
}
@@ -2031,7 +2056,7 @@ func (prefixSku *PublicIPPrefixSku) AssignProperties_From_PublicIPPrefixSku(sour
}
// AssignProperties_To_PublicIPPrefixSku populates the provided destination PublicIPPrefixSku from our PublicIPPrefixSku
-func (prefixSku *PublicIPPrefixSku) AssignProperties_To_PublicIPPrefixSku(destination *v20220701s.PublicIPPrefixSku) error {
+func (prefixSku *PublicIPPrefixSku) AssignProperties_To_PublicIPPrefixSku(destination *storage.PublicIPPrefixSku) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2067,7 +2092,7 @@ func (prefixSku *PublicIPPrefixSku) Initialize_From_PublicIPPrefixSku_STATUS(sou
// Name
if source.Name != nil {
- name := PublicIPPrefixSku_Name(*source.Name)
+ name := genruntime.ToEnum(string(*source.Name), publicIPPrefixSku_Name_Values)
prefixSku.Name = &name
} else {
prefixSku.Name = nil
@@ -2075,7 +2100,7 @@ func (prefixSku *PublicIPPrefixSku) Initialize_From_PublicIPPrefixSku_STATUS(sou
// Tier
if source.Tier != nil {
- tier := PublicIPPrefixSku_Tier(*source.Tier)
+ tier := genruntime.ToEnum(string(*source.Tier), publicIPPrefixSku_Tier_Values)
prefixSku.Tier = &tier
} else {
prefixSku.Tier = nil
@@ -2125,20 +2150,22 @@ func (prefixSku *PublicIPPrefixSku_STATUS) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_PublicIPPrefixSku_STATUS populates our PublicIPPrefixSku_STATUS from the provided source PublicIPPrefixSku_STATUS
-func (prefixSku *PublicIPPrefixSku_STATUS) AssignProperties_From_PublicIPPrefixSku_STATUS(source *v20220701s.PublicIPPrefixSku_STATUS) error {
+func (prefixSku *PublicIPPrefixSku_STATUS) AssignProperties_From_PublicIPPrefixSku_STATUS(source *storage.PublicIPPrefixSku_STATUS) error {
// Name
if source.Name != nil {
- name := PublicIPPrefixSku_Name_STATUS(*source.Name)
- prefixSku.Name = &name
+ name := *source.Name
+ nameTemp := genruntime.ToEnum(name, publicIPPrefixSku_Name_STATUS_Values)
+ prefixSku.Name = &nameTemp
} else {
prefixSku.Name = nil
}
// Tier
if source.Tier != nil {
- tier := PublicIPPrefixSku_Tier_STATUS(*source.Tier)
- prefixSku.Tier = &tier
+ tier := *source.Tier
+ tierTemp := genruntime.ToEnum(tier, publicIPPrefixSku_Tier_STATUS_Values)
+ prefixSku.Tier = &tierTemp
} else {
prefixSku.Tier = nil
}
@@ -2148,7 +2175,7 @@ func (prefixSku *PublicIPPrefixSku_STATUS) AssignProperties_From_PublicIPPrefixS
}
// AssignProperties_To_PublicIPPrefixSku_STATUS populates the provided destination PublicIPPrefixSku_STATUS from our PublicIPPrefixSku_STATUS
-func (prefixSku *PublicIPPrefixSku_STATUS) AssignProperties_To_PublicIPPrefixSku_STATUS(destination *v20220701s.PublicIPPrefixSku_STATUS) error {
+func (prefixSku *PublicIPPrefixSku_STATUS) AssignProperties_To_PublicIPPrefixSku_STATUS(destination *storage.PublicIPPrefixSku_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2225,7 +2252,7 @@ func (resource *PublicIpPrefixSubResource) PopulateFromARM(owner genruntime.Arbi
}
// AssignProperties_From_PublicIpPrefixSubResource populates our PublicIpPrefixSubResource from the provided source PublicIpPrefixSubResource
-func (resource *PublicIpPrefixSubResource) AssignProperties_From_PublicIpPrefixSubResource(source *v20220701s.PublicIpPrefixSubResource) error {
+func (resource *PublicIpPrefixSubResource) AssignProperties_From_PublicIpPrefixSubResource(source *storage.PublicIpPrefixSubResource) error {
// Reference
if source.Reference != nil {
@@ -2240,7 +2267,7 @@ func (resource *PublicIpPrefixSubResource) AssignProperties_From_PublicIpPrefixS
}
// AssignProperties_To_PublicIpPrefixSubResource populates the provided destination PublicIpPrefixSubResource from our PublicIpPrefixSubResource
-func (resource *PublicIpPrefixSubResource) AssignProperties_To_PublicIpPrefixSubResource(destination *v20220701s.PublicIpPrefixSubResource) error {
+func (resource *PublicIpPrefixSubResource) AssignProperties_To_PublicIpPrefixSubResource(destination *storage.PublicIpPrefixSubResource) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2309,7 +2336,7 @@ func (resource *PublicIpPrefixSubResource_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_PublicIpPrefixSubResource_STATUS populates our PublicIpPrefixSubResource_STATUS from the provided source PublicIpPrefixSubResource_STATUS
-func (resource *PublicIpPrefixSubResource_STATUS) AssignProperties_From_PublicIpPrefixSubResource_STATUS(source *v20220701s.PublicIpPrefixSubResource_STATUS) error {
+func (resource *PublicIpPrefixSubResource_STATUS) AssignProperties_From_PublicIpPrefixSubResource_STATUS(source *storage.PublicIpPrefixSubResource_STATUS) error {
// Id
resource.Id = genruntime.ClonePointerToString(source.Id)
@@ -2319,7 +2346,7 @@ func (resource *PublicIpPrefixSubResource_STATUS) AssignProperties_From_PublicIp
}
// AssignProperties_To_PublicIpPrefixSubResource_STATUS populates the provided destination PublicIpPrefixSubResource_STATUS from our PublicIpPrefixSubResource_STATUS
-func (resource *PublicIpPrefixSubResource_STATUS) AssignProperties_To_PublicIpPrefixSubResource_STATUS(destination *v20220701s.PublicIpPrefixSubResource_STATUS) error {
+func (resource *PublicIpPrefixSubResource_STATUS) AssignProperties_To_PublicIpPrefixSubResource_STATUS(destination *storage.PublicIpPrefixSubResource_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -2368,7 +2395,7 @@ func (address *ReferencedPublicIpAddress_STATUS) PopulateFromARM(owner genruntim
}
// AssignProperties_From_ReferencedPublicIpAddress_STATUS populates our ReferencedPublicIpAddress_STATUS from the provided source ReferencedPublicIpAddress_STATUS
-func (address *ReferencedPublicIpAddress_STATUS) AssignProperties_From_ReferencedPublicIpAddress_STATUS(source *v20220701s.ReferencedPublicIpAddress_STATUS) error {
+func (address *ReferencedPublicIpAddress_STATUS) AssignProperties_From_ReferencedPublicIpAddress_STATUS(source *storage.ReferencedPublicIpAddress_STATUS) error {
// Id
address.Id = genruntime.ClonePointerToString(source.Id)
@@ -2378,7 +2405,7 @@ func (address *ReferencedPublicIpAddress_STATUS) AssignProperties_From_Reference
}
// AssignProperties_To_ReferencedPublicIpAddress_STATUS populates the provided destination ReferencedPublicIpAddress_STATUS from our ReferencedPublicIpAddress_STATUS
-func (address *ReferencedPublicIpAddress_STATUS) AssignProperties_To_ReferencedPublicIpAddress_STATUS(destination *v20220701s.ReferencedPublicIpAddress_STATUS) error {
+func (address *ReferencedPublicIpAddress_STATUS) AssignProperties_To_ReferencedPublicIpAddress_STATUS(destination *storage.ReferencedPublicIpAddress_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/private_endpoint_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/private_endpoint_types_gen.go
index a2b7b8be3e..c652de11ea 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/private_endpoint_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/private_endpoint_types_gen.go
@@ -150,6 +150,7 @@ type PrivateEndpoint_Spec struct {
IpConfigurations []PrivateEndpointIPConfiguration `json:"ipConfigurations,omitempty"`
Location *string `json:"location,omitempty"`
ManualPrivateLinkServiceConnections []PrivateLinkServiceConnection `json:"manualPrivateLinkServiceConnections,omitempty"`
+ OperatorSpec *PrivateEndpointOperatorSpec `json:"operatorSpec,omitempty"`
OriginalVersion string `json:"originalVersion,omitempty"`
// +kubebuilder:validation:Required
@@ -295,6 +296,13 @@ type PrivateEndpointIPConfiguration_STATUS struct {
Type *string `json:"type,omitempty"`
}
+// Storage version of v1api20220701.PrivateEndpointOperatorSpec
+// Details for configuring operator behavior. Fields in this struct are interpreted by the operator directly rather than being passed to Azure
+type PrivateEndpointOperatorSpec struct {
+ ConfigMaps *PrivateEndpointOperatorConfigMaps `json:"configMaps,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
// Storage version of v1api20220701.PrivateLinkServiceConnection
// PrivateLinkServiceConnection resource.
type PrivateLinkServiceConnection struct {
@@ -339,6 +347,12 @@ type Subnet_STATUS_PrivateEndpoint_SubResourceEmbedded struct {
PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
}
+// Storage version of v1api20220701.PrivateEndpointOperatorConfigMaps
+type PrivateEndpointOperatorConfigMaps struct {
+ PrimaryNicPrivateIpAddress *genruntime.ConfigMapDestination `json:"primaryNicPrivateIpAddress,omitempty"`
+ PropertyBag genruntime.PropertyBag `json:"$propertyBag,omitempty"`
+}
+
// Storage version of v1api20220701.PrivateLinkServiceConnectionState
// A collection of information about the state of the connection between service consumer and provider.
type PrivateLinkServiceConnectionState struct {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/structure.txt
index 8873054495..375ec42bad 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/structure.txt
@@ -1,283 +1,298 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage
-├── APIVersion: Enum (1 value)
-│ └── "2022-07-01"
-├── ApplicationGateway: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (39 properties)
-│ │ ├── AuthenticationCertificates: Object (3 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ ├── Name: *string
+----------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2022-07-01"
+ApplicationGateway: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (39 properties)
+│ ├── AuthenticationCertificates: Object (3 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AutoscaleConfiguration: *Object (3 properties)
+│ │ ├── MaxCapacity: *int
+│ │ ├── MinCapacity: *int
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── AzureName: string
+│ ├── BackendAddressPools: Object (3 properties)[]
+│ │ ├── BackendAddresses: Object (3 properties)[]
+│ │ │ ├── Fqdn: *string
+│ │ │ ├── IpAddress: *string
│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AutoscaleConfiguration: *Object (3 properties)
-│ │ │ ├── MaxCapacity: *int
-│ │ │ ├── MinCapacity: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── AzureName: string
-│ │ ├── BackendAddressPools: Object (3 properties)[]
-│ │ │ ├── BackendAddresses: Object (3 properties)[]
-│ │ │ │ ├── Fqdn: *string
-│ │ │ │ ├── IpAddress: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── BackendHttpSettingsCollection: Object (15 properties)[]
-│ │ │ ├── AffinityCookieName: *string
-│ │ │ ├── AuthenticationCertificates: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── ConnectionDraining: *Object (3 properties)
-│ │ │ │ ├── DrainTimeoutInSec: *int
-│ │ │ │ ├── Enabled: *bool
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── CookieBasedAffinity: *string
-│ │ │ ├── HostName: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Path: *string
-│ │ │ ├── PickHostNameFromBackendAddress: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Probe: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── ProbeEnabled: *bool
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── BackendHttpSettingsCollection: Object (15 properties)[]
+│ │ ├── AffinityCookieName: *string
+│ │ ├── AuthenticationCertificates: Object (2 properties)[]
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Protocol: *string
-│ │ │ ├── RequestTimeout: *int
-│ │ │ └── TrustedRootCertificates: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── BackendSettingsCollection: Object (9 properties)[]
-│ │ │ ├── HostName: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PickHostNameFromBackendAddress: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Probe: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── ConnectionDraining: *Object (3 properties)
+│ │ │ ├── DrainTimeoutInSec: *int
+│ │ │ ├── Enabled: *bool
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ ├── CookieBasedAffinity: *string
+│ │ ├── HostName: *string
+│ │ ├── Name: *string
+│ │ ├── Path: *string
+│ │ ├── PickHostNameFromBackendAddress: *bool
+│ │ ├── Port: *int
+│ │ ├── Probe: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Protocol: *string
-│ │ │ ├── Timeout: *int
-│ │ │ └── TrustedRootCertificates: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── ProbeEnabled: *bool
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Protocol: *string
+│ │ ├── RequestTimeout: *int
+│ │ └── TrustedRootCertificates: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── BackendSettingsCollection: Object (9 properties)[]
+│ │ ├── HostName: *string
+│ │ ├── Name: *string
+│ │ ├── PickHostNameFromBackendAddress: *bool
+│ │ ├── Port: *int
+│ │ ├── Probe: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Protocol: *string
+│ │ ├── Timeout: *int
+│ │ └── TrustedRootCertificates: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── CustomErrorConfigurations: Object (3 properties)[]
+│ │ ├── CustomErrorPageUrl: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── StatusCode: *string
+│ ├── EnableFips: *bool
+│ ├── EnableHttp2: *bool
+│ ├── FirewallPolicy: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ForceFirewallPolicyAssociation: *bool
+│ ├── FrontendIPConfigurations: Object (7 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAllocationMethod: *string
+│ │ ├── PrivateLinkConfiguration: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── PublicIPAddress: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── FrontendPorts: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Port: *int
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── GatewayIPConfigurations: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── GlobalConfiguration: *Object (3 properties)
+│ │ ├── EnableRequestBuffering: *bool
+│ │ ├── EnableResponseBuffering: *bool
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── HttpListeners: Object (12 properties)[]
│ │ ├── CustomErrorConfigurations: Object (3 properties)[]
│ │ │ ├── CustomErrorPageUrl: *string
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── StatusCode: *string
-│ │ ├── EnableFips: *bool
-│ │ ├── EnableHttp2: *bool
│ │ ├── FirewallPolicy: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ForceFirewallPolicyAssociation: *bool
-│ │ ├── FrontendIPConfigurations: Object (7 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAllocationMethod: *string
-│ │ │ ├── PrivateLinkConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendIPConfiguration: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Subnet: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── FrontendPorts: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Port: *int
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── GatewayIPConfigurations: Object (3 properties)[]
-│ │ │ ├── Name: *string
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Subnet: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── GlobalConfiguration: *Object (3 properties)
-│ │ │ ├── EnableRequestBuffering: *bool
-│ │ │ ├── EnableResponseBuffering: *bool
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── HttpListeners: Object (12 properties)[]
-│ │ │ ├── CustomErrorConfigurations: Object (3 properties)[]
-│ │ │ │ ├── CustomErrorPageUrl: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── StatusCode: *string
-│ │ │ ├── FirewallPolicy: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── HostName: *string
-│ │ │ ├── HostNames: string[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Protocol: *string
-│ │ │ ├── RequireServerNameIndication: *bool
-│ │ │ ├── SslCertificate: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── SslProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Identity: *Object (3 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Type: *string
-│ │ │ └── UserAssignedIdentities: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── Listeners: Object (7 properties)[]
-│ │ │ ├── FrontendIPConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Protocol: *string
-│ │ │ ├── SslCertificate: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── SslProfile: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── LoadDistributionPolicies: Object (4 properties)[]
-│ │ │ ├── LoadDistributionAlgorithm: *string
-│ │ │ ├── LoadDistributionTargets: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateLinkConfigurations: Object (3 properties)[]
-│ │ │ ├── IpConfigurations: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Probes: Object (13 properties)[]
-│ │ │ ├── Host: *string
-│ │ │ ├── Interval: *int
-│ │ │ ├── Match: *Object (3 properties)
-│ │ │ │ ├── Body: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── StatusCodes: string[]
-│ │ │ ├── MinServers: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── Path: *string
-│ │ │ ├── PickHostNameFromBackendHttpSettings: *bool
-│ │ │ ├── PickHostNameFromBackendSettings: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Protocol: *string
-│ │ │ ├── Timeout: *int
-│ │ │ └── UnhealthyThreshold: *int
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── HostName: *string
+│ │ ├── HostNames: string[]
+│ │ ├── Name: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RedirectConfigurations: Object (10 properties)[]
-│ │ │ ├── IncludePath: *bool
-│ │ │ ├── IncludeQueryString: *bool
-│ │ │ ├── Name: *string
-│ │ │ ├── PathRules: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Protocol: *string
+│ │ ├── RequireServerNameIndication: *bool
+│ │ ├── SslCertificate: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── RedirectType: *string
-│ │ │ ├── RequestRoutingRules: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── TargetListener: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── TargetUrl: *string
-│ │ │ └── UrlPathMaps: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── RequestRoutingRules: Object (11 properties)[]
-│ │ │ ├── BackendAddressPool: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── BackendHttpSettings: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── HttpListener: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadDistributionPolicy: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── Priority: *int
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── SslProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Identity: *Object (3 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Type: *string
+│ │ └── UserAssignedIdentities: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── Listeners: Object (7 properties)[]
+│ │ ├── FrontendIPConfiguration: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── RedirectConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── RewriteRuleSet: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── RuleType: *string
-│ │ │ └── UrlPathMap: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── RewriteRuleSets: Object (3 properties)[]
-│ │ │ ├── Name: *string
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RewriteRules: Object (5 properties)[]
-│ │ │ ├── ActionSet: *Object (4 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── RequestHeaderConfigurations: Object (3 properties)[]
-│ │ │ │ │ ├── HeaderName: *string
-│ │ │ │ │ ├── HeaderValue: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── ResponseHeaderConfigurations: Object (3 properties)[]
-│ │ │ │ │ ├── HeaderName: *string
-│ │ │ │ │ ├── HeaderValue: *string
-│ │ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── UrlConfiguration: *Object (4 properties)
-│ │ │ │ ├── ModifiedPath: *string
-│ │ │ │ ├── ModifiedQueryString: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reroute: *bool
-│ │ │ ├── Conditions: Object (5 properties)[]
-│ │ │ │ ├── IgnoreCase: *bool
-│ │ │ │ ├── Negate: *bool
-│ │ │ │ ├── Pattern: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Variable: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RuleSequence: *int
-│ │ ├── RoutingRules: Object (7 properties)[]
-│ │ │ ├── BackendAddressPool: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── BackendSettings: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Listener: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── Priority: *int
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Protocol: *string
+│ │ ├── SslCertificate: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RuleType: *string
-│ │ ├── Sku: *Object (4 properties)
-│ │ │ ├── Capacity: *int
-│ │ │ ├── Name: *string
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── SslProfile: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── LoadDistributionPolicies: Object (4 properties)[]
+│ │ ├── LoadDistributionAlgorithm: *string
+│ │ ├── LoadDistributionTargets: Object (2 properties)[]
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Tier: *string
-│ │ ├── SslCertificates: Object (5 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ ├── KeyVaultSecretId: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Password: *genruntime.SecretReference
-│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateLinkConfigurations: Object (3 properties)[]
+│ │ ├── IpConfigurations: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Probes: Object (13 properties)[]
+│ │ ├── Host: *string
+│ │ ├── Interval: *int
+│ │ ├── Match: *Object (3 properties)
+│ │ │ ├── Body: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── StatusCodes: string[]
+│ │ ├── MinServers: *int
+│ │ ├── Name: *string
+│ │ ├── Path: *string
+│ │ ├── PickHostNameFromBackendHttpSettings: *bool
+│ │ ├── PickHostNameFromBackendSettings: *bool
+│ │ ├── Port: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── Protocol: *string
+│ │ ├── Timeout: *int
+│ │ └── UnhealthyThreshold: *int
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── RedirectConfigurations: Object (10 properties)[]
+│ │ ├── IncludePath: *bool
+│ │ ├── IncludeQueryString: *bool
+│ │ ├── Name: *string
+│ │ ├── PathRules: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── RedirectType: *string
+│ │ ├── RequestRoutingRules: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── TargetListener: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── TargetUrl: *string
+│ │ └── UrlPathMaps: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── RequestRoutingRules: Object (11 properties)[]
+│ │ ├── BackendAddressPool: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── BackendHttpSettings: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── HttpListener: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadDistributionPolicy: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Priority: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ ├── RedirectConfiguration: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── RewriteRuleSet: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── RuleType: *string
+│ │ └── UrlPathMap: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── RewriteRuleSets: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RewriteRules: Object (5 properties)[]
+│ │ ├── ActionSet: *Object (4 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── RequestHeaderConfigurations: Object (3 properties)[]
+│ │ │ │ ├── HeaderName: *string
+│ │ │ │ ├── HeaderValue: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── ResponseHeaderConfigurations: Object (3 properties)[]
+│ │ │ │ ├── HeaderName: *string
+│ │ │ │ ├── HeaderValue: *string
+│ │ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ │ └── UrlConfiguration: *Object (4 properties)
+│ │ │ ├── ModifiedPath: *string
+│ │ │ ├── ModifiedQueryString: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reroute: *bool
+│ │ ├── Conditions: Object (5 properties)[]
+│ │ │ ├── IgnoreCase: *bool
+│ │ │ ├── Negate: *bool
+│ │ │ ├── Pattern: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Variable: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RuleSequence: *int
+│ ├── RoutingRules: Object (7 properties)[]
+│ │ ├── BackendAddressPool: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── BackendSettings: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Listener: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Priority: *int
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RuleType: *string
+│ ├── Sku: *Object (4 properties)
+│ │ ├── Capacity: *int
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── SslCertificates: Object (5 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ ├── KeyVaultSecretId: *string
+│ │ ├── Name: *string
+│ │ ├── Password: *genruntime.SecretReference
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── SslPolicy: *Object (6 properties)
+│ │ ├── CipherSuites: string[]
+│ │ ├── DisabledSslProtocols: string[]
+│ │ ├── MinProtocolVersion: *string
+│ │ ├── PolicyName: *string
+│ │ ├── PolicyType: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── SslProfiles: Object (5 properties)[]
+│ │ ├── ClientAuthConfiguration: *Object (3 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── VerifyClientCertIssuerDN: *bool
+│ │ │ └── VerifyClientRevocation: *string
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
│ │ ├── SslPolicy: *Object (6 properties)
│ │ │ ├── CipherSuites: string[]
│ │ │ ├── DisabledSslProtocols: string[]
@@ -285,786 +300,777 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage
│ │ │ ├── PolicyName: *string
│ │ │ ├── PolicyType: *string
│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── SslProfiles: Object (5 properties)[]
-│ │ │ ├── ClientAuthConfiguration: *Object (3 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── VerifyClientCertIssuerDN: *bool
-│ │ │ │ └── VerifyClientRevocation: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── SslPolicy: *Object (6 properties)
-│ │ │ │ ├── CipherSuites: string[]
-│ │ │ │ ├── DisabledSslProtocols: string[]
-│ │ │ │ ├── MinProtocolVersion: *string
-│ │ │ │ ├── PolicyName: *string
-│ │ │ │ ├── PolicyType: *string
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── TrustedClientCertificates: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Tags: map[string]string
-│ │ ├── TrustedClientCertificates: Object (3 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── TrustedRootCertificates: Object (4 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ ├── KeyVaultSecretId: *string
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── UrlPathMaps: Object (8 properties)[]
-│ │ │ ├── DefaultBackendAddressPool: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultBackendHttpSettings: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultLoadDistributionPolicy: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultRedirectConfiguration: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultRewriteRuleSet: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── PathRules: Object (2 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── WebApplicationFirewallConfiguration: *Object (11 properties)
-│ │ │ ├── DisabledRuleGroups: Object (3 properties)[]
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── RuleGroupName: *string
-│ │ │ │ └── Rules: int[]
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── Exclusions: Object (4 properties)[]
-│ │ │ │ ├── MatchVariable: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ ├── Selector: *string
-│ │ │ │ └── SelectorMatchOperator: *string
-│ │ │ ├── FileUploadLimitInMb: *int
-│ │ │ ├── FirewallMode: *string
-│ │ │ ├── MaxRequestBodySize: *int
-│ │ │ ├── MaxRequestBodySizeInKb: *int
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── RequestBodyCheck: *bool
-│ │ │ ├── RuleSetType: *string
-│ │ │ └── RuleSetVersion: *string
-│ │ └── Zones: string[]
-│ └── Status: Object (45 properties)
-│ ├── AuthenticationCertificates: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── AutoscaleConfiguration: *Object (3 properties)
-│ │ ├── MaxCapacity: *int
-│ │ ├── MinCapacity: *int
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── BackendAddressPools: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── BackendHttpSettingsCollection: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── BackendSettingsCollection: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomErrorConfigurations: Object (3 properties)[]
-│ │ ├── CustomErrorPageUrl: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── StatusCode: *string
-│ ├── EnableFips: *bool
-│ ├── EnableHttp2: *bool
-│ ├── Etag: *string
-│ ├── FirewallPolicy: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ForceFirewallPolicyAssociation: *bool
-│ ├── FrontendIPConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── FrontendPorts: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── GatewayIPConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── GlobalConfiguration: *Object (3 properties)
-│ │ ├── EnableRequestBuffering: *bool
-│ │ ├── EnableResponseBuffering: *bool
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── HttpListeners: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Id: *string
-│ ├── Identity: *Object (5 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── TenantId: *string
-│ │ ├── Type: *string
-│ │ └── UserAssignedIdentities: map[string]Object (3 properties)
-│ │ ├── ClientId: *string
-│ │ ├── PrincipalId: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Listeners: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── LoadDistributionPolicies: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── OperationalState: *string
-│ ├── PrivateEndpointConnections: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateLinkConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Probes: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── RedirectConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── RequestRoutingRules: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ResourceGuid: *string
-│ ├── RewriteRuleSets: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── RoutingRules: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Sku: *Object (4 properties)
-│ │ ├── Capacity: *int
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tier: *string
-│ ├── SslCertificates: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SslPolicy: *Object (6 properties)
-│ │ ├── CipherSuites: string[]
-│ │ ├── DisabledSslProtocols: string[]
-│ │ ├── MinProtocolVersion: *string
-│ │ ├── PolicyName: *string
-│ │ ├── PolicyType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SslProfiles: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── TrustedClientCertificates: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── TrustedRootCertificates: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Type: *string
-│ ├── UrlPathMaps: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── WebApplicationFirewallConfiguration: *Object (11 properties)
-│ │ ├── DisabledRuleGroups: Object (3 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── RuleGroupName: *string
-│ │ │ └── Rules: int[]
-│ │ ├── Enabled: *bool
-│ │ ├── Exclusions: Object (4 properties)[]
-│ │ │ ├── MatchVariable: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── Selector: *string
-│ │ │ └── SelectorMatchOperator: *string
-│ │ ├── FileUploadLimitInMb: *int
-│ │ ├── FirewallMode: *string
-│ │ ├── MaxRequestBodySize: *int
-│ │ ├── MaxRequestBodySizeInKb: *int
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── RequestBodyCheck: *bool
-│ │ ├── RuleSetType: *string
-│ │ └── RuleSetVersion: *string
-│ └── Zones: string[]
-├── BastionHost: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (15 properties)
-│ │ ├── AzureName: string
-│ │ ├── DisableCopyPaste: *bool
-│ │ ├── DnsName: *string
-│ │ ├── EnableFileCopy: *bool
-│ │ ├── EnableIpConnect: *bool
-│ │ ├── EnableShareableLink: *bool
-│ │ ├── EnableTunneling: *bool
-│ │ ├── IpConfigurations: Object (5 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAllocationMethod: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ ├── PublicIPAddress: *Object (2 properties)
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Subnet: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ScaleUnits: *int
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (18 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DisableCopyPaste: *bool
-│ ├── DnsName: *string
-│ ├── EnableFileCopy: *bool
-│ ├── EnableIpConnect: *bool
-│ ├── EnableShareableLink: *bool
-│ ├── EnableTunneling: *bool
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ScaleUnits: *int
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsForwardingRuleSetsForwardingRule: Resource
-│ ├── Owner: network/v1api20220701.DnsForwardingRuleset
-│ ├── Spec: Object (8 properties)
-│ │ ├── AzureName: string
-│ │ ├── DomainName: *string
-│ │ ├── ForwardingRuleState: *string
-│ │ ├── Metadata: map[string]string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── TargetDnsServers: Object (4 properties)[]
-│ │ ├── IpAddress: *string
-│ │ ├── IpAddressFromConfig: *genruntime.ConfigMapReference
-│ │ ├── Port: *int
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (12 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DomainName: *string
-│ ├── Etag: *string
-│ ├── ForwardingRuleState: *string
-│ ├── Id: *string
-│ ├── Metadata: map[string]string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── TargetDnsServers: Object (3 properties)[]
-│ │ ├── IpAddress: *string
-│ │ ├── Port: *int
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Type: *string
-├── DnsForwardingRuleset: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (7 properties)
-│ │ ├── AzureName: string
-│ │ ├── DnsResolverOutboundEndpoints: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (12 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DnsResolverOutboundEndpoints: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolver: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (7 properties)
-│ │ ├── AzureName: string
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Tags: map[string]string
-│ │ └── VirtualNetwork: *Object (2 properties)
+│ │ └── TrustedClientCertificates: Object (2 properties)[]
│ │ ├── PropertyBag: genruntime.PropertyBag
│ │ └── Reference: *genruntime.ResourceReference
-│ └── Status: Object (13 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DnsResolverState: *string
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── VirtualNetwork: *Object (2 properties)
-│ ├── Id: *string
-│ └── PropertyBag: genruntime.PropertyBag
-├── DnsResolversInboundEndpoint: Resource
-│ ├── Owner: network/v1api20220701.DnsResolver
-│ ├── Spec: Object (7 properties)
-│ │ ├── AzureName: string
-│ │ ├── IpConfigurations: Object (4 properties)[]
-│ │ │ ├── PrivateIpAddress: *string
-│ │ │ ├── PrivateIpAllocationMethod: *string
+│ ├── Tags: map[string]string
+│ ├── TrustedClientCertificates: Object (3 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── TrustedRootCertificates: Object (4 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ ├── KeyVaultSecretId: *string
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── UrlPathMaps: Object (8 properties)[]
+│ │ ├── DefaultBackendAddressPool: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Subnet: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultBackendHttpSettings: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultLoadDistributionPolicy: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultRedirectConfiguration: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultRewriteRuleSet: *Object (2 properties)
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── PathRules: Object (2 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── WebApplicationFirewallConfiguration: *Object (11 properties)
+│ │ ├── DisabledRuleGroups: Object (3 properties)[]
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── RuleGroupName: *string
+│ │ │ └── Rules: int[]
+│ │ ├── Enabled: *bool
+│ │ ├── Exclusions: Object (4 properties)[]
+│ │ │ ├── MatchVariable: *string
+│ │ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ │ ├── Selector: *string
+│ │ │ └── SelectorMatchOperator: *string
+│ │ ├── FileUploadLimitInMb: *int
+│ │ ├── FirewallMode: *string
+│ │ ├── MaxRequestBodySize: *int
+│ │ ├── MaxRequestBodySizeInKb: *int
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Tags: map[string]string
-│ └── Status: Object (12 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (4 properties)[]
-│ │ ├── PrivateIpAddress: *string
-│ │ ├── PrivateIpAllocationMethod: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Subnet: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolversOutboundEndpoint: Resource
-│ ├── Owner: network/v1api20220701.DnsResolver
-│ ├── Spec: Object (7 properties)
-│ │ ├── AzureName: string
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ ├── RequestBodyCheck: *bool
+│ │ ├── RuleSetType: *string
+│ │ └── RuleSetVersion: *string
+│ └── Zones: string[]
+└── Status: Object (45 properties)
+ ├── AuthenticationCertificates: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── AutoscaleConfiguration: *Object (3 properties)
+ │ ├── MaxCapacity: *int
+ │ ├── MinCapacity: *int
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── BackendAddressPools: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── BackendHttpSettingsCollection: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── BackendSettingsCollection: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Conditions: conditions.Condition[]
+ ├── CustomErrorConfigurations: Object (3 properties)[]
+ │ ├── CustomErrorPageUrl: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── StatusCode: *string
+ ├── EnableFips: *bool
+ ├── EnableHttp2: *bool
+ ├── Etag: *string
+ ├── FirewallPolicy: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ForceFirewallPolicyAssociation: *bool
+ ├── FrontendIPConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── FrontendPorts: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── GatewayIPConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── GlobalConfiguration: *Object (3 properties)
+ │ ├── EnableRequestBuffering: *bool
+ │ ├── EnableResponseBuffering: *bool
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── HttpListeners: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Id: *string
+ ├── Identity: *Object (5 properties)
+ │ ├── PrincipalId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── TenantId: *string
+ │ ├── Type: *string
+ │ └── UserAssignedIdentities: map[string]Object (3 properties)
+ │ ├── ClientId: *string
+ │ ├── PrincipalId: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Listeners: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── LoadDistributionPolicies: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── OperationalState: *string
+ ├── PrivateEndpointConnections: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateLinkConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Probes: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── RedirectConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── RequestRoutingRules: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ResourceGuid: *string
+ ├── RewriteRuleSets: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── RoutingRules: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Sku: *Object (4 properties)
+ │ ├── Capacity: *int
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── SslCertificates: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SslPolicy: *Object (6 properties)
+ │ ├── CipherSuites: string[]
+ │ ├── DisabledSslProtocols: string[]
+ │ ├── MinProtocolVersion: *string
+ │ ├── PolicyName: *string
+ │ ├── PolicyType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SslProfiles: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── TrustedClientCertificates: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── TrustedRootCertificates: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Type: *string
+ ├── UrlPathMaps: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── WebApplicationFirewallConfiguration: *Object (11 properties)
+ │ ├── DisabledRuleGroups: Object (3 properties)[]
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── RuleGroupName: *string
+ │ │ └── Rules: int[]
+ │ ├── Enabled: *bool
+ │ ├── Exclusions: Object (4 properties)[]
+ │ │ ├── MatchVariable: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ ├── Selector: *string
+ │ │ └── SelectorMatchOperator: *string
+ │ ├── FileUploadLimitInMb: *int
+ │ ├── FirewallMode: *string
+ │ ├── MaxRequestBodySize: *int
+ │ ├── MaxRequestBodySizeInKb: *int
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── RequestBodyCheck: *bool
+ │ ├── RuleSetType: *string
+ │ └── RuleSetVersion: *string
+ └── Zones: string[]
+BastionHost: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (15 properties)
+│ ├── AzureName: string
+│ ├── DisableCopyPaste: *bool
+│ ├── DnsName: *string
+│ ├── EnableFileCopy: *bool
+│ ├── EnableIpConnect: *bool
+│ ├── EnableShareableLink: *bool
+│ ├── EnableTunneling: *bool
+│ ├── IpConfigurations: Object (5 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAllocationMethod: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Subnet: *Object (2 properties)
+│ │ ├── PublicIPAddress: *Object (2 properties)
│ │ │ ├── PropertyBag: genruntime.PropertyBag
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (12 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── ResourceGuid: *string
-│ ├── Subnet: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── SystemData: *Object (7 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *string
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ ├── LastModifiedByType: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── NatGateway: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (11 properties)
-│ │ ├── AzureName: string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Location: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ └── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── ScaleUnits: *int
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (18 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DisableCopyPaste: *bool
+ ├── DnsName: *string
+ ├── EnableFileCopy: *bool
+ ├── EnableIpConnect: *bool
+ ├── EnableShareableLink: *bool
+ ├── EnableTunneling: *bool
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IpConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ScaleUnits: *int
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+DnsForwardingRuleSetsForwardingRule: Resource
+├── Owner: network/v1api20220701.DnsForwardingRuleset
+├── Spec: Object (8 properties)
+│ ├── AzureName: string
+│ ├── DomainName: *string
+│ ├── ForwardingRuleState: *string
+│ ├── Metadata: map[string]string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── TargetDnsServers: Object (4 properties)[]
+│ ├── IpAddress: *string
+│ ├── IpAddressFromConfig: *genruntime.ConfigMapReference
+│ ├── Port: *int
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (12 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DomainName: *string
+ ├── Etag: *string
+ ├── ForwardingRuleState: *string
+ ├── Id: *string
+ ├── Metadata: map[string]string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── TargetDnsServers: Object (3 properties)[]
+ │ ├── IpAddress: *string
+ │ ├── Port: *int
+ │ └── PropertyBag: genruntime.PropertyBag
+ └── Type: *string
+DnsForwardingRuleset: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (7 properties)
+│ ├── AzureName: string
+│ ├── DnsResolverOutboundEndpoints: Object (2 properties)[]
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── PublicIpAddresses: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── PublicIpPrefixes: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Tags: map[string]string
-│ │ └── Zones: string[]
-│ └── Status: Object (16 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IdleTimeoutInMinutes: *int
-│ ├── Location: *string
-│ ├── Name: *string
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (12 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DnsResolverOutboundEndpoints: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+DnsResolver: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (7 properties)
+│ ├── AzureName: string
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Tags: map[string]string
+│ └── VirtualNetwork: *Object (2 properties)
│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── PublicIpAddresses: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PublicIpPrefixes: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Subnets: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── PrivateEndpoint: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (13 properties)
-│ │ ├── ApplicationSecurityGroups: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── AzureName: string
-│ │ ├── CustomNetworkInterfaceName: *string
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── IpConfigurations: Object (5 properties)[]
-│ │ │ ├── GroupId: *string
-│ │ │ ├── MemberName: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── Location: *string
-│ │ ├── ManualPrivateLinkServiceConnections: Object (6 properties)[]
-│ │ │ ├── GroupIds: string[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
-│ │ │ │ ├── ActionsRequired: *string
-│ │ │ │ ├── Description: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Status: *string
-│ │ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RequestMessage: *string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateLinkServiceConnections: Object (6 properties)[]
-│ │ │ ├── GroupIds: string[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
-│ │ │ │ ├── ActionsRequired: *string
-│ │ │ │ ├── Description: *string
-│ │ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ │ └── Status: *string
-│ │ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── RequestMessage: *string
+│ └── Reference: *genruntime.ResourceReference
+└── Status: Object (13 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DnsResolverState: *string
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── VirtualNetwork: *Object (2 properties)
+ ├── Id: *string
+ └── PropertyBag: genruntime.PropertyBag
+DnsResolversInboundEndpoint: Resource
+├── Owner: network/v1api20220701.DnsResolver
+├── Spec: Object (7 properties)
+│ ├── AzureName: string
+│ ├── IpConfigurations: Object (4 properties)[]
+│ │ ├── PrivateIpAddress: *string
+│ │ ├── PrivateIpAllocationMethod: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Subnet: *Object (2 properties)
+│ │ └── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (12 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IpConfigurations: Object (4 properties)[]
+ │ ├── PrivateIpAddress: *string
+ │ ├── PrivateIpAllocationMethod: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Subnet: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+DnsResolversOutboundEndpoint: Resource
+├── Owner: network/v1api20220701.DnsResolver
+├── Spec: Object (7 properties)
+│ ├── AzureName: string
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (12 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── ResourceGuid: *string
+ ├── Subnet: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── SystemData: *Object (7 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *string
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ ├── LastModifiedByType: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+NatGateway: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (11 properties)
+│ ├── AzureName: string
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── Location: *string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicIpAddresses: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── PublicIpPrefixes: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Sku: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Tags: map[string]string
+│ └── Zones: string[]
+└── Status: Object (16 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IdleTimeoutInMinutes: *int
+ ├── Location: *string
+ ├── Name: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicIpAddresses: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PublicIpPrefixes: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Subnets: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Zones: string[]
+PrivateEndpoint: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (14 properties)
+│ ├── ApplicationSecurityGroups: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── AzureName: string
+│ ├── CustomNetworkInterfaceName: *string
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── IpConfigurations: Object (5 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── MemberName: *string
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAddress: *string
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── Location: *string
+│ ├── ManualPrivateLinkServiceConnections: Object (6 properties)[]
+│ │ ├── GroupIds: string[]
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
+│ │ │ ├── ActionsRequired: *string
+│ │ │ ├── Description: *string
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (18 properties)
-│ ├── ApplicationSecurityGroups: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomDnsConfigs: Object (3 properties)[]
-│ │ ├── Fqdn: *string
-│ │ ├── IpAddresses: string[]
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── CustomNetworkInterfaceName: *string
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (7 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── GroupId: *string
-│ │ ├── MemberName: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Location: *string
-│ ├── ManualPrivateLinkServiceConnections: Object (10 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── GroupIds: string[]
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
-│ │ │ ├── ActionsRequired: *string
-│ │ │ ├── Description: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Status: *string
-│ │ ├── PrivateLinkServiceId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── RequestMessage: *string
-│ │ └── Type: *string
-│ ├── Name: *string
-│ ├── NetworkInterfaces: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateLinkServiceConnections: Object (10 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── GroupIds: string[]
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
-│ │ │ ├── ActionsRequired: *string
-│ │ │ ├── Description: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Status: *string
-│ │ ├── PrivateLinkServiceId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── RequestMessage: *string
-│ │ └── Type: *string
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── Subnet: *Object (2 properties)
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── PrivateEndpointsPrivateDnsZoneGroup: Resource
-│ ├── Owner: network/v1api20220701.PrivateEndpoint
-│ ├── Spec: Object (5 properties)
-│ │ ├── AzureName: string
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateDnsZoneConfigs: Object (3 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateDnsZoneReference: *genruntime.ResourceReference
+│ │ │ └── Status: *string
+│ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── RequestMessage: *string
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── PrimaryNicPrivateIpAddress: *genruntime.ConfigMapDestination
│ │ │ └── PropertyBag: genruntime.PropertyBag
│ │ └── PropertyBag: genruntime.PropertyBag
-│ └── Status: Object (7 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── PrivateDnsZoneConfigs: Object (4 properties)[]
-│ │ ├── Name: *string
-│ │ ├── PrivateDnsZoneId: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── RecordSets: Object (7 properties)[]
-│ │ ├── Fqdn: *string
-│ │ ├── IpAddresses: string[]
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── RecordSetName: *string
-│ │ ├── RecordType: *string
-│ │ └── Ttl: *int
-│ ├── PropertyBag: genruntime.PropertyBag
-│ └── ProvisioningState: *string
-├── PrivateLinkService: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (14 properties)
-│ │ ├── AutoApproval: *Object (2 properties)
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateLinkServiceConnections: Object (6 properties)[]
+│ │ ├── GroupIds: string[]
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
+│ │ │ ├── ActionsRequired: *string
+│ │ │ ├── Description: *string
│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Subscriptions: string[]
-│ │ ├── AzureName: string
-│ │ ├── EnableProxyProtocol: *bool
-│ │ ├── ExtendedLocation: *Object (3 properties)
-│ │ │ ├── Name: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Type: *string
-│ │ ├── Fqdns: string[]
-│ │ ├── IpConfigurations: Object (7 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Primary: *bool
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAddressVersion: *string
-│ │ │ ├── PrivateIPAllocationMethod: *string
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Subnet: *Object (2 properties)
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── LoadBalancerFrontendIpConfigurations: Object (2 properties)[]
-│ │ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OperatorSpec: *Object (2 properties)
-│ │ │ ├── ConfigMaps: *Object (2 properties)
-│ │ │ │ ├── Alias: *genruntime.ConfigMapDestination
-│ │ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ ├── OriginalVersion: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
+│ │ │ └── Status: *string
+│ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── Tags: map[string]string
-│ │ └── Visibility: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Subscriptions: string[]
-│ └── Status: Object (19 properties)
-│ ├── Alias: *string
-│ ├── AutoApproval: *Object (2 properties)
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Subscriptions: string[]
-│ ├── Conditions: conditions.Condition[]
-│ ├── EnableProxyProtocol: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (3 properties)
-│ │ ├── Name: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── Fqdns: string[]
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (11 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── Primary: *bool
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAddressVersion: *string
-│ │ ├── PrivateIPAllocationMethod: *string
-│ │ ├── PropertyBag: genruntime.PropertyBag
-│ │ ├── ProvisioningState: *string
-│ │ ├── Subnet: *Object (2 properties)
-│ │ │ ├── Id: *string
-│ │ │ └── PropertyBag: genruntime.PropertyBag
-│ │ └── Type: *string
-│ ├── LoadBalancerFrontendIpConfigurations: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── NetworkInterfaces: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PrivateEndpointConnections: Object (2 properties)[]
-│ │ ├── Id: *string
-│ │ └── PropertyBag: genruntime.PropertyBag
-│ ├── PropertyBag: genruntime.PropertyBag
-│ ├── ProvisioningState: *string
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Visibility: *Object (2 properties)
-│ ├── PropertyBag: genruntime.PropertyBag
-│ └── Subscriptions: string[]
-└── PublicIPPrefix: Resource
- ├── Owner: resources/v1apiv20191001.ResourceGroup
- ├── Spec: Object (14 properties)
- │ ├── AzureName: string
- │ ├── CustomIPPrefix: *Object (2 properties)
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Reference: *genruntime.ResourceReference
- │ ├── ExtendedLocation: *Object (3 properties)
- │ │ ├── Name: *string
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Type: *string
- │ ├── IpTags: Object (3 properties)[]
- │ │ ├── IpTagType: *string
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Tag: *string
- │ ├── Location: *string
- │ ├── NatGateway: *Object (2 properties)
- │ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Reference: *genruntime.ResourceReference
- │ ├── OriginalVersion: string
- │ ├── Owner: *genruntime.KnownResourceReference
- │ ├── PrefixLength: *int
+│ │ └── RequestMessage: *string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (18 properties)
+ ├── ApplicationSecurityGroups: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Conditions: conditions.Condition[]
+ ├── CustomDnsConfigs: Object (3 properties)[]
+ │ ├── Fqdn: *string
+ │ ├── IpAddresses: string[]
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── CustomNetworkInterfaceName: *string
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
│ ├── PropertyBag: genruntime.PropertyBag
- │ ├── PublicIPAddressVersion: *string
- │ ├── Sku: *Object (3 properties)
- │ │ ├── Name: *string
+ │ └── Type: *string
+ ├── Id: *string
+ ├── IpConfigurations: Object (7 properties)[]
+ │ ├── Etag: *string
+ │ ├── GroupId: *string
+ │ ├── MemberName: *string
+ │ ├── Name: *string
+ │ ├── PrivateIPAddress: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Location: *string
+ ├── ManualPrivateLinkServiceConnections: Object (10 properties)[]
+ │ ├── Etag: *string
+ │ ├── GroupIds: string[]
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
+ │ │ ├── ActionsRequired: *string
+ │ │ ├── Description: *string
│ │ ├── PropertyBag: genruntime.PropertyBag
- │ │ └── Tier: *string
- │ ├── Tags: map[string]string
- │ └── Zones: string[]
- └── Status: Object (21 properties)
- ├── Conditions: conditions.Condition[]
- ├── CustomIPPrefix: *Object (2 properties)
- │ ├── Id: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── Etag: *string
- ├── ExtendedLocation: *Object (3 properties)
- │ ├── Name: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── Type: *string
- ├── Id: *string
- ├── IpPrefix: *string
- ├── IpTags: Object (3 properties)[]
- │ ├── IpTagType: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── Tag: *string
- ├── LoadBalancerFrontendIpConfiguration: *Object (2 properties)
- │ ├── Id: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── Location: *string
- ├── Name: *string
- ├── NatGateway: *Object (2 properties)
- │ ├── Id: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── PrefixLength: *int
+ │ │ └── Status: *string
+ │ ├── PrivateLinkServiceId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── RequestMessage: *string
+ │ └── Type: *string
+ ├── Name: *string
+ ├── NetworkInterfaces: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateLinkServiceConnections: Object (10 properties)[]
+ │ ├── Etag: *string
+ │ ├── GroupIds: string[]
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceConnectionState: *Object (4 properties)
+ │ │ ├── ActionsRequired: *string
+ │ │ ├── Description: *string
+ │ │ ├── PropertyBag: genruntime.PropertyBag
+ │ │ └── Status: *string
+ │ ├── PrivateLinkServiceId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── RequestMessage: *string
+ │ └── Type: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Subnet: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
+PrivateEndpointsPrivateDnsZoneGroup: Resource
+├── Owner: network/v1api20220701.PrivateEndpoint
+├── Spec: Object (5 properties)
+│ ├── AzureName: string
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateDnsZoneConfigs: Object (3 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateDnsZoneReference: *genruntime.ResourceReference
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ └── PropertyBag: genruntime.PropertyBag
+└── Status: Object (7 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── PrivateDnsZoneConfigs: Object (4 properties)[]
+ │ ├── Name: *string
+ │ ├── PrivateDnsZoneId: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── RecordSets: Object (7 properties)[]
+ │ ├── Fqdn: *string
+ │ ├── IpAddresses: string[]
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── RecordSetName: *string
+ │ ├── RecordType: *string
+ │ └── Ttl: *int
+ ├── PropertyBag: genruntime.PropertyBag
+ └── ProvisioningState: *string
+PrivateLinkService: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (14 properties)
+│ ├── AutoApproval: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Subscriptions: string[]
+│ ├── AzureName: string
+│ ├── EnableProxyProtocol: *bool
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── Fqdns: string[]
+│ ├── IpConfigurations: Object (7 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Primary: *bool
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *string
+│ │ ├── PrivateIPAllocationMethod: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Subnet: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── LoadBalancerFrontendIpConfigurations: Object (2 properties)[]
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OperatorSpec: *Object (2 properties)
+│ │ ├── ConfigMaps: *Object (2 properties)
+│ │ │ ├── Alias: *genruntime.ConfigMapDestination
+│ │ │ └── PropertyBag: genruntime.PropertyBag
+│ │ └── PropertyBag: genruntime.PropertyBag
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── Tags: map[string]string
+│ └── Visibility: *Object (2 properties)
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Subscriptions: string[]
+└── Status: Object (19 properties)
+ ├── Alias: *string
+ ├── AutoApproval: *Object (2 properties)
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Subscriptions: string[]
+ ├── Conditions: conditions.Condition[]
+ ├── EnableProxyProtocol: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Fqdns: string[]
+ ├── Id: *string
+ ├── IpConfigurations: Object (11 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── Primary: *bool
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAddressVersion: *string
+ │ ├── PrivateIPAllocationMethod: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ ├── ProvisioningState: *string
+ │ ├── Subnet: *Object (2 properties)
+ │ │ ├── Id: *string
+ │ │ └── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── LoadBalancerFrontendIpConfigurations: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── NetworkInterfaces: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrivateEndpointConnections: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Visibility: *Object (2 properties)
├── PropertyBag: genruntime.PropertyBag
- ├── ProvisioningState: *string
- ├── PublicIPAddressVersion: *string
- ├── PublicIPAddresses: Object (2 properties)[]
- │ ├── Id: *string
- │ └── PropertyBag: genruntime.PropertyBag
- ├── ResourceGuid: *string
- ├── Sku: *Object (3 properties)
- │ ├── Name: *string
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── Tier: *string
- ├── Tags: map[string]string
- ├── Type: *string
- └── Zones: string[]
+ └── Subscriptions: string[]
+PublicIPPrefix: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (14 properties)
+│ ├── AzureName: string
+│ ├── CustomIPPrefix: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ExtendedLocation: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Type: *string
+│ ├── IpTags: Object (3 properties)[]
+│ │ ├── IpTagType: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tag: *string
+│ ├── Location: *string
+│ ├── NatGateway: *Object (2 properties)
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── OriginalVersion: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrefixLength: *int
+│ ├── PropertyBag: genruntime.PropertyBag
+│ ├── PublicIPAddressVersion: *string
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Name: *string
+│ │ ├── PropertyBag: genruntime.PropertyBag
+│ │ └── Tier: *string
+│ ├── Tags: map[string]string
+│ └── Zones: string[]
+└── Status: Object (21 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── CustomIPPrefix: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Type: *string
+ ├── Id: *string
+ ├── IpPrefix: *string
+ ├── IpTags: Object (3 properties)[]
+ │ ├── IpTagType: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tag: *string
+ ├── LoadBalancerFrontendIpConfiguration: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── Location: *string
+ ├── Name: *string
+ ├── NatGateway: *Object (2 properties)
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── PrefixLength: *int
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── ProvisioningState: *string
+ ├── PublicIPAddressVersion: *string
+ ├── PublicIPAddresses: Object (2 properties)[]
+ │ ├── Id: *string
+ │ └── PropertyBag: genruntime.PropertyBag
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (3 properties)
+ │ ├── Name: *string
+ │ ├── PropertyBag: genruntime.PropertyBag
+ │ └── Tier: *string
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Zones: string[]
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/zz_generated.deepcopy.go
index 2877bb1215..dc5a76864f 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/storage/zz_generated.deepcopy.go
@@ -5839,6 +5839,60 @@ func (in *PrivateEndpointList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateEndpointOperatorConfigMaps) DeepCopyInto(out *PrivateEndpointOperatorConfigMaps) {
+ *out = *in
+ if in.PrimaryNicPrivateIpAddress != nil {
+ in, out := &in.PrimaryNicPrivateIpAddress, &out.PrimaryNicPrivateIpAddress
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOperatorConfigMaps.
+func (in *PrivateEndpointOperatorConfigMaps) DeepCopy() *PrivateEndpointOperatorConfigMaps {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateEndpointOperatorConfigMaps)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateEndpointOperatorSpec) DeepCopyInto(out *PrivateEndpointOperatorSpec) {
+ *out = *in
+ if in.ConfigMaps != nil {
+ in, out := &in.ConfigMaps, &out.ConfigMaps
+ *out = new(PrivateEndpointOperatorConfigMaps)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.PropertyBag != nil {
+ in, out := &in.PropertyBag, &out.PropertyBag
+ *out = make(genruntime.PropertyBag, len(*in))
+ for key, val := range *in {
+ (*out)[key] = val
+ }
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOperatorSpec.
+func (in *PrivateEndpointOperatorSpec) DeepCopy() *PrivateEndpointOperatorSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateEndpointOperatorSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) DeepCopyInto(out *PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded) {
*out = *in
@@ -6001,6 +6055,11 @@ func (in *PrivateEndpoint_Spec) DeepCopyInto(out *PrivateEndpoint_Spec) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
+ if in.OperatorSpec != nil {
+ in, out := &in.OperatorSpec, &out.OperatorSpec
+ *out = new(PrivateEndpointOperatorSpec)
+ (*in).DeepCopyInto(*out)
+ }
if in.Owner != nil {
in, out := &in.Owner, &out.Owner
*out = new(genruntime.KnownResourceReference)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/structure.txt
index fb3059f125..4d6c5d857e 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/structure.txt
@@ -1,1054 +1,335 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/network/v1api20220701
-├── APIVersion: Enum (1 value)
-│ └── "2022-07-01"
-├── ApplicationGateway: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (37 properties)
-│ │ ├── AuthenticationCertificates: Object (2 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ └── Name: *string
-│ │ ├── AutoscaleConfiguration: *Object (2 properties)
-│ │ │ ├── MaxCapacity: Validated<*int> (1 rule)
-│ │ │ │ └── Rule 0: Minimum: 2
-│ │ │ └── MinCapacity: Validated<*int> (1 rule)
-│ │ │ └── Rule 0: Minimum: 0
-│ │ ├── AzureName: string
-│ │ ├── BackendAddressPools: Object (2 properties)[]
-│ │ │ ├── BackendAddresses: Object (2 properties)[]
-│ │ │ │ ├── Fqdn: *string
-│ │ │ │ └── IpAddress: *string
-│ │ │ └── Name: *string
-│ │ ├── BackendHttpSettingsCollection: Object (14 properties)[]
-│ │ │ ├── AffinityCookieName: *string
-│ │ │ ├── AuthenticationCertificates: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── ConnectionDraining: *Object (2 properties)
-│ │ │ │ ├── DrainTimeoutInSec: Validated<*int> (2 rules)
-│ │ │ │ │ ├── Rule 0: Maximum: 3600
-│ │ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── CookieBasedAffinity: *Enum (2 values)
-│ │ │ │ ├── "Disabled"
-│ │ │ │ └── "Enabled"
-│ │ │ ├── HostName: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Path: *string
-│ │ │ ├── PickHostNameFromBackendAddress: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── ProbeEnabled: *bool
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── RequestTimeout: *int
-│ │ │ └── TrustedRootCertificates: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── BackendSettingsCollection: Object (8 properties)[]
-│ │ │ ├── HostName: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── PickHostNameFromBackendAddress: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── Timeout: *int
-│ │ │ └── TrustedRootCertificates: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
+--------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2022-07-01"
+ApplicationGateway: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (37 properties)
+│ ├── AuthenticationCertificates: Object (2 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ └── Name: *string
+│ ├── AutoscaleConfiguration: *Object (2 properties)
+│ │ ├── MaxCapacity: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 2
+│ │ └── MinCapacity: Validated<*int> (1 rule)
+│ │ └── Rule 0: Minimum: 0
+│ ├── AzureName: string
+│ ├── BackendAddressPools: Object (2 properties)[]
+│ │ ├── BackendAddresses: Object (2 properties)[]
+│ │ │ ├── Fqdn: *string
+│ │ │ └── IpAddress: *string
+│ │ └── Name: *string
+│ ├── BackendHttpSettingsCollection: Object (14 properties)[]
+│ │ ├── AffinityCookieName: *string
+│ │ ├── AuthenticationCertificates: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── ConnectionDraining: *Object (2 properties)
+│ │ │ ├── DrainTimeoutInSec: Validated<*int> (2 rules)
+│ │ │ │ ├── Rule 0: Maximum: 3600
+│ │ │ │ └── Rule 1: Minimum: 1
+│ │ │ └── Enabled: *bool
+│ │ ├── CookieBasedAffinity: *Enum (2 values)
+│ │ │ ├── "Disabled"
+│ │ │ └── "Enabled"
+│ │ ├── HostName: *string
+│ │ ├── Name: *string
+│ │ ├── Path: *string
+│ │ ├── PickHostNameFromBackendAddress: *bool
+│ │ ├── Port: *int
+│ │ ├── Probe: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── ProbeEnabled: *bool
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── RequestTimeout: *int
+│ │ └── TrustedRootCertificates: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── BackendSettingsCollection: Object (8 properties)[]
+│ │ ├── HostName: *string
+│ │ ├── Name: *string
+│ │ ├── PickHostNameFromBackendAddress: *bool
+│ │ ├── Port: *int
+│ │ ├── Probe: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── Timeout: *int
+│ │ └── TrustedRootCertificates: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── CustomErrorConfigurations: Object (2 properties)[]
+│ │ ├── CustomErrorPageUrl: *string
+│ │ └── StatusCode: *Enum (2 values)
+│ │ ├── "HttpStatus403"
+│ │ └── "HttpStatus502"
+│ ├── EnableFips: *bool
+│ ├── EnableHttp2: *bool
+│ ├── FirewallPolicy: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── ForceFirewallPolicyAssociation: *bool
+│ ├── FrontendIPConfigurations: Object (6 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PrivateLinkConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── FrontendPorts: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Port: *int
+│ ├── GatewayIPConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── GlobalConfiguration: *Object (2 properties)
+│ │ ├── EnableRequestBuffering: *bool
+│ │ └── EnableResponseBuffering: *bool
+│ ├── HttpListeners: Object (11 properties)[]
│ │ ├── CustomErrorConfigurations: Object (2 properties)[]
│ │ │ ├── CustomErrorPageUrl: *string
│ │ │ └── StatusCode: *Enum (2 values)
│ │ │ ├── "HttpStatus403"
│ │ │ └── "HttpStatus502"
-│ │ ├── EnableFips: *bool
-│ │ ├── EnableHttp2: *bool
│ │ ├── FirewallPolicy: *Object (1 property)
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ForceFirewallPolicyAssociation: *bool
-│ │ ├── FrontendIPConfigurations: Object (6 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PrivateLinkConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── FrontendPorts: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Port: *int
-│ │ ├── GatewayIPConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── GlobalConfiguration: *Object (2 properties)
-│ │ │ ├── EnableRequestBuffering: *bool
-│ │ │ └── EnableResponseBuffering: *bool
-│ │ ├── HttpListeners: Object (11 properties)[]
-│ │ │ ├── CustomErrorConfigurations: Object (2 properties)[]
-│ │ │ │ ├── CustomErrorPageUrl: *string
-│ │ │ │ └── StatusCode: *Enum (2 values)
-│ │ │ │ ├── "HttpStatus403"
-│ │ │ │ └── "HttpStatus502"
-│ │ │ ├── FirewallPolicy: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── HostName: *string
-│ │ │ ├── HostNames: string[]
-│ │ │ ├── Name: *string
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── RequireServerNameIndication: *bool
-│ │ │ ├── SslCertificate: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── SslProfile: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Identity: *Object (2 properties)
-│ │ │ ├── Type: *Enum (4 values)
-│ │ │ │ ├── "None"
-│ │ │ │ ├── "SystemAssigned"
-│ │ │ │ ├── "SystemAssigned, UserAssigned"
-│ │ │ │ └── "UserAssigned"
-│ │ │ └── UserAssignedIdentities: Object (1 property)[]
-│ │ │ └── Reference: genruntime.ResourceReference
-│ │ ├── Listeners: Object (6 properties)[]
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── FrontendPort: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── SslCertificate: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── SslProfile: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── LoadDistributionPolicies: Object (3 properties)[]
-│ │ │ ├── LoadDistributionAlgorithm: *Enum (3 values)
-│ │ │ │ ├── "IpHash"
-│ │ │ │ ├── "LeastConnections"
-│ │ │ │ └── "RoundRobin"
-│ │ │ ├── LoadDistributionTargets: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Name: *string
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateLinkConfigurations: Object (2 properties)[]
-│ │ │ ├── IpConfigurations: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Name: *string
-│ │ ├── Probes: Object (12 properties)[]
-│ │ │ ├── Host: *string
-│ │ │ ├── Interval: *int
-│ │ │ ├── Match: *Object (2 properties)
-│ │ │ │ ├── Body: *string
-│ │ │ │ └── StatusCodes: string[]
-│ │ │ ├── MinServers: *int
-│ │ │ ├── Name: *string
-│ │ │ ├── Path: *string
-│ │ │ ├── PickHostNameFromBackendHttpSettings: *bool
-│ │ │ ├── PickHostNameFromBackendSettings: *bool
-│ │ │ ├── Port: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 65535
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── Timeout: *int
-│ │ │ └── UnhealthyThreshold: *int
-│ │ ├── RedirectConfigurations: Object (9 properties)[]
-│ │ │ ├── IncludePath: *bool
-│ │ │ ├── IncludeQueryString: *bool
-│ │ │ ├── Name: *string
-│ │ │ ├── PathRules: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── RedirectType: *Enum (4 values)
-│ │ │ │ ├── "Found"
-│ │ │ │ ├── "Permanent"
-│ │ │ │ ├── "SeeOther"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── RequestRoutingRules: Object (1 property)[]
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── TargetListener: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── TargetUrl: *string
-│ │ │ └── UrlPathMaps: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── RequestRoutingRules: Object (10 properties)[]
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── BackendHttpSettings: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── HttpListener: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── LoadDistributionPolicy: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── Priority: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 20000
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ ├── RedirectConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── RewriteRuleSet: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── RuleType: *Enum (2 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ └── "PathBasedRouting"
-│ │ │ └── UrlPathMap: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── RewriteRuleSets: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── RewriteRules: Object (4 properties)[]
-│ │ │ ├── ActionSet: *Object (3 properties)
-│ │ │ │ ├── RequestHeaderConfigurations: Object (2 properties)[]
-│ │ │ │ │ ├── HeaderName: *string
-│ │ │ │ │ └── HeaderValue: *string
-│ │ │ │ ├── ResponseHeaderConfigurations: Object (2 properties)[]
-│ │ │ │ │ ├── HeaderName: *string
-│ │ │ │ │ └── HeaderValue: *string
-│ │ │ │ └── UrlConfiguration: *Object (3 properties)
-│ │ │ │ ├── ModifiedPath: *string
-│ │ │ │ ├── ModifiedQueryString: *string
-│ │ │ │ └── Reroute: *bool
-│ │ │ ├── Conditions: Object (4 properties)[]
-│ │ │ │ ├── IgnoreCase: *bool
-│ │ │ │ ├── Negate: *bool
-│ │ │ │ ├── Pattern: *string
-│ │ │ │ └── Variable: *string
-│ │ │ ├── Name: *string
-│ │ │ └── RuleSequence: *int
-│ │ ├── RoutingRules: Object (6 properties)[]
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── BackendSettings: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Listener: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ ├── Priority: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 20000
-│ │ │ │ └── Rule 1: Minimum: 1
-│ │ │ └── RuleType: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "PathBasedRouting"
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Capacity: *int
-│ │ │ ├── Name: *Enum (7 values)
-│ │ │ │ ├── "Standard_Large"
-│ │ │ │ ├── "Standard_Medium"
-│ │ │ │ ├── "Standard_Small"
-│ │ │ │ ├── "Standard_v2"
-│ │ │ │ ├── "WAF_Large"
-│ │ │ │ ├── "WAF_Medium"
-│ │ │ │ └── "WAF_v2"
-│ │ │ └── Tier: *Enum (4 values)
-│ │ │ ├── "Standard"
-│ │ │ ├── "Standard_v2"
-│ │ │ ├── "WAF"
-│ │ │ └── "WAF_v2"
-│ │ ├── SslCertificates: Object (4 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ ├── KeyVaultSecretId: *string
-│ │ │ ├── Name: *string
-│ │ │ └── Password: *genruntime.SecretReference
-│ │ ├── SslPolicy: *Object (5 properties)
-│ │ │ ├── CipherSuites: Enum (28 values)[]
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
-│ │ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ ├── DisabledSslProtocols: Enum (4 values)[]
-│ │ │ │ ├── "TLSv1_0"
-│ │ │ │ ├── "TLSv1_1"
-│ │ │ │ ├── "TLSv1_2"
-│ │ │ │ └── "TLSv1_3"
-│ │ │ ├── MinProtocolVersion: *Enum (4 values)
-│ │ │ │ ├── "TLSv1_0"
-│ │ │ │ ├── "TLSv1_1"
-│ │ │ │ ├── "TLSv1_2"
-│ │ │ │ └── "TLSv1_3"
-│ │ │ ├── PolicyName: *Enum (5 values)
-│ │ │ │ ├── "AppGwSslPolicy20150501"
-│ │ │ │ ├── "AppGwSslPolicy20170401"
-│ │ │ │ ├── "AppGwSslPolicy20170401S"
-│ │ │ │ ├── "AppGwSslPolicy20220101"
-│ │ │ │ └── "AppGwSslPolicy20220101S"
-│ │ │ └── PolicyType: *Enum (3 values)
-│ │ │ ├── "Custom"
-│ │ │ ├── "CustomV2"
-│ │ │ └── "Predefined"
-│ │ ├── SslProfiles: Object (4 properties)[]
-│ │ │ ├── ClientAuthConfiguration: *Object (2 properties)
-│ │ │ │ ├── VerifyClientCertIssuerDN: *bool
-│ │ │ │ └── VerifyClientRevocation: *Enum (2 values)
-│ │ │ │ ├── "None"
-│ │ │ │ └── "OCSP"
-│ │ │ ├── Name: *string
-│ │ │ ├── SslPolicy: *Object (5 properties)
-│ │ │ │ ├── CipherSuites: Enum (28 values)[]
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
-│ │ │ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── DisabledSslProtocols: Enum (4 values)[]
-│ │ │ │ │ ├── "TLSv1_0"
-│ │ │ │ │ ├── "TLSv1_1"
-│ │ │ │ │ ├── "TLSv1_2"
-│ │ │ │ │ └── "TLSv1_3"
-│ │ │ │ ├── MinProtocolVersion: *Enum (4 values)
-│ │ │ │ │ ├── "TLSv1_0"
-│ │ │ │ │ ├── "TLSv1_1"
-│ │ │ │ │ ├── "TLSv1_2"
-│ │ │ │ │ └── "TLSv1_3"
-│ │ │ │ ├── PolicyName: *Enum (5 values)
-│ │ │ │ │ ├── "AppGwSslPolicy20150501"
-│ │ │ │ │ ├── "AppGwSslPolicy20170401"
-│ │ │ │ │ ├── "AppGwSslPolicy20170401S"
-│ │ │ │ │ ├── "AppGwSslPolicy20220101"
-│ │ │ │ │ └── "AppGwSslPolicy20220101S"
-│ │ │ │ └── PolicyType: *Enum (3 values)
-│ │ │ │ ├── "Custom"
-│ │ │ │ ├── "CustomV2"
-│ │ │ │ └── "Predefined"
-│ │ │ └── TrustedClientCertificates: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Tags: map[string]string
-│ │ ├── TrustedClientCertificates: Object (2 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ └── Name: *string
-│ │ ├── TrustedRootCertificates: Object (3 properties)[]
-│ │ │ ├── Data: *genruntime.SecretReference
-│ │ │ ├── KeyVaultSecretId: *string
-│ │ │ └── Name: *string
-│ │ ├── UrlPathMaps: Object (7 properties)[]
-│ │ │ ├── DefaultBackendAddressPool: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultBackendHttpSettings: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultLoadDistributionPolicy: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultRedirectConfiguration: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── DefaultRewriteRuleSet: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ ├── Name: *string
-│ │ │ └── PathRules: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── WebApplicationFirewallConfiguration: *Object (10 properties)
-│ │ │ ├── DisabledRuleGroups: Object (2 properties)[]
-│ │ │ │ ├── RuleGroupName: *string
-│ │ │ │ └── Rules: int[]
-│ │ │ ├── Enabled: *bool
-│ │ │ ├── Exclusions: Object (3 properties)[]
-│ │ │ │ ├── MatchVariable: *string
-│ │ │ │ ├── Selector: *string
-│ │ │ │ └── SelectorMatchOperator: *string
-│ │ │ ├── FileUploadLimitInMb: Validated<*int> (1 rule)
-│ │ │ │ └── Rule 0: Minimum: 0
-│ │ │ ├── FirewallMode: *Enum (2 values)
-│ │ │ │ ├── "Detection"
-│ │ │ │ └── "Prevention"
-│ │ │ ├── MaxRequestBodySize: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 128
-│ │ │ │ └── Rule 1: Minimum: 8
-│ │ │ ├── MaxRequestBodySizeInKb: Validated<*int> (2 rules)
-│ │ │ │ ├── Rule 0: Maximum: 128
-│ │ │ │ └── Rule 1: Minimum: 8
-│ │ │ ├── RequestBodyCheck: *bool
-│ │ │ ├── RuleSetType: *string
-│ │ │ └── RuleSetVersion: *string
-│ │ └── Zones: string[]
-│ └── Status: Object (44 properties)
-│ ├── AuthenticationCertificates: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── AutoscaleConfiguration: *Object (2 properties)
-│ │ ├── MaxCapacity: *int
-│ │ └── MinCapacity: *int
-│ ├── BackendAddressPools: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── BackendHttpSettingsCollection: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── BackendSettingsCollection: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomErrorConfigurations: Object (2 properties)[]
-│ │ ├── CustomErrorPageUrl: *string
-│ │ └── StatusCode: *Enum (2 values)
-│ │ ├── "HttpStatus403"
-│ │ └── "HttpStatus502"
-│ ├── EnableFips: *bool
-│ ├── EnableHttp2: *bool
-│ ├── Etag: *string
-│ ├── FirewallPolicy: *Object (1 property)
-│ │ └── Id: *string
-│ ├── ForceFirewallPolicyAssociation: *bool
-│ ├── FrontendIPConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── FrontendPorts: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── GatewayIPConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── GlobalConfiguration: *Object (2 properties)
-│ │ ├── EnableRequestBuffering: *bool
-│ │ └── EnableResponseBuffering: *bool
-│ ├── HttpListeners: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (4 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ ├── "SystemAssigned, UserAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Listeners: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── LoadDistributionPolicies: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── OperationalState: *Enum (4 values)
-│ │ ├── "Running"
-│ │ ├── "Starting"
-│ │ ├── "Stopped"
-│ │ └── "Stopping"
-│ ├── PrivateEndpointConnections: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── PrivateLinkConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Probes: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── RedirectConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── RequestRoutingRules: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ResourceGuid: *string
-│ ├── RewriteRuleSets: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── RoutingRules: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Sku: *Object (3 properties)
-│ │ ├── Capacity: *int
-│ │ ├── Name: *Enum (7 values)
-│ │ │ ├── "Standard_Large"
-│ │ │ ├── "Standard_Medium"
-│ │ │ ├── "Standard_Small"
-│ │ │ ├── "Standard_v2"
-│ │ │ ├── "WAF_Large"
-│ │ │ ├── "WAF_Medium"
-│ │ │ └── "WAF_v2"
-│ │ └── Tier: *Enum (4 values)
-│ │ ├── "Standard"
-│ │ ├── "Standard_v2"
-│ │ ├── "WAF"
-│ │ └── "WAF_v2"
-│ ├── SslCertificates: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── SslPolicy: *Object (5 properties)
-│ │ ├── CipherSuites: Enum (28 values)[]
-│ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
-│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
-│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
-│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
-│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
-│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
-│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
-│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
-│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
-│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
-│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
-│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
-│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
-│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
-│ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
-│ │ ├── DisabledSslProtocols: Enum (4 values)[]
-│ │ │ ├── "TLSv1_0"
-│ │ │ ├── "TLSv1_1"
-│ │ │ ├── "TLSv1_2"
-│ │ │ └── "TLSv1_3"
-│ │ ├── MinProtocolVersion: *Enum (4 values)
-│ │ │ ├── "TLSv1_0"
-│ │ │ ├── "TLSv1_1"
-│ │ │ ├── "TLSv1_2"
-│ │ │ └── "TLSv1_3"
-│ │ ├── PolicyName: *Enum (5 values)
-│ │ │ ├── "AppGwSslPolicy20150501"
-│ │ │ ├── "AppGwSslPolicy20170401"
-│ │ │ ├── "AppGwSslPolicy20170401S"
-│ │ │ ├── "AppGwSslPolicy20220101"
-│ │ │ └── "AppGwSslPolicy20220101S"
-│ │ └── PolicyType: *Enum (3 values)
-│ │ ├── "Custom"
-│ │ ├── "CustomV2"
-│ │ └── "Predefined"
-│ ├── SslProfiles: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Tags: map[string]string
-│ ├── TrustedClientCertificates: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── TrustedRootCertificates: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Type: *string
-│ ├── UrlPathMaps: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── WebApplicationFirewallConfiguration: *Object (10 properties)
-│ │ ├── DisabledRuleGroups: Object (2 properties)[]
-│ │ │ ├── RuleGroupName: *string
-│ │ │ └── Rules: int[]
-│ │ ├── Enabled: *bool
-│ │ ├── Exclusions: Object (3 properties)[]
-│ │ │ ├── MatchVariable: *string
-│ │ │ ├── Selector: *string
-│ │ │ └── SelectorMatchOperator: *string
-│ │ ├── FileUploadLimitInMb: *int
-│ │ ├── FirewallMode: *Enum (2 values)
-│ │ │ ├── "Detection"
-│ │ │ └── "Prevention"
-│ │ ├── MaxRequestBodySize: *int
-│ │ ├── MaxRequestBodySizeInKb: *int
-│ │ ├── RequestBodyCheck: *bool
-│ │ ├── RuleSetType: *string
-│ │ └── RuleSetVersion: *string
-│ └── Zones: string[]
-├── ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded_ARM: Object (9 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Identity: *Object (4 properties)
-│ │ ├── PrincipalId: *string
-│ │ ├── TenantId: *string
-│ │ ├── Type: *Enum (4 values)
-│ │ │ ├── "None"
-│ │ │ ├── "SystemAssigned"
-│ │ │ ├── "SystemAssigned, UserAssigned"
-│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (2 properties)
-│ │ ├── ClientId: *string
-│ │ └── PrincipalId: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (35 properties)
-│ │ ├── AuthenticationCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── AutoscaleConfiguration: *Object (2 properties)
-│ │ │ ├── MaxCapacity: *int
-│ │ │ └── MinCapacity: *int
-│ │ ├── BackendAddressPools: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── BackendHttpSettingsCollection: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── BackendSettingsCollection: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── CustomErrorConfigurations: Object (2 properties)[]
-│ │ │ ├── CustomErrorPageUrl: *string
-│ │ │ └── StatusCode: *Enum (2 values)
-│ │ │ ├── "HttpStatus403"
-│ │ │ └── "HttpStatus502"
-│ │ ├── EnableFips: *bool
-│ │ ├── EnableHttp2: *bool
-│ │ ├── FirewallPolicy: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ForceFirewallPolicyAssociation: *bool
-│ │ ├── FrontendIPConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── FrontendPorts: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── GatewayIPConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── GlobalConfiguration: *Object (2 properties)
-│ │ │ ├── EnableRequestBuffering: *bool
-│ │ │ └── EnableResponseBuffering: *bool
-│ │ ├── HttpListeners: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Listeners: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── LoadDistributionPolicies: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── OperationalState: *Enum (4 values)
-│ │ │ ├── "Running"
-│ │ │ ├── "Starting"
-│ │ │ ├── "Stopped"
-│ │ │ └── "Stopping"
-│ │ ├── PrivateEndpointConnections: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PrivateLinkConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Probes: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RedirectConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── RequestRoutingRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ResourceGuid: *string
-│ │ ├── RewriteRuleSets: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── RoutingRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Capacity: *int
-│ │ │ ├── Name: *Enum (7 values)
-│ │ │ │ ├── "Standard_Large"
-│ │ │ │ ├── "Standard_Medium"
-│ │ │ │ ├── "Standard_Small"
-│ │ │ │ ├── "Standard_v2"
-│ │ │ │ ├── "WAF_Large"
-│ │ │ │ ├── "WAF_Medium"
-│ │ │ │ └── "WAF_v2"
-│ │ │ └── Tier: *Enum (4 values)
-│ │ │ ├── "Standard"
-│ │ │ ├── "Standard_v2"
-│ │ │ ├── "WAF"
-│ │ │ └── "WAF_v2"
-│ │ ├── SslCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── SslPolicy: *Object (5 properties)
-│ │ │ ├── CipherSuites: Enum (28 values)[]
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
-│ │ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ ├── DisabledSslProtocols: Enum (4 values)[]
-│ │ │ │ ├── "TLSv1_0"
-│ │ │ │ ├── "TLSv1_1"
-│ │ │ │ ├── "TLSv1_2"
-│ │ │ │ └── "TLSv1_3"
-│ │ │ ├── MinProtocolVersion: *Enum (4 values)
-│ │ │ │ ├── "TLSv1_0"
-│ │ │ │ ├── "TLSv1_1"
-│ │ │ │ ├── "TLSv1_2"
-│ │ │ │ └── "TLSv1_3"
-│ │ │ ├── PolicyName: *Enum (5 values)
-│ │ │ │ ├── "AppGwSslPolicy20150501"
-│ │ │ │ ├── "AppGwSslPolicy20170401"
-│ │ │ │ ├── "AppGwSslPolicy20170401S"
-│ │ │ │ ├── "AppGwSslPolicy20220101"
-│ │ │ │ └── "AppGwSslPolicy20220101S"
-│ │ │ └── PolicyType: *Enum (3 values)
-│ │ │ ├── "Custom"
-│ │ │ ├── "CustomV2"
-│ │ │ └── "Predefined"
-│ │ ├── SslProfiles: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── TrustedClientCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── TrustedRootCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── UrlPathMaps: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── WebApplicationFirewallConfiguration: *Object (10 properties)
-│ │ ├── DisabledRuleGroups: Object (2 properties)[]
-│ │ │ ├── RuleGroupName: *string
-│ │ │ └── Rules: int[]
-│ │ ├── Enabled: *bool
-│ │ ├── Exclusions: Object (3 properties)[]
-│ │ │ ├── MatchVariable: *string
-│ │ │ ├── Selector: *string
-│ │ │ └── SelectorMatchOperator: *string
-│ │ ├── FileUploadLimitInMb: *int
-│ │ ├── FirewallMode: *Enum (2 values)
-│ │ │ ├── "Detection"
-│ │ │ └── "Prevention"
-│ │ ├── MaxRequestBodySize: *int
-│ │ ├── MaxRequestBodySizeInKb: *int
-│ │ ├── RequestBodyCheck: *bool
-│ │ ├── RuleSetType: *string
-│ │ └── RuleSetVersion: *string
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── ApplicationGateway_Spec_ARM: Object (6 properties)
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── HostName: *string
+│ │ ├── HostNames: string[]
+│ │ ├── Name: *string
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── RequireServerNameIndication: *bool
+│ │ ├── SslCertificate: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── SslProfile: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── Identity: *Object (2 properties)
│ │ ├── Type: *Enum (4 values)
│ │ │ ├── "None"
│ │ │ ├── "SystemAssigned"
│ │ │ ├── "SystemAssigned, UserAssigned"
│ │ │ └── "UserAssigned"
-│ │ └── UserAssignedIdentities: map[string]Object (0 properties)
+│ │ └── UserAssignedIdentities: Object (1 property)[]
+│ │ └── Reference: genruntime.ResourceReference
+│ ├── Listeners: Object (6 properties)[]
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── FrontendPort: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── SslCertificate: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── SslProfile: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── LoadDistributionPolicies: Object (3 properties)[]
+│ │ ├── LoadDistributionAlgorithm: *Enum (3 values)
+│ │ │ ├── "IpHash"
+│ │ │ ├── "LeastConnections"
+│ │ │ └── "RoundRobin"
+│ │ ├── LoadDistributionTargets: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Name: *string
│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (31 properties)
-│ │ ├── AuthenticationCertificates: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── Data: *string
-│ │ ├── AutoscaleConfiguration: *Object (2 properties)
-│ │ │ ├── MaxCapacity: *int
-│ │ │ └── MinCapacity: *int
-│ │ ├── BackendAddressPools: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── BackendAddresses: Object (2 properties)[]
-│ │ │ ├── Fqdn: *string
-│ │ │ └── IpAddress: *string
-│ │ ├── BackendHttpSettingsCollection: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (13 properties)
-│ │ │ ├── AffinityCookieName: *string
-│ │ │ ├── AuthenticationCertificates: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── ConnectionDraining: *Object (2 properties)
-│ │ │ │ ├── DrainTimeoutInSec: *int
-│ │ │ │ └── Enabled: *bool
-│ │ │ ├── CookieBasedAffinity: *Enum (2 values)
-│ │ │ │ ├── "Disabled"
-│ │ │ │ └── "Enabled"
-│ │ │ ├── HostName: *string
-│ │ │ ├── Path: *string
-│ │ │ ├── PickHostNameFromBackendAddress: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── ProbeEnabled: *bool
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── RequestTimeout: *int
-│ │ │ └── TrustedRootCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── BackendSettingsCollection: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (7 properties)
-│ │ │ ├── HostName: *string
-│ │ │ ├── PickHostNameFromBackendAddress: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Probe: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── Timeout: *int
-│ │ │ └── TrustedRootCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── CustomErrorConfigurations: Object (2 properties)[]
-│ │ │ ├── CustomErrorPageUrl: *string
-│ │ │ └── StatusCode: *Enum (2 values)
-│ │ │ ├── "HttpStatus403"
-│ │ │ └── "HttpStatus502"
-│ │ ├── EnableFips: *bool
-│ │ ├── EnableHttp2: *bool
-│ │ ├── FirewallPolicy: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ForceFirewallPolicyAssociation: *bool
-│ │ ├── FrontendIPConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (5 properties)
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PrivateLinkConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── FrontendPorts: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── Port: *int
-│ │ ├── GatewayIPConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── GlobalConfiguration: *Object (2 properties)
-│ │ │ ├── EnableRequestBuffering: *bool
-│ │ │ └── EnableResponseBuffering: *bool
-│ │ ├── HttpListeners: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (10 properties)
-│ │ │ ├── CustomErrorConfigurations: Object (2 properties)[]
-│ │ │ │ ├── CustomErrorPageUrl: *string
-│ │ │ │ └── StatusCode: *Enum (2 values)
-│ │ │ │ ├── "HttpStatus403"
-│ │ │ │ └── "HttpStatus502"
-│ │ │ ├── FirewallPolicy: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── FrontendPort: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── HostName: *string
-│ │ │ ├── HostNames: string[]
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── RequireServerNameIndication: *bool
-│ │ │ ├── SslCertificate: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── SslProfile: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── Listeners: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (5 properties)
-│ │ │ ├── FrontendIPConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── FrontendPort: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── SslCertificate: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── SslProfile: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── LoadDistributionPolicies: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (2 properties)
-│ │ │ ├── LoadDistributionAlgorithm: *Enum (3 values)
-│ │ │ │ ├── "IpHash"
-│ │ │ │ ├── "LeastConnections"
-│ │ │ │ └── "RoundRobin"
-│ │ │ └── LoadDistributionTargets: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PrivateLinkConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── IpConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── Probes: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (11 properties)
-│ │ │ ├── Host: *string
-│ │ │ ├── Interval: *int
-│ │ │ ├── Match: *Object (2 properties)
-│ │ │ │ ├── Body: *string
-│ │ │ │ └── StatusCodes: string[]
-│ │ │ ├── MinServers: *int
-│ │ │ ├── Path: *string
-│ │ │ ├── PickHostNameFromBackendHttpSettings: *bool
-│ │ │ ├── PickHostNameFromBackendSettings: *bool
-│ │ │ ├── Port: *int
-│ │ │ ├── Protocol: *Enum (4 values)
-│ │ │ │ ├── "Http"
-│ │ │ │ ├── "Https"
-│ │ │ │ ├── "Tcp"
-│ │ │ │ └── "Tls"
-│ │ │ ├── Timeout: *int
-│ │ │ └── UnhealthyThreshold: *int
-│ │ ├── RedirectConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (8 properties)
-│ │ │ ├── IncludePath: *bool
-│ │ │ ├── IncludeQueryString: *bool
-│ │ │ ├── PathRules: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── RedirectType: *Enum (4 values)
-│ │ │ │ ├── "Found"
-│ │ │ │ ├── "Permanent"
-│ │ │ │ ├── "SeeOther"
-│ │ │ │ └── "Temporary"
-│ │ │ ├── RequestRoutingRules: Object (1 property)[]
-│ │ │ │ └── Id: *string
-│ │ │ ├── TargetListener: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── TargetUrl: *string
-│ │ │ └── UrlPathMaps: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── RequestRoutingRules: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (9 properties)
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── BackendHttpSettings: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── HttpListener: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── LoadDistributionPolicy: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Priority: *int
-│ │ │ ├── RedirectConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── RewriteRuleSet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── RuleType: *Enum (2 values)
-│ │ │ │ ├── "Basic"
-│ │ │ │ └── "PathBasedRouting"
-│ │ │ └── UrlPathMap: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── RewriteRuleSets: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── RewriteRules: Object (4 properties)[]
-│ │ │ ├── ActionSet: *Object (3 properties)
-│ │ │ │ ├── RequestHeaderConfigurations: Object (2 properties)[]
-│ │ │ │ │ ├── HeaderName: *string
-│ │ │ │ │ └── HeaderValue: *string
-│ │ │ │ ├── ResponseHeaderConfigurations: Object (2 properties)[]
-│ │ │ │ │ ├── HeaderName: *string
-│ │ │ │ │ └── HeaderValue: *string
-│ │ │ │ └── UrlConfiguration: *Object (3 properties)
-│ │ │ │ ├── ModifiedPath: *string
-│ │ │ │ ├── ModifiedQueryString: *string
-│ │ │ │ └── Reroute: *bool
-│ │ │ ├── Conditions: Object (4 properties)[]
-│ │ │ │ ├── IgnoreCase: *bool
-│ │ │ │ ├── Negate: *bool
-│ │ │ │ ├── Pattern: *string
-│ │ │ │ └── Variable: *string
-│ │ │ ├── Name: *string
-│ │ │ └── RuleSequence: *int
-│ │ ├── RoutingRules: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (5 properties)
-│ │ │ ├── BackendAddressPool: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── BackendSettings: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Listener: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── Priority: *int
-│ │ │ └── RuleType: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "PathBasedRouting"
-│ │ ├── Sku: *Object (3 properties)
-│ │ │ ├── Capacity: *int
-│ │ │ ├── Name: *Enum (7 values)
-│ │ │ │ ├── "Standard_Large"
-│ │ │ │ ├── "Standard_Medium"
-│ │ │ │ ├── "Standard_Small"
-│ │ │ │ ├── "Standard_v2"
-│ │ │ │ ├── "WAF_Large"
-│ │ │ │ ├── "WAF_Medium"
-│ │ │ │ └── "WAF_v2"
-│ │ │ └── Tier: *Enum (4 values)
-│ │ │ ├── "Standard"
-│ │ │ ├── "Standard_v2"
-│ │ │ ├── "WAF"
-│ │ │ └── "WAF_v2"
-│ │ ├── SslCertificates: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (3 properties)
-│ │ │ ├── Data: *string
-│ │ │ ├── KeyVaultSecretId: *string
-│ │ │ └── Password: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateLinkConfigurations: Object (2 properties)[]
+│ │ ├── IpConfigurations: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ └── Name: *string
+│ ├── Probes: Object (12 properties)[]
+│ │ ├── Host: *string
+│ │ ├── Interval: *int
+│ │ ├── Match: *Object (2 properties)
+│ │ │ ├── Body: *string
+│ │ │ └── StatusCodes: string[]
+│ │ ├── MinServers: *int
+│ │ ├── Name: *string
+│ │ ├── Path: *string
+│ │ ├── PickHostNameFromBackendHttpSettings: *bool
+│ │ ├── PickHostNameFromBackendSettings: *bool
+│ │ ├── Port: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 65535
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── Timeout: *int
+│ │ └── UnhealthyThreshold: *int
+│ ├── RedirectConfigurations: Object (9 properties)[]
+│ │ ├── IncludePath: *bool
+│ │ ├── IncludeQueryString: *bool
+│ │ ├── Name: *string
+│ │ ├── PathRules: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── RedirectType: *Enum (4 values)
+│ │ │ ├── "Found"
+│ │ │ ├── "Permanent"
+│ │ │ ├── "SeeOther"
+│ │ │ └── "Temporary"
+│ │ ├── RequestRoutingRules: Object (1 property)[]
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── TargetListener: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── TargetUrl: *string
+│ │ └── UrlPathMaps: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── RequestRoutingRules: Object (10 properties)[]
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── BackendHttpSettings: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── HttpListener: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── LoadDistributionPolicy: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Priority: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 20000
+│ │ │ └── Rule 1: Minimum: 1
+│ │ ├── RedirectConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── RewriteRuleSet: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── RuleType: *Enum (2 values)
+│ │ │ ├── "Basic"
+│ │ │ └── "PathBasedRouting"
+│ │ └── UrlPathMap: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── RewriteRuleSets: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── RewriteRules: Object (4 properties)[]
+│ │ ├── ActionSet: *Object (3 properties)
+│ │ │ ├── RequestHeaderConfigurations: Object (2 properties)[]
+│ │ │ │ ├── HeaderName: *string
+│ │ │ │ └── HeaderValue: *string
+│ │ │ ├── ResponseHeaderConfigurations: Object (2 properties)[]
+│ │ │ │ ├── HeaderName: *string
+│ │ │ │ └── HeaderValue: *string
+│ │ │ └── UrlConfiguration: *Object (3 properties)
+│ │ │ ├── ModifiedPath: *string
+│ │ │ ├── ModifiedQueryString: *string
+│ │ │ └── Reroute: *bool
+│ │ ├── Conditions: Object (4 properties)[]
+│ │ │ ├── IgnoreCase: *bool
+│ │ │ ├── Negate: *bool
+│ │ │ ├── Pattern: *string
+│ │ │ └── Variable: *string
+│ │ ├── Name: *string
+│ │ └── RuleSequence: *int
+│ ├── RoutingRules: Object (6 properties)[]
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── BackendSettings: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Listener: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ ├── Priority: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 20000
+│ │ │ └── Rule 1: Minimum: 1
+│ │ └── RuleType: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "PathBasedRouting"
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Capacity: *int
+│ │ ├── Name: *Enum (7 values)
+│ │ │ ├── "Standard_Large"
+│ │ │ ├── "Standard_Medium"
+│ │ │ ├── "Standard_Small"
+│ │ │ ├── "Standard_v2"
+│ │ │ ├── "WAF_Large"
+│ │ │ ├── "WAF_Medium"
+│ │ │ └── "WAF_v2"
+│ │ └── Tier: *Enum (4 values)
+│ │ ├── "Standard"
+│ │ ├── "Standard_v2"
+│ │ ├── "WAF"
+│ │ └── "WAF_v2"
+│ ├── SslCertificates: Object (4 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ ├── KeyVaultSecretId: *string
+│ │ ├── Name: *string
+│ │ └── Password: *genruntime.SecretReference
+│ ├── SslPolicy: *Object (5 properties)
+│ │ ├── CipherSuites: Enum (28 values)[]
+│ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
+│ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
+│ │ ├── DisabledSslProtocols: Enum (4 values)[]
+│ │ │ ├── "TLSv1_0"
+│ │ │ ├── "TLSv1_1"
+│ │ │ ├── "TLSv1_2"
+│ │ │ └── "TLSv1_3"
+│ │ ├── MinProtocolVersion: *Enum (4 values)
+│ │ │ ├── "TLSv1_0"
+│ │ │ ├── "TLSv1_1"
+│ │ │ ├── "TLSv1_2"
+│ │ │ └── "TLSv1_3"
+│ │ ├── PolicyName: *Enum (5 values)
+│ │ │ ├── "AppGwSslPolicy20150501"
+│ │ │ ├── "AppGwSslPolicy20170401"
+│ │ │ ├── "AppGwSslPolicy20170401S"
+│ │ │ ├── "AppGwSslPolicy20220101"
+│ │ │ └── "AppGwSslPolicy20220101S"
+│ │ └── PolicyType: *Enum (3 values)
+│ │ ├── "Custom"
+│ │ ├── "CustomV2"
+│ │ └── "Predefined"
+│ ├── SslProfiles: Object (4 properties)[]
+│ │ ├── ClientAuthConfiguration: *Object (2 properties)
+│ │ │ ├── VerifyClientCertIssuerDN: *bool
+│ │ │ └── VerifyClientRevocation: *Enum (2 values)
+│ │ │ ├── "None"
+│ │ │ └── "OCSP"
+│ │ ├── Name: *string
│ │ ├── SslPolicy: *Object (5 properties)
│ │ │ ├── CipherSuites: Enum (28 values)[]
│ │ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
@@ -1099,1044 +380,1857 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701
│ │ │ ├── "Custom"
│ │ │ ├── "CustomV2"
│ │ │ └── "Predefined"
-│ │ ├── SslProfiles: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (3 properties)
-│ │ │ ├── ClientAuthConfiguration: *Object (2 properties)
-│ │ │ │ ├── VerifyClientCertIssuerDN: *bool
-│ │ │ │ └── VerifyClientRevocation: *Enum (2 values)
-│ │ │ │ ├── "None"
-│ │ │ │ └── "OCSP"
-│ │ │ ├── SslPolicy: *Object (5 properties)
-│ │ │ │ ├── CipherSuites: Enum (28 values)[]
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
-│ │ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
-│ │ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
-│ │ │ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
-│ │ │ │ ├── DisabledSslProtocols: Enum (4 values)[]
-│ │ │ │ │ ├── "TLSv1_0"
-│ │ │ │ │ ├── "TLSv1_1"
-│ │ │ │ │ ├── "TLSv1_2"
-│ │ │ │ │ └── "TLSv1_3"
-│ │ │ │ ├── MinProtocolVersion: *Enum (4 values)
-│ │ │ │ │ ├── "TLSv1_0"
-│ │ │ │ │ ├── "TLSv1_1"
-│ │ │ │ │ ├── "TLSv1_2"
-│ │ │ │ │ └── "TLSv1_3"
-│ │ │ │ ├── PolicyName: *Enum (5 values)
-│ │ │ │ │ ├── "AppGwSslPolicy20150501"
-│ │ │ │ │ ├── "AppGwSslPolicy20170401"
-│ │ │ │ │ ├── "AppGwSslPolicy20170401S"
-│ │ │ │ │ ├── "AppGwSslPolicy20220101"
-│ │ │ │ │ └── "AppGwSslPolicy20220101S"
-│ │ │ │ └── PolicyType: *Enum (3 values)
-│ │ │ │ ├── "Custom"
-│ │ │ │ ├── "CustomV2"
-│ │ │ │ └── "Predefined"
-│ │ │ └── TrustedClientCertificates: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── TrustedClientCertificates: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (1 property)
-│ │ │ └── Data: *string
-│ │ ├── TrustedRootCertificates: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (2 properties)
-│ │ │ ├── Data: *string
-│ │ │ └── KeyVaultSecretId: *string
-│ │ ├── UrlPathMaps: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (6 properties)
-│ │ │ ├── DefaultBackendAddressPool: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── DefaultBackendHttpSettings: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── DefaultLoadDistributionPolicy: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── DefaultRedirectConfiguration: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ ├── DefaultRewriteRuleSet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── PathRules: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── WebApplicationFirewallConfiguration: *Object (10 properties)
-│ │ ├── DisabledRuleGroups: Object (2 properties)[]
-│ │ │ ├── RuleGroupName: *string
-│ │ │ └── Rules: int[]
-│ │ ├── Enabled: *bool
-│ │ ├── Exclusions: Object (3 properties)[]
-│ │ │ ├── MatchVariable: *string
-│ │ │ ├── Selector: *string
-│ │ │ └── SelectorMatchOperator: *string
-│ │ ├── FileUploadLimitInMb: *int
-│ │ ├── FirewallMode: *Enum (2 values)
-│ │ │ ├── "Detection"
-│ │ │ └── "Prevention"
-│ │ ├── MaxRequestBodySize: *int
-│ │ ├── MaxRequestBodySizeInKb: *int
-│ │ ├── RequestBodyCheck: *bool
-│ │ ├── RuleSetType: *string
-│ │ └── RuleSetVersion: *string
-│ ├── Tags: map[string]string
-│ └── Zones: string[]
-├── BastionHost: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (13 properties)
-│ │ ├── AzureName: string
-│ │ ├── DisableCopyPaste: *bool
-│ │ ├── DnsName: *string
-│ │ ├── EnableFileCopy: *bool
-│ │ ├── EnableIpConnect: *bool
-│ │ ├── EnableShareableLink: *bool
-│ │ ├── EnableTunneling: *bool
-│ │ ├── IpConfigurations: Object (4 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Reference: *genruntime.ResourceReference
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── ScaleUnits: Validated<*int> (2 rules)
-│ │ │ ├── Rule 0: Maximum: 50
-│ │ │ └── Rule 1: Minimum: 2
-│ │ ├── Sku: *Object (1 property)
-│ │ │ └── Name: *Enum (2 values)
-│ │ │ ├── "Basic"
-│ │ │ └── "Standard"
-│ │ └── Tags: map[string]string
-│ └── Status: Object (17 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DisableCopyPaste: *bool
-│ ├── DnsName: *string
-│ ├── EnableFileCopy: *bool
-│ ├── EnableIpConnect: *bool
-│ ├── EnableShareableLink: *bool
-│ ├── EnableTunneling: *bool
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ScaleUnits: *int
-│ ├── Sku: *Object (1 property)
-│ │ └── Name: *Enum (2 values)
-│ │ ├── "Basic"
-│ │ └── "Standard"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── BastionHost_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (9 properties)
-│ │ ├── DisableCopyPaste: *bool
-│ │ ├── DnsName: *string
-│ │ ├── EnableFileCopy: *bool
-│ │ ├── EnableIpConnect: *bool
-│ │ ├── EnableShareableLink: *bool
-│ │ ├── EnableTunneling: *bool
-│ │ ├── IpConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── ScaleUnits: *int
-│ ├── Sku: *Object (1 property)
-│ │ └── Name: *Enum (2 values)
-│ │ ├── "Basic"
-│ │ └── "Standard"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── BastionHost_Spec_ARM: Object (5 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (8 properties)
-│ │ ├── DisableCopyPaste: *bool
-│ │ ├── DnsName: *string
-│ │ ├── EnableFileCopy: *bool
-│ │ ├── EnableIpConnect: *bool
-│ │ ├── EnableShareableLink: *bool
-│ │ ├── EnableTunneling: *bool
-│ │ ├── IpConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (3 properties)
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ ├── PublicIPAddress: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ └── ScaleUnits: *int
-│ ├── Sku: *Object (1 property)
-│ │ └── Name: *Enum (2 values)
-│ │ ├── "Basic"
-│ │ └── "Standard"
-│ └── Tags: map[string]string
-├── DnsForwardingRuleSetsForwardingRule: Resource
-│ ├── Owner: DnsForwardingRuleset
-│ ├── Spec: Object (6 properties)
-│ │ ├── AzureName: string
-│ │ ├── DomainName: *string
-│ │ ├── ForwardingRuleState: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── Metadata: map[string]string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── TargetDnsServers: Object (3 properties)[]
-│ │ ├── IpAddress: *string
-│ │ ├── IpAddressFromConfig: *genruntime.ConfigMapReference
-│ │ └── Port: *int
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DomainName: *string
-│ ├── Etag: *string
-│ ├── ForwardingRuleState: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── Id: *string
-│ ├── Metadata: map[string]string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── TargetDnsServers: Object (2 properties)[]
-│ │ ├── IpAddress: *string
-│ │ └── Port: *int
-│ └── Type: *string
-├── DnsForwardingRuleset: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (5 properties)
-│ │ ├── AzureName: string
-│ │ ├── DnsResolverOutboundEndpoints: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DnsResolverOutboundEndpoints: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsForwardingRuleset_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── DnsResolverOutboundEndpoints: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Creating"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── ResourceGuid: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsForwardingRuleset_Spec_ARM: Object (4 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (1 property)
-│ │ └── DnsResolverOutboundEndpoints: Object (1 property)[]
-│ │ └── Id: *string
-│ └── Tags: map[string]string
-├── DnsForwardingRulesets_ForwardingRule_STATUS_ARM: Object (6 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (5 properties)
-│ │ ├── DomainName: *string
-│ │ ├── ForwardingRuleState: *Enum (2 values)
-│ │ │ ├── "Disabled"
-│ │ │ └── "Enabled"
-│ │ ├── Metadata: map[string]string
-│ │ ├── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Creating"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── TargetDnsServers: Object (2 properties)[]
-│ │ ├── IpAddress: *string
-│ │ └── Port: *int
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ └── Type: *string
-├── DnsForwardingRulesets_ForwardingRule_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (4 properties)
-│ ├── DomainName: *string
-│ ├── ForwardingRuleState: *Enum (2 values)
-│ │ ├── "Disabled"
-│ │ └── "Enabled"
-│ ├── Metadata: map[string]string
-│ └── TargetDnsServers: Object (2 properties)[]
-│ ├── IpAddress: *string
-│ └── Port: *int
-├── DnsResolver: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (5 properties)
-│ │ ├── AzureName: string
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Tags: map[string]string
-│ │ └── VirtualNetwork: *Object (1 property)
+│ │ └── TrustedClientCertificates: Object (1 property)[]
│ │ └── Reference: *genruntime.ResourceReference
-│ └── Status: Object (12 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── DnsResolverState: *Enum (2 values)
-│ │ ├── "Connected"
-│ │ └── "Disconnected"
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── VirtualNetwork: *Object (1 property)
-│ └── Id: *string
-├── DnsResolver_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (4 properties)
-│ │ ├── DnsResolverState: *Enum (2 values)
-│ │ │ ├── "Connected"
-│ │ │ └── "Disconnected"
-│ │ ├── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Creating"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ResourceGuid: *string
-│ │ └── VirtualNetwork: *Object (1 property)
-│ │ └── Id: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolver_Spec_ARM: Object (4 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (1 property)
-│ │ └── VirtualNetwork: *Object (1 property)
-│ │ └── Id: *string
-│ └── Tags: map[string]string
-├── DnsResolversInboundEndpoint: Resource
-│ ├── Owner: DnsResolver
-│ ├── Spec: Object (5 properties)
-│ │ ├── AzureName: string
-│ │ ├── IpConfigurations: Object (3 properties)[]
-│ │ │ ├── PrivateIpAddress: *string
-│ │ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (3 properties)[]
-│ │ ├── PrivateIpAddress: *string
-│ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ └── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolversOutboundEndpoint: Resource
-│ ├── Owner: DnsResolver
-│ ├── Spec: Object (5 properties)
-│ │ ├── AzureName: string
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Subnet: *Object (1 property)
+│ ├── TrustedClientCertificates: Object (2 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ └── Name: *string
+│ ├── TrustedRootCertificates: Object (3 properties)[]
+│ │ ├── Data: *genruntime.SecretReference
+│ │ ├── KeyVaultSecretId: *string
+│ │ └── Name: *string
+│ ├── UrlPathMaps: Object (7 properties)[]
+│ │ ├── DefaultBackendAddressPool: *Object (1 property)
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (11 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (6 values)
-│ │ ├── "Canceled"
-│ │ ├── "Creating"
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── ResourceGuid: *string
-│ ├── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolvers_InboundEndpoint_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── IpConfigurations: Object (3 properties)[]
-│ │ │ ├── PrivateIpAddress: *string
-│ │ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Creating"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── ResourceGuid: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolvers_InboundEndpoint_Spec_ARM: Object (4 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (1 property)
-│ │ └── IpConfigurations: Object (3 properties)[]
-│ │ ├── PrivateIpAddress: *string
-│ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
+│ │ ├── DefaultBackendHttpSettings: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultLoadDistributionPolicy: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultRedirectConfiguration: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── DefaultRewriteRuleSet: *Object (1 property)
+│ │ │ └── Reference: *genruntime.ResourceReference
+│ │ ├── Name: *string
+│ │ └── PathRules: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── WebApplicationFirewallConfiguration: *Object (10 properties)
+│ │ ├── DisabledRuleGroups: Object (2 properties)[]
+│ │ │ ├── RuleGroupName: *string
+│ │ │ └── Rules: int[]
+│ │ ├── Enabled: *bool
+│ │ ├── Exclusions: Object (3 properties)[]
+│ │ │ ├── MatchVariable: *string
+│ │ │ ├── Selector: *string
+│ │ │ └── SelectorMatchOperator: *string
+│ │ ├── FileUploadLimitInMb: Validated<*int> (1 rule)
+│ │ │ └── Rule 0: Minimum: 0
+│ │ ├── FirewallMode: *Enum (2 values)
+│ │ │ ├── "Detection"
+│ │ │ └── "Prevention"
+│ │ ├── MaxRequestBodySize: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 128
+│ │ │ └── Rule 1: Minimum: 8
+│ │ ├── MaxRequestBodySizeInKb: Validated<*int> (2 rules)
+│ │ │ ├── Rule 0: Maximum: 128
+│ │ │ └── Rule 1: Minimum: 8
+│ │ ├── RequestBodyCheck: *bool
+│ │ ├── RuleSetType: *string
+│ │ └── RuleSetVersion: *string
+│ └── Zones: string[]
+└── Status: Object (44 properties)
+ ├── AuthenticationCertificates: Object (1 property)[]
+ │ └── Id: *string
+ ├── AutoscaleConfiguration: *Object (2 properties)
+ │ ├── MaxCapacity: *int
+ │ └── MinCapacity: *int
+ ├── BackendAddressPools: Object (1 property)[]
+ │ └── Id: *string
+ ├── BackendHttpSettingsCollection: Object (1 property)[]
+ │ └── Id: *string
+ ├── BackendSettingsCollection: Object (1 property)[]
+ │ └── Id: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CustomErrorConfigurations: Object (2 properties)[]
+ │ ├── CustomErrorPageUrl: *string
+ │ └── StatusCode: *Enum (2 values)
+ │ ├── "HttpStatus403"
+ │ └── "HttpStatus502"
+ ├── EnableFips: *bool
+ ├── EnableHttp2: *bool
+ ├── Etag: *string
+ ├── FirewallPolicy: *Object (1 property)
+ │ └── Id: *string
+ ├── ForceFirewallPolicyAssociation: *bool
+ ├── FrontendIPConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── FrontendPorts: Object (1 property)[]
+ │ └── Id: *string
+ ├── GatewayIPConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── GlobalConfiguration: *Object (2 properties)
+ │ ├── EnableRequestBuffering: *bool
+ │ └── EnableResponseBuffering: *bool
+ ├── HttpListeners: Object (1 property)[]
+ │ └── Id: *string
+ ├── Id: *string
+ ├── Identity: *Object (4 properties)
+ │ ├── PrincipalId: *string
+ │ ├── TenantId: *string
+ │ ├── Type: *Enum (4 values)
+ │ │ ├── "None"
+ │ │ ├── "SystemAssigned"
+ │ │ ├── "SystemAssigned, UserAssigned"
+ │ │ └── "UserAssigned"
+ │ └── UserAssignedIdentities: map[string]Object (2 properties)
+ │ ├── ClientId: *string
+ │ └── PrincipalId: *string
+ ├── Listeners: Object (1 property)[]
+ │ └── Id: *string
+ ├── LoadDistributionPolicies: Object (1 property)[]
+ │ └── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── OperationalState: *Enum (4 values)
+ │ ├── "Running"
+ │ ├── "Starting"
+ │ ├── "Stopped"
+ │ └── "Stopping"
+ ├── PrivateEndpointConnections: Object (1 property)[]
+ │ └── Id: *string
+ ├── PrivateLinkConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Probes: Object (1 property)[]
+ │ └── Id: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── RedirectConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── RequestRoutingRules: Object (1 property)[]
+ │ └── Id: *string
+ ├── ResourceGuid: *string
+ ├── RewriteRuleSets: Object (1 property)[]
+ │ └── Id: *string
+ ├── RoutingRules: Object (1 property)[]
+ │ └── Id: *string
+ ├── Sku: *Object (3 properties)
+ │ ├── Capacity: *int
+ │ ├── Name: *Enum (7 values)
+ │ │ ├── "Standard_Large"
+ │ │ ├── "Standard_Medium"
+ │ │ ├── "Standard_Small"
+ │ │ ├── "Standard_v2"
+ │ │ ├── "WAF_Large"
+ │ │ ├── "WAF_Medium"
+ │ │ └── "WAF_v2"
+ │ └── Tier: *Enum (4 values)
+ │ ├── "Standard"
+ │ ├── "Standard_v2"
+ │ ├── "WAF"
+ │ └── "WAF_v2"
+ ├── SslCertificates: Object (1 property)[]
+ │ └── Id: *string
+ ├── SslPolicy: *Object (5 properties)
+ │ ├── CipherSuites: Enum (28 values)[]
+ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
+ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
+ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
+ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
+ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
+ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
+ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
+ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
+ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
+ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
+ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
+ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
+ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
+ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
+ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
+ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
+ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
+ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
+ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
+ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
+ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
+ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
+ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
+ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
+ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
+ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
+ │ ├── DisabledSslProtocols: Enum (4 values)[]
+ │ │ ├── "TLSv1_0"
+ │ │ ├── "TLSv1_1"
+ │ │ ├── "TLSv1_2"
+ │ │ └── "TLSv1_3"
+ │ ├── MinProtocolVersion: *Enum (4 values)
+ │ │ ├── "TLSv1_0"
+ │ │ ├── "TLSv1_1"
+ │ │ ├── "TLSv1_2"
+ │ │ └── "TLSv1_3"
+ │ ├── PolicyName: *Enum (5 values)
+ │ │ ├── "AppGwSslPolicy20150501"
+ │ │ ├── "AppGwSslPolicy20170401"
+ │ │ ├── "AppGwSslPolicy20170401S"
+ │ │ ├── "AppGwSslPolicy20220101"
+ │ │ └── "AppGwSslPolicy20220101S"
+ │ └── PolicyType: *Enum (3 values)
+ │ ├── "Custom"
+ │ ├── "CustomV2"
+ │ └── "Predefined"
+ ├── SslProfiles: Object (1 property)[]
+ │ └── Id: *string
+ ├── Tags: map[string]string
+ ├── TrustedClientCertificates: Object (1 property)[]
+ │ └── Id: *string
+ ├── TrustedRootCertificates: Object (1 property)[]
+ │ └── Id: *string
+ ├── Type: *string
+ ├── UrlPathMaps: Object (1 property)[]
+ │ └── Id: *string
+ ├── WebApplicationFirewallConfiguration: *Object (10 properties)
+ │ ├── DisabledRuleGroups: Object (2 properties)[]
+ │ │ ├── RuleGroupName: *string
+ │ │ └── Rules: int[]
+ │ ├── Enabled: *bool
+ │ ├── Exclusions: Object (3 properties)[]
+ │ │ ├── MatchVariable: *string
+ │ │ ├── Selector: *string
+ │ │ └── SelectorMatchOperator: *string
+ │ ├── FileUploadLimitInMb: *int
+ │ ├── FirewallMode: *Enum (2 values)
+ │ │ ├── "Detection"
+ │ │ └── "Prevention"
+ │ ├── MaxRequestBodySize: *int
+ │ ├── MaxRequestBodySizeInKb: *int
+ │ ├── RequestBodyCheck: *bool
+ │ ├── RuleSetType: *string
+ │ └── RuleSetVersion: *string
+ └── Zones: string[]
+ApplicationGateway_STATUS_ApplicationGateway_SubResourceEmbedded_ARM: Object (9 properties)
+├── Etag: *string
+├── Id: *string
+├── Identity: *Object (4 properties)
+│ ├── PrincipalId: *string
+│ ├── TenantId: *string
+│ ├── Type: *Enum (4 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ ├── "SystemAssigned, UserAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (2 properties)
+│ ├── ClientId: *string
+│ └── PrincipalId: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (35 properties)
+│ ├── AuthenticationCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── AutoscaleConfiguration: *Object (2 properties)
+│ │ ├── MaxCapacity: *int
+│ │ └── MinCapacity: *int
+│ ├── BackendAddressPools: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── BackendHttpSettingsCollection: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── BackendSettingsCollection: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── CustomErrorConfigurations: Object (2 properties)[]
+│ │ ├── CustomErrorPageUrl: *string
+│ │ └── StatusCode: *Enum (2 values)
+│ │ ├── "HttpStatus403"
+│ │ └── "HttpStatus502"
+│ ├── EnableFips: *bool
+│ ├── EnableHttp2: *bool
+│ ├── FirewallPolicy: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ForceFirewallPolicyAssociation: *bool
+│ ├── FrontendIPConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── FrontendPorts: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── GatewayIPConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── GlobalConfiguration: *Object (2 properties)
+│ │ ├── EnableRequestBuffering: *bool
+│ │ └── EnableResponseBuffering: *bool
+│ ├── HttpListeners: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── Listeners: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── LoadDistributionPolicies: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── OperationalState: *Enum (4 values)
+│ │ ├── "Running"
+│ │ ├── "Starting"
+│ │ ├── "Stopped"
+│ │ └── "Stopping"
+│ ├── PrivateEndpointConnections: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── PrivateLinkConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── Probes: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── RedirectConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── RequestRoutingRules: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ResourceGuid: *string
+│ ├── RewriteRuleSets: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── RoutingRules: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Capacity: *int
+│ │ ├── Name: *Enum (7 values)
+│ │ │ ├── "Standard_Large"
+│ │ │ ├── "Standard_Medium"
+│ │ │ ├── "Standard_Small"
+│ │ │ ├── "Standard_v2"
+│ │ │ ├── "WAF_Large"
+│ │ │ ├── "WAF_Medium"
+│ │ │ └── "WAF_v2"
+│ │ └── Tier: *Enum (4 values)
+│ │ ├── "Standard"
+│ │ ├── "Standard_v2"
+│ │ ├── "WAF"
+│ │ └── "WAF_v2"
+│ ├── SslCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── SslPolicy: *Object (5 properties)
+│ │ ├── CipherSuites: Enum (28 values)[]
+│ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
+│ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
+│ │ ├── DisabledSslProtocols: Enum (4 values)[]
+│ │ │ ├── "TLSv1_0"
+│ │ │ ├── "TLSv1_1"
+│ │ │ ├── "TLSv1_2"
+│ │ │ └── "TLSv1_3"
+│ │ ├── MinProtocolVersion: *Enum (4 values)
+│ │ │ ├── "TLSv1_0"
+│ │ │ ├── "TLSv1_1"
+│ │ │ ├── "TLSv1_2"
+│ │ │ └── "TLSv1_3"
+│ │ ├── PolicyName: *Enum (5 values)
+│ │ │ ├── "AppGwSslPolicy20150501"
+│ │ │ ├── "AppGwSslPolicy20170401"
+│ │ │ ├── "AppGwSslPolicy20170401S"
+│ │ │ ├── "AppGwSslPolicy20220101"
+│ │ │ └── "AppGwSslPolicy20220101S"
+│ │ └── PolicyType: *Enum (3 values)
+│ │ ├── "Custom"
+│ │ ├── "CustomV2"
+│ │ └── "Predefined"
+│ ├── SslProfiles: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── TrustedClientCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── TrustedRootCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── UrlPathMaps: Object (1 property)[]
+│ │ └── Id: *string
+│ └── WebApplicationFirewallConfiguration: *Object (10 properties)
+│ ├── DisabledRuleGroups: Object (2 properties)[]
+│ │ ├── RuleGroupName: *string
+│ │ └── Rules: int[]
+│ ├── Enabled: *bool
+│ ├── Exclusions: Object (3 properties)[]
+│ │ ├── MatchVariable: *string
+│ │ ├── Selector: *string
+│ │ └── SelectorMatchOperator: *string
+│ ├── FileUploadLimitInMb: *int
+│ ├── FirewallMode: *Enum (2 values)
+│ │ ├── "Detection"
+│ │ └── "Prevention"
+│ ├── MaxRequestBodySize: *int
+│ ├── MaxRequestBodySizeInKb: *int
+│ ├── RequestBodyCheck: *bool
+│ ├── RuleSetType: *string
+│ └── RuleSetVersion: *string
+├── Tags: map[string]string
+├── Type: *string
+└── Zones: string[]
+ApplicationGateway_Spec_ARM: Object (6 properties)
+├── Identity: *Object (2 properties)
+│ ├── Type: *Enum (4 values)
+│ │ ├── "None"
+│ │ ├── "SystemAssigned"
+│ │ ├── "SystemAssigned, UserAssigned"
+│ │ └── "UserAssigned"
+│ └── UserAssignedIdentities: map[string]Object (0 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (31 properties)
+│ ├── AuthenticationCertificates: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── Data: *string
+│ ├── AutoscaleConfiguration: *Object (2 properties)
+│ │ ├── MaxCapacity: *int
+│ │ └── MinCapacity: *int
+│ ├── BackendAddressPools: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── BackendAddresses: Object (2 properties)[]
+│ │ ├── Fqdn: *string
+│ │ └── IpAddress: *string
+│ ├── BackendHttpSettingsCollection: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (13 properties)
+│ │ ├── AffinityCookieName: *string
+│ │ ├── AuthenticationCertificates: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── ConnectionDraining: *Object (2 properties)
+│ │ │ ├── DrainTimeoutInSec: *int
+│ │ │ └── Enabled: *bool
+│ │ ├── CookieBasedAffinity: *Enum (2 values)
+│ │ │ ├── "Disabled"
+│ │ │ └── "Enabled"
+│ │ ├── HostName: *string
+│ │ ├── Path: *string
+│ │ ├── PickHostNameFromBackendAddress: *bool
+│ │ ├── Port: *int
+│ │ ├── Probe: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── ProbeEnabled: *bool
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── RequestTimeout: *int
+│ │ └── TrustedRootCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── BackendSettingsCollection: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (7 properties)
+│ │ ├── HostName: *string
+│ │ ├── PickHostNameFromBackendAddress: *bool
+│ │ ├── Port: *int
+│ │ ├── Probe: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── Timeout: *int
+│ │ └── TrustedRootCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── CustomErrorConfigurations: Object (2 properties)[]
+│ │ ├── CustomErrorPageUrl: *string
+│ │ └── StatusCode: *Enum (2 values)
+│ │ ├── "HttpStatus403"
+│ │ └── "HttpStatus502"
+│ ├── EnableFips: *bool
+│ ├── EnableHttp2: *bool
+│ ├── FirewallPolicy: *Object (1 property)
+│ │ └── Id: *string
+│ ├── ForceFirewallPolicyAssociation: *bool
+│ ├── FrontendIPConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (5 properties)
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
│ │ │ ├── "Dynamic"
│ │ │ └── "Static"
+│ │ ├── PrivateLinkConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Id: *string
│ │ └── Subnet: *Object (1 property)
│ │ └── Id: *string
-│ └── Tags: map[string]string
-├── DnsResolvers_OutboundEndpoint_STATUS_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── ProvisioningState: *Enum (6 values)
-│ │ │ ├── "Canceled"
-│ │ │ ├── "Creating"
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── ResourceGuid: *string
-│ │ └── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ ├── SystemData: *Object (6 properties)
-│ │ ├── CreatedAt: *string
-│ │ ├── CreatedBy: *string
-│ │ ├── CreatedByType: *Enum (4 values)
-│ │ │ ├── "Application"
-│ │ │ ├── "Key"
-│ │ │ ├── "ManagedIdentity"
-│ │ │ └── "User"
-│ │ ├── LastModifiedAt: *string
-│ │ ├── LastModifiedBy: *string
-│ │ └── LastModifiedByType: *Enum (4 values)
-│ │ ├── "Application"
-│ │ ├── "Key"
-│ │ ├── "ManagedIdentity"
-│ │ └── "User"
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── DnsResolvers_OutboundEndpoint_Spec_ARM: Object (4 properties)
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (1 property)
-│ │ └── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ └── Tags: map[string]string
-├── NatGateway: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (9 properties)
-│ │ ├── AzureName: string
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── Location: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PublicIpAddresses: Object (1 property)[]
+│ ├── FrontendPorts: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── Port: *int
+│ ├── GatewayIPConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Id: *string
+│ ├── GlobalConfiguration: *Object (2 properties)
+│ │ ├── EnableRequestBuffering: *bool
+│ │ └── EnableResponseBuffering: *bool
+│ ├── HttpListeners: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (10 properties)
+│ │ ├── CustomErrorConfigurations: Object (2 properties)[]
+│ │ │ ├── CustomErrorPageUrl: *string
+│ │ │ └── StatusCode: *Enum (2 values)
+│ │ │ ├── "HttpStatus403"
+│ │ │ └── "HttpStatus502"
+│ │ ├── FirewallPolicy: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── FrontendPort: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── HostName: *string
+│ │ ├── HostNames: string[]
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── RequireServerNameIndication: *bool
+│ │ ├── SslCertificate: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── SslProfile: *Object (1 property)
+│ │ └── Id: *string
+│ ├── Listeners: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (5 properties)
+│ │ ├── FrontendIPConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── FrontendPort: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── SslCertificate: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── SslProfile: *Object (1 property)
+│ │ └── Id: *string
+│ ├── LoadDistributionPolicies: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (2 properties)
+│ │ ├── LoadDistributionAlgorithm: *Enum (3 values)
+│ │ │ ├── "IpHash"
+│ │ │ ├── "LeastConnections"
+│ │ │ └── "RoundRobin"
+│ │ └── LoadDistributionTargets: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── PrivateLinkConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── IpConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── Probes: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (11 properties)
+│ │ ├── Host: *string
+│ │ ├── Interval: *int
+│ │ ├── Match: *Object (2 properties)
+│ │ │ ├── Body: *string
+│ │ │ └── StatusCodes: string[]
+│ │ ├── MinServers: *int
+│ │ ├── Path: *string
+│ │ ├── PickHostNameFromBackendHttpSettings: *bool
+│ │ ├── PickHostNameFromBackendSettings: *bool
+│ │ ├── Port: *int
+│ │ ├── Protocol: *Enum (4 values)
+│ │ │ ├── "Http"
+│ │ │ ├── "Https"
+│ │ │ ├── "Tcp"
+│ │ │ └── "Tls"
+│ │ ├── Timeout: *int
+│ │ └── UnhealthyThreshold: *int
+│ ├── RedirectConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (8 properties)
+│ │ ├── IncludePath: *bool
+│ │ ├── IncludeQueryString: *bool
+│ │ ├── PathRules: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── RedirectType: *Enum (4 values)
+│ │ │ ├── "Found"
+│ │ │ ├── "Permanent"
+│ │ │ ├── "SeeOther"
+│ │ │ └── "Temporary"
+│ │ ├── RequestRoutingRules: Object (1 property)[]
+│ │ │ └── Id: *string
+│ │ ├── TargetListener: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── TargetUrl: *string
+│ │ └── UrlPathMaps: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── RequestRoutingRules: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (9 properties)
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── BackendHttpSettings: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── HttpListener: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── LoadDistributionPolicy: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Priority: *int
+│ │ ├── RedirectConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── RewriteRuleSet: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── RuleType: *Enum (2 values)
+│ │ │ ├── "Basic"
+│ │ │ └── "PathBasedRouting"
+│ │ └── UrlPathMap: *Object (1 property)
+│ │ └── Id: *string
+│ ├── RewriteRuleSets: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── RewriteRules: Object (4 properties)[]
+│ │ ├── ActionSet: *Object (3 properties)
+│ │ │ ├── RequestHeaderConfigurations: Object (2 properties)[]
+│ │ │ │ ├── HeaderName: *string
+│ │ │ │ └── HeaderValue: *string
+│ │ │ ├── ResponseHeaderConfigurations: Object (2 properties)[]
+│ │ │ │ ├── HeaderName: *string
+│ │ │ │ └── HeaderValue: *string
+│ │ │ └── UrlConfiguration: *Object (3 properties)
+│ │ │ ├── ModifiedPath: *string
+│ │ │ ├── ModifiedQueryString: *string
+│ │ │ └── Reroute: *bool
+│ │ ├── Conditions: Object (4 properties)[]
+│ │ │ ├── IgnoreCase: *bool
+│ │ │ ├── Negate: *bool
+│ │ │ ├── Pattern: *string
+│ │ │ └── Variable: *string
+│ │ ├── Name: *string
+│ │ └── RuleSequence: *int
+│ ├── RoutingRules: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (5 properties)
+│ │ ├── BackendAddressPool: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── BackendSettings: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Listener: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── Priority: *int
+│ │ └── RuleType: *Enum (2 values)
+│ │ ├── "Basic"
+│ │ └── "PathBasedRouting"
+│ ├── Sku: *Object (3 properties)
+│ │ ├── Capacity: *int
+│ │ ├── Name: *Enum (7 values)
+│ │ │ ├── "Standard_Large"
+│ │ │ ├── "Standard_Medium"
+│ │ │ ├── "Standard_Small"
+│ │ │ ├── "Standard_v2"
+│ │ │ ├── "WAF_Large"
+│ │ │ ├── "WAF_Medium"
+│ │ │ └── "WAF_v2"
+│ │ └── Tier: *Enum (4 values)
+│ │ ├── "Standard"
+│ │ ├── "Standard_v2"
+│ │ ├── "WAF"
+│ │ └── "WAF_v2"
+│ ├── SslCertificates: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (3 properties)
+│ │ ├── Data: *string
+│ │ ├── KeyVaultSecretId: *string
+│ │ └── Password: *string
+│ ├── SslPolicy: *Object (5 properties)
+│ │ ├── CipherSuites: Enum (28 values)[]
+│ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
+│ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
+│ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
+│ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
+│ │ ├── DisabledSslProtocols: Enum (4 values)[]
+│ │ │ ├── "TLSv1_0"
+│ │ │ ├── "TLSv1_1"
+│ │ │ ├── "TLSv1_2"
+│ │ │ └── "TLSv1_3"
+│ │ ├── MinProtocolVersion: *Enum (4 values)
+│ │ │ ├── "TLSv1_0"
+│ │ │ ├── "TLSv1_1"
+│ │ │ ├── "TLSv1_2"
+│ │ │ └── "TLSv1_3"
+│ │ ├── PolicyName: *Enum (5 values)
+│ │ │ ├── "AppGwSslPolicy20150501"
+│ │ │ ├── "AppGwSslPolicy20170401"
+│ │ │ ├── "AppGwSslPolicy20170401S"
+│ │ │ ├── "AppGwSslPolicy20220101"
+│ │ │ └── "AppGwSslPolicy20220101S"
+│ │ └── PolicyType: *Enum (3 values)
+│ │ ├── "Custom"
+│ │ ├── "CustomV2"
+│ │ └── "Predefined"
+│ ├── SslProfiles: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (3 properties)
+│ │ ├── ClientAuthConfiguration: *Object (2 properties)
+│ │ │ ├── VerifyClientCertIssuerDN: *bool
+│ │ │ └── VerifyClientRevocation: *Enum (2 values)
+│ │ │ ├── "None"
+│ │ │ └── "OCSP"
+│ │ ├── SslPolicy: *Object (5 properties)
+│ │ │ ├── CipherSuites: Enum (28 values)[]
+│ │ │ │ ├── "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA"
+│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA"
+│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256"
+│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA"
+│ │ │ │ ├── "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256"
+│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ │ ├── "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA"
+│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256"
+│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
+│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA"
+│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384"
+│ │ │ │ ├── "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"
+│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384"
+│ │ │ │ ├── "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ │ ├── "TLS_RSA_WITH_3DES_EDE_CBC_SHA"
+│ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA"
+│ │ │ │ ├── "TLS_RSA_WITH_AES_128_CBC_SHA256"
+│ │ │ │ ├── "TLS_RSA_WITH_AES_128_GCM_SHA256"
+│ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA"
+│ │ │ │ ├── "TLS_RSA_WITH_AES_256_CBC_SHA256"
+│ │ │ │ └── "TLS_RSA_WITH_AES_256_GCM_SHA384"
+│ │ │ ├── DisabledSslProtocols: Enum (4 values)[]
+│ │ │ │ ├── "TLSv1_0"
+│ │ │ │ ├── "TLSv1_1"
+│ │ │ │ ├── "TLSv1_2"
+│ │ │ │ └── "TLSv1_3"
+│ │ │ ├── MinProtocolVersion: *Enum (4 values)
+│ │ │ │ ├── "TLSv1_0"
+│ │ │ │ ├── "TLSv1_1"
+│ │ │ │ ├── "TLSv1_2"
+│ │ │ │ └── "TLSv1_3"
+│ │ │ ├── PolicyName: *Enum (5 values)
+│ │ │ │ ├── "AppGwSslPolicy20150501"
+│ │ │ │ ├── "AppGwSslPolicy20170401"
+│ │ │ │ ├── "AppGwSslPolicy20170401S"
+│ │ │ │ ├── "AppGwSslPolicy20220101"
+│ │ │ │ └── "AppGwSslPolicy20220101S"
+│ │ │ └── PolicyType: *Enum (3 values)
+│ │ │ ├── "Custom"
+│ │ │ ├── "CustomV2"
+│ │ │ └── "Predefined"
+│ │ └── TrustedClientCertificates: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── TrustedClientCertificates: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (1 property)
+│ │ └── Data: *string
+│ ├── TrustedRootCertificates: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (2 properties)
+│ │ ├── Data: *string
+│ │ └── KeyVaultSecretId: *string
+│ ├── UrlPathMaps: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (6 properties)
+│ │ ├── DefaultBackendAddressPool: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── DefaultBackendHttpSettings: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── DefaultLoadDistributionPolicy: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── DefaultRedirectConfiguration: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ ├── DefaultRewriteRuleSet: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── PathRules: Object (1 property)[]
+│ │ └── Id: *string
+│ └── WebApplicationFirewallConfiguration: *Object (10 properties)
+│ ├── DisabledRuleGroups: Object (2 properties)[]
+│ │ ├── RuleGroupName: *string
+│ │ └── Rules: int[]
+│ ├── Enabled: *bool
+│ ├── Exclusions: Object (3 properties)[]
+│ │ ├── MatchVariable: *string
+│ │ ├── Selector: *string
+│ │ └── SelectorMatchOperator: *string
+│ ├── FileUploadLimitInMb: *int
+│ ├── FirewallMode: *Enum (2 values)
+│ │ ├── "Detection"
+│ │ └── "Prevention"
+│ ├── MaxRequestBodySize: *int
+│ ├── MaxRequestBodySizeInKb: *int
+│ ├── RequestBodyCheck: *bool
+│ ├── RuleSetType: *string
+│ └── RuleSetVersion: *string
+├── Tags: map[string]string
+└── Zones: string[]
+BastionHost: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (13 properties)
+│ ├── AzureName: string
+│ ├── DisableCopyPaste: *bool
+│ ├── DnsName: *string
+│ ├── EnableFileCopy: *bool
+│ ├── EnableIpConnect: *bool
+│ ├── EnableShareableLink: *bool
+│ ├── EnableTunneling: *bool
+│ ├── IpConfigurations: Object (4 properties)[]
+│ │ ├── Name: *string
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── PublicIpPrefixes: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Sku: *Object (1 property)
-│ │ │ └── Name: *Enum (1 value)
-│ │ │ └── "Standard"
-│ │ ├── Tags: map[string]string
-│ │ └── Zones: string[]
-│ └── Status: Object (15 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── IdleTimeoutInMinutes: *int
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── PublicIpAddresses: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── PublicIpPrefixes: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (1 property)
-│ │ └── Name: *Enum (1 value)
-│ │ └── "Standard"
-│ ├── Subnets: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── NatGateway_STATUS_ARM: Object (9 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (6 properties)
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── PublicIpAddresses: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PublicIpPrefixes: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ResourceGuid: *string
-│ │ └── Subnets: Object (1 property)[]
-│ │ └── Id: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── ScaleUnits: Validated<*int> (2 rules)
+│ │ ├── Rule 0: Maximum: 50
+│ │ └── Rule 1: Minimum: 2
│ ├── Sku: *Object (1 property)
-│ │ └── Name: *Enum (1 value)
+│ │ └── Name: *Enum (2 values)
+│ │ ├── "Basic"
│ │ └── "Standard"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── NatGateway_Spec_ARM: Object (6 properties)
+│ └── Tags: map[string]string
+└── Status: Object (17 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DisableCopyPaste: *bool
+ ├── DnsName: *string
+ ├── EnableFileCopy: *bool
+ ├── EnableIpConnect: *bool
+ ├── EnableShareableLink: *bool
+ ├── EnableTunneling: *bool
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IpConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ScaleUnits: *int
+ ├── Sku: *Object (1 property)
+ │ └── Name: *Enum (2 values)
+ │ ├── "Basic"
+ │ └── "Standard"
+ ├── Tags: map[string]string
+ └── Type: *string
+BastionHost_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (9 properties)
+│ ├── DisableCopyPaste: *bool
+│ ├── DnsName: *string
+│ ├── EnableFileCopy: *bool
+│ ├── EnableIpConnect: *bool
+│ ├── EnableShareableLink: *bool
+│ ├── EnableTunneling: *bool
+│ ├── IpConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── ScaleUnits: *int
+├── Sku: *Object (1 property)
+│ └── Name: *Enum (2 values)
+│ ├── "Basic"
+│ └── "Standard"
+├── Tags: map[string]string
+└── Type: *string
+BastionHost_Spec_ARM: Object (5 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (8 properties)
+│ ├── DisableCopyPaste: *bool
+│ ├── DnsName: *string
+│ ├── EnableFileCopy: *bool
+│ ├── EnableIpConnect: *bool
+│ ├── EnableShareableLink: *bool
+│ ├── EnableTunneling: *bool
+│ ├── IpConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (3 properties)
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ ├── PublicIPAddress: *Object (1 property)
+│ │ │ └── Id: *string
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Id: *string
+│ └── ScaleUnits: *int
+├── Sku: *Object (1 property)
+│ └── Name: *Enum (2 values)
+│ ├── "Basic"
+│ └── "Standard"
+└── Tags: map[string]string
+DnsForwardingRuleSetsForwardingRule: Resource
+├── Owner: DnsForwardingRuleset
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── DomainName: *string
+│ ├── ForwardingRuleState: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── Metadata: map[string]string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── TargetDnsServers: Object (3 properties)[]
+│ ├── IpAddress: *string
+│ ├── IpAddressFromConfig: *genruntime.ConfigMapReference
+│ └── Port: *int
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DomainName: *string
+ ├── Etag: *string
+ ├── ForwardingRuleState: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── Id: *string
+ ├── Metadata: map[string]string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── TargetDnsServers: Object (2 properties)[]
+ │ ├── IpAddress: *string
+ │ └── Port: *int
+ └── Type: *string
+DnsForwardingRuleset: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (5 properties)
+│ ├── AzureName: string
+│ ├── DnsResolverOutboundEndpoints: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (3 properties)
-│ │ ├── IdleTimeoutInMinutes: *int
-│ │ ├── PublicIpAddresses: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── PublicIpPrefixes: Object (1 property)[]
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DnsResolverOutboundEndpoints: Object (1 property)[]
+ │ └── Id: *string
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ └── Type: *string
+DnsForwardingRuleset_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── DnsResolverOutboundEndpoints: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (6 values)
+│ │ ├── "Canceled"
+│ │ ├── "Creating"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── ResourceGuid: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+DnsForwardingRuleset_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (1 property)
+│ └── DnsResolverOutboundEndpoints: Object (1 property)[]
+│ └── Id: *string
+└── Tags: map[string]string
+DnsForwardingRulesets_ForwardingRule_STATUS_ARM: Object (6 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+├── Properties: *Object (5 properties)
+│ ├── DomainName: *string
+│ ├── ForwardingRuleState: *Enum (2 values)
+│ │ ├── "Disabled"
+│ │ └── "Enabled"
+│ ├── Metadata: map[string]string
+│ ├── ProvisioningState: *Enum (6 values)
+│ │ ├── "Canceled"
+│ │ ├── "Creating"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── TargetDnsServers: Object (2 properties)[]
+│ ├── IpAddress: *string
+│ └── Port: *int
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+└── Type: *string
+DnsForwardingRulesets_ForwardingRule_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (4 properties)
+ ├── DomainName: *string
+ ├── ForwardingRuleState: *Enum (2 values)
+ │ ├── "Disabled"
+ │ └── "Enabled"
+ ├── Metadata: map[string]string
+ └── TargetDnsServers: Object (2 properties)[]
+ ├── IpAddress: *string
+ └── Port: *int
+DnsResolver: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (5 properties)
+│ ├── AzureName: string
+│ ├── Location: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Tags: map[string]string
+│ └── VirtualNetwork: *Object (1 property)
+│ └── Reference: *genruntime.ResourceReference
+└── Status: Object (12 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── DnsResolverState: *Enum (2 values)
+ │ ├── "Connected"
+ │ └── "Disconnected"
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── VirtualNetwork: *Object (1 property)
+ └── Id: *string
+DnsResolver_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (4 properties)
+│ ├── DnsResolverState: *Enum (2 values)
+│ │ ├── "Connected"
+│ │ └── "Disconnected"
+│ ├── ProvisioningState: *Enum (6 values)
+│ │ ├── "Canceled"
+│ │ ├── "Creating"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── ResourceGuid: *string
+│ └── VirtualNetwork: *Object (1 property)
+│ └── Id: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+DnsResolver_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (1 property)
+│ └── VirtualNetwork: *Object (1 property)
+│ └── Id: *string
+└── Tags: map[string]string
+DnsResolversInboundEndpoint: Resource
+├── Owner: DnsResolver
+├── Spec: Object (5 properties)
+│ ├── AzureName: string
+│ ├── IpConfigurations: Object (3 properties)[]
+│ │ ├── PrivateIpAddress: *string
+│ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IpConfigurations: Object (3 properties)[]
+ │ ├── PrivateIpAddress: *string
+ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
+ │ │ ├── "Dynamic"
+ │ │ └── "Static"
+ │ └── Subnet: *Object (1 property)
+ │ └── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ └── Type: *string
+DnsResolversOutboundEndpoint: Resource
+├── Owner: DnsResolver
+├── Spec: Object (5 properties)
+│ ├── AzureName: string
+│ ├── Location: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (11 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (6 values)
+ │ ├── "Canceled"
+ │ ├── "Creating"
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── ResourceGuid: *string
+ ├── Subnet: *Object (1 property)
+ │ └── Id: *string
+ ├── SystemData: *Object (6 properties)
+ │ ├── CreatedAt: *string
+ │ ├── CreatedBy: *string
+ │ ├── CreatedByType: *Enum (4 values)
+ │ │ ├── "Application"
+ │ │ ├── "Key"
+ │ │ ├── "ManagedIdentity"
+ │ │ └── "User"
+ │ ├── LastModifiedAt: *string
+ │ ├── LastModifiedBy: *string
+ │ └── LastModifiedByType: *Enum (4 values)
+ │ ├── "Application"
+ │ ├── "Key"
+ │ ├── "ManagedIdentity"
+ │ └── "User"
+ ├── Tags: map[string]string
+ └── Type: *string
+DnsResolvers_InboundEndpoint_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── IpConfigurations: Object (3 properties)[]
+│ │ ├── PrivateIpAddress: *string
+│ │ ├── PrivateIpAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ └── Subnet: *Object (1 property)
│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (6 values)
+│ │ ├── "Canceled"
+│ │ ├── "Creating"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── ResourceGuid: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+DnsResolvers_InboundEndpoint_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (1 property)
+│ └── IpConfigurations: Object (3 properties)[]
+│ ├── PrivateIpAddress: *string
+│ ├── PrivateIpAllocationMethod: *Enum (2 values)
+│ │ ├── "Dynamic"
+│ │ └── "Static"
+│ └── Subnet: *Object (1 property)
+│ └── Id: *string
+└── Tags: map[string]string
+DnsResolvers_OutboundEndpoint_STATUS_ARM: Object (8 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (3 properties)
+│ ├── ProvisioningState: *Enum (6 values)
+│ │ ├── "Canceled"
+│ │ ├── "Creating"
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── ResourceGuid: *string
+│ └── Subnet: *Object (1 property)
+│ └── Id: *string
+├── SystemData: *Object (6 properties)
+│ ├── CreatedAt: *string
+│ ├── CreatedBy: *string
+│ ├── CreatedByType: *Enum (4 values)
+│ │ ├── "Application"
+│ │ ├── "Key"
+│ │ ├── "ManagedIdentity"
+│ │ └── "User"
+│ ├── LastModifiedAt: *string
+│ ├── LastModifiedBy: *string
+│ └── LastModifiedByType: *Enum (4 values)
+│ ├── "Application"
+│ ├── "Key"
+│ ├── "ManagedIdentity"
+│ └── "User"
+├── Tags: map[string]string
+└── Type: *string
+DnsResolvers_OutboundEndpoint_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (1 property)
+│ └── Subnet: *Object (1 property)
+│ └── Id: *string
+└── Tags: map[string]string
+NatGateway: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (9 properties)
+│ ├── AzureName: string
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── Location: *string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PublicIpAddresses: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── PublicIpPrefixes: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── Sku: *Object (1 property)
│ │ └── Name: *Enum (1 value)
│ │ └── "Standard"
│ ├── Tags: map[string]string
│ └── Zones: string[]
-├── PrivateEndpoint: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (11 properties)
-│ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── AzureName: string
-│ │ ├── CustomNetworkInterfaceName: *string
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── IpConfigurations: Object (4 properties)[]
+└── Status: Object (15 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── IdleTimeoutInMinutes: *int
+ ├── Location: *string
+ ├── Name: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── PublicIpAddresses: Object (1 property)[]
+ │ └── Id: *string
+ ├── PublicIpPrefixes: Object (1 property)[]
+ │ └── Id: *string
+ ├── ResourceGuid: *string
+ ├── Sku: *Object (1 property)
+ │ └── Name: *Enum (1 value)
+ │ └── "Standard"
+ ├── Subnets: Object (1 property)[]
+ │ └── Id: *string
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Zones: string[]
+NatGateway_STATUS_ARM: Object (9 properties)
+├── Etag: *string
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (6 properties)
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── PublicIpAddresses: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── PublicIpPrefixes: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ResourceGuid: *string
+│ └── Subnets: Object (1 property)[]
+│ └── Id: *string
+├── Sku: *Object (1 property)
+│ └── Name: *Enum (1 value)
+│ └── "Standard"
+├── Tags: map[string]string
+├── Type: *string
+└── Zones: string[]
+NatGateway_Spec_ARM: Object (6 properties)
+├── Location: *string
+├── Name: string
+├── Properties: *Object (3 properties)
+│ ├── IdleTimeoutInMinutes: *int
+│ ├── PublicIpAddresses: Object (1 property)[]
+│ │ └── Id: *string
+│ └── PublicIpPrefixes: Object (1 property)[]
+│ └── Id: *string
+├── Sku: *Object (1 property)
+│ └── Name: *Enum (1 value)
+│ └── "Standard"
+├── Tags: map[string]string
+└── Zones: string[]
+PrivateEndpoint: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (12 properties)
+│ ├── ApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── AzureName: string
+│ ├── CustomNetworkInterfaceName: *string
+│ ├── ExtendedLocation: *Object (2 properties)
+│ │ ├── Name: *string
+│ │ └── Type: *Enum (1 value)
+│ │ └── "EdgeZone"
+│ ├── IpConfigurations: Object (4 properties)[]
+│ │ ├── GroupId: *string
+│ │ ├── MemberName: *string
+│ │ ├── Name: *string
+│ │ └── PrivateIPAddress: *string
+│ ├── Location: *string
+│ ├── ManualPrivateLinkServiceConnections: Object (5 properties)[]
+│ │ ├── GroupIds: string[]
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
+│ │ │ ├── ActionsRequired: *string
+│ │ │ ├── Description: *string
+│ │ │ └── Status: *string
+│ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
+│ │ └── RequestMessage: *string
+│ ├── OperatorSpec: *Object (1 property)
+│ │ └── ConfigMaps: *Object (1 property)
+│ │ └── PrimaryNicPrivateIpAddress: *genruntime.ConfigMapDestination
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrivateLinkServiceConnections: Object (5 properties)[]
+│ │ ├── GroupIds: string[]
+│ │ ├── Name: *string
+│ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
+│ │ │ ├── ActionsRequired: *string
+│ │ │ ├── Description: *string
+│ │ │ └── Status: *string
+│ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
+│ │ └── RequestMessage: *string
+│ ├── Subnet: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ └── Tags: map[string]string
+└── Status: Object (17 properties)
+ ├── ApplicationSecurityGroups: Object (1 property)[]
+ │ └── Id: *string
+ ├── Conditions: conditions.Condition[]
+ ├── CustomDnsConfigs: Object (2 properties)[]
+ │ ├── Fqdn: *string
+ │ └── IpAddresses: string[]
+ ├── CustomNetworkInterfaceName: *string
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Id: *string
+ ├── IpConfigurations: Object (6 properties)[]
+ │ ├── Etag: *string
+ │ ├── GroupId: *string
+ │ ├── MemberName: *string
+ │ ├── Name: *string
+ │ ├── PrivateIPAddress: *string
+ │ └── Type: *string
+ ├── Location: *string
+ ├── ManualPrivateLinkServiceConnections: Object (9 properties)[]
+ │ ├── Etag: *string
+ │ ├── GroupIds: string[]
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
+ │ │ ├── ActionsRequired: *string
+ │ │ ├── Description: *string
+ │ │ └── Status: *string
+ │ ├── PrivateLinkServiceId: *string
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── RequestMessage: *string
+ │ └── Type: *string
+ ├── Name: *string
+ ├── NetworkInterfaces: Object (1 property)[]
+ │ └── Id: *string
+ ├── PrivateLinkServiceConnections: Object (9 properties)[]
+ │ ├── Etag: *string
+ │ ├── GroupIds: string[]
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
+ │ │ ├── ActionsRequired: *string
+ │ │ ├── Description: *string
+ │ │ └── Status: *string
+ │ ├── PrivateLinkServiceId: *string
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── RequestMessage: *string
+ │ └── Type: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── Subnet: *Object (1 property)
+ │ └── Id: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded_ARM: Object (8 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (9 properties)
+│ ├── ApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── CustomDnsConfigs: Object (2 properties)[]
+│ │ ├── Fqdn: *string
+│ │ └── IpAddresses: string[]
+│ ├── CustomNetworkInterfaceName: *string
+│ ├── IpConfigurations: Object (4 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (3 properties)
│ │ │ ├── GroupId: *string
│ │ │ ├── MemberName: *string
-│ │ │ ├── Name: *string
│ │ │ └── PrivateIPAddress: *string
-│ │ ├── Location: *string
-│ │ ├── ManualPrivateLinkServiceConnections: Object (5 properties)[]
+│ │ └── Type: *string
+│ ├── ManualPrivateLinkServiceConnections: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (5 properties)
│ │ │ ├── GroupIds: string[]
-│ │ │ ├── Name: *string
│ │ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
│ │ │ │ ├── ActionsRequired: *string
│ │ │ │ ├── Description: *string
│ │ │ │ └── Status: *string
-│ │ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
+│ │ │ ├── PrivateLinkServiceId: *string
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
│ │ │ └── RequestMessage: *string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrivateLinkServiceConnections: Object (5 properties)[]
+│ │ └── Type: *string
+│ ├── NetworkInterfaces: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── PrivateLinkServiceConnections: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (5 properties)
│ │ │ ├── GroupIds: string[]
-│ │ │ ├── Name: *string
│ │ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
│ │ │ │ ├── ActionsRequired: *string
│ │ │ │ ├── Description: *string
│ │ │ │ └── Status: *string
-│ │ │ ├── PrivateLinkServiceReference: *genruntime.ResourceReference
+│ │ │ ├── PrivateLinkServiceId: *string
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
│ │ │ └── RequestMessage: *string
-│ │ ├── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ └── Tags: map[string]string
-│ └── Status: Object (17 properties)
-│ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomDnsConfigs: Object (2 properties)[]
-│ │ ├── Fqdn: *string
-│ │ └── IpAddresses: string[]
-│ ├── CustomNetworkInterfaceName: *string
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (6 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── GroupId: *string
-│ │ ├── MemberName: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateIPAddress: *string
-│ │ └── Type: *string
-│ ├── Location: *string
-│ ├── ManualPrivateLinkServiceConnections: Object (9 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── GroupIds: string[]
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
-│ │ │ ├── ActionsRequired: *string
-│ │ │ ├── Description: *string
-│ │ │ └── Status: *string
-│ │ ├── PrivateLinkServiceId: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RequestMessage: *string
-│ │ └── Type: *string
+│ │ └── Type: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── Subnet: *Object (1 property)
+│ └── Id: *string
+├── Tags: map[string]string
+└── Type: *string
+PrivateEndpoint_Spec_ARM: Object (5 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (6 properties)
+│ ├── ApplicationSecurityGroups: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── CustomNetworkInterfaceName: *string
+│ ├── IpConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (3 properties)
+│ │ ├── GroupId: *string
+│ │ ├── MemberName: *string
+│ │ └── PrivateIPAddress: *string
+│ ├── ManualPrivateLinkServiceConnections: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (4 properties)
+│ │ ├── GroupIds: string[]
+│ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
+│ │ │ ├── ActionsRequired: *string
+│ │ │ ├── Description: *string
+│ │ │ └── Status: *string
+│ │ ├── PrivateLinkServiceId: *string
+│ │ └── RequestMessage: *string
+│ ├── PrivateLinkServiceConnections: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (4 properties)
+│ │ ├── GroupIds: string[]
+│ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
+│ │ │ ├── ActionsRequired: *string
+│ │ │ ├── Description: *string
+│ │ │ └── Status: *string
+│ │ ├── PrivateLinkServiceId: *string
+│ │ └── RequestMessage: *string
+│ └── Subnet: *Object (1 property)
+│ └── Id: *string
+└── Tags: map[string]string
+PrivateEndpointsPrivateDnsZoneGroup: Resource
+├── Owner: PrivateEndpoint
+├── Spec: Object (3 properties)
+│ ├── AzureName: string
+│ ├── Owner: *genruntime.KnownResourceReference
+│ └── PrivateDnsZoneConfigs: Object (2 properties)[]
│ ├── Name: *string
-│ ├── NetworkInterfaces: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── PrivateLinkServiceConnections: Object (9 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── GroupIds: string[]
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
-│ │ │ ├── ActionsRequired: *string
-│ │ │ ├── Description: *string
-│ │ │ └── Status: *string
-│ │ ├── PrivateLinkServiceId: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RequestMessage: *string
-│ │ └── Type: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── PrivateEndpoint_STATUS_PrivateEndpoint_SubResourceEmbedded_ARM: Object (8 properties)
-│ ├── Etag: *string
+│ └── PrivateDnsZoneReference: *genruntime.ResourceReference
+└── Status: Object (6 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Etag: *string
+ ├── Id: *string
+ ├── Name: *string
+ ├── PrivateDnsZoneConfigs: Object (3 properties)[]
+ │ ├── Name: *string
+ │ ├── PrivateDnsZoneId: *string
+ │ └── RecordSets: Object (6 properties)[]
+ │ ├── Fqdn: *string
+ │ ├── IpAddresses: string[]
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── RecordSetName: *string
+ │ ├── RecordType: *string
+ │ └── Ttl: *int
+ └── ProvisioningState: *Enum (4 values)
+ ├── "Deleting"
+ ├── "Failed"
+ ├── "Succeeded"
+ └── "Updating"
+PrivateEndpoints_PrivateDnsZoneGroup_STATUS_ARM: Object (4 properties)
+├── Etag: *string
+├── Id: *string
+├── Name: *string
+└── Properties: *Object (2 properties)
+ ├── PrivateDnsZoneConfigs: Object (2 properties)[]
+ │ ├── Name: *string
+ │ └── Properties: *Object (2 properties)
+ │ ├── PrivateDnsZoneId: *string
+ │ └── RecordSets: Object (6 properties)[]
+ │ ├── Fqdn: *string
+ │ ├── IpAddresses: string[]
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── RecordSetName: *string
+ │ ├── RecordType: *string
+ │ └── Ttl: *int
+ └── ProvisioningState: *Enum (4 values)
+ ├── "Deleting"
+ ├── "Failed"
+ ├── "Succeeded"
+ └── "Updating"
+PrivateEndpoints_PrivateDnsZoneGroup_Spec_ARM: Object (2 properties)
+├── Name: string
+└── Properties: *Object (1 property)
+ └── PrivateDnsZoneConfigs: Object (2 properties)[]
+ ├── Name: *string
+ └── Properties: *Object (1 property)
+ └── PrivateDnsZoneId: *string
+PrivateLinkService: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (12 properties)
+│ ├── AutoApproval: *Object (1 property)
+│ │ └── Subscriptions: string[]
+│ ├── AzureName: string
+│ ├── EnableProxyProtocol: *bool
│ ├── ExtendedLocation: *Object (2 properties)
│ │ ├── Name: *string
│ │ └── Type: *Enum (1 value)
│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (9 properties)
-│ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── CustomDnsConfigs: Object (2 properties)[]
-│ │ │ ├── Fqdn: *string
-│ │ │ └── IpAddresses: string[]
-│ │ ├── CustomNetworkInterfaceName: *string
-│ │ ├── IpConfigurations: Object (4 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (3 properties)
-│ │ │ │ ├── GroupId: *string
-│ │ │ │ ├── MemberName: *string
-│ │ │ │ └── PrivateIPAddress: *string
-│ │ │ └── Type: *string
-│ │ ├── ManualPrivateLinkServiceConnections: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (5 properties)
-│ │ │ │ ├── GroupIds: string[]
-│ │ │ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
-│ │ │ │ │ ├── ActionsRequired: *string
-│ │ │ │ │ ├── Description: *string
-│ │ │ │ │ └── Status: *string
-│ │ │ │ ├── PrivateLinkServiceId: *string
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ └── RequestMessage: *string
-│ │ │ └── Type: *string
-│ │ ├── NetworkInterfaces: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PrivateLinkServiceConnections: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (5 properties)
-│ │ │ │ ├── GroupIds: string[]
-│ │ │ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
-│ │ │ │ │ ├── ActionsRequired: *string
-│ │ │ │ │ ├── Description: *string
-│ │ │ │ │ └── Status: *string
-│ │ │ │ ├── PrivateLinkServiceId: *string
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ └── RequestMessage: *string
-│ │ │ └── Type: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
+│ ├── Fqdns: string[]
+│ ├── IpConfigurations: Object (6 properties)[]
+│ │ ├── Name: *string
+│ │ ├── Primary: *bool
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
│ │ └── Subnet: *Object (1 property)
-│ │ └── Id: *string
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Location: *string
+│ ├── OperatorSpec: *Object (1 property)
+│ │ └── ConfigMaps: *Object (1 property)
+│ │ └── Alias: *genruntime.ConfigMapDestination
+│ ├── Owner: *genruntime.KnownResourceReference
│ ├── Tags: map[string]string
-│ └── Type: *string
-├── PrivateEndpoint_Spec_ARM: Object (5 properties)
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (6 properties)
-│ │ ├── ApplicationSecurityGroups: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── CustomNetworkInterfaceName: *string
-│ │ ├── IpConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (3 properties)
-│ │ │ ├── GroupId: *string
-│ │ │ ├── MemberName: *string
-│ │ │ └── PrivateIPAddress: *string
-│ │ ├── ManualPrivateLinkServiceConnections: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (4 properties)
-│ │ │ ├── GroupIds: string[]
-│ │ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
-│ │ │ │ ├── ActionsRequired: *string
-│ │ │ │ ├── Description: *string
-│ │ │ │ └── Status: *string
-│ │ │ ├── PrivateLinkServiceId: *string
-│ │ │ └── RequestMessage: *string
-│ │ ├── PrivateLinkServiceConnections: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (4 properties)
-│ │ │ ├── GroupIds: string[]
-│ │ │ ├── PrivateLinkServiceConnectionState: *Object (3 properties)
-│ │ │ │ ├── ActionsRequired: *string
-│ │ │ │ ├── Description: *string
-│ │ │ │ └── Status: *string
-│ │ │ ├── PrivateLinkServiceId: *string
-│ │ │ └── RequestMessage: *string
-│ │ └── Subnet: *Object (1 property)
-│ │ └── Id: *string
-│ └── Tags: map[string]string
-├── PrivateEndpointsPrivateDnsZoneGroup: Resource
-│ ├── Owner: PrivateEndpoint
-│ ├── Spec: Object (3 properties)
-│ │ ├── AzureName: string
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ └── PrivateDnsZoneConfigs: Object (2 properties)[]
-│ │ ├── Name: *string
-│ │ └── PrivateDnsZoneReference: *genruntime.ResourceReference
-│ └── Status: Object (6 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Etag: *string
-│ ├── Id: *string
-│ ├── Name: *string
-│ ├── PrivateDnsZoneConfigs: Object (3 properties)[]
-│ │ ├── Name: *string
-│ │ ├── PrivateDnsZoneId: *string
-│ │ └── RecordSets: Object (6 properties)[]
-│ │ ├── Fqdn: *string
-│ │ ├── IpAddresses: string[]
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RecordSetName: *string
-│ │ ├── RecordType: *string
-│ │ └── Ttl: *int
-│ └── ProvisioningState: *Enum (4 values)
-│ ├── "Deleting"
-│ ├── "Failed"
-│ ├── "Succeeded"
-│ └── "Updating"
-├── PrivateEndpoints_PrivateDnsZoneGroup_STATUS_ARM: Object (4 properties)
-│ ├── Etag: *string
-│ ├── Id: *string
+│ └── Visibility: *Object (1 property)
+│ └── Subscriptions: string[]
+└── Status: Object (18 properties)
+ ├── Alias: *string
+ ├── AutoApproval: *Object (1 property)
+ │ └── Subscriptions: string[]
+ ├── Conditions: conditions.Condition[]
+ ├── EnableProxyProtocol: *bool
+ ├── Etag: *string
+ ├── ExtendedLocation: *Object (2 properties)
+ │ ├── Name: *string
+ │ └── Type: *Enum (1 value)
+ │ └── "EdgeZone"
+ ├── Fqdns: string[]
+ ├── Id: *string
+ ├── IpConfigurations: Object (10 properties)[]
+ │ ├── Etag: *string
+ │ ├── Id: *string
+ │ ├── Name: *string
+ │ ├── Primary: *bool
+ │ ├── PrivateIPAddress: *string
+ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+ │ │ ├── "IPv4"
+ │ │ └── "IPv6"
+ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+ │ │ ├── "Dynamic"
+ │ │ └── "Static"
+ │ ├── ProvisioningState: *Enum (4 values)
+ │ │ ├── "Deleting"
+ │ │ ├── "Failed"
+ │ │ ├── "Succeeded"
+ │ │ └── "Updating"
+ │ ├── Subnet: *Object (1 property)
+ │ │ └── Id: *string
+ │ └── Type: *string
+ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
+ │ └── Id: *string
+ ├── Location: *string
+ ├── Name: *string
+ ├── NetworkInterfaces: Object (1 property)[]
+ │ └── Id: *string
+ ├── PrivateEndpointConnections: Object (1 property)[]
+ │ └── Id: *string
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── Tags: map[string]string
+ ├── Type: *string
+ └── Visibility: *Object (1 property)
+ └── Subscriptions: string[]
+PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded_ARM: Object (8 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ └── Properties: *Object (2 properties)
-│ ├── PrivateDnsZoneConfigs: Object (2 properties)[]
-│ │ ├── Name: *string
-│ │ └── Properties: *Object (2 properties)
-│ │ ├── PrivateDnsZoneId: *string
-│ │ └── RecordSets: Object (6 properties)[]
-│ │ ├── Fqdn: *string
-│ │ ├── IpAddresses: string[]
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── RecordSetName: *string
-│ │ ├── RecordType: *string
-│ │ └── Ttl: *int
-│ └── ProvisioningState: *Enum (4 values)
-│ ├── "Deleting"
-│ ├── "Failed"
-│ ├── "Succeeded"
-│ └── "Updating"
-├── PrivateEndpoints_PrivateDnsZoneGroup_Spec_ARM: Object (2 properties)
-│ ├── Name: string
-│ └── Properties: *Object (1 property)
-│ └── PrivateDnsZoneConfigs: Object (2 properties)[]
-│ ├── Name: *string
-│ └── Properties: *Object (1 property)
-│ └── PrivateDnsZoneId: *string
-├── PrivateLinkService: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (12 properties)
-│ │ ├── AutoApproval: *Object (1 property)
-│ │ │ └── Subscriptions: string[]
-│ │ ├── AzureName: string
-│ │ ├── EnableProxyProtocol: *bool
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── Fqdns: string[]
-│ │ ├── IpConfigurations: Object (6 properties)[]
-│ │ │ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (10 properties)
+│ ├── Alias: *string
+│ ├── AutoApproval: *Object (1 property)
+│ │ └── Subscriptions: string[]
+│ ├── EnableProxyProtocol: *bool
+│ ├── Fqdns: string[]
+│ ├── IpConfigurations: Object (5 properties)[]
+│ │ ├── Etag: *string
+│ │ ├── Id: *string
+│ │ ├── Name: *string
+│ │ ├── Properties: *Object (6 properties)
│ │ │ ├── Primary: *bool
│ │ │ ├── PrivateIPAddress: *string
│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
@@ -2145,251 +2239,80 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701
│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
│ │ │ │ ├── "Dynamic"
│ │ │ │ └── "Static"
+│ │ │ ├── ProvisioningState: *Enum (4 values)
+│ │ │ │ ├── "Deleting"
+│ │ │ │ ├── "Failed"
+│ │ │ │ ├── "Succeeded"
+│ │ │ │ └── "Updating"
│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Location: *string
-│ │ ├── OperatorSpec: *Object (1 property)
-│ │ │ └── ConfigMaps: *Object (1 property)
-│ │ │ └── Alias: *genruntime.ConfigMapDestination
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── Tags: map[string]string
-│ │ └── Visibility: *Object (1 property)
-│ │ └── Subscriptions: string[]
-│ └── Status: Object (18 properties)
-│ ├── Alias: *string
-│ ├── AutoApproval: *Object (1 property)
-│ │ └── Subscriptions: string[]
-│ ├── Conditions: conditions.Condition[]
-│ ├── EnableProxyProtocol: *bool
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Fqdns: string[]
-│ ├── Id: *string
-│ ├── IpConfigurations: Object (10 properties)[]
-│ │ ├── Etag: *string
-│ │ ├── Id: *string
-│ │ ├── Name: *string
-│ │ ├── Primary: *bool
-│ │ ├── PrivateIPAddress: *string
-│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ ├── "Dynamic"
-│ │ │ └── "Static"
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ └── Type: *string
-│ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── NetworkInterfaces: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── PrivateEndpointConnections: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Visibility: *Object (1 property)
-│ └── Subscriptions: string[]
-├── PrivateLinkService_STATUS_PrivateLinkService_SubResourceEmbedded_ARM: Object (8 properties)
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
+│ │ │ └── Id: *string
+│ │ └── Type: *string
+│ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── NetworkInterfaces: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── PrivateEndpointConnections: Object (1 property)[]
+│ │ └── Id: *string
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ └── Visibility: *Object (1 property)
+│ └── Subscriptions: string[]
+├── Tags: map[string]string
+└── Type: *string
+PrivateLinkService_Spec_ARM: Object (5 properties)
+├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
-│ ├── Properties: *Object (10 properties)
-│ │ ├── Alias: *string
-│ │ ├── AutoApproval: *Object (1 property)
-│ │ │ └── Subscriptions: string[]
-│ │ ├── EnableProxyProtocol: *bool
-│ │ ├── Fqdns: string[]
-│ │ ├── IpConfigurations: Object (5 properties)[]
-│ │ │ ├── Etag: *string
-│ │ │ ├── Id: *string
-│ │ │ ├── Name: *string
-│ │ │ ├── Properties: *Object (6 properties)
-│ │ │ │ ├── Primary: *bool
-│ │ │ │ ├── PrivateIPAddress: *string
-│ │ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ │ ├── "IPv4"
-│ │ │ │ │ └── "IPv6"
-│ │ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ │ ├── "Dynamic"
-│ │ │ │ │ └── "Static"
-│ │ │ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ │ │ ├── "Deleting"
-│ │ │ │ │ ├── "Failed"
-│ │ │ │ │ ├── "Succeeded"
-│ │ │ │ │ └── "Updating"
-│ │ │ │ └── Subnet: *Object (1 property)
-│ │ │ │ └── Id: *string
-│ │ │ └── Type: *string
-│ │ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── NetworkInterfaces: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── PrivateEndpointConnections: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ └── Visibility: *Object (1 property)
-│ │ └── Subscriptions: string[]
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── PrivateLinkService_Spec_ARM: Object (5 properties)
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (6 properties)
+│ ├── AutoApproval: *Object (1 property)
+│ │ └── Subscriptions: string[]
+│ ├── EnableProxyProtocol: *bool
+│ ├── Fqdns: string[]
+│ ├── IpConfigurations: Object (2 properties)[]
+│ │ ├── Name: *string
+│ │ └── Properties: *Object (5 properties)
+│ │ ├── Primary: *bool
+│ │ ├── PrivateIPAddress: *string
+│ │ ├── PrivateIPAddressVersion: *Enum (2 values)
+│ │ │ ├── "IPv4"
+│ │ │ └── "IPv6"
+│ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
+│ │ │ ├── "Dynamic"
+│ │ │ └── "Static"
+│ │ └── Subnet: *Object (1 property)
+│ │ └── Id: *string
+│ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
+│ │ └── Id: *string
+│ └── Visibility: *Object (1 property)
+│ └── Subscriptions: string[]
+└── Tags: map[string]string
+PublicIPPrefix: Resource
+├── Owner: resources/v1apiv20191001.ResourceGroup
+├── Spec: Object (12 properties)
+│ ├── AzureName: string
+│ ├── CustomIPPrefix: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
│ ├── ExtendedLocation: *Object (2 properties)
│ │ ├── Name: *string
│ │ └── Type: *Enum (1 value)
│ │ └── "EdgeZone"
+│ ├── IpTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
│ ├── Location: *string
-│ ├── Name: string
-│ ├── Properties: *Object (6 properties)
-│ │ ├── AutoApproval: *Object (1 property)
-│ │ │ └── Subscriptions: string[]
-│ │ ├── EnableProxyProtocol: *bool
-│ │ ├── Fqdns: string[]
-│ │ ├── IpConfigurations: Object (2 properties)[]
-│ │ │ ├── Name: *string
-│ │ │ └── Properties: *Object (5 properties)
-│ │ │ ├── Primary: *bool
-│ │ │ ├── PrivateIPAddress: *string
-│ │ │ ├── PrivateIPAddressVersion: *Enum (2 values)
-│ │ │ │ ├── "IPv4"
-│ │ │ │ └── "IPv6"
-│ │ │ ├── PrivateIPAllocationMethod: *Enum (2 values)
-│ │ │ │ ├── "Dynamic"
-│ │ │ │ └── "Static"
-│ │ │ └── Subnet: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── LoadBalancerFrontendIpConfigurations: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── Visibility: *Object (1 property)
-│ │ └── Subscriptions: string[]
-│ └── Tags: map[string]string
-├── PublicIPPrefix: Resource
-│ ├── Owner: resources/v1apiv20191001.ResourceGroup
-│ ├── Spec: Object (12 properties)
-│ │ ├── AzureName: string
-│ │ ├── CustomIPPrefix: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── ExtendedLocation: *Object (2 properties)
-│ │ │ ├── Name: *string
-│ │ │ └── Type: *Enum (1 value)
-│ │ │ └── "EdgeZone"
-│ │ ├── IpTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── Location: *string
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Reference: *genruntime.ResourceReference
-│ │ ├── Owner: *genruntime.KnownResourceReference
-│ │ ├── PrefixLength: *int
-│ │ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── Sku: *Object (2 properties)
-│ │ │ ├── Name: *Enum (1 value)
-│ │ │ │ └── "Standard"
-│ │ │ └── Tier: *Enum (2 values)
-│ │ │ ├── "Global"
-│ │ │ └── "Regional"
-│ │ ├── Tags: map[string]string
-│ │ └── Zones: string[]
-│ └── Status: Object (20 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── CustomIPPrefix: *Object (1 property)
-│ │ └── Id: *string
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── IpPrefix: *string
-│ ├── IpTags: Object (2 properties)[]
-│ │ ├── IpTagType: *string
-│ │ └── Tag: *string
-│ ├── LoadBalancerFrontendIpConfiguration: *Object (1 property)
-│ │ └── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── NatGateway: *Object (1 property)
-│ │ └── Id: *string
-│ ├── PrefixLength: *int
-│ ├── ProvisioningState: *Enum (4 values)
-│ │ ├── "Deleting"
-│ │ ├── "Failed"
-│ │ ├── "Succeeded"
-│ │ └── "Updating"
-│ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ ├── "IPv4"
-│ │ └── "IPv6"
-│ ├── PublicIPAddresses: Object (1 property)[]
-│ │ └── Id: *string
-│ ├── ResourceGuid: *string
-│ ├── Sku: *Object (2 properties)
-│ │ ├── Name: *Enum (1 value)
-│ │ │ └── "Standard"
-│ │ └── Tier: *Enum (2 values)
-│ │ ├── "Global"
-│ │ └── "Regional"
-│ ├── Tags: map[string]string
-│ ├── Type: *string
-│ └── Zones: string[]
-├── PublicIPPrefix_STATUS_ARM: Object (10 properties)
-│ ├── Etag: *string
-│ ├── ExtendedLocation: *Object (2 properties)
-│ │ ├── Name: *string
-│ │ └── Type: *Enum (1 value)
-│ │ └── "EdgeZone"
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (10 properties)
-│ │ ├── CustomIPPrefix: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── IpPrefix: *string
-│ │ ├── IpTags: Object (2 properties)[]
-│ │ │ ├── IpTagType: *string
-│ │ │ └── Tag: *string
-│ │ ├── LoadBalancerFrontendIpConfiguration: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── NatGateway: *Object (1 property)
-│ │ │ └── Id: *string
-│ │ ├── PrefixLength: *int
-│ │ ├── ProvisioningState: *Enum (4 values)
-│ │ │ ├── "Deleting"
-│ │ │ ├── "Failed"
-│ │ │ ├── "Succeeded"
-│ │ │ └── "Updating"
-│ │ ├── PublicIPAddressVersion: *Enum (2 values)
-│ │ │ ├── "IPv4"
-│ │ │ └── "IPv6"
-│ │ ├── PublicIPAddresses: Object (1 property)[]
-│ │ │ └── Id: *string
-│ │ └── ResourceGuid: *string
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Reference: *genruntime.ResourceReference
+│ ├── Owner: *genruntime.KnownResourceReference
+│ ├── PrefixLength: *int
+│ ├── PublicIPAddressVersion: *Enum (2 values)
+│ │ ├── "IPv4"
+│ │ └── "IPv6"
│ ├── Sku: *Object (2 properties)
│ │ ├── Name: *Enum (1 value)
│ │ │ └── "Standard"
@@ -2397,27 +2320,39 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701
│ │ ├── "Global"
│ │ └── "Regional"
│ ├── Tags: map[string]string
-│ ├── Type: *string
│ └── Zones: string[]
-└── PublicIPPrefix_Spec_ARM: Object (7 properties)
+└── Status: Object (20 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── CustomIPPrefix: *Object (1 property)
+ │ └── Id: *string
+ ├── Etag: *string
├── ExtendedLocation: *Object (2 properties)
│ ├── Name: *string
│ └── Type: *Enum (1 value)
│ └── "EdgeZone"
+ ├── Id: *string
+ ├── IpPrefix: *string
+ ├── IpTags: Object (2 properties)[]
+ │ ├── IpTagType: *string
+ │ └── Tag: *string
+ ├── LoadBalancerFrontendIpConfiguration: *Object (1 property)
+ │ └── Id: *string
├── Location: *string
- ├── Name: string
- ├── Properties: *Object (5 properties)
- │ ├── CustomIPPrefix: *Object (1 property)
- │ │ └── Id: *string
- │ ├── IpTags: Object (2 properties)[]
- │ │ ├── IpTagType: *string
- │ │ └── Tag: *string
- │ ├── NatGateway: *Object (1 property)
- │ │ └── Id: *string
- │ ├── PrefixLength: *int
- │ └── PublicIPAddressVersion: *Enum (2 values)
- │ ├── "IPv4"
- │ └── "IPv6"
+ ├── Name: *string
+ ├── NatGateway: *Object (1 property)
+ │ └── Id: *string
+ ├── PrefixLength: *int
+ ├── ProvisioningState: *Enum (4 values)
+ │ ├── "Deleting"
+ │ ├── "Failed"
+ │ ├── "Succeeded"
+ │ └── "Updating"
+ ├── PublicIPAddressVersion: *Enum (2 values)
+ │ ├── "IPv4"
+ │ └── "IPv6"
+ ├── PublicIPAddresses: Object (1 property)[]
+ │ └── Id: *string
+ ├── ResourceGuid: *string
├── Sku: *Object (2 properties)
│ ├── Name: *Enum (1 value)
│ │ └── "Standard"
@@ -2425,4 +2360,73 @@ github.com/Azure/azure-service-operator/v2/api/network/v1api20220701
│ ├── "Global"
│ └── "Regional"
├── Tags: map[string]string
+ ├── Type: *string
└── Zones: string[]
+PublicIPPrefix_STATUS_ARM: Object (10 properties)
+├── Etag: *string
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Id: *string
+├── Location: *string
+├── Name: *string
+├── Properties: *Object (10 properties)
+│ ├── CustomIPPrefix: *Object (1 property)
+│ │ └── Id: *string
+│ ├── IpPrefix: *string
+│ ├── IpTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── LoadBalancerFrontendIpConfiguration: *Object (1 property)
+│ │ └── Id: *string
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Id: *string
+│ ├── PrefixLength: *int
+│ ├── ProvisioningState: *Enum (4 values)
+│ │ ├── "Deleting"
+│ │ ├── "Failed"
+│ │ ├── "Succeeded"
+│ │ └── "Updating"
+│ ├── PublicIPAddressVersion: *Enum (2 values)
+│ │ ├── "IPv4"
+│ │ └── "IPv6"
+│ ├── PublicIPAddresses: Object (1 property)[]
+│ │ └── Id: *string
+│ └── ResourceGuid: *string
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Standard"
+│ └── Tier: *Enum (2 values)
+│ ├── "Global"
+│ └── "Regional"
+├── Tags: map[string]string
+├── Type: *string
+└── Zones: string[]
+PublicIPPrefix_Spec_ARM: Object (7 properties)
+├── ExtendedLocation: *Object (2 properties)
+│ ├── Name: *string
+│ └── Type: *Enum (1 value)
+│ └── "EdgeZone"
+├── Location: *string
+├── Name: string
+├── Properties: *Object (5 properties)
+│ ├── CustomIPPrefix: *Object (1 property)
+│ │ └── Id: *string
+│ ├── IpTags: Object (2 properties)[]
+│ │ ├── IpTagType: *string
+│ │ └── Tag: *string
+│ ├── NatGateway: *Object (1 property)
+│ │ └── Id: *string
+│ ├── PrefixLength: *int
+│ └── PublicIPAddressVersion: *Enum (2 values)
+│ ├── "IPv4"
+│ └── "IPv6"
+├── Sku: *Object (2 properties)
+│ ├── Name: *Enum (1 value)
+│ │ └── "Standard"
+│ └── Tier: *Enum (2 values)
+│ ├── "Global"
+│ └── "Regional"
+├── Tags: map[string]string
+└── Zones: string[]
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/zz_generated.deepcopy.go
index 675413de74..3d8de12822 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/network/v1api20220701/zz_generated.deepcopy.go
@@ -10257,6 +10257,46 @@ func (in *PrivateEndpointList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateEndpointOperatorConfigMaps) DeepCopyInto(out *PrivateEndpointOperatorConfigMaps) {
+ *out = *in
+ if in.PrimaryNicPrivateIpAddress != nil {
+ in, out := &in.PrimaryNicPrivateIpAddress, &out.PrimaryNicPrivateIpAddress
+ *out = new(genruntime.ConfigMapDestination)
+ **out = **in
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOperatorConfigMaps.
+func (in *PrivateEndpointOperatorConfigMaps) DeepCopy() *PrivateEndpointOperatorConfigMaps {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateEndpointOperatorConfigMaps)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *PrivateEndpointOperatorSpec) DeepCopyInto(out *PrivateEndpointOperatorSpec) {
+ *out = *in
+ if in.ConfigMaps != nil {
+ in, out := &in.ConfigMaps, &out.ConfigMaps
+ *out = new(PrivateEndpointOperatorConfigMaps)
+ (*in).DeepCopyInto(*out)
+ }
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivateEndpointOperatorSpec.
+func (in *PrivateEndpointOperatorSpec) DeepCopy() *PrivateEndpointOperatorSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(PrivateEndpointOperatorSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PrivateEndpointProperties_ARM) DeepCopyInto(out *PrivateEndpointProperties_ARM) {
*out = *in
@@ -10594,6 +10634,11 @@ func (in *PrivateEndpoint_Spec) DeepCopyInto(out *PrivateEndpoint_Spec) {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
+ if in.OperatorSpec != nil {
+ in, out := &in.OperatorSpec, &out.OperatorSpec
+ *out = new(PrivateEndpointOperatorSpec)
+ (*in).DeepCopyInto(*out)
+ }
if in.Owner != nil {
in, out := &in.Owner, &out.Owner
*out = new(genruntime.KnownResourceReference)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/resource_group_types_gen.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/resource_group_types_gen.go
index 73fe066a3b..ffc36864f1 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/resource_group_types_gen.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/resource_group_types_gen.go
@@ -5,7 +5,7 @@ package v1api20200601
import (
"fmt"
- v20200601s "github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage"
+ storage "github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage"
"github.com/Azure/azure-service-operator/v2/internal/reflecthelpers"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime"
"github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions"
@@ -49,7 +49,7 @@ var _ conversion.Convertible = &ResourceGroup{}
// ConvertFrom populates our ResourceGroup from the provided hub ResourceGroup
func (group *ResourceGroup) ConvertFrom(hub conversion.Hub) error {
- source, ok := hub.(*v20200601s.ResourceGroup)
+ source, ok := hub.(*storage.ResourceGroup)
if !ok {
return fmt.Errorf("expected resources/v1api20200601/storage/ResourceGroup but received %T instead", hub)
}
@@ -59,7 +59,7 @@ func (group *ResourceGroup) ConvertFrom(hub conversion.Hub) error {
// ConvertTo populates the provided hub ResourceGroup from our ResourceGroup
func (group *ResourceGroup) ConvertTo(hub conversion.Hub) error {
- destination, ok := hub.(*v20200601s.ResourceGroup)
+ destination, ok := hub.(*storage.ResourceGroup)
if !ok {
return fmt.Errorf("expected resources/v1api20200601/storage/ResourceGroup but received %T instead", hub)
}
@@ -255,7 +255,7 @@ func (group *ResourceGroup) validateWriteOnceProperties(old runtime.Object) (adm
}
// AssignProperties_From_ResourceGroup populates our ResourceGroup from the provided source ResourceGroup
-func (group *ResourceGroup) AssignProperties_From_ResourceGroup(source *v20200601s.ResourceGroup) error {
+func (group *ResourceGroup) AssignProperties_From_ResourceGroup(source *storage.ResourceGroup) error {
// ObjectMeta
group.ObjectMeta = *source.ObjectMeta.DeepCopy()
@@ -281,13 +281,13 @@ func (group *ResourceGroup) AssignProperties_From_ResourceGroup(source *v2020060
}
// AssignProperties_To_ResourceGroup populates the provided destination ResourceGroup from our ResourceGroup
-func (group *ResourceGroup) AssignProperties_To_ResourceGroup(destination *v20200601s.ResourceGroup) error {
+func (group *ResourceGroup) AssignProperties_To_ResourceGroup(destination *storage.ResourceGroup) error {
// ObjectMeta
destination.ObjectMeta = *group.ObjectMeta.DeepCopy()
// Spec
- var spec v20200601s.ResourceGroup_Spec
+ var spec storage.ResourceGroup_Spec
err := group.Spec.AssignProperties_To_ResourceGroup_Spec(&spec)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceGroup_Spec() to populate field Spec")
@@ -295,7 +295,7 @@ func (group *ResourceGroup) AssignProperties_To_ResourceGroup(destination *v2020
destination.Spec = spec
// Status
- var status v20200601s.ResourceGroup_STATUS
+ var status storage.ResourceGroup_STATUS
err = group.Status.AssignProperties_To_ResourceGroup_STATUS(&status)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceGroup_STATUS() to populate field Status")
@@ -426,14 +426,14 @@ var _ genruntime.ConvertibleSpec = &ResourceGroup_Spec{}
// ConvertSpecFrom populates our ResourceGroup_Spec from the provided source
func (group *ResourceGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSpec) error {
- src, ok := source.(*v20200601s.ResourceGroup_Spec)
+ src, ok := source.(*storage.ResourceGroup_Spec)
if ok {
// Populate our instance from source
return group.AssignProperties_From_ResourceGroup_Spec(src)
}
// Convert to an intermediate form
- src = &v20200601s.ResourceGroup_Spec{}
+ src = &storage.ResourceGroup_Spec{}
err := src.ConvertSpecFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecFrom()")
@@ -450,14 +450,14 @@ func (group *ResourceGroup_Spec) ConvertSpecFrom(source genruntime.ConvertibleSp
// ConvertSpecTo populates the provided destination from our ResourceGroup_Spec
func (group *ResourceGroup_Spec) ConvertSpecTo(destination genruntime.ConvertibleSpec) error {
- dst, ok := destination.(*v20200601s.ResourceGroup_Spec)
+ dst, ok := destination.(*storage.ResourceGroup_Spec)
if ok {
// Populate destination from our instance
return group.AssignProperties_To_ResourceGroup_Spec(dst)
}
// Convert to an intermediate form
- dst = &v20200601s.ResourceGroup_Spec{}
+ dst = &storage.ResourceGroup_Spec{}
err := group.AssignProperties_To_ResourceGroup_Spec(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertSpecTo()")
@@ -473,7 +473,7 @@ func (group *ResourceGroup_Spec) ConvertSpecTo(destination genruntime.Convertibl
}
// AssignProperties_From_ResourceGroup_Spec populates our ResourceGroup_Spec from the provided source ResourceGroup_Spec
-func (group *ResourceGroup_Spec) AssignProperties_From_ResourceGroup_Spec(source *v20200601s.ResourceGroup_Spec) error {
+func (group *ResourceGroup_Spec) AssignProperties_From_ResourceGroup_Spec(source *storage.ResourceGroup_Spec) error {
// AzureName
group.AzureName = source.AzureName
@@ -492,7 +492,7 @@ func (group *ResourceGroup_Spec) AssignProperties_From_ResourceGroup_Spec(source
}
// AssignProperties_To_ResourceGroup_Spec populates the provided destination ResourceGroup_Spec from our ResourceGroup_Spec
-func (group *ResourceGroup_Spec) AssignProperties_To_ResourceGroup_Spec(destination *v20200601s.ResourceGroup_Spec) error {
+func (group *ResourceGroup_Spec) AssignProperties_To_ResourceGroup_Spec(destination *storage.ResourceGroup_Spec) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -578,14 +578,14 @@ var _ genruntime.ConvertibleStatus = &ResourceGroup_STATUS{}
// ConvertStatusFrom populates our ResourceGroup_STATUS from the provided source
func (group *ResourceGroup_STATUS) ConvertStatusFrom(source genruntime.ConvertibleStatus) error {
- src, ok := source.(*v20200601s.ResourceGroup_STATUS)
+ src, ok := source.(*storage.ResourceGroup_STATUS)
if ok {
// Populate our instance from source
return group.AssignProperties_From_ResourceGroup_STATUS(src)
}
// Convert to an intermediate form
- src = &v20200601s.ResourceGroup_STATUS{}
+ src = &storage.ResourceGroup_STATUS{}
err := src.ConvertStatusFrom(source)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusFrom()")
@@ -602,14 +602,14 @@ func (group *ResourceGroup_STATUS) ConvertStatusFrom(source genruntime.Convertib
// ConvertStatusTo populates the provided destination from our ResourceGroup_STATUS
func (group *ResourceGroup_STATUS) ConvertStatusTo(destination genruntime.ConvertibleStatus) error {
- dst, ok := destination.(*v20200601s.ResourceGroup_STATUS)
+ dst, ok := destination.(*storage.ResourceGroup_STATUS)
if ok {
// Populate destination from our instance
return group.AssignProperties_To_ResourceGroup_STATUS(dst)
}
// Convert to an intermediate form
- dst = &v20200601s.ResourceGroup_STATUS{}
+ dst = &storage.ResourceGroup_STATUS{}
err := group.AssignProperties_To_ResourceGroup_STATUS(dst)
if err != nil {
return errors.Wrap(err, "initial step of conversion in ConvertStatusTo()")
@@ -694,7 +694,7 @@ func (group *ResourceGroup_STATUS) PopulateFromARM(owner genruntime.ArbitraryOwn
}
// AssignProperties_From_ResourceGroup_STATUS populates our ResourceGroup_STATUS from the provided source ResourceGroup_STATUS
-func (group *ResourceGroup_STATUS) AssignProperties_From_ResourceGroup_STATUS(source *v20200601s.ResourceGroup_STATUS) error {
+func (group *ResourceGroup_STATUS) AssignProperties_From_ResourceGroup_STATUS(source *storage.ResourceGroup_STATUS) error {
// Conditions
group.Conditions = genruntime.CloneSliceOfCondition(source.Conditions)
@@ -734,7 +734,7 @@ func (group *ResourceGroup_STATUS) AssignProperties_From_ResourceGroup_STATUS(so
}
// AssignProperties_To_ResourceGroup_STATUS populates the provided destination ResourceGroup_STATUS from our ResourceGroup_STATUS
-func (group *ResourceGroup_STATUS) AssignProperties_To_ResourceGroup_STATUS(destination *v20200601s.ResourceGroup_STATUS) error {
+func (group *ResourceGroup_STATUS) AssignProperties_To_ResourceGroup_STATUS(destination *storage.ResourceGroup_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
@@ -755,7 +755,7 @@ func (group *ResourceGroup_STATUS) AssignProperties_To_ResourceGroup_STATUS(dest
// Properties
if group.Properties != nil {
- var property v20200601s.ResourceGroupProperties_STATUS
+ var property storage.ResourceGroupProperties_STATUS
err := group.Properties.AssignProperties_To_ResourceGroupProperties_STATUS(&property)
if err != nil {
return errors.Wrap(err, "calling AssignProperties_To_ResourceGroupProperties_STATUS() to populate field Properties")
@@ -813,7 +813,7 @@ func (properties *ResourceGroupProperties_STATUS) PopulateFromARM(owner genrunti
}
// AssignProperties_From_ResourceGroupProperties_STATUS populates our ResourceGroupProperties_STATUS from the provided source ResourceGroupProperties_STATUS
-func (properties *ResourceGroupProperties_STATUS) AssignProperties_From_ResourceGroupProperties_STATUS(source *v20200601s.ResourceGroupProperties_STATUS) error {
+func (properties *ResourceGroupProperties_STATUS) AssignProperties_From_ResourceGroupProperties_STATUS(source *storage.ResourceGroupProperties_STATUS) error {
// ProvisioningState
properties.ProvisioningState = genruntime.ClonePointerToString(source.ProvisioningState)
@@ -823,7 +823,7 @@ func (properties *ResourceGroupProperties_STATUS) AssignProperties_From_Resource
}
// AssignProperties_To_ResourceGroupProperties_STATUS populates the provided destination ResourceGroupProperties_STATUS from our ResourceGroupProperties_STATUS
-func (properties *ResourceGroupProperties_STATUS) AssignProperties_To_ResourceGroupProperties_STATUS(destination *v20200601s.ResourceGroupProperties_STATUS) error {
+func (properties *ResourceGroupProperties_STATUS) AssignProperties_To_ResourceGroupProperties_STATUS(destination *storage.ResourceGroupProperties_STATUS) error {
// Create a new property bag
propertyBag := genruntime.NewPropertyBag()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage/structure.txt
index 194f64bea9..99ece438ee 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage/structure.txt
@@ -1,24 +1,25 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/storage
-├── APIVersion: Enum (1 value)
-│ └── "2020-06-01"
-└── ResourceGroup: Resource
- ├── Spec: Object (6 properties)
- │ ├── AzureName: string
- │ ├── Location: *string
- │ ├── ManagedBy: *string
- │ ├── OriginalVersion: string
+------------------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2020-06-01"
+ResourceGroup: Resource
+├── Spec: Object (6 properties)
+│ ├── AzureName: string
+│ ├── Location: *string
+│ ├── ManagedBy: *string
+│ ├── OriginalVersion: string
+│ ├── PropertyBag: genruntime.PropertyBag
+│ └── Tags: map[string]string
+└── Status: Object (9 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
+ ├── Location: *string
+ ├── ManagedBy: *string
+ ├── Name: *string
+ ├── Properties: *Object (2 properties)
│ ├── PropertyBag: genruntime.PropertyBag
- │ └── Tags: map[string]string
- └── Status: Object (9 properties)
- ├── Conditions: conditions.Condition[]
- ├── Id: *string
- ├── Location: *string
- ├── ManagedBy: *string
- ├── Name: *string
- ├── Properties: *Object (2 properties)
- │ ├── PropertyBag: genruntime.PropertyBag
- │ └── ProvisioningState: *string
- ├── PropertyBag: genruntime.PropertyBag
- ├── Tags: map[string]string
- └── Type: *string
+ │ └── ProvisioningState: *string
+ ├── PropertyBag: genruntime.PropertyBag
+ ├── Tags: map[string]string
+ └── Type: *string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/structure.txt b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/structure.txt
index fac793fb11..c76b9fce84 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/structure.txt
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601/structure.txt
@@ -1,36 +1,37 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/resources/v1api20200601
-├── APIVersion: Enum (1 value)
-│ └── "2020-06-01"
-├── ResourceGroup: Resource
-│ ├── Spec: Object (4 properties)
-│ │ ├── AzureName: Validated (2 rules)
-│ │ │ ├── Rule 0: MaxLength: 90
-│ │ │ └── Rule 1: MinLength: 1
-│ │ ├── Location: *string
-│ │ ├── ManagedBy: *string
-│ │ └── Tags: map[string]string
-│ └── Status: Object (8 properties)
-│ ├── Conditions: conditions.Condition[]
-│ ├── Id: *string
-│ ├── Location: *string
-│ ├── ManagedBy: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (1 property)
-│ │ └── ProvisioningState: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-├── ResourceGroup_STATUS_ARM: Object (7 properties)
-│ ├── Id: *string
+----------------------------------------------------------------------
+APIVersion: Enum (1 value)
+└── "2020-06-01"
+ResourceGroup: Resource
+├── Spec: Object (4 properties)
+│ ├── AzureName: Validated (2 rules)
+│ │ ├── Rule 0: MaxLength: 90
+│ │ └── Rule 1: MinLength: 1
│ ├── Location: *string
│ ├── ManagedBy: *string
-│ ├── Name: *string
-│ ├── Properties: *Object (1 property)
-│ │ └── ProvisioningState: *string
-│ ├── Tags: map[string]string
-│ └── Type: *string
-└── ResourceGroup_Spec_ARM: Object (4 properties)
+│ └── Tags: map[string]string
+└── Status: Object (8 properties)
+ ├── Conditions: conditions.Condition[]
+ ├── Id: *string
├── Location: *string
├── ManagedBy: *string
- ├── Name: string
- └── Tags: map[string]string
+ ├── Name: *string
+ ├── Properties: *Object (1 property)
+ │ └── ProvisioningState: *string
+ ├── Tags: map[string]string
+ └── Type: *string
+ResourceGroup_STATUS_ARM: Object (7 properties)
+├── Id: *string
+├── Location: *string
+├── ManagedBy: *string
+├── Name: *string
+├── Properties: *Object (1 property)
+│ └── ProvisioningState: *string
+├── Tags: map[string]string
+└── Type: *string
+ResourceGroup_Spec_ARM: Object (4 properties)
+├── Location: *string
+├── ManagedBy: *string
+├── Name: string
+└── Tags: map[string]string
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/default_http_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/default_http_client.go
index cc0a748af9..b59d2716d5 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/default_http_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/default_http_client.go
@@ -38,5 +38,4 @@ func init() {
defaultHttpClient = &http.Client{
Transport: httpTransport,
}
-
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/generic_client.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/generic_client.go
index 06c5ed67c4..4ad61f51e5 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/generic_client.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/genericarmclient/generic_client.go
@@ -24,8 +24,10 @@ import (
"github.com/Azure/azure-service-operator/v2/internal/version"
)
-const CreatePollerID = "GenericClient.CreateOrUpdateByID"
-const DeletePollerID = "GenericClient.DeleteByID"
+const (
+ CreatePollerID = "GenericClient.CreateOrUpdateByID"
+ DeletePollerID = "GenericClient.DeleteByID"
+)
// NOTE: All of these methods (and types) were adapted from
// https://github.com/Azure/azure-sdk-for-go/blob/sdk/resources/armresources/v0.3.0/sdk/resources/armresources/zz_generated_resources_client.go
@@ -115,7 +117,6 @@ func NewGenericClient(
creds: creds,
opts: opts,
}, nil
-
}
// Creds returns the credentials used by this client
@@ -134,7 +135,8 @@ func (client *GenericClient) BeginCreateOrUpdateByID(
ctx context.Context,
resourceID string,
apiVersion string,
- resource interface{}) (*PollerResponse[GenericResource], error) {
+ resource interface{},
+) (*PollerResponse[GenericResource], error) {
// The linter doesn't realize that the response is closed in the course of
// the autorest.NewPoller call below. Suppressing it as it is a false positive.
// nolint:bodyclose
@@ -160,8 +162,8 @@ func (client *GenericClient) createOrUpdateByID(
ctx context.Context,
resourceID string,
apiVersion string,
- resource interface{}) (*http.Response, error) {
-
+ resource interface{},
+) (*http.Response, error) {
req, err := client.createOrUpdateByIDCreateRequest(ctx, resourceID, apiVersion, resource)
if err != nil {
return nil, err
@@ -184,8 +186,8 @@ func (client *GenericClient) createOrUpdateByIDCreateRequest(
ctx context.Context,
resourceID string,
apiVersion string,
- resource interface{}) (*policy.Request, error) {
-
+ resource interface{},
+) (*policy.Request, error) {
if resourceID == "" {
return nil, errors.New("parameter resourceID cannot be empty")
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/metrics/arm_client_metrics.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/metrics/arm_client_metrics.go
index 4d941dbbe1..408f53f696 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/metrics/arm_client_metrics.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/metrics/arm_client_metrics.go
@@ -22,7 +22,6 @@ type ARMClientMetrics struct {
var _ Metrics = &ARMClientMetrics{}
func NewARMClientMetrics() *ARMClientMetrics {
-
azureSuccessfulRequestsTotal := prometheus.NewCounterVec(prometheus.CounterOpts{
Name: "azure_successful_requests_total",
Help: "Total number of successful requests to azure",
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/reflecthelpers/reflect_visitor.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/reflecthelpers/reflect_visitor.go
index 5df1f0aeec..8471fde01b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/reflecthelpers/reflect_visitor.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/reflecthelpers/reflect_visitor.go
@@ -116,7 +116,6 @@ func IdentityVisitPtr(this *ReflectVisitor, it reflect.Value, ctx interface{}) e
// IdentityVisitSlice is the identity visit function for slices. It visits each element of the slice.
func IdentityVisitSlice(this *ReflectVisitor, it reflect.Value, ctx interface{}) error {
-
for i := 0; i < it.Len(); i++ {
err := this.visit(it.Index(i), ctx)
if err != nil {
@@ -129,7 +128,6 @@ func IdentityVisitSlice(this *ReflectVisitor, it reflect.Value, ctx interface{})
// IdentityVisitMap is the identity visit function for maps. It visits each key and value in the map.
func IdentityVisitMap(this *ReflectVisitor, it reflect.Value, ctx interface{}) error {
-
for _, key := range it.MapKeys() {
err := this.visit(key, ctx)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/version/version.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/version/version.go
index 98bdbaba62..2218aadbbc 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/version/version.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/internal/version/version.go
@@ -14,10 +14,8 @@ import (
"github.com/spf13/cobra"
)
-var (
- // This is populated from the build (see Taskfile.yml)
- BuildVersion string = ""
-)
+// This is populated from the build (see Taskfile.yml)
+var BuildVersion string = ""
// NewCommand creates a new reusable cobra command to display the current version of the tool
func NewCommand() (*cobra.Command, error) {
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/config.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/config.go
index 32d7883c83..afdf382587 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/config.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/config.go
@@ -32,8 +32,8 @@ const (
// exists to detect and correct changes that happened in Azure that Kubernetes is not
// aware about. BE VERY CAREFUL setting this value low - even a modest number of resources
// can cause subscription level throttling if they are re-synced frequently.
- // If nil, no sync is performed. Durations are specified as "1h", "15m", or "60s". See
- // https://pkg.go.dev/time#ParseDuration for more details.
+ // Durations are specified as "1h", "15m", or "60s". Specify the special value "never" to prevent
+ // syncing. See https://pkg.go.dev/time#ParseDuration for more details.
SyncPeriod = "AZURE_SYNC_PERIOD"
// ResourceManagerEndpoint is the Azure Resource Manager endpoint.
// If not specified, the default is the Public cloud resource manager endpoint.
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/scoped_credentials.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/scoped_credentials.go
index 54acd3819c..dae24997fe 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/scoped_credentials.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/common/config/scoped_credentials.go
@@ -10,6 +10,6 @@ const (
WorkloadIdentityAuthMode AuthModeOption = "workloadidentity"
// AuthMode enum is used to determine if we're using Pod Identity or Workload Identity
- //authentication for namespace and per-resource scoped credentials
+ // authentication for namespace and per-resource scoped credentials
AuthMode = "AUTH_MODE"
)
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/conditions.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/conditions.go
index 0c89f8cd73..27b2978bcc 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/conditions.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/conditions.go
@@ -223,8 +223,12 @@ var reasonPriority = map[string]int{
ReasonReferenceNotFound.Name: -2,
ReasonSecretNotFound.Name: -2,
ReasonConfigMapNotFound.Name: -2,
- ReasonWaitingForOwner.Name: -2,
- ReasonReconciling.Name: -1,
+ // AzureResourceNotFound only comes up when ReconcilePolicy is skip. This conditions priority being less than
+ // Reconciling allows skip -> reconcile to immediately update the condition to Reconciling rather than continuing to
+ // report AzureResourceNotFound until the resource is created.
+ ReasonAzureResourceNotFound.Name: -2,
+ ReasonWaitingForOwner.Name: -2,
+ ReasonReconciling.Name: -1,
}
// SetConditionReasonAware sets the provided Condition on the Conditioner. This is similar to SetCondition
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/ready_condition_builder.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/ready_condition_builder.go
index b2f33e8529..ff7f7e00a8 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/ready_condition_builder.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/conditions/ready_condition_builder.go
@@ -23,22 +23,28 @@ type Reason struct {
var ReasonSubscriptionMismatch = Reason{Name: "SubscriptionMismatch", RetryClassification: RetryFast}
// Precondition reasons
-var ReasonSecretNotFound = Reason{Name: "SecretNotFound", RetryClassification: RetryFast}
-var ReasonConfigMapNotFound = Reason{Name: "ConfigMapNotFound", RetryClassification: RetryFast}
-var ReasonReferenceNotFound = Reason{Name: "ReferenceNotFound", RetryClassification: RetryFast}
-var ReasonWaitingForOwner = Reason{Name: "WaitingForOwner", RetryClassification: RetryFast}
+var (
+ ReasonSecretNotFound = Reason{Name: "SecretNotFound", RetryClassification: RetryFast}
+ ReasonConfigMapNotFound = Reason{Name: "ConfigMapNotFound", RetryClassification: RetryFast}
+ ReasonReferenceNotFound = Reason{Name: "ReferenceNotFound", RetryClassification: RetryFast}
+ ReasonWaitingForOwner = Reason{Name: "WaitingForOwner", RetryClassification: RetryFast}
+)
// Post-ARM PUT reasons
-var ReasonAzureResourceNotFound = Reason{Name: "AzureResourceNotFound", RetryClassification: RetrySlow}
-var ReasonAdditionalKubernetesObjWriteFailure = Reason{Name: "FailedWritingAdditionalKubernetesObjects", RetryClassification: RetrySlow}
+var (
+ ReasonAzureResourceNotFound = Reason{Name: "AzureResourceNotFound", RetryClassification: RetrySlow}
+ ReasonAdditionalKubernetesObjWriteFailure = Reason{Name: "FailedWritingAdditionalKubernetesObjects", RetryClassification: RetrySlow}
+)
// Other reasons
-var ReasonReconciling = Reason{Name: "Reconciling", RetryClassification: RetryFast}
-var ReasonDeleting = Reason{Name: "Deleting", RetryClassification: RetryFast}
-var ReasonReconciliationFailedPermanently = Reason{Name: "ReconciliationFailedPermanently", RetryClassification: RetryNone}
-var ReasonReconcileBlocked = Reason{Name: "ReconciliationBlocked", RetryClassification: RetrySlow}
-var ReasonReconcilePostponed = Reason{Name: "ReconciliationPostponed", RetryClassification: RetrySlow}
-var ReasonPostReconcileFailure = Reason{Name: "PostReconciliationFailure", RetryClassification: RetrySlow}
+var (
+ ReasonReconciling = Reason{Name: "Reconciling", RetryClassification: RetryFast}
+ ReasonDeleting = Reason{Name: "Deleting", RetryClassification: RetryFast}
+ ReasonReconciliationFailedPermanently = Reason{Name: "ReconciliationFailedPermanently", RetryClassification: RetryNone}
+ ReasonReconcileBlocked = Reason{Name: "ReconciliationBlocked", RetryClassification: RetrySlow}
+ ReasonReconcilePostponed = Reason{Name: "ReconciliationPostponed", RetryClassification: RetrySlow}
+ ReasonPostReconcileFailure = Reason{Name: "PostReconciliationFailure", RetryClassification: RetrySlow}
+)
// ReasonFailed is a catch-all error code for when we don't have a more specific error classification
var ReasonFailed = Reason{Name: "Failed", RetryClassification: RetrySlow}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps/collector.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps/collector.go
index 554a9ff87b..8e242d60b9 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps/collector.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/configmaps/collector.go
@@ -67,7 +67,13 @@ func (c *Collector) errIfKeyExists(val *v1.ConfigMap, key string) error {
// been added going to the same config map (but with a different key) the new key is merged into the
// existing map.
func (c *Collector) AddValue(dest *genruntime.ConfigMapDestination, value string) {
- if dest == nil || value == "" {
+ if dest == nil {
+ return
+ }
+
+ if value == "" {
+ // A dest was provided, but we couldn't find the key to match. This is an error
+ c.errors = append(c.errors, errors.Errorf("could not find value to save to '%s'", dest.String()))
return
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/core/errors.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/core/errors.go
index d0ff8e2779..698e9c640d 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/core/errors.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/core/errors.go
@@ -92,8 +92,10 @@ func NewReferenceNotFoundError(name types.NamespacedName, cause error) *Referenc
}
}
-var _ error = &ReferenceNotFound{}
-var _ causer = &ReferenceNotFound{}
+var (
+ _ error = &ReferenceNotFound{}
+ _ causer = &ReferenceNotFound{}
+)
func (e *ReferenceNotFound) Error() string {
return fmt.Sprintf("%s does not exist (%s)", e.NamespacedName, e.cause)
@@ -128,8 +130,10 @@ func NewSecretNotFoundError(name types.NamespacedName, cause error) *SecretNotFo
}
}
-var _ error = &SecretNotFound{}
-var _ causer = &SecretNotFound{}
+var (
+ _ error = &SecretNotFound{}
+ _ causer = &SecretNotFound{}
+)
func (e *SecretNotFound) Error() string {
return fmt.Sprintf("%s does not exist (%s)", e.NamespacedName, e.cause)
@@ -164,8 +168,10 @@ func NewConfigMapNotFoundError(name types.NamespacedName, cause error) *ConfigMa
}
}
-var _ error = &ConfigMapNotFound{}
-var _ causer = &ConfigMapNotFound{}
+var (
+ _ error = &ConfigMapNotFound{}
+ _ causer = &ConfigMapNotFound{}
+)
func (e *ConfigMapNotFound) Error() string {
return fmt.Sprintf("%s does not exist (%s)", e.NamespacedName, e.cause)
@@ -207,8 +213,10 @@ func NewSubscriptionMismatchError(expectedSub string, actualSub string) *Subscri
}
}
-var _ error = &SubscriptionMismatch{}
-var _ causer = &SubscriptionMismatch{}
+var (
+ _ error = &SubscriptionMismatch{}
+ _ causer = &SubscriptionMismatch{}
+)
func (e *SubscriptionMismatch) Error() string {
return e.inner.Error()
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/enum.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/enum.go
new file mode 100644
index 0000000000..6e0fd0efb6
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/enum.go
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Microsoft Corporation.
+ * Licensed under the MIT license.
+ */
+
+package genruntime
+
+import "strings"
+
+// ToEnum does a case-insensitive conversion of a string to an enum using a provided conversion map.
+// If the required value is not found, a literal cast will be used to return the enum.
+func ToEnum[T ~string](str string, enumMap map[string]T) T {
+ if val, ok := enumMap[strings.ToLower(str)]; ok {
+ return val
+ }
+
+ return T(str)
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/kubernetes_resource.go b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/kubernetes_resource.go
index 782a01f396..a354798b72 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/kubernetes_resource.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/azure-service-operator/v2/pkg/genruntime/kubernetes_resource.go
@@ -19,7 +19,6 @@ type ARMOwned interface {
}
type SupportedResourceOperations interface {
-
// GetSupportedOperations gets the set of supported resource operations
GetSupportedOperations() []ResourceOperation
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/README.md b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/README.md
index b11eb07884..97434ea7f7 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/README.md
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/README.md
@@ -160,7 +160,7 @@ if (err == nil) {
```Go
certificatePath := "./example-app.pfx"
-certData, err := ioutil.ReadFile(certificatePath)
+certData, err := os.ReadFile(certificatePath)
if err != nil {
return nil, fmt.Errorf("failed to read the certificate file (%s): %v", certificatePath, err)
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/devicetoken.go b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/devicetoken.go
index 9daa4b58b8..f040e2ac6b 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/devicetoken.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/devicetoken.go
@@ -27,7 +27,7 @@ import (
"context"
"encoding/json"
"fmt"
- "io/ioutil"
+ "io"
"net/http"
"net/url"
"strings"
@@ -116,7 +116,7 @@ func InitiateDeviceAuthWithContext(ctx context.Context, sender Sender, oauthConf
}
s := v.Encode()
- body := ioutil.NopCloser(strings.NewReader(s))
+ body := io.NopCloser(strings.NewReader(s))
req, err := http.NewRequest(http.MethodPost, oauthConfig.DeviceCodeEndpoint.String(), body)
if err != nil {
@@ -131,7 +131,7 @@ func InitiateDeviceAuthWithContext(ctx context.Context, sender Sender, oauthConf
}
defer resp.Body.Close()
- rb, err := ioutil.ReadAll(resp.Body)
+ rb, err := io.ReadAll(resp.Body)
if err != nil {
return nil, fmt.Errorf("%s %s: %s", logPrefix, errCodeHandlingFails, err.Error())
}
@@ -175,7 +175,7 @@ func CheckForUserCompletionWithContext(ctx context.Context, sender Sender, code
}
s := v.Encode()
- body := ioutil.NopCloser(strings.NewReader(s))
+ body := io.NopCloser(strings.NewReader(s))
req, err := http.NewRequest(http.MethodPost, code.OAuthConfig.TokenEndpoint.String(), body)
if err != nil {
@@ -190,7 +190,7 @@ func CheckForUserCompletionWithContext(ctx context.Context, sender Sender, code
}
defer resp.Body.Close()
- rb, err := ioutil.ReadAll(resp.Body)
+ rb, err := io.ReadAll(resp.Body)
if err != nil {
return nil, fmt.Errorf("%s %s: %s", logPrefix, errTokenHandlingFails, err.Error())
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/persist.go b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/persist.go
index 2a974a39b3..fb54a43235 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/persist.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/persist.go
@@ -20,7 +20,6 @@ import (
"encoding/json"
"errors"
"fmt"
- "io/ioutil"
"os"
"path/filepath"
@@ -62,7 +61,7 @@ func SaveToken(path string, mode os.FileMode, token Token) error {
return fmt.Errorf("failed to create directory (%s) to store token in: %v", dir, err)
}
- newFile, err := ioutil.TempFile(dir, "token")
+ newFile, err := os.CreateTemp(dir, "token")
if err != nil {
return fmt.Errorf("failed to create the temp file to write the token: %v", err)
}
diff --git a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/token.go b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/token.go
index 2a24ab80cf..67baecd83f 100644
--- a/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/token.go
+++ b/cluster-api/providers/azure/vendor/github.com/Azure/go-autorest/autorest/adal/token.go
@@ -25,7 +25,6 @@ import (
"errors"
"fmt"
"io"
- "io/ioutil"
"math"
"net/http"
"net/url"
@@ -1061,7 +1060,7 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
} else if msiSecret.clientResourceID != "" {
data.Set("msi_res_id", msiSecret.clientResourceID)
}
- req.Body = ioutil.NopCloser(strings.NewReader(data.Encode()))
+ req.Body = io.NopCloser(strings.NewReader(data.Encode()))
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
break
case msiTypeIMDS:
@@ -1096,7 +1095,7 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
}
s := v.Encode()
- body := ioutil.NopCloser(strings.NewReader(s))
+ body := io.NopCloser(strings.NewReader(s))
req.ContentLength = int64(len(s))
req.Header.Set(contentType, mimeTypeFormPost)
req.Body = body
@@ -1113,7 +1112,7 @@ func (spt *ServicePrincipalToken) refreshInternal(ctx context.Context, resource
logger.Instance.WriteResponse(resp, logger.Filter{Body: authBodyFilter})
defer resp.Body.Close()
- rb, err := ioutil.ReadAll(resp.Body)
+ rb, err := io.ReadAll(resp.Body)
if resp.StatusCode != http.StatusOK {
if err != nil {
@@ -1235,7 +1234,7 @@ func retryForIMDS(sender Sender, req *http.Request, maxAttempts int) (resp *http
for attempt < maxAttempts {
if resp != nil && resp.Body != nil {
- io.Copy(ioutil.Discard, resp.Body)
+ io.Copy(io.Discard, resp.Body)
resp.Body.Close()
}
resp, err = sender.Do(req)
diff --git a/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/README.md b/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/README.md
index 16abdfc084..9433004a28 100644
--- a/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/README.md
+++ b/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/README.md
@@ -1,4 +1,4 @@
-# Exponential Backoff [![GoDoc][godoc image]][godoc] [![Build Status][travis image]][travis] [![Coverage Status][coveralls image]][coveralls]
+# Exponential Backoff [![GoDoc][godoc image]][godoc] [![Coverage Status][coveralls image]][coveralls]
This is a Go port of the exponential backoff algorithm from [Google's HTTP Client Library for Java][google-http-java-client].
@@ -21,8 +21,6 @@ Use https://pkg.go.dev/github.com/cenkalti/backoff/v4 to view the documentation.
[godoc]: https://pkg.go.dev/github.com/cenkalti/backoff/v4
[godoc image]: https://godoc.org/github.com/cenkalti/backoff?status.png
-[travis]: https://travis-ci.org/cenkalti/backoff
-[travis image]: https://travis-ci.org/cenkalti/backoff.png?branch=master
[coveralls]: https://coveralls.io/github/cenkalti/backoff?branch=master
[coveralls image]: https://coveralls.io/repos/github/cenkalti/backoff/badge.svg?branch=master
diff --git a/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/exponential.go b/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/exponential.go
index 2c56c1e718..aac99f196a 100644
--- a/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/exponential.go
+++ b/cluster-api/providers/azure/vendor/github.com/cenkalti/backoff/v4/exponential.go
@@ -71,6 +71,9 @@ type Clock interface {
Now() time.Time
}
+// ExponentialBackOffOpts is a function type used to configure ExponentialBackOff options.
+type ExponentialBackOffOpts func(*ExponentialBackOff)
+
// Default values for ExponentialBackOff.
const (
DefaultInitialInterval = 500 * time.Millisecond
@@ -81,7 +84,7 @@ const (
)
// NewExponentialBackOff creates an instance of ExponentialBackOff using default values.
-func NewExponentialBackOff() *ExponentialBackOff {
+func NewExponentialBackOff(opts ...ExponentialBackOffOpts) *ExponentialBackOff {
b := &ExponentialBackOff{
InitialInterval: DefaultInitialInterval,
RandomizationFactor: DefaultRandomizationFactor,
@@ -91,10 +94,62 @@ func NewExponentialBackOff() *ExponentialBackOff {
Stop: Stop,
Clock: SystemClock,
}
+ for _, fn := range opts {
+ fn(b)
+ }
b.Reset()
return b
}
+// WithInitialInterval sets the initial interval between retries.
+func WithInitialInterval(duration time.Duration) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.InitialInterval = duration
+ }
+}
+
+// WithRandomizationFactor sets the randomization factor to add jitter to intervals.
+func WithRandomizationFactor(randomizationFactor float64) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.RandomizationFactor = randomizationFactor
+ }
+}
+
+// WithMultiplier sets the multiplier for increasing the interval after each retry.
+func WithMultiplier(multiplier float64) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.Multiplier = multiplier
+ }
+}
+
+// WithMaxInterval sets the maximum interval between retries.
+func WithMaxInterval(duration time.Duration) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.MaxInterval = duration
+ }
+}
+
+// WithMaxElapsedTime sets the maximum total time for retries.
+func WithMaxElapsedTime(duration time.Duration) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.MaxElapsedTime = duration
+ }
+}
+
+// WithRetryStopDuration sets the duration after which retries should stop.
+func WithRetryStopDuration(duration time.Duration) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.Stop = duration
+ }
+}
+
+// WithClockProvider sets the clock used to measure time.
+func WithClockProvider(clock Clock) ExponentialBackOffOpts {
+ return func(ebo *ExponentialBackOff) {
+ ebo.Clock = clock
+ }
+}
+
type systemClock struct{}
func (t systemClock) Now() time.Time {
diff --git a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/README.md b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/README.md
index 8bf0e5b781..33c88305c4 100644
--- a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/README.md
+++ b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/README.md
@@ -70,3 +70,5 @@ benchstat <(go test -benchtime 500ms -count 15 -bench 'Sum64$')
- [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics)
- [FreeCache](https://github.com/coocood/freecache)
- [FastCache](https://github.com/VictoriaMetrics/fastcache)
+- [Ristretto](https://github.com/dgraph-io/ristretto)
+- [Badger](https://github.com/dgraph-io/badger)
diff --git a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash.go b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash.go
index a9e0d45c9d..78bddf1cee 100644
--- a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash.go
+++ b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash.go
@@ -19,10 +19,13 @@ const (
// Store the primes in an array as well.
//
// The consts are used when possible in Go code to avoid MOVs but we need a
-// contiguous array of the assembly code.
+// contiguous array for the assembly code.
var primes = [...]uint64{prime1, prime2, prime3, prime4, prime5}
// Digest implements hash.Hash64.
+//
+// Note that a zero-valued Digest is not ready to receive writes.
+// Call Reset or create a Digest using New before calling other methods.
type Digest struct {
v1 uint64
v2 uint64
@@ -33,19 +36,31 @@ type Digest struct {
n int // how much of mem is used
}
-// New creates a new Digest that computes the 64-bit xxHash algorithm.
+// New creates a new Digest with a zero seed.
func New() *Digest {
+ return NewWithSeed(0)
+}
+
+// NewWithSeed creates a new Digest with the given seed.
+func NewWithSeed(seed uint64) *Digest {
var d Digest
- d.Reset()
+ d.ResetWithSeed(seed)
return &d
}
// Reset clears the Digest's state so that it can be reused.
+// It uses a seed value of zero.
func (d *Digest) Reset() {
- d.v1 = primes[0] + prime2
- d.v2 = prime2
- d.v3 = 0
- d.v4 = -primes[0]
+ d.ResetWithSeed(0)
+}
+
+// ResetWithSeed clears the Digest's state so that it can be reused.
+// It uses the given seed to initialize the state.
+func (d *Digest) ResetWithSeed(seed uint64) {
+ d.v1 = seed + prime1 + prime2
+ d.v2 = seed + prime2
+ d.v3 = seed
+ d.v4 = seed - prime1
d.total = 0
d.n = 0
}
diff --git a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go
index 9216e0a40c..78f95f2561 100644
--- a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go
+++ b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_asm.go
@@ -6,7 +6,7 @@
package xxhash
-// Sum64 computes the 64-bit xxHash digest of b.
+// Sum64 computes the 64-bit xxHash digest of b with a zero seed.
//
//go:noescape
func Sum64(b []byte) uint64
diff --git a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_other.go b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_other.go
index 26df13bba4..118e49e819 100644
--- a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_other.go
+++ b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_other.go
@@ -3,7 +3,7 @@
package xxhash
-// Sum64 computes the 64-bit xxHash digest of b.
+// Sum64 computes the 64-bit xxHash digest of b with a zero seed.
func Sum64(b []byte) uint64 {
// A simpler version would be
// d := New()
diff --git a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go
index e86f1b5fd8..05f5e7dfe7 100644
--- a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go
+++ b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_safe.go
@@ -5,7 +5,7 @@
package xxhash
-// Sum64String computes the 64-bit xxHash digest of s.
+// Sum64String computes the 64-bit xxHash digest of s with a zero seed.
func Sum64String(s string) uint64 {
return Sum64([]byte(s))
}
diff --git a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
index 1c1638fd88..cf9d42aed5 100644
--- a/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
+++ b/cluster-api/providers/azure/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
@@ -33,7 +33,7 @@ import (
//
// See https://github.com/golang/go/issues/42739 for discussion.
-// Sum64String computes the 64-bit xxHash digest of s.
+// Sum64String computes the 64-bit xxHash digest of s with a zero seed.
// It may be faster than Sum64([]byte(s)) by avoiding a copy.
func Sum64String(s string) uint64 {
b := *(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)}))
diff --git a/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/CHANGES.md b/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/CHANGES.md
index 9e790390b6..92b78048e2 100644
--- a/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/CHANGES.md
+++ b/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/CHANGES.md
@@ -1,18 +1,24 @@
# Change history of go-restful
+## [v3.12.1] - 2024-05-28
+
+- fix misroute when dealing multiple webservice with regex (#549) (thanks Haitao Chen)
+
## [v3.12.0] - 2024-03-11
+
- add Flush method #529 (#538)
- fix: Improper handling of empty POST requests (#543)
## [v3.11.3] - 2024-01-09
+
- better not have 2 tags on one commit
## [v3.11.1, v3.11.2] - 2024-01-09
- fix by restoring custom JSON handler functions (Mike Beaumont #540)
-## [v3.11.0] - 2023-08-19
+## [v3.12.0] - 2023-08-19
- restored behavior as <= v3.9.0 with option to change path strategy using TrimRightSlashEnabled.
diff --git a/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/curly.go b/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/curly.go
index ba1fc5d5f1..6fd2bcd5a1 100644
--- a/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/curly.go
+++ b/cluster-api/providers/azure/vendor/github.com/emicklei/go-restful/v3/curly.go
@@ -46,10 +46,10 @@ func (c CurlyRouter) SelectRoute(
// selectRoutes return a collection of Route from a WebService that matches the path tokens from the request.
func (c CurlyRouter) selectRoutes(ws *WebService, requestTokens []string) sortableCurlyRoutes {
candidates := make(sortableCurlyRoutes, 0, 8)
- for _, each := range ws.routes {
- matches, paramCount, staticCount := c.matchesRouteByPathTokens(each.pathParts, requestTokens, each.hasCustomVerb)
+ for _, eachRoute := range ws.routes {
+ matches, paramCount, staticCount := c.matchesRouteByPathTokens(eachRoute.pathParts, requestTokens, eachRoute.hasCustomVerb)
if matches {
- candidates.add(curlyRoute{each, paramCount, staticCount}) // TODO make sure Routes() return pointers?
+ candidates.add(curlyRoute{eachRoute, paramCount, staticCount}) // TODO make sure Routes() return pointers?
}
}
sort.Sort(candidates)
@@ -72,7 +72,7 @@ func (c CurlyRouter) matchesRouteByPathTokens(routeTokens, requestTokens []strin
return false, 0, 0
}
requestToken := requestTokens[i]
- if routeHasCustomVerb && hasCustomVerb(routeToken){
+ if routeHasCustomVerb && hasCustomVerb(routeToken) {
if !isMatchCustomVerb(routeToken, requestToken) {
return false, 0, 0
}
@@ -129,44 +129,52 @@ func (c CurlyRouter) detectRoute(candidateRoutes sortableCurlyRoutes, httpReques
// detectWebService returns the best matching webService given the list of path tokens.
// see also computeWebserviceScore
func (c CurlyRouter) detectWebService(requestTokens []string, webServices []*WebService) *WebService {
- var best *WebService
+ var bestWs *WebService
score := -1
- for _, each := range webServices {
- matches, eachScore := c.computeWebserviceScore(requestTokens, each.pathExpr.tokens)
+ for _, eachWS := range webServices {
+ matches, eachScore := c.computeWebserviceScore(requestTokens, eachWS.pathExpr.tokens)
if matches && (eachScore > score) {
- best = each
+ bestWs = eachWS
score = eachScore
}
}
- return best
+ return bestWs
}
// computeWebserviceScore returns whether tokens match and
// the weighted score of the longest matching consecutive tokens from the beginning.
-func (c CurlyRouter) computeWebserviceScore(requestTokens []string, tokens []string) (bool, int) {
- if len(tokens) > len(requestTokens) {
+func (c CurlyRouter) computeWebserviceScore(requestTokens []string, routeTokens []string) (bool, int) {
+ if len(routeTokens) > len(requestTokens) {
return false, 0
}
score := 0
- for i := 0; i < len(tokens); i++ {
- each := requestTokens[i]
- other := tokens[i]
- if len(each) == 0 && len(other) == 0 {
+ for i := 0; i < len(routeTokens); i++ {
+ eachRequestToken := requestTokens[i]
+ eachRouteToken := routeTokens[i]
+ if len(eachRequestToken) == 0 && len(eachRouteToken) == 0 {
score++
continue
}
- if len(other) > 0 && strings.HasPrefix(other, "{") {
+ if len(eachRouteToken) > 0 && strings.HasPrefix(eachRouteToken, "{") {
// no empty match
- if len(each) == 0 {
+ if len(eachRequestToken) == 0 {
return false, score
}
- score += 1
+ score++
+
+ if colon := strings.Index(eachRouteToken, ":"); colon != -1 {
+ // match by regex
+ matchesToken, _ := c.regularMatchesPathToken(eachRouteToken, colon, eachRequestToken)
+ if matchesToken {
+ score++ // extra score for regex match
+ }
+ }
} else {
// not a parameter
- if each != other {
+ if eachRequestToken != eachRouteToken {
return false, score
}
- score += (len(tokens) - i) * 10 //fuzzy
+ score += (len(routeTokens) - i) * 10 //fuzzy
}
}
return true, score
diff --git a/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/.gitignore b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/.gitignore
new file mode 100644
index 0000000000..b7ed7f956d
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/.gitignore
@@ -0,0 +1,6 @@
+# editor and IDE paraphernalia
+.idea
+.vscode
+
+# macOS paraphernalia
+.DS_Store
diff --git a/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/LICENSE b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/LICENSE
new file mode 100644
index 0000000000..df76d7d771
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/LICENSE
@@ -0,0 +1,25 @@
+Copyright (c) 2014, Evan Phoenix
+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 the Evan Phoenix 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 OWNER 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-api/providers/azure/vendor/github.com/evanphx/json-patch/README.md b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/README.md
new file mode 100644
index 0000000000..97e319b21b
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/README.md
@@ -0,0 +1,317 @@
+# JSON-Patch
+`jsonpatch` is a library which provides functionality for both applying
+[RFC6902 JSON patches](http://tools.ietf.org/html/rfc6902) against documents, as
+well as for calculating & applying [RFC7396 JSON merge patches](https://tools.ietf.org/html/rfc7396).
+
+[](http://godoc.org/github.com/evanphx/json-patch)
+[](https://github.com/evanphx/json-patch/actions/workflows/go.yml)
+[](https://goreportcard.com/report/github.com/evanphx/json-patch)
+
+# Get It!
+
+**Latest and greatest**:
+```bash
+go get -u github.com/evanphx/json-patch/v5
+```
+
+**Stable Versions**:
+* Version 5: `go get -u gopkg.in/evanphx/json-patch.v5`
+* Version 4: `go get -u gopkg.in/evanphx/json-patch.v4`
+
+(previous versions below `v3` are unavailable)
+
+# Use It!
+* [Create and apply a merge patch](#create-and-apply-a-merge-patch)
+* [Create and apply a JSON Patch](#create-and-apply-a-json-patch)
+* [Comparing JSON documents](#comparing-json-documents)
+* [Combine merge patches](#combine-merge-patches)
+
+
+# Configuration
+
+* There is a global configuration variable `jsonpatch.SupportNegativeIndices`.
+ This defaults to `true` and enables the non-standard practice of allowing
+ negative indices to mean indices starting at the end of an array. This
+ functionality can be disabled by setting `jsonpatch.SupportNegativeIndices =
+ false`.
+
+* There is a global configuration variable `jsonpatch.AccumulatedCopySizeLimit`,
+ which limits the total size increase in bytes caused by "copy" operations in a
+ patch. It defaults to 0, which means there is no limit.
+
+These global variables control the behavior of `jsonpatch.Apply`.
+
+An alternative to `jsonpatch.Apply` is `jsonpatch.ApplyWithOptions` whose behavior
+is controlled by an `options` parameter of type `*jsonpatch.ApplyOptions`.
+
+Structure `jsonpatch.ApplyOptions` includes the configuration options above
+and adds two new options: `AllowMissingPathOnRemove` and `EnsurePathExistsOnAdd`.
+
+When `AllowMissingPathOnRemove` is set to `true`, `jsonpatch.ApplyWithOptions` will ignore
+`remove` operations whose `path` points to a non-existent location in the JSON document.
+`AllowMissingPathOnRemove` defaults to `false` which will lead to `jsonpatch.ApplyWithOptions`
+returning an error when hitting a missing `path` on `remove`.
+
+When `EnsurePathExistsOnAdd` is set to `true`, `jsonpatch.ApplyWithOptions` will make sure
+that `add` operations produce all the `path` elements that are missing from the target object.
+
+Use `jsonpatch.NewApplyOptions` to create an instance of `jsonpatch.ApplyOptions`
+whose values are populated from the global configuration variables.
+
+## Create and apply a merge patch
+Given both an original JSON document and a modified JSON document, you can create
+a [Merge Patch](https://tools.ietf.org/html/rfc7396) document.
+
+It can describe the changes needed to convert from the original to the
+modified JSON document.
+
+Once you have a merge patch, you can apply it to other JSON documents using the
+`jsonpatch.MergePatch(document, patch)` function.
+
+```go
+package main
+
+import (
+ "fmt"
+
+ jsonpatch "github.com/evanphx/json-patch"
+)
+
+func main() {
+ // Let's create a merge patch from these two documents...
+ original := []byte(`{"name": "John", "age": 24, "height": 3.21}`)
+ target := []byte(`{"name": "Jane", "age": 24}`)
+
+ patch, err := jsonpatch.CreateMergePatch(original, target)
+ if err != nil {
+ panic(err)
+ }
+
+ // Now lets apply the patch against a different JSON document...
+
+ alternative := []byte(`{"name": "Tina", "age": 28, "height": 3.75}`)
+ modifiedAlternative, err := jsonpatch.MergePatch(alternative, patch)
+
+ fmt.Printf("patch document: %s\n", patch)
+ fmt.Printf("updated alternative doc: %s\n", modifiedAlternative)
+}
+```
+
+When ran, you get the following output:
+
+```bash
+$ go run main.go
+patch document: {"height":null,"name":"Jane"}
+updated alternative doc: {"age":28,"name":"Jane"}
+```
+
+## Create and apply a JSON Patch
+You can create patch objects using `DecodePatch([]byte)`, which can then
+be applied against JSON documents.
+
+The following is an example of creating a patch from two operations, and
+applying it against a JSON document.
+
+```go
+package main
+
+import (
+ "fmt"
+
+ jsonpatch "github.com/evanphx/json-patch"
+)
+
+func main() {
+ original := []byte(`{"name": "John", "age": 24, "height": 3.21}`)
+ patchJSON := []byte(`[
+ {"op": "replace", "path": "/name", "value": "Jane"},
+ {"op": "remove", "path": "/height"}
+ ]`)
+
+ patch, err := jsonpatch.DecodePatch(patchJSON)
+ if err != nil {
+ panic(err)
+ }
+
+ modified, err := patch.Apply(original)
+ if err != nil {
+ panic(err)
+ }
+
+ fmt.Printf("Original document: %s\n", original)
+ fmt.Printf("Modified document: %s\n", modified)
+}
+```
+
+When ran, you get the following output:
+
+```bash
+$ go run main.go
+Original document: {"name": "John", "age": 24, "height": 3.21}
+Modified document: {"age":24,"name":"Jane"}
+```
+
+## Comparing JSON documents
+Due to potential whitespace and ordering differences, one cannot simply compare
+JSON strings or byte-arrays directly.
+
+As such, you can instead use `jsonpatch.Equal(document1, document2)` to
+determine if two JSON documents are _structurally_ equal. This ignores
+whitespace differences, and key-value ordering.
+
+```go
+package main
+
+import (
+ "fmt"
+
+ jsonpatch "github.com/evanphx/json-patch"
+)
+
+func main() {
+ original := []byte(`{"name": "John", "age": 24, "height": 3.21}`)
+ similar := []byte(`
+ {
+ "age": 24,
+ "height": 3.21,
+ "name": "John"
+ }
+ `)
+ different := []byte(`{"name": "Jane", "age": 20, "height": 3.37}`)
+
+ if jsonpatch.Equal(original, similar) {
+ fmt.Println(`"original" is structurally equal to "similar"`)
+ }
+
+ if !jsonpatch.Equal(original, different) {
+ fmt.Println(`"original" is _not_ structurally equal to "different"`)
+ }
+}
+```
+
+When ran, you get the following output:
+```bash
+$ go run main.go
+"original" is structurally equal to "similar"
+"original" is _not_ structurally equal to "different"
+```
+
+## Combine merge patches
+Given two JSON merge patch documents, it is possible to combine them into a
+single merge patch which can describe both set of changes.
+
+The resulting merge patch can be used such that applying it results in a
+document structurally similar as merging each merge patch to the document
+in succession.
+
+```go
+package main
+
+import (
+ "fmt"
+
+ jsonpatch "github.com/evanphx/json-patch"
+)
+
+func main() {
+ original := []byte(`{"name": "John", "age": 24, "height": 3.21}`)
+
+ nameAndHeight := []byte(`{"height":null,"name":"Jane"}`)
+ ageAndEyes := []byte(`{"age":4.23,"eyes":"blue"}`)
+
+ // Let's combine these merge patch documents...
+ combinedPatch, err := jsonpatch.MergeMergePatches(nameAndHeight, ageAndEyes)
+ if err != nil {
+ panic(err)
+ }
+
+ // Apply each patch individual against the original document
+ withoutCombinedPatch, err := jsonpatch.MergePatch(original, nameAndHeight)
+ if err != nil {
+ panic(err)
+ }
+
+ withoutCombinedPatch, err = jsonpatch.MergePatch(withoutCombinedPatch, ageAndEyes)
+ if err != nil {
+ panic(err)
+ }
+
+ // Apply the combined patch against the original document
+
+ withCombinedPatch, err := jsonpatch.MergePatch(original, combinedPatch)
+ if err != nil {
+ panic(err)
+ }
+
+ // Do both result in the same thing? They should!
+ if jsonpatch.Equal(withCombinedPatch, withoutCombinedPatch) {
+ fmt.Println("Both JSON documents are structurally the same!")
+ }
+
+ fmt.Printf("combined merge patch: %s", combinedPatch)
+}
+```
+
+When ran, you get the following output:
+```bash
+$ go run main.go
+Both JSON documents are structurally the same!
+combined merge patch: {"age":4.23,"eyes":"blue","height":null,"name":"Jane"}
+```
+
+# CLI for comparing JSON documents
+You can install the commandline program `json-patch`.
+
+This program can take multiple JSON patch documents as arguments,
+and fed a JSON document from `stdin`. It will apply the patch(es) against
+the document and output the modified doc.
+
+**patch.1.json**
+```json
+[
+ {"op": "replace", "path": "/name", "value": "Jane"},
+ {"op": "remove", "path": "/height"}
+]
+```
+
+**patch.2.json**
+```json
+[
+ {"op": "add", "path": "/address", "value": "123 Main St"},
+ {"op": "replace", "path": "/age", "value": "21"}
+]
+```
+
+**document.json**
+```json
+{
+ "name": "John",
+ "age": 24,
+ "height": 3.21
+}
+```
+
+You can then run:
+
+```bash
+$ go install github.com/evanphx/json-patch/cmd/json-patch
+$ cat document.json | json-patch -p patch.1.json -p patch.2.json
+{"address":"123 Main St","age":"21","name":"Jane"}
+```
+
+# Help It!
+Contributions are welcomed! Leave [an issue](https://github.com/evanphx/json-patch/issues)
+or [create a PR](https://github.com/evanphx/json-patch/compare).
+
+
+Before creating a pull request, we'd ask that you make sure tests are passing
+and that you have added new tests when applicable.
+
+Contributors can run tests using:
+
+```bash
+go test -cover ./...
+```
+
+Builds for pull requests are tested automatically
+using [GitHub Actions](https://github.com/evanphx/json-patch/actions/workflows/go.yml).
diff --git a/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/errors.go b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/errors.go
new file mode 100644
index 0000000000..75304b4437
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/errors.go
@@ -0,0 +1,38 @@
+package jsonpatch
+
+import "fmt"
+
+// AccumulatedCopySizeError is an error type returned when the accumulated size
+// increase caused by copy operations in a patch operation has exceeded the
+// limit.
+type AccumulatedCopySizeError struct {
+ limit int64
+ accumulated int64
+}
+
+// NewAccumulatedCopySizeError returns an AccumulatedCopySizeError.
+func NewAccumulatedCopySizeError(l, a int64) *AccumulatedCopySizeError {
+ return &AccumulatedCopySizeError{limit: l, accumulated: a}
+}
+
+// Error implements the error interface.
+func (a *AccumulatedCopySizeError) Error() string {
+ return fmt.Sprintf("Unable to complete the copy, the accumulated size increase of copy is %d, exceeding the limit %d", a.accumulated, a.limit)
+}
+
+// ArraySizeError is an error type returned when the array size has exceeded
+// the limit.
+type ArraySizeError struct {
+ limit int
+ size int
+}
+
+// NewArraySizeError returns an ArraySizeError.
+func NewArraySizeError(l, s int) *ArraySizeError {
+ return &ArraySizeError{limit: l, size: s}
+}
+
+// Error implements the error interface.
+func (a *ArraySizeError) Error() string {
+ return fmt.Sprintf("Unable to create array of size %d, limit is %d", a.size, a.limit)
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/merge.go b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/merge.go
new file mode 100644
index 0000000000..ad88d40181
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/merge.go
@@ -0,0 +1,389 @@
+package jsonpatch
+
+import (
+ "bytes"
+ "encoding/json"
+ "fmt"
+ "reflect"
+)
+
+func merge(cur, patch *lazyNode, mergeMerge bool) *lazyNode {
+ curDoc, err := cur.intoDoc()
+
+ if err != nil {
+ pruneNulls(patch)
+ return patch
+ }
+
+ patchDoc, err := patch.intoDoc()
+
+ if err != nil {
+ return patch
+ }
+
+ mergeDocs(curDoc, patchDoc, mergeMerge)
+
+ return cur
+}
+
+func mergeDocs(doc, patch *partialDoc, mergeMerge bool) {
+ for k, v := range *patch {
+ if v == nil {
+ if mergeMerge {
+ (*doc)[k] = nil
+ } else {
+ delete(*doc, k)
+ }
+ } else {
+ cur, ok := (*doc)[k]
+
+ if !ok || cur == nil {
+ if !mergeMerge {
+ pruneNulls(v)
+ }
+
+ (*doc)[k] = v
+ } else {
+ (*doc)[k] = merge(cur, v, mergeMerge)
+ }
+ }
+ }
+}
+
+func pruneNulls(n *lazyNode) {
+ sub, err := n.intoDoc()
+
+ if err == nil {
+ pruneDocNulls(sub)
+ } else {
+ ary, err := n.intoAry()
+
+ if err == nil {
+ pruneAryNulls(ary)
+ }
+ }
+}
+
+func pruneDocNulls(doc *partialDoc) *partialDoc {
+ for k, v := range *doc {
+ if v == nil {
+ delete(*doc, k)
+ } else {
+ pruneNulls(v)
+ }
+ }
+
+ return doc
+}
+
+func pruneAryNulls(ary *partialArray) *partialArray {
+ newAry := []*lazyNode{}
+
+ for _, v := range *ary {
+ if v != nil {
+ pruneNulls(v)
+ }
+ newAry = append(newAry, v)
+ }
+
+ *ary = newAry
+
+ return ary
+}
+
+var ErrBadJSONDoc = fmt.Errorf("Invalid JSON Document")
+var ErrBadJSONPatch = fmt.Errorf("Invalid JSON Patch")
+var errBadMergeTypes = fmt.Errorf("Mismatched JSON Documents")
+
+// MergeMergePatches merges two merge patches together, such that
+// applying this resulting merged merge patch to a document yields the same
+// as merging each merge patch to the document in succession.
+func MergeMergePatches(patch1Data, patch2Data []byte) ([]byte, error) {
+ return doMergePatch(patch1Data, patch2Data, true)
+}
+
+// MergePatch merges the patchData into the docData.
+func MergePatch(docData, patchData []byte) ([]byte, error) {
+ return doMergePatch(docData, patchData, false)
+}
+
+func doMergePatch(docData, patchData []byte, mergeMerge bool) ([]byte, error) {
+ doc := &partialDoc{}
+
+ docErr := json.Unmarshal(docData, doc)
+
+ patch := &partialDoc{}
+
+ patchErr := json.Unmarshal(patchData, patch)
+
+ if _, ok := docErr.(*json.SyntaxError); ok {
+ return nil, ErrBadJSONDoc
+ }
+
+ if _, ok := patchErr.(*json.SyntaxError); ok {
+ return nil, ErrBadJSONPatch
+ }
+
+ if docErr == nil && *doc == nil {
+ return nil, ErrBadJSONDoc
+ }
+
+ if patchErr == nil && *patch == nil {
+ return nil, ErrBadJSONPatch
+ }
+
+ if docErr != nil || patchErr != nil {
+ // Not an error, just not a doc, so we turn straight into the patch
+ if patchErr == nil {
+ if mergeMerge {
+ doc = patch
+ } else {
+ doc = pruneDocNulls(patch)
+ }
+ } else {
+ patchAry := &partialArray{}
+ patchErr = json.Unmarshal(patchData, patchAry)
+
+ if patchErr != nil {
+ return nil, ErrBadJSONPatch
+ }
+
+ pruneAryNulls(patchAry)
+
+ out, patchErr := json.Marshal(patchAry)
+
+ if patchErr != nil {
+ return nil, ErrBadJSONPatch
+ }
+
+ return out, nil
+ }
+ } else {
+ mergeDocs(doc, patch, mergeMerge)
+ }
+
+ return json.Marshal(doc)
+}
+
+// resemblesJSONArray indicates whether the byte-slice "appears" to be
+// a JSON array or not.
+// False-positives are possible, as this function does not check the internal
+// structure of the array. It only checks that the outer syntax is present and
+// correct.
+func resemblesJSONArray(input []byte) bool {
+ input = bytes.TrimSpace(input)
+
+ hasPrefix := bytes.HasPrefix(input, []byte("["))
+ hasSuffix := bytes.HasSuffix(input, []byte("]"))
+
+ return hasPrefix && hasSuffix
+}
+
+// CreateMergePatch will return a merge patch document capable of converting
+// the original document(s) to the modified document(s).
+// The parameters can be bytes of either two JSON Documents, or two arrays of
+// JSON documents.
+// The merge patch returned follows the specification defined at http://tools.ietf.org/html/draft-ietf-appsawg-json-merge-patch-07
+func CreateMergePatch(originalJSON, modifiedJSON []byte) ([]byte, error) {
+ originalResemblesArray := resemblesJSONArray(originalJSON)
+ modifiedResemblesArray := resemblesJSONArray(modifiedJSON)
+
+ // Do both byte-slices seem like JSON arrays?
+ if originalResemblesArray && modifiedResemblesArray {
+ return createArrayMergePatch(originalJSON, modifiedJSON)
+ }
+
+ // Are both byte-slices are not arrays? Then they are likely JSON objects...
+ if !originalResemblesArray && !modifiedResemblesArray {
+ return createObjectMergePatch(originalJSON, modifiedJSON)
+ }
+
+ // None of the above? Then return an error because of mismatched types.
+ return nil, errBadMergeTypes
+}
+
+// createObjectMergePatch will return a merge-patch document capable of
+// converting the original document to the modified document.
+func createObjectMergePatch(originalJSON, modifiedJSON []byte) ([]byte, error) {
+ originalDoc := map[string]interface{}{}
+ modifiedDoc := map[string]interface{}{}
+
+ err := json.Unmarshal(originalJSON, &originalDoc)
+ if err != nil {
+ return nil, ErrBadJSONDoc
+ }
+
+ err = json.Unmarshal(modifiedJSON, &modifiedDoc)
+ if err != nil {
+ return nil, ErrBadJSONDoc
+ }
+
+ dest, err := getDiff(originalDoc, modifiedDoc)
+ if err != nil {
+ return nil, err
+ }
+
+ return json.Marshal(dest)
+}
+
+// createArrayMergePatch will return an array of merge-patch documents capable
+// of converting the original document to the modified document for each
+// pair of JSON documents provided in the arrays.
+// Arrays of mismatched sizes will result in an error.
+func createArrayMergePatch(originalJSON, modifiedJSON []byte) ([]byte, error) {
+ originalDocs := []json.RawMessage{}
+ modifiedDocs := []json.RawMessage{}
+
+ err := json.Unmarshal(originalJSON, &originalDocs)
+ if err != nil {
+ return nil, ErrBadJSONDoc
+ }
+
+ err = json.Unmarshal(modifiedJSON, &modifiedDocs)
+ if err != nil {
+ return nil, ErrBadJSONDoc
+ }
+
+ total := len(originalDocs)
+ if len(modifiedDocs) != total {
+ return nil, ErrBadJSONDoc
+ }
+
+ result := []json.RawMessage{}
+ for i := 0; i < len(originalDocs); i++ {
+ original := originalDocs[i]
+ modified := modifiedDocs[i]
+
+ patch, err := createObjectMergePatch(original, modified)
+ if err != nil {
+ return nil, err
+ }
+
+ result = append(result, json.RawMessage(patch))
+ }
+
+ return json.Marshal(result)
+}
+
+// Returns true if the array matches (must be json types).
+// As is idiomatic for go, an empty array is not the same as a nil array.
+func matchesArray(a, b []interface{}) bool {
+ if len(a) != len(b) {
+ return false
+ }
+ if (a == nil && b != nil) || (a != nil && b == nil) {
+ return false
+ }
+ for i := range a {
+ if !matchesValue(a[i], b[i]) {
+ return false
+ }
+ }
+ return true
+}
+
+// Returns true if the values matches (must be json types)
+// The types of the values must match, otherwise it will always return false
+// If two map[string]interface{} are given, all elements must match.
+func matchesValue(av, bv interface{}) bool {
+ if reflect.TypeOf(av) != reflect.TypeOf(bv) {
+ return false
+ }
+ switch at := av.(type) {
+ case string:
+ bt := bv.(string)
+ if bt == at {
+ return true
+ }
+ case float64:
+ bt := bv.(float64)
+ if bt == at {
+ return true
+ }
+ case bool:
+ bt := bv.(bool)
+ if bt == at {
+ return true
+ }
+ case nil:
+ // Both nil, fine.
+ return true
+ case map[string]interface{}:
+ bt := bv.(map[string]interface{})
+ if len(bt) != len(at) {
+ return false
+ }
+ for key := range bt {
+ av, aOK := at[key]
+ bv, bOK := bt[key]
+ if aOK != bOK {
+ return false
+ }
+ if !matchesValue(av, bv) {
+ return false
+ }
+ }
+ return true
+ case []interface{}:
+ bt := bv.([]interface{})
+ return matchesArray(at, bt)
+ }
+ return false
+}
+
+// getDiff returns the (recursive) difference between a and b as a map[string]interface{}.
+func getDiff(a, b map[string]interface{}) (map[string]interface{}, error) {
+ into := map[string]interface{}{}
+ for key, bv := range b {
+ av, ok := a[key]
+ // value was added
+ if !ok {
+ into[key] = bv
+ continue
+ }
+ // If types have changed, replace completely
+ if reflect.TypeOf(av) != reflect.TypeOf(bv) {
+ into[key] = bv
+ continue
+ }
+ // Types are the same, compare values
+ switch at := av.(type) {
+ case map[string]interface{}:
+ bt := bv.(map[string]interface{})
+ dst := make(map[string]interface{}, len(bt))
+ dst, err := getDiff(at, bt)
+ if err != nil {
+ return nil, err
+ }
+ if len(dst) > 0 {
+ into[key] = dst
+ }
+ case string, float64, bool:
+ if !matchesValue(av, bv) {
+ into[key] = bv
+ }
+ case []interface{}:
+ bt := bv.([]interface{})
+ if !matchesArray(at, bt) {
+ into[key] = bv
+ }
+ case nil:
+ switch bv.(type) {
+ case nil:
+ // Both nil, fine.
+ default:
+ into[key] = bv
+ }
+ default:
+ panic(fmt.Sprintf("Unknown type:%T in key %s", av, key))
+ }
+ }
+ // Now add all deleted values as nil
+ for key := range a {
+ _, found := b[key]
+ if !found {
+ into[key] = nil
+ }
+ }
+ return into, nil
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/patch.go b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/patch.go
new file mode 100644
index 0000000000..cd0274e1e4
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/evanphx/json-patch/patch.go
@@ -0,0 +1,851 @@
+package jsonpatch
+
+import (
+ "bytes"
+ "encoding/json"
+ "fmt"
+ "strconv"
+ "strings"
+
+ "github.com/pkg/errors"
+)
+
+const (
+ eRaw = iota
+ eDoc
+ eAry
+)
+
+var (
+ // SupportNegativeIndices decides whether to support non-standard practice of
+ // allowing negative indices to mean indices starting at the end of an array.
+ // Default to true.
+ SupportNegativeIndices bool = true
+ // AccumulatedCopySizeLimit limits the total size increase in bytes caused by
+ // "copy" operations in a patch.
+ AccumulatedCopySizeLimit int64 = 0
+)
+
+var (
+ ErrTestFailed = errors.New("test failed")
+ ErrMissing = errors.New("missing value")
+ ErrUnknownType = errors.New("unknown object type")
+ ErrInvalid = errors.New("invalid state detected")
+ ErrInvalidIndex = errors.New("invalid index referenced")
+)
+
+type lazyNode struct {
+ raw *json.RawMessage
+ doc partialDoc
+ ary partialArray
+ which int
+}
+
+// Operation is a single JSON-Patch step, such as a single 'add' operation.
+type Operation map[string]*json.RawMessage
+
+// Patch is an ordered collection of Operations.
+type Patch []Operation
+
+type partialDoc map[string]*lazyNode
+type partialArray []*lazyNode
+
+type container interface {
+ get(key string) (*lazyNode, error)
+ set(key string, val *lazyNode) error
+ add(key string, val *lazyNode) error
+ remove(key string) error
+}
+
+func newLazyNode(raw *json.RawMessage) *lazyNode {
+ return &lazyNode{raw: raw, doc: nil, ary: nil, which: eRaw}
+}
+
+func (n *lazyNode) MarshalJSON() ([]byte, error) {
+ switch n.which {
+ case eRaw:
+ return json.Marshal(n.raw)
+ case eDoc:
+ return json.Marshal(n.doc)
+ case eAry:
+ return json.Marshal(n.ary)
+ default:
+ return nil, ErrUnknownType
+ }
+}
+
+func (n *lazyNode) UnmarshalJSON(data []byte) error {
+ dest := make(json.RawMessage, len(data))
+ copy(dest, data)
+ n.raw = &dest
+ n.which = eRaw
+ return nil
+}
+
+func deepCopy(src *lazyNode) (*lazyNode, int, error) {
+ if src == nil {
+ return nil, 0, nil
+ }
+ a, err := src.MarshalJSON()
+ if err != nil {
+ return nil, 0, err
+ }
+ sz := len(a)
+ ra := make(json.RawMessage, sz)
+ copy(ra, a)
+ return newLazyNode(&ra), sz, nil
+}
+
+func (n *lazyNode) intoDoc() (*partialDoc, error) {
+ if n.which == eDoc {
+ return &n.doc, nil
+ }
+
+ if n.raw == nil {
+ return nil, ErrInvalid
+ }
+
+ err := json.Unmarshal(*n.raw, &n.doc)
+
+ if err != nil {
+ return nil, err
+ }
+
+ n.which = eDoc
+ return &n.doc, nil
+}
+
+func (n *lazyNode) intoAry() (*partialArray, error) {
+ if n.which == eAry {
+ return &n.ary, nil
+ }
+
+ if n.raw == nil {
+ return nil, ErrInvalid
+ }
+
+ err := json.Unmarshal(*n.raw, &n.ary)
+
+ if err != nil {
+ return nil, err
+ }
+
+ n.which = eAry
+ return &n.ary, nil
+}
+
+func (n *lazyNode) compact() []byte {
+ buf := &bytes.Buffer{}
+
+ if n.raw == nil {
+ return nil
+ }
+
+ err := json.Compact(buf, *n.raw)
+
+ if err != nil {
+ return *n.raw
+ }
+
+ return buf.Bytes()
+}
+
+func (n *lazyNode) tryDoc() bool {
+ if n.raw == nil {
+ return false
+ }
+
+ err := json.Unmarshal(*n.raw, &n.doc)
+
+ if err != nil {
+ return false
+ }
+
+ n.which = eDoc
+ return true
+}
+
+func (n *lazyNode) tryAry() bool {
+ if n.raw == nil {
+ return false
+ }
+
+ err := json.Unmarshal(*n.raw, &n.ary)
+
+ if err != nil {
+ return false
+ }
+
+ n.which = eAry
+ return true
+}
+
+func (n *lazyNode) equal(o *lazyNode) bool {
+ if n.which == eRaw {
+ if !n.tryDoc() && !n.tryAry() {
+ if o.which != eRaw {
+ return false
+ }
+
+ return bytes.Equal(n.compact(), o.compact())
+ }
+ }
+
+ if n.which == eDoc {
+ if o.which == eRaw {
+ if !o.tryDoc() {
+ return false
+ }
+ }
+
+ if o.which != eDoc {
+ return false
+ }
+
+ if len(n.doc) != len(o.doc) {
+ return false
+ }
+
+ for k, v := range n.doc {
+ ov, ok := o.doc[k]
+
+ if !ok {
+ return false
+ }
+
+ if (v == nil) != (ov == nil) {
+ return false
+ }
+
+ if v == nil && ov == nil {
+ continue
+ }
+
+ if !v.equal(ov) {
+ return false
+ }
+ }
+
+ return true
+ }
+
+ if o.which != eAry && !o.tryAry() {
+ return false
+ }
+
+ if len(n.ary) != len(o.ary) {
+ return false
+ }
+
+ for idx, val := range n.ary {
+ if !val.equal(o.ary[idx]) {
+ return false
+ }
+ }
+
+ return true
+}
+
+// Kind reads the "op" field of the Operation.
+func (o Operation) Kind() string {
+ if obj, ok := o["op"]; ok && obj != nil {
+ var op string
+
+ err := json.Unmarshal(*obj, &op)
+
+ if err != nil {
+ return "unknown"
+ }
+
+ return op
+ }
+
+ return "unknown"
+}
+
+// Path reads the "path" field of the Operation.
+func (o Operation) Path() (string, error) {
+ if obj, ok := o["path"]; ok && obj != nil {
+ var op string
+
+ err := json.Unmarshal(*obj, &op)
+
+ if err != nil {
+ return "unknown", err
+ }
+
+ return op, nil
+ }
+
+ return "unknown", errors.Wrapf(ErrMissing, "operation missing path field")
+}
+
+// From reads the "from" field of the Operation.
+func (o Operation) From() (string, error) {
+ if obj, ok := o["from"]; ok && obj != nil {
+ var op string
+
+ err := json.Unmarshal(*obj, &op)
+
+ if err != nil {
+ return "unknown", err
+ }
+
+ return op, nil
+ }
+
+ return "unknown", errors.Wrapf(ErrMissing, "operation, missing from field")
+}
+
+func (o Operation) value() *lazyNode {
+ if obj, ok := o["value"]; ok {
+ return newLazyNode(obj)
+ }
+
+ return nil
+}
+
+// ValueInterface decodes the operation value into an interface.
+func (o Operation) ValueInterface() (interface{}, error) {
+ if obj, ok := o["value"]; ok && obj != nil {
+ var v interface{}
+
+ err := json.Unmarshal(*obj, &v)
+
+ if err != nil {
+ return nil, err
+ }
+
+ return v, nil
+ }
+
+ return nil, errors.Wrapf(ErrMissing, "operation, missing value field")
+}
+
+func isArray(buf []byte) bool {
+Loop:
+ for _, c := range buf {
+ switch c {
+ case ' ':
+ case '\n':
+ case '\t':
+ continue
+ case '[':
+ return true
+ default:
+ break Loop
+ }
+ }
+
+ return false
+}
+
+func findObject(pd *container, path string) (container, string) {
+ doc := *pd
+
+ split := strings.Split(path, "/")
+
+ if len(split) < 2 {
+ return nil, ""
+ }
+
+ parts := split[1 : len(split)-1]
+
+ key := split[len(split)-1]
+
+ var err error
+
+ for _, part := range parts {
+
+ next, ok := doc.get(decodePatchKey(part))
+
+ if next == nil || ok != nil || next.raw == nil {
+ return nil, ""
+ }
+
+ if isArray(*next.raw) {
+ doc, err = next.intoAry()
+
+ if err != nil {
+ return nil, ""
+ }
+ } else {
+ doc, err = next.intoDoc()
+
+ if err != nil {
+ return nil, ""
+ }
+ }
+ }
+
+ return doc, decodePatchKey(key)
+}
+
+func (d *partialDoc) set(key string, val *lazyNode) error {
+ (*d)[key] = val
+ return nil
+}
+
+func (d *partialDoc) add(key string, val *lazyNode) error {
+ (*d)[key] = val
+ return nil
+}
+
+func (d *partialDoc) get(key string) (*lazyNode, error) {
+ return (*d)[key], nil
+}
+
+func (d *partialDoc) remove(key string) error {
+ _, ok := (*d)[key]
+ if !ok {
+ return errors.Wrapf(ErrMissing, "Unable to remove nonexistent key: %s", key)
+ }
+
+ delete(*d, key)
+ return nil
+}
+
+// set should only be used to implement the "replace" operation, so "key" must
+// be an already existing index in "d".
+func (d *partialArray) set(key string, val *lazyNode) error {
+ idx, err := strconv.Atoi(key)
+ if err != nil {
+ return err
+ }
+
+ if idx < 0 {
+ if !SupportNegativeIndices {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ if idx < -len(*d) {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ idx += len(*d)
+ }
+
+ (*d)[idx] = val
+ return nil
+}
+
+func (d *partialArray) add(key string, val *lazyNode) error {
+ if key == "-" {
+ *d = append(*d, val)
+ return nil
+ }
+
+ idx, err := strconv.Atoi(key)
+ if err != nil {
+ return errors.Wrapf(err, "value was not a proper array index: '%s'", key)
+ }
+
+ sz := len(*d) + 1
+
+ ary := make([]*lazyNode, sz)
+
+ cur := *d
+
+ if idx >= len(ary) {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+
+ if idx < 0 {
+ if !SupportNegativeIndices {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ if idx < -len(ary) {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ idx += len(ary)
+ }
+
+ copy(ary[0:idx], cur[0:idx])
+ ary[idx] = val
+ copy(ary[idx+1:], cur[idx:])
+
+ *d = ary
+ return nil
+}
+
+func (d *partialArray) get(key string) (*lazyNode, error) {
+ idx, err := strconv.Atoi(key)
+
+ if err != nil {
+ return nil, err
+ }
+
+ if idx < 0 {
+ if !SupportNegativeIndices {
+ return nil, errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ if idx < -len(*d) {
+ return nil, errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ idx += len(*d)
+ }
+
+ if idx >= len(*d) {
+ return nil, errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+
+ return (*d)[idx], nil
+}
+
+func (d *partialArray) remove(key string) error {
+ idx, err := strconv.Atoi(key)
+ if err != nil {
+ return err
+ }
+
+ cur := *d
+
+ if idx >= len(cur) {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+
+ if idx < 0 {
+ if !SupportNegativeIndices {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ if idx < -len(cur) {
+ return errors.Wrapf(ErrInvalidIndex, "Unable to access invalid index: %d", idx)
+ }
+ idx += len(cur)
+ }
+
+ ary := make([]*lazyNode, len(cur)-1)
+
+ copy(ary[0:idx], cur[0:idx])
+ copy(ary[idx:], cur[idx+1:])
+
+ *d = ary
+ return nil
+
+}
+
+func (p Patch) add(doc *container, op Operation) error {
+ path, err := op.Path()
+ if err != nil {
+ return errors.Wrapf(ErrMissing, "add operation failed to decode path")
+ }
+
+ con, key := findObject(doc, path)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "add operation does not apply: doc is missing path: \"%s\"", path)
+ }
+
+ err = con.add(key, op.value())
+ if err != nil {
+ return errors.Wrapf(err, "error in add for path: '%s'", path)
+ }
+
+ return nil
+}
+
+func (p Patch) remove(doc *container, op Operation) error {
+ path, err := op.Path()
+ if err != nil {
+ return errors.Wrapf(ErrMissing, "remove operation failed to decode path")
+ }
+
+ con, key := findObject(doc, path)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "remove operation does not apply: doc is missing path: \"%s\"", path)
+ }
+
+ err = con.remove(key)
+ if err != nil {
+ return errors.Wrapf(err, "error in remove for path: '%s'", path)
+ }
+
+ return nil
+}
+
+func (p Patch) replace(doc *container, op Operation) error {
+ path, err := op.Path()
+ if err != nil {
+ return errors.Wrapf(err, "replace operation failed to decode path")
+ }
+
+ if path == "" {
+ val := op.value()
+
+ if val.which == eRaw {
+ if !val.tryDoc() {
+ if !val.tryAry() {
+ return errors.Wrapf(err, "replace operation value must be object or array")
+ }
+ }
+ }
+
+ switch val.which {
+ case eAry:
+ *doc = &val.ary
+ case eDoc:
+ *doc = &val.doc
+ case eRaw:
+ return errors.Wrapf(err, "replace operation hit impossible case")
+ }
+
+ return nil
+ }
+
+ con, key := findObject(doc, path)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "replace operation does not apply: doc is missing path: %s", path)
+ }
+
+ _, ok := con.get(key)
+ if ok != nil {
+ return errors.Wrapf(ErrMissing, "replace operation does not apply: doc is missing key: %s", path)
+ }
+
+ err = con.set(key, op.value())
+ if err != nil {
+ return errors.Wrapf(err, "error in remove for path: '%s'", path)
+ }
+
+ return nil
+}
+
+func (p Patch) move(doc *container, op Operation) error {
+ from, err := op.From()
+ if err != nil {
+ return errors.Wrapf(err, "move operation failed to decode from")
+ }
+
+ con, key := findObject(doc, from)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "move operation does not apply: doc is missing from path: %s", from)
+ }
+
+ val, err := con.get(key)
+ if err != nil {
+ return errors.Wrapf(err, "error in move for path: '%s'", key)
+ }
+
+ err = con.remove(key)
+ if err != nil {
+ return errors.Wrapf(err, "error in move for path: '%s'", key)
+ }
+
+ path, err := op.Path()
+ if err != nil {
+ return errors.Wrapf(err, "move operation failed to decode path")
+ }
+
+ con, key = findObject(doc, path)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "move operation does not apply: doc is missing destination path: %s", path)
+ }
+
+ err = con.add(key, val)
+ if err != nil {
+ return errors.Wrapf(err, "error in move for path: '%s'", path)
+ }
+
+ return nil
+}
+
+func (p Patch) test(doc *container, op Operation) error {
+ path, err := op.Path()
+ if err != nil {
+ return errors.Wrapf(err, "test operation failed to decode path")
+ }
+
+ if path == "" {
+ var self lazyNode
+
+ switch sv := (*doc).(type) {
+ case *partialDoc:
+ self.doc = *sv
+ self.which = eDoc
+ case *partialArray:
+ self.ary = *sv
+ self.which = eAry
+ }
+
+ if self.equal(op.value()) {
+ return nil
+ }
+
+ return errors.Wrapf(ErrTestFailed, "testing value %s failed", path)
+ }
+
+ con, key := findObject(doc, path)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "test operation does not apply: is missing path: %s", path)
+ }
+
+ val, err := con.get(key)
+ if err != nil {
+ return errors.Wrapf(err, "error in test for path: '%s'", path)
+ }
+
+ if val == nil {
+ if op.value() == nil || op.value().raw == nil {
+ return nil
+ }
+ return errors.Wrapf(ErrTestFailed, "testing value %s failed", path)
+ } else if op.value() == nil {
+ return errors.Wrapf(ErrTestFailed, "testing value %s failed", path)
+ }
+
+ if val.equal(op.value()) {
+ return nil
+ }
+
+ return errors.Wrapf(ErrTestFailed, "testing value %s failed", path)
+}
+
+func (p Patch) copy(doc *container, op Operation, accumulatedCopySize *int64) error {
+ from, err := op.From()
+ if err != nil {
+ return errors.Wrapf(err, "copy operation failed to decode from")
+ }
+
+ con, key := findObject(doc, from)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "copy operation does not apply: doc is missing from path: %s", from)
+ }
+
+ val, err := con.get(key)
+ if err != nil {
+ return errors.Wrapf(err, "error in copy for from: '%s'", from)
+ }
+
+ path, err := op.Path()
+ if err != nil {
+ return errors.Wrapf(ErrMissing, "copy operation failed to decode path")
+ }
+
+ con, key = findObject(doc, path)
+
+ if con == nil {
+ return errors.Wrapf(ErrMissing, "copy operation does not apply: doc is missing destination path: %s", path)
+ }
+
+ valCopy, sz, err := deepCopy(val)
+ if err != nil {
+ return errors.Wrapf(err, "error while performing deep copy")
+ }
+
+ (*accumulatedCopySize) += int64(sz)
+ if AccumulatedCopySizeLimit > 0 && *accumulatedCopySize > AccumulatedCopySizeLimit {
+ return NewAccumulatedCopySizeError(AccumulatedCopySizeLimit, *accumulatedCopySize)
+ }
+
+ err = con.add(key, valCopy)
+ if err != nil {
+ return errors.Wrapf(err, "error while adding value during copy")
+ }
+
+ return nil
+}
+
+// Equal indicates if 2 JSON documents have the same structural equality.
+func Equal(a, b []byte) bool {
+ ra := make(json.RawMessage, len(a))
+ copy(ra, a)
+ la := newLazyNode(&ra)
+
+ rb := make(json.RawMessage, len(b))
+ copy(rb, b)
+ lb := newLazyNode(&rb)
+
+ return la.equal(lb)
+}
+
+// DecodePatch decodes the passed JSON document as an RFC 6902 patch.
+func DecodePatch(buf []byte) (Patch, error) {
+ var p Patch
+
+ err := json.Unmarshal(buf, &p)
+
+ if err != nil {
+ return nil, err
+ }
+
+ return p, nil
+}
+
+// Apply mutates a JSON document according to the patch, and returns the new
+// document.
+func (p Patch) Apply(doc []byte) ([]byte, error) {
+ return p.ApplyIndent(doc, "")
+}
+
+// ApplyIndent mutates a JSON document according to the patch, and returns the new
+// document indented.
+func (p Patch) ApplyIndent(doc []byte, indent string) ([]byte, error) {
+ if len(doc) == 0 {
+ return doc, nil
+ }
+
+ var pd container
+ if doc[0] == '[' {
+ pd = &partialArray{}
+ } else {
+ pd = &partialDoc{}
+ }
+
+ err := json.Unmarshal(doc, pd)
+
+ if err != nil {
+ return nil, err
+ }
+
+ err = nil
+
+ var accumulatedCopySize int64
+
+ for _, op := range p {
+ switch op.Kind() {
+ case "add":
+ err = p.add(&pd, op)
+ case "remove":
+ err = p.remove(&pd, op)
+ case "replace":
+ err = p.replace(&pd, op)
+ case "move":
+ err = p.move(&pd, op)
+ case "test":
+ err = p.test(&pd, op)
+ case "copy":
+ err = p.copy(&pd, op, &accumulatedCopySize)
+ default:
+ err = fmt.Errorf("Unexpected kind: %s", op.Kind())
+ }
+
+ if err != nil {
+ return nil, err
+ }
+ }
+
+ if indent != "" {
+ return json.MarshalIndent(pd, "", indent)
+ }
+
+ return json.Marshal(pd)
+}
+
+// From http://tools.ietf.org/html/rfc6901#section-4 :
+//
+// Evaluation of each reference token begins by decoding any escaped
+// character sequence. This is performed by first transforming any
+// occurrence of the sequence '~1' to '/', and then transforming any
+// occurrence of the sequence '~0' to '~'.
+
+var (
+ rfc6901Decoder = strings.NewReplacer("~1", "/", "~0", "~")
+)
+
+func decodePatchKey(k string) string {
+ return rfc6901Decoder.Replace(k)
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/go-openapi/jsonpointer/pointer.go b/cluster-api/providers/azure/vendor/github.com/go-openapi/jsonpointer/pointer.go
index d975773d49..d970c7cf44 100644
--- a/cluster-api/providers/azure/vendor/github.com/go-openapi/jsonpointer/pointer.go
+++ b/cluster-api/providers/azure/vendor/github.com/go-openapi/jsonpointer/pointer.go
@@ -264,7 +264,7 @@ func (p *Pointer) set(node, data any, nameProvider *swag.NameProvider) error {
knd := reflect.ValueOf(node).Kind()
if knd != reflect.Ptr && knd != reflect.Struct && knd != reflect.Map && knd != reflect.Slice && knd != reflect.Array {
- return fmt.Errorf("only structs, pointers, maps and slices are supported for setting values")
+ return errors.New("only structs, pointers, maps and slices are supported for setting values")
}
if nameProvider == nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/initialism_index.go b/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/initialism_index.go
index 2b2e463107..20a359bb60 100644
--- a/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/initialism_index.go
+++ b/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/initialism_index.go
@@ -176,7 +176,7 @@ func (m *indexOfInitialisms) add(key string) *indexOfInitialisms {
func (m *indexOfInitialisms) sorted() (result []string) {
m.sortMutex.Lock()
defer m.sortMutex.Unlock()
- m.index.Range(func(key, value interface{}) bool {
+ m.index.Range(func(key, _ interface{}) bool {
k := key.(string)
result = append(result, k)
return true
diff --git a/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/string_bytes.go b/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/string_bytes.go
index c52d6bf719..90745d5ca9 100644
--- a/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/string_bytes.go
+++ b/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/string_bytes.go
@@ -2,21 +2,7 @@ package swag
import "unsafe"
-type internalString struct {
- Data unsafe.Pointer
- Len int
-}
-
// hackStringBytes returns the (unsafe) underlying bytes slice of a string.
-func hackStringBytes(str string) []byte {
- p := (*internalString)(unsafe.Pointer(&str)).Data
- return unsafe.Slice((*byte)(p), len(str))
-}
-
-/*
- * go1.20 version (for when go mod moves to a go1.20 requirement):
-
func hackStringBytes(str string) []byte {
return unsafe.Slice(unsafe.StringData(str), len(str))
}
-*/
diff --git a/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/yaml.go b/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/yaml.go
index a8c4e359ea..f59e025932 100644
--- a/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/yaml.go
+++ b/cluster-api/providers/azure/vendor/github.com/go-openapi/swag/yaml.go
@@ -16,6 +16,7 @@ package swag
import (
"encoding/json"
+ "errors"
"fmt"
"path/filepath"
"reflect"
@@ -50,7 +51,7 @@ func BytesToYAMLDoc(data []byte) (interface{}, error) {
return nil, err
}
if document.Kind != yaml.DocumentNode || len(document.Content) != 1 || document.Content[0].Kind != yaml.MappingNode {
- return nil, fmt.Errorf("only YAML documents that are objects are supported")
+ return nil, errors.New("only YAML documents that are objects are supported")
}
return &document, nil
}
diff --git a/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/decode.go b/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/decode.go
deleted file mode 100644
index c6f66f1039..0000000000
--- a/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/decode.go
+++ /dev/null
@@ -1,531 +0,0 @@
-// Copyright 2015 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.
-
-package jsonpb
-
-import (
- "encoding/json"
- "errors"
- "fmt"
- "io"
- "math"
- "reflect"
- "strconv"
- "strings"
- "time"
-
- "github.com/golang/protobuf/proto"
- "google.golang.org/protobuf/encoding/protojson"
- protoV2 "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
-)
-
-const wrapJSONUnmarshalV2 = false
-
-// UnmarshalNext unmarshals the next JSON object from d into m.
-func UnmarshalNext(d *json.Decoder, m proto.Message) error {
- return new(Unmarshaler).UnmarshalNext(d, m)
-}
-
-// Unmarshal unmarshals a JSON object from r into m.
-func Unmarshal(r io.Reader, m proto.Message) error {
- return new(Unmarshaler).Unmarshal(r, m)
-}
-
-// UnmarshalString unmarshals a JSON object from s into m.
-func UnmarshalString(s string, m proto.Message) error {
- return new(Unmarshaler).Unmarshal(strings.NewReader(s), m)
-}
-
-// Unmarshaler is a configurable object for converting from a JSON
-// representation to a protocol buffer object.
-type Unmarshaler struct {
- // AllowUnknownFields specifies whether to allow messages to contain
- // unknown JSON fields, as opposed to failing to unmarshal.
- AllowUnknownFields bool
-
- // AnyResolver is used to resolve the google.protobuf.Any well-known type.
- // If unset, the global registry is used by default.
- AnyResolver AnyResolver
-}
-
-// JSONPBUnmarshaler is implemented by protobuf messages that customize the way
-// they are unmarshaled from JSON. Messages that implement this should also
-// implement JSONPBMarshaler so that the custom format can be produced.
-//
-// The JSON unmarshaling must follow the JSON to proto specification:
-//
-// https://developers.google.com/protocol-buffers/docs/proto3#json
-//
-// Deprecated: Custom types should implement protobuf reflection instead.
-type JSONPBUnmarshaler interface {
- UnmarshalJSONPB(*Unmarshaler, []byte) error
-}
-
-// Unmarshal unmarshals a JSON object from r into m.
-func (u *Unmarshaler) Unmarshal(r io.Reader, m proto.Message) error {
- return u.UnmarshalNext(json.NewDecoder(r), m)
-}
-
-// UnmarshalNext unmarshals the next JSON object from d into m.
-func (u *Unmarshaler) UnmarshalNext(d *json.Decoder, m proto.Message) error {
- if m == nil {
- return errors.New("invalid nil message")
- }
-
- // Parse the next JSON object from the stream.
- raw := json.RawMessage{}
- if err := d.Decode(&raw); err != nil {
- return err
- }
-
- // Check for custom unmarshalers first since they may not properly
- // implement protobuf reflection that the logic below relies on.
- if jsu, ok := m.(JSONPBUnmarshaler); ok {
- return jsu.UnmarshalJSONPB(u, raw)
- }
-
- mr := proto.MessageReflect(m)
-
- // NOTE: For historical reasons, a top-level null is treated as a noop.
- // This is incorrect, but kept for compatibility.
- if string(raw) == "null" && mr.Descriptor().FullName() != "google.protobuf.Value" {
- return nil
- }
-
- if wrapJSONUnmarshalV2 {
- // NOTE: If input message is non-empty, we need to preserve merge semantics
- // of the old jsonpb implementation. These semantics are not supported by
- // the protobuf JSON specification.
- isEmpty := true
- mr.Range(func(protoreflect.FieldDescriptor, protoreflect.Value) bool {
- isEmpty = false // at least one iteration implies non-empty
- return false
- })
- if !isEmpty {
- // Perform unmarshaling into a newly allocated, empty message.
- mr = mr.New()
-
- // Use a defer to copy all unmarshaled fields into the original message.
- dst := proto.MessageReflect(m)
- defer mr.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool {
- dst.Set(fd, v)
- return true
- })
- }
-
- // Unmarshal using the v2 JSON unmarshaler.
- opts := protojson.UnmarshalOptions{
- DiscardUnknown: u.AllowUnknownFields,
- }
- if u.AnyResolver != nil {
- opts.Resolver = anyResolver{u.AnyResolver}
- }
- return opts.Unmarshal(raw, mr.Interface())
- } else {
- if err := u.unmarshalMessage(mr, raw); err != nil {
- return err
- }
- return protoV2.CheckInitialized(mr.Interface())
- }
-}
-
-func (u *Unmarshaler) unmarshalMessage(m protoreflect.Message, in []byte) error {
- md := m.Descriptor()
- fds := md.Fields()
-
- if jsu, ok := proto.MessageV1(m.Interface()).(JSONPBUnmarshaler); ok {
- return jsu.UnmarshalJSONPB(u, in)
- }
-
- if string(in) == "null" && md.FullName() != "google.protobuf.Value" {
- return nil
- }
-
- switch wellKnownType(md.FullName()) {
- case "Any":
- var jsonObject map[string]json.RawMessage
- if err := json.Unmarshal(in, &jsonObject); err != nil {
- return err
- }
-
- rawTypeURL, ok := jsonObject["@type"]
- if !ok {
- return errors.New("Any JSON doesn't have '@type'")
- }
- typeURL, err := unquoteString(string(rawTypeURL))
- if err != nil {
- return fmt.Errorf("can't unmarshal Any's '@type': %q", rawTypeURL)
- }
- m.Set(fds.ByNumber(1), protoreflect.ValueOfString(typeURL))
-
- var m2 protoreflect.Message
- if u.AnyResolver != nil {
- mi, err := u.AnyResolver.Resolve(typeURL)
- if err != nil {
- return err
- }
- m2 = proto.MessageReflect(mi)
- } else {
- mt, err := protoregistry.GlobalTypes.FindMessageByURL(typeURL)
- if err != nil {
- if err == protoregistry.NotFound {
- return fmt.Errorf("could not resolve Any message type: %v", typeURL)
- }
- return err
- }
- m2 = mt.New()
- }
-
- if wellKnownType(m2.Descriptor().FullName()) != "" {
- rawValue, ok := jsonObject["value"]
- if !ok {
- return errors.New("Any JSON doesn't have 'value'")
- }
- if err := u.unmarshalMessage(m2, rawValue); err != nil {
- return fmt.Errorf("can't unmarshal Any nested proto %v: %v", typeURL, err)
- }
- } else {
- delete(jsonObject, "@type")
- rawJSON, err := json.Marshal(jsonObject)
- if err != nil {
- return fmt.Errorf("can't generate JSON for Any's nested proto to be unmarshaled: %v", err)
- }
- if err = u.unmarshalMessage(m2, rawJSON); err != nil {
- return fmt.Errorf("can't unmarshal Any nested proto %v: %v", typeURL, err)
- }
- }
-
- rawWire, err := protoV2.Marshal(m2.Interface())
- if err != nil {
- return fmt.Errorf("can't marshal proto %v into Any.Value: %v", typeURL, err)
- }
- m.Set(fds.ByNumber(2), protoreflect.ValueOfBytes(rawWire))
- return nil
- case "BoolValue", "BytesValue", "StringValue",
- "Int32Value", "UInt32Value", "FloatValue",
- "Int64Value", "UInt64Value", "DoubleValue":
- fd := fds.ByNumber(1)
- v, err := u.unmarshalValue(m.NewField(fd), in, fd)
- if err != nil {
- return err
- }
- m.Set(fd, v)
- return nil
- case "Duration":
- v, err := unquoteString(string(in))
- if err != nil {
- return err
- }
- d, err := time.ParseDuration(v)
- if err != nil {
- return fmt.Errorf("bad Duration: %v", err)
- }
-
- sec := d.Nanoseconds() / 1e9
- nsec := d.Nanoseconds() % 1e9
- m.Set(fds.ByNumber(1), protoreflect.ValueOfInt64(int64(sec)))
- m.Set(fds.ByNumber(2), protoreflect.ValueOfInt32(int32(nsec)))
- return nil
- case "Timestamp":
- v, err := unquoteString(string(in))
- if err != nil {
- return err
- }
- t, err := time.Parse(time.RFC3339Nano, v)
- if err != nil {
- return fmt.Errorf("bad Timestamp: %v", err)
- }
-
- sec := t.Unix()
- nsec := t.Nanosecond()
- m.Set(fds.ByNumber(1), protoreflect.ValueOfInt64(int64(sec)))
- m.Set(fds.ByNumber(2), protoreflect.ValueOfInt32(int32(nsec)))
- return nil
- case "Value":
- switch {
- case string(in) == "null":
- m.Set(fds.ByNumber(1), protoreflect.ValueOfEnum(0))
- case string(in) == "true":
- m.Set(fds.ByNumber(4), protoreflect.ValueOfBool(true))
- case string(in) == "false":
- m.Set(fds.ByNumber(4), protoreflect.ValueOfBool(false))
- case hasPrefixAndSuffix('"', in, '"'):
- s, err := unquoteString(string(in))
- if err != nil {
- return fmt.Errorf("unrecognized type for Value %q", in)
- }
- m.Set(fds.ByNumber(3), protoreflect.ValueOfString(s))
- case hasPrefixAndSuffix('[', in, ']'):
- v := m.Mutable(fds.ByNumber(6))
- return u.unmarshalMessage(v.Message(), in)
- case hasPrefixAndSuffix('{', in, '}'):
- v := m.Mutable(fds.ByNumber(5))
- return u.unmarshalMessage(v.Message(), in)
- default:
- f, err := strconv.ParseFloat(string(in), 0)
- if err != nil {
- return fmt.Errorf("unrecognized type for Value %q", in)
- }
- m.Set(fds.ByNumber(2), protoreflect.ValueOfFloat64(f))
- }
- return nil
- case "ListValue":
- var jsonArray []json.RawMessage
- if err := json.Unmarshal(in, &jsonArray); err != nil {
- return fmt.Errorf("bad ListValue: %v", err)
- }
-
- lv := m.Mutable(fds.ByNumber(1)).List()
- for _, raw := range jsonArray {
- ve := lv.NewElement()
- if err := u.unmarshalMessage(ve.Message(), raw); err != nil {
- return err
- }
- lv.Append(ve)
- }
- return nil
- case "Struct":
- var jsonObject map[string]json.RawMessage
- if err := json.Unmarshal(in, &jsonObject); err != nil {
- return fmt.Errorf("bad StructValue: %v", err)
- }
-
- mv := m.Mutable(fds.ByNumber(1)).Map()
- for key, raw := range jsonObject {
- kv := protoreflect.ValueOf(key).MapKey()
- vv := mv.NewValue()
- if err := u.unmarshalMessage(vv.Message(), raw); err != nil {
- return fmt.Errorf("bad value in StructValue for key %q: %v", key, err)
- }
- mv.Set(kv, vv)
- }
- return nil
- }
-
- var jsonObject map[string]json.RawMessage
- if err := json.Unmarshal(in, &jsonObject); err != nil {
- return err
- }
-
- // Handle known fields.
- for i := 0; i < fds.Len(); i++ {
- fd := fds.Get(i)
- if fd.IsWeak() && fd.Message().IsPlaceholder() {
- continue // weak reference is not linked in
- }
-
- // Search for any raw JSON value associated with this field.
- var raw json.RawMessage
- name := string(fd.Name())
- if fd.Kind() == protoreflect.GroupKind {
- name = string(fd.Message().Name())
- }
- if v, ok := jsonObject[name]; ok {
- delete(jsonObject, name)
- raw = v
- }
- name = string(fd.JSONName())
- if v, ok := jsonObject[name]; ok {
- delete(jsonObject, name)
- raw = v
- }
-
- field := m.NewField(fd)
- // Unmarshal the field value.
- if raw == nil || (string(raw) == "null" && !isSingularWellKnownValue(fd) && !isSingularJSONPBUnmarshaler(field, fd)) {
- continue
- }
- v, err := u.unmarshalValue(field, raw, fd)
- if err != nil {
- return err
- }
- m.Set(fd, v)
- }
-
- // Handle extension fields.
- for name, raw := range jsonObject {
- if !strings.HasPrefix(name, "[") || !strings.HasSuffix(name, "]") {
- continue
- }
-
- // Resolve the extension field by name.
- xname := protoreflect.FullName(name[len("[") : len(name)-len("]")])
- xt, _ := protoregistry.GlobalTypes.FindExtensionByName(xname)
- if xt == nil && isMessageSet(md) {
- xt, _ = protoregistry.GlobalTypes.FindExtensionByName(xname.Append("message_set_extension"))
- }
- if xt == nil {
- continue
- }
- delete(jsonObject, name)
- fd := xt.TypeDescriptor()
- if fd.ContainingMessage().FullName() != m.Descriptor().FullName() {
- return fmt.Errorf("extension field %q does not extend message %q", xname, m.Descriptor().FullName())
- }
-
- field := m.NewField(fd)
- // Unmarshal the field value.
- if raw == nil || (string(raw) == "null" && !isSingularWellKnownValue(fd) && !isSingularJSONPBUnmarshaler(field, fd)) {
- continue
- }
- v, err := u.unmarshalValue(field, raw, fd)
- if err != nil {
- return err
- }
- m.Set(fd, v)
- }
-
- if !u.AllowUnknownFields && len(jsonObject) > 0 {
- for name := range jsonObject {
- return fmt.Errorf("unknown field %q in %v", name, md.FullName())
- }
- }
- return nil
-}
-
-func isSingularWellKnownValue(fd protoreflect.FieldDescriptor) bool {
- if fd.Cardinality() == protoreflect.Repeated {
- return false
- }
- if md := fd.Message(); md != nil {
- return md.FullName() == "google.protobuf.Value"
- }
- if ed := fd.Enum(); ed != nil {
- return ed.FullName() == "google.protobuf.NullValue"
- }
- return false
-}
-
-func isSingularJSONPBUnmarshaler(v protoreflect.Value, fd protoreflect.FieldDescriptor) bool {
- if fd.Message() != nil && fd.Cardinality() != protoreflect.Repeated {
- _, ok := proto.MessageV1(v.Interface()).(JSONPBUnmarshaler)
- return ok
- }
- return false
-}
-
-func (u *Unmarshaler) unmarshalValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) {
- switch {
- case fd.IsList():
- var jsonArray []json.RawMessage
- if err := json.Unmarshal(in, &jsonArray); err != nil {
- return v, err
- }
- lv := v.List()
- for _, raw := range jsonArray {
- ve, err := u.unmarshalSingularValue(lv.NewElement(), raw, fd)
- if err != nil {
- return v, err
- }
- lv.Append(ve)
- }
- return v, nil
- case fd.IsMap():
- var jsonObject map[string]json.RawMessage
- if err := json.Unmarshal(in, &jsonObject); err != nil {
- return v, err
- }
- kfd := fd.MapKey()
- vfd := fd.MapValue()
- mv := v.Map()
- for key, raw := range jsonObject {
- var kv protoreflect.MapKey
- if kfd.Kind() == protoreflect.StringKind {
- kv = protoreflect.ValueOf(key).MapKey()
- } else {
- v, err := u.unmarshalSingularValue(kfd.Default(), []byte(key), kfd)
- if err != nil {
- return v, err
- }
- kv = v.MapKey()
- }
-
- vv, err := u.unmarshalSingularValue(mv.NewValue(), raw, vfd)
- if err != nil {
- return v, err
- }
- mv.Set(kv, vv)
- }
- return v, nil
- default:
- return u.unmarshalSingularValue(v, in, fd)
- }
-}
-
-var nonFinite = map[string]float64{
- `"NaN"`: math.NaN(),
- `"Infinity"`: math.Inf(+1),
- `"-Infinity"`: math.Inf(-1),
-}
-
-func (u *Unmarshaler) unmarshalSingularValue(v protoreflect.Value, in []byte, fd protoreflect.FieldDescriptor) (protoreflect.Value, error) {
- switch fd.Kind() {
- case protoreflect.BoolKind:
- return unmarshalValue(in, new(bool))
- case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind:
- return unmarshalValue(trimQuote(in), new(int32))
- case protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind:
- return unmarshalValue(trimQuote(in), new(int64))
- case protoreflect.Uint32Kind, protoreflect.Fixed32Kind:
- return unmarshalValue(trimQuote(in), new(uint32))
- case protoreflect.Uint64Kind, protoreflect.Fixed64Kind:
- return unmarshalValue(trimQuote(in), new(uint64))
- case protoreflect.FloatKind:
- if f, ok := nonFinite[string(in)]; ok {
- return protoreflect.ValueOfFloat32(float32(f)), nil
- }
- return unmarshalValue(trimQuote(in), new(float32))
- case protoreflect.DoubleKind:
- if f, ok := nonFinite[string(in)]; ok {
- return protoreflect.ValueOfFloat64(float64(f)), nil
- }
- return unmarshalValue(trimQuote(in), new(float64))
- case protoreflect.StringKind:
- return unmarshalValue(in, new(string))
- case protoreflect.BytesKind:
- return unmarshalValue(in, new([]byte))
- case protoreflect.EnumKind:
- if hasPrefixAndSuffix('"', in, '"') {
- vd := fd.Enum().Values().ByName(protoreflect.Name(trimQuote(in)))
- if vd == nil {
- return v, fmt.Errorf("unknown value %q for enum %s", in, fd.Enum().FullName())
- }
- return protoreflect.ValueOfEnum(vd.Number()), nil
- }
- return unmarshalValue(in, new(protoreflect.EnumNumber))
- case protoreflect.MessageKind, protoreflect.GroupKind:
- err := u.unmarshalMessage(v.Message(), in)
- return v, err
- default:
- panic(fmt.Sprintf("invalid kind %v", fd.Kind()))
- }
-}
-
-func unmarshalValue(in []byte, v interface{}) (protoreflect.Value, error) {
- err := json.Unmarshal(in, v)
- return protoreflect.ValueOf(reflect.ValueOf(v).Elem().Interface()), err
-}
-
-func unquoteString(in string) (out string, err error) {
- err = json.Unmarshal([]byte(in), &out)
- return out, err
-}
-
-func hasPrefixAndSuffix(prefix byte, in []byte, suffix byte) bool {
- if len(in) >= 2 && in[0] == prefix && in[len(in)-1] == suffix {
- return true
- }
- return false
-}
-
-// trimQuote is like unquoteString but simply strips surrounding quotes.
-// This is incorrect, but is behavior done by the legacy implementation.
-func trimQuote(in []byte) []byte {
- if len(in) >= 2 && in[0] == '"' && in[len(in)-1] == '"' {
- in = in[1 : len(in)-1]
- }
- return in
-}
diff --git a/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/encode.go b/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/encode.go
deleted file mode 100644
index e9438a93f3..0000000000
--- a/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/encode.go
+++ /dev/null
@@ -1,560 +0,0 @@
-// Copyright 2015 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.
-
-package jsonpb
-
-import (
- "encoding/json"
- "errors"
- "fmt"
- "io"
- "math"
- "reflect"
- "sort"
- "strconv"
- "strings"
- "time"
-
- "github.com/golang/protobuf/proto"
- "google.golang.org/protobuf/encoding/protojson"
- protoV2 "google.golang.org/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
-)
-
-const wrapJSONMarshalV2 = false
-
-// Marshaler is a configurable object for marshaling protocol buffer messages
-// to the specified JSON representation.
-type Marshaler struct {
- // OrigName specifies whether to use the original protobuf name for fields.
- OrigName bool
-
- // EnumsAsInts specifies whether to render enum values as integers,
- // as opposed to string values.
- EnumsAsInts bool
-
- // EmitDefaults specifies whether to render fields with zero values.
- EmitDefaults bool
-
- // Indent controls whether the output is compact or not.
- // If empty, the output is compact JSON. Otherwise, every JSON object
- // entry and JSON array value will be on its own line.
- // Each line will be preceded by repeated copies of Indent, where the
- // number of copies is the current indentation depth.
- Indent string
-
- // AnyResolver is used to resolve the google.protobuf.Any well-known type.
- // If unset, the global registry is used by default.
- AnyResolver AnyResolver
-}
-
-// JSONPBMarshaler is implemented by protobuf messages that customize the
-// way they are marshaled to JSON. Messages that implement this should also
-// implement JSONPBUnmarshaler so that the custom format can be parsed.
-//
-// The JSON marshaling must follow the proto to JSON specification:
-//
-// https://developers.google.com/protocol-buffers/docs/proto3#json
-//
-// Deprecated: Custom types should implement protobuf reflection instead.
-type JSONPBMarshaler interface {
- MarshalJSONPB(*Marshaler) ([]byte, error)
-}
-
-// Marshal serializes a protobuf message as JSON into w.
-func (jm *Marshaler) Marshal(w io.Writer, m proto.Message) error {
- b, err := jm.marshal(m)
- if len(b) > 0 {
- if _, err := w.Write(b); err != nil {
- return err
- }
- }
- return err
-}
-
-// MarshalToString serializes a protobuf message as JSON in string form.
-func (jm *Marshaler) MarshalToString(m proto.Message) (string, error) {
- b, err := jm.marshal(m)
- if err != nil {
- return "", err
- }
- return string(b), nil
-}
-
-func (jm *Marshaler) marshal(m proto.Message) ([]byte, error) {
- v := reflect.ValueOf(m)
- if m == nil || (v.Kind() == reflect.Ptr && v.IsNil()) {
- return nil, errors.New("Marshal called with nil")
- }
-
- // Check for custom marshalers first since they may not properly
- // implement protobuf reflection that the logic below relies on.
- if jsm, ok := m.(JSONPBMarshaler); ok {
- return jsm.MarshalJSONPB(jm)
- }
-
- if wrapJSONMarshalV2 {
- opts := protojson.MarshalOptions{
- UseProtoNames: jm.OrigName,
- UseEnumNumbers: jm.EnumsAsInts,
- EmitUnpopulated: jm.EmitDefaults,
- Indent: jm.Indent,
- }
- if jm.AnyResolver != nil {
- opts.Resolver = anyResolver{jm.AnyResolver}
- }
- return opts.Marshal(proto.MessageReflect(m).Interface())
- } else {
- // Check for unpopulated required fields first.
- m2 := proto.MessageReflect(m)
- if err := protoV2.CheckInitialized(m2.Interface()); err != nil {
- return nil, err
- }
-
- w := jsonWriter{Marshaler: jm}
- err := w.marshalMessage(m2, "", "")
- return w.buf, err
- }
-}
-
-type jsonWriter struct {
- *Marshaler
- buf []byte
-}
-
-func (w *jsonWriter) write(s string) {
- w.buf = append(w.buf, s...)
-}
-
-func (w *jsonWriter) marshalMessage(m protoreflect.Message, indent, typeURL string) error {
- if jsm, ok := proto.MessageV1(m.Interface()).(JSONPBMarshaler); ok {
- b, err := jsm.MarshalJSONPB(w.Marshaler)
- if err != nil {
- return err
- }
- if typeURL != "" {
- // we are marshaling this object to an Any type
- var js map[string]*json.RawMessage
- if err = json.Unmarshal(b, &js); err != nil {
- return fmt.Errorf("type %T produced invalid JSON: %v", m.Interface(), err)
- }
- turl, err := json.Marshal(typeURL)
- if err != nil {
- return fmt.Errorf("failed to marshal type URL %q to JSON: %v", typeURL, err)
- }
- js["@type"] = (*json.RawMessage)(&turl)
- if b, err = json.Marshal(js); err != nil {
- return err
- }
- }
- w.write(string(b))
- return nil
- }
-
- md := m.Descriptor()
- fds := md.Fields()
-
- // Handle well-known types.
- const secondInNanos = int64(time.Second / time.Nanosecond)
- switch wellKnownType(md.FullName()) {
- case "Any":
- return w.marshalAny(m, indent)
- case "BoolValue", "BytesValue", "StringValue",
- "Int32Value", "UInt32Value", "FloatValue",
- "Int64Value", "UInt64Value", "DoubleValue":
- fd := fds.ByNumber(1)
- return w.marshalValue(fd, m.Get(fd), indent)
- case "Duration":
- const maxSecondsInDuration = 315576000000
- // "Generated output always contains 0, 3, 6, or 9 fractional digits,
- // depending on required precision."
- s := m.Get(fds.ByNumber(1)).Int()
- ns := m.Get(fds.ByNumber(2)).Int()
- if s < -maxSecondsInDuration || s > maxSecondsInDuration {
- return fmt.Errorf("seconds out of range %v", s)
- }
- if ns <= -secondInNanos || ns >= secondInNanos {
- return fmt.Errorf("ns out of range (%v, %v)", -secondInNanos, secondInNanos)
- }
- if (s > 0 && ns < 0) || (s < 0 && ns > 0) {
- return errors.New("signs of seconds and nanos do not match")
- }
- var sign string
- if s < 0 || ns < 0 {
- sign, s, ns = "-", -1*s, -1*ns
- }
- x := fmt.Sprintf("%s%d.%09d", sign, s, ns)
- x = strings.TrimSuffix(x, "000")
- x = strings.TrimSuffix(x, "000")
- x = strings.TrimSuffix(x, ".000")
- w.write(fmt.Sprintf(`"%vs"`, x))
- return nil
- case "Timestamp":
- // "RFC 3339, where generated output will always be Z-normalized
- // and uses 0, 3, 6 or 9 fractional digits."
- s := m.Get(fds.ByNumber(1)).Int()
- ns := m.Get(fds.ByNumber(2)).Int()
- if ns < 0 || ns >= secondInNanos {
- return fmt.Errorf("ns out of range [0, %v)", secondInNanos)
- }
- t := time.Unix(s, ns).UTC()
- // time.RFC3339Nano isn't exactly right (we need to get 3/6/9 fractional digits).
- x := t.Format("2006-01-02T15:04:05.000000000")
- x = strings.TrimSuffix(x, "000")
- x = strings.TrimSuffix(x, "000")
- x = strings.TrimSuffix(x, ".000")
- w.write(fmt.Sprintf(`"%vZ"`, x))
- return nil
- case "Value":
- // JSON value; which is a null, number, string, bool, object, or array.
- od := md.Oneofs().Get(0)
- fd := m.WhichOneof(od)
- if fd == nil {
- return errors.New("nil Value")
- }
- return w.marshalValue(fd, m.Get(fd), indent)
- case "Struct", "ListValue":
- // JSON object or array.
- fd := fds.ByNumber(1)
- return w.marshalValue(fd, m.Get(fd), indent)
- }
-
- w.write("{")
- if w.Indent != "" {
- w.write("\n")
- }
-
- firstField := true
- if typeURL != "" {
- if err := w.marshalTypeURL(indent, typeURL); err != nil {
- return err
- }
- firstField = false
- }
-
- for i := 0; i < fds.Len(); {
- fd := fds.Get(i)
- if od := fd.ContainingOneof(); od != nil {
- fd = m.WhichOneof(od)
- i += od.Fields().Len()
- if fd == nil {
- continue
- }
- } else {
- i++
- }
-
- v := m.Get(fd)
-
- if !m.Has(fd) {
- if !w.EmitDefaults || fd.ContainingOneof() != nil {
- continue
- }
- if fd.Cardinality() != protoreflect.Repeated && (fd.Message() != nil || fd.Syntax() == protoreflect.Proto2) {
- v = protoreflect.Value{} // use "null" for singular messages or proto2 scalars
- }
- }
-
- if !firstField {
- w.writeComma()
- }
- if err := w.marshalField(fd, v, indent); err != nil {
- return err
- }
- firstField = false
- }
-
- // Handle proto2 extensions.
- if md.ExtensionRanges().Len() > 0 {
- // Collect a sorted list of all extension descriptor and values.
- type ext struct {
- desc protoreflect.FieldDescriptor
- val protoreflect.Value
- }
- var exts []ext
- m.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool {
- if fd.IsExtension() {
- exts = append(exts, ext{fd, v})
- }
- return true
- })
- sort.Slice(exts, func(i, j int) bool {
- return exts[i].desc.Number() < exts[j].desc.Number()
- })
-
- for _, ext := range exts {
- if !firstField {
- w.writeComma()
- }
- if err := w.marshalField(ext.desc, ext.val, indent); err != nil {
- return err
- }
- firstField = false
- }
- }
-
- if w.Indent != "" {
- w.write("\n")
- w.write(indent)
- }
- w.write("}")
- return nil
-}
-
-func (w *jsonWriter) writeComma() {
- if w.Indent != "" {
- w.write(",\n")
- } else {
- w.write(",")
- }
-}
-
-func (w *jsonWriter) marshalAny(m protoreflect.Message, indent string) error {
- // "If the Any contains a value that has a special JSON mapping,
- // it will be converted as follows: {"@type": xxx, "value": yyy}.
- // Otherwise, the value will be converted into a JSON object,
- // and the "@type" field will be inserted to indicate the actual data type."
- md := m.Descriptor()
- typeURL := m.Get(md.Fields().ByNumber(1)).String()
- rawVal := m.Get(md.Fields().ByNumber(2)).Bytes()
-
- var m2 protoreflect.Message
- if w.AnyResolver != nil {
- mi, err := w.AnyResolver.Resolve(typeURL)
- if err != nil {
- return err
- }
- m2 = proto.MessageReflect(mi)
- } else {
- mt, err := protoregistry.GlobalTypes.FindMessageByURL(typeURL)
- if err != nil {
- return err
- }
- m2 = mt.New()
- }
-
- if err := protoV2.Unmarshal(rawVal, m2.Interface()); err != nil {
- return err
- }
-
- if wellKnownType(m2.Descriptor().FullName()) == "" {
- return w.marshalMessage(m2, indent, typeURL)
- }
-
- w.write("{")
- if w.Indent != "" {
- w.write("\n")
- }
- if err := w.marshalTypeURL(indent, typeURL); err != nil {
- return err
- }
- w.writeComma()
- if w.Indent != "" {
- w.write(indent)
- w.write(w.Indent)
- w.write(`"value": `)
- } else {
- w.write(`"value":`)
- }
- if err := w.marshalMessage(m2, indent+w.Indent, ""); err != nil {
- return err
- }
- if w.Indent != "" {
- w.write("\n")
- w.write(indent)
- }
- w.write("}")
- return nil
-}
-
-func (w *jsonWriter) marshalTypeURL(indent, typeURL string) error {
- if w.Indent != "" {
- w.write(indent)
- w.write(w.Indent)
- }
- w.write(`"@type":`)
- if w.Indent != "" {
- w.write(" ")
- }
- b, err := json.Marshal(typeURL)
- if err != nil {
- return err
- }
- w.write(string(b))
- return nil
-}
-
-// marshalField writes field description and value to the Writer.
-func (w *jsonWriter) marshalField(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error {
- if w.Indent != "" {
- w.write(indent)
- w.write(w.Indent)
- }
- w.write(`"`)
- switch {
- case fd.IsExtension():
- // For message set, use the fname of the message as the extension name.
- name := string(fd.FullName())
- if isMessageSet(fd.ContainingMessage()) {
- name = strings.TrimSuffix(name, ".message_set_extension")
- }
-
- w.write("[" + name + "]")
- case w.OrigName:
- name := string(fd.Name())
- if fd.Kind() == protoreflect.GroupKind {
- name = string(fd.Message().Name())
- }
- w.write(name)
- default:
- w.write(string(fd.JSONName()))
- }
- w.write(`":`)
- if w.Indent != "" {
- w.write(" ")
- }
- return w.marshalValue(fd, v, indent)
-}
-
-func (w *jsonWriter) marshalValue(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error {
- switch {
- case fd.IsList():
- w.write("[")
- comma := ""
- lv := v.List()
- for i := 0; i < lv.Len(); i++ {
- w.write(comma)
- if w.Indent != "" {
- w.write("\n")
- w.write(indent)
- w.write(w.Indent)
- w.write(w.Indent)
- }
- if err := w.marshalSingularValue(fd, lv.Get(i), indent+w.Indent); err != nil {
- return err
- }
- comma = ","
- }
- if w.Indent != "" {
- w.write("\n")
- w.write(indent)
- w.write(w.Indent)
- }
- w.write("]")
- return nil
- case fd.IsMap():
- kfd := fd.MapKey()
- vfd := fd.MapValue()
- mv := v.Map()
-
- // Collect a sorted list of all map keys and values.
- type entry struct{ key, val protoreflect.Value }
- var entries []entry
- mv.Range(func(k protoreflect.MapKey, v protoreflect.Value) bool {
- entries = append(entries, entry{k.Value(), v})
- return true
- })
- sort.Slice(entries, func(i, j int) bool {
- switch kfd.Kind() {
- case protoreflect.BoolKind:
- return !entries[i].key.Bool() && entries[j].key.Bool()
- case protoreflect.Int32Kind, protoreflect.Sint32Kind, protoreflect.Sfixed32Kind, protoreflect.Int64Kind, protoreflect.Sint64Kind, protoreflect.Sfixed64Kind:
- return entries[i].key.Int() < entries[j].key.Int()
- case protoreflect.Uint32Kind, protoreflect.Fixed32Kind, protoreflect.Uint64Kind, protoreflect.Fixed64Kind:
- return entries[i].key.Uint() < entries[j].key.Uint()
- case protoreflect.StringKind:
- return entries[i].key.String() < entries[j].key.String()
- default:
- panic("invalid kind")
- }
- })
-
- w.write(`{`)
- comma := ""
- for _, entry := range entries {
- w.write(comma)
- if w.Indent != "" {
- w.write("\n")
- w.write(indent)
- w.write(w.Indent)
- w.write(w.Indent)
- }
-
- s := fmt.Sprint(entry.key.Interface())
- b, err := json.Marshal(s)
- if err != nil {
- return err
- }
- w.write(string(b))
-
- w.write(`:`)
- if w.Indent != "" {
- w.write(` `)
- }
-
- if err := w.marshalSingularValue(vfd, entry.val, indent+w.Indent); err != nil {
- return err
- }
- comma = ","
- }
- if w.Indent != "" {
- w.write("\n")
- w.write(indent)
- w.write(w.Indent)
- }
- w.write(`}`)
- return nil
- default:
- return w.marshalSingularValue(fd, v, indent)
- }
-}
-
-func (w *jsonWriter) marshalSingularValue(fd protoreflect.FieldDescriptor, v protoreflect.Value, indent string) error {
- switch {
- case !v.IsValid():
- w.write("null")
- return nil
- case fd.Message() != nil:
- return w.marshalMessage(v.Message(), indent+w.Indent, "")
- case fd.Enum() != nil:
- if fd.Enum().FullName() == "google.protobuf.NullValue" {
- w.write("null")
- return nil
- }
-
- vd := fd.Enum().Values().ByNumber(v.Enum())
- if vd == nil || w.EnumsAsInts {
- w.write(strconv.Itoa(int(v.Enum())))
- } else {
- w.write(`"` + string(vd.Name()) + `"`)
- }
- return nil
- default:
- switch v.Interface().(type) {
- case float32, float64:
- switch {
- case math.IsInf(v.Float(), +1):
- w.write(`"Infinity"`)
- return nil
- case math.IsInf(v.Float(), -1):
- w.write(`"-Infinity"`)
- return nil
- case math.IsNaN(v.Float()):
- w.write(`"NaN"`)
- return nil
- }
- case int64, uint64:
- w.write(fmt.Sprintf(`"%d"`, v.Interface()))
- return nil
- }
-
- b, err := json.Marshal(v.Interface())
- if err != nil {
- return err
- }
- w.write(string(b))
- return nil
- }
-}
diff --git a/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/json.go b/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/json.go
deleted file mode 100644
index 480e2448de..0000000000
--- a/cluster-api/providers/azure/vendor/github.com/golang/protobuf/jsonpb/json.go
+++ /dev/null
@@ -1,69 +0,0 @@
-// Copyright 2015 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.
-
-// Package jsonpb provides functionality to marshal and unmarshal between a
-// protocol buffer message and JSON. It follows the specification at
-// https://developers.google.com/protocol-buffers/docs/proto3#json.
-//
-// Do not rely on the default behavior of the standard encoding/json package
-// when called on generated message types as it does not operate correctly.
-//
-// Deprecated: Use the "google.golang.org/protobuf/encoding/protojson"
-// package instead.
-package jsonpb
-
-import (
- "github.com/golang/protobuf/proto"
- "google.golang.org/protobuf/reflect/protoreflect"
- "google.golang.org/protobuf/reflect/protoregistry"
- "google.golang.org/protobuf/runtime/protoimpl"
-)
-
-// AnyResolver takes a type URL, present in an Any message,
-// and resolves it into an instance of the associated message.
-type AnyResolver interface {
- Resolve(typeURL string) (proto.Message, error)
-}
-
-type anyResolver struct{ AnyResolver }
-
-func (r anyResolver) FindMessageByName(message protoreflect.FullName) (protoreflect.MessageType, error) {
- return r.FindMessageByURL(string(message))
-}
-
-func (r anyResolver) FindMessageByURL(url string) (protoreflect.MessageType, error) {
- m, err := r.Resolve(url)
- if err != nil {
- return nil, err
- }
- return protoimpl.X.MessageTypeOf(m), nil
-}
-
-func (r anyResolver) FindExtensionByName(field protoreflect.FullName) (protoreflect.ExtensionType, error) {
- return protoregistry.GlobalTypes.FindExtensionByName(field)
-}
-
-func (r anyResolver) FindExtensionByNumber(message protoreflect.FullName, field protoreflect.FieldNumber) (protoreflect.ExtensionType, error) {
- return protoregistry.GlobalTypes.FindExtensionByNumber(message, field)
-}
-
-func wellKnownType(s protoreflect.FullName) string {
- if s.Parent() == "google.protobuf" {
- switch s.Name() {
- case "Empty", "Any",
- "BoolValue", "BytesValue", "StringValue",
- "Int32Value", "UInt32Value", "FloatValue",
- "Int64Value", "UInt64Value", "DoubleValue",
- "Duration", "Timestamp",
- "NullValue", "Struct", "Value", "ListValue":
- return string(s.Name())
- }
- }
- return ""
-}
-
-func isMessageSet(md protoreflect.MessageDescriptor) bool {
- ms, ok := md.(interface{ IsMessageSet() bool })
- return ok && ms.IsMessageSet()
-}
diff --git a/cluster-api/providers/azure/vendor/github.com/google/cel-go/checker/cost.go b/cluster-api/providers/azure/vendor/github.com/google/cel-go/checker/cost.go
index f232f30dac..fd3f735051 100644
--- a/cluster-api/providers/azure/vendor/github.com/google/cel-go/checker/cost.go
+++ b/cluster-api/providers/azure/vendor/github.com/google/cel-go/checker/cost.go
@@ -520,6 +520,9 @@ func (c *coster) costComprehension(e *exprpb.Expr) CostEstimate {
c.iterRanges.pop(comp.GetIterVar())
sum = sum.Add(c.cost(comp.Result))
rangeCnt := c.sizeEstimate(c.newAstNode(comp.GetIterRange()))
+
+ c.computedSizes[e.GetId()] = rangeCnt
+
rangeCost := rangeCnt.MultiplyByCost(stepCost.Add(loopCost))
sum = sum.Add(rangeCost)
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/context.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/context.go
index 31553e7848..5dd4e44786 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/context.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/context.go
@@ -148,6 +148,12 @@ func annotateContext(ctx context.Context, mux *ServeMux, req *http.Request, rpcM
var pairs []string
for key, vals := range req.Header {
key = textproto.CanonicalMIMEHeaderKey(key)
+ switch key {
+ case xForwardedFor, xForwardedHost:
+ // Handled separately below
+ continue
+ }
+
for _, val := range vals {
// For backwards-compatibility, pass through 'authorization' header with no prefix.
if key == "Authorization" {
@@ -181,18 +187,17 @@ func annotateContext(ctx context.Context, mux *ServeMux, req *http.Request, rpcM
pairs = append(pairs, strings.ToLower(xForwardedHost), req.Host)
}
+ xff := req.Header.Values(xForwardedFor)
if addr := req.RemoteAddr; addr != "" {
if remoteIP, _, err := net.SplitHostPort(addr); err == nil {
- if fwd := req.Header.Get(xForwardedFor); fwd == "" {
- pairs = append(pairs, strings.ToLower(xForwardedFor), remoteIP)
- } else {
- pairs = append(pairs, strings.ToLower(xForwardedFor), fmt.Sprintf("%s, %s", fwd, remoteIP))
- }
+ xff = append(xff, remoteIP)
}
}
+ if len(xff) > 0 {
+ pairs = append(pairs, strings.ToLower(xForwardedFor), strings.Join(xff, ", "))
+ }
if timeout != 0 {
- //nolint:govet // The context outlives this function
ctx, _ = context.WithTimeout(ctx, timeout)
}
if len(pairs) == 0 {
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/errors.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/errors.go
index 230cac7b86..5682998699 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/errors.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/errors.go
@@ -71,7 +71,7 @@ func HTTPStatusFromCode(code codes.Code) int {
case codes.DataLoss:
return http.StatusInternalServerError
default:
- grpclog.Infof("Unknown gRPC error code: %v", code)
+ grpclog.Warningf("Unknown gRPC error code: %v", code)
return http.StatusInternalServerError
}
}
@@ -114,17 +114,17 @@ func DefaultHTTPErrorHandler(ctx context.Context, mux *ServeMux, marshaler Marsh
buf, merr := marshaler.Marshal(pb)
if merr != nil {
- grpclog.Infof("Failed to marshal error message %q: %v", s, merr)
+ grpclog.Errorf("Failed to marshal error message %q: %v", s, merr)
w.WriteHeader(http.StatusInternalServerError)
if _, err := io.WriteString(w, fallback); err != nil {
- grpclog.Infof("Failed to write response: %v", err)
+ grpclog.Errorf("Failed to write response: %v", err)
}
return
}
md, ok := ServerMetadataFromContext(ctx)
if !ok {
- grpclog.Infof("Failed to extract ServerMetadata from context")
+ grpclog.Error("Failed to extract ServerMetadata from context")
}
handleForwardResponseServerMetadata(w, mux, md)
@@ -148,7 +148,7 @@ func DefaultHTTPErrorHandler(ctx context.Context, mux *ServeMux, marshaler Marsh
w.WriteHeader(st)
if _, err := w.Write(buf); err != nil {
- grpclog.Infof("Failed to write response: %v", err)
+ grpclog.Errorf("Failed to write response: %v", err)
}
if doForwardTrailers {
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/fieldmask.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/fieldmask.go
index 19d9d37fff..9005d6a0bf 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/fieldmask.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/fieldmask.go
@@ -41,7 +41,7 @@ func FieldMaskFromRequestBody(r io.Reader, msg proto.Message) (*field_mask.Field
m, ok := item.node.(map[string]interface{})
switch {
- case ok:
+ case ok && len(m) > 0:
// if the item is an object, then enqueue all of its children
for k, v := range m {
if item.msg == nil {
@@ -96,6 +96,8 @@ func FieldMaskFromRequestBody(r io.Reader, msg proto.Message) (*field_mask.Field
queue = append(queue, child)
}
}
+ case ok && len(m) == 0:
+ fallthrough
case len(item.path) > 0:
// otherwise, it's a leaf node so print its path
fm.Paths = append(fm.Paths, item.path)
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/handler.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/handler.go
index 5e14cf8b0e..de1eef1f4f 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/handler.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/handler.go
@@ -6,6 +6,7 @@ import (
"io"
"net/http"
"net/textproto"
+ "strconv"
"strings"
"google.golang.org/genproto/googleapis/api/httpbody"
@@ -17,16 +18,10 @@ import (
// ForwardResponseStream forwards the stream from gRPC server to REST client.
func ForwardResponseStream(ctx context.Context, mux *ServeMux, marshaler Marshaler, w http.ResponseWriter, req *http.Request, recv func() (proto.Message, error), opts ...func(context.Context, http.ResponseWriter, proto.Message) error) {
- f, ok := w.(http.Flusher)
- if !ok {
- grpclog.Infof("Flush not supported in %T", w)
- http.Error(w, "unexpected type of web server", http.StatusInternalServerError)
- return
- }
-
+ rc := http.NewResponseController(w)
md, ok := ServerMetadataFromContext(ctx)
if !ok {
- grpclog.Infof("Failed to extract ServerMetadata from context")
+ grpclog.Error("Failed to extract ServerMetadata from context")
http.Error(w, "unexpected error", http.StatusInternalServerError)
return
}
@@ -81,20 +76,29 @@ func ForwardResponseStream(ctx context.Context, mux *ServeMux, marshaler Marshal
}
if err != nil {
- grpclog.Infof("Failed to marshal response chunk: %v", err)
+ grpclog.Errorf("Failed to marshal response chunk: %v", err)
handleForwardResponseStreamError(ctx, wroteHeader, marshaler, w, req, mux, err, delimiter)
return
}
if _, err := w.Write(buf); err != nil {
- grpclog.Infof("Failed to send response chunk: %v", err)
+ grpclog.Errorf("Failed to send response chunk: %v", err)
return
}
wroteHeader = true
if _, err := w.Write(delimiter); err != nil {
- grpclog.Infof("Failed to send delimiter chunk: %v", err)
+ grpclog.Errorf("Failed to send delimiter chunk: %v", err)
+ return
+ }
+ err = rc.Flush()
+ if err != nil {
+ if errors.Is(err, http.ErrNotSupported) {
+ grpclog.Errorf("Flush not supported in %T", w)
+ http.Error(w, "unexpected type of web server", http.StatusInternalServerError)
+ return
+ }
+ grpclog.Errorf("Failed to flush response to client: %v", err)
return
}
- f.Flush()
}
}
@@ -136,7 +140,7 @@ type responseBody interface {
func ForwardResponseMessage(ctx context.Context, mux *ServeMux, marshaler Marshaler, w http.ResponseWriter, req *http.Request, resp proto.Message, opts ...func(context.Context, http.ResponseWriter, proto.Message) error) {
md, ok := ServerMetadataFromContext(ctx)
if !ok {
- grpclog.Infof("Failed to extract ServerMetadata from context")
+ grpclog.Error("Failed to extract ServerMetadata from context")
}
handleForwardResponseServerMetadata(w, mux, md)
@@ -168,13 +172,17 @@ func ForwardResponseMessage(ctx context.Context, mux *ServeMux, marshaler Marsha
buf, err = marshaler.Marshal(resp)
}
if err != nil {
- grpclog.Infof("Marshal error: %v", err)
+ grpclog.Errorf("Marshal error: %v", err)
HTTPError(ctx, mux, marshaler, w, req, err)
return
}
+ if !doForwardTrailers {
+ w.Header().Set("Content-Length", strconv.Itoa(len(buf)))
+ }
+
if _, err = w.Write(buf); err != nil {
- grpclog.Infof("Failed to write response: %v", err)
+ grpclog.Errorf("Failed to write response: %v", err)
}
if doForwardTrailers {
@@ -193,7 +201,7 @@ func handleForwardResponseOptions(ctx context.Context, w http.ResponseWriter, re
}
for _, opt := range opts {
if err := opt(ctx, w, resp); err != nil {
- grpclog.Infof("Error handling ForwardResponseOptions: %v", err)
+ grpclog.Errorf("Error handling ForwardResponseOptions: %v", err)
return err
}
}
@@ -209,15 +217,15 @@ func handleForwardResponseStreamError(ctx context.Context, wroteHeader bool, mar
}
buf, err := marshaler.Marshal(msg)
if err != nil {
- grpclog.Infof("Failed to marshal an error: %v", err)
+ grpclog.Errorf("Failed to marshal an error: %v", err)
return
}
if _, err := w.Write(buf); err != nil {
- grpclog.Infof("Failed to notify error to client: %v", err)
+ grpclog.Errorf("Failed to notify error to client: %v", err)
return
}
if _, err := w.Write(delimiter); err != nil {
- grpclog.Infof("Failed to send delimiter chunk: %v", err)
+ grpclog.Errorf("Failed to send delimiter chunk: %v", err)
return
}
}
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go
index d6aa825783..fe52081ab9 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_json.go
@@ -24,6 +24,11 @@ func (j *JSONBuiltin) Marshal(v interface{}) ([]byte, error) {
return json.Marshal(v)
}
+// MarshalIndent is like Marshal but applies Indent to format the output
+func (j *JSONBuiltin) MarshalIndent(v interface{}, prefix, indent string) ([]byte, error) {
+ return json.MarshalIndent(v, prefix, indent)
+}
+
// Unmarshal unmarshals JSON data into "v".
func (j *JSONBuiltin) Unmarshal(data []byte, v interface{}) error {
return json.Unmarshal(data, v)
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_jsonpb.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_jsonpb.go
index 51b8247da2..8376d1e0ef 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_jsonpb.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshal_jsonpb.go
@@ -30,10 +30,6 @@ func (*JSONPb) ContentType(_ interface{}) string {
// Marshal marshals "v" into JSON.
func (j *JSONPb) Marshal(v interface{}) ([]byte, error) {
- if _, ok := v.(proto.Message); !ok {
- return j.marshalNonProtoField(v)
- }
-
var buf bytes.Buffer
if err := j.marshalTo(&buf, v); err != nil {
return nil, err
@@ -48,9 +44,17 @@ func (j *JSONPb) marshalTo(w io.Writer, v interface{}) error {
if err != nil {
return err
}
+ if j.Indent != "" {
+ b := &bytes.Buffer{}
+ if err := json.Indent(b, buf, "", j.Indent); err != nil {
+ return err
+ }
+ buf = b.Bytes()
+ }
_, err = w.Write(buf)
return err
}
+
b, err := j.MarshalOptions.Marshal(p)
if err != nil {
return err
@@ -150,9 +154,6 @@ func (j *JSONPb) marshalNonProtoField(v interface{}) ([]byte, error) {
}
m[fmt.Sprintf("%v", k.Interface())] = (*json.RawMessage)(&buf)
}
- if j.Indent != "" {
- return json.MarshalIndent(m, "", j.Indent)
- }
return json.Marshal(m)
}
if enum, ok := rv.Interface().(protoEnum); ok && !j.UseEnumNumbers {
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler_registry.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler_registry.go
index a714de0240..0b051e6e89 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler_registry.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/marshaler_registry.go
@@ -46,7 +46,7 @@ func MarshalerForRequest(mux *ServeMux, r *http.Request) (inbound Marshaler, out
for _, contentTypeVal := range r.Header[contentTypeHeader] {
contentType, _, err := mime.ParseMediaType(contentTypeVal)
if err != nil {
- grpclog.Infof("Failed to parse Content-Type %s: %v", contentTypeVal, err)
+ grpclog.Errorf("Failed to parse Content-Type %s: %v", contentTypeVal, err)
continue
}
if m, ok := mux.marshalers.mimeMap[contentType]; ok {
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/mux.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/mux.go
index 628e1fde1c..ed9a7e4387 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/mux.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/mux.go
@@ -341,13 +341,13 @@ func (s *ServeMux) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
if override := r.Header.Get("X-HTTP-Method-Override"); override != "" && s.isPathLengthFallback(r) {
- r.Method = strings.ToUpper(override)
if err := r.ParseForm(); err != nil {
_, outboundMarshaler := MarshalerForRequest(s, r)
sterr := status.Error(codes.InvalidArgument, err.Error())
s.errorHandler(ctx, s, outboundMarshaler, w, r, sterr)
return
}
+ r.Method = strings.ToUpper(override)
}
var pathComponents []string
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/pattern.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/pattern.go
index 8f90d15a56..e54507145b 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/pattern.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/pattern.go
@@ -52,13 +52,13 @@ type Pattern struct {
// It returns an error if the given definition is invalid.
func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, error) {
if version != 1 {
- grpclog.Infof("unsupported version: %d", version)
+ grpclog.Errorf("unsupported version: %d", version)
return Pattern{}, ErrInvalidPattern
}
l := len(ops)
if l%2 != 0 {
- grpclog.Infof("odd number of ops codes: %d", l)
+ grpclog.Errorf("odd number of ops codes: %d", l)
return Pattern{}, ErrInvalidPattern
}
@@ -81,14 +81,14 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er
stack++
case utilities.OpPushM:
if pushMSeen {
- grpclog.Infof("pushM appears twice")
+ grpclog.Error("pushM appears twice")
return Pattern{}, ErrInvalidPattern
}
pushMSeen = true
stack++
case utilities.OpLitPush:
if op.operand < 0 || len(pool) <= op.operand {
- grpclog.Infof("negative literal index: %d", op.operand)
+ grpclog.Errorf("negative literal index: %d", op.operand)
return Pattern{}, ErrInvalidPattern
}
if pushMSeen {
@@ -97,18 +97,18 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er
stack++
case utilities.OpConcatN:
if op.operand <= 0 {
- grpclog.Infof("negative concat size: %d", op.operand)
+ grpclog.Errorf("negative concat size: %d", op.operand)
return Pattern{}, ErrInvalidPattern
}
stack -= op.operand
if stack < 0 {
- grpclog.Info("stack underflow")
+ grpclog.Error("stack underflow")
return Pattern{}, ErrInvalidPattern
}
stack++
case utilities.OpCapture:
if op.operand < 0 || len(pool) <= op.operand {
- grpclog.Infof("variable name index out of bound: %d", op.operand)
+ grpclog.Errorf("variable name index out of bound: %d", op.operand)
return Pattern{}, ErrInvalidPattern
}
v := pool[op.operand]
@@ -116,11 +116,11 @@ func NewPattern(version int, ops []int, pool []string, verb string) (Pattern, er
vars = append(vars, v)
stack--
if stack < 0 {
- grpclog.Infof("stack underflow")
+ grpclog.Error("stack underflow")
return Pattern{}, ErrInvalidPattern
}
default:
- grpclog.Infof("invalid opcode: %d", op.code)
+ grpclog.Errorf("invalid opcode: %d", op.code)
return Pattern{}, ErrInvalidPattern
}
diff --git a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/query.go b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/query.go
index d01933c4fd..fe634174b8 100644
--- a/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/query.go
+++ b/cluster-api/providers/azure/vendor/github.com/grpc-ecosystem/grpc-gateway/v2/runtime/query.go
@@ -51,11 +51,13 @@ func (*DefaultQueryParser) Parse(msg proto.Message, values url.Values, filter *u
key = match[1]
values = append([]string{match[2]}, values...)
}
- fieldPath := strings.Split(key, ".")
+
+ msgValue := msg.ProtoReflect()
+ fieldPath := normalizeFieldPath(msgValue, strings.Split(key, "."))
if filter.HasCommonPrefix(fieldPath) {
continue
}
- if err := populateFieldValueFromPath(msg.ProtoReflect(), fieldPath, values); err != nil {
+ if err := populateFieldValueFromPath(msgValue, fieldPath, values); err != nil {
return err
}
}
@@ -68,6 +70,38 @@ func PopulateFieldFromPath(msg proto.Message, fieldPathString string, value stri
return populateFieldValueFromPath(msg.ProtoReflect(), fieldPath, []string{value})
}
+func normalizeFieldPath(msgValue protoreflect.Message, fieldPath []string) []string {
+ newFieldPath := make([]string, 0, len(fieldPath))
+ for i, fieldName := range fieldPath {
+ fields := msgValue.Descriptor().Fields()
+ fieldDesc := fields.ByTextName(fieldName)
+ if fieldDesc == nil {
+ fieldDesc = fields.ByJSONName(fieldName)
+ }
+ if fieldDesc == nil {
+ // return initial field path values if no matching message field was found
+ return fieldPath
+ }
+
+ newFieldPath = append(newFieldPath, string(fieldDesc.Name()))
+
+ // If this is the last element, we're done
+ if i == len(fieldPath)-1 {
+ break
+ }
+
+ // Only singular message fields are allowed
+ if fieldDesc.Message() == nil || fieldDesc.Cardinality() == protoreflect.Repeated {
+ return fieldPath
+ }
+
+ // Get the nested message
+ msgValue = msgValue.Get(fieldDesc).Message()
+ }
+
+ return newFieldPath
+}
+
func populateFieldValueFromPath(msgValue protoreflect.Message, fieldPath []string, values []string) error {
if len(fieldPath) < 1 {
return errors.New("no field path")
diff --git a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/CHANGELOG.md b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/CHANGELOG.md
index 62af14ad2f..7972bbc3a8 100644
--- a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/CHANGELOG.md
+++ b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/CHANGELOG.md
@@ -1,3 +1,33 @@
+## 1.34.2
+
+Require Go 1.22+
+
+### Maintenance
+- bump ginkgo as well [c59c6dc]
+- bump to go 1.22 - remove x/exp dependency [8158b99]
+
+## 1.34.1
+
+### Maintenance
+- Use slices from exp/slices to keep golang 1.20 compat [5e71dcd]
+
+## 1.34.0
+
+### Features
+- Add RoundTripper method to ghttp.Server [c549e0d]
+
+### Fixes
+- fix incorrect handling of nil slices in HaveExactElements (fixes #771) [878940c]
+- issue_765 - fixed bug in Hopcroft-Karp algorithm [ebadb67]
+
+### Maintenance
+- bump ginkgo [8af2ece]
+- Fix typo in docs [123a071]
+- Bump github.com/onsi/ginkgo/v2 from 2.17.2 to 2.17.3 (#756) [0e69083]
+- Bump google.golang.org/protobuf from 1.33.0 to 1.34.1 (#755) [2675796]
+- Bump golang.org/x/net from 0.24.0 to 0.25.0 (#754) [4160c0f]
+- Bump github-pages from 230 to 231 in /docs (#748) [892c303]
+
## 1.33.1
### Fixes
diff --git a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/gomega_dsl.go b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/gomega_dsl.go
index 9697d5134f..edacf8c13d 100644
--- a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/gomega_dsl.go
+++ b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/gomega_dsl.go
@@ -22,7 +22,7 @@ import (
"github.com/onsi/gomega/types"
)
-const GOMEGA_VERSION = "1.33.1"
+const GOMEGA_VERSION = "1.34.2"
const nilGomegaPanic = `You are trying to make an assertion, but haven't registered Gomega's fail handler.
If you're using Ginkgo then you probably forgot to put your assertion in an It().
diff --git a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/have_exact_elements.go b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/have_exact_elements.go
index dca5b94467..5a236d7d69 100644
--- a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/have_exact_elements.go
+++ b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/have_exact_elements.go
@@ -30,15 +30,18 @@ func (matcher *HaveExactElementsMatcher) Match(actual interface{}) (success bool
lenMatchers := len(matchers)
lenValues := len(values)
+ success = true
for i := 0; i < lenMatchers || i < lenValues; i++ {
if i >= lenMatchers {
matcher.extraIndex = i
+ success = false
continue
}
if i >= lenValues {
matcher.missingIndex = i
+ success = false
return
}
@@ -49,15 +52,17 @@ func (matcher *HaveExactElementsMatcher) Match(actual interface{}) (success bool
index: i,
failure: err.Error(),
})
+ success = false
} else if !match {
matcher.mismatchFailures = append(matcher.mismatchFailures, mismatchFailure{
index: i,
failure: elemMatcher.FailureMessage(values[i]),
})
+ success = false
}
}
- return matcher.missingIndex+matcher.extraIndex+len(matcher.mismatchFailures) == 0, nil
+ return success, nil
}
func (matcher *HaveExactElementsMatcher) FailureMessage(actual interface{}) (message string) {
diff --git a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go
index 1c54edd8f1..44aa61d4b3 100644
--- a/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go
+++ b/cluster-api/providers/azure/vendor/github.com/onsi/gomega/matchers/support/goraph/bipartitegraph/bipartitegraphmatching.go
@@ -1,6 +1,8 @@
package bipartitegraph
import (
+ "slices"
+
. "github.com/onsi/gomega/matchers/support/goraph/edge"
. "github.com/onsi/gomega/matchers/support/goraph/node"
"github.com/onsi/gomega/matchers/support/goraph/util"
@@ -157,6 +159,11 @@ func (bg *BipartiteGraph) createSLAPGuideLayers(matching EdgeSet) (guideLayers [
if len(currentLayer) == 0 {
return []NodeOrderedSet{}
}
+ if done { // if last layer - into last layer must be only 'free' nodes
+ currentLayer = slices.DeleteFunc(currentLayer, func(in Node) bool {
+ return !matching.Free(in)
+ })
+ }
guideLayers = append(guideLayers, currentLayer)
}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/.golangci.yml b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/.golangci.yml
index c24864a927..126df9e67a 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/.golangci.yml
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/.golangci.yml
@@ -1,9 +1,16 @@
---
linters:
enable:
+ - errcheck
- godot
+ - gosimple
+ - govet
+ - ineffassign
- misspell
- revive
+ - staticcheck
+ - testifylint
+ - unused
linter-settings:
godot:
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/MAINTAINERS.md b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/MAINTAINERS.md
index 56ba67d3e3..e00f3b365b 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/MAINTAINERS.md
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/MAINTAINERS.md
@@ -1,2 +1,3 @@
* Johannes 'fish' Ziemke @discordianfish
-* Paul Gier @pgier
+* Paul Gier @pgier
+* Ben Kochie @SuperQ
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/Makefile.common b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/Makefile.common
index 062a281856..1617292350 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/Makefile.common
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/Makefile.common
@@ -49,23 +49,23 @@ endif
GOTEST := $(GO) test
GOTEST_DIR :=
ifneq ($(CIRCLE_JOB),)
-ifneq ($(shell command -v gotestsum > /dev/null),)
+ifneq ($(shell command -v gotestsum 2> /dev/null),)
GOTEST_DIR := test-results
GOTEST := gotestsum --junitfile $(GOTEST_DIR)/unit-tests.xml --
endif
endif
-PROMU_VERSION ?= 0.15.0
+PROMU_VERSION ?= 0.17.0
PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz
SKIP_GOLANGCI_LINT :=
GOLANGCI_LINT :=
GOLANGCI_LINT_OPTS ?=
-GOLANGCI_LINT_VERSION ?= v1.54.2
-# golangci-lint only supports linux, darwin and windows platforms on i386/amd64.
+GOLANGCI_LINT_VERSION ?= v1.59.0
+# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
# windows isn't included here because of the path separator being different.
ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin))
- ifeq ($(GOHOSTARCH),$(filter $(GOHOSTARCH),amd64 i386))
+ ifeq ($(GOHOSTARCH),$(filter $(GOHOSTARCH),amd64 i386 arm64))
# If we're in CI and there is an Actions file, that means the linter
# is being run in Actions, so we don't need to run it here.
ifneq (,$(SKIP_GOLANGCI_LINT))
@@ -169,16 +169,20 @@ common-vet:
common-lint: $(GOLANGCI_LINT)
ifdef GOLANGCI_LINT
@echo ">> running golangci-lint"
-# 'go list' needs to be executed before staticcheck to prepopulate the modules cache.
-# Otherwise staticcheck might fail randomly for some reason not yet explained.
- $(GO) list -e -compiled -test=true -export=false -deps=true -find=false -tags= -- ./... > /dev/null
$(GOLANGCI_LINT) run $(GOLANGCI_LINT_OPTS) $(pkgs)
endif
+.PHONY: common-lint-fix
+common-lint-fix: $(GOLANGCI_LINT)
+ifdef GOLANGCI_LINT
+ @echo ">> running golangci-lint fix"
+ $(GOLANGCI_LINT) run --fix $(GOLANGCI_LINT_OPTS) $(pkgs)
+endif
+
.PHONY: common-yamllint
common-yamllint:
@echo ">> running yamllint on all YAML files in the repository"
-ifeq (, $(shell command -v yamllint > /dev/null))
+ifeq (, $(shell command -v yamllint 2> /dev/null))
@echo "yamllint not installed so skipping"
else
yamllint .
@@ -204,6 +208,10 @@ common-tarball: promu
@echo ">> building release tarball"
$(PROMU) tarball --prefix $(PREFIX) $(BIN_DIR)
+.PHONY: common-docker-repo-name
+common-docker-repo-name:
+ @echo "$(DOCKER_REPO)/$(DOCKER_IMAGE_NAME)"
+
.PHONY: common-docker $(BUILD_DOCKER_ARCHS)
common-docker: $(BUILD_DOCKER_ARCHS)
$(BUILD_DOCKER_ARCHS): common-docker-%:
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/arp.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/arp.go
index 28783e2ddc..cdcc8a7ccc 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/arp.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/arp.go
@@ -55,7 +55,7 @@ type ARPEntry struct {
func (fs FS) GatherARPEntries() ([]ARPEntry, error) {
data, err := os.ReadFile(fs.proc.Path("net/arp"))
if err != nil {
- return nil, fmt.Errorf("%s: error reading arp %s: %w", ErrFileRead, fs.proc.Path("net/arp"), err)
+ return nil, fmt.Errorf("%w: error reading arp %s: %w", ErrFileRead, fs.proc.Path("net/arp"), err)
}
return parseARPEntries(data)
@@ -78,11 +78,11 @@ func parseARPEntries(data []byte) ([]ARPEntry, error) {
} else if width == expectedDataWidth {
entry, err := parseARPEntry(columns)
if err != nil {
- return []ARPEntry{}, fmt.Errorf("%s: Failed to parse ARP entry: %v: %w", ErrFileParse, entry, err)
+ return []ARPEntry{}, fmt.Errorf("%w: Failed to parse ARP entry: %v: %w", ErrFileParse, entry, err)
}
entries = append(entries, entry)
} else {
- return []ARPEntry{}, fmt.Errorf("%s: %d columns found, but expected %d: %w", ErrFileParse, width, expectedDataWidth, err)
+ return []ARPEntry{}, fmt.Errorf("%w: %d columns found, but expected %d: %w", ErrFileParse, width, expectedDataWidth, err)
}
}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/buddyinfo.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/buddyinfo.go
index 4a173636c9..8380750090 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/buddyinfo.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/buddyinfo.go
@@ -58,8 +58,8 @@ func parseBuddyInfo(r io.Reader) ([]BuddyInfo, error) {
return nil, fmt.Errorf("%w: Invalid number of fields, found: %v", ErrFileParse, parts)
}
- node := strings.TrimRight(parts[1], ",")
- zone := strings.TrimRight(parts[3], ",")
+ node := strings.TrimSuffix(parts[1], ",")
+ zone := strings.TrimSuffix(parts[3], ",")
arraySize := len(parts[4:])
if bucketCount == -1 {
@@ -74,7 +74,7 @@ func parseBuddyInfo(r io.Reader) ([]BuddyInfo, error) {
for i := 0; i < arraySize; i++ {
sizes[i], err = strconv.ParseFloat(parts[i+4], 64)
if err != nil {
- return nil, fmt.Errorf("%s: Invalid valid in buddyinfo: %f: %w", ErrFileParse, sizes[i], err)
+ return nil, fmt.Errorf("%w: Invalid valid in buddyinfo: %f: %w", ErrFileParse, sizes[i], err)
}
}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/cpuinfo.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/cpuinfo.go
index f4f5501c68..f0950bb495 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/cpuinfo.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/cpuinfo.go
@@ -194,7 +194,7 @@ func parseCPUInfoARM(info []byte) ([]CPUInfo, error) {
firstLine := firstNonEmptyLine(scanner)
match, err := regexp.MatchString("^[Pp]rocessor", firstLine)
if !match || !strings.Contains(firstLine, ":") {
- return nil, fmt.Errorf("%s: Cannot parse line: %q: %w", ErrFileParse, firstLine, err)
+ return nil, fmt.Errorf("%w: Cannot parse line: %q: %w", ErrFileParse, firstLine, err)
}
field := strings.SplitN(firstLine, ": ", 2)
@@ -386,7 +386,7 @@ func parseCPUInfoLoong(info []byte) ([]CPUInfo, error) {
// find the first "processor" line
firstLine := firstNonEmptyLine(scanner)
if !strings.HasPrefix(firstLine, "system type") || !strings.Contains(firstLine, ":") {
- return nil, errors.New("invalid cpuinfo file: " + firstLine)
+ return nil, fmt.Errorf("%w: %q", ErrFileParse, firstLine)
}
field := strings.SplitN(firstLine, ": ", 2)
cpuinfo := []CPUInfo{}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/crypto.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/crypto.go
index 9a73e26393..5f2a37a78b 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/crypto.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/crypto.go
@@ -55,13 +55,13 @@ func (fs FS) Crypto() ([]Crypto, error) {
path := fs.proc.Path("crypto")
b, err := util.ReadFileNoStat(path)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot read file %v: %w", ErrFileRead, b, err)
+ return nil, fmt.Errorf("%w: Cannot read file %v: %w", ErrFileRead, b, err)
}
crypto, err := parseCrypto(bytes.NewReader(b))
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse %v: %w", ErrFileParse, crypto, err)
+ return nil, fmt.Errorf("%w: Cannot parse %v: %w", ErrFileParse, crypto, err)
}
return crypto, nil
@@ -84,7 +84,7 @@ func parseCrypto(r io.Reader) ([]Crypto, error) {
kv := strings.Split(text, ":")
if len(kv) != 2 {
- return nil, fmt.Errorf("%w: Cannot parae line: %q", ErrFileParse, text)
+ return nil, fmt.Errorf("%w: Cannot parse line: %q", ErrFileParse, text)
}
k := strings.TrimSpace(kv[0])
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/fscache.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/fscache.go
index f560a8db30..cf2e3eaa03 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/fscache.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/fscache.go
@@ -236,7 +236,7 @@ func (fs FS) Fscacheinfo() (Fscacheinfo, error) {
m, err := parseFscacheinfo(bytes.NewReader(b))
if err != nil {
- return Fscacheinfo{}, fmt.Errorf("%s: Cannot parse %v: %w", ErrFileParse, m, err)
+ return Fscacheinfo{}, fmt.Errorf("%w: Cannot parse %v: %w", ErrFileParse, m, err)
}
return *m, nil
@@ -245,7 +245,7 @@ func (fs FS) Fscacheinfo() (Fscacheinfo, error) {
func setFSCacheFields(fields []string, setFields ...*uint64) error {
var err error
if len(fields) < len(setFields) {
- return fmt.Errorf("%s: Expected %d, but got %d: %w", ErrFileParse, len(setFields), len(fields), err)
+ return fmt.Errorf("%w: Expected %d, but got %d: %w", ErrFileParse, len(setFields), len(fields), err)
}
for i := range setFields {
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/ipvs.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/ipvs.go
index 5a145bbfe1..bc3a20c932 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/ipvs.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/ipvs.go
@@ -221,16 +221,16 @@ func parseIPPort(s string) (net.IP, uint16, error) {
case 46:
ip = net.ParseIP(s[1:40])
if ip == nil {
- return nil, 0, fmt.Errorf("%s: Invalid IPv6 addr %s: %w", ErrFileParse, s[1:40], err)
+ return nil, 0, fmt.Errorf("%w: Invalid IPv6 addr %s: %w", ErrFileParse, s[1:40], err)
}
default:
- return nil, 0, fmt.Errorf("%s: Unexpected IP:Port %s: %w", ErrFileParse, s, err)
+ return nil, 0, fmt.Errorf("%w: Unexpected IP:Port %s: %w", ErrFileParse, s, err)
}
portString := s[len(s)-4:]
if len(portString) != 4 {
return nil, 0,
- fmt.Errorf("%s: Unexpected port string format %s: %w", ErrFileParse, portString, err)
+ fmt.Errorf("%w: Unexpected port string format %s: %w", ErrFileParse, portString, err)
}
port, err := strconv.ParseUint(portString, 16, 16)
if err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/loadavg.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/loadavg.go
index 59465c5bbc..332e76c17f 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/loadavg.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/loadavg.go
@@ -51,7 +51,7 @@ func parseLoad(loadavgBytes []byte) (*LoadAvg, error) {
for i, load := range parts[0:3] {
loads[i], err = strconv.ParseFloat(load, 64)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse load: %f: %w", ErrFileParse, loads[i], err)
+ return nil, fmt.Errorf("%w: Cannot parse load: %f: %w", ErrFileParse, loads[i], err)
}
}
return &LoadAvg{
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mdstat.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mdstat.go
index fdd4b95445..67a9d2b448 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mdstat.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mdstat.go
@@ -23,7 +23,7 @@ import (
var (
statusLineRE = regexp.MustCompile(`(\d+) blocks .*\[(\d+)/(\d+)\] \[([U_]+)\]`)
- recoveryLineBlocksRE = regexp.MustCompile(`\((\d+)/\d+\)`)
+ recoveryLineBlocksRE = regexp.MustCompile(`\((\d+/\d+)\)`)
recoveryLinePctRE = regexp.MustCompile(`= (.+)%`)
recoveryLineFinishRE = regexp.MustCompile(`finish=(.+)min`)
recoveryLineSpeedRE = regexp.MustCompile(`speed=(.+)[A-Z]`)
@@ -50,6 +50,8 @@ type MDStat struct {
BlocksTotal int64
// Number of blocks on the device that are in sync.
BlocksSynced int64
+ // Number of blocks on the device that need to be synced.
+ BlocksToBeSynced int64
// progress percentage of current sync
BlocksSyncedPct float64
// estimated finishing time for current sync (in minutes)
@@ -70,7 +72,7 @@ func (fs FS) MDStat() ([]MDStat, error) {
}
mdstat, err := parseMDStat(data)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse %v: %w", ErrFileParse, fs.proc.Path("mdstat"), err)
+ return nil, fmt.Errorf("%w: Cannot parse %v: %w", ErrFileParse, fs.proc.Path("mdstat"), err)
}
return mdstat, nil
}
@@ -90,7 +92,7 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) {
deviceFields := strings.Fields(line)
if len(deviceFields) < 3 {
- return nil, fmt.Errorf("%s: Expected 3+ lines, got %q", ErrFileParse, line)
+ return nil, fmt.Errorf("%w: Expected 3+ lines, got %q", ErrFileParse, line)
}
mdName := deviceFields[0] // mdx
state := deviceFields[2] // active or inactive
@@ -105,7 +107,7 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) {
active, total, down, size, err := evalStatusLine(lines[i], lines[i+1])
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse md device lines: %v: %w", ErrFileParse, active, err)
+ return nil, fmt.Errorf("%w: Cannot parse md device lines: %v: %w", ErrFileParse, active, err)
}
syncLineIdx := i + 2
@@ -115,7 +117,8 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) {
// If device is syncing at the moment, get the number of currently
// synced bytes, otherwise that number equals the size of the device.
- syncedBlocks := size
+ blocksSynced := size
+ blocksToBeSynced := size
speed := float64(0)
finish := float64(0)
pct := float64(0)
@@ -136,11 +139,11 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) {
// Handle case when resync=PENDING or resync=DELAYED.
if strings.Contains(lines[syncLineIdx], "PENDING") ||
strings.Contains(lines[syncLineIdx], "DELAYED") {
- syncedBlocks = 0
+ blocksSynced = 0
} else {
- syncedBlocks, pct, finish, speed, err = evalRecoveryLine(lines[syncLineIdx])
+ blocksSynced, blocksToBeSynced, pct, finish, speed, err = evalRecoveryLine(lines[syncLineIdx])
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse sync line in md device: %q: %w", ErrFileParse, mdName, err)
+ return nil, fmt.Errorf("%w: Cannot parse sync line in md device: %q: %w", ErrFileParse, mdName, err)
}
}
}
@@ -154,7 +157,8 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) {
DisksSpare: spare,
DisksTotal: total,
BlocksTotal: size,
- BlocksSynced: syncedBlocks,
+ BlocksSynced: blocksSynced,
+ BlocksToBeSynced: blocksToBeSynced,
BlocksSyncedPct: pct,
BlocksSyncedFinishTime: finish,
BlocksSyncedSpeed: speed,
@@ -168,13 +172,13 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) {
func evalStatusLine(deviceLine, statusLine string) (active, total, down, size int64, err error) {
statusFields := strings.Fields(statusLine)
if len(statusFields) < 1 {
- return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected statusline %q: %w", ErrFileParse, statusLine, err)
+ return 0, 0, 0, 0, fmt.Errorf("%w: Unexpected statusline %q: %w", ErrFileParse, statusLine, err)
}
sizeStr := statusFields[0]
size, err = strconv.ParseInt(sizeStr, 10, 64)
if err != nil {
- return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected statusline %q: %w", ErrFileParse, statusLine, err)
+ return 0, 0, 0, 0, fmt.Errorf("%w: Unexpected statusline %q: %w", ErrFileParse, statusLine, err)
}
if strings.Contains(deviceLine, "raid0") || strings.Contains(deviceLine, "linear") {
@@ -189,65 +193,71 @@ func evalStatusLine(deviceLine, statusLine string) (active, total, down, size in
matches := statusLineRE.FindStringSubmatch(statusLine)
if len(matches) != 5 {
- return 0, 0, 0, 0, fmt.Errorf("%s: Could not fild all substring matches %s: %w", ErrFileParse, statusLine, err)
+ return 0, 0, 0, 0, fmt.Errorf("%w: Could not fild all substring matches %s: %w", ErrFileParse, statusLine, err)
}
total, err = strconv.ParseInt(matches[2], 10, 64)
if err != nil {
- return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected statusline %q: %w", ErrFileParse, statusLine, err)
+ return 0, 0, 0, 0, fmt.Errorf("%w: Unexpected statusline %q: %w", ErrFileParse, statusLine, err)
}
active, err = strconv.ParseInt(matches[3], 10, 64)
if err != nil {
- return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected active %d: %w", ErrFileParse, active, err)
+ return 0, 0, 0, 0, fmt.Errorf("%w: Unexpected active %d: %w", ErrFileParse, active, err)
}
down = int64(strings.Count(matches[4], "_"))
return active, total, down, size, nil
}
-func evalRecoveryLine(recoveryLine string) (syncedBlocks int64, pct float64, finish float64, speed float64, err error) {
+func evalRecoveryLine(recoveryLine string) (blocksSynced int64, blocksToBeSynced int64, pct float64, finish float64, speed float64, err error) {
matches := recoveryLineBlocksRE.FindStringSubmatch(recoveryLine)
if len(matches) != 2 {
- return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected recoveryLine %s: %w", ErrFileParse, recoveryLine, err)
+ return 0, 0, 0, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine blocks %s: %w", ErrFileParse, recoveryLine, err)
}
- syncedBlocks, err = strconv.ParseInt(matches[1], 10, 64)
+ blocks := strings.Split(matches[1], "/")
+ blocksSynced, err = strconv.ParseInt(blocks[0], 10, 64)
if err != nil {
- return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected parsing of recoveryLine %q: %w", ErrFileParse, recoveryLine, err)
+ return 0, 0, 0, 0, 0, fmt.Errorf("%w: Unable to parse recovery blocks synced %q: %w", ErrFileParse, matches[1], err)
+ }
+
+ blocksToBeSynced, err = strconv.ParseInt(blocks[1], 10, 64)
+ if err != nil {
+ return blocksSynced, 0, 0, 0, 0, fmt.Errorf("%w: Unable to parse recovery to be synced blocks %q: %w", ErrFileParse, matches[2], err)
}
// Get percentage complete
matches = recoveryLinePctRE.FindStringSubmatch(recoveryLine)
if len(matches) != 2 {
- return syncedBlocks, 0, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine matching percentage %s", ErrFileParse, recoveryLine)
+ return blocksSynced, blocksToBeSynced, 0, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine matching percentage %s", ErrFileParse, recoveryLine)
}
pct, err = strconv.ParseFloat(strings.TrimSpace(matches[1]), 64)
if err != nil {
- return syncedBlocks, 0, 0, 0, fmt.Errorf("%w: Error parsing float from recoveryLine %q", ErrFileParse, recoveryLine)
+ return blocksSynced, blocksToBeSynced, 0, 0, 0, fmt.Errorf("%w: Error parsing float from recoveryLine %q", ErrFileParse, recoveryLine)
}
// Get time expected left to complete
matches = recoveryLineFinishRE.FindStringSubmatch(recoveryLine)
if len(matches) != 2 {
- return syncedBlocks, pct, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine matching est. finish time: %s", ErrFileParse, recoveryLine)
+ return blocksSynced, blocksToBeSynced, pct, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine matching est. finish time: %s", ErrFileParse, recoveryLine)
}
finish, err = strconv.ParseFloat(matches[1], 64)
if err != nil {
- return syncedBlocks, pct, 0, 0, fmt.Errorf("%w: Unable to parse float from recoveryLine: %q", ErrFileParse, recoveryLine)
+ return blocksSynced, blocksToBeSynced, pct, 0, 0, fmt.Errorf("%w: Unable to parse float from recoveryLine: %q", ErrFileParse, recoveryLine)
}
// Get recovery speed
matches = recoveryLineSpeedRE.FindStringSubmatch(recoveryLine)
if len(matches) != 2 {
- return syncedBlocks, pct, finish, 0, fmt.Errorf("%w: Unexpected recoveryLine value: %s", ErrFileParse, recoveryLine)
+ return blocksSynced, blocksToBeSynced, pct, finish, 0, fmt.Errorf("%w: Unexpected recoveryLine value: %s", ErrFileParse, recoveryLine)
}
speed, err = strconv.ParseFloat(matches[1], 64)
if err != nil {
- return syncedBlocks, pct, finish, 0, fmt.Errorf("%s: Error parsing float from recoveryLine: %q: %w", ErrFileParse, recoveryLine, err)
+ return blocksSynced, blocksToBeSynced, pct, finish, 0, fmt.Errorf("%w: Error parsing float from recoveryLine: %q: %w", ErrFileParse, recoveryLine, err)
}
- return syncedBlocks, pct, finish, speed, nil
+ return blocksSynced, blocksToBeSynced, pct, finish, speed, nil
}
func evalComponentDevices(deviceFields []string) []string {
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/meminfo.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/meminfo.go
index eaf00e2248..4b2c4050a3 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/meminfo.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/meminfo.go
@@ -126,6 +126,7 @@ type Meminfo struct {
VmallocUsed *uint64
// largest contiguous block of vmalloc area which is free
VmallocChunk *uint64
+ Percpu *uint64
HardwareCorrupted *uint64
AnonHugePages *uint64
ShmemHugePages *uint64
@@ -140,6 +141,55 @@ type Meminfo struct {
DirectMap4k *uint64
DirectMap2M *uint64
DirectMap1G *uint64
+
+ // The struct fields below are the byte-normalized counterparts to the
+ // existing struct fields. Values are normalized using the optional
+ // unit field in the meminfo line.
+ MemTotalBytes *uint64
+ MemFreeBytes *uint64
+ MemAvailableBytes *uint64
+ BuffersBytes *uint64
+ CachedBytes *uint64
+ SwapCachedBytes *uint64
+ ActiveBytes *uint64
+ InactiveBytes *uint64
+ ActiveAnonBytes *uint64
+ InactiveAnonBytes *uint64
+ ActiveFileBytes *uint64
+ InactiveFileBytes *uint64
+ UnevictableBytes *uint64
+ MlockedBytes *uint64
+ SwapTotalBytes *uint64
+ SwapFreeBytes *uint64
+ DirtyBytes *uint64
+ WritebackBytes *uint64
+ AnonPagesBytes *uint64
+ MappedBytes *uint64
+ ShmemBytes *uint64
+ SlabBytes *uint64
+ SReclaimableBytes *uint64
+ SUnreclaimBytes *uint64
+ KernelStackBytes *uint64
+ PageTablesBytes *uint64
+ NFSUnstableBytes *uint64
+ BounceBytes *uint64
+ WritebackTmpBytes *uint64
+ CommitLimitBytes *uint64
+ CommittedASBytes *uint64
+ VmallocTotalBytes *uint64
+ VmallocUsedBytes *uint64
+ VmallocChunkBytes *uint64
+ PercpuBytes *uint64
+ HardwareCorruptedBytes *uint64
+ AnonHugePagesBytes *uint64
+ ShmemHugePagesBytes *uint64
+ ShmemPmdMappedBytes *uint64
+ CmaTotalBytes *uint64
+ CmaFreeBytes *uint64
+ HugepagesizeBytes *uint64
+ DirectMap4kBytes *uint64
+ DirectMap2MBytes *uint64
+ DirectMap1GBytes *uint64
}
// Meminfo returns an information about current kernel/system memory statistics.
@@ -152,7 +202,7 @@ func (fs FS) Meminfo() (Meminfo, error) {
m, err := parseMemInfo(bytes.NewReader(b))
if err != nil {
- return Meminfo{}, fmt.Errorf("%s: %w", ErrFileParse, err)
+ return Meminfo{}, fmt.Errorf("%w: %w", ErrFileParse, err)
}
return *m, nil
@@ -162,114 +212,176 @@ func parseMemInfo(r io.Reader) (*Meminfo, error) {
var m Meminfo
s := bufio.NewScanner(r)
for s.Scan() {
- // Each line has at least a name and value; we ignore the unit.
fields := strings.Fields(s.Text())
- if len(fields) < 2 {
- return nil, fmt.Errorf("%w: Malformed line %q", ErrFileParse, s.Text())
- }
+ var val, valBytes uint64
- v, err := strconv.ParseUint(fields[1], 0, 64)
+ val, err := strconv.ParseUint(fields[1], 0, 64)
if err != nil {
return nil, err
}
+ switch len(fields) {
+ case 2:
+ // No unit present, use the parsed the value as bytes directly.
+ valBytes = val
+ case 3:
+ // Unit present in optional 3rd field, convert it to
+ // bytes. The only unit supported within the Linux
+ // kernel is `kB`.
+ if fields[2] != "kB" {
+ return nil, fmt.Errorf("%w: Unsupported unit in optional 3rd field %q", ErrFileParse, fields[2])
+ }
+
+ valBytes = 1024 * val
+
+ default:
+ return nil, fmt.Errorf("%w: Malformed line %q", ErrFileParse, s.Text())
+ }
+
switch fields[0] {
case "MemTotal:":
- m.MemTotal = &v
+ m.MemTotal = &val
+ m.MemTotalBytes = &valBytes
case "MemFree:":
- m.MemFree = &v
+ m.MemFree = &val
+ m.MemFreeBytes = &valBytes
case "MemAvailable:":
- m.MemAvailable = &v
+ m.MemAvailable = &val
+ m.MemAvailableBytes = &valBytes
case "Buffers:":
- m.Buffers = &v
+ m.Buffers = &val
+ m.BuffersBytes = &valBytes
case "Cached:":
- m.Cached = &v
+ m.Cached = &val
+ m.CachedBytes = &valBytes
case "SwapCached:":
- m.SwapCached = &v
+ m.SwapCached = &val
+ m.SwapCachedBytes = &valBytes
case "Active:":
- m.Active = &v
+ m.Active = &val
+ m.ActiveBytes = &valBytes
case "Inactive:":
- m.Inactive = &v
+ m.Inactive = &val
+ m.InactiveBytes = &valBytes
case "Active(anon):":
- m.ActiveAnon = &v
+ m.ActiveAnon = &val
+ m.ActiveAnonBytes = &valBytes
case "Inactive(anon):":
- m.InactiveAnon = &v
+ m.InactiveAnon = &val
+ m.InactiveAnonBytes = &valBytes
case "Active(file):":
- m.ActiveFile = &v
+ m.ActiveFile = &val
+ m.ActiveFileBytes = &valBytes
case "Inactive(file):":
- m.InactiveFile = &v
+ m.InactiveFile = &val
+ m.InactiveFileBytes = &valBytes
case "Unevictable:":
- m.Unevictable = &v
+ m.Unevictable = &val
+ m.UnevictableBytes = &valBytes
case "Mlocked:":
- m.Mlocked = &v
+ m.Mlocked = &val
+ m.MlockedBytes = &valBytes
case "SwapTotal:":
- m.SwapTotal = &v
+ m.SwapTotal = &val
+ m.SwapTotalBytes = &valBytes
case "SwapFree:":
- m.SwapFree = &v
+ m.SwapFree = &val
+ m.SwapFreeBytes = &valBytes
case "Dirty:":
- m.Dirty = &v
+ m.Dirty = &val
+ m.DirtyBytes = &valBytes
case "Writeback:":
- m.Writeback = &v
+ m.Writeback = &val
+ m.WritebackBytes = &valBytes
case "AnonPages:":
- m.AnonPages = &v
+ m.AnonPages = &val
+ m.AnonPagesBytes = &valBytes
case "Mapped:":
- m.Mapped = &v
+ m.Mapped = &val
+ m.MappedBytes = &valBytes
case "Shmem:":
- m.Shmem = &v
+ m.Shmem = &val
+ m.ShmemBytes = &valBytes
case "Slab:":
- m.Slab = &v
+ m.Slab = &val
+ m.SlabBytes = &valBytes
case "SReclaimable:":
- m.SReclaimable = &v
+ m.SReclaimable = &val
+ m.SReclaimableBytes = &valBytes
case "SUnreclaim:":
- m.SUnreclaim = &v
+ m.SUnreclaim = &val
+ m.SUnreclaimBytes = &valBytes
case "KernelStack:":
- m.KernelStack = &v
+ m.KernelStack = &val
+ m.KernelStackBytes = &valBytes
case "PageTables:":
- m.PageTables = &v
+ m.PageTables = &val
+ m.PageTablesBytes = &valBytes
case "NFS_Unstable:":
- m.NFSUnstable = &v
+ m.NFSUnstable = &val
+ m.NFSUnstableBytes = &valBytes
case "Bounce:":
- m.Bounce = &v
+ m.Bounce = &val
+ m.BounceBytes = &valBytes
case "WritebackTmp:":
- m.WritebackTmp = &v
+ m.WritebackTmp = &val
+ m.WritebackTmpBytes = &valBytes
case "CommitLimit:":
- m.CommitLimit = &v
+ m.CommitLimit = &val
+ m.CommitLimitBytes = &valBytes
case "Committed_AS:":
- m.CommittedAS = &v
+ m.CommittedAS = &val
+ m.CommittedASBytes = &valBytes
case "VmallocTotal:":
- m.VmallocTotal = &v
+ m.VmallocTotal = &val
+ m.VmallocTotalBytes = &valBytes
case "VmallocUsed:":
- m.VmallocUsed = &v
+ m.VmallocUsed = &val
+ m.VmallocUsedBytes = &valBytes
case "VmallocChunk:":
- m.VmallocChunk = &v
+ m.VmallocChunk = &val
+ m.VmallocChunkBytes = &valBytes
+ case "Percpu:":
+ m.Percpu = &val
+ m.PercpuBytes = &valBytes
case "HardwareCorrupted:":
- m.HardwareCorrupted = &v
+ m.HardwareCorrupted = &val
+ m.HardwareCorruptedBytes = &valBytes
case "AnonHugePages:":
- m.AnonHugePages = &v
+ m.AnonHugePages = &val
+ m.AnonHugePagesBytes = &valBytes
case "ShmemHugePages:":
- m.ShmemHugePages = &v
+ m.ShmemHugePages = &val
+ m.ShmemHugePagesBytes = &valBytes
case "ShmemPmdMapped:":
- m.ShmemPmdMapped = &v
+ m.ShmemPmdMapped = &val
+ m.ShmemPmdMappedBytes = &valBytes
case "CmaTotal:":
- m.CmaTotal = &v
+ m.CmaTotal = &val
+ m.CmaTotalBytes = &valBytes
case "CmaFree:":
- m.CmaFree = &v
+ m.CmaFree = &val
+ m.CmaFreeBytes = &valBytes
case "HugePages_Total:":
- m.HugePagesTotal = &v
+ m.HugePagesTotal = &val
case "HugePages_Free:":
- m.HugePagesFree = &v
+ m.HugePagesFree = &val
case "HugePages_Rsvd:":
- m.HugePagesRsvd = &v
+ m.HugePagesRsvd = &val
case "HugePages_Surp:":
- m.HugePagesSurp = &v
+ m.HugePagesSurp = &val
case "Hugepagesize:":
- m.Hugepagesize = &v
+ m.Hugepagesize = &val
+ m.HugepagesizeBytes = &valBytes
case "DirectMap4k:":
- m.DirectMap4k = &v
+ m.DirectMap4k = &val
+ m.DirectMap4kBytes = &valBytes
case "DirectMap2M:":
- m.DirectMap2M = &v
+ m.DirectMap2M = &val
+ m.DirectMap2MBytes = &valBytes
case "DirectMap1G:":
- m.DirectMap1G = &v
+ m.DirectMap1G = &val
+ m.DirectMap1GBytes = &valBytes
}
}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountinfo.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountinfo.go
index 388ebf396d..a704c5e735 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountinfo.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountinfo.go
@@ -109,7 +109,7 @@ func parseMountInfoString(mountString string) (*MountInfo, error) {
if mountInfo[6] != "" {
mount.OptionalFields, err = mountOptionsParseOptionalFields(mountInfo[6 : mountInfoLength-4])
if err != nil {
- return nil, fmt.Errorf("%s: %w", ErrFileParse, err)
+ return nil, fmt.Errorf("%w: %w", ErrFileParse, err)
}
}
return mount, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountstats.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountstats.go
index 9d8af6db74..75a3b6c810 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountstats.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/mountstats.go
@@ -88,7 +88,7 @@ type MountStatsNFS struct {
// Statistics broken down by filesystem operation.
Operations []NFSOperationStats
// Statistics about the NFS RPC transport.
- Transport NFSTransportStats
+ Transport []NFSTransportStats
}
// mountStats implements MountStats.
@@ -194,8 +194,6 @@ type NFSOperationStats struct {
CumulativeTotalResponseMilliseconds uint64
// Duration from when a request was enqueued to when it was completely handled.
CumulativeTotalRequestMilliseconds uint64
- // The average time from the point the client sends RPC requests until it receives the response.
- AverageRTTMilliseconds float64
// The count of operations that complete with tk_status < 0. These statuses usually indicate error conditions.
Errors uint64
}
@@ -434,7 +432,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e
return nil, err
}
- stats.Transport = *tstats
+ stats.Transport = append(stats.Transport, *tstats)
}
// When encountering "per-operation statistics", we must break this
@@ -582,9 +580,6 @@ func parseNFSOperationStats(s *bufio.Scanner) ([]NFSOperationStats, error) {
CumulativeTotalResponseMilliseconds: ns[6],
CumulativeTotalRequestMilliseconds: ns[7],
}
- if ns[0] != 0 {
- opStats.AverageRTTMilliseconds = float64(ns[6]) / float64(ns[0])
- }
if len(ns) > 8 {
opStats.Errors = ns[8]
@@ -632,7 +627,7 @@ func parseNFSTransportStats(ss []string, statVersion string) (*NFSTransportStats
return nil, fmt.Errorf("%w: invalid NFS transport stats 1.1 statement: %v, protocol: %v", ErrFileParse, ss, protocol)
}
default:
- return nil, fmt.Errorf("%s: Unrecognized NFS transport stats version: %q, protocol: %v", ErrFileParse, statVersion, protocol)
+ return nil, fmt.Errorf("%w: Unrecognized NFS transport stats version: %q, protocol: %v", ErrFileParse, statVersion, protocol)
}
// Allocate enough for v1.1 stats since zero value for v1.1 stats will be okay
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_conntrackstat.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_conntrackstat.go
index fdfa456119..316df5fbb7 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_conntrackstat.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_conntrackstat.go
@@ -58,7 +58,7 @@ func readConntrackStat(path string) ([]ConntrackStatEntry, error) {
stat, err := parseConntrackStat(bytes.NewReader(b))
if err != nil {
- return nil, fmt.Errorf("%s: Cannot read file: %v: %w", ErrFileRead, path, err)
+ return nil, fmt.Errorf("%w: Cannot read file: %v: %w", ErrFileRead, path, err)
}
return stat, nil
@@ -86,7 +86,7 @@ func parseConntrackStat(r io.Reader) ([]ConntrackStatEntry, error) {
func parseConntrackStatEntry(fields []string) (*ConntrackStatEntry, error) {
entries, err := util.ParseHexUint64s(fields)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse entry: %d: %w", ErrFileParse, entries, err)
+ return nil, fmt.Errorf("%w: Cannot parse entry: %d: %w", ErrFileParse, entries, err)
}
numEntries := len(entries)
if numEntries < 16 || numEntries > 17 {
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_ip_socket.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_ip_socket.go
index 4da81ea577..b70f1fc7a4 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_ip_socket.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_ip_socket.go
@@ -50,10 +50,13 @@ type (
// UsedSockets shows the total number of parsed lines representing the
// number of used sockets.
UsedSockets uint64
+ // Drops shows the total number of dropped packets of all UPD sockets.
+ Drops *uint64
}
// netIPSocketLine represents the fields parsed from a single line
// in /proc/net/{t,u}dp{,6}. Fields which are not used by IPSocket are skipped.
+ // Drops is non-nil for udp{,6}, but nil for tcp{,6}.
// For the proc file format details, see https://linux.die.net/man/5/proc.
netIPSocketLine struct {
Sl uint64
@@ -66,6 +69,7 @@ type (
RxQueue uint64
UID uint64
Inode uint64
+ Drops *uint64
}
)
@@ -77,13 +81,14 @@ func newNetIPSocket(file string) (NetIPSocket, error) {
defer f.Close()
var netIPSocket NetIPSocket
+ isUDP := strings.Contains(file, "udp")
lr := io.LimitReader(f, readLimit)
s := bufio.NewScanner(lr)
s.Scan() // skip first line with headers
for s.Scan() {
fields := strings.Fields(s.Text())
- line, err := parseNetIPSocketLine(fields)
+ line, err := parseNetIPSocketLine(fields, isUDP)
if err != nil {
return nil, err
}
@@ -104,19 +109,25 @@ func newNetIPSocketSummary(file string) (*NetIPSocketSummary, error) {
defer f.Close()
var netIPSocketSummary NetIPSocketSummary
+ var udpPacketDrops uint64
+ isUDP := strings.Contains(file, "udp")
lr := io.LimitReader(f, readLimit)
s := bufio.NewScanner(lr)
s.Scan() // skip first line with headers
for s.Scan() {
fields := strings.Fields(s.Text())
- line, err := parseNetIPSocketLine(fields)
+ line, err := parseNetIPSocketLine(fields, isUDP)
if err != nil {
return nil, err
}
netIPSocketSummary.TxQueueLength += line.TxQueue
netIPSocketSummary.RxQueueLength += line.RxQueue
netIPSocketSummary.UsedSockets++
+ if isUDP {
+ udpPacketDrops += *line.Drops
+ netIPSocketSummary.Drops = &udpPacketDrops
+ }
}
if err := s.Err(); err != nil {
return nil, err
@@ -130,7 +141,7 @@ func parseIP(hexIP string) (net.IP, error) {
var byteIP []byte
byteIP, err := hex.DecodeString(hexIP)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse socket field in %q: %w", ErrFileParse, hexIP, err)
+ return nil, fmt.Errorf("%w: Cannot parse socket field in %q: %w", ErrFileParse, hexIP, err)
}
switch len(byteIP) {
case 4:
@@ -144,12 +155,12 @@ func parseIP(hexIP string) (net.IP, error) {
}
return i, nil
default:
- return nil, fmt.Errorf("%s: Unable to parse IP %s: %w", ErrFileParse, hexIP, nil)
+ return nil, fmt.Errorf("%w: Unable to parse IP %s: %v", ErrFileParse, hexIP, nil)
}
}
// parseNetIPSocketLine parses a single line, represented by a list of fields.
-func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) {
+func parseNetIPSocketLine(fields []string, isUDP bool) (*netIPSocketLine, error) {
line := &netIPSocketLine{}
if len(fields) < 10 {
return nil, fmt.Errorf(
@@ -167,7 +178,7 @@ func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) {
}
if line.Sl, err = strconv.ParseUint(s[0], 0, 64); err != nil {
- return nil, fmt.Errorf("%s: Unable to parse sl field in %q: %w", ErrFileParse, line.Sl, err)
+ return nil, fmt.Errorf("%w: Unable to parse sl field in %q: %w", ErrFileParse, line.Sl, err)
}
// local_address
l := strings.Split(fields[1], ":")
@@ -178,7 +189,7 @@ func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) {
return nil, err
}
if line.LocalPort, err = strconv.ParseUint(l[1], 16, 64); err != nil {
- return nil, fmt.Errorf("%s: Unable to parse local_address port value line %q: %w", ErrFileParse, line.LocalPort, err)
+ return nil, fmt.Errorf("%w: Unable to parse local_address port value line %q: %w", ErrFileParse, line.LocalPort, err)
}
// remote_address
@@ -190,12 +201,12 @@ func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) {
return nil, err
}
if line.RemPort, err = strconv.ParseUint(r[1], 16, 64); err != nil {
- return nil, fmt.Errorf("%s: Cannot parse rem_address port value in %q: %w", ErrFileParse, line.RemPort, err)
+ return nil, fmt.Errorf("%w: Cannot parse rem_address port value in %q: %w", ErrFileParse, line.RemPort, err)
}
// st
if line.St, err = strconv.ParseUint(fields[3], 16, 64); err != nil {
- return nil, fmt.Errorf("%s: Cannot parse st value in %q: %w", ErrFileParse, line.St, err)
+ return nil, fmt.Errorf("%w: Cannot parse st value in %q: %w", ErrFileParse, line.St, err)
}
// tx_queue and rx_queue
@@ -208,20 +219,29 @@ func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) {
)
}
if line.TxQueue, err = strconv.ParseUint(q[0], 16, 64); err != nil {
- return nil, fmt.Errorf("%s: Cannot parse tx_queue value in %q: %w", ErrFileParse, line.TxQueue, err)
+ return nil, fmt.Errorf("%w: Cannot parse tx_queue value in %q: %w", ErrFileParse, line.TxQueue, err)
}
if line.RxQueue, err = strconv.ParseUint(q[1], 16, 64); err != nil {
- return nil, fmt.Errorf("%s: Cannot parse trx_queue value in %q: %w", ErrFileParse, line.RxQueue, err)
+ return nil, fmt.Errorf("%w: Cannot parse trx_queue value in %q: %w", ErrFileParse, line.RxQueue, err)
}
// uid
if line.UID, err = strconv.ParseUint(fields[7], 0, 64); err != nil {
- return nil, fmt.Errorf("%s: Cannot parse UID value in %q: %w", ErrFileParse, line.UID, err)
+ return nil, fmt.Errorf("%w: Cannot parse UID value in %q: %w", ErrFileParse, line.UID, err)
}
// inode
if line.Inode, err = strconv.ParseUint(fields[9], 0, 64); err != nil {
- return nil, fmt.Errorf("%s: Cannot parse inode value in %q: %w", ErrFileParse, line.Inode, err)
+ return nil, fmt.Errorf("%w: Cannot parse inode value in %q: %w", ErrFileParse, line.Inode, err)
+ }
+
+ // drops
+ if isUDP {
+ drops, err := strconv.ParseUint(fields[12], 0, 64)
+ if err != nil {
+ return nil, fmt.Errorf("%w: Cannot parse drops value in %q: %w", ErrFileParse, drops, err)
+ }
+ line.Drops = &drops
}
return line, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_sockstat.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_sockstat.go
index 360e36af7d..fae62b13d9 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_sockstat.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_sockstat.go
@@ -69,7 +69,7 @@ func readSockstat(name string) (*NetSockstat, error) {
stat, err := parseSockstat(bytes.NewReader(b))
if err != nil {
- return nil, fmt.Errorf("%s: sockstats from %q: %w", ErrFileRead, name, err)
+ return nil, fmt.Errorf("%w: sockstats from %q: %w", ErrFileRead, name, err)
}
return stat, nil
@@ -89,7 +89,7 @@ func parseSockstat(r io.Reader) (*NetSockstat, error) {
// The remaining fields are key/value pairs.
kvs, err := parseSockstatKVs(fields[1:])
if err != nil {
- return nil, fmt.Errorf("%s: sockstat key/value pairs from %q: %w", ErrFileParse, s.Text(), err)
+ return nil, fmt.Errorf("%w: sockstat key/value pairs from %q: %w", ErrFileParse, s.Text(), err)
}
// The first field is the protocol. We must trim its colon suffix.
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_softnet.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_softnet.go
index c770852919..71c8059f4d 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_softnet.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_softnet.go
@@ -64,7 +64,7 @@ func (fs FS) NetSoftnetStat() ([]SoftnetStat, error) {
entries, err := parseSoftnet(bytes.NewReader(b))
if err != nil {
- return nil, fmt.Errorf("%s: /proc/net/softnet_stat: %w", ErrFileParse, err)
+ return nil, fmt.Errorf("%w: /proc/net/softnet_stat: %w", ErrFileParse, err)
}
return entries, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_tls_stat.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_tls_stat.go
new file mode 100644
index 0000000000..13994c1782
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_tls_stat.go
@@ -0,0 +1,119 @@
+// Copyright 2023 Prometheus Team
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package procfs
+
+import (
+ "bufio"
+ "fmt"
+ "os"
+ "strconv"
+ "strings"
+)
+
+// TLSStat struct represents data in /proc/net/tls_stat.
+// See https://docs.kernel.org/networking/tls.html#statistics
+type TLSStat struct {
+ // number of TX sessions currently installed where host handles cryptography
+ TLSCurrTxSw int
+ // number of RX sessions currently installed where host handles cryptography
+ TLSCurrRxSw int
+ // number of TX sessions currently installed where NIC handles cryptography
+ TLSCurrTxDevice int
+ // number of RX sessions currently installed where NIC handles cryptography
+ TLSCurrRxDevice int
+ //number of TX sessions opened with host cryptography
+ TLSTxSw int
+ //number of RX sessions opened with host cryptography
+ TLSRxSw int
+ // number of TX sessions opened with NIC cryptography
+ TLSTxDevice int
+ // number of RX sessions opened with NIC cryptography
+ TLSRxDevice int
+ // record decryption failed (e.g. due to incorrect authentication tag)
+ TLSDecryptError int
+ // number of RX resyncs sent to NICs handling cryptography
+ TLSRxDeviceResync int
+ // number of RX records which had to be re-decrypted due to TLS_RX_EXPECT_NO_PAD mis-prediction. Note that this counter will also increment for non-data records.
+ TLSDecryptRetry int
+ // number of data RX records which had to be re-decrypted due to TLS_RX_EXPECT_NO_PAD mis-prediction.
+ TLSRxNoPadViolation int
+}
+
+// NewTLSStat reads the tls_stat statistics.
+func NewTLSStat() (TLSStat, error) {
+ fs, err := NewFS(DefaultMountPoint)
+ if err != nil {
+ return TLSStat{}, err
+ }
+
+ return fs.NewTLSStat()
+}
+
+// NewTLSStat reads the tls_stat statistics.
+func (fs FS) NewTLSStat() (TLSStat, error) {
+ file, err := os.Open(fs.proc.Path("net/tls_stat"))
+ if err != nil {
+ return TLSStat{}, err
+ }
+ defer file.Close()
+
+ var (
+ tlsstat = TLSStat{}
+ s = bufio.NewScanner(file)
+ )
+
+ for s.Scan() {
+ fields := strings.Fields(s.Text())
+
+ if len(fields) != 2 {
+ return TLSStat{}, fmt.Errorf("%w: %q line %q", ErrFileParse, file.Name(), s.Text())
+ }
+
+ name := fields[0]
+ value, err := strconv.Atoi(fields[1])
+ if err != nil {
+ return TLSStat{}, err
+ }
+
+ switch name {
+ case "TlsCurrTxSw":
+ tlsstat.TLSCurrTxSw = value
+ case "TlsCurrRxSw":
+ tlsstat.TLSCurrRxSw = value
+ case "TlsCurrTxDevice":
+ tlsstat.TLSCurrTxDevice = value
+ case "TlsCurrRxDevice":
+ tlsstat.TLSCurrRxDevice = value
+ case "TlsTxSw":
+ tlsstat.TLSTxSw = value
+ case "TlsRxSw":
+ tlsstat.TLSRxSw = value
+ case "TlsTxDevice":
+ tlsstat.TLSTxDevice = value
+ case "TlsRxDevice":
+ tlsstat.TLSRxDevice = value
+ case "TlsDecryptError":
+ tlsstat.TLSDecryptError = value
+ case "TlsRxDeviceResync":
+ tlsstat.TLSRxDeviceResync = value
+ case "TlsDecryptRetry":
+ tlsstat.TLSDecryptRetry = value
+ case "TlsRxNoPadViolation":
+ tlsstat.TLSRxNoPadViolation = value
+ }
+
+ }
+
+ return tlsstat, s.Err()
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_unix.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_unix.go
index acbbc57eab..d868cebdaa 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_unix.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_unix.go
@@ -108,14 +108,14 @@ func parseNetUNIX(r io.Reader) (*NetUNIX, error) {
line := s.Text()
item, err := nu.parseLine(line, hasInode, minFields)
if err != nil {
- return nil, fmt.Errorf("%s: /proc/net/unix encountered data %q: %w", ErrFileParse, line, err)
+ return nil, fmt.Errorf("%w: /proc/net/unix encountered data %q: %w", ErrFileParse, line, err)
}
nu.Rows = append(nu.Rows, item)
}
if err := s.Err(); err != nil {
- return nil, fmt.Errorf("%s: /proc/net/unix encountered data: %w", ErrFileParse, err)
+ return nil, fmt.Errorf("%w: /proc/net/unix encountered data: %w", ErrFileParse, err)
}
return &nu, nil
@@ -136,29 +136,29 @@ func (u *NetUNIX) parseLine(line string, hasInode bool, min int) (*NetUNIXLine,
users, err := u.parseUsers(fields[1])
if err != nil {
- return nil, fmt.Errorf("%s: ref count %q: %w", ErrFileParse, fields[1], err)
+ return nil, fmt.Errorf("%w: ref count %q: %w", ErrFileParse, fields[1], err)
}
flags, err := u.parseFlags(fields[3])
if err != nil {
- return nil, fmt.Errorf("%s: Unable to parse flags %q: %w", ErrFileParse, fields[3], err)
+ return nil, fmt.Errorf("%w: Unable to parse flags %q: %w", ErrFileParse, fields[3], err)
}
typ, err := u.parseType(fields[4])
if err != nil {
- return nil, fmt.Errorf("%s: Failed to parse type %q: %w", ErrFileParse, fields[4], err)
+ return nil, fmt.Errorf("%w: Failed to parse type %q: %w", ErrFileParse, fields[4], err)
}
state, err := u.parseState(fields[5])
if err != nil {
- return nil, fmt.Errorf("%s: Failed to parse state %q: %w", ErrFileParse, fields[5], err)
+ return nil, fmt.Errorf("%w: Failed to parse state %q: %w", ErrFileParse, fields[5], err)
}
var inode uint64
if hasInode {
inode, err = u.parseInode(fields[6])
if err != nil {
- return nil, fmt.Errorf("%s failed to parse inode %q: %w", ErrFileParse, fields[6], err)
+ return nil, fmt.Errorf("%w failed to parse inode %q: %w", ErrFileParse, fields[6], err)
}
}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_wireless.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_wireless.go
index 7443edca94..7c597bc870 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_wireless.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/net_wireless.go
@@ -68,7 +68,7 @@ func (fs FS) Wireless() ([]*Wireless, error) {
m, err := parseWireless(bytes.NewReader(b))
if err != nil {
- return nil, fmt.Errorf("%s: wireless: %w", ErrFileParse, err)
+ return nil, fmt.Errorf("%w: wireless: %w", ErrFileParse, err)
}
return m, nil
@@ -114,47 +114,47 @@ func parseWireless(r io.Reader) ([]*Wireless, error) {
qlink, err := strconv.Atoi(strings.TrimSuffix(stats[1], "."))
if err != nil {
- return nil, fmt.Errorf("%s: parse Quality:link as integer %q: %w", ErrFileParse, qlink, err)
+ return nil, fmt.Errorf("%w: parse Quality:link as integer %q: %w", ErrFileParse, qlink, err)
}
qlevel, err := strconv.Atoi(strings.TrimSuffix(stats[2], "."))
if err != nil {
- return nil, fmt.Errorf("%s: Quality:level as integer %q: %w", ErrFileParse, qlevel, err)
+ return nil, fmt.Errorf("%w: Quality:level as integer %q: %w", ErrFileParse, qlevel, err)
}
qnoise, err := strconv.Atoi(strings.TrimSuffix(stats[3], "."))
if err != nil {
- return nil, fmt.Errorf("%s: Quality:noise as integer %q: %w", ErrFileParse, qnoise, err)
+ return nil, fmt.Errorf("%w: Quality:noise as integer %q: %w", ErrFileParse, qnoise, err)
}
dnwid, err := strconv.Atoi(stats[4])
if err != nil {
- return nil, fmt.Errorf("%s: Discarded:nwid as integer %q: %w", ErrFileParse, dnwid, err)
+ return nil, fmt.Errorf("%w: Discarded:nwid as integer %q: %w", ErrFileParse, dnwid, err)
}
dcrypt, err := strconv.Atoi(stats[5])
if err != nil {
- return nil, fmt.Errorf("%s: Discarded:crypt as integer %q: %w", ErrFileParse, dcrypt, err)
+ return nil, fmt.Errorf("%w: Discarded:crypt as integer %q: %w", ErrFileParse, dcrypt, err)
}
dfrag, err := strconv.Atoi(stats[6])
if err != nil {
- return nil, fmt.Errorf("%s: Discarded:frag as integer %q: %w", ErrFileParse, dfrag, err)
+ return nil, fmt.Errorf("%w: Discarded:frag as integer %q: %w", ErrFileParse, dfrag, err)
}
dretry, err := strconv.Atoi(stats[7])
if err != nil {
- return nil, fmt.Errorf("%s: Discarded:retry as integer %q: %w", ErrFileParse, dretry, err)
+ return nil, fmt.Errorf("%w: Discarded:retry as integer %q: %w", ErrFileParse, dretry, err)
}
dmisc, err := strconv.Atoi(stats[8])
if err != nil {
- return nil, fmt.Errorf("%s: Discarded:misc as integer %q: %w", ErrFileParse, dmisc, err)
+ return nil, fmt.Errorf("%w: Discarded:misc as integer %q: %w", ErrFileParse, dmisc, err)
}
mbeacon, err := strconv.Atoi(stats[9])
if err != nil {
- return nil, fmt.Errorf("%s: Missed:beacon as integer %q: %w", ErrFileParse, mbeacon, err)
+ return nil, fmt.Errorf("%w: Missed:beacon as integer %q: %w", ErrFileParse, mbeacon, err)
}
w := &Wireless{
@@ -175,7 +175,7 @@ func parseWireless(r io.Reader) ([]*Wireless, error) {
}
if err := scanner.Err(); err != nil {
- return nil, fmt.Errorf("%s: Failed to scan /proc/net/wireless: %w", ErrFileRead, err)
+ return nil, fmt.Errorf("%w: Failed to scan /proc/net/wireless: %w", ErrFileRead, err)
}
return interfaces, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc.go
index d1f71caa5d..142796368f 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc.go
@@ -111,7 +111,7 @@ func (fs FS) AllProcs() (Procs, error) {
names, err := d.Readdirnames(-1)
if err != nil {
- return Procs{}, fmt.Errorf("%s: Cannot read file: %v: %w", ErrFileRead, names, err)
+ return Procs{}, fmt.Errorf("%w: Cannot read file: %v: %w", ErrFileRead, names, err)
}
p := Procs{}
@@ -137,7 +137,7 @@ func (p Proc) CmdLine() ([]string, error) {
return []string{}, nil
}
- return strings.Split(string(bytes.TrimRight(data, string("\x00"))), string(byte(0))), nil
+ return strings.Split(string(bytes.TrimRight(data, "\x00")), "\x00"), nil
}
// Wchan returns the wchan (wait channel) of a process.
@@ -212,7 +212,7 @@ func (p Proc) FileDescriptors() ([]uintptr, error) {
for i, n := range names {
fd, err := strconv.ParseInt(n, 10, 32)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot parse line: %v: %w", ErrFileParse, i, err)
+ return nil, fmt.Errorf("%w: Cannot parse line: %v: %w", ErrFileParse, i, err)
}
fds[i] = uintptr(fd)
}
@@ -297,7 +297,7 @@ func (p Proc) fileDescriptors() ([]string, error) {
names, err := d.Readdirnames(-1)
if err != nil {
- return nil, fmt.Errorf("%s: Cannot read file: %v: %w", ErrFileRead, names, err)
+ return nil, fmt.Errorf("%w: Cannot read file: %v: %w", ErrFileRead, names, err)
}
return names, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_limits.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_limits.go
index c86d815d73..9530b14bc6 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_limits.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_limits.go
@@ -154,7 +154,7 @@ func parseUint(s string) (uint64, error) {
}
i, err := strconv.ParseUint(s, 10, 64)
if err != nil {
- return 0, fmt.Errorf("%s: couldn't parse value %q: %w", ErrFileParse, s, err)
+ return 0, fmt.Errorf("%w: couldn't parse value %q: %w", ErrFileParse, s, err)
}
return i, nil
}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_ns.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_ns.go
index c22666750f..0f8f847f95 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_ns.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_ns.go
@@ -40,7 +40,7 @@ func (p Proc) Namespaces() (Namespaces, error) {
names, err := d.Readdirnames(-1)
if err != nil {
- return nil, fmt.Errorf("%s: failed to read contents of ns dir: %w", ErrFileRead, err)
+ return nil, fmt.Errorf("%w: failed to read contents of ns dir: %w", ErrFileRead, err)
}
ns := make(Namespaces, len(names))
@@ -58,7 +58,7 @@ func (p Proc) Namespaces() (Namespaces, error) {
typ := fields[0]
inode, err := strconv.ParseUint(strings.Trim(fields[1], "[]"), 10, 32)
if err != nil {
- return nil, fmt.Errorf("%s: inode from %q: %w", ErrFileParse, fields[1], err)
+ return nil, fmt.Errorf("%w: inode from %q: %w", ErrFileParse, fields[1], err)
}
ns[name] = Namespace{typ, uint32(inode)}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_psi.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_psi.go
index fe9dbb425f..ccd35f153a 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_psi.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_psi.go
@@ -61,7 +61,7 @@ type PSIStats struct {
func (fs FS) PSIStatsForResource(resource string) (PSIStats, error) {
data, err := util.ReadFileNoStat(fs.proc.Path(fmt.Sprintf("%s/%s", "pressure", resource)))
if err != nil {
- return PSIStats{}, fmt.Errorf("%s: psi_stats: unavailable for %q: %w", ErrFileRead, resource, err)
+ return PSIStats{}, fmt.Errorf("%w: psi_stats: unavailable for %q: %w", ErrFileRead, resource, err)
}
return parsePSIStats(bytes.NewReader(data))
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_smaps.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_smaps.go
index ad8785a407..09060e8208 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_smaps.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_smaps.go
@@ -127,7 +127,7 @@ func (s *ProcSMapsRollup) parseLine(line string) error {
}
v := strings.TrimSpace(kv[1])
- v = strings.TrimRight(v, " kB")
+ v = strings.TrimSuffix(v, " kB")
vKBytes, err := strconv.ParseUint(v, 10, 64)
if err != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_stat.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_stat.go
index 923e55005b..06a8d931c9 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_stat.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_stat.go
@@ -110,6 +110,11 @@ type ProcStat struct {
Policy uint
// Aggregated block I/O delays, measured in clock ticks (centiseconds).
DelayAcctBlkIOTicks uint64
+ // Guest time of the process (time spent running a virtual CPU for a guest
+ // operating system), measured in clock ticks.
+ GuestTime int
+ // Guest time of the process's children, measured in clock ticks.
+ CGuestTime int
proc FS
}
@@ -189,6 +194,8 @@ func (p Proc) Stat() (ProcStat, error) {
&s.RTPriority,
&s.Policy,
&s.DelayAcctBlkIOTicks,
+ &s.GuestTime,
+ &s.CGuestTime,
)
if err != nil {
return ProcStat{}, err
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_status.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_status.go
index 46307f5721..a055197c63 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_status.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_status.go
@@ -15,6 +15,7 @@ package procfs
import (
"bytes"
+ "math/bits"
"sort"
"strconv"
"strings"
@@ -76,9 +77,9 @@ type ProcStatus struct {
NonVoluntaryCtxtSwitches uint64
// UIDs of the process (Real, effective, saved set, and filesystem UIDs)
- UIDs [4]string
+ UIDs [4]uint64
// GIDs of the process (Real, effective, saved set, and filesystem GIDs)
- GIDs [4]string
+ GIDs [4]uint64
// CpusAllowedList: List of cpu cores processes are allowed to run on.
CpusAllowedList []uint64
@@ -113,22 +114,37 @@ func (p Proc) NewStatus() (ProcStatus, error) {
// convert kB to B
vBytes := vKBytes * 1024
- s.fillStatus(k, v, vKBytes, vBytes)
+ err = s.fillStatus(k, v, vKBytes, vBytes)
+ if err != nil {
+ return ProcStatus{}, err
+ }
}
return s, nil
}
-func (s *ProcStatus) fillStatus(k string, vString string, vUint uint64, vUintBytes uint64) {
+func (s *ProcStatus) fillStatus(k string, vString string, vUint uint64, vUintBytes uint64) error {
switch k {
case "Tgid":
s.TGID = int(vUint)
case "Name":
s.Name = vString
case "Uid":
- copy(s.UIDs[:], strings.Split(vString, "\t"))
+ var err error
+ for i, v := range strings.Split(vString, "\t") {
+ s.UIDs[i], err = strconv.ParseUint(v, 10, bits.UintSize)
+ if err != nil {
+ return err
+ }
+ }
case "Gid":
- copy(s.GIDs[:], strings.Split(vString, "\t"))
+ var err error
+ for i, v := range strings.Split(vString, "\t") {
+ s.GIDs[i], err = strconv.ParseUint(v, 10, bits.UintSize)
+ if err != nil {
+ return err
+ }
+ }
case "NSpid":
s.NSpids = calcNSPidsList(vString)
case "VmPeak":
@@ -173,6 +189,7 @@ func (s *ProcStatus) fillStatus(k string, vString string, vUint uint64, vUintByt
s.CpusAllowedList = calcCpusAllowedList(vString)
}
+ return nil
}
// TotalCtxtSwitches returns the total context switch.
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_sys.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_sys.go
index 12c5bf05b7..5eefbe2ef8 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_sys.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/proc_sys.go
@@ -44,7 +44,7 @@ func (fs FS) SysctlInts(sysctl string) ([]int, error) {
vp := util.NewValueParser(f)
values[i] = vp.Int()
if err := vp.Err(); err != nil {
- return nil, fmt.Errorf("%s: field %d in sysctl %s is not a valid int: %w", ErrFileParse, i, sysctl, err)
+ return nil, fmt.Errorf("%w: field %d in sysctl %s is not a valid int: %w", ErrFileParse, i, sysctl, err)
}
}
return values, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/softirqs.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/softirqs.go
index b8fad677dc..28708e0745 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/softirqs.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/softirqs.go
@@ -74,7 +74,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.Hi = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.Hi[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (HI%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (HI%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "TIMER:":
@@ -82,7 +82,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.Timer = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.Timer[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (TIMER%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (TIMER%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "NET_TX:":
@@ -90,7 +90,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.NetTx = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.NetTx[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (NET_TX%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (NET_TX%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "NET_RX:":
@@ -98,7 +98,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.NetRx = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.NetRx[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (NET_RX%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (NET_RX%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "BLOCK:":
@@ -106,7 +106,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.Block = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.Block[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (BLOCK%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (BLOCK%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "IRQ_POLL:":
@@ -114,7 +114,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.IRQPoll = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.IRQPoll[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (IRQ_POLL%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (IRQ_POLL%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "TASKLET:":
@@ -122,7 +122,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.Tasklet = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.Tasklet[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (TASKLET%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (TASKLET%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "SCHED:":
@@ -130,7 +130,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.Sched = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.Sched[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (SCHED%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (SCHED%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "HRTIMER:":
@@ -138,7 +138,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.HRTimer = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.HRTimer[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (HRTIMER%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (HRTIMER%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "RCU:":
@@ -146,14 +146,14 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) {
softirqs.RCU = make([]uint64, len(perCPU))
for i, count := range perCPU {
if softirqs.RCU[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (RCU%d): %w", ErrFileParse, count, i, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse %q (RCU%d): %w", ErrFileParse, count, i, err)
}
}
}
}
if err := scanner.Err(); err != nil {
- return Softirqs{}, fmt.Errorf("%s: couldn't parse softirqs: %w", ErrFileParse, err)
+ return Softirqs{}, fmt.Errorf("%w: couldn't parse softirqs: %w", ErrFileParse, err)
}
return softirqs, scanner.Err()
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/stat.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/stat.go
index 34fc3ee21b..e36b41c18a 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/stat.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/stat.go
@@ -93,7 +93,7 @@ func parseCPUStat(line string) (CPUStat, int64, error) {
&cpuStat.Guest, &cpuStat.GuestNice)
if err != nil && err != io.EOF {
- return CPUStat{}, -1, fmt.Errorf("%s: couldn't parse %q (cpu): %w", ErrFileParse, line, err)
+ return CPUStat{}, -1, fmt.Errorf("%w: couldn't parse %q (cpu): %w", ErrFileParse, line, err)
}
if count == 0 {
return CPUStat{}, -1, fmt.Errorf("%w: couldn't parse %q (cpu): 0 elements parsed", ErrFileParse, line)
@@ -116,7 +116,7 @@ func parseCPUStat(line string) (CPUStat, int64, error) {
cpuID, err := strconv.ParseInt(cpu[3:], 10, 64)
if err != nil {
- return CPUStat{}, -1, fmt.Errorf("%s: couldn't parse %q (cpu/cpuid): %w", ErrFileParse, line, err)
+ return CPUStat{}, -1, fmt.Errorf("%w: couldn't parse %q (cpu/cpuid): %w", ErrFileParse, line, err)
}
return cpuStat, cpuID, nil
@@ -136,7 +136,7 @@ func parseSoftIRQStat(line string) (SoftIRQStat, uint64, error) {
&softIRQStat.Hrtimer, &softIRQStat.Rcu)
if err != nil {
- return SoftIRQStat{}, 0, fmt.Errorf("%s: couldn't parse %q (softirq): %w", ErrFileParse, line, err)
+ return SoftIRQStat{}, 0, fmt.Errorf("%w: couldn't parse %q (softirq): %w", ErrFileParse, line, err)
}
return softIRQStat, total, nil
@@ -201,34 +201,34 @@ func parseStat(r io.Reader, fileName string) (Stat, error) {
switch {
case parts[0] == "btime":
if stat.BootTime, err = strconv.ParseUint(parts[1], 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (btime): %w", ErrFileParse, parts[1], err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (btime): %w", ErrFileParse, parts[1], err)
}
case parts[0] == "intr":
if stat.IRQTotal, err = strconv.ParseUint(parts[1], 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (intr): %w", ErrFileParse, parts[1], err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (intr): %w", ErrFileParse, parts[1], err)
}
numberedIRQs := parts[2:]
stat.IRQ = make([]uint64, len(numberedIRQs))
for i, count := range numberedIRQs {
if stat.IRQ[i], err = strconv.ParseUint(count, 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (intr%d): %w", ErrFileParse, count, i, err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (intr%d): %w", ErrFileParse, count, i, err)
}
}
case parts[0] == "ctxt":
if stat.ContextSwitches, err = strconv.ParseUint(parts[1], 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (ctxt): %w", ErrFileParse, parts[1], err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (ctxt): %w", ErrFileParse, parts[1], err)
}
case parts[0] == "processes":
if stat.ProcessCreated, err = strconv.ParseUint(parts[1], 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (processes): %w", ErrFileParse, parts[1], err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (processes): %w", ErrFileParse, parts[1], err)
}
case parts[0] == "procs_running":
if stat.ProcessesRunning, err = strconv.ParseUint(parts[1], 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (procs_running): %w", ErrFileParse, parts[1], err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (procs_running): %w", ErrFileParse, parts[1], err)
}
case parts[0] == "procs_blocked":
if stat.ProcessesBlocked, err = strconv.ParseUint(parts[1], 10, 64); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q (procs_blocked): %w", ErrFileParse, parts[1], err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q (procs_blocked): %w", ErrFileParse, parts[1], err)
}
case parts[0] == "softirq":
softIRQStats, total, err := parseSoftIRQStat(line)
@@ -251,7 +251,7 @@ func parseStat(r io.Reader, fileName string) (Stat, error) {
}
if err := scanner.Err(); err != nil {
- return Stat{}, fmt.Errorf("%s: couldn't parse %q: %w", ErrFileParse, fileName, err)
+ return Stat{}, fmt.Errorf("%w: couldn't parse %q: %w", ErrFileParse, fileName, err)
}
return stat, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/swaps.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/swaps.go
index fa00f555db..65fec834bf 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/swaps.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/swaps.go
@@ -74,15 +74,15 @@ func parseSwapString(swapString string) (*Swap, error) {
swap.Size, err = strconv.Atoi(swapFields[2])
if err != nil {
- return nil, fmt.Errorf("%s: invalid swap size: %s: %w", ErrFileParse, swapFields[2], err)
+ return nil, fmt.Errorf("%w: invalid swap size: %s: %w", ErrFileParse, swapFields[2], err)
}
swap.Used, err = strconv.Atoi(swapFields[3])
if err != nil {
- return nil, fmt.Errorf("%s: invalid swap used: %s: %w", ErrFileParse, swapFields[3], err)
+ return nil, fmt.Errorf("%w: invalid swap used: %s: %w", ErrFileParse, swapFields[3], err)
}
swap.Priority, err = strconv.Atoi(swapFields[4])
if err != nil {
- return nil, fmt.Errorf("%s: invalid swap priority: %s: %w", ErrFileParse, swapFields[4], err)
+ return nil, fmt.Errorf("%w: invalid swap priority: %s: %w", ErrFileParse, swapFields[4], err)
}
return swap, nil
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/thread.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/thread.go
index df2215ece0..80e0e947be 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/thread.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/thread.go
@@ -45,7 +45,7 @@ func (fs FS) AllThreads(pid int) (Procs, error) {
names, err := d.Readdirnames(-1)
if err != nil {
- return Procs{}, fmt.Errorf("%s: could not read %q: %w", ErrFileRead, d.Name(), err)
+ return Procs{}, fmt.Errorf("%w: could not read %q: %w", ErrFileRead, d.Name(), err)
}
t := Procs{}
diff --git a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/zoneinfo.go b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/zoneinfo.go
index ce5fefa5b3..e54d94b090 100644
--- a/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/zoneinfo.go
+++ b/cluster-api/providers/azure/vendor/github.com/prometheus/procfs/zoneinfo.go
@@ -75,11 +75,11 @@ var nodeZoneRE = regexp.MustCompile(`(\d+), zone\s+(\w+)`)
func (fs FS) Zoneinfo() ([]Zoneinfo, error) {
data, err := os.ReadFile(fs.proc.Path("zoneinfo"))
if err != nil {
- return nil, fmt.Errorf("%s: error reading zoneinfo %q: %w", ErrFileRead, fs.proc.Path("zoneinfo"), err)
+ return nil, fmt.Errorf("%w: error reading zoneinfo %q: %w", ErrFileRead, fs.proc.Path("zoneinfo"), err)
}
zoneinfo, err := parseZoneinfo(data)
if err != nil {
- return nil, fmt.Errorf("%s: error parsing zoneinfo %q: %w", ErrFileParse, fs.proc.Path("zoneinfo"), err)
+ return nil, fmt.Errorf("%w: error parsing zoneinfo %q: %w", ErrFileParse, fs.proc.Path("zoneinfo"), err)
}
return zoneinfo, nil
}
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/.golangci.yml b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/.golangci.yml
index a618ec24d8..2c8f4808c1 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/.golangci.yml
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/.golangci.yml
@@ -26,33 +26,28 @@ linters:
- errcheck
#- exhaustive
#- funlen
- - gas
#- gochecknoinits
- goconst
- #- gocritic
+ - gocritic
#- gocyclo
- #- gofmt
+ - gofmt
- goimports
- - golint
#- gomnd
#- goprintffuncname
- #- gosec
- #- gosimple
+ - gosec
+ - gosimple
- govet
- ineffassign
- - interfacer
#- lll
- - maligned
- - megacheck
- #- misspell
+ - misspell
#- nakedret
#- noctx
- #- nolintlint
+ - nolintlint
#- rowserrcheck
#- scopelint
- #- staticcheck
+ - staticcheck
#- structcheck ! deprecated since v1.49.0; replaced by 'unused'
- #- stylecheck
+ - stylecheck
#- typecheck
- unconvert
#- unparam
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/active_help.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/active_help.go
index 5f965e057f..25c30e3ccc 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/active_help.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/active_help.go
@@ -17,21 +17,17 @@ package cobra
import (
"fmt"
"os"
- "regexp"
- "strings"
)
const (
activeHelpMarker = "_activeHelp_ "
// The below values should not be changed: programs will be using them explicitly
// in their user documentation, and users will be using them explicitly.
- activeHelpEnvVarSuffix = "_ACTIVE_HELP"
- activeHelpGlobalEnvVar = "COBRA_ACTIVE_HELP"
+ activeHelpEnvVarSuffix = "ACTIVE_HELP"
+ activeHelpGlobalEnvVar = configEnvVarGlobalPrefix + "_" + activeHelpEnvVarSuffix
activeHelpGlobalDisable = "0"
)
-var activeHelpEnvVarPrefixSubstRegexp = regexp.MustCompile(`[^A-Z0-9_]`)
-
// AppendActiveHelp adds the specified string to the specified array to be used as ActiveHelp.
// Such strings will be processed by the completion script and will be shown as ActiveHelp
// to the user.
@@ -60,8 +56,5 @@ func GetActiveHelpConfig(cmd *Command) string {
// variable. It has the format _ACTIVE_HELP where is the name of the
// root command in upper case, with all non-ASCII-alphanumeric characters replaced by `_`.
func activeHelpEnvVar(name string) string {
- // This format should not be changed: users will be using it explicitly.
- activeHelpEnvVar := strings.ToUpper(fmt.Sprintf("%s%s", name, activeHelpEnvVarSuffix))
- activeHelpEnvVar = activeHelpEnvVarPrefixSubstRegexp.ReplaceAllString(activeHelpEnvVar, "_")
- return activeHelpEnvVar
+ return configEnvVar(name, activeHelpEnvVarSuffix)
}
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/args.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/args.go
index e79ec33a81..ed1e70ceaa 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/args.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/args.go
@@ -52,9 +52,9 @@ func OnlyValidArgs(cmd *Command, args []string) error {
if len(cmd.ValidArgs) > 0 {
// Remove any description that may be included in ValidArgs.
// A description is following a tab character.
- var validArgs []string
+ validArgs := make([]string, 0, len(cmd.ValidArgs))
for _, v := range cmd.ValidArgs {
- validArgs = append(validArgs, strings.Split(v, "\t")[0])
+ validArgs = append(validArgs, strings.SplitN(v, "\t", 2)[0])
}
for _, v := range args {
if !stringInSlice(v, validArgs) {
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/bash_completions.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/bash_completions.go
index 8a53151840..f4d198cbcb 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/bash_completions.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/bash_completions.go
@@ -597,19 +597,16 @@ func writeRequiredFlag(buf io.StringWriter, cmd *Command) {
if nonCompletableFlag(flag) {
return
}
- for key := range flag.Annotations {
- switch key {
- case BashCompOneRequiredFlag:
- format := " must_have_one_flag+=(\"--%s"
- if flag.Value.Type() != "bool" {
- format += "="
- }
- format += cbn
- WriteStringAndCheck(buf, fmt.Sprintf(format, flag.Name))
+ if _, ok := flag.Annotations[BashCompOneRequiredFlag]; ok {
+ format := " must_have_one_flag+=(\"--%s"
+ if flag.Value.Type() != "bool" {
+ format += "="
+ }
+ format += cbn
+ WriteStringAndCheck(buf, fmt.Sprintf(format, flag.Name))
- if len(flag.Shorthand) > 0 {
- WriteStringAndCheck(buf, fmt.Sprintf(" must_have_one_flag+=(\"-%s"+cbn, flag.Shorthand))
- }
+ if len(flag.Shorthand) > 0 {
+ WriteStringAndCheck(buf, fmt.Sprintf(" must_have_one_flag+=(\"-%s"+cbn, flag.Shorthand))
}
}
})
@@ -621,7 +618,7 @@ func writeRequiredNouns(buf io.StringWriter, cmd *Command) {
for _, value := range cmd.ValidArgs {
// Remove any description that may be included following a tab character.
// Descriptions are not supported by bash completion.
- value = strings.Split(value, "\t")[0]
+ value = strings.SplitN(value, "\t", 2)[0]
WriteStringAndCheck(buf, fmt.Sprintf(" must_have_one_noun+=(%q)\n", value))
}
if cmd.ValidArgsFunction != nil {
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/cobra.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/cobra.go
index a6b160ce53..e0b0947b04 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/cobra.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/cobra.go
@@ -193,8 +193,6 @@ func ld(s, t string, ignoreCase bool) int {
d := make([][]int, len(s)+1)
for i := range d {
d[i] = make([]int, len(t)+1)
- }
- for i := range d {
d[i][0] = i
}
for j := range d[0] {
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/command.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/command.go
index 2fbe6c131a..54748fc67e 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/command.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/command.go
@@ -154,8 +154,10 @@ type Command struct {
// pflags contains persistent flags.
pflags *flag.FlagSet
// lflags contains local flags.
+ // This field does not represent internal state, it's used as a cache to optimise LocalFlags function call
lflags *flag.FlagSet
// iflags contains inherited flags.
+ // This field does not represent internal state, it's used as a cache to optimise InheritedFlags function call
iflags *flag.FlagSet
// parentsPflags is all persistent flags of cmd's parents.
parentsPflags *flag.FlagSet
@@ -706,7 +708,7 @@ Loop:
// This is not a flag or a flag value. Check to see if it matches what we're looking for, and if so,
// return the args, excluding the one at this position.
if s == x {
- ret := []string{}
+ ret := make([]string, 0, len(args)-1)
ret = append(ret, args[:pos]...)
ret = append(ret, args[pos+1:]...)
return ret
@@ -754,14 +756,14 @@ func (c *Command) findSuggestions(arg string) string {
if c.SuggestionsMinimumDistance <= 0 {
c.SuggestionsMinimumDistance = 2
}
- suggestionsString := ""
+ var sb strings.Builder
if suggestions := c.SuggestionsFor(arg); len(suggestions) > 0 {
- suggestionsString += "\n\nDid you mean this?\n"
+ sb.WriteString("\n\nDid you mean this?\n")
for _, s := range suggestions {
- suggestionsString += fmt.Sprintf("\t%v\n", s)
+ _, _ = fmt.Fprintf(&sb, "\t%v\n", s)
}
}
- return suggestionsString
+ return sb.String()
}
func (c *Command) findNext(next string) *Command {
@@ -873,7 +875,7 @@ func (c *Command) ArgsLenAtDash() int {
func (c *Command) execute(a []string) (err error) {
if c == nil {
- return fmt.Errorf("Called Execute() on a nil Command")
+ return fmt.Errorf("called Execute() on a nil Command")
}
if len(c.Deprecated) > 0 {
@@ -1187,10 +1189,11 @@ func (c *Command) InitDefaultHelpFlag() {
c.mergePersistentFlags()
if c.Flags().Lookup("help") == nil {
usage := "help for "
- if c.Name() == "" {
+ name := c.displayName()
+ if name == "" {
usage += "this command"
} else {
- usage += c.Name()
+ usage += name
}
c.Flags().BoolP("help", "h", false, usage)
_ = c.Flags().SetAnnotation("help", FlagSetByCobraAnnotation, []string{"true"})
@@ -1236,7 +1239,7 @@ func (c *Command) InitDefaultHelpCmd() {
Use: "help [command]",
Short: "Help about any command",
Long: `Help provides help for any command in the application.
-Simply type ` + c.Name() + ` help [path to command] for full details.`,
+Simply type ` + c.displayName() + ` help [path to command] for full details.`,
ValidArgsFunction: func(c *Command, args []string, toComplete string) ([]string, ShellCompDirective) {
var completions []string
cmd, _, e := c.Root().Find(args)
@@ -1427,6 +1430,10 @@ func (c *Command) CommandPath() string {
if c.HasParent() {
return c.Parent().CommandPath() + " " + c.Name()
}
+ return c.displayName()
+}
+
+func (c *Command) displayName() string {
if displayName, ok := c.Annotations[CommandDisplayNameAnnotation]; ok {
return displayName
}
@@ -1436,10 +1443,11 @@ func (c *Command) CommandPath() string {
// UseLine puts out the full usage for a given command (including parents).
func (c *Command) UseLine() string {
var useline string
+ use := strings.Replace(c.Use, c.Name(), c.displayName(), 1)
if c.HasParent() {
- useline = c.parent.CommandPath() + " " + c.Use
+ useline = c.parent.CommandPath() + " " + use
} else {
- useline = c.Use
+ useline = use
}
if c.DisableFlagsInUseLine {
return useline
@@ -1452,7 +1460,6 @@ func (c *Command) UseLine() string {
// DebugFlags used to determine which flags have been assigned to which commands
// and which persist.
-// nolint:goconst
func (c *Command) DebugFlags() {
c.Println("DebugFlags called on", c.Name())
var debugflags func(*Command)
@@ -1642,7 +1649,7 @@ func (c *Command) GlobalNormalizationFunc() func(f *flag.FlagSet, name string) f
// to this command (local and persistent declared here and by all parents).
func (c *Command) Flags() *flag.FlagSet {
if c.flags == nil {
- c.flags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.flags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
if c.flagErrorBuf == nil {
c.flagErrorBuf = new(bytes.Buffer)
}
@@ -1653,10 +1660,11 @@ func (c *Command) Flags() *flag.FlagSet {
}
// LocalNonPersistentFlags are flags specific to this command which will NOT persist to subcommands.
+// This function does not modify the flags of the current command, it's purpose is to return the current state.
func (c *Command) LocalNonPersistentFlags() *flag.FlagSet {
persistentFlags := c.PersistentFlags()
- out := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ out := flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
c.LocalFlags().VisitAll(func(f *flag.Flag) {
if persistentFlags.Lookup(f.Name) == nil {
out.AddFlag(f)
@@ -1666,11 +1674,12 @@ func (c *Command) LocalNonPersistentFlags() *flag.FlagSet {
}
// LocalFlags returns the local FlagSet specifically set in the current command.
+// This function does not modify the flags of the current command, it's purpose is to return the current state.
func (c *Command) LocalFlags() *flag.FlagSet {
c.mergePersistentFlags()
if c.lflags == nil {
- c.lflags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.lflags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
if c.flagErrorBuf == nil {
c.flagErrorBuf = new(bytes.Buffer)
}
@@ -1693,11 +1702,12 @@ func (c *Command) LocalFlags() *flag.FlagSet {
}
// InheritedFlags returns all flags which were inherited from parent commands.
+// This function does not modify the flags of the current command, it's purpose is to return the current state.
func (c *Command) InheritedFlags() *flag.FlagSet {
c.mergePersistentFlags()
if c.iflags == nil {
- c.iflags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.iflags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
if c.flagErrorBuf == nil {
c.flagErrorBuf = new(bytes.Buffer)
}
@@ -1718,6 +1728,7 @@ func (c *Command) InheritedFlags() *flag.FlagSet {
}
// NonInheritedFlags returns all flags which were not inherited from parent commands.
+// This function does not modify the flags of the current command, it's purpose is to return the current state.
func (c *Command) NonInheritedFlags() *flag.FlagSet {
return c.LocalFlags()
}
@@ -1725,7 +1736,7 @@ func (c *Command) NonInheritedFlags() *flag.FlagSet {
// PersistentFlags returns the persistent FlagSet specifically set in the current command.
func (c *Command) PersistentFlags() *flag.FlagSet {
if c.pflags == nil {
- c.pflags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.pflags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
if c.flagErrorBuf == nil {
c.flagErrorBuf = new(bytes.Buffer)
}
@@ -1738,9 +1749,9 @@ func (c *Command) PersistentFlags() *flag.FlagSet {
func (c *Command) ResetFlags() {
c.flagErrorBuf = new(bytes.Buffer)
c.flagErrorBuf.Reset()
- c.flags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.flags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
c.flags.SetOutput(c.flagErrorBuf)
- c.pflags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.pflags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
c.pflags.SetOutput(c.flagErrorBuf)
c.lflags = nil
@@ -1857,7 +1868,7 @@ func (c *Command) mergePersistentFlags() {
// If c.parentsPflags == nil, it makes new.
func (c *Command) updateParentsPflags() {
if c.parentsPflags == nil {
- c.parentsPflags = flag.NewFlagSet(c.Name(), flag.ContinueOnError)
+ c.parentsPflags = flag.NewFlagSet(c.displayName(), flag.ContinueOnError)
c.parentsPflags.SetOutput(c.flagErrorBuf)
c.parentsPflags.SortFlags = false
}
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/completions.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/completions.go
index b60f6b2000..c0c08b0572 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/completions.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/completions.go
@@ -17,6 +17,8 @@ package cobra
import (
"fmt"
"os"
+ "regexp"
+ "strconv"
"strings"
"sync"
@@ -211,24 +213,29 @@ func (c *Command) initCompleteCmd(args []string) {
// 2- Even without completions, we need to print the directive
}
- noDescriptions := (cmd.CalledAs() == ShellCompNoDescRequestCmd)
+ noDescriptions := cmd.CalledAs() == ShellCompNoDescRequestCmd
+ if !noDescriptions {
+ if doDescriptions, err := strconv.ParseBool(getEnvConfig(cmd, configEnvVarSuffixDescriptions)); err == nil {
+ noDescriptions = !doDescriptions
+ }
+ }
+ noActiveHelp := GetActiveHelpConfig(finalCmd) == activeHelpGlobalDisable
+ out := finalCmd.OutOrStdout()
for _, comp := range completions {
- if GetActiveHelpConfig(finalCmd) == activeHelpGlobalDisable {
- // Remove all activeHelp entries in this case
- if strings.HasPrefix(comp, activeHelpMarker) {
- continue
- }
+ if noActiveHelp && strings.HasPrefix(comp, activeHelpMarker) {
+ // Remove all activeHelp entries if it's disabled.
+ continue
}
if noDescriptions {
// Remove any description that may be included following a tab character.
- comp = strings.Split(comp, "\t")[0]
+ comp = strings.SplitN(comp, "\t", 2)[0]
}
// Make sure we only write the first line to the output.
// This is needed if a description contains a linebreak.
// Otherwise the shell scripts will interpret the other lines as new flags
// and could therefore provide a wrong completion.
- comp = strings.Split(comp, "\n")[0]
+ comp = strings.SplitN(comp, "\n", 2)[0]
// Finally trim the completion. This is especially important to get rid
// of a trailing tab when there are no description following it.
@@ -237,14 +244,14 @@ func (c *Command) initCompleteCmd(args []string) {
// although there is no description).
comp = strings.TrimSpace(comp)
- // Print each possible completion to stdout for the completion script to consume.
- fmt.Fprintln(finalCmd.OutOrStdout(), comp)
+ // Print each possible completion to the output for the completion script to consume.
+ fmt.Fprintln(out, comp)
}
// As the last printout, print the completion directive for the completion script to parse.
// The directive integer must be that last character following a single colon (:).
// The completion script expects :
- fmt.Fprintf(finalCmd.OutOrStdout(), ":%d\n", directive)
+ fmt.Fprintf(out, ":%d\n", directive)
// Print some helpful info to stderr for the user to understand.
// Output from stderr must be ignored by the completion script.
@@ -291,7 +298,7 @@ func (c *Command) getCompletions(args []string) (*Command, []string, ShellCompDi
}
if err != nil {
// Unable to find the real command. E.g., someInvalidCmd
- return c, []string{}, ShellCompDirectiveDefault, fmt.Errorf("Unable to find a command for arguments: %v", trimmedArgs)
+ return c, []string{}, ShellCompDirectiveDefault, fmt.Errorf("unable to find a command for arguments: %v", trimmedArgs)
}
finalCmd.ctx = c.ctx
@@ -899,3 +906,34 @@ func CompError(msg string) {
func CompErrorln(msg string) {
CompError(fmt.Sprintf("%s\n", msg))
}
+
+// These values should not be changed: users will be using them explicitly.
+const (
+ configEnvVarGlobalPrefix = "COBRA"
+ configEnvVarSuffixDescriptions = "COMPLETION_DESCRIPTIONS"
+)
+
+var configEnvVarPrefixSubstRegexp = regexp.MustCompile(`[^A-Z0-9_]`)
+
+// configEnvVar returns the name of the program-specific configuration environment
+// variable. It has the format _ where is the name of the
+// root command in upper case, with all non-ASCII-alphanumeric characters replaced by `_`.
+func configEnvVar(name, suffix string) string {
+ // This format should not be changed: users will be using it explicitly.
+ v := strings.ToUpper(fmt.Sprintf("%s_%s", name, suffix))
+ v = configEnvVarPrefixSubstRegexp.ReplaceAllString(v, "_")
+ return v
+}
+
+// getEnvConfig returns the value of the configuration environment variable
+// _ where is the name of the root command in upper
+// case, with all non-ASCII-alphanumeric characters replaced by `_`.
+// If the value is empty or not set, the value of the environment variable
+// COBRA_ is returned instead.
+func getEnvConfig(cmd *Command, suffix string) string {
+ v := os.Getenv(configEnvVar(cmd.Root().Name(), suffix))
+ if v == "" {
+ v = os.Getenv(configEnvVar(configEnvVarGlobalPrefix, suffix))
+ }
+ return v
+}
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/flag_groups.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/flag_groups.go
index 0671ec5f20..560612fd33 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/flag_groups.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/flag_groups.go
@@ -23,9 +23,9 @@ import (
)
const (
- requiredAsGroup = "cobra_annotation_required_if_others_set"
- oneRequired = "cobra_annotation_one_required"
- mutuallyExclusive = "cobra_annotation_mutually_exclusive"
+ requiredAsGroupAnnotation = "cobra_annotation_required_if_others_set"
+ oneRequiredAnnotation = "cobra_annotation_one_required"
+ mutuallyExclusiveAnnotation = "cobra_annotation_mutually_exclusive"
)
// MarkFlagsRequiredTogether marks the given flags with annotations so that Cobra errors
@@ -37,7 +37,7 @@ func (c *Command) MarkFlagsRequiredTogether(flagNames ...string) {
if f == nil {
panic(fmt.Sprintf("Failed to find flag %q and mark it as being required in a flag group", v))
}
- if err := c.Flags().SetAnnotation(v, requiredAsGroup, append(f.Annotations[requiredAsGroup], strings.Join(flagNames, " "))); err != nil {
+ if err := c.Flags().SetAnnotation(v, requiredAsGroupAnnotation, append(f.Annotations[requiredAsGroupAnnotation], strings.Join(flagNames, " "))); err != nil {
// Only errs if the flag isn't found.
panic(err)
}
@@ -53,7 +53,7 @@ func (c *Command) MarkFlagsOneRequired(flagNames ...string) {
if f == nil {
panic(fmt.Sprintf("Failed to find flag %q and mark it as being in a one-required flag group", v))
}
- if err := c.Flags().SetAnnotation(v, oneRequired, append(f.Annotations[oneRequired], strings.Join(flagNames, " "))); err != nil {
+ if err := c.Flags().SetAnnotation(v, oneRequiredAnnotation, append(f.Annotations[oneRequiredAnnotation], strings.Join(flagNames, " "))); err != nil {
// Only errs if the flag isn't found.
panic(err)
}
@@ -70,7 +70,7 @@ func (c *Command) MarkFlagsMutuallyExclusive(flagNames ...string) {
panic(fmt.Sprintf("Failed to find flag %q and mark it as being in a mutually exclusive flag group", v))
}
// Each time this is called is a single new entry; this allows it to be a member of multiple groups if needed.
- if err := c.Flags().SetAnnotation(v, mutuallyExclusive, append(f.Annotations[mutuallyExclusive], strings.Join(flagNames, " "))); err != nil {
+ if err := c.Flags().SetAnnotation(v, mutuallyExclusiveAnnotation, append(f.Annotations[mutuallyExclusiveAnnotation], strings.Join(flagNames, " "))); err != nil {
panic(err)
}
}
@@ -91,9 +91,9 @@ func (c *Command) ValidateFlagGroups() error {
oneRequiredGroupStatus := map[string]map[string]bool{}
mutuallyExclusiveGroupStatus := map[string]map[string]bool{}
flags.VisitAll(func(pflag *flag.Flag) {
- processFlagForGroupAnnotation(flags, pflag, requiredAsGroup, groupStatus)
- processFlagForGroupAnnotation(flags, pflag, oneRequired, oneRequiredGroupStatus)
- processFlagForGroupAnnotation(flags, pflag, mutuallyExclusive, mutuallyExclusiveGroupStatus)
+ processFlagForGroupAnnotation(flags, pflag, requiredAsGroupAnnotation, groupStatus)
+ processFlagForGroupAnnotation(flags, pflag, oneRequiredAnnotation, oneRequiredGroupStatus)
+ processFlagForGroupAnnotation(flags, pflag, mutuallyExclusiveAnnotation, mutuallyExclusiveGroupStatus)
})
if err := validateRequiredFlagGroups(groupStatus); err != nil {
@@ -130,7 +130,7 @@ func processFlagForGroupAnnotation(flags *flag.FlagSet, pflag *flag.Flag, annota
continue
}
- groupStatus[group] = map[string]bool{}
+ groupStatus[group] = make(map[string]bool, len(flagnames))
for _, name := range flagnames {
groupStatus[group][name] = false
}
@@ -232,9 +232,9 @@ func (c *Command) enforceFlagGroupsForCompletion() {
oneRequiredGroupStatus := map[string]map[string]bool{}
mutuallyExclusiveGroupStatus := map[string]map[string]bool{}
c.Flags().VisitAll(func(pflag *flag.Flag) {
- processFlagForGroupAnnotation(flags, pflag, requiredAsGroup, groupStatus)
- processFlagForGroupAnnotation(flags, pflag, oneRequired, oneRequiredGroupStatus)
- processFlagForGroupAnnotation(flags, pflag, mutuallyExclusive, mutuallyExclusiveGroupStatus)
+ processFlagForGroupAnnotation(flags, pflag, requiredAsGroupAnnotation, groupStatus)
+ processFlagForGroupAnnotation(flags, pflag, oneRequiredAnnotation, oneRequiredGroupStatus)
+ processFlagForGroupAnnotation(flags, pflag, mutuallyExclusiveAnnotation, mutuallyExclusiveGroupStatus)
})
// If a flag that is part of a group is present, we make all the other flags
@@ -253,17 +253,17 @@ func (c *Command) enforceFlagGroupsForCompletion() {
// If none of the flags of a one-required group are present, we make all the flags
// of that group required so that the shell completion suggests them automatically
for flagList, flagnameAndStatus := range oneRequiredGroupStatus {
- set := 0
+ isSet := false
- for _, isSet := range flagnameAndStatus {
+ for _, isSet = range flagnameAndStatus {
if isSet {
- set++
+ break
}
}
// None of the flags of the group are set, mark all flags in the group
// as required
- if set == 0 {
+ if !isSet {
for _, fName := range strings.Split(flagList, " ") {
_ = c.MarkFlagRequired(fName)
}
diff --git a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/powershell_completions.go b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/powershell_completions.go
index 5519519394..a830b7bcad 100644
--- a/cluster-api/providers/azure/vendor/github.com/spf13/cobra/powershell_completions.go
+++ b/cluster-api/providers/azure/vendor/github.com/spf13/cobra/powershell_completions.go
@@ -28,8 +28,8 @@ import (
func genPowerShellComp(buf io.StringWriter, name string, includeDesc bool) {
// Variables should not contain a '-' or ':' character
nameForVar := name
- nameForVar = strings.Replace(nameForVar, "-", "_", -1)
- nameForVar = strings.Replace(nameForVar, ":", "_", -1)
+ nameForVar = strings.ReplaceAll(nameForVar, "-", "_")
+ nameForVar = strings.ReplaceAll(nameForVar, ":", "_")
compCmd := ShellCompRequestCmd
if !includeDesc {
diff --git a/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/README.md b/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/README.md
index 0e8635d801..84a640e714 100644
--- a/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/README.md
+++ b/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/README.md
@@ -1,5 +1,5 @@
-[](https://circleci.com/gh/stoewer/go-strcase/tree/master)
-[](https://codecov.io/gh/stoewer/go-strcase)
+[](https://github.com/stoewer/go-strcase/actions)
+[](https://codecov.io/github/stoewer/go-strcase)
[](https://pkg.go.dev/github.com/stoewer/go-strcase)
---
diff --git a/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/camel.go b/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/camel.go
index 5c233cc8f1..ff9e66e0ce 100644
--- a/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/camel.go
+++ b/cluster-api/providers/azure/vendor/github.com/stoewer/go-strcase/camel.go
@@ -27,6 +27,9 @@ func camelCase(s string, upper bool) string {
buffer = append(buffer, toUpper(curr))
} else if isLower(prev) {
buffer = append(buffer, curr)
+ } else if isUpper(prev) && isUpper(curr) && isLower(next) {
+ // Assume a case like "R" for "XRequestId"
+ buffer = append(buffer, curr)
} else {
buffer = append(buffer, toLower(curr))
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/client.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/client.go
index 92b8cf73c9..deea149645 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/client.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/client.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/common.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/common.go
index 9509014e87..214acaf581 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/common.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/common.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
@@ -31,10 +20,16 @@ const (
// Server HTTP metrics.
const (
- RequestCount = "http.server.request_count" // Incoming request count total
- RequestContentLength = "http.server.request_content_length" // Incoming request bytes total
- ResponseContentLength = "http.server.response_content_length" // Incoming response bytes total
- ServerLatency = "http.server.duration" // Incoming end to end duration, milliseconds
+ serverRequestSize = "http.server.request.size" // Incoming request bytes total
+ serverResponseSize = "http.server.response.size" // Incoming response bytes total
+ serverDuration = "http.server.duration" // Incoming end to end duration, milliseconds
+)
+
+// Client HTTP metrics.
+const (
+ clientRequestSize = "http.client.request.size" // Outgoing request bytes total
+ clientResponseSize = "http.client.response.size" // Outgoing response bytes total
+ clientDuration = "http.client.duration" // Outgoing end to end duration, milliseconds
)
// Filter is a predicate used to determine whether a given http.request should
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/config.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/config.go
index a1b5b5e5aa..c1015a9ecc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/config.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/config.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/doc.go
index 38c7f01c71..56b24b982a 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package otelhttp provides an http.Handler and functions that are intended
// to be used to add tracing by wrapping existing handlers (with Handler) and
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/handler.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/handler.go
index 9a8260059d..c64f8beca7 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/handler.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/handler.go
@@ -1,32 +1,19 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
import (
- "io"
"net/http"
"time"
"github.com/felixge/httpsnoop"
+ "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv"
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil"
"go.opentelemetry.io/otel"
- "go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/otel/propagation"
- semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
"go.opentelemetry.io/otel/trace"
)
@@ -43,10 +30,13 @@ type middleware struct {
writeEvent bool
filters []Filter
spanNameFormatter func(string, *http.Request) string
- counters map[string]metric.Int64Counter
- valueRecorders map[string]metric.Float64Histogram
publicEndpoint bool
publicEndpointFn func(*http.Request) bool
+
+ traceSemconv semconv.HTTPServer
+ requestBytesCounter metric.Int64Counter
+ responseBytesCounter metric.Int64Counter
+ serverLatencyMeasure metric.Float64Histogram
}
func defaultHandlerFormatter(operation string, _ *http.Request) string {
@@ -65,6 +55,8 @@ func NewHandler(handler http.Handler, operation string, opts ...Option) http.Han
func NewMiddleware(operation string, opts ...Option) func(http.Handler) http.Handler {
h := middleware{
operation: operation,
+
+ traceSemconv: semconv.NewHTTPServer(),
}
defaultOpts := []Option{
@@ -104,33 +96,27 @@ func handleErr(err error) {
}
func (h *middleware) createMeasures() {
- h.counters = make(map[string]metric.Int64Counter)
- h.valueRecorders = make(map[string]metric.Float64Histogram)
-
- requestBytesCounter, err := h.meter.Int64Counter(
- RequestContentLength,
+ var err error
+ h.requestBytesCounter, err = h.meter.Int64Counter(
+ serverRequestSize,
metric.WithUnit("By"),
- metric.WithDescription("Measures the size of HTTP request content length (uncompressed)"),
+ metric.WithDescription("Measures the size of HTTP request messages."),
)
handleErr(err)
- responseBytesCounter, err := h.meter.Int64Counter(
- ResponseContentLength,
+ h.responseBytesCounter, err = h.meter.Int64Counter(
+ serverResponseSize,
metric.WithUnit("By"),
- metric.WithDescription("Measures the size of HTTP response content length (uncompressed)"),
+ metric.WithDescription("Measures the size of HTTP response messages."),
)
handleErr(err)
- serverLatencyMeasure, err := h.meter.Float64Histogram(
- ServerLatency,
+ h.serverLatencyMeasure, err = h.meter.Float64Histogram(
+ serverDuration,
metric.WithUnit("ms"),
- metric.WithDescription("Measures the duration of HTTP request handling"),
+ metric.WithDescription("Measures the duration of inbound HTTP requests."),
)
handleErr(err)
-
- h.counters[RequestContentLength] = requestBytesCounter
- h.counters[ResponseContentLength] = responseBytesCounter
- h.valueRecorders[ServerLatency] = serverLatencyMeasure
}
// serveHTTP sets up tracing and calls the given next http.Handler with the span
@@ -147,12 +133,9 @@ func (h *middleware) serveHTTP(w http.ResponseWriter, r *http.Request, next http
ctx := h.propagators.Extract(r.Context(), propagation.HeaderCarrier(r.Header))
opts := []trace.SpanStartOption{
- trace.WithAttributes(semconvutil.HTTPServerRequest(h.server, r)...),
- }
- if h.server != "" {
- hostAttr := semconv.NetHostName(h.server)
- opts = append(opts, trace.WithAttributes(hostAttr))
+ trace.WithAttributes(h.traceSemconv.RequestTraceAttrs(h.server, r)...),
}
+
opts = append(opts, h.spanStartOptions...)
if h.publicEndpoint || (h.publicEndpointFn != nil && h.publicEndpointFn(r.WithContext(ctx))) {
opts = append(opts, trace.WithNewRoot())
@@ -228,7 +211,14 @@ func (h *middleware) serveHTTP(w http.ResponseWriter, r *http.Request, next http
next.ServeHTTP(w, r.WithContext(ctx))
- setAfterServeAttributes(span, bw.read, rww.written, rww.statusCode, bw.err, rww.err)
+ span.SetStatus(semconv.ServerStatus(rww.statusCode))
+ span.SetAttributes(h.traceSemconv.ResponseTraceAttrs(semconv.ResponseTelemetry{
+ StatusCode: rww.statusCode,
+ ReadBytes: bw.read.Load(),
+ ReadError: bw.err,
+ WriteBytes: rww.written,
+ WriteError: rww.err,
+ })...)
// Add metrics
attributes := append(labeler.Get(), semconvutil.HTTPServerRequestMetrics(h.server, r)...)
@@ -236,46 +226,20 @@ func (h *middleware) serveHTTP(w http.ResponseWriter, r *http.Request, next http
attributes = append(attributes, semconv.HTTPStatusCode(rww.statusCode))
}
o := metric.WithAttributes(attributes...)
- h.counters[RequestContentLength].Add(ctx, bw.read, o)
- h.counters[ResponseContentLength].Add(ctx, rww.written, o)
+ h.requestBytesCounter.Add(ctx, bw.read.Load(), o)
+ h.responseBytesCounter.Add(ctx, rww.written, o)
// Use floating point division here for higher precision (instead of Millisecond method).
elapsedTime := float64(time.Since(requestStartTime)) / float64(time.Millisecond)
- h.valueRecorders[ServerLatency].Record(ctx, elapsedTime, o)
-}
-
-func setAfterServeAttributes(span trace.Span, read, wrote int64, statusCode int, rerr, werr error) {
- attributes := []attribute.KeyValue{}
-
- // TODO: Consider adding an event after each read and write, possibly as an
- // option (defaulting to off), so as to not create needlessly verbose spans.
- if read > 0 {
- attributes = append(attributes, ReadBytesKey.Int64(read))
- }
- if rerr != nil && rerr != io.EOF {
- attributes = append(attributes, ReadErrorKey.String(rerr.Error()))
- }
- if wrote > 0 {
- attributes = append(attributes, WroteBytesKey.Int64(wrote))
- }
- if statusCode > 0 {
- attributes = append(attributes, semconv.HTTPStatusCode(statusCode))
- }
- span.SetStatus(semconvutil.HTTPServerStatus(statusCode))
-
- if werr != nil && werr != io.EOF {
- attributes = append(attributes, WriteErrorKey.String(werr.Error()))
- }
- span.SetAttributes(attributes...)
+ h.serverLatencyMeasure.Record(ctx, elapsedTime, o)
}
// WithRouteTag annotates spans and metrics with the provided route name
// with HTTP route attribute.
func WithRouteTag(route string, h http.Handler) http.Handler {
+ attr := semconv.NewHTTPServer().Route(route)
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- attr := semconv.HTTPRouteKey.String(route)
-
span := trace.SpanFromContext(r.Context())
span.SetAttributes(attr)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/env.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/env.go
new file mode 100644
index 0000000000..9be3feef29
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/env.go
@@ -0,0 +1,69 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv"
+
+import (
+ "fmt"
+ "net/http"
+
+ "go.opentelemetry.io/otel/attribute"
+ "go.opentelemetry.io/otel/codes"
+)
+
+type ResponseTelemetry struct {
+ StatusCode int
+ ReadBytes int64
+ ReadError error
+ WriteBytes int64
+ WriteError error
+}
+
+type HTTPServer interface {
+ // RequestTraceAttrs returns trace attributes for an HTTP request received by a
+ // server.
+ //
+ // The server must be the primary server name if it is known. For example this
+ // would be the ServerName directive
+ // (https://httpd.apache.org/docs/2.4/mod/core.html#servername) for an Apache
+ // server, and the server_name directive
+ // (http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name) for an
+ // nginx server. More generically, the primary server name would be the host
+ // header value that matches the default virtual host of an HTTP server. It
+ // should include the host identifier and if a port is used to route to the
+ // server that port identifier should be included as an appropriate port
+ // suffix.
+ //
+ // If the primary server name is not known, server should be an empty string.
+ // The req Host will be used to determine the server instead.
+ RequestTraceAttrs(server string, req *http.Request) []attribute.KeyValue
+
+ // ResponseTraceAttrs returns trace attributes for telemetry from an HTTP response.
+ //
+ // If any of the fields in the ResponseTelemetry are not set the attribute will be omitted.
+ ResponseTraceAttrs(ResponseTelemetry) []attribute.KeyValue
+
+ // Route returns the attribute for the route.
+ Route(string) attribute.KeyValue
+}
+
+// var warnOnce = sync.Once{}
+
+func NewHTTPServer() HTTPServer {
+ // TODO (#5331): Detect version based on environment variable OTEL_HTTP_CLIENT_COMPATIBILITY_MODE.
+ // TODO (#5331): Add warning of use of a deprecated version of Semantic Versions.
+ return oldHTTPServer{}
+}
+
+// ServerStatus returns a span status code and message for an HTTP status code
+// value returned by a server. Status codes in the 400-499 range are not
+// returned as errors.
+func ServerStatus(code int) (codes.Code, string) {
+ if code < 100 || code >= 600 {
+ return codes.Error, fmt.Sprintf("Invalid HTTP status code %d", code)
+ }
+ if code >= 500 {
+ return codes.Error, ""
+ }
+ return codes.Unset, ""
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/util.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/util.go
new file mode 100644
index 0000000000..c92076bc3d
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/util.go
@@ -0,0 +1,49 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv"
+
+import (
+ "net"
+ "strconv"
+ "strings"
+)
+
+// splitHostPort splits a network address hostport of the form "host",
+// "host%zone", "[host]", "[host%zone], "host:port", "host%zone:port",
+// "[host]:port", "[host%zone]:port", or ":port" into host or host%zone and
+// port.
+//
+// An empty host is returned if it is not provided or unparsable. A negative
+// port is returned if it is not provided or unparsable.
+func splitHostPort(hostport string) (host string, port int) {
+ port = -1
+
+ if strings.HasPrefix(hostport, "[") {
+ addrEnd := strings.LastIndex(hostport, "]")
+ if addrEnd < 0 {
+ // Invalid hostport.
+ return
+ }
+ if i := strings.LastIndex(hostport[addrEnd:], ":"); i < 0 {
+ host = hostport[1:addrEnd]
+ return
+ }
+ } else {
+ if i := strings.LastIndex(hostport, ":"); i < 0 {
+ host = hostport
+ return
+ }
+ }
+
+ host, pStr, err := net.SplitHostPort(hostport)
+ if err != nil {
+ return
+ }
+
+ p, err := strconv.ParseUint(pStr, 10, 16)
+ if err != nil {
+ return
+ }
+ return host, int(p)
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/v1.20.0.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/v1.20.0.go
new file mode 100644
index 0000000000..d753083b7b
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv/v1.20.0.go
@@ -0,0 +1,75 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv"
+
+import (
+ "io"
+ "net/http"
+
+ "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil"
+ "go.opentelemetry.io/otel/attribute"
+ semconv "go.opentelemetry.io/otel/semconv/v1.20.0"
+)
+
+type oldHTTPServer struct{}
+
+var _ HTTPServer = oldHTTPServer{}
+
+// RequestTraceAttrs returns trace attributes for an HTTP request received by a
+// server.
+//
+// The server must be the primary server name if it is known. For example this
+// would be the ServerName directive
+// (https://httpd.apache.org/docs/2.4/mod/core.html#servername) for an Apache
+// server, and the server_name directive
+// (http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name) for an
+// nginx server. More generically, the primary server name would be the host
+// header value that matches the default virtual host of an HTTP server. It
+// should include the host identifier and if a port is used to route to the
+// server that port identifier should be included as an appropriate port
+// suffix.
+//
+// If the primary server name is not known, server should be an empty string.
+// The req Host will be used to determine the server instead.
+func (o oldHTTPServer) RequestTraceAttrs(server string, req *http.Request) []attribute.KeyValue {
+ return semconvutil.HTTPServerRequest(server, req)
+}
+
+// ResponseTraceAttrs returns trace attributes for telemetry from an HTTP response.
+//
+// If any of the fields in the ResponseTelemetry are not set the attribute will be omitted.
+func (o oldHTTPServer) ResponseTraceAttrs(resp ResponseTelemetry) []attribute.KeyValue {
+ attributes := []attribute.KeyValue{}
+
+ if resp.ReadBytes > 0 {
+ attributes = append(attributes, semconv.HTTPRequestContentLength(int(resp.ReadBytes)))
+ }
+ if resp.ReadError != nil && resp.ReadError != io.EOF {
+ // This is not in the semantic conventions, but is historically provided
+ attributes = append(attributes, attribute.String("http.read_error", resp.ReadError.Error()))
+ }
+ if resp.WriteBytes > 0 {
+ attributes = append(attributes, semconv.HTTPResponseContentLength(int(resp.WriteBytes)))
+ }
+ if resp.StatusCode > 0 {
+ attributes = append(attributes, semconv.HTTPStatusCode(resp.StatusCode))
+ }
+ if resp.WriteError != nil && resp.WriteError != io.EOF {
+ // This is not in the semantic conventions, but is historically provided
+ attributes = append(attributes, attribute.String("http.write_error", resp.WriteError.Error()))
+ }
+
+ return attributes
+}
+
+// Route returns the attribute for the route.
+func (o oldHTTPServer) Route(route string) attribute.KeyValue {
+ return semconv.HTTPRoute(route)
+}
+
+// HTTPStatusCode returns the attribute for the HTTP status code.
+// This is a temporary function needed by metrics. This will be removed when MetricsRequest is added.
+func HTTPStatusCode(status int) attribute.KeyValue {
+ return semconv.HTTPStatusCode(status)
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go
index edf4ce3d31..7aa5f99e81 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/gen.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv.go
index d3dede9ebb..a73bb06e90 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/httpconv.go
@@ -2,18 +2,7 @@
// source: internal/shared/semconvutil/httpconv.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil"
@@ -24,7 +13,7 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/codes"
- semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.20.0"
)
// HTTPClientResponse returns trace attributes for an HTTP response received by a
@@ -43,14 +32,22 @@ func HTTPClientResponse(resp *http.Response) []attribute.KeyValue {
}
// HTTPClientRequest returns trace attributes for an HTTP request made by a client.
-// The following attributes are always returned: "http.url", "http.flavor",
-// "http.method", "net.peer.name". The following attributes are returned if the
-// related values are defined in req: "net.peer.port", "http.user_agent",
-// "http.request_content_length", "enduser.id".
+// The following attributes are always returned: "http.url", "http.method",
+// "net.peer.name". The following attributes are returned if the related values
+// are defined in req: "net.peer.port", "user_agent.original",
+// "http.request_content_length".
func HTTPClientRequest(req *http.Request) []attribute.KeyValue {
return hc.ClientRequest(req)
}
+// HTTPClientRequestMetrics returns metric attributes for an HTTP request made by a client.
+// The following attributes are always returned: "http.method", "net.peer.name".
+// The following attributes are returned if the
+// related values are defined in req: "net.peer.port".
+func HTTPClientRequestMetrics(req *http.Request) []attribute.KeyValue {
+ return hc.ClientRequestMetrics(req)
+}
+
// HTTPClientStatus returns a span status code and message for an HTTP status code
// value received by a client.
func HTTPClientStatus(code int) (codes.Code, string) {
@@ -75,10 +72,9 @@ func HTTPClientStatus(code int) (codes.Code, string) {
// The req Host will be used to determine the server instead.
//
// The following attributes are always returned: "http.method", "http.scheme",
-// "http.flavor", "http.target", "net.host.name". The following attributes are
-// returned if they related values are defined in req: "net.host.port",
-// "net.sock.peer.addr", "net.sock.peer.port", "http.user_agent", "enduser.id",
-// "http.client_ip".
+// "http.target", "net.host.name". The following attributes are returned if
+// they related values are defined in req: "net.host.port", "net.sock.peer.addr",
+// "net.sock.peer.port", "user_agent.original", "http.client_ip".
func HTTPServerRequest(server string, req *http.Request) []attribute.KeyValue {
return hc.ServerRequest(server, req)
}
@@ -101,8 +97,8 @@ func HTTPServerRequest(server string, req *http.Request) []attribute.KeyValue {
// The req Host will be used to determine the server instead.
//
// The following attributes are always returned: "http.method", "http.scheme",
-// "http.flavor", "net.host.name". The following attributes are
-// returned if they related values are defined in req: "net.host.port".
+// "net.host.name". The following attributes are returned if they related
+// values are defined in req: "net.host.port".
func HTTPServerRequestMetrics(server string, req *http.Request) []attribute.KeyValue {
return hc.ServerRequestMetrics(server, req)
}
@@ -114,44 +110,12 @@ func HTTPServerStatus(code int) (codes.Code, string) {
return hc.ServerStatus(code)
}
-// HTTPRequestHeader returns the contents of h as attributes.
-//
-// Instrumentation should require an explicit configuration of which headers to
-// captured and then prune what they pass here. Including all headers can be a
-// security risk - explicit configuration helps avoid leaking sensitive
-// information.
-//
-// The User-Agent header is already captured in the http.user_agent attribute
-// from ClientRequest and ServerRequest. Instrumentation may provide an option
-// to capture that header here even though it is not recommended. Otherwise,
-// instrumentation should filter that out of what is passed.
-func HTTPRequestHeader(h http.Header) []attribute.KeyValue {
- return hc.RequestHeader(h)
-}
-
-// HTTPResponseHeader returns the contents of h as attributes.
-//
-// Instrumentation should require an explicit configuration of which headers to
-// captured and then prune what they pass here. Including all headers can be a
-// security risk - explicit configuration helps avoid leaking sensitive
-// information.
-//
-// The User-Agent header is already captured in the http.user_agent attribute
-// from ClientRequest and ServerRequest. Instrumentation may provide an option
-// to capture that header here even though it is not recommended. Otherwise,
-// instrumentation should filter that out of what is passed.
-func HTTPResponseHeader(h http.Header) []attribute.KeyValue {
- return hc.ResponseHeader(h)
-}
-
// httpConv are the HTTP semantic convention attributes defined for a version
// of the OpenTelemetry specification.
type httpConv struct {
NetConv *netConv
- EnduserIDKey attribute.Key
HTTPClientIPKey attribute.Key
- HTTPFlavorKey attribute.Key
HTTPMethodKey attribute.Key
HTTPRequestContentLengthKey attribute.Key
HTTPResponseContentLengthKey attribute.Key
@@ -161,15 +125,13 @@ type httpConv struct {
HTTPStatusCodeKey attribute.Key
HTTPTargetKey attribute.Key
HTTPURLKey attribute.Key
- HTTPUserAgentKey attribute.Key
+ UserAgentOriginalKey attribute.Key
}
var hc = &httpConv{
NetConv: nc,
- EnduserIDKey: semconv.EnduserIDKey,
HTTPClientIPKey: semconv.HTTPClientIPKey,
- HTTPFlavorKey: semconv.HTTPFlavorKey,
HTTPMethodKey: semconv.HTTPMethodKey,
HTTPRequestContentLengthKey: semconv.HTTPRequestContentLengthKey,
HTTPResponseContentLengthKey: semconv.HTTPResponseContentLengthKey,
@@ -179,7 +141,7 @@ var hc = &httpConv{
HTTPStatusCodeKey: semconv.HTTPStatusCodeKey,
HTTPTargetKey: semconv.HTTPTargetKey,
HTTPURLKey: semconv.HTTPURLKey,
- HTTPUserAgentKey: semconv.HTTPUserAgentKey,
+ UserAgentOriginalKey: semconv.UserAgentOriginalKey,
}
// ClientResponse returns attributes for an HTTP response received by a client
@@ -193,6 +155,10 @@ var hc = &httpConv{
//
// append(ClientResponse(resp), ClientRequest(resp.Request)...)
func (c *httpConv) ClientResponse(resp *http.Response) []attribute.KeyValue {
+ /* The following semantic conventions are returned if present:
+ http.status_code int
+ http.response_content_length int
+ */
var n int
if resp.StatusCode > 0 {
n++
@@ -212,11 +178,31 @@ func (c *httpConv) ClientResponse(resp *http.Response) []attribute.KeyValue {
}
// ClientRequest returns attributes for an HTTP request made by a client. The
-// following attributes are always returned: "http.url", "http.flavor",
-// "http.method", "net.peer.name". The following attributes are returned if the
-// related values are defined in req: "net.peer.port", "http.user_agent",
-// "http.request_content_length", "enduser.id".
+// following attributes are always returned: "http.url", "http.method",
+// "net.peer.name". The following attributes are returned if the related values
+// are defined in req: "net.peer.port", "user_agent.original",
+// "http.request_content_length", "user_agent.original".
func (c *httpConv) ClientRequest(req *http.Request) []attribute.KeyValue {
+ /* The following semantic conventions are returned if present:
+ http.method string
+ user_agent.original string
+ http.url string
+ net.peer.name string
+ net.peer.port int
+ http.request_content_length int
+ */
+
+ /* The following semantic conventions are not returned:
+ http.status_code This requires the response. See ClientResponse.
+ http.response_content_length This requires the response. See ClientResponse.
+ net.sock.family This requires the socket used.
+ net.sock.peer.addr This requires the socket used.
+ net.sock.peer.name This requires the socket used.
+ net.sock.peer.port This requires the socket used.
+ http.resend_count This is something outside of a single request.
+ net.protocol.name The value is the Request is ignored, and the go client will always use "http".
+ net.protocol.version The value in the Request is ignored, and the go client will always use 1.1 or 2.0.
+ */
n := 3 // URL, peer name, proto, and method.
var h string
if req.URL != nil {
@@ -234,14 +220,10 @@ func (c *httpConv) ClientRequest(req *http.Request) []attribute.KeyValue {
if req.ContentLength > 0 {
n++
}
- userID, _, hasUserID := req.BasicAuth()
- if hasUserID {
- n++
- }
+
attrs := make([]attribute.KeyValue, 0, n)
attrs = append(attrs, c.method(req.Method))
- attrs = append(attrs, c.flavor(req.Proto))
var u string
if req.URL != nil {
@@ -260,15 +242,43 @@ func (c *httpConv) ClientRequest(req *http.Request) []attribute.KeyValue {
}
if useragent != "" {
- attrs = append(attrs, c.HTTPUserAgentKey.String(useragent))
+ attrs = append(attrs, c.UserAgentOriginalKey.String(useragent))
}
if l := req.ContentLength; l > 0 {
attrs = append(attrs, c.HTTPRequestContentLengthKey.Int64(l))
}
- if hasUserID {
- attrs = append(attrs, c.EnduserIDKey.String(userID))
+ return attrs
+}
+
+// ClientRequestMetrics returns metric attributes for an HTTP request made by a client. The
+// following attributes are always returned: "http.method", "net.peer.name".
+// The following attributes are returned if the related values
+// are defined in req: "net.peer.port".
+func (c *httpConv) ClientRequestMetrics(req *http.Request) []attribute.KeyValue {
+ /* The following semantic conventions are returned if present:
+ http.method string
+ net.peer.name string
+ net.peer.port int
+ */
+
+ n := 2 // method, peer name.
+ var h string
+ if req.URL != nil {
+ h = req.URL.Host
+ }
+ peer, p := firstHostPort(h, req.Header.Get("Host"))
+ port := requiredHTTPPort(req.URL != nil && req.URL.Scheme == "https", p)
+ if port > 0 {
+ n++
+ }
+
+ attrs := make([]attribute.KeyValue, 0, n)
+ attrs = append(attrs, c.method(req.Method), c.NetConv.PeerName(peer))
+
+ if port > 0 {
+ attrs = append(attrs, c.NetConv.PeerPort(port))
}
return attrs
@@ -291,18 +301,35 @@ func (c *httpConv) ClientRequest(req *http.Request) []attribute.KeyValue {
// The req Host will be used to determine the server instead.
//
// The following attributes are always returned: "http.method", "http.scheme",
-// "http.flavor", "http.target", "net.host.name". The following attributes are
-// returned if they related values are defined in req: "net.host.port",
-// "net.sock.peer.addr", "net.sock.peer.port", "http.user_agent", "enduser.id",
-// "http.client_ip".
+// "http.target", "net.host.name". The following attributes are returned if they
+// related values are defined in req: "net.host.port", "net.sock.peer.addr",
+// "net.sock.peer.port", "user_agent.original", "http.client_ip",
+// "net.protocol.name", "net.protocol.version".
func (c *httpConv) ServerRequest(server string, req *http.Request) []attribute.KeyValue {
- // TODO: This currently does not add the specification required
- // `http.target` attribute. It has too high of a cardinality to safely be
- // added. An alternate should be added, or this comment removed, when it is
- // addressed by the specification. If it is ultimately decided to continue
- // not including the attribute, the HTTPTargetKey field of the httpConv
- // should be removed as well.
+ /* The following semantic conventions are returned if present:
+ http.method string
+ http.scheme string
+ net.host.name string
+ net.host.port int
+ net.sock.peer.addr string
+ net.sock.peer.port int
+ user_agent.original string
+ http.client_ip string
+ net.protocol.name string Note: not set if the value is "http".
+ net.protocol.version string
+ http.target string Note: doesn't include the query parameter.
+ */
+ /* The following semantic conventions are not returned:
+ http.status_code This requires the response.
+ http.request_content_length This requires the len() of body, which can mutate it.
+ http.response_content_length This requires the response.
+ http.route This is not available.
+ net.sock.peer.name This would require a DNS lookup.
+ net.sock.host.addr The request doesn't have access to the underlying socket.
+ net.sock.host.port The request doesn't have access to the underlying socket.
+
+ */
n := 4 // Method, scheme, proto, and host name.
var host string
var p int
@@ -330,19 +357,31 @@ func (c *httpConv) ServerRequest(server string, req *http.Request) []attribute.K
if useragent != "" {
n++
}
- userID, _, hasUserID := req.BasicAuth()
- if hasUserID {
- n++
- }
+
clientIP := serverClientIP(req.Header.Get("X-Forwarded-For"))
if clientIP != "" {
n++
}
+
+ var target string
+ if req.URL != nil {
+ target = req.URL.Path
+ if target != "" {
+ n++
+ }
+ }
+ protoName, protoVersion := netProtocol(req.Proto)
+ if protoName != "" && protoName != "http" {
+ n++
+ }
+ if protoVersion != "" {
+ n++
+ }
+
attrs := make([]attribute.KeyValue, 0, n)
attrs = append(attrs, c.method(req.Method))
attrs = append(attrs, c.scheme(req.TLS != nil))
- attrs = append(attrs, c.flavor(req.Proto))
attrs = append(attrs, c.NetConv.HostName(host))
if hostPort > 0 {
@@ -359,17 +398,24 @@ func (c *httpConv) ServerRequest(server string, req *http.Request) []attribute.K
}
if useragent != "" {
- attrs = append(attrs, c.HTTPUserAgentKey.String(useragent))
- }
-
- if hasUserID {
- attrs = append(attrs, c.EnduserIDKey.String(userID))
+ attrs = append(attrs, c.UserAgentOriginalKey.String(useragent))
}
if clientIP != "" {
attrs = append(attrs, c.HTTPClientIPKey.String(clientIP))
}
+ if target != "" {
+ attrs = append(attrs, c.HTTPTargetKey.String(target))
+ }
+
+ if protoName != "" && protoName != "http" {
+ attrs = append(attrs, c.NetConv.NetProtocolName.String(protoName))
+ }
+ if protoVersion != "" {
+ attrs = append(attrs, c.NetConv.NetProtocolVersion.String(protoVersion))
+ }
+
return attrs
}
@@ -391,17 +437,21 @@ func (c *httpConv) ServerRequest(server string, req *http.Request) []attribute.K
// The req Host will be used to determine the server instead.
//
// The following attributes are always returned: "http.method", "http.scheme",
-// "http.flavor", "net.host.name". The following attributes are
-// returned if they related values are defined in req: "net.host.port".
+// "net.host.name". The following attributes are returned if they related
+// values are defined in req: "net.host.port".
func (c *httpConv) ServerRequestMetrics(server string, req *http.Request) []attribute.KeyValue {
- // TODO: This currently does not add the specification required
- // `http.target` attribute. It has too high of a cardinality to safely be
- // added. An alternate should be added, or this comment removed, when it is
- // addressed by the specification. If it is ultimately decided to continue
- // not including the attribute, the HTTPTargetKey field of the httpConv
- // should be removed as well.
+ /* The following semantic conventions are returned if present:
+ http.scheme string
+ http.route string
+ http.method string
+ http.status_code int
+ net.host.name string
+ net.host.port int
+ net.protocol.name string Note: not set if the value is "http".
+ net.protocol.version string
+ */
- n := 4 // Method, scheme, proto, and host name.
+ n := 3 // Method, scheme, and host name.
var host string
var p int
if server == "" {
@@ -417,16 +467,29 @@ func (c *httpConv) ServerRequestMetrics(server string, req *http.Request) []attr
if hostPort > 0 {
n++
}
+ protoName, protoVersion := netProtocol(req.Proto)
+ if protoName != "" {
+ n++
+ }
+ if protoVersion != "" {
+ n++
+ }
+
attrs := make([]attribute.KeyValue, 0, n)
attrs = append(attrs, c.methodMetric(req.Method))
attrs = append(attrs, c.scheme(req.TLS != nil))
- attrs = append(attrs, c.flavor(req.Proto))
attrs = append(attrs, c.NetConv.HostName(host))
if hostPort > 0 {
attrs = append(attrs, c.NetConv.HostPort(hostPort))
}
+ if protoName != "" {
+ attrs = append(attrs, c.NetConv.NetProtocolName.String(protoName))
+ }
+ if protoVersion != "" {
+ attrs = append(attrs, c.NetConv.NetProtocolVersion.String(protoVersion))
+ }
return attrs
}
@@ -455,21 +518,6 @@ func (c *httpConv) scheme(https bool) attribute.KeyValue { // nolint:revive
return c.HTTPSchemeHTTP
}
-func (c *httpConv) flavor(proto string) attribute.KeyValue {
- switch proto {
- case "HTTP/1.0":
- return c.HTTPFlavorKey.String("1.0")
- case "HTTP/1.1":
- return c.HTTPFlavorKey.String("1.1")
- case "HTTP/2":
- return c.HTTPFlavorKey.String("2.0")
- case "HTTP/3":
- return c.HTTPFlavorKey.String("3.0")
- default:
- return c.HTTPFlavorKey.String(proto)
- }
-}
-
func serverClientIP(xForwardedFor string) string {
if idx := strings.Index(xForwardedFor, ","); idx >= 0 {
xForwardedFor = xForwardedFor[:idx]
@@ -501,31 +549,6 @@ func firstHostPort(source ...string) (host string, port int) {
return
}
-// RequestHeader returns the contents of h as OpenTelemetry attributes.
-func (c *httpConv) RequestHeader(h http.Header) []attribute.KeyValue {
- return c.header("http.request.header", h)
-}
-
-// ResponseHeader returns the contents of h as OpenTelemetry attributes.
-func (c *httpConv) ResponseHeader(h http.Header) []attribute.KeyValue {
- return c.header("http.response.header", h)
-}
-
-func (c *httpConv) header(prefix string, h http.Header) []attribute.KeyValue {
- key := func(k string) attribute.Key {
- k = strings.ToLower(k)
- k = strings.ReplaceAll(k, "-", "_")
- k = fmt.Sprintf("%s.%s", prefix, k)
- return attribute.Key(k)
- }
-
- attrs := make([]attribute.KeyValue, 0, len(h))
- for k, v := range h {
- attrs = append(attrs, key(k).StringSlice(v))
- }
- return attrs
-}
-
// ClientStatus returns a span status code and message for an HTTP status code
// value received by a client.
func (c *httpConv) ClientStatus(code int) (codes.Code, string) {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/netconv.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/netconv.go
index bde8893437..d5c0093fc4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/netconv.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil/netconv.go
@@ -2,17 +2,7 @@
// source: internal/shared/semconvutil/netconv.go.tmpl
// Copyright The OpenTelemetry Authors
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconvutil // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil"
@@ -22,7 +12,7 @@ import (
"strings"
"go.opentelemetry.io/otel/attribute"
- semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.20.0"
)
// NetTransport returns a trace attribute describing the transport protocol of the
@@ -32,24 +22,6 @@ func NetTransport(network string) attribute.KeyValue {
return nc.Transport(network)
}
-// NetClient returns trace attributes for a client network connection to address.
-// See net.Dial for information about acceptable address values, address should
-// be the same as the one used to create conn. If conn is nil, only network
-// peer attributes will be returned that describe address. Otherwise, the
-// socket level information about conn will also be included.
-func NetClient(address string, conn net.Conn) []attribute.KeyValue {
- return nc.Client(address, conn)
-}
-
-// NetServer returns trace attributes for a network listener listening at address.
-// See net.Listen for information about acceptable address values, address
-// should be the same as the one used to create ln. If ln is nil, only network
-// host attributes will be returned that describe address. Otherwise, the
-// socket level information about ln will also be included.
-func NetServer(address string, ln net.Listener) []attribute.KeyValue {
- return nc.Server(address, ln)
-}
-
// netConv are the network semantic convention attributes defined for a version
// of the OpenTelemetry specification.
type netConv struct {
@@ -57,6 +29,8 @@ type netConv struct {
NetHostPortKey attribute.Key
NetPeerNameKey attribute.Key
NetPeerPortKey attribute.Key
+ NetProtocolName attribute.Key
+ NetProtocolVersion attribute.Key
NetSockFamilyKey attribute.Key
NetSockPeerAddrKey attribute.Key
NetSockPeerPortKey attribute.Key
@@ -73,6 +47,8 @@ var nc = &netConv{
NetHostPortKey: semconv.NetHostPortKey,
NetPeerNameKey: semconv.NetPeerNameKey,
NetPeerPortKey: semconv.NetPeerPortKey,
+ NetProtocolName: semconv.NetProtocolNameKey,
+ NetProtocolVersion: semconv.NetProtocolVersionKey,
NetSockFamilyKey: semconv.NetSockFamilyKey,
NetSockPeerAddrKey: semconv.NetSockPeerAddrKey,
NetSockPeerPortKey: semconv.NetSockPeerPortKey,
@@ -121,52 +97,6 @@ func (c *netConv) Host(address string) []attribute.KeyValue {
return attrs
}
-// Server returns attributes for a network listener listening at address. See
-// net.Listen for information about acceptable address values, address should
-// be the same as the one used to create ln. If ln is nil, only network host
-// attributes will be returned that describe address. Otherwise, the socket
-// level information about ln will also be included.
-func (c *netConv) Server(address string, ln net.Listener) []attribute.KeyValue {
- if ln == nil {
- return c.Host(address)
- }
-
- lAddr := ln.Addr()
- if lAddr == nil {
- return c.Host(address)
- }
-
- hostName, hostPort := splitHostPort(address)
- sockHostAddr, sockHostPort := splitHostPort(lAddr.String())
- network := lAddr.Network()
- sockFamily := family(network, sockHostAddr)
-
- n := nonZeroStr(hostName, network, sockHostAddr, sockFamily)
- n += positiveInt(hostPort, sockHostPort)
- attr := make([]attribute.KeyValue, 0, n)
- if hostName != "" {
- attr = append(attr, c.HostName(hostName))
- if hostPort > 0 {
- // Only if net.host.name is set should net.host.port be.
- attr = append(attr, c.HostPort(hostPort))
- }
- }
- if network != "" {
- attr = append(attr, c.Transport(network))
- }
- if sockFamily != "" {
- attr = append(attr, c.NetSockFamilyKey.String(sockFamily))
- }
- if sockHostAddr != "" {
- attr = append(attr, c.NetSockHostAddrKey.String(sockHostAddr))
- if sockHostPort > 0 {
- // Only if net.sock.host.addr is set should net.sock.host.port be.
- attr = append(attr, c.NetSockHostPortKey.Int(sockHostPort))
- }
- }
- return attr
-}
-
func (c *netConv) HostName(name string) attribute.KeyValue {
return c.NetHostNameKey.String(name)
}
@@ -175,85 +105,6 @@ func (c *netConv) HostPort(port int) attribute.KeyValue {
return c.NetHostPortKey.Int(port)
}
-// Client returns attributes for a client network connection to address. See
-// net.Dial for information about acceptable address values, address should be
-// the same as the one used to create conn. If conn is nil, only network peer
-// attributes will be returned that describe address. Otherwise, the socket
-// level information about conn will also be included.
-func (c *netConv) Client(address string, conn net.Conn) []attribute.KeyValue {
- if conn == nil {
- return c.Peer(address)
- }
-
- lAddr, rAddr := conn.LocalAddr(), conn.RemoteAddr()
-
- var network string
- switch {
- case lAddr != nil:
- network = lAddr.Network()
- case rAddr != nil:
- network = rAddr.Network()
- default:
- return c.Peer(address)
- }
-
- peerName, peerPort := splitHostPort(address)
- var (
- sockFamily string
- sockPeerAddr string
- sockPeerPort int
- sockHostAddr string
- sockHostPort int
- )
-
- if lAddr != nil {
- sockHostAddr, sockHostPort = splitHostPort(lAddr.String())
- }
-
- if rAddr != nil {
- sockPeerAddr, sockPeerPort = splitHostPort(rAddr.String())
- }
-
- switch {
- case sockHostAddr != "":
- sockFamily = family(network, sockHostAddr)
- case sockPeerAddr != "":
- sockFamily = family(network, sockPeerAddr)
- }
-
- n := nonZeroStr(peerName, network, sockPeerAddr, sockHostAddr, sockFamily)
- n += positiveInt(peerPort, sockPeerPort, sockHostPort)
- attr := make([]attribute.KeyValue, 0, n)
- if peerName != "" {
- attr = append(attr, c.PeerName(peerName))
- if peerPort > 0 {
- // Only if net.peer.name is set should net.peer.port be.
- attr = append(attr, c.PeerPort(peerPort))
- }
- }
- if network != "" {
- attr = append(attr, c.Transport(network))
- }
- if sockFamily != "" {
- attr = append(attr, c.NetSockFamilyKey.String(sockFamily))
- }
- if sockPeerAddr != "" {
- attr = append(attr, c.NetSockPeerAddrKey.String(sockPeerAddr))
- if sockPeerPort > 0 {
- // Only if net.sock.peer.addr is set should net.sock.peer.port be.
- attr = append(attr, c.NetSockPeerPortKey.Int(sockPeerPort))
- }
- }
- if sockHostAddr != "" {
- attr = append(attr, c.NetSockHostAddrKey.String(sockHostAddr))
- if sockHostPort > 0 {
- // Only if net.sock.host.addr is set should net.sock.host.port be.
- attr = append(attr, c.NetSockHostPortKey.Int(sockHostPort))
- }
- }
- return attr
-}
-
func family(network, address string) string {
switch network {
case "unix", "unixgram", "unixpacket":
@@ -269,26 +120,6 @@ func family(network, address string) string {
return ""
}
-func nonZeroStr(strs ...string) int {
- var n int
- for _, str := range strs {
- if str != "" {
- n++
- }
- }
- return n
-}
-
-func positiveInt(ints ...int) int {
- var n int
- for _, i := range ints {
- if i > 0 {
- n++
- }
- }
- return n
-}
-
// Peer returns attributes for a network peer address.
func (c *netConv) Peer(address string) []attribute.KeyValue {
h, p := splitHostPort(address)
@@ -366,3 +197,9 @@ func splitHostPort(hostport string) (host string, port int) {
}
return host, int(p)
}
+
+func netProtocol(proto string) (name string, version string) {
+ name, version, _ = strings.Cut(proto, "/")
+ name = strings.ToLower(name)
+ return name, version
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/labeler.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/labeler.go
index 26a51a1805..1548b2db63 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/labeler.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/labeler.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/transport.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/transport.go
index e835cac12e..8a25e58657 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/transport.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/transport.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
@@ -19,31 +8,43 @@ import (
"io"
"net/http"
"net/http/httptrace"
+ "sync/atomic"
+ "time"
+
+ "go.opentelemetry.io/otel/metric"
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
"go.opentelemetry.io/otel/propagation"
"go.opentelemetry.io/otel/trace"
+
+ semconv "go.opentelemetry.io/otel/semconv/v1.20.0"
)
// Transport implements the http.RoundTripper interface and wraps
-// outbound HTTP(S) requests with a span.
+// outbound HTTP(S) requests with a span and enriches it with metrics.
type Transport struct {
rt http.RoundTripper
tracer trace.Tracer
+ meter metric.Meter
propagators propagation.TextMapPropagator
spanStartOptions []trace.SpanStartOption
filters []Filter
spanNameFormatter func(string, *http.Request) string
clientTrace func(context.Context) *httptrace.ClientTrace
+
+ requestBytesCounter metric.Int64Counter
+ responseBytesCounter metric.Int64Counter
+ latencyMeasure metric.Float64Histogram
}
var _ http.RoundTripper = &Transport{}
// NewTransport wraps the provided http.RoundTripper with one that
-// starts a span and injects the span context into the outbound request headers.
+// starts a span, injects the span context into the outbound request headers,
+// and enriches it with metrics.
//
// If the provided http.RoundTripper is nil, http.DefaultTransport will be used
// as the base http.RoundTripper.
@@ -63,12 +64,14 @@ func NewTransport(base http.RoundTripper, opts ...Option) *Transport {
c := newConfig(append(defaultOpts, opts...)...)
t.applyConfig(c)
+ t.createMeasures()
return &t
}
func (t *Transport) applyConfig(c *config) {
t.tracer = c.Tracer
+ t.meter = c.Meter
t.propagators = c.Propagators
t.spanStartOptions = c.SpanStartOptions
t.filters = c.Filters
@@ -76,6 +79,30 @@ func (t *Transport) applyConfig(c *config) {
t.clientTrace = c.ClientTrace
}
+func (t *Transport) createMeasures() {
+ var err error
+ t.requestBytesCounter, err = t.meter.Int64Counter(
+ clientRequestSize,
+ metric.WithUnit("By"),
+ metric.WithDescription("Measures the size of HTTP request messages."),
+ )
+ handleErr(err)
+
+ t.responseBytesCounter, err = t.meter.Int64Counter(
+ clientResponseSize,
+ metric.WithUnit("By"),
+ metric.WithDescription("Measures the size of HTTP response messages."),
+ )
+ handleErr(err)
+
+ t.latencyMeasure, err = t.meter.Float64Histogram(
+ clientDuration,
+ metric.WithUnit("ms"),
+ metric.WithDescription("Measures the duration of outbound HTTP requests."),
+ )
+ handleErr(err)
+}
+
func defaultTransportFormatter(_ string, r *http.Request) string {
return "HTTP " + r.Method
}
@@ -84,6 +111,7 @@ func defaultTransportFormatter(_ string, r *http.Request) string {
// before handing the request to the configured base RoundTripper. The created span will
// end when the response body is closed or when a read from the body returns io.EOF.
func (t *Transport) RoundTrip(r *http.Request) (*http.Response, error) {
+ requestStartTime := time.Now()
for _, f := range t.filters {
if !f(r) {
// Simply pass through to the base RoundTripper if a filter rejects the request
@@ -109,7 +137,23 @@ func (t *Transport) RoundTrip(r *http.Request) (*http.Response, error) {
ctx = httptrace.WithClientTrace(ctx, t.clientTrace(ctx))
}
+ labeler := &Labeler{}
+ ctx = injectLabeler(ctx, labeler)
+
r = r.Clone(ctx) // According to RoundTripper spec, we shouldn't modify the origin request.
+
+ // use a body wrapper to determine the request size
+ var bw bodyWrapper
+ // if request body is nil or NoBody, we don't want to mutate the body as it
+ // will affect the identity of it in an unforeseeable way because we assert
+ // ReadCloser fulfills a certain interface and it is indeed nil or NoBody.
+ if r.Body != nil && r.Body != http.NoBody {
+ bw.ReadCloser = r.Body
+ // noop to prevent nil panic. not using this record fun yet.
+ bw.record = func(int64) {}
+ r.Body = &bw
+ }
+
span.SetAttributes(semconvutil.HTTPClientRequest(r)...)
t.propagators.Inject(ctx, propagation.HeaderCarrier(r.Header))
@@ -121,9 +165,28 @@ func (t *Transport) RoundTrip(r *http.Request) (*http.Response, error) {
return res, err
}
+ // metrics
+ metricAttrs := append(labeler.Get(), semconvutil.HTTPClientRequestMetrics(r)...)
+ if res.StatusCode > 0 {
+ metricAttrs = append(metricAttrs, semconv.HTTPStatusCode(res.StatusCode))
+ }
+ o := metric.WithAttributes(metricAttrs...)
+ t.requestBytesCounter.Add(ctx, bw.read.Load(), o)
+ // For handling response bytes we leverage a callback when the client reads the http response
+ readRecordFunc := func(n int64) {
+ t.responseBytesCounter.Add(ctx, n, o)
+ }
+
+ // traces
span.SetAttributes(semconvutil.HTTPClientResponse(res)...)
span.SetStatus(semconvutil.HTTPClientStatus(res.StatusCode))
- res.Body = newWrappedBody(span, res.Body)
+
+ res.Body = newWrappedBody(span, readRecordFunc, res.Body)
+
+ // Use floating point division here for higher precision (instead of Millisecond method).
+ elapsedTime := float64(time.Since(requestStartTime)) / float64(time.Millisecond)
+
+ t.latencyMeasure.Record(ctx, elapsedTime, o)
return res, err
}
@@ -131,17 +194,17 @@ func (t *Transport) RoundTrip(r *http.Request) (*http.Response, error) {
// newWrappedBody returns a new and appropriately scoped *wrappedBody as an
// io.ReadCloser. If the passed body implements io.Writer, the returned value
// will implement io.ReadWriteCloser.
-func newWrappedBody(span trace.Span, body io.ReadCloser) io.ReadCloser {
+func newWrappedBody(span trace.Span, record func(n int64), body io.ReadCloser) io.ReadCloser {
// The successful protocol switch responses will have a body that
// implement an io.ReadWriteCloser. Ensure this interface type continues
// to be satisfied if that is the case.
if _, ok := body.(io.ReadWriteCloser); ok {
- return &wrappedBody{span: span, body: body}
+ return &wrappedBody{span: span, record: record, body: body}
}
// Remove the implementation of the io.ReadWriteCloser and only implement
// the io.ReadCloser.
- return struct{ io.ReadCloser }{&wrappedBody{span: span, body: body}}
+ return struct{ io.ReadCloser }{&wrappedBody{span: span, record: record, body: body}}
}
// wrappedBody is the response body type returned by the transport
@@ -153,8 +216,11 @@ func newWrappedBody(span trace.Span, body io.ReadCloser) io.ReadCloser {
// If the response body implements the io.Writer interface (i.e. for
// successful protocol switches), the wrapped body also will.
type wrappedBody struct {
- span trace.Span
- body io.ReadCloser
+ span trace.Span
+ recorded atomic.Bool
+ record func(n int64)
+ body io.ReadCloser
+ read atomic.Int64
}
var _ io.ReadWriteCloser = &wrappedBody{}
@@ -171,11 +237,14 @@ func (wb *wrappedBody) Write(p []byte) (int, error) {
func (wb *wrappedBody) Read(b []byte) (int, error) {
n, err := wb.body.Read(b)
+ // Record the number of bytes read
+ wb.read.Add(int64(n))
switch err {
case nil:
// nothing to do here but fall through to the return
case io.EOF:
+ wb.recordBytesRead()
wb.span.End()
default:
wb.span.RecordError(err)
@@ -184,7 +253,20 @@ func (wb *wrappedBody) Read(b []byte) (int, error) {
return n, err
}
+// recordBytesRead is a function that ensures the number of bytes read is recorded once and only once.
+func (wb *wrappedBody) recordBytesRead() {
+ // note: it is more performant (and equally correct) to use atomic.Bool over sync.Once here. In the event that
+ // two goroutines are racing to call this method, the number of bytes read will no longer increase. Using
+ // CompareAndSwap allows later goroutines to return quickly and not block waiting for the race winner to finish
+ // calling wb.record(wb.read.Load()).
+ if wb.recorded.CompareAndSwap(false, true) {
+ // Record the total number of bytes read
+ wb.record(wb.read.Load())
+ }
+}
+
func (wb *wrappedBody) Close() error {
+ wb.recordBytesRead()
wb.span.End()
if wb.body != nil {
return wb.body.Close()
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go
index 8a5cf07bd2..22e485dd7d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go
@@ -1,22 +1,11 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
// Version is the current release version of the otelhttp instrumentation.
func Version() string {
- return "0.46.0"
+ return "0.52.0"
// This string is updated by the pre_release.sh script during release
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/wrap.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/wrap.go
index 11a35ed167..2f4cc124dc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/wrap.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/wrap.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otelhttp // import "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
@@ -18,6 +7,7 @@ import (
"context"
"io"
"net/http"
+ "sync/atomic"
"go.opentelemetry.io/otel/propagation"
)
@@ -30,14 +20,14 @@ type bodyWrapper struct {
io.ReadCloser
record func(n int64) // must not be nil
- read int64
+ read atomic.Int64
err error
}
func (w *bodyWrapper) Read(b []byte) (int, error) {
n, err := w.ReadCloser.Read(b)
n1 := int64(n)
- w.read += n1
+ w.read.Add(n1)
w.err = err
w.record(n1)
return n, err
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CHANGELOG.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CHANGELOG.md
index 98f2d20438..e5946bfb25 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CHANGELOG.md
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CHANGELOG.md
@@ -8,6 +8,117 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
+## [1.27.0/0.49.0/0.3.0] 2024-05-21
+
+### Added
+
+- Add example for `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`. (#5242)
+- Add `RecordFactory` in `go.opentelemetry.io/otel/sdk/log/logtest` to facilitate testing exporter and processor implementations. (#5258)
+- Add `RecordFactory` in `go.opentelemetry.io/otel/log/logtest` to facilitate testing bridge implementations. (#5263)
+- The count of dropped records from the `BatchProcessor` in `go.opentelemetry.io/otel/sdk/log` is logged. (#5276)
+- Add metrics in the `otel-collector` example. (#5283)
+- Add the synchronous gauge instrument to `go.opentelemetry.io/otel/metric`. (#5304)
+ - An `int64` or `float64` synchronous gauge instrument can now be created from a `Meter`.
+ - All implementations of the API (`go.opentelemetry.io/otel/metric/noop`, `go.opentelemetry.io/otel/sdk/metric`) are updated to support this instrument.
+- Add logs to `go.opentelemetry.io/otel/example/dice`. (#5349)
+
+### Changed
+
+- The `Shutdown` method of `Exporter` in `go.opentelemetry.io/otel/exporters/stdout/stdouttrace` ignores the context cancellation and always returns `nil`. (#5189)
+- The `ForceFlush` and `Shutdown` methods of the exporter returned by `New` in `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric` ignore the context cancellation and always return `nil`. (#5189)
+- Apply the value length limits to `Record` attributes in `go.opentelemetry.io/otel/sdk/log`. (#5230)
+- De-duplicate map attributes added to a `Record` in `go.opentelemetry.io/otel/sdk/log`. (#5230)
+- `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` won't print timestamps when `WithoutTimestamps` option is set. (#5241)
+- The `go.opentelemetry.io/otel/exporters/stdout/stdoutlog` exporter won't print `AttributeValueLengthLimit` and `AttributeCountLimit` fields now, instead it prints the `DroppedAttributes` field. (#5272)
+- Improved performance in the `Stringer` implementation of `go.opentelemetry.io/otel/baggage.Member` by reducing the number of allocations. (#5286)
+- Set the start time for last-value aggregates in `go.opentelemetry.io/otel/sdk/metric`. (#5305)
+- The `Span` in `go.opentelemetry.io/otel/sdk/trace` will record links without span context if either non-empty `TraceState` or attributes are provided. (#5315)
+- Upgrade all dependencies of `go.opentelemetry.io/otel/semconv/v1.24.0` to `go.opentelemetry.io/otel/semconv/v1.25.0`. (#5374)
+
+### Fixed
+
+- Comparison of unordered maps for `go.opentelemetry.io/otel/log.KeyValue` and `go.opentelemetry.io/otel/log.Value`. (#5306)
+- Fix the empty output of `go.opentelemetry.io/otel/log.Value` in `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`. (#5311)
+- Split the behavior of `Recorder` in `go.opentelemetry.io/otel/log/logtest` so it behaves as a `LoggerProvider` only. (#5365)
+- Fix wrong package name of the error message when parsing endpoint URL in `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`. (#5371)
+- Identify the `Logger` returned from the global `LoggerProvider` in `go.opentelemetry.io/otel/log/global` with its schema URL. (#5375)
+
+## [1.26.0/0.48.0/0.2.0-alpha] 2024-04-24
+
+### Added
+
+- Add `Recorder` in `go.opentelemetry.io/otel/log/logtest` to facilitate testing the log bridge implementations. (#5134)
+- Add span flags to OTLP spans and links exported by `go.opentelemetry.io/otel/exporters/otlp/otlptrace`. (#5194)
+- Make the initial alpha release of `go.opentelemetry.io/otel/sdk/log`.
+ This new module contains the Go implementation of the OpenTelemetry Logs SDK.
+ This module is unstable and breaking changes may be introduced.
+ See our [versioning policy](VERSIONING.md) for more information about these stability guarantees. (#5240)
+- Make the initial alpha release of `go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp`.
+ This new module contains an OTLP exporter that transmits log telemetry using HTTP.
+ This module is unstable and breaking changes may be introduced.
+ See our [versioning policy](VERSIONING.md) for more information about these stability guarantees. (#5240)
+- Make the initial alpha release of `go.opentelemetry.io/otel/exporters/stdout/stdoutlog`.
+ This new module contains an exporter prints log records to STDOUT.
+ This module is unstable and breaking changes may be introduced.
+ See our [versioning policy](VERSIONING.md) for more information about these stability guarantees. (#5240)
+- The `go.opentelemetry.io/otel/semconv/v1.25.0` package.
+ The package contains semantic conventions from the `v1.25.0` version of the OpenTelemetry Semantic Conventions. (#5254)
+
+### Changed
+
+- Update `go.opentelemetry.io/proto/otlp` from v1.1.0 to v1.2.0. (#5177)
+- Improve performance of baggage member character validation in `go.opentelemetry.io/otel/baggage`. (#5214)
+- The `otel-collector` example now uses docker compose to bring up services instead of kubernetes. (#5244)
+
+### Fixed
+
+- Slice attribute values in `go.opentelemetry.io/otel/attribute` are now emitted as their JSON representation. (#5159)
+
+## [1.25.0/0.47.0/0.0.8/0.1.0-alpha] 2024-04-05
+
+### Added
+
+- Add `WithProxy` option in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp`. (#4906)
+- Add `WithProxy` option in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp`. (#4906)
+- Add `AddLink` method to the `Span` interface in `go.opentelemetry.io/otel/trace`. (#5032)
+- The `Enabled` method is added to the `Logger` interface in `go.opentelemetry.io/otel/log`.
+ This method is used to notify users if a log record will be emitted or not. (#5071)
+- Add `SeverityUndefined` `const` to `go.opentelemetry.io/otel/log`.
+ This value represents an unset severity level. (#5072)
+- Add `Empty` function in `go.opentelemetry.io/otel/log` to return a `KeyValue` for an empty value. (#5076)
+- Add `go.opentelemetry.io/otel/log/global` to manage the global `LoggerProvider`.
+ This package is provided with the anticipation that all functionality will be migrate to `go.opentelemetry.io/otel` when `go.opentelemetry.io/otel/log` stabilizes.
+ At which point, users will be required to migrage their code, and this package will be deprecated then removed. (#5085)
+- Add support for `Summary` metrics in the `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` exporters. (#5100)
+- Add `otel.scope.name` and `otel.scope.version` tags to spans exported by `go.opentelemetry.io/otel/exporters/zipkin`. (#5108)
+- Add support for `AddLink` to `go.opentelemetry.io/otel/bridge/opencensus`. (#5116)
+- Add `String` method to `Value` and `KeyValue` in `go.opentelemetry.io/otel/log`. (#5117)
+- Add Exemplar support to `go.opentelemetry.io/otel/exporters/prometheus`. (#5111)
+- Add metric semantic conventions to `go.opentelemetry.io/otel/semconv/v1.24.0`. Future `semconv` packages will include metric semantic conventions as well. (#4528)
+
+### Changed
+
+- `SpanFromContext` and `SpanContextFromContext` in `go.opentelemetry.io/otel/trace` no longer make a heap allocation when the passed context has no span. (#5049)
+- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc` and `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc` now create a gRPC client in idle mode and with "dns" as the default resolver using [`grpc.NewClient`](https://pkg.go.dev/google.golang.org/grpc#NewClient). (#5151)
+ Because of that `WithDialOption` ignores [`grpc.WithBlock`](https://pkg.go.dev/google.golang.org/grpc#WithBlock), [`grpc.WithTimeout`](https://pkg.go.dev/google.golang.org/grpc#WithTimeout), and [`grpc.WithReturnConnectionError`](https://pkg.go.dev/google.golang.org/grpc#WithReturnConnectionError).
+ Notice that [`grpc.DialContext`](https://pkg.go.dev/google.golang.org/grpc#DialContext) which was used before is now deprecated.
+
+### Fixed
+
+- Clarify the documentation about equivalence guarantees for the `Set` and `Distinct` types in `go.opentelemetry.io/otel/attribute`. (#5027)
+- Prevent default `ErrorHandler` self-delegation. (#5137)
+- Update all dependencies to address [GO-2024-2687]. (#5139)
+
+### Removed
+
+- Drop support for [Go 1.20]. (#4967)
+
+### Deprecated
+
+- Deprecate `go.opentelemetry.io/otel/attribute.Sortable` type. (#4734)
+- Deprecate `go.opentelemetry.io/otel/attribute.NewSetWithSortable` function. (#4734)
+- Deprecate `go.opentelemetry.io/otel/attribute.NewSetWithSortableFiltered` function. (#4734)
+
## [1.24.0/0.46.0/0.0.1-alpha] 2024-02-23
This release is the last to support [Go 1.20].
@@ -22,6 +133,7 @@ The next release will require at least [Go 1.21].
This module includes OpenTelemetry Go's implementation of the Logs Bridge API.
This module is in an alpha state, it is subject to breaking changes.
See our [versioning policy](./VERSIONING.md) for more info. (#4961)
+- ARM64 platform to the compatibility testing suite. (#4994)
### Fixed
@@ -2849,7 +2961,10 @@ It contains api and sdk for trace and meter.
- CircleCI build CI manifest files.
- CODEOWNERS file to track owners of this project.
-[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...HEAD
+[Unreleased]: https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...HEAD
+[1.27.0/0.49.0/0.3.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.27.0
+[1.26.0/0.48.0/0.2.0-alpha]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.26.0
+[1.25.0/0.47.0/0.0.8/0.1.0-alpha]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.25.0
[1.24.0/0.46.0/0.0.1-alpha]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.24.0
[1.23.1]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.23.1
[1.23.0]: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.23.0
@@ -2937,3 +3052,5 @@ It contains api and sdk for trace and meter.
[metric API]:https://pkg.go.dev/go.opentelemetry.io/otel/metric
[metric SDK]:https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric
[trace API]:https://pkg.go.dev/go.opentelemetry.io/otel/trace
+
+[GO-2024-2687]: https://pkg.go.dev/vuln/GO-2024-2687
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CODEOWNERS b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CODEOWNERS
index 31d336d922..88f4c7d0e0 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CODEOWNERS
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CODEOWNERS
@@ -12,6 +12,6 @@
# https://help.github.com/en/articles/about-code-owners
#
-* @MrAlias @Aneurysm9 @evantorrie @XSAM @dashpole @MadVikingGod @pellared @hanyuancheung @dmathieu
+* @MrAlias @evantorrie @XSAM @dashpole @MadVikingGod @pellared @hanyuancheung @dmathieu
-CODEOWNERS @MrAlias @MadVikingGod @pellared @dashpole
\ No newline at end of file
+CODEOWNERS @MrAlias @MadVikingGod @pellared @dashpole
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md
index c9f2bac55b..2176ce5261 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/CONTRIBUTING.md
@@ -201,6 +201,16 @@ You can install and run a "local Go Doc site" in the following way:
[`go.opentelemetry.io/otel/metric`](https://pkg.go.dev/go.opentelemetry.io/otel/metric)
is an example of a very well-documented package.
+### README files
+
+Each (non-internal, non-test, non-documentation) package must contain a
+`README.md` file containing at least a title, and a `pkg.go.dev` badge.
+
+The README should not be a repetition of Go doc comments.
+
+You can verify the presence of all README files with the `make verify-readmes`
+command.
+
## Style Guide
One of the primary goals of this project is that it is actually used by
@@ -560,6 +570,9 @@ functionality should be added, each one will need their own super-set
interfaces and will duplicate the pattern. For this reason, the simple targeted
interface that defines the specific functionality should be preferred.
+See also:
+[Keeping Your Modules Compatible: Working with interfaces](https://go.dev/blog/module-compatibility#working-with-interfaces).
+
### Testing
The tests should never leak goroutines.
@@ -619,7 +632,6 @@ should be canceled.
- [Sam Xie](https://github.com/XSAM), Cisco/AppDynamics
- [Chester Cheung](https://github.com/hanyuancheung), Tencent
- [Damien Mathieu](https://github.com/dmathieu), Elastic
-- [Anthony Mirabella](https://github.com/Aneurysm9), AWS
### Maintainers
@@ -633,6 +645,7 @@ should be canceled.
- [Liz Fong-Jones](https://github.com/lizthegrey), Honeycomb
- [Gustavo Silva Paiva](https://github.com/paivagustavo), LightStep
- [Josh MacDonald](https://github.com/jmacd), LightStep
+- [Anthony Mirabella](https://github.com/Aneurysm9), AWS
### Become an Approver or a Maintainer
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/Makefile b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/Makefile
index 6de95219be..a9845a88f6 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/Makefile
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/Makefile
@@ -1,16 +1,5 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
TOOLS_MOD_DIR := ./internal/tools
@@ -25,8 +14,8 @@ TIMEOUT = 60
.DEFAULT_GOAL := precommit
.PHONY: precommit ci
-precommit: generate dependabot-generate license-check misspell go-mod-tidy golangci-lint-fix test-default
-ci: generate dependabot-check license-check lint vanity-import-check build test-default check-clean-work-tree test-coverage
+precommit: generate license-check misspell go-mod-tidy golangci-lint-fix verify-readmes test-default
+ci: generate license-check lint vanity-import-check verify-readmes build test-default check-clean-work-tree test-coverage
# Tools
@@ -34,7 +23,7 @@ TOOLS = $(CURDIR)/.tools
$(TOOLS):
@mkdir -p $@
-$(TOOLS)/%: | $(TOOLS)
+$(TOOLS)/%: $(TOOLS_MOD_DIR)/go.mod | $(TOOLS)
cd $(TOOLS_MOD_DIR) && \
$(GO) build -o $@ $(PACKAGE)
@@ -50,9 +39,6 @@ $(TOOLS)/crosslink: PACKAGE=go.opentelemetry.io/build-tools/crosslink
SEMCONVKIT = $(TOOLS)/semconvkit
$(TOOLS)/semconvkit: PACKAGE=go.opentelemetry.io/otel/$(TOOLS_MOD_DIR)/semconvkit
-DBOTCONF = $(TOOLS)/dbotconf
-$(TOOLS)/dbotconf: PACKAGE=go.opentelemetry.io/build-tools/dbotconf
-
GOLANGCI_LINT = $(TOOLS)/golangci-lint
$(TOOLS)/golangci-lint: PACKAGE=github.com/golangci/golangci-lint/cmd/golangci-lint
@@ -81,7 +67,7 @@ GOVULNCHECK = $(TOOLS)/govulncheck
$(TOOLS)/govulncheck: PACKAGE=golang.org/x/vuln/cmd/govulncheck
.PHONY: tools
-tools: $(CROSSLINK) $(DBOTCONF) $(GOLANGCI_LINT) $(MISSPELL) $(GOCOVMERGE) $(STRINGER) $(PORTO) $(GOJQ) $(SEMCONVGEN) $(MULTIMOD) $(SEMCONVKIT) $(GOTMPL) $(GORELEASE)
+tools: $(CROSSLINK) $(GOLANGCI_LINT) $(MISSPELL) $(GOCOVMERGE) $(STRINGER) $(PORTO) $(GOJQ) $(SEMCONVGEN) $(MULTIMOD) $(SEMCONVKIT) $(GOTMPL) $(GORELEASE)
# Virtualized python tools via docker
@@ -110,7 +96,7 @@ $(PYTOOLS):
@$(DOCKERPY) bash -c "python3 -m venv $(VENVDIR) && $(PIP) install --upgrade pip"
# Install python packages into the virtual environment.
-$(PYTOOLS)/%: | $(PYTOOLS)
+$(PYTOOLS)/%: $(PYTOOLS)
@$(DOCKERPY) $(PIP) install -r requirements.txt
CODESPELL = $(PYTOOLS)/codespell
@@ -124,18 +110,18 @@ generate: go-generate vanity-import-fix
.PHONY: go-generate
go-generate: $(OTEL_GO_MOD_DIRS:%=go-generate/%)
go-generate/%: DIR=$*
-go-generate/%: | $(STRINGER) $(GOTMPL)
+go-generate/%: $(STRINGER) $(GOTMPL)
@echo "$(GO) generate $(DIR)/..." \
&& cd $(DIR) \
&& PATH="$(TOOLS):$${PATH}" $(GO) generate ./...
.PHONY: vanity-import-fix
-vanity-import-fix: | $(PORTO)
+vanity-import-fix: $(PORTO)
@$(PORTO) --include-internal -w .
# Generate go.work file for local development.
.PHONY: go-work
-go-work: | $(CROSSLINK)
+go-work: $(CROSSLINK)
$(CROSSLINK) work --root=$(shell pwd)
# Build
@@ -178,7 +164,7 @@ test/%:
COVERAGE_MODE = atomic
COVERAGE_PROFILE = coverage.out
.PHONY: test-coverage
-test-coverage: | $(GOCOVMERGE)
+test-coverage: $(GOCOVMERGE)
@set -e; \
printf "" > coverage.txt; \
for dir in $(ALL_COVERAGE_MOD_DIRS); do \
@@ -209,23 +195,23 @@ golangci-lint-fix: ARGS=--fix
golangci-lint-fix: golangci-lint
golangci-lint: $(OTEL_GO_MOD_DIRS:%=golangci-lint/%)
golangci-lint/%: DIR=$*
-golangci-lint/%: | $(GOLANGCI_LINT)
+golangci-lint/%: $(GOLANGCI_LINT)
@echo 'golangci-lint $(if $(ARGS),$(ARGS) ,)$(DIR)' \
&& cd $(DIR) \
&& $(GOLANGCI_LINT) run --allow-serial-runners $(ARGS)
.PHONY: crosslink
-crosslink: | $(CROSSLINK)
+crosslink: $(CROSSLINK)
@echo "Updating intra-repository dependencies in all go modules" \
&& $(CROSSLINK) --root=$(shell pwd) --prune
.PHONY: go-mod-tidy
go-mod-tidy: $(ALL_GO_MOD_DIRS:%=go-mod-tidy/%)
go-mod-tidy/%: DIR=$*
-go-mod-tidy/%: | crosslink
+go-mod-tidy/%: crosslink
@echo "$(GO) mod tidy in $(DIR)" \
&& cd $(DIR) \
- && $(GO) mod tidy -compat=1.20
+ && $(GO) mod tidy -compat=1.21
.PHONY: lint-modules
lint-modules: go-mod-tidy
@@ -234,23 +220,23 @@ lint-modules: go-mod-tidy
lint: misspell lint-modules golangci-lint govulncheck
.PHONY: vanity-import-check
-vanity-import-check: | $(PORTO)
+vanity-import-check: $(PORTO)
@$(PORTO) --include-internal -l . || ( echo "(run: make vanity-import-fix)"; exit 1 )
.PHONY: misspell
-misspell: | $(MISSPELL)
+misspell: $(MISSPELL)
@$(MISSPELL) -w $(ALL_DOCS)
.PHONY: govulncheck
govulncheck: $(OTEL_GO_MOD_DIRS:%=govulncheck/%)
govulncheck/%: DIR=$*
-govulncheck/%: | $(GOVULNCHECK)
+govulncheck/%: $(GOVULNCHECK)
@echo "govulncheck ./... in $(DIR)" \
&& cd $(DIR) \
&& $(GOVULNCHECK) ./...
.PHONY: codespell
-codespell: | $(CODESPELL)
+codespell: $(CODESPELL)
@$(DOCKERPY) $(CODESPELL)
.PHONY: license-check
@@ -263,15 +249,6 @@ license-check:
exit 1; \
fi
-DEPENDABOT_CONFIG = .github/dependabot.yml
-.PHONY: dependabot-check
-dependabot-check: | $(DBOTCONF)
- @$(DBOTCONF) verify $(DEPENDABOT_CONFIG) || ( echo "(run: make dependabot-generate)"; exit 1 )
-
-.PHONY: dependabot-generate
-dependabot-generate: | $(DBOTCONF)
- @$(DBOTCONF) generate > $(DEPENDABOT_CONFIG)
-
.PHONY: check-clean-work-tree
check-clean-work-tree:
@if ! git diff --quiet; then \
@@ -284,13 +261,14 @@ check-clean-work-tree:
SEMCONVPKG ?= "semconv/"
.PHONY: semconv-generate
-semconv-generate: | $(SEMCONVGEN) $(SEMCONVKIT)
+semconv-generate: $(SEMCONVGEN) $(SEMCONVKIT)
[ "$(TAG)" ] || ( echo "TAG unset: missing opentelemetry semantic-conventions tag"; exit 1 )
[ "$(OTEL_SEMCONV_REPO)" ] || ( echo "OTEL_SEMCONV_REPO unset: missing path to opentelemetry semantic-conventions repo"; exit 1 )
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=span -p conventionType=trace -f trace.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=attribute_group -p conventionType=trace -f attribute_group.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=event -p conventionType=event -f event.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
$(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=resource -p conventionType=resource -f resource.go -t "$(SEMCONVPKG)/template.j2" -s "$(TAG)"
+ $(SEMCONVGEN) -i "$(OTEL_SEMCONV_REPO)/model/." --only=metric -f metric.go -t "$(SEMCONVPKG)/metric_template.j2" -s "$(TAG)"
$(SEMCONVKIT) -output "$(SEMCONVPKG)/$(TAG)" -tag "$(TAG)"
.PHONY: gorelease
@@ -303,16 +281,20 @@ gorelease/%:| $(GORELEASE)
|| echo ""
.PHONY: prerelease
-prerelease: | $(MULTIMOD)
+prerelease: $(MULTIMOD)
@[ "${MODSET}" ] || ( echo ">> env var MODSET is not set"; exit 1 )
$(MULTIMOD) verify && $(MULTIMOD) prerelease -m ${MODSET}
COMMIT ?= "HEAD"
.PHONY: add-tags
-add-tags: | $(MULTIMOD)
+add-tags: $(MULTIMOD)
@[ "${MODSET}" ] || ( echo ">> env var MODSET is not set"; exit 1 )
$(MULTIMOD) verify && $(MULTIMOD) tag -m ${MODSET} -c ${COMMIT}
.PHONY: lint-markdown
-lint-markdown:
+lint-markdown:
docker run -v "$(CURDIR):$(WORKDIR)" avtodev/markdown-lint:v1 -c $(WORKDIR)/.markdownlint.yaml $(WORKDIR)/**/*.md
+
+.PHONY: verify-readmes
+verify-readmes:
+ ./verify_readmes.sh
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/README.md
index 7766259a5c..5a89093173 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/README.md
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/README.md
@@ -15,7 +15,7 @@ It provides a set of APIs to directly measure performance and behavior of your s
|---------|--------------------|
| Traces | Stable |
| Metrics | Stable |
-| Logs | In development[^1] |
+| Logs | Beta[^1] |
Progress and status specific to this repository is tracked in our
[project boards](https://github.com/open-telemetry/opentelemetry-go/projects)
@@ -51,19 +51,16 @@ Currently, this project supports the following environments.
|---------|------------|--------------|
| Ubuntu | 1.22 | amd64 |
| Ubuntu | 1.21 | amd64 |
-| Ubuntu | 1.20 | amd64 |
| Ubuntu | 1.22 | 386 |
| Ubuntu | 1.21 | 386 |
-| Ubuntu | 1.20 | 386 |
+| Linux | 1.22 | arm64 |
+| Linux | 1.21 | arm64 |
| MacOS | 1.22 | amd64 |
| MacOS | 1.21 | amd64 |
-| MacOS | 1.20 | amd64 |
| Windows | 1.22 | amd64 |
| Windows | 1.21 | amd64 |
-| Windows | 1.20 | amd64 |
| Windows | 1.22 | 386 |
| Windows | 1.21 | 386 |
-| Windows | 1.20 | 386 |
While this project should work for other systems, no compatibility guarantees
are made for those systems currently.
@@ -100,12 +97,12 @@ export pipeline to send that telemetry to an observability platform.
All officially supported exporters for the OpenTelemetry project are contained in the [exporters directory](./exporters).
-| Exporter | Metrics | Traces |
-|---------------------------------------|:-------:|:------:|
-| [OTLP](./exporters/otlp/) | ✓ | ✓ |
-| [Prometheus](./exporters/prometheus/) | ✓ | |
-| [stdout](./exporters/stdout/) | ✓ | ✓ |
-| [Zipkin](./exporters/zipkin/) | | ✓ |
+| Exporter | Logs | Metrics | Traces |
+|---------------------------------------|:----:|:-------:|:------:|
+| [OTLP](./exporters/otlp/) | ✓ | ✓ | ✓ |
+| [Prometheus](./exporters/prometheus/) | | ✓ | |
+| [stdout](./exporters/stdout/) | ✓ | ✓ | ✓ |
+| [Zipkin](./exporters/zipkin/) | | | ✓ |
## Contributing
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/RELEASING.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/RELEASING.md
index d2691d0bd8..940f57f3d8 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/RELEASING.md
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/RELEASING.md
@@ -27,6 +27,12 @@ You can run `make gorelease` that runs [gorelease](https://pkg.go.dev/golang.org
You can check/report problems with `gorelease` [here](https://golang.org/issues/26420).
+## Verify changes for contrib repository
+
+If the changes in the main repository are going to affect the contrib repository, it is important to verify that the changes are compatible with the contrib repository.
+
+Follow [the steps](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/RELEASING.md#verify-otel-changes) in the contrib repository to verify OTel changes.
+
## Pre-Release
First, decide which module sets will be released and update their versions
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/README.md
new file mode 100644
index 0000000000..5b3da8f14c
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/README.md
@@ -0,0 +1,3 @@
+# Attribute
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/attribute)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/doc.go
index dafe7424df..eef51ebc2a 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package attribute provides key and value attributes.
package attribute // import "go.opentelemetry.io/otel/attribute"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/encoder.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/encoder.go
index fe2bc5766c..318e42fcab 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/encoder.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/encoder.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/filter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/filter.go
index 638c213d59..be9cd922d8 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/filter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/filter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/iterator.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/iterator.go
index 841b271fb7..f2ba89ce4b 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/iterator.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/iterator.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/key.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/key.go
index 0656a04e43..d9a22c6502 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/key.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/key.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/kv.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/kv.go
index 1ddf3ce058..3028f9a40f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/kv.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/kv.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/set.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/set.go
index fb6da51450..bff9c7fdbb 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/set.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/set.go
@@ -1,24 +1,14 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
import (
+ "cmp"
"encoding/json"
"reflect"
+ "slices"
"sort"
- "sync"
)
type (
@@ -26,23 +16,33 @@ type (
// immutable set of attributes, with an internal cache for storing
// attribute encodings.
//
- // This type supports the Equivalent method of comparison using values of
- // type Distinct.
+ // This type will remain comparable for backwards compatibility. The
+ // equivalence of Sets across versions is not guaranteed to be stable.
+ // Prior versions may find two Sets to be equal or not when compared
+ // directly (i.e. ==), but subsequent versions may not. Users should use
+ // the Equals method to ensure stable equivalence checking.
+ //
+ // Users should also use the Distinct returned from Equivalent as a map key
+ // instead of a Set directly. In addition to that type providing guarantees
+ // on stable equivalence, it may also provide performance improvements.
Set struct {
equivalent Distinct
}
- // Distinct wraps a variable-size array of KeyValue, constructed with keys
- // in sorted order. This can be used as a map key or for equality checking
- // between Sets.
+ // Distinct is a unique identifier of a Set.
+ //
+ // Distinct is designed to be ensures equivalence stability: comparisons
+ // will return the save value across versions. For this reason, Distinct
+ // should always be used as a map key instead of a Set.
Distinct struct {
iface interface{}
}
- // Sortable implements sort.Interface, used for sorting KeyValue. This is
- // an exported type to support a memory optimization. A pointer to one of
- // these is needed for the call to sort.Stable(), which the caller may
- // provide in order to avoid an allocation. See NewSetWithSortable().
+ // Sortable implements sort.Interface, used for sorting KeyValue.
+ //
+ // Deprecated: This type is no longer used. It was added as a performance
+ // optimization for Go < 1.21 that is no longer needed (Go < 1.21 is no
+ // longer supported by the module).
Sortable []KeyValue
)
@@ -56,12 +56,6 @@ var (
iface: [0]KeyValue{},
},
}
-
- // sortables is a pool of Sortables used to create Sets with a user does
- // not provide one.
- sortables = sync.Pool{
- New: func() interface{} { return new(Sortable) },
- }
)
// EmptySet returns a reference to a Set with no elements.
@@ -187,13 +181,7 @@ func empty() Set {
// Except for empty sets, this method adds an additional allocation compared
// with calls that include a Sortable.
func NewSet(kvs ...KeyValue) Set {
- // Check for empty set.
- if len(kvs) == 0 {
- return empty()
- }
- srt := sortables.Get().(*Sortable)
- s, _ := NewSetWithSortableFiltered(kvs, srt, nil)
- sortables.Put(srt)
+ s, _ := NewSetWithFiltered(kvs, nil)
return s
}
@@ -201,12 +189,10 @@ func NewSet(kvs ...KeyValue) Set {
// NewSetWithSortableFiltered for more details.
//
// This call includes a Sortable option as a memory optimization.
-func NewSetWithSortable(kvs []KeyValue, tmp *Sortable) Set {
- // Check for empty set.
- if len(kvs) == 0 {
- return empty()
- }
- s, _ := NewSetWithSortableFiltered(kvs, tmp, nil)
+//
+// Deprecated: Use [NewSet] instead.
+func NewSetWithSortable(kvs []KeyValue, _ *Sortable) Set {
+ s, _ := NewSetWithFiltered(kvs, nil)
return s
}
@@ -220,48 +206,12 @@ func NewSetWithFiltered(kvs []KeyValue, filter Filter) (Set, []KeyValue) {
if len(kvs) == 0 {
return empty(), nil
}
- srt := sortables.Get().(*Sortable)
- s, filtered := NewSetWithSortableFiltered(kvs, srt, filter)
- sortables.Put(srt)
- return s, filtered
-}
-
-// NewSetWithSortableFiltered returns a new Set.
-//
-// Duplicate keys are eliminated by taking the last value. This
-// re-orders the input slice so that unique last-values are contiguous
-// at the end of the slice.
-//
-// This ensures the following:
-//
-// - Last-value-wins semantics
-// - Caller sees the reordering, but doesn't lose values
-// - Repeated call preserve last-value wins.
-//
-// Note that methods are defined on Set, although this returns Set. Callers
-// can avoid memory allocations by:
-//
-// - allocating a Sortable for use as a temporary in this method
-// - allocating a Set for storing the return value of this constructor.
-//
-// The result maintains a cache of encoded attributes, by attribute.EncoderID.
-// This value should not be copied after its first use.
-//
-// The second []KeyValue return value is a list of attributes that were
-// excluded by the Filter (if non-nil).
-func NewSetWithSortableFiltered(kvs []KeyValue, tmp *Sortable, filter Filter) (Set, []KeyValue) {
- // Check for empty set.
- if len(kvs) == 0 {
- return empty(), nil
- }
-
- *tmp = kvs
// Stable sort so the following de-duplication can implement
// last-value-wins semantics.
- sort.Stable(tmp)
-
- *tmp = nil
+ slices.SortStableFunc(kvs, func(a, b KeyValue) int {
+ return cmp.Compare(a.Key, b.Key)
+ })
position := len(kvs) - 1
offset := position - 1
@@ -289,6 +239,35 @@ func NewSetWithSortableFiltered(kvs []KeyValue, tmp *Sortable, filter Filter) (S
return Set{equivalent: computeDistinct(kvs)}, nil
}
+// NewSetWithSortableFiltered returns a new Set.
+//
+// Duplicate keys are eliminated by taking the last value. This
+// re-orders the input slice so that unique last-values are contiguous
+// at the end of the slice.
+//
+// This ensures the following:
+//
+// - Last-value-wins semantics
+// - Caller sees the reordering, but doesn't lose values
+// - Repeated call preserve last-value wins.
+//
+// Note that methods are defined on Set, although this returns Set. Callers
+// can avoid memory allocations by:
+//
+// - allocating a Sortable for use as a temporary in this method
+// - allocating a Set for storing the return value of this constructor.
+//
+// The result maintains a cache of encoded attributes, by attribute.EncoderID.
+// This value should not be copied after its first use.
+//
+// The second []KeyValue return value is a list of attributes that were
+// excluded by the Filter (if non-nil).
+//
+// Deprecated: Use [NewSetWithFiltered] instead.
+func NewSetWithSortableFiltered(kvs []KeyValue, _ *Sortable, filter Filter) (Set, []KeyValue) {
+ return NewSetWithFiltered(kvs, filter)
+}
+
// filteredToFront filters slice in-place using keep function. All KeyValues that need to
// be removed are moved to the front. All KeyValues that need to be kept are
// moved (in-order) to the back. The index for the first KeyValue to be kept is
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/value.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/value.go
index cb21dd5c09..9ea0ecbbd2 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/value.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/attribute/value.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package attribute // import "go.opentelemetry.io/otel/attribute"
@@ -242,15 +231,27 @@ func (v Value) Emit() string {
case BOOL:
return strconv.FormatBool(v.AsBool())
case INT64SLICE:
- return fmt.Sprint(v.asInt64Slice())
+ j, err := json.Marshal(v.asInt64Slice())
+ if err != nil {
+ return fmt.Sprintf("invalid: %v", v.asInt64Slice())
+ }
+ return string(j)
case INT64:
return strconv.FormatInt(v.AsInt64(), 10)
case FLOAT64SLICE:
- return fmt.Sprint(v.asFloat64Slice())
+ j, err := json.Marshal(v.asFloat64Slice())
+ if err != nil {
+ return fmt.Sprintf("invalid: %v", v.asFloat64Slice())
+ }
+ return string(j)
case FLOAT64:
return fmt.Sprint(v.AsFloat64())
case STRINGSLICE:
- return fmt.Sprint(v.asStringSlice())
+ j, err := json.Marshal(v.asStringSlice())
+ if err != nil {
+ return fmt.Sprintf("invalid: %v", v.asStringSlice())
+ }
+ return string(j)
case STRING:
return v.stringly
default:
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/README.md
new file mode 100644
index 0000000000..7d798435e1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/README.md
@@ -0,0 +1,3 @@
+# Baggage
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/baggage)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/baggage.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/baggage.go
index 7d27cf77d5..f98c54a3cb 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/baggage.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/baggage.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package baggage // import "go.opentelemetry.io/otel/baggage"
@@ -19,6 +8,7 @@ import (
"fmt"
"net/url"
"strings"
+ "unicode/utf8"
"go.opentelemetry.io/otel/internal/baggage"
)
@@ -67,10 +57,10 @@ func NewKeyProperty(key string) (Property, error) {
// NewKeyValueProperty returns a new Property for key with value.
//
// The passed key must be compliant with W3C Baggage specification.
-// The passed value must be precent-encoded as defined in W3C Baggage specification.
+// The passed value must be percent-encoded as defined in W3C Baggage specification.
//
// Notice: Consider using [NewKeyValuePropertyRaw] instead
-// that does not require precent-encoding of the value.
+// that does not require percent-encoding of the value.
func NewKeyValueProperty(key, value string) (Property, error) {
if !validateValue(value) {
return newInvalidProperty(), fmt.Errorf("%w: %q", errInvalidValue, value)
@@ -232,13 +222,13 @@ type Member struct {
hasData bool
}
-// NewMemberRaw returns a new Member from the passed arguments.
+// NewMember returns a new Member from the passed arguments.
//
// The passed key must be compliant with W3C Baggage specification.
-// The passed value must be precent-encoded as defined in W3C Baggage specification.
+// The passed value must be percent-encoded as defined in W3C Baggage specification.
//
// Notice: Consider using [NewMemberRaw] instead
-// that does not require precent-encoding of the value.
+// that does not require percent-encoding of the value.
func NewMember(key, value string, props ...Property) (Member, error) {
if !validateValue(value) {
return newInvalidMember(), fmt.Errorf("%w: %q", errInvalidValue, value)
@@ -309,7 +299,7 @@ func parseMember(member string) (Member, error) {
return newInvalidMember(), fmt.Errorf("%w: %q", errInvalidValue, v)
}
- // Decode a precent-encoded value.
+ // Decode a percent-encoded value.
value, err := url.PathUnescape(val)
if err != nil {
return newInvalidMember(), fmt.Errorf("%w: %v", errInvalidValue, err)
@@ -345,9 +335,9 @@ func (m Member) String() string {
// A key is just an ASCII string. A value is restricted to be
// US-ASCII characters excluding CTLs, whitespace,
// DQUOTE, comma, semicolon, and backslash.
- s := fmt.Sprintf("%s%s%s", m.key, keyValueDelimiter, valueEscape(m.value))
+ s := m.key + keyValueDelimiter + valueEscape(m.value)
if len(m.properties) > 0 {
- s = fmt.Sprintf("%s%s%s", s, propertyDelimiter, m.properties.String())
+ s += propertyDelimiter + m.properties.String()
}
return s
}
@@ -616,7 +606,7 @@ func parsePropertyInternal(s string) (p Property, ok bool) {
return
}
- // Decode a precent-encoded value.
+ // Decode a percent-encoded value.
value, err := url.PathUnescape(s[valueStart:valueEnd])
if err != nil {
return
@@ -641,6 +631,95 @@ func skipSpace(s string, offset int) int {
return i
}
+var safeKeyCharset = [utf8.RuneSelf]bool{
+ // 0x23 to 0x27
+ '#': true,
+ '$': true,
+ '%': true,
+ '&': true,
+ '\'': true,
+
+ // 0x30 to 0x39
+ '0': true,
+ '1': true,
+ '2': true,
+ '3': true,
+ '4': true,
+ '5': true,
+ '6': true,
+ '7': true,
+ '8': true,
+ '9': true,
+
+ // 0x41 to 0x5a
+ 'A': true,
+ 'B': true,
+ 'C': true,
+ 'D': true,
+ 'E': true,
+ 'F': true,
+ 'G': true,
+ 'H': true,
+ 'I': true,
+ 'J': true,
+ 'K': true,
+ 'L': true,
+ 'M': true,
+ 'N': true,
+ 'O': true,
+ 'P': true,
+ 'Q': true,
+ 'R': true,
+ 'S': true,
+ 'T': true,
+ 'U': true,
+ 'V': true,
+ 'W': true,
+ 'X': true,
+ 'Y': true,
+ 'Z': true,
+
+ // 0x5e to 0x7a
+ '^': true,
+ '_': true,
+ '`': true,
+ 'a': true,
+ 'b': true,
+ 'c': true,
+ 'd': true,
+ 'e': true,
+ 'f': true,
+ 'g': true,
+ 'h': true,
+ 'i': true,
+ 'j': true,
+ 'k': true,
+ 'l': true,
+ 'm': true,
+ 'n': true,
+ 'o': true,
+ 'p': true,
+ 'q': true,
+ 'r': true,
+ 's': true,
+ 't': true,
+ 'u': true,
+ 'v': true,
+ 'w': true,
+ 'x': true,
+ 'y': true,
+ 'z': true,
+
+ // remainder
+ '!': true,
+ '*': true,
+ '+': true,
+ '-': true,
+ '.': true,
+ '|': true,
+ '~': true,
+}
+
func validateKey(s string) bool {
if len(s) == 0 {
return false
@@ -656,17 +735,7 @@ func validateKey(s string) bool {
}
func validateKeyChar(c int32) bool {
- return (c >= 0x23 && c <= 0x27) ||
- (c >= 0x30 && c <= 0x39) ||
- (c >= 0x41 && c <= 0x5a) ||
- (c >= 0x5e && c <= 0x7a) ||
- c == 0x21 ||
- c == 0x2a ||
- c == 0x2b ||
- c == 0x2d ||
- c == 0x2e ||
- c == 0x7c ||
- c == 0x7e
+ return c >= 0 && c <= int32(utf8.RuneSelf) && safeKeyCharset[c]
}
func validateValue(s string) bool {
@@ -679,12 +748,109 @@ func validateValue(s string) bool {
return true
}
+var safeValueCharset = [utf8.RuneSelf]bool{
+ '!': true, // 0x21
+
+ // 0x23 to 0x2b
+ '#': true,
+ '$': true,
+ '%': true,
+ '&': true,
+ '\'': true,
+ '(': true,
+ ')': true,
+ '*': true,
+ '+': true,
+
+ // 0x2d to 0x3a
+ '-': true,
+ '.': true,
+ '/': true,
+ '0': true,
+ '1': true,
+ '2': true,
+ '3': true,
+ '4': true,
+ '5': true,
+ '6': true,
+ '7': true,
+ '8': true,
+ '9': true,
+ ':': true,
+
+ // 0x3c to 0x5b
+ '<': true, // 0x3C
+ '=': true, // 0x3D
+ '>': true, // 0x3E
+ '?': true, // 0x3F
+ '@': true, // 0x40
+ 'A': true, // 0x41
+ 'B': true, // 0x42
+ 'C': true, // 0x43
+ 'D': true, // 0x44
+ 'E': true, // 0x45
+ 'F': true, // 0x46
+ 'G': true, // 0x47
+ 'H': true, // 0x48
+ 'I': true, // 0x49
+ 'J': true, // 0x4A
+ 'K': true, // 0x4B
+ 'L': true, // 0x4C
+ 'M': true, // 0x4D
+ 'N': true, // 0x4E
+ 'O': true, // 0x4F
+ 'P': true, // 0x50
+ 'Q': true, // 0x51
+ 'R': true, // 0x52
+ 'S': true, // 0x53
+ 'T': true, // 0x54
+ 'U': true, // 0x55
+ 'V': true, // 0x56
+ 'W': true, // 0x57
+ 'X': true, // 0x58
+ 'Y': true, // 0x59
+ 'Z': true, // 0x5A
+ '[': true, // 0x5B
+
+ // 0x5d to 0x7e
+ ']': true, // 0x5D
+ '^': true, // 0x5E
+ '_': true, // 0x5F
+ '`': true, // 0x60
+ 'a': true, // 0x61
+ 'b': true, // 0x62
+ 'c': true, // 0x63
+ 'd': true, // 0x64
+ 'e': true, // 0x65
+ 'f': true, // 0x66
+ 'g': true, // 0x67
+ 'h': true, // 0x68
+ 'i': true, // 0x69
+ 'j': true, // 0x6A
+ 'k': true, // 0x6B
+ 'l': true, // 0x6C
+ 'm': true, // 0x6D
+ 'n': true, // 0x6E
+ 'o': true, // 0x6F
+ 'p': true, // 0x70
+ 'q': true, // 0x71
+ 'r': true, // 0x72
+ 's': true, // 0x73
+ 't': true, // 0x74
+ 'u': true, // 0x75
+ 'v': true, // 0x76
+ 'w': true, // 0x77
+ 'x': true, // 0x78
+ 'y': true, // 0x79
+ 'z': true, // 0x7A
+ '{': true, // 0x7B
+ '|': true, // 0x7C
+ '}': true, // 0x7D
+ '~': true, // 0x7E
+}
+
func validateValueChar(c int32) bool {
- return c == 0x21 ||
- (c >= 0x23 && c <= 0x2b) ||
- (c >= 0x2d && c <= 0x3a) ||
- (c >= 0x3c && c <= 0x5b) ||
- (c >= 0x5d && c <= 0x7e)
+ return c >= 0 && c <= int32(utf8.RuneSelf) && safeValueCharset[c]
}
// valueEscape escapes the string so it can be safely placed inside a baggage value,
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/context.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/context.go
index 24b34b7564..a572461a05 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/context.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/context.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package baggage // import "go.opentelemetry.io/otel/baggage"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/doc.go
index 4545100df6..b51d87cab7 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/baggage/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package baggage provides functionality for storing and retrieving
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/README.md
new file mode 100644
index 0000000000..24c52b387d
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/README.md
@@ -0,0 +1,3 @@
+# Codes
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/codes)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/codes.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/codes.go
index 587ebae4e3..df29d96a6d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/codes.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/codes.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package codes // import "go.opentelemetry.io/otel/codes"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/doc.go
index 4e328fbb4b..ee8db448b8 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/codes/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package codes defines the canonical error codes used by OpenTelemetry.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/doc.go
index 36d7c24e88..441c595014 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package otel provides global access to the OpenTelemetry API. The subpackages of
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/error_handler.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/error_handler.go
index 72fad85412..67414c71e0 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/error_handler.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/error_handler.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/README.md
new file mode 100644
index 0000000000..50802d5aee
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/README.md
@@ -0,0 +1,3 @@
+# OTLP Trace Exporter
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/clients.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/clients.go
index dbb40cf582..3c1a625c06 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/clients.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/clients.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlptrace // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/doc.go
index 9e642235ad..09ad5eadb6 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package otlptrace contains abstractions for OTLP span exporters.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporter.go
index cb41c7d58f..3f0a518ae0 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlptrace // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/attribute.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/attribute.go
index ec74f1aad7..4571a5ca39 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/attribute.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/attribute.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go
index 7aaec38d22..f6dd3decc9 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/resource.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/resource.go
index 05a1f78adb..db7b698a56 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/resource.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/resource.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/span.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/span.go
index b83cbd7247..c3c69c5a0d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/span.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform/span.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform"
@@ -121,6 +110,7 @@ func span(sd tracesdk.ReadOnlySpan) *tracepb.Span {
if psid := sd.Parent().SpanID(); psid.IsValid() {
s.ParentSpanId = psid[:]
}
+ s.Flags = buildSpanFlags(sd.Parent())
return s
}
@@ -157,16 +147,28 @@ func links(links []tracesdk.Link) []*tracepb.Span_Link {
tid := otLink.SpanContext.TraceID()
sid := otLink.SpanContext.SpanID()
+ flags := buildSpanFlags(otLink.SpanContext)
+
sl = append(sl, &tracepb.Span_Link{
TraceId: tid[:],
SpanId: sid[:],
Attributes: KeyValues(otLink.Attributes),
DroppedAttributesCount: uint32(otLink.DroppedAttributeCount),
+ Flags: flags,
})
}
return sl
}
+func buildSpanFlags(sc trace.SpanContext) uint32 {
+ flags := tracepb.SpanFlags_SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK
+ if sc.IsRemote() {
+ flags |= tracepb.SpanFlags_SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK
+ }
+
+ return uint32(flags)
+}
+
// spanEvents transforms span Events to an OTLP span events.
func spanEvents(es []tracesdk.Event) []*tracepb.Span_Event {
if len(es) == 0 {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/README.md
new file mode 100644
index 0000000000..5309bb7cb1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/README.md
@@ -0,0 +1,3 @@
+# OTLP Trace gRPC Exporter
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/client.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/client.go
index b4cc21d7a3..3993df927d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/client.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/client.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlptracegrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
@@ -89,11 +78,11 @@ func newClient(opts ...Option) *client {
}
// Start establishes a gRPC connection to the collector.
-func (c *client) Start(ctx context.Context) error {
+func (c *client) Start(context.Context) error {
if c.conn == nil {
// If the caller did not provide a ClientConn when the client was
// created, create one using the configuration they did provide.
- conn, err := grpc.DialContext(ctx, c.endpoint, c.dialOpts...)
+ conn, err := grpc.NewClient(c.endpoint, c.dialOpts...)
if err != nil {
return err
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/doc.go
index a3c2690c5d..e783b57ac4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package otlptracegrpc provides an OTLP span exporter using gRPC.
@@ -40,7 +29,7 @@ The configuration can be overridden by [WithInsecure], [WithGRPCConn] options.
OTEL_EXPORTER_OTLP_HEADERS, OTEL_EXPORTER_OTLP_TRACES_HEADERS (default: none) -
key-value pairs used as gRPC metadata associated with gRPC requests.
-The value is expected to be represented in a format matching to the [W3C Baggage HTTP Header Content Format],
+The value is expected to be represented in a format matching the [W3C Baggage HTTP Header Content Format],
except that additional semi-colon delimited metadata is not supported.
Example value: "key1=value1,key2=value2".
OTEL_EXPORTER_OTLP_TRACES_HEADERS takes precedence over OTEL_EXPORTER_OTLP_HEADERS.
@@ -63,12 +52,12 @@ OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE takes precedence over OTEL_EXPORTER_OTLP_C
The configuration can be overridden by [WithTLSCredentials], [WithGRPCConn] options.
OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE, OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE (default: none) -
-the filepath to the client certificate/chain trust for clients private key to use in mTLS communication in PEM format.
+the filepath to the client certificate/chain trust for client's private key to use in mTLS communication in PEM format.
OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE takes precedence over OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE.
The configuration can be overridden by [WithTLSCredentials], [WithGRPCConn] options.
OTEL_EXPORTER_OTLP_CLIENT_KEY, OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY (default: none) -
-the filepath to the clients private key to use in mTLS communication in PEM format.
+the filepath to the client's private key to use in mTLS communication in PEM format.
OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY takes precedence over OTEL_EXPORTER_OTLP_CLIENT_KEY.
The configuration can be overridden by [WithTLSCredentials], [WithGRPCConn] option.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/exporter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/exporter.go
index 89af41002f..b826b84247 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/exporter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/exporter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlptracegrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig/envconfig.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig/envconfig.go
index 5530119e4c..9513c0a57c 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig/envconfig.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig/envconfig.go
@@ -2,18 +2,7 @@
// source: internal/shared/otlp/envconfig/envconfig.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package envconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/gen.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/gen.go
index 1fb2906189..97cd6c54f7 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/gen.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/gen.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/envconfig.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/envconfig.go
index 32f6dddb4f..7bb189a94b 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/envconfig.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/envconfig.go
@@ -2,18 +2,7 @@
// source: internal/shared/otlp/otlptrace/otlpconfig/envconfig.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/options.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/options.go
index f0203cbe72..8f84a79963 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/options.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/options.go
@@ -2,24 +2,14 @@
// source: internal/shared/otlp/otlptrace/otlpconfig/options.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig"
import (
"crypto/tls"
"fmt"
+ "net/http"
"net/url"
"path"
"strings"
@@ -46,6 +36,10 @@ const (
)
type (
+ // HTTPTransportProxyFunc is a function that resolves which URL to use as proxy for a given request.
+ // This type is compatible with `http.Transport.Proxy` and can be used to set a custom proxy function to the OTLP HTTP client.
+ HTTPTransportProxyFunc func(*http.Request) (*url.URL, error)
+
SignalConfig struct {
Endpoint string
Insecure bool
@@ -57,6 +51,8 @@ type (
// gRPC configurations
GRPCCredentials credentials.TransportCredentials
+
+ Proxy HTTPTransportProxyFunc
}
Config struct {
@@ -260,6 +256,9 @@ func NewGRPCOption(fn func(cfg Config) Config) GRPCOption {
// Generic Options
+// WithEndpoint configures the trace host and port only; endpoint should
+// resemble "example.com" or "localhost:4317". To configure the scheme and path,
+// use WithEndpointURL.
func WithEndpoint(endpoint string) GenericOption {
return newGenericOption(func(cfg Config) Config {
cfg.Traces.Endpoint = endpoint
@@ -267,6 +266,8 @@ func WithEndpoint(endpoint string) GenericOption {
})
}
+// WithEndpointURL configures the trace scheme, host, port, and path; the
+// provided value should resemble "https://example.com:4318/v1/traces".
func WithEndpointURL(v string) GenericOption {
return newGenericOption(func(cfg Config) Config {
u, err := url.Parse(v)
@@ -343,3 +344,10 @@ func WithTimeout(duration time.Duration) GenericOption {
return cfg
})
}
+
+func WithProxy(pf HTTPTransportProxyFunc) GenericOption {
+ return newGenericOption(func(cfg Config) Config {
+ cfg.Traces.Proxy = pf
+ return cfg
+ })
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/optiontypes.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/optiontypes.go
index d9dcdc96e7..3d4f699d47 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/optiontypes.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/optiontypes.go
@@ -2,18 +2,7 @@
// source: internal/shared/otlp/otlptrace/otlpconfig/optiontypes.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/tls.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/tls.go
index 19b6d4b21f..38b97a0131 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/tls.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/tls.go
@@ -2,18 +2,7 @@
// source: internal/shared/otlp/otlptrace/otlpconfig/tls.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/partialsuccess.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/partialsuccess.go
index 076905e54b..a12ea4c48e 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/partialsuccess.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/partialsuccess.go
@@ -2,18 +2,7 @@
// source: internal/shared/otlp/partialsuccess.go
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry/retry.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry/retry.go
index 3ce7d6632b..4f2113ae2c 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry/retry.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry/retry.go
@@ -2,18 +2,7 @@
// source: internal/shared/otlp/retry/retry.go.tmpl
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package retry provides request retry functionality that can perform
// configurable exponential backoff for transient errors and honor any
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/options.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/options.go
index 461610c6b9..bbad0e6d01 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/options.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/options.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlptracegrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
@@ -64,9 +53,11 @@ func WithInsecure() Option {
return wrappedOption{otlpconfig.WithInsecure()}
}
-// WithEndpoint sets the target endpoint the Exporter will connect to.
+// WithEndpoint sets the target endpoint (host and port) the Exporter will
+// connect to. The provided endpoint should resemble "example.com:4317" (no
+// scheme or path).
//
-// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
+// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
// environment variable is set, and this option is not passed, that variable
// value will be used. If both are set, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
// will take precedence.
@@ -82,9 +73,11 @@ func WithEndpoint(endpoint string) Option {
return wrappedOption{otlpconfig.WithEndpoint(endpoint)}
}
-// WithEndpointURL sets the target endpoint URL the Exporter will connect to.
+// WithEndpointURL sets the target endpoint URL (scheme, host, port, path)
+// the Exporter will connect to. The provided endpoint URL should resemble
+// "https://example.com:4318/v1/traces".
//
-// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
+// If the OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
// environment variable is set, and this option is not passed, that variable
// value will be used. If both are set, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
// will take precedence.
@@ -95,7 +88,7 @@ func WithEndpoint(endpoint string) Option {
// If an invalid URL is provided, the default value will be kept.
//
// By default, if an environment variable is not set, and this option is not
-// passed, "localhost:4317" will be used.
+// passed, "https://localhost:4317/v1/traces" will be used.
//
// This option has no effect if WithGRPCConn is used.
func WithEndpointURL(u string) Option {
@@ -161,6 +154,8 @@ func WithServiceConfig(serviceConfig string) Option {
// connection. The options here are appended to the internal grpc.DialOptions
// used so they will take precedence over any other internal grpc.DialOptions
// they might conflict with.
+// The [grpc.WithBlock], [grpc.WithTimeout], and [grpc.WithReturnConnectionError]
+// grpc.DialOptions are ignored.
//
// This option has no effect if WithGRPCConn is used.
func WithDialOption(opts ...grpc.DialOption) Option {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/version.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/version.go
index afc89644e6..fc7190d940 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/version.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/version.go
@@ -1,20 +1,9 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otlptrace // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace"
// Version is the current release version of the OpenTelemetry OTLP trace exporter in use.
func Version() string {
- return "1.24.0"
+ return "1.27.0"
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/get_main_pkgs.sh b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/get_main_pkgs.sh
index 9a58fb1d37..93e80ea306 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/get_main_pkgs.sh
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/get_main_pkgs.sh
@@ -1,18 +1,7 @@
#!/usr/bin/env bash
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/handler.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/handler.go
index 4115fe3bbb..07623b6791 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/handler.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/handler.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
@@ -18,12 +7,8 @@ import (
"go.opentelemetry.io/otel/internal/global"
)
-var (
- // Compile-time check global.ErrDelegator implements ErrorHandler.
- _ ErrorHandler = (*global.ErrDelegator)(nil)
- // Compile-time check global.ErrLogger implements ErrorHandler.
- _ ErrorHandler = (*global.ErrLogger)(nil)
-)
+// Compile-time check global.ErrDelegator implements ErrorHandler.
+var _ ErrorHandler = (*global.ErrDelegator)(nil)
// GetErrorHandler returns the global ErrorHandler instance.
//
@@ -44,5 +29,5 @@ func GetErrorHandler() ErrorHandler { return global.GetErrorHandler() }
// delegate errors to h.
func SetErrorHandler(h ErrorHandler) { global.SetErrorHandler(h) }
-// Handle is a convenience function for ErrorHandler().Handle(err).
-func Handle(err error) { global.Handle(err) }
+// Handle is a convenience function for GetErrorHandler().Handle(err).
+func Handle(err error) { global.GetErrorHandler().Handle(err) }
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/attribute/attribute.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/attribute/attribute.go
index 622c3ee3f2..f32766e57f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/attribute/attribute.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/attribute/attribute.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package attribute provide several helper functions for some commonly used
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/baggage.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/baggage.go
index b96e5408e6..b4f85f44a9 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/baggage.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/baggage.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package baggage provides base types and functionality to store and retrieve
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/context.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/context.go
index 4469700d9c..3aea9c491f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/context.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/baggage/context.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package baggage // import "go.opentelemetry.io/otel/internal/baggage"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/gen.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/gen.go
index f532f07e9e..4259f0320d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/gen.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/gen.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/handler.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/handler.go
index 5e9b830479..c657ff8e75 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/handler.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/handler.go
@@ -1,38 +1,13 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
import (
"log"
- "os"
"sync/atomic"
)
-var (
- // GlobalErrorHandler provides an ErrorHandler that can be used
- // throughout an OpenTelemetry instrumented project. When a user
- // specified ErrorHandler is registered (`SetErrorHandler`) all calls to
- // `Handle` and will be delegated to the registered ErrorHandler.
- GlobalErrorHandler = defaultErrorHandler()
-
- // Compile-time check that delegator implements ErrorHandler.
- _ ErrorHandler = (*ErrDelegator)(nil)
- // Compile-time check that errLogger implements ErrorHandler.
- _ ErrorHandler = (*ErrLogger)(nil)
-)
-
// ErrorHandler handles irremediable events.
type ErrorHandler interface {
// Handle handles any error deemed irremediable by an OpenTelemetry
@@ -44,59 +19,18 @@ type ErrDelegator struct {
delegate atomic.Pointer[ErrorHandler]
}
-func (d *ErrDelegator) Handle(err error) {
- d.getDelegate().Handle(err)
-}
+// Compile-time check that delegator implements ErrorHandler.
+var _ ErrorHandler = (*ErrDelegator)(nil)
-func (d *ErrDelegator) getDelegate() ErrorHandler {
- return *d.delegate.Load()
+func (d *ErrDelegator) Handle(err error) {
+ if eh := d.delegate.Load(); eh != nil {
+ (*eh).Handle(err)
+ return
+ }
+ log.Print(err)
}
// setDelegate sets the ErrorHandler delegate.
func (d *ErrDelegator) setDelegate(eh ErrorHandler) {
d.delegate.Store(&eh)
}
-
-func defaultErrorHandler() *ErrDelegator {
- d := &ErrDelegator{}
- d.setDelegate(&ErrLogger{l: log.New(os.Stderr, "", log.LstdFlags)})
- return d
-}
-
-// ErrLogger logs errors if no delegate is set, otherwise they are delegated.
-type ErrLogger struct {
- l *log.Logger
-}
-
-// Handle logs err if no delegate is set, otherwise it is delegated.
-func (h *ErrLogger) Handle(err error) {
- h.l.Print(err)
-}
-
-// GetErrorHandler returns the global ErrorHandler instance.
-//
-// The default ErrorHandler instance returned will log all errors to STDERR
-// until an override ErrorHandler is set with SetErrorHandler. All
-// ErrorHandler returned prior to this will automatically forward errors to
-// the set instance instead of logging.
-//
-// Subsequent calls to SetErrorHandler after the first will not forward errors
-// to the new ErrorHandler for prior returned instances.
-func GetErrorHandler() ErrorHandler {
- return GlobalErrorHandler
-}
-
-// SetErrorHandler sets the global ErrorHandler to h.
-//
-// The first time this is called all ErrorHandler previously returned from
-// GetErrorHandler will send errors to h instead of the default logging
-// ErrorHandler. Subsequent calls will set the global ErrorHandler, but not
-// delegate errors to h.
-func SetErrorHandler(h ErrorHandler) {
- GlobalErrorHandler.setDelegate(h)
-}
-
-// Handle is a convenience function for ErrorHandler().Handle(err).
-func Handle(err error) {
- GetErrorHandler().Handle(err)
-}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/instruments.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/instruments.go
index ebb13c2067..3a0cc42f6a 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/instruments.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/instruments.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
@@ -292,6 +281,32 @@ func (i *sfHistogram) Record(ctx context.Context, x float64, opts ...metric.Reco
}
}
+type sfGauge struct {
+ embedded.Float64Gauge
+
+ name string
+ opts []metric.Float64GaugeOption
+
+ delegate atomic.Value // metric.Float64Gauge
+}
+
+var _ metric.Float64Gauge = (*sfGauge)(nil)
+
+func (i *sfGauge) setDelegate(m metric.Meter) {
+ ctr, err := m.Float64Gauge(i.name, i.opts...)
+ if err != nil {
+ GetErrorHandler().Handle(err)
+ return
+ }
+ i.delegate.Store(ctr)
+}
+
+func (i *sfGauge) Record(ctx context.Context, x float64, opts ...metric.RecordOption) {
+ if ctr := i.delegate.Load(); ctr != nil {
+ ctr.(metric.Float64Gauge).Record(ctx, x, opts...)
+ }
+}
+
type siCounter struct {
embedded.Int64Counter
@@ -369,3 +384,29 @@ func (i *siHistogram) Record(ctx context.Context, x int64, opts ...metric.Record
ctr.(metric.Int64Histogram).Record(ctx, x, opts...)
}
}
+
+type siGauge struct {
+ embedded.Int64Gauge
+
+ name string
+ opts []metric.Int64GaugeOption
+
+ delegate atomic.Value // metric.Int64Gauge
+}
+
+var _ metric.Int64Gauge = (*siGauge)(nil)
+
+func (i *siGauge) setDelegate(m metric.Meter) {
+ ctr, err := m.Int64Gauge(i.name, i.opts...)
+ if err != nil {
+ GetErrorHandler().Handle(err)
+ return
+ }
+ i.delegate.Store(ctr)
+}
+
+func (i *siGauge) Record(ctx context.Context, x int64, opts ...metric.RecordOption) {
+ if ctr := i.delegate.Load(); ctr != nil {
+ ctr.(metric.Int64Gauge).Record(ctx, x, opts...)
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/internal_logging.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/internal_logging.go
index c6f305a2b7..adbca7d347 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/internal_logging.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/internal_logging.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
@@ -23,17 +12,20 @@ import (
"github.com/go-logr/stdr"
)
-// globalLogger is the logging interface used within the otel api and sdk provide details of the internals.
+// globalLogger holds a reference to the [logr.Logger] used within
+// go.opentelemetry.io/otel.
//
// The default logger uses stdr which is backed by the standard `log.Logger`
// interface. This logger will only show messages at the Error Level.
-var globalLogger atomic.Pointer[logr.Logger]
+var globalLogger = func() *atomic.Pointer[logr.Logger] {
+ l := stdr.New(log.New(os.Stderr, "", log.LstdFlags|log.Lshortfile))
-func init() {
- SetLogger(stdr.New(log.New(os.Stderr, "", log.LstdFlags|log.Lshortfile)))
-}
+ p := new(atomic.Pointer[logr.Logger])
+ p.Store(&l)
+ return p
+}()
-// SetLogger overrides the globalLogger with l.
+// SetLogger sets the global Logger to l.
//
// To see Warn messages use a logger with `l.V(1).Enabled() == true`
// To see Info messages use a logger with `l.V(4).Enabled() == true`
@@ -42,28 +34,29 @@ func SetLogger(l logr.Logger) {
globalLogger.Store(&l)
}
-func getLogger() logr.Logger {
+// GetLogger returns the global logger.
+func GetLogger() logr.Logger {
return *globalLogger.Load()
}
// Info prints messages about the general state of the API or SDK.
// This should usually be less than 5 messages a minute.
func Info(msg string, keysAndValues ...interface{}) {
- getLogger().V(4).Info(msg, keysAndValues...)
+ GetLogger().V(4).Info(msg, keysAndValues...)
}
// Error prints messages about exceptional states of the API or SDK.
func Error(err error, msg string, keysAndValues ...interface{}) {
- getLogger().Error(err, msg, keysAndValues...)
+ GetLogger().Error(err, msg, keysAndValues...)
}
// Debug prints messages about all internal changes in the API or SDK.
func Debug(msg string, keysAndValues ...interface{}) {
- getLogger().V(8).Info(msg, keysAndValues...)
+ GetLogger().V(8).Info(msg, keysAndValues...)
}
// Warn prints messages about warnings in the API or SDK.
// Not an error but is likely more important than an informational event.
func Warn(msg string, keysAndValues ...interface{}) {
- getLogger().V(1).Info(msg, keysAndValues...)
+ GetLogger().V(1).Info(msg, keysAndValues...)
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/meter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/meter.go
index 7ed61c0e25..590fa7385f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/meter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/meter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
@@ -175,6 +164,17 @@ func (m *meter) Int64Histogram(name string, options ...metric.Int64HistogramOpti
return i, nil
}
+func (m *meter) Int64Gauge(name string, options ...metric.Int64GaugeOption) (metric.Int64Gauge, error) {
+ if del, ok := m.delegate.Load().(metric.Meter); ok {
+ return del.Int64Gauge(name, options...)
+ }
+ m.mtx.Lock()
+ defer m.mtx.Unlock()
+ i := &siGauge{name: name, opts: options}
+ m.instruments = append(m.instruments, i)
+ return i, nil
+}
+
func (m *meter) Int64ObservableCounter(name string, options ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error) {
if del, ok := m.delegate.Load().(metric.Meter); ok {
return del.Int64ObservableCounter(name, options...)
@@ -241,6 +241,17 @@ func (m *meter) Float64Histogram(name string, options ...metric.Float64Histogram
return i, nil
}
+func (m *meter) Float64Gauge(name string, options ...metric.Float64GaugeOption) (metric.Float64Gauge, error) {
+ if del, ok := m.delegate.Load().(metric.Meter); ok {
+ return del.Float64Gauge(name, options...)
+ }
+ m.mtx.Lock()
+ defer m.mtx.Unlock()
+ i := &sfGauge{name: name, opts: options}
+ m.instruments = append(m.instruments, i)
+ return i, nil
+}
+
func (m *meter) Float64ObservableCounter(name string, options ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error) {
if del, ok := m.delegate.Load().(metric.Meter); ok {
return del.Float64ObservableCounter(name, options...)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/propagator.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/propagator.go
index 06bac35c2f..38560ff991 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/propagator.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/propagator.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/state.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/state.go
index 386c8bfdc0..204ea142a5 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/state.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/state.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
@@ -25,6 +14,10 @@ import (
)
type (
+ errorHandlerHolder struct {
+ eh ErrorHandler
+ }
+
tracerProviderHolder struct {
tp trace.TracerProvider
}
@@ -39,15 +32,59 @@ type (
)
var (
+ globalErrorHandler = defaultErrorHandler()
globalTracer = defaultTracerValue()
globalPropagators = defaultPropagatorsValue()
globalMeterProvider = defaultMeterProvider()
+ delegateErrorHandlerOnce sync.Once
delegateTraceOnce sync.Once
delegateTextMapPropagatorOnce sync.Once
delegateMeterOnce sync.Once
)
+// GetErrorHandler returns the global ErrorHandler instance.
+//
+// The default ErrorHandler instance returned will log all errors to STDERR
+// until an override ErrorHandler is set with SetErrorHandler. All
+// ErrorHandler returned prior to this will automatically forward errors to
+// the set instance instead of logging.
+//
+// Subsequent calls to SetErrorHandler after the first will not forward errors
+// to the new ErrorHandler for prior returned instances.
+func GetErrorHandler() ErrorHandler {
+ return globalErrorHandler.Load().(errorHandlerHolder).eh
+}
+
+// SetErrorHandler sets the global ErrorHandler to h.
+//
+// The first time this is called all ErrorHandler previously returned from
+// GetErrorHandler will send errors to h instead of the default logging
+// ErrorHandler. Subsequent calls will set the global ErrorHandler, but not
+// delegate errors to h.
+func SetErrorHandler(h ErrorHandler) {
+ current := GetErrorHandler()
+
+ if _, cOk := current.(*ErrDelegator); cOk {
+ if _, ehOk := h.(*ErrDelegator); ehOk && current == h {
+ // Do not assign to the delegate of the default ErrDelegator to be
+ // itself.
+ Error(
+ errors.New("no ErrorHandler delegate configured"),
+ "ErrorHandler remains its current value.",
+ )
+ return
+ }
+ }
+
+ delegateErrorHandlerOnce.Do(func() {
+ if def, ok := current.(*ErrDelegator); ok {
+ def.setDelegate(h)
+ }
+ })
+ globalErrorHandler.Store(errorHandlerHolder{eh: h})
+}
+
// TracerProvider is the internal implementation for global.TracerProvider.
func TracerProvider() trace.TracerProvider {
return globalTracer.Load().(tracerProviderHolder).tp
@@ -137,6 +174,12 @@ func SetMeterProvider(mp metric.MeterProvider) {
globalMeterProvider.Store(meterProviderHolder{mp: mp})
}
+func defaultErrorHandler() *atomic.Value {
+ v := &atomic.Value{}
+ v.Store(errorHandlerHolder{eh: &ErrDelegator{}})
+ return v
+}
+
func defaultTracerValue() *atomic.Value {
v := &atomic.Value{}
v.Store(tracerProviderHolder{tp: &tracerProvider{}})
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/trace.go
index 3f61ec12a3..596f716f40 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/trace.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/global/trace.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package global // import "go.opentelemetry.io/otel/internal/global"
@@ -193,6 +182,9 @@ func (nonRecordingSpan) RecordError(error, ...trace.EventOption) {}
// AddEvent does nothing.
func (nonRecordingSpan) AddEvent(string, ...trace.EventOption) {}
+// AddLink does nothing.
+func (nonRecordingSpan) AddLink(trace.Link) {}
+
// SetName does nothing.
func (nonRecordingSpan) SetName(string) {}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/rawhelpers.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/rawhelpers.go
index e07e794000..3e7bb3b356 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/rawhelpers.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal/rawhelpers.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal_logging.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal_logging.go
index c4f8acd5d8..6de7f2e4d8 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal_logging.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/internal_logging.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric.go
index f955171951..1e6473b32f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/README.md
new file mode 100644
index 0000000000..0cf902e01f
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/README.md
@@ -0,0 +1,3 @@
+# Metric API
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/metric)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go
index 072baa8e8d..cf23db7780 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncfloat64.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
@@ -50,7 +39,7 @@ type Float64ObservableCounter interface {
}
// Float64ObservableCounterConfig contains options for asynchronous counter
-// instruments that record int64 values.
+// instruments that record float64 values.
type Float64ObservableCounterConfig struct {
description string
unit string
@@ -108,7 +97,7 @@ type Float64ObservableUpDownCounter interface {
}
// Float64ObservableUpDownCounterConfig contains options for asynchronous
-// counter instruments that record int64 values.
+// counter instruments that record float64 values.
type Float64ObservableUpDownCounterConfig struct {
description string
unit string
@@ -165,7 +154,7 @@ type Float64ObservableGauge interface {
}
// Float64ObservableGaugeConfig contains options for asynchronous counter
-// instruments that record int64 values.
+// instruments that record float64 values.
type Float64ObservableGaugeConfig struct {
description string
unit string
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncint64.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncint64.go
index 9bd6ebf020..c82ba5324e 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncint64.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/asyncint64.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/config.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/config.go
index 778ad2d748..d9e3b13e4d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/config.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/config.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/doc.go
index 54716e13b3..075234b338 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package metric provides the OpenTelemetry API used to measure metrics about
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/README.md
new file mode 100644
index 0000000000..1f6e0efa73
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/README.md
@@ -0,0 +1,3 @@
+# Metric Embedded
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/metric/embedded)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/embedded.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/embedded.go
index ae0bdbd2e6..1a9dc68093 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/embedded.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/embedded/embedded.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package embedded provides interfaces embedded within the [OpenTelemetry
// metric API].
@@ -113,6 +102,16 @@ type Float64Counter interface{ float64Counter() }
// the API package).
type Float64Histogram interface{ float64Histogram() }
+// Float64Gauge is embedded in [go.opentelemetry.io/otel/metric.Float64Gauge].
+//
+// Embed this interface in your implementation of the
+// [go.opentelemetry.io/otel/metric.Float64Gauge] if you want users to
+// experience a compilation error, signaling they need to update to your latest
+// implementation, when the [go.opentelemetry.io/otel/metric.Float64Gauge]
+// interface is extended (which is something that can happen without a major
+// version bump of the API package).
+type Float64Gauge interface{ float64Gauge() }
+
// Float64ObservableCounter is embedded in
// [go.opentelemetry.io/otel/metric.Float64ObservableCounter].
//
@@ -185,6 +184,16 @@ type Int64Counter interface{ int64Counter() }
// the API package).
type Int64Histogram interface{ int64Histogram() }
+// Int64Gauge is embedded in [go.opentelemetry.io/otel/metric.Int64Gauge].
+//
+// Embed this interface in your implementation of the
+// [go.opentelemetry.io/otel/metric.Int64Gauge] if you want users to experience
+// a compilation error, signaling they need to update to your latest
+// implementation, when the [go.opentelemetry.io/otel/metric.Int64Gauge]
+// interface is extended (which is something that can happen without a major
+// version bump of the API package).
+type Int64Gauge interface{ int64Gauge() }
+
// Int64ObservableCounter is embedded in
// [go.opentelemetry.io/otel/metric.Int64ObservableCounter].
//
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/instrument.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/instrument.go
index be89cd5334..ea52e40233 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/instrument.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/instrument.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
@@ -27,6 +16,7 @@ type InstrumentOption interface {
Int64CounterOption
Int64UpDownCounterOption
Int64HistogramOption
+ Int64GaugeOption
Int64ObservableCounterOption
Int64ObservableUpDownCounterOption
Int64ObservableGaugeOption
@@ -34,6 +24,7 @@ type InstrumentOption interface {
Float64CounterOption
Float64UpDownCounterOption
Float64HistogramOption
+ Float64GaugeOption
Float64ObservableCounterOption
Float64ObservableUpDownCounterOption
Float64ObservableGaugeOption
@@ -62,6 +53,11 @@ func (o descOpt) applyFloat64Histogram(c Float64HistogramConfig) Float64Histogra
return c
}
+func (o descOpt) applyFloat64Gauge(c Float64GaugeConfig) Float64GaugeConfig {
+ c.description = string(o)
+ return c
+}
+
func (o descOpt) applyFloat64ObservableCounter(c Float64ObservableCounterConfig) Float64ObservableCounterConfig {
c.description = string(o)
return c
@@ -92,6 +88,11 @@ func (o descOpt) applyInt64Histogram(c Int64HistogramConfig) Int64HistogramConfi
return c
}
+func (o descOpt) applyInt64Gauge(c Int64GaugeConfig) Int64GaugeConfig {
+ c.description = string(o)
+ return c
+}
+
func (o descOpt) applyInt64ObservableCounter(c Int64ObservableCounterConfig) Int64ObservableCounterConfig {
c.description = string(o)
return c
@@ -127,6 +128,11 @@ func (o unitOpt) applyFloat64Histogram(c Float64HistogramConfig) Float64Histogra
return c
}
+func (o unitOpt) applyFloat64Gauge(c Float64GaugeConfig) Float64GaugeConfig {
+ c.unit = string(o)
+ return c
+}
+
func (o unitOpt) applyFloat64ObservableCounter(c Float64ObservableCounterConfig) Float64ObservableCounterConfig {
c.unit = string(o)
return c
@@ -157,6 +163,11 @@ func (o unitOpt) applyInt64Histogram(c Int64HistogramConfig) Int64HistogramConfi
return c
}
+func (o unitOpt) applyInt64Gauge(c Int64GaugeConfig) Int64GaugeConfig {
+ c.unit = string(o)
+ return c
+}
+
func (o unitOpt) applyInt64ObservableCounter(c Int64ObservableCounterConfig) Int64ObservableCounterConfig {
c.unit = string(o)
return c
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/meter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/meter.go
index 2520bc74af..460b3f9b08 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/meter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/meter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
@@ -69,6 +58,10 @@ type Meter interface {
// synchronously record the distribution of int64 measurements during a
// computational operation.
Int64Histogram(name string, options ...Int64HistogramOption) (Int64Histogram, error)
+ // Int64Gauge returns a new Int64Gauge instrument identified by name and
+ // configured with options. The instrument is used to synchronously record
+ // instantaneous int64 measurements during a computational operation.
+ Int64Gauge(name string, options ...Int64GaugeOption) (Int64Gauge, error)
// Int64ObservableCounter returns a new Int64ObservableCounter identified
// by name and configured with options. The instrument is used to
// asynchronously record increasing int64 measurements once per a
@@ -115,6 +108,10 @@ type Meter interface {
// synchronously record the distribution of float64 measurements during a
// computational operation.
Float64Histogram(name string, options ...Float64HistogramOption) (Float64Histogram, error)
+ // Float64Gauge returns a new Float64Gauge instrument identified by name and
+ // configured with options. The instrument is used to synchronously record
+ // instantaneous float64 measurements during a computational operation.
+ Float64Gauge(name string, options ...Float64GaugeOption) (Float64Gauge, error)
// Float64ObservableCounter returns a new Float64ObservableCounter
// instrument identified by name and configured with options. The
// instrument is used to asynchronously record increasing float64
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/README.md
new file mode 100644
index 0000000000..bb89694356
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/README.md
@@ -0,0 +1,3 @@
+# Metric Noop
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/metric/noop)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/noop.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/noop.go
index acc9a670b2..ca6fcbdc09 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/noop.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/noop/noop.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package noop provides an implementation of the OpenTelemetry metric API that
// produces no telemetry and minimizes used computation resources.
@@ -43,6 +32,8 @@ var (
_ metric.Float64UpDownCounter = Float64UpDownCounter{}
_ metric.Int64Histogram = Int64Histogram{}
_ metric.Float64Histogram = Float64Histogram{}
+ _ metric.Int64Gauge = Int64Gauge{}
+ _ metric.Float64Gauge = Float64Gauge{}
_ metric.Int64ObservableCounter = Int64ObservableCounter{}
_ metric.Float64ObservableCounter = Float64ObservableCounter{}
_ metric.Int64ObservableGauge = Int64ObservableGauge{}
@@ -87,6 +78,12 @@ func (Meter) Int64Histogram(string, ...metric.Int64HistogramOption) (metric.Int6
return Int64Histogram{}, nil
}
+// Int64Gauge returns a Gauge used to record int64 measurements that
+// produces no telemetry.
+func (Meter) Int64Gauge(string, ...metric.Int64GaugeOption) (metric.Int64Gauge, error) {
+ return Int64Gauge{}, nil
+}
+
// Int64ObservableCounter returns an ObservableCounter used to record int64
// measurements that produces no telemetry.
func (Meter) Int64ObservableCounter(string, ...metric.Int64ObservableCounterOption) (metric.Int64ObservableCounter, error) {
@@ -123,6 +120,12 @@ func (Meter) Float64Histogram(string, ...metric.Float64HistogramOption) (metric.
return Float64Histogram{}, nil
}
+// Float64Gauge returns a Gauge used to record float64 measurements that
+// produces no telemetry.
+func (Meter) Float64Gauge(string, ...metric.Float64GaugeOption) (metric.Float64Gauge, error) {
+ return Float64Gauge{}, nil
+}
+
// Float64ObservableCounter returns an ObservableCounter used to record int64
// measurements that produces no telemetry.
func (Meter) Float64ObservableCounter(string, ...metric.Float64ObservableCounterOption) (metric.Float64ObservableCounter, error) {
@@ -208,6 +211,20 @@ type Float64Histogram struct{ embedded.Float64Histogram }
// Record performs no operation.
func (Float64Histogram) Record(context.Context, float64, ...metric.RecordOption) {}
+// Int64Gauge is an OpenTelemetry Gauge used to record instantaneous int64
+// measurements. It produces no telemetry.
+type Int64Gauge struct{ embedded.Int64Gauge }
+
+// Record performs no operation.
+func (Int64Gauge) Record(context.Context, int64, ...metric.RecordOption) {}
+
+// Float64Gauge is an OpenTelemetry Gauge used to record instantaneous float64
+// measurements. It produces no telemetry.
+type Float64Gauge struct{ embedded.Float64Gauge }
+
+// Record performs no operation.
+func (Float64Gauge) Record(context.Context, float64, ...metric.RecordOption) {}
+
// Int64ObservableCounter is an OpenTelemetry ObservableCounter used to record
// int64 measurements. It produces no telemetry.
type Int64ObservableCounter struct {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go
index 0a4825ae6a..8403a4bad2 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncfloat64.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
@@ -39,7 +28,7 @@ type Float64Counter interface {
}
// Float64CounterConfig contains options for synchronous counter instruments that
-// record int64 values.
+// record float64 values.
type Float64CounterConfig struct {
description string
unit string
@@ -92,7 +81,7 @@ type Float64UpDownCounter interface {
}
// Float64UpDownCounterConfig contains options for synchronous counter
-// instruments that record int64 values.
+// instruments that record float64 values.
type Float64UpDownCounterConfig struct {
description string
unit string
@@ -144,8 +133,8 @@ type Float64Histogram interface {
Record(ctx context.Context, incr float64, options ...RecordOption)
}
-// Float64HistogramConfig contains options for synchronous counter instruments
-// that record int64 values.
+// Float64HistogramConfig contains options for synchronous histogram
+// instruments that record float64 values.
type Float64HistogramConfig struct {
description string
unit string
@@ -183,3 +172,55 @@ func (c Float64HistogramConfig) ExplicitBucketBoundaries() []float64 {
type Float64HistogramOption interface {
applyFloat64Histogram(Float64HistogramConfig) Float64HistogramConfig
}
+
+// Float64Gauge is an instrument that records instantaneous float64 values.
+//
+// Warning: Methods may be added to this interface in minor releases. See
+// package documentation on API implementation for information on how to set
+// default behavior for unimplemented methods.
+type Float64Gauge interface {
+ // Users of the interface can ignore this. This embedded type is only used
+ // by implementations of this interface. See the "API Implementations"
+ // section of the package documentation for more information.
+ embedded.Float64Gauge
+
+ // Record records the instantaneous value.
+ //
+ // Use the WithAttributeSet (or, if performance is not a concern,
+ // the WithAttributes) option to include measurement attributes.
+ Record(ctx context.Context, value float64, options ...RecordOption)
+}
+
+// Float64GaugeConfig contains options for synchronous gauge instruments that
+// record float64 values.
+type Float64GaugeConfig struct {
+ description string
+ unit string
+}
+
+// NewFloat64GaugeConfig returns a new [Float64GaugeConfig] with all opts
+// applied.
+func NewFloat64GaugeConfig(opts ...Float64GaugeOption) Float64GaugeConfig {
+ var config Float64GaugeConfig
+ for _, o := range opts {
+ config = o.applyFloat64Gauge(config)
+ }
+ return config
+}
+
+// Description returns the configured description.
+func (c Float64GaugeConfig) Description() string {
+ return c.description
+}
+
+// Unit returns the configured unit.
+func (c Float64GaugeConfig) Unit() string {
+ return c.unit
+}
+
+// Float64GaugeOption applies options to a [Float64GaugeConfig]. See
+// [InstrumentOption] for other options that can be used as a
+// Float64GaugeOption.
+type Float64GaugeOption interface {
+ applyFloat64Gauge(Float64GaugeConfig) Float64GaugeConfig
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncint64.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncint64.go
index 56667d32fc..783fdfba77 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncint64.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/metric/syncint64.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/metric"
@@ -144,7 +133,7 @@ type Int64Histogram interface {
Record(ctx context.Context, incr int64, options ...RecordOption)
}
-// Int64HistogramConfig contains options for synchronous counter instruments
+// Int64HistogramConfig contains options for synchronous histogram instruments
// that record int64 values.
type Int64HistogramConfig struct {
description string
@@ -183,3 +172,55 @@ func (c Int64HistogramConfig) ExplicitBucketBoundaries() []float64 {
type Int64HistogramOption interface {
applyInt64Histogram(Int64HistogramConfig) Int64HistogramConfig
}
+
+// Int64Gauge is an instrument that records instantaneous int64 values.
+//
+// Warning: Methods may be added to this interface in minor releases. See
+// package documentation on API implementation for information on how to set
+// default behavior for unimplemented methods.
+type Int64Gauge interface {
+ // Users of the interface can ignore this. This embedded type is only used
+ // by implementations of this interface. See the "API Implementations"
+ // section of the package documentation for more information.
+ embedded.Int64Gauge
+
+ // Record records the instantaneous value.
+ //
+ // Use the WithAttributeSet (or, if performance is not a concern,
+ // the WithAttributes) option to include measurement attributes.
+ Record(ctx context.Context, value int64, options ...RecordOption)
+}
+
+// Int64GaugeConfig contains options for synchronous gauge instruments that
+// record int64 values.
+type Int64GaugeConfig struct {
+ description string
+ unit string
+}
+
+// NewInt64GaugeConfig returns a new [Int64GaugeConfig] with all opts
+// applied.
+func NewInt64GaugeConfig(opts ...Int64GaugeOption) Int64GaugeConfig {
+ var config Int64GaugeConfig
+ for _, o := range opts {
+ config = o.applyInt64Gauge(config)
+ }
+ return config
+}
+
+// Description returns the configured description.
+func (c Int64GaugeConfig) Description() string {
+ return c.description
+}
+
+// Unit returns the configured unit.
+func (c Int64GaugeConfig) Unit() string {
+ return c.unit
+}
+
+// Int64GaugeOption applies options to a [Int64GaugeConfig]. See
+// [InstrumentOption] for other options that can be used as a
+// Int64GaugeOption.
+type Int64GaugeOption interface {
+ applyInt64Gauge(Int64GaugeConfig) Int64GaugeConfig
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation.go
index d29aaa32c0..2fd9497338 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/README.md
new file mode 100644
index 0000000000..e2959ac747
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/README.md
@@ -0,0 +1,3 @@
+# Propagation
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/propagation)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/baggage.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/baggage.go
index 303cdf1cbf..552263ba73 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/baggage.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/baggage.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package propagation // import "go.opentelemetry.io/otel/propagation"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/doc.go
index c119eb2858..33a3baf15f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package propagation contains OpenTelemetry context propagators.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/propagation.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/propagation.go
index c94438f73a..8c8286aab4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/propagation.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/propagation.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package propagation // import "go.opentelemetry.io/otel/propagation"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/trace_context.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/trace_context.go
index 63e5d62221..6870e316dc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/trace_context.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/propagation/trace_context.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package propagation // import "go.opentelemetry.io/otel/propagation"
@@ -46,7 +35,7 @@ var (
versionPart = fmt.Sprintf("%.2X", supportedVersion)
)
-// Inject set tracecontext from the Context into the carrier.
+// Inject injects the trace context from ctx into carrier.
func (tc TraceContext) Inject(ctx context.Context, carrier TextMapCarrier) {
sc := trace.SpanContextFromContext(ctx)
if !sc.IsValid() {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/renovate.json b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/renovate.json
new file mode 100644
index 0000000000..8c5ac55ca9
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/renovate.json
@@ -0,0 +1,24 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": [
+ "config:recommended"
+ ],
+ "ignorePaths": [],
+ "labels": ["Skip Changelog", "dependencies"],
+ "postUpdateOptions" : [
+ "gomodTidy"
+ ],
+ "packageRules": [
+ {
+ "matchManagers": ["gomod"],
+ "matchDepTypes": ["indirect"],
+ "enabled": true
+ },
+ {
+ "matchFileNames": ["internal/tools/**"],
+ "matchManagers": ["gomod"],
+ "matchDepTypes": ["indirect"],
+ "enabled": false
+ }
+ ]
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/README.md
new file mode 100644
index 0000000000..f81b1576ad
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/README.md
@@ -0,0 +1,3 @@
+# SDK
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/sdk)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/README.md
new file mode 100644
index 0000000000..06e6d86854
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/README.md
@@ -0,0 +1,3 @@
+# SDK Instrumentation
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/instrumentation)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/doc.go
index 6e923acab4..a4faa6a03d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package instrumentation provides types to represent the code libraries that
// provide OpenTelemetry instrumentation. These types are used in the
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/library.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/library.go
index 39f025a171..f4d1857c4f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/library.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/library.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/scope.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/scope.go
index 09c6d93f6d..728115045b 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/scope.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/instrumentation/scope.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package instrumentation // import "go.opentelemetry.io/otel/sdk/instrumentation"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/env/env.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/env/env.go
index 59dcfab250..07923ed8d9 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/env/env.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/env/env.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package env // import "go.opentelemetry.io/otel/sdk/internal/env"
@@ -33,7 +22,7 @@ const (
BatchSpanProcessorMaxQueueSizeKey = "OTEL_BSP_MAX_QUEUE_SIZE"
// BatchSpanProcessorMaxExportBatchSizeKey is the maximum batch size (i.e.
// 512). Note: it must be less than or equal to
- // EnvBatchSpanProcessorMaxQueueSize.
+ // BatchSpanProcessorMaxQueueSize.
BatchSpanProcessorMaxExportBatchSizeKey = "OTEL_BSP_MAX_EXPORT_BATCH_SIZE"
// AttributeValueLengthKey is the maximum allowed attribute value size.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/gen.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/gen.go
index bd84f624b4..1fc19d3fe3 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/gen.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/gen.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/sdk/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/internal.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/internal.go
index dfeaaa8ca0..a990092f9d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/internal.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/internal/internal.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/sdk/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/README.md
new file mode 100644
index 0000000000..017f072a51
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/README.md
@@ -0,0 +1,3 @@
+# Metric SDK
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/aggregation.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/aggregation.go
index faddbb0b61..e6f5cfb2ad 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/aggregation.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/aggregation.go
@@ -1,22 +1,12 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
import (
"errors"
"fmt"
+ "slices"
)
// errAgg is wrapped by misconfigured aggregations.
@@ -141,10 +131,8 @@ func (h AggregationExplicitBucketHistogram) err() error {
// copy returns a deep copy of h.
func (h AggregationExplicitBucketHistogram) copy() Aggregation {
- b := make([]float64, len(h.Boundaries))
- copy(b, h.Boundaries)
return AggregationExplicitBucketHistogram{
- Boundaries: b,
+ Boundaries: slices.Clone(h.Boundaries),
NoMinMax: h.NoMinMax,
}
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/cache.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/cache.go
index e9c0b38d0b..63b88f0866 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/cache.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/cache.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/config.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/config.go
index 0b19112849..9a41f94e97 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/config.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/config.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go
index 475d3e3941..4f553a5715 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package metric provides an implementation of the OpenTelemetry metrics SDK.
//
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/env.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/env.go
index 940ba81594..a6c403797f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/env.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/env.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar.go
index 3f1ce9f1d8..c774a4684f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exemplar.go
@@ -1,22 +1,12 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
import (
"os"
"runtime"
+ "slices"
"go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
"go.opentelemetry.io/otel/sdk/metric/internal/x"
@@ -29,22 +19,21 @@ import (
// Note: This will only return non-nil values when the experimental exemplar
// feature is enabled and the OTEL_METRICS_EXEMPLAR_FILTER environment variable
// is not set to always_off.
-func reservoirFunc[N int64 | float64](agg Aggregation) func() exemplar.Reservoir[N] {
+func reservoirFunc(agg Aggregation) func() exemplar.Reservoir {
if !x.Exemplars.Enabled() {
return nil
}
// https://github.com/open-telemetry/opentelemetry-specification/blob/d4b241f451674e8f611bb589477680341006ad2b/specification/metrics/sdk.md#exemplar-defaults
- resF := func() func() exemplar.Reservoir[N] {
+ resF := func() func() exemplar.Reservoir {
// Explicit bucket histogram aggregation with more than 1 bucket will
// use AlignedHistogramBucketExemplarReservoir.
a, ok := agg.(AggregationExplicitBucketHistogram)
if ok && len(a.Boundaries) > 0 {
- cp := make([]float64, len(a.Boundaries))
- copy(cp, a.Boundaries)
- return func() exemplar.Reservoir[N] {
+ cp := slices.Clone(a.Boundaries)
+ return func() exemplar.Reservoir {
bounds := cp
- return exemplar.Histogram[N](bounds)
+ return exemplar.Histogram(bounds)
}
}
@@ -72,8 +61,8 @@ func reservoirFunc[N int64 | float64](agg Aggregation) func() exemplar.Reservoir
}
}
- return func() exemplar.Reservoir[N] {
- return exemplar.FixedSize[N](n)
+ return func() exemplar.Reservoir {
+ return exemplar.FixedSize(n)
}
}
@@ -84,12 +73,12 @@ func reservoirFunc[N int64 | float64](agg Aggregation) func() exemplar.Reservoir
case "always_on":
return resF()
case "always_off":
- return exemplar.Drop[N]
+ return exemplar.Drop
case "trace_based":
fallthrough
default:
newR := resF()
- return func() exemplar.Reservoir[N] {
+ return func() exemplar.Reservoir {
return exemplar.SampledFilter(newR())
}
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exporter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exporter.go
index da8941b378..1a3cccb677 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exporter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/exporter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go
index a4cfcbb95f..f9768fd11c 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrument.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:generate stringer -type=InstrumentKind -trimprefix=InstrumentKind
@@ -41,28 +30,32 @@ type InstrumentKind uint8
const (
// instrumentKindUndefined is an undefined instrument kind, it should not
// be used by any initialized type.
- instrumentKindUndefined InstrumentKind = iota // nolint:deadcode,varcheck,unused
+ instrumentKindUndefined InstrumentKind = 0 // nolint:deadcode,varcheck,unused
// InstrumentKindCounter identifies a group of instruments that record
// increasing values synchronously with the code path they are measuring.
- InstrumentKindCounter
+ InstrumentKindCounter InstrumentKind = 1
// InstrumentKindUpDownCounter identifies a group of instruments that
// record increasing and decreasing values synchronously with the code path
// they are measuring.
- InstrumentKindUpDownCounter
+ InstrumentKindUpDownCounter InstrumentKind = 2
// InstrumentKindHistogram identifies a group of instruments that record a
// distribution of values synchronously with the code path they are
// measuring.
- InstrumentKindHistogram
+ InstrumentKindHistogram InstrumentKind = 3
// InstrumentKindObservableCounter identifies a group of instruments that
// record increasing values in an asynchronous callback.
- InstrumentKindObservableCounter
+ InstrumentKindObservableCounter InstrumentKind = 4
// InstrumentKindObservableUpDownCounter identifies a group of instruments
// that record increasing and decreasing values in an asynchronous
// callback.
- InstrumentKindObservableUpDownCounter
+ InstrumentKindObservableUpDownCounter InstrumentKind = 5
// InstrumentKindObservableGauge identifies a group of instruments that
// record current values in an asynchronous callback.
- InstrumentKindObservableGauge
+ InstrumentKindObservableGauge InstrumentKind = 6
+ // InstrumentKindGauge identifies a group of instruments that record
+ // instantaneous values synchronously with the code path they are
+ // measuring.
+ InstrumentKindGauge InstrumentKind = 7
)
type nonComparable [0]func() // nolint: unused // This is indeed used.
@@ -186,12 +179,14 @@ type int64Inst struct {
embedded.Int64Counter
embedded.Int64UpDownCounter
embedded.Int64Histogram
+ embedded.Int64Gauge
}
var (
_ metric.Int64Counter = (*int64Inst)(nil)
_ metric.Int64UpDownCounter = (*int64Inst)(nil)
_ metric.Int64Histogram = (*int64Inst)(nil)
+ _ metric.Int64Gauge = (*int64Inst)(nil)
)
func (i *int64Inst) Add(ctx context.Context, val int64, opts ...metric.AddOption) {
@@ -216,12 +211,14 @@ type float64Inst struct {
embedded.Float64Counter
embedded.Float64UpDownCounter
embedded.Float64Histogram
+ embedded.Float64Gauge
}
var (
_ metric.Float64Counter = (*float64Inst)(nil)
_ metric.Float64UpDownCounter = (*float64Inst)(nil)
_ metric.Float64Histogram = (*float64Inst)(nil)
+ _ metric.Float64Gauge = (*float64Inst)(nil)
)
func (i *float64Inst) Add(ctx context.Context, val float64, opts ...metric.AddOption) {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go
index d5f9e982c2..25ea6244e5 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/instrumentkind_string.go
@@ -15,11 +15,12 @@ func _() {
_ = x[InstrumentKindObservableCounter-4]
_ = x[InstrumentKindObservableUpDownCounter-5]
_ = x[InstrumentKindObservableGauge-6]
+ _ = x[InstrumentKindGauge-7]
}
-const _InstrumentKind_name = "instrumentKindUndefinedCounterUpDownCounterHistogramObservableCounterObservableUpDownCounterObservableGauge"
+const _InstrumentKind_name = "instrumentKindUndefinedCounterUpDownCounterHistogramObservableCounterObservableUpDownCounterObservableGaugeGauge"
-var _InstrumentKind_index = [...]uint8{0, 23, 30, 43, 52, 69, 92, 107}
+var _InstrumentKind_index = [...]uint8{0, 23, 30, 43, 52, 69, 92, 107, 112}
func (i InstrumentKind) String() string {
if i >= InstrumentKind(len(_InstrumentKind_index)-1) {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go
index 4060a2f76d..c9976de6c7 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/aggregate.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
@@ -50,7 +39,7 @@ type Builder[N int64 | float64] struct {
//
// If this is not provided a default factory function that returns an
// exemplar.Drop reservoir will be used.
- ReservoirFunc func() exemplar.Reservoir[N]
+ ReservoirFunc func() exemplar.Reservoir
// AggregationLimit is the cardinality limit of measurement attributes. Any
// measurement for new attributes once the limit has been reached will be
// aggregated into a single aggregate for the "otel.metric.overflow"
@@ -61,12 +50,12 @@ type Builder[N int64 | float64] struct {
AggregationLimit int
}
-func (b Builder[N]) resFunc() func() exemplar.Reservoir[N] {
+func (b Builder[N]) resFunc() func() exemplar.Reservoir {
if b.ReservoirFunc != nil {
return b.ReservoirFunc
}
- return exemplar.Drop[N]
+ return exemplar.Drop
}
type fltrMeasure[N int64 | float64] func(ctx context.Context, value N, fltrAttr attribute.Set, droppedAttr []attribute.KeyValue)
@@ -85,21 +74,26 @@ func (b Builder[N]) filter(f fltrMeasure[N]) Measure[N] {
}
// LastValue returns a last-value aggregate function input and output.
-//
-// The Builder.Temporality is ignored and delta is use always.
func (b Builder[N]) LastValue() (Measure[N], ComputeAggregation) {
- // Delta temporality is the only temporality that makes semantic sense for
- // a last-value aggregate.
lv := newLastValue[N](b.AggregationLimit, b.resFunc())
+ switch b.Temporality {
+ case metricdata.DeltaTemporality:
+ return b.filter(lv.measure), lv.delta
+ default:
+ return b.filter(lv.measure), lv.cumulative
+ }
+}
- return b.filter(lv.measure), func(dest *metricdata.Aggregation) int {
- // Ignore if dest is not a metricdata.Gauge. The chance for memory
- // reuse of the DataPoints is missed (better luck next time).
- gData, _ := (*dest).(metricdata.Gauge[N])
- lv.computeAggregation(&gData.DataPoints)
- *dest = gData
-
- return len(gData.DataPoints)
+// PrecomputedLastValue returns a last-value aggregate function input and
+// output. The aggregation returned from the returned ComputeAggregation
+// function will always only return values from the previous collection cycle.
+func (b Builder[N]) PrecomputedLastValue() (Measure[N], ComputeAggregation) {
+ lv := newPrecomputedLastValue[N](b.AggregationLimit, b.resFunc())
+ switch b.Temporality {
+ case metricdata.DeltaTemporality:
+ return b.filter(lv.measure), lv.delta
+ default:
+ return b.filter(lv.measure), lv.cumulative
}
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/doc.go
index e83a2693fa..7b7225e6ef 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package aggregate provides aggregate types used compute aggregations and
// cycle the state of metric measurements made by the SDK. These types and
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exemplar.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exemplar.go
new file mode 100644
index 0000000000..170ae8e58e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exemplar.go
@@ -0,0 +1,42 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
+
+import (
+ "sync"
+
+ "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
+ "go.opentelemetry.io/otel/sdk/metric/metricdata"
+)
+
+var exemplarPool = sync.Pool{
+ New: func() any { return new([]exemplar.Exemplar) },
+}
+
+func collectExemplars[N int64 | float64](out *[]metricdata.Exemplar[N], f func(*[]exemplar.Exemplar)) {
+ dest := exemplarPool.Get().(*[]exemplar.Exemplar)
+ defer func() {
+ *dest = (*dest)[:0]
+ exemplarPool.Put(dest)
+ }()
+
+ *dest = reset(*dest, len(*out), cap(*out))
+
+ f(dest)
+
+ *out = reset(*out, len(*dest), cap(*dest))
+ for i, e := range *dest {
+ (*out)[i].FilteredAttributes = e.FilteredAttributes
+ (*out)[i].Time = e.Time
+ (*out)[i].SpanID = e.SpanID
+ (*out)[i].TraceID = e.TraceID
+
+ switch e.Value.Type() {
+ case exemplar.Int64ValueType:
+ (*out)[i].Value = N(e.Value.Int64())
+ case exemplar.Float64ValueType:
+ (*out)[i].Value = N(e.Value.Float64())
+ }
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go
index 4139a6d156..902074b5bf 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/exponential_histogram.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
@@ -41,7 +30,8 @@ const (
// expoHistogramDataPoint is a single data point in an exponential histogram.
type expoHistogramDataPoint[N int64 | float64] struct {
- res exemplar.Reservoir[N]
+ attrs attribute.Set
+ res exemplar.Reservoir
count uint64
min N
@@ -59,7 +49,7 @@ type expoHistogramDataPoint[N int64 | float64] struct {
zeroCount uint64
}
-func newExpoHistogramDataPoint[N int64 | float64](maxSize, maxScale int, noMinMax, noSum bool) *expoHistogramDataPoint[N] {
+func newExpoHistogramDataPoint[N int64 | float64](attrs attribute.Set, maxSize, maxScale int, noMinMax, noSum bool) *expoHistogramDataPoint[N] {
f := math.MaxFloat64
max := N(f) // if N is int64, max will overflow to -9223372036854775808
min := N(-f)
@@ -68,6 +58,7 @@ func newExpoHistogramDataPoint[N int64 | float64](maxSize, maxScale int, noMinMa
min = N(minInt64)
}
return &expoHistogramDataPoint[N]{
+ attrs: attrs,
min: max,
max: min,
maxSize: maxSize,
@@ -291,7 +282,7 @@ func (b *expoBuckets) downscale(delta int) {
// newExponentialHistogram returns an Aggregator that summarizes a set of
// measurements as an exponential histogram. Each histogram is scoped by attributes
// and the aggregation cycle the measurements were made in.
-func newExponentialHistogram[N int64 | float64](maxSize, maxScale int32, noMinMax, noSum bool, limit int, r func() exemplar.Reservoir[N]) *expoHistogram[N] {
+func newExponentialHistogram[N int64 | float64](maxSize, maxScale int32, noMinMax, noSum bool, limit int, r func() exemplar.Reservoir) *expoHistogram[N] {
return &expoHistogram[N]{
noSum: noSum,
noMinMax: noMinMax,
@@ -300,7 +291,7 @@ func newExponentialHistogram[N int64 | float64](maxSize, maxScale int32, noMinMa
newRes: r,
limit: newLimiter[*expoHistogramDataPoint[N]](limit),
- values: make(map[attribute.Set]*expoHistogramDataPoint[N]),
+ values: make(map[attribute.Distinct]*expoHistogramDataPoint[N]),
start: now(),
}
@@ -314,9 +305,9 @@ type expoHistogram[N int64 | float64] struct {
maxSize int
maxScale int
- newRes func() exemplar.Reservoir[N]
+ newRes func() exemplar.Reservoir
limit limiter[*expoHistogramDataPoint[N]]
- values map[attribute.Set]*expoHistogramDataPoint[N]
+ values map[attribute.Distinct]*expoHistogramDataPoint[N]
valuesMu sync.Mutex
start time.Time
@@ -334,15 +325,15 @@ func (e *expoHistogram[N]) measure(ctx context.Context, value N, fltrAttr attrib
defer e.valuesMu.Unlock()
attr := e.limit.Attributes(fltrAttr, e.values)
- v, ok := e.values[attr]
+ v, ok := e.values[attr.Equivalent()]
if !ok {
- v = newExpoHistogramDataPoint[N](e.maxSize, e.maxScale, e.noMinMax, e.noSum)
+ v = newExpoHistogramDataPoint[N](attr, e.maxSize, e.maxScale, e.noMinMax, e.noSum)
v.res = e.newRes()
- e.values[attr] = v
+ e.values[attr.Equivalent()] = v
}
v.record(value)
- v.res.Offer(ctx, t, value, droppedAttr)
+ v.res.Offer(ctx, t, exemplar.NewValue(value), droppedAttr)
}
func (e *expoHistogram[N]) delta(dest *metricdata.Aggregation) int {
@@ -360,36 +351,38 @@ func (e *expoHistogram[N]) delta(dest *metricdata.Aggregation) int {
hDPts := reset(h.DataPoints, n, n)
var i int
- for a, b := range e.values {
- hDPts[i].Attributes = a
+ for _, val := range e.values {
+ hDPts[i].Attributes = val.attrs
hDPts[i].StartTime = e.start
hDPts[i].Time = t
- hDPts[i].Count = b.count
- hDPts[i].Scale = int32(b.scale)
- hDPts[i].ZeroCount = b.zeroCount
+ hDPts[i].Count = val.count
+ hDPts[i].Scale = int32(val.scale)
+ hDPts[i].ZeroCount = val.zeroCount
hDPts[i].ZeroThreshold = 0.0
- hDPts[i].PositiveBucket.Offset = int32(b.posBuckets.startBin)
- hDPts[i].PositiveBucket.Counts = reset(hDPts[i].PositiveBucket.Counts, len(b.posBuckets.counts), len(b.posBuckets.counts))
- copy(hDPts[i].PositiveBucket.Counts, b.posBuckets.counts)
+ hDPts[i].PositiveBucket.Offset = int32(val.posBuckets.startBin)
+ hDPts[i].PositiveBucket.Counts = reset(hDPts[i].PositiveBucket.Counts, len(val.posBuckets.counts), len(val.posBuckets.counts))
+ copy(hDPts[i].PositiveBucket.Counts, val.posBuckets.counts)
- hDPts[i].NegativeBucket.Offset = int32(b.negBuckets.startBin)
- hDPts[i].NegativeBucket.Counts = reset(hDPts[i].NegativeBucket.Counts, len(b.negBuckets.counts), len(b.negBuckets.counts))
- copy(hDPts[i].NegativeBucket.Counts, b.negBuckets.counts)
+ hDPts[i].NegativeBucket.Offset = int32(val.negBuckets.startBin)
+ hDPts[i].NegativeBucket.Counts = reset(hDPts[i].NegativeBucket.Counts, len(val.negBuckets.counts), len(val.negBuckets.counts))
+ copy(hDPts[i].NegativeBucket.Counts, val.negBuckets.counts)
if !e.noSum {
- hDPts[i].Sum = b.sum
+ hDPts[i].Sum = val.sum
}
if !e.noMinMax {
- hDPts[i].Min = metricdata.NewExtrema(b.min)
- hDPts[i].Max = metricdata.NewExtrema(b.max)
+ hDPts[i].Min = metricdata.NewExtrema(val.min)
+ hDPts[i].Max = metricdata.NewExtrema(val.max)
}
- b.res.Collect(&hDPts[i].Exemplars)
+ collectExemplars(&hDPts[i].Exemplars, val.res.Collect)
- delete(e.values, a)
i++
}
+ // Unused attribute sets do not report.
+ clear(e.values)
+
e.start = t
h.DataPoints = hDPts
*dest = h
@@ -411,32 +404,32 @@ func (e *expoHistogram[N]) cumulative(dest *metricdata.Aggregation) int {
hDPts := reset(h.DataPoints, n, n)
var i int
- for a, b := range e.values {
- hDPts[i].Attributes = a
+ for _, val := range e.values {
+ hDPts[i].Attributes = val.attrs
hDPts[i].StartTime = e.start
hDPts[i].Time = t
- hDPts[i].Count = b.count
- hDPts[i].Scale = int32(b.scale)
- hDPts[i].ZeroCount = b.zeroCount
+ hDPts[i].Count = val.count
+ hDPts[i].Scale = int32(val.scale)
+ hDPts[i].ZeroCount = val.zeroCount
hDPts[i].ZeroThreshold = 0.0
- hDPts[i].PositiveBucket.Offset = int32(b.posBuckets.startBin)
- hDPts[i].PositiveBucket.Counts = reset(hDPts[i].PositiveBucket.Counts, len(b.posBuckets.counts), len(b.posBuckets.counts))
- copy(hDPts[i].PositiveBucket.Counts, b.posBuckets.counts)
+ hDPts[i].PositiveBucket.Offset = int32(val.posBuckets.startBin)
+ hDPts[i].PositiveBucket.Counts = reset(hDPts[i].PositiveBucket.Counts, len(val.posBuckets.counts), len(val.posBuckets.counts))
+ copy(hDPts[i].PositiveBucket.Counts, val.posBuckets.counts)
- hDPts[i].NegativeBucket.Offset = int32(b.negBuckets.startBin)
- hDPts[i].NegativeBucket.Counts = reset(hDPts[i].NegativeBucket.Counts, len(b.negBuckets.counts), len(b.negBuckets.counts))
- copy(hDPts[i].NegativeBucket.Counts, b.negBuckets.counts)
+ hDPts[i].NegativeBucket.Offset = int32(val.negBuckets.startBin)
+ hDPts[i].NegativeBucket.Counts = reset(hDPts[i].NegativeBucket.Counts, len(val.negBuckets.counts), len(val.negBuckets.counts))
+ copy(hDPts[i].NegativeBucket.Counts, val.negBuckets.counts)
if !e.noSum {
- hDPts[i].Sum = b.sum
+ hDPts[i].Sum = val.sum
}
if !e.noMinMax {
- hDPts[i].Min = metricdata.NewExtrema(b.min)
- hDPts[i].Max = metricdata.NewExtrema(b.max)
+ hDPts[i].Min = metricdata.NewExtrema(val.min)
+ hDPts[i].Max = metricdata.NewExtrema(val.max)
}
- b.res.Collect(&hDPts[i].Exemplars)
+ collectExemplars(&hDPts[i].Exemplars, val.res.Collect)
i++
// TODO (#3006): This will use an unbounded amount of memory if there
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go
index a9a4706bf0..213baf50f5 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/histogram.go
@@ -1,21 +1,11 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
import (
"context"
+ "slices"
"sort"
"sync"
"time"
@@ -26,7 +16,8 @@ import (
)
type buckets[N int64 | float64] struct {
- res exemplar.Reservoir[N]
+ attrs attribute.Set
+ res exemplar.Reservoir
counts []uint64
count uint64
@@ -35,8 +26,8 @@ type buckets[N int64 | float64] struct {
}
// newBuckets returns buckets with n bins.
-func newBuckets[N int64 | float64](n int) *buckets[N] {
- return &buckets[N]{counts: make([]uint64, n)}
+func newBuckets[N int64 | float64](attrs attribute.Set, n int) *buckets[N] {
+ return &buckets[N]{attrs: attrs, counts: make([]uint64, n)}
}
func (b *buckets[N]) sum(value N) { b.total += value }
@@ -57,26 +48,25 @@ type histValues[N int64 | float64] struct {
noSum bool
bounds []float64
- newRes func() exemplar.Reservoir[N]
+ newRes func() exemplar.Reservoir
limit limiter[*buckets[N]]
- values map[attribute.Set]*buckets[N]
+ values map[attribute.Distinct]*buckets[N]
valuesMu sync.Mutex
}
-func newHistValues[N int64 | float64](bounds []float64, noSum bool, limit int, r func() exemplar.Reservoir[N]) *histValues[N] {
+func newHistValues[N int64 | float64](bounds []float64, noSum bool, limit int, r func() exemplar.Reservoir) *histValues[N] {
// The responsibility of keeping all buckets correctly associated with the
// passed boundaries is ultimately this type's responsibility. Make a copy
// here so we can always guarantee this. Or, in the case of failure, have
// complete control over the fix.
- b := make([]float64, len(bounds))
- copy(b, bounds)
- sort.Float64s(b)
+ b := slices.Clone(bounds)
+ slices.Sort(b)
return &histValues[N]{
noSum: noSum,
bounds: b,
newRes: r,
limit: newLimiter[*buckets[N]](limit),
- values: make(map[attribute.Set]*buckets[N]),
+ values: make(map[attribute.Distinct]*buckets[N]),
}
}
@@ -96,7 +86,7 @@ func (s *histValues[N]) measure(ctx context.Context, value N, fltrAttr attribute
defer s.valuesMu.Unlock()
attr := s.limit.Attributes(fltrAttr, s.values)
- b, ok := s.values[attr]
+ b, ok := s.values[attr.Equivalent()]
if !ok {
// N+1 buckets. For example:
//
@@ -105,23 +95,23 @@ func (s *histValues[N]) measure(ctx context.Context, value N, fltrAttr attribute
// Then,
//
// buckets = (-∞, 0], (0, 5.0], (5.0, 10.0], (10.0, +∞)
- b = newBuckets[N](len(s.bounds) + 1)
+ b = newBuckets[N](attr, len(s.bounds)+1)
b.res = s.newRes()
// Ensure min and max are recorded values (not zero), for new buckets.
b.min, b.max = value, value
- s.values[attr] = b
+ s.values[attr.Equivalent()] = b
}
b.bin(idx, value)
if !s.noSum {
b.sum(value)
}
- b.res.Offer(ctx, t, value, droppedAttr)
+ b.res.Offer(ctx, t, exemplar.NewValue(value), droppedAttr)
}
// newHistogram returns an Aggregator that summarizes a set of measurements as
// an histogram.
-func newHistogram[N int64 | float64](boundaries []float64, noMinMax, noSum bool, limit int, r func() exemplar.Reservoir[N]) *histogram[N] {
+func newHistogram[N int64 | float64](boundaries []float64, noMinMax, noSum bool, limit int, r func() exemplar.Reservoir) *histogram[N] {
return &histogram[N]{
histValues: newHistValues[N](boundaries, noSum, limit, r),
noMinMax: noMinMax,
@@ -150,36 +140,35 @@ func (s *histogram[N]) delta(dest *metricdata.Aggregation) int {
defer s.valuesMu.Unlock()
// Do not allow modification of our copy of bounds.
- bounds := make([]float64, len(s.bounds))
- copy(bounds, s.bounds)
+ bounds := slices.Clone(s.bounds)
n := len(s.values)
hDPts := reset(h.DataPoints, n, n)
var i int
- for a, b := range s.values {
- hDPts[i].Attributes = a
+ for _, val := range s.values {
+ hDPts[i].Attributes = val.attrs
hDPts[i].StartTime = s.start
hDPts[i].Time = t
- hDPts[i].Count = b.count
+ hDPts[i].Count = val.count
hDPts[i].Bounds = bounds
- hDPts[i].BucketCounts = b.counts
+ hDPts[i].BucketCounts = val.counts
if !s.noSum {
- hDPts[i].Sum = b.total
+ hDPts[i].Sum = val.total
}
if !s.noMinMax {
- hDPts[i].Min = metricdata.NewExtrema(b.min)
- hDPts[i].Max = metricdata.NewExtrema(b.max)
+ hDPts[i].Min = metricdata.NewExtrema(val.min)
+ hDPts[i].Max = metricdata.NewExtrema(val.max)
}
- b.res.Collect(&hDPts[i].Exemplars)
+ collectExemplars(&hDPts[i].Exemplars, val.res.Collect)
- // Unused attribute sets do not report.
- delete(s.values, a)
i++
}
+ // Unused attribute sets do not report.
+ clear(s.values)
// The delta collection cycle resets.
s.start = t
@@ -201,39 +190,36 @@ func (s *histogram[N]) cumulative(dest *metricdata.Aggregation) int {
defer s.valuesMu.Unlock()
// Do not allow modification of our copy of bounds.
- bounds := make([]float64, len(s.bounds))
- copy(bounds, s.bounds)
+ bounds := slices.Clone(s.bounds)
n := len(s.values)
hDPts := reset(h.DataPoints, n, n)
var i int
- for a, b := range s.values {
+ for _, val := range s.values {
+ hDPts[i].Attributes = val.attrs
+ hDPts[i].StartTime = s.start
+ hDPts[i].Time = t
+ hDPts[i].Count = val.count
+ hDPts[i].Bounds = bounds
+
// The HistogramDataPoint field values returned need to be copies of
// the buckets value as we will keep updating them.
//
// TODO (#3047): Making copies for bounds and counts incurs a large
// memory allocation footprint. Alternatives should be explored.
- counts := make([]uint64, len(b.counts))
- copy(counts, b.counts)
-
- hDPts[i].Attributes = a
- hDPts[i].StartTime = s.start
- hDPts[i].Time = t
- hDPts[i].Count = b.count
- hDPts[i].Bounds = bounds
- hDPts[i].BucketCounts = counts
+ hDPts[i].BucketCounts = slices.Clone(val.counts)
if !s.noSum {
- hDPts[i].Sum = b.total
+ hDPts[i].Sum = val.total
}
if !s.noMinMax {
- hDPts[i].Min = metricdata.NewExtrema(b.min)
- hDPts[i].Max = metricdata.NewExtrema(b.max)
+ hDPts[i].Min = metricdata.NewExtrema(val.min)
+ hDPts[i].Max = metricdata.NewExtrema(val.max)
}
- b.res.Collect(&hDPts[i].Exemplars)
+ collectExemplars(&hDPts[i].Exemplars, val.res.Collect)
i++
// TODO (#3006): This will use an unbounded amount of memory if there
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go
index 5699e728f1..8f406dd2bc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/lastvalue.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
@@ -26,16 +15,18 @@ import (
// datapoint is timestamped measurement data.
type datapoint[N int64 | float64] struct {
+ attrs attribute.Set
timestamp time.Time
value N
- res exemplar.Reservoir[N]
+ res exemplar.Reservoir
}
-func newLastValue[N int64 | float64](limit int, r func() exemplar.Reservoir[N]) *lastValue[N] {
+func newLastValue[N int64 | float64](limit int, r func() exemplar.Reservoir) *lastValue[N] {
return &lastValue[N]{
newRes: r,
limit: newLimiter[datapoint[N]](limit),
- values: make(map[attribute.Set]datapoint[N]),
+ values: make(map[attribute.Distinct]datapoint[N]),
+ start: now(),
}
}
@@ -43,9 +34,10 @@ func newLastValue[N int64 | float64](limit int, r func() exemplar.Reservoir[N])
type lastValue[N int64 | float64] struct {
sync.Mutex
- newRes func() exemplar.Reservoir[N]
+ newRes func() exemplar.Reservoir
limit limiter[datapoint[N]]
- values map[attribute.Set]datapoint[N]
+ values map[attribute.Distinct]datapoint[N]
+ start time.Time
}
func (s *lastValue[N]) measure(ctx context.Context, value N, fltrAttr attribute.Set, droppedAttr []attribute.KeyValue) {
@@ -55,35 +47,116 @@ func (s *lastValue[N]) measure(ctx context.Context, value N, fltrAttr attribute.
defer s.Unlock()
attr := s.limit.Attributes(fltrAttr, s.values)
- d, ok := s.values[attr]
+ d, ok := s.values[attr.Equivalent()]
if !ok {
d.res = s.newRes()
}
+ d.attrs = attr
d.timestamp = t
d.value = value
- d.res.Offer(ctx, t, value, droppedAttr)
+ d.res.Offer(ctx, t, exemplar.NewValue(value), droppedAttr)
- s.values[attr] = d
+ s.values[attr.Equivalent()] = d
}
-func (s *lastValue[N]) computeAggregation(dest *[]metricdata.DataPoint[N]) {
+func (s *lastValue[N]) delta(dest *metricdata.Aggregation) int {
+ // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of
+ // the DataPoints is missed (better luck next time).
+ gData, _ := (*dest).(metricdata.Gauge[N])
+
s.Lock()
defer s.Unlock()
+ n := s.copyDpts(&gData.DataPoints)
+ // Do not report stale values.
+ clear(s.values)
+ // Update start time for delta temporality.
+ s.start = now()
+
+ *dest = gData
+
+ return n
+}
+
+func (s *lastValue[N]) cumulative(dest *metricdata.Aggregation) int {
+ // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of
+ // the DataPoints is missed (better luck next time).
+ gData, _ := (*dest).(metricdata.Gauge[N])
+
+ s.Lock()
+ defer s.Unlock()
+
+ n := s.copyDpts(&gData.DataPoints)
+ // TODO (#3006): This will use an unbounded amount of memory if there
+ // are unbounded number of attribute sets being aggregated. Attribute
+ // sets that become "stale" need to be forgotten so this will not
+ // overload the system.
+ *dest = gData
+
+ return n
+}
+
+// copyDpts copies the datapoints held by s into dest. The number of datapoints
+// copied is returned.
+func (s *lastValue[N]) copyDpts(dest *[]metricdata.DataPoint[N]) int {
n := len(s.values)
*dest = reset(*dest, n, n)
var i int
- for a, v := range s.values {
- (*dest)[i].Attributes = a
- // The event time is the only meaningful timestamp, StartTime is
- // ignored.
+ for _, v := range s.values {
+ (*dest)[i].Attributes = v.attrs
+ (*dest)[i].StartTime = s.start
(*dest)[i].Time = v.timestamp
(*dest)[i].Value = v.value
- v.res.Collect(&(*dest)[i].Exemplars)
- // Do not report stale values.
- delete(s.values, a)
+ collectExemplars(&(*dest)[i].Exemplars, v.res.Collect)
i++
}
+ return n
+}
+
+// newPrecomputedLastValue returns an aggregator that summarizes a set of
+// observations as the last one made.
+func newPrecomputedLastValue[N int64 | float64](limit int, r func() exemplar.Reservoir) *precomputedLastValue[N] {
+ return &precomputedLastValue[N]{lastValue: newLastValue[N](limit, r)}
+}
+
+// precomputedLastValue summarizes a set of observations as the last one made.
+type precomputedLastValue[N int64 | float64] struct {
+ *lastValue[N]
+}
+
+func (s *precomputedLastValue[N]) delta(dest *metricdata.Aggregation) int {
+ // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of
+ // the DataPoints is missed (better luck next time).
+ gData, _ := (*dest).(metricdata.Gauge[N])
+
+ s.Lock()
+ defer s.Unlock()
+
+ n := s.copyDpts(&gData.DataPoints)
+ // Do not report stale values.
+ clear(s.values)
+ // Update start time for delta temporality.
+ s.start = now()
+
+ *dest = gData
+
+ return n
+}
+
+func (s *precomputedLastValue[N]) cumulative(dest *metricdata.Aggregation) int {
+ // Ignore if dest is not a metricdata.Gauge. The chance for memory reuse of
+ // the DataPoints is missed (better luck next time).
+ gData, _ := (*dest).(metricdata.Gauge[N])
+
+ s.Lock()
+ defer s.Unlock()
+
+ n := s.copyDpts(&gData.DataPoints)
+ // Do not report stale values.
+ clear(s.values)
+ *dest = gData
+
+ return n
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go
index d3de842720..9ea0251edd 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/limit.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
@@ -41,9 +30,9 @@ func newLimiter[V any](aggregation int) limiter[V] {
// aggregation cardinality limit for the existing measurements. If it will,
// overflowSet is returned. Otherwise, if it will not exceed the limit, or the
// limit is not set (limit <= 0), attr is returned.
-func (l limiter[V]) Attributes(attrs attribute.Set, measurements map[attribute.Set]V) attribute.Set {
+func (l limiter[V]) Attributes(attrs attribute.Set, measurements map[attribute.Distinct]V) attribute.Set {
if l.aggLimit > 0 {
- _, exists := measurements[attrs]
+ _, exists := measurements[attrs.Equivalent()]
if !exists && len(measurements) >= l.aggLimit-1 {
return overflowSet
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go
index 02de2483f3..babe76aba9 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/aggregate/sum.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package aggregate // import "go.opentelemetry.io/otel/sdk/metric/internal/aggregate"
@@ -25,23 +14,24 @@ import (
)
type sumValue[N int64 | float64] struct {
- n N
- res exemplar.Reservoir[N]
+ n N
+ res exemplar.Reservoir
+ attrs attribute.Set
}
// valueMap is the storage for sums.
type valueMap[N int64 | float64] struct {
sync.Mutex
- newRes func() exemplar.Reservoir[N]
+ newRes func() exemplar.Reservoir
limit limiter[sumValue[N]]
- values map[attribute.Set]sumValue[N]
+ values map[attribute.Distinct]sumValue[N]
}
-func newValueMap[N int64 | float64](limit int, r func() exemplar.Reservoir[N]) *valueMap[N] {
+func newValueMap[N int64 | float64](limit int, r func() exemplar.Reservoir) *valueMap[N] {
return &valueMap[N]{
newRes: r,
limit: newLimiter[sumValue[N]](limit),
- values: make(map[attribute.Set]sumValue[N]),
+ values: make(map[attribute.Distinct]sumValue[N]),
}
}
@@ -52,21 +42,22 @@ func (s *valueMap[N]) measure(ctx context.Context, value N, fltrAttr attribute.S
defer s.Unlock()
attr := s.limit.Attributes(fltrAttr, s.values)
- v, ok := s.values[attr]
+ v, ok := s.values[attr.Equivalent()]
if !ok {
v.res = s.newRes()
}
+ v.attrs = attr
v.n += value
- v.res.Offer(ctx, t, value, droppedAttr)
+ v.res.Offer(ctx, t, exemplar.NewValue(value), droppedAttr)
- s.values[attr] = v
+ s.values[attr.Equivalent()] = v
}
// newSum returns an aggregator that summarizes a set of measurements as their
// arithmetic sum. Each sum is scoped by attributes and the aggregation cycle
// the measurements were made in.
-func newSum[N int64 | float64](monotonic bool, limit int, r func() exemplar.Reservoir[N]) *sum[N] {
+func newSum[N int64 | float64](monotonic bool, limit int, r func() exemplar.Reservoir) *sum[N] {
return &sum[N]{
valueMap: newValueMap[N](limit, r),
monotonic: monotonic,
@@ -98,16 +89,16 @@ func (s *sum[N]) delta(dest *metricdata.Aggregation) int {
dPts := reset(sData.DataPoints, n, n)
var i int
- for attr, val := range s.values {
- dPts[i].Attributes = attr
+ for _, val := range s.values {
+ dPts[i].Attributes = val.attrs
dPts[i].StartTime = s.start
dPts[i].Time = t
dPts[i].Value = val.n
- val.res.Collect(&dPts[i].Exemplars)
- // Do not report stale values.
- delete(s.values, attr)
+ collectExemplars(&dPts[i].Exemplars, val.res.Collect)
i++
}
+ // Do not report stale values.
+ clear(s.values)
// The delta collection cycle resets.
s.start = t
@@ -133,12 +124,12 @@ func (s *sum[N]) cumulative(dest *metricdata.Aggregation) int {
dPts := reset(sData.DataPoints, n, n)
var i int
- for attr, value := range s.values {
- dPts[i].Attributes = attr
+ for _, value := range s.values {
+ dPts[i].Attributes = value.attrs
dPts[i].StartTime = s.start
dPts[i].Time = t
dPts[i].Value = value.n
- value.res.Collect(&dPts[i].Exemplars)
+ collectExemplars(&dPts[i].Exemplars, value.res.Collect)
// TODO (#3006): This will use an unbounded amount of memory if there
// are unbounded number of attribute sets being aggregated. Attribute
// sets that become "stale" need to be forgotten so this will not
@@ -155,7 +146,7 @@ func (s *sum[N]) cumulative(dest *metricdata.Aggregation) int {
// newPrecomputedSum returns an aggregator that summarizes a set of
// observatrions as their arithmetic sum. Each sum is scoped by attributes and
// the aggregation cycle the measurements were made in.
-func newPrecomputedSum[N int64 | float64](monotonic bool, limit int, r func() exemplar.Reservoir[N]) *precomputedSum[N] {
+func newPrecomputedSum[N int64 | float64](monotonic bool, limit int, r func() exemplar.Reservoir) *precomputedSum[N] {
return &precomputedSum[N]{
valueMap: newValueMap[N](limit, r),
monotonic: monotonic,
@@ -170,12 +161,12 @@ type precomputedSum[N int64 | float64] struct {
monotonic bool
start time.Time
- reported map[attribute.Set]N
+ reported map[attribute.Distinct]N
}
func (s *precomputedSum[N]) delta(dest *metricdata.Aggregation) int {
t := now()
- newReported := make(map[attribute.Set]N)
+ newReported := make(map[attribute.Distinct]N)
// If *dest is not a metricdata.Sum, memory reuse is missed. In that case,
// use the zero-value sData and hope for better alignment next cycle.
@@ -190,21 +181,20 @@ func (s *precomputedSum[N]) delta(dest *metricdata.Aggregation) int {
dPts := reset(sData.DataPoints, n, n)
var i int
- for attr, value := range s.values {
- delta := value.n - s.reported[attr]
+ for key, value := range s.values {
+ delta := value.n - s.reported[key]
- dPts[i].Attributes = attr
+ dPts[i].Attributes = value.attrs
dPts[i].StartTime = s.start
dPts[i].Time = t
dPts[i].Value = delta
- value.res.Collect(&dPts[i].Exemplars)
+ collectExemplars(&dPts[i].Exemplars, value.res.Collect)
- newReported[attr] = value.n
- // Unused attribute sets do not report.
- delete(s.values, attr)
+ newReported[key] = value.n
i++
}
- // Unused attribute sets are forgotten.
+ // Unused attribute sets do not report.
+ clear(s.values)
s.reported = newReported
// The delta collection cycle resets.
s.start = t
@@ -231,17 +221,17 @@ func (s *precomputedSum[N]) cumulative(dest *metricdata.Aggregation) int {
dPts := reset(sData.DataPoints, n, n)
var i int
- for attr, val := range s.values {
- dPts[i].Attributes = attr
+ for _, val := range s.values {
+ dPts[i].Attributes = val.attrs
dPts[i].StartTime = s.start
dPts[i].Time = t
dPts[i].Value = val.n
- val.res.Collect(&dPts[i].Exemplars)
+ collectExemplars(&dPts[i].Exemplars, val.res.Collect)
- // Unused attribute sets do not report.
- delete(s.values, attr)
i++
}
+ // Unused attribute sets do not report.
+ clear(s.values)
sData.DataPoints = dPts
*dest = sData
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/doc.go
index 3caeb542c5..5394f48e0d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package exemplar provides an implementation of the OpenTelemetry exemplar
// reservoir to be used in metric collection pipelines.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/drop.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/drop.go
index 39bf37b9e9..bf21e45dfa 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/drop.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/drop.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
@@ -19,18 +8,17 @@ import (
"time"
"go.opentelemetry.io/otel/attribute"
- "go.opentelemetry.io/otel/sdk/metric/metricdata"
)
// Drop returns a [Reservoir] that drops all measurements it is offered.
-func Drop[N int64 | float64]() Reservoir[N] { return &dropRes[N]{} }
+func Drop() Reservoir { return &dropRes{} }
-type dropRes[N int64 | float64] struct{}
+type dropRes struct{}
// Offer does nothing, all measurements offered will be dropped.
-func (r *dropRes[N]) Offer(context.Context, time.Time, N, []attribute.KeyValue) {}
+func (r *dropRes) Offer(context.Context, time.Time, Value, []attribute.KeyValue) {}
// Collect resets dest. No exemplars will ever be returned.
-func (r *dropRes[N]) Collect(dest *[]metricdata.Exemplar[N]) {
+func (r *dropRes) Collect(dest *[]Exemplar) {
*dest = (*dest)[:0]
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/exemplar.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/exemplar.go
new file mode 100644
index 0000000000..fcaa6a4697
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/exemplar.go
@@ -0,0 +1,29 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
+
+import (
+ "time"
+
+ "go.opentelemetry.io/otel/attribute"
+)
+
+// Exemplar is a measurement sampled from a timeseries providing a typical
+// example.
+type Exemplar struct {
+ // FilteredAttributes are the attributes recorded with the measurement but
+ // filtered out of the timeseries' aggregated data.
+ FilteredAttributes []attribute.KeyValue
+ // Time is the time when the measurement was recorded.
+ Time time.Time
+ // Value is the measured value.
+ Value Value
+ // SpanID is the ID of the span that was active during the measurement. If
+ // no span was active or the span was not sampled this will be empty.
+ SpanID []byte `json:",omitempty"`
+ // TraceID is the ID of the trace the active span belonged to during the
+ // measurement. If no span was active or the span was not sampled this will
+ // be empty.
+ TraceID []byte `json:",omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/filter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/filter.go
index 4f5946fb96..d96aacc281 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/filter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/filter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
@@ -25,15 +14,15 @@ import (
// SampledFilter returns a [Reservoir] wrapping r that will only offer measurements
// to r if the passed context associated with the measurement contains a sampled
// [go.opentelemetry.io/otel/trace.SpanContext].
-func SampledFilter[N int64 | float64](r Reservoir[N]) Reservoir[N] {
- return filtered[N]{Reservoir: r}
+func SampledFilter(r Reservoir) Reservoir {
+ return filtered{Reservoir: r}
}
-type filtered[N int64 | float64] struct {
- Reservoir[N]
+type filtered struct {
+ Reservoir
}
-func (f filtered[N]) Offer(ctx context.Context, t time.Time, n N, a []attribute.KeyValue) {
+func (f filtered) Offer(ctx context.Context, t time.Time, n Value, a []attribute.KeyValue) {
if trace.SpanContextFromContext(ctx).IsSampled() {
f.Reservoir.Offer(ctx, t, n, a)
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/hist.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/hist.go
index 6f4fe5524b..a6ff86d027 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/hist.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/hist.go
@@ -1,21 +1,11 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
import (
"context"
+ "slices"
"sort"
"time"
@@ -27,21 +17,30 @@ import (
// by bounds.
//
// The passed bounds will be sorted by this function.
-func Histogram[N int64 | float64](bounds []float64) Reservoir[N] {
- sort.Float64s(bounds)
- return &histRes[N]{
+func Histogram(bounds []float64) Reservoir {
+ slices.Sort(bounds)
+ return &histRes{
bounds: bounds,
- storage: newStorage[N](len(bounds) + 1),
+ storage: newStorage(len(bounds) + 1),
}
}
-type histRes[N int64 | float64] struct {
- *storage[N]
+type histRes struct {
+ *storage
// bounds are bucket bounds in ascending order.
bounds []float64
}
-func (r *histRes[N]) Offer(ctx context.Context, t time.Time, n N, a []attribute.KeyValue) {
- r.store[sort.SearchFloat64s(r.bounds, float64(n))] = newMeasurement(ctx, t, n, a)
+func (r *histRes) Offer(ctx context.Context, t time.Time, v Value, a []attribute.KeyValue) {
+ var x float64
+ switch v.Type() {
+ case Int64ValueType:
+ x = float64(v.Int64())
+ case Float64ValueType:
+ x = v.Float64()
+ default:
+ panic("unknown value type")
+ }
+ r.store[sort.SearchFloat64s(r.bounds, x)] = newMeasurement(ctx, t, v, a)
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/rand.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/rand.go
index 7f9fda5b48..6753e11664 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/rand.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/rand.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
@@ -21,7 +10,6 @@ import (
"time"
"go.opentelemetry.io/otel/attribute"
- "go.opentelemetry.io/otel/sdk/metric/metricdata"
)
// rng is used to make sampling decisions.
@@ -61,14 +49,14 @@ func random() float64 {
// are k or less measurements made, the Reservoir will sample each one. If
// there are more than k, the Reservoir will then randomly sample all
// additional measurement with a decreasing probability.
-func FixedSize[N int64 | float64](k int) Reservoir[N] {
- r := &randRes[N]{storage: newStorage[N](k)}
+func FixedSize(k int) Reservoir {
+ r := &randRes{storage: newStorage(k)}
r.reset()
return r
}
-type randRes[N int64 | float64] struct {
- *storage[N]
+type randRes struct {
+ *storage
// count is the number of measurement seen.
count int64
@@ -80,7 +68,7 @@ type randRes[N int64 | float64] struct {
w float64
}
-func (r *randRes[N]) Offer(ctx context.Context, t time.Time, n N, a []attribute.KeyValue) {
+func (r *randRes) Offer(ctx context.Context, t time.Time, n Value, a []attribute.KeyValue) {
// The following algorithm is "Algorithm L" from Li, Kim-Hung (4 December
// 1994). "Reservoir-Sampling Algorithms of Time Complexity
// O(n(1+log(N/n)))". ACM Transactions on Mathematical Software. 20 (4):
@@ -136,7 +124,7 @@ func (r *randRes[N]) Offer(ctx context.Context, t time.Time, n N, a []attribute.
}
// reset resets r to the initial state.
-func (r *randRes[N]) reset() {
+func (r *randRes) reset() {
// This resets the number of exemplars known.
r.count = 0
// Random index inserts should only happen after the storage is full.
@@ -158,7 +146,7 @@ func (r *randRes[N]) reset() {
// advance updates the count at which the offered measurement will overwrite an
// existing exemplar.
-func (r *randRes[N]) advance() {
+func (r *randRes) advance() {
// Calculate the next value in the random number series.
//
// The current value of r.w is based on the max of a distribution of random
@@ -185,7 +173,7 @@ func (r *randRes[N]) advance() {
r.next += int64(math.Log(random())/math.Log(1-r.w)) + 1
}
-func (r *randRes[N]) Collect(dest *[]metricdata.Exemplar[N]) {
+func (r *randRes) Collect(dest *[]Exemplar) {
r.storage.Collect(dest)
// Call reset here even though it will reset r.count and restart the random
// number series. This will persist any old exemplars as long as no new
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/reservoir.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/reservoir.go
index 7d5276a341..80fa59554f 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/reservoir.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/reservoir.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
@@ -19,11 +8,10 @@ import (
"time"
"go.opentelemetry.io/otel/attribute"
- "go.opentelemetry.io/otel/sdk/metric/metricdata"
)
// Reservoir holds the sampled exemplar of measurements made.
-type Reservoir[N int64 | float64] interface {
+type Reservoir interface {
// Offer accepts the parameters associated with a measurement. The
// parameters will be stored as an exemplar if the Reservoir decides to
// sample the measurement.
@@ -35,10 +23,10 @@ type Reservoir[N int64 | float64] interface {
// The time t is the time when the measurement was made. The val and attr
// parameters are the value and dropped (filtered) attributes of the
// measurement respectively.
- Offer(ctx context.Context, t time.Time, val N, attr []attribute.KeyValue)
+ Offer(ctx context.Context, t time.Time, val Value, attr []attribute.KeyValue)
// Collect returns all the held exemplars.
//
// The Reservoir state is preserved after this call.
- Collect(dest *[]metricdata.Exemplar[N])
+ Collect(dest *[]Exemplar)
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/storage.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/storage.go
index e2c2b90a35..10b2976f79 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/storage.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/storage.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
@@ -19,27 +8,26 @@ import (
"time"
"go.opentelemetry.io/otel/attribute"
- "go.opentelemetry.io/otel/sdk/metric/metricdata"
"go.opentelemetry.io/otel/trace"
)
// storage is an exemplar storage for [Reservoir] implementations.
-type storage[N int64 | float64] struct {
+type storage struct {
// store are the measurements sampled.
//
// This does not use []metricdata.Exemplar because it potentially would
// require an allocation for trace and span IDs in the hot path of Offer.
- store []measurement[N]
+ store []measurement
}
-func newStorage[N int64 | float64](n int) *storage[N] {
- return &storage[N]{store: make([]measurement[N], n)}
+func newStorage(n int) *storage {
+ return &storage{store: make([]measurement, n)}
}
// Collect returns all the held exemplars.
//
// The Reservoir state is preserved after this call.
-func (r *storage[N]) Collect(dest *[]metricdata.Exemplar[N]) {
+func (r *storage) Collect(dest *[]Exemplar) {
*dest = reset(*dest, len(r.store), len(r.store))
var n int
for _, m := range r.store {
@@ -54,13 +42,13 @@ func (r *storage[N]) Collect(dest *[]metricdata.Exemplar[N]) {
}
// measurement is a measurement made by a telemetry system.
-type measurement[N int64 | float64] struct {
+type measurement struct {
// FilteredAttributes are the attributes dropped during the measurement.
FilteredAttributes []attribute.KeyValue
// Time is the time when the measurement was made.
Time time.Time
// Value is the value of the measurement.
- Value N
+ Value Value
// SpanContext is the SpanContext active when a measurement was made.
SpanContext trace.SpanContext
@@ -68,8 +56,8 @@ type measurement[N int64 | float64] struct {
}
// newMeasurement returns a new non-empty Measurement.
-func newMeasurement[N int64 | float64](ctx context.Context, ts time.Time, v N, droppedAttr []attribute.KeyValue) measurement[N] {
- return measurement[N]{
+func newMeasurement(ctx context.Context, ts time.Time, v Value, droppedAttr []attribute.KeyValue) measurement {
+ return measurement{
FilteredAttributes: droppedAttr,
Time: ts,
Value: v,
@@ -78,8 +66,8 @@ func newMeasurement[N int64 | float64](ctx context.Context, ts time.Time, v N, d
}
}
-// Exemplar returns m as a [metricdata.Exemplar].
-func (m measurement[N]) Exemplar(dest *metricdata.Exemplar[N]) {
+// Exemplar returns m as an [Exemplar].
+func (m measurement) Exemplar(dest *Exemplar) {
dest.FilteredAttributes = m.FilteredAttributes
dest.Time = m.Time
dest.Value = m.Value
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/value.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/value.go
new file mode 100644
index 0000000000..9daf27dc00
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/exemplar/value.go
@@ -0,0 +1,57 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package exemplar // import "go.opentelemetry.io/otel/sdk/metric/internal/exemplar"
+
+import "math"
+
+// ValueType identifies the type of value used in exemplar data.
+type ValueType uint8
+
+const (
+ // UnknownValueType should not be used. It represents a misconfigured
+ // Value.
+ UnknownValueType ValueType = 0
+ // Int64ValueType represents a Value with int64 data.
+ Int64ValueType ValueType = 1
+ // Float64ValueType represents a Value with float64 data.
+ Float64ValueType ValueType = 2
+)
+
+// Value is the value of data held by an exemplar.
+type Value struct {
+ t ValueType
+ val uint64
+}
+
+// NewValue returns a new [Value] for the provided value.
+func NewValue[N int64 | float64](value N) Value {
+ switch v := any(value).(type) {
+ case int64:
+ return Value{t: Int64ValueType, val: uint64(v)}
+ case float64:
+ return Value{t: Float64ValueType, val: math.Float64bits(v)}
+ }
+ return Value{}
+}
+
+// Type returns the [ValueType] of data held by v.
+func (v Value) Type() ValueType { return v.t }
+
+// Int64 returns the value of v as an int64. If the ValueType of v is not an
+// Int64ValueType, 0 is returned.
+func (v Value) Int64() int64 {
+ if v.t == Int64ValueType {
+ return int64(v.val)
+ }
+ return 0
+}
+
+// Float64 returns the value of v as an float64. If the ValueType of v is not
+// an Float64ValueType, 0 is returned.
+func (v Value) Float64() float64 {
+ if v.t == Float64ValueType {
+ return math.Float64frombits(v.val)
+ }
+ return 0
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reuse_slice.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reuse_slice.go
index 9695492b0d..19ec6806ff 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reuse_slice.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/reuse_slice.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/sdk/metric/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go
index 541160f942..8cd2f37417 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/internal/x/x.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package x contains support for OTel metric SDK experimental features.
//
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go
index 7d524de9ea..e0fd86ca78 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/manual_reader.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/meter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/meter.go
index beb7876ec4..479b7610eb 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/meter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/meter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
@@ -119,6 +108,21 @@ func (m *meter) Int64Histogram(name string, options ...metric.Int64HistogramOpti
return i, validateInstrumentName(name)
}
+// Int64Gauge returns a new instrument identified by name and configured
+// with options. The instrument is used to synchronously record the
+// distribution of int64 measurements during a computational operation.
+func (m *meter) Int64Gauge(name string, options ...metric.Int64GaugeOption) (metric.Int64Gauge, error) {
+ cfg := metric.NewInt64GaugeConfig(options...)
+ const kind = InstrumentKindGauge
+ p := int64InstProvider{m}
+ i, err := p.lookup(kind, name, cfg.Description(), cfg.Unit())
+ if err != nil {
+ return i, err
+ }
+
+ return i, validateInstrumentName(name)
+}
+
// int64ObservableInstrument returns a new observable identified by the Instrument.
// It registers callbacks for each reader's pipeline.
func (m *meter) int64ObservableInstrument(id Instrument, callbacks []metric.Int64Callback) (int64Observable, error) {
@@ -253,6 +257,21 @@ func (m *meter) Float64Histogram(name string, options ...metric.Float64Histogram
return i, validateInstrumentName(name)
}
+// Float64Gauge returns a new instrument identified by name and configured
+// with options. The instrument is used to synchronously record the
+// distribution of float64 measurements during a computational operation.
+func (m *meter) Float64Gauge(name string, options ...metric.Float64GaugeOption) (metric.Float64Gauge, error) {
+ cfg := metric.NewFloat64GaugeConfig(options...)
+ const kind = InstrumentKindGauge
+ p := float64InstProvider{m}
+ i, err := p.lookup(kind, name, cfg.Description(), cfg.Unit())
+ if err != nil {
+ return i, err
+ }
+
+ return i, validateInstrumentName(name)
+}
+
// float64ObservableInstrument returns a new observable identified by the Instrument.
// It registers callbacks for each reader's pipeline.
func (m *meter) float64ObservableInstrument(id Instrument, callbacks []metric.Float64Callback) (float64Observable, error) {
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/README.md
new file mode 100644
index 0000000000..d1390df1b5
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/README.md
@@ -0,0 +1,3 @@
+# SDK Metric data
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/metric/metricdata)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/data.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/data.go
index 32c17934fc..d32cfc67d9 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/data.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/data.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metricdata // import "go.opentelemetry.io/otel/sdk/metric/metricdata"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality.go
index 9fceb18cba..187713dadf 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/metricdata/temporality.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:generate stringer -type=Temporality
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go
index ff86999c75..9cdd9384c5 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/periodic_reader.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go
index da39ab961c..c6f9597198 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/pipeline.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
@@ -360,7 +349,7 @@ func (i *inserter[N]) cachedAggregator(scope instrumentation.Scope, kind Instrum
cv := i.aggregators.Lookup(normID, func() aggVal[N] {
b := aggregate.Builder[N]{
Temporality: i.pipeline.reader.temporality(kind),
- ReservoirFunc: reservoirFunc[N](stream.Aggregation),
+ ReservoirFunc: reservoirFunc(stream.Aggregation),
}
b.Filter = stream.AttributeFilter
// A value less than or equal to zero will disable the aggregation
@@ -458,7 +447,12 @@ func (i *inserter[N]) aggregateFunc(b aggregate.Builder[N], agg Aggregation, kin
case AggregationDrop:
// Return nil in and out to signify the drop aggregator.
case AggregationLastValue:
- meas, comp = b.LastValue()
+ switch kind {
+ case InstrumentKindGauge:
+ meas, comp = b.LastValue()
+ case InstrumentKindObservableGauge:
+ meas, comp = b.PrecomputedLastValue()
+ }
case AggregationSum:
switch kind {
case InstrumentKindObservableCounter:
@@ -475,7 +469,7 @@ func (i *inserter[N]) aggregateFunc(b aggregate.Builder[N], agg Aggregation, kin
case AggregationExplicitBucketHistogram:
var noSum bool
switch kind {
- case InstrumentKindUpDownCounter, InstrumentKindObservableUpDownCounter, InstrumentKindObservableGauge:
+ case InstrumentKindUpDownCounter, InstrumentKindObservableUpDownCounter, InstrumentKindObservableGauge, InstrumentKindGauge:
// The sum should not be collected for any instrument that can make
// negative measurements:
// https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/metrics/sdk.md#histogram-aggregations
@@ -485,7 +479,7 @@ func (i *inserter[N]) aggregateFunc(b aggregate.Builder[N], agg Aggregation, kin
case AggregationBase2ExponentialHistogram:
var noSum bool
switch kind {
- case InstrumentKindUpDownCounter, InstrumentKindObservableUpDownCounter, InstrumentKindObservableGauge:
+ case InstrumentKindUpDownCounter, InstrumentKindObservableUpDownCounter, InstrumentKindObservableGauge, InstrumentKindGauge:
// The sum should not be collected for any instrument that can make
// negative measurements:
// https://github.com/open-telemetry/opentelemetry-specification/blob/v1.21.0/specification/metrics/sdk.md#histogram-aggregations
@@ -508,6 +502,7 @@ func (i *inserter[N]) aggregateFunc(b aggregate.Builder[N], agg Aggregation, kin
// | Counter | ✓ | | ✓ | ✓ | ✓ |
// | UpDownCounter | ✓ | | ✓ | ✓ | ✓ |
// | Histogram | ✓ | | ✓ | ✓ | ✓ |
+// | Gauge | ✓ | ✓ | | ✓ | ✓ |
// | Observable Counter | ✓ | | ✓ | ✓ | ✓ |
// | Observable UpDownCounter | ✓ | | ✓ | ✓ | ✓ |
// | Observable Gauge | ✓ | ✓ | | ✓ | ✓ |.
@@ -520,6 +515,7 @@ func isAggregatorCompatible(kind InstrumentKind, agg Aggregation) error {
case InstrumentKindCounter,
InstrumentKindUpDownCounter,
InstrumentKindHistogram,
+ InstrumentKindGauge,
InstrumentKindObservableCounter,
InstrumentKindObservableUpDownCounter,
InstrumentKindObservableGauge:
@@ -537,7 +533,8 @@ func isAggregatorCompatible(kind InstrumentKind, agg Aggregation) error {
return errIncompatibleAggregation
}
case AggregationLastValue:
- if kind == InstrumentKindObservableGauge {
+ switch kind {
+ case InstrumentKindObservableGauge, InstrumentKindGauge:
return nil
}
// TODO: review need for aggregation check after
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/provider.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/provider.go
index 7d1a9183ce..a82af538e6 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/provider.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/provider.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go
index 65cedaf3c0..a55f9a5372 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/reader.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
@@ -159,7 +148,7 @@ func DefaultAggregationSelector(ik InstrumentKind) Aggregation {
switch ik {
case InstrumentKindCounter, InstrumentKindUpDownCounter, InstrumentKindObservableCounter, InstrumentKindObservableUpDownCounter:
return AggregationSum{}
- case InstrumentKindObservableGauge:
+ case InstrumentKindObservableGauge, InstrumentKindGauge:
return AggregationLastValue{}
case InstrumentKindHistogram:
return AggregationExplicitBucketHistogram{
@@ -177,7 +166,7 @@ type ReaderOption interface {
ManualReaderOption
}
-// WithProducers registers producers as an external Producer of metric data
+// WithProducer registers producers as an external Producer of metric data
// for this Reader.
func WithProducer(p Producer) ReaderOption {
return producerOption{p: p}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/version.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/version.go
index 310fa5a530..43f85cfbcf 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/version.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/version.go
@@ -1,20 +1,9 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
// version is the current release version of the metric SDK in use.
func version() string {
- return "1.24.0"
+ return "1.27.0"
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/view.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/view.go
index 65f243befe..11e334319d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/view.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/metric/view.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package metric // import "go.opentelemetry.io/otel/sdk/metric"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/README.md
new file mode 100644
index 0000000000..4ad864d716
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/README.md
@@ -0,0 +1,3 @@
+# SDK Resource
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/resource)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/auto.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/auto.go
index aed756c5e7..95a61d61d4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/auto.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/auto.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go
index 6a2c08293a..50d2df5eb4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/builtin.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
@@ -22,7 +11,7 @@ import (
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/sdk"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
)
type (
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/config.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/config.go
index f263919f6e..0d6e213d92 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/config.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/config.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/container.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/container.go
index c1b47193fe..7525ee75f0 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/container.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/container.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
@@ -22,7 +11,7 @@ import (
"os"
"regexp"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
)
type containerIDProvider func() (string, error)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/doc.go
index d55a50b0dc..64939a2713 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package resource provides detecting and representing resources.
//
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/env.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/env.go
index be4cbe423e..0d5a355ab9 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/env.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/env.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
@@ -23,7 +12,7 @@ import (
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/attribute"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
)
const (
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go
index f579329c2c..3c1aa6285b 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
@@ -19,7 +8,7 @@ import (
"errors"
"strings"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
)
type hostIDProvider func() (string, error)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go
index 1778bbacf0..cc8b8938ed 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_bsd.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build dragonfly || freebsd || netbsd || openbsd || solaris
// +build dragonfly freebsd netbsd openbsd solaris
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_darwin.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_darwin.go
index ba41409b23..b09fde3b73 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_darwin.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_darwin.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go
index 207acb0ed3..d9e5d1a8ff 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_exec.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build darwin || dragonfly || freebsd || netbsd || openbsd || solaris
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go
index 410579b8fc..f84f173240 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_linux.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build linux
// +build linux
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_readfile.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_readfile.go
index 721e3ca6e7..6354b35602 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_readfile.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_readfile.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build linux || dragonfly || freebsd || netbsd || openbsd || solaris
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go
index 89df9d6882..df12c44c56 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_unsupported.go
@@ -1,25 +1,8 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
-// +build !darwin
-// +build !dragonfly
-// +build !freebsd
-// +build !linux
-// +build !netbsd
-// +build !openbsd
-// +build !solaris
-// +build !windows
+//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows
+// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go
index 5b431c6ee6..71386e2da4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/host_id_windows.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build windows
// +build windows
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os.go
index 8fbf071c17..ff78020fa1 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
@@ -19,7 +8,7 @@ import (
"strings"
"go.opentelemetry.io/otel/attribute"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
)
type osDescriptionProvider func() (string, error)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_darwin.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_darwin.go
index 24ec85793d..ce455dc544 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_darwin.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_darwin.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go
index c771942dee..f537e5ca5c 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_release_unix.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build aix || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
// +build aix dragonfly freebsd linux netbsd openbsd solaris zos
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go
index 1c84afc185..a6ff26a4d2 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unix.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go
index 3ebcb534f2..a77742b077 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_unsupported.go
@@ -1,27 +1,8 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
-// +build !aix
-// +build !darwin
-// +build !dragonfly
-// +build !freebsd
-// +build !linux
-// +build !netbsd
-// +build !openbsd
-// +build !solaris
-// +build !windows
-// +build !zos
+//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows && !zos
+// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows,!zos
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_windows.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_windows.go
index faad64d8da..5e3d199d78 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_windows.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/os_windows.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/process.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/process.go
index 739ea4512a..e4e1df8c98 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/process.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/process.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
@@ -22,7 +11,7 @@ import (
"path/filepath"
"runtime"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
)
type (
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/resource.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/resource.go
index cb1ee0a9ce..9f1af3a236 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/resource.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/resource/resource.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package resource // import "go.opentelemetry.io/otel/sdk/resource"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/README.md
new file mode 100644
index 0000000000..f2936e1439
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/README.md
@@ -0,0 +1,3 @@
+# SDK Trace
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/sdk/trace)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/batch_span_processor.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/batch_span_processor.go
index fca26f2e70..8a89fffdb4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/batch_span_processor.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/batch_span_processor.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/doc.go
index 0285e99be0..1f60524e3e 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package trace contains support for OpenTelemetry distributed tracing.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/event.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/event.go
index 1e3b426757..60a7ed1349 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/event.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/event.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/evictedqueue.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/evictedqueue.go
index d1c86e59b2..69eb2fdfce 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/evictedqueue.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/evictedqueue.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/id_generator.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/id_generator.go
index bba246041a..f9633d8c57 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/id_generator.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/id_generator.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/link.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/link.go
index 19cfea4ba4..c03bdc90f6 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/link.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/link.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/provider.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/provider.go
index b1ac608464..dec237ca73 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/provider.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/provider.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampler_env.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampler_env.go
index 02053b318a..d2d1f72466 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampler_env.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampler_env.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go
index a7bc125b9e..ebb6df6c90 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/sampling.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/simple_span_processor.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/simple_span_processor.go
index f8770fff79..554111bb4a 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/simple_span_processor.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/simple_span_processor.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
@@ -36,10 +25,10 @@ var _ SpanProcessor = (*simpleSpanProcessor)(nil)
// send completed spans to the exporter immediately.
//
// This SpanProcessor is not recommended for production use. The synchronous
-// nature of this SpanProcessor make it good for testing, debugging, or
-// showing examples of other feature, but it will be slow and have a high
-// computation resource usage overhead. The BatchSpanProcessor is recommended
-// for production use instead.
+// nature of this SpanProcessor makes it good for testing, debugging, or showing
+// examples of other features, but it will be slow and have a high computation
+// resource usage overhead. The BatchSpanProcessor is recommended for production
+// use instead.
func NewSimpleSpanProcessor(exporter SpanExporter) SpanProcessor {
ssp := &simpleSpanProcessor{
exporter: exporter,
@@ -80,10 +69,10 @@ func (ssp *simpleSpanProcessor) Shutdown(ctx context.Context) error {
//
// A closure is used to keep reference to the exporter and then the
// field is zeroed. This ensures the simpleSpanProcessor is shut down
- // before the exporter. This order is important as it avoids a
- // potential deadlock. If the exporter shut down operation generates a
- // span, that span would need to be exported. Meaning, OnEnd would be
- // called and try acquiring the lock that is held here.
+ // before the exporter. This order is important as it avoids a potential
+ // deadlock. If the exporter shut down operation generates a span, that
+ // span would need to be exported. Meaning, OnEnd would be called and
+ // try acquiring the lock that is held here.
ssp.exporterMu.Lock()
done, shutdown := stopFunc(ssp.exporter)
ssp.exporter = nil
@@ -95,15 +84,15 @@ func (ssp *simpleSpanProcessor) Shutdown(ctx context.Context) error {
select {
case err = <-done:
case <-ctx.Done():
- // It is possible for the exporter to have immediately shut down
- // and the context to be done simultaneously. In that case this
- // outer select statement will randomly choose a case. This will
- // result in a different returned error for similar scenarios.
- // Instead, double check if the exporter shut down at the same
- // time and return that error if so. This will ensure consistency
- // as well as ensure the caller knows the exporter shut down
- // successfully (they can already determine if the deadline is
- // expired given they passed the context).
+ // It is possible for the exporter to have immediately shut down and
+ // the context to be done simultaneously. In that case this outer
+ // select statement will randomly choose a case. This will result in
+ // a different returned error for similar scenarios. Instead, double
+ // check if the exporter shut down at the same time and return that
+ // error if so. This will ensure consistency as well as ensure
+ // the caller knows the exporter shut down successfully (they can
+ // already determine if the deadline is expired given they passed
+ // the context).
select {
case err = <-done:
default:
@@ -119,7 +108,8 @@ func (ssp *simpleSpanProcessor) ForceFlush(context.Context) error {
return nil
}
-// MarshalLog is the marshaling function used by the logging system to represent this Span Processor.
+// MarshalLog is the marshaling function used by the logging system to represent
+// this Span Processor.
func (ssp *simpleSpanProcessor) MarshalLog() interface{} {
return struct {
Type string
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/snapshot.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/snapshot.go
index 0349b2f198..32f862790c 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/snapshot.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/snapshot.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span.go
index 85bc702a01..f0221eaa85 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
@@ -20,6 +9,7 @@ import (
"reflect"
"runtime"
rt "runtime/trace"
+ "slices"
"strings"
"sync"
"time"
@@ -30,7 +20,7 @@ import (
"go.opentelemetry.io/otel/sdk/instrumentation"
"go.opentelemetry.io/otel/sdk/internal"
"go.opentelemetry.io/otel/sdk/resource"
- semconv "go.opentelemetry.io/otel/semconv/v1.24.0"
+ semconv "go.opentelemetry.io/otel/semconv/v1.25.0"
"go.opentelemetry.io/otel/trace"
"go.opentelemetry.io/otel/trace/embedded"
)
@@ -208,16 +198,6 @@ func (s *recordingSpan) SetStatus(code codes.Code, description string) {
s.status = status
}
-// ensureAttributesCapacity inlines functionality from slices.Grow
-// so that we can avoid needing to import golang.org/x/exp for go1.20.
-// Once support for go1.20 is dropped, we can use slices.Grow available since go1.21 instead.
-// Tracking issue: https://github.com/open-telemetry/opentelemetry-go/issues/4819.
-func (s *recordingSpan) ensureAttributesCapacity(minCapacity int) {
- if n := minCapacity - cap(s.attributes); n > 0 {
- s.attributes = append(s.attributes[:cap(s.attributes)], make([]attribute.KeyValue, n)...)[:len(s.attributes)]
- }
-}
-
// SetAttributes sets attributes of this span.
//
// If a key from attributes already exists the value associated with that key
@@ -252,7 +232,7 @@ func (s *recordingSpan) SetAttributes(attributes ...attribute.KeyValue) {
// Otherwise, add without deduplication. When attributes are read they
// will be deduplicated, optimizing the operation.
- s.ensureAttributesCapacity(len(s.attributes) + len(attributes))
+ s.attributes = slices.Grow(s.attributes, len(s.attributes)+len(attributes))
for _, a := range attributes {
if !a.Valid() {
// Drop all invalid attributes.
@@ -288,12 +268,8 @@ func (s *recordingSpan) addOverCapAttrs(limit int, attrs []attribute.KeyValue) {
// Now that s.attributes is deduplicated, adding unique attributes up to
// the capacity of s will not over allocate s.attributes.
- if sum := len(attrs) + len(s.attributes); sum < limit {
- // After support for go1.20 is dropped, simplify if-else to min(sum, limit).
- s.ensureAttributesCapacity(sum)
- } else {
- s.ensureAttributesCapacity(limit)
- }
+ sum := len(attrs) + len(s.attributes)
+ s.attributes = slices.Grow(s.attributes, min(sum, limit))
for _, a := range attrs {
if !a.Valid() {
// Drop all invalid attributes.
@@ -653,8 +629,12 @@ func (s *recordingSpan) Resource() *resource.Resource {
return s.tracer.provider.resource
}
-func (s *recordingSpan) addLink(link trace.Link) {
- if !s.IsRecording() || !link.SpanContext.IsValid() {
+func (s *recordingSpan) AddLink(link trace.Link) {
+ if !s.IsRecording() {
+ return
+ }
+ if !link.SpanContext.IsValid() && len(link.Attributes) == 0 &&
+ link.SpanContext.TraceState().Len() == 0 {
return
}
@@ -827,6 +807,9 @@ func (nonRecordingSpan) RecordError(error, ...trace.EventOption) {}
// AddEvent does nothing.
func (nonRecordingSpan) AddEvent(string, ...trace.EventOption) {}
+// AddLink does nothing.
+func (nonRecordingSpan) AddLink(trace.Link) {}
+
// SetName does nothing.
func (nonRecordingSpan) SetName(string) {}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_exporter.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_exporter.go
index c9bd52f7ad..6bdda3d94a 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_exporter.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_exporter.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_limits.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_limits.go
index aa4d4221db..bec5e20978 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_limits.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_limits.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_processor.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_processor.go
index 9c53657a71..af7f9177fc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_processor.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/span_processor.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/tracer.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/tracer.go
index 301e1a7abc..3668b1387d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/tracer.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/tracer.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
@@ -149,7 +138,7 @@ func (tr *tracer) newRecordingSpan(psc, sc trace.SpanContext, name string, sr Sa
}
for _, l := range config.Links() {
- s.addLink(l)
+ s.AddLink(l)
}
s.SetAttributes(sr.Attributes...)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/version.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/version.go
index d3457ed135..b84dd2c5ee 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/version.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/trace/version.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/sdk/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/version.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/version.go
index 42de0b9a7c..f0d8fc51a2 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/version.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/sdk/version.go
@@ -1,20 +1,9 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package sdk // import "go.opentelemetry.io/otel/sdk"
// Version is the current release version of the OpenTelemetry SDK in use.
func Version() string {
- return "1.24.0"
+ return "1.27.0"
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/internal/http.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/internal/http.go
index 19c394c69b..ada857995d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/internal/http.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/internal/http.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package internal // import "go.opentelemetry.io/otel/semconv/internal"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/README.md
new file mode 100644
index 0000000000..87b842c5d1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/README.md
@@ -0,0 +1,3 @@
+# Semconv v1.17.0
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.17.0)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/doc.go
index 71a1f7748d..e087c9c04d 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package semconv implements OpenTelemetry semantic conventions.
//
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/event.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/event.go
index 679c40c4de..c7b804bbe2 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/event.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/event.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/exception.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/exception.go
index 9b8c559de4..137acc67de 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/exception.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/exception.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconv // import "go.opentelemetry.io/otel/semconv/v1.17.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/http.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/http.go
index d5c4b5c136..d318221e59 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/http.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/http.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconv // import "go.opentelemetry.io/otel/semconv/v1.17.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/resource.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/resource.go
index 39a2eab3a6..7e365e82ce 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/resource.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/resource.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/schema.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/schema.go
index 42fc525d16..634a1dce07 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/schema.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/schema.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconv // import "go.opentelemetry.io/otel/semconv/v1.17.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/trace.go
index 8c4a7299d2..21497bb6bc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/trace.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.17.0/trace.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/README.md
new file mode 100644
index 0000000000..82e1f46b4e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/README.md
@@ -0,0 +1,3 @@
+# Semconv v1.20.0
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.20.0)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/attribute_group.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/attribute_group.go
new file mode 100644
index 0000000000..6685c392b5
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/attribute_group.go
@@ -0,0 +1,1198 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated from semantic convention specification. DO NOT EDIT.
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
+
+import "go.opentelemetry.io/otel/attribute"
+
+// Describes HTTP attributes.
+const (
+ // HTTPMethodKey is the attribute Key conforming to the "http.method"
+ // semantic conventions. It represents the hTTP request method.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'GET', 'POST', 'HEAD'
+ HTTPMethodKey = attribute.Key("http.method")
+
+ // HTTPStatusCodeKey is the attribute Key conforming to the
+ // "http.status_code" semantic conventions. It represents the [HTTP
+ // response status code](https://tools.ietf.org/html/rfc7231#section-6).
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If and only if one was
+ // received/sent.)
+ // Stability: stable
+ // Examples: 200
+ HTTPStatusCodeKey = attribute.Key("http.status_code")
+)
+
+// HTTPMethod returns an attribute KeyValue conforming to the "http.method"
+// semantic conventions. It represents the hTTP request method.
+func HTTPMethod(val string) attribute.KeyValue {
+ return HTTPMethodKey.String(val)
+}
+
+// HTTPStatusCode returns an attribute KeyValue conforming to the
+// "http.status_code" semantic conventions. It represents the [HTTP response
+// status code](https://tools.ietf.org/html/rfc7231#section-6).
+func HTTPStatusCode(val int) attribute.KeyValue {
+ return HTTPStatusCodeKey.Int(val)
+}
+
+// HTTP Server spans attributes
+const (
+ // HTTPSchemeKey is the attribute Key conforming to the "http.scheme"
+ // semantic conventions. It represents the URI scheme identifying the used
+ // protocol.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'http', 'https'
+ HTTPSchemeKey = attribute.Key("http.scheme")
+
+ // HTTPRouteKey is the attribute Key conforming to the "http.route"
+ // semantic conventions. It represents the matched route (path template in
+ // the format used by the respective server framework). See note below
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If and only if it's available)
+ // Stability: stable
+ // Examples: '/users/:userID?', '{controller}/{action}/{id?}'
+ // Note: MUST NOT be populated when this is not supported by the HTTP
+ // server framework as the route attribute should have low-cardinality and
+ // the URI path can NOT substitute it.
+ // SHOULD include the [application
+ // root](/specification/trace/semantic_conventions/http.md#http-server-definitions)
+ // if there is one.
+ HTTPRouteKey = attribute.Key("http.route")
+)
+
+// HTTPScheme returns an attribute KeyValue conforming to the "http.scheme"
+// semantic conventions. It represents the URI scheme identifying the used
+// protocol.
+func HTTPScheme(val string) attribute.KeyValue {
+ return HTTPSchemeKey.String(val)
+}
+
+// HTTPRoute returns an attribute KeyValue conforming to the "http.route"
+// semantic conventions. It represents the matched route (path template in the
+// format used by the respective server framework). See note below
+func HTTPRoute(val string) attribute.KeyValue {
+ return HTTPRouteKey.String(val)
+}
+
+// Attributes for Events represented using Log Records.
+const (
+ // EventNameKey is the attribute Key conforming to the "event.name"
+ // semantic conventions. It represents the name identifies the event.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'click', 'exception'
+ EventNameKey = attribute.Key("event.name")
+
+ // EventDomainKey is the attribute Key conforming to the "event.domain"
+ // semantic conventions. It represents the domain identifies the business
+ // context for the events.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ // Note: Events across different domains may have same `event.name`, yet be
+ // unrelated events.
+ EventDomainKey = attribute.Key("event.domain")
+)
+
+var (
+ // Events from browser apps
+ EventDomainBrowser = EventDomainKey.String("browser")
+ // Events from mobile apps
+ EventDomainDevice = EventDomainKey.String("device")
+ // Events from Kubernetes
+ EventDomainK8S = EventDomainKey.String("k8s")
+)
+
+// EventName returns an attribute KeyValue conforming to the "event.name"
+// semantic conventions. It represents the name identifies the event.
+func EventName(val string) attribute.KeyValue {
+ return EventNameKey.String(val)
+}
+
+// These attributes may be used for any network related operation.
+const (
+ // NetTransportKey is the attribute Key conforming to the "net.transport"
+ // semantic conventions. It represents the transport protocol used. See
+ // note below.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ NetTransportKey = attribute.Key("net.transport")
+
+ // NetProtocolNameKey is the attribute Key conforming to the
+ // "net.protocol.name" semantic conventions. It represents the application
+ // layer protocol used. The value SHOULD be normalized to lowercase.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'amqp', 'http', 'mqtt'
+ NetProtocolNameKey = attribute.Key("net.protocol.name")
+
+ // NetProtocolVersionKey is the attribute Key conforming to the
+ // "net.protocol.version" semantic conventions. It represents the version
+ // of the application layer protocol used. See note below.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '3.1.1'
+ // Note: `net.protocol.version` refers to the version of the protocol used
+ // and might be different from the protocol client's version. If the HTTP
+ // client used has a version of `0.27.2`, but sends HTTP version `1.1`,
+ // this attribute should be set to `1.1`.
+ NetProtocolVersionKey = attribute.Key("net.protocol.version")
+
+ // NetSockPeerNameKey is the attribute Key conforming to the
+ // "net.sock.peer.name" semantic conventions. It represents the remote
+ // socket peer name.
+ //
+ // Type: string
+ // RequirementLevel: Recommended (If available and different from
+ // `net.peer.name` and if `net.sock.peer.addr` is set.)
+ // Stability: stable
+ // Examples: 'proxy.example.com'
+ NetSockPeerNameKey = attribute.Key("net.sock.peer.name")
+
+ // NetSockPeerAddrKey is the attribute Key conforming to the
+ // "net.sock.peer.addr" semantic conventions. It represents the remote
+ // socket peer address: IPv4 or IPv6 for internet protocols, path for local
+ // communication,
+ // [etc](https://man7.org/linux/man-pages/man7/address_families.7.html).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '127.0.0.1', '/tmp/mysql.sock'
+ NetSockPeerAddrKey = attribute.Key("net.sock.peer.addr")
+
+ // NetSockPeerPortKey is the attribute Key conforming to the
+ // "net.sock.peer.port" semantic conventions. It represents the remote
+ // socket peer port.
+ //
+ // Type: int
+ // RequirementLevel: Recommended (If defined for the address family and if
+ // different than `net.peer.port` and if `net.sock.peer.addr` is set.)
+ // Stability: stable
+ // Examples: 16456
+ NetSockPeerPortKey = attribute.Key("net.sock.peer.port")
+
+ // NetSockFamilyKey is the attribute Key conforming to the
+ // "net.sock.family" semantic conventions. It represents the protocol
+ // [address
+ // family](https://man7.org/linux/man-pages/man7/address_families.7.html)
+ // which is used for communication.
+ //
+ // Type: Enum
+ // RequirementLevel: ConditionallyRequired (If different than `inet` and if
+ // any of `net.sock.peer.addr` or `net.sock.host.addr` are set. Consumers
+ // of telemetry SHOULD accept both IPv4 and IPv6 formats for the address in
+ // `net.sock.peer.addr` if `net.sock.family` is not set. This is to support
+ // instrumentations that follow previous versions of this document.)
+ // Stability: stable
+ // Examples: 'inet6', 'bluetooth'
+ NetSockFamilyKey = attribute.Key("net.sock.family")
+
+ // NetPeerNameKey is the attribute Key conforming to the "net.peer.name"
+ // semantic conventions. It represents the logical remote hostname, see
+ // note below.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'example.com'
+ // Note: `net.peer.name` SHOULD NOT be set if capturing it would require an
+ // extra DNS lookup.
+ NetPeerNameKey = attribute.Key("net.peer.name")
+
+ // NetPeerPortKey is the attribute Key conforming to the "net.peer.port"
+ // semantic conventions. It represents the logical remote port number
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 80, 8080, 443
+ NetPeerPortKey = attribute.Key("net.peer.port")
+
+ // NetHostNameKey is the attribute Key conforming to the "net.host.name"
+ // semantic conventions. It represents the logical local hostname or
+ // similar, see note below.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'localhost'
+ NetHostNameKey = attribute.Key("net.host.name")
+
+ // NetHostPortKey is the attribute Key conforming to the "net.host.port"
+ // semantic conventions. It represents the logical local port number,
+ // preferably the one that the peer used to connect
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 8080
+ NetHostPortKey = attribute.Key("net.host.port")
+
+ // NetSockHostAddrKey is the attribute Key conforming to the
+ // "net.sock.host.addr" semantic conventions. It represents the local
+ // socket address. Useful in case of a multi-IP host.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '192.168.0.1'
+ NetSockHostAddrKey = attribute.Key("net.sock.host.addr")
+
+ // NetSockHostPortKey is the attribute Key conforming to the
+ // "net.sock.host.port" semantic conventions. It represents the local
+ // socket port number.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If defined for the address
+ // family and if different than `net.host.port` and if `net.sock.host.addr`
+ // is set. In other cases, it is still recommended to set this.)
+ // Stability: stable
+ // Examples: 35555
+ NetSockHostPortKey = attribute.Key("net.sock.host.port")
+)
+
+var (
+ // ip_tcp
+ NetTransportTCP = NetTransportKey.String("ip_tcp")
+ // ip_udp
+ NetTransportUDP = NetTransportKey.String("ip_udp")
+ // Named or anonymous pipe. See note below
+ NetTransportPipe = NetTransportKey.String("pipe")
+ // In-process communication
+ NetTransportInProc = NetTransportKey.String("inproc")
+ // Something else (non IP-based)
+ NetTransportOther = NetTransportKey.String("other")
+)
+
+var (
+ // IPv4 address
+ NetSockFamilyInet = NetSockFamilyKey.String("inet")
+ // IPv6 address
+ NetSockFamilyInet6 = NetSockFamilyKey.String("inet6")
+ // Unix domain socket path
+ NetSockFamilyUnix = NetSockFamilyKey.String("unix")
+)
+
+// NetProtocolName returns an attribute KeyValue conforming to the
+// "net.protocol.name" semantic conventions. It represents the application
+// layer protocol used. The value SHOULD be normalized to lowercase.
+func NetProtocolName(val string) attribute.KeyValue {
+ return NetProtocolNameKey.String(val)
+}
+
+// NetProtocolVersion returns an attribute KeyValue conforming to the
+// "net.protocol.version" semantic conventions. It represents the version of
+// the application layer protocol used. See note below.
+func NetProtocolVersion(val string) attribute.KeyValue {
+ return NetProtocolVersionKey.String(val)
+}
+
+// NetSockPeerName returns an attribute KeyValue conforming to the
+// "net.sock.peer.name" semantic conventions. It represents the remote socket
+// peer name.
+func NetSockPeerName(val string) attribute.KeyValue {
+ return NetSockPeerNameKey.String(val)
+}
+
+// NetSockPeerAddr returns an attribute KeyValue conforming to the
+// "net.sock.peer.addr" semantic conventions. It represents the remote socket
+// peer address: IPv4 or IPv6 for internet protocols, path for local
+// communication,
+// [etc](https://man7.org/linux/man-pages/man7/address_families.7.html).
+func NetSockPeerAddr(val string) attribute.KeyValue {
+ return NetSockPeerAddrKey.String(val)
+}
+
+// NetSockPeerPort returns an attribute KeyValue conforming to the
+// "net.sock.peer.port" semantic conventions. It represents the remote socket
+// peer port.
+func NetSockPeerPort(val int) attribute.KeyValue {
+ return NetSockPeerPortKey.Int(val)
+}
+
+// NetPeerName returns an attribute KeyValue conforming to the
+// "net.peer.name" semantic conventions. It represents the logical remote
+// hostname, see note below.
+func NetPeerName(val string) attribute.KeyValue {
+ return NetPeerNameKey.String(val)
+}
+
+// NetPeerPort returns an attribute KeyValue conforming to the
+// "net.peer.port" semantic conventions. It represents the logical remote port
+// number
+func NetPeerPort(val int) attribute.KeyValue {
+ return NetPeerPortKey.Int(val)
+}
+
+// NetHostName returns an attribute KeyValue conforming to the
+// "net.host.name" semantic conventions. It represents the logical local
+// hostname or similar, see note below.
+func NetHostName(val string) attribute.KeyValue {
+ return NetHostNameKey.String(val)
+}
+
+// NetHostPort returns an attribute KeyValue conforming to the
+// "net.host.port" semantic conventions. It represents the logical local port
+// number, preferably the one that the peer used to connect
+func NetHostPort(val int) attribute.KeyValue {
+ return NetHostPortKey.Int(val)
+}
+
+// NetSockHostAddr returns an attribute KeyValue conforming to the
+// "net.sock.host.addr" semantic conventions. It represents the local socket
+// address. Useful in case of a multi-IP host.
+func NetSockHostAddr(val string) attribute.KeyValue {
+ return NetSockHostAddrKey.String(val)
+}
+
+// NetSockHostPort returns an attribute KeyValue conforming to the
+// "net.sock.host.port" semantic conventions. It represents the local socket
+// port number.
+func NetSockHostPort(val int) attribute.KeyValue {
+ return NetSockHostPortKey.Int(val)
+}
+
+// These attributes may be used for any network related operation.
+const (
+ // NetHostConnectionTypeKey is the attribute Key conforming to the
+ // "net.host.connection.type" semantic conventions. It represents the
+ // internet connection type currently being used by the host.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'wifi'
+ NetHostConnectionTypeKey = attribute.Key("net.host.connection.type")
+
+ // NetHostConnectionSubtypeKey is the attribute Key conforming to the
+ // "net.host.connection.subtype" semantic conventions. It represents the
+ // this describes more details regarding the connection.type. It may be the
+ // type of cell technology connection, but it could be used for describing
+ // details about a wifi connection.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'LTE'
+ NetHostConnectionSubtypeKey = attribute.Key("net.host.connection.subtype")
+
+ // NetHostCarrierNameKey is the attribute Key conforming to the
+ // "net.host.carrier.name" semantic conventions. It represents the name of
+ // the mobile carrier.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'sprint'
+ NetHostCarrierNameKey = attribute.Key("net.host.carrier.name")
+
+ // NetHostCarrierMccKey is the attribute Key conforming to the
+ // "net.host.carrier.mcc" semantic conventions. It represents the mobile
+ // carrier country code.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '310'
+ NetHostCarrierMccKey = attribute.Key("net.host.carrier.mcc")
+
+ // NetHostCarrierMncKey is the attribute Key conforming to the
+ // "net.host.carrier.mnc" semantic conventions. It represents the mobile
+ // carrier network code.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '001'
+ NetHostCarrierMncKey = attribute.Key("net.host.carrier.mnc")
+
+ // NetHostCarrierIccKey is the attribute Key conforming to the
+ // "net.host.carrier.icc" semantic conventions. It represents the ISO
+ // 3166-1 alpha-2 2-character country code associated with the mobile
+ // carrier network.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'DE'
+ NetHostCarrierIccKey = attribute.Key("net.host.carrier.icc")
+)
+
+var (
+ // wifi
+ NetHostConnectionTypeWifi = NetHostConnectionTypeKey.String("wifi")
+ // wired
+ NetHostConnectionTypeWired = NetHostConnectionTypeKey.String("wired")
+ // cell
+ NetHostConnectionTypeCell = NetHostConnectionTypeKey.String("cell")
+ // unavailable
+ NetHostConnectionTypeUnavailable = NetHostConnectionTypeKey.String("unavailable")
+ // unknown
+ NetHostConnectionTypeUnknown = NetHostConnectionTypeKey.String("unknown")
+)
+
+var (
+ // GPRS
+ NetHostConnectionSubtypeGprs = NetHostConnectionSubtypeKey.String("gprs")
+ // EDGE
+ NetHostConnectionSubtypeEdge = NetHostConnectionSubtypeKey.String("edge")
+ // UMTS
+ NetHostConnectionSubtypeUmts = NetHostConnectionSubtypeKey.String("umts")
+ // CDMA
+ NetHostConnectionSubtypeCdma = NetHostConnectionSubtypeKey.String("cdma")
+ // EVDO Rel. 0
+ NetHostConnectionSubtypeEvdo0 = NetHostConnectionSubtypeKey.String("evdo_0")
+ // EVDO Rev. A
+ NetHostConnectionSubtypeEvdoA = NetHostConnectionSubtypeKey.String("evdo_a")
+ // CDMA2000 1XRTT
+ NetHostConnectionSubtypeCdma20001xrtt = NetHostConnectionSubtypeKey.String("cdma2000_1xrtt")
+ // HSDPA
+ NetHostConnectionSubtypeHsdpa = NetHostConnectionSubtypeKey.String("hsdpa")
+ // HSUPA
+ NetHostConnectionSubtypeHsupa = NetHostConnectionSubtypeKey.String("hsupa")
+ // HSPA
+ NetHostConnectionSubtypeHspa = NetHostConnectionSubtypeKey.String("hspa")
+ // IDEN
+ NetHostConnectionSubtypeIden = NetHostConnectionSubtypeKey.String("iden")
+ // EVDO Rev. B
+ NetHostConnectionSubtypeEvdoB = NetHostConnectionSubtypeKey.String("evdo_b")
+ // LTE
+ NetHostConnectionSubtypeLte = NetHostConnectionSubtypeKey.String("lte")
+ // EHRPD
+ NetHostConnectionSubtypeEhrpd = NetHostConnectionSubtypeKey.String("ehrpd")
+ // HSPAP
+ NetHostConnectionSubtypeHspap = NetHostConnectionSubtypeKey.String("hspap")
+ // GSM
+ NetHostConnectionSubtypeGsm = NetHostConnectionSubtypeKey.String("gsm")
+ // TD-SCDMA
+ NetHostConnectionSubtypeTdScdma = NetHostConnectionSubtypeKey.String("td_scdma")
+ // IWLAN
+ NetHostConnectionSubtypeIwlan = NetHostConnectionSubtypeKey.String("iwlan")
+ // 5G NR (New Radio)
+ NetHostConnectionSubtypeNr = NetHostConnectionSubtypeKey.String("nr")
+ // 5G NRNSA (New Radio Non-Standalone)
+ NetHostConnectionSubtypeNrnsa = NetHostConnectionSubtypeKey.String("nrnsa")
+ // LTE CA
+ NetHostConnectionSubtypeLteCa = NetHostConnectionSubtypeKey.String("lte_ca")
+)
+
+// NetHostCarrierName returns an attribute KeyValue conforming to the
+// "net.host.carrier.name" semantic conventions. It represents the name of the
+// mobile carrier.
+func NetHostCarrierName(val string) attribute.KeyValue {
+ return NetHostCarrierNameKey.String(val)
+}
+
+// NetHostCarrierMcc returns an attribute KeyValue conforming to the
+// "net.host.carrier.mcc" semantic conventions. It represents the mobile
+// carrier country code.
+func NetHostCarrierMcc(val string) attribute.KeyValue {
+ return NetHostCarrierMccKey.String(val)
+}
+
+// NetHostCarrierMnc returns an attribute KeyValue conforming to the
+// "net.host.carrier.mnc" semantic conventions. It represents the mobile
+// carrier network code.
+func NetHostCarrierMnc(val string) attribute.KeyValue {
+ return NetHostCarrierMncKey.String(val)
+}
+
+// NetHostCarrierIcc returns an attribute KeyValue conforming to the
+// "net.host.carrier.icc" semantic conventions. It represents the ISO 3166-1
+// alpha-2 2-character country code associated with the mobile carrier network.
+func NetHostCarrierIcc(val string) attribute.KeyValue {
+ return NetHostCarrierIccKey.String(val)
+}
+
+// Semantic conventions for HTTP client and server Spans.
+const (
+ // HTTPRequestContentLengthKey is the attribute Key conforming to the
+ // "http.request_content_length" semantic conventions. It represents the
+ // size of the request payload body in bytes. This is the number of bytes
+ // transferred excluding headers and is often, but not always, present as
+ // the
+ // [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length)
+ // header. For requests using transport encoding, this should be the
+ // compressed size.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 3495
+ HTTPRequestContentLengthKey = attribute.Key("http.request_content_length")
+
+ // HTTPResponseContentLengthKey is the attribute Key conforming to the
+ // "http.response_content_length" semantic conventions. It represents the
+ // size of the response payload body in bytes. This is the number of bytes
+ // transferred excluding headers and is often, but not always, present as
+ // the
+ // [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length)
+ // header. For requests using transport encoding, this should be the
+ // compressed size.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 3495
+ HTTPResponseContentLengthKey = attribute.Key("http.response_content_length")
+)
+
+// HTTPRequestContentLength returns an attribute KeyValue conforming to the
+// "http.request_content_length" semantic conventions. It represents the size
+// of the request payload body in bytes. This is the number of bytes
+// transferred excluding headers and is often, but not always, present as the
+// [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length)
+// header. For requests using transport encoding, this should be the compressed
+// size.
+func HTTPRequestContentLength(val int) attribute.KeyValue {
+ return HTTPRequestContentLengthKey.Int(val)
+}
+
+// HTTPResponseContentLength returns an attribute KeyValue conforming to the
+// "http.response_content_length" semantic conventions. It represents the size
+// of the response payload body in bytes. This is the number of bytes
+// transferred excluding headers and is often, but not always, present as the
+// [Content-Length](https://www.rfc-editor.org/rfc/rfc9110.html#field.content-length)
+// header. For requests using transport encoding, this should be the compressed
+// size.
+func HTTPResponseContentLength(val int) attribute.KeyValue {
+ return HTTPResponseContentLengthKey.Int(val)
+}
+
+// Semantic convention describing per-message attributes populated on messaging
+// spans or links.
+const (
+ // MessagingMessageIDKey is the attribute Key conforming to the
+ // "messaging.message.id" semantic conventions. It represents a value used
+ // by the messaging system as an identifier for the message, represented as
+ // a string.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '452a7c7c7c7048c2f887f61572b18fc2'
+ MessagingMessageIDKey = attribute.Key("messaging.message.id")
+
+ // MessagingMessageConversationIDKey is the attribute Key conforming to the
+ // "messaging.message.conversation_id" semantic conventions. It represents
+ // the [conversation ID](#conversations) identifying the conversation to
+ // which the message belongs, represented as a string. Sometimes called
+ // "Correlation ID".
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'MyConversationID'
+ MessagingMessageConversationIDKey = attribute.Key("messaging.message.conversation_id")
+
+ // MessagingMessagePayloadSizeBytesKey is the attribute Key conforming to
+ // the "messaging.message.payload_size_bytes" semantic conventions. It
+ // represents the (uncompressed) size of the message payload in bytes. Also
+ // use this attribute if it is unknown whether the compressed or
+ // uncompressed payload size is reported.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 2738
+ MessagingMessagePayloadSizeBytesKey = attribute.Key("messaging.message.payload_size_bytes")
+
+ // MessagingMessagePayloadCompressedSizeBytesKey is the attribute Key
+ // conforming to the "messaging.message.payload_compressed_size_bytes"
+ // semantic conventions. It represents the compressed size of the message
+ // payload in bytes.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 2048
+ MessagingMessagePayloadCompressedSizeBytesKey = attribute.Key("messaging.message.payload_compressed_size_bytes")
+)
+
+// MessagingMessageID returns an attribute KeyValue conforming to the
+// "messaging.message.id" semantic conventions. It represents a value used by
+// the messaging system as an identifier for the message, represented as a
+// string.
+func MessagingMessageID(val string) attribute.KeyValue {
+ return MessagingMessageIDKey.String(val)
+}
+
+// MessagingMessageConversationID returns an attribute KeyValue conforming
+// to the "messaging.message.conversation_id" semantic conventions. It
+// represents the [conversation ID](#conversations) identifying the
+// conversation to which the message belongs, represented as a string.
+// Sometimes called "Correlation ID".
+func MessagingMessageConversationID(val string) attribute.KeyValue {
+ return MessagingMessageConversationIDKey.String(val)
+}
+
+// MessagingMessagePayloadSizeBytes returns an attribute KeyValue conforming
+// to the "messaging.message.payload_size_bytes" semantic conventions. It
+// represents the (uncompressed) size of the message payload in bytes. Also use
+// this attribute if it is unknown whether the compressed or uncompressed
+// payload size is reported.
+func MessagingMessagePayloadSizeBytes(val int) attribute.KeyValue {
+ return MessagingMessagePayloadSizeBytesKey.Int(val)
+}
+
+// MessagingMessagePayloadCompressedSizeBytes returns an attribute KeyValue
+// conforming to the "messaging.message.payload_compressed_size_bytes" semantic
+// conventions. It represents the compressed size of the message payload in
+// bytes.
+func MessagingMessagePayloadCompressedSizeBytes(val int) attribute.KeyValue {
+ return MessagingMessagePayloadCompressedSizeBytesKey.Int(val)
+}
+
+// Semantic convention for attributes that describe messaging destination on
+// broker
+const (
+ // MessagingDestinationNameKey is the attribute Key conforming to the
+ // "messaging.destination.name" semantic conventions. It represents the
+ // message destination name
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'MyQueue', 'MyTopic'
+ // Note: Destination name SHOULD uniquely identify a specific queue, topic
+ // or other entity within the broker. If
+ // the broker does not have such notion, the destination name SHOULD
+ // uniquely identify the broker.
+ MessagingDestinationNameKey = attribute.Key("messaging.destination.name")
+
+ // MessagingDestinationTemplateKey is the attribute Key conforming to the
+ // "messaging.destination.template" semantic conventions. It represents the
+ // low cardinality representation of the messaging destination name
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '/customers/{customerID}'
+ // Note: Destination names could be constructed from templates. An example
+ // would be a destination name involving a user name or product id.
+ // Although the destination name in this case is of high cardinality, the
+ // underlying template is of low cardinality and can be effectively used
+ // for grouping and aggregation.
+ MessagingDestinationTemplateKey = attribute.Key("messaging.destination.template")
+
+ // MessagingDestinationTemporaryKey is the attribute Key conforming to the
+ // "messaging.destination.temporary" semantic conventions. It represents a
+ // boolean that is true if the message destination is temporary and might
+ // not exist anymore after messages are processed.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessagingDestinationTemporaryKey = attribute.Key("messaging.destination.temporary")
+
+ // MessagingDestinationAnonymousKey is the attribute Key conforming to the
+ // "messaging.destination.anonymous" semantic conventions. It represents a
+ // boolean that is true if the message destination is anonymous (could be
+ // unnamed or have auto-generated name).
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessagingDestinationAnonymousKey = attribute.Key("messaging.destination.anonymous")
+)
+
+// MessagingDestinationName returns an attribute KeyValue conforming to the
+// "messaging.destination.name" semantic conventions. It represents the message
+// destination name
+func MessagingDestinationName(val string) attribute.KeyValue {
+ return MessagingDestinationNameKey.String(val)
+}
+
+// MessagingDestinationTemplate returns an attribute KeyValue conforming to
+// the "messaging.destination.template" semantic conventions. It represents the
+// low cardinality representation of the messaging destination name
+func MessagingDestinationTemplate(val string) attribute.KeyValue {
+ return MessagingDestinationTemplateKey.String(val)
+}
+
+// MessagingDestinationTemporary returns an attribute KeyValue conforming to
+// the "messaging.destination.temporary" semantic conventions. It represents a
+// boolean that is true if the message destination is temporary and might not
+// exist anymore after messages are processed.
+func MessagingDestinationTemporary(val bool) attribute.KeyValue {
+ return MessagingDestinationTemporaryKey.Bool(val)
+}
+
+// MessagingDestinationAnonymous returns an attribute KeyValue conforming to
+// the "messaging.destination.anonymous" semantic conventions. It represents a
+// boolean that is true if the message destination is anonymous (could be
+// unnamed or have auto-generated name).
+func MessagingDestinationAnonymous(val bool) attribute.KeyValue {
+ return MessagingDestinationAnonymousKey.Bool(val)
+}
+
+// Semantic convention for attributes that describe messaging source on broker
+const (
+ // MessagingSourceNameKey is the attribute Key conforming to the
+ // "messaging.source.name" semantic conventions. It represents the message
+ // source name
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'MyQueue', 'MyTopic'
+ // Note: Source name SHOULD uniquely identify a specific queue, topic, or
+ // other entity within the broker. If
+ // the broker does not have such notion, the source name SHOULD uniquely
+ // identify the broker.
+ MessagingSourceNameKey = attribute.Key("messaging.source.name")
+
+ // MessagingSourceTemplateKey is the attribute Key conforming to the
+ // "messaging.source.template" semantic conventions. It represents the low
+ // cardinality representation of the messaging source name
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '/customers/{customerID}'
+ // Note: Source names could be constructed from templates. An example would
+ // be a source name involving a user name or product id. Although the
+ // source name in this case is of high cardinality, the underlying template
+ // is of low cardinality and can be effectively used for grouping and
+ // aggregation.
+ MessagingSourceTemplateKey = attribute.Key("messaging.source.template")
+
+ // MessagingSourceTemporaryKey is the attribute Key conforming to the
+ // "messaging.source.temporary" semantic conventions. It represents a
+ // boolean that is true if the message source is temporary and might not
+ // exist anymore after messages are processed.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessagingSourceTemporaryKey = attribute.Key("messaging.source.temporary")
+
+ // MessagingSourceAnonymousKey is the attribute Key conforming to the
+ // "messaging.source.anonymous" semantic conventions. It represents a
+ // boolean that is true if the message source is anonymous (could be
+ // unnamed or have auto-generated name).
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessagingSourceAnonymousKey = attribute.Key("messaging.source.anonymous")
+)
+
+// MessagingSourceName returns an attribute KeyValue conforming to the
+// "messaging.source.name" semantic conventions. It represents the message
+// source name
+func MessagingSourceName(val string) attribute.KeyValue {
+ return MessagingSourceNameKey.String(val)
+}
+
+// MessagingSourceTemplate returns an attribute KeyValue conforming to the
+// "messaging.source.template" semantic conventions. It represents the low
+// cardinality representation of the messaging source name
+func MessagingSourceTemplate(val string) attribute.KeyValue {
+ return MessagingSourceTemplateKey.String(val)
+}
+
+// MessagingSourceTemporary returns an attribute KeyValue conforming to the
+// "messaging.source.temporary" semantic conventions. It represents a boolean
+// that is true if the message source is temporary and might not exist anymore
+// after messages are processed.
+func MessagingSourceTemporary(val bool) attribute.KeyValue {
+ return MessagingSourceTemporaryKey.Bool(val)
+}
+
+// MessagingSourceAnonymous returns an attribute KeyValue conforming to the
+// "messaging.source.anonymous" semantic conventions. It represents a boolean
+// that is true if the message source is anonymous (could be unnamed or have
+// auto-generated name).
+func MessagingSourceAnonymous(val bool) attribute.KeyValue {
+ return MessagingSourceAnonymousKey.Bool(val)
+}
+
+// Attributes for RabbitMQ
+const (
+ // MessagingRabbitmqDestinationRoutingKeyKey is the attribute Key
+ // conforming to the "messaging.rabbitmq.destination.routing_key" semantic
+ // conventions. It represents the rabbitMQ message routing key.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If not empty.)
+ // Stability: stable
+ // Examples: 'myKey'
+ MessagingRabbitmqDestinationRoutingKeyKey = attribute.Key("messaging.rabbitmq.destination.routing_key")
+)
+
+// MessagingRabbitmqDestinationRoutingKey returns an attribute KeyValue
+// conforming to the "messaging.rabbitmq.destination.routing_key" semantic
+// conventions. It represents the rabbitMQ message routing key.
+func MessagingRabbitmqDestinationRoutingKey(val string) attribute.KeyValue {
+ return MessagingRabbitmqDestinationRoutingKeyKey.String(val)
+}
+
+// Attributes for Apache Kafka
+const (
+ // MessagingKafkaMessageKeyKey is the attribute Key conforming to the
+ // "messaging.kafka.message.key" semantic conventions. It represents the
+ // message keys in Kafka are used for grouping alike messages to ensure
+ // they're processed on the same partition. They differ from
+ // `messaging.message.id` in that they're not unique. If the key is `null`,
+ // the attribute MUST NOT be set.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'myKey'
+ // Note: If the key type is not string, it's string representation has to
+ // be supplied for the attribute. If the key has no unambiguous, canonical
+ // string form, don't include its value.
+ MessagingKafkaMessageKeyKey = attribute.Key("messaging.kafka.message.key")
+
+ // MessagingKafkaConsumerGroupKey is the attribute Key conforming to the
+ // "messaging.kafka.consumer.group" semantic conventions. It represents the
+ // name of the Kafka Consumer Group that is handling the message. Only
+ // applies to consumers, not producers.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'my-group'
+ MessagingKafkaConsumerGroupKey = attribute.Key("messaging.kafka.consumer.group")
+
+ // MessagingKafkaClientIDKey is the attribute Key conforming to the
+ // "messaging.kafka.client_id" semantic conventions. It represents the
+ // client ID for the Consumer or Producer that is handling the message.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'client-5'
+ MessagingKafkaClientIDKey = attribute.Key("messaging.kafka.client_id")
+
+ // MessagingKafkaDestinationPartitionKey is the attribute Key conforming to
+ // the "messaging.kafka.destination.partition" semantic conventions. It
+ // represents the partition the message is sent to.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 2
+ MessagingKafkaDestinationPartitionKey = attribute.Key("messaging.kafka.destination.partition")
+
+ // MessagingKafkaSourcePartitionKey is the attribute Key conforming to the
+ // "messaging.kafka.source.partition" semantic conventions. It represents
+ // the partition the message is received from.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 2
+ MessagingKafkaSourcePartitionKey = attribute.Key("messaging.kafka.source.partition")
+
+ // MessagingKafkaMessageOffsetKey is the attribute Key conforming to the
+ // "messaging.kafka.message.offset" semantic conventions. It represents the
+ // offset of a record in the corresponding Kafka partition.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 42
+ MessagingKafkaMessageOffsetKey = attribute.Key("messaging.kafka.message.offset")
+
+ // MessagingKafkaMessageTombstoneKey is the attribute Key conforming to the
+ // "messaging.kafka.message.tombstone" semantic conventions. It represents
+ // a boolean that is true if the message is a tombstone.
+ //
+ // Type: boolean
+ // RequirementLevel: ConditionallyRequired (If value is `true`. When
+ // missing, the value is assumed to be `false`.)
+ // Stability: stable
+ MessagingKafkaMessageTombstoneKey = attribute.Key("messaging.kafka.message.tombstone")
+)
+
+// MessagingKafkaMessageKey returns an attribute KeyValue conforming to the
+// "messaging.kafka.message.key" semantic conventions. It represents the
+// message keys in Kafka are used for grouping alike messages to ensure they're
+// processed on the same partition. They differ from `messaging.message.id` in
+// that they're not unique. If the key is `null`, the attribute MUST NOT be
+// set.
+func MessagingKafkaMessageKey(val string) attribute.KeyValue {
+ return MessagingKafkaMessageKeyKey.String(val)
+}
+
+// MessagingKafkaConsumerGroup returns an attribute KeyValue conforming to
+// the "messaging.kafka.consumer.group" semantic conventions. It represents the
+// name of the Kafka Consumer Group that is handling the message. Only applies
+// to consumers, not producers.
+func MessagingKafkaConsumerGroup(val string) attribute.KeyValue {
+ return MessagingKafkaConsumerGroupKey.String(val)
+}
+
+// MessagingKafkaClientID returns an attribute KeyValue conforming to the
+// "messaging.kafka.client_id" semantic conventions. It represents the client
+// ID for the Consumer or Producer that is handling the message.
+func MessagingKafkaClientID(val string) attribute.KeyValue {
+ return MessagingKafkaClientIDKey.String(val)
+}
+
+// MessagingKafkaDestinationPartition returns an attribute KeyValue
+// conforming to the "messaging.kafka.destination.partition" semantic
+// conventions. It represents the partition the message is sent to.
+func MessagingKafkaDestinationPartition(val int) attribute.KeyValue {
+ return MessagingKafkaDestinationPartitionKey.Int(val)
+}
+
+// MessagingKafkaSourcePartition returns an attribute KeyValue conforming to
+// the "messaging.kafka.source.partition" semantic conventions. It represents
+// the partition the message is received from.
+func MessagingKafkaSourcePartition(val int) attribute.KeyValue {
+ return MessagingKafkaSourcePartitionKey.Int(val)
+}
+
+// MessagingKafkaMessageOffset returns an attribute KeyValue conforming to
+// the "messaging.kafka.message.offset" semantic conventions. It represents the
+// offset of a record in the corresponding Kafka partition.
+func MessagingKafkaMessageOffset(val int) attribute.KeyValue {
+ return MessagingKafkaMessageOffsetKey.Int(val)
+}
+
+// MessagingKafkaMessageTombstone returns an attribute KeyValue conforming
+// to the "messaging.kafka.message.tombstone" semantic conventions. It
+// represents a boolean that is true if the message is a tombstone.
+func MessagingKafkaMessageTombstone(val bool) attribute.KeyValue {
+ return MessagingKafkaMessageTombstoneKey.Bool(val)
+}
+
+// Attributes for Apache RocketMQ
+const (
+ // MessagingRocketmqNamespaceKey is the attribute Key conforming to the
+ // "messaging.rocketmq.namespace" semantic conventions. It represents the
+ // namespace of RocketMQ resources, resources in different namespaces are
+ // individual.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'myNamespace'
+ MessagingRocketmqNamespaceKey = attribute.Key("messaging.rocketmq.namespace")
+
+ // MessagingRocketmqClientGroupKey is the attribute Key conforming to the
+ // "messaging.rocketmq.client_group" semantic conventions. It represents
+ // the name of the RocketMQ producer/consumer group that is handling the
+ // message. The client type is identified by the SpanKind.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'myConsumerGroup'
+ MessagingRocketmqClientGroupKey = attribute.Key("messaging.rocketmq.client_group")
+
+ // MessagingRocketmqClientIDKey is the attribute Key conforming to the
+ // "messaging.rocketmq.client_id" semantic conventions. It represents the
+ // unique identifier for each client.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'myhost@8742@s8083jm'
+ MessagingRocketmqClientIDKey = attribute.Key("messaging.rocketmq.client_id")
+
+ // MessagingRocketmqMessageDeliveryTimestampKey is the attribute Key
+ // conforming to the "messaging.rocketmq.message.delivery_timestamp"
+ // semantic conventions. It represents the timestamp in milliseconds that
+ // the delay message is expected to be delivered to consumer.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If the message type is delay
+ // and delay time level is not specified.)
+ // Stability: stable
+ // Examples: 1665987217045
+ MessagingRocketmqMessageDeliveryTimestampKey = attribute.Key("messaging.rocketmq.message.delivery_timestamp")
+
+ // MessagingRocketmqMessageDelayTimeLevelKey is the attribute Key
+ // conforming to the "messaging.rocketmq.message.delay_time_level" semantic
+ // conventions. It represents the delay time level for delay message, which
+ // determines the message delay time.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If the message type is delay
+ // and delivery timestamp is not specified.)
+ // Stability: stable
+ // Examples: 3
+ MessagingRocketmqMessageDelayTimeLevelKey = attribute.Key("messaging.rocketmq.message.delay_time_level")
+
+ // MessagingRocketmqMessageGroupKey is the attribute Key conforming to the
+ // "messaging.rocketmq.message.group" semantic conventions. It represents
+ // the it is essential for FIFO message. Messages that belong to the same
+ // message group are always processed one by one within the same consumer
+ // group.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If the message type is FIFO.)
+ // Stability: stable
+ // Examples: 'myMessageGroup'
+ MessagingRocketmqMessageGroupKey = attribute.Key("messaging.rocketmq.message.group")
+
+ // MessagingRocketmqMessageTypeKey is the attribute Key conforming to the
+ // "messaging.rocketmq.message.type" semantic conventions. It represents
+ // the type of message.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessagingRocketmqMessageTypeKey = attribute.Key("messaging.rocketmq.message.type")
+
+ // MessagingRocketmqMessageTagKey is the attribute Key conforming to the
+ // "messaging.rocketmq.message.tag" semantic conventions. It represents the
+ // secondary classifier of message besides topic.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'tagA'
+ MessagingRocketmqMessageTagKey = attribute.Key("messaging.rocketmq.message.tag")
+
+ // MessagingRocketmqMessageKeysKey is the attribute Key conforming to the
+ // "messaging.rocketmq.message.keys" semantic conventions. It represents
+ // the key(s) of message, another way to mark message besides message id.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'keyA', 'keyB'
+ MessagingRocketmqMessageKeysKey = attribute.Key("messaging.rocketmq.message.keys")
+
+ // MessagingRocketmqConsumptionModelKey is the attribute Key conforming to
+ // the "messaging.rocketmq.consumption_model" semantic conventions. It
+ // represents the model of message consumption. This only applies to
+ // consumer spans.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessagingRocketmqConsumptionModelKey = attribute.Key("messaging.rocketmq.consumption_model")
+)
+
+var (
+ // Normal message
+ MessagingRocketmqMessageTypeNormal = MessagingRocketmqMessageTypeKey.String("normal")
+ // FIFO message
+ MessagingRocketmqMessageTypeFifo = MessagingRocketmqMessageTypeKey.String("fifo")
+ // Delay message
+ MessagingRocketmqMessageTypeDelay = MessagingRocketmqMessageTypeKey.String("delay")
+ // Transaction message
+ MessagingRocketmqMessageTypeTransaction = MessagingRocketmqMessageTypeKey.String("transaction")
+)
+
+var (
+ // Clustering consumption model
+ MessagingRocketmqConsumptionModelClustering = MessagingRocketmqConsumptionModelKey.String("clustering")
+ // Broadcasting consumption model
+ MessagingRocketmqConsumptionModelBroadcasting = MessagingRocketmqConsumptionModelKey.String("broadcasting")
+)
+
+// MessagingRocketmqNamespace returns an attribute KeyValue conforming to
+// the "messaging.rocketmq.namespace" semantic conventions. It represents the
+// namespace of RocketMQ resources, resources in different namespaces are
+// individual.
+func MessagingRocketmqNamespace(val string) attribute.KeyValue {
+ return MessagingRocketmqNamespaceKey.String(val)
+}
+
+// MessagingRocketmqClientGroup returns an attribute KeyValue conforming to
+// the "messaging.rocketmq.client_group" semantic conventions. It represents
+// the name of the RocketMQ producer/consumer group that is handling the
+// message. The client type is identified by the SpanKind.
+func MessagingRocketmqClientGroup(val string) attribute.KeyValue {
+ return MessagingRocketmqClientGroupKey.String(val)
+}
+
+// MessagingRocketmqClientID returns an attribute KeyValue conforming to the
+// "messaging.rocketmq.client_id" semantic conventions. It represents the
+// unique identifier for each client.
+func MessagingRocketmqClientID(val string) attribute.KeyValue {
+ return MessagingRocketmqClientIDKey.String(val)
+}
+
+// MessagingRocketmqMessageDeliveryTimestamp returns an attribute KeyValue
+// conforming to the "messaging.rocketmq.message.delivery_timestamp" semantic
+// conventions. It represents the timestamp in milliseconds that the delay
+// message is expected to be delivered to consumer.
+func MessagingRocketmqMessageDeliveryTimestamp(val int) attribute.KeyValue {
+ return MessagingRocketmqMessageDeliveryTimestampKey.Int(val)
+}
+
+// MessagingRocketmqMessageDelayTimeLevel returns an attribute KeyValue
+// conforming to the "messaging.rocketmq.message.delay_time_level" semantic
+// conventions. It represents the delay time level for delay message, which
+// determines the message delay time.
+func MessagingRocketmqMessageDelayTimeLevel(val int) attribute.KeyValue {
+ return MessagingRocketmqMessageDelayTimeLevelKey.Int(val)
+}
+
+// MessagingRocketmqMessageGroup returns an attribute KeyValue conforming to
+// the "messaging.rocketmq.message.group" semantic conventions. It represents
+// the it is essential for FIFO message. Messages that belong to the same
+// message group are always processed one by one within the same consumer
+// group.
+func MessagingRocketmqMessageGroup(val string) attribute.KeyValue {
+ return MessagingRocketmqMessageGroupKey.String(val)
+}
+
+// MessagingRocketmqMessageTag returns an attribute KeyValue conforming to
+// the "messaging.rocketmq.message.tag" semantic conventions. It represents the
+// secondary classifier of message besides topic.
+func MessagingRocketmqMessageTag(val string) attribute.KeyValue {
+ return MessagingRocketmqMessageTagKey.String(val)
+}
+
+// MessagingRocketmqMessageKeys returns an attribute KeyValue conforming to
+// the "messaging.rocketmq.message.keys" semantic conventions. It represents
+// the key(s) of message, another way to mark message besides message id.
+func MessagingRocketmqMessageKeys(val ...string) attribute.KeyValue {
+ return MessagingRocketmqMessageKeysKey.StringSlice(val)
+}
+
+// Describes user-agent attributes.
+const (
+ // UserAgentOriginalKey is the attribute Key conforming to the
+ // "user_agent.original" semantic conventions. It represents the value of
+ // the [HTTP
+ // User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent)
+ // header sent by the client.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'CERN-LineMode/2.15 libwww/2.17b3'
+ UserAgentOriginalKey = attribute.Key("user_agent.original")
+)
+
+// UserAgentOriginal returns an attribute KeyValue conforming to the
+// "user_agent.original" semantic conventions. It represents the value of the
+// [HTTP
+// User-Agent](https://www.rfc-editor.org/rfc/rfc9110.html#field.user-agent)
+// header sent by the client.
+func UserAgentOriginal(val string) attribute.KeyValue {
+ return UserAgentOriginalKey.String(val)
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/doc.go
new file mode 100644
index 0000000000..0d1f55a8fe
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/doc.go
@@ -0,0 +1,9 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Package semconv implements OpenTelemetry semantic conventions.
+//
+// OpenTelemetry semantic conventions are agreed standardized naming
+// patterns for OpenTelemetry things. This package represents the conventions
+// as of the v1.20.0 version of the OpenTelemetry specification.
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/event.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/event.go
new file mode 100644
index 0000000000..6377639321
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/event.go
@@ -0,0 +1,188 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated from semantic convention specification. DO NOT EDIT.
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
+
+import "go.opentelemetry.io/otel/attribute"
+
+// This semantic convention defines the attributes used to represent a feature
+// flag evaluation as an event.
+const (
+ // FeatureFlagKeyKey is the attribute Key conforming to the
+ // "feature_flag.key" semantic conventions. It represents the unique
+ // identifier of the feature flag.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'logo-color'
+ FeatureFlagKeyKey = attribute.Key("feature_flag.key")
+
+ // FeatureFlagProviderNameKey is the attribute Key conforming to the
+ // "feature_flag.provider_name" semantic conventions. It represents the
+ // name of the service provider that performs the flag evaluation.
+ //
+ // Type: string
+ // RequirementLevel: Recommended
+ // Stability: stable
+ // Examples: 'Flag Manager'
+ FeatureFlagProviderNameKey = attribute.Key("feature_flag.provider_name")
+
+ // FeatureFlagVariantKey is the attribute Key conforming to the
+ // "feature_flag.variant" semantic conventions. It represents the sHOULD be
+ // a semantic identifier for a value. If one is unavailable, a stringified
+ // version of the value can be used.
+ //
+ // Type: string
+ // RequirementLevel: Recommended
+ // Stability: stable
+ // Examples: 'red', 'true', 'on'
+ // Note: A semantic identifier, commonly referred to as a variant, provides
+ // a means
+ // for referring to a value without including the value itself. This can
+ // provide additional context for understanding the meaning behind a value.
+ // For example, the variant `red` maybe be used for the value `#c05543`.
+ //
+ // A stringified version of the value can be used in situations where a
+ // semantic identifier is unavailable. String representation of the value
+ // should be determined by the implementer.
+ FeatureFlagVariantKey = attribute.Key("feature_flag.variant")
+)
+
+// FeatureFlagKey returns an attribute KeyValue conforming to the
+// "feature_flag.key" semantic conventions. It represents the unique identifier
+// of the feature flag.
+func FeatureFlagKey(val string) attribute.KeyValue {
+ return FeatureFlagKeyKey.String(val)
+}
+
+// FeatureFlagProviderName returns an attribute KeyValue conforming to the
+// "feature_flag.provider_name" semantic conventions. It represents the name of
+// the service provider that performs the flag evaluation.
+func FeatureFlagProviderName(val string) attribute.KeyValue {
+ return FeatureFlagProviderNameKey.String(val)
+}
+
+// FeatureFlagVariant returns an attribute KeyValue conforming to the
+// "feature_flag.variant" semantic conventions. It represents the sHOULD be a
+// semantic identifier for a value. If one is unavailable, a stringified
+// version of the value can be used.
+func FeatureFlagVariant(val string) attribute.KeyValue {
+ return FeatureFlagVariantKey.String(val)
+}
+
+// RPC received/sent message.
+const (
+ // MessageTypeKey is the attribute Key conforming to the "message.type"
+ // semantic conventions. It represents the whether this is a received or
+ // sent message.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessageTypeKey = attribute.Key("message.type")
+
+ // MessageIDKey is the attribute Key conforming to the "message.id"
+ // semantic conventions. It represents the mUST be calculated as two
+ // different counters starting from `1` one for sent messages and one for
+ // received message.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Note: This way we guarantee that the values will be consistent between
+ // different implementations.
+ MessageIDKey = attribute.Key("message.id")
+
+ // MessageCompressedSizeKey is the attribute Key conforming to the
+ // "message.compressed_size" semantic conventions. It represents the
+ // compressed size of the message in bytes.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessageCompressedSizeKey = attribute.Key("message.compressed_size")
+
+ // MessageUncompressedSizeKey is the attribute Key conforming to the
+ // "message.uncompressed_size" semantic conventions. It represents the
+ // uncompressed size of the message in bytes.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ MessageUncompressedSizeKey = attribute.Key("message.uncompressed_size")
+)
+
+var (
+ // sent
+ MessageTypeSent = MessageTypeKey.String("SENT")
+ // received
+ MessageTypeReceived = MessageTypeKey.String("RECEIVED")
+)
+
+// MessageID returns an attribute KeyValue conforming to the "message.id"
+// semantic conventions. It represents the mUST be calculated as two different
+// counters starting from `1` one for sent messages and one for received
+// message.
+func MessageID(val int) attribute.KeyValue {
+ return MessageIDKey.Int(val)
+}
+
+// MessageCompressedSize returns an attribute KeyValue conforming to the
+// "message.compressed_size" semantic conventions. It represents the compressed
+// size of the message in bytes.
+func MessageCompressedSize(val int) attribute.KeyValue {
+ return MessageCompressedSizeKey.Int(val)
+}
+
+// MessageUncompressedSize returns an attribute KeyValue conforming to the
+// "message.uncompressed_size" semantic conventions. It represents the
+// uncompressed size of the message in bytes.
+func MessageUncompressedSize(val int) attribute.KeyValue {
+ return MessageUncompressedSizeKey.Int(val)
+}
+
+// The attributes used to report a single exception associated with a span.
+const (
+ // ExceptionEscapedKey is the attribute Key conforming to the
+ // "exception.escaped" semantic conventions. It represents the sHOULD be
+ // set to true if the exception event is recorded at a point where it is
+ // known that the exception is escaping the scope of the span.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Note: An exception is considered to have escaped (or left) the scope of
+ // a span,
+ // if that span is ended while the exception is still logically "in
+ // flight".
+ // This may be actually "in flight" in some languages (e.g. if the
+ // exception
+ // is passed to a Context manager's `__exit__` method in Python) but will
+ // usually be caught at the point of recording the exception in most
+ // languages.
+ //
+ // It is usually not possible to determine at the point where an exception
+ // is thrown
+ // whether it will escape the scope of a span.
+ // However, it is trivial to know that an exception
+ // will escape, if one checks for an active exception just before ending
+ // the span,
+ // as done in the [example above](#recording-an-exception).
+ //
+ // It follows that an exception may still escape the scope of the span
+ // even if the `exception.escaped` attribute was not set or set to false,
+ // since the event might have been recorded at a time where it was not
+ // clear whether the exception will escape.
+ ExceptionEscapedKey = attribute.Key("exception.escaped")
+)
+
+// ExceptionEscaped returns an attribute KeyValue conforming to the
+// "exception.escaped" semantic conventions. It represents the sHOULD be set to
+// true if the exception event is recorded at a point where it is known that
+// the exception is escaping the scope of the span.
+func ExceptionEscaped(val bool) attribute.KeyValue {
+ return ExceptionEscapedKey.Bool(val)
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/exception.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/exception.go
new file mode 100644
index 0000000000..f40c97825a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/exception.go
@@ -0,0 +1,9 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
+
+const (
+ // ExceptionEventName is the name of the Span event representing an exception.
+ ExceptionEventName = "exception"
+)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/http.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/http.go
new file mode 100644
index 0000000000..9c1840631b
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/http.go
@@ -0,0 +1,10 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
+
+// HTTP scheme attributes.
+var (
+ HTTPSchemeHTTP = HTTPSchemeKey.String("http")
+ HTTPSchemeHTTPS = HTTPSchemeKey.String("https")
+)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/resource.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/resource.go
similarity index 71%
rename from cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/resource.go
rename to cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/resource.go
index 69eda1959f..3d44dae275 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/resource.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/resource.go
@@ -1,81 +1,140 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
import "go.opentelemetry.io/otel/attribute"
-// A cloud environment (e.g. GCP, Azure, AWS).
+// The web browser in which the application represented by the resource is
+// running. The `browser.*` attributes MUST be used only for resources that
+// represent applications running in a web browser (regardless of whether
+// running on a mobile or desktop device).
const (
+ // BrowserBrandsKey is the attribute Key conforming to the "browser.brands"
+ // semantic conventions. It represents the array of brand name and version
+ // separated by a space
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: ' Not A;Brand 99', 'Chromium 99', 'Chrome 99'
+ // Note: This value is intended to be taken from the [UA client hints
+ // API](https://wicg.github.io/ua-client-hints/#interface)
+ // (`navigator.userAgentData.brands`).
+ BrowserBrandsKey = attribute.Key("browser.brands")
+
+ // BrowserPlatformKey is the attribute Key conforming to the
+ // "browser.platform" semantic conventions. It represents the platform on
+ // which the browser is running
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Windows', 'macOS', 'Android'
+ // Note: This value is intended to be taken from the [UA client hints
+ // API](https://wicg.github.io/ua-client-hints/#interface)
+ // (`navigator.userAgentData.platform`). If unavailable, the legacy
+ // `navigator.platform` API SHOULD NOT be used instead and this attribute
+ // SHOULD be left unset in order for the values to be consistent.
+ // The list of possible values is defined in the [W3C User-Agent Client
+ // Hints
+ // specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform).
+ // Note that some (but not all) of these values can overlap with values in
+ // the [`os.type` and `os.name` attributes](./os.md). However, for
+ // consistency, the values in the `browser.platform` attribute should
+ // capture the exact value that the user agent provides.
+ BrowserPlatformKey = attribute.Key("browser.platform")
+
+ // BrowserMobileKey is the attribute Key conforming to the "browser.mobile"
+ // semantic conventions. It represents a boolean that is true if the
+ // browser is running on a mobile device
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Note: This value is intended to be taken from the [UA client hints
+ // API](https://wicg.github.io/ua-client-hints/#interface)
+ // (`navigator.userAgentData.mobile`). If unavailable, this attribute
+ // SHOULD be left unset.
+ BrowserMobileKey = attribute.Key("browser.mobile")
+
+ // BrowserLanguageKey is the attribute Key conforming to the
+ // "browser.language" semantic conventions. It represents the preferred
+ // language of the user using the browser
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'en', 'en-US', 'fr', 'fr-FR'
+ // Note: This value is intended to be taken from the Navigator API
+ // `navigator.language`.
+ BrowserLanguageKey = attribute.Key("browser.language")
+)
+
+// BrowserBrands returns an attribute KeyValue conforming to the
+// "browser.brands" semantic conventions. It represents the array of brand name
+// and version separated by a space
+func BrowserBrands(val ...string) attribute.KeyValue {
+ return BrowserBrandsKey.StringSlice(val)
+}
+
+// BrowserPlatform returns an attribute KeyValue conforming to the
+// "browser.platform" semantic conventions. It represents the platform on which
+// the browser is running
+func BrowserPlatform(val string) attribute.KeyValue {
+ return BrowserPlatformKey.String(val)
+}
+
+// BrowserMobile returns an attribute KeyValue conforming to the
+// "browser.mobile" semantic conventions. It represents a boolean that is true
+// if the browser is running on a mobile device
+func BrowserMobile(val bool) attribute.KeyValue {
+ return BrowserMobileKey.Bool(val)
+}
+
+// BrowserLanguage returns an attribute KeyValue conforming to the
+// "browser.language" semantic conventions. It represents the preferred
+// language of the user using the browser
+func BrowserLanguage(val string) attribute.KeyValue {
+ return BrowserLanguageKey.String(val)
+}
+
+// A cloud environment (e.g. GCP, Azure, AWS)
+const (
+ // CloudProviderKey is the attribute Key conforming to the "cloud.provider"
+ // semantic conventions. It represents the name of the cloud provider.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ CloudProviderKey = attribute.Key("cloud.provider")
+
// CloudAccountIDKey is the attribute Key conforming to the
// "cloud.account.id" semantic conventions. It represents the cloud account
// ID the resource is assigned to.
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '111111111111', 'opentelemetry'
CloudAccountIDKey = attribute.Key("cloud.account.id")
- // CloudAvailabilityZoneKey is the attribute Key conforming to the
- // "cloud.availability_zone" semantic conventions. It represents the cloud
- // regions often have multiple, isolated locations known as zones to
- // increase availability. Availability zone represents the zone where the
- // resource is running.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'us-east-1c'
- // Note: Availability zones are called "zones" on Alibaba Cloud and Google
- // Cloud.
- CloudAvailabilityZoneKey = attribute.Key("cloud.availability_zone")
-
- // CloudPlatformKey is the attribute Key conforming to the "cloud.platform"
- // semantic conventions. It represents the cloud platform in use.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- // Note: The prefix of the service SHOULD match the one specified in
- // `cloud.provider`.
- CloudPlatformKey = attribute.Key("cloud.platform")
-
- // CloudProviderKey is the attribute Key conforming to the "cloud.provider"
- // semantic conventions. It represents the name of the cloud provider.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- CloudProviderKey = attribute.Key("cloud.provider")
-
// CloudRegionKey is the attribute Key conforming to the "cloud.region"
// semantic conventions. It represents the geographical region the resource
// is running.
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'us-central1', 'us-east-1'
// Note: Refer to your provider's docs to see the available regions, for
// example [Alibaba Cloud
// regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS
// regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/),
// [Azure
- // regions](https://azure.microsoft.com/global-infrastructure/geographies/),
+ // regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/),
// [Google Cloud regions](https://cloud.google.com/about/locations), or
// [Tencent Cloud
// regions](https://www.tencentcloud.com/document/product/213/6091).
@@ -87,14 +146,14 @@ const (
// (e.g. an
// [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
// on AWS, a [fully qualified resource
- // ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id)
+ // ID](https://learn.microsoft.com/en-us/rest/api/resources/resources/get-by-id)
// on Azure, a [full resource
// name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
// on GCP)
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function',
// '//run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID',
// '/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/'
@@ -119,7 +178,7 @@ const (
// * **GCP:** The [URI of the
// resource](https://cloud.google.com/iam/docs/full-resource-names)
// * **Azure:** The [Fully Qualified Resource
- // ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id)
+ // ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id)
// of the invoked function,
// *not* the function app, having the form
// `/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/`.
@@ -127,6 +186,47 @@ const (
// app can host multiple functions that would usually share
// a TracerProvider.
CloudResourceIDKey = attribute.Key("cloud.resource_id")
+
+ // CloudAvailabilityZoneKey is the attribute Key conforming to the
+ // "cloud.availability_zone" semantic conventions. It represents the cloud
+ // regions often have multiple, isolated locations known as zones to
+ // increase availability. Availability zone represents the zone where the
+ // resource is running.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'us-east-1c'
+ // Note: Availability zones are called "zones" on Alibaba Cloud and Google
+ // Cloud.
+ CloudAvailabilityZoneKey = attribute.Key("cloud.availability_zone")
+
+ // CloudPlatformKey is the attribute Key conforming to the "cloud.platform"
+ // semantic conventions. It represents the cloud platform in use.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Note: The prefix of the service SHOULD match the one specified in
+ // `cloud.provider`.
+ CloudPlatformKey = attribute.Key("cloud.platform")
+)
+
+var (
+ // Alibaba Cloud
+ CloudProviderAlibabaCloud = CloudProviderKey.String("alibaba_cloud")
+ // Amazon Web Services
+ CloudProviderAWS = CloudProviderKey.String("aws")
+ // Microsoft Azure
+ CloudProviderAzure = CloudProviderKey.String("azure")
+ // Google Cloud Platform
+ CloudProviderGCP = CloudProviderKey.String("gcp")
+ // Heroku Platform as a Service
+ CloudProviderHeroku = CloudProviderKey.String("heroku")
+ // IBM Cloud
+ CloudProviderIbmCloud = CloudProviderKey.String("ibm_cloud")
+ // Tencent Cloud
+ CloudProviderTencentCloud = CloudProviderKey.String("tencent_cloud")
)
var (
@@ -162,8 +262,6 @@ var (
CloudPlatformAzureAppService = CloudPlatformKey.String("azure_app_service")
// Azure Red Hat OpenShift
CloudPlatformAzureOpenshift = CloudPlatformKey.String("azure_openshift")
- // Google Bare Metal Solution (BMS)
- CloudPlatformGCPBareMetalSolution = CloudPlatformKey.String("gcp_bare_metal_solution")
// Google Cloud Compute Engine (GCE)
CloudPlatformGCPComputeEngine = CloudPlatformKey.String("gcp_compute_engine")
// Google Cloud Run
@@ -186,23 +284,6 @@ var (
CloudPlatformTencentCloudScf = CloudPlatformKey.String("tencent_cloud_scf")
)
-var (
- // Alibaba Cloud
- CloudProviderAlibabaCloud = CloudProviderKey.String("alibaba_cloud")
- // Amazon Web Services
- CloudProviderAWS = CloudProviderKey.String("aws")
- // Microsoft Azure
- CloudProviderAzure = CloudProviderKey.String("azure")
- // Google Cloud Platform
- CloudProviderGCP = CloudProviderKey.String("gcp")
- // Heroku Platform as a Service
- CloudProviderHeroku = CloudProviderKey.String("heroku")
- // IBM Cloud
- CloudProviderIbmCloud = CloudProviderKey.String("ibm_cloud")
- // Tencent Cloud
- CloudProviderTencentCloud = CloudProviderKey.String("tencent_cloud")
-)
-
// CloudAccountID returns an attribute KeyValue conforming to the
// "cloud.account.id" semantic conventions. It represents the cloud account ID
// the resource is assigned to.
@@ -210,15 +291,6 @@ func CloudAccountID(val string) attribute.KeyValue {
return CloudAccountIDKey.String(val)
}
-// CloudAvailabilityZone returns an attribute KeyValue conforming to the
-// "cloud.availability_zone" semantic conventions. It represents the cloud
-// regions often have multiple, isolated locations known as zones to increase
-// availability. Availability zone represents the zone where the resource is
-// running.
-func CloudAvailabilityZone(val string) attribute.KeyValue {
- return CloudAvailabilityZoneKey.String(val)
-}
-
// CloudRegion returns an attribute KeyValue conforming to the
// "cloud.region" semantic conventions. It represents the geographical region
// the resource is running.
@@ -231,1469 +303,25 @@ func CloudRegion(val string) attribute.KeyValue {
// provider-specific native identifier of the monitored cloud resource (e.g. an
// [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
// on AWS, a [fully qualified resource
-// ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on
-// Azure, a [full resource
+// ID](https://learn.microsoft.com/en-us/rest/api/resources/resources/get-by-id)
+// on Azure, a [full resource
// name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
// on GCP)
func CloudResourceID(val string) attribute.KeyValue {
return CloudResourceIDKey.String(val)
}
-// A container instance.
-const (
- // ContainerCommandKey is the attribute Key conforming to the
- // "container.command" semantic conventions. It represents the command used
- // to run the container (i.e. the command name).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'otelcontribcol'
- // Note: If using embedded credentials or sensitive data, it is recommended
- // to remove them to prevent potential leakage.
- ContainerCommandKey = attribute.Key("container.command")
-
- // ContainerCommandArgsKey is the attribute Key conforming to the
- // "container.command_args" semantic conventions. It represents the all the
- // command arguments (including the command/executable itself) run by the
- // container. [2]
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'otelcontribcol, --config, config.yaml'
- ContainerCommandArgsKey = attribute.Key("container.command_args")
-
- // ContainerCommandLineKey is the attribute Key conforming to the
- // "container.command_line" semantic conventions. It represents the full
- // command run by the container as a single string representing the full
- // command. [2]
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'otelcontribcol --config config.yaml'
- ContainerCommandLineKey = attribute.Key("container.command_line")
-
- // ContainerIDKey is the attribute Key conforming to the "container.id"
- // semantic conventions. It represents the container ID. Usually a UUID, as
- // for example used to [identify Docker
- // containers](https://docs.docker.com/engine/reference/run/#container-identification).
- // The UUID might be abbreviated.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'a3bf90e006b2'
- ContainerIDKey = attribute.Key("container.id")
-
- // ContainerImageIDKey is the attribute Key conforming to the
- // "container.image.id" semantic conventions. It represents the runtime
- // specific image identifier. Usually a hash algorithm followed by a UUID.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples:
- // 'sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f'
- // Note: Docker defines a sha256 of the image id; `container.image.id`
- // corresponds to the `Image` field from the Docker container inspect
- // [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect)
- // endpoint.
- // K8S defines a link to the container registry repository with digest
- // `"imageID": "registry.azurecr.io
- // /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`.
- // The ID is assinged by the container runtime and can vary in different
- // environments. Consider using `oci.manifest.digest` if it is important to
- // identify the same image in different environments/runtimes.
- ContainerImageIDKey = attribute.Key("container.image.id")
-
- // ContainerImageNameKey is the attribute Key conforming to the
- // "container.image.name" semantic conventions. It represents the name of
- // the image the container was built on.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'gcr.io/opentelemetry/operator'
- ContainerImageNameKey = attribute.Key("container.image.name")
-
- // ContainerImageRepoDigestsKey is the attribute Key conforming to the
- // "container.image.repo_digests" semantic conventions. It represents the
- // repo digests of the container image as provided by the container
- // runtime.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples:
- // 'example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb',
- // 'internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578'
- // Note:
- // [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect)
- // and
- // [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238)
- // report those under the `RepoDigests` field.
- ContainerImageRepoDigestsKey = attribute.Key("container.image.repo_digests")
-
- // ContainerImageTagsKey is the attribute Key conforming to the
- // "container.image.tags" semantic conventions. It represents the container
- // image tags. An example can be found in [Docker Image
- // Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect).
- // Should be only the `` section of the full name for example from
- // `registry.example.com/my-org/my-image:`.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'v1.27.1', '3.5.7-0'
- ContainerImageTagsKey = attribute.Key("container.image.tags")
-
- // ContainerNameKey is the attribute Key conforming to the "container.name"
- // semantic conventions. It represents the container name used by container
- // runtime.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry-autoconf'
- ContainerNameKey = attribute.Key("container.name")
-
- // ContainerRuntimeKey is the attribute Key conforming to the
- // "container.runtime" semantic conventions. It represents the container
- // runtime managing this container.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'docker', 'containerd', 'rkt'
- ContainerRuntimeKey = attribute.Key("container.runtime")
-)
-
-// ContainerCommand returns an attribute KeyValue conforming to the
-// "container.command" semantic conventions. It represents the command used to
-// run the container (i.e. the command name).
-func ContainerCommand(val string) attribute.KeyValue {
- return ContainerCommandKey.String(val)
-}
-
-// ContainerCommandArgs returns an attribute KeyValue conforming to the
-// "container.command_args" semantic conventions. It represents the all the
-// command arguments (including the command/executable itself) run by the
-// container. [2]
-func ContainerCommandArgs(val ...string) attribute.KeyValue {
- return ContainerCommandArgsKey.StringSlice(val)
-}
-
-// ContainerCommandLine returns an attribute KeyValue conforming to the
-// "container.command_line" semantic conventions. It represents the full
-// command run by the container as a single string representing the full
-// command. [2]
-func ContainerCommandLine(val string) attribute.KeyValue {
- return ContainerCommandLineKey.String(val)
-}
-
-// ContainerID returns an attribute KeyValue conforming to the
-// "container.id" semantic conventions. It represents the container ID. Usually
-// a UUID, as for example used to [identify Docker
-// containers](https://docs.docker.com/engine/reference/run/#container-identification).
-// The UUID might be abbreviated.
-func ContainerID(val string) attribute.KeyValue {
- return ContainerIDKey.String(val)
-}
-
-// ContainerImageID returns an attribute KeyValue conforming to the
-// "container.image.id" semantic conventions. It represents the runtime
-// specific image identifier. Usually a hash algorithm followed by a UUID.
-func ContainerImageID(val string) attribute.KeyValue {
- return ContainerImageIDKey.String(val)
-}
-
-// ContainerImageName returns an attribute KeyValue conforming to the
-// "container.image.name" semantic conventions. It represents the name of the
-// image the container was built on.
-func ContainerImageName(val string) attribute.KeyValue {
- return ContainerImageNameKey.String(val)
-}
-
-// ContainerImageRepoDigests returns an attribute KeyValue conforming to the
-// "container.image.repo_digests" semantic conventions. It represents the repo
-// digests of the container image as provided by the container runtime.
-func ContainerImageRepoDigests(val ...string) attribute.KeyValue {
- return ContainerImageRepoDigestsKey.StringSlice(val)
-}
-
-// ContainerImageTags returns an attribute KeyValue conforming to the
-// "container.image.tags" semantic conventions. It represents the container
-// image tags. An example can be found in [Docker Image
-// Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect).
-// Should be only the `` section of the full name for example from
-// `registry.example.com/my-org/my-image:`.
-func ContainerImageTags(val ...string) attribute.KeyValue {
- return ContainerImageTagsKey.StringSlice(val)
-}
-
-// ContainerName returns an attribute KeyValue conforming to the
-// "container.name" semantic conventions. It represents the container name used
-// by container runtime.
-func ContainerName(val string) attribute.KeyValue {
- return ContainerNameKey.String(val)
-}
-
-// ContainerRuntime returns an attribute KeyValue conforming to the
-// "container.runtime" semantic conventions. It represents the container
-// runtime managing this container.
-func ContainerRuntime(val string) attribute.KeyValue {
- return ContainerRuntimeKey.String(val)
-}
-
-// Describes device attributes.
-const (
- // DeviceIDKey is the attribute Key conforming to the "device.id" semantic
- // conventions. It represents a unique identifier representing the device
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2ab2916d-a51f-4ac8-80ee-45ac31a28092'
- // Note: The device identifier MUST only be defined using the values
- // outlined below. This value is not an advertising identifier and MUST NOT
- // be used as such. On iOS (Swift or Objective-C), this value MUST be equal
- // to the [vendor
- // identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor).
- // On Android (Java or Kotlin), this value MUST be equal to the Firebase
- // Installation ID or a globally unique UUID which is persisted across
- // sessions in your application. More information can be found
- // [here](https://developer.android.com/training/articles/user-data-ids) on
- // best practices and exact implementation details. Caution should be taken
- // when storing personal data or anything which can identify a user. GDPR
- // and data protection laws may apply, ensure you do your own due
- // diligence.
- DeviceIDKey = attribute.Key("device.id")
-
- // DeviceManufacturerKey is the attribute Key conforming to the
- // "device.manufacturer" semantic conventions. It represents the name of
- // the device manufacturer
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Apple', 'Samsung'
- // Note: The Android OS provides this field via
- // [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER).
- // iOS apps SHOULD hardcode the value `Apple`.
- DeviceManufacturerKey = attribute.Key("device.manufacturer")
-
- // DeviceModelIdentifierKey is the attribute Key conforming to the
- // "device.model.identifier" semantic conventions. It represents the model
- // identifier for the device
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'iPhone3,4', 'SM-G920F'
- // Note: It's recommended this value represents a machine-readable version
- // of the model identifier rather than the market or consumer-friendly name
- // of the device.
- DeviceModelIdentifierKey = attribute.Key("device.model.identifier")
-
- // DeviceModelNameKey is the attribute Key conforming to the
- // "device.model.name" semantic conventions. It represents the marketing
- // name for the device model
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
- // Note: It's recommended this value represents a human-readable version of
- // the device model rather than a machine-readable alternative.
- DeviceModelNameKey = attribute.Key("device.model.name")
-)
-
-// DeviceID returns an attribute KeyValue conforming to the "device.id"
-// semantic conventions. It represents a unique identifier representing the
-// device
-func DeviceID(val string) attribute.KeyValue {
- return DeviceIDKey.String(val)
-}
-
-// DeviceManufacturer returns an attribute KeyValue conforming to the
-// "device.manufacturer" semantic conventions. It represents the name of the
-// device manufacturer
-func DeviceManufacturer(val string) attribute.KeyValue {
- return DeviceManufacturerKey.String(val)
-}
-
-// DeviceModelIdentifier returns an attribute KeyValue conforming to the
-// "device.model.identifier" semantic conventions. It represents the model
-// identifier for the device
-func DeviceModelIdentifier(val string) attribute.KeyValue {
- return DeviceModelIdentifierKey.String(val)
-}
-
-// DeviceModelName returns an attribute KeyValue conforming to the
-// "device.model.name" semantic conventions. It represents the marketing name
-// for the device model
-func DeviceModelName(val string) attribute.KeyValue {
- return DeviceModelNameKey.String(val)
-}
-
-// A host is defined as a computing instance. For example, physical servers,
-// virtual machines, switches or disk array.
-const (
- // HostArchKey is the attribute Key conforming to the "host.arch" semantic
- // conventions. It represents the CPU architecture the host system is
- // running on.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- HostArchKey = attribute.Key("host.arch")
-
- // HostCPUCacheL2SizeKey is the attribute Key conforming to the
- // "host.cpu.cache.l2.size" semantic conventions. It represents the amount
- // of level 2 memory cache available to the processor (in Bytes).
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 12288000
- HostCPUCacheL2SizeKey = attribute.Key("host.cpu.cache.l2.size")
-
- // HostCPUFamilyKey is the attribute Key conforming to the
- // "host.cpu.family" semantic conventions. It represents the family or
- // generation of the CPU.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '6', 'PA-RISC 1.1e'
- HostCPUFamilyKey = attribute.Key("host.cpu.family")
-
- // HostCPUModelIDKey is the attribute Key conforming to the
- // "host.cpu.model.id" semantic conventions. It represents the model
- // identifier. It provides more granular information about the CPU,
- // distinguishing it from other CPUs within the same family.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '6', '9000/778/B180L'
- HostCPUModelIDKey = attribute.Key("host.cpu.model.id")
-
- // HostCPUModelNameKey is the attribute Key conforming to the
- // "host.cpu.model.name" semantic conventions. It represents the model
- // designation of the processor.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz'
- HostCPUModelNameKey = attribute.Key("host.cpu.model.name")
-
- // HostCPUSteppingKey is the attribute Key conforming to the
- // "host.cpu.stepping" semantic conventions. It represents the stepping or
- // core revisions.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 1
- HostCPUSteppingKey = attribute.Key("host.cpu.stepping")
-
- // HostCPUVendorIDKey is the attribute Key conforming to the
- // "host.cpu.vendor.id" semantic conventions. It represents the processor
- // manufacturer identifier. A maximum 12-character string.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'GenuineIntel'
- // Note: [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor
- // ID string in EBX, EDX and ECX registers. Writing these to memory in this
- // order results in a 12-character string.
- HostCPUVendorIDKey = attribute.Key("host.cpu.vendor.id")
-
- // HostIDKey is the attribute Key conforming to the "host.id" semantic
- // conventions. It represents the unique host ID. For Cloud, this must be
- // the instance_id assigned by the cloud provider. For non-containerized
- // systems, this should be the `machine-id`. See the table below for the
- // sources to use to determine the `machine-id` based on operating system.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'fdbf79e8af94cb7f9e8df36789187052'
- HostIDKey = attribute.Key("host.id")
-
- // HostImageIDKey is the attribute Key conforming to the "host.image.id"
- // semantic conventions. It represents the vM image ID or host OS image ID.
- // For Cloud, this value is from the provider.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'ami-07b06b442921831e5'
- HostImageIDKey = attribute.Key("host.image.id")
-
- // HostImageNameKey is the attribute Key conforming to the
- // "host.image.name" semantic conventions. It represents the name of the VM
- // image or OS install the host was instantiated from.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
- HostImageNameKey = attribute.Key("host.image.name")
-
- // HostImageVersionKey is the attribute Key conforming to the
- // "host.image.version" semantic conventions. It represents the version
- // string of the VM image or host OS as defined in [Version
- // Attributes](/docs/resource/README.md#version-attributes).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '0.1'
- HostImageVersionKey = attribute.Key("host.image.version")
-
- // HostIPKey is the attribute Key conforming to the "host.ip" semantic
- // conventions. It represents the available IP addresses of the host,
- // excluding loopback interfaces.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '192.168.1.140', 'fe80::abc2:4a28:737a:609e'
- // Note: IPv4 Addresses MUST be specified in dotted-quad notation. IPv6
- // addresses MUST be specified in the [RFC
- // 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format.
- HostIPKey = attribute.Key("host.ip")
-
- // HostMacKey is the attribute Key conforming to the "host.mac" semantic
- // conventions. It represents the available MAC addresses of the host,
- // excluding loopback interfaces.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'AC-DE-48-23-45-67', 'AC-DE-48-23-45-67-01-9F'
- // Note: MAC Addresses MUST be represented in [IEEE RA hexadecimal
- // form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf):
- // as hyphen-separated octets in uppercase hexadecimal form from most to
- // least significant.
- HostMacKey = attribute.Key("host.mac")
-
- // HostNameKey is the attribute Key conforming to the "host.name" semantic
- // conventions. It represents the name of the host. On Unix systems, it may
- // contain what the hostname command returns, or the fully qualified
- // hostname, or another name specified by the user.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry-test'
- HostNameKey = attribute.Key("host.name")
-
- // HostTypeKey is the attribute Key conforming to the "host.type" semantic
- // conventions. It represents the type of host. For Cloud, this must be the
- // machine type.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'n1-standard-1'
- HostTypeKey = attribute.Key("host.type")
-)
-
-var (
- // AMD64
- HostArchAMD64 = HostArchKey.String("amd64")
- // ARM32
- HostArchARM32 = HostArchKey.String("arm32")
- // ARM64
- HostArchARM64 = HostArchKey.String("arm64")
- // Itanium
- HostArchIA64 = HostArchKey.String("ia64")
- // 32-bit PowerPC
- HostArchPPC32 = HostArchKey.String("ppc32")
- // 64-bit PowerPC
- HostArchPPC64 = HostArchKey.String("ppc64")
- // IBM z/Architecture
- HostArchS390x = HostArchKey.String("s390x")
- // 32-bit x86
- HostArchX86 = HostArchKey.String("x86")
-)
-
-// HostCPUCacheL2Size returns an attribute KeyValue conforming to the
-// "host.cpu.cache.l2.size" semantic conventions. It represents the amount of
-// level 2 memory cache available to the processor (in Bytes).
-func HostCPUCacheL2Size(val int) attribute.KeyValue {
- return HostCPUCacheL2SizeKey.Int(val)
-}
-
-// HostCPUFamily returns an attribute KeyValue conforming to the
-// "host.cpu.family" semantic conventions. It represents the family or
-// generation of the CPU.
-func HostCPUFamily(val string) attribute.KeyValue {
- return HostCPUFamilyKey.String(val)
-}
-
-// HostCPUModelID returns an attribute KeyValue conforming to the
-// "host.cpu.model.id" semantic conventions. It represents the model
-// identifier. It provides more granular information about the CPU,
-// distinguishing it from other CPUs within the same family.
-func HostCPUModelID(val string) attribute.KeyValue {
- return HostCPUModelIDKey.String(val)
-}
-
-// HostCPUModelName returns an attribute KeyValue conforming to the
-// "host.cpu.model.name" semantic conventions. It represents the model
-// designation of the processor.
-func HostCPUModelName(val string) attribute.KeyValue {
- return HostCPUModelNameKey.String(val)
-}
-
-// HostCPUStepping returns an attribute KeyValue conforming to the
-// "host.cpu.stepping" semantic conventions. It represents the stepping or core
-// revisions.
-func HostCPUStepping(val int) attribute.KeyValue {
- return HostCPUSteppingKey.Int(val)
-}
-
-// HostCPUVendorID returns an attribute KeyValue conforming to the
-// "host.cpu.vendor.id" semantic conventions. It represents the processor
-// manufacturer identifier. A maximum 12-character string.
-func HostCPUVendorID(val string) attribute.KeyValue {
- return HostCPUVendorIDKey.String(val)
-}
-
-// HostID returns an attribute KeyValue conforming to the "host.id" semantic
-// conventions. It represents the unique host ID. For Cloud, this must be the
-// instance_id assigned by the cloud provider. For non-containerized systems,
-// this should be the `machine-id`. See the table below for the sources to use
-// to determine the `machine-id` based on operating system.
-func HostID(val string) attribute.KeyValue {
- return HostIDKey.String(val)
-}
-
-// HostImageID returns an attribute KeyValue conforming to the
-// "host.image.id" semantic conventions. It represents the vM image ID or host
-// OS image ID. For Cloud, this value is from the provider.
-func HostImageID(val string) attribute.KeyValue {
- return HostImageIDKey.String(val)
-}
-
-// HostImageName returns an attribute KeyValue conforming to the
-// "host.image.name" semantic conventions. It represents the name of the VM
-// image or OS install the host was instantiated from.
-func HostImageName(val string) attribute.KeyValue {
- return HostImageNameKey.String(val)
-}
-
-// HostImageVersion returns an attribute KeyValue conforming to the
-// "host.image.version" semantic conventions. It represents the version string
-// of the VM image or host OS as defined in [Version
-// Attributes](/docs/resource/README.md#version-attributes).
-func HostImageVersion(val string) attribute.KeyValue {
- return HostImageVersionKey.String(val)
-}
-
-// HostIP returns an attribute KeyValue conforming to the "host.ip" semantic
-// conventions. It represents the available IP addresses of the host, excluding
-// loopback interfaces.
-func HostIP(val ...string) attribute.KeyValue {
- return HostIPKey.StringSlice(val)
-}
-
-// HostMac returns an attribute KeyValue conforming to the "host.mac"
-// semantic conventions. It represents the available MAC addresses of the host,
-// excluding loopback interfaces.
-func HostMac(val ...string) attribute.KeyValue {
- return HostMacKey.StringSlice(val)
-}
-
-// HostName returns an attribute KeyValue conforming to the "host.name"
-// semantic conventions. It represents the name of the host. On Unix systems,
-// it may contain what the hostname command returns, or the fully qualified
-// hostname, or another name specified by the user.
-func HostName(val string) attribute.KeyValue {
- return HostNameKey.String(val)
-}
-
-// HostType returns an attribute KeyValue conforming to the "host.type"
-// semantic conventions. It represents the type of host. For Cloud, this must
-// be the machine type.
-func HostType(val string) attribute.KeyValue {
- return HostTypeKey.String(val)
-}
-
-// Kubernetes resource attributes.
-const (
- // K8SClusterNameKey is the attribute Key conforming to the
- // "k8s.cluster.name" semantic conventions. It represents the name of the
- // cluster.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry-cluster'
- K8SClusterNameKey = attribute.Key("k8s.cluster.name")
-
- // K8SClusterUIDKey is the attribute Key conforming to the
- // "k8s.cluster.uid" semantic conventions. It represents a pseudo-ID for
- // the cluster, set to the UID of the `kube-system` namespace.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '218fc5a9-a5f1-4b54-aa05-46717d0ab26d'
- // Note: K8S doesn't have support for obtaining a cluster ID. If this is
- // ever
- // added, we will recommend collecting the `k8s.cluster.uid` through the
- // official APIs. In the meantime, we are able to use the `uid` of the
- // `kube-system` namespace as a proxy for cluster ID. Read on for the
- // rationale.
- //
- // Every object created in a K8S cluster is assigned a distinct UID. The
- // `kube-system` namespace is used by Kubernetes itself and will exist
- // for the lifetime of the cluster. Using the `uid` of the `kube-system`
- // namespace is a reasonable proxy for the K8S ClusterID as it will only
- // change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are
- // UUIDs as standardized by
- // [ISO/IEC 9834-8 and ITU-T
- // X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html).
- // Which states:
- //
- // > If generated according to one of the mechanisms defined in Rec.
- // ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be
- // different from all other UUIDs generated before 3603 A.D., or is
- // extremely likely to be different (depending on the mechanism chosen).
- //
- // Therefore, UIDs between clusters should be extremely unlikely to
- // conflict.
- K8SClusterUIDKey = attribute.Key("k8s.cluster.uid")
-
- // K8SContainerNameKey is the attribute Key conforming to the
- // "k8s.container.name" semantic conventions. It represents the name of the
- // Container from Pod specification, must be unique within a Pod. Container
- // runtime usually uses different globally unique name (`container.name`).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'redis'
- K8SContainerNameKey = attribute.Key("k8s.container.name")
-
- // K8SContainerRestartCountKey is the attribute Key conforming to the
- // "k8s.container.restart_count" semantic conventions. It represents the
- // number of times the container was restarted. This attribute can be used
- // to identify a particular container (running or stopped) within a
- // container spec.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 0, 2
- K8SContainerRestartCountKey = attribute.Key("k8s.container.restart_count")
-
- // K8SCronJobNameKey is the attribute Key conforming to the
- // "k8s.cronjob.name" semantic conventions. It represents the name of the
- // CronJob.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry'
- K8SCronJobNameKey = attribute.Key("k8s.cronjob.name")
-
- // K8SCronJobUIDKey is the attribute Key conforming to the
- // "k8s.cronjob.uid" semantic conventions. It represents the UID of the
- // CronJob.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SCronJobUIDKey = attribute.Key("k8s.cronjob.uid")
-
- // K8SDaemonSetNameKey is the attribute Key conforming to the
- // "k8s.daemonset.name" semantic conventions. It represents the name of the
- // DaemonSet.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry'
- K8SDaemonSetNameKey = attribute.Key("k8s.daemonset.name")
-
- // K8SDaemonSetUIDKey is the attribute Key conforming to the
- // "k8s.daemonset.uid" semantic conventions. It represents the UID of the
- // DaemonSet.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SDaemonSetUIDKey = attribute.Key("k8s.daemonset.uid")
-
- // K8SDeploymentNameKey is the attribute Key conforming to the
- // "k8s.deployment.name" semantic conventions. It represents the name of
- // the Deployment.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry'
- K8SDeploymentNameKey = attribute.Key("k8s.deployment.name")
-
- // K8SDeploymentUIDKey is the attribute Key conforming to the
- // "k8s.deployment.uid" semantic conventions. It represents the UID of the
- // Deployment.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SDeploymentUIDKey = attribute.Key("k8s.deployment.uid")
-
- // K8SJobNameKey is the attribute Key conforming to the "k8s.job.name"
- // semantic conventions. It represents the name of the Job.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry'
- K8SJobNameKey = attribute.Key("k8s.job.name")
-
- // K8SJobUIDKey is the attribute Key conforming to the "k8s.job.uid"
- // semantic conventions. It represents the UID of the Job.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SJobUIDKey = attribute.Key("k8s.job.uid")
-
- // K8SNamespaceNameKey is the attribute Key conforming to the
- // "k8s.namespace.name" semantic conventions. It represents the name of the
- // namespace that the pod is running in.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'default'
- K8SNamespaceNameKey = attribute.Key("k8s.namespace.name")
-
- // K8SNodeNameKey is the attribute Key conforming to the "k8s.node.name"
- // semantic conventions. It represents the name of the Node.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'node-1'
- K8SNodeNameKey = attribute.Key("k8s.node.name")
-
- // K8SNodeUIDKey is the attribute Key conforming to the "k8s.node.uid"
- // semantic conventions. It represents the UID of the Node.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
- K8SNodeUIDKey = attribute.Key("k8s.node.uid")
-
- // K8SPodNameKey is the attribute Key conforming to the "k8s.pod.name"
- // semantic conventions. It represents the name of the Pod.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry-pod-autoconf'
- K8SPodNameKey = attribute.Key("k8s.pod.name")
-
- // K8SPodUIDKey is the attribute Key conforming to the "k8s.pod.uid"
- // semantic conventions. It represents the UID of the Pod.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SPodUIDKey = attribute.Key("k8s.pod.uid")
-
- // K8SReplicaSetNameKey is the attribute Key conforming to the
- // "k8s.replicaset.name" semantic conventions. It represents the name of
- // the ReplicaSet.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry'
- K8SReplicaSetNameKey = attribute.Key("k8s.replicaset.name")
-
- // K8SReplicaSetUIDKey is the attribute Key conforming to the
- // "k8s.replicaset.uid" semantic conventions. It represents the UID of the
- // ReplicaSet.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SReplicaSetUIDKey = attribute.Key("k8s.replicaset.uid")
-
- // K8SStatefulSetNameKey is the attribute Key conforming to the
- // "k8s.statefulset.name" semantic conventions. It represents the name of
- // the StatefulSet.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'opentelemetry'
- K8SStatefulSetNameKey = attribute.Key("k8s.statefulset.name")
-
- // K8SStatefulSetUIDKey is the attribute Key conforming to the
- // "k8s.statefulset.uid" semantic conventions. It represents the UID of the
- // StatefulSet.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
- K8SStatefulSetUIDKey = attribute.Key("k8s.statefulset.uid")
-)
-
-// K8SClusterName returns an attribute KeyValue conforming to the
-// "k8s.cluster.name" semantic conventions. It represents the name of the
-// cluster.
-func K8SClusterName(val string) attribute.KeyValue {
- return K8SClusterNameKey.String(val)
-}
-
-// K8SClusterUID returns an attribute KeyValue conforming to the
-// "k8s.cluster.uid" semantic conventions. It represents a pseudo-ID for the
-// cluster, set to the UID of the `kube-system` namespace.
-func K8SClusterUID(val string) attribute.KeyValue {
- return K8SClusterUIDKey.String(val)
-}
-
-// K8SContainerName returns an attribute KeyValue conforming to the
-// "k8s.container.name" semantic conventions. It represents the name of the
-// Container from Pod specification, must be unique within a Pod. Container
-// runtime usually uses different globally unique name (`container.name`).
-func K8SContainerName(val string) attribute.KeyValue {
- return K8SContainerNameKey.String(val)
-}
-
-// K8SContainerRestartCount returns an attribute KeyValue conforming to the
-// "k8s.container.restart_count" semantic conventions. It represents the number
-// of times the container was restarted. This attribute can be used to identify
-// a particular container (running or stopped) within a container spec.
-func K8SContainerRestartCount(val int) attribute.KeyValue {
- return K8SContainerRestartCountKey.Int(val)
-}
-
-// K8SCronJobName returns an attribute KeyValue conforming to the
-// "k8s.cronjob.name" semantic conventions. It represents the name of the
-// CronJob.
-func K8SCronJobName(val string) attribute.KeyValue {
- return K8SCronJobNameKey.String(val)
-}
-
-// K8SCronJobUID returns an attribute KeyValue conforming to the
-// "k8s.cronjob.uid" semantic conventions. It represents the UID of the
-// CronJob.
-func K8SCronJobUID(val string) attribute.KeyValue {
- return K8SCronJobUIDKey.String(val)
-}
-
-// K8SDaemonSetName returns an attribute KeyValue conforming to the
-// "k8s.daemonset.name" semantic conventions. It represents the name of the
-// DaemonSet.
-func K8SDaemonSetName(val string) attribute.KeyValue {
- return K8SDaemonSetNameKey.String(val)
-}
-
-// K8SDaemonSetUID returns an attribute KeyValue conforming to the
-// "k8s.daemonset.uid" semantic conventions. It represents the UID of the
-// DaemonSet.
-func K8SDaemonSetUID(val string) attribute.KeyValue {
- return K8SDaemonSetUIDKey.String(val)
-}
-
-// K8SDeploymentName returns an attribute KeyValue conforming to the
-// "k8s.deployment.name" semantic conventions. It represents the name of the
-// Deployment.
-func K8SDeploymentName(val string) attribute.KeyValue {
- return K8SDeploymentNameKey.String(val)
-}
-
-// K8SDeploymentUID returns an attribute KeyValue conforming to the
-// "k8s.deployment.uid" semantic conventions. It represents the UID of the
-// Deployment.
-func K8SDeploymentUID(val string) attribute.KeyValue {
- return K8SDeploymentUIDKey.String(val)
-}
-
-// K8SJobName returns an attribute KeyValue conforming to the "k8s.job.name"
-// semantic conventions. It represents the name of the Job.
-func K8SJobName(val string) attribute.KeyValue {
- return K8SJobNameKey.String(val)
-}
-
-// K8SJobUID returns an attribute KeyValue conforming to the "k8s.job.uid"
-// semantic conventions. It represents the UID of the Job.
-func K8SJobUID(val string) attribute.KeyValue {
- return K8SJobUIDKey.String(val)
-}
-
-// K8SNamespaceName returns an attribute KeyValue conforming to the
-// "k8s.namespace.name" semantic conventions. It represents the name of the
-// namespace that the pod is running in.
-func K8SNamespaceName(val string) attribute.KeyValue {
- return K8SNamespaceNameKey.String(val)
-}
-
-// K8SNodeName returns an attribute KeyValue conforming to the
-// "k8s.node.name" semantic conventions. It represents the name of the Node.
-func K8SNodeName(val string) attribute.KeyValue {
- return K8SNodeNameKey.String(val)
-}
-
-// K8SNodeUID returns an attribute KeyValue conforming to the "k8s.node.uid"
-// semantic conventions. It represents the UID of the Node.
-func K8SNodeUID(val string) attribute.KeyValue {
- return K8SNodeUIDKey.String(val)
-}
-
-// K8SPodName returns an attribute KeyValue conforming to the "k8s.pod.name"
-// semantic conventions. It represents the name of the Pod.
-func K8SPodName(val string) attribute.KeyValue {
- return K8SPodNameKey.String(val)
-}
-
-// K8SPodUID returns an attribute KeyValue conforming to the "k8s.pod.uid"
-// semantic conventions. It represents the UID of the Pod.
-func K8SPodUID(val string) attribute.KeyValue {
- return K8SPodUIDKey.String(val)
-}
-
-// K8SReplicaSetName returns an attribute KeyValue conforming to the
-// "k8s.replicaset.name" semantic conventions. It represents the name of the
-// ReplicaSet.
-func K8SReplicaSetName(val string) attribute.KeyValue {
- return K8SReplicaSetNameKey.String(val)
-}
-
-// K8SReplicaSetUID returns an attribute KeyValue conforming to the
-// "k8s.replicaset.uid" semantic conventions. It represents the UID of the
-// ReplicaSet.
-func K8SReplicaSetUID(val string) attribute.KeyValue {
- return K8SReplicaSetUIDKey.String(val)
-}
-
-// K8SStatefulSetName returns an attribute KeyValue conforming to the
-// "k8s.statefulset.name" semantic conventions. It represents the name of the
-// StatefulSet.
-func K8SStatefulSetName(val string) attribute.KeyValue {
- return K8SStatefulSetNameKey.String(val)
-}
-
-// K8SStatefulSetUID returns an attribute KeyValue conforming to the
-// "k8s.statefulset.uid" semantic conventions. It represents the UID of the
-// StatefulSet.
-func K8SStatefulSetUID(val string) attribute.KeyValue {
- return K8SStatefulSetUIDKey.String(val)
-}
-
-// An OCI image manifest.
-const (
- // OciManifestDigestKey is the attribute Key conforming to the
- // "oci.manifest.digest" semantic conventions. It represents the digest of
- // the OCI image manifest. For container images specifically is the digest
- // by which the container image is known.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples:
- // 'sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4'
- // Note: Follows [OCI Image Manifest
- // Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md),
- // and specifically the [Digest
- // property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests).
- // An example can be found in [Example Image
- // Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest).
- OciManifestDigestKey = attribute.Key("oci.manifest.digest")
-)
-
-// OciManifestDigest returns an attribute KeyValue conforming to the
-// "oci.manifest.digest" semantic conventions. It represents the digest of the
-// OCI image manifest. For container images specifically is the digest by which
-// the container image is known.
-func OciManifestDigest(val string) attribute.KeyValue {
- return OciManifestDigestKey.String(val)
-}
-
-// The operating system (OS) on which the process represented by this resource
-// is running.
-const (
- // OSBuildIDKey is the attribute Key conforming to the "os.build_id"
- // semantic conventions. It represents the unique identifier for a
- // particular build or compilation of the operating system.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'TQ3C.230805.001.B2', '20E247', '22621'
- OSBuildIDKey = attribute.Key("os.build_id")
-
- // OSDescriptionKey is the attribute Key conforming to the "os.description"
- // semantic conventions. It represents the human readable (not intended to
- // be parsed) OS version information, like e.g. reported by `ver` or
- // `lsb_release -a` commands.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1
- // LTS'
- OSDescriptionKey = attribute.Key("os.description")
-
- // OSNameKey is the attribute Key conforming to the "os.name" semantic
- // conventions. It represents the human readable operating system name.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'iOS', 'Android', 'Ubuntu'
- OSNameKey = attribute.Key("os.name")
-
- // OSTypeKey is the attribute Key conforming to the "os.type" semantic
- // conventions. It represents the operating system type.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- OSTypeKey = attribute.Key("os.type")
-
- // OSVersionKey is the attribute Key conforming to the "os.version"
- // semantic conventions. It represents the version string of the operating
- // system as defined in [Version
- // Attributes](/docs/resource/README.md#version-attributes).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '14.2.1', '18.04.1'
- OSVersionKey = attribute.Key("os.version")
-)
-
-var (
- // Microsoft Windows
- OSTypeWindows = OSTypeKey.String("windows")
- // Linux
- OSTypeLinux = OSTypeKey.String("linux")
- // Apple Darwin
- OSTypeDarwin = OSTypeKey.String("darwin")
- // FreeBSD
- OSTypeFreeBSD = OSTypeKey.String("freebsd")
- // NetBSD
- OSTypeNetBSD = OSTypeKey.String("netbsd")
- // OpenBSD
- OSTypeOpenBSD = OSTypeKey.String("openbsd")
- // DragonFly BSD
- OSTypeDragonflyBSD = OSTypeKey.String("dragonflybsd")
- // HP-UX (Hewlett Packard Unix)
- OSTypeHPUX = OSTypeKey.String("hpux")
- // AIX (Advanced Interactive eXecutive)
- OSTypeAIX = OSTypeKey.String("aix")
- // SunOS, Oracle Solaris
- OSTypeSolaris = OSTypeKey.String("solaris")
- // IBM z/OS
- OSTypeZOS = OSTypeKey.String("z_os")
-)
-
-// OSBuildID returns an attribute KeyValue conforming to the "os.build_id"
-// semantic conventions. It represents the unique identifier for a particular
-// build or compilation of the operating system.
-func OSBuildID(val string) attribute.KeyValue {
- return OSBuildIDKey.String(val)
-}
-
-// OSDescription returns an attribute KeyValue conforming to the
-// "os.description" semantic conventions. It represents the human readable (not
-// intended to be parsed) OS version information, like e.g. reported by `ver`
-// or `lsb_release -a` commands.
-func OSDescription(val string) attribute.KeyValue {
- return OSDescriptionKey.String(val)
-}
-
-// OSName returns an attribute KeyValue conforming to the "os.name" semantic
-// conventions. It represents the human readable operating system name.
-func OSName(val string) attribute.KeyValue {
- return OSNameKey.String(val)
-}
-
-// OSVersion returns an attribute KeyValue conforming to the "os.version"
-// semantic conventions. It represents the version string of the operating
-// system as defined in [Version
-// Attributes](/docs/resource/README.md#version-attributes).
-func OSVersion(val string) attribute.KeyValue {
- return OSVersionKey.String(val)
-}
-
-// An operating system process.
-const (
- // ProcessCommandKey is the attribute Key conforming to the
- // "process.command" semantic conventions. It represents the command used
- // to launch the process (i.e. the command name). On Linux based systems,
- // can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can
- // be set to the first parameter extracted from `GetCommandLineW`.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'cmd/otelcol'
- ProcessCommandKey = attribute.Key("process.command")
-
- // ProcessCommandArgsKey is the attribute Key conforming to the
- // "process.command_args" semantic conventions. It represents the all the
- // command arguments (including the command/executable itself) as received
- // by the process. On Linux-based systems (and some other Unixoid systems
- // supporting procfs), can be set according to the list of null-delimited
- // strings extracted from `proc/[pid]/cmdline`. For libc-based executables,
- // this would be the full argv vector passed to `main`.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'cmd/otecol', '--config=config.yaml'
- ProcessCommandArgsKey = attribute.Key("process.command_args")
-
- // ProcessCommandLineKey is the attribute Key conforming to the
- // "process.command_line" semantic conventions. It represents the full
- // command used to launch the process as a single string representing the
- // full command. On Windows, can be set to the result of `GetCommandLineW`.
- // Do not set this if you have to assemble it just for monitoring; use
- // `process.command_args` instead.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
- ProcessCommandLineKey = attribute.Key("process.command_line")
-
- // ProcessExecutableNameKey is the attribute Key conforming to the
- // "process.executable.name" semantic conventions. It represents the name
- // of the process executable. On Linux based systems, can be set to the
- // `Name` in `proc/[pid]/status`. On Windows, can be set to the base name
- // of `GetProcessImageFileNameW`.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'otelcol'
- ProcessExecutableNameKey = attribute.Key("process.executable.name")
-
- // ProcessExecutablePathKey is the attribute Key conforming to the
- // "process.executable.path" semantic conventions. It represents the full
- // path to the process executable. On Linux based systems, can be set to
- // the target of `proc/[pid]/exe`. On Windows, can be set to the result of
- // `GetProcessImageFileNameW`.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '/usr/bin/cmd/otelcol'
- ProcessExecutablePathKey = attribute.Key("process.executable.path")
-
- // ProcessOwnerKey is the attribute Key conforming to the "process.owner"
- // semantic conventions. It represents the username of the user that owns
- // the process.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'root'
- ProcessOwnerKey = attribute.Key("process.owner")
-
- // ProcessParentPIDKey is the attribute Key conforming to the
- // "process.parent_pid" semantic conventions. It represents the parent
- // Process identifier (PPID).
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 111
- ProcessParentPIDKey = attribute.Key("process.parent_pid")
-
- // ProcessPIDKey is the attribute Key conforming to the "process.pid"
- // semantic conventions. It represents the process identifier (PID).
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 1234
- ProcessPIDKey = attribute.Key("process.pid")
-
- // ProcessRuntimeDescriptionKey is the attribute Key conforming to the
- // "process.runtime.description" semantic conventions. It represents an
- // additional description about the runtime of the process, for example a
- // specific vendor customization of the runtime environment.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
- ProcessRuntimeDescriptionKey = attribute.Key("process.runtime.description")
-
- // ProcessRuntimeNameKey is the attribute Key conforming to the
- // "process.runtime.name" semantic conventions. It represents the name of
- // the runtime of this process. For compiled native binaries, this SHOULD
- // be the name of the compiler.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'OpenJDK Runtime Environment'
- ProcessRuntimeNameKey = attribute.Key("process.runtime.name")
-
- // ProcessRuntimeVersionKey is the attribute Key conforming to the
- // "process.runtime.version" semantic conventions. It represents the
- // version of the runtime of this process, as returned by the runtime
- // without modification.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '14.0.2'
- ProcessRuntimeVersionKey = attribute.Key("process.runtime.version")
-)
-
-// ProcessCommand returns an attribute KeyValue conforming to the
-// "process.command" semantic conventions. It represents the command used to
-// launch the process (i.e. the command name). On Linux based systems, can be
-// set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to
-// the first parameter extracted from `GetCommandLineW`.
-func ProcessCommand(val string) attribute.KeyValue {
- return ProcessCommandKey.String(val)
-}
-
-// ProcessCommandArgs returns an attribute KeyValue conforming to the
-// "process.command_args" semantic conventions. It represents the all the
-// command arguments (including the command/executable itself) as received by
-// the process. On Linux-based systems (and some other Unixoid systems
-// supporting procfs), can be set according to the list of null-delimited
-// strings extracted from `proc/[pid]/cmdline`. For libc-based executables,
-// this would be the full argv vector passed to `main`.
-func ProcessCommandArgs(val ...string) attribute.KeyValue {
- return ProcessCommandArgsKey.StringSlice(val)
-}
-
-// ProcessCommandLine returns an attribute KeyValue conforming to the
-// "process.command_line" semantic conventions. It represents the full command
-// used to launch the process as a single string representing the full command.
-// On Windows, can be set to the result of `GetCommandLineW`. Do not set this
-// if you have to assemble it just for monitoring; use `process.command_args`
-// instead.
-func ProcessCommandLine(val string) attribute.KeyValue {
- return ProcessCommandLineKey.String(val)
-}
-
-// ProcessExecutableName returns an attribute KeyValue conforming to the
-// "process.executable.name" semantic conventions. It represents the name of
-// the process executable. On Linux based systems, can be set to the `Name` in
-// `proc/[pid]/status`. On Windows, can be set to the base name of
-// `GetProcessImageFileNameW`.
-func ProcessExecutableName(val string) attribute.KeyValue {
- return ProcessExecutableNameKey.String(val)
-}
-
-// ProcessExecutablePath returns an attribute KeyValue conforming to the
-// "process.executable.path" semantic conventions. It represents the full path
-// to the process executable. On Linux based systems, can be set to the target
-// of `proc/[pid]/exe`. On Windows, can be set to the result of
-// `GetProcessImageFileNameW`.
-func ProcessExecutablePath(val string) attribute.KeyValue {
- return ProcessExecutablePathKey.String(val)
-}
-
-// ProcessOwner returns an attribute KeyValue conforming to the
-// "process.owner" semantic conventions. It represents the username of the user
-// that owns the process.
-func ProcessOwner(val string) attribute.KeyValue {
- return ProcessOwnerKey.String(val)
-}
-
-// ProcessParentPID returns an attribute KeyValue conforming to the
-// "process.parent_pid" semantic conventions. It represents the parent Process
-// identifier (PPID).
-func ProcessParentPID(val int) attribute.KeyValue {
- return ProcessParentPIDKey.Int(val)
-}
-
-// ProcessPID returns an attribute KeyValue conforming to the "process.pid"
-// semantic conventions. It represents the process identifier (PID).
-func ProcessPID(val int) attribute.KeyValue {
- return ProcessPIDKey.Int(val)
-}
-
-// ProcessRuntimeDescription returns an attribute KeyValue conforming to the
-// "process.runtime.description" semantic conventions. It represents an
-// additional description about the runtime of the process, for example a
-// specific vendor customization of the runtime environment.
-func ProcessRuntimeDescription(val string) attribute.KeyValue {
- return ProcessRuntimeDescriptionKey.String(val)
-}
-
-// ProcessRuntimeName returns an attribute KeyValue conforming to the
-// "process.runtime.name" semantic conventions. It represents the name of the
-// runtime of this process. For compiled native binaries, this SHOULD be the
-// name of the compiler.
-func ProcessRuntimeName(val string) attribute.KeyValue {
- return ProcessRuntimeNameKey.String(val)
-}
-
-// ProcessRuntimeVersion returns an attribute KeyValue conforming to the
-// "process.runtime.version" semantic conventions. It represents the version of
-// the runtime of this process, as returned by the runtime without
-// modification.
-func ProcessRuntimeVersion(val string) attribute.KeyValue {
- return ProcessRuntimeVersionKey.String(val)
-}
-
-// The Android platform on which the Android application is running.
-const (
- // AndroidOSAPILevelKey is the attribute Key conforming to the
- // "android.os.api_level" semantic conventions. It represents the uniquely
- // identifies the framework API revision offered by a version
- // (`os.version`) of the android operating system. More information can be
- // found
- // [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#APILevels).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '33', '32'
- AndroidOSAPILevelKey = attribute.Key("android.os.api_level")
-)
-
-// AndroidOSAPILevel returns an attribute KeyValue conforming to the
-// "android.os.api_level" semantic conventions. It represents the uniquely
-// identifies the framework API revision offered by a version (`os.version`) of
-// the android operating system. More information can be found
-// [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#APILevels).
-func AndroidOSAPILevel(val string) attribute.KeyValue {
- return AndroidOSAPILevelKey.String(val)
-}
-
-// The web browser in which the application represented by the resource is
-// running. The `browser.*` attributes MUST be used only for resources that
-// represent applications running in a web browser (regardless of whether
-// running on a mobile or desktop device).
-const (
- // BrowserBrandsKey is the attribute Key conforming to the "browser.brands"
- // semantic conventions. It represents the array of brand name and version
- // separated by a space
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: ' Not A;Brand 99', 'Chromium 99', 'Chrome 99'
- // Note: This value is intended to be taken from the [UA client hints
- // API](https://wicg.github.io/ua-client-hints/#interface)
- // (`navigator.userAgentData.brands`).
- BrowserBrandsKey = attribute.Key("browser.brands")
-
- // BrowserLanguageKey is the attribute Key conforming to the
- // "browser.language" semantic conventions. It represents the preferred
- // language of the user using the browser
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'en', 'en-US', 'fr', 'fr-FR'
- // Note: This value is intended to be taken from the Navigator API
- // `navigator.language`.
- BrowserLanguageKey = attribute.Key("browser.language")
-
- // BrowserMobileKey is the attribute Key conforming to the "browser.mobile"
- // semantic conventions. It represents a boolean that is true if the
- // browser is running on a mobile device
- //
- // Type: boolean
- // RequirementLevel: Optional
- // Stability: experimental
- // Note: This value is intended to be taken from the [UA client hints
- // API](https://wicg.github.io/ua-client-hints/#interface)
- // (`navigator.userAgentData.mobile`). If unavailable, this attribute
- // SHOULD be left unset.
- BrowserMobileKey = attribute.Key("browser.mobile")
-
- // BrowserPlatformKey is the attribute Key conforming to the
- // "browser.platform" semantic conventions. It represents the platform on
- // which the browser is running
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Windows', 'macOS', 'Android'
- // Note: This value is intended to be taken from the [UA client hints
- // API](https://wicg.github.io/ua-client-hints/#interface)
- // (`navigator.userAgentData.platform`). If unavailable, the legacy
- // `navigator.platform` API SHOULD NOT be used instead and this attribute
- // SHOULD be left unset in order for the values to be consistent.
- // The list of possible values is defined in the [W3C User-Agent Client
- // Hints
- // specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform).
- // Note that some (but not all) of these values can overlap with values in
- // the [`os.type` and `os.name` attributes](./os.md). However, for
- // consistency, the values in the `browser.platform` attribute should
- // capture the exact value that the user agent provides.
- BrowserPlatformKey = attribute.Key("browser.platform")
-)
-
-// BrowserBrands returns an attribute KeyValue conforming to the
-// "browser.brands" semantic conventions. It represents the array of brand name
-// and version separated by a space
-func BrowserBrands(val ...string) attribute.KeyValue {
- return BrowserBrandsKey.StringSlice(val)
-}
-
-// BrowserLanguage returns an attribute KeyValue conforming to the
-// "browser.language" semantic conventions. It represents the preferred
-// language of the user using the browser
-func BrowserLanguage(val string) attribute.KeyValue {
- return BrowserLanguageKey.String(val)
-}
-
-// BrowserMobile returns an attribute KeyValue conforming to the
-// "browser.mobile" semantic conventions. It represents a boolean that is true
-// if the browser is running on a mobile device
-func BrowserMobile(val bool) attribute.KeyValue {
- return BrowserMobileKey.Bool(val)
-}
-
-// BrowserPlatform returns an attribute KeyValue conforming to the
-// "browser.platform" semantic conventions. It represents the platform on which
-// the browser is running
-func BrowserPlatform(val string) attribute.KeyValue {
- return BrowserPlatformKey.String(val)
+// CloudAvailabilityZone returns an attribute KeyValue conforming to the
+// "cloud.availability_zone" semantic conventions. It represents the cloud
+// regions often have multiple, isolated locations known as zones to increase
+// availability. Availability zone represents the zone where the resource is
+// running.
+func CloudAvailabilityZone(val string) attribute.KeyValue {
+ return CloudAvailabilityZoneKey.String(val)
}
// Resources used by AWS Elastic Container Service (ECS).
const (
- // AWSECSClusterARNKey is the attribute Key conforming to the
- // "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an
- // [ECS
- // cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
- AWSECSClusterARNKey = attribute.Key("aws.ecs.cluster.arn")
-
// AWSECSContainerARNKey is the attribute Key conforming to the
// "aws.ecs.container.arn" semantic conventions. It represents the Amazon
// Resource Name (ARN) of an [ECS container
@@ -1701,11 +329,22 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples:
// 'arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
AWSECSContainerARNKey = attribute.Key("aws.ecs.container.arn")
+ // AWSECSClusterARNKey is the attribute Key conforming to the
+ // "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an
+ // [ECS
+ // cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
+ AWSECSClusterARNKey = attribute.Key("aws.ecs.cluster.arn")
+
// AWSECSLaunchtypeKey is the attribute Key conforming to the
// "aws.ecs.launchtype" semantic conventions. It represents the [launch
// type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html)
@@ -1713,7 +352,7 @@ const (
//
// Type: Enum
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
AWSECSLaunchtypeKey = attribute.Key("aws.ecs.launchtype")
// AWSECSTaskARNKey is the attribute Key conforming to the
@@ -1723,7 +362,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples:
// 'arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b'
AWSECSTaskARNKey = attribute.Key("aws.ecs.task.arn")
@@ -1734,7 +373,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'opentelemetry-family'
AWSECSTaskFamilyKey = attribute.Key("aws.ecs.task.family")
@@ -1744,7 +383,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '8', '26'
AWSECSTaskRevisionKey = attribute.Key("aws.ecs.task.revision")
)
@@ -1756,13 +395,6 @@ var (
AWSECSLaunchtypeFargate = AWSECSLaunchtypeKey.String("fargate")
)
-// AWSECSClusterARN returns an attribute KeyValue conforming to the
-// "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an [ECS
-// cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
-func AWSECSClusterARN(val string) attribute.KeyValue {
- return AWSECSClusterARNKey.String(val)
-}
-
// AWSECSContainerARN returns an attribute KeyValue conforming to the
// "aws.ecs.container.arn" semantic conventions. It represents the Amazon
// Resource Name (ARN) of an [ECS container
@@ -1771,6 +403,13 @@ func AWSECSContainerARN(val string) attribute.KeyValue {
return AWSECSContainerARNKey.String(val)
}
+// AWSECSClusterARN returns an attribute KeyValue conforming to the
+// "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an [ECS
+// cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
+func AWSECSClusterARN(val string) attribute.KeyValue {
+ return AWSECSClusterARNKey.String(val)
+}
+
// AWSECSTaskARN returns an attribute KeyValue conforming to the
// "aws.ecs.task.arn" semantic conventions. It represents the ARN of an [ECS
// task
@@ -1801,7 +440,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
AWSEKSClusterARNKey = attribute.Key("aws.eks.cluster.arn")
)
@@ -1815,46 +454,31 @@ func AWSEKSClusterARN(val string) attribute.KeyValue {
// Resources specific to Amazon Web Services.
const (
- // AWSLogGroupARNsKey is the attribute Key conforming to the
- // "aws.log.group.arns" semantic conventions. It represents the Amazon
- // Resource Name(s) (ARN) of the AWS log group(s).
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples:
- // 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
- // Note: See the [log group ARN format
- // documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
- AWSLogGroupARNsKey = attribute.Key("aws.log.group.arns")
-
// AWSLogGroupNamesKey is the attribute Key conforming to the
// "aws.log.group.names" semantic conventions. It represents the name(s) of
// the AWS log group(s) an application is writing to.
//
// Type: string[]
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '/aws/lambda/my-function', 'opentelemetry-service'
// Note: Multiple log groups must be supported for cases like
// multi-container applications, where a single application has sidecar
// containers, and each write to their own log group.
AWSLogGroupNamesKey = attribute.Key("aws.log.group.names")
- // AWSLogStreamARNsKey is the attribute Key conforming to the
- // "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of
- // the AWS log stream(s).
+ // AWSLogGroupARNsKey is the attribute Key conforming to the
+ // "aws.log.group.arns" semantic conventions. It represents the Amazon
+ // Resource Name(s) (ARN) of the AWS log group(s).
//
// Type: string[]
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples:
- // 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
- // Note: See the [log stream ARN format
+ // 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
+ // Note: See the [log group ARN format
// documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
- // One log group can contain several log streams, so these ARNs necessarily
- // identify both a log group and a log stream.
- AWSLogStreamARNsKey = attribute.Key("aws.log.stream.arns")
+ AWSLogGroupARNsKey = attribute.Key("aws.log.group.arns")
// AWSLogStreamNamesKey is the attribute Key conforming to the
// "aws.log.stream.names" semantic conventions. It represents the name(s)
@@ -1862,17 +486,25 @@ const (
//
// Type: string[]
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
AWSLogStreamNamesKey = attribute.Key("aws.log.stream.names")
-)
-// AWSLogGroupARNs returns an attribute KeyValue conforming to the
-// "aws.log.group.arns" semantic conventions. It represents the Amazon Resource
-// Name(s) (ARN) of the AWS log group(s).
-func AWSLogGroupARNs(val ...string) attribute.KeyValue {
- return AWSLogGroupARNsKey.StringSlice(val)
-}
+ // AWSLogStreamARNsKey is the attribute Key conforming to the
+ // "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of
+ // the AWS log stream(s).
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples:
+ // 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
+ // Note: See the [log stream ARN format
+ // documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
+ // One log group can contain several log streams, so these ARNs necessarily
+ // identify both a log group and a log stream.
+ AWSLogStreamARNsKey = attribute.Key("aws.log.stream.arns")
+)
// AWSLogGroupNames returns an attribute KeyValue conforming to the
// "aws.log.group.names" semantic conventions. It represents the name(s) of the
@@ -1881,11 +513,11 @@ func AWSLogGroupNames(val ...string) attribute.KeyValue {
return AWSLogGroupNamesKey.StringSlice(val)
}
-// AWSLogStreamARNs returns an attribute KeyValue conforming to the
-// "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of the
-// AWS log stream(s).
-func AWSLogStreamARNs(val ...string) attribute.KeyValue {
- return AWSLogStreamARNsKey.StringSlice(val)
+// AWSLogGroupARNs returns an attribute KeyValue conforming to the
+// "aws.log.group.arns" semantic conventions. It represents the Amazon Resource
+// Name(s) (ARN) of the AWS log group(s).
+func AWSLogGroupARNs(val ...string) attribute.KeyValue {
+ return AWSLogGroupARNsKey.StringSlice(val)
}
// AWSLogStreamNames returns an attribute KeyValue conforming to the
@@ -1895,114 +527,24 @@ func AWSLogStreamNames(val ...string) attribute.KeyValue {
return AWSLogStreamNamesKey.StringSlice(val)
}
-// Resource used by Google Cloud Run.
-const (
- // GCPCloudRunJobExecutionKey is the attribute Key conforming to the
- // "gcp.cloud_run.job.execution" semantic conventions. It represents the
- // name of the Cloud Run
- // [execution](https://cloud.google.com/run/docs/managing/job-executions)
- // being run for the Job, as set by the
- // [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
- // environment variable.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'job-name-xxxx', 'sample-job-mdw84'
- GCPCloudRunJobExecutionKey = attribute.Key("gcp.cloud_run.job.execution")
-
- // GCPCloudRunJobTaskIndexKey is the attribute Key conforming to the
- // "gcp.cloud_run.job.task_index" semantic conventions. It represents the
- // index for a task within an execution as provided by the
- // [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
- // environment variable.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 0, 1
- GCPCloudRunJobTaskIndexKey = attribute.Key("gcp.cloud_run.job.task_index")
-)
-
-// GCPCloudRunJobExecution returns an attribute KeyValue conforming to the
-// "gcp.cloud_run.job.execution" semantic conventions. It represents the name
-// of the Cloud Run
-// [execution](https://cloud.google.com/run/docs/managing/job-executions) being
-// run for the Job, as set by the
-// [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
-// environment variable.
-func GCPCloudRunJobExecution(val string) attribute.KeyValue {
- return GCPCloudRunJobExecutionKey.String(val)
-}
-
-// GCPCloudRunJobTaskIndex returns an attribute KeyValue conforming to the
-// "gcp.cloud_run.job.task_index" semantic conventions. It represents the index
-// for a task within an execution as provided by the
-// [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
-// environment variable.
-func GCPCloudRunJobTaskIndex(val int) attribute.KeyValue {
- return GCPCloudRunJobTaskIndexKey.Int(val)
-}
-
-// Resources used by Google Compute Engine (GCE).
-const (
- // GCPGceInstanceHostnameKey is the attribute Key conforming to the
- // "gcp.gce.instance.hostname" semantic conventions. It represents the
- // hostname of a GCE instance. This is the full value of the default or
- // [custom
- // hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'my-host1234.example.com',
- // 'sample-vm.us-west1-b.c.my-project.internal'
- GCPGceInstanceHostnameKey = attribute.Key("gcp.gce.instance.hostname")
-
- // GCPGceInstanceNameKey is the attribute Key conforming to the
- // "gcp.gce.instance.name" semantic conventions. It represents the instance
- // name of a GCE instance. This is the value provided by `host.name`, the
- // visible name of the instance in the Cloud Console UI, and the prefix for
- // the default hostname of the instance as defined by the [default internal
- // DNS
- // name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'instance-1', 'my-vm-name'
- GCPGceInstanceNameKey = attribute.Key("gcp.gce.instance.name")
-)
-
-// GCPGceInstanceHostname returns an attribute KeyValue conforming to the
-// "gcp.gce.instance.hostname" semantic conventions. It represents the hostname
-// of a GCE instance. This is the full value of the default or [custom
-// hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm).
-func GCPGceInstanceHostname(val string) attribute.KeyValue {
- return GCPGceInstanceHostnameKey.String(val)
-}
-
-// GCPGceInstanceName returns an attribute KeyValue conforming to the
-// "gcp.gce.instance.name" semantic conventions. It represents the instance
-// name of a GCE instance. This is the value provided by `host.name`, the
-// visible name of the instance in the Cloud Console UI, and the prefix for the
-// default hostname of the instance as defined by the [default internal DNS
-// name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
-func GCPGceInstanceName(val string) attribute.KeyValue {
- return GCPGceInstanceNameKey.String(val)
+// AWSLogStreamARNs returns an attribute KeyValue conforming to the
+// "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of the
+// AWS log stream(s).
+func AWSLogStreamARNs(val ...string) attribute.KeyValue {
+ return AWSLogStreamARNsKey.StringSlice(val)
}
// Heroku dyno metadata
const (
- // HerokuAppIDKey is the attribute Key conforming to the "heroku.app.id"
- // semantic conventions. It represents the unique identifier for the
- // application
+ // HerokuReleaseCreationTimestampKey is the attribute Key conforming to the
+ // "heroku.release.creation_timestamp" semantic conventions. It represents
+ // the time and date the release was created
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2daa2797-e42b-4624-9322-ec3f968df4da'
- HerokuAppIDKey = attribute.Key("heroku.app.id")
+ // Stability: stable
+ // Examples: '2022-10-23T18:00:42Z'
+ HerokuReleaseCreationTimestampKey = attribute.Key("heroku.release.creation_timestamp")
// HerokuReleaseCommitKey is the attribute Key conforming to the
// "heroku.release.commit" semantic conventions. It represents the commit
@@ -2010,26 +552,26 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'e6134959463efd8966b20e75b913cafe3f5ec'
HerokuReleaseCommitKey = attribute.Key("heroku.release.commit")
- // HerokuReleaseCreationTimestampKey is the attribute Key conforming to the
- // "heroku.release.creation_timestamp" semantic conventions. It represents
- // the time and date the release was created
+ // HerokuAppIDKey is the attribute Key conforming to the "heroku.app.id"
+ // semantic conventions. It represents the unique identifier for the
+ // application
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2022-10-23T18:00:42Z'
- HerokuReleaseCreationTimestampKey = attribute.Key("heroku.release.creation_timestamp")
+ // Stability: stable
+ // Examples: '2daa2797-e42b-4624-9322-ec3f968df4da'
+ HerokuAppIDKey = attribute.Key("heroku.app.id")
)
-// HerokuAppID returns an attribute KeyValue conforming to the
-// "heroku.app.id" semantic conventions. It represents the unique identifier
-// for the application
-func HerokuAppID(val string) attribute.KeyValue {
- return HerokuAppIDKey.String(val)
+// HerokuReleaseCreationTimestamp returns an attribute KeyValue conforming
+// to the "heroku.release.creation_timestamp" semantic conventions. It
+// represents the time and date the release was created
+func HerokuReleaseCreationTimestamp(val string) attribute.KeyValue {
+ return HerokuReleaseCreationTimestampKey.String(val)
}
// HerokuReleaseCommit returns an attribute KeyValue conforming to the
@@ -2039,11 +581,103 @@ func HerokuReleaseCommit(val string) attribute.KeyValue {
return HerokuReleaseCommitKey.String(val)
}
-// HerokuReleaseCreationTimestamp returns an attribute KeyValue conforming
-// to the "heroku.release.creation_timestamp" semantic conventions. It
-// represents the time and date the release was created
-func HerokuReleaseCreationTimestamp(val string) attribute.KeyValue {
- return HerokuReleaseCreationTimestampKey.String(val)
+// HerokuAppID returns an attribute KeyValue conforming to the
+// "heroku.app.id" semantic conventions. It represents the unique identifier
+// for the application
+func HerokuAppID(val string) attribute.KeyValue {
+ return HerokuAppIDKey.String(val)
+}
+
+// A container instance.
+const (
+ // ContainerNameKey is the attribute Key conforming to the "container.name"
+ // semantic conventions. It represents the container name used by container
+ // runtime.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry-autoconf'
+ ContainerNameKey = attribute.Key("container.name")
+
+ // ContainerIDKey is the attribute Key conforming to the "container.id"
+ // semantic conventions. It represents the container ID. Usually a UUID, as
+ // for example used to [identify Docker
+ // containers](https://docs.docker.com/engine/reference/run/#container-identification).
+ // The UUID might be abbreviated.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'a3bf90e006b2'
+ ContainerIDKey = attribute.Key("container.id")
+
+ // ContainerRuntimeKey is the attribute Key conforming to the
+ // "container.runtime" semantic conventions. It represents the container
+ // runtime managing this container.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'docker', 'containerd', 'rkt'
+ ContainerRuntimeKey = attribute.Key("container.runtime")
+
+ // ContainerImageNameKey is the attribute Key conforming to the
+ // "container.image.name" semantic conventions. It represents the name of
+ // the image the container was built on.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'gcr.io/opentelemetry/operator'
+ ContainerImageNameKey = attribute.Key("container.image.name")
+
+ // ContainerImageTagKey is the attribute Key conforming to the
+ // "container.image.tag" semantic conventions. It represents the container
+ // image tag.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '0.1'
+ ContainerImageTagKey = attribute.Key("container.image.tag")
+)
+
+// ContainerName returns an attribute KeyValue conforming to the
+// "container.name" semantic conventions. It represents the container name used
+// by container runtime.
+func ContainerName(val string) attribute.KeyValue {
+ return ContainerNameKey.String(val)
+}
+
+// ContainerID returns an attribute KeyValue conforming to the
+// "container.id" semantic conventions. It represents the container ID. Usually
+// a UUID, as for example used to [identify Docker
+// containers](https://docs.docker.com/engine/reference/run/#container-identification).
+// The UUID might be abbreviated.
+func ContainerID(val string) attribute.KeyValue {
+ return ContainerIDKey.String(val)
+}
+
+// ContainerRuntime returns an attribute KeyValue conforming to the
+// "container.runtime" semantic conventions. It represents the container
+// runtime managing this container.
+func ContainerRuntime(val string) attribute.KeyValue {
+ return ContainerRuntimeKey.String(val)
+}
+
+// ContainerImageName returns an attribute KeyValue conforming to the
+// "container.image.name" semantic conventions. It represents the name of the
+// image the container was built on.
+func ContainerImageName(val string) attribute.KeyValue {
+ return ContainerImageNameKey.String(val)
+}
+
+// ContainerImageTag returns an attribute KeyValue conforming to the
+// "container.image.tag" semantic conventions. It represents the container
+// image tag.
+func ContainerImageTag(val string) attribute.KeyValue {
+ return ContainerImageTagKey.String(val)
}
// The software deployment.
@@ -2051,76 +685,131 @@ const (
// DeploymentEnvironmentKey is the attribute Key conforming to the
// "deployment.environment" semantic conventions. It represents the name of
// the [deployment
- // environment](https://wikipedia.org/wiki/Deployment_environment) (aka
+ // environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka
// deployment tier).
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'staging', 'production'
- // Note: `deployment.environment` does not affect the uniqueness
- // constraints defined through
- // the `service.namespace`, `service.name` and `service.instance.id`
- // resource attributes.
- // This implies that resources carrying the following attribute
- // combinations MUST be
- // considered to be identifying the same service:
- //
- // * `service.name=frontend`, `deployment.environment=production`
- // * `service.name=frontend`, `deployment.environment=staging`.
DeploymentEnvironmentKey = attribute.Key("deployment.environment")
)
// DeploymentEnvironment returns an attribute KeyValue conforming to the
// "deployment.environment" semantic conventions. It represents the name of the
-// [deployment environment](https://wikipedia.org/wiki/Deployment_environment)
-// (aka deployment tier).
+// [deployment
+// environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka
+// deployment tier).
func DeploymentEnvironment(val string) attribute.KeyValue {
return DeploymentEnvironmentKey.String(val)
}
-// A serverless instance.
+// The device on which the process represented by this resource is running.
const (
- // FaaSInstanceKey is the attribute Key conforming to the "faas.instance"
- // semantic conventions. It represents the execution environment ID as a
- // string, that will be potentially reused for other invocations to the
- // same function/function version.
+ // DeviceIDKey is the attribute Key conforming to the "device.id" semantic
+ // conventions. It represents a unique identifier representing the device
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
- // Note: * **AWS Lambda:** Use the (full) log stream name.
- FaaSInstanceKey = attribute.Key("faas.instance")
+ // Stability: stable
+ // Examples: '2ab2916d-a51f-4ac8-80ee-45ac31a28092'
+ // Note: The device identifier MUST only be defined using the values
+ // outlined below. This value is not an advertising identifier and MUST NOT
+ // be used as such. On iOS (Swift or Objective-C), this value MUST be equal
+ // to the [vendor
+ // identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor).
+ // On Android (Java or Kotlin), this value MUST be equal to the Firebase
+ // Installation ID or a globally unique UUID which is persisted across
+ // sessions in your application. More information can be found
+ // [here](https://developer.android.com/training/articles/user-data-ids) on
+ // best practices and exact implementation details. Caution should be taken
+ // when storing personal data or anything which can identify a user. GDPR
+ // and data protection laws may apply, ensure you do your own due
+ // diligence.
+ DeviceIDKey = attribute.Key("device.id")
- // FaaSMaxMemoryKey is the attribute Key conforming to the
- // "faas.max_memory" semantic conventions. It represents the amount of
- // memory available to the serverless function converted to Bytes.
+ // DeviceModelIdentifierKey is the attribute Key conforming to the
+ // "device.model.identifier" semantic conventions. It represents the model
+ // identifier for the device
//
- // Type: int
+ // Type: string
// RequirementLevel: Optional
- // Stability: experimental
- // Examples: 134217728
- // Note: It's recommended to set this attribute since e.g. too little
- // memory can easily stop a Java AWS Lambda function from working
- // correctly. On AWS Lambda, the environment variable
- // `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must
- // be multiplied by 1,048,576).
- FaaSMaxMemoryKey = attribute.Key("faas.max_memory")
+ // Stability: stable
+ // Examples: 'iPhone3,4', 'SM-G920F'
+ // Note: It's recommended this value represents a machine readable version
+ // of the model identifier rather than the market or consumer-friendly name
+ // of the device.
+ DeviceModelIdentifierKey = attribute.Key("device.model.identifier")
+ // DeviceModelNameKey is the attribute Key conforming to the
+ // "device.model.name" semantic conventions. It represents the marketing
+ // name for the device model
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
+ // Note: It's recommended this value represents a human readable version of
+ // the device model rather than a machine readable alternative.
+ DeviceModelNameKey = attribute.Key("device.model.name")
+
+ // DeviceManufacturerKey is the attribute Key conforming to the
+ // "device.manufacturer" semantic conventions. It represents the name of
+ // the device manufacturer
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Apple', 'Samsung'
+ // Note: The Android OS provides this field via
+ // [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER).
+ // iOS apps SHOULD hardcode the value `Apple`.
+ DeviceManufacturerKey = attribute.Key("device.manufacturer")
+)
+
+// DeviceID returns an attribute KeyValue conforming to the "device.id"
+// semantic conventions. It represents a unique identifier representing the
+// device
+func DeviceID(val string) attribute.KeyValue {
+ return DeviceIDKey.String(val)
+}
+
+// DeviceModelIdentifier returns an attribute KeyValue conforming to the
+// "device.model.identifier" semantic conventions. It represents the model
+// identifier for the device
+func DeviceModelIdentifier(val string) attribute.KeyValue {
+ return DeviceModelIdentifierKey.String(val)
+}
+
+// DeviceModelName returns an attribute KeyValue conforming to the
+// "device.model.name" semantic conventions. It represents the marketing name
+// for the device model
+func DeviceModelName(val string) attribute.KeyValue {
+ return DeviceModelNameKey.String(val)
+}
+
+// DeviceManufacturer returns an attribute KeyValue conforming to the
+// "device.manufacturer" semantic conventions. It represents the name of the
+// device manufacturer
+func DeviceManufacturer(val string) attribute.KeyValue {
+ return DeviceManufacturerKey.String(val)
+}
+
+// A serverless instance.
+const (
// FaaSNameKey is the attribute Key conforming to the "faas.name" semantic
// conventions. It represents the name of the single function that this
// runtime instance executes.
//
// Type: string
// RequirementLevel: Required
- // Stability: experimental
+ // Stability: stable
// Examples: 'my-function', 'myazurefunctionapp/some-function-name'
// Note: This is the name of the function as configured/deployed on the
// FaaS
// platform and is usually different from the name of the callback
// function (which may be stored in the
- // [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes)
+ // [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes)
// span attributes).
//
// For some cloud providers, the above definition is ambiguous. The
@@ -2143,14 +832,14 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '26', 'pinkfroid-00002'
// Note: Depending on the cloud provider and platform, use:
//
// * **AWS Lambda:** The [function
// version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
// (an integer represented as a decimal string).
- // * **Google Cloud Run (Services):** The
+ // * **Google Cloud Run:** The
// [revision](https://cloud.google.com/run/docs/managing/revisions)
// (i.e., the function name plus the revision suffix).
// * **Google Cloud Functions:** The value of the
@@ -2158,8 +847,49 @@ const (
// variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically).
// * **Azure Functions:** Not applicable. Do not set this attribute.
FaaSVersionKey = attribute.Key("faas.version")
+
+ // FaaSInstanceKey is the attribute Key conforming to the "faas.instance"
+ // semantic conventions. It represents the execution environment ID as a
+ // string, that will be potentially reused for other invocations to the
+ // same function/function version.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
+ // Note: * **AWS Lambda:** Use the (full) log stream name.
+ FaaSInstanceKey = attribute.Key("faas.instance")
+
+ // FaaSMaxMemoryKey is the attribute Key conforming to the
+ // "faas.max_memory" semantic conventions. It represents the amount of
+ // memory available to the serverless function converted to Bytes.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 134217728
+ // Note: It's recommended to set this attribute since e.g. too little
+ // memory can easily stop a Java AWS Lambda function from working
+ // correctly. On AWS Lambda, the environment variable
+ // `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must
+ // be multiplied by 1,048,576).
+ FaaSMaxMemoryKey = attribute.Key("faas.max_memory")
)
+// FaaSName returns an attribute KeyValue conforming to the "faas.name"
+// semantic conventions. It represents the name of the single function that
+// this runtime instance executes.
+func FaaSName(val string) attribute.KeyValue {
+ return FaaSNameKey.String(val)
+}
+
+// FaaSVersion returns an attribute KeyValue conforming to the
+// "faas.version" semantic conventions. It represents the immutable version of
+// the function being executed.
+func FaaSVersion(val string) attribute.KeyValue {
+ return FaaSVersionKey.String(val)
+}
+
// FaaSInstance returns an attribute KeyValue conforming to the
// "faas.instance" semantic conventions. It represents the execution
// environment ID as a string, that will be potentially reused for other
@@ -2175,18 +905,831 @@ func FaaSMaxMemory(val int) attribute.KeyValue {
return FaaSMaxMemoryKey.Int(val)
}
-// FaaSName returns an attribute KeyValue conforming to the "faas.name"
-// semantic conventions. It represents the name of the single function that
-// this runtime instance executes.
-func FaaSName(val string) attribute.KeyValue {
- return FaaSNameKey.String(val)
+// A host is defined as a general computing instance.
+const (
+ // HostIDKey is the attribute Key conforming to the "host.id" semantic
+ // conventions. It represents the unique host ID. For Cloud, this must be
+ // the instance_id assigned by the cloud provider. For non-containerized
+ // systems, this should be the `machine-id`. See the table below for the
+ // sources to use to determine the `machine-id` based on operating system.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'fdbf79e8af94cb7f9e8df36789187052'
+ HostIDKey = attribute.Key("host.id")
+
+ // HostNameKey is the attribute Key conforming to the "host.name" semantic
+ // conventions. It represents the name of the host. On Unix systems, it may
+ // contain what the hostname command returns, or the fully qualified
+ // hostname, or another name specified by the user.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry-test'
+ HostNameKey = attribute.Key("host.name")
+
+ // HostTypeKey is the attribute Key conforming to the "host.type" semantic
+ // conventions. It represents the type of host. For Cloud, this must be the
+ // machine type.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'n1-standard-1'
+ HostTypeKey = attribute.Key("host.type")
+
+ // HostArchKey is the attribute Key conforming to the "host.arch" semantic
+ // conventions. It represents the CPU architecture the host system is
+ // running on.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ HostArchKey = attribute.Key("host.arch")
+
+ // HostImageNameKey is the attribute Key conforming to the
+ // "host.image.name" semantic conventions. It represents the name of the VM
+ // image or OS install the host was instantiated from.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
+ HostImageNameKey = attribute.Key("host.image.name")
+
+ // HostImageIDKey is the attribute Key conforming to the "host.image.id"
+ // semantic conventions. It represents the vM image ID. For Cloud, this
+ // value is from the provider.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'ami-07b06b442921831e5'
+ HostImageIDKey = attribute.Key("host.image.id")
+
+ // HostImageVersionKey is the attribute Key conforming to the
+ // "host.image.version" semantic conventions. It represents the version
+ // string of the VM image as defined in [Version
+ // Attributes](README.md#version-attributes).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '0.1'
+ HostImageVersionKey = attribute.Key("host.image.version")
+)
+
+var (
+ // AMD64
+ HostArchAMD64 = HostArchKey.String("amd64")
+ // ARM32
+ HostArchARM32 = HostArchKey.String("arm32")
+ // ARM64
+ HostArchARM64 = HostArchKey.String("arm64")
+ // Itanium
+ HostArchIA64 = HostArchKey.String("ia64")
+ // 32-bit PowerPC
+ HostArchPPC32 = HostArchKey.String("ppc32")
+ // 64-bit PowerPC
+ HostArchPPC64 = HostArchKey.String("ppc64")
+ // IBM z/Architecture
+ HostArchS390x = HostArchKey.String("s390x")
+ // 32-bit x86
+ HostArchX86 = HostArchKey.String("x86")
+)
+
+// HostID returns an attribute KeyValue conforming to the "host.id" semantic
+// conventions. It represents the unique host ID. For Cloud, this must be the
+// instance_id assigned by the cloud provider. For non-containerized systems,
+// this should be the `machine-id`. See the table below for the sources to use
+// to determine the `machine-id` based on operating system.
+func HostID(val string) attribute.KeyValue {
+ return HostIDKey.String(val)
}
-// FaaSVersion returns an attribute KeyValue conforming to the
-// "faas.version" semantic conventions. It represents the immutable version of
-// the function being executed.
-func FaaSVersion(val string) attribute.KeyValue {
- return FaaSVersionKey.String(val)
+// HostName returns an attribute KeyValue conforming to the "host.name"
+// semantic conventions. It represents the name of the host. On Unix systems,
+// it may contain what the hostname command returns, or the fully qualified
+// hostname, or another name specified by the user.
+func HostName(val string) attribute.KeyValue {
+ return HostNameKey.String(val)
+}
+
+// HostType returns an attribute KeyValue conforming to the "host.type"
+// semantic conventions. It represents the type of host. For Cloud, this must
+// be the machine type.
+func HostType(val string) attribute.KeyValue {
+ return HostTypeKey.String(val)
+}
+
+// HostImageName returns an attribute KeyValue conforming to the
+// "host.image.name" semantic conventions. It represents the name of the VM
+// image or OS install the host was instantiated from.
+func HostImageName(val string) attribute.KeyValue {
+ return HostImageNameKey.String(val)
+}
+
+// HostImageID returns an attribute KeyValue conforming to the
+// "host.image.id" semantic conventions. It represents the vM image ID. For
+// Cloud, this value is from the provider.
+func HostImageID(val string) attribute.KeyValue {
+ return HostImageIDKey.String(val)
+}
+
+// HostImageVersion returns an attribute KeyValue conforming to the
+// "host.image.version" semantic conventions. It represents the version string
+// of the VM image as defined in [Version
+// Attributes](README.md#version-attributes).
+func HostImageVersion(val string) attribute.KeyValue {
+ return HostImageVersionKey.String(val)
+}
+
+// A Kubernetes Cluster.
+const (
+ // K8SClusterNameKey is the attribute Key conforming to the
+ // "k8s.cluster.name" semantic conventions. It represents the name of the
+ // cluster.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry-cluster'
+ K8SClusterNameKey = attribute.Key("k8s.cluster.name")
+)
+
+// K8SClusterName returns an attribute KeyValue conforming to the
+// "k8s.cluster.name" semantic conventions. It represents the name of the
+// cluster.
+func K8SClusterName(val string) attribute.KeyValue {
+ return K8SClusterNameKey.String(val)
+}
+
+// A Kubernetes Node object.
+const (
+ // K8SNodeNameKey is the attribute Key conforming to the "k8s.node.name"
+ // semantic conventions. It represents the name of the Node.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'node-1'
+ K8SNodeNameKey = attribute.Key("k8s.node.name")
+
+ // K8SNodeUIDKey is the attribute Key conforming to the "k8s.node.uid"
+ // semantic conventions. It represents the UID of the Node.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
+ K8SNodeUIDKey = attribute.Key("k8s.node.uid")
+)
+
+// K8SNodeName returns an attribute KeyValue conforming to the
+// "k8s.node.name" semantic conventions. It represents the name of the Node.
+func K8SNodeName(val string) attribute.KeyValue {
+ return K8SNodeNameKey.String(val)
+}
+
+// K8SNodeUID returns an attribute KeyValue conforming to the "k8s.node.uid"
+// semantic conventions. It represents the UID of the Node.
+func K8SNodeUID(val string) attribute.KeyValue {
+ return K8SNodeUIDKey.String(val)
+}
+
+// A Kubernetes Namespace.
+const (
+ // K8SNamespaceNameKey is the attribute Key conforming to the
+ // "k8s.namespace.name" semantic conventions. It represents the name of the
+ // namespace that the pod is running in.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'default'
+ K8SNamespaceNameKey = attribute.Key("k8s.namespace.name")
+)
+
+// K8SNamespaceName returns an attribute KeyValue conforming to the
+// "k8s.namespace.name" semantic conventions. It represents the name of the
+// namespace that the pod is running in.
+func K8SNamespaceName(val string) attribute.KeyValue {
+ return K8SNamespaceNameKey.String(val)
+}
+
+// A Kubernetes Pod object.
+const (
+ // K8SPodUIDKey is the attribute Key conforming to the "k8s.pod.uid"
+ // semantic conventions. It represents the UID of the Pod.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SPodUIDKey = attribute.Key("k8s.pod.uid")
+
+ // K8SPodNameKey is the attribute Key conforming to the "k8s.pod.name"
+ // semantic conventions. It represents the name of the Pod.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry-pod-autoconf'
+ K8SPodNameKey = attribute.Key("k8s.pod.name")
+)
+
+// K8SPodUID returns an attribute KeyValue conforming to the "k8s.pod.uid"
+// semantic conventions. It represents the UID of the Pod.
+func K8SPodUID(val string) attribute.KeyValue {
+ return K8SPodUIDKey.String(val)
+}
+
+// K8SPodName returns an attribute KeyValue conforming to the "k8s.pod.name"
+// semantic conventions. It represents the name of the Pod.
+func K8SPodName(val string) attribute.KeyValue {
+ return K8SPodNameKey.String(val)
+}
+
+// A container in a
+// [PodTemplate](https://kubernetes.io/docs/concepts/workloads/pods/#pod-templates).
+const (
+ // K8SContainerNameKey is the attribute Key conforming to the
+ // "k8s.container.name" semantic conventions. It represents the name of the
+ // Container from Pod specification, must be unique within a Pod. Container
+ // runtime usually uses different globally unique name (`container.name`).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'redis'
+ K8SContainerNameKey = attribute.Key("k8s.container.name")
+
+ // K8SContainerRestartCountKey is the attribute Key conforming to the
+ // "k8s.container.restart_count" semantic conventions. It represents the
+ // number of times the container was restarted. This attribute can be used
+ // to identify a particular container (running or stopped) within a
+ // container spec.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 0, 2
+ K8SContainerRestartCountKey = attribute.Key("k8s.container.restart_count")
+)
+
+// K8SContainerName returns an attribute KeyValue conforming to the
+// "k8s.container.name" semantic conventions. It represents the name of the
+// Container from Pod specification, must be unique within a Pod. Container
+// runtime usually uses different globally unique name (`container.name`).
+func K8SContainerName(val string) attribute.KeyValue {
+ return K8SContainerNameKey.String(val)
+}
+
+// K8SContainerRestartCount returns an attribute KeyValue conforming to the
+// "k8s.container.restart_count" semantic conventions. It represents the number
+// of times the container was restarted. This attribute can be used to identify
+// a particular container (running or stopped) within a container spec.
+func K8SContainerRestartCount(val int) attribute.KeyValue {
+ return K8SContainerRestartCountKey.Int(val)
+}
+
+// A Kubernetes ReplicaSet object.
+const (
+ // K8SReplicaSetUIDKey is the attribute Key conforming to the
+ // "k8s.replicaset.uid" semantic conventions. It represents the UID of the
+ // ReplicaSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SReplicaSetUIDKey = attribute.Key("k8s.replicaset.uid")
+
+ // K8SReplicaSetNameKey is the attribute Key conforming to the
+ // "k8s.replicaset.name" semantic conventions. It represents the name of
+ // the ReplicaSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ K8SReplicaSetNameKey = attribute.Key("k8s.replicaset.name")
+)
+
+// K8SReplicaSetUID returns an attribute KeyValue conforming to the
+// "k8s.replicaset.uid" semantic conventions. It represents the UID of the
+// ReplicaSet.
+func K8SReplicaSetUID(val string) attribute.KeyValue {
+ return K8SReplicaSetUIDKey.String(val)
+}
+
+// K8SReplicaSetName returns an attribute KeyValue conforming to the
+// "k8s.replicaset.name" semantic conventions. It represents the name of the
+// ReplicaSet.
+func K8SReplicaSetName(val string) attribute.KeyValue {
+ return K8SReplicaSetNameKey.String(val)
+}
+
+// A Kubernetes Deployment object.
+const (
+ // K8SDeploymentUIDKey is the attribute Key conforming to the
+ // "k8s.deployment.uid" semantic conventions. It represents the UID of the
+ // Deployment.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SDeploymentUIDKey = attribute.Key("k8s.deployment.uid")
+
+ // K8SDeploymentNameKey is the attribute Key conforming to the
+ // "k8s.deployment.name" semantic conventions. It represents the name of
+ // the Deployment.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ K8SDeploymentNameKey = attribute.Key("k8s.deployment.name")
+)
+
+// K8SDeploymentUID returns an attribute KeyValue conforming to the
+// "k8s.deployment.uid" semantic conventions. It represents the UID of the
+// Deployment.
+func K8SDeploymentUID(val string) attribute.KeyValue {
+ return K8SDeploymentUIDKey.String(val)
+}
+
+// K8SDeploymentName returns an attribute KeyValue conforming to the
+// "k8s.deployment.name" semantic conventions. It represents the name of the
+// Deployment.
+func K8SDeploymentName(val string) attribute.KeyValue {
+ return K8SDeploymentNameKey.String(val)
+}
+
+// A Kubernetes StatefulSet object.
+const (
+ // K8SStatefulSetUIDKey is the attribute Key conforming to the
+ // "k8s.statefulset.uid" semantic conventions. It represents the UID of the
+ // StatefulSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SStatefulSetUIDKey = attribute.Key("k8s.statefulset.uid")
+
+ // K8SStatefulSetNameKey is the attribute Key conforming to the
+ // "k8s.statefulset.name" semantic conventions. It represents the name of
+ // the StatefulSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ K8SStatefulSetNameKey = attribute.Key("k8s.statefulset.name")
+)
+
+// K8SStatefulSetUID returns an attribute KeyValue conforming to the
+// "k8s.statefulset.uid" semantic conventions. It represents the UID of the
+// StatefulSet.
+func K8SStatefulSetUID(val string) attribute.KeyValue {
+ return K8SStatefulSetUIDKey.String(val)
+}
+
+// K8SStatefulSetName returns an attribute KeyValue conforming to the
+// "k8s.statefulset.name" semantic conventions. It represents the name of the
+// StatefulSet.
+func K8SStatefulSetName(val string) attribute.KeyValue {
+ return K8SStatefulSetNameKey.String(val)
+}
+
+// A Kubernetes DaemonSet object.
+const (
+ // K8SDaemonSetUIDKey is the attribute Key conforming to the
+ // "k8s.daemonset.uid" semantic conventions. It represents the UID of the
+ // DaemonSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SDaemonSetUIDKey = attribute.Key("k8s.daemonset.uid")
+
+ // K8SDaemonSetNameKey is the attribute Key conforming to the
+ // "k8s.daemonset.name" semantic conventions. It represents the name of the
+ // DaemonSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ K8SDaemonSetNameKey = attribute.Key("k8s.daemonset.name")
+)
+
+// K8SDaemonSetUID returns an attribute KeyValue conforming to the
+// "k8s.daemonset.uid" semantic conventions. It represents the UID of the
+// DaemonSet.
+func K8SDaemonSetUID(val string) attribute.KeyValue {
+ return K8SDaemonSetUIDKey.String(val)
+}
+
+// K8SDaemonSetName returns an attribute KeyValue conforming to the
+// "k8s.daemonset.name" semantic conventions. It represents the name of the
+// DaemonSet.
+func K8SDaemonSetName(val string) attribute.KeyValue {
+ return K8SDaemonSetNameKey.String(val)
+}
+
+// A Kubernetes Job object.
+const (
+ // K8SJobUIDKey is the attribute Key conforming to the "k8s.job.uid"
+ // semantic conventions. It represents the UID of the Job.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SJobUIDKey = attribute.Key("k8s.job.uid")
+
+ // K8SJobNameKey is the attribute Key conforming to the "k8s.job.name"
+ // semantic conventions. It represents the name of the Job.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ K8SJobNameKey = attribute.Key("k8s.job.name")
+)
+
+// K8SJobUID returns an attribute KeyValue conforming to the "k8s.job.uid"
+// semantic conventions. It represents the UID of the Job.
+func K8SJobUID(val string) attribute.KeyValue {
+ return K8SJobUIDKey.String(val)
+}
+
+// K8SJobName returns an attribute KeyValue conforming to the "k8s.job.name"
+// semantic conventions. It represents the name of the Job.
+func K8SJobName(val string) attribute.KeyValue {
+ return K8SJobNameKey.String(val)
+}
+
+// A Kubernetes CronJob object.
+const (
+ // K8SCronJobUIDKey is the attribute Key conforming to the
+ // "k8s.cronjob.uid" semantic conventions. It represents the UID of the
+ // CronJob.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SCronJobUIDKey = attribute.Key("k8s.cronjob.uid")
+
+ // K8SCronJobNameKey is the attribute Key conforming to the
+ // "k8s.cronjob.name" semantic conventions. It represents the name of the
+ // CronJob.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ K8SCronJobNameKey = attribute.Key("k8s.cronjob.name")
+)
+
+// K8SCronJobUID returns an attribute KeyValue conforming to the
+// "k8s.cronjob.uid" semantic conventions. It represents the UID of the
+// CronJob.
+func K8SCronJobUID(val string) attribute.KeyValue {
+ return K8SCronJobUIDKey.String(val)
+}
+
+// K8SCronJobName returns an attribute KeyValue conforming to the
+// "k8s.cronjob.name" semantic conventions. It represents the name of the
+// CronJob.
+func K8SCronJobName(val string) attribute.KeyValue {
+ return K8SCronJobNameKey.String(val)
+}
+
+// The operating system (OS) on which the process represented by this resource
+// is running.
+const (
+ // OSTypeKey is the attribute Key conforming to the "os.type" semantic
+ // conventions. It represents the operating system type.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ OSTypeKey = attribute.Key("os.type")
+
+ // OSDescriptionKey is the attribute Key conforming to the "os.description"
+ // semantic conventions. It represents the human readable (not intended to
+ // be parsed) OS version information, like e.g. reported by `ver` or
+ // `lsb_release -a` commands.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1
+ // LTS'
+ OSDescriptionKey = attribute.Key("os.description")
+
+ // OSNameKey is the attribute Key conforming to the "os.name" semantic
+ // conventions. It represents the human readable operating system name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'iOS', 'Android', 'Ubuntu'
+ OSNameKey = attribute.Key("os.name")
+
+ // OSVersionKey is the attribute Key conforming to the "os.version"
+ // semantic conventions. It represents the version string of the operating
+ // system as defined in [Version
+ // Attributes](../../resource/semantic_conventions/README.md#version-attributes).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '14.2.1', '18.04.1'
+ OSVersionKey = attribute.Key("os.version")
+)
+
+var (
+ // Microsoft Windows
+ OSTypeWindows = OSTypeKey.String("windows")
+ // Linux
+ OSTypeLinux = OSTypeKey.String("linux")
+ // Apple Darwin
+ OSTypeDarwin = OSTypeKey.String("darwin")
+ // FreeBSD
+ OSTypeFreeBSD = OSTypeKey.String("freebsd")
+ // NetBSD
+ OSTypeNetBSD = OSTypeKey.String("netbsd")
+ // OpenBSD
+ OSTypeOpenBSD = OSTypeKey.String("openbsd")
+ // DragonFly BSD
+ OSTypeDragonflyBSD = OSTypeKey.String("dragonflybsd")
+ // HP-UX (Hewlett Packard Unix)
+ OSTypeHPUX = OSTypeKey.String("hpux")
+ // AIX (Advanced Interactive eXecutive)
+ OSTypeAIX = OSTypeKey.String("aix")
+ // SunOS, Oracle Solaris
+ OSTypeSolaris = OSTypeKey.String("solaris")
+ // IBM z/OS
+ OSTypeZOS = OSTypeKey.String("z_os")
+)
+
+// OSDescription returns an attribute KeyValue conforming to the
+// "os.description" semantic conventions. It represents the human readable (not
+// intended to be parsed) OS version information, like e.g. reported by `ver`
+// or `lsb_release -a` commands.
+func OSDescription(val string) attribute.KeyValue {
+ return OSDescriptionKey.String(val)
+}
+
+// OSName returns an attribute KeyValue conforming to the "os.name" semantic
+// conventions. It represents the human readable operating system name.
+func OSName(val string) attribute.KeyValue {
+ return OSNameKey.String(val)
+}
+
+// OSVersion returns an attribute KeyValue conforming to the "os.version"
+// semantic conventions. It represents the version string of the operating
+// system as defined in [Version
+// Attributes](../../resource/semantic_conventions/README.md#version-attributes).
+func OSVersion(val string) attribute.KeyValue {
+ return OSVersionKey.String(val)
+}
+
+// An operating system process.
+const (
+ // ProcessPIDKey is the attribute Key conforming to the "process.pid"
+ // semantic conventions. It represents the process identifier (PID).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 1234
+ ProcessPIDKey = attribute.Key("process.pid")
+
+ // ProcessParentPIDKey is the attribute Key conforming to the
+ // "process.parent_pid" semantic conventions. It represents the parent
+ // Process identifier (PID).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 111
+ ProcessParentPIDKey = attribute.Key("process.parent_pid")
+
+ // ProcessExecutableNameKey is the attribute Key conforming to the
+ // "process.executable.name" semantic conventions. It represents the name
+ // of the process executable. On Linux based systems, can be set to the
+ // `Name` in `proc/[pid]/status`. On Windows, can be set to the base name
+ // of `GetProcessImageFileNameW`.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (See alternative attributes
+ // below.)
+ // Stability: stable
+ // Examples: 'otelcol'
+ ProcessExecutableNameKey = attribute.Key("process.executable.name")
+
+ // ProcessExecutablePathKey is the attribute Key conforming to the
+ // "process.executable.path" semantic conventions. It represents the full
+ // path to the process executable. On Linux based systems, can be set to
+ // the target of `proc/[pid]/exe`. On Windows, can be set to the result of
+ // `GetProcessImageFileNameW`.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (See alternative attributes
+ // below.)
+ // Stability: stable
+ // Examples: '/usr/bin/cmd/otelcol'
+ ProcessExecutablePathKey = attribute.Key("process.executable.path")
+
+ // ProcessCommandKey is the attribute Key conforming to the
+ // "process.command" semantic conventions. It represents the command used
+ // to launch the process (i.e. the command name). On Linux based systems,
+ // can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can
+ // be set to the first parameter extracted from `GetCommandLineW`.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (See alternative attributes
+ // below.)
+ // Stability: stable
+ // Examples: 'cmd/otelcol'
+ ProcessCommandKey = attribute.Key("process.command")
+
+ // ProcessCommandLineKey is the attribute Key conforming to the
+ // "process.command_line" semantic conventions. It represents the full
+ // command used to launch the process as a single string representing the
+ // full command. On Windows, can be set to the result of `GetCommandLineW`.
+ // Do not set this if you have to assemble it just for monitoring; use
+ // `process.command_args` instead.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (See alternative attributes
+ // below.)
+ // Stability: stable
+ // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
+ ProcessCommandLineKey = attribute.Key("process.command_line")
+
+ // ProcessCommandArgsKey is the attribute Key conforming to the
+ // "process.command_args" semantic conventions. It represents the all the
+ // command arguments (including the command/executable itself) as received
+ // by the process. On Linux-based systems (and some other Unixoid systems
+ // supporting procfs), can be set according to the list of null-delimited
+ // strings extracted from `proc/[pid]/cmdline`. For libc-based executables,
+ // this would be the full argv vector passed to `main`.
+ //
+ // Type: string[]
+ // RequirementLevel: ConditionallyRequired (See alternative attributes
+ // below.)
+ // Stability: stable
+ // Examples: 'cmd/otecol', '--config=config.yaml'
+ ProcessCommandArgsKey = attribute.Key("process.command_args")
+
+ // ProcessOwnerKey is the attribute Key conforming to the "process.owner"
+ // semantic conventions. It represents the username of the user that owns
+ // the process.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'root'
+ ProcessOwnerKey = attribute.Key("process.owner")
+)
+
+// ProcessPID returns an attribute KeyValue conforming to the "process.pid"
+// semantic conventions. It represents the process identifier (PID).
+func ProcessPID(val int) attribute.KeyValue {
+ return ProcessPIDKey.Int(val)
+}
+
+// ProcessParentPID returns an attribute KeyValue conforming to the
+// "process.parent_pid" semantic conventions. It represents the parent Process
+// identifier (PID).
+func ProcessParentPID(val int) attribute.KeyValue {
+ return ProcessParentPIDKey.Int(val)
+}
+
+// ProcessExecutableName returns an attribute KeyValue conforming to the
+// "process.executable.name" semantic conventions. It represents the name of
+// the process executable. On Linux based systems, can be set to the `Name` in
+// `proc/[pid]/status`. On Windows, can be set to the base name of
+// `GetProcessImageFileNameW`.
+func ProcessExecutableName(val string) attribute.KeyValue {
+ return ProcessExecutableNameKey.String(val)
+}
+
+// ProcessExecutablePath returns an attribute KeyValue conforming to the
+// "process.executable.path" semantic conventions. It represents the full path
+// to the process executable. On Linux based systems, can be set to the target
+// of `proc/[pid]/exe`. On Windows, can be set to the result of
+// `GetProcessImageFileNameW`.
+func ProcessExecutablePath(val string) attribute.KeyValue {
+ return ProcessExecutablePathKey.String(val)
+}
+
+// ProcessCommand returns an attribute KeyValue conforming to the
+// "process.command" semantic conventions. It represents the command used to
+// launch the process (i.e. the command name). On Linux based systems, can be
+// set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to
+// the first parameter extracted from `GetCommandLineW`.
+func ProcessCommand(val string) attribute.KeyValue {
+ return ProcessCommandKey.String(val)
+}
+
+// ProcessCommandLine returns an attribute KeyValue conforming to the
+// "process.command_line" semantic conventions. It represents the full command
+// used to launch the process as a single string representing the full command.
+// On Windows, can be set to the result of `GetCommandLineW`. Do not set this
+// if you have to assemble it just for monitoring; use `process.command_args`
+// instead.
+func ProcessCommandLine(val string) attribute.KeyValue {
+ return ProcessCommandLineKey.String(val)
+}
+
+// ProcessCommandArgs returns an attribute KeyValue conforming to the
+// "process.command_args" semantic conventions. It represents the all the
+// command arguments (including the command/executable itself) as received by
+// the process. On Linux-based systems (and some other Unixoid systems
+// supporting procfs), can be set according to the list of null-delimited
+// strings extracted from `proc/[pid]/cmdline`. For libc-based executables,
+// this would be the full argv vector passed to `main`.
+func ProcessCommandArgs(val ...string) attribute.KeyValue {
+ return ProcessCommandArgsKey.StringSlice(val)
+}
+
+// ProcessOwner returns an attribute KeyValue conforming to the
+// "process.owner" semantic conventions. It represents the username of the user
+// that owns the process.
+func ProcessOwner(val string) attribute.KeyValue {
+ return ProcessOwnerKey.String(val)
+}
+
+// The single (language) runtime instance which is monitored.
+const (
+ // ProcessRuntimeNameKey is the attribute Key conforming to the
+ // "process.runtime.name" semantic conventions. It represents the name of
+ // the runtime of this process. For compiled native binaries, this SHOULD
+ // be the name of the compiler.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'OpenJDK Runtime Environment'
+ ProcessRuntimeNameKey = attribute.Key("process.runtime.name")
+
+ // ProcessRuntimeVersionKey is the attribute Key conforming to the
+ // "process.runtime.version" semantic conventions. It represents the
+ // version of the runtime of this process, as returned by the runtime
+ // without modification.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '14.0.2'
+ ProcessRuntimeVersionKey = attribute.Key("process.runtime.version")
+
+ // ProcessRuntimeDescriptionKey is the attribute Key conforming to the
+ // "process.runtime.description" semantic conventions. It represents an
+ // additional description about the runtime of the process, for example a
+ // specific vendor customization of the runtime environment.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
+ ProcessRuntimeDescriptionKey = attribute.Key("process.runtime.description")
+)
+
+// ProcessRuntimeName returns an attribute KeyValue conforming to the
+// "process.runtime.name" semantic conventions. It represents the name of the
+// runtime of this process. For compiled native binaries, this SHOULD be the
+// name of the compiler.
+func ProcessRuntimeName(val string) attribute.KeyValue {
+ return ProcessRuntimeNameKey.String(val)
+}
+
+// ProcessRuntimeVersion returns an attribute KeyValue conforming to the
+// "process.runtime.version" semantic conventions. It represents the version of
+// the runtime of this process, as returned by the runtime without
+// modification.
+func ProcessRuntimeVersion(val string) attribute.KeyValue {
+ return ProcessRuntimeVersionKey.String(val)
+}
+
+// ProcessRuntimeDescription returns an attribute KeyValue conforming to the
+// "process.runtime.description" semantic conventions. It represents an
+// additional description about the runtime of the process, for example a
+// specific vendor customization of the runtime environment.
+func ProcessRuntimeDescription(val string) attribute.KeyValue {
+ return ProcessRuntimeDescriptionKey.String(val)
}
// A service instance.
@@ -2196,7 +1739,7 @@ const (
//
// Type: string
// RequirementLevel: Required
- // Stability: experimental
+ // Stability: stable
// Examples: 'shoppingcart'
// Note: MUST be the same for all instances of horizontally scaled
// services. If the value was not specified, SDKs MUST fallback to
@@ -2205,17 +1748,6 @@ const (
// `unknown_service:bash`. If `process.executable.name` is not available,
// the value MUST be set to `unknown_service`.
ServiceNameKey = attribute.Key("service.name")
-
- // ServiceVersionKey is the attribute Key conforming to the
- // "service.version" semantic conventions. It represents the version string
- // of the service API or implementation. The format is not defined by these
- // conventions.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2.0.0', 'a01dbef8a'
- ServiceVersionKey = attribute.Key("service.version")
)
// ServiceName returns an attribute KeyValue conforming to the
@@ -2225,23 +1757,33 @@ func ServiceName(val string) attribute.KeyValue {
return ServiceNameKey.String(val)
}
-// ServiceVersion returns an attribute KeyValue conforming to the
-// "service.version" semantic conventions. It represents the version string of
-// the service API or implementation. The format is not defined by these
-// conventions.
-func ServiceVersion(val string) attribute.KeyValue {
- return ServiceVersionKey.String(val)
-}
-
// A service instance.
const (
+ // ServiceNamespaceKey is the attribute Key conforming to the
+ // "service.namespace" semantic conventions. It represents a namespace for
+ // `service.name`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Shop'
+ // Note: A string value having a meaning that helps to distinguish a group
+ // of services, for example the team name that owns a group of services.
+ // `service.name` is expected to be unique within the same namespace. If
+ // `service.namespace` is not specified in the Resource then `service.name`
+ // is expected to be unique for all services that have no explicit
+ // namespace defined (so the empty/unspecified namespace is simply one more
+ // valid namespace). Zero-length namespace string is assumed equal to
+ // unspecified namespace.
+ ServiceNamespaceKey = attribute.Key("service.namespace")
+
// ServiceInstanceIDKey is the attribute Key conforming to the
// "service.instance.id" semantic conventions. It represents the string ID
// of the service instance.
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'my-k8s-pod-deployment-1',
// '627cc493-f310-47de-96bd-71410b7dec09'
// Note: MUST be unique for each instance of the same
@@ -2259,32 +1801,17 @@ const (
// Version 5, see RFC 4122 for more recommendations).
ServiceInstanceIDKey = attribute.Key("service.instance.id")
- // ServiceNamespaceKey is the attribute Key conforming to the
- // "service.namespace" semantic conventions. It represents a namespace for
- // `service.name`.
+ // ServiceVersionKey is the attribute Key conforming to the
+ // "service.version" semantic conventions. It represents the version string
+ // of the service API or implementation.
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Shop'
- // Note: A string value having a meaning that helps to distinguish a group
- // of services, for example the team name that owns a group of services.
- // `service.name` is expected to be unique within the same namespace. If
- // `service.namespace` is not specified in the Resource then `service.name`
- // is expected to be unique for all services that have no explicit
- // namespace defined (so the empty/unspecified namespace is simply one more
- // valid namespace). Zero-length namespace string is assumed equal to
- // unspecified namespace.
- ServiceNamespaceKey = attribute.Key("service.namespace")
+ // Stability: stable
+ // Examples: '2.0.0'
+ ServiceVersionKey = attribute.Key("service.version")
)
-// ServiceInstanceID returns an attribute KeyValue conforming to the
-// "service.instance.id" semantic conventions. It represents the string ID of
-// the service instance.
-func ServiceInstanceID(val string) attribute.KeyValue {
- return ServiceInstanceIDKey.String(val)
-}
-
// ServiceNamespace returns an attribute KeyValue conforming to the
// "service.namespace" semantic conventions. It represents a namespace for
// `service.name`.
@@ -2292,46 +1819,49 @@ func ServiceNamespace(val string) attribute.KeyValue {
return ServiceNamespaceKey.String(val)
}
+// ServiceInstanceID returns an attribute KeyValue conforming to the
+// "service.instance.id" semantic conventions. It represents the string ID of
+// the service instance.
+func ServiceInstanceID(val string) attribute.KeyValue {
+ return ServiceInstanceIDKey.String(val)
+}
+
+// ServiceVersion returns an attribute KeyValue conforming to the
+// "service.version" semantic conventions. It represents the version string of
+// the service API or implementation.
+func ServiceVersion(val string) attribute.KeyValue {
+ return ServiceVersionKey.String(val)
+}
+
// The telemetry SDK used to capture data recorded by the instrumentation
// libraries.
const (
- // TelemetrySDKLanguageKey is the attribute Key conforming to the
- // "telemetry.sdk.language" semantic conventions. It represents the
- // language of the telemetry SDK.
- //
- // Type: Enum
- // RequirementLevel: Required
- // Stability: experimental
- TelemetrySDKLanguageKey = attribute.Key("telemetry.sdk.language")
-
// TelemetrySDKNameKey is the attribute Key conforming to the
// "telemetry.sdk.name" semantic conventions. It represents the name of the
// telemetry SDK as defined above.
//
// Type: string
// RequirementLevel: Required
- // Stability: experimental
+ // Stability: stable
// Examples: 'opentelemetry'
- // Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute
- // to `opentelemetry`.
- // If another SDK, like a fork or a vendor-provided implementation, is
- // used, this SDK MUST set the
- // `telemetry.sdk.name` attribute to the fully-qualified class or module
- // name of this SDK's main entry point
- // or another suitable identifier depending on the language.
- // The identifier `opentelemetry` is reserved and MUST NOT be used in this
- // case.
- // All custom identifiers SHOULD be stable across different versions of an
- // implementation.
TelemetrySDKNameKey = attribute.Key("telemetry.sdk.name")
+ // TelemetrySDKLanguageKey is the attribute Key conforming to the
+ // "telemetry.sdk.language" semantic conventions. It represents the
+ // language of the telemetry SDK.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ TelemetrySDKLanguageKey = attribute.Key("telemetry.sdk.language")
+
// TelemetrySDKVersionKey is the attribute Key conforming to the
// "telemetry.sdk.version" semantic conventions. It represents the version
// string of the telemetry SDK.
//
// Type: string
// RequirementLevel: Required
- // Stability: experimental
+ // Stability: stable
// Examples: '1.2.3'
TelemetrySDKVersionKey = attribute.Key("telemetry.sdk.version")
)
@@ -2355,12 +1885,10 @@ var (
TelemetrySDKLanguagePython = TelemetrySDKLanguageKey.String("python")
// ruby
TelemetrySDKLanguageRuby = TelemetrySDKLanguageKey.String("ruby")
- // rust
- TelemetrySDKLanguageRust = TelemetrySDKLanguageKey.String("rust")
- // swift
- TelemetrySDKLanguageSwift = TelemetrySDKLanguageKey.String("swift")
// webjs
TelemetrySDKLanguageWebjs = TelemetrySDKLanguageKey.String("webjs")
+ // swift
+ TelemetrySDKLanguageSwift = TelemetrySDKLanguageKey.String("swift")
)
// TelemetrySDKName returns an attribute KeyValue conforming to the
@@ -2380,67 +1908,33 @@ func TelemetrySDKVersion(val string) attribute.KeyValue {
// The telemetry SDK used to capture data recorded by the instrumentation
// libraries.
const (
- // TelemetryDistroNameKey is the attribute Key conforming to the
- // "telemetry.distro.name" semantic conventions. It represents the name of
- // the auto instrumentation agent or distribution, if used.
+ // TelemetryAutoVersionKey is the attribute Key conforming to the
+ // "telemetry.auto.version" semantic conventions. It represents the version
+ // string of the auto instrumentation agent, if used.
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'parts-unlimited-java'
- // Note: Official auto instrumentation agents and distributions SHOULD set
- // the `telemetry.distro.name` attribute to
- // a string starting with `opentelemetry-`, e.g.
- // `opentelemetry-java-instrumentation`.
- TelemetryDistroNameKey = attribute.Key("telemetry.distro.name")
-
- // TelemetryDistroVersionKey is the attribute Key conforming to the
- // "telemetry.distro.version" semantic conventions. It represents the
- // version string of the auto instrumentation agent or distribution, if
- // used.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '1.2.3'
- TelemetryDistroVersionKey = attribute.Key("telemetry.distro.version")
+ TelemetryAutoVersionKey = attribute.Key("telemetry.auto.version")
)
-// TelemetryDistroName returns an attribute KeyValue conforming to the
-// "telemetry.distro.name" semantic conventions. It represents the name of the
-// auto instrumentation agent or distribution, if used.
-func TelemetryDistroName(val string) attribute.KeyValue {
- return TelemetryDistroNameKey.String(val)
-}
-
-// TelemetryDistroVersion returns an attribute KeyValue conforming to the
-// "telemetry.distro.version" semantic conventions. It represents the version
-// string of the auto instrumentation agent or distribution, if used.
-func TelemetryDistroVersion(val string) attribute.KeyValue {
- return TelemetryDistroVersionKey.String(val)
+// TelemetryAutoVersion returns an attribute KeyValue conforming to the
+// "telemetry.auto.version" semantic conventions. It represents the version
+// string of the auto instrumentation agent, if used.
+func TelemetryAutoVersion(val string) attribute.KeyValue {
+ return TelemetryAutoVersionKey.String(val)
}
// Resource describing the packaged software running the application code. Web
// engines are typically executed using process.runtime.
const (
- // WebEngineDescriptionKey is the attribute Key conforming to the
- // "webengine.description" semantic conventions. It represents the
- // additional description of the web engine (e.g. detailed version and
- // edition information).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) -
- // 2.2.2.Final'
- WebEngineDescriptionKey = attribute.Key("webengine.description")
-
// WebEngineNameKey is the attribute Key conforming to the "webengine.name"
// semantic conventions. It represents the name of the web engine.
//
// Type: string
// RequirementLevel: Required
- // Stability: experimental
+ // Stability: stable
// Examples: 'WildFly'
WebEngineNameKey = attribute.Key("webengine.name")
@@ -2450,18 +1944,22 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '21.0.0'
WebEngineVersionKey = attribute.Key("webengine.version")
-)
-// WebEngineDescription returns an attribute KeyValue conforming to the
-// "webengine.description" semantic conventions. It represents the additional
-// description of the web engine (e.g. detailed version and edition
-// information).
-func WebEngineDescription(val string) attribute.KeyValue {
- return WebEngineDescriptionKey.String(val)
-}
+ // WebEngineDescriptionKey is the attribute Key conforming to the
+ // "webengine.description" semantic conventions. It represents the
+ // additional description of the web engine (e.g. detailed version and
+ // edition information).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) -
+ // 2.2.2.Final'
+ WebEngineDescriptionKey = attribute.Key("webengine.description")
+)
// WebEngineName returns an attribute KeyValue conforming to the
// "webengine.name" semantic conventions. It represents the name of the web
@@ -2477,6 +1975,14 @@ func WebEngineVersion(val string) attribute.KeyValue {
return WebEngineVersionKey.String(val)
}
+// WebEngineDescription returns an attribute KeyValue conforming to the
+// "webengine.description" semantic conventions. It represents the additional
+// description of the web engine (e.g. detailed version and edition
+// information).
+func WebEngineDescription(val string) attribute.KeyValue {
+ return WebEngineDescriptionKey.String(val)
+}
+
// Attributes used by non-OTLP exporters to represent OpenTelemetry Scope's
// concepts.
const (
@@ -2486,7 +1992,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'io.opentelemetry.contrib.mongodb'
OTelScopeNameKey = attribute.Key("otel.scope.name")
@@ -2496,7 +2002,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: '1.0.0'
OTelScopeVersionKey = attribute.Key("otel.scope.version")
)
@@ -2519,38 +2025,36 @@ func OTelScopeVersion(val string) attribute.KeyValue {
// Scope's concepts.
const (
// OTelLibraryNameKey is the attribute Key conforming to the
- // "otel.library.name" semantic conventions.
+ // "otel.library.name" semantic conventions. It represents the deprecated,
+ // use the `otel.scope.name` attribute.
//
// Type: string
// RequirementLevel: Optional
// Stability: deprecated
// Examples: 'io.opentelemetry.contrib.mongodb'
- // Deprecated: use the `otel.scope.name` attribute.
OTelLibraryNameKey = attribute.Key("otel.library.name")
// OTelLibraryVersionKey is the attribute Key conforming to the
- // "otel.library.version" semantic conventions.
+ // "otel.library.version" semantic conventions. It represents the
+ // deprecated, use the `otel.scope.version` attribute.
//
// Type: string
// RequirementLevel: Optional
// Stability: deprecated
// Examples: '1.0.0'
- // Deprecated: use the `otel.scope.version` attribute.
OTelLibraryVersionKey = attribute.Key("otel.library.version")
)
// OTelLibraryName returns an attribute KeyValue conforming to the
-// "otel.library.name" semantic conventions.
-//
-// Deprecated: use the `otel.scope.name` attribute.
+// "otel.library.name" semantic conventions. It represents the deprecated, use
+// the `otel.scope.name` attribute.
func OTelLibraryName(val string) attribute.KeyValue {
return OTelLibraryNameKey.String(val)
}
// OTelLibraryVersion returns an attribute KeyValue conforming to the
-// "otel.library.version" semantic conventions.
-//
-// Deprecated: use the `otel.scope.version` attribute.
+// "otel.library.version" semantic conventions. It represents the deprecated,
+// use the `otel.scope.version` attribute.
func OTelLibraryVersion(val string) attribute.KeyValue {
return OTelLibraryVersionKey.String(val)
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/schema.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/schema.go
new file mode 100644
index 0000000000..95d0210e38
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/schema.go
@@ -0,0 +1,9 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
+
+// SchemaURL is the schema URL that matches the version of the semantic conventions
+// that this package defines. Semconv packages starting from v1.4.0 must declare
+// non-empty schema URL in the form https://opentelemetry.io/schemas/
+const SchemaURL = "https://opentelemetry.io/schemas/1.20.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/trace.go
new file mode 100644
index 0000000000..90b1b0452c
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.20.0/trace.go
@@ -0,0 +1,2599 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated from semantic convention specification. DO NOT EDIT.
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.20.0"
+
+import "go.opentelemetry.io/otel/attribute"
+
+// The shared attributes used to report a single exception associated with a
+// span or log.
+const (
+ // ExceptionTypeKey is the attribute Key conforming to the "exception.type"
+ // semantic conventions. It represents the type of the exception (its
+ // fully-qualified class name, if applicable). The dynamic type of the
+ // exception should be preferred over the static type in languages that
+ // support it.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'java.net.ConnectException', 'OSError'
+ ExceptionTypeKey = attribute.Key("exception.type")
+
+ // ExceptionMessageKey is the attribute Key conforming to the
+ // "exception.message" semantic conventions. It represents the exception
+ // message.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Division by zero', "Can't convert 'int' object to str
+ // implicitly"
+ ExceptionMessageKey = attribute.Key("exception.message")
+
+ // ExceptionStacktraceKey is the attribute Key conforming to the
+ // "exception.stacktrace" semantic conventions. It represents a stacktrace
+ // as a string in the natural representation for the language runtime. The
+ // representation is to be determined and documented by each language SIG.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
+ // exception\\n at '
+ // 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
+ // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
+ // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
+ ExceptionStacktraceKey = attribute.Key("exception.stacktrace")
+)
+
+// ExceptionType returns an attribute KeyValue conforming to the
+// "exception.type" semantic conventions. It represents the type of the
+// exception (its fully-qualified class name, if applicable). The dynamic type
+// of the exception should be preferred over the static type in languages that
+// support it.
+func ExceptionType(val string) attribute.KeyValue {
+ return ExceptionTypeKey.String(val)
+}
+
+// ExceptionMessage returns an attribute KeyValue conforming to the
+// "exception.message" semantic conventions. It represents the exception
+// message.
+func ExceptionMessage(val string) attribute.KeyValue {
+ return ExceptionMessageKey.String(val)
+}
+
+// ExceptionStacktrace returns an attribute KeyValue conforming to the
+// "exception.stacktrace" semantic conventions. It represents a stacktrace as a
+// string in the natural representation for the language runtime. The
+// representation is to be determined and documented by each language SIG.
+func ExceptionStacktrace(val string) attribute.KeyValue {
+ return ExceptionStacktraceKey.String(val)
+}
+
+// The attributes described in this section are rather generic. They may be
+// used in any Log Record they apply to.
+const (
+ // LogRecordUIDKey is the attribute Key conforming to the "log.record.uid"
+ // semantic conventions. It represents a unique identifier for the Log
+ // Record.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '01ARZ3NDEKTSV4RRFFQ69G5FAV'
+ // Note: If an id is provided, other log records with the same id will be
+ // considered duplicates and can be removed safely. This means, that two
+ // distinguishable log records MUST have different values.
+ // The id MAY be an [Universally Unique Lexicographically Sortable
+ // Identifier (ULID)](https://github.com/ulid/spec), but other identifiers
+ // (e.g. UUID) may be used as needed.
+ LogRecordUIDKey = attribute.Key("log.record.uid")
+)
+
+// LogRecordUID returns an attribute KeyValue conforming to the
+// "log.record.uid" semantic conventions. It represents a unique identifier for
+// the Log Record.
+func LogRecordUID(val string) attribute.KeyValue {
+ return LogRecordUIDKey.String(val)
+}
+
+// Span attributes used by AWS Lambda (in addition to general `faas`
+// attributes).
+const (
+ // AWSLambdaInvokedARNKey is the attribute Key conforming to the
+ // "aws.lambda.invoked_arn" semantic conventions. It represents the full
+ // invoked ARN as provided on the `Context` passed to the function
+ // (`Lambda-Runtime-Invoked-Function-ARN` header on the
+ // `/runtime/invocation/next` applicable).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
+ // Note: This may be different from `cloud.resource_id` if an alias is
+ // involved.
+ AWSLambdaInvokedARNKey = attribute.Key("aws.lambda.invoked_arn")
+)
+
+// AWSLambdaInvokedARN returns an attribute KeyValue conforming to the
+// "aws.lambda.invoked_arn" semantic conventions. It represents the full
+// invoked ARN as provided on the `Context` passed to the function
+// (`Lambda-Runtime-Invoked-Function-ARN` header on the
+// `/runtime/invocation/next` applicable).
+func AWSLambdaInvokedARN(val string) attribute.KeyValue {
+ return AWSLambdaInvokedARNKey.String(val)
+}
+
+// Attributes for CloudEvents. CloudEvents is a specification on how to define
+// event data in a standard way. These attributes can be attached to spans when
+// performing operations with CloudEvents, regardless of the protocol being
+// used.
+const (
+ // CloudeventsEventIDKey is the attribute Key conforming to the
+ // "cloudevents.event_id" semantic conventions. It represents the
+ // [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id)
+ // uniquely identifies the event.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: '123e4567-e89b-12d3-a456-426614174000', '0001'
+ CloudeventsEventIDKey = attribute.Key("cloudevents.event_id")
+
+ // CloudeventsEventSourceKey is the attribute Key conforming to the
+ // "cloudevents.event_source" semantic conventions. It represents the
+ // [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1)
+ // identifies the context in which an event happened.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'https://github.com/cloudevents',
+ // '/cloudevents/spec/pull/123', 'my-service'
+ CloudeventsEventSourceKey = attribute.Key("cloudevents.event_source")
+
+ // CloudeventsEventSpecVersionKey is the attribute Key conforming to the
+ // "cloudevents.event_spec_version" semantic conventions. It represents the
+ // [version of the CloudEvents
+ // specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion)
+ // which the event uses.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '1.0'
+ CloudeventsEventSpecVersionKey = attribute.Key("cloudevents.event_spec_version")
+
+ // CloudeventsEventTypeKey is the attribute Key conforming to the
+ // "cloudevents.event_type" semantic conventions. It represents the
+ // [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type)
+ // contains a value describing the type of event related to the originating
+ // occurrence.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'com.github.pull_request.opened',
+ // 'com.example.object.deleted.v2'
+ CloudeventsEventTypeKey = attribute.Key("cloudevents.event_type")
+
+ // CloudeventsEventSubjectKey is the attribute Key conforming to the
+ // "cloudevents.event_subject" semantic conventions. It represents the
+ // [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject)
+ // of the event in the context of the event producer (identified by
+ // source).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'mynewfile.jpg'
+ CloudeventsEventSubjectKey = attribute.Key("cloudevents.event_subject")
+)
+
+// CloudeventsEventID returns an attribute KeyValue conforming to the
+// "cloudevents.event_id" semantic conventions. It represents the
+// [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id)
+// uniquely identifies the event.
+func CloudeventsEventID(val string) attribute.KeyValue {
+ return CloudeventsEventIDKey.String(val)
+}
+
+// CloudeventsEventSource returns an attribute KeyValue conforming to the
+// "cloudevents.event_source" semantic conventions. It represents the
+// [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1)
+// identifies the context in which an event happened.
+func CloudeventsEventSource(val string) attribute.KeyValue {
+ return CloudeventsEventSourceKey.String(val)
+}
+
+// CloudeventsEventSpecVersion returns an attribute KeyValue conforming to
+// the "cloudevents.event_spec_version" semantic conventions. It represents the
+// [version of the CloudEvents
+// specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion)
+// which the event uses.
+func CloudeventsEventSpecVersion(val string) attribute.KeyValue {
+ return CloudeventsEventSpecVersionKey.String(val)
+}
+
+// CloudeventsEventType returns an attribute KeyValue conforming to the
+// "cloudevents.event_type" semantic conventions. It represents the
+// [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type)
+// contains a value describing the type of event related to the originating
+// occurrence.
+func CloudeventsEventType(val string) attribute.KeyValue {
+ return CloudeventsEventTypeKey.String(val)
+}
+
+// CloudeventsEventSubject returns an attribute KeyValue conforming to the
+// "cloudevents.event_subject" semantic conventions. It represents the
+// [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject)
+// of the event in the context of the event producer (identified by source).
+func CloudeventsEventSubject(val string) attribute.KeyValue {
+ return CloudeventsEventSubjectKey.String(val)
+}
+
+// Semantic conventions for the OpenTracing Shim
+const (
+ // OpentracingRefTypeKey is the attribute Key conforming to the
+ // "opentracing.ref_type" semantic conventions. It represents the
+ // parent-child Reference type
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Note: The causal relationship between a child Span and a parent Span.
+ OpentracingRefTypeKey = attribute.Key("opentracing.ref_type")
+)
+
+var (
+ // The parent Span depends on the child Span in some capacity
+ OpentracingRefTypeChildOf = OpentracingRefTypeKey.String("child_of")
+ // The parent Span does not depend in any way on the result of the child Span
+ OpentracingRefTypeFollowsFrom = OpentracingRefTypeKey.String("follows_from")
+)
+
+// The attributes used to perform database client calls.
+const (
+ // DBSystemKey is the attribute Key conforming to the "db.system" semantic
+ // conventions. It represents an identifier for the database management
+ // system (DBMS) product being used. See below for a list of well-known
+ // identifiers.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ DBSystemKey = attribute.Key("db.system")
+
+ // DBConnectionStringKey is the attribute Key conforming to the
+ // "db.connection_string" semantic conventions. It represents the
+ // connection string used to connect to the database. It is recommended to
+ // remove embedded credentials.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
+ DBConnectionStringKey = attribute.Key("db.connection_string")
+
+ // DBUserKey is the attribute Key conforming to the "db.user" semantic
+ // conventions. It represents the username for accessing the database.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'readonly_user', 'reporting_user'
+ DBUserKey = attribute.Key("db.user")
+
+ // DBJDBCDriverClassnameKey is the attribute Key conforming to the
+ // "db.jdbc.driver_classname" semantic conventions. It represents the
+ // fully-qualified class name of the [Java Database Connectivity
+ // (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/)
+ // driver used to connect.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'org.postgresql.Driver',
+ // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
+ DBJDBCDriverClassnameKey = attribute.Key("db.jdbc.driver_classname")
+
+ // DBNameKey is the attribute Key conforming to the "db.name" semantic
+ // conventions. It represents the this attribute is used to report the name
+ // of the database being accessed. For commands that switch the database,
+ // this should be set to the target database (even if the command fails).
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If applicable.)
+ // Stability: stable
+ // Examples: 'customers', 'main'
+ // Note: In some SQL databases, the database name to be used is called
+ // "schema name". In case there are multiple layers that could be
+ // considered for database name (e.g. Oracle instance name and schema
+ // name), the database name to be used is the more specific layer (e.g.
+ // Oracle schema name).
+ DBNameKey = attribute.Key("db.name")
+
+ // DBStatementKey is the attribute Key conforming to the "db.statement"
+ // semantic conventions. It represents the database statement being
+ // executed.
+ //
+ // Type: string
+ // RequirementLevel: Recommended (Should be collected by default only if
+ // there is sanitization that excludes sensitive information.)
+ // Stability: stable
+ // Examples: 'SELECT * FROM wuser_table', 'SET mykey "WuValue"'
+ DBStatementKey = attribute.Key("db.statement")
+
+ // DBOperationKey is the attribute Key conforming to the "db.operation"
+ // semantic conventions. It represents the name of the operation being
+ // executed, e.g. the [MongoDB command
+ // name](https://docs.mongodb.com/manual/reference/command/#database-operations)
+ // such as `findAndModify`, or the SQL keyword.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If `db.statement` is not
+ // applicable.)
+ // Stability: stable
+ // Examples: 'findAndModify', 'HMSET', 'SELECT'
+ // Note: When setting this to an SQL keyword, it is not recommended to
+ // attempt any client-side parsing of `db.statement` just to get this
+ // property, but it should be set if the operation name is provided by the
+ // library being instrumented. If the SQL statement has an ambiguous
+ // operation, or performs more than one operation, this value may be
+ // omitted.
+ DBOperationKey = attribute.Key("db.operation")
+)
+
+var (
+ // Some other SQL database. Fallback only. See notes
+ DBSystemOtherSQL = DBSystemKey.String("other_sql")
+ // Microsoft SQL Server
+ DBSystemMSSQL = DBSystemKey.String("mssql")
+ // Microsoft SQL Server Compact
+ DBSystemMssqlcompact = DBSystemKey.String("mssqlcompact")
+ // MySQL
+ DBSystemMySQL = DBSystemKey.String("mysql")
+ // Oracle Database
+ DBSystemOracle = DBSystemKey.String("oracle")
+ // IBM DB2
+ DBSystemDB2 = DBSystemKey.String("db2")
+ // PostgreSQL
+ DBSystemPostgreSQL = DBSystemKey.String("postgresql")
+ // Amazon Redshift
+ DBSystemRedshift = DBSystemKey.String("redshift")
+ // Apache Hive
+ DBSystemHive = DBSystemKey.String("hive")
+ // Cloudscape
+ DBSystemCloudscape = DBSystemKey.String("cloudscape")
+ // HyperSQL DataBase
+ DBSystemHSQLDB = DBSystemKey.String("hsqldb")
+ // Progress Database
+ DBSystemProgress = DBSystemKey.String("progress")
+ // SAP MaxDB
+ DBSystemMaxDB = DBSystemKey.String("maxdb")
+ // SAP HANA
+ DBSystemHanaDB = DBSystemKey.String("hanadb")
+ // Ingres
+ DBSystemIngres = DBSystemKey.String("ingres")
+ // FirstSQL
+ DBSystemFirstSQL = DBSystemKey.String("firstsql")
+ // EnterpriseDB
+ DBSystemEDB = DBSystemKey.String("edb")
+ // InterSystems Caché
+ DBSystemCache = DBSystemKey.String("cache")
+ // Adabas (Adaptable Database System)
+ DBSystemAdabas = DBSystemKey.String("adabas")
+ // Firebird
+ DBSystemFirebird = DBSystemKey.String("firebird")
+ // Apache Derby
+ DBSystemDerby = DBSystemKey.String("derby")
+ // FileMaker
+ DBSystemFilemaker = DBSystemKey.String("filemaker")
+ // Informix
+ DBSystemInformix = DBSystemKey.String("informix")
+ // InstantDB
+ DBSystemInstantDB = DBSystemKey.String("instantdb")
+ // InterBase
+ DBSystemInterbase = DBSystemKey.String("interbase")
+ // MariaDB
+ DBSystemMariaDB = DBSystemKey.String("mariadb")
+ // Netezza
+ DBSystemNetezza = DBSystemKey.String("netezza")
+ // Pervasive PSQL
+ DBSystemPervasive = DBSystemKey.String("pervasive")
+ // PointBase
+ DBSystemPointbase = DBSystemKey.String("pointbase")
+ // SQLite
+ DBSystemSqlite = DBSystemKey.String("sqlite")
+ // Sybase
+ DBSystemSybase = DBSystemKey.String("sybase")
+ // Teradata
+ DBSystemTeradata = DBSystemKey.String("teradata")
+ // Vertica
+ DBSystemVertica = DBSystemKey.String("vertica")
+ // H2
+ DBSystemH2 = DBSystemKey.String("h2")
+ // ColdFusion IMQ
+ DBSystemColdfusion = DBSystemKey.String("coldfusion")
+ // Apache Cassandra
+ DBSystemCassandra = DBSystemKey.String("cassandra")
+ // Apache HBase
+ DBSystemHBase = DBSystemKey.String("hbase")
+ // MongoDB
+ DBSystemMongoDB = DBSystemKey.String("mongodb")
+ // Redis
+ DBSystemRedis = DBSystemKey.String("redis")
+ // Couchbase
+ DBSystemCouchbase = DBSystemKey.String("couchbase")
+ // CouchDB
+ DBSystemCouchDB = DBSystemKey.String("couchdb")
+ // Microsoft Azure Cosmos DB
+ DBSystemCosmosDB = DBSystemKey.String("cosmosdb")
+ // Amazon DynamoDB
+ DBSystemDynamoDB = DBSystemKey.String("dynamodb")
+ // Neo4j
+ DBSystemNeo4j = DBSystemKey.String("neo4j")
+ // Apache Geode
+ DBSystemGeode = DBSystemKey.String("geode")
+ // Elasticsearch
+ DBSystemElasticsearch = DBSystemKey.String("elasticsearch")
+ // Memcached
+ DBSystemMemcached = DBSystemKey.String("memcached")
+ // CockroachDB
+ DBSystemCockroachdb = DBSystemKey.String("cockroachdb")
+ // OpenSearch
+ DBSystemOpensearch = DBSystemKey.String("opensearch")
+ // ClickHouse
+ DBSystemClickhouse = DBSystemKey.String("clickhouse")
+ // Cloud Spanner
+ DBSystemSpanner = DBSystemKey.String("spanner")
+ // Trino
+ DBSystemTrino = DBSystemKey.String("trino")
+)
+
+// DBConnectionString returns an attribute KeyValue conforming to the
+// "db.connection_string" semantic conventions. It represents the connection
+// string used to connect to the database. It is recommended to remove embedded
+// credentials.
+func DBConnectionString(val string) attribute.KeyValue {
+ return DBConnectionStringKey.String(val)
+}
+
+// DBUser returns an attribute KeyValue conforming to the "db.user" semantic
+// conventions. It represents the username for accessing the database.
+func DBUser(val string) attribute.KeyValue {
+ return DBUserKey.String(val)
+}
+
+// DBJDBCDriverClassname returns an attribute KeyValue conforming to the
+// "db.jdbc.driver_classname" semantic conventions. It represents the
+// fully-qualified class name of the [Java Database Connectivity
+// (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver
+// used to connect.
+func DBJDBCDriverClassname(val string) attribute.KeyValue {
+ return DBJDBCDriverClassnameKey.String(val)
+}
+
+// DBName returns an attribute KeyValue conforming to the "db.name" semantic
+// conventions. It represents the this attribute is used to report the name of
+// the database being accessed. For commands that switch the database, this
+// should be set to the target database (even if the command fails).
+func DBName(val string) attribute.KeyValue {
+ return DBNameKey.String(val)
+}
+
+// DBStatement returns an attribute KeyValue conforming to the
+// "db.statement" semantic conventions. It represents the database statement
+// being executed.
+func DBStatement(val string) attribute.KeyValue {
+ return DBStatementKey.String(val)
+}
+
+// DBOperation returns an attribute KeyValue conforming to the
+// "db.operation" semantic conventions. It represents the name of the operation
+// being executed, e.g. the [MongoDB command
+// name](https://docs.mongodb.com/manual/reference/command/#database-operations)
+// such as `findAndModify`, or the SQL keyword.
+func DBOperation(val string) attribute.KeyValue {
+ return DBOperationKey.String(val)
+}
+
+// Connection-level attributes for Microsoft SQL Server
+const (
+ // DBMSSQLInstanceNameKey is the attribute Key conforming to the
+ // "db.mssql.instance_name" semantic conventions. It represents the
+ // Microsoft SQL Server [instance
+ // name](https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15)
+ // connecting to. This name is used to determine the port of a named
+ // instance.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'MSSQLSERVER'
+ // Note: If setting a `db.mssql.instance_name`, `net.peer.port` is no
+ // longer required (but still recommended if non-standard).
+ DBMSSQLInstanceNameKey = attribute.Key("db.mssql.instance_name")
+)
+
+// DBMSSQLInstanceName returns an attribute KeyValue conforming to the
+// "db.mssql.instance_name" semantic conventions. It represents the Microsoft
+// SQL Server [instance
+// name](https://docs.microsoft.com/en-us/sql/connect/jdbc/building-the-connection-url?view=sql-server-ver15)
+// connecting to. This name is used to determine the port of a named instance.
+func DBMSSQLInstanceName(val string) attribute.KeyValue {
+ return DBMSSQLInstanceNameKey.String(val)
+}
+
+// Call-level attributes for Cassandra
+const (
+ // DBCassandraPageSizeKey is the attribute Key conforming to the
+ // "db.cassandra.page_size" semantic conventions. It represents the fetch
+ // size used for paging, i.e. how many rows will be returned at once.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 5000
+ DBCassandraPageSizeKey = attribute.Key("db.cassandra.page_size")
+
+ // DBCassandraConsistencyLevelKey is the attribute Key conforming to the
+ // "db.cassandra.consistency_level" semantic conventions. It represents the
+ // consistency level of the query. Based on consistency values from
+ // [CQL](https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html).
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ DBCassandraConsistencyLevelKey = attribute.Key("db.cassandra.consistency_level")
+
+ // DBCassandraTableKey is the attribute Key conforming to the
+ // "db.cassandra.table" semantic conventions. It represents the name of the
+ // primary table that the operation is acting upon, including the keyspace
+ // name (if applicable).
+ //
+ // Type: string
+ // RequirementLevel: Recommended
+ // Stability: stable
+ // Examples: 'mytable'
+ // Note: This mirrors the db.sql.table attribute but references cassandra
+ // rather than sql. It is not recommended to attempt any client-side
+ // parsing of `db.statement` just to get this property, but it should be
+ // set if it is provided by the library being instrumented. If the
+ // operation is acting upon an anonymous table, or more than one table,
+ // this value MUST NOT be set.
+ DBCassandraTableKey = attribute.Key("db.cassandra.table")
+
+ // DBCassandraIdempotenceKey is the attribute Key conforming to the
+ // "db.cassandra.idempotence" semantic conventions. It represents the
+ // whether or not the query is idempotent.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ DBCassandraIdempotenceKey = attribute.Key("db.cassandra.idempotence")
+
+ // DBCassandraSpeculativeExecutionCountKey is the attribute Key conforming
+ // to the "db.cassandra.speculative_execution_count" semantic conventions.
+ // It represents the number of times a query was speculatively executed.
+ // Not set or `0` if the query was not executed speculatively.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 0, 2
+ DBCassandraSpeculativeExecutionCountKey = attribute.Key("db.cassandra.speculative_execution_count")
+
+ // DBCassandraCoordinatorIDKey is the attribute Key conforming to the
+ // "db.cassandra.coordinator.id" semantic conventions. It represents the ID
+ // of the coordinating node for a query.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'be13faa2-8574-4d71-926d-27f16cf8a7af'
+ DBCassandraCoordinatorIDKey = attribute.Key("db.cassandra.coordinator.id")
+
+ // DBCassandraCoordinatorDCKey is the attribute Key conforming to the
+ // "db.cassandra.coordinator.dc" semantic conventions. It represents the
+ // data center of the coordinating node for a query.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'us-west-2'
+ DBCassandraCoordinatorDCKey = attribute.Key("db.cassandra.coordinator.dc")
+)
+
+var (
+ // all
+ DBCassandraConsistencyLevelAll = DBCassandraConsistencyLevelKey.String("all")
+ // each_quorum
+ DBCassandraConsistencyLevelEachQuorum = DBCassandraConsistencyLevelKey.String("each_quorum")
+ // quorum
+ DBCassandraConsistencyLevelQuorum = DBCassandraConsistencyLevelKey.String("quorum")
+ // local_quorum
+ DBCassandraConsistencyLevelLocalQuorum = DBCassandraConsistencyLevelKey.String("local_quorum")
+ // one
+ DBCassandraConsistencyLevelOne = DBCassandraConsistencyLevelKey.String("one")
+ // two
+ DBCassandraConsistencyLevelTwo = DBCassandraConsistencyLevelKey.String("two")
+ // three
+ DBCassandraConsistencyLevelThree = DBCassandraConsistencyLevelKey.String("three")
+ // local_one
+ DBCassandraConsistencyLevelLocalOne = DBCassandraConsistencyLevelKey.String("local_one")
+ // any
+ DBCassandraConsistencyLevelAny = DBCassandraConsistencyLevelKey.String("any")
+ // serial
+ DBCassandraConsistencyLevelSerial = DBCassandraConsistencyLevelKey.String("serial")
+ // local_serial
+ DBCassandraConsistencyLevelLocalSerial = DBCassandraConsistencyLevelKey.String("local_serial")
+)
+
+// DBCassandraPageSize returns an attribute KeyValue conforming to the
+// "db.cassandra.page_size" semantic conventions. It represents the fetch size
+// used for paging, i.e. how many rows will be returned at once.
+func DBCassandraPageSize(val int) attribute.KeyValue {
+ return DBCassandraPageSizeKey.Int(val)
+}
+
+// DBCassandraTable returns an attribute KeyValue conforming to the
+// "db.cassandra.table" semantic conventions. It represents the name of the
+// primary table that the operation is acting upon, including the keyspace name
+// (if applicable).
+func DBCassandraTable(val string) attribute.KeyValue {
+ return DBCassandraTableKey.String(val)
+}
+
+// DBCassandraIdempotence returns an attribute KeyValue conforming to the
+// "db.cassandra.idempotence" semantic conventions. It represents the whether
+// or not the query is idempotent.
+func DBCassandraIdempotence(val bool) attribute.KeyValue {
+ return DBCassandraIdempotenceKey.Bool(val)
+}
+
+// DBCassandraSpeculativeExecutionCount returns an attribute KeyValue
+// conforming to the "db.cassandra.speculative_execution_count" semantic
+// conventions. It represents the number of times a query was speculatively
+// executed. Not set or `0` if the query was not executed speculatively.
+func DBCassandraSpeculativeExecutionCount(val int) attribute.KeyValue {
+ return DBCassandraSpeculativeExecutionCountKey.Int(val)
+}
+
+// DBCassandraCoordinatorID returns an attribute KeyValue conforming to the
+// "db.cassandra.coordinator.id" semantic conventions. It represents the ID of
+// the coordinating node for a query.
+func DBCassandraCoordinatorID(val string) attribute.KeyValue {
+ return DBCassandraCoordinatorIDKey.String(val)
+}
+
+// DBCassandraCoordinatorDC returns an attribute KeyValue conforming to the
+// "db.cassandra.coordinator.dc" semantic conventions. It represents the data
+// center of the coordinating node for a query.
+func DBCassandraCoordinatorDC(val string) attribute.KeyValue {
+ return DBCassandraCoordinatorDCKey.String(val)
+}
+
+// Call-level attributes for Redis
+const (
+ // DBRedisDBIndexKey is the attribute Key conforming to the
+ // "db.redis.database_index" semantic conventions. It represents the index
+ // of the database being accessed as used in the [`SELECT`
+ // command](https://redis.io/commands/select), provided as an integer. To
+ // be used instead of the generic `db.name` attribute.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If other than the default
+ // database (`0`).)
+ // Stability: stable
+ // Examples: 0, 1, 15
+ DBRedisDBIndexKey = attribute.Key("db.redis.database_index")
+)
+
+// DBRedisDBIndex returns an attribute KeyValue conforming to the
+// "db.redis.database_index" semantic conventions. It represents the index of
+// the database being accessed as used in the [`SELECT`
+// command](https://redis.io/commands/select), provided as an integer. To be
+// used instead of the generic `db.name` attribute.
+func DBRedisDBIndex(val int) attribute.KeyValue {
+ return DBRedisDBIndexKey.Int(val)
+}
+
+// Call-level attributes for MongoDB
+const (
+ // DBMongoDBCollectionKey is the attribute Key conforming to the
+ // "db.mongodb.collection" semantic conventions. It represents the
+ // collection being accessed within the database stated in `db.name`.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'customers', 'products'
+ DBMongoDBCollectionKey = attribute.Key("db.mongodb.collection")
+)
+
+// DBMongoDBCollection returns an attribute KeyValue conforming to the
+// "db.mongodb.collection" semantic conventions. It represents the collection
+// being accessed within the database stated in `db.name`.
+func DBMongoDBCollection(val string) attribute.KeyValue {
+ return DBMongoDBCollectionKey.String(val)
+}
+
+// Call-level attributes for SQL databases
+const (
+ // DBSQLTableKey is the attribute Key conforming to the "db.sql.table"
+ // semantic conventions. It represents the name of the primary table that
+ // the operation is acting upon, including the database name (if
+ // applicable).
+ //
+ // Type: string
+ // RequirementLevel: Recommended
+ // Stability: stable
+ // Examples: 'public.users', 'customers'
+ // Note: It is not recommended to attempt any client-side parsing of
+ // `db.statement` just to get this property, but it should be set if it is
+ // provided by the library being instrumented. If the operation is acting
+ // upon an anonymous table, or more than one table, this value MUST NOT be
+ // set.
+ DBSQLTableKey = attribute.Key("db.sql.table")
+)
+
+// DBSQLTable returns an attribute KeyValue conforming to the "db.sql.table"
+// semantic conventions. It represents the name of the primary table that the
+// operation is acting upon, including the database name (if applicable).
+func DBSQLTable(val string) attribute.KeyValue {
+ return DBSQLTableKey.String(val)
+}
+
+// Call-level attributes for Cosmos DB.
+const (
+ // DBCosmosDBClientIDKey is the attribute Key conforming to the
+ // "db.cosmosdb.client_id" semantic conventions. It represents the unique
+ // Cosmos client instance id.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '3ba4827d-4422-483f-b59f-85b74211c11d'
+ DBCosmosDBClientIDKey = attribute.Key("db.cosmosdb.client_id")
+
+ // DBCosmosDBOperationTypeKey is the attribute Key conforming to the
+ // "db.cosmosdb.operation_type" semantic conventions. It represents the
+ // cosmosDB Operation Type.
+ //
+ // Type: Enum
+ // RequirementLevel: ConditionallyRequired (when performing one of the
+ // operations in this list)
+ // Stability: stable
+ DBCosmosDBOperationTypeKey = attribute.Key("db.cosmosdb.operation_type")
+
+ // DBCosmosDBConnectionModeKey is the attribute Key conforming to the
+ // "db.cosmosdb.connection_mode" semantic conventions. It represents the
+ // cosmos client connection mode.
+ //
+ // Type: Enum
+ // RequirementLevel: ConditionallyRequired (if not `direct` (or pick gw as
+ // default))
+ // Stability: stable
+ DBCosmosDBConnectionModeKey = attribute.Key("db.cosmosdb.connection_mode")
+
+ // DBCosmosDBContainerKey is the attribute Key conforming to the
+ // "db.cosmosdb.container" semantic conventions. It represents the cosmos
+ // DB container name.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (if available)
+ // Stability: stable
+ // Examples: 'anystring'
+ DBCosmosDBContainerKey = attribute.Key("db.cosmosdb.container")
+
+ // DBCosmosDBRequestContentLengthKey is the attribute Key conforming to the
+ // "db.cosmosdb.request_content_length" semantic conventions. It represents
+ // the request payload size in bytes
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ DBCosmosDBRequestContentLengthKey = attribute.Key("db.cosmosdb.request_content_length")
+
+ // DBCosmosDBStatusCodeKey is the attribute Key conforming to the
+ // "db.cosmosdb.status_code" semantic conventions. It represents the cosmos
+ // DB status code.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (if response was received)
+ // Stability: stable
+ // Examples: 200, 201
+ DBCosmosDBStatusCodeKey = attribute.Key("db.cosmosdb.status_code")
+
+ // DBCosmosDBSubStatusCodeKey is the attribute Key conforming to the
+ // "db.cosmosdb.sub_status_code" semantic conventions. It represents the
+ // cosmos DB sub status code.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (when response was received and
+ // contained sub-code.)
+ // Stability: stable
+ // Examples: 1000, 1002
+ DBCosmosDBSubStatusCodeKey = attribute.Key("db.cosmosdb.sub_status_code")
+
+ // DBCosmosDBRequestChargeKey is the attribute Key conforming to the
+ // "db.cosmosdb.request_charge" semantic conventions. It represents the rU
+ // consumed for that operation
+ //
+ // Type: double
+ // RequirementLevel: ConditionallyRequired (when available)
+ // Stability: stable
+ // Examples: 46.18, 1.0
+ DBCosmosDBRequestChargeKey = attribute.Key("db.cosmosdb.request_charge")
+)
+
+var (
+ // invalid
+ DBCosmosDBOperationTypeInvalid = DBCosmosDBOperationTypeKey.String("Invalid")
+ // create
+ DBCosmosDBOperationTypeCreate = DBCosmosDBOperationTypeKey.String("Create")
+ // patch
+ DBCosmosDBOperationTypePatch = DBCosmosDBOperationTypeKey.String("Patch")
+ // read
+ DBCosmosDBOperationTypeRead = DBCosmosDBOperationTypeKey.String("Read")
+ // read_feed
+ DBCosmosDBOperationTypeReadFeed = DBCosmosDBOperationTypeKey.String("ReadFeed")
+ // delete
+ DBCosmosDBOperationTypeDelete = DBCosmosDBOperationTypeKey.String("Delete")
+ // replace
+ DBCosmosDBOperationTypeReplace = DBCosmosDBOperationTypeKey.String("Replace")
+ // execute
+ DBCosmosDBOperationTypeExecute = DBCosmosDBOperationTypeKey.String("Execute")
+ // query
+ DBCosmosDBOperationTypeQuery = DBCosmosDBOperationTypeKey.String("Query")
+ // head
+ DBCosmosDBOperationTypeHead = DBCosmosDBOperationTypeKey.String("Head")
+ // head_feed
+ DBCosmosDBOperationTypeHeadFeed = DBCosmosDBOperationTypeKey.String("HeadFeed")
+ // upsert
+ DBCosmosDBOperationTypeUpsert = DBCosmosDBOperationTypeKey.String("Upsert")
+ // batch
+ DBCosmosDBOperationTypeBatch = DBCosmosDBOperationTypeKey.String("Batch")
+ // query_plan
+ DBCosmosDBOperationTypeQueryPlan = DBCosmosDBOperationTypeKey.String("QueryPlan")
+ // execute_javascript
+ DBCosmosDBOperationTypeExecuteJavascript = DBCosmosDBOperationTypeKey.String("ExecuteJavaScript")
+)
+
+var (
+ // Gateway (HTTP) connections mode
+ DBCosmosDBConnectionModeGateway = DBCosmosDBConnectionModeKey.String("gateway")
+ // Direct connection
+ DBCosmosDBConnectionModeDirect = DBCosmosDBConnectionModeKey.String("direct")
+)
+
+// DBCosmosDBClientID returns an attribute KeyValue conforming to the
+// "db.cosmosdb.client_id" semantic conventions. It represents the unique
+// Cosmos client instance id.
+func DBCosmosDBClientID(val string) attribute.KeyValue {
+ return DBCosmosDBClientIDKey.String(val)
+}
+
+// DBCosmosDBContainer returns an attribute KeyValue conforming to the
+// "db.cosmosdb.container" semantic conventions. It represents the cosmos DB
+// container name.
+func DBCosmosDBContainer(val string) attribute.KeyValue {
+ return DBCosmosDBContainerKey.String(val)
+}
+
+// DBCosmosDBRequestContentLength returns an attribute KeyValue conforming
+// to the "db.cosmosdb.request_content_length" semantic conventions. It
+// represents the request payload size in bytes
+func DBCosmosDBRequestContentLength(val int) attribute.KeyValue {
+ return DBCosmosDBRequestContentLengthKey.Int(val)
+}
+
+// DBCosmosDBStatusCode returns an attribute KeyValue conforming to the
+// "db.cosmosdb.status_code" semantic conventions. It represents the cosmos DB
+// status code.
+func DBCosmosDBStatusCode(val int) attribute.KeyValue {
+ return DBCosmosDBStatusCodeKey.Int(val)
+}
+
+// DBCosmosDBSubStatusCode returns an attribute KeyValue conforming to the
+// "db.cosmosdb.sub_status_code" semantic conventions. It represents the cosmos
+// DB sub status code.
+func DBCosmosDBSubStatusCode(val int) attribute.KeyValue {
+ return DBCosmosDBSubStatusCodeKey.Int(val)
+}
+
+// DBCosmosDBRequestCharge returns an attribute KeyValue conforming to the
+// "db.cosmosdb.request_charge" semantic conventions. It represents the rU
+// consumed for that operation
+func DBCosmosDBRequestCharge(val float64) attribute.KeyValue {
+ return DBCosmosDBRequestChargeKey.Float64(val)
+}
+
+// Span attributes used by non-OTLP exporters to represent OpenTelemetry Span's
+// concepts.
+const (
+ // OTelStatusCodeKey is the attribute Key conforming to the
+ // "otel.status_code" semantic conventions. It represents the name of the
+ // code, either "OK" or "ERROR". MUST NOT be set if the status code is
+ // UNSET.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ OTelStatusCodeKey = attribute.Key("otel.status_code")
+
+ // OTelStatusDescriptionKey is the attribute Key conforming to the
+ // "otel.status_description" semantic conventions. It represents the
+ // description of the Status if it has a value, otherwise not set.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'resource not found'
+ OTelStatusDescriptionKey = attribute.Key("otel.status_description")
+)
+
+var (
+ // The operation has been validated by an Application developer or Operator to have completed successfully
+ OTelStatusCodeOk = OTelStatusCodeKey.String("OK")
+ // The operation contains an error
+ OTelStatusCodeError = OTelStatusCodeKey.String("ERROR")
+)
+
+// OTelStatusDescription returns an attribute KeyValue conforming to the
+// "otel.status_description" semantic conventions. It represents the
+// description of the Status if it has a value, otherwise not set.
+func OTelStatusDescription(val string) attribute.KeyValue {
+ return OTelStatusDescriptionKey.String(val)
+}
+
+// This semantic convention describes an instance of a function that runs
+// without provisioning or managing of servers (also known as serverless
+// functions or Function as a Service (FaaS)) with spans.
+const (
+ // FaaSTriggerKey is the attribute Key conforming to the "faas.trigger"
+ // semantic conventions. It represents the type of the trigger which caused
+ // this function invocation.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Note: For the server/consumer span on the incoming side,
+ // `faas.trigger` MUST be set.
+ //
+ // Clients invoking FaaS instances usually cannot set `faas.trigger`,
+ // since they would typically need to look in the payload to determine
+ // the event type. If clients set it, it should be the same as the
+ // trigger that corresponding incoming would have (i.e., this has
+ // nothing to do with the underlying transport used to make the API
+ // call to invoke the lambda, which is often HTTP).
+ FaaSTriggerKey = attribute.Key("faas.trigger")
+
+ // FaaSInvocationIDKey is the attribute Key conforming to the
+ // "faas.invocation_id" semantic conventions. It represents the invocation
+ // ID of the current function invocation.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
+ FaaSInvocationIDKey = attribute.Key("faas.invocation_id")
+)
+
+var (
+ // A response to some data source operation such as a database or filesystem read/write
+ FaaSTriggerDatasource = FaaSTriggerKey.String("datasource")
+ // To provide an answer to an inbound HTTP request
+ FaaSTriggerHTTP = FaaSTriggerKey.String("http")
+ // A function is set to be executed when messages are sent to a messaging system
+ FaaSTriggerPubsub = FaaSTriggerKey.String("pubsub")
+ // A function is scheduled to be executed regularly
+ FaaSTriggerTimer = FaaSTriggerKey.String("timer")
+ // If none of the others apply
+ FaaSTriggerOther = FaaSTriggerKey.String("other")
+)
+
+// FaaSInvocationID returns an attribute KeyValue conforming to the
+// "faas.invocation_id" semantic conventions. It represents the invocation ID
+// of the current function invocation.
+func FaaSInvocationID(val string) attribute.KeyValue {
+ return FaaSInvocationIDKey.String(val)
+}
+
+// Semantic Convention for FaaS triggered as a response to some data source
+// operation such as a database or filesystem read/write.
+const (
+ // FaaSDocumentCollectionKey is the attribute Key conforming to the
+ // "faas.document.collection" semantic conventions. It represents the name
+ // of the source on which the triggering operation was performed. For
+ // example, in Cloud Storage or S3 corresponds to the bucket name, and in
+ // Cosmos DB to the database name.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'myBucketName', 'myDBName'
+ FaaSDocumentCollectionKey = attribute.Key("faas.document.collection")
+
+ // FaaSDocumentOperationKey is the attribute Key conforming to the
+ // "faas.document.operation" semantic conventions. It represents the
+ // describes the type of the operation that was performed on the data.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ FaaSDocumentOperationKey = attribute.Key("faas.document.operation")
+
+ // FaaSDocumentTimeKey is the attribute Key conforming to the
+ // "faas.document.time" semantic conventions. It represents a string
+ // containing the time when the data was accessed in the [ISO
+ // 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+ // expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '2020-01-23T13:47:06Z'
+ FaaSDocumentTimeKey = attribute.Key("faas.document.time")
+
+ // FaaSDocumentNameKey is the attribute Key conforming to the
+ // "faas.document.name" semantic conventions. It represents the document
+ // name/table subjected to the operation. For example, in Cloud Storage or
+ // S3 is the name of the file, and in Cosmos DB the table name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'myFile.txt', 'myTableName'
+ FaaSDocumentNameKey = attribute.Key("faas.document.name")
+)
+
+var (
+ // When a new object is created
+ FaaSDocumentOperationInsert = FaaSDocumentOperationKey.String("insert")
+ // When an object is modified
+ FaaSDocumentOperationEdit = FaaSDocumentOperationKey.String("edit")
+ // When an object is deleted
+ FaaSDocumentOperationDelete = FaaSDocumentOperationKey.String("delete")
+)
+
+// FaaSDocumentCollection returns an attribute KeyValue conforming to the
+// "faas.document.collection" semantic conventions. It represents the name of
+// the source on which the triggering operation was performed. For example, in
+// Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the
+// database name.
+func FaaSDocumentCollection(val string) attribute.KeyValue {
+ return FaaSDocumentCollectionKey.String(val)
+}
+
+// FaaSDocumentTime returns an attribute KeyValue conforming to the
+// "faas.document.time" semantic conventions. It represents a string containing
+// the time when the data was accessed in the [ISO
+// 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+// expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+func FaaSDocumentTime(val string) attribute.KeyValue {
+ return FaaSDocumentTimeKey.String(val)
+}
+
+// FaaSDocumentName returns an attribute KeyValue conforming to the
+// "faas.document.name" semantic conventions. It represents the document
+// name/table subjected to the operation. For example, in Cloud Storage or S3
+// is the name of the file, and in Cosmos DB the table name.
+func FaaSDocumentName(val string) attribute.KeyValue {
+ return FaaSDocumentNameKey.String(val)
+}
+
+// Semantic Convention for FaaS scheduled to be executed regularly.
+const (
+ // FaaSTimeKey is the attribute Key conforming to the "faas.time" semantic
+ // conventions. It represents a string containing the function invocation
+ // time in the [ISO
+ // 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+ // expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '2020-01-23T13:47:06Z'
+ FaaSTimeKey = attribute.Key("faas.time")
+
+ // FaaSCronKey is the attribute Key conforming to the "faas.cron" semantic
+ // conventions. It represents a string containing the schedule period as
+ // [Cron
+ // Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '0/5 * * * ? *'
+ FaaSCronKey = attribute.Key("faas.cron")
+)
+
+// FaaSTime returns an attribute KeyValue conforming to the "faas.time"
+// semantic conventions. It represents a string containing the function
+// invocation time in the [ISO
+// 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+// expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+func FaaSTime(val string) attribute.KeyValue {
+ return FaaSTimeKey.String(val)
+}
+
+// FaaSCron returns an attribute KeyValue conforming to the "faas.cron"
+// semantic conventions. It represents a string containing the schedule period
+// as [Cron
+// Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
+func FaaSCron(val string) attribute.KeyValue {
+ return FaaSCronKey.String(val)
+}
+
+// Contains additional attributes for incoming FaaS spans.
+const (
+ // FaaSColdstartKey is the attribute Key conforming to the "faas.coldstart"
+ // semantic conventions. It represents a boolean that is true if the
+ // serverless function is executed for the first time (aka cold-start).
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ FaaSColdstartKey = attribute.Key("faas.coldstart")
+)
+
+// FaaSColdstart returns an attribute KeyValue conforming to the
+// "faas.coldstart" semantic conventions. It represents a boolean that is true
+// if the serverless function is executed for the first time (aka cold-start).
+func FaaSColdstart(val bool) attribute.KeyValue {
+ return FaaSColdstartKey.Bool(val)
+}
+
+// Contains additional attributes for outgoing FaaS spans.
+const (
+ // FaaSInvokedNameKey is the attribute Key conforming to the
+ // "faas.invoked_name" semantic conventions. It represents the name of the
+ // invoked function.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'my-function'
+ // Note: SHOULD be equal to the `faas.name` resource attribute of the
+ // invoked function.
+ FaaSInvokedNameKey = attribute.Key("faas.invoked_name")
+
+ // FaaSInvokedProviderKey is the attribute Key conforming to the
+ // "faas.invoked_provider" semantic conventions. It represents the cloud
+ // provider of the invoked function.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ // Note: SHOULD be equal to the `cloud.provider` resource attribute of the
+ // invoked function.
+ FaaSInvokedProviderKey = attribute.Key("faas.invoked_provider")
+
+ // FaaSInvokedRegionKey is the attribute Key conforming to the
+ // "faas.invoked_region" semantic conventions. It represents the cloud
+ // region of the invoked function.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (For some cloud providers, like
+ // AWS or GCP, the region in which a function is hosted is essential to
+ // uniquely identify the function and also part of its endpoint. Since it's
+ // part of the endpoint being called, the region is always known to
+ // clients. In these cases, `faas.invoked_region` MUST be set accordingly.
+ // If the region is unknown to the client or not required for identifying
+ // the invoked function, setting `faas.invoked_region` is optional.)
+ // Stability: stable
+ // Examples: 'eu-central-1'
+ // Note: SHOULD be equal to the `cloud.region` resource attribute of the
+ // invoked function.
+ FaaSInvokedRegionKey = attribute.Key("faas.invoked_region")
+)
+
+var (
+ // Alibaba Cloud
+ FaaSInvokedProviderAlibabaCloud = FaaSInvokedProviderKey.String("alibaba_cloud")
+ // Amazon Web Services
+ FaaSInvokedProviderAWS = FaaSInvokedProviderKey.String("aws")
+ // Microsoft Azure
+ FaaSInvokedProviderAzure = FaaSInvokedProviderKey.String("azure")
+ // Google Cloud Platform
+ FaaSInvokedProviderGCP = FaaSInvokedProviderKey.String("gcp")
+ // Tencent Cloud
+ FaaSInvokedProviderTencentCloud = FaaSInvokedProviderKey.String("tencent_cloud")
+)
+
+// FaaSInvokedName returns an attribute KeyValue conforming to the
+// "faas.invoked_name" semantic conventions. It represents the name of the
+// invoked function.
+func FaaSInvokedName(val string) attribute.KeyValue {
+ return FaaSInvokedNameKey.String(val)
+}
+
+// FaaSInvokedRegion returns an attribute KeyValue conforming to the
+// "faas.invoked_region" semantic conventions. It represents the cloud region
+// of the invoked function.
+func FaaSInvokedRegion(val string) attribute.KeyValue {
+ return FaaSInvokedRegionKey.String(val)
+}
+
+// Operations that access some remote service.
+const (
+ // PeerServiceKey is the attribute Key conforming to the "peer.service"
+ // semantic conventions. It represents the
+ // [`service.name`](../../resource/semantic_conventions/README.md#service)
+ // of the remote service. SHOULD be equal to the actual `service.name`
+ // resource attribute of the remote service if any.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'AuthTokenCache'
+ PeerServiceKey = attribute.Key("peer.service")
+)
+
+// PeerService returns an attribute KeyValue conforming to the
+// "peer.service" semantic conventions. It represents the
+// [`service.name`](../../resource/semantic_conventions/README.md#service) of
+// the remote service. SHOULD be equal to the actual `service.name` resource
+// attribute of the remote service if any.
+func PeerService(val string) attribute.KeyValue {
+ return PeerServiceKey.String(val)
+}
+
+// These attributes may be used for any operation with an authenticated and/or
+// authorized enduser.
+const (
+ // EnduserIDKey is the attribute Key conforming to the "enduser.id"
+ // semantic conventions. It represents the username or client_id extracted
+ // from the access token or
+ // [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header
+ // in the inbound request from outside the system.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'username'
+ EnduserIDKey = attribute.Key("enduser.id")
+
+ // EnduserRoleKey is the attribute Key conforming to the "enduser.role"
+ // semantic conventions. It represents the actual/assumed role the client
+ // is making the request under extracted from token or application security
+ // context.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'admin'
+ EnduserRoleKey = attribute.Key("enduser.role")
+
+ // EnduserScopeKey is the attribute Key conforming to the "enduser.scope"
+ // semantic conventions. It represents the scopes or granted authorities
+ // the client currently possesses extracted from token or application
+ // security context. The value would come from the scope associated with an
+ // [OAuth 2.0 Access
+ // Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute
+ // value in a [SAML 2.0
+ // Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'read:message, write:files'
+ EnduserScopeKey = attribute.Key("enduser.scope")
+)
+
+// EnduserID returns an attribute KeyValue conforming to the "enduser.id"
+// semantic conventions. It represents the username or client_id extracted from
+// the access token or
+// [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in
+// the inbound request from outside the system.
+func EnduserID(val string) attribute.KeyValue {
+ return EnduserIDKey.String(val)
+}
+
+// EnduserRole returns an attribute KeyValue conforming to the
+// "enduser.role" semantic conventions. It represents the actual/assumed role
+// the client is making the request under extracted from token or application
+// security context.
+func EnduserRole(val string) attribute.KeyValue {
+ return EnduserRoleKey.String(val)
+}
+
+// EnduserScope returns an attribute KeyValue conforming to the
+// "enduser.scope" semantic conventions. It represents the scopes or granted
+// authorities the client currently possesses extracted from token or
+// application security context. The value would come from the scope associated
+// with an [OAuth 2.0 Access
+// Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute
+// value in a [SAML 2.0
+// Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html).
+func EnduserScope(val string) attribute.KeyValue {
+ return EnduserScopeKey.String(val)
+}
+
+// These attributes may be used for any operation to store information about a
+// thread that started a span.
+const (
+ // ThreadIDKey is the attribute Key conforming to the "thread.id" semantic
+ // conventions. It represents the current "managed" thread ID (as opposed
+ // to OS thread ID).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 42
+ ThreadIDKey = attribute.Key("thread.id")
+
+ // ThreadNameKey is the attribute Key conforming to the "thread.name"
+ // semantic conventions. It represents the current thread name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'main'
+ ThreadNameKey = attribute.Key("thread.name")
+)
+
+// ThreadID returns an attribute KeyValue conforming to the "thread.id"
+// semantic conventions. It represents the current "managed" thread ID (as
+// opposed to OS thread ID).
+func ThreadID(val int) attribute.KeyValue {
+ return ThreadIDKey.Int(val)
+}
+
+// ThreadName returns an attribute KeyValue conforming to the "thread.name"
+// semantic conventions. It represents the current thread name.
+func ThreadName(val string) attribute.KeyValue {
+ return ThreadNameKey.String(val)
+}
+
+// These attributes allow to report this unit of code and therefore to provide
+// more context about the span.
+const (
+ // CodeFunctionKey is the attribute Key conforming to the "code.function"
+ // semantic conventions. It represents the method or function name, or
+ // equivalent (usually rightmost part of the code unit's name).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'serveRequest'
+ CodeFunctionKey = attribute.Key("code.function")
+
+ // CodeNamespaceKey is the attribute Key conforming to the "code.namespace"
+ // semantic conventions. It represents the "namespace" within which
+ // `code.function` is defined. Usually the qualified class or module name,
+ // such that `code.namespace` + some separator + `code.function` form a
+ // unique identifier for the code unit.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'com.example.MyHTTPService'
+ CodeNamespaceKey = attribute.Key("code.namespace")
+
+ // CodeFilepathKey is the attribute Key conforming to the "code.filepath"
+ // semantic conventions. It represents the source code file name that
+ // identifies the code unit as uniquely as possible (preferably an absolute
+ // file path).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '/usr/local/MyApplication/content_root/app/index.php'
+ CodeFilepathKey = attribute.Key("code.filepath")
+
+ // CodeLineNumberKey is the attribute Key conforming to the "code.lineno"
+ // semantic conventions. It represents the line number in `code.filepath`
+ // best representing the operation. It SHOULD point within the code unit
+ // named in `code.function`.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 42
+ CodeLineNumberKey = attribute.Key("code.lineno")
+
+ // CodeColumnKey is the attribute Key conforming to the "code.column"
+ // semantic conventions. It represents the column number in `code.filepath`
+ // best representing the operation. It SHOULD point within the code unit
+ // named in `code.function`.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 16
+ CodeColumnKey = attribute.Key("code.column")
+)
+
+// CodeFunction returns an attribute KeyValue conforming to the
+// "code.function" semantic conventions. It represents the method or function
+// name, or equivalent (usually rightmost part of the code unit's name).
+func CodeFunction(val string) attribute.KeyValue {
+ return CodeFunctionKey.String(val)
+}
+
+// CodeNamespace returns an attribute KeyValue conforming to the
+// "code.namespace" semantic conventions. It represents the "namespace" within
+// which `code.function` is defined. Usually the qualified class or module
+// name, such that `code.namespace` + some separator + `code.function` form a
+// unique identifier for the code unit.
+func CodeNamespace(val string) attribute.KeyValue {
+ return CodeNamespaceKey.String(val)
+}
+
+// CodeFilepath returns an attribute KeyValue conforming to the
+// "code.filepath" semantic conventions. It represents the source code file
+// name that identifies the code unit as uniquely as possible (preferably an
+// absolute file path).
+func CodeFilepath(val string) attribute.KeyValue {
+ return CodeFilepathKey.String(val)
+}
+
+// CodeLineNumber returns an attribute KeyValue conforming to the "code.lineno"
+// semantic conventions. It represents the line number in `code.filepath` best
+// representing the operation. It SHOULD point within the code unit named in
+// `code.function`.
+func CodeLineNumber(val int) attribute.KeyValue {
+ return CodeLineNumberKey.Int(val)
+}
+
+// CodeColumn returns an attribute KeyValue conforming to the "code.column"
+// semantic conventions. It represents the column number in `code.filepath`
+// best representing the operation. It SHOULD point within the code unit named
+// in `code.function`.
+func CodeColumn(val int) attribute.KeyValue {
+ return CodeColumnKey.Int(val)
+}
+
+// Semantic Convention for HTTP Client
+const (
+ // HTTPURLKey is the attribute Key conforming to the "http.url" semantic
+ // conventions. It represents the full HTTP request URL in the form
+ // `scheme://host[:port]/path?query[#fragment]`. Usually the fragment is
+ // not transmitted over HTTP, but if it is known, it should be included
+ // nevertheless.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
+ // Note: `http.url` MUST NOT contain credentials passed via URL in form of
+ // `https://username:password@www.example.com/`. In such case the
+ // attribute's value should be `https://www.example.com/`.
+ HTTPURLKey = attribute.Key("http.url")
+
+ // HTTPResendCountKey is the attribute Key conforming to the
+ // "http.resend_count" semantic conventions. It represents the ordinal
+ // number of request resending attempt (for any reason, including
+ // redirects).
+ //
+ // Type: int
+ // RequirementLevel: Recommended (if and only if request was retried.)
+ // Stability: stable
+ // Examples: 3
+ // Note: The resend count SHOULD be updated each time an HTTP request gets
+ // resent by the client, regardless of what was the cause of the resending
+ // (e.g. redirection, authorization failure, 503 Server Unavailable,
+ // network issues, or any other).
+ HTTPResendCountKey = attribute.Key("http.resend_count")
+)
+
+// HTTPURL returns an attribute KeyValue conforming to the "http.url"
+// semantic conventions. It represents the full HTTP request URL in the form
+// `scheme://host[:port]/path?query[#fragment]`. Usually the fragment is not
+// transmitted over HTTP, but if it is known, it should be included
+// nevertheless.
+func HTTPURL(val string) attribute.KeyValue {
+ return HTTPURLKey.String(val)
+}
+
+// HTTPResendCount returns an attribute KeyValue conforming to the
+// "http.resend_count" semantic conventions. It represents the ordinal number
+// of request resending attempt (for any reason, including redirects).
+func HTTPResendCount(val int) attribute.KeyValue {
+ return HTTPResendCountKey.Int(val)
+}
+
+// Semantic Convention for HTTP Server
+const (
+ // HTTPTargetKey is the attribute Key conforming to the "http.target"
+ // semantic conventions. It represents the full request target as passed in
+ // a HTTP request line or equivalent.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: '/users/12314/?q=ddds'
+ HTTPTargetKey = attribute.Key("http.target")
+
+ // HTTPClientIPKey is the attribute Key conforming to the "http.client_ip"
+ // semantic conventions. It represents the IP address of the original
+ // client behind all proxies, if known (e.g. from
+ // [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For)).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '83.164.160.102'
+ // Note: This is not necessarily the same as `net.sock.peer.addr`, which
+ // would
+ // identify the network-level peer, which may be a proxy.
+ //
+ // This attribute should be set when a source of information different
+ // from the one used for `net.sock.peer.addr`, is available even if that
+ // other
+ // source just confirms the same value as `net.sock.peer.addr`.
+ // Rationale: For `net.sock.peer.addr`, one typically does not know if it
+ // comes from a proxy, reverse proxy, or the actual client. Setting
+ // `http.client_ip` when it's the same as `net.sock.peer.addr` means that
+ // one is at least somewhat confident that the address is not that of
+ // the closest proxy.
+ HTTPClientIPKey = attribute.Key("http.client_ip")
+)
+
+// HTTPTarget returns an attribute KeyValue conforming to the "http.target"
+// semantic conventions. It represents the full request target as passed in a
+// HTTP request line or equivalent.
+func HTTPTarget(val string) attribute.KeyValue {
+ return HTTPTargetKey.String(val)
+}
+
+// HTTPClientIP returns an attribute KeyValue conforming to the
+// "http.client_ip" semantic conventions. It represents the IP address of the
+// original client behind all proxies, if known (e.g. from
+// [X-Forwarded-For](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For)).
+func HTTPClientIP(val string) attribute.KeyValue {
+ return HTTPClientIPKey.String(val)
+}
+
+// The `aws` conventions apply to operations using the AWS SDK. They map
+// request or response parameters in AWS SDK API calls to attributes on a Span.
+// The conventions have been collected over time based on feedback from AWS
+// users of tracing and will continue to evolve as new interesting conventions
+// are found.
+// Some descriptions are also provided for populating general OpenTelemetry
+// semantic conventions based on these APIs.
+const (
+ // AWSRequestIDKey is the attribute Key conforming to the "aws.request_id"
+ // semantic conventions. It represents the AWS request ID as returned in
+ // the response headers `x-amz-request-id` or `x-amz-requestid`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '79b9da39-b7ae-508a-a6bc-864b2829c622', 'C9ER4AJX75574TDJ'
+ AWSRequestIDKey = attribute.Key("aws.request_id")
+)
+
+// AWSRequestID returns an attribute KeyValue conforming to the
+// "aws.request_id" semantic conventions. It represents the AWS request ID as
+// returned in the response headers `x-amz-request-id` or `x-amz-requestid`.
+func AWSRequestID(val string) attribute.KeyValue {
+ return AWSRequestIDKey.String(val)
+}
+
+// Attributes that exist for multiple DynamoDB request types.
+const (
+ // AWSDynamoDBTableNamesKey is the attribute Key conforming to the
+ // "aws.dynamodb.table_names" semantic conventions. It represents the keys
+ // in the `RequestItems` object field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Users', 'Cats'
+ AWSDynamoDBTableNamesKey = attribute.Key("aws.dynamodb.table_names")
+
+ // AWSDynamoDBConsumedCapacityKey is the attribute Key conforming to the
+ // "aws.dynamodb.consumed_capacity" semantic conventions. It represents the
+ // JSON-serialized value of each item in the `ConsumedCapacity` response
+ // field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": {
+ // "string" : { "CapacityUnits": number, "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" :
+ // { "CapacityUnits": number, "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table":
+ // { "CapacityUnits": number, "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number }, "TableName": "string",
+ // "WriteCapacityUnits": number }'
+ AWSDynamoDBConsumedCapacityKey = attribute.Key("aws.dynamodb.consumed_capacity")
+
+ // AWSDynamoDBItemCollectionMetricsKey is the attribute Key conforming to
+ // the "aws.dynamodb.item_collection_metrics" semantic conventions. It
+ // represents the JSON-serialized value of the `ItemCollectionMetrics`
+ // response field.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B":
+ // blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": {
+ // "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ],
+ // "NULL": boolean, "S": "string", "SS": [ "string" ] } },
+ // "SizeEstimateRangeGB": [ number ] } ] }'
+ AWSDynamoDBItemCollectionMetricsKey = attribute.Key("aws.dynamodb.item_collection_metrics")
+
+ // AWSDynamoDBProvisionedReadCapacityKey is the attribute Key conforming to
+ // the "aws.dynamodb.provisioned_read_capacity" semantic conventions. It
+ // represents the value of the `ProvisionedThroughput.ReadCapacityUnits`
+ // request parameter.
+ //
+ // Type: double
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 1.0, 2.0
+ AWSDynamoDBProvisionedReadCapacityKey = attribute.Key("aws.dynamodb.provisioned_read_capacity")
+
+ // AWSDynamoDBProvisionedWriteCapacityKey is the attribute Key conforming
+ // to the "aws.dynamodb.provisioned_write_capacity" semantic conventions.
+ // It represents the value of the
+ // `ProvisionedThroughput.WriteCapacityUnits` request parameter.
+ //
+ // Type: double
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 1.0, 2.0
+ AWSDynamoDBProvisionedWriteCapacityKey = attribute.Key("aws.dynamodb.provisioned_write_capacity")
+
+ // AWSDynamoDBConsistentReadKey is the attribute Key conforming to the
+ // "aws.dynamodb.consistent_read" semantic conventions. It represents the
+ // value of the `ConsistentRead` request parameter.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ AWSDynamoDBConsistentReadKey = attribute.Key("aws.dynamodb.consistent_read")
+
+ // AWSDynamoDBProjectionKey is the attribute Key conforming to the
+ // "aws.dynamodb.projection" semantic conventions. It represents the value
+ // of the `ProjectionExpression` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Title', 'Title, Price, Color', 'Title, Description,
+ // RelatedItems, ProductReviews'
+ AWSDynamoDBProjectionKey = attribute.Key("aws.dynamodb.projection")
+
+ // AWSDynamoDBLimitKey is the attribute Key conforming to the
+ // "aws.dynamodb.limit" semantic conventions. It represents the value of
+ // the `Limit` request parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 10
+ AWSDynamoDBLimitKey = attribute.Key("aws.dynamodb.limit")
+
+ // AWSDynamoDBAttributesToGetKey is the attribute Key conforming to the
+ // "aws.dynamodb.attributes_to_get" semantic conventions. It represents the
+ // value of the `AttributesToGet` request parameter.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'lives', 'id'
+ AWSDynamoDBAttributesToGetKey = attribute.Key("aws.dynamodb.attributes_to_get")
+
+ // AWSDynamoDBIndexNameKey is the attribute Key conforming to the
+ // "aws.dynamodb.index_name" semantic conventions. It represents the value
+ // of the `IndexName` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'name_to_group'
+ AWSDynamoDBIndexNameKey = attribute.Key("aws.dynamodb.index_name")
+
+ // AWSDynamoDBSelectKey is the attribute Key conforming to the
+ // "aws.dynamodb.select" semantic conventions. It represents the value of
+ // the `Select` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'ALL_ATTRIBUTES', 'COUNT'
+ AWSDynamoDBSelectKey = attribute.Key("aws.dynamodb.select")
+)
+
+// AWSDynamoDBTableNames returns an attribute KeyValue conforming to the
+// "aws.dynamodb.table_names" semantic conventions. It represents the keys in
+// the `RequestItems` object field.
+func AWSDynamoDBTableNames(val ...string) attribute.KeyValue {
+ return AWSDynamoDBTableNamesKey.StringSlice(val)
+}
+
+// AWSDynamoDBConsumedCapacity returns an attribute KeyValue conforming to
+// the "aws.dynamodb.consumed_capacity" semantic conventions. It represents the
+// JSON-serialized value of each item in the `ConsumedCapacity` response field.
+func AWSDynamoDBConsumedCapacity(val ...string) attribute.KeyValue {
+ return AWSDynamoDBConsumedCapacityKey.StringSlice(val)
+}
+
+// AWSDynamoDBItemCollectionMetrics returns an attribute KeyValue conforming
+// to the "aws.dynamodb.item_collection_metrics" semantic conventions. It
+// represents the JSON-serialized value of the `ItemCollectionMetrics` response
+// field.
+func AWSDynamoDBItemCollectionMetrics(val string) attribute.KeyValue {
+ return AWSDynamoDBItemCollectionMetricsKey.String(val)
+}
+
+// AWSDynamoDBProvisionedReadCapacity returns an attribute KeyValue
+// conforming to the "aws.dynamodb.provisioned_read_capacity" semantic
+// conventions. It represents the value of the
+// `ProvisionedThroughput.ReadCapacityUnits` request parameter.
+func AWSDynamoDBProvisionedReadCapacity(val float64) attribute.KeyValue {
+ return AWSDynamoDBProvisionedReadCapacityKey.Float64(val)
+}
+
+// AWSDynamoDBProvisionedWriteCapacity returns an attribute KeyValue
+// conforming to the "aws.dynamodb.provisioned_write_capacity" semantic
+// conventions. It represents the value of the
+// `ProvisionedThroughput.WriteCapacityUnits` request parameter.
+func AWSDynamoDBProvisionedWriteCapacity(val float64) attribute.KeyValue {
+ return AWSDynamoDBProvisionedWriteCapacityKey.Float64(val)
+}
+
+// AWSDynamoDBConsistentRead returns an attribute KeyValue conforming to the
+// "aws.dynamodb.consistent_read" semantic conventions. It represents the value
+// of the `ConsistentRead` request parameter.
+func AWSDynamoDBConsistentRead(val bool) attribute.KeyValue {
+ return AWSDynamoDBConsistentReadKey.Bool(val)
+}
+
+// AWSDynamoDBProjection returns an attribute KeyValue conforming to the
+// "aws.dynamodb.projection" semantic conventions. It represents the value of
+// the `ProjectionExpression` request parameter.
+func AWSDynamoDBProjection(val string) attribute.KeyValue {
+ return AWSDynamoDBProjectionKey.String(val)
+}
+
+// AWSDynamoDBLimit returns an attribute KeyValue conforming to the
+// "aws.dynamodb.limit" semantic conventions. It represents the value of the
+// `Limit` request parameter.
+func AWSDynamoDBLimit(val int) attribute.KeyValue {
+ return AWSDynamoDBLimitKey.Int(val)
+}
+
+// AWSDynamoDBAttributesToGet returns an attribute KeyValue conforming to
+// the "aws.dynamodb.attributes_to_get" semantic conventions. It represents the
+// value of the `AttributesToGet` request parameter.
+func AWSDynamoDBAttributesToGet(val ...string) attribute.KeyValue {
+ return AWSDynamoDBAttributesToGetKey.StringSlice(val)
+}
+
+// AWSDynamoDBIndexName returns an attribute KeyValue conforming to the
+// "aws.dynamodb.index_name" semantic conventions. It represents the value of
+// the `IndexName` request parameter.
+func AWSDynamoDBIndexName(val string) attribute.KeyValue {
+ return AWSDynamoDBIndexNameKey.String(val)
+}
+
+// AWSDynamoDBSelect returns an attribute KeyValue conforming to the
+// "aws.dynamodb.select" semantic conventions. It represents the value of the
+// `Select` request parameter.
+func AWSDynamoDBSelect(val string) attribute.KeyValue {
+ return AWSDynamoDBSelectKey.String(val)
+}
+
+// DynamoDB.CreateTable
+const (
+ // AWSDynamoDBGlobalSecondaryIndexesKey is the attribute Key conforming to
+ // the "aws.dynamodb.global_secondary_indexes" semantic conventions. It
+ // represents the JSON-serialized value of each item of the
+ // `GlobalSecondaryIndexes` request field
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName":
+ // "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [
+ // "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": {
+ // "ReadCapacityUnits": number, "WriteCapacityUnits": number } }'
+ AWSDynamoDBGlobalSecondaryIndexesKey = attribute.Key("aws.dynamodb.global_secondary_indexes")
+
+ // AWSDynamoDBLocalSecondaryIndexesKey is the attribute Key conforming to
+ // the "aws.dynamodb.local_secondary_indexes" semantic conventions. It
+ // represents the JSON-serialized value of each item of the
+ // `LocalSecondaryIndexes` request field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '{ "IndexARN": "string", "IndexName": "string",
+ // "IndexSizeBytes": number, "ItemCount": number, "KeySchema": [ {
+ // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
+ // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" } }'
+ AWSDynamoDBLocalSecondaryIndexesKey = attribute.Key("aws.dynamodb.local_secondary_indexes")
+)
+
+// AWSDynamoDBGlobalSecondaryIndexes returns an attribute KeyValue
+// conforming to the "aws.dynamodb.global_secondary_indexes" semantic
+// conventions. It represents the JSON-serialized value of each item of the
+// `GlobalSecondaryIndexes` request field
+func AWSDynamoDBGlobalSecondaryIndexes(val ...string) attribute.KeyValue {
+ return AWSDynamoDBGlobalSecondaryIndexesKey.StringSlice(val)
+}
+
+// AWSDynamoDBLocalSecondaryIndexes returns an attribute KeyValue conforming
+// to the "aws.dynamodb.local_secondary_indexes" semantic conventions. It
+// represents the JSON-serialized value of each item of the
+// `LocalSecondaryIndexes` request field.
+func AWSDynamoDBLocalSecondaryIndexes(val ...string) attribute.KeyValue {
+ return AWSDynamoDBLocalSecondaryIndexesKey.StringSlice(val)
+}
+
+// DynamoDB.ListTables
+const (
+ // AWSDynamoDBExclusiveStartTableKey is the attribute Key conforming to the
+ // "aws.dynamodb.exclusive_start_table" semantic conventions. It represents
+ // the value of the `ExclusiveStartTableName` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Users', 'CatsTable'
+ AWSDynamoDBExclusiveStartTableKey = attribute.Key("aws.dynamodb.exclusive_start_table")
+
+ // AWSDynamoDBTableCountKey is the attribute Key conforming to the
+ // "aws.dynamodb.table_count" semantic conventions. It represents the the
+ // number of items in the `TableNames` response parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 20
+ AWSDynamoDBTableCountKey = attribute.Key("aws.dynamodb.table_count")
+)
+
+// AWSDynamoDBExclusiveStartTable returns an attribute KeyValue conforming
+// to the "aws.dynamodb.exclusive_start_table" semantic conventions. It
+// represents the value of the `ExclusiveStartTableName` request parameter.
+func AWSDynamoDBExclusiveStartTable(val string) attribute.KeyValue {
+ return AWSDynamoDBExclusiveStartTableKey.String(val)
+}
+
+// AWSDynamoDBTableCount returns an attribute KeyValue conforming to the
+// "aws.dynamodb.table_count" semantic conventions. It represents the the
+// number of items in the `TableNames` response parameter.
+func AWSDynamoDBTableCount(val int) attribute.KeyValue {
+ return AWSDynamoDBTableCountKey.Int(val)
+}
+
+// DynamoDB.Query
+const (
+ // AWSDynamoDBScanForwardKey is the attribute Key conforming to the
+ // "aws.dynamodb.scan_forward" semantic conventions. It represents the
+ // value of the `ScanIndexForward` request parameter.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: stable
+ AWSDynamoDBScanForwardKey = attribute.Key("aws.dynamodb.scan_forward")
+)
+
+// AWSDynamoDBScanForward returns an attribute KeyValue conforming to the
+// "aws.dynamodb.scan_forward" semantic conventions. It represents the value of
+// the `ScanIndexForward` request parameter.
+func AWSDynamoDBScanForward(val bool) attribute.KeyValue {
+ return AWSDynamoDBScanForwardKey.Bool(val)
+}
+
+// DynamoDB.Scan
+const (
+ // AWSDynamoDBSegmentKey is the attribute Key conforming to the
+ // "aws.dynamodb.segment" semantic conventions. It represents the value of
+ // the `Segment` request parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 10
+ AWSDynamoDBSegmentKey = attribute.Key("aws.dynamodb.segment")
+
+ // AWSDynamoDBTotalSegmentsKey is the attribute Key conforming to the
+ // "aws.dynamodb.total_segments" semantic conventions. It represents the
+ // value of the `TotalSegments` request parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 100
+ AWSDynamoDBTotalSegmentsKey = attribute.Key("aws.dynamodb.total_segments")
+
+ // AWSDynamoDBCountKey is the attribute Key conforming to the
+ // "aws.dynamodb.count" semantic conventions. It represents the value of
+ // the `Count` response parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 10
+ AWSDynamoDBCountKey = attribute.Key("aws.dynamodb.count")
+
+ // AWSDynamoDBScannedCountKey is the attribute Key conforming to the
+ // "aws.dynamodb.scanned_count" semantic conventions. It represents the
+ // value of the `ScannedCount` response parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 50
+ AWSDynamoDBScannedCountKey = attribute.Key("aws.dynamodb.scanned_count")
+)
+
+// AWSDynamoDBSegment returns an attribute KeyValue conforming to the
+// "aws.dynamodb.segment" semantic conventions. It represents the value of the
+// `Segment` request parameter.
+func AWSDynamoDBSegment(val int) attribute.KeyValue {
+ return AWSDynamoDBSegmentKey.Int(val)
+}
+
+// AWSDynamoDBTotalSegments returns an attribute KeyValue conforming to the
+// "aws.dynamodb.total_segments" semantic conventions. It represents the value
+// of the `TotalSegments` request parameter.
+func AWSDynamoDBTotalSegments(val int) attribute.KeyValue {
+ return AWSDynamoDBTotalSegmentsKey.Int(val)
+}
+
+// AWSDynamoDBCount returns an attribute KeyValue conforming to the
+// "aws.dynamodb.count" semantic conventions. It represents the value of the
+// `Count` response parameter.
+func AWSDynamoDBCount(val int) attribute.KeyValue {
+ return AWSDynamoDBCountKey.Int(val)
+}
+
+// AWSDynamoDBScannedCount returns an attribute KeyValue conforming to the
+// "aws.dynamodb.scanned_count" semantic conventions. It represents the value
+// of the `ScannedCount` response parameter.
+func AWSDynamoDBScannedCount(val int) attribute.KeyValue {
+ return AWSDynamoDBScannedCountKey.Int(val)
+}
+
+// DynamoDB.UpdateTable
+const (
+ // AWSDynamoDBAttributeDefinitionsKey is the attribute Key conforming to
+ // the "aws.dynamodb.attribute_definitions" semantic conventions. It
+ // represents the JSON-serialized value of each item in the
+ // `AttributeDefinitions` request field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
+ AWSDynamoDBAttributeDefinitionsKey = attribute.Key("aws.dynamodb.attribute_definitions")
+
+ // AWSDynamoDBGlobalSecondaryIndexUpdatesKey is the attribute Key
+ // conforming to the "aws.dynamodb.global_secondary_index_updates" semantic
+ // conventions. It represents the JSON-serialized value of each item in the
+ // the `GlobalSecondaryIndexUpdates` request field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
+ // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
+ // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
+ // "ProvisionedThroughput": { "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number } }'
+ AWSDynamoDBGlobalSecondaryIndexUpdatesKey = attribute.Key("aws.dynamodb.global_secondary_index_updates")
+)
+
+// AWSDynamoDBAttributeDefinitions returns an attribute KeyValue conforming
+// to the "aws.dynamodb.attribute_definitions" semantic conventions. It
+// represents the JSON-serialized value of each item in the
+// `AttributeDefinitions` request field.
+func AWSDynamoDBAttributeDefinitions(val ...string) attribute.KeyValue {
+ return AWSDynamoDBAttributeDefinitionsKey.StringSlice(val)
+}
+
+// AWSDynamoDBGlobalSecondaryIndexUpdates returns an attribute KeyValue
+// conforming to the "aws.dynamodb.global_secondary_index_updates" semantic
+// conventions. It represents the JSON-serialized value of each item in the the
+// `GlobalSecondaryIndexUpdates` request field.
+func AWSDynamoDBGlobalSecondaryIndexUpdates(val ...string) attribute.KeyValue {
+ return AWSDynamoDBGlobalSecondaryIndexUpdatesKey.StringSlice(val)
+}
+
+// Attributes that exist for S3 request types.
+const (
+ // AWSS3BucketKey is the attribute Key conforming to the "aws.s3.bucket"
+ // semantic conventions. It represents the S3 bucket name the request
+ // refers to. Corresponds to the `--bucket` parameter of the [S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+ // operations.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'some-bucket-name'
+ // Note: The `bucket` attribute is applicable to all S3 operations that
+ // reference a bucket, i.e. that require the bucket name as a mandatory
+ // parameter.
+ // This applies to almost all S3 operations except `list-buckets`.
+ AWSS3BucketKey = attribute.Key("aws.s3.bucket")
+
+ // AWSS3KeyKey is the attribute Key conforming to the "aws.s3.key" semantic
+ // conventions. It represents the S3 object key the request refers to.
+ // Corresponds to the `--key` parameter of the [S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+ // operations.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'someFile.yml'
+ // Note: The `key` attribute is applicable to all object-related S3
+ // operations, i.e. that require the object key as a mandatory parameter.
+ // This applies in particular to the following operations:
+ //
+ // -
+ // [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
+ // -
+ // [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
+ // -
+ // [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html)
+ // -
+ // [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html)
+ // -
+ // [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html)
+ // -
+ // [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html)
+ // -
+ // [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html)
+ // -
+ // [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
+ // -
+ // [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
+ // -
+ // [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html)
+ // -
+ // [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
+ // -
+ // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
+ // -
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ AWSS3KeyKey = attribute.Key("aws.s3.key")
+
+ // AWSS3CopySourceKey is the attribute Key conforming to the
+ // "aws.s3.copy_source" semantic conventions. It represents the source
+ // object (in the form `bucket`/`key`) for the copy operation.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'someFile.yml'
+ // Note: The `copy_source` attribute applies to S3 copy operations and
+ // corresponds to the `--copy-source` parameter
+ // of the [copy-object operation within the S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html).
+ // This applies in particular to the following operations:
+ //
+ // -
+ // [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
+ // -
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ AWSS3CopySourceKey = attribute.Key("aws.s3.copy_source")
+
+ // AWSS3UploadIDKey is the attribute Key conforming to the
+ // "aws.s3.upload_id" semantic conventions. It represents the upload ID
+ // that identifies the multipart upload.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ'
+ // Note: The `upload_id` attribute applies to S3 multipart-upload
+ // operations and corresponds to the `--upload-id` parameter
+ // of the [S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+ // multipart operations.
+ // This applies in particular to the following operations:
+ //
+ // -
+ // [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
+ // -
+ // [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
+ // -
+ // [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
+ // -
+ // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
+ // -
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ AWSS3UploadIDKey = attribute.Key("aws.s3.upload_id")
+
+ // AWSS3DeleteKey is the attribute Key conforming to the "aws.s3.delete"
+ // semantic conventions. It represents the delete request container that
+ // specifies the objects to be deleted.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples:
+ // 'Objects=[{Key=string,VersionID=string},{Key=string,VersionID=string}],Quiet=boolean'
+ // Note: The `delete` attribute is only applicable to the
+ // [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
+ // operation.
+ // The `delete` attribute corresponds to the `--delete` parameter of the
+ // [delete-objects operation within the S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html).
+ AWSS3DeleteKey = attribute.Key("aws.s3.delete")
+
+ // AWSS3PartNumberKey is the attribute Key conforming to the
+ // "aws.s3.part_number" semantic conventions. It represents the part number
+ // of the part being uploaded in a multipart-upload operation. This is a
+ // positive integer between 1 and 10,000.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 3456
+ // Note: The `part_number` attribute is only applicable to the
+ // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
+ // and
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ // operations.
+ // The `part_number` attribute corresponds to the `--part-number` parameter
+ // of the
+ // [upload-part operation within the S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html).
+ AWSS3PartNumberKey = attribute.Key("aws.s3.part_number")
+)
+
+// AWSS3Bucket returns an attribute KeyValue conforming to the
+// "aws.s3.bucket" semantic conventions. It represents the S3 bucket name the
+// request refers to. Corresponds to the `--bucket` parameter of the [S3
+// API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+// operations.
+func AWSS3Bucket(val string) attribute.KeyValue {
+ return AWSS3BucketKey.String(val)
+}
+
+// AWSS3Key returns an attribute KeyValue conforming to the "aws.s3.key"
+// semantic conventions. It represents the S3 object key the request refers to.
+// Corresponds to the `--key` parameter of the [S3
+// API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+// operations.
+func AWSS3Key(val string) attribute.KeyValue {
+ return AWSS3KeyKey.String(val)
+}
+
+// AWSS3CopySource returns an attribute KeyValue conforming to the
+// "aws.s3.copy_source" semantic conventions. It represents the source object
+// (in the form `bucket`/`key`) for the copy operation.
+func AWSS3CopySource(val string) attribute.KeyValue {
+ return AWSS3CopySourceKey.String(val)
+}
+
+// AWSS3UploadID returns an attribute KeyValue conforming to the
+// "aws.s3.upload_id" semantic conventions. It represents the upload ID that
+// identifies the multipart upload.
+func AWSS3UploadID(val string) attribute.KeyValue {
+ return AWSS3UploadIDKey.String(val)
+}
+
+// AWSS3Delete returns an attribute KeyValue conforming to the
+// "aws.s3.delete" semantic conventions. It represents the delete request
+// container that specifies the objects to be deleted.
+func AWSS3Delete(val string) attribute.KeyValue {
+ return AWSS3DeleteKey.String(val)
+}
+
+// AWSS3PartNumber returns an attribute KeyValue conforming to the
+// "aws.s3.part_number" semantic conventions. It represents the part number of
+// the part being uploaded in a multipart-upload operation. This is a positive
+// integer between 1 and 10,000.
+func AWSS3PartNumber(val int) attribute.KeyValue {
+ return AWSS3PartNumberKey.Int(val)
+}
+
+// Semantic conventions to apply when instrumenting the GraphQL implementation.
+// They map GraphQL operations to attributes on a Span.
+const (
+ // GraphqlOperationNameKey is the attribute Key conforming to the
+ // "graphql.operation.name" semantic conventions. It represents the name of
+ // the operation being executed.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'findBookByID'
+ GraphqlOperationNameKey = attribute.Key("graphql.operation.name")
+
+ // GraphqlOperationTypeKey is the attribute Key conforming to the
+ // "graphql.operation.type" semantic conventions. It represents the type of
+ // the operation being executed.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'query', 'mutation', 'subscription'
+ GraphqlOperationTypeKey = attribute.Key("graphql.operation.type")
+
+ // GraphqlDocumentKey is the attribute Key conforming to the
+ // "graphql.document" semantic conventions. It represents the GraphQL
+ // document being executed.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'query findBookByID { bookByID(id: ?) { name } }'
+ // Note: The value may be sanitized to exclude sensitive information.
+ GraphqlDocumentKey = attribute.Key("graphql.document")
+)
+
+var (
+ // GraphQL query
+ GraphqlOperationTypeQuery = GraphqlOperationTypeKey.String("query")
+ // GraphQL mutation
+ GraphqlOperationTypeMutation = GraphqlOperationTypeKey.String("mutation")
+ // GraphQL subscription
+ GraphqlOperationTypeSubscription = GraphqlOperationTypeKey.String("subscription")
+)
+
+// GraphqlOperationName returns an attribute KeyValue conforming to the
+// "graphql.operation.name" semantic conventions. It represents the name of the
+// operation being executed.
+func GraphqlOperationName(val string) attribute.KeyValue {
+ return GraphqlOperationNameKey.String(val)
+}
+
+// GraphqlDocument returns an attribute KeyValue conforming to the
+// "graphql.document" semantic conventions. It represents the GraphQL document
+// being executed.
+func GraphqlDocument(val string) attribute.KeyValue {
+ return GraphqlDocumentKey.String(val)
+}
+
+// General attributes used in messaging systems.
+const (
+ // MessagingSystemKey is the attribute Key conforming to the
+ // "messaging.system" semantic conventions. It represents a string
+ // identifying the messaging system.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'kafka', 'rabbitmq', 'rocketmq', 'activemq', 'AmazonSQS'
+ MessagingSystemKey = attribute.Key("messaging.system")
+
+ // MessagingOperationKey is the attribute Key conforming to the
+ // "messaging.operation" semantic conventions. It represents a string
+ // identifying the kind of messaging operation as defined in the [Operation
+ // names](#operation-names) section above.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ // Note: If a custom value is used, it MUST be of low cardinality.
+ MessagingOperationKey = attribute.Key("messaging.operation")
+
+ // MessagingBatchMessageCountKey is the attribute Key conforming to the
+ // "messaging.batch.message_count" semantic conventions. It represents the
+ // number of messages sent, received, or processed in the scope of the
+ // batching operation.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If the span describes an
+ // operation on a batch of messages.)
+ // Stability: stable
+ // Examples: 0, 1, 2
+ // Note: Instrumentations SHOULD NOT set `messaging.batch.message_count` on
+ // spans that operate with a single message. When a messaging client
+ // library supports both batch and single-message API for the same
+ // operation, instrumentations SHOULD use `messaging.batch.message_count`
+ // for batching APIs and SHOULD NOT use it for single-message APIs.
+ MessagingBatchMessageCountKey = attribute.Key("messaging.batch.message_count")
+)
+
+var (
+ // publish
+ MessagingOperationPublish = MessagingOperationKey.String("publish")
+ // receive
+ MessagingOperationReceive = MessagingOperationKey.String("receive")
+ // process
+ MessagingOperationProcess = MessagingOperationKey.String("process")
+)
+
+// MessagingSystem returns an attribute KeyValue conforming to the
+// "messaging.system" semantic conventions. It represents a string identifying
+// the messaging system.
+func MessagingSystem(val string) attribute.KeyValue {
+ return MessagingSystemKey.String(val)
+}
+
+// MessagingBatchMessageCount returns an attribute KeyValue conforming to
+// the "messaging.batch.message_count" semantic conventions. It represents the
+// number of messages sent, received, or processed in the scope of the batching
+// operation.
+func MessagingBatchMessageCount(val int) attribute.KeyValue {
+ return MessagingBatchMessageCountKey.Int(val)
+}
+
+// Semantic convention for a consumer of messages received from a messaging
+// system
+const (
+ // MessagingConsumerIDKey is the attribute Key conforming to the
+ // "messaging.consumer.id" semantic conventions. It represents the
+ // identifier for the consumer receiving a message. For Kafka, set it to
+ // `{messaging.kafka.consumer.group} - {messaging.kafka.client_id}`, if
+ // both are present, or only `messaging.kafka.consumer.group`. For brokers,
+ // such as RabbitMQ and Artemis, set it to the `client_id` of the client
+ // consuming the message.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'mygroup - client-6'
+ MessagingConsumerIDKey = attribute.Key("messaging.consumer.id")
+)
+
+// MessagingConsumerID returns an attribute KeyValue conforming to the
+// "messaging.consumer.id" semantic conventions. It represents the identifier
+// for the consumer receiving a message. For Kafka, set it to
+// `{messaging.kafka.consumer.group} - {messaging.kafka.client_id}`, if both
+// are present, or only `messaging.kafka.consumer.group`. For brokers, such as
+// RabbitMQ and Artemis, set it to the `client_id` of the client consuming the
+// message.
+func MessagingConsumerID(val string) attribute.KeyValue {
+ return MessagingConsumerIDKey.String(val)
+}
+
+// Semantic conventions for remote procedure calls.
+const (
+ // RPCSystemKey is the attribute Key conforming to the "rpc.system"
+ // semantic conventions. It represents a string identifying the remoting
+ // system. See below for a list of well-known identifiers.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ RPCSystemKey = attribute.Key("rpc.system")
+
+ // RPCServiceKey is the attribute Key conforming to the "rpc.service"
+ // semantic conventions. It represents the full (logical) name of the
+ // service being called, including its package name, if applicable.
+ //
+ // Type: string
+ // RequirementLevel: Recommended
+ // Stability: stable
+ // Examples: 'myservice.EchoService'
+ // Note: This is the logical name of the service from the RPC interface
+ // perspective, which can be different from the name of any implementing
+ // class. The `code.namespace` attribute may be used to store the latter
+ // (despite the attribute name, it may include a class name; e.g., class
+ // with method actually executing the call on the server side, RPC client
+ // stub class on the client side).
+ RPCServiceKey = attribute.Key("rpc.service")
+
+ // RPCMethodKey is the attribute Key conforming to the "rpc.method"
+ // semantic conventions. It represents the name of the (logical) method
+ // being called, must be equal to the $method part in the span name.
+ //
+ // Type: string
+ // RequirementLevel: Recommended
+ // Stability: stable
+ // Examples: 'exampleMethod'
+ // Note: This is the logical name of the method from the RPC interface
+ // perspective, which can be different from the name of any implementing
+ // method/function. The `code.function` attribute may be used to store the
+ // latter (e.g., method actually executing the call on the server side, RPC
+ // client stub method on the client side).
+ RPCMethodKey = attribute.Key("rpc.method")
+)
+
+var (
+ // gRPC
+ RPCSystemGRPC = RPCSystemKey.String("grpc")
+ // Java RMI
+ RPCSystemJavaRmi = RPCSystemKey.String("java_rmi")
+ // .NET WCF
+ RPCSystemDotnetWcf = RPCSystemKey.String("dotnet_wcf")
+ // Apache Dubbo
+ RPCSystemApacheDubbo = RPCSystemKey.String("apache_dubbo")
+ // Connect RPC
+ RPCSystemConnectRPC = RPCSystemKey.String("connect_rpc")
+)
+
+// RPCService returns an attribute KeyValue conforming to the "rpc.service"
+// semantic conventions. It represents the full (logical) name of the service
+// being called, including its package name, if applicable.
+func RPCService(val string) attribute.KeyValue {
+ return RPCServiceKey.String(val)
+}
+
+// RPCMethod returns an attribute KeyValue conforming to the "rpc.method"
+// semantic conventions. It represents the name of the (logical) method being
+// called, must be equal to the $method part in the span name.
+func RPCMethod(val string) attribute.KeyValue {
+ return RPCMethodKey.String(val)
+}
+
+// Tech-specific attributes for gRPC.
+const (
+ // RPCGRPCStatusCodeKey is the attribute Key conforming to the
+ // "rpc.grpc.status_code" semantic conventions. It represents the [numeric
+ // status
+ // code](https://github.com/grpc/grpc/blob/v1.33.2/doc/statuscodes.md) of
+ // the gRPC request.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ RPCGRPCStatusCodeKey = attribute.Key("rpc.grpc.status_code")
+)
+
+var (
+ // OK
+ RPCGRPCStatusCodeOk = RPCGRPCStatusCodeKey.Int(0)
+ // CANCELLED
+ RPCGRPCStatusCodeCancelled = RPCGRPCStatusCodeKey.Int(1)
+ // UNKNOWN
+ RPCGRPCStatusCodeUnknown = RPCGRPCStatusCodeKey.Int(2)
+ // INVALID_ARGUMENT
+ RPCGRPCStatusCodeInvalidArgument = RPCGRPCStatusCodeKey.Int(3)
+ // DEADLINE_EXCEEDED
+ RPCGRPCStatusCodeDeadlineExceeded = RPCGRPCStatusCodeKey.Int(4)
+ // NOT_FOUND
+ RPCGRPCStatusCodeNotFound = RPCGRPCStatusCodeKey.Int(5)
+ // ALREADY_EXISTS
+ RPCGRPCStatusCodeAlreadyExists = RPCGRPCStatusCodeKey.Int(6)
+ // PERMISSION_DENIED
+ RPCGRPCStatusCodePermissionDenied = RPCGRPCStatusCodeKey.Int(7)
+ // RESOURCE_EXHAUSTED
+ RPCGRPCStatusCodeResourceExhausted = RPCGRPCStatusCodeKey.Int(8)
+ // FAILED_PRECONDITION
+ RPCGRPCStatusCodeFailedPrecondition = RPCGRPCStatusCodeKey.Int(9)
+ // ABORTED
+ RPCGRPCStatusCodeAborted = RPCGRPCStatusCodeKey.Int(10)
+ // OUT_OF_RANGE
+ RPCGRPCStatusCodeOutOfRange = RPCGRPCStatusCodeKey.Int(11)
+ // UNIMPLEMENTED
+ RPCGRPCStatusCodeUnimplemented = RPCGRPCStatusCodeKey.Int(12)
+ // INTERNAL
+ RPCGRPCStatusCodeInternal = RPCGRPCStatusCodeKey.Int(13)
+ // UNAVAILABLE
+ RPCGRPCStatusCodeUnavailable = RPCGRPCStatusCodeKey.Int(14)
+ // DATA_LOSS
+ RPCGRPCStatusCodeDataLoss = RPCGRPCStatusCodeKey.Int(15)
+ // UNAUTHENTICATED
+ RPCGRPCStatusCodeUnauthenticated = RPCGRPCStatusCodeKey.Int(16)
+)
+
+// Tech-specific attributes for [JSON RPC](https://www.jsonrpc.org/).
+const (
+ // RPCJsonrpcVersionKey is the attribute Key conforming to the
+ // "rpc.jsonrpc.version" semantic conventions. It represents the protocol
+ // version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0
+ // does not specify this, the value can be omitted.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If other than the default
+ // version (`1.0`))
+ // Stability: stable
+ // Examples: '2.0', '1.0'
+ RPCJsonrpcVersionKey = attribute.Key("rpc.jsonrpc.version")
+
+ // RPCJsonrpcRequestIDKey is the attribute Key conforming to the
+ // "rpc.jsonrpc.request_id" semantic conventions. It represents the `id`
+ // property of request or response. Since protocol allows id to be int,
+ // string, `null` or missing (for notifications), value is expected to be
+ // cast to string for simplicity. Use empty string in case of `null` value.
+ // Omit entirely if this is a notification.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '10', 'request-7', ''
+ RPCJsonrpcRequestIDKey = attribute.Key("rpc.jsonrpc.request_id")
+
+ // RPCJsonrpcErrorCodeKey is the attribute Key conforming to the
+ // "rpc.jsonrpc.error_code" semantic conventions. It represents the
+ // `error.code` property of response if it is an error response.
+ //
+ // Type: int
+ // RequirementLevel: ConditionallyRequired (If response is not successful.)
+ // Stability: stable
+ // Examples: -32700, 100
+ RPCJsonrpcErrorCodeKey = attribute.Key("rpc.jsonrpc.error_code")
+
+ // RPCJsonrpcErrorMessageKey is the attribute Key conforming to the
+ // "rpc.jsonrpc.error_message" semantic conventions. It represents the
+ // `error.message` property of response if it is an error response.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'Parse error', 'User already exists'
+ RPCJsonrpcErrorMessageKey = attribute.Key("rpc.jsonrpc.error_message")
+)
+
+// RPCJsonrpcVersion returns an attribute KeyValue conforming to the
+// "rpc.jsonrpc.version" semantic conventions. It represents the protocol
+// version as in `jsonrpc` property of request/response. Since JSON-RPC 1.0
+// does not specify this, the value can be omitted.
+func RPCJsonrpcVersion(val string) attribute.KeyValue {
+ return RPCJsonrpcVersionKey.String(val)
+}
+
+// RPCJsonrpcRequestID returns an attribute KeyValue conforming to the
+// "rpc.jsonrpc.request_id" semantic conventions. It represents the `id`
+// property of request or response. Since protocol allows id to be int, string,
+// `null` or missing (for notifications), value is expected to be cast to
+// string for simplicity. Use empty string in case of `null` value. Omit
+// entirely if this is a notification.
+func RPCJsonrpcRequestID(val string) attribute.KeyValue {
+ return RPCJsonrpcRequestIDKey.String(val)
+}
+
+// RPCJsonrpcErrorCode returns an attribute KeyValue conforming to the
+// "rpc.jsonrpc.error_code" semantic conventions. It represents the
+// `error.code` property of response if it is an error response.
+func RPCJsonrpcErrorCode(val int) attribute.KeyValue {
+ return RPCJsonrpcErrorCodeKey.Int(val)
+}
+
+// RPCJsonrpcErrorMessage returns an attribute KeyValue conforming to the
+// "rpc.jsonrpc.error_message" semantic conventions. It represents the
+// `error.message` property of response if it is an error response.
+func RPCJsonrpcErrorMessage(val string) attribute.KeyValue {
+ return RPCJsonrpcErrorMessageKey.String(val)
+}
+
+// Tech-specific attributes for Connect RPC.
+const (
+ // RPCConnectRPCErrorCodeKey is the attribute Key conforming to the
+ // "rpc.connect_rpc.error_code" semantic conventions. It represents the
+ // [error codes](https://connect.build/docs/protocol/#error-codes) of the
+ // Connect request. Error codes are always string values.
+ //
+ // Type: Enum
+ // RequirementLevel: ConditionallyRequired (If response is not successful
+ // and if error code available.)
+ // Stability: stable
+ RPCConnectRPCErrorCodeKey = attribute.Key("rpc.connect_rpc.error_code")
+)
+
+var (
+ // cancelled
+ RPCConnectRPCErrorCodeCancelled = RPCConnectRPCErrorCodeKey.String("cancelled")
+ // unknown
+ RPCConnectRPCErrorCodeUnknown = RPCConnectRPCErrorCodeKey.String("unknown")
+ // invalid_argument
+ RPCConnectRPCErrorCodeInvalidArgument = RPCConnectRPCErrorCodeKey.String("invalid_argument")
+ // deadline_exceeded
+ RPCConnectRPCErrorCodeDeadlineExceeded = RPCConnectRPCErrorCodeKey.String("deadline_exceeded")
+ // not_found
+ RPCConnectRPCErrorCodeNotFound = RPCConnectRPCErrorCodeKey.String("not_found")
+ // already_exists
+ RPCConnectRPCErrorCodeAlreadyExists = RPCConnectRPCErrorCodeKey.String("already_exists")
+ // permission_denied
+ RPCConnectRPCErrorCodePermissionDenied = RPCConnectRPCErrorCodeKey.String("permission_denied")
+ // resource_exhausted
+ RPCConnectRPCErrorCodeResourceExhausted = RPCConnectRPCErrorCodeKey.String("resource_exhausted")
+ // failed_precondition
+ RPCConnectRPCErrorCodeFailedPrecondition = RPCConnectRPCErrorCodeKey.String("failed_precondition")
+ // aborted
+ RPCConnectRPCErrorCodeAborted = RPCConnectRPCErrorCodeKey.String("aborted")
+ // out_of_range
+ RPCConnectRPCErrorCodeOutOfRange = RPCConnectRPCErrorCodeKey.String("out_of_range")
+ // unimplemented
+ RPCConnectRPCErrorCodeUnimplemented = RPCConnectRPCErrorCodeKey.String("unimplemented")
+ // internal
+ RPCConnectRPCErrorCodeInternal = RPCConnectRPCErrorCodeKey.String("internal")
+ // unavailable
+ RPCConnectRPCErrorCodeUnavailable = RPCConnectRPCErrorCodeKey.String("unavailable")
+ // data_loss
+ RPCConnectRPCErrorCodeDataLoss = RPCConnectRPCErrorCodeKey.String("data_loss")
+ // unauthenticated
+ RPCConnectRPCErrorCodeUnauthenticated = RPCConnectRPCErrorCodeKey.String("unauthenticated")
+)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/doc.go
deleted file mode 100644
index 9b802db272..0000000000
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/doc.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-// Package semconv implements OpenTelemetry semantic conventions.
-//
-// OpenTelemetry semantic conventions are agreed standardized naming
-// patterns for OpenTelemetry things. This package represents the v1.24.0
-// version of the OpenTelemetry semantic conventions.
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/exception.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/exception.go
deleted file mode 100644
index ef9bbd37a8..0000000000
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/exception.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
-
-const (
- // ExceptionEventName is the name of the Span event representing an exception.
- ExceptionEventName = "exception"
-)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/schema.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/schema.go
deleted file mode 100644
index 9733ce888a..0000000000
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/schema.go
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
-
-// SchemaURL is the schema URL that matches the version of the semantic conventions
-// that this package defines. Semconv packages starting from v1.4.0 must declare
-// non-empty schema URL in the form https://opentelemetry.io/schemas/
-const SchemaURL = "https://opentelemetry.io/schemas/1.24.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/trace.go
deleted file mode 100644
index 397174818b..0000000000
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/trace.go
+++ /dev/null
@@ -1,1334 +0,0 @@
-// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-// Code generated from semantic convention specification. DO NOT EDIT.
-
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
-
-import "go.opentelemetry.io/otel/attribute"
-
-// Operations that access some remote service.
-const (
- // PeerServiceKey is the attribute Key conforming to the "peer.service"
- // semantic conventions. It represents the
- // [`service.name`](/docs/resource/README.md#service) of the remote
- // service. SHOULD be equal to the actual `service.name` resource attribute
- // of the remote service if any.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'AuthTokenCache'
- PeerServiceKey = attribute.Key("peer.service")
-)
-
-// PeerService returns an attribute KeyValue conforming to the
-// "peer.service" semantic conventions. It represents the
-// [`service.name`](/docs/resource/README.md#service) of the remote service.
-// SHOULD be equal to the actual `service.name` resource attribute of the
-// remote service if any.
-func PeerService(val string) attribute.KeyValue {
- return PeerServiceKey.String(val)
-}
-
-// These attributes may be used for any operation with an authenticated and/or
-// authorized enduser.
-const (
- // EnduserIDKey is the attribute Key conforming to the "enduser.id"
- // semantic conventions. It represents the username or client_id extracted
- // from the access token or
- // [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header
- // in the inbound request from outside the system.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'username'
- EnduserIDKey = attribute.Key("enduser.id")
-
- // EnduserRoleKey is the attribute Key conforming to the "enduser.role"
- // semantic conventions. It represents the actual/assumed role the client
- // is making the request under extracted from token or application security
- // context.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'admin'
- EnduserRoleKey = attribute.Key("enduser.role")
-
- // EnduserScopeKey is the attribute Key conforming to the "enduser.scope"
- // semantic conventions. It represents the scopes or granted authorities
- // the client currently possesses extracted from token or application
- // security context. The value would come from the scope associated with an
- // [OAuth 2.0 Access
- // Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute
- // value in a [SAML 2.0
- // Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'read:message, write:files'
- EnduserScopeKey = attribute.Key("enduser.scope")
-)
-
-// EnduserID returns an attribute KeyValue conforming to the "enduser.id"
-// semantic conventions. It represents the username or client_id extracted from
-// the access token or
-// [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in
-// the inbound request from outside the system.
-func EnduserID(val string) attribute.KeyValue {
- return EnduserIDKey.String(val)
-}
-
-// EnduserRole returns an attribute KeyValue conforming to the
-// "enduser.role" semantic conventions. It represents the actual/assumed role
-// the client is making the request under extracted from token or application
-// security context.
-func EnduserRole(val string) attribute.KeyValue {
- return EnduserRoleKey.String(val)
-}
-
-// EnduserScope returns an attribute KeyValue conforming to the
-// "enduser.scope" semantic conventions. It represents the scopes or granted
-// authorities the client currently possesses extracted from token or
-// application security context. The value would come from the scope associated
-// with an [OAuth 2.0 Access
-// Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute
-// value in a [SAML 2.0
-// Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html).
-func EnduserScope(val string) attribute.KeyValue {
- return EnduserScopeKey.String(val)
-}
-
-// These attributes allow to report this unit of code and therefore to provide
-// more context about the span.
-const (
- // CodeColumnKey is the attribute Key conforming to the "code.column"
- // semantic conventions. It represents the column number in `code.filepath`
- // best representing the operation. It SHOULD point within the code unit
- // named in `code.function`.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 16
- CodeColumnKey = attribute.Key("code.column")
-
- // CodeFilepathKey is the attribute Key conforming to the "code.filepath"
- // semantic conventions. It represents the source code file name that
- // identifies the code unit as uniquely as possible (preferably an absolute
- // file path).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '/usr/local/MyApplication/content_root/app/index.php'
- CodeFilepathKey = attribute.Key("code.filepath")
-
- // CodeFunctionKey is the attribute Key conforming to the "code.function"
- // semantic conventions. It represents the method or function name, or
- // equivalent (usually rightmost part of the code unit's name).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'serveRequest'
- CodeFunctionKey = attribute.Key("code.function")
-
- // CodeLineNumberKey is the attribute Key conforming to the "code.lineno"
- // semantic conventions. It represents the line number in `code.filepath`
- // best representing the operation. It SHOULD point within the code unit
- // named in `code.function`.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 42
- CodeLineNumberKey = attribute.Key("code.lineno")
-
- // CodeNamespaceKey is the attribute Key conforming to the "code.namespace"
- // semantic conventions. It represents the "namespace" within which
- // `code.function` is defined. Usually the qualified class or module name,
- // such that `code.namespace` + some separator + `code.function` form a
- // unique identifier for the code unit.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'com.example.MyHTTPService'
- CodeNamespaceKey = attribute.Key("code.namespace")
-
- // CodeStacktraceKey is the attribute Key conforming to the
- // "code.stacktrace" semantic conventions. It represents a stacktrace as a
- // string in the natural representation for the language runtime. The
- // representation is to be determined and documented by each language SIG.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'at
- // com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
- // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
- // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
- CodeStacktraceKey = attribute.Key("code.stacktrace")
-)
-
-// CodeColumn returns an attribute KeyValue conforming to the "code.column"
-// semantic conventions. It represents the column number in `code.filepath`
-// best representing the operation. It SHOULD point within the code unit named
-// in `code.function`.
-func CodeColumn(val int) attribute.KeyValue {
- return CodeColumnKey.Int(val)
-}
-
-// CodeFilepath returns an attribute KeyValue conforming to the
-// "code.filepath" semantic conventions. It represents the source code file
-// name that identifies the code unit as uniquely as possible (preferably an
-// absolute file path).
-func CodeFilepath(val string) attribute.KeyValue {
- return CodeFilepathKey.String(val)
-}
-
-// CodeFunction returns an attribute KeyValue conforming to the
-// "code.function" semantic conventions. It represents the method or function
-// name, or equivalent (usually rightmost part of the code unit's name).
-func CodeFunction(val string) attribute.KeyValue {
- return CodeFunctionKey.String(val)
-}
-
-// CodeLineNumber returns an attribute KeyValue conforming to the "code.lineno"
-// semantic conventions. It represents the line number in `code.filepath` best
-// representing the operation. It SHOULD point within the code unit named in
-// `code.function`.
-func CodeLineNumber(val int) attribute.KeyValue {
- return CodeLineNumberKey.Int(val)
-}
-
-// CodeNamespace returns an attribute KeyValue conforming to the
-// "code.namespace" semantic conventions. It represents the "namespace" within
-// which `code.function` is defined. Usually the qualified class or module
-// name, such that `code.namespace` + some separator + `code.function` form a
-// unique identifier for the code unit.
-func CodeNamespace(val string) attribute.KeyValue {
- return CodeNamespaceKey.String(val)
-}
-
-// CodeStacktrace returns an attribute KeyValue conforming to the
-// "code.stacktrace" semantic conventions. It represents a stacktrace as a
-// string in the natural representation for the language runtime. The
-// representation is to be determined and documented by each language SIG.
-func CodeStacktrace(val string) attribute.KeyValue {
- return CodeStacktraceKey.String(val)
-}
-
-// These attributes may be used for any operation to store information about a
-// thread that started a span.
-const (
- // ThreadIDKey is the attribute Key conforming to the "thread.id" semantic
- // conventions. It represents the current "managed" thread ID (as opposed
- // to OS thread ID).
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 42
- ThreadIDKey = attribute.Key("thread.id")
-
- // ThreadNameKey is the attribute Key conforming to the "thread.name"
- // semantic conventions. It represents the current thread name.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'main'
- ThreadNameKey = attribute.Key("thread.name")
-)
-
-// ThreadID returns an attribute KeyValue conforming to the "thread.id"
-// semantic conventions. It represents the current "managed" thread ID (as
-// opposed to OS thread ID).
-func ThreadID(val int) attribute.KeyValue {
- return ThreadIDKey.Int(val)
-}
-
-// ThreadName returns an attribute KeyValue conforming to the "thread.name"
-// semantic conventions. It represents the current thread name.
-func ThreadName(val string) attribute.KeyValue {
- return ThreadNameKey.String(val)
-}
-
-// Span attributes used by AWS Lambda (in addition to general `faas`
-// attributes).
-const (
- // AWSLambdaInvokedARNKey is the attribute Key conforming to the
- // "aws.lambda.invoked_arn" semantic conventions. It represents the full
- // invoked ARN as provided on the `Context` passed to the function
- // (`Lambda-Runtime-Invoked-Function-ARN` header on the
- // `/runtime/invocation/next` applicable).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
- // Note: This may be different from `cloud.resource_id` if an alias is
- // involved.
- AWSLambdaInvokedARNKey = attribute.Key("aws.lambda.invoked_arn")
-)
-
-// AWSLambdaInvokedARN returns an attribute KeyValue conforming to the
-// "aws.lambda.invoked_arn" semantic conventions. It represents the full
-// invoked ARN as provided on the `Context` passed to the function
-// (`Lambda-Runtime-Invoked-Function-ARN` header on the
-// `/runtime/invocation/next` applicable).
-func AWSLambdaInvokedARN(val string) attribute.KeyValue {
- return AWSLambdaInvokedARNKey.String(val)
-}
-
-// Attributes for CloudEvents. CloudEvents is a specification on how to define
-// event data in a standard way. These attributes can be attached to spans when
-// performing operations with CloudEvents, regardless of the protocol being
-// used.
-const (
- // CloudeventsEventIDKey is the attribute Key conforming to the
- // "cloudevents.event_id" semantic conventions. It represents the
- // [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id)
- // uniquely identifies the event.
- //
- // Type: string
- // RequirementLevel: Required
- // Stability: experimental
- // Examples: '123e4567-e89b-12d3-a456-426614174000', '0001'
- CloudeventsEventIDKey = attribute.Key("cloudevents.event_id")
-
- // CloudeventsEventSourceKey is the attribute Key conforming to the
- // "cloudevents.event_source" semantic conventions. It represents the
- // [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1)
- // identifies the context in which an event happened.
- //
- // Type: string
- // RequirementLevel: Required
- // Stability: experimental
- // Examples: 'https://github.com/cloudevents',
- // '/cloudevents/spec/pull/123', 'my-service'
- CloudeventsEventSourceKey = attribute.Key("cloudevents.event_source")
-
- // CloudeventsEventSpecVersionKey is the attribute Key conforming to the
- // "cloudevents.event_spec_version" semantic conventions. It represents the
- // [version of the CloudEvents
- // specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion)
- // which the event uses.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '1.0'
- CloudeventsEventSpecVersionKey = attribute.Key("cloudevents.event_spec_version")
-
- // CloudeventsEventSubjectKey is the attribute Key conforming to the
- // "cloudevents.event_subject" semantic conventions. It represents the
- // [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject)
- // of the event in the context of the event producer (identified by
- // source).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'mynewfile.jpg'
- CloudeventsEventSubjectKey = attribute.Key("cloudevents.event_subject")
-
- // CloudeventsEventTypeKey is the attribute Key conforming to the
- // "cloudevents.event_type" semantic conventions. It represents the
- // [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type)
- // contains a value describing the type of event related to the originating
- // occurrence.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'com.github.pull_request.opened',
- // 'com.example.object.deleted.v2'
- CloudeventsEventTypeKey = attribute.Key("cloudevents.event_type")
-)
-
-// CloudeventsEventID returns an attribute KeyValue conforming to the
-// "cloudevents.event_id" semantic conventions. It represents the
-// [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id)
-// uniquely identifies the event.
-func CloudeventsEventID(val string) attribute.KeyValue {
- return CloudeventsEventIDKey.String(val)
-}
-
-// CloudeventsEventSource returns an attribute KeyValue conforming to the
-// "cloudevents.event_source" semantic conventions. It represents the
-// [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1)
-// identifies the context in which an event happened.
-func CloudeventsEventSource(val string) attribute.KeyValue {
- return CloudeventsEventSourceKey.String(val)
-}
-
-// CloudeventsEventSpecVersion returns an attribute KeyValue conforming to
-// the "cloudevents.event_spec_version" semantic conventions. It represents the
-// [version of the CloudEvents
-// specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion)
-// which the event uses.
-func CloudeventsEventSpecVersion(val string) attribute.KeyValue {
- return CloudeventsEventSpecVersionKey.String(val)
-}
-
-// CloudeventsEventSubject returns an attribute KeyValue conforming to the
-// "cloudevents.event_subject" semantic conventions. It represents the
-// [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject)
-// of the event in the context of the event producer (identified by source).
-func CloudeventsEventSubject(val string) attribute.KeyValue {
- return CloudeventsEventSubjectKey.String(val)
-}
-
-// CloudeventsEventType returns an attribute KeyValue conforming to the
-// "cloudevents.event_type" semantic conventions. It represents the
-// [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type)
-// contains a value describing the type of event related to the originating
-// occurrence.
-func CloudeventsEventType(val string) attribute.KeyValue {
- return CloudeventsEventTypeKey.String(val)
-}
-
-// Semantic conventions for the OpenTracing Shim
-const (
- // OpentracingRefTypeKey is the attribute Key conforming to the
- // "opentracing.ref_type" semantic conventions. It represents the
- // parent-child Reference type
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- // Note: The causal relationship between a child Span and a parent Span.
- OpentracingRefTypeKey = attribute.Key("opentracing.ref_type")
-)
-
-var (
- // The parent Span depends on the child Span in some capacity
- OpentracingRefTypeChildOf = OpentracingRefTypeKey.String("child_of")
- // The parent Span doesn't depend in any way on the result of the child Span
- OpentracingRefTypeFollowsFrom = OpentracingRefTypeKey.String("follows_from")
-)
-
-// Span attributes used by non-OTLP exporters to represent OpenTelemetry Span's
-// concepts.
-const (
- // OTelStatusCodeKey is the attribute Key conforming to the
- // "otel.status_code" semantic conventions. It represents the name of the
- // code, either "OK" or "ERROR". MUST NOT be set if the status code is
- // UNSET.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- OTelStatusCodeKey = attribute.Key("otel.status_code")
-
- // OTelStatusDescriptionKey is the attribute Key conforming to the
- // "otel.status_description" semantic conventions. It represents the
- // description of the Status if it has a value, otherwise not set.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'resource not found'
- OTelStatusDescriptionKey = attribute.Key("otel.status_description")
-)
-
-var (
- // The operation has been validated by an Application developer or Operator to have completed successfully
- OTelStatusCodeOk = OTelStatusCodeKey.String("OK")
- // The operation contains an error
- OTelStatusCodeError = OTelStatusCodeKey.String("ERROR")
-)
-
-// OTelStatusDescription returns an attribute KeyValue conforming to the
-// "otel.status_description" semantic conventions. It represents the
-// description of the Status if it has a value, otherwise not set.
-func OTelStatusDescription(val string) attribute.KeyValue {
- return OTelStatusDescriptionKey.String(val)
-}
-
-// This semantic convention describes an instance of a function that runs
-// without provisioning or managing of servers (also known as serverless
-// functions or Function as a Service (FaaS)) with spans.
-const (
- // FaaSInvocationIDKey is the attribute Key conforming to the
- // "faas.invocation_id" semantic conventions. It represents the invocation
- // ID of the current function invocation.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
- FaaSInvocationIDKey = attribute.Key("faas.invocation_id")
-)
-
-// FaaSInvocationID returns an attribute KeyValue conforming to the
-// "faas.invocation_id" semantic conventions. It represents the invocation ID
-// of the current function invocation.
-func FaaSInvocationID(val string) attribute.KeyValue {
- return FaaSInvocationIDKey.String(val)
-}
-
-// Semantic Convention for FaaS triggered as a response to some data source
-// operation such as a database or filesystem read/write.
-const (
- // FaaSDocumentCollectionKey is the attribute Key conforming to the
- // "faas.document.collection" semantic conventions. It represents the name
- // of the source on which the triggering operation was performed. For
- // example, in Cloud Storage or S3 corresponds to the bucket name, and in
- // Cosmos DB to the database name.
- //
- // Type: string
- // RequirementLevel: Required
- // Stability: experimental
- // Examples: 'myBucketName', 'myDBName'
- FaaSDocumentCollectionKey = attribute.Key("faas.document.collection")
-
- // FaaSDocumentNameKey is the attribute Key conforming to the
- // "faas.document.name" semantic conventions. It represents the document
- // name/table subjected to the operation. For example, in Cloud Storage or
- // S3 is the name of the file, and in Cosmos DB the table name.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'myFile.txt', 'myTableName'
- FaaSDocumentNameKey = attribute.Key("faas.document.name")
-
- // FaaSDocumentOperationKey is the attribute Key conforming to the
- // "faas.document.operation" semantic conventions. It represents the
- // describes the type of the operation that was performed on the data.
- //
- // Type: Enum
- // RequirementLevel: Required
- // Stability: experimental
- FaaSDocumentOperationKey = attribute.Key("faas.document.operation")
-
- // FaaSDocumentTimeKey is the attribute Key conforming to the
- // "faas.document.time" semantic conventions. It represents a string
- // containing the time when the data was accessed in the [ISO
- // 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
- // expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2020-01-23T13:47:06Z'
- FaaSDocumentTimeKey = attribute.Key("faas.document.time")
-)
-
-var (
- // When a new object is created
- FaaSDocumentOperationInsert = FaaSDocumentOperationKey.String("insert")
- // When an object is modified
- FaaSDocumentOperationEdit = FaaSDocumentOperationKey.String("edit")
- // When an object is deleted
- FaaSDocumentOperationDelete = FaaSDocumentOperationKey.String("delete")
-)
-
-// FaaSDocumentCollection returns an attribute KeyValue conforming to the
-// "faas.document.collection" semantic conventions. It represents the name of
-// the source on which the triggering operation was performed. For example, in
-// Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the
-// database name.
-func FaaSDocumentCollection(val string) attribute.KeyValue {
- return FaaSDocumentCollectionKey.String(val)
-}
-
-// FaaSDocumentName returns an attribute KeyValue conforming to the
-// "faas.document.name" semantic conventions. It represents the document
-// name/table subjected to the operation. For example, in Cloud Storage or S3
-// is the name of the file, and in Cosmos DB the table name.
-func FaaSDocumentName(val string) attribute.KeyValue {
- return FaaSDocumentNameKey.String(val)
-}
-
-// FaaSDocumentTime returns an attribute KeyValue conforming to the
-// "faas.document.time" semantic conventions. It represents a string containing
-// the time when the data was accessed in the [ISO
-// 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
-// expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
-func FaaSDocumentTime(val string) attribute.KeyValue {
- return FaaSDocumentTimeKey.String(val)
-}
-
-// Semantic Convention for FaaS scheduled to be executed regularly.
-const (
- // FaaSCronKey is the attribute Key conforming to the "faas.cron" semantic
- // conventions. It represents a string containing the schedule period as
- // [Cron
- // Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '0/5 * * * ? *'
- FaaSCronKey = attribute.Key("faas.cron")
-
- // FaaSTimeKey is the attribute Key conforming to the "faas.time" semantic
- // conventions. It represents a string containing the function invocation
- // time in the [ISO
- // 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
- // expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '2020-01-23T13:47:06Z'
- FaaSTimeKey = attribute.Key("faas.time")
-)
-
-// FaaSCron returns an attribute KeyValue conforming to the "faas.cron"
-// semantic conventions. It represents a string containing the schedule period
-// as [Cron
-// Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
-func FaaSCron(val string) attribute.KeyValue {
- return FaaSCronKey.String(val)
-}
-
-// FaaSTime returns an attribute KeyValue conforming to the "faas.time"
-// semantic conventions. It represents a string containing the function
-// invocation time in the [ISO
-// 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
-// expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
-func FaaSTime(val string) attribute.KeyValue {
- return FaaSTimeKey.String(val)
-}
-
-// Contains additional attributes for incoming FaaS spans.
-const (
- // FaaSColdstartKey is the attribute Key conforming to the "faas.coldstart"
- // semantic conventions. It represents a boolean that is true if the
- // serverless function is executed for the first time (aka cold-start).
- //
- // Type: boolean
- // RequirementLevel: Optional
- // Stability: experimental
- FaaSColdstartKey = attribute.Key("faas.coldstart")
-)
-
-// FaaSColdstart returns an attribute KeyValue conforming to the
-// "faas.coldstart" semantic conventions. It represents a boolean that is true
-// if the serverless function is executed for the first time (aka cold-start).
-func FaaSColdstart(val bool) attribute.KeyValue {
- return FaaSColdstartKey.Bool(val)
-}
-
-// The `aws` conventions apply to operations using the AWS SDK. They map
-// request or response parameters in AWS SDK API calls to attributes on a Span.
-// The conventions have been collected over time based on feedback from AWS
-// users of tracing and will continue to evolve as new interesting conventions
-// are found.
-// Some descriptions are also provided for populating general OpenTelemetry
-// semantic conventions based on these APIs.
-const (
- // AWSRequestIDKey is the attribute Key conforming to the "aws.request_id"
- // semantic conventions. It represents the AWS request ID as returned in
- // the response headers `x-amz-request-id` or `x-amz-requestid`.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '79b9da39-b7ae-508a-a6bc-864b2829c622', 'C9ER4AJX75574TDJ'
- AWSRequestIDKey = attribute.Key("aws.request_id")
-)
-
-// AWSRequestID returns an attribute KeyValue conforming to the
-// "aws.request_id" semantic conventions. It represents the AWS request ID as
-// returned in the response headers `x-amz-request-id` or `x-amz-requestid`.
-func AWSRequestID(val string) attribute.KeyValue {
- return AWSRequestIDKey.String(val)
-}
-
-// Attributes that exist for multiple DynamoDB request types.
-const (
- // AWSDynamoDBAttributesToGetKey is the attribute Key conforming to the
- // "aws.dynamodb.attributes_to_get" semantic conventions. It represents the
- // value of the `AttributesToGet` request parameter.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'lives', 'id'
- AWSDynamoDBAttributesToGetKey = attribute.Key("aws.dynamodb.attributes_to_get")
-
- // AWSDynamoDBConsistentReadKey is the attribute Key conforming to the
- // "aws.dynamodb.consistent_read" semantic conventions. It represents the
- // value of the `ConsistentRead` request parameter.
- //
- // Type: boolean
- // RequirementLevel: Optional
- // Stability: experimental
- AWSDynamoDBConsistentReadKey = attribute.Key("aws.dynamodb.consistent_read")
-
- // AWSDynamoDBConsumedCapacityKey is the attribute Key conforming to the
- // "aws.dynamodb.consumed_capacity" semantic conventions. It represents the
- // JSON-serialized value of each item in the `ConsumedCapacity` response
- // field.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": {
- // "string" : { "CapacityUnits": number, "ReadCapacityUnits": number,
- // "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" :
- // { "CapacityUnits": number, "ReadCapacityUnits": number,
- // "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table":
- // { "CapacityUnits": number, "ReadCapacityUnits": number,
- // "WriteCapacityUnits": number }, "TableName": "string",
- // "WriteCapacityUnits": number }'
- AWSDynamoDBConsumedCapacityKey = attribute.Key("aws.dynamodb.consumed_capacity")
-
- // AWSDynamoDBIndexNameKey is the attribute Key conforming to the
- // "aws.dynamodb.index_name" semantic conventions. It represents the value
- // of the `IndexName` request parameter.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'name_to_group'
- AWSDynamoDBIndexNameKey = attribute.Key("aws.dynamodb.index_name")
-
- // AWSDynamoDBItemCollectionMetricsKey is the attribute Key conforming to
- // the "aws.dynamodb.item_collection_metrics" semantic conventions. It
- // represents the JSON-serialized value of the `ItemCollectionMetrics`
- // response field.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B":
- // blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": {
- // "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ],
- // "NULL": boolean, "S": "string", "SS": [ "string" ] } },
- // "SizeEstimateRangeGB": [ number ] } ] }'
- AWSDynamoDBItemCollectionMetricsKey = attribute.Key("aws.dynamodb.item_collection_metrics")
-
- // AWSDynamoDBLimitKey is the attribute Key conforming to the
- // "aws.dynamodb.limit" semantic conventions. It represents the value of
- // the `Limit` request parameter.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 10
- AWSDynamoDBLimitKey = attribute.Key("aws.dynamodb.limit")
-
- // AWSDynamoDBProjectionKey is the attribute Key conforming to the
- // "aws.dynamodb.projection" semantic conventions. It represents the value
- // of the `ProjectionExpression` request parameter.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Title', 'Title, Price, Color', 'Title, Description,
- // RelatedItems, ProductReviews'
- AWSDynamoDBProjectionKey = attribute.Key("aws.dynamodb.projection")
-
- // AWSDynamoDBProvisionedReadCapacityKey is the attribute Key conforming to
- // the "aws.dynamodb.provisioned_read_capacity" semantic conventions. It
- // represents the value of the `ProvisionedThroughput.ReadCapacityUnits`
- // request parameter.
- //
- // Type: double
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 1.0, 2.0
- AWSDynamoDBProvisionedReadCapacityKey = attribute.Key("aws.dynamodb.provisioned_read_capacity")
-
- // AWSDynamoDBProvisionedWriteCapacityKey is the attribute Key conforming
- // to the "aws.dynamodb.provisioned_write_capacity" semantic conventions.
- // It represents the value of the
- // `ProvisionedThroughput.WriteCapacityUnits` request parameter.
- //
- // Type: double
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 1.0, 2.0
- AWSDynamoDBProvisionedWriteCapacityKey = attribute.Key("aws.dynamodb.provisioned_write_capacity")
-
- // AWSDynamoDBSelectKey is the attribute Key conforming to the
- // "aws.dynamodb.select" semantic conventions. It represents the value of
- // the `Select` request parameter.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'ALL_ATTRIBUTES', 'COUNT'
- AWSDynamoDBSelectKey = attribute.Key("aws.dynamodb.select")
-
- // AWSDynamoDBTableNamesKey is the attribute Key conforming to the
- // "aws.dynamodb.table_names" semantic conventions. It represents the keys
- // in the `RequestItems` object field.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Users', 'Cats'
- AWSDynamoDBTableNamesKey = attribute.Key("aws.dynamodb.table_names")
-)
-
-// AWSDynamoDBAttributesToGet returns an attribute KeyValue conforming to
-// the "aws.dynamodb.attributes_to_get" semantic conventions. It represents the
-// value of the `AttributesToGet` request parameter.
-func AWSDynamoDBAttributesToGet(val ...string) attribute.KeyValue {
- return AWSDynamoDBAttributesToGetKey.StringSlice(val)
-}
-
-// AWSDynamoDBConsistentRead returns an attribute KeyValue conforming to the
-// "aws.dynamodb.consistent_read" semantic conventions. It represents the value
-// of the `ConsistentRead` request parameter.
-func AWSDynamoDBConsistentRead(val bool) attribute.KeyValue {
- return AWSDynamoDBConsistentReadKey.Bool(val)
-}
-
-// AWSDynamoDBConsumedCapacity returns an attribute KeyValue conforming to
-// the "aws.dynamodb.consumed_capacity" semantic conventions. It represents the
-// JSON-serialized value of each item in the `ConsumedCapacity` response field.
-func AWSDynamoDBConsumedCapacity(val ...string) attribute.KeyValue {
- return AWSDynamoDBConsumedCapacityKey.StringSlice(val)
-}
-
-// AWSDynamoDBIndexName returns an attribute KeyValue conforming to the
-// "aws.dynamodb.index_name" semantic conventions. It represents the value of
-// the `IndexName` request parameter.
-func AWSDynamoDBIndexName(val string) attribute.KeyValue {
- return AWSDynamoDBIndexNameKey.String(val)
-}
-
-// AWSDynamoDBItemCollectionMetrics returns an attribute KeyValue conforming
-// to the "aws.dynamodb.item_collection_metrics" semantic conventions. It
-// represents the JSON-serialized value of the `ItemCollectionMetrics` response
-// field.
-func AWSDynamoDBItemCollectionMetrics(val string) attribute.KeyValue {
- return AWSDynamoDBItemCollectionMetricsKey.String(val)
-}
-
-// AWSDynamoDBLimit returns an attribute KeyValue conforming to the
-// "aws.dynamodb.limit" semantic conventions. It represents the value of the
-// `Limit` request parameter.
-func AWSDynamoDBLimit(val int) attribute.KeyValue {
- return AWSDynamoDBLimitKey.Int(val)
-}
-
-// AWSDynamoDBProjection returns an attribute KeyValue conforming to the
-// "aws.dynamodb.projection" semantic conventions. It represents the value of
-// the `ProjectionExpression` request parameter.
-func AWSDynamoDBProjection(val string) attribute.KeyValue {
- return AWSDynamoDBProjectionKey.String(val)
-}
-
-// AWSDynamoDBProvisionedReadCapacity returns an attribute KeyValue
-// conforming to the "aws.dynamodb.provisioned_read_capacity" semantic
-// conventions. It represents the value of the
-// `ProvisionedThroughput.ReadCapacityUnits` request parameter.
-func AWSDynamoDBProvisionedReadCapacity(val float64) attribute.KeyValue {
- return AWSDynamoDBProvisionedReadCapacityKey.Float64(val)
-}
-
-// AWSDynamoDBProvisionedWriteCapacity returns an attribute KeyValue
-// conforming to the "aws.dynamodb.provisioned_write_capacity" semantic
-// conventions. It represents the value of the
-// `ProvisionedThroughput.WriteCapacityUnits` request parameter.
-func AWSDynamoDBProvisionedWriteCapacity(val float64) attribute.KeyValue {
- return AWSDynamoDBProvisionedWriteCapacityKey.Float64(val)
-}
-
-// AWSDynamoDBSelect returns an attribute KeyValue conforming to the
-// "aws.dynamodb.select" semantic conventions. It represents the value of the
-// `Select` request parameter.
-func AWSDynamoDBSelect(val string) attribute.KeyValue {
- return AWSDynamoDBSelectKey.String(val)
-}
-
-// AWSDynamoDBTableNames returns an attribute KeyValue conforming to the
-// "aws.dynamodb.table_names" semantic conventions. It represents the keys in
-// the `RequestItems` object field.
-func AWSDynamoDBTableNames(val ...string) attribute.KeyValue {
- return AWSDynamoDBTableNamesKey.StringSlice(val)
-}
-
-// DynamoDB.CreateTable
-const (
- // AWSDynamoDBGlobalSecondaryIndexesKey is the attribute Key conforming to
- // the "aws.dynamodb.global_secondary_indexes" semantic conventions. It
- // represents the JSON-serialized value of each item of the
- // `GlobalSecondaryIndexes` request field
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName":
- // "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [
- // "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": {
- // "ReadCapacityUnits": number, "WriteCapacityUnits": number } }'
- AWSDynamoDBGlobalSecondaryIndexesKey = attribute.Key("aws.dynamodb.global_secondary_indexes")
-
- // AWSDynamoDBLocalSecondaryIndexesKey is the attribute Key conforming to
- // the "aws.dynamodb.local_secondary_indexes" semantic conventions. It
- // represents the JSON-serialized value of each item of the
- // `LocalSecondaryIndexes` request field.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '{ "IndexARN": "string", "IndexName": "string",
- // "IndexSizeBytes": number, "ItemCount": number, "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" } }'
- AWSDynamoDBLocalSecondaryIndexesKey = attribute.Key("aws.dynamodb.local_secondary_indexes")
-)
-
-// AWSDynamoDBGlobalSecondaryIndexes returns an attribute KeyValue
-// conforming to the "aws.dynamodb.global_secondary_indexes" semantic
-// conventions. It represents the JSON-serialized value of each item of the
-// `GlobalSecondaryIndexes` request field
-func AWSDynamoDBGlobalSecondaryIndexes(val ...string) attribute.KeyValue {
- return AWSDynamoDBGlobalSecondaryIndexesKey.StringSlice(val)
-}
-
-// AWSDynamoDBLocalSecondaryIndexes returns an attribute KeyValue conforming
-// to the "aws.dynamodb.local_secondary_indexes" semantic conventions. It
-// represents the JSON-serialized value of each item of the
-// `LocalSecondaryIndexes` request field.
-func AWSDynamoDBLocalSecondaryIndexes(val ...string) attribute.KeyValue {
- return AWSDynamoDBLocalSecondaryIndexesKey.StringSlice(val)
-}
-
-// DynamoDB.ListTables
-const (
- // AWSDynamoDBExclusiveStartTableKey is the attribute Key conforming to the
- // "aws.dynamodb.exclusive_start_table" semantic conventions. It represents
- // the value of the `ExclusiveStartTableName` request parameter.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Users', 'CatsTable'
- AWSDynamoDBExclusiveStartTableKey = attribute.Key("aws.dynamodb.exclusive_start_table")
-
- // AWSDynamoDBTableCountKey is the attribute Key conforming to the
- // "aws.dynamodb.table_count" semantic conventions. It represents the the
- // number of items in the `TableNames` response parameter.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 20
- AWSDynamoDBTableCountKey = attribute.Key("aws.dynamodb.table_count")
-)
-
-// AWSDynamoDBExclusiveStartTable returns an attribute KeyValue conforming
-// to the "aws.dynamodb.exclusive_start_table" semantic conventions. It
-// represents the value of the `ExclusiveStartTableName` request parameter.
-func AWSDynamoDBExclusiveStartTable(val string) attribute.KeyValue {
- return AWSDynamoDBExclusiveStartTableKey.String(val)
-}
-
-// AWSDynamoDBTableCount returns an attribute KeyValue conforming to the
-// "aws.dynamodb.table_count" semantic conventions. It represents the the
-// number of items in the `TableNames` response parameter.
-func AWSDynamoDBTableCount(val int) attribute.KeyValue {
- return AWSDynamoDBTableCountKey.Int(val)
-}
-
-// DynamoDB.Query
-const (
- // AWSDynamoDBScanForwardKey is the attribute Key conforming to the
- // "aws.dynamodb.scan_forward" semantic conventions. It represents the
- // value of the `ScanIndexForward` request parameter.
- //
- // Type: boolean
- // RequirementLevel: Optional
- // Stability: experimental
- AWSDynamoDBScanForwardKey = attribute.Key("aws.dynamodb.scan_forward")
-)
-
-// AWSDynamoDBScanForward returns an attribute KeyValue conforming to the
-// "aws.dynamodb.scan_forward" semantic conventions. It represents the value of
-// the `ScanIndexForward` request parameter.
-func AWSDynamoDBScanForward(val bool) attribute.KeyValue {
- return AWSDynamoDBScanForwardKey.Bool(val)
-}
-
-// DynamoDB.Scan
-const (
- // AWSDynamoDBCountKey is the attribute Key conforming to the
- // "aws.dynamodb.count" semantic conventions. It represents the value of
- // the `Count` response parameter.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 10
- AWSDynamoDBCountKey = attribute.Key("aws.dynamodb.count")
-
- // AWSDynamoDBScannedCountKey is the attribute Key conforming to the
- // "aws.dynamodb.scanned_count" semantic conventions. It represents the
- // value of the `ScannedCount` response parameter.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 50
- AWSDynamoDBScannedCountKey = attribute.Key("aws.dynamodb.scanned_count")
-
- // AWSDynamoDBSegmentKey is the attribute Key conforming to the
- // "aws.dynamodb.segment" semantic conventions. It represents the value of
- // the `Segment` request parameter.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 10
- AWSDynamoDBSegmentKey = attribute.Key("aws.dynamodb.segment")
-
- // AWSDynamoDBTotalSegmentsKey is the attribute Key conforming to the
- // "aws.dynamodb.total_segments" semantic conventions. It represents the
- // value of the `TotalSegments` request parameter.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 100
- AWSDynamoDBTotalSegmentsKey = attribute.Key("aws.dynamodb.total_segments")
-)
-
-// AWSDynamoDBCount returns an attribute KeyValue conforming to the
-// "aws.dynamodb.count" semantic conventions. It represents the value of the
-// `Count` response parameter.
-func AWSDynamoDBCount(val int) attribute.KeyValue {
- return AWSDynamoDBCountKey.Int(val)
-}
-
-// AWSDynamoDBScannedCount returns an attribute KeyValue conforming to the
-// "aws.dynamodb.scanned_count" semantic conventions. It represents the value
-// of the `ScannedCount` response parameter.
-func AWSDynamoDBScannedCount(val int) attribute.KeyValue {
- return AWSDynamoDBScannedCountKey.Int(val)
-}
-
-// AWSDynamoDBSegment returns an attribute KeyValue conforming to the
-// "aws.dynamodb.segment" semantic conventions. It represents the value of the
-// `Segment` request parameter.
-func AWSDynamoDBSegment(val int) attribute.KeyValue {
- return AWSDynamoDBSegmentKey.Int(val)
-}
-
-// AWSDynamoDBTotalSegments returns an attribute KeyValue conforming to the
-// "aws.dynamodb.total_segments" semantic conventions. It represents the value
-// of the `TotalSegments` request parameter.
-func AWSDynamoDBTotalSegments(val int) attribute.KeyValue {
- return AWSDynamoDBTotalSegmentsKey.Int(val)
-}
-
-// DynamoDB.UpdateTable
-const (
- // AWSDynamoDBAttributeDefinitionsKey is the attribute Key conforming to
- // the "aws.dynamodb.attribute_definitions" semantic conventions. It
- // represents the JSON-serialized value of each item in the
- // `AttributeDefinitions` request field.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
- AWSDynamoDBAttributeDefinitionsKey = attribute.Key("aws.dynamodb.attribute_definitions")
-
- // AWSDynamoDBGlobalSecondaryIndexUpdatesKey is the attribute Key
- // conforming to the "aws.dynamodb.global_secondary_index_updates" semantic
- // conventions. It represents the JSON-serialized value of each item in the
- // the `GlobalSecondaryIndexUpdates` request field.
- //
- // Type: string[]
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
- // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
- // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
- // "ProvisionedThroughput": { "ReadCapacityUnits": number,
- // "WriteCapacityUnits": number } }'
- AWSDynamoDBGlobalSecondaryIndexUpdatesKey = attribute.Key("aws.dynamodb.global_secondary_index_updates")
-)
-
-// AWSDynamoDBAttributeDefinitions returns an attribute KeyValue conforming
-// to the "aws.dynamodb.attribute_definitions" semantic conventions. It
-// represents the JSON-serialized value of each item in the
-// `AttributeDefinitions` request field.
-func AWSDynamoDBAttributeDefinitions(val ...string) attribute.KeyValue {
- return AWSDynamoDBAttributeDefinitionsKey.StringSlice(val)
-}
-
-// AWSDynamoDBGlobalSecondaryIndexUpdates returns an attribute KeyValue
-// conforming to the "aws.dynamodb.global_secondary_index_updates" semantic
-// conventions. It represents the JSON-serialized value of each item in the the
-// `GlobalSecondaryIndexUpdates` request field.
-func AWSDynamoDBGlobalSecondaryIndexUpdates(val ...string) attribute.KeyValue {
- return AWSDynamoDBGlobalSecondaryIndexUpdatesKey.StringSlice(val)
-}
-
-// Attributes that exist for S3 request types.
-const (
- // AWSS3BucketKey is the attribute Key conforming to the "aws.s3.bucket"
- // semantic conventions. It represents the S3 bucket name the request
- // refers to. Corresponds to the `--bucket` parameter of the [S3
- // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
- // operations.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'some-bucket-name'
- // Note: The `bucket` attribute is applicable to all S3 operations that
- // reference a bucket, i.e. that require the bucket name as a mandatory
- // parameter.
- // This applies to almost all S3 operations except `list-buckets`.
- AWSS3BucketKey = attribute.Key("aws.s3.bucket")
-
- // AWSS3CopySourceKey is the attribute Key conforming to the
- // "aws.s3.copy_source" semantic conventions. It represents the source
- // object (in the form `bucket`/`key`) for the copy operation.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'someFile.yml'
- // Note: The `copy_source` attribute applies to S3 copy operations and
- // corresponds to the `--copy-source` parameter
- // of the [copy-object operation within the S3
- // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html).
- // This applies in particular to the following operations:
- //
- // -
- // [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
- // -
- // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
- AWSS3CopySourceKey = attribute.Key("aws.s3.copy_source")
-
- // AWSS3DeleteKey is the attribute Key conforming to the "aws.s3.delete"
- // semantic conventions. It represents the delete request container that
- // specifies the objects to be deleted.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples:
- // 'Objects=[{Key=string,VersionID=string},{Key=string,VersionID=string}],Quiet=boolean'
- // Note: The `delete` attribute is only applicable to the
- // [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
- // operation.
- // The `delete` attribute corresponds to the `--delete` parameter of the
- // [delete-objects operation within the S3
- // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html).
- AWSS3DeleteKey = attribute.Key("aws.s3.delete")
-
- // AWSS3KeyKey is the attribute Key conforming to the "aws.s3.key" semantic
- // conventions. It represents the S3 object key the request refers to.
- // Corresponds to the `--key` parameter of the [S3
- // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
- // operations.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'someFile.yml'
- // Note: The `key` attribute is applicable to all object-related S3
- // operations, i.e. that require the object key as a mandatory parameter.
- // This applies in particular to the following operations:
- //
- // -
- // [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
- // -
- // [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
- // -
- // [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html)
- // -
- // [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html)
- // -
- // [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html)
- // -
- // [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html)
- // -
- // [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html)
- // -
- // [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
- // -
- // [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
- // -
- // [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html)
- // -
- // [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
- // -
- // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
- // -
- // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
- AWSS3KeyKey = attribute.Key("aws.s3.key")
-
- // AWSS3PartNumberKey is the attribute Key conforming to the
- // "aws.s3.part_number" semantic conventions. It represents the part number
- // of the part being uploaded in a multipart-upload operation. This is a
- // positive integer between 1 and 10,000.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 3456
- // Note: The `part_number` attribute is only applicable to the
- // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
- // and
- // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
- // operations.
- // The `part_number` attribute corresponds to the `--part-number` parameter
- // of the
- // [upload-part operation within the S3
- // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html).
- AWSS3PartNumberKey = attribute.Key("aws.s3.part_number")
-
- // AWSS3UploadIDKey is the attribute Key conforming to the
- // "aws.s3.upload_id" semantic conventions. It represents the upload ID
- // that identifies the multipart upload.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ'
- // Note: The `upload_id` attribute applies to S3 multipart-upload
- // operations and corresponds to the `--upload-id` parameter
- // of the [S3
- // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
- // multipart operations.
- // This applies in particular to the following operations:
- //
- // -
- // [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
- // -
- // [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
- // -
- // [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
- // -
- // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
- // -
- // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
- AWSS3UploadIDKey = attribute.Key("aws.s3.upload_id")
-)
-
-// AWSS3Bucket returns an attribute KeyValue conforming to the
-// "aws.s3.bucket" semantic conventions. It represents the S3 bucket name the
-// request refers to. Corresponds to the `--bucket` parameter of the [S3
-// API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
-// operations.
-func AWSS3Bucket(val string) attribute.KeyValue {
- return AWSS3BucketKey.String(val)
-}
-
-// AWSS3CopySource returns an attribute KeyValue conforming to the
-// "aws.s3.copy_source" semantic conventions. It represents the source object
-// (in the form `bucket`/`key`) for the copy operation.
-func AWSS3CopySource(val string) attribute.KeyValue {
- return AWSS3CopySourceKey.String(val)
-}
-
-// AWSS3Delete returns an attribute KeyValue conforming to the
-// "aws.s3.delete" semantic conventions. It represents the delete request
-// container that specifies the objects to be deleted.
-func AWSS3Delete(val string) attribute.KeyValue {
- return AWSS3DeleteKey.String(val)
-}
-
-// AWSS3Key returns an attribute KeyValue conforming to the "aws.s3.key"
-// semantic conventions. It represents the S3 object key the request refers to.
-// Corresponds to the `--key` parameter of the [S3
-// API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
-// operations.
-func AWSS3Key(val string) attribute.KeyValue {
- return AWSS3KeyKey.String(val)
-}
-
-// AWSS3PartNumber returns an attribute KeyValue conforming to the
-// "aws.s3.part_number" semantic conventions. It represents the part number of
-// the part being uploaded in a multipart-upload operation. This is a positive
-// integer between 1 and 10,000.
-func AWSS3PartNumber(val int) attribute.KeyValue {
- return AWSS3PartNumberKey.Int(val)
-}
-
-// AWSS3UploadID returns an attribute KeyValue conforming to the
-// "aws.s3.upload_id" semantic conventions. It represents the upload ID that
-// identifies the multipart upload.
-func AWSS3UploadID(val string) attribute.KeyValue {
- return AWSS3UploadIDKey.String(val)
-}
-
-// Semantic conventions to apply when instrumenting the GraphQL implementation.
-// They map GraphQL operations to attributes on a Span.
-const (
- // GraphqlDocumentKey is the attribute Key conforming to the
- // "graphql.document" semantic conventions. It represents the GraphQL
- // document being executed.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'query findBookByID { bookByID(id: ?) { name } }'
- // Note: The value may be sanitized to exclude sensitive information.
- GraphqlDocumentKey = attribute.Key("graphql.document")
-
- // GraphqlOperationNameKey is the attribute Key conforming to the
- // "graphql.operation.name" semantic conventions. It represents the name of
- // the operation being executed.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'findBookByID'
- GraphqlOperationNameKey = attribute.Key("graphql.operation.name")
-
- // GraphqlOperationTypeKey is the attribute Key conforming to the
- // "graphql.operation.type" semantic conventions. It represents the type of
- // the operation being executed.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'query', 'mutation', 'subscription'
- GraphqlOperationTypeKey = attribute.Key("graphql.operation.type")
-)
-
-var (
- // GraphQL query
- GraphqlOperationTypeQuery = GraphqlOperationTypeKey.String("query")
- // GraphQL mutation
- GraphqlOperationTypeMutation = GraphqlOperationTypeKey.String("mutation")
- // GraphQL subscription
- GraphqlOperationTypeSubscription = GraphqlOperationTypeKey.String("subscription")
-)
-
-// GraphqlDocument returns an attribute KeyValue conforming to the
-// "graphql.document" semantic conventions. It represents the GraphQL document
-// being executed.
-func GraphqlDocument(val string) attribute.KeyValue {
- return GraphqlDocumentKey.String(val)
-}
-
-// GraphqlOperationName returns an attribute KeyValue conforming to the
-// "graphql.operation.name" semantic conventions. It represents the name of the
-// operation being executed.
-func GraphqlOperationName(val string) attribute.KeyValue {
- return GraphqlOperationNameKey.String(val)
-}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/README.md
new file mode 100644
index 0000000000..980fcc7df5
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/README.md
@@ -0,0 +1,3 @@
+# Semconv v1.25.0
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.25.0)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/attribute_group.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/attribute_group.go
similarity index 50%
rename from cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/attribute_group.go
rename to cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/attribute_group.go
index 31726598d6..30a51fa701 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/attribute_group.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/attribute_group.go
@@ -1,116 +1,12 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
import "go.opentelemetry.io/otel/attribute"
-// Describes FaaS attributes.
-const (
- // FaaSInvokedNameKey is the attribute Key conforming to the
- // "faas.invoked_name" semantic conventions. It represents the name of the
- // invoked function.
- //
- // Type: string
- // RequirementLevel: Required
- // Stability: experimental
- // Examples: 'my-function'
- // Note: SHOULD be equal to the `faas.name` resource attribute of the
- // invoked function.
- FaaSInvokedNameKey = attribute.Key("faas.invoked_name")
-
- // FaaSInvokedProviderKey is the attribute Key conforming to the
- // "faas.invoked_provider" semantic conventions. It represents the cloud
- // provider of the invoked function.
- //
- // Type: Enum
- // RequirementLevel: Required
- // Stability: experimental
- // Note: SHOULD be equal to the `cloud.provider` resource attribute of the
- // invoked function.
- FaaSInvokedProviderKey = attribute.Key("faas.invoked_provider")
-
- // FaaSInvokedRegionKey is the attribute Key conforming to the
- // "faas.invoked_region" semantic conventions. It represents the cloud
- // region of the invoked function.
- //
- // Type: string
- // RequirementLevel: ConditionallyRequired (For some cloud providers, like
- // AWS or GCP, the region in which a function is hosted is essential to
- // uniquely identify the function and also part of its endpoint. Since it's
- // part of the endpoint being called, the region is always known to
- // clients. In these cases, `faas.invoked_region` MUST be set accordingly.
- // If the region is unknown to the client or not required for identifying
- // the invoked function, setting `faas.invoked_region` is optional.)
- // Stability: experimental
- // Examples: 'eu-central-1'
- // Note: SHOULD be equal to the `cloud.region` resource attribute of the
- // invoked function.
- FaaSInvokedRegionKey = attribute.Key("faas.invoked_region")
-
- // FaaSTriggerKey is the attribute Key conforming to the "faas.trigger"
- // semantic conventions. It represents the type of the trigger which caused
- // this function invocation.
- //
- // Type: Enum
- // RequirementLevel: Optional
- // Stability: experimental
- FaaSTriggerKey = attribute.Key("faas.trigger")
-)
-
-var (
- // Alibaba Cloud
- FaaSInvokedProviderAlibabaCloud = FaaSInvokedProviderKey.String("alibaba_cloud")
- // Amazon Web Services
- FaaSInvokedProviderAWS = FaaSInvokedProviderKey.String("aws")
- // Microsoft Azure
- FaaSInvokedProviderAzure = FaaSInvokedProviderKey.String("azure")
- // Google Cloud Platform
- FaaSInvokedProviderGCP = FaaSInvokedProviderKey.String("gcp")
- // Tencent Cloud
- FaaSInvokedProviderTencentCloud = FaaSInvokedProviderKey.String("tencent_cloud")
-)
-
-var (
- // A response to some data source operation such as a database or filesystem read/write
- FaaSTriggerDatasource = FaaSTriggerKey.String("datasource")
- // To provide an answer to an inbound HTTP request
- FaaSTriggerHTTP = FaaSTriggerKey.String("http")
- // A function is set to be executed when messages are sent to a messaging system
- FaaSTriggerPubsub = FaaSTriggerKey.String("pubsub")
- // A function is scheduled to be executed regularly
- FaaSTriggerTimer = FaaSTriggerKey.String("timer")
- // If none of the others apply
- FaaSTriggerOther = FaaSTriggerKey.String("other")
-)
-
-// FaaSInvokedName returns an attribute KeyValue conforming to the
-// "faas.invoked_name" semantic conventions. It represents the name of the
-// invoked function.
-func FaaSInvokedName(val string) attribute.KeyValue {
- return FaaSInvokedNameKey.String(val)
-}
-
-// FaaSInvokedRegion returns an attribute KeyValue conforming to the
-// "faas.invoked_region" semantic conventions. It represents the cloud region
-// of the invoked function.
-func FaaSInvokedRegion(val string) attribute.KeyValue {
- return FaaSInvokedRegionKey.String(val)
-}
-
// Attributes for Events represented using Log Records.
const (
// EventNameKey is the attribute Key conforming to the "event.name"
@@ -122,7 +18,7 @@ const (
// Stability: experimental
// Examples: 'browser.mouse.click', 'device.app.lifecycle'
// Note: Event names are subject to the same rules as [attribute
- // names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.26.0/specification/common/attribute-naming.md).
+ // names](https://github.com/open-telemetry/opentelemetry-specification/tree/v1.31.0/specification/common/attribute-naming.md).
// Notably, event names are namespaced to avoid collisions and provide a
// clean separation of semantics for events in separate domains like
// browser, mobile, and kubernetes.
@@ -256,9 +152,9 @@ const (
// PoolNameKey is the attribute Key conforming to the "pool.name" semantic
// conventions. It represents the name of the connection pool; unique
// within the instrumented application. In case the connection pool
- // implementation doesn't provide a name, then the
- // [db.connection_string](/docs/database/database-spans.md#connection-level-attributes)
- // should be used
+ // implementation doesn't provide a name, instrumentation should use a
+ // combination of `server.address` and `server.port` attributes formatted
+ // as `server.address:server.port`.
//
// Type: string
// RequirementLevel: Required
@@ -286,15 +182,26 @@ var (
// PoolName returns an attribute KeyValue conforming to the "pool.name"
// semantic conventions. It represents the name of the connection pool; unique
// within the instrumented application. In case the connection pool
-// implementation doesn't provide a name, then the
-// [db.connection_string](/docs/database/database-spans.md#connection-level-attributes)
-// should be used
+// implementation doesn't provide a name, instrumentation should use a
+// combination of `server.address` and `server.port` attributes formatted as
+// `server.address:server.port`.
func PoolName(val string) attribute.KeyValue {
return PoolNameKey.String(val)
}
// ASP.NET Core attributes
const (
+ // AspnetcoreRateLimitingResultKey is the attribute Key conforming to the
+ // "aspnetcore.rate_limiting.result" semantic conventions. It represents
+ // the rate-limiting result, shows whether the lease was acquired or
+ // contains a rejection reason
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'acquired', 'request_canceled'
+ AspnetcoreRateLimitingResultKey = attribute.Key("aspnetcore.rate_limiting.result")
+
// AspnetcoreDiagnosticsHandlerTypeKey is the attribute Key conforming to
// the "aspnetcore.diagnostics.handler.type" semantic conventions. It
// represents the full type name of the
@@ -304,7 +211,7 @@ const (
// Type: string
// RequirementLevel: ConditionallyRequired (if and only if the exception
// was handled by this handler.)
- // Stability: experimental
+ // Stability: stable
// Examples: 'Contoso.MyHandler'
AspnetcoreDiagnosticsHandlerTypeKey = attribute.Key("aspnetcore.diagnostics.handler.type")
@@ -315,21 +222,10 @@ const (
// Type: string
// RequirementLevel: ConditionallyRequired (if the matched endpoint for the
// request had a rate-limiting policy.)
- // Stability: experimental
+ // Stability: stable
// Examples: 'fixed', 'sliding', 'token'
AspnetcoreRateLimitingPolicyKey = attribute.Key("aspnetcore.rate_limiting.policy")
- // AspnetcoreRateLimitingResultKey is the attribute Key conforming to the
- // "aspnetcore.rate_limiting.result" semantic conventions. It represents
- // the rate-limiting result, shows whether the lease was acquired or
- // contains a rejection reason
- //
- // Type: Enum
- // RequirementLevel: Required
- // Stability: experimental
- // Examples: 'acquired', 'request_canceled'
- AspnetcoreRateLimitingResultKey = attribute.Key("aspnetcore.rate_limiting.result")
-
// AspnetcoreRequestIsUnhandledKey is the attribute Key conforming to the
// "aspnetcore.request.is_unhandled" semantic conventions. It represents
// the flag indicating if request was handled by the application pipeline.
@@ -337,7 +233,7 @@ const (
// Type: boolean
// RequirementLevel: ConditionallyRequired (if and only if the request was
// not handled.)
- // Stability: experimental
+ // Stability: stable
// Examples: True
AspnetcoreRequestIsUnhandledKey = attribute.Key("aspnetcore.request.is_unhandled")
@@ -348,7 +244,7 @@ const (
// Type: boolean
// RequirementLevel: ConditionallyRequired (If and only if a route was
// successfully matched.)
- // Stability: experimental
+ // Stability: stable
// Examples: True
AspnetcoreRoutingIsFallbackKey = attribute.Key("aspnetcore.routing.is_fallback")
)
@@ -402,7 +298,7 @@ const (
//
// Type: Enum
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'app_shutdown', 'timeout'
SignalrConnectionStatusKey = attribute.Key("signalr.connection.status")
@@ -413,7 +309,7 @@ const (
//
// Type: Enum
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'web_sockets', 'long_polling'
SignalrTransportKey = attribute.Key("signalr.transport")
)
@@ -497,6 +393,29 @@ func JvmMemoryPoolName(val string) attribute.KeyValue {
return JvmMemoryPoolNameKey.String(val)
}
+// Attributes for process CPU metrics.
+const (
+ // ProcessCPUStateKey is the attribute Key conforming to the
+ // "process.cpu.state" semantic conventions. It represents the CPU state
+ // for this data point. A process SHOULD be characterized _either_ by data
+ // points with no `state` labels, _or only_ data points with `state`
+ // labels.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ ProcessCPUStateKey = attribute.Key("process.cpu.state")
+)
+
+var (
+ // system
+ ProcessCPUStateSystem = ProcessCPUStateKey.String("system")
+ // user
+ ProcessCPUStateUser = ProcessCPUStateKey.String("user")
+ // wait
+ ProcessCPUStateWait = ProcessCPUStateKey.String("wait")
+)
+
// Describes System metric attributes
const (
// SystemDeviceKey is the attribute Key conforming to the "system.device"
@@ -528,8 +447,10 @@ const (
SystemCPULogicalNumberKey = attribute.Key("system.cpu.logical_number")
// SystemCPUStateKey is the attribute Key conforming to the
- // "system.cpu.state" semantic conventions. It represents the state of the
- // CPU
+ // "system.cpu.state" semantic conventions. It represents the CPU state for
+ // this data point. A system's CPU SHOULD be characterized *either* by data
+ // points with no `state` labels, *or only* data points with `state`
+ // labels.
//
// Type: Enum
// RequirementLevel: Optional
@@ -765,29 +686,557 @@ var (
// Describes System Process metric attributes
const (
- // SystemProcessesStatusKey is the attribute Key conforming to the
- // "system.processes.status" semantic conventions. It represents the
- // process state, e.g., [Linux Process State
+ // SystemProcessStatusKey is the attribute Key conforming to the
+ // "system.process.status" semantic conventions. It represents the process
+ // state, e.g., [Linux Process State
// Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES)
//
// Type: Enum
// RequirementLevel: Optional
// Stability: experimental
// Examples: 'running'
- SystemProcessesStatusKey = attribute.Key("system.processes.status")
+ SystemProcessStatusKey = attribute.Key("system.process.status")
)
var (
// running
- SystemProcessesStatusRunning = SystemProcessesStatusKey.String("running")
+ SystemProcessStatusRunning = SystemProcessStatusKey.String("running")
// sleeping
- SystemProcessesStatusSleeping = SystemProcessesStatusKey.String("sleeping")
+ SystemProcessStatusSleeping = SystemProcessStatusKey.String("sleeping")
// stopped
- SystemProcessesStatusStopped = SystemProcessesStatusKey.String("stopped")
+ SystemProcessStatusStopped = SystemProcessStatusKey.String("stopped")
// defunct
- SystemProcessesStatusDefunct = SystemProcessesStatusKey.String("defunct")
+ SystemProcessStatusDefunct = SystemProcessStatusKey.String("defunct")
)
+// The Android platform on which the Android application is running.
+const (
+ // AndroidOSAPILevelKey is the attribute Key conforming to the
+ // "android.os.api_level" semantic conventions. It represents the uniquely
+ // identifies the framework API revision offered by a version
+ // (`os.version`) of the android operating system. More information can be
+ // found
+ // [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#APILevels).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '33', '32'
+ AndroidOSAPILevelKey = attribute.Key("android.os.api_level")
+)
+
+// AndroidOSAPILevel returns an attribute KeyValue conforming to the
+// "android.os.api_level" semantic conventions. It represents the uniquely
+// identifies the framework API revision offered by a version (`os.version`) of
+// the android operating system. More information can be found
+// [here](https://developer.android.com/guide/topics/manifest/uses-sdk-element#APILevels).
+func AndroidOSAPILevel(val string) attribute.KeyValue {
+ return AndroidOSAPILevelKey.String(val)
+}
+
+// Attributes for AWS DynamoDB.
+const (
+ // AWSDynamoDBAttributeDefinitionsKey is the attribute Key conforming to
+ // the "aws.dynamodb.attribute_definitions" semantic conventions. It
+ // represents the JSON-serialized value of each item in the
+ // `AttributeDefinitions` request field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
+ AWSDynamoDBAttributeDefinitionsKey = attribute.Key("aws.dynamodb.attribute_definitions")
+
+ // AWSDynamoDBAttributesToGetKey is the attribute Key conforming to the
+ // "aws.dynamodb.attributes_to_get" semantic conventions. It represents the
+ // value of the `AttributesToGet` request parameter.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'lives', 'id'
+ AWSDynamoDBAttributesToGetKey = attribute.Key("aws.dynamodb.attributes_to_get")
+
+ // AWSDynamoDBConsistentReadKey is the attribute Key conforming to the
+ // "aws.dynamodb.consistent_read" semantic conventions. It represents the
+ // value of the `ConsistentRead` request parameter.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: experimental
+ AWSDynamoDBConsistentReadKey = attribute.Key("aws.dynamodb.consistent_read")
+
+ // AWSDynamoDBConsumedCapacityKey is the attribute Key conforming to the
+ // "aws.dynamodb.consumed_capacity" semantic conventions. It represents the
+ // JSON-serialized value of each item in the `ConsumedCapacity` response
+ // field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '{ "CapacityUnits": number, "GlobalSecondaryIndexes": {
+ // "string" : { "CapacityUnits": number, "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number } }, "LocalSecondaryIndexes": { "string" :
+ // { "CapacityUnits": number, "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number } }, "ReadCapacityUnits": number, "Table":
+ // { "CapacityUnits": number, "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number }, "TableName": "string",
+ // "WriteCapacityUnits": number }'
+ AWSDynamoDBConsumedCapacityKey = attribute.Key("aws.dynamodb.consumed_capacity")
+
+ // AWSDynamoDBCountKey is the attribute Key conforming to the
+ // "aws.dynamodb.count" semantic conventions. It represents the value of
+ // the `Count` response parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 10
+ AWSDynamoDBCountKey = attribute.Key("aws.dynamodb.count")
+
+ // AWSDynamoDBExclusiveStartTableKey is the attribute Key conforming to the
+ // "aws.dynamodb.exclusive_start_table" semantic conventions. It represents
+ // the value of the `ExclusiveStartTableName` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Users', 'CatsTable'
+ AWSDynamoDBExclusiveStartTableKey = attribute.Key("aws.dynamodb.exclusive_start_table")
+
+ // AWSDynamoDBGlobalSecondaryIndexUpdatesKey is the attribute Key
+ // conforming to the "aws.dynamodb.global_secondary_index_updates" semantic
+ // conventions. It represents the JSON-serialized value of each item in the
+ // `GlobalSecondaryIndexUpdates` request field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '{ "Create": { "IndexName": "string", "KeySchema": [ {
+ // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
+ // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" },
+ // "ProvisionedThroughput": { "ReadCapacityUnits": number,
+ // "WriteCapacityUnits": number } }'
+ AWSDynamoDBGlobalSecondaryIndexUpdatesKey = attribute.Key("aws.dynamodb.global_secondary_index_updates")
+
+ // AWSDynamoDBGlobalSecondaryIndexesKey is the attribute Key conforming to
+ // the "aws.dynamodb.global_secondary_indexes" semantic conventions. It
+ // represents the JSON-serialized value of each item of the
+ // `GlobalSecondaryIndexes` request field
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '{ "IndexName": "string", "KeySchema": [ { "AttributeName":
+ // "string", "KeyType": "string" } ], "Projection": { "NonKeyAttributes": [
+ // "string" ], "ProjectionType": "string" }, "ProvisionedThroughput": {
+ // "ReadCapacityUnits": number, "WriteCapacityUnits": number } }'
+ AWSDynamoDBGlobalSecondaryIndexesKey = attribute.Key("aws.dynamodb.global_secondary_indexes")
+
+ // AWSDynamoDBIndexNameKey is the attribute Key conforming to the
+ // "aws.dynamodb.index_name" semantic conventions. It represents the value
+ // of the `IndexName` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'name_to_group'
+ AWSDynamoDBIndexNameKey = attribute.Key("aws.dynamodb.index_name")
+
+ // AWSDynamoDBItemCollectionMetricsKey is the attribute Key conforming to
+ // the "aws.dynamodb.item_collection_metrics" semantic conventions. It
+ // represents the JSON-serialized value of the `ItemCollectionMetrics`
+ // response field.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '{ "string" : [ { "ItemCollectionKey": { "string" : { "B":
+ // blob, "BOOL": boolean, "BS": [ blob ], "L": [ "AttributeValue" ], "M": {
+ // "string" : "AttributeValue" }, "N": "string", "NS": [ "string" ],
+ // "NULL": boolean, "S": "string", "SS": [ "string" ] } },
+ // "SizeEstimateRangeGB": [ number ] } ] }'
+ AWSDynamoDBItemCollectionMetricsKey = attribute.Key("aws.dynamodb.item_collection_metrics")
+
+ // AWSDynamoDBLimitKey is the attribute Key conforming to the
+ // "aws.dynamodb.limit" semantic conventions. It represents the value of
+ // the `Limit` request parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 10
+ AWSDynamoDBLimitKey = attribute.Key("aws.dynamodb.limit")
+
+ // AWSDynamoDBLocalSecondaryIndexesKey is the attribute Key conforming to
+ // the "aws.dynamodb.local_secondary_indexes" semantic conventions. It
+ // represents the JSON-serialized value of each item of the
+ // `LocalSecondaryIndexes` request field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '{ "IndexARN": "string", "IndexName": "string",
+ // "IndexSizeBytes": number, "ItemCount": number, "KeySchema": [ {
+ // "AttributeName": "string", "KeyType": "string" } ], "Projection": {
+ // "NonKeyAttributes": [ "string" ], "ProjectionType": "string" } }'
+ AWSDynamoDBLocalSecondaryIndexesKey = attribute.Key("aws.dynamodb.local_secondary_indexes")
+
+ // AWSDynamoDBProjectionKey is the attribute Key conforming to the
+ // "aws.dynamodb.projection" semantic conventions. It represents the value
+ // of the `ProjectionExpression` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Title', 'Title, Price, Color', 'Title, Description,
+ // RelatedItems, ProductReviews'
+ AWSDynamoDBProjectionKey = attribute.Key("aws.dynamodb.projection")
+
+ // AWSDynamoDBProvisionedReadCapacityKey is the attribute Key conforming to
+ // the "aws.dynamodb.provisioned_read_capacity" semantic conventions. It
+ // represents the value of the `ProvisionedThroughput.ReadCapacityUnits`
+ // request parameter.
+ //
+ // Type: double
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1.0, 2.0
+ AWSDynamoDBProvisionedReadCapacityKey = attribute.Key("aws.dynamodb.provisioned_read_capacity")
+
+ // AWSDynamoDBProvisionedWriteCapacityKey is the attribute Key conforming
+ // to the "aws.dynamodb.provisioned_write_capacity" semantic conventions.
+ // It represents the value of the
+ // `ProvisionedThroughput.WriteCapacityUnits` request parameter.
+ //
+ // Type: double
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1.0, 2.0
+ AWSDynamoDBProvisionedWriteCapacityKey = attribute.Key("aws.dynamodb.provisioned_write_capacity")
+
+ // AWSDynamoDBScanForwardKey is the attribute Key conforming to the
+ // "aws.dynamodb.scan_forward" semantic conventions. It represents the
+ // value of the `ScanIndexForward` request parameter.
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: experimental
+ AWSDynamoDBScanForwardKey = attribute.Key("aws.dynamodb.scan_forward")
+
+ // AWSDynamoDBScannedCountKey is the attribute Key conforming to the
+ // "aws.dynamodb.scanned_count" semantic conventions. It represents the
+ // value of the `ScannedCount` response parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 50
+ AWSDynamoDBScannedCountKey = attribute.Key("aws.dynamodb.scanned_count")
+
+ // AWSDynamoDBSegmentKey is the attribute Key conforming to the
+ // "aws.dynamodb.segment" semantic conventions. It represents the value of
+ // the `Segment` request parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 10
+ AWSDynamoDBSegmentKey = attribute.Key("aws.dynamodb.segment")
+
+ // AWSDynamoDBSelectKey is the attribute Key conforming to the
+ // "aws.dynamodb.select" semantic conventions. It represents the value of
+ // the `Select` request parameter.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'ALL_ATTRIBUTES', 'COUNT'
+ AWSDynamoDBSelectKey = attribute.Key("aws.dynamodb.select")
+
+ // AWSDynamoDBTableCountKey is the attribute Key conforming to the
+ // "aws.dynamodb.table_count" semantic conventions. It represents the
+ // number of items in the `TableNames` response parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 20
+ AWSDynamoDBTableCountKey = attribute.Key("aws.dynamodb.table_count")
+
+ // AWSDynamoDBTableNamesKey is the attribute Key conforming to the
+ // "aws.dynamodb.table_names" semantic conventions. It represents the keys
+ // in the `RequestItems` object field.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Users', 'Cats'
+ AWSDynamoDBTableNamesKey = attribute.Key("aws.dynamodb.table_names")
+
+ // AWSDynamoDBTotalSegmentsKey is the attribute Key conforming to the
+ // "aws.dynamodb.total_segments" semantic conventions. It represents the
+ // value of the `TotalSegments` request parameter.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 100
+ AWSDynamoDBTotalSegmentsKey = attribute.Key("aws.dynamodb.total_segments")
+)
+
+// AWSDynamoDBAttributeDefinitions returns an attribute KeyValue conforming
+// to the "aws.dynamodb.attribute_definitions" semantic conventions. It
+// represents the JSON-serialized value of each item in the
+// `AttributeDefinitions` request field.
+func AWSDynamoDBAttributeDefinitions(val ...string) attribute.KeyValue {
+ return AWSDynamoDBAttributeDefinitionsKey.StringSlice(val)
+}
+
+// AWSDynamoDBAttributesToGet returns an attribute KeyValue conforming to
+// the "aws.dynamodb.attributes_to_get" semantic conventions. It represents the
+// value of the `AttributesToGet` request parameter.
+func AWSDynamoDBAttributesToGet(val ...string) attribute.KeyValue {
+ return AWSDynamoDBAttributesToGetKey.StringSlice(val)
+}
+
+// AWSDynamoDBConsistentRead returns an attribute KeyValue conforming to the
+// "aws.dynamodb.consistent_read" semantic conventions. It represents the value
+// of the `ConsistentRead` request parameter.
+func AWSDynamoDBConsistentRead(val bool) attribute.KeyValue {
+ return AWSDynamoDBConsistentReadKey.Bool(val)
+}
+
+// AWSDynamoDBConsumedCapacity returns an attribute KeyValue conforming to
+// the "aws.dynamodb.consumed_capacity" semantic conventions. It represents the
+// JSON-serialized value of each item in the `ConsumedCapacity` response field.
+func AWSDynamoDBConsumedCapacity(val ...string) attribute.KeyValue {
+ return AWSDynamoDBConsumedCapacityKey.StringSlice(val)
+}
+
+// AWSDynamoDBCount returns an attribute KeyValue conforming to the
+// "aws.dynamodb.count" semantic conventions. It represents the value of the
+// `Count` response parameter.
+func AWSDynamoDBCount(val int) attribute.KeyValue {
+ return AWSDynamoDBCountKey.Int(val)
+}
+
+// AWSDynamoDBExclusiveStartTable returns an attribute KeyValue conforming
+// to the "aws.dynamodb.exclusive_start_table" semantic conventions. It
+// represents the value of the `ExclusiveStartTableName` request parameter.
+func AWSDynamoDBExclusiveStartTable(val string) attribute.KeyValue {
+ return AWSDynamoDBExclusiveStartTableKey.String(val)
+}
+
+// AWSDynamoDBGlobalSecondaryIndexUpdates returns an attribute KeyValue
+// conforming to the "aws.dynamodb.global_secondary_index_updates" semantic
+// conventions. It represents the JSON-serialized value of each item in the
+// `GlobalSecondaryIndexUpdates` request field.
+func AWSDynamoDBGlobalSecondaryIndexUpdates(val ...string) attribute.KeyValue {
+ return AWSDynamoDBGlobalSecondaryIndexUpdatesKey.StringSlice(val)
+}
+
+// AWSDynamoDBGlobalSecondaryIndexes returns an attribute KeyValue
+// conforming to the "aws.dynamodb.global_secondary_indexes" semantic
+// conventions. It represents the JSON-serialized value of each item of the
+// `GlobalSecondaryIndexes` request field
+func AWSDynamoDBGlobalSecondaryIndexes(val ...string) attribute.KeyValue {
+ return AWSDynamoDBGlobalSecondaryIndexesKey.StringSlice(val)
+}
+
+// AWSDynamoDBIndexName returns an attribute KeyValue conforming to the
+// "aws.dynamodb.index_name" semantic conventions. It represents the value of
+// the `IndexName` request parameter.
+func AWSDynamoDBIndexName(val string) attribute.KeyValue {
+ return AWSDynamoDBIndexNameKey.String(val)
+}
+
+// AWSDynamoDBItemCollectionMetrics returns an attribute KeyValue conforming
+// to the "aws.dynamodb.item_collection_metrics" semantic conventions. It
+// represents the JSON-serialized value of the `ItemCollectionMetrics` response
+// field.
+func AWSDynamoDBItemCollectionMetrics(val string) attribute.KeyValue {
+ return AWSDynamoDBItemCollectionMetricsKey.String(val)
+}
+
+// AWSDynamoDBLimit returns an attribute KeyValue conforming to the
+// "aws.dynamodb.limit" semantic conventions. It represents the value of the
+// `Limit` request parameter.
+func AWSDynamoDBLimit(val int) attribute.KeyValue {
+ return AWSDynamoDBLimitKey.Int(val)
+}
+
+// AWSDynamoDBLocalSecondaryIndexes returns an attribute KeyValue conforming
+// to the "aws.dynamodb.local_secondary_indexes" semantic conventions. It
+// represents the JSON-serialized value of each item of the
+// `LocalSecondaryIndexes` request field.
+func AWSDynamoDBLocalSecondaryIndexes(val ...string) attribute.KeyValue {
+ return AWSDynamoDBLocalSecondaryIndexesKey.StringSlice(val)
+}
+
+// AWSDynamoDBProjection returns an attribute KeyValue conforming to the
+// "aws.dynamodb.projection" semantic conventions. It represents the value of
+// the `ProjectionExpression` request parameter.
+func AWSDynamoDBProjection(val string) attribute.KeyValue {
+ return AWSDynamoDBProjectionKey.String(val)
+}
+
+// AWSDynamoDBProvisionedReadCapacity returns an attribute KeyValue
+// conforming to the "aws.dynamodb.provisioned_read_capacity" semantic
+// conventions. It represents the value of the
+// `ProvisionedThroughput.ReadCapacityUnits` request parameter.
+func AWSDynamoDBProvisionedReadCapacity(val float64) attribute.KeyValue {
+ return AWSDynamoDBProvisionedReadCapacityKey.Float64(val)
+}
+
+// AWSDynamoDBProvisionedWriteCapacity returns an attribute KeyValue
+// conforming to the "aws.dynamodb.provisioned_write_capacity" semantic
+// conventions. It represents the value of the
+// `ProvisionedThroughput.WriteCapacityUnits` request parameter.
+func AWSDynamoDBProvisionedWriteCapacity(val float64) attribute.KeyValue {
+ return AWSDynamoDBProvisionedWriteCapacityKey.Float64(val)
+}
+
+// AWSDynamoDBScanForward returns an attribute KeyValue conforming to the
+// "aws.dynamodb.scan_forward" semantic conventions. It represents the value of
+// the `ScanIndexForward` request parameter.
+func AWSDynamoDBScanForward(val bool) attribute.KeyValue {
+ return AWSDynamoDBScanForwardKey.Bool(val)
+}
+
+// AWSDynamoDBScannedCount returns an attribute KeyValue conforming to the
+// "aws.dynamodb.scanned_count" semantic conventions. It represents the value
+// of the `ScannedCount` response parameter.
+func AWSDynamoDBScannedCount(val int) attribute.KeyValue {
+ return AWSDynamoDBScannedCountKey.Int(val)
+}
+
+// AWSDynamoDBSegment returns an attribute KeyValue conforming to the
+// "aws.dynamodb.segment" semantic conventions. It represents the value of the
+// `Segment` request parameter.
+func AWSDynamoDBSegment(val int) attribute.KeyValue {
+ return AWSDynamoDBSegmentKey.Int(val)
+}
+
+// AWSDynamoDBSelect returns an attribute KeyValue conforming to the
+// "aws.dynamodb.select" semantic conventions. It represents the value of the
+// `Select` request parameter.
+func AWSDynamoDBSelect(val string) attribute.KeyValue {
+ return AWSDynamoDBSelectKey.String(val)
+}
+
+// AWSDynamoDBTableCount returns an attribute KeyValue conforming to the
+// "aws.dynamodb.table_count" semantic conventions. It represents the number of
+// items in the `TableNames` response parameter.
+func AWSDynamoDBTableCount(val int) attribute.KeyValue {
+ return AWSDynamoDBTableCountKey.Int(val)
+}
+
+// AWSDynamoDBTableNames returns an attribute KeyValue conforming to the
+// "aws.dynamodb.table_names" semantic conventions. It represents the keys in
+// the `RequestItems` object field.
+func AWSDynamoDBTableNames(val ...string) attribute.KeyValue {
+ return AWSDynamoDBTableNamesKey.StringSlice(val)
+}
+
+// AWSDynamoDBTotalSegments returns an attribute KeyValue conforming to the
+// "aws.dynamodb.total_segments" semantic conventions. It represents the value
+// of the `TotalSegments` request parameter.
+func AWSDynamoDBTotalSegments(val int) attribute.KeyValue {
+ return AWSDynamoDBTotalSegmentsKey.Int(val)
+}
+
+// The web browser attributes
+const (
+ // BrowserBrandsKey is the attribute Key conforming to the "browser.brands"
+ // semantic conventions. It represents the array of brand name and version
+ // separated by a space
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: ' Not A;Brand 99', 'Chromium 99', 'Chrome 99'
+ // Note: This value is intended to be taken from the [UA client hints
+ // API](https://wicg.github.io/ua-client-hints/#interface)
+ // (`navigator.userAgentData.brands`).
+ BrowserBrandsKey = attribute.Key("browser.brands")
+
+ // BrowserLanguageKey is the attribute Key conforming to the
+ // "browser.language" semantic conventions. It represents the preferred
+ // language of the user using the browser
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'en', 'en-US', 'fr', 'fr-FR'
+ // Note: This value is intended to be taken from the Navigator API
+ // `navigator.language`.
+ BrowserLanguageKey = attribute.Key("browser.language")
+
+ // BrowserMobileKey is the attribute Key conforming to the "browser.mobile"
+ // semantic conventions. It represents a boolean that is true if the
+ // browser is running on a mobile device
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Note: This value is intended to be taken from the [UA client hints
+ // API](https://wicg.github.io/ua-client-hints/#interface)
+ // (`navigator.userAgentData.mobile`). If unavailable, this attribute
+ // SHOULD be left unset.
+ BrowserMobileKey = attribute.Key("browser.mobile")
+
+ // BrowserPlatformKey is the attribute Key conforming to the
+ // "browser.platform" semantic conventions. It represents the platform on
+ // which the browser is running
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Windows', 'macOS', 'Android'
+ // Note: This value is intended to be taken from the [UA client hints
+ // API](https://wicg.github.io/ua-client-hints/#interface)
+ // (`navigator.userAgentData.platform`). If unavailable, the legacy
+ // `navigator.platform` API SHOULD NOT be used instead and this attribute
+ // SHOULD be left unset in order for the values to be consistent.
+ // The list of possible values is defined in the [W3C User-Agent Client
+ // Hints
+ // specification](https://wicg.github.io/ua-client-hints/#sec-ch-ua-platform).
+ // Note that some (but not all) of these values can overlap with values in
+ // the [`os.type` and `os.name` attributes](./os.md). However, for
+ // consistency, the values in the `browser.platform` attribute should
+ // capture the exact value that the user agent provides.
+ BrowserPlatformKey = attribute.Key("browser.platform")
+)
+
+// BrowserBrands returns an attribute KeyValue conforming to the
+// "browser.brands" semantic conventions. It represents the array of brand name
+// and version separated by a space
+func BrowserBrands(val ...string) attribute.KeyValue {
+ return BrowserBrandsKey.StringSlice(val)
+}
+
+// BrowserLanguage returns an attribute KeyValue conforming to the
+// "browser.language" semantic conventions. It represents the preferred
+// language of the user using the browser
+func BrowserLanguage(val string) attribute.KeyValue {
+ return BrowserLanguageKey.String(val)
+}
+
+// BrowserMobile returns an attribute KeyValue conforming to the
+// "browser.mobile" semantic conventions. It represents a boolean that is true
+// if the browser is running on a mobile device
+func BrowserMobile(val bool) attribute.KeyValue {
+ return BrowserMobileKey.Bool(val)
+}
+
+// BrowserPlatform returns an attribute KeyValue conforming to the
+// "browser.platform" semantic conventions. It represents the platform on which
+// the browser is running
+func BrowserPlatform(val string) attribute.KeyValue {
+ return BrowserPlatformKey.String(val)
+}
+
// These attributes may be used to describe the client in a connection-based
// network interaction where there is one side that initiates the connection
// (the client is the side that initiates the connection). This covers all TCP
@@ -838,6 +1287,682 @@ func ClientPort(val int) attribute.KeyValue {
return ClientPortKey.Int(val)
}
+// A cloud environment (e.g. GCP, Azure, AWS).
+const (
+ // CloudAccountIDKey is the attribute Key conforming to the
+ // "cloud.account.id" semantic conventions. It represents the cloud account
+ // ID the resource is assigned to.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '111111111111', 'opentelemetry'
+ CloudAccountIDKey = attribute.Key("cloud.account.id")
+
+ // CloudAvailabilityZoneKey is the attribute Key conforming to the
+ // "cloud.availability_zone" semantic conventions. It represents the cloud
+ // regions often have multiple, isolated locations known as zones to
+ // increase availability. Availability zone represents the zone where the
+ // resource is running.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'us-east-1c'
+ // Note: Availability zones are called "zones" on Alibaba Cloud and Google
+ // Cloud.
+ CloudAvailabilityZoneKey = attribute.Key("cloud.availability_zone")
+
+ // CloudPlatformKey is the attribute Key conforming to the "cloud.platform"
+ // semantic conventions. It represents the cloud platform in use.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Note: The prefix of the service SHOULD match the one specified in
+ // `cloud.provider`.
+ CloudPlatformKey = attribute.Key("cloud.platform")
+
+ // CloudProviderKey is the attribute Key conforming to the "cloud.provider"
+ // semantic conventions. It represents the name of the cloud provider.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ CloudProviderKey = attribute.Key("cloud.provider")
+
+ // CloudRegionKey is the attribute Key conforming to the "cloud.region"
+ // semantic conventions. It represents the geographical region the resource
+ // is running.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'us-central1', 'us-east-1'
+ // Note: Refer to your provider's docs to see the available regions, for
+ // example [Alibaba Cloud
+ // regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS
+ // regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/),
+ // [Azure
+ // regions](https://azure.microsoft.com/global-infrastructure/geographies/),
+ // [Google Cloud regions](https://cloud.google.com/about/locations), or
+ // [Tencent Cloud
+ // regions](https://www.tencentcloud.com/document/product/213/6091).
+ CloudRegionKey = attribute.Key("cloud.region")
+
+ // CloudResourceIDKey is the attribute Key conforming to the
+ // "cloud.resource_id" semantic conventions. It represents the cloud
+ // provider-specific native identifier of the monitored cloud resource
+ // (e.g. an
+ // [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+ // on AWS, a [fully qualified resource
+ // ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id)
+ // on Azure, a [full resource
+ // name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+ // on GCP)
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function',
+ // '//run.googleapis.com/projects/PROJECT_ID/locations/LOCATION_ID/services/SERVICE_ID',
+ // '/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/'
+ // Note: On some cloud providers, it may not be possible to determine the
+ // full ID at startup,
+ // so it may be necessary to set `cloud.resource_id` as a span attribute
+ // instead.
+ //
+ // The exact value to use for `cloud.resource_id` depends on the cloud
+ // provider.
+ // The following well-known definitions MUST be used if you set this
+ // attribute and they apply:
+ //
+ // * **AWS Lambda:** The function
+ // [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
+ // Take care not to use the "invoked ARN" directly but replace any
+ // [alias
+ // suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html)
+ // with the resolved function version, as the same runtime instance may
+ // be invokable with
+ // multiple different aliases.
+ // * **GCP:** The [URI of the
+ // resource](https://cloud.google.com/iam/docs/full-resource-names)
+ // * **Azure:** The [Fully Qualified Resource
+ // ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id)
+ // of the invoked function,
+ // *not* the function app, having the form
+ // `/subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/`.
+ // This means that a span attribute MUST be used, as an Azure function
+ // app can host multiple functions that would usually share
+ // a TracerProvider.
+ CloudResourceIDKey = attribute.Key("cloud.resource_id")
+)
+
+var (
+ // Alibaba Cloud Elastic Compute Service
+ CloudPlatformAlibabaCloudECS = CloudPlatformKey.String("alibaba_cloud_ecs")
+ // Alibaba Cloud Function Compute
+ CloudPlatformAlibabaCloudFc = CloudPlatformKey.String("alibaba_cloud_fc")
+ // Red Hat OpenShift on Alibaba Cloud
+ CloudPlatformAlibabaCloudOpenshift = CloudPlatformKey.String("alibaba_cloud_openshift")
+ // AWS Elastic Compute Cloud
+ CloudPlatformAWSEC2 = CloudPlatformKey.String("aws_ec2")
+ // AWS Elastic Container Service
+ CloudPlatformAWSECS = CloudPlatformKey.String("aws_ecs")
+ // AWS Elastic Kubernetes Service
+ CloudPlatformAWSEKS = CloudPlatformKey.String("aws_eks")
+ // AWS Lambda
+ CloudPlatformAWSLambda = CloudPlatformKey.String("aws_lambda")
+ // AWS Elastic Beanstalk
+ CloudPlatformAWSElasticBeanstalk = CloudPlatformKey.String("aws_elastic_beanstalk")
+ // AWS App Runner
+ CloudPlatformAWSAppRunner = CloudPlatformKey.String("aws_app_runner")
+ // Red Hat OpenShift on AWS (ROSA)
+ CloudPlatformAWSOpenshift = CloudPlatformKey.String("aws_openshift")
+ // Azure Virtual Machines
+ CloudPlatformAzureVM = CloudPlatformKey.String("azure_vm")
+ // Azure Container Apps
+ CloudPlatformAzureContainerApps = CloudPlatformKey.String("azure_container_apps")
+ // Azure Container Instances
+ CloudPlatformAzureContainerInstances = CloudPlatformKey.String("azure_container_instances")
+ // Azure Kubernetes Service
+ CloudPlatformAzureAKS = CloudPlatformKey.String("azure_aks")
+ // Azure Functions
+ CloudPlatformAzureFunctions = CloudPlatformKey.String("azure_functions")
+ // Azure App Service
+ CloudPlatformAzureAppService = CloudPlatformKey.String("azure_app_service")
+ // Azure Red Hat OpenShift
+ CloudPlatformAzureOpenshift = CloudPlatformKey.String("azure_openshift")
+ // Google Bare Metal Solution (BMS)
+ CloudPlatformGCPBareMetalSolution = CloudPlatformKey.String("gcp_bare_metal_solution")
+ // Google Cloud Compute Engine (GCE)
+ CloudPlatformGCPComputeEngine = CloudPlatformKey.String("gcp_compute_engine")
+ // Google Cloud Run
+ CloudPlatformGCPCloudRun = CloudPlatformKey.String("gcp_cloud_run")
+ // Google Cloud Kubernetes Engine (GKE)
+ CloudPlatformGCPKubernetesEngine = CloudPlatformKey.String("gcp_kubernetes_engine")
+ // Google Cloud Functions (GCF)
+ CloudPlatformGCPCloudFunctions = CloudPlatformKey.String("gcp_cloud_functions")
+ // Google Cloud App Engine (GAE)
+ CloudPlatformGCPAppEngine = CloudPlatformKey.String("gcp_app_engine")
+ // Red Hat OpenShift on Google Cloud
+ CloudPlatformGCPOpenshift = CloudPlatformKey.String("gcp_openshift")
+ // Red Hat OpenShift on IBM Cloud
+ CloudPlatformIbmCloudOpenshift = CloudPlatformKey.String("ibm_cloud_openshift")
+ // Tencent Cloud Cloud Virtual Machine (CVM)
+ CloudPlatformTencentCloudCvm = CloudPlatformKey.String("tencent_cloud_cvm")
+ // Tencent Cloud Elastic Kubernetes Service (EKS)
+ CloudPlatformTencentCloudEKS = CloudPlatformKey.String("tencent_cloud_eks")
+ // Tencent Cloud Serverless Cloud Function (SCF)
+ CloudPlatformTencentCloudScf = CloudPlatformKey.String("tencent_cloud_scf")
+)
+
+var (
+ // Alibaba Cloud
+ CloudProviderAlibabaCloud = CloudProviderKey.String("alibaba_cloud")
+ // Amazon Web Services
+ CloudProviderAWS = CloudProviderKey.String("aws")
+ // Microsoft Azure
+ CloudProviderAzure = CloudProviderKey.String("azure")
+ // Google Cloud Platform
+ CloudProviderGCP = CloudProviderKey.String("gcp")
+ // Heroku Platform as a Service
+ CloudProviderHeroku = CloudProviderKey.String("heroku")
+ // IBM Cloud
+ CloudProviderIbmCloud = CloudProviderKey.String("ibm_cloud")
+ // Tencent Cloud
+ CloudProviderTencentCloud = CloudProviderKey.String("tencent_cloud")
+)
+
+// CloudAccountID returns an attribute KeyValue conforming to the
+// "cloud.account.id" semantic conventions. It represents the cloud account ID
+// the resource is assigned to.
+func CloudAccountID(val string) attribute.KeyValue {
+ return CloudAccountIDKey.String(val)
+}
+
+// CloudAvailabilityZone returns an attribute KeyValue conforming to the
+// "cloud.availability_zone" semantic conventions. It represents the cloud
+// regions often have multiple, isolated locations known as zones to increase
+// availability. Availability zone represents the zone where the resource is
+// running.
+func CloudAvailabilityZone(val string) attribute.KeyValue {
+ return CloudAvailabilityZoneKey.String(val)
+}
+
+// CloudRegion returns an attribute KeyValue conforming to the
+// "cloud.region" semantic conventions. It represents the geographical region
+// the resource is running.
+func CloudRegion(val string) attribute.KeyValue {
+ return CloudRegionKey.String(val)
+}
+
+// CloudResourceID returns an attribute KeyValue conforming to the
+// "cloud.resource_id" semantic conventions. It represents the cloud
+// provider-specific native identifier of the monitored cloud resource (e.g. an
+// [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
+// on AWS, a [fully qualified resource
+// ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) on
+// Azure, a [full resource
+// name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
+// on GCP)
+func CloudResourceID(val string) attribute.KeyValue {
+ return CloudResourceIDKey.String(val)
+}
+
+// Attributes for CloudEvents.
+const (
+ // CloudeventsEventIDKey is the attribute Key conforming to the
+ // "cloudevents.event_id" semantic conventions. It represents the
+ // [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id)
+ // uniquely identifies the event.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '123e4567-e89b-12d3-a456-426614174000', '0001'
+ CloudeventsEventIDKey = attribute.Key("cloudevents.event_id")
+
+ // CloudeventsEventSourceKey is the attribute Key conforming to the
+ // "cloudevents.event_source" semantic conventions. It represents the
+ // [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1)
+ // identifies the context in which an event happened.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'https://github.com/cloudevents',
+ // '/cloudevents/spec/pull/123', 'my-service'
+ CloudeventsEventSourceKey = attribute.Key("cloudevents.event_source")
+
+ // CloudeventsEventSpecVersionKey is the attribute Key conforming to the
+ // "cloudevents.event_spec_version" semantic conventions. It represents the
+ // [version of the CloudEvents
+ // specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion)
+ // which the event uses.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '1.0'
+ CloudeventsEventSpecVersionKey = attribute.Key("cloudevents.event_spec_version")
+
+ // CloudeventsEventSubjectKey is the attribute Key conforming to the
+ // "cloudevents.event_subject" semantic conventions. It represents the
+ // [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject)
+ // of the event in the context of the event producer (identified by
+ // source).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'mynewfile.jpg'
+ CloudeventsEventSubjectKey = attribute.Key("cloudevents.event_subject")
+
+ // CloudeventsEventTypeKey is the attribute Key conforming to the
+ // "cloudevents.event_type" semantic conventions. It represents the
+ // [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type)
+ // contains a value describing the type of event related to the originating
+ // occurrence.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'com.github.pull_request.opened',
+ // 'com.example.object.deleted.v2'
+ CloudeventsEventTypeKey = attribute.Key("cloudevents.event_type")
+)
+
+// CloudeventsEventID returns an attribute KeyValue conforming to the
+// "cloudevents.event_id" semantic conventions. It represents the
+// [event_id](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#id)
+// uniquely identifies the event.
+func CloudeventsEventID(val string) attribute.KeyValue {
+ return CloudeventsEventIDKey.String(val)
+}
+
+// CloudeventsEventSource returns an attribute KeyValue conforming to the
+// "cloudevents.event_source" semantic conventions. It represents the
+// [source](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#source-1)
+// identifies the context in which an event happened.
+func CloudeventsEventSource(val string) attribute.KeyValue {
+ return CloudeventsEventSourceKey.String(val)
+}
+
+// CloudeventsEventSpecVersion returns an attribute KeyValue conforming to
+// the "cloudevents.event_spec_version" semantic conventions. It represents the
+// [version of the CloudEvents
+// specification](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#specversion)
+// which the event uses.
+func CloudeventsEventSpecVersion(val string) attribute.KeyValue {
+ return CloudeventsEventSpecVersionKey.String(val)
+}
+
+// CloudeventsEventSubject returns an attribute KeyValue conforming to the
+// "cloudevents.event_subject" semantic conventions. It represents the
+// [subject](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#subject)
+// of the event in the context of the event producer (identified by source).
+func CloudeventsEventSubject(val string) attribute.KeyValue {
+ return CloudeventsEventSubjectKey.String(val)
+}
+
+// CloudeventsEventType returns an attribute KeyValue conforming to the
+// "cloudevents.event_type" semantic conventions. It represents the
+// [event_type](https://github.com/cloudevents/spec/blob/v1.0.2/cloudevents/spec.md#type)
+// contains a value describing the type of event related to the originating
+// occurrence.
+func CloudeventsEventType(val string) attribute.KeyValue {
+ return CloudeventsEventTypeKey.String(val)
+}
+
+// These attributes allow to report this unit of code and therefore to provide
+// more context about the span.
+const (
+ // CodeColumnKey is the attribute Key conforming to the "code.column"
+ // semantic conventions. It represents the column number in `code.filepath`
+ // best representing the operation. It SHOULD point within the code unit
+ // named in `code.function`.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 16
+ CodeColumnKey = attribute.Key("code.column")
+
+ // CodeFilepathKey is the attribute Key conforming to the "code.filepath"
+ // semantic conventions. It represents the source code file name that
+ // identifies the code unit as uniquely as possible (preferably an absolute
+ // file path).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '/usr/local/MyApplication/content_root/app/index.php'
+ CodeFilepathKey = attribute.Key("code.filepath")
+
+ // CodeFunctionKey is the attribute Key conforming to the "code.function"
+ // semantic conventions. It represents the method or function name, or
+ // equivalent (usually rightmost part of the code unit's name).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'serveRequest'
+ CodeFunctionKey = attribute.Key("code.function")
+
+ // CodeLineNumberKey is the attribute Key conforming to the "code.lineno"
+ // semantic conventions. It represents the line number in `code.filepath`
+ // best representing the operation. It SHOULD point within the code unit
+ // named in `code.function`.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 42
+ CodeLineNumberKey = attribute.Key("code.lineno")
+
+ // CodeNamespaceKey is the attribute Key conforming to the "code.namespace"
+ // semantic conventions. It represents the "namespace" within which
+ // `code.function` is defined. Usually the qualified class or module name,
+ // such that `code.namespace` + some separator + `code.function` form a
+ // unique identifier for the code unit.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'com.example.MyHTTPService'
+ CodeNamespaceKey = attribute.Key("code.namespace")
+
+ // CodeStacktraceKey is the attribute Key conforming to the
+ // "code.stacktrace" semantic conventions. It represents a stacktrace as a
+ // string in the natural representation for the language runtime. The
+ // representation is to be determined and documented by each language SIG.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'at
+ // com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
+ // 'com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at '
+ // 'com.example.GenerateTrace.main(GenerateTrace.java:5)'
+ CodeStacktraceKey = attribute.Key("code.stacktrace")
+)
+
+// CodeColumn returns an attribute KeyValue conforming to the "code.column"
+// semantic conventions. It represents the column number in `code.filepath`
+// best representing the operation. It SHOULD point within the code unit named
+// in `code.function`.
+func CodeColumn(val int) attribute.KeyValue {
+ return CodeColumnKey.Int(val)
+}
+
+// CodeFilepath returns an attribute KeyValue conforming to the
+// "code.filepath" semantic conventions. It represents the source code file
+// name that identifies the code unit as uniquely as possible (preferably an
+// absolute file path).
+func CodeFilepath(val string) attribute.KeyValue {
+ return CodeFilepathKey.String(val)
+}
+
+// CodeFunction returns an attribute KeyValue conforming to the
+// "code.function" semantic conventions. It represents the method or function
+// name, or equivalent (usually rightmost part of the code unit's name).
+func CodeFunction(val string) attribute.KeyValue {
+ return CodeFunctionKey.String(val)
+}
+
+// CodeLineNumber returns an attribute KeyValue conforming to the "code.lineno"
+// semantic conventions. It represents the line number in `code.filepath` best
+// representing the operation. It SHOULD point within the code unit named in
+// `code.function`.
+func CodeLineNumber(val int) attribute.KeyValue {
+ return CodeLineNumberKey.Int(val)
+}
+
+// CodeNamespace returns an attribute KeyValue conforming to the
+// "code.namespace" semantic conventions. It represents the "namespace" within
+// which `code.function` is defined. Usually the qualified class or module
+// name, such that `code.namespace` + some separator + `code.function` form a
+// unique identifier for the code unit.
+func CodeNamespace(val string) attribute.KeyValue {
+ return CodeNamespaceKey.String(val)
+}
+
+// CodeStacktrace returns an attribute KeyValue conforming to the
+// "code.stacktrace" semantic conventions. It represents a stacktrace as a
+// string in the natural representation for the language runtime. The
+// representation is to be determined and documented by each language SIG.
+func CodeStacktrace(val string) attribute.KeyValue {
+ return CodeStacktraceKey.String(val)
+}
+
+// A container instance.
+const (
+ // ContainerCommandKey is the attribute Key conforming to the
+ // "container.command" semantic conventions. It represents the command used
+ // to run the container (i.e. the command name).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'otelcontribcol'
+ // Note: If using embedded credentials or sensitive data, it is recommended
+ // to remove them to prevent potential leakage.
+ ContainerCommandKey = attribute.Key("container.command")
+
+ // ContainerCommandArgsKey is the attribute Key conforming to the
+ // "container.command_args" semantic conventions. It represents the all the
+ // command arguments (including the command/executable itself) run by the
+ // container. [2]
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'otelcontribcol, --config, config.yaml'
+ ContainerCommandArgsKey = attribute.Key("container.command_args")
+
+ // ContainerCommandLineKey is the attribute Key conforming to the
+ // "container.command_line" semantic conventions. It represents the full
+ // command run by the container as a single string representing the full
+ // command. [2]
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'otelcontribcol --config config.yaml'
+ ContainerCommandLineKey = attribute.Key("container.command_line")
+
+ // ContainerCPUStateKey is the attribute Key conforming to the
+ // "container.cpu.state" semantic conventions. It represents the CPU state
+ // for this data point.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'user', 'kernel'
+ ContainerCPUStateKey = attribute.Key("container.cpu.state")
+
+ // ContainerIDKey is the attribute Key conforming to the "container.id"
+ // semantic conventions. It represents the container ID. Usually a UUID, as
+ // for example used to [identify Docker
+ // containers](https://docs.docker.com/engine/reference/run/#container-identification).
+ // The UUID might be abbreviated.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'a3bf90e006b2'
+ ContainerIDKey = attribute.Key("container.id")
+
+ // ContainerImageIDKey is the attribute Key conforming to the
+ // "container.image.id" semantic conventions. It represents the runtime
+ // specific image identifier. Usually a hash algorithm followed by a UUID.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'sha256:19c92d0a00d1b66d897bceaa7319bee0dd38a10a851c60bcec9474aa3f01e50f'
+ // Note: Docker defines a sha256 of the image id; `container.image.id`
+ // corresponds to the `Image` field from the Docker container inspect
+ // [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect)
+ // endpoint.
+ // K8S defines a link to the container registry repository with digest
+ // `"imageID": "registry.azurecr.io
+ // /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`.
+ // The ID is assinged by the container runtime and can vary in different
+ // environments. Consider using `oci.manifest.digest` if it is important to
+ // identify the same image in different environments/runtimes.
+ ContainerImageIDKey = attribute.Key("container.image.id")
+
+ // ContainerImageNameKey is the attribute Key conforming to the
+ // "container.image.name" semantic conventions. It represents the name of
+ // the image the container was built on.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'gcr.io/opentelemetry/operator'
+ ContainerImageNameKey = attribute.Key("container.image.name")
+
+ // ContainerImageRepoDigestsKey is the attribute Key conforming to the
+ // "container.image.repo_digests" semantic conventions. It represents the
+ // repo digests of the container image as provided by the container
+ // runtime.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb',
+ // 'internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578'
+ // Note:
+ // [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect)
+ // and
+ // [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238)
+ // report those under the `RepoDigests` field.
+ ContainerImageRepoDigestsKey = attribute.Key("container.image.repo_digests")
+
+ // ContainerImageTagsKey is the attribute Key conforming to the
+ // "container.image.tags" semantic conventions. It represents the container
+ // image tags. An example can be found in [Docker Image
+ // Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect).
+ // Should be only the `` section of the full name for example from
+ // `registry.example.com/my-org/my-image:`.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'v1.27.1', '3.5.7-0'
+ ContainerImageTagsKey = attribute.Key("container.image.tags")
+
+ // ContainerNameKey is the attribute Key conforming to the "container.name"
+ // semantic conventions. It represents the container name used by container
+ // runtime.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry-autoconf'
+ ContainerNameKey = attribute.Key("container.name")
+
+ // ContainerRuntimeKey is the attribute Key conforming to the
+ // "container.runtime" semantic conventions. It represents the container
+ // runtime managing this container.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'docker', 'containerd', 'rkt'
+ ContainerRuntimeKey = attribute.Key("container.runtime")
+)
+
+var (
+ // When tasks of the cgroup are in user mode (Linux). When all container processes are in user mode (Windows)
+ ContainerCPUStateUser = ContainerCPUStateKey.String("user")
+ // When CPU is used by the system (host OS)
+ ContainerCPUStateSystem = ContainerCPUStateKey.String("system")
+ // When tasks of the cgroup are in kernel mode (Linux). When all container processes are in kernel mode (Windows)
+ ContainerCPUStateKernel = ContainerCPUStateKey.String("kernel")
+)
+
+// ContainerCommand returns an attribute KeyValue conforming to the
+// "container.command" semantic conventions. It represents the command used to
+// run the container (i.e. the command name).
+func ContainerCommand(val string) attribute.KeyValue {
+ return ContainerCommandKey.String(val)
+}
+
+// ContainerCommandArgs returns an attribute KeyValue conforming to the
+// "container.command_args" semantic conventions. It represents the all the
+// command arguments (including the command/executable itself) run by the
+// container. [2]
+func ContainerCommandArgs(val ...string) attribute.KeyValue {
+ return ContainerCommandArgsKey.StringSlice(val)
+}
+
+// ContainerCommandLine returns an attribute KeyValue conforming to the
+// "container.command_line" semantic conventions. It represents the full
+// command run by the container as a single string representing the full
+// command. [2]
+func ContainerCommandLine(val string) attribute.KeyValue {
+ return ContainerCommandLineKey.String(val)
+}
+
+// ContainerID returns an attribute KeyValue conforming to the
+// "container.id" semantic conventions. It represents the container ID. Usually
+// a UUID, as for example used to [identify Docker
+// containers](https://docs.docker.com/engine/reference/run/#container-identification).
+// The UUID might be abbreviated.
+func ContainerID(val string) attribute.KeyValue {
+ return ContainerIDKey.String(val)
+}
+
+// ContainerImageID returns an attribute KeyValue conforming to the
+// "container.image.id" semantic conventions. It represents the runtime
+// specific image identifier. Usually a hash algorithm followed by a UUID.
+func ContainerImageID(val string) attribute.KeyValue {
+ return ContainerImageIDKey.String(val)
+}
+
+// ContainerImageName returns an attribute KeyValue conforming to the
+// "container.image.name" semantic conventions. It represents the name of the
+// image the container was built on.
+func ContainerImageName(val string) attribute.KeyValue {
+ return ContainerImageNameKey.String(val)
+}
+
+// ContainerImageRepoDigests returns an attribute KeyValue conforming to the
+// "container.image.repo_digests" semantic conventions. It represents the repo
+// digests of the container image as provided by the container runtime.
+func ContainerImageRepoDigests(val ...string) attribute.KeyValue {
+ return ContainerImageRepoDigestsKey.StringSlice(val)
+}
+
+// ContainerImageTags returns an attribute KeyValue conforming to the
+// "container.image.tags" semantic conventions. It represents the container
+// image tags. An example can be found in [Docker Image
+// Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect).
+// Should be only the `` section of the full name for example from
+// `registry.example.com/my-org/my-image:`.
+func ContainerImageTags(val ...string) attribute.KeyValue {
+ return ContainerImageTagsKey.StringSlice(val)
+}
+
+// ContainerName returns an attribute KeyValue conforming to the
+// "container.name" semantic conventions. It represents the container name used
+// by container runtime.
+func ContainerName(val string) attribute.KeyValue {
+ return ContainerNameKey.String(val)
+}
+
+// ContainerRuntime returns an attribute KeyValue conforming to the
+// "container.runtime" semantic conventions. It represents the container
+// runtime managing this container.
+func ContainerRuntime(val string) attribute.KeyValue {
+ return ContainerRuntimeKey.String(val)
+}
+
// The attributes used to describe telemetry in the context of databases.
const (
// DBCassandraConsistencyLevelKey is the attribute Key conforming to the
@@ -917,17 +2042,6 @@ const (
// this value MUST NOT be set.
DBCassandraTableKey = attribute.Key("db.cassandra.table")
- // DBConnectionStringKey is the attribute Key conforming to the
- // "db.connection_string" semantic conventions. It represents the
- // connection string used to connect to the database. It is recommended to
- // remove embedded credentials.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
- DBConnectionStringKey = attribute.Key("db.connection_string")
-
// DBCosmosDBClientIDKey is the attribute Key conforming to the
// "db.cosmosdb.client_id" semantic conventions. It represents the unique
// Cosmos client instance id.
@@ -1015,17 +2129,6 @@ const (
// Examples: 'e9106fc68e3044f0b1475b04bf4ffd5f'
DBElasticsearchClusterNameKey = attribute.Key("db.elasticsearch.cluster.name")
- // DBElasticsearchNodeNameKey is the attribute Key conforming to the
- // "db.elasticsearch.node.name" semantic conventions. It represents the
- // represents the human-readable identifier of the node/instance to which a
- // request was routed.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'instance-0000000001'
- DBElasticsearchNodeNameKey = attribute.Key("db.elasticsearch.node.name")
-
// DBInstanceIDKey is the attribute Key conforming to the "db.instance.id"
// semantic conventions. It represents an identifier (address, unique name,
// or any other identifier) of the database instance that is executing
@@ -1041,19 +2144,6 @@ const (
// Examples: 'mysql-e26b99z.example.com'
DBInstanceIDKey = attribute.Key("db.instance.id")
- // DBJDBCDriverClassnameKey is the attribute Key conforming to the
- // "db.jdbc.driver_classname" semantic conventions. It represents the
- // fully-qualified class name of the [Java Database Connectivity
- // (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/)
- // driver used to connect.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 'org.postgresql.Driver',
- // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
- DBJDBCDriverClassnameKey = attribute.Key("db.jdbc.driver_classname")
-
// DBMongoDBCollectionKey is the attribute Key conforming to the
// "db.mongodb.collection" semantic conventions. It represents the MongoDB
// collection being accessed within the database stated in `db.name`.
@@ -1387,14 +2477,6 @@ func DBCassandraTable(val string) attribute.KeyValue {
return DBCassandraTableKey.String(val)
}
-// DBConnectionString returns an attribute KeyValue conforming to the
-// "db.connection_string" semantic conventions. It represents the connection
-// string used to connect to the database. It is recommended to remove embedded
-// credentials.
-func DBConnectionString(val string) attribute.KeyValue {
- return DBConnectionStringKey.String(val)
-}
-
// DBCosmosDBClientID returns an attribute KeyValue conforming to the
// "db.cosmosdb.client_id" semantic conventions. It represents the unique
// Cosmos client instance id.
@@ -1444,14 +2526,6 @@ func DBElasticsearchClusterName(val string) attribute.KeyValue {
return DBElasticsearchClusterNameKey.String(val)
}
-// DBElasticsearchNodeName returns an attribute KeyValue conforming to the
-// "db.elasticsearch.node.name" semantic conventions. It represents the
-// represents the human-readable identifier of the node/instance to which a
-// request was routed.
-func DBElasticsearchNodeName(val string) attribute.KeyValue {
- return DBElasticsearchNodeNameKey.String(val)
-}
-
// DBInstanceID returns an attribute KeyValue conforming to the
// "db.instance.id" semantic conventions. It represents an identifier (address,
// unique name, or any other identifier) of the database instance that is
@@ -1464,15 +2538,6 @@ func DBInstanceID(val string) attribute.KeyValue {
return DBInstanceIDKey.String(val)
}
-// DBJDBCDriverClassname returns an attribute KeyValue conforming to the
-// "db.jdbc.driver_classname" semantic conventions. It represents the
-// fully-qualified class name of the [Java Database Connectivity
-// (JDBC)](https://docs.oracle.com/javase/8/docs/technotes/guides/jdbc/) driver
-// used to connect.
-func DBJDBCDriverClassname(val string) attribute.KeyValue {
- return DBJDBCDriverClassnameKey.String(val)
-}
-
// DBMongoDBCollection returns an attribute KeyValue conforming to the
// "db.mongodb.collection" semantic conventions. It represents the MongoDB
// collection being accessed within the database stated in `db.name`.
@@ -1535,452 +2600,532 @@ func DBUser(val string) attribute.KeyValue {
return DBUserKey.String(val)
}
+// Attributes for software deployments.
+const (
+ // DeploymentEnvironmentKey is the attribute Key conforming to the
+ // "deployment.environment" semantic conventions. It represents the name of
+ // the [deployment
+ // environment](https://wikipedia.org/wiki/Deployment_environment) (aka
+ // deployment tier).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'staging', 'production'
+ // Note: `deployment.environment` does not affect the uniqueness
+ // constraints defined through
+ // the `service.namespace`, `service.name` and `service.instance.id`
+ // resource attributes.
+ // This implies that resources carrying the following attribute
+ // combinations MUST be
+ // considered to be identifying the same service:
+ //
+ // * `service.name=frontend`, `deployment.environment=production`
+ // * `service.name=frontend`, `deployment.environment=staging`.
+ DeploymentEnvironmentKey = attribute.Key("deployment.environment")
+)
+
+// DeploymentEnvironment returns an attribute KeyValue conforming to the
+// "deployment.environment" semantic conventions. It represents the name of the
+// [deployment environment](https://wikipedia.org/wiki/Deployment_environment)
+// (aka deployment tier).
+func DeploymentEnvironment(val string) attribute.KeyValue {
+ return DeploymentEnvironmentKey.String(val)
+}
+
+// "Describes deprecated db attributes."
+const (
+ // DBConnectionStringKey is the attribute Key conforming to the
+ // "db.connection_string" semantic conventions. It represents the
+ // deprecated, use `server.address`, `server.port` attributes instead.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Server=(localdb)\\v11.0;Integrated Security=true;'
+ DBConnectionStringKey = attribute.Key("db.connection_string")
+
+ // DBElasticsearchNodeNameKey is the attribute Key conforming to the
+ // "db.elasticsearch.node.name" semantic conventions. It represents the
+ // deprecated, use `db.instance.id` instead.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'instance-0000000001'
+ DBElasticsearchNodeNameKey = attribute.Key("db.elasticsearch.node.name")
+
+ // DBJDBCDriverClassnameKey is the attribute Key conforming to the
+ // "db.jdbc.driver_classname" semantic conventions. It represents the
+ // removed, no replacement at this time.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'org.postgresql.Driver',
+ // 'com.microsoft.sqlserver.jdbc.SQLServerDriver'
+ DBJDBCDriverClassnameKey = attribute.Key("db.jdbc.driver_classname")
+)
+
+// DBConnectionString returns an attribute KeyValue conforming to the
+// "db.connection_string" semantic conventions. It represents the deprecated,
+// use `server.address`, `server.port` attributes instead.
+func DBConnectionString(val string) attribute.KeyValue {
+ return DBConnectionStringKey.String(val)
+}
+
+// DBElasticsearchNodeName returns an attribute KeyValue conforming to the
+// "db.elasticsearch.node.name" semantic conventions. It represents the
+// deprecated, use `db.instance.id` instead.
+func DBElasticsearchNodeName(val string) attribute.KeyValue {
+ return DBElasticsearchNodeNameKey.String(val)
+}
+
+// DBJDBCDriverClassname returns an attribute KeyValue conforming to the
+// "db.jdbc.driver_classname" semantic conventions. It represents the removed,
+// no replacement at this time.
+func DBJDBCDriverClassname(val string) attribute.KeyValue {
+ return DBJDBCDriverClassnameKey.String(val)
+}
+
// Describes deprecated HTTP attributes.
const (
// HTTPFlavorKey is the attribute Key conforming to the "http.flavor"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use
+ // `network.protocol.name` instead.
//
// Type: Enum
// RequirementLevel: Optional
- // Stability: deprecated
- // Deprecated: use `network.protocol.name` instead.
+ // Stability: experimental
HTTPFlavorKey = attribute.Key("http.flavor")
// HTTPMethodKey is the attribute Key conforming to the "http.method"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use
+ // `http.request.method` instead.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'GET', 'POST', 'HEAD'
- // Deprecated: use `http.request.method` instead.
HTTPMethodKey = attribute.Key("http.method")
// HTTPRequestContentLengthKey is the attribute Key conforming to the
- // "http.request_content_length" semantic conventions.
+ // "http.request_content_length" semantic conventions. It represents the
+ // deprecated, use `http.request.header.content-length` instead.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 3495
- // Deprecated: use `http.request.header.content-length` instead.
HTTPRequestContentLengthKey = attribute.Key("http.request_content_length")
// HTTPResponseContentLengthKey is the attribute Key conforming to the
- // "http.response_content_length" semantic conventions.
+ // "http.response_content_length" semantic conventions. It represents the
+ // deprecated, use `http.response.header.content-length` instead.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 3495
- // Deprecated: use `http.response.header.content-length` instead.
HTTPResponseContentLengthKey = attribute.Key("http.response_content_length")
// HTTPSchemeKey is the attribute Key conforming to the "http.scheme"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use `url.scheme`
+ // instead.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'http', 'https'
- // Deprecated: use `url.scheme` instead.
HTTPSchemeKey = attribute.Key("http.scheme")
// HTTPStatusCodeKey is the attribute Key conforming to the
- // "http.status_code" semantic conventions.
+ // "http.status_code" semantic conventions. It represents the deprecated,
+ // use `http.response.status_code` instead.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 200
- // Deprecated: use `http.response.status_code` instead.
HTTPStatusCodeKey = attribute.Key("http.status_code")
// HTTPTargetKey is the attribute Key conforming to the "http.target"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use `url.path` and
+ // `url.query` instead.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: '/search?q=OpenTelemetry#SemConv'
- // Deprecated: use `url.path` and `url.query` instead.
HTTPTargetKey = attribute.Key("http.target")
// HTTPURLKey is the attribute Key conforming to the "http.url" semantic
- // conventions.
+ // conventions. It represents the deprecated, use `url.full` instead.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv'
- // Deprecated: use `url.full` instead.
HTTPURLKey = attribute.Key("http.url")
// HTTPUserAgentKey is the attribute Key conforming to the
- // "http.user_agent" semantic conventions.
+ // "http.user_agent" semantic conventions. It represents the deprecated,
+ // use `user_agent.original` instead.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'CERN-LineMode/2.15 libwww/2.17b3', 'Mozilla/5.0 (iPhone; CPU
// iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)
// Version/14.1.2 Mobile/15E148 Safari/604.1'
- // Deprecated: use `user_agent.original` instead.
HTTPUserAgentKey = attribute.Key("http.user_agent")
)
var (
// HTTP/1.0
- //
- // Deprecated: use `network.protocol.name` instead.
HTTPFlavorHTTP10 = HTTPFlavorKey.String("1.0")
// HTTP/1.1
- //
- // Deprecated: use `network.protocol.name` instead.
HTTPFlavorHTTP11 = HTTPFlavorKey.String("1.1")
// HTTP/2
- //
- // Deprecated: use `network.protocol.name` instead.
HTTPFlavorHTTP20 = HTTPFlavorKey.String("2.0")
// HTTP/3
- //
- // Deprecated: use `network.protocol.name` instead.
HTTPFlavorHTTP30 = HTTPFlavorKey.String("3.0")
// SPDY protocol
- //
- // Deprecated: use `network.protocol.name` instead.
HTTPFlavorSPDY = HTTPFlavorKey.String("SPDY")
// QUIC protocol
- //
- // Deprecated: use `network.protocol.name` instead.
HTTPFlavorQUIC = HTTPFlavorKey.String("QUIC")
)
// HTTPMethod returns an attribute KeyValue conforming to the "http.method"
-// semantic conventions.
-//
-// Deprecated: use `http.request.method` instead.
+// semantic conventions. It represents the deprecated, use
+// `http.request.method` instead.
func HTTPMethod(val string) attribute.KeyValue {
return HTTPMethodKey.String(val)
}
// HTTPRequestContentLength returns an attribute KeyValue conforming to the
-// "http.request_content_length" semantic conventions.
-//
-// Deprecated: use `http.request.header.content-length` instead.
+// "http.request_content_length" semantic conventions. It represents the
+// deprecated, use `http.request.header.content-length` instead.
func HTTPRequestContentLength(val int) attribute.KeyValue {
return HTTPRequestContentLengthKey.Int(val)
}
// HTTPResponseContentLength returns an attribute KeyValue conforming to the
-// "http.response_content_length" semantic conventions.
-//
-// Deprecated: use `http.response.header.content-length` instead.
+// "http.response_content_length" semantic conventions. It represents the
+// deprecated, use `http.response.header.content-length` instead.
func HTTPResponseContentLength(val int) attribute.KeyValue {
return HTTPResponseContentLengthKey.Int(val)
}
// HTTPScheme returns an attribute KeyValue conforming to the "http.scheme"
-// semantic conventions.
-//
-// Deprecated: use `url.scheme` instead.
+// semantic conventions. It represents the deprecated, use `url.scheme`
+// instead.
func HTTPScheme(val string) attribute.KeyValue {
return HTTPSchemeKey.String(val)
}
// HTTPStatusCode returns an attribute KeyValue conforming to the
-// "http.status_code" semantic conventions.
-//
-// Deprecated: use `http.response.status_code` instead.
+// "http.status_code" semantic conventions. It represents the deprecated, use
+// `http.response.status_code` instead.
func HTTPStatusCode(val int) attribute.KeyValue {
return HTTPStatusCodeKey.Int(val)
}
// HTTPTarget returns an attribute KeyValue conforming to the "http.target"
-// semantic conventions.
-//
-// Deprecated: use `url.path` and `url.query` instead.
+// semantic conventions. It represents the deprecated, use `url.path` and
+// `url.query` instead.
func HTTPTarget(val string) attribute.KeyValue {
return HTTPTargetKey.String(val)
}
// HTTPURL returns an attribute KeyValue conforming to the "http.url"
-// semantic conventions.
-//
-// Deprecated: use `url.full` instead.
+// semantic conventions. It represents the deprecated, use `url.full` instead.
func HTTPURL(val string) attribute.KeyValue {
return HTTPURLKey.String(val)
}
// HTTPUserAgent returns an attribute KeyValue conforming to the
-// "http.user_agent" semantic conventions.
-//
-// Deprecated: use `user_agent.original` instead.
+// "http.user_agent" semantic conventions. It represents the deprecated, use
+// `user_agent.original` instead.
func HTTPUserAgent(val string) attribute.KeyValue {
return HTTPUserAgentKey.String(val)
}
+// Describes deprecated messaging attributes.
+const (
+ // MessagingKafkaDestinationPartitionKey is the attribute Key conforming to
+ // the "messaging.kafka.destination.partition" semantic conventions. It
+ // represents the "Deprecated, use `messaging.destination.partition.id`
+ // instead."
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 2
+ MessagingKafkaDestinationPartitionKey = attribute.Key("messaging.kafka.destination.partition")
+)
+
+// MessagingKafkaDestinationPartition returns an attribute KeyValue
+// conforming to the "messaging.kafka.destination.partition" semantic
+// conventions. It represents the "Deprecated, use
+// `messaging.destination.partition.id` instead."
+func MessagingKafkaDestinationPartition(val int) attribute.KeyValue {
+ return MessagingKafkaDestinationPartitionKey.Int(val)
+}
+
// These attributes may be used for any network related operation.
const (
// NetHostNameKey is the attribute Key conforming to the "net.host.name"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use
+ // `server.address`.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'example.com'
- // Deprecated: use `server.address`.
NetHostNameKey = attribute.Key("net.host.name")
// NetHostPortKey is the attribute Key conforming to the "net.host.port"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use `server.port`.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 8080
- // Deprecated: use `server.port`.
NetHostPortKey = attribute.Key("net.host.port")
// NetPeerNameKey is the attribute Key conforming to the "net.peer.name"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use `server.address`
+ // on client spans and `client.address` on server spans.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'example.com'
- // Deprecated: use `server.address` on client spans and `client.address` on
- // server spans.
NetPeerNameKey = attribute.Key("net.peer.name")
// NetPeerPortKey is the attribute Key conforming to the "net.peer.port"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use `server.port` on
+ // client spans and `client.port` on server spans.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 8080
- // Deprecated: use `server.port` on client spans and `client.port` on
- // server spans.
NetPeerPortKey = attribute.Key("net.peer.port")
// NetProtocolNameKey is the attribute Key conforming to the
- // "net.protocol.name" semantic conventions.
+ // "net.protocol.name" semantic conventions. It represents the deprecated,
+ // use `network.protocol.name`.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 'amqp', 'http', 'mqtt'
- // Deprecated: use `network.protocol.name`.
NetProtocolNameKey = attribute.Key("net.protocol.name")
// NetProtocolVersionKey is the attribute Key conforming to the
- // "net.protocol.version" semantic conventions.
+ // "net.protocol.version" semantic conventions. It represents the
+ // deprecated, use `network.protocol.version`.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: '3.1.1'
- // Deprecated: use `network.protocol.version`.
NetProtocolVersionKey = attribute.Key("net.protocol.version")
// NetSockFamilyKey is the attribute Key conforming to the
- // "net.sock.family" semantic conventions.
+ // "net.sock.family" semantic conventions. It represents the deprecated,
+ // use `network.transport` and `network.type`.
//
// Type: Enum
// RequirementLevel: Optional
- // Stability: deprecated
- // Deprecated: use `network.transport` and `network.type`.
+ // Stability: experimental
NetSockFamilyKey = attribute.Key("net.sock.family")
// NetSockHostAddrKey is the attribute Key conforming to the
- // "net.sock.host.addr" semantic conventions.
+ // "net.sock.host.addr" semantic conventions. It represents the deprecated,
+ // use `network.local.address`.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: '/var/my.sock'
- // Deprecated: use `network.local.address`.
NetSockHostAddrKey = attribute.Key("net.sock.host.addr")
// NetSockHostPortKey is the attribute Key conforming to the
- // "net.sock.host.port" semantic conventions.
+ // "net.sock.host.port" semantic conventions. It represents the deprecated,
+ // use `network.local.port`.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 8080
- // Deprecated: use `network.local.port`.
NetSockHostPortKey = attribute.Key("net.sock.host.port")
// NetSockPeerAddrKey is the attribute Key conforming to the
- // "net.sock.peer.addr" semantic conventions.
+ // "net.sock.peer.addr" semantic conventions. It represents the deprecated,
+ // use `network.peer.address`.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: '192.168.0.1'
- // Deprecated: use `network.peer.address`.
NetSockPeerAddrKey = attribute.Key("net.sock.peer.addr")
// NetSockPeerNameKey is the attribute Key conforming to the
- // "net.sock.peer.name" semantic conventions.
+ // "net.sock.peer.name" semantic conventions. It represents the deprecated,
+ // no replacement at this time.
//
// Type: string
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: '/var/my.sock'
- // Deprecated: no replacement at this time.
NetSockPeerNameKey = attribute.Key("net.sock.peer.name")
// NetSockPeerPortKey is the attribute Key conforming to the
- // "net.sock.peer.port" semantic conventions.
+ // "net.sock.peer.port" semantic conventions. It represents the deprecated,
+ // use `network.peer.port`.
//
// Type: int
// RequirementLevel: Optional
- // Stability: deprecated
+ // Stability: experimental
// Examples: 65531
- // Deprecated: use `network.peer.port`.
NetSockPeerPortKey = attribute.Key("net.sock.peer.port")
// NetTransportKey is the attribute Key conforming to the "net.transport"
- // semantic conventions.
+ // semantic conventions. It represents the deprecated, use
+ // `network.transport`.
//
// Type: Enum
// RequirementLevel: Optional
- // Stability: deprecated
- // Deprecated: use `network.transport`.
+ // Stability: experimental
NetTransportKey = attribute.Key("net.transport")
)
var (
// IPv4 address
- //
- // Deprecated: use `network.transport` and `network.type`.
NetSockFamilyInet = NetSockFamilyKey.String("inet")
// IPv6 address
- //
- // Deprecated: use `network.transport` and `network.type`.
NetSockFamilyInet6 = NetSockFamilyKey.String("inet6")
// Unix domain socket path
- //
- // Deprecated: use `network.transport` and `network.type`.
NetSockFamilyUnix = NetSockFamilyKey.String("unix")
)
var (
// ip_tcp
- //
- // Deprecated: use `network.transport`.
NetTransportTCP = NetTransportKey.String("ip_tcp")
// ip_udp
- //
- // Deprecated: use `network.transport`.
NetTransportUDP = NetTransportKey.String("ip_udp")
// Named or anonymous pipe
- //
- // Deprecated: use `network.transport`.
NetTransportPipe = NetTransportKey.String("pipe")
// In-process communication
- //
- // Deprecated: use `network.transport`.
NetTransportInProc = NetTransportKey.String("inproc")
// Something else (non IP-based)
- //
- // Deprecated: use `network.transport`.
NetTransportOther = NetTransportKey.String("other")
)
// NetHostName returns an attribute KeyValue conforming to the
-// "net.host.name" semantic conventions.
-//
-// Deprecated: use `server.address`.
+// "net.host.name" semantic conventions. It represents the deprecated, use
+// `server.address`.
func NetHostName(val string) attribute.KeyValue {
return NetHostNameKey.String(val)
}
// NetHostPort returns an attribute KeyValue conforming to the
-// "net.host.port" semantic conventions.
-//
-// Deprecated: use `server.port`.
+// "net.host.port" semantic conventions. It represents the deprecated, use
+// `server.port`.
func NetHostPort(val int) attribute.KeyValue {
return NetHostPortKey.Int(val)
}
// NetPeerName returns an attribute KeyValue conforming to the
-// "net.peer.name" semantic conventions.
-//
-// Deprecated: use `server.address` on client spans and `client.address` on
-// server spans.
+// "net.peer.name" semantic conventions. It represents the deprecated, use
+// `server.address` on client spans and `client.address` on server spans.
func NetPeerName(val string) attribute.KeyValue {
return NetPeerNameKey.String(val)
}
// NetPeerPort returns an attribute KeyValue conforming to the
-// "net.peer.port" semantic conventions.
-//
-// Deprecated: use `server.port` on client spans and `client.port` on server
-// spans.
+// "net.peer.port" semantic conventions. It represents the deprecated, use
+// `server.port` on client spans and `client.port` on server spans.
func NetPeerPort(val int) attribute.KeyValue {
return NetPeerPortKey.Int(val)
}
// NetProtocolName returns an attribute KeyValue conforming to the
-// "net.protocol.name" semantic conventions.
-//
-// Deprecated: use `network.protocol.name`.
+// "net.protocol.name" semantic conventions. It represents the deprecated, use
+// `network.protocol.name`.
func NetProtocolName(val string) attribute.KeyValue {
return NetProtocolNameKey.String(val)
}
// NetProtocolVersion returns an attribute KeyValue conforming to the
-// "net.protocol.version" semantic conventions.
-//
-// Deprecated: use `network.protocol.version`.
+// "net.protocol.version" semantic conventions. It represents the deprecated,
+// use `network.protocol.version`.
func NetProtocolVersion(val string) attribute.KeyValue {
return NetProtocolVersionKey.String(val)
}
// NetSockHostAddr returns an attribute KeyValue conforming to the
-// "net.sock.host.addr" semantic conventions.
-//
-// Deprecated: use `network.local.address`.
+// "net.sock.host.addr" semantic conventions. It represents the deprecated, use
+// `network.local.address`.
func NetSockHostAddr(val string) attribute.KeyValue {
return NetSockHostAddrKey.String(val)
}
// NetSockHostPort returns an attribute KeyValue conforming to the
-// "net.sock.host.port" semantic conventions.
-//
-// Deprecated: use `network.local.port`.
+// "net.sock.host.port" semantic conventions. It represents the deprecated, use
+// `network.local.port`.
func NetSockHostPort(val int) attribute.KeyValue {
return NetSockHostPortKey.Int(val)
}
// NetSockPeerAddr returns an attribute KeyValue conforming to the
-// "net.sock.peer.addr" semantic conventions.
-//
-// Deprecated: use `network.peer.address`.
+// "net.sock.peer.addr" semantic conventions. It represents the deprecated, use
+// `network.peer.address`.
func NetSockPeerAddr(val string) attribute.KeyValue {
return NetSockPeerAddrKey.String(val)
}
// NetSockPeerName returns an attribute KeyValue conforming to the
-// "net.sock.peer.name" semantic conventions.
-//
-// Deprecated: no replacement at this time.
+// "net.sock.peer.name" semantic conventions. It represents the deprecated, no
+// replacement at this time.
func NetSockPeerName(val string) attribute.KeyValue {
return NetSockPeerNameKey.String(val)
}
// NetSockPeerPort returns an attribute KeyValue conforming to the
-// "net.sock.peer.port" semantic conventions.
-//
-// Deprecated: use `network.peer.port`.
+// "net.sock.peer.port" semantic conventions. It represents the deprecated, use
+// `network.peer.port`.
func NetSockPeerPort(val int) attribute.KeyValue {
return NetSockPeerPortKey.Int(val)
}
+// Deprecated system attributes.
+const (
+ // SystemProcessesStatusKey is the attribute Key conforming to the
+ // "system.processes.status" semantic conventions. It represents the
+ // deprecated, use `system.process.status` instead.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'running'
+ SystemProcessesStatusKey = attribute.Key("system.processes.status")
+)
+
+var (
+ // running
+ SystemProcessesStatusRunning = SystemProcessesStatusKey.String("running")
+ // sleeping
+ SystemProcessesStatusSleeping = SystemProcessesStatusKey.String("sleeping")
+ // stopped
+ SystemProcessesStatusStopped = SystemProcessesStatusKey.String("stopped")
+ // defunct
+ SystemProcessesStatusDefunct = SystemProcessesStatusKey.String("defunct")
+)
+
// These attributes may be used to describe the receiver of a network
// exchange/packet. These should be used when there is no client/server
// relationship between the two sides, or when that relationship is unknown.
@@ -2031,6 +3176,97 @@ func DestinationPort(val int) attribute.KeyValue {
return DestinationPortKey.Int(val)
}
+// Describes device attributes.
+const (
+ // DeviceIDKey is the attribute Key conforming to the "device.id" semantic
+ // conventions. It represents a unique identifier representing the device
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '2ab2916d-a51f-4ac8-80ee-45ac31a28092'
+ // Note: The device identifier MUST only be defined using the values
+ // outlined below. This value is not an advertising identifier and MUST NOT
+ // be used as such. On iOS (Swift or Objective-C), this value MUST be equal
+ // to the [vendor
+ // identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor).
+ // On Android (Java or Kotlin), this value MUST be equal to the Firebase
+ // Installation ID or a globally unique UUID which is persisted across
+ // sessions in your application. More information can be found
+ // [here](https://developer.android.com/training/articles/user-data-ids) on
+ // best practices and exact implementation details. Caution should be taken
+ // when storing personal data or anything which can identify a user. GDPR
+ // and data protection laws may apply, ensure you do your own due
+ // diligence.
+ DeviceIDKey = attribute.Key("device.id")
+
+ // DeviceManufacturerKey is the attribute Key conforming to the
+ // "device.manufacturer" semantic conventions. It represents the name of
+ // the device manufacturer
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Apple', 'Samsung'
+ // Note: The Android OS provides this field via
+ // [Build](https://developer.android.com/reference/android/os/Build#MANUFACTURER).
+ // iOS apps SHOULD hardcode the value `Apple`.
+ DeviceManufacturerKey = attribute.Key("device.manufacturer")
+
+ // DeviceModelIdentifierKey is the attribute Key conforming to the
+ // "device.model.identifier" semantic conventions. It represents the model
+ // identifier for the device
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'iPhone3,4', 'SM-G920F'
+ // Note: It's recommended this value represents a machine-readable version
+ // of the model identifier rather than the market or consumer-friendly name
+ // of the device.
+ DeviceModelIdentifierKey = attribute.Key("device.model.identifier")
+
+ // DeviceModelNameKey is the attribute Key conforming to the
+ // "device.model.name" semantic conventions. It represents the marketing
+ // name for the device model
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'iPhone 6s Plus', 'Samsung Galaxy S6'
+ // Note: It's recommended this value represents a human-readable version of
+ // the device model rather than a machine-readable alternative.
+ DeviceModelNameKey = attribute.Key("device.model.name")
+)
+
+// DeviceID returns an attribute KeyValue conforming to the "device.id"
+// semantic conventions. It represents a unique identifier representing the
+// device
+func DeviceID(val string) attribute.KeyValue {
+ return DeviceIDKey.String(val)
+}
+
+// DeviceManufacturer returns an attribute KeyValue conforming to the
+// "device.manufacturer" semantic conventions. It represents the name of the
+// device manufacturer
+func DeviceManufacturer(val string) attribute.KeyValue {
+ return DeviceManufacturerKey.String(val)
+}
+
+// DeviceModelIdentifier returns an attribute KeyValue conforming to the
+// "device.model.identifier" semantic conventions. It represents the model
+// identifier for the device
+func DeviceModelIdentifier(val string) attribute.KeyValue {
+ return DeviceModelIdentifierKey.String(val)
+}
+
+// DeviceModelName returns an attribute KeyValue conforming to the
+// "device.model.name" semantic conventions. It represents the marketing name
+// for the device model
+func DeviceModelName(val string) attribute.KeyValue {
+ return DeviceModelNameKey.String(val)
+}
+
// These attributes may be used for any disk related operation.
const (
// DiskIoDirectionKey is the attribute Key conforming to the
@@ -2051,6 +3287,101 @@ var (
DiskIoDirectionWrite = DiskIoDirectionKey.String("write")
)
+// The shared attributes used to report a DNS query.
+const (
+ // DNSQuestionNameKey is the attribute Key conforming to the
+ // "dns.question.name" semantic conventions. It represents the name being
+ // queried.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'www.example.com', 'opentelemetry.io'
+ // Note: If the name field contains non-printable characters (below 32 or
+ // above 126), those characters should be represented as escaped base 10
+ // integers (\DDD). Back slashes and quotes should be escaped. Tabs,
+ // carriage returns, and line feeds should be converted to \t, \r, and \n
+ // respectively.
+ DNSQuestionNameKey = attribute.Key("dns.question.name")
+)
+
+// DNSQuestionName returns an attribute KeyValue conforming to the
+// "dns.question.name" semantic conventions. It represents the name being
+// queried.
+func DNSQuestionName(val string) attribute.KeyValue {
+ return DNSQuestionNameKey.String(val)
+}
+
+// Attributes for operations with an authenticated and/or authorized enduser.
+const (
+ // EnduserIDKey is the attribute Key conforming to the "enduser.id"
+ // semantic conventions. It represents the username or client_id extracted
+ // from the access token or
+ // [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header
+ // in the inbound request from outside the system.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'username'
+ EnduserIDKey = attribute.Key("enduser.id")
+
+ // EnduserRoleKey is the attribute Key conforming to the "enduser.role"
+ // semantic conventions. It represents the actual/assumed role the client
+ // is making the request under extracted from token or application security
+ // context.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'admin'
+ EnduserRoleKey = attribute.Key("enduser.role")
+
+ // EnduserScopeKey is the attribute Key conforming to the "enduser.scope"
+ // semantic conventions. It represents the scopes or granted authorities
+ // the client currently possesses extracted from token or application
+ // security context. The value would come from the scope associated with an
+ // [OAuth 2.0 Access
+ // Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute
+ // value in a [SAML 2.0
+ // Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'read:message, write:files'
+ EnduserScopeKey = attribute.Key("enduser.scope")
+)
+
+// EnduserID returns an attribute KeyValue conforming to the "enduser.id"
+// semantic conventions. It represents the username or client_id extracted from
+// the access token or
+// [Authorization](https://tools.ietf.org/html/rfc7235#section-4.2) header in
+// the inbound request from outside the system.
+func EnduserID(val string) attribute.KeyValue {
+ return EnduserIDKey.String(val)
+}
+
+// EnduserRole returns an attribute KeyValue conforming to the
+// "enduser.role" semantic conventions. It represents the actual/assumed role
+// the client is making the request under extracted from token or application
+// security context.
+func EnduserRole(val string) attribute.KeyValue {
+ return EnduserRoleKey.String(val)
+}
+
+// EnduserScope returns an attribute KeyValue conforming to the
+// "enduser.scope" semantic conventions. It represents the scopes or granted
+// authorities the client currently possesses extracted from token or
+// application security context. The value would come from the scope associated
+// with an [OAuth 2.0 Access
+// Token](https://tools.ietf.org/html/rfc6749#section-3.3) or an attribute
+// value in a [SAML 2.0
+// Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html).
+func EnduserScope(val string) attribute.KeyValue {
+ return EnduserScopeKey.String(val)
+}
+
// The shared attributes used to report an error.
const (
// ErrorTypeKey is the attribute Key conforming to the "error.type"
@@ -2102,7 +3433,7 @@ const (
//
// Type: boolean
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Note: An exception is considered to have escaped (or left) the scope of
// a span,
// if that span is ended while the exception is still logically "in
@@ -2134,7 +3465,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'Division by zero', "Can't convert 'int' object to str
// implicitly"
ExceptionMessageKey = attribute.Key("exception.message")
@@ -2146,7 +3477,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'Exception in thread "main" java.lang.RuntimeException: Test
// exception\\n at '
// 'com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at '
@@ -2162,7 +3493,7 @@ const (
//
// Type: string
// RequirementLevel: Optional
- // Stability: experimental
+ // Stability: stable
// Examples: 'java.net.ConnectException', 'OSError'
ExceptionTypeKey = attribute.Key("exception.type")
)
@@ -2199,8 +3530,904 @@ func ExceptionType(val string) attribute.KeyValue {
return ExceptionTypeKey.String(val)
}
+// FaaS attributes
+const (
+ // FaaSColdstartKey is the attribute Key conforming to the "faas.coldstart"
+ // semantic conventions. It represents a boolean that is true if the
+ // serverless function is executed for the first time (aka cold-start).
+ //
+ // Type: boolean
+ // RequirementLevel: Optional
+ // Stability: experimental
+ FaaSColdstartKey = attribute.Key("faas.coldstart")
+
+ // FaaSCronKey is the attribute Key conforming to the "faas.cron" semantic
+ // conventions. It represents a string containing the schedule period as
+ // [Cron
+ // Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '0/5 * * * ? *'
+ FaaSCronKey = attribute.Key("faas.cron")
+
+ // FaaSDocumentCollectionKey is the attribute Key conforming to the
+ // "faas.document.collection" semantic conventions. It represents the name
+ // of the source on which the triggering operation was performed. For
+ // example, in Cloud Storage or S3 corresponds to the bucket name, and in
+ // Cosmos DB to the database name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'myBucketName', 'myDBName'
+ FaaSDocumentCollectionKey = attribute.Key("faas.document.collection")
+
+ // FaaSDocumentNameKey is the attribute Key conforming to the
+ // "faas.document.name" semantic conventions. It represents the document
+ // name/table subjected to the operation. For example, in Cloud Storage or
+ // S3 is the name of the file, and in Cosmos DB the table name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'myFile.txt', 'myTableName'
+ FaaSDocumentNameKey = attribute.Key("faas.document.name")
+
+ // FaaSDocumentOperationKey is the attribute Key conforming to the
+ // "faas.document.operation" semantic conventions. It represents the
+ // describes the type of the operation that was performed on the data.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ FaaSDocumentOperationKey = attribute.Key("faas.document.operation")
+
+ // FaaSDocumentTimeKey is the attribute Key conforming to the
+ // "faas.document.time" semantic conventions. It represents a string
+ // containing the time when the data was accessed in the [ISO
+ // 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+ // expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '2020-01-23T13:47:06Z'
+ FaaSDocumentTimeKey = attribute.Key("faas.document.time")
+
+ // FaaSInstanceKey is the attribute Key conforming to the "faas.instance"
+ // semantic conventions. It represents the execution environment ID as a
+ // string, that will be potentially reused for other invocations to the
+ // same function/function version.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de'
+ // Note: * **AWS Lambda:** Use the (full) log stream name.
+ FaaSInstanceKey = attribute.Key("faas.instance")
+
+ // FaaSInvocationIDKey is the attribute Key conforming to the
+ // "faas.invocation_id" semantic conventions. It represents the invocation
+ // ID of the current function invocation.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'af9d5aa4-a685-4c5f-a22b-444f80b3cc28'
+ FaaSInvocationIDKey = attribute.Key("faas.invocation_id")
+
+ // FaaSInvokedNameKey is the attribute Key conforming to the
+ // "faas.invoked_name" semantic conventions. It represents the name of the
+ // invoked function.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'my-function'
+ // Note: SHOULD be equal to the `faas.name` resource attribute of the
+ // invoked function.
+ FaaSInvokedNameKey = attribute.Key("faas.invoked_name")
+
+ // FaaSInvokedProviderKey is the attribute Key conforming to the
+ // "faas.invoked_provider" semantic conventions. It represents the cloud
+ // provider of the invoked function.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Note: SHOULD be equal to the `cloud.provider` resource attribute of the
+ // invoked function.
+ FaaSInvokedProviderKey = attribute.Key("faas.invoked_provider")
+
+ // FaaSInvokedRegionKey is the attribute Key conforming to the
+ // "faas.invoked_region" semantic conventions. It represents the cloud
+ // region of the invoked function.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'eu-central-1'
+ // Note: SHOULD be equal to the `cloud.region` resource attribute of the
+ // invoked function.
+ FaaSInvokedRegionKey = attribute.Key("faas.invoked_region")
+
+ // FaaSMaxMemoryKey is the attribute Key conforming to the
+ // "faas.max_memory" semantic conventions. It represents the amount of
+ // memory available to the serverless function converted to Bytes.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 134217728
+ // Note: It's recommended to set this attribute since e.g. too little
+ // memory can easily stop a Java AWS Lambda function from working
+ // correctly. On AWS Lambda, the environment variable
+ // `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information (which must
+ // be multiplied by 1,048,576).
+ FaaSMaxMemoryKey = attribute.Key("faas.max_memory")
+
+ // FaaSNameKey is the attribute Key conforming to the "faas.name" semantic
+ // conventions. It represents the name of the single function that this
+ // runtime instance executes.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'my-function', 'myazurefunctionapp/some-function-name'
+ // Note: This is the name of the function as configured/deployed on the
+ // FaaS
+ // platform and is usually different from the name of the callback
+ // function (which may be stored in the
+ // [`code.namespace`/`code.function`](/docs/general/attributes.md#source-code-attributes)
+ // span attributes).
+ //
+ // For some cloud providers, the above definition is ambiguous. The
+ // following
+ // definition of function name MUST be used for this attribute
+ // (and consequently the span name) for the listed cloud
+ // providers/products:
+ //
+ // * **Azure:** The full name `/`, i.e., function app name
+ // followed by a forward slash followed by the function name (this form
+ // can also be seen in the resource JSON for the function).
+ // This means that a span attribute MUST be used, as an Azure function
+ // app can host multiple functions that would usually share
+ // a TracerProvider (see also the `cloud.resource_id` attribute).
+ FaaSNameKey = attribute.Key("faas.name")
+
+ // FaaSTimeKey is the attribute Key conforming to the "faas.time" semantic
+ // conventions. It represents a string containing the function invocation
+ // time in the [ISO
+ // 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+ // expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '2020-01-23T13:47:06Z'
+ FaaSTimeKey = attribute.Key("faas.time")
+
+ // FaaSTriggerKey is the attribute Key conforming to the "faas.trigger"
+ // semantic conventions. It represents the type of the trigger which caused
+ // this function invocation.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ FaaSTriggerKey = attribute.Key("faas.trigger")
+
+ // FaaSVersionKey is the attribute Key conforming to the "faas.version"
+ // semantic conventions. It represents the immutable version of the
+ // function being executed.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '26', 'pinkfroid-00002'
+ // Note: Depending on the cloud provider and platform, use:
+ //
+ // * **AWS Lambda:** The [function
+ // version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
+ // (an integer represented as a decimal string).
+ // * **Google Cloud Run (Services):** The
+ // [revision](https://cloud.google.com/run/docs/managing/revisions)
+ // (i.e., the function name plus the revision suffix).
+ // * **Google Cloud Functions:** The value of the
+ // [`K_REVISION` environment
+ // variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically).
+ // * **Azure Functions:** Not applicable. Do not set this attribute.
+ FaaSVersionKey = attribute.Key("faas.version")
+)
+
+var (
+ // When a new object is created
+ FaaSDocumentOperationInsert = FaaSDocumentOperationKey.String("insert")
+ // When an object is modified
+ FaaSDocumentOperationEdit = FaaSDocumentOperationKey.String("edit")
+ // When an object is deleted
+ FaaSDocumentOperationDelete = FaaSDocumentOperationKey.String("delete")
+)
+
+var (
+ // Alibaba Cloud
+ FaaSInvokedProviderAlibabaCloud = FaaSInvokedProviderKey.String("alibaba_cloud")
+ // Amazon Web Services
+ FaaSInvokedProviderAWS = FaaSInvokedProviderKey.String("aws")
+ // Microsoft Azure
+ FaaSInvokedProviderAzure = FaaSInvokedProviderKey.String("azure")
+ // Google Cloud Platform
+ FaaSInvokedProviderGCP = FaaSInvokedProviderKey.String("gcp")
+ // Tencent Cloud
+ FaaSInvokedProviderTencentCloud = FaaSInvokedProviderKey.String("tencent_cloud")
+)
+
+var (
+ // A response to some data source operation such as a database or filesystem read/write
+ FaaSTriggerDatasource = FaaSTriggerKey.String("datasource")
+ // To provide an answer to an inbound HTTP request
+ FaaSTriggerHTTP = FaaSTriggerKey.String("http")
+ // A function is set to be executed when messages are sent to a messaging system
+ FaaSTriggerPubsub = FaaSTriggerKey.String("pubsub")
+ // A function is scheduled to be executed regularly
+ FaaSTriggerTimer = FaaSTriggerKey.String("timer")
+ // If none of the others apply
+ FaaSTriggerOther = FaaSTriggerKey.String("other")
+)
+
+// FaaSColdstart returns an attribute KeyValue conforming to the
+// "faas.coldstart" semantic conventions. It represents a boolean that is true
+// if the serverless function is executed for the first time (aka cold-start).
+func FaaSColdstart(val bool) attribute.KeyValue {
+ return FaaSColdstartKey.Bool(val)
+}
+
+// FaaSCron returns an attribute KeyValue conforming to the "faas.cron"
+// semantic conventions. It represents a string containing the schedule period
+// as [Cron
+// Expression](https://docs.oracle.com/cd/E12058_01/doc/doc.1014/e12030/cron_expressions.htm).
+func FaaSCron(val string) attribute.KeyValue {
+ return FaaSCronKey.String(val)
+}
+
+// FaaSDocumentCollection returns an attribute KeyValue conforming to the
+// "faas.document.collection" semantic conventions. It represents the name of
+// the source on which the triggering operation was performed. For example, in
+// Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the
+// database name.
+func FaaSDocumentCollection(val string) attribute.KeyValue {
+ return FaaSDocumentCollectionKey.String(val)
+}
+
+// FaaSDocumentName returns an attribute KeyValue conforming to the
+// "faas.document.name" semantic conventions. It represents the document
+// name/table subjected to the operation. For example, in Cloud Storage or S3
+// is the name of the file, and in Cosmos DB the table name.
+func FaaSDocumentName(val string) attribute.KeyValue {
+ return FaaSDocumentNameKey.String(val)
+}
+
+// FaaSDocumentTime returns an attribute KeyValue conforming to the
+// "faas.document.time" semantic conventions. It represents a string containing
+// the time when the data was accessed in the [ISO
+// 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+// expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+func FaaSDocumentTime(val string) attribute.KeyValue {
+ return FaaSDocumentTimeKey.String(val)
+}
+
+// FaaSInstance returns an attribute KeyValue conforming to the
+// "faas.instance" semantic conventions. It represents the execution
+// environment ID as a string, that will be potentially reused for other
+// invocations to the same function/function version.
+func FaaSInstance(val string) attribute.KeyValue {
+ return FaaSInstanceKey.String(val)
+}
+
+// FaaSInvocationID returns an attribute KeyValue conforming to the
+// "faas.invocation_id" semantic conventions. It represents the invocation ID
+// of the current function invocation.
+func FaaSInvocationID(val string) attribute.KeyValue {
+ return FaaSInvocationIDKey.String(val)
+}
+
+// FaaSInvokedName returns an attribute KeyValue conforming to the
+// "faas.invoked_name" semantic conventions. It represents the name of the
+// invoked function.
+func FaaSInvokedName(val string) attribute.KeyValue {
+ return FaaSInvokedNameKey.String(val)
+}
+
+// FaaSInvokedRegion returns an attribute KeyValue conforming to the
+// "faas.invoked_region" semantic conventions. It represents the cloud region
+// of the invoked function.
+func FaaSInvokedRegion(val string) attribute.KeyValue {
+ return FaaSInvokedRegionKey.String(val)
+}
+
+// FaaSMaxMemory returns an attribute KeyValue conforming to the
+// "faas.max_memory" semantic conventions. It represents the amount of memory
+// available to the serverless function converted to Bytes.
+func FaaSMaxMemory(val int) attribute.KeyValue {
+ return FaaSMaxMemoryKey.Int(val)
+}
+
+// FaaSName returns an attribute KeyValue conforming to the "faas.name"
+// semantic conventions. It represents the name of the single function that
+// this runtime instance executes.
+func FaaSName(val string) attribute.KeyValue {
+ return FaaSNameKey.String(val)
+}
+
+// FaaSTime returns an attribute KeyValue conforming to the "faas.time"
+// semantic conventions. It represents a string containing the function
+// invocation time in the [ISO
+// 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format
+// expressed in [UTC](https://www.w3.org/TR/NOTE-datetime).
+func FaaSTime(val string) attribute.KeyValue {
+ return FaaSTimeKey.String(val)
+}
+
+// FaaSVersion returns an attribute KeyValue conforming to the
+// "faas.version" semantic conventions. It represents the immutable version of
+// the function being executed.
+func FaaSVersion(val string) attribute.KeyValue {
+ return FaaSVersionKey.String(val)
+}
+
+// Attributes for Feature Flags.
+const (
+ // FeatureFlagKeyKey is the attribute Key conforming to the
+ // "feature_flag.key" semantic conventions. It represents the unique
+ // identifier of the feature flag.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'logo-color'
+ FeatureFlagKeyKey = attribute.Key("feature_flag.key")
+
+ // FeatureFlagProviderNameKey is the attribute Key conforming to the
+ // "feature_flag.provider_name" semantic conventions. It represents the
+ // name of the service provider that performs the flag evaluation.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Flag Manager'
+ FeatureFlagProviderNameKey = attribute.Key("feature_flag.provider_name")
+
+ // FeatureFlagVariantKey is the attribute Key conforming to the
+ // "feature_flag.variant" semantic conventions. It represents the sHOULD be
+ // a semantic identifier for a value. If one is unavailable, a stringified
+ // version of the value can be used.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'red', 'true', 'on'
+ // Note: A semantic identifier, commonly referred to as a variant, provides
+ // a means
+ // for referring to a value without including the value itself. This can
+ // provide additional context for understanding the meaning behind a value.
+ // For example, the variant `red` maybe be used for the value `#c05543`.
+ //
+ // A stringified version of the value can be used in situations where a
+ // semantic identifier is unavailable. String representation of the value
+ // should be determined by the implementer.
+ FeatureFlagVariantKey = attribute.Key("feature_flag.variant")
+)
+
+// FeatureFlagKey returns an attribute KeyValue conforming to the
+// "feature_flag.key" semantic conventions. It represents the unique identifier
+// of the feature flag.
+func FeatureFlagKey(val string) attribute.KeyValue {
+ return FeatureFlagKeyKey.String(val)
+}
+
+// FeatureFlagProviderName returns an attribute KeyValue conforming to the
+// "feature_flag.provider_name" semantic conventions. It represents the name of
+// the service provider that performs the flag evaluation.
+func FeatureFlagProviderName(val string) attribute.KeyValue {
+ return FeatureFlagProviderNameKey.String(val)
+}
+
+// FeatureFlagVariant returns an attribute KeyValue conforming to the
+// "feature_flag.variant" semantic conventions. It represents the sHOULD be a
+// semantic identifier for a value. If one is unavailable, a stringified
+// version of the value can be used.
+func FeatureFlagVariant(val string) attribute.KeyValue {
+ return FeatureFlagVariantKey.String(val)
+}
+
+// Describes file attributes.
+const (
+ // FileDirectoryKey is the attribute Key conforming to the "file.directory"
+ // semantic conventions. It represents the directory where the file is
+ // located. It should include the drive letter, when appropriate.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '/home/user', 'C:\\Program Files\\MyApp'
+ FileDirectoryKey = attribute.Key("file.directory")
+
+ // FileExtensionKey is the attribute Key conforming to the "file.extension"
+ // semantic conventions. It represents the file extension, excluding the
+ // leading dot.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'png', 'gz'
+ // Note: When the file name has multiple extensions (example.tar.gz), only
+ // the last one should be captured ("gz", not "tar.gz").
+ FileExtensionKey = attribute.Key("file.extension")
+
+ // FileNameKey is the attribute Key conforming to the "file.name" semantic
+ // conventions. It represents the name of the file including the extension,
+ // without the directory.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'example.png'
+ FileNameKey = attribute.Key("file.name")
+
+ // FilePathKey is the attribute Key conforming to the "file.path" semantic
+ // conventions. It represents the full path to the file, including the file
+ // name. It should include the drive letter, when appropriate.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '/home/alice/example.png', 'C:\\Program
+ // Files\\MyApp\\myapp.exe'
+ FilePathKey = attribute.Key("file.path")
+
+ // FileSizeKey is the attribute Key conforming to the "file.size" semantic
+ // conventions. It represents the file size in bytes.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ FileSizeKey = attribute.Key("file.size")
+)
+
+// FileDirectory returns an attribute KeyValue conforming to the
+// "file.directory" semantic conventions. It represents the directory where the
+// file is located. It should include the drive letter, when appropriate.
+func FileDirectory(val string) attribute.KeyValue {
+ return FileDirectoryKey.String(val)
+}
+
+// FileExtension returns an attribute KeyValue conforming to the
+// "file.extension" semantic conventions. It represents the file extension,
+// excluding the leading dot.
+func FileExtension(val string) attribute.KeyValue {
+ return FileExtensionKey.String(val)
+}
+
+// FileName returns an attribute KeyValue conforming to the "file.name"
+// semantic conventions. It represents the name of the file including the
+// extension, without the directory.
+func FileName(val string) attribute.KeyValue {
+ return FileNameKey.String(val)
+}
+
+// FilePath returns an attribute KeyValue conforming to the "file.path"
+// semantic conventions. It represents the full path to the file, including the
+// file name. It should include the drive letter, when appropriate.
+func FilePath(val string) attribute.KeyValue {
+ return FilePathKey.String(val)
+}
+
+// FileSize returns an attribute KeyValue conforming to the "file.size"
+// semantic conventions. It represents the file size in bytes.
+func FileSize(val int) attribute.KeyValue {
+ return FileSizeKey.Int(val)
+}
+
+// Attributes for Google Cloud Run.
+const (
+ // GCPCloudRunJobExecutionKey is the attribute Key conforming to the
+ // "gcp.cloud_run.job.execution" semantic conventions. It represents the
+ // name of the Cloud Run
+ // [execution](https://cloud.google.com/run/docs/managing/job-executions)
+ // being run for the Job, as set by the
+ // [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
+ // environment variable.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'job-name-xxxx', 'sample-job-mdw84'
+ GCPCloudRunJobExecutionKey = attribute.Key("gcp.cloud_run.job.execution")
+
+ // GCPCloudRunJobTaskIndexKey is the attribute Key conforming to the
+ // "gcp.cloud_run.job.task_index" semantic conventions. It represents the
+ // index for a task within an execution as provided by the
+ // [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
+ // environment variable.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 0, 1
+ GCPCloudRunJobTaskIndexKey = attribute.Key("gcp.cloud_run.job.task_index")
+)
+
+// GCPCloudRunJobExecution returns an attribute KeyValue conforming to the
+// "gcp.cloud_run.job.execution" semantic conventions. It represents the name
+// of the Cloud Run
+// [execution](https://cloud.google.com/run/docs/managing/job-executions) being
+// run for the Job, as set by the
+// [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
+// environment variable.
+func GCPCloudRunJobExecution(val string) attribute.KeyValue {
+ return GCPCloudRunJobExecutionKey.String(val)
+}
+
+// GCPCloudRunJobTaskIndex returns an attribute KeyValue conforming to the
+// "gcp.cloud_run.job.task_index" semantic conventions. It represents the index
+// for a task within an execution as provided by the
+// [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)
+// environment variable.
+func GCPCloudRunJobTaskIndex(val int) attribute.KeyValue {
+ return GCPCloudRunJobTaskIndexKey.Int(val)
+}
+
+// Attributes for Google Compute Engine (GCE).
+const (
+ // GCPGceInstanceHostnameKey is the attribute Key conforming to the
+ // "gcp.gce.instance.hostname" semantic conventions. It represents the
+ // hostname of a GCE instance. This is the full value of the default or
+ // [custom
+ // hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'my-host1234.example.com',
+ // 'sample-vm.us-west1-b.c.my-project.internal'
+ GCPGceInstanceHostnameKey = attribute.Key("gcp.gce.instance.hostname")
+
+ // GCPGceInstanceNameKey is the attribute Key conforming to the
+ // "gcp.gce.instance.name" semantic conventions. It represents the instance
+ // name of a GCE instance. This is the value provided by `host.name`, the
+ // visible name of the instance in the Cloud Console UI, and the prefix for
+ // the default hostname of the instance as defined by the [default internal
+ // DNS
+ // name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'instance-1', 'my-vm-name'
+ GCPGceInstanceNameKey = attribute.Key("gcp.gce.instance.name")
+)
+
+// GCPGceInstanceHostname returns an attribute KeyValue conforming to the
+// "gcp.gce.instance.hostname" semantic conventions. It represents the hostname
+// of a GCE instance. This is the full value of the default or [custom
+// hostname](https://cloud.google.com/compute/docs/instances/custom-hostname-vm).
+func GCPGceInstanceHostname(val string) attribute.KeyValue {
+ return GCPGceInstanceHostnameKey.String(val)
+}
+
+// GCPGceInstanceName returns an attribute KeyValue conforming to the
+// "gcp.gce.instance.name" semantic conventions. It represents the instance
+// name of a GCE instance. This is the value provided by `host.name`, the
+// visible name of the instance in the Cloud Console UI, and the prefix for the
+// default hostname of the instance as defined by the [default internal DNS
+// name](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names).
+func GCPGceInstanceName(val string) attribute.KeyValue {
+ return GCPGceInstanceNameKey.String(val)
+}
+
+// A host is defined as a computing instance. For example, physical servers,
+// virtual machines, switches or disk array.
+const (
+ // HostArchKey is the attribute Key conforming to the "host.arch" semantic
+ // conventions. It represents the CPU architecture the host system is
+ // running on.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ HostArchKey = attribute.Key("host.arch")
+
+ // HostCPUCacheL2SizeKey is the attribute Key conforming to the
+ // "host.cpu.cache.l2.size" semantic conventions. It represents the amount
+ // of level 2 memory cache available to the processor (in Bytes).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 12288000
+ HostCPUCacheL2SizeKey = attribute.Key("host.cpu.cache.l2.size")
+
+ // HostCPUFamilyKey is the attribute Key conforming to the
+ // "host.cpu.family" semantic conventions. It represents the family or
+ // generation of the CPU.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '6', 'PA-RISC 1.1e'
+ HostCPUFamilyKey = attribute.Key("host.cpu.family")
+
+ // HostCPUModelIDKey is the attribute Key conforming to the
+ // "host.cpu.model.id" semantic conventions. It represents the model
+ // identifier. It provides more granular information about the CPU,
+ // distinguishing it from other CPUs within the same family.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '6', '9000/778/B180L'
+ HostCPUModelIDKey = attribute.Key("host.cpu.model.id")
+
+ // HostCPUModelNameKey is the attribute Key conforming to the
+ // "host.cpu.model.name" semantic conventions. It represents the model
+ // designation of the processor.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz'
+ HostCPUModelNameKey = attribute.Key("host.cpu.model.name")
+
+ // HostCPUSteppingKey is the attribute Key conforming to the
+ // "host.cpu.stepping" semantic conventions. It represents the stepping or
+ // core revisions.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '1', 'r1p1'
+ HostCPUSteppingKey = attribute.Key("host.cpu.stepping")
+
+ // HostCPUVendorIDKey is the attribute Key conforming to the
+ // "host.cpu.vendor.id" semantic conventions. It represents the processor
+ // manufacturer identifier. A maximum 12-character string.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'GenuineIntel'
+ // Note: [CPUID](https://wiki.osdev.org/CPUID) command returns the vendor
+ // ID string in EBX, EDX and ECX registers. Writing these to memory in this
+ // order results in a 12-character string.
+ HostCPUVendorIDKey = attribute.Key("host.cpu.vendor.id")
+
+ // HostIDKey is the attribute Key conforming to the "host.id" semantic
+ // conventions. It represents the unique host ID. For Cloud, this must be
+ // the instance_id assigned by the cloud provider. For non-containerized
+ // systems, this should be the `machine-id`. See the table below for the
+ // sources to use to determine the `machine-id` based on operating system.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'fdbf79e8af94cb7f9e8df36789187052'
+ HostIDKey = attribute.Key("host.id")
+
+ // HostImageIDKey is the attribute Key conforming to the "host.image.id"
+ // semantic conventions. It represents the vM image ID or host OS image ID.
+ // For Cloud, this value is from the provider.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'ami-07b06b442921831e5'
+ HostImageIDKey = attribute.Key("host.image.id")
+
+ // HostImageNameKey is the attribute Key conforming to the
+ // "host.image.name" semantic conventions. It represents the name of the VM
+ // image or OS install the host was instantiated from.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'infra-ami-eks-worker-node-7d4ec78312', 'CentOS-8-x86_64-1905'
+ HostImageNameKey = attribute.Key("host.image.name")
+
+ // HostImageVersionKey is the attribute Key conforming to the
+ // "host.image.version" semantic conventions. It represents the version
+ // string of the VM image or host OS as defined in [Version
+ // Attributes](/docs/resource/README.md#version-attributes).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '0.1'
+ HostImageVersionKey = attribute.Key("host.image.version")
+
+ // HostIPKey is the attribute Key conforming to the "host.ip" semantic
+ // conventions. It represents the available IP addresses of the host,
+ // excluding loopback interfaces.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '192.168.1.140', 'fe80::abc2:4a28:737a:609e'
+ // Note: IPv4 Addresses MUST be specified in dotted-quad notation. IPv6
+ // addresses MUST be specified in the [RFC
+ // 5952](https://www.rfc-editor.org/rfc/rfc5952.html) format.
+ HostIPKey = attribute.Key("host.ip")
+
+ // HostMacKey is the attribute Key conforming to the "host.mac" semantic
+ // conventions. It represents the available MAC addresses of the host,
+ // excluding loopback interfaces.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'AC-DE-48-23-45-67', 'AC-DE-48-23-45-67-01-9F'
+ // Note: MAC Addresses MUST be represented in [IEEE RA hexadecimal
+ // form](https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf):
+ // as hyphen-separated octets in uppercase hexadecimal form from most to
+ // least significant.
+ HostMacKey = attribute.Key("host.mac")
+
+ // HostNameKey is the attribute Key conforming to the "host.name" semantic
+ // conventions. It represents the name of the host. On Unix systems, it may
+ // contain what the hostname command returns, or the fully qualified
+ // hostname, or another name specified by the user.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry-test'
+ HostNameKey = attribute.Key("host.name")
+
+ // HostTypeKey is the attribute Key conforming to the "host.type" semantic
+ // conventions. It represents the type of host. For Cloud, this must be the
+ // machine type.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'n1-standard-1'
+ HostTypeKey = attribute.Key("host.type")
+)
+
+var (
+ // AMD64
+ HostArchAMD64 = HostArchKey.String("amd64")
+ // ARM32
+ HostArchARM32 = HostArchKey.String("arm32")
+ // ARM64
+ HostArchARM64 = HostArchKey.String("arm64")
+ // Itanium
+ HostArchIA64 = HostArchKey.String("ia64")
+ // 32-bit PowerPC
+ HostArchPPC32 = HostArchKey.String("ppc32")
+ // 64-bit PowerPC
+ HostArchPPC64 = HostArchKey.String("ppc64")
+ // IBM z/Architecture
+ HostArchS390x = HostArchKey.String("s390x")
+ // 32-bit x86
+ HostArchX86 = HostArchKey.String("x86")
+)
+
+// HostCPUCacheL2Size returns an attribute KeyValue conforming to the
+// "host.cpu.cache.l2.size" semantic conventions. It represents the amount of
+// level 2 memory cache available to the processor (in Bytes).
+func HostCPUCacheL2Size(val int) attribute.KeyValue {
+ return HostCPUCacheL2SizeKey.Int(val)
+}
+
+// HostCPUFamily returns an attribute KeyValue conforming to the
+// "host.cpu.family" semantic conventions. It represents the family or
+// generation of the CPU.
+func HostCPUFamily(val string) attribute.KeyValue {
+ return HostCPUFamilyKey.String(val)
+}
+
+// HostCPUModelID returns an attribute KeyValue conforming to the
+// "host.cpu.model.id" semantic conventions. It represents the model
+// identifier. It provides more granular information about the CPU,
+// distinguishing it from other CPUs within the same family.
+func HostCPUModelID(val string) attribute.KeyValue {
+ return HostCPUModelIDKey.String(val)
+}
+
+// HostCPUModelName returns an attribute KeyValue conforming to the
+// "host.cpu.model.name" semantic conventions. It represents the model
+// designation of the processor.
+func HostCPUModelName(val string) attribute.KeyValue {
+ return HostCPUModelNameKey.String(val)
+}
+
+// HostCPUStepping returns an attribute KeyValue conforming to the
+// "host.cpu.stepping" semantic conventions. It represents the stepping or core
+// revisions.
+func HostCPUStepping(val string) attribute.KeyValue {
+ return HostCPUSteppingKey.String(val)
+}
+
+// HostCPUVendorID returns an attribute KeyValue conforming to the
+// "host.cpu.vendor.id" semantic conventions. It represents the processor
+// manufacturer identifier. A maximum 12-character string.
+func HostCPUVendorID(val string) attribute.KeyValue {
+ return HostCPUVendorIDKey.String(val)
+}
+
+// HostID returns an attribute KeyValue conforming to the "host.id" semantic
+// conventions. It represents the unique host ID. For Cloud, this must be the
+// instance_id assigned by the cloud provider. For non-containerized systems,
+// this should be the `machine-id`. See the table below for the sources to use
+// to determine the `machine-id` based on operating system.
+func HostID(val string) attribute.KeyValue {
+ return HostIDKey.String(val)
+}
+
+// HostImageID returns an attribute KeyValue conforming to the
+// "host.image.id" semantic conventions. It represents the vM image ID or host
+// OS image ID. For Cloud, this value is from the provider.
+func HostImageID(val string) attribute.KeyValue {
+ return HostImageIDKey.String(val)
+}
+
+// HostImageName returns an attribute KeyValue conforming to the
+// "host.image.name" semantic conventions. It represents the name of the VM
+// image or OS install the host was instantiated from.
+func HostImageName(val string) attribute.KeyValue {
+ return HostImageNameKey.String(val)
+}
+
+// HostImageVersion returns an attribute KeyValue conforming to the
+// "host.image.version" semantic conventions. It represents the version string
+// of the VM image or host OS as defined in [Version
+// Attributes](/docs/resource/README.md#version-attributes).
+func HostImageVersion(val string) attribute.KeyValue {
+ return HostImageVersionKey.String(val)
+}
+
+// HostIP returns an attribute KeyValue conforming to the "host.ip" semantic
+// conventions. It represents the available IP addresses of the host, excluding
+// loopback interfaces.
+func HostIP(val ...string) attribute.KeyValue {
+ return HostIPKey.StringSlice(val)
+}
+
+// HostMac returns an attribute KeyValue conforming to the "host.mac"
+// semantic conventions. It represents the available MAC addresses of the host,
+// excluding loopback interfaces.
+func HostMac(val ...string) attribute.KeyValue {
+ return HostMacKey.StringSlice(val)
+}
+
+// HostName returns an attribute KeyValue conforming to the "host.name"
+// semantic conventions. It represents the name of the host. On Unix systems,
+// it may contain what the hostname command returns, or the fully qualified
+// hostname, or another name specified by the user.
+func HostName(val string) attribute.KeyValue {
+ return HostNameKey.String(val)
+}
+
+// HostType returns an attribute KeyValue conforming to the "host.type"
+// semantic conventions. It represents the type of host. For Cloud, this must
+// be the machine type.
+func HostType(val string) attribute.KeyValue {
+ return HostTypeKey.String(val)
+}
+
// Semantic convention attributes in the HTTP namespace.
const (
+ // HTTPConnectionStateKey is the attribute Key conforming to the
+ // "http.connection.state" semantic conventions. It represents the state of
+ // the HTTP connection in the HTTP connection pool.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'active', 'idle'
+ HTTPConnectionStateKey = attribute.Key("http.connection.state")
+
// HTTPRequestBodySizeKey is the attribute Key conforming to the
// "http.request.body.size" semantic conventions. It represents the size of
// the request payload body in bytes. This is the number of bytes
@@ -2276,6 +4503,18 @@ const (
// network issues, or any other).
HTTPRequestResendCountKey = attribute.Key("http.request.resend_count")
+ // HTTPRequestSizeKey is the attribute Key conforming to the
+ // "http.request.size" semantic conventions. It represents the total size
+ // of the request in bytes. This should be the total number of bytes sent
+ // over the wire, including the request line (HTTP/1.1), framing (HTTP/2
+ // and HTTP/3), headers, and request body if any.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1437
+ HTTPRequestSizeKey = attribute.Key("http.request.size")
+
// HTTPResponseBodySizeKey is the attribute Key conforming to the
// "http.response.body.size" semantic conventions. It represents the size
// of the response payload body in bytes. This is the number of bytes
@@ -2291,6 +4530,18 @@ const (
// Examples: 3495
HTTPResponseBodySizeKey = attribute.Key("http.response.body.size")
+ // HTTPResponseSizeKey is the attribute Key conforming to the
+ // "http.response.size" semantic conventions. It represents the total size
+ // of the response in bytes. This should be the total number of bytes sent
+ // over the wire, including the status line (HTTP/1.1), framing (HTTP/2 and
+ // HTTP/3), headers, and response body and trailers if any.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1437
+ HTTPResponseSizeKey = attribute.Key("http.response.size")
+
// HTTPResponseStatusCodeKey is the attribute Key conforming to the
// "http.response.status_code" semantic conventions. It represents the
// [HTTP response status
@@ -2318,6 +4569,13 @@ const (
HTTPRouteKey = attribute.Key("http.route")
)
+var (
+ // active state
+ HTTPConnectionStateActive = HTTPConnectionStateKey.String("active")
+ // idle state
+ HTTPConnectionStateIdle = HTTPConnectionStateKey.String("idle")
+)
+
var (
// CONNECT method
HTTPRequestMethodConnect = HTTPRequestMethodKey.String("CONNECT")
@@ -2366,6 +4624,15 @@ func HTTPRequestResendCount(val int) attribute.KeyValue {
return HTTPRequestResendCountKey.Int(val)
}
+// HTTPRequestSize returns an attribute KeyValue conforming to the
+// "http.request.size" semantic conventions. It represents the total size of
+// the request in bytes. This should be the total number of bytes sent over the
+// wire, including the request line (HTTP/1.1), framing (HTTP/2 and HTTP/3),
+// headers, and request body if any.
+func HTTPRequestSize(val int) attribute.KeyValue {
+ return HTTPRequestSizeKey.Int(val)
+}
+
// HTTPResponseBodySize returns an attribute KeyValue conforming to the
// "http.response.body.size" semantic conventions. It represents the size of
// the response payload body in bytes. This is the number of bytes transferred
@@ -2377,6 +4644,15 @@ func HTTPResponseBodySize(val int) attribute.KeyValue {
return HTTPResponseBodySizeKey.Int(val)
}
+// HTTPResponseSize returns an attribute KeyValue conforming to the
+// "http.response.size" semantic conventions. It represents the total size of
+// the response in bytes. This should be the total number of bytes sent over
+// the wire, including the status line (HTTP/1.1), framing (HTTP/2 and HTTP/3),
+// headers, and response body and trailers if any.
+func HTTPResponseSize(val int) attribute.KeyValue {
+ return HTTPResponseSizeKey.Int(val)
+}
+
// HTTPResponseStatusCode returns an attribute KeyValue conforming to the
// "http.response.status_code" semantic conventions. It represents the [HTTP
// response status code](https://tools.ietf.org/html/rfc7231#section-6).
@@ -2391,6 +4667,383 @@ func HTTPRoute(val string) attribute.KeyValue {
return HTTPRouteKey.String(val)
}
+// Kubernetes resource attributes.
+const (
+ // K8SClusterNameKey is the attribute Key conforming to the
+ // "k8s.cluster.name" semantic conventions. It represents the name of the
+ // cluster.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry-cluster'
+ K8SClusterNameKey = attribute.Key("k8s.cluster.name")
+
+ // K8SClusterUIDKey is the attribute Key conforming to the
+ // "k8s.cluster.uid" semantic conventions. It represents a pseudo-ID for
+ // the cluster, set to the UID of the `kube-system` namespace.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '218fc5a9-a5f1-4b54-aa05-46717d0ab26d'
+ // Note: K8S doesn't have support for obtaining a cluster ID. If this is
+ // ever
+ // added, we will recommend collecting the `k8s.cluster.uid` through the
+ // official APIs. In the meantime, we are able to use the `uid` of the
+ // `kube-system` namespace as a proxy for cluster ID. Read on for the
+ // rationale.
+ //
+ // Every object created in a K8S cluster is assigned a distinct UID. The
+ // `kube-system` namespace is used by Kubernetes itself and will exist
+ // for the lifetime of the cluster. Using the `uid` of the `kube-system`
+ // namespace is a reasonable proxy for the K8S ClusterID as it will only
+ // change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are
+ // UUIDs as standardized by
+ // [ISO/IEC 9834-8 and ITU-T
+ // X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html).
+ // Which states:
+ //
+ // > If generated according to one of the mechanisms defined in Rec.
+ // ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be
+ // different from all other UUIDs generated before 3603 A.D., or is
+ // extremely likely to be different (depending on the mechanism chosen).
+ //
+ // Therefore, UIDs between clusters should be extremely unlikely to
+ // conflict.
+ K8SClusterUIDKey = attribute.Key("k8s.cluster.uid")
+
+ // K8SContainerNameKey is the attribute Key conforming to the
+ // "k8s.container.name" semantic conventions. It represents the name of the
+ // Container from Pod specification, must be unique within a Pod. Container
+ // runtime usually uses different globally unique name (`container.name`).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'redis'
+ K8SContainerNameKey = attribute.Key("k8s.container.name")
+
+ // K8SContainerRestartCountKey is the attribute Key conforming to the
+ // "k8s.container.restart_count" semantic conventions. It represents the
+ // number of times the container was restarted. This attribute can be used
+ // to identify a particular container (running or stopped) within a
+ // container spec.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 0, 2
+ K8SContainerRestartCountKey = attribute.Key("k8s.container.restart_count")
+
+ // K8SCronJobNameKey is the attribute Key conforming to the
+ // "k8s.cronjob.name" semantic conventions. It represents the name of the
+ // CronJob.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry'
+ K8SCronJobNameKey = attribute.Key("k8s.cronjob.name")
+
+ // K8SCronJobUIDKey is the attribute Key conforming to the
+ // "k8s.cronjob.uid" semantic conventions. It represents the UID of the
+ // CronJob.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SCronJobUIDKey = attribute.Key("k8s.cronjob.uid")
+
+ // K8SDaemonSetNameKey is the attribute Key conforming to the
+ // "k8s.daemonset.name" semantic conventions. It represents the name of the
+ // DaemonSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry'
+ K8SDaemonSetNameKey = attribute.Key("k8s.daemonset.name")
+
+ // K8SDaemonSetUIDKey is the attribute Key conforming to the
+ // "k8s.daemonset.uid" semantic conventions. It represents the UID of the
+ // DaemonSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SDaemonSetUIDKey = attribute.Key("k8s.daemonset.uid")
+
+ // K8SDeploymentNameKey is the attribute Key conforming to the
+ // "k8s.deployment.name" semantic conventions. It represents the name of
+ // the Deployment.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry'
+ K8SDeploymentNameKey = attribute.Key("k8s.deployment.name")
+
+ // K8SDeploymentUIDKey is the attribute Key conforming to the
+ // "k8s.deployment.uid" semantic conventions. It represents the UID of the
+ // Deployment.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SDeploymentUIDKey = attribute.Key("k8s.deployment.uid")
+
+ // K8SJobNameKey is the attribute Key conforming to the "k8s.job.name"
+ // semantic conventions. It represents the name of the Job.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry'
+ K8SJobNameKey = attribute.Key("k8s.job.name")
+
+ // K8SJobUIDKey is the attribute Key conforming to the "k8s.job.uid"
+ // semantic conventions. It represents the UID of the Job.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SJobUIDKey = attribute.Key("k8s.job.uid")
+
+ // K8SNamespaceNameKey is the attribute Key conforming to the
+ // "k8s.namespace.name" semantic conventions. It represents the name of the
+ // namespace that the pod is running in.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'default'
+ K8SNamespaceNameKey = attribute.Key("k8s.namespace.name")
+
+ // K8SNodeNameKey is the attribute Key conforming to the "k8s.node.name"
+ // semantic conventions. It represents the name of the Node.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'node-1'
+ K8SNodeNameKey = attribute.Key("k8s.node.name")
+
+ // K8SNodeUIDKey is the attribute Key conforming to the "k8s.node.uid"
+ // semantic conventions. It represents the UID of the Node.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2'
+ K8SNodeUIDKey = attribute.Key("k8s.node.uid")
+
+ // K8SPodNameKey is the attribute Key conforming to the "k8s.pod.name"
+ // semantic conventions. It represents the name of the Pod.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry-pod-autoconf'
+ K8SPodNameKey = attribute.Key("k8s.pod.name")
+
+ // K8SPodUIDKey is the attribute Key conforming to the "k8s.pod.uid"
+ // semantic conventions. It represents the UID of the Pod.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SPodUIDKey = attribute.Key("k8s.pod.uid")
+
+ // K8SReplicaSetNameKey is the attribute Key conforming to the
+ // "k8s.replicaset.name" semantic conventions. It represents the name of
+ // the ReplicaSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry'
+ K8SReplicaSetNameKey = attribute.Key("k8s.replicaset.name")
+
+ // K8SReplicaSetUIDKey is the attribute Key conforming to the
+ // "k8s.replicaset.uid" semantic conventions. It represents the UID of the
+ // ReplicaSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SReplicaSetUIDKey = attribute.Key("k8s.replicaset.uid")
+
+ // K8SStatefulSetNameKey is the attribute Key conforming to the
+ // "k8s.statefulset.name" semantic conventions. It represents the name of
+ // the StatefulSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry'
+ K8SStatefulSetNameKey = attribute.Key("k8s.statefulset.name")
+
+ // K8SStatefulSetUIDKey is the attribute Key conforming to the
+ // "k8s.statefulset.uid" semantic conventions. It represents the UID of the
+ // StatefulSet.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '275ecb36-5aa8-4c2a-9c47-d8bb681b9aff'
+ K8SStatefulSetUIDKey = attribute.Key("k8s.statefulset.uid")
+)
+
+// K8SClusterName returns an attribute KeyValue conforming to the
+// "k8s.cluster.name" semantic conventions. It represents the name of the
+// cluster.
+func K8SClusterName(val string) attribute.KeyValue {
+ return K8SClusterNameKey.String(val)
+}
+
+// K8SClusterUID returns an attribute KeyValue conforming to the
+// "k8s.cluster.uid" semantic conventions. It represents a pseudo-ID for the
+// cluster, set to the UID of the `kube-system` namespace.
+func K8SClusterUID(val string) attribute.KeyValue {
+ return K8SClusterUIDKey.String(val)
+}
+
+// K8SContainerName returns an attribute KeyValue conforming to the
+// "k8s.container.name" semantic conventions. It represents the name of the
+// Container from Pod specification, must be unique within a Pod. Container
+// runtime usually uses different globally unique name (`container.name`).
+func K8SContainerName(val string) attribute.KeyValue {
+ return K8SContainerNameKey.String(val)
+}
+
+// K8SContainerRestartCount returns an attribute KeyValue conforming to the
+// "k8s.container.restart_count" semantic conventions. It represents the number
+// of times the container was restarted. This attribute can be used to identify
+// a particular container (running or stopped) within a container spec.
+func K8SContainerRestartCount(val int) attribute.KeyValue {
+ return K8SContainerRestartCountKey.Int(val)
+}
+
+// K8SCronJobName returns an attribute KeyValue conforming to the
+// "k8s.cronjob.name" semantic conventions. It represents the name of the
+// CronJob.
+func K8SCronJobName(val string) attribute.KeyValue {
+ return K8SCronJobNameKey.String(val)
+}
+
+// K8SCronJobUID returns an attribute KeyValue conforming to the
+// "k8s.cronjob.uid" semantic conventions. It represents the UID of the
+// CronJob.
+func K8SCronJobUID(val string) attribute.KeyValue {
+ return K8SCronJobUIDKey.String(val)
+}
+
+// K8SDaemonSetName returns an attribute KeyValue conforming to the
+// "k8s.daemonset.name" semantic conventions. It represents the name of the
+// DaemonSet.
+func K8SDaemonSetName(val string) attribute.KeyValue {
+ return K8SDaemonSetNameKey.String(val)
+}
+
+// K8SDaemonSetUID returns an attribute KeyValue conforming to the
+// "k8s.daemonset.uid" semantic conventions. It represents the UID of the
+// DaemonSet.
+func K8SDaemonSetUID(val string) attribute.KeyValue {
+ return K8SDaemonSetUIDKey.String(val)
+}
+
+// K8SDeploymentName returns an attribute KeyValue conforming to the
+// "k8s.deployment.name" semantic conventions. It represents the name of the
+// Deployment.
+func K8SDeploymentName(val string) attribute.KeyValue {
+ return K8SDeploymentNameKey.String(val)
+}
+
+// K8SDeploymentUID returns an attribute KeyValue conforming to the
+// "k8s.deployment.uid" semantic conventions. It represents the UID of the
+// Deployment.
+func K8SDeploymentUID(val string) attribute.KeyValue {
+ return K8SDeploymentUIDKey.String(val)
+}
+
+// K8SJobName returns an attribute KeyValue conforming to the "k8s.job.name"
+// semantic conventions. It represents the name of the Job.
+func K8SJobName(val string) attribute.KeyValue {
+ return K8SJobNameKey.String(val)
+}
+
+// K8SJobUID returns an attribute KeyValue conforming to the "k8s.job.uid"
+// semantic conventions. It represents the UID of the Job.
+func K8SJobUID(val string) attribute.KeyValue {
+ return K8SJobUIDKey.String(val)
+}
+
+// K8SNamespaceName returns an attribute KeyValue conforming to the
+// "k8s.namespace.name" semantic conventions. It represents the name of the
+// namespace that the pod is running in.
+func K8SNamespaceName(val string) attribute.KeyValue {
+ return K8SNamespaceNameKey.String(val)
+}
+
+// K8SNodeName returns an attribute KeyValue conforming to the
+// "k8s.node.name" semantic conventions. It represents the name of the Node.
+func K8SNodeName(val string) attribute.KeyValue {
+ return K8SNodeNameKey.String(val)
+}
+
+// K8SNodeUID returns an attribute KeyValue conforming to the "k8s.node.uid"
+// semantic conventions. It represents the UID of the Node.
+func K8SNodeUID(val string) attribute.KeyValue {
+ return K8SNodeUIDKey.String(val)
+}
+
+// K8SPodName returns an attribute KeyValue conforming to the "k8s.pod.name"
+// semantic conventions. It represents the name of the Pod.
+func K8SPodName(val string) attribute.KeyValue {
+ return K8SPodNameKey.String(val)
+}
+
+// K8SPodUID returns an attribute KeyValue conforming to the "k8s.pod.uid"
+// semantic conventions. It represents the UID of the Pod.
+func K8SPodUID(val string) attribute.KeyValue {
+ return K8SPodUIDKey.String(val)
+}
+
+// K8SReplicaSetName returns an attribute KeyValue conforming to the
+// "k8s.replicaset.name" semantic conventions. It represents the name of the
+// ReplicaSet.
+func K8SReplicaSetName(val string) attribute.KeyValue {
+ return K8SReplicaSetNameKey.String(val)
+}
+
+// K8SReplicaSetUID returns an attribute KeyValue conforming to the
+// "k8s.replicaset.uid" semantic conventions. It represents the UID of the
+// ReplicaSet.
+func K8SReplicaSetUID(val string) attribute.KeyValue {
+ return K8SReplicaSetUIDKey.String(val)
+}
+
+// K8SStatefulSetName returns an attribute KeyValue conforming to the
+// "k8s.statefulset.name" semantic conventions. It represents the name of the
+// StatefulSet.
+func K8SStatefulSetName(val string) attribute.KeyValue {
+ return K8SStatefulSetNameKey.String(val)
+}
+
+// K8SStatefulSetUID returns an attribute KeyValue conforming to the
+// "k8s.statefulset.uid" semantic conventions. It represents the UID of the
+// StatefulSet.
+func K8SStatefulSetUID(val string) attribute.KeyValue {
+ return K8SStatefulSetUIDKey.String(val)
+}
+
// Attributes describing telemetry around messaging systems and messaging
// activities.
const (
@@ -2444,6 +5097,17 @@ const (
// uniquely identify the broker.
MessagingDestinationNameKey = attribute.Key("messaging.destination.name")
+ // MessagingDestinationPartitionIDKey is the attribute Key conforming to
+ // the "messaging.destination.partition.id" semantic conventions. It
+ // represents the identifier of the partition messages are sent to or
+ // received from, unique within the `messaging.destination.name`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '1'
+ MessagingDestinationPartitionIDKey = attribute.Key("messaging.destination.partition.id")
+
// MessagingDestinationTemplateKey is the attribute Key conforming to the
// "messaging.destination.template" semantic conventions. It represents the
// low cardinality representation of the messaging destination name
@@ -2494,6 +5158,28 @@ const (
// SHOULD uniquely identify the broker.
MessagingDestinationPublishNameKey = attribute.Key("messaging.destination_publish.name")
+ // MessagingEventhubsConsumerGroupKey is the attribute Key conforming to
+ // the "messaging.eventhubs.consumer.group" semantic conventions. It
+ // represents the name of the consumer group the event consumer is
+ // associated with.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'indexer'
+ MessagingEventhubsConsumerGroupKey = attribute.Key("messaging.eventhubs.consumer.group")
+
+ // MessagingEventhubsMessageEnqueuedTimeKey is the attribute Key conforming
+ // to the "messaging.eventhubs.message.enqueued_time" semantic conventions.
+ // It represents the UTC epoch seconds at which the message has been
+ // accepted and stored in the entity.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1701393730
+ MessagingEventhubsMessageEnqueuedTimeKey = attribute.Key("messaging.eventhubs.message.enqueued_time")
+
// MessagingGCPPubsubMessageOrderingKeyKey is the attribute Key conforming
// to the "messaging.gcp_pubsub.message.ordering_key" semantic conventions.
// It represents the ordering key for a given message. If the attribute is
@@ -2516,16 +5202,6 @@ const (
// Examples: 'my-group'
MessagingKafkaConsumerGroupKey = attribute.Key("messaging.kafka.consumer.group")
- // MessagingKafkaDestinationPartitionKey is the attribute Key conforming to
- // the "messaging.kafka.destination.partition" semantic conventions. It
- // represents the partition the message is sent to.
- //
- // Type: int
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: 2
- MessagingKafkaDestinationPartitionKey = attribute.Key("messaging.kafka.destination.partition")
-
// MessagingKafkaMessageKeyKey is the attribute Key conforming to the
// "messaging.kafka.message.key" semantic conventions. It represents the
// message keys in Kafka are used for grouping alike messages to ensure
@@ -2629,6 +5305,16 @@ const (
// Examples: 'myKey'
MessagingRabbitmqDestinationRoutingKeyKey = attribute.Key("messaging.rabbitmq.destination.routing_key")
+ // MessagingRabbitmqMessageDeliveryTagKey is the attribute Key conforming
+ // to the "messaging.rabbitmq.message.delivery_tag" semantic conventions.
+ // It represents the rabbitMQ message delivery tag
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 123
+ MessagingRabbitmqMessageDeliveryTagKey = attribute.Key("messaging.rabbitmq.message.delivery_tag")
+
// MessagingRocketmqClientGroupKey is the attribute Key conforming to the
// "messaging.rocketmq.client_group" semantic conventions. It represents
// the name of the RocketMQ producer/consumer group that is handling the
@@ -2724,6 +5410,49 @@ const (
// Examples: 'myNamespace'
MessagingRocketmqNamespaceKey = attribute.Key("messaging.rocketmq.namespace")
+ // MessagingServicebusDestinationSubscriptionNameKey is the attribute Key
+ // conforming to the "messaging.servicebus.destination.subscription_name"
+ // semantic conventions. It represents the name of the subscription in the
+ // topic messages are received from.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'mySubscription'
+ MessagingServicebusDestinationSubscriptionNameKey = attribute.Key("messaging.servicebus.destination.subscription_name")
+
+ // MessagingServicebusDispositionStatusKey is the attribute Key conforming
+ // to the "messaging.servicebus.disposition_status" semantic conventions.
+ // It represents the describes the [settlement
+ // type](https://learn.microsoft.com/azure/service-bus-messaging/message-transfers-locks-settlement#peeklock).
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ MessagingServicebusDispositionStatusKey = attribute.Key("messaging.servicebus.disposition_status")
+
+ // MessagingServicebusMessageDeliveryCountKey is the attribute Key
+ // conforming to the "messaging.servicebus.message.delivery_count" semantic
+ // conventions. It represents the number of deliveries that have been
+ // attempted for this message.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 2
+ MessagingServicebusMessageDeliveryCountKey = attribute.Key("messaging.servicebus.message.delivery_count")
+
+ // MessagingServicebusMessageEnqueuedTimeKey is the attribute Key
+ // conforming to the "messaging.servicebus.message.enqueued_time" semantic
+ // conventions. It represents the UTC epoch seconds at which the message
+ // has been accepted and stored in the entity.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1701393730
+ MessagingServicebusMessageEnqueuedTimeKey = attribute.Key("messaging.servicebus.message.enqueued_time")
+
// MessagingSystemKey is the attribute Key conforming to the
// "messaging.system" semantic conventions. It represents an identifier for
// the messaging system being used. See below for a list of well-known
@@ -2742,8 +5471,10 @@ var (
MessagingOperationCreate = MessagingOperationKey.String("create")
// One or more messages are requested by a consumer. This operation refers to pull-based scenarios, where consumers explicitly call methods of messaging SDKs to receive messages
MessagingOperationReceive = MessagingOperationKey.String("receive")
- // One or more messages are passed to a consumer. This operation refers to push-based scenarios, where consumer register callbacks which get called by messaging SDKs
- MessagingOperationDeliver = MessagingOperationKey.String("deliver")
+ // One or more messages are delivered to or processed by a consumer
+ MessagingOperationDeliver = MessagingOperationKey.String("process")
+ // One or more messages are settled
+ MessagingOperationSettle = MessagingOperationKey.String("settle")
)
var (
@@ -2764,17 +5495,28 @@ var (
MessagingRocketmqMessageTypeTransaction = MessagingRocketmqMessageTypeKey.String("transaction")
)
+var (
+ // Message is completed
+ MessagingServicebusDispositionStatusComplete = MessagingServicebusDispositionStatusKey.String("complete")
+ // Message is abandoned
+ MessagingServicebusDispositionStatusAbandon = MessagingServicebusDispositionStatusKey.String("abandon")
+ // Message is sent to dead letter queue
+ MessagingServicebusDispositionStatusDeadLetter = MessagingServicebusDispositionStatusKey.String("dead_letter")
+ // Message is deferred
+ MessagingServicebusDispositionStatusDefer = MessagingServicebusDispositionStatusKey.String("defer")
+)
+
var (
// Apache ActiveMQ
MessagingSystemActivemq = MessagingSystemKey.String("activemq")
// Amazon Simple Queue Service (SQS)
MessagingSystemAWSSqs = MessagingSystemKey.String("aws_sqs")
// Azure Event Grid
- MessagingSystemAzureEventgrid = MessagingSystemKey.String("azure_eventgrid")
+ MessagingSystemEventgrid = MessagingSystemKey.String("eventgrid")
// Azure Event Hubs
- MessagingSystemAzureEventhubs = MessagingSystemKey.String("azure_eventhubs")
+ MessagingSystemEventhubs = MessagingSystemKey.String("eventhubs")
// Azure Service Bus
- MessagingSystemAzureServicebus = MessagingSystemKey.String("azure_servicebus")
+ MessagingSystemServicebus = MessagingSystemKey.String("servicebus")
// Google Cloud Pub/Sub
MessagingSystemGCPPubsub = MessagingSystemKey.String("gcp_pubsub")
// Java Message Service
@@ -2817,6 +5559,14 @@ func MessagingDestinationName(val string) attribute.KeyValue {
return MessagingDestinationNameKey.String(val)
}
+// MessagingDestinationPartitionID returns an attribute KeyValue conforming
+// to the "messaging.destination.partition.id" semantic conventions. It
+// represents the identifier of the partition messages are sent to or received
+// from, unique within the `messaging.destination.name`.
+func MessagingDestinationPartitionID(val string) attribute.KeyValue {
+ return MessagingDestinationPartitionIDKey.String(val)
+}
+
// MessagingDestinationTemplate returns an attribute KeyValue conforming to
// the "messaging.destination.template" semantic conventions. It represents the
// low cardinality representation of the messaging destination name
@@ -2847,6 +5597,22 @@ func MessagingDestinationPublishName(val string) attribute.KeyValue {
return MessagingDestinationPublishNameKey.String(val)
}
+// MessagingEventhubsConsumerGroup returns an attribute KeyValue conforming
+// to the "messaging.eventhubs.consumer.group" semantic conventions. It
+// represents the name of the consumer group the event consumer is associated
+// with.
+func MessagingEventhubsConsumerGroup(val string) attribute.KeyValue {
+ return MessagingEventhubsConsumerGroupKey.String(val)
+}
+
+// MessagingEventhubsMessageEnqueuedTime returns an attribute KeyValue
+// conforming to the "messaging.eventhubs.message.enqueued_time" semantic
+// conventions. It represents the UTC epoch seconds at which the message has
+// been accepted and stored in the entity.
+func MessagingEventhubsMessageEnqueuedTime(val int) attribute.KeyValue {
+ return MessagingEventhubsMessageEnqueuedTimeKey.Int(val)
+}
+
// MessagingGCPPubsubMessageOrderingKey returns an attribute KeyValue
// conforming to the "messaging.gcp_pubsub.message.ordering_key" semantic
// conventions. It represents the ordering key for a given message. If the
@@ -2863,13 +5629,6 @@ func MessagingKafkaConsumerGroup(val string) attribute.KeyValue {
return MessagingKafkaConsumerGroupKey.String(val)
}
-// MessagingKafkaDestinationPartition returns an attribute KeyValue
-// conforming to the "messaging.kafka.destination.partition" semantic
-// conventions. It represents the partition the message is sent to.
-func MessagingKafkaDestinationPartition(val int) attribute.KeyValue {
- return MessagingKafkaDestinationPartitionKey.Int(val)
-}
-
// MessagingKafkaMessageKey returns an attribute KeyValue conforming to the
// "messaging.kafka.message.key" semantic conventions. It represents the
// message keys in Kafka are used for grouping alike messages to ensure they're
@@ -2931,6 +5690,13 @@ func MessagingRabbitmqDestinationRoutingKey(val string) attribute.KeyValue {
return MessagingRabbitmqDestinationRoutingKeyKey.String(val)
}
+// MessagingRabbitmqMessageDeliveryTag returns an attribute KeyValue
+// conforming to the "messaging.rabbitmq.message.delivery_tag" semantic
+// conventions. It represents the rabbitMQ message delivery tag
+func MessagingRabbitmqMessageDeliveryTag(val int) attribute.KeyValue {
+ return MessagingRabbitmqMessageDeliveryTagKey.Int(val)
+}
+
// MessagingRocketmqClientGroup returns an attribute KeyValue conforming to
// the "messaging.rocketmq.client_group" semantic conventions. It represents
// the name of the RocketMQ producer/consumer group that is handling the
@@ -2986,6 +5752,31 @@ func MessagingRocketmqNamespace(val string) attribute.KeyValue {
return MessagingRocketmqNamespaceKey.String(val)
}
+// MessagingServicebusDestinationSubscriptionName returns an attribute
+// KeyValue conforming to the
+// "messaging.servicebus.destination.subscription_name" semantic conventions.
+// It represents the name of the subscription in the topic messages are
+// received from.
+func MessagingServicebusDestinationSubscriptionName(val string) attribute.KeyValue {
+ return MessagingServicebusDestinationSubscriptionNameKey.String(val)
+}
+
+// MessagingServicebusMessageDeliveryCount returns an attribute KeyValue
+// conforming to the "messaging.servicebus.message.delivery_count" semantic
+// conventions. It represents the number of deliveries that have been attempted
+// for this message.
+func MessagingServicebusMessageDeliveryCount(val int) attribute.KeyValue {
+ return MessagingServicebusMessageDeliveryCountKey.Int(val)
+}
+
+// MessagingServicebusMessageEnqueuedTime returns an attribute KeyValue
+// conforming to the "messaging.servicebus.message.enqueued_time" semantic
+// conventions. It represents the UTC epoch seconds at which the message has
+// been accepted and stored in the entity.
+func MessagingServicebusMessageEnqueuedTime(val int) attribute.KeyValue {
+ return MessagingServicebusMessageEnqueuedTimeKey.Int(val)
+}
+
// These attributes may be used for any network related operation.
const (
// NetworkCarrierIccKey is the attribute Key conforming to the
@@ -3117,16 +5908,16 @@ const (
// NetworkProtocolVersionKey is the attribute Key conforming to the
// "network.protocol.version" semantic conventions. It represents the
- // version of the protocol specified in `network.protocol.name`.
+ // actual version of the protocol used for network communication.
//
// Type: string
// RequirementLevel: Optional
// Stability: stable
- // Examples: '3.1.1'
- // Note: `network.protocol.version` refers to the version of the protocol
- // used and might be different from the protocol client's version. If the
- // HTTP client has a version of `0.27.2`, but sends HTTP version `1.1`,
- // this attribute should be set to `1.1`.
+ // Examples: '1.1', '2'
+ // Note: If protocol version is subject to negotiation (for example using
+ // [ALPN](https://www.rfc-editor.org/rfc/rfc7301.html)), this attribute
+ // SHOULD be set to the negotiated version. If the actual protocol version
+ // is not known, this attribute SHOULD NOT be set.
NetworkProtocolVersionKey = attribute.Key("network.protocol.version")
// NetworkTransportKey is the attribute Key conforming to the
@@ -3307,12 +6098,369 @@ func NetworkProtocolName(val string) attribute.KeyValue {
}
// NetworkProtocolVersion returns an attribute KeyValue conforming to the
-// "network.protocol.version" semantic conventions. It represents the version
-// of the protocol specified in `network.protocol.name`.
+// "network.protocol.version" semantic conventions. It represents the actual
+// version of the protocol used for network communication.
func NetworkProtocolVersion(val string) attribute.KeyValue {
return NetworkProtocolVersionKey.String(val)
}
+// An OCI image manifest.
+const (
+ // OciManifestDigestKey is the attribute Key conforming to the
+ // "oci.manifest.digest" semantic conventions. It represents the digest of
+ // the OCI image manifest. For container images specifically is the digest
+ // by which the container image is known.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'sha256:e4ca62c0d62f3e886e684806dfe9d4e0cda60d54986898173c1083856cfda0f4'
+ // Note: Follows [OCI Image Manifest
+ // Specification](https://github.com/opencontainers/image-spec/blob/main/manifest.md),
+ // and specifically the [Digest
+ // property](https://github.com/opencontainers/image-spec/blob/main/descriptor.md#digests).
+ // An example can be found in [Example Image
+ // Manifest](https://docs.docker.com/registry/spec/manifest-v2-2/#example-image-manifest).
+ OciManifestDigestKey = attribute.Key("oci.manifest.digest")
+)
+
+// OciManifestDigest returns an attribute KeyValue conforming to the
+// "oci.manifest.digest" semantic conventions. It represents the digest of the
+// OCI image manifest. For container images specifically is the digest by which
+// the container image is known.
+func OciManifestDigest(val string) attribute.KeyValue {
+ return OciManifestDigestKey.String(val)
+}
+
+// The operating system (OS) on which the process represented by this resource
+// is running.
+const (
+ // OSBuildIDKey is the attribute Key conforming to the "os.build_id"
+ // semantic conventions. It represents the unique identifier for a
+ // particular build or compilation of the operating system.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'TQ3C.230805.001.B2', '20E247', '22621'
+ OSBuildIDKey = attribute.Key("os.build_id")
+
+ // OSDescriptionKey is the attribute Key conforming to the "os.description"
+ // semantic conventions. It represents the human readable (not intended to
+ // be parsed) OS version information, like e.g. reported by `ver` or
+ // `lsb_release -a` commands.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Microsoft Windows [Version 10.0.18363.778]', 'Ubuntu 18.04.1
+ // LTS'
+ OSDescriptionKey = attribute.Key("os.description")
+
+ // OSNameKey is the attribute Key conforming to the "os.name" semantic
+ // conventions. It represents the human readable operating system name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'iOS', 'Android', 'Ubuntu'
+ OSNameKey = attribute.Key("os.name")
+
+ // OSTypeKey is the attribute Key conforming to the "os.type" semantic
+ // conventions. It represents the operating system type.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ OSTypeKey = attribute.Key("os.type")
+
+ // OSVersionKey is the attribute Key conforming to the "os.version"
+ // semantic conventions. It represents the version string of the operating
+ // system as defined in [Version
+ // Attributes](/docs/resource/README.md#version-attributes).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '14.2.1', '18.04.1'
+ OSVersionKey = attribute.Key("os.version")
+)
+
+var (
+ // Microsoft Windows
+ OSTypeWindows = OSTypeKey.String("windows")
+ // Linux
+ OSTypeLinux = OSTypeKey.String("linux")
+ // Apple Darwin
+ OSTypeDarwin = OSTypeKey.String("darwin")
+ // FreeBSD
+ OSTypeFreeBSD = OSTypeKey.String("freebsd")
+ // NetBSD
+ OSTypeNetBSD = OSTypeKey.String("netbsd")
+ // OpenBSD
+ OSTypeOpenBSD = OSTypeKey.String("openbsd")
+ // DragonFly BSD
+ OSTypeDragonflyBSD = OSTypeKey.String("dragonflybsd")
+ // HP-UX (Hewlett Packard Unix)
+ OSTypeHPUX = OSTypeKey.String("hpux")
+ // AIX (Advanced Interactive eXecutive)
+ OSTypeAIX = OSTypeKey.String("aix")
+ // SunOS, Oracle Solaris
+ OSTypeSolaris = OSTypeKey.String("solaris")
+ // IBM z/OS
+ OSTypeZOS = OSTypeKey.String("z_os")
+)
+
+// OSBuildID returns an attribute KeyValue conforming to the "os.build_id"
+// semantic conventions. It represents the unique identifier for a particular
+// build or compilation of the operating system.
+func OSBuildID(val string) attribute.KeyValue {
+ return OSBuildIDKey.String(val)
+}
+
+// OSDescription returns an attribute KeyValue conforming to the
+// "os.description" semantic conventions. It represents the human readable (not
+// intended to be parsed) OS version information, like e.g. reported by `ver`
+// or `lsb_release -a` commands.
+func OSDescription(val string) attribute.KeyValue {
+ return OSDescriptionKey.String(val)
+}
+
+// OSName returns an attribute KeyValue conforming to the "os.name" semantic
+// conventions. It represents the human readable operating system name.
+func OSName(val string) attribute.KeyValue {
+ return OSNameKey.String(val)
+}
+
+// OSVersion returns an attribute KeyValue conforming to the "os.version"
+// semantic conventions. It represents the version string of the operating
+// system as defined in [Version
+// Attributes](/docs/resource/README.md#version-attributes).
+func OSVersion(val string) attribute.KeyValue {
+ return OSVersionKey.String(val)
+}
+
+// An operating system process.
+const (
+ // ProcessCommandKey is the attribute Key conforming to the
+ // "process.command" semantic conventions. It represents the command used
+ // to launch the process (i.e. the command name). On Linux based systems,
+ // can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can
+ // be set to the first parameter extracted from `GetCommandLineW`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'cmd/otelcol'
+ ProcessCommandKey = attribute.Key("process.command")
+
+ // ProcessCommandArgsKey is the attribute Key conforming to the
+ // "process.command_args" semantic conventions. It represents the all the
+ // command arguments (including the command/executable itself) as received
+ // by the process. On Linux-based systems (and some other Unixoid systems
+ // supporting procfs), can be set according to the list of null-delimited
+ // strings extracted from `proc/[pid]/cmdline`. For libc-based executables,
+ // this would be the full argv vector passed to `main`.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'cmd/otecol', '--config=config.yaml'
+ ProcessCommandArgsKey = attribute.Key("process.command_args")
+
+ // ProcessCommandLineKey is the attribute Key conforming to the
+ // "process.command_line" semantic conventions. It represents the full
+ // command used to launch the process as a single string representing the
+ // full command. On Windows, can be set to the result of `GetCommandLineW`.
+ // Do not set this if you have to assemble it just for monitoring; use
+ // `process.command_args` instead.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'C:\\cmd\\otecol --config="my directory\\config.yaml"'
+ ProcessCommandLineKey = attribute.Key("process.command_line")
+
+ // ProcessExecutableNameKey is the attribute Key conforming to the
+ // "process.executable.name" semantic conventions. It represents the name
+ // of the process executable. On Linux based systems, can be set to the
+ // `Name` in `proc/[pid]/status`. On Windows, can be set to the base name
+ // of `GetProcessImageFileNameW`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'otelcol'
+ ProcessExecutableNameKey = attribute.Key("process.executable.name")
+
+ // ProcessExecutablePathKey is the attribute Key conforming to the
+ // "process.executable.path" semantic conventions. It represents the full
+ // path to the process executable. On Linux based systems, can be set to
+ // the target of `proc/[pid]/exe`. On Windows, can be set to the result of
+ // `GetProcessImageFileNameW`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '/usr/bin/cmd/otelcol'
+ ProcessExecutablePathKey = attribute.Key("process.executable.path")
+
+ // ProcessOwnerKey is the attribute Key conforming to the "process.owner"
+ // semantic conventions. It represents the username of the user that owns
+ // the process.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'root'
+ ProcessOwnerKey = attribute.Key("process.owner")
+
+ // ProcessParentPIDKey is the attribute Key conforming to the
+ // "process.parent_pid" semantic conventions. It represents the parent
+ // Process identifier (PPID).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 111
+ ProcessParentPIDKey = attribute.Key("process.parent_pid")
+
+ // ProcessPIDKey is the attribute Key conforming to the "process.pid"
+ // semantic conventions. It represents the process identifier (PID).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 1234
+ ProcessPIDKey = attribute.Key("process.pid")
+
+ // ProcessRuntimeDescriptionKey is the attribute Key conforming to the
+ // "process.runtime.description" semantic conventions. It represents an
+ // additional description about the runtime of the process, for example a
+ // specific vendor customization of the runtime environment.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Eclipse OpenJ9 Eclipse OpenJ9 VM openj9-0.21.0'
+ ProcessRuntimeDescriptionKey = attribute.Key("process.runtime.description")
+
+ // ProcessRuntimeNameKey is the attribute Key conforming to the
+ // "process.runtime.name" semantic conventions. It represents the name of
+ // the runtime of this process. For compiled native binaries, this SHOULD
+ // be the name of the compiler.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'OpenJDK Runtime Environment'
+ ProcessRuntimeNameKey = attribute.Key("process.runtime.name")
+
+ // ProcessRuntimeVersionKey is the attribute Key conforming to the
+ // "process.runtime.version" semantic conventions. It represents the
+ // version of the runtime of this process, as returned by the runtime
+ // without modification.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '14.0.2'
+ ProcessRuntimeVersionKey = attribute.Key("process.runtime.version")
+)
+
+// ProcessCommand returns an attribute KeyValue conforming to the
+// "process.command" semantic conventions. It represents the command used to
+// launch the process (i.e. the command name). On Linux based systems, can be
+// set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to
+// the first parameter extracted from `GetCommandLineW`.
+func ProcessCommand(val string) attribute.KeyValue {
+ return ProcessCommandKey.String(val)
+}
+
+// ProcessCommandArgs returns an attribute KeyValue conforming to the
+// "process.command_args" semantic conventions. It represents the all the
+// command arguments (including the command/executable itself) as received by
+// the process. On Linux-based systems (and some other Unixoid systems
+// supporting procfs), can be set according to the list of null-delimited
+// strings extracted from `proc/[pid]/cmdline`. For libc-based executables,
+// this would be the full argv vector passed to `main`.
+func ProcessCommandArgs(val ...string) attribute.KeyValue {
+ return ProcessCommandArgsKey.StringSlice(val)
+}
+
+// ProcessCommandLine returns an attribute KeyValue conforming to the
+// "process.command_line" semantic conventions. It represents the full command
+// used to launch the process as a single string representing the full command.
+// On Windows, can be set to the result of `GetCommandLineW`. Do not set this
+// if you have to assemble it just for monitoring; use `process.command_args`
+// instead.
+func ProcessCommandLine(val string) attribute.KeyValue {
+ return ProcessCommandLineKey.String(val)
+}
+
+// ProcessExecutableName returns an attribute KeyValue conforming to the
+// "process.executable.name" semantic conventions. It represents the name of
+// the process executable. On Linux based systems, can be set to the `Name` in
+// `proc/[pid]/status`. On Windows, can be set to the base name of
+// `GetProcessImageFileNameW`.
+func ProcessExecutableName(val string) attribute.KeyValue {
+ return ProcessExecutableNameKey.String(val)
+}
+
+// ProcessExecutablePath returns an attribute KeyValue conforming to the
+// "process.executable.path" semantic conventions. It represents the full path
+// to the process executable. On Linux based systems, can be set to the target
+// of `proc/[pid]/exe`. On Windows, can be set to the result of
+// `GetProcessImageFileNameW`.
+func ProcessExecutablePath(val string) attribute.KeyValue {
+ return ProcessExecutablePathKey.String(val)
+}
+
+// ProcessOwner returns an attribute KeyValue conforming to the
+// "process.owner" semantic conventions. It represents the username of the user
+// that owns the process.
+func ProcessOwner(val string) attribute.KeyValue {
+ return ProcessOwnerKey.String(val)
+}
+
+// ProcessParentPID returns an attribute KeyValue conforming to the
+// "process.parent_pid" semantic conventions. It represents the parent Process
+// identifier (PPID).
+func ProcessParentPID(val int) attribute.KeyValue {
+ return ProcessParentPIDKey.Int(val)
+}
+
+// ProcessPID returns an attribute KeyValue conforming to the "process.pid"
+// semantic conventions. It represents the process identifier (PID).
+func ProcessPID(val int) attribute.KeyValue {
+ return ProcessPIDKey.Int(val)
+}
+
+// ProcessRuntimeDescription returns an attribute KeyValue conforming to the
+// "process.runtime.description" semantic conventions. It represents an
+// additional description about the runtime of the process, for example a
+// specific vendor customization of the runtime environment.
+func ProcessRuntimeDescription(val string) attribute.KeyValue {
+ return ProcessRuntimeDescriptionKey.String(val)
+}
+
+// ProcessRuntimeName returns an attribute KeyValue conforming to the
+// "process.runtime.name" semantic conventions. It represents the name of the
+// runtime of this process. For compiled native binaries, this SHOULD be the
+// name of the compiler.
+func ProcessRuntimeName(val string) attribute.KeyValue {
+ return ProcessRuntimeNameKey.String(val)
+}
+
+// ProcessRuntimeVersion returns an attribute KeyValue conforming to the
+// "process.runtime.version" semantic conventions. It represents the version of
+// the runtime of this process, as returned by the runtime without
+// modification.
+func ProcessRuntimeVersion(val string) attribute.KeyValue {
+ return ProcessRuntimeVersionKey.String(val)
+}
+
// Attributes for remote procedure calls.
const (
// RPCConnectRPCErrorCodeKey is the attribute Key conforming to the
@@ -3602,6 +6750,180 @@ func ServerPort(val int) attribute.KeyValue {
return ServerPortKey.Int(val)
}
+// A service instance.
+const (
+ // ServiceInstanceIDKey is the attribute Key conforming to the
+ // "service.instance.id" semantic conventions. It represents the string ID
+ // of the service instance.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '627cc493-f310-47de-96bd-71410b7dec09'
+ // Note: MUST be unique for each instance of the same
+ // `service.namespace,service.name` pair (in other words
+ // `service.namespace,service.name,service.instance.id` triplet MUST be
+ // globally unique). The ID helps to
+ // distinguish instances of the same service that exist at the same time
+ // (e.g. instances of a horizontally scaled
+ // service).
+ //
+ // Implementations, such as SDKs, are recommended to generate a random
+ // Version 1 or Version 4 [RFC
+ // 4122](https://www.ietf.org/rfc/rfc4122.txt) UUID, but are free to use an
+ // inherent unique ID as the source of
+ // this value if stability is desirable. In that case, the ID SHOULD be
+ // used as source of a UUID Version 5 and
+ // SHOULD use the following UUID as the namespace:
+ // `4d63009a-8d0f-11ee-aad7-4c796ed8e320`.
+ //
+ // UUIDs are typically recommended, as only an opaque value for the
+ // purposes of identifying a service instance is
+ // needed. Similar to what can be seen in the man page for the
+ // [`/etc/machine-id`](https://www.freedesktop.org/software/systemd/man/machine-id.html)
+ // file, the underlying
+ // data, such as pod name and namespace should be treated as confidential,
+ // being the user's choice to expose it
+ // or not via another resource attribute.
+ //
+ // For applications running behind an application server (like unicorn), we
+ // do not recommend using one identifier
+ // for all processes participating in the application. Instead, it's
+ // recommended each division (e.g. a worker
+ // thread in unicorn) to have its own instance.id.
+ //
+ // It's not recommended for a Collector to set `service.instance.id` if it
+ // can't unambiguously determine the
+ // service instance that is generating that telemetry. For instance,
+ // creating an UUID based on `pod.name` will
+ // likely be wrong, as the Collector might not know from which container
+ // within that pod the telemetry originated.
+ // However, Collectors can set the `service.instance.id` if they can
+ // unambiguously determine the service instance
+ // for that telemetry. This is typically the case for scraping receivers,
+ // as they know the target address and
+ // port.
+ ServiceInstanceIDKey = attribute.Key("service.instance.id")
+
+ // ServiceNameKey is the attribute Key conforming to the "service.name"
+ // semantic conventions. It represents the logical name of the service.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'shoppingcart'
+ // Note: MUST be the same for all instances of horizontally scaled
+ // services. If the value was not specified, SDKs MUST fallback to
+ // `unknown_service:` concatenated with
+ // [`process.executable.name`](process.md#process), e.g.
+ // `unknown_service:bash`. If `process.executable.name` is not available,
+ // the value MUST be set to `unknown_service`.
+ ServiceNameKey = attribute.Key("service.name")
+
+ // ServiceNamespaceKey is the attribute Key conforming to the
+ // "service.namespace" semantic conventions. It represents a namespace for
+ // `service.name`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Shop'
+ // Note: A string value having a meaning that helps to distinguish a group
+ // of services, for example the team name that owns a group of services.
+ // `service.name` is expected to be unique within the same namespace. If
+ // `service.namespace` is not specified in the Resource then `service.name`
+ // is expected to be unique for all services that have no explicit
+ // namespace defined (so the empty/unspecified namespace is simply one more
+ // valid namespace). Zero-length namespace string is assumed equal to
+ // unspecified namespace.
+ ServiceNamespaceKey = attribute.Key("service.namespace")
+
+ // ServiceVersionKey is the attribute Key conforming to the
+ // "service.version" semantic conventions. It represents the version string
+ // of the service API or implementation. The format is not defined by these
+ // conventions.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '2.0.0', 'a01dbef8a'
+ ServiceVersionKey = attribute.Key("service.version")
+)
+
+// ServiceInstanceID returns an attribute KeyValue conforming to the
+// "service.instance.id" semantic conventions. It represents the string ID of
+// the service instance.
+func ServiceInstanceID(val string) attribute.KeyValue {
+ return ServiceInstanceIDKey.String(val)
+}
+
+// ServiceName returns an attribute KeyValue conforming to the
+// "service.name" semantic conventions. It represents the logical name of the
+// service.
+func ServiceName(val string) attribute.KeyValue {
+ return ServiceNameKey.String(val)
+}
+
+// ServiceNamespace returns an attribute KeyValue conforming to the
+// "service.namespace" semantic conventions. It represents a namespace for
+// `service.name`.
+func ServiceNamespace(val string) attribute.KeyValue {
+ return ServiceNamespaceKey.String(val)
+}
+
+// ServiceVersion returns an attribute KeyValue conforming to the
+// "service.version" semantic conventions. It represents the version string of
+// the service API or implementation. The format is not defined by these
+// conventions.
+func ServiceVersion(val string) attribute.KeyValue {
+ return ServiceVersionKey.String(val)
+}
+
+// Session is defined as the period of time encompassing all activities
+// performed by the application and the actions executed by the end user.
+// Consequently, a Session is represented as a collection of Logs, Events, and
+// Spans emitted by the Client Application throughout the Session's duration.
+// Each Session is assigned a unique identifier, which is included as an
+// attribute in the Logs, Events, and Spans generated during the Session's
+// lifecycle.
+// When a session reaches end of life, typically due to user inactivity or
+// session timeout, a new session identifier will be assigned. The previous
+// session identifier may be provided by the instrumentation so that telemetry
+// backends can link the two sessions.
+const (
+ // SessionIDKey is the attribute Key conforming to the "session.id"
+ // semantic conventions. It represents a unique id to identify a session.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '00112233-4455-6677-8899-aabbccddeeff'
+ SessionIDKey = attribute.Key("session.id")
+
+ // SessionPreviousIDKey is the attribute Key conforming to the
+ // "session.previous_id" semantic conventions. It represents the previous
+ // `session.id` for this user, when known.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '00112233-4455-6677-8899-aabbccddeeff'
+ SessionPreviousIDKey = attribute.Key("session.previous_id")
+)
+
+// SessionID returns an attribute KeyValue conforming to the "session.id"
+// semantic conventions. It represents a unique id to identify a session.
+func SessionID(val string) attribute.KeyValue {
+ return SessionIDKey.String(val)
+}
+
+// SessionPreviousID returns an attribute KeyValue conforming to the
+// "session.previous_id" semantic conventions. It represents the previous
+// `session.id` for this user, when known.
+func SessionPreviousID(val string) attribute.KeyValue {
+ return SessionPreviousIDKey.String(val)
+}
+
// These attributes may be used to describe the sender of a network
// exchange/packet. These should be used when there is no client/server
// relationship between the two sides, or when that relationship is unknown.
@@ -3650,6 +6972,165 @@ func SourcePort(val int) attribute.KeyValue {
return SourcePortKey.Int(val)
}
+// Attributes for telemetry SDK.
+const (
+ // TelemetrySDKLanguageKey is the attribute Key conforming to the
+ // "telemetry.sdk.language" semantic conventions. It represents the
+ // language of the telemetry SDK.
+ //
+ // Type: Enum
+ // RequirementLevel: Required
+ // Stability: stable
+ TelemetrySDKLanguageKey = attribute.Key("telemetry.sdk.language")
+
+ // TelemetrySDKNameKey is the attribute Key conforming to the
+ // "telemetry.sdk.name" semantic conventions. It represents the name of the
+ // telemetry SDK as defined above.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: 'opentelemetry'
+ // Note: The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute
+ // to `opentelemetry`.
+ // If another SDK, like a fork or a vendor-provided implementation, is
+ // used, this SDK MUST set the
+ // `telemetry.sdk.name` attribute to the fully-qualified class or module
+ // name of this SDK's main entry point
+ // or another suitable identifier depending on the language.
+ // The identifier `opentelemetry` is reserved and MUST NOT be used in this
+ // case.
+ // All custom identifiers SHOULD be stable across different versions of an
+ // implementation.
+ TelemetrySDKNameKey = attribute.Key("telemetry.sdk.name")
+
+ // TelemetrySDKVersionKey is the attribute Key conforming to the
+ // "telemetry.sdk.version" semantic conventions. It represents the version
+ // string of the telemetry SDK.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: stable
+ // Examples: '1.2.3'
+ TelemetrySDKVersionKey = attribute.Key("telemetry.sdk.version")
+
+ // TelemetryDistroNameKey is the attribute Key conforming to the
+ // "telemetry.distro.name" semantic conventions. It represents the name of
+ // the auto instrumentation agent or distribution, if used.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'parts-unlimited-java'
+ // Note: Official auto instrumentation agents and distributions SHOULD set
+ // the `telemetry.distro.name` attribute to
+ // a string starting with `opentelemetry-`, e.g.
+ // `opentelemetry-java-instrumentation`.
+ TelemetryDistroNameKey = attribute.Key("telemetry.distro.name")
+
+ // TelemetryDistroVersionKey is the attribute Key conforming to the
+ // "telemetry.distro.version" semantic conventions. It represents the
+ // version string of the auto instrumentation agent or distribution, if
+ // used.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '1.2.3'
+ TelemetryDistroVersionKey = attribute.Key("telemetry.distro.version")
+)
+
+var (
+ // cpp
+ TelemetrySDKLanguageCPP = TelemetrySDKLanguageKey.String("cpp")
+ // dotnet
+ TelemetrySDKLanguageDotnet = TelemetrySDKLanguageKey.String("dotnet")
+ // erlang
+ TelemetrySDKLanguageErlang = TelemetrySDKLanguageKey.String("erlang")
+ // go
+ TelemetrySDKLanguageGo = TelemetrySDKLanguageKey.String("go")
+ // java
+ TelemetrySDKLanguageJava = TelemetrySDKLanguageKey.String("java")
+ // nodejs
+ TelemetrySDKLanguageNodejs = TelemetrySDKLanguageKey.String("nodejs")
+ // php
+ TelemetrySDKLanguagePHP = TelemetrySDKLanguageKey.String("php")
+ // python
+ TelemetrySDKLanguagePython = TelemetrySDKLanguageKey.String("python")
+ // ruby
+ TelemetrySDKLanguageRuby = TelemetrySDKLanguageKey.String("ruby")
+ // rust
+ TelemetrySDKLanguageRust = TelemetrySDKLanguageKey.String("rust")
+ // swift
+ TelemetrySDKLanguageSwift = TelemetrySDKLanguageKey.String("swift")
+ // webjs
+ TelemetrySDKLanguageWebjs = TelemetrySDKLanguageKey.String("webjs")
+)
+
+// TelemetrySDKName returns an attribute KeyValue conforming to the
+// "telemetry.sdk.name" semantic conventions. It represents the name of the
+// telemetry SDK as defined above.
+func TelemetrySDKName(val string) attribute.KeyValue {
+ return TelemetrySDKNameKey.String(val)
+}
+
+// TelemetrySDKVersion returns an attribute KeyValue conforming to the
+// "telemetry.sdk.version" semantic conventions. It represents the version
+// string of the telemetry SDK.
+func TelemetrySDKVersion(val string) attribute.KeyValue {
+ return TelemetrySDKVersionKey.String(val)
+}
+
+// TelemetryDistroName returns an attribute KeyValue conforming to the
+// "telemetry.distro.name" semantic conventions. It represents the name of the
+// auto instrumentation agent or distribution, if used.
+func TelemetryDistroName(val string) attribute.KeyValue {
+ return TelemetryDistroNameKey.String(val)
+}
+
+// TelemetryDistroVersion returns an attribute KeyValue conforming to the
+// "telemetry.distro.version" semantic conventions. It represents the version
+// string of the auto instrumentation agent or distribution, if used.
+func TelemetryDistroVersion(val string) attribute.KeyValue {
+ return TelemetryDistroVersionKey.String(val)
+}
+
+// These attributes may be used for any operation to store information about a
+// thread that started a span.
+const (
+ // ThreadIDKey is the attribute Key conforming to the "thread.id" semantic
+ // conventions. It represents the current "managed" thread ID (as opposed
+ // to OS thread ID).
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 42
+ ThreadIDKey = attribute.Key("thread.id")
+
+ // ThreadNameKey is the attribute Key conforming to the "thread.name"
+ // semantic conventions. It represents the current thread name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'main'
+ ThreadNameKey = attribute.Key("thread.name")
+)
+
+// ThreadID returns an attribute KeyValue conforming to the "thread.id"
+// semantic conventions. It represents the current "managed" thread ID (as
+// opposed to OS thread ID).
+func ThreadID(val int) attribute.KeyValue {
+ return ThreadIDKey.Int(val)
+}
+
+// ThreadName returns an attribute KeyValue conforming to the "thread.name"
+// semantic conventions. It represents the current thread name.
+func ThreadName(val string) attribute.KeyValue {
+ return ThreadNameKey.String(val)
+}
+
// Semantic convention attributes in the TLS namespace.
const (
// TLSCipherKey is the attribute Key conforming to the "tls.cipher"
@@ -4224,6 +7705,37 @@ func TLSServerSubject(val string) attribute.KeyValue {
// Attributes describing URL.
const (
+ // URLDomainKey is the attribute Key conforming to the "url.domain"
+ // semantic conventions. It represents the domain extracted from the
+ // `url.full`, such as "opentelemetry.io".
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'www.foo.bar', 'opentelemetry.io', '3.12.167.2',
+ // '[1080:0:0:0:8:800:200C:417A]'
+ // Note: In some cases a URL may refer to an IP and/or port directly,
+ // without a domain name. In this case, the IP address would go to the
+ // domain field. If the URL contains a [literal IPv6
+ // address](https://www.rfc-editor.org/rfc/rfc2732#section-2) enclosed by
+ // `[` and `]`, the `[` and `]` characters should also be captured in the
+ // domain field.
+ URLDomainKey = attribute.Key("url.domain")
+
+ // URLExtensionKey is the attribute Key conforming to the "url.extension"
+ // semantic conventions. It represents the file extension extracted from
+ // the `url.full`, excluding the leading dot.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'png', 'gz'
+ // Note: The file extension is only set if it exists, as not every url has
+ // a file extension. When the file name has multiple extensions
+ // `example.tar.gz`, only the last one should be captured `gz`, not
+ // `tar.gz`.
+ URLExtensionKey = attribute.Key("url.extension")
+
// URLFragmentKey is the attribute Key conforming to the "url.fragment"
// semantic conventions. It represents the [URI
// fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component
@@ -4252,10 +7764,28 @@ const (
// password SHOULD be redacted and attribute's value SHOULD be
// `https://REDACTED:REDACTED@www.example.com/`.
// `url.full` SHOULD capture the absolute URL when it is available (or can
- // be reconstructed) and SHOULD NOT be validated or modified except for
- // sanitizing purposes.
+ // be reconstructed). Sensitive content provided in `url.full` SHOULD be
+ // scrubbed when instrumentations can identify it.
URLFullKey = attribute.Key("url.full")
+ // URLOriginalKey is the attribute Key conforming to the "url.original"
+ // semantic conventions. It represents the unmodified original URL as seen
+ // in the event source.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'https://www.foo.bar/search?q=OpenTelemetry#SemConv',
+ // 'search?q=OpenTelemetry'
+ // Note: In network monitoring, the observed URL may be a full URL, whereas
+ // in access logs, the URL is often just represented as a path. This field
+ // is meant to represent the URL as it was observed, complete or not.
+ // `url.original` might contain credentials passed via URL in form of
+ // `https://username:password@www.example.com/`. In such case password and
+ // username SHOULD NOT be redacted and attribute's value SHOULD remain the
+ // same.
+ URLOriginalKey = attribute.Key("url.original")
+
// URLPathKey is the attribute Key conforming to the "url.path" semantic
// conventions. It represents the [URI
// path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component
@@ -4264,8 +7794,19 @@ const (
// RequirementLevel: Optional
// Stability: stable
// Examples: '/search'
+ // Note: Sensitive content provided in `url.path` SHOULD be scrubbed when
+ // instrumentations can identify it.
URLPathKey = attribute.Key("url.path")
+ // URLPortKey is the attribute Key conforming to the "url.port" semantic
+ // conventions. It represents the port extracted from the `url.full`
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 443
+ URLPortKey = attribute.Key("url.port")
+
// URLQueryKey is the attribute Key conforming to the "url.query" semantic
// conventions. It represents the [URI
// query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component
@@ -4274,10 +7815,24 @@ const (
// RequirementLevel: Optional
// Stability: stable
// Examples: 'q=OpenTelemetry'
- // Note: Sensitive content provided in query string SHOULD be scrubbed when
+ // Note: Sensitive content provided in `url.query` SHOULD be scrubbed when
// instrumentations can identify it.
URLQueryKey = attribute.Key("url.query")
+ // URLRegisteredDomainKey is the attribute Key conforming to the
+ // "url.registered_domain" semantic conventions. It represents the highest
+ // registered url domain, stripped of the subdomain.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'example.com', 'foo.co.uk'
+ // Note: This value can be determined precisely with the [public suffix
+ // list](http://publicsuffix.org). For example, the registered domain for
+ // `foo.example.com` is `example.com`. Trying to approximate this by simply
+ // taking the last two labels will not work well for TLDs such as `co.uk`.
+ URLRegisteredDomainKey = attribute.Key("url.registered_domain")
+
// URLSchemeKey is the attribute Key conforming to the "url.scheme"
// semantic conventions. It represents the [URI
// scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component
@@ -4288,8 +7843,53 @@ const (
// Stability: stable
// Examples: 'https', 'ftp', 'telnet'
URLSchemeKey = attribute.Key("url.scheme")
+
+ // URLSubdomainKey is the attribute Key conforming to the "url.subdomain"
+ // semantic conventions. It represents the subdomain portion of a fully
+ // qualified domain name includes all of the names except the host name
+ // under the registered_domain. In a partially qualified domain, or if the
+ // qualification level of the full name cannot be determined, subdomain
+ // contains all of the names below the registered domain.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'east', 'sub2.sub1'
+ // Note: The subdomain portion of `www.east.mydomain.co.uk` is `east`. If
+ // the domain has multiple levels of subdomain, such as
+ // `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`,
+ // with no trailing period.
+ URLSubdomainKey = attribute.Key("url.subdomain")
+
+ // URLTopLevelDomainKey is the attribute Key conforming to the
+ // "url.top_level_domain" semantic conventions. It represents the effective
+ // top level domain (eTLD), also known as the domain suffix, is the last
+ // part of the domain name. For example, the top level domain for
+ // example.com is `com`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'com', 'co.uk'
+ // Note: This value can be determined precisely with the [public suffix
+ // list](http://publicsuffix.org).
+ URLTopLevelDomainKey = attribute.Key("url.top_level_domain")
)
+// URLDomain returns an attribute KeyValue conforming to the "url.domain"
+// semantic conventions. It represents the domain extracted from the
+// `url.full`, such as "opentelemetry.io".
+func URLDomain(val string) attribute.KeyValue {
+ return URLDomainKey.String(val)
+}
+
+// URLExtension returns an attribute KeyValue conforming to the
+// "url.extension" semantic conventions. It represents the file extension
+// extracted from the `url.full`, excluding the leading dot.
+func URLExtension(val string) attribute.KeyValue {
+ return URLExtensionKey.String(val)
+}
+
// URLFragment returns an attribute KeyValue conforming to the
// "url.fragment" semantic conventions. It represents the [URI
// fragment](https://www.rfc-editor.org/rfc/rfc3986#section-3.5) component
@@ -4304,6 +7904,13 @@ func URLFull(val string) attribute.KeyValue {
return URLFullKey.String(val)
}
+// URLOriginal returns an attribute KeyValue conforming to the
+// "url.original" semantic conventions. It represents the unmodified original
+// URL as seen in the event source.
+func URLOriginal(val string) attribute.KeyValue {
+ return URLOriginalKey.String(val)
+}
+
// URLPath returns an attribute KeyValue conforming to the "url.path"
// semantic conventions. It represents the [URI
// path](https://www.rfc-editor.org/rfc/rfc3986#section-3.3) component
@@ -4311,6 +7918,12 @@ func URLPath(val string) attribute.KeyValue {
return URLPathKey.String(val)
}
+// URLPort returns an attribute KeyValue conforming to the "url.port"
+// semantic conventions. It represents the port extracted from the `url.full`
+func URLPort(val int) attribute.KeyValue {
+ return URLPortKey.Int(val)
+}
+
// URLQuery returns an attribute KeyValue conforming to the "url.query"
// semantic conventions. It represents the [URI
// query](https://www.rfc-editor.org/rfc/rfc3986#section-3.4) component
@@ -4318,6 +7931,13 @@ func URLQuery(val string) attribute.KeyValue {
return URLQueryKey.String(val)
}
+// URLRegisteredDomain returns an attribute KeyValue conforming to the
+// "url.registered_domain" semantic conventions. It represents the highest
+// registered url domain, stripped of the subdomain.
+func URLRegisteredDomain(val string) attribute.KeyValue {
+ return URLRegisteredDomainKey.String(val)
+}
+
// URLScheme returns an attribute KeyValue conforming to the "url.scheme"
// semantic conventions. It represents the [URI
// scheme](https://www.rfc-editor.org/rfc/rfc3986#section-3.1) component
@@ -4326,8 +7946,42 @@ func URLScheme(val string) attribute.KeyValue {
return URLSchemeKey.String(val)
}
+// URLSubdomain returns an attribute KeyValue conforming to the
+// "url.subdomain" semantic conventions. It represents the subdomain portion of
+// a fully qualified domain name includes all of the names except the host name
+// under the registered_domain. In a partially qualified domain, or if the
+// qualification level of the full name cannot be determined, subdomain
+// contains all of the names below the registered domain.
+func URLSubdomain(val string) attribute.KeyValue {
+ return URLSubdomainKey.String(val)
+}
+
+// URLTopLevelDomain returns an attribute KeyValue conforming to the
+// "url.top_level_domain" semantic conventions. It represents the effective top
+// level domain (eTLD), also known as the domain suffix, is the last part of
+// the domain name. For example, the top level domain for example.com is `com`.
+func URLTopLevelDomain(val string) attribute.KeyValue {
+ return URLTopLevelDomainKey.String(val)
+}
+
// Describes user-agent attributes.
const (
+ // UserAgentNameKey is the attribute Key conforming to the
+ // "user_agent.name" semantic conventions. It represents the name of the
+ // user-agent extracted from original. Usually refers to the browser's
+ // name.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'Safari', 'YourApp'
+ // Note: [Example](https://www.whatsmyua.info) of extracting browser's name
+ // from original string. In the case of using a user-agent for non-browser
+ // products, such as microservices with multiple names/versions inside the
+ // `user_agent.original`, the most significant name SHOULD be selected. In
+ // such a scenario it should align with `user_agent.version`
+ UserAgentNameKey = attribute.Key("user_agent.name")
+
// UserAgentOriginalKey is the attribute Key conforming to the
// "user_agent.original" semantic conventions. It represents the value of
// the [HTTP
@@ -4339,10 +7993,34 @@ const (
// Stability: stable
// Examples: 'CERN-LineMode/2.15 libwww/2.17b3', 'Mozilla/5.0 (iPhone; CPU
// iPhone OS 14_7_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko)
- // Version/14.1.2 Mobile/15E148 Safari/604.1'
+ // Version/14.1.2 Mobile/15E148 Safari/604.1', 'YourApp/1.0.0
+ // grpc-java-okhttp/1.27.2'
UserAgentOriginalKey = attribute.Key("user_agent.original")
+
+ // UserAgentVersionKey is the attribute Key conforming to the
+ // "user_agent.version" semantic conventions. It represents the version of
+ // the user-agent extracted from original. Usually refers to the browser's
+ // version
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '14.1.2', '1.0.0'
+ // Note: [Example](https://www.whatsmyua.info) of extracting browser's
+ // version from original string. In the case of using a user-agent for
+ // non-browser products, such as microservices with multiple names/versions
+ // inside the `user_agent.original`, the most significant version SHOULD be
+ // selected. In such a scenario it should align with `user_agent.name`
+ UserAgentVersionKey = attribute.Key("user_agent.version")
)
+// UserAgentName returns an attribute KeyValue conforming to the
+// "user_agent.name" semantic conventions. It represents the name of the
+// user-agent extracted from original. Usually refers to the browser's name.
+func UserAgentName(val string) attribute.KeyValue {
+ return UserAgentNameKey.String(val)
+}
+
// UserAgentOriginal returns an attribute KeyValue conforming to the
// "user_agent.original" semantic conventions. It represents the value of the
// [HTTP
@@ -4352,47 +8030,9 @@ func UserAgentOriginal(val string) attribute.KeyValue {
return UserAgentOriginalKey.String(val)
}
-// Session is defined as the period of time encompassing all activities
-// performed by the application and the actions executed by the end user.
-// Consequently, a Session is represented as a collection of Logs, Events, and
-// Spans emitted by the Client Application throughout the Session's duration.
-// Each Session is assigned a unique identifier, which is included as an
-// attribute in the Logs, Events, and Spans generated during the Session's
-// lifecycle.
-// When a session reaches end of life, typically due to user inactivity or
-// session timeout, a new session identifier will be assigned. The previous
-// session identifier may be provided by the instrumentation so that telemetry
-// backends can link the two sessions.
-const (
- // SessionIDKey is the attribute Key conforming to the "session.id"
- // semantic conventions. It represents a unique id to identify a session.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '00112233-4455-6677-8899-aabbccddeeff'
- SessionIDKey = attribute.Key("session.id")
-
- // SessionPreviousIDKey is the attribute Key conforming to the
- // "session.previous_id" semantic conventions. It represents the previous
- // `session.id` for this user, when known.
- //
- // Type: string
- // RequirementLevel: Optional
- // Stability: experimental
- // Examples: '00112233-4455-6677-8899-aabbccddeeff'
- SessionPreviousIDKey = attribute.Key("session.previous_id")
-)
-
-// SessionID returns an attribute KeyValue conforming to the "session.id"
-// semantic conventions. It represents a unique id to identify a session.
-func SessionID(val string) attribute.KeyValue {
- return SessionIDKey.String(val)
-}
-
-// SessionPreviousID returns an attribute KeyValue conforming to the
-// "session.previous_id" semantic conventions. It represents the previous
-// `session.id` for this user, when known.
-func SessionPreviousID(val string) attribute.KeyValue {
- return SessionPreviousIDKey.String(val)
+// UserAgentVersion returns an attribute KeyValue conforming to the
+// "user_agent.version" semantic conventions. It represents the version of the
+// user-agent extracted from original. Usually refers to the browser's version
+func UserAgentVersion(val string) attribute.KeyValue {
+ return UserAgentVersionKey.String(val)
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/doc.go
new file mode 100644
index 0000000000..facbdf5f10
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/doc.go
@@ -0,0 +1,9 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Package semconv implements OpenTelemetry semantic conventions.
+//
+// OpenTelemetry semantic conventions are agreed standardized naming
+// patterns for OpenTelemetry things. This package represents the v1.25.0
+// version of the OpenTelemetry semantic conventions.
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/event.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/event.go
similarity index 62%
rename from cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/event.go
rename to cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/event.go
index cd3c716295..4f0ccb4406 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.24.0/event.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/event.go
@@ -1,20 +1,9 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
-package semconv // import "go.opentelemetry.io/otel/semconv/v1.24.0"
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
import "go.opentelemetry.io/otel/attribute"
@@ -73,72 +62,6 @@ var (
AndroidStateForeground = AndroidStateKey.String("foreground")
)
-// This semantic convention defines the attributes used to represent a feature
-// flag evaluation as an event.
-const (
- // FeatureFlagKeyKey is the attribute Key conforming to the
- // "feature_flag.key" semantic conventions. It represents the unique
- // identifier of the feature flag.
- //
- // Type: string
- // RequirementLevel: Required
- // Stability: experimental
- // Examples: 'logo-color'
- FeatureFlagKeyKey = attribute.Key("feature_flag.key")
-
- // FeatureFlagProviderNameKey is the attribute Key conforming to the
- // "feature_flag.provider_name" semantic conventions. It represents the
- // name of the service provider that performs the flag evaluation.
- //
- // Type: string
- // RequirementLevel: Recommended
- // Stability: experimental
- // Examples: 'Flag Manager'
- FeatureFlagProviderNameKey = attribute.Key("feature_flag.provider_name")
-
- // FeatureFlagVariantKey is the attribute Key conforming to the
- // "feature_flag.variant" semantic conventions. It represents the sHOULD be
- // a semantic identifier for a value. If one is unavailable, a stringified
- // version of the value can be used.
- //
- // Type: string
- // RequirementLevel: Recommended
- // Stability: experimental
- // Examples: 'red', 'true', 'on'
- // Note: A semantic identifier, commonly referred to as a variant, provides
- // a means
- // for referring to a value without including the value itself. This can
- // provide additional context for understanding the meaning behind a value.
- // For example, the variant `red` maybe be used for the value `#c05543`.
- //
- // A stringified version of the value can be used in situations where a
- // semantic identifier is unavailable. String representation of the value
- // should be determined by the implementer.
- FeatureFlagVariantKey = attribute.Key("feature_flag.variant")
-)
-
-// FeatureFlagKey returns an attribute KeyValue conforming to the
-// "feature_flag.key" semantic conventions. It represents the unique identifier
-// of the feature flag.
-func FeatureFlagKey(val string) attribute.KeyValue {
- return FeatureFlagKeyKey.String(val)
-}
-
-// FeatureFlagProviderName returns an attribute KeyValue conforming to the
-// "feature_flag.provider_name" semantic conventions. It represents the name of
-// the service provider that performs the flag evaluation.
-func FeatureFlagProviderName(val string) attribute.KeyValue {
- return FeatureFlagProviderNameKey.String(val)
-}
-
-// FeatureFlagVariant returns an attribute KeyValue conforming to the
-// "feature_flag.variant" semantic conventions. It represents the sHOULD be a
-// semantic identifier for a value. If one is unavailable, a stringified
-// version of the value can be used.
-func FeatureFlagVariant(val string) attribute.KeyValue {
- return FeatureFlagVariantKey.String(val)
-}
-
// RPC received/sent message.
const (
// MessageCompressedSizeKey is the attribute Key conforming to the
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/exception.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/exception.go
new file mode 100644
index 0000000000..e36ab1e342
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/exception.go
@@ -0,0 +1,9 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
+
+const (
+ // ExceptionEventName is the name of the Span event representing an exception.
+ ExceptionEventName = "exception"
+)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/metric.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/metric.go
new file mode 100644
index 0000000000..1c8b5bded5
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/metric.go
@@ -0,0 +1,1194 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated from semantic convention specification. DO NOT EDIT.
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
+
+const (
+
+ // ContainerCPUTime is the metric conforming to the "container.cpu.time"
+ // semantic conventions. It represents the total CPU time consumed.
+ // Instrument: counter
+ // Unit: s
+ // Stability: Experimental
+ ContainerCPUTimeName = "container.cpu.time"
+ ContainerCPUTimeUnit = "s"
+ ContainerCPUTimeDescription = "Total CPU time consumed"
+
+ // ContainerMemoryUsage is the metric conforming to the
+ // "container.memory.usage" semantic conventions. It represents the memory
+ // usage of the container.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ ContainerMemoryUsageName = "container.memory.usage"
+ ContainerMemoryUsageUnit = "By"
+ ContainerMemoryUsageDescription = "Memory usage of the container."
+
+ // ContainerDiskIo is the metric conforming to the "container.disk.io" semantic
+ // conventions. It represents the disk bytes for the container.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ ContainerDiskIoName = "container.disk.io"
+ ContainerDiskIoUnit = "By"
+ ContainerDiskIoDescription = "Disk bytes for the container."
+
+ // ContainerNetworkIo is the metric conforming to the "container.network.io"
+ // semantic conventions. It represents the network bytes for the container.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ ContainerNetworkIoName = "container.network.io"
+ ContainerNetworkIoUnit = "By"
+ ContainerNetworkIoDescription = "Network bytes for the container."
+
+ // DBClientConnectionsUsage is the metric conforming to the
+ // "db.client.connections.usage" semantic conventions. It represents the number
+ // of connections that are currently in state described by the `state`
+ // attribute.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Experimental
+ DBClientConnectionsUsageName = "db.client.connections.usage"
+ DBClientConnectionsUsageUnit = "{connection}"
+ DBClientConnectionsUsageDescription = "The number of connections that are currently in state described by the `state` attribute"
+
+ // DBClientConnectionsIdleMax is the metric conforming to the
+ // "db.client.connections.idle.max" semantic conventions. It represents the
+ // maximum number of idle open connections allowed.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Experimental
+ DBClientConnectionsIdleMaxName = "db.client.connections.idle.max"
+ DBClientConnectionsIdleMaxUnit = "{connection}"
+ DBClientConnectionsIdleMaxDescription = "The maximum number of idle open connections allowed"
+
+ // DBClientConnectionsIdleMin is the metric conforming to the
+ // "db.client.connections.idle.min" semantic conventions. It represents the
+ // minimum number of idle open connections allowed.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Experimental
+ DBClientConnectionsIdleMinName = "db.client.connections.idle.min"
+ DBClientConnectionsIdleMinUnit = "{connection}"
+ DBClientConnectionsIdleMinDescription = "The minimum number of idle open connections allowed"
+
+ // DBClientConnectionsMax is the metric conforming to the
+ // "db.client.connections.max" semantic conventions. It represents the maximum
+ // number of open connections allowed.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Experimental
+ DBClientConnectionsMaxName = "db.client.connections.max"
+ DBClientConnectionsMaxUnit = "{connection}"
+ DBClientConnectionsMaxDescription = "The maximum number of open connections allowed"
+
+ // DBClientConnectionsPendingRequests is the metric conforming to the
+ // "db.client.connections.pending_requests" semantic conventions. It represents
+ // the number of pending requests for an open connection, cumulative for the
+ // entire pool.
+ // Instrument: updowncounter
+ // Unit: {request}
+ // Stability: Experimental
+ DBClientConnectionsPendingRequestsName = "db.client.connections.pending_requests"
+ DBClientConnectionsPendingRequestsUnit = "{request}"
+ DBClientConnectionsPendingRequestsDescription = "The number of pending requests for an open connection, cumulative for the entire pool"
+
+ // DBClientConnectionsTimeouts is the metric conforming to the
+ // "db.client.connections.timeouts" semantic conventions. It represents the
+ // number of connection timeouts that have occurred trying to obtain a
+ // connection from the pool.
+ // Instrument: counter
+ // Unit: {timeout}
+ // Stability: Experimental
+ DBClientConnectionsTimeoutsName = "db.client.connections.timeouts"
+ DBClientConnectionsTimeoutsUnit = "{timeout}"
+ DBClientConnectionsTimeoutsDescription = "The number of connection timeouts that have occurred trying to obtain a connection from the pool"
+
+ // DBClientConnectionsCreateTime is the metric conforming to the
+ // "db.client.connections.create_time" semantic conventions. It represents the
+ // time it took to create a new connection.
+ // Instrument: histogram
+ // Unit: ms
+ // Stability: Experimental
+ DBClientConnectionsCreateTimeName = "db.client.connections.create_time"
+ DBClientConnectionsCreateTimeUnit = "ms"
+ DBClientConnectionsCreateTimeDescription = "The time it took to create a new connection"
+
+ // DBClientConnectionsWaitTime is the metric conforming to the
+ // "db.client.connections.wait_time" semantic conventions. It represents the
+ // time it took to obtain an open connection from the pool.
+ // Instrument: histogram
+ // Unit: ms
+ // Stability: Experimental
+ DBClientConnectionsWaitTimeName = "db.client.connections.wait_time"
+ DBClientConnectionsWaitTimeUnit = "ms"
+ DBClientConnectionsWaitTimeDescription = "The time it took to obtain an open connection from the pool"
+
+ // DBClientConnectionsUseTime is the metric conforming to the
+ // "db.client.connections.use_time" semantic conventions. It represents the
+ // time between borrowing a connection and returning it to the pool.
+ // Instrument: histogram
+ // Unit: ms
+ // Stability: Experimental
+ DBClientConnectionsUseTimeName = "db.client.connections.use_time"
+ DBClientConnectionsUseTimeUnit = "ms"
+ DBClientConnectionsUseTimeDescription = "The time between borrowing a connection and returning it to the pool"
+
+ // DNSLookupDuration is the metric conforming to the "dns.lookup.duration"
+ // semantic conventions. It represents the measures the time taken to perform a
+ // DNS lookup.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ DNSLookupDurationName = "dns.lookup.duration"
+ DNSLookupDurationUnit = "s"
+ DNSLookupDurationDescription = "Measures the time taken to perform a DNS lookup."
+
+ // AspnetcoreRoutingMatchAttempts is the metric conforming to the
+ // "aspnetcore.routing.match_attempts" semantic conventions. It represents the
+ // number of requests that were attempted to be matched to an endpoint.
+ // Instrument: counter
+ // Unit: {match_attempt}
+ // Stability: Stable
+ AspnetcoreRoutingMatchAttemptsName = "aspnetcore.routing.match_attempts"
+ AspnetcoreRoutingMatchAttemptsUnit = "{match_attempt}"
+ AspnetcoreRoutingMatchAttemptsDescription = "Number of requests that were attempted to be matched to an endpoint."
+
+ // AspnetcoreDiagnosticsExceptions is the metric conforming to the
+ // "aspnetcore.diagnostics.exceptions" semantic conventions. It represents the
+ // number of exceptions caught by exception handling middleware.
+ // Instrument: counter
+ // Unit: {exception}
+ // Stability: Stable
+ AspnetcoreDiagnosticsExceptionsName = "aspnetcore.diagnostics.exceptions"
+ AspnetcoreDiagnosticsExceptionsUnit = "{exception}"
+ AspnetcoreDiagnosticsExceptionsDescription = "Number of exceptions caught by exception handling middleware."
+
+ // AspnetcoreRateLimitingActiveRequestLeases is the metric conforming to the
+ // "aspnetcore.rate_limiting.active_request_leases" semantic conventions. It
+ // represents the number of requests that are currently active on the server
+ // that hold a rate limiting lease.
+ // Instrument: updowncounter
+ // Unit: {request}
+ // Stability: Stable
+ AspnetcoreRateLimitingActiveRequestLeasesName = "aspnetcore.rate_limiting.active_request_leases"
+ AspnetcoreRateLimitingActiveRequestLeasesUnit = "{request}"
+ AspnetcoreRateLimitingActiveRequestLeasesDescription = "Number of requests that are currently active on the server that hold a rate limiting lease."
+
+ // AspnetcoreRateLimitingRequestLeaseDuration is the metric conforming to the
+ // "aspnetcore.rate_limiting.request_lease.duration" semantic conventions. It
+ // represents the duration of rate limiting lease held by requests on the
+ // server.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ AspnetcoreRateLimitingRequestLeaseDurationName = "aspnetcore.rate_limiting.request_lease.duration"
+ AspnetcoreRateLimitingRequestLeaseDurationUnit = "s"
+ AspnetcoreRateLimitingRequestLeaseDurationDescription = "The duration of rate limiting lease held by requests on the server."
+
+ // AspnetcoreRateLimitingRequestTimeInQueue is the metric conforming to the
+ // "aspnetcore.rate_limiting.request.time_in_queue" semantic conventions. It
+ // represents the time the request spent in a queue waiting to acquire a rate
+ // limiting lease.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ AspnetcoreRateLimitingRequestTimeInQueueName = "aspnetcore.rate_limiting.request.time_in_queue"
+ AspnetcoreRateLimitingRequestTimeInQueueUnit = "s"
+ AspnetcoreRateLimitingRequestTimeInQueueDescription = "The time the request spent in a queue waiting to acquire a rate limiting lease."
+
+ // AspnetcoreRateLimitingQueuedRequests is the metric conforming to the
+ // "aspnetcore.rate_limiting.queued_requests" semantic conventions. It
+ // represents the number of requests that are currently queued, waiting to
+ // acquire a rate limiting lease.
+ // Instrument: updowncounter
+ // Unit: {request}
+ // Stability: Stable
+ AspnetcoreRateLimitingQueuedRequestsName = "aspnetcore.rate_limiting.queued_requests"
+ AspnetcoreRateLimitingQueuedRequestsUnit = "{request}"
+ AspnetcoreRateLimitingQueuedRequestsDescription = "Number of requests that are currently queued, waiting to acquire a rate limiting lease."
+
+ // AspnetcoreRateLimitingRequests is the metric conforming to the
+ // "aspnetcore.rate_limiting.requests" semantic conventions. It represents the
+ // number of requests that tried to acquire a rate limiting lease.
+ // Instrument: counter
+ // Unit: {request}
+ // Stability: Stable
+ AspnetcoreRateLimitingRequestsName = "aspnetcore.rate_limiting.requests"
+ AspnetcoreRateLimitingRequestsUnit = "{request}"
+ AspnetcoreRateLimitingRequestsDescription = "Number of requests that tried to acquire a rate limiting lease."
+
+ // KestrelActiveConnections is the metric conforming to the
+ // "kestrel.active_connections" semantic conventions. It represents the number
+ // of connections that are currently active on the server.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Stable
+ KestrelActiveConnectionsName = "kestrel.active_connections"
+ KestrelActiveConnectionsUnit = "{connection}"
+ KestrelActiveConnectionsDescription = "Number of connections that are currently active on the server."
+
+ // KestrelConnectionDuration is the metric conforming to the
+ // "kestrel.connection.duration" semantic conventions. It represents the
+ // duration of connections on the server.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ KestrelConnectionDurationName = "kestrel.connection.duration"
+ KestrelConnectionDurationUnit = "s"
+ KestrelConnectionDurationDescription = "The duration of connections on the server."
+
+ // KestrelRejectedConnections is the metric conforming to the
+ // "kestrel.rejected_connections" semantic conventions. It represents the
+ // number of connections rejected by the server.
+ // Instrument: counter
+ // Unit: {connection}
+ // Stability: Stable
+ KestrelRejectedConnectionsName = "kestrel.rejected_connections"
+ KestrelRejectedConnectionsUnit = "{connection}"
+ KestrelRejectedConnectionsDescription = "Number of connections rejected by the server."
+
+ // KestrelQueuedConnections is the metric conforming to the
+ // "kestrel.queued_connections" semantic conventions. It represents the number
+ // of connections that are currently queued and are waiting to start.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Stable
+ KestrelQueuedConnectionsName = "kestrel.queued_connections"
+ KestrelQueuedConnectionsUnit = "{connection}"
+ KestrelQueuedConnectionsDescription = "Number of connections that are currently queued and are waiting to start."
+
+ // KestrelQueuedRequests is the metric conforming to the
+ // "kestrel.queued_requests" semantic conventions. It represents the number of
+ // HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are
+ // currently queued and are waiting to start.
+ // Instrument: updowncounter
+ // Unit: {request}
+ // Stability: Stable
+ KestrelQueuedRequestsName = "kestrel.queued_requests"
+ KestrelQueuedRequestsUnit = "{request}"
+ KestrelQueuedRequestsDescription = "Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start."
+
+ // KestrelUpgradedConnections is the metric conforming to the
+ // "kestrel.upgraded_connections" semantic conventions. It represents the
+ // number of connections that are currently upgraded (WebSockets). .
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Stable
+ KestrelUpgradedConnectionsName = "kestrel.upgraded_connections"
+ KestrelUpgradedConnectionsUnit = "{connection}"
+ KestrelUpgradedConnectionsDescription = "Number of connections that are currently upgraded (WebSockets). ."
+
+ // KestrelTLSHandshakeDuration is the metric conforming to the
+ // "kestrel.tls_handshake.duration" semantic conventions. It represents the
+ // duration of TLS handshakes on the server.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ KestrelTLSHandshakeDurationName = "kestrel.tls_handshake.duration"
+ KestrelTLSHandshakeDurationUnit = "s"
+ KestrelTLSHandshakeDurationDescription = "The duration of TLS handshakes on the server."
+
+ // KestrelActiveTLSHandshakes is the metric conforming to the
+ // "kestrel.active_tls_handshakes" semantic conventions. It represents the
+ // number of TLS handshakes that are currently in progress on the server.
+ // Instrument: updowncounter
+ // Unit: {handshake}
+ // Stability: Stable
+ KestrelActiveTLSHandshakesName = "kestrel.active_tls_handshakes"
+ KestrelActiveTLSHandshakesUnit = "{handshake}"
+ KestrelActiveTLSHandshakesDescription = "Number of TLS handshakes that are currently in progress on the server."
+
+ // SignalrServerConnectionDuration is the metric conforming to the
+ // "signalr.server.connection.duration" semantic conventions. It represents the
+ // duration of connections on the server.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ SignalrServerConnectionDurationName = "signalr.server.connection.duration"
+ SignalrServerConnectionDurationUnit = "s"
+ SignalrServerConnectionDurationDescription = "The duration of connections on the server."
+
+ // SignalrServerActiveConnections is the metric conforming to the
+ // "signalr.server.active_connections" semantic conventions. It represents the
+ // number of connections that are currently active on the server.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Stable
+ SignalrServerActiveConnectionsName = "signalr.server.active_connections"
+ SignalrServerActiveConnectionsUnit = "{connection}"
+ SignalrServerActiveConnectionsDescription = "Number of connections that are currently active on the server."
+
+ // FaaSInvokeDuration is the metric conforming to the "faas.invoke_duration"
+ // semantic conventions. It represents the measures the duration of the
+ // function's logic execution.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ FaaSInvokeDurationName = "faas.invoke_duration"
+ FaaSInvokeDurationUnit = "s"
+ FaaSInvokeDurationDescription = "Measures the duration of the function's logic execution"
+
+ // FaaSInitDuration is the metric conforming to the "faas.init_duration"
+ // semantic conventions. It represents the measures the duration of the
+ // function's initialization, such as a cold start.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ FaaSInitDurationName = "faas.init_duration"
+ FaaSInitDurationUnit = "s"
+ FaaSInitDurationDescription = "Measures the duration of the function's initialization, such as a cold start"
+
+ // FaaSColdstarts is the metric conforming to the "faas.coldstarts" semantic
+ // conventions. It represents the number of invocation cold starts.
+ // Instrument: counter
+ // Unit: {coldstart}
+ // Stability: Experimental
+ FaaSColdstartsName = "faas.coldstarts"
+ FaaSColdstartsUnit = "{coldstart}"
+ FaaSColdstartsDescription = "Number of invocation cold starts"
+
+ // FaaSErrors is the metric conforming to the "faas.errors" semantic
+ // conventions. It represents the number of invocation errors.
+ // Instrument: counter
+ // Unit: {error}
+ // Stability: Experimental
+ FaaSErrorsName = "faas.errors"
+ FaaSErrorsUnit = "{error}"
+ FaaSErrorsDescription = "Number of invocation errors"
+
+ // FaaSInvocations is the metric conforming to the "faas.invocations" semantic
+ // conventions. It represents the number of successful invocations.
+ // Instrument: counter
+ // Unit: {invocation}
+ // Stability: Experimental
+ FaaSInvocationsName = "faas.invocations"
+ FaaSInvocationsUnit = "{invocation}"
+ FaaSInvocationsDescription = "Number of successful invocations"
+
+ // FaaSTimeouts is the metric conforming to the "faas.timeouts" semantic
+ // conventions. It represents the number of invocation timeouts.
+ // Instrument: counter
+ // Unit: {timeout}
+ // Stability: Experimental
+ FaaSTimeoutsName = "faas.timeouts"
+ FaaSTimeoutsUnit = "{timeout}"
+ FaaSTimeoutsDescription = "Number of invocation timeouts"
+
+ // FaaSMemUsage is the metric conforming to the "faas.mem_usage" semantic
+ // conventions. It represents the distribution of max memory usage per
+ // invocation.
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ FaaSMemUsageName = "faas.mem_usage"
+ FaaSMemUsageUnit = "By"
+ FaaSMemUsageDescription = "Distribution of max memory usage per invocation"
+
+ // FaaSCPUUsage is the metric conforming to the "faas.cpu_usage" semantic
+ // conventions. It represents the distribution of CPU usage per invocation.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ FaaSCPUUsageName = "faas.cpu_usage"
+ FaaSCPUUsageUnit = "s"
+ FaaSCPUUsageDescription = "Distribution of CPU usage per invocation"
+
+ // FaaSNetIo is the metric conforming to the "faas.net_io" semantic
+ // conventions. It represents the distribution of net I/O usage per invocation.
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ FaaSNetIoName = "faas.net_io"
+ FaaSNetIoUnit = "By"
+ FaaSNetIoDescription = "Distribution of net I/O usage per invocation"
+
+ // HTTPServerRequestDuration is the metric conforming to the
+ // "http.server.request.duration" semantic conventions. It represents the
+ // duration of HTTP server requests.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ HTTPServerRequestDurationName = "http.server.request.duration"
+ HTTPServerRequestDurationUnit = "s"
+ HTTPServerRequestDurationDescription = "Duration of HTTP server requests."
+
+ // HTTPServerActiveRequests is the metric conforming to the
+ // "http.server.active_requests" semantic conventions. It represents the number
+ // of active HTTP server requests.
+ // Instrument: updowncounter
+ // Unit: {request}
+ // Stability: Experimental
+ HTTPServerActiveRequestsName = "http.server.active_requests"
+ HTTPServerActiveRequestsUnit = "{request}"
+ HTTPServerActiveRequestsDescription = "Number of active HTTP server requests."
+
+ // HTTPServerRequestBodySize is the metric conforming to the
+ // "http.server.request.body.size" semantic conventions. It represents the size
+ // of HTTP server request bodies.
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ HTTPServerRequestBodySizeName = "http.server.request.body.size"
+ HTTPServerRequestBodySizeUnit = "By"
+ HTTPServerRequestBodySizeDescription = "Size of HTTP server request bodies."
+
+ // HTTPServerResponseBodySize is the metric conforming to the
+ // "http.server.response.body.size" semantic conventions. It represents the
+ // size of HTTP server response bodies.
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ HTTPServerResponseBodySizeName = "http.server.response.body.size"
+ HTTPServerResponseBodySizeUnit = "By"
+ HTTPServerResponseBodySizeDescription = "Size of HTTP server response bodies."
+
+ // HTTPClientRequestDuration is the metric conforming to the
+ // "http.client.request.duration" semantic conventions. It represents the
+ // duration of HTTP client requests.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ HTTPClientRequestDurationName = "http.client.request.duration"
+ HTTPClientRequestDurationUnit = "s"
+ HTTPClientRequestDurationDescription = "Duration of HTTP client requests."
+
+ // HTTPClientRequestBodySize is the metric conforming to the
+ // "http.client.request.body.size" semantic conventions. It represents the size
+ // of HTTP client request bodies.
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ HTTPClientRequestBodySizeName = "http.client.request.body.size"
+ HTTPClientRequestBodySizeUnit = "By"
+ HTTPClientRequestBodySizeDescription = "Size of HTTP client request bodies."
+
+ // HTTPClientResponseBodySize is the metric conforming to the
+ // "http.client.response.body.size" semantic conventions. It represents the
+ // size of HTTP client response bodies.
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ HTTPClientResponseBodySizeName = "http.client.response.body.size"
+ HTTPClientResponseBodySizeUnit = "By"
+ HTTPClientResponseBodySizeDescription = "Size of HTTP client response bodies."
+
+ // HTTPClientOpenConnections is the metric conforming to the
+ // "http.client.open_connections" semantic conventions. It represents the
+ // number of outbound HTTP connections that are currently active or idle on the
+ // client.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Experimental
+ HTTPClientOpenConnectionsName = "http.client.open_connections"
+ HTTPClientOpenConnectionsUnit = "{connection}"
+ HTTPClientOpenConnectionsDescription = "Number of outbound HTTP connections that are currently active or idle on the client."
+
+ // HTTPClientConnectionDuration is the metric conforming to the
+ // "http.client.connection.duration" semantic conventions. It represents the
+ // duration of the successfully established outbound HTTP connections.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ HTTPClientConnectionDurationName = "http.client.connection.duration"
+ HTTPClientConnectionDurationUnit = "s"
+ HTTPClientConnectionDurationDescription = "The duration of the successfully established outbound HTTP connections."
+
+ // HTTPClientActiveRequests is the metric conforming to the
+ // "http.client.active_requests" semantic conventions. It represents the number
+ // of active HTTP requests.
+ // Instrument: updowncounter
+ // Unit: {request}
+ // Stability: Experimental
+ HTTPClientActiveRequestsName = "http.client.active_requests"
+ HTTPClientActiveRequestsUnit = "{request}"
+ HTTPClientActiveRequestsDescription = "Number of active HTTP requests."
+
+ // JvmMemoryInit is the metric conforming to the "jvm.memory.init" semantic
+ // conventions. It represents the measure of initial memory requested.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ JvmMemoryInitName = "jvm.memory.init"
+ JvmMemoryInitUnit = "By"
+ JvmMemoryInitDescription = "Measure of initial memory requested."
+
+ // JvmSystemCPUUtilization is the metric conforming to the
+ // "jvm.system.cpu.utilization" semantic conventions. It represents the recent
+ // CPU utilization for the whole system as reported by the JVM.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Experimental
+ JvmSystemCPUUtilizationName = "jvm.system.cpu.utilization"
+ JvmSystemCPUUtilizationUnit = "1"
+ JvmSystemCPUUtilizationDescription = "Recent CPU utilization for the whole system as reported by the JVM."
+
+ // JvmSystemCPULoad1m is the metric conforming to the "jvm.system.cpu.load_1m"
+ // semantic conventions. It represents the average CPU load of the whole system
+ // for the last minute as reported by the JVM.
+ // Instrument: gauge
+ // Unit: {run_queue_item}
+ // Stability: Experimental
+ JvmSystemCPULoad1mName = "jvm.system.cpu.load_1m"
+ JvmSystemCPULoad1mUnit = "{run_queue_item}"
+ JvmSystemCPULoad1mDescription = "Average CPU load of the whole system for the last minute as reported by the JVM."
+
+ // JvmBufferMemoryUsage is the metric conforming to the
+ // "jvm.buffer.memory.usage" semantic conventions. It represents the measure of
+ // memory used by buffers.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ JvmBufferMemoryUsageName = "jvm.buffer.memory.usage"
+ JvmBufferMemoryUsageUnit = "By"
+ JvmBufferMemoryUsageDescription = "Measure of memory used by buffers."
+
+ // JvmBufferMemoryLimit is the metric conforming to the
+ // "jvm.buffer.memory.limit" semantic conventions. It represents the measure of
+ // total memory capacity of buffers.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ JvmBufferMemoryLimitName = "jvm.buffer.memory.limit"
+ JvmBufferMemoryLimitUnit = "By"
+ JvmBufferMemoryLimitDescription = "Measure of total memory capacity of buffers."
+
+ // JvmBufferCount is the metric conforming to the "jvm.buffer.count" semantic
+ // conventions. It represents the number of buffers in the pool.
+ // Instrument: updowncounter
+ // Unit: {buffer}
+ // Stability: Experimental
+ JvmBufferCountName = "jvm.buffer.count"
+ JvmBufferCountUnit = "{buffer}"
+ JvmBufferCountDescription = "Number of buffers in the pool."
+
+ // JvmMemoryUsed is the metric conforming to the "jvm.memory.used" semantic
+ // conventions. It represents the measure of memory used.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Stable
+ JvmMemoryUsedName = "jvm.memory.used"
+ JvmMemoryUsedUnit = "By"
+ JvmMemoryUsedDescription = "Measure of memory used."
+
+ // JvmMemoryCommitted is the metric conforming to the "jvm.memory.committed"
+ // semantic conventions. It represents the measure of memory committed.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Stable
+ JvmMemoryCommittedName = "jvm.memory.committed"
+ JvmMemoryCommittedUnit = "By"
+ JvmMemoryCommittedDescription = "Measure of memory committed."
+
+ // JvmMemoryLimit is the metric conforming to the "jvm.memory.limit" semantic
+ // conventions. It represents the measure of max obtainable memory.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Stable
+ JvmMemoryLimitName = "jvm.memory.limit"
+ JvmMemoryLimitUnit = "By"
+ JvmMemoryLimitDescription = "Measure of max obtainable memory."
+
+ // JvmMemoryUsedAfterLastGc is the metric conforming to the
+ // "jvm.memory.used_after_last_gc" semantic conventions. It represents the
+ // measure of memory used, as measured after the most recent garbage collection
+ // event on this pool.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Stable
+ JvmMemoryUsedAfterLastGcName = "jvm.memory.used_after_last_gc"
+ JvmMemoryUsedAfterLastGcUnit = "By"
+ JvmMemoryUsedAfterLastGcDescription = "Measure of memory used, as measured after the most recent garbage collection event on this pool."
+
+ // JvmGcDuration is the metric conforming to the "jvm.gc.duration" semantic
+ // conventions. It represents the duration of JVM garbage collection actions.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Stable
+ JvmGcDurationName = "jvm.gc.duration"
+ JvmGcDurationUnit = "s"
+ JvmGcDurationDescription = "Duration of JVM garbage collection actions."
+
+ // JvmThreadCount is the metric conforming to the "jvm.thread.count" semantic
+ // conventions. It represents the number of executing platform threads.
+ // Instrument: updowncounter
+ // Unit: {thread}
+ // Stability: Stable
+ JvmThreadCountName = "jvm.thread.count"
+ JvmThreadCountUnit = "{thread}"
+ JvmThreadCountDescription = "Number of executing platform threads."
+
+ // JvmClassLoaded is the metric conforming to the "jvm.class.loaded" semantic
+ // conventions. It represents the number of classes loaded since JVM start.
+ // Instrument: counter
+ // Unit: {class}
+ // Stability: Stable
+ JvmClassLoadedName = "jvm.class.loaded"
+ JvmClassLoadedUnit = "{class}"
+ JvmClassLoadedDescription = "Number of classes loaded since JVM start."
+
+ // JvmClassUnloaded is the metric conforming to the "jvm.class.unloaded"
+ // semantic conventions. It represents the number of classes unloaded since JVM
+ // start.
+ // Instrument: counter
+ // Unit: {class}
+ // Stability: Stable
+ JvmClassUnloadedName = "jvm.class.unloaded"
+ JvmClassUnloadedUnit = "{class}"
+ JvmClassUnloadedDescription = "Number of classes unloaded since JVM start."
+
+ // JvmClassCount is the metric conforming to the "jvm.class.count" semantic
+ // conventions. It represents the number of classes currently loaded.
+ // Instrument: updowncounter
+ // Unit: {class}
+ // Stability: Stable
+ JvmClassCountName = "jvm.class.count"
+ JvmClassCountUnit = "{class}"
+ JvmClassCountDescription = "Number of classes currently loaded."
+
+ // JvmCPUCount is the metric conforming to the "jvm.cpu.count" semantic
+ // conventions. It represents the number of processors available to the Java
+ // virtual machine.
+ // Instrument: updowncounter
+ // Unit: {cpu}
+ // Stability: Stable
+ JvmCPUCountName = "jvm.cpu.count"
+ JvmCPUCountUnit = "{cpu}"
+ JvmCPUCountDescription = "Number of processors available to the Java virtual machine."
+
+ // JvmCPUTime is the metric conforming to the "jvm.cpu.time" semantic
+ // conventions. It represents the cPU time used by the process as reported by
+ // the JVM.
+ // Instrument: counter
+ // Unit: s
+ // Stability: Stable
+ JvmCPUTimeName = "jvm.cpu.time"
+ JvmCPUTimeUnit = "s"
+ JvmCPUTimeDescription = "CPU time used by the process as reported by the JVM."
+
+ // JvmCPURecentUtilization is the metric conforming to the
+ // "jvm.cpu.recent_utilization" semantic conventions. It represents the recent
+ // CPU utilization for the process as reported by the JVM.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Stable
+ JvmCPURecentUtilizationName = "jvm.cpu.recent_utilization"
+ JvmCPURecentUtilizationUnit = "1"
+ JvmCPURecentUtilizationDescription = "Recent CPU utilization for the process as reported by the JVM."
+
+ // MessagingPublishDuration is the metric conforming to the
+ // "messaging.publish.duration" semantic conventions. It represents the
+ // measures the duration of publish operation.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ MessagingPublishDurationName = "messaging.publish.duration"
+ MessagingPublishDurationUnit = "s"
+ MessagingPublishDurationDescription = "Measures the duration of publish operation."
+
+ // MessagingReceiveDuration is the metric conforming to the
+ // "messaging.receive.duration" semantic conventions. It represents the
+ // measures the duration of receive operation.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ MessagingReceiveDurationName = "messaging.receive.duration"
+ MessagingReceiveDurationUnit = "s"
+ MessagingReceiveDurationDescription = "Measures the duration of receive operation."
+
+ // MessagingProcessDuration is the metric conforming to the
+ // "messaging.process.duration" semantic conventions. It represents the
+ // measures the duration of process operation.
+ // Instrument: histogram
+ // Unit: s
+ // Stability: Experimental
+ MessagingProcessDurationName = "messaging.process.duration"
+ MessagingProcessDurationUnit = "s"
+ MessagingProcessDurationDescription = "Measures the duration of process operation."
+
+ // MessagingPublishMessages is the metric conforming to the
+ // "messaging.publish.messages" semantic conventions. It represents the
+ // measures the number of published messages.
+ // Instrument: counter
+ // Unit: {message}
+ // Stability: Experimental
+ MessagingPublishMessagesName = "messaging.publish.messages"
+ MessagingPublishMessagesUnit = "{message}"
+ MessagingPublishMessagesDescription = "Measures the number of published messages."
+
+ // MessagingReceiveMessages is the metric conforming to the
+ // "messaging.receive.messages" semantic conventions. It represents the
+ // measures the number of received messages.
+ // Instrument: counter
+ // Unit: {message}
+ // Stability: Experimental
+ MessagingReceiveMessagesName = "messaging.receive.messages"
+ MessagingReceiveMessagesUnit = "{message}"
+ MessagingReceiveMessagesDescription = "Measures the number of received messages."
+
+ // MessagingProcessMessages is the metric conforming to the
+ // "messaging.process.messages" semantic conventions. It represents the
+ // measures the number of processed messages.
+ // Instrument: counter
+ // Unit: {message}
+ // Stability: Experimental
+ MessagingProcessMessagesName = "messaging.process.messages"
+ MessagingProcessMessagesUnit = "{message}"
+ MessagingProcessMessagesDescription = "Measures the number of processed messages."
+
+ // ProcessCPUTime is the metric conforming to the "process.cpu.time" semantic
+ // conventions. It represents the total CPU seconds broken down by different
+ // states.
+ // Instrument: counter
+ // Unit: s
+ // Stability: Experimental
+ ProcessCPUTimeName = "process.cpu.time"
+ ProcessCPUTimeUnit = "s"
+ ProcessCPUTimeDescription = "Total CPU seconds broken down by different states."
+
+ // ProcessCPUUtilization is the metric conforming to the
+ // "process.cpu.utilization" semantic conventions. It represents the difference
+ // in process.cpu.time since the last measurement, divided by the elapsed time
+ // and number of CPUs available to the process.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Experimental
+ ProcessCPUUtilizationName = "process.cpu.utilization"
+ ProcessCPUUtilizationUnit = "1"
+ ProcessCPUUtilizationDescription = "Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process."
+
+ // ProcessMemoryUsage is the metric conforming to the "process.memory.usage"
+ // semantic conventions. It represents the amount of physical memory in use.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ ProcessMemoryUsageName = "process.memory.usage"
+ ProcessMemoryUsageUnit = "By"
+ ProcessMemoryUsageDescription = "The amount of physical memory in use."
+
+ // ProcessMemoryVirtual is the metric conforming to the
+ // "process.memory.virtual" semantic conventions. It represents the amount of
+ // committed virtual memory.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ ProcessMemoryVirtualName = "process.memory.virtual"
+ ProcessMemoryVirtualUnit = "By"
+ ProcessMemoryVirtualDescription = "The amount of committed virtual memory."
+
+ // ProcessDiskIo is the metric conforming to the "process.disk.io" semantic
+ // conventions. It represents the disk bytes transferred.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ ProcessDiskIoName = "process.disk.io"
+ ProcessDiskIoUnit = "By"
+ ProcessDiskIoDescription = "Disk bytes transferred."
+
+ // ProcessNetworkIo is the metric conforming to the "process.network.io"
+ // semantic conventions. It represents the network bytes transferred.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ ProcessNetworkIoName = "process.network.io"
+ ProcessNetworkIoUnit = "By"
+ ProcessNetworkIoDescription = "Network bytes transferred."
+
+ // ProcessThreadCount is the metric conforming to the "process.thread.count"
+ // semantic conventions. It represents the process threads count.
+ // Instrument: updowncounter
+ // Unit: {thread}
+ // Stability: Experimental
+ ProcessThreadCountName = "process.thread.count"
+ ProcessThreadCountUnit = "{thread}"
+ ProcessThreadCountDescription = "Process threads count."
+
+ // ProcessOpenFileDescriptorCount is the metric conforming to the
+ // "process.open_file_descriptor.count" semantic conventions. It represents the
+ // number of file descriptors in use by the process.
+ // Instrument: updowncounter
+ // Unit: {count}
+ // Stability: Experimental
+ ProcessOpenFileDescriptorCountName = "process.open_file_descriptor.count"
+ ProcessOpenFileDescriptorCountUnit = "{count}"
+ ProcessOpenFileDescriptorCountDescription = "Number of file descriptors in use by the process."
+
+ // ProcessContextSwitches is the metric conforming to the
+ // "process.context_switches" semantic conventions. It represents the number of
+ // times the process has been context switched.
+ // Instrument: counter
+ // Unit: {count}
+ // Stability: Experimental
+ ProcessContextSwitchesName = "process.context_switches"
+ ProcessContextSwitchesUnit = "{count}"
+ ProcessContextSwitchesDescription = "Number of times the process has been context switched."
+
+ // ProcessPagingFaults is the metric conforming to the "process.paging.faults"
+ // semantic conventions. It represents the number of page faults the process
+ // has made.
+ // Instrument: counter
+ // Unit: {fault}
+ // Stability: Experimental
+ ProcessPagingFaultsName = "process.paging.faults"
+ ProcessPagingFaultsUnit = "{fault}"
+ ProcessPagingFaultsDescription = "Number of page faults the process has made."
+
+ // RPCServerDuration is the metric conforming to the "rpc.server.duration"
+ // semantic conventions. It represents the measures the duration of inbound
+ // RPC.
+ // Instrument: histogram
+ // Unit: ms
+ // Stability: Experimental
+ RPCServerDurationName = "rpc.server.duration"
+ RPCServerDurationUnit = "ms"
+ RPCServerDurationDescription = "Measures the duration of inbound RPC."
+
+ // RPCServerRequestSize is the metric conforming to the
+ // "rpc.server.request.size" semantic conventions. It represents the measures
+ // the size of RPC request messages (uncompressed).
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ RPCServerRequestSizeName = "rpc.server.request.size"
+ RPCServerRequestSizeUnit = "By"
+ RPCServerRequestSizeDescription = "Measures the size of RPC request messages (uncompressed)."
+
+ // RPCServerResponseSize is the metric conforming to the
+ // "rpc.server.response.size" semantic conventions. It represents the measures
+ // the size of RPC response messages (uncompressed).
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ RPCServerResponseSizeName = "rpc.server.response.size"
+ RPCServerResponseSizeUnit = "By"
+ RPCServerResponseSizeDescription = "Measures the size of RPC response messages (uncompressed)."
+
+ // RPCServerRequestsPerRPC is the metric conforming to the
+ // "rpc.server.requests_per_rpc" semantic conventions. It represents the
+ // measures the number of messages received per RPC.
+ // Instrument: histogram
+ // Unit: {count}
+ // Stability: Experimental
+ RPCServerRequestsPerRPCName = "rpc.server.requests_per_rpc"
+ RPCServerRequestsPerRPCUnit = "{count}"
+ RPCServerRequestsPerRPCDescription = "Measures the number of messages received per RPC."
+
+ // RPCServerResponsesPerRPC is the metric conforming to the
+ // "rpc.server.responses_per_rpc" semantic conventions. It represents the
+ // measures the number of messages sent per RPC.
+ // Instrument: histogram
+ // Unit: {count}
+ // Stability: Experimental
+ RPCServerResponsesPerRPCName = "rpc.server.responses_per_rpc"
+ RPCServerResponsesPerRPCUnit = "{count}"
+ RPCServerResponsesPerRPCDescription = "Measures the number of messages sent per RPC."
+
+ // RPCClientDuration is the metric conforming to the "rpc.client.duration"
+ // semantic conventions. It represents the measures the duration of outbound
+ // RPC.
+ // Instrument: histogram
+ // Unit: ms
+ // Stability: Experimental
+ RPCClientDurationName = "rpc.client.duration"
+ RPCClientDurationUnit = "ms"
+ RPCClientDurationDescription = "Measures the duration of outbound RPC."
+
+ // RPCClientRequestSize is the metric conforming to the
+ // "rpc.client.request.size" semantic conventions. It represents the measures
+ // the size of RPC request messages (uncompressed).
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ RPCClientRequestSizeName = "rpc.client.request.size"
+ RPCClientRequestSizeUnit = "By"
+ RPCClientRequestSizeDescription = "Measures the size of RPC request messages (uncompressed)."
+
+ // RPCClientResponseSize is the metric conforming to the
+ // "rpc.client.response.size" semantic conventions. It represents the measures
+ // the size of RPC response messages (uncompressed).
+ // Instrument: histogram
+ // Unit: By
+ // Stability: Experimental
+ RPCClientResponseSizeName = "rpc.client.response.size"
+ RPCClientResponseSizeUnit = "By"
+ RPCClientResponseSizeDescription = "Measures the size of RPC response messages (uncompressed)."
+
+ // RPCClientRequestsPerRPC is the metric conforming to the
+ // "rpc.client.requests_per_rpc" semantic conventions. It represents the
+ // measures the number of messages received per RPC.
+ // Instrument: histogram
+ // Unit: {count}
+ // Stability: Experimental
+ RPCClientRequestsPerRPCName = "rpc.client.requests_per_rpc"
+ RPCClientRequestsPerRPCUnit = "{count}"
+ RPCClientRequestsPerRPCDescription = "Measures the number of messages received per RPC."
+
+ // RPCClientResponsesPerRPC is the metric conforming to the
+ // "rpc.client.responses_per_rpc" semantic conventions. It represents the
+ // measures the number of messages sent per RPC.
+ // Instrument: histogram
+ // Unit: {count}
+ // Stability: Experimental
+ RPCClientResponsesPerRPCName = "rpc.client.responses_per_rpc"
+ RPCClientResponsesPerRPCUnit = "{count}"
+ RPCClientResponsesPerRPCDescription = "Measures the number of messages sent per RPC."
+
+ // SystemCPUTime is the metric conforming to the "system.cpu.time" semantic
+ // conventions. It represents the seconds each logical CPU spent on each mode.
+ // Instrument: counter
+ // Unit: s
+ // Stability: Experimental
+ SystemCPUTimeName = "system.cpu.time"
+ SystemCPUTimeUnit = "s"
+ SystemCPUTimeDescription = "Seconds each logical CPU spent on each mode"
+
+ // SystemCPUUtilization is the metric conforming to the
+ // "system.cpu.utilization" semantic conventions. It represents the difference
+ // in system.cpu.time since the last measurement, divided by the elapsed time
+ // and number of logical CPUs.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Experimental
+ SystemCPUUtilizationName = "system.cpu.utilization"
+ SystemCPUUtilizationUnit = "1"
+ SystemCPUUtilizationDescription = "Difference in system.cpu.time since the last measurement, divided by the elapsed time and number of logical CPUs"
+
+ // SystemCPUFrequency is the metric conforming to the "system.cpu.frequency"
+ // semantic conventions. It represents the reports the current frequency of the
+ // CPU in Hz.
+ // Instrument: gauge
+ // Unit: {Hz}
+ // Stability: Experimental
+ SystemCPUFrequencyName = "system.cpu.frequency"
+ SystemCPUFrequencyUnit = "{Hz}"
+ SystemCPUFrequencyDescription = "Reports the current frequency of the CPU in Hz"
+
+ // SystemCPUPhysicalCount is the metric conforming to the
+ // "system.cpu.physical.count" semantic conventions. It represents the reports
+ // the number of actual physical processor cores on the hardware.
+ // Instrument: updowncounter
+ // Unit: {cpu}
+ // Stability: Experimental
+ SystemCPUPhysicalCountName = "system.cpu.physical.count"
+ SystemCPUPhysicalCountUnit = "{cpu}"
+ SystemCPUPhysicalCountDescription = "Reports the number of actual physical processor cores on the hardware"
+
+ // SystemCPULogicalCount is the metric conforming to the
+ // "system.cpu.logical.count" semantic conventions. It represents the reports
+ // the number of logical (virtual) processor cores created by the operating
+ // system to manage multitasking.
+ // Instrument: updowncounter
+ // Unit: {cpu}
+ // Stability: Experimental
+ SystemCPULogicalCountName = "system.cpu.logical.count"
+ SystemCPULogicalCountUnit = "{cpu}"
+ SystemCPULogicalCountDescription = "Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking"
+
+ // SystemMemoryUsage is the metric conforming to the "system.memory.usage"
+ // semantic conventions. It represents the reports memory in use by state.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ SystemMemoryUsageName = "system.memory.usage"
+ SystemMemoryUsageUnit = "By"
+ SystemMemoryUsageDescription = "Reports memory in use by state."
+
+ // SystemMemoryLimit is the metric conforming to the "system.memory.limit"
+ // semantic conventions. It represents the total memory available in the
+ // system.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ SystemMemoryLimitName = "system.memory.limit"
+ SystemMemoryLimitUnit = "By"
+ SystemMemoryLimitDescription = "Total memory available in the system."
+
+ // SystemMemoryUtilization is the metric conforming to the
+ // "system.memory.utilization" semantic conventions.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemMemoryUtilizationName = "system.memory.utilization"
+ SystemMemoryUtilizationUnit = "1"
+
+ // SystemPagingUsage is the metric conforming to the "system.paging.usage"
+ // semantic conventions. It represents the unix swap or windows pagefile usage.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ SystemPagingUsageName = "system.paging.usage"
+ SystemPagingUsageUnit = "By"
+ SystemPagingUsageDescription = "Unix swap or windows pagefile usage"
+
+ // SystemPagingUtilization is the metric conforming to the
+ // "system.paging.utilization" semantic conventions.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemPagingUtilizationName = "system.paging.utilization"
+ SystemPagingUtilizationUnit = "1"
+
+ // SystemPagingFaults is the metric conforming to the "system.paging.faults"
+ // semantic conventions.
+ // Instrument: counter
+ // Unit: {fault}
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemPagingFaultsName = "system.paging.faults"
+ SystemPagingFaultsUnit = "{fault}"
+
+ // SystemPagingOperations is the metric conforming to the
+ // "system.paging.operations" semantic conventions.
+ // Instrument: counter
+ // Unit: {operation}
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemPagingOperationsName = "system.paging.operations"
+ SystemPagingOperationsUnit = "{operation}"
+
+ // SystemDiskIo is the metric conforming to the "system.disk.io" semantic
+ // conventions.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemDiskIoName = "system.disk.io"
+ SystemDiskIoUnit = "By"
+
+ // SystemDiskOperations is the metric conforming to the
+ // "system.disk.operations" semantic conventions.
+ // Instrument: counter
+ // Unit: {operation}
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemDiskOperationsName = "system.disk.operations"
+ SystemDiskOperationsUnit = "{operation}"
+
+ // SystemDiskIoTime is the metric conforming to the "system.disk.io_time"
+ // semantic conventions. It represents the time disk spent activated.
+ // Instrument: counter
+ // Unit: s
+ // Stability: Experimental
+ SystemDiskIoTimeName = "system.disk.io_time"
+ SystemDiskIoTimeUnit = "s"
+ SystemDiskIoTimeDescription = "Time disk spent activated"
+
+ // SystemDiskOperationTime is the metric conforming to the
+ // "system.disk.operation_time" semantic conventions. It represents the sum of
+ // the time each operation took to complete.
+ // Instrument: counter
+ // Unit: s
+ // Stability: Experimental
+ SystemDiskOperationTimeName = "system.disk.operation_time"
+ SystemDiskOperationTimeUnit = "s"
+ SystemDiskOperationTimeDescription = "Sum of the time each operation took to complete"
+
+ // SystemDiskMerged is the metric conforming to the "system.disk.merged"
+ // semantic conventions.
+ // Instrument: counter
+ // Unit: {operation}
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemDiskMergedName = "system.disk.merged"
+ SystemDiskMergedUnit = "{operation}"
+
+ // SystemFilesystemUsage is the metric conforming to the
+ // "system.filesystem.usage" semantic conventions.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemFilesystemUsageName = "system.filesystem.usage"
+ SystemFilesystemUsageUnit = "By"
+
+ // SystemFilesystemUtilization is the metric conforming to the
+ // "system.filesystem.utilization" semantic conventions.
+ // Instrument: gauge
+ // Unit: 1
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemFilesystemUtilizationName = "system.filesystem.utilization"
+ SystemFilesystemUtilizationUnit = "1"
+
+ // SystemNetworkDropped is the metric conforming to the
+ // "system.network.dropped" semantic conventions. It represents the count of
+ // packets that are dropped or discarded even though there was no error.
+ // Instrument: counter
+ // Unit: {packet}
+ // Stability: Experimental
+ SystemNetworkDroppedName = "system.network.dropped"
+ SystemNetworkDroppedUnit = "{packet}"
+ SystemNetworkDroppedDescription = "Count of packets that are dropped or discarded even though there was no error"
+
+ // SystemNetworkPackets is the metric conforming to the
+ // "system.network.packets" semantic conventions.
+ // Instrument: counter
+ // Unit: {packet}
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemNetworkPacketsName = "system.network.packets"
+ SystemNetworkPacketsUnit = "{packet}"
+
+ // SystemNetworkErrors is the metric conforming to the "system.network.errors"
+ // semantic conventions. It represents the count of network errors detected.
+ // Instrument: counter
+ // Unit: {error}
+ // Stability: Experimental
+ SystemNetworkErrorsName = "system.network.errors"
+ SystemNetworkErrorsUnit = "{error}"
+ SystemNetworkErrorsDescription = "Count of network errors detected"
+
+ // SystemNetworkIo is the metric conforming to the "system.network.io" semantic
+ // conventions.
+ // Instrument: counter
+ // Unit: By
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemNetworkIoName = "system.network.io"
+ SystemNetworkIoUnit = "By"
+
+ // SystemNetworkConnections is the metric conforming to the
+ // "system.network.connections" semantic conventions.
+ // Instrument: updowncounter
+ // Unit: {connection}
+ // Stability: Experimental
+ // NOTE: The description (brief) for this metric is not defined in the semantic-conventions repository.
+ SystemNetworkConnectionsName = "system.network.connections"
+ SystemNetworkConnectionsUnit = "{connection}"
+
+ // SystemProcessCount is the metric conforming to the "system.process.count"
+ // semantic conventions. It represents the total number of processes in each
+ // state.
+ // Instrument: updowncounter
+ // Unit: {process}
+ // Stability: Experimental
+ SystemProcessCountName = "system.process.count"
+ SystemProcessCountUnit = "{process}"
+ SystemProcessCountDescription = "Total number of processes in each state"
+
+ // SystemProcessCreated is the metric conforming to the
+ // "system.process.created" semantic conventions. It represents the total
+ // number of processes created over uptime of the host.
+ // Instrument: counter
+ // Unit: {process}
+ // Stability: Experimental
+ SystemProcessCreatedName = "system.process.created"
+ SystemProcessCreatedUnit = "{process}"
+ SystemProcessCreatedDescription = "Total number of processes created over uptime of the host"
+
+ // SystemLinuxMemoryAvailable is the metric conforming to the
+ // "system.linux.memory.available" semantic conventions. It represents an
+ // estimate of how much memory is available for starting new applications,
+ // without causing swapping.
+ // Instrument: updowncounter
+ // Unit: By
+ // Stability: Experimental
+ SystemLinuxMemoryAvailableName = "system.linux.memory.available"
+ SystemLinuxMemoryAvailableUnit = "By"
+ SystemLinuxMemoryAvailableDescription = "An estimate of how much memory is available for starting new applications, without causing swapping"
+)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/resource.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/resource.go
new file mode 100644
index 0000000000..13affea0dd
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/resource.go
@@ -0,0 +1,429 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated from semantic convention specification. DO NOT EDIT.
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
+
+import "go.opentelemetry.io/otel/attribute"
+
+// Resources used by AWS Elastic Container Service (ECS).
+const (
+ // AWSECSTaskIDKey is the attribute Key conforming to the "aws.ecs.task.id"
+ // semantic conventions. It represents the ID of a running ECS task. The ID
+ // MUST be extracted from `task.arn`.
+ //
+ // Type: string
+ // RequirementLevel: ConditionallyRequired (If and only if `task.arn` is
+ // populated.)
+ // Stability: experimental
+ // Examples: '10838bed-421f-43ef-870a-f43feacbbb5b',
+ // '23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd'
+ AWSECSTaskIDKey = attribute.Key("aws.ecs.task.id")
+
+ // AWSECSClusterARNKey is the attribute Key conforming to the
+ // "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an
+ // [ECS
+ // cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
+ AWSECSClusterARNKey = attribute.Key("aws.ecs.cluster.arn")
+
+ // AWSECSContainerARNKey is the attribute Key conforming to the
+ // "aws.ecs.container.arn" semantic conventions. It represents the Amazon
+ // Resource Name (ARN) of an [ECS container
+ // instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'arn:aws:ecs:us-west-1:123456789123:container/32624152-9086-4f0e-acae-1a75b14fe4d9'
+ AWSECSContainerARNKey = attribute.Key("aws.ecs.container.arn")
+
+ // AWSECSLaunchtypeKey is the attribute Key conforming to the
+ // "aws.ecs.launchtype" semantic conventions. It represents the [launch
+ // type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html)
+ // for an ECS task.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ AWSECSLaunchtypeKey = attribute.Key("aws.ecs.launchtype")
+
+ // AWSECSTaskARNKey is the attribute Key conforming to the
+ // "aws.ecs.task.arn" semantic conventions. It represents the ARN of a
+ // running [ECS
+ // task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'arn:aws:ecs:us-west-1:123456789123:task/10838bed-421f-43ef-870a-f43feacbbb5b',
+ // 'arn:aws:ecs:us-west-1:123456789123:task/my-cluster/task-id/23ebb8ac-c18f-46c6-8bbe-d55d0e37cfbd'
+ AWSECSTaskARNKey = attribute.Key("aws.ecs.task.arn")
+
+ // AWSECSTaskFamilyKey is the attribute Key conforming to the
+ // "aws.ecs.task.family" semantic conventions. It represents the family
+ // name of the [ECS task
+ // definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html)
+ // used to create the ECS task.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'opentelemetry-family'
+ AWSECSTaskFamilyKey = attribute.Key("aws.ecs.task.family")
+
+ // AWSECSTaskRevisionKey is the attribute Key conforming to the
+ // "aws.ecs.task.revision" semantic conventions. It represents the revision
+ // for the task definition used to create the ECS task.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '8', '26'
+ AWSECSTaskRevisionKey = attribute.Key("aws.ecs.task.revision")
+)
+
+var (
+ // ec2
+ AWSECSLaunchtypeEC2 = AWSECSLaunchtypeKey.String("ec2")
+ // fargate
+ AWSECSLaunchtypeFargate = AWSECSLaunchtypeKey.String("fargate")
+)
+
+// AWSECSTaskID returns an attribute KeyValue conforming to the
+// "aws.ecs.task.id" semantic conventions. It represents the ID of a running
+// ECS task. The ID MUST be extracted from `task.arn`.
+func AWSECSTaskID(val string) attribute.KeyValue {
+ return AWSECSTaskIDKey.String(val)
+}
+
+// AWSECSClusterARN returns an attribute KeyValue conforming to the
+// "aws.ecs.cluster.arn" semantic conventions. It represents the ARN of an [ECS
+// cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
+func AWSECSClusterARN(val string) attribute.KeyValue {
+ return AWSECSClusterARNKey.String(val)
+}
+
+// AWSECSContainerARN returns an attribute KeyValue conforming to the
+// "aws.ecs.container.arn" semantic conventions. It represents the Amazon
+// Resource Name (ARN) of an [ECS container
+// instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
+func AWSECSContainerARN(val string) attribute.KeyValue {
+ return AWSECSContainerARNKey.String(val)
+}
+
+// AWSECSTaskARN returns an attribute KeyValue conforming to the
+// "aws.ecs.task.arn" semantic conventions. It represents the ARN of a running
+// [ECS
+// task](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-account-settings.html#ecs-resource-ids).
+func AWSECSTaskARN(val string) attribute.KeyValue {
+ return AWSECSTaskARNKey.String(val)
+}
+
+// AWSECSTaskFamily returns an attribute KeyValue conforming to the
+// "aws.ecs.task.family" semantic conventions. It represents the family name of
+// the [ECS task
+// definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html)
+// used to create the ECS task.
+func AWSECSTaskFamily(val string) attribute.KeyValue {
+ return AWSECSTaskFamilyKey.String(val)
+}
+
+// AWSECSTaskRevision returns an attribute KeyValue conforming to the
+// "aws.ecs.task.revision" semantic conventions. It represents the revision for
+// the task definition used to create the ECS task.
+func AWSECSTaskRevision(val string) attribute.KeyValue {
+ return AWSECSTaskRevisionKey.String(val)
+}
+
+// Resources used by AWS Elastic Kubernetes Service (EKS).
+const (
+ // AWSEKSClusterARNKey is the attribute Key conforming to the
+ // "aws.eks.cluster.arn" semantic conventions. It represents the ARN of an
+ // EKS cluster.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'arn:aws:ecs:us-west-2:123456789123:cluster/my-cluster'
+ AWSEKSClusterARNKey = attribute.Key("aws.eks.cluster.arn")
+)
+
+// AWSEKSClusterARN returns an attribute KeyValue conforming to the
+// "aws.eks.cluster.arn" semantic conventions. It represents the ARN of an EKS
+// cluster.
+func AWSEKSClusterARN(val string) attribute.KeyValue {
+ return AWSEKSClusterARNKey.String(val)
+}
+
+// Resources specific to Amazon Web Services.
+const (
+ // AWSLogGroupARNsKey is the attribute Key conforming to the
+ // "aws.log.group.arns" semantic conventions. It represents the Amazon
+ // Resource Name(s) (ARN) of the AWS log group(s).
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:*'
+ // Note: See the [log group ARN format
+ // documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
+ AWSLogGroupARNsKey = attribute.Key("aws.log.group.arns")
+
+ // AWSLogGroupNamesKey is the attribute Key conforming to the
+ // "aws.log.group.names" semantic conventions. It represents the name(s) of
+ // the AWS log group(s) an application is writing to.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '/aws/lambda/my-function', 'opentelemetry-service'
+ // Note: Multiple log groups must be supported for cases like
+ // multi-container applications, where a single application has sidecar
+ // containers, and each write to their own log group.
+ AWSLogGroupNamesKey = attribute.Key("aws.log.group.names")
+
+ // AWSLogStreamARNsKey is the attribute Key conforming to the
+ // "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of
+ // the AWS log stream(s).
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'arn:aws:logs:us-west-1:123456789012:log-group:/aws/my/group:log-stream:logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
+ // Note: See the [log stream ARN format
+ // documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
+ // One log group can contain several log streams, so these ARNs necessarily
+ // identify both a log group and a log stream.
+ AWSLogStreamARNsKey = attribute.Key("aws.log.stream.arns")
+
+ // AWSLogStreamNamesKey is the attribute Key conforming to the
+ // "aws.log.stream.names" semantic conventions. It represents the name(s)
+ // of the AWS log stream(s) an application is writing to.
+ //
+ // Type: string[]
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'logs/main/10838bed-421f-43ef-870a-f43feacbbb5b'
+ AWSLogStreamNamesKey = attribute.Key("aws.log.stream.names")
+)
+
+// AWSLogGroupARNs returns an attribute KeyValue conforming to the
+// "aws.log.group.arns" semantic conventions. It represents the Amazon Resource
+// Name(s) (ARN) of the AWS log group(s).
+func AWSLogGroupARNs(val ...string) attribute.KeyValue {
+ return AWSLogGroupARNsKey.StringSlice(val)
+}
+
+// AWSLogGroupNames returns an attribute KeyValue conforming to the
+// "aws.log.group.names" semantic conventions. It represents the name(s) of the
+// AWS log group(s) an application is writing to.
+func AWSLogGroupNames(val ...string) attribute.KeyValue {
+ return AWSLogGroupNamesKey.StringSlice(val)
+}
+
+// AWSLogStreamARNs returns an attribute KeyValue conforming to the
+// "aws.log.stream.arns" semantic conventions. It represents the ARN(s) of the
+// AWS log stream(s).
+func AWSLogStreamARNs(val ...string) attribute.KeyValue {
+ return AWSLogStreamARNsKey.StringSlice(val)
+}
+
+// AWSLogStreamNames returns an attribute KeyValue conforming to the
+// "aws.log.stream.names" semantic conventions. It represents the name(s) of
+// the AWS log stream(s) an application is writing to.
+func AWSLogStreamNames(val ...string) attribute.KeyValue {
+ return AWSLogStreamNamesKey.StringSlice(val)
+}
+
+// Heroku dyno metadata
+const (
+ // HerokuAppIDKey is the attribute Key conforming to the "heroku.app.id"
+ // semantic conventions. It represents the unique identifier for the
+ // application
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '2daa2797-e42b-4624-9322-ec3f968df4da'
+ HerokuAppIDKey = attribute.Key("heroku.app.id")
+
+ // HerokuReleaseCommitKey is the attribute Key conforming to the
+ // "heroku.release.commit" semantic conventions. It represents the commit
+ // hash for the current release
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'e6134959463efd8966b20e75b913cafe3f5ec'
+ HerokuReleaseCommitKey = attribute.Key("heroku.release.commit")
+
+ // HerokuReleaseCreationTimestampKey is the attribute Key conforming to the
+ // "heroku.release.creation_timestamp" semantic conventions. It represents
+ // the time and date the release was created
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '2022-10-23T18:00:42Z'
+ HerokuReleaseCreationTimestampKey = attribute.Key("heroku.release.creation_timestamp")
+)
+
+// HerokuAppID returns an attribute KeyValue conforming to the
+// "heroku.app.id" semantic conventions. It represents the unique identifier
+// for the application
+func HerokuAppID(val string) attribute.KeyValue {
+ return HerokuAppIDKey.String(val)
+}
+
+// HerokuReleaseCommit returns an attribute KeyValue conforming to the
+// "heroku.release.commit" semantic conventions. It represents the commit hash
+// for the current release
+func HerokuReleaseCommit(val string) attribute.KeyValue {
+ return HerokuReleaseCommitKey.String(val)
+}
+
+// HerokuReleaseCreationTimestamp returns an attribute KeyValue conforming
+// to the "heroku.release.creation_timestamp" semantic conventions. It
+// represents the time and date the release was created
+func HerokuReleaseCreationTimestamp(val string) attribute.KeyValue {
+ return HerokuReleaseCreationTimestampKey.String(val)
+}
+
+// Resource describing the packaged software running the application code. Web
+// engines are typically executed using process.runtime.
+const (
+ // WebEngineNameKey is the attribute Key conforming to the "webengine.name"
+ // semantic conventions. It represents the name of the web engine.
+ //
+ // Type: string
+ // RequirementLevel: Required
+ // Stability: experimental
+ // Examples: 'WildFly'
+ WebEngineNameKey = attribute.Key("webengine.name")
+
+ // WebEngineDescriptionKey is the attribute Key conforming to the
+ // "webengine.description" semantic conventions. It represents the
+ // additional description of the web engine (e.g. detailed version and
+ // edition information).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'WildFly Full 21.0.0.Final (WildFly Core 13.0.1.Final) -
+ // 2.2.2.Final'
+ WebEngineDescriptionKey = attribute.Key("webengine.description")
+
+ // WebEngineVersionKey is the attribute Key conforming to the
+ // "webengine.version" semantic conventions. It represents the version of
+ // the web engine.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '21.0.0'
+ WebEngineVersionKey = attribute.Key("webengine.version")
+)
+
+// WebEngineName returns an attribute KeyValue conforming to the
+// "webengine.name" semantic conventions. It represents the name of the web
+// engine.
+func WebEngineName(val string) attribute.KeyValue {
+ return WebEngineNameKey.String(val)
+}
+
+// WebEngineDescription returns an attribute KeyValue conforming to the
+// "webengine.description" semantic conventions. It represents the additional
+// description of the web engine (e.g. detailed version and edition
+// information).
+func WebEngineDescription(val string) attribute.KeyValue {
+ return WebEngineDescriptionKey.String(val)
+}
+
+// WebEngineVersion returns an attribute KeyValue conforming to the
+// "webengine.version" semantic conventions. It represents the version of the
+// web engine.
+func WebEngineVersion(val string) attribute.KeyValue {
+ return WebEngineVersionKey.String(val)
+}
+
+// Attributes used by non-OTLP exporters to represent OpenTelemetry Scope's
+// concepts.
+const (
+ // OTelScopeNameKey is the attribute Key conforming to the
+ // "otel.scope.name" semantic conventions. It represents the name of the
+ // instrumentation scope - (`InstrumentationScope.Name` in OTLP).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'io.opentelemetry.contrib.mongodb'
+ OTelScopeNameKey = attribute.Key("otel.scope.name")
+
+ // OTelScopeVersionKey is the attribute Key conforming to the
+ // "otel.scope.version" semantic conventions. It represents the version of
+ // the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: '1.0.0'
+ OTelScopeVersionKey = attribute.Key("otel.scope.version")
+)
+
+// OTelScopeName returns an attribute KeyValue conforming to the
+// "otel.scope.name" semantic conventions. It represents the name of the
+// instrumentation scope - (`InstrumentationScope.Name` in OTLP).
+func OTelScopeName(val string) attribute.KeyValue {
+ return OTelScopeNameKey.String(val)
+}
+
+// OTelScopeVersion returns an attribute KeyValue conforming to the
+// "otel.scope.version" semantic conventions. It represents the version of the
+// instrumentation scope - (`InstrumentationScope.Version` in OTLP).
+func OTelScopeVersion(val string) attribute.KeyValue {
+ return OTelScopeVersionKey.String(val)
+}
+
+// Span attributes used by non-OTLP exporters to represent OpenTelemetry
+// Scope's concepts.
+const (
+ // OTelLibraryNameKey is the attribute Key conforming to the
+ // "otel.library.name" semantic conventions. It represents the none
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'io.opentelemetry.contrib.mongodb'
+ OTelLibraryNameKey = attribute.Key("otel.library.name")
+
+ // OTelLibraryVersionKey is the attribute Key conforming to the
+ // "otel.library.version" semantic conventions. It represents the none
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '1.0.0'
+ OTelLibraryVersionKey = attribute.Key("otel.library.version")
+)
+
+// OTelLibraryName returns an attribute KeyValue conforming to the
+// "otel.library.name" semantic conventions. It represents the none
+func OTelLibraryName(val string) attribute.KeyValue {
+ return OTelLibraryNameKey.String(val)
+}
+
+// OTelLibraryVersion returns an attribute KeyValue conforming to the
+// "otel.library.version" semantic conventions. It represents the none
+func OTelLibraryVersion(val string) attribute.KeyValue {
+ return OTelLibraryVersionKey.String(val)
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/schema.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/schema.go
new file mode 100644
index 0000000000..584431153a
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/schema.go
@@ -0,0 +1,9 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
+
+// SchemaURL is the schema URL that matches the version of the semantic conventions
+// that this package defines. Semconv packages starting from v1.4.0 must declare
+// non-empty schema URL in the form https://opentelemetry.io/schemas/
+const SchemaURL = "https://opentelemetry.io/schemas/1.25.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/trace.go
new file mode 100644
index 0000000000..5c5ede223f
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.25.0/trace.go
@@ -0,0 +1,393 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+// Code generated from semantic convention specification. DO NOT EDIT.
+
+package semconv // import "go.opentelemetry.io/otel/semconv/v1.25.0"
+
+import "go.opentelemetry.io/otel/attribute"
+
+// Operations that access some remote service.
+const (
+ // PeerServiceKey is the attribute Key conforming to the "peer.service"
+ // semantic conventions. It represents the
+ // [`service.name`](/docs/resource/README.md#service) of the remote
+ // service. SHOULD be equal to the actual `service.name` resource attribute
+ // of the remote service if any.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'AuthTokenCache'
+ PeerServiceKey = attribute.Key("peer.service")
+)
+
+// PeerService returns an attribute KeyValue conforming to the
+// "peer.service" semantic conventions. It represents the
+// [`service.name`](/docs/resource/README.md#service) of the remote service.
+// SHOULD be equal to the actual `service.name` resource attribute of the
+// remote service if any.
+func PeerService(val string) attribute.KeyValue {
+ return PeerServiceKey.String(val)
+}
+
+// Span attributes used by AWS Lambda (in addition to general `faas`
+// attributes).
+const (
+ // AWSLambdaInvokedARNKey is the attribute Key conforming to the
+ // "aws.lambda.invoked_arn" semantic conventions. It represents the full
+ // invoked ARN as provided on the `Context` passed to the function
+ // (`Lambda-Runtime-Invoked-Function-ARN` header on the
+ // `/runtime/invocation/next` applicable).
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'arn:aws:lambda:us-east-1:123456:function:myfunction:myalias'
+ // Note: This may be different from `cloud.resource_id` if an alias is
+ // involved.
+ AWSLambdaInvokedARNKey = attribute.Key("aws.lambda.invoked_arn")
+)
+
+// AWSLambdaInvokedARN returns an attribute KeyValue conforming to the
+// "aws.lambda.invoked_arn" semantic conventions. It represents the full
+// invoked ARN as provided on the `Context` passed to the function
+// (`Lambda-Runtime-Invoked-Function-ARN` header on the
+// `/runtime/invocation/next` applicable).
+func AWSLambdaInvokedARN(val string) attribute.KeyValue {
+ return AWSLambdaInvokedARNKey.String(val)
+}
+
+// Semantic conventions for the OpenTracing Shim
+const (
+ // OpentracingRefTypeKey is the attribute Key conforming to the
+ // "opentracing.ref_type" semantic conventions. It represents the
+ // parent-child Reference type
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Note: The causal relationship between a child Span and a parent Span.
+ OpentracingRefTypeKey = attribute.Key("opentracing.ref_type")
+)
+
+var (
+ // The parent Span depends on the child Span in some capacity
+ OpentracingRefTypeChildOf = OpentracingRefTypeKey.String("child_of")
+ // The parent Span doesn't depend in any way on the result of the child Span
+ OpentracingRefTypeFollowsFrom = OpentracingRefTypeKey.String("follows_from")
+)
+
+// Span attributes used by non-OTLP exporters to represent OpenTelemetry Span's
+// concepts.
+const (
+ // OTelStatusCodeKey is the attribute Key conforming to the
+ // "otel.status_code" semantic conventions. It represents the name of the
+ // code, either "OK" or "ERROR". MUST NOT be set if the status code is
+ // UNSET.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: stable
+ OTelStatusCodeKey = attribute.Key("otel.status_code")
+
+ // OTelStatusDescriptionKey is the attribute Key conforming to the
+ // "otel.status_description" semantic conventions. It represents the
+ // description of the Status if it has a value, otherwise not set.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: stable
+ // Examples: 'resource not found'
+ OTelStatusDescriptionKey = attribute.Key("otel.status_description")
+)
+
+var (
+ // The operation has been validated by an Application developer or Operator to have completed successfully
+ OTelStatusCodeOk = OTelStatusCodeKey.String("OK")
+ // The operation contains an error
+ OTelStatusCodeError = OTelStatusCodeKey.String("ERROR")
+)
+
+// OTelStatusDescription returns an attribute KeyValue conforming to the
+// "otel.status_description" semantic conventions. It represents the
+// description of the Status if it has a value, otherwise not set.
+func OTelStatusDescription(val string) attribute.KeyValue {
+ return OTelStatusDescriptionKey.String(val)
+}
+
+// The `aws` conventions apply to operations using the AWS SDK. They map
+// request or response parameters in AWS SDK API calls to attributes on a Span.
+// The conventions have been collected over time based on feedback from AWS
+// users of tracing and will continue to evolve as new interesting conventions
+// are found.
+// Some descriptions are also provided for populating general OpenTelemetry
+// semantic conventions based on these APIs.
+const (
+ // AWSRequestIDKey is the attribute Key conforming to the "aws.request_id"
+ // semantic conventions. It represents the AWS request ID as returned in
+ // the response headers `x-amz-request-id` or `x-amz-requestid`.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: '79b9da39-b7ae-508a-a6bc-864b2829c622', 'C9ER4AJX75574TDJ'
+ AWSRequestIDKey = attribute.Key("aws.request_id")
+)
+
+// AWSRequestID returns an attribute KeyValue conforming to the
+// "aws.request_id" semantic conventions. It represents the AWS request ID as
+// returned in the response headers `x-amz-request-id` or `x-amz-requestid`.
+func AWSRequestID(val string) attribute.KeyValue {
+ return AWSRequestIDKey.String(val)
+}
+
+// Attributes that exist for S3 request types.
+const (
+ // AWSS3BucketKey is the attribute Key conforming to the "aws.s3.bucket"
+ // semantic conventions. It represents the S3 bucket name the request
+ // refers to. Corresponds to the `--bucket` parameter of the [S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+ // operations.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'some-bucket-name'
+ // Note: The `bucket` attribute is applicable to all S3 operations that
+ // reference a bucket, i.e. that require the bucket name as a mandatory
+ // parameter.
+ // This applies to almost all S3 operations except `list-buckets`.
+ AWSS3BucketKey = attribute.Key("aws.s3.bucket")
+
+ // AWSS3CopySourceKey is the attribute Key conforming to the
+ // "aws.s3.copy_source" semantic conventions. It represents the source
+ // object (in the form `bucket`/`key`) for the copy operation.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'someFile.yml'
+ // Note: The `copy_source` attribute applies to S3 copy operations and
+ // corresponds to the `--copy-source` parameter
+ // of the [copy-object operation within the S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html).
+ // This applies in particular to the following operations:
+ //
+ // -
+ // [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
+ // -
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ AWSS3CopySourceKey = attribute.Key("aws.s3.copy_source")
+
+ // AWSS3DeleteKey is the attribute Key conforming to the "aws.s3.delete"
+ // semantic conventions. It represents the delete request container that
+ // specifies the objects to be deleted.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples:
+ // 'Objects=[{Key=string,VersionID=string},{Key=string,VersionID=string}],Quiet=boolean'
+ // Note: The `delete` attribute is only applicable to the
+ // [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
+ // operation.
+ // The `delete` attribute corresponds to the `--delete` parameter of the
+ // [delete-objects operation within the S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-objects.html).
+ AWSS3DeleteKey = attribute.Key("aws.s3.delete")
+
+ // AWSS3KeyKey is the attribute Key conforming to the "aws.s3.key" semantic
+ // conventions. It represents the S3 object key the request refers to.
+ // Corresponds to the `--key` parameter of the [S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+ // operations.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'someFile.yml'
+ // Note: The `key` attribute is applicable to all object-related S3
+ // operations, i.e. that require the object key as a mandatory parameter.
+ // This applies in particular to the following operations:
+ //
+ // -
+ // [copy-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/copy-object.html)
+ // -
+ // [delete-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/delete-object.html)
+ // -
+ // [get-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object.html)
+ // -
+ // [head-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/head-object.html)
+ // -
+ // [put-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object.html)
+ // -
+ // [restore-object](https://docs.aws.amazon.com/cli/latest/reference/s3api/restore-object.html)
+ // -
+ // [select-object-content](https://docs.aws.amazon.com/cli/latest/reference/s3api/select-object-content.html)
+ // -
+ // [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
+ // -
+ // [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
+ // -
+ // [create-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/create-multipart-upload.html)
+ // -
+ // [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
+ // -
+ // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
+ // -
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ AWSS3KeyKey = attribute.Key("aws.s3.key")
+
+ // AWSS3PartNumberKey is the attribute Key conforming to the
+ // "aws.s3.part_number" semantic conventions. It represents the part number
+ // of the part being uploaded in a multipart-upload operation. This is a
+ // positive integer between 1 and 10,000.
+ //
+ // Type: int
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 3456
+ // Note: The `part_number` attribute is only applicable to the
+ // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
+ // and
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ // operations.
+ // The `part_number` attribute corresponds to the `--part-number` parameter
+ // of the
+ // [upload-part operation within the S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html).
+ AWSS3PartNumberKey = attribute.Key("aws.s3.part_number")
+
+ // AWSS3UploadIDKey is the attribute Key conforming to the
+ // "aws.s3.upload_id" semantic conventions. It represents the upload ID
+ // that identifies the multipart upload.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'dfRtDYWFbkRONycy.Yxwh66Yjlx.cph0gtNBtJ'
+ // Note: The `upload_id` attribute applies to S3 multipart-upload
+ // operations and corresponds to the `--upload-id` parameter
+ // of the [S3
+ // API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+ // multipart operations.
+ // This applies in particular to the following operations:
+ //
+ // -
+ // [abort-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/abort-multipart-upload.html)
+ // -
+ // [complete-multipart-upload](https://docs.aws.amazon.com/cli/latest/reference/s3api/complete-multipart-upload.html)
+ // -
+ // [list-parts](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-parts.html)
+ // -
+ // [upload-part](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part.html)
+ // -
+ // [upload-part-copy](https://docs.aws.amazon.com/cli/latest/reference/s3api/upload-part-copy.html)
+ AWSS3UploadIDKey = attribute.Key("aws.s3.upload_id")
+)
+
+// AWSS3Bucket returns an attribute KeyValue conforming to the
+// "aws.s3.bucket" semantic conventions. It represents the S3 bucket name the
+// request refers to. Corresponds to the `--bucket` parameter of the [S3
+// API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+// operations.
+func AWSS3Bucket(val string) attribute.KeyValue {
+ return AWSS3BucketKey.String(val)
+}
+
+// AWSS3CopySource returns an attribute KeyValue conforming to the
+// "aws.s3.copy_source" semantic conventions. It represents the source object
+// (in the form `bucket`/`key`) for the copy operation.
+func AWSS3CopySource(val string) attribute.KeyValue {
+ return AWSS3CopySourceKey.String(val)
+}
+
+// AWSS3Delete returns an attribute KeyValue conforming to the
+// "aws.s3.delete" semantic conventions. It represents the delete request
+// container that specifies the objects to be deleted.
+func AWSS3Delete(val string) attribute.KeyValue {
+ return AWSS3DeleteKey.String(val)
+}
+
+// AWSS3Key returns an attribute KeyValue conforming to the "aws.s3.key"
+// semantic conventions. It represents the S3 object key the request refers to.
+// Corresponds to the `--key` parameter of the [S3
+// API](https://docs.aws.amazon.com/cli/latest/reference/s3api/index.html)
+// operations.
+func AWSS3Key(val string) attribute.KeyValue {
+ return AWSS3KeyKey.String(val)
+}
+
+// AWSS3PartNumber returns an attribute KeyValue conforming to the
+// "aws.s3.part_number" semantic conventions. It represents the part number of
+// the part being uploaded in a multipart-upload operation. This is a positive
+// integer between 1 and 10,000.
+func AWSS3PartNumber(val int) attribute.KeyValue {
+ return AWSS3PartNumberKey.Int(val)
+}
+
+// AWSS3UploadID returns an attribute KeyValue conforming to the
+// "aws.s3.upload_id" semantic conventions. It represents the upload ID that
+// identifies the multipart upload.
+func AWSS3UploadID(val string) attribute.KeyValue {
+ return AWSS3UploadIDKey.String(val)
+}
+
+// Semantic conventions to apply when instrumenting the GraphQL implementation.
+// They map GraphQL operations to attributes on a Span.
+const (
+ // GraphqlDocumentKey is the attribute Key conforming to the
+ // "graphql.document" semantic conventions. It represents the GraphQL
+ // document being executed.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'query findBookByID { bookByID(id: ?) { name } }'
+ // Note: The value may be sanitized to exclude sensitive information.
+ GraphqlDocumentKey = attribute.Key("graphql.document")
+
+ // GraphqlOperationNameKey is the attribute Key conforming to the
+ // "graphql.operation.name" semantic conventions. It represents the name of
+ // the operation being executed.
+ //
+ // Type: string
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'findBookByID'
+ GraphqlOperationNameKey = attribute.Key("graphql.operation.name")
+
+ // GraphqlOperationTypeKey is the attribute Key conforming to the
+ // "graphql.operation.type" semantic conventions. It represents the type of
+ // the operation being executed.
+ //
+ // Type: Enum
+ // RequirementLevel: Optional
+ // Stability: experimental
+ // Examples: 'query', 'mutation', 'subscription'
+ GraphqlOperationTypeKey = attribute.Key("graphql.operation.type")
+)
+
+var (
+ // GraphQL query
+ GraphqlOperationTypeQuery = GraphqlOperationTypeKey.String("query")
+ // GraphQL mutation
+ GraphqlOperationTypeMutation = GraphqlOperationTypeKey.String("mutation")
+ // GraphQL subscription
+ GraphqlOperationTypeSubscription = GraphqlOperationTypeKey.String("subscription")
+)
+
+// GraphqlDocument returns an attribute KeyValue conforming to the
+// "graphql.document" semantic conventions. It represents the GraphQL document
+// being executed.
+func GraphqlDocument(val string) attribute.KeyValue {
+ return GraphqlDocumentKey.String(val)
+}
+
+// GraphqlOperationName returns an attribute KeyValue conforming to the
+// "graphql.operation.name" semantic conventions. It represents the name of the
+// operation being executed.
+func GraphqlOperationName(val string) attribute.KeyValue {
+ return GraphqlOperationNameKey.String(val)
+}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/README.md
new file mode 100644
index 0000000000..cfbc9055b3
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/README.md
@@ -0,0 +1,3 @@
+# Semconv v1.4.0
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/semconv/v1.4.0)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/doc.go
index c0b1723f8f..d83a66b9b4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package semconv implements OpenTelemetry semantic conventions.
//
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/exception.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/exception.go
index 311cbf218f..71a2ece3d3 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/exception.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/exception.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconv // import "go.opentelemetry.io/otel/semconv/v1.4.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/http.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/http.go
index 8d814edc26..f0c023cafb 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/http.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/http.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconv // import "go.opentelemetry.io/otel/semconv/v1.4.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/resource.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/resource.go
index 404bd4e751..66c340c121 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/resource.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/resource.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/schema.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/schema.go
index a78f1bf400..b9457bc0b8 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/schema.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/schema.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package semconv // import "go.opentelemetry.io/otel/semconv/v1.4.0"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/trace.go
index 805eadc9f5..006482a307 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/trace.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/semconv/v1.4.0/trace.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Code generated from semantic convention specification. DO NOT EDIT.
@@ -1012,7 +1001,7 @@ const (
// Stability: stable
// Examples: 'Users', 'CatsTable'
AWSDynamoDBExclusiveStartTableKey = attribute.Key("aws.dynamodb.exclusive_start_table")
- // The the number of items in the `TableNames` response parameter.
+ // The number of items in the `TableNames` response parameter.
//
// Type: int
// Required: No
@@ -1073,7 +1062,7 @@ const (
// Stability: stable
// Examples: '{ "AttributeName": "string", "AttributeType": "string" }'
AWSDynamoDBAttributeDefinitionsKey = attribute.Key("aws.dynamodb.attribute_definitions")
- // The JSON-serialized value of each item in the the `GlobalSecondaryIndexUpdates`
+ // The JSON-serialized value of each item in the `GlobalSecondaryIndexUpdates`
// request field.
//
// Type: string[]
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace.go
index caf7249de8..6836c65478 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/README.md
new file mode 100644
index 0000000000..58ccaba69b
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/README.md
@@ -0,0 +1,3 @@
+# Trace API
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/trace)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/config.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/config.go
index 3aadc66cf7..273d58e001 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/config.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/config.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/context.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/context.go
index 76f9a083c4..5650a174b4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/context.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/context.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/trace"
@@ -47,12 +36,12 @@ func ContextWithRemoteSpanContext(parent context.Context, rsc SpanContext) conte
// performs no operations is returned.
func SpanFromContext(ctx context.Context) Span {
if ctx == nil {
- return noopSpan{}
+ return noopSpanInstance
}
if span, ok := ctx.Value(currentSpanKey).(Span); ok {
return span
}
- return noopSpan{}
+ return noopSpanInstance
}
// SpanContextFromContext returns the current Span's SpanContext.
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/doc.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/doc.go
index 440f3d7565..d661c5d100 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/doc.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/doc.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
/*
Package trace provides an implementation of the tracing part of the
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/README.md
new file mode 100644
index 0000000000..7754a239ee
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/README.md
@@ -0,0 +1,3 @@
+# Trace Embedded
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/trace/embedded)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/embedded.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/embedded.go
index 898db5a754..3e359a00bf 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/embedded.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/embedded/embedded.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package embedded provides interfaces embedded within the [OpenTelemetry
// trace API].
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/nonrecording.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/nonrecording.go
index 88fcb81611..c00221e7be 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/nonrecording.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/nonrecording.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop.go
index c125491cae..ca20e9997a 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/trace"
@@ -52,7 +41,7 @@ func (t noopTracer) Start(ctx context.Context, name string, _ ...SpanStartOption
span := SpanFromContext(ctx)
if _, ok := span.(nonRecordingSpan); !ok {
// span is likely already a noopSpan, but let's be sure
- span = noopSpan{}
+ span = noopSpanInstance
}
return ContextWithSpan(ctx, span), span
}
@@ -60,7 +49,7 @@ func (t noopTracer) Start(ctx context.Context, name string, _ ...SpanStartOption
// noopSpan is an implementation of Span that performs no operations.
type noopSpan struct{ embedded.Span }
-var _ Span = noopSpan{}
+var noopSpanInstance Span = noopSpan{}
// SpanContext returns an empty span context.
func (noopSpan) SpanContext() SpanContext { return SpanContext{} }
@@ -86,6 +75,9 @@ func (noopSpan) RecordError(error, ...EventOption) {}
// AddEvent does nothing.
func (noopSpan) AddEvent(string, ...EventOption) {}
+// AddLink does nothing.
+func (noopSpan) AddLink(Link) {}
+
// SetName does nothing.
func (noopSpan) SetName(string) {}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/README.md b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/README.md
new file mode 100644
index 0000000000..cd382c82a1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/README.md
@@ -0,0 +1,3 @@
+# Trace Noop
+
+[](https://pkg.go.dev/go.opentelemetry.io/otel/trace/noop)
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/noop.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/noop.go
index 7f485543c4..1dfa52c521 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/noop.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/noop/noop.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
// Package noop provides an implementation of the OpenTelemetry trace API that
// produces no telemetry and minimizes used computation resources.
@@ -111,6 +100,9 @@ func (Span) RecordError(error, ...trace.EventOption) {}
// AddEvent does nothing.
func (Span) AddEvent(string, ...trace.EventOption) {}
+// AddLink does nothing.
+func (Span) AddLink(trace.Link) {}
+
// SetName does nothing.
func (Span) SetName(string) {}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/trace.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/trace.go
index 26a4b2260e..28877d4ab4 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/trace.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/trace.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/trace"
@@ -361,6 +350,12 @@ type Span interface {
// AddEvent adds an event with the provided name and options.
AddEvent(name string, options ...EventOption)
+ // AddLink adds a link.
+ // Adding links at span creation using WithLinks is preferred to calling AddLink
+ // later, for contexts that are available during span creation, because head
+ // sampling decisions can only consider information present during span creation.
+ AddLink(link Link)
+
// IsRecording returns the recording state of the Span. It will return
// true if the Span is active and events can be recorded.
IsRecording() bool
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/tracestate.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/tracestate.go
index db936ba5b7..20b5cf2433 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/tracestate.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/trace/tracestate.go
@@ -1,16 +1,5 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package trace // import "go.opentelemetry.io/otel/trace"
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_examples.sh b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_examples.sh
index dbb61a4227..e57bf57fce 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_examples.sh
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_examples.sh
@@ -1,18 +1,7 @@
#!/bin/bash
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_readmes.sh b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_readmes.sh
new file mode 100644
index 0000000000..1e87855eea
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/verify_readmes.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+# Copyright The OpenTelemetry Authors
+# SPDX-License-Identifier: Apache-2.0
+
+set -euo pipefail
+
+dirs=$(find . -type d -not -path "*/internal*" -not -path "*/test*" -not -path "*/example*" -not -path "*/.*" | sort)
+
+missingReadme=false
+for dir in $dirs; do
+ if [ ! -f "$dir/README.md" ]; then
+ echo "couldn't find README.md for $dir"
+ missingReadme=true
+ fi
+done
+
+if [ "$missingReadme" = true ] ; then
+ echo "Error: some READMEs couldn't be found."
+ exit 1
+fi
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/version.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/version.go
index 7b2993a1fe..102f2f508b 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/version.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/version.go
@@ -1,20 +1,9 @@
// Copyright The OpenTelemetry Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// SPDX-License-Identifier: Apache-2.0
package otel // import "go.opentelemetry.io/otel"
// Version is the current release version of OpenTelemetry in use.
func Version() string {
- return "1.24.0"
+ return "1.27.0"
}
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/versions.yaml b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/versions.yaml
index 1b556e6782..60985f4362 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/versions.yaml
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/otel/versions.yaml
@@ -1,20 +1,9 @@
# Copyright The OpenTelemetry Authors
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# SPDX-License-Identifier: Apache-2.0
module-sets:
stable-v1:
- version: v1.24.0
+ version: v1.27.0
modules:
- go.opentelemetry.io/otel
- go.opentelemetry.io/otel/bridge/opencensus
@@ -40,17 +29,21 @@ module-sets:
- go.opentelemetry.io/otel/sdk/metric
- go.opentelemetry.io/otel/trace
experimental-metrics:
- version: v0.46.0
+ version: v0.49.0
modules:
- go.opentelemetry.io/otel/example/prometheus
- go.opentelemetry.io/otel/exporters/prometheus
experimental-logs:
- version: v0.0.1-alpha
+ version: v0.3.0
modules:
- go.opentelemetry.io/otel/log
+ - go.opentelemetry.io/otel/sdk/log
+ - go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
+ - go.opentelemetry.io/otel/exporters/stdout/stdoutlog
experimental-schema:
- version: v0.0.7
+ version: v0.0.8
modules:
- go.opentelemetry.io/otel/schema
excluded-modules:
- go.opentelemetry.io/otel/internal/tools
+ - go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
diff --git a/cluster-api/providers/azure/vendor/go.opentelemetry.io/proto/otlp/trace/v1/trace.pb.go b/cluster-api/providers/azure/vendor/go.opentelemetry.io/proto/otlp/trace/v1/trace.pb.go
index 7109088370..d7099c35bc 100644
--- a/cluster-api/providers/azure/vendor/go.opentelemetry.io/proto/otlp/trace/v1/trace.pb.go
+++ b/cluster-api/providers/azure/vendor/go.opentelemetry.io/proto/otlp/trace/v1/trace.pb.go
@@ -58,6 +58,11 @@ const (
SpanFlags_SPAN_FLAGS_DO_NOT_USE SpanFlags = 0
// Bits 0-7 are used for trace flags.
SpanFlags_SPAN_FLAGS_TRACE_FLAGS_MASK SpanFlags = 255
+ // Bits 8 and 9 are used to indicate that the parent span or link span is remote.
+ // Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.
+ // Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.
+ SpanFlags_SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK SpanFlags = 256
+ SpanFlags_SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK SpanFlags = 512
)
// Enum value maps for SpanFlags.
@@ -65,10 +70,14 @@ var (
SpanFlags_name = map[int32]string{
0: "SPAN_FLAGS_DO_NOT_USE",
255: "SPAN_FLAGS_TRACE_FLAGS_MASK",
+ 256: "SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK",
+ 512: "SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK",
}
SpanFlags_value = map[string]int32{
- "SPAN_FLAGS_DO_NOT_USE": 0,
- "SPAN_FLAGS_TRACE_FLAGS_MASK": 255,
+ "SPAN_FLAGS_DO_NOT_USE": 0,
+ "SPAN_FLAGS_TRACE_FLAGS_MASK": 255,
+ "SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK": 256,
+ "SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK": 512,
}
)
@@ -463,20 +472,27 @@ type Span struct {
// The `span_id` of this span's parent span. If this is a root span, then this
// field must be empty. The ID is an 8-byte array.
ParentSpanId []byte `protobuf:"bytes,4,opt,name=parent_span_id,json=parentSpanId,proto3" json:"parent_span_id,omitempty"`
- // Flags, a bit field. 8 least significant bits are the trace
- // flags as defined in W3C Trace Context specification. Readers
- // MUST not assume that 24 most significant bits will be zero.
- // To read the 8-bit W3C trace flag, use `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
+ // Flags, a bit field.
+ //
+ // Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace
+ // Context specification. To read the 8-bit W3C trace flag, use
+ // `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
+ //
+ // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
+ //
+ // Bits 8 and 9 represent the 3 states of whether a span's parent
+ // is remote. The states are (unknown, is not remote, is remote).
+ // To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
+ // To read whether the span is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
//
// When creating span messages, if the message is logically forwarded from another source
// with an equivalent flags fields (i.e., usually another OTLP span message), the field SHOULD
// be copied as-is. If creating from a source that does not have an equivalent flags field
- // (such as a runtime representation of an OpenTelemetry span), the high 24 bits MUST
+ // (such as a runtime representation of an OpenTelemetry span), the high 22 bits MUST
// be set to zero.
+ // Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
//
// [Optional].
- //
- // See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
Flags uint32 `protobuf:"fixed32,16,opt,name=flags,proto3" json:"flags,omitempty"`
// A description of the span's operation.
//
@@ -848,14 +864,23 @@ type Span_Link struct {
// dropped_attributes_count is the number of dropped attributes. If the value is 0,
// then no attributes were dropped.
DroppedAttributesCount uint32 `protobuf:"varint,5,opt,name=dropped_attributes_count,json=droppedAttributesCount,proto3" json:"dropped_attributes_count,omitempty"`
- // Flags, a bit field. 8 least significant bits are the trace
- // flags as defined in W3C Trace Context specification. Readers
- // MUST not assume that 24 most significant bits will be zero.
- // When creating new spans, the most-significant 24-bits MUST be
- // zero. To read the 8-bit W3C trace flag (use flags &
- // SPAN_FLAGS_TRACE_FLAGS_MASK). [Optional].
+ // Flags, a bit field.
+ //
+ // Bits 0-7 (8 least significant bits) are the trace flags as defined in W3C Trace
+ // Context specification. To read the 8-bit W3C trace flag, use
+ // `flags & SPAN_FLAGS_TRACE_FLAGS_MASK`.
//
// See https://www.w3.org/TR/trace-context-2/#trace-flags for the flag definitions.
+ //
+ // Bits 8 and 9 represent the 3 states of whether the link is remote.
+ // The states are (unknown, is not remote, is remote).
+ // To read whether the value is known, use `(flags & SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK) != 0`.
+ // To read whether the link is remote, use `(flags & SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK) != 0`.
+ //
+ // Readers MUST NOT assume that bits 10-31 (22 most significant bits) will be zero.
+ // When creating new spans, bits 10-31 (most-significant 22-bits) MUST be zero.
+ //
+ // [Optional].
Flags uint32 `protobuf:"fixed32,6,opt,name=flags,proto3" json:"flags,omitempty"`
}
@@ -1073,19 +1098,24 @@ var file_opentelemetry_proto_trace_v1_trace_proto_rawDesc = []byte{
0x0a, 0x0e, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4f, 0x4b,
0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x43, 0x4f, 0x44,
0x45, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x2a,
- 0x48, 0x0a, 0x09, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x15,
- 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x44, 0x4f, 0x5f, 0x4e, 0x4f,
- 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1b, 0x53, 0x50, 0x41, 0x4e, 0x5f,
- 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x46, 0x4c, 0x41, 0x47,
- 0x53, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0xff, 0x01, 0x42, 0x77, 0x0a, 0x1f, 0x69, 0x6f, 0x2e,
- 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x54, 0x72,
- 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x6f, 0x2e, 0x6f,
- 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x69, 0x6f, 0x2f,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x74, 0x6c, 0x70, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65,
- 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x1c, 0x4f, 0x70, 0x65, 0x6e, 0x54, 0x65, 0x6c, 0x65, 0x6d, 0x65,
- 0x74, 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x65, 0x2e,
- 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x9c, 0x01, 0x0a, 0x09, 0x53, 0x70, 0x61, 0x6e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x19, 0x0a,
+ 0x15, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x44, 0x4f, 0x5f, 0x4e,
+ 0x4f, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1b, 0x53, 0x50, 0x41, 0x4e,
+ 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x54, 0x52, 0x41, 0x43, 0x45, 0x5f, 0x46, 0x4c, 0x41,
+ 0x47, 0x53, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0xff, 0x01, 0x12, 0x2a, 0x0a, 0x25, 0x53, 0x50,
+ 0x41, 0x4e, 0x5f, 0x46, 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54,
+ 0x5f, 0x48, 0x41, 0x53, 0x5f, 0x49, 0x53, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4d,
+ 0x41, 0x53, 0x4b, 0x10, 0x80, 0x02, 0x12, 0x26, 0x0a, 0x21, 0x53, 0x50, 0x41, 0x4e, 0x5f, 0x46,
+ 0x4c, 0x41, 0x47, 0x53, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x49, 0x53, 0x5f,
+ 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x80, 0x04, 0x42, 0x77,
+ 0x0a, 0x1f, 0x69, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74,
+ 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x72, 0x61, 0x63, 0x65, 0x2e, 0x76,
+ 0x31, 0x42, 0x0a, 0x54, 0x72, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
+ 0x27, 0x67, 0x6f, 0x2e, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72,
+ 0x79, 0x2e, 0x69, 0x6f, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6f, 0x74, 0x6c, 0x70, 0x2f,
+ 0x74, 0x72, 0x61, 0x63, 0x65, 0x2f, 0x76, 0x31, 0xaa, 0x02, 0x1c, 0x4f, 0x70, 0x65, 0x6e, 0x54,
+ 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54,
+ 0x72, 0x61, 0x63, 0x65, 0x2e, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/crypto/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/blowfish/cipher.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/blowfish/cipher.go
index 213bf204af..0898956807 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/blowfish/cipher.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/blowfish/cipher.go
@@ -11,7 +11,7 @@
// Deprecated: any new system should use AES (from crypto/aes, if necessary in
// an AEAD mode like crypto/cipher.NewGCM) or XChaCha20-Poly1305 (from
// golang.org/x/crypto/chacha20poly1305).
-package blowfish // import "golang.org/x/crypto/blowfish"
+package blowfish
// The code is a port of Bruce Schneier's C implementation.
// See https://www.schneier.com/blowfish.html.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go
index db42e6676a..c709b72847 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_noasm.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build (!arm64 && !s390x && !ppc64le) || !gc || purego
+//go:build (!arm64 && !s390x && !ppc64 && !ppc64le) || !gc || purego
package chacha20
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go
similarity index 89%
rename from cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.go
rename to cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go
index 3a4287f990..bd183d9ba1 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build gc && !purego
+//go:build gc && !purego && (ppc64 || ppc64le)
package chacha20
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s b/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.s
similarity index 76%
rename from cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s
rename to cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.s
index c672ccf698..a660b4112f 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64le.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/chacha20/chacha_ppc64x.s
@@ -19,7 +19,7 @@
// The differences in this and the original implementation are
// due to the calling conventions and initialization of constants.
-//go:build gc && !purego
+//go:build gc && !purego && (ppc64 || ppc64le)
#include "textflag.h"
@@ -36,32 +36,68 @@
// for VPERMXOR
#define MASK R18
-DATA consts<>+0x00(SB)/8, $0x3320646e61707865
-DATA consts<>+0x08(SB)/8, $0x6b20657479622d32
-DATA consts<>+0x10(SB)/8, $0x0000000000000001
-DATA consts<>+0x18(SB)/8, $0x0000000000000000
-DATA consts<>+0x20(SB)/8, $0x0000000000000004
-DATA consts<>+0x28(SB)/8, $0x0000000000000000
-DATA consts<>+0x30(SB)/8, $0x0a0b08090e0f0c0d
-DATA consts<>+0x38(SB)/8, $0x0203000106070405
-DATA consts<>+0x40(SB)/8, $0x090a0b080d0e0f0c
-DATA consts<>+0x48(SB)/8, $0x0102030005060704
-DATA consts<>+0x50(SB)/8, $0x6170786561707865
-DATA consts<>+0x58(SB)/8, $0x6170786561707865
-DATA consts<>+0x60(SB)/8, $0x3320646e3320646e
-DATA consts<>+0x68(SB)/8, $0x3320646e3320646e
-DATA consts<>+0x70(SB)/8, $0x79622d3279622d32
-DATA consts<>+0x78(SB)/8, $0x79622d3279622d32
-DATA consts<>+0x80(SB)/8, $0x6b2065746b206574
-DATA consts<>+0x88(SB)/8, $0x6b2065746b206574
-DATA consts<>+0x90(SB)/8, $0x0000000100000000
-DATA consts<>+0x98(SB)/8, $0x0000000300000002
-DATA consts<>+0xa0(SB)/8, $0x5566774411223300
-DATA consts<>+0xa8(SB)/8, $0xddeeffcc99aabb88
-DATA consts<>+0xb0(SB)/8, $0x6677445522330011
-DATA consts<>+0xb8(SB)/8, $0xeeffccddaabb8899
+DATA consts<>+0x00(SB)/4, $0x61707865
+DATA consts<>+0x04(SB)/4, $0x3320646e
+DATA consts<>+0x08(SB)/4, $0x79622d32
+DATA consts<>+0x0c(SB)/4, $0x6b206574
+DATA consts<>+0x10(SB)/4, $0x00000001
+DATA consts<>+0x14(SB)/4, $0x00000000
+DATA consts<>+0x18(SB)/4, $0x00000000
+DATA consts<>+0x1c(SB)/4, $0x00000000
+DATA consts<>+0x20(SB)/4, $0x00000004
+DATA consts<>+0x24(SB)/4, $0x00000000
+DATA consts<>+0x28(SB)/4, $0x00000000
+DATA consts<>+0x2c(SB)/4, $0x00000000
+DATA consts<>+0x30(SB)/4, $0x0e0f0c0d
+DATA consts<>+0x34(SB)/4, $0x0a0b0809
+DATA consts<>+0x38(SB)/4, $0x06070405
+DATA consts<>+0x3c(SB)/4, $0x02030001
+DATA consts<>+0x40(SB)/4, $0x0d0e0f0c
+DATA consts<>+0x44(SB)/4, $0x090a0b08
+DATA consts<>+0x48(SB)/4, $0x05060704
+DATA consts<>+0x4c(SB)/4, $0x01020300
+DATA consts<>+0x50(SB)/4, $0x61707865
+DATA consts<>+0x54(SB)/4, $0x61707865
+DATA consts<>+0x58(SB)/4, $0x61707865
+DATA consts<>+0x5c(SB)/4, $0x61707865
+DATA consts<>+0x60(SB)/4, $0x3320646e
+DATA consts<>+0x64(SB)/4, $0x3320646e
+DATA consts<>+0x68(SB)/4, $0x3320646e
+DATA consts<>+0x6c(SB)/4, $0x3320646e
+DATA consts<>+0x70(SB)/4, $0x79622d32
+DATA consts<>+0x74(SB)/4, $0x79622d32
+DATA consts<>+0x78(SB)/4, $0x79622d32
+DATA consts<>+0x7c(SB)/4, $0x79622d32
+DATA consts<>+0x80(SB)/4, $0x6b206574
+DATA consts<>+0x84(SB)/4, $0x6b206574
+DATA consts<>+0x88(SB)/4, $0x6b206574
+DATA consts<>+0x8c(SB)/4, $0x6b206574
+DATA consts<>+0x90(SB)/4, $0x00000000
+DATA consts<>+0x94(SB)/4, $0x00000001
+DATA consts<>+0x98(SB)/4, $0x00000002
+DATA consts<>+0x9c(SB)/4, $0x00000003
+DATA consts<>+0xa0(SB)/4, $0x11223300
+DATA consts<>+0xa4(SB)/4, $0x55667744
+DATA consts<>+0xa8(SB)/4, $0x99aabb88
+DATA consts<>+0xac(SB)/4, $0xddeeffcc
+DATA consts<>+0xb0(SB)/4, $0x22330011
+DATA consts<>+0xb4(SB)/4, $0x66774455
+DATA consts<>+0xb8(SB)/4, $0xaabb8899
+DATA consts<>+0xbc(SB)/4, $0xeeffccdd
GLOBL consts<>(SB), RODATA, $0xc0
+#ifdef GOARCH_ppc64
+#define BE_XXBRW_INIT() \
+ LVSL (R0)(R0), V24 \
+ VSPLTISB $3, V25 \
+ VXOR V24, V25, V24 \
+
+#define BE_XXBRW(vr) VPERM vr, vr, V24, vr
+#else
+#define BE_XXBRW_INIT()
+#define BE_XXBRW(vr)
+#endif
+
//func chaCha20_ctr32_vsx(out, inp *byte, len int, key *[8]uint32, counter *uint32)
TEXT ·chaCha20_ctr32_vsx(SB),NOSPLIT,$64-40
MOVD out+0(FP), OUT
@@ -94,6 +130,8 @@ TEXT ·chaCha20_ctr32_vsx(SB),NOSPLIT,$64-40
// Clear V27
VXOR V27, V27, V27
+ BE_XXBRW_INIT()
+
// V28
LXVW4X (CONSTBASE)(R11), VS60
@@ -299,6 +337,11 @@ loop_vsx:
VADDUWM V8, V18, V8
VADDUWM V12, V19, V12
+ BE_XXBRW(V0)
+ BE_XXBRW(V4)
+ BE_XXBRW(V8)
+ BE_XXBRW(V12)
+
CMPU LEN, $64
BLT tail_vsx
@@ -327,6 +370,11 @@ loop_vsx:
VADDUWM V9, V18, V8
VADDUWM V13, V19, V12
+ BE_XXBRW(V0)
+ BE_XXBRW(V4)
+ BE_XXBRW(V8)
+ BE_XXBRW(V12)
+
CMPU LEN, $64
BLT tail_vsx
@@ -334,8 +382,8 @@ loop_vsx:
LXVW4X (INP)(R8), VS60
LXVW4X (INP)(R9), VS61
LXVW4X (INP)(R10), VS62
- VXOR V27, V0, V27
+ VXOR V27, V0, V27
VXOR V28, V4, V28
VXOR V29, V8, V29
VXOR V30, V12, V30
@@ -354,6 +402,11 @@ loop_vsx:
VADDUWM V10, V18, V8
VADDUWM V14, V19, V12
+ BE_XXBRW(V0)
+ BE_XXBRW(V4)
+ BE_XXBRW(V8)
+ BE_XXBRW(V12)
+
CMPU LEN, $64
BLT tail_vsx
@@ -381,6 +434,11 @@ loop_vsx:
VADDUWM V11, V18, V8
VADDUWM V15, V19, V12
+ BE_XXBRW(V0)
+ BE_XXBRW(V4)
+ BE_XXBRW(V8)
+ BE_XXBRW(V12)
+
CMPU LEN, $64
BLT tail_vsx
@@ -408,9 +466,9 @@ loop_vsx:
done_vsx:
// Increment counter by number of 64 byte blocks
- MOVD (CNT), R14
+ MOVWZ (CNT), R14
ADD BLOCKS, R14
- MOVD R14, (CNT)
+ MOVWZ R14, (CNT)
RET
tail_vsx:
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519.go
index 00f963ea20..21ca3b2ee4 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519.go
@@ -6,9 +6,11 @@
// performs scalar multiplication on the elliptic curve known as Curve25519.
// See RFC 7748.
//
-// Starting in Go 1.20, this package is a wrapper for the X25519 implementation
+// This package is a wrapper for the X25519 implementation
// in the crypto/ecdh package.
-package curve25519 // import "golang.org/x/crypto/curve25519"
+package curve25519
+
+import "crypto/ecdh"
// ScalarMult sets dst to the product scalar * point.
//
@@ -16,7 +18,13 @@ package curve25519 // import "golang.org/x/crypto/curve25519"
// zeroes, irrespective of the scalar. Instead, use the X25519 function, which
// will return an error.
func ScalarMult(dst, scalar, point *[32]byte) {
- scalarMult(dst, scalar, point)
+ if _, err := x25519(dst, scalar[:], point[:]); err != nil {
+ // The only error condition for x25519 when the inputs are 32 bytes long
+ // is if the output would have been the all-zero value.
+ for i := range dst {
+ dst[i] = 0
+ }
+ }
}
// ScalarBaseMult sets dst to the product scalar * base where base is the
@@ -25,7 +33,12 @@ func ScalarMult(dst, scalar, point *[32]byte) {
// It is recommended to use the X25519 function with Basepoint instead, as
// copying into fixed size arrays can lead to unexpected bugs.
func ScalarBaseMult(dst, scalar *[32]byte) {
- scalarBaseMult(dst, scalar)
+ curve := ecdh.X25519()
+ priv, err := curve.NewPrivateKey(scalar[:])
+ if err != nil {
+ panic("curve25519: internal error: scalarBaseMult was not 32 bytes")
+ }
+ copy(dst[:], priv.PublicKey().Bytes())
}
const (
@@ -57,3 +70,21 @@ func X25519(scalar, point []byte) ([]byte, error) {
var dst [32]byte
return x25519(&dst, scalar, point)
}
+
+func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) {
+ curve := ecdh.X25519()
+ pub, err := curve.NewPublicKey(point)
+ if err != nil {
+ return nil, err
+ }
+ priv, err := curve.NewPrivateKey(scalar)
+ if err != nil {
+ return nil, err
+ }
+ out, err := priv.ECDH(pub)
+ if err != nil {
+ return nil, err
+ }
+ copy(dst[:], out)
+ return dst[:], nil
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519_compat.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519_compat.go
deleted file mode 100644
index ba647e8d77..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519_compat.go
+++ /dev/null
@@ -1,105 +0,0 @@
-// Copyright 2019 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.
-
-//go:build !go1.20
-
-package curve25519
-
-import (
- "crypto/subtle"
- "errors"
- "strconv"
-
- "golang.org/x/crypto/curve25519/internal/field"
-)
-
-func scalarMult(dst, scalar, point *[32]byte) {
- var e [32]byte
-
- copy(e[:], scalar[:])
- e[0] &= 248
- e[31] &= 127
- e[31] |= 64
-
- var x1, x2, z2, x3, z3, tmp0, tmp1 field.Element
- x1.SetBytes(point[:])
- x2.One()
- x3.Set(&x1)
- z3.One()
-
- swap := 0
- for pos := 254; pos >= 0; pos-- {
- b := e[pos/8] >> uint(pos&7)
- b &= 1
- swap ^= int(b)
- x2.Swap(&x3, swap)
- z2.Swap(&z3, swap)
- swap = int(b)
-
- tmp0.Subtract(&x3, &z3)
- tmp1.Subtract(&x2, &z2)
- x2.Add(&x2, &z2)
- z2.Add(&x3, &z3)
- z3.Multiply(&tmp0, &x2)
- z2.Multiply(&z2, &tmp1)
- tmp0.Square(&tmp1)
- tmp1.Square(&x2)
- x3.Add(&z3, &z2)
- z2.Subtract(&z3, &z2)
- x2.Multiply(&tmp1, &tmp0)
- tmp1.Subtract(&tmp1, &tmp0)
- z2.Square(&z2)
-
- z3.Mult32(&tmp1, 121666)
- x3.Square(&x3)
- tmp0.Add(&tmp0, &z3)
- z3.Multiply(&x1, &z2)
- z2.Multiply(&tmp1, &tmp0)
- }
-
- x2.Swap(&x3, swap)
- z2.Swap(&z3, swap)
-
- z2.Invert(&z2)
- x2.Multiply(&x2, &z2)
- copy(dst[:], x2.Bytes())
-}
-
-func scalarBaseMult(dst, scalar *[32]byte) {
- checkBasepoint()
- scalarMult(dst, scalar, &basePoint)
-}
-
-func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) {
- var in [32]byte
- if l := len(scalar); l != 32 {
- return nil, errors.New("bad scalar length: " + strconv.Itoa(l) + ", expected 32")
- }
- if l := len(point); l != 32 {
- return nil, errors.New("bad point length: " + strconv.Itoa(l) + ", expected 32")
- }
- copy(in[:], scalar)
- if &point[0] == &Basepoint[0] {
- scalarBaseMult(dst, &in)
- } else {
- var base, zero [32]byte
- copy(base[:], point)
- scalarMult(dst, &in, &base)
- if subtle.ConstantTimeCompare(dst[:], zero[:]) == 1 {
- return nil, errors.New("bad input point: low order point")
- }
- }
- return dst[:], nil
-}
-
-func checkBasepoint() {
- if subtle.ConstantTimeCompare(Basepoint, []byte{
- 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- }) != 1 {
- panic("curve25519: global Basepoint value was modified")
- }
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519_go120.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519_go120.go
deleted file mode 100644
index 627df49727..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/curve25519_go120.go
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2022 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.
-
-//go:build go1.20
-
-package curve25519
-
-import "crypto/ecdh"
-
-func x25519(dst *[32]byte, scalar, point []byte) ([]byte, error) {
- curve := ecdh.X25519()
- pub, err := curve.NewPublicKey(point)
- if err != nil {
- return nil, err
- }
- priv, err := curve.NewPrivateKey(scalar)
- if err != nil {
- return nil, err
- }
- out, err := priv.ECDH(pub)
- if err != nil {
- return nil, err
- }
- copy(dst[:], out)
- return dst[:], nil
-}
-
-func scalarMult(dst, scalar, point *[32]byte) {
- if _, err := x25519(dst, scalar[:], point[:]); err != nil {
- // The only error condition for x25519 when the inputs are 32 bytes long
- // is if the output would have been the all-zero value.
- for i := range dst {
- dst[i] = 0
- }
- }
-}
-
-func scalarBaseMult(dst, scalar *[32]byte) {
- curve := ecdh.X25519()
- priv, err := curve.NewPrivateKey(scalar[:])
- if err != nil {
- panic("curve25519: internal error: scalarBaseMult was not 32 bytes")
- }
- copy(dst[:], priv.PublicKey().Bytes())
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/README b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/README
deleted file mode 100644
index e25bca7dc8..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/README
+++ /dev/null
@@ -1,7 +0,0 @@
-This package is kept in sync with crypto/ed25519/internal/edwards25519/field in
-the standard library.
-
-If there are any changes in the standard library that need to be synced to this
-package, run sync.sh. It will not overwrite any local changes made since the
-previous sync, so it's ok to land changes in this package first, and then sync
-to the standard library later.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe.go
deleted file mode 100644
index ca841ad99e..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe.go
+++ /dev/null
@@ -1,416 +0,0 @@
-// Copyright (c) 2017 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.
-
-// Package field implements fast arithmetic modulo 2^255-19.
-package field
-
-import (
- "crypto/subtle"
- "encoding/binary"
- "math/bits"
-)
-
-// Element represents an element of the field GF(2^255-19). Note that this
-// is not a cryptographically secure group, and should only be used to interact
-// with edwards25519.Point coordinates.
-//
-// This type works similarly to math/big.Int, and all arguments and receivers
-// are allowed to alias.
-//
-// The zero value is a valid zero element.
-type Element struct {
- // An element t represents the integer
- // t.l0 + t.l1*2^51 + t.l2*2^102 + t.l3*2^153 + t.l4*2^204
- //
- // Between operations, all limbs are expected to be lower than 2^52.
- l0 uint64
- l1 uint64
- l2 uint64
- l3 uint64
- l4 uint64
-}
-
-const maskLow51Bits uint64 = (1 << 51) - 1
-
-var feZero = &Element{0, 0, 0, 0, 0}
-
-// Zero sets v = 0, and returns v.
-func (v *Element) Zero() *Element {
- *v = *feZero
- return v
-}
-
-var feOne = &Element{1, 0, 0, 0, 0}
-
-// One sets v = 1, and returns v.
-func (v *Element) One() *Element {
- *v = *feOne
- return v
-}
-
-// reduce reduces v modulo 2^255 - 19 and returns it.
-func (v *Element) reduce() *Element {
- v.carryPropagate()
-
- // After the light reduction we now have a field element representation
- // v < 2^255 + 2^13 * 19, but need v < 2^255 - 19.
-
- // If v >= 2^255 - 19, then v + 19 >= 2^255, which would overflow 2^255 - 1,
- // generating a carry. That is, c will be 0 if v < 2^255 - 19, and 1 otherwise.
- c := (v.l0 + 19) >> 51
- c = (v.l1 + c) >> 51
- c = (v.l2 + c) >> 51
- c = (v.l3 + c) >> 51
- c = (v.l4 + c) >> 51
-
- // If v < 2^255 - 19 and c = 0, this will be a no-op. Otherwise, it's
- // effectively applying the reduction identity to the carry.
- v.l0 += 19 * c
-
- v.l1 += v.l0 >> 51
- v.l0 = v.l0 & maskLow51Bits
- v.l2 += v.l1 >> 51
- v.l1 = v.l1 & maskLow51Bits
- v.l3 += v.l2 >> 51
- v.l2 = v.l2 & maskLow51Bits
- v.l4 += v.l3 >> 51
- v.l3 = v.l3 & maskLow51Bits
- // no additional carry
- v.l4 = v.l4 & maskLow51Bits
-
- return v
-}
-
-// Add sets v = a + b, and returns v.
-func (v *Element) Add(a, b *Element) *Element {
- v.l0 = a.l0 + b.l0
- v.l1 = a.l1 + b.l1
- v.l2 = a.l2 + b.l2
- v.l3 = a.l3 + b.l3
- v.l4 = a.l4 + b.l4
- // Using the generic implementation here is actually faster than the
- // assembly. Probably because the body of this function is so simple that
- // the compiler can figure out better optimizations by inlining the carry
- // propagation. TODO
- return v.carryPropagateGeneric()
-}
-
-// Subtract sets v = a - b, and returns v.
-func (v *Element) Subtract(a, b *Element) *Element {
- // We first add 2 * p, to guarantee the subtraction won't underflow, and
- // then subtract b (which can be up to 2^255 + 2^13 * 19).
- v.l0 = (a.l0 + 0xFFFFFFFFFFFDA) - b.l0
- v.l1 = (a.l1 + 0xFFFFFFFFFFFFE) - b.l1
- v.l2 = (a.l2 + 0xFFFFFFFFFFFFE) - b.l2
- v.l3 = (a.l3 + 0xFFFFFFFFFFFFE) - b.l3
- v.l4 = (a.l4 + 0xFFFFFFFFFFFFE) - b.l4
- return v.carryPropagate()
-}
-
-// Negate sets v = -a, and returns v.
-func (v *Element) Negate(a *Element) *Element {
- return v.Subtract(feZero, a)
-}
-
-// Invert sets v = 1/z mod p, and returns v.
-//
-// If z == 0, Invert returns v = 0.
-func (v *Element) Invert(z *Element) *Element {
- // Inversion is implemented as exponentiation with exponent p − 2. It uses the
- // same sequence of 255 squarings and 11 multiplications as [Curve25519].
- var z2, z9, z11, z2_5_0, z2_10_0, z2_20_0, z2_50_0, z2_100_0, t Element
-
- z2.Square(z) // 2
- t.Square(&z2) // 4
- t.Square(&t) // 8
- z9.Multiply(&t, z) // 9
- z11.Multiply(&z9, &z2) // 11
- t.Square(&z11) // 22
- z2_5_0.Multiply(&t, &z9) // 31 = 2^5 - 2^0
-
- t.Square(&z2_5_0) // 2^6 - 2^1
- for i := 0; i < 4; i++ {
- t.Square(&t) // 2^10 - 2^5
- }
- z2_10_0.Multiply(&t, &z2_5_0) // 2^10 - 2^0
-
- t.Square(&z2_10_0) // 2^11 - 2^1
- for i := 0; i < 9; i++ {
- t.Square(&t) // 2^20 - 2^10
- }
- z2_20_0.Multiply(&t, &z2_10_0) // 2^20 - 2^0
-
- t.Square(&z2_20_0) // 2^21 - 2^1
- for i := 0; i < 19; i++ {
- t.Square(&t) // 2^40 - 2^20
- }
- t.Multiply(&t, &z2_20_0) // 2^40 - 2^0
-
- t.Square(&t) // 2^41 - 2^1
- for i := 0; i < 9; i++ {
- t.Square(&t) // 2^50 - 2^10
- }
- z2_50_0.Multiply(&t, &z2_10_0) // 2^50 - 2^0
-
- t.Square(&z2_50_0) // 2^51 - 2^1
- for i := 0; i < 49; i++ {
- t.Square(&t) // 2^100 - 2^50
- }
- z2_100_0.Multiply(&t, &z2_50_0) // 2^100 - 2^0
-
- t.Square(&z2_100_0) // 2^101 - 2^1
- for i := 0; i < 99; i++ {
- t.Square(&t) // 2^200 - 2^100
- }
- t.Multiply(&t, &z2_100_0) // 2^200 - 2^0
-
- t.Square(&t) // 2^201 - 2^1
- for i := 0; i < 49; i++ {
- t.Square(&t) // 2^250 - 2^50
- }
- t.Multiply(&t, &z2_50_0) // 2^250 - 2^0
-
- t.Square(&t) // 2^251 - 2^1
- t.Square(&t) // 2^252 - 2^2
- t.Square(&t) // 2^253 - 2^3
- t.Square(&t) // 2^254 - 2^4
- t.Square(&t) // 2^255 - 2^5
-
- return v.Multiply(&t, &z11) // 2^255 - 21
-}
-
-// Set sets v = a, and returns v.
-func (v *Element) Set(a *Element) *Element {
- *v = *a
- return v
-}
-
-// SetBytes sets v to x, which must be a 32-byte little-endian encoding.
-//
-// Consistent with RFC 7748, the most significant bit (the high bit of the
-// last byte) is ignored, and non-canonical values (2^255-19 through 2^255-1)
-// are accepted. Note that this is laxer than specified by RFC 8032.
-func (v *Element) SetBytes(x []byte) *Element {
- if len(x) != 32 {
- panic("edwards25519: invalid field element input size")
- }
-
- // Bits 0:51 (bytes 0:8, bits 0:64, shift 0, mask 51).
- v.l0 = binary.LittleEndian.Uint64(x[0:8])
- v.l0 &= maskLow51Bits
- // Bits 51:102 (bytes 6:14, bits 48:112, shift 3, mask 51).
- v.l1 = binary.LittleEndian.Uint64(x[6:14]) >> 3
- v.l1 &= maskLow51Bits
- // Bits 102:153 (bytes 12:20, bits 96:160, shift 6, mask 51).
- v.l2 = binary.LittleEndian.Uint64(x[12:20]) >> 6
- v.l2 &= maskLow51Bits
- // Bits 153:204 (bytes 19:27, bits 152:216, shift 1, mask 51).
- v.l3 = binary.LittleEndian.Uint64(x[19:27]) >> 1
- v.l3 &= maskLow51Bits
- // Bits 204:251 (bytes 24:32, bits 192:256, shift 12, mask 51).
- // Note: not bytes 25:33, shift 4, to avoid overread.
- v.l4 = binary.LittleEndian.Uint64(x[24:32]) >> 12
- v.l4 &= maskLow51Bits
-
- return v
-}
-
-// Bytes returns the canonical 32-byte little-endian encoding of v.
-func (v *Element) Bytes() []byte {
- // This function is outlined to make the allocations inline in the caller
- // rather than happen on the heap.
- var out [32]byte
- return v.bytes(&out)
-}
-
-func (v *Element) bytes(out *[32]byte) []byte {
- t := *v
- t.reduce()
-
- var buf [8]byte
- for i, l := range [5]uint64{t.l0, t.l1, t.l2, t.l3, t.l4} {
- bitsOffset := i * 51
- binary.LittleEndian.PutUint64(buf[:], l<= len(out) {
- break
- }
- out[off] |= bb
- }
- }
-
- return out[:]
-}
-
-// Equal returns 1 if v and u are equal, and 0 otherwise.
-func (v *Element) Equal(u *Element) int {
- sa, sv := u.Bytes(), v.Bytes()
- return subtle.ConstantTimeCompare(sa, sv)
-}
-
-// mask64Bits returns 0xffffffff if cond is 1, and 0 otherwise.
-func mask64Bits(cond int) uint64 { return ^(uint64(cond) - 1) }
-
-// Select sets v to a if cond == 1, and to b if cond == 0.
-func (v *Element) Select(a, b *Element, cond int) *Element {
- m := mask64Bits(cond)
- v.l0 = (m & a.l0) | (^m & b.l0)
- v.l1 = (m & a.l1) | (^m & b.l1)
- v.l2 = (m & a.l2) | (^m & b.l2)
- v.l3 = (m & a.l3) | (^m & b.l3)
- v.l4 = (m & a.l4) | (^m & b.l4)
- return v
-}
-
-// Swap swaps v and u if cond == 1 or leaves them unchanged if cond == 0, and returns v.
-func (v *Element) Swap(u *Element, cond int) {
- m := mask64Bits(cond)
- t := m & (v.l0 ^ u.l0)
- v.l0 ^= t
- u.l0 ^= t
- t = m & (v.l1 ^ u.l1)
- v.l1 ^= t
- u.l1 ^= t
- t = m & (v.l2 ^ u.l2)
- v.l2 ^= t
- u.l2 ^= t
- t = m & (v.l3 ^ u.l3)
- v.l3 ^= t
- u.l3 ^= t
- t = m & (v.l4 ^ u.l4)
- v.l4 ^= t
- u.l4 ^= t
-}
-
-// IsNegative returns 1 if v is negative, and 0 otherwise.
-func (v *Element) IsNegative() int {
- return int(v.Bytes()[0] & 1)
-}
-
-// Absolute sets v to |u|, and returns v.
-func (v *Element) Absolute(u *Element) *Element {
- return v.Select(new(Element).Negate(u), u, u.IsNegative())
-}
-
-// Multiply sets v = x * y, and returns v.
-func (v *Element) Multiply(x, y *Element) *Element {
- feMul(v, x, y)
- return v
-}
-
-// Square sets v = x * x, and returns v.
-func (v *Element) Square(x *Element) *Element {
- feSquare(v, x)
- return v
-}
-
-// Mult32 sets v = x * y, and returns v.
-func (v *Element) Mult32(x *Element, y uint32) *Element {
- x0lo, x0hi := mul51(x.l0, y)
- x1lo, x1hi := mul51(x.l1, y)
- x2lo, x2hi := mul51(x.l2, y)
- x3lo, x3hi := mul51(x.l3, y)
- x4lo, x4hi := mul51(x.l4, y)
- v.l0 = x0lo + 19*x4hi // carried over per the reduction identity
- v.l1 = x1lo + x0hi
- v.l2 = x2lo + x1hi
- v.l3 = x3lo + x2hi
- v.l4 = x4lo + x3hi
- // The hi portions are going to be only 32 bits, plus any previous excess,
- // so we can skip the carry propagation.
- return v
-}
-
-// mul51 returns lo + hi * 2⁵¹ = a * b.
-func mul51(a uint64, b uint32) (lo uint64, hi uint64) {
- mh, ml := bits.Mul64(a, uint64(b))
- lo = ml & maskLow51Bits
- hi = (mh << 13) | (ml >> 51)
- return
-}
-
-// Pow22523 set v = x^((p-5)/8), and returns v. (p-5)/8 is 2^252-3.
-func (v *Element) Pow22523(x *Element) *Element {
- var t0, t1, t2 Element
-
- t0.Square(x) // x^2
- t1.Square(&t0) // x^4
- t1.Square(&t1) // x^8
- t1.Multiply(x, &t1) // x^9
- t0.Multiply(&t0, &t1) // x^11
- t0.Square(&t0) // x^22
- t0.Multiply(&t1, &t0) // x^31
- t1.Square(&t0) // x^62
- for i := 1; i < 5; i++ { // x^992
- t1.Square(&t1)
- }
- t0.Multiply(&t1, &t0) // x^1023 -> 1023 = 2^10 - 1
- t1.Square(&t0) // 2^11 - 2
- for i := 1; i < 10; i++ { // 2^20 - 2^10
- t1.Square(&t1)
- }
- t1.Multiply(&t1, &t0) // 2^20 - 1
- t2.Square(&t1) // 2^21 - 2
- for i := 1; i < 20; i++ { // 2^40 - 2^20
- t2.Square(&t2)
- }
- t1.Multiply(&t2, &t1) // 2^40 - 1
- t1.Square(&t1) // 2^41 - 2
- for i := 1; i < 10; i++ { // 2^50 - 2^10
- t1.Square(&t1)
- }
- t0.Multiply(&t1, &t0) // 2^50 - 1
- t1.Square(&t0) // 2^51 - 2
- for i := 1; i < 50; i++ { // 2^100 - 2^50
- t1.Square(&t1)
- }
- t1.Multiply(&t1, &t0) // 2^100 - 1
- t2.Square(&t1) // 2^101 - 2
- for i := 1; i < 100; i++ { // 2^200 - 2^100
- t2.Square(&t2)
- }
- t1.Multiply(&t2, &t1) // 2^200 - 1
- t1.Square(&t1) // 2^201 - 2
- for i := 1; i < 50; i++ { // 2^250 - 2^50
- t1.Square(&t1)
- }
- t0.Multiply(&t1, &t0) // 2^250 - 1
- t0.Square(&t0) // 2^251 - 2
- t0.Square(&t0) // 2^252 - 4
- return v.Multiply(&t0, x) // 2^252 - 3 -> x^(2^252-3)
-}
-
-// sqrtM1 is 2^((p-1)/4), which squared is equal to -1 by Euler's Criterion.
-var sqrtM1 = &Element{1718705420411056, 234908883556509,
- 2233514472574048, 2117202627021982, 765476049583133}
-
-// SqrtRatio sets r to the non-negative square root of the ratio of u and v.
-//
-// If u/v is square, SqrtRatio returns r and 1. If u/v is not square, SqrtRatio
-// sets r according to Section 4.3 of draft-irtf-cfrg-ristretto255-decaf448-00,
-// and returns r and 0.
-func (r *Element) SqrtRatio(u, v *Element) (rr *Element, wasSquare int) {
- var a, b Element
-
- // r = (u * v3) * (u * v7)^((p-5)/8)
- v2 := a.Square(v)
- uv3 := b.Multiply(u, b.Multiply(v2, v))
- uv7 := a.Multiply(uv3, a.Square(v2))
- r.Multiply(uv3, r.Pow22523(uv7))
-
- check := a.Multiply(v, a.Square(r)) // check = v * r^2
-
- uNeg := b.Negate(u)
- correctSignSqrt := check.Equal(u)
- flippedSignSqrt := check.Equal(uNeg)
- flippedSignSqrtI := check.Equal(uNeg.Multiply(uNeg, sqrtM1))
-
- rPrime := b.Multiply(r, sqrtM1) // r_prime = SQRT_M1 * r
- // r = CT_SELECT(r_prime IF flipped_sign_sqrt | flipped_sign_sqrt_i ELSE r)
- r.Select(rPrime, r, flippedSignSqrt|flippedSignSqrtI)
-
- r.Absolute(r) // Choose the nonnegative square root.
- return r, correctSignSqrt | flippedSignSqrt
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go
deleted file mode 100644
index 70c541692c..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT.
-
-//go:build amd64 && gc && !purego
-
-package field
-
-// feMul sets out = a * b. It works like feMulGeneric.
-//
-//go:noescape
-func feMul(out *Element, a *Element, b *Element)
-
-// feSquare sets out = a * a. It works like feSquareGeneric.
-//
-//go:noescape
-func feSquare(out *Element, a *Element)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s
deleted file mode 100644
index 60817acc41..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64.s
+++ /dev/null
@@ -1,378 +0,0 @@
-// Code generated by command: go run fe_amd64_asm.go -out ../fe_amd64.s -stubs ../fe_amd64.go -pkg field. DO NOT EDIT.
-
-//go:build amd64 && gc && !purego
-
-#include "textflag.h"
-
-// func feMul(out *Element, a *Element, b *Element)
-TEXT ·feMul(SB), NOSPLIT, $0-24
- MOVQ a+8(FP), CX
- MOVQ b+16(FP), BX
-
- // r0 = a0×b0
- MOVQ (CX), AX
- MULQ (BX)
- MOVQ AX, DI
- MOVQ DX, SI
-
- // r0 += 19×a1×b4
- MOVQ 8(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 32(BX)
- ADDQ AX, DI
- ADCQ DX, SI
-
- // r0 += 19×a2×b3
- MOVQ 16(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 24(BX)
- ADDQ AX, DI
- ADCQ DX, SI
-
- // r0 += 19×a3×b2
- MOVQ 24(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 16(BX)
- ADDQ AX, DI
- ADCQ DX, SI
-
- // r0 += 19×a4×b1
- MOVQ 32(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 8(BX)
- ADDQ AX, DI
- ADCQ DX, SI
-
- // r1 = a0×b1
- MOVQ (CX), AX
- MULQ 8(BX)
- MOVQ AX, R9
- MOVQ DX, R8
-
- // r1 += a1×b0
- MOVQ 8(CX), AX
- MULQ (BX)
- ADDQ AX, R9
- ADCQ DX, R8
-
- // r1 += 19×a2×b4
- MOVQ 16(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 32(BX)
- ADDQ AX, R9
- ADCQ DX, R8
-
- // r1 += 19×a3×b3
- MOVQ 24(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 24(BX)
- ADDQ AX, R9
- ADCQ DX, R8
-
- // r1 += 19×a4×b2
- MOVQ 32(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 16(BX)
- ADDQ AX, R9
- ADCQ DX, R8
-
- // r2 = a0×b2
- MOVQ (CX), AX
- MULQ 16(BX)
- MOVQ AX, R11
- MOVQ DX, R10
-
- // r2 += a1×b1
- MOVQ 8(CX), AX
- MULQ 8(BX)
- ADDQ AX, R11
- ADCQ DX, R10
-
- // r2 += a2×b0
- MOVQ 16(CX), AX
- MULQ (BX)
- ADDQ AX, R11
- ADCQ DX, R10
-
- // r2 += 19×a3×b4
- MOVQ 24(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 32(BX)
- ADDQ AX, R11
- ADCQ DX, R10
-
- // r2 += 19×a4×b3
- MOVQ 32(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 24(BX)
- ADDQ AX, R11
- ADCQ DX, R10
-
- // r3 = a0×b3
- MOVQ (CX), AX
- MULQ 24(BX)
- MOVQ AX, R13
- MOVQ DX, R12
-
- // r3 += a1×b2
- MOVQ 8(CX), AX
- MULQ 16(BX)
- ADDQ AX, R13
- ADCQ DX, R12
-
- // r3 += a2×b1
- MOVQ 16(CX), AX
- MULQ 8(BX)
- ADDQ AX, R13
- ADCQ DX, R12
-
- // r3 += a3×b0
- MOVQ 24(CX), AX
- MULQ (BX)
- ADDQ AX, R13
- ADCQ DX, R12
-
- // r3 += 19×a4×b4
- MOVQ 32(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 32(BX)
- ADDQ AX, R13
- ADCQ DX, R12
-
- // r4 = a0×b4
- MOVQ (CX), AX
- MULQ 32(BX)
- MOVQ AX, R15
- MOVQ DX, R14
-
- // r4 += a1×b3
- MOVQ 8(CX), AX
- MULQ 24(BX)
- ADDQ AX, R15
- ADCQ DX, R14
-
- // r4 += a2×b2
- MOVQ 16(CX), AX
- MULQ 16(BX)
- ADDQ AX, R15
- ADCQ DX, R14
-
- // r4 += a3×b1
- MOVQ 24(CX), AX
- MULQ 8(BX)
- ADDQ AX, R15
- ADCQ DX, R14
-
- // r4 += a4×b0
- MOVQ 32(CX), AX
- MULQ (BX)
- ADDQ AX, R15
- ADCQ DX, R14
-
- // First reduction chain
- MOVQ $0x0007ffffffffffff, AX
- SHLQ $0x0d, DI, SI
- SHLQ $0x0d, R9, R8
- SHLQ $0x0d, R11, R10
- SHLQ $0x0d, R13, R12
- SHLQ $0x0d, R15, R14
- ANDQ AX, DI
- IMUL3Q $0x13, R14, R14
- ADDQ R14, DI
- ANDQ AX, R9
- ADDQ SI, R9
- ANDQ AX, R11
- ADDQ R8, R11
- ANDQ AX, R13
- ADDQ R10, R13
- ANDQ AX, R15
- ADDQ R12, R15
-
- // Second reduction chain (carryPropagate)
- MOVQ DI, SI
- SHRQ $0x33, SI
- MOVQ R9, R8
- SHRQ $0x33, R8
- MOVQ R11, R10
- SHRQ $0x33, R10
- MOVQ R13, R12
- SHRQ $0x33, R12
- MOVQ R15, R14
- SHRQ $0x33, R14
- ANDQ AX, DI
- IMUL3Q $0x13, R14, R14
- ADDQ R14, DI
- ANDQ AX, R9
- ADDQ SI, R9
- ANDQ AX, R11
- ADDQ R8, R11
- ANDQ AX, R13
- ADDQ R10, R13
- ANDQ AX, R15
- ADDQ R12, R15
-
- // Store output
- MOVQ out+0(FP), AX
- MOVQ DI, (AX)
- MOVQ R9, 8(AX)
- MOVQ R11, 16(AX)
- MOVQ R13, 24(AX)
- MOVQ R15, 32(AX)
- RET
-
-// func feSquare(out *Element, a *Element)
-TEXT ·feSquare(SB), NOSPLIT, $0-16
- MOVQ a+8(FP), CX
-
- // r0 = l0×l0
- MOVQ (CX), AX
- MULQ (CX)
- MOVQ AX, SI
- MOVQ DX, BX
-
- // r0 += 38×l1×l4
- MOVQ 8(CX), AX
- IMUL3Q $0x26, AX, AX
- MULQ 32(CX)
- ADDQ AX, SI
- ADCQ DX, BX
-
- // r0 += 38×l2×l3
- MOVQ 16(CX), AX
- IMUL3Q $0x26, AX, AX
- MULQ 24(CX)
- ADDQ AX, SI
- ADCQ DX, BX
-
- // r1 = 2×l0×l1
- MOVQ (CX), AX
- SHLQ $0x01, AX
- MULQ 8(CX)
- MOVQ AX, R8
- MOVQ DX, DI
-
- // r1 += 38×l2×l4
- MOVQ 16(CX), AX
- IMUL3Q $0x26, AX, AX
- MULQ 32(CX)
- ADDQ AX, R8
- ADCQ DX, DI
-
- // r1 += 19×l3×l3
- MOVQ 24(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 24(CX)
- ADDQ AX, R8
- ADCQ DX, DI
-
- // r2 = 2×l0×l2
- MOVQ (CX), AX
- SHLQ $0x01, AX
- MULQ 16(CX)
- MOVQ AX, R10
- MOVQ DX, R9
-
- // r2 += l1×l1
- MOVQ 8(CX), AX
- MULQ 8(CX)
- ADDQ AX, R10
- ADCQ DX, R9
-
- // r2 += 38×l3×l4
- MOVQ 24(CX), AX
- IMUL3Q $0x26, AX, AX
- MULQ 32(CX)
- ADDQ AX, R10
- ADCQ DX, R9
-
- // r3 = 2×l0×l3
- MOVQ (CX), AX
- SHLQ $0x01, AX
- MULQ 24(CX)
- MOVQ AX, R12
- MOVQ DX, R11
-
- // r3 += 2×l1×l2
- MOVQ 8(CX), AX
- IMUL3Q $0x02, AX, AX
- MULQ 16(CX)
- ADDQ AX, R12
- ADCQ DX, R11
-
- // r3 += 19×l4×l4
- MOVQ 32(CX), AX
- IMUL3Q $0x13, AX, AX
- MULQ 32(CX)
- ADDQ AX, R12
- ADCQ DX, R11
-
- // r4 = 2×l0×l4
- MOVQ (CX), AX
- SHLQ $0x01, AX
- MULQ 32(CX)
- MOVQ AX, R14
- MOVQ DX, R13
-
- // r4 += 2×l1×l3
- MOVQ 8(CX), AX
- IMUL3Q $0x02, AX, AX
- MULQ 24(CX)
- ADDQ AX, R14
- ADCQ DX, R13
-
- // r4 += l2×l2
- MOVQ 16(CX), AX
- MULQ 16(CX)
- ADDQ AX, R14
- ADCQ DX, R13
-
- // First reduction chain
- MOVQ $0x0007ffffffffffff, AX
- SHLQ $0x0d, SI, BX
- SHLQ $0x0d, R8, DI
- SHLQ $0x0d, R10, R9
- SHLQ $0x0d, R12, R11
- SHLQ $0x0d, R14, R13
- ANDQ AX, SI
- IMUL3Q $0x13, R13, R13
- ADDQ R13, SI
- ANDQ AX, R8
- ADDQ BX, R8
- ANDQ AX, R10
- ADDQ DI, R10
- ANDQ AX, R12
- ADDQ R9, R12
- ANDQ AX, R14
- ADDQ R11, R14
-
- // Second reduction chain (carryPropagate)
- MOVQ SI, BX
- SHRQ $0x33, BX
- MOVQ R8, DI
- SHRQ $0x33, DI
- MOVQ R10, R9
- SHRQ $0x33, R9
- MOVQ R12, R11
- SHRQ $0x33, R11
- MOVQ R14, R13
- SHRQ $0x33, R13
- ANDQ AX, SI
- IMUL3Q $0x13, R13, R13
- ADDQ R13, SI
- ANDQ AX, R8
- ADDQ BX, R8
- ANDQ AX, R10
- ADDQ DI, R10
- ANDQ AX, R12
- ADDQ R9, R12
- ANDQ AX, R14
- ADDQ R11, R14
-
- // Store output
- MOVQ out+0(FP), AX
- MOVQ SI, (AX)
- MOVQ R8, 8(AX)
- MOVQ R10, 16(AX)
- MOVQ R12, 24(AX)
- MOVQ R14, 32(AX)
- RET
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go
deleted file mode 100644
index 9da280d1d8..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_amd64_noasm.go
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright (c) 2019 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.
-
-//go:build !amd64 || !gc || purego
-
-package field
-
-func feMul(v, x, y *Element) { feMulGeneric(v, x, y) }
-
-func feSquare(v, x *Element) { feSquareGeneric(v, x) }
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go
deleted file mode 100644
index 075fe9b925..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.go
+++ /dev/null
@@ -1,15 +0,0 @@
-// Copyright (c) 2020 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.
-
-//go:build arm64 && gc && !purego
-
-package field
-
-//go:noescape
-func carryPropagate(v *Element)
-
-func (v *Element) carryPropagate() *Element {
- carryPropagate(v)
- return v
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s
deleted file mode 100644
index 3126a43419..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64.s
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2020 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.
-
-//go:build arm64 && gc && !purego
-
-#include "textflag.h"
-
-// carryPropagate works exactly like carryPropagateGeneric and uses the
-// same AND, ADD, and LSR+MADD instructions emitted by the compiler, but
-// avoids loading R0-R4 twice and uses LDP and STP.
-//
-// See https://golang.org/issues/43145 for the main compiler issue.
-//
-// func carryPropagate(v *Element)
-TEXT ·carryPropagate(SB),NOFRAME|NOSPLIT,$0-8
- MOVD v+0(FP), R20
-
- LDP 0(R20), (R0, R1)
- LDP 16(R20), (R2, R3)
- MOVD 32(R20), R4
-
- AND $0x7ffffffffffff, R0, R10
- AND $0x7ffffffffffff, R1, R11
- AND $0x7ffffffffffff, R2, R12
- AND $0x7ffffffffffff, R3, R13
- AND $0x7ffffffffffff, R4, R14
-
- ADD R0>>51, R11, R11
- ADD R1>>51, R12, R12
- ADD R2>>51, R13, R13
- ADD R3>>51, R14, R14
- // R4>>51 * 19 + R10 -> R10
- LSR $51, R4, R21
- MOVD $19, R22
- MADD R22, R10, R21, R10
-
- STP (R10, R11), 0(R20)
- STP (R12, R13), 16(R20)
- MOVD R14, 32(R20)
-
- RET
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go
deleted file mode 100644
index fc029ac12d..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_arm64_noasm.go
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright (c) 2021 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.
-
-//go:build !arm64 || !gc || purego
-
-package field
-
-func (v *Element) carryPropagate() *Element {
- return v.carryPropagateGeneric()
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go
deleted file mode 100644
index 2671217da5..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/fe_generic.go
+++ /dev/null
@@ -1,264 +0,0 @@
-// Copyright (c) 2017 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.
-
-package field
-
-import "math/bits"
-
-// uint128 holds a 128-bit number as two 64-bit limbs, for use with the
-// bits.Mul64 and bits.Add64 intrinsics.
-type uint128 struct {
- lo, hi uint64
-}
-
-// mul64 returns a * b.
-func mul64(a, b uint64) uint128 {
- hi, lo := bits.Mul64(a, b)
- return uint128{lo, hi}
-}
-
-// addMul64 returns v + a * b.
-func addMul64(v uint128, a, b uint64) uint128 {
- hi, lo := bits.Mul64(a, b)
- lo, c := bits.Add64(lo, v.lo, 0)
- hi, _ = bits.Add64(hi, v.hi, c)
- return uint128{lo, hi}
-}
-
-// shiftRightBy51 returns a >> 51. a is assumed to be at most 115 bits.
-func shiftRightBy51(a uint128) uint64 {
- return (a.hi << (64 - 51)) | (a.lo >> 51)
-}
-
-func feMulGeneric(v, a, b *Element) {
- a0 := a.l0
- a1 := a.l1
- a2 := a.l2
- a3 := a.l3
- a4 := a.l4
-
- b0 := b.l0
- b1 := b.l1
- b2 := b.l2
- b3 := b.l3
- b4 := b.l4
-
- // Limb multiplication works like pen-and-paper columnar multiplication, but
- // with 51-bit limbs instead of digits.
- //
- // a4 a3 a2 a1 a0 x
- // b4 b3 b2 b1 b0 =
- // ------------------------
- // a4b0 a3b0 a2b0 a1b0 a0b0 +
- // a4b1 a3b1 a2b1 a1b1 a0b1 +
- // a4b2 a3b2 a2b2 a1b2 a0b2 +
- // a4b3 a3b3 a2b3 a1b3 a0b3 +
- // a4b4 a3b4 a2b4 a1b4 a0b4 =
- // ----------------------------------------------
- // r8 r7 r6 r5 r4 r3 r2 r1 r0
- //
- // We can then use the reduction identity (a * 2²⁵⁵ + b = a * 19 + b) to
- // reduce the limbs that would overflow 255 bits. r5 * 2²⁵⁵ becomes 19 * r5,
- // r6 * 2³⁰⁶ becomes 19 * r6 * 2⁵¹, etc.
- //
- // Reduction can be carried out simultaneously to multiplication. For
- // example, we do not compute r5: whenever the result of a multiplication
- // belongs to r5, like a1b4, we multiply it by 19 and add the result to r0.
- //
- // a4b0 a3b0 a2b0 a1b0 a0b0 +
- // a3b1 a2b1 a1b1 a0b1 19×a4b1 +
- // a2b2 a1b2 a0b2 19×a4b2 19×a3b2 +
- // a1b3 a0b3 19×a4b3 19×a3b3 19×a2b3 +
- // a0b4 19×a4b4 19×a3b4 19×a2b4 19×a1b4 =
- // --------------------------------------
- // r4 r3 r2 r1 r0
- //
- // Finally we add up the columns into wide, overlapping limbs.
-
- a1_19 := a1 * 19
- a2_19 := a2 * 19
- a3_19 := a3 * 19
- a4_19 := a4 * 19
-
- // r0 = a0×b0 + 19×(a1×b4 + a2×b3 + a3×b2 + a4×b1)
- r0 := mul64(a0, b0)
- r0 = addMul64(r0, a1_19, b4)
- r0 = addMul64(r0, a2_19, b3)
- r0 = addMul64(r0, a3_19, b2)
- r0 = addMul64(r0, a4_19, b1)
-
- // r1 = a0×b1 + a1×b0 + 19×(a2×b4 + a3×b3 + a4×b2)
- r1 := mul64(a0, b1)
- r1 = addMul64(r1, a1, b0)
- r1 = addMul64(r1, a2_19, b4)
- r1 = addMul64(r1, a3_19, b3)
- r1 = addMul64(r1, a4_19, b2)
-
- // r2 = a0×b2 + a1×b1 + a2×b0 + 19×(a3×b4 + a4×b3)
- r2 := mul64(a0, b2)
- r2 = addMul64(r2, a1, b1)
- r2 = addMul64(r2, a2, b0)
- r2 = addMul64(r2, a3_19, b4)
- r2 = addMul64(r2, a4_19, b3)
-
- // r3 = a0×b3 + a1×b2 + a2×b1 + a3×b0 + 19×a4×b4
- r3 := mul64(a0, b3)
- r3 = addMul64(r3, a1, b2)
- r3 = addMul64(r3, a2, b1)
- r3 = addMul64(r3, a3, b0)
- r3 = addMul64(r3, a4_19, b4)
-
- // r4 = a0×b4 + a1×b3 + a2×b2 + a3×b1 + a4×b0
- r4 := mul64(a0, b4)
- r4 = addMul64(r4, a1, b3)
- r4 = addMul64(r4, a2, b2)
- r4 = addMul64(r4, a3, b1)
- r4 = addMul64(r4, a4, b0)
-
- // After the multiplication, we need to reduce (carry) the five coefficients
- // to obtain a result with limbs that are at most slightly larger than 2⁵¹,
- // to respect the Element invariant.
- //
- // Overall, the reduction works the same as carryPropagate, except with
- // wider inputs: we take the carry for each coefficient by shifting it right
- // by 51, and add it to the limb above it. The top carry is multiplied by 19
- // according to the reduction identity and added to the lowest limb.
- //
- // The largest coefficient (r0) will be at most 111 bits, which guarantees
- // that all carries are at most 111 - 51 = 60 bits, which fits in a uint64.
- //
- // r0 = a0×b0 + 19×(a1×b4 + a2×b3 + a3×b2 + a4×b1)
- // r0 < 2⁵²×2⁵² + 19×(2⁵²×2⁵² + 2⁵²×2⁵² + 2⁵²×2⁵² + 2⁵²×2⁵²)
- // r0 < (1 + 19 × 4) × 2⁵² × 2⁵²
- // r0 < 2⁷ × 2⁵² × 2⁵²
- // r0 < 2¹¹¹
- //
- // Moreover, the top coefficient (r4) is at most 107 bits, so c4 is at most
- // 56 bits, and c4 * 19 is at most 61 bits, which again fits in a uint64 and
- // allows us to easily apply the reduction identity.
- //
- // r4 = a0×b4 + a1×b3 + a2×b2 + a3×b1 + a4×b0
- // r4 < 5 × 2⁵² × 2⁵²
- // r4 < 2¹⁰⁷
- //
-
- c0 := shiftRightBy51(r0)
- c1 := shiftRightBy51(r1)
- c2 := shiftRightBy51(r2)
- c3 := shiftRightBy51(r3)
- c4 := shiftRightBy51(r4)
-
- rr0 := r0.lo&maskLow51Bits + c4*19
- rr1 := r1.lo&maskLow51Bits + c0
- rr2 := r2.lo&maskLow51Bits + c1
- rr3 := r3.lo&maskLow51Bits + c2
- rr4 := r4.lo&maskLow51Bits + c3
-
- // Now all coefficients fit into 64-bit registers but are still too large to
- // be passed around as a Element. We therefore do one last carry chain,
- // where the carries will be small enough to fit in the wiggle room above 2⁵¹.
- *v = Element{rr0, rr1, rr2, rr3, rr4}
- v.carryPropagate()
-}
-
-func feSquareGeneric(v, a *Element) {
- l0 := a.l0
- l1 := a.l1
- l2 := a.l2
- l3 := a.l3
- l4 := a.l4
-
- // Squaring works precisely like multiplication above, but thanks to its
- // symmetry we get to group a few terms together.
- //
- // l4 l3 l2 l1 l0 x
- // l4 l3 l2 l1 l0 =
- // ------------------------
- // l4l0 l3l0 l2l0 l1l0 l0l0 +
- // l4l1 l3l1 l2l1 l1l1 l0l1 +
- // l4l2 l3l2 l2l2 l1l2 l0l2 +
- // l4l3 l3l3 l2l3 l1l3 l0l3 +
- // l4l4 l3l4 l2l4 l1l4 l0l4 =
- // ----------------------------------------------
- // r8 r7 r6 r5 r4 r3 r2 r1 r0
- //
- // l4l0 l3l0 l2l0 l1l0 l0l0 +
- // l3l1 l2l1 l1l1 l0l1 19×l4l1 +
- // l2l2 l1l2 l0l2 19×l4l2 19×l3l2 +
- // l1l3 l0l3 19×l4l3 19×l3l3 19×l2l3 +
- // l0l4 19×l4l4 19×l3l4 19×l2l4 19×l1l4 =
- // --------------------------------------
- // r4 r3 r2 r1 r0
- //
- // With precomputed 2×, 19×, and 2×19× terms, we can compute each limb with
- // only three Mul64 and four Add64, instead of five and eight.
-
- l0_2 := l0 * 2
- l1_2 := l1 * 2
-
- l1_38 := l1 * 38
- l2_38 := l2 * 38
- l3_38 := l3 * 38
-
- l3_19 := l3 * 19
- l4_19 := l4 * 19
-
- // r0 = l0×l0 + 19×(l1×l4 + l2×l3 + l3×l2 + l4×l1) = l0×l0 + 19×2×(l1×l4 + l2×l3)
- r0 := mul64(l0, l0)
- r0 = addMul64(r0, l1_38, l4)
- r0 = addMul64(r0, l2_38, l3)
-
- // r1 = l0×l1 + l1×l0 + 19×(l2×l4 + l3×l3 + l4×l2) = 2×l0×l1 + 19×2×l2×l4 + 19×l3×l3
- r1 := mul64(l0_2, l1)
- r1 = addMul64(r1, l2_38, l4)
- r1 = addMul64(r1, l3_19, l3)
-
- // r2 = l0×l2 + l1×l1 + l2×l0 + 19×(l3×l4 + l4×l3) = 2×l0×l2 + l1×l1 + 19×2×l3×l4
- r2 := mul64(l0_2, l2)
- r2 = addMul64(r2, l1, l1)
- r2 = addMul64(r2, l3_38, l4)
-
- // r3 = l0×l3 + l1×l2 + l2×l1 + l3×l0 + 19×l4×l4 = 2×l0×l3 + 2×l1×l2 + 19×l4×l4
- r3 := mul64(l0_2, l3)
- r3 = addMul64(r3, l1_2, l2)
- r3 = addMul64(r3, l4_19, l4)
-
- // r4 = l0×l4 + l1×l3 + l2×l2 + l3×l1 + l4×l0 = 2×l0×l4 + 2×l1×l3 + l2×l2
- r4 := mul64(l0_2, l4)
- r4 = addMul64(r4, l1_2, l3)
- r4 = addMul64(r4, l2, l2)
-
- c0 := shiftRightBy51(r0)
- c1 := shiftRightBy51(r1)
- c2 := shiftRightBy51(r2)
- c3 := shiftRightBy51(r3)
- c4 := shiftRightBy51(r4)
-
- rr0 := r0.lo&maskLow51Bits + c4*19
- rr1 := r1.lo&maskLow51Bits + c0
- rr2 := r2.lo&maskLow51Bits + c1
- rr3 := r3.lo&maskLow51Bits + c2
- rr4 := r4.lo&maskLow51Bits + c3
-
- *v = Element{rr0, rr1, rr2, rr3, rr4}
- v.carryPropagate()
-}
-
-// carryPropagateGeneric brings the limbs below 52 bits by applying the reduction
-// identity (a * 2²⁵⁵ + b = a * 19 + b) to the l4 carry. TODO inline
-func (v *Element) carryPropagateGeneric() *Element {
- c0 := v.l0 >> 51
- c1 := v.l1 >> 51
- c2 := v.l2 >> 51
- c3 := v.l3 >> 51
- c4 := v.l4 >> 51
-
- v.l0 = v.l0&maskLow51Bits + c4*19
- v.l1 = v.l1&maskLow51Bits + c0
- v.l2 = v.l2&maskLow51Bits + c1
- v.l3 = v.l3&maskLow51Bits + c2
- v.l4 = v.l4&maskLow51Bits + c3
-
- return v
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint
deleted file mode 100644
index e3685f95ca..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/sync.checkpoint
+++ /dev/null
@@ -1 +0,0 @@
-b0c49ae9f59d233526f8934262c5bbbe14d4358d
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh b/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh
deleted file mode 100644
index 1ba22a8b4c..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/curve25519/internal/field/sync.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/bash
-set -euo pipefail
-
-cd "$(git rev-parse --show-toplevel)"
-
-STD_PATH=src/crypto/ed25519/internal/edwards25519/field
-LOCAL_PATH=curve25519/internal/field
-LAST_SYNC_REF=$(cat $LOCAL_PATH/sync.checkpoint)
-
-git fetch https://go.googlesource.com/go master
-
-if git diff --quiet $LAST_SYNC_REF:$STD_PATH FETCH_HEAD:$STD_PATH; then
- echo "No changes."
-else
- NEW_REF=$(git rev-parse FETCH_HEAD | tee $LOCAL_PATH/sync.checkpoint)
- echo "Applying changes from $LAST_SYNC_REF to $NEW_REF..."
- git diff $LAST_SYNC_REF:$STD_PATH FETCH_HEAD:$STD_PATH | \
- git apply -3 --directory=$LOCAL_PATH
-fi
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go
index 333da285b3..bd896bdc76 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/mac_noasm.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build (!amd64 && !ppc64le && !s390x) || !gc || purego
+//go:build (!amd64 && !ppc64le && !ppc64 && !s390x) || !gc || purego
package poly1305
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.s b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.s
index e0d3c64756..133757384b 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.s
@@ -1,108 +1,93 @@
-// Copyright 2012 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.
+// Code generated by command: go run sum_amd64_asm.go -out ../sum_amd64.s -pkg poly1305. DO NOT EDIT.
//go:build gc && !purego
-#include "textflag.h"
-
-#define POLY1305_ADD(msg, h0, h1, h2) \
- ADDQ 0(msg), h0; \
- ADCQ 8(msg), h1; \
- ADCQ $1, h2; \
- LEAQ 16(msg), msg
-
-#define POLY1305_MUL(h0, h1, h2, r0, r1, t0, t1, t2, t3) \
- MOVQ r0, AX; \
- MULQ h0; \
- MOVQ AX, t0; \
- MOVQ DX, t1; \
- MOVQ r0, AX; \
- MULQ h1; \
- ADDQ AX, t1; \
- ADCQ $0, DX; \
- MOVQ r0, t2; \
- IMULQ h2, t2; \
- ADDQ DX, t2; \
- \
- MOVQ r1, AX; \
- MULQ h0; \
- ADDQ AX, t1; \
- ADCQ $0, DX; \
- MOVQ DX, h0; \
- MOVQ r1, t3; \
- IMULQ h2, t3; \
- MOVQ r1, AX; \
- MULQ h1; \
- ADDQ AX, t2; \
- ADCQ DX, t3; \
- ADDQ h0, t2; \
- ADCQ $0, t3; \
- \
- MOVQ t0, h0; \
- MOVQ t1, h1; \
- MOVQ t2, h2; \
- ANDQ $3, h2; \
- MOVQ t2, t0; \
- ANDQ $0xFFFFFFFFFFFFFFFC, t0; \
- ADDQ t0, h0; \
- ADCQ t3, h1; \
- ADCQ $0, h2; \
- SHRQ $2, t3, t2; \
- SHRQ $2, t3; \
- ADDQ t2, h0; \
- ADCQ t3, h1; \
- ADCQ $0, h2
-
-// func update(state *[7]uint64, msg []byte)
+// func update(state *macState, msg []byte)
TEXT ·update(SB), $0-32
MOVQ state+0(FP), DI
MOVQ msg_base+8(FP), SI
MOVQ msg_len+16(FP), R15
-
- MOVQ 0(DI), R8 // h0
- MOVQ 8(DI), R9 // h1
- MOVQ 16(DI), R10 // h2
- MOVQ 24(DI), R11 // r0
- MOVQ 32(DI), R12 // r1
-
- CMPQ R15, $16
+ MOVQ (DI), R8
+ MOVQ 8(DI), R9
+ MOVQ 16(DI), R10
+ MOVQ 24(DI), R11
+ MOVQ 32(DI), R12
+ CMPQ R15, $0x10
JB bytes_between_0_and_15
loop:
- POLY1305_ADD(SI, R8, R9, R10)
+ ADDQ (SI), R8
+ ADCQ 8(SI), R9
+ ADCQ $0x01, R10
+ LEAQ 16(SI), SI
multiply:
- POLY1305_MUL(R8, R9, R10, R11, R12, BX, CX, R13, R14)
- SUBQ $16, R15
- CMPQ R15, $16
- JAE loop
+ MOVQ R11, AX
+ MULQ R8
+ MOVQ AX, BX
+ MOVQ DX, CX
+ MOVQ R11, AX
+ MULQ R9
+ ADDQ AX, CX
+ ADCQ $0x00, DX
+ MOVQ R11, R13
+ IMULQ R10, R13
+ ADDQ DX, R13
+ MOVQ R12, AX
+ MULQ R8
+ ADDQ AX, CX
+ ADCQ $0x00, DX
+ MOVQ DX, R8
+ MOVQ R12, R14
+ IMULQ R10, R14
+ MOVQ R12, AX
+ MULQ R9
+ ADDQ AX, R13
+ ADCQ DX, R14
+ ADDQ R8, R13
+ ADCQ $0x00, R14
+ MOVQ BX, R8
+ MOVQ CX, R9
+ MOVQ R13, R10
+ ANDQ $0x03, R10
+ MOVQ R13, BX
+ ANDQ $-4, BX
+ ADDQ BX, R8
+ ADCQ R14, R9
+ ADCQ $0x00, R10
+ SHRQ $0x02, R14, R13
+ SHRQ $0x02, R14
+ ADDQ R13, R8
+ ADCQ R14, R9
+ ADCQ $0x00, R10
+ SUBQ $0x10, R15
+ CMPQ R15, $0x10
+ JAE loop
bytes_between_0_and_15:
TESTQ R15, R15
JZ done
- MOVQ $1, BX
+ MOVQ $0x00000001, BX
XORQ CX, CX
XORQ R13, R13
ADDQ R15, SI
flush_buffer:
- SHLQ $8, BX, CX
- SHLQ $8, BX
+ SHLQ $0x08, BX, CX
+ SHLQ $0x08, BX
MOVB -1(SI), R13
XORQ R13, BX
DECQ SI
DECQ R15
JNZ flush_buffer
-
ADDQ BX, R8
ADCQ CX, R9
- ADCQ $0, R10
- MOVQ $16, R15
+ ADCQ $0x00, R10
+ MOVQ $0x00000010, R15
JMP multiply
done:
- MOVQ R8, 0(DI)
+ MOVQ R8, (DI)
MOVQ R9, 8(DI)
MOVQ R10, 16(DI)
RET
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go
similarity index 95%
rename from cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.go
rename to cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go
index 4aec4874b5..1a1679aaad 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build gc && !purego
+//go:build gc && !purego && (ppc64 || ppc64le)
package poly1305
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.s
similarity index 89%
rename from cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s
rename to cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.s
index b3c1699bff..6899a1dabc 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64x.s
@@ -2,15 +2,25 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build gc && !purego
+//go:build gc && !purego && (ppc64 || ppc64le)
#include "textflag.h"
// This was ported from the amd64 implementation.
+#ifdef GOARCH_ppc64le
+#define LE_MOVD MOVD
+#define LE_MOVWZ MOVWZ
+#define LE_MOVHZ MOVHZ
+#else
+#define LE_MOVD MOVDBR
+#define LE_MOVWZ MOVWBR
+#define LE_MOVHZ MOVHBR
+#endif
+
#define POLY1305_ADD(msg, h0, h1, h2, t0, t1, t2) \
- MOVD (msg), t0; \
- MOVD 8(msg), t1; \
+ LE_MOVD (msg)( R0), t0; \
+ LE_MOVD (msg)(R24), t1; \
MOVD $1, t2; \
ADDC t0, h0, h0; \
ADDE t1, h1, h1; \
@@ -50,10 +60,6 @@
ADDE t3, h1, h1; \
ADDZE h2
-DATA ·poly1305Mask<>+0x00(SB)/8, $0x0FFFFFFC0FFFFFFF
-DATA ·poly1305Mask<>+0x08(SB)/8, $0x0FFFFFFC0FFFFFFC
-GLOBL ·poly1305Mask<>(SB), RODATA, $16
-
// func update(state *[7]uint64, msg []byte)
TEXT ·update(SB), $0-32
MOVD state+0(FP), R3
@@ -66,6 +72,8 @@ TEXT ·update(SB), $0-32
MOVD 24(R3), R11 // r0
MOVD 32(R3), R12 // r1
+ MOVD $8, R24
+
CMP R5, $16
BLT bytes_between_0_and_15
@@ -94,7 +102,7 @@ flush_buffer:
// Greater than 8 -- load the rightmost remaining bytes in msg
// and put into R17 (h1)
- MOVD (R4)(R21), R17
+ LE_MOVD (R4)(R21), R17
MOVD $16, R22
// Find the offset to those bytes
@@ -118,7 +126,7 @@ just1:
BLT less8
// Exactly 8
- MOVD (R4), R16
+ LE_MOVD (R4), R16
CMP R17, $0
@@ -133,7 +141,7 @@ less8:
MOVD $0, R22 // shift count
CMP R5, $4
BLT less4
- MOVWZ (R4), R16
+ LE_MOVWZ (R4), R16
ADD $4, R4
ADD $-4, R5
MOVD $32, R22
@@ -141,7 +149,7 @@ less8:
less4:
CMP R5, $2
BLT less2
- MOVHZ (R4), R21
+ LE_MOVHZ (R4), R21
SLD R22, R21, R21
OR R16, R21, R16
ADD $16, R22
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/client_auth.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/client_auth.go
index 9486c59862..b86dde151d 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/client_auth.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/client_auth.go
@@ -71,6 +71,10 @@ func (c *connection) clientAuthenticate(config *ClientConfig) error {
for auth := AuthMethod(new(noneAuth)); auth != nil; {
ok, methods, err := auth.auth(sessionID, config.User, c.transport, config.Rand, extensions)
if err != nil {
+ // On disconnect, return error immediately
+ if _, ok := err.(*disconnectMsg); ok {
+ return err
+ }
// We return the error later if there is no other method left to
// try.
ok = authFailure
@@ -551,6 +555,7 @@ func (cb KeyboardInteractiveChallenge) auth(session []byte, user string, c packe
}
gotMsgExtInfo := false
+ gotUserAuthInfoRequest := false
for {
packet, err := c.readPacket()
if err != nil {
@@ -581,6 +586,9 @@ func (cb KeyboardInteractiveChallenge) auth(session []byte, user string, c packe
if msg.PartialSuccess {
return authPartialSuccess, msg.Methods, nil
}
+ if !gotUserAuthInfoRequest {
+ return authFailure, msg.Methods, unexpectedMessageError(msgUserAuthInfoRequest, packet[0])
+ }
return authFailure, msg.Methods, nil
case msgUserAuthSuccess:
return authSuccess, nil, nil
@@ -592,6 +600,7 @@ func (cb KeyboardInteractiveChallenge) auth(session []byte, user string, c packe
if err := Unmarshal(packet, &msg); err != nil {
return authFailure, nil, err
}
+ gotUserAuthInfoRequest = true
// Manually unpack the prompt/echo pairs.
rest := msg.Prompts
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/doc.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/doc.go
index edbe63340d..f5d352fe3a 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/doc.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/doc.go
@@ -20,4 +20,4 @@ References:
This package does not fall under the stability promise of the Go language itself,
so its API may be changed when pressing needs arise.
*/
-package ssh // import "golang.org/x/crypto/ssh"
+package ssh
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/keys.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/keys.go
index 7967665f17..98e6706d5d 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/keys.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/keys.go
@@ -488,7 +488,49 @@ func (r *rsaPublicKey) Verify(data []byte, sig *Signature) error {
h := hash.New()
h.Write(data)
digest := h.Sum(nil)
- return rsa.VerifyPKCS1v15((*rsa.PublicKey)(r), hash, digest, sig.Blob)
+
+ // Signatures in PKCS1v15 must match the key's modulus in
+ // length. However with SSH, some signers provide RSA
+ // signatures which are missing the MSB 0's of the bignum
+ // represented. With ssh-rsa signatures, this is encouraged by
+ // the spec (even though e.g. OpenSSH will give the full
+ // length unconditionally). With rsa-sha2-* signatures, the
+ // verifier is allowed to support these, even though they are
+ // out of spec. See RFC 4253 Section 6.6 for ssh-rsa and RFC
+ // 8332 Section 3 for rsa-sha2-* details.
+ //
+ // In practice:
+ // * OpenSSH always allows "short" signatures:
+ // https://github.com/openssh/openssh-portable/blob/V_9_8_P1/ssh-rsa.c#L526
+ // but always generates padded signatures:
+ // https://github.com/openssh/openssh-portable/blob/V_9_8_P1/ssh-rsa.c#L439
+ //
+ // * PuTTY versions 0.81 and earlier will generate short
+ // signatures for all RSA signature variants. Note that
+ // PuTTY is embedded in other software, such as WinSCP and
+ // FileZilla. At the time of writing, a patch has been
+ // applied to PuTTY to generate padded signatures for
+ // rsa-sha2-*, but not yet released:
+ // https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=a5bcf3d384e1bf15a51a6923c3724cbbee022d8e
+ //
+ // * SSH.NET versions 2024.0.0 and earlier will generate short
+ // signatures for all RSA signature variants, fixed in 2024.1.0:
+ // https://github.com/sshnet/SSH.NET/releases/tag/2024.1.0
+ //
+ // As a result, we pad these up to the key size by inserting
+ // leading 0's.
+ //
+ // Note that support for short signatures with rsa-sha2-* may
+ // be removed in the future due to such signatures not being
+ // allowed by the spec.
+ blob := sig.Blob
+ keySize := (*rsa.PublicKey)(r).Size()
+ if len(blob) < keySize {
+ padded := make([]byte, keySize)
+ copy(padded[keySize-len(blob):], blob)
+ blob = padded
+ }
+ return rsa.VerifyPKCS1v15((*rsa.PublicKey)(r), hash, digest, blob)
}
func (r *rsaPublicKey) CryptoPublicKey() crypto.PublicKey {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/server.go b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/server.go
index 3ca9e89e22..5b5ccd96f4 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/server.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/crypto/ssh/server.go
@@ -149,7 +149,7 @@ func (s *ServerConfig) AddHostKey(key Signer) {
}
// cachedPubKey contains the results of querying whether a public key is
-// acceptable for a user.
+// acceptable for a user. This is a FIFO cache.
type cachedPubKey struct {
user string
pubKeyData []byte
@@ -157,7 +157,13 @@ type cachedPubKey struct {
perms *Permissions
}
-const maxCachedPubKeys = 16
+// maxCachedPubKeys is the number of cache entries we store.
+//
+// Due to consistent misuse of the PublicKeyCallback API, we have reduced this
+// to 1, such that the only key in the cache is the most recently seen one. This
+// forces the behavior that the last call to PublicKeyCallback will always be
+// with the key that is used for authentication.
+const maxCachedPubKeys = 1
// pubKeyCache caches tests for public keys. Since SSH clients
// will query whether a public key is acceptable before attempting to
@@ -179,9 +185,10 @@ func (c *pubKeyCache) get(user string, pubKeyData []byte) (cachedPubKey, bool) {
// add adds the given tuple to the cache.
func (c *pubKeyCache) add(candidate cachedPubKey) {
- if len(c.keys) < maxCachedPubKeys {
- c.keys = append(c.keys, candidate)
+ if len(c.keys) >= maxCachedPubKeys {
+ c.keys = c.keys[1:]
}
+ c.keys = append(c.keys, candidate)
}
// ServerConn is an authenticated SSH connection, as seen from the
@@ -510,8 +517,8 @@ userAuthLoop:
if err := s.transport.writePacket(Marshal(discMsg)); err != nil {
return nil, err
}
-
- return nil, discMsg
+ authErrs = append(authErrs, discMsg)
+ return nil, &ServerAuthError{Errors: authErrs}
}
var userAuthReq userAuthRequestMsg
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/exp/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/exp/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/exp/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/exp/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/exp/slices/sort.go b/cluster-api/providers/azure/vendor/golang.org/x/exp/slices/sort.go
index b67897f76b..f58bbc7ba4 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/exp/slices/sort.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/exp/slices/sort.go
@@ -22,10 +22,12 @@ func Sort[S ~[]E, E constraints.Ordered](x S) {
// SortFunc sorts the slice x in ascending order as determined by the cmp
// function. This sort is not guaranteed to be stable.
// cmp(a, b) should return a negative number when a < b, a positive number when
-// a > b and zero when a == b.
+// a > b and zero when a == b or when a is not comparable to b in the sense
+// of the formal definition of Strict Weak Ordering.
//
// SortFunc requires that cmp is a strict weak ordering.
// See https://en.wikipedia.org/wiki/Weak_ordering#Strict_weak_orderings.
+// To indicate 'uncomparable', return 0 from the function.
func SortFunc[S ~[]E, E any](x S, cmp func(a, b E) int) {
n := len(x)
pdqsortCmpFunc(x, 0, n, bits.Len(uint(n)), cmp)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/mod/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/mod/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/mod/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/mod/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/net/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/html/doc.go b/cluster-api/providers/azure/vendor/golang.org/x/net/html/doc.go
index 3a7e5ab176..885c4c5936 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/html/doc.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/html/doc.go
@@ -78,16 +78,11 @@ example, to process each anchor node in depth-first order:
if err != nil {
// ...
}
- var f func(*html.Node)
- f = func(n *html.Node) {
+ for n := range doc.Descendants() {
if n.Type == html.ElementNode && n.Data == "a" {
// Do something with n...
}
- for c := n.FirstChild; c != nil; c = c.NextSibling {
- f(c)
- }
}
- f(doc)
The relevant specifications include:
https://html.spec.whatwg.org/multipage/syntax.html and
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/html/doctype.go b/cluster-api/providers/azure/vendor/golang.org/x/net/html/doctype.go
index c484e5a94f..bca3ae9a0c 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/html/doctype.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/html/doctype.go
@@ -87,7 +87,7 @@ func parseDoctype(s string) (n *Node, quirks bool) {
}
}
if lastAttr := n.Attr[len(n.Attr)-1]; lastAttr.Key == "system" &&
- strings.ToLower(lastAttr.Val) == "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd" {
+ strings.EqualFold(lastAttr.Val, "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd") {
quirks = true
}
}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/html/foreign.go b/cluster-api/providers/azure/vendor/golang.org/x/net/html/foreign.go
index 9da9e9dc42..e8515d8e88 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/html/foreign.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/html/foreign.go
@@ -40,8 +40,7 @@ func htmlIntegrationPoint(n *Node) bool {
if n.Data == "annotation-xml" {
for _, a := range n.Attr {
if a.Key == "encoding" {
- val := strings.ToLower(a.Val)
- if val == "text/html" || val == "application/xhtml+xml" {
+ if strings.EqualFold(a.Val, "text/html") || strings.EqualFold(a.Val, "application/xhtml+xml") {
return true
}
}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/html/iter.go b/cluster-api/providers/azure/vendor/golang.org/x/net/html/iter.go
new file mode 100644
index 0000000000..54be8fd30f
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/html/iter.go
@@ -0,0 +1,56 @@
+// Copyright 2024 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.
+
+//go:build go1.23
+
+package html
+
+import "iter"
+
+// Ancestors returns an iterator over the ancestors of n, starting with n.Parent.
+//
+// Mutating a Node or its parents while iterating may have unexpected results.
+func (n *Node) Ancestors() iter.Seq[*Node] {
+ _ = n.Parent // eager nil check
+
+ return func(yield func(*Node) bool) {
+ for p := n.Parent; p != nil && yield(p); p = p.Parent {
+ }
+ }
+}
+
+// ChildNodes returns an iterator over the immediate children of n,
+// starting with n.FirstChild.
+//
+// Mutating a Node or its children while iterating may have unexpected results.
+func (n *Node) ChildNodes() iter.Seq[*Node] {
+ _ = n.FirstChild // eager nil check
+
+ return func(yield func(*Node) bool) {
+ for c := n.FirstChild; c != nil && yield(c); c = c.NextSibling {
+ }
+ }
+
+}
+
+// Descendants returns an iterator over all nodes recursively beneath
+// n, excluding n itself. Nodes are visited in depth-first preorder.
+//
+// Mutating a Node or its descendants while iterating may have unexpected results.
+func (n *Node) Descendants() iter.Seq[*Node] {
+ _ = n.FirstChild // eager nil check
+
+ return func(yield func(*Node) bool) {
+ n.descendants(yield)
+ }
+}
+
+func (n *Node) descendants(yield func(*Node) bool) bool {
+ for c := range n.ChildNodes() {
+ if !yield(c) || !c.descendants(yield) {
+ return false
+ }
+ }
+ return true
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/html/node.go b/cluster-api/providers/azure/vendor/golang.org/x/net/html/node.go
index 1350eef22c..77741a1950 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/html/node.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/html/node.go
@@ -38,6 +38,10 @@ var scopeMarker = Node{Type: scopeMarkerNode}
// that it looks like "a maxFrameSize {
+ conf.MaxReadFrameSize = maxFrameSize
+ }
+
+ if h2.t1 != nil {
+ fillNetHTTPTransportConfig(&conf, h2.t1)
+ }
+ setConfigDefaults(&conf, false)
+ return conf
+}
+
+func setDefault[T ~int | ~int32 | ~uint32 | ~int64](v *T, minval, maxval, defval T) {
+ if *v < minval || *v > maxval {
+ *v = defval
+ }
+}
+
+func setConfigDefaults(conf *http2Config, server bool) {
+ setDefault(&conf.MaxConcurrentStreams, 1, math.MaxUint32, defaultMaxStreams)
+ setDefault(&conf.MaxEncoderHeaderTableSize, 1, math.MaxUint32, initialHeaderTableSize)
+ setDefault(&conf.MaxDecoderHeaderTableSize, 1, math.MaxUint32, initialHeaderTableSize)
+ if server {
+ setDefault(&conf.MaxUploadBufferPerConnection, initialWindowSize, math.MaxInt32, 1<<20)
+ } else {
+ setDefault(&conf.MaxUploadBufferPerConnection, initialWindowSize, math.MaxInt32, transportDefaultConnFlow)
+ }
+ if server {
+ setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, 1<<20)
+ } else {
+ setDefault(&conf.MaxUploadBufferPerStream, 1, math.MaxInt32, transportDefaultStreamFlow)
+ }
+ setDefault(&conf.MaxReadFrameSize, minMaxFrameSize, maxFrameSize, defaultMaxReadFrameSize)
+ setDefault(&conf.PingTimeout, 1, math.MaxInt64, 15*time.Second)
+}
+
+// adjustHTTP1MaxHeaderSize converts a limit in bytes on the size of an HTTP/1 header
+// to an HTTP/2 MAX_HEADER_LIST_SIZE value.
+func adjustHTTP1MaxHeaderSize(n int64) int64 {
+ // http2's count is in a slightly different unit and includes 32 bytes per pair.
+ // So, take the net/http.Server value and pad it up a bit, assuming 10 headers.
+ const perFieldOverhead = 32 // per http2 spec
+ const typicalHeaders = 10 // conservative
+ return n + typicalHeaders*perFieldOverhead
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/config_go124.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/config_go124.go
new file mode 100644
index 0000000000..e3784123c8
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/config_go124.go
@@ -0,0 +1,61 @@
+// Copyright 2024 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.
+
+//go:build go1.24
+
+package http2
+
+import "net/http"
+
+// fillNetHTTPServerConfig sets fields in conf from srv.HTTP2.
+func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {
+ fillNetHTTPConfig(conf, srv.HTTP2)
+}
+
+// fillNetHTTPServerConfig sets fields in conf from tr.HTTP2.
+func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {
+ fillNetHTTPConfig(conf, tr.HTTP2)
+}
+
+func fillNetHTTPConfig(conf *http2Config, h2 *http.HTTP2Config) {
+ if h2 == nil {
+ return
+ }
+ if h2.MaxConcurrentStreams != 0 {
+ conf.MaxConcurrentStreams = uint32(h2.MaxConcurrentStreams)
+ }
+ if h2.MaxEncoderHeaderTableSize != 0 {
+ conf.MaxEncoderHeaderTableSize = uint32(h2.MaxEncoderHeaderTableSize)
+ }
+ if h2.MaxDecoderHeaderTableSize != 0 {
+ conf.MaxDecoderHeaderTableSize = uint32(h2.MaxDecoderHeaderTableSize)
+ }
+ if h2.MaxConcurrentStreams != 0 {
+ conf.MaxConcurrentStreams = uint32(h2.MaxConcurrentStreams)
+ }
+ if h2.MaxReadFrameSize != 0 {
+ conf.MaxReadFrameSize = uint32(h2.MaxReadFrameSize)
+ }
+ if h2.MaxReceiveBufferPerConnection != 0 {
+ conf.MaxUploadBufferPerConnection = int32(h2.MaxReceiveBufferPerConnection)
+ }
+ if h2.MaxReceiveBufferPerStream != 0 {
+ conf.MaxUploadBufferPerStream = int32(h2.MaxReceiveBufferPerStream)
+ }
+ if h2.SendPingTimeout != 0 {
+ conf.SendPingTimeout = h2.SendPingTimeout
+ }
+ if h2.PingTimeout != 0 {
+ conf.PingTimeout = h2.PingTimeout
+ }
+ if h2.WriteByteTimeout != 0 {
+ conf.WriteByteTimeout = h2.WriteByteTimeout
+ }
+ if h2.PermitProhibitedCipherSuites {
+ conf.PermitProhibitedCipherSuites = true
+ }
+ if h2.CountError != nil {
+ conf.CountError = h2.CountError
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/config_pre_go124.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/config_pre_go124.go
new file mode 100644
index 0000000000..060fd6c64c
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/config_pre_go124.go
@@ -0,0 +1,16 @@
+// Copyright 2024 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.
+
+//go:build !go1.24
+
+package http2
+
+import "net/http"
+
+// Pre-Go 1.24 fallback.
+// The Server.HTTP2 and Transport.HTTP2 config fields were added in Go 1.24.
+
+func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {}
+
+func fillNetHTTPTransportConfig(conf *http2Config, tr *http.Transport) {}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/frame.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/frame.go
index 105c3b279c..81faec7e75 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/frame.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/frame.go
@@ -1490,7 +1490,7 @@ func (mh *MetaHeadersFrame) checkPseudos() error {
pf := mh.PseudoFields()
for i, hf := range pf {
switch hf.Name {
- case ":method", ":path", ":scheme", ":authority":
+ case ":method", ":path", ":scheme", ":authority", ":protocol":
isRequest = true
case ":status":
isResponse = true
@@ -1498,7 +1498,7 @@ func (mh *MetaHeadersFrame) checkPseudos() error {
return pseudoHeaderError(hf.Name)
}
// Check for duplicates.
- // This would be a bad algorithm, but N is 4.
+ // This would be a bad algorithm, but N is 5.
// And this doesn't allocate.
for _, hf2 := range pf[:i] {
if hf.Name == hf2.Name {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/http2.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/http2.go
index 003e649f30..c7601c909f 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/http2.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/http2.go
@@ -19,8 +19,9 @@ import (
"bufio"
"context"
"crypto/tls"
+ "errors"
"fmt"
- "io"
+ "net"
"net/http"
"os"
"sort"
@@ -33,10 +34,11 @@ import (
)
var (
- VerboseLogs bool
- logFrameWrites bool
- logFrameReads bool
- inTests bool
+ VerboseLogs bool
+ logFrameWrites bool
+ logFrameReads bool
+ inTests bool
+ disableExtendedConnectProtocol bool
)
func init() {
@@ -49,6 +51,9 @@ func init() {
logFrameWrites = true
logFrameReads = true
}
+ if strings.Contains(e, "http2xconnect=0") {
+ disableExtendedConnectProtocol = true
+ }
}
const (
@@ -140,6 +145,10 @@ func (s Setting) Valid() error {
if s.Val < 16384 || s.Val > 1<<24-1 {
return ConnectionError(ErrCodeProtocol)
}
+ case SettingEnableConnectProtocol:
+ if s.Val != 1 && s.Val != 0 {
+ return ConnectionError(ErrCodeProtocol)
+ }
}
return nil
}
@@ -149,21 +158,23 @@ func (s Setting) Valid() error {
type SettingID uint16
const (
- SettingHeaderTableSize SettingID = 0x1
- SettingEnablePush SettingID = 0x2
- SettingMaxConcurrentStreams SettingID = 0x3
- SettingInitialWindowSize SettingID = 0x4
- SettingMaxFrameSize SettingID = 0x5
- SettingMaxHeaderListSize SettingID = 0x6
+ SettingHeaderTableSize SettingID = 0x1
+ SettingEnablePush SettingID = 0x2
+ SettingMaxConcurrentStreams SettingID = 0x3
+ SettingInitialWindowSize SettingID = 0x4
+ SettingMaxFrameSize SettingID = 0x5
+ SettingMaxHeaderListSize SettingID = 0x6
+ SettingEnableConnectProtocol SettingID = 0x8
)
var settingName = map[SettingID]string{
- SettingHeaderTableSize: "HEADER_TABLE_SIZE",
- SettingEnablePush: "ENABLE_PUSH",
- SettingMaxConcurrentStreams: "MAX_CONCURRENT_STREAMS",
- SettingInitialWindowSize: "INITIAL_WINDOW_SIZE",
- SettingMaxFrameSize: "MAX_FRAME_SIZE",
- SettingMaxHeaderListSize: "MAX_HEADER_LIST_SIZE",
+ SettingHeaderTableSize: "HEADER_TABLE_SIZE",
+ SettingEnablePush: "ENABLE_PUSH",
+ SettingMaxConcurrentStreams: "MAX_CONCURRENT_STREAMS",
+ SettingInitialWindowSize: "INITIAL_WINDOW_SIZE",
+ SettingMaxFrameSize: "MAX_FRAME_SIZE",
+ SettingMaxHeaderListSize: "MAX_HEADER_LIST_SIZE",
+ SettingEnableConnectProtocol: "ENABLE_CONNECT_PROTOCOL",
}
func (s SettingID) String() string {
@@ -237,13 +248,19 @@ func (cw closeWaiter) Wait() {
// Its buffered writer is lazily allocated as needed, to minimize
// idle memory usage with many connections.
type bufferedWriter struct {
- _ incomparable
- w io.Writer // immutable
- bw *bufio.Writer // non-nil when data is buffered
+ _ incomparable
+ group synctestGroupInterface // immutable
+ conn net.Conn // immutable
+ bw *bufio.Writer // non-nil when data is buffered
+ byteTimeout time.Duration // immutable, WriteByteTimeout
}
-func newBufferedWriter(w io.Writer) *bufferedWriter {
- return &bufferedWriter{w: w}
+func newBufferedWriter(group synctestGroupInterface, conn net.Conn, timeout time.Duration) *bufferedWriter {
+ return &bufferedWriter{
+ group: group,
+ conn: conn,
+ byteTimeout: timeout,
+ }
}
// bufWriterPoolBufferSize is the size of bufio.Writer's
@@ -270,7 +287,7 @@ func (w *bufferedWriter) Available() int {
func (w *bufferedWriter) Write(p []byte) (n int, err error) {
if w.bw == nil {
bw := bufWriterPool.Get().(*bufio.Writer)
- bw.Reset(w.w)
+ bw.Reset((*bufferedWriterTimeoutWriter)(w))
w.bw = bw
}
return w.bw.Write(p)
@@ -288,6 +305,38 @@ func (w *bufferedWriter) Flush() error {
return err
}
+type bufferedWriterTimeoutWriter bufferedWriter
+
+func (w *bufferedWriterTimeoutWriter) Write(p []byte) (n int, err error) {
+ return writeWithByteTimeout(w.group, w.conn, w.byteTimeout, p)
+}
+
+// writeWithByteTimeout writes to conn.
+// If more than timeout passes without any bytes being written to the connection,
+// the write fails.
+func writeWithByteTimeout(group synctestGroupInterface, conn net.Conn, timeout time.Duration, p []byte) (n int, err error) {
+ if timeout <= 0 {
+ return conn.Write(p)
+ }
+ for {
+ var now time.Time
+ if group == nil {
+ now = time.Now()
+ } else {
+ now = group.Now()
+ }
+ conn.SetWriteDeadline(now.Add(timeout))
+ nn, err := conn.Write(p[n:])
+ n += nn
+ if n == len(p) || nn == 0 || !errors.Is(err, os.ErrDeadlineExceeded) {
+ // Either we finished the write, made no progress, or hit the deadline.
+ // Whichever it is, we're done now.
+ conn.SetWriteDeadline(time.Time{})
+ return n, err
+ }
+ }
+}
+
func mustUint31(v int32) uint32 {
if v < 0 || v > 2147483647 {
panic("out of range")
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/server.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/server.go
index 6c349f3ec6..b55547aec6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/server.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/server.go
@@ -29,6 +29,7 @@ import (
"bufio"
"bytes"
"context"
+ "crypto/rand"
"crypto/tls"
"errors"
"fmt"
@@ -52,10 +53,14 @@ import (
)
const (
- prefaceTimeout = 10 * time.Second
- firstSettingsTimeout = 2 * time.Second // should be in-flight with preface anyway
- handlerChunkWriteSize = 4 << 10
- defaultMaxStreams = 250 // TODO: make this 100 as the GFE seems to?
+ prefaceTimeout = 10 * time.Second
+ firstSettingsTimeout = 2 * time.Second // should be in-flight with preface anyway
+ handlerChunkWriteSize = 4 << 10
+ defaultMaxStreams = 250 // TODO: make this 100 as the GFE seems to?
+
+ // maxQueuedControlFrames is the maximum number of control frames like
+ // SETTINGS, PING and RST_STREAM that will be queued for writing before
+ // the connection is closed to prevent memory exhaustion attacks.
maxQueuedControlFrames = 10000
)
@@ -127,6 +132,22 @@ type Server struct {
// If zero or negative, there is no timeout.
IdleTimeout time.Duration
+ // ReadIdleTimeout is the timeout after which a health check using a ping
+ // frame will be carried out if no frame is received on the connection.
+ // If zero, no health check is performed.
+ ReadIdleTimeout time.Duration
+
+ // PingTimeout is the timeout after which the connection will be closed
+ // if a response to a ping is not received.
+ // If zero, a default of 15 seconds is used.
+ PingTimeout time.Duration
+
+ // WriteByteTimeout is the timeout after which a connection will be
+ // closed if no data can be written to it. The timeout begins when data is
+ // available to write, and is extended whenever any bytes are written.
+ // If zero or negative, there is no timeout.
+ WriteByteTimeout time.Duration
+
// MaxUploadBufferPerConnection is the size of the initial flow
// control window for each connections. The HTTP/2 spec does not
// allow this to be smaller than 65535 or larger than 2^32-1.
@@ -189,57 +210,6 @@ func (s *Server) afterFunc(d time.Duration, f func()) timer {
return timeTimer{time.AfterFunc(d, f)}
}
-func (s *Server) initialConnRecvWindowSize() int32 {
- if s.MaxUploadBufferPerConnection >= initialWindowSize {
- return s.MaxUploadBufferPerConnection
- }
- return 1 << 20
-}
-
-func (s *Server) initialStreamRecvWindowSize() int32 {
- if s.MaxUploadBufferPerStream > 0 {
- return s.MaxUploadBufferPerStream
- }
- return 1 << 20
-}
-
-func (s *Server) maxReadFrameSize() uint32 {
- if v := s.MaxReadFrameSize; v >= minMaxFrameSize && v <= maxFrameSize {
- return v
- }
- return defaultMaxReadFrameSize
-}
-
-func (s *Server) maxConcurrentStreams() uint32 {
- if v := s.MaxConcurrentStreams; v > 0 {
- return v
- }
- return defaultMaxStreams
-}
-
-func (s *Server) maxDecoderHeaderTableSize() uint32 {
- if v := s.MaxDecoderHeaderTableSize; v > 0 {
- return v
- }
- return initialHeaderTableSize
-}
-
-func (s *Server) maxEncoderHeaderTableSize() uint32 {
- if v := s.MaxEncoderHeaderTableSize; v > 0 {
- return v
- }
- return initialHeaderTableSize
-}
-
-// maxQueuedControlFrames is the maximum number of control frames like
-// SETTINGS, PING and RST_STREAM that will be queued for writing before
-// the connection is closed to prevent memory exhaustion attacks.
-func (s *Server) maxQueuedControlFrames() int {
- // TODO: if anybody asks, add a Server field, and remember to define the
- // behavior of negative values.
- return maxQueuedControlFrames
-}
-
type serverInternalState struct {
mu sync.Mutex
activeConns map[*serverConn]struct{}
@@ -336,7 +306,7 @@ func ConfigureServer(s *http.Server, conf *Server) error {
if s.TLSNextProto == nil {
s.TLSNextProto = map[string]func(*http.Server, *tls.Conn, http.Handler){}
}
- protoHandler := func(hs *http.Server, c *tls.Conn, h http.Handler) {
+ protoHandler := func(hs *http.Server, c net.Conn, h http.Handler, sawClientPreface bool) {
if testHookOnConn != nil {
testHookOnConn()
}
@@ -353,12 +323,31 @@ func ConfigureServer(s *http.Server, conf *Server) error {
ctx = bc.BaseContext()
}
conf.ServeConn(c, &ServeConnOpts{
- Context: ctx,
- Handler: h,
- BaseConfig: hs,
+ Context: ctx,
+ Handler: h,
+ BaseConfig: hs,
+ SawClientPreface: sawClientPreface,
})
}
- s.TLSNextProto[NextProtoTLS] = protoHandler
+ s.TLSNextProto[NextProtoTLS] = func(hs *http.Server, c *tls.Conn, h http.Handler) {
+ protoHandler(hs, c, h, false)
+ }
+ // The "unencrypted_http2" TLSNextProto key is used to pass off non-TLS HTTP/2 conns.
+ //
+ // A connection passed in this method has already had the HTTP/2 preface read from it.
+ s.TLSNextProto[nextProtoUnencryptedHTTP2] = func(hs *http.Server, c *tls.Conn, h http.Handler) {
+ nc, err := unencryptedNetConnFromTLSConn(c)
+ if err != nil {
+ if lg := hs.ErrorLog; lg != nil {
+ lg.Print(err)
+ } else {
+ log.Print(err)
+ }
+ go c.Close()
+ return
+ }
+ protoHandler(hs, nc, h, true)
+ }
return nil
}
@@ -440,13 +429,15 @@ func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverCon
baseCtx, cancel := serverConnBaseContext(c, opts)
defer cancel()
+ http1srv := opts.baseConfig()
+ conf := configFromServer(http1srv, s)
sc := &serverConn{
srv: s,
- hs: opts.baseConfig(),
+ hs: http1srv,
conn: c,
baseCtx: baseCtx,
remoteAddrStr: c.RemoteAddr().String(),
- bw: newBufferedWriter(c),
+ bw: newBufferedWriter(s.group, c, conf.WriteByteTimeout),
handler: opts.handler(),
streams: make(map[uint32]*stream),
readFrameCh: make(chan readFrameResult),
@@ -456,9 +447,12 @@ func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverCon
bodyReadCh: make(chan bodyReadMsg), // buffering doesn't matter either way
doneServing: make(chan struct{}),
clientMaxStreams: math.MaxUint32, // Section 6.5.2: "Initially, there is no limit to this value"
- advMaxStreams: s.maxConcurrentStreams(),
+ advMaxStreams: conf.MaxConcurrentStreams,
initialStreamSendWindowSize: initialWindowSize,
+ initialStreamRecvWindowSize: conf.MaxUploadBufferPerStream,
maxFrameSize: initialMaxFrameSize,
+ pingTimeout: conf.PingTimeout,
+ countErrorFunc: conf.CountError,
serveG: newGoroutineLock(),
pushEnabled: true,
sawClientPreface: opts.SawClientPreface,
@@ -491,15 +485,15 @@ func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverCon
sc.flow.add(initialWindowSize)
sc.inflow.init(initialWindowSize)
sc.hpackEncoder = hpack.NewEncoder(&sc.headerWriteBuf)
- sc.hpackEncoder.SetMaxDynamicTableSizeLimit(s.maxEncoderHeaderTableSize())
+ sc.hpackEncoder.SetMaxDynamicTableSizeLimit(conf.MaxEncoderHeaderTableSize)
fr := NewFramer(sc.bw, c)
- if s.CountError != nil {
- fr.countError = s.CountError
+ if conf.CountError != nil {
+ fr.countError = conf.CountError
}
- fr.ReadMetaHeaders = hpack.NewDecoder(s.maxDecoderHeaderTableSize(), nil)
+ fr.ReadMetaHeaders = hpack.NewDecoder(conf.MaxDecoderHeaderTableSize, nil)
fr.MaxHeaderListSize = sc.maxHeaderListSize()
- fr.SetMaxReadFrameSize(s.maxReadFrameSize())
+ fr.SetMaxReadFrameSize(conf.MaxReadFrameSize)
sc.framer = fr
if tc, ok := c.(connectionStater); ok {
@@ -532,7 +526,7 @@ func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverCon
// So for now, do nothing here again.
}
- if !s.PermitProhibitedCipherSuites && isBadCipher(sc.tlsState.CipherSuite) {
+ if !conf.PermitProhibitedCipherSuites && isBadCipher(sc.tlsState.CipherSuite) {
// "Endpoints MAY choose to generate a connection error
// (Section 5.4.1) of type INADEQUATE_SECURITY if one of
// the prohibited cipher suites are negotiated."
@@ -569,7 +563,7 @@ func (s *Server) serveConn(c net.Conn, opts *ServeConnOpts, newf func(*serverCon
opts.UpgradeRequest = nil
}
- sc.serve()
+ sc.serve(conf)
}
func serverConnBaseContext(c net.Conn, opts *ServeConnOpts) (ctx context.Context, cancel func()) {
@@ -609,6 +603,7 @@ type serverConn struct {
tlsState *tls.ConnectionState // shared by all handlers, like net/http
remoteAddrStr string
writeSched WriteScheduler
+ countErrorFunc func(errType string)
// Everything following is owned by the serve loop; use serveG.check():
serveG goroutineLock // used to verify funcs are on serve()
@@ -628,6 +623,7 @@ type serverConn struct {
streams map[uint32]*stream
unstartedHandlers []unstartedHandler
initialStreamSendWindowSize int32
+ initialStreamRecvWindowSize int32
maxFrameSize int32
peerMaxHeaderListSize uint32 // zero means unknown (default)
canonHeader map[string]string // http2-lower-case -> Go-Canonical-Case
@@ -638,9 +634,14 @@ type serverConn struct {
inGoAway bool // we've started to or sent GOAWAY
inFrameScheduleLoop bool // whether we're in the scheduleFrameWrite loop
needToSendGoAway bool // we need to schedule a GOAWAY frame write
+ pingSent bool
+ sentPingData [8]byte
goAwayCode ErrCode
shutdownTimer timer // nil until used
idleTimer timer // nil if unused
+ readIdleTimeout time.Duration
+ pingTimeout time.Duration
+ readIdleTimer timer // nil if unused
// Owned by the writeFrameAsync goroutine:
headerWriteBuf bytes.Buffer
@@ -655,11 +656,7 @@ func (sc *serverConn) maxHeaderListSize() uint32 {
if n <= 0 {
n = http.DefaultMaxHeaderBytes
}
- // http2's count is in a slightly different unit and includes 32 bytes per pair.
- // So, take the net/http.Server value and pad it up a bit, assuming 10 headers.
- const perFieldOverhead = 32 // per http2 spec
- const typicalHeaders = 10 // conservative
- return uint32(n + typicalHeaders*perFieldOverhead)
+ return uint32(adjustHTTP1MaxHeaderSize(int64(n)))
}
func (sc *serverConn) curOpenStreams() uint32 {
@@ -923,7 +920,7 @@ func (sc *serverConn) notePanic() {
}
}
-func (sc *serverConn) serve() {
+func (sc *serverConn) serve(conf http2Config) {
sc.serveG.check()
defer sc.notePanic()
defer sc.conn.Close()
@@ -935,20 +932,24 @@ func (sc *serverConn) serve() {
sc.vlogf("http2: server connection from %v on %p", sc.conn.RemoteAddr(), sc.hs)
}
+ settings := writeSettings{
+ {SettingMaxFrameSize, conf.MaxReadFrameSize},
+ {SettingMaxConcurrentStreams, sc.advMaxStreams},
+ {SettingMaxHeaderListSize, sc.maxHeaderListSize()},
+ {SettingHeaderTableSize, conf.MaxDecoderHeaderTableSize},
+ {SettingInitialWindowSize, uint32(sc.initialStreamRecvWindowSize)},
+ }
+ if !disableExtendedConnectProtocol {
+ settings = append(settings, Setting{SettingEnableConnectProtocol, 1})
+ }
sc.writeFrame(FrameWriteRequest{
- write: writeSettings{
- {SettingMaxFrameSize, sc.srv.maxReadFrameSize()},
- {SettingMaxConcurrentStreams, sc.advMaxStreams},
- {SettingMaxHeaderListSize, sc.maxHeaderListSize()},
- {SettingHeaderTableSize, sc.srv.maxDecoderHeaderTableSize()},
- {SettingInitialWindowSize, uint32(sc.srv.initialStreamRecvWindowSize())},
- },
+ write: settings,
})
sc.unackedSettings++
// Each connection starts with initialWindowSize inflow tokens.
// If a higher value is configured, we add more tokens.
- if diff := sc.srv.initialConnRecvWindowSize() - initialWindowSize; diff > 0 {
+ if diff := conf.MaxUploadBufferPerConnection - initialWindowSize; diff > 0 {
sc.sendWindowUpdate(nil, int(diff))
}
@@ -968,11 +969,18 @@ func (sc *serverConn) serve() {
defer sc.idleTimer.Stop()
}
+ if conf.SendPingTimeout > 0 {
+ sc.readIdleTimeout = conf.SendPingTimeout
+ sc.readIdleTimer = sc.srv.afterFunc(conf.SendPingTimeout, sc.onReadIdleTimer)
+ defer sc.readIdleTimer.Stop()
+ }
+
go sc.readFrames() // closed by defer sc.conn.Close above
settingsTimer := sc.srv.afterFunc(firstSettingsTimeout, sc.onSettingsTimer)
defer settingsTimer.Stop()
+ lastFrameTime := sc.srv.now()
loopNum := 0
for {
loopNum++
@@ -986,6 +994,7 @@ func (sc *serverConn) serve() {
case res := <-sc.wroteFrameCh:
sc.wroteFrame(res)
case res := <-sc.readFrameCh:
+ lastFrameTime = sc.srv.now()
// Process any written frames before reading new frames from the client since a
// written frame could have triggered a new stream to be started.
if sc.writingFrameAsync {
@@ -1017,6 +1026,8 @@ func (sc *serverConn) serve() {
case idleTimerMsg:
sc.vlogf("connection is idle")
sc.goAway(ErrCodeNo)
+ case readIdleTimerMsg:
+ sc.handlePingTimer(lastFrameTime)
case shutdownTimerMsg:
sc.vlogf("GOAWAY close timer fired; closing conn from %v", sc.conn.RemoteAddr())
return
@@ -1039,7 +1050,7 @@ func (sc *serverConn) serve() {
// If the peer is causing us to generate a lot of control frames,
// but not reading them from us, assume they are trying to make us
// run out of memory.
- if sc.queuedControlFrames > sc.srv.maxQueuedControlFrames() {
+ if sc.queuedControlFrames > maxQueuedControlFrames {
sc.vlogf("http2: too many control frames in send queue, closing connection")
return
}
@@ -1055,12 +1066,39 @@ func (sc *serverConn) serve() {
}
}
+func (sc *serverConn) handlePingTimer(lastFrameReadTime time.Time) {
+ if sc.pingSent {
+ sc.vlogf("timeout waiting for PING response")
+ sc.conn.Close()
+ return
+ }
+
+ pingAt := lastFrameReadTime.Add(sc.readIdleTimeout)
+ now := sc.srv.now()
+ if pingAt.After(now) {
+ // We received frames since arming the ping timer.
+ // Reset it for the next possible timeout.
+ sc.readIdleTimer.Reset(pingAt.Sub(now))
+ return
+ }
+
+ sc.pingSent = true
+ // Ignore crypto/rand.Read errors: It generally can't fail, and worse case if it does
+ // is we send a PING frame containing 0s.
+ _, _ = rand.Read(sc.sentPingData[:])
+ sc.writeFrame(FrameWriteRequest{
+ write: &writePing{data: sc.sentPingData},
+ })
+ sc.readIdleTimer.Reset(sc.pingTimeout)
+}
+
type serverMessage int
// Message values sent to serveMsgCh.
var (
settingsTimerMsg = new(serverMessage)
idleTimerMsg = new(serverMessage)
+ readIdleTimerMsg = new(serverMessage)
shutdownTimerMsg = new(serverMessage)
gracefulShutdownMsg = new(serverMessage)
handlerDoneMsg = new(serverMessage)
@@ -1068,6 +1106,7 @@ var (
func (sc *serverConn) onSettingsTimer() { sc.sendServeMsg(settingsTimerMsg) }
func (sc *serverConn) onIdleTimer() { sc.sendServeMsg(idleTimerMsg) }
+func (sc *serverConn) onReadIdleTimer() { sc.sendServeMsg(readIdleTimerMsg) }
func (sc *serverConn) onShutdownTimer() { sc.sendServeMsg(shutdownTimerMsg) }
func (sc *serverConn) sendServeMsg(msg interface{}) {
@@ -1320,6 +1359,10 @@ func (sc *serverConn) wroteFrame(res frameWriteResult) {
sc.writingFrame = false
sc.writingFrameAsync = false
+ if res.err != nil {
+ sc.conn.Close()
+ }
+
wr := res.wr
if writeEndsStream(wr.write) {
@@ -1594,6 +1637,11 @@ func (sc *serverConn) processFrame(f Frame) error {
func (sc *serverConn) processPing(f *PingFrame) error {
sc.serveG.check()
if f.IsAck() {
+ if sc.pingSent && sc.sentPingData == f.Data {
+ // This is a response to a PING we sent.
+ sc.pingSent = false
+ sc.readIdleTimer.Reset(sc.readIdleTimeout)
+ }
// 6.7 PING: " An endpoint MUST NOT respond to PING frames
// containing this flag."
return nil
@@ -1757,6 +1805,9 @@ func (sc *serverConn) processSetting(s Setting) error {
sc.maxFrameSize = int32(s.Val) // the maximum valid s.Val is < 2^31
case SettingMaxHeaderListSize:
sc.peerMaxHeaderListSize = s.Val
+ case SettingEnableConnectProtocol:
+ // Receipt of this parameter by a server does not
+ // have any impact
default:
// Unknown setting: "An endpoint that receives a SETTINGS
// frame with any unknown or unsupported identifier MUST
@@ -2160,7 +2211,7 @@ func (sc *serverConn) newStream(id, pusherID uint32, state streamState) *stream
st.cw.Init()
st.flow.conn = &sc.flow // link to conn-level counter
st.flow.add(sc.initialStreamSendWindowSize)
- st.inflow.init(sc.srv.initialStreamRecvWindowSize())
+ st.inflow.init(sc.initialStreamRecvWindowSize)
if sc.hs.WriteTimeout > 0 {
st.writeDeadline = sc.srv.afterFunc(sc.hs.WriteTimeout, st.onWriteTimeout)
}
@@ -2187,11 +2238,17 @@ func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*res
scheme: f.PseudoValue("scheme"),
authority: f.PseudoValue("authority"),
path: f.PseudoValue("path"),
+ protocol: f.PseudoValue("protocol"),
+ }
+
+ // extended connect is disabled, so we should not see :protocol
+ if disableExtendedConnectProtocol && rp.protocol != "" {
+ return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
}
isConnect := rp.method == "CONNECT"
if isConnect {
- if rp.path != "" || rp.scheme != "" || rp.authority == "" {
+ if rp.protocol == "" && (rp.path != "" || rp.scheme != "" || rp.authority == "") {
return nil, nil, sc.countError("bad_connect", streamError(f.StreamID, ErrCodeProtocol))
}
} else if rp.method == "" || rp.path == "" || (rp.scheme != "https" && rp.scheme != "http") {
@@ -2215,6 +2272,9 @@ func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*res
if rp.authority == "" {
rp.authority = rp.header.Get("Host")
}
+ if rp.protocol != "" {
+ rp.header.Set(":protocol", rp.protocol)
+ }
rw, req, err := sc.newWriterAndRequestNoBody(st, rp)
if err != nil {
@@ -2241,6 +2301,7 @@ func (sc *serverConn) newWriterAndRequest(st *stream, f *MetaHeadersFrame) (*res
type requestParam struct {
method string
scheme, authority, path string
+ protocol string
header http.Header
}
@@ -2282,7 +2343,7 @@ func (sc *serverConn) newWriterAndRequestNoBody(st *stream, rp requestParam) (*r
var url_ *url.URL
var requestURI string
- if rp.method == "CONNECT" {
+ if rp.method == "CONNECT" && rp.protocol == "" {
url_ = &url.URL{Host: rp.authority}
requestURI = rp.authority // mimic HTTP/1 server behavior
} else {
@@ -2855,6 +2916,11 @@ func (w *responseWriter) SetWriteDeadline(deadline time.Time) error {
return nil
}
+func (w *responseWriter) EnableFullDuplex() error {
+ // We always support full duplex responses, so this is a no-op.
+ return nil
+}
+
func (w *responseWriter) Flush() {
w.FlushError()
}
@@ -3301,7 +3367,7 @@ func (sc *serverConn) countError(name string, err error) error {
if sc == nil || sc.srv == nil {
return err
}
- f := sc.srv.CountError
+ f := sc.countErrorFunc
if f == nil {
return err
}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/transport.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/transport.go
index 98a49c6b6e..090d0e1bdb 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/transport.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/transport.go
@@ -25,7 +25,6 @@ import (
"net/http"
"net/http/httptrace"
"net/textproto"
- "os"
"sort"
"strconv"
"strings"
@@ -203,6 +202,20 @@ func (t *Transport) markNewGoroutine() {
}
}
+func (t *Transport) now() time.Time {
+ if t != nil && t.transportTestHooks != nil {
+ return t.transportTestHooks.group.Now()
+ }
+ return time.Now()
+}
+
+func (t *Transport) timeSince(when time.Time) time.Duration {
+ if t != nil && t.transportTestHooks != nil {
+ return t.now().Sub(when)
+ }
+ return time.Since(when)
+}
+
// newTimer creates a new time.Timer, or a synthetic timer in tests.
func (t *Transport) newTimer(d time.Duration) timer {
if t.transportTestHooks != nil {
@@ -227,40 +240,26 @@ func (t *Transport) contextWithTimeout(ctx context.Context, d time.Duration) (co
}
func (t *Transport) maxHeaderListSize() uint32 {
- if t.MaxHeaderListSize == 0 {
+ n := int64(t.MaxHeaderListSize)
+ if t.t1 != nil && t.t1.MaxResponseHeaderBytes != 0 {
+ n = t.t1.MaxResponseHeaderBytes
+ if n > 0 {
+ n = adjustHTTP1MaxHeaderSize(n)
+ }
+ }
+ if n <= 0 {
return 10 << 20
}
- if t.MaxHeaderListSize == 0xffffffff {
+ if n >= 0xffffffff {
return 0
}
- return t.MaxHeaderListSize
-}
-
-func (t *Transport) maxFrameReadSize() uint32 {
- if t.MaxReadFrameSize == 0 {
- return 0 // use the default provided by the peer
- }
- if t.MaxReadFrameSize < minMaxFrameSize {
- return minMaxFrameSize
- }
- if t.MaxReadFrameSize > maxFrameSize {
- return maxFrameSize
- }
- return t.MaxReadFrameSize
+ return uint32(n)
}
func (t *Transport) disableCompression() bool {
return t.DisableCompression || (t.t1 != nil && t.t1.DisableCompression)
}
-func (t *Transport) pingTimeout() time.Duration {
- if t.PingTimeout == 0 {
- return 15 * time.Second
- }
- return t.PingTimeout
-
-}
-
// ConfigureTransport configures a net/http HTTP/1 Transport to use HTTP/2.
// It returns an error if t1 has already been HTTP/2-enabled.
//
@@ -296,8 +295,8 @@ func configureTransports(t1 *http.Transport) (*Transport, error) {
if !strSliceContains(t1.TLSClientConfig.NextProtos, "http/1.1") {
t1.TLSClientConfig.NextProtos = append(t1.TLSClientConfig.NextProtos, "http/1.1")
}
- upgradeFn := func(authority string, c *tls.Conn) http.RoundTripper {
- addr := authorityAddr("https", authority)
+ upgradeFn := func(scheme, authority string, c net.Conn) http.RoundTripper {
+ addr := authorityAddr(scheme, authority)
if used, err := connPool.addConnIfNeeded(addr, t2, c); err != nil {
go c.Close()
return erringRoundTripper{err}
@@ -308,18 +307,37 @@ func configureTransports(t1 *http.Transport) (*Transport, error) {
// was unknown)
go c.Close()
}
+ if scheme == "http" {
+ return (*unencryptedTransport)(t2)
+ }
return t2
}
- if m := t1.TLSNextProto; len(m) == 0 {
- t1.TLSNextProto = map[string]func(string, *tls.Conn) http.RoundTripper{
- "h2": upgradeFn,
+ if t1.TLSNextProto == nil {
+ t1.TLSNextProto = make(map[string]func(string, *tls.Conn) http.RoundTripper)
+ }
+ t1.TLSNextProto[NextProtoTLS] = func(authority string, c *tls.Conn) http.RoundTripper {
+ return upgradeFn("https", authority, c)
+ }
+ // The "unencrypted_http2" TLSNextProto key is used to pass off non-TLS HTTP/2 conns.
+ t1.TLSNextProto[nextProtoUnencryptedHTTP2] = func(authority string, c *tls.Conn) http.RoundTripper {
+ nc, err := unencryptedNetConnFromTLSConn(c)
+ if err != nil {
+ go c.Close()
+ return erringRoundTripper{err}
}
- } else {
- m["h2"] = upgradeFn
+ return upgradeFn("http", authority, nc)
}
return t2, nil
}
+// unencryptedTransport is a Transport with a RoundTrip method that
+// always permits http:// URLs.
+type unencryptedTransport Transport
+
+func (t *unencryptedTransport) RoundTrip(req *http.Request) (*http.Response, error) {
+ return (*Transport)(t).RoundTripOpt(req, RoundTripOpt{allowHTTP: true})
+}
+
func (t *Transport) connPool() ClientConnPool {
t.connPoolOnce.Do(t.initConnPool)
return t.connPoolOrDef
@@ -339,7 +357,7 @@ type ClientConn struct {
t *Transport
tconn net.Conn // usually *tls.Conn, except specialized impls
tlsState *tls.ConnectionState // nil only for specialized impls
- reused uint32 // whether conn is being reused; atomic
+ atomicReused uint32 // whether conn is being reused; atomic
singleUse bool // whether being used for a single http.Request
getConnCalled bool // used by clientConnPool
@@ -350,31 +368,54 @@ type ClientConn struct {
idleTimeout time.Duration // or 0 for never
idleTimer timer
- mu sync.Mutex // guards following
- cond *sync.Cond // hold mu; broadcast on flow/closed changes
- flow outflow // our conn-level flow control quota (cs.outflow is per stream)
- inflow inflow // peer's conn-level flow control
- doNotReuse bool // whether conn is marked to not be reused for any future requests
- closing bool
- closed bool
- seenSettings bool // true if we've seen a settings frame, false otherwise
- wantSettingsAck bool // we sent a SETTINGS frame and haven't heard back
- goAway *GoAwayFrame // if non-nil, the GoAwayFrame we received
- goAwayDebug string // goAway frame's debug data, retained as a string
- streams map[uint32]*clientStream // client-initiated
- streamsReserved int // incr by ReserveNewRequest; decr on RoundTrip
- nextStreamID uint32
- pendingRequests int // requests blocked and waiting to be sent because len(streams) == maxConcurrentStreams
- pings map[[8]byte]chan struct{} // in flight ping data to notification channel
- br *bufio.Reader
- lastActive time.Time
- lastIdle time.Time // time last idle
+ mu sync.Mutex // guards following
+ cond *sync.Cond // hold mu; broadcast on flow/closed changes
+ flow outflow // our conn-level flow control quota (cs.outflow is per stream)
+ inflow inflow // peer's conn-level flow control
+ doNotReuse bool // whether conn is marked to not be reused for any future requests
+ closing bool
+ closed bool
+ seenSettings bool // true if we've seen a settings frame, false otherwise
+ seenSettingsChan chan struct{} // closed when seenSettings is true or frame reading fails
+ wantSettingsAck bool // we sent a SETTINGS frame and haven't heard back
+ goAway *GoAwayFrame // if non-nil, the GoAwayFrame we received
+ goAwayDebug string // goAway frame's debug data, retained as a string
+ streams map[uint32]*clientStream // client-initiated
+ streamsReserved int // incr by ReserveNewRequest; decr on RoundTrip
+ nextStreamID uint32
+ pendingRequests int // requests blocked and waiting to be sent because len(streams) == maxConcurrentStreams
+ pings map[[8]byte]chan struct{} // in flight ping data to notification channel
+ br *bufio.Reader
+ lastActive time.Time
+ lastIdle time.Time // time last idle
// Settings from peer: (also guarded by wmu)
- maxFrameSize uint32
- maxConcurrentStreams uint32
- peerMaxHeaderListSize uint64
- peerMaxHeaderTableSize uint32
- initialWindowSize uint32
+ maxFrameSize uint32
+ maxConcurrentStreams uint32
+ peerMaxHeaderListSize uint64
+ peerMaxHeaderTableSize uint32
+ initialWindowSize uint32
+ initialStreamRecvWindowSize int32
+ readIdleTimeout time.Duration
+ pingTimeout time.Duration
+ extendedConnectAllowed bool
+
+ // rstStreamPingsBlocked works around an unfortunate gRPC behavior.
+ // gRPC strictly limits the number of PING frames that it will receive.
+ // The default is two pings per two hours, but the limit resets every time
+ // the gRPC endpoint sends a HEADERS or DATA frame. See golang/go#70575.
+ //
+ // rstStreamPingsBlocked is set after receiving a response to a PING frame
+ // bundled with an RST_STREAM (see pendingResets below), and cleared after
+ // receiving a HEADERS or DATA frame.
+ rstStreamPingsBlocked bool
+
+ // pendingResets is the number of RST_STREAM frames we have sent to the peer,
+ // without confirming that the peer has received them. When we send a RST_STREAM,
+ // we bundle it with a PING frame, unless a PING is already in flight. We count
+ // the reset stream against the connection's concurrency limit until we get
+ // a PING response. This limits the number of requests we'll try to send to a
+ // completely unresponsive connection.
+ pendingResets int
// reqHeaderMu is a 1-element semaphore channel controlling access to sending new requests.
// Write to reqHeaderMu to lock it, read from it to unlock.
@@ -432,12 +473,12 @@ type clientStream struct {
sentHeaders bool
// owned by clientConnReadLoop:
- firstByte bool // got the first response byte
- pastHeaders bool // got first MetaHeadersFrame (actual headers)
- pastTrailers bool // got optional second MetaHeadersFrame (trailers)
- num1xx uint8 // number of 1xx responses seen
- readClosed bool // peer sent an END_STREAM flag
- readAborted bool // read loop reset the stream
+ firstByte bool // got the first response byte
+ pastHeaders bool // got first MetaHeadersFrame (actual headers)
+ pastTrailers bool // got optional second MetaHeadersFrame (trailers)
+ readClosed bool // peer sent an END_STREAM flag
+ readAborted bool // read loop reset the stream
+ totalHeaderSize int64 // total size of 1xx headers seen
trailer http.Header // accumulated trailers
resTrailer *http.Header // client's Response.Trailer
@@ -499,6 +540,7 @@ func (cs *clientStream) closeReqBodyLocked() {
}
type stickyErrWriter struct {
+ group synctestGroupInterface
conn net.Conn
timeout time.Duration
err *error
@@ -508,22 +550,9 @@ func (sew stickyErrWriter) Write(p []byte) (n int, err error) {
if *sew.err != nil {
return 0, *sew.err
}
- for {
- if sew.timeout != 0 {
- sew.conn.SetWriteDeadline(time.Now().Add(sew.timeout))
- }
- nn, err := sew.conn.Write(p[n:])
- n += nn
- if n < len(p) && nn > 0 && errors.Is(err, os.ErrDeadlineExceeded) {
- // Keep extending the deadline so long as we're making progress.
- continue
- }
- if sew.timeout != 0 {
- sew.conn.SetWriteDeadline(time.Time{})
- }
- *sew.err = err
- return n, err
- }
+ n, err = writeWithByteTimeout(sew.group, sew.conn, sew.timeout, p)
+ *sew.err = err
+ return n, err
}
// noCachedConnError is the concrete type of ErrNoCachedConn, which
@@ -554,6 +583,8 @@ type RoundTripOpt struct {
// no cached connection is available, RoundTripOpt
// will return ErrNoCachedConn.
OnlyCachedConn bool
+
+ allowHTTP bool // allow http:// URLs
}
func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) {
@@ -586,7 +617,14 @@ func authorityAddr(scheme string, authority string) (addr string) {
// RoundTripOpt is like RoundTrip, but takes options.
func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Response, error) {
- if !(req.URL.Scheme == "https" || (req.URL.Scheme == "http" && t.AllowHTTP)) {
+ switch req.URL.Scheme {
+ case "https":
+ // Always okay.
+ case "http":
+ if !t.AllowHTTP && !opt.allowHTTP {
+ return nil, errors.New("http2: unencrypted HTTP/2 not enabled")
+ }
+ default:
return nil, errors.New("http2: unsupported scheme")
}
@@ -597,7 +635,7 @@ func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Res
t.vlogf("http2: Transport failed to get client conn for %s: %v", addr, err)
return nil, err
}
- reused := !atomic.CompareAndSwapUint32(&cc.reused, 0, 1)
+ reused := !atomic.CompareAndSwapUint32(&cc.atomicReused, 0, 1)
traceGotConn(req, cc, reused)
res, err := cc.RoundTrip(req)
if err != nil && retry <= 6 {
@@ -622,6 +660,22 @@ func (t *Transport) RoundTripOpt(req *http.Request, opt RoundTripOpt) (*http.Res
}
}
}
+ if err == errClientConnNotEstablished {
+ // This ClientConn was created recently,
+ // this is the first request to use it,
+ // and the connection is closed and not usable.
+ //
+ // In this state, cc.idleTimer will remove the conn from the pool
+ // when it fires. Stop the timer and remove it here so future requests
+ // won't try to use this connection.
+ //
+ // If the timer has already fired and we're racing it, the redundant
+ // call to MarkDead is harmless.
+ if cc.idleTimer != nil {
+ cc.idleTimer.Stop()
+ }
+ t.connPool().MarkDead(cc)
+ }
if err != nil {
t.vlogf("RoundTrip failure: %v", err)
return nil, err
@@ -640,9 +694,10 @@ func (t *Transport) CloseIdleConnections() {
}
var (
- errClientConnClosed = errors.New("http2: client conn is closed")
- errClientConnUnusable = errors.New("http2: client conn not usable")
- errClientConnGotGoAway = errors.New("http2: Transport received Server's graceful shutdown GOAWAY")
+ errClientConnClosed = errors.New("http2: client conn is closed")
+ errClientConnUnusable = errors.New("http2: client conn not usable")
+ errClientConnNotEstablished = errors.New("http2: client conn could not be established")
+ errClientConnGotGoAway = errors.New("http2: Transport received Server's graceful shutdown GOAWAY")
)
// shouldRetryRequest is called by RoundTrip when a request fails to get
@@ -758,44 +813,38 @@ func (t *Transport) expectContinueTimeout() time.Duration {
return t.t1.ExpectContinueTimeout
}
-func (t *Transport) maxDecoderHeaderTableSize() uint32 {
- if v := t.MaxDecoderHeaderTableSize; v > 0 {
- return v
- }
- return initialHeaderTableSize
-}
-
-func (t *Transport) maxEncoderHeaderTableSize() uint32 {
- if v := t.MaxEncoderHeaderTableSize; v > 0 {
- return v
- }
- return initialHeaderTableSize
-}
-
func (t *Transport) NewClientConn(c net.Conn) (*ClientConn, error) {
return t.newClientConn(c, t.disableKeepAlives())
}
func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, error) {
+ conf := configFromTransport(t)
cc := &ClientConn{
- t: t,
- tconn: c,
- readerDone: make(chan struct{}),
- nextStreamID: 1,
- maxFrameSize: 16 << 10, // spec default
- initialWindowSize: 65535, // spec default
- maxConcurrentStreams: initialMaxConcurrentStreams, // "infinite", per spec. Use a smaller value until we have received server settings.
- peerMaxHeaderListSize: 0xffffffffffffffff, // "infinite", per spec. Use 2^64-1 instead.
- streams: make(map[uint32]*clientStream),
- singleUse: singleUse,
- wantSettingsAck: true,
- pings: make(map[[8]byte]chan struct{}),
- reqHeaderMu: make(chan struct{}, 1),
+ t: t,
+ tconn: c,
+ readerDone: make(chan struct{}),
+ nextStreamID: 1,
+ maxFrameSize: 16 << 10, // spec default
+ initialWindowSize: 65535, // spec default
+ initialStreamRecvWindowSize: conf.MaxUploadBufferPerStream,
+ maxConcurrentStreams: initialMaxConcurrentStreams, // "infinite", per spec. Use a smaller value until we have received server settings.
+ peerMaxHeaderListSize: 0xffffffffffffffff, // "infinite", per spec. Use 2^64-1 instead.
+ streams: make(map[uint32]*clientStream),
+ singleUse: singleUse,
+ seenSettingsChan: make(chan struct{}),
+ wantSettingsAck: true,
+ readIdleTimeout: conf.SendPingTimeout,
+ pingTimeout: conf.PingTimeout,
+ pings: make(map[[8]byte]chan struct{}),
+ reqHeaderMu: make(chan struct{}, 1),
+ lastActive: t.now(),
}
+ var group synctestGroupInterface
if t.transportTestHooks != nil {
t.markNewGoroutine()
t.transportTestHooks.newclientconn(cc)
c = cc.tconn
+ group = t.group
}
if VerboseLogs {
t.vlogf("http2: Transport creating client conn %p to %v", cc, c.RemoteAddr())
@@ -807,30 +856,25 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro
// TODO: adjust this writer size to account for frame size +
// MTU + crypto/tls record padding.
cc.bw = bufio.NewWriter(stickyErrWriter{
+ group: group,
conn: c,
- timeout: t.WriteByteTimeout,
+ timeout: conf.WriteByteTimeout,
err: &cc.werr,
})
cc.br = bufio.NewReader(c)
cc.fr = NewFramer(cc.bw, cc.br)
- if t.maxFrameReadSize() != 0 {
- cc.fr.SetMaxReadFrameSize(t.maxFrameReadSize())
- }
+ cc.fr.SetMaxReadFrameSize(conf.MaxReadFrameSize)
if t.CountError != nil {
cc.fr.countError = t.CountError
}
- maxHeaderTableSize := t.maxDecoderHeaderTableSize()
+ maxHeaderTableSize := conf.MaxDecoderHeaderTableSize
cc.fr.ReadMetaHeaders = hpack.NewDecoder(maxHeaderTableSize, nil)
cc.fr.MaxHeaderListSize = t.maxHeaderListSize()
cc.henc = hpack.NewEncoder(&cc.hbuf)
- cc.henc.SetMaxDynamicTableSizeLimit(t.maxEncoderHeaderTableSize())
+ cc.henc.SetMaxDynamicTableSizeLimit(conf.MaxEncoderHeaderTableSize)
cc.peerMaxHeaderTableSize = initialHeaderTableSize
- if t.AllowHTTP {
- cc.nextStreamID = 3
- }
-
if cs, ok := c.(connectionStater); ok {
state := cs.ConnectionState()
cc.tlsState = &state
@@ -838,11 +882,9 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro
initialSettings := []Setting{
{ID: SettingEnablePush, Val: 0},
- {ID: SettingInitialWindowSize, Val: transportDefaultStreamFlow},
- }
- if max := t.maxFrameReadSize(); max != 0 {
- initialSettings = append(initialSettings, Setting{ID: SettingMaxFrameSize, Val: max})
+ {ID: SettingInitialWindowSize, Val: uint32(cc.initialStreamRecvWindowSize)},
}
+ initialSettings = append(initialSettings, Setting{ID: SettingMaxFrameSize, Val: conf.MaxReadFrameSize})
if max := t.maxHeaderListSize(); max != 0 {
initialSettings = append(initialSettings, Setting{ID: SettingMaxHeaderListSize, Val: max})
}
@@ -852,8 +894,8 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro
cc.bw.Write(clientPreface)
cc.fr.WriteSettings(initialSettings...)
- cc.fr.WriteWindowUpdate(0, transportDefaultConnFlow)
- cc.inflow.init(transportDefaultConnFlow + initialWindowSize)
+ cc.fr.WriteWindowUpdate(0, uint32(conf.MaxUploadBufferPerConnection))
+ cc.inflow.init(conf.MaxUploadBufferPerConnection + initialWindowSize)
cc.bw.Flush()
if cc.werr != nil {
cc.Close()
@@ -871,7 +913,7 @@ func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, erro
}
func (cc *ClientConn) healthCheck() {
- pingTimeout := cc.t.pingTimeout()
+ pingTimeout := cc.pingTimeout
// We don't need to periodically ping in the health check, because the readLoop of ClientConn will
// trigger the healthCheck again if there is no frame received.
ctx, cancel := cc.t.contextWithTimeout(context.Background(), pingTimeout)
@@ -999,7 +1041,7 @@ func (cc *ClientConn) State() ClientConnState {
return ClientConnState{
Closed: cc.closed,
Closing: cc.closing || cc.singleUse || cc.doNotReuse || cc.goAway != nil,
- StreamsActive: len(cc.streams),
+ StreamsActive: len(cc.streams) + cc.pendingResets,
StreamsReserved: cc.streamsReserved,
StreamsPending: cc.pendingRequests,
LastIdle: cc.lastIdle,
@@ -1031,16 +1073,38 @@ func (cc *ClientConn) idleStateLocked() (st clientConnIdleState) {
// writing it.
maxConcurrentOkay = true
} else {
- maxConcurrentOkay = int64(len(cc.streams)+cc.streamsReserved+1) <= int64(cc.maxConcurrentStreams)
+ // We can take a new request if the total of
+ // - active streams;
+ // - reservation slots for new streams; and
+ // - streams for which we have sent a RST_STREAM and a PING,
+ // but received no subsequent frame
+ // is less than the concurrency limit.
+ maxConcurrentOkay = cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams)
}
st.canTakeNewRequest = cc.goAway == nil && !cc.closed && !cc.closing && maxConcurrentOkay &&
!cc.doNotReuse &&
int64(cc.nextStreamID)+2*int64(cc.pendingRequests) < math.MaxInt32 &&
!cc.tooIdleLocked()
+
+ // If this connection has never been used for a request and is closed,
+ // then let it take a request (which will fail).
+ //
+ // This avoids a situation where an error early in a connection's lifetime
+ // goes unreported.
+ if cc.nextStreamID == 1 && cc.streamsReserved == 0 && cc.closed {
+ st.canTakeNewRequest = true
+ }
+
return
}
+// currentRequestCountLocked reports the number of concurrency slots currently in use,
+// including active streams, reserved slots, and reset streams waiting for acknowledgement.
+func (cc *ClientConn) currentRequestCountLocked() int {
+ return len(cc.streams) + cc.streamsReserved + cc.pendingResets
+}
+
func (cc *ClientConn) canTakeNewRequestLocked() bool {
st := cc.idleStateLocked()
return st.canTakeNewRequest
@@ -1053,7 +1117,7 @@ func (cc *ClientConn) tooIdleLocked() bool {
// times are compared based on their wall time. We don't want
// to reuse a connection that's been sitting idle during
// VM/laptop suspend if monotonic time was also frozen.
- return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && time.Since(cc.lastIdle.Round(0)) > cc.idleTimeout
+ return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && cc.t.timeSince(cc.lastIdle.Round(0)) > cc.idleTimeout
}
// onIdleTimeout is called from a time.AfterFunc goroutine. It will
@@ -1415,6 +1479,8 @@ func (cs *clientStream) doRequest(req *http.Request, streamf func(*clientStream)
cs.cleanupWriteRequest(err)
}
+var errExtendedConnectNotSupported = errors.New("net/http: extended connect not supported by peer")
+
// writeRequest sends a request.
//
// It returns nil after the request is written, the response read,
@@ -1430,12 +1496,31 @@ func (cs *clientStream) writeRequest(req *http.Request, streamf func(*clientStre
return err
}
+ // wait for setting frames to be received, a server can change this value later,
+ // but we just wait for the first settings frame
+ var isExtendedConnect bool
+ if req.Method == "CONNECT" && req.Header.Get(":protocol") != "" {
+ isExtendedConnect = true
+ }
+
// Acquire the new-request lock by writing to reqHeaderMu.
// This lock guards the critical section covering allocating a new stream ID
// (requires mu) and creating the stream (requires wmu).
if cc.reqHeaderMu == nil {
panic("RoundTrip on uninitialized ClientConn") // for tests
}
+ if isExtendedConnect {
+ select {
+ case <-cs.reqCancel:
+ return errRequestCanceled
+ case <-ctx.Done():
+ return ctx.Err()
+ case <-cc.seenSettingsChan:
+ if !cc.extendedConnectAllowed {
+ return errExtendedConnectNotSupported
+ }
+ }
+ }
select {
case cc.reqHeaderMu <- struct{}{}:
case <-cs.reqCancel:
@@ -1617,6 +1702,7 @@ func (cs *clientStream) cleanupWriteRequest(err error) {
cs.reqBodyClosed = make(chan struct{})
}
bodyClosed := cs.reqBodyClosed
+ closeOnIdle := cc.singleUse || cc.doNotReuse || cc.t.disableKeepAlives() || cc.goAway != nil
cc.mu.Unlock()
if mustCloseBody {
cs.reqBody.Close()
@@ -1641,16 +1727,44 @@ func (cs *clientStream) cleanupWriteRequest(err error) {
if cs.sentHeaders {
if se, ok := err.(StreamError); ok {
if se.Cause != errFromPeer {
- cc.writeStreamReset(cs.ID, se.Code, err)
+ cc.writeStreamReset(cs.ID, se.Code, false, err)
}
} else {
- cc.writeStreamReset(cs.ID, ErrCodeCancel, err)
+ // We're cancelling an in-flight request.
+ //
+ // This could be due to the server becoming unresponsive.
+ // To avoid sending too many requests on a dead connection,
+ // we let the request continue to consume a concurrency slot
+ // until we can confirm the server is still responding.
+ // We do this by sending a PING frame along with the RST_STREAM
+ // (unless a ping is already in flight).
+ //
+ // For simplicity, we don't bother tracking the PING payload:
+ // We reset cc.pendingResets any time we receive a PING ACK.
+ //
+ // We skip this if the conn is going to be closed on idle,
+ // because it's short lived and will probably be closed before
+ // we get the ping response.
+ ping := false
+ if !closeOnIdle {
+ cc.mu.Lock()
+ // rstStreamPingsBlocked works around a gRPC behavior:
+ // see comment on the field for details.
+ if !cc.rstStreamPingsBlocked {
+ if cc.pendingResets == 0 {
+ ping = true
+ }
+ cc.pendingResets++
+ }
+ cc.mu.Unlock()
+ }
+ cc.writeStreamReset(cs.ID, ErrCodeCancel, ping, err)
}
}
cs.bufPipe.CloseWithError(err) // no-op if already closed
} else {
if cs.sentHeaders && !cs.sentEndStream {
- cc.writeStreamReset(cs.ID, ErrCodeNo, nil)
+ cc.writeStreamReset(cs.ID, ErrCodeNo, false, nil)
}
cs.bufPipe.CloseWithError(errRequestCanceled)
}
@@ -1672,12 +1786,17 @@ func (cs *clientStream) cleanupWriteRequest(err error) {
// Must hold cc.mu.
func (cc *ClientConn) awaitOpenSlotForStreamLocked(cs *clientStream) error {
for {
- cc.lastActive = time.Now()
+ if cc.closed && cc.nextStreamID == 1 && cc.streamsReserved == 0 {
+ // This is the very first request sent to this connection.
+ // Return a fatal error which aborts the retry loop.
+ return errClientConnNotEstablished
+ }
+ cc.lastActive = cc.t.now()
if cc.closed || !cc.canTakeNewRequestLocked() {
return errClientConnUnusable
}
cc.lastIdle = time.Time{}
- if int64(len(cc.streams)) < int64(cc.maxConcurrentStreams) {
+ if cc.currentRequestCountLocked() < int(cc.maxConcurrentStreams) {
return nil
}
cc.pendingRequests++
@@ -1949,7 +2068,7 @@ func (cs *clientStream) awaitFlowControl(maxBytes int) (taken int32, err error)
func validateHeaders(hdrs http.Header) string {
for k, vv := range hdrs {
- if !httpguts.ValidHeaderFieldName(k) {
+ if !httpguts.ValidHeaderFieldName(k) && k != ":protocol" {
return fmt.Sprintf("name %q", k)
}
for _, v := range vv {
@@ -1965,6 +2084,10 @@ func validateHeaders(hdrs http.Header) string {
var errNilRequestURL = errors.New("http2: Request.URI is nil")
+func isNormalConnect(req *http.Request) bool {
+ return req.Method == "CONNECT" && req.Header.Get(":protocol") == ""
+}
+
// requires cc.wmu be held.
func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trailers string, contentLength int64) ([]byte, error) {
cc.hbuf.Reset()
@@ -1985,7 +2108,7 @@ func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trail
}
var path string
- if req.Method != "CONNECT" {
+ if !isNormalConnect(req) {
path = req.URL.RequestURI()
if !validPseudoPath(path) {
orig := path
@@ -2022,7 +2145,7 @@ func (cc *ClientConn) encodeHeaders(req *http.Request, addGzipHeader bool, trail
m = http.MethodGet
}
f(":method", m)
- if req.Method != "CONNECT" {
+ if !isNormalConnect(req) {
f(":path", path)
f(":scheme", req.URL.Scheme)
}
@@ -2203,7 +2326,7 @@ type resAndError struct {
func (cc *ClientConn) addStreamLocked(cs *clientStream) {
cs.flow.add(int32(cc.initialWindowSize))
cs.flow.setConnFlow(&cc.flow)
- cs.inflow.init(transportDefaultStreamFlow)
+ cs.inflow.init(cc.initialStreamRecvWindowSize)
cs.ID = cc.nextStreamID
cc.nextStreamID += 2
cc.streams[cs.ID] = cs
@@ -2219,10 +2342,10 @@ func (cc *ClientConn) forgetStreamID(id uint32) {
if len(cc.streams) != slen-1 {
panic("forgetting unknown stream id")
}
- cc.lastActive = time.Now()
+ cc.lastActive = cc.t.now()
if len(cc.streams) == 0 && cc.idleTimer != nil {
cc.idleTimer.Reset(cc.idleTimeout)
- cc.lastIdle = time.Now()
+ cc.lastIdle = cc.t.now()
}
// Wake up writeRequestBody via clientStream.awaitFlowControl and
// wake up RoundTrip if there is a pending request.
@@ -2282,7 +2405,6 @@ func isEOFOrNetReadError(err error) bool {
func (rl *clientConnReadLoop) cleanup() {
cc := rl.cc
- cc.t.connPool().MarkDead(cc)
defer cc.closeConn()
defer close(cc.readerDone)
@@ -2306,6 +2428,24 @@ func (rl *clientConnReadLoop) cleanup() {
}
cc.closed = true
+ // If the connection has never been used, and has been open for only a short time,
+ // leave it in the connection pool for a little while.
+ //
+ // This avoids a situation where new connections are constantly created,
+ // added to the pool, fail, and are removed from the pool, without any error
+ // being surfaced to the user.
+ const unusedWaitTime = 5 * time.Second
+ idleTime := cc.t.now().Sub(cc.lastActive)
+ if atomic.LoadUint32(&cc.atomicReused) == 0 && idleTime < unusedWaitTime {
+ cc.idleTimer = cc.t.afterFunc(unusedWaitTime-idleTime, func() {
+ cc.t.connPool().MarkDead(cc)
+ })
+ } else {
+ cc.mu.Unlock() // avoid any deadlocks in MarkDead
+ cc.t.connPool().MarkDead(cc)
+ cc.mu.Lock()
+ }
+
for _, cs := range cc.streams {
select {
case <-cs.peerClosed:
@@ -2349,7 +2489,7 @@ func (cc *ClientConn) countReadFrameError(err error) {
func (rl *clientConnReadLoop) run() error {
cc := rl.cc
gotSettings := false
- readIdleTimeout := cc.t.ReadIdleTimeout
+ readIdleTimeout := cc.readIdleTimeout
var t timer
if readIdleTimeout != 0 {
t = cc.t.afterFunc(readIdleTimeout, cc.healthCheck)
@@ -2363,7 +2503,7 @@ func (rl *clientConnReadLoop) run() error {
cc.vlogf("http2: Transport readFrame error on conn %p: (%T) %v", cc, err, err)
}
if se, ok := err.(StreamError); ok {
- if cs := rl.streamByID(se.StreamID); cs != nil {
+ if cs := rl.streamByID(se.StreamID, notHeaderOrDataFrame); cs != nil {
if se.Cause == nil {
se.Cause = cc.fr.errDetail
}
@@ -2409,13 +2549,16 @@ func (rl *clientConnReadLoop) run() error {
if VerboseLogs {
cc.vlogf("http2: Transport conn %p received error from processing frame %v: %v", cc, summarizeFrame(f), err)
}
+ if !cc.seenSettings {
+ close(cc.seenSettingsChan)
+ }
return err
}
}
}
func (rl *clientConnReadLoop) processHeaders(f *MetaHeadersFrame) error {
- cs := rl.streamByID(f.StreamID)
+ cs := rl.streamByID(f.StreamID, headerOrDataFrame)
if cs == nil {
// We'd get here if we canceled a request while the
// server had its response still in flight. So if this
@@ -2533,15 +2676,34 @@ func (rl *clientConnReadLoop) handleResponse(cs *clientStream, f *MetaHeadersFra
if f.StreamEnded() {
return nil, errors.New("1xx informational response with END_STREAM flag")
}
- cs.num1xx++
- const max1xxResponses = 5 // arbitrary bound on number of informational responses, same as net/http
- if cs.num1xx > max1xxResponses {
- return nil, errors.New("http2: too many 1xx informational responses")
- }
if fn := cs.get1xxTraceFunc(); fn != nil {
+ // If the 1xx response is being delivered to the user,
+ // then they're responsible for limiting the number
+ // of responses.
if err := fn(statusCode, textproto.MIMEHeader(header)); err != nil {
return nil, err
}
+ } else {
+ // If the user didn't examine the 1xx response, then we
+ // limit the size of all 1xx headers.
+ //
+ // This differs a bit from the HTTP/1 implementation, which
+ // limits the size of all 1xx headers plus the final response.
+ // Use the larger limit of MaxHeaderListSize and
+ // net/http.Transport.MaxResponseHeaderBytes.
+ limit := int64(cs.cc.t.maxHeaderListSize())
+ if t1 := cs.cc.t.t1; t1 != nil && t1.MaxResponseHeaderBytes > limit {
+ limit = t1.MaxResponseHeaderBytes
+ }
+ for _, h := range f.Fields {
+ cs.totalHeaderSize += int64(h.Size())
+ }
+ if cs.totalHeaderSize > limit {
+ if VerboseLogs {
+ log.Printf("http2: 1xx informational responses too large")
+ }
+ return nil, errors.New("header list too large")
+ }
}
if statusCode == 100 {
traceGot100Continue(cs.trace)
@@ -2725,7 +2887,7 @@ func (b transportResponseBody) Close() error {
func (rl *clientConnReadLoop) processData(f *DataFrame) error {
cc := rl.cc
- cs := rl.streamByID(f.StreamID)
+ cs := rl.streamByID(f.StreamID, headerOrDataFrame)
data := f.Data()
if cs == nil {
cc.mu.Lock()
@@ -2860,9 +3022,22 @@ func (rl *clientConnReadLoop) endStreamError(cs *clientStream, err error) {
cs.abortStream(err)
}
-func (rl *clientConnReadLoop) streamByID(id uint32) *clientStream {
+// Constants passed to streamByID for documentation purposes.
+const (
+ headerOrDataFrame = true
+ notHeaderOrDataFrame = false
+)
+
+// streamByID returns the stream with the given id, or nil if no stream has that id.
+// If headerOrData is true, it clears rst.StreamPingsBlocked.
+func (rl *clientConnReadLoop) streamByID(id uint32, headerOrData bool) *clientStream {
rl.cc.mu.Lock()
defer rl.cc.mu.Unlock()
+ if headerOrData {
+ // Work around an unfortunate gRPC behavior.
+ // See comment on ClientConn.rstStreamPingsBlocked for details.
+ rl.cc.rstStreamPingsBlocked = false
+ }
cs := rl.cc.streams[id]
if cs != nil && !cs.readAborted {
return cs
@@ -2956,6 +3131,21 @@ func (rl *clientConnReadLoop) processSettingsNoWrite(f *SettingsFrame) error {
case SettingHeaderTableSize:
cc.henc.SetMaxDynamicTableSize(s.Val)
cc.peerMaxHeaderTableSize = s.Val
+ case SettingEnableConnectProtocol:
+ if err := s.Valid(); err != nil {
+ return err
+ }
+ // If the peer wants to send us SETTINGS_ENABLE_CONNECT_PROTOCOL,
+ // we require that it do so in the first SETTINGS frame.
+ //
+ // When we attempt to use extended CONNECT, we wait for the first
+ // SETTINGS frame to see if the server supports it. If we let the
+ // server enable the feature with a later SETTINGS frame, then
+ // users will see inconsistent results depending on whether we've
+ // seen that frame or not.
+ if !cc.seenSettings {
+ cc.extendedConnectAllowed = s.Val == 1
+ }
default:
cc.vlogf("Unhandled Setting: %v", s)
}
@@ -2973,6 +3163,7 @@ func (rl *clientConnReadLoop) processSettingsNoWrite(f *SettingsFrame) error {
// connection can establish to our default.
cc.maxConcurrentStreams = defaultMaxConcurrentStreams
}
+ close(cc.seenSettingsChan)
cc.seenSettings = true
}
@@ -2981,7 +3172,7 @@ func (rl *clientConnReadLoop) processSettingsNoWrite(f *SettingsFrame) error {
func (rl *clientConnReadLoop) processWindowUpdate(f *WindowUpdateFrame) error {
cc := rl.cc
- cs := rl.streamByID(f.StreamID)
+ cs := rl.streamByID(f.StreamID, notHeaderOrDataFrame)
if f.StreamID != 0 && cs == nil {
return nil
}
@@ -3010,7 +3201,7 @@ func (rl *clientConnReadLoop) processWindowUpdate(f *WindowUpdateFrame) error {
}
func (rl *clientConnReadLoop) processResetStream(f *RSTStreamFrame) error {
- cs := rl.streamByID(f.StreamID)
+ cs := rl.streamByID(f.StreamID, notHeaderOrDataFrame)
if cs == nil {
// TODO: return error if server tries to RST_STREAM an idle stream
return nil
@@ -3085,6 +3276,12 @@ func (rl *clientConnReadLoop) processPing(f *PingFrame) error {
close(c)
delete(cc.pings, f.Data)
}
+ if cc.pendingResets > 0 {
+ // See clientStream.cleanupWriteRequest.
+ cc.pendingResets = 0
+ cc.rstStreamPingsBlocked = true
+ cc.cond.Broadcast()
+ }
return nil
}
cc := rl.cc
@@ -3107,13 +3304,20 @@ func (rl *clientConnReadLoop) processPushPromise(f *PushPromiseFrame) error {
return ConnectionError(ErrCodeProtocol)
}
-func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, err error) {
+// writeStreamReset sends a RST_STREAM frame.
+// When ping is true, it also sends a PING frame with a random payload.
+func (cc *ClientConn) writeStreamReset(streamID uint32, code ErrCode, ping bool, err error) {
// TODO: map err to more interesting error codes, once the
// HTTP community comes up with some. But currently for
// RST_STREAM there's no equivalent to GOAWAY frame's debug
// data, and the error codes are all pretty vague ("cancel").
cc.wmu.Lock()
cc.fr.WriteRSTStream(streamID, code)
+ if ping {
+ var payload [8]byte
+ rand.Read(payload[:])
+ cc.fr.WritePing(false, payload)
+ }
cc.bw.Flush()
cc.wmu.Unlock()
}
@@ -3267,7 +3471,7 @@ func traceGotConn(req *http.Request, cc *ClientConn, reused bool) {
cc.mu.Lock()
ci.WasIdle = len(cc.streams) == 0 && reused
if ci.WasIdle && !cc.lastActive.IsZero() {
- ci.IdleTime = time.Since(cc.lastActive)
+ ci.IdleTime = cc.t.timeSince(cc.lastActive)
}
cc.mu.Unlock()
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/unencrypted.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/unencrypted.go
new file mode 100644
index 0000000000..b2de211613
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/unencrypted.go
@@ -0,0 +1,32 @@
+// Copyright 2024 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.
+
+package http2
+
+import (
+ "crypto/tls"
+ "errors"
+ "net"
+)
+
+const nextProtoUnencryptedHTTP2 = "unencrypted_http2"
+
+// unencryptedNetConnFromTLSConn retrieves a net.Conn wrapped in a *tls.Conn.
+//
+// TLSNextProto functions accept a *tls.Conn.
+//
+// When passing an unencrypted HTTP/2 connection to a TLSNextProto function,
+// we pass a *tls.Conn with an underlying net.Conn containing the unencrypted connection.
+// To be extra careful about mistakes (accidentally dropping TLS encryption in a place
+// where we want it), the tls.Conn contains a net.Conn with an UnencryptedNetConn method
+// that returns the actual connection we want to use.
+func unencryptedNetConnFromTLSConn(tc *tls.Conn) (net.Conn, error) {
+ conner, ok := tc.NetConn().(interface {
+ UnencryptedNetConn() net.Conn
+ })
+ if !ok {
+ return nil, errors.New("http2: TLS conn unexpectedly found in unencrypted handoff")
+ }
+ return conner.UnencryptedNetConn(), nil
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/write.go b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/write.go
index 33f61398a1..6ff6bee7e9 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/http2/write.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/http2/write.go
@@ -131,6 +131,16 @@ func (se StreamError) writeFrame(ctx writeContext) error {
func (se StreamError) staysWithinBuffer(max int) bool { return frameHeaderLen+4 <= max }
+type writePing struct {
+ data [8]byte
+}
+
+func (w writePing) writeFrame(ctx writeContext) error {
+ return ctx.Framer().WritePing(false, w.data)
+}
+
+func (w writePing) staysWithinBuffer(max int) bool { return frameHeaderLen+len(w.data) <= max }
+
type writePingAck struct{ pf *PingFrame }
func (w writePingAck) writeFrame(ctx writeContext) error {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/net/websocket/websocket.go b/cluster-api/providers/azure/vendor/golang.org/x/net/websocket/websocket.go
index 923a5780ec..ac76165ceb 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/net/websocket/websocket.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/net/websocket/websocket.go
@@ -8,7 +8,7 @@
// This package currently lacks some features found in an alternative
// and more actively maintained WebSocket package:
//
-// https://pkg.go.dev/nhooyr.io/websocket
+// https://pkg.go.dev/github.com/coder/websocket
package websocket // import "golang.org/x/net/websocket"
import (
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/client_appengine.go b/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/client_appengine.go
deleted file mode 100644
index d28140f789..0000000000
--- a/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/client_appengine.go
+++ /dev/null
@@ -1,13 +0,0 @@
-// 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.
-
-//go:build appengine
-
-package internal
-
-import "google.golang.org/appengine/urlfetch"
-
-func init() {
- appengineClientHook = urlfetch.Client
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/transport.go b/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/transport.go
index 572074a637..b9db01ddfd 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/transport.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/oauth2/internal/transport.go
@@ -18,16 +18,11 @@ var HTTPClient ContextKey
// because nobody else can create a ContextKey, being unexported.
type ContextKey struct{}
-var appengineClientHook func(context.Context) *http.Client
-
func ContextClient(ctx context.Context) *http.Client {
if ctx != nil {
if hc, ok := ctx.Value(HTTPClient).(*http.Client); ok {
return hc
}
}
- if appengineClientHook != nil {
- return appengineClientHook(ctx)
- }
return http.DefaultClient
}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/oauth2/oauth2.go b/cluster-api/providers/azure/vendor/golang.org/x/oauth2/oauth2.go
index 90a2c3d6dc..09f6a49b80 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/oauth2/oauth2.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/oauth2/oauth2.go
@@ -393,7 +393,7 @@ func ReuseTokenSource(t *Token, src TokenSource) TokenSource {
}
}
-// ReuseTokenSource returns a TokenSource that acts in the same manner as the
+// ReuseTokenSourceWithExpiry returns a TokenSource that acts in the same manner as the
// TokenSource returned by ReuseTokenSource, except the expiry buffer is
// configurable. The expiration time of a token is calculated as
// t.Expiry.Add(-earlyExpiry).
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sync/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/sync/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sync/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sync/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/sys/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/asm_darwin_x86_gc.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/asm_darwin_x86_gc.s
new file mode 100644
index 0000000000..ec2acfe540
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/asm_darwin_x86_gc.s
@@ -0,0 +1,17 @@
+// Copyright 2024 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.
+
+//go:build darwin && amd64 && gc
+
+#include "textflag.h"
+
+TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_sysctl(SB)
+GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
+DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
+
+TEXT libc_sysctlbyname_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_sysctlbyname(SB)
+GLOBL ·libc_sysctlbyname_trampoline_addr(SB), RODATA, $8
+DATA ·libc_sysctlbyname_trampoline_addr(SB)/8, $libc_sysctlbyname_trampoline<>(SB)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu.go
index 8fa707aa4b..02609d5b21 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu.go
@@ -105,6 +105,8 @@ var ARM64 struct {
HasSVE bool // Scalable Vector Extensions
HasSVE2 bool // Scalable Vector Extensions 2
HasASIMDFHM bool // Advanced SIMD multiplication FP16 to FP32
+ HasDIT bool // Data Independent Timing support
+ HasI8MM bool // Advanced SIMD Int8 matrix multiplication instructions
_ CacheLinePad
}
@@ -199,6 +201,25 @@ var S390X struct {
_ CacheLinePad
}
+// RISCV64 contains the supported CPU features and performance characteristics for riscv64
+// platforms. The booleans in RISCV64, with the exception of HasFastMisaligned, indicate
+// the presence of RISC-V extensions.
+//
+// It is safe to assume that all the RV64G extensions are supported and so they are omitted from
+// this structure. As riscv64 Go programs require at least RV64G, the code that populates
+// this structure cannot run successfully if some of the RV64G extensions are missing.
+// The struct is padded to avoid false sharing.
+var RISCV64 struct {
+ _ CacheLinePad
+ HasFastMisaligned bool // Fast misaligned accesses
+ HasC bool // Compressed instruction-set extension
+ HasV bool // Vector extension compatible with RVV 1.0
+ HasZba bool // Address generation instructions extension
+ HasZbb bool // Basic bit-manipulation extension
+ HasZbs bool // Single-bit instructions extension
+ _ CacheLinePad
+}
+
func init() {
archInit()
initOptions()
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_arm64.go
index 0e27a21e1f..af2aa99f9f 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_arm64.go
@@ -38,6 +38,8 @@ func initOptions() {
{Name: "dcpop", Feature: &ARM64.HasDCPOP},
{Name: "asimddp", Feature: &ARM64.HasASIMDDP},
{Name: "asimdfhm", Feature: &ARM64.HasASIMDFHM},
+ {Name: "dit", Feature: &ARM64.HasDIT},
+ {Name: "i8mm", Feature: &ARM64.HasI8MM},
}
}
@@ -145,6 +147,11 @@ func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) {
ARM64.HasLRCPC = true
}
+ switch extractBits(isar1, 52, 55) {
+ case 1:
+ ARM64.HasI8MM = true
+ }
+
// ID_AA64PFR0_EL1
switch extractBits(pfr0, 16, 19) {
case 0:
@@ -168,6 +175,11 @@ func parseARM64SystemRegisters(isar0, isar1, pfr0 uint64) {
parseARM64SVERegister(getzfr0())
}
+
+ switch extractBits(pfr0, 48, 51) {
+ case 1:
+ ARM64.HasDIT = true
+ }
}
func parseARM64SVERegister(zfr0 uint64) {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_darwin_x86.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_darwin_x86.go
new file mode 100644
index 0000000000..b838cb9e95
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_darwin_x86.go
@@ -0,0 +1,61 @@
+// Copyright 2024 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.
+
+//go:build darwin && amd64 && gc
+
+package cpu
+
+// darwinSupportsAVX512 checks Darwin kernel for AVX512 support via sysctl
+// call (see issue 43089). It also restricts AVX512 support for Darwin to
+// kernel version 21.3.0 (MacOS 12.2.0) or later (see issue 49233).
+//
+// Background:
+// Darwin implements a special mechanism to economize on thread state when
+// AVX512 specific registers are not in use. This scheme minimizes state when
+// preempting threads that haven't yet used any AVX512 instructions, but adds
+// special requirements to check for AVX512 hardware support at runtime (e.g.
+// via sysctl call or commpage inspection). See issue 43089 and link below for
+// full background:
+// https://github.com/apple-oss-distributions/xnu/blob/xnu-11215.1.10/osfmk/i386/fpu.c#L214-L240
+//
+// Additionally, all versions of the Darwin kernel from 19.6.0 through 21.2.0
+// (corresponding to MacOS 10.15.6 - 12.1) have a bug that can cause corruption
+// of the AVX512 mask registers (K0-K7) upon signal return. For this reason
+// AVX512 is considered unsafe to use on Darwin for kernel versions prior to
+// 21.3.0, where a fix has been confirmed. See issue 49233 for full background.
+func darwinSupportsAVX512() bool {
+ return darwinSysctlEnabled([]byte("hw.optional.avx512f\x00")) && darwinKernelVersionCheck(21, 3, 0)
+}
+
+// Ensure Darwin kernel version is at least major.minor.patch, avoiding dependencies
+func darwinKernelVersionCheck(major, minor, patch int) bool {
+ var release [256]byte
+ err := darwinOSRelease(&release)
+ if err != nil {
+ return false
+ }
+
+ var mmp [3]int
+ c := 0
+Loop:
+ for _, b := range release[:] {
+ switch {
+ case b >= '0' && b <= '9':
+ mmp[c] = 10*mmp[c] + int(b-'0')
+ case b == '.':
+ c++
+ if c > 2 {
+ return false
+ }
+ case b == 0:
+ break Loop
+ default:
+ return false
+ }
+ }
+ if c != 2 {
+ return false
+ }
+ return mmp[0] > major || mmp[0] == major && (mmp[1] > minor || mmp[1] == minor && mmp[2] >= patch)
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
index 910728fb16..32a44514e2 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.go
@@ -6,10 +6,10 @@
package cpu
-// cpuid is implemented in cpu_x86.s for gc compiler
+// cpuid is implemented in cpu_gc_x86.s for gc compiler
// and in cpu_gccgo.c for gccgo.
func cpuid(eaxArg, ecxArg uint32) (eax, ebx, ecx, edx uint32)
-// xgetbv with ecx = 0 is implemented in cpu_x86.s for gc compiler
+// xgetbv with ecx = 0 is implemented in cpu_gc_x86.s for gc compiler
// and in cpu_gccgo.c for gccgo.
func xgetbv() (eax, edx uint32)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.s
similarity index 94%
rename from cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.s
rename to cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.s
index 7d7ba33efb..ce208ce6d6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gc_x86.s
@@ -18,7 +18,7 @@ TEXT ·cpuid(SB), NOSPLIT, $0-24
RET
// func xgetbv() (eax, edx uint32)
-TEXT ·xgetbv(SB),NOSPLIT,$0-8
+TEXT ·xgetbv(SB), NOSPLIT, $0-8
MOVL $0, CX
XGETBV
MOVL AX, eax+0(FP)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go
index 99c60fe9f9..170d21ddfd 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_gccgo_x86.go
@@ -23,9 +23,3 @@ func xgetbv() (eax, edx uint32) {
gccgoXgetbv(&a, &d)
return a, d
}
-
-// gccgo doesn't build on Darwin, per:
-// https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gcc.rb#L76
-func darwinSupportsAVX512() bool {
- return false
-}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go
index 3d386d0fc2..f1caf0f78e 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go
@@ -35,8 +35,10 @@ const (
hwcap_SHA512 = 1 << 21
hwcap_SVE = 1 << 22
hwcap_ASIMDFHM = 1 << 23
+ hwcap_DIT = 1 << 24
hwcap2_SVE2 = 1 << 1
+ hwcap2_I8MM = 1 << 13
)
// linuxKernelCanEmulateCPUID reports whether we're running
@@ -106,9 +108,11 @@ func doinit() {
ARM64.HasSHA512 = isSet(hwCap, hwcap_SHA512)
ARM64.HasSVE = isSet(hwCap, hwcap_SVE)
ARM64.HasASIMDFHM = isSet(hwCap, hwcap_ASIMDFHM)
+ ARM64.HasDIT = isSet(hwCap, hwcap_DIT)
// HWCAP2 feature bits
ARM64.HasSVE2 = isSet(hwCap2, hwcap2_SVE2)
+ ARM64.HasI8MM = isSet(hwCap2, hwcap2_I8MM)
}
func isSet(hwc uint, value uint) bool {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
index cd63e73355..7d902b6847 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x
+//go:build linux && !arm && !arm64 && !mips64 && !mips64le && !ppc64 && !ppc64le && !s390x && !riscv64
package cpu
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go
new file mode 100644
index 0000000000..cb4a0c5728
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_linux_riscv64.go
@@ -0,0 +1,137 @@
+// Copyright 2024 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.
+
+package cpu
+
+import (
+ "syscall"
+ "unsafe"
+)
+
+// RISC-V extension discovery code for Linux. The approach here is to first try the riscv_hwprobe
+// syscall falling back to HWCAP to check for the C extension if riscv_hwprobe is not available.
+//
+// A note on detection of the Vector extension using HWCAP.
+//
+// Support for the Vector extension version 1.0 was added to the Linux kernel in release 6.5.
+// Support for the riscv_hwprobe syscall was added in 6.4. It follows that if the riscv_hwprobe
+// syscall is not available then neither is the Vector extension (which needs kernel support).
+// The riscv_hwprobe syscall should then be all we need to detect the Vector extension.
+// However, some RISC-V board manufacturers ship boards with an older kernel on top of which
+// they have back-ported various versions of the Vector extension patches but not the riscv_hwprobe
+// patches. These kernels advertise support for the Vector extension using HWCAP. Falling
+// back to HWCAP to detect the Vector extension, if riscv_hwprobe is not available, or simply not
+// bothering with riscv_hwprobe at all and just using HWCAP may then seem like an attractive option.
+//
+// Unfortunately, simply checking the 'V' bit in AT_HWCAP will not work as this bit is used by
+// RISC-V board and cloud instance providers to mean different things. The Lichee Pi 4A board
+// and the Scaleway RV1 cloud instances use the 'V' bit to advertise their support for the unratified
+// 0.7.1 version of the Vector Specification. The Banana Pi BPI-F3 and the CanMV-K230 board use
+// it to advertise support for 1.0 of the Vector extension. Versions 0.7.1 and 1.0 of the Vector
+// extension are binary incompatible. HWCAP can then not be used in isolation to populate the
+// HasV field as this field indicates that the underlying CPU is compatible with RVV 1.0.
+//
+// There is a way at runtime to distinguish between versions 0.7.1 and 1.0 of the Vector
+// specification by issuing a RVV 1.0 vsetvli instruction and checking the vill bit of the vtype
+// register. This check would allow us to safely detect version 1.0 of the Vector extension
+// with HWCAP, if riscv_hwprobe were not available. However, the check cannot
+// be added until the assembler supports the Vector instructions.
+//
+// Note the riscv_hwprobe syscall does not suffer from these ambiguities by design as all of the
+// extensions it advertises support for are explicitly versioned. It's also worth noting that
+// the riscv_hwprobe syscall is the only way to detect multi-letter RISC-V extensions, e.g., Zba.
+// These cannot be detected using HWCAP and so riscv_hwprobe must be used to detect the majority
+// of RISC-V extensions.
+//
+// Please see https://docs.kernel.org/arch/riscv/hwprobe.html for more information.
+
+// golang.org/x/sys/cpu is not allowed to depend on golang.org/x/sys/unix so we must
+// reproduce the constants, types and functions needed to make the riscv_hwprobe syscall
+// here.
+
+const (
+ // Copied from golang.org/x/sys/unix/ztypes_linux_riscv64.go.
+ riscv_HWPROBE_KEY_IMA_EXT_0 = 0x4
+ riscv_HWPROBE_IMA_C = 0x2
+ riscv_HWPROBE_IMA_V = 0x4
+ riscv_HWPROBE_EXT_ZBA = 0x8
+ riscv_HWPROBE_EXT_ZBB = 0x10
+ riscv_HWPROBE_EXT_ZBS = 0x20
+ riscv_HWPROBE_KEY_CPUPERF_0 = 0x5
+ riscv_HWPROBE_MISALIGNED_FAST = 0x3
+ riscv_HWPROBE_MISALIGNED_MASK = 0x7
+)
+
+const (
+ // sys_RISCV_HWPROBE is copied from golang.org/x/sys/unix/zsysnum_linux_riscv64.go.
+ sys_RISCV_HWPROBE = 258
+)
+
+// riscvHWProbePairs is copied from golang.org/x/sys/unix/ztypes_linux_riscv64.go.
+type riscvHWProbePairs struct {
+ key int64
+ value uint64
+}
+
+const (
+ // CPU features
+ hwcap_RISCV_ISA_C = 1 << ('C' - 'A')
+)
+
+func doinit() {
+ // A slice of key/value pair structures is passed to the RISCVHWProbe syscall. The key
+ // field should be initialised with one of the key constants defined above, e.g.,
+ // RISCV_HWPROBE_KEY_IMA_EXT_0. The syscall will set the value field to the appropriate value.
+ // If the kernel does not recognise a key it will set the key field to -1 and the value field to 0.
+
+ pairs := []riscvHWProbePairs{
+ {riscv_HWPROBE_KEY_IMA_EXT_0, 0},
+ {riscv_HWPROBE_KEY_CPUPERF_0, 0},
+ }
+
+ // This call only indicates that extensions are supported if they are implemented on all cores.
+ if riscvHWProbe(pairs, 0) {
+ if pairs[0].key != -1 {
+ v := uint(pairs[0].value)
+ RISCV64.HasC = isSet(v, riscv_HWPROBE_IMA_C)
+ RISCV64.HasV = isSet(v, riscv_HWPROBE_IMA_V)
+ RISCV64.HasZba = isSet(v, riscv_HWPROBE_EXT_ZBA)
+ RISCV64.HasZbb = isSet(v, riscv_HWPROBE_EXT_ZBB)
+ RISCV64.HasZbs = isSet(v, riscv_HWPROBE_EXT_ZBS)
+ }
+ if pairs[1].key != -1 {
+ v := pairs[1].value & riscv_HWPROBE_MISALIGNED_MASK
+ RISCV64.HasFastMisaligned = v == riscv_HWPROBE_MISALIGNED_FAST
+ }
+ }
+
+ // Let's double check with HWCAP if the C extension does not appear to be supported.
+ // This may happen if we're running on a kernel older than 6.4.
+
+ if !RISCV64.HasC {
+ RISCV64.HasC = isSet(hwCap, hwcap_RISCV_ISA_C)
+ }
+}
+
+func isSet(hwc uint, value uint) bool {
+ return hwc&value != 0
+}
+
+// riscvHWProbe is a simplified version of the generated wrapper function found in
+// golang.org/x/sys/unix/zsyscall_linux_riscv64.go. We simplify it by removing the
+// cpuCount and cpus parameters which we do not need. We always want to pass 0 for
+// these parameters here so the kernel only reports the extensions that are present
+// on all cores.
+func riscvHWProbe(pairs []riscvHWProbePairs, flags uint) bool {
+ var _zero uintptr
+ var p0 unsafe.Pointer
+ if len(pairs) > 0 {
+ p0 = unsafe.Pointer(&pairs[0])
+ } else {
+ p0 = unsafe.Pointer(&_zero)
+ }
+
+ _, _, e1 := syscall.Syscall6(sys_RISCV_HWPROBE, uintptr(p0), uintptr(len(pairs)), uintptr(0), uintptr(0), uintptr(flags), 0)
+ return e1 == 0
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_other_x86.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_other_x86.go
new file mode 100644
index 0000000000..a0fd7e2f75
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_other_x86.go
@@ -0,0 +1,11 @@
+// Copyright 2024 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.
+
+//go:build 386 || amd64p32 || (amd64 && (!darwin || !gc))
+
+package cpu
+
+func darwinSupportsAVX512() bool {
+ panic("only implemented for gc && amd64 && darwin")
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
index 7f0c79c004..aca3199c91 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_riscv64.go
@@ -8,4 +8,13 @@ package cpu
const cacheLineSize = 64
-func initOptions() {}
+func initOptions() {
+ options = []option{
+ {Name: "fastmisaligned", Feature: &RISCV64.HasFastMisaligned},
+ {Name: "c", Feature: &RISCV64.HasC},
+ {Name: "v", Feature: &RISCV64.HasV},
+ {Name: "zba", Feature: &RISCV64.HasZba},
+ {Name: "zbb", Feature: &RISCV64.HasZbb},
+ {Name: "zbs", Feature: &RISCV64.HasZbs},
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.go
index c29f5e4c5a..600a680786 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/cpu_x86.go
@@ -92,10 +92,8 @@ func archInit() {
osSupportsAVX = isSet(1, eax) && isSet(2, eax)
if runtime.GOOS == "darwin" {
- // Darwin doesn't save/restore AVX-512 mask registers correctly across signal handlers.
- // Since users can't rely on mask register contents, let's not advertise AVX-512 support.
- // See issue 49233.
- osSupportsAVX512 = false
+ // Darwin requires special AVX512 checks, see cpu_darwin_x86.go
+ osSupportsAVX512 = osSupportsAVX && darwinSupportsAVX512()
} else {
// Check if OPMASK and ZMM registers have OS support.
osSupportsAVX512 = osSupportsAVX && isSet(5, eax) && isSet(6, eax) && isSet(7, eax)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/syscall_darwin_x86_gc.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/syscall_darwin_x86_gc.go
new file mode 100644
index 0000000000..4d0888b0c0
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/cpu/syscall_darwin_x86_gc.go
@@ -0,0 +1,98 @@
+// Copyright 2024 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.
+
+// Minimal copy of x/sys/unix so the cpu package can make a
+// system call on Darwin without depending on x/sys/unix.
+
+//go:build darwin && amd64 && gc
+
+package cpu
+
+import (
+ "syscall"
+ "unsafe"
+)
+
+type _C_int int32
+
+// adapted from unix.Uname() at x/sys/unix/syscall_darwin.go L419
+func darwinOSRelease(release *[256]byte) error {
+ // from x/sys/unix/zerrors_openbsd_amd64.go
+ const (
+ CTL_KERN = 0x1
+ KERN_OSRELEASE = 0x2
+ )
+
+ mib := []_C_int{CTL_KERN, KERN_OSRELEASE}
+ n := unsafe.Sizeof(*release)
+
+ return sysctl(mib, &release[0], &n, nil, 0)
+}
+
+type Errno = syscall.Errno
+
+var _zero uintptr // Single-word zero for use when we need a valid pointer to 0 bytes.
+
+// from x/sys/unix/zsyscall_darwin_amd64.go L791-807
+func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error {
+ var _p0 unsafe.Pointer
+ if len(mib) > 0 {
+ _p0 = unsafe.Pointer(&mib[0])
+ } else {
+ _p0 = unsafe.Pointer(&_zero)
+ }
+ if _, _, err := syscall_syscall6(
+ libc_sysctl_trampoline_addr,
+ uintptr(_p0),
+ uintptr(len(mib)),
+ uintptr(unsafe.Pointer(old)),
+ uintptr(unsafe.Pointer(oldlen)),
+ uintptr(unsafe.Pointer(new)),
+ uintptr(newlen),
+ ); err != 0 {
+ return err
+ }
+
+ return nil
+}
+
+var libc_sysctl_trampoline_addr uintptr
+
+// adapted from internal/cpu/cpu_arm64_darwin.go
+func darwinSysctlEnabled(name []byte) bool {
+ out := int32(0)
+ nout := unsafe.Sizeof(out)
+ if ret := sysctlbyname(&name[0], (*byte)(unsafe.Pointer(&out)), &nout, nil, 0); ret != nil {
+ return false
+ }
+ return out > 0
+}
+
+//go:cgo_import_dynamic libc_sysctl sysctl "/usr/lib/libSystem.B.dylib"
+
+var libc_sysctlbyname_trampoline_addr uintptr
+
+// adapted from runtime/sys_darwin.go in the pattern of sysctl() above, as defined in x/sys/unix
+func sysctlbyname(name *byte, old *byte, oldlen *uintptr, new *byte, newlen uintptr) error {
+ if _, _, err := syscall_syscall6(
+ libc_sysctlbyname_trampoline_addr,
+ uintptr(unsafe.Pointer(name)),
+ uintptr(unsafe.Pointer(old)),
+ uintptr(unsafe.Pointer(oldlen)),
+ uintptr(unsafe.Pointer(new)),
+ uintptr(newlen),
+ 0,
+ ); err != 0 {
+ return err
+ }
+
+ return nil
+}
+
+//go:cgo_import_dynamic libc_sysctlbyname sysctlbyname "/usr/lib/libSystem.B.dylib"
+
+// Implemented in the runtime package (runtime/sys_darwin.go)
+func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
+
+//go:linkname syscall_syscall6 syscall.syscall6
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/README.md b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/README.md
index 7d3c060e12..6e08a76a71 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/README.md
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/README.md
@@ -156,7 +156,7 @@ from the generated architecture-specific files listed below, and merge these
into a common file for each OS.
The merge is performed in the following steps:
-1. Construct the set of common code that is idential in all architecture-specific files.
+1. Construct the set of common code that is identical in all architecture-specific files.
2. Write this common code to the merged file.
3. Remove the common code from all architecture-specific files.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ioctl_linux.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ioctl_linux.go
index dbe680eab8..7ca4fa12aa 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ioctl_linux.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ioctl_linux.go
@@ -58,6 +58,102 @@ func IoctlGetEthtoolDrvinfo(fd int, ifname string) (*EthtoolDrvinfo, error) {
return &value, err
}
+// IoctlGetEthtoolTsInfo fetches ethtool timestamping and PHC
+// association for the network device specified by ifname.
+func IoctlGetEthtoolTsInfo(fd int, ifname string) (*EthtoolTsInfo, error) {
+ ifr, err := NewIfreq(ifname)
+ if err != nil {
+ return nil, err
+ }
+
+ value := EthtoolTsInfo{Cmd: ETHTOOL_GET_TS_INFO}
+ ifrd := ifr.withData(unsafe.Pointer(&value))
+
+ err = ioctlIfreqData(fd, SIOCETHTOOL, &ifrd)
+ return &value, err
+}
+
+// IoctlGetHwTstamp retrieves the hardware timestamping configuration
+// for the network device specified by ifname.
+func IoctlGetHwTstamp(fd int, ifname string) (*HwTstampConfig, error) {
+ ifr, err := NewIfreq(ifname)
+ if err != nil {
+ return nil, err
+ }
+
+ value := HwTstampConfig{}
+ ifrd := ifr.withData(unsafe.Pointer(&value))
+
+ err = ioctlIfreqData(fd, SIOCGHWTSTAMP, &ifrd)
+ return &value, err
+}
+
+// IoctlSetHwTstamp updates the hardware timestamping configuration for
+// the network device specified by ifname.
+func IoctlSetHwTstamp(fd int, ifname string, cfg *HwTstampConfig) error {
+ ifr, err := NewIfreq(ifname)
+ if err != nil {
+ return err
+ }
+ ifrd := ifr.withData(unsafe.Pointer(cfg))
+ return ioctlIfreqData(fd, SIOCSHWTSTAMP, &ifrd)
+}
+
+// FdToClockID derives the clock ID from the file descriptor number
+// - see clock_gettime(3), FD_TO_CLOCKID macros. The resulting ID is
+// suitable for system calls like ClockGettime.
+func FdToClockID(fd int) int32 { return int32((int(^fd) << 3) | 3) }
+
+// IoctlPtpClockGetcaps returns the description of a given PTP device.
+func IoctlPtpClockGetcaps(fd int) (*PtpClockCaps, error) {
+ var value PtpClockCaps
+ err := ioctlPtr(fd, PTP_CLOCK_GETCAPS2, unsafe.Pointer(&value))
+ return &value, err
+}
+
+// IoctlPtpSysOffsetPrecise returns a description of the clock
+// offset compared to the system clock.
+func IoctlPtpSysOffsetPrecise(fd int) (*PtpSysOffsetPrecise, error) {
+ var value PtpSysOffsetPrecise
+ err := ioctlPtr(fd, PTP_SYS_OFFSET_PRECISE2, unsafe.Pointer(&value))
+ return &value, err
+}
+
+// IoctlPtpSysOffsetExtended returns an extended description of the
+// clock offset compared to the system clock. The samples parameter
+// specifies the desired number of measurements.
+func IoctlPtpSysOffsetExtended(fd int, samples uint) (*PtpSysOffsetExtended, error) {
+ value := PtpSysOffsetExtended{Samples: uint32(samples)}
+ err := ioctlPtr(fd, PTP_SYS_OFFSET_EXTENDED2, unsafe.Pointer(&value))
+ return &value, err
+}
+
+// IoctlPtpPinGetfunc returns the configuration of the specified
+// I/O pin on given PTP device.
+func IoctlPtpPinGetfunc(fd int, index uint) (*PtpPinDesc, error) {
+ value := PtpPinDesc{Index: uint32(index)}
+ err := ioctlPtr(fd, PTP_PIN_GETFUNC2, unsafe.Pointer(&value))
+ return &value, err
+}
+
+// IoctlPtpPinSetfunc updates configuration of the specified PTP
+// I/O pin.
+func IoctlPtpPinSetfunc(fd int, pd *PtpPinDesc) error {
+ return ioctlPtr(fd, PTP_PIN_SETFUNC2, unsafe.Pointer(pd))
+}
+
+// IoctlPtpPeroutRequest configures the periodic output mode of the
+// PTP I/O pins.
+func IoctlPtpPeroutRequest(fd int, r *PtpPeroutRequest) error {
+ return ioctlPtr(fd, PTP_PEROUT_REQUEST2, unsafe.Pointer(r))
+}
+
+// IoctlPtpExttsRequest configures the external timestamping mode
+// of the PTP I/O pins.
+func IoctlPtpExttsRequest(fd int, r *PtpExttsRequest) error {
+ return ioctlPtr(fd, PTP_EXTTS_REQUEST2, unsafe.Pointer(r))
+}
+
// IoctlGetWatchdogInfo fetches information about a watchdog device from the
// Linux watchdog API. For more information, see:
// https://www.kernel.org/doc/html/latest/watchdog/watchdog-api.html.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mkerrors.sh b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mkerrors.sh
index 4ed2e488b6..6ab02b6c31 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mkerrors.sh
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mkerrors.sh
@@ -58,6 +58,7 @@ includes_Darwin='
#define _DARWIN_USE_64_BIT_INODE
#define __APPLE_USE_RFC_3542
#include
+#include
#include
#include
#include
@@ -157,6 +158,16 @@ includes_Linux='
#endif
#define _GNU_SOURCE
+// See the description in unix/linux/types.go
+#if defined(__ARM_EABI__) || \
+ (defined(__mips__) && (_MIPS_SIM == _ABIO32)) || \
+ (defined(__powerpc__) && (!defined(__powerpc64__)))
+# ifdef _TIME_BITS
+# undef _TIME_BITS
+# endif
+# define _TIME_BITS 32
+#endif
+
// is broken on powerpc64, as it fails to include definitions of
// these structures. We just include them copied from .
#if defined(__powerpc__)
@@ -255,6 +266,7 @@ struct ltchars {
#include
#include
#include
+#include
#include
#include
#include
@@ -526,6 +538,7 @@ ccflags="$@"
$2 ~ /^(AF|SOCK|SO|SOL|IPPROTO|IP|IPV6|TCP|MCAST|EVFILT|NOTE|SHUT|PROT|MAP|MREMAP|MFD|T?PACKET|MSG|SCM|MCL|DT|MADV|PR|LOCAL|TCPOPT|UDP)_/ ||
$2 ~ /^NFC_(GENL|PROTO|COMM|RF|SE|DIRECTION|LLCP|SOCKPROTO)_/ ||
$2 ~ /^NFC_.*_(MAX)?SIZE$/ ||
+ $2 ~ /^PTP_/ ||
$2 ~ /^RAW_PAYLOAD_/ ||
$2 ~ /^[US]F_/ ||
$2 ~ /^TP_STATUS_/ ||
@@ -551,6 +564,7 @@ ccflags="$@"
$2 !~ /^RTC_VL_(ACCURACY|BACKUP|DATA)/ &&
$2 ~ /^(NETLINK|NLM|NLMSG|NLA|IFA|IFAN|RT|RTC|RTCF|RTN|RTPROT|RTNH|ARPHRD|ETH_P|NETNSA)_/ ||
$2 ~ /^SOCK_|SK_DIAG_|SKNLGRP_$/ ||
+ $2 ~ /^(CONNECT|SAE)_/ ||
$2 ~ /^FIORDCHK$/ ||
$2 ~ /^SIOC/ ||
$2 ~ /^TIOC/ ||
@@ -654,7 +668,7 @@ errors=$(
signals=$(
echo '#include ' | $CC -x c - -E -dM $ccflags |
awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print $2 }' |
- grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' |
+ grep -E -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT|SIGMAX64)' |
sort
)
@@ -664,7 +678,7 @@ echo '#include ' | $CC -x c - -E -dM $ccflags |
sort >_error.grep
echo '#include ' | $CC -x c - -E -dM $ccflags |
awk '$1=="#define" && $2 ~ /^SIG[A-Z0-9]+$/ { print "^\t" $2 "[ \t]*=" }' |
- grep -v 'SIGSTKSIZE\|SIGSTKSZ\|SIGRT\|SIGMAX64' |
+ grep -E -v '(SIGSTKSIZE|SIGSTKSZ|SIGRT|SIGMAX64)' |
sort >_signal.grep
echo '// mkerrors.sh' "$@"
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mremap.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mremap.go
index fd45fe529d..3a5e776f89 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mremap.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/mremap.go
@@ -50,3 +50,8 @@ func (m *mremapMmapper) Mremap(oldData []byte, newLength int, flags int) (data [
func Mremap(oldData []byte, newLength int, flags int) (data []byte, err error) {
return mapper.Mremap(oldData, newLength, flags)
}
+
+func MremapPtr(oldAddr unsafe.Pointer, oldSize uintptr, newAddr unsafe.Pointer, newSize uintptr, flags int) (ret unsafe.Pointer, err error) {
+ xaddr, err := mapper.mremap(uintptr(oldAddr), oldSize, newSize, flags, uintptr(newAddr))
+ return unsafe.Pointer(xaddr), err
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_aix.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_aix.go
index 67ce6cef2d..6f15ba1eaf 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_aix.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_aix.go
@@ -360,7 +360,7 @@ func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int,
var status _C_int
var r Pid_t
err = ERESTART
- // AIX wait4 may return with ERESTART errno, while the processus is still
+ // AIX wait4 may return with ERESTART errno, while the process is still
// active.
for err == ERESTART {
r, err = wait4(Pid_t(pid), &status, options, rusage)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_darwin.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_darwin.go
index 59542a897d..099867deed 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_darwin.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_darwin.go
@@ -402,6 +402,18 @@ func IoctlSetIfreqMTU(fd int, ifreq *IfreqMTU) error {
return ioctlPtr(fd, SIOCSIFMTU, unsafe.Pointer(ifreq))
}
+//sys renamexNp(from string, to string, flag uint32) (err error)
+
+func RenamexNp(from string, to string, flag uint32) (err error) {
+ return renamexNp(from, to, flag)
+}
+
+//sys renameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error)
+
+func RenameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) {
+ return renameatxNp(fromfd, from, tofd, to, flag)
+}
+
//sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS_SYSCTL
func Uname(uname *Utsname) error {
@@ -542,6 +554,55 @@ func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {
}
}
+//sys pthread_chdir_np(path string) (err error)
+
+func PthreadChdir(path string) (err error) {
+ return pthread_chdir_np(path)
+}
+
+//sys pthread_fchdir_np(fd int) (err error)
+
+func PthreadFchdir(fd int) (err error) {
+ return pthread_fchdir_np(fd)
+}
+
+// Connectx calls connectx(2) to initiate a connection on a socket.
+//
+// srcIf, srcAddr, and dstAddr are filled into a [SaEndpoints] struct and passed as the endpoints argument.
+//
+// - srcIf is the optional source interface index. 0 means unspecified.
+// - srcAddr is the optional source address. nil means unspecified.
+// - dstAddr is the destination address.
+//
+// On success, Connectx returns the number of bytes enqueued for transmission.
+func Connectx(fd int, srcIf uint32, srcAddr, dstAddr Sockaddr, associd SaeAssocID, flags uint32, iov []Iovec, connid *SaeConnID) (n uintptr, err error) {
+ endpoints := SaEndpoints{
+ Srcif: srcIf,
+ }
+
+ if srcAddr != nil {
+ addrp, addrlen, err := srcAddr.sockaddr()
+ if err != nil {
+ return 0, err
+ }
+ endpoints.Srcaddr = (*RawSockaddr)(addrp)
+ endpoints.Srcaddrlen = uint32(addrlen)
+ }
+
+ if dstAddr != nil {
+ addrp, addrlen, err := dstAddr.sockaddr()
+ if err != nil {
+ return 0, err
+ }
+ endpoints.Dstaddr = (*RawSockaddr)(addrp)
+ endpoints.Dstaddrlen = uint32(addrlen)
+ }
+
+ err = connectx(fd, &endpoints, associd, flags, iov, &n, connid)
+ return
+}
+
+//sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error)
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
//sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_hurd.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_hurd.go
index ba46651f8e..a6a2d2fc2b 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_hurd.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_hurd.go
@@ -11,6 +11,7 @@ package unix
int ioctl(int, unsigned long int, uintptr_t);
*/
import "C"
+import "unsafe"
func ioctl(fd int, req uint, arg uintptr) (err error) {
r0, er := C.ioctl(C.int(fd), C.ulong(req), C.uintptr_t(arg))
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux.go
index 5682e2628a..230a94549a 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux.go
@@ -1295,6 +1295,48 @@ func GetsockoptTCPInfo(fd, level, opt int) (*TCPInfo, error) {
return &value, err
}
+// GetsockoptTCPCCVegasInfo returns algorithm specific congestion control information for a socket using the "vegas"
+// algorithm.
+//
+// The socket's congestion control algorighm can be retrieved via [GetsockoptString] with the [TCP_CONGESTION] option:
+//
+// algo, err := unix.GetsockoptString(fd, unix.IPPROTO_TCP, unix.TCP_CONGESTION)
+func GetsockoptTCPCCVegasInfo(fd, level, opt int) (*TCPVegasInfo, error) {
+ var value [SizeofTCPCCInfo / 4]uint32 // ensure proper alignment
+ vallen := _Socklen(SizeofTCPCCInfo)
+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
+ out := (*TCPVegasInfo)(unsafe.Pointer(&value[0]))
+ return out, err
+}
+
+// GetsockoptTCPCCDCTCPInfo returns algorithm specific congestion control information for a socket using the "dctp"
+// algorithm.
+//
+// The socket's congestion control algorighm can be retrieved via [GetsockoptString] with the [TCP_CONGESTION] option:
+//
+// algo, err := unix.GetsockoptString(fd, unix.IPPROTO_TCP, unix.TCP_CONGESTION)
+func GetsockoptTCPCCDCTCPInfo(fd, level, opt int) (*TCPDCTCPInfo, error) {
+ var value [SizeofTCPCCInfo / 4]uint32 // ensure proper alignment
+ vallen := _Socklen(SizeofTCPCCInfo)
+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
+ out := (*TCPDCTCPInfo)(unsafe.Pointer(&value[0]))
+ return out, err
+}
+
+// GetsockoptTCPCCBBRInfo returns algorithm specific congestion control information for a socket using the "bbr"
+// algorithm.
+//
+// The socket's congestion control algorighm can be retrieved via [GetsockoptString] with the [TCP_CONGESTION] option:
+//
+// algo, err := unix.GetsockoptString(fd, unix.IPPROTO_TCP, unix.TCP_CONGESTION)
+func GetsockoptTCPCCBBRInfo(fd, level, opt int) (*TCPBBRInfo, error) {
+ var value [SizeofTCPCCInfo / 4]uint32 // ensure proper alignment
+ vallen := _Socklen(SizeofTCPCCInfo)
+ err := getsockopt(fd, level, opt, unsafe.Pointer(&value[0]), &vallen)
+ out := (*TCPBBRInfo)(unsafe.Pointer(&value[0]))
+ return out, err
+}
+
// GetsockoptString returns the string value of the socket option opt for the
// socket associated with fd at the given socket level.
func GetsockoptString(fd, level, opt int) (string, error) {
@@ -1818,6 +1860,7 @@ func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err e
//sys ClockAdjtime(clockid int32, buf *Timex) (state int, err error)
//sys ClockGetres(clockid int32, res *Timespec) (err error)
//sys ClockGettime(clockid int32, time *Timespec) (err error)
+//sys ClockSettime(clockid int32, time *Timespec) (err error)
//sys ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error)
//sys Close(fd int) (err error)
//sys CloseRange(first uint, last uint, flags uint) (err error)
@@ -1959,7 +2002,26 @@ func Getpgrp() (pid int) {
//sysnb Getpid() (pid int)
//sysnb Getppid() (ppid int)
//sys Getpriority(which int, who int) (prio int, err error)
-//sys Getrandom(buf []byte, flags int) (n int, err error)
+
+func Getrandom(buf []byte, flags int) (n int, err error) {
+ vdsoRet, supported := vgetrandom(buf, uint32(flags))
+ if supported {
+ if vdsoRet < 0 {
+ return 0, errnoErr(syscall.Errno(-vdsoRet))
+ }
+ return vdsoRet, nil
+ }
+ var p *byte
+ if len(buf) > 0 {
+ p = &buf[0]
+ }
+ r, _, e := Syscall(SYS_GETRANDOM, uintptr(unsafe.Pointer(p)), uintptr(len(buf)), uintptr(flags))
+ if e != 0 {
+ return 0, errnoErr(e)
+ }
+ return int(r), nil
+}
+
//sysnb Getrusage(who int, rusage *Rusage) (err error)
//sysnb Getsid(pid int) (sid int, err error)
//sysnb Gettid() (tid int)
@@ -2592,3 +2654,4 @@ func SchedGetAttr(pid int, flags uint) (*SchedAttr, error) {
}
//sys Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint) (err error)
+//sys Mseal(b []byte, flags uint) (err error)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
index cf2ee6c75e..745e5c7e6c 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
@@ -182,3 +182,5 @@ func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error
}
return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
}
+
+const SYS_FSTATAT = SYS_NEWFSTATAT
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
index 3d0e98451f..dd2262a407 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go
@@ -214,3 +214,5 @@ func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error
}
return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
}
+
+const SYS_FSTATAT = SYS_NEWFSTATAT
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
index 6f5a288944..8cf3670bda 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
@@ -187,3 +187,5 @@ func RISCVHWProbe(pairs []RISCVHWProbePairs, set *CPUSet, flags uint) (err error
}
return riscvHWProbe(pairs, setSize, set, flags)
}
+
+const SYS_FSTATAT = SYS_NEWFSTATAT
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_openbsd.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_openbsd.go
index b25343c71a..b86ded549c 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_openbsd.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_openbsd.go
@@ -293,6 +293,7 @@ func Uname(uname *Utsname) error {
//sys Mkfifoat(dirfd int, path string, mode uint32) (err error)
//sys Mknod(path string, mode uint32, dev int) (err error)
//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error)
+//sys Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error)
//sys Nanosleep(time *Timespec, leftover *Timespec) (err error)
//sys Open(path string, mode int, perm uint32) (fd int, err error)
//sys Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_unix.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_unix.go
index 77081de8c7..4e92e5aa40 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_unix.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_unix.go
@@ -154,6 +154,15 @@ func Munmap(b []byte) (err error) {
return mapper.Munmap(b)
}
+func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error) {
+ xaddr, err := mapper.mmap(uintptr(addr), length, prot, flags, fd, offset)
+ return unsafe.Pointer(xaddr), err
+}
+
+func MunmapPtr(addr unsafe.Pointer, length uintptr) (err error) {
+ return mapper.munmap(uintptr(addr), length)
+}
+
func Read(fd int, p []byte) (n int, err error) {
n, err = read(fd, p)
if raceenabled {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
index 312ae6ac1d..7bf5c04bb0 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
@@ -768,6 +768,15 @@ func Munmap(b []byte) (err error) {
return mapper.Munmap(b)
}
+func MmapPtr(fd int, offset int64, addr unsafe.Pointer, length uintptr, prot int, flags int) (ret unsafe.Pointer, err error) {
+ xaddr, err := mapper.mmap(uintptr(addr), length, prot, flags, fd, offset)
+ return unsafe.Pointer(xaddr), err
+}
+
+func MunmapPtr(addr unsafe.Pointer, length uintptr) (err error) {
+ return mapper.munmap(uintptr(addr), length)
+}
+
//sys Gethostname(buf []byte) (err error) = SYS___GETHOSTNAME_A
//sysnb Getgid() (gid int)
//sysnb Getpid() (pid int)
@@ -816,10 +825,10 @@ func Lstat(path string, stat *Stat_t) (err error) {
// for checking symlinks begins with $VERSION/ $SYSNAME/ $SYSSYMR/ $SYSSYMA/
func isSpecialPath(path []byte) (v bool) {
var special = [4][8]byte{
- [8]byte{'V', 'E', 'R', 'S', 'I', 'O', 'N', '/'},
- [8]byte{'S', 'Y', 'S', 'N', 'A', 'M', 'E', '/'},
- [8]byte{'S', 'Y', 'S', 'S', 'Y', 'M', 'R', '/'},
- [8]byte{'S', 'Y', 'S', 'S', 'Y', 'M', 'A', '/'}}
+ {'V', 'E', 'R', 'S', 'I', 'O', 'N', '/'},
+ {'S', 'Y', 'S', 'N', 'A', 'M', 'E', '/'},
+ {'S', 'Y', 'S', 'S', 'Y', 'M', 'R', '/'},
+ {'S', 'Y', 'S', 'S', 'Y', 'M', 'A', '/'}}
var i, j int
for i = 0; i < len(special); i++ {
@@ -3115,3 +3124,90 @@ func legacy_Mkfifoat(dirfd int, path string, mode uint32) (err error) {
//sys Posix_openpt(oflag int) (fd int, err error) = SYS_POSIX_OPENPT
//sys Grantpt(fildes int) (rc int, err error) = SYS_GRANTPT
//sys Unlockpt(fildes int) (rc int, err error) = SYS_UNLOCKPT
+
+func fcntlAsIs(fd uintptr, cmd int, arg uintptr) (val int, err error) {
+ runtime.EnterSyscall()
+ r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FCNTL<<4, uintptr(fd), uintptr(cmd), arg)
+ runtime.ExitSyscall()
+ val = int(r0)
+ if int64(r0) == -1 {
+ err = errnoErr2(e1, e2)
+ }
+ return
+}
+
+func Fcntl(fd uintptr, cmd int, op interface{}) (ret int, err error) {
+ switch op.(type) {
+ case *Flock_t:
+ err = FcntlFlock(fd, cmd, op.(*Flock_t))
+ if err != nil {
+ ret = -1
+ }
+ return
+ case int:
+ return FcntlInt(fd, cmd, op.(int))
+ case *F_cnvrt:
+ return fcntlAsIs(fd, cmd, uintptr(unsafe.Pointer(op.(*F_cnvrt))))
+ case unsafe.Pointer:
+ return fcntlAsIs(fd, cmd, uintptr(op.(unsafe.Pointer)))
+ default:
+ return -1, EINVAL
+ }
+ return
+}
+
+func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
+ if raceenabled {
+ raceReleaseMerge(unsafe.Pointer(&ioSync))
+ }
+ return sendfile(outfd, infd, offset, count)
+}
+
+func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {
+ // TODO: use LE call instead if the call is implemented
+ originalOffset, err := Seek(infd, 0, SEEK_CUR)
+ if err != nil {
+ return -1, err
+ }
+ //start reading data from in_fd
+ if offset != nil {
+ _, err := Seek(infd, *offset, SEEK_SET)
+ if err != nil {
+ return -1, err
+ }
+ }
+
+ buf := make([]byte, count)
+ readBuf := make([]byte, 0)
+ var n int = 0
+ for i := 0; i < count; i += n {
+ n, err := Read(infd, buf)
+ if n == 0 {
+ if err != nil {
+ return -1, err
+ } else { // EOF
+ break
+ }
+ }
+ readBuf = append(readBuf, buf...)
+ buf = buf[0:0]
+ }
+
+ n2, err := Write(outfd, readBuf)
+ if err != nil {
+ return -1, err
+ }
+
+ //When sendfile() returns, this variable will be set to the
+ // offset of the byte following the last byte that was read.
+ if offset != nil {
+ *offset = *offset + int64(n)
+ // If offset is not NULL, then sendfile() does not modify the file
+ // offset of in_fd
+ _, err := Seek(infd, originalOffset, SEEK_SET)
+ if err != nil {
+ return -1, err
+ }
+ }
+ return n2, nil
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/vgetrandom_linux.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/vgetrandom_linux.go
new file mode 100644
index 0000000000..07ac8e09d1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/vgetrandom_linux.go
@@ -0,0 +1,13 @@
+// Copyright 2024 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.
+
+//go:build linux && go1.24
+
+package unix
+
+import _ "unsafe"
+
+//go:linkname vgetrandom runtime.vgetrandom
+//go:noescape
+func vgetrandom(p []byte, flags uint32) (ret int, supported bool)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go
new file mode 100644
index 0000000000..297e97bce9
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/vgetrandom_unsupported.go
@@ -0,0 +1,11 @@
+// Copyright 2024 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.
+
+//go:build !linux || !go1.24
+
+package unix
+
+func vgetrandom(p []byte, flags uint32) (ret int, supported bool) {
+ return -1, false
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
index e40fa85245..d73c4652e6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
@@ -237,6 +237,9 @@ const (
CLOCK_UPTIME_RAW_APPROX = 0x9
CLONE_NOFOLLOW = 0x1
CLONE_NOOWNERCOPY = 0x2
+ CONNECT_DATA_AUTHENTICATED = 0x4
+ CONNECT_DATA_IDEMPOTENT = 0x2
+ CONNECT_RESUME_ON_READ_WRITE = 0x1
CR0 = 0x0
CR1 = 0x1000
CR2 = 0x2000
@@ -1169,6 +1172,11 @@ const (
PT_WRITE_D = 0x5
PT_WRITE_I = 0x4
PT_WRITE_U = 0x6
+ RENAME_EXCL = 0x4
+ RENAME_NOFOLLOW_ANY = 0x10
+ RENAME_RESERVED1 = 0x8
+ RENAME_SECLUDE = 0x1
+ RENAME_SWAP = 0x2
RLIMIT_AS = 0x5
RLIMIT_CORE = 0x4
RLIMIT_CPU = 0x0
@@ -1260,6 +1268,10 @@ const (
RTV_SSTHRESH = 0x20
RUSAGE_CHILDREN = -0x1
RUSAGE_SELF = 0x0
+ SAE_ASSOCID_ALL = 0xffffffff
+ SAE_ASSOCID_ANY = 0x0
+ SAE_CONNID_ALL = 0xffffffff
+ SAE_CONNID_ANY = 0x0
SCM_CREDS = 0x3
SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
index bb02aa6c05..4a55a40058 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
@@ -237,6 +237,9 @@ const (
CLOCK_UPTIME_RAW_APPROX = 0x9
CLONE_NOFOLLOW = 0x1
CLONE_NOOWNERCOPY = 0x2
+ CONNECT_DATA_AUTHENTICATED = 0x4
+ CONNECT_DATA_IDEMPOTENT = 0x2
+ CONNECT_RESUME_ON_READ_WRITE = 0x1
CR0 = 0x0
CR1 = 0x1000
CR2 = 0x2000
@@ -1169,6 +1172,11 @@ const (
PT_WRITE_D = 0x5
PT_WRITE_I = 0x4
PT_WRITE_U = 0x6
+ RENAME_EXCL = 0x4
+ RENAME_NOFOLLOW_ANY = 0x10
+ RENAME_RESERVED1 = 0x8
+ RENAME_SECLUDE = 0x1
+ RENAME_SWAP = 0x2
RLIMIT_AS = 0x5
RLIMIT_CORE = 0x4
RLIMIT_CPU = 0x0
@@ -1260,6 +1268,10 @@ const (
RTV_SSTHRESH = 0x20
RUSAGE_CHILDREN = -0x1
RUSAGE_SELF = 0x0
+ SAE_ASSOCID_ALL = 0xffffffff
+ SAE_ASSOCID_ANY = 0x0
+ SAE_CONNID_ALL = 0xffffffff
+ SAE_CONNID_ANY = 0x0
SCM_CREDS = 0x3
SCM_RIGHTS = 0x1
SCM_TIMESTAMP = 0x2
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux.go
index 877a62b479..6ebc48b3fe 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux.go
@@ -321,6 +321,9 @@ const (
AUDIT_INTEGRITY_STATUS = 0x70a
AUDIT_IPC = 0x517
AUDIT_IPC_SET_PERM = 0x51f
+ AUDIT_IPE_ACCESS = 0x58c
+ AUDIT_IPE_CONFIG_CHANGE = 0x58d
+ AUDIT_IPE_POLICY_LOAD = 0x58e
AUDIT_KERNEL = 0x7d0
AUDIT_KERNEL_OTHER = 0x524
AUDIT_KERN_MODULE = 0x532
@@ -457,6 +460,7 @@ const (
B600 = 0x8
B75 = 0x2
B9600 = 0xd
+ BCACHEFS_SUPER_MAGIC = 0xca451a4e
BDEVFS_MAGIC = 0x62646576
BINDERFS_SUPER_MAGIC = 0x6c6f6f70
BINFMTFS_MAGIC = 0x42494e4d
@@ -488,12 +492,14 @@ const (
BPF_F_ID = 0x20
BPF_F_NETFILTER_IP_DEFRAG = 0x1
BPF_F_QUERY_EFFECTIVE = 0x1
+ BPF_F_REDIRECT_FLAGS = 0x19
BPF_F_REPLACE = 0x4
BPF_F_SLEEPABLE = 0x10
BPF_F_STRICT_ALIGNMENT = 0x1
BPF_F_TEST_REG_INVARIANTS = 0x80
BPF_F_TEST_RND_HI32 = 0x4
BPF_F_TEST_RUN_ON_CPU = 0x1
+ BPF_F_TEST_SKB_CHECKSUM_COMPLETE = 0x4
BPF_F_TEST_STATE_FREQ = 0x8
BPF_F_TEST_XDP_LIVE_FRAMES = 0x2
BPF_F_XDP_DEV_BOUND_ONLY = 0x40
@@ -928,6 +934,7 @@ const (
EPOLL_CTL_ADD = 0x1
EPOLL_CTL_DEL = 0x2
EPOLL_CTL_MOD = 0x3
+ EPOLL_IOC_TYPE = 0x8a
EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2
ESP_V4_FLOW = 0xa
ESP_V6_FLOW = 0xc
@@ -941,9 +948,6 @@ const (
ETHTOOL_FEC_OFF = 0x4
ETHTOOL_FEC_RS = 0x8
ETHTOOL_FLAG_ALL = 0x7
- ETHTOOL_FLAG_COMPACT_BITSETS = 0x1
- ETHTOOL_FLAG_OMIT_REPLY = 0x2
- ETHTOOL_FLAG_STATS = 0x4
ETHTOOL_FLASHDEV = 0x33
ETHTOOL_FLASH_MAX_FILENAME = 0x80
ETHTOOL_FWVERS_LEN = 0x20
@@ -1166,6 +1170,7 @@ const (
EXTA = 0xe
EXTB = 0xf
F2FS_SUPER_MAGIC = 0xf2f52010
+ FALLOC_FL_ALLOCATE_RANGE = 0x0
FALLOC_FL_COLLAPSE_RANGE = 0x8
FALLOC_FL_INSERT_RANGE = 0x20
FALLOC_FL_KEEP_SIZE = 0x1
@@ -1705,6 +1710,7 @@ const (
KEXEC_ARCH_S390 = 0x160000
KEXEC_ARCH_SH = 0x2a0000
KEXEC_ARCH_X86_64 = 0x3e0000
+ KEXEC_CRASH_HOTPLUG_SUPPORT = 0x8
KEXEC_FILE_DEBUG = 0x8
KEXEC_FILE_NO_INITRAMFS = 0x4
KEXEC_FILE_ON_CRASH = 0x2
@@ -1780,6 +1786,7 @@ const (
KEY_SPEC_USER_KEYRING = -0x4
KEY_SPEC_USER_SESSION_KEYRING = -0x5
LANDLOCK_ACCESS_FS_EXECUTE = 0x1
+ LANDLOCK_ACCESS_FS_IOCTL_DEV = 0x8000
LANDLOCK_ACCESS_FS_MAKE_BLOCK = 0x800
LANDLOCK_ACCESS_FS_MAKE_CHAR = 0x40
LANDLOCK_ACCESS_FS_MAKE_DIR = 0x80
@@ -1797,6 +1804,8 @@ const (
LANDLOCK_ACCESS_NET_BIND_TCP = 0x1
LANDLOCK_ACCESS_NET_CONNECT_TCP = 0x2
LANDLOCK_CREATE_RULESET_VERSION = 0x1
+ LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET = 0x1
+ LANDLOCK_SCOPE_SIGNAL = 0x2
LINUX_REBOOT_CMD_CAD_OFF = 0x0
LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef
LINUX_REBOOT_CMD_HALT = 0xcdef0123
@@ -1861,6 +1870,19 @@ const (
MAP_FILE = 0x0
MAP_FIXED = 0x10
MAP_FIXED_NOREPLACE = 0x100000
+ MAP_HUGE_16GB = 0x88000000
+ MAP_HUGE_16KB = 0x38000000
+ MAP_HUGE_16MB = 0x60000000
+ MAP_HUGE_1GB = 0x78000000
+ MAP_HUGE_1MB = 0x50000000
+ MAP_HUGE_256MB = 0x70000000
+ MAP_HUGE_2GB = 0x7c000000
+ MAP_HUGE_2MB = 0x54000000
+ MAP_HUGE_32MB = 0x64000000
+ MAP_HUGE_512KB = 0x4c000000
+ MAP_HUGE_512MB = 0x74000000
+ MAP_HUGE_64KB = 0x40000000
+ MAP_HUGE_8MB = 0x5c000000
MAP_HUGE_MASK = 0x3f
MAP_HUGE_SHIFT = 0x1a
MAP_PRIVATE = 0x2
@@ -1908,6 +1930,8 @@ const (
MNT_EXPIRE = 0x4
MNT_FORCE = 0x1
MNT_ID_REQ_SIZE_VER0 = 0x18
+ MNT_ID_REQ_SIZE_VER1 = 0x20
+ MNT_NS_INFO_SIZE_VER0 = 0x10
MODULE_INIT_COMPRESSED_FILE = 0x4
MODULE_INIT_IGNORE_MODVERSIONS = 0x1
MODULE_INIT_IGNORE_VERMAGIC = 0x2
@@ -2173,7 +2197,7 @@ const (
NFT_REG_SIZE = 0x10
NFT_REJECT_ICMPX_MAX = 0x3
NFT_RT_MAX = 0x4
- NFT_SECMARK_CTX_MAXLEN = 0x100
+ NFT_SECMARK_CTX_MAXLEN = 0x1000
NFT_SET_MAXNAMELEN = 0x100
NFT_SOCKET_MAX = 0x3
NFT_TABLE_F_MASK = 0x7
@@ -2342,9 +2366,11 @@ const (
PERF_MEM_LVLNUM_IO = 0xa
PERF_MEM_LVLNUM_L1 = 0x1
PERF_MEM_LVLNUM_L2 = 0x2
+ PERF_MEM_LVLNUM_L2_MHB = 0x5
PERF_MEM_LVLNUM_L3 = 0x3
PERF_MEM_LVLNUM_L4 = 0x4
PERF_MEM_LVLNUM_LFB = 0xc
+ PERF_MEM_LVLNUM_MSC = 0x6
PERF_MEM_LVLNUM_NA = 0xf
PERF_MEM_LVLNUM_PMEM = 0xe
PERF_MEM_LVLNUM_RAM = 0xd
@@ -2417,6 +2443,7 @@ const (
PRIO_PGRP = 0x1
PRIO_PROCESS = 0x0
PRIO_USER = 0x2
+ PROCFS_IOCTL_MAGIC = 'f'
PROC_SUPER_MAGIC = 0x9fa0
PROT_EXEC = 0x4
PROT_GROWSDOWN = 0x1000000
@@ -2498,6 +2525,23 @@ const (
PR_PAC_GET_ENABLED_KEYS = 0x3d
PR_PAC_RESET_KEYS = 0x36
PR_PAC_SET_ENABLED_KEYS = 0x3c
+ PR_PPC_DEXCR_CTRL_CLEAR = 0x4
+ PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC = 0x10
+ PR_PPC_DEXCR_CTRL_EDITABLE = 0x1
+ PR_PPC_DEXCR_CTRL_MASK = 0x1f
+ PR_PPC_DEXCR_CTRL_SET = 0x2
+ PR_PPC_DEXCR_CTRL_SET_ONEXEC = 0x8
+ PR_PPC_DEXCR_IBRTPD = 0x1
+ PR_PPC_DEXCR_NPHIE = 0x3
+ PR_PPC_DEXCR_SBHE = 0x0
+ PR_PPC_DEXCR_SRAPD = 0x2
+ PR_PPC_GET_DEXCR = 0x48
+ PR_PPC_SET_DEXCR = 0x49
+ PR_RISCV_CTX_SW_FENCEI_OFF = 0x1
+ PR_RISCV_CTX_SW_FENCEI_ON = 0x0
+ PR_RISCV_SCOPE_PER_PROCESS = 0x0
+ PR_RISCV_SCOPE_PER_THREAD = 0x1
+ PR_RISCV_SET_ICACHE_FLUSH_CTX = 0x47
PR_RISCV_V_GET_CONTROL = 0x46
PR_RISCV_V_SET_CONTROL = 0x45
PR_RISCV_V_VSTATE_CTRL_CUR_MASK = 0x3
@@ -2589,6 +2633,28 @@ const (
PR_UNALIGN_NOPRINT = 0x1
PR_UNALIGN_SIGBUS = 0x2
PSTOREFS_MAGIC = 0x6165676c
+ PTP_CLK_MAGIC = '='
+ PTP_ENABLE_FEATURE = 0x1
+ PTP_EXTTS_EDGES = 0x6
+ PTP_EXTTS_EVENT_VALID = 0x1
+ PTP_EXTTS_V1_VALID_FLAGS = 0x7
+ PTP_EXTTS_VALID_FLAGS = 0x1f
+ PTP_EXT_OFFSET = 0x10
+ PTP_FALLING_EDGE = 0x4
+ PTP_MAX_SAMPLES = 0x19
+ PTP_PEROUT_DUTY_CYCLE = 0x2
+ PTP_PEROUT_ONE_SHOT = 0x1
+ PTP_PEROUT_PHASE = 0x4
+ PTP_PEROUT_V1_VALID_FLAGS = 0x0
+ PTP_PEROUT_VALID_FLAGS = 0x7
+ PTP_PIN_GETFUNC = 0xc0603d06
+ PTP_PIN_GETFUNC2 = 0xc0603d0f
+ PTP_RISING_EDGE = 0x2
+ PTP_STRICT_FLAGS = 0x8
+ PTP_SYS_OFFSET_EXTENDED = 0xc4c03d09
+ PTP_SYS_OFFSET_EXTENDED2 = 0xc4c03d12
+ PTP_SYS_OFFSET_PRECISE = 0xc0403d08
+ PTP_SYS_OFFSET_PRECISE2 = 0xc0403d11
PTRACE_ATTACH = 0x10
PTRACE_CONT = 0x7
PTRACE_DETACH = 0x11
@@ -2902,15 +2968,17 @@ const (
RUSAGE_SELF = 0x0
RUSAGE_THREAD = 0x1
RWF_APPEND = 0x10
+ RWF_ATOMIC = 0x40
RWF_DSYNC = 0x2
RWF_HIPRI = 0x1
RWF_NOAPPEND = 0x20
RWF_NOWAIT = 0x8
- RWF_SUPPORTED = 0x3f
+ RWF_SUPPORTED = 0x7f
RWF_SYNC = 0x4
RWF_WRITE_LIFE_NOT_SET = 0x0
SCHED_BATCH = 0x3
SCHED_DEADLINE = 0x6
+ SCHED_EXT = 0x7
SCHED_FIFO = 0x1
SCHED_FLAG_ALL = 0x7f
SCHED_FLAG_DL_OVERRUN = 0x4
@@ -3179,6 +3247,7 @@ const (
STATX_ATTR_MOUNT_ROOT = 0x2000
STATX_ATTR_NODUMP = 0x40
STATX_ATTR_VERITY = 0x100000
+ STATX_ATTR_WRITE_ATOMIC = 0x400000
STATX_BASIC_STATS = 0x7ff
STATX_BLOCKS = 0x400
STATX_BTIME = 0x800
@@ -3192,8 +3261,10 @@ const (
STATX_MTIME = 0x40
STATX_NLINK = 0x4
STATX_SIZE = 0x200
+ STATX_SUBVOL = 0x8000
STATX_TYPE = 0x1
STATX_UID = 0x8
+ STATX_WRITE_ATOMIC = 0x10000
STATX__RESERVED = 0x80000000
SYNC_FILE_RANGE_WAIT_AFTER = 0x4
SYNC_FILE_RANGE_WAIT_BEFORE = 0x1
@@ -3592,6 +3663,7 @@ const (
XDP_UMEM_PGOFF_COMPLETION_RING = 0x180000000
XDP_UMEM_PGOFF_FILL_RING = 0x100000000
XDP_UMEM_REG = 0x4
+ XDP_UMEM_TX_METADATA_LEN = 0x4
XDP_UMEM_TX_SW_CSUM = 0x2
XDP_UMEM_UNALIGNED_CHUNK_FLAG = 0x1
XDP_USE_NEED_WAKEUP = 0x8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
index e4bc0bd57c..c0d45e3205 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_386.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -107,6 +109,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -151,9 +154,14 @@ const (
NFDBITS = 0x20
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -230,6 +238,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x7434
PPPIOCXFERUNIT = 0x744e
PR_SET_PTRACER_ANY = 0xffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_GETFPREGS = 0xe
PTRACE_GETFPXREGS = 0x12
PTRACE_GET_THREAD_AREA = 0x19
@@ -276,6 +298,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -314,6 +338,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
index 689317afdb..c731d24f02 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -107,6 +109,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -151,9 +154,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -230,6 +238,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x7434
PPPIOCXFERUNIT = 0x744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_ARCH_PRCTL = 0x1e
PTRACE_GETFPREGS = 0xe
PTRACE_GETFPXREGS = 0x12
@@ -277,6 +299,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -315,6 +339,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
index 5cca668ac3..680018a4a7 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x20
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x7434
PPPIOCXFERUNIT = 0x744e
PR_SET_PTRACER_ANY = 0xffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_GETCRUNCHREGS = 0x19
PTRACE_GETFDPIC = 0x1f
PTRACE_GETFDPIC_EXEC = 0x0
@@ -282,6 +304,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -320,6 +344,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
index 14270508b0..a63909f308 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
ESR_MAGIC = 0x45535201
EXTPROC = 0x10000
@@ -110,6 +112,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -152,9 +155,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -198,6 +206,7 @@ const (
PERF_EVENT_IOC_SET_BPF = 0x40042408
PERF_EVENT_IOC_SET_FILTER = 0x40082406
PERF_EVENT_IOC_SET_OUTPUT = 0x2405
+ POE_MAGIC = 0x504f4530
PPPIOCATTACH = 0x4004743d
PPPIOCATTCHAN = 0x40047438
PPPIOCBRIDGECHAN = 0x40047435
@@ -233,6 +242,20 @@ const (
PROT_BTI = 0x10
PROT_MTE = 0x20
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_PEEKMTETAGS = 0x21
PTRACE_POKEMTETAGS = 0x22
PTRACE_SYSEMU = 0x1f
@@ -273,6 +296,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -311,6 +336,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
index 28e39afdcb..9b0a2573fe 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -107,6 +109,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -152,9 +155,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -231,6 +239,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x7434
PPPIOCXFERUNIT = 0x744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_SYSEMU = 0x1f
PTRACE_SYSEMU_SINGLESTEP = 0x20
RLIMIT_AS = 0x9
@@ -269,6 +291,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -307,6 +331,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
index cd66e92cb4..958e6e0645 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x80
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x100
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x20
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x20007434
PPPIOCXFERUNIT = 0x2000744e
PR_SET_PTRACER_ANY = 0xffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETFPREGS = 0xe
PTRACE_GET_THREAD_AREA = 0x19
PTRACE_GET_THREAD_AREA_3264 = 0xc4
@@ -275,6 +297,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -313,6 +337,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x1029
SO_DONTROUTE = 0x10
SO_ERROR = 0x1007
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
index c1595eba78..50c7f25bd1 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x80
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x100
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x20007434
PPPIOCXFERUNIT = 0x2000744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETFPREGS = 0xe
PTRACE_GET_THREAD_AREA = 0x19
PTRACE_GET_THREAD_AREA_3264 = 0xc4
@@ -275,6 +297,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -313,6 +337,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x1029
SO_DONTROUTE = 0x10
SO_ERROR = 0x1007
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
index ee9456b0da..ced21d66d9 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x80
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x100
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x20007434
PPPIOCXFERUNIT = 0x2000744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETFPREGS = 0xe
PTRACE_GET_THREAD_AREA = 0x19
PTRACE_GET_THREAD_AREA_3264 = 0xc4
@@ -275,6 +297,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -313,6 +337,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x1029
SO_DONTROUTE = 0x10
SO_ERROR = 0x1007
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
index 8cfca81e1b..226c044190 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x80
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x100
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x20
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x20007434
PPPIOCXFERUNIT = 0x2000744e
PR_SET_PTRACER_ANY = 0xffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETFPREGS = 0xe
PTRACE_GET_THREAD_AREA = 0x19
PTRACE_GET_THREAD_AREA_3264 = 0xc4
@@ -275,6 +297,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -313,6 +337,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x1029
SO_DONTROUTE = 0x10
SO_ERROR = 0x1007
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
index 60b0deb3af..3122737cd4 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x20
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000000
FF1 = 0x4000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x4000
ICANON = 0x100
IEXTEN = 0x400
@@ -150,9 +153,14 @@ const (
NL3 = 0x300
NLDLY = 0x300
NOFLSH = 0x80000000
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x4
ONLCR = 0x2
@@ -230,6 +238,20 @@ const (
PPPIOCXFERUNIT = 0x2000744e
PROT_SAO = 0x10
PR_SET_PTRACER_ANY = 0xffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETEVRREGS = 0x14
PTRACE_GETFPREGS = 0xe
PTRACE_GETREGS64 = 0x16
@@ -330,6 +352,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -368,6 +392,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
index f90aa7281b..eb5d3467ed 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x20
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000000
FF1 = 0x4000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x4000
ICANON = 0x100
IEXTEN = 0x400
@@ -150,9 +153,14 @@ const (
NL3 = 0x300
NLDLY = 0x300
NOFLSH = 0x80000000
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x4
ONLCR = 0x2
@@ -230,6 +238,20 @@ const (
PPPIOCXFERUNIT = 0x2000744e
PROT_SAO = 0x10
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETEVRREGS = 0x14
PTRACE_GETFPREGS = 0xe
PTRACE_GETREGS64 = 0x16
@@ -334,6 +356,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -372,6 +396,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
index ba9e015033..e921ebc60b 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x20
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000000
FF1 = 0x4000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x4000
ICANON = 0x100
IEXTEN = 0x400
@@ -150,9 +153,14 @@ const (
NL3 = 0x300
NLDLY = 0x300
NOFLSH = 0x80000000
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x4
ONLCR = 0x2
@@ -230,6 +238,20 @@ const (
PPPIOCXFERUNIT = 0x2000744e
PROT_SAO = 0x10
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETEVRREGS = 0x14
PTRACE_GETFPREGS = 0xe
PTRACE_GETREGS64 = 0x16
@@ -334,6 +356,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -372,6 +396,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
index 07cdfd6e9f..38ba81c55c 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x7434
PPPIOCXFERUNIT = 0x744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_GETFDPIC = 0x21
PTRACE_GETFDPIC_EXEC = 0x0
PTRACE_GETFDPIC_INTERP = 0x1
@@ -266,6 +288,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -304,6 +328,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
index 2f1dd214a7..71f0400977 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
@@ -78,6 +78,8 @@ const (
ECHOPRT = 0x400
EFD_CLOEXEC = 0x80000
EFD_NONBLOCK = 0x800
+ EPIOCGPARAMS = 0x80088a02
+ EPIOCSPARAMS = 0x40088a01
EPOLL_CLOEXEC = 0x80000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -106,6 +108,7 @@ const (
HIDIOCGRAWINFO = 0x80084803
HIDIOCGRDESC = 0x90044802
HIDIOCGRDESCSIZE = 0x80044801
+ HIDIOCREVOKE = 0x4004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -148,9 +151,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x8008b705
NS_GET_NSTYPE = 0xb703
NS_GET_OWNER_UID = 0xb704
NS_GET_PARENT = 0xb702
+ NS_GET_PID_FROM_PIDNS = 0x8004b706
+ NS_GET_PID_IN_PIDNS = 0x8004b708
+ NS_GET_TGID_FROM_PIDNS = 0x8004b707
+ NS_GET_TGID_IN_PIDNS = 0x8004b709
NS_GET_USERNS = 0xb701
OLCUC = 0x2
ONLCR = 0x4
@@ -227,6 +235,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x7434
PPPIOCXFERUNIT = 0x744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x80503d01
+ PTP_CLOCK_GETCAPS2 = 0x80503d0a
+ PTP_ENABLE_PPS = 0x40043d04
+ PTP_ENABLE_PPS2 = 0x40043d0d
+ PTP_EXTTS_REQUEST = 0x40103d02
+ PTP_EXTTS_REQUEST2 = 0x40103d0b
+ PTP_MASK_CLEAR_ALL = 0x3d13
+ PTP_MASK_EN_SINGLE = 0x40043d14
+ PTP_PEROUT_REQUEST = 0x40383d03
+ PTP_PEROUT_REQUEST2 = 0x40383d0c
+ PTP_PIN_SETFUNC = 0x40603d07
+ PTP_PIN_SETFUNC2 = 0x40603d10
+ PTP_SYS_OFFSET = 0x43403d05
+ PTP_SYS_OFFSET2 = 0x43403d0e
PTRACE_DISABLE_TE = 0x5010
PTRACE_ENABLE_TE = 0x5009
PTRACE_GET_LAST_BREAK = 0x5006
@@ -338,6 +360,8 @@ const (
RTC_WIE_ON = 0x700f
RTC_WKALM_RD = 0x80287010
RTC_WKALM_SET = 0x4028700f
+ SCM_DEVMEM_DMABUF = 0x4f
+ SCM_DEVMEM_LINEAR = 0x4e
SCM_TIMESTAMPING = 0x25
SCM_TIMESTAMPING_OPT_STATS = 0x36
SCM_TIMESTAMPING_PKTINFO = 0x3a
@@ -376,6 +400,9 @@ const (
SO_CNX_ADVICE = 0x35
SO_COOKIE = 0x39
SO_DETACH_REUSEPORT_BPF = 0x44
+ SO_DEVMEM_DMABUF = 0x4f
+ SO_DEVMEM_DONTNEED = 0x50
+ SO_DEVMEM_LINEAR = 0x4e
SO_DOMAIN = 0x27
SO_DONTROUTE = 0x5
SO_ERROR = 0x4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
index f40519d901..c44a313322 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
@@ -82,6 +82,8 @@ const (
EFD_CLOEXEC = 0x400000
EFD_NONBLOCK = 0x4000
EMT_TAGOVF = 0x1
+ EPIOCGPARAMS = 0x40088a02
+ EPIOCSPARAMS = 0x80088a01
EPOLL_CLOEXEC = 0x400000
EXTPROC = 0x10000
FF1 = 0x8000
@@ -110,6 +112,7 @@ const (
HIDIOCGRAWINFO = 0x40084803
HIDIOCGRDESC = 0x50044802
HIDIOCGRDESCSIZE = 0x40044801
+ HIDIOCREVOKE = 0x8004480d
HUPCL = 0x400
ICANON = 0x2
IEXTEN = 0x8000
@@ -153,9 +156,14 @@ const (
NFDBITS = 0x40
NLDLY = 0x100
NOFLSH = 0x80
+ NS_GET_MNTNS_ID = 0x4008b705
NS_GET_NSTYPE = 0x2000b703
NS_GET_OWNER_UID = 0x2000b704
NS_GET_PARENT = 0x2000b702
+ NS_GET_PID_FROM_PIDNS = 0x4004b706
+ NS_GET_PID_IN_PIDNS = 0x4004b708
+ NS_GET_TGID_FROM_PIDNS = 0x4004b707
+ NS_GET_TGID_IN_PIDNS = 0x4004b709
NS_GET_USERNS = 0x2000b701
OLCUC = 0x2
ONLCR = 0x4
@@ -232,6 +240,20 @@ const (
PPPIOCUNBRIDGECHAN = 0x20007434
PPPIOCXFERUNIT = 0x2000744e
PR_SET_PTRACER_ANY = 0xffffffffffffffff
+ PTP_CLOCK_GETCAPS = 0x40503d01
+ PTP_CLOCK_GETCAPS2 = 0x40503d0a
+ PTP_ENABLE_PPS = 0x80043d04
+ PTP_ENABLE_PPS2 = 0x80043d0d
+ PTP_EXTTS_REQUEST = 0x80103d02
+ PTP_EXTTS_REQUEST2 = 0x80103d0b
+ PTP_MASK_CLEAR_ALL = 0x20003d13
+ PTP_MASK_EN_SINGLE = 0x80043d14
+ PTP_PEROUT_REQUEST = 0x80383d03
+ PTP_PEROUT_REQUEST2 = 0x80383d0c
+ PTP_PIN_SETFUNC = 0x80603d07
+ PTP_PIN_SETFUNC2 = 0x80603d10
+ PTP_SYS_OFFSET = 0x83403d05
+ PTP_SYS_OFFSET2 = 0x83403d0e
PTRACE_GETFPAREGS = 0x14
PTRACE_GETFPREGS = 0xe
PTRACE_GETFPREGS64 = 0x19
@@ -329,6 +351,8 @@ const (
RTC_WIE_ON = 0x2000700f
RTC_WKALM_RD = 0x40287010
RTC_WKALM_SET = 0x8028700f
+ SCM_DEVMEM_DMABUF = 0x58
+ SCM_DEVMEM_LINEAR = 0x57
SCM_TIMESTAMPING = 0x23
SCM_TIMESTAMPING_OPT_STATS = 0x38
SCM_TIMESTAMPING_PKTINFO = 0x3c
@@ -415,6 +439,9 @@ const (
SO_CNX_ADVICE = 0x37
SO_COOKIE = 0x3b
SO_DETACH_REUSEPORT_BPF = 0x47
+ SO_DEVMEM_DMABUF = 0x58
+ SO_DEVMEM_DONTNEED = 0x59
+ SO_DEVMEM_LINEAR = 0x57
SO_DOMAIN = 0x1029
SO_DONTROUTE = 0x10
SO_ERROR = 0x1007
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go
index da08b2ab3d..1ec2b1407b 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zerrors_zos_s390x.go
@@ -581,6 +581,8 @@ const (
AT_EMPTY_PATH = 0x1000
AT_REMOVEDIR = 0x200
RENAME_NOREPLACE = 1 << 0
+ ST_RDONLY = 1
+ ST_NOSUID = 2
)
const (
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
index ccb02f240a..24b346e1a3 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
@@ -740,6 +740,54 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func renamexNp(from string, to string, flag uint32) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(from)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(to)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall(libc_renamex_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flag))
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_renamex_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_renamex_np renamex_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func renameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(from)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(to)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_renameatx_np_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), uintptr(flag), 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_renameatx_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_renameatx_np renameatx_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
var _p0 unsafe.Pointer
if len(mib) > 0 {
@@ -760,6 +808,59 @@ var libc_sysctl_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func pthread_chdir_np(path string) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(path)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall(libc_pthread_chdir_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_pthread_chdir_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_pthread_chdir_np pthread_chdir_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func pthread_fchdir_np(fd int) (err error) {
+ _, _, e1 := syscall_syscall(libc_pthread_fchdir_np_trampoline_addr, uintptr(fd), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_pthread_fchdir_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_pthread_fchdir_np pthread_fchdir_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error) {
+ var _p0 unsafe.Pointer
+ if len(iov) > 0 {
+ _p0 = unsafe.Pointer(&iov[0])
+ } else {
+ _p0 = unsafe.Pointer(&_zero)
+ }
+ _, _, e1 := syscall_syscall9(libc_connectx_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(endpoints)), uintptr(associd), uintptr(flags), uintptr(_p0), uintptr(len(iov)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(connid)), 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_connectx_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_connectx connectx "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
_, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
index 8b8bb28402..ebd213100b 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s
@@ -223,11 +223,36 @@ TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
+TEXT libc_renamex_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_renamex_np(SB)
+GLOBL ·libc_renamex_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_renamex_np_trampoline_addr(SB)/8, $libc_renamex_np_trampoline<>(SB)
+
+TEXT libc_renameatx_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_renameatx_np(SB)
+GLOBL ·libc_renameatx_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_renameatx_np_trampoline_addr(SB)/8, $libc_renameatx_np_trampoline<>(SB)
+
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sysctl(SB)
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
+TEXT libc_pthread_chdir_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_pthread_chdir_np(SB)
+GLOBL ·libc_pthread_chdir_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_pthread_chdir_np_trampoline_addr(SB)/8, $libc_pthread_chdir_np_trampoline<>(SB)
+
+TEXT libc_pthread_fchdir_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_pthread_fchdir_np(SB)
+GLOBL ·libc_pthread_fchdir_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_pthread_fchdir_np_trampoline_addr(SB)/8, $libc_pthread_fchdir_np_trampoline<>(SB)
+
+TEXT libc_connectx_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_connectx(SB)
+GLOBL ·libc_connectx_trampoline_addr(SB), RODATA, $8
+DATA ·libc_connectx_trampoline_addr(SB)/8, $libc_connectx_trampoline<>(SB)
+
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendfile(SB)
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
index 1b40b997b5..824b9c2d5e 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
@@ -740,6 +740,54 @@ func ioctlPtr(fd int, req uint, arg unsafe.Pointer) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func renamexNp(from string, to string, flag uint32) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(from)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(to)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall(libc_renamex_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flag))
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_renamex_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_renamex_np renamex_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func renameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(from)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(to)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_renameatx_np_trampoline_addr, uintptr(fromfd), uintptr(unsafe.Pointer(_p0)), uintptr(tofd), uintptr(unsafe.Pointer(_p1)), uintptr(flag), 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_renameatx_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_renameatx_np renameatx_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) {
var _p0 unsafe.Pointer
if len(mib) > 0 {
@@ -760,6 +808,59 @@ var libc_sysctl_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func pthread_chdir_np(path string) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(path)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall(libc_pthread_chdir_np_trampoline_addr, uintptr(unsafe.Pointer(_p0)), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_pthread_chdir_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_pthread_chdir_np pthread_chdir_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func pthread_fchdir_np(fd int) (err error) {
+ _, _, e1 := syscall_syscall(libc_pthread_fchdir_np_trampoline_addr, uintptr(fd), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_pthread_fchdir_np_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_pthread_fchdir_np pthread_fchdir_np "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error) {
+ var _p0 unsafe.Pointer
+ if len(iov) > 0 {
+ _p0 = unsafe.Pointer(&iov[0])
+ } else {
+ _p0 = unsafe.Pointer(&_zero)
+ }
+ _, _, e1 := syscall_syscall9(libc_connectx_trampoline_addr, uintptr(fd), uintptr(unsafe.Pointer(endpoints)), uintptr(associd), uintptr(flags), uintptr(_p0), uintptr(len(iov)), uintptr(unsafe.Pointer(n)), uintptr(unsafe.Pointer(connid)), 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_connectx_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_connectx connectx "/usr/lib/libSystem.B.dylib"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) {
_, _, e1 := syscall_syscall6(libc_sendfile_trampoline_addr, uintptr(infd), uintptr(outfd), uintptr(offset), uintptr(unsafe.Pointer(len)), uintptr(hdtr), uintptr(flags))
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
index 08362c1ab7..4f178a2293 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s
@@ -223,11 +223,36 @@ TEXT libc_ioctl_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_ioctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_ioctl_trampoline_addr(SB)/8, $libc_ioctl_trampoline<>(SB)
+TEXT libc_renamex_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_renamex_np(SB)
+GLOBL ·libc_renamex_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_renamex_np_trampoline_addr(SB)/8, $libc_renamex_np_trampoline<>(SB)
+
+TEXT libc_renameatx_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_renameatx_np(SB)
+GLOBL ·libc_renameatx_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_renameatx_np_trampoline_addr(SB)/8, $libc_renameatx_np_trampoline<>(SB)
+
TEXT libc_sysctl_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sysctl(SB)
GLOBL ·libc_sysctl_trampoline_addr(SB), RODATA, $8
DATA ·libc_sysctl_trampoline_addr(SB)/8, $libc_sysctl_trampoline<>(SB)
+TEXT libc_pthread_chdir_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_pthread_chdir_np(SB)
+GLOBL ·libc_pthread_chdir_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_pthread_chdir_np_trampoline_addr(SB)/8, $libc_pthread_chdir_np_trampoline<>(SB)
+
+TEXT libc_pthread_fchdir_np_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_pthread_fchdir_np(SB)
+GLOBL ·libc_pthread_fchdir_np_trampoline_addr(SB), RODATA, $8
+DATA ·libc_pthread_fchdir_np_trampoline_addr(SB)/8, $libc_pthread_fchdir_np_trampoline<>(SB)
+
+TEXT libc_connectx_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_connectx(SB)
+GLOBL ·libc_connectx_trampoline_addr(SB), RODATA, $8
+DATA ·libc_connectx_trampoline_addr(SB)/8, $libc_connectx_trampoline<>(SB)
+
TEXT libc_sendfile_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_sendfile(SB)
GLOBL ·libc_sendfile_trampoline_addr(SB), RODATA, $8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_linux.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_linux.go
index 87d8612a1d..5cc1e8eb2f 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_linux.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_linux.go
@@ -592,6 +592,16 @@ func ClockGettime(clockid int32, time *Timespec) (err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func ClockSettime(clockid int32, time *Timespec) (err error) {
+ _, _, e1 := Syscall(SYS_CLOCK_SETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func ClockNanosleep(clockid int32, flags int, request *Timespec, remain *Timespec) (err error) {
_, _, e1 := Syscall6(SYS_CLOCK_NANOSLEEP, uintptr(clockid), uintptr(flags), uintptr(unsafe.Pointer(request)), uintptr(unsafe.Pointer(remain)), 0, 0)
if e1 != 0 {
@@ -971,23 +981,6 @@ func Getpriority(which int, who int) (prio int, err error) {
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-func Getrandom(buf []byte, flags int) (n int, err error) {
- var _p0 unsafe.Pointer
- if len(buf) > 0 {
- _p0 = unsafe.Pointer(&buf[0])
- } else {
- _p0 = unsafe.Pointer(&_zero)
- }
- r0, _, e1 := Syscall(SYS_GETRANDOM, uintptr(_p0), uintptr(len(buf)), uintptr(flags))
- n = int(r0)
- if e1 != 0 {
- err = errnoErr(e1)
- }
- return
-}
-
-// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
-
func Getrusage(who int, rusage *Rusage) (err error) {
_, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0)
if e1 != 0 {
@@ -2229,3 +2222,19 @@ func Cachestat(fd uint, crange *CachestatRange, cstat *Cachestat_t, flags uint)
}
return
}
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
+func Mseal(b []byte, flags uint) (err error) {
+ var _p0 unsafe.Pointer
+ if len(b) > 0 {
+ _p0 = unsafe.Pointer(&b[0])
+ } else {
+ _p0 = unsafe.Pointer(&_zero)
+ }
+ _, _, e1 := Syscall(SYS_MSEAL, uintptr(_p0), uintptr(len(b)), uintptr(flags))
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
index 9dc42410b7..1851df14e8 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
index 41b5617316..0b43c69365 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s
@@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4
DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_mount(SB)
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $4
+DATA ·libc_mount_trampoline_addr(SB)/4, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_nanosleep(SB)
GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
index 0d3a0751cd..e1ec0dbe4e 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
index 4019a656f6..880c6d6e31 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s
@@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_mount(SB)
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_nanosleep(SB)
GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
index c39f7776db..7c8452a63e 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
index ac4af24f90..b8ef95b0fa 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s
@@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $4
DATA ·libc_mknodat_trampoline_addr(SB)/4, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_mount(SB)
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $4
+DATA ·libc_mount_trampoline_addr(SB)/4, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_nanosleep(SB)
GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $4
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
index 57571d072f..2ffdf861f7 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
index f77d532121..2af3b5c762 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s
@@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_mount(SB)
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_nanosleep(SB)
GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
index e62963e67e..1da08d5267 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s
index fae140b62c..b7a251353b 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s
@@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_mount(SB)
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_nanosleep(SB)
GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
index 00831354c8..6e85b0aac9 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s
index 9d1e0ff06d..f15dadf055 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s
@@ -555,6 +555,12 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ CALL libc_mount(SB)
+ RET
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
CALL libc_nanosleep(SB)
RET
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
index 79029ed584..28b487df25 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go
@@ -1493,6 +1493,30 @@ var libc_mknodat_trampoline_addr uintptr
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+func Mount(fsType string, dir string, flags int, data unsafe.Pointer) (err error) {
+ var _p0 *byte
+ _p0, err = BytePtrFromString(fsType)
+ if err != nil {
+ return
+ }
+ var _p1 *byte
+ _p1, err = BytePtrFromString(dir)
+ if err != nil {
+ return
+ }
+ _, _, e1 := syscall_syscall6(libc_mount_trampoline_addr, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(flags), uintptr(data), 0, 0)
+ if e1 != 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
+var libc_mount_trampoline_addr uintptr
+
+//go:cgo_import_dynamic libc_mount mount "libc.so"
+
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
+
func Nanosleep(time *Timespec, leftover *Timespec) (err error) {
_, _, e1 := syscall_syscall(libc_nanosleep_trampoline_addr, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0)
if e1 != 0 {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s
index da115f9a4b..1e7f321e43 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s
@@ -463,6 +463,11 @@ TEXT libc_mknodat_trampoline<>(SB),NOSPLIT,$0-0
GLOBL ·libc_mknodat_trampoline_addr(SB), RODATA, $8
DATA ·libc_mknodat_trampoline_addr(SB)/8, $libc_mknodat_trampoline<>(SB)
+TEXT libc_mount_trampoline<>(SB),NOSPLIT,$0-0
+ JMP libc_mount(SB)
+GLOBL ·libc_mount_trampoline_addr(SB), RODATA, $8
+DATA ·libc_mount_trampoline_addr(SB)/8, $libc_mount_trampoline<>(SB)
+
TEXT libc_nanosleep_trampoline<>(SB),NOSPLIT,$0-0
JMP libc_nanosleep(SB)
GLOBL ·libc_nanosleep_trampoline_addr(SB), RODATA, $8
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
index 53aef5dc58..524b0820cb 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
@@ -457,4 +457,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
index 71d524763d..f485dbf456 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
@@ -341,6 +341,7 @@ const (
SYS_STATX = 332
SYS_IO_PGETEVENTS = 333
SYS_RSEQ = 334
+ SYS_URETPROBE = 335
SYS_PIDFD_SEND_SIGNAL = 424
SYS_IO_URING_SETUP = 425
SYS_IO_URING_ENTER = 426
@@ -379,4 +380,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
index c747706131..70b35bf3b0 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
@@ -421,4 +421,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
index f96e214f6d..1893e2fe88 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
@@ -85,7 +85,7 @@ const (
SYS_SPLICE = 76
SYS_TEE = 77
SYS_READLINKAT = 78
- SYS_FSTATAT = 79
+ SYS_NEWFSTATAT = 79
SYS_FSTAT = 80
SYS_SYNC = 81
SYS_FSYNC = 82
@@ -324,4 +324,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
index 28425346cf..16a4017da0 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go
@@ -84,6 +84,8 @@ const (
SYS_SPLICE = 76
SYS_TEE = 77
SYS_READLINKAT = 78
+ SYS_NEWFSTATAT = 79
+ SYS_FSTAT = 80
SYS_SYNC = 81
SYS_FSYNC = 82
SYS_FDATASYNC = 83
@@ -318,4 +320,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
index d0953018da..7e567f1eff 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
@@ -441,4 +441,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 4459
SYS_LSM_SET_SELF_ATTR = 4460
SYS_LSM_LIST_MODULES = 4461
+ SYS_MSEAL = 4462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
index 295c7f4b81..38ae55e5ef 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
@@ -371,4 +371,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 5459
SYS_LSM_SET_SELF_ATTR = 5460
SYS_LSM_LIST_MODULES = 5461
+ SYS_MSEAL = 5462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
index d1a9eaca7a..55e92e60a8 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
@@ -371,4 +371,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 5459
SYS_LSM_SET_SELF_ATTR = 5460
SYS_LSM_LIST_MODULES = 5461
+ SYS_MSEAL = 5462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
index bec157c39f..60658d6a02 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
@@ -441,4 +441,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 4459
SYS_LSM_SET_SELF_ATTR = 4460
SYS_LSM_LIST_MODULES = 4461
+ SYS_MSEAL = 4462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
index 7ee7bdc435..e203e8a7ed 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go
@@ -448,4 +448,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
index fad1f25b44..5944b97d54 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
@@ -420,4 +420,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
index 7d3e16357d..c66d416dad 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
@@ -420,4 +420,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
index 0ed53ad9f7..a5459e766f 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
@@ -84,7 +84,7 @@ const (
SYS_SPLICE = 76
SYS_TEE = 77
SYS_READLINKAT = 78
- SYS_FSTATAT = 79
+ SYS_NEWFSTATAT = 79
SYS_FSTAT = 80
SYS_SYNC = 81
SYS_FSYNC = 82
@@ -325,4 +325,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
index 2fba04ad50..01d86825bb 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
@@ -386,4 +386,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
index 621d00d741..7b703e77cd 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
@@ -399,4 +399,5 @@ const (
SYS_LSM_GET_SELF_ATTR = 459
SYS_LSM_SET_SELF_ATTR = 460
SYS_LSM_LIST_MODULES = 461
+ SYS_MSEAL = 462
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
index 091d107f3a..17c53bd9b3 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
@@ -306,6 +306,19 @@ type XVSockPgen struct {
type _Socklen uint32
+type SaeAssocID uint32
+
+type SaeConnID uint32
+
+type SaEndpoints struct {
+ Srcif uint32
+ Srcaddr *RawSockaddr
+ Srcaddrlen uint32
+ Dstaddr *RawSockaddr
+ Dstaddrlen uint32
+ _ [4]byte
+}
+
type Xucred struct {
Version uint32
Uid uint32
@@ -449,11 +462,14 @@ type FdSet struct {
const (
SizeofIfMsghdr = 0x70
+ SizeofIfMsghdr2 = 0xa0
SizeofIfData = 0x60
+ SizeofIfData64 = 0x80
SizeofIfaMsghdr = 0x14
SizeofIfmaMsghdr = 0x10
SizeofIfmaMsghdr2 = 0x14
SizeofRtMsghdr = 0x5c
+ SizeofRtMsghdr2 = 0x5c
SizeofRtMetrics = 0x38
)
@@ -467,6 +483,20 @@ type IfMsghdr struct {
Data IfData
}
+type IfMsghdr2 struct {
+ Msglen uint16
+ Version uint8
+ Type uint8
+ Addrs int32
+ Flags int32
+ Index uint16
+ Snd_len int32
+ Snd_maxlen int32
+ Snd_drops int32
+ Timer int32
+ Data IfData64
+}
+
type IfData struct {
Type uint8
Typelen uint8
@@ -499,6 +529,34 @@ type IfData struct {
Reserved2 uint32
}
+type IfData64 struct {
+ Type uint8
+ Typelen uint8
+ Physical uint8
+ Addrlen uint8
+ Hdrlen uint8
+ Recvquota uint8
+ Xmitquota uint8
+ Unused1 uint8
+ Mtu uint32
+ Metric uint32
+ Baudrate uint64
+ Ipackets uint64
+ Ierrors uint64
+ Opackets uint64
+ Oerrors uint64
+ Collisions uint64
+ Ibytes uint64
+ Obytes uint64
+ Imcasts uint64
+ Omcasts uint64
+ Iqdrops uint64
+ Noproto uint64
+ Recvtiming uint32
+ Xmittiming uint32
+ Lastchange Timeval32
+}
+
type IfaMsghdr struct {
Msglen uint16
Version uint8
@@ -544,6 +602,21 @@ type RtMsghdr struct {
Rmx RtMetrics
}
+type RtMsghdr2 struct {
+ Msglen uint16
+ Version uint8
+ Type uint8
+ Index uint16
+ Flags int32
+ Addrs int32
+ Refcnt int32
+ Parentflags int32
+ Reserved int32
+ Use int32
+ Inits uint32
+ Rmx RtMetrics
+}
+
type RtMetrics struct {
Locks uint32
Mtu uint32
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
index 28ff4ef74d..2392226a74 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
@@ -306,6 +306,19 @@ type XVSockPgen struct {
type _Socklen uint32
+type SaeAssocID uint32
+
+type SaeConnID uint32
+
+type SaEndpoints struct {
+ Srcif uint32
+ Srcaddr *RawSockaddr
+ Srcaddrlen uint32
+ Dstaddr *RawSockaddr
+ Dstaddrlen uint32
+ _ [4]byte
+}
+
type Xucred struct {
Version uint32
Uid uint32
@@ -449,11 +462,14 @@ type FdSet struct {
const (
SizeofIfMsghdr = 0x70
+ SizeofIfMsghdr2 = 0xa0
SizeofIfData = 0x60
+ SizeofIfData64 = 0x80
SizeofIfaMsghdr = 0x14
SizeofIfmaMsghdr = 0x10
SizeofIfmaMsghdr2 = 0x14
SizeofRtMsghdr = 0x5c
+ SizeofRtMsghdr2 = 0x5c
SizeofRtMetrics = 0x38
)
@@ -467,6 +483,20 @@ type IfMsghdr struct {
Data IfData
}
+type IfMsghdr2 struct {
+ Msglen uint16
+ Version uint8
+ Type uint8
+ Addrs int32
+ Flags int32
+ Index uint16
+ Snd_len int32
+ Snd_maxlen int32
+ Snd_drops int32
+ Timer int32
+ Data IfData64
+}
+
type IfData struct {
Type uint8
Typelen uint8
@@ -499,6 +529,34 @@ type IfData struct {
Reserved2 uint32
}
+type IfData64 struct {
+ Type uint8
+ Typelen uint8
+ Physical uint8
+ Addrlen uint8
+ Hdrlen uint8
+ Recvquota uint8
+ Xmitquota uint8
+ Unused1 uint8
+ Mtu uint32
+ Metric uint32
+ Baudrate uint64
+ Ipackets uint64
+ Ierrors uint64
+ Opackets uint64
+ Oerrors uint64
+ Collisions uint64
+ Ibytes uint64
+ Obytes uint64
+ Imcasts uint64
+ Omcasts uint64
+ Iqdrops uint64
+ Noproto uint64
+ Recvtiming uint32
+ Xmittiming uint32
+ Lastchange Timeval32
+}
+
type IfaMsghdr struct {
Msglen uint16
Version uint8
@@ -544,6 +602,21 @@ type RtMsghdr struct {
Rmx RtMetrics
}
+type RtMsghdr2 struct {
+ Msglen uint16
+ Version uint8
+ Type uint8
+ Index uint16
+ Flags int32
+ Addrs int32
+ Refcnt int32
+ Parentflags int32
+ Reserved int32
+ Use int32
+ Inits uint32
+ Rmx RtMetrics
+}
+
type RtMetrics struct {
Locks uint32
Mtu uint32
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
index 6cbd094a3a..51e13eb055 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
@@ -625,6 +625,7 @@ const (
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
+ POLLRDHUP = 0x4000
)
type CapRights struct {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
index 7c03b6ee77..d002d8ef3c 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
@@ -630,6 +630,7 @@ const (
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
+ POLLRDHUP = 0x4000
)
type CapRights struct {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
index 422107ee8b..3f863d898d 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
@@ -616,6 +616,7 @@ const (
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
+ POLLRDHUP = 0x4000
)
type CapRights struct {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
index 505a12acfd..61c7293106 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go
@@ -610,6 +610,7 @@ const (
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
+ POLLRDHUP = 0x4000
)
type CapRights struct {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
index cc986c7900..b5d17414f0 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_freebsd_riscv64.go
@@ -612,6 +612,7 @@ const (
POLLRDNORM = 0x40
POLLWRBAND = 0x100
POLLWRNORM = 0x4
+ POLLRDHUP = 0x4000
)
type CapRights struct {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux.go
index 4740b83485..5537148dcb 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux.go
@@ -87,30 +87,35 @@ type StatxTimestamp struct {
}
type Statx_t struct {
- Mask uint32
- Blksize uint32
- Attributes uint64
- Nlink uint32
- Uid uint32
- Gid uint32
- Mode uint16
- _ [1]uint16
- Ino uint64
- Size uint64
- Blocks uint64
- Attributes_mask uint64
- Atime StatxTimestamp
- Btime StatxTimestamp
- Ctime StatxTimestamp
- Mtime StatxTimestamp
- Rdev_major uint32
- Rdev_minor uint32
- Dev_major uint32
- Dev_minor uint32
- Mnt_id uint64
- Dio_mem_align uint32
- Dio_offset_align uint32
- _ [12]uint64
+ Mask uint32
+ Blksize uint32
+ Attributes uint64
+ Nlink uint32
+ Uid uint32
+ Gid uint32
+ Mode uint16
+ _ [1]uint16
+ Ino uint64
+ Size uint64
+ Blocks uint64
+ Attributes_mask uint64
+ Atime StatxTimestamp
+ Btime StatxTimestamp
+ Ctime StatxTimestamp
+ Mtime StatxTimestamp
+ Rdev_major uint32
+ Rdev_minor uint32
+ Dev_major uint32
+ Dev_minor uint32
+ Mnt_id uint64
+ Dio_mem_align uint32
+ Dio_offset_align uint32
+ Subvol uint64
+ Atomic_write_unit_min uint32
+ Atomic_write_unit_max uint32
+ Atomic_write_segments_max uint32
+ _ [1]uint32
+ _ [9]uint64
}
type Fsid struct {
@@ -515,6 +520,29 @@ type TCPInfo struct {
Total_rto_time uint32
}
+type TCPVegasInfo struct {
+ Enabled uint32
+ Rttcnt uint32
+ Rtt uint32
+ Minrtt uint32
+}
+
+type TCPDCTCPInfo struct {
+ Enabled uint16
+ Ce_state uint16
+ Alpha uint32
+ Ab_ecn uint32
+ Ab_tot uint32
+}
+
+type TCPBBRInfo struct {
+ Bw_lo uint32
+ Bw_hi uint32
+ Min_rtt uint32
+ Pacing_gain uint32
+ Cwnd_gain uint32
+}
+
type CanFilter struct {
Id uint32
Mask uint32
@@ -556,6 +584,7 @@ const (
SizeofICMPv6Filter = 0x20
SizeofUcred = 0xc
SizeofTCPInfo = 0xf8
+ SizeofTCPCCInfo = 0x14
SizeofCanFilter = 0x8
SizeofTCPRepairOpt = 0x8
)
@@ -1723,12 +1752,6 @@ const (
IFLA_IPVLAN_UNSPEC = 0x0
IFLA_IPVLAN_MODE = 0x1
IFLA_IPVLAN_FLAGS = 0x2
- NETKIT_NEXT = -0x1
- NETKIT_PASS = 0x0
- NETKIT_DROP = 0x2
- NETKIT_REDIRECT = 0x7
- NETKIT_L2 = 0x0
- NETKIT_L3 = 0x1
IFLA_NETKIT_UNSPEC = 0x0
IFLA_NETKIT_PEER_INFO = 0x1
IFLA_NETKIT_PRIMARY = 0x2
@@ -1767,6 +1790,7 @@ const (
IFLA_VXLAN_DF = 0x1d
IFLA_VXLAN_VNIFILTER = 0x1e
IFLA_VXLAN_LOCALBYPASS = 0x1f
+ IFLA_VXLAN_LABEL_POLICY = 0x20
IFLA_GENEVE_UNSPEC = 0x0
IFLA_GENEVE_ID = 0x1
IFLA_GENEVE_REMOTE = 0x2
@@ -1796,6 +1820,8 @@ const (
IFLA_GTP_ROLE = 0x4
IFLA_GTP_CREATE_SOCKETS = 0x5
IFLA_GTP_RESTART_COUNT = 0x6
+ IFLA_GTP_LOCAL = 0x7
+ IFLA_GTP_LOCAL6 = 0x8
IFLA_BOND_UNSPEC = 0x0
IFLA_BOND_MODE = 0x1
IFLA_BOND_ACTIVE_SLAVE = 0x2
@@ -1828,6 +1854,7 @@ const (
IFLA_BOND_AD_LACP_ACTIVE = 0x1d
IFLA_BOND_MISSED_MAX = 0x1e
IFLA_BOND_NS_IP6_TARGET = 0x1f
+ IFLA_BOND_COUPLED_CONTROL = 0x20
IFLA_BOND_AD_INFO_UNSPEC = 0x0
IFLA_BOND_AD_INFO_AGGREGATOR = 0x1
IFLA_BOND_AD_INFO_NUM_PORTS = 0x2
@@ -1896,6 +1923,7 @@ const (
IFLA_HSR_SEQ_NR = 0x5
IFLA_HSR_VERSION = 0x6
IFLA_HSR_PROTOCOL = 0x7
+ IFLA_HSR_INTERLINK = 0x8
IFLA_STATS_UNSPEC = 0x0
IFLA_STATS_LINK_64 = 0x1
IFLA_STATS_LINK_XSTATS = 0x2
@@ -1948,6 +1976,15 @@ const (
IFLA_DSA_MASTER = 0x1
)
+const (
+ NETKIT_NEXT = -0x1
+ NETKIT_PASS = 0x0
+ NETKIT_DROP = 0x2
+ NETKIT_REDIRECT = 0x7
+ NETKIT_L2 = 0x0
+ NETKIT_L3 = 0x1
+)
+
const (
NF_INET_PRE_ROUTING = 0x0
NF_INET_LOCAL_IN = 0x1
@@ -2485,7 +2522,7 @@ type XDPMmapOffsets struct {
type XDPUmemReg struct {
Addr uint64
Len uint64
- Chunk_size uint32
+ Size uint32
Headroom uint32
Flags uint32
Tx_metadata_len uint32
@@ -2557,8 +2594,8 @@ const (
SOF_TIMESTAMPING_BIND_PHC = 0x8000
SOF_TIMESTAMPING_OPT_ID_TCP = 0x10000
- SOF_TIMESTAMPING_LAST = 0x10000
- SOF_TIMESTAMPING_MASK = 0x1ffff
+ SOF_TIMESTAMPING_LAST = 0x20000
+ SOF_TIMESTAMPING_MASK = 0x3ffff
SCM_TSTAMP_SND = 0x0
SCM_TSTAMP_SCHED = 0x1
@@ -3473,7 +3510,7 @@ const (
DEVLINK_PORT_FN_ATTR_STATE = 0x2
DEVLINK_PORT_FN_ATTR_OPSTATE = 0x3
DEVLINK_PORT_FN_ATTR_CAPS = 0x4
- DEVLINK_PORT_FUNCTION_ATTR_MAX = 0x5
+ DEVLINK_PORT_FUNCTION_ATTR_MAX = 0x6
)
type FsverityDigest struct {
@@ -3504,7 +3541,7 @@ type Nhmsg struct {
type NexthopGrp struct {
Id uint32
Weight uint8
- Resvd1 uint8
+ High uint8
Resvd2 uint16
}
@@ -3765,7 +3802,7 @@ const (
ETHTOOL_MSG_PSE_GET = 0x24
ETHTOOL_MSG_PSE_SET = 0x25
ETHTOOL_MSG_RSS_GET = 0x26
- ETHTOOL_MSG_USER_MAX = 0x2b
+ ETHTOOL_MSG_USER_MAX = 0x2d
ETHTOOL_MSG_KERNEL_NONE = 0x0
ETHTOOL_MSG_STRSET_GET_REPLY = 0x1
ETHTOOL_MSG_LINKINFO_GET_REPLY = 0x2
@@ -3805,12 +3842,15 @@ const (
ETHTOOL_MSG_MODULE_NTF = 0x24
ETHTOOL_MSG_PSE_GET_REPLY = 0x25
ETHTOOL_MSG_RSS_GET_REPLY = 0x26
- ETHTOOL_MSG_KERNEL_MAX = 0x2b
+ ETHTOOL_MSG_KERNEL_MAX = 0x2e
+ ETHTOOL_FLAG_COMPACT_BITSETS = 0x1
+ ETHTOOL_FLAG_OMIT_REPLY = 0x2
+ ETHTOOL_FLAG_STATS = 0x4
ETHTOOL_A_HEADER_UNSPEC = 0x0
ETHTOOL_A_HEADER_DEV_INDEX = 0x1
ETHTOOL_A_HEADER_DEV_NAME = 0x2
ETHTOOL_A_HEADER_FLAGS = 0x3
- ETHTOOL_A_HEADER_MAX = 0x3
+ ETHTOOL_A_HEADER_MAX = 0x4
ETHTOOL_A_BITSET_BIT_UNSPEC = 0x0
ETHTOOL_A_BITSET_BIT_INDEX = 0x1
ETHTOOL_A_BITSET_BIT_NAME = 0x2
@@ -3947,7 +3987,7 @@ const (
ETHTOOL_A_COALESCE_RATE_SAMPLE_INTERVAL = 0x17
ETHTOOL_A_COALESCE_USE_CQE_MODE_TX = 0x18
ETHTOOL_A_COALESCE_USE_CQE_MODE_RX = 0x19
- ETHTOOL_A_COALESCE_MAX = 0x1c
+ ETHTOOL_A_COALESCE_MAX = 0x1e
ETHTOOL_A_PAUSE_UNSPEC = 0x0
ETHTOOL_A_PAUSE_HEADER = 0x1
ETHTOOL_A_PAUSE_AUTONEG = 0x2
@@ -3975,7 +4015,7 @@ const (
ETHTOOL_A_TSINFO_TX_TYPES = 0x3
ETHTOOL_A_TSINFO_RX_FILTERS = 0x4
ETHTOOL_A_TSINFO_PHC_INDEX = 0x5
- ETHTOOL_A_TSINFO_MAX = 0x5
+ ETHTOOL_A_TSINFO_MAX = 0x6
ETHTOOL_A_CABLE_TEST_UNSPEC = 0x0
ETHTOOL_A_CABLE_TEST_HEADER = 0x1
ETHTOOL_A_CABLE_TEST_MAX = 0x1
@@ -3991,11 +4031,11 @@ const (
ETHTOOL_A_CABLE_RESULT_UNSPEC = 0x0
ETHTOOL_A_CABLE_RESULT_PAIR = 0x1
ETHTOOL_A_CABLE_RESULT_CODE = 0x2
- ETHTOOL_A_CABLE_RESULT_MAX = 0x2
+ ETHTOOL_A_CABLE_RESULT_MAX = 0x3
ETHTOOL_A_CABLE_FAULT_LENGTH_UNSPEC = 0x0
ETHTOOL_A_CABLE_FAULT_LENGTH_PAIR = 0x1
ETHTOOL_A_CABLE_FAULT_LENGTH_CM = 0x2
- ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 0x2
+ ETHTOOL_A_CABLE_FAULT_LENGTH_MAX = 0x3
ETHTOOL_A_CABLE_TEST_NTF_STATUS_UNSPEC = 0x0
ETHTOOL_A_CABLE_TEST_NTF_STATUS_STARTED = 0x1
ETHTOOL_A_CABLE_TEST_NTF_STATUS_COMPLETED = 0x2
@@ -4078,6 +4118,107 @@ type EthtoolDrvinfo struct {
Regdump_len uint32
}
+type EthtoolTsInfo struct {
+ Cmd uint32
+ So_timestamping uint32
+ Phc_index int32
+ Tx_types uint32
+ Tx_reserved [3]uint32
+ Rx_filters uint32
+ Rx_reserved [3]uint32
+}
+
+type HwTstampConfig struct {
+ Flags int32
+ Tx_type int32
+ Rx_filter int32
+}
+
+const (
+ HWTSTAMP_FILTER_NONE = 0x0
+ HWTSTAMP_FILTER_ALL = 0x1
+ HWTSTAMP_FILTER_SOME = 0x2
+ HWTSTAMP_FILTER_PTP_V1_L4_EVENT = 0x3
+ HWTSTAMP_FILTER_PTP_V2_L4_EVENT = 0x6
+ HWTSTAMP_FILTER_PTP_V2_L2_EVENT = 0x9
+ HWTSTAMP_FILTER_PTP_V2_EVENT = 0xc
+)
+
+const (
+ HWTSTAMP_TX_OFF = 0x0
+ HWTSTAMP_TX_ON = 0x1
+ HWTSTAMP_TX_ONESTEP_SYNC = 0x2
+)
+
+type (
+ PtpClockCaps struct {
+ Max_adj int32
+ N_alarm int32
+ N_ext_ts int32
+ N_per_out int32
+ Pps int32
+ N_pins int32
+ Cross_timestamping int32
+ Adjust_phase int32
+ Max_phase_adj int32
+ Rsv [11]int32
+ }
+ PtpClockTime struct {
+ Sec int64
+ Nsec uint32
+ Reserved uint32
+ }
+ PtpExttsEvent struct {
+ T PtpClockTime
+ Index uint32
+ Flags uint32
+ Rsv [2]uint32
+ }
+ PtpExttsRequest struct {
+ Index uint32
+ Flags uint32
+ Rsv [2]uint32
+ }
+ PtpPeroutRequest struct {
+ StartOrPhase PtpClockTime
+ Period PtpClockTime
+ Index uint32
+ Flags uint32
+ On PtpClockTime
+ }
+ PtpPinDesc struct {
+ Name [64]byte
+ Index uint32
+ Func uint32
+ Chan uint32
+ Rsv [5]uint32
+ }
+ PtpSysOffset struct {
+ Samples uint32
+ Rsv [3]uint32
+ Ts [51]PtpClockTime
+ }
+ PtpSysOffsetExtended struct {
+ Samples uint32
+ Clockid int32
+ Rsv [2]uint32
+ Ts [25][3]PtpClockTime
+ }
+ PtpSysOffsetPrecise struct {
+ Device PtpClockTime
+ Realtime PtpClockTime
+ Monoraw PtpClockTime
+ Rsv [4]uint32
+ }
+)
+
+const (
+ PTP_PF_NONE = 0x0
+ PTP_PF_EXTTS = 0x1
+ PTP_PF_PEROUT = 0x2
+ PTP_PF_PHYSYNC = 0x3
+)
+
type (
HIDRawReportDescriptor struct {
Size uint32
@@ -4259,6 +4400,7 @@ const (
type LandlockRulesetAttr struct {
Access_fs uint64
Access_net uint64
+ Scoped uint64
}
type LandlockPathBeneathAttr struct {
@@ -4605,7 +4747,7 @@ const (
NL80211_ATTR_MAC_HINT = 0xc8
NL80211_ATTR_MAC_MASK = 0xd7
NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca
- NL80211_ATTR_MAX = 0x14a
+ NL80211_ATTR_MAX = 0x14c
NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4
NL80211_ATTR_MAX_CSA_COUNTERS = 0xce
NL80211_ATTR_MAX_MATCH_SETS = 0x85
@@ -5209,7 +5351,7 @@ const (
NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf
NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe
NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf
- NL80211_FREQUENCY_ATTR_MAX = 0x20
+ NL80211_FREQUENCY_ATTR_MAX = 0x21
NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6
NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11
NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
index 15adc04142..ad05b51a60 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
@@ -727,6 +727,37 @@ const (
RISCV_HWPROBE_EXT_ZBA = 0x8
RISCV_HWPROBE_EXT_ZBB = 0x10
RISCV_HWPROBE_EXT_ZBS = 0x20
+ RISCV_HWPROBE_EXT_ZICBOZ = 0x40
+ RISCV_HWPROBE_EXT_ZBC = 0x80
+ RISCV_HWPROBE_EXT_ZBKB = 0x100
+ RISCV_HWPROBE_EXT_ZBKC = 0x200
+ RISCV_HWPROBE_EXT_ZBKX = 0x400
+ RISCV_HWPROBE_EXT_ZKND = 0x800
+ RISCV_HWPROBE_EXT_ZKNE = 0x1000
+ RISCV_HWPROBE_EXT_ZKNH = 0x2000
+ RISCV_HWPROBE_EXT_ZKSED = 0x4000
+ RISCV_HWPROBE_EXT_ZKSH = 0x8000
+ RISCV_HWPROBE_EXT_ZKT = 0x10000
+ RISCV_HWPROBE_EXT_ZVBB = 0x20000
+ RISCV_HWPROBE_EXT_ZVBC = 0x40000
+ RISCV_HWPROBE_EXT_ZVKB = 0x80000
+ RISCV_HWPROBE_EXT_ZVKG = 0x100000
+ RISCV_HWPROBE_EXT_ZVKNED = 0x200000
+ RISCV_HWPROBE_EXT_ZVKNHA = 0x400000
+ RISCV_HWPROBE_EXT_ZVKNHB = 0x800000
+ RISCV_HWPROBE_EXT_ZVKSED = 0x1000000
+ RISCV_HWPROBE_EXT_ZVKSH = 0x2000000
+ RISCV_HWPROBE_EXT_ZVKT = 0x4000000
+ RISCV_HWPROBE_EXT_ZFH = 0x8000000
+ RISCV_HWPROBE_EXT_ZFHMIN = 0x10000000
+ RISCV_HWPROBE_EXT_ZIHINTNTL = 0x20000000
+ RISCV_HWPROBE_EXT_ZVFH = 0x40000000
+ RISCV_HWPROBE_EXT_ZVFHMIN = 0x80000000
+ RISCV_HWPROBE_EXT_ZFA = 0x100000000
+ RISCV_HWPROBE_EXT_ZTSO = 0x200000000
+ RISCV_HWPROBE_EXT_ZACAS = 0x400000000
+ RISCV_HWPROBE_EXT_ZICOND = 0x800000000
+ RISCV_HWPROBE_EXT_ZIHINTPAUSE = 0x1000000000
RISCV_HWPROBE_KEY_CPUPERF_0 = 0x5
RISCV_HWPROBE_MISALIGNED_UNKNOWN = 0x0
RISCV_HWPROBE_MISALIGNED_EMULATED = 0x1
@@ -734,4 +765,6 @@ const (
RISCV_HWPROBE_MISALIGNED_FAST = 0x3
RISCV_HWPROBE_MISALIGNED_UNSUPPORTED = 0x4
RISCV_HWPROBE_MISALIGNED_MASK = 0x7
+ RISCV_HWPROBE_KEY_ZICBOZ_BLOCK_SIZE = 0x6
+ RISCV_HWPROBE_WHICH_CPUS = 0x1
)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go
index d9a13af468..2e5d5a4435 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go
@@ -377,6 +377,12 @@ type Flock_t struct {
Pid int32
}
+type F_cnvrt struct {
+ Cvtcmd int32
+ Pccsid int16
+ Fccsid int16
+}
+
type Termios struct {
Cflag uint32
Iflag uint32
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/dll_windows.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/dll_windows.go
index 115341fba6..4e613cf633 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/dll_windows.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/dll_windows.go
@@ -65,7 +65,7 @@ func LoadDLL(name string) (dll *DLL, err error) {
return d, nil
}
-// MustLoadDLL is like LoadDLL but panics if load operation failes.
+// MustLoadDLL is like LoadDLL but panics if load operation fails.
func MustLoadDLL(name string) *DLL {
d, e := LoadDLL(name)
if e != nil {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/security_windows.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/security_windows.go
index 6f7d2ac70a..b6e1ab76f8 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/security_windows.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/security_windows.go
@@ -894,7 +894,7 @@ type ACL struct {
aclRevision byte
sbz1 byte
aclSize uint16
- aceCount uint16
+ AceCount uint16
sbz2 uint16
}
@@ -1087,6 +1087,27 @@ type EXPLICIT_ACCESS struct {
Trustee TRUSTEE
}
+// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header
+type ACE_HEADER struct {
+ AceType uint8
+ AceFlags uint8
+ AceSize uint16
+}
+
+// https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-access_allowed_ace
+type ACCESS_ALLOWED_ACE struct {
+ Header ACE_HEADER
+ Mask ACCESS_MASK
+ SidStart uint32
+}
+
+const (
+ // Constants for AceType
+ // https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-ace_header
+ ACCESS_ALLOWED_ACE_TYPE = 0
+ ACCESS_DENIED_ACE_TYPE = 1
+)
+
// This type is the union inside of TRUSTEE and must be created using one of the TrusteeValueFrom* functions.
type TrusteeValue uintptr
@@ -1158,6 +1179,7 @@ type OBJECTS_AND_NAME struct {
//sys makeSelfRelativeSD(absoluteSD *SECURITY_DESCRIPTOR, selfRelativeSD *SECURITY_DESCRIPTOR, selfRelativeSDSize *uint32) (err error) = advapi32.MakeSelfRelativeSD
//sys setEntriesInAcl(countExplicitEntries uint32, explicitEntries *EXPLICIT_ACCESS, oldACL *ACL, newACL **ACL) (ret error) = advapi32.SetEntriesInAclW
+//sys GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (err error) = advapi32.GetAce
// Control returns the security descriptor control bits.
func (sd *SECURITY_DESCRIPTOR) Control() (control SECURITY_DESCRIPTOR_CONTROL, revision uint32, err error) {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/syscall_windows.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/syscall_windows.go
index 6525c62f3c..4a32543868 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/syscall_windows.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/syscall_windows.go
@@ -17,8 +17,10 @@ import (
"unsafe"
)
-type Handle uintptr
-type HWND uintptr
+type (
+ Handle uintptr
+ HWND uintptr
+)
const (
InvalidHandle = ^Handle(0)
@@ -166,6 +168,8 @@ func NewCallbackCDecl(fn interface{}) uintptr {
//sys CreateNamedPipe(name *uint16, flags uint32, pipeMode uint32, maxInstances uint32, outSize uint32, inSize uint32, defaultTimeout uint32, sa *SecurityAttributes) (handle Handle, err error) [failretval==InvalidHandle] = CreateNamedPipeW
//sys ConnectNamedPipe(pipe Handle, overlapped *Overlapped) (err error)
//sys DisconnectNamedPipe(pipe Handle) (err error)
+//sys GetNamedPipeClientProcessId(pipe Handle, clientProcessID *uint32) (err error)
+//sys GetNamedPipeServerProcessId(pipe Handle, serverProcessID *uint32) (err error)
//sys GetNamedPipeInfo(pipe Handle, flags *uint32, outSize *uint32, inSize *uint32, maxInstances *uint32) (err error)
//sys GetNamedPipeHandleState(pipe Handle, state *uint32, curInstances *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32, userName *uint16, maxUserNameSize uint32) (err error) = GetNamedPipeHandleStateW
//sys SetNamedPipeHandleState(pipe Handle, state *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32) (err error) = SetNamedPipeHandleState
@@ -211,6 +215,10 @@ func NewCallbackCDecl(fn interface{}) uintptr {
//sys OpenProcess(desiredAccess uint32, inheritHandle bool, processId uint32) (handle Handle, err error)
//sys ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int32) (err error) [failretval<=32] = shell32.ShellExecuteW
//sys GetWindowThreadProcessId(hwnd HWND, pid *uint32) (tid uint32, err error) = user32.GetWindowThreadProcessId
+//sys LoadKeyboardLayout(name *uint16, flags uint32) (hkl Handle, err error) [failretval==0] = user32.LoadKeyboardLayoutW
+//sys UnloadKeyboardLayout(hkl Handle) (err error) = user32.UnloadKeyboardLayout
+//sys GetKeyboardLayout(tid uint32) (hkl Handle) = user32.GetKeyboardLayout
+//sys ToUnicodeEx(vkey uint32, scancode uint32, keystate *byte, pwszBuff *uint16, cchBuff int32, flags uint32, hkl Handle) (ret int32) = user32.ToUnicodeEx
//sys GetShellWindow() (shellWindow HWND) = user32.GetShellWindow
//sys MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret int32, err error) [failretval==0] = user32.MessageBoxW
//sys ExitWindowsEx(flags uint32, reason uint32) (err error) = user32.ExitWindowsEx
@@ -307,6 +315,10 @@ func NewCallbackCDecl(fn interface{}) uintptr {
//sys SetConsoleMode(console Handle, mode uint32) (err error) = kernel32.SetConsoleMode
//sys GetConsoleScreenBufferInfo(console Handle, info *ConsoleScreenBufferInfo) (err error) = kernel32.GetConsoleScreenBufferInfo
//sys setConsoleCursorPosition(console Handle, position uint32) (err error) = kernel32.SetConsoleCursorPosition
+//sys GetConsoleCP() (cp uint32, err error) = kernel32.GetConsoleCP
+//sys GetConsoleOutputCP() (cp uint32, err error) = kernel32.GetConsoleOutputCP
+//sys SetConsoleCP(cp uint32) (err error) = kernel32.SetConsoleCP
+//sys SetConsoleOutputCP(cp uint32) (err error) = kernel32.SetConsoleOutputCP
//sys WriteConsole(console Handle, buf *uint16, towrite uint32, written *uint32, reserved *byte) (err error) = kernel32.WriteConsoleW
//sys ReadConsole(console Handle, buf *uint16, toread uint32, read *uint32, inputControl *byte) (err error) = kernel32.ReadConsoleW
//sys resizePseudoConsole(pconsole Handle, size uint32) (hr error) = kernel32.ResizePseudoConsole
@@ -715,20 +727,12 @@ func DurationSinceBoot() time.Duration {
}
func Ftruncate(fd Handle, length int64) (err error) {
- curoffset, e := Seek(fd, 0, 1)
- if e != nil {
- return e
+ type _FILE_END_OF_FILE_INFO struct {
+ EndOfFile int64
}
- defer Seek(fd, curoffset, 0)
- _, e = Seek(fd, length, 0)
- if e != nil {
- return e
- }
- e = SetEndOfFile(fd)
- if e != nil {
- return e
- }
- return nil
+ var info _FILE_END_OF_FILE_INFO
+ info.EndOfFile = length
+ return SetFileInformationByHandle(fd, FileEndOfFileInfo, (*byte)(unsafe.Pointer(&info)), uint32(unsafe.Sizeof(info)))
}
func Gettimeofday(tv *Timeval) (err error) {
@@ -884,6 +888,11 @@ const socket_error = uintptr(^uint32(0))
//sys GetACP() (acp uint32) = kernel32.GetACP
//sys MultiByteToWideChar(codePage uint32, dwFlags uint32, str *byte, nstr int32, wchar *uint16, nwchar int32) (nwrite int32, err error) = kernel32.MultiByteToWideChar
//sys getBestInterfaceEx(sockaddr unsafe.Pointer, pdwBestIfIndex *uint32) (errcode error) = iphlpapi.GetBestInterfaceEx
+//sys GetIfEntry2Ex(level uint32, row *MibIfRow2) (errcode error) = iphlpapi.GetIfEntry2Ex
+//sys GetUnicastIpAddressEntry(row *MibUnicastIpAddressRow) (errcode error) = iphlpapi.GetUnicastIpAddressEntry
+//sys NotifyIpInterfaceChange(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) = iphlpapi.NotifyIpInterfaceChange
+//sys NotifyUnicastIpAddressChange(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) = iphlpapi.NotifyUnicastIpAddressChange
+//sys CancelMibChangeNotify2(notificationHandle Handle) (errcode error) = iphlpapi.CancelMibChangeNotify2
// For testing: clients can set this flag to force
// creation of IPv6 sockets to return EAFNOSUPPORT.
@@ -1368,9 +1377,11 @@ func SetsockoptLinger(fd Handle, level, opt int, l *Linger) (err error) {
func SetsockoptInet4Addr(fd Handle, level, opt int, value [4]byte) (err error) {
return Setsockopt(fd, int32(level), int32(opt), (*byte)(unsafe.Pointer(&value[0])), 4)
}
+
func SetsockoptIPMreq(fd Handle, level, opt int, mreq *IPMreq) (err error) {
return Setsockopt(fd, int32(level), int32(opt), (*byte)(unsafe.Pointer(mreq)), int32(unsafe.Sizeof(*mreq)))
}
+
func SetsockoptIPv6Mreq(fd Handle, level, opt int, mreq *IPv6Mreq) (err error) {
return syscall.EWINDOWS
}
@@ -1673,13 +1684,16 @@ func (s NTStatus) Error() string {
// do not use NTUnicodeString, and instead UTF16PtrFromString should be used for
// the more common *uint16 string type.
func NewNTUnicodeString(s string) (*NTUnicodeString, error) {
- var u NTUnicodeString
- s16, err := UTF16PtrFromString(s)
+ s16, err := UTF16FromString(s)
if err != nil {
return nil, err
}
- RtlInitUnicodeString(&u, s16)
- return &u, nil
+ n := uint16(len(s16) * 2)
+ return &NTUnicodeString{
+ Length: n - 2, // subtract 2 bytes for the NULL terminator
+ MaximumLength: n,
+ Buffer: &s16[0],
+ }, nil
}
// Slice returns a uint16 slice that aliases the data in the NTUnicodeString.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/types_windows.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/types_windows.go
index d8cb71db0a..9d138de5fe 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/types_windows.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/types_windows.go
@@ -176,6 +176,7 @@ const (
WAIT_FAILED = 0xFFFFFFFF
// Access rights for process.
+ PROCESS_ALL_ACCESS = 0xFFFF
PROCESS_CREATE_PROCESS = 0x0080
PROCESS_CREATE_THREAD = 0x0002
PROCESS_DUP_HANDLE = 0x0040
@@ -1060,6 +1061,7 @@ const (
SIO_GET_EXTENSION_FUNCTION_POINTER = IOC_INOUT | IOC_WS2 | 6
SIO_KEEPALIVE_VALS = IOC_IN | IOC_VENDOR | 4
SIO_UDP_CONNRESET = IOC_IN | IOC_VENDOR | 12
+ SIO_UDP_NETRESET = IOC_IN | IOC_VENDOR | 15
// cf. http://support.microsoft.com/default.aspx?scid=kb;en-us;257460
@@ -2003,7 +2005,21 @@ const (
MOVEFILE_FAIL_IF_NOT_TRACKABLE = 0x20
)
-const GAA_FLAG_INCLUDE_PREFIX = 0x00000010
+// Flags for GetAdaptersAddresses, see
+// https://learn.microsoft.com/en-us/windows/win32/api/iphlpapi/nf-iphlpapi-getadaptersaddresses.
+const (
+ GAA_FLAG_SKIP_UNICAST = 0x1
+ GAA_FLAG_SKIP_ANYCAST = 0x2
+ GAA_FLAG_SKIP_MULTICAST = 0x4
+ GAA_FLAG_SKIP_DNS_SERVER = 0x8
+ GAA_FLAG_INCLUDE_PREFIX = 0x10
+ GAA_FLAG_SKIP_FRIENDLY_NAME = 0x20
+ GAA_FLAG_INCLUDE_WINS_INFO = 0x40
+ GAA_FLAG_INCLUDE_GATEWAYS = 0x80
+ GAA_FLAG_INCLUDE_ALL_INTERFACES = 0x100
+ GAA_FLAG_INCLUDE_ALL_COMPARTMENTS = 0x200
+ GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER = 0x400
+)
const (
IF_TYPE_OTHER = 1
@@ -2017,6 +2033,50 @@ const (
IF_TYPE_IEEE1394 = 144
)
+// Enum NL_PREFIX_ORIGIN for [IpAdapterUnicastAddress], see
+// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_prefix_origin
+const (
+ IpPrefixOriginOther = 0
+ IpPrefixOriginManual = 1
+ IpPrefixOriginWellKnown = 2
+ IpPrefixOriginDhcp = 3
+ IpPrefixOriginRouterAdvertisement = 4
+ IpPrefixOriginUnchanged = 1 << 4
+)
+
+// Enum NL_SUFFIX_ORIGIN for [IpAdapterUnicastAddress], see
+// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_suffix_origin
+const (
+ NlsoOther = 0
+ NlsoManual = 1
+ NlsoWellKnown = 2
+ NlsoDhcp = 3
+ NlsoLinkLayerAddress = 4
+ NlsoRandom = 5
+ IpSuffixOriginOther = 0
+ IpSuffixOriginManual = 1
+ IpSuffixOriginWellKnown = 2
+ IpSuffixOriginDhcp = 3
+ IpSuffixOriginLinkLayerAddress = 4
+ IpSuffixOriginRandom = 5
+ IpSuffixOriginUnchanged = 1 << 4
+)
+
+// Enum NL_DAD_STATE for [IpAdapterUnicastAddress], see
+// https://learn.microsoft.com/en-us/windows/win32/api/nldef/ne-nldef-nl_dad_state
+const (
+ NldsInvalid = 0
+ NldsTentative = 1
+ NldsDuplicate = 2
+ NldsDeprecated = 3
+ NldsPreferred = 4
+ IpDadStateInvalid = 0
+ IpDadStateTentative = 1
+ IpDadStateDuplicate = 2
+ IpDadStateDeprecated = 3
+ IpDadStatePreferred = 4
+)
+
type SocketAddress struct {
Sockaddr *syscall.RawSockaddrAny
SockaddrLength int32
@@ -2144,6 +2204,132 @@ const (
IfOperStatusLowerLayerDown = 7
)
+const (
+ IF_MAX_PHYS_ADDRESS_LENGTH = 32
+ IF_MAX_STRING_SIZE = 256
+)
+
+// MIB_IF_ENTRY_LEVEL enumeration from netioapi.h or
+// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/nf-netioapi-getifentry2ex.
+const (
+ MibIfEntryNormal = 0
+ MibIfEntryNormalWithoutStatistics = 2
+)
+
+// MIB_NOTIFICATION_TYPE enumeration from netioapi.h or
+// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ne-netioapi-mib_notification_type.
+const (
+ MibParameterNotification = 0
+ MibAddInstance = 1
+ MibDeleteInstance = 2
+ MibInitialNotification = 3
+)
+
+// MibIfRow2 stores information about a particular interface. See
+// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_if_row2.
+type MibIfRow2 struct {
+ InterfaceLuid uint64
+ InterfaceIndex uint32
+ InterfaceGuid GUID
+ Alias [IF_MAX_STRING_SIZE + 1]uint16
+ Description [IF_MAX_STRING_SIZE + 1]uint16
+ PhysicalAddressLength uint32
+ PhysicalAddress [IF_MAX_PHYS_ADDRESS_LENGTH]uint8
+ PermanentPhysicalAddress [IF_MAX_PHYS_ADDRESS_LENGTH]uint8
+ Mtu uint32
+ Type uint32
+ TunnelType uint32
+ MediaType uint32
+ PhysicalMediumType uint32
+ AccessType uint32
+ DirectionType uint32
+ InterfaceAndOperStatusFlags uint8
+ OperStatus uint32
+ AdminStatus uint32
+ MediaConnectState uint32
+ NetworkGuid GUID
+ ConnectionType uint32
+ TransmitLinkSpeed uint64
+ ReceiveLinkSpeed uint64
+ InOctets uint64
+ InUcastPkts uint64
+ InNUcastPkts uint64
+ InDiscards uint64
+ InErrors uint64
+ InUnknownProtos uint64
+ InUcastOctets uint64
+ InMulticastOctets uint64
+ InBroadcastOctets uint64
+ OutOctets uint64
+ OutUcastPkts uint64
+ OutNUcastPkts uint64
+ OutDiscards uint64
+ OutErrors uint64
+ OutUcastOctets uint64
+ OutMulticastOctets uint64
+ OutBroadcastOctets uint64
+ OutQLen uint64
+}
+
+// MIB_UNICASTIPADDRESS_ROW stores information about a unicast IP address. See
+// https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_unicastipaddress_row.
+type MibUnicastIpAddressRow struct {
+ Address RawSockaddrInet6 // SOCKADDR_INET union
+ InterfaceLuid uint64
+ InterfaceIndex uint32
+ PrefixOrigin uint32
+ SuffixOrigin uint32
+ ValidLifetime uint32
+ PreferredLifetime uint32
+ OnLinkPrefixLength uint8
+ SkipAsSource uint8
+ DadState uint32
+ ScopeId uint32
+ CreationTimeStamp Filetime
+}
+
+const ScopeLevelCount = 16
+
+// MIB_IPINTERFACE_ROW stores interface management information for a particular IP address family on a network interface.
+// See https://learn.microsoft.com/en-us/windows/win32/api/netioapi/ns-netioapi-mib_ipinterface_row.
+type MibIpInterfaceRow struct {
+ Family uint16
+ InterfaceLuid uint64
+ InterfaceIndex uint32
+ MaxReassemblySize uint32
+ InterfaceIdentifier uint64
+ MinRouterAdvertisementInterval uint32
+ MaxRouterAdvertisementInterval uint32
+ AdvertisingEnabled uint8
+ ForwardingEnabled uint8
+ WeakHostSend uint8
+ WeakHostReceive uint8
+ UseAutomaticMetric uint8
+ UseNeighborUnreachabilityDetection uint8
+ ManagedAddressConfigurationSupported uint8
+ OtherStatefulConfigurationSupported uint8
+ AdvertiseDefaultRoute uint8
+ RouterDiscoveryBehavior uint32
+ DadTransmits uint32
+ BaseReachableTime uint32
+ RetransmitTime uint32
+ PathMtuDiscoveryTimeout uint32
+ LinkLocalAddressBehavior uint32
+ LinkLocalAddressTimeout uint32
+ ZoneIndices [ScopeLevelCount]uint32
+ SitePrefixLength uint32
+ Metric uint32
+ NlMtu uint32
+ Connected uint8
+ SupportsWakeUpPatterns uint8
+ SupportsNeighborDiscovery uint8
+ SupportsRouterDiscovery uint8
+ ReachableTime uint32
+ TransmitOffload uint32
+ ReceiveOffload uint32
+ DisableDefaultRoutes uint8
+}
+
// Console related constants used for the mode parameter to SetConsoleMode. See
// https://docs.microsoft.com/en-us/windows/console/setconsolemode for details.
@@ -3404,3 +3590,14 @@ type DCB struct {
EvtChar byte
wReserved1 uint16
}
+
+// Keyboard Layout Flags.
+// See https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-loadkeyboardlayoutw
+const (
+ KLF_ACTIVATE = 0x00000001
+ KLF_SUBSTITUTE_OK = 0x00000002
+ KLF_REORDER = 0x00000008
+ KLF_REPLACELANG = 0x00000010
+ KLF_NOTELLSHELL = 0x00000080
+ KLF_SETFORPROCESS = 0x00000100
+)
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/zsyscall_windows.go b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/zsyscall_windows.go
index 9f73df75b5..01c0716c2c 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/zsyscall_windows.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/sys/windows/zsyscall_windows.go
@@ -91,6 +91,7 @@ var (
procEnumServicesStatusExW = modadvapi32.NewProc("EnumServicesStatusExW")
procEqualSid = modadvapi32.NewProc("EqualSid")
procFreeSid = modadvapi32.NewProc("FreeSid")
+ procGetAce = modadvapi32.NewProc("GetAce")
procGetLengthSid = modadvapi32.NewProc("GetLengthSid")
procGetNamedSecurityInfoW = modadvapi32.NewProc("GetNamedSecurityInfoW")
procGetSecurityDescriptorControl = modadvapi32.NewProc("GetSecurityDescriptorControl")
@@ -180,10 +181,15 @@ var (
procDnsRecordListFree = moddnsapi.NewProc("DnsRecordListFree")
procDwmGetWindowAttribute = moddwmapi.NewProc("DwmGetWindowAttribute")
procDwmSetWindowAttribute = moddwmapi.NewProc("DwmSetWindowAttribute")
+ procCancelMibChangeNotify2 = modiphlpapi.NewProc("CancelMibChangeNotify2")
procGetAdaptersAddresses = modiphlpapi.NewProc("GetAdaptersAddresses")
procGetAdaptersInfo = modiphlpapi.NewProc("GetAdaptersInfo")
procGetBestInterfaceEx = modiphlpapi.NewProc("GetBestInterfaceEx")
procGetIfEntry = modiphlpapi.NewProc("GetIfEntry")
+ procGetIfEntry2Ex = modiphlpapi.NewProc("GetIfEntry2Ex")
+ procGetUnicastIpAddressEntry = modiphlpapi.NewProc("GetUnicastIpAddressEntry")
+ procNotifyIpInterfaceChange = modiphlpapi.NewProc("NotifyIpInterfaceChange")
+ procNotifyUnicastIpAddressChange = modiphlpapi.NewProc("NotifyUnicastIpAddressChange")
procAddDllDirectory = modkernel32.NewProc("AddDllDirectory")
procAssignProcessToJobObject = modkernel32.NewProc("AssignProcessToJobObject")
procCancelIo = modkernel32.NewProc("CancelIo")
@@ -246,7 +252,9 @@ var (
procGetCommandLineW = modkernel32.NewProc("GetCommandLineW")
procGetComputerNameExW = modkernel32.NewProc("GetComputerNameExW")
procGetComputerNameW = modkernel32.NewProc("GetComputerNameW")
+ procGetConsoleCP = modkernel32.NewProc("GetConsoleCP")
procGetConsoleMode = modkernel32.NewProc("GetConsoleMode")
+ procGetConsoleOutputCP = modkernel32.NewProc("GetConsoleOutputCP")
procGetConsoleScreenBufferInfo = modkernel32.NewProc("GetConsoleScreenBufferInfo")
procGetCurrentDirectoryW = modkernel32.NewProc("GetCurrentDirectoryW")
procGetCurrentProcessId = modkernel32.NewProc("GetCurrentProcessId")
@@ -272,8 +280,10 @@ var (
procGetMaximumProcessorCount = modkernel32.NewProc("GetMaximumProcessorCount")
procGetModuleFileNameW = modkernel32.NewProc("GetModuleFileNameW")
procGetModuleHandleExW = modkernel32.NewProc("GetModuleHandleExW")
+ procGetNamedPipeClientProcessId = modkernel32.NewProc("GetNamedPipeClientProcessId")
procGetNamedPipeHandleStateW = modkernel32.NewProc("GetNamedPipeHandleStateW")
procGetNamedPipeInfo = modkernel32.NewProc("GetNamedPipeInfo")
+ procGetNamedPipeServerProcessId = modkernel32.NewProc("GetNamedPipeServerProcessId")
procGetOverlappedResult = modkernel32.NewProc("GetOverlappedResult")
procGetPriorityClass = modkernel32.NewProc("GetPriorityClass")
procGetProcAddress = modkernel32.NewProc("GetProcAddress")
@@ -346,8 +356,10 @@ var (
procSetCommMask = modkernel32.NewProc("SetCommMask")
procSetCommState = modkernel32.NewProc("SetCommState")
procSetCommTimeouts = modkernel32.NewProc("SetCommTimeouts")
+ procSetConsoleCP = modkernel32.NewProc("SetConsoleCP")
procSetConsoleCursorPosition = modkernel32.NewProc("SetConsoleCursorPosition")
procSetConsoleMode = modkernel32.NewProc("SetConsoleMode")
+ procSetConsoleOutputCP = modkernel32.NewProc("SetConsoleOutputCP")
procSetCurrentDirectoryW = modkernel32.NewProc("SetCurrentDirectoryW")
procSetDefaultDllDirectories = modkernel32.NewProc("SetDefaultDllDirectories")
procSetDllDirectoryW = modkernel32.NewProc("SetDllDirectoryW")
@@ -477,12 +489,16 @@ var (
procGetDesktopWindow = moduser32.NewProc("GetDesktopWindow")
procGetForegroundWindow = moduser32.NewProc("GetForegroundWindow")
procGetGUIThreadInfo = moduser32.NewProc("GetGUIThreadInfo")
+ procGetKeyboardLayout = moduser32.NewProc("GetKeyboardLayout")
procGetShellWindow = moduser32.NewProc("GetShellWindow")
procGetWindowThreadProcessId = moduser32.NewProc("GetWindowThreadProcessId")
procIsWindow = moduser32.NewProc("IsWindow")
procIsWindowUnicode = moduser32.NewProc("IsWindowUnicode")
procIsWindowVisible = moduser32.NewProc("IsWindowVisible")
+ procLoadKeyboardLayoutW = moduser32.NewProc("LoadKeyboardLayoutW")
procMessageBoxW = moduser32.NewProc("MessageBoxW")
+ procToUnicodeEx = moduser32.NewProc("ToUnicodeEx")
+ procUnloadKeyboardLayout = moduser32.NewProc("UnloadKeyboardLayout")
procCreateEnvironmentBlock = moduserenv.NewProc("CreateEnvironmentBlock")
procDestroyEnvironmentBlock = moduserenv.NewProc("DestroyEnvironmentBlock")
procGetUserProfileDirectoryW = moduserenv.NewProc("GetUserProfileDirectoryW")
@@ -788,6 +804,14 @@ func FreeSid(sid *SID) (err error) {
return
}
+func GetAce(acl *ACL, aceIndex uint32, pAce **ACCESS_ALLOWED_ACE) (err error) {
+ r1, _, e1 := syscall.Syscall(procGetAce.Addr(), 3, uintptr(unsafe.Pointer(acl)), uintptr(aceIndex), uintptr(unsafe.Pointer(pAce)))
+ if r1 == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func GetLengthSid(sid *SID) (len uint32) {
r0, _, _ := syscall.Syscall(procGetLengthSid.Addr(), 1, uintptr(unsafe.Pointer(sid)), 0, 0)
len = uint32(r0)
@@ -1589,6 +1613,14 @@ func DwmSetWindowAttribute(hwnd HWND, attribute uint32, value unsafe.Pointer, si
return
}
+func CancelMibChangeNotify2(notificationHandle Handle) (errcode error) {
+ r0, _, _ := syscall.Syscall(procCancelMibChangeNotify2.Addr(), 1, uintptr(notificationHandle), 0, 0)
+ if r0 != 0 {
+ errcode = syscall.Errno(r0)
+ }
+ return
+}
+
func GetAdaptersAddresses(family uint32, flags uint32, reserved uintptr, adapterAddresses *IpAdapterAddresses, sizePointer *uint32) (errcode error) {
r0, _, _ := syscall.Syscall6(procGetAdaptersAddresses.Addr(), 5, uintptr(family), uintptr(flags), uintptr(reserved), uintptr(unsafe.Pointer(adapterAddresses)), uintptr(unsafe.Pointer(sizePointer)), 0)
if r0 != 0 {
@@ -1621,6 +1653,46 @@ func GetIfEntry(pIfRow *MibIfRow) (errcode error) {
return
}
+func GetIfEntry2Ex(level uint32, row *MibIfRow2) (errcode error) {
+ r0, _, _ := syscall.Syscall(procGetIfEntry2Ex.Addr(), 2, uintptr(level), uintptr(unsafe.Pointer(row)), 0)
+ if r0 != 0 {
+ errcode = syscall.Errno(r0)
+ }
+ return
+}
+
+func GetUnicastIpAddressEntry(row *MibUnicastIpAddressRow) (errcode error) {
+ r0, _, _ := syscall.Syscall(procGetUnicastIpAddressEntry.Addr(), 1, uintptr(unsafe.Pointer(row)), 0, 0)
+ if r0 != 0 {
+ errcode = syscall.Errno(r0)
+ }
+ return
+}
+
+func NotifyIpInterfaceChange(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) {
+ var _p0 uint32
+ if initialNotification {
+ _p0 = 1
+ }
+ r0, _, _ := syscall.Syscall6(procNotifyIpInterfaceChange.Addr(), 5, uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle)), 0)
+ if r0 != 0 {
+ errcode = syscall.Errno(r0)
+ }
+ return
+}
+
+func NotifyUnicastIpAddressChange(family uint16, callback uintptr, callerContext unsafe.Pointer, initialNotification bool, notificationHandle *Handle) (errcode error) {
+ var _p0 uint32
+ if initialNotification {
+ _p0 = 1
+ }
+ r0, _, _ := syscall.Syscall6(procNotifyUnicastIpAddressChange.Addr(), 5, uintptr(family), uintptr(callback), uintptr(callerContext), uintptr(_p0), uintptr(unsafe.Pointer(notificationHandle)), 0)
+ if r0 != 0 {
+ errcode = syscall.Errno(r0)
+ }
+ return
+}
+
func AddDllDirectory(path *uint16) (cookie uintptr, err error) {
r0, _, e1 := syscall.Syscall(procAddDllDirectory.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0)
cookie = uintptr(r0)
@@ -2149,6 +2221,15 @@ func GetComputerName(buf *uint16, n *uint32) (err error) {
return
}
+func GetConsoleCP() (cp uint32, err error) {
+ r0, _, e1 := syscall.Syscall(procGetConsoleCP.Addr(), 0, 0, 0, 0)
+ cp = uint32(r0)
+ if cp == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func GetConsoleMode(console Handle, mode *uint32) (err error) {
r1, _, e1 := syscall.Syscall(procGetConsoleMode.Addr(), 2, uintptr(console), uintptr(unsafe.Pointer(mode)), 0)
if r1 == 0 {
@@ -2157,6 +2238,15 @@ func GetConsoleMode(console Handle, mode *uint32) (err error) {
return
}
+func GetConsoleOutputCP() (cp uint32, err error) {
+ r0, _, e1 := syscall.Syscall(procGetConsoleOutputCP.Addr(), 0, 0, 0, 0)
+ cp = uint32(r0)
+ if cp == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func GetConsoleScreenBufferInfo(console Handle, info *ConsoleScreenBufferInfo) (err error) {
r1, _, e1 := syscall.Syscall(procGetConsoleScreenBufferInfo.Addr(), 2, uintptr(console), uintptr(unsafe.Pointer(info)), 0)
if r1 == 0 {
@@ -2358,6 +2448,14 @@ func GetModuleHandleEx(flags uint32, moduleName *uint16, module *Handle) (err er
return
}
+func GetNamedPipeClientProcessId(pipe Handle, clientProcessID *uint32) (err error) {
+ r1, _, e1 := syscall.Syscall(procGetNamedPipeClientProcessId.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(clientProcessID)), 0)
+ if r1 == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func GetNamedPipeHandleState(pipe Handle, state *uint32, curInstances *uint32, maxCollectionCount *uint32, collectDataTimeout *uint32, userName *uint16, maxUserNameSize uint32) (err error) {
r1, _, e1 := syscall.Syscall9(procGetNamedPipeHandleStateW.Addr(), 7, uintptr(pipe), uintptr(unsafe.Pointer(state)), uintptr(unsafe.Pointer(curInstances)), uintptr(unsafe.Pointer(maxCollectionCount)), uintptr(unsafe.Pointer(collectDataTimeout)), uintptr(unsafe.Pointer(userName)), uintptr(maxUserNameSize), 0, 0)
if r1 == 0 {
@@ -2374,6 +2472,14 @@ func GetNamedPipeInfo(pipe Handle, flags *uint32, outSize *uint32, inSize *uint3
return
}
+func GetNamedPipeServerProcessId(pipe Handle, serverProcessID *uint32) (err error) {
+ r1, _, e1 := syscall.Syscall(procGetNamedPipeServerProcessId.Addr(), 2, uintptr(pipe), uintptr(unsafe.Pointer(serverProcessID)), 0)
+ if r1 == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func GetOverlappedResult(handle Handle, overlapped *Overlapped, done *uint32, wait bool) (err error) {
var _p0 uint32
if wait {
@@ -3025,6 +3131,14 @@ func SetCommTimeouts(handle Handle, timeouts *CommTimeouts) (err error) {
return
}
+func SetConsoleCP(cp uint32) (err error) {
+ r1, _, e1 := syscall.Syscall(procSetConsoleCP.Addr(), 1, uintptr(cp), 0, 0)
+ if r1 == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func setConsoleCursorPosition(console Handle, position uint32) (err error) {
r1, _, e1 := syscall.Syscall(procSetConsoleCursorPosition.Addr(), 2, uintptr(console), uintptr(position), 0)
if r1 == 0 {
@@ -3041,6 +3155,14 @@ func SetConsoleMode(console Handle, mode uint32) (err error) {
return
}
+func SetConsoleOutputCP(cp uint32) (err error) {
+ r1, _, e1 := syscall.Syscall(procSetConsoleOutputCP.Addr(), 1, uintptr(cp), 0, 0)
+ if r1 == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func SetCurrentDirectory(path *uint16) (err error) {
r1, _, e1 := syscall.Syscall(procSetCurrentDirectoryW.Addr(), 1, uintptr(unsafe.Pointer(path)), 0, 0)
if r1 == 0 {
@@ -4073,6 +4195,12 @@ func GetGUIThreadInfo(thread uint32, info *GUIThreadInfo) (err error) {
return
}
+func GetKeyboardLayout(tid uint32) (hkl Handle) {
+ r0, _, _ := syscall.Syscall(procGetKeyboardLayout.Addr(), 1, uintptr(tid), 0, 0)
+ hkl = Handle(r0)
+ return
+}
+
func GetShellWindow() (shellWindow HWND) {
r0, _, _ := syscall.Syscall(procGetShellWindow.Addr(), 0, 0, 0, 0)
shellWindow = HWND(r0)
@@ -4106,6 +4234,15 @@ func IsWindowVisible(hwnd HWND) (isVisible bool) {
return
}
+func LoadKeyboardLayout(name *uint16, flags uint32) (hkl Handle, err error) {
+ r0, _, e1 := syscall.Syscall(procLoadKeyboardLayoutW.Addr(), 2, uintptr(unsafe.Pointer(name)), uintptr(flags), 0)
+ hkl = Handle(r0)
+ if hkl == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret int32, err error) {
r0, _, e1 := syscall.Syscall6(procMessageBoxW.Addr(), 4, uintptr(hwnd), uintptr(unsafe.Pointer(text)), uintptr(unsafe.Pointer(caption)), uintptr(boxtype), 0, 0)
ret = int32(r0)
@@ -4115,6 +4252,20 @@ func MessageBox(hwnd HWND, text *uint16, caption *uint16, boxtype uint32) (ret i
return
}
+func ToUnicodeEx(vkey uint32, scancode uint32, keystate *byte, pwszBuff *uint16, cchBuff int32, flags uint32, hkl Handle) (ret int32) {
+ r0, _, _ := syscall.Syscall9(procToUnicodeEx.Addr(), 7, uintptr(vkey), uintptr(scancode), uintptr(unsafe.Pointer(keystate)), uintptr(unsafe.Pointer(pwszBuff)), uintptr(cchBuff), uintptr(flags), uintptr(hkl), 0, 0)
+ ret = int32(r0)
+ return
+}
+
+func UnloadKeyboardLayout(hkl Handle) (err error) {
+ r1, _, e1 := syscall.Syscall(procUnloadKeyboardLayout.Addr(), 1, uintptr(hkl), 0, 0)
+ if r1 == 0 {
+ err = errnoErr(e1)
+ }
+ return
+}
+
func CreateEnvironmentBlock(block **uint16, token Token, inheritExisting bool) (err error) {
var _p0 uint32
if inheritExisting {
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/term/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/term/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/term/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/term/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/term/README.md b/cluster-api/providers/azure/vendor/golang.org/x/term/README.md
index d03d0aefef..05ff623f94 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/term/README.md
+++ b/cluster-api/providers/azure/vendor/golang.org/x/term/README.md
@@ -4,16 +4,13 @@
This repository provides Go terminal and console support packages.
-## Download/Install
-
-The easiest way to install is to run `go get -u golang.org/x/term`. You can
-also manually git clone the repository to `$GOPATH/src/golang.org/x/term`.
-
## Report Issues / Send Patches
This repository uses Gerrit for code changes. To learn how to submit changes to
-this repository, see https://golang.org/doc/contribute.html.
+this repository, see https://go.dev/doc/contribute.
+
+The git repository is https://go.googlesource.com/term.
The main issue tracker for the term repository is located at
-https://github.com/golang/go/issues. Prefix your issue with "x/term:" in the
+https://go.dev/issues. Prefix your issue with "x/term:" in the
subject line, so it is easy to find.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/term/term_windows.go b/cluster-api/providers/azure/vendor/golang.org/x/term/term_windows.go
index 465f560604..df6bf948e1 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/term/term_windows.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/term/term_windows.go
@@ -26,6 +26,7 @@ func makeRaw(fd int) (*State, error) {
return nil, err
}
raw := st &^ (windows.ENABLE_ECHO_INPUT | windows.ENABLE_PROCESSED_INPUT | windows.ENABLE_LINE_INPUT | windows.ENABLE_PROCESSED_OUTPUT)
+ raw |= windows.ENABLE_VIRTUAL_TERMINAL_INPUT
if err := windows.SetConsoleMode(windows.Handle(fd), raw); err != nil {
return nil, err
}
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/text/LICENSE b/cluster-api/providers/azure/vendor/golang.org/x/text/LICENSE
index 6a66aea5ea..2a7cf70da6 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/text/LICENSE
+++ b/cluster-api/providers/azure/vendor/golang.org/x/text/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 The Go Authors. All rights reserved.
+Copyright 2009 The Go Authors.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -10,7 +10,7 @@ notice, this list of conditions and the following disclaimer.
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 Google Inc. nor the names of its
+ * Neither the name of Google LLC nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
diff --git a/cluster-api/providers/azure/vendor/golang.org/x/text/internal/catmsg/codec.go b/cluster-api/providers/azure/vendor/golang.org/x/text/internal/catmsg/codec.go
index 49c9fc9789..547802b0f3 100644
--- a/cluster-api/providers/azure/vendor/golang.org/x/text/internal/catmsg/codec.go
+++ b/cluster-api/providers/azure/vendor/golang.org/x/text/internal/catmsg/codec.go
@@ -257,7 +257,7 @@ func (d *Decoder) setError(err error) {
// Language returns the language in which the message is being rendered.
//
// The destination language may be a child language of the language used for
-// encoding. For instance, a decoding language of "pt-PT"" is consistent with an
+// encoding. For instance, a decoding language of "pt-PT" is consistent with an
// encoding language of "pt".
func (d *Decoder) Language() language.Tag { return d.tag }
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/LICENSE b/cluster-api/providers/azure/vendor/google.golang.org/appengine/LICENSE
deleted file mode 100644
index d645695673..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api.go
deleted file mode 100644
index 0569f5dd43..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api.go
+++ /dev/null
@@ -1,653 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build !appengine
-// +build !appengine
-
-package internal
-
-import (
- "bytes"
- "context"
- "errors"
- "fmt"
- "io/ioutil"
- "log"
- "net"
- "net/http"
- "net/url"
- "os"
- "runtime"
- "strconv"
- "strings"
- "sync"
- "sync/atomic"
- "time"
-
- "github.com/golang/protobuf/proto"
-
- basepb "google.golang.org/appengine/internal/base"
- logpb "google.golang.org/appengine/internal/log"
- remotepb "google.golang.org/appengine/internal/remote_api"
-)
-
-const (
- apiPath = "/rpc_http"
-)
-
-var (
- // Incoming headers.
- ticketHeader = http.CanonicalHeaderKey("X-AppEngine-API-Ticket")
- dapperHeader = http.CanonicalHeaderKey("X-Google-DapperTraceInfo")
- traceHeader = http.CanonicalHeaderKey("X-Cloud-Trace-Context")
- curNamespaceHeader = http.CanonicalHeaderKey("X-AppEngine-Current-Namespace")
- userIPHeader = http.CanonicalHeaderKey("X-AppEngine-User-IP")
- remoteAddrHeader = http.CanonicalHeaderKey("X-AppEngine-Remote-Addr")
- devRequestIdHeader = http.CanonicalHeaderKey("X-Appengine-Dev-Request-Id")
-
- // Outgoing headers.
- apiEndpointHeader = http.CanonicalHeaderKey("X-Google-RPC-Service-Endpoint")
- apiEndpointHeaderValue = []string{"app-engine-apis"}
- apiMethodHeader = http.CanonicalHeaderKey("X-Google-RPC-Service-Method")
- apiMethodHeaderValue = []string{"/VMRemoteAPI.CallRemoteAPI"}
- apiDeadlineHeader = http.CanonicalHeaderKey("X-Google-RPC-Service-Deadline")
- apiContentType = http.CanonicalHeaderKey("Content-Type")
- apiContentTypeValue = []string{"application/octet-stream"}
- logFlushHeader = http.CanonicalHeaderKey("X-AppEngine-Log-Flush-Count")
-
- apiHTTPClient = &http.Client{
- Transport: &http.Transport{
- Proxy: http.ProxyFromEnvironment,
- Dial: limitDial,
- MaxIdleConns: 1000,
- MaxIdleConnsPerHost: 10000,
- IdleConnTimeout: 90 * time.Second,
- },
- }
-)
-
-func apiURL(ctx context.Context) *url.URL {
- host, port := "appengine.googleapis.internal", "10001"
- if h := os.Getenv("API_HOST"); h != "" {
- host = h
- }
- if hostOverride := ctx.Value(apiHostOverrideKey); hostOverride != nil {
- host = hostOverride.(string)
- }
- if p := os.Getenv("API_PORT"); p != "" {
- port = p
- }
- if portOverride := ctx.Value(apiPortOverrideKey); portOverride != nil {
- port = portOverride.(string)
- }
- return &url.URL{
- Scheme: "http",
- Host: host + ":" + port,
- Path: apiPath,
- }
-}
-
-// Middleware wraps an http handler so that it can make GAE API calls
-func Middleware(next http.Handler) http.Handler {
- return handleHTTPMiddleware(executeRequestSafelyMiddleware(next))
-}
-
-func handleHTTPMiddleware(next http.Handler) http.Handler {
- return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- c := &aeContext{
- req: r,
- outHeader: w.Header(),
- }
- r = r.WithContext(withContext(r.Context(), c))
- c.req = r
-
- stopFlushing := make(chan int)
-
- // Patch up RemoteAddr so it looks reasonable.
- if addr := r.Header.Get(userIPHeader); addr != "" {
- r.RemoteAddr = addr
- } else if addr = r.Header.Get(remoteAddrHeader); addr != "" {
- r.RemoteAddr = addr
- } else {
- // Should not normally reach here, but pick a sensible default anyway.
- r.RemoteAddr = "127.0.0.1"
- }
- // The address in the headers will most likely be of these forms:
- // 123.123.123.123
- // 2001:db8::1
- // net/http.Request.RemoteAddr is specified to be in "IP:port" form.
- if _, _, err := net.SplitHostPort(r.RemoteAddr); err != nil {
- // Assume the remote address is only a host; add a default port.
- r.RemoteAddr = net.JoinHostPort(r.RemoteAddr, "80")
- }
-
- if logToLogservice() {
- // Start goroutine responsible for flushing app logs.
- // This is done after adding c to ctx.m (and stopped before removing it)
- // because flushing logs requires making an API call.
- go c.logFlusher(stopFlushing)
- }
-
- next.ServeHTTP(c, r)
- c.outHeader = nil // make sure header changes aren't respected any more
-
- flushed := make(chan struct{})
- if logToLogservice() {
- stopFlushing <- 1 // any logging beyond this point will be dropped
-
- // Flush any pending logs asynchronously.
- c.pendingLogs.Lock()
- flushes := c.pendingLogs.flushes
- if len(c.pendingLogs.lines) > 0 {
- flushes++
- }
- c.pendingLogs.Unlock()
- go func() {
- defer close(flushed)
- // Force a log flush, because with very short requests we
- // may not ever flush logs.
- c.flushLog(true)
- }()
- w.Header().Set(logFlushHeader, strconv.Itoa(flushes))
- }
-
- // Avoid nil Write call if c.Write is never called.
- if c.outCode != 0 {
- w.WriteHeader(c.outCode)
- }
- if c.outBody != nil {
- w.Write(c.outBody)
- }
- if logToLogservice() {
- // Wait for the last flush to complete before returning,
- // otherwise the security ticket will not be valid.
- <-flushed
- }
- })
-}
-
-func executeRequestSafelyMiddleware(next http.Handler) http.Handler {
- return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- defer func() {
- if x := recover(); x != nil {
- c := w.(*aeContext)
- logf(c, 4, "%s", renderPanic(x)) // 4 == critical
- c.outCode = 500
- }
- }()
-
- next.ServeHTTP(w, r)
- })
-}
-
-func renderPanic(x interface{}) string {
- buf := make([]byte, 16<<10) // 16 KB should be plenty
- buf = buf[:runtime.Stack(buf, false)]
-
- // Remove the first few stack frames:
- // this func
- // the recover closure in the caller
- // That will root the stack trace at the site of the panic.
- const (
- skipStart = "internal.renderPanic"
- skipFrames = 2
- )
- start := bytes.Index(buf, []byte(skipStart))
- p := start
- for i := 0; i < skipFrames*2 && p+1 < len(buf); i++ {
- p = bytes.IndexByte(buf[p+1:], '\n') + p + 1
- if p < 0 {
- break
- }
- }
- if p >= 0 {
- // buf[start:p+1] is the block to remove.
- // Copy buf[p+1:] over buf[start:] and shrink buf.
- copy(buf[start:], buf[p+1:])
- buf = buf[:len(buf)-(p+1-start)]
- }
-
- // Add panic heading.
- head := fmt.Sprintf("panic: %v\n\n", x)
- if len(head) > len(buf) {
- // Extremely unlikely to happen.
- return head
- }
- copy(buf[len(head):], buf)
- copy(buf, head)
-
- return string(buf)
-}
-
-// aeContext represents the aeContext of an in-flight HTTP request.
-// It implements the appengine.Context and http.ResponseWriter interfaces.
-type aeContext struct {
- req *http.Request
-
- outCode int
- outHeader http.Header
- outBody []byte
-
- pendingLogs struct {
- sync.Mutex
- lines []*logpb.UserAppLogLine
- flushes int
- }
-}
-
-var contextKey = "holds a *context"
-
-// jointContext joins two contexts in a superficial way.
-// It takes values and timeouts from a base context, and only values from another context.
-type jointContext struct {
- base context.Context
- valuesOnly context.Context
-}
-
-func (c jointContext) Deadline() (time.Time, bool) {
- return c.base.Deadline()
-}
-
-func (c jointContext) Done() <-chan struct{} {
- return c.base.Done()
-}
-
-func (c jointContext) Err() error {
- return c.base.Err()
-}
-
-func (c jointContext) Value(key interface{}) interface{} {
- if val := c.base.Value(key); val != nil {
- return val
- }
- return c.valuesOnly.Value(key)
-}
-
-// fromContext returns the App Engine context or nil if ctx is not
-// derived from an App Engine context.
-func fromContext(ctx context.Context) *aeContext {
- c, _ := ctx.Value(&contextKey).(*aeContext)
- return c
-}
-
-func withContext(parent context.Context, c *aeContext) context.Context {
- ctx := context.WithValue(parent, &contextKey, c)
- if ns := c.req.Header.Get(curNamespaceHeader); ns != "" {
- ctx = withNamespace(ctx, ns)
- }
- return ctx
-}
-
-func toContext(c *aeContext) context.Context {
- return withContext(context.Background(), c)
-}
-
-func IncomingHeaders(ctx context.Context) http.Header {
- if c := fromContext(ctx); c != nil {
- return c.req.Header
- }
- return nil
-}
-
-func ReqContext(req *http.Request) context.Context {
- return req.Context()
-}
-
-func WithContext(parent context.Context, req *http.Request) context.Context {
- return jointContext{
- base: parent,
- valuesOnly: req.Context(),
- }
-}
-
-// RegisterTestRequest registers the HTTP request req for testing, such that
-// any API calls are sent to the provided URL.
-// It should only be used by aetest package.
-func RegisterTestRequest(req *http.Request, apiURL *url.URL, appID string) *http.Request {
- ctx := req.Context()
- ctx = withAPIHostOverride(ctx, apiURL.Hostname())
- ctx = withAPIPortOverride(ctx, apiURL.Port())
- ctx = WithAppIDOverride(ctx, appID)
-
- // use the unregistered request as a placeholder so that withContext can read the headers
- c := &aeContext{req: req}
- c.req = req.WithContext(withContext(ctx, c))
- return c.req
-}
-
-var errTimeout = &CallError{
- Detail: "Deadline exceeded",
- Code: int32(remotepb.RpcError_CANCELLED),
- Timeout: true,
-}
-
-func (c *aeContext) Header() http.Header { return c.outHeader }
-
-// Copied from $GOROOT/src/pkg/net/http/transfer.go. Some response status
-// codes do not permit a response body (nor response entity headers such as
-// Content-Length, Content-Type, etc).
-func bodyAllowedForStatus(status int) bool {
- switch {
- case status >= 100 && status <= 199:
- return false
- case status == 204:
- return false
- case status == 304:
- return false
- }
- return true
-}
-
-func (c *aeContext) Write(b []byte) (int, error) {
- if c.outCode == 0 {
- c.WriteHeader(http.StatusOK)
- }
- if len(b) > 0 && !bodyAllowedForStatus(c.outCode) {
- return 0, http.ErrBodyNotAllowed
- }
- c.outBody = append(c.outBody, b...)
- return len(b), nil
-}
-
-func (c *aeContext) WriteHeader(code int) {
- if c.outCode != 0 {
- logf(c, 3, "WriteHeader called multiple times on request.") // error level
- return
- }
- c.outCode = code
-}
-
-func post(ctx context.Context, body []byte, timeout time.Duration) (b []byte, err error) {
- apiURL := apiURL(ctx)
- hreq := &http.Request{
- Method: "POST",
- URL: apiURL,
- Header: http.Header{
- apiEndpointHeader: apiEndpointHeaderValue,
- apiMethodHeader: apiMethodHeaderValue,
- apiContentType: apiContentTypeValue,
- apiDeadlineHeader: []string{strconv.FormatFloat(timeout.Seconds(), 'f', -1, 64)},
- },
- Body: ioutil.NopCloser(bytes.NewReader(body)),
- ContentLength: int64(len(body)),
- Host: apiURL.Host,
- }
- c := fromContext(ctx)
- if c != nil {
- if info := c.req.Header.Get(dapperHeader); info != "" {
- hreq.Header.Set(dapperHeader, info)
- }
- if info := c.req.Header.Get(traceHeader); info != "" {
- hreq.Header.Set(traceHeader, info)
- }
- }
-
- tr := apiHTTPClient.Transport.(*http.Transport)
-
- var timedOut int32 // atomic; set to 1 if timed out
- t := time.AfterFunc(timeout, func() {
- atomic.StoreInt32(&timedOut, 1)
- tr.CancelRequest(hreq)
- })
- defer t.Stop()
- defer func() {
- // Check if timeout was exceeded.
- if atomic.LoadInt32(&timedOut) != 0 {
- err = errTimeout
- }
- }()
-
- hresp, err := apiHTTPClient.Do(hreq)
- if err != nil {
- return nil, &CallError{
- Detail: fmt.Sprintf("service bridge HTTP failed: %v", err),
- Code: int32(remotepb.RpcError_UNKNOWN),
- }
- }
- defer hresp.Body.Close()
- hrespBody, err := ioutil.ReadAll(hresp.Body)
- if hresp.StatusCode != 200 {
- return nil, &CallError{
- Detail: fmt.Sprintf("service bridge returned HTTP %d (%q)", hresp.StatusCode, hrespBody),
- Code: int32(remotepb.RpcError_UNKNOWN),
- }
- }
- if err != nil {
- return nil, &CallError{
- Detail: fmt.Sprintf("service bridge response bad: %v", err),
- Code: int32(remotepb.RpcError_UNKNOWN),
- }
- }
- return hrespBody, nil
-}
-
-func Call(ctx context.Context, service, method string, in, out proto.Message) error {
- if ns := NamespaceFromContext(ctx); ns != "" {
- if fn, ok := NamespaceMods[service]; ok {
- fn(in, ns)
- }
- }
-
- if f, ctx, ok := callOverrideFromContext(ctx); ok {
- return f(ctx, service, method, in, out)
- }
-
- // Handle already-done contexts quickly.
- select {
- case <-ctx.Done():
- return ctx.Err()
- default:
- }
-
- c := fromContext(ctx)
-
- // Apply transaction modifications if we're in a transaction.
- if t := transactionFromContext(ctx); t != nil {
- if t.finished {
- return errors.New("transaction aeContext has expired")
- }
- applyTransaction(in, &t.transaction)
- }
-
- // Default RPC timeout is 60s.
- timeout := 60 * time.Second
- if deadline, ok := ctx.Deadline(); ok {
- timeout = deadline.Sub(time.Now())
- }
-
- data, err := proto.Marshal(in)
- if err != nil {
- return err
- }
-
- ticket := ""
- if c != nil {
- ticket = c.req.Header.Get(ticketHeader)
- if dri := c.req.Header.Get(devRequestIdHeader); IsDevAppServer() && dri != "" {
- ticket = dri
- }
- }
- req := &remotepb.Request{
- ServiceName: &service,
- Method: &method,
- Request: data,
- RequestId: &ticket,
- }
- hreqBody, err := proto.Marshal(req)
- if err != nil {
- return err
- }
-
- hrespBody, err := post(ctx, hreqBody, timeout)
- if err != nil {
- return err
- }
-
- res := &remotepb.Response{}
- if err := proto.Unmarshal(hrespBody, res); err != nil {
- return err
- }
- if res.RpcError != nil {
- ce := &CallError{
- Detail: res.RpcError.GetDetail(),
- Code: *res.RpcError.Code,
- }
- switch remotepb.RpcError_ErrorCode(ce.Code) {
- case remotepb.RpcError_CANCELLED, remotepb.RpcError_DEADLINE_EXCEEDED:
- ce.Timeout = true
- }
- return ce
- }
- if res.ApplicationError != nil {
- return &APIError{
- Service: *req.ServiceName,
- Detail: res.ApplicationError.GetDetail(),
- Code: *res.ApplicationError.Code,
- }
- }
- if res.Exception != nil || res.JavaException != nil {
- // This shouldn't happen, but let's be defensive.
- return &CallError{
- Detail: "service bridge returned exception",
- Code: int32(remotepb.RpcError_UNKNOWN),
- }
- }
- return proto.Unmarshal(res.Response, out)
-}
-
-func (c *aeContext) Request() *http.Request {
- return c.req
-}
-
-func (c *aeContext) addLogLine(ll *logpb.UserAppLogLine) {
- // Truncate long log lines.
- // TODO(dsymonds): Check if this is still necessary.
- const lim = 8 << 10
- if len(*ll.Message) > lim {
- suffix := fmt.Sprintf("...(length %d)", len(*ll.Message))
- ll.Message = proto.String((*ll.Message)[:lim-len(suffix)] + suffix)
- }
-
- c.pendingLogs.Lock()
- c.pendingLogs.lines = append(c.pendingLogs.lines, ll)
- c.pendingLogs.Unlock()
-}
-
-var logLevelName = map[int64]string{
- 0: "DEBUG",
- 1: "INFO",
- 2: "WARNING",
- 3: "ERROR",
- 4: "CRITICAL",
-}
-
-func logf(c *aeContext, level int64, format string, args ...interface{}) {
- if c == nil {
- panic("not an App Engine aeContext")
- }
- s := fmt.Sprintf(format, args...)
- s = strings.TrimRight(s, "\n") // Remove any trailing newline characters.
- if logToLogservice() {
- c.addLogLine(&logpb.UserAppLogLine{
- TimestampUsec: proto.Int64(time.Now().UnixNano() / 1e3),
- Level: &level,
- Message: &s,
- })
- }
- // Log to stdout if not deployed
- if !IsSecondGen() {
- log.Print(logLevelName[level] + ": " + s)
- }
-}
-
-// flushLog attempts to flush any pending logs to the appserver.
-// It should not be called concurrently.
-func (c *aeContext) flushLog(force bool) (flushed bool) {
- c.pendingLogs.Lock()
- // Grab up to 30 MB. We can get away with up to 32 MB, but let's be cautious.
- n, rem := 0, 30<<20
- for ; n < len(c.pendingLogs.lines); n++ {
- ll := c.pendingLogs.lines[n]
- // Each log line will require about 3 bytes of overhead.
- nb := proto.Size(ll) + 3
- if nb > rem {
- break
- }
- rem -= nb
- }
- lines := c.pendingLogs.lines[:n]
- c.pendingLogs.lines = c.pendingLogs.lines[n:]
- c.pendingLogs.Unlock()
-
- if len(lines) == 0 && !force {
- // Nothing to flush.
- return false
- }
-
- rescueLogs := false
- defer func() {
- if rescueLogs {
- c.pendingLogs.Lock()
- c.pendingLogs.lines = append(lines, c.pendingLogs.lines...)
- c.pendingLogs.Unlock()
- }
- }()
-
- buf, err := proto.Marshal(&logpb.UserAppLogGroup{
- LogLine: lines,
- })
- if err != nil {
- log.Printf("internal.flushLog: marshaling UserAppLogGroup: %v", err)
- rescueLogs = true
- return false
- }
-
- req := &logpb.FlushRequest{
- Logs: buf,
- }
- res := &basepb.VoidProto{}
- c.pendingLogs.Lock()
- c.pendingLogs.flushes++
- c.pendingLogs.Unlock()
- if err := Call(toContext(c), "logservice", "Flush", req, res); err != nil {
- log.Printf("internal.flushLog: Flush RPC: %v", err)
- rescueLogs = true
- return false
- }
- return true
-}
-
-const (
- // Log flushing parameters.
- flushInterval = 1 * time.Second
- forceFlushInterval = 60 * time.Second
-)
-
-func (c *aeContext) logFlusher(stop <-chan int) {
- lastFlush := time.Now()
- tick := time.NewTicker(flushInterval)
- for {
- select {
- case <-stop:
- // Request finished.
- tick.Stop()
- return
- case <-tick.C:
- force := time.Now().Sub(lastFlush) > forceFlushInterval
- if c.flushLog(force) {
- lastFlush = time.Now()
- }
- }
- }
-}
-
-func ContextForTesting(req *http.Request) context.Context {
- return toContext(&aeContext{req: req})
-}
-
-func logToLogservice() bool {
- // TODO: replace logservice with json structured logs to $LOG_DIR/app.log.json
- // where $LOG_DIR is /var/log in prod and some tmpdir in dev
- return os.Getenv("LOG_TO_LOGSERVICE") != "0"
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api_classic.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api_classic.go
deleted file mode 100644
index 87c33c798e..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api_classic.go
+++ /dev/null
@@ -1,170 +0,0 @@
-// Copyright 2015 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build appengine
-// +build appengine
-
-package internal
-
-import (
- "context"
- "errors"
- "fmt"
- "net/http"
- "time"
-
- "appengine"
- "appengine_internal"
- basepb "appengine_internal/base"
-
- "github.com/golang/protobuf/proto"
-)
-
-var contextKey = "holds an appengine.Context"
-
-// fromContext returns the App Engine context or nil if ctx is not
-// derived from an App Engine context.
-func fromContext(ctx context.Context) appengine.Context {
- c, _ := ctx.Value(&contextKey).(appengine.Context)
- return c
-}
-
-// This is only for classic App Engine adapters.
-func ClassicContextFromContext(ctx context.Context) (appengine.Context, error) {
- c := fromContext(ctx)
- if c == nil {
- return nil, errNotAppEngineContext
- }
- return c, nil
-}
-
-func withContext(parent context.Context, c appengine.Context) context.Context {
- ctx := context.WithValue(parent, &contextKey, c)
-
- s := &basepb.StringProto{}
- c.Call("__go__", "GetNamespace", &basepb.VoidProto{}, s, nil)
- if ns := s.GetValue(); ns != "" {
- ctx = NamespacedContext(ctx, ns)
- }
-
- return ctx
-}
-
-func IncomingHeaders(ctx context.Context) http.Header {
- if c := fromContext(ctx); c != nil {
- if req, ok := c.Request().(*http.Request); ok {
- return req.Header
- }
- }
- return nil
-}
-
-func ReqContext(req *http.Request) context.Context {
- return WithContext(context.Background(), req)
-}
-
-func WithContext(parent context.Context, req *http.Request) context.Context {
- c := appengine.NewContext(req)
- return withContext(parent, c)
-}
-
-type testingContext struct {
- appengine.Context
-
- req *http.Request
-}
-
-func (t *testingContext) FullyQualifiedAppID() string { return "dev~testcontext" }
-func (t *testingContext) Call(service, method string, _, _ appengine_internal.ProtoMessage, _ *appengine_internal.CallOptions) error {
- if service == "__go__" && method == "GetNamespace" {
- return nil
- }
- return fmt.Errorf("testingContext: unsupported Call")
-}
-func (t *testingContext) Request() interface{} { return t.req }
-
-func ContextForTesting(req *http.Request) context.Context {
- return withContext(context.Background(), &testingContext{req: req})
-}
-
-func Call(ctx context.Context, service, method string, in, out proto.Message) error {
- if ns := NamespaceFromContext(ctx); ns != "" {
- if fn, ok := NamespaceMods[service]; ok {
- fn(in, ns)
- }
- }
-
- if f, ctx, ok := callOverrideFromContext(ctx); ok {
- return f(ctx, service, method, in, out)
- }
-
- // Handle already-done contexts quickly.
- select {
- case <-ctx.Done():
- return ctx.Err()
- default:
- }
-
- c := fromContext(ctx)
- if c == nil {
- // Give a good error message rather than a panic lower down.
- return errNotAppEngineContext
- }
-
- // Apply transaction modifications if we're in a transaction.
- if t := transactionFromContext(ctx); t != nil {
- if t.finished {
- return errors.New("transaction context has expired")
- }
- applyTransaction(in, &t.transaction)
- }
-
- var opts *appengine_internal.CallOptions
- if d, ok := ctx.Deadline(); ok {
- opts = &appengine_internal.CallOptions{
- Timeout: d.Sub(time.Now()),
- }
- }
-
- err := c.Call(service, method, in, out, opts)
- switch v := err.(type) {
- case *appengine_internal.APIError:
- return &APIError{
- Service: v.Service,
- Detail: v.Detail,
- Code: v.Code,
- }
- case *appengine_internal.CallError:
- return &CallError{
- Detail: v.Detail,
- Code: v.Code,
- Timeout: v.Timeout,
- }
- }
- return err
-}
-
-func Middleware(next http.Handler) http.Handler {
- panic("Middleware called; this should be impossible")
-}
-
-func logf(c appengine.Context, level int64, format string, args ...interface{}) {
- var fn func(format string, args ...interface{})
- switch level {
- case 0:
- fn = c.Debugf
- case 1:
- fn = c.Infof
- case 2:
- fn = c.Warningf
- case 3:
- fn = c.Errorf
- case 4:
- fn = c.Criticalf
- default:
- // This shouldn't happen.
- fn = c.Criticalf
- }
- fn(format, args...)
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api_common.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api_common.go
deleted file mode 100644
index 5b95c13d92..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/api_common.go
+++ /dev/null
@@ -1,141 +0,0 @@
-// Copyright 2015 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package internal
-
-import (
- "context"
- "errors"
- "os"
-
- "github.com/golang/protobuf/proto"
-)
-
-type ctxKey string
-
-func (c ctxKey) String() string {
- return "appengine context key: " + string(c)
-}
-
-var errNotAppEngineContext = errors.New("not an App Engine context")
-
-type CallOverrideFunc func(ctx context.Context, service, method string, in, out proto.Message) error
-
-var callOverrideKey = "holds []CallOverrideFunc"
-
-func WithCallOverride(ctx context.Context, f CallOverrideFunc) context.Context {
- // We avoid appending to any existing call override
- // so we don't risk overwriting a popped stack below.
- var cofs []CallOverrideFunc
- if uf, ok := ctx.Value(&callOverrideKey).([]CallOverrideFunc); ok {
- cofs = append(cofs, uf...)
- }
- cofs = append(cofs, f)
- return context.WithValue(ctx, &callOverrideKey, cofs)
-}
-
-func callOverrideFromContext(ctx context.Context) (CallOverrideFunc, context.Context, bool) {
- cofs, _ := ctx.Value(&callOverrideKey).([]CallOverrideFunc)
- if len(cofs) == 0 {
- return nil, nil, false
- }
- // We found a list of overrides; grab the last, and reconstitute a
- // context that will hide it.
- f := cofs[len(cofs)-1]
- ctx = context.WithValue(ctx, &callOverrideKey, cofs[:len(cofs)-1])
- return f, ctx, true
-}
-
-type logOverrideFunc func(level int64, format string, args ...interface{})
-
-var logOverrideKey = "holds a logOverrideFunc"
-
-func WithLogOverride(ctx context.Context, f logOverrideFunc) context.Context {
- return context.WithValue(ctx, &logOverrideKey, f)
-}
-
-var appIDOverrideKey = "holds a string, being the full app ID"
-
-func WithAppIDOverride(ctx context.Context, appID string) context.Context {
- return context.WithValue(ctx, &appIDOverrideKey, appID)
-}
-
-var apiHostOverrideKey = ctxKey("holds a string, being the alternate API_HOST")
-
-func withAPIHostOverride(ctx context.Context, apiHost string) context.Context {
- return context.WithValue(ctx, apiHostOverrideKey, apiHost)
-}
-
-var apiPortOverrideKey = ctxKey("holds a string, being the alternate API_PORT")
-
-func withAPIPortOverride(ctx context.Context, apiPort string) context.Context {
- return context.WithValue(ctx, apiPortOverrideKey, apiPort)
-}
-
-var namespaceKey = "holds the namespace string"
-
-func withNamespace(ctx context.Context, ns string) context.Context {
- return context.WithValue(ctx, &namespaceKey, ns)
-}
-
-func NamespaceFromContext(ctx context.Context) string {
- // If there's no namespace, return the empty string.
- ns, _ := ctx.Value(&namespaceKey).(string)
- return ns
-}
-
-// FullyQualifiedAppID returns the fully-qualified application ID.
-// This may contain a partition prefix (e.g. "s~" for High Replication apps),
-// or a domain prefix (e.g. "example.com:").
-func FullyQualifiedAppID(ctx context.Context) string {
- if id, ok := ctx.Value(&appIDOverrideKey).(string); ok {
- return id
- }
- return fullyQualifiedAppID(ctx)
-}
-
-func Logf(ctx context.Context, level int64, format string, args ...interface{}) {
- if f, ok := ctx.Value(&logOverrideKey).(logOverrideFunc); ok {
- f(level, format, args...)
- return
- }
- c := fromContext(ctx)
- if c == nil {
- panic(errNotAppEngineContext)
- }
- logf(c, level, format, args...)
-}
-
-// NamespacedContext wraps a Context to support namespaces.
-func NamespacedContext(ctx context.Context, namespace string) context.Context {
- return withNamespace(ctx, namespace)
-}
-
-// SetTestEnv sets the env variables for testing background ticket in Flex.
-func SetTestEnv() func() {
- var environ = []struct {
- key, value string
- }{
- {"GAE_LONG_APP_ID", "my-app-id"},
- {"GAE_MINOR_VERSION", "067924799508853122"},
- {"GAE_MODULE_INSTANCE", "0"},
- {"GAE_MODULE_NAME", "default"},
- {"GAE_MODULE_VERSION", "20150612t184001"},
- }
-
- for _, v := range environ {
- old := os.Getenv(v.key)
- os.Setenv(v.key, v.value)
- v.value = old
- }
- return func() { // Restore old environment after the test completes.
- for _, v := range environ {
- if v.value == "" {
- os.Unsetenv(v.key)
- continue
- }
- os.Setenv(v.key, v.value)
- }
- }
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/app_id.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/app_id.go
deleted file mode 100644
index 11df8c07b5..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/app_id.go
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package internal
-
-import (
- "strings"
-)
-
-func parseFullAppID(appid string) (partition, domain, displayID string) {
- if i := strings.Index(appid, "~"); i != -1 {
- partition, appid = appid[:i], appid[i+1:]
- }
- if i := strings.Index(appid, ":"); i != -1 {
- domain, appid = appid[:i], appid[i+1:]
- }
- return partition, domain, appid
-}
-
-// appID returns "appid" or "domain.com:appid".
-func appID(fullAppID string) string {
- _, dom, dis := parseFullAppID(fullAppID)
- if dom != "" {
- return dom + ":" + dis
- }
- return dis
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/base/api_base.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/base/api_base.pb.go
deleted file mode 100644
index db4777e68e..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/base/api_base.pb.go
+++ /dev/null
@@ -1,308 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/base/api_base.proto
-
-package base
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type StringProto struct {
- Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *StringProto) Reset() { *m = StringProto{} }
-func (m *StringProto) String() string { return proto.CompactTextString(m) }
-func (*StringProto) ProtoMessage() {}
-func (*StringProto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{0}
-}
-func (m *StringProto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_StringProto.Unmarshal(m, b)
-}
-func (m *StringProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_StringProto.Marshal(b, m, deterministic)
-}
-func (dst *StringProto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_StringProto.Merge(dst, src)
-}
-func (m *StringProto) XXX_Size() int {
- return xxx_messageInfo_StringProto.Size(m)
-}
-func (m *StringProto) XXX_DiscardUnknown() {
- xxx_messageInfo_StringProto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_StringProto proto.InternalMessageInfo
-
-func (m *StringProto) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return ""
-}
-
-type Integer32Proto struct {
- Value *int32 `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Integer32Proto) Reset() { *m = Integer32Proto{} }
-func (m *Integer32Proto) String() string { return proto.CompactTextString(m) }
-func (*Integer32Proto) ProtoMessage() {}
-func (*Integer32Proto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{1}
-}
-func (m *Integer32Proto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Integer32Proto.Unmarshal(m, b)
-}
-func (m *Integer32Proto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Integer32Proto.Marshal(b, m, deterministic)
-}
-func (dst *Integer32Proto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Integer32Proto.Merge(dst, src)
-}
-func (m *Integer32Proto) XXX_Size() int {
- return xxx_messageInfo_Integer32Proto.Size(m)
-}
-func (m *Integer32Proto) XXX_DiscardUnknown() {
- xxx_messageInfo_Integer32Proto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Integer32Proto proto.InternalMessageInfo
-
-func (m *Integer32Proto) GetValue() int32 {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return 0
-}
-
-type Integer64Proto struct {
- Value *int64 `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Integer64Proto) Reset() { *m = Integer64Proto{} }
-func (m *Integer64Proto) String() string { return proto.CompactTextString(m) }
-func (*Integer64Proto) ProtoMessage() {}
-func (*Integer64Proto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{2}
-}
-func (m *Integer64Proto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Integer64Proto.Unmarshal(m, b)
-}
-func (m *Integer64Proto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Integer64Proto.Marshal(b, m, deterministic)
-}
-func (dst *Integer64Proto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Integer64Proto.Merge(dst, src)
-}
-func (m *Integer64Proto) XXX_Size() int {
- return xxx_messageInfo_Integer64Proto.Size(m)
-}
-func (m *Integer64Proto) XXX_DiscardUnknown() {
- xxx_messageInfo_Integer64Proto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Integer64Proto proto.InternalMessageInfo
-
-func (m *Integer64Proto) GetValue() int64 {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return 0
-}
-
-type BoolProto struct {
- Value *bool `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *BoolProto) Reset() { *m = BoolProto{} }
-func (m *BoolProto) String() string { return proto.CompactTextString(m) }
-func (*BoolProto) ProtoMessage() {}
-func (*BoolProto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{3}
-}
-func (m *BoolProto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BoolProto.Unmarshal(m, b)
-}
-func (m *BoolProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BoolProto.Marshal(b, m, deterministic)
-}
-func (dst *BoolProto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BoolProto.Merge(dst, src)
-}
-func (m *BoolProto) XXX_Size() int {
- return xxx_messageInfo_BoolProto.Size(m)
-}
-func (m *BoolProto) XXX_DiscardUnknown() {
- xxx_messageInfo_BoolProto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BoolProto proto.InternalMessageInfo
-
-func (m *BoolProto) GetValue() bool {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return false
-}
-
-type DoubleProto struct {
- Value *float64 `protobuf:"fixed64,1,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DoubleProto) Reset() { *m = DoubleProto{} }
-func (m *DoubleProto) String() string { return proto.CompactTextString(m) }
-func (*DoubleProto) ProtoMessage() {}
-func (*DoubleProto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{4}
-}
-func (m *DoubleProto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DoubleProto.Unmarshal(m, b)
-}
-func (m *DoubleProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DoubleProto.Marshal(b, m, deterministic)
-}
-func (dst *DoubleProto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DoubleProto.Merge(dst, src)
-}
-func (m *DoubleProto) XXX_Size() int {
- return xxx_messageInfo_DoubleProto.Size(m)
-}
-func (m *DoubleProto) XXX_DiscardUnknown() {
- xxx_messageInfo_DoubleProto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DoubleProto proto.InternalMessageInfo
-
-func (m *DoubleProto) GetValue() float64 {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return 0
-}
-
-type BytesProto struct {
- Value []byte `protobuf:"bytes,1,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *BytesProto) Reset() { *m = BytesProto{} }
-func (m *BytesProto) String() string { return proto.CompactTextString(m) }
-func (*BytesProto) ProtoMessage() {}
-func (*BytesProto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{5}
-}
-func (m *BytesProto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BytesProto.Unmarshal(m, b)
-}
-func (m *BytesProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BytesProto.Marshal(b, m, deterministic)
-}
-func (dst *BytesProto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BytesProto.Merge(dst, src)
-}
-func (m *BytesProto) XXX_Size() int {
- return xxx_messageInfo_BytesProto.Size(m)
-}
-func (m *BytesProto) XXX_DiscardUnknown() {
- xxx_messageInfo_BytesProto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BytesProto proto.InternalMessageInfo
-
-func (m *BytesProto) GetValue() []byte {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-type VoidProto struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *VoidProto) Reset() { *m = VoidProto{} }
-func (m *VoidProto) String() string { return proto.CompactTextString(m) }
-func (*VoidProto) ProtoMessage() {}
-func (*VoidProto) Descriptor() ([]byte, []int) {
- return fileDescriptor_api_base_9d49f8792e0c1140, []int{6}
-}
-func (m *VoidProto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_VoidProto.Unmarshal(m, b)
-}
-func (m *VoidProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_VoidProto.Marshal(b, m, deterministic)
-}
-func (dst *VoidProto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_VoidProto.Merge(dst, src)
-}
-func (m *VoidProto) XXX_Size() int {
- return xxx_messageInfo_VoidProto.Size(m)
-}
-func (m *VoidProto) XXX_DiscardUnknown() {
- xxx_messageInfo_VoidProto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_VoidProto proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*StringProto)(nil), "appengine.base.StringProto")
- proto.RegisterType((*Integer32Proto)(nil), "appengine.base.Integer32Proto")
- proto.RegisterType((*Integer64Proto)(nil), "appengine.base.Integer64Proto")
- proto.RegisterType((*BoolProto)(nil), "appengine.base.BoolProto")
- proto.RegisterType((*DoubleProto)(nil), "appengine.base.DoubleProto")
- proto.RegisterType((*BytesProto)(nil), "appengine.base.BytesProto")
- proto.RegisterType((*VoidProto)(nil), "appengine.base.VoidProto")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/base/api_base.proto", fileDescriptor_api_base_9d49f8792e0c1140)
-}
-
-var fileDescriptor_api_base_9d49f8792e0c1140 = []byte{
- // 199 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0xcf, 0x3f, 0x4b, 0xc6, 0x30,
- 0x10, 0x06, 0x70, 0x5a, 0xad, 0xb4, 0x57, 0xe9, 0x20, 0x0e, 0x1d, 0xb5, 0x05, 0x71, 0x4a, 0x40,
- 0x45, 0x9c, 0x83, 0x8b, 0x9b, 0x28, 0x38, 0xb8, 0x48, 0x8a, 0xc7, 0x11, 0x08, 0xb9, 0x90, 0xa6,
- 0x82, 0xdf, 0x5e, 0xda, 0xd2, 0xfa, 0xc2, 0x9b, 0xed, 0xfe, 0xfc, 0xe0, 0xe1, 0x81, 0x27, 0x62,
- 0x26, 0x8b, 0x82, 0xd8, 0x6a, 0x47, 0x82, 0x03, 0x49, 0xed, 0x3d, 0x3a, 0x32, 0x0e, 0xa5, 0x71,
- 0x11, 0x83, 0xd3, 0x56, 0x0e, 0x7a, 0x44, 0xa9, 0xbd, 0xf9, 0x9a, 0x07, 0xe1, 0x03, 0x47, 0xbe,
- 0x68, 0x76, 0x27, 0xe6, 0x6b, 0xd7, 0x43, 0xfd, 0x1e, 0x83, 0x71, 0xf4, 0xba, 0xbc, 0x2f, 0xa1,
- 0xf8, 0xd1, 0x76, 0xc2, 0x36, 0xbb, 0xca, 0x6f, 0xab, 0xb7, 0x75, 0xe9, 0x6e, 0xa0, 0x79, 0x71,
- 0x11, 0x09, 0xc3, 0xfd, 0x5d, 0xc2, 0x15, 0xc7, 0xee, 0xf1, 0x21, 0xe1, 0x4e, 0x36, 0x77, 0x0d,
- 0x95, 0x62, 0xb6, 0x09, 0x52, 0x6e, 0xa4, 0x87, 0xfa, 0x99, 0xa7, 0xc1, 0x62, 0x02, 0x65, 0xff,
- 0x79, 0xa0, 0x7e, 0x23, 0x8e, 0xab, 0x69, 0x0f, 0xcd, 0xb9, 0xca, 0xcb, 0xdd, 0xd5, 0x50, 0x7d,
- 0xb0, 0xf9, 0x5e, 0x98, 0x3a, 0xfb, 0x3c, 0x9d, 0x9b, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0xba,
- 0x37, 0x25, 0xea, 0x44, 0x01, 0x00, 0x00,
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/base/api_base.proto b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/base/api_base.proto
deleted file mode 100644
index 56cd7a3cad..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/base/api_base.proto
+++ /dev/null
@@ -1,33 +0,0 @@
-// Built-in base types for API calls. Primarily useful as return types.
-
-syntax = "proto2";
-option go_package = "base";
-
-package appengine.base;
-
-message StringProto {
- required string value = 1;
-}
-
-message Integer32Proto {
- required int32 value = 1;
-}
-
-message Integer64Proto {
- required int64 value = 1;
-}
-
-message BoolProto {
- required bool value = 1;
-}
-
-message DoubleProto {
- required double value = 1;
-}
-
-message BytesProto {
- required bytes value = 1 [ctype=CORD];
-}
-
-message VoidProto {
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go
deleted file mode 100644
index 2fb7482896..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go
+++ /dev/null
@@ -1,4367 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/datastore/datastore_v3.proto
-
-package datastore
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type Property_Meaning int32
-
-const (
- Property_NO_MEANING Property_Meaning = 0
- Property_BLOB Property_Meaning = 14
- Property_TEXT Property_Meaning = 15
- Property_BYTESTRING Property_Meaning = 16
- Property_ATOM_CATEGORY Property_Meaning = 1
- Property_ATOM_LINK Property_Meaning = 2
- Property_ATOM_TITLE Property_Meaning = 3
- Property_ATOM_CONTENT Property_Meaning = 4
- Property_ATOM_SUMMARY Property_Meaning = 5
- Property_ATOM_AUTHOR Property_Meaning = 6
- Property_GD_WHEN Property_Meaning = 7
- Property_GD_EMAIL Property_Meaning = 8
- Property_GEORSS_POINT Property_Meaning = 9
- Property_GD_IM Property_Meaning = 10
- Property_GD_PHONENUMBER Property_Meaning = 11
- Property_GD_POSTALADDRESS Property_Meaning = 12
- Property_GD_RATING Property_Meaning = 13
- Property_BLOBKEY Property_Meaning = 17
- Property_ENTITY_PROTO Property_Meaning = 19
- Property_INDEX_VALUE Property_Meaning = 18
-)
-
-var Property_Meaning_name = map[int32]string{
- 0: "NO_MEANING",
- 14: "BLOB",
- 15: "TEXT",
- 16: "BYTESTRING",
- 1: "ATOM_CATEGORY",
- 2: "ATOM_LINK",
- 3: "ATOM_TITLE",
- 4: "ATOM_CONTENT",
- 5: "ATOM_SUMMARY",
- 6: "ATOM_AUTHOR",
- 7: "GD_WHEN",
- 8: "GD_EMAIL",
- 9: "GEORSS_POINT",
- 10: "GD_IM",
- 11: "GD_PHONENUMBER",
- 12: "GD_POSTALADDRESS",
- 13: "GD_RATING",
- 17: "BLOBKEY",
- 19: "ENTITY_PROTO",
- 18: "INDEX_VALUE",
-}
-var Property_Meaning_value = map[string]int32{
- "NO_MEANING": 0,
- "BLOB": 14,
- "TEXT": 15,
- "BYTESTRING": 16,
- "ATOM_CATEGORY": 1,
- "ATOM_LINK": 2,
- "ATOM_TITLE": 3,
- "ATOM_CONTENT": 4,
- "ATOM_SUMMARY": 5,
- "ATOM_AUTHOR": 6,
- "GD_WHEN": 7,
- "GD_EMAIL": 8,
- "GEORSS_POINT": 9,
- "GD_IM": 10,
- "GD_PHONENUMBER": 11,
- "GD_POSTALADDRESS": 12,
- "GD_RATING": 13,
- "BLOBKEY": 17,
- "ENTITY_PROTO": 19,
- "INDEX_VALUE": 18,
-}
-
-func (x Property_Meaning) Enum() *Property_Meaning {
- p := new(Property_Meaning)
- *p = x
- return p
-}
-func (x Property_Meaning) String() string {
- return proto.EnumName(Property_Meaning_name, int32(x))
-}
-func (x *Property_Meaning) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Property_Meaning_value, data, "Property_Meaning")
- if err != nil {
- return err
- }
- *x = Property_Meaning(value)
- return nil
-}
-func (Property_Meaning) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{2, 0}
-}
-
-type Property_FtsTokenizationOption int32
-
-const (
- Property_HTML Property_FtsTokenizationOption = 1
- Property_ATOM Property_FtsTokenizationOption = 2
-)
-
-var Property_FtsTokenizationOption_name = map[int32]string{
- 1: "HTML",
- 2: "ATOM",
-}
-var Property_FtsTokenizationOption_value = map[string]int32{
- "HTML": 1,
- "ATOM": 2,
-}
-
-func (x Property_FtsTokenizationOption) Enum() *Property_FtsTokenizationOption {
- p := new(Property_FtsTokenizationOption)
- *p = x
- return p
-}
-func (x Property_FtsTokenizationOption) String() string {
- return proto.EnumName(Property_FtsTokenizationOption_name, int32(x))
-}
-func (x *Property_FtsTokenizationOption) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Property_FtsTokenizationOption_value, data, "Property_FtsTokenizationOption")
- if err != nil {
- return err
- }
- *x = Property_FtsTokenizationOption(value)
- return nil
-}
-func (Property_FtsTokenizationOption) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{2, 1}
-}
-
-type EntityProto_Kind int32
-
-const (
- EntityProto_GD_CONTACT EntityProto_Kind = 1
- EntityProto_GD_EVENT EntityProto_Kind = 2
- EntityProto_GD_MESSAGE EntityProto_Kind = 3
-)
-
-var EntityProto_Kind_name = map[int32]string{
- 1: "GD_CONTACT",
- 2: "GD_EVENT",
- 3: "GD_MESSAGE",
-}
-var EntityProto_Kind_value = map[string]int32{
- "GD_CONTACT": 1,
- "GD_EVENT": 2,
- "GD_MESSAGE": 3,
-}
-
-func (x EntityProto_Kind) Enum() *EntityProto_Kind {
- p := new(EntityProto_Kind)
- *p = x
- return p
-}
-func (x EntityProto_Kind) String() string {
- return proto.EnumName(EntityProto_Kind_name, int32(x))
-}
-func (x *EntityProto_Kind) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(EntityProto_Kind_value, data, "EntityProto_Kind")
- if err != nil {
- return err
- }
- *x = EntityProto_Kind(value)
- return nil
-}
-func (EntityProto_Kind) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{6, 0}
-}
-
-type Index_Property_Direction int32
-
-const (
- Index_Property_ASCENDING Index_Property_Direction = 1
- Index_Property_DESCENDING Index_Property_Direction = 2
-)
-
-var Index_Property_Direction_name = map[int32]string{
- 1: "ASCENDING",
- 2: "DESCENDING",
-}
-var Index_Property_Direction_value = map[string]int32{
- "ASCENDING": 1,
- "DESCENDING": 2,
-}
-
-func (x Index_Property_Direction) Enum() *Index_Property_Direction {
- p := new(Index_Property_Direction)
- *p = x
- return p
-}
-func (x Index_Property_Direction) String() string {
- return proto.EnumName(Index_Property_Direction_name, int32(x))
-}
-func (x *Index_Property_Direction) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Index_Property_Direction_value, data, "Index_Property_Direction")
- if err != nil {
- return err
- }
- *x = Index_Property_Direction(value)
- return nil
-}
-func (Index_Property_Direction) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{8, 0, 0}
-}
-
-type CompositeIndex_State int32
-
-const (
- CompositeIndex_WRITE_ONLY CompositeIndex_State = 1
- CompositeIndex_READ_WRITE CompositeIndex_State = 2
- CompositeIndex_DELETED CompositeIndex_State = 3
- CompositeIndex_ERROR CompositeIndex_State = 4
-)
-
-var CompositeIndex_State_name = map[int32]string{
- 1: "WRITE_ONLY",
- 2: "READ_WRITE",
- 3: "DELETED",
- 4: "ERROR",
-}
-var CompositeIndex_State_value = map[string]int32{
- "WRITE_ONLY": 1,
- "READ_WRITE": 2,
- "DELETED": 3,
- "ERROR": 4,
-}
-
-func (x CompositeIndex_State) Enum() *CompositeIndex_State {
- p := new(CompositeIndex_State)
- *p = x
- return p
-}
-func (x CompositeIndex_State) String() string {
- return proto.EnumName(CompositeIndex_State_name, int32(x))
-}
-func (x *CompositeIndex_State) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(CompositeIndex_State_value, data, "CompositeIndex_State")
- if err != nil {
- return err
- }
- *x = CompositeIndex_State(value)
- return nil
-}
-func (CompositeIndex_State) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{9, 0}
-}
-
-type Snapshot_Status int32
-
-const (
- Snapshot_INACTIVE Snapshot_Status = 0
- Snapshot_ACTIVE Snapshot_Status = 1
-)
-
-var Snapshot_Status_name = map[int32]string{
- 0: "INACTIVE",
- 1: "ACTIVE",
-}
-var Snapshot_Status_value = map[string]int32{
- "INACTIVE": 0,
- "ACTIVE": 1,
-}
-
-func (x Snapshot_Status) Enum() *Snapshot_Status {
- p := new(Snapshot_Status)
- *p = x
- return p
-}
-func (x Snapshot_Status) String() string {
- return proto.EnumName(Snapshot_Status_name, int32(x))
-}
-func (x *Snapshot_Status) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Snapshot_Status_value, data, "Snapshot_Status")
- if err != nil {
- return err
- }
- *x = Snapshot_Status(value)
- return nil
-}
-func (Snapshot_Status) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{12, 0}
-}
-
-type Query_Hint int32
-
-const (
- Query_ORDER_FIRST Query_Hint = 1
- Query_ANCESTOR_FIRST Query_Hint = 2
- Query_FILTER_FIRST Query_Hint = 3
-)
-
-var Query_Hint_name = map[int32]string{
- 1: "ORDER_FIRST",
- 2: "ANCESTOR_FIRST",
- 3: "FILTER_FIRST",
-}
-var Query_Hint_value = map[string]int32{
- "ORDER_FIRST": 1,
- "ANCESTOR_FIRST": 2,
- "FILTER_FIRST": 3,
-}
-
-func (x Query_Hint) Enum() *Query_Hint {
- p := new(Query_Hint)
- *p = x
- return p
-}
-func (x Query_Hint) String() string {
- return proto.EnumName(Query_Hint_name, int32(x))
-}
-func (x *Query_Hint) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Query_Hint_value, data, "Query_Hint")
- if err != nil {
- return err
- }
- *x = Query_Hint(value)
- return nil
-}
-func (Query_Hint) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{15, 0}
-}
-
-type Query_Filter_Operator int32
-
-const (
- Query_Filter_LESS_THAN Query_Filter_Operator = 1
- Query_Filter_LESS_THAN_OR_EQUAL Query_Filter_Operator = 2
- Query_Filter_GREATER_THAN Query_Filter_Operator = 3
- Query_Filter_GREATER_THAN_OR_EQUAL Query_Filter_Operator = 4
- Query_Filter_EQUAL Query_Filter_Operator = 5
- Query_Filter_IN Query_Filter_Operator = 6
- Query_Filter_EXISTS Query_Filter_Operator = 7
-)
-
-var Query_Filter_Operator_name = map[int32]string{
- 1: "LESS_THAN",
- 2: "LESS_THAN_OR_EQUAL",
- 3: "GREATER_THAN",
- 4: "GREATER_THAN_OR_EQUAL",
- 5: "EQUAL",
- 6: "IN",
- 7: "EXISTS",
-}
-var Query_Filter_Operator_value = map[string]int32{
- "LESS_THAN": 1,
- "LESS_THAN_OR_EQUAL": 2,
- "GREATER_THAN": 3,
- "GREATER_THAN_OR_EQUAL": 4,
- "EQUAL": 5,
- "IN": 6,
- "EXISTS": 7,
-}
-
-func (x Query_Filter_Operator) Enum() *Query_Filter_Operator {
- p := new(Query_Filter_Operator)
- *p = x
- return p
-}
-func (x Query_Filter_Operator) String() string {
- return proto.EnumName(Query_Filter_Operator_name, int32(x))
-}
-func (x *Query_Filter_Operator) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Query_Filter_Operator_value, data, "Query_Filter_Operator")
- if err != nil {
- return err
- }
- *x = Query_Filter_Operator(value)
- return nil
-}
-func (Query_Filter_Operator) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{15, 0, 0}
-}
-
-type Query_Order_Direction int32
-
-const (
- Query_Order_ASCENDING Query_Order_Direction = 1
- Query_Order_DESCENDING Query_Order_Direction = 2
-)
-
-var Query_Order_Direction_name = map[int32]string{
- 1: "ASCENDING",
- 2: "DESCENDING",
-}
-var Query_Order_Direction_value = map[string]int32{
- "ASCENDING": 1,
- "DESCENDING": 2,
-}
-
-func (x Query_Order_Direction) Enum() *Query_Order_Direction {
- p := new(Query_Order_Direction)
- *p = x
- return p
-}
-func (x Query_Order_Direction) String() string {
- return proto.EnumName(Query_Order_Direction_name, int32(x))
-}
-func (x *Query_Order_Direction) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Query_Order_Direction_value, data, "Query_Order_Direction")
- if err != nil {
- return err
- }
- *x = Query_Order_Direction(value)
- return nil
-}
-func (Query_Order_Direction) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{15, 1, 0}
-}
-
-type Error_ErrorCode int32
-
-const (
- Error_BAD_REQUEST Error_ErrorCode = 1
- Error_CONCURRENT_TRANSACTION Error_ErrorCode = 2
- Error_INTERNAL_ERROR Error_ErrorCode = 3
- Error_NEED_INDEX Error_ErrorCode = 4
- Error_TIMEOUT Error_ErrorCode = 5
- Error_PERMISSION_DENIED Error_ErrorCode = 6
- Error_BIGTABLE_ERROR Error_ErrorCode = 7
- Error_COMMITTED_BUT_STILL_APPLYING Error_ErrorCode = 8
- Error_CAPABILITY_DISABLED Error_ErrorCode = 9
- Error_TRY_ALTERNATE_BACKEND Error_ErrorCode = 10
- Error_SAFE_TIME_TOO_OLD Error_ErrorCode = 11
-)
-
-var Error_ErrorCode_name = map[int32]string{
- 1: "BAD_REQUEST",
- 2: "CONCURRENT_TRANSACTION",
- 3: "INTERNAL_ERROR",
- 4: "NEED_INDEX",
- 5: "TIMEOUT",
- 6: "PERMISSION_DENIED",
- 7: "BIGTABLE_ERROR",
- 8: "COMMITTED_BUT_STILL_APPLYING",
- 9: "CAPABILITY_DISABLED",
- 10: "TRY_ALTERNATE_BACKEND",
- 11: "SAFE_TIME_TOO_OLD",
-}
-var Error_ErrorCode_value = map[string]int32{
- "BAD_REQUEST": 1,
- "CONCURRENT_TRANSACTION": 2,
- "INTERNAL_ERROR": 3,
- "NEED_INDEX": 4,
- "TIMEOUT": 5,
- "PERMISSION_DENIED": 6,
- "BIGTABLE_ERROR": 7,
- "COMMITTED_BUT_STILL_APPLYING": 8,
- "CAPABILITY_DISABLED": 9,
- "TRY_ALTERNATE_BACKEND": 10,
- "SAFE_TIME_TOO_OLD": 11,
-}
-
-func (x Error_ErrorCode) Enum() *Error_ErrorCode {
- p := new(Error_ErrorCode)
- *p = x
- return p
-}
-func (x Error_ErrorCode) String() string {
- return proto.EnumName(Error_ErrorCode_name, int32(x))
-}
-func (x *Error_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Error_ErrorCode_value, data, "Error_ErrorCode")
- if err != nil {
- return err
- }
- *x = Error_ErrorCode(value)
- return nil
-}
-func (Error_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{19, 0}
-}
-
-type PutRequest_AutoIdPolicy int32
-
-const (
- PutRequest_CURRENT PutRequest_AutoIdPolicy = 0
- PutRequest_SEQUENTIAL PutRequest_AutoIdPolicy = 1
-)
-
-var PutRequest_AutoIdPolicy_name = map[int32]string{
- 0: "CURRENT",
- 1: "SEQUENTIAL",
-}
-var PutRequest_AutoIdPolicy_value = map[string]int32{
- "CURRENT": 0,
- "SEQUENTIAL": 1,
-}
-
-func (x PutRequest_AutoIdPolicy) Enum() *PutRequest_AutoIdPolicy {
- p := new(PutRequest_AutoIdPolicy)
- *p = x
- return p
-}
-func (x PutRequest_AutoIdPolicy) String() string {
- return proto.EnumName(PutRequest_AutoIdPolicy_name, int32(x))
-}
-func (x *PutRequest_AutoIdPolicy) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(PutRequest_AutoIdPolicy_value, data, "PutRequest_AutoIdPolicy")
- if err != nil {
- return err
- }
- *x = PutRequest_AutoIdPolicy(value)
- return nil
-}
-func (PutRequest_AutoIdPolicy) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{23, 0}
-}
-
-type BeginTransactionRequest_TransactionMode int32
-
-const (
- BeginTransactionRequest_UNKNOWN BeginTransactionRequest_TransactionMode = 0
- BeginTransactionRequest_READ_ONLY BeginTransactionRequest_TransactionMode = 1
- BeginTransactionRequest_READ_WRITE BeginTransactionRequest_TransactionMode = 2
-)
-
-var BeginTransactionRequest_TransactionMode_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "READ_ONLY",
- 2: "READ_WRITE",
-}
-var BeginTransactionRequest_TransactionMode_value = map[string]int32{
- "UNKNOWN": 0,
- "READ_ONLY": 1,
- "READ_WRITE": 2,
-}
-
-func (x BeginTransactionRequest_TransactionMode) Enum() *BeginTransactionRequest_TransactionMode {
- p := new(BeginTransactionRequest_TransactionMode)
- *p = x
- return p
-}
-func (x BeginTransactionRequest_TransactionMode) String() string {
- return proto.EnumName(BeginTransactionRequest_TransactionMode_name, int32(x))
-}
-func (x *BeginTransactionRequest_TransactionMode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(BeginTransactionRequest_TransactionMode_value, data, "BeginTransactionRequest_TransactionMode")
- if err != nil {
- return err
- }
- *x = BeginTransactionRequest_TransactionMode(value)
- return nil
-}
-func (BeginTransactionRequest_TransactionMode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{36, 0}
-}
-
-type Action struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Action) Reset() { *m = Action{} }
-func (m *Action) String() string { return proto.CompactTextString(m) }
-func (*Action) ProtoMessage() {}
-func (*Action) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{0}
-}
-func (m *Action) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Action.Unmarshal(m, b)
-}
-func (m *Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Action.Marshal(b, m, deterministic)
-}
-func (dst *Action) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Action.Merge(dst, src)
-}
-func (m *Action) XXX_Size() int {
- return xxx_messageInfo_Action.Size(m)
-}
-func (m *Action) XXX_DiscardUnknown() {
- xxx_messageInfo_Action.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Action proto.InternalMessageInfo
-
-type PropertyValue struct {
- Int64Value *int64 `protobuf:"varint,1,opt,name=int64Value" json:"int64Value,omitempty"`
- BooleanValue *bool `protobuf:"varint,2,opt,name=booleanValue" json:"booleanValue,omitempty"`
- StringValue *string `protobuf:"bytes,3,opt,name=stringValue" json:"stringValue,omitempty"`
- DoubleValue *float64 `protobuf:"fixed64,4,opt,name=doubleValue" json:"doubleValue,omitempty"`
- Pointvalue *PropertyValue_PointValue `protobuf:"group,5,opt,name=PointValue,json=pointvalue" json:"pointvalue,omitempty"`
- Uservalue *PropertyValue_UserValue `protobuf:"group,8,opt,name=UserValue,json=uservalue" json:"uservalue,omitempty"`
- Referencevalue *PropertyValue_ReferenceValue `protobuf:"group,12,opt,name=ReferenceValue,json=referencevalue" json:"referencevalue,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PropertyValue) Reset() { *m = PropertyValue{} }
-func (m *PropertyValue) String() string { return proto.CompactTextString(m) }
-func (*PropertyValue) ProtoMessage() {}
-func (*PropertyValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{1}
-}
-func (m *PropertyValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PropertyValue.Unmarshal(m, b)
-}
-func (m *PropertyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PropertyValue.Marshal(b, m, deterministic)
-}
-func (dst *PropertyValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PropertyValue.Merge(dst, src)
-}
-func (m *PropertyValue) XXX_Size() int {
- return xxx_messageInfo_PropertyValue.Size(m)
-}
-func (m *PropertyValue) XXX_DiscardUnknown() {
- xxx_messageInfo_PropertyValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PropertyValue proto.InternalMessageInfo
-
-func (m *PropertyValue) GetInt64Value() int64 {
- if m != nil && m.Int64Value != nil {
- return *m.Int64Value
- }
- return 0
-}
-
-func (m *PropertyValue) GetBooleanValue() bool {
- if m != nil && m.BooleanValue != nil {
- return *m.BooleanValue
- }
- return false
-}
-
-func (m *PropertyValue) GetStringValue() string {
- if m != nil && m.StringValue != nil {
- return *m.StringValue
- }
- return ""
-}
-
-func (m *PropertyValue) GetDoubleValue() float64 {
- if m != nil && m.DoubleValue != nil {
- return *m.DoubleValue
- }
- return 0
-}
-
-func (m *PropertyValue) GetPointvalue() *PropertyValue_PointValue {
- if m != nil {
- return m.Pointvalue
- }
- return nil
-}
-
-func (m *PropertyValue) GetUservalue() *PropertyValue_UserValue {
- if m != nil {
- return m.Uservalue
- }
- return nil
-}
-
-func (m *PropertyValue) GetReferencevalue() *PropertyValue_ReferenceValue {
- if m != nil {
- return m.Referencevalue
- }
- return nil
-}
-
-type PropertyValue_PointValue struct {
- X *float64 `protobuf:"fixed64,6,req,name=x" json:"x,omitempty"`
- Y *float64 `protobuf:"fixed64,7,req,name=y" json:"y,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PropertyValue_PointValue) Reset() { *m = PropertyValue_PointValue{} }
-func (m *PropertyValue_PointValue) String() string { return proto.CompactTextString(m) }
-func (*PropertyValue_PointValue) ProtoMessage() {}
-func (*PropertyValue_PointValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{1, 0}
-}
-func (m *PropertyValue_PointValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PropertyValue_PointValue.Unmarshal(m, b)
-}
-func (m *PropertyValue_PointValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PropertyValue_PointValue.Marshal(b, m, deterministic)
-}
-func (dst *PropertyValue_PointValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PropertyValue_PointValue.Merge(dst, src)
-}
-func (m *PropertyValue_PointValue) XXX_Size() int {
- return xxx_messageInfo_PropertyValue_PointValue.Size(m)
-}
-func (m *PropertyValue_PointValue) XXX_DiscardUnknown() {
- xxx_messageInfo_PropertyValue_PointValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PropertyValue_PointValue proto.InternalMessageInfo
-
-func (m *PropertyValue_PointValue) GetX() float64 {
- if m != nil && m.X != nil {
- return *m.X
- }
- return 0
-}
-
-func (m *PropertyValue_PointValue) GetY() float64 {
- if m != nil && m.Y != nil {
- return *m.Y
- }
- return 0
-}
-
-type PropertyValue_UserValue struct {
- Email *string `protobuf:"bytes,9,req,name=email" json:"email,omitempty"`
- AuthDomain *string `protobuf:"bytes,10,req,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
- Nickname *string `protobuf:"bytes,11,opt,name=nickname" json:"nickname,omitempty"`
- FederatedIdentity *string `protobuf:"bytes,21,opt,name=federated_identity,json=federatedIdentity" json:"federated_identity,omitempty"`
- FederatedProvider *string `protobuf:"bytes,22,opt,name=federated_provider,json=federatedProvider" json:"federated_provider,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PropertyValue_UserValue) Reset() { *m = PropertyValue_UserValue{} }
-func (m *PropertyValue_UserValue) String() string { return proto.CompactTextString(m) }
-func (*PropertyValue_UserValue) ProtoMessage() {}
-func (*PropertyValue_UserValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{1, 1}
-}
-func (m *PropertyValue_UserValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PropertyValue_UserValue.Unmarshal(m, b)
-}
-func (m *PropertyValue_UserValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PropertyValue_UserValue.Marshal(b, m, deterministic)
-}
-func (dst *PropertyValue_UserValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PropertyValue_UserValue.Merge(dst, src)
-}
-func (m *PropertyValue_UserValue) XXX_Size() int {
- return xxx_messageInfo_PropertyValue_UserValue.Size(m)
-}
-func (m *PropertyValue_UserValue) XXX_DiscardUnknown() {
- xxx_messageInfo_PropertyValue_UserValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PropertyValue_UserValue proto.InternalMessageInfo
-
-func (m *PropertyValue_UserValue) GetEmail() string {
- if m != nil && m.Email != nil {
- return *m.Email
- }
- return ""
-}
-
-func (m *PropertyValue_UserValue) GetAuthDomain() string {
- if m != nil && m.AuthDomain != nil {
- return *m.AuthDomain
- }
- return ""
-}
-
-func (m *PropertyValue_UserValue) GetNickname() string {
- if m != nil && m.Nickname != nil {
- return *m.Nickname
- }
- return ""
-}
-
-func (m *PropertyValue_UserValue) GetFederatedIdentity() string {
- if m != nil && m.FederatedIdentity != nil {
- return *m.FederatedIdentity
- }
- return ""
-}
-
-func (m *PropertyValue_UserValue) GetFederatedProvider() string {
- if m != nil && m.FederatedProvider != nil {
- return *m.FederatedProvider
- }
- return ""
-}
-
-type PropertyValue_ReferenceValue struct {
- App *string `protobuf:"bytes,13,req,name=app" json:"app,omitempty"`
- NameSpace *string `protobuf:"bytes,20,opt,name=name_space,json=nameSpace" json:"name_space,omitempty"`
- Pathelement []*PropertyValue_ReferenceValue_PathElement `protobuf:"group,14,rep,name=PathElement,json=pathelement" json:"pathelement,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PropertyValue_ReferenceValue) Reset() { *m = PropertyValue_ReferenceValue{} }
-func (m *PropertyValue_ReferenceValue) String() string { return proto.CompactTextString(m) }
-func (*PropertyValue_ReferenceValue) ProtoMessage() {}
-func (*PropertyValue_ReferenceValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{1, 2}
-}
-func (m *PropertyValue_ReferenceValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PropertyValue_ReferenceValue.Unmarshal(m, b)
-}
-func (m *PropertyValue_ReferenceValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PropertyValue_ReferenceValue.Marshal(b, m, deterministic)
-}
-func (dst *PropertyValue_ReferenceValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PropertyValue_ReferenceValue.Merge(dst, src)
-}
-func (m *PropertyValue_ReferenceValue) XXX_Size() int {
- return xxx_messageInfo_PropertyValue_ReferenceValue.Size(m)
-}
-func (m *PropertyValue_ReferenceValue) XXX_DiscardUnknown() {
- xxx_messageInfo_PropertyValue_ReferenceValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PropertyValue_ReferenceValue proto.InternalMessageInfo
-
-func (m *PropertyValue_ReferenceValue) GetApp() string {
- if m != nil && m.App != nil {
- return *m.App
- }
- return ""
-}
-
-func (m *PropertyValue_ReferenceValue) GetNameSpace() string {
- if m != nil && m.NameSpace != nil {
- return *m.NameSpace
- }
- return ""
-}
-
-func (m *PropertyValue_ReferenceValue) GetPathelement() []*PropertyValue_ReferenceValue_PathElement {
- if m != nil {
- return m.Pathelement
- }
- return nil
-}
-
-type PropertyValue_ReferenceValue_PathElement struct {
- Type *string `protobuf:"bytes,15,req,name=type" json:"type,omitempty"`
- Id *int64 `protobuf:"varint,16,opt,name=id" json:"id,omitempty"`
- Name *string `protobuf:"bytes,17,opt,name=name" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PropertyValue_ReferenceValue_PathElement) Reset() {
- *m = PropertyValue_ReferenceValue_PathElement{}
-}
-func (m *PropertyValue_ReferenceValue_PathElement) String() string { return proto.CompactTextString(m) }
-func (*PropertyValue_ReferenceValue_PathElement) ProtoMessage() {}
-func (*PropertyValue_ReferenceValue_PathElement) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{1, 2, 0}
-}
-func (m *PropertyValue_ReferenceValue_PathElement) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PropertyValue_ReferenceValue_PathElement.Unmarshal(m, b)
-}
-func (m *PropertyValue_ReferenceValue_PathElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PropertyValue_ReferenceValue_PathElement.Marshal(b, m, deterministic)
-}
-func (dst *PropertyValue_ReferenceValue_PathElement) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PropertyValue_ReferenceValue_PathElement.Merge(dst, src)
-}
-func (m *PropertyValue_ReferenceValue_PathElement) XXX_Size() int {
- return xxx_messageInfo_PropertyValue_ReferenceValue_PathElement.Size(m)
-}
-func (m *PropertyValue_ReferenceValue_PathElement) XXX_DiscardUnknown() {
- xxx_messageInfo_PropertyValue_ReferenceValue_PathElement.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PropertyValue_ReferenceValue_PathElement proto.InternalMessageInfo
-
-func (m *PropertyValue_ReferenceValue_PathElement) GetType() string {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return ""
-}
-
-func (m *PropertyValue_ReferenceValue_PathElement) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
- }
- return 0
-}
-
-func (m *PropertyValue_ReferenceValue_PathElement) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-type Property struct {
- Meaning *Property_Meaning `protobuf:"varint,1,opt,name=meaning,enum=appengine.Property_Meaning,def=0" json:"meaning,omitempty"`
- MeaningUri *string `protobuf:"bytes,2,opt,name=meaning_uri,json=meaningUri" json:"meaning_uri,omitempty"`
- Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"`
- Value *PropertyValue `protobuf:"bytes,5,req,name=value" json:"value,omitempty"`
- Multiple *bool `protobuf:"varint,4,req,name=multiple" json:"multiple,omitempty"`
- Searchable *bool `protobuf:"varint,6,opt,name=searchable,def=0" json:"searchable,omitempty"`
- FtsTokenizationOption *Property_FtsTokenizationOption `protobuf:"varint,8,opt,name=fts_tokenization_option,json=ftsTokenizationOption,enum=appengine.Property_FtsTokenizationOption" json:"fts_tokenization_option,omitempty"`
- Locale *string `protobuf:"bytes,9,opt,name=locale,def=en" json:"locale,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Property) Reset() { *m = Property{} }
-func (m *Property) String() string { return proto.CompactTextString(m) }
-func (*Property) ProtoMessage() {}
-func (*Property) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{2}
-}
-func (m *Property) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Property.Unmarshal(m, b)
-}
-func (m *Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Property.Marshal(b, m, deterministic)
-}
-func (dst *Property) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Property.Merge(dst, src)
-}
-func (m *Property) XXX_Size() int {
- return xxx_messageInfo_Property.Size(m)
-}
-func (m *Property) XXX_DiscardUnknown() {
- xxx_messageInfo_Property.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Property proto.InternalMessageInfo
-
-const Default_Property_Meaning Property_Meaning = Property_NO_MEANING
-const Default_Property_Searchable bool = false
-const Default_Property_Locale string = "en"
-
-func (m *Property) GetMeaning() Property_Meaning {
- if m != nil && m.Meaning != nil {
- return *m.Meaning
- }
- return Default_Property_Meaning
-}
-
-func (m *Property) GetMeaningUri() string {
- if m != nil && m.MeaningUri != nil {
- return *m.MeaningUri
- }
- return ""
-}
-
-func (m *Property) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *Property) GetValue() *PropertyValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-func (m *Property) GetMultiple() bool {
- if m != nil && m.Multiple != nil {
- return *m.Multiple
- }
- return false
-}
-
-func (m *Property) GetSearchable() bool {
- if m != nil && m.Searchable != nil {
- return *m.Searchable
- }
- return Default_Property_Searchable
-}
-
-func (m *Property) GetFtsTokenizationOption() Property_FtsTokenizationOption {
- if m != nil && m.FtsTokenizationOption != nil {
- return *m.FtsTokenizationOption
- }
- return Property_HTML
-}
-
-func (m *Property) GetLocale() string {
- if m != nil && m.Locale != nil {
- return *m.Locale
- }
- return Default_Property_Locale
-}
-
-type Path struct {
- Element []*Path_Element `protobuf:"group,1,rep,name=Element,json=element" json:"element,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Path) Reset() { *m = Path{} }
-func (m *Path) String() string { return proto.CompactTextString(m) }
-func (*Path) ProtoMessage() {}
-func (*Path) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{3}
-}
-func (m *Path) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Path.Unmarshal(m, b)
-}
-func (m *Path) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Path.Marshal(b, m, deterministic)
-}
-func (dst *Path) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Path.Merge(dst, src)
-}
-func (m *Path) XXX_Size() int {
- return xxx_messageInfo_Path.Size(m)
-}
-func (m *Path) XXX_DiscardUnknown() {
- xxx_messageInfo_Path.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Path proto.InternalMessageInfo
-
-func (m *Path) GetElement() []*Path_Element {
- if m != nil {
- return m.Element
- }
- return nil
-}
-
-type Path_Element struct {
- Type *string `protobuf:"bytes,2,req,name=type" json:"type,omitempty"`
- Id *int64 `protobuf:"varint,3,opt,name=id" json:"id,omitempty"`
- Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Path_Element) Reset() { *m = Path_Element{} }
-func (m *Path_Element) String() string { return proto.CompactTextString(m) }
-func (*Path_Element) ProtoMessage() {}
-func (*Path_Element) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{3, 0}
-}
-func (m *Path_Element) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Path_Element.Unmarshal(m, b)
-}
-func (m *Path_Element) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Path_Element.Marshal(b, m, deterministic)
-}
-func (dst *Path_Element) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Path_Element.Merge(dst, src)
-}
-func (m *Path_Element) XXX_Size() int {
- return xxx_messageInfo_Path_Element.Size(m)
-}
-func (m *Path_Element) XXX_DiscardUnknown() {
- xxx_messageInfo_Path_Element.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Path_Element proto.InternalMessageInfo
-
-func (m *Path_Element) GetType() string {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return ""
-}
-
-func (m *Path_Element) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
- }
- return 0
-}
-
-func (m *Path_Element) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-type Reference struct {
- App *string `protobuf:"bytes,13,req,name=app" json:"app,omitempty"`
- NameSpace *string `protobuf:"bytes,20,opt,name=name_space,json=nameSpace" json:"name_space,omitempty"`
- Path *Path `protobuf:"bytes,14,req,name=path" json:"path,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Reference) Reset() { *m = Reference{} }
-func (m *Reference) String() string { return proto.CompactTextString(m) }
-func (*Reference) ProtoMessage() {}
-func (*Reference) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{4}
-}
-func (m *Reference) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Reference.Unmarshal(m, b)
-}
-func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Reference.Marshal(b, m, deterministic)
-}
-func (dst *Reference) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Reference.Merge(dst, src)
-}
-func (m *Reference) XXX_Size() int {
- return xxx_messageInfo_Reference.Size(m)
-}
-func (m *Reference) XXX_DiscardUnknown() {
- xxx_messageInfo_Reference.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Reference proto.InternalMessageInfo
-
-func (m *Reference) GetApp() string {
- if m != nil && m.App != nil {
- return *m.App
- }
- return ""
-}
-
-func (m *Reference) GetNameSpace() string {
- if m != nil && m.NameSpace != nil {
- return *m.NameSpace
- }
- return ""
-}
-
-func (m *Reference) GetPath() *Path {
- if m != nil {
- return m.Path
- }
- return nil
-}
-
-type User struct {
- Email *string `protobuf:"bytes,1,req,name=email" json:"email,omitempty"`
- AuthDomain *string `protobuf:"bytes,2,req,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
- Nickname *string `protobuf:"bytes,3,opt,name=nickname" json:"nickname,omitempty"`
- FederatedIdentity *string `protobuf:"bytes,6,opt,name=federated_identity,json=federatedIdentity" json:"federated_identity,omitempty"`
- FederatedProvider *string `protobuf:"bytes,7,opt,name=federated_provider,json=federatedProvider" json:"federated_provider,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *User) Reset() { *m = User{} }
-func (m *User) String() string { return proto.CompactTextString(m) }
-func (*User) ProtoMessage() {}
-func (*User) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{5}
-}
-func (m *User) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_User.Unmarshal(m, b)
-}
-func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_User.Marshal(b, m, deterministic)
-}
-func (dst *User) XXX_Merge(src proto.Message) {
- xxx_messageInfo_User.Merge(dst, src)
-}
-func (m *User) XXX_Size() int {
- return xxx_messageInfo_User.Size(m)
-}
-func (m *User) XXX_DiscardUnknown() {
- xxx_messageInfo_User.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_User proto.InternalMessageInfo
-
-func (m *User) GetEmail() string {
- if m != nil && m.Email != nil {
- return *m.Email
- }
- return ""
-}
-
-func (m *User) GetAuthDomain() string {
- if m != nil && m.AuthDomain != nil {
- return *m.AuthDomain
- }
- return ""
-}
-
-func (m *User) GetNickname() string {
- if m != nil && m.Nickname != nil {
- return *m.Nickname
- }
- return ""
-}
-
-func (m *User) GetFederatedIdentity() string {
- if m != nil && m.FederatedIdentity != nil {
- return *m.FederatedIdentity
- }
- return ""
-}
-
-func (m *User) GetFederatedProvider() string {
- if m != nil && m.FederatedProvider != nil {
- return *m.FederatedProvider
- }
- return ""
-}
-
-type EntityProto struct {
- Key *Reference `protobuf:"bytes,13,req,name=key" json:"key,omitempty"`
- EntityGroup *Path `protobuf:"bytes,16,req,name=entity_group,json=entityGroup" json:"entity_group,omitempty"`
- Owner *User `protobuf:"bytes,17,opt,name=owner" json:"owner,omitempty"`
- Kind *EntityProto_Kind `protobuf:"varint,4,opt,name=kind,enum=appengine.EntityProto_Kind" json:"kind,omitempty"`
- KindUri *string `protobuf:"bytes,5,opt,name=kind_uri,json=kindUri" json:"kind_uri,omitempty"`
- Property []*Property `protobuf:"bytes,14,rep,name=property" json:"property,omitempty"`
- RawProperty []*Property `protobuf:"bytes,15,rep,name=raw_property,json=rawProperty" json:"raw_property,omitempty"`
- Rank *int32 `protobuf:"varint,18,opt,name=rank" json:"rank,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *EntityProto) Reset() { *m = EntityProto{} }
-func (m *EntityProto) String() string { return proto.CompactTextString(m) }
-func (*EntityProto) ProtoMessage() {}
-func (*EntityProto) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{6}
-}
-func (m *EntityProto) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_EntityProto.Unmarshal(m, b)
-}
-func (m *EntityProto) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_EntityProto.Marshal(b, m, deterministic)
-}
-func (dst *EntityProto) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EntityProto.Merge(dst, src)
-}
-func (m *EntityProto) XXX_Size() int {
- return xxx_messageInfo_EntityProto.Size(m)
-}
-func (m *EntityProto) XXX_DiscardUnknown() {
- xxx_messageInfo_EntityProto.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_EntityProto proto.InternalMessageInfo
-
-func (m *EntityProto) GetKey() *Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *EntityProto) GetEntityGroup() *Path {
- if m != nil {
- return m.EntityGroup
- }
- return nil
-}
-
-func (m *EntityProto) GetOwner() *User {
- if m != nil {
- return m.Owner
- }
- return nil
-}
-
-func (m *EntityProto) GetKind() EntityProto_Kind {
- if m != nil && m.Kind != nil {
- return *m.Kind
- }
- return EntityProto_GD_CONTACT
-}
-
-func (m *EntityProto) GetKindUri() string {
- if m != nil && m.KindUri != nil {
- return *m.KindUri
- }
- return ""
-}
-
-func (m *EntityProto) GetProperty() []*Property {
- if m != nil {
- return m.Property
- }
- return nil
-}
-
-func (m *EntityProto) GetRawProperty() []*Property {
- if m != nil {
- return m.RawProperty
- }
- return nil
-}
-
-func (m *EntityProto) GetRank() int32 {
- if m != nil && m.Rank != nil {
- return *m.Rank
- }
- return 0
-}
-
-type CompositeProperty struct {
- IndexId *int64 `protobuf:"varint,1,req,name=index_id,json=indexId" json:"index_id,omitempty"`
- Value []string `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompositeProperty) Reset() { *m = CompositeProperty{} }
-func (m *CompositeProperty) String() string { return proto.CompactTextString(m) }
-func (*CompositeProperty) ProtoMessage() {}
-func (*CompositeProperty) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{7}
-}
-func (m *CompositeProperty) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompositeProperty.Unmarshal(m, b)
-}
-func (m *CompositeProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompositeProperty.Marshal(b, m, deterministic)
-}
-func (dst *CompositeProperty) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompositeProperty.Merge(dst, src)
-}
-func (m *CompositeProperty) XXX_Size() int {
- return xxx_messageInfo_CompositeProperty.Size(m)
-}
-func (m *CompositeProperty) XXX_DiscardUnknown() {
- xxx_messageInfo_CompositeProperty.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompositeProperty proto.InternalMessageInfo
-
-func (m *CompositeProperty) GetIndexId() int64 {
- if m != nil && m.IndexId != nil {
- return *m.IndexId
- }
- return 0
-}
-
-func (m *CompositeProperty) GetValue() []string {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-type Index struct {
- EntityType *string `protobuf:"bytes,1,req,name=entity_type,json=entityType" json:"entity_type,omitempty"`
- Ancestor *bool `protobuf:"varint,5,req,name=ancestor" json:"ancestor,omitempty"`
- Property []*Index_Property `protobuf:"group,2,rep,name=Property,json=property" json:"property,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Index) Reset() { *m = Index{} }
-func (m *Index) String() string { return proto.CompactTextString(m) }
-func (*Index) ProtoMessage() {}
-func (*Index) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{8}
-}
-func (m *Index) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Index.Unmarshal(m, b)
-}
-func (m *Index) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Index.Marshal(b, m, deterministic)
-}
-func (dst *Index) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Index.Merge(dst, src)
-}
-func (m *Index) XXX_Size() int {
- return xxx_messageInfo_Index.Size(m)
-}
-func (m *Index) XXX_DiscardUnknown() {
- xxx_messageInfo_Index.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Index proto.InternalMessageInfo
-
-func (m *Index) GetEntityType() string {
- if m != nil && m.EntityType != nil {
- return *m.EntityType
- }
- return ""
-}
-
-func (m *Index) GetAncestor() bool {
- if m != nil && m.Ancestor != nil {
- return *m.Ancestor
- }
- return false
-}
-
-func (m *Index) GetProperty() []*Index_Property {
- if m != nil {
- return m.Property
- }
- return nil
-}
-
-type Index_Property struct {
- Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"`
- Direction *Index_Property_Direction `protobuf:"varint,4,opt,name=direction,enum=appengine.Index_Property_Direction,def=1" json:"direction,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Index_Property) Reset() { *m = Index_Property{} }
-func (m *Index_Property) String() string { return proto.CompactTextString(m) }
-func (*Index_Property) ProtoMessage() {}
-func (*Index_Property) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{8, 0}
-}
-func (m *Index_Property) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Index_Property.Unmarshal(m, b)
-}
-func (m *Index_Property) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Index_Property.Marshal(b, m, deterministic)
-}
-func (dst *Index_Property) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Index_Property.Merge(dst, src)
-}
-func (m *Index_Property) XXX_Size() int {
- return xxx_messageInfo_Index_Property.Size(m)
-}
-func (m *Index_Property) XXX_DiscardUnknown() {
- xxx_messageInfo_Index_Property.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Index_Property proto.InternalMessageInfo
-
-const Default_Index_Property_Direction Index_Property_Direction = Index_Property_ASCENDING
-
-func (m *Index_Property) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *Index_Property) GetDirection() Index_Property_Direction {
- if m != nil && m.Direction != nil {
- return *m.Direction
- }
- return Default_Index_Property_Direction
-}
-
-type CompositeIndex struct {
- AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
- Id *int64 `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
- Definition *Index `protobuf:"bytes,3,req,name=definition" json:"definition,omitempty"`
- State *CompositeIndex_State `protobuf:"varint,4,req,name=state,enum=appengine.CompositeIndex_State" json:"state,omitempty"`
- OnlyUseIfRequired *bool `protobuf:"varint,6,opt,name=only_use_if_required,json=onlyUseIfRequired,def=0" json:"only_use_if_required,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompositeIndex) Reset() { *m = CompositeIndex{} }
-func (m *CompositeIndex) String() string { return proto.CompactTextString(m) }
-func (*CompositeIndex) ProtoMessage() {}
-func (*CompositeIndex) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{9}
-}
-func (m *CompositeIndex) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompositeIndex.Unmarshal(m, b)
-}
-func (m *CompositeIndex) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompositeIndex.Marshal(b, m, deterministic)
-}
-func (dst *CompositeIndex) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompositeIndex.Merge(dst, src)
-}
-func (m *CompositeIndex) XXX_Size() int {
- return xxx_messageInfo_CompositeIndex.Size(m)
-}
-func (m *CompositeIndex) XXX_DiscardUnknown() {
- xxx_messageInfo_CompositeIndex.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompositeIndex proto.InternalMessageInfo
-
-const Default_CompositeIndex_OnlyUseIfRequired bool = false
-
-func (m *CompositeIndex) GetAppId() string {
- if m != nil && m.AppId != nil {
- return *m.AppId
- }
- return ""
-}
-
-func (m *CompositeIndex) GetId() int64 {
- if m != nil && m.Id != nil {
- return *m.Id
- }
- return 0
-}
-
-func (m *CompositeIndex) GetDefinition() *Index {
- if m != nil {
- return m.Definition
- }
- return nil
-}
-
-func (m *CompositeIndex) GetState() CompositeIndex_State {
- if m != nil && m.State != nil {
- return *m.State
- }
- return CompositeIndex_WRITE_ONLY
-}
-
-func (m *CompositeIndex) GetOnlyUseIfRequired() bool {
- if m != nil && m.OnlyUseIfRequired != nil {
- return *m.OnlyUseIfRequired
- }
- return Default_CompositeIndex_OnlyUseIfRequired
-}
-
-type IndexPostfix struct {
- IndexValue []*IndexPostfix_IndexValue `protobuf:"bytes,1,rep,name=index_value,json=indexValue" json:"index_value,omitempty"`
- Key *Reference `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
- Before *bool `protobuf:"varint,3,opt,name=before,def=1" json:"before,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *IndexPostfix) Reset() { *m = IndexPostfix{} }
-func (m *IndexPostfix) String() string { return proto.CompactTextString(m) }
-func (*IndexPostfix) ProtoMessage() {}
-func (*IndexPostfix) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{10}
-}
-func (m *IndexPostfix) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexPostfix.Unmarshal(m, b)
-}
-func (m *IndexPostfix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexPostfix.Marshal(b, m, deterministic)
-}
-func (dst *IndexPostfix) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexPostfix.Merge(dst, src)
-}
-func (m *IndexPostfix) XXX_Size() int {
- return xxx_messageInfo_IndexPostfix.Size(m)
-}
-func (m *IndexPostfix) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexPostfix.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexPostfix proto.InternalMessageInfo
-
-const Default_IndexPostfix_Before bool = true
-
-func (m *IndexPostfix) GetIndexValue() []*IndexPostfix_IndexValue {
- if m != nil {
- return m.IndexValue
- }
- return nil
-}
-
-func (m *IndexPostfix) GetKey() *Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *IndexPostfix) GetBefore() bool {
- if m != nil && m.Before != nil {
- return *m.Before
- }
- return Default_IndexPostfix_Before
-}
-
-type IndexPostfix_IndexValue struct {
- PropertyName *string `protobuf:"bytes,1,req,name=property_name,json=propertyName" json:"property_name,omitempty"`
- Value *PropertyValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *IndexPostfix_IndexValue) Reset() { *m = IndexPostfix_IndexValue{} }
-func (m *IndexPostfix_IndexValue) String() string { return proto.CompactTextString(m) }
-func (*IndexPostfix_IndexValue) ProtoMessage() {}
-func (*IndexPostfix_IndexValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{10, 0}
-}
-func (m *IndexPostfix_IndexValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexPostfix_IndexValue.Unmarshal(m, b)
-}
-func (m *IndexPostfix_IndexValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexPostfix_IndexValue.Marshal(b, m, deterministic)
-}
-func (dst *IndexPostfix_IndexValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexPostfix_IndexValue.Merge(dst, src)
-}
-func (m *IndexPostfix_IndexValue) XXX_Size() int {
- return xxx_messageInfo_IndexPostfix_IndexValue.Size(m)
-}
-func (m *IndexPostfix_IndexValue) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexPostfix_IndexValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexPostfix_IndexValue proto.InternalMessageInfo
-
-func (m *IndexPostfix_IndexValue) GetPropertyName() string {
- if m != nil && m.PropertyName != nil {
- return *m.PropertyName
- }
- return ""
-}
-
-func (m *IndexPostfix_IndexValue) GetValue() *PropertyValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-type IndexPosition struct {
- Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"`
- Before *bool `protobuf:"varint,2,opt,name=before,def=1" json:"before,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *IndexPosition) Reset() { *m = IndexPosition{} }
-func (m *IndexPosition) String() string { return proto.CompactTextString(m) }
-func (*IndexPosition) ProtoMessage() {}
-func (*IndexPosition) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{11}
-}
-func (m *IndexPosition) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexPosition.Unmarshal(m, b)
-}
-func (m *IndexPosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexPosition.Marshal(b, m, deterministic)
-}
-func (dst *IndexPosition) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexPosition.Merge(dst, src)
-}
-func (m *IndexPosition) XXX_Size() int {
- return xxx_messageInfo_IndexPosition.Size(m)
-}
-func (m *IndexPosition) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexPosition.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexPosition proto.InternalMessageInfo
-
-const Default_IndexPosition_Before bool = true
-
-func (m *IndexPosition) GetKey() string {
- if m != nil && m.Key != nil {
- return *m.Key
- }
- return ""
-}
-
-func (m *IndexPosition) GetBefore() bool {
- if m != nil && m.Before != nil {
- return *m.Before
- }
- return Default_IndexPosition_Before
-}
-
-type Snapshot struct {
- Ts *int64 `protobuf:"varint,1,req,name=ts" json:"ts,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Snapshot) Reset() { *m = Snapshot{} }
-func (m *Snapshot) String() string { return proto.CompactTextString(m) }
-func (*Snapshot) ProtoMessage() {}
-func (*Snapshot) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{12}
-}
-func (m *Snapshot) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Snapshot.Unmarshal(m, b)
-}
-func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic)
-}
-func (dst *Snapshot) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Snapshot.Merge(dst, src)
-}
-func (m *Snapshot) XXX_Size() int {
- return xxx_messageInfo_Snapshot.Size(m)
-}
-func (m *Snapshot) XXX_DiscardUnknown() {
- xxx_messageInfo_Snapshot.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Snapshot proto.InternalMessageInfo
-
-func (m *Snapshot) GetTs() int64 {
- if m != nil && m.Ts != nil {
- return *m.Ts
- }
- return 0
-}
-
-type InternalHeader struct {
- Qos *string `protobuf:"bytes,1,opt,name=qos" json:"qos,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *InternalHeader) Reset() { *m = InternalHeader{} }
-func (m *InternalHeader) String() string { return proto.CompactTextString(m) }
-func (*InternalHeader) ProtoMessage() {}
-func (*InternalHeader) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{13}
-}
-func (m *InternalHeader) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_InternalHeader.Unmarshal(m, b)
-}
-func (m *InternalHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_InternalHeader.Marshal(b, m, deterministic)
-}
-func (dst *InternalHeader) XXX_Merge(src proto.Message) {
- xxx_messageInfo_InternalHeader.Merge(dst, src)
-}
-func (m *InternalHeader) XXX_Size() int {
- return xxx_messageInfo_InternalHeader.Size(m)
-}
-func (m *InternalHeader) XXX_DiscardUnknown() {
- xxx_messageInfo_InternalHeader.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_InternalHeader proto.InternalMessageInfo
-
-func (m *InternalHeader) GetQos() string {
- if m != nil && m.Qos != nil {
- return *m.Qos
- }
- return ""
-}
-
-type Transaction struct {
- Header *InternalHeader `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"`
- Handle *uint64 `protobuf:"fixed64,1,req,name=handle" json:"handle,omitempty"`
- App *string `protobuf:"bytes,2,req,name=app" json:"app,omitempty"`
- MarkChanges *bool `protobuf:"varint,3,opt,name=mark_changes,json=markChanges,def=0" json:"mark_changes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Transaction) Reset() { *m = Transaction{} }
-func (m *Transaction) String() string { return proto.CompactTextString(m) }
-func (*Transaction) ProtoMessage() {}
-func (*Transaction) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{14}
-}
-func (m *Transaction) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Transaction.Unmarshal(m, b)
-}
-func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Transaction.Marshal(b, m, deterministic)
-}
-func (dst *Transaction) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Transaction.Merge(dst, src)
-}
-func (m *Transaction) XXX_Size() int {
- return xxx_messageInfo_Transaction.Size(m)
-}
-func (m *Transaction) XXX_DiscardUnknown() {
- xxx_messageInfo_Transaction.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Transaction proto.InternalMessageInfo
-
-const Default_Transaction_MarkChanges bool = false
-
-func (m *Transaction) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *Transaction) GetHandle() uint64 {
- if m != nil && m.Handle != nil {
- return *m.Handle
- }
- return 0
-}
-
-func (m *Transaction) GetApp() string {
- if m != nil && m.App != nil {
- return *m.App
- }
- return ""
-}
-
-func (m *Transaction) GetMarkChanges() bool {
- if m != nil && m.MarkChanges != nil {
- return *m.MarkChanges
- }
- return Default_Transaction_MarkChanges
-}
-
-type Query struct {
- Header *InternalHeader `protobuf:"bytes,39,opt,name=header" json:"header,omitempty"`
- App *string `protobuf:"bytes,1,req,name=app" json:"app,omitempty"`
- NameSpace *string `protobuf:"bytes,29,opt,name=name_space,json=nameSpace" json:"name_space,omitempty"`
- Kind *string `protobuf:"bytes,3,opt,name=kind" json:"kind,omitempty"`
- Ancestor *Reference `protobuf:"bytes,17,opt,name=ancestor" json:"ancestor,omitempty"`
- Filter []*Query_Filter `protobuf:"group,4,rep,name=Filter,json=filter" json:"filter,omitempty"`
- SearchQuery *string `protobuf:"bytes,8,opt,name=search_query,json=searchQuery" json:"search_query,omitempty"`
- Order []*Query_Order `protobuf:"group,9,rep,name=Order,json=order" json:"order,omitempty"`
- Hint *Query_Hint `protobuf:"varint,18,opt,name=hint,enum=appengine.Query_Hint" json:"hint,omitempty"`
- Count *int32 `protobuf:"varint,23,opt,name=count" json:"count,omitempty"`
- Offset *int32 `protobuf:"varint,12,opt,name=offset,def=0" json:"offset,omitempty"`
- Limit *int32 `protobuf:"varint,16,opt,name=limit" json:"limit,omitempty"`
- CompiledCursor *CompiledCursor `protobuf:"bytes,30,opt,name=compiled_cursor,json=compiledCursor" json:"compiled_cursor,omitempty"`
- EndCompiledCursor *CompiledCursor `protobuf:"bytes,31,opt,name=end_compiled_cursor,json=endCompiledCursor" json:"end_compiled_cursor,omitempty"`
- CompositeIndex []*CompositeIndex `protobuf:"bytes,19,rep,name=composite_index,json=compositeIndex" json:"composite_index,omitempty"`
- RequirePerfectPlan *bool `protobuf:"varint,20,opt,name=require_perfect_plan,json=requirePerfectPlan,def=0" json:"require_perfect_plan,omitempty"`
- KeysOnly *bool `protobuf:"varint,21,opt,name=keys_only,json=keysOnly,def=0" json:"keys_only,omitempty"`
- Transaction *Transaction `protobuf:"bytes,22,opt,name=transaction" json:"transaction,omitempty"`
- Compile *bool `protobuf:"varint,25,opt,name=compile,def=0" json:"compile,omitempty"`
- FailoverMs *int64 `protobuf:"varint,26,opt,name=failover_ms,json=failoverMs" json:"failover_ms,omitempty"`
- Strong *bool `protobuf:"varint,32,opt,name=strong" json:"strong,omitempty"`
- PropertyName []string `protobuf:"bytes,33,rep,name=property_name,json=propertyName" json:"property_name,omitempty"`
- GroupByPropertyName []string `protobuf:"bytes,34,rep,name=group_by_property_name,json=groupByPropertyName" json:"group_by_property_name,omitempty"`
- Distinct *bool `protobuf:"varint,24,opt,name=distinct" json:"distinct,omitempty"`
- MinSafeTimeSeconds *int64 `protobuf:"varint,35,opt,name=min_safe_time_seconds,json=minSafeTimeSeconds" json:"min_safe_time_seconds,omitempty"`
- SafeReplicaName []string `protobuf:"bytes,36,rep,name=safe_replica_name,json=safeReplicaName" json:"safe_replica_name,omitempty"`
- PersistOffset *bool `protobuf:"varint,37,opt,name=persist_offset,json=persistOffset,def=0" json:"persist_offset,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Query) Reset() { *m = Query{} }
-func (m *Query) String() string { return proto.CompactTextString(m) }
-func (*Query) ProtoMessage() {}
-func (*Query) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{15}
-}
-func (m *Query) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Query.Unmarshal(m, b)
-}
-func (m *Query) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Query.Marshal(b, m, deterministic)
-}
-func (dst *Query) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Query.Merge(dst, src)
-}
-func (m *Query) XXX_Size() int {
- return xxx_messageInfo_Query.Size(m)
-}
-func (m *Query) XXX_DiscardUnknown() {
- xxx_messageInfo_Query.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Query proto.InternalMessageInfo
-
-const Default_Query_Offset int32 = 0
-const Default_Query_RequirePerfectPlan bool = false
-const Default_Query_KeysOnly bool = false
-const Default_Query_Compile bool = false
-const Default_Query_PersistOffset bool = false
-
-func (m *Query) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *Query) GetApp() string {
- if m != nil && m.App != nil {
- return *m.App
- }
- return ""
-}
-
-func (m *Query) GetNameSpace() string {
- if m != nil && m.NameSpace != nil {
- return *m.NameSpace
- }
- return ""
-}
-
-func (m *Query) GetKind() string {
- if m != nil && m.Kind != nil {
- return *m.Kind
- }
- return ""
-}
-
-func (m *Query) GetAncestor() *Reference {
- if m != nil {
- return m.Ancestor
- }
- return nil
-}
-
-func (m *Query) GetFilter() []*Query_Filter {
- if m != nil {
- return m.Filter
- }
- return nil
-}
-
-func (m *Query) GetSearchQuery() string {
- if m != nil && m.SearchQuery != nil {
- return *m.SearchQuery
- }
- return ""
-}
-
-func (m *Query) GetOrder() []*Query_Order {
- if m != nil {
- return m.Order
- }
- return nil
-}
-
-func (m *Query) GetHint() Query_Hint {
- if m != nil && m.Hint != nil {
- return *m.Hint
- }
- return Query_ORDER_FIRST
-}
-
-func (m *Query) GetCount() int32 {
- if m != nil && m.Count != nil {
- return *m.Count
- }
- return 0
-}
-
-func (m *Query) GetOffset() int32 {
- if m != nil && m.Offset != nil {
- return *m.Offset
- }
- return Default_Query_Offset
-}
-
-func (m *Query) GetLimit() int32 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return 0
-}
-
-func (m *Query) GetCompiledCursor() *CompiledCursor {
- if m != nil {
- return m.CompiledCursor
- }
- return nil
-}
-
-func (m *Query) GetEndCompiledCursor() *CompiledCursor {
- if m != nil {
- return m.EndCompiledCursor
- }
- return nil
-}
-
-func (m *Query) GetCompositeIndex() []*CompositeIndex {
- if m != nil {
- return m.CompositeIndex
- }
- return nil
-}
-
-func (m *Query) GetRequirePerfectPlan() bool {
- if m != nil && m.RequirePerfectPlan != nil {
- return *m.RequirePerfectPlan
- }
- return Default_Query_RequirePerfectPlan
-}
-
-func (m *Query) GetKeysOnly() bool {
- if m != nil && m.KeysOnly != nil {
- return *m.KeysOnly
- }
- return Default_Query_KeysOnly
-}
-
-func (m *Query) GetTransaction() *Transaction {
- if m != nil {
- return m.Transaction
- }
- return nil
-}
-
-func (m *Query) GetCompile() bool {
- if m != nil && m.Compile != nil {
- return *m.Compile
- }
- return Default_Query_Compile
-}
-
-func (m *Query) GetFailoverMs() int64 {
- if m != nil && m.FailoverMs != nil {
- return *m.FailoverMs
- }
- return 0
-}
-
-func (m *Query) GetStrong() bool {
- if m != nil && m.Strong != nil {
- return *m.Strong
- }
- return false
-}
-
-func (m *Query) GetPropertyName() []string {
- if m != nil {
- return m.PropertyName
- }
- return nil
-}
-
-func (m *Query) GetGroupByPropertyName() []string {
- if m != nil {
- return m.GroupByPropertyName
- }
- return nil
-}
-
-func (m *Query) GetDistinct() bool {
- if m != nil && m.Distinct != nil {
- return *m.Distinct
- }
- return false
-}
-
-func (m *Query) GetMinSafeTimeSeconds() int64 {
- if m != nil && m.MinSafeTimeSeconds != nil {
- return *m.MinSafeTimeSeconds
- }
- return 0
-}
-
-func (m *Query) GetSafeReplicaName() []string {
- if m != nil {
- return m.SafeReplicaName
- }
- return nil
-}
-
-func (m *Query) GetPersistOffset() bool {
- if m != nil && m.PersistOffset != nil {
- return *m.PersistOffset
- }
- return Default_Query_PersistOffset
-}
-
-type Query_Filter struct {
- Op *Query_Filter_Operator `protobuf:"varint,6,req,name=op,enum=appengine.Query_Filter_Operator" json:"op,omitempty"`
- Property []*Property `protobuf:"bytes,14,rep,name=property" json:"property,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Query_Filter) Reset() { *m = Query_Filter{} }
-func (m *Query_Filter) String() string { return proto.CompactTextString(m) }
-func (*Query_Filter) ProtoMessage() {}
-func (*Query_Filter) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{15, 0}
-}
-func (m *Query_Filter) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Query_Filter.Unmarshal(m, b)
-}
-func (m *Query_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Query_Filter.Marshal(b, m, deterministic)
-}
-func (dst *Query_Filter) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Query_Filter.Merge(dst, src)
-}
-func (m *Query_Filter) XXX_Size() int {
- return xxx_messageInfo_Query_Filter.Size(m)
-}
-func (m *Query_Filter) XXX_DiscardUnknown() {
- xxx_messageInfo_Query_Filter.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Query_Filter proto.InternalMessageInfo
-
-func (m *Query_Filter) GetOp() Query_Filter_Operator {
- if m != nil && m.Op != nil {
- return *m.Op
- }
- return Query_Filter_LESS_THAN
-}
-
-func (m *Query_Filter) GetProperty() []*Property {
- if m != nil {
- return m.Property
- }
- return nil
-}
-
-type Query_Order struct {
- Property *string `protobuf:"bytes,10,req,name=property" json:"property,omitempty"`
- Direction *Query_Order_Direction `protobuf:"varint,11,opt,name=direction,enum=appengine.Query_Order_Direction,def=1" json:"direction,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Query_Order) Reset() { *m = Query_Order{} }
-func (m *Query_Order) String() string { return proto.CompactTextString(m) }
-func (*Query_Order) ProtoMessage() {}
-func (*Query_Order) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{15, 1}
-}
-func (m *Query_Order) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Query_Order.Unmarshal(m, b)
-}
-func (m *Query_Order) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Query_Order.Marshal(b, m, deterministic)
-}
-func (dst *Query_Order) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Query_Order.Merge(dst, src)
-}
-func (m *Query_Order) XXX_Size() int {
- return xxx_messageInfo_Query_Order.Size(m)
-}
-func (m *Query_Order) XXX_DiscardUnknown() {
- xxx_messageInfo_Query_Order.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Query_Order proto.InternalMessageInfo
-
-const Default_Query_Order_Direction Query_Order_Direction = Query_Order_ASCENDING
-
-func (m *Query_Order) GetProperty() string {
- if m != nil && m.Property != nil {
- return *m.Property
- }
- return ""
-}
-
-func (m *Query_Order) GetDirection() Query_Order_Direction {
- if m != nil && m.Direction != nil {
- return *m.Direction
- }
- return Default_Query_Order_Direction
-}
-
-type CompiledQuery struct {
- Primaryscan *CompiledQuery_PrimaryScan `protobuf:"group,1,req,name=PrimaryScan,json=primaryscan" json:"primaryscan,omitempty"`
- Mergejoinscan []*CompiledQuery_MergeJoinScan `protobuf:"group,7,rep,name=MergeJoinScan,json=mergejoinscan" json:"mergejoinscan,omitempty"`
- IndexDef *Index `protobuf:"bytes,21,opt,name=index_def,json=indexDef" json:"index_def,omitempty"`
- Offset *int32 `protobuf:"varint,10,opt,name=offset,def=0" json:"offset,omitempty"`
- Limit *int32 `protobuf:"varint,11,opt,name=limit" json:"limit,omitempty"`
- KeysOnly *bool `protobuf:"varint,12,req,name=keys_only,json=keysOnly" json:"keys_only,omitempty"`
- PropertyName []string `protobuf:"bytes,24,rep,name=property_name,json=propertyName" json:"property_name,omitempty"`
- DistinctInfixSize *int32 `protobuf:"varint,25,opt,name=distinct_infix_size,json=distinctInfixSize" json:"distinct_infix_size,omitempty"`
- Entityfilter *CompiledQuery_EntityFilter `protobuf:"group,13,opt,name=EntityFilter,json=entityfilter" json:"entityfilter,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledQuery) Reset() { *m = CompiledQuery{} }
-func (m *CompiledQuery) String() string { return proto.CompactTextString(m) }
-func (*CompiledQuery) ProtoMessage() {}
-func (*CompiledQuery) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{16}
-}
-func (m *CompiledQuery) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledQuery.Unmarshal(m, b)
-}
-func (m *CompiledQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledQuery.Marshal(b, m, deterministic)
-}
-func (dst *CompiledQuery) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledQuery.Merge(dst, src)
-}
-func (m *CompiledQuery) XXX_Size() int {
- return xxx_messageInfo_CompiledQuery.Size(m)
-}
-func (m *CompiledQuery) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledQuery.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledQuery proto.InternalMessageInfo
-
-const Default_CompiledQuery_Offset int32 = 0
-
-func (m *CompiledQuery) GetPrimaryscan() *CompiledQuery_PrimaryScan {
- if m != nil {
- return m.Primaryscan
- }
- return nil
-}
-
-func (m *CompiledQuery) GetMergejoinscan() []*CompiledQuery_MergeJoinScan {
- if m != nil {
- return m.Mergejoinscan
- }
- return nil
-}
-
-func (m *CompiledQuery) GetIndexDef() *Index {
- if m != nil {
- return m.IndexDef
- }
- return nil
-}
-
-func (m *CompiledQuery) GetOffset() int32 {
- if m != nil && m.Offset != nil {
- return *m.Offset
- }
- return Default_CompiledQuery_Offset
-}
-
-func (m *CompiledQuery) GetLimit() int32 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return 0
-}
-
-func (m *CompiledQuery) GetKeysOnly() bool {
- if m != nil && m.KeysOnly != nil {
- return *m.KeysOnly
- }
- return false
-}
-
-func (m *CompiledQuery) GetPropertyName() []string {
- if m != nil {
- return m.PropertyName
- }
- return nil
-}
-
-func (m *CompiledQuery) GetDistinctInfixSize() int32 {
- if m != nil && m.DistinctInfixSize != nil {
- return *m.DistinctInfixSize
- }
- return 0
-}
-
-func (m *CompiledQuery) GetEntityfilter() *CompiledQuery_EntityFilter {
- if m != nil {
- return m.Entityfilter
- }
- return nil
-}
-
-type CompiledQuery_PrimaryScan struct {
- IndexName *string `protobuf:"bytes,2,opt,name=index_name,json=indexName" json:"index_name,omitempty"`
- StartKey *string `protobuf:"bytes,3,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
- StartInclusive *bool `protobuf:"varint,4,opt,name=start_inclusive,json=startInclusive" json:"start_inclusive,omitempty"`
- EndKey *string `protobuf:"bytes,5,opt,name=end_key,json=endKey" json:"end_key,omitempty"`
- EndInclusive *bool `protobuf:"varint,6,opt,name=end_inclusive,json=endInclusive" json:"end_inclusive,omitempty"`
- StartPostfixValue []string `protobuf:"bytes,22,rep,name=start_postfix_value,json=startPostfixValue" json:"start_postfix_value,omitempty"`
- EndPostfixValue []string `protobuf:"bytes,23,rep,name=end_postfix_value,json=endPostfixValue" json:"end_postfix_value,omitempty"`
- EndUnappliedLogTimestampUs *int64 `protobuf:"varint,19,opt,name=end_unapplied_log_timestamp_us,json=endUnappliedLogTimestampUs" json:"end_unapplied_log_timestamp_us,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledQuery_PrimaryScan) Reset() { *m = CompiledQuery_PrimaryScan{} }
-func (m *CompiledQuery_PrimaryScan) String() string { return proto.CompactTextString(m) }
-func (*CompiledQuery_PrimaryScan) ProtoMessage() {}
-func (*CompiledQuery_PrimaryScan) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{16, 0}
-}
-func (m *CompiledQuery_PrimaryScan) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledQuery_PrimaryScan.Unmarshal(m, b)
-}
-func (m *CompiledQuery_PrimaryScan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledQuery_PrimaryScan.Marshal(b, m, deterministic)
-}
-func (dst *CompiledQuery_PrimaryScan) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledQuery_PrimaryScan.Merge(dst, src)
-}
-func (m *CompiledQuery_PrimaryScan) XXX_Size() int {
- return xxx_messageInfo_CompiledQuery_PrimaryScan.Size(m)
-}
-func (m *CompiledQuery_PrimaryScan) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledQuery_PrimaryScan.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledQuery_PrimaryScan proto.InternalMessageInfo
-
-func (m *CompiledQuery_PrimaryScan) GetIndexName() string {
- if m != nil && m.IndexName != nil {
- return *m.IndexName
- }
- return ""
-}
-
-func (m *CompiledQuery_PrimaryScan) GetStartKey() string {
- if m != nil && m.StartKey != nil {
- return *m.StartKey
- }
- return ""
-}
-
-func (m *CompiledQuery_PrimaryScan) GetStartInclusive() bool {
- if m != nil && m.StartInclusive != nil {
- return *m.StartInclusive
- }
- return false
-}
-
-func (m *CompiledQuery_PrimaryScan) GetEndKey() string {
- if m != nil && m.EndKey != nil {
- return *m.EndKey
- }
- return ""
-}
-
-func (m *CompiledQuery_PrimaryScan) GetEndInclusive() bool {
- if m != nil && m.EndInclusive != nil {
- return *m.EndInclusive
- }
- return false
-}
-
-func (m *CompiledQuery_PrimaryScan) GetStartPostfixValue() []string {
- if m != nil {
- return m.StartPostfixValue
- }
- return nil
-}
-
-func (m *CompiledQuery_PrimaryScan) GetEndPostfixValue() []string {
- if m != nil {
- return m.EndPostfixValue
- }
- return nil
-}
-
-func (m *CompiledQuery_PrimaryScan) GetEndUnappliedLogTimestampUs() int64 {
- if m != nil && m.EndUnappliedLogTimestampUs != nil {
- return *m.EndUnappliedLogTimestampUs
- }
- return 0
-}
-
-type CompiledQuery_MergeJoinScan struct {
- IndexName *string `protobuf:"bytes,8,req,name=index_name,json=indexName" json:"index_name,omitempty"`
- PrefixValue []string `protobuf:"bytes,9,rep,name=prefix_value,json=prefixValue" json:"prefix_value,omitempty"`
- ValuePrefix *bool `protobuf:"varint,20,opt,name=value_prefix,json=valuePrefix,def=0" json:"value_prefix,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledQuery_MergeJoinScan) Reset() { *m = CompiledQuery_MergeJoinScan{} }
-func (m *CompiledQuery_MergeJoinScan) String() string { return proto.CompactTextString(m) }
-func (*CompiledQuery_MergeJoinScan) ProtoMessage() {}
-func (*CompiledQuery_MergeJoinScan) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{16, 1}
-}
-func (m *CompiledQuery_MergeJoinScan) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledQuery_MergeJoinScan.Unmarshal(m, b)
-}
-func (m *CompiledQuery_MergeJoinScan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledQuery_MergeJoinScan.Marshal(b, m, deterministic)
-}
-func (dst *CompiledQuery_MergeJoinScan) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledQuery_MergeJoinScan.Merge(dst, src)
-}
-func (m *CompiledQuery_MergeJoinScan) XXX_Size() int {
- return xxx_messageInfo_CompiledQuery_MergeJoinScan.Size(m)
-}
-func (m *CompiledQuery_MergeJoinScan) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledQuery_MergeJoinScan.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledQuery_MergeJoinScan proto.InternalMessageInfo
-
-const Default_CompiledQuery_MergeJoinScan_ValuePrefix bool = false
-
-func (m *CompiledQuery_MergeJoinScan) GetIndexName() string {
- if m != nil && m.IndexName != nil {
- return *m.IndexName
- }
- return ""
-}
-
-func (m *CompiledQuery_MergeJoinScan) GetPrefixValue() []string {
- if m != nil {
- return m.PrefixValue
- }
- return nil
-}
-
-func (m *CompiledQuery_MergeJoinScan) GetValuePrefix() bool {
- if m != nil && m.ValuePrefix != nil {
- return *m.ValuePrefix
- }
- return Default_CompiledQuery_MergeJoinScan_ValuePrefix
-}
-
-type CompiledQuery_EntityFilter struct {
- Distinct *bool `protobuf:"varint,14,opt,name=distinct,def=0" json:"distinct,omitempty"`
- Kind *string `protobuf:"bytes,17,opt,name=kind" json:"kind,omitempty"`
- Ancestor *Reference `protobuf:"bytes,18,opt,name=ancestor" json:"ancestor,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledQuery_EntityFilter) Reset() { *m = CompiledQuery_EntityFilter{} }
-func (m *CompiledQuery_EntityFilter) String() string { return proto.CompactTextString(m) }
-func (*CompiledQuery_EntityFilter) ProtoMessage() {}
-func (*CompiledQuery_EntityFilter) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{16, 2}
-}
-func (m *CompiledQuery_EntityFilter) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledQuery_EntityFilter.Unmarshal(m, b)
-}
-func (m *CompiledQuery_EntityFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledQuery_EntityFilter.Marshal(b, m, deterministic)
-}
-func (dst *CompiledQuery_EntityFilter) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledQuery_EntityFilter.Merge(dst, src)
-}
-func (m *CompiledQuery_EntityFilter) XXX_Size() int {
- return xxx_messageInfo_CompiledQuery_EntityFilter.Size(m)
-}
-func (m *CompiledQuery_EntityFilter) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledQuery_EntityFilter.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledQuery_EntityFilter proto.InternalMessageInfo
-
-const Default_CompiledQuery_EntityFilter_Distinct bool = false
-
-func (m *CompiledQuery_EntityFilter) GetDistinct() bool {
- if m != nil && m.Distinct != nil {
- return *m.Distinct
- }
- return Default_CompiledQuery_EntityFilter_Distinct
-}
-
-func (m *CompiledQuery_EntityFilter) GetKind() string {
- if m != nil && m.Kind != nil {
- return *m.Kind
- }
- return ""
-}
-
-func (m *CompiledQuery_EntityFilter) GetAncestor() *Reference {
- if m != nil {
- return m.Ancestor
- }
- return nil
-}
-
-type CompiledCursor struct {
- Position *CompiledCursor_Position `protobuf:"group,2,opt,name=Position,json=position" json:"position,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledCursor) Reset() { *m = CompiledCursor{} }
-func (m *CompiledCursor) String() string { return proto.CompactTextString(m) }
-func (*CompiledCursor) ProtoMessage() {}
-func (*CompiledCursor) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{17}
-}
-func (m *CompiledCursor) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledCursor.Unmarshal(m, b)
-}
-func (m *CompiledCursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledCursor.Marshal(b, m, deterministic)
-}
-func (dst *CompiledCursor) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledCursor.Merge(dst, src)
-}
-func (m *CompiledCursor) XXX_Size() int {
- return xxx_messageInfo_CompiledCursor.Size(m)
-}
-func (m *CompiledCursor) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledCursor.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledCursor proto.InternalMessageInfo
-
-func (m *CompiledCursor) GetPosition() *CompiledCursor_Position {
- if m != nil {
- return m.Position
- }
- return nil
-}
-
-type CompiledCursor_Position struct {
- StartKey *string `protobuf:"bytes,27,opt,name=start_key,json=startKey" json:"start_key,omitempty"`
- Indexvalue []*CompiledCursor_Position_IndexValue `protobuf:"group,29,rep,name=IndexValue,json=indexvalue" json:"indexvalue,omitempty"`
- Key *Reference `protobuf:"bytes,32,opt,name=key" json:"key,omitempty"`
- StartInclusive *bool `protobuf:"varint,28,opt,name=start_inclusive,json=startInclusive,def=1" json:"start_inclusive,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledCursor_Position) Reset() { *m = CompiledCursor_Position{} }
-func (m *CompiledCursor_Position) String() string { return proto.CompactTextString(m) }
-func (*CompiledCursor_Position) ProtoMessage() {}
-func (*CompiledCursor_Position) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{17, 0}
-}
-func (m *CompiledCursor_Position) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledCursor_Position.Unmarshal(m, b)
-}
-func (m *CompiledCursor_Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledCursor_Position.Marshal(b, m, deterministic)
-}
-func (dst *CompiledCursor_Position) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledCursor_Position.Merge(dst, src)
-}
-func (m *CompiledCursor_Position) XXX_Size() int {
- return xxx_messageInfo_CompiledCursor_Position.Size(m)
-}
-func (m *CompiledCursor_Position) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledCursor_Position.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledCursor_Position proto.InternalMessageInfo
-
-const Default_CompiledCursor_Position_StartInclusive bool = true
-
-func (m *CompiledCursor_Position) GetStartKey() string {
- if m != nil && m.StartKey != nil {
- return *m.StartKey
- }
- return ""
-}
-
-func (m *CompiledCursor_Position) GetIndexvalue() []*CompiledCursor_Position_IndexValue {
- if m != nil {
- return m.Indexvalue
- }
- return nil
-}
-
-func (m *CompiledCursor_Position) GetKey() *Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *CompiledCursor_Position) GetStartInclusive() bool {
- if m != nil && m.StartInclusive != nil {
- return *m.StartInclusive
- }
- return Default_CompiledCursor_Position_StartInclusive
-}
-
-type CompiledCursor_Position_IndexValue struct {
- Property *string `protobuf:"bytes,30,opt,name=property" json:"property,omitempty"`
- Value *PropertyValue `protobuf:"bytes,31,req,name=value" json:"value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompiledCursor_Position_IndexValue) Reset() { *m = CompiledCursor_Position_IndexValue{} }
-func (m *CompiledCursor_Position_IndexValue) String() string { return proto.CompactTextString(m) }
-func (*CompiledCursor_Position_IndexValue) ProtoMessage() {}
-func (*CompiledCursor_Position_IndexValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{17, 0, 0}
-}
-func (m *CompiledCursor_Position_IndexValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompiledCursor_Position_IndexValue.Unmarshal(m, b)
-}
-func (m *CompiledCursor_Position_IndexValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompiledCursor_Position_IndexValue.Marshal(b, m, deterministic)
-}
-func (dst *CompiledCursor_Position_IndexValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompiledCursor_Position_IndexValue.Merge(dst, src)
-}
-func (m *CompiledCursor_Position_IndexValue) XXX_Size() int {
- return xxx_messageInfo_CompiledCursor_Position_IndexValue.Size(m)
-}
-func (m *CompiledCursor_Position_IndexValue) XXX_DiscardUnknown() {
- xxx_messageInfo_CompiledCursor_Position_IndexValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompiledCursor_Position_IndexValue proto.InternalMessageInfo
-
-func (m *CompiledCursor_Position_IndexValue) GetProperty() string {
- if m != nil && m.Property != nil {
- return *m.Property
- }
- return ""
-}
-
-func (m *CompiledCursor_Position_IndexValue) GetValue() *PropertyValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-type Cursor struct {
- Cursor *uint64 `protobuf:"fixed64,1,req,name=cursor" json:"cursor,omitempty"`
- App *string `protobuf:"bytes,2,opt,name=app" json:"app,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Cursor) Reset() { *m = Cursor{} }
-func (m *Cursor) String() string { return proto.CompactTextString(m) }
-func (*Cursor) ProtoMessage() {}
-func (*Cursor) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{18}
-}
-func (m *Cursor) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Cursor.Unmarshal(m, b)
-}
-func (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Cursor.Marshal(b, m, deterministic)
-}
-func (dst *Cursor) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Cursor.Merge(dst, src)
-}
-func (m *Cursor) XXX_Size() int {
- return xxx_messageInfo_Cursor.Size(m)
-}
-func (m *Cursor) XXX_DiscardUnknown() {
- xxx_messageInfo_Cursor.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Cursor proto.InternalMessageInfo
-
-func (m *Cursor) GetCursor() uint64 {
- if m != nil && m.Cursor != nil {
- return *m.Cursor
- }
- return 0
-}
-
-func (m *Cursor) GetApp() string {
- if m != nil && m.App != nil {
- return *m.App
- }
- return ""
-}
-
-type Error struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Error) Reset() { *m = Error{} }
-func (m *Error) String() string { return proto.CompactTextString(m) }
-func (*Error) ProtoMessage() {}
-func (*Error) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{19}
-}
-func (m *Error) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Error.Unmarshal(m, b)
-}
-func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Error.Marshal(b, m, deterministic)
-}
-func (dst *Error) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Error.Merge(dst, src)
-}
-func (m *Error) XXX_Size() int {
- return xxx_messageInfo_Error.Size(m)
-}
-func (m *Error) XXX_DiscardUnknown() {
- xxx_messageInfo_Error.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Error proto.InternalMessageInfo
-
-type Cost struct {
- IndexWrites *int32 `protobuf:"varint,1,opt,name=index_writes,json=indexWrites" json:"index_writes,omitempty"`
- IndexWriteBytes *int32 `protobuf:"varint,2,opt,name=index_write_bytes,json=indexWriteBytes" json:"index_write_bytes,omitempty"`
- EntityWrites *int32 `protobuf:"varint,3,opt,name=entity_writes,json=entityWrites" json:"entity_writes,omitempty"`
- EntityWriteBytes *int32 `protobuf:"varint,4,opt,name=entity_write_bytes,json=entityWriteBytes" json:"entity_write_bytes,omitempty"`
- Commitcost *Cost_CommitCost `protobuf:"group,5,opt,name=CommitCost,json=commitcost" json:"commitcost,omitempty"`
- ApproximateStorageDelta *int32 `protobuf:"varint,8,opt,name=approximate_storage_delta,json=approximateStorageDelta" json:"approximate_storage_delta,omitempty"`
- IdSequenceUpdates *int32 `protobuf:"varint,9,opt,name=id_sequence_updates,json=idSequenceUpdates" json:"id_sequence_updates,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Cost) Reset() { *m = Cost{} }
-func (m *Cost) String() string { return proto.CompactTextString(m) }
-func (*Cost) ProtoMessage() {}
-func (*Cost) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{20}
-}
-func (m *Cost) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Cost.Unmarshal(m, b)
-}
-func (m *Cost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Cost.Marshal(b, m, deterministic)
-}
-func (dst *Cost) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Cost.Merge(dst, src)
-}
-func (m *Cost) XXX_Size() int {
- return xxx_messageInfo_Cost.Size(m)
-}
-func (m *Cost) XXX_DiscardUnknown() {
- xxx_messageInfo_Cost.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Cost proto.InternalMessageInfo
-
-func (m *Cost) GetIndexWrites() int32 {
- if m != nil && m.IndexWrites != nil {
- return *m.IndexWrites
- }
- return 0
-}
-
-func (m *Cost) GetIndexWriteBytes() int32 {
- if m != nil && m.IndexWriteBytes != nil {
- return *m.IndexWriteBytes
- }
- return 0
-}
-
-func (m *Cost) GetEntityWrites() int32 {
- if m != nil && m.EntityWrites != nil {
- return *m.EntityWrites
- }
- return 0
-}
-
-func (m *Cost) GetEntityWriteBytes() int32 {
- if m != nil && m.EntityWriteBytes != nil {
- return *m.EntityWriteBytes
- }
- return 0
-}
-
-func (m *Cost) GetCommitcost() *Cost_CommitCost {
- if m != nil {
- return m.Commitcost
- }
- return nil
-}
-
-func (m *Cost) GetApproximateStorageDelta() int32 {
- if m != nil && m.ApproximateStorageDelta != nil {
- return *m.ApproximateStorageDelta
- }
- return 0
-}
-
-func (m *Cost) GetIdSequenceUpdates() int32 {
- if m != nil && m.IdSequenceUpdates != nil {
- return *m.IdSequenceUpdates
- }
- return 0
-}
-
-type Cost_CommitCost struct {
- RequestedEntityPuts *int32 `protobuf:"varint,6,opt,name=requested_entity_puts,json=requestedEntityPuts" json:"requested_entity_puts,omitempty"`
- RequestedEntityDeletes *int32 `protobuf:"varint,7,opt,name=requested_entity_deletes,json=requestedEntityDeletes" json:"requested_entity_deletes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Cost_CommitCost) Reset() { *m = Cost_CommitCost{} }
-func (m *Cost_CommitCost) String() string { return proto.CompactTextString(m) }
-func (*Cost_CommitCost) ProtoMessage() {}
-func (*Cost_CommitCost) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{20, 0}
-}
-func (m *Cost_CommitCost) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Cost_CommitCost.Unmarshal(m, b)
-}
-func (m *Cost_CommitCost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Cost_CommitCost.Marshal(b, m, deterministic)
-}
-func (dst *Cost_CommitCost) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Cost_CommitCost.Merge(dst, src)
-}
-func (m *Cost_CommitCost) XXX_Size() int {
- return xxx_messageInfo_Cost_CommitCost.Size(m)
-}
-func (m *Cost_CommitCost) XXX_DiscardUnknown() {
- xxx_messageInfo_Cost_CommitCost.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Cost_CommitCost proto.InternalMessageInfo
-
-func (m *Cost_CommitCost) GetRequestedEntityPuts() int32 {
- if m != nil && m.RequestedEntityPuts != nil {
- return *m.RequestedEntityPuts
- }
- return 0
-}
-
-func (m *Cost_CommitCost) GetRequestedEntityDeletes() int32 {
- if m != nil && m.RequestedEntityDeletes != nil {
- return *m.RequestedEntityDeletes
- }
- return 0
-}
-
-type GetRequest struct {
- Header *InternalHeader `protobuf:"bytes,6,opt,name=header" json:"header,omitempty"`
- Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
- Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"`
- FailoverMs *int64 `protobuf:"varint,3,opt,name=failover_ms,json=failoverMs" json:"failover_ms,omitempty"`
- Strong *bool `protobuf:"varint,4,opt,name=strong" json:"strong,omitempty"`
- AllowDeferred *bool `protobuf:"varint,5,opt,name=allow_deferred,json=allowDeferred,def=0" json:"allow_deferred,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetRequest) Reset() { *m = GetRequest{} }
-func (m *GetRequest) String() string { return proto.CompactTextString(m) }
-func (*GetRequest) ProtoMessage() {}
-func (*GetRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{21}
-}
-func (m *GetRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetRequest.Unmarshal(m, b)
-}
-func (m *GetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetRequest.Marshal(b, m, deterministic)
-}
-func (dst *GetRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetRequest.Merge(dst, src)
-}
-func (m *GetRequest) XXX_Size() int {
- return xxx_messageInfo_GetRequest.Size(m)
-}
-func (m *GetRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_GetRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetRequest proto.InternalMessageInfo
-
-const Default_GetRequest_AllowDeferred bool = false
-
-func (m *GetRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *GetRequest) GetKey() []*Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *GetRequest) GetTransaction() *Transaction {
- if m != nil {
- return m.Transaction
- }
- return nil
-}
-
-func (m *GetRequest) GetFailoverMs() int64 {
- if m != nil && m.FailoverMs != nil {
- return *m.FailoverMs
- }
- return 0
-}
-
-func (m *GetRequest) GetStrong() bool {
- if m != nil && m.Strong != nil {
- return *m.Strong
- }
- return false
-}
-
-func (m *GetRequest) GetAllowDeferred() bool {
- if m != nil && m.AllowDeferred != nil {
- return *m.AllowDeferred
- }
- return Default_GetRequest_AllowDeferred
-}
-
-type GetResponse struct {
- Entity []*GetResponse_Entity `protobuf:"group,1,rep,name=Entity,json=entity" json:"entity,omitempty"`
- Deferred []*Reference `protobuf:"bytes,5,rep,name=deferred" json:"deferred,omitempty"`
- InOrder *bool `protobuf:"varint,6,opt,name=in_order,json=inOrder,def=1" json:"in_order,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetResponse) Reset() { *m = GetResponse{} }
-func (m *GetResponse) String() string { return proto.CompactTextString(m) }
-func (*GetResponse) ProtoMessage() {}
-func (*GetResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{22}
-}
-func (m *GetResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetResponse.Unmarshal(m, b)
-}
-func (m *GetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetResponse.Marshal(b, m, deterministic)
-}
-func (dst *GetResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetResponse.Merge(dst, src)
-}
-func (m *GetResponse) XXX_Size() int {
- return xxx_messageInfo_GetResponse.Size(m)
-}
-func (m *GetResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_GetResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetResponse proto.InternalMessageInfo
-
-const Default_GetResponse_InOrder bool = true
-
-func (m *GetResponse) GetEntity() []*GetResponse_Entity {
- if m != nil {
- return m.Entity
- }
- return nil
-}
-
-func (m *GetResponse) GetDeferred() []*Reference {
- if m != nil {
- return m.Deferred
- }
- return nil
-}
-
-func (m *GetResponse) GetInOrder() bool {
- if m != nil && m.InOrder != nil {
- return *m.InOrder
- }
- return Default_GetResponse_InOrder
-}
-
-type GetResponse_Entity struct {
- Entity *EntityProto `protobuf:"bytes,2,opt,name=entity" json:"entity,omitempty"`
- Key *Reference `protobuf:"bytes,4,opt,name=key" json:"key,omitempty"`
- Version *int64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *GetResponse_Entity) Reset() { *m = GetResponse_Entity{} }
-func (m *GetResponse_Entity) String() string { return proto.CompactTextString(m) }
-func (*GetResponse_Entity) ProtoMessage() {}
-func (*GetResponse_Entity) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{22, 0}
-}
-func (m *GetResponse_Entity) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_GetResponse_Entity.Unmarshal(m, b)
-}
-func (m *GetResponse_Entity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_GetResponse_Entity.Marshal(b, m, deterministic)
-}
-func (dst *GetResponse_Entity) XXX_Merge(src proto.Message) {
- xxx_messageInfo_GetResponse_Entity.Merge(dst, src)
-}
-func (m *GetResponse_Entity) XXX_Size() int {
- return xxx_messageInfo_GetResponse_Entity.Size(m)
-}
-func (m *GetResponse_Entity) XXX_DiscardUnknown() {
- xxx_messageInfo_GetResponse_Entity.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_GetResponse_Entity proto.InternalMessageInfo
-
-func (m *GetResponse_Entity) GetEntity() *EntityProto {
- if m != nil {
- return m.Entity
- }
- return nil
-}
-
-func (m *GetResponse_Entity) GetKey() *Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *GetResponse_Entity) GetVersion() int64 {
- if m != nil && m.Version != nil {
- return *m.Version
- }
- return 0
-}
-
-type PutRequest struct {
- Header *InternalHeader `protobuf:"bytes,11,opt,name=header" json:"header,omitempty"`
- Entity []*EntityProto `protobuf:"bytes,1,rep,name=entity" json:"entity,omitempty"`
- Transaction *Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"`
- CompositeIndex []*CompositeIndex `protobuf:"bytes,3,rep,name=composite_index,json=compositeIndex" json:"composite_index,omitempty"`
- Trusted *bool `protobuf:"varint,4,opt,name=trusted,def=0" json:"trusted,omitempty"`
- Force *bool `protobuf:"varint,7,opt,name=force,def=0" json:"force,omitempty"`
- MarkChanges *bool `protobuf:"varint,8,opt,name=mark_changes,json=markChanges,def=0" json:"mark_changes,omitempty"`
- Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"`
- AutoIdPolicy *PutRequest_AutoIdPolicy `protobuf:"varint,10,opt,name=auto_id_policy,json=autoIdPolicy,enum=appengine.PutRequest_AutoIdPolicy,def=0" json:"auto_id_policy,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PutRequest) Reset() { *m = PutRequest{} }
-func (m *PutRequest) String() string { return proto.CompactTextString(m) }
-func (*PutRequest) ProtoMessage() {}
-func (*PutRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{23}
-}
-func (m *PutRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PutRequest.Unmarshal(m, b)
-}
-func (m *PutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PutRequest.Marshal(b, m, deterministic)
-}
-func (dst *PutRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PutRequest.Merge(dst, src)
-}
-func (m *PutRequest) XXX_Size() int {
- return xxx_messageInfo_PutRequest.Size(m)
-}
-func (m *PutRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PutRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PutRequest proto.InternalMessageInfo
-
-const Default_PutRequest_Trusted bool = false
-const Default_PutRequest_Force bool = false
-const Default_PutRequest_MarkChanges bool = false
-const Default_PutRequest_AutoIdPolicy PutRequest_AutoIdPolicy = PutRequest_CURRENT
-
-func (m *PutRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *PutRequest) GetEntity() []*EntityProto {
- if m != nil {
- return m.Entity
- }
- return nil
-}
-
-func (m *PutRequest) GetTransaction() *Transaction {
- if m != nil {
- return m.Transaction
- }
- return nil
-}
-
-func (m *PutRequest) GetCompositeIndex() []*CompositeIndex {
- if m != nil {
- return m.CompositeIndex
- }
- return nil
-}
-
-func (m *PutRequest) GetTrusted() bool {
- if m != nil && m.Trusted != nil {
- return *m.Trusted
- }
- return Default_PutRequest_Trusted
-}
-
-func (m *PutRequest) GetForce() bool {
- if m != nil && m.Force != nil {
- return *m.Force
- }
- return Default_PutRequest_Force
-}
-
-func (m *PutRequest) GetMarkChanges() bool {
- if m != nil && m.MarkChanges != nil {
- return *m.MarkChanges
- }
- return Default_PutRequest_MarkChanges
-}
-
-func (m *PutRequest) GetSnapshot() []*Snapshot {
- if m != nil {
- return m.Snapshot
- }
- return nil
-}
-
-func (m *PutRequest) GetAutoIdPolicy() PutRequest_AutoIdPolicy {
- if m != nil && m.AutoIdPolicy != nil {
- return *m.AutoIdPolicy
- }
- return Default_PutRequest_AutoIdPolicy
-}
-
-type PutResponse struct {
- Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
- Cost *Cost `protobuf:"bytes,2,opt,name=cost" json:"cost,omitempty"`
- Version []int64 `protobuf:"varint,3,rep,name=version" json:"version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PutResponse) Reset() { *m = PutResponse{} }
-func (m *PutResponse) String() string { return proto.CompactTextString(m) }
-func (*PutResponse) ProtoMessage() {}
-func (*PutResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{24}
-}
-func (m *PutResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PutResponse.Unmarshal(m, b)
-}
-func (m *PutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PutResponse.Marshal(b, m, deterministic)
-}
-func (dst *PutResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PutResponse.Merge(dst, src)
-}
-func (m *PutResponse) XXX_Size() int {
- return xxx_messageInfo_PutResponse.Size(m)
-}
-func (m *PutResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_PutResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PutResponse proto.InternalMessageInfo
-
-func (m *PutResponse) GetKey() []*Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *PutResponse) GetCost() *Cost {
- if m != nil {
- return m.Cost
- }
- return nil
-}
-
-func (m *PutResponse) GetVersion() []int64 {
- if m != nil {
- return m.Version
- }
- return nil
-}
-
-type TouchRequest struct {
- Header *InternalHeader `protobuf:"bytes,10,opt,name=header" json:"header,omitempty"`
- Key []*Reference `protobuf:"bytes,1,rep,name=key" json:"key,omitempty"`
- CompositeIndex []*CompositeIndex `protobuf:"bytes,2,rep,name=composite_index,json=compositeIndex" json:"composite_index,omitempty"`
- Force *bool `protobuf:"varint,3,opt,name=force,def=0" json:"force,omitempty"`
- Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TouchRequest) Reset() { *m = TouchRequest{} }
-func (m *TouchRequest) String() string { return proto.CompactTextString(m) }
-func (*TouchRequest) ProtoMessage() {}
-func (*TouchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{25}
-}
-func (m *TouchRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TouchRequest.Unmarshal(m, b)
-}
-func (m *TouchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TouchRequest.Marshal(b, m, deterministic)
-}
-func (dst *TouchRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TouchRequest.Merge(dst, src)
-}
-func (m *TouchRequest) XXX_Size() int {
- return xxx_messageInfo_TouchRequest.Size(m)
-}
-func (m *TouchRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_TouchRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TouchRequest proto.InternalMessageInfo
-
-const Default_TouchRequest_Force bool = false
-
-func (m *TouchRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *TouchRequest) GetKey() []*Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *TouchRequest) GetCompositeIndex() []*CompositeIndex {
- if m != nil {
- return m.CompositeIndex
- }
- return nil
-}
-
-func (m *TouchRequest) GetForce() bool {
- if m != nil && m.Force != nil {
- return *m.Force
- }
- return Default_TouchRequest_Force
-}
-
-func (m *TouchRequest) GetSnapshot() []*Snapshot {
- if m != nil {
- return m.Snapshot
- }
- return nil
-}
-
-type TouchResponse struct {
- Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *TouchResponse) Reset() { *m = TouchResponse{} }
-func (m *TouchResponse) String() string { return proto.CompactTextString(m) }
-func (*TouchResponse) ProtoMessage() {}
-func (*TouchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{26}
-}
-func (m *TouchResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_TouchResponse.Unmarshal(m, b)
-}
-func (m *TouchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_TouchResponse.Marshal(b, m, deterministic)
-}
-func (dst *TouchResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TouchResponse.Merge(dst, src)
-}
-func (m *TouchResponse) XXX_Size() int {
- return xxx_messageInfo_TouchResponse.Size(m)
-}
-func (m *TouchResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_TouchResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TouchResponse proto.InternalMessageInfo
-
-func (m *TouchResponse) GetCost() *Cost {
- if m != nil {
- return m.Cost
- }
- return nil
-}
-
-type DeleteRequest struct {
- Header *InternalHeader `protobuf:"bytes,10,opt,name=header" json:"header,omitempty"`
- Key []*Reference `protobuf:"bytes,6,rep,name=key" json:"key,omitempty"`
- Transaction *Transaction `protobuf:"bytes,5,opt,name=transaction" json:"transaction,omitempty"`
- Trusted *bool `protobuf:"varint,4,opt,name=trusted,def=0" json:"trusted,omitempty"`
- Force *bool `protobuf:"varint,7,opt,name=force,def=0" json:"force,omitempty"`
- MarkChanges *bool `protobuf:"varint,8,opt,name=mark_changes,json=markChanges,def=0" json:"mark_changes,omitempty"`
- Snapshot []*Snapshot `protobuf:"bytes,9,rep,name=snapshot" json:"snapshot,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
-func (m *DeleteRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteRequest) ProtoMessage() {}
-func (*DeleteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{27}
-}
-func (m *DeleteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteRequest.Unmarshal(m, b)
-}
-func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteRequest.Marshal(b, m, deterministic)
-}
-func (dst *DeleteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteRequest.Merge(dst, src)
-}
-func (m *DeleteRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteRequest.Size(m)
-}
-func (m *DeleteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
-
-const Default_DeleteRequest_Trusted bool = false
-const Default_DeleteRequest_Force bool = false
-const Default_DeleteRequest_MarkChanges bool = false
-
-func (m *DeleteRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *DeleteRequest) GetKey() []*Reference {
- if m != nil {
- return m.Key
- }
- return nil
-}
-
-func (m *DeleteRequest) GetTransaction() *Transaction {
- if m != nil {
- return m.Transaction
- }
- return nil
-}
-
-func (m *DeleteRequest) GetTrusted() bool {
- if m != nil && m.Trusted != nil {
- return *m.Trusted
- }
- return Default_DeleteRequest_Trusted
-}
-
-func (m *DeleteRequest) GetForce() bool {
- if m != nil && m.Force != nil {
- return *m.Force
- }
- return Default_DeleteRequest_Force
-}
-
-func (m *DeleteRequest) GetMarkChanges() bool {
- if m != nil && m.MarkChanges != nil {
- return *m.MarkChanges
- }
- return Default_DeleteRequest_MarkChanges
-}
-
-func (m *DeleteRequest) GetSnapshot() []*Snapshot {
- if m != nil {
- return m.Snapshot
- }
- return nil
-}
-
-type DeleteResponse struct {
- Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"`
- Version []int64 `protobuf:"varint,3,rep,name=version" json:"version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *DeleteResponse) Reset() { *m = DeleteResponse{} }
-func (m *DeleteResponse) String() string { return proto.CompactTextString(m) }
-func (*DeleteResponse) ProtoMessage() {}
-func (*DeleteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{28}
-}
-func (m *DeleteResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteResponse.Unmarshal(m, b)
-}
-func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteResponse.Marshal(b, m, deterministic)
-}
-func (dst *DeleteResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteResponse.Merge(dst, src)
-}
-func (m *DeleteResponse) XXX_Size() int {
- return xxx_messageInfo_DeleteResponse.Size(m)
-}
-func (m *DeleteResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteResponse proto.InternalMessageInfo
-
-func (m *DeleteResponse) GetCost() *Cost {
- if m != nil {
- return m.Cost
- }
- return nil
-}
-
-func (m *DeleteResponse) GetVersion() []int64 {
- if m != nil {
- return m.Version
- }
- return nil
-}
-
-type NextRequest struct {
- Header *InternalHeader `protobuf:"bytes,5,opt,name=header" json:"header,omitempty"`
- Cursor *Cursor `protobuf:"bytes,1,req,name=cursor" json:"cursor,omitempty"`
- Count *int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
- Offset *int32 `protobuf:"varint,4,opt,name=offset,def=0" json:"offset,omitempty"`
- Compile *bool `protobuf:"varint,3,opt,name=compile,def=0" json:"compile,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *NextRequest) Reset() { *m = NextRequest{} }
-func (m *NextRequest) String() string { return proto.CompactTextString(m) }
-func (*NextRequest) ProtoMessage() {}
-func (*NextRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{29}
-}
-func (m *NextRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NextRequest.Unmarshal(m, b)
-}
-func (m *NextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NextRequest.Marshal(b, m, deterministic)
-}
-func (dst *NextRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NextRequest.Merge(dst, src)
-}
-func (m *NextRequest) XXX_Size() int {
- return xxx_messageInfo_NextRequest.Size(m)
-}
-func (m *NextRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_NextRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_NextRequest proto.InternalMessageInfo
-
-const Default_NextRequest_Offset int32 = 0
-const Default_NextRequest_Compile bool = false
-
-func (m *NextRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *NextRequest) GetCursor() *Cursor {
- if m != nil {
- return m.Cursor
- }
- return nil
-}
-
-func (m *NextRequest) GetCount() int32 {
- if m != nil && m.Count != nil {
- return *m.Count
- }
- return 0
-}
-
-func (m *NextRequest) GetOffset() int32 {
- if m != nil && m.Offset != nil {
- return *m.Offset
- }
- return Default_NextRequest_Offset
-}
-
-func (m *NextRequest) GetCompile() bool {
- if m != nil && m.Compile != nil {
- return *m.Compile
- }
- return Default_NextRequest_Compile
-}
-
-type QueryResult struct {
- Cursor *Cursor `protobuf:"bytes,1,opt,name=cursor" json:"cursor,omitempty"`
- Result []*EntityProto `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"`
- SkippedResults *int32 `protobuf:"varint,7,opt,name=skipped_results,json=skippedResults" json:"skipped_results,omitempty"`
- MoreResults *bool `protobuf:"varint,3,req,name=more_results,json=moreResults" json:"more_results,omitempty"`
- KeysOnly *bool `protobuf:"varint,4,opt,name=keys_only,json=keysOnly" json:"keys_only,omitempty"`
- IndexOnly *bool `protobuf:"varint,9,opt,name=index_only,json=indexOnly" json:"index_only,omitempty"`
- SmallOps *bool `protobuf:"varint,10,opt,name=small_ops,json=smallOps" json:"small_ops,omitempty"`
- CompiledQuery *CompiledQuery `protobuf:"bytes,5,opt,name=compiled_query,json=compiledQuery" json:"compiled_query,omitempty"`
- CompiledCursor *CompiledCursor `protobuf:"bytes,6,opt,name=compiled_cursor,json=compiledCursor" json:"compiled_cursor,omitempty"`
- Index []*CompositeIndex `protobuf:"bytes,8,rep,name=index" json:"index,omitempty"`
- Version []int64 `protobuf:"varint,11,rep,name=version" json:"version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *QueryResult) Reset() { *m = QueryResult{} }
-func (m *QueryResult) String() string { return proto.CompactTextString(m) }
-func (*QueryResult) ProtoMessage() {}
-func (*QueryResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{30}
-}
-func (m *QueryResult) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_QueryResult.Unmarshal(m, b)
-}
-func (m *QueryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_QueryResult.Marshal(b, m, deterministic)
-}
-func (dst *QueryResult) XXX_Merge(src proto.Message) {
- xxx_messageInfo_QueryResult.Merge(dst, src)
-}
-func (m *QueryResult) XXX_Size() int {
- return xxx_messageInfo_QueryResult.Size(m)
-}
-func (m *QueryResult) XXX_DiscardUnknown() {
- xxx_messageInfo_QueryResult.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_QueryResult proto.InternalMessageInfo
-
-func (m *QueryResult) GetCursor() *Cursor {
- if m != nil {
- return m.Cursor
- }
- return nil
-}
-
-func (m *QueryResult) GetResult() []*EntityProto {
- if m != nil {
- return m.Result
- }
- return nil
-}
-
-func (m *QueryResult) GetSkippedResults() int32 {
- if m != nil && m.SkippedResults != nil {
- return *m.SkippedResults
- }
- return 0
-}
-
-func (m *QueryResult) GetMoreResults() bool {
- if m != nil && m.MoreResults != nil {
- return *m.MoreResults
- }
- return false
-}
-
-func (m *QueryResult) GetKeysOnly() bool {
- if m != nil && m.KeysOnly != nil {
- return *m.KeysOnly
- }
- return false
-}
-
-func (m *QueryResult) GetIndexOnly() bool {
- if m != nil && m.IndexOnly != nil {
- return *m.IndexOnly
- }
- return false
-}
-
-func (m *QueryResult) GetSmallOps() bool {
- if m != nil && m.SmallOps != nil {
- return *m.SmallOps
- }
- return false
-}
-
-func (m *QueryResult) GetCompiledQuery() *CompiledQuery {
- if m != nil {
- return m.CompiledQuery
- }
- return nil
-}
-
-func (m *QueryResult) GetCompiledCursor() *CompiledCursor {
- if m != nil {
- return m.CompiledCursor
- }
- return nil
-}
-
-func (m *QueryResult) GetIndex() []*CompositeIndex {
- if m != nil {
- return m.Index
- }
- return nil
-}
-
-func (m *QueryResult) GetVersion() []int64 {
- if m != nil {
- return m.Version
- }
- return nil
-}
-
-type AllocateIdsRequest struct {
- Header *InternalHeader `protobuf:"bytes,4,opt,name=header" json:"header,omitempty"`
- ModelKey *Reference `protobuf:"bytes,1,opt,name=model_key,json=modelKey" json:"model_key,omitempty"`
- Size *int64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
- Max *int64 `protobuf:"varint,3,opt,name=max" json:"max,omitempty"`
- Reserve []*Reference `protobuf:"bytes,5,rep,name=reserve" json:"reserve,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AllocateIdsRequest) Reset() { *m = AllocateIdsRequest{} }
-func (m *AllocateIdsRequest) String() string { return proto.CompactTextString(m) }
-func (*AllocateIdsRequest) ProtoMessage() {}
-func (*AllocateIdsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{31}
-}
-func (m *AllocateIdsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AllocateIdsRequest.Unmarshal(m, b)
-}
-func (m *AllocateIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AllocateIdsRequest.Marshal(b, m, deterministic)
-}
-func (dst *AllocateIdsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AllocateIdsRequest.Merge(dst, src)
-}
-func (m *AllocateIdsRequest) XXX_Size() int {
- return xxx_messageInfo_AllocateIdsRequest.Size(m)
-}
-func (m *AllocateIdsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AllocateIdsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AllocateIdsRequest proto.InternalMessageInfo
-
-func (m *AllocateIdsRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *AllocateIdsRequest) GetModelKey() *Reference {
- if m != nil {
- return m.ModelKey
- }
- return nil
-}
-
-func (m *AllocateIdsRequest) GetSize() int64 {
- if m != nil && m.Size != nil {
- return *m.Size
- }
- return 0
-}
-
-func (m *AllocateIdsRequest) GetMax() int64 {
- if m != nil && m.Max != nil {
- return *m.Max
- }
- return 0
-}
-
-func (m *AllocateIdsRequest) GetReserve() []*Reference {
- if m != nil {
- return m.Reserve
- }
- return nil
-}
-
-type AllocateIdsResponse struct {
- Start *int64 `protobuf:"varint,1,req,name=start" json:"start,omitempty"`
- End *int64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"`
- Cost *Cost `protobuf:"bytes,3,opt,name=cost" json:"cost,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AllocateIdsResponse) Reset() { *m = AllocateIdsResponse{} }
-func (m *AllocateIdsResponse) String() string { return proto.CompactTextString(m) }
-func (*AllocateIdsResponse) ProtoMessage() {}
-func (*AllocateIdsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{32}
-}
-func (m *AllocateIdsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AllocateIdsResponse.Unmarshal(m, b)
-}
-func (m *AllocateIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AllocateIdsResponse.Marshal(b, m, deterministic)
-}
-func (dst *AllocateIdsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AllocateIdsResponse.Merge(dst, src)
-}
-func (m *AllocateIdsResponse) XXX_Size() int {
- return xxx_messageInfo_AllocateIdsResponse.Size(m)
-}
-func (m *AllocateIdsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_AllocateIdsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AllocateIdsResponse proto.InternalMessageInfo
-
-func (m *AllocateIdsResponse) GetStart() int64 {
- if m != nil && m.Start != nil {
- return *m.Start
- }
- return 0
-}
-
-func (m *AllocateIdsResponse) GetEnd() int64 {
- if m != nil && m.End != nil {
- return *m.End
- }
- return 0
-}
-
-func (m *AllocateIdsResponse) GetCost() *Cost {
- if m != nil {
- return m.Cost
- }
- return nil
-}
-
-type CompositeIndices struct {
- Index []*CompositeIndex `protobuf:"bytes,1,rep,name=index" json:"index,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CompositeIndices) Reset() { *m = CompositeIndices{} }
-func (m *CompositeIndices) String() string { return proto.CompactTextString(m) }
-func (*CompositeIndices) ProtoMessage() {}
-func (*CompositeIndices) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{33}
-}
-func (m *CompositeIndices) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CompositeIndices.Unmarshal(m, b)
-}
-func (m *CompositeIndices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CompositeIndices.Marshal(b, m, deterministic)
-}
-func (dst *CompositeIndices) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CompositeIndices.Merge(dst, src)
-}
-func (m *CompositeIndices) XXX_Size() int {
- return xxx_messageInfo_CompositeIndices.Size(m)
-}
-func (m *CompositeIndices) XXX_DiscardUnknown() {
- xxx_messageInfo_CompositeIndices.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CompositeIndices proto.InternalMessageInfo
-
-func (m *CompositeIndices) GetIndex() []*CompositeIndex {
- if m != nil {
- return m.Index
- }
- return nil
-}
-
-type AddActionsRequest struct {
- Header *InternalHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"`
- Transaction *Transaction `protobuf:"bytes,1,req,name=transaction" json:"transaction,omitempty"`
- Action []*Action `protobuf:"bytes,2,rep,name=action" json:"action,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AddActionsRequest) Reset() { *m = AddActionsRequest{} }
-func (m *AddActionsRequest) String() string { return proto.CompactTextString(m) }
-func (*AddActionsRequest) ProtoMessage() {}
-func (*AddActionsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{34}
-}
-func (m *AddActionsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AddActionsRequest.Unmarshal(m, b)
-}
-func (m *AddActionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AddActionsRequest.Marshal(b, m, deterministic)
-}
-func (dst *AddActionsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AddActionsRequest.Merge(dst, src)
-}
-func (m *AddActionsRequest) XXX_Size() int {
- return xxx_messageInfo_AddActionsRequest.Size(m)
-}
-func (m *AddActionsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_AddActionsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AddActionsRequest proto.InternalMessageInfo
-
-func (m *AddActionsRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *AddActionsRequest) GetTransaction() *Transaction {
- if m != nil {
- return m.Transaction
- }
- return nil
-}
-
-func (m *AddActionsRequest) GetAction() []*Action {
- if m != nil {
- return m.Action
- }
- return nil
-}
-
-type AddActionsResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *AddActionsResponse) Reset() { *m = AddActionsResponse{} }
-func (m *AddActionsResponse) String() string { return proto.CompactTextString(m) }
-func (*AddActionsResponse) ProtoMessage() {}
-func (*AddActionsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{35}
-}
-func (m *AddActionsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AddActionsResponse.Unmarshal(m, b)
-}
-func (m *AddActionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AddActionsResponse.Marshal(b, m, deterministic)
-}
-func (dst *AddActionsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AddActionsResponse.Merge(dst, src)
-}
-func (m *AddActionsResponse) XXX_Size() int {
- return xxx_messageInfo_AddActionsResponse.Size(m)
-}
-func (m *AddActionsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_AddActionsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AddActionsResponse proto.InternalMessageInfo
-
-type BeginTransactionRequest struct {
- Header *InternalHeader `protobuf:"bytes,3,opt,name=header" json:"header,omitempty"`
- App *string `protobuf:"bytes,1,req,name=app" json:"app,omitempty"`
- AllowMultipleEg *bool `protobuf:"varint,2,opt,name=allow_multiple_eg,json=allowMultipleEg,def=0" json:"allow_multiple_eg,omitempty"`
- DatabaseId *string `protobuf:"bytes,4,opt,name=database_id,json=databaseId" json:"database_id,omitempty"`
- Mode *BeginTransactionRequest_TransactionMode `protobuf:"varint,5,opt,name=mode,enum=appengine.BeginTransactionRequest_TransactionMode,def=0" json:"mode,omitempty"`
- PreviousTransaction *Transaction `protobuf:"bytes,7,opt,name=previous_transaction,json=previousTransaction" json:"previous_transaction,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *BeginTransactionRequest) Reset() { *m = BeginTransactionRequest{} }
-func (m *BeginTransactionRequest) String() string { return proto.CompactTextString(m) }
-func (*BeginTransactionRequest) ProtoMessage() {}
-func (*BeginTransactionRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{36}
-}
-func (m *BeginTransactionRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BeginTransactionRequest.Unmarshal(m, b)
-}
-func (m *BeginTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BeginTransactionRequest.Marshal(b, m, deterministic)
-}
-func (dst *BeginTransactionRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BeginTransactionRequest.Merge(dst, src)
-}
-func (m *BeginTransactionRequest) XXX_Size() int {
- return xxx_messageInfo_BeginTransactionRequest.Size(m)
-}
-func (m *BeginTransactionRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_BeginTransactionRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BeginTransactionRequest proto.InternalMessageInfo
-
-const Default_BeginTransactionRequest_AllowMultipleEg bool = false
-const Default_BeginTransactionRequest_Mode BeginTransactionRequest_TransactionMode = BeginTransactionRequest_UNKNOWN
-
-func (m *BeginTransactionRequest) GetHeader() *InternalHeader {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *BeginTransactionRequest) GetApp() string {
- if m != nil && m.App != nil {
- return *m.App
- }
- return ""
-}
-
-func (m *BeginTransactionRequest) GetAllowMultipleEg() bool {
- if m != nil && m.AllowMultipleEg != nil {
- return *m.AllowMultipleEg
- }
- return Default_BeginTransactionRequest_AllowMultipleEg
-}
-
-func (m *BeginTransactionRequest) GetDatabaseId() string {
- if m != nil && m.DatabaseId != nil {
- return *m.DatabaseId
- }
- return ""
-}
-
-func (m *BeginTransactionRequest) GetMode() BeginTransactionRequest_TransactionMode {
- if m != nil && m.Mode != nil {
- return *m.Mode
- }
- return Default_BeginTransactionRequest_Mode
-}
-
-func (m *BeginTransactionRequest) GetPreviousTransaction() *Transaction {
- if m != nil {
- return m.PreviousTransaction
- }
- return nil
-}
-
-type CommitResponse struct {
- Cost *Cost `protobuf:"bytes,1,opt,name=cost" json:"cost,omitempty"`
- Version []*CommitResponse_Version `protobuf:"group,3,rep,name=Version,json=version" json:"version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CommitResponse) Reset() { *m = CommitResponse{} }
-func (m *CommitResponse) String() string { return proto.CompactTextString(m) }
-func (*CommitResponse) ProtoMessage() {}
-func (*CommitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{37}
-}
-func (m *CommitResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CommitResponse.Unmarshal(m, b)
-}
-func (m *CommitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CommitResponse.Marshal(b, m, deterministic)
-}
-func (dst *CommitResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CommitResponse.Merge(dst, src)
-}
-func (m *CommitResponse) XXX_Size() int {
- return xxx_messageInfo_CommitResponse.Size(m)
-}
-func (m *CommitResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CommitResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CommitResponse proto.InternalMessageInfo
-
-func (m *CommitResponse) GetCost() *Cost {
- if m != nil {
- return m.Cost
- }
- return nil
-}
-
-func (m *CommitResponse) GetVersion() []*CommitResponse_Version {
- if m != nil {
- return m.Version
- }
- return nil
-}
-
-type CommitResponse_Version struct {
- RootEntityKey *Reference `protobuf:"bytes,4,req,name=root_entity_key,json=rootEntityKey" json:"root_entity_key,omitempty"`
- Version *int64 `protobuf:"varint,5,req,name=version" json:"version,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CommitResponse_Version) Reset() { *m = CommitResponse_Version{} }
-func (m *CommitResponse_Version) String() string { return proto.CompactTextString(m) }
-func (*CommitResponse_Version) ProtoMessage() {}
-func (*CommitResponse_Version) Descriptor() ([]byte, []int) {
- return fileDescriptor_datastore_v3_83b17b80c34f6179, []int{37, 0}
-}
-func (m *CommitResponse_Version) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CommitResponse_Version.Unmarshal(m, b)
-}
-func (m *CommitResponse_Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CommitResponse_Version.Marshal(b, m, deterministic)
-}
-func (dst *CommitResponse_Version) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CommitResponse_Version.Merge(dst, src)
-}
-func (m *CommitResponse_Version) XXX_Size() int {
- return xxx_messageInfo_CommitResponse_Version.Size(m)
-}
-func (m *CommitResponse_Version) XXX_DiscardUnknown() {
- xxx_messageInfo_CommitResponse_Version.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CommitResponse_Version proto.InternalMessageInfo
-
-func (m *CommitResponse_Version) GetRootEntityKey() *Reference {
- if m != nil {
- return m.RootEntityKey
- }
- return nil
-}
-
-func (m *CommitResponse_Version) GetVersion() int64 {
- if m != nil && m.Version != nil {
- return *m.Version
- }
- return 0
-}
-
-func init() {
- proto.RegisterType((*Action)(nil), "appengine.Action")
- proto.RegisterType((*PropertyValue)(nil), "appengine.PropertyValue")
- proto.RegisterType((*PropertyValue_PointValue)(nil), "appengine.PropertyValue.PointValue")
- proto.RegisterType((*PropertyValue_UserValue)(nil), "appengine.PropertyValue.UserValue")
- proto.RegisterType((*PropertyValue_ReferenceValue)(nil), "appengine.PropertyValue.ReferenceValue")
- proto.RegisterType((*PropertyValue_ReferenceValue_PathElement)(nil), "appengine.PropertyValue.ReferenceValue.PathElement")
- proto.RegisterType((*Property)(nil), "appengine.Property")
- proto.RegisterType((*Path)(nil), "appengine.Path")
- proto.RegisterType((*Path_Element)(nil), "appengine.Path.Element")
- proto.RegisterType((*Reference)(nil), "appengine.Reference")
- proto.RegisterType((*User)(nil), "appengine.User")
- proto.RegisterType((*EntityProto)(nil), "appengine.EntityProto")
- proto.RegisterType((*CompositeProperty)(nil), "appengine.CompositeProperty")
- proto.RegisterType((*Index)(nil), "appengine.Index")
- proto.RegisterType((*Index_Property)(nil), "appengine.Index.Property")
- proto.RegisterType((*CompositeIndex)(nil), "appengine.CompositeIndex")
- proto.RegisterType((*IndexPostfix)(nil), "appengine.IndexPostfix")
- proto.RegisterType((*IndexPostfix_IndexValue)(nil), "appengine.IndexPostfix.IndexValue")
- proto.RegisterType((*IndexPosition)(nil), "appengine.IndexPosition")
- proto.RegisterType((*Snapshot)(nil), "appengine.Snapshot")
- proto.RegisterType((*InternalHeader)(nil), "appengine.InternalHeader")
- proto.RegisterType((*Transaction)(nil), "appengine.Transaction")
- proto.RegisterType((*Query)(nil), "appengine.Query")
- proto.RegisterType((*Query_Filter)(nil), "appengine.Query.Filter")
- proto.RegisterType((*Query_Order)(nil), "appengine.Query.Order")
- proto.RegisterType((*CompiledQuery)(nil), "appengine.CompiledQuery")
- proto.RegisterType((*CompiledQuery_PrimaryScan)(nil), "appengine.CompiledQuery.PrimaryScan")
- proto.RegisterType((*CompiledQuery_MergeJoinScan)(nil), "appengine.CompiledQuery.MergeJoinScan")
- proto.RegisterType((*CompiledQuery_EntityFilter)(nil), "appengine.CompiledQuery.EntityFilter")
- proto.RegisterType((*CompiledCursor)(nil), "appengine.CompiledCursor")
- proto.RegisterType((*CompiledCursor_Position)(nil), "appengine.CompiledCursor.Position")
- proto.RegisterType((*CompiledCursor_Position_IndexValue)(nil), "appengine.CompiledCursor.Position.IndexValue")
- proto.RegisterType((*Cursor)(nil), "appengine.Cursor")
- proto.RegisterType((*Error)(nil), "appengine.Error")
- proto.RegisterType((*Cost)(nil), "appengine.Cost")
- proto.RegisterType((*Cost_CommitCost)(nil), "appengine.Cost.CommitCost")
- proto.RegisterType((*GetRequest)(nil), "appengine.GetRequest")
- proto.RegisterType((*GetResponse)(nil), "appengine.GetResponse")
- proto.RegisterType((*GetResponse_Entity)(nil), "appengine.GetResponse.Entity")
- proto.RegisterType((*PutRequest)(nil), "appengine.PutRequest")
- proto.RegisterType((*PutResponse)(nil), "appengine.PutResponse")
- proto.RegisterType((*TouchRequest)(nil), "appengine.TouchRequest")
- proto.RegisterType((*TouchResponse)(nil), "appengine.TouchResponse")
- proto.RegisterType((*DeleteRequest)(nil), "appengine.DeleteRequest")
- proto.RegisterType((*DeleteResponse)(nil), "appengine.DeleteResponse")
- proto.RegisterType((*NextRequest)(nil), "appengine.NextRequest")
- proto.RegisterType((*QueryResult)(nil), "appengine.QueryResult")
- proto.RegisterType((*AllocateIdsRequest)(nil), "appengine.AllocateIdsRequest")
- proto.RegisterType((*AllocateIdsResponse)(nil), "appengine.AllocateIdsResponse")
- proto.RegisterType((*CompositeIndices)(nil), "appengine.CompositeIndices")
- proto.RegisterType((*AddActionsRequest)(nil), "appengine.AddActionsRequest")
- proto.RegisterType((*AddActionsResponse)(nil), "appengine.AddActionsResponse")
- proto.RegisterType((*BeginTransactionRequest)(nil), "appengine.BeginTransactionRequest")
- proto.RegisterType((*CommitResponse)(nil), "appengine.CommitResponse")
- proto.RegisterType((*CommitResponse_Version)(nil), "appengine.CommitResponse.Version")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/datastore/datastore_v3.proto", fileDescriptor_datastore_v3_83b17b80c34f6179)
-}
-
-var fileDescriptor_datastore_v3_83b17b80c34f6179 = []byte{
- // 4156 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xcd, 0x73, 0xe3, 0x46,
- 0x76, 0x37, 0xc1, 0xef, 0x47, 0x89, 0x82, 0x5a, 0xf3, 0xc1, 0xa1, 0x3f, 0x46, 0xc6, 0xac, 0x6d,
- 0xd9, 0x6b, 0x73, 0x6c, 0xf9, 0x23, 0x5b, 0x4a, 0x76, 0x1d, 0x4a, 0xc4, 0x68, 0x90, 0xa1, 0x48,
- 0xb9, 0x09, 0xd9, 0x9e, 0x5c, 0x50, 0x18, 0xa2, 0x29, 0x21, 0x43, 0x02, 0x30, 0x00, 0x6a, 0x46,
- 0x93, 0xe4, 0x90, 0x4b, 0x2a, 0x55, 0x5b, 0xa9, 0x1c, 0x92, 0x4a, 0x25, 0xf9, 0x07, 0x72, 0xc8,
- 0x39, 0x95, 0xaa, 0x54, 0xf6, 0x98, 0x5b, 0x0e, 0x7b, 0xc9, 0x31, 0x95, 0x73, 0xf2, 0x27, 0x24,
- 0x39, 0xa4, 0xfa, 0x75, 0x03, 0x02, 0x28, 0x4a, 0x23, 0x6d, 0xf6, 0x90, 0x13, 0xd1, 0xef, 0xfd,
- 0xba, 0xf1, 0xfa, 0xf5, 0xfb, 0x6c, 0x10, 0xba, 0xc7, 0xbe, 0x7f, 0x3c, 0x65, 0x9d, 0x63, 0x7f,
- 0x6a, 0x7b, 0xc7, 0x1d, 0x3f, 0x3c, 0x7e, 0x68, 0x07, 0x01, 0xf3, 0x8e, 0x5d, 0x8f, 0x3d, 0x74,
- 0xbd, 0x98, 0x85, 0x9e, 0x3d, 0x7d, 0xe8, 0xd8, 0xb1, 0x1d, 0xc5, 0x7e, 0xc8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f2, 0xbd,
- 0x48, 0x59, 0xfc, 0x0d, 0x44, 0x0e, 0x77, 0x1b, 0xbf, 0x5b, 0x4f, 0xff, 0xb7, 0xfb, 0xbf, 0x01,
- 0x00, 0x00, 0xff, 0xff, 0x35, 0x9f, 0x30, 0x98, 0xf2, 0x2b, 0x00, 0x00,
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto
deleted file mode 100644
index 497b4d9a9a..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto
+++ /dev/null
@@ -1,551 +0,0 @@
-syntax = "proto2";
-option go_package = "datastore";
-
-package appengine;
-
-message Action{}
-
-message PropertyValue {
- optional int64 int64Value = 1;
- optional bool booleanValue = 2;
- optional string stringValue = 3;
- optional double doubleValue = 4;
-
- optional group PointValue = 5 {
- required double x = 6;
- required double y = 7;
- }
-
- optional group UserValue = 8 {
- required string email = 9;
- required string auth_domain = 10;
- optional string nickname = 11;
- optional string federated_identity = 21;
- optional string federated_provider = 22;
- }
-
- optional group ReferenceValue = 12 {
- required string app = 13;
- optional string name_space = 20;
- repeated group PathElement = 14 {
- required string type = 15;
- optional int64 id = 16;
- optional string name = 17;
- }
- }
-}
-
-message Property {
- enum Meaning {
- NO_MEANING = 0;
- BLOB = 14;
- TEXT = 15;
- BYTESTRING = 16;
-
- ATOM_CATEGORY = 1;
- ATOM_LINK = 2;
- ATOM_TITLE = 3;
- ATOM_CONTENT = 4;
- ATOM_SUMMARY = 5;
- ATOM_AUTHOR = 6;
-
- GD_WHEN = 7;
- GD_EMAIL = 8;
- GEORSS_POINT = 9;
- GD_IM = 10;
-
- GD_PHONENUMBER = 11;
- GD_POSTALADDRESS = 12;
-
- GD_RATING = 13;
-
- BLOBKEY = 17;
- ENTITY_PROTO = 19;
-
- INDEX_VALUE = 18;
- };
-
- optional Meaning meaning = 1 [default = NO_MEANING];
- optional string meaning_uri = 2;
-
- required string name = 3;
-
- required PropertyValue value = 5;
-
- required bool multiple = 4;
-
- optional bool searchable = 6 [default=false];
-
- enum FtsTokenizationOption {
- HTML = 1;
- ATOM = 2;
- }
-
- optional FtsTokenizationOption fts_tokenization_option = 8;
-
- optional string locale = 9 [default = "en"];
-}
-
-message Path {
- repeated group Element = 1 {
- required string type = 2;
- optional int64 id = 3;
- optional string name = 4;
- }
-}
-
-message Reference {
- required string app = 13;
- optional string name_space = 20;
- required Path path = 14;
-}
-
-message User {
- required string email = 1;
- required string auth_domain = 2;
- optional string nickname = 3;
- optional string federated_identity = 6;
- optional string federated_provider = 7;
-}
-
-message EntityProto {
- required Reference key = 13;
- required Path entity_group = 16;
- optional User owner = 17;
-
- enum Kind {
- GD_CONTACT = 1;
- GD_EVENT = 2;
- GD_MESSAGE = 3;
- }
- optional Kind kind = 4;
- optional string kind_uri = 5;
-
- repeated Property property = 14;
- repeated Property raw_property = 15;
-
- optional int32 rank = 18;
-}
-
-message CompositeProperty {
- required int64 index_id = 1;
- repeated string value = 2;
-}
-
-message Index {
- required string entity_type = 1;
- required bool ancestor = 5;
- repeated group Property = 2 {
- required string name = 3;
- enum Direction {
- ASCENDING = 1;
- DESCENDING = 2;
- }
- optional Direction direction = 4 [default = ASCENDING];
- }
-}
-
-message CompositeIndex {
- required string app_id = 1;
- required int64 id = 2;
- required Index definition = 3;
-
- enum State {
- WRITE_ONLY = 1;
- READ_WRITE = 2;
- DELETED = 3;
- ERROR = 4;
- }
- required State state = 4;
-
- optional bool only_use_if_required = 6 [default = false];
-}
-
-message IndexPostfix {
- message IndexValue {
- required string property_name = 1;
- required PropertyValue value = 2;
- }
-
- repeated IndexValue index_value = 1;
-
- optional Reference key = 2;
-
- optional bool before = 3 [default=true];
-}
-
-message IndexPosition {
- optional string key = 1;
-
- optional bool before = 2 [default=true];
-}
-
-message Snapshot {
- enum Status {
- INACTIVE = 0;
- ACTIVE = 1;
- }
-
- required int64 ts = 1;
-}
-
-message InternalHeader {
- optional string qos = 1;
-}
-
-message Transaction {
- optional InternalHeader header = 4;
- required fixed64 handle = 1;
- required string app = 2;
- optional bool mark_changes = 3 [default = false];
-}
-
-message Query {
- optional InternalHeader header = 39;
-
- required string app = 1;
- optional string name_space = 29;
-
- optional string kind = 3;
- optional Reference ancestor = 17;
-
- repeated group Filter = 4 {
- enum Operator {
- LESS_THAN = 1;
- LESS_THAN_OR_EQUAL = 2;
- GREATER_THAN = 3;
- GREATER_THAN_OR_EQUAL = 4;
- EQUAL = 5;
- IN = 6;
- EXISTS = 7;
- }
-
- required Operator op = 6;
- repeated Property property = 14;
- }
-
- optional string search_query = 8;
-
- repeated group Order = 9 {
- enum Direction {
- ASCENDING = 1;
- DESCENDING = 2;
- }
-
- required string property = 10;
- optional Direction direction = 11 [default = ASCENDING];
- }
-
- enum Hint {
- ORDER_FIRST = 1;
- ANCESTOR_FIRST = 2;
- FILTER_FIRST = 3;
- }
- optional Hint hint = 18;
-
- optional int32 count = 23;
-
- optional int32 offset = 12 [default = 0];
-
- optional int32 limit = 16;
-
- optional CompiledCursor compiled_cursor = 30;
- optional CompiledCursor end_compiled_cursor = 31;
-
- repeated CompositeIndex composite_index = 19;
-
- optional bool require_perfect_plan = 20 [default = false];
-
- optional bool keys_only = 21 [default = false];
-
- optional Transaction transaction = 22;
-
- optional bool compile = 25 [default = false];
-
- optional int64 failover_ms = 26;
-
- optional bool strong = 32;
-
- repeated string property_name = 33;
-
- repeated string group_by_property_name = 34;
-
- optional bool distinct = 24;
-
- optional int64 min_safe_time_seconds = 35;
-
- repeated string safe_replica_name = 36;
-
- optional bool persist_offset = 37 [default=false];
-}
-
-message CompiledQuery {
- required group PrimaryScan = 1 {
- optional string index_name = 2;
-
- optional string start_key = 3;
- optional bool start_inclusive = 4;
- optional string end_key = 5;
- optional bool end_inclusive = 6;
-
- repeated string start_postfix_value = 22;
- repeated string end_postfix_value = 23;
-
- optional int64 end_unapplied_log_timestamp_us = 19;
- }
-
- repeated group MergeJoinScan = 7 {
- required string index_name = 8;
-
- repeated string prefix_value = 9;
-
- optional bool value_prefix = 20 [default=false];
- }
-
- optional Index index_def = 21;
-
- optional int32 offset = 10 [default = 0];
-
- optional int32 limit = 11;
-
- required bool keys_only = 12;
-
- repeated string property_name = 24;
-
- optional int32 distinct_infix_size = 25;
-
- optional group EntityFilter = 13 {
- optional bool distinct = 14 [default=false];
-
- optional string kind = 17;
- optional Reference ancestor = 18;
- }
-}
-
-message CompiledCursor {
- optional group Position = 2 {
- optional string start_key = 27;
-
- repeated group IndexValue = 29 {
- optional string property = 30;
- required PropertyValue value = 31;
- }
-
- optional Reference key = 32;
-
- optional bool start_inclusive = 28 [default=true];
- }
-}
-
-message Cursor {
- required fixed64 cursor = 1;
-
- optional string app = 2;
-}
-
-message Error {
- enum ErrorCode {
- BAD_REQUEST = 1;
- CONCURRENT_TRANSACTION = 2;
- INTERNAL_ERROR = 3;
- NEED_INDEX = 4;
- TIMEOUT = 5;
- PERMISSION_DENIED = 6;
- BIGTABLE_ERROR = 7;
- COMMITTED_BUT_STILL_APPLYING = 8;
- CAPABILITY_DISABLED = 9;
- TRY_ALTERNATE_BACKEND = 10;
- SAFE_TIME_TOO_OLD = 11;
- }
-}
-
-message Cost {
- optional int32 index_writes = 1;
- optional int32 index_write_bytes = 2;
- optional int32 entity_writes = 3;
- optional int32 entity_write_bytes = 4;
- optional group CommitCost = 5 {
- optional int32 requested_entity_puts = 6;
- optional int32 requested_entity_deletes = 7;
- };
- optional int32 approximate_storage_delta = 8;
- optional int32 id_sequence_updates = 9;
-}
-
-message GetRequest {
- optional InternalHeader header = 6;
-
- repeated Reference key = 1;
- optional Transaction transaction = 2;
-
- optional int64 failover_ms = 3;
-
- optional bool strong = 4;
-
- optional bool allow_deferred = 5 [default=false];
-}
-
-message GetResponse {
- repeated group Entity = 1 {
- optional EntityProto entity = 2;
- optional Reference key = 4;
-
- optional int64 version = 3;
- }
-
- repeated Reference deferred = 5;
-
- optional bool in_order = 6 [default=true];
-}
-
-message PutRequest {
- optional InternalHeader header = 11;
-
- repeated EntityProto entity = 1;
- optional Transaction transaction = 2;
- repeated CompositeIndex composite_index = 3;
-
- optional bool trusted = 4 [default = false];
-
- optional bool force = 7 [default = false];
-
- optional bool mark_changes = 8 [default = false];
- repeated Snapshot snapshot = 9;
-
- enum AutoIdPolicy {
- CURRENT = 0;
- SEQUENTIAL = 1;
- }
- optional AutoIdPolicy auto_id_policy = 10 [default = CURRENT];
-}
-
-message PutResponse {
- repeated Reference key = 1;
- optional Cost cost = 2;
- repeated int64 version = 3;
-}
-
-message TouchRequest {
- optional InternalHeader header = 10;
-
- repeated Reference key = 1;
- repeated CompositeIndex composite_index = 2;
- optional bool force = 3 [default = false];
- repeated Snapshot snapshot = 9;
-}
-
-message TouchResponse {
- optional Cost cost = 1;
-}
-
-message DeleteRequest {
- optional InternalHeader header = 10;
-
- repeated Reference key = 6;
- optional Transaction transaction = 5;
-
- optional bool trusted = 4 [default = false];
-
- optional bool force = 7 [default = false];
-
- optional bool mark_changes = 8 [default = false];
- repeated Snapshot snapshot = 9;
-}
-
-message DeleteResponse {
- optional Cost cost = 1;
- repeated int64 version = 3;
-}
-
-message NextRequest {
- optional InternalHeader header = 5;
-
- required Cursor cursor = 1;
- optional int32 count = 2;
-
- optional int32 offset = 4 [default = 0];
-
- optional bool compile = 3 [default = false];
-}
-
-message QueryResult {
- optional Cursor cursor = 1;
-
- repeated EntityProto result = 2;
-
- optional int32 skipped_results = 7;
-
- required bool more_results = 3;
-
- optional bool keys_only = 4;
-
- optional bool index_only = 9;
-
- optional bool small_ops = 10;
-
- optional CompiledQuery compiled_query = 5;
-
- optional CompiledCursor compiled_cursor = 6;
-
- repeated CompositeIndex index = 8;
-
- repeated int64 version = 11;
-}
-
-message AllocateIdsRequest {
- optional InternalHeader header = 4;
-
- optional Reference model_key = 1;
-
- optional int64 size = 2;
-
- optional int64 max = 3;
-
- repeated Reference reserve = 5;
-}
-
-message AllocateIdsResponse {
- required int64 start = 1;
- required int64 end = 2;
- optional Cost cost = 3;
-}
-
-message CompositeIndices {
- repeated CompositeIndex index = 1;
-}
-
-message AddActionsRequest {
- optional InternalHeader header = 3;
-
- required Transaction transaction = 1;
- repeated Action action = 2;
-}
-
-message AddActionsResponse {
-}
-
-message BeginTransactionRequest {
- optional InternalHeader header = 3;
-
- required string app = 1;
- optional bool allow_multiple_eg = 2 [default = false];
- optional string database_id = 4;
-
- enum TransactionMode {
- UNKNOWN = 0;
- READ_ONLY = 1;
- READ_WRITE = 2;
- }
- optional TransactionMode mode = 5 [default = UNKNOWN];
-
- optional Transaction previous_transaction = 7;
-}
-
-message CommitResponse {
- optional Cost cost = 1;
-
- repeated group Version = 3 {
- required Reference root_entity_key = 4;
- required int64 version = 5;
- }
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity.go
deleted file mode 100644
index 0f95aa91d5..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity.go
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package internal
-
-import (
- "context"
- "os"
-)
-
-var (
- // This is set to true in identity_classic.go, which is behind the appengine build tag.
- // The appengine build tag is set for the first generation runtimes (<= Go 1.9) but not
- // the second generation runtimes (>= Go 1.11), so this indicates whether we're on a
- // first-gen runtime. See IsStandard below for the second-gen check.
- appengineStandard bool
-
- // This is set to true in identity_flex.go, which is behind the appenginevm build tag.
- appengineFlex bool
-)
-
-// AppID is the implementation of the wrapper function of the same name in
-// ../identity.go. See that file for commentary.
-func AppID(c context.Context) string {
- return appID(FullyQualifiedAppID(c))
-}
-
-// IsStandard is the implementation of the wrapper function of the same name in
-// ../appengine.go. See that file for commentary.
-func IsStandard() bool {
- // appengineStandard will be true for first-gen runtimes (<= Go 1.9) but not
- // second-gen (>= Go 1.11).
- return appengineStandard || IsSecondGen()
-}
-
-// IsSecondGen is the implementation of the wrapper function of the same name in
-// ../appengine.go. See that file for commentary.
-func IsSecondGen() bool {
- // Second-gen runtimes set $GAE_ENV so we use that to check if we're on a second-gen runtime.
- return os.Getenv("GAE_ENV") == "standard"
-}
-
-// IsFlex is the implementation of the wrapper function of the same name in
-// ../appengine.go. See that file for commentary.
-func IsFlex() bool {
- return appengineFlex
-}
-
-// IsAppEngine is the implementation of the wrapper function of the same name in
-// ../appengine.go. See that file for commentary.
-func IsAppEngine() bool {
- return IsStandard() || IsFlex()
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_classic.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_classic.go
deleted file mode 100644
index 5ad3548bf7..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_classic.go
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2015 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build appengine
-// +build appengine
-
-package internal
-
-import (
- "context"
-
- "appengine"
-)
-
-func init() {
- appengineStandard = true
-}
-
-func DefaultVersionHostname(ctx context.Context) string {
- c := fromContext(ctx)
- if c == nil {
- panic(errNotAppEngineContext)
- }
- return appengine.DefaultVersionHostname(c)
-}
-
-func Datacenter(_ context.Context) string { return appengine.Datacenter() }
-func ServerSoftware() string { return appengine.ServerSoftware() }
-func InstanceID() string { return appengine.InstanceID() }
-func IsDevAppServer() bool { return appengine.IsDevAppServer() }
-
-func RequestID(ctx context.Context) string {
- c := fromContext(ctx)
- if c == nil {
- panic(errNotAppEngineContext)
- }
- return appengine.RequestID(c)
-}
-
-func ModuleName(ctx context.Context) string {
- c := fromContext(ctx)
- if c == nil {
- panic(errNotAppEngineContext)
- }
- return appengine.ModuleName(c)
-}
-func VersionID(ctx context.Context) string {
- c := fromContext(ctx)
- if c == nil {
- panic(errNotAppEngineContext)
- }
- return appengine.VersionID(c)
-}
-
-func fullyQualifiedAppID(ctx context.Context) string {
- c := fromContext(ctx)
- if c == nil {
- panic(errNotAppEngineContext)
- }
- return c.FullyQualifiedAppID()
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_flex.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_flex.go
deleted file mode 100644
index 4201b6b585..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_flex.go
+++ /dev/null
@@ -1,12 +0,0 @@
-// Copyright 2018 Google LLC. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build appenginevm
-// +build appenginevm
-
-package internal
-
-func init() {
- appengineFlex = true
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_vm.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_vm.go
deleted file mode 100644
index 18ddda3a42..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/identity_vm.go
+++ /dev/null
@@ -1,134 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build !appengine
-// +build !appengine
-
-package internal
-
-import (
- "context"
- "log"
- "net/http"
- "os"
- "strings"
-)
-
-// These functions are implementations of the wrapper functions
-// in ../appengine/identity.go. See that file for commentary.
-
-const (
- hDefaultVersionHostname = "X-AppEngine-Default-Version-Hostname"
- hRequestLogId = "X-AppEngine-Request-Log-Id"
- hDatacenter = "X-AppEngine-Datacenter"
-)
-
-func ctxHeaders(ctx context.Context) http.Header {
- c := fromContext(ctx)
- if c == nil {
- return nil
- }
- return c.Request().Header
-}
-
-func DefaultVersionHostname(ctx context.Context) string {
- return ctxHeaders(ctx).Get(hDefaultVersionHostname)
-}
-
-func RequestID(ctx context.Context) string {
- return ctxHeaders(ctx).Get(hRequestLogId)
-}
-
-func Datacenter(ctx context.Context) string {
- if dc := ctxHeaders(ctx).Get(hDatacenter); dc != "" {
- return dc
- }
- // If the header isn't set, read zone from the metadata service.
- // It has the format projects/[NUMERIC_PROJECT_ID]/zones/[ZONE]
- zone, err := getMetadata("instance/zone")
- if err != nil {
- log.Printf("Datacenter: %v", err)
- return ""
- }
- parts := strings.Split(string(zone), "/")
- if len(parts) == 0 {
- return ""
- }
- return parts[len(parts)-1]
-}
-
-func ServerSoftware() string {
- // TODO(dsymonds): Remove fallback when we've verified this.
- if s := os.Getenv("SERVER_SOFTWARE"); s != "" {
- return s
- }
- if s := os.Getenv("GAE_ENV"); s != "" {
- return s
- }
- return "Google App Engine/1.x.x"
-}
-
-// TODO(dsymonds): Remove the metadata fetches.
-
-func ModuleName(_ context.Context) string {
- if s := os.Getenv("GAE_MODULE_NAME"); s != "" {
- return s
- }
- if s := os.Getenv("GAE_SERVICE"); s != "" {
- return s
- }
- return string(mustGetMetadata("instance/attributes/gae_backend_name"))
-}
-
-func VersionID(_ context.Context) string {
- if s1, s2 := os.Getenv("GAE_MODULE_VERSION"), os.Getenv("GAE_MINOR_VERSION"); s1 != "" && s2 != "" {
- return s1 + "." + s2
- }
- if s1, s2 := os.Getenv("GAE_VERSION"), os.Getenv("GAE_DEPLOYMENT_ID"); s1 != "" && s2 != "" {
- return s1 + "." + s2
- }
- return string(mustGetMetadata("instance/attributes/gae_backend_version")) + "." + string(mustGetMetadata("instance/attributes/gae_backend_minor_version"))
-}
-
-func InstanceID() string {
- if s := os.Getenv("GAE_MODULE_INSTANCE"); s != "" {
- return s
- }
- if s := os.Getenv("GAE_INSTANCE"); s != "" {
- return s
- }
- return string(mustGetMetadata("instance/attributes/gae_backend_instance"))
-}
-
-func partitionlessAppID() string {
- // gae_project has everything except the partition prefix.
- if appID := os.Getenv("GAE_LONG_APP_ID"); appID != "" {
- return appID
- }
- if project := os.Getenv("GOOGLE_CLOUD_PROJECT"); project != "" {
- return project
- }
- return string(mustGetMetadata("instance/attributes/gae_project"))
-}
-
-func fullyQualifiedAppID(_ context.Context) string {
- if s := os.Getenv("GAE_APPLICATION"); s != "" {
- return s
- }
- appID := partitionlessAppID()
-
- part := os.Getenv("GAE_PARTITION")
- if part == "" {
- part = string(mustGetMetadata("instance/attributes/gae_partition"))
- }
-
- if part != "" {
- appID = part + "~" + appID
- }
- return appID
-}
-
-func IsDevAppServer() bool {
- return os.Getenv("RUN_WITH_DEVAPPSERVER") != "" || os.Getenv("GAE_ENV") == "localdev"
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/internal.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/internal.go
deleted file mode 100644
index 051ea3980a..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/internal.go
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-// Package internal provides support for package appengine.
-//
-// Programs should not use this package directly. Its API is not stable.
-// Use packages appengine and appengine/* instead.
-package internal
-
-import (
- "fmt"
-
- "github.com/golang/protobuf/proto"
-
- remotepb "google.golang.org/appengine/internal/remote_api"
-)
-
-// errorCodeMaps is a map of service name to the error code map for the service.
-var errorCodeMaps = make(map[string]map[int32]string)
-
-// RegisterErrorCodeMap is called from API implementations to register their
-// error code map. This should only be called from init functions.
-func RegisterErrorCodeMap(service string, m map[int32]string) {
- errorCodeMaps[service] = m
-}
-
-type timeoutCodeKey struct {
- service string
- code int32
-}
-
-// timeoutCodes is the set of service+code pairs that represent timeouts.
-var timeoutCodes = make(map[timeoutCodeKey]bool)
-
-func RegisterTimeoutErrorCode(service string, code int32) {
- timeoutCodes[timeoutCodeKey{service, code}] = true
-}
-
-// APIError is the type returned by appengine.Context's Call method
-// when an API call fails in an API-specific way. This may be, for instance,
-// a taskqueue API call failing with TaskQueueServiceError::UNKNOWN_QUEUE.
-type APIError struct {
- Service string
- Detail string
- Code int32 // API-specific error code
-}
-
-func (e *APIError) Error() string {
- if e.Code == 0 {
- if e.Detail == "" {
- return "APIError "
- }
- return e.Detail
- }
- s := fmt.Sprintf("API error %d", e.Code)
- if m, ok := errorCodeMaps[e.Service]; ok {
- s += " (" + e.Service + ": " + m[e.Code] + ")"
- } else {
- // Shouldn't happen, but provide a bit more detail if it does.
- s = e.Service + " " + s
- }
- if e.Detail != "" {
- s += ": " + e.Detail
- }
- return s
-}
-
-func (e *APIError) IsTimeout() bool {
- return timeoutCodes[timeoutCodeKey{e.Service, e.Code}]
-}
-
-// CallError is the type returned by appengine.Context's Call method when an
-// API call fails in a generic way, such as RpcError::CAPABILITY_DISABLED.
-type CallError struct {
- Detail string
- Code int32
- // TODO: Remove this if we get a distinguishable error code.
- Timeout bool
-}
-
-func (e *CallError) Error() string {
- var msg string
- switch remotepb.RpcError_ErrorCode(e.Code) {
- case remotepb.RpcError_UNKNOWN:
- return e.Detail
- case remotepb.RpcError_OVER_QUOTA:
- msg = "Over quota"
- case remotepb.RpcError_CAPABILITY_DISABLED:
- msg = "Capability disabled"
- case remotepb.RpcError_CANCELLED:
- msg = "Canceled"
- default:
- msg = fmt.Sprintf("Call error %d", e.Code)
- }
- s := msg + ": " + e.Detail
- if e.Timeout {
- s += " (timeout)"
- }
- return s
-}
-
-func (e *CallError) IsTimeout() bool {
- return e.Timeout
-}
-
-// NamespaceMods is a map from API service to a function that will mutate an RPC request to attach a namespace.
-// The function should be prepared to be called on the same message more than once; it should only modify the
-// RPC request the first time.
-var NamespaceMods = make(map[string]func(m proto.Message, namespace string))
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/log/log_service.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/log/log_service.pb.go
deleted file mode 100644
index 8545ac4ad6..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/log/log_service.pb.go
+++ /dev/null
@@ -1,1313 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/log/log_service.proto
-
-package log
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type LogServiceError_ErrorCode int32
-
-const (
- LogServiceError_OK LogServiceError_ErrorCode = 0
- LogServiceError_INVALID_REQUEST LogServiceError_ErrorCode = 1
- LogServiceError_STORAGE_ERROR LogServiceError_ErrorCode = 2
-)
-
-var LogServiceError_ErrorCode_name = map[int32]string{
- 0: "OK",
- 1: "INVALID_REQUEST",
- 2: "STORAGE_ERROR",
-}
-var LogServiceError_ErrorCode_value = map[string]int32{
- "OK": 0,
- "INVALID_REQUEST": 1,
- "STORAGE_ERROR": 2,
-}
-
-func (x LogServiceError_ErrorCode) Enum() *LogServiceError_ErrorCode {
- p := new(LogServiceError_ErrorCode)
- *p = x
- return p
-}
-func (x LogServiceError_ErrorCode) String() string {
- return proto.EnumName(LogServiceError_ErrorCode_name, int32(x))
-}
-func (x *LogServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(LogServiceError_ErrorCode_value, data, "LogServiceError_ErrorCode")
- if err != nil {
- return err
- }
- *x = LogServiceError_ErrorCode(value)
- return nil
-}
-func (LogServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{0, 0}
-}
-
-type LogServiceError struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogServiceError) Reset() { *m = LogServiceError{} }
-func (m *LogServiceError) String() string { return proto.CompactTextString(m) }
-func (*LogServiceError) ProtoMessage() {}
-func (*LogServiceError) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{0}
-}
-func (m *LogServiceError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogServiceError.Unmarshal(m, b)
-}
-func (m *LogServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogServiceError.Marshal(b, m, deterministic)
-}
-func (dst *LogServiceError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogServiceError.Merge(dst, src)
-}
-func (m *LogServiceError) XXX_Size() int {
- return xxx_messageInfo_LogServiceError.Size(m)
-}
-func (m *LogServiceError) XXX_DiscardUnknown() {
- xxx_messageInfo_LogServiceError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogServiceError proto.InternalMessageInfo
-
-type UserAppLogLine struct {
- TimestampUsec *int64 `protobuf:"varint,1,req,name=timestamp_usec,json=timestampUsec" json:"timestamp_usec,omitempty"`
- Level *int64 `protobuf:"varint,2,req,name=level" json:"level,omitempty"`
- Message *string `protobuf:"bytes,3,req,name=message" json:"message,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UserAppLogLine) Reset() { *m = UserAppLogLine{} }
-func (m *UserAppLogLine) String() string { return proto.CompactTextString(m) }
-func (*UserAppLogLine) ProtoMessage() {}
-func (*UserAppLogLine) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{1}
-}
-func (m *UserAppLogLine) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UserAppLogLine.Unmarshal(m, b)
-}
-func (m *UserAppLogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UserAppLogLine.Marshal(b, m, deterministic)
-}
-func (dst *UserAppLogLine) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UserAppLogLine.Merge(dst, src)
-}
-func (m *UserAppLogLine) XXX_Size() int {
- return xxx_messageInfo_UserAppLogLine.Size(m)
-}
-func (m *UserAppLogLine) XXX_DiscardUnknown() {
- xxx_messageInfo_UserAppLogLine.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UserAppLogLine proto.InternalMessageInfo
-
-func (m *UserAppLogLine) GetTimestampUsec() int64 {
- if m != nil && m.TimestampUsec != nil {
- return *m.TimestampUsec
- }
- return 0
-}
-
-func (m *UserAppLogLine) GetLevel() int64 {
- if m != nil && m.Level != nil {
- return *m.Level
- }
- return 0
-}
-
-func (m *UserAppLogLine) GetMessage() string {
- if m != nil && m.Message != nil {
- return *m.Message
- }
- return ""
-}
-
-type UserAppLogGroup struct {
- LogLine []*UserAppLogLine `protobuf:"bytes,2,rep,name=log_line,json=logLine" json:"log_line,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *UserAppLogGroup) Reset() { *m = UserAppLogGroup{} }
-func (m *UserAppLogGroup) String() string { return proto.CompactTextString(m) }
-func (*UserAppLogGroup) ProtoMessage() {}
-func (*UserAppLogGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{2}
-}
-func (m *UserAppLogGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_UserAppLogGroup.Unmarshal(m, b)
-}
-func (m *UserAppLogGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_UserAppLogGroup.Marshal(b, m, deterministic)
-}
-func (dst *UserAppLogGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UserAppLogGroup.Merge(dst, src)
-}
-func (m *UserAppLogGroup) XXX_Size() int {
- return xxx_messageInfo_UserAppLogGroup.Size(m)
-}
-func (m *UserAppLogGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_UserAppLogGroup.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UserAppLogGroup proto.InternalMessageInfo
-
-func (m *UserAppLogGroup) GetLogLine() []*UserAppLogLine {
- if m != nil {
- return m.LogLine
- }
- return nil
-}
-
-type FlushRequest struct {
- Logs []byte `protobuf:"bytes,1,opt,name=logs" json:"logs,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *FlushRequest) Reset() { *m = FlushRequest{} }
-func (m *FlushRequest) String() string { return proto.CompactTextString(m) }
-func (*FlushRequest) ProtoMessage() {}
-func (*FlushRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{3}
-}
-func (m *FlushRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FlushRequest.Unmarshal(m, b)
-}
-func (m *FlushRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FlushRequest.Marshal(b, m, deterministic)
-}
-func (dst *FlushRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FlushRequest.Merge(dst, src)
-}
-func (m *FlushRequest) XXX_Size() int {
- return xxx_messageInfo_FlushRequest.Size(m)
-}
-func (m *FlushRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FlushRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FlushRequest proto.InternalMessageInfo
-
-func (m *FlushRequest) GetLogs() []byte {
- if m != nil {
- return m.Logs
- }
- return nil
-}
-
-type SetStatusRequest struct {
- Status *string `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SetStatusRequest) Reset() { *m = SetStatusRequest{} }
-func (m *SetStatusRequest) String() string { return proto.CompactTextString(m) }
-func (*SetStatusRequest) ProtoMessage() {}
-func (*SetStatusRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{4}
-}
-func (m *SetStatusRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SetStatusRequest.Unmarshal(m, b)
-}
-func (m *SetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SetStatusRequest.Marshal(b, m, deterministic)
-}
-func (dst *SetStatusRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SetStatusRequest.Merge(dst, src)
-}
-func (m *SetStatusRequest) XXX_Size() int {
- return xxx_messageInfo_SetStatusRequest.Size(m)
-}
-func (m *SetStatusRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SetStatusRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SetStatusRequest proto.InternalMessageInfo
-
-func (m *SetStatusRequest) GetStatus() string {
- if m != nil && m.Status != nil {
- return *m.Status
- }
- return ""
-}
-
-type LogOffset struct {
- RequestId []byte `protobuf:"bytes,1,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogOffset) Reset() { *m = LogOffset{} }
-func (m *LogOffset) String() string { return proto.CompactTextString(m) }
-func (*LogOffset) ProtoMessage() {}
-func (*LogOffset) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{5}
-}
-func (m *LogOffset) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogOffset.Unmarshal(m, b)
-}
-func (m *LogOffset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogOffset.Marshal(b, m, deterministic)
-}
-func (dst *LogOffset) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogOffset.Merge(dst, src)
-}
-func (m *LogOffset) XXX_Size() int {
- return xxx_messageInfo_LogOffset.Size(m)
-}
-func (m *LogOffset) XXX_DiscardUnknown() {
- xxx_messageInfo_LogOffset.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogOffset proto.InternalMessageInfo
-
-func (m *LogOffset) GetRequestId() []byte {
- if m != nil {
- return m.RequestId
- }
- return nil
-}
-
-type LogLine struct {
- Time *int64 `protobuf:"varint,1,req,name=time" json:"time,omitempty"`
- Level *int32 `protobuf:"varint,2,req,name=level" json:"level,omitempty"`
- LogMessage *string `protobuf:"bytes,3,req,name=log_message,json=logMessage" json:"log_message,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogLine) Reset() { *m = LogLine{} }
-func (m *LogLine) String() string { return proto.CompactTextString(m) }
-func (*LogLine) ProtoMessage() {}
-func (*LogLine) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{6}
-}
-func (m *LogLine) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogLine.Unmarshal(m, b)
-}
-func (m *LogLine) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogLine.Marshal(b, m, deterministic)
-}
-func (dst *LogLine) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogLine.Merge(dst, src)
-}
-func (m *LogLine) XXX_Size() int {
- return xxx_messageInfo_LogLine.Size(m)
-}
-func (m *LogLine) XXX_DiscardUnknown() {
- xxx_messageInfo_LogLine.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogLine proto.InternalMessageInfo
-
-func (m *LogLine) GetTime() int64 {
- if m != nil && m.Time != nil {
- return *m.Time
- }
- return 0
-}
-
-func (m *LogLine) GetLevel() int32 {
- if m != nil && m.Level != nil {
- return *m.Level
- }
- return 0
-}
-
-func (m *LogLine) GetLogMessage() string {
- if m != nil && m.LogMessage != nil {
- return *m.LogMessage
- }
- return ""
-}
-
-type RequestLog struct {
- AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
- ModuleId *string `protobuf:"bytes,37,opt,name=module_id,json=moduleId,def=default" json:"module_id,omitempty"`
- VersionId *string `protobuf:"bytes,2,req,name=version_id,json=versionId" json:"version_id,omitempty"`
- RequestId []byte `protobuf:"bytes,3,req,name=request_id,json=requestId" json:"request_id,omitempty"`
- Offset *LogOffset `protobuf:"bytes,35,opt,name=offset" json:"offset,omitempty"`
- Ip *string `protobuf:"bytes,4,req,name=ip" json:"ip,omitempty"`
- Nickname *string `protobuf:"bytes,5,opt,name=nickname" json:"nickname,omitempty"`
- StartTime *int64 `protobuf:"varint,6,req,name=start_time,json=startTime" json:"start_time,omitempty"`
- EndTime *int64 `protobuf:"varint,7,req,name=end_time,json=endTime" json:"end_time,omitempty"`
- Latency *int64 `protobuf:"varint,8,req,name=latency" json:"latency,omitempty"`
- Mcycles *int64 `protobuf:"varint,9,req,name=mcycles" json:"mcycles,omitempty"`
- Method *string `protobuf:"bytes,10,req,name=method" json:"method,omitempty"`
- Resource *string `protobuf:"bytes,11,req,name=resource" json:"resource,omitempty"`
- HttpVersion *string `protobuf:"bytes,12,req,name=http_version,json=httpVersion" json:"http_version,omitempty"`
- Status *int32 `protobuf:"varint,13,req,name=status" json:"status,omitempty"`
- ResponseSize *int64 `protobuf:"varint,14,req,name=response_size,json=responseSize" json:"response_size,omitempty"`
- Referrer *string `protobuf:"bytes,15,opt,name=referrer" json:"referrer,omitempty"`
- UserAgent *string `protobuf:"bytes,16,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
- UrlMapEntry *string `protobuf:"bytes,17,req,name=url_map_entry,json=urlMapEntry" json:"url_map_entry,omitempty"`
- Combined *string `protobuf:"bytes,18,req,name=combined" json:"combined,omitempty"`
- ApiMcycles *int64 `protobuf:"varint,19,opt,name=api_mcycles,json=apiMcycles" json:"api_mcycles,omitempty"`
- Host *string `protobuf:"bytes,20,opt,name=host" json:"host,omitempty"`
- Cost *float64 `protobuf:"fixed64,21,opt,name=cost" json:"cost,omitempty"`
- TaskQueueName *string `protobuf:"bytes,22,opt,name=task_queue_name,json=taskQueueName" json:"task_queue_name,omitempty"`
- TaskName *string `protobuf:"bytes,23,opt,name=task_name,json=taskName" json:"task_name,omitempty"`
- WasLoadingRequest *bool `protobuf:"varint,24,opt,name=was_loading_request,json=wasLoadingRequest" json:"was_loading_request,omitempty"`
- PendingTime *int64 `protobuf:"varint,25,opt,name=pending_time,json=pendingTime" json:"pending_time,omitempty"`
- ReplicaIndex *int32 `protobuf:"varint,26,opt,name=replica_index,json=replicaIndex,def=-1" json:"replica_index,omitempty"`
- Finished *bool `protobuf:"varint,27,opt,name=finished,def=1" json:"finished,omitempty"`
- CloneKey []byte `protobuf:"bytes,28,opt,name=clone_key,json=cloneKey" json:"clone_key,omitempty"`
- Line []*LogLine `protobuf:"bytes,29,rep,name=line" json:"line,omitempty"`
- LinesIncomplete *bool `protobuf:"varint,36,opt,name=lines_incomplete,json=linesIncomplete" json:"lines_incomplete,omitempty"`
- AppEngineRelease []byte `protobuf:"bytes,38,opt,name=app_engine_release,json=appEngineRelease" json:"app_engine_release,omitempty"`
- ExitReason *int32 `protobuf:"varint,30,opt,name=exit_reason,json=exitReason" json:"exit_reason,omitempty"`
- WasThrottledForTime *bool `protobuf:"varint,31,opt,name=was_throttled_for_time,json=wasThrottledForTime" json:"was_throttled_for_time,omitempty"`
- WasThrottledForRequests *bool `protobuf:"varint,32,opt,name=was_throttled_for_requests,json=wasThrottledForRequests" json:"was_throttled_for_requests,omitempty"`
- ThrottledTime *int64 `protobuf:"varint,33,opt,name=throttled_time,json=throttledTime" json:"throttled_time,omitempty"`
- ServerName []byte `protobuf:"bytes,34,opt,name=server_name,json=serverName" json:"server_name,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *RequestLog) Reset() { *m = RequestLog{} }
-func (m *RequestLog) String() string { return proto.CompactTextString(m) }
-func (*RequestLog) ProtoMessage() {}
-func (*RequestLog) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{7}
-}
-func (m *RequestLog) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RequestLog.Unmarshal(m, b)
-}
-func (m *RequestLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RequestLog.Marshal(b, m, deterministic)
-}
-func (dst *RequestLog) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RequestLog.Merge(dst, src)
-}
-func (m *RequestLog) XXX_Size() int {
- return xxx_messageInfo_RequestLog.Size(m)
-}
-func (m *RequestLog) XXX_DiscardUnknown() {
- xxx_messageInfo_RequestLog.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_RequestLog proto.InternalMessageInfo
-
-const Default_RequestLog_ModuleId string = "default"
-const Default_RequestLog_ReplicaIndex int32 = -1
-const Default_RequestLog_Finished bool = true
-
-func (m *RequestLog) GetAppId() string {
- if m != nil && m.AppId != nil {
- return *m.AppId
- }
- return ""
-}
-
-func (m *RequestLog) GetModuleId() string {
- if m != nil && m.ModuleId != nil {
- return *m.ModuleId
- }
- return Default_RequestLog_ModuleId
-}
-
-func (m *RequestLog) GetVersionId() string {
- if m != nil && m.VersionId != nil {
- return *m.VersionId
- }
- return ""
-}
-
-func (m *RequestLog) GetRequestId() []byte {
- if m != nil {
- return m.RequestId
- }
- return nil
-}
-
-func (m *RequestLog) GetOffset() *LogOffset {
- if m != nil {
- return m.Offset
- }
- return nil
-}
-
-func (m *RequestLog) GetIp() string {
- if m != nil && m.Ip != nil {
- return *m.Ip
- }
- return ""
-}
-
-func (m *RequestLog) GetNickname() string {
- if m != nil && m.Nickname != nil {
- return *m.Nickname
- }
- return ""
-}
-
-func (m *RequestLog) GetStartTime() int64 {
- if m != nil && m.StartTime != nil {
- return *m.StartTime
- }
- return 0
-}
-
-func (m *RequestLog) GetEndTime() int64 {
- if m != nil && m.EndTime != nil {
- return *m.EndTime
- }
- return 0
-}
-
-func (m *RequestLog) GetLatency() int64 {
- if m != nil && m.Latency != nil {
- return *m.Latency
- }
- return 0
-}
-
-func (m *RequestLog) GetMcycles() int64 {
- if m != nil && m.Mcycles != nil {
- return *m.Mcycles
- }
- return 0
-}
-
-func (m *RequestLog) GetMethod() string {
- if m != nil && m.Method != nil {
- return *m.Method
- }
- return ""
-}
-
-func (m *RequestLog) GetResource() string {
- if m != nil && m.Resource != nil {
- return *m.Resource
- }
- return ""
-}
-
-func (m *RequestLog) GetHttpVersion() string {
- if m != nil && m.HttpVersion != nil {
- return *m.HttpVersion
- }
- return ""
-}
-
-func (m *RequestLog) GetStatus() int32 {
- if m != nil && m.Status != nil {
- return *m.Status
- }
- return 0
-}
-
-func (m *RequestLog) GetResponseSize() int64 {
- if m != nil && m.ResponseSize != nil {
- return *m.ResponseSize
- }
- return 0
-}
-
-func (m *RequestLog) GetReferrer() string {
- if m != nil && m.Referrer != nil {
- return *m.Referrer
- }
- return ""
-}
-
-func (m *RequestLog) GetUserAgent() string {
- if m != nil && m.UserAgent != nil {
- return *m.UserAgent
- }
- return ""
-}
-
-func (m *RequestLog) GetUrlMapEntry() string {
- if m != nil && m.UrlMapEntry != nil {
- return *m.UrlMapEntry
- }
- return ""
-}
-
-func (m *RequestLog) GetCombined() string {
- if m != nil && m.Combined != nil {
- return *m.Combined
- }
- return ""
-}
-
-func (m *RequestLog) GetApiMcycles() int64 {
- if m != nil && m.ApiMcycles != nil {
- return *m.ApiMcycles
- }
- return 0
-}
-
-func (m *RequestLog) GetHost() string {
- if m != nil && m.Host != nil {
- return *m.Host
- }
- return ""
-}
-
-func (m *RequestLog) GetCost() float64 {
- if m != nil && m.Cost != nil {
- return *m.Cost
- }
- return 0
-}
-
-func (m *RequestLog) GetTaskQueueName() string {
- if m != nil && m.TaskQueueName != nil {
- return *m.TaskQueueName
- }
- return ""
-}
-
-func (m *RequestLog) GetTaskName() string {
- if m != nil && m.TaskName != nil {
- return *m.TaskName
- }
- return ""
-}
-
-func (m *RequestLog) GetWasLoadingRequest() bool {
- if m != nil && m.WasLoadingRequest != nil {
- return *m.WasLoadingRequest
- }
- return false
-}
-
-func (m *RequestLog) GetPendingTime() int64 {
- if m != nil && m.PendingTime != nil {
- return *m.PendingTime
- }
- return 0
-}
-
-func (m *RequestLog) GetReplicaIndex() int32 {
- if m != nil && m.ReplicaIndex != nil {
- return *m.ReplicaIndex
- }
- return Default_RequestLog_ReplicaIndex
-}
-
-func (m *RequestLog) GetFinished() bool {
- if m != nil && m.Finished != nil {
- return *m.Finished
- }
- return Default_RequestLog_Finished
-}
-
-func (m *RequestLog) GetCloneKey() []byte {
- if m != nil {
- return m.CloneKey
- }
- return nil
-}
-
-func (m *RequestLog) GetLine() []*LogLine {
- if m != nil {
- return m.Line
- }
- return nil
-}
-
-func (m *RequestLog) GetLinesIncomplete() bool {
- if m != nil && m.LinesIncomplete != nil {
- return *m.LinesIncomplete
- }
- return false
-}
-
-func (m *RequestLog) GetAppEngineRelease() []byte {
- if m != nil {
- return m.AppEngineRelease
- }
- return nil
-}
-
-func (m *RequestLog) GetExitReason() int32 {
- if m != nil && m.ExitReason != nil {
- return *m.ExitReason
- }
- return 0
-}
-
-func (m *RequestLog) GetWasThrottledForTime() bool {
- if m != nil && m.WasThrottledForTime != nil {
- return *m.WasThrottledForTime
- }
- return false
-}
-
-func (m *RequestLog) GetWasThrottledForRequests() bool {
- if m != nil && m.WasThrottledForRequests != nil {
- return *m.WasThrottledForRequests
- }
- return false
-}
-
-func (m *RequestLog) GetThrottledTime() int64 {
- if m != nil && m.ThrottledTime != nil {
- return *m.ThrottledTime
- }
- return 0
-}
-
-func (m *RequestLog) GetServerName() []byte {
- if m != nil {
- return m.ServerName
- }
- return nil
-}
-
-type LogModuleVersion struct {
- ModuleId *string `protobuf:"bytes,1,opt,name=module_id,json=moduleId,def=default" json:"module_id,omitempty"`
- VersionId *string `protobuf:"bytes,2,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogModuleVersion) Reset() { *m = LogModuleVersion{} }
-func (m *LogModuleVersion) String() string { return proto.CompactTextString(m) }
-func (*LogModuleVersion) ProtoMessage() {}
-func (*LogModuleVersion) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{8}
-}
-func (m *LogModuleVersion) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogModuleVersion.Unmarshal(m, b)
-}
-func (m *LogModuleVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogModuleVersion.Marshal(b, m, deterministic)
-}
-func (dst *LogModuleVersion) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogModuleVersion.Merge(dst, src)
-}
-func (m *LogModuleVersion) XXX_Size() int {
- return xxx_messageInfo_LogModuleVersion.Size(m)
-}
-func (m *LogModuleVersion) XXX_DiscardUnknown() {
- xxx_messageInfo_LogModuleVersion.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogModuleVersion proto.InternalMessageInfo
-
-const Default_LogModuleVersion_ModuleId string = "default"
-
-func (m *LogModuleVersion) GetModuleId() string {
- if m != nil && m.ModuleId != nil {
- return *m.ModuleId
- }
- return Default_LogModuleVersion_ModuleId
-}
-
-func (m *LogModuleVersion) GetVersionId() string {
- if m != nil && m.VersionId != nil {
- return *m.VersionId
- }
- return ""
-}
-
-type LogReadRequest struct {
- AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
- VersionId []string `protobuf:"bytes,2,rep,name=version_id,json=versionId" json:"version_id,omitempty"`
- ModuleVersion []*LogModuleVersion `protobuf:"bytes,19,rep,name=module_version,json=moduleVersion" json:"module_version,omitempty"`
- StartTime *int64 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
- EndTime *int64 `protobuf:"varint,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
- Offset *LogOffset `protobuf:"bytes,5,opt,name=offset" json:"offset,omitempty"`
- RequestId [][]byte `protobuf:"bytes,6,rep,name=request_id,json=requestId" json:"request_id,omitempty"`
- MinimumLogLevel *int32 `protobuf:"varint,7,opt,name=minimum_log_level,json=minimumLogLevel" json:"minimum_log_level,omitempty"`
- IncludeIncomplete *bool `protobuf:"varint,8,opt,name=include_incomplete,json=includeIncomplete" json:"include_incomplete,omitempty"`
- Count *int64 `protobuf:"varint,9,opt,name=count" json:"count,omitempty"`
- CombinedLogRegex *string `protobuf:"bytes,14,opt,name=combined_log_regex,json=combinedLogRegex" json:"combined_log_regex,omitempty"`
- HostRegex *string `protobuf:"bytes,15,opt,name=host_regex,json=hostRegex" json:"host_regex,omitempty"`
- ReplicaIndex *int32 `protobuf:"varint,16,opt,name=replica_index,json=replicaIndex" json:"replica_index,omitempty"`
- IncludeAppLogs *bool `protobuf:"varint,10,opt,name=include_app_logs,json=includeAppLogs" json:"include_app_logs,omitempty"`
- AppLogsPerRequest *int32 `protobuf:"varint,17,opt,name=app_logs_per_request,json=appLogsPerRequest" json:"app_logs_per_request,omitempty"`
- IncludeHost *bool `protobuf:"varint,11,opt,name=include_host,json=includeHost" json:"include_host,omitempty"`
- IncludeAll *bool `protobuf:"varint,12,opt,name=include_all,json=includeAll" json:"include_all,omitempty"`
- CacheIterator *bool `protobuf:"varint,13,opt,name=cache_iterator,json=cacheIterator" json:"cache_iterator,omitempty"`
- NumShards *int32 `protobuf:"varint,18,opt,name=num_shards,json=numShards" json:"num_shards,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogReadRequest) Reset() { *m = LogReadRequest{} }
-func (m *LogReadRequest) String() string { return proto.CompactTextString(m) }
-func (*LogReadRequest) ProtoMessage() {}
-func (*LogReadRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{9}
-}
-func (m *LogReadRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogReadRequest.Unmarshal(m, b)
-}
-func (m *LogReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogReadRequest.Marshal(b, m, deterministic)
-}
-func (dst *LogReadRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogReadRequest.Merge(dst, src)
-}
-func (m *LogReadRequest) XXX_Size() int {
- return xxx_messageInfo_LogReadRequest.Size(m)
-}
-func (m *LogReadRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_LogReadRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogReadRequest proto.InternalMessageInfo
-
-func (m *LogReadRequest) GetAppId() string {
- if m != nil && m.AppId != nil {
- return *m.AppId
- }
- return ""
-}
-
-func (m *LogReadRequest) GetVersionId() []string {
- if m != nil {
- return m.VersionId
- }
- return nil
-}
-
-func (m *LogReadRequest) GetModuleVersion() []*LogModuleVersion {
- if m != nil {
- return m.ModuleVersion
- }
- return nil
-}
-
-func (m *LogReadRequest) GetStartTime() int64 {
- if m != nil && m.StartTime != nil {
- return *m.StartTime
- }
- return 0
-}
-
-func (m *LogReadRequest) GetEndTime() int64 {
- if m != nil && m.EndTime != nil {
- return *m.EndTime
- }
- return 0
-}
-
-func (m *LogReadRequest) GetOffset() *LogOffset {
- if m != nil {
- return m.Offset
- }
- return nil
-}
-
-func (m *LogReadRequest) GetRequestId() [][]byte {
- if m != nil {
- return m.RequestId
- }
- return nil
-}
-
-func (m *LogReadRequest) GetMinimumLogLevel() int32 {
- if m != nil && m.MinimumLogLevel != nil {
- return *m.MinimumLogLevel
- }
- return 0
-}
-
-func (m *LogReadRequest) GetIncludeIncomplete() bool {
- if m != nil && m.IncludeIncomplete != nil {
- return *m.IncludeIncomplete
- }
- return false
-}
-
-func (m *LogReadRequest) GetCount() int64 {
- if m != nil && m.Count != nil {
- return *m.Count
- }
- return 0
-}
-
-func (m *LogReadRequest) GetCombinedLogRegex() string {
- if m != nil && m.CombinedLogRegex != nil {
- return *m.CombinedLogRegex
- }
- return ""
-}
-
-func (m *LogReadRequest) GetHostRegex() string {
- if m != nil && m.HostRegex != nil {
- return *m.HostRegex
- }
- return ""
-}
-
-func (m *LogReadRequest) GetReplicaIndex() int32 {
- if m != nil && m.ReplicaIndex != nil {
- return *m.ReplicaIndex
- }
- return 0
-}
-
-func (m *LogReadRequest) GetIncludeAppLogs() bool {
- if m != nil && m.IncludeAppLogs != nil {
- return *m.IncludeAppLogs
- }
- return false
-}
-
-func (m *LogReadRequest) GetAppLogsPerRequest() int32 {
- if m != nil && m.AppLogsPerRequest != nil {
- return *m.AppLogsPerRequest
- }
- return 0
-}
-
-func (m *LogReadRequest) GetIncludeHost() bool {
- if m != nil && m.IncludeHost != nil {
- return *m.IncludeHost
- }
- return false
-}
-
-func (m *LogReadRequest) GetIncludeAll() bool {
- if m != nil && m.IncludeAll != nil {
- return *m.IncludeAll
- }
- return false
-}
-
-func (m *LogReadRequest) GetCacheIterator() bool {
- if m != nil && m.CacheIterator != nil {
- return *m.CacheIterator
- }
- return false
-}
-
-func (m *LogReadRequest) GetNumShards() int32 {
- if m != nil && m.NumShards != nil {
- return *m.NumShards
- }
- return 0
-}
-
-type LogReadResponse struct {
- Log []*RequestLog `protobuf:"bytes,1,rep,name=log" json:"log,omitempty"`
- Offset *LogOffset `protobuf:"bytes,2,opt,name=offset" json:"offset,omitempty"`
- LastEndTime *int64 `protobuf:"varint,3,opt,name=last_end_time,json=lastEndTime" json:"last_end_time,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogReadResponse) Reset() { *m = LogReadResponse{} }
-func (m *LogReadResponse) String() string { return proto.CompactTextString(m) }
-func (*LogReadResponse) ProtoMessage() {}
-func (*LogReadResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{10}
-}
-func (m *LogReadResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogReadResponse.Unmarshal(m, b)
-}
-func (m *LogReadResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogReadResponse.Marshal(b, m, deterministic)
-}
-func (dst *LogReadResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogReadResponse.Merge(dst, src)
-}
-func (m *LogReadResponse) XXX_Size() int {
- return xxx_messageInfo_LogReadResponse.Size(m)
-}
-func (m *LogReadResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_LogReadResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogReadResponse proto.InternalMessageInfo
-
-func (m *LogReadResponse) GetLog() []*RequestLog {
- if m != nil {
- return m.Log
- }
- return nil
-}
-
-func (m *LogReadResponse) GetOffset() *LogOffset {
- if m != nil {
- return m.Offset
- }
- return nil
-}
-
-func (m *LogReadResponse) GetLastEndTime() int64 {
- if m != nil && m.LastEndTime != nil {
- return *m.LastEndTime
- }
- return 0
-}
-
-type LogUsageRecord struct {
- VersionId *string `protobuf:"bytes,1,opt,name=version_id,json=versionId" json:"version_id,omitempty"`
- StartTime *int32 `protobuf:"varint,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
- EndTime *int32 `protobuf:"varint,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
- Count *int64 `protobuf:"varint,4,opt,name=count" json:"count,omitempty"`
- TotalSize *int64 `protobuf:"varint,5,opt,name=total_size,json=totalSize" json:"total_size,omitempty"`
- Records *int32 `protobuf:"varint,6,opt,name=records" json:"records,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogUsageRecord) Reset() { *m = LogUsageRecord{} }
-func (m *LogUsageRecord) String() string { return proto.CompactTextString(m) }
-func (*LogUsageRecord) ProtoMessage() {}
-func (*LogUsageRecord) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{11}
-}
-func (m *LogUsageRecord) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogUsageRecord.Unmarshal(m, b)
-}
-func (m *LogUsageRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogUsageRecord.Marshal(b, m, deterministic)
-}
-func (dst *LogUsageRecord) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogUsageRecord.Merge(dst, src)
-}
-func (m *LogUsageRecord) XXX_Size() int {
- return xxx_messageInfo_LogUsageRecord.Size(m)
-}
-func (m *LogUsageRecord) XXX_DiscardUnknown() {
- xxx_messageInfo_LogUsageRecord.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogUsageRecord proto.InternalMessageInfo
-
-func (m *LogUsageRecord) GetVersionId() string {
- if m != nil && m.VersionId != nil {
- return *m.VersionId
- }
- return ""
-}
-
-func (m *LogUsageRecord) GetStartTime() int32 {
- if m != nil && m.StartTime != nil {
- return *m.StartTime
- }
- return 0
-}
-
-func (m *LogUsageRecord) GetEndTime() int32 {
- if m != nil && m.EndTime != nil {
- return *m.EndTime
- }
- return 0
-}
-
-func (m *LogUsageRecord) GetCount() int64 {
- if m != nil && m.Count != nil {
- return *m.Count
- }
- return 0
-}
-
-func (m *LogUsageRecord) GetTotalSize() int64 {
- if m != nil && m.TotalSize != nil {
- return *m.TotalSize
- }
- return 0
-}
-
-func (m *LogUsageRecord) GetRecords() int32 {
- if m != nil && m.Records != nil {
- return *m.Records
- }
- return 0
-}
-
-type LogUsageRequest struct {
- AppId *string `protobuf:"bytes,1,req,name=app_id,json=appId" json:"app_id,omitempty"`
- VersionId []string `protobuf:"bytes,2,rep,name=version_id,json=versionId" json:"version_id,omitempty"`
- StartTime *int32 `protobuf:"varint,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
- EndTime *int32 `protobuf:"varint,4,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
- ResolutionHours *uint32 `protobuf:"varint,5,opt,name=resolution_hours,json=resolutionHours,def=1" json:"resolution_hours,omitempty"`
- CombineVersions *bool `protobuf:"varint,6,opt,name=combine_versions,json=combineVersions" json:"combine_versions,omitempty"`
- UsageVersion *int32 `protobuf:"varint,7,opt,name=usage_version,json=usageVersion" json:"usage_version,omitempty"`
- VersionsOnly *bool `protobuf:"varint,8,opt,name=versions_only,json=versionsOnly" json:"versions_only,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogUsageRequest) Reset() { *m = LogUsageRequest{} }
-func (m *LogUsageRequest) String() string { return proto.CompactTextString(m) }
-func (*LogUsageRequest) ProtoMessage() {}
-func (*LogUsageRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{12}
-}
-func (m *LogUsageRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogUsageRequest.Unmarshal(m, b)
-}
-func (m *LogUsageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogUsageRequest.Marshal(b, m, deterministic)
-}
-func (dst *LogUsageRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogUsageRequest.Merge(dst, src)
-}
-func (m *LogUsageRequest) XXX_Size() int {
- return xxx_messageInfo_LogUsageRequest.Size(m)
-}
-func (m *LogUsageRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_LogUsageRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogUsageRequest proto.InternalMessageInfo
-
-const Default_LogUsageRequest_ResolutionHours uint32 = 1
-
-func (m *LogUsageRequest) GetAppId() string {
- if m != nil && m.AppId != nil {
- return *m.AppId
- }
- return ""
-}
-
-func (m *LogUsageRequest) GetVersionId() []string {
- if m != nil {
- return m.VersionId
- }
- return nil
-}
-
-func (m *LogUsageRequest) GetStartTime() int32 {
- if m != nil && m.StartTime != nil {
- return *m.StartTime
- }
- return 0
-}
-
-func (m *LogUsageRequest) GetEndTime() int32 {
- if m != nil && m.EndTime != nil {
- return *m.EndTime
- }
- return 0
-}
-
-func (m *LogUsageRequest) GetResolutionHours() uint32 {
- if m != nil && m.ResolutionHours != nil {
- return *m.ResolutionHours
- }
- return Default_LogUsageRequest_ResolutionHours
-}
-
-func (m *LogUsageRequest) GetCombineVersions() bool {
- if m != nil && m.CombineVersions != nil {
- return *m.CombineVersions
- }
- return false
-}
-
-func (m *LogUsageRequest) GetUsageVersion() int32 {
- if m != nil && m.UsageVersion != nil {
- return *m.UsageVersion
- }
- return 0
-}
-
-func (m *LogUsageRequest) GetVersionsOnly() bool {
- if m != nil && m.VersionsOnly != nil {
- return *m.VersionsOnly
- }
- return false
-}
-
-type LogUsageResponse struct {
- Usage []*LogUsageRecord `protobuf:"bytes,1,rep,name=usage" json:"usage,omitempty"`
- Summary *LogUsageRecord `protobuf:"bytes,2,opt,name=summary" json:"summary,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *LogUsageResponse) Reset() { *m = LogUsageResponse{} }
-func (m *LogUsageResponse) String() string { return proto.CompactTextString(m) }
-func (*LogUsageResponse) ProtoMessage() {}
-func (*LogUsageResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_log_service_f054fd4b5012319d, []int{13}
-}
-func (m *LogUsageResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_LogUsageResponse.Unmarshal(m, b)
-}
-func (m *LogUsageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_LogUsageResponse.Marshal(b, m, deterministic)
-}
-func (dst *LogUsageResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_LogUsageResponse.Merge(dst, src)
-}
-func (m *LogUsageResponse) XXX_Size() int {
- return xxx_messageInfo_LogUsageResponse.Size(m)
-}
-func (m *LogUsageResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_LogUsageResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_LogUsageResponse proto.InternalMessageInfo
-
-func (m *LogUsageResponse) GetUsage() []*LogUsageRecord {
- if m != nil {
- return m.Usage
- }
- return nil
-}
-
-func (m *LogUsageResponse) GetSummary() *LogUsageRecord {
- if m != nil {
- return m.Summary
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*LogServiceError)(nil), "appengine.LogServiceError")
- proto.RegisterType((*UserAppLogLine)(nil), "appengine.UserAppLogLine")
- proto.RegisterType((*UserAppLogGroup)(nil), "appengine.UserAppLogGroup")
- proto.RegisterType((*FlushRequest)(nil), "appengine.FlushRequest")
- proto.RegisterType((*SetStatusRequest)(nil), "appengine.SetStatusRequest")
- proto.RegisterType((*LogOffset)(nil), "appengine.LogOffset")
- proto.RegisterType((*LogLine)(nil), "appengine.LogLine")
- proto.RegisterType((*RequestLog)(nil), "appengine.RequestLog")
- proto.RegisterType((*LogModuleVersion)(nil), "appengine.LogModuleVersion")
- proto.RegisterType((*LogReadRequest)(nil), "appengine.LogReadRequest")
- proto.RegisterType((*LogReadResponse)(nil), "appengine.LogReadResponse")
- proto.RegisterType((*LogUsageRecord)(nil), "appengine.LogUsageRecord")
- proto.RegisterType((*LogUsageRequest)(nil), "appengine.LogUsageRequest")
- proto.RegisterType((*LogUsageResponse)(nil), "appengine.LogUsageResponse")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/log/log_service.proto", fileDescriptor_log_service_f054fd4b5012319d)
-}
-
-var fileDescriptor_log_service_f054fd4b5012319d = []byte{
- // 1553 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0xdd, 0x72, 0xdb, 0xc6,
- 0x15, 0x2e, 0x48, 0x51, 0x24, 0x0f, 0x49, 0x91, 0x5a, 0xcb, 0xce, 0xda, 0xae, 0x6b, 0x1a, 0x4e,
- 0x1c, 0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dc, 0x8b, 0x0e, 0x7d, 0xa0, 0xd4, 0x36, 0xb1, 0x56,
- 0xb8, 0xdc, 0xa8, 0x8f, 0x09, 0x6c, 0xa4, 0xe9, 0x29, 0x4c, 0x9a, 0x7d, 0x62, 0x59, 0x8a, 0x6b,
- 0x3f, 0xe2, 0xe3, 0x06, 0x3c, 0x2b, 0xc5, 0x75, 0x78, 0x45, 0x2a, 0xed, 0xab, 0xe4, 0x09, 0x77,
- 0x04, 0x3d, 0xda, 0xc8, 0x53, 0xee, 0xfe, 0x36, 0x8d, 0x36, 0xc8, 0x10, 0x39, 0x3f, 0xf6, 0x05,
- 0xf4, 0x75, 0xbd, 0x5e, 0x27, 0xea, 0xda, 0x33, 0xef, 0x57, 0x5e, 0x69, 0x3c, 0xbf, 0xea, 0xfd,
- 0xdd, 0x92, 0xf6, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x70, 0xd9, 0xa0, 0xf8, 0x48, 0x0d, 0x00,
- 0x00,
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/log/log_service.proto b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/log/log_service.proto
deleted file mode 100644
index 8981dc4757..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/log/log_service.proto
+++ /dev/null
@@ -1,150 +0,0 @@
-syntax = "proto2";
-option go_package = "log";
-
-package appengine;
-
-message LogServiceError {
- enum ErrorCode {
- OK = 0;
- INVALID_REQUEST = 1;
- STORAGE_ERROR = 2;
- }
-}
-
-message UserAppLogLine {
- required int64 timestamp_usec = 1;
- required int64 level = 2;
- required string message = 3;
-}
-
-message UserAppLogGroup {
- repeated UserAppLogLine log_line = 2;
-}
-
-message FlushRequest {
- optional bytes logs = 1;
-}
-
-message SetStatusRequest {
- required string status = 1;
-}
-
-
-message LogOffset {
- optional bytes request_id = 1;
-}
-
-message LogLine {
- required int64 time = 1;
- required int32 level = 2;
- required string log_message = 3;
-}
-
-message RequestLog {
- required string app_id = 1;
- optional string module_id = 37 [default="default"];
- required string version_id = 2;
- required bytes request_id = 3;
- optional LogOffset offset = 35;
- required string ip = 4;
- optional string nickname = 5;
- required int64 start_time = 6;
- required int64 end_time = 7;
- required int64 latency = 8;
- required int64 mcycles = 9;
- required string method = 10;
- required string resource = 11;
- required string http_version = 12;
- required int32 status = 13;
- required int64 response_size = 14;
- optional string referrer = 15;
- optional string user_agent = 16;
- required string url_map_entry = 17;
- required string combined = 18;
- optional int64 api_mcycles = 19;
- optional string host = 20;
- optional double cost = 21;
-
- optional string task_queue_name = 22;
- optional string task_name = 23;
-
- optional bool was_loading_request = 24;
- optional int64 pending_time = 25;
- optional int32 replica_index = 26 [default = -1];
- optional bool finished = 27 [default = true];
- optional bytes clone_key = 28;
-
- repeated LogLine line = 29;
-
- optional bool lines_incomplete = 36;
- optional bytes app_engine_release = 38;
-
- optional int32 exit_reason = 30;
- optional bool was_throttled_for_time = 31;
- optional bool was_throttled_for_requests = 32;
- optional int64 throttled_time = 33;
-
- optional bytes server_name = 34;
-}
-
-message LogModuleVersion {
- optional string module_id = 1 [default="default"];
- optional string version_id = 2;
-}
-
-message LogReadRequest {
- required string app_id = 1;
- repeated string version_id = 2;
- repeated LogModuleVersion module_version = 19;
-
- optional int64 start_time = 3;
- optional int64 end_time = 4;
- optional LogOffset offset = 5;
- repeated bytes request_id = 6;
-
- optional int32 minimum_log_level = 7;
- optional bool include_incomplete = 8;
- optional int64 count = 9;
-
- optional string combined_log_regex = 14;
- optional string host_regex = 15;
- optional int32 replica_index = 16;
-
- optional bool include_app_logs = 10;
- optional int32 app_logs_per_request = 17;
- optional bool include_host = 11;
- optional bool include_all = 12;
- optional bool cache_iterator = 13;
- optional int32 num_shards = 18;
-}
-
-message LogReadResponse {
- repeated RequestLog log = 1;
- optional LogOffset offset = 2;
- optional int64 last_end_time = 3;
-}
-
-message LogUsageRecord {
- optional string version_id = 1;
- optional int32 start_time = 2;
- optional int32 end_time = 3;
- optional int64 count = 4;
- optional int64 total_size = 5;
- optional int32 records = 6;
-}
-
-message LogUsageRequest {
- required string app_id = 1;
- repeated string version_id = 2;
- optional int32 start_time = 3;
- optional int32 end_time = 4;
- optional uint32 resolution_hours = 5 [default = 1];
- optional bool combine_versions = 6;
- optional int32 usage_version = 7;
- optional bool versions_only = 8;
-}
-
-message LogUsageResponse {
- repeated LogUsageRecord usage = 1;
- optional LogUsageRecord summary = 2;
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main.go
deleted file mode 100644
index afd0ae84fd..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build appengine
-// +build appengine
-
-package internal
-
-import (
- "appengine_internal"
-)
-
-func Main() {
- MainPath = ""
- appengine_internal.Main()
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main_common.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main_common.go
deleted file mode 100644
index 357dce4dd0..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main_common.go
+++ /dev/null
@@ -1,7 +0,0 @@
-package internal
-
-// MainPath stores the file path of the main package. On App Engine Standard
-// using Go version 1.9 and below, this will be unset. On App Engine Flex and
-// App Engine Standard second-gen (Go 1.11 and above), this will be the
-// filepath to package main.
-var MainPath string
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main_vm.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main_vm.go
deleted file mode 100644
index 86a8caf06f..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/main_vm.go
+++ /dev/null
@@ -1,70 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-//go:build !appengine
-// +build !appengine
-
-package internal
-
-import (
- "io"
- "log"
- "net/http"
- "net/url"
- "os"
- "path/filepath"
- "runtime"
-)
-
-func Main() {
- MainPath = filepath.Dir(findMainPath())
- installHealthChecker(http.DefaultServeMux)
-
- port := "8080"
- if s := os.Getenv("PORT"); s != "" {
- port = s
- }
-
- host := ""
- if IsDevAppServer() {
- host = "127.0.0.1"
- }
- if err := http.ListenAndServe(host+":"+port, Middleware(http.DefaultServeMux)); err != nil {
- log.Fatalf("http.ListenAndServe: %v", err)
- }
-}
-
-// Find the path to package main by looking at the root Caller.
-func findMainPath() string {
- pc := make([]uintptr, 100)
- n := runtime.Callers(2, pc)
- frames := runtime.CallersFrames(pc[:n])
- for {
- frame, more := frames.Next()
- // Tests won't have package main, instead they have testing.tRunner
- if frame.Function == "main.main" || frame.Function == "testing.tRunner" {
- return frame.File
- }
- if !more {
- break
- }
- }
- return ""
-}
-
-func installHealthChecker(mux *http.ServeMux) {
- // If no health check handler has been installed by this point, add a trivial one.
- const healthPath = "/_ah/health"
- hreq := &http.Request{
- Method: "GET",
- URL: &url.URL{
- Path: healthPath,
- },
- }
- if _, pat := mux.Handler(hreq); pat != healthPath {
- mux.HandleFunc(healthPath, func(w http.ResponseWriter, r *http.Request) {
- io.WriteString(w, "ok")
- })
- }
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/metadata.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/metadata.go
deleted file mode 100644
index c4ba63bb48..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/metadata.go
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2014 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package internal
-
-// This file has code for accessing metadata.
-//
-// References:
-// https://cloud.google.com/compute/docs/metadata
-
-import (
- "fmt"
- "io/ioutil"
- "net/http"
- "net/url"
-)
-
-const (
- metadataHost = "metadata"
- metadataPath = "/computeMetadata/v1/"
-)
-
-var (
- metadataRequestHeaders = http.Header{
- "Metadata-Flavor": []string{"Google"},
- }
-)
-
-// TODO(dsymonds): Do we need to support default values, like Python?
-func mustGetMetadata(key string) []byte {
- b, err := getMetadata(key)
- if err != nil {
- panic(fmt.Sprintf("Metadata fetch failed for '%s': %v", key, err))
- }
- return b
-}
-
-func getMetadata(key string) ([]byte, error) {
- // TODO(dsymonds): May need to use url.Parse to support keys with query args.
- req := &http.Request{
- Method: "GET",
- URL: &url.URL{
- Scheme: "http",
- Host: metadataHost,
- Path: metadataPath + key,
- },
- Header: metadataRequestHeaders,
- Host: metadataHost,
- }
- resp, err := http.DefaultClient.Do(req)
- if err != nil {
- return nil, err
- }
- defer resp.Body.Close()
- if resp.StatusCode != 200 {
- return nil, fmt.Errorf("metadata server returned HTTP %d", resp.StatusCode)
- }
- return ioutil.ReadAll(resp.Body)
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/net.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/net.go
deleted file mode 100644
index fe429720e1..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/net.go
+++ /dev/null
@@ -1,56 +0,0 @@
-// Copyright 2014 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package internal
-
-// This file implements a network dialer that limits the number of concurrent connections.
-// It is only used for API calls.
-
-import (
- "log"
- "net"
- "runtime"
- "sync"
- "time"
-)
-
-var limitSem = make(chan int, 100) // TODO(dsymonds): Use environment variable.
-
-func limitRelease() {
- // non-blocking
- select {
- case <-limitSem:
- default:
- // This should not normally happen.
- log.Print("appengine: unbalanced limitSem release!")
- }
-}
-
-func limitDial(network, addr string) (net.Conn, error) {
- limitSem <- 1
-
- // Dial with a timeout in case the API host is MIA.
- // The connection should normally be very fast.
- conn, err := net.DialTimeout(network, addr, 10*time.Second)
- if err != nil {
- limitRelease()
- return nil, err
- }
- lc := &limitConn{Conn: conn}
- runtime.SetFinalizer(lc, (*limitConn).Close) // shouldn't usually be required
- return lc, nil
-}
-
-type limitConn struct {
- close sync.Once
- net.Conn
-}
-
-func (lc *limitConn) Close() error {
- defer lc.close.Do(func() {
- limitRelease()
- runtime.SetFinalizer(lc, nil)
- })
- return lc.Conn.Close()
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/regen.sh b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/regen.sh
deleted file mode 100644
index 2fdb546a63..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/regen.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash -e
-#
-# This script rebuilds the generated code for the protocol buffers.
-# To run this you will need protoc and goprotobuf installed;
-# see https://github.com/golang/protobuf for instructions.
-
-PKG=google.golang.org/appengine
-
-function die() {
- echo 1>&2 $*
- exit 1
-}
-
-# Sanity check that the right tools are accessible.
-for tool in go protoc protoc-gen-go; do
- q=$(which $tool) || die "didn't find $tool"
- echo 1>&2 "$tool: $q"
-done
-
-echo -n 1>&2 "finding package dir... "
-pkgdir=$(go list -f '{{.Dir}}' $PKG)
-echo 1>&2 $pkgdir
-base=$(echo $pkgdir | sed "s,/$PKG\$,,")
-echo 1>&2 "base: $base"
-cd $base
-
-# Run protoc once per package.
-for dir in $(find $PKG/internal -name '*.proto' | xargs dirname | sort | uniq); do
- echo 1>&2 "* $dir"
- protoc --go_out=. $dir/*.proto
-done
-
-for f in $(find $PKG/internal -name '*.pb.go'); do
- # Remove proto.RegisterEnum calls.
- # These cause duplicate registration panics when these packages
- # are used on classic App Engine. proto.RegisterEnum only affects
- # parsing the text format; we don't care about that.
- # https://code.google.com/p/googleappengine/issues/detail?id=11670#c17
- sed -i '/proto.RegisterEnum/d' $f
-done
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go
deleted file mode 100644
index 8d782a38e1..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go
+++ /dev/null
@@ -1,361 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/remote_api/remote_api.proto
-
-package remote_api
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type RpcError_ErrorCode int32
-
-const (
- RpcError_UNKNOWN RpcError_ErrorCode = 0
- RpcError_CALL_NOT_FOUND RpcError_ErrorCode = 1
- RpcError_PARSE_ERROR RpcError_ErrorCode = 2
- RpcError_SECURITY_VIOLATION RpcError_ErrorCode = 3
- RpcError_OVER_QUOTA RpcError_ErrorCode = 4
- RpcError_REQUEST_TOO_LARGE RpcError_ErrorCode = 5
- RpcError_CAPABILITY_DISABLED RpcError_ErrorCode = 6
- RpcError_FEATURE_DISABLED RpcError_ErrorCode = 7
- RpcError_BAD_REQUEST RpcError_ErrorCode = 8
- RpcError_RESPONSE_TOO_LARGE RpcError_ErrorCode = 9
- RpcError_CANCELLED RpcError_ErrorCode = 10
- RpcError_REPLAY_ERROR RpcError_ErrorCode = 11
- RpcError_DEADLINE_EXCEEDED RpcError_ErrorCode = 12
-)
-
-var RpcError_ErrorCode_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "CALL_NOT_FOUND",
- 2: "PARSE_ERROR",
- 3: "SECURITY_VIOLATION",
- 4: "OVER_QUOTA",
- 5: "REQUEST_TOO_LARGE",
- 6: "CAPABILITY_DISABLED",
- 7: "FEATURE_DISABLED",
- 8: "BAD_REQUEST",
- 9: "RESPONSE_TOO_LARGE",
- 10: "CANCELLED",
- 11: "REPLAY_ERROR",
- 12: "DEADLINE_EXCEEDED",
-}
-var RpcError_ErrorCode_value = map[string]int32{
- "UNKNOWN": 0,
- "CALL_NOT_FOUND": 1,
- "PARSE_ERROR": 2,
- "SECURITY_VIOLATION": 3,
- "OVER_QUOTA": 4,
- "REQUEST_TOO_LARGE": 5,
- "CAPABILITY_DISABLED": 6,
- "FEATURE_DISABLED": 7,
- "BAD_REQUEST": 8,
- "RESPONSE_TOO_LARGE": 9,
- "CANCELLED": 10,
- "REPLAY_ERROR": 11,
- "DEADLINE_EXCEEDED": 12,
-}
-
-func (x RpcError_ErrorCode) Enum() *RpcError_ErrorCode {
- p := new(RpcError_ErrorCode)
- *p = x
- return p
-}
-func (x RpcError_ErrorCode) String() string {
- return proto.EnumName(RpcError_ErrorCode_name, int32(x))
-}
-func (x *RpcError_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(RpcError_ErrorCode_value, data, "RpcError_ErrorCode")
- if err != nil {
- return err
- }
- *x = RpcError_ErrorCode(value)
- return nil
-}
-func (RpcError_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_remote_api_1978114ec33a273d, []int{2, 0}
-}
-
-type Request struct {
- ServiceName *string `protobuf:"bytes,2,req,name=service_name,json=serviceName" json:"service_name,omitempty"`
- Method *string `protobuf:"bytes,3,req,name=method" json:"method,omitempty"`
- Request []byte `protobuf:"bytes,4,req,name=request" json:"request,omitempty"`
- RequestId *string `protobuf:"bytes,5,opt,name=request_id,json=requestId" json:"request_id,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Request) Reset() { *m = Request{} }
-func (m *Request) String() string { return proto.CompactTextString(m) }
-func (*Request) ProtoMessage() {}
-func (*Request) Descriptor() ([]byte, []int) {
- return fileDescriptor_remote_api_1978114ec33a273d, []int{0}
-}
-func (m *Request) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Request.Unmarshal(m, b)
-}
-func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Request.Marshal(b, m, deterministic)
-}
-func (dst *Request) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Request.Merge(dst, src)
-}
-func (m *Request) XXX_Size() int {
- return xxx_messageInfo_Request.Size(m)
-}
-func (m *Request) XXX_DiscardUnknown() {
- xxx_messageInfo_Request.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Request proto.InternalMessageInfo
-
-func (m *Request) GetServiceName() string {
- if m != nil && m.ServiceName != nil {
- return *m.ServiceName
- }
- return ""
-}
-
-func (m *Request) GetMethod() string {
- if m != nil && m.Method != nil {
- return *m.Method
- }
- return ""
-}
-
-func (m *Request) GetRequest() []byte {
- if m != nil {
- return m.Request
- }
- return nil
-}
-
-func (m *Request) GetRequestId() string {
- if m != nil && m.RequestId != nil {
- return *m.RequestId
- }
- return ""
-}
-
-type ApplicationError struct {
- Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
- Detail *string `protobuf:"bytes,2,req,name=detail" json:"detail,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ApplicationError) Reset() { *m = ApplicationError{} }
-func (m *ApplicationError) String() string { return proto.CompactTextString(m) }
-func (*ApplicationError) ProtoMessage() {}
-func (*ApplicationError) Descriptor() ([]byte, []int) {
- return fileDescriptor_remote_api_1978114ec33a273d, []int{1}
-}
-func (m *ApplicationError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ApplicationError.Unmarshal(m, b)
-}
-func (m *ApplicationError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ApplicationError.Marshal(b, m, deterministic)
-}
-func (dst *ApplicationError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ApplicationError.Merge(dst, src)
-}
-func (m *ApplicationError) XXX_Size() int {
- return xxx_messageInfo_ApplicationError.Size(m)
-}
-func (m *ApplicationError) XXX_DiscardUnknown() {
- xxx_messageInfo_ApplicationError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ApplicationError proto.InternalMessageInfo
-
-func (m *ApplicationError) GetCode() int32 {
- if m != nil && m.Code != nil {
- return *m.Code
- }
- return 0
-}
-
-func (m *ApplicationError) GetDetail() string {
- if m != nil && m.Detail != nil {
- return *m.Detail
- }
- return ""
-}
-
-type RpcError struct {
- Code *int32 `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
- Detail *string `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *RpcError) Reset() { *m = RpcError{} }
-func (m *RpcError) String() string { return proto.CompactTextString(m) }
-func (*RpcError) ProtoMessage() {}
-func (*RpcError) Descriptor() ([]byte, []int) {
- return fileDescriptor_remote_api_1978114ec33a273d, []int{2}
-}
-func (m *RpcError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RpcError.Unmarshal(m, b)
-}
-func (m *RpcError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RpcError.Marshal(b, m, deterministic)
-}
-func (dst *RpcError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RpcError.Merge(dst, src)
-}
-func (m *RpcError) XXX_Size() int {
- return xxx_messageInfo_RpcError.Size(m)
-}
-func (m *RpcError) XXX_DiscardUnknown() {
- xxx_messageInfo_RpcError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_RpcError proto.InternalMessageInfo
-
-func (m *RpcError) GetCode() int32 {
- if m != nil && m.Code != nil {
- return *m.Code
- }
- return 0
-}
-
-func (m *RpcError) GetDetail() string {
- if m != nil && m.Detail != nil {
- return *m.Detail
- }
- return ""
-}
-
-type Response struct {
- Response []byte `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
- Exception []byte `protobuf:"bytes,2,opt,name=exception" json:"exception,omitempty"`
- ApplicationError *ApplicationError `protobuf:"bytes,3,opt,name=application_error,json=applicationError" json:"application_error,omitempty"`
- JavaException []byte `protobuf:"bytes,4,opt,name=java_exception,json=javaException" json:"java_exception,omitempty"`
- RpcError *RpcError `protobuf:"bytes,5,opt,name=rpc_error,json=rpcError" json:"rpc_error,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *Response) Reset() { *m = Response{} }
-func (m *Response) String() string { return proto.CompactTextString(m) }
-func (*Response) ProtoMessage() {}
-func (*Response) Descriptor() ([]byte, []int) {
- return fileDescriptor_remote_api_1978114ec33a273d, []int{3}
-}
-func (m *Response) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Response.Unmarshal(m, b)
-}
-func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Response.Marshal(b, m, deterministic)
-}
-func (dst *Response) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Response.Merge(dst, src)
-}
-func (m *Response) XXX_Size() int {
- return xxx_messageInfo_Response.Size(m)
-}
-func (m *Response) XXX_DiscardUnknown() {
- xxx_messageInfo_Response.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Response proto.InternalMessageInfo
-
-func (m *Response) GetResponse() []byte {
- if m != nil {
- return m.Response
- }
- return nil
-}
-
-func (m *Response) GetException() []byte {
- if m != nil {
- return m.Exception
- }
- return nil
-}
-
-func (m *Response) GetApplicationError() *ApplicationError {
- if m != nil {
- return m.ApplicationError
- }
- return nil
-}
-
-func (m *Response) GetJavaException() []byte {
- if m != nil {
- return m.JavaException
- }
- return nil
-}
-
-func (m *Response) GetRpcError() *RpcError {
- if m != nil {
- return m.RpcError
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*Request)(nil), "remote_api.Request")
- proto.RegisterType((*ApplicationError)(nil), "remote_api.ApplicationError")
- proto.RegisterType((*RpcError)(nil), "remote_api.RpcError")
- proto.RegisterType((*Response)(nil), "remote_api.Response")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/remote_api/remote_api.proto", fileDescriptor_remote_api_1978114ec33a273d)
-}
-
-var fileDescriptor_remote_api_1978114ec33a273d = []byte{
- // 531 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x51, 0x6e, 0xd3, 0x40,
- 0x10, 0x86, 0xb1, 0x9b, 0x34, 0xf1, 0xc4, 0x2d, 0xdb, 0xa5, 0x14, 0x0b, 0x15, 0x29, 0x44, 0x42,
- 0xca, 0x53, 0x2a, 0x38, 0x00, 0x62, 0x63, 0x6f, 0x91, 0x85, 0x65, 0xa7, 0x6b, 0xbb, 0x50, 0x5e,
- 0x56, 0x2b, 0x67, 0x65, 0x8c, 0x12, 0xaf, 0xd9, 0x98, 0x8a, 0x17, 0x6e, 0xc0, 0xb5, 0x38, 0x0c,
- 0xb7, 0x40, 0x36, 0x6e, 0x63, 0xf5, 0x89, 0xb7, 0x7f, 0x7e, 0x7b, 0xe6, 0x1b, 0xcd, 0xcc, 0xc2,
- 0xbb, 0x5c, 0xa9, 0x7c, 0x23, 0x17, 0xb9, 0xda, 0x88, 0x32, 0x5f, 0x28, 0x9d, 0x5f, 0x88, 0xaa,
- 0x92, 0x65, 0x5e, 0x94, 0xf2, 0xa2, 0x28, 0x6b, 0xa9, 0x4b, 0xb1, 0xb9, 0xd0, 0x72, 0xab, 0x6a,
- 0xc9, 0x45, 0x55, 0xf4, 0xe4, 0xa2, 0xd2, 0xaa, 0x56, 0x18, 0xf6, 0xce, 0xec, 0x27, 0x8c, 0x98,
- 0xfc, 0xf6, 0x5d, 0xee, 0x6a, 0xfc, 0x12, 0x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- 0x60, 0xe9, 0x2a, 0xeb, 0x48, 0xc3, 0x96, 0x74, 0xda, 0x27, 0xdd, 0x1d, 0x07, 0x1b, 0xeb, 0x4e,
- 0x2d, 0xed, 0xcf, 0xbd, 0x07, 0xf0, 0x37, 0x00, 0x00, 0xff, 0xff, 0x38, 0xd1, 0x0f, 0x22, 0x4f,
- 0x03, 0x00, 0x00,
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto
deleted file mode 100644
index f21763a4e2..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto
+++ /dev/null
@@ -1,44 +0,0 @@
-syntax = "proto2";
-option go_package = "remote_api";
-
-package remote_api;
-
-message Request {
- required string service_name = 2;
- required string method = 3;
- required bytes request = 4;
- optional string request_id = 5;
-}
-
-message ApplicationError {
- required int32 code = 1;
- required string detail = 2;
-}
-
-message RpcError {
- enum ErrorCode {
- UNKNOWN = 0;
- CALL_NOT_FOUND = 1;
- PARSE_ERROR = 2;
- SECURITY_VIOLATION = 3;
- OVER_QUOTA = 4;
- REQUEST_TOO_LARGE = 5;
- CAPABILITY_DISABLED = 6;
- FEATURE_DISABLED = 7;
- BAD_REQUEST = 8;
- RESPONSE_TOO_LARGE = 9;
- CANCELLED = 10;
- REPLAY_ERROR = 11;
- DEADLINE_EXCEEDED = 12;
- }
- required int32 code = 1;
- optional string detail = 2;
-}
-
-message Response {
- optional bytes response = 1;
- optional bytes exception = 2;
- optional ApplicationError application_error = 3;
- optional bytes java_exception = 4;
- optional RpcError rpc_error = 5;
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/transaction.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/transaction.go
deleted file mode 100644
index 2ae8ab9fa4..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/transaction.go
+++ /dev/null
@@ -1,115 +0,0 @@
-// Copyright 2014 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-package internal
-
-// This file implements hooks for applying datastore transactions.
-
-import (
- "context"
- "errors"
- "reflect"
-
- "github.com/golang/protobuf/proto"
-
- basepb "google.golang.org/appengine/internal/base"
- pb "google.golang.org/appengine/internal/datastore"
-)
-
-var transactionSetters = make(map[reflect.Type]reflect.Value)
-
-// RegisterTransactionSetter registers a function that sets transaction information
-// in a protocol buffer message. f should be a function with two arguments,
-// the first being a protocol buffer type, and the second being *datastore.Transaction.
-func RegisterTransactionSetter(f interface{}) {
- v := reflect.ValueOf(f)
- transactionSetters[v.Type().In(0)] = v
-}
-
-// applyTransaction applies the transaction t to message pb
-// by using the relevant setter passed to RegisterTransactionSetter.
-func applyTransaction(pb proto.Message, t *pb.Transaction) {
- v := reflect.ValueOf(pb)
- if f, ok := transactionSetters[v.Type()]; ok {
- f.Call([]reflect.Value{v, reflect.ValueOf(t)})
- }
-}
-
-var transactionKey = "used for *Transaction"
-
-func transactionFromContext(ctx context.Context) *transaction {
- t, _ := ctx.Value(&transactionKey).(*transaction)
- return t
-}
-
-func withTransaction(ctx context.Context, t *transaction) context.Context {
- return context.WithValue(ctx, &transactionKey, t)
-}
-
-type transaction struct {
- transaction pb.Transaction
- finished bool
-}
-
-var ErrConcurrentTransaction = errors.New("internal: concurrent transaction")
-
-func RunTransactionOnce(c context.Context, f func(context.Context) error, xg bool, readOnly bool, previousTransaction *pb.Transaction) (*pb.Transaction, error) {
- if transactionFromContext(c) != nil {
- return nil, errors.New("nested transactions are not supported")
- }
-
- // Begin the transaction.
- t := &transaction{}
- req := &pb.BeginTransactionRequest{
- App: proto.String(FullyQualifiedAppID(c)),
- }
- if xg {
- req.AllowMultipleEg = proto.Bool(true)
- }
- if previousTransaction != nil {
- req.PreviousTransaction = previousTransaction
- }
- if readOnly {
- req.Mode = pb.BeginTransactionRequest_READ_ONLY.Enum()
- } else {
- req.Mode = pb.BeginTransactionRequest_READ_WRITE.Enum()
- }
- if err := Call(c, "datastore_v3", "BeginTransaction", req, &t.transaction); err != nil {
- return nil, err
- }
-
- // Call f, rolling back the transaction if f returns a non-nil error, or panics.
- // The panic is not recovered.
- defer func() {
- if t.finished {
- return
- }
- t.finished = true
- // Ignore the error return value, since we are already returning a non-nil
- // error (or we're panicking).
- Call(c, "datastore_v3", "Rollback", &t.transaction, &basepb.VoidProto{})
- }()
- if err := f(withTransaction(c, t)); err != nil {
- return &t.transaction, err
- }
- t.finished = true
-
- // Commit the transaction.
- res := &pb.CommitResponse{}
- err := Call(c, "datastore_v3", "Commit", &t.transaction, res)
- if ae, ok := err.(*APIError); ok {
- /* TODO: restore this conditional
- if appengine.IsDevAppServer() {
- */
- // The Python Dev AppServer raises an ApplicationError with error code 2 (which is
- // Error.CONCURRENT_TRANSACTION) and message "Concurrency exception.".
- if ae.Code == int32(pb.Error_BAD_REQUEST) && ae.Detail == "ApplicationError: 2 Concurrency exception." {
- return &t.transaction, ErrConcurrentTransaction
- }
- if ae.Code == int32(pb.Error_CONCURRENT_TRANSACTION) {
- return &t.transaction, ErrConcurrentTransaction
- }
- }
- return &t.transaction, err
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go
deleted file mode 100644
index 5f727750ad..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go
+++ /dev/null
@@ -1,527 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto
-
-package urlfetch
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type URLFetchServiceError_ErrorCode int32
-
-const (
- URLFetchServiceError_OK URLFetchServiceError_ErrorCode = 0
- URLFetchServiceError_INVALID_URL URLFetchServiceError_ErrorCode = 1
- URLFetchServiceError_FETCH_ERROR URLFetchServiceError_ErrorCode = 2
- URLFetchServiceError_UNSPECIFIED_ERROR URLFetchServiceError_ErrorCode = 3
- URLFetchServiceError_RESPONSE_TOO_LARGE URLFetchServiceError_ErrorCode = 4
- URLFetchServiceError_DEADLINE_EXCEEDED URLFetchServiceError_ErrorCode = 5
- URLFetchServiceError_SSL_CERTIFICATE_ERROR URLFetchServiceError_ErrorCode = 6
- URLFetchServiceError_DNS_ERROR URLFetchServiceError_ErrorCode = 7
- URLFetchServiceError_CLOSED URLFetchServiceError_ErrorCode = 8
- URLFetchServiceError_INTERNAL_TRANSIENT_ERROR URLFetchServiceError_ErrorCode = 9
- URLFetchServiceError_TOO_MANY_REDIRECTS URLFetchServiceError_ErrorCode = 10
- URLFetchServiceError_MALFORMED_REPLY URLFetchServiceError_ErrorCode = 11
- URLFetchServiceError_CONNECTION_ERROR URLFetchServiceError_ErrorCode = 12
-)
-
-var URLFetchServiceError_ErrorCode_name = map[int32]string{
- 0: "OK",
- 1: "INVALID_URL",
- 2: "FETCH_ERROR",
- 3: "UNSPECIFIED_ERROR",
- 4: "RESPONSE_TOO_LARGE",
- 5: "DEADLINE_EXCEEDED",
- 6: "SSL_CERTIFICATE_ERROR",
- 7: "DNS_ERROR",
- 8: "CLOSED",
- 9: "INTERNAL_TRANSIENT_ERROR",
- 10: "TOO_MANY_REDIRECTS",
- 11: "MALFORMED_REPLY",
- 12: "CONNECTION_ERROR",
-}
-var URLFetchServiceError_ErrorCode_value = map[string]int32{
- "OK": 0,
- "INVALID_URL": 1,
- "FETCH_ERROR": 2,
- "UNSPECIFIED_ERROR": 3,
- "RESPONSE_TOO_LARGE": 4,
- "DEADLINE_EXCEEDED": 5,
- "SSL_CERTIFICATE_ERROR": 6,
- "DNS_ERROR": 7,
- "CLOSED": 8,
- "INTERNAL_TRANSIENT_ERROR": 9,
- "TOO_MANY_REDIRECTS": 10,
- "MALFORMED_REPLY": 11,
- "CONNECTION_ERROR": 12,
-}
-
-func (x URLFetchServiceError_ErrorCode) Enum() *URLFetchServiceError_ErrorCode {
- p := new(URLFetchServiceError_ErrorCode)
- *p = x
- return p
-}
-func (x URLFetchServiceError_ErrorCode) String() string {
- return proto.EnumName(URLFetchServiceError_ErrorCode_name, int32(x))
-}
-func (x *URLFetchServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(URLFetchServiceError_ErrorCode_value, data, "URLFetchServiceError_ErrorCode")
- if err != nil {
- return err
- }
- *x = URLFetchServiceError_ErrorCode(value)
- return nil
-}
-func (URLFetchServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{0, 0}
-}
-
-type URLFetchRequest_RequestMethod int32
-
-const (
- URLFetchRequest_GET URLFetchRequest_RequestMethod = 1
- URLFetchRequest_POST URLFetchRequest_RequestMethod = 2
- URLFetchRequest_HEAD URLFetchRequest_RequestMethod = 3
- URLFetchRequest_PUT URLFetchRequest_RequestMethod = 4
- URLFetchRequest_DELETE URLFetchRequest_RequestMethod = 5
- URLFetchRequest_PATCH URLFetchRequest_RequestMethod = 6
-)
-
-var URLFetchRequest_RequestMethod_name = map[int32]string{
- 1: "GET",
- 2: "POST",
- 3: "HEAD",
- 4: "PUT",
- 5: "DELETE",
- 6: "PATCH",
-}
-var URLFetchRequest_RequestMethod_value = map[string]int32{
- "GET": 1,
- "POST": 2,
- "HEAD": 3,
- "PUT": 4,
- "DELETE": 5,
- "PATCH": 6,
-}
-
-func (x URLFetchRequest_RequestMethod) Enum() *URLFetchRequest_RequestMethod {
- p := new(URLFetchRequest_RequestMethod)
- *p = x
- return p
-}
-func (x URLFetchRequest_RequestMethod) String() string {
- return proto.EnumName(URLFetchRequest_RequestMethod_name, int32(x))
-}
-func (x *URLFetchRequest_RequestMethod) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(URLFetchRequest_RequestMethod_value, data, "URLFetchRequest_RequestMethod")
- if err != nil {
- return err
- }
- *x = URLFetchRequest_RequestMethod(value)
- return nil
-}
-func (URLFetchRequest_RequestMethod) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{1, 0}
-}
-
-type URLFetchServiceError struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *URLFetchServiceError) Reset() { *m = URLFetchServiceError{} }
-func (m *URLFetchServiceError) String() string { return proto.CompactTextString(m) }
-func (*URLFetchServiceError) ProtoMessage() {}
-func (*URLFetchServiceError) Descriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{0}
-}
-func (m *URLFetchServiceError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_URLFetchServiceError.Unmarshal(m, b)
-}
-func (m *URLFetchServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_URLFetchServiceError.Marshal(b, m, deterministic)
-}
-func (dst *URLFetchServiceError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_URLFetchServiceError.Merge(dst, src)
-}
-func (m *URLFetchServiceError) XXX_Size() int {
- return xxx_messageInfo_URLFetchServiceError.Size(m)
-}
-func (m *URLFetchServiceError) XXX_DiscardUnknown() {
- xxx_messageInfo_URLFetchServiceError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_URLFetchServiceError proto.InternalMessageInfo
-
-type URLFetchRequest struct {
- Method *URLFetchRequest_RequestMethod `protobuf:"varint,1,req,name=Method,enum=appengine.URLFetchRequest_RequestMethod" json:"Method,omitempty"`
- Url *string `protobuf:"bytes,2,req,name=Url" json:"Url,omitempty"`
- Header []*URLFetchRequest_Header `protobuf:"group,3,rep,name=Header,json=header" json:"header,omitempty"`
- Payload []byte `protobuf:"bytes,6,opt,name=Payload" json:"Payload,omitempty"`
- FollowRedirects *bool `protobuf:"varint,7,opt,name=FollowRedirects,def=1" json:"FollowRedirects,omitempty"`
- Deadline *float64 `protobuf:"fixed64,8,opt,name=Deadline" json:"Deadline,omitempty"`
- MustValidateServerCertificate *bool `protobuf:"varint,9,opt,name=MustValidateServerCertificate,def=1" json:"MustValidateServerCertificate,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *URLFetchRequest) Reset() { *m = URLFetchRequest{} }
-func (m *URLFetchRequest) String() string { return proto.CompactTextString(m) }
-func (*URLFetchRequest) ProtoMessage() {}
-func (*URLFetchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{1}
-}
-func (m *URLFetchRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_URLFetchRequest.Unmarshal(m, b)
-}
-func (m *URLFetchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_URLFetchRequest.Marshal(b, m, deterministic)
-}
-func (dst *URLFetchRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_URLFetchRequest.Merge(dst, src)
-}
-func (m *URLFetchRequest) XXX_Size() int {
- return xxx_messageInfo_URLFetchRequest.Size(m)
-}
-func (m *URLFetchRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_URLFetchRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_URLFetchRequest proto.InternalMessageInfo
-
-const Default_URLFetchRequest_FollowRedirects bool = true
-const Default_URLFetchRequest_MustValidateServerCertificate bool = true
-
-func (m *URLFetchRequest) GetMethod() URLFetchRequest_RequestMethod {
- if m != nil && m.Method != nil {
- return *m.Method
- }
- return URLFetchRequest_GET
-}
-
-func (m *URLFetchRequest) GetUrl() string {
- if m != nil && m.Url != nil {
- return *m.Url
- }
- return ""
-}
-
-func (m *URLFetchRequest) GetHeader() []*URLFetchRequest_Header {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *URLFetchRequest) GetPayload() []byte {
- if m != nil {
- return m.Payload
- }
- return nil
-}
-
-func (m *URLFetchRequest) GetFollowRedirects() bool {
- if m != nil && m.FollowRedirects != nil {
- return *m.FollowRedirects
- }
- return Default_URLFetchRequest_FollowRedirects
-}
-
-func (m *URLFetchRequest) GetDeadline() float64 {
- if m != nil && m.Deadline != nil {
- return *m.Deadline
- }
- return 0
-}
-
-func (m *URLFetchRequest) GetMustValidateServerCertificate() bool {
- if m != nil && m.MustValidateServerCertificate != nil {
- return *m.MustValidateServerCertificate
- }
- return Default_URLFetchRequest_MustValidateServerCertificate
-}
-
-type URLFetchRequest_Header struct {
- Key *string `protobuf:"bytes,4,req,name=Key" json:"Key,omitempty"`
- Value *string `protobuf:"bytes,5,req,name=Value" json:"Value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *URLFetchRequest_Header) Reset() { *m = URLFetchRequest_Header{} }
-func (m *URLFetchRequest_Header) String() string { return proto.CompactTextString(m) }
-func (*URLFetchRequest_Header) ProtoMessage() {}
-func (*URLFetchRequest_Header) Descriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{1, 0}
-}
-func (m *URLFetchRequest_Header) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_URLFetchRequest_Header.Unmarshal(m, b)
-}
-func (m *URLFetchRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_URLFetchRequest_Header.Marshal(b, m, deterministic)
-}
-func (dst *URLFetchRequest_Header) XXX_Merge(src proto.Message) {
- xxx_messageInfo_URLFetchRequest_Header.Merge(dst, src)
-}
-func (m *URLFetchRequest_Header) XXX_Size() int {
- return xxx_messageInfo_URLFetchRequest_Header.Size(m)
-}
-func (m *URLFetchRequest_Header) XXX_DiscardUnknown() {
- xxx_messageInfo_URLFetchRequest_Header.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_URLFetchRequest_Header proto.InternalMessageInfo
-
-func (m *URLFetchRequest_Header) GetKey() string {
- if m != nil && m.Key != nil {
- return *m.Key
- }
- return ""
-}
-
-func (m *URLFetchRequest_Header) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return ""
-}
-
-type URLFetchResponse struct {
- Content []byte `protobuf:"bytes,1,opt,name=Content" json:"Content,omitempty"`
- StatusCode *int32 `protobuf:"varint,2,req,name=StatusCode" json:"StatusCode,omitempty"`
- Header []*URLFetchResponse_Header `protobuf:"group,3,rep,name=Header,json=header" json:"header,omitempty"`
- ContentWasTruncated *bool `protobuf:"varint,6,opt,name=ContentWasTruncated,def=0" json:"ContentWasTruncated,omitempty"`
- ExternalBytesSent *int64 `protobuf:"varint,7,opt,name=ExternalBytesSent" json:"ExternalBytesSent,omitempty"`
- ExternalBytesReceived *int64 `protobuf:"varint,8,opt,name=ExternalBytesReceived" json:"ExternalBytesReceived,omitempty"`
- FinalUrl *string `protobuf:"bytes,9,opt,name=FinalUrl" json:"FinalUrl,omitempty"`
- ApiCpuMilliseconds *int64 `protobuf:"varint,10,opt,name=ApiCpuMilliseconds,def=0" json:"ApiCpuMilliseconds,omitempty"`
- ApiBytesSent *int64 `protobuf:"varint,11,opt,name=ApiBytesSent,def=0" json:"ApiBytesSent,omitempty"`
- ApiBytesReceived *int64 `protobuf:"varint,12,opt,name=ApiBytesReceived,def=0" json:"ApiBytesReceived,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *URLFetchResponse) Reset() { *m = URLFetchResponse{} }
-func (m *URLFetchResponse) String() string { return proto.CompactTextString(m) }
-func (*URLFetchResponse) ProtoMessage() {}
-func (*URLFetchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{2}
-}
-func (m *URLFetchResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_URLFetchResponse.Unmarshal(m, b)
-}
-func (m *URLFetchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_URLFetchResponse.Marshal(b, m, deterministic)
-}
-func (dst *URLFetchResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_URLFetchResponse.Merge(dst, src)
-}
-func (m *URLFetchResponse) XXX_Size() int {
- return xxx_messageInfo_URLFetchResponse.Size(m)
-}
-func (m *URLFetchResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_URLFetchResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_URLFetchResponse proto.InternalMessageInfo
-
-const Default_URLFetchResponse_ContentWasTruncated bool = false
-const Default_URLFetchResponse_ApiCpuMilliseconds int64 = 0
-const Default_URLFetchResponse_ApiBytesSent int64 = 0
-const Default_URLFetchResponse_ApiBytesReceived int64 = 0
-
-func (m *URLFetchResponse) GetContent() []byte {
- if m != nil {
- return m.Content
- }
- return nil
-}
-
-func (m *URLFetchResponse) GetStatusCode() int32 {
- if m != nil && m.StatusCode != nil {
- return *m.StatusCode
- }
- return 0
-}
-
-func (m *URLFetchResponse) GetHeader() []*URLFetchResponse_Header {
- if m != nil {
- return m.Header
- }
- return nil
-}
-
-func (m *URLFetchResponse) GetContentWasTruncated() bool {
- if m != nil && m.ContentWasTruncated != nil {
- return *m.ContentWasTruncated
- }
- return Default_URLFetchResponse_ContentWasTruncated
-}
-
-func (m *URLFetchResponse) GetExternalBytesSent() int64 {
- if m != nil && m.ExternalBytesSent != nil {
- return *m.ExternalBytesSent
- }
- return 0
-}
-
-func (m *URLFetchResponse) GetExternalBytesReceived() int64 {
- if m != nil && m.ExternalBytesReceived != nil {
- return *m.ExternalBytesReceived
- }
- return 0
-}
-
-func (m *URLFetchResponse) GetFinalUrl() string {
- if m != nil && m.FinalUrl != nil {
- return *m.FinalUrl
- }
- return ""
-}
-
-func (m *URLFetchResponse) GetApiCpuMilliseconds() int64 {
- if m != nil && m.ApiCpuMilliseconds != nil {
- return *m.ApiCpuMilliseconds
- }
- return Default_URLFetchResponse_ApiCpuMilliseconds
-}
-
-func (m *URLFetchResponse) GetApiBytesSent() int64 {
- if m != nil && m.ApiBytesSent != nil {
- return *m.ApiBytesSent
- }
- return Default_URLFetchResponse_ApiBytesSent
-}
-
-func (m *URLFetchResponse) GetApiBytesReceived() int64 {
- if m != nil && m.ApiBytesReceived != nil {
- return *m.ApiBytesReceived
- }
- return Default_URLFetchResponse_ApiBytesReceived
-}
-
-type URLFetchResponse_Header struct {
- Key *string `protobuf:"bytes,4,req,name=Key" json:"Key,omitempty"`
- Value *string `protobuf:"bytes,5,req,name=Value" json:"Value,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *URLFetchResponse_Header) Reset() { *m = URLFetchResponse_Header{} }
-func (m *URLFetchResponse_Header) String() string { return proto.CompactTextString(m) }
-func (*URLFetchResponse_Header) ProtoMessage() {}
-func (*URLFetchResponse_Header) Descriptor() ([]byte, []int) {
- return fileDescriptor_urlfetch_service_b245a7065f33bced, []int{2, 0}
-}
-func (m *URLFetchResponse_Header) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_URLFetchResponse_Header.Unmarshal(m, b)
-}
-func (m *URLFetchResponse_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_URLFetchResponse_Header.Marshal(b, m, deterministic)
-}
-func (dst *URLFetchResponse_Header) XXX_Merge(src proto.Message) {
- xxx_messageInfo_URLFetchResponse_Header.Merge(dst, src)
-}
-func (m *URLFetchResponse_Header) XXX_Size() int {
- return xxx_messageInfo_URLFetchResponse_Header.Size(m)
-}
-func (m *URLFetchResponse_Header) XXX_DiscardUnknown() {
- xxx_messageInfo_URLFetchResponse_Header.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_URLFetchResponse_Header proto.InternalMessageInfo
-
-func (m *URLFetchResponse_Header) GetKey() string {
- if m != nil && m.Key != nil {
- return *m.Key
- }
- return ""
-}
-
-func (m *URLFetchResponse_Header) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return ""
-}
-
-func init() {
- proto.RegisterType((*URLFetchServiceError)(nil), "appengine.URLFetchServiceError")
- proto.RegisterType((*URLFetchRequest)(nil), "appengine.URLFetchRequest")
- proto.RegisterType((*URLFetchRequest_Header)(nil), "appengine.URLFetchRequest.Header")
- proto.RegisterType((*URLFetchResponse)(nil), "appengine.URLFetchResponse")
- proto.RegisterType((*URLFetchResponse_Header)(nil), "appengine.URLFetchResponse.Header")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto", fileDescriptor_urlfetch_service_b245a7065f33bced)
-}
-
-var fileDescriptor_urlfetch_service_b245a7065f33bced = []byte{
- // 770 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xdd, 0x6e, 0xe3, 0x54,
- 0x10, 0xc6, 0x76, 0x7e, 0xa7, 0x5d, 0x7a, 0x76, 0xb6, 0x45, 0x66, 0xb5, 0xa0, 0x10, 0x09, 0x29,
- 0x17, 0x90, 0x2e, 0x2b, 0x24, 0x44, 0xaf, 0x70, 0xed, 0x93, 0xad, 0xa9, 0x63, 0x47, 0xc7, 0x4e,
- 0x61, 0xb9, 0xb1, 0xac, 0x78, 0x9a, 0x5a, 0xb2, 0xec, 0x60, 0x9f, 0x2c, 0xf4, 0x35, 0x78, 0x0d,
- 0xde, 0x87, 0xa7,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71, 0x6c,
- 0x8c, 0x6b, 0x8b, 0xf7, 0x10, 0xbc, 0x78, 0xe4, 0xdf, 0xf0, 0xa0, 0x7f, 0xdb, 0x6b, 0x1e, 0x1b,
- 0xf8, 0x03, 0x3c, 0x6b, 0xae, 0xf9, 0x25, 0xa9, 0xa3, 0x6a, 0x5d, 0x28, 0x81, 0xb6, 0x66, 0xf6,
- 0x2e, 0xda, 0xb7, 0x49, 0x5e, 0x93, 0x38, 0xc4, 0xc0, 0x6f, 0xe0, 0x29, 0xff, 0x73, 0xfb, 0x02,
- 0x5c, 0xde, 0x4b, 0xaa, 0x43, 0x35, 0xb8, 0x72, 0xd7, 0x10, 0x1f, 0x16, 0xf0, 0x7b, 0x38, 0x7b,
- 0x00, 0x0a, 0x5a, 0x50, 0xf6, 0x96, 0xd2, 0x8d, 0xcd, 0x86, 0x38, 0x5c, 0x54, 0xfb, 0x30, 0xc9,
- 0x8a, 0x24, 0x57, 0xfb, 0xaa, 0xec, 0xed, 0x8b, 0x7d, 0x8e, 0xdf, 0x01, 0x5a, 0xab, 0xcc, 0x5e,
- 0xad, 0xa7, 0x59, 0x9e, 0x67, 0x35, 0x2d, 0xca, 0x22, 0xad, 0x4d, 0x50, 0xed, 0x2e, 0xb4, 0x97,
- 0xe2, 0x40, 0x11, 0xbf, 0x86, 0x63, 0x6b, 0x95, 0xbd, 0x9b, 0xf6, 0x68, 0x47, 0x7e, 0x00, 0xe3,
- 0xb7, 0xc0, 0x76, 0xf9, 0x7e, 0xcc, 0xe3, 0x1d, 0xf5, 0x83, 0xd2, 0xff, 0x5f, 0xa6, 0x4b, 0xf8,
- 0xad, 0xb7, 0x7b, 0x2a, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x9f, 0x6d, 0x24, 0x63, 0x05,
- 0x00, 0x00,
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto b/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto
deleted file mode 100644
index f695edf6a9..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto
+++ /dev/null
@@ -1,64 +0,0 @@
-syntax = "proto2";
-option go_package = "urlfetch";
-
-package appengine;
-
-message URLFetchServiceError {
- enum ErrorCode {
- OK = 0;
- INVALID_URL = 1;
- FETCH_ERROR = 2;
- UNSPECIFIED_ERROR = 3;
- RESPONSE_TOO_LARGE = 4;
- DEADLINE_EXCEEDED = 5;
- SSL_CERTIFICATE_ERROR = 6;
- DNS_ERROR = 7;
- CLOSED = 8;
- INTERNAL_TRANSIENT_ERROR = 9;
- TOO_MANY_REDIRECTS = 10;
- MALFORMED_REPLY = 11;
- CONNECTION_ERROR = 12;
- }
-}
-
-message URLFetchRequest {
- enum RequestMethod {
- GET = 1;
- POST = 2;
- HEAD = 3;
- PUT = 4;
- DELETE = 5;
- PATCH = 6;
- }
- required RequestMethod Method = 1;
- required string Url = 2;
- repeated group Header = 3 {
- required string Key = 4;
- required string Value = 5;
- }
- optional bytes Payload = 6 [ctype=CORD];
-
- optional bool FollowRedirects = 7 [default=true];
-
- optional double Deadline = 8;
-
- optional bool MustValidateServerCertificate = 9 [default=true];
-}
-
-message URLFetchResponse {
- optional bytes Content = 1;
- required int32 StatusCode = 2;
- repeated group Header = 3 {
- required string Key = 4;
- required string Value = 5;
- }
- optional bool ContentWasTruncated = 6 [default=false];
- optional int64 ExternalBytesSent = 7;
- optional int64 ExternalBytesReceived = 8;
-
- optional string FinalUrl = 9;
-
- optional int64 ApiCpuMilliseconds = 10 [default=0];
- optional int64 ApiBytesSent = 11 [default=0];
- optional int64 ApiBytesReceived = 12 [default=0];
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/appengine/urlfetch/urlfetch.go b/cluster-api/providers/azure/vendor/google.golang.org/appengine/urlfetch/urlfetch.go
deleted file mode 100644
index 6c0d72418d..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/appengine/urlfetch/urlfetch.go
+++ /dev/null
@@ -1,209 +0,0 @@
-// Copyright 2011 Google Inc. All rights reserved.
-// Use of this source code is governed by the Apache 2.0
-// license that can be found in the LICENSE file.
-
-// Package urlfetch provides an http.RoundTripper implementation
-// for fetching URLs via App Engine's urlfetch service.
-package urlfetch // import "google.golang.org/appengine/urlfetch"
-
-import (
- "context"
- "errors"
- "fmt"
- "io"
- "io/ioutil"
- "net/http"
- "net/url"
- "strconv"
- "strings"
- "time"
-
- "github.com/golang/protobuf/proto"
-
- "google.golang.org/appengine/internal"
- pb "google.golang.org/appengine/internal/urlfetch"
-)
-
-// Transport is an implementation of http.RoundTripper for
-// App Engine. Users should generally create an http.Client using
-// this transport and use the Client rather than using this transport
-// directly.
-type Transport struct {
- Context context.Context
-
- // Controls whether the application checks the validity of SSL certificates
- // over HTTPS connections. A value of false (the default) instructs the
- // application to send a request to the server only if the certificate is
- // valid and signed by a trusted certificate authority (CA), and also
- // includes a hostname that matches the certificate. A value of true
- // instructs the application to perform no certificate validation.
- AllowInvalidServerCertificate bool
-}
-
-// Verify statically that *Transport implements http.RoundTripper.
-var _ http.RoundTripper = (*Transport)(nil)
-
-// Client returns an *http.Client using a default urlfetch Transport. This
-// client will check the validity of SSL certificates.
-//
-// Any deadline of the provided context will be used for requests through this client.
-// If the client does not have a deadline, then an App Engine default of 60 second is used.
-func Client(ctx context.Context) *http.Client {
- return &http.Client{
- Transport: &Transport{
- Context: ctx,
- },
- }
-}
-
-type bodyReader struct {
- content []byte
- truncated bool
- closed bool
-}
-
-// ErrTruncatedBody is the error returned after the final Read() from a
-// response's Body if the body has been truncated by App Engine's proxy.
-var ErrTruncatedBody = errors.New("urlfetch: truncated body")
-
-func statusCodeToText(code int) string {
- if t := http.StatusText(code); t != "" {
- return t
- }
- return strconv.Itoa(code)
-}
-
-func (br *bodyReader) Read(p []byte) (n int, err error) {
- if br.closed {
- if br.truncated {
- return 0, ErrTruncatedBody
- }
- return 0, io.EOF
- }
- n = copy(p, br.content)
- if n > 0 {
- br.content = br.content[n:]
- return
- }
- if br.truncated {
- br.closed = true
- return 0, ErrTruncatedBody
- }
- return 0, io.EOF
-}
-
-func (br *bodyReader) Close() error {
- br.closed = true
- br.content = nil
- return nil
-}
-
-// A map of the URL Fetch-accepted methods that take a request body.
-var methodAcceptsRequestBody = map[string]bool{
- "POST": true,
- "PUT": true,
- "PATCH": true,
-}
-
-// urlString returns a valid string given a URL. This function is necessary because
-// the String method of URL doesn't correctly handle URLs with non-empty Opaque values.
-// See http://code.google.com/p/go/issues/detail?id=4860.
-func urlString(u *url.URL) string {
- if u.Opaque == "" || strings.HasPrefix(u.Opaque, "//") {
- return u.String()
- }
- aux := *u
- aux.Opaque = "//" + aux.Host + aux.Opaque
- return aux.String()
-}
-
-// RoundTrip issues a single HTTP request and returns its response. Per the
-// http.RoundTripper interface, RoundTrip only returns an error if there
-// was an unsupported request or the URL Fetch proxy fails.
-// Note that HTTP response codes such as 5xx, 403, 404, etc are not
-// errors as far as the transport is concerned and will be returned
-// with err set to nil.
-func (t *Transport) RoundTrip(req *http.Request) (res *http.Response, err error) {
- methNum, ok := pb.URLFetchRequest_RequestMethod_value[req.Method]
- if !ok {
- return nil, fmt.Errorf("urlfetch: unsupported HTTP method %q", req.Method)
- }
-
- method := pb.URLFetchRequest_RequestMethod(methNum)
-
- freq := &pb.URLFetchRequest{
- Method: &method,
- Url: proto.String(urlString(req.URL)),
- FollowRedirects: proto.Bool(false), // http.Client's responsibility
- MustValidateServerCertificate: proto.Bool(!t.AllowInvalidServerCertificate),
- }
- if deadline, ok := t.Context.Deadline(); ok {
- freq.Deadline = proto.Float64(deadline.Sub(time.Now()).Seconds())
- }
-
- for k, vals := range req.Header {
- for _, val := range vals {
- freq.Header = append(freq.Header, &pb.URLFetchRequest_Header{
- Key: proto.String(k),
- Value: proto.String(val),
- })
- }
- }
- if methodAcceptsRequestBody[req.Method] && req.Body != nil {
- // Avoid a []byte copy if req.Body has a Bytes method.
- switch b := req.Body.(type) {
- case interface {
- Bytes() []byte
- }:
- freq.Payload = b.Bytes()
- default:
- freq.Payload, err = ioutil.ReadAll(req.Body)
- if err != nil {
- return nil, err
- }
- }
- }
-
- fres := &pb.URLFetchResponse{}
- if err := internal.Call(t.Context, "urlfetch", "Fetch", freq, fres); err != nil {
- return nil, err
- }
-
- res = &http.Response{}
- res.StatusCode = int(*fres.StatusCode)
- res.Status = fmt.Sprintf("%d %s", res.StatusCode, statusCodeToText(res.StatusCode))
- res.Header = make(http.Header)
- res.Request = req
-
- // Faked:
- res.ProtoMajor = 1
- res.ProtoMinor = 1
- res.Proto = "HTTP/1.1"
- res.Close = true
-
- for _, h := range fres.Header {
- hkey := http.CanonicalHeaderKey(*h.Key)
- hval := *h.Value
- if hkey == "Content-Length" {
- // Will get filled in below for all but HEAD requests.
- if req.Method == "HEAD" {
- res.ContentLength, _ = strconv.ParseInt(hval, 10, 64)
- }
- continue
- }
- res.Header.Add(hkey, hval)
- }
-
- if req.Method != "HEAD" {
- res.ContentLength = int64(len(fres.Content))
- }
-
- truncated := fres.GetContentWasTruncated()
- res.Body = &bodyReader{content: fres.Content, truncated: truncated}
- return
-}
-
-func init() {
- internal.RegisterErrorCodeMap("urlfetch", pb.URLFetchServiceError_ErrorCode_name)
- internal.RegisterTimeoutErrorCode("urlfetch", int32(pb.URLFetchServiceError_DEADLINE_EXCEEDED))
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
index d687f68e76..9f81dbcd86 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v4.24.4
// source: google/api/expr/v1alpha1/checked.proto
package expr
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
index d38876ef04..0a2ffb5955 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v4.24.4
// source: google/api/expr/v1alpha1/eval.proto
package expr
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
index c980d6fcc8..57aaa2c9f5 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v4.24.4
// source: google/api/expr/v1alpha1/explain.proto
package expr
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
index 63c1ad9344..6b867a46ed 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc v4.24.4
// source: google/api/expr/v1alpha1/syntax.proto
package expr
@@ -38,6 +38,65 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
+// CEL component specifier.
+type SourceInfo_Extension_Component int32
+
+const (
+ // Unspecified, default.
+ SourceInfo_Extension_COMPONENT_UNSPECIFIED SourceInfo_Extension_Component = 0
+ // Parser. Converts a CEL string to an AST.
+ SourceInfo_Extension_COMPONENT_PARSER SourceInfo_Extension_Component = 1
+ // Type checker. Checks that references in an AST are defined and types
+ // agree.
+ SourceInfo_Extension_COMPONENT_TYPE_CHECKER SourceInfo_Extension_Component = 2
+ // Runtime. Evaluates a parsed and optionally checked CEL AST against a
+ // context.
+ SourceInfo_Extension_COMPONENT_RUNTIME SourceInfo_Extension_Component = 3
+)
+
+// Enum value maps for SourceInfo_Extension_Component.
+var (
+ SourceInfo_Extension_Component_name = map[int32]string{
+ 0: "COMPONENT_UNSPECIFIED",
+ 1: "COMPONENT_PARSER",
+ 2: "COMPONENT_TYPE_CHECKER",
+ 3: "COMPONENT_RUNTIME",
+ }
+ SourceInfo_Extension_Component_value = map[string]int32{
+ "COMPONENT_UNSPECIFIED": 0,
+ "COMPONENT_PARSER": 1,
+ "COMPONENT_TYPE_CHECKER": 2,
+ "COMPONENT_RUNTIME": 3,
+ }
+)
+
+func (x SourceInfo_Extension_Component) Enum() *SourceInfo_Extension_Component {
+ p := new(SourceInfo_Extension_Component)
+ *p = x
+ return p
+}
+
+func (x SourceInfo_Extension_Component) String() string {
+ return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
+}
+
+func (SourceInfo_Extension_Component) Descriptor() protoreflect.EnumDescriptor {
+ return file_google_api_expr_v1alpha1_syntax_proto_enumTypes[0].Descriptor()
+}
+
+func (SourceInfo_Extension_Component) Type() protoreflect.EnumType {
+ return &file_google_api_expr_v1alpha1_syntax_proto_enumTypes[0]
+}
+
+func (x SourceInfo_Extension_Component) Number() protoreflect.EnumNumber {
+ return protoreflect.EnumNumber(x)
+}
+
+// Deprecated: Use SourceInfo_Extension_Component.Descriptor instead.
+func (SourceInfo_Extension_Component) EnumDescriptor() ([]byte, []int) {
+ return file_google_api_expr_v1alpha1_syntax_proto_rawDescGZIP(), []int{3, 0, 0}
+}
+
// An expression together with source information as returned by the parser.
type ParsedExpr struct {
state protoimpl.MessageState
@@ -103,14 +162,16 @@ func (x *ParsedExpr) GetSourceInfo() *SourceInfo {
// operators with the exception of the '.' operator are modelled as function
// calls. This makes it easy to represent new operators into the existing AST.
//
-// All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at
-// type-check for an expression to be valid. A reference may either be a bare
-// identifier `name` or a qualified identifier `google.api.name`. References
-// may either refer to a value or a function declaration.
+// All references within expressions must resolve to a
+// [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an
+// expression to be valid. A reference may either be a bare identifier `name` or
+// a qualified identifier `google.api.name`. References may either refer to a
+// value or a function declaration.
//
// For example, the expression `google.api.name.startsWith('expr')` references
-// the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and
-// the function declaration `startsWith`.
+// the declaration `google.api.name` within a
+// [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the
+// function declaration `startsWith`.
type Expr struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -291,7 +352,8 @@ func (*Expr_ComprehensionExpr) isExpr_ExprKind() {}
// primitives.
//
// Lists and structs are not included as constants as these aggregate types may
-// contain [Expr][google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant.
+// contain [Expr][google.api.expr.v1alpha1.Expr] elements which require
+// evaluation and are thus not constant.
//
// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`,
// `true`, `null`.
@@ -528,6 +590,14 @@ type SourceInfo struct {
// in the map corresponds to the expression id of the expanded macro, and the
// value is the call `Expr` that was replaced.
MacroCalls map[int64]*Expr `protobuf:"bytes,5,rep,name=macro_calls,json=macroCalls,proto3" json:"macro_calls,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
+ // A list of tags for extensions that were used while parsing or type checking
+ // the source expression. For example, optimizations that require special
+ // runtime support may be specified.
+ //
+ // These are used to check feature support between components in separate
+ // implementations. This can be used to either skip redundant work or
+ // report an error if the extension is unsupported.
+ Extensions []*SourceInfo_Extension `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"`
}
func (x *SourceInfo) Reset() {
@@ -597,6 +667,13 @@ func (x *SourceInfo) GetMacroCalls() map[int64]*Expr {
return nil
}
+func (x *SourceInfo) GetExtensions() []*SourceInfo_Extension {
+ if x != nil {
+ return x.Extensions
+ }
+ return nil
+}
+
// A specific position in source.
type SourcePosition struct {
state protoimpl.MessageState
@@ -684,7 +761,8 @@ type Expr_Ident struct {
// Required. Holds a single, unqualified identifier, possibly preceded by a
// '.'.
//
- // Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
+ // Qualified names are represented by the
+ // [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
}
@@ -1255,6 +1333,137 @@ func (*Expr_CreateStruct_Entry_FieldKey) isExpr_CreateStruct_Entry_KeyKind() {}
func (*Expr_CreateStruct_Entry_MapKey) isExpr_CreateStruct_Entry_KeyKind() {}
+// An extension that was requested for the source expression.
+type SourceInfo_Extension struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Identifier for the extension. Example: constant_folding
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ // If set, the listed components must understand the extension for the
+ // expression to evaluate correctly.
+ //
+ // This field has set semantics, repeated values should be deduplicated.
+ AffectedComponents []SourceInfo_Extension_Component `protobuf:"varint,2,rep,packed,name=affected_components,json=affectedComponents,proto3,enum=google.api.expr.v1alpha1.SourceInfo_Extension_Component" json:"affected_components,omitempty"`
+ // Version info. May be skipped if it isn't meaningful for the extension.
+ // (for example constant_folding might always be v0.0).
+ Version *SourceInfo_Extension_Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
+}
+
+func (x *SourceInfo_Extension) Reset() {
+ *x = SourceInfo_Extension{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_api_expr_v1alpha1_syntax_proto_msgTypes[12]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SourceInfo_Extension) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SourceInfo_Extension) ProtoMessage() {}
+
+func (x *SourceInfo_Extension) ProtoReflect() protoreflect.Message {
+ mi := &file_google_api_expr_v1alpha1_syntax_proto_msgTypes[12]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SourceInfo_Extension.ProtoReflect.Descriptor instead.
+func (*SourceInfo_Extension) Descriptor() ([]byte, []int) {
+ return file_google_api_expr_v1alpha1_syntax_proto_rawDescGZIP(), []int{3, 0}
+}
+
+func (x *SourceInfo_Extension) GetId() string {
+ if x != nil {
+ return x.Id
+ }
+ return ""
+}
+
+func (x *SourceInfo_Extension) GetAffectedComponents() []SourceInfo_Extension_Component {
+ if x != nil {
+ return x.AffectedComponents
+ }
+ return nil
+}
+
+func (x *SourceInfo_Extension) GetVersion() *SourceInfo_Extension_Version {
+ if x != nil {
+ return x.Version
+ }
+ return nil
+}
+
+// Version
+type SourceInfo_Extension_Version struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Major version changes indicate different required support level from
+ // the required components.
+ Major int64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
+ // Minor version changes must not change the observed behavior from
+ // existing implementations, but may be provided informationally.
+ Minor int64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
+}
+
+func (x *SourceInfo_Extension_Version) Reset() {
+ *x = SourceInfo_Extension_Version{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_api_expr_v1alpha1_syntax_proto_msgTypes[15]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SourceInfo_Extension_Version) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SourceInfo_Extension_Version) ProtoMessage() {}
+
+func (x *SourceInfo_Extension_Version) ProtoReflect() protoreflect.Message {
+ mi := &file_google_api_expr_v1alpha1_syntax_proto_msgTypes[15]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SourceInfo_Extension_Version.ProtoReflect.Descriptor instead.
+func (*SourceInfo_Extension_Version) Descriptor() ([]byte, []int) {
+ return file_google_api_expr_v1alpha1_syntax_proto_rawDescGZIP(), []int{3, 0, 0}
+}
+
+func (x *SourceInfo_Extension_Version) GetMajor() int64 {
+ if x != nil {
+ return x.Major
+ }
+ return 0
+}
+
+func (x *SourceInfo_Extension_Version) GetMinor() int64 {
+ if x != nil {
+ return x.Minor
+ }
+ return 0
+}
+
var File_google_api_expr_v1alpha1_syntax_proto protoreflect.FileDescriptor
var file_google_api_expr_v1alpha1_syntax_proto_rawDesc = []byte{
@@ -1412,7 +1621,7 @@ var file_google_api_expr_v1alpha1_syntax_proto_rawDesc = []byte{
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x02, 0x18, 0x01, 0x48, 0x00, 0x52, 0x0e,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f,
0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x22,
- 0xb9, 0x03, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25,
+ 0x8c, 0x07, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25,
0x0a, 0x0e, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x56, 0x65,
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
@@ -1429,32 +1638,61 @@ var file_google_api_expr_v1alpha1_syntax_proto_rawDesc = []byte{
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76,
0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e,
0x66, 0x6f, 0x2e, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x45, 0x6e, 0x74,
- 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x72, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x1a, 0x3c,
- 0x0a, 0x0e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b,
- 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5d, 0x0a, 0x0f,
- 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6b, 0x65,
- 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78,
- 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x72,
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x70, 0x0a, 0x0e, 0x53,
- 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a,
- 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66,
- 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65,
- 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x42, 0x6e, 0x0a,
- 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
- 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0b, 0x53,
- 0x79, 0x6e, 0x74, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f,
- 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
- 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x61,
- 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x78, 0x70, 0x72, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x72, 0x79, 0x52, 0x0a, 0x6d, 0x61, 0x63, 0x72, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x12, 0x4e,
+ 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e,
+ 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x6f,
+ 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
+ 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x80,
+ 0x03, 0x0a, 0x09, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x69, 0x0a, 0x13,
+ 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65,
+ 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c,
+ 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e,
+ 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e,
+ 0x65, 0x6e, 0x74, 0x52, 0x12, 0x61, 0x66, 0x66, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6d,
+ 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x50, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69,
+ 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70,
+ 0x68, 0x61, 0x31, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x45,
+ 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
+ 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x35, 0x0a, 0x07, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69,
+ 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72,
+ 0x22, 0x6f, 0x0a, 0x09, 0x43, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a,
+ 0x15, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
+ 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4d, 0x50,
+ 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x50, 0x41, 0x52, 0x53, 0x45, 0x52, 0x10, 0x01, 0x12, 0x1a,
+ 0x0a, 0x16, 0x43, 0x4f, 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
+ 0x5f, 0x43, 0x48, 0x45, 0x43, 0x4b, 0x45, 0x52, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f,
+ 0x4d, 0x50, 0x4f, 0x4e, 0x45, 0x4e, 0x54, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10,
+ 0x03, 0x1a, 0x3c, 0x0a, 0x0e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e,
+ 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
+ 0x5d, 0x0a, 0x0f, 0x4d, 0x61, 0x63, 0x72, 0x6f, 0x43, 0x61, 0x6c, 0x6c, 0x73, 0x45, 0x6e, 0x74,
+ 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
+ 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69,
+ 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45,
+ 0x78, 0x70, 0x72, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x70,
+ 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06,
+ 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6f, 0x66,
+ 0x66, 0x73, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x05, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75,
+ 0x6d, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
+ 0x42, 0x6e, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61,
+ 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31,
+ 0x42, 0x0b, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
+ 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
+ 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f,
+ 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x65, 0x78, 0x70, 0x72, 0xf8, 0x01, 0x01,
+ 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -1469,59 +1707,66 @@ func file_google_api_expr_v1alpha1_syntax_proto_rawDescGZIP() []byte {
return file_google_api_expr_v1alpha1_syntax_proto_rawDescData
}
-var file_google_api_expr_v1alpha1_syntax_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
+var file_google_api_expr_v1alpha1_syntax_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
+var file_google_api_expr_v1alpha1_syntax_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_google_api_expr_v1alpha1_syntax_proto_goTypes = []interface{}{
- (*ParsedExpr)(nil), // 0: google.api.expr.v1alpha1.ParsedExpr
- (*Expr)(nil), // 1: google.api.expr.v1alpha1.Expr
- (*Constant)(nil), // 2: google.api.expr.v1alpha1.Constant
- (*SourceInfo)(nil), // 3: google.api.expr.v1alpha1.SourceInfo
- (*SourcePosition)(nil), // 4: google.api.expr.v1alpha1.SourcePosition
- (*Expr_Ident)(nil), // 5: google.api.expr.v1alpha1.Expr.Ident
- (*Expr_Select)(nil), // 6: google.api.expr.v1alpha1.Expr.Select
- (*Expr_Call)(nil), // 7: google.api.expr.v1alpha1.Expr.Call
- (*Expr_CreateList)(nil), // 8: google.api.expr.v1alpha1.Expr.CreateList
- (*Expr_CreateStruct)(nil), // 9: google.api.expr.v1alpha1.Expr.CreateStruct
- (*Expr_Comprehension)(nil), // 10: google.api.expr.v1alpha1.Expr.Comprehension
- (*Expr_CreateStruct_Entry)(nil), // 11: google.api.expr.v1alpha1.Expr.CreateStruct.Entry
- nil, // 12: google.api.expr.v1alpha1.SourceInfo.PositionsEntry
- nil, // 13: google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry
- (structpb.NullValue)(0), // 14: google.protobuf.NullValue
- (*durationpb.Duration)(nil), // 15: google.protobuf.Duration
- (*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp
+ (SourceInfo_Extension_Component)(0), // 0: google.api.expr.v1alpha1.SourceInfo.Extension.Component
+ (*ParsedExpr)(nil), // 1: google.api.expr.v1alpha1.ParsedExpr
+ (*Expr)(nil), // 2: google.api.expr.v1alpha1.Expr
+ (*Constant)(nil), // 3: google.api.expr.v1alpha1.Constant
+ (*SourceInfo)(nil), // 4: google.api.expr.v1alpha1.SourceInfo
+ (*SourcePosition)(nil), // 5: google.api.expr.v1alpha1.SourcePosition
+ (*Expr_Ident)(nil), // 6: google.api.expr.v1alpha1.Expr.Ident
+ (*Expr_Select)(nil), // 7: google.api.expr.v1alpha1.Expr.Select
+ (*Expr_Call)(nil), // 8: google.api.expr.v1alpha1.Expr.Call
+ (*Expr_CreateList)(nil), // 9: google.api.expr.v1alpha1.Expr.CreateList
+ (*Expr_CreateStruct)(nil), // 10: google.api.expr.v1alpha1.Expr.CreateStruct
+ (*Expr_Comprehension)(nil), // 11: google.api.expr.v1alpha1.Expr.Comprehension
+ (*Expr_CreateStruct_Entry)(nil), // 12: google.api.expr.v1alpha1.Expr.CreateStruct.Entry
+ (*SourceInfo_Extension)(nil), // 13: google.api.expr.v1alpha1.SourceInfo.Extension
+ nil, // 14: google.api.expr.v1alpha1.SourceInfo.PositionsEntry
+ nil, // 15: google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry
+ (*SourceInfo_Extension_Version)(nil), // 16: google.api.expr.v1alpha1.SourceInfo.Extension.Version
+ (structpb.NullValue)(0), // 17: google.protobuf.NullValue
+ (*durationpb.Duration)(nil), // 18: google.protobuf.Duration
+ (*timestamppb.Timestamp)(nil), // 19: google.protobuf.Timestamp
}
var file_google_api_expr_v1alpha1_syntax_proto_depIdxs = []int32{
- 1, // 0: google.api.expr.v1alpha1.ParsedExpr.expr:type_name -> google.api.expr.v1alpha1.Expr
- 3, // 1: google.api.expr.v1alpha1.ParsedExpr.source_info:type_name -> google.api.expr.v1alpha1.SourceInfo
- 2, // 2: google.api.expr.v1alpha1.Expr.const_expr:type_name -> google.api.expr.v1alpha1.Constant
- 5, // 3: google.api.expr.v1alpha1.Expr.ident_expr:type_name -> google.api.expr.v1alpha1.Expr.Ident
- 6, // 4: google.api.expr.v1alpha1.Expr.select_expr:type_name -> google.api.expr.v1alpha1.Expr.Select
- 7, // 5: google.api.expr.v1alpha1.Expr.call_expr:type_name -> google.api.expr.v1alpha1.Expr.Call
- 8, // 6: google.api.expr.v1alpha1.Expr.list_expr:type_name -> google.api.expr.v1alpha1.Expr.CreateList
- 9, // 7: google.api.expr.v1alpha1.Expr.struct_expr:type_name -> google.api.expr.v1alpha1.Expr.CreateStruct
- 10, // 8: google.api.expr.v1alpha1.Expr.comprehension_expr:type_name -> google.api.expr.v1alpha1.Expr.Comprehension
- 14, // 9: google.api.expr.v1alpha1.Constant.null_value:type_name -> google.protobuf.NullValue
- 15, // 10: google.api.expr.v1alpha1.Constant.duration_value:type_name -> google.protobuf.Duration
- 16, // 11: google.api.expr.v1alpha1.Constant.timestamp_value:type_name -> google.protobuf.Timestamp
- 12, // 12: google.api.expr.v1alpha1.SourceInfo.positions:type_name -> google.api.expr.v1alpha1.SourceInfo.PositionsEntry
- 13, // 13: google.api.expr.v1alpha1.SourceInfo.macro_calls:type_name -> google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry
- 1, // 14: google.api.expr.v1alpha1.Expr.Select.operand:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 15: google.api.expr.v1alpha1.Expr.Call.target:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 16: google.api.expr.v1alpha1.Expr.Call.args:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 17: google.api.expr.v1alpha1.Expr.CreateList.elements:type_name -> google.api.expr.v1alpha1.Expr
- 11, // 18: google.api.expr.v1alpha1.Expr.CreateStruct.entries:type_name -> google.api.expr.v1alpha1.Expr.CreateStruct.Entry
- 1, // 19: google.api.expr.v1alpha1.Expr.Comprehension.iter_range:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 20: google.api.expr.v1alpha1.Expr.Comprehension.accu_init:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 21: google.api.expr.v1alpha1.Expr.Comprehension.loop_condition:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 22: google.api.expr.v1alpha1.Expr.Comprehension.loop_step:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 23: google.api.expr.v1alpha1.Expr.Comprehension.result:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 24: google.api.expr.v1alpha1.Expr.CreateStruct.Entry.map_key:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 25: google.api.expr.v1alpha1.Expr.CreateStruct.Entry.value:type_name -> google.api.expr.v1alpha1.Expr
- 1, // 26: google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry.value:type_name -> google.api.expr.v1alpha1.Expr
- 27, // [27:27] is the sub-list for method output_type
- 27, // [27:27] is the sub-list for method input_type
- 27, // [27:27] is the sub-list for extension type_name
- 27, // [27:27] is the sub-list for extension extendee
- 0, // [0:27] is the sub-list for field type_name
+ 2, // 0: google.api.expr.v1alpha1.ParsedExpr.expr:type_name -> google.api.expr.v1alpha1.Expr
+ 4, // 1: google.api.expr.v1alpha1.ParsedExpr.source_info:type_name -> google.api.expr.v1alpha1.SourceInfo
+ 3, // 2: google.api.expr.v1alpha1.Expr.const_expr:type_name -> google.api.expr.v1alpha1.Constant
+ 6, // 3: google.api.expr.v1alpha1.Expr.ident_expr:type_name -> google.api.expr.v1alpha1.Expr.Ident
+ 7, // 4: google.api.expr.v1alpha1.Expr.select_expr:type_name -> google.api.expr.v1alpha1.Expr.Select
+ 8, // 5: google.api.expr.v1alpha1.Expr.call_expr:type_name -> google.api.expr.v1alpha1.Expr.Call
+ 9, // 6: google.api.expr.v1alpha1.Expr.list_expr:type_name -> google.api.expr.v1alpha1.Expr.CreateList
+ 10, // 7: google.api.expr.v1alpha1.Expr.struct_expr:type_name -> google.api.expr.v1alpha1.Expr.CreateStruct
+ 11, // 8: google.api.expr.v1alpha1.Expr.comprehension_expr:type_name -> google.api.expr.v1alpha1.Expr.Comprehension
+ 17, // 9: google.api.expr.v1alpha1.Constant.null_value:type_name -> google.protobuf.NullValue
+ 18, // 10: google.api.expr.v1alpha1.Constant.duration_value:type_name -> google.protobuf.Duration
+ 19, // 11: google.api.expr.v1alpha1.Constant.timestamp_value:type_name -> google.protobuf.Timestamp
+ 14, // 12: google.api.expr.v1alpha1.SourceInfo.positions:type_name -> google.api.expr.v1alpha1.SourceInfo.PositionsEntry
+ 15, // 13: google.api.expr.v1alpha1.SourceInfo.macro_calls:type_name -> google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry
+ 13, // 14: google.api.expr.v1alpha1.SourceInfo.extensions:type_name -> google.api.expr.v1alpha1.SourceInfo.Extension
+ 2, // 15: google.api.expr.v1alpha1.Expr.Select.operand:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 16: google.api.expr.v1alpha1.Expr.Call.target:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 17: google.api.expr.v1alpha1.Expr.Call.args:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 18: google.api.expr.v1alpha1.Expr.CreateList.elements:type_name -> google.api.expr.v1alpha1.Expr
+ 12, // 19: google.api.expr.v1alpha1.Expr.CreateStruct.entries:type_name -> google.api.expr.v1alpha1.Expr.CreateStruct.Entry
+ 2, // 20: google.api.expr.v1alpha1.Expr.Comprehension.iter_range:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 21: google.api.expr.v1alpha1.Expr.Comprehension.accu_init:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 22: google.api.expr.v1alpha1.Expr.Comprehension.loop_condition:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 23: google.api.expr.v1alpha1.Expr.Comprehension.loop_step:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 24: google.api.expr.v1alpha1.Expr.Comprehension.result:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 25: google.api.expr.v1alpha1.Expr.CreateStruct.Entry.map_key:type_name -> google.api.expr.v1alpha1.Expr
+ 2, // 26: google.api.expr.v1alpha1.Expr.CreateStruct.Entry.value:type_name -> google.api.expr.v1alpha1.Expr
+ 0, // 27: google.api.expr.v1alpha1.SourceInfo.Extension.affected_components:type_name -> google.api.expr.v1alpha1.SourceInfo.Extension.Component
+ 16, // 28: google.api.expr.v1alpha1.SourceInfo.Extension.version:type_name -> google.api.expr.v1alpha1.SourceInfo.Extension.Version
+ 2, // 29: google.api.expr.v1alpha1.SourceInfo.MacroCallsEntry.value:type_name -> google.api.expr.v1alpha1.Expr
+ 30, // [30:30] is the sub-list for method output_type
+ 30, // [30:30] is the sub-list for method input_type
+ 30, // [30:30] is the sub-list for extension type_name
+ 30, // [30:30] is the sub-list for extension extendee
+ 0, // [0:30] is the sub-list for field type_name
}
func init() { file_google_api_expr_v1alpha1_syntax_proto_init() }
@@ -1674,6 +1919,30 @@ func file_google_api_expr_v1alpha1_syntax_proto_init() {
return nil
}
}
+ file_google_api_expr_v1alpha1_syntax_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SourceInfo_Extension); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_api_expr_v1alpha1_syntax_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*SourceInfo_Extension_Version); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
}
file_google_api_expr_v1alpha1_syntax_proto_msgTypes[1].OneofWrappers = []interface{}{
(*Expr_ConstExpr)(nil),
@@ -1704,13 +1973,14 @@ func file_google_api_expr_v1alpha1_syntax_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_google_api_expr_v1alpha1_syntax_proto_rawDesc,
- NumEnums: 0,
- NumMessages: 14,
+ NumEnums: 1,
+ NumMessages: 16,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_google_api_expr_v1alpha1_syntax_proto_goTypes,
DependencyIndexes: file_google_api_expr_v1alpha1_syntax_proto_depIdxs,
+ EnumInfos: file_google_api_expr_v1alpha1_syntax_proto_enumTypes,
MessageInfos: file_google_api_expr_v1alpha1_syntax_proto_msgTypes,
}.Build()
File_google_api_expr_v1alpha1_syntax_proto = out.File
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
index 91d122c5be..0a5ca6a1b9 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.5
+// protoc v4.24.4
// source: google/api/expr/v1alpha1/value.proto
package expr
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
index 3543268f84..e7d3805e36 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/api/httpbody/httpbody.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2023 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc v4.24.4
// source: google/api/httpbody.proto
package httpbody
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
index 7bd161e48a..3e56218279 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/errdetails/error_details.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc v4.24.4
// source: google/rpc/error_details.proto
package errdetails
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
index a6b5081888..6ad1b1c1df 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
-// protoc v3.21.9
+// protoc v4.24.4
// source: google/rpc/status.proto
package status
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/CONTRIBUTING.md b/cluster-api/providers/azure/vendor/google.golang.org/grpc/CONTRIBUTING.md
index 608aa6e1ac..0854d298e4 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/CONTRIBUTING.md
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/CONTRIBUTING.md
@@ -66,7 +66,7 @@ How to get your contributions merged smoothly and quickly.
- **All tests need to be passing** before your change can be merged. We
recommend you **run tests locally** before creating your PR to catch breakages
early on.
- - `VET_SKIP_PROTO=1 ./vet.sh` to catch vet errors
+ - `./scripts/vet.sh` to catch vet errors
- `go test -cpu 1,4 -timeout 7m ./...` to run the tests
- `go test -race -cpu 1,4 -timeout 7m ./...` to run tests in race mode
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/MAINTAINERS.md b/cluster-api/providers/azure/vendor/google.golang.org/grpc/MAINTAINERS.md
index c6672c0a3e..6a8a07781a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/MAINTAINERS.md
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/MAINTAINERS.md
@@ -9,6 +9,7 @@ for general contribution guidelines.
## Maintainers (in alphabetical order)
+- [atollena](https://github.com/atollena), Datadog, Inc.
- [cesarghali](https://github.com/cesarghali), Google LLC
- [dfawley](https://github.com/dfawley), Google LLC
- [easwars](https://github.com/easwars), Google LLC
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/Makefile b/cluster-api/providers/azure/vendor/google.golang.org/grpc/Makefile
index 1f8960922b..be38384ff6 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/Makefile
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/Makefile
@@ -30,17 +30,20 @@ testdeps:
GO111MODULE=on go get -d -v -t google.golang.org/grpc/...
vet: vetdeps
- ./vet.sh
+ ./scripts/vet.sh
vetdeps:
- ./vet.sh -install
+ ./scripts/vet.sh -install
.PHONY: \
all \
build \
clean \
+ deps \
proto \
test \
+ testsubmodule \
testrace \
+ testdeps \
vet \
vetdeps
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer/balancer.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer/balancer.go
index d79560a2e2..f391744f72 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer/balancer.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer/balancer.go
@@ -54,13 +54,14 @@ var (
// an init() function), and is not thread-safe. If multiple Balancers are
// registered with the same name, the one registered last will take effect.
func Register(b Builder) {
- if strings.ToLower(b.Name()) != b.Name() {
+ name := strings.ToLower(b.Name())
+ if name != b.Name() {
// TODO: Skip the use of strings.ToLower() to index the map after v1.59
// is released to switch to case sensitive balancer registry. Also,
// remove this warning and update the docstrings for Register and Get.
logger.Warningf("Balancer registered with name %q. grpc-go will be switching to case sensitive balancer registries soon", b.Name())
}
- m[strings.ToLower(b.Name())] = b
+ m[name] = b
}
// unregisterForTesting deletes the balancer with the given name from the
@@ -232,8 +233,8 @@ type BuildOptions struct {
// implementations which do not communicate with a remote load balancer
// server can ignore this field.
Authority string
- // ChannelzParentID is the parent ClientConn's channelz ID.
- ChannelzParentID *channelz.Identifier
+ // ChannelzParent is the parent ClientConn's channelz channel.
+ ChannelzParent channelz.Identifier
// CustomUserAgent is the custom user agent set on the parent ClientConn.
// The balancer should set the same custom user agent if it creates a
// ClientConn.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer_wrapper.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer_wrapper.go
index b5e30cff02..af39b8a4c7 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer_wrapper.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/balancer_wrapper.go
@@ -21,7 +21,6 @@ package grpc
import (
"context"
"fmt"
- "strings"
"sync"
"google.golang.org/grpc/balancer"
@@ -66,19 +65,20 @@ type ccBalancerWrapper struct {
}
// newCCBalancerWrapper creates a new balancer wrapper in idle state. The
-// underlying balancer is not created until the switchTo() method is invoked.
+// underlying balancer is not created until the updateClientConnState() method
+// is invoked.
func newCCBalancerWrapper(cc *ClientConn) *ccBalancerWrapper {
ctx, cancel := context.WithCancel(cc.ctx)
ccb := &ccBalancerWrapper{
cc: cc,
opts: balancer.BuildOptions{
- DialCreds: cc.dopts.copts.TransportCredentials,
- CredsBundle: cc.dopts.copts.CredsBundle,
- Dialer: cc.dopts.copts.Dialer,
- Authority: cc.authority,
- CustomUserAgent: cc.dopts.copts.UserAgent,
- ChannelzParentID: cc.channelzID,
- Target: cc.parsedTarget,
+ DialCreds: cc.dopts.copts.TransportCredentials,
+ CredsBundle: cc.dopts.copts.CredsBundle,
+ Dialer: cc.dopts.copts.Dialer,
+ Authority: cc.authority,
+ CustomUserAgent: cc.dopts.copts.UserAgent,
+ ChannelzParent: cc.channelz,
+ Target: cc.parsedTarget,
},
serializer: grpcsync.NewCallbackSerializer(ctx),
serializerCancel: cancel,
@@ -97,6 +97,11 @@ func (ccb *ccBalancerWrapper) updateClientConnState(ccs *balancer.ClientConnStat
if ctx.Err() != nil || ccb.balancer == nil {
return
}
+ name := gracefulswitch.ChildName(ccs.BalancerConfig)
+ if ccb.curBalancerName != name {
+ ccb.curBalancerName = name
+ channelz.Infof(logger, ccb.cc.channelz, "Channel switches to new LB policy %q", name)
+ }
err := ccb.balancer.UpdateClientConnState(*ccs)
if logger.V(2) && err != nil {
logger.Infof("error from balancer.UpdateClientConnState: %v", err)
@@ -120,54 +125,6 @@ func (ccb *ccBalancerWrapper) resolverError(err error) {
})
}
-// switchTo is invoked by grpc to instruct the balancer wrapper to switch to the
-// LB policy identified by name.
-//
-// ClientConn calls newCCBalancerWrapper() at creation time. Upon receipt of the
-// first good update from the name resolver, it determines the LB policy to use
-// and invokes the switchTo() method. Upon receipt of every subsequent update
-// from the name resolver, it invokes this method.
-//
-// the ccBalancerWrapper keeps track of the current LB policy name, and skips
-// the graceful balancer switching process if the name does not change.
-func (ccb *ccBalancerWrapper) switchTo(name string) {
- ccb.serializer.Schedule(func(ctx context.Context) {
- if ctx.Err() != nil || ccb.balancer == nil {
- return
- }
- // TODO: Other languages use case-sensitive balancer registries. We should
- // switch as well. See: https://github.com/grpc/grpc-go/issues/5288.
- if strings.EqualFold(ccb.curBalancerName, name) {
- return
- }
- ccb.buildLoadBalancingPolicy(name)
- })
-}
-
-// buildLoadBalancingPolicy performs the following:
-// - retrieve a balancer builder for the given name. Use the default LB
-// policy, pick_first, if no LB policy with name is found in the registry.
-// - instruct the gracefulswitch balancer to switch to the above builder. This
-// will actually build the new balancer.
-// - update the `curBalancerName` field
-//
-// Must be called from a serializer callback.
-func (ccb *ccBalancerWrapper) buildLoadBalancingPolicy(name string) {
- builder := balancer.Get(name)
- if builder == nil {
- channelz.Warningf(logger, ccb.cc.channelzID, "Channel switches to new LB policy %q, since the specified LB policy %q was not registered", PickFirstBalancerName, name)
- builder = newPickfirstBuilder()
- } else {
- channelz.Infof(logger, ccb.cc.channelzID, "Channel switches to new LB policy %q", name)
- }
-
- if err := ccb.balancer.SwitchTo(builder); err != nil {
- channelz.Errorf(logger, ccb.cc.channelzID, "Channel failed to build new LB policy %q: %v", name, err)
- return
- }
- ccb.curBalancerName = builder.Name()
-}
-
// close initiates async shutdown of the wrapper. cc.mu must be held when
// calling this function. To determine the wrapper has finished shutting down,
// the channel should block on ccb.serializer.Done() without cc.mu held.
@@ -175,7 +132,7 @@ func (ccb *ccBalancerWrapper) close() {
ccb.mu.Lock()
ccb.closed = true
ccb.mu.Unlock()
- channelz.Info(logger, ccb.cc.channelzID, "ccBalancerWrapper: closing")
+ channelz.Info(logger, ccb.cc.channelz, "ccBalancerWrapper: closing")
ccb.serializer.Schedule(func(context.Context) {
if ccb.balancer == nil {
return
@@ -212,7 +169,7 @@ func (ccb *ccBalancerWrapper) NewSubConn(addrs []resolver.Address, opts balancer
}
ac, err := ccb.cc.newAddrConnLocked(addrs, opts)
if err != nil {
- channelz.Warningf(logger, ccb.cc.channelzID, "acBalancerWrapper: NewSubConn: failed to newAddrConn: %v", err)
+ channelz.Warningf(logger, ccb.cc.channelz, "acBalancerWrapper: NewSubConn: failed to newAddrConn: %v", err)
return nil, err
}
acbw := &acBalancerWrapper{
@@ -304,7 +261,7 @@ func (acbw *acBalancerWrapper) updateState(s connectivity.State, err error) {
}
func (acbw *acBalancerWrapper) String() string {
- return fmt.Sprintf("SubConn(id:%d)", acbw.ac.channelzID.Int())
+ return fmt.Sprintf("SubConn(id:%d)", acbw.ac.channelz.ID)
}
func (acbw *acBalancerWrapper) UpdateAddresses(addrs []resolver.Address) {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go
index e9e97d4511..1afb1e84ac 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/binarylog/grpc_binarylog_v1/binarylog.pb.go
@@ -18,8 +18,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.31.0
-// protoc v4.22.0
+// protoc-gen-go v1.33.0
+// protoc v4.25.2
// source: grpc/binlog/v1/binarylog.proto
package grpc_binarylog_v1
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/clientconn.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/clientconn.go
index f6e815e6bf..2359f94b8a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/clientconn.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/clientconn.go
@@ -37,7 +37,6 @@ import (
"google.golang.org/grpc/internal/channelz"
"google.golang.org/grpc/internal/grpcsync"
"google.golang.org/grpc/internal/idle"
- "google.golang.org/grpc/internal/pretty"
iresolver "google.golang.org/grpc/internal/resolver"
"google.golang.org/grpc/internal/transport"
"google.golang.org/grpc/keepalive"
@@ -67,7 +66,7 @@ var (
errConnDrain = errors.New("grpc: the connection is drained")
// errConnClosing indicates that the connection is closing.
errConnClosing = errors.New("grpc: the connection is closing")
- // errConnIdling indicates the the connection is being closed as the channel
+ // errConnIdling indicates the connection is being closed as the channel
// is moving to an idle mode due to inactivity.
errConnIdling = errors.New("grpc: the connection is closing due to channel idleness")
// invalidDefaultServiceConfigErrPrefix is used to prefix the json parsing error for the default
@@ -101,11 +100,6 @@ const (
defaultReadBufSize = 32 * 1024
)
-// Dial creates a client connection to the given target.
-func Dial(target string, opts ...DialOption) (*ClientConn, error) {
- return DialContext(context.Background(), target, opts...)
-}
-
type defaultConfigSelector struct {
sc *ServiceConfig
}
@@ -117,13 +111,23 @@ func (dcs *defaultConfigSelector) SelectConfig(rpcInfo iresolver.RPCInfo) (*ires
}, nil
}
-// newClient returns a new client in idle mode.
-func newClient(target string, opts ...DialOption) (conn *ClientConn, err error) {
+// NewClient creates a new gRPC "channel" for the target URI provided. No I/O
+// is performed. Use of the ClientConn for RPCs will automatically cause it to
+// connect. Connect may be used to manually create a connection, but for most
+// users this is unnecessary.
+//
+// The target name syntax is defined in
+// https://github.com/grpc/grpc/blob/master/doc/naming.md. e.g. to use dns
+// resolver, a "dns:///" prefix should be applied to the target.
+//
+// The DialOptions returned by WithBlock, WithTimeout,
+// WithReturnConnectionError, and FailOnNonTempDialError are ignored by this
+// function.
+func NewClient(target string, opts ...DialOption) (conn *ClientConn, err error) {
cc := &ClientConn{
target: target,
conns: make(map[*addrConn]struct{}),
dopts: defaultDialOptions(),
- czData: new(channelzData),
}
cc.retryThrottler.Store((*retryThrottler)(nil))
@@ -175,15 +179,15 @@ func newClient(target string, opts ...DialOption) (conn *ClientConn, err error)
// Determine the resolver to use.
if err := cc.parseTargetAndFindResolver(); err != nil {
- channelz.RemoveEntry(cc.channelzID)
+ channelz.RemoveEntry(cc.channelz.ID)
return nil, err
}
if err = cc.determineAuthority(); err != nil {
- channelz.RemoveEntry(cc.channelzID)
+ channelz.RemoveEntry(cc.channelz.ID)
return nil, err
}
- cc.csMgr = newConnectivityStateManager(cc.ctx, cc.channelzID)
+ cc.csMgr = newConnectivityStateManager(cc.ctx, cc.channelz)
cc.pickerWrapper = newPickerWrapper(cc.dopts.copts.StatsHandlers)
cc.initIdleStateLocked() // Safe to call without the lock, since nothing else has a reference to cc.
@@ -191,39 +195,36 @@ func newClient(target string, opts ...DialOption) (conn *ClientConn, err error)
return cc, nil
}
-// DialContext creates a client connection to the given target. By default, it's
-// a non-blocking dial (the function won't wait for connections to be
-// established, and connecting happens in the background). To make it a blocking
-// dial, use WithBlock() dial option.
+// Dial calls DialContext(context.Background(), target, opts...).
//
-// In the non-blocking case, the ctx does not act against the connection. It
-// only controls the setup steps.
+// Deprecated: use NewClient instead. Will be supported throughout 1.x.
+func Dial(target string, opts ...DialOption) (*ClientConn, error) {
+ return DialContext(context.Background(), target, opts...)
+}
+
+// DialContext calls NewClient and then exits idle mode. If WithBlock(true) is
+// used, it calls Connect and WaitForStateChange until either the context
+// expires or the state of the ClientConn is Ready.
//
-// In the blocking case, ctx can be used to cancel or expire the pending
-// connection. Once this function returns, the cancellation and expiration of
-// ctx will be noop. Users should call ClientConn.Close to terminate all the
-// pending operations after this function returns.
+// One subtle difference between NewClient and Dial and DialContext is that the
+// former uses "dns" as the default name resolver, while the latter use
+// "passthrough" for backward compatibility. This distinction should not matter
+// to most users, but could matter to legacy users that specify a custom dialer
+// and expect it to receive the target string directly.
//
-// The target name syntax is defined in
-// https://github.com/grpc/grpc/blob/master/doc/naming.md.
-// e.g. to use dns resolver, a "dns:///" prefix should be applied to the target.
+// Deprecated: use NewClient instead. Will be supported throughout 1.x.
func DialContext(ctx context.Context, target string, opts ...DialOption) (conn *ClientConn, err error) {
- cc, err := newClient(target, opts...)
+ // At the end of this method, we kick the channel out of idle, rather than
+ // waiting for the first rpc.
+ opts = append([]DialOption{withDefaultScheme("passthrough")}, opts...)
+ cc, err := NewClient(target, opts...)
if err != nil {
return nil, err
}
// We start the channel off in idle mode, but kick it out of idle now,
- // instead of waiting for the first RPC. Other gRPC implementations do wait
- // for the first RPC to kick the channel out of idle. But doing so would be
- // a major behavior change for our users who are used to seeing the channel
- // active after Dial.
- //
- // Taking this approach of kicking it out of idle at the end of this method
- // allows us to share the code between channel creation and exiting idle
- // mode. This will also make it easy for us to switch to starting the
- // channel off in idle, i.e. by making newClient exported.
-
+ // instead of waiting for the first RPC. This is the legacy behavior of
+ // Dial.
defer func() {
if err != nil {
cc.Close()
@@ -291,17 +292,17 @@ func DialContext(ctx context.Context, target string, opts ...DialOption) (conn *
// addTraceEvent is a helper method to add a trace event on the channel. If the
// channel is a nested one, the same event is also added on the parent channel.
func (cc *ClientConn) addTraceEvent(msg string) {
- ted := &channelz.TraceEventDesc{
+ ted := &channelz.TraceEvent{
Desc: fmt.Sprintf("Channel %s", msg),
Severity: channelz.CtInfo,
}
- if cc.dopts.channelzParentID != nil {
- ted.Parent = &channelz.TraceEventDesc{
- Desc: fmt.Sprintf("Nested channel(id:%d) %s", cc.channelzID.Int(), msg),
+ if cc.dopts.channelzParent != nil {
+ ted.Parent = &channelz.TraceEvent{
+ Desc: fmt.Sprintf("Nested channel(id:%d) %s", cc.channelz.ID, msg),
Severity: channelz.CtInfo,
}
}
- channelz.AddTraceEvent(logger, cc.channelzID, 0, ted)
+ channelz.AddTraceEvent(logger, cc.channelz, 0, ted)
}
type idler ClientConn
@@ -418,14 +419,15 @@ func (cc *ClientConn) validateTransportCredentials() error {
}
// channelzRegistration registers the newly created ClientConn with channelz and
-// stores the returned identifier in `cc.channelzID` and `cc.csMgr.channelzID`.
-// A channelz trace event is emitted for ClientConn creation. If the newly
-// created ClientConn is a nested one, i.e a valid parent ClientConn ID is
-// specified via a dial option, the trace event is also added to the parent.
+// stores the returned identifier in `cc.channelz`. A channelz trace event is
+// emitted for ClientConn creation. If the newly created ClientConn is a nested
+// one, i.e a valid parent ClientConn ID is specified via a dial option, the
+// trace event is also added to the parent.
//
// Doesn't grab cc.mu as this method is expected to be called only at Dial time.
func (cc *ClientConn) channelzRegistration(target string) {
- cc.channelzID = channelz.RegisterChannel(&channelzChannel{cc}, cc.dopts.channelzParentID, target)
+ parentChannel, _ := cc.dopts.channelzParent.(*channelz.Channel)
+ cc.channelz = channelz.RegisterChannel(parentChannel, target)
cc.addTraceEvent("created")
}
@@ -492,11 +494,11 @@ func getChainStreamer(interceptors []StreamClientInterceptor, curr int, finalStr
}
// newConnectivityStateManager creates an connectivityStateManager with
-// the specified id.
-func newConnectivityStateManager(ctx context.Context, id *channelz.Identifier) *connectivityStateManager {
+// the specified channel.
+func newConnectivityStateManager(ctx context.Context, channel *channelz.Channel) *connectivityStateManager {
return &connectivityStateManager{
- channelzID: id,
- pubSub: grpcsync.NewPubSub(ctx),
+ channelz: channel,
+ pubSub: grpcsync.NewPubSub(ctx),
}
}
@@ -510,7 +512,7 @@ type connectivityStateManager struct {
mu sync.Mutex
state connectivity.State
notifyChan chan struct{}
- channelzID *channelz.Identifier
+ channelz *channelz.Channel
pubSub *grpcsync.PubSub
}
@@ -527,9 +529,10 @@ func (csm *connectivityStateManager) updateState(state connectivity.State) {
return
}
csm.state = state
+ csm.channelz.ChannelMetrics.State.Store(&state)
csm.pubSub.Publish(state)
- channelz.Infof(logger, csm.channelzID, "Channel Connectivity change to %v", state)
+ channelz.Infof(logger, csm.channelz, "Channel Connectivity change to %v", state)
if csm.notifyChan != nil {
// There are other goroutines waiting on this channel.
close(csm.notifyChan)
@@ -583,12 +586,12 @@ type ClientConn struct {
cancel context.CancelFunc // Cancelled on close.
// The following are initialized at dial time, and are read-only after that.
- target string // User's dial target.
- parsedTarget resolver.Target // See parseTargetAndFindResolver().
- authority string // See determineAuthority().
- dopts dialOptions // Default and user specified dial options.
- channelzID *channelz.Identifier // Channelz identifier for the channel.
- resolverBuilder resolver.Builder // See parseTargetAndFindResolver().
+ target string // User's dial target.
+ parsedTarget resolver.Target // See parseTargetAndFindResolver().
+ authority string // See determineAuthority().
+ dopts dialOptions // Default and user specified dial options.
+ channelz *channelz.Channel // Channelz object.
+ resolverBuilder resolver.Builder // See parseTargetAndFindResolver().
idlenessMgr *idle.Manager
// The following provide their own synchronization, and therefore don't
@@ -596,7 +599,6 @@ type ClientConn struct {
csMgr *connectivityStateManager
pickerWrapper *pickerWrapper
safeConfigSelector iresolver.SafeConfigSelector
- czData *channelzData
retryThrottler atomic.Value // Updated from service config.
// mu protects the following fields.
@@ -690,6 +692,7 @@ func (cc *ClientConn) waitForResolvedAddrs(ctx context.Context) error {
var emptyServiceConfig *ServiceConfig
func init() {
+ balancer.Register(pickfirstBuilder{})
cfg := parseServiceConfig("{}")
if cfg.Err != nil {
panic(fmt.Sprintf("impossible error parsing empty service config: %v", cfg.Err))
@@ -707,15 +710,15 @@ func init() {
}
}
-func (cc *ClientConn) maybeApplyDefaultServiceConfig(addrs []resolver.Address) {
+func (cc *ClientConn) maybeApplyDefaultServiceConfig() {
if cc.sc != nil {
- cc.applyServiceConfigAndBalancer(cc.sc, nil, addrs)
+ cc.applyServiceConfigAndBalancer(cc.sc, nil)
return
}
if cc.dopts.defaultServiceConfig != nil {
- cc.applyServiceConfigAndBalancer(cc.dopts.defaultServiceConfig, &defaultConfigSelector{cc.dopts.defaultServiceConfig}, addrs)
+ cc.applyServiceConfigAndBalancer(cc.dopts.defaultServiceConfig, &defaultConfigSelector{cc.dopts.defaultServiceConfig})
} else {
- cc.applyServiceConfigAndBalancer(emptyServiceConfig, &defaultConfigSelector{emptyServiceConfig}, addrs)
+ cc.applyServiceConfigAndBalancer(emptyServiceConfig, &defaultConfigSelector{emptyServiceConfig})
}
}
@@ -733,7 +736,7 @@ func (cc *ClientConn) updateResolverStateAndUnlock(s resolver.State, err error)
// May need to apply the initial service config in case the resolver
// doesn't support service configs, or doesn't provide a service config
// with the new addresses.
- cc.maybeApplyDefaultServiceConfig(nil)
+ cc.maybeApplyDefaultServiceConfig()
cc.balancerWrapper.resolverError(err)
@@ -744,10 +747,10 @@ func (cc *ClientConn) updateResolverStateAndUnlock(s resolver.State, err error)
var ret error
if cc.dopts.disableServiceConfig {
- channelz.Infof(logger, cc.channelzID, "ignoring service config from resolver (%v) and applying the default because service config is disabled", s.ServiceConfig)
- cc.maybeApplyDefaultServiceConfig(s.Addresses)
+ channelz.Infof(logger, cc.channelz, "ignoring service config from resolver (%v) and applying the default because service config is disabled", s.ServiceConfig)
+ cc.maybeApplyDefaultServiceConfig()
} else if s.ServiceConfig == nil {
- cc.maybeApplyDefaultServiceConfig(s.Addresses)
+ cc.maybeApplyDefaultServiceConfig()
// TODO: do we need to apply a failing LB policy if there is no
// default, per the error handling design?
} else {
@@ -755,12 +758,12 @@ func (cc *ClientConn) updateResolverStateAndUnlock(s resolver.State, err error)
configSelector := iresolver.GetConfigSelector(s)
if configSelector != nil {
if len(s.ServiceConfig.Config.(*ServiceConfig).Methods) != 0 {
- channelz.Infof(logger, cc.channelzID, "method configs in service config will be ignored due to presence of config selector")
+ channelz.Infof(logger, cc.channelz, "method configs in service config will be ignored due to presence of config selector")
}
} else {
configSelector = &defaultConfigSelector{sc}
}
- cc.applyServiceConfigAndBalancer(sc, configSelector, s.Addresses)
+ cc.applyServiceConfigAndBalancer(sc, configSelector)
} else {
ret = balancer.ErrBadResolverState
if cc.sc == nil {
@@ -775,7 +778,7 @@ func (cc *ClientConn) updateResolverStateAndUnlock(s resolver.State, err error)
var balCfg serviceconfig.LoadBalancingConfig
if cc.sc != nil && cc.sc.lbConfig != nil {
- balCfg = cc.sc.lbConfig.cfg
+ balCfg = cc.sc.lbConfig
}
bw := cc.balancerWrapper
cc.mu.Unlock()
@@ -834,22 +837,20 @@ func (cc *ClientConn) newAddrConnLocked(addrs []resolver.Address, opts balancer.
addrs: copyAddressesWithoutBalancerAttributes(addrs),
scopts: opts,
dopts: cc.dopts,
- czData: new(channelzData),
+ channelz: channelz.RegisterSubChannel(cc.channelz, ""),
resetBackoff: make(chan struct{}),
stateChan: make(chan struct{}),
}
ac.ctx, ac.cancel = context.WithCancel(cc.ctx)
+ // Start with our address set to the first address; this may be updated if
+ // we connect to different addresses.
+ ac.channelz.ChannelMetrics.Target.Store(&addrs[0].Addr)
- var err error
- ac.channelzID, err = channelz.RegisterSubChannel(ac, cc.channelzID, "")
- if err != nil {
- return nil, err
- }
- channelz.AddTraceEvent(logger, ac.channelzID, 0, &channelz.TraceEventDesc{
+ channelz.AddTraceEvent(logger, ac.channelz, 0, &channelz.TraceEvent{
Desc: "Subchannel created",
Severity: channelz.CtInfo,
- Parent: &channelz.TraceEventDesc{
- Desc: fmt.Sprintf("Subchannel(id:%d) created", ac.channelzID.Int()),
+ Parent: &channelz.TraceEvent{
+ Desc: fmt.Sprintf("Subchannel(id:%d) created", ac.channelz.ID),
Severity: channelz.CtInfo,
},
})
@@ -872,38 +873,27 @@ func (cc *ClientConn) removeAddrConn(ac *addrConn, err error) {
ac.tearDown(err)
}
-func (cc *ClientConn) channelzMetric() *channelz.ChannelInternalMetric {
- return &channelz.ChannelInternalMetric{
- State: cc.GetState(),
- Target: cc.target,
- CallsStarted: atomic.LoadInt64(&cc.czData.callsStarted),
- CallsSucceeded: atomic.LoadInt64(&cc.czData.callsSucceeded),
- CallsFailed: atomic.LoadInt64(&cc.czData.callsFailed),
- LastCallStartedTimestamp: time.Unix(0, atomic.LoadInt64(&cc.czData.lastCallStartedTime)),
- }
-}
-
// Target returns the target string of the ClientConn.
-//
-// # Experimental
-//
-// Notice: This API is EXPERIMENTAL and may be changed or removed in a
-// later release.
func (cc *ClientConn) Target() string {
return cc.target
}
+// CanonicalTarget returns the canonical target string of the ClientConn.
+func (cc *ClientConn) CanonicalTarget() string {
+ return cc.parsedTarget.String()
+}
+
func (cc *ClientConn) incrCallsStarted() {
- atomic.AddInt64(&cc.czData.callsStarted, 1)
- atomic.StoreInt64(&cc.czData.lastCallStartedTime, time.Now().UnixNano())
+ cc.channelz.ChannelMetrics.CallsStarted.Add(1)
+ cc.channelz.ChannelMetrics.LastCallStartedTimestamp.Store(time.Now().UnixNano())
}
func (cc *ClientConn) incrCallsSucceeded() {
- atomic.AddInt64(&cc.czData.callsSucceeded, 1)
+ cc.channelz.ChannelMetrics.CallsSucceeded.Add(1)
}
func (cc *ClientConn) incrCallsFailed() {
- atomic.AddInt64(&cc.czData.callsFailed, 1)
+ cc.channelz.ChannelMetrics.CallsFailed.Add(1)
}
// connect starts creating a transport.
@@ -946,10 +936,14 @@ func equalAddresses(a, b []resolver.Address) bool {
// updateAddrs updates ac.addrs with the new addresses list and handles active
// connections or connection attempts.
func (ac *addrConn) updateAddrs(addrs []resolver.Address) {
- ac.mu.Lock()
- channelz.Infof(logger, ac.channelzID, "addrConn: updateAddrs curAddr: %v, addrs: %v", pretty.ToJSON(ac.curAddr), pretty.ToJSON(addrs))
-
addrs = copyAddressesWithoutBalancerAttributes(addrs)
+ limit := len(addrs)
+ if limit > 5 {
+ limit = 5
+ }
+ channelz.Infof(logger, ac.channelz, "addrConn: updateAddrs addrs (%d of %d): %v", limit, len(addrs), addrs[:limit])
+
+ ac.mu.Lock()
if equalAddresses(ac.addrs, addrs) {
ac.mu.Unlock()
return
@@ -1067,7 +1061,7 @@ func (cc *ClientConn) getTransport(ctx context.Context, failfast bool, method st
})
}
-func (cc *ClientConn) applyServiceConfigAndBalancer(sc *ServiceConfig, configSelector iresolver.ConfigSelector, addrs []resolver.Address) {
+func (cc *ClientConn) applyServiceConfigAndBalancer(sc *ServiceConfig, configSelector iresolver.ConfigSelector) {
if sc == nil {
// should never reach here.
return
@@ -1088,17 +1082,6 @@ func (cc *ClientConn) applyServiceConfigAndBalancer(sc *ServiceConfig, configSel
} else {
cc.retryThrottler.Store((*retryThrottler)(nil))
}
-
- var newBalancerName string
- if cc.sc == nil || (cc.sc.lbConfig == nil && cc.sc.LB == nil) {
- // No service config or no LB policy specified in config.
- newBalancerName = PickFirstBalancerName
- } else if cc.sc.lbConfig != nil {
- newBalancerName = cc.sc.lbConfig.name
- } else { // cc.sc.LB != nil
- newBalancerName = *cc.sc.LB
- }
- cc.balancerWrapper.switchTo(newBalancerName)
}
func (cc *ClientConn) resolveNow(o resolver.ResolveNowOptions) {
@@ -1174,7 +1157,7 @@ func (cc *ClientConn) Close() error {
// TraceEvent needs to be called before RemoveEntry, as TraceEvent may add
// trace reference to the entity being deleted, and thus prevent it from being
// deleted right away.
- channelz.RemoveEntry(cc.channelzID)
+ channelz.RemoveEntry(cc.channelz.ID)
return nil
}
@@ -1195,6 +1178,10 @@ type addrConn struct {
// is received, transport is closed, ac has been torn down).
transport transport.ClientTransport // The current transport.
+ // This mutex is used on the RPC path, so its usage should be minimized as
+ // much as possible.
+ // TODO: Find a lock-free way to retrieve the transport and state from the
+ // addrConn.
mu sync.Mutex
curAddr resolver.Address // The current address.
addrs []resolver.Address // All addresses that the resolver resolved to.
@@ -1206,8 +1193,7 @@ type addrConn struct {
backoffIdx int // Needs to be stateful for resetConnectBackoff.
resetBackoff chan struct{}
- channelzID *channelz.Identifier
- czData *channelzData
+ channelz *channelz.SubChannel
}
// Note: this requires a lock on ac.mu.
@@ -1219,10 +1205,11 @@ func (ac *addrConn) updateConnectivityState(s connectivity.State, lastErr error)
close(ac.stateChan)
ac.stateChan = make(chan struct{})
ac.state = s
+ ac.channelz.ChannelMetrics.State.Store(&s)
if lastErr == nil {
- channelz.Infof(logger, ac.channelzID, "Subchannel Connectivity change to %v", s)
+ channelz.Infof(logger, ac.channelz, "Subchannel Connectivity change to %v", s)
} else {
- channelz.Infof(logger, ac.channelzID, "Subchannel Connectivity change to %v, last error: %s", s, lastErr)
+ channelz.Infof(logger, ac.channelz, "Subchannel Connectivity change to %v, last error: %s", s, lastErr)
}
ac.acbw.updateState(s, lastErr)
}
@@ -1320,6 +1307,7 @@ func (ac *addrConn) resetTransport() {
func (ac *addrConn) tryAllAddrs(ctx context.Context, addrs []resolver.Address, connectDeadline time.Time) error {
var firstConnErr error
for _, addr := range addrs {
+ ac.channelz.ChannelMetrics.Target.Store(&addr.Addr)
if ctx.Err() != nil {
return errConnClosing
}
@@ -1335,7 +1323,7 @@ func (ac *addrConn) tryAllAddrs(ctx context.Context, addrs []resolver.Address, c
}
ac.mu.Unlock()
- channelz.Infof(logger, ac.channelzID, "Subchannel picks a new address %q to connect", addr.Addr)
+ channelz.Infof(logger, ac.channelz, "Subchannel picks a new address %q to connect", addr.Addr)
err := ac.createTransport(ctx, addr, copts, connectDeadline)
if err == nil {
@@ -1388,7 +1376,7 @@ func (ac *addrConn) createTransport(ctx context.Context, addr resolver.Address,
connectCtx, cancel := context.WithDeadline(ctx, connectDeadline)
defer cancel()
- copts.ChannelzParentID = ac.channelzID
+ copts.ChannelzParent = ac.channelz
newTr, err := transport.NewClientTransport(connectCtx, ac.cc.ctx, addr, copts, onClose)
if err != nil {
@@ -1397,7 +1385,7 @@ func (ac *addrConn) createTransport(ctx context.Context, addr resolver.Address,
}
// newTr is either nil, or closed.
hcancel()
- channelz.Warningf(logger, ac.channelzID, "grpc: addrConn.createTransport failed to connect to %s. Err: %v", addr, err)
+ channelz.Warningf(logger, ac.channelz, "grpc: addrConn.createTransport failed to connect to %s. Err: %v", addr, err)
return err
}
@@ -1469,7 +1457,7 @@ func (ac *addrConn) startHealthCheck(ctx context.Context) {
// The health package is not imported to set health check function.
//
// TODO: add a link to the health check doc in the error message.
- channelz.Error(logger, ac.channelzID, "Health check is requested but health check function is not set.")
+ channelz.Error(logger, ac.channelz, "Health check is requested but health check function is not set.")
return
}
@@ -1499,9 +1487,9 @@ func (ac *addrConn) startHealthCheck(ctx context.Context) {
err := ac.cc.dopts.healthCheckFunc(ctx, newStream, setConnectivityState, healthCheckConfig.ServiceName)
if err != nil {
if status.Code(err) == codes.Unimplemented {
- channelz.Error(logger, ac.channelzID, "Subchannel health check is unimplemented at server side, thus health check is disabled")
+ channelz.Error(logger, ac.channelz, "Subchannel health check is unimplemented at server side, thus health check is disabled")
} else {
- channelz.Errorf(logger, ac.channelzID, "Health checking failed: %v", err)
+ channelz.Errorf(logger, ac.channelz, "Health checking failed: %v", err)
}
}
}()
@@ -1566,18 +1554,18 @@ func (ac *addrConn) tearDown(err error) {
ac.cancel()
ac.curAddr = resolver.Address{}
- channelz.AddTraceEvent(logger, ac.channelzID, 0, &channelz.TraceEventDesc{
+ channelz.AddTraceEvent(logger, ac.channelz, 0, &channelz.TraceEvent{
Desc: "Subchannel deleted",
Severity: channelz.CtInfo,
- Parent: &channelz.TraceEventDesc{
- Desc: fmt.Sprintf("Subchannel(id:%d) deleted", ac.channelzID.Int()),
+ Parent: &channelz.TraceEvent{
+ Desc: fmt.Sprintf("Subchannel(id:%d) deleted", ac.channelz.ID),
Severity: channelz.CtInfo,
},
})
// TraceEvent needs to be called before RemoveEntry, as TraceEvent may add
// trace reference to the entity being deleted, and thus prevent it from
// being deleted right away.
- channelz.RemoveEntry(ac.channelzID)
+ channelz.RemoveEntry(ac.channelz.ID)
ac.mu.Unlock()
// We have to release the lock before the call to GracefulClose/Close here
@@ -1604,39 +1592,6 @@ func (ac *addrConn) tearDown(err error) {
}
}
-func (ac *addrConn) getState() connectivity.State {
- ac.mu.Lock()
- defer ac.mu.Unlock()
- return ac.state
-}
-
-func (ac *addrConn) ChannelzMetric() *channelz.ChannelInternalMetric {
- ac.mu.Lock()
- addr := ac.curAddr.Addr
- ac.mu.Unlock()
- return &channelz.ChannelInternalMetric{
- State: ac.getState(),
- Target: addr,
- CallsStarted: atomic.LoadInt64(&ac.czData.callsStarted),
- CallsSucceeded: atomic.LoadInt64(&ac.czData.callsSucceeded),
- CallsFailed: atomic.LoadInt64(&ac.czData.callsFailed),
- LastCallStartedTimestamp: time.Unix(0, atomic.LoadInt64(&ac.czData.lastCallStartedTime)),
- }
-}
-
-func (ac *addrConn) incrCallsStarted() {
- atomic.AddInt64(&ac.czData.callsStarted, 1)
- atomic.StoreInt64(&ac.czData.lastCallStartedTime, time.Now().UnixNano())
-}
-
-func (ac *addrConn) incrCallsSucceeded() {
- atomic.AddInt64(&ac.czData.callsSucceeded, 1)
-}
-
-func (ac *addrConn) incrCallsFailed() {
- atomic.AddInt64(&ac.czData.callsFailed, 1)
-}
-
type retryThrottler struct {
max float64
thresh float64
@@ -1674,12 +1629,17 @@ func (rt *retryThrottler) successfulRPC() {
}
}
-type channelzChannel struct {
- cc *ClientConn
+func (ac *addrConn) incrCallsStarted() {
+ ac.channelz.ChannelMetrics.CallsStarted.Add(1)
+ ac.channelz.ChannelMetrics.LastCallStartedTimestamp.Store(time.Now().UnixNano())
}
-func (c *channelzChannel) ChannelzMetric() *channelz.ChannelInternalMetric {
- return c.cc.channelzMetric()
+func (ac *addrConn) incrCallsSucceeded() {
+ ac.channelz.ChannelMetrics.CallsSucceeded.Add(1)
+}
+
+func (ac *addrConn) incrCallsFailed() {
+ ac.channelz.ChannelMetrics.CallsFailed.Add(1)
}
// ErrClientConnTimeout indicates that the ClientConn cannot establish the
@@ -1721,14 +1681,14 @@ func (cc *ClientConn) connectionError() error {
//
// Doesn't grab cc.mu as this method is expected to be called only at Dial time.
func (cc *ClientConn) parseTargetAndFindResolver() error {
- channelz.Infof(logger, cc.channelzID, "original dial target is: %q", cc.target)
+ channelz.Infof(logger, cc.channelz, "original dial target is: %q", cc.target)
var rb resolver.Builder
parsedTarget, err := parseTarget(cc.target)
if err != nil {
- channelz.Infof(logger, cc.channelzID, "dial target %q parse failed: %v", cc.target, err)
+ channelz.Infof(logger, cc.channelz, "dial target %q parse failed: %v", cc.target, err)
} else {
- channelz.Infof(logger, cc.channelzID, "parsed dial target is: %#v", parsedTarget)
+ channelz.Infof(logger, cc.channelz, "parsed dial target is: %#v", parsedTarget)
rb = cc.getResolver(parsedTarget.URL.Scheme)
if rb != nil {
cc.parsedTarget = parsedTarget
@@ -1740,17 +1700,22 @@ func (cc *ClientConn) parseTargetAndFindResolver() error {
// We are here because the user's dial target did not contain a scheme or
// specified an unregistered scheme. We should fallback to the default
// scheme, except when a custom dialer is specified in which case, we should
- // always use passthrough scheme.
- defScheme := resolver.GetDefaultScheme()
- channelz.Infof(logger, cc.channelzID, "fallback to scheme %q", defScheme)
+ // always use passthrough scheme. For either case, we need to respect any overridden
+ // global defaults set by the user.
+ defScheme := cc.dopts.defaultScheme
+ if internal.UserSetDefaultScheme {
+ defScheme = resolver.GetDefaultScheme()
+ }
+
+ channelz.Infof(logger, cc.channelz, "fallback to scheme %q", defScheme)
canonicalTarget := defScheme + ":///" + cc.target
parsedTarget, err = parseTarget(canonicalTarget)
if err != nil {
- channelz.Infof(logger, cc.channelzID, "dial target %q parse failed: %v", canonicalTarget, err)
+ channelz.Infof(logger, cc.channelz, "dial target %q parse failed: %v", canonicalTarget, err)
return err
}
- channelz.Infof(logger, cc.channelzID, "parsed dial target is: %+v", parsedTarget)
+ channelz.Infof(logger, cc.channelz, "parsed dial target is: %+v", parsedTarget)
rb = cc.getResolver(parsedTarget.URL.Scheme)
if rb == nil {
return fmt.Errorf("could not get resolver for default scheme: %q", parsedTarget.URL.Scheme)
@@ -1772,6 +1737,8 @@ func parseTarget(target string) (resolver.Target, error) {
return resolver.Target{URL: *u}, nil
}
+// encodeAuthority escapes the authority string based on valid chars defined in
+// https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.
func encodeAuthority(authority string) string {
const upperhex = "0123456789ABCDEF"
@@ -1788,7 +1755,7 @@ func encodeAuthority(authority string) string {
return false
case '!', '$', '&', '\'', '(', ')', '*', '+', ',', ';', '=': // Subdelim characters
return false
- case ':', '[', ']', '@': // Authority related delimeters
+ case ':', '[', ']', '@': // Authority related delimiters
return false
}
// Everything else must be escaped.
@@ -1871,6 +1838,6 @@ func (cc *ClientConn) determineAuthority() error {
} else {
cc.authority = encodeAuthority(endpoint)
}
- channelz.Infof(logger, cc.channelzID, "Channel authority set to %q", cc.authority)
+ channelz.Infof(logger, cc.channelz, "Channel authority set to %q", cc.authority)
return nil
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/codegen.sh b/cluster-api/providers/azure/vendor/google.golang.org/grpc/codegen.sh
deleted file mode 100644
index 4cdc6ba7c0..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/codegen.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-
-# This script serves as an example to demonstrate how to generate the gRPC-Go
-# interface and the related messages from .proto file.
-#
-# It assumes the installation of i) Google proto buffer compiler at
-# https://github.com/google/protobuf (after v2.6.1) and ii) the Go codegen
-# plugin at https://github.com/golang/protobuf (after 2015-02-20). If you have
-# not, please install them first.
-#
-# We recommend running this script at $GOPATH/src.
-#
-# If this is not what you need, feel free to make your own scripts. Again, this
-# script is for demonstration purpose.
-#
-proto=$1
-protoc --go_out=plugins=grpc:. $proto
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/codes/codes.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/codes/codes.go
index 08476ad1fe..0b42c302b2 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/codes/codes.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/codes/codes.go
@@ -235,7 +235,7 @@ func (c *Code) UnmarshalJSON(b []byte) error {
if ci, err := strconv.ParseUint(string(b), 10, 32); err == nil {
if ci >= _maxCode {
- return fmt.Errorf("invalid code: %q", ci)
+ return fmt.Errorf("invalid code: %d", ci)
}
*c = Code(ci)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/credentials/credentials.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/credentials/credentials.go
index 5feac3aa0e..665e790bb0 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/credentials/credentials.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/credentials/credentials.go
@@ -28,9 +28,9 @@ import (
"fmt"
"net"
- "github.com/golang/protobuf/proto"
"google.golang.org/grpc/attributes"
icredentials "google.golang.org/grpc/internal/credentials"
+ "google.golang.org/protobuf/proto"
)
// PerRPCCredentials defines the common interface for the credentials which need to
@@ -237,7 +237,7 @@ func ClientHandshakeInfoFromContext(ctx context.Context) ClientHandshakeInfo {
}
// CheckSecurityLevel checks if a connection's security level is greater than or equal to the specified one.
-// It returns success if 1) the condition is satisified or 2) AuthInfo struct does not implement GetCommonAuthInfo() method
+// It returns success if 1) the condition is satisfied or 2) AuthInfo struct does not implement GetCommonAuthInfo() method
// or 3) CommonAuthInfo.SecurityLevel has an invalid zero value. For 2) and 3), it is for the purpose of backward-compatibility.
//
// This API is experimental.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/dialoptions.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/dialoptions.go
index ba24261804..00273702b6 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/dialoptions.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/dialoptions.go
@@ -68,7 +68,7 @@ type dialOptions struct {
binaryLogger binarylog.Logger
copts transport.ConnectOptions
callOptions []CallOption
- channelzParentID *channelz.Identifier
+ channelzParent channelz.Identifier
disableServiceConfig bool
disableRetry bool
disableHealthCheck bool
@@ -79,6 +79,7 @@ type dialOptions struct {
resolvers []resolver.Builder
idleTimeout time.Duration
recvBufferPool SharedBufferPool
+ defaultScheme string
}
// DialOption configures how we set up the connection.
@@ -154,9 +155,7 @@ func WithSharedWriteBuffer(val bool) DialOption {
}
// WithWriteBufferSize determines how much data can be batched before doing a
-// write on the wire. The corresponding memory allocation for this buffer will
-// be twice the size to keep syscalls low. The default value for this buffer is
-// 32KB.
+// write on the wire. The default value for this buffer is 32KB.
//
// Zero or negative values will disable the write buffer such that each write
// will be on underlying connection. Note: A Send call may not directly
@@ -301,6 +300,9 @@ func withBackoff(bs internalbackoff.Strategy) DialOption {
//
// Use of this feature is not recommended. For more information, please see:
// https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
+//
+// Deprecated: this DialOption is not supported by NewClient.
+// Will be supported throughout 1.x.
func WithBlock() DialOption {
return newFuncDialOption(func(o *dialOptions) {
o.block = true
@@ -315,10 +317,8 @@ func WithBlock() DialOption {
// Use of this feature is not recommended. For more information, please see:
// https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
//
-// # Experimental
-//
-// Notice: This API is EXPERIMENTAL and may be changed or removed in a
-// later release.
+// Deprecated: this DialOption is not supported by NewClient.
+// Will be supported throughout 1.x.
func WithReturnConnectionError() DialOption {
return newFuncDialOption(func(o *dialOptions) {
o.block = true
@@ -388,8 +388,8 @@ func WithCredentialsBundle(b credentials.Bundle) DialOption {
// WithTimeout returns a DialOption that configures a timeout for dialing a
// ClientConn initially. This is valid if and only if WithBlock() is present.
//
-// Deprecated: use DialContext instead of Dial and context.WithTimeout
-// instead. Will be supported throughout 1.x.
+// Deprecated: this DialOption is not supported by NewClient.
+// Will be supported throughout 1.x.
func WithTimeout(d time.Duration) DialOption {
return newFuncDialOption(func(o *dialOptions) {
o.timeout = d
@@ -471,9 +471,8 @@ func withBinaryLogger(bl binarylog.Logger) DialOption {
// Use of this feature is not recommended. For more information, please see:
// https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
//
-// # Experimental
-//
-// Notice: This API is EXPERIMENTAL and may be changed or removed in a
+// Deprecated: this DialOption is not supported by NewClient.
+// This API may be changed or removed in a
// later release.
func FailOnNonTempDialError(f bool) DialOption {
return newFuncDialOption(func(o *dialOptions) {
@@ -555,9 +554,9 @@ func WithAuthority(a string) DialOption {
//
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
// later release.
-func WithChannelzParentID(id *channelz.Identifier) DialOption {
+func WithChannelzParentID(c channelz.Identifier) DialOption {
return newFuncDialOption(func(o *dialOptions) {
- o.channelzParentID = id
+ o.channelzParent = c
})
}
@@ -602,12 +601,22 @@ func WithDisableRetry() DialOption {
})
}
+// MaxHeaderListSizeDialOption is a DialOption that specifies the maximum
+// (uncompressed) size of header list that the client is prepared to accept.
+type MaxHeaderListSizeDialOption struct {
+ MaxHeaderListSize uint32
+}
+
+func (o MaxHeaderListSizeDialOption) apply(do *dialOptions) {
+ do.copts.MaxHeaderListSize = &o.MaxHeaderListSize
+}
+
// WithMaxHeaderListSize returns a DialOption that specifies the maximum
// (uncompressed) size of header list that the client is prepared to accept.
func WithMaxHeaderListSize(s uint32) DialOption {
- return newFuncDialOption(func(o *dialOptions) {
- o.copts.MaxHeaderListSize = &s
- })
+ return MaxHeaderListSizeDialOption{
+ MaxHeaderListSize: s,
+ }
}
// WithDisableHealthCheck disables the LB channel health checking for all
@@ -645,10 +654,11 @@ func defaultDialOptions() dialOptions {
healthCheckFunc: internal.HealthCheckFunc,
idleTimeout: 30 * time.Minute,
recvBufferPool: nopBufferPool{},
+ defaultScheme: "dns",
}
}
-// withGetMinConnectDeadline specifies the function that clientconn uses to
+// withMinConnectDeadline specifies the function that clientconn uses to
// get minConnectDeadline. This can be used to make connection attempts happen
// faster/slower.
//
@@ -659,6 +669,14 @@ func withMinConnectDeadline(f func() time.Duration) DialOption {
})
}
+// withDefaultScheme is used to allow Dial to use "passthrough" as the default
+// name resolver, while NewClient uses "dns" otherwise.
+func withDefaultScheme(s string) DialOption {
+ return newFuncDialOption(func(o *dialOptions) {
+ o.defaultScheme = s
+ })
+}
+
// WithResolvers allows a list of resolver implementations to be registered
// locally with the ClientConn without needing to be globally registered via
// resolver.Register. They will be matched against the scheme used for the
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/encoding/proto/proto.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/encoding/proto/proto.go
index 0ee3d3bae9..66d5cdf03e 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/encoding/proto/proto.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/encoding/proto/proto.go
@@ -23,8 +23,9 @@ package proto
import (
"fmt"
- "github.com/golang/protobuf/proto"
"google.golang.org/grpc/encoding"
+ "google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/protoadapt"
)
// Name is the name registered for the proto compressor.
@@ -38,21 +39,34 @@ func init() {
type codec struct{}
func (codec) Marshal(v any) ([]byte, error) {
- vv, ok := v.(proto.Message)
- if !ok {
+ vv := messageV2Of(v)
+ if vv == nil {
return nil, fmt.Errorf("failed to marshal, message is %T, want proto.Message", v)
}
+
return proto.Marshal(vv)
}
func (codec) Unmarshal(data []byte, v any) error {
- vv, ok := v.(proto.Message)
- if !ok {
+ vv := messageV2Of(v)
+ if vv == nil {
return fmt.Errorf("failed to unmarshal, message is %T, want proto.Message", v)
}
+
return proto.Unmarshal(data, vv)
}
+func messageV2Of(v any) proto.Message {
+ switch v := v.(type) {
+ case protoadapt.MessageV1:
+ return protoadapt.MessageV2Of(v)
+ case protoadapt.MessageV2:
+ return v
+ }
+
+ return nil
+}
+
func (codec) Name() string {
return Name
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go
index 24299efd63..6a93475a7f 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health.pb.go
@@ -17,8 +17,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.31.0
-// protoc v4.22.0
+// protoc-gen-go v1.33.0
+// protoc v4.25.2
// source: grpc/health/v1/health.proto
package grpc_health_v1
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health_grpc.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health_grpc.pb.go
index 4439cda0f3..8f793e6e89 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health_grpc.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/health/grpc_health_v1/health_grpc.pb.go
@@ -18,7 +18,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
-// - protoc v4.22.0
+// - protoc v4.25.2
// source: grpc/health/v1/health.proto
package grpc_health_v1
@@ -32,8 +32,8 @@ import (
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
-// Requires gRPC-Go v1.32.0 or later.
-const _ = grpc.SupportPackageIsVersion7
+// Requires gRPC-Go v1.62.0 or later.
+const _ = grpc.SupportPackageIsVersion8
const (
Health_Check_FullMethodName = "/grpc.health.v1.Health/Check"
@@ -81,8 +81,9 @@ func NewHealthClient(cc grpc.ClientConnInterface) HealthClient {
}
func (c *healthClient) Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) {
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(HealthCheckResponse)
- err := c.cc.Invoke(ctx, Health_Check_FullMethodName, in, out, opts...)
+ err := c.cc.Invoke(ctx, Health_Check_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
@@ -90,11 +91,12 @@ func (c *healthClient) Check(ctx context.Context, in *HealthCheckRequest, opts .
}
func (c *healthClient) Watch(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (Health_WatchClient, error) {
- stream, err := c.cc.NewStream(ctx, &Health_ServiceDesc.Streams[0], Health_Watch_FullMethodName, opts...)
+ cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
+ stream, err := c.cc.NewStream(ctx, &Health_ServiceDesc.Streams[0], Health_Watch_FullMethodName, cOpts...)
if err != nil {
return nil, err
}
- x := &healthWatchClient{stream}
+ x := &healthWatchClient{ClientStream: stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
@@ -198,7 +200,7 @@ func _Health_Watch_Handler(srv interface{}, stream grpc.ServerStream) error {
if err := stream.RecvMsg(m); err != nil {
return err
}
- return srv.(HealthServer).Watch(m, &healthWatchServer{stream})
+ return srv.(HealthServer).Watch(m, &healthWatchServer{ServerStream: stream})
}
type Health_WatchServer interface {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/config.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/config.go
new file mode 100644
index 0000000000..13821a9266
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/config.go
@@ -0,0 +1,82 @@
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package gracefulswitch
+
+import (
+ "encoding/json"
+ "fmt"
+
+ "google.golang.org/grpc/balancer"
+ "google.golang.org/grpc/serviceconfig"
+)
+
+type lbConfig struct {
+ serviceconfig.LoadBalancingConfig
+
+ childBuilder balancer.Builder
+ childConfig serviceconfig.LoadBalancingConfig
+}
+
+func ChildName(l serviceconfig.LoadBalancingConfig) string {
+ return l.(*lbConfig).childBuilder.Name()
+}
+
+// ParseConfig parses a child config list and returns a LB config for the
+// gracefulswitch Balancer.
+//
+// cfg is expected to be a json.RawMessage containing a JSON array of LB policy
+// names + configs as the format of the "loadBalancingConfig" field in
+// ServiceConfig. It returns a type that should be passed to
+// UpdateClientConnState in the BalancerConfig field.
+func ParseConfig(cfg json.RawMessage) (serviceconfig.LoadBalancingConfig, error) {
+ var lbCfg []map[string]json.RawMessage
+ if err := json.Unmarshal(cfg, &lbCfg); err != nil {
+ return nil, err
+ }
+ for i, e := range lbCfg {
+ if len(e) != 1 {
+ return nil, fmt.Errorf("expected a JSON struct with one entry; received entry %v at index %d", e, i)
+ }
+
+ var name string
+ var jsonCfg json.RawMessage
+ for name, jsonCfg = range e {
+ }
+
+ builder := balancer.Get(name)
+ if builder == nil {
+ // Skip unregistered balancer names.
+ continue
+ }
+
+ parser, ok := builder.(balancer.ConfigParser)
+ if !ok {
+ // This is a valid child with no config.
+ return &lbConfig{childBuilder: builder}, nil
+ }
+
+ cfg, err := parser.ParseConfig(jsonCfg)
+ if err != nil {
+ return nil, fmt.Errorf("error parsing config for policy %q: %v", name, err)
+ }
+ return &lbConfig{childBuilder: builder, childConfig: cfg}, nil
+ }
+
+ return nil, fmt.Errorf("no supported policies found in config: %v", string(cfg))
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go
index 3c594e6e4e..73bb4c4ee9 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/balancer/gracefulswitch/gracefulswitch.go
@@ -94,14 +94,23 @@ func (gsb *Balancer) balancerCurrentOrPending(bw *balancerWrapper) bool {
// process is not complete when this method returns. This method must be called
// synchronously alongside the rest of the balancer.Balancer methods this
// Graceful Switch Balancer implements.
+//
+// Deprecated: use ParseConfig and pass a parsed config to UpdateClientConnState
+// to cause the Balancer to automatically change to the new child when necessary.
func (gsb *Balancer) SwitchTo(builder balancer.Builder) error {
+ _, err := gsb.switchTo(builder)
+ return err
+}
+
+func (gsb *Balancer) switchTo(builder balancer.Builder) (*balancerWrapper, error) {
gsb.mu.Lock()
if gsb.closed {
gsb.mu.Unlock()
- return errBalancerClosed
+ return nil, errBalancerClosed
}
bw := &balancerWrapper{
- gsb: gsb,
+ builder: builder,
+ gsb: gsb,
lastState: balancer.State{
ConnectivityState: connectivity.Connecting,
Picker: base.NewErrPicker(balancer.ErrNoSubConnAvailable),
@@ -129,7 +138,7 @@ func (gsb *Balancer) SwitchTo(builder balancer.Builder) error {
gsb.balancerCurrent = nil
}
gsb.mu.Unlock()
- return balancer.ErrBadResolverState
+ return nil, balancer.ErrBadResolverState
}
// This write doesn't need to take gsb.mu because this field never gets read
@@ -138,7 +147,7 @@ func (gsb *Balancer) SwitchTo(builder balancer.Builder) error {
// bw.Balancer field will never be forwarded to until this SwitchTo()
// function returns.
bw.Balancer = newBalancer
- return nil
+ return bw, nil
}
// Returns nil if the graceful switch balancer is closed.
@@ -152,12 +161,32 @@ func (gsb *Balancer) latestBalancer() *balancerWrapper {
}
// UpdateClientConnState forwards the update to the latest balancer created.
+//
+// If the state's BalancerConfig is the config returned by a call to
+// gracefulswitch.ParseConfig, then this function will automatically SwitchTo
+// the balancer indicated by the config before forwarding its config to it, if
+// necessary.
func (gsb *Balancer) UpdateClientConnState(state balancer.ClientConnState) error {
// The resolver data is only relevant to the most recent LB Policy.
balToUpdate := gsb.latestBalancer()
+ gsbCfg, ok := state.BalancerConfig.(*lbConfig)
+ if ok {
+ // Switch to the child in the config unless it is already active.
+ if balToUpdate == nil || gsbCfg.childBuilder.Name() != balToUpdate.builder.Name() {
+ var err error
+ balToUpdate, err = gsb.switchTo(gsbCfg.childBuilder)
+ if err != nil {
+ return fmt.Errorf("could not switch to new child balancer: %w", err)
+ }
+ }
+ // Unwrap the child balancer's config.
+ state.BalancerConfig = gsbCfg.childConfig
+ }
+
if balToUpdate == nil {
return errBalancerClosed
}
+
// Perform this call without gsb.mu to prevent deadlocks if the child calls
// back into the channel. The latest balancer can never be closed during a
// call from the channel, even without gsb.mu held.
@@ -169,6 +198,10 @@ func (gsb *Balancer) ResolverError(err error) {
// The resolver data is only relevant to the most recent LB Policy.
balToUpdate := gsb.latestBalancer()
if balToUpdate == nil {
+ gsb.cc.UpdateState(balancer.State{
+ ConnectivityState: connectivity.TransientFailure,
+ Picker: base.NewErrPicker(err),
+ })
return
}
// Perform this call without gsb.mu to prevent deadlocks if the child calls
@@ -261,7 +294,8 @@ func (gsb *Balancer) Close() {
// graceful switch logic.
type balancerWrapper struct {
balancer.Balancer
- gsb *Balancer
+ gsb *Balancer
+ builder balancer.Builder
lastState balancer.State
subconns map[balancer.SubConn]bool // subconns created by this balancer
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go
index 0f31274a3c..aa4505a871 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/method_logger.go
@@ -25,11 +25,12 @@ import (
"sync/atomic"
"time"
- "github.com/golang/protobuf/proto"
- "github.com/golang/protobuf/ptypes"
binlogpb "google.golang.org/grpc/binarylog/grpc_binarylog_v1"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"
+ "google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/types/known/durationpb"
+ "google.golang.org/protobuf/types/known/timestamppb"
)
type callIDGenerator struct {
@@ -64,7 +65,7 @@ type TruncatingMethodLogger struct {
callID uint64
idWithinCallGen *callIDGenerator
- sink Sink // TODO(blog): make this plugable.
+ sink Sink // TODO(blog): make this pluggable.
}
// NewTruncatingMethodLogger returns a new truncating method logger.
@@ -79,7 +80,7 @@ func NewTruncatingMethodLogger(h, m uint64) *TruncatingMethodLogger {
callID: idGen.next(),
idWithinCallGen: &callIDGenerator{},
- sink: DefaultSink, // TODO(blog): make it plugable.
+ sink: DefaultSink, // TODO(blog): make it pluggable.
}
}
@@ -88,7 +89,7 @@ func NewTruncatingMethodLogger(h, m uint64) *TruncatingMethodLogger {
// in TruncatingMethodLogger as possible.
func (ml *TruncatingMethodLogger) Build(c LogEntryConfig) *binlogpb.GrpcLogEntry {
m := c.toProto()
- timestamp, _ := ptypes.TimestampProto(time.Now())
+ timestamp := timestamppb.Now()
m.Timestamp = timestamp
m.CallId = ml.callID
m.SequenceIdWithinCall = ml.idWithinCallGen.next()
@@ -178,7 +179,7 @@ func (c *ClientHeader) toProto() *binlogpb.GrpcLogEntry {
Authority: c.Authority,
}
if c.Timeout > 0 {
- clientHeader.Timeout = ptypes.DurationProto(c.Timeout)
+ clientHeader.Timeout = durationpb.New(c.Timeout)
}
ret := &binlogpb.GrpcLogEntry{
Type: binlogpb.GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER,
@@ -396,7 +397,7 @@ func metadataKeyOmit(key string) bool {
switch key {
case "lb-token", ":path", ":authority", "content-encoding", "content-type", "user-agent", "te":
return true
- case "grpc-trace-bin": // grpc-trace-bin is special because it's visiable to users.
+ case "grpc-trace-bin": // grpc-trace-bin is special because it's visible to users.
return false
}
return strings.HasPrefix(key, "grpc-")
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/sink.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/sink.go
index 264de387c2..9ea598b14c 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/sink.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/binarylog/sink.go
@@ -25,8 +25,8 @@ import (
"sync"
"time"
- "github.com/golang/protobuf/proto"
binlogpb "google.golang.org/grpc/binarylog/grpc_binarylog_v1"
+ "google.golang.org/protobuf/proto"
)
var (
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/channel.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/channel.go
new file mode 100644
index 0000000000..d7e9e1d54e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/channel.go
@@ -0,0 +1,255 @@
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package channelz
+
+import (
+ "fmt"
+ "sync/atomic"
+
+ "google.golang.org/grpc/connectivity"
+)
+
+// Channel represents a channel within channelz, which includes metrics and
+// internal channelz data, such as channelz id, child list, etc.
+type Channel struct {
+ Entity
+ // ID is the channelz id of this channel.
+ ID int64
+ // RefName is the human readable reference string of this channel.
+ RefName string
+
+ closeCalled bool
+ nestedChans map[int64]string
+ subChans map[int64]string
+ Parent *Channel
+ trace *ChannelTrace
+ // traceRefCount is the number of trace events that reference this channel.
+ // Non-zero traceRefCount means the trace of this channel cannot be deleted.
+ traceRefCount int32
+
+ ChannelMetrics ChannelMetrics
+}
+
+// Implemented to make Channel implement the Identifier interface used for
+// nesting.
+func (c *Channel) channelzIdentifier() {}
+
+func (c *Channel) String() string {
+ if c.Parent == nil {
+ return fmt.Sprintf("Channel #%d", c.ID)
+ }
+ return fmt.Sprintf("%s Channel #%d", c.Parent, c.ID)
+}
+
+func (c *Channel) id() int64 {
+ return c.ID
+}
+
+func (c *Channel) SubChans() map[int64]string {
+ db.mu.RLock()
+ defer db.mu.RUnlock()
+ return copyMap(c.subChans)
+}
+
+func (c *Channel) NestedChans() map[int64]string {
+ db.mu.RLock()
+ defer db.mu.RUnlock()
+ return copyMap(c.nestedChans)
+}
+
+func (c *Channel) Trace() *ChannelTrace {
+ db.mu.RLock()
+ defer db.mu.RUnlock()
+ return c.trace.copy()
+}
+
+type ChannelMetrics struct {
+ // The current connectivity state of the channel.
+ State atomic.Pointer[connectivity.State]
+ // The target this channel originally tried to connect to. May be absent
+ Target atomic.Pointer[string]
+ // The number of calls started on the channel.
+ CallsStarted atomic.Int64
+ // The number of calls that have completed with an OK status.
+ CallsSucceeded atomic.Int64
+ // The number of calls that have a completed with a non-OK status.
+ CallsFailed atomic.Int64
+ // The last time a call was started on the channel.
+ LastCallStartedTimestamp atomic.Int64
+}
+
+// CopyFrom copies the metrics in o to c. For testing only.
+func (c *ChannelMetrics) CopyFrom(o *ChannelMetrics) {
+ c.State.Store(o.State.Load())
+ c.Target.Store(o.Target.Load())
+ c.CallsStarted.Store(o.CallsStarted.Load())
+ c.CallsSucceeded.Store(o.CallsSucceeded.Load())
+ c.CallsFailed.Store(o.CallsFailed.Load())
+ c.LastCallStartedTimestamp.Store(o.LastCallStartedTimestamp.Load())
+}
+
+// Equal returns true iff the metrics of c are the same as the metrics of o.
+// For testing only.
+func (c *ChannelMetrics) Equal(o any) bool {
+ oc, ok := o.(*ChannelMetrics)
+ if !ok {
+ return false
+ }
+ if (c.State.Load() == nil) != (oc.State.Load() == nil) {
+ return false
+ }
+ if c.State.Load() != nil && *c.State.Load() != *oc.State.Load() {
+ return false
+ }
+ if (c.Target.Load() == nil) != (oc.Target.Load() == nil) {
+ return false
+ }
+ if c.Target.Load() != nil && *c.Target.Load() != *oc.Target.Load() {
+ return false
+ }
+ return c.CallsStarted.Load() == oc.CallsStarted.Load() &&
+ c.CallsFailed.Load() == oc.CallsFailed.Load() &&
+ c.CallsSucceeded.Load() == oc.CallsSucceeded.Load() &&
+ c.LastCallStartedTimestamp.Load() == oc.LastCallStartedTimestamp.Load()
+}
+
+func strFromPointer(s *string) string {
+ if s == nil {
+ return ""
+ }
+ return *s
+}
+
+func (c *ChannelMetrics) String() string {
+ return fmt.Sprintf("State: %v, Target: %s, CallsStarted: %v, CallsSucceeded: %v, CallsFailed: %v, LastCallStartedTimestamp: %v",
+ c.State.Load(), strFromPointer(c.Target.Load()), c.CallsStarted.Load(), c.CallsSucceeded.Load(), c.CallsFailed.Load(), c.LastCallStartedTimestamp.Load(),
+ )
+}
+
+func NewChannelMetricForTesting(state connectivity.State, target string, started, succeeded, failed, timestamp int64) *ChannelMetrics {
+ c := &ChannelMetrics{}
+ c.State.Store(&state)
+ c.Target.Store(&target)
+ c.CallsStarted.Store(started)
+ c.CallsSucceeded.Store(succeeded)
+ c.CallsFailed.Store(failed)
+ c.LastCallStartedTimestamp.Store(timestamp)
+ return c
+}
+
+func (c *Channel) addChild(id int64, e entry) {
+ switch v := e.(type) {
+ case *SubChannel:
+ c.subChans[id] = v.RefName
+ case *Channel:
+ c.nestedChans[id] = v.RefName
+ default:
+ logger.Errorf("cannot add a child (id = %d) of type %T to a channel", id, e)
+ }
+}
+
+func (c *Channel) deleteChild(id int64) {
+ delete(c.subChans, id)
+ delete(c.nestedChans, id)
+ c.deleteSelfIfReady()
+}
+
+func (c *Channel) triggerDelete() {
+ c.closeCalled = true
+ c.deleteSelfIfReady()
+}
+
+func (c *Channel) getParentID() int64 {
+ if c.Parent == nil {
+ return -1
+ }
+ return c.Parent.ID
+}
+
+// deleteSelfFromTree tries to delete the channel from the channelz entry relation tree, which means
+// deleting the channel reference from its parent's child list.
+//
+// In order for a channel to be deleted from the tree, it must meet the criteria that, removal of the
+// corresponding grpc object has been invoked, and the channel does not have any children left.
+//
+// The returned boolean value indicates whether the channel has been successfully deleted from tree.
+func (c *Channel) deleteSelfFromTree() (deleted bool) {
+ if !c.closeCalled || len(c.subChans)+len(c.nestedChans) != 0 {
+ return false
+ }
+ // not top channel
+ if c.Parent != nil {
+ c.Parent.deleteChild(c.ID)
+ }
+ return true
+}
+
+// deleteSelfFromMap checks whether it is valid to delete the channel from the map, which means
+// deleting the channel from channelz's tracking entirely. Users can no longer use id to query the
+// channel, and its memory will be garbage collected.
+//
+// The trace reference count of the channel must be 0 in order to be deleted from the map. This is
+// specified in the channel tracing gRFC that as long as some other trace has reference to an entity,
+// the trace of the referenced entity must not be deleted. In order to release the resource allocated
+// by grpc, the reference to the grpc object is reset to a dummy object.
+//
+// deleteSelfFromMap must be called after deleteSelfFromTree returns true.
+//
+// It returns a bool to indicate whether the channel can be safely deleted from map.
+func (c *Channel) deleteSelfFromMap() (delete bool) {
+ return c.getTraceRefCount() == 0
+}
+
+// deleteSelfIfReady tries to delete the channel itself from the channelz database.
+// The delete process includes two steps:
+// 1. delete the channel from the entry relation tree, i.e. delete the channel reference from its
+// parent's child list.
+// 2. delete the channel from the map, i.e. delete the channel entirely from channelz. Lookup by id
+// will return entry not found error.
+func (c *Channel) deleteSelfIfReady() {
+ if !c.deleteSelfFromTree() {
+ return
+ }
+ if !c.deleteSelfFromMap() {
+ return
+ }
+ db.deleteEntry(c.ID)
+ c.trace.clear()
+}
+
+func (c *Channel) getChannelTrace() *ChannelTrace {
+ return c.trace
+}
+
+func (c *Channel) incrTraceRefCount() {
+ atomic.AddInt32(&c.traceRefCount, 1)
+}
+
+func (c *Channel) decrTraceRefCount() {
+ atomic.AddInt32(&c.traceRefCount, -1)
+}
+
+func (c *Channel) getTraceRefCount() int {
+ i := atomic.LoadInt32(&c.traceRefCount)
+ return int(i)
+}
+
+func (c *Channel) getRefName() string {
+ return c.RefName
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/channelmap.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/channelmap.go
new file mode 100644
index 0000000000..dfe18b0892
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/channelmap.go
@@ -0,0 +1,402 @@
+/*
+ *
+ * Copyright 2018 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package channelz
+
+import (
+ "fmt"
+ "sort"
+ "sync"
+ "time"
+)
+
+// entry represents a node in the channelz database.
+type entry interface {
+ // addChild adds a child e, whose channelz id is id to child list
+ addChild(id int64, e entry)
+ // deleteChild deletes a child with channelz id to be id from child list
+ deleteChild(id int64)
+ // triggerDelete tries to delete self from channelz database. However, if
+ // child list is not empty, then deletion from the database is on hold until
+ // the last child is deleted from database.
+ triggerDelete()
+ // deleteSelfIfReady check whether triggerDelete() has been called before,
+ // and whether child list is now empty. If both conditions are met, then
+ // delete self from database.
+ deleteSelfIfReady()
+ // getParentID returns parent ID of the entry. 0 value parent ID means no parent.
+ getParentID() int64
+ Entity
+}
+
+// channelMap is the storage data structure for channelz.
+//
+// Methods of channelMap can be divided in two two categories with respect to
+// locking.
+//
+// 1. Methods acquire the global lock.
+// 2. Methods that can only be called when global lock is held.
+//
+// A second type of method need always to be called inside a first type of method.
+type channelMap struct {
+ mu sync.RWMutex
+ topLevelChannels map[int64]struct{}
+ channels map[int64]*Channel
+ subChannels map[int64]*SubChannel
+ sockets map[int64]*Socket
+ servers map[int64]*Server
+}
+
+func newChannelMap() *channelMap {
+ return &channelMap{
+ topLevelChannels: make(map[int64]struct{}),
+ channels: make(map[int64]*Channel),
+ subChannels: make(map[int64]*SubChannel),
+ sockets: make(map[int64]*Socket),
+ servers: make(map[int64]*Server),
+ }
+}
+
+func (c *channelMap) addServer(id int64, s *Server) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+ s.cm = c
+ c.servers[id] = s
+}
+
+func (c *channelMap) addChannel(id int64, cn *Channel, isTopChannel bool, pid int64) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+ cn.trace.cm = c
+ c.channels[id] = cn
+ if isTopChannel {
+ c.topLevelChannels[id] = struct{}{}
+ } else if p := c.channels[pid]; p != nil {
+ p.addChild(id, cn)
+ } else {
+ logger.Infof("channel %d references invalid parent ID %d", id, pid)
+ }
+}
+
+func (c *channelMap) addSubChannel(id int64, sc *SubChannel, pid int64) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+ sc.trace.cm = c
+ c.subChannels[id] = sc
+ if p := c.channels[pid]; p != nil {
+ p.addChild(id, sc)
+ } else {
+ logger.Infof("subchannel %d references invalid parent ID %d", id, pid)
+ }
+}
+
+func (c *channelMap) addSocket(s *Socket) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+ s.cm = c
+ c.sockets[s.ID] = s
+ if s.Parent == nil {
+ logger.Infof("normal socket %d has no parent", s.ID)
+ }
+ s.Parent.(entry).addChild(s.ID, s)
+}
+
+// removeEntry triggers the removal of an entry, which may not indeed delete the
+// entry, if it has to wait on the deletion of its children and until no other
+// entity's channel trace references it. It may lead to a chain of entry
+// deletion. For example, deleting the last socket of a gracefully shutting down
+// server will lead to the server being also deleted.
+func (c *channelMap) removeEntry(id int64) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+ c.findEntry(id).triggerDelete()
+}
+
+// tracedChannel represents tracing operations which are present on both
+// channels and subChannels.
+type tracedChannel interface {
+ getChannelTrace() *ChannelTrace
+ incrTraceRefCount()
+ decrTraceRefCount()
+ getRefName() string
+}
+
+// c.mu must be held by the caller
+func (c *channelMap) decrTraceRefCount(id int64) {
+ e := c.findEntry(id)
+ if v, ok := e.(tracedChannel); ok {
+ v.decrTraceRefCount()
+ e.deleteSelfIfReady()
+ }
+}
+
+// c.mu must be held by the caller.
+func (c *channelMap) findEntry(id int64) entry {
+ if v, ok := c.channels[id]; ok {
+ return v
+ }
+ if v, ok := c.subChannels[id]; ok {
+ return v
+ }
+ if v, ok := c.servers[id]; ok {
+ return v
+ }
+ if v, ok := c.sockets[id]; ok {
+ return v
+ }
+ return &dummyEntry{idNotFound: id}
+}
+
+// c.mu must be held by the caller
+//
+// deleteEntry deletes an entry from the channelMap. Before calling this method,
+// caller must check this entry is ready to be deleted, i.e removeEntry() has
+// been called on it, and no children still exist.
+func (c *channelMap) deleteEntry(id int64) entry {
+ if v, ok := c.sockets[id]; ok {
+ delete(c.sockets, id)
+ return v
+ }
+ if v, ok := c.subChannels[id]; ok {
+ delete(c.subChannels, id)
+ return v
+ }
+ if v, ok := c.channels[id]; ok {
+ delete(c.channels, id)
+ delete(c.topLevelChannels, id)
+ return v
+ }
+ if v, ok := c.servers[id]; ok {
+ delete(c.servers, id)
+ return v
+ }
+ return &dummyEntry{idNotFound: id}
+}
+
+func (c *channelMap) traceEvent(id int64, desc *TraceEvent) {
+ c.mu.Lock()
+ defer c.mu.Unlock()
+ child := c.findEntry(id)
+ childTC, ok := child.(tracedChannel)
+ if !ok {
+ return
+ }
+ childTC.getChannelTrace().append(&traceEvent{Desc: desc.Desc, Severity: desc.Severity, Timestamp: time.Now()})
+ if desc.Parent != nil {
+ parent := c.findEntry(child.getParentID())
+ var chanType RefChannelType
+ switch child.(type) {
+ case *Channel:
+ chanType = RefChannel
+ case *SubChannel:
+ chanType = RefSubChannel
+ }
+ if parentTC, ok := parent.(tracedChannel); ok {
+ parentTC.getChannelTrace().append(&traceEvent{
+ Desc: desc.Parent.Desc,
+ Severity: desc.Parent.Severity,
+ Timestamp: time.Now(),
+ RefID: id,
+ RefName: childTC.getRefName(),
+ RefType: chanType,
+ })
+ childTC.incrTraceRefCount()
+ }
+ }
+}
+
+type int64Slice []int64
+
+func (s int64Slice) Len() int { return len(s) }
+func (s int64Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
+func (s int64Slice) Less(i, j int) bool { return s[i] < s[j] }
+
+func copyMap(m map[int64]string) map[int64]string {
+ n := make(map[int64]string)
+ for k, v := range m {
+ n[k] = v
+ }
+ return n
+}
+
+func min(a, b int) int {
+ if a < b {
+ return a
+ }
+ return b
+}
+
+func (c *channelMap) getTopChannels(id int64, maxResults int) ([]*Channel, bool) {
+ if maxResults <= 0 {
+ maxResults = EntriesPerPage
+ }
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ l := int64(len(c.topLevelChannels))
+ ids := make([]int64, 0, l)
+
+ for k := range c.topLevelChannels {
+ ids = append(ids, k)
+ }
+ sort.Sort(int64Slice(ids))
+ idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id })
+ end := true
+ var t []*Channel
+ for _, v := range ids[idx:] {
+ if len(t) == maxResults {
+ end = false
+ break
+ }
+ if cn, ok := c.channels[v]; ok {
+ t = append(t, cn)
+ }
+ }
+ return t, end
+}
+
+func (c *channelMap) getServers(id int64, maxResults int) ([]*Server, bool) {
+ if maxResults <= 0 {
+ maxResults = EntriesPerPage
+ }
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ ids := make([]int64, 0, len(c.servers))
+ for k := range c.servers {
+ ids = append(ids, k)
+ }
+ sort.Sort(int64Slice(ids))
+ idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id })
+ end := true
+ var s []*Server
+ for _, v := range ids[idx:] {
+ if len(s) == maxResults {
+ end = false
+ break
+ }
+ if svr, ok := c.servers[v]; ok {
+ s = append(s, svr)
+ }
+ }
+ return s, end
+}
+
+func (c *channelMap) getServerSockets(id int64, startID int64, maxResults int) ([]*Socket, bool) {
+ if maxResults <= 0 {
+ maxResults = EntriesPerPage
+ }
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ svr, ok := c.servers[id]
+ if !ok {
+ // server with id doesn't exist.
+ return nil, true
+ }
+ svrskts := svr.sockets
+ ids := make([]int64, 0, len(svrskts))
+ sks := make([]*Socket, 0, min(len(svrskts), maxResults))
+ for k := range svrskts {
+ ids = append(ids, k)
+ }
+ sort.Sort(int64Slice(ids))
+ idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= startID })
+ end := true
+ for _, v := range ids[idx:] {
+ if len(sks) == maxResults {
+ end = false
+ break
+ }
+ if ns, ok := c.sockets[v]; ok {
+ sks = append(sks, ns)
+ }
+ }
+ return sks, end
+}
+
+func (c *channelMap) getChannel(id int64) *Channel {
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ return c.channels[id]
+}
+
+func (c *channelMap) getSubChannel(id int64) *SubChannel {
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ return c.subChannels[id]
+}
+
+func (c *channelMap) getSocket(id int64) *Socket {
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ return c.sockets[id]
+}
+
+func (c *channelMap) getServer(id int64) *Server {
+ c.mu.RLock()
+ defer c.mu.RUnlock()
+ return c.servers[id]
+}
+
+type dummyEntry struct {
+ // dummyEntry is a fake entry to handle entry not found case.
+ idNotFound int64
+ Entity
+}
+
+func (d *dummyEntry) String() string {
+ return fmt.Sprintf("non-existent entity #%d", d.idNotFound)
+}
+
+func (d *dummyEntry) ID() int64 { return d.idNotFound }
+
+func (d *dummyEntry) addChild(id int64, e entry) {
+ // Note: It is possible for a normal program to reach here under race
+ // condition. For example, there could be a race between ClientConn.Close()
+ // info being propagated to addrConn and http2Client. ClientConn.Close()
+ // cancel the context and result in http2Client to error. The error info is
+ // then caught by transport monitor and before addrConn.tearDown() is called
+ // in side ClientConn.Close(). Therefore, the addrConn will create a new
+ // transport. And when registering the new transport in channelz, its parent
+ // addrConn could have already been torn down and deleted from channelz
+ // tracking, and thus reach the code here.
+ logger.Infof("attempt to add child of type %T with id %d to a parent (id=%d) that doesn't currently exist", e, id, d.idNotFound)
+}
+
+func (d *dummyEntry) deleteChild(id int64) {
+ // It is possible for a normal program to reach here under race condition.
+ // Refer to the example described in addChild().
+ logger.Infof("attempt to delete child with id %d from a parent (id=%d) that doesn't currently exist", id, d.idNotFound)
+}
+
+func (d *dummyEntry) triggerDelete() {
+ logger.Warningf("attempt to delete an entry (id=%d) that doesn't currently exist", d.idNotFound)
+}
+
+func (*dummyEntry) deleteSelfIfReady() {
+ // code should not reach here. deleteSelfIfReady is always called on an existing entry.
+}
+
+func (*dummyEntry) getParentID() int64 {
+ return 0
+}
+
+// Entity is implemented by all channelz types.
+type Entity interface {
+ isEntity()
+ fmt.Stringer
+ id() int64
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/funcs.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/funcs.go
index fc094f3441..03e24e1507 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/funcs.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/funcs.go
@@ -16,47 +16,32 @@
*
*/
-// Package channelz defines APIs for enabling channelz service, entry
+// Package channelz defines internal APIs for enabling channelz service, entry
// registration/deletion, and accessing channelz data. It also defines channelz
// metric struct formats.
-//
-// All APIs in this package are experimental.
package channelz
import (
- "errors"
- "sort"
- "sync"
"sync/atomic"
"time"
- "google.golang.org/grpc/grpclog"
"google.golang.org/grpc/internal"
)
-const (
- defaultMaxTraceEntry int32 = 30
-)
-
var (
// IDGen is the global channelz entity ID generator. It should not be used
// outside this package except by tests.
IDGen IDGenerator
- db dbWrapper
- // EntryPerPage defines the number of channelz entries to be shown on a web page.
- EntryPerPage = int64(50)
- curState int32
- maxTraceEntry = defaultMaxTraceEntry
+ db *channelMap = newChannelMap()
+ // EntriesPerPage defines the number of channelz entries to be shown on a web page.
+ EntriesPerPage = 50
+ curState int32
)
// TurnOn turns on channelz data collection.
func TurnOn() {
- if !IsOn() {
- db.set(newChannelMap())
- IDGen.Reset()
- atomic.StoreInt32(&curState, 1)
- }
+ atomic.StoreInt32(&curState, 1)
}
func init() {
@@ -70,49 +55,15 @@ func IsOn() bool {
return atomic.LoadInt32(&curState) == 1
}
-// SetMaxTraceEntry sets maximum number of trace entry per entity (i.e. channel/subchannel).
-// Setting it to 0 will disable channel tracing.
-func SetMaxTraceEntry(i int32) {
- atomic.StoreInt32(&maxTraceEntry, i)
-}
-
-// ResetMaxTraceEntryToDefault resets the maximum number of trace entry per entity to default.
-func ResetMaxTraceEntryToDefault() {
- atomic.StoreInt32(&maxTraceEntry, defaultMaxTraceEntry)
-}
-
-func getMaxTraceEntry() int {
- i := atomic.LoadInt32(&maxTraceEntry)
- return int(i)
-}
-
-// dbWarpper wraps around a reference to internal channelz data storage, and
-// provide synchronized functionality to set and get the reference.
-type dbWrapper struct {
- mu sync.RWMutex
- DB *channelMap
-}
-
-func (d *dbWrapper) set(db *channelMap) {
- d.mu.Lock()
- d.DB = db
- d.mu.Unlock()
-}
-
-func (d *dbWrapper) get() *channelMap {
- d.mu.RLock()
- defer d.mu.RUnlock()
- return d.DB
-}
-
// GetTopChannels returns a slice of top channel's ChannelMetric, along with a
// boolean indicating whether there's more top channels to be queried for.
//
-// The arg id specifies that only top channel with id at or above it will be included
-// in the result. The returned slice is up to a length of the arg maxResults or
-// EntryPerPage if maxResults is zero, and is sorted in ascending id order.
-func GetTopChannels(id int64, maxResults int64) ([]*ChannelMetric, bool) {
- return db.get().GetTopChannels(id, maxResults)
+// The arg id specifies that only top channel with id at or above it will be
+// included in the result. The returned slice is up to a length of the arg
+// maxResults or EntriesPerPage if maxResults is zero, and is sorted in ascending
+// id order.
+func GetTopChannels(id int64, maxResults int) ([]*Channel, bool) {
+ return db.getTopChannels(id, maxResults)
}
// GetServers returns a slice of server's ServerMetric, along with a
@@ -120,73 +71,69 @@ func GetTopChannels(id int64, maxResults int64) ([]*ChannelMetric, bool) {
//
// The arg id specifies that only server with id at or above it will be included
// in the result. The returned slice is up to a length of the arg maxResults or
-// EntryPerPage if maxResults is zero, and is sorted in ascending id order.
-func GetServers(id int64, maxResults int64) ([]*ServerMetric, bool) {
- return db.get().GetServers(id, maxResults)
+// EntriesPerPage if maxResults is zero, and is sorted in ascending id order.
+func GetServers(id int64, maxResults int) ([]*Server, bool) {
+ return db.getServers(id, maxResults)
}
// GetServerSockets returns a slice of server's (identified by id) normal socket's
-// SocketMetric, along with a boolean indicating whether there's more sockets to
+// SocketMetrics, along with a boolean indicating whether there's more sockets to
// be queried for.
//
// The arg startID specifies that only sockets with id at or above it will be
// included in the result. The returned slice is up to a length of the arg maxResults
-// or EntryPerPage if maxResults is zero, and is sorted in ascending id order.
-func GetServerSockets(id int64, startID int64, maxResults int64) ([]*SocketMetric, bool) {
- return db.get().GetServerSockets(id, startID, maxResults)
+// or EntriesPerPage if maxResults is zero, and is sorted in ascending id order.
+func GetServerSockets(id int64, startID int64, maxResults int) ([]*Socket, bool) {
+ return db.getServerSockets(id, startID, maxResults)
}
-// GetChannel returns the ChannelMetric for the channel (identified by id).
-func GetChannel(id int64) *ChannelMetric {
- return db.get().GetChannel(id)
+// GetChannel returns the Channel for the channel (identified by id).
+func GetChannel(id int64) *Channel {
+ return db.getChannel(id)
}
-// GetSubChannel returns the SubChannelMetric for the subchannel (identified by id).
-func GetSubChannel(id int64) *SubChannelMetric {
- return db.get().GetSubChannel(id)
+// GetSubChannel returns the SubChannel for the subchannel (identified by id).
+func GetSubChannel(id int64) *SubChannel {
+ return db.getSubChannel(id)
}
-// GetSocket returns the SocketInternalMetric for the socket (identified by id).
-func GetSocket(id int64) *SocketMetric {
- return db.get().GetSocket(id)
+// GetSocket returns the Socket for the socket (identified by id).
+func GetSocket(id int64) *Socket {
+ return db.getSocket(id)
}
// GetServer returns the ServerMetric for the server (identified by id).
-func GetServer(id int64) *ServerMetric {
- return db.get().GetServer(id)
+func GetServer(id int64) *Server {
+ return db.getServer(id)
}
// RegisterChannel registers the given channel c in the channelz database with
-// ref as its reference name, and adds it to the child list of its parent
-// (identified by pid). pid == nil means no parent.
+// target as its target and reference name, and adds it to the child list of its
+// parent. parent == nil means no parent.
//
// Returns a unique channelz identifier assigned to this channel.
//
// If channelz is not turned ON, the channelz database is not mutated.
-func RegisterChannel(c Channel, pid *Identifier, ref string) *Identifier {
+func RegisterChannel(parent *Channel, target string) *Channel {
id := IDGen.genID()
- var parent int64
- isTopChannel := true
- if pid != nil {
- isTopChannel = false
- parent = pid.Int()
- }
if !IsOn() {
- return newIdentifer(RefChannel, id, pid)
+ return &Channel{ID: id}
}
- cn := &channel{
- refName: ref,
- c: c,
- subChans: make(map[int64]string),
+ isTopChannel := parent == nil
+
+ cn := &Channel{
+ ID: id,
+ RefName: target,
nestedChans: make(map[int64]string),
- id: id,
- pid: parent,
- trace: &channelTrace{createdTime: time.Now(), events: make([]*TraceEvent, 0, getMaxTraceEntry())},
+ subChans: make(map[int64]string),
+ Parent: parent,
+ trace: &ChannelTrace{CreationTime: time.Now(), Events: make([]*traceEvent, 0, getMaxTraceEntry())},
}
- db.get().addChannel(id, cn, isTopChannel, parent)
- return newIdentifer(RefChannel, id, pid)
+ cn.ChannelMetrics.Target.Store(&target)
+ db.addChannel(id, cn, isTopChannel, cn.getParentID())
+ return cn
}
// RegisterSubChannel registers the given subChannel c in the channelz database
@@ -196,555 +143,67 @@ func RegisterChannel(c Channel, pid *Identifier, ref string) *Identifier {
// Returns a unique channelz identifier assigned to this subChannel.
//
// If channelz is not turned ON, the channelz database is not mutated.
-func RegisterSubChannel(c Channel, pid *Identifier, ref string) (*Identifier, error) {
- if pid == nil {
- return nil, errors.New("a SubChannel's parent id cannot be nil")
- }
+func RegisterSubChannel(parent *Channel, ref string) *SubChannel {
id := IDGen.genID()
- if !IsOn() {
- return newIdentifer(RefSubChannel, id, pid), nil
+ sc := &SubChannel{
+ ID: id,
+ RefName: ref,
+ parent: parent,
}
- sc := &subChannel{
- refName: ref,
- c: c,
- sockets: make(map[int64]string),
- id: id,
- pid: pid.Int(),
- trace: &channelTrace{createdTime: time.Now(), events: make([]*TraceEvent, 0, getMaxTraceEntry())},
+ if !IsOn() {
+ return sc
}
- db.get().addSubChannel(id, sc, pid.Int())
- return newIdentifer(RefSubChannel, id, pid), nil
+
+ sc.sockets = make(map[int64]string)
+ sc.trace = &ChannelTrace{CreationTime: time.Now(), Events: make([]*traceEvent, 0, getMaxTraceEntry())}
+ db.addSubChannel(id, sc, parent.ID)
+ return sc
}
// RegisterServer registers the given server s in channelz database. It returns
// the unique channelz tracking id assigned to this server.
//
// If channelz is not turned ON, the channelz database is not mutated.
-func RegisterServer(s Server, ref string) *Identifier {
+func RegisterServer(ref string) *Server {
id := IDGen.genID()
if !IsOn() {
- return newIdentifer(RefServer, id, nil)
+ return &Server{ID: id}
}
- svr := &server{
- refName: ref,
- s: s,
+ svr := &Server{
+ RefName: ref,
sockets: make(map[int64]string),
listenSockets: make(map[int64]string),
- id: id,
+ ID: id,
}
- db.get().addServer(id, svr)
- return newIdentifer(RefServer, id, nil)
+ db.addServer(id, svr)
+ return svr
}
-// RegisterListenSocket registers the given listen socket s in channelz database
-// with ref as its reference name, and add it to the child list of its parent
-// (identified by pid). It returns the unique channelz tracking id assigned to
-// this listen socket.
-//
-// If channelz is not turned ON, the channelz database is not mutated.
-func RegisterListenSocket(s Socket, pid *Identifier, ref string) (*Identifier, error) {
- if pid == nil {
- return nil, errors.New("a ListenSocket's parent id cannot be 0")
- }
- id := IDGen.genID()
- if !IsOn() {
- return newIdentifer(RefListenSocket, id, pid), nil
- }
-
- ls := &listenSocket{refName: ref, s: s, id: id, pid: pid.Int()}
- db.get().addListenSocket(id, ls, pid.Int())
- return newIdentifer(RefListenSocket, id, pid), nil
-}
-
-// RegisterNormalSocket registers the given normal socket s in channelz database
+// RegisterSocket registers the given normal socket s in channelz database
// with ref as its reference name, and adds it to the child list of its parent
-// (identified by pid). It returns the unique channelz tracking id assigned to
-// this normal socket.
+// (identified by skt.Parent, which must be set). It returns the unique channelz
+// tracking id assigned to this normal socket.
//
// If channelz is not turned ON, the channelz database is not mutated.
-func RegisterNormalSocket(s Socket, pid *Identifier, ref string) (*Identifier, error) {
- if pid == nil {
- return nil, errors.New("a NormalSocket's parent id cannot be 0")
+func RegisterSocket(skt *Socket) *Socket {
+ skt.ID = IDGen.genID()
+ if IsOn() {
+ db.addSocket(skt)
}
- id := IDGen.genID()
- if !IsOn() {
- return newIdentifer(RefNormalSocket, id, pid), nil
- }
-
- ns := &normalSocket{refName: ref, s: s, id: id, pid: pid.Int()}
- db.get().addNormalSocket(id, ns, pid.Int())
- return newIdentifer(RefNormalSocket, id, pid), nil
+ return skt
}
// RemoveEntry removes an entry with unique channelz tracking id to be id from
// channelz database.
//
// If channelz is not turned ON, this function is a no-op.
-func RemoveEntry(id *Identifier) {
+func RemoveEntry(id int64) {
if !IsOn() {
return
}
- db.get().removeEntry(id.Int())
-}
-
-// TraceEventDesc is what the caller of AddTraceEvent should provide to describe
-// the event to be added to the channel trace.
-//
-// The Parent field is optional. It is used for an event that will be recorded
-// in the entity's parent trace.
-type TraceEventDesc struct {
- Desc string
- Severity Severity
- Parent *TraceEventDesc
-}
-
-// AddTraceEvent adds trace related to the entity with specified id, using the
-// provided TraceEventDesc.
-//
-// If channelz is not turned ON, this will simply log the event descriptions.
-func AddTraceEvent(l grpclog.DepthLoggerV2, id *Identifier, depth int, desc *TraceEventDesc) {
- // Log only the trace description associated with the bottom most entity.
- switch desc.Severity {
- case CtUnknown, CtInfo:
- l.InfoDepth(depth+1, withParens(id)+desc.Desc)
- case CtWarning:
- l.WarningDepth(depth+1, withParens(id)+desc.Desc)
- case CtError:
- l.ErrorDepth(depth+1, withParens(id)+desc.Desc)
- }
-
- if getMaxTraceEntry() == 0 {
- return
- }
- if IsOn() {
- db.get().traceEvent(id.Int(), desc)
- }
-}
-
-// channelMap is the storage data structure for channelz.
-// Methods of channelMap can be divided in two two categories with respect to locking.
-// 1. Methods acquire the global lock.
-// 2. Methods that can only be called when global lock is held.
-// A second type of method need always to be called inside a first type of method.
-type channelMap struct {
- mu sync.RWMutex
- topLevelChannels map[int64]struct{}
- servers map[int64]*server
- channels map[int64]*channel
- subChannels map[int64]*subChannel
- listenSockets map[int64]*listenSocket
- normalSockets map[int64]*normalSocket
-}
-
-func newChannelMap() *channelMap {
- return &channelMap{
- topLevelChannels: make(map[int64]struct{}),
- channels: make(map[int64]*channel),
- listenSockets: make(map[int64]*listenSocket),
- normalSockets: make(map[int64]*normalSocket),
- servers: make(map[int64]*server),
- subChannels: make(map[int64]*subChannel),
- }
-}
-
-func (c *channelMap) addServer(id int64, s *server) {
- c.mu.Lock()
- s.cm = c
- c.servers[id] = s
- c.mu.Unlock()
-}
-
-func (c *channelMap) addChannel(id int64, cn *channel, isTopChannel bool, pid int64) {
- c.mu.Lock()
- cn.cm = c
- cn.trace.cm = c
- c.channels[id] = cn
- if isTopChannel {
- c.topLevelChannels[id] = struct{}{}
- } else {
- c.findEntry(pid).addChild(id, cn)
- }
- c.mu.Unlock()
-}
-
-func (c *channelMap) addSubChannel(id int64, sc *subChannel, pid int64) {
- c.mu.Lock()
- sc.cm = c
- sc.trace.cm = c
- c.subChannels[id] = sc
- c.findEntry(pid).addChild(id, sc)
- c.mu.Unlock()
-}
-
-func (c *channelMap) addListenSocket(id int64, ls *listenSocket, pid int64) {
- c.mu.Lock()
- ls.cm = c
- c.listenSockets[id] = ls
- c.findEntry(pid).addChild(id, ls)
- c.mu.Unlock()
-}
-
-func (c *channelMap) addNormalSocket(id int64, ns *normalSocket, pid int64) {
- c.mu.Lock()
- ns.cm = c
- c.normalSockets[id] = ns
- c.findEntry(pid).addChild(id, ns)
- c.mu.Unlock()
-}
-
-// removeEntry triggers the removal of an entry, which may not indeed delete the entry, if it has to
-// wait on the deletion of its children and until no other entity's channel trace references it.
-// It may lead to a chain of entry deletion. For example, deleting the last socket of a gracefully
-// shutting down server will lead to the server being also deleted.
-func (c *channelMap) removeEntry(id int64) {
- c.mu.Lock()
- c.findEntry(id).triggerDelete()
- c.mu.Unlock()
-}
-
-// c.mu must be held by the caller
-func (c *channelMap) decrTraceRefCount(id int64) {
- e := c.findEntry(id)
- if v, ok := e.(tracedChannel); ok {
- v.decrTraceRefCount()
- e.deleteSelfIfReady()
- }
-}
-
-// c.mu must be held by the caller.
-func (c *channelMap) findEntry(id int64) entry {
- var v entry
- var ok bool
- if v, ok = c.channels[id]; ok {
- return v
- }
- if v, ok = c.subChannels[id]; ok {
- return v
- }
- if v, ok = c.servers[id]; ok {
- return v
- }
- if v, ok = c.listenSockets[id]; ok {
- return v
- }
- if v, ok = c.normalSockets[id]; ok {
- return v
- }
- return &dummyEntry{idNotFound: id}
-}
-
-// c.mu must be held by the caller
-// deleteEntry simply deletes an entry from the channelMap. Before calling this
-// method, caller must check this entry is ready to be deleted, i.e removeEntry()
-// has been called on it, and no children still exist.
-// Conditionals are ordered by the expected frequency of deletion of each entity
-// type, in order to optimize performance.
-func (c *channelMap) deleteEntry(id int64) {
- var ok bool
- if _, ok = c.normalSockets[id]; ok {
- delete(c.normalSockets, id)
- return
- }
- if _, ok = c.subChannels[id]; ok {
- delete(c.subChannels, id)
- return
- }
- if _, ok = c.channels[id]; ok {
- delete(c.channels, id)
- delete(c.topLevelChannels, id)
- return
- }
- if _, ok = c.listenSockets[id]; ok {
- delete(c.listenSockets, id)
- return
- }
- if _, ok = c.servers[id]; ok {
- delete(c.servers, id)
- return
- }
-}
-
-func (c *channelMap) traceEvent(id int64, desc *TraceEventDesc) {
- c.mu.Lock()
- child := c.findEntry(id)
- childTC, ok := child.(tracedChannel)
- if !ok {
- c.mu.Unlock()
- return
- }
- childTC.getChannelTrace().append(&TraceEvent{Desc: desc.Desc, Severity: desc.Severity, Timestamp: time.Now()})
- if desc.Parent != nil {
- parent := c.findEntry(child.getParentID())
- var chanType RefChannelType
- switch child.(type) {
- case *channel:
- chanType = RefChannel
- case *subChannel:
- chanType = RefSubChannel
- }
- if parentTC, ok := parent.(tracedChannel); ok {
- parentTC.getChannelTrace().append(&TraceEvent{
- Desc: desc.Parent.Desc,
- Severity: desc.Parent.Severity,
- Timestamp: time.Now(),
- RefID: id,
- RefName: childTC.getRefName(),
- RefType: chanType,
- })
- childTC.incrTraceRefCount()
- }
- }
- c.mu.Unlock()
-}
-
-type int64Slice []int64
-
-func (s int64Slice) Len() int { return len(s) }
-func (s int64Slice) Swap(i, j int) { s[i], s[j] = s[j], s[i] }
-func (s int64Slice) Less(i, j int) bool { return s[i] < s[j] }
-
-func copyMap(m map[int64]string) map[int64]string {
- n := make(map[int64]string)
- for k, v := range m {
- n[k] = v
- }
- return n
-}
-
-func min(a, b int64) int64 {
- if a < b {
- return a
- }
- return b
-}
-
-func (c *channelMap) GetTopChannels(id int64, maxResults int64) ([]*ChannelMetric, bool) {
- if maxResults <= 0 {
- maxResults = EntryPerPage
- }
- c.mu.RLock()
- l := int64(len(c.topLevelChannels))
- ids := make([]int64, 0, l)
- cns := make([]*channel, 0, min(l, maxResults))
-
- for k := range c.topLevelChannels {
- ids = append(ids, k)
- }
- sort.Sort(int64Slice(ids))
- idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id })
- count := int64(0)
- var end bool
- var t []*ChannelMetric
- for i, v := range ids[idx:] {
- if count == maxResults {
- break
- }
- if cn, ok := c.channels[v]; ok {
- cns = append(cns, cn)
- t = append(t, &ChannelMetric{
- NestedChans: copyMap(cn.nestedChans),
- SubChans: copyMap(cn.subChans),
- })
- count++
- }
- if i == len(ids[idx:])-1 {
- end = true
- break
- }
- }
- c.mu.RUnlock()
- if count == 0 {
- end = true
- }
-
- for i, cn := range cns {
- t[i].ChannelData = cn.c.ChannelzMetric()
- t[i].ID = cn.id
- t[i].RefName = cn.refName
- t[i].Trace = cn.trace.dumpData()
- }
- return t, end
-}
-
-func (c *channelMap) GetServers(id, maxResults int64) ([]*ServerMetric, bool) {
- if maxResults <= 0 {
- maxResults = EntryPerPage
- }
- c.mu.RLock()
- l := int64(len(c.servers))
- ids := make([]int64, 0, l)
- ss := make([]*server, 0, min(l, maxResults))
- for k := range c.servers {
- ids = append(ids, k)
- }
- sort.Sort(int64Slice(ids))
- idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= id })
- count := int64(0)
- var end bool
- var s []*ServerMetric
- for i, v := range ids[idx:] {
- if count == maxResults {
- break
- }
- if svr, ok := c.servers[v]; ok {
- ss = append(ss, svr)
- s = append(s, &ServerMetric{
- ListenSockets: copyMap(svr.listenSockets),
- })
- count++
- }
- if i == len(ids[idx:])-1 {
- end = true
- break
- }
- }
- c.mu.RUnlock()
- if count == 0 {
- end = true
- }
-
- for i, svr := range ss {
- s[i].ServerData = svr.s.ChannelzMetric()
- s[i].ID = svr.id
- s[i].RefName = svr.refName
- }
- return s, end
-}
-
-func (c *channelMap) GetServerSockets(id int64, startID int64, maxResults int64) ([]*SocketMetric, bool) {
- if maxResults <= 0 {
- maxResults = EntryPerPage
- }
- var svr *server
- var ok bool
- c.mu.RLock()
- if svr, ok = c.servers[id]; !ok {
- // server with id doesn't exist.
- c.mu.RUnlock()
- return nil, true
- }
- svrskts := svr.sockets
- l := int64(len(svrskts))
- ids := make([]int64, 0, l)
- sks := make([]*normalSocket, 0, min(l, maxResults))
- for k := range svrskts {
- ids = append(ids, k)
- }
- sort.Sort(int64Slice(ids))
- idx := sort.Search(len(ids), func(i int) bool { return ids[i] >= startID })
- count := int64(0)
- var end bool
- for i, v := range ids[idx:] {
- if count == maxResults {
- break
- }
- if ns, ok := c.normalSockets[v]; ok {
- sks = append(sks, ns)
- count++
- }
- if i == len(ids[idx:])-1 {
- end = true
- break
- }
- }
- c.mu.RUnlock()
- if count == 0 {
- end = true
- }
- s := make([]*SocketMetric, 0, len(sks))
- for _, ns := range sks {
- sm := &SocketMetric{}
- sm.SocketData = ns.s.ChannelzMetric()
- sm.ID = ns.id
- sm.RefName = ns.refName
- s = append(s, sm)
- }
- return s, end
-}
-
-func (c *channelMap) GetChannel(id int64) *ChannelMetric {
- cm := &ChannelMetric{}
- var cn *channel
- var ok bool
- c.mu.RLock()
- if cn, ok = c.channels[id]; !ok {
- // channel with id doesn't exist.
- c.mu.RUnlock()
- return nil
- }
- cm.NestedChans = copyMap(cn.nestedChans)
- cm.SubChans = copyMap(cn.subChans)
- // cn.c can be set to &dummyChannel{} when deleteSelfFromMap is called. Save a copy of cn.c when
- // holding the lock to prevent potential data race.
- chanCopy := cn.c
- c.mu.RUnlock()
- cm.ChannelData = chanCopy.ChannelzMetric()
- cm.ID = cn.id
- cm.RefName = cn.refName
- cm.Trace = cn.trace.dumpData()
- return cm
-}
-
-func (c *channelMap) GetSubChannel(id int64) *SubChannelMetric {
- cm := &SubChannelMetric{}
- var sc *subChannel
- var ok bool
- c.mu.RLock()
- if sc, ok = c.subChannels[id]; !ok {
- // subchannel with id doesn't exist.
- c.mu.RUnlock()
- return nil
- }
- cm.Sockets = copyMap(sc.sockets)
- // sc.c can be set to &dummyChannel{} when deleteSelfFromMap is called. Save a copy of sc.c when
- // holding the lock to prevent potential data race.
- chanCopy := sc.c
- c.mu.RUnlock()
- cm.ChannelData = chanCopy.ChannelzMetric()
- cm.ID = sc.id
- cm.RefName = sc.refName
- cm.Trace = sc.trace.dumpData()
- return cm
-}
-
-func (c *channelMap) GetSocket(id int64) *SocketMetric {
- sm := &SocketMetric{}
- c.mu.RLock()
- if ls, ok := c.listenSockets[id]; ok {
- c.mu.RUnlock()
- sm.SocketData = ls.s.ChannelzMetric()
- sm.ID = ls.id
- sm.RefName = ls.refName
- return sm
- }
- if ns, ok := c.normalSockets[id]; ok {
- c.mu.RUnlock()
- sm.SocketData = ns.s.ChannelzMetric()
- sm.ID = ns.id
- sm.RefName = ns.refName
- return sm
- }
- c.mu.RUnlock()
- return nil
-}
-
-func (c *channelMap) GetServer(id int64) *ServerMetric {
- sm := &ServerMetric{}
- var svr *server
- var ok bool
- c.mu.RLock()
- if svr, ok = c.servers[id]; !ok {
- c.mu.RUnlock()
- return nil
- }
- sm.ListenSockets = copyMap(svr.listenSockets)
- c.mu.RUnlock()
- sm.ID = svr.id
- sm.RefName = svr.refName
- sm.ServerData = svr.s.ChannelzMetric()
- return sm
+ db.removeEntry(id)
}
// IDGenerator is an incrementing atomic that tracks IDs for channelz entities.
@@ -761,3 +220,11 @@ func (i *IDGenerator) Reset() {
func (i *IDGenerator) genID() int64 {
return atomic.AddInt64(&i.id, 1)
}
+
+// Identifier is an opaque channelz identifier used to expose channelz symbols
+// outside of grpc. Currently only implemented by Channel since no other
+// types require exposure outside grpc.
+type Identifier interface {
+ Entity
+ channelzIdentifier()
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/id.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/id.go
deleted file mode 100644
index c9a27acd37..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/id.go
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- *
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-package channelz
-
-import "fmt"
-
-// Identifier is an opaque identifier which uniquely identifies an entity in the
-// channelz database.
-type Identifier struct {
- typ RefChannelType
- id int64
- str string
- pid *Identifier
-}
-
-// Type returns the entity type corresponding to id.
-func (id *Identifier) Type() RefChannelType {
- return id.typ
-}
-
-// Int returns the integer identifier corresponding to id.
-func (id *Identifier) Int() int64 {
- return id.id
-}
-
-// String returns a string representation of the entity corresponding to id.
-//
-// This includes some information about the parent as well. Examples:
-// Top-level channel: [Channel #channel-number]
-// Nested channel: [Channel #parent-channel-number Channel #channel-number]
-// Sub channel: [Channel #parent-channel SubChannel #subchannel-number]
-func (id *Identifier) String() string {
- return id.str
-}
-
-// Equal returns true if other is the same as id.
-func (id *Identifier) Equal(other *Identifier) bool {
- if (id != nil) != (other != nil) {
- return false
- }
- if id == nil && other == nil {
- return true
- }
- return id.typ == other.typ && id.id == other.id && id.pid == other.pid
-}
-
-// NewIdentifierForTesting returns a new opaque identifier to be used only for
-// testing purposes.
-func NewIdentifierForTesting(typ RefChannelType, id int64, pid *Identifier) *Identifier {
- return newIdentifer(typ, id, pid)
-}
-
-func newIdentifer(typ RefChannelType, id int64, pid *Identifier) *Identifier {
- str := fmt.Sprintf("%s #%d", typ, id)
- if pid != nil {
- str = fmt.Sprintf("%s %s", pid, str)
- }
- return &Identifier{typ: typ, id: id, str: str, pid: pid}
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/logging.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/logging.go
index f89e6f77bb..ee4d721258 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/logging.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/logging.go
@@ -26,53 +26,49 @@ import (
var logger = grpclog.Component("channelz")
-func withParens(id *Identifier) string {
- return "[" + id.String() + "] "
-}
-
// Info logs and adds a trace event if channelz is on.
-func Info(l grpclog.DepthLoggerV2, id *Identifier, args ...any) {
- AddTraceEvent(l, id, 1, &TraceEventDesc{
+func Info(l grpclog.DepthLoggerV2, e Entity, args ...any) {
+ AddTraceEvent(l, e, 1, &TraceEvent{
Desc: fmt.Sprint(args...),
Severity: CtInfo,
})
}
// Infof logs and adds a trace event if channelz is on.
-func Infof(l grpclog.DepthLoggerV2, id *Identifier, format string, args ...any) {
- AddTraceEvent(l, id, 1, &TraceEventDesc{
+func Infof(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) {
+ AddTraceEvent(l, e, 1, &TraceEvent{
Desc: fmt.Sprintf(format, args...),
Severity: CtInfo,
})
}
// Warning logs and adds a trace event if channelz is on.
-func Warning(l grpclog.DepthLoggerV2, id *Identifier, args ...any) {
- AddTraceEvent(l, id, 1, &TraceEventDesc{
+func Warning(l grpclog.DepthLoggerV2, e Entity, args ...any) {
+ AddTraceEvent(l, e, 1, &TraceEvent{
Desc: fmt.Sprint(args...),
Severity: CtWarning,
})
}
// Warningf logs and adds a trace event if channelz is on.
-func Warningf(l grpclog.DepthLoggerV2, id *Identifier, format string, args ...any) {
- AddTraceEvent(l, id, 1, &TraceEventDesc{
+func Warningf(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) {
+ AddTraceEvent(l, e, 1, &TraceEvent{
Desc: fmt.Sprintf(format, args...),
Severity: CtWarning,
})
}
// Error logs and adds a trace event if channelz is on.
-func Error(l grpclog.DepthLoggerV2, id *Identifier, args ...any) {
- AddTraceEvent(l, id, 1, &TraceEventDesc{
+func Error(l grpclog.DepthLoggerV2, e Entity, args ...any) {
+ AddTraceEvent(l, e, 1, &TraceEvent{
Desc: fmt.Sprint(args...),
Severity: CtError,
})
}
// Errorf logs and adds a trace event if channelz is on.
-func Errorf(l grpclog.DepthLoggerV2, id *Identifier, format string, args ...any) {
- AddTraceEvent(l, id, 1, &TraceEventDesc{
+func Errorf(l grpclog.DepthLoggerV2, e Entity, format string, args ...any) {
+ AddTraceEvent(l, e, 1, &TraceEvent{
Desc: fmt.Sprintf(format, args...),
Severity: CtError,
})
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/server.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/server.go
new file mode 100644
index 0000000000..cdfc49d6ea
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/server.go
@@ -0,0 +1,119 @@
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package channelz
+
+import (
+ "fmt"
+ "sync/atomic"
+)
+
+// Server is the channelz representation of a server.
+type Server struct {
+ Entity
+ ID int64
+ RefName string
+
+ ServerMetrics ServerMetrics
+
+ closeCalled bool
+ sockets map[int64]string
+ listenSockets map[int64]string
+ cm *channelMap
+}
+
+// ServerMetrics defines a struct containing metrics for servers.
+type ServerMetrics struct {
+ // The number of incoming calls started on the server.
+ CallsStarted atomic.Int64
+ // The number of incoming calls that have completed with an OK status.
+ CallsSucceeded atomic.Int64
+ // The number of incoming calls that have a completed with a non-OK status.
+ CallsFailed atomic.Int64
+ // The last time a call was started on the server.
+ LastCallStartedTimestamp atomic.Int64
+}
+
+// NewServerMetricsForTesting returns an initialized ServerMetrics.
+func NewServerMetricsForTesting(started, succeeded, failed, timestamp int64) *ServerMetrics {
+ sm := &ServerMetrics{}
+ sm.CallsStarted.Store(started)
+ sm.CallsSucceeded.Store(succeeded)
+ sm.CallsFailed.Store(failed)
+ sm.LastCallStartedTimestamp.Store(timestamp)
+ return sm
+}
+
+func (sm *ServerMetrics) CopyFrom(o *ServerMetrics) {
+ sm.CallsStarted.Store(o.CallsStarted.Load())
+ sm.CallsSucceeded.Store(o.CallsSucceeded.Load())
+ sm.CallsFailed.Store(o.CallsFailed.Load())
+ sm.LastCallStartedTimestamp.Store(o.LastCallStartedTimestamp.Load())
+}
+
+// ListenSockets returns the listening sockets for s.
+func (s *Server) ListenSockets() map[int64]string {
+ db.mu.RLock()
+ defer db.mu.RUnlock()
+ return copyMap(s.listenSockets)
+}
+
+// String returns a printable description of s.
+func (s *Server) String() string {
+ return fmt.Sprintf("Server #%d", s.ID)
+}
+
+func (s *Server) id() int64 {
+ return s.ID
+}
+
+func (s *Server) addChild(id int64, e entry) {
+ switch v := e.(type) {
+ case *Socket:
+ switch v.SocketType {
+ case SocketTypeNormal:
+ s.sockets[id] = v.RefName
+ case SocketTypeListen:
+ s.listenSockets[id] = v.RefName
+ }
+ default:
+ logger.Errorf("cannot add a child (id = %d) of type %T to a server", id, e)
+ }
+}
+
+func (s *Server) deleteChild(id int64) {
+ delete(s.sockets, id)
+ delete(s.listenSockets, id)
+ s.deleteSelfIfReady()
+}
+
+func (s *Server) triggerDelete() {
+ s.closeCalled = true
+ s.deleteSelfIfReady()
+}
+
+func (s *Server) deleteSelfIfReady() {
+ if !s.closeCalled || len(s.sockets)+len(s.listenSockets) != 0 {
+ return
+ }
+ s.cm.deleteEntry(s.ID)
+}
+
+func (s *Server) getParentID() int64 {
+ return 0
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/socket.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/socket.go
new file mode 100644
index 0000000000..fa64834b25
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/socket.go
@@ -0,0 +1,130 @@
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package channelz
+
+import (
+ "fmt"
+ "net"
+ "sync/atomic"
+
+ "google.golang.org/grpc/credentials"
+)
+
+// SocketMetrics defines the struct that the implementor of Socket interface
+// should return from ChannelzMetric().
+type SocketMetrics struct {
+ // The number of streams that have been started.
+ StreamsStarted atomic.Int64
+ // The number of streams that have ended successfully:
+ // On client side, receiving frame with eos bit set.
+ // On server side, sending frame with eos bit set.
+ StreamsSucceeded atomic.Int64
+ // The number of streams that have ended unsuccessfully:
+ // On client side, termination without receiving frame with eos bit set.
+ // On server side, termination without sending frame with eos bit set.
+ StreamsFailed atomic.Int64
+ // The number of messages successfully sent on this socket.
+ MessagesSent atomic.Int64
+ MessagesReceived atomic.Int64
+ // The number of keep alives sent. This is typically implemented with HTTP/2
+ // ping messages.
+ KeepAlivesSent atomic.Int64
+ // The last time a stream was created by this endpoint. Usually unset for
+ // servers.
+ LastLocalStreamCreatedTimestamp atomic.Int64
+ // The last time a stream was created by the remote endpoint. Usually unset
+ // for clients.
+ LastRemoteStreamCreatedTimestamp atomic.Int64
+ // The last time a message was sent by this endpoint.
+ LastMessageSentTimestamp atomic.Int64
+ // The last time a message was received by this endpoint.
+ LastMessageReceivedTimestamp atomic.Int64
+}
+
+// EphemeralSocketMetrics are metrics that change rapidly and are tracked
+// outside of channelz.
+type EphemeralSocketMetrics struct {
+ // The amount of window, granted to the local endpoint by the remote endpoint.
+ // This may be slightly out of date due to network latency. This does NOT
+ // include stream level or TCP level flow control info.
+ LocalFlowControlWindow int64
+ // The amount of window, granted to the remote endpoint by the local endpoint.
+ // This may be slightly out of date due to network latency. This does NOT
+ // include stream level or TCP level flow control info.
+ RemoteFlowControlWindow int64
+}
+
+type SocketType string
+
+const (
+ SocketTypeNormal = "NormalSocket"
+ SocketTypeListen = "ListenSocket"
+)
+
+type Socket struct {
+ Entity
+ SocketType SocketType
+ ID int64
+ Parent Entity
+ cm *channelMap
+ SocketMetrics SocketMetrics
+ EphemeralMetrics func() *EphemeralSocketMetrics
+
+ RefName string
+ // The locally bound address. Immutable.
+ LocalAddr net.Addr
+ // The remote bound address. May be absent. Immutable.
+ RemoteAddr net.Addr
+ // Optional, represents the name of the remote endpoint, if different than
+ // the original target name. Immutable.
+ RemoteName string
+ // Immutable.
+ SocketOptions *SocketOptionData
+ // Immutable.
+ Security credentials.ChannelzSecurityValue
+}
+
+func (ls *Socket) String() string {
+ return fmt.Sprintf("%s %s #%d", ls.Parent, ls.SocketType, ls.ID)
+}
+
+func (ls *Socket) id() int64 {
+ return ls.ID
+}
+
+func (ls *Socket) addChild(id int64, e entry) {
+ logger.Errorf("cannot add a child (id = %d) of type %T to a listen socket", id, e)
+}
+
+func (ls *Socket) deleteChild(id int64) {
+ logger.Errorf("cannot delete a child (id = %d) from a listen socket", id)
+}
+
+func (ls *Socket) triggerDelete() {
+ ls.cm.deleteEntry(ls.ID)
+ ls.Parent.(entry).deleteChild(ls.ID)
+}
+
+func (ls *Socket) deleteSelfIfReady() {
+ logger.Errorf("cannot call deleteSelfIfReady on a listen socket")
+}
+
+func (ls *Socket) getParentID() int64 {
+ return ls.Parent.id()
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/subchannel.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/subchannel.go
new file mode 100644
index 0000000000..3b88e4cba8
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/subchannel.go
@@ -0,0 +1,151 @@
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package channelz
+
+import (
+ "fmt"
+ "sync/atomic"
+)
+
+// SubChannel is the channelz representation of a subchannel.
+type SubChannel struct {
+ Entity
+ // ID is the channelz id of this subchannel.
+ ID int64
+ // RefName is the human readable reference string of this subchannel.
+ RefName string
+ closeCalled bool
+ sockets map[int64]string
+ parent *Channel
+ trace *ChannelTrace
+ traceRefCount int32
+
+ ChannelMetrics ChannelMetrics
+}
+
+func (sc *SubChannel) String() string {
+ return fmt.Sprintf("%s SubChannel #%d", sc.parent, sc.ID)
+}
+
+func (sc *SubChannel) id() int64 {
+ return sc.ID
+}
+
+func (sc *SubChannel) Sockets() map[int64]string {
+ db.mu.RLock()
+ defer db.mu.RUnlock()
+ return copyMap(sc.sockets)
+}
+
+func (sc *SubChannel) Trace() *ChannelTrace {
+ db.mu.RLock()
+ defer db.mu.RUnlock()
+ return sc.trace.copy()
+}
+
+func (sc *SubChannel) addChild(id int64, e entry) {
+ if v, ok := e.(*Socket); ok && v.SocketType == SocketTypeNormal {
+ sc.sockets[id] = v.RefName
+ } else {
+ logger.Errorf("cannot add a child (id = %d) of type %T to a subChannel", id, e)
+ }
+}
+
+func (sc *SubChannel) deleteChild(id int64) {
+ delete(sc.sockets, id)
+ sc.deleteSelfIfReady()
+}
+
+func (sc *SubChannel) triggerDelete() {
+ sc.closeCalled = true
+ sc.deleteSelfIfReady()
+}
+
+func (sc *SubChannel) getParentID() int64 {
+ return sc.parent.ID
+}
+
+// deleteSelfFromTree tries to delete the subchannel from the channelz entry relation tree, which
+// means deleting the subchannel reference from its parent's child list.
+//
+// In order for a subchannel to be deleted from the tree, it must meet the criteria that, removal of
+// the corresponding grpc object has been invoked, and the subchannel does not have any children left.
+//
+// The returned boolean value indicates whether the channel has been successfully deleted from tree.
+func (sc *SubChannel) deleteSelfFromTree() (deleted bool) {
+ if !sc.closeCalled || len(sc.sockets) != 0 {
+ return false
+ }
+ sc.parent.deleteChild(sc.ID)
+ return true
+}
+
+// deleteSelfFromMap checks whether it is valid to delete the subchannel from the map, which means
+// deleting the subchannel from channelz's tracking entirely. Users can no longer use id to query
+// the subchannel, and its memory will be garbage collected.
+//
+// The trace reference count of the subchannel must be 0 in order to be deleted from the map. This is
+// specified in the channel tracing gRFC that as long as some other trace has reference to an entity,
+// the trace of the referenced entity must not be deleted. In order to release the resource allocated
+// by grpc, the reference to the grpc object is reset to a dummy object.
+//
+// deleteSelfFromMap must be called after deleteSelfFromTree returns true.
+//
+// It returns a bool to indicate whether the channel can be safely deleted from map.
+func (sc *SubChannel) deleteSelfFromMap() (delete bool) {
+ return sc.getTraceRefCount() == 0
+}
+
+// deleteSelfIfReady tries to delete the subchannel itself from the channelz database.
+// The delete process includes two steps:
+// 1. delete the subchannel from the entry relation tree, i.e. delete the subchannel reference from
+// its parent's child list.
+// 2. delete the subchannel from the map, i.e. delete the subchannel entirely from channelz. Lookup
+// by id will return entry not found error.
+func (sc *SubChannel) deleteSelfIfReady() {
+ if !sc.deleteSelfFromTree() {
+ return
+ }
+ if !sc.deleteSelfFromMap() {
+ return
+ }
+ db.deleteEntry(sc.ID)
+ sc.trace.clear()
+}
+
+func (sc *SubChannel) getChannelTrace() *ChannelTrace {
+ return sc.trace
+}
+
+func (sc *SubChannel) incrTraceRefCount() {
+ atomic.AddInt32(&sc.traceRefCount, 1)
+}
+
+func (sc *SubChannel) decrTraceRefCount() {
+ atomic.AddInt32(&sc.traceRefCount, -1)
+}
+
+func (sc *SubChannel) getTraceRefCount() int {
+ i := atomic.LoadInt32(&sc.traceRefCount)
+ return int(i)
+}
+
+func (sc *SubChannel) getRefName() string {
+ return sc.RefName
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types_linux.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/syscall_linux.go
similarity index 83%
rename from cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types_linux.go
rename to cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/syscall_linux.go
index 1b1c4cce34..5ac73ff833 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types_linux.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/syscall_linux.go
@@ -49,3 +49,17 @@ func (s *SocketOptionData) Getsockopt(fd uintptr) {
s.TCPInfo = v
}
}
+
+// GetSocketOption gets the socket option info of the conn.
+func GetSocketOption(socket any) *SocketOptionData {
+ c, ok := socket.(syscall.Conn)
+ if !ok {
+ return nil
+ }
+ data := &SocketOptionData{}
+ if rawConn, err := c.SyscallConn(); err == nil {
+ rawConn.Control(data.Getsockopt)
+ return data
+ }
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/syscall_nonlinux.go
similarity index 90%
rename from cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go
rename to cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/syscall_nonlinux.go
index 8b06eed1ab..d1ed8df6a5 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/syscall_nonlinux.go
@@ -1,5 +1,4 @@
//go:build !linux
-// +build !linux
/*
*
@@ -41,3 +40,8 @@ func (s *SocketOptionData) Getsockopt(fd uintptr) {
logger.Warning("Channelz: socket options are not supported on non-linux environments")
})
}
+
+// GetSocketOption gets the socket option info of the conn.
+func GetSocketOption(c any) *SocketOptionData {
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/trace.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/trace.go
new file mode 100644
index 0000000000..36b8674032
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/trace.go
@@ -0,0 +1,204 @@
+/*
+ *
+ * Copyright 2018 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package channelz
+
+import (
+ "fmt"
+ "sync"
+ "sync/atomic"
+ "time"
+
+ "google.golang.org/grpc/grpclog"
+)
+
+const (
+ defaultMaxTraceEntry int32 = 30
+)
+
+var maxTraceEntry = defaultMaxTraceEntry
+
+// SetMaxTraceEntry sets maximum number of trace entries per entity (i.e.
+// channel/subchannel). Setting it to 0 will disable channel tracing.
+func SetMaxTraceEntry(i int32) {
+ atomic.StoreInt32(&maxTraceEntry, i)
+}
+
+// ResetMaxTraceEntryToDefault resets the maximum number of trace entries per
+// entity to default.
+func ResetMaxTraceEntryToDefault() {
+ atomic.StoreInt32(&maxTraceEntry, defaultMaxTraceEntry)
+}
+
+func getMaxTraceEntry() int {
+ i := atomic.LoadInt32(&maxTraceEntry)
+ return int(i)
+}
+
+// traceEvent is an internal representation of a single trace event
+type traceEvent struct {
+ // Desc is a simple description of the trace event.
+ Desc string
+ // Severity states the severity of this trace event.
+ Severity Severity
+ // Timestamp is the event time.
+ Timestamp time.Time
+ // RefID is the id of the entity that gets referenced in the event. RefID is 0 if no other entity is
+ // involved in this event.
+ // e.g. SubChannel (id: 4[]) Created. --> RefID = 4, RefName = "" (inside [])
+ RefID int64
+ // RefName is the reference name for the entity that gets referenced in the event.
+ RefName string
+ // RefType indicates the referenced entity type, i.e Channel or SubChannel.
+ RefType RefChannelType
+}
+
+// TraceEvent is what the caller of AddTraceEvent should provide to describe the
+// event to be added to the channel trace.
+//
+// The Parent field is optional. It is used for an event that will be recorded
+// in the entity's parent trace.
+type TraceEvent struct {
+ Desc string
+ Severity Severity
+ Parent *TraceEvent
+}
+
+type ChannelTrace struct {
+ cm *channelMap
+ clearCalled bool
+ CreationTime time.Time
+ EventNum int64
+ mu sync.Mutex
+ Events []*traceEvent
+}
+
+func (c *ChannelTrace) copy() *ChannelTrace {
+ return &ChannelTrace{
+ CreationTime: c.CreationTime,
+ EventNum: c.EventNum,
+ Events: append(([]*traceEvent)(nil), c.Events...),
+ }
+}
+
+func (c *ChannelTrace) append(e *traceEvent) {
+ c.mu.Lock()
+ if len(c.Events) == getMaxTraceEntry() {
+ del := c.Events[0]
+ c.Events = c.Events[1:]
+ if del.RefID != 0 {
+ // start recursive cleanup in a goroutine to not block the call originated from grpc.
+ go func() {
+ // need to acquire c.cm.mu lock to call the unlocked attemptCleanup func.
+ c.cm.mu.Lock()
+ c.cm.decrTraceRefCount(del.RefID)
+ c.cm.mu.Unlock()
+ }()
+ }
+ }
+ e.Timestamp = time.Now()
+ c.Events = append(c.Events, e)
+ c.EventNum++
+ c.mu.Unlock()
+}
+
+func (c *ChannelTrace) clear() {
+ if c.clearCalled {
+ return
+ }
+ c.clearCalled = true
+ c.mu.Lock()
+ for _, e := range c.Events {
+ if e.RefID != 0 {
+ // caller should have already held the c.cm.mu lock.
+ c.cm.decrTraceRefCount(e.RefID)
+ }
+ }
+ c.mu.Unlock()
+}
+
+// Severity is the severity level of a trace event.
+// The canonical enumeration of all valid values is here:
+// https://github.com/grpc/grpc-proto/blob/9b13d199cc0d4703c7ea26c9c330ba695866eb23/grpc/channelz/v1/channelz.proto#L126.
+type Severity int
+
+const (
+ // CtUnknown indicates unknown severity of a trace event.
+ CtUnknown Severity = iota
+ // CtInfo indicates info level severity of a trace event.
+ CtInfo
+ // CtWarning indicates warning level severity of a trace event.
+ CtWarning
+ // CtError indicates error level severity of a trace event.
+ CtError
+)
+
+// RefChannelType is the type of the entity being referenced in a trace event.
+type RefChannelType int
+
+const (
+ // RefUnknown indicates an unknown entity type, the zero value for this type.
+ RefUnknown RefChannelType = iota
+ // RefChannel indicates the referenced entity is a Channel.
+ RefChannel
+ // RefSubChannel indicates the referenced entity is a SubChannel.
+ RefSubChannel
+ // RefServer indicates the referenced entity is a Server.
+ RefServer
+ // RefListenSocket indicates the referenced entity is a ListenSocket.
+ RefListenSocket
+ // RefNormalSocket indicates the referenced entity is a NormalSocket.
+ RefNormalSocket
+)
+
+var refChannelTypeToString = map[RefChannelType]string{
+ RefUnknown: "Unknown",
+ RefChannel: "Channel",
+ RefSubChannel: "SubChannel",
+ RefServer: "Server",
+ RefListenSocket: "ListenSocket",
+ RefNormalSocket: "NormalSocket",
+}
+
+func (r RefChannelType) String() string {
+ return refChannelTypeToString[r]
+}
+
+// AddTraceEvent adds trace related to the entity with specified id, using the
+// provided TraceEventDesc.
+//
+// If channelz is not turned ON, this will simply log the event descriptions.
+func AddTraceEvent(l grpclog.DepthLoggerV2, e Entity, depth int, desc *TraceEvent) {
+ // Log only the trace description associated with the bottom most entity.
+ d := fmt.Sprintf("[%s]%s", e, desc.Desc)
+ switch desc.Severity {
+ case CtUnknown, CtInfo:
+ l.InfoDepth(depth+1, d)
+ case CtWarning:
+ l.WarningDepth(depth+1, d)
+ case CtError:
+ l.ErrorDepth(depth+1, d)
+ }
+
+ if getMaxTraceEntry() == 0 {
+ return
+ }
+ if IsOn() {
+ db.traceEvent(e.id(), desc)
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types.go
deleted file mode 100644
index 1d4020f537..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/types.go
+++ /dev/null
@@ -1,727 +0,0 @@
-/*
- *
- * Copyright 2018 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-package channelz
-
-import (
- "net"
- "sync"
- "sync/atomic"
- "time"
-
- "google.golang.org/grpc/connectivity"
- "google.golang.org/grpc/credentials"
-)
-
-// entry represents a node in the channelz database.
-type entry interface {
- // addChild adds a child e, whose channelz id is id to child list
- addChild(id int64, e entry)
- // deleteChild deletes a child with channelz id to be id from child list
- deleteChild(id int64)
- // triggerDelete tries to delete self from channelz database. However, if child
- // list is not empty, then deletion from the database is on hold until the last
- // child is deleted from database.
- triggerDelete()
- // deleteSelfIfReady check whether triggerDelete() has been called before, and whether child
- // list is now empty. If both conditions are met, then delete self from database.
- deleteSelfIfReady()
- // getParentID returns parent ID of the entry. 0 value parent ID means no parent.
- getParentID() int64
-}
-
-// dummyEntry is a fake entry to handle entry not found case.
-type dummyEntry struct {
- idNotFound int64
-}
-
-func (d *dummyEntry) addChild(id int64, e entry) {
- // Note: It is possible for a normal program to reach here under race condition.
- // For example, there could be a race between ClientConn.Close() info being propagated
- // to addrConn and http2Client. ClientConn.Close() cancel the context and result
- // in http2Client to error. The error info is then caught by transport monitor
- // and before addrConn.tearDown() is called in side ClientConn.Close(). Therefore,
- // the addrConn will create a new transport. And when registering the new transport in
- // channelz, its parent addrConn could have already been torn down and deleted
- // from channelz tracking, and thus reach the code here.
- logger.Infof("attempt to add child of type %T with id %d to a parent (id=%d) that doesn't currently exist", e, id, d.idNotFound)
-}
-
-func (d *dummyEntry) deleteChild(id int64) {
- // It is possible for a normal program to reach here under race condition.
- // Refer to the example described in addChild().
- logger.Infof("attempt to delete child with id %d from a parent (id=%d) that doesn't currently exist", id, d.idNotFound)
-}
-
-func (d *dummyEntry) triggerDelete() {
- logger.Warningf("attempt to delete an entry (id=%d) that doesn't currently exist", d.idNotFound)
-}
-
-func (*dummyEntry) deleteSelfIfReady() {
- // code should not reach here. deleteSelfIfReady is always called on an existing entry.
-}
-
-func (*dummyEntry) getParentID() int64 {
- return 0
-}
-
-// ChannelMetric defines the info channelz provides for a specific Channel, which
-// includes ChannelInternalMetric and channelz-specific data, such as channelz id,
-// child list, etc.
-type ChannelMetric struct {
- // ID is the channelz id of this channel.
- ID int64
- // RefName is the human readable reference string of this channel.
- RefName string
- // ChannelData contains channel internal metric reported by the channel through
- // ChannelzMetric().
- ChannelData *ChannelInternalMetric
- // NestedChans tracks the nested channel type children of this channel in the format of
- // a map from nested channel channelz id to corresponding reference string.
- NestedChans map[int64]string
- // SubChans tracks the subchannel type children of this channel in the format of a
- // map from subchannel channelz id to corresponding reference string.
- SubChans map[int64]string
- // Sockets tracks the socket type children of this channel in the format of a map
- // from socket channelz id to corresponding reference string.
- // Note current grpc implementation doesn't allow channel having sockets directly,
- // therefore, this is field is unused.
- Sockets map[int64]string
- // Trace contains the most recent traced events.
- Trace *ChannelTrace
-}
-
-// SubChannelMetric defines the info channelz provides for a specific SubChannel,
-// which includes ChannelInternalMetric and channelz-specific data, such as
-// channelz id, child list, etc.
-type SubChannelMetric struct {
- // ID is the channelz id of this subchannel.
- ID int64
- // RefName is the human readable reference string of this subchannel.
- RefName string
- // ChannelData contains subchannel internal metric reported by the subchannel
- // through ChannelzMetric().
- ChannelData *ChannelInternalMetric
- // NestedChans tracks the nested channel type children of this subchannel in the format of
- // a map from nested channel channelz id to corresponding reference string.
- // Note current grpc implementation doesn't allow subchannel to have nested channels
- // as children, therefore, this field is unused.
- NestedChans map[int64]string
- // SubChans tracks the subchannel type children of this subchannel in the format of a
- // map from subchannel channelz id to corresponding reference string.
- // Note current grpc implementation doesn't allow subchannel to have subchannels
- // as children, therefore, this field is unused.
- SubChans map[int64]string
- // Sockets tracks the socket type children of this subchannel in the format of a map
- // from socket channelz id to corresponding reference string.
- Sockets map[int64]string
- // Trace contains the most recent traced events.
- Trace *ChannelTrace
-}
-
-// ChannelInternalMetric defines the struct that the implementor of Channel interface
-// should return from ChannelzMetric().
-type ChannelInternalMetric struct {
- // current connectivity state of the channel.
- State connectivity.State
- // The target this channel originally tried to connect to. May be absent
- Target string
- // The number of calls started on the channel.
- CallsStarted int64
- // The number of calls that have completed with an OK status.
- CallsSucceeded int64
- // The number of calls that have a completed with a non-OK status.
- CallsFailed int64
- // The last time a call was started on the channel.
- LastCallStartedTimestamp time.Time
-}
-
-// ChannelTrace stores traced events on a channel/subchannel and related info.
-type ChannelTrace struct {
- // EventNum is the number of events that ever got traced (i.e. including those that have been deleted)
- EventNum int64
- // CreationTime is the creation time of the trace.
- CreationTime time.Time
- // Events stores the most recent trace events (up to $maxTraceEntry, newer event will overwrite the
- // oldest one)
- Events []*TraceEvent
-}
-
-// TraceEvent represent a single trace event
-type TraceEvent struct {
- // Desc is a simple description of the trace event.
- Desc string
- // Severity states the severity of this trace event.
- Severity Severity
- // Timestamp is the event time.
- Timestamp time.Time
- // RefID is the id of the entity that gets referenced in the event. RefID is 0 if no other entity is
- // involved in this event.
- // e.g. SubChannel (id: 4[]) Created. --> RefID = 4, RefName = "" (inside [])
- RefID int64
- // RefName is the reference name for the entity that gets referenced in the event.
- RefName string
- // RefType indicates the referenced entity type, i.e Channel or SubChannel.
- RefType RefChannelType
-}
-
-// Channel is the interface that should be satisfied in order to be tracked by
-// channelz as Channel or SubChannel.
-type Channel interface {
- ChannelzMetric() *ChannelInternalMetric
-}
-
-type dummyChannel struct{}
-
-func (d *dummyChannel) ChannelzMetric() *ChannelInternalMetric {
- return &ChannelInternalMetric{}
-}
-
-type channel struct {
- refName string
- c Channel
- closeCalled bool
- nestedChans map[int64]string
- subChans map[int64]string
- id int64
- pid int64
- cm *channelMap
- trace *channelTrace
- // traceRefCount is the number of trace events that reference this channel.
- // Non-zero traceRefCount means the trace of this channel cannot be deleted.
- traceRefCount int32
-}
-
-func (c *channel) addChild(id int64, e entry) {
- switch v := e.(type) {
- case *subChannel:
- c.subChans[id] = v.refName
- case *channel:
- c.nestedChans[id] = v.refName
- default:
- logger.Errorf("cannot add a child (id = %d) of type %T to a channel", id, e)
- }
-}
-
-func (c *channel) deleteChild(id int64) {
- delete(c.subChans, id)
- delete(c.nestedChans, id)
- c.deleteSelfIfReady()
-}
-
-func (c *channel) triggerDelete() {
- c.closeCalled = true
- c.deleteSelfIfReady()
-}
-
-func (c *channel) getParentID() int64 {
- return c.pid
-}
-
-// deleteSelfFromTree tries to delete the channel from the channelz entry relation tree, which means
-// deleting the channel reference from its parent's child list.
-//
-// In order for a channel to be deleted from the tree, it must meet the criteria that, removal of the
-// corresponding grpc object has been invoked, and the channel does not have any children left.
-//
-// The returned boolean value indicates whether the channel has been successfully deleted from tree.
-func (c *channel) deleteSelfFromTree() (deleted bool) {
- if !c.closeCalled || len(c.subChans)+len(c.nestedChans) != 0 {
- return false
- }
- // not top channel
- if c.pid != 0 {
- c.cm.findEntry(c.pid).deleteChild(c.id)
- }
- return true
-}
-
-// deleteSelfFromMap checks whether it is valid to delete the channel from the map, which means
-// deleting the channel from channelz's tracking entirely. Users can no longer use id to query the
-// channel, and its memory will be garbage collected.
-//
-// The trace reference count of the channel must be 0 in order to be deleted from the map. This is
-// specified in the channel tracing gRFC that as long as some other trace has reference to an entity,
-// the trace of the referenced entity must not be deleted. In order to release the resource allocated
-// by grpc, the reference to the grpc object is reset to a dummy object.
-//
-// deleteSelfFromMap must be called after deleteSelfFromTree returns true.
-//
-// It returns a bool to indicate whether the channel can be safely deleted from map.
-func (c *channel) deleteSelfFromMap() (delete bool) {
- if c.getTraceRefCount() != 0 {
- c.c = &dummyChannel{}
- return false
- }
- return true
-}
-
-// deleteSelfIfReady tries to delete the channel itself from the channelz database.
-// The delete process includes two steps:
-// 1. delete the channel from the entry relation tree, i.e. delete the channel reference from its
-// parent's child list.
-// 2. delete the channel from the map, i.e. delete the channel entirely from channelz. Lookup by id
-// will return entry not found error.
-func (c *channel) deleteSelfIfReady() {
- if !c.deleteSelfFromTree() {
- return
- }
- if !c.deleteSelfFromMap() {
- return
- }
- c.cm.deleteEntry(c.id)
- c.trace.clear()
-}
-
-func (c *channel) getChannelTrace() *channelTrace {
- return c.trace
-}
-
-func (c *channel) incrTraceRefCount() {
- atomic.AddInt32(&c.traceRefCount, 1)
-}
-
-func (c *channel) decrTraceRefCount() {
- atomic.AddInt32(&c.traceRefCount, -1)
-}
-
-func (c *channel) getTraceRefCount() int {
- i := atomic.LoadInt32(&c.traceRefCount)
- return int(i)
-}
-
-func (c *channel) getRefName() string {
- return c.refName
-}
-
-type subChannel struct {
- refName string
- c Channel
- closeCalled bool
- sockets map[int64]string
- id int64
- pid int64
- cm *channelMap
- trace *channelTrace
- traceRefCount int32
-}
-
-func (sc *subChannel) addChild(id int64, e entry) {
- if v, ok := e.(*normalSocket); ok {
- sc.sockets[id] = v.refName
- } else {
- logger.Errorf("cannot add a child (id = %d) of type %T to a subChannel", id, e)
- }
-}
-
-func (sc *subChannel) deleteChild(id int64) {
- delete(sc.sockets, id)
- sc.deleteSelfIfReady()
-}
-
-func (sc *subChannel) triggerDelete() {
- sc.closeCalled = true
- sc.deleteSelfIfReady()
-}
-
-func (sc *subChannel) getParentID() int64 {
- return sc.pid
-}
-
-// deleteSelfFromTree tries to delete the subchannel from the channelz entry relation tree, which
-// means deleting the subchannel reference from its parent's child list.
-//
-// In order for a subchannel to be deleted from the tree, it must meet the criteria that, removal of
-// the corresponding grpc object has been invoked, and the subchannel does not have any children left.
-//
-// The returned boolean value indicates whether the channel has been successfully deleted from tree.
-func (sc *subChannel) deleteSelfFromTree() (deleted bool) {
- if !sc.closeCalled || len(sc.sockets) != 0 {
- return false
- }
- sc.cm.findEntry(sc.pid).deleteChild(sc.id)
- return true
-}
-
-// deleteSelfFromMap checks whether it is valid to delete the subchannel from the map, which means
-// deleting the subchannel from channelz's tracking entirely. Users can no longer use id to query
-// the subchannel, and its memory will be garbage collected.
-//
-// The trace reference count of the subchannel must be 0 in order to be deleted from the map. This is
-// specified in the channel tracing gRFC that as long as some other trace has reference to an entity,
-// the trace of the referenced entity must not be deleted. In order to release the resource allocated
-// by grpc, the reference to the grpc object is reset to a dummy object.
-//
-// deleteSelfFromMap must be called after deleteSelfFromTree returns true.
-//
-// It returns a bool to indicate whether the channel can be safely deleted from map.
-func (sc *subChannel) deleteSelfFromMap() (delete bool) {
- if sc.getTraceRefCount() != 0 {
- // free the grpc struct (i.e. addrConn)
- sc.c = &dummyChannel{}
- return false
- }
- return true
-}
-
-// deleteSelfIfReady tries to delete the subchannel itself from the channelz database.
-// The delete process includes two steps:
-// 1. delete the subchannel from the entry relation tree, i.e. delete the subchannel reference from
-// its parent's child list.
-// 2. delete the subchannel from the map, i.e. delete the subchannel entirely from channelz. Lookup
-// by id will return entry not found error.
-func (sc *subChannel) deleteSelfIfReady() {
- if !sc.deleteSelfFromTree() {
- return
- }
- if !sc.deleteSelfFromMap() {
- return
- }
- sc.cm.deleteEntry(sc.id)
- sc.trace.clear()
-}
-
-func (sc *subChannel) getChannelTrace() *channelTrace {
- return sc.trace
-}
-
-func (sc *subChannel) incrTraceRefCount() {
- atomic.AddInt32(&sc.traceRefCount, 1)
-}
-
-func (sc *subChannel) decrTraceRefCount() {
- atomic.AddInt32(&sc.traceRefCount, -1)
-}
-
-func (sc *subChannel) getTraceRefCount() int {
- i := atomic.LoadInt32(&sc.traceRefCount)
- return int(i)
-}
-
-func (sc *subChannel) getRefName() string {
- return sc.refName
-}
-
-// SocketMetric defines the info channelz provides for a specific Socket, which
-// includes SocketInternalMetric and channelz-specific data, such as channelz id, etc.
-type SocketMetric struct {
- // ID is the channelz id of this socket.
- ID int64
- // RefName is the human readable reference string of this socket.
- RefName string
- // SocketData contains socket internal metric reported by the socket through
- // ChannelzMetric().
- SocketData *SocketInternalMetric
-}
-
-// SocketInternalMetric defines the struct that the implementor of Socket interface
-// should return from ChannelzMetric().
-type SocketInternalMetric struct {
- // The number of streams that have been started.
- StreamsStarted int64
- // The number of streams that have ended successfully:
- // On client side, receiving frame with eos bit set.
- // On server side, sending frame with eos bit set.
- StreamsSucceeded int64
- // The number of streams that have ended unsuccessfully:
- // On client side, termination without receiving frame with eos bit set.
- // On server side, termination without sending frame with eos bit set.
- StreamsFailed int64
- // The number of messages successfully sent on this socket.
- MessagesSent int64
- MessagesReceived int64
- // The number of keep alives sent. This is typically implemented with HTTP/2
- // ping messages.
- KeepAlivesSent int64
- // The last time a stream was created by this endpoint. Usually unset for
- // servers.
- LastLocalStreamCreatedTimestamp time.Time
- // The last time a stream was created by the remote endpoint. Usually unset
- // for clients.
- LastRemoteStreamCreatedTimestamp time.Time
- // The last time a message was sent by this endpoint.
- LastMessageSentTimestamp time.Time
- // The last time a message was received by this endpoint.
- LastMessageReceivedTimestamp time.Time
- // The amount of window, granted to the local endpoint by the remote endpoint.
- // This may be slightly out of date due to network latency. This does NOT
- // include stream level or TCP level flow control info.
- LocalFlowControlWindow int64
- // The amount of window, granted to the remote endpoint by the local endpoint.
- // This may be slightly out of date due to network latency. This does NOT
- // include stream level or TCP level flow control info.
- RemoteFlowControlWindow int64
- // The locally bound address.
- LocalAddr net.Addr
- // The remote bound address. May be absent.
- RemoteAddr net.Addr
- // Optional, represents the name of the remote endpoint, if different than
- // the original target name.
- RemoteName string
- SocketOptions *SocketOptionData
- Security credentials.ChannelzSecurityValue
-}
-
-// Socket is the interface that should be satisfied in order to be tracked by
-// channelz as Socket.
-type Socket interface {
- ChannelzMetric() *SocketInternalMetric
-}
-
-type listenSocket struct {
- refName string
- s Socket
- id int64
- pid int64
- cm *channelMap
-}
-
-func (ls *listenSocket) addChild(id int64, e entry) {
- logger.Errorf("cannot add a child (id = %d) of type %T to a listen socket", id, e)
-}
-
-func (ls *listenSocket) deleteChild(id int64) {
- logger.Errorf("cannot delete a child (id = %d) from a listen socket", id)
-}
-
-func (ls *listenSocket) triggerDelete() {
- ls.cm.deleteEntry(ls.id)
- ls.cm.findEntry(ls.pid).deleteChild(ls.id)
-}
-
-func (ls *listenSocket) deleteSelfIfReady() {
- logger.Errorf("cannot call deleteSelfIfReady on a listen socket")
-}
-
-func (ls *listenSocket) getParentID() int64 {
- return ls.pid
-}
-
-type normalSocket struct {
- refName string
- s Socket
- id int64
- pid int64
- cm *channelMap
-}
-
-func (ns *normalSocket) addChild(id int64, e entry) {
- logger.Errorf("cannot add a child (id = %d) of type %T to a normal socket", id, e)
-}
-
-func (ns *normalSocket) deleteChild(id int64) {
- logger.Errorf("cannot delete a child (id = %d) from a normal socket", id)
-}
-
-func (ns *normalSocket) triggerDelete() {
- ns.cm.deleteEntry(ns.id)
- ns.cm.findEntry(ns.pid).deleteChild(ns.id)
-}
-
-func (ns *normalSocket) deleteSelfIfReady() {
- logger.Errorf("cannot call deleteSelfIfReady on a normal socket")
-}
-
-func (ns *normalSocket) getParentID() int64 {
- return ns.pid
-}
-
-// ServerMetric defines the info channelz provides for a specific Server, which
-// includes ServerInternalMetric and channelz-specific data, such as channelz id,
-// child list, etc.
-type ServerMetric struct {
- // ID is the channelz id of this server.
- ID int64
- // RefName is the human readable reference string of this server.
- RefName string
- // ServerData contains server internal metric reported by the server through
- // ChannelzMetric().
- ServerData *ServerInternalMetric
- // ListenSockets tracks the listener socket type children of this server in the
- // format of a map from socket channelz id to corresponding reference string.
- ListenSockets map[int64]string
-}
-
-// ServerInternalMetric defines the struct that the implementor of Server interface
-// should return from ChannelzMetric().
-type ServerInternalMetric struct {
- // The number of incoming calls started on the server.
- CallsStarted int64
- // The number of incoming calls that have completed with an OK status.
- CallsSucceeded int64
- // The number of incoming calls that have a completed with a non-OK status.
- CallsFailed int64
- // The last time a call was started on the server.
- LastCallStartedTimestamp time.Time
-}
-
-// Server is the interface to be satisfied in order to be tracked by channelz as
-// Server.
-type Server interface {
- ChannelzMetric() *ServerInternalMetric
-}
-
-type server struct {
- refName string
- s Server
- closeCalled bool
- sockets map[int64]string
- listenSockets map[int64]string
- id int64
- cm *channelMap
-}
-
-func (s *server) addChild(id int64, e entry) {
- switch v := e.(type) {
- case *normalSocket:
- s.sockets[id] = v.refName
- case *listenSocket:
- s.listenSockets[id] = v.refName
- default:
- logger.Errorf("cannot add a child (id = %d) of type %T to a server", id, e)
- }
-}
-
-func (s *server) deleteChild(id int64) {
- delete(s.sockets, id)
- delete(s.listenSockets, id)
- s.deleteSelfIfReady()
-}
-
-func (s *server) triggerDelete() {
- s.closeCalled = true
- s.deleteSelfIfReady()
-}
-
-func (s *server) deleteSelfIfReady() {
- if !s.closeCalled || len(s.sockets)+len(s.listenSockets) != 0 {
- return
- }
- s.cm.deleteEntry(s.id)
-}
-
-func (s *server) getParentID() int64 {
- return 0
-}
-
-type tracedChannel interface {
- getChannelTrace() *channelTrace
- incrTraceRefCount()
- decrTraceRefCount()
- getRefName() string
-}
-
-type channelTrace struct {
- cm *channelMap
- clearCalled bool
- createdTime time.Time
- eventCount int64
- mu sync.Mutex
- events []*TraceEvent
-}
-
-func (c *channelTrace) append(e *TraceEvent) {
- c.mu.Lock()
- if len(c.events) == getMaxTraceEntry() {
- del := c.events[0]
- c.events = c.events[1:]
- if del.RefID != 0 {
- // start recursive cleanup in a goroutine to not block the call originated from grpc.
- go func() {
- // need to acquire c.cm.mu lock to call the unlocked attemptCleanup func.
- c.cm.mu.Lock()
- c.cm.decrTraceRefCount(del.RefID)
- c.cm.mu.Unlock()
- }()
- }
- }
- e.Timestamp = time.Now()
- c.events = append(c.events, e)
- c.eventCount++
- c.mu.Unlock()
-}
-
-func (c *channelTrace) clear() {
- if c.clearCalled {
- return
- }
- c.clearCalled = true
- c.mu.Lock()
- for _, e := range c.events {
- if e.RefID != 0 {
- // caller should have already held the c.cm.mu lock.
- c.cm.decrTraceRefCount(e.RefID)
- }
- }
- c.mu.Unlock()
-}
-
-// Severity is the severity level of a trace event.
-// The canonical enumeration of all valid values is here:
-// https://github.com/grpc/grpc-proto/blob/9b13d199cc0d4703c7ea26c9c330ba695866eb23/grpc/channelz/v1/channelz.proto#L126.
-type Severity int
-
-const (
- // CtUnknown indicates unknown severity of a trace event.
- CtUnknown Severity = iota
- // CtInfo indicates info level severity of a trace event.
- CtInfo
- // CtWarning indicates warning level severity of a trace event.
- CtWarning
- // CtError indicates error level severity of a trace event.
- CtError
-)
-
-// RefChannelType is the type of the entity being referenced in a trace event.
-type RefChannelType int
-
-const (
- // RefUnknown indicates an unknown entity type, the zero value for this type.
- RefUnknown RefChannelType = iota
- // RefChannel indicates the referenced entity is a Channel.
- RefChannel
- // RefSubChannel indicates the referenced entity is a SubChannel.
- RefSubChannel
- // RefServer indicates the referenced entity is a Server.
- RefServer
- // RefListenSocket indicates the referenced entity is a ListenSocket.
- RefListenSocket
- // RefNormalSocket indicates the referenced entity is a NormalSocket.
- RefNormalSocket
-)
-
-var refChannelTypeToString = map[RefChannelType]string{
- RefUnknown: "Unknown",
- RefChannel: "Channel",
- RefSubChannel: "SubChannel",
- RefServer: "Server",
- RefListenSocket: "ListenSocket",
- RefNormalSocket: "NormalSocket",
-}
-
-func (r RefChannelType) String() string {
- return refChannelTypeToString[r]
-}
-
-func (c *channelTrace) dumpData() *ChannelTrace {
- c.mu.Lock()
- ct := &ChannelTrace{EventNum: c.eventCount, CreationTime: c.createdTime}
- ct.Events = c.events[:len(c.events)]
- c.mu.Unlock()
- return ct
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go
deleted file mode 100644
index b5568b22e2..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go
+++ /dev/null
@@ -1,27 +0,0 @@
-//go:build !linux
-// +build !linux
-
-/*
- *
- * Copyright 2018 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-package channelz
-
-// GetSocketOption gets the socket option info of the conn.
-func GetSocketOption(c any) *SocketOptionData {
- return nil
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go
index 685a3cb41b..9c915d9e4b 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/envconfig/envconfig.go
@@ -28,9 +28,6 @@ import (
var (
// TXTErrIgnore is set if TXT errors should be ignored ("GRPC_GO_IGNORE_TXT_ERRORS" is not "false").
TXTErrIgnore = boolFromEnv("GRPC_GO_IGNORE_TXT_ERRORS", true)
- // AdvertiseCompressors is set if registered compressor should be advertised
- // ("GRPC_GO_ADVERTISE_COMPRESSORS" is not "false").
- AdvertiseCompressors = boolFromEnv("GRPC_GO_ADVERTISE_COMPRESSORS", true)
// RingHashCap indicates the maximum ring size which defaults to 4096
// entries but may be overridden by setting the environment variable
// "GRPC_RING_HASH_CAP". This does not override the default bounds
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go
index aa97273e7d..0126d6b510 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand.go
@@ -1,3 +1,8 @@
+//go:build !go1.21
+
+// TODO: when this file is deleted (after Go 1.20 support is dropped), delete
+// all of grpcrand and call the rand package directly.
+
/*
*
* Copyright 2018 gRPC authors.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand_go1.21.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand_go1.21.go
new file mode 100644
index 0000000000..c37299af1e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcrand/grpcrand_go1.21.go
@@ -0,0 +1,73 @@
+//go:build go1.21
+
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+// Package grpcrand implements math/rand functions in a concurrent-safe way
+// with a global random source, independent of math/rand's global source.
+package grpcrand
+
+import "math/rand"
+
+// This implementation will be used for Go version 1.21 or newer.
+// For older versions, the original implementation with mutex will be used.
+
+// Int implements rand.Int on the grpcrand global source.
+func Int() int {
+ return rand.Int()
+}
+
+// Int63n implements rand.Int63n on the grpcrand global source.
+func Int63n(n int64) int64 {
+ return rand.Int63n(n)
+}
+
+// Intn implements rand.Intn on the grpcrand global source.
+func Intn(n int) int {
+ return rand.Intn(n)
+}
+
+// Int31n implements rand.Int31n on the grpcrand global source.
+func Int31n(n int32) int32 {
+ return rand.Int31n(n)
+}
+
+// Float64 implements rand.Float64 on the grpcrand global source.
+func Float64() float64 {
+ return rand.Float64()
+}
+
+// Uint64 implements rand.Uint64 on the grpcrand global source.
+func Uint64() uint64 {
+ return rand.Uint64()
+}
+
+// Uint32 implements rand.Uint32 on the grpcrand global source.
+func Uint32() uint32 {
+ return rand.Uint32()
+}
+
+// ExpFloat64 implements rand.ExpFloat64 on the grpcrand global source.
+func ExpFloat64() float64 {
+ return rand.ExpFloat64()
+}
+
+// Shuffle implements rand.Shuffle on the grpcrand global source.
+var Shuffle = func(n int, f func(int, int)) {
+ rand.Shuffle(n, f)
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcutil/compressor.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcutil/compressor.go
index 9f40909679..e8d866984b 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcutil/compressor.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/grpcutil/compressor.go
@@ -20,8 +20,6 @@ package grpcutil
import (
"strings"
-
- "google.golang.org/grpc/internal/envconfig"
)
// RegisteredCompressorNames holds names of the registered compressors.
@@ -40,8 +38,5 @@ func IsCompressorNameRegistered(name string) bool {
// RegisteredCompressors returns a string of registered compressor names
// separated by comma.
func RegisteredCompressors() string {
- if !envconfig.AdvertiseCompressors {
- return ""
- }
return strings.Join(RegisteredCompressorNames, ",")
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/internal.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/internal.go
index 6c7ea6a533..48d24bdb4e 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/internal.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/internal.go
@@ -190,12 +190,16 @@ var (
// function makes events more predictable than relying on timer events.
TriggerXDSResourceNameNotFoundForTesting any // func(func(xdsresource.Type, string), string, string) error
- // TriggerXDSResourceNotFoundClient invokes the testing xDS Client singleton
- // to invoke resource not found for a resource type name and resource name.
+ // TriggerXDSResourceNameNotFoundClient invokes the testing xDS Client
+ // singleton to invoke resource not found for a resource type name and
+ // resource name.
TriggerXDSResourceNameNotFoundClient any // func(string, string) error
// FromOutgoingContextRaw returns the un-merged, intermediary contents of metadata.rawMD.
FromOutgoingContextRaw any // func(context.Context) (metadata.MD, [][]string, bool)
+
+ // UserSetDefaultScheme is set to true if the user has overridden the default resolver scheme.
+ UserSetDefaultScheme bool = false
)
// HealthChecker defines the signature of the client-side LB channel health checking function.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/pretty/pretty.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/pretty/pretty.go
index 7033191375..dbee7a60d7 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/pretty/pretty.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/pretty/pretty.go
@@ -24,10 +24,8 @@ import (
"encoding/json"
"fmt"
- "github.com/golang/protobuf/jsonpb"
- protov1 "github.com/golang/protobuf/proto"
"google.golang.org/protobuf/encoding/protojson"
- protov2 "google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/protoadapt"
)
const jsonIndent = " "
@@ -36,21 +34,14 @@ const jsonIndent = " "
//
// If marshal fails, it falls back to fmt.Sprintf("%+v").
func ToJSON(e any) string {
- switch ee := e.(type) {
- case protov1.Message:
- mm := jsonpb.Marshaler{Indent: jsonIndent}
- ret, err := mm.MarshalToString(ee)
- if err != nil {
- // This may fail for proto.Anys, e.g. for xDS v2, LDS, the v2
- // messages are not imported, and this will fail because the message
- // is not found.
- return fmt.Sprintf("%+v", ee)
- }
- return ret
- case protov2.Message:
+ if ee, ok := e.(protoadapt.MessageV1); ok {
+ e = protoadapt.MessageV2Of(ee)
+ }
+
+ if ee, ok := e.(protoadapt.MessageV2); ok {
mm := protojson.MarshalOptions{
- Multiline: true,
Indent: jsonIndent,
+ Multiline: true,
}
ret, err := mm.Marshal(ee)
if err != nil {
@@ -60,13 +51,13 @@ func ToJSON(e any) string {
return fmt.Sprintf("%+v", ee)
}
return string(ret)
- default:
- ret, err := json.MarshalIndent(ee, "", jsonIndent)
- if err != nil {
- return fmt.Sprintf("%+v", ee)
- }
- return string(ret)
}
+
+ ret, err := json.MarshalIndent(e, "", jsonIndent)
+ if err != nil {
+ return fmt.Sprintf("%+v", e)
+ }
+ return string(ret)
}
// FormatJSON formats the input json bytes with indentation.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go
index b66dcb2132..f3f52a59a8 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/dns_resolver.go
@@ -41,11 +41,24 @@ import (
"google.golang.org/grpc/serviceconfig"
)
-// EnableSRVLookups controls whether the DNS resolver attempts to fetch gRPCLB
-// addresses from SRV records. Must not be changed after init time.
-var EnableSRVLookups = false
+var (
+ // EnableSRVLookups controls whether the DNS resolver attempts to fetch gRPCLB
+ // addresses from SRV records. Must not be changed after init time.
+ EnableSRVLookups = false
-var logger = grpclog.Component("dns")
+ // MinResolutionInterval is the minimum interval at which re-resolutions are
+ // allowed. This helps to prevent excessive re-resolution.
+ MinResolutionInterval = 30 * time.Second
+
+ // ResolvingTimeout specifies the maximum duration for a DNS resolution request.
+ // If the timeout expires before a response is received, the request will be canceled.
+ //
+ // It is recommended to set this value at application startup. Avoid modifying this variable
+ // after initialization as it's not thread-safe for concurrent modification.
+ ResolvingTimeout = 30 * time.Second
+
+ logger = grpclog.Component("dns")
+)
func init() {
resolver.Register(NewBuilder())
@@ -201,7 +214,7 @@ func (d *dnsResolver) watcher() {
// Success resolving, wait for the next ResolveNow. However, also wait 30
// seconds at the very least to prevent constantly re-resolving.
backoffIndex = 1
- waitTime = internal.MinResolutionRate
+ waitTime = MinResolutionInterval
select {
case <-d.ctx.Done():
return
@@ -221,18 +234,18 @@ func (d *dnsResolver) watcher() {
}
}
-func (d *dnsResolver) lookupSRV() ([]resolver.Address, error) {
+func (d *dnsResolver) lookupSRV(ctx context.Context) ([]resolver.Address, error) {
if !EnableSRVLookups {
return nil, nil
}
var newAddrs []resolver.Address
- _, srvs, err := d.resolver.LookupSRV(d.ctx, "grpclb", "tcp", d.host)
+ _, srvs, err := d.resolver.LookupSRV(ctx, "grpclb", "tcp", d.host)
if err != nil {
err = handleDNSError(err, "SRV") // may become nil
return nil, err
}
for _, s := range srvs {
- lbAddrs, err := d.resolver.LookupHost(d.ctx, s.Target)
+ lbAddrs, err := d.resolver.LookupHost(ctx, s.Target)
if err != nil {
err = handleDNSError(err, "A") // may become nil
if err == nil {
@@ -269,8 +282,8 @@ func handleDNSError(err error, lookupType string) error {
return err
}
-func (d *dnsResolver) lookupTXT() *serviceconfig.ParseResult {
- ss, err := d.resolver.LookupTXT(d.ctx, txtPrefix+d.host)
+func (d *dnsResolver) lookupTXT(ctx context.Context) *serviceconfig.ParseResult {
+ ss, err := d.resolver.LookupTXT(ctx, txtPrefix+d.host)
if err != nil {
if envconfig.TXTErrIgnore {
return nil
@@ -297,8 +310,8 @@ func (d *dnsResolver) lookupTXT() *serviceconfig.ParseResult {
return d.cc.ParseServiceConfig(sc)
}
-func (d *dnsResolver) lookupHost() ([]resolver.Address, error) {
- addrs, err := d.resolver.LookupHost(d.ctx, d.host)
+func (d *dnsResolver) lookupHost(ctx context.Context) ([]resolver.Address, error) {
+ addrs, err := d.resolver.LookupHost(ctx, d.host)
if err != nil {
err = handleDNSError(err, "A")
return nil, err
@@ -316,8 +329,10 @@ func (d *dnsResolver) lookupHost() ([]resolver.Address, error) {
}
func (d *dnsResolver) lookup() (*resolver.State, error) {
- srv, srvErr := d.lookupSRV()
- addrs, hostErr := d.lookupHost()
+ ctx, cancel := context.WithTimeout(d.ctx, ResolvingTimeout)
+ defer cancel()
+ srv, srvErr := d.lookupSRV(ctx)
+ addrs, hostErr := d.lookupHost(ctx)
if hostErr != nil && (srvErr != nil || len(srv) == 0) {
return nil, hostErr
}
@@ -327,7 +342,7 @@ func (d *dnsResolver) lookup() (*resolver.State, error) {
state = grpclbstate.Set(state, &grpclbstate.State{BalancerAddresses: srv})
}
if !d.disableServiceConfig {
- state.ServiceConfig = d.lookupTXT()
+ state.ServiceConfig = d.lookupTXT(ctx)
}
return &state, nil
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/internal/internal.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/internal/internal.go
index c7fc557d00..a7ecaf8d52 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/internal/internal.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/resolver/dns/internal/internal.go
@@ -28,7 +28,7 @@ import (
// NetResolver groups the methods on net.Resolver that are used by the DNS
// resolver implementation. This allows the default net.Resolver instance to be
-// overidden from tests.
+// overridden from tests.
type NetResolver interface {
LookupHost(ctx context.Context, host string) (addrs []string, err error)
LookupSRV(ctx context.Context, service, proto, name string) (cname string, addrs []*net.SRV, err error)
@@ -50,10 +50,6 @@ var (
// The following vars are overridden from tests.
var (
- // MinResolutionRate is the minimum rate at which re-resolutions are
- // allowed. This helps to prevent excessive re-resolution.
- MinResolutionRate = 30 * time.Second
-
// TimeAfterFunc is used by the DNS resolver to wait for the given duration
// to elapse. In non-test code, this is implemented by time.After. In test
// code, this can be used to control the amount of time the resolver is
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/status/status.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/status/status.go
index 03ef2fedd5..c7dbc82059 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/status/status.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/status/status.go
@@ -31,10 +31,11 @@ import (
"errors"
"fmt"
- "github.com/golang/protobuf/proto"
- "github.com/golang/protobuf/ptypes"
spb "google.golang.org/genproto/googleapis/rpc/status"
"google.golang.org/grpc/codes"
+ "google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/protoadapt"
+ "google.golang.org/protobuf/types/known/anypb"
)
// Status represents an RPC status code, message, and details. It is immutable
@@ -130,14 +131,14 @@ func (s *Status) Err() error {
// WithDetails returns a new status with the provided details messages appended to the status.
// If any errors are encountered, it returns nil and the first error encountered.
-func (s *Status) WithDetails(details ...proto.Message) (*Status, error) {
+func (s *Status) WithDetails(details ...protoadapt.MessageV1) (*Status, error) {
if s.Code() == codes.OK {
return nil, errors.New("no error details for status with code OK")
}
// s.Code() != OK implies that s.Proto() != nil.
p := s.Proto()
for _, detail := range details {
- any, err := ptypes.MarshalAny(detail)
+ any, err := anypb.New(protoadapt.MessageV2Of(detail))
if err != nil {
return nil, err
}
@@ -154,12 +155,12 @@ func (s *Status) Details() []any {
}
details := make([]any, 0, len(s.s.Details))
for _, any := range s.s.Details {
- detail := &ptypes.DynamicAny{}
- if err := ptypes.UnmarshalAny(any, detail); err != nil {
+ detail, err := any.UnmarshalNew()
+ if err != nil {
details = append(details, err)
continue
}
- details = append(details, detail.Message)
+ details = append(details, detail)
}
return details
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/controlbuf.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/controlbuf.go
index 83c3829826..3deadfb4a2 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/controlbuf.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/controlbuf.go
@@ -193,7 +193,7 @@ type goAway struct {
code http2.ErrCode
debugData []byte
headsUp bool
- closeConn error // if set, loopyWriter will exit, resulting in conn closure
+ closeConn error // if set, loopyWriter will exit with this error
}
func (*goAway) isTransportResponseFrame() bool { return false }
@@ -336,7 +336,7 @@ func (c *controlBuffer) put(it cbItem) error {
return err
}
-func (c *controlBuffer) executeAndPut(f func(it any) bool, it cbItem) (bool, error) {
+func (c *controlBuffer) executeAndPut(f func() bool, it cbItem) (bool, error) {
var wakeUp bool
c.mu.Lock()
if c.err != nil {
@@ -344,7 +344,7 @@ func (c *controlBuffer) executeAndPut(f func(it any) bool, it cbItem) (bool, err
return false, c.err
}
if f != nil {
- if !f(it) { // f wasn't successful
+ if !f() { // f wasn't successful
c.mu.Unlock()
return false, nil
}
@@ -495,21 +495,22 @@ type loopyWriter struct {
ssGoAwayHandler func(*goAway) (bool, error)
}
-func newLoopyWriter(s side, fr *framer, cbuf *controlBuffer, bdpEst *bdpEstimator, conn net.Conn, logger *grpclog.PrefixLogger) *loopyWriter {
+func newLoopyWriter(s side, fr *framer, cbuf *controlBuffer, bdpEst *bdpEstimator, conn net.Conn, logger *grpclog.PrefixLogger, goAwayHandler func(*goAway) (bool, error)) *loopyWriter {
var buf bytes.Buffer
l := &loopyWriter{
- side: s,
- cbuf: cbuf,
- sendQuota: defaultWindowSize,
- oiws: defaultWindowSize,
- estdStreams: make(map[uint32]*outStream),
- activeStreams: newOutStreamList(),
- framer: fr,
- hBuf: &buf,
- hEnc: hpack.NewEncoder(&buf),
- bdpEst: bdpEst,
- conn: conn,
- logger: logger,
+ side: s,
+ cbuf: cbuf,
+ sendQuota: defaultWindowSize,
+ oiws: defaultWindowSize,
+ estdStreams: make(map[uint32]*outStream),
+ activeStreams: newOutStreamList(),
+ framer: fr,
+ hBuf: &buf,
+ hEnc: hpack.NewEncoder(&buf),
+ bdpEst: bdpEst,
+ conn: conn,
+ logger: logger,
+ ssGoAwayHandler: goAwayHandler,
}
return l
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/handler_server.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/handler_server.go
index a9d70e2a16..4a3ddce29a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/handler_server.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/handler_server.go
@@ -35,7 +35,6 @@ import (
"sync"
"time"
- "github.com/golang/protobuf/proto"
"golang.org/x/net/http2"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
@@ -45,20 +44,17 @@ import (
"google.golang.org/grpc/peer"
"google.golang.org/grpc/stats"
"google.golang.org/grpc/status"
+ "google.golang.org/protobuf/proto"
)
// NewServerHandlerTransport returns a ServerTransport handling gRPC from
// inside an http.Handler, or writes an HTTP error to w and returns an error.
// It requires that the http Server supports HTTP/2.
func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request, stats []stats.Handler) (ServerTransport, error) {
- if r.ProtoMajor != 2 {
- msg := "gRPC requires HTTP/2"
- http.Error(w, msg, http.StatusBadRequest)
- return nil, errors.New(msg)
- }
- if r.Method != "POST" {
+ if r.Method != http.MethodPost {
+ w.Header().Set("Allow", http.MethodPost)
msg := fmt.Sprintf("invalid gRPC request method %q", r.Method)
- http.Error(w, msg, http.StatusBadRequest)
+ http.Error(w, msg, http.StatusMethodNotAllowed)
return nil, errors.New(msg)
}
contentType := r.Header.Get("Content-Type")
@@ -69,6 +65,11 @@ func NewServerHandlerTransport(w http.ResponseWriter, r *http.Request, stats []s
http.Error(w, msg, http.StatusUnsupportedMediaType)
return nil, errors.New(msg)
}
+ if r.ProtoMajor != 2 {
+ msg := "gRPC requires HTTP/2"
+ http.Error(w, msg, http.StatusHTTPVersionNotSupported)
+ return nil, errors.New(msg)
+ }
if _, ok := w.(http.Flusher); !ok {
msg := "gRPC requires a ResponseWriter supporting http.Flusher"
http.Error(w, msg, http.StatusInternalServerError)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_client.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_client.go
index eff8799640..3c63c70698 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_client.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_client.go
@@ -114,11 +114,11 @@ type http2Client struct {
streamQuota int64
streamsQuotaAvailable chan struct{}
waitingStreams uint32
- nextID uint32
registeredCompressors string
// Do not access controlBuf with mu held.
mu sync.Mutex // guard the following variables
+ nextID uint32
state transportState
activeStreams map[uint32]*Stream
// prevGoAway ID records the Last-Stream-ID in the previous GOAway frame.
@@ -140,9 +140,7 @@ type http2Client struct {
// variable.
kpDormant bool
- // Fields below are for channelz metric collection.
- channelzID *channelz.Identifier
- czData *channelzData
+ channelz *channelz.Socket
onClose func(GoAwayReason)
@@ -319,6 +317,7 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
if opts.MaxHeaderListSize != nil {
maxHeaderListSize = *opts.MaxHeaderListSize
}
+
t := &http2Client{
ctx: ctx,
ctxDone: ctx.Done(), // Cache Done chan.
@@ -346,11 +345,25 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
maxConcurrentStreams: defaultMaxStreamsClient,
streamQuota: defaultMaxStreamsClient,
streamsQuotaAvailable: make(chan struct{}, 1),
- czData: new(channelzData),
keepaliveEnabled: keepaliveEnabled,
bufferPool: newBufferPool(),
onClose: onClose,
}
+ var czSecurity credentials.ChannelzSecurityValue
+ if au, ok := authInfo.(credentials.ChannelzSecurityInfo); ok {
+ czSecurity = au.GetSecurityValue()
+ }
+ t.channelz = channelz.RegisterSocket(
+ &channelz.Socket{
+ SocketType: channelz.SocketTypeNormal,
+ Parent: opts.ChannelzParent,
+ SocketMetrics: channelz.SocketMetrics{},
+ EphemeralMetrics: t.socketMetrics,
+ LocalAddr: t.localAddr,
+ RemoteAddr: t.remoteAddr,
+ SocketOptions: channelz.GetSocketOption(t.conn),
+ Security: czSecurity,
+ })
t.logger = prefixLoggerForClientTransport(t)
// Add peer information to the http2client context.
t.ctx = peer.NewContext(t.ctx, t.getPeer())
@@ -381,10 +394,6 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
}
sh.HandleConn(t.ctx, connBegin)
}
- t.channelzID, err = channelz.RegisterNormalSocket(t, opts.ChannelzParentID, fmt.Sprintf("%s -> %s", t.localAddr, t.remoteAddr))
- if err != nil {
- return nil, err
- }
if t.keepaliveEnabled {
t.kpDormancyCond = sync.NewCond(&t.mu)
go t.keepalive()
@@ -399,10 +408,10 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
readerErrCh := make(chan error, 1)
go t.reader(readerErrCh)
defer func() {
- if err == nil {
- err = <-readerErrCh
- }
if err != nil {
+ // writerDone should be closed since the loopy goroutine
+ // wouldn't have started in the case this function returns an error.
+ close(t.writerDone)
t.Close(err)
}
}()
@@ -449,8 +458,12 @@ func newHTTP2Client(connectCtx, ctx context.Context, addr resolver.Address, opts
if err := t.framer.writer.Flush(); err != nil {
return nil, err
}
+ // Block until the server preface is received successfully or an error occurs.
+ if err = <-readerErrCh; err != nil {
+ return nil, err
+ }
go func() {
- t.loopy = newLoopyWriter(clientSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger)
+ t.loopy = newLoopyWriter(clientSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger, t.outgoingGoAwayHandler)
if err := t.loopy.run(); !isIOError(err) {
// Immediately close the connection, as the loopy writer returns
// when there are no more active streams and we were draining (the
@@ -508,6 +521,17 @@ func (t *http2Client) getPeer() *peer.Peer {
}
}
+// OutgoingGoAwayHandler writes a GOAWAY to the connection. Always returns (false, err) as we want the GoAway
+// to be the last frame loopy writes to the transport.
+func (t *http2Client) outgoingGoAwayHandler(g *goAway) (bool, error) {
+ t.mu.Lock()
+ defer t.mu.Unlock()
+ if err := t.framer.fr.WriteGoAway(t.nextID-2, http2.ErrCodeNo, g.debugData); err != nil {
+ return false, err
+ }
+ return false, g.closeConn
+}
+
func (t *http2Client) createHeaderFields(ctx context.Context, callHdr *CallHdr) ([]hpack.HeaderField, error) {
aud := t.createAudience(callHdr)
ri := credentials.RequestInfo{
@@ -756,8 +780,8 @@ func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (*Stream,
return ErrConnClosing
}
if channelz.IsOn() {
- atomic.AddInt64(&t.czData.streamsStarted, 1)
- atomic.StoreInt64(&t.czData.lastStreamCreatedTime, time.Now().UnixNano())
+ t.channelz.SocketMetrics.StreamsStarted.Add(1)
+ t.channelz.SocketMetrics.LastLocalStreamCreatedTimestamp.Store(time.Now().UnixNano())
}
// If the keepalive goroutine has gone dormant, wake it up.
if t.kpDormant {
@@ -772,7 +796,7 @@ func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (*Stream,
firstTry := true
var ch chan struct{}
transportDrainRequired := false
- checkForStreamQuota := func(it any) bool {
+ checkForStreamQuota := func() bool {
if t.streamQuota <= 0 { // Can go negative if server decreases it.
if firstTry {
t.waitingStreams++
@@ -784,23 +808,24 @@ func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (*Stream,
t.waitingStreams--
}
t.streamQuota--
- h := it.(*headerFrame)
- h.streamID = t.nextID
- t.nextID += 2
- // Drain client transport if nextID > MaxStreamID which signals gRPC that
- // the connection is closed and a new one must be created for subsequent RPCs.
- transportDrainRequired = t.nextID > MaxStreamID
-
- s.id = h.streamID
- s.fc = &inFlow{limit: uint32(t.initialWindowSize)}
t.mu.Lock()
if t.state == draining || t.activeStreams == nil { // Can be niled from Close().
t.mu.Unlock()
return false // Don't create a stream if the transport is already closed.
}
+
+ hdr.streamID = t.nextID
+ t.nextID += 2
+ // Drain client transport if nextID > MaxStreamID which signals gRPC that
+ // the connection is closed and a new one must be created for subsequent RPCs.
+ transportDrainRequired = t.nextID > MaxStreamID
+
+ s.id = hdr.streamID
+ s.fc = &inFlow{limit: uint32(t.initialWindowSize)}
t.activeStreams[s.id] = s
t.mu.Unlock()
+
if t.streamQuota > 0 && t.waitingStreams > 0 {
select {
case t.streamsQuotaAvailable <- struct{}{}:
@@ -810,13 +835,12 @@ func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (*Stream,
return true
}
var hdrListSizeErr error
- checkForHeaderListSize := func(it any) bool {
+ checkForHeaderListSize := func() bool {
if t.maxSendHeaderListSize == nil {
return true
}
- hdrFrame := it.(*headerFrame)
var sz int64
- for _, f := range hdrFrame.hf {
+ for _, f := range hdr.hf {
if sz += int64(f.Size()); sz > int64(*t.maxSendHeaderListSize) {
hdrListSizeErr = status.Errorf(codes.Internal, "header list size to send violates the maximum size (%d bytes) set by server", *t.maxSendHeaderListSize)
return false
@@ -825,8 +849,8 @@ func (t *http2Client) NewStream(ctx context.Context, callHdr *CallHdr) (*Stream,
return true
}
for {
- success, err := t.controlBuf.executeAndPut(func(it any) bool {
- return checkForHeaderListSize(it) && checkForStreamQuota(it)
+ success, err := t.controlBuf.executeAndPut(func() bool {
+ return checkForHeaderListSize() && checkForStreamQuota()
}, hdr)
if err != nil {
// Connection closed.
@@ -928,16 +952,16 @@ func (t *http2Client) closeStream(s *Stream, err error, rst bool, rstCode http2.
t.mu.Unlock()
if channelz.IsOn() {
if eosReceived {
- atomic.AddInt64(&t.czData.streamsSucceeded, 1)
+ t.channelz.SocketMetrics.StreamsSucceeded.Add(1)
} else {
- atomic.AddInt64(&t.czData.streamsFailed, 1)
+ t.channelz.SocketMetrics.StreamsFailed.Add(1)
}
}
},
rst: rst,
rstCode: rstCode,
}
- addBackStreamQuota := func(any) bool {
+ addBackStreamQuota := func() bool {
t.streamQuota++
if t.streamQuota > 0 && t.waitingStreams > 0 {
select {
@@ -957,7 +981,7 @@ func (t *http2Client) closeStream(s *Stream, err error, rst bool, rstCode http2.
// Close kicks off the shutdown process of the transport. This should be called
// only once on a transport. Once it is called, the transport should not be
-// accessed any more.
+// accessed anymore.
func (t *http2Client) Close(err error) {
t.mu.Lock()
// Make sure we only close once.
@@ -982,10 +1006,13 @@ func (t *http2Client) Close(err error) {
t.kpDormancyCond.Signal()
}
t.mu.Unlock()
- t.controlBuf.finish()
+ // Per HTTP/2 spec, a GOAWAY frame must be sent before closing the
+ // connection. See https://httpwg.org/specs/rfc7540.html#GOAWAY.
+ t.controlBuf.put(&goAway{code: http2.ErrCodeNo, debugData: []byte("client transport shutdown"), closeConn: err})
+ <-t.writerDone
t.cancel()
t.conn.Close()
- channelz.RemoveEntry(t.channelzID)
+ channelz.RemoveEntry(t.channelz.ID)
// Append info about previous goaways if there were any, since this may be important
// for understanding the root cause for this connection to be closed.
_, goAwayDebugMessage := t.GetGoAwayReason()
@@ -1090,7 +1117,7 @@ func (t *http2Client) updateWindow(s *Stream, n uint32) {
// for the transport and the stream based on the current bdp
// estimation.
func (t *http2Client) updateFlowControl(n uint32) {
- updateIWS := func(any) bool {
+ updateIWS := func() bool {
t.initialWindowSize = int32(n)
t.mu.Lock()
for _, s := range t.activeStreams {
@@ -1243,7 +1270,7 @@ func (t *http2Client) handleSettings(f *http2.SettingsFrame, isFirst bool) {
}
updateFuncs = append(updateFuncs, updateStreamQuota)
}
- t.controlBuf.executeAndPut(func(any) bool {
+ t.controlBuf.executeAndPut(func() bool {
for _, f := range updateFuncs {
f()
}
@@ -1708,7 +1735,7 @@ func (t *http2Client) keepalive() {
// keepalive timer expired. In both cases, we need to send a ping.
if !outstandingPing {
if channelz.IsOn() {
- atomic.AddInt64(&t.czData.kpCount, 1)
+ t.channelz.SocketMetrics.KeepAlivesSent.Add(1)
}
t.controlBuf.put(p)
timeoutLeft = t.kp.Timeout
@@ -1738,40 +1765,23 @@ func (t *http2Client) GoAway() <-chan struct{} {
return t.goAway
}
-func (t *http2Client) ChannelzMetric() *channelz.SocketInternalMetric {
- s := channelz.SocketInternalMetric{
- StreamsStarted: atomic.LoadInt64(&t.czData.streamsStarted),
- StreamsSucceeded: atomic.LoadInt64(&t.czData.streamsSucceeded),
- StreamsFailed: atomic.LoadInt64(&t.czData.streamsFailed),
- MessagesSent: atomic.LoadInt64(&t.czData.msgSent),
- MessagesReceived: atomic.LoadInt64(&t.czData.msgRecv),
- KeepAlivesSent: atomic.LoadInt64(&t.czData.kpCount),
- LastLocalStreamCreatedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastStreamCreatedTime)),
- LastMessageSentTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgSentTime)),
- LastMessageReceivedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgRecvTime)),
- LocalFlowControlWindow: int64(t.fc.getSize()),
- SocketOptions: channelz.GetSocketOption(t.conn),
- LocalAddr: t.localAddr,
- RemoteAddr: t.remoteAddr,
- // RemoteName :
+func (t *http2Client) socketMetrics() *channelz.EphemeralSocketMetrics {
+ return &channelz.EphemeralSocketMetrics{
+ LocalFlowControlWindow: int64(t.fc.getSize()),
+ RemoteFlowControlWindow: t.getOutFlowWindow(),
}
- if au, ok := t.authInfo.(credentials.ChannelzSecurityInfo); ok {
- s.Security = au.GetSecurityValue()
- }
- s.RemoteFlowControlWindow = t.getOutFlowWindow()
- return &s
}
func (t *http2Client) RemoteAddr() net.Addr { return t.remoteAddr }
func (t *http2Client) IncrMsgSent() {
- atomic.AddInt64(&t.czData.msgSent, 1)
- atomic.StoreInt64(&t.czData.lastMsgSentTime, time.Now().UnixNano())
+ t.channelz.SocketMetrics.MessagesSent.Add(1)
+ t.channelz.SocketMetrics.LastMessageSentTimestamp.Store(time.Now().UnixNano())
}
func (t *http2Client) IncrMsgRecv() {
- atomic.AddInt64(&t.czData.msgRecv, 1)
- atomic.StoreInt64(&t.czData.lastMsgRecvTime, time.Now().UnixNano())
+ t.channelz.SocketMetrics.MessagesReceived.Add(1)
+ t.channelz.SocketMetrics.LastMessageReceivedTimestamp.Store(time.Now().UnixNano())
}
func (t *http2Client) getOutFlowWindow() int64 {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_server.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_server.go
index a206e2eef7..cab0e2d3d4 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_server.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http2_server.go
@@ -32,13 +32,13 @@ import (
"sync/atomic"
"time"
- "github.com/golang/protobuf/proto"
"golang.org/x/net/http2"
"golang.org/x/net/http2/hpack"
"google.golang.org/grpc/internal/grpclog"
"google.golang.org/grpc/internal/grpcutil"
"google.golang.org/grpc/internal/pretty"
"google.golang.org/grpc/internal/syscall"
+ "google.golang.org/protobuf/proto"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
@@ -118,8 +118,7 @@ type http2Server struct {
idle time.Time
// Fields below are for channelz metric collection.
- channelzID *channelz.Identifier
- czData *channelzData
+ channelz *channelz.Socket
bufferPool *bufferPool
connectionID uint64
@@ -262,9 +261,24 @@ func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport,
idle: time.Now(),
kep: kep,
initialWindowSize: iwz,
- czData: new(channelzData),
bufferPool: newBufferPool(),
}
+ var czSecurity credentials.ChannelzSecurityValue
+ if au, ok := authInfo.(credentials.ChannelzSecurityInfo); ok {
+ czSecurity = au.GetSecurityValue()
+ }
+ t.channelz = channelz.RegisterSocket(
+ &channelz.Socket{
+ SocketType: channelz.SocketTypeNormal,
+ Parent: config.ChannelzParent,
+ SocketMetrics: channelz.SocketMetrics{},
+ EphemeralMetrics: t.socketMetrics,
+ LocalAddr: t.peer.LocalAddr,
+ RemoteAddr: t.peer.Addr,
+ SocketOptions: channelz.GetSocketOption(t.conn),
+ Security: czSecurity,
+ },
+ )
t.logger = prefixLoggerForServerTransport(t)
t.controlBuf = newControlBuffer(t.done)
@@ -274,10 +288,6 @@ func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport,
updateFlowControl: t.updateFlowControl,
}
}
- t.channelzID, err = channelz.RegisterNormalSocket(t, config.ChannelzParentID, fmt.Sprintf("%s -> %s", t.peer.Addr, t.peer.LocalAddr))
- if err != nil {
- return nil, err
- }
t.connectionID = atomic.AddUint64(&serverConnectionCounter, 1)
t.framer.writer.Flush()
@@ -320,8 +330,7 @@ func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport,
t.handleSettings(sf)
go func() {
- t.loopy = newLoopyWriter(serverSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger)
- t.loopy.ssGoAwayHandler = t.outgoingGoAwayHandler
+ t.loopy = newLoopyWriter(serverSide, t.framer, t.controlBuf, t.bdpEst, t.conn, t.logger, t.outgoingGoAwayHandler)
err := t.loopy.run()
close(t.loopyWriterDone)
if !isIOError(err) {
@@ -334,9 +343,11 @@ func NewServerTransport(conn net.Conn, config *ServerConfig) (_ ServerTransport,
// closed, would lead to a TCP RST instead of FIN, and the client
// encountering errors. For more info:
// https://github.com/grpc/grpc-go/issues/5358
+ timer := time.NewTimer(time.Second)
+ defer timer.Stop()
select {
case <-t.readerDone:
- case <-time.After(time.Second):
+ case <-timer.C:
}
t.conn.Close()
}
@@ -592,8 +603,8 @@ func (t *http2Server) operateHeaders(ctx context.Context, frame *http2.MetaHeade
}
t.mu.Unlock()
if channelz.IsOn() {
- atomic.AddInt64(&t.czData.streamsStarted, 1)
- atomic.StoreInt64(&t.czData.lastStreamCreatedTime, time.Now().UnixNano())
+ t.channelz.SocketMetrics.StreamsStarted.Add(1)
+ t.channelz.SocketMetrics.LastRemoteStreamCreatedTimestamp.Store(time.Now().UnixNano())
}
s.requestRead = func(n int) {
t.adjustWindow(s, uint32(n))
@@ -652,18 +663,20 @@ func (t *http2Server) HandleStreams(ctx context.Context, handle func(*Stream)) {
}
continue
}
- if err == io.EOF || err == io.ErrUnexpectedEOF {
- t.Close(err)
- return
- }
t.Close(err)
return
}
switch frame := frame.(type) {
case *http2.MetaHeadersFrame:
if err := t.operateHeaders(ctx, frame, handle); err != nil {
- t.Close(err)
- break
+ // Any error processing client headers, e.g. invalid stream ID,
+ // is considered a protocol violation.
+ t.controlBuf.put(&goAway{
+ code: http2.ErrCodeProtocol,
+ debugData: []byte(err.Error()),
+ closeConn: err,
+ })
+ continue
}
case *http2.DataFrame:
t.handleData(frame)
@@ -846,7 +859,7 @@ func (t *http2Server) handleSettings(f *http2.SettingsFrame) {
}
return nil
})
- t.controlBuf.executeAndPut(func(any) bool {
+ t.controlBuf.executeAndPut(func() bool {
for _, f := range updateFuncs {
f()
}
@@ -1000,12 +1013,13 @@ func (t *http2Server) writeHeaderLocked(s *Stream) error {
headerFields = append(headerFields, hpack.HeaderField{Name: "grpc-encoding", Value: s.sendCompress})
}
headerFields = appendHeaderFieldsFromMD(headerFields, s.header)
- success, err := t.controlBuf.executeAndPut(t.checkForHeaderListSize, &headerFrame{
+ hf := &headerFrame{
streamID: s.id,
hf: headerFields,
endStream: false,
onWrite: t.setResetPingStrikes,
- })
+ }
+ success, err := t.controlBuf.executeAndPut(func() bool { return t.checkForHeaderListSize(hf) }, hf)
if !success {
if err != nil {
return err
@@ -1194,12 +1208,12 @@ func (t *http2Server) keepalive() {
continue
}
if outstandingPing && kpTimeoutLeft <= 0 {
- t.Close(fmt.Errorf("keepalive ping not acked within timeout %s", t.kp.Time))
+ t.Close(fmt.Errorf("keepalive ping not acked within timeout %s", t.kp.Timeout))
return
}
if !outstandingPing {
if channelz.IsOn() {
- atomic.AddInt64(&t.czData.kpCount, 1)
+ t.channelz.SocketMetrics.KeepAlivesSent.Add(1)
}
t.controlBuf.put(p)
kpTimeoutLeft = t.kp.Timeout
@@ -1239,7 +1253,7 @@ func (t *http2Server) Close(err error) {
if err := t.conn.Close(); err != nil && t.logger.V(logLevel) {
t.logger.Infof("Error closing underlying net.Conn during Close: %v", err)
}
- channelz.RemoveEntry(t.channelzID)
+ channelz.RemoveEntry(t.channelz.ID)
// Cancel all active streams.
for _, s := range streams {
s.cancel()
@@ -1260,9 +1274,9 @@ func (t *http2Server) deleteStream(s *Stream, eosReceived bool) {
if channelz.IsOn() {
if eosReceived {
- atomic.AddInt64(&t.czData.streamsSucceeded, 1)
+ t.channelz.SocketMetrics.StreamsSucceeded.Add(1)
} else {
- atomic.AddInt64(&t.czData.streamsFailed, 1)
+ t.channelz.SocketMetrics.StreamsFailed.Add(1)
}
}
}
@@ -1379,38 +1393,21 @@ func (t *http2Server) outgoingGoAwayHandler(g *goAway) (bool, error) {
return false, nil
}
-func (t *http2Server) ChannelzMetric() *channelz.SocketInternalMetric {
- s := channelz.SocketInternalMetric{
- StreamsStarted: atomic.LoadInt64(&t.czData.streamsStarted),
- StreamsSucceeded: atomic.LoadInt64(&t.czData.streamsSucceeded),
- StreamsFailed: atomic.LoadInt64(&t.czData.streamsFailed),
- MessagesSent: atomic.LoadInt64(&t.czData.msgSent),
- MessagesReceived: atomic.LoadInt64(&t.czData.msgRecv),
- KeepAlivesSent: atomic.LoadInt64(&t.czData.kpCount),
- LastRemoteStreamCreatedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastStreamCreatedTime)),
- LastMessageSentTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgSentTime)),
- LastMessageReceivedTimestamp: time.Unix(0, atomic.LoadInt64(&t.czData.lastMsgRecvTime)),
- LocalFlowControlWindow: int64(t.fc.getSize()),
- SocketOptions: channelz.GetSocketOption(t.conn),
- LocalAddr: t.peer.LocalAddr,
- RemoteAddr: t.peer.Addr,
- // RemoteName :
+func (t *http2Server) socketMetrics() *channelz.EphemeralSocketMetrics {
+ return &channelz.EphemeralSocketMetrics{
+ LocalFlowControlWindow: int64(t.fc.getSize()),
+ RemoteFlowControlWindow: t.getOutFlowWindow(),
}
- if au, ok := t.peer.AuthInfo.(credentials.ChannelzSecurityInfo); ok {
- s.Security = au.GetSecurityValue()
- }
- s.RemoteFlowControlWindow = t.getOutFlowWindow()
- return &s
}
func (t *http2Server) IncrMsgSent() {
- atomic.AddInt64(&t.czData.msgSent, 1)
- atomic.StoreInt64(&t.czData.lastMsgSentTime, time.Now().UnixNano())
+ t.channelz.SocketMetrics.MessagesSent.Add(1)
+ t.channelz.SocketMetrics.LastMessageSentTimestamp.Add(1)
}
func (t *http2Server) IncrMsgRecv() {
- atomic.AddInt64(&t.czData.msgRecv, 1)
- atomic.StoreInt64(&t.czData.lastMsgRecvTime, time.Now().UnixNano())
+ t.channelz.SocketMetrics.MessagesReceived.Add(1)
+ t.channelz.SocketMetrics.LastMessageReceivedTimestamp.Add(1)
}
func (t *http2Server) getOutFlowWindow() int64 {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http_util.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http_util.go
index dc29d590e9..39cef3bd44 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http_util.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/http_util.go
@@ -418,10 +418,9 @@ func newFramer(conn net.Conn, writeBufferSize, readBufferSize int, sharedWriteBu
return f
}
-func getWriteBufferPool(writeBufferSize int) *sync.Pool {
+func getWriteBufferPool(size int) *sync.Pool {
writeBufferMutex.Lock()
defer writeBufferMutex.Unlock()
- size := writeBufferSize * 2
pool, ok := writeBufferPoolMap[size]
if ok {
return pool
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/transport.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/transport.go
index b7b8fec180..4b39c0ade9 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/transport.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/transport/transport.go
@@ -28,6 +28,7 @@ import (
"fmt"
"io"
"net"
+ "strings"
"sync"
"sync/atomic"
"time"
@@ -303,7 +304,7 @@ func (s *Stream) isHeaderSent() bool {
}
// updateHeaderSent updates headerSent and returns true
-// if it was alreay set. It is valid only on server-side.
+// if it was already set. It is valid only on server-side.
func (s *Stream) updateHeaderSent() bool {
return atomic.SwapUint32(&s.headerSent, 1) == 1
}
@@ -362,8 +363,12 @@ func (s *Stream) SendCompress() string {
// ClientAdvertisedCompressors returns the compressor names advertised by the
// client via grpc-accept-encoding header.
-func (s *Stream) ClientAdvertisedCompressors() string {
- return s.clientAdvertisedCompressors
+func (s *Stream) ClientAdvertisedCompressors() []string {
+ values := strings.Split(s.clientAdvertisedCompressors, ",")
+ for i, v := range values {
+ values[i] = strings.TrimSpace(v)
+ }
+ return values
}
// Done returns a channel which is closed when it receives the final status
@@ -566,7 +571,7 @@ type ServerConfig struct {
WriteBufferSize int
ReadBufferSize int
SharedWriteBuffer bool
- ChannelzParentID *channelz.Identifier
+ ChannelzParent *channelz.Server
MaxHeaderListSize *uint32
HeaderTableSize *uint32
}
@@ -601,8 +606,8 @@ type ConnectOptions struct {
ReadBufferSize int
// SharedWriteBuffer indicates whether connections should reuse write buffer
SharedWriteBuffer bool
- // ChannelzParentID sets the addrConn id which initiate the creation of this client transport.
- ChannelzParentID *channelz.Identifier
+ // ChannelzParent sets the addrConn id which initiated the creation of this client transport.
+ ChannelzParent *channelz.SubChannel
// MaxHeaderListSize sets the max (uncompressed) size of header list that is prepared to be received.
MaxHeaderListSize *uint32
// UseProxy specifies if a proxy should be used.
@@ -815,30 +820,6 @@ const (
GoAwayTooManyPings GoAwayReason = 2
)
-// channelzData is used to store channelz related data for http2Client and http2Server.
-// These fields cannot be embedded in the original structs (e.g. http2Client), since to do atomic
-// operation on int64 variable on 32-bit machine, user is responsible to enforce memory alignment.
-// Here, by grouping those int64 fields inside a struct, we are enforcing the alignment.
-type channelzData struct {
- kpCount int64
- // The number of streams that have started, including already finished ones.
- streamsStarted int64
- // Client side: The number of streams that have ended successfully by receiving
- // EoS bit set frame from server.
- // Server side: The number of streams that have ended successfully by sending
- // frame with EoS bit set.
- streamsSucceeded int64
- streamsFailed int64
- // lastStreamCreatedTime stores the timestamp that the last stream gets created. It is of int64 type
- // instead of time.Time since it's more costly to atomically update time.Time variable than int64
- // variable. The same goes for lastMsgSentTime and lastMsgRecvTime.
- lastStreamCreatedTime int64
- msgSent int64
- msgRecv int64
- lastMsgSentTime int64
- lastMsgRecvTime int64
-}
-
// ContextErr converts the error from context package into a status error.
func ContextErr(err error) error {
switch err {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go
deleted file mode 100644
index e8b492774d..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/xds_handshake_cluster.go
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package internal
-
-import (
- "google.golang.org/grpc/attributes"
- "google.golang.org/grpc/resolver"
-)
-
-// handshakeClusterNameKey is the type used as the key to store cluster name in
-// the Attributes field of resolver.Address.
-type handshakeClusterNameKey struct{}
-
-// SetXDSHandshakeClusterName returns a copy of addr in which the Attributes field
-// is updated with the cluster name.
-func SetXDSHandshakeClusterName(addr resolver.Address, clusterName string) resolver.Address {
- addr.Attributes = addr.Attributes.WithValue(handshakeClusterNameKey{}, clusterName)
- return addr
-}
-
-// GetXDSHandshakeClusterName returns cluster name stored in attr.
-func GetXDSHandshakeClusterName(attr *attributes.Attributes) (string, bool) {
- v := attr.Value(handshakeClusterNameKey{})
- name, ok := v.(string)
- return name, ok
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/peer/peer.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/peer/peer.go
index a821ff9b2b..499a49c8c1 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/peer/peer.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/peer/peer.go
@@ -22,7 +22,9 @@ package peer
import (
"context"
+ "fmt"
"net"
+ "strings"
"google.golang.org/grpc/credentials"
)
@@ -39,6 +41,34 @@ type Peer struct {
AuthInfo credentials.AuthInfo
}
+// String ensures the Peer types implements the Stringer interface in order to
+// allow to print a context with a peerKey value effectively.
+func (p *Peer) String() string {
+ if p == nil {
+ return "Peer"
+ }
+ sb := &strings.Builder{}
+ sb.WriteString("Peer{")
+ if p.Addr != nil {
+ fmt.Fprintf(sb, "Addr: '%s', ", p.Addr.String())
+ } else {
+ fmt.Fprintf(sb, "Addr: , ")
+ }
+ if p.LocalAddr != nil {
+ fmt.Fprintf(sb, "LocalAddr: '%s', ", p.LocalAddr.String())
+ } else {
+ fmt.Fprintf(sb, "LocalAddr: , ")
+ }
+ if p.AuthInfo != nil {
+ fmt.Fprintf(sb, "AuthInfo: '%s'", p.AuthInfo.AuthType())
+ } else {
+ fmt.Fprintf(sb, "AuthInfo: ")
+ }
+ sb.WriteString("}")
+
+ return sb.String()
+}
+
type peerKey struct{}
// NewContext creates a new context with peer information attached.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/picker_wrapper.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/picker_wrapper.go
index bf56faa76d..56e8aba783 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/picker_wrapper.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/picker_wrapper.go
@@ -20,6 +20,7 @@ package grpc
import (
"context"
+ "fmt"
"io"
"sync"
@@ -117,7 +118,7 @@ func (pw *pickerWrapper) pick(ctx context.Context, failfast bool, info balancer.
if lastPickErr != nil {
errStr = "latest balancer error: " + lastPickErr.Error()
} else {
- errStr = ctx.Err().Error()
+ errStr = fmt.Sprintf("received context error while waiting for new LB policy update: %s", ctx.Err().Error())
}
switch ctx.Err() {
case context.DeadlineExceeded:
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/pickfirst.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/pickfirst.go
index 5128f9364d..8853626614 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/pickfirst.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/pickfirst.go
@@ -38,19 +38,15 @@ const (
logPrefix = "[pick-first-lb %p] "
)
-func newPickfirstBuilder() balancer.Builder {
- return &pickfirstBuilder{}
-}
-
type pickfirstBuilder struct{}
-func (*pickfirstBuilder) Build(cc balancer.ClientConn, opt balancer.BuildOptions) balancer.Balancer {
+func (pickfirstBuilder) Build(cc balancer.ClientConn, opt balancer.BuildOptions) balancer.Balancer {
b := &pickfirstBalancer{cc: cc}
b.logger = internalgrpclog.NewPrefixLogger(logger, fmt.Sprintf(logPrefix, b))
return b
}
-func (*pickfirstBuilder) Name() string {
+func (pickfirstBuilder) Name() string {
return PickFirstBalancerName
}
@@ -58,12 +54,12 @@ type pfConfig struct {
serviceconfig.LoadBalancingConfig `json:"-"`
// If set to true, instructs the LB policy to shuffle the order of the list
- // of addresses received from the name resolver before attempting to
+ // of endpoints received from the name resolver before attempting to
// connect to them.
ShuffleAddressList bool `json:"shuffleAddressList"`
}
-func (*pickfirstBuilder) ParseConfig(js json.RawMessage) (serviceconfig.LoadBalancingConfig, error) {
+func (pickfirstBuilder) ParseConfig(js json.RawMessage) (serviceconfig.LoadBalancingConfig, error) {
var cfg pfConfig
if err := json.Unmarshal(js, &cfg); err != nil {
return nil, fmt.Errorf("pickfirst: unable to unmarshal LB policy config: %s, error: %v", string(js), err)
@@ -98,8 +94,7 @@ func (b *pickfirstBalancer) ResolverError(err error) {
}
func (b *pickfirstBalancer) UpdateClientConnState(state balancer.ClientConnState) error {
- addrs := state.ResolverState.Addresses
- if len(addrs) == 0 {
+ if len(state.ResolverState.Addresses) == 0 && len(state.ResolverState.Endpoints) == 0 {
// The resolver reported an empty address list. Treat it like an error by
// calling b.ResolverError.
if b.subConn != nil {
@@ -111,22 +106,49 @@ func (b *pickfirstBalancer) UpdateClientConnState(state balancer.ClientConnState
b.ResolverError(errors.New("produced zero addresses"))
return balancer.ErrBadResolverState
}
-
// We don't have to guard this block with the env var because ParseConfig
// already does so.
cfg, ok := state.BalancerConfig.(pfConfig)
if state.BalancerConfig != nil && !ok {
return fmt.Errorf("pickfirst: received illegal BalancerConfig (type %T): %v", state.BalancerConfig, state.BalancerConfig)
}
- if cfg.ShuffleAddressList {
- addrs = append([]resolver.Address{}, addrs...)
- grpcrand.Shuffle(len(addrs), func(i, j int) { addrs[i], addrs[j] = addrs[j], addrs[i] })
- }
if b.logger.V(2) {
b.logger.Infof("Received new config %s, resolver state %s", pretty.ToJSON(cfg), pretty.ToJSON(state.ResolverState))
}
+ var addrs []resolver.Address
+ if endpoints := state.ResolverState.Endpoints; len(endpoints) != 0 {
+ // Perform the optional shuffling described in gRFC A62. The shuffling will
+ // change the order of endpoints but not touch the order of the addresses
+ // within each endpoint. - A61
+ if cfg.ShuffleAddressList {
+ endpoints = append([]resolver.Endpoint{}, endpoints...)
+ grpcrand.Shuffle(len(endpoints), func(i, j int) { endpoints[i], endpoints[j] = endpoints[j], endpoints[i] })
+ }
+
+ // "Flatten the list by concatenating the ordered list of addresses for each
+ // of the endpoints, in order." - A61
+ for _, endpoint := range endpoints {
+ // "In the flattened list, interleave addresses from the two address
+ // families, as per RFC-8304 section 4." - A61
+ // TODO: support the above language.
+ addrs = append(addrs, endpoint.Addresses...)
+ }
+ } else {
+ // Endpoints not set, process addresses until we migrate resolver
+ // emissions fully to Endpoints. The top channel does wrap emitted
+ // addresses with endpoints, however some balancers such as weighted
+ // target do not forwarrd the corresponding correct endpoints down/split
+ // endpoints properly. Once all balancers correctly forward endpoints
+ // down, can delete this else conditional.
+ addrs = state.ResolverState.Addresses
+ if cfg.ShuffleAddressList {
+ addrs = append([]resolver.Address{}, addrs...)
+ grpcrand.Shuffle(len(addrs), func(i, j int) { addrs[i], addrs[j] = addrs[j], addrs[i] })
+ }
+ }
+
if b.subConn != nil {
b.cc.UpdateAddresses(b.subConn, addrs)
return nil
@@ -243,7 +265,3 @@ func (i *idlePicker) Pick(balancer.PickInfo) (balancer.PickResult, error) {
i.subConn.Connect()
return balancer.PickResult{}, balancer.ErrNoSubConnAvailable
}
-
-func init() {
- balancer.Register(newPickfirstBuilder())
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/regenerate.sh b/cluster-api/providers/azure/vendor/google.golang.org/grpc/regenerate.sh
index a6f26c8ab0..3edca296c2 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/regenerate.sh
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/regenerate.sh
@@ -63,7 +63,7 @@ LEGACY_SOURCES=(
# Generates only the new gRPC Service symbols
SOURCES=(
- $(git ls-files --exclude-standard --cached --others "*.proto" | grep -v '^\(profiling/proto/service.proto\|reflection/grpc_reflection_v1alpha/reflection.proto\)$')
+ $(git ls-files --exclude-standard --cached --others "*.proto" | grep -v '^profiling/proto/service.proto$')
${WORKDIR}/grpc-proto/grpc/gcp/altscontext.proto
${WORKDIR}/grpc-proto/grpc/gcp/handshaker.proto
${WORKDIR}/grpc-proto/grpc/gcp/transport_security_common.proto
@@ -93,7 +93,7 @@ Mgrpc/testing/empty.proto=google.golang.org/grpc/interop/grpc_testing
for src in ${SOURCES[@]}; do
echo "protoc ${src}"
- protoc --go_out=${OPTS}:${WORKDIR}/out --go-grpc_out=${OPTS}:${WORKDIR}/out \
+ protoc --go_out=${OPTS}:${WORKDIR}/out --go-grpc_out=${OPTS},use_generic_streams_experimental=true:${WORKDIR}/out \
-I"." \
-I${WORKDIR}/grpc-proto \
-I${WORKDIR}/googleapis \
@@ -118,6 +118,6 @@ mv ${WORKDIR}/out/google.golang.org/grpc/lookup/grpc_lookup_v1/* ${WORKDIR}/out/
# grpc_testing_not_regenerate/*.pb.go are not re-generated,
# see grpc_testing_not_regenerate/README.md for details.
-rm ${WORKDIR}/out/google.golang.org/grpc/reflection/grpc_testing_not_regenerate/*.pb.go
+rm ${WORKDIR}/out/google.golang.org/grpc/reflection/test/grpc_testing_not_regenerate/*.pb.go
cp -R ${WORKDIR}/out/google.golang.org/grpc/* .
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/dns/dns_resolver.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/dns/dns_resolver.go
index 14aa6f20ae..ef3d6ed6c4 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/dns/dns_resolver.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/dns/dns_resolver.go
@@ -18,19 +18,43 @@
// Package dns implements a dns resolver to be installed as the default resolver
// in grpc.
-//
-// Deprecated: this package is imported by grpc and should not need to be
-// imported directly by users.
package dns
import (
+ "time"
+
"google.golang.org/grpc/internal/resolver/dns"
"google.golang.org/grpc/resolver"
)
+// SetResolvingTimeout sets the maximum duration for DNS resolution requests.
+//
+// This function affects the global timeout used by all channels using the DNS
+// name resolver scheme.
+//
+// It must be called only at application startup, before any gRPC calls are
+// made. Modifying this value after initialization is not thread-safe.
+//
+// The default value is 30 seconds. Setting the timeout too low may result in
+// premature timeouts during resolution, while setting it too high may lead to
+// unnecessary delays in service discovery. Choose a value appropriate for your
+// specific needs and network environment.
+func SetResolvingTimeout(timeout time.Duration) {
+ dns.ResolvingTimeout = timeout
+}
+
// NewBuilder creates a dnsBuilder which is used to factory DNS resolvers.
//
// Deprecated: import grpc and use resolver.Get("dns") instead.
func NewBuilder() resolver.Builder {
return dns.NewBuilder()
}
+
+// SetMinResolutionInterval sets the default minimum interval at which DNS
+// re-resolutions are allowed. This helps to prevent excessive re-resolution.
+//
+// It must be called only at application startup, before any gRPC calls are
+// made. Modifying this value after initialization is not thread-safe.
+func SetMinResolutionInterval(d time.Duration) {
+ dns.MinResolutionInterval = d
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/resolver.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/resolver.go
index adf89dd9cf..202854511b 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/resolver.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver/resolver.go
@@ -29,6 +29,7 @@ import (
"google.golang.org/grpc/attributes"
"google.golang.org/grpc/credentials"
+ "google.golang.org/grpc/internal"
"google.golang.org/grpc/serviceconfig"
)
@@ -63,16 +64,18 @@ func Get(scheme string) Builder {
}
// SetDefaultScheme sets the default scheme that will be used. The default
-// default scheme is "passthrough".
+// scheme is initially set to "passthrough".
//
// NOTE: this function must only be called during initialization time (i.e. in
// an init() function), and is not thread-safe. The scheme set last overrides
// previously set values.
func SetDefaultScheme(scheme string) {
defaultScheme = scheme
+ internal.UserSetDefaultScheme = true
}
-// GetDefaultScheme gets the default scheme that will be used.
+// GetDefaultScheme gets the default scheme that will be used by grpc.Dial. If
+// SetDefaultScheme is never called, the default scheme used by grpc.NewClient is "dns" instead.
func GetDefaultScheme() string {
return defaultScheme
}
@@ -168,6 +171,9 @@ type BuildOptions struct {
// field. In most cases though, it is not appropriate, and this field may
// be ignored.
Dialer func(context.Context, string) (net.Conn, error)
+ // Authority is the effective authority of the clientconn for which the
+ // resolver is built.
+ Authority string
}
// An Endpoint is one network endpoint, or server, which may have multiple
@@ -281,9 +287,9 @@ func (t Target) Endpoint() string {
return strings.TrimPrefix(endpoint, "/")
}
-// String returns a string representation of Target.
+// String returns the canonical string representation of Target.
func (t Target) String() string {
- return t.URL.String()
+ return t.URL.Scheme + "://" + t.URL.Host + "/" + t.Endpoint()
}
// Builder creates a resolver that will be used to watch name resolution updates.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver_wrapper.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver_wrapper.go
index c79bab1214..9dcc9780f8 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver_wrapper.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/resolver_wrapper.go
@@ -75,6 +75,7 @@ func (ccr *ccResolverWrapper) start() error {
DialCreds: ccr.cc.dopts.copts.TransportCredentials,
CredsBundle: ccr.cc.dopts.copts.CredsBundle,
Dialer: ccr.cc.dopts.copts.Dialer,
+ Authority: ccr.cc.authority,
}
var err error
ccr.resolver, err = ccr.cc.resolverBuilder.Build(ccr.cc.parsedTarget, ccr, opts)
@@ -96,7 +97,7 @@ func (ccr *ccResolverWrapper) resolveNow(o resolver.ResolveNowOptions) {
// finished shutting down, the channel should block on ccr.serializer.Done()
// without cc.mu held.
func (ccr *ccResolverWrapper) close() {
- channelz.Info(logger, ccr.cc.channelzID, "Closing the name resolver")
+ channelz.Info(logger, ccr.cc.channelz, "Closing the name resolver")
ccr.mu.Lock()
ccr.closed = true
ccr.mu.Unlock()
@@ -146,7 +147,7 @@ func (ccr *ccResolverWrapper) ReportError(err error) {
return
}
ccr.mu.Unlock()
- channelz.Warningf(logger, ccr.cc.channelzID, "ccResolverWrapper: reporting error to cc: %v", err)
+ channelz.Warningf(logger, ccr.cc.channelz, "ccResolverWrapper: reporting error to cc: %v", err)
ccr.cc.updateResolverStateAndUnlock(resolver.State{}, err)
}
@@ -193,5 +194,5 @@ func (ccr *ccResolverWrapper) addChannelzTraceEvent(s resolver.State) {
} else if len(ccr.curState.Addresses) == 0 && len(s.Addresses) > 0 {
updates = append(updates, "resolver returned new addresses")
}
- channelz.Infof(logger, ccr.cc.channelzID, "Resolver state updated: %s (%v)", pretty.ToJSON(s), strings.Join(updates, "; "))
+ channelz.Infof(logger, ccr.cc.channelz, "Resolver state updated: %s (%v)", pretty.ToJSON(s), strings.Join(updates, "; "))
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/rpc_util.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/rpc_util.go
index a4b6bc6873..fdd49e6e91 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/rpc_util.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/rpc_util.go
@@ -189,6 +189,20 @@ type EmptyCallOption struct{}
func (EmptyCallOption) before(*callInfo) error { return nil }
func (EmptyCallOption) after(*callInfo, *csAttempt) {}
+// StaticMethod returns a CallOption which specifies that a call is being made
+// to a method that is static, which means the method is known at compile time
+// and doesn't change at runtime. This can be used as a signal to stats plugins
+// that this method is safe to include as a key to a measurement.
+func StaticMethod() CallOption {
+ return StaticMethodCallOption{}
+}
+
+// StaticMethodCallOption is a CallOption that specifies that a call comes
+// from a static method.
+type StaticMethodCallOption struct {
+ EmptyCallOption
+}
+
// Header returns a CallOptions that retrieves the header metadata
// for a unary RPC.
func Header(md *metadata.MD) CallOption {
@@ -730,17 +744,19 @@ type payloadInfo struct {
uncompressedBytes []byte
}
-func recvAndDecompress(p *parser, s *transport.Stream, dc Decompressor, maxReceiveMessageSize int, payInfo *payloadInfo, compressor encoding.Compressor) ([]byte, error) {
- pf, buf, err := p.recvMsg(maxReceiveMessageSize)
+// recvAndDecompress reads a message from the stream, decompressing it if necessary.
+//
+// Cancelling the returned cancel function releases the buffer back to the pool. So the caller should cancel as soon as
+// the buffer is no longer needed.
+func recvAndDecompress(p *parser, s *transport.Stream, dc Decompressor, maxReceiveMessageSize int, payInfo *payloadInfo, compressor encoding.Compressor,
+) (uncompressedBuf []byte, cancel func(), err error) {
+ pf, compressedBuf, err := p.recvMsg(maxReceiveMessageSize)
if err != nil {
- return nil, err
- }
- if payInfo != nil {
- payInfo.compressedLength = len(buf)
+ return nil, nil, err
}
if st := checkRecvPayload(pf, s.RecvCompress(), compressor != nil || dc != nil); st != nil {
- return nil, st.Err()
+ return nil, nil, st.Err()
}
var size int
@@ -748,21 +764,35 @@ func recvAndDecompress(p *parser, s *transport.Stream, dc Decompressor, maxRecei
// To match legacy behavior, if the decompressor is set by WithDecompressor or RPCDecompressor,
// use this decompressor as the default.
if dc != nil {
- buf, err = dc.Do(bytes.NewReader(buf))
- size = len(buf)
+ uncompressedBuf, err = dc.Do(bytes.NewReader(compressedBuf))
+ size = len(uncompressedBuf)
} else {
- buf, size, err = decompress(compressor, buf, maxReceiveMessageSize)
+ uncompressedBuf, size, err = decompress(compressor, compressedBuf, maxReceiveMessageSize)
}
if err != nil {
- return nil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message: %v", err)
+ return nil, nil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message: %v", err)
}
if size > maxReceiveMessageSize {
// TODO: Revisit the error code. Currently keep it consistent with java
// implementation.
- return nil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max (%d vs. %d)", size, maxReceiveMessageSize)
+ return nil, nil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max (%d vs. %d)", size, maxReceiveMessageSize)
+ }
+ } else {
+ uncompressedBuf = compressedBuf
+ }
+
+ if payInfo != nil {
+ payInfo.compressedLength = len(compressedBuf)
+ payInfo.uncompressedBytes = uncompressedBuf
+
+ cancel = func() {}
+ } else {
+ cancel = func() {
+ p.recvBufferPool.Put(&compressedBuf)
}
}
- return buf, nil
+
+ return uncompressedBuf, cancel, nil
}
// Using compressor, decompress d, returning data and size.
@@ -782,6 +812,9 @@ func decompress(compressor encoding.Compressor, d []byte, maxReceiveMessageSize
// size is used as an estimate to size the buffer, but we
// will read more data if available.
// +MinRead so ReadFrom will not reallocate if size is correct.
+ //
+ // TODO: If we ensure that the buffer size is the same as the DecompressedSize,
+ // we can also utilize the recv buffer pool here.
buf := bytes.NewBuffer(make([]byte, 0, size+bytes.MinRead))
bytesRead, err := buf.ReadFrom(io.LimitReader(dcReader, int64(maxReceiveMessageSize)+1))
return buf.Bytes(), int(bytesRead), err
@@ -797,18 +830,15 @@ func decompress(compressor encoding.Compressor, d []byte, maxReceiveMessageSize
// dc takes precedence over compressor.
// TODO(dfawley): wrap the old compressor/decompressor using the new API?
func recv(p *parser, c baseCodec, s *transport.Stream, dc Decompressor, m any, maxReceiveMessageSize int, payInfo *payloadInfo, compressor encoding.Compressor) error {
- buf, err := recvAndDecompress(p, s, dc, maxReceiveMessageSize, payInfo, compressor)
+ buf, cancel, err := recvAndDecompress(p, s, dc, maxReceiveMessageSize, payInfo, compressor)
if err != nil {
return err
}
+ defer cancel()
+
if err := c.Unmarshal(buf, m); err != nil {
return status.Errorf(codes.Internal, "grpc: failed to unmarshal the received message: %v", err)
}
- if payInfo != nil {
- payInfo.uncompressedBytes = buf
- } else {
- p.recvBufferPool.Put(&buf)
- }
return nil
}
@@ -932,22 +962,9 @@ func setCallInfoCodec(c *callInfo) error {
return nil
}
-// channelzData is used to store channelz related data for ClientConn, addrConn and Server.
-// These fields cannot be embedded in the original structs (e.g. ClientConn), since to do atomic
-// operation on int64 variable on 32-bit machine, user is responsible to enforce memory alignment.
-// Here, by grouping those int64 fields inside a struct, we are enforcing the alignment.
-type channelzData struct {
- callsStarted int64
- callsFailed int64
- callsSucceeded int64
- // lastCallStartedTime stores the timestamp that last call starts. It is of int64 type instead of
- // time.Time since it's more costly to atomically update time.Time variable than int64 variable.
- lastCallStartedTime int64
-}
-
// The SupportPackageIsVersion variables are referenced from generated protocol
// buffer files to ensure compatibility with the gRPC version used. The latest
-// support package version is 7.
+// support package version is 9.
//
// Older versions are kept for compatibility.
//
@@ -958,6 +975,8 @@ const (
SupportPackageIsVersion5 = true
SupportPackageIsVersion6 = true
SupportPackageIsVersion7 = true
+ SupportPackageIsVersion8 = true
+ SupportPackageIsVersion9 = true
)
const grpcUA = "grpc-go/" + Version
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/server.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/server.go
index e89c5ac613..89f8e4792b 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/server.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/server.go
@@ -33,8 +33,6 @@ import (
"sync/atomic"
"time"
- "golang.org/x/net/trace"
-
"google.golang.org/grpc/codes"
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/encoding"
@@ -131,7 +129,7 @@ type Server struct {
drain bool
cv *sync.Cond // signaled when connections close for GracefulStop
services map[string]*serviceInfo // service name -> service info
- events trace.EventLog
+ events traceEventLog
quit *grpcsync.Event
done *grpcsync.Event
@@ -139,8 +137,7 @@ type Server struct {
serveWG sync.WaitGroup // counts active Serve goroutines for Stop/GracefulStop
handlersWG sync.WaitGroup // counts active method handler goroutines
- channelzID *channelz.Identifier
- czData *channelzData
+ channelz *channelz.Server
serverWorkerChannel chan func()
serverWorkerChannelClose func()
@@ -251,11 +248,9 @@ func SharedWriteBuffer(val bool) ServerOption {
}
// WriteBufferSize determines how much data can be batched before doing a write
-// on the wire. The corresponding memory allocation for this buffer will be
-// twice the size to keep syscalls low. The default value for this buffer is
-// 32KB. Zero or negative values will disable the write buffer such that each
-// write will be on underlying connection.
-// Note: A Send call may not directly translate to a write.
+// on the wire. The default value for this buffer is 32KB. Zero or negative
+// values will disable the write buffer such that each write will be on underlying
+// connection. Note: A Send call may not directly translate to a write.
func WriteBufferSize(s int) ServerOption {
return newFuncServerOption(func(o *serverOptions) {
o.writeBufferSize = s
@@ -532,12 +527,22 @@ func ConnectionTimeout(d time.Duration) ServerOption {
})
}
+// MaxHeaderListSizeServerOption is a ServerOption that sets the max
+// (uncompressed) size of header list that the server is prepared to accept.
+type MaxHeaderListSizeServerOption struct {
+ MaxHeaderListSize uint32
+}
+
+func (o MaxHeaderListSizeServerOption) apply(so *serverOptions) {
+ so.maxHeaderListSize = &o.MaxHeaderListSize
+}
+
// MaxHeaderListSize returns a ServerOption that sets the max (uncompressed) size
// of header list that the server is prepared to accept.
func MaxHeaderListSize(s uint32) ServerOption {
- return newFuncServerOption(func(o *serverOptions) {
- o.maxHeaderListSize = &s
- })
+ return MaxHeaderListSizeServerOption{
+ MaxHeaderListSize: s,
+ }
}
// HeaderTableSize returns a ServerOption that sets the size of dynamic
@@ -663,22 +668,21 @@ func NewServer(opt ...ServerOption) *Server {
services: make(map[string]*serviceInfo),
quit: grpcsync.NewEvent(),
done: grpcsync.NewEvent(),
- czData: new(channelzData),
+ channelz: channelz.RegisterServer(""),
}
chainUnaryServerInterceptors(s)
chainStreamServerInterceptors(s)
s.cv = sync.NewCond(&s.mu)
if EnableTracing {
_, file, line, _ := runtime.Caller(1)
- s.events = trace.NewEventLog("grpc.Server", fmt.Sprintf("%s:%d", file, line))
+ s.events = newTraceEventLog("grpc.Server", fmt.Sprintf("%s:%d", file, line))
}
if s.opts.numServerWorkers > 0 {
s.initServerWorkers()
}
- s.channelzID = channelz.RegisterServer(&channelzServer{s}, "")
- channelz.Info(logger, s.channelzID, "Server created")
+ channelz.Info(logger, s.channelz, "Server created")
return s
}
@@ -804,20 +808,13 @@ var ErrServerStopped = errors.New("grpc: the server has been stopped")
type listenSocket struct {
net.Listener
- channelzID *channelz.Identifier
-}
-
-func (l *listenSocket) ChannelzMetric() *channelz.SocketInternalMetric {
- return &channelz.SocketInternalMetric{
- SocketOptions: channelz.GetSocketOption(l.Listener),
- LocalAddr: l.Listener.Addr(),
- }
+ channelz *channelz.Socket
}
func (l *listenSocket) Close() error {
err := l.Listener.Close()
- channelz.RemoveEntry(l.channelzID)
- channelz.Info(logger, l.channelzID, "ListenSocket deleted")
+ channelz.RemoveEntry(l.channelz.ID)
+ channelz.Info(logger, l.channelz, "ListenSocket deleted")
return err
}
@@ -859,7 +856,16 @@ func (s *Server) Serve(lis net.Listener) error {
}
}()
- ls := &listenSocket{Listener: lis}
+ ls := &listenSocket{
+ Listener: lis,
+ channelz: channelz.RegisterSocket(&channelz.Socket{
+ SocketType: channelz.SocketTypeListen,
+ Parent: s.channelz,
+ RefName: lis.Addr().String(),
+ LocalAddr: lis.Addr(),
+ SocketOptions: channelz.GetSocketOption(lis)},
+ ),
+ }
s.lis[ls] = true
defer func() {
@@ -871,14 +877,8 @@ func (s *Server) Serve(lis net.Listener) error {
s.mu.Unlock()
}()
- var err error
- ls.channelzID, err = channelz.RegisterListenSocket(ls, s.channelzID, lis.Addr().String())
- if err != nil {
- s.mu.Unlock()
- return err
- }
s.mu.Unlock()
- channelz.Info(logger, ls.channelzID, "ListenSocket created")
+ channelz.Info(logger, ls.channelz, "ListenSocket created")
var tempDelay time.Duration // how long to sleep on accept failure
for {
@@ -977,7 +977,7 @@ func (s *Server) newHTTP2Transport(c net.Conn) transport.ServerTransport {
WriteBufferSize: s.opts.writeBufferSize,
ReadBufferSize: s.opts.readBufferSize,
SharedWriteBuffer: s.opts.sharedWriteBuffer,
- ChannelzParentID: s.channelzID,
+ ChannelzParent: s.channelz,
MaxHeaderListSize: s.opts.maxHeaderListSize,
HeaderTableSize: s.opts.headerTableSize,
}
@@ -991,7 +991,7 @@ func (s *Server) newHTTP2Transport(c net.Conn) transport.ServerTransport {
if err != credentials.ErrConnDispatched {
// Don't log on ErrConnDispatched and io.EOF to prevent log spam.
if err != io.EOF {
- channelz.Info(logger, s.channelzID, "grpc: Server.Serve failed to create ServerTransport: ", err)
+ channelz.Info(logger, s.channelz, "grpc: Server.Serve failed to create ServerTransport: ", err)
}
c.Close()
}
@@ -1123,37 +1123,28 @@ func (s *Server) removeConn(addr string, st transport.ServerTransport) {
}
}
-func (s *Server) channelzMetric() *channelz.ServerInternalMetric {
- return &channelz.ServerInternalMetric{
- CallsStarted: atomic.LoadInt64(&s.czData.callsStarted),
- CallsSucceeded: atomic.LoadInt64(&s.czData.callsSucceeded),
- CallsFailed: atomic.LoadInt64(&s.czData.callsFailed),
- LastCallStartedTimestamp: time.Unix(0, atomic.LoadInt64(&s.czData.lastCallStartedTime)),
- }
-}
-
func (s *Server) incrCallsStarted() {
- atomic.AddInt64(&s.czData.callsStarted, 1)
- atomic.StoreInt64(&s.czData.lastCallStartedTime, time.Now().UnixNano())
+ s.channelz.ServerMetrics.CallsStarted.Add(1)
+ s.channelz.ServerMetrics.LastCallStartedTimestamp.Store(time.Now().UnixNano())
}
func (s *Server) incrCallsSucceeded() {
- atomic.AddInt64(&s.czData.callsSucceeded, 1)
+ s.channelz.ServerMetrics.CallsSucceeded.Add(1)
}
func (s *Server) incrCallsFailed() {
- atomic.AddInt64(&s.czData.callsFailed, 1)
+ s.channelz.ServerMetrics.CallsFailed.Add(1)
}
func (s *Server) sendResponse(ctx context.Context, t transport.ServerTransport, stream *transport.Stream, msg any, cp Compressor, opts *transport.Options, comp encoding.Compressor) error {
data, err := encode(s.getCodec(stream.ContentSubtype()), msg)
if err != nil {
- channelz.Error(logger, s.channelzID, "grpc: server failed to encode response: ", err)
+ channelz.Error(logger, s.channelz, "grpc: server failed to encode response: ", err)
return err
}
compData, err := compress(data, cp, comp)
if err != nil {
- channelz.Error(logger, s.channelzID, "grpc: server failed to compress response: ", err)
+ channelz.Error(logger, s.channelz, "grpc: server failed to compress response: ", err)
return err
}
hdr, payload := msgHeader(data, compData)
@@ -1344,10 +1335,11 @@ func (s *Server) processUnaryRPC(ctx context.Context, t transport.ServerTranspor
if len(shs) != 0 || len(binlogs) != 0 {
payInfo = &payloadInfo{}
}
- d, err := recvAndDecompress(&parser{r: stream, recvBufferPool: s.opts.recvBufferPool}, stream, dc, s.opts.maxReceiveMessageSize, payInfo, decomp)
+
+ d, cancel, err := recvAndDecompress(&parser{r: stream, recvBufferPool: s.opts.recvBufferPool}, stream, dc, s.opts.maxReceiveMessageSize, payInfo, decomp)
if err != nil {
if e := t.WriteStatus(stream, status.Convert(err)); e != nil {
- channelz.Warningf(logger, s.channelzID, "grpc: Server.processUnaryRPC failed to write status: %v", e)
+ channelz.Warningf(logger, s.channelz, "grpc: Server.processUnaryRPC failed to write status: %v", e)
}
return err
}
@@ -1355,6 +1347,8 @@ func (s *Server) processUnaryRPC(ctx context.Context, t transport.ServerTranspor
t.IncrMsgRecv()
}
df := func(v any) error {
+ defer cancel()
+
if err := s.getCodec(stream.ContentSubtype()).Unmarshal(d, v); err != nil {
return status.Errorf(codes.Internal, "grpc: error unmarshalling request: %v", err)
}
@@ -1396,7 +1390,7 @@ func (s *Server) processUnaryRPC(ctx context.Context, t transport.ServerTranspor
trInfo.tr.SetError()
}
if e := t.WriteStatus(stream, appStatus); e != nil {
- channelz.Warningf(logger, s.channelzID, "grpc: Server.processUnaryRPC failed to write status: %v", e)
+ channelz.Warningf(logger, s.channelz, "grpc: Server.processUnaryRPC failed to write status: %v", e)
}
if len(binlogs) != 0 {
if h, _ := stream.Header(); h.Len() > 0 {
@@ -1436,7 +1430,7 @@ func (s *Server) processUnaryRPC(ctx context.Context, t transport.ServerTranspor
}
if sts, ok := status.FromError(err); ok {
if e := t.WriteStatus(stream, sts); e != nil {
- channelz.Warningf(logger, s.channelzID, "grpc: Server.processUnaryRPC failed to write status: %v", e)
+ channelz.Warningf(logger, s.channelz, "grpc: Server.processUnaryRPC failed to write status: %v", e)
}
} else {
switch st := err.(type) {
@@ -1734,8 +1728,8 @@ func (s *Server) handleStream(t transport.ServerTransport, stream *transport.Str
ctx = contextWithServer(ctx, s)
var ti *traceInfo
if EnableTracing {
- tr := trace.New("grpc.Recv."+methodFamily(stream.Method()), stream.Method())
- ctx = trace.NewContext(ctx, tr)
+ tr := newTrace("grpc.Recv."+methodFamily(stream.Method()), stream.Method())
+ ctx = newTraceContext(ctx, tr)
ti = &traceInfo{
tr: tr,
firstLine: firstLine{
@@ -1764,7 +1758,7 @@ func (s *Server) handleStream(t transport.ServerTransport, stream *transport.Str
ti.tr.LazyLog(&fmtStringer{"%v", []any{err}}, true)
ti.tr.SetError()
}
- channelz.Warningf(logger, s.channelzID, "grpc: Server.handleStream failed to write status: %v", err)
+ channelz.Warningf(logger, s.channelz, "grpc: Server.handleStream failed to write status: %v", err)
}
if ti != nil {
ti.tr.Finish()
@@ -1821,7 +1815,7 @@ func (s *Server) handleStream(t transport.ServerTransport, stream *transport.Str
ti.tr.LazyLog(&fmtStringer{"%v", []any{err}}, true)
ti.tr.SetError()
}
- channelz.Warningf(logger, s.channelzID, "grpc: Server.handleStream failed to write status: %v", err)
+ channelz.Warningf(logger, s.channelz, "grpc: Server.handleStream failed to write status: %v", err)
}
if ti != nil {
ti.tr.Finish()
@@ -1893,8 +1887,7 @@ func (s *Server) stop(graceful bool) {
s.quit.Fire()
defer s.done.Fire()
- s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelzID) })
-
+ s.channelzRemoveOnce.Do(func() { channelz.RemoveEntry(s.channelz.ID) })
s.mu.Lock()
s.closeListenersLocked()
// Wait for serving threads to be ready to exit. Only then can we be sure no
@@ -2119,7 +2112,7 @@ func ClientSupportedCompressors(ctx context.Context) ([]string, error) {
return nil, fmt.Errorf("failed to fetch the stream from the given context %v", ctx)
}
- return strings.Split(stream.ClientAdvertisedCompressors(), ","), nil
+ return stream.ClientAdvertisedCompressors(), nil
}
// SetTrailer sets the trailer metadata that will be sent when an RPC returns.
@@ -2149,17 +2142,9 @@ func Method(ctx context.Context) (string, bool) {
return s.Method(), true
}
-type channelzServer struct {
- s *Server
-}
-
-func (c *channelzServer) ChannelzMetric() *channelz.ServerInternalMetric {
- return c.s.channelzMetric()
-}
-
// validateSendCompressor returns an error when given compressor name cannot be
// handled by the server or the client based on the advertised compressors.
-func validateSendCompressor(name, clientCompressors string) error {
+func validateSendCompressor(name string, clientCompressors []string) error {
if name == encoding.Identity {
return nil
}
@@ -2168,7 +2153,7 @@ func validateSendCompressor(name, clientCompressors string) error {
return fmt.Errorf("compressor not registered %q", name)
}
- for _, c := range strings.Split(clientCompressors, ",") {
+ for _, c := range clientCompressors {
if c == name {
return nil // found match
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/service_config.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/service_config.go
index 0df11fc098..9da8fc8027 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/service_config.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/service_config.go
@@ -25,8 +25,10 @@ import (
"reflect"
"time"
+ "google.golang.org/grpc/balancer"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/internal"
+ "google.golang.org/grpc/internal/balancer/gracefulswitch"
internalserviceconfig "google.golang.org/grpc/internal/serviceconfig"
"google.golang.org/grpc/serviceconfig"
)
@@ -41,11 +43,6 @@ const maxInt = int(^uint(0) >> 1)
// https://github.com/grpc/grpc/blob/master/doc/service_config.md
type MethodConfig = internalserviceconfig.MethodConfig
-type lbConfig struct {
- name string
- cfg serviceconfig.LoadBalancingConfig
-}
-
// ServiceConfig is provided by the service provider and contains parameters for how
// clients that connect to the service should behave.
//
@@ -55,14 +52,9 @@ type lbConfig struct {
type ServiceConfig struct {
serviceconfig.Config
- // LB is the load balancer the service providers recommends. This is
- // deprecated; lbConfigs is preferred. If lbConfig and LB are both present,
- // lbConfig will be used.
- LB *string
-
// lbConfig is the service config's load balancing configuration. If
// lbConfig and LB are both present, lbConfig will be used.
- lbConfig *lbConfig
+ lbConfig serviceconfig.LoadBalancingConfig
// Methods contains a map for the methods in this service. If there is an
// exact match for a method (i.e. /service/method) in the map, use the
@@ -164,7 +156,7 @@ type jsonMC struct {
// TODO(lyuxuan): delete this struct after cleaning up old service config implementation.
type jsonSC struct {
LoadBalancingPolicy *string
- LoadBalancingConfig *internalserviceconfig.BalancerConfig
+ LoadBalancingConfig *json.RawMessage
MethodConfig *[]jsonMC
RetryThrottling *retryThrottlingPolicy
HealthCheckConfig *healthCheckConfig
@@ -180,22 +172,37 @@ func parseServiceConfig(js string) *serviceconfig.ParseResult {
var rsc jsonSC
err := json.Unmarshal([]byte(js), &rsc)
if err != nil {
- logger.Warningf("grpc: unmarshaling service config %s: %v", js, err)
+ logger.Warningf("grpc: unmarshalling service config %s: %v", js, err)
return &serviceconfig.ParseResult{Err: err}
}
sc := ServiceConfig{
- LB: rsc.LoadBalancingPolicy,
Methods: make(map[string]MethodConfig),
retryThrottling: rsc.RetryThrottling,
healthCheckConfig: rsc.HealthCheckConfig,
rawJSONString: js,
}
- if c := rsc.LoadBalancingConfig; c != nil {
- sc.lbConfig = &lbConfig{
- name: c.Name,
- cfg: c.Config,
+ c := rsc.LoadBalancingConfig
+ if c == nil {
+ name := PickFirstBalancerName
+ if rsc.LoadBalancingPolicy != nil {
+ name = *rsc.LoadBalancingPolicy
}
+ if balancer.Get(name) == nil {
+ name = PickFirstBalancerName
+ }
+ cfg := []map[string]any{{name: struct{}{}}}
+ strCfg, err := json.Marshal(cfg)
+ if err != nil {
+ return &serviceconfig.ParseResult{Err: fmt.Errorf("unexpected error marshaling simple LB config: %w", err)}
+ }
+ r := json.RawMessage(strCfg)
+ c = &r
}
+ cfg, err := gracefulswitch.ParseConfig(*c)
+ if err != nil {
+ return &serviceconfig.ParseResult{Err: err}
+ }
+ sc.lbConfig = cfg
if rsc.MethodConfig == nil {
return &serviceconfig.ParseResult{Config: &sc}
@@ -212,7 +219,7 @@ func parseServiceConfig(js string) *serviceconfig.ParseResult {
Timeout: (*time.Duration)(m.Timeout),
}
if mc.RetryPolicy, err = convertRetryPolicy(m.RetryPolicy); err != nil {
- logger.Warningf("grpc: unmarshaling service config %s: %v", js, err)
+ logger.Warningf("grpc: unmarshalling service config %s: %v", js, err)
return &serviceconfig.ParseResult{Err: err}
}
if m.MaxRequestMessageBytes != nil {
@@ -232,13 +239,13 @@ func parseServiceConfig(js string) *serviceconfig.ParseResult {
for i, n := range *m.Name {
path, err := n.generatePath()
if err != nil {
- logger.Warningf("grpc: error unmarshaling service config %s due to methodConfig[%d]: %v", js, i, err)
+ logger.Warningf("grpc: error unmarshalling service config %s due to methodConfig[%d]: %v", js, i, err)
return &serviceconfig.ParseResult{Err: err}
}
if _, ok := paths[path]; ok {
err = errDuplicatedName
- logger.Warningf("grpc: error unmarshaling service config %s due to methodConfig[%d]: %v", js, i, err)
+ logger.Warningf("grpc: error unmarshalling service config %s due to methodConfig[%d]: %v", js, i, err)
return &serviceconfig.ParseResult{Err: err}
}
paths[path] = struct{}{}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/stats/stats.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/stats/stats.go
index 4ab70e2d46..fdb0bd6518 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/stats/stats.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/stats/stats.go
@@ -73,9 +73,12 @@ func (*PickerUpdated) isRPCStats() {}
type InPayload struct {
// Client is true if this InPayload is from client side.
Client bool
- // Payload is the payload with original type.
+ // Payload is the payload with original type. This may be modified after
+ // the call to HandleRPC which provides the InPayload returns and must be
+ // copied if needed later.
Payload any
// Data is the serialized message payload.
+ // Deprecated: Data will be removed in the next release.
Data []byte
// Length is the size of the uncompressed payload data. Does not include any
@@ -143,9 +146,12 @@ func (s *InTrailer) isRPCStats() {}
type OutPayload struct {
// Client is true if this OutPayload is from client side.
Client bool
- // Payload is the payload with original type.
+ // Payload is the payload with original type. This may be modified after
+ // the call to HandleRPC which provides the OutPayload returns and must be
+ // copied if needed later.
Payload any
// Data is the serialized message payload.
+ // Deprecated: Data will be removed in the next release.
Data []byte
// Length is the size of the uncompressed payload data. Does not include any
// framing (gRPC or HTTP/2).
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream.go
index d621f52b1a..b54563e81c 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream.go
@@ -27,7 +27,6 @@ import (
"sync"
"time"
- "golang.org/x/net/trace"
"google.golang.org/grpc/balancer"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/encoding"
@@ -431,7 +430,7 @@ func (cs *clientStream) newAttemptLocked(isTransparent bool) (*csAttempt, error)
var trInfo *traceInfo
if EnableTracing {
trInfo = &traceInfo{
- tr: trace.New("grpc.Sent."+methodFamily(method), method),
+ tr: newTrace("grpc.Sent."+methodFamily(method), method),
firstLine: firstLine{
client: true,
},
@@ -440,7 +439,7 @@ func (cs *clientStream) newAttemptLocked(isTransparent bool) (*csAttempt, error)
trInfo.firstLine.deadline = time.Until(deadline)
}
trInfo.tr.LazyLog(&trInfo.firstLine, false)
- ctx = trace.NewContext(ctx, trInfo.tr)
+ ctx = newTraceContext(ctx, trInfo.tr)
}
if cs.cc.parsedTarget.URL.Scheme == internal.GRPCResolverSchemeExtraMetadata {
@@ -517,6 +516,7 @@ func (a *csAttempt) newStream() error {
return toRPCErr(nse.Err)
}
a.s = s
+ a.ctx = s.Context()
a.p = &parser{r: s, recvBufferPool: a.cs.cc.dopts.recvBufferPool}
return nil
}
@@ -656,13 +656,13 @@ func (a *csAttempt) shouldRetry(err error) (bool, error) {
if len(sps) == 1 {
var e error
if pushback, e = strconv.Atoi(sps[0]); e != nil || pushback < 0 {
- channelz.Infof(logger, cs.cc.channelzID, "Server retry pushback specified to abort (%q).", sps[0])
+ channelz.Infof(logger, cs.cc.channelz, "Server retry pushback specified to abort (%q).", sps[0])
cs.retryThrottler.throttle() // This counts as a failure for throttling.
return false, err
}
hasPushback = true
} else if len(sps) > 1 {
- channelz.Warningf(logger, cs.cc.channelzID, "Server retry pushback specified multiple values (%q); not retrying.", sps)
+ channelz.Warningf(logger, cs.cc.channelz, "Server retry pushback specified multiple values (%q); not retrying.", sps)
cs.retryThrottler.throttle() // This counts as a failure for throttling.
return false, err
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream_interfaces.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream_interfaces.go
new file mode 100644
index 0000000000..8b813529c0
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/stream_interfaces.go
@@ -0,0 +1,152 @@
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package grpc
+
+// ServerStreamingClient represents the client side of a server-streaming (one
+// request, many responses) RPC. It is generic over the type of the response
+// message. It is used in generated code.
+type ServerStreamingClient[Res any] interface {
+ Recv() (*Res, error)
+ ClientStream
+}
+
+// ServerStreamingServer represents the server side of a server-streaming (one
+// request, many responses) RPC. It is generic over the type of the response
+// message. It is used in generated code.
+type ServerStreamingServer[Res any] interface {
+ Send(*Res) error
+ ServerStream
+}
+
+// ClientStreamingClient represents the client side of a client-streaming (many
+// requests, one response) RPC. It is generic over both the type of the request
+// message stream and the type of the unary response message. It is used in
+// generated code.
+type ClientStreamingClient[Req any, Res any] interface {
+ Send(*Req) error
+ CloseAndRecv() (*Res, error)
+ ClientStream
+}
+
+// ClientStreamingServer represents the server side of a client-streaming (many
+// requests, one response) RPC. It is generic over both the type of the request
+// message stream and the type of the unary response message. It is used in
+// generated code.
+type ClientStreamingServer[Req any, Res any] interface {
+ Recv() (*Req, error)
+ SendAndClose(*Res) error
+ ServerStream
+}
+
+// BidiStreamingClient represents the client side of a bidirectional-streaming
+// (many requests, many responses) RPC. It is generic over both the type of the
+// request message stream and the type of the response message stream. It is
+// used in generated code.
+type BidiStreamingClient[Req any, Res any] interface {
+ Send(*Req) error
+ Recv() (*Res, error)
+ ClientStream
+}
+
+// BidiStreamingServer represents the server side of a bidirectional-streaming
+// (many requests, many responses) RPC. It is generic over both the type of the
+// request message stream and the type of the response message stream. It is
+// used in generated code.
+type BidiStreamingServer[Req any, Res any] interface {
+ Recv() (*Req, error)
+ Send(*Res) error
+ ServerStream
+}
+
+// GenericClientStream implements the ServerStreamingClient, ClientStreamingClient,
+// and BidiStreamingClient interfaces. It is used in generated code.
+type GenericClientStream[Req any, Res any] struct {
+ ClientStream
+}
+
+var _ ServerStreamingClient[string] = (*GenericClientStream[int, string])(nil)
+var _ ClientStreamingClient[int, string] = (*GenericClientStream[int, string])(nil)
+var _ BidiStreamingClient[int, string] = (*GenericClientStream[int, string])(nil)
+
+// Send pushes one message into the stream of requests to be consumed by the
+// server. The type of message which can be sent is determined by the Req type
+// parameter of the GenericClientStream receiver.
+func (x *GenericClientStream[Req, Res]) Send(m *Req) error {
+ return x.ClientStream.SendMsg(m)
+}
+
+// Recv reads one message from the stream of responses generated by the server.
+// The type of the message returned is determined by the Res type parameter
+// of the GenericClientStream receiver.
+func (x *GenericClientStream[Req, Res]) Recv() (*Res, error) {
+ m := new(Res)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+// CloseAndRecv closes the sending side of the stream, then receives the unary
+// response from the server. The type of message which it returns is determined
+// by the Res type parameter of the GenericClientStream receiver.
+func (x *GenericClientStream[Req, Res]) CloseAndRecv() (*Res, error) {
+ if err := x.ClientStream.CloseSend(); err != nil {
+ return nil, err
+ }
+ m := new(Res)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+// GenericServerStream implements the ServerStreamingServer, ClientStreamingServer,
+// and BidiStreamingServer interfaces. It is used in generated code.
+type GenericServerStream[Req any, Res any] struct {
+ ServerStream
+}
+
+var _ ServerStreamingServer[string] = (*GenericServerStream[int, string])(nil)
+var _ ClientStreamingServer[int, string] = (*GenericServerStream[int, string])(nil)
+var _ BidiStreamingServer[int, string] = (*GenericServerStream[int, string])(nil)
+
+// Send pushes one message into the stream of responses to be consumed by the
+// client. The type of message which can be sent is determined by the Res
+// type parameter of the serverStreamServer receiver.
+func (x *GenericServerStream[Req, Res]) Send(m *Res) error {
+ return x.ServerStream.SendMsg(m)
+}
+
+// SendAndClose pushes the unary response to the client. The type of message
+// which can be sent is determined by the Res type parameter of the
+// clientStreamServer receiver.
+func (x *GenericServerStream[Req, Res]) SendAndClose(m *Res) error {
+ return x.ServerStream.SendMsg(m)
+}
+
+// Recv reads one message from the stream of requests generated by the client.
+// The type of the message returned is determined by the Req type parameter
+// of the clientStreamServer receiver.
+func (x *GenericServerStream[Req, Res]) Recv() (*Req, error) {
+ m := new(Req)
+ if err := x.ServerStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace.go
index 9ded79321b..10f4f798f5 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace.go
@@ -26,8 +26,6 @@ import (
"strings"
"sync"
"time"
-
- "golang.org/x/net/trace"
)
// EnableTracing controls whether to trace RPCs using the golang.org/x/net/trace package.
@@ -44,9 +42,31 @@ func methodFamily(m string) string {
return m
}
+// traceEventLog mirrors golang.org/x/net/trace.EventLog.
+//
+// It exists in order to avoid importing x/net/trace on grpcnotrace builds.
+type traceEventLog interface {
+ Printf(format string, a ...any)
+ Errorf(format string, a ...any)
+ Finish()
+}
+
+// traceLog mirrors golang.org/x/net/trace.Trace.
+//
+// It exists in order to avoid importing x/net/trace on grpcnotrace builds.
+type traceLog interface {
+ LazyLog(x fmt.Stringer, sensitive bool)
+ LazyPrintf(format string, a ...any)
+ SetError()
+ SetRecycler(f func(any))
+ SetTraceInfo(traceID, spanID uint64)
+ SetMaxEvents(m int)
+ Finish()
+}
+
// traceInfo contains tracing information for an RPC.
type traceInfo struct {
- tr trace.Trace
+ tr traceLog
firstLine firstLine
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace_notrace.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace_notrace.go
new file mode 100644
index 0000000000..1da3a2308e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace_notrace.go
@@ -0,0 +1,52 @@
+//go:build grpcnotrace
+
+/*
+ *
+ * Copyright 2024 gRPC authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+package grpc
+
+// grpcnotrace can be used to avoid importing golang.org/x/net/trace, which in
+// turn enables binaries using gRPC-Go for dead code elimination, which can
+// yield 10-15% improvements in binary size when tracing is not needed.
+
+import (
+ "context"
+ "fmt"
+)
+
+type notrace struct{}
+
+func (notrace) LazyLog(x fmt.Stringer, sensitive bool) {}
+func (notrace) LazyPrintf(format string, a ...any) {}
+func (notrace) SetError() {}
+func (notrace) SetRecycler(f func(any)) {}
+func (notrace) SetTraceInfo(traceID, spanID uint64) {}
+func (notrace) SetMaxEvents(m int) {}
+func (notrace) Finish() {}
+
+func newTrace(family, title string) traceLog {
+ return notrace{}
+}
+
+func newTraceContext(ctx context.Context, tr traceLog) context.Context {
+ return ctx
+}
+
+func newTraceEventLog(family, title string) traceEventLog {
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/util_linux.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace_withtrace.go
similarity index 59%
rename from cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/util_linux.go
rename to cluster-api/providers/azure/vendor/google.golang.org/grpc/trace_withtrace.go
index 98288c3f86..88d6e8571e 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/internal/channelz/util_linux.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/trace_withtrace.go
@@ -1,6 +1,8 @@
+//go:build !grpcnotrace
+
/*
*
- * Copyright 2018 gRPC authors.
+ * Copyright 2024 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,22 +18,22 @@
*
*/
-package channelz
+package grpc
import (
- "syscall"
+ "context"
+
+ t "golang.org/x/net/trace"
)
-// GetSocketOption gets the socket option info of the conn.
-func GetSocketOption(socket any) *SocketOptionData {
- c, ok := socket.(syscall.Conn)
- if !ok {
- return nil
- }
- data := &SocketOptionData{}
- if rawConn, err := c.SyscallConn(); err == nil {
- rawConn.Control(data.Getsockopt)
- return data
- }
- return nil
+func newTrace(family, title string) traceLog {
+ return t.New(family, title)
+}
+
+func newTraceContext(ctx context.Context, tr traceLog) context.Context {
+ return t.NewContext(ctx, tr)
+}
+
+func newTraceEventLog(family, title string) traceEventLog {
+ return t.NewEventLog(family, title)
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/version.go b/cluster-api/providers/azure/vendor/google.golang.org/grpc/version.go
index f1aec4c0ad..a0b7828904 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/version.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/grpc/version.go
@@ -19,4 +19,4 @@
package grpc
// Version is the current grpc version.
-const Version = "1.61.1"
+const Version = "1.64.1"
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/grpc/vet.sh b/cluster-api/providers/azure/vendor/google.golang.org/grpc/vet.sh
deleted file mode 100644
index 5da38a4099..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/grpc/vet.sh
+++ /dev/null
@@ -1,190 +0,0 @@
-#!/bin/bash
-
-set -ex # Exit on error; debugging enabled.
-set -o pipefail # Fail a pipe if any sub-command fails.
-
-# not makes sure the command passed to it does not exit with a return code of 0.
-not() {
- # This is required instead of the earlier (! $COMMAND) because subshells and
- # pipefail don't work the same on Darwin as in Linux.
- ! "$@"
-}
-
-die() {
- echo "$@" >&2
- exit 1
-}
-
-fail_on_output() {
- tee /dev/stderr | not read
-}
-
-# Check to make sure it's safe to modify the user's git repo.
-git status --porcelain | fail_on_output
-
-# Undo any edits made by this script.
-cleanup() {
- git reset --hard HEAD
-}
-trap cleanup EXIT
-
-PATH="${HOME}/go/bin:${GOROOT}/bin:${PATH}"
-go version
-
-if [[ "$1" = "-install" ]]; then
- # Install the pinned versions as defined in module tools.
- pushd ./test/tools
- go install \
- golang.org/x/tools/cmd/goimports \
- honnef.co/go/tools/cmd/staticcheck \
- github.com/client9/misspell/cmd/misspell
- popd
- if [[ -z "${VET_SKIP_PROTO}" ]]; then
- if [[ "${GITHUB_ACTIONS}" = "true" ]]; then
- PROTOBUF_VERSION=22.0 # a.k.a v4.22.0 in pb.go files.
- PROTOC_FILENAME=protoc-${PROTOBUF_VERSION}-linux-x86_64.zip
- pushd /home/runner/go
- wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/${PROTOC_FILENAME}
- unzip ${PROTOC_FILENAME}
- bin/protoc --version
- popd
- elif not which protoc > /dev/null; then
- die "Please install protoc into your path"
- fi
- fi
- exit 0
-elif [[ "$#" -ne 0 ]]; then
- die "Unknown argument(s): $*"
-fi
-
-# - Check that generated proto files are up to date.
-if [[ -z "${VET_SKIP_PROTO}" ]]; then
- make proto && git status --porcelain 2>&1 | fail_on_output || \
- (git status; git --no-pager diff; exit 1)
-fi
-
-if [[ -n "${VET_ONLY_PROTO}" ]]; then
- exit 0
-fi
-
-# - Ensure all source files contain a copyright message.
-# (Done in two parts because Darwin "git grep" has broken support for compound
-# exclusion matches.)
-(grep -L "DO NOT EDIT" $(git grep -L "\(Copyright [0-9]\{4,\} gRPC authors\)" -- '*.go') || true) | fail_on_output
-
-# - Make sure all tests in grpc and grpc/test use leakcheck via Teardown.
-not grep 'func Test[^(]' *_test.go
-not grep 'func Test[^(]' test/*.go
-
-# - Check for typos in test function names
-git grep 'func (s) ' -- "*_test.go" | not grep -v 'func (s) Test'
-git grep 'func [A-Z]' -- "*_test.go" | not grep -v 'func Test\|Benchmark\|Example'
-
-# - Do not import x/net/context.
-not git grep -l 'x/net/context' -- "*.go"
-
-# - Do not import math/rand for real library code. Use internal/grpcrand for
-# thread safety.
-git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^interop/stress\|grpcrand\|^benchmark\|wrr_test'
-
-# - Do not use "interface{}"; use "any" instead.
-git grep -l 'interface{}' -- "*.go" 2>&1 | not grep -v '\.pb\.go\|protoc-gen-go-grpc\|grpc_testing_not_regenerate'
-
-# - Do not call grpclog directly. Use grpclog.Component instead.
-git grep -l -e 'grpclog.I' --or -e 'grpclog.W' --or -e 'grpclog.E' --or -e 'grpclog.F' --or -e 'grpclog.V' -- "*.go" | not grep -v '^grpclog/component.go\|^internal/grpctest/tlogger_test.go'
-
-# - Ensure all ptypes proto packages are renamed when importing.
-not git grep "\(import \|^\s*\)\"github.com/golang/protobuf/ptypes/" -- "*.go"
-
-# - Ensure all usages of grpc_testing package are renamed when importing.
-not git grep "\(import \|^\s*\)\"google.golang.org/grpc/interop/grpc_testing" -- "*.go"
-
-# - Ensure all xds proto imports are renamed to *pb or *grpc.
-git grep '"github.com/envoyproxy/go-control-plane/envoy' -- '*.go' ':(exclude)*.pb.go' | not grep -v 'pb "\|grpc "'
-
-misspell -error .
-
-# - gofmt, goimports, go vet, go mod tidy.
-# Perform these checks on each module inside gRPC.
-for MOD_FILE in $(find . -name 'go.mod'); do
- MOD_DIR=$(dirname ${MOD_FILE})
- pushd ${MOD_DIR}
- go vet -all ./... | fail_on_output
- gofmt -s -d -l . 2>&1 | fail_on_output
- goimports -l . 2>&1 | not grep -vE "\.pb\.go"
-
- go mod tidy -compat=1.19
- git status --porcelain 2>&1 | fail_on_output || \
- (git status; git --no-pager diff; exit 1)
- popd
-done
-
-# - Collection of static analysis checks
-SC_OUT="$(mktemp)"
-staticcheck -go 1.19 -checks 'all' ./... > "${SC_OUT}" || true
-
-# Error for anything other than checks that need exclusions.
-grep -v "(ST1000)" "${SC_OUT}" | grep -v "(SA1019)" | grep -v "(ST1003)" | not grep -v "(ST1019)\|\(other import of\)"
-
-# Exclude underscore checks for generated code.
-grep "(ST1003)" "${SC_OUT}" | not grep -v '\(.pb.go:\)\|\(code_string_test.go:\)\|\(grpc_testing_not_regenerate\)'
-
-# Error for duplicate imports not including grpc protos.
-grep "(ST1019)\|\(other import of\)" "${SC_OUT}" | not grep -Fv 'XXXXX PleaseIgnoreUnused
-channelz/grpc_channelz_v1"
-go-control-plane/envoy
-grpclb/grpc_lb_v1"
-health/grpc_health_v1"
-interop/grpc_testing"
-orca/v3"
-proto/grpc_gcp"
-proto/grpc_lookup_v1"
-reflection/grpc_reflection_v1"
-reflection/grpc_reflection_v1alpha"
-XXXXX PleaseIgnoreUnused'
-
-# Error for any package comments not in generated code.
-grep "(ST1000)" "${SC_OUT}" | not grep -v "\.pb\.go:"
-
-# Only ignore the following deprecated types/fields/functions and exclude
-# generated code.
-grep "(SA1019)" "${SC_OUT}" | not grep -Fv 'XXXXX PleaseIgnoreUnused
-XXXXX Protobuf related deprecation errors:
-"github.com/golang/protobuf
-.pb.go:
-grpc_testing_not_regenerate
-: ptypes.
-proto.RegisterType
-XXXXX gRPC internal usage deprecation errors:
-"google.golang.org/grpc
-: grpc.
-: v1alpha.
-: v1alphareflectionpb.
-BalancerAttributes is deprecated:
-CredsBundle is deprecated:
-Metadata is deprecated: use Attributes instead.
-NewSubConn is deprecated:
-OverrideServerName is deprecated:
-RemoveSubConn is deprecated:
-SecurityVersion is deprecated:
-Target is deprecated: Use the Target field in the BuildOptions instead.
-UpdateAddresses is deprecated:
-UpdateSubConnState is deprecated:
-balancer.ErrTransientFailure is deprecated:
-grpc/reflection/v1alpha/reflection.proto
-XXXXX xDS deprecated fields we support
-.ExactMatch
-.PrefixMatch
-.SafeRegexMatch
-.SuffixMatch
-GetContainsMatch
-GetExactMatch
-GetMatchSubjectAltNames
-GetPrefixMatch
-GetSafeRegexMatch
-GetSuffixMatch
-GetTlsCertificateCertificateProviderInstance
-GetValidationContextCertificateProviderInstance
-XXXXX PleaseIgnoreUnused'
-
-echo SUCCESS
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/decode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/decode.go
index f47902371a..bb2966e3b4 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/decode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/decode.go
@@ -102,7 +102,7 @@ type decoder struct {
}
// newError returns an error object with position info.
-func (d decoder) newError(pos int, f string, x ...interface{}) error {
+func (d decoder) newError(pos int, f string, x ...any) error {
line, column := d.Position(pos)
head := fmt.Sprintf("(line %d:%d): ", line, column)
return errors.New(head+f, x...)
@@ -114,7 +114,7 @@ func (d decoder) unexpectedTokenError(tok json.Token) error {
}
// syntaxError returns a syntax error for given position.
-func (d decoder) syntaxError(pos int, f string, x ...interface{}) error {
+func (d decoder) syntaxError(pos int, f string, x ...any) error {
line, column := d.Position(pos)
head := fmt.Sprintf("syntax error (line %d:%d): ", line, column)
return errors.New(head+f, x...)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/encode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/encode.go
index 3f75098b6f..29846df222 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/encode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/protojson/encode.go
@@ -25,15 +25,17 @@ const defaultIndent = " "
// Format formats the message as a multiline string.
// This function is only intended for human consumption and ignores errors.
-// Do not depend on the output being stable. It may change over time across
-// different versions of the program.
+// Do not depend on the output being stable. Its output will change across
+// different builds of your program, even when using the same version of the
+// protobuf module.
func Format(m proto.Message) string {
return MarshalOptions{Multiline: true}.Format(m)
}
// Marshal writes the given [proto.Message] in JSON format using default options.
-// Do not depend on the output being stable. It may change over time across
-// different versions of the program.
+// Do not depend on the output being stable. Its output will change across
+// different builds of your program, even when using the same version of the
+// protobuf module.
func Marshal(m proto.Message) ([]byte, error) {
return MarshalOptions{}.Marshal(m)
}
@@ -110,8 +112,9 @@ type MarshalOptions struct {
// Format formats the message as a string.
// This method is only intended for human consumption and ignores errors.
-// Do not depend on the output being stable. It may change over time across
-// different versions of the program.
+// Do not depend on the output being stable. Its output will change across
+// different builds of your program, even when using the same version of the
+// protobuf module.
func (o MarshalOptions) Format(m proto.Message) string {
if m == nil || !m.ProtoReflect().IsValid() {
return "" // invalid syntax, but okay since this is for debugging
@@ -122,8 +125,9 @@ func (o MarshalOptions) Format(m proto.Message) string {
}
// Marshal marshals the given [proto.Message] in the JSON format using options in
-// MarshalOptions. Do not depend on the output being stable. It may change over
-// time across different versions of the program.
+// Do not depend on the output being stable. Its output will change across
+// different builds of your program, even when using the same version of the
+// protobuf module.
func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) {
return o.marshal(nil, m)
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/decode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/decode.go
index a45f112bce..24bc98ac42 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/decode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/decode.go
@@ -84,7 +84,7 @@ type decoder struct {
}
// newError returns an error object with position info.
-func (d decoder) newError(pos int, f string, x ...interface{}) error {
+func (d decoder) newError(pos int, f string, x ...any) error {
line, column := d.Position(pos)
head := fmt.Sprintf("(line %d:%d): ", line, column)
return errors.New(head+f, x...)
@@ -96,7 +96,7 @@ func (d decoder) unexpectedTokenError(tok text.Token) error {
}
// syntaxError returns a syntax error for given position.
-func (d decoder) syntaxError(pos int, f string, x ...interface{}) error {
+func (d decoder) syntaxError(pos int, f string, x ...any) error {
line, column := d.Position(pos)
head := fmt.Sprintf("syntax error (line %d:%d): ", line, column)
return errors.New(head+f, x...)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/encode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/encode.go
index 95967e8112..1f57e6610a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/encode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/encoding/prototext/encode.go
@@ -27,15 +27,17 @@ const defaultIndent = " "
// Format formats the message as a multiline string.
// This function is only intended for human consumption and ignores errors.
-// Do not depend on the output being stable. It may change over time across
-// different versions of the program.
+// Do not depend on the output being stable. Its output will change across
+// different builds of your program, even when using the same version of the
+// protobuf module.
func Format(m proto.Message) string {
return MarshalOptions{Multiline: true}.Format(m)
}
// Marshal writes the given [proto.Message] in textproto format using default
-// options. Do not depend on the output being stable. It may change over time
-// across different versions of the program.
+// options. Do not depend on the output being stable. Its output will change
+// across different builds of your program, even when using the same version of
+// the protobuf module.
func Marshal(m proto.Message) ([]byte, error) {
return MarshalOptions{}.Marshal(m)
}
@@ -84,8 +86,9 @@ type MarshalOptions struct {
// Format formats the message as a string.
// This method is only intended for human consumption and ignores errors.
-// Do not depend on the output being stable. It may change over time across
-// different versions of the program.
+// Do not depend on the output being stable. Its output will change across
+// different builds of your program, even when using the same version of the
+// protobuf module.
func (o MarshalOptions) Format(m proto.Message) string {
if m == nil || !m.ProtoReflect().IsValid() {
return "" // invalid syntax, but okay since this is for debugging
@@ -98,8 +101,9 @@ func (o MarshalOptions) Format(m proto.Message) string {
}
// Marshal writes the given [proto.Message] in textproto format using options in
-// MarshalOptions object. Do not depend on the output being stable. It may
-// change over time across different versions of the program.
+// MarshalOptions object. Do not depend on the output being stable. Its output
+// will change across different builds of your program, even when using the
+// same version of the protobuf module.
func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) {
return o.marshal(nil, m)
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
index a45625c8d1..87e46bd4df 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/descfmt/stringer.go
@@ -252,6 +252,7 @@ func formatDescOpt(t protoreflect.Descriptor, isRoot, allowMulti bool, record fu
{rv.MethodByName("Values"), "Values"},
{rv.MethodByName("ReservedNames"), "ReservedNames"},
{rv.MethodByName("ReservedRanges"), "ReservedRanges"},
+ {rv.MethodByName("IsClosed"), "IsClosed"},
}...)
case protoreflect.EnumValueDescriptor:
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb
index 18f0756874..ff6a38360a 100644
Binary files a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb and b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editiondefaults/editions_defaults.binpb differ
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editionssupport/editions.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editionssupport/editions.go
new file mode 100644
index 0000000000..029a6a12d7
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/editionssupport/editions.go
@@ -0,0 +1,13 @@
+// Copyright 2024 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.
+
+// Package editionssupport defines constants for editions that are supported.
+package editionssupport
+
+import descriptorpb "google.golang.org/protobuf/types/descriptorpb"
+
+const (
+ Minimum = descriptorpb.Edition_EDITION_PROTO2
+ Maximum = descriptorpb.Edition_EDITION_2023
+)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go
index d2b3ac031e..ea1d3e65a5 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/json/decode.go
@@ -214,7 +214,7 @@ func (d *Decoder) parseNext() (Token, error) {
// newSyntaxError returns an error with line and column information useful for
// syntax errors.
-func (d *Decoder) newSyntaxError(pos int, f string, x ...interface{}) error {
+func (d *Decoder) newSyntaxError(pos int, f string, x ...any) error {
e := errors.New(f, x...)
line, column := d.Position(pos)
return errors.New("syntax error (line %d:%d): %v", line, column, e)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go
index 373d208374..7e87c76044 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/tag/tag.go
@@ -32,6 +32,7 @@ var byteType = reflect.TypeOf(byte(0))
func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescriptors) protoreflect.FieldDescriptor {
f := new(filedesc.Field)
f.L0.ParentFile = filedesc.SurrogateProto2
+ f.L1.EditionFeatures = f.L0.ParentFile.L1.EditionFeatures
for len(tag) > 0 {
i := strings.IndexByte(tag, ',')
if i < 0 {
@@ -107,8 +108,7 @@ func Unmarshal(tag string, goType reflect.Type, evs protoreflect.EnumValueDescri
f.L1.StringName.InitJSON(jsonName)
}
case s == "packed":
- f.L1.HasPacked = true
- f.L1.IsPacked = true
+ f.L1.EditionFeatures.IsPacked = true
case strings.HasPrefix(s, "weak="):
f.L1.IsWeak = true
f.L1.Message = filedesc.PlaceholderMessage(protoreflect.FullName(s[len("weak="):]))
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go
index 87853e786d..099b2bf451 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/encoding/text/decode.go
@@ -601,7 +601,7 @@ func (d *Decoder) consumeToken(kind Kind, size int, attrs uint8) Token {
// newSyntaxError returns a syntax error with line and column information for
// current position.
-func (d *Decoder) newSyntaxError(f string, x ...interface{}) error {
+func (d *Decoder) newSyntaxError(f string, x ...any) error {
e := errors.New(f, x...)
line, column := d.Position(len(d.orig) - len(d.in))
return errors.New("syntax error (line %d:%d): %v", line, column, e)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/errors/errors.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/errors/errors.go
index 20c17b35e3..c2d6bd5265 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/errors/errors.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/errors/errors.go
@@ -17,7 +17,7 @@ var Error = errors.New("protobuf error")
// New formats a string according to the format specifier and arguments and
// returns an error that has a "proto" prefix.
-func New(f string, x ...interface{}) error {
+func New(f string, x ...any) error {
return &prefixError{s: format(f, x...)}
}
@@ -43,7 +43,7 @@ func (e *prefixError) Unwrap() error {
// Wrap returns an error that has a "proto" prefix, the formatted string described
// by the format specifier and arguments, and a suffix of err. The error wraps err.
-func Wrap(err error, f string, x ...interface{}) error {
+func Wrap(err error, f string, x ...any) error {
return &wrapError{
s: format(f, x...),
err: err,
@@ -67,7 +67,7 @@ func (e *wrapError) Is(target error) bool {
return target == Error
}
-func format(f string, x ...interface{}) string {
+func format(f string, x ...any) string {
// avoid "proto: " prefix when chaining
for i := 0; i < len(x); i++ {
switch e := x[i].(type) {
@@ -87,3 +87,18 @@ func InvalidUTF8(name string) error {
func RequiredNotSet(name string) error {
return New("required field %v not set", name)
}
+
+type SizeMismatchError struct {
+ Calculated, Measured int
+}
+
+func (e *SizeMismatchError) Error() string {
+ return fmt.Sprintf("size mismatch (see https://github.com/golang/protobuf/issues/1609): calculated=%d, measured=%d", e.Calculated, e.Measured)
+}
+
+func MismatchedSizeCalculation(calculated, measured int) error {
+ return &SizeMismatchError{
+ Calculated: calculated,
+ Measured: measured,
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc.go
index 8826bcf402..df53ff40b2 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc.go
@@ -7,6 +7,7 @@ package filedesc
import (
"bytes"
"fmt"
+ "strings"
"sync"
"sync/atomic"
@@ -108,9 +109,12 @@ func (fd *File) ParentFile() protoreflect.FileDescriptor { return fd }
func (fd *File) Parent() protoreflect.Descriptor { return nil }
func (fd *File) Index() int { return 0 }
func (fd *File) Syntax() protoreflect.Syntax { return fd.L1.Syntax }
-func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
-func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
-func (fd *File) IsPlaceholder() bool { return false }
+
+// Not exported and just used to reconstruct the original FileDescriptor proto
+func (fd *File) Edition() int32 { return int32(fd.L1.Edition) }
+func (fd *File) Name() protoreflect.Name { return fd.L1.Package.Name() }
+func (fd *File) FullName() protoreflect.FullName { return fd.L1.Package }
+func (fd *File) IsPlaceholder() bool { return false }
func (fd *File) Options() protoreflect.ProtoMessage {
if f := fd.lazyInit().Options; f != nil {
return f()
@@ -202,6 +206,9 @@ func (ed *Enum) lazyInit() *EnumL2 {
ed.L0.ParentFile.lazyInit() // implicitly initializes L2
return ed.L2
}
+func (ed *Enum) IsClosed() bool {
+ return !ed.L1.EditionFeatures.IsOpenEnum
+}
func (ed *EnumValue) Options() protoreflect.ProtoMessage {
if f := ed.L1.Options; f != nil {
@@ -251,10 +258,6 @@ type (
StringName stringName
IsProto3Optional bool // promoted from google.protobuf.FieldDescriptorProto
IsWeak bool // promoted from google.protobuf.FieldOptions
- HasPacked bool // promoted from google.protobuf.FieldOptions
- IsPacked bool // promoted from google.protobuf.FieldOptions
- HasEnforceUTF8 bool // promoted from google.protobuf.FieldOptions
- EnforceUTF8 bool // promoted from google.protobuf.FieldOptions
Default defaultValue
ContainingOneof protoreflect.OneofDescriptor // must be consistent with Message.Oneofs.Fields
Enum protoreflect.EnumDescriptor
@@ -331,8 +334,7 @@ func (fd *Field) HasPresence() bool {
if fd.L1.Cardinality == protoreflect.Repeated {
return false
}
- explicitFieldPresence := fd.Syntax() == protoreflect.Editions && fd.L1.EditionFeatures.IsFieldPresence
- return fd.Syntax() == protoreflect.Proto2 || explicitFieldPresence || fd.L1.Message != nil || fd.L1.ContainingOneof != nil
+ return fd.IsExtension() || fd.L1.EditionFeatures.IsFieldPresence || fd.L1.Message != nil || fd.L1.ContainingOneof != nil
}
func (fd *Field) HasOptionalKeyword() bool {
return (fd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && fd.L1.Cardinality == protoreflect.Optional && fd.L1.ContainingOneof == nil) || fd.L1.IsProto3Optional
@@ -345,14 +347,7 @@ func (fd *Field) IsPacked() bool {
case protoreflect.StringKind, protoreflect.BytesKind, protoreflect.MessageKind, protoreflect.GroupKind:
return false
}
- if fd.L0.ParentFile.L1.Syntax == protoreflect.Editions {
- return fd.L1.EditionFeatures.IsPacked
- }
- if fd.L0.ParentFile.L1.Syntax == protoreflect.Proto3 {
- // proto3 repeated fields are packed by default.
- return !fd.L1.HasPacked || fd.L1.IsPacked
- }
- return fd.L1.IsPacked
+ return fd.L1.EditionFeatures.IsPacked
}
func (fd *Field) IsExtension() bool { return false }
func (fd *Field) IsWeak() bool { return fd.L1.IsWeak }
@@ -388,6 +383,10 @@ func (fd *Field) Message() protoreflect.MessageDescriptor {
}
return fd.L1.Message
}
+func (fd *Field) IsMapEntry() bool {
+ parent, ok := fd.L0.Parent.(protoreflect.MessageDescriptor)
+ return ok && parent.IsMapEntry()
+}
func (fd *Field) Format(s fmt.State, r rune) { descfmt.FormatDesc(s, r, fd) }
func (fd *Field) ProtoType(protoreflect.FieldDescriptor) {}
@@ -399,13 +398,7 @@ func (fd *Field) ProtoType(protoreflect.FieldDescriptor) {}
// WARNING: This method is exempt from the compatibility promise and may be
// removed in the future without warning.
func (fd *Field) EnforceUTF8() bool {
- if fd.L0.ParentFile.L1.Syntax == protoreflect.Editions {
- return fd.L1.EditionFeatures.IsUTF8Validated
- }
- if fd.L1.HasEnforceUTF8 {
- return fd.L1.EnforceUTF8
- }
- return fd.L0.ParentFile.L1.Syntax == protoreflect.Proto3
+ return fd.L1.EditionFeatures.IsUTF8Validated
}
func (od *Oneof) IsSynthetic() bool {
@@ -438,7 +431,6 @@ type (
Options func() protoreflect.ProtoMessage
StringName stringName
IsProto3Optional bool // promoted from google.protobuf.FieldDescriptorProto
- IsPacked bool // promoted from google.protobuf.FieldOptions
Default defaultValue
Enum protoreflect.EnumDescriptor
Message protoreflect.MessageDescriptor
@@ -461,7 +453,16 @@ func (xd *Extension) HasPresence() bool { return xd.L1.Cardi
func (xd *Extension) HasOptionalKeyword() bool {
return (xd.L0.ParentFile.L1.Syntax == protoreflect.Proto2 && xd.L1.Cardinality == protoreflect.Optional) || xd.lazyInit().IsProto3Optional
}
-func (xd *Extension) IsPacked() bool { return xd.lazyInit().IsPacked }
+func (xd *Extension) IsPacked() bool {
+ if xd.L1.Cardinality != protoreflect.Repeated {
+ return false
+ }
+ switch xd.L1.Kind {
+ case protoreflect.StringKind, protoreflect.BytesKind, protoreflect.MessageKind, protoreflect.GroupKind:
+ return false
+ }
+ return xd.L1.EditionFeatures.IsPacked
+}
func (xd *Extension) IsExtension() bool { return true }
func (xd *Extension) IsWeak() bool { return false }
func (xd *Extension) IsList() bool { return xd.Cardinality() == protoreflect.Repeated }
@@ -542,8 +543,9 @@ func (md *Method) ProtoInternal(pragma.DoNotImplement) {}
// Surrogate files are can be used to create standalone descriptors
// where the syntax is only information derived from the parent file.
var (
- SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}}
- SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}}
+ SurrogateProto2 = &File{L1: FileL1{Syntax: protoreflect.Proto2}, L2: &FileL2{}}
+ SurrogateProto3 = &File{L1: FileL1{Syntax: protoreflect.Proto3}, L2: &FileL2{}}
+ SurrogateEdition2023 = &File{L1: FileL1{Syntax: protoreflect.Editions, Edition: Edition2023}, L2: &FileL2{}}
)
type (
@@ -585,6 +587,34 @@ func (s *stringName) InitJSON(name string) {
s.nameJSON = name
}
+// Returns true if this field is structured like the synthetic field of a proto2
+// group. This allows us to expand our treatment of delimited fields without
+// breaking proto2 files that have been upgraded to editions.
+func isGroupLike(fd protoreflect.FieldDescriptor) bool {
+ // Groups are always group types.
+ if fd.Kind() != protoreflect.GroupKind {
+ return false
+ }
+
+ // Group fields are always the lowercase type name.
+ if strings.ToLower(string(fd.Message().Name())) != string(fd.Name()) {
+ return false
+ }
+
+ // Groups could only be defined in the same file they're used.
+ if fd.Message().ParentFile() != fd.ParentFile() {
+ return false
+ }
+
+ // Group messages are always defined in the same scope as the field. File
+ // level extensions will compare NULL == NULL here, which is why the file
+ // comparison above is necessary to ensure both come from the same file.
+ if fd.IsExtension() {
+ return fd.Parent() == fd.Message().Parent()
+ }
+ return fd.ContainingMessage() == fd.Message().Parent()
+}
+
func (s *stringName) lazyInit(fd protoreflect.FieldDescriptor) *stringName {
s.once.Do(func() {
if fd.IsExtension() {
@@ -605,7 +635,7 @@ func (s *stringName) lazyInit(fd protoreflect.FieldDescriptor) *stringName {
// Format the text name.
s.nameText = string(fd.Name())
- if fd.Kind() == protoreflect.GroupKind {
+ if isGroupLike(fd) {
s.nameText = string(fd.Message().Name())
}
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go
index 237e64fd23..8a57d60b08 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_init.go
@@ -113,8 +113,10 @@ func (fd *File) unmarshalSeed(b []byte) {
switch string(v) {
case "proto2":
fd.L1.Syntax = protoreflect.Proto2
+ fd.L1.Edition = EditionProto2
case "proto3":
fd.L1.Syntax = protoreflect.Proto3
+ fd.L1.Edition = EditionProto3
case "editions":
fd.L1.Syntax = protoreflect.Editions
default:
@@ -177,11 +179,10 @@ func (fd *File) unmarshalSeed(b []byte) {
// If syntax is missing, it is assumed to be proto2.
if fd.L1.Syntax == 0 {
fd.L1.Syntax = protoreflect.Proto2
+ fd.L1.Edition = EditionProto2
}
- if fd.L1.Syntax == protoreflect.Editions {
- fd.L1.EditionFeatures = getFeaturesFor(fd.L1.Edition)
- }
+ fd.L1.EditionFeatures = getFeaturesFor(fd.L1.Edition)
// Parse editions features from options if any
if options != nil {
@@ -267,6 +268,7 @@ func (ed *Enum) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protorefl
ed.L0.ParentFile = pf
ed.L0.Parent = pd
ed.L0.Index = i
+ ed.L1.EditionFeatures = featuresFromParentDesc(ed.Parent())
var numValues int
for b := b; len(b) > 0; {
@@ -443,6 +445,7 @@ func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd prot
xd.L0.ParentFile = pf
xd.L0.Parent = pd
xd.L0.Index = i
+ xd.L1.EditionFeatures = featuresFromParentDesc(pd)
for len(b) > 0 {
num, typ, n := protowire.ConsumeTag(b)
@@ -467,6 +470,38 @@ func (xd *Extension) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd prot
xd.L0.FullName = appendFullName(sb, pd.FullName(), v)
case genid.FieldDescriptorProto_Extendee_field_number:
xd.L1.Extendee = PlaceholderMessage(makeFullName(sb, v))
+ case genid.FieldDescriptorProto_Options_field_number:
+ xd.unmarshalOptions(v)
+ }
+ default:
+ m := protowire.ConsumeFieldValue(num, typ, b)
+ b = b[m:]
+ }
+ }
+
+ if xd.L1.Kind == protoreflect.MessageKind && xd.L1.EditionFeatures.IsDelimitedEncoded {
+ xd.L1.Kind = protoreflect.GroupKind
+ }
+}
+
+func (xd *Extension) unmarshalOptions(b []byte) {
+ for len(b) > 0 {
+ num, typ, n := protowire.ConsumeTag(b)
+ b = b[n:]
+ switch typ {
+ case protowire.VarintType:
+ v, m := protowire.ConsumeVarint(b)
+ b = b[m:]
+ switch num {
+ case genid.FieldOptions_Packed_field_number:
+ xd.L1.EditionFeatures.IsPacked = protowire.DecodeBool(v)
+ }
+ case protowire.BytesType:
+ v, m := protowire.ConsumeBytes(b)
+ b = b[m:]
+ switch num {
+ case genid.FieldOptions_Features_field_number:
+ xd.L1.EditionFeatures = unmarshalFeatureSet(v, xd.L1.EditionFeatures)
}
default:
m := protowire.ConsumeFieldValue(num, typ, b)
@@ -499,7 +534,7 @@ func (sd *Service) unmarshalSeed(b []byte, sb *strs.Builder, pf *File, pd protor
}
var nameBuilderPool = sync.Pool{
- New: func() interface{} { return new(strs.Builder) },
+ New: func() any { return new(strs.Builder) },
}
func getBuilder() *strs.Builder {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go
index 482a61cc10..e56c91a8db 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_lazy.go
@@ -45,6 +45,11 @@ func (file *File) resolveMessages() {
case protoreflect.MessageKind, protoreflect.GroupKind:
fd.L1.Message = file.resolveMessageDependency(fd.L1.Message, listFieldDeps, depIdx)
depIdx++
+ if fd.L1.Kind == protoreflect.GroupKind && (fd.IsMap() || fd.IsMapEntry()) {
+ // A map field might inherit delimited encoding from a file-wide default feature.
+ // But maps never actually use delimited encoding. (At least for now...)
+ fd.L1.Kind = protoreflect.MessageKind
+ }
}
// Default is resolved here since it depends on Enum being resolved.
@@ -466,10 +471,10 @@ func (fd *Field) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoref
b = b[m:]
}
}
- if fd.Syntax() == protoreflect.Editions && fd.L1.Kind == protoreflect.MessageKind && fd.L1.EditionFeatures.IsDelimitedEncoded {
+ if fd.L1.Kind == protoreflect.MessageKind && fd.L1.EditionFeatures.IsDelimitedEncoded {
fd.L1.Kind = protoreflect.GroupKind
}
- if fd.Syntax() == protoreflect.Editions && fd.L1.EditionFeatures.IsLegacyRequired {
+ if fd.L1.EditionFeatures.IsLegacyRequired {
fd.L1.Cardinality = protoreflect.Required
}
if rawTypeName != nil {
@@ -496,13 +501,11 @@ func (fd *Field) unmarshalOptions(b []byte) {
b = b[m:]
switch num {
case genid.FieldOptions_Packed_field_number:
- fd.L1.HasPacked = true
- fd.L1.IsPacked = protowire.DecodeBool(v)
+ fd.L1.EditionFeatures.IsPacked = protowire.DecodeBool(v)
case genid.FieldOptions_Weak_field_number:
fd.L1.IsWeak = protowire.DecodeBool(v)
case FieldOptions_EnforceUTF8:
- fd.L1.HasEnforceUTF8 = true
- fd.L1.EnforceUTF8 = protowire.DecodeBool(v)
+ fd.L1.EditionFeatures.IsUTF8Validated = protowire.DecodeBool(v)
}
case protowire.BytesType:
v, m := protowire.ConsumeBytes(b)
@@ -548,7 +551,6 @@ func (od *Oneof) unmarshalFull(b []byte, sb *strs.Builder, pf *File, pd protoref
func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) {
var rawTypeName []byte
var rawOptions []byte
- xd.L1.EditionFeatures = featuresFromParentDesc(xd.L1.Extendee)
xd.L2 = new(ExtensionL2)
for len(b) > 0 {
num, typ, n := protowire.ConsumeTag(b)
@@ -572,7 +574,6 @@ func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) {
case genid.FieldDescriptorProto_TypeName_field_number:
rawTypeName = v
case genid.FieldDescriptorProto_Options_field_number:
- xd.unmarshalOptions(v)
rawOptions = appendOptions(rawOptions, v)
}
default:
@@ -580,12 +581,6 @@ func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) {
b = b[m:]
}
}
- if xd.Syntax() == protoreflect.Editions && xd.L1.Kind == protoreflect.MessageKind && xd.L1.EditionFeatures.IsDelimitedEncoded {
- xd.L1.Kind = protoreflect.GroupKind
- }
- if xd.Syntax() == protoreflect.Editions && xd.L1.EditionFeatures.IsLegacyRequired {
- xd.L1.Cardinality = protoreflect.Required
- }
if rawTypeName != nil {
name := makeFullName(sb, rawTypeName)
switch xd.L1.Kind {
@@ -598,32 +593,6 @@ func (xd *Extension) unmarshalFull(b []byte, sb *strs.Builder) {
xd.L2.Options = xd.L0.ParentFile.builder.optionsUnmarshaler(&descopts.Field, rawOptions)
}
-func (xd *Extension) unmarshalOptions(b []byte) {
- for len(b) > 0 {
- num, typ, n := protowire.ConsumeTag(b)
- b = b[n:]
- switch typ {
- case protowire.VarintType:
- v, m := protowire.ConsumeVarint(b)
- b = b[m:]
- switch num {
- case genid.FieldOptions_Packed_field_number:
- xd.L2.IsPacked = protowire.DecodeBool(v)
- }
- case protowire.BytesType:
- v, m := protowire.ConsumeBytes(b)
- b = b[m:]
- switch num {
- case genid.FieldOptions_Features_field_number:
- xd.L1.EditionFeatures = unmarshalFeatureSet(v, xd.L1.EditionFeatures)
- }
- default:
- m := protowire.ConsumeFieldValue(num, typ, b)
- b = b[m:]
- }
- }
-}
-
func (sd *Service) unmarshalFull(b []byte, sb *strs.Builder) {
var rawMethods [][]byte
var rawOptions []byte
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go
index 30db19fdc7..f4107c05f4 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/desc_list_gen.go
@@ -8,6 +8,7 @@ package filedesc
import (
"fmt"
+ "strings"
"sync"
"google.golang.org/protobuf/internal/descfmt"
@@ -198,6 +199,16 @@ func (p *Fields) lazyInit() *Fields {
if _, ok := p.byText[d.TextName()]; !ok {
p.byText[d.TextName()] = d
}
+ if isGroupLike(d) {
+ lowerJSONName := strings.ToLower(d.JSONName())
+ if _, ok := p.byJSON[lowerJSONName]; !ok {
+ p.byJSON[lowerJSONName] = d
+ }
+ lowerTextName := strings.ToLower(d.TextName())
+ if _, ok := p.byText[lowerTextName]; !ok {
+ p.byText[lowerTextName] = d
+ }
+ }
if _, ok := p.byNum[d.Number()]; !ok {
p.byNum[d.Number()] = d
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/editions.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/editions.go
index 0375a49d40..11f5f356b6 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/editions.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/editions.go
@@ -14,9 +14,13 @@ import (
)
var defaultsCache = make(map[Edition]EditionFeatures)
+var defaultsKeys = []Edition{}
func init() {
unmarshalEditionDefaults(editiondefaults.Defaults)
+ SurrogateProto2.L1.EditionFeatures = getFeaturesFor(EditionProto2)
+ SurrogateProto3.L1.EditionFeatures = getFeaturesFor(EditionProto3)
+ SurrogateEdition2023.L1.EditionFeatures = getFeaturesFor(Edition2023)
}
func unmarshalGoFeature(b []byte, parent EditionFeatures) EditionFeatures {
@@ -104,12 +108,15 @@ func unmarshalEditionDefault(b []byte) {
v, m := protowire.ConsumeBytes(b)
b = b[m:]
switch num {
- case genid.FeatureSetDefaults_FeatureSetEditionDefault_Features_field_number:
+ case genid.FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_number:
+ fs = unmarshalFeatureSet(v, fs)
+ case genid.FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_number:
fs = unmarshalFeatureSet(v, fs)
}
}
}
defaultsCache[ed] = fs
+ defaultsKeys = append(defaultsKeys, ed)
}
func unmarshalEditionDefaults(b []byte) {
@@ -135,8 +142,15 @@ func unmarshalEditionDefaults(b []byte) {
}
func getFeaturesFor(ed Edition) EditionFeatures {
- if def, ok := defaultsCache[ed]; ok {
- return def
+ match := EditionUnknown
+ for _, key := range defaultsKeys {
+ if key > ed {
+ break
+ }
+ match = key
}
- panic(fmt.Sprintf("unsupported edition: %v", ed))
+ if match == EditionUnknown {
+ panic(fmt.Sprintf("unsupported edition: %v", ed))
+ }
+ return defaultsCache[match]
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go
index 28240ebc5c..bfb3b84170 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filedesc/placeholder.go
@@ -63,6 +63,7 @@ func (e PlaceholderEnum) Options() protoreflect.ProtoMessage { return des
func (e PlaceholderEnum) Values() protoreflect.EnumValueDescriptors { return emptyEnumValues }
func (e PlaceholderEnum) ReservedNames() protoreflect.Names { return emptyNames }
func (e PlaceholderEnum) ReservedRanges() protoreflect.EnumRanges { return emptyEnumRanges }
+func (e PlaceholderEnum) IsClosed() bool { return false }
func (e PlaceholderEnum) ProtoType(protoreflect.EnumDescriptor) { return }
func (e PlaceholderEnum) ProtoInternal(pragma.DoNotImplement) { return }
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filetype/build.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filetype/build.go
index f0e38c4ef4..ba83fea44c 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filetype/build.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/filetype/build.go
@@ -68,7 +68,7 @@ type Builder struct {
// and for input and output messages referenced by service methods.
// Dependencies must come after declarations, but the ordering of
// dependencies themselves is unspecified.
- GoTypes []interface{}
+ GoTypes []any
// DependencyIndexes is an ordered list of indexes into GoTypes for the
// dependencies of messages, extensions, or services.
@@ -268,7 +268,7 @@ func (x depIdxs) Get(i, j int32) int32 {
type (
resolverByIndex struct {
- goTypes []interface{}
+ goTypes []any
depIdxs depIdxs
fileRegistry
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go
index 40272c893f..f30ab6b586 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go
@@ -21,6 +21,7 @@ const (
// Enum values for google.protobuf.Edition.
const (
Edition_EDITION_UNKNOWN_enum_value = 0
+ Edition_EDITION_LEGACY_enum_value = 900
Edition_EDITION_PROTO2_enum_value = 998
Edition_EDITION_PROTO3_enum_value = 999
Edition_EDITION_2023_enum_value = 1000
@@ -653,6 +654,7 @@ const (
FieldOptions_Targets_field_name protoreflect.Name = "targets"
FieldOptions_EditionDefaults_field_name protoreflect.Name = "edition_defaults"
FieldOptions_Features_field_name protoreflect.Name = "features"
+ FieldOptions_FeatureSupport_field_name protoreflect.Name = "feature_support"
FieldOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
FieldOptions_Ctype_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.ctype"
@@ -667,6 +669,7 @@ const (
FieldOptions_Targets_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.targets"
FieldOptions_EditionDefaults_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.edition_defaults"
FieldOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.features"
+ FieldOptions_FeatureSupport_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.feature_support"
FieldOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.uninterpreted_option"
)
@@ -684,6 +687,7 @@ const (
FieldOptions_Targets_field_number protoreflect.FieldNumber = 19
FieldOptions_EditionDefaults_field_number protoreflect.FieldNumber = 20
FieldOptions_Features_field_number protoreflect.FieldNumber = 21
+ FieldOptions_FeatureSupport_field_number protoreflect.FieldNumber = 22
FieldOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -767,6 +771,33 @@ const (
FieldOptions_EditionDefault_Value_field_number protoreflect.FieldNumber = 2
)
+// Names for google.protobuf.FieldOptions.FeatureSupport.
+const (
+ FieldOptions_FeatureSupport_message_name protoreflect.Name = "FeatureSupport"
+ FieldOptions_FeatureSupport_message_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport"
+)
+
+// Field names for google.protobuf.FieldOptions.FeatureSupport.
+const (
+ FieldOptions_FeatureSupport_EditionIntroduced_field_name protoreflect.Name = "edition_introduced"
+ FieldOptions_FeatureSupport_EditionDeprecated_field_name protoreflect.Name = "edition_deprecated"
+ FieldOptions_FeatureSupport_DeprecationWarning_field_name protoreflect.Name = "deprecation_warning"
+ FieldOptions_FeatureSupport_EditionRemoved_field_name protoreflect.Name = "edition_removed"
+
+ FieldOptions_FeatureSupport_EditionIntroduced_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.edition_introduced"
+ FieldOptions_FeatureSupport_EditionDeprecated_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.edition_deprecated"
+ FieldOptions_FeatureSupport_DeprecationWarning_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.deprecation_warning"
+ FieldOptions_FeatureSupport_EditionRemoved_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.FeatureSupport.edition_removed"
+)
+
+// Field numbers for google.protobuf.FieldOptions.FeatureSupport.
+const (
+ FieldOptions_FeatureSupport_EditionIntroduced_field_number protoreflect.FieldNumber = 1
+ FieldOptions_FeatureSupport_EditionDeprecated_field_number protoreflect.FieldNumber = 2
+ FieldOptions_FeatureSupport_DeprecationWarning_field_number protoreflect.FieldNumber = 3
+ FieldOptions_FeatureSupport_EditionRemoved_field_number protoreflect.FieldNumber = 4
+)
+
// Names for google.protobuf.OneofOptions.
const (
OneofOptions_message_name protoreflect.Name = "OneofOptions"
@@ -829,11 +860,13 @@ const (
EnumValueOptions_Deprecated_field_name protoreflect.Name = "deprecated"
EnumValueOptions_Features_field_name protoreflect.Name = "features"
EnumValueOptions_DebugRedact_field_name protoreflect.Name = "debug_redact"
+ EnumValueOptions_FeatureSupport_field_name protoreflect.Name = "feature_support"
EnumValueOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option"
EnumValueOptions_Deprecated_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.deprecated"
EnumValueOptions_Features_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.features"
EnumValueOptions_DebugRedact_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.debug_redact"
+ EnumValueOptions_FeatureSupport_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.feature_support"
EnumValueOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.EnumValueOptions.uninterpreted_option"
)
@@ -842,6 +875,7 @@ const (
EnumValueOptions_Deprecated_field_number protoreflect.FieldNumber = 1
EnumValueOptions_Features_field_number protoreflect.FieldNumber = 2
EnumValueOptions_DebugRedact_field_number protoreflect.FieldNumber = 3
+ EnumValueOptions_FeatureSupport_field_number protoreflect.FieldNumber = 4
EnumValueOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999
)
@@ -1110,17 +1144,20 @@ const (
// Field names for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
const (
- FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_name protoreflect.Name = "edition"
- FeatureSetDefaults_FeatureSetEditionDefault_Features_field_name protoreflect.Name = "features"
+ FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_name protoreflect.Name = "edition"
+ FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_name protoreflect.Name = "overridable_features"
+ FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_name protoreflect.Name = "fixed_features"
- FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition"
- FeatureSetDefaults_FeatureSetEditionDefault_Features_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features"
+ FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition"
+ FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features"
+ FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_fullname protoreflect.FullName = "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features"
)
// Field numbers for google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
const (
- FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_number protoreflect.FieldNumber = 3
- FeatureSetDefaults_FeatureSetEditionDefault_Features_field_number protoreflect.FieldNumber = 2
+ FeatureSetDefaults_FeatureSetEditionDefault_Edition_field_number protoreflect.FieldNumber = 3
+ FeatureSetDefaults_FeatureSetEditionDefault_OverridableFeatures_field_number protoreflect.FieldNumber = 4
+ FeatureSetDefaults_FeatureSetEditionDefault_FixedFeatures_field_number protoreflect.FieldNumber = 5
)
// Names for google.protobuf.SourceCodeInfo.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go
index fd9015e8ee..9a652a2b42 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/genid/go_features_gen.go
@@ -10,7 +10,7 @@ import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
)
-const File_reflect_protodesc_proto_go_features_proto = "reflect/protodesc/proto/go_features.proto"
+const File_google_protobuf_go_features_proto = "google/protobuf/go_features.proto"
// Names for google.protobuf.GoFeatures.
const (
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/api_export.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/api_export.go
index a371f98de1..5d5771c2ed 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/api_export.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/api_export.go
@@ -22,13 +22,13 @@ type Export struct{}
// NewError formats a string according to the format specifier and arguments and
// returns an error that has a "proto" prefix.
-func (Export) NewError(f string, x ...interface{}) error {
+func (Export) NewError(f string, x ...any) error {
return errors.New(f, x...)
}
// enum is any enum type generated by protoc-gen-go
// and must be a named int32 type.
-type enum = interface{}
+type enum = any
// EnumOf returns the protoreflect.Enum interface over e.
// It returns nil if e is nil.
@@ -81,7 +81,7 @@ func (Export) EnumStringOf(ed protoreflect.EnumDescriptor, n protoreflect.EnumNu
// message is any message type generated by protoc-gen-go
// and must be a pointer to a named struct type.
-type message = interface{}
+type message = any
// legacyMessageWrapper wraps a v2 message as a v1 message.
type legacyMessageWrapper struct{ m protoreflect.ProtoMessage }
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/checkinit.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/checkinit.go
index bff041edc9..f29e6a8fa8 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/checkinit.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/checkinit.go
@@ -68,7 +68,7 @@ func (mi *MessageInfo) isInitExtensions(ext *map[int32]ExtensionField) error {
}
for _, x := range *ext {
ei := getExtensionFieldInfo(x.Type())
- if ei.funcs.isInit == nil {
+ if ei.funcs.isInit == nil || x.isUnexpandedLazy() {
continue
}
v := x.Value()
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go
index 2b8f122c27..4bb0a7a20c 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_extension.go
@@ -99,6 +99,28 @@ func (f *ExtensionField) canLazy(xt protoreflect.ExtensionType) bool {
return false
}
+// isUnexpandedLazy returns true if the ExensionField is lazy and not
+// yet expanded, which means it's present and already checked for
+// initialized required fields.
+func (f *ExtensionField) isUnexpandedLazy() bool {
+ return f.lazy != nil && atomic.LoadUint32(&f.lazy.atomicOnce) == 0
+}
+
+// lazyBuffer retrieves the buffer for a lazy extension if it's not yet expanded.
+//
+// The returned buffer has to be kept over whatever operation we're planning,
+// as re-retrieving it will fail after the message is lazily decoded.
+func (f *ExtensionField) lazyBuffer() []byte {
+ // This function might be in the critical path, so check the atomic without
+ // taking a look first, then only take the lock if needed.
+ if !f.isUnexpandedLazy() {
+ return nil
+ }
+ f.lazy.mu.Lock()
+ defer f.lazy.mu.Unlock()
+ return f.lazy.b
+}
+
func (f *ExtensionField) lazyInit() {
f.lazy.mu.Lock()
defer f.lazy.mu.Unlock()
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_field.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_field.go
index 3fadd241e1..78ee47e44b 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_field.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_field.go
@@ -233,9 +233,15 @@ func sizeMessageInfo(p pointer, f *coderFieldInfo, opts marshalOptions) int {
}
func appendMessageInfo(b []byte, p pointer, f *coderFieldInfo, opts marshalOptions) ([]byte, error) {
+ calculatedSize := f.mi.sizePointer(p.Elem(), opts)
b = protowire.AppendVarint(b, f.wiretag)
- b = protowire.AppendVarint(b, uint64(f.mi.sizePointer(p.Elem(), opts)))
- return f.mi.marshalAppendPointer(b, p.Elem(), opts)
+ b = protowire.AppendVarint(b, uint64(calculatedSize))
+ before := len(b)
+ b, err := f.mi.marshalAppendPointer(b, p.Elem(), opts)
+ if measuredSize := len(b) - before; calculatedSize != measuredSize && err == nil {
+ return nil, errors.MismatchedSizeCalculation(calculatedSize, measuredSize)
+ }
+ return b, err
}
func consumeMessageInfo(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInfo, opts unmarshalOptions) (out unmarshalOutput, err error) {
@@ -262,14 +268,21 @@ func isInitMessageInfo(p pointer, f *coderFieldInfo) error {
return f.mi.checkInitializedPointer(p.Elem())
}
-func sizeMessage(m proto.Message, tagsize int, _ marshalOptions) int {
- return protowire.SizeBytes(proto.Size(m)) + tagsize
+func sizeMessage(m proto.Message, tagsize int, opts marshalOptions) int {
+ return protowire.SizeBytes(opts.Options().Size(m)) + tagsize
}
func appendMessage(b []byte, m proto.Message, wiretag uint64, opts marshalOptions) ([]byte, error) {
+ mopts := opts.Options()
+ calculatedSize := mopts.Size(m)
b = protowire.AppendVarint(b, wiretag)
- b = protowire.AppendVarint(b, uint64(proto.Size(m)))
- return opts.Options().MarshalAppend(b, m)
+ b = protowire.AppendVarint(b, uint64(calculatedSize))
+ before := len(b)
+ b, err := mopts.MarshalAppend(b, m)
+ if measuredSize := len(b) - before; calculatedSize != measuredSize && err == nil {
+ return nil, errors.MismatchedSizeCalculation(calculatedSize, measuredSize)
+ }
+ return b, err
}
func consumeMessage(b []byte, m proto.Message, wtyp protowire.Type, opts unmarshalOptions) (out unmarshalOutput, err error) {
@@ -405,8 +418,8 @@ func consumeGroupType(b []byte, p pointer, wtyp protowire.Type, f *coderFieldInf
return f.mi.unmarshalPointer(b, p.Elem(), f.num, opts)
}
-func sizeGroup(m proto.Message, tagsize int, _ marshalOptions) int {
- return 2*tagsize + proto.Size(m)
+func sizeGroup(m proto.Message, tagsize int, opts marshalOptions) int {
+ return 2*tagsize + opts.Options().Size(m)
}
func appendGroup(b []byte, m proto.Message, wiretag uint64, opts marshalOptions) ([]byte, error) {
@@ -482,10 +495,14 @@ func appendMessageSliceInfo(b []byte, p pointer, f *coderFieldInfo, opts marshal
b = protowire.AppendVarint(b, f.wiretag)
siz := f.mi.sizePointer(v, opts)
b = protowire.AppendVarint(b, uint64(siz))
+ before := len(b)
b, err = f.mi.marshalAppendPointer(b, v, opts)
if err != nil {
return b, err
}
+ if measuredSize := len(b) - before; siz != measuredSize {
+ return nil, errors.MismatchedSizeCalculation(siz, measuredSize)
+ }
}
return b, nil
}
@@ -520,28 +537,34 @@ func isInitMessageSliceInfo(p pointer, f *coderFieldInfo) error {
return nil
}
-func sizeMessageSlice(p pointer, goType reflect.Type, tagsize int, _ marshalOptions) int {
+func sizeMessageSlice(p pointer, goType reflect.Type, tagsize int, opts marshalOptions) int {
+ mopts := opts.Options()
s := p.PointerSlice()
n := 0
for _, v := range s {
m := asMessage(v.AsValueOf(goType.Elem()))
- n += protowire.SizeBytes(proto.Size(m)) + tagsize
+ n += protowire.SizeBytes(mopts.Size(m)) + tagsize
}
return n
}
func appendMessageSlice(b []byte, p pointer, wiretag uint64, goType reflect.Type, opts marshalOptions) ([]byte, error) {
+ mopts := opts.Options()
s := p.PointerSlice()
var err error
for _, v := range s {
m := asMessage(v.AsValueOf(goType.Elem()))
b = protowire.AppendVarint(b, wiretag)
- siz := proto.Size(m)
+ siz := mopts.Size(m)
b = protowire.AppendVarint(b, uint64(siz))
- b, err = opts.Options().MarshalAppend(b, m)
+ before := len(b)
+ b, err = mopts.MarshalAppend(b, m)
if err != nil {
return b, err
}
+ if measuredSize := len(b) - before; siz != measuredSize {
+ return nil, errors.MismatchedSizeCalculation(siz, measuredSize)
+ }
}
return b, nil
}
@@ -582,11 +605,12 @@ func isInitMessageSlice(p pointer, goType reflect.Type) error {
// Slices of messages
func sizeMessageSliceValue(listv protoreflect.Value, tagsize int, opts marshalOptions) int {
+ mopts := opts.Options()
list := listv.List()
n := 0
for i, llen := 0, list.Len(); i < llen; i++ {
m := list.Get(i).Message().Interface()
- n += protowire.SizeBytes(proto.Size(m)) + tagsize
+ n += protowire.SizeBytes(mopts.Size(m)) + tagsize
}
return n
}
@@ -597,13 +621,17 @@ func appendMessageSliceValue(b []byte, listv protoreflect.Value, wiretag uint64,
for i, llen := 0, list.Len(); i < llen; i++ {
m := list.Get(i).Message().Interface()
b = protowire.AppendVarint(b, wiretag)
- siz := proto.Size(m)
+ siz := mopts.Size(m)
b = protowire.AppendVarint(b, uint64(siz))
+ before := len(b)
var err error
b, err = mopts.MarshalAppend(b, m)
if err != nil {
return b, err
}
+ if measuredSize := len(b) - before; siz != measuredSize {
+ return nil, errors.MismatchedSizeCalculation(siz, measuredSize)
+ }
}
return b, nil
}
@@ -651,11 +679,12 @@ var coderMessageSliceValue = valueCoderFuncs{
}
func sizeGroupSliceValue(listv protoreflect.Value, tagsize int, opts marshalOptions) int {
+ mopts := opts.Options()
list := listv.List()
n := 0
for i, llen := 0, list.Len(); i < llen; i++ {
m := list.Get(i).Message().Interface()
- n += 2*tagsize + proto.Size(m)
+ n += 2*tagsize + mopts.Size(m)
}
return n
}
@@ -738,12 +767,13 @@ func makeGroupSliceFieldCoder(fd protoreflect.FieldDescriptor, ft reflect.Type)
}
}
-func sizeGroupSlice(p pointer, messageType reflect.Type, tagsize int, _ marshalOptions) int {
+func sizeGroupSlice(p pointer, messageType reflect.Type, tagsize int, opts marshalOptions) int {
+ mopts := opts.Options()
s := p.PointerSlice()
n := 0
for _, v := range s {
m := asMessage(v.AsValueOf(messageType.Elem()))
- n += 2*tagsize + proto.Size(m)
+ n += 2*tagsize + mopts.Size(m)
}
return n
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_map.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_map.go
index 111b9d16f9..fb35f0bae9 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_map.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_map.go
@@ -9,6 +9,7 @@ import (
"sort"
"google.golang.org/protobuf/encoding/protowire"
+ "google.golang.org/protobuf/internal/errors"
"google.golang.org/protobuf/internal/genid"
"google.golang.org/protobuf/reflect/protoreflect"
)
@@ -240,11 +241,16 @@ func appendMapItem(b []byte, keyrv, valrv reflect.Value, mapi *mapInfo, f *coder
size += mapi.keyFuncs.size(key.Value(), mapKeyTagSize, opts)
size += mapi.valFuncs.size(val, mapValTagSize, opts)
b = protowire.AppendVarint(b, uint64(size))
+ before := len(b)
b, err := mapi.keyFuncs.marshal(b, key.Value(), mapi.keyWiretag, opts)
if err != nil {
return nil, err
}
- return mapi.valFuncs.marshal(b, val, mapi.valWiretag, opts)
+ b, err = mapi.valFuncs.marshal(b, val, mapi.valWiretag, opts)
+ if measuredSize := len(b) - before; size != measuredSize && err == nil {
+ return nil, errors.MismatchedSizeCalculation(size, measuredSize)
+ }
+ return b, err
} else {
key := mapi.conv.keyConv.PBValueOf(keyrv).MapKey()
val := pointerOfValue(valrv)
@@ -259,7 +265,12 @@ func appendMapItem(b []byte, keyrv, valrv reflect.Value, mapi *mapInfo, f *coder
}
b = protowire.AppendVarint(b, mapi.valWiretag)
b = protowire.AppendVarint(b, uint64(valSize))
- return f.mi.marshalAppendPointer(b, val, opts)
+ before := len(b)
+ b, err = f.mi.marshalAppendPointer(b, val, opts)
+ if measuredSize := len(b) - before; valSize != measuredSize && err == nil {
+ return nil, errors.MismatchedSizeCalculation(valSize, measuredSize)
+ }
+ return b, err
}
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go
index b7a23faf1e..7a16ec13dd 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/codec_messageset.go
@@ -26,6 +26,15 @@ func sizeMessageSet(mi *MessageInfo, p pointer, opts marshalOptions) (size int)
}
num, _ := protowire.DecodeTag(xi.wiretag)
size += messageset.SizeField(num)
+ if fullyLazyExtensions(opts) {
+ // Don't expand the extension, instead use the buffer to calculate size
+ if lb := x.lazyBuffer(); lb != nil {
+ // We got hold of the buffer, so it's still lazy.
+ // Don't count the tag size in the extension buffer, it's already added.
+ size += protowire.SizeTag(messageset.FieldMessage) + len(lb) - xi.tagsize
+ continue
+ }
+ }
size += xi.funcs.size(x.Value(), protowire.SizeTag(messageset.FieldMessage), opts)
}
@@ -85,6 +94,19 @@ func marshalMessageSetField(mi *MessageInfo, b []byte, x ExtensionField, opts ma
xi := getExtensionFieldInfo(x.Type())
num, _ := protowire.DecodeTag(xi.wiretag)
b = messageset.AppendFieldStart(b, num)
+
+ if fullyLazyExtensions(opts) {
+ // Don't expand the extension if it's still in wire format, instead use the buffer content.
+ if lb := x.lazyBuffer(); lb != nil {
+ // The tag inside the lazy buffer is a different tag (the extension
+ // number), but what we need here is the tag for FieldMessage:
+ b = protowire.AppendVarint(b, protowire.EncodeTag(messageset.FieldMessage, protowire.BytesType))
+ b = append(b, lb[xi.tagsize:]...)
+ b = messageset.AppendFieldEnd(b)
+ return b, nil
+ }
+ }
+
b, err := xi.funcs.marshal(b, x.Value(), protowire.EncodeTag(messageset.FieldMessage, protowire.BytesType), opts)
if err != nil {
return b, err
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert.go
index 185ef2efa5..e06ece55a2 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert.go
@@ -14,7 +14,7 @@ import (
// unwrapper unwraps the value to the underlying value.
// This is implemented by List and Map.
type unwrapper interface {
- protoUnwrap() interface{}
+ protoUnwrap() any
}
// A Converter coverts to/from Go reflect.Value types and protobuf protoreflect.Value types.
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_list.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_list.go
index f89136516f..18cb96fd70 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_list.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_list.go
@@ -136,6 +136,6 @@ func (ls *listReflect) NewElement() protoreflect.Value {
func (ls *listReflect) IsValid() bool {
return !ls.v.IsNil()
}
-func (ls *listReflect) protoUnwrap() interface{} {
+func (ls *listReflect) protoUnwrap() any {
return ls.v.Interface()
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_map.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_map.go
index f30b0a0576..304244a651 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_map.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/convert_map.go
@@ -116,6 +116,6 @@ func (ms *mapReflect) NewValue() protoreflect.Value {
func (ms *mapReflect) IsValid() bool {
return !ms.v.IsNil()
}
-func (ms *mapReflect) protoUnwrap() interface{} {
+func (ms *mapReflect) protoUnwrap() any {
return ms.v.Interface()
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/encode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/encode.go
index 845c67d6e7..febd212247 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/encode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/encode.go
@@ -49,8 +49,11 @@ func (mi *MessageInfo) sizePointer(p pointer, opts marshalOptions) (size int) {
return 0
}
if opts.UseCachedSize() && mi.sizecacheOffset.IsValid() {
- if size := atomic.LoadInt32(p.Apply(mi.sizecacheOffset).Int32()); size >= 0 {
- return int(size)
+ // The size cache contains the size + 1, to allow the
+ // zero value to be invalid, while also allowing for a
+ // 0 size to be cached.
+ if size := atomic.LoadInt32(p.Apply(mi.sizecacheOffset).Int32()); size > 0 {
+ return int(size - 1)
}
}
return mi.sizePointerSlow(p, opts)
@@ -60,7 +63,7 @@ func (mi *MessageInfo) sizePointerSlow(p pointer, opts marshalOptions) (size int
if flags.ProtoLegacy && mi.isMessageSet {
size = sizeMessageSet(mi, p, opts)
if mi.sizecacheOffset.IsValid() {
- atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size))
+ atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size+1))
}
return size
}
@@ -84,13 +87,16 @@ func (mi *MessageInfo) sizePointerSlow(p pointer, opts marshalOptions) (size int
}
}
if mi.sizecacheOffset.IsValid() {
- if size > math.MaxInt32 {
+ if size > (math.MaxInt32 - 1) {
// The size is too large for the int32 sizecache field.
// We will need to recompute the size when encoding;
// unfortunately expensive, but better than invalid output.
- atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), -1)
+ atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), 0)
} else {
- atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size))
+ // The size cache contains the size + 1, to allow the
+ // zero value to be invalid, while also allowing for a
+ // 0 size to be cached.
+ atomic.StoreInt32(p.Apply(mi.sizecacheOffset).Int32(), int32(size+1))
}
}
return size
@@ -149,6 +155,14 @@ func (mi *MessageInfo) marshalAppendPointer(b []byte, p pointer, opts marshalOpt
return b, nil
}
+// fullyLazyExtensions returns true if we should attempt to keep extensions lazy over size and marshal.
+func fullyLazyExtensions(opts marshalOptions) bool {
+ // When deterministic marshaling is requested, force an unmarshal for lazy
+ // extensions to produce a deterministic result, instead of passing through
+ // bytes lazily that may or may not match what Go Protobuf would produce.
+ return opts.flags&piface.MarshalDeterministic == 0
+}
+
func (mi *MessageInfo) sizeExtensions(ext *map[int32]ExtensionField, opts marshalOptions) (n int) {
if ext == nil {
return 0
@@ -158,6 +172,14 @@ func (mi *MessageInfo) sizeExtensions(ext *map[int32]ExtensionField, opts marsha
if xi.funcs.size == nil {
continue
}
+ if fullyLazyExtensions(opts) {
+ // Don't expand the extension, instead use the buffer to calculate size
+ if lb := x.lazyBuffer(); lb != nil {
+ // We got hold of the buffer, so it's still lazy.
+ n += len(lb)
+ continue
+ }
+ }
n += xi.funcs.size(x.Value(), xi.tagsize, opts)
}
return n
@@ -176,6 +198,13 @@ func (mi *MessageInfo) appendExtensions(b []byte, ext *map[int32]ExtensionField,
var err error
for _, x := range *ext {
xi := getExtensionFieldInfo(x.Type())
+ if fullyLazyExtensions(opts) {
+ // Don't expand the extension if it's still in wire format, instead use the buffer content.
+ if lb := x.lazyBuffer(); lb != nil {
+ b = append(b, lb...)
+ continue
+ }
+ }
b, err = xi.funcs.marshal(b, x.Value(), xi.wiretag, opts)
}
return b, err
@@ -191,6 +220,13 @@ func (mi *MessageInfo) appendExtensions(b []byte, ext *map[int32]ExtensionField,
for _, k := range keys {
x := (*ext)[int32(k)]
xi := getExtensionFieldInfo(x.Type())
+ if fullyLazyExtensions(opts) {
+ // Don't expand the extension if it's still in wire format, instead use the buffer content.
+ if lb := x.lazyBuffer(); lb != nil {
+ b = append(b, lb...)
+ continue
+ }
+ }
b, err = xi.funcs.marshal(b, x.Value(), xi.wiretag, opts)
if err != nil {
return b, err
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/extension.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/extension.go
index cb25b0bae1..e31249f64f 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/extension.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/extension.go
@@ -53,7 +53,7 @@ type ExtensionInfo struct {
// type returned by InterfaceOf may not be identical.
//
// Deprecated: Use InterfaceOf(xt.Zero()) instead.
- ExtensionType interface{}
+ ExtensionType any
// Field is the field number of the extension.
//
@@ -95,16 +95,16 @@ func (xi *ExtensionInfo) New() protoreflect.Value {
func (xi *ExtensionInfo) Zero() protoreflect.Value {
return xi.lazyInit().Zero()
}
-func (xi *ExtensionInfo) ValueOf(v interface{}) protoreflect.Value {
+func (xi *ExtensionInfo) ValueOf(v any) protoreflect.Value {
return xi.lazyInit().PBValueOf(reflect.ValueOf(v))
}
-func (xi *ExtensionInfo) InterfaceOf(v protoreflect.Value) interface{} {
+func (xi *ExtensionInfo) InterfaceOf(v protoreflect.Value) any {
return xi.lazyInit().GoValueOf(v).Interface()
}
func (xi *ExtensionInfo) IsValidValue(v protoreflect.Value) bool {
return xi.lazyInit().IsValidPB(v)
}
-func (xi *ExtensionInfo) IsValidInterface(v interface{}) bool {
+func (xi *ExtensionInfo) IsValidInterface(v any) bool {
return xi.lazyInit().IsValidGo(reflect.ValueOf(v))
}
func (xi *ExtensionInfo) TypeDescriptor() protoreflect.ExtensionTypeDescriptor {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go
index c2a803bb2f..81b2b1a763 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_enum.go
@@ -97,7 +97,7 @@ func (e *legacyEnumWrapper) Number() protoreflect.EnumNumber {
func (e *legacyEnumWrapper) ProtoReflect() protoreflect.Enum {
return e
}
-func (e *legacyEnumWrapper) protoUnwrap() interface{} {
+func (e *legacyEnumWrapper) protoUnwrap() any {
v := reflect.New(e.goTyp).Elem()
v.SetInt(int64(e.num))
return v.Interface()
@@ -167,6 +167,7 @@ func aberrantLoadEnumDesc(t reflect.Type) protoreflect.EnumDescriptor {
ed := &filedesc.Enum{L2: new(filedesc.EnumL2)}
ed.L0.FullName = AberrantDeriveFullName(t) // e.g., github_com.user.repo.MyEnum
ed.L0.ParentFile = filedesc.SurrogateProto3
+ ed.L1.EditionFeatures = ed.L0.ParentFile.L1.EditionFeatures
ed.L2.Values.List = append(ed.L2.Values.List, filedesc.EnumValue{})
// TODO: Use the presence of a UnmarshalJSON method to determine proto2?
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go
index 87b30d0504..6e8677ee63 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_extension.go
@@ -118,7 +118,7 @@ func (xi *ExtensionInfo) initFromLegacy() {
xd.L1.Number = protoreflect.FieldNumber(xi.Field)
xd.L1.Cardinality = fd.L1.Cardinality
xd.L1.Kind = fd.L1.Kind
- xd.L2.IsPacked = fd.L1.IsPacked
+ xd.L1.EditionFeatures = fd.L1.EditionFeatures
xd.L2.Default = fd.L1.Default
xd.L1.Extendee = Export{}.MessageDescriptorOf(xi.ExtendedType)
xd.L2.Enum = ed
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go
index 9ab091086c..b649f1124b 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_file.go
@@ -7,7 +7,7 @@ package impl
import (
"bytes"
"compress/gzip"
- "io/ioutil"
+ "io"
"sync"
"google.golang.org/protobuf/internal/filedesc"
@@ -51,7 +51,7 @@ func legacyLoadFileDesc(b []byte) protoreflect.FileDescriptor {
if err != nil {
panic(err)
}
- b2, err := ioutil.ReadAll(zr)
+ b2, err := io.ReadAll(zr)
if err != nil {
panic(err)
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go
index 2ab2c62978..bf0b6049b4 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/legacy_message.go
@@ -204,6 +204,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName
}
}
+ md.L1.EditionFeatures = md.L0.ParentFile.L1.EditionFeatures
// Obtain a list of oneof wrapper types.
var oneofWrappers []reflect.Type
methods := make([]reflect.Method, 0, 2)
@@ -215,7 +216,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName
}
for _, fn := range methods {
for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) {
- if vs, ok := v.Interface().([]interface{}); ok {
+ if vs, ok := v.Interface().([]any); ok {
for _, v := range vs {
oneofWrappers = append(oneofWrappers, reflect.TypeOf(v))
}
@@ -250,6 +251,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName
od := &md.L2.Oneofs.List[n]
od.L0.FullName = md.FullName().Append(protoreflect.Name(tag))
od.L0.ParentFile = md.L0.ParentFile
+ od.L1.EditionFeatures = md.L1.EditionFeatures
od.L0.Parent = md
od.L0.Index = n
@@ -260,6 +262,7 @@ func aberrantLoadMessageDescReentrant(t reflect.Type, name protoreflect.FullName
aberrantAppendField(md, f.Type, tag, "", "")
fd := &md.L2.Fields.List[len(md.L2.Fields.List)-1]
fd.L1.ContainingOneof = od
+ fd.L1.EditionFeatures = od.L1.EditionFeatures
od.L1.Fields.List = append(od.L1.Fields.List, fd)
}
}
@@ -307,14 +310,14 @@ func aberrantAppendField(md *filedesc.Message, goType reflect.Type, tag, tagKey,
fd.L0.Parent = md
fd.L0.Index = n
- if fd.L1.IsWeak || fd.L1.HasPacked {
+ if fd.L1.IsWeak || fd.L1.EditionFeatures.IsPacked {
fd.L1.Options = func() protoreflect.ProtoMessage {
opts := descopts.Field.ProtoReflect().New()
if fd.L1.IsWeak {
opts.Set(opts.Descriptor().Fields().ByName("weak"), protoreflect.ValueOfBool(true))
}
- if fd.L1.HasPacked {
- opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.IsPacked))
+ if fd.L1.EditionFeatures.IsPacked {
+ opts.Set(opts.Descriptor().Fields().ByName("packed"), protoreflect.ValueOfBool(fd.L1.EditionFeatures.IsPacked))
}
return opts.Interface()
}
@@ -344,6 +347,7 @@ func aberrantAppendField(md *filedesc.Message, goType reflect.Type, tag, tagKey,
md2.L0.ParentFile = md.L0.ParentFile
md2.L0.Parent = md
md2.L0.Index = n
+ md2.L1.EditionFeatures = md.L1.EditionFeatures
md2.L1.IsMapEntry = true
md2.L2.Options = func() protoreflect.ProtoMessage {
@@ -563,6 +567,6 @@ func (m aberrantMessage) IsValid() bool {
func (m aberrantMessage) ProtoMethods() *protoiface.Methods {
return aberrantProtoMethods
}
-func (m aberrantMessage) protoUnwrap() interface{} {
+func (m aberrantMessage) protoUnwrap() any {
return m.v.Interface()
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message.go
index 629bacdced..019399d454 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message.go
@@ -35,7 +35,7 @@ type MessageInfo struct {
Exporter exporter
// OneofWrappers is list of pointers to oneof wrapper struct types.
- OneofWrappers []interface{}
+ OneofWrappers []any
initMu sync.Mutex // protects all unexported fields
initDone uint32
@@ -47,7 +47,7 @@ type MessageInfo struct {
// exporter is a function that returns a reference to the ith field of v,
// where v is a pointer to a struct. It returns nil if it does not support
// exporting the requested field (e.g., already exported).
-type exporter func(v interface{}, i int) interface{}
+type exporter func(v any, i int) any
// getMessageInfo returns the MessageInfo for any message type that
// is generated by our implementation of protoc-gen-go (for v2 and on).
@@ -201,7 +201,7 @@ fieldLoop:
}
for _, fn := range methods {
for _, v := range fn.Func.Call([]reflect.Value{reflect.Zero(fn.Type.In(0))}) {
- if vs, ok := v.Interface().([]interface{}); ok {
+ if vs, ok := v.Interface().([]any); ok {
oneofWrappers = vs
}
}
@@ -256,7 +256,7 @@ func (mi *MessageInfo) Message(i int) protoreflect.MessageType {
type mapEntryType struct {
desc protoreflect.MessageDescriptor
- valType interface{} // zero value of enum or message type
+ valType any // zero value of enum or message type
}
func (mt mapEntryType) New() protoreflect.Message {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go
index d9ea010bef..ecb4623d70 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect.go
@@ -20,7 +20,7 @@ type reflectMessageInfo struct {
// fieldTypes contains the zero value of an enum or message field.
// For lists, it contains the element type.
// For maps, it contains the entry value type.
- fieldTypes map[protoreflect.FieldNumber]interface{}
+ fieldTypes map[protoreflect.FieldNumber]any
// denseFields is a subset of fields where:
// 0 < fieldDesc.Number() < len(denseFields)
@@ -28,7 +28,7 @@ type reflectMessageInfo struct {
denseFields []*fieldInfo
// rangeInfos is a list of all fields (not belonging to a oneof) and oneofs.
- rangeInfos []interface{} // either *fieldInfo or *oneofInfo
+ rangeInfos []any // either *fieldInfo or *oneofInfo
getUnknown func(pointer) protoreflect.RawFields
setUnknown func(pointer, protoreflect.RawFields)
@@ -224,7 +224,7 @@ func (mi *MessageInfo) makeFieldTypes(si structInfo) {
}
if ft != nil {
if mi.fieldTypes == nil {
- mi.fieldTypes = make(map[protoreflect.FieldNumber]interface{})
+ mi.fieldTypes = make(map[protoreflect.FieldNumber]any)
}
mi.fieldTypes[fd.Number()] = reflect.Zero(ft).Interface()
}
@@ -247,39 +247,39 @@ func (m *extensionMap) Range(f func(protoreflect.FieldDescriptor, protoreflect.V
}
}
}
-func (m *extensionMap) Has(xt protoreflect.ExtensionType) (ok bool) {
+func (m *extensionMap) Has(xd protoreflect.ExtensionTypeDescriptor) (ok bool) {
if m == nil {
return false
}
- xd := xt.TypeDescriptor()
x, ok := (*m)[int32(xd.Number())]
if !ok {
return false
}
+ if x.isUnexpandedLazy() {
+ // Avoid calling x.Value(), which triggers a lazy unmarshal.
+ return true
+ }
switch {
case xd.IsList():
return x.Value().List().Len() > 0
case xd.IsMap():
return x.Value().Map().Len() > 0
- case xd.Message() != nil:
- return x.Value().Message().IsValid()
}
return true
}
-func (m *extensionMap) Clear(xt protoreflect.ExtensionType) {
- delete(*m, int32(xt.TypeDescriptor().Number()))
+func (m *extensionMap) Clear(xd protoreflect.ExtensionTypeDescriptor) {
+ delete(*m, int32(xd.Number()))
}
-func (m *extensionMap) Get(xt protoreflect.ExtensionType) protoreflect.Value {
- xd := xt.TypeDescriptor()
+func (m *extensionMap) Get(xd protoreflect.ExtensionTypeDescriptor) protoreflect.Value {
if m != nil {
if x, ok := (*m)[int32(xd.Number())]; ok {
return x.Value()
}
}
- return xt.Zero()
+ return xd.Type().Zero()
}
-func (m *extensionMap) Set(xt protoreflect.ExtensionType, v protoreflect.Value) {
- xd := xt.TypeDescriptor()
+func (m *extensionMap) Set(xd protoreflect.ExtensionTypeDescriptor, v protoreflect.Value) {
+ xt := xd.Type()
isValid := true
switch {
case !xt.IsValidValue(v):
@@ -292,7 +292,7 @@ func (m *extensionMap) Set(xt protoreflect.ExtensionType, v protoreflect.Value)
isValid = v.Message().IsValid()
}
if !isValid {
- panic(fmt.Sprintf("%v: assigning invalid value", xt.TypeDescriptor().FullName()))
+ panic(fmt.Sprintf("%v: assigning invalid value", xd.FullName()))
}
if *m == nil {
@@ -302,16 +302,15 @@ func (m *extensionMap) Set(xt protoreflect.ExtensionType, v protoreflect.Value)
x.Set(xt, v)
(*m)[int32(xd.Number())] = x
}
-func (m *extensionMap) Mutable(xt protoreflect.ExtensionType) protoreflect.Value {
- xd := xt.TypeDescriptor()
+func (m *extensionMap) Mutable(xd protoreflect.ExtensionTypeDescriptor) protoreflect.Value {
if xd.Kind() != protoreflect.MessageKind && xd.Kind() != protoreflect.GroupKind && !xd.IsList() && !xd.IsMap() {
panic("invalid Mutable on field with non-composite type")
}
if x, ok := (*m)[int32(xd.Number())]; ok {
return x.Value()
}
- v := xt.New()
- m.Set(xt, v)
+ v := xd.Type().New()
+ m.Set(xd, v)
return v
}
@@ -394,7 +393,7 @@ var (
// MessageOf returns a reflective view over a message. The input must be a
// pointer to a named Go struct. If the provided type has a ProtoReflect method,
// it must be implemented by calling this method.
-func (mi *MessageInfo) MessageOf(m interface{}) protoreflect.Message {
+func (mi *MessageInfo) MessageOf(m any) protoreflect.Message {
if reflect.TypeOf(m) != mi.GoReflectType {
panic(fmt.Sprintf("type mismatch: got %T, want %v", m, mi.GoReflectType))
}
@@ -422,13 +421,13 @@ func (m *messageIfaceWrapper) Reset() {
func (m *messageIfaceWrapper) ProtoReflect() protoreflect.Message {
return (*messageReflectWrapper)(m)
}
-func (m *messageIfaceWrapper) protoUnwrap() interface{} {
+func (m *messageIfaceWrapper) protoUnwrap() any {
return m.p.AsIfaceOf(m.mi.GoReflectType.Elem())
}
// checkField verifies that the provided field descriptor is valid.
// Exactly one of the returned values is populated.
-func (mi *MessageInfo) checkField(fd protoreflect.FieldDescriptor) (*fieldInfo, protoreflect.ExtensionType) {
+func (mi *MessageInfo) checkField(fd protoreflect.FieldDescriptor) (*fieldInfo, protoreflect.ExtensionTypeDescriptor) {
var fi *fieldInfo
if n := fd.Number(); 0 < n && int(n) < len(mi.denseFields) {
fi = mi.denseFields[n]
@@ -457,7 +456,7 @@ func (mi *MessageInfo) checkField(fd protoreflect.FieldDescriptor) (*fieldInfo,
if !ok {
panic(fmt.Sprintf("extension %v does not implement protoreflect.ExtensionTypeDescriptor", fd.FullName()))
}
- return nil, xtd.Type()
+ return nil, xtd
}
panic(fmt.Sprintf("field %v is invalid", fd.FullName()))
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go
index 741d6e5b6b..99dc23c6f0 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/message_reflect_gen.go
@@ -23,12 +23,13 @@ func (m *messageState) New() protoreflect.Message {
func (m *messageState) Interface() protoreflect.ProtoMessage {
return m.protoUnwrap().(protoreflect.ProtoMessage)
}
-func (m *messageState) protoUnwrap() interface{} {
+func (m *messageState) protoUnwrap() any {
return m.pointer().AsIfaceOf(m.messageInfo().GoReflectType.Elem())
}
func (m *messageState) ProtoMethods() *protoiface.Methods {
- m.messageInfo().init()
- return &m.messageInfo().methods
+ mi := m.messageInfo()
+ mi.init()
+ return &mi.methods
}
// ProtoMessageInfo is a pseudo-internal API for allowing the v1 code
@@ -41,8 +42,9 @@ func (m *messageState) ProtoMessageInfo() *MessageInfo {
}
func (m *messageState) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
- m.messageInfo().init()
- for _, ri := range m.messageInfo().rangeInfos {
+ mi := m.messageInfo()
+ mi.init()
+ for _, ri := range mi.rangeInfos {
switch ri := ri.(type) {
case *fieldInfo:
if ri.has(m.pointer()) {
@@ -52,77 +54,86 @@ func (m *messageState) Range(f func(protoreflect.FieldDescriptor, protoreflect.V
}
case *oneofInfo:
if n := ri.which(m.pointer()); n > 0 {
- fi := m.messageInfo().fields[n]
+ fi := mi.fields[n]
if !f(fi.fieldDesc, fi.get(m.pointer())) {
return
}
}
}
}
- m.messageInfo().extensionMap(m.pointer()).Range(f)
+ mi.extensionMap(m.pointer()).Range(f)
}
func (m *messageState) Has(fd protoreflect.FieldDescriptor) bool {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.has(m.pointer())
} else {
- return m.messageInfo().extensionMap(m.pointer()).Has(xt)
+ return mi.extensionMap(m.pointer()).Has(xd)
}
}
func (m *messageState) Clear(fd protoreflect.FieldDescriptor) {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
fi.clear(m.pointer())
} else {
- m.messageInfo().extensionMap(m.pointer()).Clear(xt)
+ mi.extensionMap(m.pointer()).Clear(xd)
}
}
func (m *messageState) Get(fd protoreflect.FieldDescriptor) protoreflect.Value {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.get(m.pointer())
} else {
- return m.messageInfo().extensionMap(m.pointer()).Get(xt)
+ return mi.extensionMap(m.pointer()).Get(xd)
}
}
func (m *messageState) Set(fd protoreflect.FieldDescriptor, v protoreflect.Value) {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
fi.set(m.pointer(), v)
} else {
- m.messageInfo().extensionMap(m.pointer()).Set(xt, v)
+ mi.extensionMap(m.pointer()).Set(xd, v)
}
}
func (m *messageState) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.mutable(m.pointer())
} else {
- return m.messageInfo().extensionMap(m.pointer()).Mutable(xt)
+ return mi.extensionMap(m.pointer()).Mutable(xd)
}
}
func (m *messageState) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.newField()
} else {
- return xt.New()
+ return xd.Type().New()
}
}
func (m *messageState) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
- m.messageInfo().init()
- if oi := m.messageInfo().oneofs[od.Name()]; oi != nil && oi.oneofDesc == od {
+ mi := m.messageInfo()
+ mi.init()
+ if oi := mi.oneofs[od.Name()]; oi != nil && oi.oneofDesc == od {
return od.Fields().ByNumber(oi.which(m.pointer()))
}
panic("invalid oneof descriptor " + string(od.FullName()) + " for message " + string(m.Descriptor().FullName()))
}
func (m *messageState) GetUnknown() protoreflect.RawFields {
- m.messageInfo().init()
- return m.messageInfo().getUnknown(m.pointer())
+ mi := m.messageInfo()
+ mi.init()
+ return mi.getUnknown(m.pointer())
}
func (m *messageState) SetUnknown(b protoreflect.RawFields) {
- m.messageInfo().init()
- m.messageInfo().setUnknown(m.pointer(), b)
+ mi := m.messageInfo()
+ mi.init()
+ mi.setUnknown(m.pointer(), b)
}
func (m *messageState) IsValid() bool {
return !m.pointer().IsNil()
@@ -143,12 +154,13 @@ func (m *messageReflectWrapper) Interface() protoreflect.ProtoMessage {
}
return (*messageIfaceWrapper)(m)
}
-func (m *messageReflectWrapper) protoUnwrap() interface{} {
+func (m *messageReflectWrapper) protoUnwrap() any {
return m.pointer().AsIfaceOf(m.messageInfo().GoReflectType.Elem())
}
func (m *messageReflectWrapper) ProtoMethods() *protoiface.Methods {
- m.messageInfo().init()
- return &m.messageInfo().methods
+ mi := m.messageInfo()
+ mi.init()
+ return &mi.methods
}
// ProtoMessageInfo is a pseudo-internal API for allowing the v1 code
@@ -161,8 +173,9 @@ func (m *messageReflectWrapper) ProtoMessageInfo() *MessageInfo {
}
func (m *messageReflectWrapper) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) {
- m.messageInfo().init()
- for _, ri := range m.messageInfo().rangeInfos {
+ mi := m.messageInfo()
+ mi.init()
+ for _, ri := range mi.rangeInfos {
switch ri := ri.(type) {
case *fieldInfo:
if ri.has(m.pointer()) {
@@ -172,77 +185,86 @@ func (m *messageReflectWrapper) Range(f func(protoreflect.FieldDescriptor, proto
}
case *oneofInfo:
if n := ri.which(m.pointer()); n > 0 {
- fi := m.messageInfo().fields[n]
+ fi := mi.fields[n]
if !f(fi.fieldDesc, fi.get(m.pointer())) {
return
}
}
}
}
- m.messageInfo().extensionMap(m.pointer()).Range(f)
+ mi.extensionMap(m.pointer()).Range(f)
}
func (m *messageReflectWrapper) Has(fd protoreflect.FieldDescriptor) bool {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.has(m.pointer())
} else {
- return m.messageInfo().extensionMap(m.pointer()).Has(xt)
+ return mi.extensionMap(m.pointer()).Has(xd)
}
}
func (m *messageReflectWrapper) Clear(fd protoreflect.FieldDescriptor) {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
fi.clear(m.pointer())
} else {
- m.messageInfo().extensionMap(m.pointer()).Clear(xt)
+ mi.extensionMap(m.pointer()).Clear(xd)
}
}
func (m *messageReflectWrapper) Get(fd protoreflect.FieldDescriptor) protoreflect.Value {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.get(m.pointer())
} else {
- return m.messageInfo().extensionMap(m.pointer()).Get(xt)
+ return mi.extensionMap(m.pointer()).Get(xd)
}
}
func (m *messageReflectWrapper) Set(fd protoreflect.FieldDescriptor, v protoreflect.Value) {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
fi.set(m.pointer(), v)
} else {
- m.messageInfo().extensionMap(m.pointer()).Set(xt, v)
+ mi.extensionMap(m.pointer()).Set(xd, v)
}
}
func (m *messageReflectWrapper) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.mutable(m.pointer())
} else {
- return m.messageInfo().extensionMap(m.pointer()).Mutable(xt)
+ return mi.extensionMap(m.pointer()).Mutable(xd)
}
}
func (m *messageReflectWrapper) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
- m.messageInfo().init()
- if fi, xt := m.messageInfo().checkField(fd); fi != nil {
+ mi := m.messageInfo()
+ mi.init()
+ if fi, xd := mi.checkField(fd); fi != nil {
return fi.newField()
} else {
- return xt.New()
+ return xd.Type().New()
}
}
func (m *messageReflectWrapper) WhichOneof(od protoreflect.OneofDescriptor) protoreflect.FieldDescriptor {
- m.messageInfo().init()
- if oi := m.messageInfo().oneofs[od.Name()]; oi != nil && oi.oneofDesc == od {
+ mi := m.messageInfo()
+ mi.init()
+ if oi := mi.oneofs[od.Name()]; oi != nil && oi.oneofDesc == od {
return od.Fields().ByNumber(oi.which(m.pointer()))
}
panic("invalid oneof descriptor " + string(od.FullName()) + " for message " + string(m.Descriptor().FullName()))
}
func (m *messageReflectWrapper) GetUnknown() protoreflect.RawFields {
- m.messageInfo().init()
- return m.messageInfo().getUnknown(m.pointer())
+ mi := m.messageInfo()
+ mi.init()
+ return mi.getUnknown(m.pointer())
}
func (m *messageReflectWrapper) SetUnknown(b protoreflect.RawFields) {
- m.messageInfo().init()
- m.messageInfo().setUnknown(m.pointer(), b)
+ mi := m.messageInfo()
+ mi.init()
+ mi.setUnknown(m.pointer(), b)
}
func (m *messageReflectWrapper) IsValid() bool {
return !m.pointer().IsNil()
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go
index 517e94434c..da685e8a29 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_reflect.go
@@ -16,7 +16,7 @@ import (
const UnsafeEnabled = false
// Pointer is an opaque pointer type.
-type Pointer interface{}
+type Pointer any
// offset represents the offset to a struct field, accessible from a pointer.
// The offset is the field index into a struct.
@@ -62,7 +62,7 @@ func pointerOfValue(v reflect.Value) pointer {
}
// pointerOfIface returns the pointer portion of an interface.
-func pointerOfIface(v interface{}) pointer {
+func pointerOfIface(v any) pointer {
return pointer{v: reflect.ValueOf(v)}
}
@@ -93,7 +93,7 @@ func (p pointer) AsValueOf(t reflect.Type) reflect.Value {
// AsIfaceOf treats p as a pointer to an object of type t and returns the value.
// It is equivalent to p.AsValueOf(t).Interface()
-func (p pointer) AsIfaceOf(t reflect.Type) interface{} {
+func (p pointer) AsIfaceOf(t reflect.Type) any {
return p.AsValueOf(t).Interface()
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go
index 4b020e3116..5f20ca5d8a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/impl/pointer_unsafe.go
@@ -50,7 +50,7 @@ func pointerOfValue(v reflect.Value) pointer {
}
// pointerOfIface returns the pointer portion of an interface.
-func pointerOfIface(v interface{}) pointer {
+func pointerOfIface(v any) pointer {
type ifaceHeader struct {
Type unsafe.Pointer
Data unsafe.Pointer
@@ -80,7 +80,7 @@ func (p pointer) AsValueOf(t reflect.Type) reflect.Value {
// AsIfaceOf treats p as a pointer to an object of type t and returns the value.
// It is equivalent to p.AsValueOf(t).Interface()
-func (p pointer) AsIfaceOf(t reflect.Type) interface{} {
+func (p pointer) AsIfaceOf(t reflect.Type) any {
// TODO: Use tricky unsafe magic to directly create ifaceHeader.
return p.AsValueOf(t).Interface()
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/order/range.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/order/range.go
index 1665a68e5b..a1f09162d0 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/order/range.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/order/range.go
@@ -18,7 +18,7 @@ type messageField struct {
}
var messageFieldPool = sync.Pool{
- New: func() interface{} { return new([]messageField) },
+ New: func() any { return new([]messageField) },
}
type (
@@ -69,7 +69,7 @@ type mapEntry struct {
}
var mapEntryPool = sync.Pool{
- New: func() interface{} { return new([]mapEntry) },
+ New: func() any { return new([]mapEntry) },
}
type (
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/version/version.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/version/version.go
index a50fcfb49b..dbbf1f6862 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/version/version.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/internal/version/version.go
@@ -51,8 +51,8 @@ import (
// 10. Send out the CL for review and submit it.
const (
Major = 1
- Minor = 33
- Patch = 0
+ Minor = 34
+ Patch = 2
PreRelease = ""
)
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/decode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/decode.go
index e5b03b5677..d75a6534c1 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/decode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/decode.go
@@ -51,6 +51,8 @@ type UnmarshalOptions struct {
// Unmarshal parses the wire-format message in b and places the result in m.
// The provided message must be mutable (e.g., a non-nil pointer to a message).
+//
+// See the [UnmarshalOptions] type if you need more control.
func Unmarshal(b []byte, m Message) error {
_, err := UnmarshalOptions{RecursionLimit: protowire.DefaultRecursionLimit}.unmarshal(b, m.ProtoReflect())
return err
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/encode.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/encode.go
index 4fed202f9f..1f847bcc35 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/encode.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/encode.go
@@ -5,12 +5,17 @@
package proto
import (
+ "errors"
+ "fmt"
+
"google.golang.org/protobuf/encoding/protowire"
"google.golang.org/protobuf/internal/encoding/messageset"
"google.golang.org/protobuf/internal/order"
"google.golang.org/protobuf/internal/pragma"
"google.golang.org/protobuf/reflect/protoreflect"
"google.golang.org/protobuf/runtime/protoiface"
+
+ protoerrors "google.golang.org/protobuf/internal/errors"
)
// MarshalOptions configures the marshaler.
@@ -70,7 +75,32 @@ type MarshalOptions struct {
UseCachedSize bool
}
+// flags turns the specified MarshalOptions (user-facing) into
+// protoiface.MarshalInputFlags (used internally by the marshaler).
+//
+// See impl.marshalOptions.Options for the inverse operation.
+func (o MarshalOptions) flags() protoiface.MarshalInputFlags {
+ var flags protoiface.MarshalInputFlags
+
+ // Note: o.AllowPartial is always forced to true by MarshalOptions.marshal,
+ // which is why it is not a part of MarshalInputFlags.
+
+ if o.Deterministic {
+ flags |= protoiface.MarshalDeterministic
+ }
+
+ if o.UseCachedSize {
+ flags |= protoiface.MarshalUseCachedSize
+ }
+
+ return flags
+}
+
// Marshal returns the wire-format encoding of m.
+//
+// This is the most common entry point for encoding a Protobuf message.
+//
+// See the [MarshalOptions] type if you need more control.
func Marshal(m Message) ([]byte, error) {
// Treat nil message interface as an empty message; nothing to output.
if m == nil {
@@ -116,6 +146,9 @@ func emptyBytesForMessage(m Message) []byte {
// MarshalAppend appends the wire-format encoding of m to b,
// returning the result.
+//
+// This is a less common entry point than [Marshal], which is only needed if you
+// need to supply your own buffers for performance reasons.
func (o MarshalOptions) MarshalAppend(b []byte, m Message) ([]byte, error) {
// Treat nil message interface as an empty message; nothing to append.
if m == nil {
@@ -145,12 +178,7 @@ func (o MarshalOptions) marshal(b []byte, m protoreflect.Message) (out protoifac
in := protoiface.MarshalInput{
Message: m,
Buf: b,
- }
- if o.Deterministic {
- in.Flags |= protoiface.MarshalDeterministic
- }
- if o.UseCachedSize {
- in.Flags |= protoiface.MarshalUseCachedSize
+ Flags: o.flags(),
}
if methods.Size != nil {
sout := methods.Size(protoiface.SizeInput{
@@ -168,6 +196,10 @@ func (o MarshalOptions) marshal(b []byte, m protoreflect.Message) (out protoifac
out.Buf, err = o.marshalMessageSlow(b, m)
}
if err != nil {
+ var mismatch *protoerrors.SizeMismatchError
+ if errors.As(err, &mismatch) {
+ return out, fmt.Errorf("marshaling %s: %v", string(m.Descriptor().FullName()), err)
+ }
return out, err
}
if allowPartial {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/extension.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/extension.go
index 17899a3a76..d248f29284 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/extension.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/extension.go
@@ -11,18 +11,21 @@ import (
// HasExtension reports whether an extension field is populated.
// It returns false if m is invalid or if xt does not extend m.
func HasExtension(m Message, xt protoreflect.ExtensionType) bool {
- // Treat nil message interface as an empty message; no populated fields.
- if m == nil {
+ // Treat nil message interface or descriptor as an empty message; no populated
+ // fields.
+ if m == nil || xt == nil {
return false
}
// As a special-case, we reports invalid or mismatching descriptors
// as always not being populated (since they aren't).
- if xt == nil || m.ProtoReflect().Descriptor() != xt.TypeDescriptor().ContainingMessage() {
+ mr := m.ProtoReflect()
+ xd := xt.TypeDescriptor()
+ if mr.Descriptor() != xd.ContainingMessage() {
return false
}
- return m.ProtoReflect().Has(xt.TypeDescriptor())
+ return mr.Has(xd)
}
// ClearExtension clears an extension field such that subsequent
@@ -36,7 +39,7 @@ func ClearExtension(m Message, xt protoreflect.ExtensionType) {
// If the field is unpopulated, it returns the default value for
// scalars and an immutable, empty value for lists or messages.
// It panics if xt does not extend m.
-func GetExtension(m Message, xt protoreflect.ExtensionType) interface{} {
+func GetExtension(m Message, xt protoreflect.ExtensionType) any {
// Treat nil message interface as an empty message; return the default.
if m == nil {
return xt.InterfaceOf(xt.Zero())
@@ -48,7 +51,7 @@ func GetExtension(m Message, xt protoreflect.ExtensionType) interface{} {
// SetExtension stores the value of an extension field.
// It panics if m is invalid, xt does not extend m, or if type of v
// is invalid for the specified extension field.
-func SetExtension(m Message, xt protoreflect.ExtensionType, v interface{}) {
+func SetExtension(m Message, xt protoreflect.ExtensionType, v any) {
xd := xt.TypeDescriptor()
pv := xt.ValueOf(v)
@@ -75,7 +78,7 @@ func SetExtension(m Message, xt protoreflect.ExtensionType, v interface{}) {
// It returns immediately if f returns false.
// While iterating, mutating operations may only be performed
// on the current extension field.
-func RangeExtensions(m Message, f func(protoreflect.ExtensionType, interface{}) bool) {
+func RangeExtensions(m Message, f func(protoreflect.ExtensionType, any) bool) {
// Treat nil message interface as an empty message; nothing to range over.
if m == nil {
return
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/messageset.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/messageset.go
index 312d5d45c6..575d14831f 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/messageset.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/messageset.go
@@ -47,11 +47,16 @@ func (o MarshalOptions) marshalMessageSet(b []byte, m protoreflect.Message) ([]b
func (o MarshalOptions) marshalMessageSetField(b []byte, fd protoreflect.FieldDescriptor, value protoreflect.Value) ([]byte, error) {
b = messageset.AppendFieldStart(b, fd.Number())
b = protowire.AppendTag(b, messageset.FieldMessage, protowire.BytesType)
- b = protowire.AppendVarint(b, uint64(o.Size(value.Message().Interface())))
+ calculatedSize := o.Size(value.Message().Interface())
+ b = protowire.AppendVarint(b, uint64(calculatedSize))
+ before := len(b)
b, err := o.marshalMessage(b, value.Message())
if err != nil {
return b, err
}
+ if measuredSize := len(b) - before; calculatedSize != measuredSize {
+ return nil, errors.MismatchedSizeCalculation(calculatedSize, measuredSize)
+ }
b = messageset.AppendFieldEnd(b)
return b, nil
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/size.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/size.go
index f1692b49b6..052fb5ae31 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/size.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/proto/size.go
@@ -34,6 +34,7 @@ func (o MarshalOptions) size(m protoreflect.Message) (size int) {
if methods != nil && methods.Size != nil {
out := methods.Size(protoiface.SizeInput{
Message: m,
+ Flags: o.flags(),
})
return out.Size
}
@@ -42,6 +43,7 @@ func (o MarshalOptions) size(m protoreflect.Message) (size int) {
// This case is mainly used for legacy types with a Marshal method.
out, _ := methods.Marshal(protoiface.MarshalInput{
Message: m,
+ Flags: o.flags(),
})
return len(out.Buf)
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/protoadapt/convert.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/protoadapt/convert.go
new file mode 100644
index 0000000000..ea276d15a0
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/protoadapt/convert.go
@@ -0,0 +1,31 @@
+// Copyright 2023 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.
+
+// Package protoadapt bridges the original and new proto APIs.
+package protoadapt
+
+import (
+ "google.golang.org/protobuf/proto"
+ "google.golang.org/protobuf/runtime/protoiface"
+ "google.golang.org/protobuf/runtime/protoimpl"
+)
+
+// MessageV1 is the original [github.com/golang/protobuf/proto.Message] type.
+type MessageV1 = protoiface.MessageV1
+
+// MessageV2 is the [google.golang.org/protobuf/proto.Message] type used by the
+// current [google.golang.org/protobuf] module, adding support for reflection.
+type MessageV2 = proto.Message
+
+// MessageV1Of converts a v2 message to a v1 message.
+// It returns nil if m is nil.
+func MessageV1Of(m MessageV2) MessageV1 {
+ return protoimpl.X.ProtoMessageV1Of(m)
+}
+
+// MessageV2Of converts a v1 message to a v2 message.
+// It returns nil if m is nil.
+func MessageV2Of(m MessageV1) MessageV2 {
+ return protoimpl.X.ProtoMessageV2Of(m)
+}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go
index baa0cc6218..8fbecb4f58 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc.go
@@ -13,6 +13,7 @@
package protodesc
import (
+ "google.golang.org/protobuf/internal/editionssupport"
"google.golang.org/protobuf/internal/errors"
"google.golang.org/protobuf/internal/filedesc"
"google.golang.org/protobuf/internal/pragma"
@@ -91,15 +92,17 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot
switch fd.GetSyntax() {
case "proto2", "":
f.L1.Syntax = protoreflect.Proto2
+ f.L1.Edition = filedesc.EditionProto2
case "proto3":
f.L1.Syntax = protoreflect.Proto3
+ f.L1.Edition = filedesc.EditionProto3
case "editions":
f.L1.Syntax = protoreflect.Editions
f.L1.Edition = fromEditionProto(fd.GetEdition())
default:
return nil, errors.New("invalid syntax: %q", fd.GetSyntax())
}
- if f.L1.Syntax == protoreflect.Editions && (fd.GetEdition() < SupportedEditionsMinimum || fd.GetEdition() > SupportedEditionsMaximum) {
+ if f.L1.Syntax == protoreflect.Editions && (fd.GetEdition() < editionssupport.Minimum || fd.GetEdition() > editionssupport.Maximum) {
return nil, errors.New("use of edition %v not yet supported by the Go Protobuf runtime", fd.GetEdition())
}
f.L1.Path = fd.GetName()
@@ -114,9 +117,7 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot
opts = proto.Clone(opts).(*descriptorpb.FileOptions)
f.L2.Options = func() protoreflect.ProtoMessage { return opts }
}
- if f.L1.Syntax == protoreflect.Editions {
- initFileDescFromFeatureSet(f, fd.GetOptions().GetFeatures())
- }
+ initFileDescFromFeatureSet(f, fd.GetOptions().GetFeatures())
f.L2.Imports = make(filedesc.FileImports, len(fd.GetDependency()))
for _, i := range fd.GetPublicDependency() {
@@ -219,10 +220,10 @@ func (o FileOptions) New(fd *descriptorpb.FileDescriptorProto, r Resolver) (prot
if err := validateEnumDeclarations(f.L1.Enums.List, fd.GetEnumType()); err != nil {
return nil, err
}
- if err := validateMessageDeclarations(f.L1.Messages.List, fd.GetMessageType()); err != nil {
+ if err := validateMessageDeclarations(f, f.L1.Messages.List, fd.GetMessageType()); err != nil {
return nil, err
}
- if err := validateExtensionDeclarations(f.L1.Extensions.List, fd.GetExtension()); err != nil {
+ if err := validateExtensionDeclarations(f, f.L1.Extensions.List, fd.GetExtension()); err != nil {
return nil, err
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go
index b3278163c5..8561755427 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_init.go
@@ -69,9 +69,7 @@ func (r descsByName) initMessagesDeclarations(mds []*descriptorpb.DescriptorProt
if m.L0, err = r.makeBase(m, parent, md.GetName(), i, sb); err != nil {
return nil, err
}
- if m.Base.L0.ParentFile.Syntax() == protoreflect.Editions {
- m.L1.EditionFeatures = mergeEditionFeatures(parent, md.GetOptions().GetFeatures())
- }
+ m.L1.EditionFeatures = mergeEditionFeatures(parent, md.GetOptions().GetFeatures())
if opts := md.GetOptions(); opts != nil {
opts = proto.Clone(opts).(*descriptorpb.MessageOptions)
m.L2.Options = func() protoreflect.ProtoMessage { return opts }
@@ -146,13 +144,15 @@ func (r descsByName) initFieldsFromDescriptorProto(fds []*descriptorpb.FieldDesc
if f.L0, err = r.makeBase(f, parent, fd.GetName(), i, sb); err != nil {
return nil, err
}
+ f.L1.EditionFeatures = mergeEditionFeatures(parent, fd.GetOptions().GetFeatures())
f.L1.IsProto3Optional = fd.GetProto3Optional()
if opts := fd.GetOptions(); opts != nil {
opts = proto.Clone(opts).(*descriptorpb.FieldOptions)
f.L1.Options = func() protoreflect.ProtoMessage { return opts }
f.L1.IsWeak = opts.GetWeak()
- f.L1.HasPacked = opts.Packed != nil
- f.L1.IsPacked = opts.GetPacked()
+ if opts.Packed != nil {
+ f.L1.EditionFeatures.IsPacked = opts.GetPacked()
+ }
}
f.L1.Number = protoreflect.FieldNumber(fd.GetNumber())
f.L1.Cardinality = protoreflect.Cardinality(fd.GetLabel())
@@ -163,32 +163,12 @@ func (r descsByName) initFieldsFromDescriptorProto(fds []*descriptorpb.FieldDesc
f.L1.StringName.InitJSON(fd.GetJsonName())
}
- if f.Base.L0.ParentFile.Syntax() == protoreflect.Editions {
- f.L1.EditionFeatures = mergeEditionFeatures(parent, fd.GetOptions().GetFeatures())
+ if f.L1.EditionFeatures.IsLegacyRequired {
+ f.L1.Cardinality = protoreflect.Required
+ }
- if f.L1.EditionFeatures.IsLegacyRequired {
- f.L1.Cardinality = protoreflect.Required
- }
- // We reuse the existing field because the old option `[packed =
- // true]` is mutually exclusive with the editions feature.
- if canBePacked(fd) {
- f.L1.HasPacked = true
- f.L1.IsPacked = f.L1.EditionFeatures.IsPacked
- }
-
- // We pretend this option is always explicitly set because the only
- // use of HasEnforceUTF8 is to determine whether to use EnforceUTF8
- // or to return the appropriate default.
- // When using editions we either parse the option or resolve the
- // appropriate default here (instead of later when this option is
- // requested from the descriptor).
- // In proto2/proto3 syntax HasEnforceUTF8 might be false.
- f.L1.HasEnforceUTF8 = true
- f.L1.EnforceUTF8 = f.L1.EditionFeatures.IsUTF8Validated
-
- if f.L1.Kind == protoreflect.MessageKind && f.L1.EditionFeatures.IsDelimitedEncoded {
- f.L1.Kind = protoreflect.GroupKind
- }
+ if f.L1.Kind == protoreflect.MessageKind && f.L1.EditionFeatures.IsDelimitedEncoded {
+ f.L1.Kind = protoreflect.GroupKind
}
}
return fs, nil
@@ -201,12 +181,10 @@ func (r descsByName) initOneofsFromDescriptorProto(ods []*descriptorpb.OneofDesc
if o.L0, err = r.makeBase(o, parent, od.GetName(), i, sb); err != nil {
return nil, err
}
+ o.L1.EditionFeatures = mergeEditionFeatures(parent, od.GetOptions().GetFeatures())
if opts := od.GetOptions(); opts != nil {
opts = proto.Clone(opts).(*descriptorpb.OneofOptions)
o.L1.Options = func() protoreflect.ProtoMessage { return opts }
- if parent.Syntax() == protoreflect.Editions {
- o.L1.EditionFeatures = mergeEditionFeatures(parent, opts.GetFeatures())
- }
}
}
return os, nil
@@ -220,10 +198,13 @@ func (r descsByName) initExtensionDeclarations(xds []*descriptorpb.FieldDescript
if x.L0, err = r.makeBase(x, parent, xd.GetName(), i, sb); err != nil {
return nil, err
}
+ x.L1.EditionFeatures = mergeEditionFeatures(parent, xd.GetOptions().GetFeatures())
if opts := xd.GetOptions(); opts != nil {
opts = proto.Clone(opts).(*descriptorpb.FieldOptions)
x.L2.Options = func() protoreflect.ProtoMessage { return opts }
- x.L2.IsPacked = opts.GetPacked()
+ if opts.Packed != nil {
+ x.L1.EditionFeatures.IsPacked = opts.GetPacked()
+ }
}
x.L1.Number = protoreflect.FieldNumber(xd.GetNumber())
x.L1.Cardinality = protoreflect.Cardinality(xd.GetLabel())
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go
index 254ca58542..f3cebab29c 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_resolve.go
@@ -46,6 +46,11 @@ func (r *resolver) resolveMessageDependencies(ms []filedesc.Message, mds []*desc
if f.L1.Kind, f.L1.Enum, f.L1.Message, err = r.findTarget(f.Kind(), f.Parent().FullName(), partialName(fd.GetTypeName()), f.IsWeak()); err != nil {
return errors.New("message field %q cannot resolve type: %v", f.FullName(), err)
}
+ if f.L1.Kind == protoreflect.GroupKind && (f.IsMap() || f.IsMapEntry()) {
+ // A map field might inherit delimited encoding from a file-wide default feature.
+ // But maps never actually use delimited encoding. (At least for now...)
+ f.L1.Kind = protoreflect.MessageKind
+ }
if fd.DefaultValue != nil {
v, ev, err := unmarshalDefault(fd.GetDefaultValue(), f, r.allowUnresolvable)
if err != nil {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go
index e4dcaf876c..6de31c2ebd 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/desc_validate.go
@@ -45,11 +45,11 @@ func validateEnumDeclarations(es []filedesc.Enum, eds []*descriptorpb.EnumDescri
if allowAlias && !foundAlias {
return errors.New("enum %q allows aliases, but none were found", e.FullName())
}
- if e.Syntax() == protoreflect.Proto3 {
+ if !e.IsClosed() {
if v := e.Values().Get(0); v.Number() != 0 {
- return errors.New("enum %q using proto3 semantics must have zero number for the first value", v.FullName())
+ return errors.New("enum %q using open semantics must have zero number for the first value", v.FullName())
}
- // Verify that value names in proto3 do not conflict if the
+ // Verify that value names in open enums do not conflict if the
// case-insensitive prefix is removed.
// See protoc v3.8.0: src/google/protobuf/descriptor.cc:4991-5055
names := map[string]protoreflect.EnumValueDescriptor{}
@@ -58,7 +58,7 @@ func validateEnumDeclarations(es []filedesc.Enum, eds []*descriptorpb.EnumDescri
v1 := e.Values().Get(i)
s := strs.EnumValueName(strs.TrimEnumPrefix(string(v1.Name()), prefix))
if v2, ok := names[s]; ok && v1.Number() != v2.Number() {
- return errors.New("enum %q using proto3 semantics has conflict: %q with %q", e.FullName(), v1.Name(), v2.Name())
+ return errors.New("enum %q using open semantics has conflict: %q with %q", e.FullName(), v1.Name(), v2.Name())
}
names[s] = v1
}
@@ -80,7 +80,9 @@ func validateEnumDeclarations(es []filedesc.Enum, eds []*descriptorpb.EnumDescri
return nil
}
-func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.DescriptorProto) error {
+func validateMessageDeclarations(file *filedesc.File, ms []filedesc.Message, mds []*descriptorpb.DescriptorProto) error {
+ // There are a few limited exceptions only for proto3
+ isProto3 := file.L1.Edition == fromEditionProto(descriptorpb.Edition_EDITION_PROTO3)
for i, md := range mds {
m := &ms[i]
@@ -107,25 +109,13 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc
if isMessageSet && !flags.ProtoLegacy {
return errors.New("message %q is a MessageSet, which is a legacy proto1 feature that is no longer supported", m.FullName())
}
- if isMessageSet && (m.Syntax() == protoreflect.Proto3 || m.Fields().Len() > 0 || m.ExtensionRanges().Len() == 0) {
+ if isMessageSet && (isProto3 || m.Fields().Len() > 0 || m.ExtensionRanges().Len() == 0) {
return errors.New("message %q is an invalid proto1 MessageSet", m.FullName())
}
- if m.Syntax() == protoreflect.Proto3 {
+ if isProto3 {
if m.ExtensionRanges().Len() > 0 {
return errors.New("message %q using proto3 semantics cannot have extension ranges", m.FullName())
}
- // Verify that field names in proto3 do not conflict if lowercased
- // with all underscores removed.
- // See protoc v3.8.0: src/google/protobuf/descriptor.cc:5830-5847
- names := map[string]protoreflect.FieldDescriptor{}
- for i := 0; i < m.Fields().Len(); i++ {
- f1 := m.Fields().Get(i)
- s := strings.Replace(strings.ToLower(string(f1.Name())), "_", "", -1)
- if f2, ok := names[s]; ok {
- return errors.New("message %q using proto3 semantics has conflict: %q with %q", m.FullName(), f1.Name(), f2.Name())
- }
- names[s] = f1
- }
}
for j, fd := range md.GetField() {
@@ -149,7 +139,7 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc
return errors.New("message field %q may not have extendee: %q", f.FullName(), fd.GetExtendee())
}
if f.L1.IsProto3Optional {
- if f.Syntax() != protoreflect.Proto3 {
+ if !isProto3 {
return errors.New("message field %q under proto3 optional semantics must be specified in the proto3 syntax", f.FullName())
}
if f.Cardinality() != protoreflect.Optional {
@@ -162,26 +152,29 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc
if f.IsWeak() && !flags.ProtoLegacy {
return errors.New("message field %q is a weak field, which is a legacy proto1 feature that is no longer supported", f.FullName())
}
- if f.IsWeak() && (f.Syntax() != protoreflect.Proto2 || !isOptionalMessage(f) || f.ContainingOneof() != nil) {
+ if f.IsWeak() && (!f.HasPresence() || !isOptionalMessage(f) || f.ContainingOneof() != nil) {
return errors.New("message field %q may only be weak for an optional message", f.FullName())
}
if f.IsPacked() && !isPackable(f) {
return errors.New("message field %q is not packable", f.FullName())
}
- if err := checkValidGroup(f); err != nil {
+ if err := checkValidGroup(file, f); err != nil {
return errors.New("message field %q is an invalid group: %v", f.FullName(), err)
}
if err := checkValidMap(f); err != nil {
return errors.New("message field %q is an invalid map: %v", f.FullName(), err)
}
- if f.Syntax() == protoreflect.Proto3 {
+ if isProto3 {
if f.Cardinality() == protoreflect.Required {
return errors.New("message field %q using proto3 semantics cannot be required", f.FullName())
}
- if f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().Syntax() != protoreflect.Proto3 {
- return errors.New("message field %q using proto3 semantics may only depend on a proto3 enum", f.FullName())
+ if f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().IsClosed() {
+ return errors.New("message field %q using proto3 semantics may only depend on open enums", f.FullName())
}
}
+ if f.Cardinality() == protoreflect.Optional && !f.HasPresence() && f.Enum() != nil && !f.Enum().IsPlaceholder() && f.Enum().IsClosed() {
+ return errors.New("message field %q with implicit presence may only use open enums", f.FullName())
+ }
}
seenSynthetic := false // synthetic oneofs for proto3 optional must come after real oneofs
for j := range md.GetOneofDecl() {
@@ -215,17 +208,17 @@ func validateMessageDeclarations(ms []filedesc.Message, mds []*descriptorpb.Desc
if err := validateEnumDeclarations(m.L1.Enums.List, md.GetEnumType()); err != nil {
return err
}
- if err := validateMessageDeclarations(m.L1.Messages.List, md.GetNestedType()); err != nil {
+ if err := validateMessageDeclarations(file, m.L1.Messages.List, md.GetNestedType()); err != nil {
return err
}
- if err := validateExtensionDeclarations(m.L1.Extensions.List, md.GetExtension()); err != nil {
+ if err := validateExtensionDeclarations(file, m.L1.Extensions.List, md.GetExtension()); err != nil {
return err
}
}
return nil
}
-func validateExtensionDeclarations(xs []filedesc.Extension, xds []*descriptorpb.FieldDescriptorProto) error {
+func validateExtensionDeclarations(f *filedesc.File, xs []filedesc.Extension, xds []*descriptorpb.FieldDescriptorProto) error {
for i, xd := range xds {
x := &xs[i]
// NOTE: Avoid using the IsValid method since extensions to MessageSet
@@ -267,13 +260,13 @@ func validateExtensionDeclarations(xs []filedesc.Extension, xds []*descriptorpb.
if x.IsPacked() && !isPackable(x) {
return errors.New("extension field %q is not packable", x.FullName())
}
- if err := checkValidGroup(x); err != nil {
+ if err := checkValidGroup(f, x); err != nil {
return errors.New("extension field %q is an invalid group: %v", x.FullName(), err)
}
if md := x.Message(); md != nil && md.IsMapEntry() {
return errors.New("extension field %q cannot be a map entry", x.FullName())
}
- if x.Syntax() == protoreflect.Proto3 {
+ if f.L1.Edition == fromEditionProto(descriptorpb.Edition_EDITION_PROTO3) {
switch x.ContainingMessage().FullName() {
case (*descriptorpb.FileOptions)(nil).ProtoReflect().Descriptor().FullName():
case (*descriptorpb.EnumOptions)(nil).ProtoReflect().Descriptor().FullName():
@@ -309,21 +302,25 @@ func isPackable(fd protoreflect.FieldDescriptor) bool {
// checkValidGroup reports whether fd is a valid group according to the same
// rules that protoc imposes.
-func checkValidGroup(fd protoreflect.FieldDescriptor) error {
+func checkValidGroup(f *filedesc.File, fd protoreflect.FieldDescriptor) error {
md := fd.Message()
switch {
case fd.Kind() != protoreflect.GroupKind:
return nil
- case fd.Syntax() == protoreflect.Proto3:
+ case f.L1.Edition == fromEditionProto(descriptorpb.Edition_EDITION_PROTO3):
return errors.New("invalid under proto3 semantics")
case md == nil || md.IsPlaceholder():
return errors.New("message must be resolvable")
- case fd.FullName().Parent() != md.FullName().Parent():
- return errors.New("message and field must be declared in the same scope")
- case !unicode.IsUpper(rune(md.Name()[0])):
- return errors.New("message name must start with an uppercase")
- case fd.Name() != protoreflect.Name(strings.ToLower(string(md.Name()))):
- return errors.New("field name must be lowercased form of the message name")
+ }
+ if f.L1.Edition < fromEditionProto(descriptorpb.Edition_EDITION_2023) {
+ switch {
+ case fd.FullName().Parent() != md.FullName().Parent():
+ return errors.New("message and field must be declared in the same scope")
+ case !unicode.IsUpper(rune(md.Name()[0])):
+ return errors.New("message name must start with an uppercase")
+ case fd.Name() != protoreflect.Name(strings.ToLower(string(md.Name()))):
+ return errors.New("field name must be lowercased form of the message name")
+ }
}
return nil
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go
index 2a6b29d179..804830eda3 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/editions.go
@@ -17,11 +17,6 @@ import (
gofeaturespb "google.golang.org/protobuf/types/gofeaturespb"
)
-const (
- SupportedEditionsMinimum = descriptorpb.Edition_EDITION_PROTO2
- SupportedEditionsMaximum = descriptorpb.Edition_EDITION_2023
-)
-
var defaults = &descriptorpb.FeatureSetDefaults{}
var defaultsCacheMu sync.Mutex
var defaultsCache = make(map[filedesc.Edition]*descriptorpb.FeatureSet)
@@ -67,18 +62,20 @@ func getFeatureSetFor(ed filedesc.Edition) *descriptorpb.FeatureSet {
fmt.Fprintf(os.Stderr, "internal error: unsupported edition %v (did you forget to update the embedded defaults (i.e. the bootstrap descriptor proto)?)\n", edpb)
os.Exit(1)
}
- fs := defaults.GetDefaults()[0].GetFeatures()
+ fsed := defaults.GetDefaults()[0]
// Using a linear search for now.
// Editions are guaranteed to be sorted and thus we could use a binary search.
// Given that there are only a handful of editions (with one more per year)
// there is not much reason to use a binary search.
for _, def := range defaults.GetDefaults() {
if def.GetEdition() <= edpb {
- fs = def.GetFeatures()
+ fsed = def
} else {
break
}
}
+ fs := proto.Clone(fsed.GetFixedFeatures()).(*descriptorpb.FeatureSet)
+ proto.Merge(fs, fsed.GetOverridableFeatures())
defaultsCache[ed] = fs
return fs
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go
index 9d6e05420f..a5de8d4001 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protodesc/proto.go
@@ -73,6 +73,16 @@ func ToFileDescriptorProto(file protoreflect.FileDescriptor) *descriptorpb.FileD
if syntax := file.Syntax(); syntax != protoreflect.Proto2 && syntax.IsValid() {
p.Syntax = proto.String(file.Syntax().String())
}
+ if file.Syntax() == protoreflect.Editions {
+ desc := file
+ if fileImportDesc, ok := file.(protoreflect.FileImport); ok {
+ desc = fileImportDesc.FileDescriptor
+ }
+
+ if editionsInterface, ok := desc.(interface{ Edition() int32 }); ok {
+ p.Edition = descriptorpb.Edition(editionsInterface.Edition()).Enum()
+ }
+ }
return p
}
@@ -153,6 +163,18 @@ func ToFieldDescriptorProto(field protoreflect.FieldDescriptor) *descriptorpb.Fi
if field.Syntax() == protoreflect.Proto3 && field.HasOptionalKeyword() {
p.Proto3Optional = proto.Bool(true)
}
+ if field.Syntax() == protoreflect.Editions {
+ // Editions have no group keyword, this type is only set so that downstream users continue
+ // treating this as delimited encoding.
+ if p.GetType() == descriptorpb.FieldDescriptorProto_TYPE_GROUP {
+ p.Type = descriptorpb.FieldDescriptorProto_TYPE_MESSAGE.Enum()
+ }
+ // Editions have no required keyword, this label is only set so that downstream users continue
+ // treating it as required.
+ if p.GetLabel() == descriptorpb.FieldDescriptorProto_LABEL_REQUIRED {
+ p.Label = descriptorpb.FieldDescriptorProto_LABEL_OPTIONAL.Enum()
+ }
+ }
if field.HasDefault() {
def, err := defval.Marshal(field.Default(), field.DefaultEnumValue(), field.Kind(), defval.Descriptor)
if err != nil && field.DefaultEnumValue() != nil {
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go
index 00b01fbd8c..c85bfaa5bb 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/proto.go
@@ -161,7 +161,7 @@ const (
// IsValid reports whether the syntax is valid.
func (s Syntax) IsValid() bool {
switch s {
- case Proto2, Proto3:
+ case Proto2, Proto3, Editions:
return true
default:
return false
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go
index 7dcc2ff09e..ea154eec44 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go
@@ -373,6 +373,8 @@ func (p *SourcePath) appendFieldOptions(b []byte) []byte {
b = p.appendRepeatedField(b, "edition_defaults", (*SourcePath).appendFieldOptions_EditionDefault)
case 21:
b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
+ case 22:
+ b = p.appendSingularField(b, "feature_support", (*SourcePath).appendFieldOptions_FeatureSupport)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -483,6 +485,8 @@ func (p *SourcePath) appendEnumValueOptions(b []byte) []byte {
b = p.appendSingularField(b, "features", (*SourcePath).appendFeatureSet)
case 3:
b = p.appendSingularField(b, "debug_redact", nil)
+ case 4:
+ b = p.appendSingularField(b, "feature_support", (*SourcePath).appendFieldOptions_FeatureSupport)
case 999:
b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption)
}
@@ -519,6 +523,23 @@ func (p *SourcePath) appendFieldOptions_EditionDefault(b []byte) []byte {
return b
}
+func (p *SourcePath) appendFieldOptions_FeatureSupport(b []byte) []byte {
+ if len(*p) == 0 {
+ return b
+ }
+ switch (*p)[0] {
+ case 1:
+ b = p.appendSingularField(b, "edition_introduced", nil)
+ case 2:
+ b = p.appendSingularField(b, "edition_deprecated", nil)
+ case 3:
+ b = p.appendSingularField(b, "deprecation_warning", nil)
+ case 4:
+ b = p.appendSingularField(b, "edition_removed", nil)
+ }
+ return b
+}
+
func (p *SourcePath) appendUninterpretedOption_NamePart(b []byte) []byte {
if len(*p) == 0 {
return b
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go
index 60ff62b4c8..cd8fadbaf8 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/type.go
@@ -510,7 +510,7 @@ type ExtensionType interface {
//
// ValueOf is more extensive than protoreflect.ValueOf for a given field's
// value as it has more type information available.
- ValueOf(interface{}) Value
+ ValueOf(any) Value
// InterfaceOf completely unwraps the Value to the underlying Go type.
// InterfaceOf panics if the input is nil or does not represent the
@@ -519,13 +519,13 @@ type ExtensionType interface {
//
// InterfaceOf is able to unwrap the Value further than Value.Interface
// as it has more type information available.
- InterfaceOf(Value) interface{}
+ InterfaceOf(Value) any
// IsValidValue reports whether the Value is valid to assign to the field.
IsValidValue(Value) bool
// IsValidInterface reports whether the input is valid to assign to the field.
- IsValidInterface(interface{}) bool
+ IsValidInterface(any) bool
}
// EnumDescriptor describes an enum and
@@ -544,6 +544,12 @@ type EnumDescriptor interface {
// ReservedRanges is a list of reserved ranges of enum numbers.
ReservedRanges() EnumRanges
+ // IsClosed reports whether this enum uses closed semantics.
+ // See https://protobuf.dev/programming-guides/enum/#definitions.
+ // Note: the Go protobuf implementation is not spec compliant and treats
+ // all enums as open enums.
+ IsClosed() bool
+
isEnumDescriptor
}
type isEnumDescriptor interface{ ProtoType(EnumDescriptor) }
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go
index 7ced876f4e..75f83a2af0 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_pure.go
@@ -32,11 +32,11 @@ const (
type value struct {
pragma.DoNotCompare // 0B
- typ valueType // 8B
- num uint64 // 8B
- str string // 16B
- bin []byte // 24B
- iface interface{} // 16B
+ typ valueType // 8B
+ num uint64 // 8B
+ str string // 16B
+ bin []byte // 24B
+ iface any // 16B
}
func valueOfString(v string) Value {
@@ -45,7 +45,7 @@ func valueOfString(v string) Value {
func valueOfBytes(v []byte) Value {
return Value{typ: bytesType, bin: v}
}
-func valueOfIface(v interface{}) Value {
+func valueOfIface(v any) Value {
return Value{typ: ifaceType, iface: v}
}
@@ -55,6 +55,6 @@ func (v Value) getString() string {
func (v Value) getBytes() []byte {
return v.bin
}
-func (v Value) getIface() interface{} {
+func (v Value) getIface() any {
return v.iface
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go
index 1603097311..9fe83cef5a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_union.go
@@ -69,8 +69,8 @@ import (
// composite Value. Modifying an empty, read-only value panics.
type Value value
-// The protoreflect API uses a custom Value union type instead of interface{}
-// to keep the future open for performance optimizations. Using an interface{}
+// The protoreflect API uses a custom Value union type instead of any
+// to keep the future open for performance optimizations. Using an any
// always incurs an allocation for primitives (e.g., int64) since it needs to
// be boxed on the heap (as interfaces can only contain pointers natively).
// Instead, we represent the Value union as a flat struct that internally keeps
@@ -85,7 +85,7 @@ type Value value
// ValueOf returns a Value initialized with the concrete value stored in v.
// This panics if the type does not match one of the allowed types in the
// Value union.
-func ValueOf(v interface{}) Value {
+func ValueOf(v any) Value {
switch v := v.(type) {
case nil:
return Value{}
@@ -192,10 +192,10 @@ func (v Value) IsValid() bool {
return v.typ != nilType
}
-// Interface returns v as an interface{}.
+// Interface returns v as an any.
//
// Invariant: v == ValueOf(v).Interface()
-func (v Value) Interface() interface{} {
+func (v Value) Interface() any {
switch v.typ {
case nilType:
return nil
@@ -406,8 +406,8 @@ func (k MapKey) IsValid() bool {
return Value(k).IsValid()
}
-// Interface returns k as an interface{}.
-func (k MapKey) Interface() interface{} {
+// Interface returns k as an any.
+func (k MapKey) Interface() any {
return Value(k).Interface()
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go
index b1fdbe3e8e..7f3583ead8 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go120.go
@@ -45,7 +45,7 @@ var (
// typeOf returns a pointer to the Go type information.
// The pointer is comparable and equal if and only if the types are identical.
-func typeOf(t interface{}) unsafe.Pointer {
+func typeOf(t any) unsafe.Pointer {
return (*ifaceHeader)(unsafe.Pointer(&t)).Type
}
@@ -80,7 +80,7 @@ func valueOfBytes(v []byte) Value {
p := (*sliceHeader)(unsafe.Pointer(&v))
return Value{typ: bytesType, ptr: p.Data, num: uint64(len(v))}
}
-func valueOfIface(v interface{}) Value {
+func valueOfIface(v any) Value {
p := (*ifaceHeader)(unsafe.Pointer(&v))
return Value{typ: p.Type, ptr: p.Data}
}
@@ -93,7 +93,7 @@ func (v Value) getBytes() (x []byte) {
*(*sliceHeader)(unsafe.Pointer(&x)) = sliceHeader{Data: v.ptr, Len: int(v.num), Cap: int(v.num)}
return x
}
-func (v Value) getIface() (x interface{}) {
+func (v Value) getIface() (x any) {
*(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr}
return x
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go
index 4354701117..f7d386990a 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoreflect/value_unsafe_go121.go
@@ -15,7 +15,7 @@ import (
type (
ifaceHeader struct {
- _ [0]interface{} // if interfaces have greater alignment than unsafe.Pointer, this will enforce it.
+ _ [0]any // if interfaces have greater alignment than unsafe.Pointer, this will enforce it.
Type unsafe.Pointer
Data unsafe.Pointer
}
@@ -37,7 +37,7 @@ var (
// typeOf returns a pointer to the Go type information.
// The pointer is comparable and equal if and only if the types are identical.
-func typeOf(t interface{}) unsafe.Pointer {
+func typeOf(t any) unsafe.Pointer {
return (*ifaceHeader)(unsafe.Pointer(&t)).Type
}
@@ -70,7 +70,7 @@ func valueOfString(v string) Value {
func valueOfBytes(v []byte) Value {
return Value{typ: bytesType, ptr: unsafe.Pointer(unsafe.SliceData(v)), num: uint64(len(v))}
}
-func valueOfIface(v interface{}) Value {
+func valueOfIface(v any) Value {
p := (*ifaceHeader)(unsafe.Pointer(&v))
return Value{typ: p.Type, ptr: p.Data}
}
@@ -81,7 +81,7 @@ func (v Value) getString() string {
func (v Value) getBytes() []byte {
return unsafe.Slice((*byte)(v.ptr), v.num)
}
-func (v Value) getIface() (x interface{}) {
+func (v Value) getIface() (x any) {
*(*ifaceHeader)(unsafe.Pointer(&x)) = ifaceHeader{Type: v.typ, Data: v.ptr}
return x
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go
index 6267dc52a6..de17773391 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/reflect/protoregistry/registry.go
@@ -95,7 +95,7 @@ type Files struct {
// multiple files. Only top-level declarations are registered.
// Note that enum values are in the top-level since that are in the same
// scope as the parent enum.
- descsByName map[protoreflect.FullName]interface{}
+ descsByName map[protoreflect.FullName]any
filesByPath map[string][]protoreflect.FileDescriptor
numFiles int
}
@@ -117,7 +117,7 @@ func (r *Files) RegisterFile(file protoreflect.FileDescriptor) error {
defer globalMutex.Unlock()
}
if r.descsByName == nil {
- r.descsByName = map[protoreflect.FullName]interface{}{
+ r.descsByName = map[protoreflect.FullName]any{
"": &packageDescriptor{},
}
r.filesByPath = make(map[string][]protoreflect.FileDescriptor)
@@ -485,7 +485,7 @@ type Types struct {
}
type (
- typesByName map[protoreflect.FullName]interface{}
+ typesByName map[protoreflect.FullName]any
extensionsByMessage map[protoreflect.FullName]extensionsByNumber
extensionsByNumber map[protoreflect.FieldNumber]protoreflect.ExtensionType
)
@@ -570,7 +570,7 @@ func (r *Types) RegisterExtension(xt protoreflect.ExtensionType) error {
return nil
}
-func (r *Types) register(kind string, desc protoreflect.Descriptor, typ interface{}) error {
+func (r *Types) register(kind string, desc protoreflect.Descriptor, typ any) error {
name := desc.FullName()
prev := r.typesByName[name]
if prev != nil {
@@ -841,7 +841,7 @@ func (r *Types) RangeExtensionsByMessage(message protoreflect.FullName, f func(p
}
}
-func typeName(t interface{}) string {
+func typeName(t any) string {
switch t.(type) {
case protoreflect.EnumType:
return "enum"
@@ -854,7 +854,7 @@ func typeName(t interface{}) string {
}
}
-func amendErrorWithCaller(err error, prev, curr interface{}) error {
+func amendErrorWithCaller(err error, prev, curr any) error {
prevPkg := goPackage(prev)
currPkg := goPackage(curr)
if prevPkg == "" || currPkg == "" || prevPkg == currPkg {
@@ -863,7 +863,7 @@ func amendErrorWithCaller(err error, prev, curr interface{}) error {
return errors.New("%s\n\tpreviously from: %q\n\tcurrently from: %q", err, prevPkg, currPkg)
}
-func goPackage(v interface{}) string {
+func goPackage(v any) string {
switch d := v.(type) {
case protoreflect.EnumType:
v = d.Descriptor()
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go
index 78624cf60b..9403eb0750 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go
@@ -54,6 +54,9 @@ type Edition int32
const (
// A placeholder for an unknown edition value.
Edition_EDITION_UNKNOWN Edition = 0
+ // A placeholder edition for specifying default behaviors *before* a feature
+ // was first introduced. This is effectively an "infinite past".
+ Edition_EDITION_LEGACY Edition = 900
// Legacy syntax "editions". These pre-date editions, but behave much like
// distinct editions. These can't be used to specify the edition of proto
// files, but feature definitions must supply proto2/proto3 defaults for
@@ -82,6 +85,7 @@ const (
var (
Edition_name = map[int32]string{
0: "EDITION_UNKNOWN",
+ 900: "EDITION_LEGACY",
998: "EDITION_PROTO2",
999: "EDITION_PROTO3",
1000: "EDITION_2023",
@@ -95,6 +99,7 @@ var (
}
Edition_value = map[string]int32{
"EDITION_UNKNOWN": 0,
+ "EDITION_LEGACY": 900,
"EDITION_PROTO2": 998,
"EDITION_PROTO3": 999,
"EDITION_2023": 1000,
@@ -2177,12 +2182,16 @@ type FileOptions struct {
//
// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto.
JavaGenerateEqualsAndHash *bool `protobuf:"varint,20,opt,name=java_generate_equals_and_hash,json=javaGenerateEqualsAndHash" json:"java_generate_equals_and_hash,omitempty"`
- // If set true, then the Java2 code generator will generate code that
- // throws an exception whenever an attempt is made to assign a non-UTF-8
- // byte sequence to a string field.
- // Message reflection will do the same.
- // However, an extension field still accepts non-UTF-8 byte sequences.
- // This option has no effect on when used with the lite runtime.
+ // A proto2 file can set this to true to opt in to UTF-8 checking for Java,
+ // which will throw an exception if invalid UTF-8 is parsed from the wire or
+ // assigned to a string field.
+ //
+ // TODO: clarify exactly what kinds of field types this option
+ // applies to, and update these docs accordingly.
+ //
+ // Proto3 files already perform these checks. Setting the option explicitly to
+ // false has no effect: it cannot be used to opt proto3 files out of UTF-8
+ // checks.
JavaStringCheckUtf8 *bool `protobuf:"varint,27,opt,name=java_string_check_utf8,json=javaStringCheckUtf8,def=0" json:"java_string_check_utf8,omitempty"`
OptimizeFor *FileOptions_OptimizeMode `protobuf:"varint,9,opt,name=optimize_for,json=optimizeFor,enum=google.protobuf.FileOptions_OptimizeMode,def=1" json:"optimize_for,omitempty"`
// Sets the Go package where structs generated from this .proto will be
@@ -2679,7 +2688,8 @@ type FieldOptions struct {
Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"`
EditionDefaults []*FieldOptions_EditionDefault `protobuf:"bytes,20,rep,name=edition_defaults,json=editionDefaults" json:"edition_defaults,omitempty"`
// Any features defined in the specific edition.
- Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"`
+ Features *FeatureSet `protobuf:"bytes,21,opt,name=features" json:"features,omitempty"`
+ FeatureSupport *FieldOptions_FeatureSupport `protobuf:"bytes,22,opt,name=feature_support,json=featureSupport" json:"feature_support,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -2811,6 +2821,13 @@ func (x *FieldOptions) GetFeatures() *FeatureSet {
return nil
}
+func (x *FieldOptions) GetFeatureSupport() *FieldOptions_FeatureSupport {
+ if x != nil {
+ return x.FeatureSupport
+ }
+ return nil
+}
+
func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -2995,6 +3012,8 @@ type EnumValueOptions struct {
// out when using debug formats, e.g. when the field contains sensitive
// credentials.
DebugRedact *bool `protobuf:"varint,3,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"`
+ // Information about the support window of a feature value.
+ FeatureSupport *FieldOptions_FeatureSupport `protobuf:"bytes,4,opt,name=feature_support,json=featureSupport" json:"feature_support,omitempty"`
// The parser stores options it doesn't recognize here. See above.
UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"`
}
@@ -3058,6 +3077,13 @@ func (x *EnumValueOptions) GetDebugRedact() bool {
return Default_EnumValueOptions_DebugRedact
}
+func (x *EnumValueOptions) GetFeatureSupport() *FieldOptions_FeatureSupport {
+ if x != nil {
+ return x.FeatureSupport
+ }
+ return nil
+}
+
func (x *EnumValueOptions) GetUninterpretedOption() []*UninterpretedOption {
if x != nil {
return x.UninterpretedOption
@@ -3968,6 +3994,88 @@ func (x *FieldOptions_EditionDefault) GetValue() string {
return ""
}
+// Information about the support window of a feature.
+type FieldOptions_FeatureSupport struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The edition that this feature was first available in. In editions
+ // earlier than this one, the default assigned to EDITION_LEGACY will be
+ // used, and proto files will not be able to override it.
+ EditionIntroduced *Edition `protobuf:"varint,1,opt,name=edition_introduced,json=editionIntroduced,enum=google.protobuf.Edition" json:"edition_introduced,omitempty"`
+ // The edition this feature becomes deprecated in. Using this after this
+ // edition may trigger warnings.
+ EditionDeprecated *Edition `protobuf:"varint,2,opt,name=edition_deprecated,json=editionDeprecated,enum=google.protobuf.Edition" json:"edition_deprecated,omitempty"`
+ // The deprecation warning text if this feature is used after the edition it
+ // was marked deprecated in.
+ DeprecationWarning *string `protobuf:"bytes,3,opt,name=deprecation_warning,json=deprecationWarning" json:"deprecation_warning,omitempty"`
+ // The edition this feature is no longer available in. In editions after
+ // this one, the last default assigned will be used, and proto files will
+ // not be able to override it.
+ EditionRemoved *Edition `protobuf:"varint,4,opt,name=edition_removed,json=editionRemoved,enum=google.protobuf.Edition" json:"edition_removed,omitempty"`
+}
+
+func (x *FieldOptions_FeatureSupport) Reset() {
+ *x = FieldOptions_FeatureSupport{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[28]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *FieldOptions_FeatureSupport) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FieldOptions_FeatureSupport) ProtoMessage() {}
+
+func (x *FieldOptions_FeatureSupport) ProtoReflect() protoreflect.Message {
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[28]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use FieldOptions_FeatureSupport.ProtoReflect.Descriptor instead.
+func (*FieldOptions_FeatureSupport) Descriptor() ([]byte, []int) {
+ return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{12, 1}
+}
+
+func (x *FieldOptions_FeatureSupport) GetEditionIntroduced() Edition {
+ if x != nil && x.EditionIntroduced != nil {
+ return *x.EditionIntroduced
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
+func (x *FieldOptions_FeatureSupport) GetEditionDeprecated() Edition {
+ if x != nil && x.EditionDeprecated != nil {
+ return *x.EditionDeprecated
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
+func (x *FieldOptions_FeatureSupport) GetDeprecationWarning() string {
+ if x != nil && x.DeprecationWarning != nil {
+ return *x.DeprecationWarning
+ }
+ return ""
+}
+
+func (x *FieldOptions_FeatureSupport) GetEditionRemoved() Edition {
+ if x != nil && x.EditionRemoved != nil {
+ return *x.EditionRemoved
+ }
+ return Edition_EDITION_UNKNOWN
+}
+
// The name of the uninterpreted option. Each string represents a segment in
// a dot-separated name. is_extension is true iff a segment represents an
// extension (denoted with parentheses in options specs in .proto files).
@@ -3985,7 +4093,7 @@ type UninterpretedOption_NamePart struct {
func (x *UninterpretedOption_NamePart) Reset() {
*x = UninterpretedOption_NamePart{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[28]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -3998,7 +4106,7 @@ func (x *UninterpretedOption_NamePart) String() string {
func (*UninterpretedOption_NamePart) ProtoMessage() {}
func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[28]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4037,14 +4145,17 @@ type FeatureSetDefaults_FeatureSetEditionDefault struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
- Features *FeatureSet `protobuf:"bytes,2,opt,name=features" json:"features,omitempty"`
+ Edition *Edition `protobuf:"varint,3,opt,name=edition,enum=google.protobuf.Edition" json:"edition,omitempty"`
+ // Defaults of features that can be overridden in this edition.
+ OverridableFeatures *FeatureSet `protobuf:"bytes,4,opt,name=overridable_features,json=overridableFeatures" json:"overridable_features,omitempty"`
+ // Defaults of features that can't be overridden in this edition.
+ FixedFeatures *FeatureSet `protobuf:"bytes,5,opt,name=fixed_features,json=fixedFeatures" json:"fixed_features,omitempty"`
}
func (x *FeatureSetDefaults_FeatureSetEditionDefault) Reset() {
*x = FeatureSetDefaults_FeatureSetEditionDefault{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[29]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4057,7 +4168,7 @@ func (x *FeatureSetDefaults_FeatureSetEditionDefault) String() string {
func (*FeatureSetDefaults_FeatureSetEditionDefault) ProtoMessage() {}
func (x *FeatureSetDefaults_FeatureSetEditionDefault) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[29]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4080,9 +4191,16 @@ func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetEdition() Edition {
return Edition_EDITION_UNKNOWN
}
-func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFeatures() *FeatureSet {
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetOverridableFeatures() *FeatureSet {
if x != nil {
- return x.Features
+ return x.OverridableFeatures
+ }
+ return nil
+}
+
+func (x *FeatureSetDefaults_FeatureSetEditionDefault) GetFixedFeatures() *FeatureSet {
+ if x != nil {
+ return x.FixedFeatures
}
return nil
}
@@ -4188,7 +4306,7 @@ type SourceCodeInfo_Location struct {
func (x *SourceCodeInfo_Location) Reset() {
*x = SourceCodeInfo_Location{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[30]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4201,7 +4319,7 @@ func (x *SourceCodeInfo_Location) String() string {
func (*SourceCodeInfo_Location) ProtoMessage() {}
func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[30]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4275,7 +4393,7 @@ type GeneratedCodeInfo_Annotation struct {
func (x *GeneratedCodeInfo_Annotation) Reset() {
*x = GeneratedCodeInfo_Annotation{}
if protoimpl.UnsafeEnabled {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[31]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4288,7 +4406,7 @@ func (x *GeneratedCodeInfo_Annotation) String() string {
func (*GeneratedCodeInfo_Annotation) ProtoMessage() {}
func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message {
- mi := &file_google_protobuf_descriptor_proto_msgTypes[31]
+ mi := &file_google_protobuf_descriptor_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4597,7 +4715,7 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{
0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65,
0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c,
0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x69, 0x6e, 0x67, 0x22, 0x97, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69,
+ 0x69, 0x6e, 0x67, 0x22, 0xad, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b,
0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x50,
0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f,
@@ -4670,405 +4788,445 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{
0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49,
0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e,
0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80,
- 0x02, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xf4, 0x03,
- 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f,
- 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c,
- 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f,
- 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c,
- 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
- 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a,
- 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
- 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79,
- 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c,
- 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08,
- 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
- 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43,
- 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74,
- 0x75, 0x72, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61,
- 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
- 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
- 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
- 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07,
- 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05,
- 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04,
- 0x08, 0x09, 0x10, 0x0a, 0x22, 0xad, 0x0a, 0x0a, 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e,
- 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b,
- 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64,
- 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e,
- 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41,
- 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a,
- 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04,
- 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69,
- 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
- 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64,
- 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
- 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52,
- 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77,
- 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
- 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f,
- 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61,
- 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74,
- 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a,
- 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2e,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x07,
- 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a, 0x10, 0x65, 0x64, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52,
- 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73,
- 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x15, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52,
- 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69,
- 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74,
- 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13,
- 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x1a, 0x5a, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
- 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
- 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
- 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49,
- 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f, 0x52, 0x44, 0x10, 0x01, 0x12, 0x10,
- 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x49, 0x45, 0x43, 0x45, 0x10, 0x02,
- 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53,
- 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f,
- 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e,
- 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a, 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45,
- 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
- 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52,
- 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45,
- 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c,
- 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54,
- 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10,
- 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45,
- 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
- 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47,
- 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11,
- 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c,
- 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59,
- 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41,
- 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06,
- 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59, 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13,
- 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56,
- 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f,
- 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08,
- 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04,
- 0x08, 0x12, 0x10, 0x13, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
- 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
- 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58,
- 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
- 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
- 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80,
- 0x80, 0x80, 0x02, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69,
- 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41,
- 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
- 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52,
- 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64,
- 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79,
- 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
- 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52,
- 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63,
- 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69,
- 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
- 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14,
- 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e,
+ 0x02, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x52, 0x14, 0x70,
+ 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69,
+ 0x63, 0x65, 0x73, 0x22, 0xf4, 0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
+ 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61,
+ 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14,
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f,
+ 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64,
+ 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61,
+ 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
+ 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64,
+ 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
+ 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70,
+ 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61,
+ 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63,
+ 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e,
+ 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73,
+ 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72,
+ 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e,
+ 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37,
+ 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
+ 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
+ 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e,
0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80,
- 0x02, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x81, 0x02, 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a,
- 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
- 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0c,
- 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01,
+ 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04,
+ 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04,
+ 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x9d, 0x0d, 0x0a, 0x0c, 0x46,
+ 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
+ 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a,
+ 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16,
+ 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
+ 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53,
+ 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12,
+ 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66,
+ 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e,
+ 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20,
+ 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65,
+ 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
+ 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
+ 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a,
+ 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c,
+ 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01,
0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67,
- 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65,
+ 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
+ 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
+ 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13,
+ 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
+ 0x54, 0x79, 0x70, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x57, 0x0a,
+ 0x10, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
+ 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75,
+ 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12,
+ 0x55, 0x0a, 0x0f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f,
+ 0x72, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
+ 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
+ 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
+ 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65,
0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7,
0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69,
0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd5, 0x01, 0x0a, 0x0e,
- 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37,
- 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66,
- 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65,
- 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c,
- 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x58,
- 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f,
- 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
+ 0x1a, 0x5a, 0x0a, 0x0e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75,
+ 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x96, 0x02, 0x0a,
+ 0x0e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x12,
+ 0x47, 0x0a, 0x12, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x72, 0x6f,
+ 0x64, 0x75, 0x63, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e,
+ 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x12, 0x65, 0x64, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x11,
+ 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
+ 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x57, 0x61, 0x72, 0x6e, 0x69,
+ 0x6e, 0x67, 0x12, 0x41, 0x0a, 0x0f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65,
+ 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
+ 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x22, 0x2f, 0x0a, 0x05, 0x43, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a,
+ 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4f,
+ 0x52, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x50,
+ 0x49, 0x45, 0x43, 0x45, 0x10, 0x02, 0x22, 0x35, 0x0a, 0x06, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x00, 0x12,
+ 0x0d, 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x0d,
+ 0x0a, 0x09, 0x4a, 0x53, 0x5f, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x02, 0x22, 0x55, 0x0a,
+ 0x0f, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e,
+ 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e,
+ 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x54, 0x45, 0x4e,
+ 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x14,
+ 0x0a, 0x10, 0x52, 0x45, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x53, 0x4f, 0x55, 0x52,
+ 0x43, 0x45, 0x10, 0x02, 0x22, 0x8c, 0x02, 0x0a, 0x10, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54,
+ 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52,
+ 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
+ 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x54, 0x41, 0x52, 0x47,
+ 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f,
+ 0x4e, 0x5f, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x02, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52,
+ 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45,
+ 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x41, 0x52,
+ 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x4e, 0x45, 0x4f, 0x46, 0x10, 0x05,
+ 0x12, 0x14, 0x0a, 0x10, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
+ 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x06, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54,
+ 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x45, 0x4e, 0x54, 0x52, 0x59,
+ 0x10, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x54, 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x54,
+ 0x41, 0x52, 0x47, 0x45, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f,
+ 0x44, 0x10, 0x09, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04,
+ 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 0x22, 0xac, 0x01, 0x0a, 0x0c, 0x4f,
+ 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
- 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80,
- 0x80, 0x80, 0x02, 0x22, 0x99, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
- 0x74, 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65,
- 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x11,
- 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65,
- 0x6c, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65,
- 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f,
- 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10, 0x69,
- 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12,
- 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08,
- 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e,
- 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65,
- 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75,
- 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63,
- 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f,
- 0x54, 0x45, 0x4e, 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
- 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43,
- 0x54, 0x53, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45,
- 0x4e, 0x54, 0x10, 0x02, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22,
- 0x9a, 0x03, 0x0a, 0x13, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65,
- 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
- 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65,
- 0x50, 0x61, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64,
- 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72,
- 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61,
- 0x6c, 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x69, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x10, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75,
- 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75,
- 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56,
- 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65,
- 0x67, 0x61, 0x74, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65,
- 0x1a, 0x4a, 0x0a, 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09,
- 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
- 0x08, 0x6e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f,
- 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52,
- 0x0b, 0x69, 0x73, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x0a, 0x0a,
- 0x0a, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x8b, 0x01, 0x0a, 0x0e,
- 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65,
- 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42,
- 0x39, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45,
- 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x49,
- 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe7, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45,
- 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x18, 0xe8, 0x07, 0x52, 0x0d, 0x66, 0x69, 0x65, 0x6c,
- 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x09, 0x65, 0x6e, 0x75,
- 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67,
+ 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70,
+ 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
+ 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74,
+ 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09,
+ 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd1, 0x02, 0x0a, 0x0b, 0x45, 0x6e,
+ 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x6c,
+ 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
+ 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65,
+ 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05,
+ 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f,
+ 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c,
+ 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65,
+ 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64,
+ 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65,
+ 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65,
+ 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
+ 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8,
+ 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0xd8, 0x02,
+ 0x0a, 0x10, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
+ 0x65, 0x73, 0x12, 0x28, 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61,
+ 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52,
+ 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x55, 0x0a, 0x0f,
+ 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
+ 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70,
+ 0x6f, 0x72, 0x74, 0x52, 0x0e, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x75, 0x70, 0x70,
+ 0x6f, 0x72, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
+ 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
+ 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08,
+ 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xd5, 0x01, 0x0a, 0x0e, 0x53, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x66,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
+ 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
+ 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74,
+ 0x65, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52,
+ 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x58, 0x0a, 0x14, 0x75,
+ 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69,
+ 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f,
+ 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02,
+ 0x22, 0x99, 0x03, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64,
+ 0x18, 0x21, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64,
+ 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x71, 0x0a, 0x11, 0x69, 0x64, 0x65,
+ 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x22,
+ 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79,
+ 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e,
+ 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6d,
+ 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x37, 0x0a, 0x08,
+ 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72,
+ 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07,
+ 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72,
+ 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e,
+ 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22,
+ 0x50, 0x0a, 0x10, 0x49, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x4c, 0x65,
+ 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e,
+ 0x43, 0x59, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f,
+ 0x4e, 0x4f, 0x5f, 0x53, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x53, 0x10,
+ 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x44, 0x45, 0x4d, 0x50, 0x4f, 0x54, 0x45, 0x4e, 0x54, 0x10,
+ 0x02, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9a, 0x03, 0x0a,
+ 0x13, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74,
+ 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72,
+ 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x64, 0x65, 0x6e, 0x74,
+ 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x56, 0x61, 0x6c,
+ 0x75, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69,
+ 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10,
+ 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65,
+ 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x74,
+ 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6e, 0x65,
+ 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21,
+ 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75,
+ 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75,
+ 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56,
+ 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74,
+ 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61,
+ 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x4a, 0x0a,
+ 0x08, 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
+ 0x65, 0x5f, 0x70, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x61,
+ 0x6d, 0x65, 0x50, 0x61, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x65, 0x78, 0x74,
+ 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x02, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73,
+ 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x0a, 0x0a, 0x0a, 0x46, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x12, 0x91, 0x01, 0x0a, 0x0e, 0x66, 0x69, 0x65,
+ 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x46,
+ 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x3f, 0x88, 0x01,
+ 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x4c,
+ 0x49, 0x43, 0x49, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x49, 0x4d, 0x50, 0x4c,
+ 0x49, 0x43, 0x49, 0x54, 0x18, 0xe7, 0x07, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x4c,
+ 0x49, 0x43, 0x49, 0x54, 0x18, 0xe8, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0d, 0x66,
+ 0x69, 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x6c, 0x0a, 0x09,
+ 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x75,
+ 0x6d, 0x54, 0x79, 0x70, 0x65, 0x42, 0x29, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01,
+ 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01,
+ 0x09, 0x12, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07,
+ 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x98, 0x01, 0x0a, 0x17, 0x72,
+ 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x6e,
+ 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67,
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
- 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79,
- 0x70, 0x65, 0x42, 0x23, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0b,
- 0x12, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x09, 0x12, 0x04,
- 0x4f, 0x50, 0x45, 0x4e, 0x18, 0xe7, 0x07, 0x52, 0x08, 0x65, 0x6e, 0x75, 0x6d, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x92, 0x01, 0x0a, 0x17, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66,
- 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74,
- 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e,
- 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x27, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01,
- 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x18, 0xe6,
- 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x18, 0xe7, 0x07, 0x52,
- 0x15, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e,
- 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x78, 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x74, 0x66,
- 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x23, 0x88, 0x01, 0x01,
- 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x18,
- 0xe6, 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x18, 0xe7, 0x07,
- 0x52, 0x0e, 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x12, 0x78, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x65, 0x6e, 0x63, 0x6f,
- 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61,
- 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45,
- 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x20, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98,
- 0x01, 0x01, 0xa2, 0x01, 0x14, 0x12, 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x50, 0x52,
- 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x18, 0xe6, 0x07, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61,
- 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x7c, 0x0a, 0x0b, 0x6a, 0x73,
- 0x6f, 0x6e, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32,
- 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
- 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4a, 0x73, 0x6f,
- 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x33, 0x88, 0x01, 0x01, 0x98, 0x01, 0x03, 0x98,
- 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x17, 0x12, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59,
- 0x5f, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x18, 0xe6, 0x07, 0xa2,
- 0x01, 0x0a, 0x12, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x18, 0xe7, 0x07, 0x52, 0x0a, 0x6a, 0x73,
- 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5c, 0x0a, 0x0d, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x45,
- 0x4c, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
- 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x4c, 0x49, 0x43, 0x49,
- 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10,
- 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x55,
- 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x22, 0x37, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
- 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45,
- 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x02, 0x22,
- 0x56, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45, 0x50, 0x45,
- 0x41, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44,
- 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a,
- 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50,
- 0x41, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x43, 0x0a, 0x0e, 0x55, 0x74, 0x66, 0x38, 0x56,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55, 0x54, 0x46,
- 0x38, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b,
- 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59,
- 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x53, 0x0a, 0x0f,
- 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12,
- 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44,
- 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a,
- 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44,
- 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10,
- 0x02, 0x22, 0x48, 0x0a, 0x0a, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
- 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f, 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55,
- 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f,
- 0x57, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45,
- 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x10, 0x02, 0x2a, 0x06, 0x08, 0xe8, 0x07,
- 0x10, 0xe9, 0x07, 0x2a, 0x06, 0x08, 0xe9, 0x07, 0x10, 0xea, 0x07, 0x2a, 0x06, 0x08, 0xea, 0x07,
- 0x10, 0xeb, 0x07, 0x2a, 0x06, 0x08, 0x8b, 0x4e, 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0x90, 0x4e,
- 0x10, 0x91, 0x4e, 0x4a, 0x06, 0x08, 0xe7, 0x07, 0x10, 0xe8, 0x07, 0x22, 0xfe, 0x02, 0x0a, 0x12,
- 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c,
- 0x74, 0x73, 0x12, 0x58, 0x0a, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65,
- 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
- 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75,
- 0x6c, 0x74, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0f,
- 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x41, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x1a, 0x87, 0x01, 0x0a, 0x18, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65,
- 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12,
- 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
- 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
- 0x65, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xa7, 0x02, 0x0a,
- 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
- 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e,
- 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63,
- 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
- 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70,
- 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70,
- 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65,
- 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a,
- 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e,
- 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69,
- 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65,
- 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63,
- 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c,
- 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44, 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f,
- 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd0, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72,
- 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a,
- 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65,
- 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a,
- 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61,
- 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61,
- 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c,
- 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46,
- 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73,
- 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42,
+ 0x2d, 0x88, 0x01, 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x0d, 0x12, 0x08, 0x45,
+ 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x50,
+ 0x41, 0x43, 0x4b, 0x45, 0x44, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x15,
+ 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6e, 0x63,
+ 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x7e, 0x0a, 0x0f, 0x75, 0x74, 0x66, 0x38, 0x5f, 0x76, 0x61,
+ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a,
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
+ 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x55, 0x74, 0x66, 0x38,
+ 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x29, 0x88, 0x01, 0x01, 0x98,
+ 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x18, 0xe6,
+ 0x07, 0xa2, 0x01, 0x0b, 0x12, 0x06, 0x56, 0x45, 0x52, 0x49, 0x46, 0x59, 0x18, 0xe7, 0x07, 0xb2,
+ 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0e, 0x75, 0x74, 0x66, 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7e, 0x0a, 0x10, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
+ 0x5f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32,
+ 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73,
+ 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x26, 0x88, 0x01,
+ 0x01, 0x98, 0x01, 0x04, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x14, 0x12, 0x0f, 0x4c, 0x45, 0x4e, 0x47,
+ 0x54, 0x48, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x18, 0xe6, 0x07, 0xb2, 0x01,
+ 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x63,
+ 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66,
+ 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f,
+ 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x2e, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72,
+ 0x6d, 0x61, 0x74, 0x42, 0x39, 0x88, 0x01, 0x01, 0x98, 0x01, 0x03, 0x98, 0x01, 0x06, 0x98, 0x01,
+ 0x01, 0xa2, 0x01, 0x17, 0x12, 0x12, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53,
+ 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52, 0x54, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05,
+ 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x18, 0xe7, 0x07, 0xb2, 0x01, 0x03, 0x08, 0xe8, 0x07, 0x52, 0x0a,
+ 0x6a, 0x73, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5c, 0x0a, 0x0d, 0x46, 0x69,
+ 0x65, 0x6c, 0x64, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x46,
+ 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e,
+ 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x50, 0x4c, 0x49,
+ 0x43, 0x49, 0x54, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49,
+ 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x52, 0x45,
+ 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x03, 0x22, 0x37, 0x0a, 0x08, 0x45, 0x6e, 0x75, 0x6d,
+ 0x54, 0x79, 0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x4e, 0x55, 0x4d, 0x5f, 0x54, 0x59, 0x50,
+ 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4f,
+ 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10,
+ 0x02, 0x22, 0x56, 0x0a, 0x15, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x46, 0x69, 0x65,
+ 0x6c, 0x64, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x1f, 0x52, 0x45,
+ 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x5f, 0x46, 0x49, 0x45, 0x4c, 0x44, 0x5f, 0x45, 0x4e, 0x43,
+ 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12,
+ 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x45,
+ 0x58, 0x50, 0x41, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x02, 0x22, 0x49, 0x0a, 0x0e, 0x55, 0x74, 0x66,
+ 0x38, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x17, 0x55,
+ 0x54, 0x46, 0x38, 0x5f, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55,
+ 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x45, 0x52, 0x49,
+ 0x46, 0x59, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x03, 0x22, 0x04,
+ 0x08, 0x01, 0x10, 0x01, 0x22, 0x53, 0x0a, 0x0f, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x45,
+ 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1c, 0x0a, 0x18, 0x4d, 0x45, 0x53, 0x53, 0x41,
+ 0x47, 0x45, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x55, 0x4e, 0x4b, 0x4e,
+ 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x5f,
+ 0x50, 0x52, 0x45, 0x46, 0x49, 0x58, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x45,
+ 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x45, 0x44, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x0a, 0x4a, 0x73, 0x6f,
+ 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x17, 0x0a, 0x13, 0x4a, 0x53, 0x4f, 0x4e, 0x5f,
+ 0x46, 0x4f, 0x52, 0x4d, 0x41, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00,
+ 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c,
+ 0x45, 0x47, 0x41, 0x43, 0x59, 0x5f, 0x42, 0x45, 0x53, 0x54, 0x5f, 0x45, 0x46, 0x46, 0x4f, 0x52,
+ 0x54, 0x10, 0x02, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0x8b, 0x4e, 0x2a, 0x06, 0x08, 0x8b, 0x4e,
+ 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0x90, 0x4e, 0x10, 0x91, 0x4e, 0x4a, 0x06, 0x08, 0xe7, 0x07,
+ 0x10, 0xe8, 0x07, 0x22, 0xef, 0x03, 0x0a, 0x12, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53,
+ 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x08, 0x64, 0x65,
+ 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67,
+ 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
+ 0x73, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x08, 0x64, 0x65, 0x66, 0x61,
+ 0x75, 0x6c, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f,
+ 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
- 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66,
- 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d,
- 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22,
- 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e,
- 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09,
- 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, 0x10, 0x02, 0x2a, 0x92, 0x02, 0x0a, 0x07, 0x45, 0x64,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e,
- 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44,
- 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0xe6, 0x07, 0x12,
- 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f,
- 0x33, 0x10, 0xe7, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
- 0x32, 0x30, 0x32, 0x33, 0x10, 0xe8, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49,
- 0x4f, 0x4e, 0x5f, 0x32, 0x30, 0x32, 0x34, 0x10, 0xe9, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44,
- 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c,
- 0x59, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32,
- 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x17,
- 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x37, 0x5f, 0x54, 0x45,
- 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9d, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45,
- 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x38, 0x5f, 0x54, 0x45, 0x53,
- 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9e, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44,
- 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x39, 0x5f, 0x54, 0x45, 0x53, 0x54,
- 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9f, 0x8d, 0x06, 0x12, 0x13, 0x0a, 0x0b, 0x45, 0x44, 0x49,
- 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x42, 0x7e,
- 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f,
- 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64, 0x65, 0x73, 0x63,
- 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50,
- 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d,
+ 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x41, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d,
+ 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,
+ 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
+ 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x69,
+ 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xf8, 0x01, 0x0a, 0x18, 0x46,
+ 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x32, 0x0a, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x64, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x07, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4e, 0x0a, 0x14, 0x6f,
+ 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75,
+ 0x72, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x52, 0x13, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x61,
+ 0x62, 0x6c, 0x65, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x42, 0x0a, 0x0e, 0x66,
+ 0x69, 0x78, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x05, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74,
+ 0x52, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x4a,
+ 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x52, 0x08, 0x66, 0x65, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xa7, 0x02, 0x0a, 0x0e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
+ 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f,
+ 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75,
+ 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xce,
+ 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70,
+ 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70,
+ 0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28,
+ 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x73, 0x70, 0x61, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x6c,
+ 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f,
+ 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69,
+ 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x10, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
+ 0x6e, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x19, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x64,
+ 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
+ 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x17, 0x6c, 0x65, 0x61, 0x64, 0x69, 0x6e, 0x67, 0x44,
+ 0x65, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22,
+ 0xd0, 0x02, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64,
+ 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
+ 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65,
+ 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e,
+ 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xeb, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x05, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05,
+ 0x62, 0x65, 0x67, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x65, 0x67,
+ 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
+ 0x03, 0x65, 0x6e, 0x64, 0x12, 0x52, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
+ 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x52, 0x08,
+ 0x73, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x22, 0x28, 0x0a, 0x08, 0x53, 0x65, 0x6d, 0x61,
+ 0x6e, 0x74, 0x69, 0x63, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x07,
+ 0x0a, 0x03, 0x53, 0x45, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53,
+ 0x10, 0x02, 0x2a, 0xa7, 0x02, 0x0a, 0x07, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x13,
+ 0x0a, 0x0f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
+ 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c,
+ 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x84, 0x07, 0x12, 0x13, 0x0a, 0x0e, 0x45, 0x44, 0x49, 0x54,
+ 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0xe6, 0x07, 0x12, 0x13, 0x0a,
+ 0x0e, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10,
+ 0xe7, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x30,
+ 0x32, 0x33, 0x10, 0xe8, 0x07, 0x12, 0x11, 0x0a, 0x0c, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e,
+ 0x5f, 0x32, 0x30, 0x32, 0x34, 0x10, 0xe9, 0x07, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54,
+ 0x49, 0x4f, 0x4e, 0x5f, 0x31, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10,
+ 0x01, 0x12, 0x17, 0x0a, 0x13, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x32, 0x5f, 0x54,
+ 0x45, 0x53, 0x54, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44,
+ 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x37, 0x5f, 0x54, 0x45, 0x53, 0x54,
+ 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9d, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49,
+ 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x38, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f,
+ 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x9e, 0x8d, 0x06, 0x12, 0x1d, 0x0a, 0x17, 0x45, 0x44, 0x49, 0x54,
+ 0x49, 0x4f, 0x4e, 0x5f, 0x39, 0x39, 0x39, 0x39, 0x39, 0x5f, 0x54, 0x45, 0x53, 0x54, 0x5f, 0x4f,
+ 0x4e, 0x4c, 0x59, 0x10, 0x9f, 0x8d, 0x06, 0x12, 0x13, 0x0a, 0x0b, 0x45, 0x44, 0x49, 0x54, 0x49,
+ 0x4f, 0x4e, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x42, 0x7e, 0x0a, 0x13,
+ 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x42, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50,
+ 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x48, 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
+ 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+ 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69,
+ 0x70, 0x74, 0x6f, 0x72, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa,
+ 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
}
var (
@@ -5084,8 +5242,8 @@ func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 17)
-var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 32)
-var file_google_protobuf_descriptor_proto_goTypes = []interface{}{
+var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 33)
+var file_google_protobuf_descriptor_proto_goTypes = []any{
(Edition)(0), // 0: google.protobuf.Edition
(ExtensionRangeOptions_VerificationState)(0), // 1: google.protobuf.ExtensionRangeOptions.VerificationState
(FieldDescriptorProto_Type)(0), // 2: google.protobuf.FieldDescriptorProto.Type
@@ -5131,10 +5289,11 @@ var file_google_protobuf_descriptor_proto_goTypes = []interface{}{
(*ExtensionRangeOptions_Declaration)(nil), // 42: google.protobuf.ExtensionRangeOptions.Declaration
(*EnumDescriptorProto_EnumReservedRange)(nil), // 43: google.protobuf.EnumDescriptorProto.EnumReservedRange
(*FieldOptions_EditionDefault)(nil), // 44: google.protobuf.FieldOptions.EditionDefault
- (*UninterpretedOption_NamePart)(nil), // 45: google.protobuf.UninterpretedOption.NamePart
- (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 46: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
- (*SourceCodeInfo_Location)(nil), // 47: google.protobuf.SourceCodeInfo.Location
- (*GeneratedCodeInfo_Annotation)(nil), // 48: google.protobuf.GeneratedCodeInfo.Annotation
+ (*FieldOptions_FeatureSupport)(nil), // 45: google.protobuf.FieldOptions.FeatureSupport
+ (*UninterpretedOption_NamePart)(nil), // 46: google.protobuf.UninterpretedOption.NamePart
+ (*FeatureSetDefaults_FeatureSetEditionDefault)(nil), // 47: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ (*SourceCodeInfo_Location)(nil), // 48: google.protobuf.SourceCodeInfo.Location
+ (*GeneratedCodeInfo_Annotation)(nil), // 49: google.protobuf.GeneratedCodeInfo.Annotation
}
var file_google_protobuf_descriptor_proto_depIdxs = []int32{
18, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto
@@ -5179,40 +5338,46 @@ var file_google_protobuf_descriptor_proto_depIdxs = []int32{
8, // 39: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType
44, // 40: google.protobuf.FieldOptions.edition_defaults:type_name -> google.protobuf.FieldOptions.EditionDefault
36, // 41: google.protobuf.FieldOptions.features:type_name -> google.protobuf.FeatureSet
- 35, // 42: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 36, // 43: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet
- 35, // 44: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 36, // 45: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet
- 35, // 46: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 36, // 47: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet
- 35, // 48: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 36, // 49: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet
- 35, // 50: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 9, // 51: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel
- 36, // 52: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet
- 35, // 53: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
- 45, // 54: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart
- 10, // 55: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence
- 11, // 56: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType
- 12, // 57: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding
- 13, // 58: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation
- 14, // 59: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding
- 15, // 60: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat
- 46, // 61: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
- 0, // 62: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition
- 0, // 63: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition
- 47, // 64: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location
- 48, // 65: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation
- 20, // 66: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions
- 0, // 67: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition
- 0, // 68: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition
- 36, // 69: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features:type_name -> google.protobuf.FeatureSet
- 16, // 70: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic
- 71, // [71:71] is the sub-list for method output_type
- 71, // [71:71] is the sub-list for method input_type
- 71, // [71:71] is the sub-list for extension type_name
- 71, // [71:71] is the sub-list for extension extendee
- 0, // [0:71] is the sub-list for field type_name
+ 45, // 42: google.protobuf.FieldOptions.feature_support:type_name -> google.protobuf.FieldOptions.FeatureSupport
+ 35, // 43: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 44: google.protobuf.OneofOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 45: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 46: google.protobuf.EnumOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 47: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 48: google.protobuf.EnumValueOptions.features:type_name -> google.protobuf.FeatureSet
+ 45, // 49: google.protobuf.EnumValueOptions.feature_support:type_name -> google.protobuf.FieldOptions.FeatureSupport
+ 35, // 50: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 36, // 51: google.protobuf.ServiceOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 52: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 9, // 53: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel
+ 36, // 54: google.protobuf.MethodOptions.features:type_name -> google.protobuf.FeatureSet
+ 35, // 55: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption
+ 46, // 56: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart
+ 10, // 57: google.protobuf.FeatureSet.field_presence:type_name -> google.protobuf.FeatureSet.FieldPresence
+ 11, // 58: google.protobuf.FeatureSet.enum_type:type_name -> google.protobuf.FeatureSet.EnumType
+ 12, // 59: google.protobuf.FeatureSet.repeated_field_encoding:type_name -> google.protobuf.FeatureSet.RepeatedFieldEncoding
+ 13, // 60: google.protobuf.FeatureSet.utf8_validation:type_name -> google.protobuf.FeatureSet.Utf8Validation
+ 14, // 61: google.protobuf.FeatureSet.message_encoding:type_name -> google.protobuf.FeatureSet.MessageEncoding
+ 15, // 62: google.protobuf.FeatureSet.json_format:type_name -> google.protobuf.FeatureSet.JsonFormat
+ 47, // 63: google.protobuf.FeatureSetDefaults.defaults:type_name -> google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
+ 0, // 64: google.protobuf.FeatureSetDefaults.minimum_edition:type_name -> google.protobuf.Edition
+ 0, // 65: google.protobuf.FeatureSetDefaults.maximum_edition:type_name -> google.protobuf.Edition
+ 48, // 66: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location
+ 49, // 67: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation
+ 20, // 68: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions
+ 0, // 69: google.protobuf.FieldOptions.EditionDefault.edition:type_name -> google.protobuf.Edition
+ 0, // 70: google.protobuf.FieldOptions.FeatureSupport.edition_introduced:type_name -> google.protobuf.Edition
+ 0, // 71: google.protobuf.FieldOptions.FeatureSupport.edition_deprecated:type_name -> google.protobuf.Edition
+ 0, // 72: google.protobuf.FieldOptions.FeatureSupport.edition_removed:type_name -> google.protobuf.Edition
+ 0, // 73: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.edition:type_name -> google.protobuf.Edition
+ 36, // 74: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridable_features:type_name -> google.protobuf.FeatureSet
+ 36, // 75: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixed_features:type_name -> google.protobuf.FeatureSet
+ 16, // 76: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic
+ 77, // [77:77] is the sub-list for method output_type
+ 77, // [77:77] is the sub-list for method input_type
+ 77, // [77:77] is the sub-list for extension type_name
+ 77, // [77:77] is the sub-list for extension extendee
+ 0, // [0:77] is the sub-list for field type_name
}
func init() { file_google_protobuf_descriptor_proto_init() }
@@ -5221,7 +5386,7 @@ func file_google_protobuf_descriptor_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_descriptor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*FileDescriptorSet); i {
case 0:
return &v.state
@@ -5233,7 +5398,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*FileDescriptorProto); i {
case 0:
return &v.state
@@ -5245,7 +5410,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*DescriptorProto); i {
case 0:
return &v.state
@@ -5257,7 +5422,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*ExtensionRangeOptions); i {
case 0:
return &v.state
@@ -5271,7 +5436,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*FieldDescriptorProto); i {
case 0:
return &v.state
@@ -5283,7 +5448,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*OneofDescriptorProto); i {
case 0:
return &v.state
@@ -5295,7 +5460,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*EnumDescriptorProto); i {
case 0:
return &v.state
@@ -5307,7 +5472,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*EnumValueDescriptorProto); i {
case 0:
return &v.state
@@ -5319,7 +5484,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*ServiceDescriptorProto); i {
case 0:
return &v.state
@@ -5331,7 +5496,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*MethodDescriptorProto); i {
case 0:
return &v.state
@@ -5343,7 +5508,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*FileOptions); i {
case 0:
return &v.state
@@ -5357,7 +5522,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*MessageOptions); i {
case 0:
return &v.state
@@ -5371,7 +5536,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*FieldOptions); i {
case 0:
return &v.state
@@ -5385,7 +5550,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[13].Exporter = func(v any, i int) any {
switch v := v.(*OneofOptions); i {
case 0:
return &v.state
@@ -5399,7 +5564,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[14].Exporter = func(v any, i int) any {
switch v := v.(*EnumOptions); i {
case 0:
return &v.state
@@ -5413,7 +5578,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[15].Exporter = func(v any, i int) any {
switch v := v.(*EnumValueOptions); i {
case 0:
return &v.state
@@ -5427,7 +5592,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[16].Exporter = func(v any, i int) any {
switch v := v.(*ServiceOptions); i {
case 0:
return &v.state
@@ -5441,7 +5606,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[17].Exporter = func(v any, i int) any {
switch v := v.(*MethodOptions); i {
case 0:
return &v.state
@@ -5455,7 +5620,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[18].Exporter = func(v any, i int) any {
switch v := v.(*UninterpretedOption); i {
case 0:
return &v.state
@@ -5467,7 +5632,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[19].Exporter = func(v any, i int) any {
switch v := v.(*FeatureSet); i {
case 0:
return &v.state
@@ -5481,7 +5646,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[20].Exporter = func(v any, i int) any {
switch v := v.(*FeatureSetDefaults); i {
case 0:
return &v.state
@@ -5493,7 +5658,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[21].Exporter = func(v any, i int) any {
switch v := v.(*SourceCodeInfo); i {
case 0:
return &v.state
@@ -5505,7 +5670,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[22].Exporter = func(v any, i int) any {
switch v := v.(*GeneratedCodeInfo); i {
case 0:
return &v.state
@@ -5517,7 +5682,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v any, i int) any {
switch v := v.(*DescriptorProto_ExtensionRange); i {
case 0:
return &v.state
@@ -5529,7 +5694,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v any, i int) any {
switch v := v.(*DescriptorProto_ReservedRange); i {
case 0:
return &v.state
@@ -5541,7 +5706,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v any, i int) any {
switch v := v.(*ExtensionRangeOptions_Declaration); i {
case 0:
return &v.state
@@ -5553,7 +5718,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v any, i int) any {
switch v := v.(*EnumDescriptorProto_EnumReservedRange); i {
case 0:
return &v.state
@@ -5565,7 +5730,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v any, i int) any {
switch v := v.(*FieldOptions_EditionDefault); i {
case 0:
return &v.state
@@ -5577,7 +5742,19 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[28].Exporter = func(v any, i int) any {
+ switch v := v.(*FieldOptions_FeatureSupport); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_google_protobuf_descriptor_proto_msgTypes[29].Exporter = func(v any, i int) any {
switch v := v.(*UninterpretedOption_NamePart); i {
case 0:
return &v.state
@@ -5589,7 +5766,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[30].Exporter = func(v any, i int) any {
switch v := v.(*FeatureSetDefaults_FeatureSetEditionDefault); i {
case 0:
return &v.state
@@ -5601,7 +5778,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[31].Exporter = func(v any, i int) any {
switch v := v.(*SourceCodeInfo_Location); i {
case 0:
return &v.state
@@ -5613,7 +5790,7 @@ func file_google_protobuf_descriptor_proto_init() {
return nil
}
}
- file_google_protobuf_descriptor_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_descriptor_proto_msgTypes[32].Exporter = func(v any, i int) any {
switch v := v.(*GeneratedCodeInfo_Annotation); i {
case 0:
return &v.state
@@ -5632,7 +5809,7 @@ func file_google_protobuf_descriptor_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc,
NumEnums: 17,
- NumMessages: 32,
+ NumMessages: 33,
NumExtensions: 0,
NumServices: 0,
},
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go
index 39b024b46b..1ba1dfa5ad 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/dynamicpb/dynamic.go
@@ -294,7 +294,7 @@ func (m *Message) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value {
case fd.IsMap():
return protoreflect.ValueOfMap(&dynamicMap{
desc: fd,
- mapv: make(map[interface{}]protoreflect.Value),
+ mapv: make(map[any]protoreflect.Value),
})
case fd.IsList():
return protoreflect.ValueOfList(&dynamicList{desc: fd})
@@ -450,7 +450,7 @@ func (x *dynamicList) IsValid() bool {
type dynamicMap struct {
desc protoreflect.FieldDescriptor
- mapv map[interface{}]protoreflect.Value
+ mapv map[any]protoreflect.Value
}
func (x *dynamicMap) Get(k protoreflect.MapKey) protoreflect.Value { return x.mapv[k.Interface()] }
@@ -634,11 +634,11 @@ func newListEntry(fd protoreflect.FieldDescriptor) protoreflect.Value {
//
// The InterfaceOf and ValueOf methods of the extension type are defined as:
//
-// func (xt extensionType) ValueOf(iv interface{}) protoreflect.Value {
+// func (xt extensionType) ValueOf(iv any) protoreflect.Value {
// return protoreflect.ValueOf(iv)
// }
//
-// func (xt extensionType) InterfaceOf(v protoreflect.Value) interface{} {
+// func (xt extensionType) InterfaceOf(v protoreflect.Value) any {
// return v.Interface()
// }
//
@@ -658,7 +658,7 @@ func (xt extensionType) New() protoreflect.Value {
case xt.desc.IsMap():
return protoreflect.ValueOfMap(&dynamicMap{
desc: xt.desc,
- mapv: make(map[interface{}]protoreflect.Value),
+ mapv: make(map[any]protoreflect.Value),
})
case xt.desc.IsList():
return protoreflect.ValueOfList(&dynamicList{desc: xt.desc})
@@ -686,18 +686,18 @@ func (xt extensionType) TypeDescriptor() protoreflect.ExtensionTypeDescriptor {
return xt.desc
}
-func (xt extensionType) ValueOf(iv interface{}) protoreflect.Value {
+func (xt extensionType) ValueOf(iv any) protoreflect.Value {
v := protoreflect.ValueOf(iv)
typecheck(xt.desc, v)
return v
}
-func (xt extensionType) InterfaceOf(v protoreflect.Value) interface{} {
+func (xt extensionType) InterfaceOf(v protoreflect.Value) any {
typecheck(xt.desc, v)
return v.Interface()
}
-func (xt extensionType) IsValidInterface(iv interface{}) bool {
+func (xt extensionType) IsValidInterface(iv any) bool {
return typeIsValid(xt.desc, protoreflect.ValueOf(iv)) == nil
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go
index 25de5ae008..a2ca940c50 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go
@@ -6,9 +6,9 @@
// https://developers.google.com/open-source/licenses/bsd
// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: reflect/protodesc/proto/go_features.proto
+// source: google/protobuf/go_features.proto
-package proto
+package gofeaturespb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
@@ -30,7 +30,7 @@ type GoFeatures struct {
func (x *GoFeatures) Reset() {
*x = GoFeatures{}
if protoimpl.UnsafeEnabled {
- mi := &file_reflect_protodesc_proto_go_features_proto_msgTypes[0]
+ mi := &file_google_protobuf_go_features_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -43,7 +43,7 @@ func (x *GoFeatures) String() string {
func (*GoFeatures) ProtoMessage() {}
func (x *GoFeatures) ProtoReflect() protoreflect.Message {
- mi := &file_reflect_protodesc_proto_go_features_proto_msgTypes[0]
+ mi := &file_google_protobuf_go_features_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -56,7 +56,7 @@ func (x *GoFeatures) ProtoReflect() protoreflect.Message {
// Deprecated: Use GoFeatures.ProtoReflect.Descriptor instead.
func (*GoFeatures) Descriptor() ([]byte, []int) {
- return file_reflect_protodesc_proto_go_features_proto_rawDescGZIP(), []int{0}
+ return file_google_protobuf_go_features_proto_rawDescGZIP(), []int{0}
}
func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool {
@@ -66,69 +66,73 @@ func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool {
return false
}
-var file_reflect_protodesc_proto_go_features_proto_extTypes = []protoimpl.ExtensionInfo{
+var file_google_protobuf_go_features_proto_extTypes = []protoimpl.ExtensionInfo{
{
ExtendedType: (*descriptorpb.FeatureSet)(nil),
ExtensionType: (*GoFeatures)(nil),
Field: 1002,
- Name: "google.protobuf.go",
+ Name: "pb.go",
Tag: "bytes,1002,opt,name=go",
- Filename: "reflect/protodesc/proto/go_features.proto",
+ Filename: "google/protobuf/go_features.proto",
},
}
// Extension fields to descriptorpb.FeatureSet.
var (
- // optional google.protobuf.GoFeatures go = 1002;
- E_Go = &file_reflect_protodesc_proto_go_features_proto_extTypes[0]
+ // optional pb.GoFeatures go = 1002;
+ E_Go = &file_google_protobuf_go_features_proto_extTypes[0]
)
-var File_reflect_protodesc_proto_go_features_proto protoreflect.FileDescriptor
+var File_google_protobuf_go_features_proto protoreflect.FileDescriptor
-var file_reflect_protodesc_proto_go_features_proto_rawDesc = []byte{
- 0x0a, 0x29, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x64,
- 0x65, 0x73, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x5f, 0x66, 0x65, 0x61,
- 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x20, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65,
- 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6a,
- 0x0a, 0x0a, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x5c, 0x0a, 0x1a,
- 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c,
- 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x42, 0x1f, 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72, 0x75,
- 0x65, 0x18, 0xe6, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18, 0xe7,
- 0x07, 0x52, 0x17, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68,
- 0x61, 0x6c, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x49, 0x0a, 0x02, 0x67, 0x6f,
- 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
- 0x73, 0x52, 0x02, 0x67, 0x6f, 0x42, 0x34, 0x5a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
- 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x64, 0x65, 0x73, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
+var file_google_protobuf_go_features_proto_rawDesc = []byte{
+ 0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2f, 0x67, 0x6f, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72,
+ 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
+ 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
+ 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x01, 0x0a, 0x0a, 0x47, 0x6f,
+ 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0xbe, 0x01, 0x0a, 0x1a, 0x6c, 0x65, 0x67,
+ 0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x5f, 0x6a, 0x73,
+ 0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x80, 0x01,
+ 0x88, 0x01, 0x01, 0x98, 0x01, 0x06, 0x98, 0x01, 0x01, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72,
+ 0x75, 0x65, 0x18, 0x84, 0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18,
+ 0xe7, 0x07, 0xb2, 0x01, 0x5b, 0x08, 0xe8, 0x07, 0x10, 0xe8, 0x07, 0x1a, 0x53, 0x54, 0x68, 0x65,
+ 0x20, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x20, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61,
+ 0x6c, 0x4a, 0x53, 0x4f, 0x4e, 0x20, 0x41, 0x50, 0x49, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x70,
+ 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x69, 0x6c, 0x6c,
+ 0x20, 0x62, 0x65, 0x20, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x61,
+ 0x20, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x20, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
+ 0x52, 0x17, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61,
+ 0x6c, 0x4a, 0x73, 0x6f, 0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x3c, 0x0a, 0x02, 0x67, 0x6f, 0x12,
+ 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
+ 0x66, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75,
+ 0x72, 0x65, 0x73, 0x52, 0x02, 0x67, 0x6f, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
+ 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f,
+ 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x6f, 0x66, 0x65,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x70, 0x62,
}
var (
- file_reflect_protodesc_proto_go_features_proto_rawDescOnce sync.Once
- file_reflect_protodesc_proto_go_features_proto_rawDescData = file_reflect_protodesc_proto_go_features_proto_rawDesc
+ file_google_protobuf_go_features_proto_rawDescOnce sync.Once
+ file_google_protobuf_go_features_proto_rawDescData = file_google_protobuf_go_features_proto_rawDesc
)
-func file_reflect_protodesc_proto_go_features_proto_rawDescGZIP() []byte {
- file_reflect_protodesc_proto_go_features_proto_rawDescOnce.Do(func() {
- file_reflect_protodesc_proto_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_reflect_protodesc_proto_go_features_proto_rawDescData)
+func file_google_protobuf_go_features_proto_rawDescGZIP() []byte {
+ file_google_protobuf_go_features_proto_rawDescOnce.Do(func() {
+ file_google_protobuf_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_go_features_proto_rawDescData)
})
- return file_reflect_protodesc_proto_go_features_proto_rawDescData
+ return file_google_protobuf_go_features_proto_rawDescData
}
-var file_reflect_protodesc_proto_go_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_reflect_protodesc_proto_go_features_proto_goTypes = []interface{}{
- (*GoFeatures)(nil), // 0: google.protobuf.GoFeatures
+var file_google_protobuf_go_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
+var file_google_protobuf_go_features_proto_goTypes = []any{
+ (*GoFeatures)(nil), // 0: pb.GoFeatures
(*descriptorpb.FeatureSet)(nil), // 1: google.protobuf.FeatureSet
}
-var file_reflect_protodesc_proto_go_features_proto_depIdxs = []int32{
- 1, // 0: google.protobuf.go:extendee -> google.protobuf.FeatureSet
- 0, // 1: google.protobuf.go:type_name -> google.protobuf.GoFeatures
+var file_google_protobuf_go_features_proto_depIdxs = []int32{
+ 1, // 0: pb.go:extendee -> google.protobuf.FeatureSet
+ 0, // 1: pb.go:type_name -> pb.GoFeatures
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
1, // [1:2] is the sub-list for extension type_name
@@ -136,13 +140,13 @@ var file_reflect_protodesc_proto_go_features_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for field type_name
}
-func init() { file_reflect_protodesc_proto_go_features_proto_init() }
-func file_reflect_protodesc_proto_go_features_proto_init() {
- if File_reflect_protodesc_proto_go_features_proto != nil {
+func init() { file_google_protobuf_go_features_proto_init() }
+func file_google_protobuf_go_features_proto_init() {
+ if File_google_protobuf_go_features_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
- file_reflect_protodesc_proto_go_features_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_go_features_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*GoFeatures); i {
case 0:
return &v.state
@@ -159,19 +163,19 @@ func file_reflect_protodesc_proto_go_features_proto_init() {
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_reflect_protodesc_proto_go_features_proto_rawDesc,
+ RawDescriptor: file_google_protobuf_go_features_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 1,
NumServices: 0,
},
- GoTypes: file_reflect_protodesc_proto_go_features_proto_goTypes,
- DependencyIndexes: file_reflect_protodesc_proto_go_features_proto_depIdxs,
- MessageInfos: file_reflect_protodesc_proto_go_features_proto_msgTypes,
- ExtensionInfos: file_reflect_protodesc_proto_go_features_proto_extTypes,
+ GoTypes: file_google_protobuf_go_features_proto_goTypes,
+ DependencyIndexes: file_google_protobuf_go_features_proto_depIdxs,
+ MessageInfos: file_google_protobuf_go_features_proto_msgTypes,
+ ExtensionInfos: file_google_protobuf_go_features_proto_extTypes,
}.Build()
- File_reflect_protodesc_proto_go_features_proto = out.File
- file_reflect_protodesc_proto_go_features_proto_rawDesc = nil
- file_reflect_protodesc_proto_go_features_proto_goTypes = nil
- file_reflect_protodesc_proto_go_features_proto_depIdxs = nil
+ File_google_protobuf_go_features_proto = out.File
+ file_google_protobuf_go_features_proto_rawDesc = nil
+ file_google_protobuf_go_features_proto_goTypes = nil
+ file_google_protobuf_go_features_proto_depIdxs = nil
}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto
deleted file mode 100644
index d246571296..0000000000
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/gofeaturespb/go_features.proto
+++ /dev/null
@@ -1,28 +0,0 @@
-// Protocol Buffers - Google's data interchange format
-// Copyright 2023 Google Inc. All rights reserved.
-//
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file or at
-// https://developers.google.com/open-source/licenses/bsd
-
-syntax = "proto2";
-
-package google.protobuf;
-
-import "google/protobuf/descriptor.proto";
-
-option go_package = "google.golang.org/protobuf/types/gofeaturespb";
-
-extend google.protobuf.FeatureSet {
- optional GoFeatures go = 1002;
-}
-
-message GoFeatures {
- // Whether or not to generate the deprecated UnmarshalJSON method for enums.
- optional bool legacy_unmarshal_json_enum = 1 [
- retention = RETENTION_RUNTIME,
- targets = TARGET_TYPE_ENUM,
- edition_defaults = { edition: EDITION_PROTO2, value: "true" },
- edition_defaults = { edition: EDITION_PROTO3, value: "false" }
- ];
-}
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go
index 9de51be540..7172b43d38 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go
@@ -445,7 +445,7 @@ func file_google_protobuf_any_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_any_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_google_protobuf_any_proto_goTypes = []interface{}{
+var file_google_protobuf_any_proto_goTypes = []any{
(*Any)(nil), // 0: google.protobuf.Any
}
var file_google_protobuf_any_proto_depIdxs = []int32{
@@ -462,7 +462,7 @@ func file_google_protobuf_any_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_any_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_any_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Any); i {
case 0:
return &v.state
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go
index df709a8dd4..1b71bcd910 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/durationpb/duration.pb.go
@@ -323,7 +323,7 @@ func file_google_protobuf_duration_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_duration_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_google_protobuf_duration_proto_goTypes = []interface{}{
+var file_google_protobuf_duration_proto_goTypes = []any{
(*Duration)(nil), // 0: google.protobuf.Duration
}
var file_google_protobuf_duration_proto_depIdxs = []int32{
@@ -340,7 +340,7 @@ func file_google_protobuf_duration_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_duration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_duration_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Duration); i {
case 0:
return &v.state
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go
index 9a7277ba39..d87b4fb828 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/emptypb/empty.pb.go
@@ -115,7 +115,7 @@ func file_google_protobuf_empty_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_empty_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_google_protobuf_empty_proto_goTypes = []interface{}{
+var file_google_protobuf_empty_proto_goTypes = []any{
(*Empty)(nil), // 0: google.protobuf.Empty
}
var file_google_protobuf_empty_proto_depIdxs = []int32{
@@ -132,7 +132,7 @@ func file_google_protobuf_empty_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_empty_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_empty_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Empty); i {
case 0:
return &v.state
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go
index e8789cb331..ac1e91bb6d 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/fieldmaskpb/field_mask.pb.go
@@ -537,7 +537,7 @@ func file_google_protobuf_field_mask_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_field_mask_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_google_protobuf_field_mask_proto_goTypes = []interface{}{
+var file_google_protobuf_field_mask_proto_goTypes = []any{
(*FieldMask)(nil), // 0: google.protobuf.FieldMask
}
var file_google_protobuf_field_mask_proto_depIdxs = []int32{
@@ -554,7 +554,7 @@ func file_google_protobuf_field_mask_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_field_mask_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_field_mask_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*FieldMask); i {
case 0:
return &v.state
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go
index d2bac8b88e..d45361cbc7 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/structpb/struct.pb.go
@@ -49,11 +49,11 @@
// The standard Go "encoding/json" package has functionality to serialize
// arbitrary types to a large degree. The Value.AsInterface, Struct.AsMap, and
// ListValue.AsSlice methods can convert the protobuf message representation into
-// a form represented by interface{}, map[string]interface{}, and []interface{}.
+// a form represented by any, map[string]any, and []any.
// This form can be used with other packages that operate on such data structures
// and also directly with the standard json package.
//
-// In order to convert the interface{}, map[string]interface{}, and []interface{}
+// In order to convert the any, map[string]any, and []any
// forms back as Value, Struct, and ListValue messages, use the NewStruct,
// NewList, and NewValue constructor functions.
//
@@ -88,28 +88,28 @@
//
// To construct a Value message representing the above JSON object:
//
-// m, err := structpb.NewValue(map[string]interface{}{
+// m, err := structpb.NewValue(map[string]any{
// "firstName": "John",
// "lastName": "Smith",
// "isAlive": true,
// "age": 27,
-// "address": map[string]interface{}{
+// "address": map[string]any{
// "streetAddress": "21 2nd Street",
// "city": "New York",
// "state": "NY",
// "postalCode": "10021-3100",
// },
-// "phoneNumbers": []interface{}{
-// map[string]interface{}{
+// "phoneNumbers": []any{
+// map[string]any{
// "type": "home",
// "number": "212 555-1234",
// },
-// map[string]interface{}{
+// map[string]any{
// "type": "office",
// "number": "646 555-4567",
// },
// },
-// "children": []interface{}{},
+// "children": []any{},
// "spouse": nil,
// })
// if err != nil {
@@ -197,7 +197,7 @@ type Struct struct {
// NewStruct constructs a Struct from a general-purpose Go map.
// The map keys must be valid UTF-8.
// The map values are converted using NewValue.
-func NewStruct(v map[string]interface{}) (*Struct, error) {
+func NewStruct(v map[string]any) (*Struct, error) {
x := &Struct{Fields: make(map[string]*Value, len(v))}
for k, v := range v {
if !utf8.ValidString(k) {
@@ -214,9 +214,9 @@ func NewStruct(v map[string]interface{}) (*Struct, error) {
// AsMap converts x to a general-purpose Go map.
// The map values are converted by calling Value.AsInterface.
-func (x *Struct) AsMap() map[string]interface{} {
+func (x *Struct) AsMap() map[string]any {
f := x.GetFields()
- vs := make(map[string]interface{}, len(f))
+ vs := make(map[string]any, len(f))
for k, v := range f {
vs[k] = v.AsInterface()
}
@@ -306,13 +306,13 @@ type Value struct {
// ║ float32, float64 │ stored as NumberValue ║
// ║ string │ stored as StringValue; must be valid UTF-8 ║
// ║ []byte │ stored as StringValue; base64-encoded ║
-// ║ map[string]interface{} │ stored as StructValue ║
-// ║ []interface{} │ stored as ListValue ║
+// ║ map[string]any │ stored as StructValue ║
+// ║ []any │ stored as ListValue ║
// ╚════════════════════════╧════════════════════════════════════════════╝
//
// When converting an int64 or uint64 to a NumberValue, numeric precision loss
// is possible since they are stored as a float64.
-func NewValue(v interface{}) (*Value, error) {
+func NewValue(v any) (*Value, error) {
switch v := v.(type) {
case nil:
return NewNullValue(), nil
@@ -342,13 +342,13 @@ func NewValue(v interface{}) (*Value, error) {
case []byte:
s := base64.StdEncoding.EncodeToString(v)
return NewStringValue(s), nil
- case map[string]interface{}:
+ case map[string]any:
v2, err := NewStruct(v)
if err != nil {
return nil, err
}
return NewStructValue(v2), nil
- case []interface{}:
+ case []any:
v2, err := NewList(v)
if err != nil {
return nil, err
@@ -396,7 +396,7 @@ func NewListValue(v *ListValue) *Value {
//
// Floating-point values (i.e., "NaN", "Infinity", and "-Infinity") are
// converted as strings to remain compatible with MarshalJSON.
-func (x *Value) AsInterface() interface{} {
+func (x *Value) AsInterface() any {
switch v := x.GetKind().(type) {
case *Value_NumberValue:
if v != nil {
@@ -580,7 +580,7 @@ type ListValue struct {
// NewList constructs a ListValue from a general-purpose Go slice.
// The slice elements are converted using NewValue.
-func NewList(v []interface{}) (*ListValue, error) {
+func NewList(v []any) (*ListValue, error) {
x := &ListValue{Values: make([]*Value, len(v))}
for i, v := range v {
var err error
@@ -594,9 +594,9 @@ func NewList(v []interface{}) (*ListValue, error) {
// AsSlice converts x to a general-purpose Go slice.
// The slice elements are converted by calling Value.AsInterface.
-func (x *ListValue) AsSlice() []interface{} {
+func (x *ListValue) AsSlice() []any {
vals := x.GetValues()
- vs := make([]interface{}, len(vals))
+ vs := make([]any, len(vals))
for i, v := range vals {
vs[i] = v.AsInterface()
}
@@ -716,7 +716,7 @@ func file_google_protobuf_struct_proto_rawDescGZIP() []byte {
var file_google_protobuf_struct_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_protobuf_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
-var file_google_protobuf_struct_proto_goTypes = []interface{}{
+var file_google_protobuf_struct_proto_goTypes = []any{
(NullValue)(0), // 0: google.protobuf.NullValue
(*Struct)(nil), // 1: google.protobuf.Struct
(*Value)(nil), // 2: google.protobuf.Value
@@ -743,7 +743,7 @@ func file_google_protobuf_struct_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_struct_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_struct_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Struct); i {
case 0:
return &v.state
@@ -755,7 +755,7 @@ func file_google_protobuf_struct_proto_init() {
return nil
}
}
- file_google_protobuf_struct_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_struct_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*Value); i {
case 0:
return &v.state
@@ -767,7 +767,7 @@ func file_google_protobuf_struct_proto_init() {
return nil
}
}
- file_google_protobuf_struct_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_struct_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListValue); i {
case 0:
return &v.state
@@ -780,7 +780,7 @@ func file_google_protobuf_struct_proto_init() {
}
}
}
- file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []interface{}{
+ file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []any{
(*Value_NullValue)(nil),
(*Value_NumberValue)(nil),
(*Value_StringValue)(nil),
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go
index 81511a3363..83a5a645b0 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go
@@ -332,7 +332,7 @@ func file_google_protobuf_timestamp_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_timestamp_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
-var file_google_protobuf_timestamp_proto_goTypes = []interface{}{
+var file_google_protobuf_timestamp_proto_goTypes = []any{
(*Timestamp)(nil), // 0: google.protobuf.Timestamp
}
var file_google_protobuf_timestamp_proto_depIdxs = []int32{
@@ -349,7 +349,7 @@ func file_google_protobuf_timestamp_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_timestamp_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_timestamp_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Timestamp); i {
case 0:
return &v.state
diff --git a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go
index 762a87130f..e473f826aa 100644
--- a/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go
+++ b/cluster-api/providers/azure/vendor/google.golang.org/protobuf/types/known/wrapperspb/wrappers.pb.go
@@ -605,7 +605,7 @@ func file_google_protobuf_wrappers_proto_rawDescGZIP() []byte {
}
var file_google_protobuf_wrappers_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
-var file_google_protobuf_wrappers_proto_goTypes = []interface{}{
+var file_google_protobuf_wrappers_proto_goTypes = []any{
(*DoubleValue)(nil), // 0: google.protobuf.DoubleValue
(*FloatValue)(nil), // 1: google.protobuf.FloatValue
(*Int64Value)(nil), // 2: google.protobuf.Int64Value
@@ -630,7 +630,7 @@ func file_google_protobuf_wrappers_proto_init() {
return
}
if !protoimpl.UnsafeEnabled {
- file_google_protobuf_wrappers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*DoubleValue); i {
case 0:
return &v.state
@@ -642,7 +642,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*FloatValue); i {
case 0:
return &v.state
@@ -654,7 +654,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*Int64Value); i {
case 0:
return &v.state
@@ -666,7 +666,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*UInt64Value); i {
case 0:
return &v.state
@@ -678,7 +678,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*Int32Value); i {
case 0:
return &v.state
@@ -690,7 +690,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*UInt32Value); i {
case 0:
return &v.state
@@ -702,7 +702,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*BoolValue); i {
case 0:
return &v.state
@@ -714,7 +714,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*StringValue); i {
case 0:
return &v.state
@@ -726,7 +726,7 @@ func file_google_protobuf_wrappers_proto_init() {
return nil
}
}
- file_google_protobuf_wrappers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ file_google_protobuf_wrappers_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*BytesValue); i {
case 0:
return &v.state
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1/generated.pb.go
index a2d8ff5dde..f5c4179198 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/admission/v1/generated.proto
+// source: k8s.io/api/admission/v1/generated.proto
package v1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AdmissionRequest) Reset() { *m = AdmissionRequest{} }
func (*AdmissionRequest) ProtoMessage() {}
func (*AdmissionRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_4b73421fd5edef9f, []int{0}
+ return fileDescriptor_7b47d27831186ccf, []int{0}
}
func (m *AdmissionRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_AdmissionRequest proto.InternalMessageInfo
func (m *AdmissionResponse) Reset() { *m = AdmissionResponse{} }
func (*AdmissionResponse) ProtoMessage() {}
func (*AdmissionResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_4b73421fd5edef9f, []int{1}
+ return fileDescriptor_7b47d27831186ccf, []int{1}
}
func (m *AdmissionResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_AdmissionResponse proto.InternalMessageInfo
func (m *AdmissionReview) Reset() { *m = AdmissionReview{} }
func (*AdmissionReview) ProtoMessage() {}
func (*AdmissionReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_4b73421fd5edef9f, []int{2}
+ return fileDescriptor_7b47d27831186ccf, []int{2}
}
func (m *AdmissionReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -139,69 +139,68 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/admission/v1/generated.proto", fileDescriptor_4b73421fd5edef9f)
+ proto.RegisterFile("k8s.io/api/admission/v1/generated.proto", fileDescriptor_7b47d27831186ccf)
}
-var fileDescriptor_4b73421fd5edef9f = []byte{
- // 921 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_7b47d27831186ccf = []byte{
+ // 907 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
- 0x14, 0xf7, 0xd6, 0x8e, 0xed, 0x1d, 0x87, 0xda, 0x9d, 0x82, 0xba, 0xf2, 0x61, 0x6d, 0x72, 0x40,
- 0x2e, 0x6a, 0x77, 0x49, 0x04, 0x55, 0x54, 0x81, 0xd4, 0x2c, 0xa9, 0x50, 0x40, 0x6a, 0xa2, 0x69,
- 0x03, 0x15, 0x07, 0xa4, 0xb1, 0x3d, 0xb5, 0x07, 0xdb, 0x33, 0xcb, 0xce, 0xac, 0x83, 0x6f, 0x9c,
- 0x38, 0xf3, 0x0d, 0x38, 0x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 0xea, 0x11, 0xbe, 0x0b, 0x36, 0x66, 0x78, 0x12, 0x13, 0x3d, 0x33, 0x1b, 0x25, 0xc6, 0xe3,
+ 0x5b, 0xbb, 0xd6, 0xd6, 0x9f, 0x16, 0x68, 0x16, 0xfe, 0x8d, 0x19, 0x25, 0xa7, 0xf0, 0x08, 0xd4,
+ 0xcc, 0xbd, 0xd1, 0x1c, 0x8d, 0x9d, 0xfb, 0xd7, 0x51, 0x40, 0x03, 0x82, 0x86, 0x7a, 0x15, 0xd2,
+ 0x3b, 0x98, 0xd2, 0xa8, 0xd3, 0x10, 0x19, 0x89, 0xcc, 0xc7, 0xed, 0xa3, 0xeb, 0x8b, 0x9a, 0x08,
+ 0x90, 0x5a, 0x28, 0x63, 0x0a, 0x3e, 0x3f, 0x3b, 0x77, 0x4b, 0xaf, 0xce, 0xdd, 0xd2, 0xeb, 0x73,
+ 0xb7, 0xf4, 0xcb, 0xd2, 0xb5, 0xce, 0x96, 0xae, 0xf5, 0x6a, 0xe9, 0x5a, 0xaf, 0x97, 0xae, 0xf5,
+ 0xd7, 0xd2, 0xb5, 0x7e, 0xfb, 0xdb, 0x2d, 0x7d, 0x7f, 0x6f, 0xcd, 0x6f, 0x9d, 0x7f, 0x02, 0x00,
+ 0x00, 0xff, 0xff, 0x5c, 0x49, 0x23, 0x22, 0x05, 0x09, 0x00, 0x00,
}
func (m *AdmissionRequest) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1beta1/generated.pb.go
index c883918142..22147cbe94 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admission/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/admission/v1beta1/generated.proto
+// source: k8s.io/api/admission/v1beta1/generated.proto
package v1beta1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AdmissionRequest) Reset() { *m = AdmissionRequest{} }
func (*AdmissionRequest) ProtoMessage() {}
func (*AdmissionRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_b87c2352de86eab9, []int{0}
+ return fileDescriptor_d8f147b43c61e73e, []int{0}
}
func (m *AdmissionRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_AdmissionRequest proto.InternalMessageInfo
func (m *AdmissionResponse) Reset() { *m = AdmissionResponse{} }
func (*AdmissionResponse) ProtoMessage() {}
func (*AdmissionResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_b87c2352de86eab9, []int{1}
+ return fileDescriptor_d8f147b43c61e73e, []int{1}
}
func (m *AdmissionResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_AdmissionResponse proto.InternalMessageInfo
func (m *AdmissionReview) Reset() { *m = AdmissionReview{} }
func (*AdmissionReview) ProtoMessage() {}
func (*AdmissionReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_b87c2352de86eab9, []int{2}
+ return fileDescriptor_d8f147b43c61e73e, []int{2}
}
func (m *AdmissionReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -139,69 +139,68 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/admission/v1beta1/generated.proto", fileDescriptor_b87c2352de86eab9)
+ proto.RegisterFile("k8s.io/api/admission/v1beta1/generated.proto", fileDescriptor_d8f147b43c61e73e)
}
-var fileDescriptor_b87c2352de86eab9 = []byte{
- // 928 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xcb, 0x6e, 0xdb, 0x46,
- 0x17, 0x16, 0x23, 0x59, 0x12, 0x47, 0xfe, 0x23, 0x65, 0xf2, 0x17, 0x20, 0x84, 0x80, 0x52, 0xbd,
- 0x28, 0x54, 0x20, 0x19, 0xd6, 0x46, 0x1b, 0x18, 0x41, 0x37, 0x66, 0x6d, 0x14, 0x6e, 0x81, 0xd8,
- 0x98, 0x44, 0x6d, 0xda, 0x45, 0x81, 0x91, 0x34, 0x91, 0x58, 0x49, 0x33, 0x2c, 0x67, 0x28, 0x57,
- 0xbb, 0xee, 0xbb, 0xe9, 0x1b, 0xf4, 0x05, 0xfa, 0x16, 0xdd, 0x78, 0x99, 0x65, 0x56, 0x42, 0xad,
- 0xbe, 0x85, 0x57, 0xc5, 0x0c, 0x87, 0x97, 0xc8, 0x76, 0x9a, 0x4b, 0x57, 0xe6, 0xb9, 0x7c, 0xdf,
- 0x39, 0xfe, 0x0e, 0xcf, 0xa1, 0xc0, 0xd1, 0x74, 0x5f, 0xa0, 0x80, 0x7b, 0xd3, 0x78, 0x40, 0x23,
- 0x46, 0x25, 0x15, 0xde, 0x82, 0xb2, 0x11, 0x8f, 0x3c, 0x13, 0x20, 0x61, 0xe0, 0x91, 0xd1, 0x3c,
- 0x10, 0x22, 0xe0, 0xcc, 0x5b, 0xec, 0x0e, 0xa8, 0x24, 0xbb, 0xde, 0x98, 0x32, 0x1a, 0x11, 0x49,
- 0x47, 0x28, 0x8c, 0xb8, 0xe4, 0xf0, 0x5e, 0x92, 0x8d, 0x48, 0x18, 0xa0, 0x2c, 0x1b, 0x99, 0xec,
- 0xf6, 0x83, 0x71, 0x20, 0x27, 0xf1, 0x00, 0x0d, 0xf9, 0xdc, 0x1b, 0xf3, 0x31, 0xf7, 0x34, 0x68,
- 0x10, 0x3f, 0xd7, 0x96, 0x36, 0xf4, 0x53, 0x42, 0xd6, 0xbe, 0x5f, 0x2c, 0x1d, 0xcb, 0x09, 0x65,
- 0x32, 0x18, 0x12, 0x99, 0xd4, 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x00, 0x00, 0xff, 0xff, 0x69, 0x3c, 0x61, 0x0b, 0x3c, 0x09, 0x00, 0x00,
+var fileDescriptor_d8f147b43c61e73e = []byte{
+ // 911 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
+ 0x14, 0xf7, 0xd6, 0x8e, 0xed, 0x1d, 0x87, 0xda, 0x9d, 0x82, 0xb4, 0xb2, 0xaa, 0xb5, 0xc9, 0x01,
+ 0x19, 0xa9, 0x9d, 0x25, 0x11, 0x54, 0x51, 0xc5, 0x25, 0x4b, 0x22, 0x14, 0x90, 0x9a, 0x68, 0x5a,
+ 0x43, 0xe1, 0x80, 0x34, 0xb6, 0xa7, 0xf6, 0x60, 0x7b, 0x66, 0xd9, 0x99, 0x4d, 0xf0, 0x8d, 0x3b,
+ 0x17, 0xbe, 0x01, 0x5f, 0x80, 0x6f, 0xc1, 0x25, 0xc7, 0x1e, 0x7b, 0xb2, 0x88, 0xf9, 0x16, 0x39,
+ 0xa1, 0x99, 0x9d, 0xf5, 0x3a, 0x4e, 0x52, 0xfa, 0xef, 0x94, 0x7d, 0x7f, 0x7e, 0xbf, 0xf7, 0xf2,
+ 0x7b, 0xfb, 0xde, 0x1a, 0xdc, 0x1f, 0xef, 0x4a, 0xc4, 0x44, 0x40, 0x22, 0x16, 0x90, 0xc1, 0x94,
+ 0x49, 0xc9, 0x04, 0x0f, 0x4e, 0xb6, 0x7b, 0x54, 0x91, 0xed, 0x60, 0x48, 0x39, 0x8d, 0x89, 0xa2,
+ 0x03, 0x14, 0xc5, 0x42, 0x09, 0x78, 0x2f, 0xcd, 0x46, 0x24, 0x62, 0x68, 0x99, 0x8d, 0x6c, 0x76,
+ 0xf3, 0xc1, 0x90, 0xa9, 0x51, 0xd2, 0x43, 0x7d, 0x31, 0x0d, 0x86, 0x62, 0x28, 0x02, 0x03, 0xea,
+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 0xc2, 0x77, 0x5e, 0x2c, 0x7c, 0xe7,
+ 0xe5, 0xc2, 0x77, 0xfe, 0x59, 0xf8, 0xce, 0x1f, 0xff, 0xfa, 0x85, 0x1f, 0xef, 0xbd, 0xea, 0x47,
+ 0xd0, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0x6e, 0x31, 0x41, 0x23, 0x09, 0x00, 0x00,
}
func (m *AdmissionRequest) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.pb.go
index 9a2d0bccdd..09295734df 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1/generated.proto
+// source: k8s.io/api/admissionregistration/v1/generated.proto
package v1
@@ -25,6 +25,7 @@ import (
io "io"
proto "github.com/gogo/protobuf/proto"
+ k8s_io_apimachinery_pkg_apis_meta_v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
math "math"
@@ -44,10 +45,66 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+func (m *AuditAnnotation) Reset() { *m = AuditAnnotation{} }
+func (*AuditAnnotation) ProtoMessage() {}
+func (*AuditAnnotation) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{0}
+}
+func (m *AuditAnnotation) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *AuditAnnotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *AuditAnnotation) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_AuditAnnotation.Merge(m, src)
+}
+func (m *AuditAnnotation) XXX_Size() int {
+ return m.Size()
+}
+func (m *AuditAnnotation) XXX_DiscardUnknown() {
+ xxx_messageInfo_AuditAnnotation.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_AuditAnnotation proto.InternalMessageInfo
+
+func (m *ExpressionWarning) Reset() { *m = ExpressionWarning{} }
+func (*ExpressionWarning) ProtoMessage() {}
+func (*ExpressionWarning) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{1}
+}
+func (m *ExpressionWarning) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ExpressionWarning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ExpressionWarning) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ExpressionWarning.Merge(m, src)
+}
+func (m *ExpressionWarning) XXX_Size() int {
+ return m.Size()
+}
+func (m *ExpressionWarning) XXX_DiscardUnknown() {
+ xxx_messageInfo_ExpressionWarning.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ExpressionWarning proto.InternalMessageInfo
+
func (m *MatchCondition) Reset() { *m = MatchCondition{} }
func (*MatchCondition) ProtoMessage() {}
func (*MatchCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{0}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{2}
}
func (m *MatchCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -72,10 +129,38 @@ func (m *MatchCondition) XXX_DiscardUnknown() {
var xxx_messageInfo_MatchCondition proto.InternalMessageInfo
+func (m *MatchResources) Reset() { *m = MatchResources{} }
+func (*MatchResources) ProtoMessage() {}
+func (*MatchResources) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{3}
+}
+func (m *MatchResources) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MatchResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *MatchResources) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MatchResources.Merge(m, src)
+}
+func (m *MatchResources) XXX_Size() int {
+ return m.Size()
+}
+func (m *MatchResources) XXX_DiscardUnknown() {
+ xxx_messageInfo_MatchResources.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MatchResources proto.InternalMessageInfo
+
func (m *MutatingWebhook) Reset() { *m = MutatingWebhook{} }
func (*MutatingWebhook) ProtoMessage() {}
func (*MutatingWebhook) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{1}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{4}
}
func (m *MutatingWebhook) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +188,7 @@ var xxx_messageInfo_MutatingWebhook proto.InternalMessageInfo
func (m *MutatingWebhookConfiguration) Reset() { *m = MutatingWebhookConfiguration{} }
func (*MutatingWebhookConfiguration) ProtoMessage() {}
func (*MutatingWebhookConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{2}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{5}
}
func (m *MutatingWebhookConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +216,7 @@ var xxx_messageInfo_MutatingWebhookConfiguration proto.InternalMessageInfo
func (m *MutatingWebhookConfigurationList) Reset() { *m = MutatingWebhookConfigurationList{} }
func (*MutatingWebhookConfigurationList) ProtoMessage() {}
func (*MutatingWebhookConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{3}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{6}
}
func (m *MutatingWebhookConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -156,10 +241,94 @@ func (m *MutatingWebhookConfigurationList) XXX_DiscardUnknown() {
var xxx_messageInfo_MutatingWebhookConfigurationList proto.InternalMessageInfo
+func (m *NamedRuleWithOperations) Reset() { *m = NamedRuleWithOperations{} }
+func (*NamedRuleWithOperations) ProtoMessage() {}
+func (*NamedRuleWithOperations) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{7}
+}
+func (m *NamedRuleWithOperations) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedRuleWithOperations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedRuleWithOperations) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedRuleWithOperations.Merge(m, src)
+}
+func (m *NamedRuleWithOperations) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedRuleWithOperations) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedRuleWithOperations.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedRuleWithOperations proto.InternalMessageInfo
+
+func (m *ParamKind) Reset() { *m = ParamKind{} }
+func (*ParamKind) ProtoMessage() {}
+func (*ParamKind) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{8}
+}
+func (m *ParamKind) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ParamKind) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ParamKind) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ParamKind.Merge(m, src)
+}
+func (m *ParamKind) XXX_Size() int {
+ return m.Size()
+}
+func (m *ParamKind) XXX_DiscardUnknown() {
+ xxx_messageInfo_ParamKind.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ParamKind proto.InternalMessageInfo
+
+func (m *ParamRef) Reset() { *m = ParamRef{} }
+func (*ParamRef) ProtoMessage() {}
+func (*ParamRef) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{9}
+}
+func (m *ParamRef) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ParamRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ParamRef) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ParamRef.Merge(m, src)
+}
+func (m *ParamRef) XXX_Size() int {
+ return m.Size()
+}
+func (m *ParamRef) XXX_DiscardUnknown() {
+ xxx_messageInfo_ParamRef.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ParamRef proto.InternalMessageInfo
+
func (m *Rule) Reset() { *m = Rule{} }
func (*Rule) ProtoMessage() {}
func (*Rule) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{4}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{10}
}
func (m *Rule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +356,7 @@ var xxx_messageInfo_Rule proto.InternalMessageInfo
func (m *RuleWithOperations) Reset() { *m = RuleWithOperations{} }
func (*RuleWithOperations) ProtoMessage() {}
func (*RuleWithOperations) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{5}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{11}
}
func (m *RuleWithOperations) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +384,7 @@ var xxx_messageInfo_RuleWithOperations proto.InternalMessageInfo
func (m *ServiceReference) Reset() { *m = ServiceReference{} }
func (*ServiceReference) ProtoMessage() {}
func (*ServiceReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{6}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{12}
}
func (m *ServiceReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -240,10 +409,234 @@ func (m *ServiceReference) XXX_DiscardUnknown() {
var xxx_messageInfo_ServiceReference proto.InternalMessageInfo
+func (m *TypeChecking) Reset() { *m = TypeChecking{} }
+func (*TypeChecking) ProtoMessage() {}
+func (*TypeChecking) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{13}
+}
+func (m *TypeChecking) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *TypeChecking) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *TypeChecking) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_TypeChecking.Merge(m, src)
+}
+func (m *TypeChecking) XXX_Size() int {
+ return m.Size()
+}
+func (m *TypeChecking) XXX_DiscardUnknown() {
+ xxx_messageInfo_TypeChecking.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TypeChecking proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicy) Reset() { *m = ValidatingAdmissionPolicy{} }
+func (*ValidatingAdmissionPolicy) ProtoMessage() {}
+func (*ValidatingAdmissionPolicy) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{14}
+}
+func (m *ValidatingAdmissionPolicy) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicy) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicy.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicy) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicy) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicy.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicy proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicyBinding) Reset() { *m = ValidatingAdmissionPolicyBinding{} }
+func (*ValidatingAdmissionPolicyBinding) ProtoMessage() {}
+func (*ValidatingAdmissionPolicyBinding) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{15}
+}
+func (m *ValidatingAdmissionPolicyBinding) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicyBinding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicyBinding) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicyBinding.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicyBinding) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicyBinding) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicyBinding.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicyBinding proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicyBindingList) Reset() { *m = ValidatingAdmissionPolicyBindingList{} }
+func (*ValidatingAdmissionPolicyBindingList) ProtoMessage() {}
+func (*ValidatingAdmissionPolicyBindingList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{16}
+}
+func (m *ValidatingAdmissionPolicyBindingList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicyBindingList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicyBindingList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicyBindingList.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicyBindingList) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicyBindingList) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicyBindingList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicyBindingList proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicyBindingSpec) Reset() { *m = ValidatingAdmissionPolicyBindingSpec{} }
+func (*ValidatingAdmissionPolicyBindingSpec) ProtoMessage() {}
+func (*ValidatingAdmissionPolicyBindingSpec) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{17}
+}
+func (m *ValidatingAdmissionPolicyBindingSpec) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicyBindingSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicyBindingSpec) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicyBindingSpec.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicyBindingSpec) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicyBindingSpec) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicyBindingSpec.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicyBindingSpec proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicyList) Reset() { *m = ValidatingAdmissionPolicyList{} }
+func (*ValidatingAdmissionPolicyList) ProtoMessage() {}
+func (*ValidatingAdmissionPolicyList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{18}
+}
+func (m *ValidatingAdmissionPolicyList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicyList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicyList.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicyList) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicyList) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicyList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicyList proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicySpec) Reset() { *m = ValidatingAdmissionPolicySpec{} }
+func (*ValidatingAdmissionPolicySpec) ProtoMessage() {}
+func (*ValidatingAdmissionPolicySpec) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{19}
+}
+func (m *ValidatingAdmissionPolicySpec) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicySpec) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicySpec.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicySpec) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicySpec) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicySpec.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicySpec proto.InternalMessageInfo
+
+func (m *ValidatingAdmissionPolicyStatus) Reset() { *m = ValidatingAdmissionPolicyStatus{} }
+func (*ValidatingAdmissionPolicyStatus) ProtoMessage() {}
+func (*ValidatingAdmissionPolicyStatus) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{20}
+}
+func (m *ValidatingAdmissionPolicyStatus) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ValidatingAdmissionPolicyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ValidatingAdmissionPolicyStatus) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ValidatingAdmissionPolicyStatus.Merge(m, src)
+}
+func (m *ValidatingAdmissionPolicyStatus) XXX_Size() int {
+ return m.Size()
+}
+func (m *ValidatingAdmissionPolicyStatus) XXX_DiscardUnknown() {
+ xxx_messageInfo_ValidatingAdmissionPolicyStatus.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ValidatingAdmissionPolicyStatus proto.InternalMessageInfo
+
func (m *ValidatingWebhook) Reset() { *m = ValidatingWebhook{} }
func (*ValidatingWebhook) ProtoMessage() {}
func (*ValidatingWebhook) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{7}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{21}
}
func (m *ValidatingWebhook) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -271,7 +664,7 @@ var xxx_messageInfo_ValidatingWebhook proto.InternalMessageInfo
func (m *ValidatingWebhookConfiguration) Reset() { *m = ValidatingWebhookConfiguration{} }
func (*ValidatingWebhookConfiguration) ProtoMessage() {}
func (*ValidatingWebhookConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{8}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{22}
}
func (m *ValidatingWebhookConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -299,7 +692,7 @@ var xxx_messageInfo_ValidatingWebhookConfiguration proto.InternalMessageInfo
func (m *ValidatingWebhookConfigurationList) Reset() { *m = ValidatingWebhookConfigurationList{} }
func (*ValidatingWebhookConfigurationList) ProtoMessage() {}
func (*ValidatingWebhookConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{9}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{23}
}
func (m *ValidatingWebhookConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -324,10 +717,66 @@ func (m *ValidatingWebhookConfigurationList) XXX_DiscardUnknown() {
var xxx_messageInfo_ValidatingWebhookConfigurationList proto.InternalMessageInfo
+func (m *Validation) Reset() { *m = Validation{} }
+func (*Validation) ProtoMessage() {}
+func (*Validation) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{24}
+}
+func (m *Validation) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Validation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *Validation) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Validation.Merge(m, src)
+}
+func (m *Validation) XXX_Size() int {
+ return m.Size()
+}
+func (m *Validation) XXX_DiscardUnknown() {
+ xxx_messageInfo_Validation.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Validation proto.InternalMessageInfo
+
+func (m *Variable) Reset() { *m = Variable{} }
+func (*Variable) ProtoMessage() {}
+func (*Variable) Descriptor() ([]byte, []int) {
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{25}
+}
+func (m *Variable) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Variable) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *Variable) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Variable.Merge(m, src)
+}
+func (m *Variable) XXX_Size() int {
+ return m.Size()
+}
+func (m *Variable) XXX_DiscardUnknown() {
+ xxx_messageInfo_Variable.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Variable proto.InternalMessageInfo
+
func (m *WebhookClientConfig) Reset() { *m = WebhookClientConfig{} }
func (*WebhookClientConfig) ProtoMessage() {}
func (*WebhookClientConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_aaac5994f79683e8, []int{10}
+ return fileDescriptor_3205c7dc5bf0c9bf, []int{26}
}
func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -353,99 +802,237 @@ func (m *WebhookClientConfig) XXX_DiscardUnknown() {
var xxx_messageInfo_WebhookClientConfig proto.InternalMessageInfo
func init() {
+ proto.RegisterType((*AuditAnnotation)(nil), "k8s.io.api.admissionregistration.v1.AuditAnnotation")
+ proto.RegisterType((*ExpressionWarning)(nil), "k8s.io.api.admissionregistration.v1.ExpressionWarning")
proto.RegisterType((*MatchCondition)(nil), "k8s.io.api.admissionregistration.v1.MatchCondition")
+ proto.RegisterType((*MatchResources)(nil), "k8s.io.api.admissionregistration.v1.MatchResources")
proto.RegisterType((*MutatingWebhook)(nil), "k8s.io.api.admissionregistration.v1.MutatingWebhook")
proto.RegisterType((*MutatingWebhookConfiguration)(nil), "k8s.io.api.admissionregistration.v1.MutatingWebhookConfiguration")
proto.RegisterType((*MutatingWebhookConfigurationList)(nil), "k8s.io.api.admissionregistration.v1.MutatingWebhookConfigurationList")
+ proto.RegisterType((*NamedRuleWithOperations)(nil), "k8s.io.api.admissionregistration.v1.NamedRuleWithOperations")
+ proto.RegisterType((*ParamKind)(nil), "k8s.io.api.admissionregistration.v1.ParamKind")
+ proto.RegisterType((*ParamRef)(nil), "k8s.io.api.admissionregistration.v1.ParamRef")
proto.RegisterType((*Rule)(nil), "k8s.io.api.admissionregistration.v1.Rule")
proto.RegisterType((*RuleWithOperations)(nil), "k8s.io.api.admissionregistration.v1.RuleWithOperations")
proto.RegisterType((*ServiceReference)(nil), "k8s.io.api.admissionregistration.v1.ServiceReference")
+ proto.RegisterType((*TypeChecking)(nil), "k8s.io.api.admissionregistration.v1.TypeChecking")
+ proto.RegisterType((*ValidatingAdmissionPolicy)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicy")
+ proto.RegisterType((*ValidatingAdmissionPolicyBinding)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicyBinding")
+ proto.RegisterType((*ValidatingAdmissionPolicyBindingList)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingList")
+ proto.RegisterType((*ValidatingAdmissionPolicyBindingSpec)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicyBindingSpec")
+ proto.RegisterType((*ValidatingAdmissionPolicyList)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicyList")
+ proto.RegisterType((*ValidatingAdmissionPolicySpec)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicySpec")
+ proto.RegisterType((*ValidatingAdmissionPolicyStatus)(nil), "k8s.io.api.admissionregistration.v1.ValidatingAdmissionPolicyStatus")
proto.RegisterType((*ValidatingWebhook)(nil), "k8s.io.api.admissionregistration.v1.ValidatingWebhook")
proto.RegisterType((*ValidatingWebhookConfiguration)(nil), "k8s.io.api.admissionregistration.v1.ValidatingWebhookConfiguration")
proto.RegisterType((*ValidatingWebhookConfigurationList)(nil), "k8s.io.api.admissionregistration.v1.ValidatingWebhookConfigurationList")
+ proto.RegisterType((*Validation)(nil), "k8s.io.api.admissionregistration.v1.Validation")
+ proto.RegisterType((*Variable)(nil), "k8s.io.api.admissionregistration.v1.Variable")
proto.RegisterType((*WebhookClientConfig)(nil), "k8s.io.api.admissionregistration.v1.WebhookClientConfig")
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1/generated.proto", fileDescriptor_aaac5994f79683e8)
+ proto.RegisterFile("k8s.io/api/admissionregistration/v1/generated.proto", fileDescriptor_3205c7dc5bf0c9bf)
}
-var fileDescriptor_aaac5994f79683e8 = []byte{
- // 1169 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4d, 0x6f, 0x1b, 0x45,
- 0x18, 0xce, 0xc6, 0x36, 0xb1, 0xc7, 0x4e, 0xd2, 0x0c, 0xd0, 0x2e, 0xa5, 0xf2, 0x5a, 0xae, 0x84,
- 0x82, 0x00, 0x6f, 0x9b, 0x96, 0x52, 0x71, 0x41, 0xb1, 0x29, 0x28, 0x22, 0x69, 0xa3, 0x49, 0x3f,
- 0x10, 0xea, 0xa1, 0xe3, 0xf5, 0xd8, 0x1e, 0x62, 0xef, 0xac, 0x66, 0x66, 0x4d, 0x7b, 0xe3, 0x27,
- 0xf0, 0x17, 0xe0, 0x4f, 0xc0, 0x95, 0x5b, 0x8f, 0xbd, 0x91, 0x03, 0x5a, 0x91, 0xe5, 0xc2, 0x81,
- 0x5f, 0x90, 0x13, 0x9a, 0xd9, 0xf5, 0xae, 0xbf, 0x12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0xa1, 0x0b, 0x50, 0xf2, 0x9c, 0x81, 0x08, 0xc1, 0xfc, 0xd8, 0x97,
+ 0x4b, 0x5f, 0xe0, 0x7b, 0x98, 0xd1, 0xd0, 0x43, 0x98, 0xa7, 0xc1, 0xfc, 0x48, 0xe4, 0xd1, 0x77,
+ 0x0a, 0x6d, 0x76, 0x76, 0xe6, 0xd4, 0xa9, 0xb1, 0xf0, 0x87, 0xd4, 0x10, 0x12, 0x5d, 0x86, 0x8a,
+ 0xa6, 0x76, 0x3c, 0x53, 0x17, 0xf3, 0xae, 0x85, 0xe0, 0x75, 0xb6, 0xb9, 0x11, 0xd0, 0x70, 0xc4,
+ 0xed, 0x6c, 0x3d, 0x7e, 0xda, 0x3c, 0xf7, 0xcd, 0xd3, 0xe6, 0xb9, 0x27, 0x4f, 0x9b, 0xe7, 0x7e,
+ 0x3a, 0x6e, 0x4a, 0x8f, 0xc7, 0x4d, 0xe9, 0x9b, 0x71, 0x53, 0x7a, 0x32, 0x6e, 0x4a, 0x7f, 0x1b,
+ 0x37, 0xa5, 0x5f, 0xfe, 0xbd, 0x79, 0xee, 0x07, 0xef, 0x16, 0xf8, 0x6f, 0x8c, 0xff, 0x05, 0x00,
+ 0x00, 0xff, 0xff, 0x1e, 0x59, 0xab, 0xd9, 0xb3, 0x21, 0x00, 0x00,
+}
+
+func (m *AuditAnnotation) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *AuditAnnotation) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *AuditAnnotation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.ValueExpression)
+ copy(dAtA[i:], m.ValueExpression)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.ValueExpression)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Key)
+ copy(dAtA[i:], m.Key)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Key)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ExpressionWarning) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExpressionWarning) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ExpressionWarning) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Warning)
+ copy(dAtA[i:], m.Warning)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Warning)))
+ i--
+ dAtA[i] = 0x1a
+ i -= len(m.FieldRef)
+ copy(dAtA[i:], m.FieldRef)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.FieldRef)))
+ i--
+ dAtA[i] = 0x12
+ return len(dAtA) - i, nil
}
func (m *MatchCondition) Marshal() (dAtA []byte, err error) {
@@ -481,6 +1068,88 @@ func (m *MatchCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *MatchResources) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MatchResources) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MatchResources) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.MatchPolicy != nil {
+ i -= len(*m.MatchPolicy)
+ copy(dAtA[i:], *m.MatchPolicy)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.MatchPolicy)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if len(m.ExcludeResourceRules) > 0 {
+ for iNdEx := len(m.ExcludeResourceRules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ExcludeResourceRules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.ResourceRules) > 0 {
+ for iNdEx := len(m.ResourceRules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ResourceRules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.ObjectSelector != nil {
+ {
+ size, err := m.ObjectSelector.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.NamespaceSelector != nil {
+ {
+ size, err := m.NamespaceSelector.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
func (m *MutatingWebhook) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -707,6 +1376,133 @@ func (m *MutatingWebhookConfigurationList) MarshalToSizedBuffer(dAtA []byte) (in
return len(dAtA) - i, nil
}
+func (m *NamedRuleWithOperations) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedRuleWithOperations) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedRuleWithOperations) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.RuleWithOperations.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.ResourceNames) > 0 {
+ for iNdEx := len(m.ResourceNames) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.ResourceNames[iNdEx])
+ copy(dAtA[i:], m.ResourceNames[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceNames[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ParamKind) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ParamKind) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ParamKind) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Kind)
+ copy(dAtA[i:], m.Kind)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Kind)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.APIVersion)
+ copy(dAtA[i:], m.APIVersion)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.APIVersion)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ParamRef) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ParamRef) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ParamRef) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.ParameterNotFoundAction != nil {
+ i -= len(*m.ParameterNotFoundAction)
+ copy(dAtA[i:], *m.ParameterNotFoundAction)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ParameterNotFoundAction)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if m.Selector != nil {
+ {
+ size, err := m.Selector.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ i -= len(m.Namespace)
+ copy(dAtA[i:], m.Namespace)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Namespace)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *Rule) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -851,6 +1647,456 @@ func (m *ServiceReference) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *TypeChecking) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *TypeChecking) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TypeChecking) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.ExpressionWarnings) > 0 {
+ for iNdEx := len(m.ExpressionWarnings) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ExpressionWarnings[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicy) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicy) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ {
+ size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicyBinding) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicyBinding) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicyBinding) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicyBindingList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicyBindingList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicyBindingList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicyBindingSpec) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicyBindingSpec) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicyBindingSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.ValidationActions) > 0 {
+ for iNdEx := len(m.ValidationActions) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.ValidationActions[iNdEx])
+ copy(dAtA[i:], m.ValidationActions[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.ValidationActions[iNdEx])))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.MatchResources != nil {
+ {
+ size, err := m.MatchResources.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.ParamRef != nil {
+ {
+ size, err := m.ParamRef.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ i -= len(m.PolicyName)
+ copy(dAtA[i:], m.PolicyName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.PolicyName)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicyList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicyList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicySpec) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicySpec) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Variables) > 0 {
+ for iNdEx := len(m.Variables) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Variables[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ }
+ if len(m.MatchConditions) > 0 {
+ for iNdEx := len(m.MatchConditions) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.MatchConditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if len(m.AuditAnnotations) > 0 {
+ for iNdEx := len(m.AuditAnnotations) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.AuditAnnotations[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if m.FailurePolicy != nil {
+ i -= len(*m.FailurePolicy)
+ copy(dAtA[i:], *m.FailurePolicy)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.FailurePolicy)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Validations) > 0 {
+ for iNdEx := len(m.Validations) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Validations[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.MatchConstraints != nil {
+ {
+ size, err := m.MatchConstraints.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.ParamKind != nil {
+ {
+ size, err := m.ParamKind.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ValidatingAdmissionPolicyStatus) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ValidatingAdmissionPolicyStatus) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ValidatingAdmissionPolicyStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Conditions) > 0 {
+ for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.TypeChecking != nil {
+ {
+ size, err := m.TypeChecking.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ i = encodeVarintGenerated(dAtA, i, uint64(m.ObservedGeneration))
+ i--
+ dAtA[i] = 0x8
+ return len(dAtA) - i, nil
+}
+
func (m *ValidatingWebhook) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1070,6 +2316,84 @@ func (m *ValidatingWebhookConfigurationList) MarshalToSizedBuffer(dAtA []byte) (
return len(dAtA) - i, nil
}
+func (m *Validation) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Validation) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Validation) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.MessageExpression)
+ copy(dAtA[i:], m.MessageExpression)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.MessageExpression)))
+ i--
+ dAtA[i] = 0x22
+ if m.Reason != nil {
+ i -= len(*m.Reason)
+ copy(dAtA[i:], *m.Reason)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.Reason)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ i -= len(m.Message)
+ copy(dAtA[i:], m.Message)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Expression)
+ copy(dAtA[i:], m.Expression)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Expression)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *Variable) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Variable) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Variable) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Expression)
+ copy(dAtA[i:], m.Expression)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Expression)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *WebhookClientConfig) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1130,6 +2454,32 @@ func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
dAtA[offset] = uint8(v)
return base
}
+func (m *AuditAnnotation) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Key)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.ValueExpression)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ExpressionWarning) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.FieldRef)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Warning)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
func (m *MatchCondition) Size() (n int) {
if m == nil {
return 0
@@ -1143,6 +2493,39 @@ func (m *MatchCondition) Size() (n int) {
return n
}
+func (m *MatchResources) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.NamespaceSelector != nil {
+ l = m.NamespaceSelector.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.ObjectSelector != nil {
+ l = m.ObjectSelector.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.ResourceRules) > 0 {
+ for _, e := range m.ResourceRules {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.ExcludeResourceRules) > 0 {
+ for _, e := range m.ExcludeResourceRules {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if m.MatchPolicy != nil {
+ l = len(*m.MatchPolicy)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
func (m *MutatingWebhook) Size() (n int) {
if m == nil {
return 0
@@ -1235,6 +2618,57 @@ func (m *MutatingWebhookConfigurationList) Size() (n int) {
return n
}
+func (m *NamedRuleWithOperations) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.ResourceNames) > 0 {
+ for _, s := range m.ResourceNames {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ l = m.RuleWithOperations.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ParamKind) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.APIVersion)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Kind)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ParamRef) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Namespace)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.Selector != nil {
+ l = m.Selector.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.ParameterNotFoundAction != nil {
+ l = len(*m.ParameterNotFoundAction)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
func (m *Rule) Size() (n int) {
if m == nil {
return 0
@@ -1303,6 +2737,173 @@ func (m *ServiceReference) Size() (n int) {
return n
}
+func (m *TypeChecking) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.ExpressionWarnings) > 0 {
+ for _, e := range m.ExpressionWarnings {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ValidatingAdmissionPolicy) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.Spec.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.Status.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ValidatingAdmissionPolicyBinding) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.Spec.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ValidatingAdmissionPolicyBindingList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ValidatingAdmissionPolicyBindingSpec) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.PolicyName)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.ParamRef != nil {
+ l = m.ParamRef.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.MatchResources != nil {
+ l = m.MatchResources.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.ValidationActions) > 0 {
+ for _, s := range m.ValidationActions {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ValidatingAdmissionPolicyList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ValidatingAdmissionPolicySpec) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.ParamKind != nil {
+ l = m.ParamKind.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.MatchConstraints != nil {
+ l = m.MatchConstraints.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.Validations) > 0 {
+ for _, e := range m.Validations {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if m.FailurePolicy != nil {
+ l = len(*m.FailurePolicy)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.AuditAnnotations) > 0 {
+ for _, e := range m.AuditAnnotations {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.MatchConditions) > 0 {
+ for _, e := range m.MatchConditions {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.Variables) > 0 {
+ for _, e := range m.Variables {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ValidatingAdmissionPolicyStatus) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ n += 1 + sovGenerated(uint64(m.ObservedGeneration))
+ if m.TypeChecking != nil {
+ l = m.TypeChecking.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.Conditions) > 0 {
+ for _, e := range m.Conditions {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
func (m *ValidatingWebhook) Size() (n int) {
if m == nil {
return 0
@@ -1391,6 +2992,38 @@ func (m *ValidatingWebhookConfigurationList) Size() (n int) {
return n
}
+func (m *Validation) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Expression)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Message)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.Reason != nil {
+ l = len(*m.Reason)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ l = len(m.MessageExpression)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *Variable) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Expression)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
func (m *WebhookClientConfig) Size() (n int) {
if m == nil {
return 0
@@ -1418,6 +3051,28 @@ func sovGenerated(x uint64) (n int) {
func sozGenerated(x uint64) (n int) {
return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
+func (this *AuditAnnotation) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&AuditAnnotation{`,
+ `Key:` + fmt.Sprintf("%v", this.Key) + `,`,
+ `ValueExpression:` + fmt.Sprintf("%v", this.ValueExpression) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ExpressionWarning) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ExpressionWarning{`,
+ `FieldRef:` + fmt.Sprintf("%v", this.FieldRef) + `,`,
+ `Warning:` + fmt.Sprintf("%v", this.Warning) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *MatchCondition) String() string {
if this == nil {
return "nil"
@@ -1429,6 +3084,30 @@ func (this *MatchCondition) String() string {
}, "")
return s
}
+func (this *MatchResources) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForResourceRules := "[]NamedRuleWithOperations{"
+ for _, f := range this.ResourceRules {
+ repeatedStringForResourceRules += strings.Replace(strings.Replace(f.String(), "NamedRuleWithOperations", "NamedRuleWithOperations", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForResourceRules += "}"
+ repeatedStringForExcludeResourceRules := "[]NamedRuleWithOperations{"
+ for _, f := range this.ExcludeResourceRules {
+ repeatedStringForExcludeResourceRules += strings.Replace(strings.Replace(f.String(), "NamedRuleWithOperations", "NamedRuleWithOperations", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForExcludeResourceRules += "}"
+ s := strings.Join([]string{`&MatchResources{`,
+ `NamespaceSelector:` + strings.Replace(fmt.Sprintf("%v", this.NamespaceSelector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
+ `ObjectSelector:` + strings.Replace(fmt.Sprintf("%v", this.ObjectSelector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
+ `ResourceRules:` + repeatedStringForResourceRules + `,`,
+ `ExcludeResourceRules:` + repeatedStringForExcludeResourceRules + `,`,
+ `MatchPolicy:` + valueToStringGenerated(this.MatchPolicy) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *MutatingWebhook) String() string {
if this == nil {
return "nil"
@@ -1492,6 +3171,41 @@ func (this *MutatingWebhookConfigurationList) String() string {
}, "")
return s
}
+func (this *NamedRuleWithOperations) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedRuleWithOperations{`,
+ `ResourceNames:` + fmt.Sprintf("%v", this.ResourceNames) + `,`,
+ `RuleWithOperations:` + strings.Replace(strings.Replace(this.RuleWithOperations.String(), "RuleWithOperations", "RuleWithOperations", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ParamKind) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ParamKind{`,
+ `APIVersion:` + fmt.Sprintf("%v", this.APIVersion) + `,`,
+ `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ParamRef) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ParamRef{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `Namespace:` + fmt.Sprintf("%v", this.Namespace) + `,`,
+ `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "v1.LabelSelector", 1) + `,`,
+ `ParameterNotFoundAction:` + valueToStringGenerated(this.ParameterNotFoundAction) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *Rule) String() string {
if this == nil {
return "nil"
@@ -1529,6 +3243,142 @@ func (this *ServiceReference) String() string {
}, "")
return s
}
+func (this *TypeChecking) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForExpressionWarnings := "[]ExpressionWarning{"
+ for _, f := range this.ExpressionWarnings {
+ repeatedStringForExpressionWarnings += strings.Replace(strings.Replace(f.String(), "ExpressionWarning", "ExpressionWarning", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForExpressionWarnings += "}"
+ s := strings.Join([]string{`&TypeChecking{`,
+ `ExpressionWarnings:` + repeatedStringForExpressionWarnings + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicy) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ValidatingAdmissionPolicy{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ValidatingAdmissionPolicySpec", "ValidatingAdmissionPolicySpec", 1), `&`, ``, 1) + `,`,
+ `Status:` + strings.Replace(strings.Replace(this.Status.String(), "ValidatingAdmissionPolicyStatus", "ValidatingAdmissionPolicyStatus", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicyBinding) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ValidatingAdmissionPolicyBinding{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "ValidatingAdmissionPolicyBindingSpec", "ValidatingAdmissionPolicyBindingSpec", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicyBindingList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]ValidatingAdmissionPolicyBinding{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ValidatingAdmissionPolicyBinding", "ValidatingAdmissionPolicyBinding", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&ValidatingAdmissionPolicyBindingList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicyBindingSpec) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ValidatingAdmissionPolicyBindingSpec{`,
+ `PolicyName:` + fmt.Sprintf("%v", this.PolicyName) + `,`,
+ `ParamRef:` + strings.Replace(this.ParamRef.String(), "ParamRef", "ParamRef", 1) + `,`,
+ `MatchResources:` + strings.Replace(this.MatchResources.String(), "MatchResources", "MatchResources", 1) + `,`,
+ `ValidationActions:` + fmt.Sprintf("%v", this.ValidationActions) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicyList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]ValidatingAdmissionPolicy{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ValidatingAdmissionPolicy", "ValidatingAdmissionPolicy", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&ValidatingAdmissionPolicyList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicySpec) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForValidations := "[]Validation{"
+ for _, f := range this.Validations {
+ repeatedStringForValidations += strings.Replace(strings.Replace(f.String(), "Validation", "Validation", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForValidations += "}"
+ repeatedStringForAuditAnnotations := "[]AuditAnnotation{"
+ for _, f := range this.AuditAnnotations {
+ repeatedStringForAuditAnnotations += strings.Replace(strings.Replace(f.String(), "AuditAnnotation", "AuditAnnotation", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForAuditAnnotations += "}"
+ repeatedStringForMatchConditions := "[]MatchCondition{"
+ for _, f := range this.MatchConditions {
+ repeatedStringForMatchConditions += strings.Replace(strings.Replace(f.String(), "MatchCondition", "MatchCondition", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForMatchConditions += "}"
+ repeatedStringForVariables := "[]Variable{"
+ for _, f := range this.Variables {
+ repeatedStringForVariables += strings.Replace(strings.Replace(f.String(), "Variable", "Variable", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForVariables += "}"
+ s := strings.Join([]string{`&ValidatingAdmissionPolicySpec{`,
+ `ParamKind:` + strings.Replace(this.ParamKind.String(), "ParamKind", "ParamKind", 1) + `,`,
+ `MatchConstraints:` + strings.Replace(this.MatchConstraints.String(), "MatchResources", "MatchResources", 1) + `,`,
+ `Validations:` + repeatedStringForValidations + `,`,
+ `FailurePolicy:` + valueToStringGenerated(this.FailurePolicy) + `,`,
+ `AuditAnnotations:` + repeatedStringForAuditAnnotations + `,`,
+ `MatchConditions:` + repeatedStringForMatchConditions + `,`,
+ `Variables:` + repeatedStringForVariables + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ValidatingAdmissionPolicyStatus) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForConditions := "[]Condition{"
+ for _, f := range this.Conditions {
+ repeatedStringForConditions += fmt.Sprintf("%v", f) + ","
+ }
+ repeatedStringForConditions += "}"
+ s := strings.Join([]string{`&ValidatingAdmissionPolicyStatus{`,
+ `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`,
+ `TypeChecking:` + strings.Replace(this.TypeChecking.String(), "TypeChecking", "TypeChecking", 1) + `,`,
+ `Conditions:` + repeatedStringForConditions + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *ValidatingWebhook) String() string {
if this == nil {
return "nil"
@@ -1591,6 +3441,30 @@ func (this *ValidatingWebhookConfigurationList) String() string {
}, "")
return s
}
+func (this *Validation) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&Validation{`,
+ `Expression:` + fmt.Sprintf("%v", this.Expression) + `,`,
+ `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
+ `Reason:` + valueToStringGenerated(this.Reason) + `,`,
+ `MessageExpression:` + fmt.Sprintf("%v", this.MessageExpression) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *Variable) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&Variable{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `Expression:` + fmt.Sprintf("%v", this.Expression) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *WebhookClientConfig) String() string {
if this == nil {
return "nil"
@@ -1611,6 +3485,234 @@ func valueToStringGenerated(v interface{}) string {
pv := reflect.Indirect(rv).Interface()
return fmt.Sprintf("*%v", pv)
}
+func (m *AuditAnnotation) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: AuditAnnotation: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: AuditAnnotation: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Key = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ValueExpression", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ValueExpression = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExpressionWarning) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExpressionWarning: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExpressionWarning: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FieldRef", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.FieldRef = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Warning", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Warning = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *MatchCondition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -1725,6 +3827,229 @@ func (m *MatchCondition) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *MatchResources) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MatchResources: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MatchResources: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NamespaceSelector", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.NamespaceSelector == nil {
+ m.NamespaceSelector = &v1.LabelSelector{}
+ }
+ if err := m.NamespaceSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectSelector", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ObjectSelector == nil {
+ m.ObjectSelector = &v1.LabelSelector{}
+ }
+ if err := m.ObjectSelector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceRules", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ResourceRules = append(m.ResourceRules, NamedRuleWithOperations{})
+ if err := m.ResourceRules[len(m.ResourceRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExcludeResourceRules", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ExcludeResourceRules = append(m.ExcludeResourceRules, NamedRuleWithOperations{})
+ if err := m.ExcludeResourceRules[len(m.ExcludeResourceRules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MatchPolicy", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := MatchPolicyType(dAtA[iNdEx:postIndex])
+ m.MatchPolicy = &s
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *MutatingWebhook) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2398,6 +4723,418 @@ func (m *MutatingWebhookConfigurationList) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *NamedRuleWithOperations) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedRuleWithOperations: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedRuleWithOperations: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceNames", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ResourceNames = append(m.ResourceNames, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RuleWithOperations", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.RuleWithOperations.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ParamKind) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ParamKind: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ParamKind: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field APIVersion", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.APIVersion = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Kind = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ParamRef) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ParamRef: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ParamRef: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Namespace", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Namespace = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Selector == nil {
+ m.Selector = &v1.LabelSelector{}
+ }
+ if err := m.Selector.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ParameterNotFoundAction", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := ParameterNotFoundActionType(dAtA[iNdEx:postIndex])
+ m.ParameterNotFoundAction = &s
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *Rule) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -2859,6 +5596,1205 @@ func (m *ServiceReference) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *TypeChecking) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TypeChecking: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TypeChecking: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExpressionWarnings", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ExpressionWarnings = append(m.ExpressionWarnings, ExpressionWarning{})
+ if err := m.ExpressionWarnings[len(m.ExpressionWarnings)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicy) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicy: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicyBinding) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyBinding: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyBinding: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicyBindingList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyBindingList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyBindingList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, ValidatingAdmissionPolicyBinding{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicyBindingSpec) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyBindingSpec: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyBindingSpec: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PolicyName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.PolicyName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ParamRef", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ParamRef == nil {
+ m.ParamRef = &ParamRef{}
+ }
+ if err := m.ParamRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MatchResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.MatchResources == nil {
+ m.MatchResources = &MatchResources{}
+ }
+ if err := m.MatchResources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ValidationActions", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ValidationActions = append(m.ValidationActions, ValidationAction(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicyList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, ValidatingAdmissionPolicy{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicySpec) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicySpec: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicySpec: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ParamKind", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ParamKind == nil {
+ m.ParamKind = &ParamKind{}
+ }
+ if err := m.ParamKind.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MatchConstraints", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.MatchConstraints == nil {
+ m.MatchConstraints = &MatchResources{}
+ }
+ if err := m.MatchConstraints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Validations", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Validations = append(m.Validations, Validation{})
+ if err := m.Validations[len(m.Validations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FailurePolicy", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := FailurePolicyType(dAtA[iNdEx:postIndex])
+ m.FailurePolicy = &s
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AuditAnnotations", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AuditAnnotations = append(m.AuditAnnotations, AuditAnnotation{})
+ if err := m.AuditAnnotations[len(m.AuditAnnotations)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MatchConditions", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MatchConditions = append(m.MatchConditions, MatchCondition{})
+ if err := m.MatchConditions[len(m.MatchConditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Variables", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Variables = append(m.Variables, Variable{})
+ if err := m.Variables[len(m.Variables)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ValidatingAdmissionPolicyStatus) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyStatus: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ValidatingAdmissionPolicyStatus: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObservedGeneration", wireType)
+ }
+ m.ObservedGeneration = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ObservedGeneration |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TypeChecking", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.TypeChecking == nil {
+ m.TypeChecking = &TypeChecking{}
+ }
+ if err := m.TypeChecking.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Conditions = append(m.Conditions, v1.Condition{})
+ if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *ValidatingWebhook) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -3499,6 +7435,299 @@ func (m *ValidatingWebhookConfigurationList) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *Validation) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Validation: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Validation: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Expression", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Expression = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Message = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := k8s_io_apimachinery_pkg_apis_meta_v1.StatusReason(dAtA[iNdEx:postIndex])
+ m.Reason = &s
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MessageExpression", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MessageExpression = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Variable) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Variable: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Variable: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Expression", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Expression = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *WebhookClientConfig) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.proto
index a8903621c8..44589007a2 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/generated.proto
@@ -28,6 +28,56 @@ import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
// Package-wide variables from generator "generated".
option go_package = "k8s.io/api/admissionregistration/v1";
+// AuditAnnotation describes how to produce an audit annotation for an API request.
+message AuditAnnotation {
+ // key specifies the audit annotation key. The audit annotation keys of
+ // a ValidatingAdmissionPolicy must be unique. The key must be a qualified
+ // name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
+ //
+ // The key is combined with the resource name of the
+ // ValidatingAdmissionPolicy to construct an audit annotation key:
+ // "{ValidatingAdmissionPolicy name}/{key}".
+ //
+ // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy
+ // and the same audit annotation key, the annotation key will be identical.
+ // In this case, the first annotation written with the key will be included
+ // in the audit event and all subsequent annotations with the same key
+ // will be discarded.
+ //
+ // Required.
+ optional string key = 1;
+
+ // valueExpression represents the expression which is evaluated by CEL to
+ // produce an audit annotation value. The expression must evaluate to either
+ // a string or null value. If the expression evaluates to a string, the
+ // audit annotation is included with the string value. If the expression
+ // evaluates to null or empty string the audit annotation will be omitted.
+ // The valueExpression may be no longer than 5kb in length.
+ // If the result of the valueExpression is more than 10kb in length, it
+ // will be truncated to 10kb.
+ //
+ // If multiple ValidatingAdmissionPolicyBinding resources match an
+ // API request, then the valueExpression will be evaluated for
+ // each binding. All unique values produced by the valueExpressions
+ // will be joined together in a comma-separated list.
+ //
+ // Required.
+ optional string valueExpression = 2;
+}
+
+// ExpressionWarning is a warning information that targets a specific expression.
+message ExpressionWarning {
+ // The path to the field that refers the expression.
+ // For example, the reference to the expression of the first item of
+ // validations is "spec.validations[0].expression"
+ optional string fieldRef = 2;
+
+ // The content of type checking information in a human-readable form.
+ // Each line of the warning contains the type that the expression is checked
+ // against, followed by the type check error from the compiler.
+ optional string warning = 3;
+}
+
// MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
message MatchCondition {
// Name is an identifier for this match condition, used for strategic merging of MatchConditions,
@@ -57,6 +107,101 @@ message MatchCondition {
optional string expression = 2;
}
+// MatchResources decides whether to run the admission control policy on an object based
+// on whether it meets the match criteria.
+// The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
+// +structType=atomic
+message MatchResources {
+ // NamespaceSelector decides whether to run the admission control policy on an object based
+ // on whether the namespace for that object matches the selector. If the
+ // object itself is a namespace, the matching is performed on
+ // object.metadata.labels. If the object is another cluster scoped resource,
+ // it never skips the policy.
+ //
+ // For example, to run the webhook on any objects whose namespace is not
+ // associated with "runlevel" of "0" or "1"; you will set the selector as
+ // follows:
+ // "namespaceSelector": {
+ // "matchExpressions": [
+ // {
+ // "key": "runlevel",
+ // "operator": "NotIn",
+ // "values": [
+ // "0",
+ // "1"
+ // ]
+ // }
+ // ]
+ // }
+ //
+ // If instead you want to only run the policy on any objects whose
+ // namespace is associated with the "environment" of "prod" or "staging";
+ // you will set the selector as follows:
+ // "namespaceSelector": {
+ // "matchExpressions": [
+ // {
+ // "key": "environment",
+ // "operator": "In",
+ // "values": [
+ // "prod",
+ // "staging"
+ // ]
+ // }
+ // ]
+ // }
+ //
+ // See
+ // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
+ // for more examples of label selectors.
+ //
+ // Default to the empty LabelSelector, which matches everything.
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector namespaceSelector = 1;
+
+ // ObjectSelector decides whether to run the validation based on if the
+ // object has matching labels. objectSelector is evaluated against both
+ // the oldObject and newObject that would be sent to the cel validation, and
+ // is considered to match if either object matches the selector. A null
+ // object (oldObject in the case of create, or newObject in the case of
+ // delete) or an object that cannot have labels (like a
+ // DeploymentRollback or a PodProxyOptions object) is not considered to
+ // match.
+ // Use the object selector only if the webhook is opt-in, because end
+ // users may skip the admission webhook by setting the labels.
+ // Default to the empty LabelSelector, which matches everything.
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector objectSelector = 2;
+
+ // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.
+ // The policy cares about an operation if it matches _any_ Rule.
+ // +listType=atomic
+ // +optional
+ repeated NamedRuleWithOperations resourceRules = 3;
+
+ // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about.
+ // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
+ // +listType=atomic
+ // +optional
+ repeated NamedRuleWithOperations excludeResourceRules = 4;
+
+ // matchPolicy defines how the "MatchResources" list is used to match incoming requests.
+ // Allowed values are "Exact" or "Equivalent".
+ //
+ // - Exact: match a request only if it exactly matches a specified rule.
+ // For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1,
+ // but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`,
+ // a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
+ //
+ // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version.
+ // For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1,
+ // and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`,
+ // a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
+ //
+ // Defaults to "Equivalent"
+ // +optional
+ optional string matchPolicy = 7;
+}
+
// MutatingWebhook describes an admission webhook and the resources and operations it applies to.
message MutatingWebhook {
// The name of the admission webhook.
@@ -76,6 +221,7 @@ message MutatingWebhook {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
repeated RuleWithOperations rules = 3;
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -183,6 +329,7 @@ message MutatingWebhook {
// If a persisted webhook configuration specifies allowed versions and does not
// include any versions known to the API Server, calls to the webhook will fail
// and be subject to the failure policy.
+ // +listType=atomic
repeated string admissionReviewVersions = 8;
// reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.
@@ -215,13 +362,10 @@ message MutatingWebhook {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
repeated MatchCondition matchConditions = 12;
}
@@ -236,6 +380,8 @@ message MutatingWebhookConfiguration {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated MutatingWebhook Webhooks = 2;
}
@@ -250,6 +396,88 @@ message MutatingWebhookConfigurationList {
repeated MutatingWebhookConfiguration items = 2;
}
+// NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
+// +structType=atomic
+message NamedRuleWithOperations {
+ // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
+ // +listType=atomic
+ // +optional
+ repeated string resourceNames = 1;
+
+ // RuleWithOperations is a tuple of Operations and Resources.
+ optional RuleWithOperations ruleWithOperations = 2;
+}
+
+// ParamKind is a tuple of Group Kind and Version.
+// +structType=atomic
+message ParamKind {
+ // APIVersion is the API group version the resources belong to.
+ // In format of "group/version".
+ // Required.
+ optional string apiVersion = 1;
+
+ // Kind is the API kind the resources belong to.
+ // Required.
+ optional string kind = 2;
+}
+
+// ParamRef describes how to locate the params to be used as input to
+// expressions of rules applied by a policy binding.
+// +structType=atomic
+message ParamRef {
+ // name is the name of the resource being referenced.
+ //
+ // One of `name` or `selector` must be set, but `name` and `selector` are
+ // mutually exclusive properties. If one is set, the other must be unset.
+ //
+ // A single parameter used for all admission requests can be configured
+ // by setting the `name` field, leaving `selector` blank, and setting namespace
+ // if `paramKind` is namespace-scoped.
+ optional string name = 1;
+
+ // namespace is the namespace of the referenced resource. Allows limiting
+ // the search for params to a specific namespace. Applies to both `name` and
+ // `selector` fields.
+ //
+ // A per-namespace parameter may be used by specifying a namespace-scoped
+ // `paramKind` in the policy and leaving this field empty.
+ //
+ // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this
+ // field results in a configuration error.
+ //
+ // - If `paramKind` is namespace-scoped, the namespace of the object being
+ // evaluated for admission will be used when this field is left unset. Take
+ // care that if this is left empty the binding must not match any cluster-scoped
+ // resources, which will result in an error.
+ //
+ // +optional
+ optional string namespace = 2;
+
+ // selector can be used to match multiple param objects based on their labels.
+ // Supply selector: {} to match all resources of the ParamKind.
+ //
+ // If multiple params are found, they are all evaluated with the policy expressions
+ // and the results are ANDed together.
+ //
+ // One of `name` or `selector` must be set, but `name` and `selector` are
+ // mutually exclusive properties. If one is set, the other must be unset.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 3;
+
+ // `parameterNotFoundAction` controls the behavior of the binding when the resource
+ // exists, and name or selector is valid, but there are no parameters
+ // matched by the binding. If the value is set to `Allow`, then no
+ // matched parameters will be treated as successful validation by the binding.
+ // If set to `Deny`, then no matched parameters will be subject to the
+ // `failurePolicy` of the policy.
+ //
+ // Allowed values are `Allow` or `Deny`
+ //
+ // Required
+ optional string parameterNotFoundAction = 4;
+}
+
// Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended
// to make sure that all the tuple expansions are valid.
message Rule {
@@ -333,6 +561,248 @@ message ServiceReference {
optional int32 port = 4;
}
+// TypeChecking contains results of type checking the expressions in the
+// ValidatingAdmissionPolicy
+message TypeChecking {
+ // The type checking warnings for each expression.
+ // +optional
+ // +listType=atomic
+ repeated ExpressionWarning expressionWarnings = 1;
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +genclient
+// +genclient:nonNamespaced
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
+message ValidatingAdmissionPolicy {
+ // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // Specification of the desired behavior of the ValidatingAdmissionPolicy.
+ optional ValidatingAdmissionPolicySpec spec = 2;
+
+ // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy
+ // behaves in the expected way.
+ // Populated by the system.
+ // Read-only.
+ // +optional
+ optional ValidatingAdmissionPolicyStatus status = 3;
+}
+
+// ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.
+// ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
+//
+// For a given admission request, each binding will cause its policy to be
+// evaluated N times, where N is 1 for policies/bindings that don't use
+// params, otherwise N is the number of parameters selected by the binding.
+//
+// The CEL expressions of a policy must have a computed CEL cost below the maximum
+// CEL budget. Each evaluation of the policy is given an independent CEL cost budget.
+// Adding/removing policies, bindings, or params can not affect whether a
+// given (policy, binding, param) combination is within its own CEL budget.
+message ValidatingAdmissionPolicyBinding {
+ // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
+ optional ValidatingAdmissionPolicyBindingSpec spec = 2;
+}
+
+// ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.
+message ValidatingAdmissionPolicyBindingList {
+ // Standard list metadata.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // List of PolicyBinding.
+ repeated ValidatingAdmissionPolicyBinding items = 2;
+}
+
+// ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
+message ValidatingAdmissionPolicyBindingSpec {
+ // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to.
+ // If the referenced resource does not exist, this binding is considered invalid and will be ignored
+ // Required.
+ optional string policyName = 1;
+
+ // paramRef specifies the parameter resource used to configure the admission control policy.
+ // It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy.
+ // If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
+ // If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
+ // +optional
+ optional ParamRef paramRef = 2;
+
+ // MatchResources declares what resources match this binding and will be validated by it.
+ // Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this.
+ // If this is unset, all resources matched by the policy are validated by this binding
+ // When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated.
+ // Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
+ // +optional
+ optional MatchResources matchResources = 3;
+
+ // validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced.
+ // If a validation evaluates to false it is always enforced according to these actions.
+ //
+ // Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according
+ // to these actions only if the FailurePolicy is set to Fail, otherwise the failures are
+ // ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
+ //
+ // validationActions is declared as a set of action values. Order does
+ // not matter. validationActions may not contain duplicates of the same action.
+ //
+ // The supported actions values are:
+ //
+ // "Deny" specifies that a validation failure results in a denied request.
+ //
+ // "Warn" specifies that a validation failure is reported to the request client
+ // in HTTP Warning headers, with a warning code of 299. Warnings can be sent
+ // both for allowed or denied admission responses.
+ //
+ // "Audit" specifies that a validation failure is included in the published
+ // audit event for the request. The audit event will contain a
+ // `validation.policy.admission.k8s.io/validation_failure` audit annotation
+ // with a value containing the details of the validation failures, formatted as
+ // a JSON list of objects, each with the following fields:
+ // - message: The validation failure message string
+ // - policy: The resource name of the ValidatingAdmissionPolicy
+ // - binding: The resource name of the ValidatingAdmissionPolicyBinding
+ // - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy
+ // - validationActions: The enforcement actions enacted for the validation failure
+ // Example audit annotation:
+ // `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"`
+ //
+ // Clients should expect to handle additional values by ignoring
+ // any values not recognized.
+ //
+ // "Deny" and "Warn" may not be used together since this combination
+ // needlessly duplicates the validation failure both in the
+ // API response body and the HTTP warning headers.
+ //
+ // Required.
+ // +listType=set
+ repeated string validationActions = 4;
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+// ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
+message ValidatingAdmissionPolicyList {
+ // Standard list metadata.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // List of ValidatingAdmissionPolicy.
+ repeated ValidatingAdmissionPolicy items = 2;
+}
+
+// ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
+message ValidatingAdmissionPolicySpec {
+ // ParamKind specifies the kind of resources used to parameterize this policy.
+ // If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions.
+ // If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied.
+ // If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
+ // +optional
+ optional ParamKind paramKind = 1;
+
+ // MatchConstraints specifies what resources this policy is designed to validate.
+ // The AdmissionPolicy cares about a request if it matches _all_ Constraints.
+ // However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API
+ // ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding.
+ // Required.
+ optional MatchResources matchConstraints = 2;
+
+ // Validations contain CEL expressions which is used to apply the validation.
+ // Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is
+ // required.
+ // +listType=atomic
+ // +optional
+ repeated Validation validations = 3;
+
+ // failurePolicy defines how to handle failures for the admission policy. Failures can
+ // occur from CEL expression parse errors, type check errors, runtime errors and invalid
+ // or mis-configured policy definitions or bindings.
+ //
+ // A policy is invalid if spec.paramKind refers to a non-existent Kind.
+ // A binding is invalid if spec.paramRef.name refers to a non-existent resource.
+ //
+ // failurePolicy does not define how validations that evaluate to false are handled.
+ //
+ // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions
+ // define how failures are enforced.
+ //
+ // Allowed values are Ignore or Fail. Defaults to Fail.
+ // +optional
+ optional string failurePolicy = 4;
+
+ // auditAnnotations contains CEL expressions which are used to produce audit
+ // annotations for the audit event of the API request.
+ // validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is
+ // required.
+ // +listType=atomic
+ // +optional
+ repeated AuditAnnotation auditAnnotations = 5;
+
+ // MatchConditions is a list of conditions that must be met for a request to be validated.
+ // Match conditions filter requests that have already been matched by the rules,
+ // namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.
+ // There are a maximum of 64 match conditions allowed.
+ //
+ // If a parameter object is provided, it can be accessed via the `params` handle in the same
+ // manner as validation expressions.
+ //
+ // The exact matching logic is (in order):
+ // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
+ // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
+ // 3. If any matchCondition evaluates to an error (but none are FALSE):
+ // - If failurePolicy=Fail, reject the request
+ // - If failurePolicy=Ignore, the policy is skipped
+ //
+ // +patchMergeKey=name
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
+ // +optional
+ repeated MatchCondition matchConditions = 6;
+
+ // Variables contain definitions of variables that can be used in composition of other expressions.
+ // Each variable is defined as a named CEL expression.
+ // The variables defined here will be available under `variables` in other expressions of the policy
+ // except MatchConditions because MatchConditions are evaluated before the rest of the policy.
+ //
+ // The expression of a variable can refer to other variables defined earlier in the list but not those after.
+ // Thus, Variables must be sorted by the order of first appearance and acyclic.
+ // +patchMergeKey=name
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
+ // +optional
+ repeated Variable variables = 7;
+}
+
+// ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
+message ValidatingAdmissionPolicyStatus {
+ // The generation observed by the controller.
+ // +optional
+ optional int64 observedGeneration = 1;
+
+ // The results of type checking for each expression.
+ // Presence of this field indicates the completion of the type checking.
+ // +optional
+ optional TypeChecking typeChecking = 2;
+
+ // The conditions represent the latest available observations of a policy's current state.
+ // +optional
+ // +listType=map
+ // +listMapKey=type
+ repeated k8s.io.apimachinery.pkg.apis.meta.v1.Condition conditions = 3;
+}
+
// ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
message ValidatingWebhook {
// The name of the admission webhook.
@@ -352,6 +822,7 @@ message ValidatingWebhook {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
repeated RuleWithOperations rules = 3;
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -459,6 +930,7 @@ message ValidatingWebhook {
// If a persisted webhook configuration specifies allowed versions and does not
// include any versions known to the API Server, calls to the webhook will fail
// and be subject to the failure policy.
+ // +listType=atomic
repeated string admissionReviewVersions = 8;
// MatchConditions is a list of conditions that must be met for a request to be sent to this
@@ -473,13 +945,10 @@ message ValidatingWebhook {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
repeated MatchCondition matchConditions = 11;
}
@@ -494,6 +963,8 @@ message ValidatingWebhookConfiguration {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated ValidatingWebhook Webhooks = 2;
}
@@ -508,6 +979,97 @@ message ValidatingWebhookConfigurationList {
repeated ValidatingWebhookConfiguration items = 2;
}
+// Validation specifies the CEL expression which is used to apply the validation.
+message Validation {
+ // Expression represents the expression which will be evaluated by CEL.
+ // ref: https://github.com/google/cel-spec
+ // CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
+ //
+ // - 'object' - The object from the incoming request. The value is null for DELETE requests.
+ // - 'oldObject' - The existing object. The value is null for CREATE requests.
+ // - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)).
+ // - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind.
+ // - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources.
+ // - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
+ // For example, a variable named 'foo' can be accessed as 'variables.foo'.
+ // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
+ // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
+ // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
+ // request resource.
+ //
+ // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the
+ // object. No other metadata properties are accessible.
+ //
+ // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible.
+ // Accessible property names are escaped according to the following rules when accessed in the expression:
+ // - '__' escapes to '__underscores__'
+ // - '.' escapes to '__dot__'
+ // - '-' escapes to '__dash__'
+ // - '/' escapes to '__slash__'
+ // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
+ // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
+ // "import", "let", "loop", "package", "namespace", "return".
+ // Examples:
+ // - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
+ // - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
+ // - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
+ //
+ // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1].
+ // Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
+ // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
+ // non-intersecting elements in `Y` are appended, retaining their partial order.
+ // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
+ // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
+ // non-intersecting keys are appended, retaining their partial order.
+ // Required.
+ optional string Expression = 1;
+
+ // Message represents the message displayed when validation fails. The message is required if the Expression contains
+ // line breaks. The message must not contain line breaks.
+ // If unset, the message is "failed rule: {Rule}".
+ // e.g. "must be a URL with the host matching spec.host"
+ // If the Expression contains line breaks. Message is required.
+ // The message must not contain line breaks.
+ // If unset, the message is "failed Expression: {Expression}".
+ // +optional
+ optional string message = 2;
+
+ // Reason represents a machine-readable description of why this validation failed.
+ // If this is the first validation in the list to fail, this reason, as well as the
+ // corresponding HTTP response code, are used in the
+ // HTTP response to the client.
+ // The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge".
+ // If not set, StatusReasonInvalid is used in the response to the client.
+ // +optional
+ optional string reason = 3;
+
+ // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.
+ // Since messageExpression is used as a failure message, it must evaluate to a string.
+ // If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails.
+ // If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced
+ // as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string
+ // that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and
+ // the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged.
+ // messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'.
+ // Example:
+ // "object.x must be less than max ("+string(params.max)+")"
+ // +optional
+ optional string messageExpression = 4;
+}
+
+// Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
+// +structType=atomic
+message Variable {
+ // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables.
+ // The variable can be accessed in other expressions through `variables`
+ // For example, if name is "foo", the variable will be available as `variables.foo`
+ optional string Name = 1;
+
+ // Expression is the expression that will be evaluated as the value of the variable.
+ // The CEL expression has access to the same identifiers as the CEL expressions in Validation.
+ optional string Expression = 2;
+}
+
// WebhookClientConfig contains the information to make a TLS
// connection with the webhook
message WebhookClientConfig {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/register.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/register.go
index e42a8bce3b..da74379ce2 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/register.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/register.go
@@ -50,6 +50,10 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ValidatingWebhookConfigurationList{},
&MutatingWebhookConfiguration{},
&MutatingWebhookConfigurationList{},
+ &ValidatingAdmissionPolicy{},
+ &ValidatingAdmissionPolicyList{},
+ &ValidatingAdmissionPolicyBinding{},
+ &ValidatingAdmissionPolicyBindingList{},
)
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types.go
index 07ed7a6246..0510712b24 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types.go
@@ -91,6 +91,18 @@ const (
Fail FailurePolicyType = "Fail"
)
+// ParameterNotFoundActionType specifies a failure policy that defines how a binding
+// is evaluated when the param referred by its perNamespaceParamRef is not found.
+type ParameterNotFoundActionType string
+
+const (
+ // Allow means all requests will be admitted if no param resources
+ // could be found.
+ AllowAction ParameterNotFoundActionType = "Allow"
+ // Deny means all requests will be denied if no param resources are found.
+ DenyAction ParameterNotFoundActionType = "Deny"
+)
+
// MatchPolicyType specifies the type of match policy.
// +enum
type MatchPolicyType string
@@ -120,6 +132,584 @@ const (
SideEffectClassNoneOnDryRun SideEffectClass = "NoneOnDryRun"
)
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +genclient
+// +genclient:nonNamespaced
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+// ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
+type ValidatingAdmissionPolicy struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
+ // +optional
+ metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // Specification of the desired behavior of the ValidatingAdmissionPolicy.
+ Spec ValidatingAdmissionPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
+ // The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy
+ // behaves in the expected way.
+ // Populated by the system.
+ // Read-only.
+ // +optional
+ Status ValidatingAdmissionPolicyStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
+}
+
+// ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
+type ValidatingAdmissionPolicyStatus struct {
+ // The generation observed by the controller.
+ // +optional
+ ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"`
+ // The results of type checking for each expression.
+ // Presence of this field indicates the completion of the type checking.
+ // +optional
+ TypeChecking *TypeChecking `json:"typeChecking,omitempty" protobuf:"bytes,2,opt,name=typeChecking"`
+ // The conditions represent the latest available observations of a policy's current state.
+ // +optional
+ // +listType=map
+ // +listMapKey=type
+ Conditions []metav1.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
+}
+
+// ValidatingAdmissionPolicyConditionType is the condition type of admission validation policy.
+type ValidatingAdmissionPolicyConditionType string
+
+// TypeChecking contains results of type checking the expressions in the
+// ValidatingAdmissionPolicy
+type TypeChecking struct {
+ // The type checking warnings for each expression.
+ // +optional
+ // +listType=atomic
+ ExpressionWarnings []ExpressionWarning `json:"expressionWarnings,omitempty" protobuf:"bytes,1,rep,name=expressionWarnings"`
+}
+
+// ExpressionWarning is a warning information that targets a specific expression.
+type ExpressionWarning struct {
+ // The path to the field that refers the expression.
+ // For example, the reference to the expression of the first item of
+ // validations is "spec.validations[0].expression"
+ FieldRef string `json:"fieldRef" protobuf:"bytes,2,opt,name=fieldRef"`
+ // The content of type checking information in a human-readable form.
+ // Each line of the warning contains the type that the expression is checked
+ // against, followed by the type check error from the compiler.
+ Warning string `json:"warning" protobuf:"bytes,3,opt,name=warning"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+// ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.
+type ValidatingAdmissionPolicyList struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard list metadata.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+ // +optional
+ metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // List of ValidatingAdmissionPolicy.
+ Items []ValidatingAdmissionPolicy `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
+}
+
+// ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
+type ValidatingAdmissionPolicySpec struct {
+ // ParamKind specifies the kind of resources used to parameterize this policy.
+ // If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions.
+ // If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied.
+ // If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.
+ // +optional
+ ParamKind *ParamKind `json:"paramKind,omitempty" protobuf:"bytes,1,rep,name=paramKind"`
+
+ // MatchConstraints specifies what resources this policy is designed to validate.
+ // The AdmissionPolicy cares about a request if it matches _all_ Constraints.
+ // However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API
+ // ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding.
+ // Required.
+ MatchConstraints *MatchResources `json:"matchConstraints,omitempty" protobuf:"bytes,2,rep,name=matchConstraints"`
+
+ // Validations contain CEL expressions which is used to apply the validation.
+ // Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is
+ // required.
+ // +listType=atomic
+ // +optional
+ Validations []Validation `json:"validations,omitempty" protobuf:"bytes,3,rep,name=validations"`
+
+ // failurePolicy defines how to handle failures for the admission policy. Failures can
+ // occur from CEL expression parse errors, type check errors, runtime errors and invalid
+ // or mis-configured policy definitions or bindings.
+ //
+ // A policy is invalid if spec.paramKind refers to a non-existent Kind.
+ // A binding is invalid if spec.paramRef.name refers to a non-existent resource.
+ //
+ // failurePolicy does not define how validations that evaluate to false are handled.
+ //
+ // When failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions
+ // define how failures are enforced.
+ //
+ // Allowed values are Ignore or Fail. Defaults to Fail.
+ // +optional
+ FailurePolicy *FailurePolicyType `json:"failurePolicy,omitempty" protobuf:"bytes,4,opt,name=failurePolicy,casttype=FailurePolicyType"`
+
+ // auditAnnotations contains CEL expressions which are used to produce audit
+ // annotations for the audit event of the API request.
+ // validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is
+ // required.
+ // +listType=atomic
+ // +optional
+ AuditAnnotations []AuditAnnotation `json:"auditAnnotations,omitempty" protobuf:"bytes,5,rep,name=auditAnnotations"`
+
+ // MatchConditions is a list of conditions that must be met for a request to be validated.
+ // Match conditions filter requests that have already been matched by the rules,
+ // namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests.
+ // There are a maximum of 64 match conditions allowed.
+ //
+ // If a parameter object is provided, it can be accessed via the `params` handle in the same
+ // manner as validation expressions.
+ //
+ // The exact matching logic is (in order):
+ // 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.
+ // 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.
+ // 3. If any matchCondition evaluates to an error (but none are FALSE):
+ // - If failurePolicy=Fail, reject the request
+ // - If failurePolicy=Ignore, the policy is skipped
+ //
+ // +patchMergeKey=name
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
+ // +optional
+ MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,6,rep,name=matchConditions"`
+
+ // Variables contain definitions of variables that can be used in composition of other expressions.
+ // Each variable is defined as a named CEL expression.
+ // The variables defined here will be available under `variables` in other expressions of the policy
+ // except MatchConditions because MatchConditions are evaluated before the rest of the policy.
+ //
+ // The expression of a variable can refer to other variables defined earlier in the list but not those after.
+ // Thus, Variables must be sorted by the order of first appearance and acyclic.
+ // +patchMergeKey=name
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
+ // +optional
+ Variables []Variable `json:"variables,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=variables"`
+}
+
+// ParamKind is a tuple of Group Kind and Version.
+// +structType=atomic
+type ParamKind struct {
+ // APIVersion is the API group version the resources belong to.
+ // In format of "group/version".
+ // Required.
+ APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,1,rep,name=apiVersion"`
+
+ // Kind is the API kind the resources belong to.
+ // Required.
+ Kind string `json:"kind,omitempty" protobuf:"bytes,2,rep,name=kind"`
+}
+
+// Validation specifies the CEL expression which is used to apply the validation.
+type Validation struct {
+ // Expression represents the expression which will be evaluated by CEL.
+ // ref: https://github.com/google/cel-spec
+ // CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
+ //
+ // - 'object' - The object from the incoming request. The value is null for DELETE requests.
+ // - 'oldObject' - The existing object. The value is null for CREATE requests.
+ // - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)).
+ // - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind.
+ // - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources.
+ // - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
+ // For example, a variable named 'foo' can be accessed as 'variables.foo'.
+ // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
+ // See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
+ // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
+ // request resource.
+ //
+ // The `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the
+ // object. No other metadata properties are accessible.
+ //
+ // Only property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible.
+ // Accessible property names are escaped according to the following rules when accessed in the expression:
+ // - '__' escapes to '__underscores__'
+ // - '.' escapes to '__dot__'
+ // - '-' escapes to '__dash__'
+ // - '/' escapes to '__slash__'
+ // - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:
+ // "true", "false", "null", "in", "as", "break", "const", "continue", "else", "for", "function", "if",
+ // "import", "let", "loop", "package", "namespace", "return".
+ // Examples:
+ // - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
+ // - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
+ // - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
+ //
+ // Equality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1].
+ // Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:
+ // - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and
+ // non-intersecting elements in `Y` are appended, retaining their partial order.
+ // - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values
+ // are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
+ // non-intersecting keys are appended, retaining their partial order.
+ // Required.
+ Expression string `json:"expression" protobuf:"bytes,1,opt,name=Expression"`
+ // Message represents the message displayed when validation fails. The message is required if the Expression contains
+ // line breaks. The message must not contain line breaks.
+ // If unset, the message is "failed rule: {Rule}".
+ // e.g. "must be a URL with the host matching spec.host"
+ // If the Expression contains line breaks. Message is required.
+ // The message must not contain line breaks.
+ // If unset, the message is "failed Expression: {Expression}".
+ // +optional
+ Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`
+ // Reason represents a machine-readable description of why this validation failed.
+ // If this is the first validation in the list to fail, this reason, as well as the
+ // corresponding HTTP response code, are used in the
+ // HTTP response to the client.
+ // The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge".
+ // If not set, StatusReasonInvalid is used in the response to the client.
+ // +optional
+ Reason *metav1.StatusReason `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
+ // messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails.
+ // Since messageExpression is used as a failure message, it must evaluate to a string.
+ // If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails.
+ // If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced
+ // as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string
+ // that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and
+ // the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged.
+ // messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'.
+ // Example:
+ // "object.x must be less than max ("+string(params.max)+")"
+ // +optional
+ MessageExpression string `json:"messageExpression,omitempty" protobuf:"bytes,4,opt,name=messageExpression"`
+}
+
+// Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
+// +structType=atomic
+type Variable struct {
+ // Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables.
+ // The variable can be accessed in other expressions through `variables`
+ // For example, if name is "foo", the variable will be available as `variables.foo`
+ Name string `json:"name" protobuf:"bytes,1,opt,name=Name"`
+
+ // Expression is the expression that will be evaluated as the value of the variable.
+ // The CEL expression has access to the same identifiers as the CEL expressions in Validation.
+ Expression string `json:"expression" protobuf:"bytes,2,opt,name=Expression"`
+}
+
+// AuditAnnotation describes how to produce an audit annotation for an API request.
+type AuditAnnotation struct {
+ // key specifies the audit annotation key. The audit annotation keys of
+ // a ValidatingAdmissionPolicy must be unique. The key must be a qualified
+ // name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
+ //
+ // The key is combined with the resource name of the
+ // ValidatingAdmissionPolicy to construct an audit annotation key:
+ // "{ValidatingAdmissionPolicy name}/{key}".
+ //
+ // If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy
+ // and the same audit annotation key, the annotation key will be identical.
+ // In this case, the first annotation written with the key will be included
+ // in the audit event and all subsequent annotations with the same key
+ // will be discarded.
+ //
+ // Required.
+ Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
+
+ // valueExpression represents the expression which is evaluated by CEL to
+ // produce an audit annotation value. The expression must evaluate to either
+ // a string or null value. If the expression evaluates to a string, the
+ // audit annotation is included with the string value. If the expression
+ // evaluates to null or empty string the audit annotation will be omitted.
+ // The valueExpression may be no longer than 5kb in length.
+ // If the result of the valueExpression is more than 10kb in length, it
+ // will be truncated to 10kb.
+ //
+ // If multiple ValidatingAdmissionPolicyBinding resources match an
+ // API request, then the valueExpression will be evaluated for
+ // each binding. All unique values produced by the valueExpressions
+ // will be joined together in a comma-separated list.
+ //
+ // Required.
+ ValueExpression string `json:"valueExpression" protobuf:"bytes,2,opt,name=valueExpression"`
+}
+
+// +genclient
+// +genclient:nonNamespaced
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources.
+// ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.
+//
+// For a given admission request, each binding will cause its policy to be
+// evaluated N times, where N is 1 for policies/bindings that don't use
+// params, otherwise N is the number of parameters selected by the binding.
+//
+// The CEL expressions of a policy must have a computed CEL cost below the maximum
+// CEL budget. Each evaluation of the policy is given an independent CEL cost budget.
+// Adding/removing policies, bindings, or params can not affect whether a
+// given (policy, binding, param) combination is within its own CEL budget.
+type ValidatingAdmissionPolicyBinding struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
+ // +optional
+ metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
+ Spec ValidatingAdmissionPolicyBindingSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.
+type ValidatingAdmissionPolicyBindingList struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard list metadata.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
+ // +optional
+ metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // List of PolicyBinding.
+ Items []ValidatingAdmissionPolicyBinding `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
+}
+
+// ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
+type ValidatingAdmissionPolicyBindingSpec struct {
+ // PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to.
+ // If the referenced resource does not exist, this binding is considered invalid and will be ignored
+ // Required.
+ PolicyName string `json:"policyName,omitempty" protobuf:"bytes,1,rep,name=policyName"`
+
+ // paramRef specifies the parameter resource used to configure the admission control policy.
+ // It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy.
+ // If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied.
+ // If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
+ // +optional
+ ParamRef *ParamRef `json:"paramRef,omitempty" protobuf:"bytes,2,rep,name=paramRef"`
+
+ // MatchResources declares what resources match this binding and will be validated by it.
+ // Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this.
+ // If this is unset, all resources matched by the policy are validated by this binding
+ // When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated.
+ // Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
+ // +optional
+ MatchResources *MatchResources `json:"matchResources,omitempty" protobuf:"bytes,3,rep,name=matchResources"`
+
+ // validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced.
+ // If a validation evaluates to false it is always enforced according to these actions.
+ //
+ // Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according
+ // to these actions only if the FailurePolicy is set to Fail, otherwise the failures are
+ // ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
+ //
+ // validationActions is declared as a set of action values. Order does
+ // not matter. validationActions may not contain duplicates of the same action.
+ //
+ // The supported actions values are:
+ //
+ // "Deny" specifies that a validation failure results in a denied request.
+ //
+ // "Warn" specifies that a validation failure is reported to the request client
+ // in HTTP Warning headers, with a warning code of 299. Warnings can be sent
+ // both for allowed or denied admission responses.
+ //
+ // "Audit" specifies that a validation failure is included in the published
+ // audit event for the request. The audit event will contain a
+ // `validation.policy.admission.k8s.io/validation_failure` audit annotation
+ // with a value containing the details of the validation failures, formatted as
+ // a JSON list of objects, each with the following fields:
+ // - message: The validation failure message string
+ // - policy: The resource name of the ValidatingAdmissionPolicy
+ // - binding: The resource name of the ValidatingAdmissionPolicyBinding
+ // - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy
+ // - validationActions: The enforcement actions enacted for the validation failure
+ // Example audit annotation:
+ // `"validation.policy.admission.k8s.io/validation_failure": "[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]"`
+ //
+ // Clients should expect to handle additional values by ignoring
+ // any values not recognized.
+ //
+ // "Deny" and "Warn" may not be used together since this combination
+ // needlessly duplicates the validation failure both in the
+ // API response body and the HTTP warning headers.
+ //
+ // Required.
+ // +listType=set
+ ValidationActions []ValidationAction `json:"validationActions,omitempty" protobuf:"bytes,4,rep,name=validationActions"`
+}
+
+// ParamRef describes how to locate the params to be used as input to
+// expressions of rules applied by a policy binding.
+// +structType=atomic
+type ParamRef struct {
+ // name is the name of the resource being referenced.
+ //
+ // One of `name` or `selector` must be set, but `name` and `selector` are
+ // mutually exclusive properties. If one is set, the other must be unset.
+ //
+ // A single parameter used for all admission requests can be configured
+ // by setting the `name` field, leaving `selector` blank, and setting namespace
+ // if `paramKind` is namespace-scoped.
+ //
+ Name string `json:"name,omitempty" protobuf:"bytes,1,rep,name=name"`
+
+ // namespace is the namespace of the referenced resource. Allows limiting
+ // the search for params to a specific namespace. Applies to both `name` and
+ // `selector` fields.
+ //
+ // A per-namespace parameter may be used by specifying a namespace-scoped
+ // `paramKind` in the policy and leaving this field empty.
+ //
+ // - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this
+ // field results in a configuration error.
+ //
+ // - If `paramKind` is namespace-scoped, the namespace of the object being
+ // evaluated for admission will be used when this field is left unset. Take
+ // care that if this is left empty the binding must not match any cluster-scoped
+ // resources, which will result in an error.
+ //
+ // +optional
+ Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,rep,name=namespace"`
+
+ // selector can be used to match multiple param objects based on their labels.
+ // Supply selector: {} to match all resources of the ParamKind.
+ //
+ // If multiple params are found, they are all evaluated with the policy expressions
+ // and the results are ANDed together.
+ //
+ // One of `name` or `selector` must be set, but `name` and `selector` are
+ // mutually exclusive properties. If one is set, the other must be unset.
+ //
+ // +optional
+ Selector *metav1.LabelSelector `json:"selector,omitempty" protobuf:"bytes,3,rep,name=selector"`
+
+ // `parameterNotFoundAction` controls the behavior of the binding when the resource
+ // exists, and name or selector is valid, but there are no parameters
+ // matched by the binding. If the value is set to `Allow`, then no
+ // matched parameters will be treated as successful validation by the binding.
+ // If set to `Deny`, then no matched parameters will be subject to the
+ // `failurePolicy` of the policy.
+ //
+ // Allowed values are `Allow` or `Deny`
+ //
+ // Required
+ ParameterNotFoundAction *ParameterNotFoundActionType `json:"parameterNotFoundAction,omitempty" protobuf:"bytes,4,rep,name=parameterNotFoundAction"`
+}
+
+// MatchResources decides whether to run the admission control policy on an object based
+// on whether it meets the match criteria.
+// The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
+// +structType=atomic
+type MatchResources struct {
+ // NamespaceSelector decides whether to run the admission control policy on an object based
+ // on whether the namespace for that object matches the selector. If the
+ // object itself is a namespace, the matching is performed on
+ // object.metadata.labels. If the object is another cluster scoped resource,
+ // it never skips the policy.
+ //
+ // For example, to run the webhook on any objects whose namespace is not
+ // associated with "runlevel" of "0" or "1"; you will set the selector as
+ // follows:
+ // "namespaceSelector": {
+ // "matchExpressions": [
+ // {
+ // "key": "runlevel",
+ // "operator": "NotIn",
+ // "values": [
+ // "0",
+ // "1"
+ // ]
+ // }
+ // ]
+ // }
+ //
+ // If instead you want to only run the policy on any objects whose
+ // namespace is associated with the "environment" of "prod" or "staging";
+ // you will set the selector as follows:
+ // "namespaceSelector": {
+ // "matchExpressions": [
+ // {
+ // "key": "environment",
+ // "operator": "In",
+ // "values": [
+ // "prod",
+ // "staging"
+ // ]
+ // }
+ // ]
+ // }
+ //
+ // See
+ // https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
+ // for more examples of label selectors.
+ //
+ // Default to the empty LabelSelector, which matches everything.
+ // +optional
+ NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,1,opt,name=namespaceSelector"`
+ // ObjectSelector decides whether to run the validation based on if the
+ // object has matching labels. objectSelector is evaluated against both
+ // the oldObject and newObject that would be sent to the cel validation, and
+ // is considered to match if either object matches the selector. A null
+ // object (oldObject in the case of create, or newObject in the case of
+ // delete) or an object that cannot have labels (like a
+ // DeploymentRollback or a PodProxyOptions object) is not considered to
+ // match.
+ // Use the object selector only if the webhook is opt-in, because end
+ // users may skip the admission webhook by setting the labels.
+ // Default to the empty LabelSelector, which matches everything.
+ // +optional
+ ObjectSelector *metav1.LabelSelector `json:"objectSelector,omitempty" protobuf:"bytes,2,opt,name=objectSelector"`
+ // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.
+ // The policy cares about an operation if it matches _any_ Rule.
+ // +listType=atomic
+ // +optional
+ ResourceRules []NamedRuleWithOperations `json:"resourceRules,omitempty" protobuf:"bytes,3,rep,name=resourceRules"`
+ // ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about.
+ // The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
+ // +listType=atomic
+ // +optional
+ ExcludeResourceRules []NamedRuleWithOperations `json:"excludeResourceRules,omitempty" protobuf:"bytes,4,rep,name=excludeResourceRules"`
+ // matchPolicy defines how the "MatchResources" list is used to match incoming requests.
+ // Allowed values are "Exact" or "Equivalent".
+ //
+ // - Exact: match a request only if it exactly matches a specified rule.
+ // For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1,
+ // but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`,
+ // a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
+ //
+ // - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version.
+ // For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1,
+ // and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`,
+ // a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.
+ //
+ // Defaults to "Equivalent"
+ // +optional
+ MatchPolicy *MatchPolicyType `json:"matchPolicy,omitempty" protobuf:"bytes,7,opt,name=matchPolicy,casttype=MatchPolicyType"`
+}
+
+// ValidationAction specifies a policy enforcement action.
+// +enum
+type ValidationAction string
+
+const (
+ // Deny specifies that a validation failure results in a denied request.
+ Deny ValidationAction = "Deny"
+ // Warn specifies that a validation failure is reported to the request client
+ // in HTTP Warning headers, with a warning code of 299. Warnings can be sent
+ // both for allowed or denied admission responses.
+ Warn ValidationAction = "Warn"
+ // Audit specifies that a validation failure is included in the published
+ // audit event for the request. The audit event will contain a
+ // `validation.policy.admission.k8s.io/validation_failure` audit annotation
+ // with a value containing the details of the validation failure.
+ Audit ValidationAction = "Audit"
+)
+
+// NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
+// +structType=atomic
+type NamedRuleWithOperations struct {
+ // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
+ // +listType=atomic
+ // +optional
+ ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,1,rep,name=resourceNames"`
+ // RuleWithOperations is a tuple of Operations and Resources.
+ RuleWithOperations `json:",inline" protobuf:"bytes,2,opt,name=ruleWithOperations"`
+}
+
// +genclient
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
@@ -134,6 +724,8 @@ type ValidatingWebhookConfiguration struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Webhooks []ValidatingWebhook `json:"webhooks,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=Webhooks"`
}
@@ -164,6 +756,8 @@ type MutatingWebhookConfiguration struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Webhooks []MutatingWebhook `json:"webhooks,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=Webhooks"`
}
@@ -199,6 +793,7 @@ type ValidatingWebhook struct {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
Rules []RuleWithOperations `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -306,6 +901,7 @@ type ValidatingWebhook struct {
// If a persisted webhook configuration specifies allowed versions and does not
// include any versions known to the API Server, calls to the webhook will fail
// and be subject to the failure policy.
+ // +listType=atomic
AdmissionReviewVersions []string `json:"admissionReviewVersions" protobuf:"bytes,8,rep,name=admissionReviewVersions"`
// MatchConditions is a list of conditions that must be met for a request to be sent to this
@@ -320,13 +916,10 @@ type ValidatingWebhook struct {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,11,opt,name=matchConditions"`
}
@@ -350,6 +943,7 @@ type MutatingWebhook struct {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
Rules []RuleWithOperations `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -457,6 +1051,7 @@ type MutatingWebhook struct {
// If a persisted webhook configuration specifies allowed versions and does not
// include any versions known to the API Server, calls to the webhook will fail
// and be subject to the failure policy.
+ // +listType=atomic
AdmissionReviewVersions []string `json:"admissionReviewVersions" protobuf:"bytes,8,rep,name=admissionReviewVersions"`
// reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.
@@ -489,13 +1084,10 @@ type MutatingWebhook struct {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,12,opt,name=matchConditions"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go
index c41cceb2f2..f43139505d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go
@@ -27,6 +27,26 @@ package v1
// Those methods can be generated by using hack/update-codegen.sh
// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
+var map_AuditAnnotation = map[string]string{
+ "": "AuditAnnotation describes how to produce an audit annotation for an API request.",
+ "key": "key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.\n\nThe key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: \"{ValidatingAdmissionPolicy name}/{key}\".\n\nIf an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.\n\nRequired.",
+ "valueExpression": "valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.\n\nIf multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.\n\nRequired.",
+}
+
+func (AuditAnnotation) SwaggerDoc() map[string]string {
+ return map_AuditAnnotation
+}
+
+var map_ExpressionWarning = map[string]string{
+ "": "ExpressionWarning is a warning information that targets a specific expression.",
+ "fieldRef": "The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is \"spec.validations[0].expression\"",
+ "warning": "The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.",
+}
+
+func (ExpressionWarning) SwaggerDoc() map[string]string {
+ return map_ExpressionWarning
+}
+
var map_MatchCondition = map[string]string{
"": "MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.",
"name": "Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')\n\nRequired.",
@@ -37,6 +57,19 @@ func (MatchCondition) SwaggerDoc() map[string]string {
return map_MatchCondition
}
+var map_MatchResources = map[string]string{
+ "": "MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
+ "namespaceSelector": "NamespaceSelector decides whether to run the admission control policy on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the policy.\n\nFor example, to run the webhook on any objects whose namespace is not associated with \"runlevel\" of \"0\" or \"1\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"runlevel\",\n \"operator\": \"NotIn\",\n \"values\": [\n \"0\",\n \"1\"\n ]\n }\n ]\n}\n\nIf instead you want to only run the policy on any objects whose namespace is associated with the \"environment\" of \"prod\" or \"staging\"; you will set the selector as follows: \"namespaceSelector\": {\n \"matchExpressions\": [\n {\n \"key\": \"environment\",\n \"operator\": \"In\",\n \"values\": [\n \"prod\",\n \"staging\"\n ]\n }\n ]\n}\n\nSee https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ for more examples of label selectors.\n\nDefault to the empty LabelSelector, which matches everything.",
+ "objectSelector": "ObjectSelector decides whether to run the validation based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the cel validation, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.",
+ "resourceRules": "ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches. The policy cares about an operation if it matches _any_ Rule.",
+ "excludeResourceRules": "ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)",
+ "matchPolicy": "matchPolicy defines how the \"MatchResources\" list is used to match incoming requests. Allowed values are \"Exact\" or \"Equivalent\".\n\n- Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.\n\n- Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and \"rules\" only included `apiGroups:[\"apps\"], apiVersions:[\"v1\"], resources: [\"deployments\"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the ValidatingAdmissionPolicy.\n\nDefaults to \"Equivalent\"",
+}
+
+func (MatchResources) SwaggerDoc() map[string]string {
+ return map_MatchResources
+}
+
var map_MutatingWebhook = map[string]string{
"": "MutatingWebhook describes an admission webhook and the resources and operations it applies to.",
"name": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
@@ -50,7 +83,7 @@ var map_MutatingWebhook = map[string]string{
"timeoutSeconds": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.",
"admissionReviewVersions": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.",
"reinvocationPolicy": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".",
- "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped\n\nThis is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.",
+ "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped",
}
func (MutatingWebhook) SwaggerDoc() map[string]string {
@@ -77,6 +110,37 @@ func (MutatingWebhookConfigurationList) SwaggerDoc() map[string]string {
return map_MutatingWebhookConfigurationList
}
+var map_NamedRuleWithOperations = map[string]string{
+ "": "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
+ "resourceNames": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.",
+}
+
+func (NamedRuleWithOperations) SwaggerDoc() map[string]string {
+ return map_NamedRuleWithOperations
+}
+
+var map_ParamKind = map[string]string{
+ "": "ParamKind is a tuple of Group Kind and Version.",
+ "apiVersion": "APIVersion is the API group version the resources belong to. In format of \"group/version\". Required.",
+ "kind": "Kind is the API kind the resources belong to. Required.",
+}
+
+func (ParamKind) SwaggerDoc() map[string]string {
+ return map_ParamKind
+}
+
+var map_ParamRef = map[string]string{
+ "": "ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.",
+ "name": "name is the name of the resource being referenced.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.\n\nA single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.",
+ "namespace": "namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.\n\nA per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.\n\n- If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.\n\n- If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.",
+ "selector": "selector can be used to match multiple param objects based on their labels. Supply selector: {} to match all resources of the ParamKind.\n\nIf multiple params are found, they are all evaluated with the policy expressions and the results are ANDed together.\n\nOne of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.",
+ "parameterNotFoundAction": "`parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.\n\nAllowed values are `Allow` or `Deny`\n\nRequired",
+}
+
+func (ParamRef) SwaggerDoc() map[string]string {
+ return map_ParamRef
+}
+
var map_Rule = map[string]string{
"": "Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended to make sure that all the tuple expansions are valid.",
"apiGroups": "APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.",
@@ -110,6 +174,94 @@ func (ServiceReference) SwaggerDoc() map[string]string {
return map_ServiceReference
}
+var map_TypeChecking = map[string]string{
+ "": "TypeChecking contains results of type checking the expressions in the ValidatingAdmissionPolicy",
+ "expressionWarnings": "The type checking warnings for each expression.",
+}
+
+func (TypeChecking) SwaggerDoc() map[string]string {
+ return map_TypeChecking
+}
+
+var map_ValidatingAdmissionPolicy = map[string]string{
+ "": "ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.",
+ "metadata": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.",
+ "spec": "Specification of the desired behavior of the ValidatingAdmissionPolicy.",
+ "status": "The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.",
+}
+
+func (ValidatingAdmissionPolicy) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicy
+}
+
+var map_ValidatingAdmissionPolicyBinding = map[string]string{
+ "": "ValidatingAdmissionPolicyBinding binds the ValidatingAdmissionPolicy with paramerized resources. ValidatingAdmissionPolicyBinding and parameter CRDs together define how cluster administrators configure policies for clusters.\n\nFor a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.\n\nThe CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.",
+ "metadata": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.",
+ "spec": "Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.",
+}
+
+func (ValidatingAdmissionPolicyBinding) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicyBinding
+}
+
+var map_ValidatingAdmissionPolicyBindingList = map[string]string{
+ "": "ValidatingAdmissionPolicyBindingList is a list of ValidatingAdmissionPolicyBinding.",
+ "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "items": "List of PolicyBinding.",
+}
+
+func (ValidatingAdmissionPolicyBindingList) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicyBindingList
+}
+
+var map_ValidatingAdmissionPolicyBindingSpec = map[string]string{
+ "": "ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.",
+ "policyName": "PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.",
+ "paramRef": "paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.",
+ "matchResources": "MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.",
+ "validationActions": "validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.\n\nFailures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.\n\nvalidationActions is declared as a set of action values. Order does not matter. validationActions may not contain duplicates of the same action.\n\nThe supported actions values are:\n\n\"Deny\" specifies that a validation failure results in a denied request.\n\n\"Warn\" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.\n\n\"Audit\" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `\"validation.policy.admission.k8s.io/validation_failure\": \"[{\"message\": \"Invalid value\", {\"policy\": \"policy.example.com\", {\"binding\": \"policybinding.example.com\", {\"expressionIndex\": \"1\", {\"validationActions\": [\"Audit\"]}]\"`\n\nClients should expect to handle additional values by ignoring any values not recognized.\n\n\"Deny\" and \"Warn\" may not be used together since this combination needlessly duplicates the validation failure both in the API response body and the HTTP warning headers.\n\nRequired.",
+}
+
+func (ValidatingAdmissionPolicyBindingSpec) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicyBindingSpec
+}
+
+var map_ValidatingAdmissionPolicyList = map[string]string{
+ "": "ValidatingAdmissionPolicyList is a list of ValidatingAdmissionPolicy.",
+ "metadata": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
+ "items": "List of ValidatingAdmissionPolicy.",
+}
+
+func (ValidatingAdmissionPolicyList) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicyList
+}
+
+var map_ValidatingAdmissionPolicySpec = map[string]string{
+ "": "ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.",
+ "paramKind": "ParamKind specifies the kind of resources used to parameterize this policy. If absent, there are no parameters for this policy and the param CEL variable will not be provided to validation expressions. If ParamKind refers to a non-existent kind, this policy definition is mis-configured and the FailurePolicy is applied. If paramKind is specified but paramRef is unset in ValidatingAdmissionPolicyBinding, the params variable will be null.",
+ "matchConstraints": "MatchConstraints specifies what resources this policy is designed to validate. The AdmissionPolicy cares about a request if it matches _all_ Constraints. However, in order to prevent clusters from being put into an unstable state that cannot be recovered from via the API ValidatingAdmissionPolicy cannot match ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding. Required.",
+ "validations": "Validations contain CEL expressions which is used to apply the validation. Validations and AuditAnnotations may not both be empty; a minimum of one Validations or AuditAnnotations is required.",
+ "failurePolicy": "failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.\n\nA policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.\n\nfailurePolicy does not define how validations that evaluate to false are handled.\n\nWhen failurePolicy is set to Fail, ValidatingAdmissionPolicyBinding validationActions define how failures are enforced.\n\nAllowed values are Ignore or Fail. Defaults to Fail.",
+ "auditAnnotations": "auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.",
+ "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be validated. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nIf a parameter object is provided, it can be accessed via the `params` handle in the same manner as validation expressions.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the policy is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the policy is evaluated.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the policy is skipped",
+ "variables": "Variables contain definitions of variables that can be used in composition of other expressions. Each variable is defined as a named CEL expression. The variables defined here will be available under `variables` in other expressions of the policy except MatchConditions because MatchConditions are evaluated before the rest of the policy.\n\nThe expression of a variable can refer to other variables defined earlier in the list but not those after. Thus, Variables must be sorted by the order of first appearance and acyclic.",
+}
+
+func (ValidatingAdmissionPolicySpec) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicySpec
+}
+
+var map_ValidatingAdmissionPolicyStatus = map[string]string{
+ "": "ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.",
+ "observedGeneration": "The generation observed by the controller.",
+ "typeChecking": "The results of type checking for each expression. Presence of this field indicates the completion of the type checking.",
+ "conditions": "The conditions represent the latest available observations of a policy's current state.",
+}
+
+func (ValidatingAdmissionPolicyStatus) SwaggerDoc() map[string]string {
+ return map_ValidatingAdmissionPolicyStatus
+}
+
var map_ValidatingWebhook = map[string]string{
"": "ValidatingWebhook describes an admission webhook and the resources and operations it applies to.",
"name": "The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where \"imagepolicy\" is the name of the webhook, and kubernetes.io is the name of the organization. Required.",
@@ -122,7 +274,7 @@ var map_ValidatingWebhook = map[string]string{
"sideEffects": "SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.",
"timeoutSeconds": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.",
"admissionReviewVersions": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.",
- "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped\n\nThis is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.",
+ "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped",
}
func (ValidatingWebhook) SwaggerDoc() map[string]string {
@@ -149,6 +301,28 @@ func (ValidatingWebhookConfigurationList) SwaggerDoc() map[string]string {
return map_ValidatingWebhookConfigurationList
}
+var map_Validation = map[string]string{
+ "": "Validation specifies the CEL expression which is used to apply the validation.",
+ "expression": "Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:\n\n- 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.\n For example, a variable named 'foo' can be accessed as 'variables.foo'.\n- 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.\n See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz\n- 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the\n request resource.\n\nThe `apiVersion`, `kind`, `metadata.name` and `metadata.generateName` are always accessible from the root of the object. No other metadata properties are accessible.\n\nOnly property names of the form `[a-zA-Z_.-/][a-zA-Z0-9_.-/]*` are accessible. Accessible property names are escaped according to the following rules when accessed in the expression: - '__' escapes to '__underscores__' - '.' escapes to '__dot__' - '-' escapes to '__dash__' - '/' escapes to '__slash__' - Property names that exactly match a CEL RESERVED keyword escape to '__{keyword}__'. The keywords are:\n\t \"true\", \"false\", \"null\", \"in\", \"as\", \"break\", \"const\", \"continue\", \"else\", \"for\", \"function\", \"if\",\n\t \"import\", \"let\", \"loop\", \"package\", \"namespace\", \"return\".\nExamples:\n - Expression accessing a property named \"namespace\": {\"Expression\": \"object.__namespace__ > 0\"}\n - Expression accessing a property named \"x-prop\": {\"Expression\": \"object.x__dash__prop > 0\"}\n - Expression accessing a property named \"redact__d\": {\"Expression\": \"object.redact__underscores__d > 0\"}\n\nEquality on arrays with list type of 'set' or 'map' ignores element order, i.e. [1, 2] == [2, 1]. Concatenation on arrays with x-kubernetes-list-type use the semantics of the list type:\n - 'set': `X + Y` performs a union where the array positions of all elements in `X` are preserved and\n non-intersecting elements in `Y` are appended, retaining their partial order.\n - 'map': `X + Y` performs a merge where the array positions of all keys in `X` are preserved but the values\n are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with\n non-intersecting keys are appended, retaining their partial order.\nRequired.",
+ "message": "Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is \"failed rule: {Rule}\". e.g. \"must be a URL with the host matching spec.host\" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is \"failed Expression: {Expression}\".",
+ "reason": "Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: \"Unauthorized\", \"Forbidden\", \"Invalid\", \"RequestEntityTooLarge\". If not set, StatusReasonInvalid is used in the response to the client.",
+ "messageExpression": "messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: \"object.x must be less than max (\"+string(params.max)+\")\"",
+}
+
+func (Validation) SwaggerDoc() map[string]string {
+ return map_Validation
+}
+
+var map_Variable = map[string]string{
+ "": "Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.",
+ "name": "Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`",
+ "expression": "Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.",
+}
+
+func (Variable) SwaggerDoc() map[string]string {
+ return map_Variable
+}
+
var map_WebhookClientConfig = map[string]string{
"": "WebhookClientConfig contains the information to make a TLS connection with the webhook",
"url": "`url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.\n\nThe `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.\n\nPlease note that using `localhost` or `127.0.0.1` as a `host` is risky unless you take great care to run this webhook on all hosts which run an apiserver which might need to make calls to this webhook. Such installs are likely to be non-portable, i.e., not easy to turn up in a new cluster.\n\nThe scheme must be \"https\"; the URL must begin with \"https://\".\n\nA path is optional, and if present may be any string permissible in a URL. You may use the path to pass an arbitrary string to the webhook, for example, a cluster identifier.\n\nAttempting to use a user or basic auth e.g. \"user:password@\" is not allowed. Fragments (\"#...\") and query parameters (\"?...\") are not allowed, either.",
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go
index b956099138..bfe599c1d3 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1/zz_generated.deepcopy.go
@@ -26,6 +26,38 @@ import (
runtime "k8s.io/apimachinery/pkg/runtime"
)
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AuditAnnotation) DeepCopyInto(out *AuditAnnotation) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuditAnnotation.
+func (in *AuditAnnotation) DeepCopy() *AuditAnnotation {
+ if in == nil {
+ return nil
+ }
+ out := new(AuditAnnotation)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ExpressionWarning) DeepCopyInto(out *ExpressionWarning) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpressionWarning.
+func (in *ExpressionWarning) DeepCopy() *ExpressionWarning {
+ if in == nil {
+ return nil
+ }
+ out := new(ExpressionWarning)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MatchCondition) DeepCopyInto(out *MatchCondition) {
*out = *in
@@ -42,6 +74,51 @@ func (in *MatchCondition) DeepCopy() *MatchCondition {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *MatchResources) DeepCopyInto(out *MatchResources) {
+ *out = *in
+ if in.NamespaceSelector != nil {
+ in, out := &in.NamespaceSelector, &out.NamespaceSelector
+ *out = new(metav1.LabelSelector)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ObjectSelector != nil {
+ in, out := &in.ObjectSelector, &out.ObjectSelector
+ *out = new(metav1.LabelSelector)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ResourceRules != nil {
+ in, out := &in.ResourceRules, &out.ResourceRules
+ *out = make([]NamedRuleWithOperations, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.ExcludeResourceRules != nil {
+ in, out := &in.ExcludeResourceRules, &out.ExcludeResourceRules
+ *out = make([]NamedRuleWithOperations, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.MatchPolicy != nil {
+ in, out := &in.MatchPolicy, &out.MatchPolicy
+ *out = new(MatchPolicyType)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchResources.
+func (in *MatchResources) DeepCopy() *MatchResources {
+ if in == nil {
+ return nil
+ }
+ out := new(MatchResources)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MutatingWebhook) DeepCopyInto(out *MutatingWebhook) {
*out = *in
@@ -177,6 +254,70 @@ func (in *MutatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedRuleWithOperations) DeepCopyInto(out *NamedRuleWithOperations) {
+ *out = *in
+ if in.ResourceNames != nil {
+ in, out := &in.ResourceNames, &out.ResourceNames
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ in.RuleWithOperations.DeepCopyInto(&out.RuleWithOperations)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedRuleWithOperations.
+func (in *NamedRuleWithOperations) DeepCopy() *NamedRuleWithOperations {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedRuleWithOperations)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ParamKind) DeepCopyInto(out *ParamKind) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamKind.
+func (in *ParamKind) DeepCopy() *ParamKind {
+ if in == nil {
+ return nil
+ }
+ out := new(ParamKind)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ParamRef) DeepCopyInto(out *ParamRef) {
+ *out = *in
+ if in.Selector != nil {
+ in, out := &in.Selector, &out.Selector
+ *out = new(metav1.LabelSelector)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ParameterNotFoundAction != nil {
+ in, out := &in.ParameterNotFoundAction, &out.ParameterNotFoundAction
+ *out = new(ParameterNotFoundActionType)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParamRef.
+func (in *ParamRef) DeepCopy() *ParamRef {
+ if in == nil {
+ return nil
+ }
+ out := new(ParamRef)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Rule) DeepCopyInto(out *Rule) {
*out = *in
@@ -261,6 +402,260 @@ func (in *ServiceReference) DeepCopy() *ServiceReference {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *TypeChecking) DeepCopyInto(out *TypeChecking) {
+ *out = *in
+ if in.ExpressionWarnings != nil {
+ in, out := &in.ExpressionWarnings, &out.ExpressionWarnings
+ *out = make([]ExpressionWarning, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TypeChecking.
+func (in *TypeChecking) DeepCopy() *TypeChecking {
+ if in == nil {
+ return nil
+ }
+ out := new(TypeChecking)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicy) DeepCopyInto(out *ValidatingAdmissionPolicy) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ in.Status.DeepCopyInto(&out.Status)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicy.
+func (in *ValidatingAdmissionPolicy) DeepCopy() *ValidatingAdmissionPolicy {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicy)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ValidatingAdmissionPolicy) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicyBinding) DeepCopyInto(out *ValidatingAdmissionPolicyBinding) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.Spec.DeepCopyInto(&out.Spec)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBinding.
+func (in *ValidatingAdmissionPolicyBinding) DeepCopy() *ValidatingAdmissionPolicyBinding {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicyBinding)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ValidatingAdmissionPolicyBinding) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicyBindingList) DeepCopyInto(out *ValidatingAdmissionPolicyBindingList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ValidatingAdmissionPolicyBinding, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBindingList.
+func (in *ValidatingAdmissionPolicyBindingList) DeepCopy() *ValidatingAdmissionPolicyBindingList {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicyBindingList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ValidatingAdmissionPolicyBindingList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicyBindingSpec) DeepCopyInto(out *ValidatingAdmissionPolicyBindingSpec) {
+ *out = *in
+ if in.ParamRef != nil {
+ in, out := &in.ParamRef, &out.ParamRef
+ *out = new(ParamRef)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.MatchResources != nil {
+ in, out := &in.MatchResources, &out.MatchResources
+ *out = new(MatchResources)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ValidationActions != nil {
+ in, out := &in.ValidationActions, &out.ValidationActions
+ *out = make([]ValidationAction, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyBindingSpec.
+func (in *ValidatingAdmissionPolicyBindingSpec) DeepCopy() *ValidatingAdmissionPolicyBindingSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicyBindingSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicyList) DeepCopyInto(out *ValidatingAdmissionPolicyList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ValidatingAdmissionPolicy, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyList.
+func (in *ValidatingAdmissionPolicyList) DeepCopy() *ValidatingAdmissionPolicyList {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicyList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ValidatingAdmissionPolicyList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicySpec) DeepCopyInto(out *ValidatingAdmissionPolicySpec) {
+ *out = *in
+ if in.ParamKind != nil {
+ in, out := &in.ParamKind, &out.ParamKind
+ *out = new(ParamKind)
+ **out = **in
+ }
+ if in.MatchConstraints != nil {
+ in, out := &in.MatchConstraints, &out.MatchConstraints
+ *out = new(MatchResources)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Validations != nil {
+ in, out := &in.Validations, &out.Validations
+ *out = make([]Validation, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.FailurePolicy != nil {
+ in, out := &in.FailurePolicy, &out.FailurePolicy
+ *out = new(FailurePolicyType)
+ **out = **in
+ }
+ if in.AuditAnnotations != nil {
+ in, out := &in.AuditAnnotations, &out.AuditAnnotations
+ *out = make([]AuditAnnotation, len(*in))
+ copy(*out, *in)
+ }
+ if in.MatchConditions != nil {
+ in, out := &in.MatchConditions, &out.MatchConditions
+ *out = make([]MatchCondition, len(*in))
+ copy(*out, *in)
+ }
+ if in.Variables != nil {
+ in, out := &in.Variables, &out.Variables
+ *out = make([]Variable, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicySpec.
+func (in *ValidatingAdmissionPolicySpec) DeepCopy() *ValidatingAdmissionPolicySpec {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicySpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ValidatingAdmissionPolicyStatus) DeepCopyInto(out *ValidatingAdmissionPolicyStatus) {
+ *out = *in
+ if in.TypeChecking != nil {
+ in, out := &in.TypeChecking, &out.TypeChecking
+ *out = new(TypeChecking)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]metav1.Condition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingAdmissionPolicyStatus.
+func (in *ValidatingAdmissionPolicyStatus) DeepCopy() *ValidatingAdmissionPolicyStatus {
+ if in == nil {
+ return nil
+ }
+ out := new(ValidatingAdmissionPolicyStatus)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ValidatingWebhook) DeepCopyInto(out *ValidatingWebhook) {
*out = *in
@@ -391,6 +786,43 @@ func (in *ValidatingWebhookConfigurationList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *Validation) DeepCopyInto(out *Validation) {
+ *out = *in
+ if in.Reason != nil {
+ in, out := &in.Reason, &out.Reason
+ *out = new(metav1.StatusReason)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Validation.
+func (in *Validation) DeepCopy() *Validation {
+ if in == nil {
+ return nil
+ }
+ out := new(Validation)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *Variable) DeepCopyInto(out *Variable) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Variable.
+func (in *Variable) DeepCopy() *Variable {
+ if in == nil {
+ return nil
+ }
+ out := new(Variable)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *WebhookClientConfig) DeepCopyInto(out *WebhookClientConfig) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go
index 4f1373ec5a..111cc72874 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.proto
+// source: k8s.io/api/admissionregistration/v1alpha1/generated.proto
package v1alpha1
@@ -48,7 +48,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AuditAnnotation) Reset() { *m = AuditAnnotation{} }
func (*AuditAnnotation) ProtoMessage() {}
func (*AuditAnnotation) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{0}
+ return fileDescriptor_2c49182728ae0af5, []int{0}
}
func (m *AuditAnnotation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -76,7 +76,7 @@ var xxx_messageInfo_AuditAnnotation proto.InternalMessageInfo
func (m *ExpressionWarning) Reset() { *m = ExpressionWarning{} }
func (*ExpressionWarning) ProtoMessage() {}
func (*ExpressionWarning) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{1}
+ return fileDescriptor_2c49182728ae0af5, []int{1}
}
func (m *ExpressionWarning) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -104,7 +104,7 @@ var xxx_messageInfo_ExpressionWarning proto.InternalMessageInfo
func (m *MatchCondition) Reset() { *m = MatchCondition{} }
func (*MatchCondition) ProtoMessage() {}
func (*MatchCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{2}
+ return fileDescriptor_2c49182728ae0af5, []int{2}
}
func (m *MatchCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -132,7 +132,7 @@ var xxx_messageInfo_MatchCondition proto.InternalMessageInfo
func (m *MatchResources) Reset() { *m = MatchResources{} }
func (*MatchResources) ProtoMessage() {}
func (*MatchResources) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{3}
+ return fileDescriptor_2c49182728ae0af5, []int{3}
}
func (m *MatchResources) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -160,7 +160,7 @@ var xxx_messageInfo_MatchResources proto.InternalMessageInfo
func (m *NamedRuleWithOperations) Reset() { *m = NamedRuleWithOperations{} }
func (*NamedRuleWithOperations) ProtoMessage() {}
func (*NamedRuleWithOperations) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{4}
+ return fileDescriptor_2c49182728ae0af5, []int{4}
}
func (m *NamedRuleWithOperations) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -188,7 +188,7 @@ var xxx_messageInfo_NamedRuleWithOperations proto.InternalMessageInfo
func (m *ParamKind) Reset() { *m = ParamKind{} }
func (*ParamKind) ProtoMessage() {}
func (*ParamKind) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{5}
+ return fileDescriptor_2c49182728ae0af5, []int{5}
}
func (m *ParamKind) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -216,7 +216,7 @@ var xxx_messageInfo_ParamKind proto.InternalMessageInfo
func (m *ParamRef) Reset() { *m = ParamRef{} }
func (*ParamRef) ProtoMessage() {}
func (*ParamRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{6}
+ return fileDescriptor_2c49182728ae0af5, []int{6}
}
func (m *ParamRef) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -244,7 +244,7 @@ var xxx_messageInfo_ParamRef proto.InternalMessageInfo
func (m *TypeChecking) Reset() { *m = TypeChecking{} }
func (*TypeChecking) ProtoMessage() {}
func (*TypeChecking) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{7}
+ return fileDescriptor_2c49182728ae0af5, []int{7}
}
func (m *TypeChecking) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -272,7 +272,7 @@ var xxx_messageInfo_TypeChecking proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicy) Reset() { *m = ValidatingAdmissionPolicy{} }
func (*ValidatingAdmissionPolicy) ProtoMessage() {}
func (*ValidatingAdmissionPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{8}
+ return fileDescriptor_2c49182728ae0af5, []int{8}
}
func (m *ValidatingAdmissionPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -300,7 +300,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicy proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicyBinding) Reset() { *m = ValidatingAdmissionPolicyBinding{} }
func (*ValidatingAdmissionPolicyBinding) ProtoMessage() {}
func (*ValidatingAdmissionPolicyBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{9}
+ return fileDescriptor_2c49182728ae0af5, []int{9}
}
func (m *ValidatingAdmissionPolicyBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -328,7 +328,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyBinding proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicyBindingList) Reset() { *m = ValidatingAdmissionPolicyBindingList{} }
func (*ValidatingAdmissionPolicyBindingList) ProtoMessage() {}
func (*ValidatingAdmissionPolicyBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{10}
+ return fileDescriptor_2c49182728ae0af5, []int{10}
}
func (m *ValidatingAdmissionPolicyBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -356,7 +356,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyBindingList proto.InternalMessageIn
func (m *ValidatingAdmissionPolicyBindingSpec) Reset() { *m = ValidatingAdmissionPolicyBindingSpec{} }
func (*ValidatingAdmissionPolicyBindingSpec) ProtoMessage() {}
func (*ValidatingAdmissionPolicyBindingSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{11}
+ return fileDescriptor_2c49182728ae0af5, []int{11}
}
func (m *ValidatingAdmissionPolicyBindingSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -384,7 +384,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyBindingSpec proto.InternalMessageIn
func (m *ValidatingAdmissionPolicyList) Reset() { *m = ValidatingAdmissionPolicyList{} }
func (*ValidatingAdmissionPolicyList) ProtoMessage() {}
func (*ValidatingAdmissionPolicyList) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{12}
+ return fileDescriptor_2c49182728ae0af5, []int{12}
}
func (m *ValidatingAdmissionPolicyList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -412,7 +412,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyList proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicySpec) Reset() { *m = ValidatingAdmissionPolicySpec{} }
func (*ValidatingAdmissionPolicySpec) ProtoMessage() {}
func (*ValidatingAdmissionPolicySpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{13}
+ return fileDescriptor_2c49182728ae0af5, []int{13}
}
func (m *ValidatingAdmissionPolicySpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -440,7 +440,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicySpec proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicyStatus) Reset() { *m = ValidatingAdmissionPolicyStatus{} }
func (*ValidatingAdmissionPolicyStatus) ProtoMessage() {}
func (*ValidatingAdmissionPolicyStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{14}
+ return fileDescriptor_2c49182728ae0af5, []int{14}
}
func (m *ValidatingAdmissionPolicyStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -468,7 +468,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyStatus proto.InternalMessageInfo
func (m *Validation) Reset() { *m = Validation{} }
func (*Validation) ProtoMessage() {}
func (*Validation) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{15}
+ return fileDescriptor_2c49182728ae0af5, []int{15}
}
func (m *Validation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -496,7 +496,7 @@ var xxx_messageInfo_Validation proto.InternalMessageInfo
func (m *Variable) Reset() { *m = Variable{} }
func (*Variable) ProtoMessage() {}
func (*Variable) Descriptor() ([]byte, []int) {
- return fileDescriptor_c3be8d256e3ae3cf, []int{16}
+ return fileDescriptor_2c49182728ae0af5, []int{16}
}
func (m *Variable) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -542,106 +542,105 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1alpha1/generated.proto", fileDescriptor_c3be8d256e3ae3cf)
+ proto.RegisterFile("k8s.io/api/admissionregistration/v1alpha1/generated.proto", fileDescriptor_2c49182728ae0af5)
}
-var fileDescriptor_c3be8d256e3ae3cf = []byte{
- // 1509 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcb, 0x6f, 0x1b, 0x45,
- 0x18, 0xcf, 0xc6, 0x6e, 0x12, 0x8f, 0xf3, 0xf2, 0xd0, 0x2a, 0x6e, 0xa0, 0xde, 0x68, 0x55, 0xa1,
- 0x46, 0x82, 0x35, 0x49, 0x0b, 0x85, 0x0a, 0x09, 0x65, 0xfb, 0xa2, 0x8f, 0x3c, 0x34, 0x45, 0x89,
- 0x84, 0x40, 0x62, 0xb2, 0x3b, 0x71, 0xa6, 0xf6, 0x3e, 0xd8, 0x59, 0x9b, 0x46, 0x20, 0x51, 0x89,
- 0x0b, 0xdc, 0x38, 0x70, 0xe1, 0xca, 0x9f, 0xc0, 0x7f, 0xc0, 0xad, 0xc7, 0x1e, 0xcb, 0x01, 0x8b,
- 0x9a, 0x0b, 0x7f, 0x01, 0x48, 0xb9, 0x80, 0x66, 0x76, 0xf6, 0x69, 0x9b, 0xd8, 0x25, 0x70, 0xf3,
- 0x7c, 0x8f, 0xdf, 0xf7, 0x98, 0xef, 0xfb, 0xf6, 0x1b, 0x03, 0xd4, 0x7c, 0x9b, 0xe9, 0xd4, 0xad,
- 0x37, 0xdb, 0xfb, 0xc4, 0x77, 0x48, 0x40, 0x58, 0xbd, 0x43, 0x1c, 0xcb, 0xf5, 0xeb, 0x92, 0x81,
- 0x3d, 0x5a, 0xc7, 0x96, 0x4d, 0x19, 0xa3, 0xae, 0xe3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0x1b, 0xe5, 0x5f, 0x20, 0x5d, 0x6e,
- 0x61, 0x42, 0x09, 0x49, 0x38, 0x78, 0x1b, 0x54, 0xa4, 0x8d, 0x94, 0xc3, 0x61, 0xd7, 0x9e, 0x97,
- 0xde, 0x54, 0x36, 0xf3, 0x02, 0xa8, 0x5f, 0x47, 0xbb, 0x0b, 0x66, 0xa2, 0xea, 0x82, 0x55, 0x50,
- 0x4c, 0x7d, 0xbe, 0xc3, 0xc0, 0x05, 0x25, 0x97, 0x98, 0xc9, 0xc1, 0x89, 0x31, 0xb6, 0x9f, 0x3c,
- 0xaf, 0x4d, 0x3c, 0x7d, 0x5e, 0x9b, 0x78, 0xf6, 0xbc, 0x36, 0xf1, 0xb8, 0x57, 0x53, 0x9e, 0xf4,
- 0x6a, 0xca, 0xd3, 0x5e, 0x4d, 0x79, 0xd6, 0xab, 0x29, 0xbf, 0xf6, 0x6a, 0xca, 0xb7, 0xbf, 0xd5,
- 0x26, 0x3e, 0x5c, 0x1d, 0xf9, 0x5f, 0xbc, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xad, 0xe2, 0x61,
- 0x96, 0x0a, 0x14, 0x00, 0x00,
+var fileDescriptor_2c49182728ae0af5 = []byte{
+ // 1498 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x6f, 0x1b, 0xc5,
+ 0x17, 0xcf, 0xc6, 0x6e, 0x12, 0x8f, 0x73, 0xb1, 0xe7, 0xdf, 0x2a, 0x6e, 0xfe, 0xd4, 0x1b, 0xad,
+ 0x2a, 0xd4, 0x48, 0xb0, 0x26, 0x69, 0xa1, 0xb4, 0x42, 0x42, 0xd9, 0xde, 0xe8, 0x25, 0x17, 0x4d,
+ 0x51, 0x22, 0x21, 0x90, 0x98, 0xec, 0x4e, 0xec, 0x69, 0xbc, 0x17, 0x76, 0xd6, 0xa1, 0x11, 0x48,
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 0xbd, 0xc5, 0xc7, 0xf1, 0x13, 0x00, 0x00,
}
func (m *AuditAnnotation) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.pb.go
index 267ddc1cbd..261ae41bd0 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto
+// source: k8s.io/api/admissionregistration/v1beta1/generated.proto
package v1beta1
@@ -49,7 +49,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AuditAnnotation) Reset() { *m = AuditAnnotation{} }
func (*AuditAnnotation) ProtoMessage() {}
func (*AuditAnnotation) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{0}
+ return fileDescriptor_7f7c65a4f012fb19, []int{0}
}
func (m *AuditAnnotation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,7 +77,7 @@ var xxx_messageInfo_AuditAnnotation proto.InternalMessageInfo
func (m *ExpressionWarning) Reset() { *m = ExpressionWarning{} }
func (*ExpressionWarning) ProtoMessage() {}
func (*ExpressionWarning) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{1}
+ return fileDescriptor_7f7c65a4f012fb19, []int{1}
}
func (m *ExpressionWarning) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +105,7 @@ var xxx_messageInfo_ExpressionWarning proto.InternalMessageInfo
func (m *MatchCondition) Reset() { *m = MatchCondition{} }
func (*MatchCondition) ProtoMessage() {}
func (*MatchCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{2}
+ return fileDescriptor_7f7c65a4f012fb19, []int{2}
}
func (m *MatchCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +133,7 @@ var xxx_messageInfo_MatchCondition proto.InternalMessageInfo
func (m *MatchResources) Reset() { *m = MatchResources{} }
func (*MatchResources) ProtoMessage() {}
func (*MatchResources) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{3}
+ return fileDescriptor_7f7c65a4f012fb19, []int{3}
}
func (m *MatchResources) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +161,7 @@ var xxx_messageInfo_MatchResources proto.InternalMessageInfo
func (m *MutatingWebhook) Reset() { *m = MutatingWebhook{} }
func (*MutatingWebhook) ProtoMessage() {}
func (*MutatingWebhook) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{4}
+ return fileDescriptor_7f7c65a4f012fb19, []int{4}
}
func (m *MutatingWebhook) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +189,7 @@ var xxx_messageInfo_MutatingWebhook proto.InternalMessageInfo
func (m *MutatingWebhookConfiguration) Reset() { *m = MutatingWebhookConfiguration{} }
func (*MutatingWebhookConfiguration) ProtoMessage() {}
func (*MutatingWebhookConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{5}
+ return fileDescriptor_7f7c65a4f012fb19, []int{5}
}
func (m *MutatingWebhookConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -217,7 +217,7 @@ var xxx_messageInfo_MutatingWebhookConfiguration proto.InternalMessageInfo
func (m *MutatingWebhookConfigurationList) Reset() { *m = MutatingWebhookConfigurationList{} }
func (*MutatingWebhookConfigurationList) ProtoMessage() {}
func (*MutatingWebhookConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{6}
+ return fileDescriptor_7f7c65a4f012fb19, []int{6}
}
func (m *MutatingWebhookConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -245,7 +245,7 @@ var xxx_messageInfo_MutatingWebhookConfigurationList proto.InternalMessageInfo
func (m *NamedRuleWithOperations) Reset() { *m = NamedRuleWithOperations{} }
func (*NamedRuleWithOperations) ProtoMessage() {}
func (*NamedRuleWithOperations) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{7}
+ return fileDescriptor_7f7c65a4f012fb19, []int{7}
}
func (m *NamedRuleWithOperations) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -273,7 +273,7 @@ var xxx_messageInfo_NamedRuleWithOperations proto.InternalMessageInfo
func (m *ParamKind) Reset() { *m = ParamKind{} }
func (*ParamKind) ProtoMessage() {}
func (*ParamKind) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{8}
+ return fileDescriptor_7f7c65a4f012fb19, []int{8}
}
func (m *ParamKind) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -301,7 +301,7 @@ var xxx_messageInfo_ParamKind proto.InternalMessageInfo
func (m *ParamRef) Reset() { *m = ParamRef{} }
func (*ParamRef) ProtoMessage() {}
func (*ParamRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{9}
+ return fileDescriptor_7f7c65a4f012fb19, []int{9}
}
func (m *ParamRef) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -329,7 +329,7 @@ var xxx_messageInfo_ParamRef proto.InternalMessageInfo
func (m *ServiceReference) Reset() { *m = ServiceReference{} }
func (*ServiceReference) ProtoMessage() {}
func (*ServiceReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{10}
+ return fileDescriptor_7f7c65a4f012fb19, []int{10}
}
func (m *ServiceReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -357,7 +357,7 @@ var xxx_messageInfo_ServiceReference proto.InternalMessageInfo
func (m *TypeChecking) Reset() { *m = TypeChecking{} }
func (*TypeChecking) ProtoMessage() {}
func (*TypeChecking) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{11}
+ return fileDescriptor_7f7c65a4f012fb19, []int{11}
}
func (m *TypeChecking) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -385,7 +385,7 @@ var xxx_messageInfo_TypeChecking proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicy) Reset() { *m = ValidatingAdmissionPolicy{} }
func (*ValidatingAdmissionPolicy) ProtoMessage() {}
func (*ValidatingAdmissionPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{12}
+ return fileDescriptor_7f7c65a4f012fb19, []int{12}
}
func (m *ValidatingAdmissionPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -413,7 +413,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicy proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicyBinding) Reset() { *m = ValidatingAdmissionPolicyBinding{} }
func (*ValidatingAdmissionPolicyBinding) ProtoMessage() {}
func (*ValidatingAdmissionPolicyBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{13}
+ return fileDescriptor_7f7c65a4f012fb19, []int{13}
}
func (m *ValidatingAdmissionPolicyBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -441,7 +441,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyBinding proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicyBindingList) Reset() { *m = ValidatingAdmissionPolicyBindingList{} }
func (*ValidatingAdmissionPolicyBindingList) ProtoMessage() {}
func (*ValidatingAdmissionPolicyBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{14}
+ return fileDescriptor_7f7c65a4f012fb19, []int{14}
}
func (m *ValidatingAdmissionPolicyBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -469,7 +469,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyBindingList proto.InternalMessageIn
func (m *ValidatingAdmissionPolicyBindingSpec) Reset() { *m = ValidatingAdmissionPolicyBindingSpec{} }
func (*ValidatingAdmissionPolicyBindingSpec) ProtoMessage() {}
func (*ValidatingAdmissionPolicyBindingSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{15}
+ return fileDescriptor_7f7c65a4f012fb19, []int{15}
}
func (m *ValidatingAdmissionPolicyBindingSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -497,7 +497,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyBindingSpec proto.InternalMessageIn
func (m *ValidatingAdmissionPolicyList) Reset() { *m = ValidatingAdmissionPolicyList{} }
func (*ValidatingAdmissionPolicyList) ProtoMessage() {}
func (*ValidatingAdmissionPolicyList) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{16}
+ return fileDescriptor_7f7c65a4f012fb19, []int{16}
}
func (m *ValidatingAdmissionPolicyList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -525,7 +525,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyList proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicySpec) Reset() { *m = ValidatingAdmissionPolicySpec{} }
func (*ValidatingAdmissionPolicySpec) ProtoMessage() {}
func (*ValidatingAdmissionPolicySpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{17}
+ return fileDescriptor_7f7c65a4f012fb19, []int{17}
}
func (m *ValidatingAdmissionPolicySpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -553,7 +553,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicySpec proto.InternalMessageInfo
func (m *ValidatingAdmissionPolicyStatus) Reset() { *m = ValidatingAdmissionPolicyStatus{} }
func (*ValidatingAdmissionPolicyStatus) ProtoMessage() {}
func (*ValidatingAdmissionPolicyStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{18}
+ return fileDescriptor_7f7c65a4f012fb19, []int{18}
}
func (m *ValidatingAdmissionPolicyStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -581,7 +581,7 @@ var xxx_messageInfo_ValidatingAdmissionPolicyStatus proto.InternalMessageInfo
func (m *ValidatingWebhook) Reset() { *m = ValidatingWebhook{} }
func (*ValidatingWebhook) ProtoMessage() {}
func (*ValidatingWebhook) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{19}
+ return fileDescriptor_7f7c65a4f012fb19, []int{19}
}
func (m *ValidatingWebhook) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -609,7 +609,7 @@ var xxx_messageInfo_ValidatingWebhook proto.InternalMessageInfo
func (m *ValidatingWebhookConfiguration) Reset() { *m = ValidatingWebhookConfiguration{} }
func (*ValidatingWebhookConfiguration) ProtoMessage() {}
func (*ValidatingWebhookConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{20}
+ return fileDescriptor_7f7c65a4f012fb19, []int{20}
}
func (m *ValidatingWebhookConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -637,7 +637,7 @@ var xxx_messageInfo_ValidatingWebhookConfiguration proto.InternalMessageInfo
func (m *ValidatingWebhookConfigurationList) Reset() { *m = ValidatingWebhookConfigurationList{} }
func (*ValidatingWebhookConfigurationList) ProtoMessage() {}
func (*ValidatingWebhookConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{21}
+ return fileDescriptor_7f7c65a4f012fb19, []int{21}
}
func (m *ValidatingWebhookConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -665,7 +665,7 @@ var xxx_messageInfo_ValidatingWebhookConfigurationList proto.InternalMessageInfo
func (m *Validation) Reset() { *m = Validation{} }
func (*Validation) ProtoMessage() {}
func (*Validation) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{22}
+ return fileDescriptor_7f7c65a4f012fb19, []int{22}
}
func (m *Validation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -693,7 +693,7 @@ var xxx_messageInfo_Validation proto.InternalMessageInfo
func (m *Variable) Reset() { *m = Variable{} }
func (*Variable) ProtoMessage() {}
func (*Variable) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{23}
+ return fileDescriptor_7f7c65a4f012fb19, []int{23}
}
func (m *Variable) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -721,7 +721,7 @@ var xxx_messageInfo_Variable proto.InternalMessageInfo
func (m *WebhookClientConfig) Reset() { *m = WebhookClientConfig{} }
func (*WebhookClientConfig) ProtoMessage() {}
func (*WebhookClientConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_abeea74cbc46f55a, []int{24}
+ return fileDescriptor_7f7c65a4f012fb19, []int{24}
}
func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -775,135 +775,134 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto", fileDescriptor_abeea74cbc46f55a)
+ proto.RegisterFile("k8s.io/api/admissionregistration/v1beta1/generated.proto", fileDescriptor_7f7c65a4f012fb19)
}
-var fileDescriptor_abeea74cbc46f55a = []byte{
- // 1973 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0x4d, 0x6f, 0x23, 0x49,
- 0x35, 0x1d, 0xe7, 0xc3, 0x7e, 0xce, 0x97, 0x6b, 0x67, 0x89, 0x77, 0x76, 0xd6, 0x8e, 0x5a, 0x2b,
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, 0xde, 0xf2,
- 0x0c, 0x17, 0x90, 0x84, 0x63, 0x66, 0xd3, 0x1d, 0xa3, 0xfe, 0x5e, 0x81, 0xd7, 0x52, 0x9a, 0x12,
- 0x7a, 0x03, 0x72, 0x03, 0xa7, 0x27, 0x5d, 0xb0, 0x38, 0x1e, 0x55, 0x73, 0x9f, 0xe1, 0x87, 0x98,
- 0xc3, 0x10, 0x81, 0x45, 0xe6, 0xad, 0xa7, 0x64, 0x30, 0xdd, 0xce, 0x7e, 0xe3, 0xc9, 0xbd, 0x56,
- 0xa3, 0xc8, 0xef, 0xc0, 0x87, 0xfa, 0x72, 0xd1, 0x26, 0xe4, 0x35, 0xd2, 0x18, 0x98, 0x7a, 0xcf,
- 0xbb, 0xaf, 0x25, 0xef, 0x8d, 0xb7, 0xb3, 0xed, 0xc1, 0x70, 0x80, 0x6d, 0xec, 0x3d, 0x3b, 0xa9,
- 0xcc, 0x7c, 0x75, 0x52, 0x99, 0x79, 0x7e, 0x52, 0x99, 0xf9, 0xf9, 0xb8, 0xa2, 0x3c, 0x1b, 0x57,
- 0x94, 0xaf, 0xc6, 0x15, 0xe5, 0xf9, 0xb8, 0xa2, 0xfc, 0x75, 0x5c, 0x51, 0x7e, 0xf9, 0xb7, 0xca,
- 0xcc, 0xf7, 0x37, 0xb3, 0xfe, 0x97, 0xc3, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x71, 0x54, 0x54,
- 0xe6, 0x29, 0x21, 0x00, 0x00,
+var fileDescriptor_7f7c65a4f012fb19 = []byte{
+ // 1957 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x1a, 0x4d, 0x6f, 0x1b, 0xc7,
+ 0xd5, 0x2b, 0x52, 0x12, 0xf9, 0xa8, 0x2f, 0x4e, 0x9c, 0x8a, 0x76, 0x1c, 0x52, 0x58, 0x04, 0x85,
+ 0x0c, 0xb4, 0x64, 0x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 0x7c, 0xe4, 0xbd, 0xe5,
+ 0x19, 0x2e, 0x20, 0x09, 0xc7, 0xcc, 0xa4, 0x3b, 0x46, 0xfd, 0x83, 0x02, 0x6f, 0xa4, 0x34, 0x25,
+ 0x74, 0x0d, 0x72, 0x03, 0xa7, 0x27, 0x5d, 0x30, 0x3f, 0x1e, 0xd5, 0x72, 0x9f, 0xe1, 0x47, 0x98,
+ 0xc3, 0x10, 0x81, 0x79, 0xe6, 0xad, 0xa7, 0x64, 0x30, 0xdd, 0xc9, 0x7e, 0xe3, 0xc9, 0xbd, 0x56,
+ 0xb3, 0xc4, 0xef, 0xc0, 0x87, 0xfa, 0x72, 0xd1, 0x3a, 0x14, 0x34, 0xd2, 0x1c, 0x98, 0x7a, 0xcf,
+ 0xbb, 0xaf, 0x05, 0xef, 0x8d, 0xb7, 0xb5, 0xe9, 0xc1, 0x70, 0x80, 0x6d, 0xee, 0x3c, 0x3f, 0xae,
+ 0x5e, 0xf9, 0xea, 0xb8, 0x7a, 0xe5, 0xc5, 0x71, 0xf5, 0xca, 0x2f, 0xc6, 0x55, 0xe5, 0xf9, 0xb8,
+ 0xaa, 0x7c, 0x35, 0xae, 0x2a, 0x2f, 0xc6, 0x55, 0xe5, 0x6f, 0xe3, 0xaa, 0xf2, 0xab, 0xbf, 0x57,
+ 0xaf, 0xfc, 0x60, 0x3d, 0xeb, 0x7f, 0x39, 0xfc, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x6f, 0xf2, 0xe8,
+ 0x4a, 0x10, 0x21, 0x00, 0x00,
}
func (m *AuditAnnotation) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto
index 1855cdfc4f..91479acc20 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/generated.proto
@@ -222,6 +222,7 @@ message MutatingWebhook {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
repeated k8s.io.api.admissionregistration.v1.RuleWithOperations rules = 3;
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -332,6 +333,7 @@ message MutatingWebhook {
// and be subject to the failure policy.
// Default to `['v1beta1']`.
// +optional
+ // +listType=atomic
repeated string admissionReviewVersions = 8;
// reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.
@@ -364,13 +366,10 @@ message MutatingWebhook {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
repeated MatchCondition matchConditions = 12;
}
@@ -386,6 +385,8 @@ message MutatingWebhookConfiguration {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated MutatingWebhook Webhooks = 2;
}
@@ -765,6 +766,7 @@ message ValidatingWebhook {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
repeated k8s.io.api.admissionregistration.v1.RuleWithOperations rules = 3;
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -856,6 +858,7 @@ message ValidatingWebhook {
// Requests with the dryRun attribute will be auto-rejected if they match a webhook with
// sideEffects == Unknown or Some. Defaults to Unknown.
// +optional
+ // +listType=atomic
optional string sideEffects = 6;
// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes,
@@ -875,6 +878,7 @@ message ValidatingWebhook {
// and be subject to the failure policy.
// Default to `['v1beta1']`.
// +optional
+ // +listType=atomic
repeated string admissionReviewVersions = 8;
// MatchConditions is a list of conditions that must be met for a request to be sent to this
@@ -889,13 +893,10 @@ message ValidatingWebhook {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
repeated MatchCondition matchConditions = 11;
}
@@ -911,6 +912,8 @@ message ValidatingWebhookConfiguration {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated ValidatingWebhook Webhooks = 2;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types.go
index 12c680dc97..cf1e29a6ca 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types.go
@@ -684,6 +684,8 @@ type ValidatingWebhookConfiguration struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Webhooks []ValidatingWebhook `json:"webhooks,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=Webhooks"`
}
@@ -723,6 +725,8 @@ type MutatingWebhookConfiguration struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Webhooks []MutatingWebhook `json:"webhooks,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=Webhooks"`
}
@@ -762,6 +766,7 @@ type ValidatingWebhook struct {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
Rules []RuleWithOperations `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -853,6 +858,7 @@ type ValidatingWebhook struct {
// Requests with the dryRun attribute will be auto-rejected if they match a webhook with
// sideEffects == Unknown or Some. Defaults to Unknown.
// +optional
+ // +listType=atomic
SideEffects *SideEffectClass `json:"sideEffects,omitempty" protobuf:"bytes,6,opt,name=sideEffects,casttype=SideEffectClass"`
// TimeoutSeconds specifies the timeout for this webhook. After the timeout passes,
@@ -872,6 +878,7 @@ type ValidatingWebhook struct {
// and be subject to the failure policy.
// Default to `['v1beta1']`.
// +optional
+ // +listType=atomic
AdmissionReviewVersions []string `json:"admissionReviewVersions,omitempty" protobuf:"bytes,8,rep,name=admissionReviewVersions"`
// MatchConditions is a list of conditions that must be met for a request to be sent to this
@@ -886,13 +893,10 @@ type ValidatingWebhook struct {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,11,rep,name=matchConditions"`
}
@@ -916,6 +920,7 @@ type MutatingWebhook struct {
// from putting the cluster in a state which cannot be recovered from without completely
// disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called
// on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
+ // +listType=atomic
Rules []RuleWithOperations `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
// FailurePolicy defines how unrecognized errors from the admission endpoint are handled -
@@ -1026,6 +1031,7 @@ type MutatingWebhook struct {
// and be subject to the failure policy.
// Default to `['v1beta1']`.
// +optional
+ // +listType=atomic
AdmissionReviewVersions []string `json:"admissionReviewVersions,omitempty" protobuf:"bytes,8,rep,name=admissionReviewVersions"`
// reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation.
@@ -1058,13 +1064,10 @@ type MutatingWebhook struct {
// - If failurePolicy=Fail, reject the request
// - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
//
- // This is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=AdmissionWebhookMatchConditions
// +optional
MatchConditions []MatchCondition `json:"matchConditions,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,12,rep,name=matchConditions"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go
index adaf4bc11d..cc1509b539 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go
@@ -83,7 +83,7 @@ var map_MutatingWebhook = map[string]string{
"timeoutSeconds": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.",
"admissionReviewVersions": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.",
"reinvocationPolicy": "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead.\n\nDefaults to \"Never\".",
- "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped\n\nThis is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.",
+ "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped",
}
func (MutatingWebhook) SwaggerDoc() map[string]string {
@@ -253,7 +253,7 @@ var map_ValidatingWebhook = map[string]string{
"sideEffects": "SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some. Defaults to Unknown.",
"timeoutSeconds": "TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds.",
"admissionReviewVersions": "AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy. Default to `['v1beta1']`.",
- "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped\n\nThis is a beta feature and managed by the AdmissionWebhookMatchConditions feature gate.",
+ "matchConditions": "MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.\n\nThe exact matching logic is (in order):\n 1. If ANY matchCondition evaluates to FALSE, the webhook is skipped.\n 2. If ALL matchConditions evaluate to TRUE, the webhook is called.\n 3. If any matchCondition evaluates to an error (but none are FALSE):\n - If failurePolicy=Fail, reject the request\n - If failurePolicy=Ignore, the error is ignored and the webhook is skipped",
}
func (ValidatingWebhook) SwaggerDoc() map[string]string {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/component-base/config/v1alpha1/doc.go b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/doc.go
similarity index 75%
rename from cluster-api/providers/azure/vendor/k8s.io/component-base/config/v1alpha1/doc.go
rename to cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/doc.go
index 3cd4f4292e..d47aa85976 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/component-base/config/v1alpha1/doc.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/doc.go
@@ -1,5 +1,5 @@
/*
-Copyright 2018 The Kubernetes Authors.
+Copyright 2024 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -15,6 +15,9 @@ limitations under the License.
*/
// +k8s:deepcopy-gen=package
-// +k8s:conversion-gen=k8s.io/component-base/config
+// +k8s:protobuf-gen=package
+// +k8s:openapi-gen=true
-package v1alpha1 // import "k8s.io/component-base/config/v1alpha1"
+// +groupName=apidiscovery.k8s.io
+
+package v2 // import "k8s.io/api/apidiscovery/v2"
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/generated.pb.go
new file mode 100644
index 0000000000..5c37feaa2e
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/generated.pb.go
@@ -0,0 +1,1742 @@
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: k8s.io/api/apidiscovery/v2/generated.proto
+
+package v2
+
+import (
+ fmt "fmt"
+
+ io "io"
+
+ proto "github.com/gogo/protobuf/proto"
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+
+ math "math"
+ math_bits "math/bits"
+ reflect "reflect"
+ strings "strings"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+func (m *APIGroupDiscovery) Reset() { *m = APIGroupDiscovery{} }
+func (*APIGroupDiscovery) ProtoMessage() {}
+func (*APIGroupDiscovery) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e0b7287280068d8f, []int{0}
+}
+func (m *APIGroupDiscovery) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *APIGroupDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *APIGroupDiscovery) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_APIGroupDiscovery.Merge(m, src)
+}
+func (m *APIGroupDiscovery) XXX_Size() int {
+ return m.Size()
+}
+func (m *APIGroupDiscovery) XXX_DiscardUnknown() {
+ xxx_messageInfo_APIGroupDiscovery.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_APIGroupDiscovery proto.InternalMessageInfo
+
+func (m *APIGroupDiscoveryList) Reset() { *m = APIGroupDiscoveryList{} }
+func (*APIGroupDiscoveryList) ProtoMessage() {}
+func (*APIGroupDiscoveryList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e0b7287280068d8f, []int{1}
+}
+func (m *APIGroupDiscoveryList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *APIGroupDiscoveryList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *APIGroupDiscoveryList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_APIGroupDiscoveryList.Merge(m, src)
+}
+func (m *APIGroupDiscoveryList) XXX_Size() int {
+ return m.Size()
+}
+func (m *APIGroupDiscoveryList) XXX_DiscardUnknown() {
+ xxx_messageInfo_APIGroupDiscoveryList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_APIGroupDiscoveryList proto.InternalMessageInfo
+
+func (m *APIResourceDiscovery) Reset() { *m = APIResourceDiscovery{} }
+func (*APIResourceDiscovery) ProtoMessage() {}
+func (*APIResourceDiscovery) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e0b7287280068d8f, []int{2}
+}
+func (m *APIResourceDiscovery) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *APIResourceDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *APIResourceDiscovery) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_APIResourceDiscovery.Merge(m, src)
+}
+func (m *APIResourceDiscovery) XXX_Size() int {
+ return m.Size()
+}
+func (m *APIResourceDiscovery) XXX_DiscardUnknown() {
+ xxx_messageInfo_APIResourceDiscovery.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_APIResourceDiscovery proto.InternalMessageInfo
+
+func (m *APISubresourceDiscovery) Reset() { *m = APISubresourceDiscovery{} }
+func (*APISubresourceDiscovery) ProtoMessage() {}
+func (*APISubresourceDiscovery) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e0b7287280068d8f, []int{3}
+}
+func (m *APISubresourceDiscovery) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *APISubresourceDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *APISubresourceDiscovery) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_APISubresourceDiscovery.Merge(m, src)
+}
+func (m *APISubresourceDiscovery) XXX_Size() int {
+ return m.Size()
+}
+func (m *APISubresourceDiscovery) XXX_DiscardUnknown() {
+ xxx_messageInfo_APISubresourceDiscovery.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_APISubresourceDiscovery proto.InternalMessageInfo
+
+func (m *APIVersionDiscovery) Reset() { *m = APIVersionDiscovery{} }
+func (*APIVersionDiscovery) ProtoMessage() {}
+func (*APIVersionDiscovery) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e0b7287280068d8f, []int{4}
+}
+func (m *APIVersionDiscovery) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *APIVersionDiscovery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *APIVersionDiscovery) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_APIVersionDiscovery.Merge(m, src)
+}
+func (m *APIVersionDiscovery) XXX_Size() int {
+ return m.Size()
+}
+func (m *APIVersionDiscovery) XXX_DiscardUnknown() {
+ xxx_messageInfo_APIVersionDiscovery.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_APIVersionDiscovery proto.InternalMessageInfo
+
+func init() {
+ proto.RegisterType((*APIGroupDiscovery)(nil), "k8s.io.api.apidiscovery.v2.APIGroupDiscovery")
+ proto.RegisterType((*APIGroupDiscoveryList)(nil), "k8s.io.api.apidiscovery.v2.APIGroupDiscoveryList")
+ proto.RegisterType((*APIResourceDiscovery)(nil), "k8s.io.api.apidiscovery.v2.APIResourceDiscovery")
+ proto.RegisterType((*APISubresourceDiscovery)(nil), "k8s.io.api.apidiscovery.v2.APISubresourceDiscovery")
+ proto.RegisterType((*APIVersionDiscovery)(nil), "k8s.io.api.apidiscovery.v2.APIVersionDiscovery")
+}
+
+func init() {
+ proto.RegisterFile("k8s.io/api/apidiscovery/v2/generated.proto", fileDescriptor_e0b7287280068d8f)
+}
+
+var fileDescriptor_e0b7287280068d8f = []byte{
+ // 736 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x4e, 0xdb, 0x4c,
+ 0x14, 0x8d, 0x09, 0xf9, 0x48, 0x26, 0xc9, 0xd7, 0x30, 0x80, 0x6a, 0x65, 0xe1, 0xa0, 0x6c, 0x4a,
+ 0xab, 0x32, 0x86, 0x94, 0xa2, 0x2e, 0x9b, 0x94, 0xb6, 0x8a, 0xfa, 0x87, 0x26, 0x15, 0x8b, 0xaa,
+ 0x95, 0xea, 0x38, 0x83, 0xe3, 0x82, 0x7f, 0x34, 0xe3, 0x44, 0x62, 0xd7, 0x47, 0xe8, 0x13, 0xf4,
+ 0x79, 0xe8, 0x8e, 0x05, 0x0b, 0x56, 0x51, 0x49, 0x77, 0x7d, 0x04, 0x56, 0xd5, 0x8c, 0xc7, 0x3f,
+ 0x21, 0x44, 0x41, 0x5d, 0x74, 0x81, 0x84, 0xcf, 0x9c, 0x73, 0xee, 0x3d, 0xd7, 0xd7, 0x13, 0xf0,
+ 0xe0, 0xe8, 0x09, 0x43, 0xb6, 0xa7, 0x1b, 0xbe, 0xcd, 0xff, 0x7a, 0x36, 0x33, 0xbd, 0x21, 0xa1,
+ 0x27, 0xfa, 0xb0, 0xa1, 0x5b, 0xc4, 0x25, 0xd4, 0x08, 0x48, 0x0f, 0xf9, 0xd4, 0x0b, 0x3c, 0x58,
+ 0x0d, 0xb9, 0xc8, 0xf0, 0x6d, 0x94, 0xe6, 0xa2, 0x61, 0xa3, 0xba, 0x69, 0xd9, 0x41, 0x7f, 0xd0,
+ 0x45, 0xa6, 0xe7, 0xe8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, 0x52, 0xcb,
+ 0x9c, 0x5d, 0x6a, 0x99, 0x8b, 0x4b, 0x2d, 0xf3, 0x75, 0xac, 0x29, 0xa7, 0x63, 0x4d, 0x39, 0x1b,
+ 0x6b, 0xca, 0xc5, 0x58, 0x53, 0x7e, 0x8e, 0x35, 0xe5, 0xdb, 0x2f, 0x2d, 0xf3, 0xa1, 0x3a, 0xfb,
+ 0x37, 0xf4, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x35, 0x6a, 0x0f, 0x60, 0x07, 0x00, 0x00,
+}
+
+func (m *APIGroupDiscovery) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *APIGroupDiscovery) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *APIGroupDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Versions) > 0 {
+ for iNdEx := len(m.Versions) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Versions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *APIGroupDiscoveryList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *APIGroupDiscoveryList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *APIGroupDiscoveryList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *APIResourceDiscovery) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *APIResourceDiscovery) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *APIResourceDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Subresources) > 0 {
+ for iNdEx := len(m.Subresources) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Subresources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ }
+ if len(m.Categories) > 0 {
+ for iNdEx := len(m.Categories) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Categories[iNdEx])
+ copy(dAtA[i:], m.Categories[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Categories[iNdEx])))
+ i--
+ dAtA[i] = 0x3a
+ }
+ }
+ if len(m.ShortNames) > 0 {
+ for iNdEx := len(m.ShortNames) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.ShortNames[iNdEx])
+ copy(dAtA[i:], m.ShortNames[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.ShortNames[iNdEx])))
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if len(m.Verbs) > 0 {
+ for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Verbs[iNdEx])
+ copy(dAtA[i:], m.Verbs[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Verbs[iNdEx])))
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ i -= len(m.SingularResource)
+ copy(dAtA[i:], m.SingularResource)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.SingularResource)))
+ i--
+ dAtA[i] = 0x22
+ i -= len(m.Scope)
+ copy(dAtA[i:], m.Scope)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Scope)))
+ i--
+ dAtA[i] = 0x1a
+ if m.ResponseKind != nil {
+ {
+ size, err := m.ResponseKind.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ i -= len(m.Resource)
+ copy(dAtA[i:], m.Resource)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *APISubresourceDiscovery) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *APISubresourceDiscovery) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *APISubresourceDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Verbs) > 0 {
+ for iNdEx := len(m.Verbs) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Verbs[iNdEx])
+ copy(dAtA[i:], m.Verbs[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Verbs[iNdEx])))
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.AcceptedTypes) > 0 {
+ for iNdEx := len(m.AcceptedTypes) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.AcceptedTypes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.ResponseKind != nil {
+ {
+ size, err := m.ResponseKind.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ i -= len(m.Subresource)
+ copy(dAtA[i:], m.Subresource)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Subresource)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *APIVersionDiscovery) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *APIVersionDiscovery) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *APIVersionDiscovery) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Freshness)
+ copy(dAtA[i:], m.Freshness)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Freshness)))
+ i--
+ dAtA[i] = 0x1a
+ if len(m.Resources) > 0 {
+ for iNdEx := len(m.Resources) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Resources[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ i -= len(m.Version)
+ copy(dAtA[i:], m.Version)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
+ offset -= sovGenerated(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *APIGroupDiscovery) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Versions) > 0 {
+ for _, e := range m.Versions {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *APIGroupDiscoveryList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *APIResourceDiscovery) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Resource)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.ResponseKind != nil {
+ l = m.ResponseKind.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ l = len(m.Scope)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.SingularResource)
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Verbs) > 0 {
+ for _, s := range m.Verbs {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.ShortNames) > 0 {
+ for _, s := range m.ShortNames {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.Categories) > 0 {
+ for _, s := range m.Categories {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.Subresources) > 0 {
+ for _, e := range m.Subresources {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *APISubresourceDiscovery) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Subresource)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.ResponseKind != nil {
+ l = m.ResponseKind.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.AcceptedTypes) > 0 {
+ for _, e := range m.AcceptedTypes {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.Verbs) > 0 {
+ for _, s := range m.Verbs {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *APIVersionDiscovery) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Version)
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Resources) > 0 {
+ for _, e := range m.Resources {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ l = len(m.Freshness)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func sovGenerated(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozGenerated(x uint64) (n int) {
+ return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (this *APIGroupDiscovery) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForVersions := "[]APIVersionDiscovery{"
+ for _, f := range this.Versions {
+ repeatedStringForVersions += strings.Replace(strings.Replace(f.String(), "APIVersionDiscovery", "APIVersionDiscovery", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForVersions += "}"
+ s := strings.Join([]string{`&APIGroupDiscovery{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `Versions:` + repeatedStringForVersions + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *APIGroupDiscoveryList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]APIGroupDiscovery{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "APIGroupDiscovery", "APIGroupDiscovery", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&APIGroupDiscoveryList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *APIResourceDiscovery) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForSubresources := "[]APISubresourceDiscovery{"
+ for _, f := range this.Subresources {
+ repeatedStringForSubresources += strings.Replace(strings.Replace(f.String(), "APISubresourceDiscovery", "APISubresourceDiscovery", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForSubresources += "}"
+ s := strings.Join([]string{`&APIResourceDiscovery{`,
+ `Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
+ `ResponseKind:` + strings.Replace(fmt.Sprintf("%v", this.ResponseKind), "GroupVersionKind", "v1.GroupVersionKind", 1) + `,`,
+ `Scope:` + fmt.Sprintf("%v", this.Scope) + `,`,
+ `SingularResource:` + fmt.Sprintf("%v", this.SingularResource) + `,`,
+ `Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
+ `ShortNames:` + fmt.Sprintf("%v", this.ShortNames) + `,`,
+ `Categories:` + fmt.Sprintf("%v", this.Categories) + `,`,
+ `Subresources:` + repeatedStringForSubresources + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *APISubresourceDiscovery) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForAcceptedTypes := "[]GroupVersionKind{"
+ for _, f := range this.AcceptedTypes {
+ repeatedStringForAcceptedTypes += fmt.Sprintf("%v", f) + ","
+ }
+ repeatedStringForAcceptedTypes += "}"
+ s := strings.Join([]string{`&APISubresourceDiscovery{`,
+ `Subresource:` + fmt.Sprintf("%v", this.Subresource) + `,`,
+ `ResponseKind:` + strings.Replace(fmt.Sprintf("%v", this.ResponseKind), "GroupVersionKind", "v1.GroupVersionKind", 1) + `,`,
+ `AcceptedTypes:` + repeatedStringForAcceptedTypes + `,`,
+ `Verbs:` + fmt.Sprintf("%v", this.Verbs) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *APIVersionDiscovery) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForResources := "[]APIResourceDiscovery{"
+ for _, f := range this.Resources {
+ repeatedStringForResources += strings.Replace(strings.Replace(f.String(), "APIResourceDiscovery", "APIResourceDiscovery", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForResources += "}"
+ s := strings.Join([]string{`&APIVersionDiscovery{`,
+ `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
+ `Resources:` + repeatedStringForResources + `,`,
+ `Freshness:` + fmt.Sprintf("%v", this.Freshness) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func valueToStringGenerated(v interface{}) string {
+ rv := reflect.ValueOf(v)
+ if rv.IsNil() {
+ return "nil"
+ }
+ pv := reflect.Indirect(rv).Interface()
+ return fmt.Sprintf("*%v", pv)
+}
+func (m *APIGroupDiscovery) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: APIGroupDiscovery: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: APIGroupDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Versions", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Versions = append(m.Versions, APIVersionDiscovery{})
+ if err := m.Versions[len(m.Versions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *APIGroupDiscoveryList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: APIGroupDiscoveryList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: APIGroupDiscoveryList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, APIGroupDiscovery{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *APIResourceDiscovery) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: APIResourceDiscovery: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: APIResourceDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Resource = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResponseKind", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ResponseKind == nil {
+ m.ResponseKind = &v1.GroupVersionKind{}
+ }
+ if err := m.ResponseKind.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Scope", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Scope = ResourceScope(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SingularResource", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SingularResource = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ShortNames", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ShortNames = append(m.ShortNames, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Categories", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Categories = append(m.Categories, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Subresources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Subresources = append(m.Subresources, APISubresourceDiscovery{})
+ if err := m.Subresources[len(m.Subresources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *APISubresourceDiscovery) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: APISubresourceDiscovery: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: APISubresourceDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Subresource", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Subresource = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResponseKind", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ResponseKind == nil {
+ m.ResponseKind = &v1.GroupVersionKind{}
+ }
+ if err := m.ResponseKind.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AcceptedTypes", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AcceptedTypes = append(m.AcceptedTypes, v1.GroupVersionKind{})
+ if err := m.AcceptedTypes[len(m.AcceptedTypes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Verbs", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Verbs = append(m.Verbs, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *APIVersionDiscovery) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: APIVersionDiscovery: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: APIVersionDiscovery: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Version = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Resources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Resources = append(m.Resources, APIResourceDiscovery{})
+ if err := m.Resources[len(m.Resources)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Freshness", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Freshness = DiscoveryFreshness(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipGenerated(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthGenerated
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupGenerated
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthGenerated
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/generated.proto
new file mode 100644
index 0000000000..fa56318a6d
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/generated.proto
@@ -0,0 +1,156 @@
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+
+// This file was autogenerated by go-to-protobuf. Do not edit it manually!
+
+syntax = "proto2";
+
+package k8s.io.api.apidiscovery.v2;
+
+import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
+import "k8s.io/apimachinery/pkg/runtime/generated.proto";
+import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
+
+// Package-wide variables from generator "generated".
+option go_package = "k8s.io/api/apidiscovery/v2";
+
+// APIGroupDiscovery holds information about which resources are being served for all version of the API Group.
+// It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version.
+// Versions are in descending order of preference, with the first version being the preferred entry.
+message APIGroupDiscovery {
+ // Standard object's metadata.
+ // The only field completed will be name. For instance, resourceVersion will be empty.
+ // name is the name of the API group whose discovery information is presented here.
+ // name is allowed to be "" to represent the legacy, ungroupified resources.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // versions are the versions supported in this group. They are sorted in descending order of preference,
+ // with the preferred version being the first entry.
+ // +listType=map
+ // +listMapKey=version
+ repeated APIVersionDiscovery versions = 2;
+}
+
+// APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery.
+// This is one of the types able to be returned from the /api and /apis endpoint and contains an aggregated
+// list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers)
+// that a cluster supports.
+message APIGroupDiscoveryList {
+ // ResourceVersion will not be set, because this does not have a replayable ordering among multiple apiservers.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // items is the list of groups for discovery. The groups are listed in priority order.
+ repeated APIGroupDiscovery items = 2;
+}
+
+// APIResourceDiscovery provides information about an API resource for discovery.
+message APIResourceDiscovery {
+ // resource is the plural name of the resource. This is used in the URL path and is the unique identifier
+ // for this resource across all versions in the API group.
+ // Resources with non-empty groups are located at /apis///
+ // Resources with empty groups are located at /api/v1/
+ optional string resource = 1;
+
+ // responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns.
+ // APIs may return other objects types at their discretion, such as error conditions, requests for alternate representations, or other operation specific behavior.
+ // This value will be null or empty if an APIService reports subresources but supports no operations on the parent resource
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind responseKind = 2;
+
+ // scope indicates the scope of a resource, either Cluster or Namespaced
+ optional string scope = 3;
+
+ // singularResource is the singular name of the resource. This allows clients to handle plural and singular opaquely.
+ // For many clients the singular form of the resource will be more understandable to users reading messages and should be used when integrating the name of the resource into a sentence.
+ // The command line tool kubectl, for example, allows use of the singular resource name in place of plurals.
+ // The singular form of a resource should always be an optional element - when in doubt use the canonical resource name.
+ optional string singularResource = 4;
+
+ // verbs is a list of supported API operation types (this includes
+ // but is not limited to get, list, watch, create, update, patch,
+ // delete, deletecollection, and proxy).
+ // +listType=set
+ repeated string verbs = 5;
+
+ // shortNames is a list of suggested short names of the resource.
+ // +listType=set
+ repeated string shortNames = 6;
+
+ // categories is a list of the grouped resources this resource belongs to (e.g. 'all').
+ // Clients may use this to simplify acting on multiple resource types at once.
+ // +listType=set
+ repeated string categories = 7;
+
+ // subresources is a list of subresources provided by this resource. Subresources are located at /apis////name-of-instance/
+ // +listType=map
+ // +listMapKey=subresource
+ repeated APISubresourceDiscovery subresources = 8;
+}
+
+// APISubresourceDiscovery provides information about an API subresource for discovery.
+message APISubresourceDiscovery {
+ // subresource is the name of the subresource. This is used in the URL path and is the unique identifier
+ // for this resource across all versions.
+ optional string subresource = 1;
+
+ // responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns.
+ // Some subresources do not return normal resources, these will have null or empty return types.
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind responseKind = 2;
+
+ // acceptedTypes describes the kinds that this endpoint accepts.
+ // Subresources may accept the standard content types or define
+ // custom negotiation schemes. The list may not be exhaustive for
+ // all operations.
+ // +listType=map
+ // +listMapKey=group
+ // +listMapKey=version
+ // +listMapKey=kind
+ repeated k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind acceptedTypes = 3;
+
+ // verbs is a list of supported API operation types (this includes
+ // but is not limited to get, list, watch, create, update, patch,
+ // delete, deletecollection, and proxy). Subresources may define
+ // custom verbs outside the standard Kubernetes verb set. Clients
+ // should expect the behavior of standard verbs to align with
+ // Kubernetes interaction conventions.
+ // +listType=set
+ repeated string verbs = 4;
+}
+
+// APIVersionDiscovery holds a list of APIResourceDiscovery types that are served for a particular version within an API Group.
+message APIVersionDiscovery {
+ // version is the name of the version within a group version.
+ optional string version = 1;
+
+ // resources is a list of APIResourceDiscovery objects for the corresponding group version.
+ // +listType=map
+ // +listMapKey=resource
+ repeated APIResourceDiscovery resources = 2;
+
+ // freshness marks whether a group version's discovery document is up to date.
+ // "Current" indicates the discovery document was recently
+ // refreshed. "Stale" indicates the discovery document could not
+ // be retrieved and the returned discovery document may be
+ // significantly out of date. Clients that require the latest
+ // version of the discovery information be retrieved before
+ // performing an operation should not use the aggregated document
+ optional string freshness = 3;
+}
+
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/register.go b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/register.go
new file mode 100644
index 0000000000..dd759defce
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/register.go
@@ -0,0 +1,56 @@
+/*
+Copyright 2024 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v2
+
+import (
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+)
+
+// GroupName is the group name for this API.
+const GroupName = "apidiscovery.k8s.io"
+
+// SchemeGroupVersion is group version used to register these objects
+var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v2"}
+
+// Kind takes an unqualified kind and returns a Group qualified GroupKind
+func Kind(kind string) schema.GroupKind {
+ return SchemeGroupVersion.WithKind(kind).GroupKind()
+}
+
+// Resource takes an unqualified resource and returns a Group qualified GroupResource
+func Resource(resource string) schema.GroupResource {
+ return SchemeGroupVersion.WithResource(resource).GroupResource()
+}
+
+var (
+ // SchemeBuilder installs the api group to a scheme
+ SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
+ // AddToScheme adds api to a scheme
+ AddToScheme = SchemeBuilder.AddToScheme
+)
+
+// Adds the list of known types to the given scheme.
+func addKnownTypes(scheme *runtime.Scheme) error {
+ scheme.AddKnownTypes(SchemeGroupVersion,
+ &APIGroupDiscoveryList{},
+ &APIGroupDiscovery{},
+ )
+ metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/types.go
new file mode 100644
index 0000000000..f0e31bcde5
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/types.go
@@ -0,0 +1,155 @@
+/*
+Copyright 2024 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v2
+
+import (
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+
+// APIGroupDiscoveryList is a resource containing a list of APIGroupDiscovery.
+// This is one of the types able to be returned from the /api and /apis endpoint and contains an aggregated
+// list of API resources (built-ins, Custom Resource Definitions, resources from aggregated servers)
+// that a cluster supports.
+type APIGroupDiscoveryList struct {
+ v1.TypeMeta `json:",inline"`
+ // ResourceVersion will not be set, because this does not have a replayable ordering among multiple apiservers.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // items is the list of groups for discovery. The groups are listed in priority order.
+ Items []APIGroupDiscovery `json:"items" protobuf:"bytes,2,rep,name=items"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+
+// APIGroupDiscovery holds information about which resources are being served for all version of the API Group.
+// It contains a list of APIVersionDiscovery that holds a list of APIResourceDiscovery types served for a version.
+// Versions are in descending order of preference, with the first version being the preferred entry.
+type APIGroupDiscovery struct {
+ v1.TypeMeta `json:",inline"`
+ // Standard object's metadata.
+ // The only field completed will be name. For instance, resourceVersion will be empty.
+ // name is the name of the API group whose discovery information is presented here.
+ // name is allowed to be "" to represent the legacy, ungroupified resources.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // versions are the versions supported in this group. They are sorted in descending order of preference,
+ // with the preferred version being the first entry.
+ // +listType=map
+ // +listMapKey=version
+ Versions []APIVersionDiscovery `json:"versions,omitempty" protobuf:"bytes,2,rep,name=versions"`
+}
+
+// APIVersionDiscovery holds a list of APIResourceDiscovery types that are served for a particular version within an API Group.
+type APIVersionDiscovery struct {
+ // version is the name of the version within a group version.
+ Version string `json:"version" protobuf:"bytes,1,opt,name=version"`
+ // resources is a list of APIResourceDiscovery objects for the corresponding group version.
+ // +listType=map
+ // +listMapKey=resource
+ Resources []APIResourceDiscovery `json:"resources,omitempty" protobuf:"bytes,2,rep,name=resources"`
+ // freshness marks whether a group version's discovery document is up to date.
+ // "Current" indicates the discovery document was recently
+ // refreshed. "Stale" indicates the discovery document could not
+ // be retrieved and the returned discovery document may be
+ // significantly out of date. Clients that require the latest
+ // version of the discovery information be retrieved before
+ // performing an operation should not use the aggregated document
+ Freshness DiscoveryFreshness `json:"freshness,omitempty" protobuf:"bytes,3,opt,name=freshness"`
+}
+
+// APIResourceDiscovery provides information about an API resource for discovery.
+type APIResourceDiscovery struct {
+ // resource is the plural name of the resource. This is used in the URL path and is the unique identifier
+ // for this resource across all versions in the API group.
+ // Resources with non-empty groups are located at /apis///
+ // Resources with empty groups are located at /api/v1/
+ Resource string `json:"resource" protobuf:"bytes,1,opt,name=resource"`
+ // responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns.
+ // APIs may return other objects types at their discretion, such as error conditions, requests for alternate representations, or other operation specific behavior.
+ // This value will be null or empty if an APIService reports subresources but supports no operations on the parent resource
+ ResponseKind *v1.GroupVersionKind `json:"responseKind,omitempty" protobuf:"bytes,2,opt,name=responseKind"`
+ // scope indicates the scope of a resource, either Cluster or Namespaced
+ Scope ResourceScope `json:"scope" protobuf:"bytes,3,opt,name=scope"`
+ // singularResource is the singular name of the resource. This allows clients to handle plural and singular opaquely.
+ // For many clients the singular form of the resource will be more understandable to users reading messages and should be used when integrating the name of the resource into a sentence.
+ // The command line tool kubectl, for example, allows use of the singular resource name in place of plurals.
+ // The singular form of a resource should always be an optional element - when in doubt use the canonical resource name.
+ SingularResource string `json:"singularResource" protobuf:"bytes,4,opt,name=singularResource"`
+ // verbs is a list of supported API operation types (this includes
+ // but is not limited to get, list, watch, create, update, patch,
+ // delete, deletecollection, and proxy).
+ // +listType=set
+ Verbs []string `json:"verbs" protobuf:"bytes,5,opt,name=verbs"`
+ // shortNames is a list of suggested short names of the resource.
+ // +listType=set
+ ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,6,rep,name=shortNames"`
+ // categories is a list of the grouped resources this resource belongs to (e.g. 'all').
+ // Clients may use this to simplify acting on multiple resource types at once.
+ // +listType=set
+ Categories []string `json:"categories,omitempty" protobuf:"bytes,7,rep,name=categories"`
+ // subresources is a list of subresources provided by this resource. Subresources are located at /apis////name-of-instance/
+ // +listType=map
+ // +listMapKey=subresource
+ Subresources []APISubresourceDiscovery `json:"subresources,omitempty" protobuf:"bytes,8,rep,name=subresources"`
+}
+
+// ResourceScope is an enum defining the different scopes available to a resource.
+type ResourceScope string
+
+const (
+ ScopeCluster ResourceScope = "Cluster"
+ ScopeNamespace ResourceScope = "Namespaced"
+)
+
+// DiscoveryFreshness is an enum defining whether the Discovery document published by an apiservice is up to date (fresh).
+type DiscoveryFreshness string
+
+const (
+ DiscoveryFreshnessCurrent DiscoveryFreshness = "Current"
+ DiscoveryFreshnessStale DiscoveryFreshness = "Stale"
+)
+
+// APISubresourceDiscovery provides information about an API subresource for discovery.
+type APISubresourceDiscovery struct {
+ // subresource is the name of the subresource. This is used in the URL path and is the unique identifier
+ // for this resource across all versions.
+ Subresource string `json:"subresource" protobuf:"bytes,1,opt,name=subresource"`
+ // responseKind describes the group, version, and kind of the serialization schema for the object type this endpoint typically returns.
+ // Some subresources do not return normal resources, these will have null or empty return types.
+ ResponseKind *v1.GroupVersionKind `json:"responseKind,omitempty" protobuf:"bytes,2,opt,name=responseKind"`
+ // acceptedTypes describes the kinds that this endpoint accepts.
+ // Subresources may accept the standard content types or define
+ // custom negotiation schemes. The list may not be exhaustive for
+ // all operations.
+ // +listType=map
+ // +listMapKey=group
+ // +listMapKey=version
+ // +listMapKey=kind
+ AcceptedTypes []v1.GroupVersionKind `json:"acceptedTypes,omitempty" protobuf:"bytes,3,rep,name=acceptedTypes"`
+ // verbs is a list of supported API operation types (this includes
+ // but is not limited to get, list, watch, create, update, patch,
+ // delete, deletecollection, and proxy). Subresources may define
+ // custom verbs outside the standard Kubernetes verb set. Clients
+ // should expect the behavior of standard verbs to align with
+ // Kubernetes interaction conventions.
+ // +listType=set
+ Verbs []string `json:"verbs" protobuf:"bytes,4,opt,name=verbs"`
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/zz_generated.deepcopy.go
new file mode 100644
index 0000000000..029aeeab8c
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2/zz_generated.deepcopy.go
@@ -0,0 +1,190 @@
+//go:build !ignore_autogenerated
+// +build !ignore_autogenerated
+
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by deepcopy-gen. DO NOT EDIT.
+
+package v2
+
+import (
+ v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ runtime "k8s.io/apimachinery/pkg/runtime"
+)
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *APIGroupDiscovery) DeepCopyInto(out *APIGroupDiscovery) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ if in.Versions != nil {
+ in, out := &in.Versions, &out.Versions
+ *out = make([]APIVersionDiscovery, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupDiscovery.
+func (in *APIGroupDiscovery) DeepCopy() *APIGroupDiscovery {
+ if in == nil {
+ return nil
+ }
+ out := new(APIGroupDiscovery)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *APIGroupDiscovery) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *APIGroupDiscoveryList) DeepCopyInto(out *APIGroupDiscoveryList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]APIGroupDiscovery, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIGroupDiscoveryList.
+func (in *APIGroupDiscoveryList) DeepCopy() *APIGroupDiscoveryList {
+ if in == nil {
+ return nil
+ }
+ out := new(APIGroupDiscoveryList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *APIGroupDiscoveryList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *APIResourceDiscovery) DeepCopyInto(out *APIResourceDiscovery) {
+ *out = *in
+ if in.ResponseKind != nil {
+ in, out := &in.ResponseKind, &out.ResponseKind
+ *out = new(v1.GroupVersionKind)
+ **out = **in
+ }
+ if in.Verbs != nil {
+ in, out := &in.Verbs, &out.Verbs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.ShortNames != nil {
+ in, out := &in.ShortNames, &out.ShortNames
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Categories != nil {
+ in, out := &in.Categories, &out.Categories
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Subresources != nil {
+ in, out := &in.Subresources, &out.Subresources
+ *out = make([]APISubresourceDiscovery, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIResourceDiscovery.
+func (in *APIResourceDiscovery) DeepCopy() *APIResourceDiscovery {
+ if in == nil {
+ return nil
+ }
+ out := new(APIResourceDiscovery)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *APISubresourceDiscovery) DeepCopyInto(out *APISubresourceDiscovery) {
+ *out = *in
+ if in.ResponseKind != nil {
+ in, out := &in.ResponseKind, &out.ResponseKind
+ *out = new(v1.GroupVersionKind)
+ **out = **in
+ }
+ if in.AcceptedTypes != nil {
+ in, out := &in.AcceptedTypes, &out.AcceptedTypes
+ *out = make([]v1.GroupVersionKind, len(*in))
+ copy(*out, *in)
+ }
+ if in.Verbs != nil {
+ in, out := &in.Verbs, &out.Verbs
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APISubresourceDiscovery.
+func (in *APISubresourceDiscovery) DeepCopy() *APISubresourceDiscovery {
+ if in == nil {
+ return nil
+ }
+ out := new(APISubresourceDiscovery)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *APIVersionDiscovery) DeepCopyInto(out *APIVersionDiscovery) {
+ *out = *in
+ if in.Resources != nil {
+ in, out := &in.Resources, &out.Resources
+ *out = make([]APIResourceDiscovery, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new APIVersionDiscovery.
+func (in *APIVersionDiscovery) DeepCopy() *APIVersionDiscovery {
+ if in == nil {
+ return nil
+ }
+ out := new(APIVersionDiscovery)
+ in.DeepCopyInto(out)
+ return out
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2beta1/generated.pb.go
index ba6eee1b32..398c5f94f2 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apidiscovery/v2beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/apidiscovery/v2beta1/generated.proto
+// source: k8s.io/api/apidiscovery/v2beta1/generated.proto
package v2beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *APIGroupDiscovery) Reset() { *m = APIGroupDiscovery{} }
func (*APIGroupDiscovery) ProtoMessage() {}
func (*APIGroupDiscovery) Descriptor() ([]byte, []int) {
- return fileDescriptor_0442b7af4d680cb7, []int{0}
+ return fileDescriptor_48661e6ba3d554f3, []int{0}
}
func (m *APIGroupDiscovery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_APIGroupDiscovery proto.InternalMessageInfo
func (m *APIGroupDiscoveryList) Reset() { *m = APIGroupDiscoveryList{} }
func (*APIGroupDiscoveryList) ProtoMessage() {}
func (*APIGroupDiscoveryList) Descriptor() ([]byte, []int) {
- return fileDescriptor_0442b7af4d680cb7, []int{1}
+ return fileDescriptor_48661e6ba3d554f3, []int{1}
}
func (m *APIGroupDiscoveryList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_APIGroupDiscoveryList proto.InternalMessageInfo
func (m *APIResourceDiscovery) Reset() { *m = APIResourceDiscovery{} }
func (*APIResourceDiscovery) ProtoMessage() {}
func (*APIResourceDiscovery) Descriptor() ([]byte, []int) {
- return fileDescriptor_0442b7af4d680cb7, []int{2}
+ return fileDescriptor_48661e6ba3d554f3, []int{2}
}
func (m *APIResourceDiscovery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_APIResourceDiscovery proto.InternalMessageInfo
func (m *APISubresourceDiscovery) Reset() { *m = APISubresourceDiscovery{} }
func (*APISubresourceDiscovery) ProtoMessage() {}
func (*APISubresourceDiscovery) Descriptor() ([]byte, []int) {
- return fileDescriptor_0442b7af4d680cb7, []int{3}
+ return fileDescriptor_48661e6ba3d554f3, []int{3}
}
func (m *APISubresourceDiscovery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_APISubresourceDiscovery proto.InternalMessageInfo
func (m *APIVersionDiscovery) Reset() { *m = APIVersionDiscovery{} }
func (*APIVersionDiscovery) ProtoMessage() {}
func (*APIVersionDiscovery) Descriptor() ([]byte, []int) {
- return fileDescriptor_0442b7af4d680cb7, []int{4}
+ return fileDescriptor_48661e6ba3d554f3, []int{4}
}
func (m *APIVersionDiscovery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -193,59 +193,58 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apidiscovery/v2beta1/generated.proto", fileDescriptor_0442b7af4d680cb7)
+ proto.RegisterFile("k8s.io/api/apidiscovery/v2beta1/generated.proto", fileDescriptor_48661e6ba3d554f3)
}
-var fileDescriptor_0442b7af4d680cb7 = []byte{
- // 754 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x4e, 0xdb, 0x4c,
- 0x14, 0x8d, 0x09, 0xf9, 0x48, 0x26, 0xc9, 0xf7, 0x85, 0x01, 0xf4, 0x59, 0x2c, 0x6c, 0x94, 0x4d,
- 0xa9, 0xd4, 0xda, 0x25, 0x02, 0xc4, 0x36, 0x29, 0xb4, 0x8d, 0xfa, 0x87, 0x26, 0x15, 0x95, 0xaa,
- 0x2e, 0x6a, 0x3b, 0x17, 0xc7, 0x0d, 0xb1, 0xad, 0x99, 0x71, 0x24, 0x76, 0x7d, 0x84, 0xbe, 0x43,
- 0x5f, 0x86, 0x55, 0xc5, 0xa2, 0x0b, 0xba, 0x89, 0x4a, 0xfa, 0x00, 0xdd, 0xb3, 0xaa, 0xec, 0x8c,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 0x3d,
- 0x95, 0xc5, 0x9b, 0x4f, 0xa5, 0xfe, 0x4b, 0x42, 0x2b, 0x37, 0x7c, 0x81, 0xf0, 0x7d, 0xb4, 0x24,
- 0xbe, 0x38, 0x62, 0x9d, 0xff, 0x89, 0x7e, 0x4b, 0x82, 0x4a, 0xe2, 0x3a, 0x3e, 0x46, 0xa5, 0xf4,
- 0x14, 0x26, 0x1f, 0x87, 0x9d, 0x79, 0x4e, 0x61, 0xe6, 0x85, 0x6f, 0x2d, 0x8b, 0x1e, 0x25, 0x92,
- 0x1c, 0x41, 0x6a, 0x8d, 0x0f, 0x50, 0xe9, 0x98, 0x02, 0xeb, 0xb9, 0xc0, 0x98, 0x78, 0xed, 0xee,
- 0xc5, 0x82, 0x27, 0x71, 0xe1, 0x6a, 0xa4, 0xe2, 0xc4, 0x30, 0x41, 0x49, 0xaa, 0x6c, 0x1d, 0x9c,
- 0x5d, 0x2a, 0xb9, 0xf3, 0x4b, 0x25, 0x77, 0x71, 0xa9, 0xe4, 0x3e, 0x8d, 0x15, 0xe9, 0x6c, 0xac,
- 0x48, 0xe7, 0x63, 0x45, 0xba, 0x18, 0x2b, 0xd2, 0x8f, 0xb1, 0x22, 0x7d, 0xfe, 0xa9, 0xe4, 0xde,
- 0xa9, 0x77, 0xfc, 0x87, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x66, 0x3b, 0x84, 0x9c, 0x07,
- 0x00, 0x00,
+var fileDescriptor_48661e6ba3d554f3 = []byte{
+ // 740 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x4e, 0xdb, 0x4a,
+ 0x18, 0x8d, 0x09, 0xb9, 0x24, 0x93, 0xe4, 0xde, 0x30, 0x80, 0xae, 0xc5, 0xc2, 0x46, 0xd9, 0x5c,
+ 0xae, 0xd4, 0x8e, 0x4b, 0x04, 0x88, 0x6d, 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 0xce, 0xf2, 0xfe, 0xf0, 0xc6, 0x30, 0x50, 0xb5, 0x1d, 0x87, 0x84, 0x9c, 0xf4, 0x5e, 0x9f, 0x85,
+ 0x84, 0xe9, 0x79, 0x39, 0xb5, 0xdf, 0x2d, 0xb7, 0xa6, 0xe2, 0x55, 0x9b, 0x59, 0x53, 0x3c, 0x5d,
+ 0x23, 0x5d, 0x95, 0xc5, 0xdb, 0x57, 0xa5, 0xfe, 0x53, 0x03, 0x2b, 0xb7, 0xdc, 0x40, 0xf0, 0x7f,
+ 0xb0, 0xa4, 0x6e, 0x1c, 0x35, 0xce, 0x7f, 0x54, 0xbd, 0x25, 0x45, 0xc5, 0xf1, 0x39, 0x3c, 0x06,
+ 0xa5, 0x74, 0x15, 0xa2, 0xcb, 0x61, 0x67, 0x9e, 0x55, 0x98, 0x79, 0xe1, 0x5b, 0xcb, 0xaa, 0x46,
+ 0x09, 0x27, 0x4b, 0x90, 0x5a, 0xc3, 0x03, 0x50, 0x3a, 0xa6, 0x84, 0xf5, 0x7d, 0xc2, 0x98, 0x7a,
+ 0xed, 0xfe, 0x8b, 0x05, 0x4f, 0xe2, 0x83, 0xeb, 0xb1, 0x09, 0x13, 0xc3, 0x04, 0xc5, 0xa9, 0xb2,
+ 0x75, 0x70, 0x7e, 0x65, 0xe4, 0x2e, 0xae, 0x8c, 0xdc, 0xe5, 0x95, 0x91, 0xfb, 0x38, 0x31, 0xb4,
+ 0xf3, 0x89, 0xa1, 0x5d, 0x4c, 0x0c, 0xed, 0x72, 0x62, 0x68, 0xdf, 0x27, 0x86, 0xf6, 0xe9, 0x87,
+ 0x91, 0x7b, 0x6b, 0xde, 0xf3, 0x0f, 0xfb, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xe4, 0x85, 0x3b, 0x06,
+ 0x83, 0x07, 0x00, 0x00,
}
func (m *APIGroupDiscovery) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go
index 6871da414c..b0343ffcfb 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto
+// source: k8s.io/api/apiserverinternal/v1alpha1/generated.proto
package v1alpha1
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ServerStorageVersion) Reset() { *m = ServerStorageVersion{} }
func (*ServerStorageVersion) ProtoMessage() {}
func (*ServerStorageVersion) Descriptor() ([]byte, []int) {
- return fileDescriptor_a3903ff5e3cc7a03, []int{0}
+ return fileDescriptor_126bcbf538b54729, []int{0}
}
func (m *ServerStorageVersion) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_ServerStorageVersion proto.InternalMessageInfo
func (m *StorageVersion) Reset() { *m = StorageVersion{} }
func (*StorageVersion) ProtoMessage() {}
func (*StorageVersion) Descriptor() ([]byte, []int) {
- return fileDescriptor_a3903ff5e3cc7a03, []int{1}
+ return fileDescriptor_126bcbf538b54729, []int{1}
}
func (m *StorageVersion) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -102,7 +102,7 @@ var xxx_messageInfo_StorageVersion proto.InternalMessageInfo
func (m *StorageVersionCondition) Reset() { *m = StorageVersionCondition{} }
func (*StorageVersionCondition) ProtoMessage() {}
func (*StorageVersionCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_a3903ff5e3cc7a03, []int{2}
+ return fileDescriptor_126bcbf538b54729, []int{2}
}
func (m *StorageVersionCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -130,7 +130,7 @@ var xxx_messageInfo_StorageVersionCondition proto.InternalMessageInfo
func (m *StorageVersionList) Reset() { *m = StorageVersionList{} }
func (*StorageVersionList) ProtoMessage() {}
func (*StorageVersionList) Descriptor() ([]byte, []int) {
- return fileDescriptor_a3903ff5e3cc7a03, []int{3}
+ return fileDescriptor_126bcbf538b54729, []int{3}
}
func (m *StorageVersionList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -158,7 +158,7 @@ var xxx_messageInfo_StorageVersionList proto.InternalMessageInfo
func (m *StorageVersionSpec) Reset() { *m = StorageVersionSpec{} }
func (*StorageVersionSpec) ProtoMessage() {}
func (*StorageVersionSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_a3903ff5e3cc7a03, []int{4}
+ return fileDescriptor_126bcbf538b54729, []int{4}
}
func (m *StorageVersionSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -186,7 +186,7 @@ var xxx_messageInfo_StorageVersionSpec proto.InternalMessageInfo
func (m *StorageVersionStatus) Reset() { *m = StorageVersionStatus{} }
func (*StorageVersionStatus) ProtoMessage() {}
func (*StorageVersionStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_a3903ff5e3cc7a03, []int{5}
+ return fileDescriptor_126bcbf538b54729, []int{5}
}
func (m *StorageVersionStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -221,61 +221,60 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto", fileDescriptor_a3903ff5e3cc7a03)
+ proto.RegisterFile("k8s.io/api/apiserverinternal/v1alpha1/generated.proto", fileDescriptor_126bcbf538b54729)
}
-var fileDescriptor_a3903ff5e3cc7a03 = []byte{
- // 790 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x4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 0xd6, 0xc5, 0x78, 0x72, 0x76, 0xa9, 0x66, 0xce, 0x2f, 0xd5, 0xcc, 0xc5, 0xa5, 0x9a, 0x79, 0x17,
- 0xaa, 0xca, 0x59, 0xa8, 0x2a, 0xe7, 0xa1, 0xaa, 0x5c, 0x84, 0xaa, 0xf2, 0x35, 0x54, 0x95, 0xf7,
- 0xdf, 0xd4, 0xcc, 0xc9, 0xda, 0x54, 0x1f, 0xe4, 0xef, 0x01, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x3a,
- 0x2e, 0x07, 0xd1, 0x07, 0x00, 0x00,
+var fileDescriptor_126bcbf538b54729 = []byte{
+ // 770 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0x41, 0x4f, 0x13, 0x41,
+ 0x14, 0xee, 0xd2, 0x52, 0x60, 0xaa, 0xad, 0x8c, 0x10, 0x6a, 0x4d, 0xb6, 0xd8, 0x04, 0x83, 0x1a,
+ 0x77, 0xa5, 0x11, 0x23, 0x9a, 0x68, 0x58, 0x20, 0x06, 0x85, 0x60, 0xa6, 0xc4, 0x03, 0x7a, 0x70,
+ 0xba, 0x1d, 0xb7, 0x2b, 0xdd, 0x9d, 0xcd, 0xce, 0xb4, 0x09, 0x17, 0xe3, 0x4f, 0xd0, 0xff, 0xe1,
+ 0xd1, 0x1f, 0xc1, 0xc9, 0x70, 0x24, 0x31, 0x69, 0x64, 0xfd, 0x17, 0x9c, 0xcc, 0xcc, 0x6e, 0xb7,
+ 0x6c, 0x5b, 0x62, 0xc3, 0xa1, 0x49, 0xe7, 0xbd, 0xf7, 0x7d, 0xef, 0xcd, 0x37, 0xdf, 0xcc, 0x82,
+ 0xd5, 0xc3, 0xa7, 0x4c, 0xb3, 0xa9, 0x8e, 0x3d, 0x5b, 0xfc, 0x18, 0xf1, 0x3b, 0xc4, 0xb7, 0x5d,
+ 0x4e, 0x7c, 0x17, 0x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0x25, 0xe2, 0xac, 0xa8,
+ 0xc8, 0xa1, 0xc6, 0xbe, 0x1c, 0x23, 0x9e, 0xcd, 0xfe, 0x33, 0x97, 0x8c, 0x33, 0x34, 0xd8, 0x0c,
+ 0xee, 0x81, 0x79, 0x93, 0x3a, 0x0e, 0x75, 0xb7, 0x46, 0xbe, 0x97, 0xb7, 0x82, 0x6e, 0x79, 0x7e,
+ 0x63, 0x54, 0x01, 0x1a, 0x8d, 0x83, 0x3e, 0x00, 0x66, 0xef, 0x0a, 0x84, 0x0f, 0x66, 0xae, 0xfa,
+ 0xe2, 0x4a, 0x02, 0xc7, 0x37, 0xa9, 0xff, 0x66, 0xc5, 0x21, 0x86, 0x2e, 0x74, 0x31, 0xde, 0x1c,
+ 0x9f, 0xa9, 0xa9, 0x93, 0x33, 0x35, 0x75, 0x7a, 0xa6, 0xa6, 0xbe, 0x06, 0xaa, 0x72, 0x1c, 0xa8,
+ 0xca, 0x49, 0xa0, 0x2a, 0xa7, 0x81, 0xaa, 0xfc, 0x09, 0x54, 0xe5, 0xdb, 0x5f, 0x35, 0x75, 0xb0,
+ 0x34, 0xd6, 0x07, 0xf9, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x79, 0x04, 0x7d, 0x78, 0xb8, 0x07,
+ 0x00, 0x00,
}
func (m *ServerStorageVersion) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto
index 6e6bab5218..ef44290480 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/generated.proto
@@ -77,7 +77,6 @@ message StorageVersionCondition {
optional int64 observedGeneration = 3;
// Last time the condition transitioned from one status to another.
- // +required
optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
// The reason for the condition's last transition.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go
index 0ffcf95f06..31a419abf1 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apiserverinternal/v1alpha1/types.go
@@ -111,7 +111,6 @@ type StorageVersionCondition struct {
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"`
// Last time the condition transitioned from one status to another.
- // +required
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
// The reason for the condition's last transition.
// +required
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.pb.go
index 84a7af5994..ea62a099fe 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto
+// source: k8s.io/api/apps/v1/generated.proto
package v1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
func (*ControllerRevision) ProtoMessage() {}
func (*ControllerRevision) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{0}
+ return fileDescriptor_5b781835628d5338, []int{0}
}
func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_ControllerRevision proto.InternalMessageInfo
func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
func (*ControllerRevisionList) ProtoMessage() {}
func (*ControllerRevisionList) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{1}
+ return fileDescriptor_5b781835628d5338, []int{1}
}
func (m *ControllerRevisionList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_ControllerRevisionList proto.InternalMessageInfo
func (m *DaemonSet) Reset() { *m = DaemonSet{} }
func (*DaemonSet) ProtoMessage() {}
func (*DaemonSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{2}
+ return fileDescriptor_5b781835628d5338, []int{2}
}
func (m *DaemonSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_DaemonSet proto.InternalMessageInfo
func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
func (*DaemonSetCondition) ProtoMessage() {}
func (*DaemonSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{3}
+ return fileDescriptor_5b781835628d5338, []int{3}
}
func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo
func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
func (*DaemonSetList) ProtoMessage() {}
func (*DaemonSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{4}
+ return fileDescriptor_5b781835628d5338, []int{4}
}
func (m *DaemonSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -191,7 +191,7 @@ var xxx_messageInfo_DaemonSetList proto.InternalMessageInfo
func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
func (*DaemonSetSpec) ProtoMessage() {}
func (*DaemonSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{5}
+ return fileDescriptor_5b781835628d5338, []int{5}
}
func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -219,7 +219,7 @@ var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo
func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
func (*DaemonSetStatus) ProtoMessage() {}
func (*DaemonSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{6}
+ return fileDescriptor_5b781835628d5338, []int{6}
}
func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -247,7 +247,7 @@ var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo
func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
func (*DaemonSetUpdateStrategy) ProtoMessage() {}
func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{7}
+ return fileDescriptor_5b781835628d5338, []int{7}
}
func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -275,7 +275,7 @@ var xxx_messageInfo_DaemonSetUpdateStrategy proto.InternalMessageInfo
func (m *Deployment) Reset() { *m = Deployment{} }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{8}
+ return fileDescriptor_5b781835628d5338, []int{8}
}
func (m *Deployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +303,7 @@ var xxx_messageInfo_Deployment proto.InternalMessageInfo
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
func (*DeploymentCondition) ProtoMessage() {}
func (*DeploymentCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{9}
+ return fileDescriptor_5b781835628d5338, []int{9}
}
func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +331,7 @@ var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
func (*DeploymentList) ProtoMessage() {}
func (*DeploymentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{10}
+ return fileDescriptor_5b781835628d5338, []int{10}
}
func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -359,7 +359,7 @@ var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
func (*DeploymentSpec) ProtoMessage() {}
func (*DeploymentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{11}
+ return fileDescriptor_5b781835628d5338, []int{11}
}
func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -387,7 +387,7 @@ var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
func (*DeploymentStatus) ProtoMessage() {}
func (*DeploymentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{12}
+ return fileDescriptor_5b781835628d5338, []int{12}
}
func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -415,7 +415,7 @@ var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{13}
+ return fileDescriptor_5b781835628d5338, []int{13}
}
func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -443,7 +443,7 @@ var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
func (*ReplicaSet) ProtoMessage() {}
func (*ReplicaSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{14}
+ return fileDescriptor_5b781835628d5338, []int{14}
}
func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -471,7 +471,7 @@ var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo
func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
func (*ReplicaSetCondition) ProtoMessage() {}
func (*ReplicaSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{15}
+ return fileDescriptor_5b781835628d5338, []int{15}
}
func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -499,7 +499,7 @@ var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo
func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
func (*ReplicaSetList) ProtoMessage() {}
func (*ReplicaSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{16}
+ return fileDescriptor_5b781835628d5338, []int{16}
}
func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -527,7 +527,7 @@ var xxx_messageInfo_ReplicaSetList proto.InternalMessageInfo
func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
func (*ReplicaSetSpec) ProtoMessage() {}
func (*ReplicaSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{17}
+ return fileDescriptor_5b781835628d5338, []int{17}
}
func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -555,7 +555,7 @@ var xxx_messageInfo_ReplicaSetSpec proto.InternalMessageInfo
func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
func (*ReplicaSetStatus) ProtoMessage() {}
func (*ReplicaSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{18}
+ return fileDescriptor_5b781835628d5338, []int{18}
}
func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -583,7 +583,7 @@ var xxx_messageInfo_ReplicaSetStatus proto.InternalMessageInfo
func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
func (*RollingUpdateDaemonSet) ProtoMessage() {}
func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{19}
+ return fileDescriptor_5b781835628d5338, []int{19}
}
func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -611,7 +611,7 @@ var xxx_messageInfo_RollingUpdateDaemonSet proto.InternalMessageInfo
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{20}
+ return fileDescriptor_5b781835628d5338, []int{20}
}
func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -639,7 +639,7 @@ var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{21}
+ return fileDescriptor_5b781835628d5338, []int{21}
}
func (m *RollingUpdateStatefulSetStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -667,7 +667,7 @@ var xxx_messageInfo_RollingUpdateStatefulSetStrategy proto.InternalMessageInfo
func (m *StatefulSet) Reset() { *m = StatefulSet{} }
func (*StatefulSet) ProtoMessage() {}
func (*StatefulSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{22}
+ return fileDescriptor_5b781835628d5338, []int{22}
}
func (m *StatefulSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -695,7 +695,7 @@ var xxx_messageInfo_StatefulSet proto.InternalMessageInfo
func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
func (*StatefulSetCondition) ProtoMessage() {}
func (*StatefulSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{23}
+ return fileDescriptor_5b781835628d5338, []int{23}
}
func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -723,7 +723,7 @@ var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo
func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
func (*StatefulSetList) ProtoMessage() {}
func (*StatefulSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{24}
+ return fileDescriptor_5b781835628d5338, []int{24}
}
func (m *StatefulSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -751,7 +751,7 @@ var xxx_messageInfo_StatefulSetList proto.InternalMessageInfo
func (m *StatefulSetOrdinals) Reset() { *m = StatefulSetOrdinals{} }
func (*StatefulSetOrdinals) ProtoMessage() {}
func (*StatefulSetOrdinals) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{25}
+ return fileDescriptor_5b781835628d5338, []int{25}
}
func (m *StatefulSetOrdinals) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -781,7 +781,7 @@ func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset() {
}
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage() {}
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{26}
+ return fileDescriptor_5b781835628d5338, []int{26}
}
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -809,7 +809,7 @@ var xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy proto.Intern
func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
func (*StatefulSetSpec) ProtoMessage() {}
func (*StatefulSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{27}
+ return fileDescriptor_5b781835628d5338, []int{27}
}
func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -837,7 +837,7 @@ var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo
func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
func (*StatefulSetStatus) ProtoMessage() {}
func (*StatefulSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{28}
+ return fileDescriptor_5b781835628d5338, []int{28}
}
func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -865,7 +865,7 @@ var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo
func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
func (*StatefulSetUpdateStrategy) ProtoMessage() {}
func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_e1014cab6f31e43b, []int{29}
+ return fileDescriptor_5b781835628d5338, []int{29}
}
func (m *StatefulSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -924,150 +924,149 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1/generated.proto", fileDescriptor_e1014cab6f31e43b)
+ proto.RegisterFile("k8s.io/api/apps/v1/generated.proto", fileDescriptor_5b781835628d5338)
}
-var fileDescriptor_e1014cab6f31e43b = []byte{
- // 2211 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_5b781835628d5338 = []byte{
+ // 2194 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7,
0x15, 0xd7, 0xf2, 0x43, 0xa2, 0x86, 0x96, 0x64, 0x8f, 0x54, 0x89, 0xb1, 0x1b, 0xd2, 0xdd, 0xb8,
- 0xb6, 0x12, 0xc7, 0x64, 0xed, 0x38, 0x41, 0x60, 0x17, 0x09, 0x44, 0x2a, 0x4d, 0xd3, 0xe8, 0xab,
- 0x43, 0xcb, 0x01, 0xdc, 0xb4, 0xe8, 0x88, 0x1c, 0x53, 0x1b, 0xed, 0x17, 0x76, 0x87, 0x8a, 0x89,
- 0x5e, 0x8a, 0x02, 0xbd, 0xf5, 0xd0, 0xbf, 0xa1, 0xff, 0x40, 0x51, 0x14, 0xcd, 0x2d, 0x08, 0x82,
- 0x5e, 0x7c, 0x29, 0x10, 0xf4, 0xd2, 0x9c, 0x88, 0x9a, 0x39, 0x15, 0x45, 0x6f, 0xed, 0xc5, 0x97,
- 0x16, 0x33, 0x3b, 0xfb, 0x3d, 0x2b, 0x52, 0x72, 0xac, 0x34, 0x81, 0x6f, 0xdc, 0x99, 0xdf, 0xfb,
- 0xed, 0x9b, 0x99, 0xf7, 0xe6, 0xfd, 0x66, 0x96, 0xe0, 0xf6, 0xc1, 0xeb, 0x6e, 0x5d, 0xb3, 0x1a,
- 0x07, 0xfd, 0x3d, 0xe2, 0x98, 0x84, 0x12, 0xb7, 0x71, 0x48, 0xcc, 0xae, 0xe5, 0x34, 0x44, 0x07,
- 0xb6, 0xb5, 0x06, 0xb6, 0x6d, 0xb7, 0x71, 0x78, 0xbd, 0xd1, 0x23, 0x26, 0x71, 0x30, 0x25, 0xdd,
- 0xba, 0xed, 0x58, 0xd4, 0x82, 0xd0, 0xc3, 0xd4, 0xb1, 0xad, 0xd5, 0x19, 0xa6, 0x7e, 0x78, 0xfd,
- 0xfc, 0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0xc6, 0x52, 0x72, 0x12, 0x19, 0x7f, 0x75, 0xd9, 0x7e, 0xf5, 0xe1, 0xa3, 0xfa, 0xd4, 0xa7,
+ 0x8f, 0xea, 0x53, 0x9f, 0x3d, 0xaa, 0x4f, 0xfd, 0x72, 0x54, 0x57, 0x1e, 0x8e, 0xea, 0xca, 0xa7,
+ 0xa3, 0xba, 0xf2, 0xd9, 0xa8, 0xae, 0xfc, 0x7d, 0x54, 0x57, 0x7e, 0xfb, 0x79, 0x7d, 0xea, 0x2e,
+ 0xcc, 0xfe, 0x2b, 0xf3, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xd3, 0xfa, 0xed, 0x70, 0xaa, 0x29,
+ 0x00, 0x00,
}
func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.proto
index a7a7e7c547..9001416861 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/generated.proto
@@ -200,6 +200,8 @@ message DaemonSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DaemonSetCondition conditions = 10;
}
@@ -341,6 +343,8 @@ message DeploymentStatus {
// Represents the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DeploymentCondition conditions = 6;
// Count of hash collisions for the Deployment. The Deployment controller uses this
@@ -475,6 +479,8 @@ message ReplicaSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated ReplicaSetCondition conditions = 6;
}
@@ -688,6 +694,7 @@ message StatefulSetSpec {
// any volumes in the template, with the same name.
// TODO: Define the behavior if a claim already exists with the same name.
// +optional
+ // +listType=atomic
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
// serviceName is the name of the service that governs this StatefulSet.
@@ -782,6 +789,8 @@ message StatefulSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated StatefulSetCondition conditions = 10;
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/types.go
index 644d368fe4..96ff620986 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1/types.go
@@ -211,6 +211,7 @@ type StatefulSetSpec struct {
// any volumes in the template, with the same name.
// TODO: Define the behavior if a claim already exists with the same name.
// +optional
+ // +listType=atomic
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
// serviceName is the name of the service that governs this StatefulSet.
@@ -305,6 +306,8 @@ type StatefulSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
// Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
@@ -507,6 +510,8 @@ type DeploymentStatus struct {
// Represents the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
// Count of hash collisions for the Deployment. The Deployment controller uses this
@@ -714,6 +719,8 @@ type DaemonSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
}
@@ -884,6 +891,8 @@ type ReplicaSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.pb.go
index 2f1e7c00a1..76e755b4a3 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto
+// source: k8s.io/api/apps/v1beta1/generated.proto
package v1beta1
@@ -52,7 +52,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
func (*ControllerRevision) ProtoMessage() {}
func (*ControllerRevision) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{0}
+ return fileDescriptor_2747f709ac7c95e7, []int{0}
}
func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -80,7 +80,7 @@ var xxx_messageInfo_ControllerRevision proto.InternalMessageInfo
func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
func (*ControllerRevisionList) ProtoMessage() {}
func (*ControllerRevisionList) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{1}
+ return fileDescriptor_2747f709ac7c95e7, []int{1}
}
func (m *ControllerRevisionList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -108,7 +108,7 @@ var xxx_messageInfo_ControllerRevisionList proto.InternalMessageInfo
func (m *Deployment) Reset() { *m = Deployment{} }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{2}
+ return fileDescriptor_2747f709ac7c95e7, []int{2}
}
func (m *Deployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -136,7 +136,7 @@ var xxx_messageInfo_Deployment proto.InternalMessageInfo
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
func (*DeploymentCondition) ProtoMessage() {}
func (*DeploymentCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{3}
+ return fileDescriptor_2747f709ac7c95e7, []int{3}
}
func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -164,7 +164,7 @@ var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
func (*DeploymentList) ProtoMessage() {}
func (*DeploymentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{4}
+ return fileDescriptor_2747f709ac7c95e7, []int{4}
}
func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -192,7 +192,7 @@ var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
func (*DeploymentRollback) ProtoMessage() {}
func (*DeploymentRollback) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{5}
+ return fileDescriptor_2747f709ac7c95e7, []int{5}
}
func (m *DeploymentRollback) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -220,7 +220,7 @@ var xxx_messageInfo_DeploymentRollback proto.InternalMessageInfo
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
func (*DeploymentSpec) ProtoMessage() {}
func (*DeploymentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{6}
+ return fileDescriptor_2747f709ac7c95e7, []int{6}
}
func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -248,7 +248,7 @@ var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
func (*DeploymentStatus) ProtoMessage() {}
func (*DeploymentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{7}
+ return fileDescriptor_2747f709ac7c95e7, []int{7}
}
func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -276,7 +276,7 @@ var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{8}
+ return fileDescriptor_2747f709ac7c95e7, []int{8}
}
func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -304,7 +304,7 @@ var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
func (*RollbackConfig) ProtoMessage() {}
func (*RollbackConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{9}
+ return fileDescriptor_2747f709ac7c95e7, []int{9}
}
func (m *RollbackConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -332,7 +332,7 @@ var xxx_messageInfo_RollbackConfig proto.InternalMessageInfo
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{10}
+ return fileDescriptor_2747f709ac7c95e7, []int{10}
}
func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -360,7 +360,7 @@ var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{11}
+ return fileDescriptor_2747f709ac7c95e7, []int{11}
}
func (m *RollingUpdateStatefulSetStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -388,7 +388,7 @@ var xxx_messageInfo_RollingUpdateStatefulSetStrategy proto.InternalMessageInfo
func (m *Scale) Reset() { *m = Scale{} }
func (*Scale) ProtoMessage() {}
func (*Scale) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{12}
+ return fileDescriptor_2747f709ac7c95e7, []int{12}
}
func (m *Scale) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -416,7 +416,7 @@ var xxx_messageInfo_Scale proto.InternalMessageInfo
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
func (*ScaleSpec) ProtoMessage() {}
func (*ScaleSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{13}
+ return fileDescriptor_2747f709ac7c95e7, []int{13}
}
func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -444,7 +444,7 @@ var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
func (*ScaleStatus) ProtoMessage() {}
func (*ScaleStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{14}
+ return fileDescriptor_2747f709ac7c95e7, []int{14}
}
func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -472,7 +472,7 @@ var xxx_messageInfo_ScaleStatus proto.InternalMessageInfo
func (m *StatefulSet) Reset() { *m = StatefulSet{} }
func (*StatefulSet) ProtoMessage() {}
func (*StatefulSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{15}
+ return fileDescriptor_2747f709ac7c95e7, []int{15}
}
func (m *StatefulSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -500,7 +500,7 @@ var xxx_messageInfo_StatefulSet proto.InternalMessageInfo
func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
func (*StatefulSetCondition) ProtoMessage() {}
func (*StatefulSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{16}
+ return fileDescriptor_2747f709ac7c95e7, []int{16}
}
func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -528,7 +528,7 @@ var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo
func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
func (*StatefulSetList) ProtoMessage() {}
func (*StatefulSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{17}
+ return fileDescriptor_2747f709ac7c95e7, []int{17}
}
func (m *StatefulSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -556,7 +556,7 @@ var xxx_messageInfo_StatefulSetList proto.InternalMessageInfo
func (m *StatefulSetOrdinals) Reset() { *m = StatefulSetOrdinals{} }
func (*StatefulSetOrdinals) ProtoMessage() {}
func (*StatefulSetOrdinals) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{18}
+ return fileDescriptor_2747f709ac7c95e7, []int{18}
}
func (m *StatefulSetOrdinals) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -586,7 +586,7 @@ func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset() {
}
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage() {}
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{19}
+ return fileDescriptor_2747f709ac7c95e7, []int{19}
}
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -614,7 +614,7 @@ var xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy proto.Intern
func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
func (*StatefulSetSpec) ProtoMessage() {}
func (*StatefulSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{20}
+ return fileDescriptor_2747f709ac7c95e7, []int{20}
}
func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -642,7 +642,7 @@ var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo
func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
func (*StatefulSetStatus) ProtoMessage() {}
func (*StatefulSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{21}
+ return fileDescriptor_2747f709ac7c95e7, []int{21}
}
func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -670,7 +670,7 @@ var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo
func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
func (*StatefulSetUpdateStrategy) ProtoMessage() {}
func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_2a07313e8f66e805, []int{22}
+ return fileDescriptor_2747f709ac7c95e7, []int{22}
}
func (m *StatefulSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -724,138 +724,137 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta1/generated.proto", fileDescriptor_2a07313e8f66e805)
+ proto.RegisterFile("k8s.io/api/apps/v1beta1/generated.proto", fileDescriptor_2747f709ac7c95e7)
}
-var fileDescriptor_2a07313e8f66e805 = []byte{
- // 2034 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_2747f709ac7c95e7 = []byte{
+ // 2018 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x59, 0xcd, 0x6f, 0x1b, 0xc7,
- 0x15, 0xd7, 0x52, 0xa2, 0x44, 0x3d, 0x45, 0x54, 0x3c, 0x52, 0x2d, 0x46, 0x69, 0x25, 0x61, 0x63,
- 0x24, 0x4a, 0x62, 0x2f, 0x63, 0x25, 0x0d, 0x12, 0xbb, 0x75, 0x2b, 0x4a, 0x6e, 0xec, 0x40, 0x8a,
+ 0x15, 0xf7, 0x52, 0xa2, 0x44, 0x3d, 0x45, 0x94, 0x3d, 0x52, 0x2d, 0x46, 0x69, 0x25, 0x61, 0x63,
+ 0xc4, 0x4a, 0x62, 0x2f, 0x63, 0x25, 0x0d, 0x12, 0xbb, 0x75, 0x21, 0x4a, 0x6e, 0xec, 0x40, 0x8a,
0x94, 0x91, 0x64, 0xa3, 0xe9, 0x07, 0x32, 0x22, 0xc7, 0xd4, 0x46, 0xfb, 0x85, 0xdd, 0x21, 0x63,
0xa2, 0x97, 0xfe, 0x01, 0x05, 0xd2, 0x73, 0xff, 0x8a, 0xf6, 0xd4, 0xa2, 0x45, 0x2f, 0x3d, 0x14,
0x3e, 0x06, 0xbd, 0x34, 0x27, 0xa2, 0x66, 0xae, 0xed, 0xad, 0xbd, 0x18, 0x28, 0x50, 0xcc, 0xec,
- 0xec, 0xf7, 0xae, 0xb4, 0x2c, 0x60, 0x01, 0xed, 0x8d, 0x3b, 0xef, 0xbd, 0xdf, 0x7b, 0xf3, 0xe6,
- 0xbd, 0x37, 0xef, 0x0d, 0xe1, 0xfb, 0x67, 0xef, 0x79, 0x9a, 0x6e, 0x37, 0xcf, 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0xa1, 0x60, 0xac, 0xaf, 0x74, 0xf3, 0x5f, 0x1a, 0xde, 0x2f, 0xf7, 0xd2,
+ 0x90, 0x33, 0x05, 0x9f, 0xff, 0xe4, 0xd0, 0xfa, 0xfe, 0xd3, 0x67, 0x2b, 0x97, 0xbe, 0x7c, 0xb6,
+ 0x72, 0xe9, 0xab, 0x67, 0x2b, 0x97, 0x7e, 0x31, 0x5a, 0x51, 0x9e, 0x8e, 0x56, 0x94, 0x2f, 0x47,
+ 0x2b, 0xca, 0x57, 0xa3, 0x15, 0xe5, 0xef, 0xa3, 0x15, 0xe5, 0x57, 0x5f, 0xaf, 0x5c, 0xfa, 0x64,
+ 0xa9, 0xe0, 0xdf, 0xe8, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xb9, 0xc9, 0xe6, 0x8c, 0xa7, 0x1e,
0x00, 0x00,
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.proto
index 245ec30f42..8965622257 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/generated.proto
@@ -208,6 +208,8 @@ message DeploymentStatus {
// Conditions represent the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DeploymentCondition conditions = 6;
// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this
@@ -445,6 +447,7 @@ message StatefulSetSpec {
// any volumes in the template, with the same name.
// TODO: Define the behavior if a claim already exists with the same name.
// +optional
+ // +listType=atomic
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
// serviceName is the name of the service that governs this StatefulSet.
@@ -536,6 +539,8 @@ message StatefulSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated StatefulSetCondition conditions = 10;
// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/types.go
index 59ed9c2ac3..bdf9f93a9b 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta1/types.go
@@ -251,6 +251,7 @@ type StatefulSetSpec struct {
// any volumes in the template, with the same name.
// TODO: Define the behavior if a claim already exists with the same name.
// +optional
+ // +listType=atomic
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
// serviceName is the name of the service that governs this StatefulSet.
@@ -342,6 +343,8 @@ type StatefulSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
// availableReplicas is the total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
@@ -577,6 +580,8 @@ type DeploymentStatus struct {
// Conditions represent the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
// collisionCount is the count of hash collisions for the Deployment. The Deployment controller uses this
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.pb.go
index 6dfb4d5d2a..1c3d3be5bc 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta2/generated.proto
+// source: k8s.io/api/apps/v1beta2/generated.proto
package v1beta2
@@ -52,7 +52,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ControllerRevision) Reset() { *m = ControllerRevision{} }
func (*ControllerRevision) ProtoMessage() {}
func (*ControllerRevision) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{0}
+ return fileDescriptor_c423c016abf485d4, []int{0}
}
func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -80,7 +80,7 @@ var xxx_messageInfo_ControllerRevision proto.InternalMessageInfo
func (m *ControllerRevisionList) Reset() { *m = ControllerRevisionList{} }
func (*ControllerRevisionList) ProtoMessage() {}
func (*ControllerRevisionList) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{1}
+ return fileDescriptor_c423c016abf485d4, []int{1}
}
func (m *ControllerRevisionList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -108,7 +108,7 @@ var xxx_messageInfo_ControllerRevisionList proto.InternalMessageInfo
func (m *DaemonSet) Reset() { *m = DaemonSet{} }
func (*DaemonSet) ProtoMessage() {}
func (*DaemonSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{2}
+ return fileDescriptor_c423c016abf485d4, []int{2}
}
func (m *DaemonSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -136,7 +136,7 @@ var xxx_messageInfo_DaemonSet proto.InternalMessageInfo
func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
func (*DaemonSetCondition) ProtoMessage() {}
func (*DaemonSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{3}
+ return fileDescriptor_c423c016abf485d4, []int{3}
}
func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -164,7 +164,7 @@ var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo
func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
func (*DaemonSetList) ProtoMessage() {}
func (*DaemonSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{4}
+ return fileDescriptor_c423c016abf485d4, []int{4}
}
func (m *DaemonSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -192,7 +192,7 @@ var xxx_messageInfo_DaemonSetList proto.InternalMessageInfo
func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
func (*DaemonSetSpec) ProtoMessage() {}
func (*DaemonSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{5}
+ return fileDescriptor_c423c016abf485d4, []int{5}
}
func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -220,7 +220,7 @@ var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo
func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
func (*DaemonSetStatus) ProtoMessage() {}
func (*DaemonSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{6}
+ return fileDescriptor_c423c016abf485d4, []int{6}
}
func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -248,7 +248,7 @@ var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo
func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
func (*DaemonSetUpdateStrategy) ProtoMessage() {}
func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{7}
+ return fileDescriptor_c423c016abf485d4, []int{7}
}
func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -276,7 +276,7 @@ var xxx_messageInfo_DaemonSetUpdateStrategy proto.InternalMessageInfo
func (m *Deployment) Reset() { *m = Deployment{} }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{8}
+ return fileDescriptor_c423c016abf485d4, []int{8}
}
func (m *Deployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -304,7 +304,7 @@ var xxx_messageInfo_Deployment proto.InternalMessageInfo
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
func (*DeploymentCondition) ProtoMessage() {}
func (*DeploymentCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{9}
+ return fileDescriptor_c423c016abf485d4, []int{9}
}
func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -332,7 +332,7 @@ var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
func (*DeploymentList) ProtoMessage() {}
func (*DeploymentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{10}
+ return fileDescriptor_c423c016abf485d4, []int{10}
}
func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -360,7 +360,7 @@ var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
func (*DeploymentSpec) ProtoMessage() {}
func (*DeploymentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{11}
+ return fileDescriptor_c423c016abf485d4, []int{11}
}
func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -388,7 +388,7 @@ var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
func (*DeploymentStatus) ProtoMessage() {}
func (*DeploymentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{12}
+ return fileDescriptor_c423c016abf485d4, []int{12}
}
func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -416,7 +416,7 @@ var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{13}
+ return fileDescriptor_c423c016abf485d4, []int{13}
}
func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -444,7 +444,7 @@ var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
func (*ReplicaSet) ProtoMessage() {}
func (*ReplicaSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{14}
+ return fileDescriptor_c423c016abf485d4, []int{14}
}
func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -472,7 +472,7 @@ var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo
func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
func (*ReplicaSetCondition) ProtoMessage() {}
func (*ReplicaSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{15}
+ return fileDescriptor_c423c016abf485d4, []int{15}
}
func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -500,7 +500,7 @@ var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo
func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
func (*ReplicaSetList) ProtoMessage() {}
func (*ReplicaSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{16}
+ return fileDescriptor_c423c016abf485d4, []int{16}
}
func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -528,7 +528,7 @@ var xxx_messageInfo_ReplicaSetList proto.InternalMessageInfo
func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
func (*ReplicaSetSpec) ProtoMessage() {}
func (*ReplicaSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{17}
+ return fileDescriptor_c423c016abf485d4, []int{17}
}
func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -556,7 +556,7 @@ var xxx_messageInfo_ReplicaSetSpec proto.InternalMessageInfo
func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
func (*ReplicaSetStatus) ProtoMessage() {}
func (*ReplicaSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{18}
+ return fileDescriptor_c423c016abf485d4, []int{18}
}
func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -584,7 +584,7 @@ var xxx_messageInfo_ReplicaSetStatus proto.InternalMessageInfo
func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
func (*RollingUpdateDaemonSet) ProtoMessage() {}
func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{19}
+ return fileDescriptor_c423c016abf485d4, []int{19}
}
func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -612,7 +612,7 @@ var xxx_messageInfo_RollingUpdateDaemonSet proto.InternalMessageInfo
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{20}
+ return fileDescriptor_c423c016abf485d4, []int{20}
}
func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -640,7 +640,7 @@ var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
func (m *RollingUpdateStatefulSetStrategy) Reset() { *m = RollingUpdateStatefulSetStrategy{} }
func (*RollingUpdateStatefulSetStrategy) ProtoMessage() {}
func (*RollingUpdateStatefulSetStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{21}
+ return fileDescriptor_c423c016abf485d4, []int{21}
}
func (m *RollingUpdateStatefulSetStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -668,7 +668,7 @@ var xxx_messageInfo_RollingUpdateStatefulSetStrategy proto.InternalMessageInfo
func (m *Scale) Reset() { *m = Scale{} }
func (*Scale) ProtoMessage() {}
func (*Scale) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{22}
+ return fileDescriptor_c423c016abf485d4, []int{22}
}
func (m *Scale) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -696,7 +696,7 @@ var xxx_messageInfo_Scale proto.InternalMessageInfo
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
func (*ScaleSpec) ProtoMessage() {}
func (*ScaleSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{23}
+ return fileDescriptor_c423c016abf485d4, []int{23}
}
func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -724,7 +724,7 @@ var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
func (*ScaleStatus) ProtoMessage() {}
func (*ScaleStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{24}
+ return fileDescriptor_c423c016abf485d4, []int{24}
}
func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -752,7 +752,7 @@ var xxx_messageInfo_ScaleStatus proto.InternalMessageInfo
func (m *StatefulSet) Reset() { *m = StatefulSet{} }
func (*StatefulSet) ProtoMessage() {}
func (*StatefulSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{25}
+ return fileDescriptor_c423c016abf485d4, []int{25}
}
func (m *StatefulSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -780,7 +780,7 @@ var xxx_messageInfo_StatefulSet proto.InternalMessageInfo
func (m *StatefulSetCondition) Reset() { *m = StatefulSetCondition{} }
func (*StatefulSetCondition) ProtoMessage() {}
func (*StatefulSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{26}
+ return fileDescriptor_c423c016abf485d4, []int{26}
}
func (m *StatefulSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -808,7 +808,7 @@ var xxx_messageInfo_StatefulSetCondition proto.InternalMessageInfo
func (m *StatefulSetList) Reset() { *m = StatefulSetList{} }
func (*StatefulSetList) ProtoMessage() {}
func (*StatefulSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{27}
+ return fileDescriptor_c423c016abf485d4, []int{27}
}
func (m *StatefulSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -836,7 +836,7 @@ var xxx_messageInfo_StatefulSetList proto.InternalMessageInfo
func (m *StatefulSetOrdinals) Reset() { *m = StatefulSetOrdinals{} }
func (*StatefulSetOrdinals) ProtoMessage() {}
func (*StatefulSetOrdinals) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{28}
+ return fileDescriptor_c423c016abf485d4, []int{28}
}
func (m *StatefulSetOrdinals) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -866,7 +866,7 @@ func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) Reset() {
}
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) ProtoMessage() {}
func (*StatefulSetPersistentVolumeClaimRetentionPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{29}
+ return fileDescriptor_c423c016abf485d4, []int{29}
}
func (m *StatefulSetPersistentVolumeClaimRetentionPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -894,7 +894,7 @@ var xxx_messageInfo_StatefulSetPersistentVolumeClaimRetentionPolicy proto.Intern
func (m *StatefulSetSpec) Reset() { *m = StatefulSetSpec{} }
func (*StatefulSetSpec) ProtoMessage() {}
func (*StatefulSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{30}
+ return fileDescriptor_c423c016abf485d4, []int{30}
}
func (m *StatefulSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -922,7 +922,7 @@ var xxx_messageInfo_StatefulSetSpec proto.InternalMessageInfo
func (m *StatefulSetStatus) Reset() { *m = StatefulSetStatus{} }
func (*StatefulSetStatus) ProtoMessage() {}
func (*StatefulSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{31}
+ return fileDescriptor_c423c016abf485d4, []int{31}
}
func (m *StatefulSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -950,7 +950,7 @@ var xxx_messageInfo_StatefulSetStatus proto.InternalMessageInfo
func (m *StatefulSetUpdateStrategy) Reset() { *m = StatefulSetUpdateStrategy{} }
func (*StatefulSetUpdateStrategy) ProtoMessage() {}
func (*StatefulSetUpdateStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_42fe616264472f7e, []int{32}
+ return fileDescriptor_c423c016abf485d4, []int{32}
}
func (m *StatefulSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1013,158 +1013,157 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/apps/v1beta2/generated.proto", fileDescriptor_42fe616264472f7e)
+ proto.RegisterFile("k8s.io/api/apps/v1beta2/generated.proto", fileDescriptor_c423c016abf485d4)
}
-var fileDescriptor_42fe616264472f7e = []byte{
- // 2345 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_c423c016abf485d4 = []byte{
+ // 2328 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x1b, 0xc7,
- 0x15, 0xf7, 0xf2, 0x43, 0x26, 0x87, 0x96, 0x64, 0x8f, 0x54, 0x89, 0x91, 0x5b, 0xd2, 0x58, 0x1b,
- 0x8e, 0x12, 0xdb, 0xa4, 0xad, 0x7c, 0x20, 0xb1, 0xdb, 0xa4, 0xa2, 0x94, 0xda, 0x0e, 0xf4, 0xc1,
- 0x0c, 0x2d, 0x07, 0x0d, 0xfa, 0xe1, 0x11, 0x39, 0xa6, 0x36, 0x5a, 0xee, 0x2e, 0x76, 0x87, 0x8c,
- 0x89, 0x5e, 0x7a, 0x2d, 0x50, 0xa0, 0xed, 0xb5, 0xff, 0x44, 0xd1, 0x4b, 0x51, 0x34, 0xe8, 0xa5,
- 0x08, 0x02, 0x1f, 0x83, 0x5e, 0x92, 0x13, 0x51, 0x33, 0xa7, 0xa2, 0xe8, 0xad, 0xbd, 0x18, 0x28,
- 0x50, 0xcc, 0xec, 0xec, 0xf7, 0xae, 0xb9, 0x54, 0x6c, 0xe5, 0x03, 0xb9, 0x71, 0xe7, 0xbd, 0xf7,
- 0x9b, 0x37, 0x33, 0xef, 0xcd, 0xfb, 0xcd, 0x0c, 0xc1, 0x0f, 0x0f, 0x5f, 0xb3, 0x6a, 0x8a, 0x5e,
- 0x3f, 0xec, 0xef, 0x13, 0x53, 0x23, 0x94, 0x58, 0xf5, 0x01, 0xd1, 0x3a, 0xba, 0x59, 0x17, 0x02,
- 0x6c, 0x28, 0x75, 0x6c, 0x18, 0x56, 0x7d, 0x70, 0x6d, 0x9f, 0x50, 0xbc, 0x56, 0xef, 0x12, 0x8d,
- 0x98, 0x98, 0x92, 0x4e, 0xcd, 0x30, 0x75, 0xaa, 0xc3, 0x65, 0x5b, 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}
func (m *ControllerRevision) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.proto
index ddbe354411..3ae8a80094 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/generated.proto
@@ -204,6 +204,8 @@ message DaemonSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DaemonSetCondition conditions = 10;
}
@@ -346,6 +348,8 @@ message DeploymentStatus {
// Represents the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DeploymentCondition conditions = 6;
// Count of hash collisions for the Deployment. The Deployment controller uses this
@@ -481,6 +485,8 @@ message ReplicaSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated ReplicaSetCondition conditions = 6;
}
@@ -733,6 +739,7 @@ message StatefulSetSpec {
// any volumes in the template, with the same name.
// TODO: Define the behavior if a claim already exists with the same name.
// +optional
+ // +listType=atomic
repeated k8s.io.api.core.v1.PersistentVolumeClaim volumeClaimTemplates = 4;
// serviceName is the name of the service that governs this StatefulSet.
@@ -824,6 +831,8 @@ message StatefulSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated StatefulSetCondition conditions = 10;
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/types.go
index a97ac6fcf0..6981c2a175 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/apps/v1beta2/types.go
@@ -261,6 +261,7 @@ type StatefulSetSpec struct {
// any volumes in the template, with the same name.
// TODO: Define the behavior if a claim already exists with the same name.
// +optional
+ // +listType=atomic
VolumeClaimTemplates []v1.PersistentVolumeClaim `json:"volumeClaimTemplates,omitempty" protobuf:"bytes,4,rep,name=volumeClaimTemplates"`
// serviceName is the name of the service that governs this StatefulSet.
@@ -352,6 +353,8 @@ type StatefulSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []StatefulSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
// Total number of available pods (ready for at least minReadySeconds) targeted by this StatefulSet.
@@ -555,6 +558,8 @@ type DeploymentStatus struct {
// Represents the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
// Count of hash collisions for the Deployment. The Deployment controller uses this
@@ -765,6 +770,8 @@ type DaemonSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
}
@@ -951,6 +958,8 @@ type ReplicaSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.pb.go
index 304bbd0744..6d922030c1 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1/generated.proto
+// source: k8s.io/api/authentication/v1/generated.proto
package v1
@@ -49,7 +49,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *BoundObjectReference) Reset() { *m = BoundObjectReference{} }
func (*BoundObjectReference) ProtoMessage() {}
func (*BoundObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{0}
+ return fileDescriptor_d1237cbf54dccd53, []int{0}
}
func (m *BoundObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,7 +77,7 @@ var xxx_messageInfo_BoundObjectReference proto.InternalMessageInfo
func (m *ExtraValue) Reset() { *m = ExtraValue{} }
func (*ExtraValue) ProtoMessage() {}
func (*ExtraValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{1}
+ return fileDescriptor_d1237cbf54dccd53, []int{1}
}
func (m *ExtraValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +105,7 @@ var xxx_messageInfo_ExtraValue proto.InternalMessageInfo
func (m *SelfSubjectReview) Reset() { *m = SelfSubjectReview{} }
func (*SelfSubjectReview) ProtoMessage() {}
func (*SelfSubjectReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{2}
+ return fileDescriptor_d1237cbf54dccd53, []int{2}
}
func (m *SelfSubjectReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +133,7 @@ var xxx_messageInfo_SelfSubjectReview proto.InternalMessageInfo
func (m *SelfSubjectReviewStatus) Reset() { *m = SelfSubjectReviewStatus{} }
func (*SelfSubjectReviewStatus) ProtoMessage() {}
func (*SelfSubjectReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{3}
+ return fileDescriptor_d1237cbf54dccd53, []int{3}
}
func (m *SelfSubjectReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +161,7 @@ var xxx_messageInfo_SelfSubjectReviewStatus proto.InternalMessageInfo
func (m *TokenRequest) Reset() { *m = TokenRequest{} }
func (*TokenRequest) ProtoMessage() {}
func (*TokenRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{4}
+ return fileDescriptor_d1237cbf54dccd53, []int{4}
}
func (m *TokenRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +189,7 @@ var xxx_messageInfo_TokenRequest proto.InternalMessageInfo
func (m *TokenRequestSpec) Reset() { *m = TokenRequestSpec{} }
func (*TokenRequestSpec) ProtoMessage() {}
func (*TokenRequestSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{5}
+ return fileDescriptor_d1237cbf54dccd53, []int{5}
}
func (m *TokenRequestSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -217,7 +217,7 @@ var xxx_messageInfo_TokenRequestSpec proto.InternalMessageInfo
func (m *TokenRequestStatus) Reset() { *m = TokenRequestStatus{} }
func (*TokenRequestStatus) ProtoMessage() {}
func (*TokenRequestStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{6}
+ return fileDescriptor_d1237cbf54dccd53, []int{6}
}
func (m *TokenRequestStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -245,7 +245,7 @@ var xxx_messageInfo_TokenRequestStatus proto.InternalMessageInfo
func (m *TokenReview) Reset() { *m = TokenReview{} }
func (*TokenReview) ProtoMessage() {}
func (*TokenReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{7}
+ return fileDescriptor_d1237cbf54dccd53, []int{7}
}
func (m *TokenReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -273,7 +273,7 @@ var xxx_messageInfo_TokenReview proto.InternalMessageInfo
func (m *TokenReviewSpec) Reset() { *m = TokenReviewSpec{} }
func (*TokenReviewSpec) ProtoMessage() {}
func (*TokenReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{8}
+ return fileDescriptor_d1237cbf54dccd53, []int{8}
}
func (m *TokenReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -301,7 +301,7 @@ var xxx_messageInfo_TokenReviewSpec proto.InternalMessageInfo
func (m *TokenReviewStatus) Reset() { *m = TokenReviewStatus{} }
func (*TokenReviewStatus) ProtoMessage() {}
func (*TokenReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{9}
+ return fileDescriptor_d1237cbf54dccd53, []int{9}
}
func (m *TokenReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -329,7 +329,7 @@ var xxx_messageInfo_TokenReviewStatus proto.InternalMessageInfo
func (m *UserInfo) Reset() { *m = UserInfo{} }
func (*UserInfo) ProtoMessage() {}
func (*UserInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_2953ea822e7ffe1e, []int{10}
+ return fileDescriptor_d1237cbf54dccd53, []int{10}
}
func (m *UserInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -370,71 +370,71 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1/generated.proto", fileDescriptor_2953ea822e7ffe1e)
+ proto.RegisterFile("k8s.io/api/authentication/v1/generated.proto", fileDescriptor_d1237cbf54dccd53)
}
-var fileDescriptor_2953ea822e7ffe1e = []byte{
- // 958 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4b, 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 0x3d, 0xf7, 0x34, 0xa9, 0x6b, 0x67, 0x49, 0x5d, 0x7b, 0x96, 0xd4, 0xb5, 0xe7,
- 0x49, 0x5d, 0xfb, 0x2b, 0xa9, 0x6b, 0x3f, 0xfc, 0x5d, 0xcf, 0x7d, 0x75, 0x3b, 0xeb, 0xcf, 0xe0,
- 0xff, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0x9a, 0x38, 0x17, 0x44, 0x0a, 0x00, 0x00,
+var fileDescriptor_d1237cbf54dccd53 = []byte{
+ // 947 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x4b, 0x6f, 0x23, 0xc5,
+ 0x13, 0xf7, 0xf8, 0x11, 0xd9, 0xe5, 0x4d, 0xfe, 0x49, 0xef, 0x7f, 0x85, 0x15, 0x16, 0x4f, 0x98,
+ 0x95, 0x50, 0x04, 0xbb, 0x33, 0x1b, 0x8b, 0xc7, 0x6a, 0x91, 0x90, 0x32, 0xc4, 0x02, 0x0b, 0xc1,
+ 0xae, 0xda, 0x49, 0x40, 0x48, 0x48, 0xb4, 0xc7, 0x1d, 0xa7, 0xf1, 0xce, 0x83, 0x99, 0x1e, 0xb3,
+ 0xbe, 0xed, 0x47, 0xe0, 0x08, 0x12, 0x07, 0x3e, 0x04, 0x12, 0x5f, 0x21, 0xc7, 0x15, 0xe2, 0xb0,
+ 0x07, 0x64, 0x91, 0xe1, 0xca, 0x91, 0x13, 0x27, 0xd4, 0x3d, 0x1d, 0xdb, 0x63, 0x27, 0x13, 0x9f,
+ 0xf6, 0xe6, 0xa9, 0xc7, 0xaf, 0xaa, 0x7e, 0x55, 0x5d, 0x65, 0xb8, 0x3b, 0x7c, 0x10, 0x99, 0xcc,
+ 0xb7, 0x48, 0xc0, 0x2c, 0x12, 0xf3, 0x53, 0xea, 0x71, 0xe6, 0x10, 0xce, 0x7c, 0xcf, 0x1a, 0xed,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 0xa3, 0xc6, 0x94, 0xf7, 0xb6, 0xed,
+ 0xf1, 0x70, 0x3c, 0x57, 0x95, 0x90, 0xe1, 0x14, 0x6e, 0xbb, 0xa7, 0x6e, 0xb2, 0xb4, 0x41, 0x9b,
+ 0x50, 0x1a, 0xd2, 0x71, 0x5a, 0x11, 0x16, 0x3f, 0xd1, 0x07, 0x50, 0x19, 0x89, 0x73, 0xad, 0x5a,
+ 0xb2, 0x9b, 0x1f, 0x77, 0x76, 0xde, 0x71, 0xea, 0xf6, 0xb0, 0xf8, 0x40, 0xb3, 0xed, 0xb3, 0xf3,
+ 0x66, 0xe1, 0xf9, 0x79, 0xb3, 0xf0, 0xe2, 0xbc, 0x59, 0x78, 0x96, 0x34, 0xb5, 0xb3, 0xa4, 0xa9,
+ 0x3d, 0x4f, 0x9a, 0xda, 0x8b, 0xa4, 0xa9, 0xfd, 0x99, 0x34, 0xb5, 0xef, 0xff, 0x6a, 0x16, 0xbe,
+ 0xbc, 0x9d, 0xf7, 0x67, 0xf0, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf0, 0xb7, 0xc1, 0xa0, 0x2b,
+ 0x0a, 0x00, 0x00,
}
func (m *BoundObjectReference) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.proto
index 1632070c87..1fe2f4f2ce 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/generated.proto
@@ -99,6 +99,7 @@ message TokenRequestSpec {
// token issued for multiple audiences may be used to authenticate
// against any of the audiences listed but implies a high degree of
// trust between the target audiences.
+ // +listType=atomic
repeated string audiences = 1;
// ExpirationSeconds is the requested duration of validity of the request. The
@@ -154,6 +155,7 @@ message TokenReviewSpec {
// this list. If no audiences are provided, the audience will default to the
// audience of the Kubernetes apiserver.
// +optional
+ // +listType=atomic
repeated string audiences = 2;
}
@@ -177,6 +179,7 @@ message TokenReviewStatus {
// status.audience field where status.authenticated is "true", the token is
// valid against the audience of the Kubernetes API server.
// +optional
+ // +listType=atomic
repeated string audiences = 4;
// Error indicates that the token couldn't be checked
@@ -199,6 +202,7 @@ message UserInfo {
// The names of groups this user is a part of.
// +optional
+ // +listType=atomic
repeated string groups = 3;
// Any additional information provided by the authenticator.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/types.go
index b498007c00..4f4400e305 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1/types.go
@@ -75,6 +75,7 @@ type TokenReviewSpec struct {
// this list. If no audiences are provided, the audience will default to the
// audience of the Kubernetes apiserver.
// +optional
+ // +listType=atomic
Audiences []string `json:"audiences,omitempty" protobuf:"bytes,2,rep,name=audiences"`
}
@@ -96,6 +97,7 @@ type TokenReviewStatus struct {
// status.audience field where status.authenticated is "true", the token is
// valid against the audience of the Kubernetes API server.
// +optional
+ // +listType=atomic
Audiences []string `json:"audiences,omitempty" protobuf:"bytes,4,rep,name=audiences"`
// Error indicates that the token couldn't be checked
// +optional
@@ -115,6 +117,7 @@ type UserInfo struct {
UID string `json:"uid,omitempty" protobuf:"bytes,2,opt,name=uid"`
// The names of groups this user is a part of.
// +optional
+ // +listType=atomic
Groups []string `json:"groups,omitempty" protobuf:"bytes,3,rep,name=groups"`
// Any additional information provided by the authenticator.
// +optional
@@ -156,6 +159,7 @@ type TokenRequestSpec struct {
// token issued for multiple audiences may be used to authenticate
// against any of the audiences listed but implies a high degree of
// trust between the target audiences.
+ // +listType=atomic
Audiences []string `json:"audiences" protobuf:"bytes,1,rep,name=audiences"`
// ExpirationSeconds is the requested duration of validity of the request. The
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1alpha1/generated.pb.go
index ea274ac07b..98c106ec65 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1alpha1/generated.proto
+// source: k8s.io/api/authentication/v1alpha1/generated.proto
package v1alpha1
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *SelfSubjectReview) Reset() { *m = SelfSubjectReview{} }
func (*SelfSubjectReview) ProtoMessage() {}
func (*SelfSubjectReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_05a77aeb710b43c2, []int{0}
+ return fileDescriptor_f003acd72d3d5efb, []int{0}
}
func (m *SelfSubjectReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_SelfSubjectReview proto.InternalMessageInfo
func (m *SelfSubjectReviewStatus) Reset() { *m = SelfSubjectReviewStatus{} }
func (*SelfSubjectReviewStatus) ProtoMessage() {}
func (*SelfSubjectReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_05a77aeb710b43c2, []int{1}
+ return fileDescriptor_f003acd72d3d5efb, []int{1}
}
func (m *SelfSubjectReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,35 +105,34 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1alpha1/generated.proto", fileDescriptor_05a77aeb710b43c2)
+ proto.RegisterFile("k8s.io/api/authentication/v1alpha1/generated.proto", fileDescriptor_f003acd72d3d5efb)
}
-var fileDescriptor_05a77aeb710b43c2 = []byte{
- // 384 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xbd, 0x6e, 0xdb, 0x30,
- 0x14, 0x85, 0xc5, 0x0e, 0x86, 0xa1, 0x02, 0x45, 0xab, 0xa5, 0x86, 0x07, 0xba, 0xd0, 0x50, 0x74,
- 0x68, 0xc9, 0xba, 0x28, 0x8a, 0x02, 0xdd, 0x34, 0x35, 0x08, 0x82, 0x00, 0x72, 0xb2, 0x64, 0x0a,
- 0x25, 0x5f, 0x4b, 0x8c, 0x2c, 0x52, 0x10, 0x49, 0x05, 0xd9, 0xf2, 0x08, 0x79, 0x2c, 0x8f, 0x1e,
- 0x8d, 0x0c, 0x46, 0xac, 0xbc, 0x48, 0x20, 0x59, 0xb6, 0x11, 0x3b, 0xb6, 0x37, 0xde, 0xc3, 0xfb,
- 0x9d, 0x7b, 0xf8, 0x63, 0x9f, 0x26, 0x7f, 0x15, 0xe1, 0x92, 0x26, 0x26, 0x80, 0x5c, 0x80, 0x06,
- 0x45, 0x0b, 0x10, 0x43, 0x99, 0xd3, 0x66, 0x83, 0x65, 0x9c, 0x32, 0xa3, 0x63, 0x10, 0x9a, 0x87,
- 0x4c, 0x73, 0x29, 0x68, 0xd1, 0x67, 0xe3, 0x2c, 0x66, 0x7d, 0x1a, 0x81, 0x80, 0x9c, 0x69, 0x18,
- 0x92, 0x2c, 0x97, 0x5a, 0x3a, 0xee, 0x92, 0x21, 0x2c, 0xe3, 0xe4, 0x35, 0x43, 0x56, 0x4c, 0xf7,
- 0x47, 0xc4, 0x75, 0x6c, 0x02, 0x12, 0xca, 0x94, 0x46, 0x32, 0x92, 0xb4, 0x46, 0x03, 0x33, 0xaa,
- 0xab, 0xba, 0xa8, 0x57, 0x4b, 0xcb, 0xee, 0xf7, 0x43, 0x31, 0xb6, 0x03, 0x74, 0x7f, 0x6f, 0xba,
- 0x53, 0x16, 0xc6, 0x5c, 0x40, 0x7e, 0x47, 0xb3, 0x24, 0xaa, 0x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 0x3f, 0x7e, 0x09, 0x00, 0x00, 0xff, 0xff, 0xec, 0xf9, 0xa3, 0xcd, 0x05, 0x03, 0x00, 0x00,
+var fileDescriptor_f003acd72d3d5efb = []byte{
+ // 368 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x4f, 0xe2, 0x40,
+ 0x14, 0xc7, 0x3b, 0x7b, 0x20, 0xa4, 0x9b, 0x6c, 0x76, 0x7b, 0x59, 0xc2, 0x61, 0x30, 0x3d, 0x18,
+ 0x0f, 0x3a, 0x23, 0xc4, 0x18, 0x13, 0x6f, 0x3d, 0xe9, 0xc1, 0x98, 0x14, 0xbd, 0x78, 0xf2, 0x51,
+ 0x1e, 0xed, 0x08, 0xed, 0x34, 0xed, 0x14, 0xe3, 0xcd, 0x8f, 0xe0, 0xc7, 0xe2, 0xc8, 0x91, 0x78,
+ 0x20, 0x52, 0xbf, 0x88, 0xe9, 0x50, 0x20, 0x82, 0xc0, 0xad, 0xef, 0xe5, 0xfd, 0x7e, 0xef, 0xdf,
+ 0x99, 0x31, 0x5b, 0xfd, 0x8b, 0x94, 0x09, 0xc9, 0x21, 0x16, 0x1c, 0x32, 0x15, 0x60, 0xa4, 0x84,
+ 0x07, 0x4a, 0xc8, 0x88, 0x0f, 0x9b, 0x30, 0x88, 0x03, 0x68, 0x72, 0x1f, 0x23, 0x4c, 0x40, 0x61,
+ 0x97, 0xc5, 0x89, 0x54, 0xd2, 0xb2, 0xe7, 0x0c, 0x83, 0x58, 0xb0, 0xef, 0x0c, 0x5b, 0x30, 0xf5,
+ 0x13, 0x5f, 0xa8, 0x20, 0xeb, 0x30, 0x4f, 0x86, 0xdc, 0x97, 0xbe, 0xe4, 0x1a, 0xed, 0x64, 0x3d,
+ 0x5d, 0xe9, 0x42, 0x7f, 0xcd, 0x95, 0xf5, 0xe3, 0x5d, 0x31, 0xd6, 0x03, 0xd4, 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 0x32, 0xca,
+ 0x29, 0x19, 0xe7, 0x94, 0x4c, 0x72, 0x4a, 0x3e, 0x72, 0x4a, 0xde, 0x3e, 0xa9, 0xf1, 0x60, 0xef,
+ 0x7f, 0xc7, 0x5f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x04, 0xfb, 0xb6, 0xfb, 0xec, 0x02, 0x00, 0x00,
}
func (m *SelfSubjectReview) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.pb.go
index 7f1d5ca6ce..4153926447 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto
+// source: k8s.io/api/authentication/v1beta1/generated.proto
package v1beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExtraValue) Reset() { *m = ExtraValue{} }
func (*ExtraValue) ProtoMessage() {}
func (*ExtraValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{0}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{0}
}
func (m *ExtraValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_ExtraValue proto.InternalMessageInfo
func (m *SelfSubjectReview) Reset() { *m = SelfSubjectReview{} }
func (*SelfSubjectReview) ProtoMessage() {}
func (*SelfSubjectReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{1}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{1}
}
func (m *SelfSubjectReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_SelfSubjectReview proto.InternalMessageInfo
func (m *SelfSubjectReviewStatus) Reset() { *m = SelfSubjectReviewStatus{} }
func (*SelfSubjectReviewStatus) ProtoMessage() {}
func (*SelfSubjectReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{2}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{2}
}
func (m *SelfSubjectReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_SelfSubjectReviewStatus proto.InternalMessageInfo
func (m *TokenReview) Reset() { *m = TokenReview{} }
func (*TokenReview) ProtoMessage() {}
func (*TokenReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{3}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{3}
}
func (m *TokenReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_TokenReview proto.InternalMessageInfo
func (m *TokenReviewSpec) Reset() { *m = TokenReviewSpec{} }
func (*TokenReviewSpec) ProtoMessage() {}
func (*TokenReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{4}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{4}
}
func (m *TokenReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_TokenReviewSpec proto.InternalMessageInfo
func (m *TokenReviewStatus) Reset() { *m = TokenReviewStatus{} }
func (*TokenReviewStatus) ProtoMessage() {}
func (*TokenReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{5}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{5}
}
func (m *TokenReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_TokenReviewStatus proto.InternalMessageInfo
func (m *UserInfo) Reset() { *m = UserInfo{} }
func (*UserInfo) ProtoMessage() {}
func (*UserInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_77c9b20d3ad27844, []int{6}
+ return fileDescriptor_fdc2de40fd7f3b21, []int{6}
}
func (m *UserInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -252,57 +252,56 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/authentication/v1beta1/generated.proto", fileDescriptor_77c9b20d3ad27844)
+ proto.RegisterFile("k8s.io/api/authentication/v1beta1/generated.proto", fileDescriptor_fdc2de40fd7f3b21)
}
-var fileDescriptor_77c9b20d3ad27844 = []byte{
- // 725 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0x4f, 0x4f, 0x13, 0x41,
- 0x14, 0xef, 0xf6, 0x0f, 0x69, 0xa7, 0x56, 0x61, 0x12, 0x23, 0x69, 0xe2, 0x16, 0x6a, 0x62, 0x48,
- 0x80, 0x59, 0x21, 0x04, 0x09, 0x9e, 0x58, 0x25, 0x04, 0x13, 0x62, 0x32, 0x05, 0x0f, 0xea, 0xc1,
- 0xe9, 0xf6, 0xb1, 0x5d, 0x4b, 0x77, 0x37, 0xbb, 0xb3, 0x55, 0x6e, 0x7c, 0x04, 0x8f, 0x1e, 0x4d,
- 0xfc, 0x24, 0xde, 0x38, 0x72, 0xc4, 0xc4, 0x34, 0xb2, 0x7e, 0x02, 0xbf, 0x81, 0x99, 0xd9, 0x61,
- 0xdb, 0x82, 0x14, 0xb8, 0x78, 0xdb, 0xf9, 0xcd, 0xfb, 0xfd, 0xde, 0x7b, 0xbf, 0xf7, 0x32, 0x8b,
- 0x5e, 0x76, 0xd6, 0x42, 0xe2, 0x78, 0x46, 0x27, 0x6a, 0x42, 0xe0, 0x02, 0x87, 0xd0, 0x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cf, 0x51, 0xa1,
- 0x27, 0x9e, 0x3e, 0x35, 0x9c, 0xc5, 0x1b, 0x24, 0x1f, 0xbc, 0x97, 0x34, 0xe1, 0xae, 0x67, 0xd7,
- 0x34, 0x73, 0xeb, 0xf8, 0x4c, 0xcf, 0x9c, 0x9c, 0xe9, 0x99, 0xd3, 0x33, 0x3d, 0x73, 0x14, 0xeb,
- 0xda, 0x71, 0xac, 0x6b, 0x27, 0xb1, 0xae, 0x9d, 0xc6, 0xba, 0xf6, 0x2b, 0xd6, 0xb5, 0xcf, 0xbf,
- 0xf5, 0xcc, 0x9b, 0xd9, 0x6b, 0x7f, 0x60, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x19, 0x49,
- 0x3f, 0xfd, 0x06, 0x00, 0x00,
+var fileDescriptor_fdc2de40fd7f3b21 = []byte{
+ // 711 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcf, 0x4e, 0xdb, 0x4e,
+ 0x10, 0x8e, 0xf3, 0x07, 0x25, 0x9b, 0x5f, 0x7e, 0x85, 0x95, 0xaa, 0xa2, 0x48, 0x75, 0x20, 0x95,
+ 0x2a, 0x24, 0x60, 0xdd, 0x20, 0x44, 0x11, 0x3d, 0xe1, 0x16, 0x21, 0x0e, 0xa8, 0xd2, 0x06, 0x7a,
+ 0x68, 0x7b, 0xe8, 0xc6, 0x19, 0x1c, 0x37, 0xc4, 0xb6, 0xec, 0x75, 0x5a, 0x6e, 0x3c, 0x42, 0x8f,
+ 0x3d, 0x56, 0xea, 0x93, 0xf4, 0xc6, 0x91, 0x23, 0x95, 0xaa, 0xa8, 0xb8, 0x4f, 0xd0, 0x37, 0xa8,
+ 0x76, 0xbd, 0x38, 0x09, 0x94, 0x00, 0x97, 0xde, 0xbc, 0xdf, 0xce, 0xf7, 0xcd, 0xcc, 0x37, 0xa3,
+ 0x35, 0x6a, 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0x45, 0xc5, 0x27, 0x7e,
+ 0x8e, 0x0a, 0x7d, 0xf1, 0xf4, 0xa9, 0xe1, 0x2c, 0xdf, 0x22, 0xf9, 0xf0, 0xbd, 0xa4, 0x09, 0x77,
+ 0x23, 0xbb, 0xae, 0x99, 0xdb, 0x27, 0xe7, 0x7a, 0xe6, 0xf4, 0x5c, 0xcf, 0x9c, 0x9d, 0xeb, 0x99,
+ 0xe3, 0x58, 0xd7, 0x4e, 0x62, 0x5d, 0x3b, 0x8d, 0x75, 0xed, 0x2c, 0xd6, 0xb5, 0x9f, 0xb1, 0xae,
+ 0x7d, 0xfa, 0xa5, 0x67, 0x5e, 0xcf, 0xdf, 0xf8, 0x03, 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0x45,
+ 0x72, 0x2b, 0xf2, 0xe4, 0x06, 0x00, 0x00,
}
func (m ExtraValue) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.proto
index 53b4635d7e..61658245d4 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/generated.proto
@@ -87,6 +87,7 @@ message TokenReviewSpec {
// this list. If no audiences are provided, the audience will default to the
// audience of the Kubernetes apiserver.
// +optional
+ // +listType=atomic
repeated string audiences = 2;
}
@@ -110,6 +111,7 @@ message TokenReviewStatus {
// status.audience field where status.authenticated is "true", the token is
// valid against the audience of the Kubernetes API server.
// +optional
+ // +listType=atomic
repeated string audiences = 4;
// Error indicates that the token couldn't be checked
@@ -132,6 +134,7 @@ message UserInfo {
// The names of groups this user is a part of.
// +optional
+ // +listType=atomic
repeated string groups = 3;
// Any additional information provided by the authenticator.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/types.go
index 5bce82e7cf..8038ef7d34 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authentication/v1beta1/types.go
@@ -60,6 +60,7 @@ type TokenReviewSpec struct {
// this list. If no audiences are provided, the audience will default to the
// audience of the Kubernetes apiserver.
// +optional
+ // +listType=atomic
Audiences []string `json:"audiences,omitempty" protobuf:"bytes,2,rep,name=audiences"`
}
@@ -81,6 +82,7 @@ type TokenReviewStatus struct {
// status.audience field where status.authenticated is "true", the token is
// valid against the audience of the Kubernetes API server.
// +optional
+ // +listType=atomic
Audiences []string `json:"audiences,omitempty" protobuf:"bytes,4,rep,name=audiences"`
// Error indicates that the token couldn't be checked
// +optional
@@ -100,6 +102,7 @@ type UserInfo struct {
UID string `json:"uid,omitempty" protobuf:"bytes,2,opt,name=uid"`
// The names of groups this user is a part of.
// +optional
+ // +listType=atomic
Groups []string `json:"groups,omitempty" protobuf:"bytes,3,rep,name=groups"`
// Any additional information provided by the authenticator.
// +optional
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.pb.go
index 2e8e35a551..dfa109b424 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1/generated.proto
+// source: k8s.io/api/authorization/v1/generated.proto
package v1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExtraValue) Reset() { *m = ExtraValue{} }
func (*ExtraValue) ProtoMessage() {}
func (*ExtraValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{0}
+ return fileDescriptor_aafd0e5e70cec678, []int{0}
}
func (m *ExtraValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_ExtraValue proto.InternalMessageInfo
func (m *LocalSubjectAccessReview) Reset() { *m = LocalSubjectAccessReview{} }
func (*LocalSubjectAccessReview) ProtoMessage() {}
func (*LocalSubjectAccessReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{1}
+ return fileDescriptor_aafd0e5e70cec678, []int{1}
}
func (m *LocalSubjectAccessReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_LocalSubjectAccessReview proto.InternalMessageInfo
func (m *NonResourceAttributes) Reset() { *m = NonResourceAttributes{} }
func (*NonResourceAttributes) ProtoMessage() {}
func (*NonResourceAttributes) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{2}
+ return fileDescriptor_aafd0e5e70cec678, []int{2}
}
func (m *NonResourceAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_NonResourceAttributes proto.InternalMessageInfo
func (m *NonResourceRule) Reset() { *m = NonResourceRule{} }
func (*NonResourceRule) ProtoMessage() {}
func (*NonResourceRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{3}
+ return fileDescriptor_aafd0e5e70cec678, []int{3}
}
func (m *NonResourceRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_NonResourceRule proto.InternalMessageInfo
func (m *ResourceAttributes) Reset() { *m = ResourceAttributes{} }
func (*ResourceAttributes) ProtoMessage() {}
func (*ResourceAttributes) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{4}
+ return fileDescriptor_aafd0e5e70cec678, []int{4}
}
func (m *ResourceAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_ResourceAttributes proto.InternalMessageInfo
func (m *ResourceRule) Reset() { *m = ResourceRule{} }
func (*ResourceRule) ProtoMessage() {}
func (*ResourceRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{5}
+ return fileDescriptor_aafd0e5e70cec678, []int{5}
}
func (m *ResourceRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_ResourceRule proto.InternalMessageInfo
func (m *SelfSubjectAccessReview) Reset() { *m = SelfSubjectAccessReview{} }
func (*SelfSubjectAccessReview) ProtoMessage() {}
func (*SelfSubjectAccessReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{6}
+ return fileDescriptor_aafd0e5e70cec678, []int{6}
}
func (m *SelfSubjectAccessReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -243,7 +243,7 @@ var xxx_messageInfo_SelfSubjectAccessReview proto.InternalMessageInfo
func (m *SelfSubjectAccessReviewSpec) Reset() { *m = SelfSubjectAccessReviewSpec{} }
func (*SelfSubjectAccessReviewSpec) ProtoMessage() {}
func (*SelfSubjectAccessReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{7}
+ return fileDescriptor_aafd0e5e70cec678, []int{7}
}
func (m *SelfSubjectAccessReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -271,7 +271,7 @@ var xxx_messageInfo_SelfSubjectAccessReviewSpec proto.InternalMessageInfo
func (m *SelfSubjectRulesReview) Reset() { *m = SelfSubjectRulesReview{} }
func (*SelfSubjectRulesReview) ProtoMessage() {}
func (*SelfSubjectRulesReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{8}
+ return fileDescriptor_aafd0e5e70cec678, []int{8}
}
func (m *SelfSubjectRulesReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -299,7 +299,7 @@ var xxx_messageInfo_SelfSubjectRulesReview proto.InternalMessageInfo
func (m *SelfSubjectRulesReviewSpec) Reset() { *m = SelfSubjectRulesReviewSpec{} }
func (*SelfSubjectRulesReviewSpec) ProtoMessage() {}
func (*SelfSubjectRulesReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{9}
+ return fileDescriptor_aafd0e5e70cec678, []int{9}
}
func (m *SelfSubjectRulesReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -327,7 +327,7 @@ var xxx_messageInfo_SelfSubjectRulesReviewSpec proto.InternalMessageInfo
func (m *SubjectAccessReview) Reset() { *m = SubjectAccessReview{} }
func (*SubjectAccessReview) ProtoMessage() {}
func (*SubjectAccessReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{10}
+ return fileDescriptor_aafd0e5e70cec678, []int{10}
}
func (m *SubjectAccessReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -355,7 +355,7 @@ var xxx_messageInfo_SubjectAccessReview proto.InternalMessageInfo
func (m *SubjectAccessReviewSpec) Reset() { *m = SubjectAccessReviewSpec{} }
func (*SubjectAccessReviewSpec) ProtoMessage() {}
func (*SubjectAccessReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{11}
+ return fileDescriptor_aafd0e5e70cec678, []int{11}
}
func (m *SubjectAccessReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -383,7 +383,7 @@ var xxx_messageInfo_SubjectAccessReviewSpec proto.InternalMessageInfo
func (m *SubjectAccessReviewStatus) Reset() { *m = SubjectAccessReviewStatus{} }
func (*SubjectAccessReviewStatus) ProtoMessage() {}
func (*SubjectAccessReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{12}
+ return fileDescriptor_aafd0e5e70cec678, []int{12}
}
func (m *SubjectAccessReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -411,7 +411,7 @@ var xxx_messageInfo_SubjectAccessReviewStatus proto.InternalMessageInfo
func (m *SubjectRulesReviewStatus) Reset() { *m = SubjectRulesReviewStatus{} }
func (*SubjectRulesReviewStatus) ProtoMessage() {}
func (*SubjectRulesReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e50da13573e369bd, []int{13}
+ return fileDescriptor_aafd0e5e70cec678, []int{13}
}
func (m *SubjectRulesReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -455,83 +455,82 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1/generated.proto", fileDescriptor_e50da13573e369bd)
+ proto.RegisterFile("k8s.io/api/authorization/v1/generated.proto", fileDescriptor_aafd0e5e70cec678)
}
-var fileDescriptor_e50da13573e369bd = []byte{
- // 1140 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_aafd0e5e70cec678 = []byte{
+ // 1126 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4f, 0x6f, 0x1b, 0x45,
- 0x14, 0xf7, 0xfa, 0x4f, 0x62, 0x8f, 0x1b, 0x92, 0x4e, 0x94, 0x66, 0x9b, 0x08, 0x3b, 0x5a, 0x24,
- 0x48, 0x45, 0xd9, 0x25, 0x56, 0xdb, 0x44, 0x95, 0x2a, 0x64, 0x2b, 0x11, 0x8a, 0xd4, 0x96, 0x6a,
- 0xa2, 0x44, 0xa2, 0x08, 0xc4, 0x78, 0x3d, 0xb1, 0x97, 0xd8, 0xbb, 0xcb, 0xcc, 0xac, 0x43, 0x38,
- 0x55, 0xe2, 0x0b, 0x70, 0xe4, 0xc0, 0x81, 0x6f, 0xc0, 0x05, 0x89, 0x1b, 0x07, 0x0e, 0x28, 0xc7,
- 0x1e, 0x8b, 0x84, 0x2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ff, 0x94, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x45, 0x6f,
+ 0xe0, 0x61, 0x47, 0x0f, 0x00, 0x00,
}
func (m ExtraValue) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.proto
index 47d3a57a07..83283d0bdb 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/generated.proto
@@ -69,11 +69,13 @@ message NonResourceAttributes {
// NonResourceRule holds information that describes a rule for the non-resource
message NonResourceRule {
// Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
+ // +listType=atomic
repeated string verbs = 1;
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full,
// final step in the path. "*" means all.
// +optional
+ // +listType=atomic
repeated string nonResourceURLs = 2;
}
@@ -115,20 +117,24 @@ message ResourceAttributes {
// may contain duplicates, and possibly be incomplete.
message ResourceRule {
// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
+ // +listType=atomic
repeated string verbs = 1;
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "*" means all.
// +optional
+ // +listType=atomic
repeated string apiGroups = 2;
// Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.
// "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
// +optional
+ // +listType=atomic
repeated string resources = 3;
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
// +optional
+ // +listType=atomic
repeated string resourceNames = 4;
}
@@ -220,6 +226,7 @@ message SubjectAccessReviewSpec {
// Groups is the groups you're testing for.
// +optional
+ // +listType=atomic
repeated string groups = 4;
// Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer
@@ -262,10 +269,12 @@ message SubjectAccessReviewStatus {
message SubjectRulesReviewStatus {
// ResourceRules is the list of actions the subject is allowed to perform on resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
repeated ResourceRule resourceRules = 1;
// NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
repeated NonResourceRule nonResourceRules = 2;
// Incomplete is true when the rules returned by this call are incomplete. This is most commonly
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/types.go
index d1fe483f96..3b42956f89 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1/types.go
@@ -143,6 +143,7 @@ type SubjectAccessReviewSpec struct {
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
// Groups is the groups you're testing for.
// +optional
+ // +listType=atomic
Groups []string `json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"`
// Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer
// it needs a reflection here.
@@ -232,9 +233,11 @@ type SelfSubjectRulesReviewSpec struct {
type SubjectRulesReviewStatus struct {
// ResourceRules is the list of actions the subject is allowed to perform on resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
ResourceRules []ResourceRule `json:"resourceRules" protobuf:"bytes,1,rep,name=resourceRules"`
// NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
NonResourceRules []NonResourceRule `json:"nonResourceRules" protobuf:"bytes,2,rep,name=nonResourceRules"`
// Incomplete is true when the rules returned by this call are incomplete. This is most commonly
// encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
@@ -250,28 +253,34 @@ type SubjectRulesReviewStatus struct {
// may contain duplicates, and possibly be incomplete.
type ResourceRule struct {
// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "*" means all.
// +optional
+ // +listType=atomic
APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,2,rep,name=apiGroups"`
// Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.
// "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
// +optional
+ // +listType=atomic
Resources []string `json:"resources,omitempty" protobuf:"bytes,3,rep,name=resources"`
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
// +optional
+ // +listType=atomic
ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,4,rep,name=resourceNames"`
}
// NonResourceRule holds information that describes a rule for the non-resource
type NonResourceRule struct {
// Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full,
// final step in the path. "*" means all.
// +optional
+ // +listType=atomic
NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,2,rep,name=nonResourceURLs"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.pb.go
index aadcf82404..28642ba638 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1beta1/generated.proto
+// source: k8s.io/api/authorization/v1beta1/generated.proto
package v1beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExtraValue) Reset() { *m = ExtraValue{} }
func (*ExtraValue) ProtoMessage() {}
func (*ExtraValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{0}
+ return fileDescriptor_8eab727787743457, []int{0}
}
func (m *ExtraValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_ExtraValue proto.InternalMessageInfo
func (m *LocalSubjectAccessReview) Reset() { *m = LocalSubjectAccessReview{} }
func (*LocalSubjectAccessReview) ProtoMessage() {}
func (*LocalSubjectAccessReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{1}
+ return fileDescriptor_8eab727787743457, []int{1}
}
func (m *LocalSubjectAccessReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_LocalSubjectAccessReview proto.InternalMessageInfo
func (m *NonResourceAttributes) Reset() { *m = NonResourceAttributes{} }
func (*NonResourceAttributes) ProtoMessage() {}
func (*NonResourceAttributes) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{2}
+ return fileDescriptor_8eab727787743457, []int{2}
}
func (m *NonResourceAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_NonResourceAttributes proto.InternalMessageInfo
func (m *NonResourceRule) Reset() { *m = NonResourceRule{} }
func (*NonResourceRule) ProtoMessage() {}
func (*NonResourceRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{3}
+ return fileDescriptor_8eab727787743457, []int{3}
}
func (m *NonResourceRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_NonResourceRule proto.InternalMessageInfo
func (m *ResourceAttributes) Reset() { *m = ResourceAttributes{} }
func (*ResourceAttributes) ProtoMessage() {}
func (*ResourceAttributes) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{4}
+ return fileDescriptor_8eab727787743457, []int{4}
}
func (m *ResourceAttributes) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_ResourceAttributes proto.InternalMessageInfo
func (m *ResourceRule) Reset() { *m = ResourceRule{} }
func (*ResourceRule) ProtoMessage() {}
func (*ResourceRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{5}
+ return fileDescriptor_8eab727787743457, []int{5}
}
func (m *ResourceRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_ResourceRule proto.InternalMessageInfo
func (m *SelfSubjectAccessReview) Reset() { *m = SelfSubjectAccessReview{} }
func (*SelfSubjectAccessReview) ProtoMessage() {}
func (*SelfSubjectAccessReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{6}
+ return fileDescriptor_8eab727787743457, []int{6}
}
func (m *SelfSubjectAccessReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -243,7 +243,7 @@ var xxx_messageInfo_SelfSubjectAccessReview proto.InternalMessageInfo
func (m *SelfSubjectAccessReviewSpec) Reset() { *m = SelfSubjectAccessReviewSpec{} }
func (*SelfSubjectAccessReviewSpec) ProtoMessage() {}
func (*SelfSubjectAccessReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{7}
+ return fileDescriptor_8eab727787743457, []int{7}
}
func (m *SelfSubjectAccessReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -271,7 +271,7 @@ var xxx_messageInfo_SelfSubjectAccessReviewSpec proto.InternalMessageInfo
func (m *SelfSubjectRulesReview) Reset() { *m = SelfSubjectRulesReview{} }
func (*SelfSubjectRulesReview) ProtoMessage() {}
func (*SelfSubjectRulesReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{8}
+ return fileDescriptor_8eab727787743457, []int{8}
}
func (m *SelfSubjectRulesReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -299,7 +299,7 @@ var xxx_messageInfo_SelfSubjectRulesReview proto.InternalMessageInfo
func (m *SelfSubjectRulesReviewSpec) Reset() { *m = SelfSubjectRulesReviewSpec{} }
func (*SelfSubjectRulesReviewSpec) ProtoMessage() {}
func (*SelfSubjectRulesReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{9}
+ return fileDescriptor_8eab727787743457, []int{9}
}
func (m *SelfSubjectRulesReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -327,7 +327,7 @@ var xxx_messageInfo_SelfSubjectRulesReviewSpec proto.InternalMessageInfo
func (m *SubjectAccessReview) Reset() { *m = SubjectAccessReview{} }
func (*SubjectAccessReview) ProtoMessage() {}
func (*SubjectAccessReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{10}
+ return fileDescriptor_8eab727787743457, []int{10}
}
func (m *SubjectAccessReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -355,7 +355,7 @@ var xxx_messageInfo_SubjectAccessReview proto.InternalMessageInfo
func (m *SubjectAccessReviewSpec) Reset() { *m = SubjectAccessReviewSpec{} }
func (*SubjectAccessReviewSpec) ProtoMessage() {}
func (*SubjectAccessReviewSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{11}
+ return fileDescriptor_8eab727787743457, []int{11}
}
func (m *SubjectAccessReviewSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -383,7 +383,7 @@ var xxx_messageInfo_SubjectAccessReviewSpec proto.InternalMessageInfo
func (m *SubjectAccessReviewStatus) Reset() { *m = SubjectAccessReviewStatus{} }
func (*SubjectAccessReviewStatus) ProtoMessage() {}
func (*SubjectAccessReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{12}
+ return fileDescriptor_8eab727787743457, []int{12}
}
func (m *SubjectAccessReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -411,7 +411,7 @@ var xxx_messageInfo_SubjectAccessReviewStatus proto.InternalMessageInfo
func (m *SubjectRulesReviewStatus) Reset() { *m = SubjectRulesReviewStatus{} }
func (*SubjectRulesReviewStatus) ProtoMessage() {}
func (*SubjectRulesReviewStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_43130d8376f09103, []int{13}
+ return fileDescriptor_8eab727787743457, []int{13}
}
func (m *SubjectRulesReviewStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -455,83 +455,82 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/authorization/v1beta1/generated.proto", fileDescriptor_43130d8376f09103)
+ proto.RegisterFile("k8s.io/api/authorization/v1beta1/generated.proto", fileDescriptor_8eab727787743457)
}
-var fileDescriptor_43130d8376f09103 = []byte{
- // 1143 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4f, 0x6f, 0x1b, 0x45,
- 0x14, 0xf7, 0xfa, 0x4f, 0x62, 0x8f, 0x1b, 0x92, 0x4e, 0x94, 0x66, 0x1b, 0x84, 0x6d, 0x19, 0x09,
- 0x05, 0x51, 0x76, 0x49, 0x54, 0x48, 0x09, 0xf4, 0x10, 0x2b, 0x01, 0x45, 0x6a, 0x4b, 0x35, 0x51,
- 0x72, 0xa0, 0x12, 0x30, 0xbb, 0x9e, 0xd8, 0x8b, 0xed, 0xdd, 0x65, 0x66, 0xd6, 0x21, 0x88, 0x43,
- 0x8f, 0x1c, 0x39, 0x72, 0x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4a, 0x30, 0xf3, 0x5c, 0xb5, 0xc4, 0x8d,
- 0x78, 0x48, 0x4a, 0x91, 0x42, 0xe1, 0x16, 0x98, 0x27, 0xc2, 0x4d, 0x19, 0xc4, 0x0e, 0xa5, 0xde,
- 0xf0, 0x65, 0x97, 0x95, 0xc2, 0xfc, 0xce, 0x38, 0x8c, 0xce, 0xf3, 0xeb, 0xff, 0x66, 0x81, 0x7e,
- 0xd9, 0xd8, 0x83, 0x9d, 0x78, 0x8b, 0x91, 0xa0, 0x5c, 0xa4, 0xca, 0xeb, 0xc6, 0xf5, 0x5b, 0x46,
- 0xa8, 0x35, 0x96, 0x94, 0x37, 0x73, 0x49, 0x69, 0x62, 0xf3, 0x91, 0x47, 0x78, 0x04, 0x16, 0xdc,
- 0xf1, 0x95, 0x3b, 0xda, 0xc9, 0xca, 0xeb, 0x6b, 0x53, 0x35, 0x88, 0xbc, 0x52, 0x57, 0x57, 0x2e,
- 0x9c, 0x03, 0x18, 0xba, 0x70, 0x09, 0x5c, 0x07, 0xc0, 0x71, 0x6d, 0xaf, 0xe7, 0x77, 0x09, 0x27,
- 0x32, 0x81, 0xc5, 0x78, 0x5a, 0xee, 0x8e, 0x10, 0x94, 0x60, 0xa5, 0x65, 0x3e, 0x3f, 0x5d, 0xe6,
- 0x1b, 0x9f, 0x9c, 0x9c, 0x55, 0x32, 0x2f, 0xce, 0x2a, 0x99, 0xd3, 0xb3, 0x4a, 0xe6, 0x79, 0x58,
- 0xd1, 0x4e, 0xc2, 0x8a, 0xf6, 0x22, 0xac, 0x68, 0xa7, 0x61, 0x45, 0xfb, 0x3b, 0xac, 0x68, 0x3f,
- 0xfe, 0x53, 0xc9, 0x7c, 0x5e, 0x9b, 0xf4, 0x0f, 0xfc, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x58,
- 0x16, 0x3a, 0xdf, 0xbd, 0x0f, 0x00, 0x00,
+var fileDescriptor_8eab727787743457 = []byte{
+ // 1130 bytes of a gzipped FileDescriptor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x2b, 0x2d, 0xf3,
+ 0xf9, 0xeb, 0x65, 0xbe, 0xf1, 0xf1, 0xf1, 0x69, 0x25, 0xf3, 0xf2, 0xb4, 0x92, 0x39, 0x39, 0xad,
+ 0x64, 0x5e, 0x84, 0x15, 0xed, 0x38, 0xac, 0x68, 0x2f, 0xc3, 0x8a, 0x76, 0x12, 0x56, 0xb4, 0xbf,
+ 0xc2, 0x8a, 0xf6, 0xc3, 0xdf, 0x95, 0xcc, 0x67, 0xb5, 0x49, 0xff, 0xc0, 0xff, 0x0d, 0x00, 0x00,
+ 0xff, 0xff, 0xcd, 0x08, 0x09, 0x84, 0xa4, 0x0f, 0x00, 0x00,
}
func (m ExtraValue) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.proto
index 01736202f8..43bea7aa12 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/generated.proto
@@ -69,11 +69,13 @@ message NonResourceAttributes {
// NonResourceRule holds information that describes a rule for the non-resource
message NonResourceRule {
// Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
+ // +listType=atomic
repeated string verbs = 1;
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full,
// final step in the path. "*" means all.
// +optional
+ // +listType=atomic
repeated string nonResourceURLs = 2;
}
@@ -115,20 +117,24 @@ message ResourceAttributes {
// may contain duplicates, and possibly be incomplete.
message ResourceRule {
// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
+ // +listType=atomic
repeated string verbs = 1;
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "*" means all.
// +optional
+ // +listType=atomic
repeated string apiGroups = 2;
// Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.
// "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
// +optional
+ // +listType=atomic
repeated string resources = 3;
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
// +optional
+ // +listType=atomic
repeated string resourceNames = 4;
}
@@ -220,6 +226,7 @@ message SubjectAccessReviewSpec {
// Groups is the groups you're testing for.
// +optional
+ // +listType=atomic
repeated string group = 4;
// Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer
@@ -262,10 +269,12 @@ message SubjectAccessReviewStatus {
message SubjectRulesReviewStatus {
// ResourceRules is the list of actions the subject is allowed to perform on resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
repeated ResourceRule resourceRules = 1;
// NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
repeated NonResourceRule nonResourceRules = 2;
// Incomplete is true when the rules returned by this call are incomplete. This is most commonly
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/types.go
index 2653098655..ef3a501b05 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/authorization/v1beta1/types.go
@@ -152,6 +152,7 @@ type SubjectAccessReviewSpec struct {
User string `json:"user,omitempty" protobuf:"bytes,3,opt,name=user"`
// Groups is the groups you're testing for.
// +optional
+ // +listType=atomic
Groups []string `json:"group,omitempty" protobuf:"bytes,4,rep,name=group"`
// Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer
// it needs a reflection here.
@@ -244,9 +245,11 @@ type SelfSubjectRulesReviewSpec struct {
type SubjectRulesReviewStatus struct {
// ResourceRules is the list of actions the subject is allowed to perform on resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
ResourceRules []ResourceRule `json:"resourceRules" protobuf:"bytes,1,rep,name=resourceRules"`
// NonResourceRules is the list of actions the subject is allowed to perform on non-resources.
// The list ordering isn't significant, may contain duplicates, and possibly be incomplete.
+ // +listType=atomic
NonResourceRules []NonResourceRule `json:"nonResourceRules" protobuf:"bytes,2,rep,name=nonResourceRules"`
// Incomplete is true when the rules returned by this call are incomplete. This is most commonly
// encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
@@ -262,28 +265,34 @@ type SubjectRulesReviewStatus struct {
// may contain duplicates, and possibly be incomplete.
type ResourceRule struct {
// Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. "*" means all.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "*" means all.
// +optional
+ // +listType=atomic
APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,2,rep,name=apiGroups"`
// Resources is a list of resources this rule applies to. "*" means all in the specified apiGroups.
// "*/foo" represents the subresource 'foo' for all resources in the specified apiGroups.
// +optional
+ // +listType=atomic
Resources []string `json:"resources,omitempty" protobuf:"bytes,3,rep,name=resources"`
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. "*" means all.
// +optional
+ // +listType=atomic
ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,4,rep,name=resourceNames"`
}
// NonResourceRule holds information that describes a rule for the non-resource
type NonResourceRule struct {
// Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full,
// final step in the path. "*" means all.
// +optional
+ // +listType=atomic
NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,2,rep,name=nonResourceURLs"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v1/generated.pb.go
index 289d1b827f..3e3c231351 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto
+// source: k8s.io/api/autoscaling/v1/generated.proto
package v1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} }
func (*ContainerResourceMetricSource) ProtoMessage() {}
func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{0}
+ return fileDescriptor_1972394c0c7aac8b, []int{0}
}
func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo
func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} }
func (*ContainerResourceMetricStatus) ProtoMessage() {}
func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{1}
+ return fileDescriptor_1972394c0c7aac8b, []int{1}
}
func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo
func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} }
func (*CrossVersionObjectReference) ProtoMessage() {}
func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{2}
+ return fileDescriptor_1972394c0c7aac8b, []int{2}
}
func (m *CrossVersionObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_CrossVersionObjectReference proto.InternalMessageInfo
func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} }
func (*ExternalMetricSource) ProtoMessage() {}
func (*ExternalMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{3}
+ return fileDescriptor_1972394c0c7aac8b, []int{3}
}
func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo
func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} }
func (*ExternalMetricStatus) ProtoMessage() {}
func (*ExternalMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{4}
+ return fileDescriptor_1972394c0c7aac8b, []int{4}
}
func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -190,7 +190,7 @@ var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo
func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
func (*HorizontalPodAutoscaler) ProtoMessage() {}
func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{5}
+ return fileDescriptor_1972394c0c7aac8b, []int{5}
}
func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -218,7 +218,7 @@ var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} }
func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{6}
+ return fileDescriptor_1972394c0c7aac8b, []int{6}
}
func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -246,7 +246,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
func (*HorizontalPodAutoscalerList) ProtoMessage() {}
func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{7}
+ return fileDescriptor_1972394c0c7aac8b, []int{7}
}
func (m *HorizontalPodAutoscalerList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -274,7 +274,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerList proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{8}
+ return fileDescriptor_1972394c0c7aac8b, []int{8}
}
func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -302,7 +302,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{9}
+ return fileDescriptor_1972394c0c7aac8b, []int{9}
}
func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -330,7 +330,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo
func (m *MetricSpec) Reset() { *m = MetricSpec{} }
func (*MetricSpec) ProtoMessage() {}
func (*MetricSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{10}
+ return fileDescriptor_1972394c0c7aac8b, []int{10}
}
func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -358,7 +358,7 @@ var xxx_messageInfo_MetricSpec proto.InternalMessageInfo
func (m *MetricStatus) Reset() { *m = MetricStatus{} }
func (*MetricStatus) ProtoMessage() {}
func (*MetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{11}
+ return fileDescriptor_1972394c0c7aac8b, []int{11}
}
func (m *MetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -386,7 +386,7 @@ var xxx_messageInfo_MetricStatus proto.InternalMessageInfo
func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} }
func (*ObjectMetricSource) ProtoMessage() {}
func (*ObjectMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{12}
+ return fileDescriptor_1972394c0c7aac8b, []int{12}
}
func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -414,7 +414,7 @@ var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo
func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} }
func (*ObjectMetricStatus) ProtoMessage() {}
func (*ObjectMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{13}
+ return fileDescriptor_1972394c0c7aac8b, []int{13}
}
func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -442,7 +442,7 @@ var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo
func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} }
func (*PodsMetricSource) ProtoMessage() {}
func (*PodsMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{14}
+ return fileDescriptor_1972394c0c7aac8b, []int{14}
}
func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -470,7 +470,7 @@ var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo
func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} }
func (*PodsMetricStatus) ProtoMessage() {}
func (*PodsMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{15}
+ return fileDescriptor_1972394c0c7aac8b, []int{15}
}
func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -498,7 +498,7 @@ var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo
func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} }
func (*ResourceMetricSource) ProtoMessage() {}
func (*ResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{16}
+ return fileDescriptor_1972394c0c7aac8b, []int{16}
}
func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -526,7 +526,7 @@ var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo
func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} }
func (*ResourceMetricStatus) ProtoMessage() {}
func (*ResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{17}
+ return fileDescriptor_1972394c0c7aac8b, []int{17}
}
func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -554,7 +554,7 @@ var xxx_messageInfo_ResourceMetricStatus proto.InternalMessageInfo
func (m *Scale) Reset() { *m = Scale{} }
func (*Scale) ProtoMessage() {}
func (*Scale) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{18}
+ return fileDescriptor_1972394c0c7aac8b, []int{18}
}
func (m *Scale) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -582,7 +582,7 @@ var xxx_messageInfo_Scale proto.InternalMessageInfo
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
func (*ScaleSpec) ProtoMessage() {}
func (*ScaleSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{19}
+ return fileDescriptor_1972394c0c7aac8b, []int{19}
}
func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -610,7 +610,7 @@ var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
func (*ScaleStatus) ProtoMessage() {}
func (*ScaleStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2bb1f2101a7f10e2, []int{20}
+ return fileDescriptor_1972394c0c7aac8b, []int{20}
}
func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -660,112 +660,111 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v1/generated.proto", fileDescriptor_2bb1f2101a7f10e2)
+ proto.RegisterFile("k8s.io/api/autoscaling/v1/generated.proto", fileDescriptor_1972394c0c7aac8b)
}
-var fileDescriptor_2bb1f2101a7f10e2 = []byte{
- // 1608 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4d, 0x6c, 0xd4, 0xc6,
- 0x17, 0xcf, 0x7e, 0x24, 0x24, 0x6f, 0x43, 0x3e, 0x06, 0xfe, 0x90, 0x84, 0x3f, 0xeb, 0xc8, 0x7f,
- 0x84, 0xf2, 0x6f, 0x8b, 0xdd, 0x6c, 0x29, 0xa2, 0xa7, 0x2a, 0xde, 0x96, 0x82, 0x9a, 0x85, 0x30,
- 0x09, 0x94, 0x7e, 0x8a, 0x89, 0x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a4, 0x54, 0x38, 0x76, 0xa3, 0xc4, 0xf5, 0xd9, 0xd5, 0xae,
- 0xf5, 0xd9, 0xd9, 0x5d, 0x91, 0xd2, 0x97, 0x65, 0xef, 0xc0, 0x44, 0x28, 0x10, 0xbd, 0xe1, 0xf5,
- 0xaa, 0x7c, 0xa6, 0xcc, 0x30, 0xdb, 0x86, 0x1b, 0x96, 0x70, 0x98, 0x0c, 0x29, 0x44, 0x0d, 0x0a,
- 0x11, 0x09, 0x7b, 0x63, 0xf6, 0xa8, 0xed, 0xe8, 0xba, 0x78, 0xa2, 0x43, 0xdd, 0x9b, 0x13, 0x94,
- 0x77, 0x1f, 0x3f, 0x2f, 0x8e, 0x3c, 0x79, 0x5e, 0x1c, 0x79, 0xf6, 0xbc, 0x38, 0xf2, 0xa5, 0x5b,
- 0xcc, 0x3c, 0x76, 0x8b, 0x99, 0x27, 0x6e, 0x31, 0xf3, 0xcc, 0x2d, 0x66, 0x7e, 0x75, 0x8b, 0x99,
- 0x6f, 0x7e, 0x2b, 0x8e, 0x7c, 0x32, 0x9f, 0xf8, 0x2f, 0xd5, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff,
- 0x5d, 0x92, 0x55, 0x29, 0x87, 0x1d, 0x00, 0x00,
+var fileDescriptor_1972394c0c7aac8b = []byte{
+ // 1593 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4d, 0x6c, 0x13, 0xd7,
+ 0x16, 0x8e, 0x7f, 0x12, 0x92, 0xe3, 0x90, 0x9f, 0x0b, 0x0f, 0x92, 0xf0, 0xf0, 0x44, 0xf3, 0x10,
+ 0x0a, 0xef, 0x3d, 0xc6, 0x8d, 0x4b, 0x11, 0x5d, 0x55, 0xb1, 0x5b, 0x0a, 0x6a, 0x0c, 0xe1, 0x26,
+ 0x50, 0xfa, 0x2b, 0x6e, 0xc6, 0x17, 0x67, 0x88, 0x67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 0xae,
+ 0x75, 0xad, 0xcf, 0xce, 0xee, 0x8a, 0x94, 0xbc, 0x2c, 0x7b, 0x1b, 0x26, 0x02, 0x81, 0xe8, 0xff,
+ 0xac, 0x57, 0x15, 0x33, 0x65, 0x8a, 0xdb, 0x36, 0xd8, 0xb0, 0x04, 0xc3, 0x64, 0x40, 0x21, 0x6b,
+ 0x90, 0x0b, 0x49, 0xd8, 0x1b, 0x33, 0xa3, 0xb6, 0xc3, 0xeb, 0xe2, 0x89, 0x0e, 0x75, 0x6f, 0x4e,
+ 0x28, 0xbd, 0xf3, 0xe4, 0x45, 0x7e, 0xe4, 0xe9, 0x8b, 0xfc, 0xc8, 0xf3, 0x17, 0xf9, 0x91, 0x2f,
+ 0xdc, 0x7c, 0xea, 0x89, 0x9b, 0x4f, 0x3d, 0x75, 0xf3, 0xa9, 0xe7, 0x6e, 0x3e, 0xf5, 0x8b, 0x9b,
+ 0x4f, 0x7d, 0xfd, 0x6b, 0x7e, 0xe4, 0xe3, 0xf9, 0xd8, 0x7f, 0xa9, 0xfe, 0x19, 0x00, 0x00, 0xff,
+ 0xff, 0xd7, 0x67, 0xd4, 0x08, 0x6e, 0x1d, 0x00, 0x00,
}
func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2/generated.pb.go
index 9f57916d7c..ece6dedadb 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2/generated.proto
+// source: k8s.io/api/autoscaling/v2/generated.proto
package v2
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} }
func (*ContainerResourceMetricSource) ProtoMessage() {}
func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{0}
+ return fileDescriptor_4d5f2c8767749221, []int{0}
}
func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo
func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} }
func (*ContainerResourceMetricStatus) ProtoMessage() {}
func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{1}
+ return fileDescriptor_4d5f2c8767749221, []int{1}
}
func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo
func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} }
func (*CrossVersionObjectReference) ProtoMessage() {}
func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{2}
+ return fileDescriptor_4d5f2c8767749221, []int{2}
}
func (m *CrossVersionObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_CrossVersionObjectReference proto.InternalMessageInfo
func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} }
func (*ExternalMetricSource) ProtoMessage() {}
func (*ExternalMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{3}
+ return fileDescriptor_4d5f2c8767749221, []int{3}
}
func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo
func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} }
func (*ExternalMetricStatus) ProtoMessage() {}
func (*ExternalMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{4}
+ return fileDescriptor_4d5f2c8767749221, []int{4}
}
func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -190,7 +190,7 @@ var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo
func (m *HPAScalingPolicy) Reset() { *m = HPAScalingPolicy{} }
func (*HPAScalingPolicy) ProtoMessage() {}
func (*HPAScalingPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{5}
+ return fileDescriptor_4d5f2c8767749221, []int{5}
}
func (m *HPAScalingPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -218,7 +218,7 @@ var xxx_messageInfo_HPAScalingPolicy proto.InternalMessageInfo
func (m *HPAScalingRules) Reset() { *m = HPAScalingRules{} }
func (*HPAScalingRules) ProtoMessage() {}
func (*HPAScalingRules) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{6}
+ return fileDescriptor_4d5f2c8767749221, []int{6}
}
func (m *HPAScalingRules) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -246,7 +246,7 @@ var xxx_messageInfo_HPAScalingRules proto.InternalMessageInfo
func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
func (*HorizontalPodAutoscaler) ProtoMessage() {}
func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{7}
+ return fileDescriptor_4d5f2c8767749221, []int{7}
}
func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -274,7 +274,7 @@ var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerBehavior) Reset() { *m = HorizontalPodAutoscalerBehavior{} }
func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {}
func (*HorizontalPodAutoscalerBehavior) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{8}
+ return fileDescriptor_4d5f2c8767749221, []int{8}
}
func (m *HorizontalPodAutoscalerBehavior) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -302,7 +302,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerBehavior proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} }
func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{9}
+ return fileDescriptor_4d5f2c8767749221, []int{9}
}
func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -330,7 +330,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
func (*HorizontalPodAutoscalerList) ProtoMessage() {}
func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{10}
+ return fileDescriptor_4d5f2c8767749221, []int{10}
}
func (m *HorizontalPodAutoscalerList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -358,7 +358,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerList proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{11}
+ return fileDescriptor_4d5f2c8767749221, []int{11}
}
func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -386,7 +386,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{12}
+ return fileDescriptor_4d5f2c8767749221, []int{12}
}
func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -414,7 +414,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo
func (m *MetricIdentifier) Reset() { *m = MetricIdentifier{} }
func (*MetricIdentifier) ProtoMessage() {}
func (*MetricIdentifier) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{13}
+ return fileDescriptor_4d5f2c8767749221, []int{13}
}
func (m *MetricIdentifier) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -442,7 +442,7 @@ var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo
func (m *MetricSpec) Reset() { *m = MetricSpec{} }
func (*MetricSpec) ProtoMessage() {}
func (*MetricSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{14}
+ return fileDescriptor_4d5f2c8767749221, []int{14}
}
func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -470,7 +470,7 @@ var xxx_messageInfo_MetricSpec proto.InternalMessageInfo
func (m *MetricStatus) Reset() { *m = MetricStatus{} }
func (*MetricStatus) ProtoMessage() {}
func (*MetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{15}
+ return fileDescriptor_4d5f2c8767749221, []int{15}
}
func (m *MetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -498,7 +498,7 @@ var xxx_messageInfo_MetricStatus proto.InternalMessageInfo
func (m *MetricTarget) Reset() { *m = MetricTarget{} }
func (*MetricTarget) ProtoMessage() {}
func (*MetricTarget) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{16}
+ return fileDescriptor_4d5f2c8767749221, []int{16}
}
func (m *MetricTarget) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -526,7 +526,7 @@ var xxx_messageInfo_MetricTarget proto.InternalMessageInfo
func (m *MetricValueStatus) Reset() { *m = MetricValueStatus{} }
func (*MetricValueStatus) ProtoMessage() {}
func (*MetricValueStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{17}
+ return fileDescriptor_4d5f2c8767749221, []int{17}
}
func (m *MetricValueStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -554,7 +554,7 @@ var xxx_messageInfo_MetricValueStatus proto.InternalMessageInfo
func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} }
func (*ObjectMetricSource) ProtoMessage() {}
func (*ObjectMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{18}
+ return fileDescriptor_4d5f2c8767749221, []int{18}
}
func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -582,7 +582,7 @@ var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo
func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} }
func (*ObjectMetricStatus) ProtoMessage() {}
func (*ObjectMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{19}
+ return fileDescriptor_4d5f2c8767749221, []int{19}
}
func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -610,7 +610,7 @@ var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo
func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} }
func (*PodsMetricSource) ProtoMessage() {}
func (*PodsMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{20}
+ return fileDescriptor_4d5f2c8767749221, []int{20}
}
func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -638,7 +638,7 @@ var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo
func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} }
func (*PodsMetricStatus) ProtoMessage() {}
func (*PodsMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{21}
+ return fileDescriptor_4d5f2c8767749221, []int{21}
}
func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -666,7 +666,7 @@ var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo
func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} }
func (*ResourceMetricSource) ProtoMessage() {}
func (*ResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{22}
+ return fileDescriptor_4d5f2c8767749221, []int{22}
}
func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -694,7 +694,7 @@ var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo
func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} }
func (*ResourceMetricStatus) ProtoMessage() {}
func (*ResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_b14d4df4b5f3935e, []int{23}
+ return fileDescriptor_4d5f2c8767749221, []int{23}
}
func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -747,120 +747,119 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2/generated.proto", fileDescriptor_b14d4df4b5f3935e)
+ proto.RegisterFile("k8s.io/api/autoscaling/v2/generated.proto", fileDescriptor_4d5f2c8767749221)
}
-var fileDescriptor_b14d4df4b5f3935e = []byte{
- // 1738 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcb, 0x8f, 0x13, 0xc9,
- 0x19, 0x9f, 0xb6, 0x3d, 0xaf, 0xf2, 0x3c, 0x8b, 0x97, 0x19, 0x84, 0x3d, 0xea, 0x90, 0x40, 0x48,
- 0x68, 0x07, 0x87, 0x20, 0x14, 0x0e, 0xd1, 0xf4, 0x90, 0x84, 0x11, 0x33, 0x19, 0x53, 0x06, 0x26,
- 0x89, 0x92, 0x88, 0x72, 0x77, 0x8d, 0xa7, 0x32, 0x76, 0xb7, 0xd5, 0xdd, 0x36, 0x0c, 0x52, 0xa4,
- 0x5c, 0x72, 0x8f, 0x12, 0xa1, 0x28, 0xff, 0x03, 0xca, 0x29, 0x11, 0x39, 0xec, 0x4a, 0x2b, 0xed,
- 0x1e, 0xb8, 0xac, 0xc4, 0x61, 0x0f, 0x9c, 0xac, 0xc5, 0x2b, 0xed, 0x71, 0xff, 0x00, 0x4e, 0xab,
- 0x7a, 0xf4, 0xd3, 0xaf, 0x31, 0x3b, 0x8c, 0x34, 0x37, 0x57, 0xd5, 0xf7, 0xfd, 0xbe, 0x47, 0x7d,
- 0xaf, 0x6a, 0x03, 0x7d, 0xff, 0x96, 0xab, 0x51, 0xbb, 0xb8, 0xdf, 0xaa, 0x12, 0xc7, 0x22, 0x1e,
- 0x71, 0x8b, 0x6d, 0x62, 0x99, 0xb6, 0x53, 0x94, 0x07, 0xb8, 0x49, 0x8b, 0xb8, 0xe5, 0xd9, 0xae,
- 0x81, 0xeb, 0xd4, 0xaa, 0x15, 0xdb, 0xa5, 0x62, 0x8d, 0x58, 0xc4, 0xc1, 0x1e, 0x31, 0xb5, 0xa6,
- 0x63, 0x7b, 0x36, 0x3c, 0x2f, 0x48, 0x35, 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x9a, 0xdf, 0x48, 0xa4, 0xf9, 0xa5, 0x51, 0xfc, 0x91,
- 0xb4, 0xdf, 0x0c, 0x2e, 0x28, 0x15, 0xc3, 0x92, 0x6e, 0x7e, 0xd7, 0x29, 0xf4, 0x19, 0xac, 0xb4,
- 0x00, 0x29, 0x7e, 0x19, 0xb0, 0x0d, 0x60, 0x1d, 0xbb, 0xde, 0x03, 0x07, 0x5b, 0xae, 0x90, 0x44,
- 0x1b, 0x44, 0x5e, 0xfd, 0xd5, 0xc3, 0x05, 0x2d, 0xe3, 0xd0, 0x57, 0xa4, 0x16, 0x70, 0xb3, 0x07,
- 0x0d, 0xf5, 0x91, 0x00, 0x7f, 0x00, 0xa6, 0x1c, 0x82, 0x5d, 0xdb, 0xca, 0x65, 0xb8, 0x15, 0x41,
- 0xb0, 0x20, 0xbe, 0x8b, 0xe4, 0x29, 0xfc, 0x21, 0x98, 0x6e, 0x10, 0xd7, 0xc5, 0x35, 0x92, 0x9b,
- 0xe4, 0x84, 0x41, 0x79, 0xdd, 0x12, 0xdb, 0xc8, 0x3f, 0x57, 0xbf, 0x50, 0xc0, 0x85, 0x01, 0x7e,
- 0xdc, 0xa4, 0xae, 0x07, 0xff, 0xd0, 0x93, 0x95, 0xda, 0xe1, 0x0c, 0x64, 0xdc, 0x3c, 0x27, 0x83,
+var fileDescriptor_4d5f2c8767749221 = []byte{
+ // 1722 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcb, 0x8f, 0x1b, 0x49,
+ 0x19, 0x9f, 0xb6, 0x3d, 0xaf, 0xf2, 0x3c, 0x2b, 0x2f, 0x67, 0xa2, 0xd8, 0xa3, 0x26, 0x90, 0x07,
+ 0xa4, 0x4d, 0x4c, 0x88, 0x22, 0x72, 0x40, 0xd3, 0x13, 0x20, 0xa3, 0xcc, 0x30, 0x4e, 0x39, 0xc9,
+ 0x00, 0x02, 0x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xfc, 0xc4, 0x5f,
- 0xbb, 0x79, 0xe5, 0x55, 0x37, 0xaf, 0xbc, 0xee, 0xe6, 0x95, 0x37, 0xdd, 0xbc, 0xf2, 0x65, 0x37,
- 0xaf, 0xfc, 0xfd, 0xab, 0xfc, 0xc4, 0xef, 0xcf, 0x0f, 0xfc, 0xa7, 0xf0, 0xdb, 0x00, 0x00, 0x00,
- 0xff, 0xff, 0xc5, 0xb7, 0xf9, 0x52, 0x5e, 0x1c, 0x00, 0x00,
+ 0xea, 0xff, 0x92, 0x7e, 0x3b, 0x81, 0x9f, 0xcf, 0xfa, 0xdd, 0x72, 0xfa, 0x78, 0x6e, 0x59, 0xfd,
+ 0x8f, 0x02, 0x96, 0x92, 0x63, 0xc4, 0x09, 0xf9, 0x76, 0xfa, 0xff, 0xb8, 0xea, 0x27, 0xf1, 0xbb,
+ 0xe9, 0x4b, 0x05, 0x9c, 0x3e, 0x39, 0x7f, 0x93, 0xa8, 0xff, 0xea, 0x55, 0xf7, 0x04, 0xfc, 0xd9,
+ 0xa1, 0xff, 0xf4, 0xf5, 0xbb, 0xfc, 0xc4, 0x9b, 0x77, 0xf9, 0x89, 0xb7, 0xef, 0xf2, 0x13, 0x7f,
+ 0xea, 0xe6, 0x95, 0xd7, 0xdd, 0xbc, 0xf2, 0xa6, 0x9b, 0x57, 0xde, 0x76, 0xf3, 0xca, 0x17, 0xdd,
+ 0xbc, 0xf2, 0x97, 0x2f, 0xf3, 0x13, 0xbf, 0x39, 0x3f, 0xf0, 0x9f, 0xc2, 0x6f, 0x02, 0x00, 0x00,
+ 0xff, 0xff, 0xca, 0x8b, 0x47, 0xba, 0x45, 0x1c, 0x00, 0x00,
}
func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.pb.go
index edda3581e7..69567089b6 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto
+// source: k8s.io/api/autoscaling/v2beta1/generated.proto
package v2beta1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} }
func (*ContainerResourceMetricSource) ProtoMessage() {}
func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{0}
+ return fileDescriptor_ea74040359c1ed83, []int{0}
}
func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo
func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} }
func (*ContainerResourceMetricStatus) ProtoMessage() {}
func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{1}
+ return fileDescriptor_ea74040359c1ed83, []int{1}
}
func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo
func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} }
func (*CrossVersionObjectReference) ProtoMessage() {}
func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{2}
+ return fileDescriptor_ea74040359c1ed83, []int{2}
}
func (m *CrossVersionObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_CrossVersionObjectReference proto.InternalMessageInfo
func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} }
func (*ExternalMetricSource) ProtoMessage() {}
func (*ExternalMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{3}
+ return fileDescriptor_ea74040359c1ed83, []int{3}
}
func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo
func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} }
func (*ExternalMetricStatus) ProtoMessage() {}
func (*ExternalMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{4}
+ return fileDescriptor_ea74040359c1ed83, []int{4}
}
func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -190,7 +190,7 @@ var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo
func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
func (*HorizontalPodAutoscaler) ProtoMessage() {}
func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{5}
+ return fileDescriptor_ea74040359c1ed83, []int{5}
}
func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -218,7 +218,7 @@ var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} }
func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{6}
+ return fileDescriptor_ea74040359c1ed83, []int{6}
}
func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -246,7 +246,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
func (*HorizontalPodAutoscalerList) ProtoMessage() {}
func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{7}
+ return fileDescriptor_ea74040359c1ed83, []int{7}
}
func (m *HorizontalPodAutoscalerList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -274,7 +274,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerList proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{8}
+ return fileDescriptor_ea74040359c1ed83, []int{8}
}
func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -302,7 +302,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{9}
+ return fileDescriptor_ea74040359c1ed83, []int{9}
}
func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -330,7 +330,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo
func (m *MetricSpec) Reset() { *m = MetricSpec{} }
func (*MetricSpec) ProtoMessage() {}
func (*MetricSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{10}
+ return fileDescriptor_ea74040359c1ed83, []int{10}
}
func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -358,7 +358,7 @@ var xxx_messageInfo_MetricSpec proto.InternalMessageInfo
func (m *MetricStatus) Reset() { *m = MetricStatus{} }
func (*MetricStatus) ProtoMessage() {}
func (*MetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{11}
+ return fileDescriptor_ea74040359c1ed83, []int{11}
}
func (m *MetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -386,7 +386,7 @@ var xxx_messageInfo_MetricStatus proto.InternalMessageInfo
func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} }
func (*ObjectMetricSource) ProtoMessage() {}
func (*ObjectMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{12}
+ return fileDescriptor_ea74040359c1ed83, []int{12}
}
func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -414,7 +414,7 @@ var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo
func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} }
func (*ObjectMetricStatus) ProtoMessage() {}
func (*ObjectMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{13}
+ return fileDescriptor_ea74040359c1ed83, []int{13}
}
func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -442,7 +442,7 @@ var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo
func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} }
func (*PodsMetricSource) ProtoMessage() {}
func (*PodsMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{14}
+ return fileDescriptor_ea74040359c1ed83, []int{14}
}
func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -470,7 +470,7 @@ var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo
func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} }
func (*PodsMetricStatus) ProtoMessage() {}
func (*PodsMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{15}
+ return fileDescriptor_ea74040359c1ed83, []int{15}
}
func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -498,7 +498,7 @@ var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo
func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} }
func (*ResourceMetricSource) ProtoMessage() {}
func (*ResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{16}
+ return fileDescriptor_ea74040359c1ed83, []int{16}
}
func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -526,7 +526,7 @@ var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo
func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} }
func (*ResourceMetricStatus) ProtoMessage() {}
func (*ResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_26c1bfc7a52d0478, []int{17}
+ return fileDescriptor_ea74040359c1ed83, []int{17}
}
func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -573,109 +573,108 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto", fileDescriptor_26c1bfc7a52d0478)
+ proto.RegisterFile("k8s.io/api/autoscaling/v2beta1/generated.proto", fileDescriptor_ea74040359c1ed83)
}
-var fileDescriptor_26c1bfc7a52d0478 = []byte{
- // 1565 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4d, 0x6c, 0x1b, 0x45,
- 0x1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, 0x88, 0x5f, 0x67, 0xa3, 0x9e, 0x48, 0x1d, 0xb8, 0x27, 0xf4, 0xaf, 0xe3,
- 0x1c, 0x8d, 0xff, 0x89, 0xa8, 0xcf, 0x07, 0xd5, 0xe4, 0x21, 0x7d, 0x50, 0x7d, 0xca, 0x34, 0x7d,
- 0x93, 0x84, 0xe3, 0xcf, 0xfe, 0x53, 0x18, 0xfd, 0xeb, 0xe3, 0x0f, 0xdd, 0x7c, 0x3d, 0xfb, 0x67,
- 0x60, 0x94, 0x40, 0x2e, 0x5c, 0xb8, 0xf7, 0x28, 0x3b, 0x71, 0xff, 0x51, 0x76, 0xe2, 0xc1, 0xa3,
- 0xec, 0xc4, 0xc7, 0xad, 0x6c, 0xe2, 0x5e, 0x2b, 0x9b, 0xb8, 0xdf, 0xca, 0x26, 0x1e, 0xb4, 0xb2,
- 0x89, 0x5f, 0x5a, 0xd9, 0xc4, 0x67, 0xbf, 0x66, 0x27, 0xde, 0xc9, 0x0e, 0xfe, 0x93, 0xf1, 0x8f,
- 0x00, 0x00, 0x00, 0xff, 0xff, 0x09, 0x76, 0xa2, 0x69, 0x9e, 0x1c, 0x00, 0x00,
+var fileDescriptor_ea74040359c1ed83 = []byte{
+ // 1549 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0x4d, 0x6c, 0x1b, 0xc5,
+ 0x17, 0x8f, 0xed, 0x4d, 0x9a, 0x3c, 0xa7, 0xf9, 0x98, 0xf6, 0xdf, 0xba, 0xe9, 0xbf, 0x76, 0xb4,
+ 0xfa, 0xeb, 0xaf, 0x50, 0xc1, 0xba, 0x35, 0xe1, 0x43, 0x42, 0x48, 0xc4, 0x2e, 0xd0, 0x8a, 0xb8,
+ 0x2d, 0x93, 0xb4, 0x42, 0xd0, 0x22, 0x26, 0xeb, 0xa9, 0xb3, 0xc4, 0xde, 0xb5, 0x76, 0xc6, 0x51,
+ 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xbc, 0x70, 0xf7, 0x61, 0x76, 0xe2, 0xde, 0xc3, 0xec, 0xc4, 0xfd, 0x87,
+ 0xd9, 0x89, 0x4f, 0xda, 0xd9, 0xc4, 0xdd, 0x76, 0x36, 0x71, 0xaf, 0x9d, 0x4d, 0xdc, 0x6f, 0x67,
+ 0x13, 0xbf, 0xb6, 0xb3, 0x89, 0xcf, 0x7f, 0xcb, 0x4e, 0xbc, 0x9b, 0x1d, 0xfc, 0x27, 0xe3, 0x9f,
+ 0x01, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x05, 0xaa, 0x18, 0x85, 0x1c, 0x00, 0x00,
}
func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto
index 6b3d415212..e2119d5550 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/generated.proto
@@ -220,6 +220,7 @@ message HorizontalPodAutoscalerSpec {
// increased, and vice-versa. See the individual metric source types for
// more information about how each type of metric must respond.
// +optional
+ // +listType=atomic
repeated MetricSpec metrics = 4;
}
@@ -244,11 +245,13 @@ message HorizontalPodAutoscalerStatus {
// currentMetrics is the last read state of the metrics used by this autoscaler.
// +optional
+ // +listType=atomic
repeated MetricStatus currentMetrics = 5;
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
+ // +listType=atomic
repeated HorizontalPodAutoscalerCondition conditions = 6;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/types.go
index 842284072d..193cc43549 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta1/types.go
@@ -56,6 +56,7 @@ type HorizontalPodAutoscalerSpec struct {
// increased, and vice-versa. See the individual metric source types for
// more information about how each type of metric must respond.
// +optional
+ // +listType=atomic
Metrics []MetricSpec `json:"metrics,omitempty" protobuf:"bytes,4,rep,name=metrics"`
}
@@ -260,11 +261,13 @@ type HorizontalPodAutoscalerStatus struct {
// currentMetrics is the last read state of the metrics used by this autoscaler.
// +optional
+ // +listType=atomic
CurrentMetrics []MetricStatus `json:"currentMetrics" protobuf:"bytes,5,rep,name=currentMetrics"`
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
+ // +listType=atomic
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.pb.go
index 211acd1ae3..741979505d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto
+// source: k8s.io/api/autoscaling/v2beta2/generated.proto
package v2beta2
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ContainerResourceMetricSource) Reset() { *m = ContainerResourceMetricSource{} }
func (*ContainerResourceMetricSource) ProtoMessage() {}
func (*ContainerResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{0}
+ return fileDescriptor_1076ab1fac987148, []int{0}
}
func (m *ContainerResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_ContainerResourceMetricSource proto.InternalMessageInfo
func (m *ContainerResourceMetricStatus) Reset() { *m = ContainerResourceMetricStatus{} }
func (*ContainerResourceMetricStatus) ProtoMessage() {}
func (*ContainerResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{1}
+ return fileDescriptor_1076ab1fac987148, []int{1}
}
func (m *ContainerResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_ContainerResourceMetricStatus proto.InternalMessageInfo
func (m *CrossVersionObjectReference) Reset() { *m = CrossVersionObjectReference{} }
func (*CrossVersionObjectReference) ProtoMessage() {}
func (*CrossVersionObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{2}
+ return fileDescriptor_1076ab1fac987148, []int{2}
}
func (m *CrossVersionObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_CrossVersionObjectReference proto.InternalMessageInfo
func (m *ExternalMetricSource) Reset() { *m = ExternalMetricSource{} }
func (*ExternalMetricSource) ProtoMessage() {}
func (*ExternalMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{3}
+ return fileDescriptor_1076ab1fac987148, []int{3}
}
func (m *ExternalMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_ExternalMetricSource proto.InternalMessageInfo
func (m *ExternalMetricStatus) Reset() { *m = ExternalMetricStatus{} }
func (*ExternalMetricStatus) ProtoMessage() {}
func (*ExternalMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{4}
+ return fileDescriptor_1076ab1fac987148, []int{4}
}
func (m *ExternalMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -190,7 +190,7 @@ var xxx_messageInfo_ExternalMetricStatus proto.InternalMessageInfo
func (m *HPAScalingPolicy) Reset() { *m = HPAScalingPolicy{} }
func (*HPAScalingPolicy) ProtoMessage() {}
func (*HPAScalingPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{5}
+ return fileDescriptor_1076ab1fac987148, []int{5}
}
func (m *HPAScalingPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -218,7 +218,7 @@ var xxx_messageInfo_HPAScalingPolicy proto.InternalMessageInfo
func (m *HPAScalingRules) Reset() { *m = HPAScalingRules{} }
func (*HPAScalingRules) ProtoMessage() {}
func (*HPAScalingRules) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{6}
+ return fileDescriptor_1076ab1fac987148, []int{6}
}
func (m *HPAScalingRules) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -246,7 +246,7 @@ var xxx_messageInfo_HPAScalingRules proto.InternalMessageInfo
func (m *HorizontalPodAutoscaler) Reset() { *m = HorizontalPodAutoscaler{} }
func (*HorizontalPodAutoscaler) ProtoMessage() {}
func (*HorizontalPodAutoscaler) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{7}
+ return fileDescriptor_1076ab1fac987148, []int{7}
}
func (m *HorizontalPodAutoscaler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -274,7 +274,7 @@ var xxx_messageInfo_HorizontalPodAutoscaler proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerBehavior) Reset() { *m = HorizontalPodAutoscalerBehavior{} }
func (*HorizontalPodAutoscalerBehavior) ProtoMessage() {}
func (*HorizontalPodAutoscalerBehavior) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{8}
+ return fileDescriptor_1076ab1fac987148, []int{8}
}
func (m *HorizontalPodAutoscalerBehavior) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -302,7 +302,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerBehavior proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerCondition) Reset() { *m = HorizontalPodAutoscalerCondition{} }
func (*HorizontalPodAutoscalerCondition) ProtoMessage() {}
func (*HorizontalPodAutoscalerCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{9}
+ return fileDescriptor_1076ab1fac987148, []int{9}
}
func (m *HorizontalPodAutoscalerCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -330,7 +330,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerCondition proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerList) Reset() { *m = HorizontalPodAutoscalerList{} }
func (*HorizontalPodAutoscalerList) ProtoMessage() {}
func (*HorizontalPodAutoscalerList) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{10}
+ return fileDescriptor_1076ab1fac987148, []int{10}
}
func (m *HorizontalPodAutoscalerList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -358,7 +358,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerList proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerSpec) Reset() { *m = HorizontalPodAutoscalerSpec{} }
func (*HorizontalPodAutoscalerSpec) ProtoMessage() {}
func (*HorizontalPodAutoscalerSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{11}
+ return fileDescriptor_1076ab1fac987148, []int{11}
}
func (m *HorizontalPodAutoscalerSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -386,7 +386,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerSpec proto.InternalMessageInfo
func (m *HorizontalPodAutoscalerStatus) Reset() { *m = HorizontalPodAutoscalerStatus{} }
func (*HorizontalPodAutoscalerStatus) ProtoMessage() {}
func (*HorizontalPodAutoscalerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{12}
+ return fileDescriptor_1076ab1fac987148, []int{12}
}
func (m *HorizontalPodAutoscalerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -414,7 +414,7 @@ var xxx_messageInfo_HorizontalPodAutoscalerStatus proto.InternalMessageInfo
func (m *MetricIdentifier) Reset() { *m = MetricIdentifier{} }
func (*MetricIdentifier) ProtoMessage() {}
func (*MetricIdentifier) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{13}
+ return fileDescriptor_1076ab1fac987148, []int{13}
}
func (m *MetricIdentifier) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -442,7 +442,7 @@ var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo
func (m *MetricSpec) Reset() { *m = MetricSpec{} }
func (*MetricSpec) ProtoMessage() {}
func (*MetricSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{14}
+ return fileDescriptor_1076ab1fac987148, []int{14}
}
func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -470,7 +470,7 @@ var xxx_messageInfo_MetricSpec proto.InternalMessageInfo
func (m *MetricStatus) Reset() { *m = MetricStatus{} }
func (*MetricStatus) ProtoMessage() {}
func (*MetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{15}
+ return fileDescriptor_1076ab1fac987148, []int{15}
}
func (m *MetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -498,7 +498,7 @@ var xxx_messageInfo_MetricStatus proto.InternalMessageInfo
func (m *MetricTarget) Reset() { *m = MetricTarget{} }
func (*MetricTarget) ProtoMessage() {}
func (*MetricTarget) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{16}
+ return fileDescriptor_1076ab1fac987148, []int{16}
}
func (m *MetricTarget) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -526,7 +526,7 @@ var xxx_messageInfo_MetricTarget proto.InternalMessageInfo
func (m *MetricValueStatus) Reset() { *m = MetricValueStatus{} }
func (*MetricValueStatus) ProtoMessage() {}
func (*MetricValueStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{17}
+ return fileDescriptor_1076ab1fac987148, []int{17}
}
func (m *MetricValueStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -554,7 +554,7 @@ var xxx_messageInfo_MetricValueStatus proto.InternalMessageInfo
func (m *ObjectMetricSource) Reset() { *m = ObjectMetricSource{} }
func (*ObjectMetricSource) ProtoMessage() {}
func (*ObjectMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{18}
+ return fileDescriptor_1076ab1fac987148, []int{18}
}
func (m *ObjectMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -582,7 +582,7 @@ var xxx_messageInfo_ObjectMetricSource proto.InternalMessageInfo
func (m *ObjectMetricStatus) Reset() { *m = ObjectMetricStatus{} }
func (*ObjectMetricStatus) ProtoMessage() {}
func (*ObjectMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{19}
+ return fileDescriptor_1076ab1fac987148, []int{19}
}
func (m *ObjectMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -610,7 +610,7 @@ var xxx_messageInfo_ObjectMetricStatus proto.InternalMessageInfo
func (m *PodsMetricSource) Reset() { *m = PodsMetricSource{} }
func (*PodsMetricSource) ProtoMessage() {}
func (*PodsMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{20}
+ return fileDescriptor_1076ab1fac987148, []int{20}
}
func (m *PodsMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -638,7 +638,7 @@ var xxx_messageInfo_PodsMetricSource proto.InternalMessageInfo
func (m *PodsMetricStatus) Reset() { *m = PodsMetricStatus{} }
func (*PodsMetricStatus) ProtoMessage() {}
func (*PodsMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{21}
+ return fileDescriptor_1076ab1fac987148, []int{21}
}
func (m *PodsMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -666,7 +666,7 @@ var xxx_messageInfo_PodsMetricStatus proto.InternalMessageInfo
func (m *ResourceMetricSource) Reset() { *m = ResourceMetricSource{} }
func (*ResourceMetricSource) ProtoMessage() {}
func (*ResourceMetricSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{22}
+ return fileDescriptor_1076ab1fac987148, []int{22}
}
func (m *ResourceMetricSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -694,7 +694,7 @@ var xxx_messageInfo_ResourceMetricSource proto.InternalMessageInfo
func (m *ResourceMetricStatus) Reset() { *m = ResourceMetricStatus{} }
func (*ResourceMetricStatus) ProtoMessage() {}
func (*ResourceMetricStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_592ad94d7d6be24f, []int{23}
+ return fileDescriptor_1076ab1fac987148, []int{23}
}
func (m *ResourceMetricStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -747,120 +747,119 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto", fileDescriptor_592ad94d7d6be24f)
+ proto.RegisterFile("k8s.io/api/autoscaling/v2beta2/generated.proto", fileDescriptor_1076ab1fac987148)
}
-var fileDescriptor_592ad94d7d6be24f = []byte{
- // 1743 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_1076ab1fac987148 = []byte{
+ // 1727 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0x1b, 0xc7,
0x15, 0xd7, 0x92, 0xd4, 0xd7, 0x50, 0x9f, 0xe3, 0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x9e, 0xb2, 0x7f, 0x78, 0xd4, 0xcf,
+ 0xba, 0xd7, 0x7c, 0x5a, 0xfe, 0xa7, 0xd1, 0x6f, 0x3c, 0x7b, 0x99, 0x1f, 0x7a, 0xfe, 0x32, 0x3f,
+ 0xf4, 0xe2, 0x65, 0x7e, 0xe8, 0xed, 0x4e, 0x5e, 0x79, 0xd6, 0xc9, 0x2b, 0xcf, 0x3b, 0x79, 0xe5,
+ 0x45, 0x27, 0xaf, 0xfc, 0xd0, 0xc9, 0x2b, 0xef, 0xfd, 0x98, 0x1f, 0x7a, 0x2d, 0xbf, 0xff, 0x1f,
+ 0x9f, 0xbf, 0x04, 0x00, 0x00, 0xff, 0xff, 0xa4, 0x27, 0xde, 0xc0, 0x19, 0x1d, 0x00, 0x00,
}
func (m *ContainerResourceMetricSource) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto
index 5b2fe9442a..41f7a16ea1 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/generated.proto
@@ -136,6 +136,7 @@ message HPAScalingRules {
// policies is a list of potential scaling polices which can be used during scaling.
// At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
// +optional
+ // +listType=atomic
repeated HPAScalingPolicy policies = 2;
}
@@ -238,6 +239,7 @@ message HorizontalPodAutoscalerSpec {
// more information about how each type of metric must respond.
// If not set, the default metric will be set to 80% average CPU utilization.
// +optional
+ // +listType=atomic
repeated MetricSpec metrics = 4;
// behavior configures the scaling behavior of the target
@@ -268,11 +270,13 @@ message HorizontalPodAutoscalerStatus {
// currentMetrics is the last read state of the metrics used by this autoscaler.
// +optional
+ // +listType=atomic
repeated MetricStatus currentMetrics = 5;
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
+ // +listType=atomic
repeated HorizontalPodAutoscalerCondition conditions = 6;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/types.go
index b0b7681c0e..2fee0b8a0f 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/autoscaling/v2beta2/types.go
@@ -76,6 +76,7 @@ type HorizontalPodAutoscalerSpec struct {
// more information about how each type of metric must respond.
// If not set, the default metric will be set to 80% average CPU utilization.
// +optional
+ // +listType=atomic
Metrics []MetricSpec `json:"metrics,omitempty" protobuf:"bytes,4,rep,name=metrics"`
// behavior configures the scaling behavior of the target
@@ -199,6 +200,7 @@ type HPAScalingRules struct {
// policies is a list of potential scaling polices which can be used during scaling.
// At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
// +optional
+ // +listType=atomic
Policies []HPAScalingPolicy `json:"policies,omitempty" protobuf:"bytes,2,rep,name=policies"`
}
@@ -393,11 +395,13 @@ type HorizontalPodAutoscalerStatus struct {
// currentMetrics is the last read state of the metrics used by this autoscaler.
// +optional
+ // +listType=atomic
CurrentMetrics []MetricStatus `json:"currentMetrics" protobuf:"bytes,5,rep,name=currentMetrics"`
// conditions is the set of conditions required for this autoscaler to scale its target,
// and indicates whether or not those conditions are met.
// +optional
+ // +listType=atomic
Conditions []HorizontalPodAutoscalerCondition `json:"conditions" protobuf:"bytes,6,rep,name=conditions"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.pb.go
index 59a7482a0d..6108a60839 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto
+// source: k8s.io/api/batch/v1/generated.proto
package v1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CronJob) Reset() { *m = CronJob{} }
func (*CronJob) ProtoMessage() {}
func (*CronJob) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{0}
+ return fileDescriptor_79228dc2c4001a22, []int{0}
}
func (m *CronJob) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_CronJob proto.InternalMessageInfo
func (m *CronJobList) Reset() { *m = CronJobList{} }
func (*CronJobList) ProtoMessage() {}
func (*CronJobList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{1}
+ return fileDescriptor_79228dc2c4001a22, []int{1}
}
func (m *CronJobList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_CronJobList proto.InternalMessageInfo
func (m *CronJobSpec) Reset() { *m = CronJobSpec{} }
func (*CronJobSpec) ProtoMessage() {}
func (*CronJobSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{2}
+ return fileDescriptor_79228dc2c4001a22, []int{2}
}
func (m *CronJobSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_CronJobSpec proto.InternalMessageInfo
func (m *CronJobStatus) Reset() { *m = CronJobStatus{} }
func (*CronJobStatus) ProtoMessage() {}
func (*CronJobStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{3}
+ return fileDescriptor_79228dc2c4001a22, []int{3}
}
func (m *CronJobStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo
func (m *Job) Reset() { *m = Job{} }
func (*Job) ProtoMessage() {}
func (*Job) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{4}
+ return fileDescriptor_79228dc2c4001a22, []int{4}
}
func (m *Job) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -191,7 +191,7 @@ var xxx_messageInfo_Job proto.InternalMessageInfo
func (m *JobCondition) Reset() { *m = JobCondition{} }
func (*JobCondition) ProtoMessage() {}
func (*JobCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{5}
+ return fileDescriptor_79228dc2c4001a22, []int{5}
}
func (m *JobCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -219,7 +219,7 @@ var xxx_messageInfo_JobCondition proto.InternalMessageInfo
func (m *JobList) Reset() { *m = JobList{} }
func (*JobList) ProtoMessage() {}
func (*JobList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{6}
+ return fileDescriptor_79228dc2c4001a22, []int{6}
}
func (m *JobList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -247,7 +247,7 @@ var xxx_messageInfo_JobList proto.InternalMessageInfo
func (m *JobSpec) Reset() { *m = JobSpec{} }
func (*JobSpec) ProtoMessage() {}
func (*JobSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{7}
+ return fileDescriptor_79228dc2c4001a22, []int{7}
}
func (m *JobSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -275,7 +275,7 @@ var xxx_messageInfo_JobSpec proto.InternalMessageInfo
func (m *JobStatus) Reset() { *m = JobStatus{} }
func (*JobStatus) ProtoMessage() {}
func (*JobStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{8}
+ return fileDescriptor_79228dc2c4001a22, []int{8}
}
func (m *JobStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +303,7 @@ var xxx_messageInfo_JobStatus proto.InternalMessageInfo
func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} }
func (*JobTemplateSpec) ProtoMessage() {}
func (*JobTemplateSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{9}
+ return fileDescriptor_79228dc2c4001a22, []int{9}
}
func (m *JobTemplateSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +331,7 @@ var xxx_messageInfo_JobTemplateSpec proto.InternalMessageInfo
func (m *PodFailurePolicy) Reset() { *m = PodFailurePolicy{} }
func (*PodFailurePolicy) ProtoMessage() {}
func (*PodFailurePolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{10}
+ return fileDescriptor_79228dc2c4001a22, []int{10}
}
func (m *PodFailurePolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -361,7 +361,7 @@ func (m *PodFailurePolicyOnExitCodesRequirement) Reset() {
}
func (*PodFailurePolicyOnExitCodesRequirement) ProtoMessage() {}
func (*PodFailurePolicyOnExitCodesRequirement) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{11}
+ return fileDescriptor_79228dc2c4001a22, []int{11}
}
func (m *PodFailurePolicyOnExitCodesRequirement) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -391,7 +391,7 @@ func (m *PodFailurePolicyOnPodConditionsPattern) Reset() {
}
func (*PodFailurePolicyOnPodConditionsPattern) ProtoMessage() {}
func (*PodFailurePolicyOnPodConditionsPattern) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{12}
+ return fileDescriptor_79228dc2c4001a22, []int{12}
}
func (m *PodFailurePolicyOnPodConditionsPattern) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -419,7 +419,7 @@ var xxx_messageInfo_PodFailurePolicyOnPodConditionsPattern proto.InternalMessage
func (m *PodFailurePolicyRule) Reset() { *m = PodFailurePolicyRule{} }
func (*PodFailurePolicyRule) ProtoMessage() {}
func (*PodFailurePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{13}
+ return fileDescriptor_79228dc2c4001a22, []int{13}
}
func (m *PodFailurePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -444,10 +444,66 @@ func (m *PodFailurePolicyRule) XXX_DiscardUnknown() {
var xxx_messageInfo_PodFailurePolicyRule proto.InternalMessageInfo
+func (m *SuccessPolicy) Reset() { *m = SuccessPolicy{} }
+func (*SuccessPolicy) ProtoMessage() {}
+func (*SuccessPolicy) Descriptor() ([]byte, []int) {
+ return fileDescriptor_79228dc2c4001a22, []int{14}
+}
+func (m *SuccessPolicy) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SuccessPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *SuccessPolicy) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SuccessPolicy.Merge(m, src)
+}
+func (m *SuccessPolicy) XXX_Size() int {
+ return m.Size()
+}
+func (m *SuccessPolicy) XXX_DiscardUnknown() {
+ xxx_messageInfo_SuccessPolicy.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SuccessPolicy proto.InternalMessageInfo
+
+func (m *SuccessPolicyRule) Reset() { *m = SuccessPolicyRule{} }
+func (*SuccessPolicyRule) ProtoMessage() {}
+func (*SuccessPolicyRule) Descriptor() ([]byte, []int) {
+ return fileDescriptor_79228dc2c4001a22, []int{15}
+}
+func (m *SuccessPolicyRule) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SuccessPolicyRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *SuccessPolicyRule) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SuccessPolicyRule.Merge(m, src)
+}
+func (m *SuccessPolicyRule) XXX_Size() int {
+ return m.Size()
+}
+func (m *SuccessPolicyRule) XXX_DiscardUnknown() {
+ xxx_messageInfo_SuccessPolicyRule.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SuccessPolicyRule proto.InternalMessageInfo
+
func (m *UncountedTerminatedPods) Reset() { *m = UncountedTerminatedPods{} }
func (*UncountedTerminatedPods) ProtoMessage() {}
func (*UncountedTerminatedPods) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b52da57c93de713, []int{14}
+ return fileDescriptor_79228dc2c4001a22, []int{16}
}
func (m *UncountedTerminatedPods) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -487,128 +543,135 @@ func init() {
proto.RegisterType((*PodFailurePolicyOnExitCodesRequirement)(nil), "k8s.io.api.batch.v1.PodFailurePolicyOnExitCodesRequirement")
proto.RegisterType((*PodFailurePolicyOnPodConditionsPattern)(nil), "k8s.io.api.batch.v1.PodFailurePolicyOnPodConditionsPattern")
proto.RegisterType((*PodFailurePolicyRule)(nil), "k8s.io.api.batch.v1.PodFailurePolicyRule")
+ proto.RegisterType((*SuccessPolicy)(nil), "k8s.io.api.batch.v1.SuccessPolicy")
+ proto.RegisterType((*SuccessPolicyRule)(nil), "k8s.io.api.batch.v1.SuccessPolicyRule")
proto.RegisterType((*UncountedTerminatedPods)(nil), "k8s.io.api.batch.v1.UncountedTerminatedPods")
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/batch/v1/generated.proto", fileDescriptor_3b52da57c93de713)
+ proto.RegisterFile("k8s.io/api/batch/v1/generated.proto", fileDescriptor_79228dc2c4001a22)
}
-var fileDescriptor_3b52da57c93de713 = []byte{
- // 1797 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00,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0x36, 0xe1, 0x07, 0xb1, 0x56, 0x51,
- 0x57, 0xed, 0x78, 0x3f, 0xab, 0x55, 0xd4, 0xbd, 0x0c, 0xb5, 0xdb, 0xc5, 0xb8, 0xd8, 0x83, 0x54,
- 0x1c, 0x74, 0x41, 0x8b, 0xa6, 0x37, 0xac, 0x8a, 0xf4, 0x5b, 0xd7, 0xaa, 0xa7, 0xf2, 0x02, 0x89,
- 0x95, 0x2a, 0xeb, 0xcb, 0x2e, 0x00, 0x7f, 0x09, 0xb6, 0x69, 0xfe, 0xee, 0x65, 0xe6, 0xae, 0xbf,
- 0x66, 0x59, 0xde, 0x8c, 0x3b, 0xea, 0xdc, 0xdb, 0x05, 0x3f, 0x2a, 0x2e, 0xd6, 0xfb, 0x63, 0x0d,
- 0x54, 0x29, 0x0b, 0x1c, 0x66, 0x15, 0x5d, 0xbc, 0xac, 0xa6, 0x71, 0x90, 0x53, 0xf3, 0xcb, 0x50,
- 0x7b, 0xbd, 0xea, 0x67, 0x43, 0x91, 0x76, 0xa6, 0x3f, 0x7d, 0xfc, 0x30, 0x2b, 0xf9, 0x1f, 0x26,
- 0x92, 0xbf, 0x2c, 0xe9, 0xfa, 0xa9, 0xdc, 0x5f, 0x8f, 0x4b, 0x85, 0x1b, 0xdf, 0x78, 0xfe, 0xa2,
- 0xbb, 0xf4, 0xd9, 0x8b, 0xee, 0xd2, 0xe7, 0x2f, 0xba, 0x4b, 0xbf, 0x8a, 0xba, 0xb5, 0xe7, 0x51,
- 0xb7, 0xf6, 0x59, 0xd4, 0xad, 0x7d, 0x1e, 0x75, 0x6b, 0x7f, 0x8f, 0xba, 0xb5, 0xdf, 0xfe, 0xa3,
- 0xbb, 0xf4, 0xf1, 0xcd, 0x92, 0xdf, 0x71, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x43, 0xdf, 0xa6,
- 0x7c, 0xf6, 0x15, 0x00, 0x00,
+var fileDescriptor_79228dc2c4001a22 = []byte{
+ // 1882 bytes of a gzipped File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 0x7f, 0x52, 0x40, 0x55, 0x2f, 0x85, 0xa3, 0xec, 0x0c, 0xe3, 0x17, 0xd0, 0xd0, 0x0e,
+ 0x73, 0xf3, 0xeb, 0x22, 0x50, 0x5f, 0xaf, 0xfa, 0xcb, 0x96, 0x27, 0xba, 0xd7, 0x7b, 0xfc, 0xf0,
+ 0x7e, 0x76, 0xc8, 0x7d, 0x90, 0x0c, 0xb9, 0x65, 0x41, 0xd7, 0x4f, 0x07, 0xdc, 0xd5, 0xb8, 0xa4,
+ 0xb9, 0xf6, 0xed, 0xe7, 0x2f, 0x3a, 0x4b, 0x9f, 0xbd, 0xe8, 0x2c, 0x7d, 0xfe, 0xa2, 0xb3, 0xf4,
+ 0xab, 0xb0, 0xa3, 0x3c, 0x0f, 0x3b, 0xca, 0x67, 0x61, 0x47, 0xf9, 0x3c, 0xec, 0x28, 0xff, 0x08,
+ 0x3b, 0xca, 0x6f, 0xfe, 0xd9, 0x59, 0xfa, 0xf8, 0x5a, 0xc9, 0x7f, 0xe8, 0xff, 0x0d, 0x00, 0x00,
+ 0xff, 0xff, 0x1e, 0x70, 0x68, 0xe1, 0x59, 0x17, 0x00, 0x00,
}
func (m *CronJob) Marshal() (dAtA []byte, err error) {
@@ -1030,6 +1093,27 @@ func (m *JobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.SuccessPolicy != nil {
+ {
+ size, err := m.SuccessPolicy.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0x82
+ }
+ if m.ManagedBy != nil {
+ i -= len(*m.ManagedBy)
+ copy(dAtA[i:], *m.ManagedBy)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.ManagedBy)))
+ i--
+ dAtA[i] = 0x7a
+ }
if m.PodReplacementPolicy != nil {
i -= len(*m.PodReplacementPolicy)
copy(dAtA[i:], *m.PodReplacementPolicy)
@@ -1449,6 +1533,78 @@ func (m *PodFailurePolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *SuccessPolicy) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SuccessPolicy) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SuccessPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Rules) > 0 {
+ for iNdEx := len(m.Rules) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Rules[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SuccessPolicyRule) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SuccessPolicyRule) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SuccessPolicyRule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.SucceededCount != nil {
+ i = encodeVarintGenerated(dAtA, i, uint64(*m.SucceededCount))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.SucceededIndexes != nil {
+ i -= len(*m.SucceededIndexes)
+ copy(dAtA[i:], *m.SucceededIndexes)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.SucceededIndexes)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
func (m *UncountedTerminatedPods) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1691,6 +1847,14 @@ func (m *JobSpec) Size() (n int) {
l = len(*m.PodReplacementPolicy)
n += 1 + l + sovGenerated(uint64(l))
}
+ if m.ManagedBy != nil {
+ l = len(*m.ManagedBy)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.SuccessPolicy != nil {
+ l = m.SuccessPolicy.Size()
+ n += 2 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -1818,6 +1982,37 @@ func (m *PodFailurePolicyRule) Size() (n int) {
return n
}
+func (m *SuccessPolicy) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Rules) > 0 {
+ for _, e := range m.Rules {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *SuccessPolicyRule) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.SucceededIndexes != nil {
+ l = len(*m.SucceededIndexes)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.SucceededCount != nil {
+ n += 1 + sovGenerated(uint64(*m.SucceededCount))
+ }
+ return n
+}
+
func (m *UncountedTerminatedPods) Size() (n int) {
if m == nil {
return 0
@@ -1969,6 +2164,8 @@ func (this *JobSpec) String() string {
`BackoffLimitPerIndex:` + valueToStringGenerated(this.BackoffLimitPerIndex) + `,`,
`MaxFailedIndexes:` + valueToStringGenerated(this.MaxFailedIndexes) + `,`,
`PodReplacementPolicy:` + valueToStringGenerated(this.PodReplacementPolicy) + `,`,
+ `ManagedBy:` + valueToStringGenerated(this.ManagedBy) + `,`,
+ `SuccessPolicy:` + strings.Replace(this.SuccessPolicy.String(), "SuccessPolicy", "SuccessPolicy", 1) + `,`,
`}`,
}, "")
return s
@@ -2064,6 +2261,32 @@ func (this *PodFailurePolicyRule) String() string {
}, "")
return s
}
+func (this *SuccessPolicy) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForRules := "[]SuccessPolicyRule{"
+ for _, f := range this.Rules {
+ repeatedStringForRules += strings.Replace(strings.Replace(f.String(), "SuccessPolicyRule", "SuccessPolicyRule", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForRules += "}"
+ s := strings.Join([]string{`&SuccessPolicy{`,
+ `Rules:` + repeatedStringForRules + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *SuccessPolicyRule) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&SuccessPolicyRule{`,
+ `SucceededIndexes:` + valueToStringGenerated(this.SucceededIndexes) + `,`,
+ `SucceededCount:` + valueToStringGenerated(this.SucceededCount) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *UncountedTerminatedPods) String() string {
if this == nil {
return "nil"
@@ -3658,6 +3881,75 @@ func (m *JobSpec) Unmarshal(dAtA []byte) error {
s := PodReplacementPolicy(dAtA[iNdEx:postIndex])
m.PodReplacementPolicy = &s
iNdEx = postIndex
+ case 15:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ManagedBy", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := string(dAtA[iNdEx:postIndex])
+ m.ManagedBy = &s
+ iNdEx = postIndex
+ case 16:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SuccessPolicy", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SuccessPolicy == nil {
+ m.SuccessPolicy = &SuccessPolicy{}
+ }
+ if err := m.SuccessPolicy.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -4690,6 +4982,193 @@ func (m *PodFailurePolicyRule) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *SuccessPolicy) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SuccessPolicy: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SuccessPolicy: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Rules", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Rules = append(m.Rules, SuccessPolicyRule{})
+ if err := m.Rules[len(m.Rules)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SuccessPolicyRule) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SuccessPolicyRule: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SuccessPolicyRule: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SucceededIndexes", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := string(dAtA[iNdEx:postIndex])
+ m.SucceededIndexes = &s
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SucceededCount", wireType)
+ }
+ var v int32
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.SucceededCount = &v
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *UncountedTerminatedPods) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.proto
index f899779889..833b118d00 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/generated.proto
@@ -218,6 +218,17 @@ message JobSpec {
// +optional
optional PodFailurePolicy podFailurePolicy = 11;
+ // successPolicy specifies the policy when the Job can be declared as succeeded.
+ // If empty, the default behavior applies - the Job is declared as succeeded
+ // only when the number of succeeded pods equals to the completions.
+ // When the field is specified, it must be immutable and works only for the Indexed Jobs.
+ // Once the Job meets the SuccessPolicy, the lingering pods are terminated.
+ //
+ // This field is alpha-level. To use this field, you must enable the
+ // `JobSuccessPolicy` feature gate (disabled by default).
+ // +optional
+ optional SuccessPolicy successPolicy = 16;
+
// Specifies the number of retries before marking this job failed.
// Defaults to 6
// +optional
@@ -330,6 +341,20 @@ message JobSpec {
// This is on by default.
// +optional
optional string podReplacementPolicy = 14;
+
+ // ManagedBy field indicates the controller that manages a Job. The k8s Job
+ // controller reconciles jobs which don't have this field at all or the field
+ // value is the reserved string `kubernetes.io/job-controller`, but skips
+ // reconciling Jobs with a custom value for this field.
+ // The value must be a valid domain-prefixed path (e.g. acme.io/foo) -
+ // all characters before the first "/" must be a valid subdomain as defined
+ // by RFC 1123. All characters trailing the first "/" must be valid HTTP Path
+ // characters as defined by RFC 3986. The value cannot exceed 64 characters.
+ //
+ // This field is alpha-level. The job controller accepts setting the field
+ // when the feature gate JobManagedBy is enabled (disabled by default).
+ // +optional
+ optional string managedBy = 15;
}
// JobStatus represents the current state of a Job.
@@ -340,6 +365,12 @@ message JobStatus {
// status true; when the Job is resumed, the status of this condition will
// become false. When a Job is completed, one of the conditions will have
// type "Complete" and status true.
+ //
+ // A job is considered finished when it is in a terminal condition, either
+ // "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions.
+ // Additionally, it cannot be in the "Complete" and "FailureTarget" conditions.
+ // The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
+ //
// More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
// +optional
// +patchMergeKey=type
@@ -351,25 +382,36 @@ message JobStatus {
// Job is created in the suspended state, this field is not set until the
// first time it is resumed. This field is reset every time a Job is resumed
// from suspension. It is represented in RFC3339 form and is in UTC.
+ //
+ // Once set, the field can only be removed when the job is suspended.
+ // The field cannot be modified while the job is unsuspended or finished.
+ //
// +optional
optional k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;
// Represents time when the job was completed. It is not guaranteed to
// be set in happens-before order across separate operations.
// It is represented in RFC3339 form and is in UTC.
- // The completion time is only set when the job finishes successfully.
+ // The completion time is set when the job finishes successfully, and only then.
+ // The value cannot be updated or removed. The value indicates the same or
+ // later point in time as the startTime field.
// +optional
optional k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;
- // The number of pending and running pods.
+ // The number of pending and running pods which are not terminating (without
+ // a deletionTimestamp).
+ // The value is zero for finished jobs.
// +optional
optional int32 active = 4;
// The number of pods which reached phase Succeeded.
+ // The value increases monotonically for a given spec. However, it may
+ // decrease in reaction to scale down of elastic indexed jobs.
// +optional
optional int32 succeeded = 5;
// The number of pods which reached phase Failed.
+ // The value increases monotonically.
// +optional
optional int32 failed = 6;
@@ -391,7 +433,7 @@ message JobStatus {
// +optional
optional string completedIndexes = 7;
- // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true.
+ // FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set.
// The indexes are represented in the text format analogous as for the
// `completedIndexes` field, ie. they are kept as decimal integers
// separated by commas. The numbers are listed in increasing order. Three or
@@ -399,6 +441,8 @@ message JobStatus {
// last element of the series, separated by a hyphen.
// For example, if the failed indexes are 1, 3, 4, 5 and 7, they are
// represented as "1,3-5,7".
+ // The set of failed indexes cannot overlap with the set of completed indexes.
+ //
// This field is beta-level. It can be used when the `JobBackoffLimitPerIndex`
// feature gate is enabled (enabled by default).
// +optional
@@ -418,6 +462,7 @@ message JobStatus {
//
// Old jobs might not be tracked using this field, in which case the field
// remains null.
+ // The structure is empty for finished jobs.
// +optional
optional UncountedTerminatedPods uncountedTerminatedPods = 8;
@@ -532,6 +577,51 @@ message PodFailurePolicyRule {
repeated PodFailurePolicyOnPodConditionsPattern onPodConditions = 3;
}
+// SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
+message SuccessPolicy {
+ // rules represents the list of alternative rules for the declaring the Jobs
+ // as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met,
+ // the "SucceededCriteriaMet" condition is added, and the lingering pods are removed.
+ // The terminal state for such a Job has the "Complete" condition.
+ // Additionally, these rules are evaluated in order; Once the Job meets one of the rules,
+ // other rules are ignored. At most 20 elements are allowed.
+ // +listType=atomic
+ repeated SuccessPolicyRule rules = 1;
+}
+
+// SuccessPolicyRule describes rule for declaring a Job as succeeded.
+// Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
+message SuccessPolicyRule {
+ // succeededIndexes specifies the set of indexes
+ // which need to be contained in the actual set of the succeeded indexes for the Job.
+ // The list of indexes must be within 0 to ".spec.completions-1" and
+ // must not contain duplicates. At least one element is required.
+ // The indexes are represented as intervals separated by commas.
+ // The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen.
+ // The number are listed in represented by the first and last element of the series,
+ // separated by a hyphen.
+ // For example, if the completed indexes are 1, 3, 4, 5 and 7, they are
+ // represented as "1,3-5,7".
+ // When this field is null, this field doesn't default to any value
+ // and is never evaluated at any time.
+ //
+ // +optional
+ optional string succeededIndexes = 1;
+
+ // succeededCount specifies the minimal required size of the actual set of the succeeded indexes
+ // for the Job. When succeededCount is used along with succeededIndexes, the check is
+ // constrained only to the set of indexes specified by succeededIndexes.
+ // For example, given that succeededIndexes is "1-4", succeededCount is "3",
+ // and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded
+ // because only "1" and "3" indexes are considered in that rules.
+ // When this field is null, this doesn't default to any value and
+ // is never evaluated at any time.
+ // When specified it needs to be a positive integer.
+ //
+ // +optional
+ optional int32 succeededCount = 2;
+}
+
// UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't
// been accounted in Job status counters.
message UncountedTerminatedPods {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types.go
index 53fdf3c8d0..49b0ec6441 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types.go
@@ -57,6 +57,9 @@ const (
// to the pod, which don't count towards the backoff limit, according to the
// pod failure policy. When the annotation is absent zero is implied.
JobIndexIgnoredFailureCountAnnotation = labelPrefix + "job-index-ignored-failure-count"
+ // JobControllerName reserved value for the managedBy field for the built-in
+ // Job controller.
+ JobControllerName = "kubernetes.io/job-controller"
)
// +genclient
@@ -252,6 +255,51 @@ type PodFailurePolicy struct {
Rules []PodFailurePolicyRule `json:"rules" protobuf:"bytes,1,opt,name=rules"`
}
+// SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
+type SuccessPolicy struct {
+ // rules represents the list of alternative rules for the declaring the Jobs
+ // as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met,
+ // the "SucceededCriteriaMet" condition is added, and the lingering pods are removed.
+ // The terminal state for such a Job has the "Complete" condition.
+ // Additionally, these rules are evaluated in order; Once the Job meets one of the rules,
+ // other rules are ignored. At most 20 elements are allowed.
+ // +listType=atomic
+ Rules []SuccessPolicyRule `json:"rules" protobuf:"bytes,1,opt,name=rules"`
+}
+
+// SuccessPolicyRule describes rule for declaring a Job as succeeded.
+// Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
+type SuccessPolicyRule struct {
+ // succeededIndexes specifies the set of indexes
+ // which need to be contained in the actual set of the succeeded indexes for the Job.
+ // The list of indexes must be within 0 to ".spec.completions-1" and
+ // must not contain duplicates. At least one element is required.
+ // The indexes are represented as intervals separated by commas.
+ // The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen.
+ // The number are listed in represented by the first and last element of the series,
+ // separated by a hyphen.
+ // For example, if the completed indexes are 1, 3, 4, 5 and 7, they are
+ // represented as "1,3-5,7".
+ // When this field is null, this field doesn't default to any value
+ // and is never evaluated at any time.
+ //
+ // +optional
+ SucceededIndexes *string `json:"succeededIndexes,omitempty" protobuf:"bytes,1,opt,name=succeededIndexes"`
+
+ // succeededCount specifies the minimal required size of the actual set of the succeeded indexes
+ // for the Job. When succeededCount is used along with succeededIndexes, the check is
+ // constrained only to the set of indexes specified by succeededIndexes.
+ // For example, given that succeededIndexes is "1-4", succeededCount is "3",
+ // and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded
+ // because only "1" and "3" indexes are considered in that rules.
+ // When this field is null, this doesn't default to any value and
+ // is never evaluated at any time.
+ // When specified it needs to be a positive integer.
+ //
+ // +optional
+ SucceededCount *int32 `json:"succeededCount,omitempty" protobuf:"varint,2,opt,name=succeededCount"`
+}
+
// JobSpec describes how the job execution will look like.
type JobSpec struct {
@@ -293,6 +341,17 @@ type JobSpec struct {
// +optional
PodFailurePolicy *PodFailurePolicy `json:"podFailurePolicy,omitempty" protobuf:"bytes,11,opt,name=podFailurePolicy"`
+ // successPolicy specifies the policy when the Job can be declared as succeeded.
+ // If empty, the default behavior applies - the Job is declared as succeeded
+ // only when the number of succeeded pods equals to the completions.
+ // When the field is specified, it must be immutable and works only for the Indexed Jobs.
+ // Once the Job meets the SuccessPolicy, the lingering pods are terminated.
+ //
+ // This field is alpha-level. To use this field, you must enable the
+ // `JobSuccessPolicy` feature gate (disabled by default).
+ // +optional
+ SuccessPolicy *SuccessPolicy `json:"successPolicy,omitempty" protobuf:"bytes,16,opt,name=successPolicy"`
+
// Specifies the number of retries before marking this job failed.
// Defaults to 6
// +optional
@@ -410,6 +469,20 @@ type JobSpec struct {
// This is on by default.
// +optional
PodReplacementPolicy *PodReplacementPolicy `json:"podReplacementPolicy,omitempty" protobuf:"bytes,14,opt,name=podReplacementPolicy,casttype=podReplacementPolicy"`
+
+ // ManagedBy field indicates the controller that manages a Job. The k8s Job
+ // controller reconciles jobs which don't have this field at all or the field
+ // value is the reserved string `kubernetes.io/job-controller`, but skips
+ // reconciling Jobs with a custom value for this field.
+ // The value must be a valid domain-prefixed path (e.g. acme.io/foo) -
+ // all characters before the first "/" must be a valid subdomain as defined
+ // by RFC 1123. All characters trailing the first "/" must be valid HTTP Path
+ // characters as defined by RFC 3986. The value cannot exceed 64 characters.
+ //
+ // This field is alpha-level. The job controller accepts setting the field
+ // when the feature gate JobManagedBy is enabled (disabled by default).
+ // +optional
+ ManagedBy *string `json:"managedBy,omitempty" protobuf:"bytes,15,opt,name=managedBy"`
}
// JobStatus represents the current state of a Job.
@@ -420,6 +493,12 @@ type JobStatus struct {
// status true; when the Job is resumed, the status of this condition will
// become false. When a Job is completed, one of the conditions will have
// type "Complete" and status true.
+ //
+ // A job is considered finished when it is in a terminal condition, either
+ // "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions.
+ // Additionally, it cannot be in the "Complete" and "FailureTarget" conditions.
+ // The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
+ //
// More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
// +optional
// +patchMergeKey=type
@@ -431,25 +510,36 @@ type JobStatus struct {
// Job is created in the suspended state, this field is not set until the
// first time it is resumed. This field is reset every time a Job is resumed
// from suspension. It is represented in RFC3339 form and is in UTC.
+ //
+ // Once set, the field can only be removed when the job is suspended.
+ // The field cannot be modified while the job is unsuspended or finished.
+ //
// +optional
StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`
// Represents time when the job was completed. It is not guaranteed to
// be set in happens-before order across separate operations.
// It is represented in RFC3339 form and is in UTC.
- // The completion time is only set when the job finishes successfully.
+ // The completion time is set when the job finishes successfully, and only then.
+ // The value cannot be updated or removed. The value indicates the same or
+ // later point in time as the startTime field.
// +optional
CompletionTime *metav1.Time `json:"completionTime,omitempty" protobuf:"bytes,3,opt,name=completionTime"`
- // The number of pending and running pods.
+ // The number of pending and running pods which are not terminating (without
+ // a deletionTimestamp).
+ // The value is zero for finished jobs.
// +optional
Active int32 `json:"active,omitempty" protobuf:"varint,4,opt,name=active"`
// The number of pods which reached phase Succeeded.
+ // The value increases monotonically for a given spec. However, it may
+ // decrease in reaction to scale down of elastic indexed jobs.
// +optional
Succeeded int32 `json:"succeeded,omitempty" protobuf:"varint,5,opt,name=succeeded"`
// The number of pods which reached phase Failed.
+ // The value increases monotonically.
// +optional
Failed int32 `json:"failed,omitempty" protobuf:"varint,6,opt,name=failed"`
@@ -471,7 +561,7 @@ type JobStatus struct {
// +optional
CompletedIndexes string `json:"completedIndexes,omitempty" protobuf:"bytes,7,opt,name=completedIndexes"`
- // FailedIndexes holds the failed indexes when backoffLimitPerIndex=true.
+ // FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set.
// The indexes are represented in the text format analogous as for the
// `completedIndexes` field, ie. they are kept as decimal integers
// separated by commas. The numbers are listed in increasing order. Three or
@@ -479,6 +569,8 @@ type JobStatus struct {
// last element of the series, separated by a hyphen.
// For example, if the failed indexes are 1, 3, 4, 5 and 7, they are
// represented as "1,3-5,7".
+ // The set of failed indexes cannot overlap with the set of completed indexes.
+ //
// This field is beta-level. It can be used when the `JobBackoffLimitPerIndex`
// feature gate is enabled (enabled by default).
// +optional
@@ -498,6 +590,7 @@ type JobStatus struct {
//
// Old jobs might not be tracked using this field, in which case the field
// remains null.
+ // The structure is empty for finished jobs.
// +optional
UncountedTerminatedPods *UncountedTerminatedPods `json:"uncountedTerminatedPods,omitempty" protobuf:"bytes,8,opt,name=uncountedTerminatedPods"`
@@ -532,6 +625,8 @@ const (
JobFailed JobConditionType = "Failed"
// FailureTarget means the job is about to fail its execution.
JobFailureTarget JobConditionType = "FailureTarget"
+ // JobSuccessCriteriaMet means the Job has been succeeded.
+ JobSuccessCriteriaMet JobConditionType = "SuccessCriteriaMet"
)
const (
@@ -551,6 +646,11 @@ const (
// JobReasonFailedIndexes means Job has failed indexes.
// This const is used in beta-level feature: https://kep.k8s.io/3850.
JobReasonFailedIndexes string = "FailedIndexes"
+ // JobReasonSuccessPolicy reason indicates a SuccessCriteriaMet condition is added due to
+ // a Job met successPolicy.
+ // https://kep.k8s.io/3998
+ // This is currently an alpha field.
+ JobReasonSuccessPolicy string = "SuccessPolicy"
)
// JobCondition describes current state of a job.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go
index 980f1e4750..84073b8d86 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/types_swagger_doc_generated.go
@@ -116,6 +116,7 @@ var map_JobSpec = map[string]string{
"completions": "Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/",
"activeDeadlineSeconds": "Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.",
"podFailurePolicy": "Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.\n\nThis field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).",
+ "successPolicy": "successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.\n\nThis field is alpha-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (disabled by default).",
"backoffLimit": "Specifies the number of retries before marking this job failed. Defaults to 6",
"backoffLimitPerIndex": "Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
"maxFailedIndexes": "Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
@@ -126,6 +127,7 @@ var map_JobSpec = map[string]string{
"completionMode": "completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.\n\n`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.\n\n`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.\n\nMore completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.",
"suspend": "suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.",
"podReplacementPolicy": "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n Failed or Succeeded) before creating a replacement Pod.\n\nWhen using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.",
+ "managedBy": "ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first \"/\" must be a valid subdomain as defined by RFC 1123. All characters trailing the first \"/\" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 64 characters.\n\nThis field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).",
}
func (JobSpec) SwaggerDoc() map[string]string {
@@ -134,16 +136,16 @@ func (JobSpec) SwaggerDoc() map[string]string {
var map_JobStatus = map[string]string{
"": "JobStatus represents the current state of a Job.",
- "conditions": "The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/",
- "startTime": "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.",
- "completionTime": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is only set when the job finishes successfully.",
- "active": "The number of pending and running pods.",
- "succeeded": "The number of pods which reached phase Succeeded.",
- "failed": "The number of pods which reached phase Failed.",
+ "conditions": "The latest available observations of an object's current state. When a Job fails, one of the conditions will have type \"Failed\" and status true. When a Job is suspended, one of the conditions will have type \"Suspended\" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type \"Complete\" and status true.\n\nA job is considered finished when it is in a terminal condition, either \"Complete\" or \"Failed\". A Job cannot have both the \"Complete\" and \"Failed\" conditions. Additionally, it cannot be in the \"Complete\" and \"FailureTarget\" conditions. The \"Complete\", \"Failed\" and \"FailureTarget\" conditions cannot be disabled.\n\nMore info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/",
+ "startTime": "Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.\n\nOnce set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.",
+ "completionTime": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.",
+ "active": "The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.",
+ "succeeded": "The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.",
+ "failed": "The number of pods which reached phase Failed. The value increases monotonically.",
"terminating": "The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).\n\nThis field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).",
"completedIndexes": "completedIndexes holds the completed indexes when .spec.completionMode = \"Indexed\" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\".",
- "failedIndexes": "FailedIndexes holds the failed indexes when backoffLimitPerIndex=true. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
- "uncountedTerminatedPods": "uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.\n\nThe job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:\n\n1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding\n counter.\n\nOld jobs might not be tracked using this field, in which case the field remains null.",
+ "failedIndexes": "FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". The set of failed indexes cannot overlap with the set of completed indexes.\n\nThis field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).",
+ "uncountedTerminatedPods": "uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.\n\nThe job controller creates pods with a finalizer. When a pod terminates (succeeded or failed), the controller does three steps to account for it in the job status:\n\n1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding\n counter.\n\nOld jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.",
"ready": "The number of pods which have a Ready condition.",
}
@@ -202,6 +204,25 @@ func (PodFailurePolicyRule) SwaggerDoc() map[string]string {
return map_PodFailurePolicyRule
}
+var map_SuccessPolicy = map[string]string{
+ "": "SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.",
+ "rules": "rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the \"SucceededCriteriaMet\" condition is added, and the lingering pods are removed. The terminal state for such a Job has the \"Complete\" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.",
+}
+
+func (SuccessPolicy) SwaggerDoc() map[string]string {
+ return map_SuccessPolicy
+}
+
+var map_SuccessPolicyRule = map[string]string{
+ "": "SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the \"succeededIndexes\" or \"succeededCount\" specified.",
+ "succeededIndexes": "succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to \".spec.completions-1\" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as \"1,3-5,7\". When this field is null, this field doesn't default to any value and is never evaluated at any time.",
+ "succeededCount": "succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is \"1-4\", succeededCount is \"3\", and completed indexes are \"1\", \"3\", and \"5\", the Job isn't declared as succeeded because only \"1\" and \"3\" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.",
+}
+
+func (SuccessPolicyRule) SwaggerDoc() map[string]string {
+ return map_SuccessPolicyRule
+}
+
var map_UncountedTerminatedPods = map[string]string{
"": "UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.",
"succeeded": "succeeded holds UIDs of succeeded Pods.",
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go
index 43fc41515b..88c58b3d11 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1/zz_generated.deepcopy.go
@@ -262,6 +262,11 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
*out = new(PodFailurePolicy)
(*in).DeepCopyInto(*out)
}
+ if in.SuccessPolicy != nil {
+ in, out := &in.SuccessPolicy, &out.SuccessPolicy
+ *out = new(SuccessPolicy)
+ (*in).DeepCopyInto(*out)
+ }
if in.BackoffLimit != nil {
in, out := &in.BackoffLimit, &out.BackoffLimit
*out = new(int32)
@@ -308,6 +313,11 @@ func (in *JobSpec) DeepCopyInto(out *JobSpec) {
*out = new(PodReplacementPolicy)
**out = **in
}
+ if in.ManagedBy != nil {
+ in, out := &in.ManagedBy, &out.ManagedBy
+ *out = new(string)
+ **out = **in
+ }
return
}
@@ -481,6 +491,55 @@ func (in *PodFailurePolicyRule) DeepCopy() *PodFailurePolicyRule {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SuccessPolicy) DeepCopyInto(out *SuccessPolicy) {
+ *out = *in
+ if in.Rules != nil {
+ in, out := &in.Rules, &out.Rules
+ *out = make([]SuccessPolicyRule, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessPolicy.
+func (in *SuccessPolicy) DeepCopy() *SuccessPolicy {
+ if in == nil {
+ return nil
+ }
+ out := new(SuccessPolicy)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SuccessPolicyRule) DeepCopyInto(out *SuccessPolicyRule) {
+ *out = *in
+ if in.SucceededIndexes != nil {
+ in, out := &in.SucceededIndexes, &out.SucceededIndexes
+ *out = new(string)
+ **out = **in
+ }
+ if in.SucceededCount != nil {
+ in, out := &in.SucceededCount, &out.SucceededCount
+ *out = new(int32)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SuccessPolicyRule.
+func (in *SuccessPolicyRule) DeepCopy() *SuccessPolicyRule {
+ if in == nil {
+ return nil
+ }
+ out := new(SuccessPolicyRule)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *UncountedTerminatedPods) DeepCopyInto(out *UncountedTerminatedPods) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1beta1/generated.pb.go
index 03feb2ceaf..895d9c9196 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/batch/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/batch/v1beta1/generated.proto
+// source: k8s.io/api/batch/v1beta1/generated.proto
package v1beta1
@@ -48,7 +48,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CronJob) Reset() { *m = CronJob{} }
func (*CronJob) ProtoMessage() {}
func (*CronJob) Descriptor() ([]byte, []int) {
- return fileDescriptor_e57b277b05179ae7, []int{0}
+ return fileDescriptor_ed95843ae7b4086b, []int{0}
}
func (m *CronJob) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -76,7 +76,7 @@ var xxx_messageInfo_CronJob proto.InternalMessageInfo
func (m *CronJobList) Reset() { *m = CronJobList{} }
func (*CronJobList) ProtoMessage() {}
func (*CronJobList) Descriptor() ([]byte, []int) {
- return fileDescriptor_e57b277b05179ae7, []int{1}
+ return fileDescriptor_ed95843ae7b4086b, []int{1}
}
func (m *CronJobList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -104,7 +104,7 @@ var xxx_messageInfo_CronJobList proto.InternalMessageInfo
func (m *CronJobSpec) Reset() { *m = CronJobSpec{} }
func (*CronJobSpec) ProtoMessage() {}
func (*CronJobSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e57b277b05179ae7, []int{2}
+ return fileDescriptor_ed95843ae7b4086b, []int{2}
}
func (m *CronJobSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -132,7 +132,7 @@ var xxx_messageInfo_CronJobSpec proto.InternalMessageInfo
func (m *CronJobStatus) Reset() { *m = CronJobStatus{} }
func (*CronJobStatus) ProtoMessage() {}
func (*CronJobStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_e57b277b05179ae7, []int{3}
+ return fileDescriptor_ed95843ae7b4086b, []int{3}
}
func (m *CronJobStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -160,7 +160,7 @@ var xxx_messageInfo_CronJobStatus proto.InternalMessageInfo
func (m *JobTemplateSpec) Reset() { *m = JobTemplateSpec{} }
func (*JobTemplateSpec) ProtoMessage() {}
func (*JobTemplateSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_e57b277b05179ae7, []int{4}
+ return fileDescriptor_ed95843ae7b4086b, []int{4}
}
func (m *JobTemplateSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -194,60 +194,59 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/batch/v1beta1/generated.proto", fileDescriptor_e57b277b05179ae7)
+ proto.RegisterFile("k8s.io/api/batch/v1beta1/generated.proto", fileDescriptor_ed95843ae7b4086b)
}
-var fileDescriptor_e57b277b05179ae7 = []byte{
- // 787 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x95, 0x41, 0x6f, 0x1b, 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- 0xf9, 0x85, 0xd7, 0x7a, 0x79, 0xe1, 0xb5, 0x5e, 0x5d, 0x78, 0xad, 0x5f, 0x2b, 0xcf, 0x39, 0xaf,
- 0x3c, 0xe7, 0x65, 0xe5, 0x39, 0xaf, 0x2a, 0xcf, 0xf9, 0xbb, 0xf2, 0x9c, 0xdf, 0xff, 0xf1, 0x5a,
- 0x4f, 0xdd, 0x55, 0xff, 0xc7, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x61, 0x72, 0xc3, 0xe0, 0xc3,
+var fileDescriptor_ed95843ae7b4086b = []byte{
+ // 771 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x95, 0xcf, 0x8f, 0xdb, 0x44,
+ 0x14, 0xc7, 0xe3, 0x6c, 0x7e, 0x75, 0xd2, 0xc2, 0x76, 0x40, 0x5b, 0x2b, 0x20, 0x3b, 0xa4, 0xaa,
+ 0x08, 0x08, 0xc6, 0xec, 0x0a, 0x21, 0x4e, 0x95, 0x70, 0x51, 0x81, 0x25, 0xa8, 0x68, 0x52, 0x2e,
+ 0x55, 0x85, 0x3a, 0x9e, 0x4c, 0x92, 0xe9, 0xda, 0x1e, 0xcb, 0x33, 0x5e, 0x29, 0x37, 0x2e, 0xdc,
+ 0xf9, 0x5f, 0xb8, 0x73, 0xde, 0x63, 0x6f, 0xf4, 0x64, 0xb1, 0xe6, 0xbf, 0xe0, 0x84, 0x66, 0xe2,
+ 0x4d, 0xd2, 0xc4, 0xe9, 0x96, 0x0b, 0xb7, 0xcc, 0xf3, 0xf7, 0xfb, 0x99, 0xa7, 0xf7, 0xde, 0xbc,
+ 0x80, 0xe1, 0xd9, 0x97, 0x12, 0x71, 0xe1, 0x91, 0x84, 0x7b, 0x01, 0x51, 0x74, 0xee, 0x9d, 0x1f,
+ 0x07, 0x4c, 0x91, 0x63, 0x6f, 0xc6, 0x62, 0x96, 0x12, 0xc5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
+ 0x26, 0x75, 0x4f, 0x3e, 0x7e, 0xb3, 0x67, 0xa6, 0x1d, 0xfe, 0xbb, 0x45, 0xee, 0x1e, 0x8e, 0xb6,
+ 0x38, 0x78, 0x87, 0x0c, 0x53, 0x00, 0x4d, 0x6c, 0x55, 0x42, 0x73, 0x5f, 0xf3, 0x3f, 0xdf, 0x77,
+ 0x54, 0xe4, 0x2e, 0x1c, 0xed, 0x90, 0x70, 0x05, 0x5d, 0x2f, 0x94, 0xb7, 0xb7, 0x46, 0xe5, 0x7f,
+ 0x58, 0xb0, 0xf7, 0x5f, 0x59, 0xb0, 0xef, 0x57, 0x4d, 0x31, 0x7a, 0xcd, 0x5e, 0xf5, 0xef, 0x5f,
+ 0x5c, 0x3a, 0xb5, 0x17, 0x97, 0x4e, 0xed, 0xe5, 0xa5, 0x53, 0xfb, 0xa5, 0x70, 0xac, 0x8b, 0xc2,
+ 0xb1, 0x5e, 0x14, 0x8e, 0xf5, 0xb2, 0x70, 0xac, 0xbf, 0x0a, 0xc7, 0xfa, 0xed, 0x6f, 0xa7, 0xf6,
+ 0xc4, 0xde, 0xf7, 0x7f, 0xfc, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9e, 0xaa, 0x2c, 0x86, 0xaa,
0x07, 0x00, 0x00,
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1/generated.pb.go
index 37859babcd..cba4a8ea49 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1/generated.proto
+// source: k8s.io/api/certificates/v1/generated.proto
package v1
@@ -49,7 +49,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CertificateSigningRequest) Reset() { *m = CertificateSigningRequest{} }
func (*CertificateSigningRequest) ProtoMessage() {}
func (*CertificateSigningRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_17e045d0de66f3c7, []int{0}
+ return fileDescriptor_5f7d41da689f96f7, []int{0}
}
func (m *CertificateSigningRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,7 +77,7 @@ var xxx_messageInfo_CertificateSigningRequest proto.InternalMessageInfo
func (m *CertificateSigningRequestCondition) Reset() { *m = CertificateSigningRequestCondition{} }
func (*CertificateSigningRequestCondition) ProtoMessage() {}
func (*CertificateSigningRequestCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_17e045d0de66f3c7, []int{1}
+ return fileDescriptor_5f7d41da689f96f7, []int{1}
}
func (m *CertificateSigningRequestCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +105,7 @@ var xxx_messageInfo_CertificateSigningRequestCondition proto.InternalMessageInfo
func (m *CertificateSigningRequestList) Reset() { *m = CertificateSigningRequestList{} }
func (*CertificateSigningRequestList) ProtoMessage() {}
func (*CertificateSigningRequestList) Descriptor() ([]byte, []int) {
- return fileDescriptor_17e045d0de66f3c7, []int{2}
+ return fileDescriptor_5f7d41da689f96f7, []int{2}
}
func (m *CertificateSigningRequestList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +133,7 @@ var xxx_messageInfo_CertificateSigningRequestList proto.InternalMessageInfo
func (m *CertificateSigningRequestSpec) Reset() { *m = CertificateSigningRequestSpec{} }
func (*CertificateSigningRequestSpec) ProtoMessage() {}
func (*CertificateSigningRequestSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_17e045d0de66f3c7, []int{3}
+ return fileDescriptor_5f7d41da689f96f7, []int{3}
}
func (m *CertificateSigningRequestSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +161,7 @@ var xxx_messageInfo_CertificateSigningRequestSpec proto.InternalMessageInfo
func (m *CertificateSigningRequestStatus) Reset() { *m = CertificateSigningRequestStatus{} }
func (*CertificateSigningRequestStatus) ProtoMessage() {}
func (*CertificateSigningRequestStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_17e045d0de66f3c7, []int{4}
+ return fileDescriptor_5f7d41da689f96f7, []int{4}
}
func (m *CertificateSigningRequestStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +189,7 @@ var xxx_messageInfo_CertificateSigningRequestStatus proto.InternalMessageInfo
func (m *ExtraValue) Reset() { *m = ExtraValue{} }
func (*ExtraValue) ProtoMessage() {}
func (*ExtraValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_17e045d0de66f3c7, []int{5}
+ return fileDescriptor_5f7d41da689f96f7, []int{5}
}
func (m *ExtraValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -225,68 +225,67 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1/generated.proto", fileDescriptor_17e045d0de66f3c7)
+ proto.RegisterFile("k8s.io/api/certificates/v1/generated.proto", fileDescriptor_5f7d41da689f96f7)
}
-var fileDescriptor_17e045d0de66f3c7 = []byte{
- // 910 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdf, 0x6e, 0x1b, 0xc5,
- 0x17, 0xf6, 0xc6, 0x7f, 0x62, 0x8f, 0xf3, 0x4b, 0xdb, 0xd1, 0x8f, 0x6a, 0xb1, 0x54, 0xaf, 0xb5,
- 0x82, 0x2a, 0x20, 0xd8, 0x25, 0x51, 0x81, 0x50, 0x10, 0x42, 0x9b, 0x46, 0xa8, 0x22, 0x05, 0x69,
- 0x92, 0x70, 0x51, 0xb8, 0xe8, 0x64, 0x7d, 0xba, 0x99, 0xba, 0xfb, 0x87, 0x99, 0x59, 0x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, 0x6f, 0x78, 0x2d, 0x31, 0x47, 0x28, 0x9c, 0xbe, 0x40, 0xc2, 0xb6, 0x74, 0xd5, 0x5f, 0x5f,
- 0xa9, 0xea, 0xf2, 0x21, 0x9b, 0x8d, 0x52, 0x69, 0x12, 0x64, 0x4e, 0x05, 0x6f, 0xa2, 0xf6, 0x1c,
- 0xab, 0xae, 0x6f, 0x2d, 0xb8, 0x36, 0x19, 0x3b, 0xed, 0x39, 0x72, 0x32, 0x8f, 0x71, 0x3f, 0x37,
- 0xcd, 0xd2, 0x35, 0x62, 0x67, 0xba, 0x64, 0x96, 0xbe, 0xc8, 0xd6, 0xe2, 0xa6, 0xdc, 0x6d, 0xfe,
- 0xf6, 0xbb, 0x53, 0x79, 0xfe, 0x77, 0xaf, 0x12, 0x7c, 0x73, 0x72, 0xda, 0xad, 0xbc, 0x38, 0xed,
- 0x56, 0x5e, 0x9e, 0x76, 0x2b, 0xcf, 0x27, 0x5d, 0xeb, 0x64, 0xd2, 0xb5, 0x5e, 0x4c, 0xba, 0xd6,
- 0xcb, 0x49, 0xd7, 0xfa, 0x67, 0xd2, 0xb5, 0x7e, 0x7d, 0xd5, 0xad, 0x3c, 0xec, 0x2c, 0xff, 0x2f,
- 0xf9, 0x37, 0x00, 0x00, 0xff, 0xff, 0xbc, 0x00, 0x0c, 0x1b, 0xcd, 0x08, 0x00, 0x00,
+var fileDescriptor_5f7d41da689f96f7 = []byte{
+ // 896 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0x4f, 0x6f, 0x1b, 0x45,
+ 0x14, 0xf7, 0xc6, 0x7f, 0x62, 0x8f, 0x43, 0xda, 0x8e, 0xa0, 0x5a, 0x2c, 0xd5, 0x6b, 0xad, 0xa0,
+ 0x0a, 0x15, 0xcc, 0x92, 0xa8, 0x40, 0x28, 0x08, 0xa1, 0x4d, 0x23, 0x54, 0x91, 0x82, 0x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, 0xa1, 0x9f, 0x14, 0x9b, 0x16, 0x41, 0xf7, 0x96, 0x36, 0x2d, 0xf7,
+ 0xd8, 0x42, 0xce, 0x5b, 0x5e, 0x4b, 0x9c, 0x21, 0x14, 0x4c, 0x5e, 0x20, 0x61, 0x5b, 0xba, 0xea,
+ 0x6f, 0xae, 0x54, 0x75, 0xf9, 0x90, 0x4d, 0x47, 0xa9, 0x84, 0x04, 0x9d, 0x71, 0xc1, 0xeb, 0xa8,
+ 0x3d, 0xa3, 0xaa, 0xeb, 0x5b, 0xf1, 0xaf, 0x8d, 0x47, 0x4e, 0x7b, 0x46, 0x9c, 0xce, 0x72, 0xdc,
+ 0x2f, 0x4c, 0xb3, 0x74, 0x8d, 0xd8, 0x99, 0x2c, 0x99, 0xa5, 0x3f, 0x64, 0x6b, 0x7e, 0x53, 0xee,
+ 0x35, 0x7f, 0xff, 0xc3, 0xa9, 0xbc, 0xf8, 0xa7, 0x57, 0xf1, 0xbf, 0x3d, 0x3e, 0xe9, 0x56, 0x5e,
+ 0x9e, 0x74, 0x2b, 0xaf, 0x4e, 0xba, 0x95, 0x17, 0xe3, 0xae, 0x75, 0x3c, 0xee, 0x5a, 0x2f, 0xc7,
+ 0x5d, 0xeb, 0xd5, 0xb8, 0x6b, 0xfd, 0x3b, 0xee, 0x5a, 0xbf, 0xbd, 0xee, 0x56, 0x1e, 0x75, 0x16,
+ 0xff, 0x2f, 0xf9, 0x2f, 0x00, 0x00, 0xff, 0xff, 0xd9, 0x4a, 0x4f, 0xbc, 0xb4, 0x08, 0x00, 0x00,
}
func (m *CertificateSigningRequest) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1alpha1/generated.pb.go
index 546ecbefbf..a62a400596 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1alpha1/generated.proto
+// source: k8s.io/api/certificates/v1alpha1/generated.proto
package v1alpha1
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ClusterTrustBundle) Reset() { *m = ClusterTrustBundle{} }
func (*ClusterTrustBundle) ProtoMessage() {}
func (*ClusterTrustBundle) Descriptor() ([]byte, []int) {
- return fileDescriptor_8915b0d419f9eda6, []int{0}
+ return fileDescriptor_f73d5fe56c015bb8, []int{0}
}
func (m *ClusterTrustBundle) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_ClusterTrustBundle proto.InternalMessageInfo
func (m *ClusterTrustBundleList) Reset() { *m = ClusterTrustBundleList{} }
func (*ClusterTrustBundleList) ProtoMessage() {}
func (*ClusterTrustBundleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_8915b0d419f9eda6, []int{1}
+ return fileDescriptor_f73d5fe56c015bb8, []int{1}
}
func (m *ClusterTrustBundleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -102,7 +102,7 @@ var xxx_messageInfo_ClusterTrustBundleList proto.InternalMessageInfo
func (m *ClusterTrustBundleSpec) Reset() { *m = ClusterTrustBundleSpec{} }
func (*ClusterTrustBundleSpec) ProtoMessage() {}
func (*ClusterTrustBundleSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_8915b0d419f9eda6, []int{2}
+ return fileDescriptor_f73d5fe56c015bb8, []int{2}
}
func (m *ClusterTrustBundleSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,39 +134,39 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1alpha1/generated.proto", fileDescriptor_8915b0d419f9eda6)
+ proto.RegisterFile("k8s.io/api/certificates/v1alpha1/generated.proto", fileDescriptor_f73d5fe56c015bb8)
}
-var fileDescriptor_8915b0d419f9eda6 = []byte{
- // 448 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x6b, 0x13, 0x41,
- 0x14, 0xc7, 0x77, 0x6a, 0x0b, 0xed, 0x44, 0x41, 0x56, 0x90, 0x90, 0xc3, 0x34, 0xe4, 0xd4, 0x8b,
- 0x33, 0x26, 0x54, 0xe9, 0x79, 0x05, 0xa1, 0xe0, 0x0f, 0xd8, 0x7a, 0xb1, 0x78, 0x70, 0x32, 0x79,
- 0xdd, 0x8c, 0xc9, 0xee, 0x0e, 0x33, 0xb3, 0x01, 0x6f, 0x82, 0xff, 0x80, 0x7f, 0x56, 0x8e, 0xd5,
- 0x53, 0x4f, 0xc5, 0xac, 0xff, 0x88, 0xcc, 0x64, 0x93, 0x5d, 0x5c, 0x25, 0xd2, 0xdb, 0xbe, 0x1f,
- 0x9f, 0xef, 0x7b, 0xdf, 0xb7, 0x0c, 0x3e, 0x9f, 0x9d, 0x19, 0x2a, 0x73, 0x36, 0x2b, 0xc6, 0xa0,
- 0x33, 0xb0, 0x60, 0xd8, 0x02, 0xb2, 0x49, 0xae, 0x59, 0x55, 0xe0, 0x4a, 0x32, 0x01, 0xda, 0xca,
- 0x2b, 0x29, 0xb8, 0x2f, 0x0f, 0xf9, 0x5c, 0x4d, 0xf9, 0x90, 0x25, 0x90, 0x81, 0xe6, 0x16, 0x26,
- 0x54, 0xe9, 0xdc, 0xe6, 0x61, 0x7f, 0x4d, 0x50, 0xae, 0x24, 0x6d, 0x12, 0x74, 0x43, 0xf4, 0x9e,
- 0x24, 0xd2, 0x4e, 0x8b, 0x31, 0x15, 0x79, 0xca, 0x92, 0x3c, 0xc9, 0x99, 0x07, 0xc7, 0xc5, 0x95,
- 0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 0x9d, 0x74, 0x46, 0xa7, 0x77, 0x71, 0x15, 0x3d, 0xa8, 0x06, 0x1c, 0x9c, 0x3b,
- 0xa9, 0x78, 0xad, 0x38, 0xf8, 0xfa, 0x57, 0x4f, 0xce, 0x74, 0x38, 0xc2, 0xd8, 0xc8, 0x24, 0x03,
- 0xfd, 0x86, 0xa7, 0xe0, 0x5d, 0x1d, 0xd5, 0xc7, 0xbf, 0xd8, 0x56, 0xe2, 0x46, 0x57, 0xf8, 0x0c,
- 0x77, 0x6c, 0x2d, 0xe3, 0xff, 0xc2, 0x51, 0xf4, 0xa8, 0x82, 0x3a, 0x8d, 0x09, 0x71, 0xb3, 0x2f,
- 0x7a, 0xb9, 0x5c, 0x91, 0xe0, 0x7a, 0x45, 0x82, 0x9b, 0x15, 0x09, 0xbe, 0x94, 0x04, 0x2d, 0x4b,
- 0x82, 0xae, 0x4b, 0x82, 0x6e, 0x4a, 0x82, 0x7e, 0x96, 0x04, 0x7d, 0xfb, 0x45, 0x82, 0xcb, 0xfe,
- 0xae, 0x67, 0xf7, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x05, 0xe9, 0xaa, 0x07, 0xb2, 0x03, 0x00, 0x00,
+var fileDescriptor_f73d5fe56c015bb8 = []byte{
+ // 437 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x93, 0xcf, 0x6a, 0xdb, 0x40,
+ 0x10, 0xc6, 0xb5, 0x69, 0x02, 0xc9, 0xba, 0x85, 0xa2, 0x42, 0x31, 0x3e, 0x6c, 0x8c, 0x4f, 0xb9,
+ 0x74, 0x37, 0x36, 0x69, 0xc9, 0x59, 0x85, 0x42, 0xa1, 0x7f, 0x40, 0xe9, 0xa5, 0xa1, 0x87, 0xae,
+ 0xd7, 0x13, 0x79, 0x6b, 0x4b, 0x5a, 0x76, 0x57, 0x86, 0xde, 0x0a, 0x7d, 0x81, 0x3e, 0x96,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 0x97, 0xfd, 0x5d, 0xbf, 0xdd, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd4, 0x1c, 0xcb,
+ 0xdd, 0x99, 0x03, 0x00, 0x00,
}
func (m *ClusterTrustBundle) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1beta1/generated.pb.go
index 352b9faa7a..b6d8ab3f59 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/certificates/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1beta1/generated.proto
+// source: k8s.io/api/certificates/v1beta1/generated.proto
package v1beta1
@@ -49,7 +49,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CertificateSigningRequest) Reset() { *m = CertificateSigningRequest{} }
func (*CertificateSigningRequest) ProtoMessage() {}
func (*CertificateSigningRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_09d156762b8218ef, []int{0}
+ return fileDescriptor_6529c11a462c48a5, []int{0}
}
func (m *CertificateSigningRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,7 +77,7 @@ var xxx_messageInfo_CertificateSigningRequest proto.InternalMessageInfo
func (m *CertificateSigningRequestCondition) Reset() { *m = CertificateSigningRequestCondition{} }
func (*CertificateSigningRequestCondition) ProtoMessage() {}
func (*CertificateSigningRequestCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_09d156762b8218ef, []int{1}
+ return fileDescriptor_6529c11a462c48a5, []int{1}
}
func (m *CertificateSigningRequestCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +105,7 @@ var xxx_messageInfo_CertificateSigningRequestCondition proto.InternalMessageInfo
func (m *CertificateSigningRequestList) Reset() { *m = CertificateSigningRequestList{} }
func (*CertificateSigningRequestList) ProtoMessage() {}
func (*CertificateSigningRequestList) Descriptor() ([]byte, []int) {
- return fileDescriptor_09d156762b8218ef, []int{2}
+ return fileDescriptor_6529c11a462c48a5, []int{2}
}
func (m *CertificateSigningRequestList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +133,7 @@ var xxx_messageInfo_CertificateSigningRequestList proto.InternalMessageInfo
func (m *CertificateSigningRequestSpec) Reset() { *m = CertificateSigningRequestSpec{} }
func (*CertificateSigningRequestSpec) ProtoMessage() {}
func (*CertificateSigningRequestSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_09d156762b8218ef, []int{3}
+ return fileDescriptor_6529c11a462c48a5, []int{3}
}
func (m *CertificateSigningRequestSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +161,7 @@ var xxx_messageInfo_CertificateSigningRequestSpec proto.InternalMessageInfo
func (m *CertificateSigningRequestStatus) Reset() { *m = CertificateSigningRequestStatus{} }
func (*CertificateSigningRequestStatus) ProtoMessage() {}
func (*CertificateSigningRequestStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_09d156762b8218ef, []int{4}
+ return fileDescriptor_6529c11a462c48a5, []int{4}
}
func (m *CertificateSigningRequestStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +189,7 @@ var xxx_messageInfo_CertificateSigningRequestStatus proto.InternalMessageInfo
func (m *ExtraValue) Reset() { *m = ExtraValue{} }
func (*ExtraValue) ProtoMessage() {}
func (*ExtraValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_09d156762b8218ef, []int{5}
+ return fileDescriptor_6529c11a462c48a5, []int{5}
}
func (m *ExtraValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -225,69 +225,68 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/certificates/v1beta1/generated.proto", fileDescriptor_09d156762b8218ef)
+ proto.RegisterFile("k8s.io/api/certificates/v1beta1/generated.proto", fileDescriptor_6529c11a462c48a5)
}
-var fileDescriptor_09d156762b8218ef = []byte{
- // 915 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x5d, 0x6f, 0x1b, 0x45,
- 0x17, 0xf6, 0xc6, 0x1f, 0xb1, 0xc7, 0x79, 0xd3, 0x76, 0xf4, 0x52, 0x2d, 0x96, 0xea, 0xb5, 0x2c,
- 0x40, 0xe1, 0x6b, 0x96, 0x54, 0x15, 0x44, 0xb9, 0x40, 0xb0, 0x21, 0x82, 0x88, 0x14, 0xa4, 0x49,
- 0xc2, 0x05, 0x42, 0xa2, 0xe3, 0xf5, 0xe9, 0x66, 0xea, 0xee, 0x07, 0x3b, 0xb3, 0xa6, 0xbe, 0xeb,
- 0x4f, 0xe0, 0x92, 0x4b, 0xfe, 0x03, 0x7f, 0x22, 0x5c, 0x20, 0xf5, 0xb2, 0x17, 0xc8, 0x22, 0xee,
- 0xbf, 0xc8, 0x15, 0x9a, 0xd9, 0xf1, 0xda, 0xb1, 0x13, 0x5c, 0xda, 0xbb, 0x9d, 0x67, 0xce, 0xf3,
- 0x3c, 0x67, 0xce, 0x9c, 0x33, 0x36, 0xfa, 0x6a, 0xb0, 0x23, 0x08, 0x8f, 0xdd, 0x41, 0xd6, 0x83,
- 0x34, 0x02, 0x09, 0xc2, 0x1d, 0x42, 0xd4, 0x8f, 0x53, 0xd7, 0x6c, 0xb0, 0x84, 0xbb, 0x3e, 0xa4,
- 0x92, 0x3f, 0xe4, 0x3e, 0xd3, 0xdb, 0xdb, 0x3d, 0x90, 0x6c, 0xdb, 0x0d, 0x20, 0x82, 0x94, 0x49,
- 0xe8, 0x93, 0x24, 0x8d, 0x65, 0x8c, 0x9d, 0x9c, 0x40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, 0xa5, 0xa7, 0x93, 0xb6, 0x75, 0x36, 0x69,
- 0x5b, 0xcf, 0x26, 0x6d, 0xeb, 0xf9, 0xa4, 0x6d, 0xfd, 0x3d, 0x69, 0x5b, 0xbf, 0xbc, 0x68, 0x97,
- 0xbe, 0x77, 0x56, 0xfc, 0x77, 0xf9, 0x27, 0x00, 0x00, 0xff, 0xff, 0x7b, 0xe7, 0x9b, 0x78, 0xf6,
- 0x08, 0x00, 0x00,
+var fileDescriptor_6529c11a462c48a5 = []byte{
+ // 901 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4d, 0x6f, 0x1b, 0x45,
+ 0x18, 0xf6, 0xc6, 0x1f, 0xb1, 0xc7, 0x21, 0x6d, 0x47, 0x50, 0x2d, 0x96, 0xea, 0xb5, 0x56, 0x80,
+ 0xc2, 0xd7, 0x2c, 0xa9, 0x2a, 0x88, 0x72, 0x40, 0xb0, 0x21, 0x42, 0x11, 0x29, 0x48, 0x93, 0x84,
+ 0x03, 0x42, 0xa2, 0x93, 0xf5, 0xdb, 0xcd, 0x34, 0xdd, 0x0f, 0x76, 0x66, 0x4d, 0x7d, 0xeb, 0x4f,
+ 0xe0, 0xc8, 0x91, 0xff, 0xc0, 0x9f, 0x08, 0x07, 0xa4, 0x1e, 0x7b, 0x40, 0x16, 0x71, 0xff, 0x45,
+ 0x4e, 0x68, 0x66, 0xc7, 0x6b, 0xc7, 0x4e, 0x70, 0x69, 0x6f, 0x3b, 0xcf, 0xbc, 0xcf, 0xf3, 0xbc,
+ 0xf3, 0xce, 0xfb, 0x8e, 0x8d, 0xbc, 0xd3, 0x2d, 0x41, 0x78, 0xe2, 0xb1, 0x94, 0x7b, 0x01, 0x64,
+ 0x92, 0x3f, 0xe4, 0x01, 0x93, 0x20, 0xbc, 0xc1, 0xe6, 0x31, 0x48, 0xb6, 0xe9, 0x85, 0x10, 0x43,
+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 0xf3, 0xb7, 0xdf, 0x9d, 0xca, 0xd3, 0xbf, 0x7b, 0x15, 0x7f, 0xf7,
+ 0xec, 0xbc, 0x5b, 0x79, 0x76, 0xde, 0xad, 0x3c, 0x3f, 0xef, 0x56, 0x9e, 0x8e, 0xbb, 0xd6, 0xd9,
+ 0xb8, 0x6b, 0x3d, 0x1b, 0x77, 0xad, 0xe7, 0xe3, 0xae, 0xf5, 0xcf, 0xb8, 0x6b, 0xfd, 0xfa, 0xa2,
+ 0x5b, 0xf9, 0xc1, 0x59, 0xf2, 0xdf, 0xe5, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x35, 0x2f, 0x11,
+ 0xe8, 0xdd, 0x08, 0x00, 0x00,
}
func (m *CertificateSigningRequest) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1/generated.pb.go
index de06106013..8b7ab98caa 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto
+// source: k8s.io/api/coordination/v1/generated.proto
package v1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Lease) Reset() { *m = Lease{} }
func (*Lease) ProtoMessage() {}
func (*Lease) Descriptor() ([]byte, []int) {
- return fileDescriptor_929e1148ad9baca3, []int{0}
+ return fileDescriptor_239d5a4df3139dce, []int{0}
}
func (m *Lease) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_Lease proto.InternalMessageInfo
func (m *LeaseList) Reset() { *m = LeaseList{} }
func (*LeaseList) ProtoMessage() {}
func (*LeaseList) Descriptor() ([]byte, []int) {
- return fileDescriptor_929e1148ad9baca3, []int{1}
+ return fileDescriptor_239d5a4df3139dce, []int{1}
}
func (m *LeaseList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_LeaseList proto.InternalMessageInfo
func (m *LeaseSpec) Reset() { *m = LeaseSpec{} }
func (*LeaseSpec) ProtoMessage() {}
func (*LeaseSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_929e1148ad9baca3, []int{2}
+ return fileDescriptor_239d5a4df3139dce, []int{2}
}
func (m *LeaseSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,45 +135,44 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1/generated.proto", fileDescriptor_929e1148ad9baca3)
+ proto.RegisterFile("k8s.io/api/coordination/v1/generated.proto", fileDescriptor_239d5a4df3139dce)
}
-var fileDescriptor_929e1148ad9baca3 = []byte{
- // 539 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xcf, 0x6e, 0xd3, 0x4c,
- 0x14, 0xc5, 0xe3, 0x36, 0x91, 0x9a, 0xc9, 0xd7, 0x7e, 0x91, 0x95, 0x85, 0x95, 0x85, 0x5d, 0x22,
- 0x21, 0x75, 0xc3, 0x0c, 0xa9, 0x10, 0x42, 0xac, 0x8a, 0x41, 0x40, 0xa5, 0x54, 0x48, 0x6e, 0x57,
- 0xa8, 0x0b, 0x26, 0xf6, 0xc5, 0x19, 0x52, 0x7b, 0xcc, 0xcc, 0x38, 0xa8, 0x3b, 0x1e, 0x81, 0x2d,
- 0x8f, 0x01, 0x4f, 0x91, 0x65, 0x97, 0x5d, 0x59, 0xc4, 0xbc, 0x08, 0x9a, 0x49, 0xda, 0x84, 0xfc,
- 0x51, 0x2b, 0x76, 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0x05, 0xa4, 0xf0,
- 0xc5, 0x6c, 0xa8, 0xfe, 0xdb, 0x86, 0xdd, 0xb2, 0xf0, 0xea, 0xc1, 0x0d, 0x25, 0x98, 0x03, 0xed,
- 0x23, 0xd4, 0x34, 0x97, 0x9d, 0x09, 0x9a, 0x4a, 0xa6, 0x6f, 0x93, 0x4e, 0xcd, 0x64, 0xd1, 0x2a,
- 0x0b, 0xaf, 0xd9, 0x5b, 0xea, 0x05, 0x2b, 0xd3, 0xfe, 0xd1, 0x78, 0xe2, 0x56, 0xae, 0x26, 0x6e,
- 0xe5, 0x7a, 0xe2, 0x56, 0xbe, 0x96, 0xae, 0x35, 0x2e, 0x5d, 0xeb, 0xaa, 0x74, 0xad, 0xeb, 0xd2,
- 0xb5, 0x7e, 0x95, 0xae, 0xf5, 0xed, 0xb7, 0x5b, 0x79, 0xdf, 0xde, 0xfc, 0x03, 0xf9, 0x13, 0x00,
- 0x00, 0xff, 0xff, 0xef, 0xe4, 0x75, 0x3b, 0x76, 0x04, 0x00, 0x00,
+var fileDescriptor_239d5a4df3139dce = []byte{
+ // 524 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x4f, 0x6f, 0xd3, 0x30,
+ 0x18, 0xc6, 0x9b, 0xb5, 0x95, 0x56, 0x97, 0x8d, 0x2a, 0xea, 0x21, 0xea, 0x21, 0x19, 0x95, 0x90,
+ 0x26, 0x24, 0x1c, 0x3a, 0x21, 0x84, 0x38, 0x8d, 0x08, 0x01, 0x93, 0x3a, 0x21, 0x65, 0x3b, 0xa1,
+ 0x1d, 0x70, 0x93, 0x97, 0xd4, 0x74, 0x89, 0x83, 0xed, 0x16, 0xed, 0xc6, 0x47, 0xe0, 0xca, 0xc7,
+ 0x80, 0x4f, 0xd1, 0xe3, 0x8e, 0x3b, 0x45, 0xd4, 0x7c, 0x11, 0x64, 0xb7, 0x5b, 0x4b, 0x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0x32, 0xf8, 0x66, 0x36, 0x54, 0xee, 0xb7, 0x61, 0x47, 0x15, 0x5e, 0x2d, 0xbc, 0xa6, 0x84, 0x73,
+ 0xa0, 0x7d, 0x88, 0x1a, 0xe6, 0x65, 0xa7, 0x9c, 0x64, 0x82, 0xea, 0xb7, 0x09, 0xa7, 0x6a, 0xba,
+ 0x68, 0xaa, 0xc2, 0x6b, 0x74, 0x97, 0xee, 0xc2, 0x15, 0x75, 0x70, 0x38, 0x9e, 0xb8, 0xa5, 0xcb,
+ 0x89, 0x5b, 0xba, 0x9a, 0xb8, 0xa5, 0xef, 0xca, 0xb5, 0xc6, 0xca, 0xb5, 0x2e, 0x95, 0x6b, 0x5d,
+ 0x29, 0xd7, 0xfa, 0xa3, 0x5c, 0xeb, 0xc7, 0x5f, 0xb7, 0xf4, 0xb1, 0xb5, 0xf9, 0x07, 0xf2, 0x2f,
+ 0x00, 0x00, 0xff, 0xff, 0xb0, 0xb0, 0x3a, 0x46, 0x5d, 0x04, 0x00, 0x00,
}
func (m *Lease) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1beta1/generated.pb.go
index 7334290fbb..655de56590 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/coordination/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1beta1/generated.proto
+// source: k8s.io/api/coordination/v1beta1/generated.proto
package v1beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Lease) Reset() { *m = Lease{} }
func (*Lease) ProtoMessage() {}
func (*Lease) Descriptor() ([]byte, []int) {
- return fileDescriptor_daca6bcd2ff63a80, []int{0}
+ return fileDescriptor_8d4e223b8bb23da3, []int{0}
}
func (m *Lease) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_Lease proto.InternalMessageInfo
func (m *LeaseList) Reset() { *m = LeaseList{} }
func (*LeaseList) ProtoMessage() {}
func (*LeaseList) Descriptor() ([]byte, []int) {
- return fileDescriptor_daca6bcd2ff63a80, []int{1}
+ return fileDescriptor_8d4e223b8bb23da3, []int{1}
}
func (m *LeaseList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_LeaseList proto.InternalMessageInfo
func (m *LeaseSpec) Reset() { *m = LeaseSpec{} }
func (*LeaseSpec) ProtoMessage() {}
func (*LeaseSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_daca6bcd2ff63a80, []int{2}
+ return fileDescriptor_8d4e223b8bb23da3, []int{2}
}
func (m *LeaseSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,45 +135,44 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/coordination/v1beta1/generated.proto", fileDescriptor_daca6bcd2ff63a80)
+ proto.RegisterFile("k8s.io/api/coordination/v1beta1/generated.proto", fileDescriptor_8d4e223b8bb23da3)
}
-var fileDescriptor_daca6bcd2ff63a80 = []byte{
- // 543 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xc1, 0x6e, 0xd3, 0x4e,
- 0x10, 0xc6, 0xe3, 0xb6, 0x91, 0x9a, 0xcd, 0xbf, 0xfd, 0x47, 0x56, 0x0e, 0x56, 0x0e, 0x76, 0x95,
- 0x03, 0xaa, 0x90, 0xd8, 0x25, 0x15, 0x42, 0x88, 0x13, 0x58, 0x20, 0xb5, 0xc2, 0x15, 0x92, 0xdb,
- 0x13, 0xea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, 0x55, 0x66, 0x80, 0xda, 0x34,
- 0xfc, 0x94, 0x33, 0x01, 0xe7, 0x2c, 0x01, 0x6b, 0x5b, 0xa7, 0x48, 0x36, 0x4b, 0xf1, 0x94, 0x85,
- 0x82, 0x57, 0x32, 0xf7, 0xff, 0xb2, 0x70, 0xda, 0x2f, 0xe7, 0x1c, 0x7f, 0x11, 0x6a, 0x5e, 0xa0,
- 0x96, 0x80, 0x14, 0x3e, 0xeb, 0x0d, 0x3b, 0xff, 0xb6, 0x61, 0xaf, 0x2c, 0x9c, 0x96, 0x7f, 0x4b,
- 0xf1, 0xe7, 0x40, 0xf3, 0x05, 0xea, 0xe8, 0xcb, 0xce, 0x05, 0x4d, 0x25, 0xab, 0x6e, 0x93, 0x56,
- 0x53, 0x67, 0xd1, 0x2d, 0x0b, 0xa7, 0xe3, 0x2d, 0xf5, 0xfc, 0x95, 0x69, 0xf7, 0xf5, 0x64, 0x6a,
- 0x37, 0xae, 0xa7, 0x76, 0xe3, 0x66, 0x6a, 0x37, 0xbe, 0x94, 0xb6, 0x31, 0x29, 0x6d, 0xe3, 0xba,
- 0xb4, 0x8d, 0x9b, 0xd2, 0x36, 0x7e, 0x96, 0xb6, 0xf1, 0xf5, 0x97, 0xdd, 0x78, 0xe7, 0xac, 0xf9,
- 0xa9, 0xfc, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x19, 0x0e, 0xd7, 0x8f, 0x04, 0x00, 0x00,
+var fileDescriptor_8d4e223b8bb23da3 = []byte{
+ // 527 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x41, 0x6f, 0xd3, 0x30,
+ 0x14, 0xc7, 0x9b, 0xb5, 0x95, 0x56, 0x97, 0x8d, 0x2a, 0xea, 0x21, 0xea, 0x21, 0x99, 0x7a, 0x40,
+ 0x13, 0x12, 0x36, 0x9d, 0x10, 0x42, 0x9c, 0x20, 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0xec, 0x3e, 0x6a, 0xd2,
+ 0xe8, 0xf3, 0x88, 0x15, 0x70, 0xc6, 0x52, 0x70, 0xaa, 0x66, 0x8b, 0x64, 0xbb, 0x2d, 0x9e, 0xb0,
+ 0xa8, 0xe0, 0x1a, 0xf3, 0xef, 0xab, 0xd2, 0x6b, 0xbe, 0x5c, 0x78, 0xc2, 0x65, 0xa9, 0x7d, 0x8e,
+ 0x1a, 0x05, 0x64, 0xf0, 0xc5, 0x4c, 0xa8, 0xfd, 0xdf, 0x84, 0x3d, 0x55, 0x7a, 0x8d, 0xf0, 0xc6,
+ 0x12, 0x2e, 0x84, 0xf6, 0x0b, 0xd4, 0x32, 0x2f, 0x3b, 0x2b, 0x68, 0x26, 0x98, 0x7e, 0x9b, 0x70,
+ 0xea, 0x66, 0x17, 0x6d, 0x55, 0x7a, 0xad, 0x60, 0xe5, 0x2e, 0x5c, 0xeb, 0xf6, 0x5f, 0x4f, 0xa6,
+ 0x6e, 0xe5, 0x6a, 0xea, 0x56, 0xae, 0xa7, 0x6e, 0xe5, 0xab, 0x72, 0xad, 0x89, 0x72, 0xad, 0x2b,
+ 0xe5, 0x5a, 0xd7, 0xca, 0xb5, 0x7e, 0x29, 0xd7, 0xfa, 0xf6, 0xdb, 0xad, 0xbc, 0xf7, 0x36, 0xfc,
+ 0x54, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0x5d, 0x81, 0x42, 0xfe, 0x76, 0x04, 0x00, 0x00,
}
func (m *Lease) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/annotation_key_constants.go b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/annotation_key_constants.go
index 106ba14c3d..5cf6f329f1 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/annotation_key_constants.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/annotation_key_constants.go
@@ -54,21 +54,18 @@ const (
// SeccompLocalhostProfileNamePrefix is the prefix for specifying profiles loaded from the node's disk.
SeccompLocalhostProfileNamePrefix = "localhost/"
- // AppArmorBetaContainerAnnotationKeyPrefix is the prefix to an annotation key specifying a container's apparmor profile.
- AppArmorBetaContainerAnnotationKeyPrefix = "container.apparmor.security.beta.kubernetes.io/"
- // AppArmorBetaDefaultProfileAnnotationKey is the annotation key specifying the default AppArmor profile.
- AppArmorBetaDefaultProfileAnnotationKey = "apparmor.security.beta.kubernetes.io/defaultProfileName"
- // AppArmorBetaAllowedProfilesAnnotationKey is the annotation key specifying the allowed AppArmor profiles.
- AppArmorBetaAllowedProfilesAnnotationKey = "apparmor.security.beta.kubernetes.io/allowedProfileNames"
+ // DeprecatedAppArmorBetaContainerAnnotationKeyPrefix is the prefix to an annotation key specifying a container's apparmor profile.
+ // Deprecated: use a pod or container security context `appArmorProfile` field instead.
+ DeprecatedAppArmorBetaContainerAnnotationKeyPrefix = "container.apparmor.security.beta.kubernetes.io/"
- // AppArmorBetaProfileRuntimeDefault is the profile specifying the runtime default.
- AppArmorBetaProfileRuntimeDefault = "runtime/default"
+ // DeprecatedAppArmorBetaProfileRuntimeDefault is the profile specifying the runtime default.
+ DeprecatedAppArmorBetaProfileRuntimeDefault = "runtime/default"
- // AppArmorBetaProfileNamePrefix is the prefix for specifying profiles loaded on the node.
- AppArmorBetaProfileNamePrefix = "localhost/"
+ // DeprecatedAppArmorBetaProfileNamePrefix is the prefix for specifying profiles loaded on the node.
+ DeprecatedAppArmorBetaProfileNamePrefix = "localhost/"
- // AppArmorBetaProfileNameUnconfined is the Unconfined AppArmor profile
- AppArmorBetaProfileNameUnconfined = "unconfined"
+ // DeprecatedAppArmorBetaProfileNameUnconfined is the Unconfined AppArmor profile
+ DeprecatedAppArmorBetaProfileNameUnconfined = "unconfined"
// DeprecatedSeccompProfileDockerDefault represents the default seccomp profile used by docker.
// Deprecated: set a pod or container security context `seccompProfile` of type "RuntimeDefault" instead.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.pb.go
index 04c7939e0d..d52d8da189 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto
+// source: k8s.io/api/core/v1/generated.proto
package v1
@@ -52,7 +52,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AWSElasticBlockStoreVolumeSource) Reset() { *m = AWSElasticBlockStoreVolumeSource{} }
func (*AWSElasticBlockStoreVolumeSource) ProtoMessage() {}
func (*AWSElasticBlockStoreVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{0}
+ return fileDescriptor_6c07b07c062484ab, []int{0}
}
func (m *AWSElasticBlockStoreVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -80,7 +80,7 @@ var xxx_messageInfo_AWSElasticBlockStoreVolumeSource proto.InternalMessageInfo
func (m *Affinity) Reset() { *m = Affinity{} }
func (*Affinity) ProtoMessage() {}
func (*Affinity) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{1}
+ return fileDescriptor_6c07b07c062484ab, []int{1}
}
func (m *Affinity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,10 +105,38 @@ func (m *Affinity) XXX_DiscardUnknown() {
var xxx_messageInfo_Affinity proto.InternalMessageInfo
+func (m *AppArmorProfile) Reset() { *m = AppArmorProfile{} }
+func (*AppArmorProfile) ProtoMessage() {}
+func (*AppArmorProfile) Descriptor() ([]byte, []int) {
+ return fileDescriptor_6c07b07c062484ab, []int{2}
+}
+func (m *AppArmorProfile) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *AppArmorProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *AppArmorProfile) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_AppArmorProfile.Merge(m, src)
+}
+func (m *AppArmorProfile) XXX_Size() int {
+ return m.Size()
+}
+func (m *AppArmorProfile) XXX_DiscardUnknown() {
+ xxx_messageInfo_AppArmorProfile.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_AppArmorProfile proto.InternalMessageInfo
+
func (m *AttachedVolume) Reset() { *m = AttachedVolume{} }
func (*AttachedVolume) ProtoMessage() {}
func (*AttachedVolume) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{2}
+ return fileDescriptor_6c07b07c062484ab, []int{3}
}
func (m *AttachedVolume) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -136,7 +164,7 @@ var xxx_messageInfo_AttachedVolume proto.InternalMessageInfo
func (m *AvoidPods) Reset() { *m = AvoidPods{} }
func (*AvoidPods) ProtoMessage() {}
func (*AvoidPods) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{3}
+ return fileDescriptor_6c07b07c062484ab, []int{4}
}
func (m *AvoidPods) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -164,7 +192,7 @@ var xxx_messageInfo_AvoidPods proto.InternalMessageInfo
func (m *AzureDiskVolumeSource) Reset() { *m = AzureDiskVolumeSource{} }
func (*AzureDiskVolumeSource) ProtoMessage() {}
func (*AzureDiskVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{4}
+ return fileDescriptor_6c07b07c062484ab, []int{5}
}
func (m *AzureDiskVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -192,7 +220,7 @@ var xxx_messageInfo_AzureDiskVolumeSource proto.InternalMessageInfo
func (m *AzureFilePersistentVolumeSource) Reset() { *m = AzureFilePersistentVolumeSource{} }
func (*AzureFilePersistentVolumeSource) ProtoMessage() {}
func (*AzureFilePersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{5}
+ return fileDescriptor_6c07b07c062484ab, []int{6}
}
func (m *AzureFilePersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -220,7 +248,7 @@ var xxx_messageInfo_AzureFilePersistentVolumeSource proto.InternalMessageInfo
func (m *AzureFileVolumeSource) Reset() { *m = AzureFileVolumeSource{} }
func (*AzureFileVolumeSource) ProtoMessage() {}
func (*AzureFileVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{6}
+ return fileDescriptor_6c07b07c062484ab, []int{7}
}
func (m *AzureFileVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -248,7 +276,7 @@ var xxx_messageInfo_AzureFileVolumeSource proto.InternalMessageInfo
func (m *Binding) Reset() { *m = Binding{} }
func (*Binding) ProtoMessage() {}
func (*Binding) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{7}
+ return fileDescriptor_6c07b07c062484ab, []int{8}
}
func (m *Binding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -276,7 +304,7 @@ var xxx_messageInfo_Binding proto.InternalMessageInfo
func (m *CSIPersistentVolumeSource) Reset() { *m = CSIPersistentVolumeSource{} }
func (*CSIPersistentVolumeSource) ProtoMessage() {}
func (*CSIPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{8}
+ return fileDescriptor_6c07b07c062484ab, []int{9}
}
func (m *CSIPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -304,7 +332,7 @@ var xxx_messageInfo_CSIPersistentVolumeSource proto.InternalMessageInfo
func (m *CSIVolumeSource) Reset() { *m = CSIVolumeSource{} }
func (*CSIVolumeSource) ProtoMessage() {}
func (*CSIVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{9}
+ return fileDescriptor_6c07b07c062484ab, []int{10}
}
func (m *CSIVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -332,7 +360,7 @@ var xxx_messageInfo_CSIVolumeSource proto.InternalMessageInfo
func (m *Capabilities) Reset() { *m = Capabilities{} }
func (*Capabilities) ProtoMessage() {}
func (*Capabilities) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{10}
+ return fileDescriptor_6c07b07c062484ab, []int{11}
}
func (m *Capabilities) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -360,7 +388,7 @@ var xxx_messageInfo_Capabilities proto.InternalMessageInfo
func (m *CephFSPersistentVolumeSource) Reset() { *m = CephFSPersistentVolumeSource{} }
func (*CephFSPersistentVolumeSource) ProtoMessage() {}
func (*CephFSPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{11}
+ return fileDescriptor_6c07b07c062484ab, []int{12}
}
func (m *CephFSPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -388,7 +416,7 @@ var xxx_messageInfo_CephFSPersistentVolumeSource proto.InternalMessageInfo
func (m *CephFSVolumeSource) Reset() { *m = CephFSVolumeSource{} }
func (*CephFSVolumeSource) ProtoMessage() {}
func (*CephFSVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{12}
+ return fileDescriptor_6c07b07c062484ab, []int{13}
}
func (m *CephFSVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -416,7 +444,7 @@ var xxx_messageInfo_CephFSVolumeSource proto.InternalMessageInfo
func (m *CinderPersistentVolumeSource) Reset() { *m = CinderPersistentVolumeSource{} }
func (*CinderPersistentVolumeSource) ProtoMessage() {}
func (*CinderPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{13}
+ return fileDescriptor_6c07b07c062484ab, []int{14}
}
func (m *CinderPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -444,7 +472,7 @@ var xxx_messageInfo_CinderPersistentVolumeSource proto.InternalMessageInfo
func (m *CinderVolumeSource) Reset() { *m = CinderVolumeSource{} }
func (*CinderVolumeSource) ProtoMessage() {}
func (*CinderVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{14}
+ return fileDescriptor_6c07b07c062484ab, []int{15}
}
func (m *CinderVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -472,7 +500,7 @@ var xxx_messageInfo_CinderVolumeSource proto.InternalMessageInfo
func (m *ClaimSource) Reset() { *m = ClaimSource{} }
func (*ClaimSource) ProtoMessage() {}
func (*ClaimSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{15}
+ return fileDescriptor_6c07b07c062484ab, []int{16}
}
func (m *ClaimSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -500,7 +528,7 @@ var xxx_messageInfo_ClaimSource proto.InternalMessageInfo
func (m *ClientIPConfig) Reset() { *m = ClientIPConfig{} }
func (*ClientIPConfig) ProtoMessage() {}
func (*ClientIPConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{16}
+ return fileDescriptor_6c07b07c062484ab, []int{17}
}
func (m *ClientIPConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -528,7 +556,7 @@ var xxx_messageInfo_ClientIPConfig proto.InternalMessageInfo
func (m *ClusterTrustBundleProjection) Reset() { *m = ClusterTrustBundleProjection{} }
func (*ClusterTrustBundleProjection) ProtoMessage() {}
func (*ClusterTrustBundleProjection) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{17}
+ return fileDescriptor_6c07b07c062484ab, []int{18}
}
func (m *ClusterTrustBundleProjection) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -556,7 +584,7 @@ var xxx_messageInfo_ClusterTrustBundleProjection proto.InternalMessageInfo
func (m *ComponentCondition) Reset() { *m = ComponentCondition{} }
func (*ComponentCondition) ProtoMessage() {}
func (*ComponentCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{18}
+ return fileDescriptor_6c07b07c062484ab, []int{19}
}
func (m *ComponentCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -584,7 +612,7 @@ var xxx_messageInfo_ComponentCondition proto.InternalMessageInfo
func (m *ComponentStatus) Reset() { *m = ComponentStatus{} }
func (*ComponentStatus) ProtoMessage() {}
func (*ComponentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{19}
+ return fileDescriptor_6c07b07c062484ab, []int{20}
}
func (m *ComponentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -612,7 +640,7 @@ var xxx_messageInfo_ComponentStatus proto.InternalMessageInfo
func (m *ComponentStatusList) Reset() { *m = ComponentStatusList{} }
func (*ComponentStatusList) ProtoMessage() {}
func (*ComponentStatusList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{20}
+ return fileDescriptor_6c07b07c062484ab, []int{21}
}
func (m *ComponentStatusList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -640,7 +668,7 @@ var xxx_messageInfo_ComponentStatusList proto.InternalMessageInfo
func (m *ConfigMap) Reset() { *m = ConfigMap{} }
func (*ConfigMap) ProtoMessage() {}
func (*ConfigMap) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{21}
+ return fileDescriptor_6c07b07c062484ab, []int{22}
}
func (m *ConfigMap) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -668,7 +696,7 @@ var xxx_messageInfo_ConfigMap proto.InternalMessageInfo
func (m *ConfigMapEnvSource) Reset() { *m = ConfigMapEnvSource{} }
func (*ConfigMapEnvSource) ProtoMessage() {}
func (*ConfigMapEnvSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{22}
+ return fileDescriptor_6c07b07c062484ab, []int{23}
}
func (m *ConfigMapEnvSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -696,7 +724,7 @@ var xxx_messageInfo_ConfigMapEnvSource proto.InternalMessageInfo
func (m *ConfigMapKeySelector) Reset() { *m = ConfigMapKeySelector{} }
func (*ConfigMapKeySelector) ProtoMessage() {}
func (*ConfigMapKeySelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{23}
+ return fileDescriptor_6c07b07c062484ab, []int{24}
}
func (m *ConfigMapKeySelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -724,7 +752,7 @@ var xxx_messageInfo_ConfigMapKeySelector proto.InternalMessageInfo
func (m *ConfigMapList) Reset() { *m = ConfigMapList{} }
func (*ConfigMapList) ProtoMessage() {}
func (*ConfigMapList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{24}
+ return fileDescriptor_6c07b07c062484ab, []int{25}
}
func (m *ConfigMapList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -752,7 +780,7 @@ var xxx_messageInfo_ConfigMapList proto.InternalMessageInfo
func (m *ConfigMapNodeConfigSource) Reset() { *m = ConfigMapNodeConfigSource{} }
func (*ConfigMapNodeConfigSource) ProtoMessage() {}
func (*ConfigMapNodeConfigSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{25}
+ return fileDescriptor_6c07b07c062484ab, []int{26}
}
func (m *ConfigMapNodeConfigSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -780,7 +808,7 @@ var xxx_messageInfo_ConfigMapNodeConfigSource proto.InternalMessageInfo
func (m *ConfigMapProjection) Reset() { *m = ConfigMapProjection{} }
func (*ConfigMapProjection) ProtoMessage() {}
func (*ConfigMapProjection) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{26}
+ return fileDescriptor_6c07b07c062484ab, []int{27}
}
func (m *ConfigMapProjection) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -808,7 +836,7 @@ var xxx_messageInfo_ConfigMapProjection proto.InternalMessageInfo
func (m *ConfigMapVolumeSource) Reset() { *m = ConfigMapVolumeSource{} }
func (*ConfigMapVolumeSource) ProtoMessage() {}
func (*ConfigMapVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{27}
+ return fileDescriptor_6c07b07c062484ab, []int{28}
}
func (m *ConfigMapVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -836,7 +864,7 @@ var xxx_messageInfo_ConfigMapVolumeSource proto.InternalMessageInfo
func (m *Container) Reset() { *m = Container{} }
func (*Container) ProtoMessage() {}
func (*Container) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{28}
+ return fileDescriptor_6c07b07c062484ab, []int{29}
}
func (m *Container) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -864,7 +892,7 @@ var xxx_messageInfo_Container proto.InternalMessageInfo
func (m *ContainerImage) Reset() { *m = ContainerImage{} }
func (*ContainerImage) ProtoMessage() {}
func (*ContainerImage) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{29}
+ return fileDescriptor_6c07b07c062484ab, []int{30}
}
func (m *ContainerImage) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -892,7 +920,7 @@ var xxx_messageInfo_ContainerImage proto.InternalMessageInfo
func (m *ContainerPort) Reset() { *m = ContainerPort{} }
func (*ContainerPort) ProtoMessage() {}
func (*ContainerPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{30}
+ return fileDescriptor_6c07b07c062484ab, []int{31}
}
func (m *ContainerPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -920,7 +948,7 @@ var xxx_messageInfo_ContainerPort proto.InternalMessageInfo
func (m *ContainerResizePolicy) Reset() { *m = ContainerResizePolicy{} }
func (*ContainerResizePolicy) ProtoMessage() {}
func (*ContainerResizePolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{31}
+ return fileDescriptor_6c07b07c062484ab, []int{32}
}
func (m *ContainerResizePolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -948,7 +976,7 @@ var xxx_messageInfo_ContainerResizePolicy proto.InternalMessageInfo
func (m *ContainerState) Reset() { *m = ContainerState{} }
func (*ContainerState) ProtoMessage() {}
func (*ContainerState) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{32}
+ return fileDescriptor_6c07b07c062484ab, []int{33}
}
func (m *ContainerState) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -976,7 +1004,7 @@ var xxx_messageInfo_ContainerState proto.InternalMessageInfo
func (m *ContainerStateRunning) Reset() { *m = ContainerStateRunning{} }
func (*ContainerStateRunning) ProtoMessage() {}
func (*ContainerStateRunning) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{33}
+ return fileDescriptor_6c07b07c062484ab, []int{34}
}
func (m *ContainerStateRunning) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1004,7 +1032,7 @@ var xxx_messageInfo_ContainerStateRunning proto.InternalMessageInfo
func (m *ContainerStateTerminated) Reset() { *m = ContainerStateTerminated{} }
func (*ContainerStateTerminated) ProtoMessage() {}
func (*ContainerStateTerminated) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{34}
+ return fileDescriptor_6c07b07c062484ab, []int{35}
}
func (m *ContainerStateTerminated) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1032,7 +1060,7 @@ var xxx_messageInfo_ContainerStateTerminated proto.InternalMessageInfo
func (m *ContainerStateWaiting) Reset() { *m = ContainerStateWaiting{} }
func (*ContainerStateWaiting) ProtoMessage() {}
func (*ContainerStateWaiting) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{35}
+ return fileDescriptor_6c07b07c062484ab, []int{36}
}
func (m *ContainerStateWaiting) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1060,7 +1088,7 @@ var xxx_messageInfo_ContainerStateWaiting proto.InternalMessageInfo
func (m *ContainerStatus) Reset() { *m = ContainerStatus{} }
func (*ContainerStatus) ProtoMessage() {}
func (*ContainerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{36}
+ return fileDescriptor_6c07b07c062484ab, []int{37}
}
func (m *ContainerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1088,7 +1116,7 @@ var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo
func (m *DaemonEndpoint) Reset() { *m = DaemonEndpoint{} }
func (*DaemonEndpoint) ProtoMessage() {}
func (*DaemonEndpoint) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{37}
+ return fileDescriptor_6c07b07c062484ab, []int{38}
}
func (m *DaemonEndpoint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1116,7 +1144,7 @@ var xxx_messageInfo_DaemonEndpoint proto.InternalMessageInfo
func (m *DownwardAPIProjection) Reset() { *m = DownwardAPIProjection{} }
func (*DownwardAPIProjection) ProtoMessage() {}
func (*DownwardAPIProjection) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{38}
+ return fileDescriptor_6c07b07c062484ab, []int{39}
}
func (m *DownwardAPIProjection) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1144,7 +1172,7 @@ var xxx_messageInfo_DownwardAPIProjection proto.InternalMessageInfo
func (m *DownwardAPIVolumeFile) Reset() { *m = DownwardAPIVolumeFile{} }
func (*DownwardAPIVolumeFile) ProtoMessage() {}
func (*DownwardAPIVolumeFile) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{39}
+ return fileDescriptor_6c07b07c062484ab, []int{40}
}
func (m *DownwardAPIVolumeFile) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1172,7 +1200,7 @@ var xxx_messageInfo_DownwardAPIVolumeFile proto.InternalMessageInfo
func (m *DownwardAPIVolumeSource) Reset() { *m = DownwardAPIVolumeSource{} }
func (*DownwardAPIVolumeSource) ProtoMessage() {}
func (*DownwardAPIVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{40}
+ return fileDescriptor_6c07b07c062484ab, []int{41}
}
func (m *DownwardAPIVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1200,7 +1228,7 @@ var xxx_messageInfo_DownwardAPIVolumeSource proto.InternalMessageInfo
func (m *EmptyDirVolumeSource) Reset() { *m = EmptyDirVolumeSource{} }
func (*EmptyDirVolumeSource) ProtoMessage() {}
func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{41}
+ return fileDescriptor_6c07b07c062484ab, []int{42}
}
func (m *EmptyDirVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1228,7 +1256,7 @@ var xxx_messageInfo_EmptyDirVolumeSource proto.InternalMessageInfo
func (m *EndpointAddress) Reset() { *m = EndpointAddress{} }
func (*EndpointAddress) ProtoMessage() {}
func (*EndpointAddress) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{42}
+ return fileDescriptor_6c07b07c062484ab, []int{43}
}
func (m *EndpointAddress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1256,7 +1284,7 @@ var xxx_messageInfo_EndpointAddress proto.InternalMessageInfo
func (m *EndpointPort) Reset() { *m = EndpointPort{} }
func (*EndpointPort) ProtoMessage() {}
func (*EndpointPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{43}
+ return fileDescriptor_6c07b07c062484ab, []int{44}
}
func (m *EndpointPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1284,7 +1312,7 @@ var xxx_messageInfo_EndpointPort proto.InternalMessageInfo
func (m *EndpointSubset) Reset() { *m = EndpointSubset{} }
func (*EndpointSubset) ProtoMessage() {}
func (*EndpointSubset) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{44}
+ return fileDescriptor_6c07b07c062484ab, []int{45}
}
func (m *EndpointSubset) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1312,7 +1340,7 @@ var xxx_messageInfo_EndpointSubset proto.InternalMessageInfo
func (m *Endpoints) Reset() { *m = Endpoints{} }
func (*Endpoints) ProtoMessage() {}
func (*Endpoints) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{45}
+ return fileDescriptor_6c07b07c062484ab, []int{46}
}
func (m *Endpoints) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1340,7 +1368,7 @@ var xxx_messageInfo_Endpoints proto.InternalMessageInfo
func (m *EndpointsList) Reset() { *m = EndpointsList{} }
func (*EndpointsList) ProtoMessage() {}
func (*EndpointsList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{46}
+ return fileDescriptor_6c07b07c062484ab, []int{47}
}
func (m *EndpointsList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1368,7 +1396,7 @@ var xxx_messageInfo_EndpointsList proto.InternalMessageInfo
func (m *EnvFromSource) Reset() { *m = EnvFromSource{} }
func (*EnvFromSource) ProtoMessage() {}
func (*EnvFromSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{47}
+ return fileDescriptor_6c07b07c062484ab, []int{48}
}
func (m *EnvFromSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1396,7 +1424,7 @@ var xxx_messageInfo_EnvFromSource proto.InternalMessageInfo
func (m *EnvVar) Reset() { *m = EnvVar{} }
func (*EnvVar) ProtoMessage() {}
func (*EnvVar) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{48}
+ return fileDescriptor_6c07b07c062484ab, []int{49}
}
func (m *EnvVar) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1424,7 +1452,7 @@ var xxx_messageInfo_EnvVar proto.InternalMessageInfo
func (m *EnvVarSource) Reset() { *m = EnvVarSource{} }
func (*EnvVarSource) ProtoMessage() {}
func (*EnvVarSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{49}
+ return fileDescriptor_6c07b07c062484ab, []int{50}
}
func (m *EnvVarSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1452,7 +1480,7 @@ var xxx_messageInfo_EnvVarSource proto.InternalMessageInfo
func (m *EphemeralContainer) Reset() { *m = EphemeralContainer{} }
func (*EphemeralContainer) ProtoMessage() {}
func (*EphemeralContainer) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{50}
+ return fileDescriptor_6c07b07c062484ab, []int{51}
}
func (m *EphemeralContainer) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1480,7 +1508,7 @@ var xxx_messageInfo_EphemeralContainer proto.InternalMessageInfo
func (m *EphemeralContainerCommon) Reset() { *m = EphemeralContainerCommon{} }
func (*EphemeralContainerCommon) ProtoMessage() {}
func (*EphemeralContainerCommon) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{51}
+ return fileDescriptor_6c07b07c062484ab, []int{52}
}
func (m *EphemeralContainerCommon) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1508,7 +1536,7 @@ var xxx_messageInfo_EphemeralContainerCommon proto.InternalMessageInfo
func (m *EphemeralVolumeSource) Reset() { *m = EphemeralVolumeSource{} }
func (*EphemeralVolumeSource) ProtoMessage() {}
func (*EphemeralVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{52}
+ return fileDescriptor_6c07b07c062484ab, []int{53}
}
func (m *EphemeralVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1536,7 +1564,7 @@ var xxx_messageInfo_EphemeralVolumeSource proto.InternalMessageInfo
func (m *Event) Reset() { *m = Event{} }
func (*Event) ProtoMessage() {}
func (*Event) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{53}
+ return fileDescriptor_6c07b07c062484ab, []int{54}
}
func (m *Event) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1564,7 +1592,7 @@ var xxx_messageInfo_Event proto.InternalMessageInfo
func (m *EventList) Reset() { *m = EventList{} }
func (*EventList) ProtoMessage() {}
func (*EventList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{54}
+ return fileDescriptor_6c07b07c062484ab, []int{55}
}
func (m *EventList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1592,7 +1620,7 @@ var xxx_messageInfo_EventList proto.InternalMessageInfo
func (m *EventSeries) Reset() { *m = EventSeries{} }
func (*EventSeries) ProtoMessage() {}
func (*EventSeries) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{55}
+ return fileDescriptor_6c07b07c062484ab, []int{56}
}
func (m *EventSeries) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1620,7 +1648,7 @@ var xxx_messageInfo_EventSeries proto.InternalMessageInfo
func (m *EventSource) Reset() { *m = EventSource{} }
func (*EventSource) ProtoMessage() {}
func (*EventSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{56}
+ return fileDescriptor_6c07b07c062484ab, []int{57}
}
func (m *EventSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1648,7 +1676,7 @@ var xxx_messageInfo_EventSource proto.InternalMessageInfo
func (m *ExecAction) Reset() { *m = ExecAction{} }
func (*ExecAction) ProtoMessage() {}
func (*ExecAction) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{57}
+ return fileDescriptor_6c07b07c062484ab, []int{58}
}
func (m *ExecAction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1676,7 +1704,7 @@ var xxx_messageInfo_ExecAction proto.InternalMessageInfo
func (m *FCVolumeSource) Reset() { *m = FCVolumeSource{} }
func (*FCVolumeSource) ProtoMessage() {}
func (*FCVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{58}
+ return fileDescriptor_6c07b07c062484ab, []int{59}
}
func (m *FCVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1704,7 +1732,7 @@ var xxx_messageInfo_FCVolumeSource proto.InternalMessageInfo
func (m *FlexPersistentVolumeSource) Reset() { *m = FlexPersistentVolumeSource{} }
func (*FlexPersistentVolumeSource) ProtoMessage() {}
func (*FlexPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{59}
+ return fileDescriptor_6c07b07c062484ab, []int{60}
}
func (m *FlexPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1732,7 +1760,7 @@ var xxx_messageInfo_FlexPersistentVolumeSource proto.InternalMessageInfo
func (m *FlexVolumeSource) Reset() { *m = FlexVolumeSource{} }
func (*FlexVolumeSource) ProtoMessage() {}
func (*FlexVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{60}
+ return fileDescriptor_6c07b07c062484ab, []int{61}
}
func (m *FlexVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1760,7 +1788,7 @@ var xxx_messageInfo_FlexVolumeSource proto.InternalMessageInfo
func (m *FlockerVolumeSource) Reset() { *m = FlockerVolumeSource{} }
func (*FlockerVolumeSource) ProtoMessage() {}
func (*FlockerVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{61}
+ return fileDescriptor_6c07b07c062484ab, []int{62}
}
func (m *FlockerVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1788,7 +1816,7 @@ var xxx_messageInfo_FlockerVolumeSource proto.InternalMessageInfo
func (m *GCEPersistentDiskVolumeSource) Reset() { *m = GCEPersistentDiskVolumeSource{} }
func (*GCEPersistentDiskVolumeSource) ProtoMessage() {}
func (*GCEPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{62}
+ return fileDescriptor_6c07b07c062484ab, []int{63}
}
func (m *GCEPersistentDiskVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1816,7 +1844,7 @@ var xxx_messageInfo_GCEPersistentDiskVolumeSource proto.InternalMessageInfo
func (m *GRPCAction) Reset() { *m = GRPCAction{} }
func (*GRPCAction) ProtoMessage() {}
func (*GRPCAction) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{63}
+ return fileDescriptor_6c07b07c062484ab, []int{64}
}
func (m *GRPCAction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1844,7 +1872,7 @@ var xxx_messageInfo_GRPCAction proto.InternalMessageInfo
func (m *GitRepoVolumeSource) Reset() { *m = GitRepoVolumeSource{} }
func (*GitRepoVolumeSource) ProtoMessage() {}
func (*GitRepoVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{64}
+ return fileDescriptor_6c07b07c062484ab, []int{65}
}
func (m *GitRepoVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1872,7 +1900,7 @@ var xxx_messageInfo_GitRepoVolumeSource proto.InternalMessageInfo
func (m *GlusterfsPersistentVolumeSource) Reset() { *m = GlusterfsPersistentVolumeSource{} }
func (*GlusterfsPersistentVolumeSource) ProtoMessage() {}
func (*GlusterfsPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{65}
+ return fileDescriptor_6c07b07c062484ab, []int{66}
}
func (m *GlusterfsPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1900,7 +1928,7 @@ var xxx_messageInfo_GlusterfsPersistentVolumeSource proto.InternalMessageInfo
func (m *GlusterfsVolumeSource) Reset() { *m = GlusterfsVolumeSource{} }
func (*GlusterfsVolumeSource) ProtoMessage() {}
func (*GlusterfsVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{66}
+ return fileDescriptor_6c07b07c062484ab, []int{67}
}
func (m *GlusterfsVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1928,7 +1956,7 @@ var xxx_messageInfo_GlusterfsVolumeSource proto.InternalMessageInfo
func (m *HTTPGetAction) Reset() { *m = HTTPGetAction{} }
func (*HTTPGetAction) ProtoMessage() {}
func (*HTTPGetAction) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{67}
+ return fileDescriptor_6c07b07c062484ab, []int{68}
}
func (m *HTTPGetAction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1956,7 +1984,7 @@ var xxx_messageInfo_HTTPGetAction proto.InternalMessageInfo
func (m *HTTPHeader) Reset() { *m = HTTPHeader{} }
func (*HTTPHeader) ProtoMessage() {}
func (*HTTPHeader) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{68}
+ return fileDescriptor_6c07b07c062484ab, []int{69}
}
func (m *HTTPHeader) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1984,7 +2012,7 @@ var xxx_messageInfo_HTTPHeader proto.InternalMessageInfo
func (m *HostAlias) Reset() { *m = HostAlias{} }
func (*HostAlias) ProtoMessage() {}
func (*HostAlias) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{69}
+ return fileDescriptor_6c07b07c062484ab, []int{70}
}
func (m *HostAlias) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2012,7 +2040,7 @@ var xxx_messageInfo_HostAlias proto.InternalMessageInfo
func (m *HostIP) Reset() { *m = HostIP{} }
func (*HostIP) ProtoMessage() {}
func (*HostIP) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{70}
+ return fileDescriptor_6c07b07c062484ab, []int{71}
}
func (m *HostIP) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2040,7 +2068,7 @@ var xxx_messageInfo_HostIP proto.InternalMessageInfo
func (m *HostPathVolumeSource) Reset() { *m = HostPathVolumeSource{} }
func (*HostPathVolumeSource) ProtoMessage() {}
func (*HostPathVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{71}
+ return fileDescriptor_6c07b07c062484ab, []int{72}
}
func (m *HostPathVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2068,7 +2096,7 @@ var xxx_messageInfo_HostPathVolumeSource proto.InternalMessageInfo
func (m *ISCSIPersistentVolumeSource) Reset() { *m = ISCSIPersistentVolumeSource{} }
func (*ISCSIPersistentVolumeSource) ProtoMessage() {}
func (*ISCSIPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{72}
+ return fileDescriptor_6c07b07c062484ab, []int{73}
}
func (m *ISCSIPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2096,7 +2124,7 @@ var xxx_messageInfo_ISCSIPersistentVolumeSource proto.InternalMessageInfo
func (m *ISCSIVolumeSource) Reset() { *m = ISCSIVolumeSource{} }
func (*ISCSIVolumeSource) ProtoMessage() {}
func (*ISCSIVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{73}
+ return fileDescriptor_6c07b07c062484ab, []int{74}
}
func (m *ISCSIVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2124,7 +2152,7 @@ var xxx_messageInfo_ISCSIVolumeSource proto.InternalMessageInfo
func (m *KeyToPath) Reset() { *m = KeyToPath{} }
func (*KeyToPath) ProtoMessage() {}
func (*KeyToPath) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{74}
+ return fileDescriptor_6c07b07c062484ab, []int{75}
}
func (m *KeyToPath) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2152,7 +2180,7 @@ var xxx_messageInfo_KeyToPath proto.InternalMessageInfo
func (m *Lifecycle) Reset() { *m = Lifecycle{} }
func (*Lifecycle) ProtoMessage() {}
func (*Lifecycle) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{75}
+ return fileDescriptor_6c07b07c062484ab, []int{76}
}
func (m *Lifecycle) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2180,7 +2208,7 @@ var xxx_messageInfo_Lifecycle proto.InternalMessageInfo
func (m *LifecycleHandler) Reset() { *m = LifecycleHandler{} }
func (*LifecycleHandler) ProtoMessage() {}
func (*LifecycleHandler) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{76}
+ return fileDescriptor_6c07b07c062484ab, []int{77}
}
func (m *LifecycleHandler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2208,7 +2236,7 @@ var xxx_messageInfo_LifecycleHandler proto.InternalMessageInfo
func (m *LimitRange) Reset() { *m = LimitRange{} }
func (*LimitRange) ProtoMessage() {}
func (*LimitRange) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{77}
+ return fileDescriptor_6c07b07c062484ab, []int{78}
}
func (m *LimitRange) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2236,7 +2264,7 @@ var xxx_messageInfo_LimitRange proto.InternalMessageInfo
func (m *LimitRangeItem) Reset() { *m = LimitRangeItem{} }
func (*LimitRangeItem) ProtoMessage() {}
func (*LimitRangeItem) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{78}
+ return fileDescriptor_6c07b07c062484ab, []int{79}
}
func (m *LimitRangeItem) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2264,7 +2292,7 @@ var xxx_messageInfo_LimitRangeItem proto.InternalMessageInfo
func (m *LimitRangeList) Reset() { *m = LimitRangeList{} }
func (*LimitRangeList) ProtoMessage() {}
func (*LimitRangeList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{79}
+ return fileDescriptor_6c07b07c062484ab, []int{80}
}
func (m *LimitRangeList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2292,7 +2320,7 @@ var xxx_messageInfo_LimitRangeList proto.InternalMessageInfo
func (m *LimitRangeSpec) Reset() { *m = LimitRangeSpec{} }
func (*LimitRangeSpec) ProtoMessage() {}
func (*LimitRangeSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{80}
+ return fileDescriptor_6c07b07c062484ab, []int{81}
}
func (m *LimitRangeSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2320,7 +2348,7 @@ var xxx_messageInfo_LimitRangeSpec proto.InternalMessageInfo
func (m *List) Reset() { *m = List{} }
func (*List) ProtoMessage() {}
func (*List) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{81}
+ return fileDescriptor_6c07b07c062484ab, []int{82}
}
func (m *List) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2348,7 +2376,7 @@ var xxx_messageInfo_List proto.InternalMessageInfo
func (m *LoadBalancerIngress) Reset() { *m = LoadBalancerIngress{} }
func (*LoadBalancerIngress) ProtoMessage() {}
func (*LoadBalancerIngress) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{82}
+ return fileDescriptor_6c07b07c062484ab, []int{83}
}
func (m *LoadBalancerIngress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2376,7 +2404,7 @@ var xxx_messageInfo_LoadBalancerIngress proto.InternalMessageInfo
func (m *LoadBalancerStatus) Reset() { *m = LoadBalancerStatus{} }
func (*LoadBalancerStatus) ProtoMessage() {}
func (*LoadBalancerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{83}
+ return fileDescriptor_6c07b07c062484ab, []int{84}
}
func (m *LoadBalancerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2404,7 +2432,7 @@ var xxx_messageInfo_LoadBalancerStatus proto.InternalMessageInfo
func (m *LocalObjectReference) Reset() { *m = LocalObjectReference{} }
func (*LocalObjectReference) ProtoMessage() {}
func (*LocalObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{84}
+ return fileDescriptor_6c07b07c062484ab, []int{85}
}
func (m *LocalObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2432,7 +2460,7 @@ var xxx_messageInfo_LocalObjectReference proto.InternalMessageInfo
func (m *LocalVolumeSource) Reset() { *m = LocalVolumeSource{} }
func (*LocalVolumeSource) ProtoMessage() {}
func (*LocalVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{85}
+ return fileDescriptor_6c07b07c062484ab, []int{86}
}
func (m *LocalVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2460,7 +2488,7 @@ var xxx_messageInfo_LocalVolumeSource proto.InternalMessageInfo
func (m *ModifyVolumeStatus) Reset() { *m = ModifyVolumeStatus{} }
func (*ModifyVolumeStatus) ProtoMessage() {}
func (*ModifyVolumeStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{86}
+ return fileDescriptor_6c07b07c062484ab, []int{87}
}
func (m *ModifyVolumeStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2488,7 +2516,7 @@ var xxx_messageInfo_ModifyVolumeStatus proto.InternalMessageInfo
func (m *NFSVolumeSource) Reset() { *m = NFSVolumeSource{} }
func (*NFSVolumeSource) ProtoMessage() {}
func (*NFSVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{87}
+ return fileDescriptor_6c07b07c062484ab, []int{88}
}
func (m *NFSVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2516,7 +2544,7 @@ var xxx_messageInfo_NFSVolumeSource proto.InternalMessageInfo
func (m *Namespace) Reset() { *m = Namespace{} }
func (*Namespace) ProtoMessage() {}
func (*Namespace) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{88}
+ return fileDescriptor_6c07b07c062484ab, []int{89}
}
func (m *Namespace) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2544,7 +2572,7 @@ var xxx_messageInfo_Namespace proto.InternalMessageInfo
func (m *NamespaceCondition) Reset() { *m = NamespaceCondition{} }
func (*NamespaceCondition) ProtoMessage() {}
func (*NamespaceCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{89}
+ return fileDescriptor_6c07b07c062484ab, []int{90}
}
func (m *NamespaceCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2572,7 +2600,7 @@ var xxx_messageInfo_NamespaceCondition proto.InternalMessageInfo
func (m *NamespaceList) Reset() { *m = NamespaceList{} }
func (*NamespaceList) ProtoMessage() {}
func (*NamespaceList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{90}
+ return fileDescriptor_6c07b07c062484ab, []int{91}
}
func (m *NamespaceList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2600,7 +2628,7 @@ var xxx_messageInfo_NamespaceList proto.InternalMessageInfo
func (m *NamespaceSpec) Reset() { *m = NamespaceSpec{} }
func (*NamespaceSpec) ProtoMessage() {}
func (*NamespaceSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{91}
+ return fileDescriptor_6c07b07c062484ab, []int{92}
}
func (m *NamespaceSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2628,7 +2656,7 @@ var xxx_messageInfo_NamespaceSpec proto.InternalMessageInfo
func (m *NamespaceStatus) Reset() { *m = NamespaceStatus{} }
func (*NamespaceStatus) ProtoMessage() {}
func (*NamespaceStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{92}
+ return fileDescriptor_6c07b07c062484ab, []int{93}
}
func (m *NamespaceStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2656,7 +2684,7 @@ var xxx_messageInfo_NamespaceStatus proto.InternalMessageInfo
func (m *Node) Reset() { *m = Node{} }
func (*Node) ProtoMessage() {}
func (*Node) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{93}
+ return fileDescriptor_6c07b07c062484ab, []int{94}
}
func (m *Node) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2684,7 +2712,7 @@ var xxx_messageInfo_Node proto.InternalMessageInfo
func (m *NodeAddress) Reset() { *m = NodeAddress{} }
func (*NodeAddress) ProtoMessage() {}
func (*NodeAddress) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{94}
+ return fileDescriptor_6c07b07c062484ab, []int{95}
}
func (m *NodeAddress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2712,7 +2740,7 @@ var xxx_messageInfo_NodeAddress proto.InternalMessageInfo
func (m *NodeAffinity) Reset() { *m = NodeAffinity{} }
func (*NodeAffinity) ProtoMessage() {}
func (*NodeAffinity) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{95}
+ return fileDescriptor_6c07b07c062484ab, []int{96}
}
func (m *NodeAffinity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2740,7 +2768,7 @@ var xxx_messageInfo_NodeAffinity proto.InternalMessageInfo
func (m *NodeCondition) Reset() { *m = NodeCondition{} }
func (*NodeCondition) ProtoMessage() {}
func (*NodeCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{96}
+ return fileDescriptor_6c07b07c062484ab, []int{97}
}
func (m *NodeCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2768,7 +2796,7 @@ var xxx_messageInfo_NodeCondition proto.InternalMessageInfo
func (m *NodeConfigSource) Reset() { *m = NodeConfigSource{} }
func (*NodeConfigSource) ProtoMessage() {}
func (*NodeConfigSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{97}
+ return fileDescriptor_6c07b07c062484ab, []int{98}
}
func (m *NodeConfigSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2796,7 +2824,7 @@ var xxx_messageInfo_NodeConfigSource proto.InternalMessageInfo
func (m *NodeConfigStatus) Reset() { *m = NodeConfigStatus{} }
func (*NodeConfigStatus) ProtoMessage() {}
func (*NodeConfigStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{98}
+ return fileDescriptor_6c07b07c062484ab, []int{99}
}
func (m *NodeConfigStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2824,7 +2852,7 @@ var xxx_messageInfo_NodeConfigStatus proto.InternalMessageInfo
func (m *NodeDaemonEndpoints) Reset() { *m = NodeDaemonEndpoints{} }
func (*NodeDaemonEndpoints) ProtoMessage() {}
func (*NodeDaemonEndpoints) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{99}
+ return fileDescriptor_6c07b07c062484ab, []int{100}
}
func (m *NodeDaemonEndpoints) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2852,7 +2880,7 @@ var xxx_messageInfo_NodeDaemonEndpoints proto.InternalMessageInfo
func (m *NodeList) Reset() { *m = NodeList{} }
func (*NodeList) ProtoMessage() {}
func (*NodeList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{100}
+ return fileDescriptor_6c07b07c062484ab, []int{101}
}
func (m *NodeList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2880,7 +2908,7 @@ var xxx_messageInfo_NodeList proto.InternalMessageInfo
func (m *NodeProxyOptions) Reset() { *m = NodeProxyOptions{} }
func (*NodeProxyOptions) ProtoMessage() {}
func (*NodeProxyOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{101}
+ return fileDescriptor_6c07b07c062484ab, []int{102}
}
func (m *NodeProxyOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2905,15 +2933,15 @@ func (m *NodeProxyOptions) XXX_DiscardUnknown() {
var xxx_messageInfo_NodeProxyOptions proto.InternalMessageInfo
-func (m *NodeResources) Reset() { *m = NodeResources{} }
-func (*NodeResources) ProtoMessage() {}
-func (*NodeResources) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{102}
+func (m *NodeRuntimeHandler) Reset() { *m = NodeRuntimeHandler{} }
+func (*NodeRuntimeHandler) ProtoMessage() {}
+func (*NodeRuntimeHandler) Descriptor() ([]byte, []int) {
+ return fileDescriptor_6c07b07c062484ab, []int{103}
}
-func (m *NodeResources) XXX_Unmarshal(b []byte) error {
+func (m *NodeRuntimeHandler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *NodeResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *NodeRuntimeHandler) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
@@ -2921,22 +2949,50 @@ func (m *NodeResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error
}
return b[:n], nil
}
-func (m *NodeResources) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NodeResources.Merge(m, src)
+func (m *NodeRuntimeHandler) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NodeRuntimeHandler.Merge(m, src)
}
-func (m *NodeResources) XXX_Size() int {
+func (m *NodeRuntimeHandler) XXX_Size() int {
return m.Size()
}
-func (m *NodeResources) XXX_DiscardUnknown() {
- xxx_messageInfo_NodeResources.DiscardUnknown(m)
+func (m *NodeRuntimeHandler) XXX_DiscardUnknown() {
+ xxx_messageInfo_NodeRuntimeHandler.DiscardUnknown(m)
}
-var xxx_messageInfo_NodeResources proto.InternalMessageInfo
+var xxx_messageInfo_NodeRuntimeHandler proto.InternalMessageInfo
+
+func (m *NodeRuntimeHandlerFeatures) Reset() { *m = NodeRuntimeHandlerFeatures{} }
+func (*NodeRuntimeHandlerFeatures) ProtoMessage() {}
+func (*NodeRuntimeHandlerFeatures) Descriptor() ([]byte, []int) {
+ return fileDescriptor_6c07b07c062484ab, []int{104}
+}
+func (m *NodeRuntimeHandlerFeatures) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NodeRuntimeHandlerFeatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NodeRuntimeHandlerFeatures) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NodeRuntimeHandlerFeatures.Merge(m, src)
+}
+func (m *NodeRuntimeHandlerFeatures) XXX_Size() int {
+ return m.Size()
+}
+func (m *NodeRuntimeHandlerFeatures) XXX_DiscardUnknown() {
+ xxx_messageInfo_NodeRuntimeHandlerFeatures.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NodeRuntimeHandlerFeatures proto.InternalMessageInfo
func (m *NodeSelector) Reset() { *m = NodeSelector{} }
func (*NodeSelector) ProtoMessage() {}
func (*NodeSelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{103}
+ return fileDescriptor_6c07b07c062484ab, []int{105}
}
func (m *NodeSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2964,7 +3020,7 @@ var xxx_messageInfo_NodeSelector proto.InternalMessageInfo
func (m *NodeSelectorRequirement) Reset() { *m = NodeSelectorRequirement{} }
func (*NodeSelectorRequirement) ProtoMessage() {}
func (*NodeSelectorRequirement) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{104}
+ return fileDescriptor_6c07b07c062484ab, []int{106}
}
func (m *NodeSelectorRequirement) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2992,7 +3048,7 @@ var xxx_messageInfo_NodeSelectorRequirement proto.InternalMessageInfo
func (m *NodeSelectorTerm) Reset() { *m = NodeSelectorTerm{} }
func (*NodeSelectorTerm) ProtoMessage() {}
func (*NodeSelectorTerm) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{105}
+ return fileDescriptor_6c07b07c062484ab, []int{107}
}
func (m *NodeSelectorTerm) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3020,7 +3076,7 @@ var xxx_messageInfo_NodeSelectorTerm proto.InternalMessageInfo
func (m *NodeSpec) Reset() { *m = NodeSpec{} }
func (*NodeSpec) ProtoMessage() {}
func (*NodeSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{106}
+ return fileDescriptor_6c07b07c062484ab, []int{108}
}
func (m *NodeSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3048,7 +3104,7 @@ var xxx_messageInfo_NodeSpec proto.InternalMessageInfo
func (m *NodeStatus) Reset() { *m = NodeStatus{} }
func (*NodeStatus) ProtoMessage() {}
func (*NodeStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{107}
+ return fileDescriptor_6c07b07c062484ab, []int{109}
}
func (m *NodeStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3076,7 +3132,7 @@ var xxx_messageInfo_NodeStatus proto.InternalMessageInfo
func (m *NodeSystemInfo) Reset() { *m = NodeSystemInfo{} }
func (*NodeSystemInfo) ProtoMessage() {}
func (*NodeSystemInfo) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{108}
+ return fileDescriptor_6c07b07c062484ab, []int{110}
}
func (m *NodeSystemInfo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3104,7 +3160,7 @@ var xxx_messageInfo_NodeSystemInfo proto.InternalMessageInfo
func (m *ObjectFieldSelector) Reset() { *m = ObjectFieldSelector{} }
func (*ObjectFieldSelector) ProtoMessage() {}
func (*ObjectFieldSelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{109}
+ return fileDescriptor_6c07b07c062484ab, []int{111}
}
func (m *ObjectFieldSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3132,7 +3188,7 @@ var xxx_messageInfo_ObjectFieldSelector proto.InternalMessageInfo
func (m *ObjectReference) Reset() { *m = ObjectReference{} }
func (*ObjectReference) ProtoMessage() {}
func (*ObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{110}
+ return fileDescriptor_6c07b07c062484ab, []int{112}
}
func (m *ObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3160,7 +3216,7 @@ var xxx_messageInfo_ObjectReference proto.InternalMessageInfo
func (m *PersistentVolume) Reset() { *m = PersistentVolume{} }
func (*PersistentVolume) ProtoMessage() {}
func (*PersistentVolume) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{111}
+ return fileDescriptor_6c07b07c062484ab, []int{113}
}
func (m *PersistentVolume) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3188,7 +3244,7 @@ var xxx_messageInfo_PersistentVolume proto.InternalMessageInfo
func (m *PersistentVolumeClaim) Reset() { *m = PersistentVolumeClaim{} }
func (*PersistentVolumeClaim) ProtoMessage() {}
func (*PersistentVolumeClaim) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{112}
+ return fileDescriptor_6c07b07c062484ab, []int{114}
}
func (m *PersistentVolumeClaim) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3216,7 +3272,7 @@ var xxx_messageInfo_PersistentVolumeClaim proto.InternalMessageInfo
func (m *PersistentVolumeClaimCondition) Reset() { *m = PersistentVolumeClaimCondition{} }
func (*PersistentVolumeClaimCondition) ProtoMessage() {}
func (*PersistentVolumeClaimCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{113}
+ return fileDescriptor_6c07b07c062484ab, []int{115}
}
func (m *PersistentVolumeClaimCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3244,7 +3300,7 @@ var xxx_messageInfo_PersistentVolumeClaimCondition proto.InternalMessageInfo
func (m *PersistentVolumeClaimList) Reset() { *m = PersistentVolumeClaimList{} }
func (*PersistentVolumeClaimList) ProtoMessage() {}
func (*PersistentVolumeClaimList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{114}
+ return fileDescriptor_6c07b07c062484ab, []int{116}
}
func (m *PersistentVolumeClaimList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3272,7 +3328,7 @@ var xxx_messageInfo_PersistentVolumeClaimList proto.InternalMessageInfo
func (m *PersistentVolumeClaimSpec) Reset() { *m = PersistentVolumeClaimSpec{} }
func (*PersistentVolumeClaimSpec) ProtoMessage() {}
func (*PersistentVolumeClaimSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{115}
+ return fileDescriptor_6c07b07c062484ab, []int{117}
}
func (m *PersistentVolumeClaimSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3300,7 +3356,7 @@ var xxx_messageInfo_PersistentVolumeClaimSpec proto.InternalMessageInfo
func (m *PersistentVolumeClaimStatus) Reset() { *m = PersistentVolumeClaimStatus{} }
func (*PersistentVolumeClaimStatus) ProtoMessage() {}
func (*PersistentVolumeClaimStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{116}
+ return fileDescriptor_6c07b07c062484ab, []int{118}
}
func (m *PersistentVolumeClaimStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3328,7 +3384,7 @@ var xxx_messageInfo_PersistentVolumeClaimStatus proto.InternalMessageInfo
func (m *PersistentVolumeClaimTemplate) Reset() { *m = PersistentVolumeClaimTemplate{} }
func (*PersistentVolumeClaimTemplate) ProtoMessage() {}
func (*PersistentVolumeClaimTemplate) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{117}
+ return fileDescriptor_6c07b07c062484ab, []int{119}
}
func (m *PersistentVolumeClaimTemplate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3356,7 +3412,7 @@ var xxx_messageInfo_PersistentVolumeClaimTemplate proto.InternalMessageInfo
func (m *PersistentVolumeClaimVolumeSource) Reset() { *m = PersistentVolumeClaimVolumeSource{} }
func (*PersistentVolumeClaimVolumeSource) ProtoMessage() {}
func (*PersistentVolumeClaimVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{118}
+ return fileDescriptor_6c07b07c062484ab, []int{120}
}
func (m *PersistentVolumeClaimVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3384,7 +3440,7 @@ var xxx_messageInfo_PersistentVolumeClaimVolumeSource proto.InternalMessageInfo
func (m *PersistentVolumeList) Reset() { *m = PersistentVolumeList{} }
func (*PersistentVolumeList) ProtoMessage() {}
func (*PersistentVolumeList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{119}
+ return fileDescriptor_6c07b07c062484ab, []int{121}
}
func (m *PersistentVolumeList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3412,7 +3468,7 @@ var xxx_messageInfo_PersistentVolumeList proto.InternalMessageInfo
func (m *PersistentVolumeSource) Reset() { *m = PersistentVolumeSource{} }
func (*PersistentVolumeSource) ProtoMessage() {}
func (*PersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{120}
+ return fileDescriptor_6c07b07c062484ab, []int{122}
}
func (m *PersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3440,7 +3496,7 @@ var xxx_messageInfo_PersistentVolumeSource proto.InternalMessageInfo
func (m *PersistentVolumeSpec) Reset() { *m = PersistentVolumeSpec{} }
func (*PersistentVolumeSpec) ProtoMessage() {}
func (*PersistentVolumeSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{121}
+ return fileDescriptor_6c07b07c062484ab, []int{123}
}
func (m *PersistentVolumeSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3468,7 +3524,7 @@ var xxx_messageInfo_PersistentVolumeSpec proto.InternalMessageInfo
func (m *PersistentVolumeStatus) Reset() { *m = PersistentVolumeStatus{} }
func (*PersistentVolumeStatus) ProtoMessage() {}
func (*PersistentVolumeStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{122}
+ return fileDescriptor_6c07b07c062484ab, []int{124}
}
func (m *PersistentVolumeStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3496,7 +3552,7 @@ var xxx_messageInfo_PersistentVolumeStatus proto.InternalMessageInfo
func (m *PhotonPersistentDiskVolumeSource) Reset() { *m = PhotonPersistentDiskVolumeSource{} }
func (*PhotonPersistentDiskVolumeSource) ProtoMessage() {}
func (*PhotonPersistentDiskVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{123}
+ return fileDescriptor_6c07b07c062484ab, []int{125}
}
func (m *PhotonPersistentDiskVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3524,7 +3580,7 @@ var xxx_messageInfo_PhotonPersistentDiskVolumeSource proto.InternalMessageInfo
func (m *Pod) Reset() { *m = Pod{} }
func (*Pod) ProtoMessage() {}
func (*Pod) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{124}
+ return fileDescriptor_6c07b07c062484ab, []int{126}
}
func (m *Pod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3552,7 +3608,7 @@ var xxx_messageInfo_Pod proto.InternalMessageInfo
func (m *PodAffinity) Reset() { *m = PodAffinity{} }
func (*PodAffinity) ProtoMessage() {}
func (*PodAffinity) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{125}
+ return fileDescriptor_6c07b07c062484ab, []int{127}
}
func (m *PodAffinity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3580,7 +3636,7 @@ var xxx_messageInfo_PodAffinity proto.InternalMessageInfo
func (m *PodAffinityTerm) Reset() { *m = PodAffinityTerm{} }
func (*PodAffinityTerm) ProtoMessage() {}
func (*PodAffinityTerm) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{126}
+ return fileDescriptor_6c07b07c062484ab, []int{128}
}
func (m *PodAffinityTerm) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3608,7 +3664,7 @@ var xxx_messageInfo_PodAffinityTerm proto.InternalMessageInfo
func (m *PodAntiAffinity) Reset() { *m = PodAntiAffinity{} }
func (*PodAntiAffinity) ProtoMessage() {}
func (*PodAntiAffinity) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{127}
+ return fileDescriptor_6c07b07c062484ab, []int{129}
}
func (m *PodAntiAffinity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3636,7 +3692,7 @@ var xxx_messageInfo_PodAntiAffinity proto.InternalMessageInfo
func (m *PodAttachOptions) Reset() { *m = PodAttachOptions{} }
func (*PodAttachOptions) ProtoMessage() {}
func (*PodAttachOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{128}
+ return fileDescriptor_6c07b07c062484ab, []int{130}
}
func (m *PodAttachOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3664,7 +3720,7 @@ var xxx_messageInfo_PodAttachOptions proto.InternalMessageInfo
func (m *PodCondition) Reset() { *m = PodCondition{} }
func (*PodCondition) ProtoMessage() {}
func (*PodCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{129}
+ return fileDescriptor_6c07b07c062484ab, []int{131}
}
func (m *PodCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3692,7 +3748,7 @@ var xxx_messageInfo_PodCondition proto.InternalMessageInfo
func (m *PodDNSConfig) Reset() { *m = PodDNSConfig{} }
func (*PodDNSConfig) ProtoMessage() {}
func (*PodDNSConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{130}
+ return fileDescriptor_6c07b07c062484ab, []int{132}
}
func (m *PodDNSConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3720,7 +3776,7 @@ var xxx_messageInfo_PodDNSConfig proto.InternalMessageInfo
func (m *PodDNSConfigOption) Reset() { *m = PodDNSConfigOption{} }
func (*PodDNSConfigOption) ProtoMessage() {}
func (*PodDNSConfigOption) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{131}
+ return fileDescriptor_6c07b07c062484ab, []int{133}
}
func (m *PodDNSConfigOption) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3748,7 +3804,7 @@ var xxx_messageInfo_PodDNSConfigOption proto.InternalMessageInfo
func (m *PodExecOptions) Reset() { *m = PodExecOptions{} }
func (*PodExecOptions) ProtoMessage() {}
func (*PodExecOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{132}
+ return fileDescriptor_6c07b07c062484ab, []int{134}
}
func (m *PodExecOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3776,7 +3832,7 @@ var xxx_messageInfo_PodExecOptions proto.InternalMessageInfo
func (m *PodIP) Reset() { *m = PodIP{} }
func (*PodIP) ProtoMessage() {}
func (*PodIP) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{133}
+ return fileDescriptor_6c07b07c062484ab, []int{135}
}
func (m *PodIP) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3804,7 +3860,7 @@ var xxx_messageInfo_PodIP proto.InternalMessageInfo
func (m *PodList) Reset() { *m = PodList{} }
func (*PodList) ProtoMessage() {}
func (*PodList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{134}
+ return fileDescriptor_6c07b07c062484ab, []int{136}
}
func (m *PodList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3832,7 +3888,7 @@ var xxx_messageInfo_PodList proto.InternalMessageInfo
func (m *PodLogOptions) Reset() { *m = PodLogOptions{} }
func (*PodLogOptions) ProtoMessage() {}
func (*PodLogOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{135}
+ return fileDescriptor_6c07b07c062484ab, []int{137}
}
func (m *PodLogOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3860,7 +3916,7 @@ var xxx_messageInfo_PodLogOptions proto.InternalMessageInfo
func (m *PodOS) Reset() { *m = PodOS{} }
func (*PodOS) ProtoMessage() {}
func (*PodOS) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{136}
+ return fileDescriptor_6c07b07c062484ab, []int{138}
}
func (m *PodOS) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3888,7 +3944,7 @@ var xxx_messageInfo_PodOS proto.InternalMessageInfo
func (m *PodPortForwardOptions) Reset() { *m = PodPortForwardOptions{} }
func (*PodPortForwardOptions) ProtoMessage() {}
func (*PodPortForwardOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{137}
+ return fileDescriptor_6c07b07c062484ab, []int{139}
}
func (m *PodPortForwardOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3916,7 +3972,7 @@ var xxx_messageInfo_PodPortForwardOptions proto.InternalMessageInfo
func (m *PodProxyOptions) Reset() { *m = PodProxyOptions{} }
func (*PodProxyOptions) ProtoMessage() {}
func (*PodProxyOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{138}
+ return fileDescriptor_6c07b07c062484ab, []int{140}
}
func (m *PodProxyOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3944,7 +4000,7 @@ var xxx_messageInfo_PodProxyOptions proto.InternalMessageInfo
func (m *PodReadinessGate) Reset() { *m = PodReadinessGate{} }
func (*PodReadinessGate) ProtoMessage() {}
func (*PodReadinessGate) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{139}
+ return fileDescriptor_6c07b07c062484ab, []int{141}
}
func (m *PodReadinessGate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -3972,7 +4028,7 @@ var xxx_messageInfo_PodReadinessGate proto.InternalMessageInfo
func (m *PodResourceClaim) Reset() { *m = PodResourceClaim{} }
func (*PodResourceClaim) ProtoMessage() {}
func (*PodResourceClaim) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{140}
+ return fileDescriptor_6c07b07c062484ab, []int{142}
}
func (m *PodResourceClaim) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4000,7 +4056,7 @@ var xxx_messageInfo_PodResourceClaim proto.InternalMessageInfo
func (m *PodResourceClaimStatus) Reset() { *m = PodResourceClaimStatus{} }
func (*PodResourceClaimStatus) ProtoMessage() {}
func (*PodResourceClaimStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{141}
+ return fileDescriptor_6c07b07c062484ab, []int{143}
}
func (m *PodResourceClaimStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4028,7 +4084,7 @@ var xxx_messageInfo_PodResourceClaimStatus proto.InternalMessageInfo
func (m *PodSchedulingGate) Reset() { *m = PodSchedulingGate{} }
func (*PodSchedulingGate) ProtoMessage() {}
func (*PodSchedulingGate) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{142}
+ return fileDescriptor_6c07b07c062484ab, []int{144}
}
func (m *PodSchedulingGate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4056,7 +4112,7 @@ var xxx_messageInfo_PodSchedulingGate proto.InternalMessageInfo
func (m *PodSecurityContext) Reset() { *m = PodSecurityContext{} }
func (*PodSecurityContext) ProtoMessage() {}
func (*PodSecurityContext) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{143}
+ return fileDescriptor_6c07b07c062484ab, []int{145}
}
func (m *PodSecurityContext) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4084,7 +4140,7 @@ var xxx_messageInfo_PodSecurityContext proto.InternalMessageInfo
func (m *PodSignature) Reset() { *m = PodSignature{} }
func (*PodSignature) ProtoMessage() {}
func (*PodSignature) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{144}
+ return fileDescriptor_6c07b07c062484ab, []int{146}
}
func (m *PodSignature) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4112,7 +4168,7 @@ var xxx_messageInfo_PodSignature proto.InternalMessageInfo
func (m *PodSpec) Reset() { *m = PodSpec{} }
func (*PodSpec) ProtoMessage() {}
func (*PodSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{145}
+ return fileDescriptor_6c07b07c062484ab, []int{147}
}
func (m *PodSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4140,7 +4196,7 @@ var xxx_messageInfo_PodSpec proto.InternalMessageInfo
func (m *PodStatus) Reset() { *m = PodStatus{} }
func (*PodStatus) ProtoMessage() {}
func (*PodStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{146}
+ return fileDescriptor_6c07b07c062484ab, []int{148}
}
func (m *PodStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4168,7 +4224,7 @@ var xxx_messageInfo_PodStatus proto.InternalMessageInfo
func (m *PodStatusResult) Reset() { *m = PodStatusResult{} }
func (*PodStatusResult) ProtoMessage() {}
func (*PodStatusResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{147}
+ return fileDescriptor_6c07b07c062484ab, []int{149}
}
func (m *PodStatusResult) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4196,7 +4252,7 @@ var xxx_messageInfo_PodStatusResult proto.InternalMessageInfo
func (m *PodTemplate) Reset() { *m = PodTemplate{} }
func (*PodTemplate) ProtoMessage() {}
func (*PodTemplate) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{148}
+ return fileDescriptor_6c07b07c062484ab, []int{150}
}
func (m *PodTemplate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4224,7 +4280,7 @@ var xxx_messageInfo_PodTemplate proto.InternalMessageInfo
func (m *PodTemplateList) Reset() { *m = PodTemplateList{} }
func (*PodTemplateList) ProtoMessage() {}
func (*PodTemplateList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{149}
+ return fileDescriptor_6c07b07c062484ab, []int{151}
}
func (m *PodTemplateList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4252,7 +4308,7 @@ var xxx_messageInfo_PodTemplateList proto.InternalMessageInfo
func (m *PodTemplateSpec) Reset() { *m = PodTemplateSpec{} }
func (*PodTemplateSpec) ProtoMessage() {}
func (*PodTemplateSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{150}
+ return fileDescriptor_6c07b07c062484ab, []int{152}
}
func (m *PodTemplateSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4280,7 +4336,7 @@ var xxx_messageInfo_PodTemplateSpec proto.InternalMessageInfo
func (m *PortStatus) Reset() { *m = PortStatus{} }
func (*PortStatus) ProtoMessage() {}
func (*PortStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{151}
+ return fileDescriptor_6c07b07c062484ab, []int{153}
}
func (m *PortStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4308,7 +4364,7 @@ var xxx_messageInfo_PortStatus proto.InternalMessageInfo
func (m *PortworxVolumeSource) Reset() { *m = PortworxVolumeSource{} }
func (*PortworxVolumeSource) ProtoMessage() {}
func (*PortworxVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{152}
+ return fileDescriptor_6c07b07c062484ab, []int{154}
}
func (m *PortworxVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4336,7 +4392,7 @@ var xxx_messageInfo_PortworxVolumeSource proto.InternalMessageInfo
func (m *Preconditions) Reset() { *m = Preconditions{} }
func (*Preconditions) ProtoMessage() {}
func (*Preconditions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{153}
+ return fileDescriptor_6c07b07c062484ab, []int{155}
}
func (m *Preconditions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4364,7 +4420,7 @@ var xxx_messageInfo_Preconditions proto.InternalMessageInfo
func (m *PreferAvoidPodsEntry) Reset() { *m = PreferAvoidPodsEntry{} }
func (*PreferAvoidPodsEntry) ProtoMessage() {}
func (*PreferAvoidPodsEntry) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{154}
+ return fileDescriptor_6c07b07c062484ab, []int{156}
}
func (m *PreferAvoidPodsEntry) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4392,7 +4448,7 @@ var xxx_messageInfo_PreferAvoidPodsEntry proto.InternalMessageInfo
func (m *PreferredSchedulingTerm) Reset() { *m = PreferredSchedulingTerm{} }
func (*PreferredSchedulingTerm) ProtoMessage() {}
func (*PreferredSchedulingTerm) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{155}
+ return fileDescriptor_6c07b07c062484ab, []int{157}
}
func (m *PreferredSchedulingTerm) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4420,7 +4476,7 @@ var xxx_messageInfo_PreferredSchedulingTerm proto.InternalMessageInfo
func (m *Probe) Reset() { *m = Probe{} }
func (*Probe) ProtoMessage() {}
func (*Probe) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{156}
+ return fileDescriptor_6c07b07c062484ab, []int{158}
}
func (m *Probe) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4448,7 +4504,7 @@ var xxx_messageInfo_Probe proto.InternalMessageInfo
func (m *ProbeHandler) Reset() { *m = ProbeHandler{} }
func (*ProbeHandler) ProtoMessage() {}
func (*ProbeHandler) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{157}
+ return fileDescriptor_6c07b07c062484ab, []int{159}
}
func (m *ProbeHandler) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4476,7 +4532,7 @@ var xxx_messageInfo_ProbeHandler proto.InternalMessageInfo
func (m *ProjectedVolumeSource) Reset() { *m = ProjectedVolumeSource{} }
func (*ProjectedVolumeSource) ProtoMessage() {}
func (*ProjectedVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{158}
+ return fileDescriptor_6c07b07c062484ab, []int{160}
}
func (m *ProjectedVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4504,7 +4560,7 @@ var xxx_messageInfo_ProjectedVolumeSource proto.InternalMessageInfo
func (m *QuobyteVolumeSource) Reset() { *m = QuobyteVolumeSource{} }
func (*QuobyteVolumeSource) ProtoMessage() {}
func (*QuobyteVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{159}
+ return fileDescriptor_6c07b07c062484ab, []int{161}
}
func (m *QuobyteVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4532,7 +4588,7 @@ var xxx_messageInfo_QuobyteVolumeSource proto.InternalMessageInfo
func (m *RBDPersistentVolumeSource) Reset() { *m = RBDPersistentVolumeSource{} }
func (*RBDPersistentVolumeSource) ProtoMessage() {}
func (*RBDPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{160}
+ return fileDescriptor_6c07b07c062484ab, []int{162}
}
func (m *RBDPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4560,7 +4616,7 @@ var xxx_messageInfo_RBDPersistentVolumeSource proto.InternalMessageInfo
func (m *RBDVolumeSource) Reset() { *m = RBDVolumeSource{} }
func (*RBDVolumeSource) ProtoMessage() {}
func (*RBDVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{161}
+ return fileDescriptor_6c07b07c062484ab, []int{163}
}
func (m *RBDVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4588,7 +4644,7 @@ var xxx_messageInfo_RBDVolumeSource proto.InternalMessageInfo
func (m *RangeAllocation) Reset() { *m = RangeAllocation{} }
func (*RangeAllocation) ProtoMessage() {}
func (*RangeAllocation) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{162}
+ return fileDescriptor_6c07b07c062484ab, []int{164}
}
func (m *RangeAllocation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4616,7 +4672,7 @@ var xxx_messageInfo_RangeAllocation proto.InternalMessageInfo
func (m *ReplicationController) Reset() { *m = ReplicationController{} }
func (*ReplicationController) ProtoMessage() {}
func (*ReplicationController) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{163}
+ return fileDescriptor_6c07b07c062484ab, []int{165}
}
func (m *ReplicationController) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4644,7 +4700,7 @@ var xxx_messageInfo_ReplicationController proto.InternalMessageInfo
func (m *ReplicationControllerCondition) Reset() { *m = ReplicationControllerCondition{} }
func (*ReplicationControllerCondition) ProtoMessage() {}
func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{164}
+ return fileDescriptor_6c07b07c062484ab, []int{166}
}
func (m *ReplicationControllerCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4672,7 +4728,7 @@ var xxx_messageInfo_ReplicationControllerCondition proto.InternalMessageInfo
func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} }
func (*ReplicationControllerList) ProtoMessage() {}
func (*ReplicationControllerList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{165}
+ return fileDescriptor_6c07b07c062484ab, []int{167}
}
func (m *ReplicationControllerList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4700,7 +4756,7 @@ var xxx_messageInfo_ReplicationControllerList proto.InternalMessageInfo
func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} }
func (*ReplicationControllerSpec) ProtoMessage() {}
func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{166}
+ return fileDescriptor_6c07b07c062484ab, []int{168}
}
func (m *ReplicationControllerSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4728,7 +4784,7 @@ var xxx_messageInfo_ReplicationControllerSpec proto.InternalMessageInfo
func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} }
func (*ReplicationControllerStatus) ProtoMessage() {}
func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{167}
+ return fileDescriptor_6c07b07c062484ab, []int{169}
}
func (m *ReplicationControllerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4756,7 +4812,7 @@ var xxx_messageInfo_ReplicationControllerStatus proto.InternalMessageInfo
func (m *ResourceClaim) Reset() { *m = ResourceClaim{} }
func (*ResourceClaim) ProtoMessage() {}
func (*ResourceClaim) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{168}
+ return fileDescriptor_6c07b07c062484ab, []int{170}
}
func (m *ResourceClaim) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4784,7 +4840,7 @@ var xxx_messageInfo_ResourceClaim proto.InternalMessageInfo
func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} }
func (*ResourceFieldSelector) ProtoMessage() {}
func (*ResourceFieldSelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{169}
+ return fileDescriptor_6c07b07c062484ab, []int{171}
}
func (m *ResourceFieldSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4812,7 +4868,7 @@ var xxx_messageInfo_ResourceFieldSelector proto.InternalMessageInfo
func (m *ResourceQuota) Reset() { *m = ResourceQuota{} }
func (*ResourceQuota) ProtoMessage() {}
func (*ResourceQuota) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{170}
+ return fileDescriptor_6c07b07c062484ab, []int{172}
}
func (m *ResourceQuota) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4840,7 +4896,7 @@ var xxx_messageInfo_ResourceQuota proto.InternalMessageInfo
func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} }
func (*ResourceQuotaList) ProtoMessage() {}
func (*ResourceQuotaList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{171}
+ return fileDescriptor_6c07b07c062484ab, []int{173}
}
func (m *ResourceQuotaList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4868,7 +4924,7 @@ var xxx_messageInfo_ResourceQuotaList proto.InternalMessageInfo
func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} }
func (*ResourceQuotaSpec) ProtoMessage() {}
func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{172}
+ return fileDescriptor_6c07b07c062484ab, []int{174}
}
func (m *ResourceQuotaSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4896,7 +4952,7 @@ var xxx_messageInfo_ResourceQuotaSpec proto.InternalMessageInfo
func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} }
func (*ResourceQuotaStatus) ProtoMessage() {}
func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{173}
+ return fileDescriptor_6c07b07c062484ab, []int{175}
}
func (m *ResourceQuotaStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4924,7 +4980,7 @@ var xxx_messageInfo_ResourceQuotaStatus proto.InternalMessageInfo
func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} }
func (*ResourceRequirements) ProtoMessage() {}
func (*ResourceRequirements) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{174}
+ return fileDescriptor_6c07b07c062484ab, []int{176}
}
func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4952,7 +5008,7 @@ var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo
func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} }
func (*SELinuxOptions) ProtoMessage() {}
func (*SELinuxOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{175}
+ return fileDescriptor_6c07b07c062484ab, []int{177}
}
func (m *SELinuxOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -4980,7 +5036,7 @@ var xxx_messageInfo_SELinuxOptions proto.InternalMessageInfo
func (m *ScaleIOPersistentVolumeSource) Reset() { *m = ScaleIOPersistentVolumeSource{} }
func (*ScaleIOPersistentVolumeSource) ProtoMessage() {}
func (*ScaleIOPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{176}
+ return fileDescriptor_6c07b07c062484ab, []int{178}
}
func (m *ScaleIOPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5008,7 +5064,7 @@ var xxx_messageInfo_ScaleIOPersistentVolumeSource proto.InternalMessageInfo
func (m *ScaleIOVolumeSource) Reset() { *m = ScaleIOVolumeSource{} }
func (*ScaleIOVolumeSource) ProtoMessage() {}
func (*ScaleIOVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{177}
+ return fileDescriptor_6c07b07c062484ab, []int{179}
}
func (m *ScaleIOVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5036,7 +5092,7 @@ var xxx_messageInfo_ScaleIOVolumeSource proto.InternalMessageInfo
func (m *ScopeSelector) Reset() { *m = ScopeSelector{} }
func (*ScopeSelector) ProtoMessage() {}
func (*ScopeSelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{178}
+ return fileDescriptor_6c07b07c062484ab, []int{180}
}
func (m *ScopeSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5064,7 +5120,7 @@ var xxx_messageInfo_ScopeSelector proto.InternalMessageInfo
func (m *ScopedResourceSelectorRequirement) Reset() { *m = ScopedResourceSelectorRequirement{} }
func (*ScopedResourceSelectorRequirement) ProtoMessage() {}
func (*ScopedResourceSelectorRequirement) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{179}
+ return fileDescriptor_6c07b07c062484ab, []int{181}
}
func (m *ScopedResourceSelectorRequirement) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5092,7 +5148,7 @@ var xxx_messageInfo_ScopedResourceSelectorRequirement proto.InternalMessageInfo
func (m *SeccompProfile) Reset() { *m = SeccompProfile{} }
func (*SeccompProfile) ProtoMessage() {}
func (*SeccompProfile) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{180}
+ return fileDescriptor_6c07b07c062484ab, []int{182}
}
func (m *SeccompProfile) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5120,7 +5176,7 @@ var xxx_messageInfo_SeccompProfile proto.InternalMessageInfo
func (m *Secret) Reset() { *m = Secret{} }
func (*Secret) ProtoMessage() {}
func (*Secret) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{181}
+ return fileDescriptor_6c07b07c062484ab, []int{183}
}
func (m *Secret) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5148,7 +5204,7 @@ var xxx_messageInfo_Secret proto.InternalMessageInfo
func (m *SecretEnvSource) Reset() { *m = SecretEnvSource{} }
func (*SecretEnvSource) ProtoMessage() {}
func (*SecretEnvSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{182}
+ return fileDescriptor_6c07b07c062484ab, []int{184}
}
func (m *SecretEnvSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5176,7 +5232,7 @@ var xxx_messageInfo_SecretEnvSource proto.InternalMessageInfo
func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} }
func (*SecretKeySelector) ProtoMessage() {}
func (*SecretKeySelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{183}
+ return fileDescriptor_6c07b07c062484ab, []int{185}
}
func (m *SecretKeySelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5204,7 +5260,7 @@ var xxx_messageInfo_SecretKeySelector proto.InternalMessageInfo
func (m *SecretList) Reset() { *m = SecretList{} }
func (*SecretList) ProtoMessage() {}
func (*SecretList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{184}
+ return fileDescriptor_6c07b07c062484ab, []int{186}
}
func (m *SecretList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5232,7 +5288,7 @@ var xxx_messageInfo_SecretList proto.InternalMessageInfo
func (m *SecretProjection) Reset() { *m = SecretProjection{} }
func (*SecretProjection) ProtoMessage() {}
func (*SecretProjection) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{185}
+ return fileDescriptor_6c07b07c062484ab, []int{187}
}
func (m *SecretProjection) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5260,7 +5316,7 @@ var xxx_messageInfo_SecretProjection proto.InternalMessageInfo
func (m *SecretReference) Reset() { *m = SecretReference{} }
func (*SecretReference) ProtoMessage() {}
func (*SecretReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{186}
+ return fileDescriptor_6c07b07c062484ab, []int{188}
}
func (m *SecretReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5288,7 +5344,7 @@ var xxx_messageInfo_SecretReference proto.InternalMessageInfo
func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} }
func (*SecretVolumeSource) ProtoMessage() {}
func (*SecretVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{187}
+ return fileDescriptor_6c07b07c062484ab, []int{189}
}
func (m *SecretVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5316,7 +5372,7 @@ var xxx_messageInfo_SecretVolumeSource proto.InternalMessageInfo
func (m *SecurityContext) Reset() { *m = SecurityContext{} }
func (*SecurityContext) ProtoMessage() {}
func (*SecurityContext) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{188}
+ return fileDescriptor_6c07b07c062484ab, []int{190}
}
func (m *SecurityContext) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5344,7 +5400,7 @@ var xxx_messageInfo_SecurityContext proto.InternalMessageInfo
func (m *SerializedReference) Reset() { *m = SerializedReference{} }
func (*SerializedReference) ProtoMessage() {}
func (*SerializedReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{189}
+ return fileDescriptor_6c07b07c062484ab, []int{191}
}
func (m *SerializedReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5372,7 +5428,7 @@ var xxx_messageInfo_SerializedReference proto.InternalMessageInfo
func (m *Service) Reset() { *m = Service{} }
func (*Service) ProtoMessage() {}
func (*Service) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{190}
+ return fileDescriptor_6c07b07c062484ab, []int{192}
}
func (m *Service) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5400,7 +5456,7 @@ var xxx_messageInfo_Service proto.InternalMessageInfo
func (m *ServiceAccount) Reset() { *m = ServiceAccount{} }
func (*ServiceAccount) ProtoMessage() {}
func (*ServiceAccount) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{191}
+ return fileDescriptor_6c07b07c062484ab, []int{193}
}
func (m *ServiceAccount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5428,7 +5484,7 @@ var xxx_messageInfo_ServiceAccount proto.InternalMessageInfo
func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} }
func (*ServiceAccountList) ProtoMessage() {}
func (*ServiceAccountList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{192}
+ return fileDescriptor_6c07b07c062484ab, []int{194}
}
func (m *ServiceAccountList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5456,7 +5512,7 @@ var xxx_messageInfo_ServiceAccountList proto.InternalMessageInfo
func (m *ServiceAccountTokenProjection) Reset() { *m = ServiceAccountTokenProjection{} }
func (*ServiceAccountTokenProjection) ProtoMessage() {}
func (*ServiceAccountTokenProjection) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{193}
+ return fileDescriptor_6c07b07c062484ab, []int{195}
}
func (m *ServiceAccountTokenProjection) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5484,7 +5540,7 @@ var xxx_messageInfo_ServiceAccountTokenProjection proto.InternalMessageInfo
func (m *ServiceList) Reset() { *m = ServiceList{} }
func (*ServiceList) ProtoMessage() {}
func (*ServiceList) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{194}
+ return fileDescriptor_6c07b07c062484ab, []int{196}
}
func (m *ServiceList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5512,7 +5568,7 @@ var xxx_messageInfo_ServiceList proto.InternalMessageInfo
func (m *ServicePort) Reset() { *m = ServicePort{} }
func (*ServicePort) ProtoMessage() {}
func (*ServicePort) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{195}
+ return fileDescriptor_6c07b07c062484ab, []int{197}
}
func (m *ServicePort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5540,7 +5596,7 @@ var xxx_messageInfo_ServicePort proto.InternalMessageInfo
func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} }
func (*ServiceProxyOptions) ProtoMessage() {}
func (*ServiceProxyOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{196}
+ return fileDescriptor_6c07b07c062484ab, []int{198}
}
func (m *ServiceProxyOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5568,7 +5624,7 @@ var xxx_messageInfo_ServiceProxyOptions proto.InternalMessageInfo
func (m *ServiceSpec) Reset() { *m = ServiceSpec{} }
func (*ServiceSpec) ProtoMessage() {}
func (*ServiceSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{197}
+ return fileDescriptor_6c07b07c062484ab, []int{199}
}
func (m *ServiceSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5596,7 +5652,7 @@ var xxx_messageInfo_ServiceSpec proto.InternalMessageInfo
func (m *ServiceStatus) Reset() { *m = ServiceStatus{} }
func (*ServiceStatus) ProtoMessage() {}
func (*ServiceStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{198}
+ return fileDescriptor_6c07b07c062484ab, []int{200}
}
func (m *ServiceStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5624,7 +5680,7 @@ var xxx_messageInfo_ServiceStatus proto.InternalMessageInfo
func (m *SessionAffinityConfig) Reset() { *m = SessionAffinityConfig{} }
func (*SessionAffinityConfig) ProtoMessage() {}
func (*SessionAffinityConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{199}
+ return fileDescriptor_6c07b07c062484ab, []int{201}
}
func (m *SessionAffinityConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5652,7 +5708,7 @@ var xxx_messageInfo_SessionAffinityConfig proto.InternalMessageInfo
func (m *SleepAction) Reset() { *m = SleepAction{} }
func (*SleepAction) ProtoMessage() {}
func (*SleepAction) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{200}
+ return fileDescriptor_6c07b07c062484ab, []int{202}
}
func (m *SleepAction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5680,7 +5736,7 @@ var xxx_messageInfo_SleepAction proto.InternalMessageInfo
func (m *StorageOSPersistentVolumeSource) Reset() { *m = StorageOSPersistentVolumeSource{} }
func (*StorageOSPersistentVolumeSource) ProtoMessage() {}
func (*StorageOSPersistentVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{201}
+ return fileDescriptor_6c07b07c062484ab, []int{203}
}
func (m *StorageOSPersistentVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5708,7 +5764,7 @@ var xxx_messageInfo_StorageOSPersistentVolumeSource proto.InternalMessageInfo
func (m *StorageOSVolumeSource) Reset() { *m = StorageOSVolumeSource{} }
func (*StorageOSVolumeSource) ProtoMessage() {}
func (*StorageOSVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{202}
+ return fileDescriptor_6c07b07c062484ab, []int{204}
}
func (m *StorageOSVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5736,7 +5792,7 @@ var xxx_messageInfo_StorageOSVolumeSource proto.InternalMessageInfo
func (m *Sysctl) Reset() { *m = Sysctl{} }
func (*Sysctl) ProtoMessage() {}
func (*Sysctl) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{203}
+ return fileDescriptor_6c07b07c062484ab, []int{205}
}
func (m *Sysctl) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5764,7 +5820,7 @@ var xxx_messageInfo_Sysctl proto.InternalMessageInfo
func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} }
func (*TCPSocketAction) ProtoMessage() {}
func (*TCPSocketAction) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{204}
+ return fileDescriptor_6c07b07c062484ab, []int{206}
}
func (m *TCPSocketAction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5792,7 +5848,7 @@ var xxx_messageInfo_TCPSocketAction proto.InternalMessageInfo
func (m *Taint) Reset() { *m = Taint{} }
func (*Taint) ProtoMessage() {}
func (*Taint) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{205}
+ return fileDescriptor_6c07b07c062484ab, []int{207}
}
func (m *Taint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5820,7 +5876,7 @@ var xxx_messageInfo_Taint proto.InternalMessageInfo
func (m *Toleration) Reset() { *m = Toleration{} }
func (*Toleration) ProtoMessage() {}
func (*Toleration) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{206}
+ return fileDescriptor_6c07b07c062484ab, []int{208}
}
func (m *Toleration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5848,7 +5904,7 @@ var xxx_messageInfo_Toleration proto.InternalMessageInfo
func (m *TopologySelectorLabelRequirement) Reset() { *m = TopologySelectorLabelRequirement{} }
func (*TopologySelectorLabelRequirement) ProtoMessage() {}
func (*TopologySelectorLabelRequirement) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{207}
+ return fileDescriptor_6c07b07c062484ab, []int{209}
}
func (m *TopologySelectorLabelRequirement) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5876,7 +5932,7 @@ var xxx_messageInfo_TopologySelectorLabelRequirement proto.InternalMessageInfo
func (m *TopologySelectorTerm) Reset() { *m = TopologySelectorTerm{} }
func (*TopologySelectorTerm) ProtoMessage() {}
func (*TopologySelectorTerm) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{208}
+ return fileDescriptor_6c07b07c062484ab, []int{210}
}
func (m *TopologySelectorTerm) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5904,7 +5960,7 @@ var xxx_messageInfo_TopologySelectorTerm proto.InternalMessageInfo
func (m *TopologySpreadConstraint) Reset() { *m = TopologySpreadConstraint{} }
func (*TopologySpreadConstraint) ProtoMessage() {}
func (*TopologySpreadConstraint) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{209}
+ return fileDescriptor_6c07b07c062484ab, []int{211}
}
func (m *TopologySpreadConstraint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5932,7 +5988,7 @@ var xxx_messageInfo_TopologySpreadConstraint proto.InternalMessageInfo
func (m *TypedLocalObjectReference) Reset() { *m = TypedLocalObjectReference{} }
func (*TypedLocalObjectReference) ProtoMessage() {}
func (*TypedLocalObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{210}
+ return fileDescriptor_6c07b07c062484ab, []int{212}
}
func (m *TypedLocalObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5960,7 +6016,7 @@ var xxx_messageInfo_TypedLocalObjectReference proto.InternalMessageInfo
func (m *TypedObjectReference) Reset() { *m = TypedObjectReference{} }
func (*TypedObjectReference) ProtoMessage() {}
func (*TypedObjectReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{211}
+ return fileDescriptor_6c07b07c062484ab, []int{213}
}
func (m *TypedObjectReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -5988,7 +6044,7 @@ var xxx_messageInfo_TypedObjectReference proto.InternalMessageInfo
func (m *Volume) Reset() { *m = Volume{} }
func (*Volume) ProtoMessage() {}
func (*Volume) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{212}
+ return fileDescriptor_6c07b07c062484ab, []int{214}
}
func (m *Volume) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6016,7 +6072,7 @@ var xxx_messageInfo_Volume proto.InternalMessageInfo
func (m *VolumeDevice) Reset() { *m = VolumeDevice{} }
func (*VolumeDevice) ProtoMessage() {}
func (*VolumeDevice) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{213}
+ return fileDescriptor_6c07b07c062484ab, []int{215}
}
func (m *VolumeDevice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6044,7 +6100,7 @@ var xxx_messageInfo_VolumeDevice proto.InternalMessageInfo
func (m *VolumeMount) Reset() { *m = VolumeMount{} }
func (*VolumeMount) ProtoMessage() {}
func (*VolumeMount) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{214}
+ return fileDescriptor_6c07b07c062484ab, []int{216}
}
func (m *VolumeMount) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6069,10 +6125,38 @@ func (m *VolumeMount) XXX_DiscardUnknown() {
var xxx_messageInfo_VolumeMount proto.InternalMessageInfo
+func (m *VolumeMountStatus) Reset() { *m = VolumeMountStatus{} }
+func (*VolumeMountStatus) ProtoMessage() {}
+func (*VolumeMountStatus) Descriptor() ([]byte, []int) {
+ return fileDescriptor_6c07b07c062484ab, []int{217}
+}
+func (m *VolumeMountStatus) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *VolumeMountStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *VolumeMountStatus) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_VolumeMountStatus.Merge(m, src)
+}
+func (m *VolumeMountStatus) XXX_Size() int {
+ return m.Size()
+}
+func (m *VolumeMountStatus) XXX_DiscardUnknown() {
+ xxx_messageInfo_VolumeMountStatus.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_VolumeMountStatus proto.InternalMessageInfo
+
func (m *VolumeNodeAffinity) Reset() { *m = VolumeNodeAffinity{} }
func (*VolumeNodeAffinity) ProtoMessage() {}
func (*VolumeNodeAffinity) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{215}
+ return fileDescriptor_6c07b07c062484ab, []int{218}
}
func (m *VolumeNodeAffinity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6100,7 +6184,7 @@ var xxx_messageInfo_VolumeNodeAffinity proto.InternalMessageInfo
func (m *VolumeProjection) Reset() { *m = VolumeProjection{} }
func (*VolumeProjection) ProtoMessage() {}
func (*VolumeProjection) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{216}
+ return fileDescriptor_6c07b07c062484ab, []int{219}
}
func (m *VolumeProjection) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6128,7 +6212,7 @@ var xxx_messageInfo_VolumeProjection proto.InternalMessageInfo
func (m *VolumeResourceRequirements) Reset() { *m = VolumeResourceRequirements{} }
func (*VolumeResourceRequirements) ProtoMessage() {}
func (*VolumeResourceRequirements) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{217}
+ return fileDescriptor_6c07b07c062484ab, []int{220}
}
func (m *VolumeResourceRequirements) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6156,7 +6240,7 @@ var xxx_messageInfo_VolumeResourceRequirements proto.InternalMessageInfo
func (m *VolumeSource) Reset() { *m = VolumeSource{} }
func (*VolumeSource) ProtoMessage() {}
func (*VolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{218}
+ return fileDescriptor_6c07b07c062484ab, []int{221}
}
func (m *VolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6184,7 +6268,7 @@ var xxx_messageInfo_VolumeSource proto.InternalMessageInfo
func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} }
func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {}
func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{219}
+ return fileDescriptor_6c07b07c062484ab, []int{222}
}
func (m *VsphereVirtualDiskVolumeSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6212,7 +6296,7 @@ var xxx_messageInfo_VsphereVirtualDiskVolumeSource proto.InternalMessageInfo
func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} }
func (*WeightedPodAffinityTerm) ProtoMessage() {}
func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{220}
+ return fileDescriptor_6c07b07c062484ab, []int{223}
}
func (m *WeightedPodAffinityTerm) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6240,7 +6324,7 @@ var xxx_messageInfo_WeightedPodAffinityTerm proto.InternalMessageInfo
func (m *WindowsSecurityContextOptions) Reset() { *m = WindowsSecurityContextOptions{} }
func (*WindowsSecurityContextOptions) ProtoMessage() {}
func (*WindowsSecurityContextOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_83c10c24ec417dc9, []int{221}
+ return fileDescriptor_6c07b07c062484ab, []int{224}
}
func (m *WindowsSecurityContextOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -6268,6 +6352,7 @@ var xxx_messageInfo_WindowsSecurityContextOptions proto.InternalMessageInfo
func init() {
proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource")
proto.RegisterType((*Affinity)(nil), "k8s.io.api.core.v1.Affinity")
+ proto.RegisterType((*AppArmorProfile)(nil), "k8s.io.api.core.v1.AppArmorProfile")
proto.RegisterType((*AttachedVolume)(nil), "k8s.io.api.core.v1.AttachedVolume")
proto.RegisterType((*AvoidPods)(nil), "k8s.io.api.core.v1.AvoidPods")
proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.api.core.v1.AzureDiskVolumeSource")
@@ -6380,8 +6465,8 @@ func init() {
proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.api.core.v1.NodeDaemonEndpoints")
proto.RegisterType((*NodeList)(nil), "k8s.io.api.core.v1.NodeList")
proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.api.core.v1.NodeProxyOptions")
- proto.RegisterType((*NodeResources)(nil), "k8s.io.api.core.v1.NodeResources")
- proto.RegisterMapType((ResourceList)(nil), "k8s.io.api.core.v1.NodeResources.CapacityEntry")
+ proto.RegisterType((*NodeRuntimeHandler)(nil), "k8s.io.api.core.v1.NodeRuntimeHandler")
+ proto.RegisterType((*NodeRuntimeHandlerFeatures)(nil), "k8s.io.api.core.v1.NodeRuntimeHandlerFeatures")
proto.RegisterType((*NodeSelector)(nil), "k8s.io.api.core.v1.NodeSelector")
proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.api.core.v1.NodeSelectorRequirement")
proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.api.core.v1.NodeSelectorTerm")
@@ -6511,6 +6596,7 @@ func init() {
proto.RegisterType((*Volume)(nil), "k8s.io.api.core.v1.Volume")
proto.RegisterType((*VolumeDevice)(nil), "k8s.io.api.core.v1.VolumeDevice")
proto.RegisterType((*VolumeMount)(nil), "k8s.io.api.core.v1.VolumeMount")
+ proto.RegisterType((*VolumeMountStatus)(nil), "k8s.io.api.core.v1.VolumeMountStatus")
proto.RegisterType((*VolumeNodeAffinity)(nil), "k8s.io.api.core.v1.VolumeNodeAffinity")
proto.RegisterType((*VolumeProjection)(nil), "k8s.io.api.core.v1.VolumeProjection")
proto.RegisterType((*VolumeResourceRequirements)(nil), "k8s.io.api.core.v1.VolumeResourceRequirements")
@@ -6523,978 +6609,993 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/core/v1/generated.proto", fileDescriptor_83c10c24ec417dc9)
+ proto.RegisterFile("k8s.io/api/core/v1/generated.proto", fileDescriptor_6c07b07c062484ab)
}
-var fileDescriptor_83c10c24ec417dc9 = []byte{
- // 15465 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0xbd, 0x69, 0x90, 0x1c, 0xc9,
- 0x75, 0x18, 0xcc, 0xea, 0x9e, 0xab, 0xdf, 0xdc, 0x39, 0x00, 0x76, 0x30, 0x0b, 0xa0, 0xb1, 0xb5,
- 0xbb, 0x58, 0xec, 0x35, 0x20, 0xf6, 0x20, 0x97, 0xbb, 0xcb, 0x15, 0xe7, 0x04, 0x66, 0x31, 0x33,
- 0xe8, 0xcd, 0x1e, 0x00, 0xe4, 0x72, 0xc9, 0x8f, 0x85, 0xee, 0x9c, 0x99, 0xe2, 0x74, 0x57, 0xf5,
- 0x56, 0x55, 0x0f, 0x30, 0xf8, 0xc8, 0x90, 0x44, 0x7d, 0xa2, 0x44, 0x4a, 0x5f, 0x04, 0xe3, 0x0b,
- 0x7d, 0x47, 0x50, 0x0a, 0xc5, 0x17, 0x92, 0xac, 0xc3, 0xb4, 0x64, 0xd3, 0x94, 0x25, 0x59, 0xd4,
- 0xe5, 0x2b, 0x2c, 0x29, 0x1c, 0xb2, 0xac, 0x08, 0x8b, 0x0a, 0x2b, 0x3c, 0x32, 0x21, 0x47, 0x28,
- 0xf4, 0xc3, 0x92, 0x7c, 0xfc, 0xb0, 0x61, 0xd9, 0x72, 0xe4, 0x59, 0x99, 0x75, 0x74, 0xf7, 0x60,
- 0x07, 0xc3, 0x25, 0x63, 0xff, 0x75, 0xbf, 0xf7, 0xf2, 0x65, 0x56, 0x9e, 0x2f, 0xdf, 0x7b, 0xf9,
- 0x1e, 0xbc, 0xb2, 0xf3, 0x52, 0x38, 0xeb, 0xfa, 0x17, 0x76, 0xda, 0x37, 0x49, 0xe0, 0x91, 0x88,
- 0x84, 0x17, 0x76, 0x89, 0x57, 0xf7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4b, 0xa9, 0xe9, 0x6a, 0xbb, 0x7a, 0xf3, 0xd3, 0xa4, 0x16,
+var fileDescriptor_6c07b07c062484ab = []byte{
+ // 15708 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0xbd, 0x59, 0x8c, 0x1c, 0xd9,
+ 0x75, 0x20, 0xaa, 0xc8, 0xac, 0xf5, 0xd4, 0x7e, 0x8b, 0x64, 0x17, 0xab, 0x49, 0x26, 0x3b, 0xba,
+ 0x9b, 0xcd, 0xde, 0x8a, 0x62, 0x2f, 0xea, 0x56, 0x77, 0xab, 0xad, 0x5a, 0xc9, 0x6c, 0x56, 0x15,
+ 0xb3, 0x6f, 0x16, 0x49, 0xa9, 0xd5, 0x92, 0x15, 0xcc, 0xbc, 0x55, 0x15, 0xaa, 0xcc, 0x88, 0xec,
+ 0x88, 0xc8, 0x22, 0x8b, 0x4f, 0x86, 0x6d, 0xf9, 0x59, 0xb6, 0x64, 0x3f, 0x40, 0x78, 0xf0, 0x5b,
+ 0x20, 0x1b, 0xc6, 0x83, 0x9f, 0x9f, 0x97, 0xa7, 0x67, 0xbf, 0xd1, 0xc8, 0xe3, 0x4d, 0xde, 0xc6,
+ 0x33, 0x03, 0xd8, 0x83, 0x81, 0xc7, 0x63, 0xc0, 0x96, 0x31, 0xc6, 0x94, 0x47, 0xf4, 0x00, 0x86,
+ 0x3f, 0xc6, 0x36, 0x3c, 0xf3, 0x31, 0x53, 0xf0, 0x8c, 0x07, 0x77, 0x8d, 0x7b, 0x63, 0xc9, 0xcc,
+ 0x62, 0x93, 0xa5, 0x96, 0xd0, 0x7f, 0x99, 0xe7, 0x9c, 0x7b, 0xee, 0x8d, 0xbb, 0x9e, 0x7b, 0xce,
+ 0xb9, 0xe7, 0x80, 0xbd, 0xf3, 0x72, 0x38, 0xe7, 0xfa, 0x17, 0x9c, 0x96, 0x7b, 0xa1, 0xe6, 0x07,
+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1, 0xb3, 0x18, 0x90, 0x3a,
+ 0xf1, 0x22, 0xd7, 0x69, 0x54, 0x5b, 0xa4, 0xa6, 0x59, 0x2f, 0x99, 0x83, 0xf9, 0xa5, 0xb5, 0xea,
+ 0x7c, 0x9a, 0x02, 0xe7, 0x94, 0x44, 0x2b, 0x80, 0xd2, 0x18, 0x31, 0xc2, 0xec, 0x6a, 0x9a, 0xe6,
+ 0x87, 0x33, 0x4a, 0xa0, 0x97, 0x60, 0x4c, 0xf9, 0xdb, 0x6b, 0x23, 0xce, 0x36, 0x76, 0xac, 0x23,
+ 0xb0, 0x49, 0x87, 0x2e, 0xf2, 0xec, 0x39, 0x22, 0xcf, 0x92, 0x30, 0x75, 0x4e, 0xc8, 0xd4, 0x38,
+ 0x02, 0x8c, 0x75, 0x9a, 0x85, 0x97, 0x7f, 0xef, 0x9b, 0x67, 0x3e, 0xf0, 0x87, 0xdf, 0x3c, 0xf3,
+ 0x81, 0x3f, 0xfd, 0xe6, 0x99, 0x0f, 0x7c, 0xdf, 0xdd, 0x33, 0xd6, 0xef, 0xdd, 0x3d, 0x63, 0xfd,
+ 0xe1, 0xdd, 0x33, 0xd6, 0x9f, 0xde, 0x3d, 0x63, 0xfd, 0xfb, 0xbb, 0x67, 0xac, 0x2f, 0xfd, 0xc5,
+ 0x99, 0x0f, 0xbc, 0x85, 0xe2, 0xf8, 0xc7, 0x17, 0xe8, 0xe8, 0x5c, 0xd8, 0xbd, 0xf8, 0x3f, 0x02,
+ 0x00, 0x00, 0xff, 0xff, 0xfd, 0xca, 0x84, 0xba, 0xa5, 0x1e, 0x01, 0x00,
}
func (m *AWSElasticBlockStoreVolumeSource) Marshal() (dAtA []byte, err error) {
@@ -7600,6 +7701,41 @@ func (m *Affinity) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *AppArmorProfile) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *AppArmorProfile) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *AppArmorProfile) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.LocalhostProfile != nil {
+ i -= len(*m.LocalhostProfile)
+ copy(dAtA[i:], *m.LocalhostProfile)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.LocalhostProfile)))
+ i--
+ dAtA[i] = 0x12
+ }
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *AttachedVolume) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -9617,6 +9753,20 @@ func (m *ContainerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.VolumeMounts) > 0 {
+ for iNdEx := len(m.VolumeMounts) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.VolumeMounts[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ }
+ }
if m.Resources != nil {
{
size, err := m.Resources.MarshalToSizedBuffer(dAtA[:i])
@@ -13185,7 +13335,7 @@ func (m *NodeProxyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *NodeResources) Marshal() (dAtA []byte, err error) {
+func (m *NodeRuntimeHandler) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -13195,44 +13345,65 @@ func (m *NodeResources) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *NodeResources) MarshalTo(dAtA []byte) (int, error) {
+func (m *NodeRuntimeHandler) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *NodeResources) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *NodeRuntimeHandler) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Capacity) > 0 {
- keysForCapacity := make([]string, 0, len(m.Capacity))
- for k := range m.Capacity {
- keysForCapacity = append(keysForCapacity, string(k))
- }
- github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
- for iNdEx := len(keysForCapacity) - 1; iNdEx >= 0; iNdEx-- {
- v := m.Capacity[ResourceName(keysForCapacity[iNdEx])]
- baseI := i
- {
- size, err := (&v).MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintGenerated(dAtA, i, uint64(size))
+ if m.Features != nil {
+ {
+ size, err := m.Features.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
}
- i--
- dAtA[i] = 0x12
- i -= len(keysForCapacity[iNdEx])
- copy(dAtA[i:], keysForCapacity[iNdEx])
- i = encodeVarintGenerated(dAtA, i, uint64(len(keysForCapacity[iNdEx])))
- i--
- dAtA[i] = 0xa
- i = encodeVarintGenerated(dAtA, i, uint64(baseI-i))
- i--
- dAtA[i] = 0xa
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
}
+ i--
+ dAtA[i] = 0x12
+ }
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NodeRuntimeHandlerFeatures) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NodeRuntimeHandlerFeatures) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NodeRuntimeHandlerFeatures) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.RecursiveReadOnlyMounts != nil {
+ i--
+ if *m.RecursiveReadOnlyMounts {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x8
}
return len(dAtA) - i, nil
}
@@ -13468,6 +13639,20 @@ func (m *NodeStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.RuntimeHandlers) > 0 {
+ for iNdEx := len(m.RuntimeHandlers) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.RuntimeHandlers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ }
+ }
if m.Config != nil {
{
size, err := m.Config.MarshalToSizedBuffer(dAtA[:i])
@@ -15818,6 +16003,18 @@ func (m *PodSecurityContext) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.AppArmorProfile != nil {
+ {
+ size, err := m.AppArmorProfile.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ }
if m.SeccompProfile != nil {
{
size, err := m.SeccompProfile.MarshalToSizedBuffer(dAtA[:i])
@@ -18813,6 +19010,18 @@ func (m *SecurityContext) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.AppArmorProfile != nil {
+ {
+ size, err := m.AppArmorProfile.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ }
if m.SeccompProfile != nil {
{
size, err := m.SeccompProfile.MarshalToSizedBuffer(dAtA[:i])
@@ -19314,6 +19523,15 @@ func (m *ServiceSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.TrafficDistribution != nil {
+ i -= len(*m.TrafficDistribution)
+ copy(dAtA[i:], *m.TrafficDistribution)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.TrafficDistribution)))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xba
+ }
if m.InternalTrafficPolicy != nil {
i -= len(*m.InternalTrafficPolicy)
copy(dAtA[i:], *m.InternalTrafficPolicy)
@@ -20208,6 +20426,13 @@ func (m *VolumeMount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.RecursiveReadOnly != nil {
+ i -= len(*m.RecursiveReadOnly)
+ copy(dAtA[i:], *m.RecursiveReadOnly)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.RecursiveReadOnly)))
+ i--
+ dAtA[i] = 0x3a
+ }
i -= len(m.SubPathExpr)
copy(dAtA[i:], m.SubPathExpr)
i = encodeVarintGenerated(dAtA, i, uint64(len(m.SubPathExpr)))
@@ -20246,6 +20471,54 @@ func (m *VolumeMount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *VolumeMountStatus) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *VolumeMountStatus) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *VolumeMountStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.RecursiveReadOnly != nil {
+ i -= len(*m.RecursiveReadOnly)
+ copy(dAtA[i:], *m.RecursiveReadOnly)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.RecursiveReadOnly)))
+ i--
+ dAtA[i] = 0x22
+ }
+ i--
+ if m.ReadOnly {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x18
+ i -= len(m.MountPath)
+ copy(dAtA[i:], m.MountPath)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.MountPath)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *VolumeNodeAffinity) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -21024,6 +21297,21 @@ func (m *Affinity) Size() (n int) {
return n
}
+func (m *AppArmorProfile) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Type)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.LocalhostProfile != nil {
+ l = len(*m.LocalhostProfile)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
func (m *AttachedVolume) Size() (n int) {
if m == nil {
return 0
@@ -21803,6 +22091,12 @@ func (m *ContainerStatus) Size() (n int) {
l = m.Resources.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if len(m.VolumeMounts) > 0 {
+ for _, e := range m.VolumeMounts {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
return n
}
@@ -23080,20 +23374,29 @@ func (m *NodeProxyOptions) Size() (n int) {
return n
}
-func (m *NodeResources) Size() (n int) {
+func (m *NodeRuntimeHandler) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.Capacity) > 0 {
- for k, v := range m.Capacity {
- _ = k
- _ = v
- l = v.Size()
- mapEntrySize := 1 + len(k) + sovGenerated(uint64(len(k))) + 1 + l + sovGenerated(uint64(l))
- n += mapEntrySize + 1 + sovGenerated(uint64(mapEntrySize))
- }
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.Features != nil {
+ l = m.Features.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *NodeRuntimeHandlerFeatures) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.RecursiveReadOnlyMounts != nil {
+ n += 2
}
return n
}
@@ -23249,6 +23552,12 @@ func (m *NodeStatus) Size() (n int) {
l = m.Config.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if len(m.RuntimeHandlers) > 0 {
+ for _, e := range m.RuntimeHandlers {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
return n
}
@@ -24088,6 +24397,10 @@ func (m *PodSecurityContext) Size() (n int) {
l = m.SeccompProfile.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if m.AppArmorProfile != nil {
+ l = m.AppArmorProfile.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -25172,6 +25485,10 @@ func (m *SecurityContext) Size() (n int) {
l = m.SeccompProfile.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if m.AppArmorProfile != nil {
+ l = m.AppArmorProfile.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -25386,6 +25703,10 @@ func (m *ServiceSpec) Size() (n int) {
l = len(*m.InternalTrafficPolicy)
n += 2 + l + sovGenerated(uint64(l))
}
+ if m.TrafficDistribution != nil {
+ l = len(*m.TrafficDistribution)
+ n += 2 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -25684,6 +26005,28 @@ func (m *VolumeMount) Size() (n int) {
}
l = len(m.SubPathExpr)
n += 1 + l + sovGenerated(uint64(l))
+ if m.RecursiveReadOnly != nil {
+ l = len(*m.RecursiveReadOnly)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *VolumeMountStatus) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.MountPath)
+ n += 1 + l + sovGenerated(uint64(l))
+ n += 2
+ if m.RecursiveReadOnly != nil {
+ l = len(*m.RecursiveReadOnly)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -25965,6 +26308,17 @@ func (this *Affinity) String() string {
}, "")
return s
}
+func (this *AppArmorProfile) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&AppArmorProfile{`,
+ `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
+ `LocalhostProfile:` + valueToStringGenerated(this.LocalhostProfile) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *AttachedVolume) String() string {
if this == nil {
return "nil"
@@ -26515,6 +26869,11 @@ func (this *ContainerStatus) String() string {
if this == nil {
return "nil"
}
+ repeatedStringForVolumeMounts := "[]VolumeMountStatus{"
+ for _, f := range this.VolumeMounts {
+ repeatedStringForVolumeMounts += strings.Replace(strings.Replace(f.String(), "VolumeMountStatus", "VolumeMountStatus", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForVolumeMounts += "}"
keysForAllocatedResources := make([]string, 0, len(this.AllocatedResources))
for k := range this.AllocatedResources {
keysForAllocatedResources = append(keysForAllocatedResources, string(k))
@@ -26537,6 +26896,7 @@ func (this *ContainerStatus) String() string {
`Started:` + valueToStringGenerated(this.Started) + `,`,
`AllocatedResources:` + mapStringForAllocatedResources + `,`,
`Resources:` + strings.Replace(this.Resources.String(), "ResourceRequirements", "ResourceRequirements", 1) + `,`,
+ `VolumeMounts:` + repeatedStringForVolumeMounts + `,`,
`}`,
}, "")
return s
@@ -27537,22 +27897,23 @@ func (this *NodeProxyOptions) String() string {
}, "")
return s
}
-func (this *NodeResources) String() string {
+func (this *NodeRuntimeHandler) String() string {
if this == nil {
return "nil"
}
- keysForCapacity := make([]string, 0, len(this.Capacity))
- for k := range this.Capacity {
- keysForCapacity = append(keysForCapacity, string(k))
+ s := strings.Join([]string{`&NodeRuntimeHandler{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `Features:` + strings.Replace(this.Features.String(), "NodeRuntimeHandlerFeatures", "NodeRuntimeHandlerFeatures", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NodeRuntimeHandlerFeatures) String() string {
+ if this == nil {
+ return "nil"
}
- github_com_gogo_protobuf_sortkeys.Strings(keysForCapacity)
- mapStringForCapacity := "ResourceList{"
- for _, k := range keysForCapacity {
- mapStringForCapacity += fmt.Sprintf("%v: %v,", k, this.Capacity[ResourceName(k)])
- }
- mapStringForCapacity += "}"
- s := strings.Join([]string{`&NodeResources{`,
- `Capacity:` + mapStringForCapacity + `,`,
+ s := strings.Join([]string{`&NodeRuntimeHandlerFeatures{`,
+ `RecursiveReadOnlyMounts:` + valueToStringGenerated(this.RecursiveReadOnlyMounts) + `,`,
`}`,
}, "")
return s
@@ -27650,6 +28011,11 @@ func (this *NodeStatus) String() string {
repeatedStringForVolumesAttached += strings.Replace(strings.Replace(f.String(), "AttachedVolume", "AttachedVolume", 1), `&`, ``, 1) + ","
}
repeatedStringForVolumesAttached += "}"
+ repeatedStringForRuntimeHandlers := "[]NodeRuntimeHandler{"
+ for _, f := range this.RuntimeHandlers {
+ repeatedStringForRuntimeHandlers += strings.Replace(strings.Replace(f.String(), "NodeRuntimeHandler", "NodeRuntimeHandler", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForRuntimeHandlers += "}"
keysForCapacity := make([]string, 0, len(this.Capacity))
for k := range this.Capacity {
keysForCapacity = append(keysForCapacity, string(k))
@@ -27682,6 +28048,7 @@ func (this *NodeStatus) String() string {
`VolumesInUse:` + fmt.Sprintf("%v", this.VolumesInUse) + `,`,
`VolumesAttached:` + repeatedStringForVolumesAttached + `,`,
`Config:` + strings.Replace(this.Config.String(), "NodeConfigStatus", "NodeConfigStatus", 1) + `,`,
+ `RuntimeHandlers:` + repeatedStringForRuntimeHandlers + `,`,
`}`,
}, "")
return s
@@ -28256,6 +28623,7 @@ func (this *PodSecurityContext) String() string {
`WindowsOptions:` + strings.Replace(this.WindowsOptions.String(), "WindowsSecurityContextOptions", "WindowsSecurityContextOptions", 1) + `,`,
`FSGroupChangePolicy:` + valueToStringGenerated(this.FSGroupChangePolicy) + `,`,
`SeccompProfile:` + strings.Replace(this.SeccompProfile.String(), "SeccompProfile", "SeccompProfile", 1) + `,`,
+ `AppArmorProfile:` + strings.Replace(this.AppArmorProfile.String(), "AppArmorProfile", "AppArmorProfile", 1) + `,`,
`}`,
}, "")
return s
@@ -29115,6 +29483,7 @@ func (this *SecurityContext) String() string {
`ProcMount:` + valueToStringGenerated(this.ProcMount) + `,`,
`WindowsOptions:` + strings.Replace(this.WindowsOptions.String(), "WindowsSecurityContextOptions", "WindowsSecurityContextOptions", 1) + `,`,
`SeccompProfile:` + strings.Replace(this.SeccompProfile.String(), "SeccompProfile", "SeccompProfile", 1) + `,`,
+ `AppArmorProfile:` + strings.Replace(this.AppArmorProfile.String(), "AppArmorProfile", "AppArmorProfile", 1) + `,`,
`}`,
}, "")
return s
@@ -29272,6 +29641,7 @@ func (this *ServiceSpec) String() string {
`AllocateLoadBalancerNodePorts:` + valueToStringGenerated(this.AllocateLoadBalancerNodePorts) + `,`,
`LoadBalancerClass:` + valueToStringGenerated(this.LoadBalancerClass) + `,`,
`InternalTrafficPolicy:` + valueToStringGenerated(this.InternalTrafficPolicy) + `,`,
+ `TrafficDistribution:` + valueToStringGenerated(this.TrafficDistribution) + `,`,
`}`,
}, "")
return s
@@ -29490,6 +29860,20 @@ func (this *VolumeMount) String() string {
`SubPath:` + fmt.Sprintf("%v", this.SubPath) + `,`,
`MountPropagation:` + valueToStringGenerated(this.MountPropagation) + `,`,
`SubPathExpr:` + fmt.Sprintf("%v", this.SubPathExpr) + `,`,
+ `RecursiveReadOnly:` + valueToStringGenerated(this.RecursiveReadOnly) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *VolumeMountStatus) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&VolumeMountStatus{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `MountPath:` + fmt.Sprintf("%v", this.MountPath) + `,`,
+ `ReadOnly:` + fmt.Sprintf("%v", this.ReadOnly) + `,`,
+ `RecursiveReadOnly:` + valueToStringGenerated(this.RecursiveReadOnly) + `,`,
`}`,
}, "")
return s
@@ -29943,6 +30327,121 @@ func (m *Affinity) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *AppArmorProfile) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: AppArmorProfile: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: AppArmorProfile: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Type = AppArmorProfileType(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LocalhostProfile", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := string(dAtA[iNdEx:postIndex])
+ m.LocalhostProfile = &s
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *AttachedVolume) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -36779,6 +37278,40 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VolumeMounts", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.VolumeMounts = append(m.VolumeMounts, VolumeMountStatus{})
+ if err := m.VolumeMounts[len(m.VolumeMounts)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -47676,7 +48209,7 @@ func (m *NodeProxyOptions) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *NodeResources) Unmarshal(dAtA []byte) error {
+func (m *NodeRuntimeHandler) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -47699,15 +48232,47 @@ func (m *NodeResources) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: NodeResources: wiretype end group for non-group")
+ return fmt.Errorf("proto: NodeRuntimeHandler: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: NodeResources: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: NodeRuntimeHandler: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Capacity", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Features", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -47734,105 +48299,12 @@ func (m *NodeResources) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Capacity == nil {
- m.Capacity = make(ResourceList)
+ if m.Features == nil {
+ m.Features = &NodeRuntimeHandlerFeatures{}
}
- var mapkey ResourceName
- mapvalue := &resource.Quantity{}
- for iNdEx < postIndex {
- entryPreIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGenerated
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- if fieldNum == 1 {
- var stringLenmapkey uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGenerated
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLenmapkey |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLenmapkey := int(stringLenmapkey)
- if intStringLenmapkey < 0 {
- return ErrInvalidLengthGenerated
- }
- postStringIndexmapkey := iNdEx + intStringLenmapkey
- if postStringIndexmapkey < 0 {
- return ErrInvalidLengthGenerated
- }
- if postStringIndexmapkey > l {
- return io.ErrUnexpectedEOF
- }
- mapkey = ResourceName(dAtA[iNdEx:postStringIndexmapkey])
- iNdEx = postStringIndexmapkey
- } else if fieldNum == 2 {
- var mapmsglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowGenerated
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- mapmsglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if mapmsglen < 0 {
- return ErrInvalidLengthGenerated
- }
- postmsgIndex := iNdEx + mapmsglen
- if postmsgIndex < 0 {
- return ErrInvalidLengthGenerated
- }
- if postmsgIndex > l {
- return io.ErrUnexpectedEOF
- }
- mapvalue = &resource.Quantity{}
- if err := mapvalue.Unmarshal(dAtA[iNdEx:postmsgIndex]); err != nil {
- return err
- }
- iNdEx = postmsgIndex
- } else {
- iNdEx = entryPreIndex
- skippy, err := skipGenerated(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthGenerated
- }
- if (iNdEx + skippy) > postIndex {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
+ if err := m.Features.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- m.Capacity[ResourceName(mapkey)] = *mapvalue
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -47855,6 +48327,77 @@ func (m *NodeResources) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *NodeRuntimeHandlerFeatures) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NodeRuntimeHandlerFeatures: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NodeRuntimeHandlerFeatures: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RecursiveReadOnlyMounts", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ b := bool(v != 0)
+ m.RecursiveReadOnlyMounts = &b
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *NodeSelector) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -49060,6 +49603,40 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RuntimeHandlers", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.RuntimeHandlers = append(m.RuntimeHandlers, NodeRuntimeHandler{})
+ if err := m.RuntimeHandlers[len(m.RuntimeHandlers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -56405,6 +56982,42 @@ func (m *PodSecurityContext) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AppArmorProfile", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.AppArmorProfile == nil {
+ m.AppArmorProfile = &AppArmorProfile{}
+ }
+ if err := m.AppArmorProfile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -66074,6 +66687,42 @@ func (m *SecurityContext) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AppArmorProfile", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.AppArmorProfile == nil {
+ m.AppArmorProfile = &AppArmorProfile{}
+ }
+ if err := m.AppArmorProfile.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -67872,6 +68521,39 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error {
s := ServiceInternalTrafficPolicy(dAtA[iNdEx:postIndex])
m.InternalTrafficPolicy = &s
iNdEx = postIndex
+ case 23:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TrafficDistribution", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := string(dAtA[iNdEx:postIndex])
+ m.TrafficDistribution = &s
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -70429,6 +71111,206 @@ func (m *VolumeMount) Unmarshal(dAtA []byte) error {
}
m.SubPathExpr = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RecursiveReadOnly", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := RecursiveReadOnlyMode(dAtA[iNdEx:postIndex])
+ m.RecursiveReadOnly = &s
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *VolumeMountStatus) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: VolumeMountStatus: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: VolumeMountStatus: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MountPath", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MountPath = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ReadOnly", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.ReadOnly = bool(v != 0)
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RecursiveReadOnly", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := RecursiveReadOnlyMode(dAtA[iNdEx:postIndex])
+ m.RecursiveReadOnly = &s
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.proto
index d099238cdf..f3b47c722d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/generated.proto
@@ -77,6 +77,25 @@ message Affinity {
optional PodAntiAffinity podAntiAffinity = 3;
}
+// AppArmorProfile defines a pod or container's AppArmor settings.
+// +union
+message AppArmorProfile {
+ // type indicates which kind of AppArmor profile will be applied.
+ // Valid options are:
+ // Localhost - a profile pre-loaded on the node.
+ // RuntimeDefault - the container runtime's default profile.
+ // Unconfined - no AppArmor enforcement.
+ // +unionDiscriminator
+ optional string type = 1;
+
+ // localhostProfile indicates a profile loaded on the node that should be used.
+ // The profile must be preconfigured on the node to work.
+ // Must match the loaded name of the profile.
+ // Must be set if and only if type is "Localhost".
+ // +optional
+ optional string localhostProfile = 2;
+}
+
// AttachedVolume describes a volume attached to a node
message AttachedVolume {
// Name of the attached volume
@@ -93,6 +112,7 @@ message AvoidPods {
// Bounded-sized list of signatures of pods that should avoid this node, sorted
// in timestamp order from oldest to newest. Size of the slice is unspecified.
// +optional
+ // +listType=atomic
repeated PreferAvoidPodsEntry preferAvoidPods = 1;
}
@@ -269,10 +289,12 @@ message CSIVolumeSource {
message Capabilities {
// Added capabilities
// +optional
+ // +listType=atomic
repeated string add = 1;
// Removed capabilities
// +optional
+ // +listType=atomic
repeated string drop = 2;
}
@@ -281,6 +303,7 @@ message Capabilities {
message CephFSPersistentVolumeSource {
// monitors is Required: Monitors is a collection of Ceph monitors
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+ // +listType=atomic
repeated string monitors = 1;
// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
@@ -314,6 +337,7 @@ message CephFSPersistentVolumeSource {
message CephFSVolumeSource {
// monitors is Required: Monitors is a collection of Ceph monitors
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+ // +listType=atomic
repeated string monitors = 1;
// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
@@ -498,6 +522,8 @@ message ComponentStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated ComponentCondition conditions = 2;
}
@@ -628,6 +654,7 @@ message ConfigMapProjection {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
repeated KeyToPath items = 2;
// optional specify whether the ConfigMap or its keys must be defined
@@ -652,6 +679,7 @@ message ConfigMapVolumeSource {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
repeated KeyToPath items = 2;
// defaultMode is optional: mode bits used to set permissions on created files by default.
@@ -692,6 +720,7 @@ message Container {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
repeated string command = 3;
// Arguments to the entrypoint.
@@ -703,6 +732,7 @@ message Container {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
repeated string args = 4;
// Container's working directory.
@@ -734,6 +764,7 @@ message Container {
// Values defined by an Env with a duplicate key will take precedence.
// Cannot be updated.
// +optional
+ // +listType=atomic
repeated EnvFromSource envFrom = 19;
// List of environment variables to set in the container.
@@ -741,6 +772,8 @@ message Container {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated EnvVar env = 7;
// Compute Resources required by this container.
@@ -779,11 +812,15 @@ message Container {
// +optional
// +patchMergeKey=mountPath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=mountPath
repeated VolumeMount volumeMounts = 9;
// volumeDevices is the list of block devices to be used by the container.
// +patchMergeKey=devicePath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=devicePath
// +optional
repeated VolumeDevice volumeDevices = 21;
@@ -877,6 +914,7 @@ message ContainerImage {
// Names by which this image is known.
// e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]
// +optional
+ // +listType=atomic
repeated string names = 1;
// The size of the image in bytes.
@@ -1062,6 +1100,15 @@ message ContainerStatus {
// +featureGate=InPlacePodVerticalScaling
// +optional
optional ResourceRequirements resources = 11;
+
+ // Status of volume mounts.
+ // +optional
+ // +patchMergeKey=mountPath
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=mountPath
+ // +featureGate=RecursiveReadOnlyMounts
+ repeated VolumeMountStatus volumeMounts = 12;
}
// DaemonEndpoint contains information about a single Daemon endpoint.
@@ -1076,6 +1123,7 @@ message DaemonEndpoint {
message DownwardAPIProjection {
// Items is a list of DownwardAPIVolume file
// +optional
+ // +listType=atomic
repeated DownwardAPIVolumeFile items = 1;
}
@@ -1084,7 +1132,7 @@ message DownwardAPIVolumeFile {
// Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
optional string path = 1;
- // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
+ // Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.
// +optional
optional ObjectFieldSelector fieldRef = 2;
@@ -1108,6 +1156,7 @@ message DownwardAPIVolumeFile {
message DownwardAPIVolumeSource {
// Items is a list of downward API volume file
// +optional
+ // +listType=atomic
repeated DownwardAPIVolumeFile items = 1;
// Optional: mode bits to use on created files by default. Must be a
@@ -1218,16 +1267,19 @@ message EndpointSubset {
// IP addresses which offer the related ports that are marked as ready. These endpoints
// should be considered safe for load balancers and clients to utilize.
// +optional
+ // +listType=atomic
repeated EndpointAddress addresses = 1;
// IP addresses which offer the related ports but are not currently marked as ready
// because they have not yet finished starting, have recently failed a readiness check,
// or have recently failed a liveness check.
// +optional
+ // +listType=atomic
repeated EndpointAddress notReadyAddresses = 2;
// Port numbers available on the related IP addresses.
// +optional
+ // +listType=atomic
repeated EndpointPort ports = 3;
}
@@ -1258,6 +1310,7 @@ message Endpoints {
// NotReadyAddresses in the same subset.
// Sets of addresses and ports that comprise a service.
// +optional
+ // +listType=atomic
repeated EndpointSubset subsets = 2;
}
@@ -1377,6 +1430,7 @@ message EphemeralContainerCommon {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
repeated string command = 3;
// Arguments to the entrypoint.
@@ -1388,6 +1442,7 @@ message EphemeralContainerCommon {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
repeated string args = 4;
// Container's working directory.
@@ -1413,6 +1468,7 @@ message EphemeralContainerCommon {
// Values defined by an Env with a duplicate key will take precedence.
// Cannot be updated.
// +optional
+ // +listType=atomic
repeated EnvFromSource envFrom = 19;
// List of environment variables to set in the container.
@@ -1420,6 +1476,8 @@ message EphemeralContainerCommon {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated EnvVar env = 7;
// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
@@ -1446,11 +1504,15 @@ message EphemeralContainerCommon {
// +optional
// +patchMergeKey=mountPath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=mountPath
repeated VolumeMount volumeMounts = 9;
// volumeDevices is the list of block devices to be used by the container.
// +patchMergeKey=devicePath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=devicePath
// +optional
repeated VolumeDevice volumeDevices = 21;
@@ -1661,6 +1723,7 @@ message ExecAction {
// a shell, you need to explicitly call out to that shell.
// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
// +optional
+ // +listType=atomic
repeated string command = 1;
}
@@ -1670,6 +1733,7 @@ message ExecAction {
message FCVolumeSource {
// targetWWNs is Optional: FC target worldwide names (WWNs)
// +optional
+ // +listType=atomic
repeated string targetWWNs = 1;
// lun is Optional: FC target lun number
@@ -1691,6 +1755,7 @@ message FCVolumeSource {
// wwids Optional: FC volume world wide identifiers (wwids)
// Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
// +optional
+ // +listType=atomic
repeated string wwids = 5;
}
@@ -1903,6 +1968,7 @@ message HTTPGetAction {
// Custom headers to set in the request. HTTP allows repeated headers.
// +optional
+ // +listType=atomic
repeated HTTPHeader httpHeaders = 5;
}
@@ -1920,9 +1986,11 @@ message HTTPHeader {
// pod's hosts file.
message HostAlias {
// IP address of the host file entry.
+ // +required
optional string ip = 1;
// Hostnames for the above IP address.
+ // +listType=atomic
repeated string hostnames = 2;
}
@@ -1982,6 +2050,7 @@ message ISCSIPersistentVolumeSource {
// portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
// +optional
+ // +listType=atomic
repeated string portals = 7;
// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
@@ -2038,6 +2107,7 @@ message ISCSIVolumeSource {
// portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
// +optional
+ // +listType=atomic
repeated string portals = 7;
// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
@@ -2181,6 +2251,7 @@ message LimitRangeList {
// LimitRangeSpec defines a min/max usage limit for resources that match on kind.
message LimitRangeSpec {
// Limits is the list of LimitRangeItem objects that are enforced.
+ // +listType=atomic
repeated LimitRangeItem limits = 1;
}
@@ -2229,6 +2300,7 @@ message LoadBalancerStatus {
// Ingress is a list containing ingress points for the load-balancer.
// Traffic intended for the service should be sent to these ingress points.
// +optional
+ // +listType=atomic
repeated LoadBalancerIngress ingress = 1;
}
@@ -2237,9 +2309,15 @@ message LoadBalancerStatus {
// +structType=atomic
message LocalObjectReference {
// Name of the referent.
- // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
+ // This field is effectively required, but due to backwards compatibility is
+ // allowed to be empty. Instances of this type with an empty value here are
+ // almost certainly wrong.
// TODO: Add other useful fields. apiVersion, kind, uid?
+ // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// +optional
+ // +default=""
+ // +kubebuilder:default=""
+ // TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
optional string name = 1;
}
@@ -2347,6 +2425,7 @@ message NamespaceSpec {
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
// +optional
+ // +listType=atomic
repeated string finalizers = 1;
}
@@ -2361,6 +2440,8 @@ message NamespaceStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated NamespaceCondition conditions = 2;
}
@@ -2414,6 +2495,7 @@ message NodeAffinity {
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
// +optional
+ // +listType=atomic
repeated PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
}
@@ -2524,11 +2606,24 @@ message NodeProxyOptions {
optional string path = 1;
}
-// NodeResources is an object for conveying resource information about a node.
-// see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details.
-message NodeResources {
- // Capacity represents the available resources of a node
- map capacity = 1;
+// NodeRuntimeHandler is a set of runtime handler information.
+message NodeRuntimeHandler {
+ // Runtime handler name.
+ // Empty for the default runtime handler.
+ // +optional
+ optional string name = 1;
+
+ // Supported features.
+ // +optional
+ optional NodeRuntimeHandlerFeatures features = 2;
+}
+
+// NodeRuntimeHandlerFeatures is a set of runtime features.
+message NodeRuntimeHandlerFeatures {
+ // RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ optional bool recursiveReadOnlyMounts = 1;
}
// A node selector represents the union of the results of one or more label queries
@@ -2537,6 +2632,7 @@ message NodeResources {
// +structType=atomic
message NodeSelector {
// Required. A list of node selector terms. The terms are ORed.
+ // +listType=atomic
repeated NodeSelectorTerm nodeSelectorTerms = 1;
}
@@ -2556,6 +2652,7 @@ message NodeSelectorRequirement {
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
// +optional
+ // +listType=atomic
repeated string values = 3;
}
@@ -2566,10 +2663,12 @@ message NodeSelectorRequirement {
message NodeSelectorTerm {
// A list of node selector requirements by node's labels.
// +optional
+ // +listType=atomic
repeated NodeSelectorRequirement matchExpressions = 1;
// A list of node selector requirements by node's fields.
// +optional
+ // +listType=atomic
repeated NodeSelectorRequirement matchFields = 2;
}
@@ -2584,6 +2683,7 @@ message NodeSpec {
// each of IPv4 and IPv6.
// +optional
// +patchStrategy=merge
+ // +listType=set
repeated string podCIDRs = 7;
// ID of the node assigned by the cloud provider in the format: ://
@@ -2597,6 +2697,7 @@ message NodeSpec {
// If specified, the node's taints.
// +optional
+ // +listType=atomic
repeated Taint taints = 5;
// Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
@@ -2632,6 +2733,8 @@ message NodeStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated NodeCondition conditions = 4;
// List of addresses reachable to the node.
@@ -2647,6 +2750,8 @@ message NodeStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated NodeAddress addresses = 5;
// Endpoints of daemons running on the Node.
@@ -2660,19 +2765,28 @@ message NodeStatus {
// List of container images on this node
// +optional
+ // +listType=atomic
repeated ContainerImage images = 8;
// List of attachable volumes in use (mounted) by the node.
// +optional
+ // +listType=atomic
repeated string volumesInUse = 9;
// List of volumes that are attached to the node.
// +optional
+ // +listType=atomic
repeated AttachedVolume volumesAttached = 10;
// Status of the config assigned to the node via the dynamic Kubelet config feature.
// +optional
optional NodeConfigStatus config = 11;
+
+ // The available runtime handlers.
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ // +listType=atomic
+ repeated NodeRuntimeHandler runtimeHandlers = 12;
}
// NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
@@ -2840,7 +2954,7 @@ message PersistentVolumeClaimCondition {
optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
// reason is a unique, this should be a short, machine understandable string that gives the reason
- // for condition's last transition. If it reports "ResizeStarted" that means the underlying
+ // for condition's last transition. If it reports "Resizing" that means the underlying
// persistent volume is being resized.
// +optional
optional string reason = 5;
@@ -2868,6 +2982,7 @@ message PersistentVolumeClaimSpec {
// accessModes contains the desired access modes the volume should have.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
// +optional
+ // +listType=atomic
repeated string accessModes = 1;
// selector is a label query over volumes to consider for binding.
@@ -2943,7 +3058,7 @@ message PersistentVolumeClaimSpec {
// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
// exists.
- // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass
+ // More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
// +featureGate=VolumeAttributesClass
// +optional
@@ -2959,6 +3074,7 @@ message PersistentVolumeClaimStatus {
// accessModes contains the actual access modes the volume backing the PVC has.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
// +optional
+ // +listType=atomic
repeated string accessModes = 2;
// capacity represents the actual resources of the underlying volume.
@@ -2966,10 +3082,12 @@ message PersistentVolumeClaimStatus {
map capacity = 3;
// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
- // resized then the Condition will be set to 'ResizeStarted'.
+ // resized then the Condition will be set to 'Resizing'.
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated PersistentVolumeClaimCondition conditions = 4;
// allocatedResources tracks the resources allocated to a PVC including its capacity.
@@ -3217,6 +3335,7 @@ message PersistentVolumeSpec {
// accessModes contains all ways the volume can be mounted.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
// +optional
+ // +listType=atomic
repeated string accessModes = 3;
// claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
@@ -3244,6 +3363,7 @@ message PersistentVolumeSpec {
// simply fail if one is invalid.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
// +optional
+ // +listType=atomic
repeated string mountOptions = 7;
// volumeMode defines if a volume is intended to be used with a formatted filesystem
@@ -3335,6 +3455,7 @@ message PodAffinity {
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
// +optional
+ // +listType=atomic
repeated PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
// The scheduler will prefer to schedule pods to nodes that satisfy
@@ -3347,6 +3468,7 @@ message PodAffinity {
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
// +optional
+ // +listType=atomic
repeated WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
}
@@ -3367,6 +3489,7 @@ message PodAffinityTerm {
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
// +optional
+ // +listType=atomic
repeated string namespaces = 2;
// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
@@ -3386,12 +3509,12 @@ message PodAffinityTerm {
// MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
- // incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`
+ // incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
- // The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
- // Also, MatchLabelKeys cannot be set when LabelSelector isn't set.
+ // The same key is forbidden to exist in both matchLabelKeys and labelSelector.
+ // Also, matchLabelKeys cannot be set when labelSelector isn't set.
// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
// +listType=atomic
// +optional
@@ -3399,12 +3522,12 @@ message PodAffinityTerm {
// MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
- // incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`
+ // incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
- // The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.
- // Also, MismatchLabelKeys cannot be set when LabelSelector isn't set.
+ // The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
+ // Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
// +listType=atomic
// +optional
@@ -3421,6 +3544,7 @@ message PodAntiAffinity {
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
// +optional
+ // +listType=atomic
repeated PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
// The scheduler will prefer to schedule pods to nodes that satisfy
@@ -3433,6 +3557,7 @@ message PodAntiAffinity {
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
// +optional
+ // +listType=atomic
repeated WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
}
@@ -3504,12 +3629,14 @@ message PodDNSConfig {
// This will be appended to the base nameservers generated from DNSPolicy.
// Duplicated nameservers will be removed.
// +optional
+ // +listType=atomic
repeated string nameservers = 1;
// A list of DNS search domains for host-name lookup.
// This will be appended to the base search paths generated from DNSPolicy.
// Duplicated search paths will be removed.
// +optional
+ // +listType=atomic
repeated string searches = 2;
// A list of DNS resolver options.
@@ -3517,6 +3644,7 @@ message PodDNSConfig {
// Duplicated entries will be removed. Resolution options given in Options
// will override those that appear in the base DNSPolicy.
// +optional
+ // +listType=atomic
repeated PodDNSConfigOption options = 3;
}
@@ -3558,6 +3686,7 @@ message PodExecOptions {
optional string container = 5;
// Command is the remote command to execute. argv array. Not executed within a shell.
+ // +listType=atomic
repeated string command = 6;
}
@@ -3652,6 +3781,7 @@ message PodPortForwardOptions {
// List of ports to forward
// Required when using WebSockets
// +optional
+ // +listType=atomic
repeated int32 ports = 1;
}
@@ -3760,6 +3890,7 @@ message PodSecurityContext {
// even if they are not included in this list.
// Note that this field cannot be set when spec.os.name is windows.
// +optional
+ // +listType=atomic
repeated int64 supplementalGroups = 4;
// A special supplemental group that applies to all containers in a pod.
@@ -3779,6 +3910,7 @@ message PodSecurityContext {
// sysctls (by the container runtime) might fail to launch.
// Note that this field cannot be set when spec.os.name is windows.
// +optional
+ // +listType=atomic
repeated Sysctl sysctls = 7;
// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
@@ -3795,6 +3927,11 @@ message PodSecurityContext {
// Note that this field cannot be set when spec.os.name is windows.
// +optional
optional SeccompProfile seccompProfile = 10;
+
+ // appArmorProfile is the AppArmor options to use by the containers in this pod.
+ // Note that this field cannot be set when spec.os.name is windows.
+ // +optional
+ optional AppArmorProfile appArmorProfile = 11;
}
// Describes the class of pods that should avoid this node.
@@ -3812,6 +3949,8 @@ message PodSpec {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge,retainKeys
+ // +listType=map
+ // +listMapKey=name
repeated Volume volumes = 1;
// List of initialization containers belonging to the pod.
@@ -3829,6 +3968,8 @@ message PodSpec {
// More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated Container initContainers = 20;
// List of containers belonging to the pod.
@@ -3837,6 +3978,8 @@ message PodSpec {
// Cannot be updated.
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated Container containers = 2;
// List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
@@ -3846,6 +3989,8 @@ message PodSpec {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated EphemeralContainer ephemeralContainers = 34;
// Restart policy for all containers within the pod.
@@ -3893,7 +4038,7 @@ message PodSpec {
// +optional
optional string serviceAccountName = 8;
- // DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
+ // DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
// Deprecated: Use serviceAccountName instead.
// +k8s:conversion-gen=false
// +optional
@@ -3948,6 +4093,8 @@ message PodSpec {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated LocalObjectReference imagePullSecrets = 15;
// Specifies the hostname of the Pod
@@ -3971,13 +4118,16 @@ message PodSpec {
// If specified, the pod's tolerations.
// +optional
+ // +listType=atomic
repeated Toleration tolerations = 22;
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
- // file if specified. This is only valid for non-hostNetwork pods.
+ // file if specified.
// +optional
// +patchMergeKey=ip
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=ip
repeated HostAlias hostAliases = 23;
// If specified, indicates the pod's priority. "system-node-critical" and
@@ -4008,6 +4158,7 @@ message PodSpec {
// all conditions specified in the readiness gates have status equal to "True"
// More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
// +optional
+ // +listType=atomic
repeated PodReadinessGate readinessGates = 28;
// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
@@ -4069,6 +4220,7 @@ message PodSpec {
// - spec.hostPID
// - spec.hostIPC
// - spec.hostUsers
+ // - spec.securityContext.appArmorProfile
// - spec.securityContext.seLinuxOptions
// - spec.securityContext.seccompProfile
// - spec.securityContext.fsGroup
@@ -4078,6 +4230,7 @@ message PodSpec {
// - spec.securityContext.runAsUser
// - spec.securityContext.runAsGroup
// - spec.securityContext.supplementalGroups
+ // - spec.containers[*].securityContext.appArmorProfile
// - spec.containers[*].securityContext.seLinuxOptions
// - spec.containers[*].securityContext.seccompProfile
// - spec.containers[*].securityContext.capabilities
@@ -4109,13 +4262,10 @@ message PodSpec {
//
// SchedulingGates can only be set at pod creation time, and be removed only afterwards.
//
- // This is a beta feature enabled by the PodSchedulingReadiness feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=PodSchedulingReadiness
// +optional
repeated PodSchedulingGate schedulingGates = 38;
@@ -4168,6 +4318,8 @@ message PodStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated PodCondition conditions = 2;
// A human readable message indicating details about why the pod is in this condition.
@@ -4216,6 +4368,8 @@ message PodStatus {
// +optional
// +patchStrategy=merge
// +patchMergeKey=ip
+ // +listType=map
+ // +listMapKey=ip
repeated PodIP podIPs = 12;
// RFC 3339 date and time at which the object was acknowledged by the Kubelet.
@@ -4227,11 +4381,13 @@ message PodStatus {
// init container will have ready = true, the most recently started container will have
// startTime set.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
+ // +listType=atomic
repeated ContainerStatus initContainerStatuses = 10;
// The list has one entry per container in the manifest.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
// +optional
+ // +listType=atomic
repeated ContainerStatus containerStatuses = 8;
// The Quality of Service (QOS) classification assigned to the pod based on resource requirements
@@ -4242,6 +4398,7 @@ message PodStatus {
// Status for any ephemeral containers that have run in this pod.
// +optional
+ // +listType=atomic
repeated ContainerStatus ephemeralContainerStatuses = 13;
// Status of resources resize desired for pod's containers.
@@ -4459,6 +4616,7 @@ message ProbeHandler {
message ProjectedVolumeSource {
// sources is the list of volume projections
// +optional
+ // +listType=atomic
repeated VolumeProjection sources = 1;
// defaultMode are the mode bits used to set permissions on created files by default.
@@ -4508,6 +4666,7 @@ message QuobyteVolumeSource {
message RBDPersistentVolumeSource {
// monitors is a collection of Ceph monitors.
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+ // +listType=atomic
repeated string monitors = 1;
// image is the rados image name.
@@ -4559,6 +4718,7 @@ message RBDPersistentVolumeSource {
message RBDVolumeSource {
// monitors is a collection of Ceph monitors.
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+ // +listType=atomic
repeated string monitors = 1;
// image is the rados image name.
@@ -4733,6 +4893,8 @@ message ReplicationControllerStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated ReplicationControllerCondition conditions = 6;
}
@@ -4799,6 +4961,7 @@ message ResourceQuotaSpec {
// A collection of filters that must match each object tracked by a quota.
// If not specified, the quota matches all objects.
// +optional
+ // +listType=atomic
repeated string scopes = 2;
// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
@@ -4966,6 +5129,7 @@ message ScaleIOVolumeSource {
message ScopeSelector {
// A list of scope selector requirements by scope of the resources.
// +optional
+ // +listType=atomic
repeated ScopedResourceSelectorRequirement matchExpressions = 1;
}
@@ -4984,6 +5148,7 @@ message ScopedResourceSelectorRequirement {
// the values array must be empty.
// This array is replaced during a strategic merge patch.
// +optional
+ // +listType=atomic
repeated string values = 3;
}
@@ -5101,6 +5266,7 @@ message SecretProjection {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
repeated KeyToPath items = 2;
// optional field specify whether the Secret or its key must be defined
@@ -5140,6 +5306,7 @@ message SecretVolumeSource {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
repeated KeyToPath items = 2;
// defaultMode is Optional: mode bits used to set permissions on created files by default.
@@ -5244,6 +5411,12 @@ message SecurityContext {
// Note that this field cannot be set when spec.os.name is windows.
// +optional
optional SeccompProfile seccompProfile = 11;
+
+ // appArmorProfile is the AppArmor options to use by this container. If set, this profile
+ // overrides the pod's appArmorProfile.
+ // Note that this field cannot be set when spec.os.name is windows.
+ // +optional
+ optional AppArmorProfile appArmorProfile = 12;
}
// SerializedReference is a reference to serialized object.
@@ -5293,6 +5466,8 @@ message ServiceAccount {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated ObjectReference secrets = 2;
// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
@@ -5300,6 +5475,7 @@ message ServiceAccount {
// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
// More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
// +optional
+ // +listType=atomic
repeated LocalObjectReference imagePullSecrets = 3;
// AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
@@ -5520,6 +5696,7 @@ message ServiceSpec {
// at a node with this IP. A common example is external load-balancers
// that are not part of the Kubernetes system.
// +optional
+ // +listType=atomic
repeated string externalIPs = 5;
// Supports "ClientIP" and "None". Used to maintain session affinity.
@@ -5545,6 +5722,7 @@ message ServiceSpec {
// cloud-provider does not support the feature."
// More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
// +optional
+ // +listType=atomic
repeated string loadBalancerSourceRanges = 9;
// externalName is the external reference that discovery mechanisms will
@@ -5660,6 +5838,17 @@ message ServiceSpec {
// (possibly modified by topology and other features).
// +optional
optional string internalTrafficPolicy = 22;
+
+ // TrafficDistribution offers a way to express preferences for how traffic is
+ // distributed to Service endpoints. Implementations can use this field as a
+ // hint, but are not required to guarantee strict adherence. If the field is
+ // not set, the implementation will apply its default routing strategy. If set
+ // to "PreferClose", implementations should prioritize endpoints that are
+ // topologically close (e.g., same zone).
+ // This is an alpha field and requires enabling ServiceTrafficDistribution feature.
+ // +featureGate=ServiceTrafficDistribution
+ // +optional
+ optional string trafficDistribution = 23;
}
// ServiceStatus represents the current status of a service.
@@ -5838,6 +6027,7 @@ message TopologySelectorLabelRequirement {
// An array of string values. One value must match the label to be selected.
// Each entry in Values is ORed.
+ // +listType=atomic
repeated string values = 2;
}
@@ -5850,6 +6040,7 @@ message TopologySelectorLabelRequirement {
message TopologySelectorTerm {
// A list of topology selector requirements by labels.
// +optional
+ // +listType=atomic
repeated TopologySelectorLabelRequirement matchLabelExpressions = 1;
}
@@ -5940,8 +6131,6 @@ message TopologySpreadConstraint {
// In this situation, new pod with the same labelSelector cannot be scheduled,
// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
// it will violate MaxSkew.
- //
- // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default).
// +optional
optional int32 minDomains = 5;
@@ -6051,6 +6240,27 @@ message VolumeMount {
// +optional
optional bool readOnly = 2;
+ // RecursiveReadOnly specifies whether read-only mounts should be handled
+ // recursively.
+ //
+ // If ReadOnly is false, this field has no meaning and must be unspecified.
+ //
+ // If ReadOnly is true, and this field is set to Disabled, the mount is not made
+ // recursively read-only. If this field is set to IfPossible, the mount is made
+ // recursively read-only, if it is supported by the container runtime. If this
+ // field is set to Enabled, the mount is made recursively read-only if it is
+ // supported by the container runtime, otherwise the pod will not be started and
+ // an error will be generated to indicate the reason.
+ //
+ // If this field is set to IfPossible or Enabled, MountPropagation must be set to
+ // None (or be unspecified, which defaults to None).
+ //
+ // If this field is not specified, it is treated as an equivalent of Disabled.
+ //
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ optional string recursiveReadOnly = 7;
+
// Path within the container at which the volume should be mounted. Must
// not contain ':'.
optional string mountPath = 3;
@@ -6064,6 +6274,8 @@ message VolumeMount {
// to container and the other way around.
// When not set, MountPropagationNone is used.
// This field is beta in 1.10.
+ // When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
+ // (which defaults to None).
// +optional
optional string mountPropagation = 5;
@@ -6075,6 +6287,26 @@ message VolumeMount {
optional string subPathExpr = 6;
}
+// VolumeMountStatus shows status of volume mounts.
+message VolumeMountStatus {
+ // Name corresponds to the name of the original VolumeMount.
+ optional string name = 1;
+
+ // MountPath corresponds to the original VolumeMount.
+ optional string mountPath = 2;
+
+ // ReadOnly corresponds to the original VolumeMount.
+ // +optional
+ optional bool readOnly = 3;
+
+ // RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
+ // An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
+ // depending on the mount result.
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ optional string recursiveReadOnly = 4;
+}
+
// VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.
message VolumeNodeAffinity {
// required specifies hard node constraints that must be met.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types.go
index 61ba21bcad..328df9a7b7 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types.go
@@ -331,6 +331,7 @@ type PersistentVolumeSpec struct {
// accessModes contains all ways the volume can be mounted.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes
// +optional
+ // +listType=atomic
AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,3,rep,name=accessModes,casttype=PersistentVolumeAccessMode"`
// claimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim.
// Expected to be non-nil when bound.
@@ -354,6 +355,7 @@ type PersistentVolumeSpec struct {
// simply fail if one is invalid.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options
// +optional
+ // +listType=atomic
MountOptions []string `json:"mountOptions,omitempty" protobuf:"bytes,7,opt,name=mountOptions"`
// volumeMode defines if a volume is intended to be used with a formatted filesystem
// or to remain in raw block state. Value of Filesystem is implied when not included in spec.
@@ -486,6 +488,7 @@ type PersistentVolumeClaimSpec struct {
// accessModes contains the desired access modes the volume should have.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
// +optional
+ // +listType=atomic
AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,1,rep,name=accessModes,casttype=PersistentVolumeAccessMode"`
// selector is a label query over volumes to consider for binding.
// +optional
@@ -553,7 +556,7 @@ type PersistentVolumeClaimSpec struct {
// If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be
// set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource
// exists.
- // More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass
+ // More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/
// (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
// +featureGate=VolumeAttributesClass
// +optional
@@ -660,7 +663,7 @@ type PersistentVolumeClaimCondition struct {
// +optional
LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`
// reason is a unique, this should be a short, machine understandable string that gives the reason
- // for condition's last transition. If it reports "ResizeStarted" that means the underlying
+ // for condition's last transition. If it reports "Resizing" that means the underlying
// persistent volume is being resized.
// +optional
Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`
@@ -677,15 +680,18 @@ type PersistentVolumeClaimStatus struct {
// accessModes contains the actual access modes the volume backing the PVC has.
// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
// +optional
+ // +listType=atomic
AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,2,rep,name=accessModes,casttype=PersistentVolumeAccessMode"`
// capacity represents the actual resources of the underlying volume.
// +optional
Capacity ResourceList `json:"capacity,omitempty" protobuf:"bytes,3,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"`
// conditions is the current Condition of persistent volume claim. If underlying persistent volume is being
- // resized then the Condition will be set to 'ResizeStarted'.
+ // resized then the Condition will be set to 'Resizing'.
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []PersistentVolumeClaimCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,4,rep,name=conditions"`
// allocatedResources tracks the resources allocated to a PVC including its capacity.
// Key names follow standard Kubernetes label syntax. Valid values are either:
@@ -921,6 +927,7 @@ type GlusterfsPersistentVolumeSource struct {
type RBDVolumeSource struct {
// monitors is a collection of Ceph monitors.
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+ // +listType=atomic
CephMonitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
// image is the rados image name.
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
@@ -965,6 +972,7 @@ type RBDVolumeSource struct {
type RBDPersistentVolumeSource struct {
// monitors is a collection of Ceph monitors.
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
+ // +listType=atomic
CephMonitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
// image is the rados image name.
// More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
@@ -1059,6 +1067,7 @@ type CinderPersistentVolumeSource struct {
type CephFSVolumeSource struct {
// monitors is Required: Monitors is a collection of Ceph monitors
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+ // +listType=atomic
Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
// +optional
@@ -1099,6 +1108,7 @@ type SecretReference struct {
type CephFSPersistentVolumeSource struct {
// monitors is Required: Monitors is a collection of Ceph monitors
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
+ // +listType=atomic
Monitors []string `json:"monitors" protobuf:"bytes,1,rep,name=monitors"`
// path is Optional: Used as the mounted root, rather than the full Ceph tree, default is /
// +optional
@@ -1341,6 +1351,7 @@ type SecretVolumeSource struct {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
// defaultMode is Optional: mode bits used to set permissions on created files by default.
// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
@@ -1376,6 +1387,7 @@ type SecretProjection struct {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
// optional field specify whether the Secret or its key must be defined
// +optional
@@ -1429,6 +1441,7 @@ type ISCSIVolumeSource struct {
// portals is the iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
// +optional
+ // +listType=atomic
Portals []string `json:"portals,omitempty" protobuf:"bytes,7,opt,name=portals"`
// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
// +optional
@@ -1475,6 +1488,7 @@ type ISCSIPersistentVolumeSource struct {
// portals is the iSCSI Target Portal List. The Portal is either an IP or ip_addr:port if the port
// is other than default (typically TCP ports 860 and 3260).
// +optional
+ // +listType=atomic
Portals []string `json:"portals,omitempty" protobuf:"bytes,7,opt,name=portals"`
// chapAuthDiscovery defines whether support iSCSI Discovery CHAP authentication
// +optional
@@ -1498,6 +1512,7 @@ type ISCSIPersistentVolumeSource struct {
type FCVolumeSource struct {
// targetWWNs is Optional: FC target worldwide names (WWNs)
// +optional
+ // +listType=atomic
TargetWWNs []string `json:"targetWWNs,omitempty" protobuf:"bytes,1,rep,name=targetWWNs"`
// lun is Optional: FC target lun number
// +optional
@@ -1515,6 +1530,7 @@ type FCVolumeSource struct {
// wwids Optional: FC volume world wide identifiers (wwids)
// Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
// +optional
+ // +listType=atomic
WWIDs []string `json:"wwids,omitempty" protobuf:"bytes,5,rep,name=wwids"`
}
@@ -1771,6 +1787,7 @@ type ConfigMapVolumeSource struct {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
// defaultMode is optional: mode bits used to set permissions on created files by default.
// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
@@ -1807,6 +1824,7 @@ type ConfigMapProjection struct {
// the volume setup will error unless it is marked optional. Paths must be
// relative and may not contain the '..' path or start with '..'.
// +optional
+ // +listType=atomic
Items []KeyToPath `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
// optional specify whether the ConfigMap or its keys must be defined
// +optional
@@ -1875,6 +1893,7 @@ type ClusterTrustBundleProjection struct {
type ProjectedVolumeSource struct {
// sources is the list of volume projections
// +optional
+ // +listType=atomic
Sources []VolumeProjection `json:"sources" protobuf:"bytes,1,rep,name=sources"`
// defaultMode are the mode bits used to set permissions on created files by default.
// Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.
@@ -2137,6 +2156,26 @@ type VolumeMount struct {
// Defaults to false.
// +optional
ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,2,opt,name=readOnly"`
+ // RecursiveReadOnly specifies whether read-only mounts should be handled
+ // recursively.
+ //
+ // If ReadOnly is false, this field has no meaning and must be unspecified.
+ //
+ // If ReadOnly is true, and this field is set to Disabled, the mount is not made
+ // recursively read-only. If this field is set to IfPossible, the mount is made
+ // recursively read-only, if it is supported by the container runtime. If this
+ // field is set to Enabled, the mount is made recursively read-only if it is
+ // supported by the container runtime, otherwise the pod will not be started and
+ // an error will be generated to indicate the reason.
+ //
+ // If this field is set to IfPossible or Enabled, MountPropagation must be set to
+ // None (or be unspecified, which defaults to None).
+ //
+ // If this field is not specified, it is treated as an equivalent of Disabled.
+ //
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ RecursiveReadOnly *RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty" protobuf:"bytes,7,opt,name=recursiveReadOnly,casttype=RecursiveReadOnlyMode"`
// Path within the container at which the volume should be mounted. Must
// not contain ':'.
MountPath string `json:"mountPath" protobuf:"bytes,3,opt,name=mountPath"`
@@ -2148,6 +2187,8 @@ type VolumeMount struct {
// to container and the other way around.
// When not set, MountPropagationNone is used.
// This field is beta in 1.10.
+ // When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified
+ // (which defaults to None).
// +optional
MountPropagation *MountPropagationMode `json:"mountPropagation,omitempty" protobuf:"bytes,5,opt,name=mountPropagation,casttype=MountPropagationMode"`
// Expanded path within the volume from which the container's volume should be mounted.
@@ -2184,6 +2225,18 @@ const (
MountPropagationBidirectional MountPropagationMode = "Bidirectional"
)
+// RecursiveReadOnlyMode describes recursive-readonly mode.
+type RecursiveReadOnlyMode string
+
+const (
+ // RecursiveReadOnlyDisabled disables recursive-readonly mode.
+ RecursiveReadOnlyDisabled RecursiveReadOnlyMode = "Disabled"
+ // RecursiveReadOnlyIfPossible enables recursive-readonly mode if possible.
+ RecursiveReadOnlyIfPossible RecursiveReadOnlyMode = "IfPossible"
+ // RecursiveReadOnlyEnabled enables recursive-readonly mode, or raise an error.
+ RecursiveReadOnlyEnabled RecursiveReadOnlyMode = "Enabled"
+)
+
// volumeDevice describes a mapping of a raw block device within a container.
type VolumeDevice struct {
// name must match the name of a persistentVolumeClaim in the pod
@@ -2347,6 +2400,7 @@ type HTTPGetAction struct {
Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme,casttype=URIScheme"`
// Custom headers to set in the request. HTTP allows repeated headers.
// +optional
+ // +listType=atomic
HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"`
}
@@ -2393,6 +2447,7 @@ type ExecAction struct {
// a shell, you need to explicitly call out to that shell.
// Exit status of 0 is treated as live/healthy and non-zero is unhealthy.
// +optional
+ // +listType=atomic
Command []string `json:"command,omitempty" protobuf:"bytes,1,rep,name=command"`
}
@@ -2514,9 +2569,11 @@ type Capability string
type Capabilities struct {
// Added capabilities
// +optional
+ // +listType=atomic
Add []Capability `json:"add,omitempty" protobuf:"bytes,1,rep,name=add,casttype=Capability"`
// Removed capabilities
// +optional
+ // +listType=atomic
Drop []Capability `json:"drop,omitempty" protobuf:"bytes,2,rep,name=drop,casttype=Capability"`
}
@@ -2602,6 +2659,7 @@ type Container struct {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"`
// Arguments to the entrypoint.
// The container image's CMD is used if this is not provided.
@@ -2612,6 +2670,7 @@ type Container struct {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"`
// Container's working directory.
// If not specified, the container runtime's default will be used, which
@@ -2640,12 +2699,15 @@ type Container struct {
// Values defined by an Env with a duplicate key will take precedence.
// Cannot be updated.
// +optional
+ // +listType=atomic
EnvFrom []EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,19,rep,name=envFrom"`
// List of environment variables to set in the container.
// Cannot be updated.
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"`
// Compute Resources required by this container.
// Cannot be updated.
@@ -2680,10 +2742,14 @@ type Container struct {
// +optional
// +patchMergeKey=mountPath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=mountPath
VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"`
// volumeDevices is the list of block devices to be used by the container.
// +patchMergeKey=devicePath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=devicePath
// +optional
VolumeDevices []VolumeDevice `json:"volumeDevices,omitempty" patchStrategy:"merge" patchMergeKey:"devicePath" protobuf:"bytes,21,rep,name=volumeDevices"`
// Periodic probe of container liveness.
@@ -2956,6 +3022,14 @@ type ContainerStatus struct {
// +featureGate=InPlacePodVerticalScaling
// +optional
Resources *ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,11,opt,name=resources"`
+ // Status of volume mounts.
+ // +optional
+ // +patchMergeKey=mountPath
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=mountPath
+ // +featureGate=RecursiveReadOnlyMounts
+ VolumeMounts []VolumeMountStatus `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,12,rep,name=volumeMounts"`
}
// PodPhase is a label for the condition of a pod at the current time.
@@ -3065,6 +3139,23 @@ const (
PodResizeStatusInfeasible PodResizeStatus = "Infeasible"
)
+// VolumeMountStatus shows status of volume mounts.
+type VolumeMountStatus struct {
+ // Name corresponds to the name of the original VolumeMount.
+ Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
+ // MountPath corresponds to the original VolumeMount.
+ MountPath string `json:"mountPath" protobuf:"bytes,2,opt,name=mountPath"`
+ // ReadOnly corresponds to the original VolumeMount.
+ // +optional
+ ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
+ // RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).
+ // An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled,
+ // depending on the mount result.
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ RecursiveReadOnly *RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty" protobuf:"bytes,4,opt,name=recursiveReadOnly,casttype=RecursiveReadOnlyMode"`
+}
+
// RestartPolicy describes how the container should be restarted.
// Only one of the following restart policies may be specified.
// If none of the following policies is specified, the default one
@@ -3123,6 +3214,7 @@ const (
// +structType=atomic
type NodeSelector struct {
// Required. A list of node selector terms. The terms are ORed.
+ // +listType=atomic
NodeSelectorTerms []NodeSelectorTerm `json:"nodeSelectorTerms" protobuf:"bytes,1,rep,name=nodeSelectorTerms"`
}
@@ -3133,9 +3225,11 @@ type NodeSelector struct {
type NodeSelectorTerm struct {
// A list of node selector requirements by node's labels.
// +optional
+ // +listType=atomic
MatchExpressions []NodeSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,1,rep,name=matchExpressions"`
// A list of node selector requirements by node's fields.
// +optional
+ // +listType=atomic
MatchFields []NodeSelectorRequirement `json:"matchFields,omitempty" protobuf:"bytes,2,rep,name=matchFields"`
}
@@ -3153,6 +3247,7 @@ type NodeSelectorRequirement struct {
// array must have a single element, which will be interpreted as an integer.
// This array is replaced during a strategic merge patch.
// +optional
+ // +listType=atomic
Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"`
}
@@ -3181,6 +3276,7 @@ type TopologySelectorTerm struct {
// A list of topology selector requirements by labels.
// +optional
+ // +listType=atomic
MatchLabelExpressions []TopologySelectorLabelRequirement `json:"matchLabelExpressions,omitempty" protobuf:"bytes,1,rep,name=matchLabelExpressions"`
}
@@ -3191,6 +3287,7 @@ type TopologySelectorLabelRequirement struct {
Key string `json:"key" protobuf:"bytes,1,opt,name=key"`
// An array of string values. One value must match the label to be selected.
// Each entry in Values is ORed.
+ // +listType=atomic
Values []string `json:"values" protobuf:"bytes,2,rep,name=values"`
}
@@ -3228,6 +3325,7 @@ type PodAffinity struct {
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
// +optional
+ // +listType=atomic
RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,1,rep,name=requiredDuringSchedulingIgnoredDuringExecution"`
// The scheduler will prefer to schedule pods to nodes that satisfy
// the affinity expressions specified by this field, but it may choose
@@ -3239,6 +3337,7 @@ type PodAffinity struct {
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
// +optional
+ // +listType=atomic
PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution"`
}
@@ -3263,6 +3362,7 @@ type PodAntiAffinity struct {
// When there are multiple elements, the lists of nodes corresponding to each
// podAffinityTerm are intersected, i.e. all terms must be satisfied.
// +optional
+ // +listType=atomic
RequiredDuringSchedulingIgnoredDuringExecution []PodAffinityTerm `json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,1,rep,name=requiredDuringSchedulingIgnoredDuringExecution"`
// The scheduler will prefer to schedule pods to nodes that satisfy
// the anti-affinity expressions specified by this field, but it may choose
@@ -3274,6 +3374,7 @@ type PodAntiAffinity struct {
// "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
// node(s) with the highest sum are the most preferred.
// +optional
+ // +listType=atomic
PreferredDuringSchedulingIgnoredDuringExecution []WeightedPodAffinityTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution"`
}
@@ -3302,6 +3403,7 @@ type PodAffinityTerm struct {
// and the ones selected by namespaceSelector.
// null or empty namespaces list and null namespaceSelector means "this pod's namespace".
// +optional
+ // +listType=atomic
Namespaces []string `json:"namespaces,omitempty" protobuf:"bytes,2,rep,name=namespaces"`
// This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching
// the labelSelector in the specified namespaces, where co-located is defined as running on a node
@@ -3318,24 +3420,24 @@ type PodAffinityTerm struct {
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,4,opt,name=namespaceSelector"`
// MatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
- // incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)`
+ // incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
- // The same key is forbidden to exist in both MatchLabelKeys and LabelSelector.
- // Also, MatchLabelKeys cannot be set when LabelSelector isn't set.
+ // The same key is forbidden to exist in both matchLabelKeys and labelSelector.
+ // Also, matchLabelKeys cannot be set when labelSelector isn't set.
// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
// +listType=atomic
// +optional
MatchLabelKeys []string `json:"matchLabelKeys,omitempty" protobuf:"bytes,5,opt,name=matchLabelKeys"`
// MismatchLabelKeys is a set of pod label keys to select which pods will
// be taken into consideration. The keys are used to lookup values from the
- // incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)`
+ // incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)`
// to select the group of existing pods which pods will be taken into consideration
// for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming
// pod labels will be ignored. The default value is empty.
- // The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector.
- // Also, MismatchLabelKeys cannot be set when LabelSelector isn't set.
+ // The same key is forbidden to exist in both mismatchLabelKeys and labelSelector.
+ // Also, mismatchLabelKeys cannot be set when labelSelector isn't set.
// This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
// +listType=atomic
// +optional
@@ -3370,6 +3472,7 @@ type NodeAffinity struct {
// "weight" to the sum if the node matches the corresponding matchExpressions; the
// node(s) with the highest sum are the most preferred.
// +optional
+ // +listType=atomic
PreferredDuringSchedulingIgnoredDuringExecution []PreferredSchedulingTerm `json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty" protobuf:"bytes,2,rep,name=preferredDuringSchedulingIgnoredDuringExecution"`
}
@@ -3475,6 +3578,8 @@ type PodSpec struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge,retainKeys
+ // +listType=map
+ // +listMapKey=name
Volumes []Volume `json:"volumes,omitempty" patchStrategy:"merge,retainKeys" patchMergeKey:"name" protobuf:"bytes,1,rep,name=volumes"`
// List of initialization containers belonging to the pod.
// Init containers are executed in order prior to containers being started. If any
@@ -3491,6 +3596,8 @@ type PodSpec struct {
// More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
InitContainers []Container `json:"initContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,20,rep,name=initContainers"`
// List of containers belonging to the pod.
// Containers cannot currently be added or removed.
@@ -3498,6 +3605,8 @@ type PodSpec struct {
// Cannot be updated.
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Containers []Container `json:"containers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"`
// List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
// pod to perform user-initiated actions such as debugging. This list cannot be specified when
@@ -3506,6 +3615,8 @@ type PodSpec struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
EphemeralContainers []EphemeralContainer `json:"ephemeralContainers,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,34,rep,name=ephemeralContainers"`
// Restart policy for all containers within the pod.
// One of Always, OnFailure, Never. In some contexts, only a subset of those values may be permitted.
@@ -3547,7 +3658,7 @@ type PodSpec struct {
// More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
// +optional
ServiceAccountName string `json:"serviceAccountName,omitempty" protobuf:"bytes,8,opt,name=serviceAccountName"`
- // DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
+ // DeprecatedServiceAccount is a deprecated alias for ServiceAccountName.
// Deprecated: Use serviceAccountName instead.
// +k8s:conversion-gen=false
// +optional
@@ -3595,6 +3706,8 @@ type PodSpec struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,15,rep,name=imagePullSecrets"`
// Specifies the hostname of the Pod
// If not specified, the pod's hostname will be set to a system-defined value.
@@ -3613,12 +3726,15 @@ type PodSpec struct {
SchedulerName string `json:"schedulerName,omitempty" protobuf:"bytes,19,opt,name=schedulerName"`
// If specified, the pod's tolerations.
// +optional
+ // +listType=atomic
Tolerations []Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
// HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts
- // file if specified. This is only valid for non-hostNetwork pods.
+ // file if specified.
// +optional
// +patchMergeKey=ip
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=ip
HostAliases []HostAlias `json:"hostAliases,omitempty" patchStrategy:"merge" patchMergeKey:"ip" protobuf:"bytes,23,rep,name=hostAliases"`
// If specified, indicates the pod's priority. "system-node-critical" and
// "system-cluster-critical" are two special keywords which indicate the
@@ -3645,6 +3761,7 @@ type PodSpec struct {
// all conditions specified in the readiness gates have status equal to "True"
// More info: https://git.k8s.io/enhancements/keps/sig-network/580-pod-readiness-gates
// +optional
+ // +listType=atomic
ReadinessGates []PodReadinessGate `json:"readinessGates,omitempty" protobuf:"bytes,28,opt,name=readinessGates"`
// RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used
// to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run.
@@ -3699,6 +3816,7 @@ type PodSpec struct {
// - spec.hostPID
// - spec.hostIPC
// - spec.hostUsers
+ // - spec.securityContext.appArmorProfile
// - spec.securityContext.seLinuxOptions
// - spec.securityContext.seccompProfile
// - spec.securityContext.fsGroup
@@ -3708,6 +3826,7 @@ type PodSpec struct {
// - spec.securityContext.runAsUser
// - spec.securityContext.runAsGroup
// - spec.securityContext.supplementalGroups
+ // - spec.containers[*].securityContext.appArmorProfile
// - spec.containers[*].securityContext.seLinuxOptions
// - spec.containers[*].securityContext.seccompProfile
// - spec.containers[*].securityContext.capabilities
@@ -3739,13 +3858,10 @@ type PodSpec struct {
//
// SchedulingGates can only be set at pod creation time, and be removed only afterwards.
//
- // This is a beta feature enabled by the PodSchedulingReadiness feature gate.
- //
// +patchMergeKey=name
// +patchStrategy=merge
// +listType=map
// +listMapKey=name
- // +featureGate=PodSchedulingReadiness
// +optional
SchedulingGates []PodSchedulingGate `json:"schedulingGates,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,38,opt,name=schedulingGates"`
// ResourceClaims defines which ResourceClaims must be allocated
@@ -3952,8 +4068,6 @@ type TopologySpreadConstraint struct {
// In this situation, new pod with the same labelSelector cannot be scheduled,
// because computed skew will be 3(3 - 0) if new Pod is scheduled to any of the three zones,
// it will violate MaxSkew.
- //
- // This is a beta field and requires the MinDomainsInPodTopologySpread feature gate to be enabled (enabled by default).
// +optional
MinDomains *int32 `json:"minDomains,omitempty" protobuf:"varint,5,opt,name=minDomains"`
// NodeAffinityPolicy indicates how we will treat Pod's nodeAffinity/nodeSelector
@@ -3999,8 +4113,10 @@ const (
// pod's hosts file.
type HostAlias struct {
// IP address of the host file entry.
- IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`
+ // +required
+ IP string `json:"ip" protobuf:"bytes,1,opt,name=ip"`
// Hostnames for the above IP address.
+ // +listType=atomic
Hostnames []string `json:"hostnames,omitempty" protobuf:"bytes,2,rep,name=hostnames"`
}
@@ -4071,6 +4187,7 @@ type PodSecurityContext struct {
// even if they are not included in this list.
// Note that this field cannot be set when spec.os.name is windows.
// +optional
+ // +listType=atomic
SupplementalGroups []int64 `json:"supplementalGroups,omitempty" protobuf:"varint,4,rep,name=supplementalGroups"`
// A special supplemental group that applies to all containers in a pod.
// Some volume types allow the Kubelet to change the ownership of that volume
@@ -4088,6 +4205,7 @@ type PodSecurityContext struct {
// sysctls (by the container runtime) might fail to launch.
// Note that this field cannot be set when spec.os.name is windows.
// +optional
+ // +listType=atomic
Sysctls []Sysctl `json:"sysctls,omitempty" protobuf:"bytes,7,rep,name=sysctls"`
// fsGroupChangePolicy defines behavior of changing ownership and permission of the volume
// before being exposed inside Pod. This field will only apply to
@@ -4102,6 +4220,10 @@ type PodSecurityContext struct {
// Note that this field cannot be set when spec.os.name is windows.
// +optional
SeccompProfile *SeccompProfile `json:"seccompProfile,omitempty" protobuf:"bytes,10,opt,name=seccompProfile"`
+ // appArmorProfile is the AppArmor options to use by the containers in this pod.
+ // Note that this field cannot be set when spec.os.name is windows.
+ // +optional
+ AppArmorProfile *AppArmorProfile `json:"appArmorProfile,omitempty" protobuf:"bytes,11,opt,name=appArmorProfile"`
}
// SeccompProfile defines a pod/container's seccomp profile settings.
@@ -4138,6 +4260,38 @@ const (
SeccompProfileTypeLocalhost SeccompProfileType = "Localhost"
)
+// AppArmorProfile defines a pod or container's AppArmor settings.
+// +union
+type AppArmorProfile struct {
+ // type indicates which kind of AppArmor profile will be applied.
+ // Valid options are:
+ // Localhost - a profile pre-loaded on the node.
+ // RuntimeDefault - the container runtime's default profile.
+ // Unconfined - no AppArmor enforcement.
+ // +unionDiscriminator
+ Type AppArmorProfileType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=AppArmorProfileType"`
+
+ // localhostProfile indicates a profile loaded on the node that should be used.
+ // The profile must be preconfigured on the node to work.
+ // Must match the loaded name of the profile.
+ // Must be set if and only if type is "Localhost".
+ // +optional
+ LocalhostProfile *string `json:"localhostProfile,omitempty" protobuf:"bytes,2,opt,name=localhostProfile"`
+}
+
+// +enum
+type AppArmorProfileType string
+
+const (
+ // AppArmorProfileTypeUnconfined indicates that no AppArmor profile should be enforced.
+ AppArmorProfileTypeUnconfined AppArmorProfileType = "Unconfined"
+ // AppArmorProfileTypeRuntimeDefault indicates that the container runtime's default AppArmor
+ // profile should be used.
+ AppArmorProfileTypeRuntimeDefault AppArmorProfileType = "RuntimeDefault"
+ // AppArmorProfileTypeLocalhost indicates that a profile pre-loaded on the node should be used.
+ AppArmorProfileTypeLocalhost AppArmorProfileType = "Localhost"
+)
+
// PodQOSClass defines the supported qos classes of Pods.
// +enum
type PodQOSClass string
@@ -4158,17 +4312,20 @@ type PodDNSConfig struct {
// This will be appended to the base nameservers generated from DNSPolicy.
// Duplicated nameservers will be removed.
// +optional
+ // +listType=atomic
Nameservers []string `json:"nameservers,omitempty" protobuf:"bytes,1,rep,name=nameservers"`
// A list of DNS search domains for host-name lookup.
// This will be appended to the base search paths generated from DNSPolicy.
// Duplicated search paths will be removed.
// +optional
+ // +listType=atomic
Searches []string `json:"searches,omitempty" protobuf:"bytes,2,rep,name=searches"`
// A list of DNS resolver options.
// This will be merged with the base options generated from DNSPolicy.
// Duplicated entries will be removed. Resolution options given in Options
// will override those that appear in the base DNSPolicy.
// +optional
+ // +listType=atomic
Options []PodDNSConfigOption `json:"options,omitempty" protobuf:"bytes,3,rep,name=options"`
}
@@ -4212,6 +4369,7 @@ type EphemeralContainerCommon struct {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
Command []string `json:"command,omitempty" protobuf:"bytes,3,rep,name=command"`
// Arguments to the entrypoint.
// The image's CMD is used if this is not provided.
@@ -4222,6 +4380,7 @@ type EphemeralContainerCommon struct {
// of whether the variable exists or not. Cannot be updated.
// More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell
// +optional
+ // +listType=atomic
Args []string `json:"args,omitempty" protobuf:"bytes,4,rep,name=args"`
// Container's working directory.
// If not specified, the container runtime's default will be used, which
@@ -4244,12 +4403,15 @@ type EphemeralContainerCommon struct {
// Values defined by an Env with a duplicate key will take precedence.
// Cannot be updated.
// +optional
+ // +listType=atomic
EnvFrom []EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,19,rep,name=envFrom"`
// List of environment variables to set in the container.
// Cannot be updated.
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Env []EnvVar `json:"env,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,7,rep,name=env"`
// Resources are not allowed for ephemeral containers. Ephemeral containers use spare resources
// already allocated to the pod.
@@ -4272,10 +4434,14 @@ type EphemeralContainerCommon struct {
// +optional
// +patchMergeKey=mountPath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=mountPath
VolumeMounts []VolumeMount `json:"volumeMounts,omitempty" patchStrategy:"merge" patchMergeKey:"mountPath" protobuf:"bytes,9,rep,name=volumeMounts"`
// volumeDevices is the list of block devices to be used by the container.
// +patchMergeKey=devicePath
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=devicePath
// +optional
VolumeDevices []VolumeDevice `json:"volumeDevices,omitempty" patchStrategy:"merge" patchMergeKey:"devicePath" protobuf:"bytes,21,rep,name=volumeDevices"`
// Probes are not allowed for ephemeral containers.
@@ -4401,6 +4567,8 @@ type PodStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []PodCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
// A human readable message indicating details about why the pod is in this condition.
// +optional
@@ -4446,6 +4614,8 @@ type PodStatus struct {
// +optional
// +patchStrategy=merge
// +patchMergeKey=ip
+ // +listType=map
+ // +listMapKey=ip
PodIPs []PodIP `json:"podIPs,omitempty" protobuf:"bytes,12,rep,name=podIPs" patchStrategy:"merge" patchMergeKey:"ip"`
// RFC 3339 date and time at which the object was acknowledged by the Kubelet.
@@ -4457,11 +4627,13 @@ type PodStatus struct {
// init container will have ready = true, the most recently started container will have
// startTime set.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
+ // +listType=atomic
InitContainerStatuses []ContainerStatus `json:"initContainerStatuses,omitempty" protobuf:"bytes,10,rep,name=initContainerStatuses"`
// The list has one entry per container in the manifest.
// More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
// +optional
+ // +listType=atomic
ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty" protobuf:"bytes,8,rep,name=containerStatuses"`
// The Quality of Service (QOS) classification assigned to the pod based on resource requirements
// See PodQOSClass type for available QOS classes
@@ -4470,6 +4642,7 @@ type PodStatus struct {
QOSClass PodQOSClass `json:"qosClass,omitempty" protobuf:"bytes,9,rep,name=qosClass"`
// Status for any ephemeral containers that have run in this pod.
// +optional
+ // +listType=atomic
EphemeralContainerStatuses []ContainerStatus `json:"ephemeralContainerStatuses,omitempty" protobuf:"bytes,13,rep,name=ephemeralContainerStatuses"`
// Status of resources resize desired for pod's containers.
@@ -4658,6 +4831,8 @@ type ReplicationControllerStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []ReplicationControllerCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}
@@ -4829,6 +5004,18 @@ const (
ServiceExternalTrafficPolicyTypeCluster = ServiceExternalTrafficPolicyCluster
)
+// These are valid values for the TrafficDistribution field of a Service.
+const (
+ // Indicates a preference for routing traffic to endpoints that are
+ // topologically proximate to the client. The interpretation of "topologically
+ // proximate" may vary across implementations and could encompass endpoints
+ // within the same node, rack, zone, or even region. Setting this value gives
+ // implementations permission to make different tradeoffs, e.g. optimizing for
+ // proximity rather than equal distribution of load. Users should not set this
+ // value if such tradeoffs are not acceptable.
+ ServiceTrafficDistributionPreferClose = "PreferClose"
+)
+
// These are the valid conditions of a service.
const (
// LoadBalancerPortsError represents the condition of the requested ports
@@ -4859,6 +5046,7 @@ type LoadBalancerStatus struct {
// Ingress is a list containing ingress points for the load-balancer.
// Traffic intended for the service should be sent to these ingress points.
// +optional
+ // +listType=atomic
Ingress []LoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}
@@ -5024,6 +5212,7 @@ type ServiceSpec struct {
// at a node with this IP. A common example is external load-balancers
// that are not part of the Kubernetes system.
// +optional
+ // +listType=atomic
ExternalIPs []string `json:"externalIPs,omitempty" protobuf:"bytes,5,rep,name=externalIPs"`
// Supports "ClientIP" and "None". Used to maintain session affinity.
@@ -5049,6 +5238,7 @@ type ServiceSpec struct {
// cloud-provider does not support the feature."
// More info: https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/
// +optional
+ // +listType=atomic
LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,9,opt,name=loadBalancerSourceRanges"`
// externalName is the external reference that discovery mechanisms will
@@ -5170,6 +5360,17 @@ type ServiceSpec struct {
// (possibly modified by topology and other features).
// +optional
InternalTrafficPolicy *ServiceInternalTrafficPolicy `json:"internalTrafficPolicy,omitempty" protobuf:"bytes,22,opt,name=internalTrafficPolicy"`
+
+ // TrafficDistribution offers a way to express preferences for how traffic is
+ // distributed to Service endpoints. Implementations can use this field as a
+ // hint, but are not required to guarantee strict adherence. If the field is
+ // not set, the implementation will apply its default routing strategy. If set
+ // to "PreferClose", implementations should prioritize endpoints that are
+ // topologically close (e.g., same zone).
+ // This is an alpha field and requires enabling ServiceTrafficDistribution feature.
+ // +featureGate=ServiceTrafficDistribution
+ // +optional
+ TrafficDistribution *string `json:"trafficDistribution,omitempty" protobuf:"bytes,23,opt,name=trafficDistribution"`
}
// ServicePort contains information on service's port.
@@ -5303,6 +5504,8 @@ type ServiceAccount struct {
// +optional
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Secrets []ObjectReference `json:"secrets,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=secrets"`
// ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images
@@ -5310,6 +5513,7 @@ type ServiceAccount struct {
// can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet.
// More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
// +optional
+ // +listType=atomic
ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" protobuf:"bytes,3,rep,name=imagePullSecrets"`
// AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.
@@ -5364,6 +5568,7 @@ type Endpoints struct {
// NotReadyAddresses in the same subset.
// Sets of addresses and ports that comprise a service.
// +optional
+ // +listType=atomic
Subsets []EndpointSubset `json:"subsets,omitempty" protobuf:"bytes,2,rep,name=subsets"`
}
@@ -5384,14 +5589,17 @@ type EndpointSubset struct {
// IP addresses which offer the related ports that are marked as ready. These endpoints
// should be considered safe for load balancers and clients to utilize.
// +optional
+ // +listType=atomic
Addresses []EndpointAddress `json:"addresses,omitempty" protobuf:"bytes,1,rep,name=addresses"`
// IP addresses which offer the related ports but are not currently marked as ready
// because they have not yet finished starting, have recently failed a readiness check,
// or have recently failed a liveness check.
// +optional
+ // +listType=atomic
NotReadyAddresses []EndpointAddress `json:"notReadyAddresses,omitempty" protobuf:"bytes,2,rep,name=notReadyAddresses"`
// Port numbers available on the related IP addresses.
// +optional
+ // +listType=atomic
Ports []EndpointPort `json:"ports,omitempty" protobuf:"bytes,3,rep,name=ports"`
}
@@ -5476,6 +5684,7 @@ type NodeSpec struct {
// each of IPv4 and IPv6.
// +optional
// +patchStrategy=merge
+ // +listType=set
PodCIDRs []string `json:"podCIDRs,omitempty" protobuf:"bytes,7,opt,name=podCIDRs" patchStrategy:"merge"`
// ID of the node assigned by the cloud provider in the format: ://
@@ -5487,6 +5696,7 @@ type NodeSpec struct {
Unschedulable bool `json:"unschedulable,omitempty" protobuf:"varint,4,opt,name=unschedulable"`
// If specified, the node's taints.
// +optional
+ // +listType=atomic
Taints []Taint `json:"taints,omitempty" protobuf:"bytes,5,opt,name=taints"`
// Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.
@@ -5562,6 +5772,26 @@ type NodeDaemonEndpoints struct {
KubeletEndpoint DaemonEndpoint `json:"kubeletEndpoint,omitempty" protobuf:"bytes,1,opt,name=kubeletEndpoint"`
}
+// NodeRuntimeHandlerFeatures is a set of runtime features.
+type NodeRuntimeHandlerFeatures struct {
+ // RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ RecursiveReadOnlyMounts *bool `json:"recursiveReadOnlyMounts,omitempty" protobuf:"varint,1,opt,name=recursiveReadOnlyMounts"`
+ // Reserved: UserNamespaces *bool (varint 2, for consistency with CRI API)
+}
+
+// NodeRuntimeHandler is a set of runtime handler information.
+type NodeRuntimeHandler struct {
+ // Runtime handler name.
+ // Empty for the default runtime handler.
+ // +optional
+ Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
+ // Supported features.
+ // +optional
+ Features *NodeRuntimeHandlerFeatures `json:"features,omitempty" protobuf:"bytes,2,opt,name=features"`
+}
+
// NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
type NodeSystemInfo struct {
// MachineID reported by the node. For unique machine identification
@@ -5657,6 +5887,8 @@ type NodeStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []NodeCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,4,rep,name=conditions"`
// List of addresses reachable to the node.
// Queried from cloud provider, if available.
@@ -5671,6 +5903,8 @@ type NodeStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Addresses []NodeAddress `json:"addresses,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,5,rep,name=addresses"`
// Endpoints of daemons running on the Node.
// +optional
@@ -5681,16 +5915,24 @@ type NodeStatus struct {
NodeInfo NodeSystemInfo `json:"nodeInfo,omitempty" protobuf:"bytes,7,opt,name=nodeInfo"`
// List of container images on this node
// +optional
+ // +listType=atomic
Images []ContainerImage `json:"images,omitempty" protobuf:"bytes,8,rep,name=images"`
// List of attachable volumes in use (mounted) by the node.
// +optional
+ // +listType=atomic
VolumesInUse []UniqueVolumeName `json:"volumesInUse,omitempty" protobuf:"bytes,9,rep,name=volumesInUse"`
// List of volumes that are attached to the node.
// +optional
+ // +listType=atomic
VolumesAttached []AttachedVolume `json:"volumesAttached,omitempty" protobuf:"bytes,10,rep,name=volumesAttached"`
// Status of the config assigned to the node via the dynamic Kubelet config feature.
// +optional
Config *NodeConfigStatus `json:"config,omitempty" protobuf:"bytes,11,opt,name=config"`
+ // The available runtime handlers.
+ // +featureGate=RecursiveReadOnlyMounts
+ // +optional
+ // +listType=atomic
+ RuntimeHandlers []NodeRuntimeHandler `json:"runtimeHandlers,omitempty" protobuf:"bytes,12,rep,name=runtimeHandlers"`
}
type UniqueVolumeName string
@@ -5711,6 +5953,7 @@ type AvoidPods struct {
// Bounded-sized list of signatures of pods that should avoid this node, sorted
// in timestamp order from oldest to newest. Size of the slice is unspecified.
// +optional
+ // +listType=atomic
PreferAvoidPods []PreferAvoidPodsEntry `json:"preferAvoidPods,omitempty" protobuf:"bytes,1,rep,name=preferAvoidPods"`
}
@@ -5742,6 +5985,7 @@ type ContainerImage struct {
// Names by which this image is known.
// e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"]
// +optional
+ // +listType=atomic
Names []string `json:"names" protobuf:"bytes,1,rep,name=names"`
// The size of the image in bytes.
// +optional
@@ -5764,8 +6008,7 @@ const (
type NodeConditionType string
// These are valid but not exhaustive conditions of node. A cloud provider may set a condition not listed here.
-// The built-in set of conditions are:
-// NodeReachable, NodeLive, NodeReady, NodeSchedulable, NodeRunnable.
+// Relevant events contain "NodeReady", "NodeNotReady", "NodeSchedulable", and "NodeNotSchedulable".
const (
// NodeReady means kubelet is healthy and ready to accept pods.
NodeReady NodeConditionType = "Ready"
@@ -5867,7 +6110,6 @@ const (
// Volume size, in bytes (e,g. 5Gi = 5GiB = 5 * 1024 * 1024 * 1024)
ResourceStorage ResourceName = "storage"
// Local ephemeral storage, in bytes. (500Gi = 500GiB = 500 * 1024 * 1024 * 1024)
- // The resource name for ResourceEphemeralStorage is alpha and it can change across releases.
ResourceEphemeralStorage ResourceName = "ephemeral-storage"
)
@@ -5937,6 +6179,7 @@ type NamespaceSpec struct {
// Finalizers is an opaque list of values that must be empty to permanently remove object from storage.
// More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
// +optional
+ // +listType=atomic
Finalizers []FinalizerName `json:"finalizers,omitempty" protobuf:"bytes,1,rep,name=finalizers,casttype=FinalizerName"`
}
@@ -5951,6 +6194,8 @@ type NamespaceStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []NamespaceCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}
@@ -6188,6 +6433,7 @@ type PodExecOptions struct {
Container string `json:"container,omitempty" protobuf:"bytes,5,opt,name=container"`
// Command is the remote command to execute. argv array. Not executed within a shell.
+ // +listType=atomic
Command []string `json:"command" protobuf:"bytes,6,rep,name=command"`
}
@@ -6206,6 +6452,7 @@ type PodPortForwardOptions struct {
// List of ports to forward
// Required when using WebSockets
// +optional
+ // +listType=atomic
Ports []int32 `json:"ports,omitempty" protobuf:"varint,1,rep,name=ports"`
}
@@ -6309,9 +6556,15 @@ type ObjectReference struct {
// +structType=atomic
type LocalObjectReference struct {
// Name of the referent.
- // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
+ // This field is effectively required, but due to backwards compatibility is
+ // allowed to be empty. Instances of this type with an empty value here are
+ // almost certainly wrong.
// TODO: Add other useful fields. apiVersion, kind, uid?
+ // More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
// +optional
+ // +default=""
+ // +kubebuilder:default=""
+ // TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
}
@@ -6499,6 +6752,7 @@ type LimitRangeItem struct {
// LimitRangeSpec defines a min/max usage limit for resources that match on kind.
type LimitRangeSpec struct {
// Limits is the list of LimitRangeItem objects that are enforced.
+ // +listType=atomic
Limits []LimitRangeItem `json:"limits" protobuf:"bytes,1,rep,name=limits"`
}
@@ -6607,6 +6861,7 @@ type ResourceQuotaSpec struct {
// A collection of filters that must match each object tracked by a quota.
// If not specified, the quota matches all objects.
// +optional
+ // +listType=atomic
Scopes []ResourceQuotaScope `json:"scopes,omitempty" protobuf:"bytes,2,rep,name=scopes,casttype=ResourceQuotaScope"`
// scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota
// but expressed using ScopeSelectorOperator in combination with possible values.
@@ -6621,6 +6876,7 @@ type ResourceQuotaSpec struct {
type ScopeSelector struct {
// A list of scope selector requirements by scope of the resources.
// +optional
+ // +listType=atomic
MatchExpressions []ScopedResourceSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,1,rep,name=matchExpressions"`
}
@@ -6637,6 +6893,7 @@ type ScopedResourceSelectorRequirement struct {
// the values array must be empty.
// This array is replaced during a strategic merge patch.
// +optional
+ // +listType=atomic
Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"`
}
@@ -6936,6 +7193,8 @@ type ComponentStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []ComponentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=conditions"`
}
@@ -6959,6 +7218,7 @@ type ComponentStatusList struct {
type DownwardAPIVolumeSource struct {
// Items is a list of downward API volume file
// +optional
+ // +listType=atomic
Items []DownwardAPIVolumeFile `json:"items,omitempty" protobuf:"bytes,1,rep,name=items"`
// Optional: mode bits to use on created files by default. Must be a
// Optional: mode bits used to set permissions on created files by default.
@@ -6980,7 +7240,7 @@ const (
type DownwardAPIVolumeFile struct {
// Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
Path string `json:"path" protobuf:"bytes,1,opt,name=path"`
- // Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
+ // Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.
// +optional
FieldRef *ObjectFieldSelector `json:"fieldRef,omitempty" protobuf:"bytes,2,opt,name=fieldRef"`
// Selects a resource of the container: only resources limits and requests
@@ -7003,6 +7263,7 @@ type DownwardAPIVolumeFile struct {
type DownwardAPIProjection struct {
// Items is a list of DownwardAPIVolume file
// +optional
+ // +listType=atomic
Items []DownwardAPIVolumeFile `json:"items,omitempty" protobuf:"bytes,1,rep,name=items"`
}
@@ -7083,6 +7344,11 @@ type SecurityContext struct {
// Note that this field cannot be set when spec.os.name is windows.
// +optional
SeccompProfile *SeccompProfile `json:"seccompProfile,omitempty" protobuf:"bytes,11,opt,name=seccompProfile"`
+ // appArmorProfile is the AppArmor options to use by this container. If set, this profile
+ // overrides the pod's appArmorProfile.
+ // Note that this field cannot be set when spec.os.name is windows.
+ // +optional
+ AppArmorProfile *AppArmorProfile `json:"appArmorProfile,omitempty" protobuf:"bytes,12,opt,name=appArmorProfile"`
}
// +enum
@@ -7178,13 +7444,6 @@ type Sysctl struct {
Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}
-// NodeResources is an object for conveying resource information about a node.
-// see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details.
-type NodeResources struct {
- // Capacity represents the available resources of a node
- Capacity ResourceList `protobuf:"bytes,1,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"`
-}
-
const (
// Enable stdin for remote command execution
ExecStdinParam = "input"
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go
index fd6f7dc61b..c54f2a2fe5 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/types_swagger_doc_generated.go
@@ -50,6 +50,16 @@ func (Affinity) SwaggerDoc() map[string]string {
return map_Affinity
}
+var map_AppArmorProfile = map[string]string{
+ "": "AppArmorProfile defines a pod or container's AppArmor settings.",
+ "type": "type indicates which kind of AppArmor profile will be applied. Valid options are:\n Localhost - a profile pre-loaded on the node.\n RuntimeDefault - the container runtime's default profile.\n Unconfined - no AppArmor enforcement.",
+ "localhostProfile": "localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is \"Localhost\".",
+}
+
+func (AppArmorProfile) SwaggerDoc() map[string]string {
+ return map_AppArmorProfile
+}
+
var map_AttachedVolume = map[string]string{
"": "AttachedVolume describes a volume attached to a node",
"name": "Name of the attached volume",
@@ -471,6 +481,7 @@ var map_ContainerStatus = map[string]string{
"started": "Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false.",
"allocatedResources": "AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.",
"resources": "Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.",
+ "volumeMounts": "Status of volume mounts.",
}
func (ContainerStatus) SwaggerDoc() map[string]string {
@@ -498,7 +509,7 @@ func (DownwardAPIProjection) SwaggerDoc() map[string]string {
var map_DownwardAPIVolumeFile = map[string]string{
"": "DownwardAPIVolumeFile represents information to create the file containing the pod field",
"path": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'",
- "fieldRef": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.",
+ "fieldRef": "Required: Selects a field of the pod: only annotations, labels, name, namespace and uid are supported.",
"resourceFieldRef": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.",
"mode": "Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.",
}
@@ -1021,7 +1032,7 @@ func (LoadBalancerStatus) SwaggerDoc() map[string]string {
var map_LocalObjectReference = map[string]string{
"": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.",
- "name": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
+ "name": "Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names",
}
func (LocalObjectReference) SwaggerDoc() map[string]string {
@@ -1203,13 +1214,23 @@ func (NodeProxyOptions) SwaggerDoc() map[string]string {
return map_NodeProxyOptions
}
-var map_NodeResources = map[string]string{
- "": "NodeResources is an object for conveying resource information about a node. see https://kubernetes.io/docs/concepts/architecture/nodes/#capacity for more details.",
- "Capacity": "Capacity represents the available resources of a node",
+var map_NodeRuntimeHandler = map[string]string{
+ "": "NodeRuntimeHandler is a set of runtime handler information.",
+ "name": "Runtime handler name. Empty for the default runtime handler.",
+ "features": "Supported features.",
}
-func (NodeResources) SwaggerDoc() map[string]string {
- return map_NodeResources
+func (NodeRuntimeHandler) SwaggerDoc() map[string]string {
+ return map_NodeRuntimeHandler
+}
+
+var map_NodeRuntimeHandlerFeatures = map[string]string{
+ "": "NodeRuntimeHandlerFeatures is a set of runtime features.",
+ "recursiveReadOnlyMounts": "RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.",
+}
+
+func (NodeRuntimeHandlerFeatures) SwaggerDoc() map[string]string {
+ return map_NodeRuntimeHandlerFeatures
}
var map_NodeSelector = map[string]string{
@@ -1270,6 +1291,7 @@ var map_NodeStatus = map[string]string{
"volumesInUse": "List of attachable volumes in use (mounted) by the node.",
"volumesAttached": "List of volumes that are attached to the node.",
"config": "Status of the config assigned to the node via the dynamic Kubelet config feature.",
+ "runtimeHandlers": "The available runtime handlers.",
}
func (NodeStatus) SwaggerDoc() map[string]string {
@@ -1345,7 +1367,7 @@ var map_PersistentVolumeClaimCondition = map[string]string{
"": "PersistentVolumeClaimCondition contains details about state of pvc",
"lastProbeTime": "lastProbeTime is the time we probed the condition.",
"lastTransitionTime": "lastTransitionTime is the time the condition transitioned from one status to another.",
- "reason": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"ResizeStarted\" that means the underlying persistent volume is being resized.",
+ "reason": "reason is a unique, this should be a short, machine understandable string that gives the reason for condition's last transition. If it reports \"Resizing\" that means the underlying persistent volume is being resized.",
"message": "message is the human-readable message indicating details about last transition.",
}
@@ -1373,7 +1395,7 @@ var map_PersistentVolumeClaimSpec = map[string]string{
"volumeMode": "volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.",
"dataSource": "dataSource field can be used to specify either: * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) * An existing PVC (PersistentVolumeClaim) If the provisioner or an external controller can support the specified data source, it will create a new volume based on the contents of the specified data source. When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. If the namespace is specified, then dataSourceRef will not be copied to dataSource.",
"dataSourceRef": "dataSourceRef specifies the object from which to populate the volume with data, if a non-empty volume is desired. This may be any object from a non-empty API group (non core object) or a PersistentVolumeClaim object. When this field is specified, volume binding will only succeed if the type of the specified object matches some installed volume populator or dynamic provisioner. This field will replace the functionality of the dataSource field and as such if both fields are non-empty, they must have the same value. For backwards compatibility, when namespace isn't specified in dataSourceRef, both fields (dataSource and dataSourceRef) will be set to the same value automatically if one of them is empty and the other is non-empty. When namespace is specified in dataSourceRef, dataSource isn't set to the same value and must be empty. There are three important differences between dataSource and dataSourceRef: * While dataSource only allows two specific types of objects, dataSourceRef\n allows any non-core object, as well as PersistentVolumeClaim objects.\n* While dataSource ignores disallowed values (dropping them), dataSourceRef\n preserves all values, and generates an error if a disallowed value is\n specified.\n* While dataSource only allows local objects, dataSourceRef allows objects\n in any namespaces.\n(Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled.",
- "volumeAttributesClassName": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#volumeattributesclass (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
+ "volumeAttributesClassName": "volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.",
}
func (PersistentVolumeClaimSpec) SwaggerDoc() map[string]string {
@@ -1385,7 +1407,7 @@ var map_PersistentVolumeClaimStatus = map[string]string{
"phase": "phase represents the current phase of PersistentVolumeClaim.",
"accessModes": "accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1",
"capacity": "capacity represents the actual resources of the underlying volume.",
- "conditions": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'.",
+ "conditions": "conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.",
"allocatedResources": "allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nCapacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity.\n\nA controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
"allocatedResourceStatuses": "allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either:\n\t* Un-prefixed keys:\n\t\t- storage - the capacity of the volume.\n\t* Custom resources must use implementation-defined prefixed names such as \"example.com/my-custom-resource\"\nApart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used.\n\nClaimResourceStatus can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState set when resize controller starts resizing the volume in control-plane.\n\t- ControllerResizeFailed:\n\t\tState set when resize has failed in resize controller with a terminal error.\n\t- NodeResizePending:\n\t\tState set when resize controller has finished resizing the volume but further resizing of\n\t\tvolume is needed on the node.\n\t- NodeResizeInProgress:\n\t\tState set when kubelet starts resizing the volume.\n\t- NodeResizeFailed:\n\t\tState set when resizing has failed in kubelet with a terminal error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor example: if expanding a PVC for more capacity - this field can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] = \"NodeResizeFailed\"\nWhen this field is not set, it means that no resize operation is in progress for the given PVC.\n\nA controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC.\n\nThis is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.",
"currentVolumeAttributesClassName": "currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.",
@@ -1522,8 +1544,8 @@ var map_PodAffinityTerm = map[string]string{
"namespaces": "namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means \"this pod's namespace\".",
"topologyKey": "This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.",
"namespaceSelector": "A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means \"this pod's namespace\". An empty selector ({}) matches all namespaces.",
- "matchLabelKeys": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MatchLabelKeys and LabelSelector. Also, MatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
- "mismatchLabelKeys": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `LabelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both MismatchLabelKeys and LabelSelector. Also, MismatchLabelKeys cannot be set when LabelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
+ "matchLabelKeys": "MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
+ "mismatchLabelKeys": "MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.",
}
func (PodAffinityTerm) SwaggerDoc() map[string]string {
@@ -1714,6 +1736,7 @@ var map_PodSecurityContext = map[string]string{
"sysctls": "Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.",
"fsGroupChangePolicy": "fsGroupChangePolicy defines behavior of changing ownership and permission of the volume before being exposed inside Pod. This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are \"OnRootMismatch\" and \"Always\". If not specified, \"Always\" is used. Note that this field cannot be set when spec.os.name is windows.",
"seccompProfile": "The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
+ "appArmorProfile": "appArmorProfile is the AppArmor options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.",
}
func (PodSecurityContext) SwaggerDoc() map[string]string {
@@ -1741,7 +1764,7 @@ var map_PodSpec = map[string]string{
"dnsPolicy": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.",
"nodeSelector": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
"serviceAccountName": "ServiceAccountName is the name of the ServiceAccount to use to run this pod. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/",
- "serviceAccount": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
+ "serviceAccount": "DeprecatedServiceAccount is a deprecated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.",
"automountServiceAccountToken": "AutomountServiceAccountToken indicates whether a service account token should be automatically mounted.",
"nodeName": "NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.",
"hostNetwork": "Host networking requested for this pod. Use the host's network namespace. If this option is set, the ports that will be used must be specified. Default to false.",
@@ -1755,7 +1778,7 @@ var map_PodSpec = map[string]string{
"affinity": "If specified, the pod's scheduling constraints",
"schedulerName": "If specified, the pod will be dispatched by specified scheduler. If not specified, the pod will be dispatched by default scheduler.",
"tolerations": "If specified, the pod's tolerations.",
- "hostAliases": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.",
+ "hostAliases": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified.",
"priorityClassName": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.",
"priority": "The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.",
"dnsConfig": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.",
@@ -1766,9 +1789,9 @@ var map_PodSpec = map[string]string{
"overhead": "Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md",
"topologySpreadConstraints": "TopologySpreadConstraints describes how a group of pods ought to spread across topology domains. Scheduler will schedule pods in a way which abides by the constraints. All topologySpreadConstraints are ANDed.",
"setHostnameAsFQDN": "If true the pod's hostname will be configured as the pod's FQDN, rather than the leaf name (the default). In Linux containers, this means setting the FQDN in the hostname field of the kernel (the nodename field of struct utsname). In Windows containers, this means setting the registry value of hostname for the registry key HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters to FQDN. If a pod does not have FQDN, this has no effect. Default to false.",
- "os": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup",
+ "os": "Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.\n\nIf the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions\n\nIf the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup",
"hostUsers": "Use the host's user namespace. Optional: Default to true. If set to true or not present, the pod will be run in the host user namespace, useful for when the pod needs a feature only available to the host user namespace, such as loading a kernel module with CAP_SYS_MODULE. When set to false, a new userns is created for the pod. Setting false is useful for mitigating container breakout vulnerabilities even allowing users to run their containers as root without actually having root privileges on the host. This field is alpha-level and is only honored by servers that enable the UserNamespacesSupport feature.",
- "schedulingGates": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards.\n\nThis is a beta feature enabled by the PodSchedulingReadiness feature gate.",
+ "schedulingGates": "SchedulingGates is an opaque list of values that if specified will block scheduling the pod. If schedulingGates is not empty, the pod will stay in the SchedulingGated state and the scheduler will not attempt to schedule the pod.\n\nSchedulingGates can only be set at pod creation time, and be removed only afterwards.",
"resourceClaims": "ResourceClaims defines which ResourceClaims must be allocated and reserved before the Pod is allowed to start. The resources will be made available to those containers which consume them by name.\n\nThis is an alpha field and requires enabling the DynamicResourceAllocation feature gate.\n\nThis field is immutable.",
}
@@ -2283,6 +2306,7 @@ var map_SecurityContext = map[string]string{
"allowPrivilegeEscalation": "AllowPrivilegeEscalation controls whether a process can gain more privileges than its parent process. This bool directly controls if the no_new_privs flag will be set on the container process. AllowPrivilegeEscalation is true always when the container is: 1) run as Privileged 2) has CAP_SYS_ADMIN Note that this field cannot be set when spec.os.name is windows.",
"procMount": "procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.",
"seccompProfile": "The seccomp options to use by this container. If seccomp options are provided at both the pod & container level, the container options override the pod options. Note that this field cannot be set when spec.os.name is windows.",
+ "appArmorProfile": "appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.",
}
func (SecurityContext) SwaggerDoc() map[string]string {
@@ -2396,6 +2420,7 @@ var map_ServiceSpec = map[string]string{
"allocateLoadBalancerNodePorts": "allocateLoadBalancerNodePorts defines if NodePorts will be automatically allocated for services with type LoadBalancer. Default is \"true\". It may be set to \"false\" if the cluster load-balancer does not rely on NodePorts. If the caller requests specific NodePorts (by specifying a value), those requests will be respected, regardless of this field. This field may only be set for services with type LoadBalancer and will be cleared if the type is changed to any other type.",
"loadBalancerClass": "loadBalancerClass is the class of the load balancer implementation this Service belongs to. If specified, the value of this field must be a label-style identifier, with an optional prefix, e.g. \"internal-vip\" or \"example.com/internal-vip\". Unprefixed names are reserved for end-users. This field can only be set when the Service type is 'LoadBalancer'. If not set, the default load balancer implementation is used, today this is typically done through the cloud provider integration, but should apply for any default implementation. If set, it is assumed that a load balancer implementation is watching for Services with a matching class. Any default load balancer implementation (e.g. cloud providers) should ignore Services that set this field. This field can only be set when creating or updating a Service to type 'LoadBalancer'. Once set, it can not be changed. This field will be wiped when a service is updated to a non 'LoadBalancer' type.",
"internalTrafficPolicy": "InternalTrafficPolicy describes how nodes distribute service traffic they receive on the ClusterIP. If set to \"Local\", the proxy will assume that pods only want to talk to endpoints of the service on the same node as the pod, dropping the traffic if there are no local endpoints. The default value, \"Cluster\", uses the standard behavior of routing to all endpoints evenly (possibly modified by topology and other features).",
+ "trafficDistribution": "TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to \"PreferClose\", implementations should prioritize endpoints that are topologically close (e.g., same zone). This is an alpha field and requires enabling ServiceTrafficDistribution feature.",
}
func (ServiceSpec) SwaggerDoc() map[string]string {
@@ -2578,19 +2603,32 @@ func (VolumeDevice) SwaggerDoc() map[string]string {
}
var map_VolumeMount = map[string]string{
- "": "VolumeMount describes a mounting of a Volume within a container.",
- "name": "This must match the Name of a Volume.",
- "readOnly": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
- "mountPath": "Path within the container at which the volume should be mounted. Must not contain ':'.",
- "subPath": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
- "mountPropagation": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10.",
- "subPathExpr": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.",
+ "": "VolumeMount describes a mounting of a Volume within a container.",
+ "name": "This must match the Name of a Volume.",
+ "readOnly": "Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.",
+ "recursiveReadOnly": "RecursiveReadOnly specifies whether read-only mounts should be handled recursively.\n\nIf ReadOnly is false, this field has no meaning and must be unspecified.\n\nIf ReadOnly is true, and this field is set to Disabled, the mount is not made recursively read-only. If this field is set to IfPossible, the mount is made recursively read-only, if it is supported by the container runtime. If this field is set to Enabled, the mount is made recursively read-only if it is supported by the container runtime, otherwise the pod will not be started and an error will be generated to indicate the reason.\n\nIf this field is set to IfPossible or Enabled, MountPropagation must be set to None (or be unspecified, which defaults to None).\n\nIf this field is not specified, it is treated as an equivalent of Disabled.",
+ "mountPath": "Path within the container at which the volume should be mounted. Must not contain ':'.",
+ "subPath": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).",
+ "mountPropagation": "mountPropagation determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used. This field is beta in 1.10. When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified (which defaults to None).",
+ "subPathExpr": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.",
}
func (VolumeMount) SwaggerDoc() map[string]string {
return map_VolumeMount
}
+var map_VolumeMountStatus = map[string]string{
+ "": "VolumeMountStatus shows status of volume mounts.",
+ "name": "Name corresponds to the name of the original VolumeMount.",
+ "mountPath": "MountPath corresponds to the original VolumeMount.",
+ "readOnly": "ReadOnly corresponds to the original VolumeMount.",
+ "recursiveReadOnly": "RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.",
+}
+
+func (VolumeMountStatus) SwaggerDoc() map[string]string {
+ return map_VolumeMountStatus
+}
+
var map_VolumeNodeAffinity = map[string]string{
"": "VolumeNodeAffinity defines constraints that limit what nodes this volume can be accessed from.",
"required": "required specifies hard node constraints that must be met.",
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go
index 45172e0e23..08e927848e 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/core/v1/zz_generated.deepcopy.go
@@ -74,6 +74,27 @@ func (in *Affinity) DeepCopy() *Affinity {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AppArmorProfile) DeepCopyInto(out *AppArmorProfile) {
+ *out = *in
+ if in.LocalhostProfile != nil {
+ in, out := &in.LocalhostProfile, &out.LocalhostProfile
+ *out = new(string)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppArmorProfile.
+func (in *AppArmorProfile) DeepCopy() *AppArmorProfile {
+ if in == nil {
+ return nil
+ }
+ out := new(AppArmorProfile)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AttachedVolume) DeepCopyInto(out *AttachedVolume) {
*out = *in
@@ -1041,6 +1062,13 @@ func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus) {
*out = new(ResourceRequirements)
(*in).DeepCopyInto(*out)
}
+ if in.VolumeMounts != nil {
+ in, out := &in.VolumeMounts, &out.VolumeMounts
+ *out = make([]VolumeMountStatus, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
return
}
@@ -2726,24 +2754,43 @@ func (in *NodeProxyOptions) DeepCopyObject() runtime.Object {
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
-func (in *NodeResources) DeepCopyInto(out *NodeResources) {
+func (in *NodeRuntimeHandler) DeepCopyInto(out *NodeRuntimeHandler) {
*out = *in
- if in.Capacity != nil {
- in, out := &in.Capacity, &out.Capacity
- *out = make(ResourceList, len(*in))
- for key, val := range *in {
- (*out)[key] = val.DeepCopy()
- }
+ if in.Features != nil {
+ in, out := &in.Features, &out.Features
+ *out = new(NodeRuntimeHandlerFeatures)
+ (*in).DeepCopyInto(*out)
}
return
}
-// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeResources.
-func (in *NodeResources) DeepCopy() *NodeResources {
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRuntimeHandler.
+func (in *NodeRuntimeHandler) DeepCopy() *NodeRuntimeHandler {
if in == nil {
return nil
}
- out := new(NodeResources)
+ out := new(NodeRuntimeHandler)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NodeRuntimeHandlerFeatures) DeepCopyInto(out *NodeRuntimeHandlerFeatures) {
+ *out = *in
+ if in.RecursiveReadOnlyMounts != nil {
+ in, out := &in.RecursiveReadOnlyMounts, &out.RecursiveReadOnlyMounts
+ *out = new(bool)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeRuntimeHandlerFeatures.
+func (in *NodeRuntimeHandlerFeatures) DeepCopy() *NodeRuntimeHandlerFeatures {
+ if in == nil {
+ return nil
+ }
+ out := new(NodeRuntimeHandlerFeatures)
in.DeepCopyInto(out)
return out
}
@@ -2908,6 +2955,13 @@ func (in *NodeStatus) DeepCopyInto(out *NodeStatus) {
*out = new(NodeConfigStatus)
(*in).DeepCopyInto(*out)
}
+ if in.RuntimeHandlers != nil {
+ in, out := &in.RuntimeHandlers, &out.RuntimeHandlers
+ *out = make([]NodeRuntimeHandler, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
return
}
@@ -4021,6 +4075,11 @@ func (in *PodSecurityContext) DeepCopyInto(out *PodSecurityContext) {
*out = new(SeccompProfile)
(*in).DeepCopyInto(*out)
}
+ if in.AppArmorProfile != nil {
+ in, out := &in.AppArmorProfile, &out.AppArmorProfile
+ *out = new(AppArmorProfile)
+ (*in).DeepCopyInto(*out)
+ }
return
}
@@ -5411,6 +5470,11 @@ func (in *SecurityContext) DeepCopyInto(out *SecurityContext) {
*out = new(SeccompProfile)
(*in).DeepCopyInto(*out)
}
+ if in.AppArmorProfile != nil {
+ in, out := &in.AppArmorProfile, &out.AppArmorProfile
+ *out = new(AppArmorProfile)
+ (*in).DeepCopyInto(*out)
+ }
return
}
@@ -5715,6 +5779,11 @@ func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
*out = new(ServiceInternalTrafficPolicy)
**out = **in
}
+ if in.TrafficDistribution != nil {
+ in, out := &in.TrafficDistribution, &out.TrafficDistribution
+ *out = new(string)
+ **out = **in
+ }
return
}
@@ -6073,6 +6142,11 @@ func (in *VolumeDevice) DeepCopy() *VolumeDevice {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeMount) DeepCopyInto(out *VolumeMount) {
*out = *in
+ if in.RecursiveReadOnly != nil {
+ in, out := &in.RecursiveReadOnly, &out.RecursiveReadOnly
+ *out = new(RecursiveReadOnlyMode)
+ **out = **in
+ }
if in.MountPropagation != nil {
in, out := &in.MountPropagation, &out.MountPropagation
*out = new(MountPropagationMode)
@@ -6091,6 +6165,27 @@ func (in *VolumeMount) DeepCopy() *VolumeMount {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VolumeMountStatus) DeepCopyInto(out *VolumeMountStatus) {
+ *out = *in
+ if in.RecursiveReadOnly != nil {
+ in, out := &in.RecursiveReadOnly, &out.RecursiveReadOnly
+ *out = new(RecursiveReadOnlyMode)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeMountStatus.
+func (in *VolumeMountStatus) DeepCopy() *VolumeMountStatus {
+ if in == nil {
+ return nil
+ }
+ out := new(VolumeMountStatus)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *VolumeNodeAffinity) DeepCopyInto(out *VolumeNodeAffinity) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1/generated.pb.go
index 79f2cc09d8..5792481dc1 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1/generated.proto
+// source: k8s.io/api/discovery/v1/generated.proto
package v1
@@ -49,7 +49,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Endpoint) Reset() { *m = Endpoint{} }
func (*Endpoint) ProtoMessage() {}
func (*Endpoint) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{0}
+ return fileDescriptor_2237b452324cf77e, []int{0}
}
func (m *Endpoint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,7 +77,7 @@ var xxx_messageInfo_Endpoint proto.InternalMessageInfo
func (m *EndpointConditions) Reset() { *m = EndpointConditions{} }
func (*EndpointConditions) ProtoMessage() {}
func (*EndpointConditions) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{1}
+ return fileDescriptor_2237b452324cf77e, []int{1}
}
func (m *EndpointConditions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +105,7 @@ var xxx_messageInfo_EndpointConditions proto.InternalMessageInfo
func (m *EndpointHints) Reset() { *m = EndpointHints{} }
func (*EndpointHints) ProtoMessage() {}
func (*EndpointHints) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{2}
+ return fileDescriptor_2237b452324cf77e, []int{2}
}
func (m *EndpointHints) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +133,7 @@ var xxx_messageInfo_EndpointHints proto.InternalMessageInfo
func (m *EndpointPort) Reset() { *m = EndpointPort{} }
func (*EndpointPort) ProtoMessage() {}
func (*EndpointPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{3}
+ return fileDescriptor_2237b452324cf77e, []int{3}
}
func (m *EndpointPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +161,7 @@ var xxx_messageInfo_EndpointPort proto.InternalMessageInfo
func (m *EndpointSlice) Reset() { *m = EndpointSlice{} }
func (*EndpointSlice) ProtoMessage() {}
func (*EndpointSlice) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{4}
+ return fileDescriptor_2237b452324cf77e, []int{4}
}
func (m *EndpointSlice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +189,7 @@ var xxx_messageInfo_EndpointSlice proto.InternalMessageInfo
func (m *EndpointSliceList) Reset() { *m = EndpointSliceList{} }
func (*EndpointSliceList) ProtoMessage() {}
func (*EndpointSliceList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{5}
+ return fileDescriptor_2237b452324cf77e, []int{5}
}
func (m *EndpointSliceList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -217,7 +217,7 @@ var xxx_messageInfo_EndpointSliceList proto.InternalMessageInfo
func (m *ForZone) Reset() { *m = ForZone{} }
func (*ForZone) ProtoMessage() {}
func (*ForZone) Descriptor() ([]byte, []int) {
- return fileDescriptor_3a5d310fb1396ddf, []int{6}
+ return fileDescriptor_2237b452324cf77e, []int{6}
}
func (m *ForZone) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -254,67 +254,66 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1/generated.proto", fileDescriptor_3a5d310fb1396ddf)
+ proto.RegisterFile("k8s.io/api/discovery/v1/generated.proto", fileDescriptor_2237b452324cf77e)
}
-var fileDescriptor_3a5d310fb1396ddf = []byte{
- // 893 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x4d, 0x6f, 0xe3, 0x44,
- 0x18, 0x8e, 0x9b, 0x86, 0xda, 0x93, 0x56, 0xec, 0x8e, 0x90, 0x1a, 0x05, 0x14, 0x87, 0xa0, 0x45,
- 0x91, 0x2a, 0x6c, 0x5a, 0x21, 0xb4, 0x20, 0x21, 0x51, 0xb3, 0x65, 0x97, 0xaf, 0x52, 0xcd, 0xf6,
- 0xb4, 0x42, 0x5a, 0x5c, 0xfb, 0xad, 0x63, 0xd2, 0xcc, 0x58, 0x33, 0x93, 0x48, 0xe1, 0xc4, 0x85,
- 0x33, 0xfc, 0x22, 0x8e, 0xa8, 0xc7, 0xbd, 0xb1, 0x27, 0x8b, 0x9a, 0xbf, 0xc0, 0x69, 0x4f, 0x68,
- 0xc6, 0x9f, 0x25, 0x8d, 0xb2, 0x37, 0xcf, 0x33, 0xcf, 0xf3, 0x7e, 0x3c, 0x33, 0xf3, 0x1a, 0x7d,
- 0x3e, 0x7d, 0x28, 0x9c, 0x98, 0xb9, 0xd3, 0xf9, 0x05, 0x70, 0x0a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 0x0f, 0x6f, 0xdd,
- 0xee, 0xdd, 0x82, 0xde, 0xb8, 0xe1, 0xde, 0x67, 0xd7, 0x37, 0x83, 0xd6, 0x8b, 0x9b, 0x41, 0xeb,
- 0xe5, 0xcd, 0xa0, 0xf5, 0x4b, 0x36, 0x30, 0xae, 0xb3, 0x81, 0xf1, 0x22, 0x1b, 0x18, 0x2f, 0xb3,
- 0x81, 0xf1, 0x77, 0x36, 0x30, 0x7e, 0xff, 0x67, 0xd0, 0x7a, 0xb6, 0xbf, 0xe6, 0xa7, 0xfe, 0x5f,
- 0x00, 0x00, 0x00, 0xff, 0xff, 0x2e, 0xd0, 0xcc, 0x2e, 0x07, 0x08, 0x00, 0x00,
+var fileDescriptor_2237b452324cf77e = []byte{
+ // 877 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x4d, 0x6f, 0xdc, 0x44,
+ 0x18, 0x5e, 0x67, 0x63, 0x62, 0x8f, 0x13, 0xd1, 0x8e, 0x90, 0x62, 0x2d, 0xc8, 0x5e, 0x8c, 0x0a,
+ 0x2b, 0x45, 0x78, 0x49, 0x84, 0x50, 0x41, 0xe2, 0x10, 0xd3, 0xd0, 0xf2, 0x15, 0xa2, 0x69, 0x4e,
+ 0x15, 0x52, 0x71, 0xec, 0x37, 0x5e, 0x93, 0xd8, 0x63, 0x79, 0x26, 0x2b, 0x2d, 0x27, 0x2e, 0x9c,
+ 0xe1, 0x17, 0x71, 0x44, 0x39, 0xf6, 0x46, 0x4f, 0x16, 0x31, 0x7f, 0x81, 0x53, 0x4f, 0x68, 0xc6,
+ 0x9f, 0x61, 0xb3, 0xda, 0xde, 0x3c, 0xcf, 0x3c, 0xcf, 0xfb, 0xf1, 0xcc, 0xcc, 0x6b, 0xf4, 0xc1,
+ 0xc5, 0x43, 0xe6, 0xc6, 0x74, 0xea, 0x67, 0xf1, 0x34, 0x8c, 0x59, 0x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, 0x6e, 0xb8, 0xf7, 0xf9, 0xf5, 0x8d, 0x35, 0x78, 0x71, 0x63,
+ 0x0d, 0x5e, 0xde, 0x58, 0x83, 0x5f, 0x4a, 0x4b, 0xb9, 0x2e, 0x2d, 0xe5, 0x45, 0x69, 0x29, 0x2f,
+ 0x4b, 0x4b, 0xf9, 0xbb, 0xb4, 0x94, 0xdf, 0xff, 0xb1, 0x06, 0xcf, 0x76, 0x57, 0xfc, 0xd4, 0xff,
+ 0x0b, 0x00, 0x00, 0xff, 0xff, 0x76, 0x4b, 0x26, 0xe3, 0xee, 0x07, 0x00, 0x00,
}
func (m *Endpoint) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1beta1/generated.pb.go
index fcb9136e74..46935574bf 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/discovery/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1beta1/generated.proto
+// source: k8s.io/api/discovery/v1beta1/generated.proto
package v1beta1
@@ -49,7 +49,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Endpoint) Reset() { *m = Endpoint{} }
func (*Endpoint) ProtoMessage() {}
func (*Endpoint) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{0}
+ return fileDescriptor_6555bad15de200e0, []int{0}
}
func (m *Endpoint) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,7 +77,7 @@ var xxx_messageInfo_Endpoint proto.InternalMessageInfo
func (m *EndpointConditions) Reset() { *m = EndpointConditions{} }
func (*EndpointConditions) ProtoMessage() {}
func (*EndpointConditions) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{1}
+ return fileDescriptor_6555bad15de200e0, []int{1}
}
func (m *EndpointConditions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +105,7 @@ var xxx_messageInfo_EndpointConditions proto.InternalMessageInfo
func (m *EndpointHints) Reset() { *m = EndpointHints{} }
func (*EndpointHints) ProtoMessage() {}
func (*EndpointHints) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{2}
+ return fileDescriptor_6555bad15de200e0, []int{2}
}
func (m *EndpointHints) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +133,7 @@ var xxx_messageInfo_EndpointHints proto.InternalMessageInfo
func (m *EndpointPort) Reset() { *m = EndpointPort{} }
func (*EndpointPort) ProtoMessage() {}
func (*EndpointPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{3}
+ return fileDescriptor_6555bad15de200e0, []int{3}
}
func (m *EndpointPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +161,7 @@ var xxx_messageInfo_EndpointPort proto.InternalMessageInfo
func (m *EndpointSlice) Reset() { *m = EndpointSlice{} }
func (*EndpointSlice) ProtoMessage() {}
func (*EndpointSlice) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{4}
+ return fileDescriptor_6555bad15de200e0, []int{4}
}
func (m *EndpointSlice) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +189,7 @@ var xxx_messageInfo_EndpointSlice proto.InternalMessageInfo
func (m *EndpointSliceList) Reset() { *m = EndpointSliceList{} }
func (*EndpointSliceList) ProtoMessage() {}
func (*EndpointSliceList) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{5}
+ return fileDescriptor_6555bad15de200e0, []int{5}
}
func (m *EndpointSliceList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -217,7 +217,7 @@ var xxx_messageInfo_EndpointSliceList proto.InternalMessageInfo
func (m *ForZone) Reset() { *m = ForZone{} }
func (*ForZone) ProtoMessage() {}
func (*ForZone) Descriptor() ([]byte, []int) {
- return fileDescriptor_ece80bbc872d519b, []int{6}
+ return fileDescriptor_6555bad15de200e0, []int{6}
}
func (m *ForZone) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -254,66 +254,65 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/discovery/v1beta1/generated.proto", fileDescriptor_ece80bbc872d519b)
+ proto.RegisterFile("k8s.io/api/discovery/v1beta1/generated.proto", fileDescriptor_6555bad15de200e0)
}
-var fileDescriptor_ece80bbc872d519b = []byte{
- // 871 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x41, 0x6f, 0xe3, 0x44,
- 0x14, 0x8e, 0x9b, 0x86, 0xda, 0x93, 0x56, 0xec, 0x8e, 0x38, 0x44, 0xa5, 0xb2, 0x23, 0xa3, 0x45,
- 0x11, 0x15, 0x36, 0xad, 0x56, 0x68, 0x05, 0xa7, 0x1a, 0x0a, 0x8b, 0xb4, 0xec, 0x56, 0xd3, 0x4a,
- 0x48, 0x2b, 0x0e, 0x4c, 0xec, 0xa9, 0x63, 0xd2, 0xcc, 0x58, 0x33, 0x93, 0x48, 0xb9, 0xf1, 0x0f,
- 0xe0, 0xb7, 0xf0, 0x17, 0x90, 0x50, 0x8f, 0x7b, 0xdc, 0x93, 0x45, 0xcd, 0xbf, 0xe8, 0x09, 0xcd,
- 0x78, 0x6c, 0x27, 0x04, 0xba, 0xb9, 0x79, 0xbe, 0x79, 0xdf, 0xf7, 0xde, 0xfb, 0xde, 0xcc, 0x18,
- 0x9c, 0x4f, 0x9f, 0x89, 0x20, 0x63, 0xe1, 0x74, 0x3e, 0x26, 0x9c, 0x12, 0x49, 0x44, 0xb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f,
- 0x94, 0xae, 0x75, 0x5b, 0xba, 0xd6, 0x9b, 0xd2, 0xb5, 0xde, 0x96, 0xae, 0xf5, 0x57, 0xe9, 0x5a,
- 0xbf, 0xfd, 0xed, 0x76, 0x5e, 0x1f, 0x3d, 0xf4, 0xc3, 0xfe, 0x27, 0x00, 0x00, 0xff, 0xff, 0xd2,
- 0xeb, 0x52, 0x19, 0xe8, 0x07, 0x00, 0x00,
+var fileDescriptor_6555bad15de200e0 = []byte{
+ // 857 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x4f, 0x6f, 0xe4, 0x34,
+ 0x14, 0x9f, 0x74, 0x1a, 0x9a, 0x78, 0x5a, 0xb1, 0x6b, 0x71, 0x18, 0x95, 0x2a, 0x19, 0x05, 0x2d,
+ 0x1a, 0x51, 0x48, 0x68, 0xb5, 0x42, 0x2b, 0x38, 0x35, 0xb0, 0xb0, 0x48, 0xcb, 0x6e, 0xe5, 0x56,
+ 0x42, 0x5a, 0x71, 0xc0, 0x93, 0xb8, 0x19, 0xd3, 0x26, 0x8e, 0x62, 0x77, 0xa4, 0xb9, 0xf1, 0x0d,
+ 0xe0, 0xb3, 0xf0, 0x15, 0x90, 0x50, 0x8f, 0x7b, 0xdc, 0x53, 0xc4, 0x84, 0x6f, 0xb1, 0x27, 0x64,
+ 0xc7, 0xf9, 0x33, 0x0c, 0x94, 0xb9, 0xc5, 0x3f, 0xbf, 0xdf, 0xef, 0xbd, 0xf7, 0x7b, 0xb6, 0x03,
+ 0x3e, 0xbe, 0x7e, 0xc2, 0x7d, 0xca, 0x02, 0x9c, 0xd3, 0x20, 0xa6, 0x3c, 0x62, 0x0b, 0x52, 0x2c,
+ 0x83, 0xc5, 0xc9, 0x8c, 0x08, 0x7c, 0x12, 0x24, 0x24, 0x23, 0x05, 0x16, 0x24, 0xf6, 0xf3, 0x82,
+ 0x09, 0x06, 0x8f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 0x07, 0x00, 0x00, 0xff,
+ 0xff, 0x1c, 0xe6, 0x20, 0x06, 0xcf, 0x07, 0x00, 0x00,
}
func (m *Endpoint) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/events/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/events/v1/generated.pb.go
index 2ec919a95a..96a6047e86 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/events/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/events/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/events/v1/generated.proto
+// source: k8s.io/api/events/v1/generated.proto
package v1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Event) Reset() { *m = Event{} }
func (*Event) ProtoMessage() {}
func (*Event) Descriptor() ([]byte, []int) {
- return fileDescriptor_ee2600587b650fac, []int{0}
+ return fileDescriptor_d3a3e1495c224e47, []int{0}
}
func (m *Event) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_Event proto.InternalMessageInfo
func (m *EventList) Reset() { *m = EventList{} }
func (*EventList) ProtoMessage() {}
func (*EventList) Descriptor() ([]byte, []int) {
- return fileDescriptor_ee2600587b650fac, []int{1}
+ return fileDescriptor_d3a3e1495c224e47, []int{1}
}
func (m *EventList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_EventList proto.InternalMessageInfo
func (m *EventSeries) Reset() { *m = EventSeries{} }
func (*EventSeries) ProtoMessage() {}
func (*EventSeries) Descriptor() ([]byte, []int) {
- return fileDescriptor_ee2600587b650fac, []int{2}
+ return fileDescriptor_d3a3e1495c224e47, []int{2}
}
func (m *EventSeries) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,60 +135,59 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/events/v1/generated.proto", fileDescriptor_ee2600587b650fac)
+ proto.RegisterFile("k8s.io/api/events/v1/generated.proto", fileDescriptor_d3a3e1495c224e47)
}
-var fileDescriptor_ee2600587b650fac = []byte{
- // 775 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x6f, 0xe3, 0x44,
- 0x14, 0x8f, 0x77, 0x9b, 0xb4, 0x99, 0xec, 0x6e, 0xd3, 0xd9, 0x95, 0x3a, 0x74, 0x25, 0x27, 0x64,
- 0x25, 0x14, 0x21, 0x61, 0xd3, 0x0a, 0x21, 0x84, 0x84, 0x44, 0xdd, 0x14, 0x54, 0xd4, 0x52, 0x69,
- 0xda, 0x13, 0xe2, 0xd0, 0x89, 0xf3, 0xea, 0x9a, 0xc4, 0x33, 0xd6, 0xcc, 0x24, 0x52, 0x6f, 0x5c,
- 0x90, 0x38, 0xf2, 0x05, 0xf8, 0x00, 0x88, 0x2f, 0xd2, 0x63, 0x8f, 0x3d, 0x45, 0xd4, 0x7c, 0x11,
- 0xe4, 0xb1, 0x13, 0xa7, 0xf9, 0x03, 0x41, 0x7b, 0xf3, 0xbc, 0xf7, 0xfb, 0xf3, 0xde, 0xcc, 0xcb,
- 0x0b, 0xfa, 0xaa, 0xff, 0x85, 0x72, 0x42, 0xe1, 0xf6, 0x87, 0x5d, 0x90, 0x1c, 0x34, 0x28, 0x77,
- 0x04, 0xbc, 0x27, 0xa4, 0x9b, 0x27, 0x58, 0x1c, 0xba, 0x30, 0x02, 0xae, 0x95, 0x3b, 0xda, 0x77,
- 0x03, 0xe0, 0x20, 0x99, 0x86, 0x9e, 0x13, 0x4b, 0xa1, 0x05, 0x7e, 0x93, 0xa1, 0x1c, 0x16, 0x87,
- 0x4e, 0x86, 0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x43, 0x65,
- 0xdf, 0xb4, 0x6d, 0x99, 0xb6, 0xa7, 0xa4, 0xac, 0xd9, 0x2c, 0x87, 0x87, 0xa8, 0x3e, 0x60, 0x4a,
- 0x9f, 0x77, 0x15, 0xc8, 0x11, 0xf4, 0xde, 0x67, 0x3b, 0x4e, 0xe7, 0xf5, 0x74, 0x4e, 0x90, 0x2e,
- 0x58, 0x78, 0x5f, 0xde, 0x3d, 0xda, 0xa5, 0xfb, 0x47, 0xbb, 0xf4, 0xf0, 0x68, 0x97, 0x7e, 0x4e,
- 0x6c, 0xeb, 0x2e, 0xb1, 0xad, 0xfb, 0xc4, 0xb6, 0x1e, 0x12, 0xdb, 0xfa, 0x2b, 0xb1, 0xad, 0xdf,
- 0xfe, 0xb6, 0x4b, 0x3f, 0xbc, 0x59, 0xf6, 0x6f, 0xfa, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe0,
- 0xc8, 0x73, 0x3d, 0x7d, 0x07, 0x00, 0x00,
+var fileDescriptor_d3a3e1495c224e47 = []byte{
+ // 759 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x4f, 0xdb, 0x48,
+ 0x14, 0x8f, 0x81, 0x04, 0x32, 0xe1, 0x4f, 0x18, 0x90, 0x98, 0x05, 0xc9, 0xc9, 0x86, 0xd5, 0x2a,
+ 0x5a, 0x69, 0xed, 0x05, 0xad, 0x56, 0xab, 0x3d, 0x2d, 0x26, 0xec, 0x8a, 0x0a, 0x8a, 0x34, 0x70,
+ 0xaa, 0x7a, 0x60, 0xe2, 0x3c, 0x8c, 0x4b, 0xec, 0xb1, 0xc6, 0x93, 0x48, 0xdc, 0x7a, 0xa9, 0xd4,
+ 0x63, 0xbf, 0x40, 0x3f, 0x40, 0xd5, 0x2f, 0xc2, 0x91, 0x23, 0xa7, 0xa8, 0xb8, 0x5f, 0xa4, 0xf2,
+ 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, 0xf8, 0xe5, 0xd8, 0x8e, 0x32, 0x66,
+ 0x6b, 0x24, 0x66, 0xab, 0x0d, 0x55, 0x4e, 0x9d, 0x97, 0xfa, 0x91, 0xa1, 0xfd, 0xf4, 0x2f, 0xca,
+ 0xbb, 0x12, 0xbc, 0x90, 0xcc, 0x55, 0xe7, 0xeb, 0xa5, 0xfd, 0x9d, 0xaf, 0x2c, 0x0f, 0x6b, 0x25,
+ 0xd5, 0xc9, 0x1f, 0xc7, 0x0c, 0x9a, 0x10, 0x6b, 0x1f, 0x34, 0x54, 0x1a, 0x5a, 0x2e, 0x78, 0x17,
+ 0xe5, 0x6d, 0xd5, 0xb6, 0xa6, 0xda, 0x1e, 0x90, 0x92, 0x66, 0x93, 0x1c, 0xee, 0xa0, 0x72, 0x9b,
+ 0x85, 0xf2, 0xac, 0x19, 0x82, 0xe8, 0x42, 0xeb, 0x47, 0xb6, 0xe3, 0x60, 0x5e, 0x4f, 0x46, 0x04,
+ 0xe9, 0x98, 0x85, 0xf5, 0xcf, 0xdd, 0xa3, 0x9e, 0xbb, 0x7f, 0xd4, 0x73, 0x0f, 0x8f, 0x7a, 0xee,
+ 0x75, 0xa4, 0x6b, 0x77, 0x91, 0xae, 0xdd, 0x47, 0xba, 0xf6, 0x10, 0xe9, 0xda, 0xa7, 0x48, 0xd7,
+ 0xde, 0x7d, 0xd6, 0x73, 0x2f, 0x36, 0x27, 0xfd, 0x9b, 0x7e, 0x09, 0x00, 0x00, 0xff, 0xff, 0x6f,
+ 0x4f, 0x7a, 0xe4, 0x64, 0x07, 0x00, 0x00,
}
func (m *Event) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/events/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/events/v1beta1/generated.pb.go
index 701127ff94..5d7881e8c0 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/events/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/events/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/events/v1beta1/generated.proto
+// source: k8s.io/api/events/v1beta1/generated.proto
package v1beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Event) Reset() { *m = Event{} }
func (*Event) ProtoMessage() {}
func (*Event) Descriptor() ([]byte, []int) {
- return fileDescriptor_4f97f691c32a5ac8, []int{0}
+ return fileDescriptor_99027a32dee7673b, []int{0}
}
func (m *Event) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_Event proto.InternalMessageInfo
func (m *EventList) Reset() { *m = EventList{} }
func (*EventList) ProtoMessage() {}
func (*EventList) Descriptor() ([]byte, []int) {
- return fileDescriptor_4f97f691c32a5ac8, []int{1}
+ return fileDescriptor_99027a32dee7673b, []int{1}
}
func (m *EventList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_EventList proto.InternalMessageInfo
func (m *EventSeries) Reset() { *m = EventSeries{} }
func (*EventSeries) ProtoMessage() {}
func (*EventSeries) Descriptor() ([]byte, []int) {
- return fileDescriptor_4f97f691c32a5ac8, []int{2}
+ return fileDescriptor_99027a32dee7673b, []int{2}
}
func (m *EventSeries) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,60 +135,59 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/events/v1beta1/generated.proto", fileDescriptor_4f97f691c32a5ac8)
+ proto.RegisterFile("k8s.io/api/events/v1beta1/generated.proto", fileDescriptor_99027a32dee7673b)
}
-var fileDescriptor_4f97f691c32a5ac8 = []byte{
- // 779 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00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, 0x3b, 0xb7, 0x72, 0x73, 0xe7, 0x56, 0x6e,
- 0xef, 0xdc, 0xca, 0x2f, 0x99, 0xeb, 0x5c, 0x67, 0xae, 0x73, 0x93, 0xb9, 0xce, 0x6d, 0xe6, 0x3a,
- 0x7f, 0x67, 0xae, 0xf3, 0xfb, 0x3f, 0x6e, 0xe5, 0xc7, 0xa3, 0x8d, 0xff, 0xb0, 0xff, 0x06, 0x00,
- 0x00, 0xff, 0xff, 0xae, 0x19, 0x45, 0xf5, 0x96, 0x07, 0x00, 0x00,
+var fileDescriptor_99027a32dee7673b = []byte{
+ // 764 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0xcf, 0x4f, 0xdb, 0x48,
+ 0x14, 0xc7, 0x63, 0x20, 0x81, 0x4c, 0xf8, 0x11, 0x86, 0x03, 0x03, 0x2b, 0x39, 0x51, 0x90, 0x50,
+ 0x76, 0xa5, 0xb5, 0x17, 0xb4, 0x5a, 0xed, 0x6d, 0x85, 0x09, 0x5b, 0x81, 0xa0, 0x48, 0x03, 0xa7,
+ 0xaa, 0x07, 0x26, 0xce, 0xc3, 0xb8, 0xc4, 0x1e, 0x6b, 0x3c, 0x89, 0xc4, 0xad, 0x97, 0x4a, 0x3d,
+ 0xf6, 0x6f, 0xe8, 0xad, 0xb7, 0xfe, 0x19, 0x1c, 0x39, 0x72, 0x8a, 0x8a, 0xfb, 0x8f, 0x54, 0x1e,
+ 0x3b, 0x71, 0xc8, 0x0f, 0x91, 0xaa, 0x37, 0xfb, 0xbd, 0xef, 0xf7, 0xf3, 0xde, 0x8c, 0x5f, 0x5e,
+ 0xd0, 0xef, 0xb7, 0xff, 0x86, 0x86, 0xcb, 0x4d, 0x16, 0xb8, 0x26, 0x74, 0xc1, 0x97, 0xa1, 0xd9,
+ 0xdd, 0x6b, 0x82, 0x64, 0x7b, 0xa6, 0x03, 0x3e, 0x08, 0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0xda, 0x20, 0xd6, 0x4a, 0x0a, 0xcb, 0x1f, 0xc7, 0x36, 0x9a, 0xb8, 0x6b, 0x5f, 0x34, 0x54, 0x1a,
+ 0xda, 0x30, 0x78, 0x07, 0xe5, 0x6d, 0x75, 0x76, 0x4d, 0x9d, 0x7d, 0x60, 0x4a, 0x4e, 0x9c, 0xe4,
+ 0x70, 0x07, 0x95, 0xdb, 0x2c, 0x94, 0xe7, 0xcd, 0x10, 0x44, 0x17, 0x5a, 0xbf, 0xb2, 0x27, 0x07,
+ 0x43, 0x7b, 0x3a, 0x02, 0xa4, 0x63, 0x25, 0xac, 0xff, 0xee, 0x9f, 0xf4, 0xdc, 0xc3, 0x93, 0x9e,
+ 0x7b, 0x7c, 0xd2, 0x73, 0xef, 0x23, 0x5d, 0xbb, 0x8f, 0x74, 0xed, 0x21, 0xd2, 0xb5, 0xc7, 0x48,
+ 0xd7, 0xbe, 0x45, 0xba, 0xf6, 0xe9, 0xbb, 0x9e, 0x7b, 0xb3, 0x35, 0xf5, 0x1f, 0xf6, 0x47, 0x00,
+ 0x00, 0x00, 0xff, 0xff, 0x2b, 0xc1, 0x64, 0x36, 0x7d, 0x07, 0x00, 0x00,
}
func (m *Event) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.pb.go
index d967e38106..818486f39d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto
+// source: k8s.io/api/extensions/v1beta1/generated.proto
package v1beta1
@@ -52,7 +52,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *DaemonSet) Reset() { *m = DaemonSet{} }
func (*DaemonSet) ProtoMessage() {}
func (*DaemonSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{0}
+ return fileDescriptor_90a532284de28347, []int{0}
}
func (m *DaemonSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -80,7 +80,7 @@ var xxx_messageInfo_DaemonSet proto.InternalMessageInfo
func (m *DaemonSetCondition) Reset() { *m = DaemonSetCondition{} }
func (*DaemonSetCondition) ProtoMessage() {}
func (*DaemonSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{1}
+ return fileDescriptor_90a532284de28347, []int{1}
}
func (m *DaemonSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -108,7 +108,7 @@ var xxx_messageInfo_DaemonSetCondition proto.InternalMessageInfo
func (m *DaemonSetList) Reset() { *m = DaemonSetList{} }
func (*DaemonSetList) ProtoMessage() {}
func (*DaemonSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{2}
+ return fileDescriptor_90a532284de28347, []int{2}
}
func (m *DaemonSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -136,7 +136,7 @@ var xxx_messageInfo_DaemonSetList proto.InternalMessageInfo
func (m *DaemonSetSpec) Reset() { *m = DaemonSetSpec{} }
func (*DaemonSetSpec) ProtoMessage() {}
func (*DaemonSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{3}
+ return fileDescriptor_90a532284de28347, []int{3}
}
func (m *DaemonSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -164,7 +164,7 @@ var xxx_messageInfo_DaemonSetSpec proto.InternalMessageInfo
func (m *DaemonSetStatus) Reset() { *m = DaemonSetStatus{} }
func (*DaemonSetStatus) ProtoMessage() {}
func (*DaemonSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{4}
+ return fileDescriptor_90a532284de28347, []int{4}
}
func (m *DaemonSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -192,7 +192,7 @@ var xxx_messageInfo_DaemonSetStatus proto.InternalMessageInfo
func (m *DaemonSetUpdateStrategy) Reset() { *m = DaemonSetUpdateStrategy{} }
func (*DaemonSetUpdateStrategy) ProtoMessage() {}
func (*DaemonSetUpdateStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{5}
+ return fileDescriptor_90a532284de28347, []int{5}
}
func (m *DaemonSetUpdateStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -220,7 +220,7 @@ var xxx_messageInfo_DaemonSetUpdateStrategy proto.InternalMessageInfo
func (m *Deployment) Reset() { *m = Deployment{} }
func (*Deployment) ProtoMessage() {}
func (*Deployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{6}
+ return fileDescriptor_90a532284de28347, []int{6}
}
func (m *Deployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -248,7 +248,7 @@ var xxx_messageInfo_Deployment proto.InternalMessageInfo
func (m *DeploymentCondition) Reset() { *m = DeploymentCondition{} }
func (*DeploymentCondition) ProtoMessage() {}
func (*DeploymentCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{7}
+ return fileDescriptor_90a532284de28347, []int{7}
}
func (m *DeploymentCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -276,7 +276,7 @@ var xxx_messageInfo_DeploymentCondition proto.InternalMessageInfo
func (m *DeploymentList) Reset() { *m = DeploymentList{} }
func (*DeploymentList) ProtoMessage() {}
func (*DeploymentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{8}
+ return fileDescriptor_90a532284de28347, []int{8}
}
func (m *DeploymentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -304,7 +304,7 @@ var xxx_messageInfo_DeploymentList proto.InternalMessageInfo
func (m *DeploymentRollback) Reset() { *m = DeploymentRollback{} }
func (*DeploymentRollback) ProtoMessage() {}
func (*DeploymentRollback) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{9}
+ return fileDescriptor_90a532284de28347, []int{9}
}
func (m *DeploymentRollback) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -332,7 +332,7 @@ var xxx_messageInfo_DeploymentRollback proto.InternalMessageInfo
func (m *DeploymentSpec) Reset() { *m = DeploymentSpec{} }
func (*DeploymentSpec) ProtoMessage() {}
func (*DeploymentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{10}
+ return fileDescriptor_90a532284de28347, []int{10}
}
func (m *DeploymentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -360,7 +360,7 @@ var xxx_messageInfo_DeploymentSpec proto.InternalMessageInfo
func (m *DeploymentStatus) Reset() { *m = DeploymentStatus{} }
func (*DeploymentStatus) ProtoMessage() {}
func (*DeploymentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{11}
+ return fileDescriptor_90a532284de28347, []int{11}
}
func (m *DeploymentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -388,7 +388,7 @@ var xxx_messageInfo_DeploymentStatus proto.InternalMessageInfo
func (m *DeploymentStrategy) Reset() { *m = DeploymentStrategy{} }
func (*DeploymentStrategy) ProtoMessage() {}
func (*DeploymentStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{12}
+ return fileDescriptor_90a532284de28347, []int{12}
}
func (m *DeploymentStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -416,7 +416,7 @@ var xxx_messageInfo_DeploymentStrategy proto.InternalMessageInfo
func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
func (*HTTPIngressPath) ProtoMessage() {}
func (*HTTPIngressPath) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{13}
+ return fileDescriptor_90a532284de28347, []int{13}
}
func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -444,7 +444,7 @@ var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo
func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
func (*HTTPIngressRuleValue) ProtoMessage() {}
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{14}
+ return fileDescriptor_90a532284de28347, []int{14}
}
func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -472,7 +472,7 @@ var xxx_messageInfo_HTTPIngressRuleValue proto.InternalMessageInfo
func (m *IPBlock) Reset() { *m = IPBlock{} }
func (*IPBlock) ProtoMessage() {}
func (*IPBlock) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{15}
+ return fileDescriptor_90a532284de28347, []int{15}
}
func (m *IPBlock) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -500,7 +500,7 @@ var xxx_messageInfo_IPBlock proto.InternalMessageInfo
func (m *Ingress) Reset() { *m = Ingress{} }
func (*Ingress) ProtoMessage() {}
func (*Ingress) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{16}
+ return fileDescriptor_90a532284de28347, []int{16}
}
func (m *Ingress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -528,7 +528,7 @@ var xxx_messageInfo_Ingress proto.InternalMessageInfo
func (m *IngressBackend) Reset() { *m = IngressBackend{} }
func (*IngressBackend) ProtoMessage() {}
func (*IngressBackend) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{17}
+ return fileDescriptor_90a532284de28347, []int{17}
}
func (m *IngressBackend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -556,7 +556,7 @@ var xxx_messageInfo_IngressBackend proto.InternalMessageInfo
func (m *IngressList) Reset() { *m = IngressList{} }
func (*IngressList) ProtoMessage() {}
func (*IngressList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{18}
+ return fileDescriptor_90a532284de28347, []int{18}
}
func (m *IngressList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -584,7 +584,7 @@ var xxx_messageInfo_IngressList proto.InternalMessageInfo
func (m *IngressLoadBalancerIngress) Reset() { *m = IngressLoadBalancerIngress{} }
func (*IngressLoadBalancerIngress) ProtoMessage() {}
func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{19}
+ return fileDescriptor_90a532284de28347, []int{19}
}
func (m *IngressLoadBalancerIngress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -612,7 +612,7 @@ var xxx_messageInfo_IngressLoadBalancerIngress proto.InternalMessageInfo
func (m *IngressLoadBalancerStatus) Reset() { *m = IngressLoadBalancerStatus{} }
func (*IngressLoadBalancerStatus) ProtoMessage() {}
func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{20}
+ return fileDescriptor_90a532284de28347, []int{20}
}
func (m *IngressLoadBalancerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -640,7 +640,7 @@ var xxx_messageInfo_IngressLoadBalancerStatus proto.InternalMessageInfo
func (m *IngressPortStatus) Reset() { *m = IngressPortStatus{} }
func (*IngressPortStatus) ProtoMessage() {}
func (*IngressPortStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{21}
+ return fileDescriptor_90a532284de28347, []int{21}
}
func (m *IngressPortStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -668,7 +668,7 @@ var xxx_messageInfo_IngressPortStatus proto.InternalMessageInfo
func (m *IngressRule) Reset() { *m = IngressRule{} }
func (*IngressRule) ProtoMessage() {}
func (*IngressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{22}
+ return fileDescriptor_90a532284de28347, []int{22}
}
func (m *IngressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -696,7 +696,7 @@ var xxx_messageInfo_IngressRule proto.InternalMessageInfo
func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
func (*IngressRuleValue) ProtoMessage() {}
func (*IngressRuleValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{23}
+ return fileDescriptor_90a532284de28347, []int{23}
}
func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -724,7 +724,7 @@ var xxx_messageInfo_IngressRuleValue proto.InternalMessageInfo
func (m *IngressSpec) Reset() { *m = IngressSpec{} }
func (*IngressSpec) ProtoMessage() {}
func (*IngressSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{24}
+ return fileDescriptor_90a532284de28347, []int{24}
}
func (m *IngressSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -752,7 +752,7 @@ var xxx_messageInfo_IngressSpec proto.InternalMessageInfo
func (m *IngressStatus) Reset() { *m = IngressStatus{} }
func (*IngressStatus) ProtoMessage() {}
func (*IngressStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{25}
+ return fileDescriptor_90a532284de28347, []int{25}
}
func (m *IngressStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -780,7 +780,7 @@ var xxx_messageInfo_IngressStatus proto.InternalMessageInfo
func (m *IngressTLS) Reset() { *m = IngressTLS{} }
func (*IngressTLS) ProtoMessage() {}
func (*IngressTLS) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{26}
+ return fileDescriptor_90a532284de28347, []int{26}
}
func (m *IngressTLS) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -808,7 +808,7 @@ var xxx_messageInfo_IngressTLS proto.InternalMessageInfo
func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
func (*NetworkPolicy) ProtoMessage() {}
func (*NetworkPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{27}
+ return fileDescriptor_90a532284de28347, []int{27}
}
func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -836,7 +836,7 @@ var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo
func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} }
func (*NetworkPolicyEgressRule) ProtoMessage() {}
func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{28}
+ return fileDescriptor_90a532284de28347, []int{28}
}
func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -864,7 +864,7 @@ var xxx_messageInfo_NetworkPolicyEgressRule proto.InternalMessageInfo
func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
func (*NetworkPolicyIngressRule) ProtoMessage() {}
func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{29}
+ return fileDescriptor_90a532284de28347, []int{29}
}
func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -892,7 +892,7 @@ var xxx_messageInfo_NetworkPolicyIngressRule proto.InternalMessageInfo
func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
func (*NetworkPolicyList) ProtoMessage() {}
func (*NetworkPolicyList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{30}
+ return fileDescriptor_90a532284de28347, []int{30}
}
func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -920,7 +920,7 @@ var xxx_messageInfo_NetworkPolicyList proto.InternalMessageInfo
func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
func (*NetworkPolicyPeer) ProtoMessage() {}
func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{31}
+ return fileDescriptor_90a532284de28347, []int{31}
}
func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -948,7 +948,7 @@ var xxx_messageInfo_NetworkPolicyPeer proto.InternalMessageInfo
func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
func (*NetworkPolicyPort) ProtoMessage() {}
func (*NetworkPolicyPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{32}
+ return fileDescriptor_90a532284de28347, []int{32}
}
func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -976,7 +976,7 @@ var xxx_messageInfo_NetworkPolicyPort proto.InternalMessageInfo
func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
func (*NetworkPolicySpec) ProtoMessage() {}
func (*NetworkPolicySpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{33}
+ return fileDescriptor_90a532284de28347, []int{33}
}
func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1004,7 +1004,7 @@ var xxx_messageInfo_NetworkPolicySpec proto.InternalMessageInfo
func (m *ReplicaSet) Reset() { *m = ReplicaSet{} }
func (*ReplicaSet) ProtoMessage() {}
func (*ReplicaSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{34}
+ return fileDescriptor_90a532284de28347, []int{34}
}
func (m *ReplicaSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1032,7 +1032,7 @@ var xxx_messageInfo_ReplicaSet proto.InternalMessageInfo
func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} }
func (*ReplicaSetCondition) ProtoMessage() {}
func (*ReplicaSetCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{35}
+ return fileDescriptor_90a532284de28347, []int{35}
}
func (m *ReplicaSetCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1060,7 +1060,7 @@ var xxx_messageInfo_ReplicaSetCondition proto.InternalMessageInfo
func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} }
func (*ReplicaSetList) ProtoMessage() {}
func (*ReplicaSetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{36}
+ return fileDescriptor_90a532284de28347, []int{36}
}
func (m *ReplicaSetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1088,7 +1088,7 @@ var xxx_messageInfo_ReplicaSetList proto.InternalMessageInfo
func (m *ReplicaSetSpec) Reset() { *m = ReplicaSetSpec{} }
func (*ReplicaSetSpec) ProtoMessage() {}
func (*ReplicaSetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{37}
+ return fileDescriptor_90a532284de28347, []int{37}
}
func (m *ReplicaSetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1116,7 +1116,7 @@ var xxx_messageInfo_ReplicaSetSpec proto.InternalMessageInfo
func (m *ReplicaSetStatus) Reset() { *m = ReplicaSetStatus{} }
func (*ReplicaSetStatus) ProtoMessage() {}
func (*ReplicaSetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{38}
+ return fileDescriptor_90a532284de28347, []int{38}
}
func (m *ReplicaSetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1144,7 +1144,7 @@ var xxx_messageInfo_ReplicaSetStatus proto.InternalMessageInfo
func (m *RollbackConfig) Reset() { *m = RollbackConfig{} }
func (*RollbackConfig) ProtoMessage() {}
func (*RollbackConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{39}
+ return fileDescriptor_90a532284de28347, []int{39}
}
func (m *RollbackConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1172,7 +1172,7 @@ var xxx_messageInfo_RollbackConfig proto.InternalMessageInfo
func (m *RollingUpdateDaemonSet) Reset() { *m = RollingUpdateDaemonSet{} }
func (*RollingUpdateDaemonSet) ProtoMessage() {}
func (*RollingUpdateDaemonSet) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{40}
+ return fileDescriptor_90a532284de28347, []int{40}
}
func (m *RollingUpdateDaemonSet) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1200,7 +1200,7 @@ var xxx_messageInfo_RollingUpdateDaemonSet proto.InternalMessageInfo
func (m *RollingUpdateDeployment) Reset() { *m = RollingUpdateDeployment{} }
func (*RollingUpdateDeployment) ProtoMessage() {}
func (*RollingUpdateDeployment) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{41}
+ return fileDescriptor_90a532284de28347, []int{41}
}
func (m *RollingUpdateDeployment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1228,7 +1228,7 @@ var xxx_messageInfo_RollingUpdateDeployment proto.InternalMessageInfo
func (m *Scale) Reset() { *m = Scale{} }
func (*Scale) ProtoMessage() {}
func (*Scale) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{42}
+ return fileDescriptor_90a532284de28347, []int{42}
}
func (m *Scale) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1256,7 +1256,7 @@ var xxx_messageInfo_Scale proto.InternalMessageInfo
func (m *ScaleSpec) Reset() { *m = ScaleSpec{} }
func (*ScaleSpec) ProtoMessage() {}
func (*ScaleSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{43}
+ return fileDescriptor_90a532284de28347, []int{43}
}
func (m *ScaleSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1284,7 +1284,7 @@ var xxx_messageInfo_ScaleSpec proto.InternalMessageInfo
func (m *ScaleStatus) Reset() { *m = ScaleStatus{} }
func (*ScaleStatus) ProtoMessage() {}
func (*ScaleStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_cdc93917efc28165, []int{44}
+ return fileDescriptor_90a532284de28347, []int{44}
}
func (m *ScaleStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1360,190 +1360,189 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptor_cdc93917efc28165)
+ proto.RegisterFile("k8s.io/api/extensions/v1beta1/generated.proto", fileDescriptor_90a532284de28347)
}
-var fileDescriptor_cdc93917efc28165 = []byte{
- // 2858 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_90a532284de28347 = []byte{
+ // 2842 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5b, 0xcd, 0x6f, 0x24, 0x47,
0x15, 0xdf, 0x9e, 0xf1, 0xd8, 0xe3, 0xe7, 0xb5, 0xbd, 0x5b, 0xeb, 0xac, 0x1d, 0x2f, 0xb1, 0xa3,
- 0x46, 0x84, 0x4d, 0xd8, 0xcc, 0xb0, 0x9b, 0x64, 0xc9, 0x87, 0x94, 0xb0, 0xe3, 0xdd, 0x64, 0x9d,
- 0xd8, 0xe3, 0x49, 0xcd, 0x38, 0x41, 0x11, 0x01, 0xda, 0x3d, 0xe5, 0x71, 0xc7, 0x3d, 0xdd, 0xa3,
- 0xee, 0x1a, 0xb3, 0xbe, 0x81, 0xe0, 0x92, 0x13, 0x5c, 0x02, 0x1c, 0x91, 0x90, 0xb8, 0x72, 0xe5,
- 0x10, 0x22, 0x10, 0x41, 0x5a, 0x21, 0x0e, 0x91, 0x38, 0x90, 0x93, 0x45, 0x9c, 0x13, 0xe2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 0x3e, 0xe7, 0xb2, 0xff, 0x7f, 0x68, 0x94, 0xef, 0x95, 0xa0, 0xd2, 0x36, 0x0d,
+ 0x9b, 0x9c, 0x01, 0xa1, 0x78, 0x2d, 0x46, 0x28, 0x8e, 0xfb, 0x9a, 0x94, 0x7b, 0x95, 0xcb, 0x25,
+ 0x70, 0x82, 0x4b, 0x3c, 0x55, 0x08, 0xed, 0x68, 0x1a, 0xf1, 0x3c, 0x4c, 0xaa, 0x4e, 0x47, 0xcb,
+ 0x6e, 0xfa, 0x2f, 0x4b, 0x30, 0x15, 0xe9, 0x62, 0xc4, 0xdc, 0xb8, 0x1d, 0x2b, 0x08, 0xe5, 0x02,
+ 0x37, 0x2d, 0x91, 0xbe, 0x6a, 0x41, 0x09, 0x10, 0x5f, 0x43, 0x84, 0xef, 0xdf, 0xe9, 0xca, 0xf0,
+ 0x12, 0xcc, 0x50, 0xc3, 0xeb, 0x11, 0xaa, 0x68, 0xbb, 0xb8, 0x64, 0x54, 0x9f, 0xe5, 0x74, 0x62,
+ 0x52, 0x9c, 0xd0, 0x5e, 0x7c, 0x11, 0xa6, 0x63, 0x9d, 0x8d, 0xf2, 0x31, 0x43, 0x63, 0xe5, 0xc1,
+ 0xa7, 0x4b, 0xe7, 0x3e, 0xfe, 0x74, 0xe9, 0xdc, 0x27, 0x9f, 0x2e, 0x9d, 0xfb, 0xc1, 0xe1, 0x92,
+ 0xf6, 0xe0, 0x70, 0x49, 0xfb, 0xf8, 0x70, 0x49, 0xfb, 0xe4, 0x70, 0x49, 0xfb, 0xfb, 0xe1, 0x92,
+ 0xf6, 0xd3, 0xcf, 0x96, 0xce, 0xbd, 0xfd, 0xd8, 0x91, 0xff, 0xb7, 0xe1, 0xdf, 0x01, 0x00, 0x00,
+ 0xff, 0xff, 0x5f, 0xd8, 0x14, 0x50, 0xfb, 0x30, 0x00, 0x00,
}
func (m *DaemonSet) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.proto
index 3f2549681e..60effc8f71 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/generated.proto
@@ -176,6 +176,8 @@ message DaemonSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DaemonSetCondition conditions = 10;
}
@@ -343,6 +345,8 @@ message DeploymentStatus {
// Represents the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated DeploymentCondition conditions = 6;
// Count of hash collisions for the Deployment. The Deployment controller uses this
@@ -406,6 +410,7 @@ message HTTPIngressPath {
// or '#'.
message HTTPIngressRuleValue {
// A collection of paths that map requests to backends.
+ // +listType=atomic
repeated HTTPIngressPath paths = 1;
}
@@ -422,6 +427,7 @@ message IPBlock {
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
// Except values will be rejected if they are outside the CIDR range
// +optional
+ // +listType=atomic
repeated string except = 2;
}
@@ -495,6 +501,7 @@ message IngressLoadBalancerIngress {
message IngressLoadBalancerStatus {
// Ingress is a list containing ingress points for the load-balancer.
// +optional
+ // +listType=atomic
repeated IngressLoadBalancerIngress ingress = 1;
}
@@ -602,11 +609,13 @@ message IngressSpec {
// through the SNI TLS extension, if the ingress controller fulfilling the
// ingress supports SNI.
// +optional
+ // +listType=atomic
repeated IngressTLS tls = 2;
// A list of host rules used to configure the Ingress. If unspecified, or
// no rule matches, all traffic is sent to the default backend.
// +optional
+ // +listType=atomic
repeated IngressRule rules = 3;
}
@@ -624,6 +633,7 @@ message IngressTLS {
// wildcard host setting for the loadbalancer controller fulfilling this
// Ingress, if left unspecified.
// +optional
+ // +listType=atomic
repeated string hosts = 1;
// SecretName is the name of the secret used to terminate SSL traffic on 443.
@@ -659,6 +669,7 @@ message NetworkPolicyEgressRule {
// If this field is present and contains at least one item, then this rule allows
// traffic only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPort ports = 1;
// List of destinations for outgoing traffic of pods selected for this rule.
@@ -667,6 +678,7 @@ message NetworkPolicyEgressRule {
// destination). If this field is present and contains at least one item, this rule
// allows traffic only if the traffic matches at least one item in the to list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPeer to = 2;
}
@@ -679,6 +691,7 @@ message NetworkPolicyIngressRule {
// If this field is present and contains at least one item, then this rule allows traffic
// only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPort ports = 1;
// List of sources which should be able to access the pods selected for this rule.
@@ -687,6 +700,7 @@ message NetworkPolicyIngressRule {
// If this field is present and contains at least one item, this rule allows traffic only if the
// traffic matches at least one item in the from list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPeer from = 2;
}
@@ -767,6 +781,7 @@ message NetworkPolicySpec {
// If this field is empty then this NetworkPolicy does not allow any traffic
// (and serves solely to ensure that the pods it selects are isolated by default).
// +optional
+ // +listType=atomic
repeated NetworkPolicyIngressRule ingress = 2;
// List of egress rules to be applied to the selected pods. Outgoing traffic is
@@ -777,6 +792,7 @@ message NetworkPolicySpec {
// solely to ensure that the pods it selects are isolated by default).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
repeated NetworkPolicyEgressRule egress = 3;
// List of rule types that the NetworkPolicy relates to.
@@ -790,6 +806,7 @@ message NetworkPolicySpec {
// an Egress section and would otherwise default to just [ "Ingress" ]).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
repeated string policyTypes = 4;
}
@@ -905,6 +922,8 @@ message ReplicaSetStatus {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
repeated ReplicaSetCondition conditions = 6;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/types.go
index 70b349f654..cc2deadac0 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/extensions/v1beta1/types.go
@@ -270,6 +270,8 @@ type DeploymentStatus struct {
// Represents the latest available observations of a deployment's current state.
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DeploymentCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
// Count of hash collisions for the Deployment. The Deployment controller uses this
@@ -490,6 +492,8 @@ type DaemonSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []DaemonSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,10,rep,name=conditions"`
}
@@ -652,11 +656,13 @@ type IngressSpec struct {
// through the SNI TLS extension, if the ingress controller fulfilling the
// ingress supports SNI.
// +optional
+ // +listType=atomic
TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"`
// A list of host rules used to configure the Ingress. If unspecified, or
// no rule matches, all traffic is sent to the default backend.
// +optional
+ // +listType=atomic
Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
// TODO: Add the ability to specify load-balancer IP through claims
}
@@ -668,6 +674,7 @@ type IngressTLS struct {
// wildcard host setting for the loadbalancer controller fulfilling this
// Ingress, if left unspecified.
// +optional
+ // +listType=atomic
Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`
// SecretName is the name of the secret used to terminate SSL traffic on 443.
// Field is left optional to allow SSL routing based on SNI hostname alone.
@@ -690,6 +697,7 @@ type IngressStatus struct {
type IngressLoadBalancerStatus struct {
// Ingress is a list containing ingress points for the load-balancer.
// +optional
+ // +listType=atomic
Ingress []IngressLoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}
@@ -797,6 +805,7 @@ type IngressRuleValue struct {
// or '#'.
type HTTPIngressRuleValue struct {
// A collection of paths that map requests to backends.
+ // +listType=atomic
Paths []HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"`
// TODO: Consider adding fields for ingress-type specific global
// options usable by a loadbalancer, like http keep-alive.
@@ -991,6 +1000,8 @@ type ReplicaSetStatus struct {
// +optional
// +patchMergeKey=type
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,6,rep,name=conditions"`
}
@@ -1076,6 +1087,7 @@ type NetworkPolicySpec struct {
// If this field is empty then this NetworkPolicy does not allow any traffic
// (and serves solely to ensure that the pods it selects are isolated by default).
// +optional
+ // +listType=atomic
Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`
// List of egress rules to be applied to the selected pods. Outgoing traffic is
@@ -1086,6 +1098,7 @@ type NetworkPolicySpec struct {
// solely to ensure that the pods it selects are isolated by default).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
Egress []NetworkPolicyEgressRule `json:"egress,omitempty" protobuf:"bytes,3,rep,name=egress"`
// List of rule types that the NetworkPolicy relates to.
@@ -1099,6 +1112,7 @@ type NetworkPolicySpec struct {
// an Egress section and would otherwise default to just [ "Ingress" ]).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
PolicyTypes []PolicyType `json:"policyTypes,omitempty" protobuf:"bytes,4,rep,name=policyTypes,casttype=PolicyType"`
}
@@ -1111,6 +1125,7 @@ type NetworkPolicyIngressRule struct {
// If this field is present and contains at least one item, then this rule allows traffic
// only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`
// List of sources which should be able to access the pods selected for this rule.
@@ -1119,6 +1134,7 @@ type NetworkPolicyIngressRule struct {
// If this field is present and contains at least one item, this rule allows traffic only if the
// traffic matches at least one item in the from list.
// +optional
+ // +listType=atomic
From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"`
}
@@ -1133,6 +1149,7 @@ type NetworkPolicyEgressRule struct {
// If this field is present and contains at least one item, then this rule allows
// traffic only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`
// List of destinations for outgoing traffic of pods selected for this rule.
@@ -1141,6 +1158,7 @@ type NetworkPolicyEgressRule struct {
// destination). If this field is present and contains at least one item, this rule
// allows traffic only if the traffic matches at least one item in the to list.
// +optional
+ // +listType=atomic
To []NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,2,rep,name=to"`
}
@@ -1178,6 +1196,7 @@ type IPBlock struct {
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
// Except values will be rejected if they are outside the CIDR range
// +optional
+ // +listType=atomic
Except []string `json:"except,omitempty" protobuf:"bytes,2,rep,name=except"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1/generated.pb.go
index c235ba10de..b342445f71 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1/generated.proto
+// source: k8s.io/api/flowcontrol/v1/generated.proto
package v1
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExemptPriorityLevelConfiguration) Reset() { *m = ExemptPriorityLevelConfiguration{} }
func (*ExemptPriorityLevelConfiguration) ProtoMessage() {}
func (*ExemptPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{0}
+ return fileDescriptor_5d08a1401821035d, []int{0}
}
func (m *ExemptPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_ExemptPriorityLevelConfiguration proto.InternalMessageInfo
func (m *FlowDistinguisherMethod) Reset() { *m = FlowDistinguisherMethod{} }
func (*FlowDistinguisherMethod) ProtoMessage() {}
func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{1}
+ return fileDescriptor_5d08a1401821035d, []int{1}
}
func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -102,7 +102,7 @@ var xxx_messageInfo_FlowDistinguisherMethod proto.InternalMessageInfo
func (m *FlowSchema) Reset() { *m = FlowSchema{} }
func (*FlowSchema) ProtoMessage() {}
func (*FlowSchema) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{2}
+ return fileDescriptor_5d08a1401821035d, []int{2}
}
func (m *FlowSchema) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -130,7 +130,7 @@ var xxx_messageInfo_FlowSchema proto.InternalMessageInfo
func (m *FlowSchemaCondition) Reset() { *m = FlowSchemaCondition{} }
func (*FlowSchemaCondition) ProtoMessage() {}
func (*FlowSchemaCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{3}
+ return fileDescriptor_5d08a1401821035d, []int{3}
}
func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -158,7 +158,7 @@ var xxx_messageInfo_FlowSchemaCondition proto.InternalMessageInfo
func (m *FlowSchemaList) Reset() { *m = FlowSchemaList{} }
func (*FlowSchemaList) ProtoMessage() {}
func (*FlowSchemaList) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{4}
+ return fileDescriptor_5d08a1401821035d, []int{4}
}
func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -186,7 +186,7 @@ var xxx_messageInfo_FlowSchemaList proto.InternalMessageInfo
func (m *FlowSchemaSpec) Reset() { *m = FlowSchemaSpec{} }
func (*FlowSchemaSpec) ProtoMessage() {}
func (*FlowSchemaSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{5}
+ return fileDescriptor_5d08a1401821035d, []int{5}
}
func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -214,7 +214,7 @@ var xxx_messageInfo_FlowSchemaSpec proto.InternalMessageInfo
func (m *FlowSchemaStatus) Reset() { *m = FlowSchemaStatus{} }
func (*FlowSchemaStatus) ProtoMessage() {}
func (*FlowSchemaStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{6}
+ return fileDescriptor_5d08a1401821035d, []int{6}
}
func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -242,7 +242,7 @@ var xxx_messageInfo_FlowSchemaStatus proto.InternalMessageInfo
func (m *GroupSubject) Reset() { *m = GroupSubject{} }
func (*GroupSubject) ProtoMessage() {}
func (*GroupSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{7}
+ return fileDescriptor_5d08a1401821035d, []int{7}
}
func (m *GroupSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -270,7 +270,7 @@ var xxx_messageInfo_GroupSubject proto.InternalMessageInfo
func (m *LimitResponse) Reset() { *m = LimitResponse{} }
func (*LimitResponse) ProtoMessage() {}
func (*LimitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{8}
+ return fileDescriptor_5d08a1401821035d, []int{8}
}
func (m *LimitResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -298,7 +298,7 @@ var xxx_messageInfo_LimitResponse proto.InternalMessageInfo
func (m *LimitedPriorityLevelConfiguration) Reset() { *m = LimitedPriorityLevelConfiguration{} }
func (*LimitedPriorityLevelConfiguration) ProtoMessage() {}
func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{9}
+ return fileDescriptor_5d08a1401821035d, []int{9}
}
func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -326,7 +326,7 @@ var xxx_messageInfo_LimitedPriorityLevelConfiguration proto.InternalMessageInfo
func (m *NonResourcePolicyRule) Reset() { *m = NonResourcePolicyRule{} }
func (*NonResourcePolicyRule) ProtoMessage() {}
func (*NonResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{10}
+ return fileDescriptor_5d08a1401821035d, []int{10}
}
func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -354,7 +354,7 @@ var xxx_messageInfo_NonResourcePolicyRule proto.InternalMessageInfo
func (m *PolicyRulesWithSubjects) Reset() { *m = PolicyRulesWithSubjects{} }
func (*PolicyRulesWithSubjects) ProtoMessage() {}
func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{11}
+ return fileDescriptor_5d08a1401821035d, []int{11}
}
func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -382,7 +382,7 @@ var xxx_messageInfo_PolicyRulesWithSubjects proto.InternalMessageInfo
func (m *PriorityLevelConfiguration) Reset() { *m = PriorityLevelConfiguration{} }
func (*PriorityLevelConfiguration) ProtoMessage() {}
func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{12}
+ return fileDescriptor_5d08a1401821035d, []int{12}
}
func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -410,7 +410,7 @@ var xxx_messageInfo_PriorityLevelConfiguration proto.InternalMessageInfo
func (m *PriorityLevelConfigurationCondition) Reset() { *m = PriorityLevelConfigurationCondition{} }
func (*PriorityLevelConfigurationCondition) ProtoMessage() {}
func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{13}
+ return fileDescriptor_5d08a1401821035d, []int{13}
}
func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -438,7 +438,7 @@ var xxx_messageInfo_PriorityLevelConfigurationCondition proto.InternalMessageInf
func (m *PriorityLevelConfigurationList) Reset() { *m = PriorityLevelConfigurationList{} }
func (*PriorityLevelConfigurationList) ProtoMessage() {}
func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{14}
+ return fileDescriptor_5d08a1401821035d, []int{14}
}
func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -466,7 +466,7 @@ var xxx_messageInfo_PriorityLevelConfigurationList proto.InternalMessageInfo
func (m *PriorityLevelConfigurationReference) Reset() { *m = PriorityLevelConfigurationReference{} }
func (*PriorityLevelConfigurationReference) ProtoMessage() {}
func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{15}
+ return fileDescriptor_5d08a1401821035d, []int{15}
}
func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -494,7 +494,7 @@ var xxx_messageInfo_PriorityLevelConfigurationReference proto.InternalMessageInf
func (m *PriorityLevelConfigurationSpec) Reset() { *m = PriorityLevelConfigurationSpec{} }
func (*PriorityLevelConfigurationSpec) ProtoMessage() {}
func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{16}
+ return fileDescriptor_5d08a1401821035d, []int{16}
}
func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -522,7 +522,7 @@ var xxx_messageInfo_PriorityLevelConfigurationSpec proto.InternalMessageInfo
func (m *PriorityLevelConfigurationStatus) Reset() { *m = PriorityLevelConfigurationStatus{} }
func (*PriorityLevelConfigurationStatus) ProtoMessage() {}
func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{17}
+ return fileDescriptor_5d08a1401821035d, []int{17}
}
func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -550,7 +550,7 @@ var xxx_messageInfo_PriorityLevelConfigurationStatus proto.InternalMessageInfo
func (m *QueuingConfiguration) Reset() { *m = QueuingConfiguration{} }
func (*QueuingConfiguration) ProtoMessage() {}
func (*QueuingConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{18}
+ return fileDescriptor_5d08a1401821035d, []int{18}
}
func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -578,7 +578,7 @@ var xxx_messageInfo_QueuingConfiguration proto.InternalMessageInfo
func (m *ResourcePolicyRule) Reset() { *m = ResourcePolicyRule{} }
func (*ResourcePolicyRule) ProtoMessage() {}
func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{19}
+ return fileDescriptor_5d08a1401821035d, []int{19}
}
func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -606,7 +606,7 @@ var xxx_messageInfo_ResourcePolicyRule proto.InternalMessageInfo
func (m *ServiceAccountSubject) Reset() { *m = ServiceAccountSubject{} }
func (*ServiceAccountSubject) ProtoMessage() {}
func (*ServiceAccountSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{20}
+ return fileDescriptor_5d08a1401821035d, []int{20}
}
func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -634,7 +634,7 @@ var xxx_messageInfo_ServiceAccountSubject proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{21}
+ return fileDescriptor_5d08a1401821035d, []int{21}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -662,7 +662,7 @@ var xxx_messageInfo_Subject proto.InternalMessageInfo
func (m *UserSubject) Reset() { *m = UserSubject{} }
func (*UserSubject) ProtoMessage() {}
func (*UserSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_f8a25df358697d27, []int{22}
+ return fileDescriptor_5d08a1401821035d, []int{22}
}
func (m *UserSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -714,111 +714,110 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1/generated.proto", fileDescriptor_f8a25df358697d27)
+ proto.RegisterFile("k8s.io/api/flowcontrol/v1/generated.proto", fileDescriptor_5d08a1401821035d)
}
-var fileDescriptor_f8a25df358697d27 = []byte{
- // 1588 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4b, 0x73, 0x1b, 0xc5,
- 0x16, 0xb6, 0x64, 0xc9, 0xb6, 0x8e, 0x9f, 0x69, 0xc7, 0x65, 0xc5, 0xb9, 0x25, 0x39, 0x73, 0xeb,
- 0xe6, 0x71, 0x43, 0xa4, 0xc4, 0x45, 0x20, 0xa9, 0x00, 0xa9, 0x4c, 0x12, 0xf2, 0xb2, 0x1d, 0xa7,
- 0x95, 0x07, 0x15, 0xa8, 0x82, 0xd1, 0xa8, 0x2d, 0x4d, 0x2c, 0xcd, 0x0c, 0x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cc, 0xb1,
- 0x48, 0xe0, 0xc4, 0x23, 0x25, 0xaf, 0x40, 0x43, 0x23, 0xad, 0xa2, 0x6e, 0xa7, 0x38, 0x17, 0x55,
- 0xe1, 0x3e, 0x6e, 0xa5, 0x0c, 0xd3, 0x3d, 0xd7, 0xda, 0xbf, 0x8f, 0xaa, 0x97, 0x9f, 0xbd, 0x2c,
- 0x8c, 0x3d, 0x7f, 0x59, 0x18, 0x7b, 0xf1, 0xb2, 0x30, 0xf6, 0x65, 0xb7, 0x90, 0x7a, 0xd6, 0x2d,
- 0xa4, 0x9e, 0x77, 0x0b, 0xa9, 0x17, 0xdd, 0x42, 0xea, 0xb7, 0x6e, 0x21, 0xf5, 0xf4, 0xf7, 0xc2,
- 0xd8, 0xe3, 0x23, 0xb1, 0xff, 0x13, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xd1, 0x0a, 0x3e, 0x83,
- 0x48, 0x15, 0x00, 0x00,
+var fileDescriptor_5d08a1401821035d = []byte{
+ // 1575 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4b, 0x6f, 0xdb, 0x56,
+ 0x16, 0x36, 0x65, 0xc9, 0xb6, 0x8e, 0x9f, 0xb9, 0x8e, 0x61, 0xc5, 0x19, 0x48, 0x0e, 0x07, 0x93,
+ 0xc7, 0x64, 0x42, 0x25, 0xc6, 0x64, 0x26, 0x41, 0x66, 0x26, 0x08, 0x93, 0x4c, 0x5e, 0xb6, 0xe3,
+ 0x5c, 0xe5, 0x51, 0xa4, 0x05, 0x5a, 0x9a, 0xba, 0x96, 0x18, 0x8b, 0x8f, 0xf2, 0x92, 0x72, 0x5d,
+ 0xa0, 0x40, 0x7f, 0x42, 0x56, 0x5d, 0x76, 0xd1, 0xfe, 0x83, 0xae, 0x8a, 0x76, 0xd3, 0x65, 0x76,
+ 0xcd, 0x32, 0xed, 0x42, 0x68, 0x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, 0x15, 0xee, 0xe3, 0x96, 0xab, 0x30, 0xdd, 0x73, 0xad, 0x83, 0xfb, 0xa8, 0x7a,
+ 0xf5, 0xc5, 0xeb, 0xf2, 0xd8, 0xcb, 0xd7, 0xe5, 0xb1, 0x57, 0xaf, 0xcb, 0x63, 0x9f, 0x76, 0xcb,
+ 0xd2, 0x8b, 0x6e, 0x59, 0x7a, 0xd9, 0x2d, 0x4b, 0xaf, 0xba, 0x65, 0xe9, 0xa7, 0x6e, 0x59, 0x7a,
+ 0xfe, 0x73, 0x79, 0xec, 0xe9, 0xb1, 0xd4, 0xff, 0x89, 0xfe, 0x1e, 0x00, 0x00, 0xff, 0xff, 0x16,
+ 0x4e, 0x14, 0xcf, 0x2f, 0x15, 0x00, 0x00,
}
func (m *ExemptPriorityLevelConfiguration) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta1/generated.pb.go
index 33f4b97e39..96e368f6fd 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto
+// source: k8s.io/api/flowcontrol/v1beta1/generated.proto
package v1beta1
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExemptPriorityLevelConfiguration) Reset() { *m = ExemptPriorityLevelConfiguration{} }
func (*ExemptPriorityLevelConfiguration) ProtoMessage() {}
func (*ExemptPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{0}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{0}
}
func (m *ExemptPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_ExemptPriorityLevelConfiguration proto.InternalMessageInfo
func (m *FlowDistinguisherMethod) Reset() { *m = FlowDistinguisherMethod{} }
func (*FlowDistinguisherMethod) ProtoMessage() {}
func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{1}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{1}
}
func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -102,7 +102,7 @@ var xxx_messageInfo_FlowDistinguisherMethod proto.InternalMessageInfo
func (m *FlowSchema) Reset() { *m = FlowSchema{} }
func (*FlowSchema) ProtoMessage() {}
func (*FlowSchema) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{2}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{2}
}
func (m *FlowSchema) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -130,7 +130,7 @@ var xxx_messageInfo_FlowSchema proto.InternalMessageInfo
func (m *FlowSchemaCondition) Reset() { *m = FlowSchemaCondition{} }
func (*FlowSchemaCondition) ProtoMessage() {}
func (*FlowSchemaCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{3}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{3}
}
func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -158,7 +158,7 @@ var xxx_messageInfo_FlowSchemaCondition proto.InternalMessageInfo
func (m *FlowSchemaList) Reset() { *m = FlowSchemaList{} }
func (*FlowSchemaList) ProtoMessage() {}
func (*FlowSchemaList) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{4}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{4}
}
func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -186,7 +186,7 @@ var xxx_messageInfo_FlowSchemaList proto.InternalMessageInfo
func (m *FlowSchemaSpec) Reset() { *m = FlowSchemaSpec{} }
func (*FlowSchemaSpec) ProtoMessage() {}
func (*FlowSchemaSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{5}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{5}
}
func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -214,7 +214,7 @@ var xxx_messageInfo_FlowSchemaSpec proto.InternalMessageInfo
func (m *FlowSchemaStatus) Reset() { *m = FlowSchemaStatus{} }
func (*FlowSchemaStatus) ProtoMessage() {}
func (*FlowSchemaStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{6}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{6}
}
func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -242,7 +242,7 @@ var xxx_messageInfo_FlowSchemaStatus proto.InternalMessageInfo
func (m *GroupSubject) Reset() { *m = GroupSubject{} }
func (*GroupSubject) ProtoMessage() {}
func (*GroupSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{7}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{7}
}
func (m *GroupSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -270,7 +270,7 @@ var xxx_messageInfo_GroupSubject proto.InternalMessageInfo
func (m *LimitResponse) Reset() { *m = LimitResponse{} }
func (*LimitResponse) ProtoMessage() {}
func (*LimitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{8}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{8}
}
func (m *LimitResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -298,7 +298,7 @@ var xxx_messageInfo_LimitResponse proto.InternalMessageInfo
func (m *LimitedPriorityLevelConfiguration) Reset() { *m = LimitedPriorityLevelConfiguration{} }
func (*LimitedPriorityLevelConfiguration) ProtoMessage() {}
func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{9}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{9}
}
func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -326,7 +326,7 @@ var xxx_messageInfo_LimitedPriorityLevelConfiguration proto.InternalMessageInfo
func (m *NonResourcePolicyRule) Reset() { *m = NonResourcePolicyRule{} }
func (*NonResourcePolicyRule) ProtoMessage() {}
func (*NonResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{10}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{10}
}
func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -354,7 +354,7 @@ var xxx_messageInfo_NonResourcePolicyRule proto.InternalMessageInfo
func (m *PolicyRulesWithSubjects) Reset() { *m = PolicyRulesWithSubjects{} }
func (*PolicyRulesWithSubjects) ProtoMessage() {}
func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{11}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{11}
}
func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -382,7 +382,7 @@ var xxx_messageInfo_PolicyRulesWithSubjects proto.InternalMessageInfo
func (m *PriorityLevelConfiguration) Reset() { *m = PriorityLevelConfiguration{} }
func (*PriorityLevelConfiguration) ProtoMessage() {}
func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{12}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{12}
}
func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -410,7 +410,7 @@ var xxx_messageInfo_PriorityLevelConfiguration proto.InternalMessageInfo
func (m *PriorityLevelConfigurationCondition) Reset() { *m = PriorityLevelConfigurationCondition{} }
func (*PriorityLevelConfigurationCondition) ProtoMessage() {}
func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{13}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{13}
}
func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -438,7 +438,7 @@ var xxx_messageInfo_PriorityLevelConfigurationCondition proto.InternalMessageInf
func (m *PriorityLevelConfigurationList) Reset() { *m = PriorityLevelConfigurationList{} }
func (*PriorityLevelConfigurationList) ProtoMessage() {}
func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{14}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{14}
}
func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -466,7 +466,7 @@ var xxx_messageInfo_PriorityLevelConfigurationList proto.InternalMessageInfo
func (m *PriorityLevelConfigurationReference) Reset() { *m = PriorityLevelConfigurationReference{} }
func (*PriorityLevelConfigurationReference) ProtoMessage() {}
func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{15}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{15}
}
func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -494,7 +494,7 @@ var xxx_messageInfo_PriorityLevelConfigurationReference proto.InternalMessageInf
func (m *PriorityLevelConfigurationSpec) Reset() { *m = PriorityLevelConfigurationSpec{} }
func (*PriorityLevelConfigurationSpec) ProtoMessage() {}
func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{16}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{16}
}
func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -522,7 +522,7 @@ var xxx_messageInfo_PriorityLevelConfigurationSpec proto.InternalMessageInfo
func (m *PriorityLevelConfigurationStatus) Reset() { *m = PriorityLevelConfigurationStatus{} }
func (*PriorityLevelConfigurationStatus) ProtoMessage() {}
func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{17}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{17}
}
func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -550,7 +550,7 @@ var xxx_messageInfo_PriorityLevelConfigurationStatus proto.InternalMessageInfo
func (m *QueuingConfiguration) Reset() { *m = QueuingConfiguration{} }
func (*QueuingConfiguration) ProtoMessage() {}
func (*QueuingConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{18}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{18}
}
func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -578,7 +578,7 @@ var xxx_messageInfo_QueuingConfiguration proto.InternalMessageInfo
func (m *ResourcePolicyRule) Reset() { *m = ResourcePolicyRule{} }
func (*ResourcePolicyRule) ProtoMessage() {}
func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{19}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{19}
}
func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -606,7 +606,7 @@ var xxx_messageInfo_ResourcePolicyRule proto.InternalMessageInfo
func (m *ServiceAccountSubject) Reset() { *m = ServiceAccountSubject{} }
func (*ServiceAccountSubject) ProtoMessage() {}
func (*ServiceAccountSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{20}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{20}
}
func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -634,7 +634,7 @@ var xxx_messageInfo_ServiceAccountSubject proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{21}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{21}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -662,7 +662,7 @@ var xxx_messageInfo_Subject proto.InternalMessageInfo
func (m *UserSubject) Reset() { *m = UserSubject{} }
func (*UserSubject) ProtoMessage() {}
func (*UserSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_80171c2a4e3669de, []int{22}
+ return fileDescriptor_3a5cb22a034fcb2a, []int{22}
}
func (m *UserSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -714,112 +714,111 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta1/generated.proto", fileDescriptor_80171c2a4e3669de)
+ proto.RegisterFile("k8s.io/api/flowcontrol/v1beta1/generated.proto", fileDescriptor_3a5cb22a034fcb2a)
}
-var fileDescriptor_80171c2a4e3669de = []byte{
- // 1614 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_3a5cb22a034fcb2a = []byte{
+ // 1599 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcf, 0x73, 0xdb, 0xc4,
0x17, 0x8f, 0x1c, 0x3b, 0x89, 0x5f, 0x7e, 0x76, 0xd3, 0x4c, 0xfc, 0x4d, 0xbf, 0x63, 0xa7, 0x62,
0x86, 0x02, 0x6d, 0xe5, 0xb6, 0xb4, 0xb4, 0xc0, 0xf0, 0x23, 0x4a, 0x4b, 0x29, 0x4d, 0xd2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 0x4c, 0xf2, 0x08, 0x77, 0x19, 0x90, 0xab,
+ 0x30, 0xd9, 0xe1, 0x60, 0x76, 0x97, 0x55, 0x2f, 0x3e, 0x7c, 0x52, 0x1e, 0x79, 0xf4, 0xa4, 0x3c,
+ 0xf2, 0xf8, 0x49, 0x79, 0xe4, 0xcb, 0x76, 0x59, 0x7a, 0xd8, 0x2e, 0x4b, 0x8f, 0xda, 0x65, 0xe9,
+ 0x71, 0xbb, 0x2c, 0xfd, 0xde, 0x2e, 0x4b, 0x5f, 0xff, 0x51, 0x1e, 0xb9, 0x5d, 0x1e, 0xfc, 0xbf,
+ 0xd8, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x24, 0x42, 0x4c, 0x0f, 0xac, 0x15, 0x00, 0x00,
}
func (m *ExemptPriorityLevelConfiguration) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta2/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta2/generated.pb.go
index 7f8ee08506..f646446df9 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta2/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta2/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto
+// source: k8s.io/api/flowcontrol/v1beta2/generated.proto
package v1beta2
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExemptPriorityLevelConfiguration) Reset() { *m = ExemptPriorityLevelConfiguration{} }
func (*ExemptPriorityLevelConfiguration) ProtoMessage() {}
func (*ExemptPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{0}
+ return fileDescriptor_2e620af2eea53237, []int{0}
}
func (m *ExemptPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_ExemptPriorityLevelConfiguration proto.InternalMessageInfo
func (m *FlowDistinguisherMethod) Reset() { *m = FlowDistinguisherMethod{} }
func (*FlowDistinguisherMethod) ProtoMessage() {}
func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{1}
+ return fileDescriptor_2e620af2eea53237, []int{1}
}
func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -102,7 +102,7 @@ var xxx_messageInfo_FlowDistinguisherMethod proto.InternalMessageInfo
func (m *FlowSchema) Reset() { *m = FlowSchema{} }
func (*FlowSchema) ProtoMessage() {}
func (*FlowSchema) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{2}
+ return fileDescriptor_2e620af2eea53237, []int{2}
}
func (m *FlowSchema) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -130,7 +130,7 @@ var xxx_messageInfo_FlowSchema proto.InternalMessageInfo
func (m *FlowSchemaCondition) Reset() { *m = FlowSchemaCondition{} }
func (*FlowSchemaCondition) ProtoMessage() {}
func (*FlowSchemaCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{3}
+ return fileDescriptor_2e620af2eea53237, []int{3}
}
func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -158,7 +158,7 @@ var xxx_messageInfo_FlowSchemaCondition proto.InternalMessageInfo
func (m *FlowSchemaList) Reset() { *m = FlowSchemaList{} }
func (*FlowSchemaList) ProtoMessage() {}
func (*FlowSchemaList) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{4}
+ return fileDescriptor_2e620af2eea53237, []int{4}
}
func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -186,7 +186,7 @@ var xxx_messageInfo_FlowSchemaList proto.InternalMessageInfo
func (m *FlowSchemaSpec) Reset() { *m = FlowSchemaSpec{} }
func (*FlowSchemaSpec) ProtoMessage() {}
func (*FlowSchemaSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{5}
+ return fileDescriptor_2e620af2eea53237, []int{5}
}
func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -214,7 +214,7 @@ var xxx_messageInfo_FlowSchemaSpec proto.InternalMessageInfo
func (m *FlowSchemaStatus) Reset() { *m = FlowSchemaStatus{} }
func (*FlowSchemaStatus) ProtoMessage() {}
func (*FlowSchemaStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{6}
+ return fileDescriptor_2e620af2eea53237, []int{6}
}
func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -242,7 +242,7 @@ var xxx_messageInfo_FlowSchemaStatus proto.InternalMessageInfo
func (m *GroupSubject) Reset() { *m = GroupSubject{} }
func (*GroupSubject) ProtoMessage() {}
func (*GroupSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{7}
+ return fileDescriptor_2e620af2eea53237, []int{7}
}
func (m *GroupSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -270,7 +270,7 @@ var xxx_messageInfo_GroupSubject proto.InternalMessageInfo
func (m *LimitResponse) Reset() { *m = LimitResponse{} }
func (*LimitResponse) ProtoMessage() {}
func (*LimitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{8}
+ return fileDescriptor_2e620af2eea53237, []int{8}
}
func (m *LimitResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -298,7 +298,7 @@ var xxx_messageInfo_LimitResponse proto.InternalMessageInfo
func (m *LimitedPriorityLevelConfiguration) Reset() { *m = LimitedPriorityLevelConfiguration{} }
func (*LimitedPriorityLevelConfiguration) ProtoMessage() {}
func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{9}
+ return fileDescriptor_2e620af2eea53237, []int{9}
}
func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -326,7 +326,7 @@ var xxx_messageInfo_LimitedPriorityLevelConfiguration proto.InternalMessageInfo
func (m *NonResourcePolicyRule) Reset() { *m = NonResourcePolicyRule{} }
func (*NonResourcePolicyRule) ProtoMessage() {}
func (*NonResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{10}
+ return fileDescriptor_2e620af2eea53237, []int{10}
}
func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -354,7 +354,7 @@ var xxx_messageInfo_NonResourcePolicyRule proto.InternalMessageInfo
func (m *PolicyRulesWithSubjects) Reset() { *m = PolicyRulesWithSubjects{} }
func (*PolicyRulesWithSubjects) ProtoMessage() {}
func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{11}
+ return fileDescriptor_2e620af2eea53237, []int{11}
}
func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -382,7 +382,7 @@ var xxx_messageInfo_PolicyRulesWithSubjects proto.InternalMessageInfo
func (m *PriorityLevelConfiguration) Reset() { *m = PriorityLevelConfiguration{} }
func (*PriorityLevelConfiguration) ProtoMessage() {}
func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{12}
+ return fileDescriptor_2e620af2eea53237, []int{12}
}
func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -410,7 +410,7 @@ var xxx_messageInfo_PriorityLevelConfiguration proto.InternalMessageInfo
func (m *PriorityLevelConfigurationCondition) Reset() { *m = PriorityLevelConfigurationCondition{} }
func (*PriorityLevelConfigurationCondition) ProtoMessage() {}
func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{13}
+ return fileDescriptor_2e620af2eea53237, []int{13}
}
func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -438,7 +438,7 @@ var xxx_messageInfo_PriorityLevelConfigurationCondition proto.InternalMessageInf
func (m *PriorityLevelConfigurationList) Reset() { *m = PriorityLevelConfigurationList{} }
func (*PriorityLevelConfigurationList) ProtoMessage() {}
func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{14}
+ return fileDescriptor_2e620af2eea53237, []int{14}
}
func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -466,7 +466,7 @@ var xxx_messageInfo_PriorityLevelConfigurationList proto.InternalMessageInfo
func (m *PriorityLevelConfigurationReference) Reset() { *m = PriorityLevelConfigurationReference{} }
func (*PriorityLevelConfigurationReference) ProtoMessage() {}
func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{15}
+ return fileDescriptor_2e620af2eea53237, []int{15}
}
func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -494,7 +494,7 @@ var xxx_messageInfo_PriorityLevelConfigurationReference proto.InternalMessageInf
func (m *PriorityLevelConfigurationSpec) Reset() { *m = PriorityLevelConfigurationSpec{} }
func (*PriorityLevelConfigurationSpec) ProtoMessage() {}
func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{16}
+ return fileDescriptor_2e620af2eea53237, []int{16}
}
func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -522,7 +522,7 @@ var xxx_messageInfo_PriorityLevelConfigurationSpec proto.InternalMessageInfo
func (m *PriorityLevelConfigurationStatus) Reset() { *m = PriorityLevelConfigurationStatus{} }
func (*PriorityLevelConfigurationStatus) ProtoMessage() {}
func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{17}
+ return fileDescriptor_2e620af2eea53237, []int{17}
}
func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -550,7 +550,7 @@ var xxx_messageInfo_PriorityLevelConfigurationStatus proto.InternalMessageInfo
func (m *QueuingConfiguration) Reset() { *m = QueuingConfiguration{} }
func (*QueuingConfiguration) ProtoMessage() {}
func (*QueuingConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{18}
+ return fileDescriptor_2e620af2eea53237, []int{18}
}
func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -578,7 +578,7 @@ var xxx_messageInfo_QueuingConfiguration proto.InternalMessageInfo
func (m *ResourcePolicyRule) Reset() { *m = ResourcePolicyRule{} }
func (*ResourcePolicyRule) ProtoMessage() {}
func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{19}
+ return fileDescriptor_2e620af2eea53237, []int{19}
}
func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -606,7 +606,7 @@ var xxx_messageInfo_ResourcePolicyRule proto.InternalMessageInfo
func (m *ServiceAccountSubject) Reset() { *m = ServiceAccountSubject{} }
func (*ServiceAccountSubject) ProtoMessage() {}
func (*ServiceAccountSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{20}
+ return fileDescriptor_2e620af2eea53237, []int{20}
}
func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -634,7 +634,7 @@ var xxx_messageInfo_ServiceAccountSubject proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{21}
+ return fileDescriptor_2e620af2eea53237, []int{21}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -662,7 +662,7 @@ var xxx_messageInfo_Subject proto.InternalMessageInfo
func (m *UserSubject) Reset() { *m = UserSubject{} }
func (*UserSubject) ProtoMessage() {}
func (*UserSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_ed300aa8e672704e, []int{22}
+ return fileDescriptor_2e620af2eea53237, []int{22}
}
func (m *UserSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -714,113 +714,112 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta2/generated.proto", fileDescriptor_ed300aa8e672704e)
+ proto.RegisterFile("k8s.io/api/flowcontrol/v1beta2/generated.proto", fileDescriptor_2e620af2eea53237)
}
-var fileDescriptor_ed300aa8e672704e = []byte{
- // 1617 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0x4b, 0x73, 0x1b, 0xc5,
- 0x16, 0xf6, 0xc8, 0x92, 0x6d, 0x1d, 0x3f, 0xd3, 0x8e, 0xcb, 0xba, 0xce, 0x2d, 0xc9, 0x99, 0x5b,
- 0x75, 0x73, 0x2f, 0x49, 0x46, 0x89, 0x49, 0x48, 0x80, 0xe2, 0xe1, 0x71, 0x42, 0x08, 0xb1, 0x1d,
- 0xa7, 0x9d, 0x40, 0x2a, 0xa4, 0x8a, 0x8c, 0x46, 0x6d, 0x69, 0x62, 0x69, 0x66, 0xd2, 0x3d, 0x23,
- 0x63, 0xb2, 0xa1, 0xf8, 0x05, 0xac, 0x61, 0xc9, 0x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0xb8,
- 0x3a, 0x7f, 0xc4, 0x04, 0x69, 0x20, 0x24, 0x38, 0x60, 0x41, 0x0f, 0x60, 0x8e, 0xc5, 0x42, 0x28,
- 0x9e, 0x6b, 0x84, 0x7d, 0xa9, 0x6f, 0xe0, 0x75, 0xd4, 0x6a, 0x16, 0xe6, 0xe2, 0x2a, 0xdc, 0xe5,
- 0x40, 0x2d, 0xc2, 0x74, 0xc7, 0x05, 0x93, 0xbb, 0xac, 0x7e, 0xe9, 0xd1, 0xd3, 0xfc, 0xd8, 0xe3,
- 0xa7, 0xf9, 0xb1, 0x27, 0x4f, 0xf3, 0x63, 0x9f, 0xb7, 0xf2, 0xca, 0xa3, 0x56, 0x5e, 0x79, 0xdc,
- 0xca, 0x2b, 0x4f, 0x5a, 0x79, 0xe5, 0xd7, 0x56, 0x5e, 0xf9, 0xf2, 0xb7, 0xfc, 0xd8, 0x9d, 0xfc,
- 0xf0, 0xff, 0xc5, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x4d, 0x1e, 0x25, 0xc5, 0x15, 0x00,
- 0x00,
+var fileDescriptor_2e620af2eea53237 = []byte{
+ // 1602 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcd, 0x73, 0xdb, 0xd4,
+ 0x16, 0x8f, 0x1c, 0x3b, 0x89, 0x4f, 0x3e, 0x7b, 0xd3, 0x4c, 0xfc, 0xd2, 0x37, 0x76, 0xaa, 0x37,
+ 0xf3, 0xfa, 0x1e, 0x6d, 0xe5, 0x36, 0xb4, 0xb4, 0xc0, 0xf0, 0x11, 0xa5, 0xa5, 0x94, 0x26, 0x69,
+ 0x7a, 0xd3, 0x42, 0xa7, 0x74, 0x86, 0x2a, 0xf2, 0x8d, 0xad, 0xc6, 0xfa, 0xa8, 0xae, 0x94, 0x10,
+ 0xba, 0x61, 0xf8, 0x0b, 0x58, 0xc3, 0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, 0x40, 0x1b, 0x50, 0xa8, 0xb3, 0x47, 0x11, 0x75, 0x7a, 0x2a, 0x8b,
+ 0xab, 0xf3, 0x47, 0x4c, 0x90, 0x06, 0x5c, 0x82, 0x03, 0x16, 0xf4, 0x00, 0x66, 0x68, 0x22, 0x84,
+ 0xfc, 0xb9, 0x86, 0xd8, 0x97, 0xfa, 0x06, 0x5e, 0x45, 0xed, 0x56, 0x65, 0x26, 0x79, 0x84, 0xbb,
+ 0x0c, 0xc8, 0x55, 0x98, 0xec, 0x70, 0x30, 0xbb, 0xcb, 0xaa, 0x97, 0x1e, 0x3d, 0x2d, 0x8f, 0x3c,
+ 0x7e, 0x5a, 0x1e, 0x79, 0xf2, 0xb4, 0x3c, 0xf2, 0x79, 0xbb, 0x2c, 0x3d, 0x6a, 0x97, 0xa5, 0xc7,
+ 0xed, 0xb2, 0xf4, 0xa4, 0x5d, 0x96, 0x7e, 0x6d, 0x97, 0xa5, 0x2f, 0x7f, 0x2b, 0x8f, 0xdc, 0x29,
+ 0x0f, 0xfe, 0x5f, 0xec, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe3, 0xd5, 0xd0, 0x62, 0xac, 0x15,
+ 0x00, 0x00,
}
func (m *ExemptPriorityLevelConfiguration) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta3/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta3/generated.pb.go
index c6598306d9..e0a3fc1e18 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta3/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/flowcontrol/v1beta3/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta3/generated.proto
+// source: k8s.io/api/flowcontrol/v1beta3/generated.proto
package v1beta3
@@ -46,7 +46,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ExemptPriorityLevelConfiguration) Reset() { *m = ExemptPriorityLevelConfiguration{} }
func (*ExemptPriorityLevelConfiguration) ProtoMessage() {}
func (*ExemptPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{0}
+ return fileDescriptor_52ab6629c083d251, []int{0}
}
func (m *ExemptPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,7 +74,7 @@ var xxx_messageInfo_ExemptPriorityLevelConfiguration proto.InternalMessageInfo
func (m *FlowDistinguisherMethod) Reset() { *m = FlowDistinguisherMethod{} }
func (*FlowDistinguisherMethod) ProtoMessage() {}
func (*FlowDistinguisherMethod) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{1}
+ return fileDescriptor_52ab6629c083d251, []int{1}
}
func (m *FlowDistinguisherMethod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -102,7 +102,7 @@ var xxx_messageInfo_FlowDistinguisherMethod proto.InternalMessageInfo
func (m *FlowSchema) Reset() { *m = FlowSchema{} }
func (*FlowSchema) ProtoMessage() {}
func (*FlowSchema) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{2}
+ return fileDescriptor_52ab6629c083d251, []int{2}
}
func (m *FlowSchema) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -130,7 +130,7 @@ var xxx_messageInfo_FlowSchema proto.InternalMessageInfo
func (m *FlowSchemaCondition) Reset() { *m = FlowSchemaCondition{} }
func (*FlowSchemaCondition) ProtoMessage() {}
func (*FlowSchemaCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{3}
+ return fileDescriptor_52ab6629c083d251, []int{3}
}
func (m *FlowSchemaCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -158,7 +158,7 @@ var xxx_messageInfo_FlowSchemaCondition proto.InternalMessageInfo
func (m *FlowSchemaList) Reset() { *m = FlowSchemaList{} }
func (*FlowSchemaList) ProtoMessage() {}
func (*FlowSchemaList) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{4}
+ return fileDescriptor_52ab6629c083d251, []int{4}
}
func (m *FlowSchemaList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -186,7 +186,7 @@ var xxx_messageInfo_FlowSchemaList proto.InternalMessageInfo
func (m *FlowSchemaSpec) Reset() { *m = FlowSchemaSpec{} }
func (*FlowSchemaSpec) ProtoMessage() {}
func (*FlowSchemaSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{5}
+ return fileDescriptor_52ab6629c083d251, []int{5}
}
func (m *FlowSchemaSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -214,7 +214,7 @@ var xxx_messageInfo_FlowSchemaSpec proto.InternalMessageInfo
func (m *FlowSchemaStatus) Reset() { *m = FlowSchemaStatus{} }
func (*FlowSchemaStatus) ProtoMessage() {}
func (*FlowSchemaStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{6}
+ return fileDescriptor_52ab6629c083d251, []int{6}
}
func (m *FlowSchemaStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -242,7 +242,7 @@ var xxx_messageInfo_FlowSchemaStatus proto.InternalMessageInfo
func (m *GroupSubject) Reset() { *m = GroupSubject{} }
func (*GroupSubject) ProtoMessage() {}
func (*GroupSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{7}
+ return fileDescriptor_52ab6629c083d251, []int{7}
}
func (m *GroupSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -270,7 +270,7 @@ var xxx_messageInfo_GroupSubject proto.InternalMessageInfo
func (m *LimitResponse) Reset() { *m = LimitResponse{} }
func (*LimitResponse) ProtoMessage() {}
func (*LimitResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{8}
+ return fileDescriptor_52ab6629c083d251, []int{8}
}
func (m *LimitResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -298,7 +298,7 @@ var xxx_messageInfo_LimitResponse proto.InternalMessageInfo
func (m *LimitedPriorityLevelConfiguration) Reset() { *m = LimitedPriorityLevelConfiguration{} }
func (*LimitedPriorityLevelConfiguration) ProtoMessage() {}
func (*LimitedPriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{9}
+ return fileDescriptor_52ab6629c083d251, []int{9}
}
func (m *LimitedPriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -326,7 +326,7 @@ var xxx_messageInfo_LimitedPriorityLevelConfiguration proto.InternalMessageInfo
func (m *NonResourcePolicyRule) Reset() { *m = NonResourcePolicyRule{} }
func (*NonResourcePolicyRule) ProtoMessage() {}
func (*NonResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{10}
+ return fileDescriptor_52ab6629c083d251, []int{10}
}
func (m *NonResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -354,7 +354,7 @@ var xxx_messageInfo_NonResourcePolicyRule proto.InternalMessageInfo
func (m *PolicyRulesWithSubjects) Reset() { *m = PolicyRulesWithSubjects{} }
func (*PolicyRulesWithSubjects) ProtoMessage() {}
func (*PolicyRulesWithSubjects) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{11}
+ return fileDescriptor_52ab6629c083d251, []int{11}
}
func (m *PolicyRulesWithSubjects) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -382,7 +382,7 @@ var xxx_messageInfo_PolicyRulesWithSubjects proto.InternalMessageInfo
func (m *PriorityLevelConfiguration) Reset() { *m = PriorityLevelConfiguration{} }
func (*PriorityLevelConfiguration) ProtoMessage() {}
func (*PriorityLevelConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{12}
+ return fileDescriptor_52ab6629c083d251, []int{12}
}
func (m *PriorityLevelConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -410,7 +410,7 @@ var xxx_messageInfo_PriorityLevelConfiguration proto.InternalMessageInfo
func (m *PriorityLevelConfigurationCondition) Reset() { *m = PriorityLevelConfigurationCondition{} }
func (*PriorityLevelConfigurationCondition) ProtoMessage() {}
func (*PriorityLevelConfigurationCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{13}
+ return fileDescriptor_52ab6629c083d251, []int{13}
}
func (m *PriorityLevelConfigurationCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -438,7 +438,7 @@ var xxx_messageInfo_PriorityLevelConfigurationCondition proto.InternalMessageInf
func (m *PriorityLevelConfigurationList) Reset() { *m = PriorityLevelConfigurationList{} }
func (*PriorityLevelConfigurationList) ProtoMessage() {}
func (*PriorityLevelConfigurationList) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{14}
+ return fileDescriptor_52ab6629c083d251, []int{14}
}
func (m *PriorityLevelConfigurationList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -466,7 +466,7 @@ var xxx_messageInfo_PriorityLevelConfigurationList proto.InternalMessageInfo
func (m *PriorityLevelConfigurationReference) Reset() { *m = PriorityLevelConfigurationReference{} }
func (*PriorityLevelConfigurationReference) ProtoMessage() {}
func (*PriorityLevelConfigurationReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{15}
+ return fileDescriptor_52ab6629c083d251, []int{15}
}
func (m *PriorityLevelConfigurationReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -494,7 +494,7 @@ var xxx_messageInfo_PriorityLevelConfigurationReference proto.InternalMessageInf
func (m *PriorityLevelConfigurationSpec) Reset() { *m = PriorityLevelConfigurationSpec{} }
func (*PriorityLevelConfigurationSpec) ProtoMessage() {}
func (*PriorityLevelConfigurationSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{16}
+ return fileDescriptor_52ab6629c083d251, []int{16}
}
func (m *PriorityLevelConfigurationSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -522,7 +522,7 @@ var xxx_messageInfo_PriorityLevelConfigurationSpec proto.InternalMessageInfo
func (m *PriorityLevelConfigurationStatus) Reset() { *m = PriorityLevelConfigurationStatus{} }
func (*PriorityLevelConfigurationStatus) ProtoMessage() {}
func (*PriorityLevelConfigurationStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{17}
+ return fileDescriptor_52ab6629c083d251, []int{17}
}
func (m *PriorityLevelConfigurationStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -550,7 +550,7 @@ var xxx_messageInfo_PriorityLevelConfigurationStatus proto.InternalMessageInfo
func (m *QueuingConfiguration) Reset() { *m = QueuingConfiguration{} }
func (*QueuingConfiguration) ProtoMessage() {}
func (*QueuingConfiguration) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{18}
+ return fileDescriptor_52ab6629c083d251, []int{18}
}
func (m *QueuingConfiguration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -578,7 +578,7 @@ var xxx_messageInfo_QueuingConfiguration proto.InternalMessageInfo
func (m *ResourcePolicyRule) Reset() { *m = ResourcePolicyRule{} }
func (*ResourcePolicyRule) ProtoMessage() {}
func (*ResourcePolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{19}
+ return fileDescriptor_52ab6629c083d251, []int{19}
}
func (m *ResourcePolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -606,7 +606,7 @@ var xxx_messageInfo_ResourcePolicyRule proto.InternalMessageInfo
func (m *ServiceAccountSubject) Reset() { *m = ServiceAccountSubject{} }
func (*ServiceAccountSubject) ProtoMessage() {}
func (*ServiceAccountSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{20}
+ return fileDescriptor_52ab6629c083d251, []int{20}
}
func (m *ServiceAccountSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -634,7 +634,7 @@ var xxx_messageInfo_ServiceAccountSubject proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{21}
+ return fileDescriptor_52ab6629c083d251, []int{21}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -662,7 +662,7 @@ var xxx_messageInfo_Subject proto.InternalMessageInfo
func (m *UserSubject) Reset() { *m = UserSubject{} }
func (*UserSubject) ProtoMessage() {}
func (*UserSubject) Descriptor() ([]byte, []int) {
- return fileDescriptor_803504887082f044, []int{22}
+ return fileDescriptor_52ab6629c083d251, []int{22}
}
func (m *UserSubject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -714,112 +714,111 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/flowcontrol/v1beta3/generated.proto", fileDescriptor_803504887082f044)
+ proto.RegisterFile("k8s.io/api/flowcontrol/v1beta3/generated.proto", fileDescriptor_52ab6629c083d251)
}
-var fileDescriptor_803504887082f044 = []byte{
- // 1604 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcb, 0x73, 0xdb, 0x54,
- 0x17, 0x8f, 0x1c, 0x3b, 0x89, 0x4f, 0x9e, 0xbd, 0x69, 0x26, 0xfe, 0xd2, 0x6f, 0xec, 0x54, 0xdf,
- 0xcc, 0x57, 0xa0, 0xad, 0xdc, 0x27, 0x2d, 0x30, 0x3c, 0xaa, 0xb4, 0x94, 0xd2, 0x24, 0x4d, 0x6f,
- 0x5a,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, 0x33, 0x01, 0xe6, 0x10, 0x68, 0x03, 0x72, 0x35, 0xf6, 0x28, 0xa2, 0x4f,
- 0x4f, 0xa4, 0x61, 0x75, 0xfe, 0x88, 0x09, 0xca, 0x80, 0x4b, 0x70, 0x80, 0x82, 0x1e, 0xc2, 0x1c,
- 0x4d, 0xa4, 0x90, 0x3f, 0xd7, 0x08, 0x7c, 0xa9, 0x6f, 0xe2, 0x55, 0xd4, 0x6e, 0x95, 0xe6, 0x92,
- 0x2a, 0xdc, 0x15, 0x40, 0x2e, 0xc3, 0x74, 0xc7, 0x05, 0xd3, 0xa7, 0xac, 0x7a, 0xf9, 0xf1, 0xb3,
- 0xe2, 0xd8, 0x93, 0x67, 0xc5, 0xb1, 0xa7, 0xcf, 0x8a, 0x63, 0x5f, 0xb4, 0x8b, 0xd2, 0xe3, 0x76,
- 0x51, 0x7a, 0xd2, 0x2e, 0x4a, 0x4f, 0xdb, 0x45, 0xe9, 0xb7, 0x76, 0x51, 0xfa, 0xea, 0xf7, 0xe2,
- 0xd8, 0xdd, 0xe2, 0xf0, 0xff, 0xc5, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0x1d, 0xc5, 0x22, 0x46,
- 0xc5, 0x15, 0x00, 0x00,
+var fileDescriptor_52ab6629c083d251 = []byte{
+ // 1589 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x58, 0xcb, 0x6f, 0xdc, 0x54,
+ 0x17, 0x8f, 0x27, 0x33, 0x49, 0xe6, 0xe4, 0xd9, 0x9b, 0x46, 0x99, 0x2f, 0xfd, 0x34, 0x93, 0xfa,
+ 0x93, 0xbe, 0x02, 0x6d, 0x3d, 0x7d, 0xd2, 0x02, 0xe2, 0x51, 0xa7, 0xa5, 0x94, 0x26, 0x69, 0x7a,
+ 0xd3, 0x42, 0x55, 0x2a, 0x51, 0xc7, 0x73, 0xe3, 0x71, 0x33, 0x7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18, 0xec, 0x51, 0x44,
+ 0x9f, 0x9e, 0xc8, 0xc2, 0x6a, 0xff, 0x11, 0x13, 0x96, 0x01, 0x97, 0xe0, 0x10, 0x05, 0x3d, 0x84,
+ 0x19, 0x9a, 0x4a, 0x21, 0x7f, 0xae, 0x21, 0xf8, 0x52, 0xcf, 0xc4, 0xab, 0xa8, 0xd5, 0xac, 0xcc,
+ 0xa4, 0x8f, 0x70, 0x87, 0x03, 0xb9, 0x0a, 0x93, 0x6d, 0x01, 0x66, 0x4f, 0x59, 0xf5, 0xf2, 0xe3,
+ 0x67, 0xe5, 0x91, 0x27, 0xcf, 0xca, 0x23, 0x4f, 0x9f, 0x95, 0x47, 0xbe, 0x68, 0x95, 0xa5, 0xc7,
+ 0xad, 0xb2, 0xf4, 0xa4, 0x55, 0x96, 0x9e, 0xb6, 0xca, 0xd2, 0x6f, 0xad, 0xb2, 0xf4, 0xd5, 0xef,
+ 0xe5, 0x91, 0xbb, 0xe5, 0xc1, 0xff, 0x8b, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x03, 0x5d, 0xec,
+ 0x01, 0xac, 0x15, 0x00, 0x00,
}
func (m *ExemptPriorityLevelConfiguration) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.pb.go
index daeaea5dce..7c023e6903 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/networking/v1/generated.proto
+// source: k8s.io/api/networking/v1/generated.proto
package v1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
func (*HTTPIngressPath) ProtoMessage() {}
func (*HTTPIngressPath) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{0}
+ return fileDescriptor_2c41434372fec1d7, []int{0}
}
func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo
func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
func (*HTTPIngressRuleValue) ProtoMessage() {}
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{1}
+ return fileDescriptor_2c41434372fec1d7, []int{1}
}
func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_HTTPIngressRuleValue proto.InternalMessageInfo
func (m *IPBlock) Reset() { *m = IPBlock{} }
func (*IPBlock) ProtoMessage() {}
func (*IPBlock) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{2}
+ return fileDescriptor_2c41434372fec1d7, []int{2}
}
func (m *IPBlock) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_IPBlock proto.InternalMessageInfo
func (m *Ingress) Reset() { *m = Ingress{} }
func (*Ingress) ProtoMessage() {}
func (*Ingress) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{3}
+ return fileDescriptor_2c41434372fec1d7, []int{3}
}
func (m *Ingress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_Ingress proto.InternalMessageInfo
func (m *IngressBackend) Reset() { *m = IngressBackend{} }
func (*IngressBackend) ProtoMessage() {}
func (*IngressBackend) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{4}
+ return fileDescriptor_2c41434372fec1d7, []int{4}
}
func (m *IngressBackend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -191,7 +191,7 @@ var xxx_messageInfo_IngressBackend proto.InternalMessageInfo
func (m *IngressClass) Reset() { *m = IngressClass{} }
func (*IngressClass) ProtoMessage() {}
func (*IngressClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{5}
+ return fileDescriptor_2c41434372fec1d7, []int{5}
}
func (m *IngressClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -219,7 +219,7 @@ var xxx_messageInfo_IngressClass proto.InternalMessageInfo
func (m *IngressClassList) Reset() { *m = IngressClassList{} }
func (*IngressClassList) ProtoMessage() {}
func (*IngressClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{6}
+ return fileDescriptor_2c41434372fec1d7, []int{6}
}
func (m *IngressClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -247,7 +247,7 @@ var xxx_messageInfo_IngressClassList proto.InternalMessageInfo
func (m *IngressClassParametersReference) Reset() { *m = IngressClassParametersReference{} }
func (*IngressClassParametersReference) ProtoMessage() {}
func (*IngressClassParametersReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{7}
+ return fileDescriptor_2c41434372fec1d7, []int{7}
}
func (m *IngressClassParametersReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -275,7 +275,7 @@ var xxx_messageInfo_IngressClassParametersReference proto.InternalMessageInfo
func (m *IngressClassSpec) Reset() { *m = IngressClassSpec{} }
func (*IngressClassSpec) ProtoMessage() {}
func (*IngressClassSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{8}
+ return fileDescriptor_2c41434372fec1d7, []int{8}
}
func (m *IngressClassSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +303,7 @@ var xxx_messageInfo_IngressClassSpec proto.InternalMessageInfo
func (m *IngressList) Reset() { *m = IngressList{} }
func (*IngressList) ProtoMessage() {}
func (*IngressList) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{9}
+ return fileDescriptor_2c41434372fec1d7, []int{9}
}
func (m *IngressList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +331,7 @@ var xxx_messageInfo_IngressList proto.InternalMessageInfo
func (m *IngressLoadBalancerIngress) Reset() { *m = IngressLoadBalancerIngress{} }
func (*IngressLoadBalancerIngress) ProtoMessage() {}
func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{10}
+ return fileDescriptor_2c41434372fec1d7, []int{10}
}
func (m *IngressLoadBalancerIngress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -359,7 +359,7 @@ var xxx_messageInfo_IngressLoadBalancerIngress proto.InternalMessageInfo
func (m *IngressLoadBalancerStatus) Reset() { *m = IngressLoadBalancerStatus{} }
func (*IngressLoadBalancerStatus) ProtoMessage() {}
func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{11}
+ return fileDescriptor_2c41434372fec1d7, []int{11}
}
func (m *IngressLoadBalancerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -387,7 +387,7 @@ var xxx_messageInfo_IngressLoadBalancerStatus proto.InternalMessageInfo
func (m *IngressPortStatus) Reset() { *m = IngressPortStatus{} }
func (*IngressPortStatus) ProtoMessage() {}
func (*IngressPortStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{12}
+ return fileDescriptor_2c41434372fec1d7, []int{12}
}
func (m *IngressPortStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -415,7 +415,7 @@ var xxx_messageInfo_IngressPortStatus proto.InternalMessageInfo
func (m *IngressRule) Reset() { *m = IngressRule{} }
func (*IngressRule) ProtoMessage() {}
func (*IngressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{13}
+ return fileDescriptor_2c41434372fec1d7, []int{13}
}
func (m *IngressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -443,7 +443,7 @@ var xxx_messageInfo_IngressRule proto.InternalMessageInfo
func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
func (*IngressRuleValue) ProtoMessage() {}
func (*IngressRuleValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{14}
+ return fileDescriptor_2c41434372fec1d7, []int{14}
}
func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -471,7 +471,7 @@ var xxx_messageInfo_IngressRuleValue proto.InternalMessageInfo
func (m *IngressServiceBackend) Reset() { *m = IngressServiceBackend{} }
func (*IngressServiceBackend) ProtoMessage() {}
func (*IngressServiceBackend) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{15}
+ return fileDescriptor_2c41434372fec1d7, []int{15}
}
func (m *IngressServiceBackend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -499,7 +499,7 @@ var xxx_messageInfo_IngressServiceBackend proto.InternalMessageInfo
func (m *IngressSpec) Reset() { *m = IngressSpec{} }
func (*IngressSpec) ProtoMessage() {}
func (*IngressSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{16}
+ return fileDescriptor_2c41434372fec1d7, []int{16}
}
func (m *IngressSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -527,7 +527,7 @@ var xxx_messageInfo_IngressSpec proto.InternalMessageInfo
func (m *IngressStatus) Reset() { *m = IngressStatus{} }
func (*IngressStatus) ProtoMessage() {}
func (*IngressStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{17}
+ return fileDescriptor_2c41434372fec1d7, []int{17}
}
func (m *IngressStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -555,7 +555,7 @@ var xxx_messageInfo_IngressStatus proto.InternalMessageInfo
func (m *IngressTLS) Reset() { *m = IngressTLS{} }
func (*IngressTLS) ProtoMessage() {}
func (*IngressTLS) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{18}
+ return fileDescriptor_2c41434372fec1d7, []int{18}
}
func (m *IngressTLS) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -583,7 +583,7 @@ var xxx_messageInfo_IngressTLS proto.InternalMessageInfo
func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} }
func (*NetworkPolicy) ProtoMessage() {}
func (*NetworkPolicy) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{19}
+ return fileDescriptor_2c41434372fec1d7, []int{19}
}
func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -611,7 +611,7 @@ var xxx_messageInfo_NetworkPolicy proto.InternalMessageInfo
func (m *NetworkPolicyEgressRule) Reset() { *m = NetworkPolicyEgressRule{} }
func (*NetworkPolicyEgressRule) ProtoMessage() {}
func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{20}
+ return fileDescriptor_2c41434372fec1d7, []int{20}
}
func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -639,7 +639,7 @@ var xxx_messageInfo_NetworkPolicyEgressRule proto.InternalMessageInfo
func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} }
func (*NetworkPolicyIngressRule) ProtoMessage() {}
func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{21}
+ return fileDescriptor_2c41434372fec1d7, []int{21}
}
func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -667,7 +667,7 @@ var xxx_messageInfo_NetworkPolicyIngressRule proto.InternalMessageInfo
func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} }
func (*NetworkPolicyList) ProtoMessage() {}
func (*NetworkPolicyList) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{22}
+ return fileDescriptor_2c41434372fec1d7, []int{22}
}
func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -695,7 +695,7 @@ var xxx_messageInfo_NetworkPolicyList proto.InternalMessageInfo
func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} }
func (*NetworkPolicyPeer) ProtoMessage() {}
func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{23}
+ return fileDescriptor_2c41434372fec1d7, []int{23}
}
func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -723,7 +723,7 @@ var xxx_messageInfo_NetworkPolicyPeer proto.InternalMessageInfo
func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} }
func (*NetworkPolicyPort) ProtoMessage() {}
func (*NetworkPolicyPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{24}
+ return fileDescriptor_2c41434372fec1d7, []int{24}
}
func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -751,7 +751,7 @@ var xxx_messageInfo_NetworkPolicyPort proto.InternalMessageInfo
func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} }
func (*NetworkPolicySpec) ProtoMessage() {}
func (*NetworkPolicySpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{25}
+ return fileDescriptor_2c41434372fec1d7, []int{25}
}
func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -779,7 +779,7 @@ var xxx_messageInfo_NetworkPolicySpec proto.InternalMessageInfo
func (m *ServiceBackendPort) Reset() { *m = ServiceBackendPort{} }
func (*ServiceBackendPort) ProtoMessage() {}
func (*ServiceBackendPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_1c72867a70a7cc90, []int{26}
+ return fileDescriptor_2c41434372fec1d7, []int{26}
}
func (m *ServiceBackendPort) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -835,116 +835,115 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/networking/v1/generated.proto", fileDescriptor_1c72867a70a7cc90)
+ proto.RegisterFile("k8s.io/api/networking/v1/generated.proto", fileDescriptor_2c41434372fec1d7)
}
-var fileDescriptor_1c72867a70a7cc90 = []byte{
- // 1671 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcb, 0x6f, 0x1b, 0xd5,
- 0x1a, 0xcf, 0x38, 0x71, 0xec, 0x1c, 0x27, 0x69, 0x72, 0x6e, 0xab, 0xeb, 0x9b, 0xab, 0x6b, 0xe7,
- 0x8e, 0x68, 0x1b, 0x68, 0x6b, 0xd3, 0xb4, 0x42, 0xb0, 0x01, 0x3a, 0x69, 0x9a, 0x86, 0xa6, 0x8e,
- 0x75, 0x6c, 0x15, 0x81, 0x78, 0x74, 0x32, 0x3e, 0xb1, 0xa7, 0x1e, 0xcf, 0x19, 0x9d, 0x39, 0x0e,
- 0xad, 0x84, 0x10, 0x1b, 0x16, 0xec, 0xf8, 0x17, 0x10, 0x7f, 0x01, 0x82, 0x05, 0x12, 0x82, 0xc2,
- 0x06, 0x75, 0x59, 0x89, 0x4d, 0x37, 0x58, 0xd4, 0xfc, 0x17, 0x59, 0xa1, 0xf3, 0x98, 0x97, 0x1f,
- 0xb5, 0xa9, 0xaa, 0xac, 0x92, 0xf3, 0x7d, 0xdf, 0xf9, 0x7d, 0x8f, 0xf3, 0xb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c, 0x25, 0x7a, 0xd4, 0x56, 0xa3, 0x5f, 0x1e, 0x14, 0x4d, 0x01, 0xc2, 0xb7, 0x78, 0x94,
- 0xb8, 0x2c, 0xff, 0xe0, 0x97, 0x7b, 0xf8, 0x82, 0xf1, 0x3f, 0xe9, 0x6c, 0x48, 0x3e, 0xe6, 0x1f,
- 0x38, 0xe1, 0x11, 0xc5, 0x6f, 0xe8, 0x1f, 0x01, 0x38, 0xbc, 0xe4, 0x4c, 0xb1, 0x42, 0x9d, 0x03,
- 0xf3, 0x6e, 0xb7, 0x73, 0x80, 0x65, 0x0d, 0xa5, 0x23, 0x03, 0x2b, 0x82, 0x8a, 0x14, 0xd7, 0x78,
- 0xf3, 0xd1, 0xd3, 0xc2, 0xcc, 0xe3, 0xa7, 0x85, 0x99, 0x27, 0x4f, 0x0b, 0x33, 0x9f, 0xf7, 0x0b,
- 0xda, 0xa3, 0x7e, 0x41, 0x7b, 0xdc, 0x2f, 0x68, 0x4f, 0xfa, 0x05, 0xed, 0xcf, 0x7e, 0x41, 0xfb,
- 0xea, 0xaf, 0xc2, 0xcc, 0xfb, 0xf9, 0x71, 0xbf, 0x96, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xd4,
- 0x46, 0x40, 0xf2, 0x61, 0x15, 0x00, 0x00,
+var fileDescriptor_2c41434372fec1d7 = []byte{
+ // 1652 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4b, 0x6f, 0x1b, 0x55,
+ 0x14, 0xce, 0x38, 0x71, 0xec, 0x1c, 0x27, 0x69, 0x72, 0x69, 0x85, 0x09, 0xc2, 0x0e, 0x23, 0xda,
+ 0x06, 0xda, 0xda, 0x34, 0xad, 0x10, 0x6c, 0x78, 0x4c, 0x9a, 0xa6, 0xa1, 0xa9, 0x63, 0x5d, 0x5b,
+ 0x45, 0x20, 0x1e, 0x9d, 0x8c, 0x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al() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.proto
index b50dd491e0..22a9085a54 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/generated.proto
@@ -84,6 +84,7 @@ message IPBlock {
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
// Except values will be rejected if they are outside the cidr range
// +optional
+ // +listType=atomic
repeated string except = 2;
}
@@ -225,6 +226,7 @@ message IngressLoadBalancerIngress {
message IngressLoadBalancerStatus {
// ingress is a list containing ingress points for the load-balancer.
// +optional
+ // +listType=atomic
repeated IngressLoadBalancerIngress ingress = 1;
}
@@ -396,6 +398,7 @@ message NetworkPolicyEgressRule {
// If this field is present and contains at least one item, then this rule allows
// traffic only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPort ports = 1;
// to is a list of destinations for outgoing traffic of pods selected for this rule.
@@ -404,6 +407,7 @@ message NetworkPolicyEgressRule {
// destination). If this field is present and contains at least one item, this rule
// allows traffic only if the traffic matches at least one item in the to list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPeer to = 2;
}
@@ -416,6 +420,7 @@ message NetworkPolicyIngressRule {
// If this field is present and contains at least one item, then this rule allows
// traffic only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPort ports = 1;
// from is a list of sources which should be able to access the pods selected for this rule.
@@ -424,6 +429,7 @@ message NetworkPolicyIngressRule {
// source). If this field is present and contains at least one item, this rule
// allows traffic only if the traffic matches at least one item in the from list.
// +optional
+ // +listType=atomic
repeated NetworkPolicyPeer from = 2;
}
@@ -505,6 +511,7 @@ message NetworkPolicySpec {
// this field is empty then this NetworkPolicy does not allow any traffic (and serves
// solely to ensure that the pods it selects are isolated by default)
// +optional
+ // +listType=atomic
repeated NetworkPolicyIngressRule ingress = 2;
// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic
@@ -515,6 +522,7 @@ message NetworkPolicySpec {
// solely to ensure that the pods it selects are isolated by default).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
repeated NetworkPolicyEgressRule egress = 3;
// policyTypes is a list of rule types that the NetworkPolicy relates to.
@@ -528,6 +536,7 @@ message NetworkPolicySpec {
// an egress section and would otherwise default to just [ "Ingress" ]).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
repeated string policyTypes = 4;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/types.go
index a17e2cb5b3..8ee62918b0 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1/types.go
@@ -74,6 +74,7 @@ type NetworkPolicySpec struct {
// this field is empty then this NetworkPolicy does not allow any traffic (and serves
// solely to ensure that the pods it selects are isolated by default)
// +optional
+ // +listType=atomic
Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`
// egress is a list of egress rules to be applied to the selected pods. Outgoing traffic
@@ -84,6 +85,7 @@ type NetworkPolicySpec struct {
// solely to ensure that the pods it selects are isolated by default).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
Egress []NetworkPolicyEgressRule `json:"egress,omitempty" protobuf:"bytes,3,rep,name=egress"`
// policyTypes is a list of rule types that the NetworkPolicy relates to.
@@ -97,6 +99,7 @@ type NetworkPolicySpec struct {
// an egress section and would otherwise default to just [ "Ingress" ]).
// This field is beta-level in 1.8
// +optional
+ // +listType=atomic
PolicyTypes []PolicyType `json:"policyTypes,omitempty" protobuf:"bytes,4,rep,name=policyTypes,casttype=PolicyType"`
}
@@ -109,6 +112,7 @@ type NetworkPolicyIngressRule struct {
// If this field is present and contains at least one item, then this rule allows
// traffic only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`
// from is a list of sources which should be able to access the pods selected for this rule.
@@ -117,6 +121,7 @@ type NetworkPolicyIngressRule struct {
// source). If this field is present and contains at least one item, this rule
// allows traffic only if the traffic matches at least one item in the from list.
// +optional
+ // +listType=atomic
From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"`
}
@@ -130,6 +135,7 @@ type NetworkPolicyEgressRule struct {
// If this field is present and contains at least one item, then this rule allows
// traffic only if the traffic matches at least one port in the list.
// +optional
+ // +listType=atomic
Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`
// to is a list of destinations for outgoing traffic of pods selected for this rule.
@@ -138,6 +144,7 @@ type NetworkPolicyEgressRule struct {
// destination). If this field is present and contains at least one item, this rule
// allows traffic only if the traffic matches at least one item in the to list.
// +optional
+ // +listType=atomic
To []NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,2,rep,name=to"`
}
@@ -175,6 +182,7 @@ type IPBlock struct {
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
// Except values will be rejected if they are outside the cidr range
// +optional
+ // +listType=atomic
Except []string `json:"except,omitempty" protobuf:"bytes,2,rep,name=except"`
}
@@ -329,6 +337,7 @@ type IngressStatus struct {
type IngressLoadBalancerStatus struct {
// ingress is a list containing ingress points for the load-balancer.
// +optional
+ // +listType=atomic
Ingress []IngressLoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go
index 949ea513fe..0d42034837 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/networking/v1alpha1/generated.proto
+// source: k8s.io/api/networking/v1alpha1/generated.proto
package v1alpha1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *IPAddress) Reset() { *m = IPAddress{} }
func (*IPAddress) ProtoMessage() {}
func (*IPAddress) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{0}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{0}
}
func (m *IPAddress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_IPAddress proto.InternalMessageInfo
func (m *IPAddressList) Reset() { *m = IPAddressList{} }
func (*IPAddressList) ProtoMessage() {}
func (*IPAddressList) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{1}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{1}
}
func (m *IPAddressList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_IPAddressList proto.InternalMessageInfo
func (m *IPAddressSpec) Reset() { *m = IPAddressSpec{} }
func (*IPAddressSpec) ProtoMessage() {}
func (*IPAddressSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{2}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{2}
}
func (m *IPAddressSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_IPAddressSpec proto.InternalMessageInfo
func (m *ParentReference) Reset() { *m = ParentReference{} }
func (*ParentReference) ProtoMessage() {}
func (*ParentReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{3}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{3}
}
func (m *ParentReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_ParentReference proto.InternalMessageInfo
func (m *ServiceCIDR) Reset() { *m = ServiceCIDR{} }
func (*ServiceCIDR) ProtoMessage() {}
func (*ServiceCIDR) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{4}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{4}
}
func (m *ServiceCIDR) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_ServiceCIDR proto.InternalMessageInfo
func (m *ServiceCIDRList) Reset() { *m = ServiceCIDRList{} }
func (*ServiceCIDRList) ProtoMessage() {}
func (*ServiceCIDRList) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{5}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{5}
}
func (m *ServiceCIDRList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_ServiceCIDRList proto.InternalMessageInfo
func (m *ServiceCIDRSpec) Reset() { *m = ServiceCIDRSpec{} }
func (*ServiceCIDRSpec) ProtoMessage() {}
func (*ServiceCIDRSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{6}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{6}
}
func (m *ServiceCIDRSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -243,7 +243,7 @@ var xxx_messageInfo_ServiceCIDRSpec proto.InternalMessageInfo
func (m *ServiceCIDRStatus) Reset() { *m = ServiceCIDRStatus{} }
func (*ServiceCIDRStatus) ProtoMessage() {}
func (*ServiceCIDRStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_c1b7ac8d7d97acec, []int{7}
+ return fileDescriptor_c1cb39e7b48ce50d, []int{7}
}
func (m *ServiceCIDRStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -280,52 +280,51 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/networking/v1alpha1/generated.proto", fileDescriptor_c1b7ac8d7d97acec)
+ proto.RegisterFile("k8s.io/api/networking/v1alpha1/generated.proto", fileDescriptor_c1cb39e7b48ce50d)
}
-var fileDescriptor_c1b7ac8d7d97acec = []byte{
- // 648 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x6e, 0xd3, 0x4c,
- 0x14, 0x8d, 0xdb, 0xa4, 0xaa, 0x27, 0x5f, 0xbf, 0x52, 0xaf, 0xa2, 0x2e, 0x9c, 0x28, 0x6c, 0x8a,
- 0xa0, 0x33, 0x24, 0x42, 0x88, 0x2d, 0x6e, 0xa5, 0xaa, 0x12, 0xb4, 0x65, 0xba, 0x02, 0x75, 0xc1,
- 0xc4, 0xbe, 0x75, 0x4c, 0xf0, 0x8f, 0x66, 0xc6, 0x01, 0x76, 0x3c, 0x02, 0x2f, 0xc0, 0x73, 0xb0,
- 0x02, 0x89, 0x5d, 0x97, 0x5d, 0x76, 0x55, 0x51, 0xf3, 0x22, 0x68, 0xc6, 0x8e, 0x9d, 0x34, 0xea,
- 0xdf, 0xa6, 0x3b, 0xcf, 0xb9, 0xe7, 0x9c, 0xb9, 0xe7, 0xce, 0x8c, 0x8c, 0x76, 0x46, 0x2f, 0x04,
- 0x0e, 0x62, 0x32, 0x4a, 0x07, 0xc0, 0x23, 0x90, 0x20, 0xc8, 0x18, 0x22, 0x2f, 0xe6, 0xa4, 0x28,
- 0xb0, 0x24, 0x20, 0x11, 0xc8, 0x4f, 0x31, 0x1f, 0x05, 0x91, 0x4f, 0xc6, 0x3d, 0xf6, 0x31, 0x19,
- 0xb2, 0x1e, 0xf1, 0x21, 0x02, 0xce, 0x24, 0x78, 0x38, 0xe1, 0xb1, 0x8c, 0x2d, 0x3b, 0xe7, 0x63,
- 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 0xdd, 0xc5, 0x54, 0x0b,
- 0x9d, 0xff, 0x0b, 0xdb, 0xa5, 0x7c, 0x4d, 0x0b, 0xc3, 0xee, 0x6f, 0x03, 0xad, 0x4e, 0xb1, 0xef,
- 0xe1, 0x29, 0x1c, 0xcc, 0x3e, 0x85, 0xc7, 0x77, 0xc8, 0x72, 0xc5, 0x63, 0xe8, 0xcf, 0x44, 0xd0,
- 0xcf, 0xa1, 0x8d, 0x1a, 0x6e, 0xe0, 0x71, 0xd1, 0x32, 0x3a, 0x8b, 0x1b, 0xa6, 0x63, 0x2a, 0x8d,
- 0x2a, 0x0a, 0x9a, 0xe3, 0xdd, 0xcf, 0x68, 0x6d, 0x6e, 0x48, 0x96, 0x8b, 0x90, 0x1b, 0x47, 0x5e,
- 0x20, 0x83, 0x38, 0xca, 0xa5, 0xb3, 0x07, 0x78, 0x4d, 0xf4, 0xad, 0x89, 0xae, 0xba, 0x1d, 0x25,
- 0x24, 0xe8, 0x94, 0xad, 0xb3, 0x7d, 0x72, 0x61, 0xd7, 0x4e, 0x2f, 0xec, 0xda, 0xd9, 0x85, 0x5d,
- 0xfb, 0x9a, 0xd9, 0xc6, 0x49, 0x66, 0x1b, 0xa7, 0x99, 0x6d, 0x9c, 0x65, 0xb6, 0xf1, 0x27, 0xb3,
- 0x8d, 0x6f, 0x7f, 0xed, 0xda, 0x3b, 0xfb, 0xfa, 0xff, 0xcf, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff,
- 0x29, 0x82, 0x11, 0x57, 0xb9, 0x06, 0x00, 0x00,
+var fileDescriptor_c1cb39e7b48ce50d = []byte{
+ // 634 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x55, 0xcd, 0x6e, 0xd3, 0x4a,
+ 0x18, 0x8d, 0xdb, 0xa4, 0xaa, 0x27, 0xb7, 0xb7, 0xb7, 0x5e, 0x45, 0x5d, 0x38, 0x91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, 0x8a, 0x27, 0x71, 0x2e, 0x9d, 0x3d, 0xc0, 0x6b, 0xa2, 0x6f, 0x4d, 0x74, 0xd5,
+ 0xed, 0x28, 0x21, 0x49, 0xa6, 0x6c, 0x83, 0xed, 0x93, 0x0b, 0xb7, 0x76, 0x7a, 0xe1, 0xd6, 0xce,
+ 0x2e, 0xdc, 0xda, 0x97, 0xcc, 0xb5, 0x4e, 0x32, 0xd7, 0x3a, 0xcd, 0x5c, 0xeb, 0x2c, 0x73, 0xad,
+ 0xdf, 0x99, 0x6b, 0x7d, 0xfd, 0xe3, 0xd6, 0xde, 0xba, 0xd7, 0xff, 0x7f, 0xfe, 0x06, 0x00, 0x00,
+ 0xff, 0xff, 0xb1, 0xd0, 0x33, 0x02, 0xa0, 0x06, 0x00, 0x00,
}
func (m *IPAddress) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.proto
index fb7971745d..8914fffcf8 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/generated.proto
@@ -121,6 +121,7 @@ message ServiceCIDRSpec {
// from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family.
// This field is immutable.
// +optional
+ // +listType=atomic
repeated string cidrs = 1;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/types.go
index 9d56ca193e..bcdc33b459 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1alpha1/types.go
@@ -111,6 +111,7 @@ type ServiceCIDRSpec struct {
// from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family.
// This field is immutable.
// +optional
+ // +listType=atomic
CIDRs []string `json:"cidrs,omitempty" protobuf:"bytes,1,opt,name=cidrs"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.pb.go
index 6f298cd781..13d4f53855 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/networking/v1beta1/generated.proto
+// source: k8s.io/api/networking/v1beta1/generated.proto
package v1beta1
@@ -48,7 +48,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *HTTPIngressPath) Reset() { *m = HTTPIngressPath{} }
func (*HTTPIngressPath) ProtoMessage() {}
func (*HTTPIngressPath) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{0}
+ return fileDescriptor_9497719c79c89d2d, []int{0}
}
func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -76,7 +76,7 @@ var xxx_messageInfo_HTTPIngressPath proto.InternalMessageInfo
func (m *HTTPIngressRuleValue) Reset() { *m = HTTPIngressRuleValue{} }
func (*HTTPIngressRuleValue) ProtoMessage() {}
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{1}
+ return fileDescriptor_9497719c79c89d2d, []int{1}
}
func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -104,7 +104,7 @@ var xxx_messageInfo_HTTPIngressRuleValue proto.InternalMessageInfo
func (m *Ingress) Reset() { *m = Ingress{} }
func (*Ingress) ProtoMessage() {}
func (*Ingress) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{2}
+ return fileDescriptor_9497719c79c89d2d, []int{2}
}
func (m *Ingress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -132,7 +132,7 @@ var xxx_messageInfo_Ingress proto.InternalMessageInfo
func (m *IngressBackend) Reset() { *m = IngressBackend{} }
func (*IngressBackend) ProtoMessage() {}
func (*IngressBackend) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{3}
+ return fileDescriptor_9497719c79c89d2d, []int{3}
}
func (m *IngressBackend) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -160,7 +160,7 @@ var xxx_messageInfo_IngressBackend proto.InternalMessageInfo
func (m *IngressClass) Reset() { *m = IngressClass{} }
func (*IngressClass) ProtoMessage() {}
func (*IngressClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{4}
+ return fileDescriptor_9497719c79c89d2d, []int{4}
}
func (m *IngressClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -188,7 +188,7 @@ var xxx_messageInfo_IngressClass proto.InternalMessageInfo
func (m *IngressClassList) Reset() { *m = IngressClassList{} }
func (*IngressClassList) ProtoMessage() {}
func (*IngressClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{5}
+ return fileDescriptor_9497719c79c89d2d, []int{5}
}
func (m *IngressClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -216,7 +216,7 @@ var xxx_messageInfo_IngressClassList proto.InternalMessageInfo
func (m *IngressClassParametersReference) Reset() { *m = IngressClassParametersReference{} }
func (*IngressClassParametersReference) ProtoMessage() {}
func (*IngressClassParametersReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{6}
+ return fileDescriptor_9497719c79c89d2d, []int{6}
}
func (m *IngressClassParametersReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -244,7 +244,7 @@ var xxx_messageInfo_IngressClassParametersReference proto.InternalMessageInfo
func (m *IngressClassSpec) Reset() { *m = IngressClassSpec{} }
func (*IngressClassSpec) ProtoMessage() {}
func (*IngressClassSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{7}
+ return fileDescriptor_9497719c79c89d2d, []int{7}
}
func (m *IngressClassSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -272,7 +272,7 @@ var xxx_messageInfo_IngressClassSpec proto.InternalMessageInfo
func (m *IngressList) Reset() { *m = IngressList{} }
func (*IngressList) ProtoMessage() {}
func (*IngressList) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{8}
+ return fileDescriptor_9497719c79c89d2d, []int{8}
}
func (m *IngressList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -300,7 +300,7 @@ var xxx_messageInfo_IngressList proto.InternalMessageInfo
func (m *IngressLoadBalancerIngress) Reset() { *m = IngressLoadBalancerIngress{} }
func (*IngressLoadBalancerIngress) ProtoMessage() {}
func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{9}
+ return fileDescriptor_9497719c79c89d2d, []int{9}
}
func (m *IngressLoadBalancerIngress) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -328,7 +328,7 @@ var xxx_messageInfo_IngressLoadBalancerIngress proto.InternalMessageInfo
func (m *IngressLoadBalancerStatus) Reset() { *m = IngressLoadBalancerStatus{} }
func (*IngressLoadBalancerStatus) ProtoMessage() {}
func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{10}
+ return fileDescriptor_9497719c79c89d2d, []int{10}
}
func (m *IngressLoadBalancerStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -356,7 +356,7 @@ var xxx_messageInfo_IngressLoadBalancerStatus proto.InternalMessageInfo
func (m *IngressPortStatus) Reset() { *m = IngressPortStatus{} }
func (*IngressPortStatus) ProtoMessage() {}
func (*IngressPortStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{11}
+ return fileDescriptor_9497719c79c89d2d, []int{11}
}
func (m *IngressPortStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -384,7 +384,7 @@ var xxx_messageInfo_IngressPortStatus proto.InternalMessageInfo
func (m *IngressRule) Reset() { *m = IngressRule{} }
func (*IngressRule) ProtoMessage() {}
func (*IngressRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{12}
+ return fileDescriptor_9497719c79c89d2d, []int{12}
}
func (m *IngressRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -412,7 +412,7 @@ var xxx_messageInfo_IngressRule proto.InternalMessageInfo
func (m *IngressRuleValue) Reset() { *m = IngressRuleValue{} }
func (*IngressRuleValue) ProtoMessage() {}
func (*IngressRuleValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{13}
+ return fileDescriptor_9497719c79c89d2d, []int{13}
}
func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -440,7 +440,7 @@ var xxx_messageInfo_IngressRuleValue proto.InternalMessageInfo
func (m *IngressSpec) Reset() { *m = IngressSpec{} }
func (*IngressSpec) ProtoMessage() {}
func (*IngressSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{14}
+ return fileDescriptor_9497719c79c89d2d, []int{14}
}
func (m *IngressSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -468,7 +468,7 @@ var xxx_messageInfo_IngressSpec proto.InternalMessageInfo
func (m *IngressStatus) Reset() { *m = IngressStatus{} }
func (*IngressStatus) ProtoMessage() {}
func (*IngressStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{15}
+ return fileDescriptor_9497719c79c89d2d, []int{15}
}
func (m *IngressStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -496,7 +496,7 @@ var xxx_messageInfo_IngressStatus proto.InternalMessageInfo
func (m *IngressTLS) Reset() { *m = IngressTLS{} }
func (*IngressTLS) ProtoMessage() {}
func (*IngressTLS) Descriptor() ([]byte, []int) {
- return fileDescriptor_5bea11de0ceb8f53, []int{16}
+ return fileDescriptor_9497719c79c89d2d, []int{16}
}
func (m *IngressTLS) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -542,89 +542,89 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/networking/v1beta1/generated.proto", fileDescriptor_5bea11de0ceb8f53)
+ proto.RegisterFile("k8s.io/api/networking/v1beta1/generated.proto", fileDescriptor_9497719c79c89d2d)
}
-var fileDescriptor_5bea11de0ceb8f53 = []byte{
- // 1247 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcb, 0x6f, 0x1b, 0x45,
- 0x18, 0xcf, 0xda, 0x71, 0xe3, 0x8c, 0xd3, 0x36, 0x0c, 0x3d, 0x98, 0xa0, 0xda, 0xd1, 0x1e, 0x50,
- 0xa0, 0xed, 0x6e, 0x93, 0x16, 0x54, 0x2e, 0x08, 0x36, 0x02, 0x12, 0x25, 0x24, 0x66, 0x6c, 0x1e,
- 0x42, 0x1c, 0x18, 0xaf, 0xa7, 0xf6, 0xe2, 0xf5, 0xee, 0x6a, 0x66, 0x36, 0xa8, 0x37, 0x10, 0x27,
- 0x4e, 0xf0, 0x3f, 0x20, 0xf1, 0x27, 0x20, 0x2e, 0x48, 0x08, 0x2e, 0x39, 0xf6, 0xd8, 0x0b, 0x11,
- 0x31, 0xff, 0x45, 0x4f, 0xe8, 0x9b, 0x9d, 0x7d, 0xf8, 0x91, 0xd6, 0xe1, 0xd0, 0x53, 0xbc, 0xdf,
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9c, 0xc9, 0xa3, 0x7c, 0x71, 0x65,
- 0x0f, 0x4a, 0x3b, 0xe3, 0x90, 0x82, 0x94, 0xb3, 0x7b, 0x7a, 0xde, 0x58, 0x7a, 0x7c, 0xde, 0x58,
- 0x7a, 0x72, 0xde, 0x58, 0xfa, 0x76, 0xdc, 0x30, 0x4e, 0xc7, 0x0d, 0xe3, 0xf1, 0xb8, 0x61, 0x3c,
- 0x19, 0x37, 0x8c, 0x7f, 0xc6, 0x0d, 0xe3, 0xa7, 0x7f, 0x1b, 0x4b, 0x5f, 0xdc, 0x7c, 0xe6, 0x3f,
- 0x7c, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x08, 0x04, 0x22, 0x31, 0x29, 0x0e, 0x00, 0x00,
+var fileDescriptor_9497719c79c89d2d = []byte{
+ // 1234 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0x4d, 0x6f, 0x1b, 0xc5,
+ 0x1b, 0xcf, 0xda, 0x71, 0xe3, 0x8c, 0xd3, 0x34, 0xff, 0xf9, 0xe7, 0x60, 0x82, 0x6a, 0x47, 0x7b,
+ 0x40, 0x81, 0x36, 0xbb, 0x4d, 0x5a, 0x50, 0xb9, 0x20, 0xd8, 0x08, 0x91, 0x28, 0x21, 0x31, 0x63,
+ 0xf3, 0x22, 0xc4, 0x81, 0xc9, 0x7a, 0x6a, 0x2f, 0x5e, 0xef, 0xae, 0x66, 0x66, 0x83, 0x7a, 0x03,
+ 0x71, 0xe2, 0x04, 0xdf, 0x01, 0x89, 0x8f, 0x80, 0xb8, 0x20, 0x21, 0xb8, 0xe4, 0xd8, 0x63, 0x2f,
+ 0x44, 0xc4, 0x7c, 0x8b, 0x9e, 0xd0, 0x33, 0x3b, 0xfb, 0xe2, 0x97, 0xb4, 0x0e, 0x87, 0x9e, 0xe2,
+ 0x7d, 0x5e, 0x7e, 0xcf, 0xfb, 0x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 0x69, 0x67, 0x1c, 0x52, 0x90, 0x72, 0xf6, 0xce, 0x2f, 0x1b, 0x0b, 0x4f,
+ 0x2e, 0x1b, 0x0b, 0x4f, 0x2f, 0x1b, 0x0b, 0xdf, 0x8c, 0x1a, 0xc6, 0xf9, 0xa8, 0x61, 0x3c, 0x19,
+ 0x35, 0x8c, 0xa7, 0xa3, 0x86, 0xf1, 0xf7, 0xa8, 0x61, 0xfc, 0xf8, 0x4f, 0x63, 0xe1, 0xf3, 0xdb,
+ 0xcf, 0xfd, 0x87, 0xef, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xea, 0xf6, 0xe9, 0x27, 0x10, 0x0e,
+ 0x00, 0x00,
}
func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.proto
index 46bb7f66f2..f36df9ec19 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/generated.proto
@@ -69,6 +69,7 @@ message HTTPIngressPath {
// or '#'.
message HTTPIngressRuleValue {
// paths is a collection of paths that map requests to backends.
+ // +listType=atomic
repeated HTTPIngressPath paths = 1;
}
@@ -211,6 +212,7 @@ message IngressLoadBalancerIngress {
message IngressLoadBalancerStatus {
// ingress is a list containing ingress points for the load-balancer.
// +optional
+ // +listType=atomic
repeated IngressLoadBalancerIngress ingress = 1;
}
@@ -313,11 +315,13 @@ message IngressSpec {
// through the SNI TLS extension, if the ingress controller fulfilling the
// ingress supports SNI.
// +optional
+ // +listType=atomic
repeated IngressTLS tls = 2;
// rules is a list of host rules used to configure the Ingress. If unspecified, or
// no rule matches, all traffic is sent to the default backend.
// +optional
+ // +listType=atomic
repeated IngressRule rules = 3;
}
@@ -335,6 +339,7 @@ message IngressTLS {
// wildcard host setting for the loadbalancer controller fulfilling this
// Ingress, if left unspecified.
// +optional
+ // +listType=atomic
repeated string hosts = 1;
// secretName is the name of the secret used to terminate TLS traffic on
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/types.go
index 87cc91654b..34dfe76aa3 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/networking/v1beta1/types.go
@@ -97,11 +97,13 @@ type IngressSpec struct {
// through the SNI TLS extension, if the ingress controller fulfilling the
// ingress supports SNI.
// +optional
+ // +listType=atomic
TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"`
// rules is a list of host rules used to configure the Ingress. If unspecified, or
// no rule matches, all traffic is sent to the default backend.
// +optional
+ // +listType=atomic
Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
// TODO: Add the ability to specify load-balancer IP through claims
}
@@ -113,6 +115,7 @@ type IngressTLS struct {
// wildcard host setting for the loadbalancer controller fulfilling this
// Ingress, if left unspecified.
// +optional
+ // +listType=atomic
Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`
// secretName is the name of the secret used to terminate TLS traffic on
@@ -136,6 +139,7 @@ type IngressStatus struct {
type IngressLoadBalancerStatus struct {
// ingress is a list containing ingress points for the load-balancer.
// +optional
+ // +listType=atomic
Ingress []IngressLoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}
@@ -239,6 +243,7 @@ type IngressRuleValue struct {
// or '#'.
type HTTPIngressRuleValue struct {
// paths is a collection of paths that map requests to backends.
+ // +listType=atomic
Paths []HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"`
// TODO: Consider adding fields for ingress-type specific global
// options usable by a loadbalancer, like http keep-alive.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/node/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/node/v1/generated.pb.go
index 5355cbae7d..4c304f55f9 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/node/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/node/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/node/v1/generated.proto
+// source: k8s.io/api/node/v1/generated.proto
package v1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Overhead) Reset() { *m = Overhead{} }
func (*Overhead) ProtoMessage() {}
func (*Overhead) Descriptor() ([]byte, []int) {
- return fileDescriptor_6ac9be560e26ae98, []int{0}
+ return fileDescriptor_9007436710e7565b, []int{0}
}
func (m *Overhead) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_Overhead proto.InternalMessageInfo
func (m *RuntimeClass) Reset() { *m = RuntimeClass{} }
func (*RuntimeClass) ProtoMessage() {}
func (*RuntimeClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_6ac9be560e26ae98, []int{1}
+ return fileDescriptor_9007436710e7565b, []int{1}
}
func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_RuntimeClass proto.InternalMessageInfo
func (m *RuntimeClassList) Reset() { *m = RuntimeClassList{} }
func (*RuntimeClassList) ProtoMessage() {}
func (*RuntimeClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_6ac9be560e26ae98, []int{2}
+ return fileDescriptor_9007436710e7565b, []int{2}
}
func (m *RuntimeClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_RuntimeClassList proto.InternalMessageInfo
func (m *Scheduling) Reset() { *m = Scheduling{} }
func (*Scheduling) ProtoMessage() {}
func (*Scheduling) Descriptor() ([]byte, []int) {
- return fileDescriptor_6ac9be560e26ae98, []int{3}
+ return fileDescriptor_9007436710e7565b, []int{3}
}
func (m *Scheduling) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -170,53 +170,52 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/node/v1/generated.proto", fileDescriptor_6ac9be560e26ae98)
+ proto.RegisterFile("k8s.io/api/node/v1/generated.proto", fileDescriptor_9007436710e7565b)
}
-var fileDescriptor_6ac9be560e26ae98 = []byte{
- // 660 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x41, 0x6f, 0xd3, 0x4a,
- 0x10, 0xce, 0xa6, 0xaf, 0x6a, 0xba, 0x49, 0xdf, 0xeb, 0x5b, 0x7a, 0x88, 0x22, 0xe4, 0x44, 0x39,
- 0x15, 0xa4, 0xae, 0xdb, 0x0a, 0xa1, 0x0a, 0x0e, 0x48, 0x86, 0x56, 0x20, 0x41, 0x01, 0x17, 0x2e,
- 0x88, 0x03, 0x1b, 0x7b, 0x70, 0xdc, 0xc4, 0xde, 0x68, 0xbd, 0x8e, 0xc8, 0x0d, 0x71, 0x41, 0xe2,
- 0xd4, 0xff, 0xc2, 0x81, 0xbf, 0x50, 0x71, 0xea, 0xb1, 0xa7, 0x96, 0x86, 0x7f, 0xc1, 0x09, 0xed,
- 0xda, 0x4e, 0x5c, 0x1c, 0x42, 0xb9, 0x79, 0x67, 0xbf, 0xef, 0x9b, 0x99, 0x6f, 0x76, 0x8c, 0xef,
- 0xf6, 0x76, 0x22, 0xea, 0x73, 0xb3, 0x17, 0x77, 0x40, 0x84, 0x20, 0x21, 0x32, 0x87, 0x10, 0xba,
- 0x5c, 0x98, 0xe9, 0x05, 0x1b, 0xf8, 0x66, 0xc8, 0x5d, 0x30, 0x87, 0x5b, 0xa6, 0x07, 0x21,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17, 0x9c, 0xa3, 0x57, 0x73, 0x4e, 0xb1, 0xb5, 0x6f, 0xab,
- 0xd9, 0x63, 0xcc, 0x22, 0x39, 0xd7, 0x76, 0xf1, 0xa2, 0x2f, 0x21, 0x88, 0xea, 0x65, 0xfd, 0xc8,
- 0x5b, 0xb3, 0xaa, 0xcf, 0x97, 0x64, 0xad, 0xa4, 0x62, 0x8b, 0x8f, 0x14, 0xcd, 0x4e, 0xd8, 0xed,
- 0xa3, 0x32, 0xce, 0x35, 0x45, 0x0e, 0x71, 0x4d, 0x91, 0x0f, 0xa0, 0x0f, 0x8e, 0xe4, 0x22, 0xdd,
- 0xa0, 0xcd, 0xf9, 0xd6, 0xd0, 0xfd, 0x1c, 0x25, 0xd9, 0xa3, 0xb5, 0x34, 0x59, 0x2d, 0x7f, 0x65,
- 0x5f, 0xd2, 0x26, 0x2f, 0x71, 0x55, 0xf2, 0xbe, 0x5a, 0x65, 0x9f, 0x87, 0x59, 0x1f, 0x97, 0xa6,
- 0xa0, 0x36, 0x49, 0xa5, 0x7a, 0x31, 0x81, 0x59, 0xd7, 0x52, 0xe1, 0xea, 0x34, 0x16, 0xd9, 0x79,
- 0x9d, 0xc6, 0x3d, 0xfc, 0x7f, 0xa1, 0x9e, 0x19, 0x2b, 0xb3, 0x96, 0x5f, 0x99, 0xe5, 0xdc, 0x0a,
- 0x58, 0x3b, 0xc7, 0x17, 0x46, 0xe9, 0xe4, 0xc2, 0x28, 0x9d, 0x5e, 0x18, 0xa5, 0xf7, 0x63, 0x03,
- 0x1d, 0x8f, 0x0d, 0x74, 0x32, 0x36, 0xd0, 0xe9, 0xd8, 0x40, 0xdf, 0xc6, 0x06, 0x3a, 0xfa, 0x6e,
- 0x94, 0x5e, 0x91, 0xe2, 0x5f, 0xfd, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x46, 0x77, 0x65, 0x3b,
- 0x03, 0x06, 0x00, 0x00,
+var fileDescriptor_9007436710e7565b = []byte{
+ // 643 bytes of a g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9, 0xd6, 0xe0, 0x7d, 0x8d, 0x92, 0xee, 0xd1, 0x5a, 0x96, 0xac, 0xa1, 0x5f,
+ 0xd9, 0x53, 0xda, 0xe8, 0x15, 0xac, 0x0b, 0x3e, 0x90, 0xab, 0xcc, 0x78, 0x90, 0xf7, 0x31, 0x35,
+ 0x05, 0xb9, 0x49, 0x32, 0xd5, 0xcb, 0x02, 0x66, 0xdd, 0xc8, 0x84, 0xeb, 0x93, 0x58, 0x64, 0xeb,
+ 0x3a, 0xad, 0xfb, 0xf0, 0x7a, 0xa9, 0x9e, 0x19, 0x2b, 0xb3, 0xa6, 0xaf, 0xcc, 0xb2, 0xb6, 0x02,
+ 0xd6, 0xce, 0xc9, 0xa5, 0x51, 0x39, 0xbd, 0x34, 0x2a, 0x67, 0x97, 0x46, 0xe5, 0x43, 0x62, 0x80,
+ 0x93, 0xc4, 0x00, 0xa7, 0x89, 0x01, 0xce, 0x12, 0x03, 0x7c, 0x4f, 0x0c, 0x70, 0xfc, 0xc3, 0xa8,
+ 0xbc, 0x46, 0xe5, 0xbf, 0xfa, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd3, 0x3f, 0x9c, 0xd0, 0xea,
+ 0x05, 0x00, 0x00,
}
func (m *Overhead) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/node/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/node/v1alpha1/generated.pb.go
index 9f876d4b44..16ac696433 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/node/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/node/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/node/v1alpha1/generated.proto
+// source: k8s.io/api/node/v1alpha1/generated.proto
package v1alpha1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Overhead) Reset() { *m = Overhead{} }
func (*Overhead) ProtoMessage() {}
func (*Overhead) Descriptor() ([]byte, []int) {
- return fileDescriptor_82a78945ab308218, []int{0}
+ return fileDescriptor_a8fee97bf5273e47, []int{0}
}
func (m *Overhead) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_Overhead proto.InternalMessageInfo
func (m *RuntimeClass) Reset() { *m = RuntimeClass{} }
func (*RuntimeClass) ProtoMessage() {}
func (*RuntimeClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_82a78945ab308218, []int{1}
+ return fileDescriptor_a8fee97bf5273e47, []int{1}
}
func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_RuntimeClass proto.InternalMessageInfo
func (m *RuntimeClassList) Reset() { *m = RuntimeClassList{} }
func (*RuntimeClassList) ProtoMessage() {}
func (*RuntimeClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_82a78945ab308218, []int{2}
+ return fileDescriptor_a8fee97bf5273e47, []int{2}
}
func (m *RuntimeClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_RuntimeClassList proto.InternalMessageInfo
func (m *RuntimeClassSpec) Reset() { *m = RuntimeClassSpec{} }
func (*RuntimeClassSpec) ProtoMessage() {}
func (*RuntimeClassSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_82a78945ab308218, []int{3}
+ return fileDescriptor_a8fee97bf5273e47, []int{3}
}
func (m *RuntimeClassSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_RuntimeClassSpec proto.InternalMessageInfo
func (m *Scheduling) Reset() { *m = Scheduling{} }
func (*Scheduling) ProtoMessage() {}
func (*Scheduling) Descriptor() ([]byte, []int) {
- return fileDescriptor_82a78945ab308218, []int{4}
+ return fileDescriptor_a8fee97bf5273e47, []int{4}
}
func (m *Scheduling) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -199,55 +199,54 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/node/v1alpha1/generated.proto", fileDescriptor_82a78945ab308218)
+ proto.RegisterFile("k8s.io/api/node/v1alpha1/generated.proto", fileDescriptor_a8fee97bf5273e47)
}
-var fileDescriptor_82a78945ab308218 = []byte{
- // 699 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_a8fee97bf5273e47 = []byte{
+ // 683 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0x3d, 0x6f, 0xd3, 0x4c,
- 0x1c, 0xcf, 0xa5, 0xad, 0x94, 0x5e, 0xd2, 0xaa, 0x8f, 0x9f, 0xea, 0x51, 0x94, 0xc1, 0xa9, 0xac,
- 0x47, 0xa8, 0x42, 0xea, 0x99, 0x56, 0xa8, 0xaa, 0x18, 0x8a, 0x30, 0x2f, 0x02, 0x51, 0x5a, 0x70,
- 0xcb, 0x82, 0x18, 0xb8, 0xd8, 0x7f, 0x1c, 0x13, 0xdb, 0x67, 0xd9, 0xe7, 0x88, 0x6c, 0x88, 0x05,
- 0x89, 0x89, 0x89, 0x6f, 0x03, 0x73, 0xc7, 0x4e, 0xa8, 0x53, 0x4b, 0xc3, 0x77, 0x60, 0x60, 0x42,
- 0x67, 0x9f, 0x13, 0x27, 0x69, 0x68, 0xd8, 0x7c, 0x77, 0xbf, 0x97, 0xff, 0x6b, 0x82, 0xef, 0x74,
- 0x76, 0x62, 0xe2, 0x32, 0xbd, 0x93, 0xb4, 0x20, 0x0a, 0x80, 0x43, 0xac, 0x77, 0x21, 0xb0, 0x59,
- 0xa4, 0xcb, 0x07, 0x1a, 0xba, 0x7a, 0xc0, 0x6c, 0xd0, 0xbb,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x84, 0x07, 0x0a, 0xda, 0x21, 0x84, 0x62, 0x21, 0x9d,
+ 0xd4, 0xf7, 0x42, 0xb7, 0x3e, 0x97, 0xe9, 0x5d, 0x9f, 0xae, 0x77, 0x30, 0xc0, 0x5a, 0xcb, 0x62,
+ 0x08, 0x86, 0x67, 0xac, 0xe8, 0x18, 0x5f, 0xca, 0x50, 0x79, 0xd2, 0x22, 0x58, 0x13, 0x32, 0x07,
+ 0xd4, 0xa7, 0x36, 0x67, 0xb1, 0xdc, 0xe8, 0xad, 0x59, 0x6c, 0xd0, 0x9e, 0x42, 0xcc, 0xf7, 0x7a,
+ 0x55, 0x16, 0xaa, 0xa6, 0x3e, 0xe1, 0x11, 0x07, 0xed, 0x05, 0xac, 0x72, 0xe6, 0x8b, 0x1f, 0x18,
+ 0x8f, 0x85, 0x45, 0x33, 0x75, 0xd5, 0x50, 0x6c, 0xb6, 0x98, 0x8a, 0xc3, 0x01, 0xcc, 0xfa, 0x5f,
+ 0x0a, 0x57, 0x87, 0x77, 0x09, 0x56, 0x75, 0x1a, 0x77, 0xe1, 0x7f, 0x13, 0xf1, 0x5c, 0xb2, 0xc2,
+ 0xab, 0xea, 0x0a, 0x2f, 0x2a, 0x2b, 0x69, 0xed, 0x1c, 0x5f, 0xe8, 0xa5, 0x93, 0x0b, 0xbd, 0x74,
+ 0x7a, 0xa1, 0x97, 0xde, 0xf7, 0x75, 0x70, 0xdc, 0xd7, 0xc1, 0x49, 0x5f, 0x07, 0xa7, 0x7d, 0x1d,
+ 0xfc, 0xe8, 0xeb, 0xe0, 0xf3, 0x4f, 0xbd, 0xf4, 0xb2, 0x3e, 0xed, 0x7f, 0xe7, 0x4f, 0x00, 0x00,
+ 0x00, 0xff, 0xff, 0xa7, 0x9b, 0x7f, 0x45, 0x92, 0x06, 0x00, 0x00,
}
func (m *Overhead) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/node/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/node/v1beta1/generated.pb.go
index 8cd5a4cc35..537961c259 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/node/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/node/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/node/v1beta1/generated.proto
+// source: k8s.io/api/node/v1beta1/generated.proto
package v1beta1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Overhead) Reset() { *m = Overhead{} }
func (*Overhead) ProtoMessage() {}
func (*Overhead) Descriptor() ([]byte, []int) {
- return fileDescriptor_f977b0dddc93b4ec, []int{0}
+ return fileDescriptor_73bb62abe8438af4, []int{0}
}
func (m *Overhead) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_Overhead proto.InternalMessageInfo
func (m *RuntimeClass) Reset() { *m = RuntimeClass{} }
func (*RuntimeClass) ProtoMessage() {}
func (*RuntimeClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_f977b0dddc93b4ec, []int{1}
+ return fileDescriptor_73bb62abe8438af4, []int{1}
}
func (m *RuntimeClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_RuntimeClass proto.InternalMessageInfo
func (m *RuntimeClassList) Reset() { *m = RuntimeClassList{} }
func (*RuntimeClassList) ProtoMessage() {}
func (*RuntimeClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_f977b0dddc93b4ec, []int{2}
+ return fileDescriptor_73bb62abe8438af4, []int{2}
}
func (m *RuntimeClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_RuntimeClassList proto.InternalMessageInfo
func (m *Scheduling) Reset() { *m = Scheduling{} }
func (*Scheduling) ProtoMessage() {}
func (*Scheduling) Descriptor() ([]byte, []int) {
- return fileDescriptor_f977b0dddc93b4ec, []int{3}
+ return fileDescriptor_73bb62abe8438af4, []int{3}
}
func (m *Scheduling) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -170,53 +170,52 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/node/v1beta1/generated.proto", fileDescriptor_f977b0dddc93b4ec)
+ proto.RegisterFile("k8s.io/api/node/v1beta1/generated.proto", fileDescriptor_73bb62abe8438af4)
}
-var fileDescriptor_f977b0dddc93b4ec = []byte{
- // 668 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xbb, 0x6f, 0xd3, 0x40,
- 0x18, 0xcf, 0xa5, 0x54, 0x4d, 0x2f, 0x29, 0x14, 0x53, 0xa9, 0x51, 0x06, 0xa7, 0x04, 0x21, 0x95,
- 0xa1, 0x67, 0x5a, 0x01, 0xaa, 0x90, 0x10, 0xc8, 0x3c, 0xc4, 0xb3, 0x05, 0x17, 0x16, 0xc4, 0xc0,
- 0xc5, 0xfe, 0x70, 0x4c, 0x62, 0x5f, 0x74, 0x3e, 0x47, 0x64, 0x43, 0x2c, 0x48, 0x4c, 0x2c, 0xfc,
- 0x37, 0xb0, 0x77, 0xa3, 0x0b, 0x52, 0xa7, 0x96, 0x86, 0xff, 0x82, 0x09, 0x9d, 0x5f, 0xb9, 0x36,
- 0x4d, 0x1b, 0x36, 0xdf, 0xdd, 0xef, 0x71, 0xdf, 0xef, 0xbb, 0xcf, 0xf8, 0x4e, 0x7b, 0x3d, 0x24,
- 0x1e, 0x33, 0xda, 0x51, 0x13, 0x78, 0x00, 0x02, 0x42, 0xa3, 0x07, 0x81, 0xc3, 0xb8, 0x91, 0x1e,
- 0xd0, 0xae, 0x67, 0x04, 0xcc, 0x01, 0xa3, 0x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 0x00, 0x00, 0xff, 0xff, 0x7a, 0xca, 0xe1, 0x7d, 0x2b, 0x06, 0x00, 0x00,
+var fileDescriptor_73bb62abe8438af4 = []byte{
+ // 654 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xbb, 0x6f, 0x13, 0x31,
+ 0x18, 0x8f, 0x53, 0xaa, 0xa6, 0x4e, 0x0a, 0xc5, 0x54, 0x6a, 0x94, 0xe1, 0x52, 0x82, 0x10, 0x65,
+ 0xa8, 0x8f, 0x56, 0x80, 0x2a, 0x24, 0x84, 0x74, 0x3c, 0xc4, 0xb3, 0x85, 0x2b, 0x2c, 0x88, 0x01,
+ 0xe7, 0xce, 0x5c, 0x4c, 0x72, 0xe7, 0xe8, 0xce, 0x17, 0x91, 0x0d, 0xb1, 0x20, 0x31, 0xb1, 0xf0,
+ 0xdf, 0xc0, 0xde, 0x8d, 0x2e, 0x48, 0x9d, 0x5a, 0x1a, 0xfe, 0x0b, 0x26, 0x64, 0xdf, 0x23, 0x6e,
+ 0xd3, 0xb4, 0x61, 0x8b, 0x7d, 0xbf, 0xc7, 0xf7, 0xfd, 0x3e, 0x7f, 0x81, 0x57, 0xda, 0xeb, 0x11,
+ 0x66, 0xdc, 0x24, 0x5d, 0x66, 0x06, 0xdc, 0xa5, 0x66, 0x6f, 0xb5, 0x49, 0x05, 0x59, 0x35, 0x3d,
+ 0x1a, 0xd0, 0x90, 0x08, 0xea, 0xe2, 0x6e, 0xc8, 0x05, 0x47, 0x8b, 0x09, 0x10, 0x93, 0x2e, 0xc3,
+ 0x12, 0x88, 0x53, 0x60, 0x6d, 0xc5, 0x63, 0xa2, 0x15, 0x37, 0xb1, 0xc3, 0x7d, 0xd3, 0xe3, 0x1e,
+ 0x37, 0x15, 0xbe, 0x19, 0xbf, 0x53, 0x27, 0x75, 0x50, 0xbf, 0x12, 0x9d, 0x5a, 0x43, 0x33, 0x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0x15, 0xa7, 0x1f, 0x49, 0xae, 0x9d, 0x48, 0x34, 0xbe, 0x15, 0xa1, 0xd6, 0x19, 0xe2, 0xb0,
+ 0x22, 0x15, 0xb6, 0x68, 0x87, 0x3a, 0x82, 0x87, 0xe9, 0x56, 0xdd, 0x98, 0x20, 0x24, 0xbc, 0xa1,
+ 0xf1, 0x92, 0xdd, 0x5a, 0x48, 0x1d, 0x2b, 0xfa, 0x27, 0xfb, 0x90, 0x01, 0x7a, 0x05, 0xcb, 0x82,
+ 0x77, 0xe4, 0x8e, 0x33, 0x1e, 0x64, 0x1d, 0x19, 0xba, 0x9f, 0xdc, 0x2e, 0x19, 0xcd, 0xcb, 0x1c,
+ 0x66, 0x5d, 0x48, 0x85, 0xcb, 0xc3, 0xbb, 0xc8, 0xd6, 0x75, 0x6a, 0x77, 0xe0, 0xf9, 0x91, 0x7a,
+ 0x8e, 0x59, 0xa3, 0x05, 0x7d, 0x8d, 0x66, 0xb5, 0xb5, 0xb0, 0x6e, 0x6f, 0x1f, 0x18, 0x85, 0x9d,
+ 0x03, 0xa3, 0xb0, 0x7b, 0x60, 0x14, 0x3e, 0x0e, 0x0c, 0xb0, 0x3d, 0x30, 0xc0, 0xce, 0xc0, 0x00,
+ 0xbb, 0x03, 0x03, 0xfc, 0x1e, 0x18, 0xe0, 0xeb, 0x1f, 0xa3, 0xf0, 0x7a, 0x71, 0xcc, 0x1f, 0xff,
+ 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7c, 0x67, 0x22, 0x03, 0x12, 0x06, 0x00, 0x00,
}
func (m *Overhead) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1/generated.pb.go
index d7e467a921..dd61b7266c 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/policy/v1/generated.proto
+// source: k8s.io/api/policy/v1/generated.proto
package v1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Eviction) Reset() { *m = Eviction{} }
func (*Eviction) ProtoMessage() {}
func (*Eviction) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d50488813b2d18e, []int{0}
+ return fileDescriptor_204bc6fa48ff56f7, []int{0}
}
func (m *Eviction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_Eviction proto.InternalMessageInfo
func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} }
func (*PodDisruptionBudget) ProtoMessage() {}
func (*PodDisruptionBudget) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d50488813b2d18e, []int{1}
+ return fileDescriptor_204bc6fa48ff56f7, []int{1}
}
func (m *PodDisruptionBudget) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_PodDisruptionBudget proto.InternalMessageInfo
func (m *PodDisruptionBudgetList) Reset() { *m = PodDisruptionBudgetList{} }
func (*PodDisruptionBudgetList) ProtoMessage() {}
func (*PodDisruptionBudgetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d50488813b2d18e, []int{2}
+ return fileDescriptor_204bc6fa48ff56f7, []int{2}
}
func (m *PodDisruptionBudgetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_PodDisruptionBudgetList proto.InternalMessageInfo
func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} }
func (*PodDisruptionBudgetSpec) ProtoMessage() {}
func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d50488813b2d18e, []int{3}
+ return fileDescriptor_204bc6fa48ff56f7, []int{3}
}
func (m *PodDisruptionBudgetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_PodDisruptionBudgetSpec proto.InternalMessageInfo
func (m *PodDisruptionBudgetStatus) Reset() { *m = PodDisruptionBudgetStatus{} }
func (*PodDisruptionBudgetStatus) ProtoMessage() {}
func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_2d50488813b2d18e, []int{4}
+ return fileDescriptor_204bc6fa48ff56f7, []int{4}
}
func (m *PodDisruptionBudgetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -197,65 +197,64 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/policy/v1/generated.proto", fileDescriptor_2d50488813b2d18e)
+ proto.RegisterFile("k8s.io/api/policy/v1/generated.proto", fileDescriptor_204bc6fa48ff56f7)
}
-var fileDescriptor_2d50488813b2d18e = []byte{
- // 854 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcf, 0x8f, 0xdb, 0x44,
- 0x14, 0xc7, 0xe3, 0xcd, 0x66, 0xd9, 0x4e, 0x93, 0x68, 0x19, 0x16, 0x58, 0x72, 0x70, 0xaa, 0x9c,
- 0x16, 0xa4, 0x8e, 0xd9, 0x16, 0xa1, 0x55, 0x25, 0x50, 0xeb, 0x66, 0x05, 0x45, 0x5d, 0xb2, 0x9a,
- 0x6d, 0x85, 0x84, 0x40, 0x62, 0x62, 0xbf, 0x26, 0x43, 0x6c, 0x8f, 0xe5, 0x19, 0x87, 0xe6, 0x44,
- 0xff, 0x04, 0xfe, 0x05, 0xfe, 0x14, 0x4e, 0xec, 0xb1, 0xdc, 0x2a, 0x0e, 0x11, 0x6b, 0xfe, 0x0b,
- 0x4e, 0xc8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 0x17, 0x97, 0x66, 0xe5, 0xe5, 0xa5, 0x59, 0x79, 0x75, 0x69, 0x56, 0x5e, 0x24, 0xa6,
- 0x71, 0x91, 0x98, 0xc6, 0xcb, 0xc4, 0x34, 0x5e, 0x25, 0xa6, 0xf1, 0x57, 0x62, 0x1a, 0xbf, 0xfc,
- 0x6d, 0x56, 0xbe, 0xdd, 0x2f, 0xfb, 0x1f, 0xf3, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x79, 0xd7,
- 0x99, 0xdb, 0xf7, 0x08, 0x00, 0x00,
+var fileDescriptor_204bc6fa48ff56f7 = []byte{
+ // 840 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0x4d, 0x8f, 0xdb, 0x44,
+ 0x18, 0xc7, 0xe3, 0xcd, 0x66, 0xd9, 0x4e, 0x93, 0x68, 0x19, 0x16, 0x58, 0x72, 0x70, 0xaa, 0x88,
+ 0xc3, 0x82, 0xd4, 0x31, 0xdb, 0x22, 0xb4, 0xea, 0x01, 0xb5, 0x6e, 0x56, 0x50, 0xd4, 0x25, 0xab,
+ 0xd9, 0x56, 0x48, 0x08, 0x24, 0x26, 0xf6, 0xd3, 0x64, 0x58, 0xdb, 0x63, 0x79, 0xc6, 0xa1, 0x39,
+ 0xd1, 0x8f, 0xc0, 0x57, 0xe0, 0xa3, 0x70, 0x62, 0x8f, 0xe5, 0x56, 0x71, 0x88, 0x58, 0xf3, 0x2d,
+ 0x38, 0x21, 0x8f, 0x9d, 0x17, 0x27, 0x0e, 0xcd, 0x72, 0xe8, 0xcd, 0xf3, 0xcc, 0xf3, 0xff, 0x3d,
+ 0xf3, 0xbc, 0xcc, 0x24, 0xe8, 0xc3, 0x8b, 0x63, 0x49, 0xb8, 0xb0, 0x58, 0xc8, 0xad, 0x50, 0x78,
+ 0xdc, 0x19, 0x5b, 0xa3, 0x23, 0x6b, 0x00, 0x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xff, 0xff,
+ 0x0f, 0x42, 0xd2, 0x33, 0xde, 0x08, 0x00, 0x00,
}
func (m *Eviction) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1beta1/generated.pb.go
index efba41b3fd..c3845e994e 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/policy/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto
+// source: k8s.io/api/policy/v1beta1/generated.proto
package v1beta1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Eviction) Reset() { *m = Eviction{} }
func (*Eviction) ProtoMessage() {}
func (*Eviction) Descriptor() ([]byte, []int) {
- return fileDescriptor_014060e454a820dc, []int{0}
+ return fileDescriptor_68b366237812cc96, []int{0}
}
func (m *Eviction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_Eviction proto.InternalMessageInfo
func (m *PodDisruptionBudget) Reset() { *m = PodDisruptionBudget{} }
func (*PodDisruptionBudget) ProtoMessage() {}
func (*PodDisruptionBudget) Descriptor() ([]byte, []int) {
- return fileDescriptor_014060e454a820dc, []int{1}
+ return fileDescriptor_68b366237812cc96, []int{1}
}
func (m *PodDisruptionBudget) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_PodDisruptionBudget proto.InternalMessageInfo
func (m *PodDisruptionBudgetList) Reset() { *m = PodDisruptionBudgetList{} }
func (*PodDisruptionBudgetList) ProtoMessage() {}
func (*PodDisruptionBudgetList) Descriptor() ([]byte, []int) {
- return fileDescriptor_014060e454a820dc, []int{2}
+ return fileDescriptor_68b366237812cc96, []int{2}
}
func (m *PodDisruptionBudgetList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_PodDisruptionBudgetList proto.InternalMessageInfo
func (m *PodDisruptionBudgetSpec) Reset() { *m = PodDisruptionBudgetSpec{} }
func (*PodDisruptionBudgetSpec) ProtoMessage() {}
func (*PodDisruptionBudgetSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_014060e454a820dc, []int{3}
+ return fileDescriptor_68b366237812cc96, []int{3}
}
func (m *PodDisruptionBudgetSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_PodDisruptionBudgetSpec proto.InternalMessageInfo
func (m *PodDisruptionBudgetStatus) Reset() { *m = PodDisruptionBudgetStatus{} }
func (*PodDisruptionBudgetStatus) ProtoMessage() {}
func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_014060e454a820dc, []int{4}
+ return fileDescriptor_68b366237812cc96, []int{4}
}
func (m *PodDisruptionBudgetStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -197,65 +197,64 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/policy/v1beta1/generated.proto", fileDescriptor_014060e454a820dc)
+ proto.RegisterFile("k8s.io/api/policy/v1beta1/generated.proto", fileDescriptor_68b366237812cc96)
}
-var fileDescriptor_014060e454a820dc = []byte{
- // 857 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0xcd, 0x6e, 0xdb, 0x46,
- 0x10, 0xc7, 0x45, 0xcb, 0x72, 0x9d, 0xad, 0x24, 0xb8, 0xdb, 0x2f, 0x5b, 0x07, 0x2a, 0xd0, 0x29,
- 0x28, 0xd0, 0x65, 0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xa6, 0xba, 0xf9, 0x07, 0x7b, 0x66, 0x92, 0x74, 0x01, 0xdb, 0xf2, 0x10, 0x5e,
- 0x1d, 0x13, 0x3e, 0x40, 0xd5, 0x11, 0x8c, 0xf5, 0x12, 0xdd, 0xa0, 0xd9, 0x23, 0xbe, 0x87, 0x6a,
- 0x09, 0xf3, 0x62, 0x28, 0x2e, 0xf4, 0x67, 0xdb, 0xbd, 0xc7, 0x25, 0xf7, 0x81, 0xe6, 0xc2, 0xaf,
- 0x76, 0x4e, 0x0c, 0xfb, 0x9b, 0xab, 0x6b, 0xb3, 0xf2, 0xf2, 0xda, 0xac, 0xbc, 0xba, 0x36, 0x2b,
- 0x2f, 0x52, 0xd3, 0xb8, 0x4a, 0x4d, 0xe3, 0x65, 0x6a, 0x1a, 0xaf, 0x52, 0xd3, 0xf8, 0x3b, 0x35,
- 0x8d, 0x5f, 0xff, 0x31, 0x2b, 0xdf, 0x1f, 0x6d, 0xfc, 0x9b, 0xf3, 0x5f, 0x00, 0x00, 0x00, 0xff,
- 0xff, 0x96, 0x9a, 0x3a, 0xb5, 0x1b, 0x09, 0x00, 0x00,
+var fileDescriptor_68b366237812cc96 = []byte{
+ // 843 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x96, 0x4d, 0x8f, 0xdb, 0x44,
+ 0x18, 0xc7, 0xe3, 0xcd, 0x66, 0xd9, 0x0e, 0x49, 0xb4, 0x0c, 0x6f, 0xbb, 0x39, 0x38, 0x55, 0x4e,
+ 0x05, 0x89, 0x31, 0xdb, 0x56, 0x68, 0xc5, 0x01, 0x5a, 0x37, 0xab, 0x52, 0xd4, 0xd5, 0xae, 0x26,
+ 0xdb, 0x0b, 0x2a, 0x12, 0x13, 0xfb, 0xa9, 0x33, 0xc4, 0xf6, 0x58, 0x9e, 0x71, 0x68, 0x6e, 0x3d,
+ 0xf0, 0x01, 0xf8, 0x1e, 0x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 0x79, 0x00, 0x34,
+ 0x17, 0x7e, 0xb9, 0x73, 0x62, 0xd8, 0x5f, 0x5f, 0x5d, 0x9b, 0x95, 0x97, 0xd7, 0x66, 0xe5, 0xd5,
+ 0xb5, 0x59, 0x79, 0x91, 0x9a, 0xc6, 0x55, 0x6a, 0x1a, 0x2f, 0x53, 0xd3, 0x78, 0x95, 0x9a, 0xc6,
+ 0x5f, 0xa9, 0x69, 0xfc, 0xf2, 0xb7, 0x59, 0xf9, 0xee, 0x68, 0xe3, 0xdf, 0x9c, 0x7f, 0x03, 0x00,
+ 0x00, 0xff, 0xff, 0x3c, 0xbe, 0x15, 0xfb, 0x02, 0x09, 0x00, 0x00,
}
func (m *Eviction) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.pb.go
index 4e466eb285..112d18fb06 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto
+// source: k8s.io/api/rbac/v1/generated.proto
package v1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AggregationRule) Reset() { *m = AggregationRule{} }
func (*AggregationRule) ProtoMessage() {}
func (*AggregationRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{0}
+ return fileDescriptor_c8ba2e7dd472de66, []int{0}
}
func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_AggregationRule proto.InternalMessageInfo
func (m *ClusterRole) Reset() { *m = ClusterRole{} }
func (*ClusterRole) ProtoMessage() {}
func (*ClusterRole) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{1}
+ return fileDescriptor_c8ba2e7dd472de66, []int{1}
}
func (m *ClusterRole) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_ClusterRole proto.InternalMessageInfo
func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} }
func (*ClusterRoleBinding) ProtoMessage() {}
func (*ClusterRoleBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{2}
+ return fileDescriptor_c8ba2e7dd472de66, []int{2}
}
func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_ClusterRoleBinding proto.InternalMessageInfo
func (m *ClusterRoleBindingList) Reset() { *m = ClusterRoleBindingList{} }
func (*ClusterRoleBindingList) ProtoMessage() {}
func (*ClusterRoleBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{3}
+ return fileDescriptor_c8ba2e7dd472de66, []int{3}
}
func (m *ClusterRoleBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_ClusterRoleBindingList proto.InternalMessageInfo
func (m *ClusterRoleList) Reset() { *m = ClusterRoleList{} }
func (*ClusterRoleList) ProtoMessage() {}
func (*ClusterRoleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{4}
+ return fileDescriptor_c8ba2e7dd472de66, []int{4}
}
func (m *ClusterRoleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_ClusterRoleList proto.InternalMessageInfo
func (m *PolicyRule) Reset() { *m = PolicyRule{} }
func (*PolicyRule) ProtoMessage() {}
func (*PolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{5}
+ return fileDescriptor_c8ba2e7dd472de66, []int{5}
}
func (m *PolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_PolicyRule proto.InternalMessageInfo
func (m *Role) Reset() { *m = Role{} }
func (*Role) ProtoMessage() {}
func (*Role) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{6}
+ return fileDescriptor_c8ba2e7dd472de66, []int{6}
}
func (m *Role) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -243,7 +243,7 @@ var xxx_messageInfo_Role proto.InternalMessageInfo
func (m *RoleBinding) Reset() { *m = RoleBinding{} }
func (*RoleBinding) ProtoMessage() {}
func (*RoleBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{7}
+ return fileDescriptor_c8ba2e7dd472de66, []int{7}
}
func (m *RoleBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -271,7 +271,7 @@ var xxx_messageInfo_RoleBinding proto.InternalMessageInfo
func (m *RoleBindingList) Reset() { *m = RoleBindingList{} }
func (*RoleBindingList) ProtoMessage() {}
func (*RoleBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{8}
+ return fileDescriptor_c8ba2e7dd472de66, []int{8}
}
func (m *RoleBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -299,7 +299,7 @@ var xxx_messageInfo_RoleBindingList proto.InternalMessageInfo
func (m *RoleList) Reset() { *m = RoleList{} }
func (*RoleList) ProtoMessage() {}
func (*RoleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{9}
+ return fileDescriptor_c8ba2e7dd472de66, []int{9}
}
func (m *RoleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -327,7 +327,7 @@ var xxx_messageInfo_RoleList proto.InternalMessageInfo
func (m *RoleRef) Reset() { *m = RoleRef{} }
func (*RoleRef) ProtoMessage() {}
func (*RoleRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{10}
+ return fileDescriptor_c8ba2e7dd472de66, []int{10}
}
func (m *RoleRef) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -355,7 +355,7 @@ var xxx_messageInfo_RoleRef proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_979ffd7b30c07419, []int{11}
+ return fileDescriptor_c8ba2e7dd472de66, []int{11}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -396,62 +396,61 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1/generated.proto", fileDescriptor_979ffd7b30c07419)
+ proto.RegisterFile("k8s.io/api/rbac/v1/generated.proto", fileDescriptor_c8ba2e7dd472de66)
}
-var fileDescriptor_979ffd7b30c07419 = []byte{
- // 809 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0xcf, 0x6b, 0xe3, 0x46,
- 0x14, 0xf6, 0x38, 0x36, 0xb1, 0xc6, 0x35, 0x6e, 0xa6, 0xa1, 0x88, 0xb4, 0xc8, 0x41, 0x85, 0x12,
- 0x68, 0x2b, 0x35, 0x69, 0x69, 0x03, 0x25, 0x87, 0x28, 0xa5, 0x25, 0x24, 0x4d, 0xc3, 0x84, 0xf6,
- 0x50, 0x7a, 0xe8, 0x48, 0x9e, 0x28, 0x53, 0xeb, 0x17, 0x33, 0x92, 0x21, 0xf4, 0x52, 0x0a, 0x3d,
- 0xec, 0x6d, 0x8f, 0xbb, 0x7f, 0xc1, 0x5e, 0x76, 0x8f, 0xfb, 0x17, 0xec, 0x25, 0xc7, 0x1c, 0x73,
- 0x32, 0x1b, 0xed, 0x1f, 0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29, 0xdf, 0x0a, 0x00, 0x00,
+var fileDescriptor_c8ba2e7dd472de66 = []byte{
+ // 790 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe4, 0x56, 0x4d, 0x6f, 0xd3, 0x4a,
+ 0x14, 0xcd, 0xa4, 0x89, 0x1a, 0x4f, 0x5e, 0x94, 0xd7, 0x79, 0xd5, 0x93, 0xd5, 0xf7, 0xe4, 0x54,
+ 0x46, 0x42, 0x95, 0x00, 0x9b, 0x16, 0x04, 0xdd, 0x74, 0x51, 0x17, 0x81, 0xaa, 0x96, 0x52, 0x4d,
+ 0x05, 0x0b, 0xc4, 0x82, 0x89, 0x33, 0x75, 0x87, 0xf8, 0x4b, 0x1e, 0x3b, 0x52, 0xc5, 0x06, 0x21,
+ 0xb1, 0x60, 0xc7, 0x12, 0x7e, 0x01, 0x1b, 0x58, 0xf2, 0x0b, 0xd8, 0x74, 0xd9, 0x65, 0x57, 0x11,
+ 0x35, 0x3f, 0x04, 0xe4, 0xaf, 0x38, 0x1f, 0x2e, 0xcd, 0x2a, 0x12, 0x62, 0x95, 0xcc, 0xbd, 0xe7,
+ 0x9e, 0x7b, 0xe6, 0xd8, 0xf7, 0x26, 0x50, 0xee, 0xae, 0x73, 0x85, 0x39, 0x2a, 0x71, 0x99, 0xea,
+ 0xb5, 0x89, 0xae, 0xf6, 0x56, 0x55, 0x83, 0xda, 0xd4, 0x23, 0x3e, 0xed, 0x28, 0xae, 0xe7, 0xf8,
+ 0x0e, 0x42, 0x09, 0x46, 0x21, 0x2e, 0x53, 0x22, 0x8c, 0xd2, 0x5b, 0x5d, 0xba, 0x61, 0x30, 0xff,
+ 0x28, 0x68, 0x2b, 0xba, 0x63, 0xa9, 0x86, 0x63, 0x38, 0x6a, 0x0c, 0x6d, 0x07, 0x87, 0xf1, 0x29,
+ 0x3e, 0xc4, 0xdf, 0x12, 0x8a, 0xa5, 0xdb, 0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f9,
+ 0xf4, 0xed, 0x19, 0xf0, 0x81, 0x0b, 0xf9, 0x86, 0xf5, 0x95, 0xa7, 0xd1, 0xf7, 0xeb, 0xee, 0x48,
+ 0x85, 0x42, 0xf4, 0xc9, 0x5d, 0xa2, 0x53, 0xb1, 0x12, 0xc3, 0x16, 0x52, 0x98, 0xb0, 0x97, 0x25,
+ 0x70, 0x8e, 0xd1, 0xd6, 0x4f, 0xce, 0xa5, 0xd2, 0xe9, 0xb9, 0x54, 0x3a, 0x3b, 0x97, 0x4a, 0xaf,
+ 0x42, 0x09, 0x9c, 0x84, 0x12, 0x38, 0x0d, 0x25, 0x70, 0x16, 0x4a, 0xe0, 0x5b, 0x28, 0x81, 0x77,
+ 0xdf, 0xa5, 0xd2, 0x53, 0x34, 0xf9, 0x8f, 0xf5, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x67, 0xff,
+ 0x5a, 0x4f, 0xc6, 0x0a, 0x00, 0x00,
}
func (m *AggregationRule) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.proto
index 13ff60ea71..62f5e558ba 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/generated.proto
@@ -33,6 +33,7 @@ message AggregationRule {
// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
// If any of the selectors match, then the ClusterRole's permissions will be added
// +optional
+ // +listType=atomic
repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
}
@@ -44,6 +45,7 @@ message ClusterRole {
// Rules holds all the PolicyRules for this ClusterRole
// +optional
+ // +listType=atomic
repeated PolicyRule rules = 2;
// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
@@ -62,6 +64,7 @@ message ClusterRoleBinding {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
repeated Subject subjects = 2;
// RoleRef can only reference a ClusterRole in the global namespace.
@@ -94,25 +97,30 @@ message ClusterRoleList {
// about who the rule applies to or which namespace the rule applies to.
message PolicyRule {
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
+ // +listType=atomic
repeated string verbs = 1;
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
// +optional
+ // +listType=atomic
repeated string apiGroups = 2;
// Resources is a list of resources this rule applies to. '*' represents all resources.
// +optional
+ // +listType=atomic
repeated string resources = 3;
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
// +optional
+ // +listType=atomic
repeated string resourceNames = 4;
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
// +optional
+ // +listType=atomic
repeated string nonResourceURLs = 5;
}
@@ -124,6 +132,7 @@ message Role {
// Rules holds all the PolicyRules for this Role
// +optional
+ // +listType=atomic
repeated PolicyRule rules = 2;
}
@@ -137,6 +146,7 @@ message RoleBinding {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
repeated Subject subjects = 2;
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/types.go
index ce845d69b4..8bef1ac462 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1/types.go
@@ -48,23 +48,28 @@ const (
// about who the rule applies to or which namespace the rule applies to.
type PolicyRule struct {
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
// +optional
+ // +listType=atomic
APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,2,rep,name=apiGroups"`
// Resources is a list of resources this rule applies to. '*' represents all resources.
// +optional
+ // +listType=atomic
Resources []string `json:"resources,omitempty" protobuf:"bytes,3,rep,name=resources"`
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
// +optional
+ // +listType=atomic
ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,4,rep,name=resourceNames"`
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
// +optional
+ // +listType=atomic
NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,5,rep,name=nonResourceURLs"`
}
@@ -111,6 +116,7 @@ type Role struct {
// Rules holds all the PolicyRules for this Role
// +optional
+ // +listType=atomic
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}
@@ -128,6 +134,7 @@ type RoleBinding struct {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
@@ -175,6 +182,7 @@ type ClusterRole struct {
// Rules holds all the PolicyRules for this ClusterRole
// +optional
+ // +listType=atomic
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
@@ -189,6 +197,7 @@ type AggregationRule struct {
// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
// If any of the selectors match, then the ClusterRole's permissions will be added
// +optional
+ // +listType=atomic
ClusterRoleSelectors []metav1.LabelSelector `json:"clusterRoleSelectors,omitempty" protobuf:"bytes,1,rep,name=clusterRoleSelectors"`
}
@@ -206,6 +215,7 @@ type ClusterRoleBinding struct {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can only reference a ClusterRole in the global namespace.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go
index 5cce23ea12..ee3c7bfcc0 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1alpha1/generated.proto
+// source: k8s.io/api/rbac/v1alpha1/generated.proto
package v1alpha1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AggregationRule) Reset() { *m = AggregationRule{} }
func (*AggregationRule) ProtoMessage() {}
func (*AggregationRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{0}
+ return fileDescriptor_758889dfd9a88fa6, []int{0}
}
func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_AggregationRule proto.InternalMessageInfo
func (m *ClusterRole) Reset() { *m = ClusterRole{} }
func (*ClusterRole) ProtoMessage() {}
func (*ClusterRole) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{1}
+ return fileDescriptor_758889dfd9a88fa6, []int{1}
}
func (m *ClusterRole) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_ClusterRole proto.InternalMessageInfo
func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} }
func (*ClusterRoleBinding) ProtoMessage() {}
func (*ClusterRoleBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{2}
+ return fileDescriptor_758889dfd9a88fa6, []int{2}
}
func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_ClusterRoleBinding proto.InternalMessageInfo
func (m *ClusterRoleBindingList) Reset() { *m = ClusterRoleBindingList{} }
func (*ClusterRoleBindingList) ProtoMessage() {}
func (*ClusterRoleBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{3}
+ return fileDescriptor_758889dfd9a88fa6, []int{3}
}
func (m *ClusterRoleBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_ClusterRoleBindingList proto.InternalMessageInfo
func (m *ClusterRoleList) Reset() { *m = ClusterRoleList{} }
func (*ClusterRoleList) ProtoMessage() {}
func (*ClusterRoleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{4}
+ return fileDescriptor_758889dfd9a88fa6, []int{4}
}
func (m *ClusterRoleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_ClusterRoleList proto.InternalMessageInfo
func (m *PolicyRule) Reset() { *m = PolicyRule{} }
func (*PolicyRule) ProtoMessage() {}
func (*PolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{5}
+ return fileDescriptor_758889dfd9a88fa6, []int{5}
}
func (m *PolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_PolicyRule proto.InternalMessageInfo
func (m *Role) Reset() { *m = Role{} }
func (*Role) ProtoMessage() {}
func (*Role) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{6}
+ return fileDescriptor_758889dfd9a88fa6, []int{6}
}
func (m *Role) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -243,7 +243,7 @@ var xxx_messageInfo_Role proto.InternalMessageInfo
func (m *RoleBinding) Reset() { *m = RoleBinding{} }
func (*RoleBinding) ProtoMessage() {}
func (*RoleBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{7}
+ return fileDescriptor_758889dfd9a88fa6, []int{7}
}
func (m *RoleBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -271,7 +271,7 @@ var xxx_messageInfo_RoleBinding proto.InternalMessageInfo
func (m *RoleBindingList) Reset() { *m = RoleBindingList{} }
func (*RoleBindingList) ProtoMessage() {}
func (*RoleBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{8}
+ return fileDescriptor_758889dfd9a88fa6, []int{8}
}
func (m *RoleBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -299,7 +299,7 @@ var xxx_messageInfo_RoleBindingList proto.InternalMessageInfo
func (m *RoleList) Reset() { *m = RoleList{} }
func (*RoleList) ProtoMessage() {}
func (*RoleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{9}
+ return fileDescriptor_758889dfd9a88fa6, []int{9}
}
func (m *RoleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -327,7 +327,7 @@ var xxx_messageInfo_RoleList proto.InternalMessageInfo
func (m *RoleRef) Reset() { *m = RoleRef{} }
func (*RoleRef) ProtoMessage() {}
func (*RoleRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{10}
+ return fileDescriptor_758889dfd9a88fa6, []int{10}
}
func (m *RoleRef) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -355,7 +355,7 @@ var xxx_messageInfo_RoleRef proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_b59b0bd5e7cb9590, []int{11}
+ return fileDescriptor_758889dfd9a88fa6, []int{11}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -396,64 +396,63 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1alpha1/generated.proto", fileDescriptor_b59b0bd5e7cb9590)
+ proto.RegisterFile("k8s.io/api/rbac/v1alpha1/generated.proto", fileDescriptor_758889dfd9a88fa6)
}
-var fileDescriptor_b59b0bd5e7cb9590 = []byte{
- // 833 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0xbf, 0x8f, 0xe3, 0x44,
- 0x14, 0xce, 0x64, 0x13, 0x36, 0x99, 0x25, 0x0a, 0x37, 0x9c, 0x90, 0xb5, 0x42, 0xce, 0x62, 0x81,
- 0x74, 0x88, 0xc3, 0x66, 0x17, 0x04, 0x34, 0x20, 0xc5, 0x57, 0xa0, 0x40, 0xd8, 0x5b, 0xe6, 0xc4,
- 0x15, 0x88, 0x82, 0x89, 0x33, 0xe7, 0x0c, 0xb1, 0x3d, 0xd6, 0x8c, 0x1d, 0xe9, 0x44, 0x43, 0x43,
- 0x8b, 0x68, 0x28, 0xe8, 0x69, 0x69, 0xa0, 0xe4, 0x1f, 0x58, 0xba, 0x2b, 0xb7, 0x8a, 0x58, 0xf3,
- 0x87, 0x80, 0x3c, 0xb6, 0x63, 0xe7, 0x17, 0x49, 0x15, 0x09, 0x89, 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f, 0x7d, 0xa1, 0x6d,
- 0xfb, 0x17, 0xfc, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x0e, 0xba, 0xc2, 0x39, 0x0b, 0x00,
- 0x00,
+var fileDescriptor_758889dfd9a88fa6 = []byte{
+ // 819 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0xcf, 0x6f, 0xe3, 0x44,
+ 0x14, 0xce, 0xa4, 0x09, 0x4d, 0x26, 0x44, 0xa1, 0x43, 0x85, 0xac, 0x0a, 0x39, 0xc5, 0x02, 0xa9,
+ 0x88, 0x62, 0xd3, 0x82, 0x80, 0x0b, 0x48, 0x75, 0x0f, 0x28, 0x10, 0xda, 0x32, 0x15, 0x3d, 0x20,
+ 0x0e, 0x4c, 0x9c, 0xa9, 0x33, 0xc4, 0xbf, 0xe4, 0xb1, 0x23, 0x55, 0x5c, 0xb8, 0x70, 0x45, 0x5c,
+ 0x38, 0x70, 0xe7, 0xca, 0x85, 0x3d, 0xee, 0x3f, 0xd0, 0xbd, 0xf5, 0xd8, 0x53, 0xb4, 0xf5, 0xfe,
+ 0x21, 0xbb, 0xf2, 0xd8, 0x8e, 0x9d, 0x5f, 0x9b, 0x9c, 0x22, 0xad, 0xb4, 0xa7, 0x64, 0xde, 0xfb,
+ 0xde, 0xf7, 0xde, 0xfb, 0x66, 0xde, 0x4b, 0xe0, 0xc1, 0xf0, 0x4b, 0xae, 0x32, 0x57, 0x23, 0x1e,
+ 0xd3, 0xfc, 0x1e, 0x31, 0xb4, 0xd1, 0x11, 0xb1, 0xbc, 0x01, 0x39, 0xd2, 0x4c, 0xea, 0x50, 0x9f,
+ 0x04, 0xb4, 0xaf, 0x7a, 0xbe, 0x1b, 0xb8, 0x48, 0x4a, 0x90, 0x2a, 0xf1, 0x98, 0x1a, 0x23, 0xd5,
+ 0x0c, 0xb9, 0xf7, 0xb1, 0xc9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, 0x04, 0xda, 0x87, 0x95, 0x21, 0x73, 0xfa,
+ 0x52, 0x59, 0x20, 0xdf, 0x4c, 0x91, 0x95, 0xef, 0x98, 0xd3, 0xc7, 0xc2, 0x13, 0x23, 0x1c, 0x62,
+ 0x27, 0x3f, 0xc9, 0x05, 0x44, 0x3c, 0xeb, 0x58, 0x78, 0x94, 0xff, 0x01, 0xdc, 0x4e, 0xdf, 0xd3,
+ 0x84, 0x0f, 0x2c, 0xe5, 0x3b, 0x86, 0x90, 0x78, 0xec, 0x8a, 0xfa, 0x9c, 0xb9, 0x4e, 0x9a, 0x77,
+ 0xf2, 0xd2, 0x4f, 0x2e, 0x3a, 0xa9, 0x07, 0x17, 0x50, 0xab, 0x6b, 0x40, 0x1a, 0xac, 0xc7, 0x9f,
+ 0xdc, 0x23, 0x06, 0x95, 0x2a, 0x02, 0xb6, 0x93, 0xc2, 0xea, 0x67, 0x99, 0x03, 0xe7, 0x18, 0xfd,
+ 0xeb, 0xdb, 0x07, 0xb9, 0x74, 0xf7, 0x20, 0x97, 0xee, 0x1f, 0xe4, 0xd2, 0xef, 0x91, 0x0c, 0x6e,
+ 0x23, 0x19, 0xdc, 0x45, 0x32, 0xb8, 0x8f, 0x64, 0xf0, 0x34, 0x92, 0xc1, 0x5f, 0xcf, 0xe4, 0xd2,
+ 0x4f, 0xd2, 0xb2, 0x7f, 0xc1, 0x2f, 0x02, 0x00, 0x00, 0xff, 0xff, 0xf1, 0x02, 0x55, 0xe5, 0x20,
+ 0x0b, 0x00, 0x00,
}
func (m *AggregationRule) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.proto
index d5ceaa0e82..170e008a56 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/generated.proto
@@ -33,6 +33,7 @@ message AggregationRule {
// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
// If any of the selectors match, then the ClusterRole's permissions will be added
// +optional
+ // +listType=atomic
repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
}
@@ -45,6 +46,7 @@ message ClusterRole {
// Rules holds all the PolicyRules for this ClusterRole
// +optional
+ // +listType=atomic
repeated PolicyRule rules = 2;
// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
@@ -64,6 +66,7 @@ message ClusterRoleBinding {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
repeated Subject subjects = 2;
// RoleRef can only reference a ClusterRole in the global namespace.
@@ -97,25 +100,30 @@ message ClusterRoleList {
// about who the rule applies to or which namespace the rule applies to.
message PolicyRule {
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
+ // +listType=atomic
repeated string verbs = 1;
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
// +optional
+ // +listType=atomic
repeated string apiGroups = 3;
// Resources is a list of resources this rule applies to. '*' represents all resources.
// +optional
+ // +listType=atomic
repeated string resources = 4;
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
// +optional
+ // +listType=atomic
repeated string resourceNames = 5;
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
// +optional
+ // +listType=atomic
repeated string nonResourceURLs = 6;
}
@@ -128,6 +136,7 @@ message Role {
// Rules holds all the PolicyRules for this Role
// +optional
+ // +listType=atomic
repeated PolicyRule rules = 2;
}
@@ -142,6 +151,7 @@ message RoleBinding {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
repeated Subject subjects = 2;
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/types.go
index e0e75b1503..9a0a219774 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1alpha1/types.go
@@ -48,23 +48,28 @@ const (
// about who the rule applies to or which namespace the rule applies to.
type PolicyRule struct {
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
// +optional
+ // +listType=atomic
APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,3,rep,name=apiGroups"`
// Resources is a list of resources this rule applies to. '*' represents all resources.
// +optional
+ // +listType=atomic
Resources []string `json:"resources,omitempty" protobuf:"bytes,4,rep,name=resources"`
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
// +optional
+ // +listType=atomic
ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,5,rep,name=resourceNames"`
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
// +optional
+ // +listType=atomic
NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,6,rep,name=nonResourceURLs"`
}
@@ -111,6 +116,7 @@ type Role struct {
// Rules holds all the PolicyRules for this Role
// +optional
+ // +listType=atomic
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}
@@ -129,6 +135,7 @@ type RoleBinding struct {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
@@ -178,6 +185,7 @@ type ClusterRole struct {
// Rules holds all the PolicyRules for this ClusterRole
// +optional
+ // +listType=atomic
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
@@ -192,6 +200,7 @@ type AggregationRule struct {
// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
// If any of the selectors match, then the ClusterRole's permissions will be added
// +optional
+ // +listType=atomic
ClusterRoleSelectors []metav1.LabelSelector `json:"clusterRoleSelectors,omitempty" protobuf:"bytes,1,rep,name=clusterRoleSelectors"`
}
@@ -210,6 +219,7 @@ type ClusterRoleBinding struct {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can only reference a ClusterRole in the global namespace.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.pb.go
index ad6685591e..9052d7e8db 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1beta1/generated.proto
+// source: k8s.io/api/rbac/v1beta1/generated.proto
package v1beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AggregationRule) Reset() { *m = AggregationRule{} }
func (*AggregationRule) ProtoMessage() {}
func (*AggregationRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{0}
+ return fileDescriptor_c5bc2d145acd4e45, []int{0}
}
func (m *AggregationRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -75,7 +75,7 @@ var xxx_messageInfo_AggregationRule proto.InternalMessageInfo
func (m *ClusterRole) Reset() { *m = ClusterRole{} }
func (*ClusterRole) ProtoMessage() {}
func (*ClusterRole) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{1}
+ return fileDescriptor_c5bc2d145acd4e45, []int{1}
}
func (m *ClusterRole) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -103,7 +103,7 @@ var xxx_messageInfo_ClusterRole proto.InternalMessageInfo
func (m *ClusterRoleBinding) Reset() { *m = ClusterRoleBinding{} }
func (*ClusterRoleBinding) ProtoMessage() {}
func (*ClusterRoleBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{2}
+ return fileDescriptor_c5bc2d145acd4e45, []int{2}
}
func (m *ClusterRoleBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -131,7 +131,7 @@ var xxx_messageInfo_ClusterRoleBinding proto.InternalMessageInfo
func (m *ClusterRoleBindingList) Reset() { *m = ClusterRoleBindingList{} }
func (*ClusterRoleBindingList) ProtoMessage() {}
func (*ClusterRoleBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{3}
+ return fileDescriptor_c5bc2d145acd4e45, []int{3}
}
func (m *ClusterRoleBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -159,7 +159,7 @@ var xxx_messageInfo_ClusterRoleBindingList proto.InternalMessageInfo
func (m *ClusterRoleList) Reset() { *m = ClusterRoleList{} }
func (*ClusterRoleList) ProtoMessage() {}
func (*ClusterRoleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{4}
+ return fileDescriptor_c5bc2d145acd4e45, []int{4}
}
func (m *ClusterRoleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -187,7 +187,7 @@ var xxx_messageInfo_ClusterRoleList proto.InternalMessageInfo
func (m *PolicyRule) Reset() { *m = PolicyRule{} }
func (*PolicyRule) ProtoMessage() {}
func (*PolicyRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{5}
+ return fileDescriptor_c5bc2d145acd4e45, []int{5}
}
func (m *PolicyRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -215,7 +215,7 @@ var xxx_messageInfo_PolicyRule proto.InternalMessageInfo
func (m *Role) Reset() { *m = Role{} }
func (*Role) ProtoMessage() {}
func (*Role) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{6}
+ return fileDescriptor_c5bc2d145acd4e45, []int{6}
}
func (m *Role) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -243,7 +243,7 @@ var xxx_messageInfo_Role proto.InternalMessageInfo
func (m *RoleBinding) Reset() { *m = RoleBinding{} }
func (*RoleBinding) ProtoMessage() {}
func (*RoleBinding) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{7}
+ return fileDescriptor_c5bc2d145acd4e45, []int{7}
}
func (m *RoleBinding) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -271,7 +271,7 @@ var xxx_messageInfo_RoleBinding proto.InternalMessageInfo
func (m *RoleBindingList) Reset() { *m = RoleBindingList{} }
func (*RoleBindingList) ProtoMessage() {}
func (*RoleBindingList) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{8}
+ return fileDescriptor_c5bc2d145acd4e45, []int{8}
}
func (m *RoleBindingList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -299,7 +299,7 @@ var xxx_messageInfo_RoleBindingList proto.InternalMessageInfo
func (m *RoleList) Reset() { *m = RoleList{} }
func (*RoleList) ProtoMessage() {}
func (*RoleList) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{9}
+ return fileDescriptor_c5bc2d145acd4e45, []int{9}
}
func (m *RoleList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -327,7 +327,7 @@ var xxx_messageInfo_RoleList proto.InternalMessageInfo
func (m *RoleRef) Reset() { *m = RoleRef{} }
func (*RoleRef) ProtoMessage() {}
func (*RoleRef) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{10}
+ return fileDescriptor_c5bc2d145acd4e45, []int{10}
}
func (m *RoleRef) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -355,7 +355,7 @@ var xxx_messageInfo_RoleRef proto.InternalMessageInfo
func (m *Subject) Reset() { *m = Subject{} }
func (*Subject) ProtoMessage() {}
func (*Subject) Descriptor() ([]byte, []int) {
- return fileDescriptor_99f6bec96facc83d, []int{11}
+ return fileDescriptor_c5bc2d145acd4e45, []int{11}
}
func (m *Subject) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -396,62 +396,61 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/rbac/v1beta1/generated.proto", fileDescriptor_99f6bec96facc83d)
+ proto.RegisterFile("k8s.io/api/rbac/v1beta1/generated.proto", fileDescriptor_c5bc2d145acd4e45)
}
-var fileDescriptor_99f6bec96facc83d = []byte{
- // 812 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0xbd, 0x6f, 0x2b, 0x45,
- 0x10, 0xf7, 0x3a, 0xb6, 0xe2, 0x5b, 0x63, 0x99, 0xb7, 0x3c, 0xf1, 0x4e, 0x11, 0x9c, 0x2d, 0x43,
- 0x11, 0xe9, 0xc1, 0x1d, 0x79, 0x20, 0xa0, 0x89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, 0xe3, 0xe9, 0xbd, 0x56, 0xbb, 0xbd, 0xd7,
- 0x6a, 0x77, 0xf7, 0x5a, 0xed, 0xc7, 0x44, 0x03, 0xd3, 0x44, 0x03, 0xb7, 0x89, 0x06, 0xee, 0x12,
- 0x0d, 0xfc, 0x9d, 0x68, 0xe0, 0x97, 0x7f, 0xb4, 0xda, 0x37, 0xcf, 0x2a, 0xfe, 0xf2, 0xfe, 0x17,
- 0x00, 0x00, 0xff, 0xff, 0xf7, 0xdd, 0xcc, 0x2b, 0x25, 0x0b, 0x00, 0x00,
+var fileDescriptor_c5bc2d145acd4e45 = []byte{
+ // 800 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x56, 0x3b, 0x6f, 0xe3, 0x46,
+ 0x10, 0xd6, 0xca, 0x12, 0x2c, 0xae, 0x22, 0x28, 0xde, 0x18, 0x31, 0x61, 0x24, 0x94, 0xa0, 0x04,
+ 0x88, 0x01, 0x27, 0x64, 0xec, 0x04, 0x49, 0x1a, 0x17, 0x66, 0x8a, 0xc4, 0xb0, 0xa3, 0x18, 0x6b,
+ 0x24, 0x45, 0x90, 0x22, 0x2b, 0x6a, 0x4d, 0x6f, 0xc4, 0x17, 0xb8, 0xa4, 0x00, 0x23, 0x4d, 0x9a,
+ 0xeb, 0xae, 0x38, 0xe0, 0xaa, 0x6b, 0xaf, 0xbe, 0xea, 0xca, 0xfb, 0x05, 0x2a, 0x5d, 0xba, 0x12,
+ 0xce, 0xbc, 0x1f, 0x72, 0x87, 0xe5, 0x43, 0xd4, 0x8b, 0xb6, 0x2a, 0x01, 0x07, 0x5c, 0x25, 0xed,
+ 0xcc, 0x37, 0xdf, 0xcc, 0x7c, 0xbb, 0x33, 0x12, 0xfc, 0x6a, 0xf0, 0x13, 0x57, 0x99, 0xab, 0x11,
+ 0x8f, 0x69, 0x7e, 0x8f, 0x18, 0xda, 0xf0, 0xa0, 0x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xfe, 0xaa, 0x97, 0x97, 0xfb, 0x1f, 0xcc, 0xf4, 0x47, 0x5f, 0xc3, 0x5a, 0x36, 0xec, 0x71,
+ 0xb1, 0x52, 0x9e, 0x3c, 0xdb, 0x07, 0x78, 0x82, 0x40, 0x6d, 0x58, 0x19, 0x30, 0xa7, 0x2f, 0x97,
+ 0x63, 0xe4, 0x47, 0x29, 0xb2, 0x72, 0xca, 0x9c, 0x3e, 0x8e, 0x3d, 0x02, 0xe1, 0x10, 0x3b, 0xf9,
+ 0x21, 0x9e, 0x42, 0x88, 0x31, 0xc7, 0xb1, 0x47, 0x68, 0xb5, 0x99, 0x3e, 0xa6, 0x09, 0x1f, 0x28,
+ 0xe4, 0x9b, 0xae, 0xaf, 0xbc, 0x4a, 0x7d, 0xf7, 0x67, 0x47, 0x1a, 0x94, 0xc4, 0x27, 0xf7, 0x88,
+ 0x41, 0xe5, 0x4a, 0x0c, 0xdb, 0x4a, 0x61, 0x52, 0x37, 0x73, 0xe0, 0x1c, 0xa3, 0x1f, 0x8d, 0xee,
+ 0x94, 0xd2, 0xcd, 0x9d, 0x52, 0xba, 0xbd, 0x53, 0x4a, 0xff, 0x47, 0x0a, 0x18, 0x45, 0x0a, 0xb8,
+ 0x89, 0x14, 0x70, 0x1b, 0x29, 0xe0, 0x75, 0xa4, 0x80, 0x27, 0x6f, 0x94, 0xd2, 0x5f, 0x3b, 0x05,
+ 0x7f, 0x79, 0xdf, 0x05, 0x00, 0x00, 0xff, 0xff, 0x75, 0xfb, 0x5a, 0x79, 0x0c, 0x0b, 0x00, 0x00,
}
func (m *AggregationRule) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.proto
index f6b2f0dde1..7dfc50d7eb 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/generated.proto
@@ -33,6 +33,7 @@ message AggregationRule {
// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
// If any of the selectors match, then the ClusterRole's permissions will be added
// +optional
+ // +listType=atomic
repeated k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector clusterRoleSelectors = 1;
}
@@ -45,6 +46,7 @@ message ClusterRole {
// Rules holds all the PolicyRules for this ClusterRole
// +optional
+ // +listType=atomic
repeated PolicyRule rules = 2;
// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
@@ -64,6 +66,7 @@ message ClusterRoleBinding {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
repeated Subject subjects = 2;
// RoleRef can only reference a ClusterRole in the global namespace.
@@ -97,26 +100,31 @@ message ClusterRoleList {
// about who the rule applies to or which namespace the rule applies to.
message PolicyRule {
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
+ // +listType=atomic
repeated string verbs = 1;
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
// +optional
+ // +listType=atomic
repeated string apiGroups = 2;
// Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups.
// '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.
// +optional
+ // +listType=atomic
repeated string resources = 3;
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
// +optional
+ // +listType=atomic
repeated string resourceNames = 4;
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
// +optional
+ // +listType=atomic
repeated string nonResourceURLs = 5;
}
@@ -129,6 +137,7 @@ message Role {
// Rules holds all the PolicyRules for this Role
// +optional
+ // +listType=atomic
repeated PolicyRule rules = 2;
}
@@ -143,6 +152,7 @@ message RoleBinding {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
repeated Subject subjects = 2;
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/types.go
index 4941cd2abc..f761f81a6f 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/rbac/v1beta1/types.go
@@ -48,24 +48,29 @@ const (
// about who the rule applies to or which namespace the rule applies to.
type PolicyRule struct {
// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
+ // +listType=atomic
Verbs []string `json:"verbs" protobuf:"bytes,1,rep,name=verbs"`
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of
// the enumerated resources in any API group will be allowed. "" represents the core API group and "*" represents all API groups.
// +optional
+ // +listType=atomic
APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,2,rep,name=apiGroups"`
// Resources is a list of resources this rule applies to. '*' represents all resources in the specified apiGroups.
// '*/foo' represents the subresource 'foo' for all resources in the specified apiGroups.
// +optional
+ // +listType=atomic
Resources []string `json:"resources,omitempty" protobuf:"bytes,3,rep,name=resources"`
// ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
// +optional
+ // +listType=atomic
ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,4,rep,name=resourceNames"`
// NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path
// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"), but not both.
// +optional
+ // +listType=atomic
NonResourceURLs []string `json:"nonResourceURLs,omitempty" protobuf:"bytes,5,rep,name=nonResourceURLs"`
}
@@ -115,6 +120,7 @@ type Role struct {
// Rules holds all the PolicyRules for this Role
// +optional
+ // +listType=atomic
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
}
@@ -137,6 +143,7 @@ type RoleBinding struct {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace.
@@ -198,6 +205,7 @@ type ClusterRole struct {
// Rules holds all the PolicyRules for this ClusterRole
// +optional
+ // +listType=atomic
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
// AggregationRule is an optional field that describes how to build the Rules for this ClusterRole.
// If AggregationRule is set, then the Rules are controller managed and direct changes to Rules will be
@@ -211,6 +219,7 @@ type AggregationRule struct {
// ClusterRoleSelectors holds a list of selectors which will be used to find ClusterRoles and create the rules.
// If any of the selectors match, then the ClusterRole's permissions will be added
// +optional
+ // +listType=atomic
ClusterRoleSelectors []metav1.LabelSelector `json:"clusterRoleSelectors,omitempty" protobuf:"bytes,1,rep,name=clusterRoleSelectors"`
}
@@ -233,6 +242,7 @@ type ClusterRoleBinding struct {
// Subjects holds references to the objects the role applies to.
// +optional
+ // +listType=atomic
Subjects []Subject `json:"subjects,omitempty" protobuf:"bytes,2,rep,name=subjects"`
// RoleRef can only reference a ClusterRole in the global namespace.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.pb.go
index 2e8f9c724a..6c6ba438e3 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/resource/v1alpha2/generated.proto
+// source: k8s.io/api/resource/v1alpha2/generated.proto
package v1alpha2
@@ -26,6 +26,7 @@ import (
proto "github.com/gogo/protobuf/proto"
v1 "k8s.io/api/core/v1"
+ resource "k8s.io/apimachinery/pkg/api/resource"
math "math"
math_bits "math/bits"
@@ -49,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *AllocationResult) Reset() { *m = AllocationResult{} }
func (*AllocationResult) ProtoMessage() {}
func (*AllocationResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{0}
+ return fileDescriptor_4312f5b44a31ec02, []int{0}
}
func (m *AllocationResult) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -74,10 +75,346 @@ func (m *AllocationResult) XXX_DiscardUnknown() {
var xxx_messageInfo_AllocationResult proto.InternalMessageInfo
+func (m *AllocationResultModel) Reset() { *m = AllocationResultModel{} }
+func (*AllocationResultModel) ProtoMessage() {}
+func (*AllocationResultModel) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{1}
+}
+func (m *AllocationResultModel) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *AllocationResultModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *AllocationResultModel) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_AllocationResultModel.Merge(m, src)
+}
+func (m *AllocationResultModel) XXX_Size() int {
+ return m.Size()
+}
+func (m *AllocationResultModel) XXX_DiscardUnknown() {
+ xxx_messageInfo_AllocationResultModel.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_AllocationResultModel proto.InternalMessageInfo
+
+func (m *DriverAllocationResult) Reset() { *m = DriverAllocationResult{} }
+func (*DriverAllocationResult) ProtoMessage() {}
+func (*DriverAllocationResult) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{2}
+}
+func (m *DriverAllocationResult) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *DriverAllocationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *DriverAllocationResult) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_DriverAllocationResult.Merge(m, src)
+}
+func (m *DriverAllocationResult) XXX_Size() int {
+ return m.Size()
+}
+func (m *DriverAllocationResult) XXX_DiscardUnknown() {
+ xxx_messageInfo_DriverAllocationResult.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DriverAllocationResult proto.InternalMessageInfo
+
+func (m *DriverRequests) Reset() { *m = DriverRequests{} }
+func (*DriverRequests) ProtoMessage() {}
+func (*DriverRequests) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{3}
+}
+func (m *DriverRequests) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *DriverRequests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *DriverRequests) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_DriverRequests.Merge(m, src)
+}
+func (m *DriverRequests) XXX_Size() int {
+ return m.Size()
+}
+func (m *DriverRequests) XXX_DiscardUnknown() {
+ xxx_messageInfo_DriverRequests.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DriverRequests proto.InternalMessageInfo
+
+func (m *NamedResourcesAllocationResult) Reset() { *m = NamedResourcesAllocationResult{} }
+func (*NamedResourcesAllocationResult) ProtoMessage() {}
+func (*NamedResourcesAllocationResult) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{4}
+}
+func (m *NamedResourcesAllocationResult) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesAllocationResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesAllocationResult) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesAllocationResult.Merge(m, src)
+}
+func (m *NamedResourcesAllocationResult) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesAllocationResult) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesAllocationResult.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesAllocationResult proto.InternalMessageInfo
+
+func (m *NamedResourcesAttribute) Reset() { *m = NamedResourcesAttribute{} }
+func (*NamedResourcesAttribute) ProtoMessage() {}
+func (*NamedResourcesAttribute) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{5}
+}
+func (m *NamedResourcesAttribute) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesAttribute) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesAttribute.Merge(m, src)
+}
+func (m *NamedResourcesAttribute) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesAttribute) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesAttribute.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesAttribute proto.InternalMessageInfo
+
+func (m *NamedResourcesAttributeValue) Reset() { *m = NamedResourcesAttributeValue{} }
+func (*NamedResourcesAttributeValue) ProtoMessage() {}
+func (*NamedResourcesAttributeValue) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{6}
+}
+func (m *NamedResourcesAttributeValue) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesAttributeValue) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesAttributeValue.Merge(m, src)
+}
+func (m *NamedResourcesAttributeValue) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesAttributeValue) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesAttributeValue.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesAttributeValue proto.InternalMessageInfo
+
+func (m *NamedResourcesFilter) Reset() { *m = NamedResourcesFilter{} }
+func (*NamedResourcesFilter) ProtoMessage() {}
+func (*NamedResourcesFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{7}
+}
+func (m *NamedResourcesFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesFilter.Merge(m, src)
+}
+func (m *NamedResourcesFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesFilter proto.InternalMessageInfo
+
+func (m *NamedResourcesInstance) Reset() { *m = NamedResourcesInstance{} }
+func (*NamedResourcesInstance) ProtoMessage() {}
+func (*NamedResourcesInstance) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{8}
+}
+func (m *NamedResourcesInstance) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesInstance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesInstance) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesInstance.Merge(m, src)
+}
+func (m *NamedResourcesInstance) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesInstance) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesInstance.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesInstance proto.InternalMessageInfo
+
+func (m *NamedResourcesIntSlice) Reset() { *m = NamedResourcesIntSlice{} }
+func (*NamedResourcesIntSlice) ProtoMessage() {}
+func (*NamedResourcesIntSlice) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{9}
+}
+func (m *NamedResourcesIntSlice) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesIntSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesIntSlice) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesIntSlice.Merge(m, src)
+}
+func (m *NamedResourcesIntSlice) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesIntSlice) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesIntSlice.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesIntSlice proto.InternalMessageInfo
+
+func (m *NamedResourcesRequest) Reset() { *m = NamedResourcesRequest{} }
+func (*NamedResourcesRequest) ProtoMessage() {}
+func (*NamedResourcesRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{10}
+}
+func (m *NamedResourcesRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesRequest.Merge(m, src)
+}
+func (m *NamedResourcesRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesRequest proto.InternalMessageInfo
+
+func (m *NamedResourcesResources) Reset() { *m = NamedResourcesResources{} }
+func (*NamedResourcesResources) ProtoMessage() {}
+func (*NamedResourcesResources) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{11}
+}
+func (m *NamedResourcesResources) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesResources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesResources) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesResources.Merge(m, src)
+}
+func (m *NamedResourcesResources) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesResources) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesResources.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesResources proto.InternalMessageInfo
+
+func (m *NamedResourcesStringSlice) Reset() { *m = NamedResourcesStringSlice{} }
+func (*NamedResourcesStringSlice) ProtoMessage() {}
+func (*NamedResourcesStringSlice) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{12}
+}
+func (m *NamedResourcesStringSlice) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *NamedResourcesStringSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *NamedResourcesStringSlice) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_NamedResourcesStringSlice.Merge(m, src)
+}
+func (m *NamedResourcesStringSlice) XXX_Size() int {
+ return m.Size()
+}
+func (m *NamedResourcesStringSlice) XXX_DiscardUnknown() {
+ xxx_messageInfo_NamedResourcesStringSlice.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_NamedResourcesStringSlice proto.InternalMessageInfo
+
func (m *PodSchedulingContext) Reset() { *m = PodSchedulingContext{} }
func (*PodSchedulingContext) ProtoMessage() {}
func (*PodSchedulingContext) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{1}
+ return fileDescriptor_4312f5b44a31ec02, []int{13}
}
func (m *PodSchedulingContext) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -105,7 +442,7 @@ var xxx_messageInfo_PodSchedulingContext proto.InternalMessageInfo
func (m *PodSchedulingContextList) Reset() { *m = PodSchedulingContextList{} }
func (*PodSchedulingContextList) ProtoMessage() {}
func (*PodSchedulingContextList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{2}
+ return fileDescriptor_4312f5b44a31ec02, []int{14}
}
func (m *PodSchedulingContextList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,7 +470,7 @@ var xxx_messageInfo_PodSchedulingContextList proto.InternalMessageInfo
func (m *PodSchedulingContextSpec) Reset() { *m = PodSchedulingContextSpec{} }
func (*PodSchedulingContextSpec) ProtoMessage() {}
func (*PodSchedulingContextSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{3}
+ return fileDescriptor_4312f5b44a31ec02, []int{15}
}
func (m *PodSchedulingContextSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -161,7 +498,7 @@ var xxx_messageInfo_PodSchedulingContextSpec proto.InternalMessageInfo
func (m *PodSchedulingContextStatus) Reset() { *m = PodSchedulingContextStatus{} }
func (*PodSchedulingContextStatus) ProtoMessage() {}
func (*PodSchedulingContextStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{4}
+ return fileDescriptor_4312f5b44a31ec02, []int{16}
}
func (m *PodSchedulingContextStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -189,7 +526,7 @@ var xxx_messageInfo_PodSchedulingContextStatus proto.InternalMessageInfo
func (m *ResourceClaim) Reset() { *m = ResourceClaim{} }
func (*ResourceClaim) ProtoMessage() {}
func (*ResourceClaim) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{5}
+ return fileDescriptor_4312f5b44a31ec02, []int{17}
}
func (m *ResourceClaim) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -217,7 +554,7 @@ var xxx_messageInfo_ResourceClaim proto.InternalMessageInfo
func (m *ResourceClaimConsumerReference) Reset() { *m = ResourceClaimConsumerReference{} }
func (*ResourceClaimConsumerReference) ProtoMessage() {}
func (*ResourceClaimConsumerReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{6}
+ return fileDescriptor_4312f5b44a31ec02, []int{18}
}
func (m *ResourceClaimConsumerReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -245,7 +582,7 @@ var xxx_messageInfo_ResourceClaimConsumerReference proto.InternalMessageInfo
func (m *ResourceClaimList) Reset() { *m = ResourceClaimList{} }
func (*ResourceClaimList) ProtoMessage() {}
func (*ResourceClaimList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{7}
+ return fileDescriptor_4312f5b44a31ec02, []int{19}
}
func (m *ResourceClaimList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -270,10 +607,66 @@ func (m *ResourceClaimList) XXX_DiscardUnknown() {
var xxx_messageInfo_ResourceClaimList proto.InternalMessageInfo
+func (m *ResourceClaimParameters) Reset() { *m = ResourceClaimParameters{} }
+func (*ResourceClaimParameters) ProtoMessage() {}
+func (*ResourceClaimParameters) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{20}
+}
+func (m *ResourceClaimParameters) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceClaimParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceClaimParameters) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceClaimParameters.Merge(m, src)
+}
+func (m *ResourceClaimParameters) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceClaimParameters) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceClaimParameters.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceClaimParameters proto.InternalMessageInfo
+
+func (m *ResourceClaimParametersList) Reset() { *m = ResourceClaimParametersList{} }
+func (*ResourceClaimParametersList) ProtoMessage() {}
+func (*ResourceClaimParametersList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{21}
+}
+func (m *ResourceClaimParametersList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceClaimParametersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceClaimParametersList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceClaimParametersList.Merge(m, src)
+}
+func (m *ResourceClaimParametersList) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceClaimParametersList) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceClaimParametersList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceClaimParametersList proto.InternalMessageInfo
+
func (m *ResourceClaimParametersReference) Reset() { *m = ResourceClaimParametersReference{} }
func (*ResourceClaimParametersReference) ProtoMessage() {}
func (*ResourceClaimParametersReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{8}
+ return fileDescriptor_4312f5b44a31ec02, []int{22}
}
func (m *ResourceClaimParametersReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -301,7 +694,7 @@ var xxx_messageInfo_ResourceClaimParametersReference proto.InternalMessageInfo
func (m *ResourceClaimSchedulingStatus) Reset() { *m = ResourceClaimSchedulingStatus{} }
func (*ResourceClaimSchedulingStatus) ProtoMessage() {}
func (*ResourceClaimSchedulingStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{9}
+ return fileDescriptor_4312f5b44a31ec02, []int{23}
}
func (m *ResourceClaimSchedulingStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -329,7 +722,7 @@ var xxx_messageInfo_ResourceClaimSchedulingStatus proto.InternalMessageInfo
func (m *ResourceClaimSpec) Reset() { *m = ResourceClaimSpec{} }
func (*ResourceClaimSpec) ProtoMessage() {}
func (*ResourceClaimSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{10}
+ return fileDescriptor_4312f5b44a31ec02, []int{24}
}
func (m *ResourceClaimSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -357,7 +750,7 @@ var xxx_messageInfo_ResourceClaimSpec proto.InternalMessageInfo
func (m *ResourceClaimStatus) Reset() { *m = ResourceClaimStatus{} }
func (*ResourceClaimStatus) ProtoMessage() {}
func (*ResourceClaimStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{11}
+ return fileDescriptor_4312f5b44a31ec02, []int{25}
}
func (m *ResourceClaimStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -385,7 +778,7 @@ var xxx_messageInfo_ResourceClaimStatus proto.InternalMessageInfo
func (m *ResourceClaimTemplate) Reset() { *m = ResourceClaimTemplate{} }
func (*ResourceClaimTemplate) ProtoMessage() {}
func (*ResourceClaimTemplate) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{12}
+ return fileDescriptor_4312f5b44a31ec02, []int{26}
}
func (m *ResourceClaimTemplate) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -413,7 +806,7 @@ var xxx_messageInfo_ResourceClaimTemplate proto.InternalMessageInfo
func (m *ResourceClaimTemplateList) Reset() { *m = ResourceClaimTemplateList{} }
func (*ResourceClaimTemplateList) ProtoMessage() {}
func (*ResourceClaimTemplateList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{13}
+ return fileDescriptor_4312f5b44a31ec02, []int{27}
}
func (m *ResourceClaimTemplateList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -441,7 +834,7 @@ var xxx_messageInfo_ResourceClaimTemplateList proto.InternalMessageInfo
func (m *ResourceClaimTemplateSpec) Reset() { *m = ResourceClaimTemplateSpec{} }
func (*ResourceClaimTemplateSpec) ProtoMessage() {}
func (*ResourceClaimTemplateSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{14}
+ return fileDescriptor_4312f5b44a31ec02, []int{28}
}
func (m *ResourceClaimTemplateSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -469,7 +862,7 @@ var xxx_messageInfo_ResourceClaimTemplateSpec proto.InternalMessageInfo
func (m *ResourceClass) Reset() { *m = ResourceClass{} }
func (*ResourceClass) ProtoMessage() {}
func (*ResourceClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{15}
+ return fileDescriptor_4312f5b44a31ec02, []int{29}
}
func (m *ResourceClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -497,7 +890,7 @@ var xxx_messageInfo_ResourceClass proto.InternalMessageInfo
func (m *ResourceClassList) Reset() { *m = ResourceClassList{} }
func (*ResourceClassList) ProtoMessage() {}
func (*ResourceClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{16}
+ return fileDescriptor_4312f5b44a31ec02, []int{30}
}
func (m *ResourceClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -522,10 +915,66 @@ func (m *ResourceClassList) XXX_DiscardUnknown() {
var xxx_messageInfo_ResourceClassList proto.InternalMessageInfo
+func (m *ResourceClassParameters) Reset() { *m = ResourceClassParameters{} }
+func (*ResourceClassParameters) ProtoMessage() {}
+func (*ResourceClassParameters) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{31}
+}
+func (m *ResourceClassParameters) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceClassParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceClassParameters) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceClassParameters.Merge(m, src)
+}
+func (m *ResourceClassParameters) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceClassParameters) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceClassParameters.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceClassParameters proto.InternalMessageInfo
+
+func (m *ResourceClassParametersList) Reset() { *m = ResourceClassParametersList{} }
+func (*ResourceClassParametersList) ProtoMessage() {}
+func (*ResourceClassParametersList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{32}
+}
+func (m *ResourceClassParametersList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceClassParametersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceClassParametersList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceClassParametersList.Merge(m, src)
+}
+func (m *ResourceClassParametersList) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceClassParametersList) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceClassParametersList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceClassParametersList proto.InternalMessageInfo
+
func (m *ResourceClassParametersReference) Reset() { *m = ResourceClassParametersReference{} }
func (*ResourceClassParametersReference) ProtoMessage() {}
func (*ResourceClassParametersReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{17}
+ return fileDescriptor_4312f5b44a31ec02, []int{33}
}
func (m *ResourceClassParametersReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -550,10 +999,66 @@ func (m *ResourceClassParametersReference) XXX_DiscardUnknown() {
var xxx_messageInfo_ResourceClassParametersReference proto.InternalMessageInfo
+func (m *ResourceFilter) Reset() { *m = ResourceFilter{} }
+func (*ResourceFilter) ProtoMessage() {}
+func (*ResourceFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{34}
+}
+func (m *ResourceFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceFilter.Merge(m, src)
+}
+func (m *ResourceFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceFilter proto.InternalMessageInfo
+
+func (m *ResourceFilterModel) Reset() { *m = ResourceFilterModel{} }
+func (*ResourceFilterModel) ProtoMessage() {}
+func (*ResourceFilterModel) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{35}
+}
+func (m *ResourceFilterModel) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceFilterModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceFilterModel) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceFilterModel.Merge(m, src)
+}
+func (m *ResourceFilterModel) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceFilterModel) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceFilterModel.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceFilterModel proto.InternalMessageInfo
+
func (m *ResourceHandle) Reset() { *m = ResourceHandle{} }
func (*ResourceHandle) ProtoMessage() {}
func (*ResourceHandle) Descriptor() ([]byte, []int) {
- return fileDescriptor_3add37bbd52889e0, []int{18}
+ return fileDescriptor_4312f5b44a31ec02, []int{36}
}
func (m *ResourceHandle) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -578,8 +1083,216 @@ func (m *ResourceHandle) XXX_DiscardUnknown() {
var xxx_messageInfo_ResourceHandle proto.InternalMessageInfo
+func (m *ResourceModel) Reset() { *m = ResourceModel{} }
+func (*ResourceModel) ProtoMessage() {}
+func (*ResourceModel) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{37}
+}
+func (m *ResourceModel) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceModel) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceModel.Merge(m, src)
+}
+func (m *ResourceModel) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceModel) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceModel.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceModel proto.InternalMessageInfo
+
+func (m *ResourceRequest) Reset() { *m = ResourceRequest{} }
+func (*ResourceRequest) ProtoMessage() {}
+func (*ResourceRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{38}
+}
+func (m *ResourceRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceRequest.Merge(m, src)
+}
+func (m *ResourceRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceRequest proto.InternalMessageInfo
+
+func (m *ResourceRequestModel) Reset() { *m = ResourceRequestModel{} }
+func (*ResourceRequestModel) ProtoMessage() {}
+func (*ResourceRequestModel) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{39}
+}
+func (m *ResourceRequestModel) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceRequestModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceRequestModel) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceRequestModel.Merge(m, src)
+}
+func (m *ResourceRequestModel) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceRequestModel) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceRequestModel.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceRequestModel proto.InternalMessageInfo
+
+func (m *ResourceSlice) Reset() { *m = ResourceSlice{} }
+func (*ResourceSlice) ProtoMessage() {}
+func (*ResourceSlice) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{40}
+}
+func (m *ResourceSlice) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceSlice) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceSlice.Merge(m, src)
+}
+func (m *ResourceSlice) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceSlice) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceSlice.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceSlice proto.InternalMessageInfo
+
+func (m *ResourceSliceList) Reset() { *m = ResourceSliceList{} }
+func (*ResourceSliceList) ProtoMessage() {}
+func (*ResourceSliceList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{41}
+}
+func (m *ResourceSliceList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ResourceSliceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *ResourceSliceList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ResourceSliceList.Merge(m, src)
+}
+func (m *ResourceSliceList) XXX_Size() int {
+ return m.Size()
+}
+func (m *ResourceSliceList) XXX_DiscardUnknown() {
+ xxx_messageInfo_ResourceSliceList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ResourceSliceList proto.InternalMessageInfo
+
+func (m *StructuredResourceHandle) Reset() { *m = StructuredResourceHandle{} }
+func (*StructuredResourceHandle) ProtoMessage() {}
+func (*StructuredResourceHandle) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{42}
+}
+func (m *StructuredResourceHandle) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StructuredResourceHandle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *StructuredResourceHandle) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StructuredResourceHandle.Merge(m, src)
+}
+func (m *StructuredResourceHandle) XXX_Size() int {
+ return m.Size()
+}
+func (m *StructuredResourceHandle) XXX_DiscardUnknown() {
+ xxx_messageInfo_StructuredResourceHandle.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StructuredResourceHandle proto.InternalMessageInfo
+
+func (m *VendorParameters) Reset() { *m = VendorParameters{} }
+func (*VendorParameters) ProtoMessage() {}
+func (*VendorParameters) Descriptor() ([]byte, []int) {
+ return fileDescriptor_4312f5b44a31ec02, []int{43}
+}
+func (m *VendorParameters) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *VendorParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *VendorParameters) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_VendorParameters.Merge(m, src)
+}
+func (m *VendorParameters) XXX_Size() int {
+ return m.Size()
+}
+func (m *VendorParameters) XXX_DiscardUnknown() {
+ xxx_messageInfo_VendorParameters.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_VendorParameters proto.InternalMessageInfo
+
func init() {
proto.RegisterType((*AllocationResult)(nil), "k8s.io.api.resource.v1alpha2.AllocationResult")
+ proto.RegisterType((*AllocationResultModel)(nil), "k8s.io.api.resource.v1alpha2.AllocationResultModel")
+ proto.RegisterType((*DriverAllocationResult)(nil), "k8s.io.api.resource.v1alpha2.DriverAllocationResult")
+ proto.RegisterType((*DriverRequests)(nil), "k8s.io.api.resource.v1alpha2.DriverRequests")
+ proto.RegisterType((*NamedResourcesAllocationResult)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesAllocationResult")
+ proto.RegisterType((*NamedResourcesAttribute)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesAttribute")
+ proto.RegisterType((*NamedResourcesAttributeValue)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesAttributeValue")
+ proto.RegisterType((*NamedResourcesFilter)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesFilter")
+ proto.RegisterType((*NamedResourcesInstance)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesInstance")
+ proto.RegisterType((*NamedResourcesIntSlice)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesIntSlice")
+ proto.RegisterType((*NamedResourcesRequest)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesRequest")
+ proto.RegisterType((*NamedResourcesResources)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesResources")
+ proto.RegisterType((*NamedResourcesStringSlice)(nil), "k8s.io.api.resource.v1alpha2.NamedResourcesStringSlice")
proto.RegisterType((*PodSchedulingContext)(nil), "k8s.io.api.resource.v1alpha2.PodSchedulingContext")
proto.RegisterType((*PodSchedulingContextList)(nil), "k8s.io.api.resource.v1alpha2.PodSchedulingContextList")
proto.RegisterType((*PodSchedulingContextSpec)(nil), "k8s.io.api.resource.v1alpha2.PodSchedulingContextSpec")
@@ -587,6 +1300,8 @@ func init() {
proto.RegisterType((*ResourceClaim)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaim")
proto.RegisterType((*ResourceClaimConsumerReference)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimConsumerReference")
proto.RegisterType((*ResourceClaimList)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimList")
+ proto.RegisterType((*ResourceClaimParameters)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimParameters")
+ proto.RegisterType((*ResourceClaimParametersList)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimParametersList")
proto.RegisterType((*ResourceClaimParametersReference)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimParametersReference")
proto.RegisterType((*ResourceClaimSchedulingStatus)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimSchedulingStatus")
proto.RegisterType((*ResourceClaimSpec)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimSpec")
@@ -596,94 +1311,168 @@ func init() {
proto.RegisterType((*ResourceClaimTemplateSpec)(nil), "k8s.io.api.resource.v1alpha2.ResourceClaimTemplateSpec")
proto.RegisterType((*ResourceClass)(nil), "k8s.io.api.resource.v1alpha2.ResourceClass")
proto.RegisterType((*ResourceClassList)(nil), "k8s.io.api.resource.v1alpha2.ResourceClassList")
+ proto.RegisterType((*ResourceClassParameters)(nil), "k8s.io.api.resource.v1alpha2.ResourceClassParameters")
+ proto.RegisterType((*ResourceClassParametersList)(nil), "k8s.io.api.resource.v1alpha2.ResourceClassParametersList")
proto.RegisterType((*ResourceClassParametersReference)(nil), "k8s.io.api.resource.v1alpha2.ResourceClassParametersReference")
+ proto.RegisterType((*ResourceFilter)(nil), "k8s.io.api.resource.v1alpha2.ResourceFilter")
+ proto.RegisterType((*ResourceFilterModel)(nil), "k8s.io.api.resource.v1alpha2.ResourceFilterModel")
proto.RegisterType((*ResourceHandle)(nil), "k8s.io.api.resource.v1alpha2.ResourceHandle")
+ proto.RegisterType((*ResourceModel)(nil), "k8s.io.api.resource.v1alpha2.ResourceModel")
+ proto.RegisterType((*ResourceRequest)(nil), "k8s.io.api.resource.v1alpha2.ResourceRequest")
+ proto.RegisterType((*ResourceRequestModel)(nil), "k8s.io.api.resource.v1alpha2.ResourceRequestModel")
+ proto.RegisterType((*ResourceSlice)(nil), "k8s.io.api.resource.v1alpha2.ResourceSlice")
+ proto.RegisterType((*ResourceSliceList)(nil), "k8s.io.api.resource.v1alpha2.ResourceSliceList")
+ proto.RegisterType((*StructuredResourceHandle)(nil), "k8s.io.api.resource.v1alpha2.StructuredResourceHandle")
+ proto.RegisterType((*VendorParameters)(nil), "k8s.io.api.resource.v1alpha2.VendorParameters")
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/resource/v1alpha2/generated.proto", fileDescriptor_3add37bbd52889e0)
+ proto.RegisterFile("k8s.io/api/resource/v1alpha2/generated.proto", fileDescriptor_4312f5b44a31ec02)
}
-var fileDescriptor_3add37bbd52889e0 = []byte{
- // 1233 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0x4f, 0x6f, 0x1b, 0x45,
- 0x14, 0xcf, 0xda, 0x6e, 0x95, 0x4c, 0x1a, 0x37, 0xd9, 0xb6, 0xe0, 0x46, 0xad, 0x63, 0xf6, 0x14,
- 0x89, 0xb2, 0xdb, 0x06, 0x54, 0x2a, 0xfe, 0x49, 0xd9, 0x06, 0x4a, 0x04, 0x4d, 0xc3,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0xa0, 0xb4, 0xa4, 0x29, 0x7e, 0x91, 0xdf, 0x1e, 0x13, 0xf3, 0x3c,
- 0xff, 0xb7, 0x07, 0xff, 0x94, 0xe6, 0x7f, 0x69, 0x48, 0xac, 0xf4, 0x0d, 0x99, 0x7d, 0x4a, 0xef,
- 0xa5, 0x02, 0x3c, 0xc2, 0x68, 0xf7, 0x51, 0x5d, 0xfe, 0x0d, 0xe0, 0x58, 0x37, 0x5f, 0x0b, 0xd5,
- 0x44, 0xe5, 0x0a, 0xae, 0xef, 0x10, 0x46, 0xb0, 0x90, 0x98, 0xe6, 0xe3, 0x67, 0xcd, 0x85, 0x27,
- 0xcf, 0x9a, 0x0b, 0x4f, 0x9f, 0x35, 0x17, 0x1e, 0x0e, 0x9a, 0xca, 0xe3, 0x41, 0x53, 0x79, 0x32,
- 0x68, 0x2a, 0x4f, 0x07, 0x4d, 0xe5, 0x8f, 0x41, 0x53, 0x79, 0xf4, 0x67, 0x73, 0xe1, 0xd3, 0x0b,
- 0xd3, 0x7e, 0x31, 0xfa, 0x27, 0x00, 0x00, 0xff, 0xff, 0x67, 0xe4, 0xf6, 0x18, 0x69, 0x12, 0x00,
- 0x00,
+var fileDescriptor_4312f5b44a31ec02 = []byte{
+ // 2242 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x1a, 0x4d, 0x6c, 0x1c, 0x57,
+ 0xd9, 0xb3, 0xbb, 0x89, 0xd7, 0x9f, 0xed, 0xb5, 0x33, 0xb6, 0xe3, 0x4d, 0xea, 0xee, 0x6e, 0x47,
+ 0x20, 0x2c, 0x70, 0x76, 0x1b, 0xa7, 0x4d, 0xa3, 0x52, 0x90, 0x32, 0x71, 0x13, 0x2c, 0x9a, 0xd4,
+ 0x7d, 0x4b, 0xdc, 0xa6, 0xfc, 0x75, 0xbc, 0xf3, 0x62, 0x0f, 0xd9, 0x9d, 0xd9, 0xcc, 0x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 0x2a, 0xca, 0xc3, 0x41, 0x45, 0x79, 0x34,
+ 0xa8, 0x28, 0x9f, 0x0c, 0x2a, 0xca, 0xbf, 0x06, 0x15, 0xe5, 0xc3, 0x7f, 0x57, 0xa6, 0xde, 0x5d,
+ 0x1b, 0xf5, 0x0f, 0x82, 0xff, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x94, 0xb7, 0xe5, 0x3f, 0x28,
+ 0x00, 0x00,
}
func (m *AllocationResult) Marshal() (dAtA []byte, err error) {
@@ -743,6 +1532,487 @@ func (m *AllocationResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *AllocationResultModel) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *AllocationResultModel) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *AllocationResultModel) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ {
+ size, err := m.NamedResources.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *DriverAllocationResult) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *DriverAllocationResult) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DriverAllocationResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.AllocationResultModel.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.VendorRequestParameters.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *DriverRequests) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *DriverRequests) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DriverRequests) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Requests) > 0 {
+ for iNdEx := len(m.Requests) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Requests[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ {
+ size, err := m.VendorParameters.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.DriverName)
+ copy(dAtA[i:], m.DriverName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.DriverName)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesAllocationResult) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesAllocationResult) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesAllocationResult) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesAttribute) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesAttribute) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.NamedResourcesAttributeValue.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesAttributeValue) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesAttributeValue) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesAttributeValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.VersionValue != nil {
+ i -= len(*m.VersionValue)
+ copy(dAtA[i:], *m.VersionValue)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.VersionValue)))
+ i--
+ dAtA[i] = 0x52
+ }
+ if m.StringSliceValue != nil {
+ {
+ size, err := m.StringSliceValue.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ if m.IntSliceValue != nil {
+ {
+ size, err := m.IntSliceValue.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ if m.IntValue != nil {
+ i = encodeVarintGenerated(dAtA, i, uint64(*m.IntValue))
+ i--
+ dAtA[i] = 0x38
+ }
+ if m.QuantityValue != nil {
+ {
+ size, err := m.QuantityValue.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.StringValue != nil {
+ i -= len(*m.StringValue)
+ copy(dAtA[i:], *m.StringValue)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(*m.StringValue)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.BoolValue != nil {
+ i--
+ if *m.BoolValue {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x10
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Selector)
+ copy(dAtA[i:], m.Selector)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Selector)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesInstance) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesInstance) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesInstance) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Attributes) > 0 {
+ for iNdEx := len(m.Attributes) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Attributes[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesIntSlice) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesIntSlice) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesIntSlice) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Ints) > 0 {
+ for iNdEx := len(m.Ints) - 1; iNdEx >= 0; iNdEx-- {
+ i = encodeVarintGenerated(dAtA, i, uint64(m.Ints[iNdEx]))
+ i--
+ dAtA[i] = 0x8
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Selector)
+ copy(dAtA[i:], m.Selector)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Selector)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesResources) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesResources) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesResources) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Instances) > 0 {
+ for iNdEx := len(m.Instances) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Instances[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *NamedResourcesStringSlice) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *NamedResourcesStringSlice) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *NamedResourcesStringSlice) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Strings) > 0 {
+ for iNdEx := len(m.Strings) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Strings[iNdEx])
+ copy(dAtA[i:], m.Strings[iNdEx])
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Strings[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
func (m *PodSchedulingContext) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1060,6 +2330,120 @@ func (m *ResourceClaimList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *ResourceClaimParameters) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceClaimParameters) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceClaimParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.DriverRequests) > 0 {
+ for iNdEx := len(m.DriverRequests) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.DriverRequests[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ i--
+ if m.Shareable {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x18
+ if m.GeneratedFrom != nil {
+ {
+ size, err := m.GeneratedFrom.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceClaimParametersList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceClaimParametersList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceClaimParametersList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *ResourceClaimParametersReference) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1395,6 +2779,16 @@ func (m *ResourceClass) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.StructuredParameters != nil {
+ i--
+ if *m.StructuredParameters {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x28
+ }
if m.SuitableNodes != nil {
{
size, err := m.SuitableNodes.MarshalToSizedBuffer(dAtA[:i])
@@ -1484,6 +2878,126 @@ func (m *ResourceClassList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *ResourceClassParameters) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceClassParameters) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceClassParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Filters) > 0 {
+ for iNdEx := len(m.Filters) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Filters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.VendorParameters) > 0 {
+ for iNdEx := len(m.VendorParameters) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.VendorParameters[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.GeneratedFrom != nil {
+ {
+ size, err := m.GeneratedFrom.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceClassParametersList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceClassParametersList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceClassParametersList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *ResourceClassParametersReference) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1527,6 +3041,79 @@ func (m *ResourceClassParametersReference) MarshalToSizedBuffer(dAtA []byte) (in
return len(dAtA) - i, nil
}
+func (m *ResourceFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.ResourceFilterModel.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.DriverName)
+ copy(dAtA[i:], m.DriverName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.DriverName)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceFilterModel) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceFilterModel) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceFilterModel) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ {
+ size, err := m.NamedResources.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
func (m *ResourceHandle) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1547,6 +3134,18 @@ func (m *ResourceHandle) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.StructuredData != nil {
+ {
+ size, err := m.StructuredData.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
i -= len(m.Data)
copy(dAtA[i:], m.Data)
i = encodeVarintGenerated(dAtA, i, uint64(len(m.Data)))
@@ -1560,6 +3159,319 @@ func (m *ResourceHandle) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *ResourceModel) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceModel) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceModel) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ {
+ size, err := m.NamedResources.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.ResourceRequestModel.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.VendorParameters.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceRequestModel) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceRequestModel) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceRequestModel) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ {
+ size, err := m.NamedResources.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceSlice) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceSlice) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceSlice) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.ResourceModel.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ i -= len(m.DriverName)
+ copy(dAtA[i:], m.DriverName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.DriverName)))
+ i--
+ dAtA[i] = 0x1a
+ i -= len(m.NodeName)
+ copy(dAtA[i:], m.NodeName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeName)))
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *ResourceSliceList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ResourceSliceList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ResourceSliceList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *StructuredResourceHandle) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StructuredResourceHandle) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StructuredResourceHandle) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Results) > 0 {
+ for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Results[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ i -= len(m.NodeName)
+ copy(dAtA[i:], m.NodeName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.NodeName)))
+ i--
+ dAtA[i] = 0x22
+ {
+ size, err := m.VendorClaimParameters.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.VendorClassParameters.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *VendorParameters) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *VendorParameters) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *VendorParameters) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Parameters.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.DriverName)
+ copy(dAtA[i:], m.DriverName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.DriverName)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
offset -= sovGenerated(v)
base := offset
@@ -1591,6 +3503,193 @@ func (m *AllocationResult) Size() (n int) {
return n
}
+func (m *AllocationResultModel) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ l = m.NamedResources.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *DriverAllocationResult) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.VendorRequestParameters.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.AllocationResultModel.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *DriverRequests) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.DriverName)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.VendorParameters.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Requests) > 0 {
+ for _, e := range m.Requests {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *NamedResourcesAllocationResult) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *NamedResourcesAttribute) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.NamedResourcesAttributeValue.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *NamedResourcesAttributeValue) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BoolValue != nil {
+ n += 2
+ }
+ if m.StringValue != nil {
+ l = len(*m.StringValue)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.QuantityValue != nil {
+ l = m.QuantityValue.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.IntValue != nil {
+ n += 1 + sovGenerated(uint64(*m.IntValue))
+ }
+ if m.IntSliceValue != nil {
+ l = m.IntSliceValue.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.StringSliceValue != nil {
+ l = m.StringSliceValue.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.VersionValue != nil {
+ l = len(*m.VersionValue)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *NamedResourcesFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Selector)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *NamedResourcesInstance) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Name)
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Attributes) > 0 {
+ for _, e := range m.Attributes {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *NamedResourcesIntSlice) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Ints) > 0 {
+ for _, e := range m.Ints {
+ n += 1 + sovGenerated(uint64(e))
+ }
+ }
+ return n
+}
+
+func (m *NamedResourcesRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Selector)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *NamedResourcesResources) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Instances) > 0 {
+ for _, e := range m.Instances {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *NamedResourcesStringSlice) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Strings) > 0 {
+ for _, s := range m.Strings {
+ l = len(s)
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
func (m *PodSchedulingContext) Size() (n int) {
if m == nil {
return 0
@@ -1704,6 +3803,45 @@ func (m *ResourceClaimList) Size() (n int) {
return n
}
+func (m *ResourceClaimParameters) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.GeneratedFrom != nil {
+ l = m.GeneratedFrom.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ n += 2
+ if len(m.DriverRequests) > 0 {
+ for _, e := range m.DriverRequests {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ResourceClaimParametersList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
func (m *ResourceClaimParametersReference) Size() (n int) {
if m == nil {
return 0
@@ -1836,6 +3974,9 @@ func (m *ResourceClass) Size() (n int) {
l = m.SuitableNodes.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if m.StructuredParameters != nil {
+ n += 2
+ }
return n
}
@@ -1856,6 +3997,50 @@ func (m *ResourceClassList) Size() (n int) {
return n
}
+func (m *ResourceClassParameters) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.GeneratedFrom != nil {
+ l = m.GeneratedFrom.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if len(m.VendorParameters) > 0 {
+ for _, e := range m.VendorParameters {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ if len(m.Filters) > 0 {
+ for _, e := range m.Filters {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *ResourceClassParametersList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
func (m *ResourceClassParametersReference) Size() (n int) {
if m == nil {
return 0
@@ -1873,6 +4058,32 @@ func (m *ResourceClassParametersReference) Size() (n int) {
return n
}
+func (m *ResourceFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.DriverName)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.ResourceFilterModel.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ResourceFilterModel) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ l = m.NamedResources.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
func (m *ResourceHandle) Size() (n int) {
if m == nil {
return 0
@@ -1883,6 +4094,117 @@ func (m *ResourceHandle) Size() (n int) {
n += 1 + l + sovGenerated(uint64(l))
l = len(m.Data)
n += 1 + l + sovGenerated(uint64(l))
+ if m.StructuredData != nil {
+ l = m.StructuredData.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *ResourceModel) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ l = m.NamedResources.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *ResourceRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.VendorParameters.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.ResourceRequestModel.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ResourceRequestModel) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.NamedResources != nil {
+ l = m.NamedResources.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *ResourceSlice) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.NodeName)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.DriverName)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.ResourceModel.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *ResourceSliceList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *StructuredResourceHandle) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.VendorClassParameters.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.VendorClaimParameters.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.NodeName)
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Results) > 0 {
+ for _, e := range m.Results {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *VendorParameters) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.DriverName)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.Parameters.Size()
+ n += 1 + l + sovGenerated(uint64(l))
return n
}
@@ -1909,6 +4231,152 @@ func (this *AllocationResult) String() string {
}, "")
return s
}
+func (this *AllocationResultModel) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&AllocationResultModel{`,
+ `NamedResources:` + strings.Replace(this.NamedResources.String(), "NamedResourcesAllocationResult", "NamedResourcesAllocationResult", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *DriverAllocationResult) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&DriverAllocationResult{`,
+ `VendorRequestParameters:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VendorRequestParameters), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
+ `AllocationResultModel:` + strings.Replace(strings.Replace(this.AllocationResultModel.String(), "AllocationResultModel", "AllocationResultModel", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *DriverRequests) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForRequests := "[]ResourceRequest{"
+ for _, f := range this.Requests {
+ repeatedStringForRequests += strings.Replace(strings.Replace(f.String(), "ResourceRequest", "ResourceRequest", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForRequests += "}"
+ s := strings.Join([]string{`&DriverRequests{`,
+ `DriverName:` + fmt.Sprintf("%v", this.DriverName) + `,`,
+ `VendorParameters:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VendorParameters), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
+ `Requests:` + repeatedStringForRequests + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesAllocationResult) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesAllocationResult{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesAttribute) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesAttribute{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `NamedResourcesAttributeValue:` + strings.Replace(strings.Replace(this.NamedResourcesAttributeValue.String(), "NamedResourcesAttributeValue", "NamedResourcesAttributeValue", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesAttributeValue) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesAttributeValue{`,
+ `BoolValue:` + valueToStringGenerated(this.BoolValue) + `,`,
+ `StringValue:` + valueToStringGenerated(this.StringValue) + `,`,
+ `QuantityValue:` + strings.Replace(fmt.Sprintf("%v", this.QuantityValue), "Quantity", "resource.Quantity", 1) + `,`,
+ `IntValue:` + valueToStringGenerated(this.IntValue) + `,`,
+ `IntSliceValue:` + strings.Replace(this.IntSliceValue.String(), "NamedResourcesIntSlice", "NamedResourcesIntSlice", 1) + `,`,
+ `StringSliceValue:` + strings.Replace(this.StringSliceValue.String(), "NamedResourcesStringSlice", "NamedResourcesStringSlice", 1) + `,`,
+ `VersionValue:` + valueToStringGenerated(this.VersionValue) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesFilter) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesFilter{`,
+ `Selector:` + fmt.Sprintf("%v", this.Selector) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesInstance) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForAttributes := "[]NamedResourcesAttribute{"
+ for _, f := range this.Attributes {
+ repeatedStringForAttributes += strings.Replace(strings.Replace(f.String(), "NamedResourcesAttribute", "NamedResourcesAttribute", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForAttributes += "}"
+ s := strings.Join([]string{`&NamedResourcesInstance{`,
+ `Name:` + fmt.Sprintf("%v", this.Name) + `,`,
+ `Attributes:` + repeatedStringForAttributes + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesIntSlice) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesIntSlice{`,
+ `Ints:` + fmt.Sprintf("%v", this.Ints) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesRequest) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesRequest{`,
+ `Selector:` + fmt.Sprintf("%v", this.Selector) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesResources) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForInstances := "[]NamedResourcesInstance{"
+ for _, f := range this.Instances {
+ repeatedStringForInstances += strings.Replace(strings.Replace(f.String(), "NamedResourcesInstance", "NamedResourcesInstance", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForInstances += "}"
+ s := strings.Join([]string{`&NamedResourcesResources{`,
+ `Instances:` + repeatedStringForInstances + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NamedResourcesStringSlice) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NamedResourcesStringSlice{`,
+ `Strings:` + fmt.Sprintf("%v", this.Strings) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *PodSchedulingContext) String() string {
if this == nil {
return "nil"
@@ -2004,6 +4472,40 @@ func (this *ResourceClaimList) String() string {
}, "")
return s
}
+func (this *ResourceClaimParameters) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForDriverRequests := "[]DriverRequests{"
+ for _, f := range this.DriverRequests {
+ repeatedStringForDriverRequests += strings.Replace(strings.Replace(f.String(), "DriverRequests", "DriverRequests", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForDriverRequests += "}"
+ s := strings.Join([]string{`&ResourceClaimParameters{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v11.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `GeneratedFrom:` + strings.Replace(this.GeneratedFrom.String(), "ResourceClaimParametersReference", "ResourceClaimParametersReference", 1) + `,`,
+ `Shareable:` + fmt.Sprintf("%v", this.Shareable) + `,`,
+ `DriverRequests:` + repeatedStringForDriverRequests + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceClaimParametersList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]ResourceClaimParameters{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ResourceClaimParameters", "ResourceClaimParameters", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&ResourceClaimParametersList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v11.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *ResourceClaimParametersReference) String() string {
if this == nil {
return "nil"
@@ -2104,6 +4606,7 @@ func (this *ResourceClass) String() string {
`DriverName:` + fmt.Sprintf("%v", this.DriverName) + `,`,
`ParametersRef:` + strings.Replace(this.ParametersRef.String(), "ResourceClassParametersReference", "ResourceClassParametersReference", 1) + `,`,
`SuitableNodes:` + strings.Replace(fmt.Sprintf("%v", this.SuitableNodes), "NodeSelector", "v1.NodeSelector", 1) + `,`,
+ `StructuredParameters:` + valueToStringGenerated(this.StructuredParameters) + `,`,
`}`,
}, "")
return s
@@ -2124,6 +4627,45 @@ func (this *ResourceClassList) String() string {
}, "")
return s
}
+func (this *ResourceClassParameters) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForVendorParameters := "[]VendorParameters{"
+ for _, f := range this.VendorParameters {
+ repeatedStringForVendorParameters += strings.Replace(strings.Replace(f.String(), "VendorParameters", "VendorParameters", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForVendorParameters += "}"
+ repeatedStringForFilters := "[]ResourceFilter{"
+ for _, f := range this.Filters {
+ repeatedStringForFilters += strings.Replace(strings.Replace(f.String(), "ResourceFilter", "ResourceFilter", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForFilters += "}"
+ s := strings.Join([]string{`&ResourceClassParameters{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v11.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `GeneratedFrom:` + strings.Replace(this.GeneratedFrom.String(), "ResourceClassParametersReference", "ResourceClassParametersReference", 1) + `,`,
+ `VendorParameters:` + repeatedStringForVendorParameters + `,`,
+ `Filters:` + repeatedStringForFilters + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceClassParametersList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]ResourceClassParameters{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ResourceClassParameters", "ResourceClassParameters", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&ResourceClassParametersList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v11.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *ResourceClassParametersReference) String() string {
if this == nil {
return "nil"
@@ -2137,6 +4679,27 @@ func (this *ResourceClassParametersReference) String() string {
}, "")
return s
}
+func (this *ResourceFilter) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ResourceFilter{`,
+ `DriverName:` + fmt.Sprintf("%v", this.DriverName) + `,`,
+ `ResourceFilterModel:` + strings.Replace(strings.Replace(this.ResourceFilterModel.String(), "ResourceFilterModel", "ResourceFilterModel", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceFilterModel) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ResourceFilterModel{`,
+ `NamedResources:` + strings.Replace(this.NamedResources.String(), "NamedResourcesFilter", "NamedResourcesFilter", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *ResourceHandle) String() string {
if this == nil {
return "nil"
@@ -2144,6 +4707,96 @@ func (this *ResourceHandle) String() string {
s := strings.Join([]string{`&ResourceHandle{`,
`DriverName:` + fmt.Sprintf("%v", this.DriverName) + `,`,
`Data:` + fmt.Sprintf("%v", this.Data) + `,`,
+ `StructuredData:` + strings.Replace(this.StructuredData.String(), "StructuredResourceHandle", "StructuredResourceHandle", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceModel) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ResourceModel{`,
+ `NamedResources:` + strings.Replace(this.NamedResources.String(), "NamedResourcesResources", "NamedResourcesResources", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceRequest) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ResourceRequest{`,
+ `VendorParameters:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VendorParameters), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
+ `ResourceRequestModel:` + strings.Replace(strings.Replace(this.ResourceRequestModel.String(), "ResourceRequestModel", "ResourceRequestModel", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceRequestModel) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ResourceRequestModel{`,
+ `NamedResources:` + strings.Replace(this.NamedResources.String(), "NamedResourcesRequest", "NamedResourcesRequest", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceSlice) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&ResourceSlice{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v11.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
+ `DriverName:` + fmt.Sprintf("%v", this.DriverName) + `,`,
+ `ResourceModel:` + strings.Replace(strings.Replace(this.ResourceModel.String(), "ResourceModel", "ResourceModel", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *ResourceSliceList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]ResourceSlice{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "ResourceSlice", "ResourceSlice", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&ResourceSliceList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v11.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *StructuredResourceHandle) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForResults := "[]DriverAllocationResult{"
+ for _, f := range this.Results {
+ repeatedStringForResults += strings.Replace(strings.Replace(f.String(), "DriverAllocationResult", "DriverAllocationResult", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForResults += "}"
+ s := strings.Join([]string{`&StructuredResourceHandle{`,
+ `VendorClassParameters:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VendorClassParameters), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
+ `VendorClaimParameters:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.VendorClaimParameters), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
+ `NodeName:` + fmt.Sprintf("%v", this.NodeName) + `,`,
+ `Results:` + repeatedStringForResults + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *VendorParameters) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&VendorParameters{`,
+ `DriverName:` + fmt.Sprintf("%v", this.DriverName) + `,`,
+ `Parameters:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Parameters), "RawExtension", "runtime.RawExtension", 1), `&`, ``, 1) + `,`,
`}`,
}, "")
return s
@@ -2296,6 +4949,1391 @@ func (m *AllocationResult) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *AllocationResultModel) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: AllocationResultModel: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: AllocationResultModel: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NamedResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.NamedResources == nil {
+ m.NamedResources = &NamedResourcesAllocationResult{}
+ }
+ if err := m.NamedResources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DriverAllocationResult) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DriverAllocationResult: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DriverAllocationResult: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VendorRequestParameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.VendorRequestParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AllocationResultModel", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.AllocationResultModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DriverRequests) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DriverRequests: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DriverRequests: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DriverName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DriverName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VendorParameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.VendorParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Requests", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Requests = append(m.Requests, ResourceRequest{})
+ if err := m.Requests[len(m.Requests)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesAllocationResult) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesAllocationResult: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesAllocationResult: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesAttribute) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesAttribute: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesAttribute: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NamedResourcesAttributeValue", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.NamedResourcesAttributeValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesAttributeValue) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesAttributeValue: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesAttributeValue: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BoolValue", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ b := bool(v != 0)
+ m.BoolValue = &b
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StringValue", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := string(dAtA[iNdEx:postIndex])
+ m.StringValue = &s
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field QuantityValue", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.QuantityValue == nil {
+ m.QuantityValue = &resource.Quantity{}
+ }
+ if err := m.QuantityValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IntValue", wireType)
+ }
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IntValue = &v
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IntSliceValue", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.IntSliceValue == nil {
+ m.IntSliceValue = &NamedResourcesIntSlice{}
+ }
+ if err := m.IntSliceValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StringSliceValue", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.StringSliceValue == nil {
+ m.StringSliceValue = &NamedResourcesStringSlice{}
+ }
+ if err := m.StringSliceValue.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VersionValue", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ s := string(dAtA[iNdEx:postIndex])
+ m.VersionValue = &s
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Selector = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesInstance) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesInstance: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesInstance: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Attributes", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Attributes = append(m.Attributes, NamedResourcesAttribute{})
+ if err := m.Attributes[len(m.Attributes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesIntSlice) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesIntSlice: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesIntSlice: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType == 0 {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Ints = append(m.Ints, v)
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ var count int
+ for _, integer := range dAtA[iNdEx:postIndex] {
+ if integer < 128 {
+ count++
+ }
+ }
+ elementCount = count
+ if elementCount != 0 && len(m.Ints) == 0 {
+ m.Ints = make([]int64, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Ints = append(m.Ints, v)
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Ints", wireType)
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Selector", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Selector = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesResources) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesResources: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesResources: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Instances", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Instances = append(m.Instances, NamedResourcesInstance{})
+ if err := m.Instances[len(m.Instances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *NamedResourcesStringSlice) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: NamedResourcesStringSlice: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: NamedResourcesStringSlice: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Strings", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Strings = append(m.Strings, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *PodSchedulingContext) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -3204,6 +7242,296 @@ func (m *ResourceClaimList) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *ResourceClaimParameters) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceClaimParameters: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceClaimParameters: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GeneratedFrom", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.GeneratedFrom == nil {
+ m.GeneratedFrom = &ResourceClaimParametersReference{}
+ }
+ if err := m.GeneratedFrom.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Shareable", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Shareable = bool(v != 0)
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DriverRequests", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DriverRequests = append(m.DriverRequests, DriverRequests{})
+ if err := m.DriverRequests[len(m.DriverRequests)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceClaimParametersList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceClaimParametersList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceClaimParametersList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, ResourceClaimParameters{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *ResourceClaimParametersReference) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -4301,6 +8629,27 @@ func (m *ResourceClass) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StructuredParameters", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ b := bool(v != 0)
+ m.StructuredParameters = &b
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -4439,6 +8788,310 @@ func (m *ResourceClassList) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *ResourceClassParameters) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceClassParameters: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceClassParameters: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GeneratedFrom", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.GeneratedFrom == nil {
+ m.GeneratedFrom = &ResourceClassParametersReference{}
+ }
+ if err := m.GeneratedFrom.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VendorParameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.VendorParameters = append(m.VendorParameters, VendorParameters{})
+ if err := m.VendorParameters[len(m.VendorParameters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Filters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Filters = append(m.Filters, ResourceFilter{})
+ if err := m.Filters[len(m.Filters)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceClassParametersList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceClassParametersList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceClassParametersList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, ResourceClassParameters{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *ResourceClassParametersReference) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -4617,6 +9270,207 @@ func (m *ResourceClassParametersReference) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *ResourceFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DriverName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DriverName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceFilterModel", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ResourceFilterModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceFilterModel) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceFilterModel: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceFilterModel: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NamedResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.NamedResources == nil {
+ m.NamedResources = &NamedResourcesFilter{}
+ }
+ if err := m.NamedResources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *ResourceHandle) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -4710,6 +9564,924 @@ func (m *ResourceHandle) Unmarshal(dAtA []byte) error {
}
m.Data = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StructuredData", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.StructuredData == nil {
+ m.StructuredData = &StructuredResourceHandle{}
+ }
+ if err := m.StructuredData.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceModel) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceModel: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceModel: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NamedResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.NamedResources == nil {
+ m.NamedResources = &NamedResourcesResources{}
+ }
+ if err := m.NamedResources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VendorParameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.VendorParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceRequestModel", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ResourceRequestModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceRequestModel) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceRequestModel: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceRequestModel: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NamedResources", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.NamedResources == nil {
+ m.NamedResources = &NamedResourcesRequest{}
+ }
+ if err := m.NamedResources.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceSlice) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceSlice: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceSlice: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.NodeName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DriverName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DriverName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceModel", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ResourceModel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ResourceSliceList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ResourceSliceList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ResourceSliceList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, ResourceSlice{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StructuredResourceHandle) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StructuredResourceHandle: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StructuredResourceHandle: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VendorClassParameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.VendorClassParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field VendorClaimParameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.VendorClaimParameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NodeName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.NodeName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Results = append(m.Results, DriverAllocationResult{})
+ if err := m.Results[len(m.Results)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *VendorParameters) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: VendorParameters: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: VendorParameters: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DriverName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DriverName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Parameters", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Parameters.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.proto
index f7748f9a1a..4a6a5bab6c 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/generated.proto
@@ -22,6 +22,7 @@ syntax = "proto2";
package k8s.io.api.resource.v1alpha2;
import "k8s.io/api/core/v1/generated.proto";
+import "k8s.io/apimachinery/pkg/api/resource/generated.proto";
import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
import "k8s.io/apimachinery/pkg/runtime/generated.proto";
import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
@@ -63,6 +64,150 @@ message AllocationResult {
optional bool shareable = 3;
}
+// AllocationResultModel must have one and only one field set.
+message AllocationResultModel {
+ // NamedResources describes the allocation result when using the named resources model.
+ //
+ // +optional
+ optional NamedResourcesAllocationResult namedResources = 1;
+}
+
+// DriverAllocationResult contains vendor parameters and the allocation result for
+// one request.
+message DriverAllocationResult {
+ // VendorRequestParameters are the per-request configuration parameters
+ // from the time that the claim was allocated.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.runtime.RawExtension vendorRequestParameters = 1;
+
+ optional AllocationResultModel allocationResultModel = 2;
+}
+
+// DriverRequests describes all resources that are needed from one particular driver.
+message DriverRequests {
+ // DriverName is the name used by the DRA driver kubelet plugin.
+ optional string driverName = 1;
+
+ // VendorParameters are arbitrary setup parameters for all requests of the
+ // claim. They are ignored while allocating the claim.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.runtime.RawExtension vendorParameters = 2;
+
+ // Requests describes all resources that are needed from the driver.
+ // +listType=atomic
+ repeated ResourceRequest requests = 3;
+}
+
+// NamedResourcesAllocationResult is used in AllocationResultModel.
+message NamedResourcesAllocationResult {
+ // Name is the name of the selected resource instance.
+ optional string name = 1;
+}
+
+// NamedResourcesAttribute is a combination of an attribute name and its value.
+message NamedResourcesAttribute {
+ // Name is unique identifier among all resource instances managed by
+ // the driver on the node. It must be a DNS subdomain.
+ optional string name = 1;
+
+ optional NamedResourcesAttributeValue attributeValue = 2;
+}
+
+// NamedResourcesAttributeValue must have one and only one field set.
+message NamedResourcesAttributeValue {
+ // QuantityValue is a quantity.
+ optional k8s.io.apimachinery.pkg.api.resource.Quantity quantity = 6;
+
+ // BoolValue is a true/false value.
+ optional bool bool = 2;
+
+ // IntValue is a 64-bit integer.
+ optional int64 int = 7;
+
+ // IntSliceValue is an array of 64-bit integers.
+ optional NamedResourcesIntSlice intSlice = 8;
+
+ // StringValue is a string.
+ optional string string = 5;
+
+ // StringSliceValue is an array of strings.
+ optional NamedResourcesStringSlice stringSlice = 9;
+
+ // VersionValue is a semantic version according to semver.org spec 2.0.0.
+ optional string version = 10;
+}
+
+// NamedResourcesFilter is used in ResourceFilterModel.
+message NamedResourcesFilter {
+ // Selector is a CEL expression which must evaluate to true if a
+ // resource instance is suitable. The language is as defined in
+ // https://kubernetes.io/docs/reference/using-api/cel/
+ //
+ // In addition, for each type NamedResourcesin AttributeValue there is a map that
+ // resolves to the corresponding value of the instance under evaluation.
+ // For example:
+ //
+ // attributes.quantity["a"].isGreaterThan(quantity("0")) &&
+ // attributes.stringslice["b"].isSorted()
+ optional string selector = 1;
+}
+
+// NamedResourcesInstance represents one individual hardware instance that can be selected based
+// on its attributes.
+message NamedResourcesInstance {
+ // Name is unique identifier among all resource instances managed by
+ // the driver on the node. It must be a DNS subdomain.
+ optional string name = 1;
+
+ // Attributes defines the attributes of this resource instance.
+ // The name of each attribute must be unique.
+ //
+ // +listType=atomic
+ // +optional
+ repeated NamedResourcesAttribute attributes = 2;
+}
+
+// NamedResourcesIntSlice contains a slice of 64-bit integers.
+message NamedResourcesIntSlice {
+ // Ints is the slice of 64-bit integers.
+ //
+ // +listType=atomic
+ repeated int64 ints = 1;
+}
+
+// NamedResourcesRequest is used in ResourceRequestModel.
+message NamedResourcesRequest {
+ // Selector is a CEL expression which must evaluate to true if a
+ // resource instance is suitable. The language is as defined in
+ // https://kubernetes.io/docs/reference/using-api/cel/
+ //
+ // In addition, for each type NamedResourcesin AttributeValue there is a map that
+ // resolves to the corresponding value of the instance under evaluation.
+ // For example:
+ //
+ // attributes.quantity["a"].isGreaterThan(quantity("0")) &&
+ // attributes.stringslice["b"].isSorted()
+ optional string selector = 1;
+}
+
+// NamedResourcesResources is used in ResourceModel.
+message NamedResourcesResources {
+ // The list of all individual resources instances currently available.
+ //
+ // +listType=atomic
+ repeated NamedResourcesInstance instances = 1;
+}
+
+// NamedResourcesStringSlice contains a slice of strings.
+message NamedResourcesStringSlice {
+ // Strings is the slice of strings.
+ //
+ // +listType=atomic
+ repeated string strings = 1;
+}
+
// PodSchedulingContext objects hold information that is needed to schedule
// a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation
// mode.
@@ -176,6 +321,45 @@ message ResourceClaimList {
repeated ResourceClaim items = 2;
}
+// ResourceClaimParameters defines resource requests for a ResourceClaim in an
+// in-tree format understood by Kubernetes.
+message ResourceClaimParameters {
+ // Standard object metadata
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // If this object was created from some other resource, then this links
+ // back to that resource. This field is used to find the in-tree representation
+ // of the claim parameters when the parameter reference of the claim refers
+ // to some unknown type.
+ // +optional
+ optional ResourceClaimParametersReference generatedFrom = 2;
+
+ // Shareable indicates whether the allocated claim is meant to be shareable
+ // by multiple consumers at the same time.
+ // +optional
+ optional bool shareable = 3;
+
+ // DriverRequests describes all resources that are needed for the
+ // allocated claim. A single claim may use resources coming from
+ // different drivers. For each driver, this array has at most one
+ // entry which then may have one or more per-driver requests.
+ //
+ // May be empty, in which case the claim can always be allocated.
+ //
+ // +listType=atomic
+ repeated DriverRequests driverRequests = 4;
+}
+
+// ResourceClaimParametersList is a collection of ResourceClaimParameters.
+message ResourceClaimParametersList {
+ // Standard list metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // Items is the list of node resource capacity objects.
+ repeated ResourceClaimParameters items = 2;
+}
+
// ResourceClaimParametersReference contains enough information to let you
// locate the parameters for a ResourceClaim. The object must be in the same
// namespace as the ResourceClaim.
@@ -257,6 +441,8 @@ message ResourceClaimStatus {
//
// +listType=map
// +listMapKey=uid
+ // +patchStrategy=merge
+ // +patchMergeKey=uid
// +optional
repeated ResourceClaimConsumerReference reservedFor = 3;
@@ -342,6 +528,11 @@ message ResourceClass {
// Setting this field is optional. If null, all nodes are candidates.
// +optional
optional k8s.io.api.core.v1.NodeSelector suitableNodes = 4;
+
+ // If and only if allocation of claims using this class is handled
+ // via structured parameters, then StructuredParameters must be set to true.
+ // +optional
+ optional bool structuredParameters = 5;
}
// ResourceClassList is a collection of classes.
@@ -354,6 +545,43 @@ message ResourceClassList {
repeated ResourceClass items = 2;
}
+// ResourceClassParameters defines resource requests for a ResourceClass in an
+// in-tree format understood by Kubernetes.
+message ResourceClassParameters {
+ // Standard object metadata
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // If this object was created from some other resource, then this links
+ // back to that resource. This field is used to find the in-tree representation
+ // of the class parameters when the parameter reference of the class refers
+ // to some unknown type.
+ // +optional
+ optional ResourceClassParametersReference generatedFrom = 2;
+
+ // VendorParameters are arbitrary setup parameters for all claims using
+ // this class. They are ignored while allocating the claim. There must
+ // not be more than one entry per driver.
+ //
+ // +listType=atomic
+ // +optional
+ repeated VendorParameters vendorParameters = 3;
+
+ // Filters describes additional contraints that must be met when using the class.
+ //
+ // +listType=atomic
+ repeated ResourceFilter filters = 4;
+}
+
+// ResourceClassParametersList is a collection of ResourceClassParameters.
+message ResourceClassParametersList {
+ // Standard list metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // Items is the list of node resource capacity objects.
+ repeated ResourceClassParameters items = 2;
+}
+
// ResourceClassParametersReference contains enough information to let you
// locate the parameters for a ResourceClass.
message ResourceClassParametersReference {
@@ -377,6 +605,22 @@ message ResourceClassParametersReference {
optional string namespace = 4;
}
+// ResourceFilter is a filter for resources from one particular driver.
+message ResourceFilter {
+ // DriverName is the name used by the DRA driver kubelet plugin.
+ optional string driverName = 1;
+
+ optional ResourceFilterModel resourceFilterModel = 2;
+}
+
+// ResourceFilterModel must have one and only one field set.
+message ResourceFilterModel {
+ // NamedResources describes a resource filter using the named resources model.
+ //
+ // +optional
+ optional NamedResourcesFilter namedResources = 1;
+}
+
// ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
message ResourceHandle {
// DriverName specifies the name of the resource driver whose kubelet
@@ -396,5 +640,110 @@ message ResourceHandle {
// future, but not reduced.
// +optional
optional string data = 2;
+
+ // If StructuredData is set, then it needs to be used instead of Data.
+ //
+ // +optional
+ optional StructuredResourceHandle structuredData = 5;
+}
+
+// ResourceModel must have one and only one field set.
+message ResourceModel {
+ // NamedResources describes available resources using the named resources model.
+ //
+ // +optional
+ optional NamedResourcesResources namedResources = 1;
+}
+
+// ResourceRequest is a request for resources from one particular driver.
+message ResourceRequest {
+ // VendorParameters are arbitrary setup parameters for the requested
+ // resource. They are ignored while allocating a claim.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.runtime.RawExtension vendorParameters = 1;
+
+ optional ResourceRequestModel resourceRequestModel = 2;
+}
+
+// ResourceRequestModel must have one and only one field set.
+message ResourceRequestModel {
+ // NamedResources describes a request for resources with the named resources model.
+ //
+ // +optional
+ optional NamedResourcesRequest namedResources = 1;
+}
+
+// ResourceSlice provides information about available
+// resources on individual nodes.
+message ResourceSlice {
+ // Standard object metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // NodeName identifies the node which provides the resources
+ // if they are local to a node.
+ //
+ // A field selector can be used to list only ResourceSlice
+ // objects with a certain node name.
+ //
+ // +optional
+ optional string nodeName = 2;
+
+ // DriverName identifies the DRA driver providing the capacity information.
+ // A field selector can be used to list only ResourceSlice
+ // objects with a certain driver name.
+ optional string driverName = 3;
+
+ optional ResourceModel resourceModel = 4;
+}
+
+// ResourceSliceList is a collection of ResourceSlices.
+message ResourceSliceList {
+ // Standard list metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // Items is the list of node resource capacity objects.
+ repeated ResourceSlice items = 2;
+}
+
+// StructuredResourceHandle is the in-tree representation of the allocation result.
+message StructuredResourceHandle {
+ // VendorClassParameters are the per-claim configuration parameters
+ // from the resource class at the time that the claim was allocated.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.runtime.RawExtension vendorClassParameters = 1;
+
+ // VendorClaimParameters are the per-claim configuration parameters
+ // from the resource claim parameters at the time that the claim was
+ // allocated.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.runtime.RawExtension vendorClaimParameters = 2;
+
+ // NodeName is the name of the node providing the necessary resources
+ // if the resources are local to a node.
+ //
+ // +optional
+ optional string nodeName = 4;
+
+ // Results lists all allocated driver resources.
+ //
+ // +listType=atomic
+ repeated DriverAllocationResult results = 5;
+}
+
+// VendorParameters are opaque parameters for one particular driver.
+message VendorParameters {
+ // DriverName is the name used by the DRA driver kubelet plugin.
+ optional string driverName = 1;
+
+ // Parameters can be arbitrary setup parameters. They are ignored while
+ // allocating a claim.
+ //
+ // +optional
+ optional k8s.io.apimachinery.pkg.runtime.RawExtension parameters = 2;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/namedresources.go b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/namedresources.go
new file mode 100644
index 0000000000..b80c5c1432
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/namedresources.go
@@ -0,0 +1,127 @@
+/*
+Copyright 2023 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1alpha2
+
+import (
+ "k8s.io/apimachinery/pkg/api/resource"
+)
+
+// NamedResourcesResources is used in ResourceModel.
+type NamedResourcesResources struct {
+ // The list of all individual resources instances currently available.
+ //
+ // +listType=atomic
+ Instances []NamedResourcesInstance `json:"instances" protobuf:"bytes,1,name=instances"`
+}
+
+// NamedResourcesInstance represents one individual hardware instance that can be selected based
+// on its attributes.
+type NamedResourcesInstance struct {
+ // Name is unique identifier among all resource instances managed by
+ // the driver on the node. It must be a DNS subdomain.
+ Name string `json:"name" protobuf:"bytes,1,name=name"`
+
+ // Attributes defines the attributes of this resource instance.
+ // The name of each attribute must be unique.
+ //
+ // +listType=atomic
+ // +optional
+ Attributes []NamedResourcesAttribute `json:"attributes,omitempty" protobuf:"bytes,2,opt,name=attributes"`
+}
+
+// NamedResourcesAttribute is a combination of an attribute name and its value.
+type NamedResourcesAttribute struct {
+ // Name is unique identifier among all resource instances managed by
+ // the driver on the node. It must be a DNS subdomain.
+ Name string `json:"name" protobuf:"bytes,1,name=name"`
+
+ NamedResourcesAttributeValue `json:",inline" protobuf:"bytes,2,opt,name=attributeValue"`
+}
+
+// The Go field names below have a Value suffix to avoid a conflict between the
+// field "String" and the corresponding method. That method is required.
+// The Kubernetes API is defined without that suffix to keep it more natural.
+
+// NamedResourcesAttributeValue must have one and only one field set.
+type NamedResourcesAttributeValue struct {
+ // QuantityValue is a quantity.
+ QuantityValue *resource.Quantity `json:"quantity,omitempty" protobuf:"bytes,6,opt,name=quantity"`
+ // BoolValue is a true/false value.
+ BoolValue *bool `json:"bool,omitempty" protobuf:"bytes,2,opt,name=bool"`
+ // IntValue is a 64-bit integer.
+ IntValue *int64 `json:"int,omitempty" protobuf:"varint,7,opt,name=int"`
+ // IntSliceValue is an array of 64-bit integers.
+ IntSliceValue *NamedResourcesIntSlice `json:"intSlice,omitempty" protobuf:"varint,8,rep,name=intSlice"`
+ // StringValue is a string.
+ StringValue *string `json:"string,omitempty" protobuf:"bytes,5,opt,name=string"`
+ // StringSliceValue is an array of strings.
+ StringSliceValue *NamedResourcesStringSlice `json:"stringSlice,omitempty" protobuf:"bytes,9,rep,name=stringSlice"`
+ // VersionValue is a semantic version according to semver.org spec 2.0.0.
+ VersionValue *string `json:"version,omitempty" protobuf:"bytes,10,opt,name=version"`
+}
+
+// NamedResourcesIntSlice contains a slice of 64-bit integers.
+type NamedResourcesIntSlice struct {
+ // Ints is the slice of 64-bit integers.
+ //
+ // +listType=atomic
+ Ints []int64 `json:"ints" protobuf:"bytes,1,opt,name=ints"`
+}
+
+// NamedResourcesStringSlice contains a slice of strings.
+type NamedResourcesStringSlice struct {
+ // Strings is the slice of strings.
+ //
+ // +listType=atomic
+ Strings []string `json:"strings" protobuf:"bytes,1,opt,name=strings"`
+}
+
+// NamedResourcesRequest is used in ResourceRequestModel.
+type NamedResourcesRequest struct {
+ // Selector is a CEL expression which must evaluate to true if a
+ // resource instance is suitable. The language is as defined in
+ // https://kubernetes.io/docs/reference/using-api/cel/
+ //
+ // In addition, for each type NamedResourcesin AttributeValue there is a map that
+ // resolves to the corresponding value of the instance under evaluation.
+ // For example:
+ //
+ // attributes.quantity["a"].isGreaterThan(quantity("0")) &&
+ // attributes.stringslice["b"].isSorted()
+ Selector string `json:"selector" protobuf:"bytes,1,name=selector"`
+}
+
+// NamedResourcesFilter is used in ResourceFilterModel.
+type NamedResourcesFilter struct {
+ // Selector is a CEL expression which must evaluate to true if a
+ // resource instance is suitable. The language is as defined in
+ // https://kubernetes.io/docs/reference/using-api/cel/
+ //
+ // In addition, for each type NamedResourcesin AttributeValue there is a map that
+ // resolves to the corresponding value of the instance under evaluation.
+ // For example:
+ //
+ // attributes.quantity["a"].isGreaterThan(quantity("0")) &&
+ // attributes.stringslice["b"].isSorted()
+ Selector string `json:"selector" protobuf:"bytes,1,name=selector"`
+}
+
+// NamedResourcesAllocationResult is used in AllocationResultModel.
+type NamedResourcesAllocationResult struct {
+ // Name is the name of the selected resource instance.
+ Name string `json:"name" protobuf:"bytes,1,name=name"`
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/register.go b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/register.go
index 6e0d7ceb98..893fb4c1e5 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/register.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/register.go
@@ -52,6 +52,12 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&ResourceClaimTemplateList{},
&PodSchedulingContext{},
&PodSchedulingContextList{},
+ &ResourceSlice{},
+ &ResourceSliceList{},
+ &ResourceClaimParameters{},
+ &ResourceClaimParametersList{},
+ &ResourceClassParameters{},
+ &ResourceClassParametersList{},
)
// Add common types
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types.go
index a614ff9dc1..9005144cf6 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types.go
@@ -19,9 +19,16 @@ package v1alpha2
import (
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/types"
)
+const (
+ // Finalizer is the finalizer that gets set for claims
+ // which were allocated through a builtin controller.
+ Finalizer = "dra.k8s.io/delete-protection"
+)
+
// +genclient
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
@@ -114,8 +121,10 @@ type ResourceClaimStatus struct {
//
// +listType=map
// +listMapKey=uid
+ // +patchStrategy=merge
+ // +patchMergeKey=uid
// +optional
- ReservedFor []ResourceClaimConsumerReference `json:"reservedFor,omitempty" protobuf:"bytes,3,opt,name=reservedFor"`
+ ReservedFor []ResourceClaimConsumerReference `json:"reservedFor,omitempty" protobuf:"bytes,3,opt,name=reservedFor" patchStrategy:"merge" patchMergeKey:"uid"`
// DeallocationRequested indicates that a ResourceClaim is to be
// deallocated.
@@ -190,11 +199,63 @@ type ResourceHandle struct {
// future, but not reduced.
// +optional
Data string `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"`
+
+ // If StructuredData is set, then it needs to be used instead of Data.
+ //
+ // +optional
+ StructuredData *StructuredResourceHandle `json:"structuredData,omitempty" protobuf:"bytes,5,opt,name=structuredData"`
}
// ResourceHandleDataMaxSize represents the maximum size of resourceHandle.data.
const ResourceHandleDataMaxSize = 16 * 1024
+// StructuredResourceHandle is the in-tree representation of the allocation result.
+type StructuredResourceHandle struct {
+ // VendorClassParameters are the per-claim configuration parameters
+ // from the resource class at the time that the claim was allocated.
+ //
+ // +optional
+ VendorClassParameters runtime.RawExtension `json:"vendorClassParameters,omitempty" protobuf:"bytes,1,opt,name=vendorClassParameters"`
+
+ // VendorClaimParameters are the per-claim configuration parameters
+ // from the resource claim parameters at the time that the claim was
+ // allocated.
+ //
+ // +optional
+ VendorClaimParameters runtime.RawExtension `json:"vendorClaimParameters,omitempty" protobuf:"bytes,2,opt,name=vendorClaimParameters"`
+
+ // NodeName is the name of the node providing the necessary resources
+ // if the resources are local to a node.
+ //
+ // +optional
+ NodeName string `json:"nodeName,omitempty" protobuf:"bytes,4,name=nodeName"`
+
+ // Results lists all allocated driver resources.
+ //
+ // +listType=atomic
+ Results []DriverAllocationResult `json:"results" protobuf:"bytes,5,name=results"`
+}
+
+// DriverAllocationResult contains vendor parameters and the allocation result for
+// one request.
+type DriverAllocationResult struct {
+ // VendorRequestParameters are the per-request configuration parameters
+ // from the time that the claim was allocated.
+ //
+ // +optional
+ VendorRequestParameters runtime.RawExtension `json:"vendorRequestParameters,omitempty" protobuf:"bytes,1,opt,name=vendorRequestParameters"`
+
+ AllocationResultModel `json:",inline" protobuf:"bytes,2,name=allocationResultModel"`
+}
+
+// AllocationResultModel must have one and only one field set.
+type AllocationResultModel struct {
+ // NamedResources describes the allocation result when using the named resources model.
+ //
+ // +optional
+ NamedResources *NamedResourcesAllocationResult `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
+}
+
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +k8s:prerelease-lifecycle-gen:introduced=1.26
@@ -345,6 +406,11 @@ type ResourceClass struct {
// Setting this field is optional. If null, all nodes are candidates.
// +optional
SuitableNodes *v1.NodeSelector `json:"suitableNodes,omitempty" protobuf:"bytes,4,opt,name=suitableNodes"`
+
+ // If and only if allocation of claims using this class is handled
+ // via structured parameters, then StructuredParameters must be set to true.
+ // +optional
+ StructuredParameters *bool `json:"structuredParameters,omitempty" protobuf:"bytes,5,opt,name=structuredParameters"`
}
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
@@ -460,3 +526,212 @@ type ResourceClaimTemplateList struct {
// Items is the list of resource claim templates.
Items []ResourceClaimTemplate `json:"items" protobuf:"bytes,2,rep,name=items"`
}
+
+// +genclient
+// +genclient:nonNamespaced
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ResourceSlice provides information about available
+// resources on individual nodes.
+type ResourceSlice struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard object metadata
+ // +optional
+ metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+
+ // NodeName identifies the node which provides the resources
+ // if they are local to a node.
+ //
+ // A field selector can be used to list only ResourceSlice
+ // objects with a certain node name.
+ //
+ // +optional
+ NodeName string `json:"nodeName,omitempty" protobuf:"bytes,2,opt,name=nodeName"`
+
+ // DriverName identifies the DRA driver providing the capacity information.
+ // A field selector can be used to list only ResourceSlice
+ // objects with a certain driver name.
+ DriverName string `json:"driverName" protobuf:"bytes,3,name=driverName"`
+
+ ResourceModel `json:",inline" protobuf:"bytes,4,name=resourceModel"`
+}
+
+// ResourceModel must have one and only one field set.
+type ResourceModel struct {
+ // NamedResources describes available resources using the named resources model.
+ //
+ // +optional
+ NamedResources *NamedResourcesResources `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ResourceSliceList is a collection of ResourceSlices.
+type ResourceSliceList struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard list metadata
+ // +optional
+ metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+
+ // Items is the list of node resource capacity objects.
+ Items []ResourceSlice `json:"items" protobuf:"bytes,2,rep,name=items"`
+}
+
+// +genclient
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ResourceClaimParameters defines resource requests for a ResourceClaim in an
+// in-tree format understood by Kubernetes.
+type ResourceClaimParameters struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard object metadata
+ metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+
+ // If this object was created from some other resource, then this links
+ // back to that resource. This field is used to find the in-tree representation
+ // of the claim parameters when the parameter reference of the claim refers
+ // to some unknown type.
+ // +optional
+ GeneratedFrom *ResourceClaimParametersReference `json:"generatedFrom,omitempty" protobuf:"bytes,2,opt,name=generatedFrom"`
+
+ // Shareable indicates whether the allocated claim is meant to be shareable
+ // by multiple consumers at the same time.
+ // +optional
+ Shareable bool `json:"shareable,omitempty" protobuf:"bytes,3,opt,name=shareable"`
+
+ // DriverRequests describes all resources that are needed for the
+ // allocated claim. A single claim may use resources coming from
+ // different drivers. For each driver, this array has at most one
+ // entry which then may have one or more per-driver requests.
+ //
+ // May be empty, in which case the claim can always be allocated.
+ //
+ // +listType=atomic
+ DriverRequests []DriverRequests `json:"driverRequests,omitempty" protobuf:"bytes,4,opt,name=driverRequests"`
+}
+
+// DriverRequests describes all resources that are needed from one particular driver.
+type DriverRequests struct {
+ // DriverName is the name used by the DRA driver kubelet plugin.
+ DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`
+
+ // VendorParameters are arbitrary setup parameters for all requests of the
+ // claim. They are ignored while allocating the claim.
+ //
+ // +optional
+ VendorParameters runtime.RawExtension `json:"vendorParameters,omitempty" protobuf:"bytes,2,opt,name=vendorParameters"`
+
+ // Requests describes all resources that are needed from the driver.
+ // +listType=atomic
+ Requests []ResourceRequest `json:"requests,omitempty" protobuf:"bytes,3,opt,name=requests"`
+}
+
+// ResourceRequest is a request for resources from one particular driver.
+type ResourceRequest struct {
+ // VendorParameters are arbitrary setup parameters for the requested
+ // resource. They are ignored while allocating a claim.
+ //
+ // +optional
+ VendorParameters runtime.RawExtension `json:"vendorParameters,omitempty" protobuf:"bytes,1,opt,name=vendorParameters"`
+
+ ResourceRequestModel `json:",inline" protobuf:"bytes,2,name=resourceRequestModel"`
+}
+
+// ResourceRequestModel must have one and only one field set.
+type ResourceRequestModel struct {
+ // NamedResources describes a request for resources with the named resources model.
+ //
+ // +optional
+ NamedResources *NamedResourcesRequest `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ResourceClaimParametersList is a collection of ResourceClaimParameters.
+type ResourceClaimParametersList struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard list metadata
+ // +optional
+ metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+
+ // Items is the list of node resource capacity objects.
+ Items []ResourceClaimParameters `json:"items" protobuf:"bytes,2,rep,name=items"`
+}
+
+// +genclient
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ResourceClassParameters defines resource requests for a ResourceClass in an
+// in-tree format understood by Kubernetes.
+type ResourceClassParameters struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard object metadata
+ metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+
+ // If this object was created from some other resource, then this links
+ // back to that resource. This field is used to find the in-tree representation
+ // of the class parameters when the parameter reference of the class refers
+ // to some unknown type.
+ // +optional
+ GeneratedFrom *ResourceClassParametersReference `json:"generatedFrom,omitempty" protobuf:"bytes,2,opt,name=generatedFrom"`
+
+ // VendorParameters are arbitrary setup parameters for all claims using
+ // this class. They are ignored while allocating the claim. There must
+ // not be more than one entry per driver.
+ //
+ // +listType=atomic
+ // +optional
+ VendorParameters []VendorParameters `json:"vendorParameters,omitempty" protobuf:"bytes,3,opt,name=vendorParameters"`
+
+ // Filters describes additional contraints that must be met when using the class.
+ //
+ // +listType=atomic
+ Filters []ResourceFilter `json:"filters,omitempty" protobuf:"bytes,4,opt,name=filters"`
+}
+
+// ResourceFilter is a filter for resources from one particular driver.
+type ResourceFilter struct {
+ // DriverName is the name used by the DRA driver kubelet plugin.
+ DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`
+
+ ResourceFilterModel `json:",inline" protobuf:"bytes,2,name=resourceFilterModel"`
+}
+
+// ResourceFilterModel must have one and only one field set.
+type ResourceFilterModel struct {
+ // NamedResources describes a resource filter using the named resources model.
+ //
+ // +optional
+ NamedResources *NamedResourcesFilter `json:"namedResources,omitempty" protobuf:"bytes,1,opt,name=namedResources"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// ResourceClassParametersList is a collection of ResourceClassParameters.
+type ResourceClassParametersList struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard list metadata
+ // +optional
+ metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+
+ // Items is the list of node resource capacity objects.
+ Items []ResourceClassParameters `json:"items" protobuf:"bytes,2,rep,name=items"`
+}
+
+// VendorParameters are opaque parameters for one particular driver.
+type VendorParameters struct {
+ // DriverName is the name used by the DRA driver kubelet plugin.
+ DriverName string `json:"driverName,omitempty" protobuf:"bytes,1,opt,name=driverName"`
+
+ // Parameters can be arbitrary setup parameters. They are ignored while
+ // allocating a claim.
+ //
+ // +optional
+ Parameters runtime.RawExtension `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go
index 474be8c85c..11f9ffbead 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/types_swagger_doc_generated.go
@@ -38,6 +38,35 @@ func (AllocationResult) SwaggerDoc() map[string]string {
return map_AllocationResult
}
+var map_AllocationResultModel = map[string]string{
+ "": "AllocationResultModel must have one and only one field set.",
+ "namedResources": "NamedResources describes the allocation result when using the named resources model.",
+}
+
+func (AllocationResultModel) SwaggerDoc() map[string]string {
+ return map_AllocationResultModel
+}
+
+var map_DriverAllocationResult = map[string]string{
+ "": "DriverAllocationResult contains vendor parameters and the allocation result for one request.",
+ "vendorRequestParameters": "VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.",
+}
+
+func (DriverAllocationResult) SwaggerDoc() map[string]string {
+ return map_DriverAllocationResult
+}
+
+var map_DriverRequests = map[string]string{
+ "": "DriverRequests describes all resources that are needed from one particular driver.",
+ "driverName": "DriverName is the name used by the DRA driver kubelet plugin.",
+ "vendorParameters": "VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim.",
+ "requests": "Requests describes all resources that are needed from the driver.",
+}
+
+func (DriverRequests) SwaggerDoc() map[string]string {
+ return map_DriverRequests
+}
+
var map_PodSchedulingContext = map[string]string{
"": "PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use \"WaitForFirstConsumer\" allocation mode.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
"metadata": "Standard object metadata",
@@ -111,6 +140,28 @@ func (ResourceClaimList) SwaggerDoc() map[string]string {
return map_ResourceClaimList
}
+var map_ResourceClaimParameters = map[string]string{
+ "": "ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.",
+ "metadata": "Standard object metadata",
+ "generatedFrom": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type.",
+ "shareable": "Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.",
+ "driverRequests": "DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.\n\nMay be empty, in which case the claim can always be allocated.",
+}
+
+func (ResourceClaimParameters) SwaggerDoc() map[string]string {
+ return map_ResourceClaimParameters
+}
+
+var map_ResourceClaimParametersList = map[string]string{
+ "": "ResourceClaimParametersList is a collection of ResourceClaimParameters.",
+ "metadata": "Standard list metadata",
+ "items": "Items is the list of node resource capacity objects.",
+}
+
+func (ResourceClaimParametersList) SwaggerDoc() map[string]string {
+ return map_ResourceClaimParametersList
+}
+
var map_ResourceClaimParametersReference = map[string]string{
"": "ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.",
"apiGroup": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
@@ -186,11 +237,12 @@ func (ResourceClaimTemplateSpec) SwaggerDoc() map[string]string {
}
var map_ResourceClass = map[string]string{
- "": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
- "metadata": "Standard object metadata",
- "driverName": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).",
- "parametersRef": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.",
- "suitableNodes": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates.",
+ "": "ResourceClass is used by administrators to influence how resources are allocated.\n\nThis is an alpha type and requires enabling the DynamicResourceAllocation feature gate.",
+ "metadata": "Standard object metadata",
+ "driverName": "DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.\n\nResource drivers have a unique name in forward domain order (acme.example.com).",
+ "parametersRef": "ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.",
+ "suitableNodes": "Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.\n\nSetting this field is optional. If null, all nodes are candidates.",
+ "structuredParameters": "If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.",
}
func (ResourceClass) SwaggerDoc() map[string]string {
@@ -207,6 +259,28 @@ func (ResourceClassList) SwaggerDoc() map[string]string {
return map_ResourceClassList
}
+var map_ResourceClassParameters = map[string]string{
+ "": "ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.",
+ "metadata": "Standard object metadata",
+ "generatedFrom": "If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type.",
+ "vendorParameters": "VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.",
+ "filters": "Filters describes additional contraints that must be met when using the class.",
+}
+
+func (ResourceClassParameters) SwaggerDoc() map[string]string {
+ return map_ResourceClassParameters
+}
+
+var map_ResourceClassParametersList = map[string]string{
+ "": "ResourceClassParametersList is a collection of ResourceClassParameters.",
+ "metadata": "Standard list metadata",
+ "items": "Items is the list of node resource capacity objects.",
+}
+
+func (ResourceClassParametersList) SwaggerDoc() map[string]string {
+ return map_ResourceClassParametersList
+}
+
var map_ResourceClassParametersReference = map[string]string{
"": "ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.",
"apiGroup": "APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.",
@@ -219,14 +293,103 @@ func (ResourceClassParametersReference) SwaggerDoc() map[string]string {
return map_ResourceClassParametersReference
}
+var map_ResourceFilter = map[string]string{
+ "": "ResourceFilter is a filter for resources from one particular driver.",
+ "driverName": "DriverName is the name used by the DRA driver kubelet plugin.",
+}
+
+func (ResourceFilter) SwaggerDoc() map[string]string {
+ return map_ResourceFilter
+}
+
+var map_ResourceFilterModel = map[string]string{
+ "": "ResourceFilterModel must have one and only one field set.",
+ "namedResources": "NamedResources describes a resource filter using the named resources model.",
+}
+
+func (ResourceFilterModel) SwaggerDoc() map[string]string {
+ return map_ResourceFilterModel
+}
+
var map_ResourceHandle = map[string]string{
- "": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.",
- "driverName": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.",
- "data": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.",
+ "": "ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.",
+ "driverName": "DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.",
+ "data": "Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.\n\nThe maximum size of this field is 16KiB. This may get increased in the future, but not reduced.",
+ "structuredData": "If StructuredData is set, then it needs to be used instead of Data.",
}
func (ResourceHandle) SwaggerDoc() map[string]string {
return map_ResourceHandle
}
+var map_ResourceModel = map[string]string{
+ "": "ResourceModel must have one and only one field set.",
+ "namedResources": "NamedResources describes available resources using the named resources model.",
+}
+
+func (ResourceModel) SwaggerDoc() map[string]string {
+ return map_ResourceModel
+}
+
+var map_ResourceRequest = map[string]string{
+ "": "ResourceRequest is a request for resources from one particular driver.",
+ "vendorParameters": "VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.",
+}
+
+func (ResourceRequest) SwaggerDoc() map[string]string {
+ return map_ResourceRequest
+}
+
+var map_ResourceRequestModel = map[string]string{
+ "": "ResourceRequestModel must have one and only one field set.",
+ "namedResources": "NamedResources describes a request for resources with the named resources model.",
+}
+
+func (ResourceRequestModel) SwaggerDoc() map[string]string {
+ return map_ResourceRequestModel
+}
+
+var map_ResourceSlice = map[string]string{
+ "": "ResourceSlice provides information about available resources on individual nodes.",
+ "metadata": "Standard object metadata",
+ "nodeName": "NodeName identifies the node which provides the resources if they are local to a node.\n\nA field selector can be used to list only ResourceSlice objects with a certain node name.",
+ "driverName": "DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.",
+}
+
+func (ResourceSlice) SwaggerDoc() map[string]string {
+ return map_ResourceSlice
+}
+
+var map_ResourceSliceList = map[string]string{
+ "": "ResourceSliceList is a collection of ResourceSlices.",
+ "metadata": "Standard list metadata",
+ "items": "Items is the list of node resource capacity objects.",
+}
+
+func (ResourceSliceList) SwaggerDoc() map[string]string {
+ return map_ResourceSliceList
+}
+
+var map_StructuredResourceHandle = map[string]string{
+ "": "StructuredResourceHandle is the in-tree representation of the allocation result.",
+ "vendorClassParameters": "VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.",
+ "vendorClaimParameters": "VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.",
+ "nodeName": "NodeName is the name of the node providing the necessary resources if the resources are local to a node.",
+ "results": "Results lists all allocated driver resources.",
+}
+
+func (StructuredResourceHandle) SwaggerDoc() map[string]string {
+ return map_StructuredResourceHandle
+}
+
+var map_VendorParameters = map[string]string{
+ "": "VendorParameters are opaque parameters for one particular driver.",
+ "driverName": "DriverName is the name used by the DRA driver kubelet plugin.",
+ "parameters": "Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.",
+}
+
+func (VendorParameters) SwaggerDoc() map[string]string {
+ return map_VendorParameters
+}
+
// AUTO-GENERATED FUNCTIONS END HERE
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go
index 89d521bf05..52de8e1ad5 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/resource/v1alpha2/zz_generated.deepcopy.go
@@ -32,7 +32,9 @@ func (in *AllocationResult) DeepCopyInto(out *AllocationResult) {
if in.ResourceHandles != nil {
in, out := &in.ResourceHandles, &out.ResourceHandles
*out = make([]ResourceHandle, len(*in))
- copy(*out, *in)
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
}
if in.AvailableOnNodes != nil {
in, out := &in.AvailableOnNodes, &out.AvailableOnNodes
@@ -52,6 +54,273 @@ func (in *AllocationResult) DeepCopy() *AllocationResult {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AllocationResultModel) DeepCopyInto(out *AllocationResultModel) {
+ *out = *in
+ if in.NamedResources != nil {
+ in, out := &in.NamedResources, &out.NamedResources
+ *out = new(NamedResourcesAllocationResult)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllocationResultModel.
+func (in *AllocationResultModel) DeepCopy() *AllocationResultModel {
+ if in == nil {
+ return nil
+ }
+ out := new(AllocationResultModel)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DriverAllocationResult) DeepCopyInto(out *DriverAllocationResult) {
+ *out = *in
+ in.VendorRequestParameters.DeepCopyInto(&out.VendorRequestParameters)
+ in.AllocationResultModel.DeepCopyInto(&out.AllocationResultModel)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverAllocationResult.
+func (in *DriverAllocationResult) DeepCopy() *DriverAllocationResult {
+ if in == nil {
+ return nil
+ }
+ out := new(DriverAllocationResult)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *DriverRequests) DeepCopyInto(out *DriverRequests) {
+ *out = *in
+ in.VendorParameters.DeepCopyInto(&out.VendorParameters)
+ if in.Requests != nil {
+ in, out := &in.Requests, &out.Requests
+ *out = make([]ResourceRequest, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DriverRequests.
+func (in *DriverRequests) DeepCopy() *DriverRequests {
+ if in == nil {
+ return nil
+ }
+ out := new(DriverRequests)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesAllocationResult) DeepCopyInto(out *NamedResourcesAllocationResult) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAllocationResult.
+func (in *NamedResourcesAllocationResult) DeepCopy() *NamedResourcesAllocationResult {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesAllocationResult)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesAttribute) DeepCopyInto(out *NamedResourcesAttribute) {
+ *out = *in
+ in.NamedResourcesAttributeValue.DeepCopyInto(&out.NamedResourcesAttributeValue)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAttribute.
+func (in *NamedResourcesAttribute) DeepCopy() *NamedResourcesAttribute {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesAttribute)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesAttributeValue) DeepCopyInto(out *NamedResourcesAttributeValue) {
+ *out = *in
+ if in.QuantityValue != nil {
+ in, out := &in.QuantityValue, &out.QuantityValue
+ x := (*in).DeepCopy()
+ *out = &x
+ }
+ if in.BoolValue != nil {
+ in, out := &in.BoolValue, &out.BoolValue
+ *out = new(bool)
+ **out = **in
+ }
+ if in.IntValue != nil {
+ in, out := &in.IntValue, &out.IntValue
+ *out = new(int64)
+ **out = **in
+ }
+ if in.IntSliceValue != nil {
+ in, out := &in.IntSliceValue, &out.IntSliceValue
+ *out = new(NamedResourcesIntSlice)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.StringValue != nil {
+ in, out := &in.StringValue, &out.StringValue
+ *out = new(string)
+ **out = **in
+ }
+ if in.StringSliceValue != nil {
+ in, out := &in.StringSliceValue, &out.StringSliceValue
+ *out = new(NamedResourcesStringSlice)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.VersionValue != nil {
+ in, out := &in.VersionValue, &out.VersionValue
+ *out = new(string)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesAttributeValue.
+func (in *NamedResourcesAttributeValue) DeepCopy() *NamedResourcesAttributeValue {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesAttributeValue)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesFilter) DeepCopyInto(out *NamedResourcesFilter) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesFilter.
+func (in *NamedResourcesFilter) DeepCopy() *NamedResourcesFilter {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesFilter)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesInstance) DeepCopyInto(out *NamedResourcesInstance) {
+ *out = *in
+ if in.Attributes != nil {
+ in, out := &in.Attributes, &out.Attributes
+ *out = make([]NamedResourcesAttribute, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesInstance.
+func (in *NamedResourcesInstance) DeepCopy() *NamedResourcesInstance {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesInstance)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesIntSlice) DeepCopyInto(out *NamedResourcesIntSlice) {
+ *out = *in
+ if in.Ints != nil {
+ in, out := &in.Ints, &out.Ints
+ *out = make([]int64, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesIntSlice.
+func (in *NamedResourcesIntSlice) DeepCopy() *NamedResourcesIntSlice {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesIntSlice)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesRequest) DeepCopyInto(out *NamedResourcesRequest) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesRequest.
+func (in *NamedResourcesRequest) DeepCopy() *NamedResourcesRequest {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesRequest)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesResources) DeepCopyInto(out *NamedResourcesResources) {
+ *out = *in
+ if in.Instances != nil {
+ in, out := &in.Instances, &out.Instances
+ *out = make([]NamedResourcesInstance, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesResources.
+func (in *NamedResourcesResources) DeepCopy() *NamedResourcesResources {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesResources)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *NamedResourcesStringSlice) DeepCopyInto(out *NamedResourcesStringSlice) {
+ *out = *in
+ if in.Strings != nil {
+ in, out := &in.Strings, &out.Strings
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamedResourcesStringSlice.
+func (in *NamedResourcesStringSlice) DeepCopy() *NamedResourcesStringSlice {
+ if in == nil {
+ return nil
+ }
+ out := new(NamedResourcesStringSlice)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *PodSchedulingContext) DeepCopyInto(out *PodSchedulingContext) {
*out = *in
@@ -234,6 +503,77 @@ func (in *ResourceClaimList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceClaimParameters) DeepCopyInto(out *ResourceClaimParameters) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ if in.GeneratedFrom != nil {
+ in, out := &in.GeneratedFrom, &out.GeneratedFrom
+ *out = new(ResourceClaimParametersReference)
+ **out = **in
+ }
+ if in.DriverRequests != nil {
+ in, out := &in.DriverRequests, &out.DriverRequests
+ *out = make([]DriverRequests, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParameters.
+func (in *ResourceClaimParameters) DeepCopy() *ResourceClaimParameters {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceClaimParameters)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ResourceClaimParameters) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceClaimParametersList) DeepCopyInto(out *ResourceClaimParametersList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ResourceClaimParameters, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClaimParametersList.
+func (in *ResourceClaimParametersList) DeepCopy() *ResourceClaimParametersList {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceClaimParametersList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ResourceClaimParametersList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ResourceClaimParametersReference) DeepCopyInto(out *ResourceClaimParametersReference) {
*out = *in
@@ -411,6 +751,11 @@ func (in *ResourceClass) DeepCopyInto(out *ResourceClass) {
*out = new(v1.NodeSelector)
(*in).DeepCopyInto(*out)
}
+ if in.StructuredParameters != nil {
+ in, out := &in.StructuredParameters, &out.StructuredParameters
+ *out = new(bool)
+ **out = **in
+ }
return
}
@@ -465,6 +810,84 @@ func (in *ResourceClassList) DeepCopyObject() runtime.Object {
return nil
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceClassParameters) DeepCopyInto(out *ResourceClassParameters) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ if in.GeneratedFrom != nil {
+ in, out := &in.GeneratedFrom, &out.GeneratedFrom
+ *out = new(ResourceClassParametersReference)
+ **out = **in
+ }
+ if in.VendorParameters != nil {
+ in, out := &in.VendorParameters, &out.VendorParameters
+ *out = make([]VendorParameters, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ if in.Filters != nil {
+ in, out := &in.Filters, &out.Filters
+ *out = make([]ResourceFilter, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParameters.
+func (in *ResourceClassParameters) DeepCopy() *ResourceClassParameters {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceClassParameters)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ResourceClassParameters) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceClassParametersList) DeepCopyInto(out *ResourceClassParametersList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ResourceClassParameters, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceClassParametersList.
+func (in *ResourceClassParametersList) DeepCopy() *ResourceClassParametersList {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceClassParametersList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ResourceClassParametersList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ResourceClassParametersReference) DeepCopyInto(out *ResourceClassParametersReference) {
*out = *in
@@ -481,9 +904,52 @@ func (in *ResourceClassParametersReference) DeepCopy() *ResourceClassParametersR
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceFilter) DeepCopyInto(out *ResourceFilter) {
+ *out = *in
+ in.ResourceFilterModel.DeepCopyInto(&out.ResourceFilterModel)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilter.
+func (in *ResourceFilter) DeepCopy() *ResourceFilter {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceFilter)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceFilterModel) DeepCopyInto(out *ResourceFilterModel) {
+ *out = *in
+ if in.NamedResources != nil {
+ in, out := &in.NamedResources, &out.NamedResources
+ *out = new(NamedResourcesFilter)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceFilterModel.
+func (in *ResourceFilterModel) DeepCopy() *ResourceFilterModel {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceFilterModel)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ResourceHandle) DeepCopyInto(out *ResourceHandle) {
*out = *in
+ if in.StructuredData != nil {
+ in, out := &in.StructuredData, &out.StructuredData
+ *out = new(StructuredResourceHandle)
+ (*in).DeepCopyInto(*out)
+ }
return
}
@@ -496,3 +962,165 @@ func (in *ResourceHandle) DeepCopy() *ResourceHandle {
in.DeepCopyInto(out)
return out
}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceModel) DeepCopyInto(out *ResourceModel) {
+ *out = *in
+ if in.NamedResources != nil {
+ in, out := &in.NamedResources, &out.NamedResources
+ *out = new(NamedResourcesResources)
+ (*in).DeepCopyInto(*out)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceModel.
+func (in *ResourceModel) DeepCopy() *ResourceModel {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceModel)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceRequest) DeepCopyInto(out *ResourceRequest) {
+ *out = *in
+ in.VendorParameters.DeepCopyInto(&out.VendorParameters)
+ in.ResourceRequestModel.DeepCopyInto(&out.ResourceRequestModel)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequest.
+func (in *ResourceRequest) DeepCopy() *ResourceRequest {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceRequest)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceRequestModel) DeepCopyInto(out *ResourceRequestModel) {
+ *out = *in
+ if in.NamedResources != nil {
+ in, out := &in.NamedResources, &out.NamedResources
+ *out = new(NamedResourcesRequest)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequestModel.
+func (in *ResourceRequestModel) DeepCopy() *ResourceRequestModel {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceRequestModel)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceSlice) DeepCopyInto(out *ResourceSlice) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ in.ResourceModel.DeepCopyInto(&out.ResourceModel)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSlice.
+func (in *ResourceSlice) DeepCopy() *ResourceSlice {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceSlice)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ResourceSlice) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceSliceList) DeepCopyInto(out *ResourceSliceList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]ResourceSlice, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceSliceList.
+func (in *ResourceSliceList) DeepCopy() *ResourceSliceList {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceSliceList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *ResourceSliceList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *StructuredResourceHandle) DeepCopyInto(out *StructuredResourceHandle) {
+ *out = *in
+ in.VendorClassParameters.DeepCopyInto(&out.VendorClassParameters)
+ in.VendorClaimParameters.DeepCopyInto(&out.VendorClaimParameters)
+ if in.Results != nil {
+ in, out := &in.Results, &out.Results
+ *out = make([]DriverAllocationResult, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StructuredResourceHandle.
+func (in *StructuredResourceHandle) DeepCopy() *StructuredResourceHandle {
+ if in == nil {
+ return nil
+ }
+ out := new(StructuredResourceHandle)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *VendorParameters) DeepCopyInto(out *VendorParameters) {
+ *out = *in
+ in.Parameters.DeepCopyInto(&out.Parameters)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VendorParameters.
+func (in *VendorParameters) DeepCopy() *VendorParameters {
+ if in == nil {
+ return nil
+ }
+ out := new(VendorParameters)
+ in.DeepCopyInto(out)
+ return out
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1/generated.pb.go
index 373c901e6b..6fef1a9379 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1/generated.proto
+// source: k8s.io/api/scheduling/v1/generated.proto
package v1
@@ -48,7 +48,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *PriorityClass) Reset() { *m = PriorityClass{} }
func (*PriorityClass) ProtoMessage() {}
func (*PriorityClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_277b2f43b72fffd5, []int{0}
+ return fileDescriptor_3f12bd05064e996e, []int{0}
}
func (m *PriorityClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -76,7 +76,7 @@ var xxx_messageInfo_PriorityClass proto.InternalMessageInfo
func (m *PriorityClassList) Reset() { *m = PriorityClassList{} }
func (*PriorityClassList) ProtoMessage() {}
func (*PriorityClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_277b2f43b72fffd5, []int{1}
+ return fileDescriptor_3f12bd05064e996e, []int{1}
}
func (m *PriorityClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,42 +107,41 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1/generated.proto", fileDescriptor_277b2f43b72fffd5)
+ proto.RegisterFile("k8s.io/api/scheduling/v1/generated.proto", fileDescriptor_3f12bd05064e996e)
}
-var fileDescriptor_277b2f43b72fffd5 = []byte{
- // 492 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x4f, 0x8b, 0xd3, 0x4e,
- 0x18, 0xc7, 0x3b, 0xdd, 0x5f, 0xa1, 0xbf, 0x29, 0x85, 0x1a, 0x11, 0x42, 0x0f, 0x69, 0xe9, 0x1e,
- 0xec, 0xc5, 0x19, 0xbb, 0xa8, 0x08, 0x0b, 0x82, 0x71, 0x41, 0x84, 0x15, 0x4b, 0x0e, 0x1e, 0xc4,
- 0x83, 0x93, 0xe4, 0xd9, 0x74, 0x6c, 0x92, 0x09, 0x33, 0x93, 0x40, 0x6f, 0xbe, 0x04, 0xdf, 0x91,
- 0xd7, 0x1e, 0xf7, 0xb8, 0xa7, 0x62, 0xe3, 0x4b, 0xf0, 0xe6, 0x49, 0x92, 0xc6, 0x4d, 0xff, 0x6c,
- 0xd1, 0x5b, 0x9e, 0xe7, 0xf9, 0x7e, 0xbe, 0x33, 0xf3, 0xcd, 0x0c, 0x7e, 0x39, 0x7f, 0xae, 0x08,
- 0x17, 0x74, 0x9e, 0xba, 0x20, 0x63, 0xd0, 0xa0, 0x68, 0x06, 0xb1, 0x2f, 0x24, 0xad, 0x06, 0x2c,
- 0xe1, 0x54, 0x79, 0x33, 0xf0, 0xd3, 0x90, 0xc7, 0x01, 0xcd, 0x26, 0x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xff, 0xff, 0xa9, 0x88, 0x2b, 0xa0, 0xc7, 0x03, 0x00, 0x00,
+var fileDescriptor_3f12bd05064e996e = []byte{
+ // 476 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x3f, 0x8f, 0xd3, 0x30,
+ 0x18, 0xc6, 0xe3, 0x1e, 0x91, 0x8a, 0xab, 0x4a, 0x25, 0x08, 0x29, 0xea, 0xe0, 0x46, 0xbd, 0x81,
+ 0x2c, 0xd8, 0xf4, 0x04, 0x08, 0xe9, 0x24, 0x86, 0x70, 0x12, 0x42, 0x3a, 0x44, 0x95, 0x81, 0x01,
+ 0x31, 0xe0, 0xa6, 0x3e, 0xd7, 0x34, 0x89, 0x23, 0xdb, 0xa9, 0xd4, 0x8d, 0x8f, 0xc0, 0x37, 0x62,
+ 0xed, 0x78, 0xe3, 0x4d, 0x15, 0x0d, 0x1f, 0x81, 0x8d, 0x09, 0x25, 0x2d, 0x97, 0xfe, 0xb9, 0x0a,
+ 0xb6, 0xbc, 0xef, 0xfb, 0xfc, 0x1e, 0xdb, 0x4f, 0x6c, 0xe8, 0x4f, 0x5f, 0x6a, 0x2c, 0x24, 0xa1,
+ 0x99, 0x20, 0x3a, 0x9a, 0xb0, 0x71, 0x1e, 0x8b, 0x94, 0x93, 0xd9, 0x80, 0x70, 0x96, 0x32, 0x45,
+ 0x0d, 0x1b, 0xe3, 0x4c, 0x49, 0x23, 0x1d, 0x77, 0xad, 0xc4, 0x34, 0x13, 0xb8, 0x56, 0xe2, 0xd9,
+ 0xa0, 0xfb, 0x84, 0x0b, 0x33, 0xc9, 0x47, 0x38, 0x92, 0x09, 0xe1, 0x92, 0x4b, 0x52, 0x01, 0xa3,
+ 0xfc, 0xaa, 0xaa, 0xaa, 0xa2, 0xfa, 0x5a, 0x1b, 0x75, 0xfb, 0x5b, 0x4b, 0x46, 0x52, 0xb1, 0x3b,
+ 0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0x32, 0xc5, 0x58, 0x52, 0x55, 0x43, 0x19, 0x8b, 0x68, 0xee, 0xda, 0x15,
+ 0x7b, 0x5e, 0x2c, 0x7b, 0x9d, 0xe1, 0xde, 0xec, 0xf7, 0xb2, 0x77, 0x7a, 0x78, 0x03, 0xf0, 0xbe,
+ 0x2c, 0x3c, 0x30, 0xed, 0x7f, 0x07, 0xf0, 0xc1, 0x4e, 0xea, 0x97, 0x42, 0x1b, 0xe7, 0xd3, 0x41,
+ 0xf2, 0xf8, 0xff, 0x92, 0x2f, 0xe9, 0x2a, 0xf7, 0xce, 0xe6, 0x88, 0xcd, 0xbf, 0x9d, 0xad, 0xd4,
+ 0x2f, 0xa1, 0x2d, 0x0c, 0x4b, 0xb4, 0xdb, 0xf0, 0x4e, 0xfc, 0xd6, 0xd9, 0x63, 0x7c, 0xec, 0x15,
+ 0xe0, 0x9d, 0x9d, 0xd5, 0xbf, 0xe7, 0x6d, 0x49, 0x87, 0x6b, 0x93, 0xe0, 0xd5, 0x62, 0x85, 0xac,
+ 0xeb, 0x15, 0xb2, 0x6e, 0x56, 0xc8, 0xfa, 0x5a, 0x20, 0xb0, 0x28, 0x10, 0xb8, 0x2e, 0x10, 0xb8,
+ 0x29, 0x10, 0xf8, 0x51, 0x20, 0xf0, 0xed, 0x27, 0xb2, 0x3e, 0xba, 0xc7, 0xde, 0xe4, 0x9f, 0x00,
+ 0x00, 0x00, 0xff, 0xff, 0x9a, 0x3d, 0x5f, 0x2e, 0xae, 0x03, 0x00, 0x00,
}
func (m *PriorityClass) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1alpha1/generated.pb.go
index d2c5d2f33f..83e504b5a3 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1alpha1/generated.proto
+// source: k8s.io/api/scheduling/v1alpha1/generated.proto
package v1alpha1
@@ -48,7 +48,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *PriorityClass) Reset() { *m = PriorityClass{} }
func (*PriorityClass) ProtoMessage() {}
func (*PriorityClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_f033641dd0b95dce, []int{0}
+ return fileDescriptor_260442fbb28d876a, []int{0}
}
func (m *PriorityClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -76,7 +76,7 @@ var xxx_messageInfo_PriorityClass proto.InternalMessageInfo
func (m *PriorityClassList) Reset() { *m = PriorityClassList{} }
func (*PriorityClassList) ProtoMessage() {}
func (*PriorityClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_f033641dd0b95dce, []int{1}
+ return fileDescriptor_260442fbb28d876a, []int{1}
}
func (m *PriorityClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,42 +107,41 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1alpha1/generated.proto", fileDescriptor_f033641dd0b95dce)
+ proto.RegisterFile("k8s.io/api/scheduling/v1alpha1/generated.proto", fileDescriptor_260442fbb28d876a)
}
-var fileDescriptor_f033641dd0b95dce = []byte{
- // 495 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_260442fbb28d876a = []byte{
+ // 480 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x31, 0x8f, 0xd3, 0x30,
- 0x14, 0xc7, 0xeb, 0x1e, 0x95, 0x8a, 0xab, 0x4a, 0x25, 0x08, 0x29, 0xea, 0xe0, 0x56, 0xbd,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 0x04,
+ 0xae, 0x72, 0x04, 0xae, 0x73, 0x04, 0x7e, 0xe4, 0x08, 0x7c, 0xfb, 0x89, 0x1a, 0x1f, 0xd1, 0xdd,
+ 0xaf, 0xf4, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xfe, 0x45, 0x7e, 0xc6, 0x03, 0x00, 0x00,
}
func (m *PriorityClass) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go
index 262caf7f1d..68e8e90d1d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/scheduling/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto
+// source: k8s.io/api/scheduling/v1beta1/generated.proto
package v1beta1
@@ -48,7 +48,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *PriorityClass) Reset() { *m = PriorityClass{} }
func (*PriorityClass) ProtoMessage() {}
func (*PriorityClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_6cd406dede2d3f42, []int{0}
+ return fileDescriptor_9edc3acf997efcf2, []int{0}
}
func (m *PriorityClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -76,7 +76,7 @@ var xxx_messageInfo_PriorityClass proto.InternalMessageInfo
func (m *PriorityClassList) Reset() { *m = PriorityClassList{} }
func (*PriorityClassList) ProtoMessage() {}
func (*PriorityClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_6cd406dede2d3f42, []int{1}
+ return fileDescriptor_9edc3acf997efcf2, []int{1}
}
func (m *PriorityClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,42 +107,41 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto", fileDescriptor_6cd406dede2d3f42)
+ proto.RegisterFile("k8s.io/api/scheduling/v1beta1/generated.proto", fileDescriptor_9edc3acf997efcf2)
}
-var fileDescriptor_6cd406dede2d3f42 = []byte{
- // 497 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x93, 0x31, 0x8f, 0xd3, 0x3e,
- 0x18, 0xc6, 0xeb, 0xde, 0xbf, 0x52, 0xff, 0xae, 0x2a, 0x95, 0x20, 0xa4, 0xa8, 0xd2, 0xa5, 0x55,
- 0x6f, 0xe9, 0x00, 0x36, 0x3d, 0x01, 0x42, 0xba, 0xad, 0x77, 0x02, 0x21, 0x81, 0x28, 0x19, 0x18,
- 0x10, 0x03, 0x4e, 0xf2, 0x5e, 0x6a, 0x9a, 0xc4, 0x91, 0xed, 0x44, 0xea, 0xc6, 0x47, 0xe0, 0x43,
- 0x31, 0x74, 0xbc, 0xf1, 0xa6, 0x8a, 0x86, 0x8f, 0xc0, 0xc6, 0x84, 0x92, 0x86, 0x4b, 0xdb, 0xc0,
- 0xc1, 0x96, 0xf7, 0x7d, 0x7f, 0xcf, 0x63, 0xfb, 0x89, 0x8d, 0x9f, 0x2d, 0x9e, 0x2a, 0xc2, 0x05,
- 0x5d, 0x24, 0x0e, 0xc8, 0x08, 0x34, 0x28, 0x9a, 0x42, 0xe4, 0x09, 0x49, 0xcb, 0x01, 0x8b, 0x39,
- 0x55, 0xee, 0x1c, 0xbc, 0x24, 0xe0, 0x91, 0x4f, 0xd3, 0x89, 0x03, 0x9a, 0x4d, 0xa8, 0x0f, 0x11,
- 0x48, 0xa6, 0xc1, 0x23, 0xb1, 0x14, 0x5a, 0x18, 0xc7, 0x5b, 0x9c, 0xb0, 0x98, 0x93, 0x0a, 0x27,
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8, 0xfb, 0x7c, 0x77, 0x68, 0xef, 0xb3, 0xc6, 0x63, 0xdc, 0xf1, 0x40, 0xb9,
- 0x92, 0xc7, 0x9a, 0x8b, 0xc8, 0xfc, 0x6f, 0x88, 0xc6, 0xff, 0x4f, 0xef, 0x96, 0xd2, 0xce, 0x45,
- 0x35, 0xb2, 0x77, 0x39, 0xc3, 0xc7, 0xbd, 0x58, 0x02, 0x84, 0x45, 0x35, 0x13, 0x01, 0x77, 0x97,
- 0x66, 0xab, 0xd0, 0x9e, 0x65, 0xeb, 0x41, 0x6f, 0x76, 0x30, 0xfb, 0xb1, 0x1e, 0x9c, 0xd4, 0x6f,
- 0x00, 0x39, 0xc4, 0xec, 0x9a, 0xe9, 0xe8, 0x0b, 0xc2, 0x77, 0xf6, 0x52, 0x7f, 0xc9, 0x95, 0x36,
- 0xde, 0xd7, 0x92, 0x27, 0xff, 0x96, 0x7c, 0xae, 0x2e, 0x72, 0xef, 0x95, 0x47, 0x6c, 0xff, 0xea,
- 0xec, 0xa4, 0xfe, 0x06, 0xb7, 0xb8, 0x86, 0x50, 0x99, 0xcd, 0xe1, 0xd1, 0xb8, 0x73, 0x7a, 0x9f,
- 0xdc, 0xfa, 0x14, 0xc8, 0xde, 0xf6, 0xaa, 0x7f, 0xf4, 0x22, 0xb7, 0xb0, 0xb7, 0x4e, 0xd3, 0xf3,
- 0xd5, 0xc6, 0x6a, 0x5c, 0x6d, 0xac, 0xc6, 0xf5, 0xc6, 0x6a, 0x7c, 0xca, 0x2c, 0xb4, 0xca, 0x2c,
- 0x74, 0x95, 0x59, 0xe8, 0x3a, 0xb3, 0xd0, 0xd7, 0xcc, 0x42, 0x9f, 0xbf, 0x59, 0x8d, 0x77, 0xc7,
- 0xb7, 0x3e, 0xd1, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x6c, 0x56, 0x80, 0xdb, 0x03, 0x00,
+var fileDescriptor_9edc3acf997efcf2 = []byte{
+ // 481 bytes of a gzipped File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0xe7, 0xf9, 0x6a, 0xd0, 0x1b, 0xef, 0xcd, 0x7e, 0xad, 0x06, 0x27,
+ 0xcd, 0x1b, 0x80, 0xf6, 0x31, 0xaf, 0x61, 0x3a, 0xfc, 0x06, 0xe0, 0x83, 0x9d, 0xd4, 0x5f, 0x33,
+ 0xa9, 0x8c, 0x8f, 0x8d, 0xe4, 0xd1, 0xdd, 0x92, 0x2f, 0xd4, 0x65, 0xee, 0xbd, 0xea, 0x88, 0xed,
+ 0x3f, 0x9d, 0xad, 0xd4, 0xdf, 0x41, 0x9d, 0x29, 0x1a, 0x4b, 0xb3, 0x65, 0x1f, 0x39, 0x9d, 0xb3,
+ 0xc7, 0xe8, 0xe0, 0x53, 0x40, 0x3b, 0xdb, 0xab, 0xff, 0xd1, 0xab, 0xc2, 0xc2, 0xdb, 0x38, 0xb9,
+ 0x17, 0xcb, 0xb5, 0xa5, 0x5d, 0xaf, 0x2d, 0xed, 0x66, 0x6d, 0x69, 0x5f, 0x72, 0x0b, 0x2c, 0x73,
+ 0x0b, 0x5c, 0xe7, 0x16, 0xb8, 0xc9, 0x2d, 0xf0, 0x3d, 0xb7, 0xc0, 0xd7, 0x1f, 0x96, 0xf6, 0xe1,
+ 0xf8, 0xe0, 0x13, 0xfd, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x04, 0x2e, 0xb0, 0xce, 0xc2, 0x03, 0x00,
0x00,
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.pb.go
index d36497432d..11c8c97c24 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/storage/v1/generated.proto
+// source: k8s.io/api/storage/v1/generated.proto
package v1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CSIDriver) Reset() { *m = CSIDriver{} }
func (*CSIDriver) ProtoMessage() {}
func (*CSIDriver) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{0}
+ return fileDescriptor_662262cc70094b41, []int{0}
}
func (m *CSIDriver) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_CSIDriver proto.InternalMessageInfo
func (m *CSIDriverList) Reset() { *m = CSIDriverList{} }
func (*CSIDriverList) ProtoMessage() {}
func (*CSIDriverList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{1}
+ return fileDescriptor_662262cc70094b41, []int{1}
}
func (m *CSIDriverList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_CSIDriverList proto.InternalMessageInfo
func (m *CSIDriverSpec) Reset() { *m = CSIDriverSpec{} }
func (*CSIDriverSpec) ProtoMessage() {}
func (*CSIDriverSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{2}
+ return fileDescriptor_662262cc70094b41, []int{2}
}
func (m *CSIDriverSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_CSIDriverSpec proto.InternalMessageInfo
func (m *CSINode) Reset() { *m = CSINode{} }
func (*CSINode) ProtoMessage() {}
func (*CSINode) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{3}
+ return fileDescriptor_662262cc70094b41, []int{3}
}
func (m *CSINode) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_CSINode proto.InternalMessageInfo
func (m *CSINodeDriver) Reset() { *m = CSINodeDriver{} }
func (*CSINodeDriver) ProtoMessage() {}
func (*CSINodeDriver) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{4}
+ return fileDescriptor_662262cc70094b41, []int{4}
}
func (m *CSINodeDriver) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -191,7 +191,7 @@ var xxx_messageInfo_CSINodeDriver proto.InternalMessageInfo
func (m *CSINodeList) Reset() { *m = CSINodeList{} }
func (*CSINodeList) ProtoMessage() {}
func (*CSINodeList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{5}
+ return fileDescriptor_662262cc70094b41, []int{5}
}
func (m *CSINodeList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -219,7 +219,7 @@ var xxx_messageInfo_CSINodeList proto.InternalMessageInfo
func (m *CSINodeSpec) Reset() { *m = CSINodeSpec{} }
func (*CSINodeSpec) ProtoMessage() {}
func (*CSINodeSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{6}
+ return fileDescriptor_662262cc70094b41, []int{6}
}
func (m *CSINodeSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -247,7 +247,7 @@ var xxx_messageInfo_CSINodeSpec proto.InternalMessageInfo
func (m *CSIStorageCapacity) Reset() { *m = CSIStorageCapacity{} }
func (*CSIStorageCapacity) ProtoMessage() {}
func (*CSIStorageCapacity) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{7}
+ return fileDescriptor_662262cc70094b41, []int{7}
}
func (m *CSIStorageCapacity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -275,7 +275,7 @@ var xxx_messageInfo_CSIStorageCapacity proto.InternalMessageInfo
func (m *CSIStorageCapacityList) Reset() { *m = CSIStorageCapacityList{} }
func (*CSIStorageCapacityList) ProtoMessage() {}
func (*CSIStorageCapacityList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{8}
+ return fileDescriptor_662262cc70094b41, []int{8}
}
func (m *CSIStorageCapacityList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +303,7 @@ var xxx_messageInfo_CSIStorageCapacityList proto.InternalMessageInfo
func (m *StorageClass) Reset() { *m = StorageClass{} }
func (*StorageClass) ProtoMessage() {}
func (*StorageClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{9}
+ return fileDescriptor_662262cc70094b41, []int{9}
}
func (m *StorageClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +331,7 @@ var xxx_messageInfo_StorageClass proto.InternalMessageInfo
func (m *StorageClassList) Reset() { *m = StorageClassList{} }
func (*StorageClassList) ProtoMessage() {}
func (*StorageClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{10}
+ return fileDescriptor_662262cc70094b41, []int{10}
}
func (m *StorageClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -359,7 +359,7 @@ var xxx_messageInfo_StorageClassList proto.InternalMessageInfo
func (m *TokenRequest) Reset() { *m = TokenRequest{} }
func (*TokenRequest) ProtoMessage() {}
func (*TokenRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{11}
+ return fileDescriptor_662262cc70094b41, []int{11}
}
func (m *TokenRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -387,7 +387,7 @@ var xxx_messageInfo_TokenRequest proto.InternalMessageInfo
func (m *VolumeAttachment) Reset() { *m = VolumeAttachment{} }
func (*VolumeAttachment) ProtoMessage() {}
func (*VolumeAttachment) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{12}
+ return fileDescriptor_662262cc70094b41, []int{12}
}
func (m *VolumeAttachment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -415,7 +415,7 @@ var xxx_messageInfo_VolumeAttachment proto.InternalMessageInfo
func (m *VolumeAttachmentList) Reset() { *m = VolumeAttachmentList{} }
func (*VolumeAttachmentList) ProtoMessage() {}
func (*VolumeAttachmentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{13}
+ return fileDescriptor_662262cc70094b41, []int{13}
}
func (m *VolumeAttachmentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -443,7 +443,7 @@ var xxx_messageInfo_VolumeAttachmentList proto.InternalMessageInfo
func (m *VolumeAttachmentSource) Reset() { *m = VolumeAttachmentSource{} }
func (*VolumeAttachmentSource) ProtoMessage() {}
func (*VolumeAttachmentSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{14}
+ return fileDescriptor_662262cc70094b41, []int{14}
}
func (m *VolumeAttachmentSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -471,7 +471,7 @@ var xxx_messageInfo_VolumeAttachmentSource proto.InternalMessageInfo
func (m *VolumeAttachmentSpec) Reset() { *m = VolumeAttachmentSpec{} }
func (*VolumeAttachmentSpec) ProtoMessage() {}
func (*VolumeAttachmentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{15}
+ return fileDescriptor_662262cc70094b41, []int{15}
}
func (m *VolumeAttachmentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -499,7 +499,7 @@ var xxx_messageInfo_VolumeAttachmentSpec proto.InternalMessageInfo
func (m *VolumeAttachmentStatus) Reset() { *m = VolumeAttachmentStatus{} }
func (*VolumeAttachmentStatus) ProtoMessage() {}
func (*VolumeAttachmentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{16}
+ return fileDescriptor_662262cc70094b41, []int{16}
}
func (m *VolumeAttachmentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -527,7 +527,7 @@ var xxx_messageInfo_VolumeAttachmentStatus proto.InternalMessageInfo
func (m *VolumeError) Reset() { *m = VolumeError{} }
func (*VolumeError) ProtoMessage() {}
func (*VolumeError) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{17}
+ return fileDescriptor_662262cc70094b41, []int{17}
}
func (m *VolumeError) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -555,7 +555,7 @@ var xxx_messageInfo_VolumeError proto.InternalMessageInfo
func (m *VolumeNodeResources) Reset() { *m = VolumeNodeResources{} }
func (*VolumeNodeResources) ProtoMessage() {}
func (*VolumeNodeResources) Descriptor() ([]byte, []int) {
- return fileDescriptor_3b530c1983504d8d, []int{18}
+ return fileDescriptor_662262cc70094b41, []int{18}
}
func (m *VolumeNodeResources) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -605,116 +605,115 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/storage/v1/generated.proto", fileDescriptor_3b530c1983504d8d)
+ proto.RegisterFile("k8s.io/api/storage/v1/generated.proto", fileDescriptor_662262cc70094b41)
}
-var fileDescriptor_3b530c1983504d8d = []byte{
- // 1670 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x73, 0x1b, 0x4b,
- 0x11, 0xf7, 0x5a, 0xf2, 0xd7, 0xc8, 0x8e, 0xed, 0xb1, 0xfd, 0x10, 0x3e, 0x48, 0xae, 0x7d, 0xaf,
- 0xc0, 0xef, 0xc1, 0x5b, 0xbd, 0x38, 0x21, 0x95, 0x0a, 0x15, 0xaa, 0xbc, 0xb6, 0x42, 0x5c, 0x58,
- 0xb6, 0x19, 0x99, 0x54, 0x8a, 0x02, 0x2a, 0xe3, 0xdd, 0xb1, 0x3c, 0xb1, 0xf6, 0x23, 0x3b, 0xb3,
- 0xc2, 0xe2, 0x04, 0x17, 0x6e, 0x54, 0xc1, 0x95, 0xbf, 0x02, 0xaa, 0xe0, 0xc2, 0x91, 0x03, 0x15,
- 0x6e, 0x29, 0x4e, 0x39, 0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x60, 0x37, 0xeb,
- 0xe0, 0x1b, 0x63, 0xae, 0xe5, 0x4e, 0x6f, 0xd6, 0x6f, 0x35, 0x90, 0xf4, 0x01, 0x0f, 0x41, 0x91,
- 0x53, 0xd5, 0x75, 0xe9, 0x0f, 0xc0, 0x1b, 0x88, 0xe4, 0x94, 0x3a, 0x24, 0xa6, 0x42, 0xb1, 0x42,
- 0x12, 0x05, 0x7e, 0x0e, 0xe6, 0x1c, 0xc2, 0x18, 0x6e, 0x29, 0xcf, 0xf1, 0xe7, 0x50, 0x23, 0xda,
- 0x46, 0x03, 0xb9, 0xfe, 0x08, 0xac, 0xe5, 0x7c, 0x56, 0xc2, 0x2a, 0x98, 0xb1, 0xe4, 0x9f, 0x01,
- 0x22, 0xa0, 0x19, 0x73, 0x41, 0x30, 0xca, 0x9e, 0xfc, 0x17, 0x20, 0xda, 0x37, 0xbf, 0xff, 0xf6,
- 0x43, 0x65, 0xea, 0xdd, 0x87, 0xca, 0xd4, 0xfb, 0x0f, 0x95, 0xa9, 0x5f, 0xf7, 0x2b, 0xda, 0xdb,
- 0x7e, 0x45, 0x7b, 0xd7, 0xaf, 0x68, 0xef, 0xfb, 0x15, 0xed, 0xdf, 0xfd, 0x8a, 0xf6, 0xfb, 0xff,
- 0x54, 0xa6, 0x7e, 0xba, 0x91, 0xfb, 0x77, 0xea, 0xd7, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0d, 0xf9,
- 0xe3, 0xd5, 0x7f, 0x15, 0x00, 0x00,
+var fileDescriptor_662262cc70094b41 = []byte{
+ // 1655 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xbd, 0x6f, 0x1b, 0xc9,
+ 0x15, 0xd7, 0x8a, 0xd4, 0xd7, 0x50, 0xb2, 0xa4, 0x91, 0xe4, 0x30, 0x2a, 0x48, 0x61, 0xed, 0x24,
+ 0xb2, 0x13, 0x2f, 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 0x00, 0xff, 0xff, 0x7a,
+ 0x55, 0x95, 0x9f, 0x66, 0x15, 0x00, 0x00,
}
func (m *CSIDriver) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.proto
index b35f708c66..06bbe3d5cf 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/generated.proto
@@ -103,7 +103,7 @@ message CSIDriverSpec {
// deployed on such a cluster and the deployment determines which mode that is, for example
// via a command line parameter of the driver.
//
- // This field is immutable.
+ // This field was immutable in Kubernetes < 1.29 and now is mutable.
//
// +optional
optional bool podInfoOnMount = 2;
@@ -150,7 +150,7 @@ message CSIDriverSpec {
// permission of the volume before being mounted.
// Refer to the specific FSGroupPolicy values for additional details.
//
- // This field is immutable.
+ // This field was immutable in Kubernetes < 1.29 and now is mutable.
//
// Defaults to ReadWriteOnceWithFSType, which will examine each volume
// to determine if Kubernetes should modify ownership and permissions of the volume.
@@ -261,6 +261,7 @@ message CSINodeDriver {
// It is possible for different nodes to use different topology keys.
// This can be empty if driver does not support topology.
// +optional
+ // +listType=atomic
repeated string topologyKeys = 3;
// allocatable represents the volume resources of a node that are available for scheduling.
@@ -286,6 +287,8 @@ message CSINodeSpec {
// If all drivers in the list are uninstalled, this can become empty.
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated CSINodeDriver drivers = 1;
}
@@ -378,8 +381,6 @@ message CSIStorageCapacityList {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// items is the list of CSIStorageCapacity objects.
- // +listType=map
- // +listMapKey=name
repeated CSIStorageCapacity items = 2;
}
@@ -411,6 +412,7 @@ message StorageClass {
// e.g. ["ro", "soft"]. Not validated -
// mount of the PVs will simply fail if one is invalid.
// +optional
+ // +listType=atomic
repeated string mountOptions = 5;
// allowVolumeExpansion shows whether the storage class allow volume expand.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types.go
index 7d7b7664b8..a94c7f44c5 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types.go
@@ -56,6 +56,7 @@ type StorageClass struct {
// e.g. ["ro", "soft"]. Not validated -
// mount of the PVs will simply fail if one is invalid.
// +optional
+ // +listType=atomic
MountOptions []string `json:"mountOptions,omitempty" protobuf:"bytes,5,opt,name=mountOptions"`
// allowVolumeExpansion shows whether the storage class allow volume expand.
@@ -306,7 +307,7 @@ type CSIDriverSpec struct {
// deployed on such a cluster and the deployment determines which mode that is, for example
// via a command line parameter of the driver.
//
- // This field is immutable.
+ // This field was immutable in Kubernetes < 1.29 and now is mutable.
//
// +optional
PodInfoOnMount *bool `json:"podInfoOnMount,omitempty" protobuf:"bytes,2,opt,name=podInfoOnMount"`
@@ -353,7 +354,7 @@ type CSIDriverSpec struct {
// permission of the volume before being mounted.
// Refer to the specific FSGroupPolicy values for additional details.
//
- // This field is immutable.
+ // This field was immutable in Kubernetes < 1.29 and now is mutable.
//
// Defaults to ReadWriteOnceWithFSType, which will examine each volume
// to determine if Kubernetes should modify ownership and permissions of the volume.
@@ -517,6 +518,8 @@ type CSINodeSpec struct {
// If all drivers in the list are uninstalled, this can become empty.
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Drivers []CSINodeDriver `json:"drivers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,rep,name=drivers"`
}
@@ -549,6 +552,7 @@ type CSINodeDriver struct {
// It is possible for different nodes to use different topology keys.
// This can be empty if driver does not support topology.
// +optional
+ // +listType=atomic
TopologyKeys []string `json:"topologyKeys" protobuf:"bytes,3,rep,name=topologyKeys"`
// allocatable represents the volume resources of a node that are available for scheduling.
@@ -680,7 +684,5 @@ type CSIStorageCapacityList struct {
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items is the list of CSIStorageCapacity objects.
- // +listType=map
- // +listMapKey=name
Items []CSIStorageCapacity `json:"items" protobuf:"bytes,2,rep,name=items"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go
index 69ee683610..89b1cbb201 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1/types_swagger_doc_generated.go
@@ -50,10 +50,10 @@ func (CSIDriverList) SwaggerDoc() map[string]string {
var map_CSIDriverSpec = map[string]string{
"": "CSIDriverSpec is the specification of a CSIDriver.",
"attachRequired": "attachRequired indicates this CSI volume driver requires an attach operation (because it implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach controller should call the attach volume interface which checks the volumeattachment status and waits until the volume is attached before proceeding to mounting. The CSI external-attacher coordinates with CSI volume driver and updates the volumeattachment status when the attach operation is complete. If the CSIDriverRegistry feature gate is enabled and the value is specified to false, the attach operation will be skipped. Otherwise the attach operation will be called.\n\nThis field is immutable.",
- "podInfoOnMount": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field is immutable.",
+ "podInfoOnMount": "podInfoOnMount indicates this CSI volume driver requires additional pod information (like podName, podUID, etc.) during mount operations, if set to true. If set to false, pod information will not be passed on mount. Default is false.\n\nThe CSI driver specifies podInfoOnMount as part of driver deployment. If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls. The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.\n\nThe following VolumeContext will be passed if podInfoOnMount is set to true. This list might grow, but the prefix will be used. \"csi.storage.k8s.io/pod.name\": pod.Name \"csi.storage.k8s.io/pod.namespace\": pod.Namespace \"csi.storage.k8s.io/pod.uid\": string(pod.UID) \"csi.storage.k8s.io/ephemeral\": \"true\" if the volume is an ephemeral inline volume\n defined by a CSIVolumeSource, otherwise \"false\"\n\n\"csi.storage.k8s.io/ephemeral\" is a new feature in Kubernetes 1.16. It is only required for drivers which support both the \"Persistent\" and \"Ephemeral\" VolumeLifecycleMode. Other drivers can leave pod info disabled and/or ignore this field. As Kubernetes 1.15 doesn't support this field, drivers can only support one mode when deployed on such a cluster and the deployment determines which mode that is, for example via a command line parameter of the driver.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.",
"volumeLifecycleModes": "volumeLifecycleModes defines what kind of volumes this CSI volume driver supports. The default if the list is empty is \"Persistent\", which is the usage defined by the CSI specification and implemented in Kubernetes via the usual PV/PVC mechanism.\n\nThe other mode is \"Ephemeral\". In this mode, volumes are defined inline inside the pod spec with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume.\n\nFor more information about implementing this mode, see https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html A driver can support one or more of these modes and more modes may be added in the future.\n\nThis field is beta. This field is immutable.",
"storageCapacity": "storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage capacity that the driver deployment will report by creating CSIStorageCapacity objects with capacity information, if set to true.\n\nThe check can be enabled immediately when deploying a driver. In that case, provisioning new volumes with late binding will pause until the driver deployment has published some suitable CSIStorageCapacity object.\n\nAlternatively, the driver can be deployed with the field unset or false and it can be flipped later when storage capacity information has been published.\n\nThis field was immutable in Kubernetes <= 1.22 and now is mutable.",
- "fsGroupPolicy": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field is immutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
+ "fsGroupPolicy": "fsGroupPolicy defines if the underlying volume supports changing ownership and permission of the volume before being mounted. Refer to the specific FSGroupPolicy values for additional details.\n\nThis field was immutable in Kubernetes < 1.29 and now is mutable.\n\nDefaults to ReadWriteOnceWithFSType, which will examine each volume to determine if Kubernetes should modify ownership and permissions of the volume. With the default policy the defined fsGroup will only be applied if a fstype is defined and the volume's access mode contains ReadWriteOnce.",
"tokenRequests": "tokenRequests indicates the CSI driver needs pods' service account tokens it is mounting volume for to do necessary authentication. Kubelet will pass the tokens in VolumeContext in the CSI NodePublishVolume calls. The CSI driver should parse and validate the following VolumeContext: \"csi.storage.k8s.io/serviceAccount.tokens\": {\n \"\": {\n \"token\": ,\n \"expirationTimestamp\": ,\n },\n ...\n}\n\nNote: Audience in each TokenRequest should be different and at most one token is empty string. To receive a new token after expiry, RequiresRepublish can be used to trigger NodePublishVolume periodically.",
"requiresRepublish": "requiresRepublish indicates the CSI driver wants `NodePublishVolume` being periodically called to reflect any possible change in the mounted volume. This field defaults to false.\n\nNote: After a successful initial NodePublishVolume call, subsequent calls to NodePublishVolume should only update the contents of the volume. New mount points will not be seen by a running container.",
"seLinuxMount": "seLinuxMount specifies if the CSI driver supports \"-o context\" mount option.\n\nWhen \"true\", the CSI driver must ensure that all volumes provided by this CSI driver can be mounted separately with different `-o context` options. This is typical for storage backends that provide volumes as filesystems on block devices or as independent shared volumes. Kubernetes will call NodeStage / NodePublish with \"-o context=xyz\" mount option when mounting a ReadWriteOncePod volume used in Pod that has explicitly set SELinux context. In the future, it may be expanded to other volume AccessModes. In any case, Kubernetes will ensure that the volume is mounted only with a single SELinux context.\n\nWhen \"false\", Kubernetes won't pass any special SELinux mount options to the driver. This is typical for volumes that represent subdirectories of a bigger shared filesystem.\n\nDefault is \"false\".",
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.pb.go
index 2b15ec3feb..86343b170a 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/storage/v1alpha1/generated.proto
+// source: k8s.io/api/storage/v1alpha1/generated.proto
package v1alpha1
@@ -50,7 +50,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CSIStorageCapacity) Reset() { *m = CSIStorageCapacity{} }
func (*CSIStorageCapacity) ProtoMessage() {}
func (*CSIStorageCapacity) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{0}
+ return fileDescriptor_02e7952e43280c27, []int{0}
}
func (m *CSIStorageCapacity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -78,7 +78,7 @@ var xxx_messageInfo_CSIStorageCapacity proto.InternalMessageInfo
func (m *CSIStorageCapacityList) Reset() { *m = CSIStorageCapacityList{} }
func (*CSIStorageCapacityList) ProtoMessage() {}
func (*CSIStorageCapacityList) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{1}
+ return fileDescriptor_02e7952e43280c27, []int{1}
}
func (m *CSIStorageCapacityList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -106,7 +106,7 @@ var xxx_messageInfo_CSIStorageCapacityList proto.InternalMessageInfo
func (m *VolumeAttachment) Reset() { *m = VolumeAttachment{} }
func (*VolumeAttachment) ProtoMessage() {}
func (*VolumeAttachment) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{2}
+ return fileDescriptor_02e7952e43280c27, []int{2}
}
func (m *VolumeAttachment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -134,7 +134,7 @@ var xxx_messageInfo_VolumeAttachment proto.InternalMessageInfo
func (m *VolumeAttachmentList) Reset() { *m = VolumeAttachmentList{} }
func (*VolumeAttachmentList) ProtoMessage() {}
func (*VolumeAttachmentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{3}
+ return fileDescriptor_02e7952e43280c27, []int{3}
}
func (m *VolumeAttachmentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -162,7 +162,7 @@ var xxx_messageInfo_VolumeAttachmentList proto.InternalMessageInfo
func (m *VolumeAttachmentSource) Reset() { *m = VolumeAttachmentSource{} }
func (*VolumeAttachmentSource) ProtoMessage() {}
func (*VolumeAttachmentSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{4}
+ return fileDescriptor_02e7952e43280c27, []int{4}
}
func (m *VolumeAttachmentSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -190,7 +190,7 @@ var xxx_messageInfo_VolumeAttachmentSource proto.InternalMessageInfo
func (m *VolumeAttachmentSpec) Reset() { *m = VolumeAttachmentSpec{} }
func (*VolumeAttachmentSpec) ProtoMessage() {}
func (*VolumeAttachmentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{5}
+ return fileDescriptor_02e7952e43280c27, []int{5}
}
func (m *VolumeAttachmentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -218,7 +218,7 @@ var xxx_messageInfo_VolumeAttachmentSpec proto.InternalMessageInfo
func (m *VolumeAttachmentStatus) Reset() { *m = VolumeAttachmentStatus{} }
func (*VolumeAttachmentStatus) ProtoMessage() {}
func (*VolumeAttachmentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{6}
+ return fileDescriptor_02e7952e43280c27, []int{6}
}
func (m *VolumeAttachmentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -246,7 +246,7 @@ var xxx_messageInfo_VolumeAttachmentStatus proto.InternalMessageInfo
func (m *VolumeAttributesClass) Reset() { *m = VolumeAttributesClass{} }
func (*VolumeAttributesClass) ProtoMessage() {}
func (*VolumeAttributesClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{7}
+ return fileDescriptor_02e7952e43280c27, []int{7}
}
func (m *VolumeAttributesClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -274,7 +274,7 @@ var xxx_messageInfo_VolumeAttributesClass proto.InternalMessageInfo
func (m *VolumeAttributesClassList) Reset() { *m = VolumeAttributesClassList{} }
func (*VolumeAttributesClassList) ProtoMessage() {}
func (*VolumeAttributesClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{8}
+ return fileDescriptor_02e7952e43280c27, []int{8}
}
func (m *VolumeAttributesClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -302,7 +302,7 @@ var xxx_messageInfo_VolumeAttributesClassList proto.InternalMessageInfo
func (m *VolumeError) Reset() { *m = VolumeError{} }
func (*VolumeError) ProtoMessage() {}
func (*VolumeError) Descriptor() ([]byte, []int) {
- return fileDescriptor_10f856db1e670dc4, []int{9}
+ return fileDescriptor_02e7952e43280c27, []int{9}
}
func (m *VolumeError) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -343,75 +343,75 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/storage/v1alpha1/generated.proto", fileDescriptor_10f856db1e670dc4)
+ proto.RegisterFile("k8s.io/api/storage/v1alpha1/generated.proto", fileDescriptor_02e7952e43280c27)
}
-var fileDescriptor_10f856db1e670dc4 = []byte{
- // 1023 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcb, 0x6e, 0x23, 0x45,
- 0x17, 0x4e, 0xe7, 0x32, 0xe3, 0xa9, 0xe4, 0xff, 0xc7, 0x53, 0xca, 0x0c, 0xc6, 0x23, 0xb5, 0x23,
- 0xaf, 0x0c, 0x62, 0xba, 0x49, 0x40, 0x68, 0x84, 0xc4, 0xc2, 0x9d, 0x64, 0x11, 0x91, 0x84, 0xa1,
- 0x1c, 0x01, 0x02, 0x16, 0x94, 0xdb, 0x07, 0xbb, 0x62, 0xf7, 0x45, 0x55, 0xd5, 0x16, 0x66, 0xc5,
- 0x8a, 0x35, 0x3b, 0xde, 0x80, 0x67, 0xc9, 0x02, 0x89, 0xd1, 0xac, 0x66, 0x65, 0x91, 0x86, 0x67,
- 0x60, 0xc1, 0x06, 0xd4, 0xd5, 0xe5, 0x76, 0xc7, 0x6d, 0x07, 0x27, 0x8b, 0xec, 0x5c, 0xe7, 0xf2,
- 0x9d, 0xdb, 0x77, 0x4e, 0x27, 0xe8, 0xa0, 0xff, 0x5c, 0x58, 0x2c, 0xb0, 0xfb, 0x51, 0x1b, 0xb8,
- 0x0f, 0x12, 0x84, 0x3d, 0x04, 0xbf, 0x13, 0x70, 0x5b, 0x2b, 0x68, 0xc8, 0x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, 0xfc, 0xd2, 0x00, 0x6f, 0x2e, 0x0d, 0xe4,
+ 0x16, 0xf6, 0xfb, 0x17, 0x97, 0xf7, 0xfb, 0xce, 0xf5, 0xab, 0xb5, 0x62, 0xc9, 0xff, 0x64, 0x80,
+ 0xac, 0x3e, 0xe1, 0x21, 0x28, 0xc5, 0x7f, 0xcf, 0xea, 0x14, 0xde, 0x5e, 0x2f, 0x85, 0x13, 0xe6,
+ 0xd2, 0xf9, 0xa7, 0x36, 0x3e, 0x61, 0x85, 0x02, 0xdf, 0x02, 0x77, 0x5d, 0x2a, 0x04, 0x19, 0xcc,
+ 0xa4, 0x71, 0x5f, 0x1b, 0xdd, 0x3d, 0x4a, 0xae, 0xf1, 0xec, 0xdd, 0xee, 0x9c, 0x5f, 0x98, 0x1b,
+ 0x2f, 0x2e, 0xcc, 0x8d, 0x57, 0x17, 0xe6, 0xc6, 0x8f, 0x91, 0x69, 0x9c, 0x47, 0xa6, 0xf1, 0x22,
+ 0x32, 0x8d, 0x57, 0x91, 0x69, 0xfc, 0x11, 0x99, 0xc6, 0xcf, 0x7f, 0x9a, 0x1b, 0x5f, 0x3d, 0xbe,
+ 0xe2, 0x3f, 0x98, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd7, 0x19, 0x2c, 0xaa, 0xdf, 0x0c, 0x00,
+ 0x00,
}
func (m *CSIStorageCapacity) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.proto
index 49e522be53..93aefd933a 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/generated.proto
@@ -119,8 +119,6 @@ message CSIStorageCapacityList {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// items is the list of CSIStorageCapacity objects.
- // +listType=map
- // +listMapKey=name
repeated CSIStorageCapacity items = 2;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/types.go
index 5957e48074..1fbf65f819 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1alpha1/types.go
@@ -247,8 +247,6 @@ type CSIStorageCapacityList struct {
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items is the list of CSIStorageCapacity objects.
- // +listType=map
- // +listMapKey=name
Items []CSIStorageCapacity `json:"items" protobuf:"bytes,2,rep,name=items"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.pb.go
index 42ef65ca0f..c503ec6511 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/api/storage/v1beta1/generated.proto
+// source: k8s.io/api/storage/v1beta1/generated.proto
package v1beta1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *CSIDriver) Reset() { *m = CSIDriver{} }
func (*CSIDriver) ProtoMessage() {}
func (*CSIDriver) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{0}
+ return fileDescriptor_73e4f72503e71065, []int{0}
}
func (m *CSIDriver) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_CSIDriver proto.InternalMessageInfo
func (m *CSIDriverList) Reset() { *m = CSIDriverList{} }
func (*CSIDriverList) ProtoMessage() {}
func (*CSIDriverList) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{1}
+ return fileDescriptor_73e4f72503e71065, []int{1}
}
func (m *CSIDriverList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_CSIDriverList proto.InternalMessageInfo
func (m *CSIDriverSpec) Reset() { *m = CSIDriverSpec{} }
func (*CSIDriverSpec) ProtoMessage() {}
func (*CSIDriverSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{2}
+ return fileDescriptor_73e4f72503e71065, []int{2}
}
func (m *CSIDriverSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_CSIDriverSpec proto.InternalMessageInfo
func (m *CSINode) Reset() { *m = CSINode{} }
func (*CSINode) ProtoMessage() {}
func (*CSINode) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{3}
+ return fileDescriptor_73e4f72503e71065, []int{3}
}
func (m *CSINode) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_CSINode proto.InternalMessageInfo
func (m *CSINodeDriver) Reset() { *m = CSINodeDriver{} }
func (*CSINodeDriver) ProtoMessage() {}
func (*CSINodeDriver) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{4}
+ return fileDescriptor_73e4f72503e71065, []int{4}
}
func (m *CSINodeDriver) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -191,7 +191,7 @@ var xxx_messageInfo_CSINodeDriver proto.InternalMessageInfo
func (m *CSINodeList) Reset() { *m = CSINodeList{} }
func (*CSINodeList) ProtoMessage() {}
func (*CSINodeList) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{5}
+ return fileDescriptor_73e4f72503e71065, []int{5}
}
func (m *CSINodeList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -219,7 +219,7 @@ var xxx_messageInfo_CSINodeList proto.InternalMessageInfo
func (m *CSINodeSpec) Reset() { *m = CSINodeSpec{} }
func (*CSINodeSpec) ProtoMessage() {}
func (*CSINodeSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{6}
+ return fileDescriptor_73e4f72503e71065, []int{6}
}
func (m *CSINodeSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -247,7 +247,7 @@ var xxx_messageInfo_CSINodeSpec proto.InternalMessageInfo
func (m *CSIStorageCapacity) Reset() { *m = CSIStorageCapacity{} }
func (*CSIStorageCapacity) ProtoMessage() {}
func (*CSIStorageCapacity) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{7}
+ return fileDescriptor_73e4f72503e71065, []int{7}
}
func (m *CSIStorageCapacity) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -275,7 +275,7 @@ var xxx_messageInfo_CSIStorageCapacity proto.InternalMessageInfo
func (m *CSIStorageCapacityList) Reset() { *m = CSIStorageCapacityList{} }
func (*CSIStorageCapacityList) ProtoMessage() {}
func (*CSIStorageCapacityList) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{8}
+ return fileDescriptor_73e4f72503e71065, []int{8}
}
func (m *CSIStorageCapacityList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +303,7 @@ var xxx_messageInfo_CSIStorageCapacityList proto.InternalMessageInfo
func (m *StorageClass) Reset() { *m = StorageClass{} }
func (*StorageClass) ProtoMessage() {}
func (*StorageClass) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{9}
+ return fileDescriptor_73e4f72503e71065, []int{9}
}
func (m *StorageClass) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +331,7 @@ var xxx_messageInfo_StorageClass proto.InternalMessageInfo
func (m *StorageClassList) Reset() { *m = StorageClassList{} }
func (*StorageClassList) ProtoMessage() {}
func (*StorageClassList) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{10}
+ return fileDescriptor_73e4f72503e71065, []int{10}
}
func (m *StorageClassList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -359,7 +359,7 @@ var xxx_messageInfo_StorageClassList proto.InternalMessageInfo
func (m *TokenRequest) Reset() { *m = TokenRequest{} }
func (*TokenRequest) ProtoMessage() {}
func (*TokenRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{11}
+ return fileDescriptor_73e4f72503e71065, []int{11}
}
func (m *TokenRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -387,7 +387,7 @@ var xxx_messageInfo_TokenRequest proto.InternalMessageInfo
func (m *VolumeAttachment) Reset() { *m = VolumeAttachment{} }
func (*VolumeAttachment) ProtoMessage() {}
func (*VolumeAttachment) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{12}
+ return fileDescriptor_73e4f72503e71065, []int{12}
}
func (m *VolumeAttachment) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -415,7 +415,7 @@ var xxx_messageInfo_VolumeAttachment proto.InternalMessageInfo
func (m *VolumeAttachmentList) Reset() { *m = VolumeAttachmentList{} }
func (*VolumeAttachmentList) ProtoMessage() {}
func (*VolumeAttachmentList) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{13}
+ return fileDescriptor_73e4f72503e71065, []int{13}
}
func (m *VolumeAttachmentList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -443,7 +443,7 @@ var xxx_messageInfo_VolumeAttachmentList proto.InternalMessageInfo
func (m *VolumeAttachmentSource) Reset() { *m = VolumeAttachmentSource{} }
func (*VolumeAttachmentSource) ProtoMessage() {}
func (*VolumeAttachmentSource) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{14}
+ return fileDescriptor_73e4f72503e71065, []int{14}
}
func (m *VolumeAttachmentSource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -471,7 +471,7 @@ var xxx_messageInfo_VolumeAttachmentSource proto.InternalMessageInfo
func (m *VolumeAttachmentSpec) Reset() { *m = VolumeAttachmentSpec{} }
func (*VolumeAttachmentSpec) ProtoMessage() {}
func (*VolumeAttachmentSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{15}
+ return fileDescriptor_73e4f72503e71065, []int{15}
}
func (m *VolumeAttachmentSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -499,7 +499,7 @@ var xxx_messageInfo_VolumeAttachmentSpec proto.InternalMessageInfo
func (m *VolumeAttachmentStatus) Reset() { *m = VolumeAttachmentStatus{} }
func (*VolumeAttachmentStatus) ProtoMessage() {}
func (*VolumeAttachmentStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{16}
+ return fileDescriptor_73e4f72503e71065, []int{16}
}
func (m *VolumeAttachmentStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -527,7 +527,7 @@ var xxx_messageInfo_VolumeAttachmentStatus proto.InternalMessageInfo
func (m *VolumeError) Reset() { *m = VolumeError{} }
func (*VolumeError) ProtoMessage() {}
func (*VolumeError) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{17}
+ return fileDescriptor_73e4f72503e71065, []int{17}
}
func (m *VolumeError) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -555,7 +555,7 @@ var xxx_messageInfo_VolumeError proto.InternalMessageInfo
func (m *VolumeNodeResources) Reset() { *m = VolumeNodeResources{} }
func (*VolumeNodeResources) ProtoMessage() {}
func (*VolumeNodeResources) Descriptor() ([]byte, []int) {
- return fileDescriptor_7d2980599fd0de80, []int{18}
+ return fileDescriptor_73e4f72503e71065, []int{18}
}
func (m *VolumeNodeResources) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -605,116 +605,115 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/api/storage/v1beta1/generated.proto", fileDescriptor_7d2980599fd0de80)
+ proto.RegisterFile("k8s.io/api/storage/v1beta1/generated.proto", fileDescriptor_73e4f72503e71065)
}
-var fileDescriptor_7d2980599fd0de80 = []byte{
- // 1672 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcd, 0x6f, 0x1b, 0x4d,
- 0x19, 0xcf, 0xc6, 0xce, 0xd7, 0x38, 0x69, 0x92, 0x49, 0x5a, 0x8c, 0x0f, 0x76, 0x64, 0x04, 0x4d,
- 0xab, 0xb2, 0x6e, 0x43, 0xa9, 0xaa, 0x4a, 0x95, 0xc8, 0x26, 0x81, 0xba, 0x8d, 0xd3, 0x74, 0x1c,
- 0x55, 0x55, 0xc5, 0x81, 0xf1, 0xee, 0xc4, 0x99, 0xc6, 0xfb, 0xd1, 0x9d, 0xd9, 0x10, 0x73, 0x82,
- 0x0b, 0x67, 0xc4, 0x81, 0xbf, 0x80, 0x7f, 0x01, 0x24, 0xb8, 0x70, 0xa4, 0x12, 0x12, 0xaa, 0xb8,
- 0xd0, 0x93, 0x45, 0xcd, 0x9f, 0xf0, 0x4a, 0xef, 0x21, 0x7a, 0x0f, 0xaf, 0x66, 0x76, 0xec, 0xfd,
- 0xb2, 0x9b, 0xe4, 0x3d, 0xf8, 0xe6, 0x79, 0x3e, 0x7e, 0xcf, 0x33, 0xf3, 0x7c, 0xae, 0xc1, 0xce,
- 0xe9, 0x63, 0xa6, 0x53, 0xb7, 0x76, 0x1a, 0xb4, 0x88, 0xef, 0x10, 0x4e, 0x58, 0xed, 0x8c, 0x38,
- 0x96, 0xeb, 0xd7, 0x14, 0x03, 0x7b, 0xb4, 0xc6, 0xb8, 0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 0x8e, 0x3e, 0xa0,
- 0x1a, 0x21, 0x19, 0x0d, 0xf8, 0xd5, 0x47, 0x60, 0x6d, 0xc4, 0x27, 0x29, 0xac, 0x80, 0x19, 0x53,
- 0xfe, 0xa5, 0x20, 0x1c, 0x9a, 0x31, 0x16, 0x44, 0x97, 0xd9, 0x91, 0xff, 0x25, 0x84, 0x74, 0xe3,
- 0x67, 0x1f, 0x3e, 0x97, 0xa7, 0x3e, 0x7e, 0x2e, 0x4f, 0x7d, 0xfa, 0x5c, 0x9e, 0xfa, 0x6d, 0xbf,
- 0xac, 0x7d, 0xe8, 0x97, 0xb5, 0x8f, 0xfd, 0xb2, 0xf6, 0xa9, 0x5f, 0xd6, 0xfe, 0xd7, 0x2f, 0x6b,
- 0x7f, 0xf8, 0x7f, 0x79, 0xea, 0x6d, 0x69, 0xfc, 0xbf, 0xb5, 0xdf, 0x06, 0x00, 0x00, 0xff, 0xff,
- 0xee, 0x44, 0x0b, 0xed, 0xe3, 0x15, 0x00, 0x00,
+var fileDescriptor_73e4f72503e71065 = []byte{
+ // 1655 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4d, 0x6f, 0x1b, 0xc5,
+ 0x1b, 0xcf, 0xc6, 0xce, 0xdb, 0x38, 0x69, 0x92, 0x49, 0xda, 0xbf, 0xff, 0x3e, 0xd8, 0x91, 0x11,
+ 0x34, 0xad, 0xca, 0xba, 0x0d, 0xa5, 0xaa, 0x2a, 0x55, 0x22, 0x9b, 0x04, 0xea, 0x36, 0x4e, 0xd3,
+ 0x71, 0x54, 0x55, 0x15, 0x07, 0xc6, 0xeb, 0x89, 0x33, 0x8d, 0xf7, 0xa5, 0x3b, 0xe3, 0x10, 0x73,
+ 0x82, 0x0b, 0x67, 0xc4, 0x81, 0x4f, 0xc0, 0x57, 0x00, 0x09, 0x2e, 0x1c, 0xa9, 0x84, 0x84, 0x2a,
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0x36, 0xc9, 0x70, 0x53, 0x21, 0xec,
+ 0xdc, 0x16, 0xf8, 0xdf, 0x90, 0x07, 0x3a, 0xd7, 0x6c, 0xfb, 0x52, 0x03, 0x61, 0x1b, 0x70, 0x1b,
+ 0xa4, 0x39, 0x55, 0x95, 0x98, 0x59, 0xbb, 0x7a, 0xb6, 0x0e, 0xb3, 0x47, 0x2d, 0x12, 0x34, 0x4a,
+ 0x71, 0x42, 0x12, 0x05, 0x5e, 0x01, 0x53, 0x16, 0x61, 0x0c, 0x37, 0x94, 0xe5, 0xe0, 0x03, 0xaa,
+ 0xe2, 0x93, 0x51, 0x8f, 0x5f, 0xbc, 0x05, 0x96, 0x06, 0x7c, 0x92, 0xc2, 0x02, 0x98, 0x30, 0xe5,
+ 0x5f, 0x0a, 0xc2, 0xa1, 0x09, 0x63, 0x46, 0x74, 0x99, 0x0d, 0xf9, 0x5f, 0x82, 0x4f, 0x37, 0x3e,
+ 0x78, 0xf1, 0x3a, 0x3f, 0xf6, 0xf2, 0x75, 0x7e, 0xec, 0xd5, 0xeb, 0xfc, 0xd8, 0xe7, 0xdd, 0xbc,
+ 0xf6, 0xa2, 0x9b, 0xd7, 0x5e, 0x76, 0xf3, 0xda, 0xab, 0x6e, 0x5e, 0xfb, 0xa3, 0x9b, 0xd7, 0xbe,
+ 0xfa, 0x33, 0x3f, 0xf6, 0x34, 0x37, 0xfc, 0xdf, 0xda, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x12,
+ 0x41, 0x18, 0xc9, 0xca, 0x15, 0x00, 0x00,
}
func (m *CSIDriver) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.proto
index b99fd39e48..f6e619d05d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/generated.proto
@@ -127,6 +127,7 @@ message CSIDriverSpec {
// This field is immutable.
//
// +optional
+ // +listType=atomic
repeated string volumeLifecycleModes = 3;
// storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage
@@ -263,6 +264,7 @@ message CSINodeDriver {
// It is possible for different nodes to use different topology keys.
// This can be empty if driver does not support topology.
// +optional
+ // +listType=atomic
repeated string topologyKeys = 3;
// allocatable represents the volume resources of a node that are available for scheduling.
@@ -287,6 +289,8 @@ message CSINodeSpec {
// If all drivers in the list are uninstalled, this can become empty.
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
repeated CSINodeDriver drivers = 1;
}
@@ -379,8 +383,6 @@ message CSIStorageCapacityList {
optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
// items is the list of CSIStorageCapacity objects.
- // +listType=map
- // +listMapKey=name
repeated CSIStorageCapacity items = 2;
}
@@ -412,6 +414,7 @@ message StorageClass {
// e.g. ["ro", "soft"]. Not validated -
// mount of the PVs will simply fail if one is invalid.
// +optional
+ // +listType=atomic
repeated string mountOptions = 5;
// allowVolumeExpansion shows whether the storage class allow volume expand
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/types.go
index 0f5ade3c13..9333a28b8d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storage/v1beta1/types.go
@@ -59,6 +59,7 @@ type StorageClass struct {
// e.g. ["ro", "soft"]. Not validated -
// mount of the PVs will simply fail if one is invalid.
// +optional
+ // +listType=atomic
MountOptions []string `json:"mountOptions,omitempty" protobuf:"bytes,5,opt,name=mountOptions"`
// allowVolumeExpansion shows whether the storage class allow volume expand
@@ -347,6 +348,7 @@ type CSIDriverSpec struct {
// This field is immutable.
//
// +optional
+ // +listType=atomic
VolumeLifecycleModes []VolumeLifecycleMode `json:"volumeLifecycleModes,omitempty" protobuf:"bytes,3,opt,name=volumeLifecycleModes"`
// storageCapacity indicates that the CSI volume driver wants pod scheduling to consider the storage
@@ -535,6 +537,8 @@ type CSINodeSpec struct {
// If all drivers in the list are uninstalled, this can become empty.
// +patchMergeKey=name
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=name
Drivers []CSINodeDriver `json:"drivers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,1,rep,name=drivers"`
}
@@ -567,6 +571,7 @@ type CSINodeDriver struct {
// It is possible for different nodes to use different topology keys.
// This can be empty if driver does not support topology.
// +optional
+ // +listType=atomic
TopologyKeys []string `json:"topologyKeys" protobuf:"bytes,3,rep,name=topologyKeys"`
// allocatable represents the volume resources of a node that are available for scheduling.
@@ -707,7 +712,5 @@ type CSIStorageCapacityList struct {
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items is the list of CSIStorageCapacity objects.
- // +listType=map
- // +listMapKey=name
Items []CSIStorageCapacity `json:"items" protobuf:"bytes,2,rep,name=items"`
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/doc.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/doc.go
new file mode 100644
index 0000000000..192f9ff3c3
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/doc.go
@@ -0,0 +1,23 @@
+/*
+Copyright 2024 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// +k8s:deepcopy-gen=package
+// +k8s:protobuf-gen=package
+// +k8s:openapi-gen=true
+// +k8s:prerelease-lifecycle-gen=true
+// +groupName=storagemigration.k8s.io
+
+package v1alpha1 // import "k8s.io/api/storagemigration/v1alpha1"
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/generated.pb.go
new file mode 100644
index 0000000000..ed57f34b59
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/generated.pb.go
@@ -0,0 +1,1688 @@
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: k8s.io/api/storagemigration/v1alpha1/generated.proto
+
+package v1alpha1
+
+import (
+ fmt "fmt"
+
+ io "io"
+
+ proto "github.com/gogo/protobuf/proto"
+
+ k8s_io_api_core_v1 "k8s.io/api/core/v1"
+
+ math "math"
+ math_bits "math/bits"
+ reflect "reflect"
+ strings "strings"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
+func (*GroupVersionResource) ProtoMessage() {}
+func (*GroupVersionResource) Descriptor() ([]byte, []int) {
+ return fileDescriptor_0117377a57b172b9, []int{0}
+}
+func (m *GroupVersionResource) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *GroupVersionResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *GroupVersionResource) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_GroupVersionResource.Merge(m, src)
+}
+func (m *GroupVersionResource) XXX_Size() int {
+ return m.Size()
+}
+func (m *GroupVersionResource) XXX_DiscardUnknown() {
+ xxx_messageInfo_GroupVersionResource.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_GroupVersionResource proto.InternalMessageInfo
+
+func (m *MigrationCondition) Reset() { *m = MigrationCondition{} }
+func (*MigrationCondition) ProtoMessage() {}
+func (*MigrationCondition) Descriptor() ([]byte, []int) {
+ return fileDescriptor_0117377a57b172b9, []int{1}
+}
+func (m *MigrationCondition) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MigrationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *MigrationCondition) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MigrationCondition.Merge(m, src)
+}
+func (m *MigrationCondition) XXX_Size() int {
+ return m.Size()
+}
+func (m *MigrationCondition) XXX_DiscardUnknown() {
+ xxx_messageInfo_MigrationCondition.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MigrationCondition proto.InternalMessageInfo
+
+func (m *StorageVersionMigration) Reset() { *m = StorageVersionMigration{} }
+func (*StorageVersionMigration) ProtoMessage() {}
+func (*StorageVersionMigration) Descriptor() ([]byte, []int) {
+ return fileDescriptor_0117377a57b172b9, []int{2}
+}
+func (m *StorageVersionMigration) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StorageVersionMigration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *StorageVersionMigration) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StorageVersionMigration.Merge(m, src)
+}
+func (m *StorageVersionMigration) XXX_Size() int {
+ return m.Size()
+}
+func (m *StorageVersionMigration) XXX_DiscardUnknown() {
+ xxx_messageInfo_StorageVersionMigration.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StorageVersionMigration proto.InternalMessageInfo
+
+func (m *StorageVersionMigrationList) Reset() { *m = StorageVersionMigrationList{} }
+func (*StorageVersionMigrationList) ProtoMessage() {}
+func (*StorageVersionMigrationList) Descriptor() ([]byte, []int) {
+ return fileDescriptor_0117377a57b172b9, []int{3}
+}
+func (m *StorageVersionMigrationList) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StorageVersionMigrationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *StorageVersionMigrationList) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StorageVersionMigrationList.Merge(m, src)
+}
+func (m *StorageVersionMigrationList) XXX_Size() int {
+ return m.Size()
+}
+func (m *StorageVersionMigrationList) XXX_DiscardUnknown() {
+ xxx_messageInfo_StorageVersionMigrationList.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StorageVersionMigrationList proto.InternalMessageInfo
+
+func (m *StorageVersionMigrationSpec) Reset() { *m = StorageVersionMigrationSpec{} }
+func (*StorageVersionMigrationSpec) ProtoMessage() {}
+func (*StorageVersionMigrationSpec) Descriptor() ([]byte, []int) {
+ return fileDescriptor_0117377a57b172b9, []int{4}
+}
+func (m *StorageVersionMigrationSpec) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StorageVersionMigrationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *StorageVersionMigrationSpec) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StorageVersionMigrationSpec.Merge(m, src)
+}
+func (m *StorageVersionMigrationSpec) XXX_Size() int {
+ return m.Size()
+}
+func (m *StorageVersionMigrationSpec) XXX_DiscardUnknown() {
+ xxx_messageInfo_StorageVersionMigrationSpec.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StorageVersionMigrationSpec proto.InternalMessageInfo
+
+func (m *StorageVersionMigrationStatus) Reset() { *m = StorageVersionMigrationStatus{} }
+func (*StorageVersionMigrationStatus) ProtoMessage() {}
+func (*StorageVersionMigrationStatus) Descriptor() ([]byte, []int) {
+ return fileDescriptor_0117377a57b172b9, []int{5}
+}
+func (m *StorageVersionMigrationStatus) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StorageVersionMigrationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *StorageVersionMigrationStatus) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StorageVersionMigrationStatus.Merge(m, src)
+}
+func (m *StorageVersionMigrationStatus) XXX_Size() int {
+ return m.Size()
+}
+func (m *StorageVersionMigrationStatus) XXX_DiscardUnknown() {
+ xxx_messageInfo_StorageVersionMigrationStatus.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StorageVersionMigrationStatus proto.InternalMessageInfo
+
+func init() {
+ proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.api.storagemigration.v1alpha1.GroupVersionResource")
+ proto.RegisterType((*MigrationCondition)(nil), "k8s.io.api.storagemigration.v1alpha1.MigrationCondition")
+ proto.RegisterType((*StorageVersionMigration)(nil), "k8s.io.api.storagemigration.v1alpha1.StorageVersionMigration")
+ proto.RegisterType((*StorageVersionMigrationList)(nil), "k8s.io.api.storagemigration.v1alpha1.StorageVersionMigrationList")
+ proto.RegisterType((*StorageVersionMigrationSpec)(nil), "k8s.io.api.storagemigration.v1alpha1.StorageVersionMigrationSpec")
+ proto.RegisterType((*StorageVersionMigrationStatus)(nil), "k8s.io.api.storagemigration.v1alpha1.StorageVersionMigrationStatus")
+}
+
+func init() {
+ proto.RegisterFile("k8s.io/api/storagemigration/v1alpha1/generated.proto", fileDescriptor_0117377a57b172b9)
+}
+
+var fileDescriptor_0117377a57b172b9 = []byte{
+ // 719 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0xcf, 0x4f, 0x13, 0x4f,
+ 0x14, 0xef, 0x42, 0x0b, 0x7c, 0xa7, 0x5f, 0xc0, 0x4c, 0x14, 0x1a, 0x8c, 0x5b, 0x53, 0x09, 0x41,
+ 0xa3, 0xb3, 0xd2, 0x10, 0x43, 0x30, 0x1e, 0x28, 0x07, 0xa3, 0x81, 0x98, 0x0c, 0xc8, 0xc1, 0x78,
+ 0x70, 0xba, 0x1d, 0xb7, 0x43, 0xd9, 0x9d, 0xcd, 0xce, 0x6c, 0x13, 0x6e, 0xfe, 0x09, 0x1e, 0xfc,
+ 0x93, 0x3c, 0x70, 0x31, 0xe1, 0xc8, 0xc5, 0x2a, 0xf5, 0xbf, 0xe0, 0x64, 0x66, 0x76, 0x76, 0xfb,
+ 0x8b, 0x62, 0x13, 0x6e, 0x3b, 0xef, 0xbd, 0xcf, 0x67, 0xde, 0x7b, 0x9f, 0x79, 0x6f, 0xc1, 0x66,
+ 0x6b, 0x4b, 0x20, 0xc6, 0x1d, 0x12, 0x32, 0x47, 0x48, 0x1e, 0x11, 0x8f, 0xfa, 0xcc, 0x8b, 0x88,
+ 0x64, 0x3c, 0x70, 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16, 0xd3, 0xc2, 0x8e, 0x06,
+ 0x36, 0xe9, 0xb2, 0x01, 0x2e, 0xe2, 0x41, 0x37, 0x1e, 0x8e, 0xaf, 0xbd, 0x3d, 0xbb, 0xb4, 0x73,
+ 0xe7, 0x97, 0x76, 0xee, 0xe2, 0xd2, 0xce, 0x7d, 0xe9, 0xda, 0xd6, 0x59, 0xd7, 0xb6, 0xce, 0xbb,
+ 0xb6, 0x75, 0xd1, 0xb5, 0xad, 0xdf, 0x5d, 0xdb, 0xfa, 0xfa, 0xc7, 0xce, 0x7d, 0x58, 0x9d, 0xe4,
+ 0xb7, 0xf9, 0x37, 0x00, 0x00, 0xff, 0xff, 0x01, 0xc1, 0xb1, 0xd8, 0x5d, 0x07, 0x00, 0x00,
+}
+
+func (m *GroupVersionResource) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *GroupVersionResource) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *GroupVersionResource) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Resource)
+ copy(dAtA[i:], m.Resource)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Resource)))
+ i--
+ dAtA[i] = 0x1a
+ i -= len(m.Version)
+ copy(dAtA[i:], m.Version)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Version)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Group)
+ copy(dAtA[i:], m.Group)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Group)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *MigrationCondition) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MigrationCondition) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MigrationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.Message)
+ copy(dAtA[i:], m.Message)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Message)))
+ i--
+ dAtA[i] = 0x2a
+ i -= len(m.Reason)
+ copy(dAtA[i:], m.Reason)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Reason)))
+ i--
+ dAtA[i] = 0x22
+ {
+ size, err := m.LastUpdateTime.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ i -= len(m.Status)
+ copy(dAtA[i:], m.Status)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Status)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *StorageVersionMigration) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StorageVersionMigration) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StorageVersionMigration) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Status.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ {
+ size, err := m.Spec.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.ObjectMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *StorageVersionMigrationList) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StorageVersionMigrationList) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StorageVersionMigrationList) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Items) > 0 {
+ for iNdEx := len(m.Items) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Items[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ {
+ size, err := m.ListMeta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *StorageVersionMigrationSpec) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StorageVersionMigrationSpec) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StorageVersionMigrationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.ContinueToken)
+ copy(dAtA[i:], m.ContinueToken)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.ContinueToken)))
+ i--
+ dAtA[i] = 0x12
+ {
+ size, err := m.Resource.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *StorageVersionMigrationStatus) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StorageVersionMigrationStatus) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StorageVersionMigrationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.ResourceVersion)
+ copy(dAtA[i:], m.ResourceVersion)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.ResourceVersion)))
+ i--
+ dAtA[i] = 0x12
+ if len(m.Conditions) > 0 {
+ for iNdEx := len(m.Conditions) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Conditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintGenerated(dAtA []byte, offset int, v uint64) int {
+ offset -= sovGenerated(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *GroupVersionResource) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Group)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Version)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Resource)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *MigrationCondition) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Type)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Status)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.LastUpdateTime.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Reason)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.Message)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *StorageVersionMigration) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ObjectMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.Spec.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = m.Status.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *StorageVersionMigrationList) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.ListMeta.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ if len(m.Items) > 0 {
+ for _, e := range m.Items {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *StorageVersionMigrationSpec) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = m.Resource.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.ContinueToken)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *StorageVersionMigrationStatus) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Conditions) > 0 {
+ for _, e := range m.Conditions {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
+ l = len(m.ResourceVersion)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func sovGenerated(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozGenerated(x uint64) (n int) {
+ return sovGenerated(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (this *GroupVersionResource) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&GroupVersionResource{`,
+ `Group:` + fmt.Sprintf("%v", this.Group) + `,`,
+ `Version:` + fmt.Sprintf("%v", this.Version) + `,`,
+ `Resource:` + fmt.Sprintf("%v", this.Resource) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *MigrationCondition) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&MigrationCondition{`,
+ `Type:` + fmt.Sprintf("%v", this.Type) + `,`,
+ `Status:` + fmt.Sprintf("%v", this.Status) + `,`,
+ `LastUpdateTime:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.LastUpdateTime), "Time", "v1.Time", 1), `&`, ``, 1) + `,`,
+ `Reason:` + fmt.Sprintf("%v", this.Reason) + `,`,
+ `Message:` + fmt.Sprintf("%v", this.Message) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *StorageVersionMigration) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&StorageVersionMigration{`,
+ `ObjectMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ObjectMeta), "ObjectMeta", "v1.ObjectMeta", 1), `&`, ``, 1) + `,`,
+ `Spec:` + strings.Replace(strings.Replace(this.Spec.String(), "StorageVersionMigrationSpec", "StorageVersionMigrationSpec", 1), `&`, ``, 1) + `,`,
+ `Status:` + strings.Replace(strings.Replace(this.Status.String(), "StorageVersionMigrationStatus", "StorageVersionMigrationStatus", 1), `&`, ``, 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *StorageVersionMigrationList) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForItems := "[]StorageVersionMigration{"
+ for _, f := range this.Items {
+ repeatedStringForItems += strings.Replace(strings.Replace(f.String(), "StorageVersionMigration", "StorageVersionMigration", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForItems += "}"
+ s := strings.Join([]string{`&StorageVersionMigrationList{`,
+ `ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
+ `Items:` + repeatedStringForItems + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *StorageVersionMigrationSpec) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&StorageVersionMigrationSpec{`,
+ `Resource:` + strings.Replace(strings.Replace(this.Resource.String(), "GroupVersionResource", "GroupVersionResource", 1), `&`, ``, 1) + `,`,
+ `ContinueToken:` + fmt.Sprintf("%v", this.ContinueToken) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *StorageVersionMigrationStatus) String() string {
+ if this == nil {
+ return "nil"
+ }
+ repeatedStringForConditions := "[]MigrationCondition{"
+ for _, f := range this.Conditions {
+ repeatedStringForConditions += strings.Replace(strings.Replace(f.String(), "MigrationCondition", "MigrationCondition", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForConditions += "}"
+ s := strings.Join([]string{`&StorageVersionMigrationStatus{`,
+ `Conditions:` + repeatedStringForConditions + `,`,
+ `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func valueToStringGenerated(v interface{}) string {
+ rv := reflect.ValueOf(v)
+ if rv.IsNil() {
+ return "nil"
+ }
+ pv := reflect.Indirect(rv).Interface()
+ return fmt.Sprintf("*%v", pv)
+}
+func (m *GroupVersionResource) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: GroupVersionResource: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: GroupVersionResource: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Group", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Group = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Version = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Resource = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MigrationCondition) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MigrationCondition: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MigrationCondition: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Type = MigrationConditionType(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Status = k8s_io_api_core_v1.ConditionStatus(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field LastUpdateTime", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.LastUpdateTime.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Reason", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Reason = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Message", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Message = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StorageVersionMigration) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StorageVersionMigration: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StorageVersionMigration: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ObjectMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ObjectMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Spec", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Spec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Status.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StorageVersionMigrationList) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StorageVersionMigrationList: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StorageVersionMigrationList: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ListMeta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.ListMeta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Items", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Items = append(m.Items, StorageVersionMigration{})
+ if err := m.Items[len(m.Items)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StorageVersionMigrationSpec) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StorageVersionMigrationSpec: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StorageVersionMigrationSpec: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Resource", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Resource.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ContinueToken", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ContinueToken = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StorageVersionMigrationStatus) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StorageVersionMigrationStatus: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StorageVersionMigrationStatus: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Conditions", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Conditions = append(m.Conditions, MigrationCondition{})
+ if err := m.Conditions[len(m.Conditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ResourceVersion = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipGenerated(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthGenerated
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupGenerated
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthGenerated
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/generated.proto
new file mode 100644
index 0000000000..fc8a3346e2
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/generated.proto
@@ -0,0 +1,127 @@
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+
+// This file was autogenerated by go-to-protobuf. Do not edit it manually!
+
+syntax = "proto2";
+
+package k8s.io.api.storagemigration.v1alpha1;
+
+import "k8s.io/api/core/v1/generated.proto";
+import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
+import "k8s.io/apimachinery/pkg/runtime/generated.proto";
+import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
+
+// Package-wide variables from generator "generated".
+option go_package = "k8s.io/api/storagemigration/v1alpha1";
+
+// The names of the group, the version, and the resource.
+message GroupVersionResource {
+ // The name of the group.
+ optional string group = 1;
+
+ // The name of the version.
+ optional string version = 2;
+
+ // The name of the resource.
+ optional string resource = 3;
+}
+
+// Describes the state of a migration at a certain point.
+message MigrationCondition {
+ // Type of the condition.
+ optional string type = 1;
+
+ // Status of the condition, one of True, False, Unknown.
+ optional string status = 2;
+
+ // The last time this condition was updated.
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.Time lastUpdateTime = 3;
+
+ // The reason for the condition's last transition.
+ // +optional
+ optional string reason = 4;
+
+ // A human readable message indicating details about the transition.
+ // +optional
+ optional string message = 5;
+}
+
+// StorageVersionMigration represents a migration of stored data to the latest
+// storage version.
+message StorageVersionMigration {
+ // Standard object metadata.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
+
+ // Specification of the migration.
+ // +optional
+ optional StorageVersionMigrationSpec spec = 2;
+
+ // Status of the migration.
+ // +optional
+ optional StorageVersionMigrationStatus status = 3;
+}
+
+// StorageVersionMigrationList is a collection of storage version migrations.
+message StorageVersionMigrationList {
+ // Standard list metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
+
+ // Items is the list of StorageVersionMigration
+ // +patchMergeKey=type
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
+ repeated StorageVersionMigration items = 2;
+}
+
+// Spec of the storage version migration.
+message StorageVersionMigrationSpec {
+ // The resource that is being migrated. The migrator sends requests to
+ // the endpoint serving the resource.
+ // Immutable.
+ optional GroupVersionResource resource = 1;
+
+ // The token used in the list options to get the next chunk of objects
+ // to migrate. When the .status.conditions indicates the migration is
+ // "Running", users can use this token to check the progress of the
+ // migration.
+ // +optional
+ optional string continueToken = 2;
+}
+
+// Status of the storage version migration.
+message StorageVersionMigrationStatus {
+ // The latest available observations of the migration's current state.
+ // +patchMergeKey=type
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
+ // +optional
+ repeated MigrationCondition conditions = 1;
+
+ // ResourceVersion to compare with the GC cache for performing the migration.
+ // This is the current resource version of given group, version and resource when
+ // kube-controller-manager first observes this StorageVersionMigration resource.
+ optional string resourceVersion = 2;
+}
+
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/register.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/register.go
new file mode 100644
index 0000000000..c9706050f1
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/register.go
@@ -0,0 +1,58 @@
+/*
+Copyright 2024 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1alpha1
+
+import (
+ "k8s.io/apimachinery/pkg/runtime"
+ "k8s.io/apimachinery/pkg/runtime/schema"
+
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// GroupName is the group name use in this package
+const GroupName = "storagemigration.k8s.io"
+
+// SchemeGroupVersion is group version used to register these objects
+var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
+
+// Kind takes an unqualified kind and returns a Group qualified GroupKind
+func Kind(kind string) schema.GroupKind {
+ return SchemeGroupVersion.WithKind(kind).GroupKind()
+}
+
+// Resource takes an unqualified resource and returns a Group qualified GroupResource
+func Resource(resource string) schema.GroupResource {
+ return SchemeGroupVersion.WithResource(resource).GroupResource()
+}
+
+var (
+ SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
+ localSchemeBuilder = &SchemeBuilder
+ AddToScheme = localSchemeBuilder.AddToScheme
+)
+
+// Adds the list of known types to the given scheme.
+func addKnownTypes(scheme *runtime.Scheme) error {
+ scheme.AddKnownTypes(SchemeGroupVersion,
+ &StorageVersionMigration{},
+ &StorageVersionMigrationList{},
+ )
+
+ // Add the watch version that applies
+ metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
+ return nil
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/types.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/types.go
new file mode 100644
index 0000000000..0f343d1e95
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/types.go
@@ -0,0 +1,131 @@
+/*
+Copyright 2024 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1alpha1
+
+import (
+ corev1 "k8s.io/api/core/v1"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// +genclient
+// +genclient:nonNamespaced
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// StorageVersionMigration represents a migration of stored data to the latest
+// storage version.
+type StorageVersionMigration struct {
+ metav1.TypeMeta `json:",inline"`
+ // Standard object metadata.
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // Specification of the migration.
+ // +optional
+ Spec StorageVersionMigrationSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
+ // Status of the migration.
+ // +optional
+ Status StorageVersionMigrationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
+}
+
+// Spec of the storage version migration.
+type StorageVersionMigrationSpec struct {
+ // The resource that is being migrated. The migrator sends requests to
+ // the endpoint serving the resource.
+ // Immutable.
+ Resource GroupVersionResource `json:"resource" protobuf:"bytes,1,opt,name=resource"`
+ // The token used in the list options to get the next chunk of objects
+ // to migrate. When the .status.conditions indicates the migration is
+ // "Running", users can use this token to check the progress of the
+ // migration.
+ // +optional
+ ContinueToken string `json:"continueToken,omitempty" protobuf:"bytes,2,opt,name=continueToken"`
+ // TODO: consider recording the storage version hash when the migration
+ // is created. It can avoid races.
+}
+
+// The names of the group, the version, and the resource.
+type GroupVersionResource struct {
+ // The name of the group.
+ Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
+ // The name of the version.
+ Version string `json:"version,omitempty" protobuf:"bytes,2,opt,name=version"`
+ // The name of the resource.
+ Resource string `json:"resource,omitempty" protobuf:"bytes,3,opt,name=resource"`
+}
+
+type MigrationConditionType string
+
+const (
+ // Indicates that the migration is running.
+ MigrationRunning MigrationConditionType = "Running"
+ // Indicates that the migration has completed successfully.
+ MigrationSucceeded MigrationConditionType = "Succeeded"
+ // Indicates that the migration has failed.
+ MigrationFailed MigrationConditionType = "Failed"
+)
+
+// Describes the state of a migration at a certain point.
+type MigrationCondition struct {
+ // Type of the condition.
+ Type MigrationConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=MigrationConditionType"`
+ // Status of the condition, one of True, False, Unknown.
+ Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
+ // The last time this condition was updated.
+ // +optional
+ LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,3,opt,name=lastUpdateTime"`
+ // The reason for the condition's last transition.
+ // +optional
+ Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
+ // A human readable message indicating details about the transition.
+ // +optional
+ Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
+}
+
+// Status of the storage version migration.
+type StorageVersionMigrationStatus struct {
+ // The latest available observations of the migration's current state.
+ // +patchMergeKey=type
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
+ // +optional
+ Conditions []MigrationCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
+ // ResourceVersion to compare with the GC cache for performing the migration.
+ // This is the current resource version of given group, version and resource when
+ // kube-controller-manager first observes this StorageVersionMigration resource.
+ ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,2,opt,name=resourceVersion"`
+}
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+// +k8s:prerelease-lifecycle-gen:introduced=1.30
+
+// StorageVersionMigrationList is a collection of storage version migrations.
+type StorageVersionMigrationList struct {
+ metav1.TypeMeta `json:",inline"`
+
+ // Standard list metadata
+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
+ // +optional
+ metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
+ // Items is the list of StorageVersionMigration
+ // +patchMergeKey=type
+ // +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=type
+ Items []StorageVersionMigration `json:"items" listType:"map" listMapKey:"type" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,2,rep,name=items"`
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/types_swagger_doc_generated.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/types_swagger_doc_generated.go
new file mode 100644
index 0000000000..257d72a236
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/types_swagger_doc_generated.go
@@ -0,0 +1,95 @@
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1alpha1
+
+// This file contains a collection of methods that can be used from go-restful to
+// generate Swagger API documentation for its models. Please read this PR for more
+// information on the implementation: https://github.com/emicklei/go-restful/pull/215
+//
+// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
+// they are on one line! For multiple line or blocks that you want to ignore use ---.
+// Any context after a --- is ignored.
+//
+// Those methods can be generated by using hack/update-codegen.sh
+
+// AUTO-GENERATED FUNCTIONS START HERE. DO NOT EDIT.
+var map_GroupVersionResource = map[string]string{
+ "": "The names of the group, the version, and the resource.",
+ "group": "The name of the group.",
+ "version": "The name of the version.",
+ "resource": "The name of the resource.",
+}
+
+func (GroupVersionResource) SwaggerDoc() map[string]string {
+ return map_GroupVersionResource
+}
+
+var map_MigrationCondition = map[string]string{
+ "": "Describes the state of a migration at a certain point.",
+ "type": "Type of the condition.",
+ "status": "Status of the condition, one of True, False, Unknown.",
+ "lastUpdateTime": "The last time this condition was updated.",
+ "reason": "The reason for the condition's last transition.",
+ "message": "A human readable message indicating details about the transition.",
+}
+
+func (MigrationCondition) SwaggerDoc() map[string]string {
+ return map_MigrationCondition
+}
+
+var map_StorageVersionMigration = map[string]string{
+ "": "StorageVersionMigration represents a migration of stored data to the latest storage version.",
+ "metadata": "Standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
+ "spec": "Specification of the migration.",
+ "status": "Status of the migration.",
+}
+
+func (StorageVersionMigration) SwaggerDoc() map[string]string {
+ return map_StorageVersionMigration
+}
+
+var map_StorageVersionMigrationList = map[string]string{
+ "": "StorageVersionMigrationList is a collection of storage version migrations.",
+ "metadata": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
+ "items": "Items is the list of StorageVersionMigration",
+}
+
+func (StorageVersionMigrationList) SwaggerDoc() map[string]string {
+ return map_StorageVersionMigrationList
+}
+
+var map_StorageVersionMigrationSpec = map[string]string{
+ "": "Spec of the storage version migration.",
+ "resource": "The resource that is being migrated. The migrator sends requests to the endpoint serving the resource. Immutable.",
+ "continueToken": "The token used in the list options to get the next chunk of objects to migrate. When the .status.conditions indicates the migration is \"Running\", users can use this token to check the progress of the migration.",
+}
+
+func (StorageVersionMigrationSpec) SwaggerDoc() map[string]string {
+ return map_StorageVersionMigrationSpec
+}
+
+var map_StorageVersionMigrationStatus = map[string]string{
+ "": "Status of the storage version migration.",
+ "conditions": "The latest available observations of the migration's current state.",
+ "resourceVersion": "ResourceVersion to compare with the GC cache for performing the migration. This is the current resource version of given group, version and resource when kube-controller-manager first observes this StorageVersionMigration resource.",
+}
+
+func (StorageVersionMigrationStatus) SwaggerDoc() map[string]string {
+ return map_StorageVersionMigrationStatus
+}
+
+// AUTO-GENERATED FUNCTIONS END HERE
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.deepcopy.go
new file mode 100644
index 0000000000..9d35011d59
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.deepcopy.go
@@ -0,0 +1,160 @@
+//go:build !ignore_autogenerated
+// +build !ignore_autogenerated
+
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by deepcopy-gen. DO NOT EDIT.
+
+package v1alpha1
+
+import (
+ runtime "k8s.io/apimachinery/pkg/runtime"
+)
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *GroupVersionResource) DeepCopyInto(out *GroupVersionResource) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupVersionResource.
+func (in *GroupVersionResource) DeepCopy() *GroupVersionResource {
+ if in == nil {
+ return nil
+ }
+ out := new(GroupVersionResource)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *MigrationCondition) DeepCopyInto(out *MigrationCondition) {
+ *out = *in
+ in.LastUpdateTime.DeepCopyInto(&out.LastUpdateTime)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MigrationCondition.
+func (in *MigrationCondition) DeepCopy() *MigrationCondition {
+ if in == nil {
+ return nil
+ }
+ out := new(MigrationCondition)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *StorageVersionMigration) DeepCopyInto(out *StorageVersionMigration) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
+ out.Spec = in.Spec
+ in.Status.DeepCopyInto(&out.Status)
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigration.
+func (in *StorageVersionMigration) DeepCopy() *StorageVersionMigration {
+ if in == nil {
+ return nil
+ }
+ out := new(StorageVersionMigration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *StorageVersionMigration) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *StorageVersionMigrationList) DeepCopyInto(out *StorageVersionMigrationList) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ in.ListMeta.DeepCopyInto(&out.ListMeta)
+ if in.Items != nil {
+ in, out := &in.Items, &out.Items
+ *out = make([]StorageVersionMigration, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigrationList.
+func (in *StorageVersionMigrationList) DeepCopy() *StorageVersionMigrationList {
+ if in == nil {
+ return nil
+ }
+ out := new(StorageVersionMigrationList)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *StorageVersionMigrationList) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *StorageVersionMigrationSpec) DeepCopyInto(out *StorageVersionMigrationSpec) {
+ *out = *in
+ out.Resource = in.Resource
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigrationSpec.
+func (in *StorageVersionMigrationSpec) DeepCopy() *StorageVersionMigrationSpec {
+ if in == nil {
+ return nil
+ }
+ out := new(StorageVersionMigrationSpec)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *StorageVersionMigrationStatus) DeepCopyInto(out *StorageVersionMigrationStatus) {
+ *out = *in
+ if in.Conditions != nil {
+ in, out := &in.Conditions, &out.Conditions
+ *out = make([]MigrationCondition, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageVersionMigrationStatus.
+func (in *StorageVersionMigrationStatus) DeepCopy() *StorageVersionMigrationStatus {
+ if in == nil {
+ return nil
+ }
+ out := new(StorageVersionMigrationStatus)
+ in.DeepCopyInto(out)
+ return out
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.prerelease-lifecycle.go b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.prerelease-lifecycle.go
new file mode 100644
index 0000000000..acdb574351
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/api/storagemigration/v1alpha1/zz_generated.prerelease-lifecycle.go
@@ -0,0 +1,58 @@
+//go:build !ignore_autogenerated
+// +build !ignore_autogenerated
+
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+// Code generated by prerelease-lifecycle-gen. DO NOT EDIT.
+
+package v1alpha1
+
+// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
+// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
+func (in *StorageVersionMigration) APILifecycleIntroduced() (major, minor int) {
+ return 1, 30
+}
+
+// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
+// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
+func (in *StorageVersionMigration) APILifecycleDeprecated() (major, minor int) {
+ return 1, 33
+}
+
+// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
+// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
+func (in *StorageVersionMigration) APILifecycleRemoved() (major, minor int) {
+ return 1, 36
+}
+
+// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
+// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
+func (in *StorageVersionMigrationList) APILifecycleIntroduced() (major, minor int) {
+ return 1, 30
+}
+
+// APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison.
+// It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
+func (in *StorageVersionMigrationList) APILifecycleDeprecated() (major, minor int) {
+ return 1, 33
+}
+
+// APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison.
+// It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
+func (in *StorageVersionMigrationList) APILifecycleRemoved() (major, minor int) {
+ return 1, 36
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go
index b1c5f6f4c0..6556eda65d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go
@@ -70,6 +70,12 @@ type CustomResourceDefinitionSpec struct {
// Top-level and per-version columns are mutually exclusive.
// +optional
AdditionalPrinterColumns []CustomResourceColumnDefinition
+ // selectableFields specifies paths to fields that may be used as field selectors.
+ // A maximum of 8 selectable fields are allowed.
+ // See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
+ // Top-level and per-version columns are mutually exclusive.
+ // +optional
+ SelectableFields []SelectableField
// `conversion` defines conversion settings for the CRD.
Conversion *CustomResourceConversion
@@ -207,6 +213,25 @@ type CustomResourceDefinitionVersion struct {
// be explicitly set to null
// +optional
AdditionalPrinterColumns []CustomResourceColumnDefinition
+
+ // selectableFields specifies paths to fields that may be used as field selectors.
+ // A maximum of 8 selectable fields are allowed.
+ // See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
+ // +optional
+ SelectableFields []SelectableField
+}
+
+// SelectableField specifies the JSON path of a field that may be used with field selectors.
+type SelectableField struct {
+ // jsonPath is a simple JSON path which is evaluated against each custom resource to produce a
+ // field selector value.
+ // Only JSON paths without the array notation are allowed.
+ // Must point to a field of type string, boolean or integer. Types with enum values
+ // and strings with formats are allowed.
+ // If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string.
+ // Must not point to metdata fields.
+ // Required.
+ JSONPath string
}
// CustomResourceColumnDefinition specifies a column for server side printing.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion.go
index 4d29ff8235..2ca72bb16b 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion.go
@@ -80,7 +80,7 @@ func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1_CustomResourceDefi
out.Versions = []CustomResourceDefinitionVersion{{Name: in.Version, Served: true, Storage: true}}
}
- // If spec.{subresources,validation,additionalPrinterColumns} exists, move to versions
+ // If spec.{subresources,validation,additionalPrinterColumns,selectableFields} exists, move to versions
if in.Subresources != nil {
subresources := &CustomResourceSubresources{}
if err := Convert_apiextensions_CustomResourceSubresources_To_v1_CustomResourceSubresources(in.Subresources, subresources, s); err != nil {
@@ -110,6 +110,17 @@ func Convert_apiextensions_CustomResourceDefinitionSpec_To_v1_CustomResourceDefi
out.Versions[i].AdditionalPrinterColumns = additionalPrinterColumns
}
}
+ if in.SelectableFields != nil {
+ selectableFields := make([]SelectableField, len(in.SelectableFields))
+ for i := range in.SelectableFields {
+ if err := Convert_apiextensions_SelectableField_To_v1_SelectableField(&in.SelectableFields[i], &selectableFields[i], s); err != nil {
+ return err
+ }
+ }
+ for i := range out.Versions {
+ out.Versions[i].SelectableFields = selectableFields
+ }
+ }
return nil
}
@@ -125,13 +136,15 @@ func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefi
// Copy versions[0] to version
out.Version = out.Versions[0].Name
- // If versions[*].{subresources,schema,additionalPrinterColumns} are identical, move to spec
+ // If versions[*].{subresources,schema,additionalPrinterColumns,selectableFields} are identical, move to spec
subresources := out.Versions[0].Subresources
subresourcesIdentical := true
validation := out.Versions[0].Schema
validationIdentical := true
additionalPrinterColumns := out.Versions[0].AdditionalPrinterColumns
additionalPrinterColumnsIdentical := true
+ selectableFields := out.Versions[0].SelectableFields
+ selectableFieldsIdentical := true
// Detect if per-version fields are identical
for _, v := range out.Versions {
@@ -144,6 +157,9 @@ func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefi
if additionalPrinterColumnsIdentical && !apiequality.Semantic.DeepEqual(v.AdditionalPrinterColumns, additionalPrinterColumns) {
additionalPrinterColumnsIdentical = false
}
+ if selectableFieldsIdentical && !apiequality.Semantic.DeepEqual(v.SelectableFields, selectableFields) {
+ selectableFieldsIdentical = false
+ }
}
// If they are, set the top-level fields and clear the per-version fields
@@ -156,6 +172,9 @@ func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefi
if additionalPrinterColumnsIdentical {
out.AdditionalPrinterColumns = additionalPrinterColumns
}
+ if selectableFieldsIdentical {
+ out.SelectableFields = selectableFields
+ }
for i := range out.Versions {
if subresourcesIdentical {
out.Versions[i].Subresources = nil
@@ -166,6 +185,9 @@ func Convert_v1_CustomResourceDefinitionSpec_To_apiextensions_CustomResourceDefi
if additionalPrinterColumnsIdentical {
out.Versions[i].AdditionalPrinterColumns = nil
}
+ if selectableFieldsIdentical {
+ out.Versions[i].SelectableFields = nil
+ }
}
return nil
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go
index 6c22a51698..8e081e4b1c 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
+// source: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
package v1
@@ -51,7 +51,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *ConversionRequest) Reset() { *m = ConversionRequest{} }
func (*ConversionRequest) ProtoMessage() {}
func (*ConversionRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{0}
+ return fileDescriptor_c5e101a0235c8c62, []int{0}
}
func (m *ConversionRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -79,7 +79,7 @@ var xxx_messageInfo_ConversionRequest proto.InternalMessageInfo
func (m *ConversionResponse) Reset() { *m = ConversionResponse{} }
func (*ConversionResponse) ProtoMessage() {}
func (*ConversionResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{1}
+ return fileDescriptor_c5e101a0235c8c62, []int{1}
}
func (m *ConversionResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -107,7 +107,7 @@ var xxx_messageInfo_ConversionResponse proto.InternalMessageInfo
func (m *ConversionReview) Reset() { *m = ConversionReview{} }
func (*ConversionReview) ProtoMessage() {}
func (*ConversionReview) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{2}
+ return fileDescriptor_c5e101a0235c8c62, []int{2}
}
func (m *ConversionReview) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -135,7 +135,7 @@ var xxx_messageInfo_ConversionReview proto.InternalMessageInfo
func (m *CustomResourceColumnDefinition) Reset() { *m = CustomResourceColumnDefinition{} }
func (*CustomResourceColumnDefinition) ProtoMessage() {}
func (*CustomResourceColumnDefinition) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{3}
+ return fileDescriptor_c5e101a0235c8c62, []int{3}
}
func (m *CustomResourceColumnDefinition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -163,7 +163,7 @@ var xxx_messageInfo_CustomResourceColumnDefinition proto.InternalMessageInfo
func (m *CustomResourceConversion) Reset() { *m = CustomResourceConversion{} }
func (*CustomResourceConversion) ProtoMessage() {}
func (*CustomResourceConversion) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{4}
+ return fileDescriptor_c5e101a0235c8c62, []int{4}
}
func (m *CustomResourceConversion) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -191,7 +191,7 @@ var xxx_messageInfo_CustomResourceConversion proto.InternalMessageInfo
func (m *CustomResourceDefinition) Reset() { *m = CustomResourceDefinition{} }
func (*CustomResourceDefinition) ProtoMessage() {}
func (*CustomResourceDefinition) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{5}
+ return fileDescriptor_c5e101a0235c8c62, []int{5}
}
func (m *CustomResourceDefinition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -219,7 +219,7 @@ var xxx_messageInfo_CustomResourceDefinition proto.InternalMessageInfo
func (m *CustomResourceDefinitionCondition) Reset() { *m = CustomResourceDefinitionCondition{} }
func (*CustomResourceDefinitionCondition) ProtoMessage() {}
func (*CustomResourceDefinitionCondition) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{6}
+ return fileDescriptor_c5e101a0235c8c62, []int{6}
}
func (m *CustomResourceDefinitionCondition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -247,7 +247,7 @@ var xxx_messageInfo_CustomResourceDefinitionCondition proto.InternalMessageInfo
func (m *CustomResourceDefinitionList) Reset() { *m = CustomResourceDefinitionList{} }
func (*CustomResourceDefinitionList) ProtoMessage() {}
func (*CustomResourceDefinitionList) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{7}
+ return fileDescriptor_c5e101a0235c8c62, []int{7}
}
func (m *CustomResourceDefinitionList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -275,7 +275,7 @@ var xxx_messageInfo_CustomResourceDefinitionList proto.InternalMessageInfo
func (m *CustomResourceDefinitionNames) Reset() { *m = CustomResourceDefinitionNames{} }
func (*CustomResourceDefinitionNames) ProtoMessage() {}
func (*CustomResourceDefinitionNames) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{8}
+ return fileDescriptor_c5e101a0235c8c62, []int{8}
}
func (m *CustomResourceDefinitionNames) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +303,7 @@ var xxx_messageInfo_CustomResourceDefinitionNames proto.InternalMessageInfo
func (m *CustomResourceDefinitionSpec) Reset() { *m = CustomResourceDefinitionSpec{} }
func (*CustomResourceDefinitionSpec) ProtoMessage() {}
func (*CustomResourceDefinitionSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{9}
+ return fileDescriptor_c5e101a0235c8c62, []int{9}
}
func (m *CustomResourceDefinitionSpec) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +331,7 @@ var xxx_messageInfo_CustomResourceDefinitionSpec proto.InternalMessageInfo
func (m *CustomResourceDefinitionStatus) Reset() { *m = CustomResourceDefinitionStatus{} }
func (*CustomResourceDefinitionStatus) ProtoMessage() {}
func (*CustomResourceDefinitionStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{10}
+ return fileDescriptor_c5e101a0235c8c62, []int{10}
}
func (m *CustomResourceDefinitionStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -359,7 +359,7 @@ var xxx_messageInfo_CustomResourceDefinitionStatus proto.InternalMessageInfo
func (m *CustomResourceDefinitionVersion) Reset() { *m = CustomResourceDefinitionVersion{} }
func (*CustomResourceDefinitionVersion) ProtoMessage() {}
func (*CustomResourceDefinitionVersion) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{11}
+ return fileDescriptor_c5e101a0235c8c62, []int{11}
}
func (m *CustomResourceDefinitionVersion) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -387,7 +387,7 @@ var xxx_messageInfo_CustomResourceDefinitionVersion proto.InternalMessageInfo
func (m *CustomResourceSubresourceScale) Reset() { *m = CustomResourceSubresourceScale{} }
func (*CustomResourceSubresourceScale) ProtoMessage() {}
func (*CustomResourceSubresourceScale) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{12}
+ return fileDescriptor_c5e101a0235c8c62, []int{12}
}
func (m *CustomResourceSubresourceScale) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -415,7 +415,7 @@ var xxx_messageInfo_CustomResourceSubresourceScale proto.InternalMessageInfo
func (m *CustomResourceSubresourceStatus) Reset() { *m = CustomResourceSubresourceStatus{} }
func (*CustomResourceSubresourceStatus) ProtoMessage() {}
func (*CustomResourceSubresourceStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{13}
+ return fileDescriptor_c5e101a0235c8c62, []int{13}
}
func (m *CustomResourceSubresourceStatus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -443,7 +443,7 @@ var xxx_messageInfo_CustomResourceSubresourceStatus proto.InternalMessageInfo
func (m *CustomResourceSubresources) Reset() { *m = CustomResourceSubresources{} }
func (*CustomResourceSubresources) ProtoMessage() {}
func (*CustomResourceSubresources) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{14}
+ return fileDescriptor_c5e101a0235c8c62, []int{14}
}
func (m *CustomResourceSubresources) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -471,7 +471,7 @@ var xxx_messageInfo_CustomResourceSubresources proto.InternalMessageInfo
func (m *CustomResourceValidation) Reset() { *m = CustomResourceValidation{} }
func (*CustomResourceValidation) ProtoMessage() {}
func (*CustomResourceValidation) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{15}
+ return fileDescriptor_c5e101a0235c8c62, []int{15}
}
func (m *CustomResourceValidation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -499,7 +499,7 @@ var xxx_messageInfo_CustomResourceValidation proto.InternalMessageInfo
func (m *ExternalDocumentation) Reset() { *m = ExternalDocumentation{} }
func (*ExternalDocumentation) ProtoMessage() {}
func (*ExternalDocumentation) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{16}
+ return fileDescriptor_c5e101a0235c8c62, []int{16}
}
func (m *ExternalDocumentation) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -527,7 +527,7 @@ var xxx_messageInfo_ExternalDocumentation proto.InternalMessageInfo
func (m *JSON) Reset() { *m = JSON{} }
func (*JSON) ProtoMessage() {}
func (*JSON) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{17}
+ return fileDescriptor_c5e101a0235c8c62, []int{17}
}
func (m *JSON) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -555,7 +555,7 @@ var xxx_messageInfo_JSON proto.InternalMessageInfo
func (m *JSONSchemaProps) Reset() { *m = JSONSchemaProps{} }
func (*JSONSchemaProps) ProtoMessage() {}
func (*JSONSchemaProps) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{18}
+ return fileDescriptor_c5e101a0235c8c62, []int{18}
}
func (m *JSONSchemaProps) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -583,7 +583,7 @@ var xxx_messageInfo_JSONSchemaProps proto.InternalMessageInfo
func (m *JSONSchemaPropsOrArray) Reset() { *m = JSONSchemaPropsOrArray{} }
func (*JSONSchemaPropsOrArray) ProtoMessage() {}
func (*JSONSchemaPropsOrArray) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{19}
+ return fileDescriptor_c5e101a0235c8c62, []int{19}
}
func (m *JSONSchemaPropsOrArray) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -611,7 +611,7 @@ var xxx_messageInfo_JSONSchemaPropsOrArray proto.InternalMessageInfo
func (m *JSONSchemaPropsOrBool) Reset() { *m = JSONSchemaPropsOrBool{} }
func (*JSONSchemaPropsOrBool) ProtoMessage() {}
func (*JSONSchemaPropsOrBool) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{20}
+ return fileDescriptor_c5e101a0235c8c62, []int{20}
}
func (m *JSONSchemaPropsOrBool) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -639,7 +639,7 @@ var xxx_messageInfo_JSONSchemaPropsOrBool proto.InternalMessageInfo
func (m *JSONSchemaPropsOrStringArray) Reset() { *m = JSONSchemaPropsOrStringArray{} }
func (*JSONSchemaPropsOrStringArray) ProtoMessage() {}
func (*JSONSchemaPropsOrStringArray) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{21}
+ return fileDescriptor_c5e101a0235c8c62, []int{21}
}
func (m *JSONSchemaPropsOrStringArray) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -664,10 +664,38 @@ func (m *JSONSchemaPropsOrStringArray) XXX_DiscardUnknown() {
var xxx_messageInfo_JSONSchemaPropsOrStringArray proto.InternalMessageInfo
+func (m *SelectableField) Reset() { *m = SelectableField{} }
+func (*SelectableField) ProtoMessage() {}
+func (*SelectableField) Descriptor() ([]byte, []int) {
+ return fileDescriptor_c5e101a0235c8c62, []int{22}
+}
+func (m *SelectableField) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SelectableField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *SelectableField) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SelectableField.Merge(m, src)
+}
+func (m *SelectableField) XXX_Size() int {
+ return m.Size()
+}
+func (m *SelectableField) XXX_DiscardUnknown() {
+ xxx_messageInfo_SelectableField.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SelectableField proto.InternalMessageInfo
+
func (m *ServiceReference) Reset() { *m = ServiceReference{} }
func (*ServiceReference) ProtoMessage() {}
func (*ServiceReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{22}
+ return fileDescriptor_c5e101a0235c8c62, []int{23}
}
func (m *ServiceReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -695,7 +723,7 @@ var xxx_messageInfo_ServiceReference proto.InternalMessageInfo
func (m *ValidationRule) Reset() { *m = ValidationRule{} }
func (*ValidationRule) ProtoMessage() {}
func (*ValidationRule) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{23}
+ return fileDescriptor_c5e101a0235c8c62, []int{24}
}
func (m *ValidationRule) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -723,7 +751,7 @@ var xxx_messageInfo_ValidationRule proto.InternalMessageInfo
func (m *WebhookClientConfig) Reset() { *m = WebhookClientConfig{} }
func (*WebhookClientConfig) ProtoMessage() {}
func (*WebhookClientConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{24}
+ return fileDescriptor_c5e101a0235c8c62, []int{25}
}
func (m *WebhookClientConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -751,7 +779,7 @@ var xxx_messageInfo_WebhookClientConfig proto.InternalMessageInfo
func (m *WebhookConversion) Reset() { *m = WebhookConversion{} }
func (*WebhookConversion) ProtoMessage() {}
func (*WebhookConversion) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5a35c9667703937, []int{25}
+ return fileDescriptor_c5e101a0235c8c62, []int{26}
}
func (m *WebhookConversion) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -803,6 +831,7 @@ func init() {
proto.RegisterType((*JSONSchemaPropsOrArray)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrArray")
proto.RegisterType((*JSONSchemaPropsOrBool)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrBool")
proto.RegisterType((*JSONSchemaPropsOrStringArray)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.JSONSchemaPropsOrStringArray")
+ proto.RegisterType((*SelectableField)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.SelectableField")
proto.RegisterType((*ServiceReference)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.ServiceReference")
proto.RegisterType((*ValidationRule)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.ValidationRule")
proto.RegisterType((*WebhookClientConfig)(nil), "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.WebhookClientConfig")
@@ -810,208 +839,209 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto", fileDescriptor_f5a35c9667703937)
+ proto.RegisterFile("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto", fileDescriptor_c5e101a0235c8c62)
}
-var fileDescriptor_f5a35c9667703937 = []byte{
- // 3137 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x5a, 0xdf, 0x6f, 0x5c, 0x47,
- 0xf5, 0xcf, 0x5d, 0x7b, 0xed, 0xf5, 0xd8, 0x89, 0xed, 0x49, 0xec, 0xef, 0x8d, 0x9b, 0x78, 0x9d,
- 0xcd, 0xb7, 0xc1, 0x6d, 0xd3, 0x75, 0x1b, 0x5a, 0x1a, 0xca, 0x2f, 0x79, 0x6d, 0xa7, 0x75, 0x13,
- 0xc7, 0xd6, 0x6c, 0x92, 0xba, 0x2d, 0xa2, 0xbd, 0xde, 0x3b, 0xbb, 0xbe, 0xf5, 0xfd, 0x95, 0x99,
- 0x7b, 0xfd, 0x43, 0x02, 0xa9, 0x02, 0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 0x18, 0x53, 0x63, 0x1c, 0xb6, 0x15, 0xaa, 0x56,
+ 0x39, 0xf2, 0x6c, 0xd9, 0x83, 0x1f, 0x15, 0x5b, 0x61, 0x79, 0x49, 0xd0, 0x90, 0xe2, 0x16, 0xff,
+ 0x6e, 0x80, 0xc9, 0xb6, 0xf7, 0x5e, 0xf0, 0xbb, 0x06, 0x18, 0xad, 0x6a, 0xd3, 0x93, 0x09, 0x65,
+ 0xe3, 0xe4, 0x6f, 0xca, 0x34, 0xa5, 0xa2, 0x06, 0xd3, 0x29, 0x28, 0x05, 0x0a, 0xb7, 0x81, 0x59,
+ 0xcd, 0x3c, 0xad, 0xcc, 0x7c, 0xac, 0xbd, 0xd8, 0x6a, 0x16, 0xcc, 0xe5, 0x2e, 0x32, 0xa8, 0xeb,
+ 0xe8, 0xf2, 0x37, 0x3f, 0xfe, 0x6c, 0xf6, 0xcc, 0x27, 0x9f, 0xcd, 0x9e, 0xf9, 0xf4, 0xb3, 0xd9,
+ 0x33, 0xef, 0xb6, 0x66, 0x8d, 0x8f, 0x5b, 0xb3, 0xc6, 0x27, 0xad, 0x59, 0xe3, 0xd3, 0xd6, 0xac,
+ 0xf1, 0x97, 0xd6, 0xac, 0xf1, 0xe3, 0xbf, 0xce, 0x9e, 0x79, 0xe3, 0xfa, 0xa3, 0x3e, 0xa8, 0xfe,
+ 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa3, 0x1c, 0x7a, 0x10, 0x8b, 0x2d, 0x00, 0x00,
}
func (m *ConversionRequest) Marshal() (dAtA []byte, err error) {
@@ -1618,6 +1648,20 @@ func (m *CustomResourceDefinitionVersion) MarshalToSizedBuffer(dAtA []byte) (int
_ = i
var l int
_ = l
+ if len(m.SelectableFields) > 0 {
+ for iNdEx := len(m.SelectableFields) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SelectableFields[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ }
if m.DeprecationWarning != nil {
i -= len(*m.DeprecationWarning)
copy(dAtA[i:], *m.DeprecationWarning)
@@ -2570,6 +2614,34 @@ func (m *JSONSchemaPropsOrStringArray) MarshalToSizedBuffer(dAtA []byte) (int, e
return len(dAtA) - i, nil
}
+func (m *SelectableField) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SelectableField) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SelectableField) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.JSONPath)
+ copy(dAtA[i:], m.JSONPath)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.JSONPath)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *ServiceReference) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -3027,6 +3099,12 @@ func (m *CustomResourceDefinitionVersion) Size() (n int) {
l = len(*m.DeprecationWarning)
n += 1 + l + sovGenerated(uint64(l))
}
+ if len(m.SelectableFields) > 0 {
+ for _, e := range m.SelectableFields {
+ l = e.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ }
return n
}
@@ -3341,6 +3419,17 @@ func (m *JSONSchemaPropsOrStringArray) Size() (n int) {
return n
}
+func (m *SelectableField) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.JSONPath)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
func (m *ServiceReference) Size() (n int) {
if m == nil {
return 0
@@ -3605,6 +3694,11 @@ func (this *CustomResourceDefinitionVersion) String() string {
repeatedStringForAdditionalPrinterColumns += strings.Replace(strings.Replace(f.String(), "CustomResourceColumnDefinition", "CustomResourceColumnDefinition", 1), `&`, ``, 1) + ","
}
repeatedStringForAdditionalPrinterColumns += "}"
+ repeatedStringForSelectableFields := "[]SelectableField{"
+ for _, f := range this.SelectableFields {
+ repeatedStringForSelectableFields += strings.Replace(strings.Replace(f.String(), "SelectableField", "SelectableField", 1), `&`, ``, 1) + ","
+ }
+ repeatedStringForSelectableFields += "}"
s := strings.Join([]string{`&CustomResourceDefinitionVersion{`,
`Name:` + fmt.Sprintf("%v", this.Name) + `,`,
`Served:` + fmt.Sprintf("%v", this.Served) + `,`,
@@ -3614,6 +3708,7 @@ func (this *CustomResourceDefinitionVersion) String() string {
`AdditionalPrinterColumns:` + repeatedStringForAdditionalPrinterColumns + `,`,
`Deprecated:` + fmt.Sprintf("%v", this.Deprecated) + `,`,
`DeprecationWarning:` + valueToStringGenerated(this.DeprecationWarning) + `,`,
+ `SelectableFields:` + repeatedStringForSelectableFields + `,`,
`}`,
}, "")
return s
@@ -3837,6 +3932,16 @@ func (this *JSONSchemaPropsOrStringArray) String() string {
}, "")
return s
}
+func (this *SelectableField) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&SelectableField{`,
+ `JSONPath:` + fmt.Sprintf("%v", this.JSONPath) + `,`,
+ `}`,
+ }, "")
+ return s
+}
func (this *ServiceReference) String() string {
if this == nil {
return "nil"
@@ -6027,6 +6132,40 @@ func (m *CustomResourceDefinitionVersion) Unmarshal(dAtA []byte) error {
s := string(dAtA[iNdEx:postIndex])
m.DeprecationWarning = &s
iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SelectableFields", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SelectableFields = append(m.SelectableFields, SelectableField{})
+ if err := m.SelectableFields[len(m.SelectableFields)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -8667,6 +8806,88 @@ func (m *JSONSchemaPropsOrStringArray) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *SelectableField) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SelectableField: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SelectableField: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field JSONPath", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.JSONPath = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *ServiceReference) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
index 3c39d63a5f..2ad78822f8 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto
@@ -40,6 +40,7 @@ message ConversionRequest {
optional string desiredAPIVersion = 2;
// objects is the list of custom resource objects to be converted.
+ // +listType=atomic
repeated k8s.io.apimachinery.pkg.runtime.RawExtension objects = 3;
}
@@ -53,6 +54,7 @@ message ConversionResponse {
// The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list
// must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace).
// The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
+ // +listType=atomic
repeated k8s.io.apimachinery.pkg.runtime.RawExtension convertedObjects = 2;
// result contains the result of conversion with extra details if the conversion failed. `result.status` determines if
@@ -182,6 +184,7 @@ message CustomResourceDefinitionNames {
// and used by clients to support invocations like `kubectl get `.
// It must be all lowercase.
// +optional
+ // +listType=atomic
repeated string shortNames = 3;
// kind is the serialized kind of the resource. It is normally CamelCase and singular.
@@ -196,6 +199,7 @@ message CustomResourceDefinitionNames {
// This is published in API discovery documents, and used by clients to support invocations like
// `kubectl get all`.
// +optional
+ // +listType=atomic
repeated string categories = 6;
}
@@ -221,6 +225,7 @@ message CustomResourceDefinitionSpec {
// by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing
// major version, then minor version. An example sorted list of versions:
// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
+ // +listType=atomic
repeated CustomResourceDefinitionVersion versions = 7;
// conversion defines conversion settings for the CRD.
@@ -256,6 +261,7 @@ message CustomResourceDefinitionStatus {
// versions from this list.
// Versions may not be removed from `spec.versions` while they exist in this list.
// +optional
+ // +listType=atomic
repeated string storedVersions = 3;
}
@@ -297,7 +303,17 @@ message CustomResourceDefinitionVersion {
// See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details.
// If no columns are specified, a single column displaying the age of the custom resource is used.
// +optional
+ // +listType=atomic
repeated CustomResourceColumnDefinition additionalPrinterColumns = 6;
+
+ // selectableFields specifies paths to fields that may be used as field selectors.
+ // A maximum of 8 selectable fields are allowed.
+ // See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
+ //
+ // +featureGate=CustomResourceFieldSelectors
+ // +optional
+ // +listType=atomic
+ repeated SelectableField selectableFields = 9;
}
// CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.
@@ -439,20 +455,25 @@ message JSONSchemaProps {
optional double multipleOf = 19;
+ // +listType=atomic
repeated JSON enum = 20;
optional int64 maxProperties = 21;
optional int64 minProperties = 22;
+ // +listType=atomic
repeated string required = 23;
optional JSONSchemaPropsOrArray items = 24;
+ // +listType=atomic
repeated JSONSchemaProps allOf = 25;
+ // +listType=atomic
repeated JSONSchemaProps oneOf = 26;
+ // +listType=atomic
repeated JSONSchemaProps anyOf = 27;
optional JSONSchemaProps not = 28;
@@ -518,6 +539,7 @@ message JSONSchemaProps {
// to ensure those properties are present for all list items.
//
// +optional
+ // +listType=atomic
repeated string xKubernetesListMapKeys = 41;
// x-kubernetes-list-type annotates an array to further describe its topology.
@@ -564,6 +586,7 @@ message JSONSchemaProps {
message JSONSchemaPropsOrArray {
optional JSONSchemaProps schema = 1;
+ // +listType=atomic
repeated JSONSchemaProps jSONSchemas = 2;
}
@@ -579,9 +602,23 @@ message JSONSchemaPropsOrBool {
message JSONSchemaPropsOrStringArray {
optional JSONSchemaProps schema = 1;
+ // +listType=atomic
repeated string property = 2;
}
+// SelectableField specifies the JSON path of a field that may be used with field selectors.
+message SelectableField {
+ // jsonPath is a simple JSON path which is evaluated against each custom resource to produce a
+ // field selector value.
+ // Only JSON paths without the array notation are allowed.
+ // Must point to a field of type string, boolean or integer. Types with enum values
+ // and strings with formats are allowed.
+ // If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string.
+ // Must not point to metdata fields.
+ // Required.
+ optional string jsonPath = 1;
+}
+
// ServiceReference holds a reference to Service.legacy.k8s.io
message ServiceReference {
// namespace is the namespace of the service.
@@ -787,6 +824,7 @@ message WebhookConversion {
// are supported by API server, conversion will fail for the custom resource.
// If a persisted Webhook configuration specifies allowed versions and does not
// include any versions known to the API Server, calls to the webhook will fail.
+ // +listType=atomic
repeated string conversionReviewVersions = 3;
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go
index 59ec0e372b..e1d1e0be39 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go
@@ -56,6 +56,7 @@ type CustomResourceDefinitionSpec struct {
// by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing
// major version, then minor version. An example sorted list of versions:
// v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10.
+ // +listType=atomic
Versions []CustomResourceDefinitionVersion `json:"versions" protobuf:"bytes,7,rep,name=versions"`
// conversion defines conversion settings for the CRD.
@@ -96,6 +97,7 @@ type WebhookConversion struct {
// are supported by API server, conversion will fail for the custom resource.
// If a persisted Webhook configuration specifies allowed versions and does not
// include any versions known to the API Server, calls to the webhook will fail.
+ // +listType=atomic
ConversionReviewVersions []string `json:"conversionReviewVersions" protobuf:"bytes,3,rep,name=conversionReviewVersions"`
}
@@ -195,7 +197,30 @@ type CustomResourceDefinitionVersion struct {
// See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details.
// If no columns are specified, a single column displaying the age of the custom resource is used.
// +optional
+ // +listType=atomic
AdditionalPrinterColumns []CustomResourceColumnDefinition `json:"additionalPrinterColumns,omitempty" protobuf:"bytes,6,rep,name=additionalPrinterColumns"`
+
+ // selectableFields specifies paths to fields that may be used as field selectors.
+ // A maximum of 8 selectable fields are allowed.
+ // See https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors
+ //
+ // +featureGate=CustomResourceFieldSelectors
+ // +optional
+ // +listType=atomic
+ SelectableFields []SelectableField `json:"selectableFields,omitempty" protobuf:"bytes,9,rep,name=selectableFields"`
+}
+
+// SelectableField specifies the JSON path of a field that may be used with field selectors.
+type SelectableField struct {
+ // jsonPath is a simple JSON path which is evaluated against each custom resource to produce a
+ // field selector value.
+ // Only JSON paths without the array notation are allowed.
+ // Must point to a field of type string, boolean or integer. Types with enum values
+ // and strings with formats are allowed.
+ // If jsonPath refers to absent field in a resource, the jsonPath evaluates to an empty string.
+ // Must not point to metdata fields.
+ // Required.
+ JSONPath string `json:"jsonPath" protobuf:"bytes,1,opt,name=jsonPath"`
}
// CustomResourceColumnDefinition specifies a column for server side printing.
@@ -237,6 +262,7 @@ type CustomResourceDefinitionNames struct {
// and used by clients to support invocations like `kubectl get `.
// It must be all lowercase.
// +optional
+ // +listType=atomic
ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,3,opt,name=shortNames"`
// kind is the serialized kind of the resource. It is normally CamelCase and singular.
// Custom resource instances will use this value as the `kind` attribute in API calls.
@@ -248,6 +274,7 @@ type CustomResourceDefinitionNames struct {
// This is published in API discovery documents, and used by clients to support invocations like
// `kubectl get all`.
// +optional
+ // +listType=atomic
Categories []string `json:"categories,omitempty" protobuf:"bytes,6,rep,name=categories"`
}
@@ -345,6 +372,7 @@ type CustomResourceDefinitionStatus struct {
// versions from this list.
// Versions may not be removed from `spec.versions` while they exist in this list.
// +optional
+ // +listType=atomic
StoredVersions []string `json:"storedVersions" protobuf:"bytes,3,rep,name=storedVersions"`
}
@@ -463,6 +491,7 @@ type ConversionRequest struct {
// desiredAPIVersion is the version to convert given objects to. e.g. "myapi.example.com/v1"
DesiredAPIVersion string `json:"desiredAPIVersion" protobuf:"bytes,2,name=desiredAPIVersion"`
// objects is the list of custom resource objects to be converted.
+ // +listType=atomic
Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"`
}
@@ -475,6 +504,7 @@ type ConversionResponse struct {
// The webhook is expected to set `apiVersion` of these objects to the `request.desiredAPIVersion`. The list
// must also have the same size as the input list with the same objects in the same order (equal kind, metadata.uid, metadata.name and metadata.namespace).
// The webhook is allowed to mutate labels and annotations. Any other change to the metadata is silently ignored.
+ // +listType=atomic
ConvertedObjects []runtime.RawExtension `json:"convertedObjects" protobuf:"bytes,2,rep,name=convertedObjects"`
// result contains the result of conversion with extra details if the conversion failed. `result.status` determines if
// the conversion failed or succeeded. The `result.status` field is required and represents the success or failure of the
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go
index a81451ad6e..5dbdf576b3 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go
@@ -76,25 +76,30 @@ type JSONSchemaProps struct {
// default is a default value for undefined object fields.
// Defaulting is a beta feature under the CustomResourceDefaulting feature gate.
// Defaulting requires spec.preserveUnknownFields to be false.
- Default *JSON `json:"default,omitempty" protobuf:"bytes,8,opt,name=default"`
- Maximum *float64 `json:"maximum,omitempty" protobuf:"bytes,9,opt,name=maximum"`
- ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty" protobuf:"bytes,10,opt,name=exclusiveMaximum"`
- Minimum *float64 `json:"minimum,omitempty" protobuf:"bytes,11,opt,name=minimum"`
- ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty" protobuf:"bytes,12,opt,name=exclusiveMinimum"`
- MaxLength *int64 `json:"maxLength,omitempty" protobuf:"bytes,13,opt,name=maxLength"`
- MinLength *int64 `json:"minLength,omitempty" protobuf:"bytes,14,opt,name=minLength"`
- Pattern string `json:"pattern,omitempty" protobuf:"bytes,15,opt,name=pattern"`
- MaxItems *int64 `json:"maxItems,omitempty" protobuf:"bytes,16,opt,name=maxItems"`
- MinItems *int64 `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"`
- UniqueItems bool `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"`
- MultipleOf *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"`
- Enum []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"`
- MaxProperties *int64 `json:"maxProperties,omitempty" protobuf:"bytes,21,opt,name=maxProperties"`
- MinProperties *int64 `json:"minProperties,omitempty" protobuf:"bytes,22,opt,name=minProperties"`
- Required []string `json:"required,omitempty" protobuf:"bytes,23,rep,name=required"`
- Items *JSONSchemaPropsOrArray `json:"items,omitempty" protobuf:"bytes,24,opt,name=items"`
- AllOf []JSONSchemaProps `json:"allOf,omitempty" protobuf:"bytes,25,rep,name=allOf"`
- OneOf []JSONSchemaProps `json:"oneOf,omitempty" protobuf:"bytes,26,rep,name=oneOf"`
+ Default *JSON `json:"default,omitempty" protobuf:"bytes,8,opt,name=default"`
+ Maximum *float64 `json:"maximum,omitempty" protobuf:"bytes,9,opt,name=maximum"`
+ ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty" protobuf:"bytes,10,opt,name=exclusiveMaximum"`
+ Minimum *float64 `json:"minimum,omitempty" protobuf:"bytes,11,opt,name=minimum"`
+ ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty" protobuf:"bytes,12,opt,name=exclusiveMinimum"`
+ MaxLength *int64 `json:"maxLength,omitempty" protobuf:"bytes,13,opt,name=maxLength"`
+ MinLength *int64 `json:"minLength,omitempty" protobuf:"bytes,14,opt,name=minLength"`
+ Pattern string `json:"pattern,omitempty" protobuf:"bytes,15,opt,name=pattern"`
+ MaxItems *int64 `json:"maxItems,omitempty" protobuf:"bytes,16,opt,name=maxItems"`
+ MinItems *int64 `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"`
+ UniqueItems bool `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"`
+ MultipleOf *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"`
+ // +listType=atomic
+ Enum []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"`
+ MaxProperties *int64 `json:"maxProperties,omitempty" protobuf:"bytes,21,opt,name=maxProperties"`
+ MinProperties *int64 `json:"minProperties,omitempty" protobuf:"bytes,22,opt,name=minProperties"`
+ // +listType=atomic
+ Required []string `json:"required,omitempty" protobuf:"bytes,23,rep,name=required"`
+ Items *JSONSchemaPropsOrArray `json:"items,omitempty" protobuf:"bytes,24,opt,name=items"`
+ // +listType=atomic
+ AllOf []JSONSchemaProps `json:"allOf,omitempty" protobuf:"bytes,25,rep,name=allOf"`
+ // +listType=atomic
+ OneOf []JSONSchemaProps `json:"oneOf,omitempty" protobuf:"bytes,26,rep,name=oneOf"`
+ // +listType=atomic
AnyOf []JSONSchemaProps `json:"anyOf,omitempty" protobuf:"bytes,27,rep,name=anyOf"`
Not *JSONSchemaProps `json:"not,omitempty" protobuf:"bytes,28,opt,name=not"`
Properties map[string]JSONSchemaProps `json:"properties,omitempty" protobuf:"bytes,29,rep,name=properties"`
@@ -150,6 +155,7 @@ type JSONSchemaProps struct {
// to ensure those properties are present for all list items.
//
// +optional
+ // +listType=atomic
XListMapKeys []string `json:"x-kubernetes-list-map-keys,omitempty" protobuf:"bytes,41,rep,name=xKubernetesListMapKeys"`
// x-kubernetes-list-type annotates an array to further describe its topology.
@@ -343,7 +349,8 @@ type JSONSchemaURL string
// JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps
// or an array of JSONSchemaProps. Mainly here for serialization purposes.
type JSONSchemaPropsOrArray struct {
- Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
+ Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
+ // +listType=atomic
JSONSchemas []JSONSchemaProps `protobuf:"bytes,2,rep,name=jSONSchemas"`
}
@@ -385,8 +392,9 @@ type JSONSchemaDependencies map[string]JSONSchemaPropsOrStringArray
// JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.
type JSONSchemaPropsOrStringArray struct {
- Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
- Property []string `protobuf:"bytes,2,rep,name=property"`
+ Schema *JSONSchemaProps `protobuf:"bytes,1,opt,name=schema"`
+ // +listType=atomic
+ Property []string `protobuf:"bytes,2,rep,name=property"`
}
// OpenAPISchemaType is used by the kube-openapi generator when constructing
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go
index 405021bf38..bb1d7e0142 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go
@@ -192,6 +192,16 @@ func RegisterConversions(s *runtime.Scheme) error {
}); err != nil {
return err
}
+ if err := s.AddGeneratedConversionFunc((*SelectableField)(nil), (*apiextensions.SelectableField)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_SelectableField_To_apiextensions_SelectableField(a.(*SelectableField), b.(*apiextensions.SelectableField), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiextensions.SelectableField)(nil), (*SelectableField)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiextensions_SelectableField_To_v1_SelectableField(a.(*apiextensions.SelectableField), b.(*SelectableField), scope)
+ }); err != nil {
+ return err
+ }
if err := s.AddGeneratedConversionFunc((*ServiceReference)(nil), (*apiextensions.ServiceReference)(nil), func(a, b interface{}, scope conversion.Scope) error {
return Convert_v1_ServiceReference_To_apiextensions_ServiceReference(a.(*ServiceReference), b.(*apiextensions.ServiceReference), scope)
}); err != nil {
@@ -493,6 +503,7 @@ func autoConvert_apiextensions_CustomResourceDefinitionSpec_To_v1_CustomResource
out.Versions = nil
}
// WARNING: in.AdditionalPrinterColumns requires manual conversion: does not exist in peer-type
+ // WARNING: in.SelectableFields requires manual conversion: does not exist in peer-type
if in.Conversion != nil {
in, out := &in.Conversion, &out.Conversion
*out = new(CustomResourceConversion)
@@ -553,6 +564,7 @@ func autoConvert_v1_CustomResourceDefinitionVersion_To_apiextensions_CustomResou
}
out.Subresources = (*apiextensions.CustomResourceSubresources)(unsafe.Pointer(in.Subresources))
out.AdditionalPrinterColumns = *(*[]apiextensions.CustomResourceColumnDefinition)(unsafe.Pointer(&in.AdditionalPrinterColumns))
+ out.SelectableFields = *(*[]apiextensions.SelectableField)(unsafe.Pointer(&in.SelectableFields))
return nil
}
@@ -578,6 +590,7 @@ func autoConvert_apiextensions_CustomResourceDefinitionVersion_To_v1_CustomResou
}
out.Subresources = (*CustomResourceSubresources)(unsafe.Pointer(in.Subresources))
out.AdditionalPrinterColumns = *(*[]CustomResourceColumnDefinition)(unsafe.Pointer(&in.AdditionalPrinterColumns))
+ out.SelectableFields = *(*[]SelectableField)(unsafe.Pointer(&in.SelectableFields))
return nil
}
@@ -1225,6 +1238,26 @@ func Convert_apiextensions_JSONSchemaPropsOrStringArray_To_v1_JSONSchemaPropsOrS
return autoConvert_apiextensions_JSONSchemaPropsOrStringArray_To_v1_JSONSchemaPropsOrStringArray(in, out, s)
}
+func autoConvert_v1_SelectableField_To_apiextensions_SelectableField(in *SelectableField, out *apiextensions.SelectableField, s conversion.Scope) error {
+ out.JSONPath = in.JSONPath
+ return nil
+}
+
+// Convert_v1_SelectableField_To_apiextensions_SelectableField is an autogenerated conversion function.
+func Convert_v1_SelectableField_To_apiextensions_SelectableField(in *SelectableField, out *apiextensions.SelectableField, s conversion.Scope) error {
+ return autoConvert_v1_SelectableField_To_apiextensions_SelectableField(in, out, s)
+}
+
+func autoConvert_apiextensions_SelectableField_To_v1_SelectableField(in *apiextensions.SelectableField, out *SelectableField, s conversion.Scope) error {
+ out.JSONPath = in.JSONPath
+ return nil
+}
+
+// Convert_apiextensions_SelectableField_To_v1_SelectableField is an autogenerated conversion function.
+func Convert_apiextensions_SelectableField_To_v1_SelectableField(in *apiextensions.SelectableField, out *SelectableField, s conversion.Scope) error {
+ return autoConvert_apiextensions_SelectableField_To_v1_SelectableField(in, out, s)
+}
+
func autoConvert_v1_ServiceReference_To_apiextensions_ServiceReference(in *ServiceReference, out *apiextensions.ServiceReference, s conversion.Scope) error {
out.Namespace = in.Namespace
out.Name = in.Name
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.deepcopy.go
index bc23fcd86f..f85a0b0677 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.deepcopy.go
@@ -329,6 +329,11 @@ func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefin
*out = make([]CustomResourceColumnDefinition, len(*in))
copy(*out, *in)
}
+ if in.SelectableFields != nil {
+ in, out := &in.SelectableFields, &out.SelectableFields
+ *out = make([]SelectableField, len(*in))
+ copy(*out, *in)
+ }
return
}
@@ -585,6 +590,22 @@ func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SelectableField) DeepCopyInto(out *SelectableField) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectableField.
+func (in *SelectableField) DeepCopy() *SelectableField {
+ if in == nil {
+ return nil
+ }
+ out := new(SelectableField)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go
index b5e5c35c55..3be35f3085 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/zz_generated.deepcopy.go
@@ -197,6 +197,11 @@ func (in *CustomResourceDefinitionSpec) DeepCopyInto(out *CustomResourceDefiniti
*out = make([]CustomResourceColumnDefinition, len(*in))
copy(*out, *in)
}
+ if in.SelectableFields != nil {
+ in, out := &in.SelectableFields, &out.SelectableFields
+ *out = make([]SelectableField, len(*in))
+ copy(*out, *in)
+ }
if in.Conversion != nil {
in, out := &in.Conversion, &out.Conversion
*out = new(CustomResourceConversion)
@@ -272,6 +277,11 @@ func (in *CustomResourceDefinitionVersion) DeepCopyInto(out *CustomResourceDefin
*out = make([]CustomResourceColumnDefinition, len(*in))
copy(*out, *in)
}
+ if in.SelectableFields != nil {
+ in, out := &in.SelectableFields, &out.SelectableFields
+ *out = make([]SelectableField, len(*in))
+ copy(*out, *in)
+ }
return
}
@@ -507,6 +517,22 @@ func (in *JSONSchemaPropsOrStringArray) DeepCopy() *JSONSchemaPropsOrStringArray
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SelectableField) DeepCopyInto(out *SelectableField) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelectableField.
+func (in *SelectableField) DeepCopy() *SelectableField {
+ if in == nil {
+ return nil
+ }
+ out := new(SelectableField)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ServiceReference) DeepCopyInto(out *ServiceReference) {
*out = *in
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/resource/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/resource/generated.pb.go
index 53a25d3449..c3a272168e 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/resource/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/resource/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto
+// source: k8s.io/apimachinery/pkg/api/resource/generated.proto
package resource
@@ -41,7 +41,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *Quantity) Reset() { *m = Quantity{} }
func (*Quantity) ProtoMessage() {}
func (*Quantity) Descriptor() ([]byte, []int) {
- return fileDescriptor_612bba87bd70906c, []int{0}
+ return fileDescriptor_7288c78ff45111e9, []int{0}
}
func (m *Quantity) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Quantity.Unmarshal(m, b)
@@ -64,7 +64,7 @@ var xxx_messageInfo_Quantity proto.InternalMessageInfo
func (m *QuantityValue) Reset() { *m = QuantityValue{} }
func (*QuantityValue) ProtoMessage() {}
func (*QuantityValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_612bba87bd70906c, []int{1}
+ return fileDescriptor_7288c78ff45111e9, []int{1}
}
func (m *QuantityValue) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_QuantityValue.Unmarshal(m, b)
@@ -90,25 +90,24 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/generated.proto", fileDescriptor_612bba87bd70906c)
+ proto.RegisterFile("k8s.io/apimachinery/pkg/api/resource/generated.proto", fileDescriptor_7288c78ff45111e9)
}
-var fileDescriptor_612bba87bd70906c = []byte{
- // 254 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xf2, 0xcd, 0xb6, 0x28, 0xd6,
- 0xcb, 0xcc, 0xd7, 0xcf, 0x2e, 0x4d, 0x4a, 0x2d, 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0x6e, 0x3c,
- 0x94, 0x63, 0x68, 0x78, 0x24, 0xc7, 0x78, 0xe2, 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x37,
- 0x1e, 0xc9, 0x31, 0x3e, 0x78, 0x24, 0xc7, 0x38, 0xe1, 0xb1, 0x1c, 0x43, 0x94, 0x0a, 0x31, 0x21,
- 0x05, 0x08, 0x00, 0x00, 0xff, 0xff, 0x8e, 0x70, 0x98, 0xa3, 0x69, 0x01, 0x00, 0x00,
+var fileDescriptor_7288c78ff45111e9 = []byte{
+ // 234 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xc9, 0xb6, 0x28, 0xd6,
+ 0xcb, 0xcc, 0xd7, 0x4f, 0x2c, 0xc8, 0xcc, 0x4d, 0x4c, 0xce, 0xc8, 0xcc, 0x4b, 0x2d, 0xaa, 0xd4,
+ 0x2f, 0xc8, 0x4e, 0x07, 0x09, 0xe8, 0x17, 0xa5, 0x16, 0xe7, 0x97, 0x16, 0x25, 0xa7, 0xea, 0xa7,
+ 0xa7, 0xe6, 0xa5, 0x16, 0x25, 0x96, 0xa4, 0xa6, 0xe8, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0xa9,
+ 0x40, 0x74, 0xe9, 0x21, 0xeb, 0xd2, 0x2b, 0xc8, 0x4e, 0x07, 0x09, 0xe8, 0xc1, 0x74, 0x49, 0xe9,
+ 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0xe7, 0xeb,
+ 0x83, 0x35, 0x27, 0x95, 0xa6, 0x81, 0x79, 0x60, 0x0e, 0x98, 0x05, 0x31, 0x54, 0xc9, 0x82, 0x8b,
+ 0x23, 0xb0, 0x34, 0x31, 0xaf, 0x24, 0xb3, 0xa4, 0x52, 0x48, 0x8c, 0x8b, 0xad, 0xb8, 0xa4, 0x28,
+ 0x33, 0x2f, 0x5d, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0xca, 0xb3, 0x12, 0x99, 0xb1, 0x40,
+ 0x9e, 0xa1, 0x63, 0xa1, 0x3c, 0xc3, 0x84, 0x85, 0xf2, 0x0c, 0x0b, 0x16, 0xca, 0x33, 0x34, 0xdc,
+ 0x51, 0x60, 0x50, 0xb2, 0xe5, 0xe2, 0x85, 0xe9, 0x0c, 0x4b, 0xcc, 0x29, 0x4d, 0x25, 0x4d, 0xbb,
+ 0x93, 0xd7, 0x89, 0x87, 0x72, 0x0c, 0x17, 0x1e, 0xca, 0x31, 0xdc, 0x78, 0x28, 0xc7, 0xd0, 0xf0,
+ 0x48, 0x8e, 0xf1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x6f, 0x3c, 0x92, 0x63, 0x7c,
+ 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x28, 0x15, 0x62, 0x42, 0x0a, 0x10, 0x00, 0x00,
+ 0xff, 0xff, 0x50, 0x91, 0xd0, 0x9c, 0x50, 0x01, 0x00, 0x00,
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/component-base/config/OWNERS b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/validation/OWNERS
similarity index 84%
rename from cluster-api/providers/azure/vendor/k8s.io/component-base/config/OWNERS
rename to cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/validation/OWNERS
index 7243d3cc82..4023732476 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/component-base/config/OWNERS
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/api/validation/OWNERS
@@ -9,5 +9,3 @@ reviewers:
- api-reviewers
labels:
- kind/api-change
- - sig/api-machinery
- - sig/scheduling
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go
index 1a641e7c12..75b88890f6 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
+// source: k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
package v1
@@ -52,7 +52,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *APIGroup) Reset() { *m = APIGroup{} }
func (*APIGroup) ProtoMessage() {}
func (*APIGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{0}
+ return fileDescriptor_a8431b6e0aeeb761, []int{0}
}
func (m *APIGroup) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -80,7 +80,7 @@ var xxx_messageInfo_APIGroup proto.InternalMessageInfo
func (m *APIGroupList) Reset() { *m = APIGroupList{} }
func (*APIGroupList) ProtoMessage() {}
func (*APIGroupList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{1}
+ return fileDescriptor_a8431b6e0aeeb761, []int{1}
}
func (m *APIGroupList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -108,7 +108,7 @@ var xxx_messageInfo_APIGroupList proto.InternalMessageInfo
func (m *APIResource) Reset() { *m = APIResource{} }
func (*APIResource) ProtoMessage() {}
func (*APIResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{2}
+ return fileDescriptor_a8431b6e0aeeb761, []int{2}
}
func (m *APIResource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -136,7 +136,7 @@ var xxx_messageInfo_APIResource proto.InternalMessageInfo
func (m *APIResourceList) Reset() { *m = APIResourceList{} }
func (*APIResourceList) ProtoMessage() {}
func (*APIResourceList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{3}
+ return fileDescriptor_a8431b6e0aeeb761, []int{3}
}
func (m *APIResourceList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -164,7 +164,7 @@ var xxx_messageInfo_APIResourceList proto.InternalMessageInfo
func (m *APIVersions) Reset() { *m = APIVersions{} }
func (*APIVersions) ProtoMessage() {}
func (*APIVersions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{4}
+ return fileDescriptor_a8431b6e0aeeb761, []int{4}
}
func (m *APIVersions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -192,7 +192,7 @@ var xxx_messageInfo_APIVersions proto.InternalMessageInfo
func (m *ApplyOptions) Reset() { *m = ApplyOptions{} }
func (*ApplyOptions) ProtoMessage() {}
func (*ApplyOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{5}
+ return fileDescriptor_a8431b6e0aeeb761, []int{5}
}
func (m *ApplyOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -220,7 +220,7 @@ var xxx_messageInfo_ApplyOptions proto.InternalMessageInfo
func (m *Condition) Reset() { *m = Condition{} }
func (*Condition) ProtoMessage() {}
func (*Condition) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{6}
+ return fileDescriptor_a8431b6e0aeeb761, []int{6}
}
func (m *Condition) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -248,7 +248,7 @@ var xxx_messageInfo_Condition proto.InternalMessageInfo
func (m *CreateOptions) Reset() { *m = CreateOptions{} }
func (*CreateOptions) ProtoMessage() {}
func (*CreateOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{7}
+ return fileDescriptor_a8431b6e0aeeb761, []int{7}
}
func (m *CreateOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -276,7 +276,7 @@ var xxx_messageInfo_CreateOptions proto.InternalMessageInfo
func (m *DeleteOptions) Reset() { *m = DeleteOptions{} }
func (*DeleteOptions) ProtoMessage() {}
func (*DeleteOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{8}
+ return fileDescriptor_a8431b6e0aeeb761, []int{8}
}
func (m *DeleteOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -304,7 +304,7 @@ var xxx_messageInfo_DeleteOptions proto.InternalMessageInfo
func (m *Duration) Reset() { *m = Duration{} }
func (*Duration) ProtoMessage() {}
func (*Duration) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{9}
+ return fileDescriptor_a8431b6e0aeeb761, []int{9}
}
func (m *Duration) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -332,7 +332,7 @@ var xxx_messageInfo_Duration proto.InternalMessageInfo
func (m *FieldsV1) Reset() { *m = FieldsV1{} }
func (*FieldsV1) ProtoMessage() {}
func (*FieldsV1) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{10}
+ return fileDescriptor_a8431b6e0aeeb761, []int{10}
}
func (m *FieldsV1) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -360,7 +360,7 @@ var xxx_messageInfo_FieldsV1 proto.InternalMessageInfo
func (m *GetOptions) Reset() { *m = GetOptions{} }
func (*GetOptions) ProtoMessage() {}
func (*GetOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{11}
+ return fileDescriptor_a8431b6e0aeeb761, []int{11}
}
func (m *GetOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -388,7 +388,7 @@ var xxx_messageInfo_GetOptions proto.InternalMessageInfo
func (m *GroupKind) Reset() { *m = GroupKind{} }
func (*GroupKind) ProtoMessage() {}
func (*GroupKind) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{12}
+ return fileDescriptor_a8431b6e0aeeb761, []int{12}
}
func (m *GroupKind) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -416,7 +416,7 @@ var xxx_messageInfo_GroupKind proto.InternalMessageInfo
func (m *GroupResource) Reset() { *m = GroupResource{} }
func (*GroupResource) ProtoMessage() {}
func (*GroupResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{13}
+ return fileDescriptor_a8431b6e0aeeb761, []int{13}
}
func (m *GroupResource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -444,7 +444,7 @@ var xxx_messageInfo_GroupResource proto.InternalMessageInfo
func (m *GroupVersion) Reset() { *m = GroupVersion{} }
func (*GroupVersion) ProtoMessage() {}
func (*GroupVersion) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{14}
+ return fileDescriptor_a8431b6e0aeeb761, []int{14}
}
func (m *GroupVersion) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -472,7 +472,7 @@ var xxx_messageInfo_GroupVersion proto.InternalMessageInfo
func (m *GroupVersionForDiscovery) Reset() { *m = GroupVersionForDiscovery{} }
func (*GroupVersionForDiscovery) ProtoMessage() {}
func (*GroupVersionForDiscovery) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{15}
+ return fileDescriptor_a8431b6e0aeeb761, []int{15}
}
func (m *GroupVersionForDiscovery) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -500,7 +500,7 @@ var xxx_messageInfo_GroupVersionForDiscovery proto.InternalMessageInfo
func (m *GroupVersionKind) Reset() { *m = GroupVersionKind{} }
func (*GroupVersionKind) ProtoMessage() {}
func (*GroupVersionKind) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{16}
+ return fileDescriptor_a8431b6e0aeeb761, []int{16}
}
func (m *GroupVersionKind) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -528,7 +528,7 @@ var xxx_messageInfo_GroupVersionKind proto.InternalMessageInfo
func (m *GroupVersionResource) Reset() { *m = GroupVersionResource{} }
func (*GroupVersionResource) ProtoMessage() {}
func (*GroupVersionResource) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{17}
+ return fileDescriptor_a8431b6e0aeeb761, []int{17}
}
func (m *GroupVersionResource) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -556,7 +556,7 @@ var xxx_messageInfo_GroupVersionResource proto.InternalMessageInfo
func (m *LabelSelector) Reset() { *m = LabelSelector{} }
func (*LabelSelector) ProtoMessage() {}
func (*LabelSelector) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{18}
+ return fileDescriptor_a8431b6e0aeeb761, []int{18}
}
func (m *LabelSelector) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -584,7 +584,7 @@ var xxx_messageInfo_LabelSelector proto.InternalMessageInfo
func (m *LabelSelectorRequirement) Reset() { *m = LabelSelectorRequirement{} }
func (*LabelSelectorRequirement) ProtoMessage() {}
func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{19}
+ return fileDescriptor_a8431b6e0aeeb761, []int{19}
}
func (m *LabelSelectorRequirement) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -612,7 +612,7 @@ var xxx_messageInfo_LabelSelectorRequirement proto.InternalMessageInfo
func (m *List) Reset() { *m = List{} }
func (*List) ProtoMessage() {}
func (*List) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{20}
+ return fileDescriptor_a8431b6e0aeeb761, []int{20}
}
func (m *List) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -640,7 +640,7 @@ var xxx_messageInfo_List proto.InternalMessageInfo
func (m *ListMeta) Reset() { *m = ListMeta{} }
func (*ListMeta) ProtoMessage() {}
func (*ListMeta) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{21}
+ return fileDescriptor_a8431b6e0aeeb761, []int{21}
}
func (m *ListMeta) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -668,7 +668,7 @@ var xxx_messageInfo_ListMeta proto.InternalMessageInfo
func (m *ListOptions) Reset() { *m = ListOptions{} }
func (*ListOptions) ProtoMessage() {}
func (*ListOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{22}
+ return fileDescriptor_a8431b6e0aeeb761, []int{22}
}
func (m *ListOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -696,7 +696,7 @@ var xxx_messageInfo_ListOptions proto.InternalMessageInfo
func (m *ManagedFieldsEntry) Reset() { *m = ManagedFieldsEntry{} }
func (*ManagedFieldsEntry) ProtoMessage() {}
func (*ManagedFieldsEntry) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{23}
+ return fileDescriptor_a8431b6e0aeeb761, []int{23}
}
func (m *ManagedFieldsEntry) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -724,7 +724,7 @@ var xxx_messageInfo_ManagedFieldsEntry proto.InternalMessageInfo
func (m *MicroTime) Reset() { *m = MicroTime{} }
func (*MicroTime) ProtoMessage() {}
func (*MicroTime) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{24}
+ return fileDescriptor_a8431b6e0aeeb761, []int{24}
}
func (m *MicroTime) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MicroTime.Unmarshal(m, b)
@@ -747,7 +747,7 @@ var xxx_messageInfo_MicroTime proto.InternalMessageInfo
func (m *ObjectMeta) Reset() { *m = ObjectMeta{} }
func (*ObjectMeta) ProtoMessage() {}
func (*ObjectMeta) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{25}
+ return fileDescriptor_a8431b6e0aeeb761, []int{25}
}
func (m *ObjectMeta) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -775,7 +775,7 @@ var xxx_messageInfo_ObjectMeta proto.InternalMessageInfo
func (m *OwnerReference) Reset() { *m = OwnerReference{} }
func (*OwnerReference) ProtoMessage() {}
func (*OwnerReference) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{26}
+ return fileDescriptor_a8431b6e0aeeb761, []int{26}
}
func (m *OwnerReference) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -803,7 +803,7 @@ var xxx_messageInfo_OwnerReference proto.InternalMessageInfo
func (m *PartialObjectMetadata) Reset() { *m = PartialObjectMetadata{} }
func (*PartialObjectMetadata) ProtoMessage() {}
func (*PartialObjectMetadata) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{27}
+ return fileDescriptor_a8431b6e0aeeb761, []int{27}
}
func (m *PartialObjectMetadata) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -831,7 +831,7 @@ var xxx_messageInfo_PartialObjectMetadata proto.InternalMessageInfo
func (m *PartialObjectMetadataList) Reset() { *m = PartialObjectMetadataList{} }
func (*PartialObjectMetadataList) ProtoMessage() {}
func (*PartialObjectMetadataList) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{28}
+ return fileDescriptor_a8431b6e0aeeb761, []int{28}
}
func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -859,7 +859,7 @@ var xxx_messageInfo_PartialObjectMetadataList proto.InternalMessageInfo
func (m *Patch) Reset() { *m = Patch{} }
func (*Patch) ProtoMessage() {}
func (*Patch) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{29}
+ return fileDescriptor_a8431b6e0aeeb761, []int{29}
}
func (m *Patch) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -887,7 +887,7 @@ var xxx_messageInfo_Patch proto.InternalMessageInfo
func (m *PatchOptions) Reset() { *m = PatchOptions{} }
func (*PatchOptions) ProtoMessage() {}
func (*PatchOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{30}
+ return fileDescriptor_a8431b6e0aeeb761, []int{30}
}
func (m *PatchOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -915,7 +915,7 @@ var xxx_messageInfo_PatchOptions proto.InternalMessageInfo
func (m *Preconditions) Reset() { *m = Preconditions{} }
func (*Preconditions) ProtoMessage() {}
func (*Preconditions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{31}
+ return fileDescriptor_a8431b6e0aeeb761, []int{31}
}
func (m *Preconditions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -943,7 +943,7 @@ var xxx_messageInfo_Preconditions proto.InternalMessageInfo
func (m *RootPaths) Reset() { *m = RootPaths{} }
func (*RootPaths) ProtoMessage() {}
func (*RootPaths) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{32}
+ return fileDescriptor_a8431b6e0aeeb761, []int{32}
}
func (m *RootPaths) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -971,7 +971,7 @@ var xxx_messageInfo_RootPaths proto.InternalMessageInfo
func (m *ServerAddressByClientCIDR) Reset() { *m = ServerAddressByClientCIDR{} }
func (*ServerAddressByClientCIDR) ProtoMessage() {}
func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{33}
+ return fileDescriptor_a8431b6e0aeeb761, []int{33}
}
func (m *ServerAddressByClientCIDR) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -999,7 +999,7 @@ var xxx_messageInfo_ServerAddressByClientCIDR proto.InternalMessageInfo
func (m *Status) Reset() { *m = Status{} }
func (*Status) ProtoMessage() {}
func (*Status) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{34}
+ return fileDescriptor_a8431b6e0aeeb761, []int{34}
}
func (m *Status) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1027,7 +1027,7 @@ var xxx_messageInfo_Status proto.InternalMessageInfo
func (m *StatusCause) Reset() { *m = StatusCause{} }
func (*StatusCause) ProtoMessage() {}
func (*StatusCause) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{35}
+ return fileDescriptor_a8431b6e0aeeb761, []int{35}
}
func (m *StatusCause) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1055,7 +1055,7 @@ var xxx_messageInfo_StatusCause proto.InternalMessageInfo
func (m *StatusDetails) Reset() { *m = StatusDetails{} }
func (*StatusDetails) ProtoMessage() {}
func (*StatusDetails) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{36}
+ return fileDescriptor_a8431b6e0aeeb761, []int{36}
}
func (m *StatusDetails) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1083,7 +1083,7 @@ var xxx_messageInfo_StatusDetails proto.InternalMessageInfo
func (m *TableOptions) Reset() { *m = TableOptions{} }
func (*TableOptions) ProtoMessage() {}
func (*TableOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{37}
+ return fileDescriptor_a8431b6e0aeeb761, []int{37}
}
func (m *TableOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1111,7 +1111,7 @@ var xxx_messageInfo_TableOptions proto.InternalMessageInfo
func (m *Time) Reset() { *m = Time{} }
func (*Time) ProtoMessage() {}
func (*Time) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{38}
+ return fileDescriptor_a8431b6e0aeeb761, []int{38}
}
func (m *Time) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Time.Unmarshal(m, b)
@@ -1134,7 +1134,7 @@ var xxx_messageInfo_Time proto.InternalMessageInfo
func (m *Timestamp) Reset() { *m = Timestamp{} }
func (*Timestamp) ProtoMessage() {}
func (*Timestamp) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{39}
+ return fileDescriptor_a8431b6e0aeeb761, []int{39}
}
func (m *Timestamp) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1162,7 +1162,7 @@ var xxx_messageInfo_Timestamp proto.InternalMessageInfo
func (m *TypeMeta) Reset() { *m = TypeMeta{} }
func (*TypeMeta) ProtoMessage() {}
func (*TypeMeta) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{40}
+ return fileDescriptor_a8431b6e0aeeb761, []int{40}
}
func (m *TypeMeta) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1190,7 +1190,7 @@ var xxx_messageInfo_TypeMeta proto.InternalMessageInfo
func (m *UpdateOptions) Reset() { *m = UpdateOptions{} }
func (*UpdateOptions) ProtoMessage() {}
func (*UpdateOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{41}
+ return fileDescriptor_a8431b6e0aeeb761, []int{41}
}
func (m *UpdateOptions) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1218,7 +1218,7 @@ var xxx_messageInfo_UpdateOptions proto.InternalMessageInfo
func (m *Verbs) Reset() { *m = Verbs{} }
func (*Verbs) ProtoMessage() {}
func (*Verbs) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{42}
+ return fileDescriptor_a8431b6e0aeeb761, []int{42}
}
func (m *Verbs) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1246,7 +1246,7 @@ var xxx_messageInfo_Verbs proto.InternalMessageInfo
func (m *WatchEvent) Reset() { *m = WatchEvent{} }
func (*WatchEvent) ProtoMessage() {}
func (*WatchEvent) Descriptor() ([]byte, []int) {
- return fileDescriptor_cf52fa777ced5367, []int{43}
+ return fileDescriptor_a8431b6e0aeeb761, []int{43}
}
func (m *WatchEvent) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -1322,11 +1322,11 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptor_cf52fa777ced5367)
+ proto.RegisterFile("k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto", fileDescriptor_a8431b6e0aeeb761)
}
-var fileDescriptor_cf52fa777ced5367 = []byte{
- // 2867 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_a8431b6e0aeeb761 = []byte{
+ // 2853 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x1a, 0x4b, 0x6f, 0x24, 0x47,
0xd9, 0x3d, 0x0f, 0x7b, 0xe6, 0x9b, 0x19, 0x3f, 0x6a, 0xbd, 0x30, 0x6b, 0x84, 0xc7, 0xe9, 0x44,
0xd1, 0x06, 0x92, 0x71, 0x76, 0x09, 0xd1, 0x66, 0x43, 0x02, 0x1e, 0xcf, 0x7a, 0xe3, 0x64, 0x1d,
@@ -1334,179 +1334,178 @@ var fileDescriptor_cf52fa777ced5367 = []byte{
0xbc, 0x19, 0x38, 0x90, 0x03, 0x08, 0x90, 0x50, 0x14, 0x6e, 0x9c, 0x50, 0x22, 0xf8, 0x01, 0x88,
0x13, 0x77, 0x90, 0xc8, 0x31, 0x88, 0x4b, 0x24, 0xd0, 0x28, 0x31, 0x07, 0x8e, 0x88, 0xab, 0x85,
0x04, 0xaa, 0x47, 0x77, 0x57, 0xcf, 0x63, 0xdd, 0x93, 0x5d, 0x22, 0x6e, 0xd3, 0xdf, 0xbb, 0xaa,
- 0xbe, 0xfa, 0xea, 0x7b, 0x0c, 0xec, 0x1c, 0x5f, 0x63, 0x75, 0xc7, 0x5f, 0x3f, 0xee, 0x1d, 0x10,
- 0xea, 0x91, 0x80, 0xb0, 0xf5, 0x13, 0xe2, 0xd9, 0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0xc2, 0xf0, 0x63, 0x03, 0x40, 0xb4,
+ 0xf2, 0x44, 0x1b, 0x29, 0xc5, 0x38, 0xff, 0x0e, 0xcc, 0xfa, 0xd2, 0x23, 0xe5, 0xa0, 0x75, 0xca,
+ 0x7e, 0x71, 0x74, 0x91, 0xa4, 0x4f, 0x62, 0x25, 0xac, 0xf1, 0xf2, 0x07, 0x9f, 0xac, 0xce, 0x7c,
+ 0xf8, 0xc9, 0xea, 0xcc, 0x47, 0x9f, 0xac, 0xce, 0xbc, 0x7d, 0xba, 0x6a, 0x7c, 0x70, 0xba, 0x6a,
+ 0x7c, 0x78, 0xba, 0x6a, 0x7c, 0x74, 0xba, 0x6a, 0x7c, 0x7c, 0xba, 0x6a, 0xbc, 0xfb, 0xf7, 0xd5,
+ 0x99, 0xd7, 0x1e, 0x4b, 0xf3, 0x07, 0xbf, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xcb, 0x82, 0xff,
+ 0xd4, 0x07, 0x28, 0x00, 0x00,
}
func (m *APIGroup) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
index a2cd8015fb..2b95700f72 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto
@@ -34,6 +34,7 @@ message APIGroup {
optional string name = 1;
// versions are the versions supported in this group.
+ // +listType=atomic
repeated GroupVersionForDiscovery versions = 2;
// preferredVersion is the version preferred by the API server, which
@@ -49,6 +50,7 @@ message APIGroup {
// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
// +optional
+ // +listType=atomic
repeated ServerAddressByClientCIDR serverAddressByClientCIDRs = 4;
}
@@ -56,6 +58,7 @@ message APIGroup {
// /apis.
message APIGroupList {
// groups is a list of APIGroup.
+ // +listType=atomic
repeated APIGroup groups = 1;
}
@@ -88,9 +91,11 @@ message APIResource {
optional Verbs verbs = 4;
// shortNames is a list of suggested short names of the resource.
+ // +listType=atomic
repeated string shortNames = 5;
// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
+ // +listType=atomic
repeated string categories = 7;
// The hash value of the storage version, the version this resource is
@@ -112,6 +117,7 @@ message APIResourceList {
optional string groupVersion = 1;
// resources contains the name of the resources and if they are namespaced.
+ // +listType=atomic
repeated APIResource resources = 2;
}
@@ -122,6 +128,7 @@ message APIResourceList {
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
message APIVersions {
// versions are the api versions that are available.
+ // +listType=atomic
repeated string versions = 1;
// a map of client CIDR to server address that is serving this group.
@@ -131,6 +138,7 @@ message APIVersions {
// The server returns only those CIDRs that it thinks that the client can match.
// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
+ // +listType=atomic
repeated ServerAddressByClientCIDR serverAddressByClientCIDRs = 2;
}
@@ -145,6 +153,7 @@ message ApplyOptions {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
repeated string dryRun = 1;
// Force is going to "force" Apply requests. It means user will
@@ -235,6 +244,7 @@ message CreateOptions {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
repeated string dryRun = 1;
// fieldManager is a name associated with the actor or entity
@@ -303,6 +313,7 @@ message DeleteOptions {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
repeated string dryRun = 5;
}
@@ -418,6 +429,7 @@ message LabelSelector {
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
// +optional
+ // +listType=atomic
repeated LabelSelectorRequirement matchExpressions = 2;
}
@@ -436,6 +448,7 @@ message LabelSelectorRequirement {
// the values array must be empty. This array is replaced during a strategic
// merge patch.
// +optional
+ // +listType=atomic
repeated string values = 3;
}
@@ -788,6 +801,8 @@ message ObjectMeta {
// +optional
// +patchMergeKey=uid
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=uid
repeated OwnerReference ownerReferences = 13;
// Must be empty before the object is deleted from the registry. Each entry
@@ -805,6 +820,7 @@ message ObjectMeta {
// are not vulnerable to ordering changes in the list.
// +optional
// +patchStrategy=merge
+ // +listType=set
repeated string finalizers = 14;
// ManagedFields maps workflow-id and version to the set of fields
@@ -816,6 +832,7 @@ message ObjectMeta {
// workflow used when modifying the object.
//
// +optional
+ // +listType=atomic
repeated ManagedFieldsEntry managedFields = 17;
}
@@ -890,6 +907,7 @@ message PatchOptions {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
repeated string dryRun = 1;
// Force is going to "force" Apply requests. It means user will
@@ -943,6 +961,7 @@ message Preconditions {
// For example: "/healthz", "/apis".
message RootPaths {
// paths are the paths available at root.
+ // +listType=atomic
repeated string paths = 1;
}
@@ -985,6 +1004,7 @@ message Status {
// is not guaranteed to conform to any schema except that defined by
// the reason type.
// +optional
+ // +listType=atomic
optional StatusDetails details = 5;
// Suggested HTTP return code for this status, 0 if not set.
@@ -1049,6 +1069,7 @@ message StatusDetails {
// The Causes array includes more details associated with the StatusReason
// failure. Not all StatusReasons may provide detailed causes.
// +optional
+ // +listType=atomic
repeated StatusCause causes = 4;
// If specified, the time in seconds before the operation should be retried. Some errors may indicate
@@ -1135,6 +1156,7 @@ message UpdateOptions {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
repeated string dryRun = 1;
// fieldManager is a name associated with the actor or entity
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
index 8a8ff70189..9695ba50b4 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go
@@ -236,6 +236,8 @@ type ObjectMeta struct {
// +optional
// +patchMergeKey=uid
// +patchStrategy=merge
+ // +listType=map
+ // +listMapKey=uid
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" patchStrategy:"merge" patchMergeKey:"uid" protobuf:"bytes,13,rep,name=ownerReferences"`
// Must be empty before the object is deleted from the registry. Each entry
@@ -253,6 +255,7 @@ type ObjectMeta struct {
// are not vulnerable to ordering changes in the list.
// +optional
// +patchStrategy=merge
+ // +listType=set
Finalizers []string `json:"finalizers,omitempty" patchStrategy:"merge" protobuf:"bytes,14,rep,name=finalizers"`
// Tombstone: ClusterName was a legacy field that was always cleared by
@@ -268,6 +271,7 @@ type ObjectMeta struct {
// workflow used when modifying the object.
//
// +optional
+ // +listType=atomic
ManagedFields []ManagedFieldsEntry `json:"managedFields,omitempty" protobuf:"bytes,17,rep,name=managedFields"`
}
@@ -428,6 +432,15 @@ type ListOptions struct {
SendInitialEvents *bool `json:"sendInitialEvents,omitempty" protobuf:"varint,11,opt,name=sendInitialEvents"`
}
+const (
+ // InitialEventsAnnotationKey the name of the key
+ // under which an annotation marking the end of
+ // a watchlist stream is stored.
+ //
+ // The annotation is added to a "Bookmark" event.
+ InitialEventsAnnotationKey = "k8s.io/initial-events-end"
+)
+
// resourceVersionMatch specifies how the resourceVersion parameter is applied. resourceVersionMatch
// may only be set if resourceVersion is also set.
//
@@ -531,6 +544,7 @@ type DeleteOptions struct {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,5,rep,name=dryRun"`
}
@@ -556,6 +570,7 @@ type CreateOptions struct {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`
// +k8s:deprecated=includeUninitialized,protobuf=2
@@ -600,6 +615,7 @@ type PatchOptions struct {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`
// Force is going to "force" Apply requests. It means user will
@@ -651,6 +667,7 @@ type ApplyOptions struct {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`
// Force is going to "force" Apply requests. It means user will
@@ -683,6 +700,7 @@ type UpdateOptions struct {
// request. Valid values are:
// - All: all dry run stages will be processed
// +optional
+ // +listType=atomic
DryRun []string `json:"dryRun,omitempty" protobuf:"bytes,1,rep,name=dryRun"`
// fieldManager is a name associated with the actor or entity
@@ -751,6 +769,7 @@ type Status struct {
// is not guaranteed to conform to any schema except that defined by
// the reason type.
// +optional
+ // +listType=atomic
Details *StatusDetails `json:"details,omitempty" protobuf:"bytes,5,opt,name=details"`
// Suggested HTTP return code for this status, 0 if not set.
// +optional
@@ -784,6 +803,7 @@ type StatusDetails struct {
// The Causes array includes more details associated with the StatusReason
// failure. Not all StatusReasons may provide detailed causes.
// +optional
+ // +listType=atomic
Causes []StatusCause `json:"causes,omitempty" protobuf:"bytes,4,rep,name=causes"`
// If specified, the time in seconds before the operation should be retried. Some errors may indicate
// the client must take an alternate action - for those errors this field may indicate how long to wait
@@ -1047,6 +1067,7 @@ type List struct {
type APIVersions struct {
TypeMeta `json:",inline"`
// versions are the api versions that are available.
+ // +listType=atomic
Versions []string `json:"versions" protobuf:"bytes,1,rep,name=versions"`
// a map of client CIDR to server address that is serving this group.
// This is to help clients reach servers in the most network-efficient way possible.
@@ -1055,6 +1076,7 @@ type APIVersions struct {
// The server returns only those CIDRs that it thinks that the client can match.
// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
+ // +listType=atomic
ServerAddressByClientCIDRs []ServerAddressByClientCIDR `json:"serverAddressByClientCIDRs" protobuf:"bytes,2,rep,name=serverAddressByClientCIDRs"`
}
@@ -1065,6 +1087,7 @@ type APIVersions struct {
type APIGroupList struct {
TypeMeta `json:",inline"`
// groups is a list of APIGroup.
+ // +listType=atomic
Groups []APIGroup `json:"groups" protobuf:"bytes,1,rep,name=groups"`
}
@@ -1077,6 +1100,7 @@ type APIGroup struct {
// name is the name of the group.
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// versions are the versions supported in this group.
+ // +listType=atomic
Versions []GroupVersionForDiscovery `json:"versions" protobuf:"bytes,2,rep,name=versions"`
// preferredVersion is the version preferred by the API server, which
// probably is the storage version.
@@ -1090,6 +1114,7 @@ type APIGroup struct {
// For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
// Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.
// +optional
+ // +listType=atomic
ServerAddressByClientCIDRs []ServerAddressByClientCIDR `json:"serverAddressByClientCIDRs,omitempty" protobuf:"bytes,4,rep,name=serverAddressByClientCIDRs"`
}
@@ -1134,8 +1159,10 @@ type APIResource struct {
// update, patch, delete, deletecollection, and proxy)
Verbs Verbs `json:"verbs" protobuf:"bytes,4,opt,name=verbs"`
// shortNames is a list of suggested short names of the resource.
+ // +listType=atomic
ShortNames []string `json:"shortNames,omitempty" protobuf:"bytes,5,rep,name=shortNames"`
// categories is a list of the grouped resources this resource belongs to (e.g. 'all')
+ // +listType=atomic
Categories []string `json:"categories,omitempty" protobuf:"bytes,7,rep,name=categories"`
// The hash value of the storage version, the version this resource is
// converted to when written to the data store. Value must be treated
@@ -1168,6 +1195,7 @@ type APIResourceList struct {
// groupVersion is the group and version this APIResourceList is for.
GroupVersion string `json:"groupVersion" protobuf:"bytes,1,opt,name=groupVersion"`
// resources contains the name of the resources and if they are namespaced.
+ // +listType=atomic
APIResources []APIResource `json:"resources" protobuf:"bytes,2,rep,name=resources"`
}
@@ -1175,6 +1203,7 @@ type APIResourceList struct {
// For example: "/healthz", "/apis".
type RootPaths struct {
// paths are the paths available at root.
+ // +listType=atomic
Paths []string `json:"paths" protobuf:"bytes,1,rep,name=paths"`
}
@@ -1218,6 +1247,7 @@ type LabelSelector struct {
MatchLabels map[string]string `json:"matchLabels,omitempty" protobuf:"bytes,1,rep,name=matchLabels"`
// matchExpressions is a list of label selector requirements. The requirements are ANDed.
// +optional
+ // +listType=atomic
MatchExpressions []LabelSelectorRequirement `json:"matchExpressions,omitempty" protobuf:"bytes,2,rep,name=matchExpressions"`
}
@@ -1234,6 +1264,7 @@ type LabelSelectorRequirement struct {
// the values array must be empty. This array is replaced during a strategic
// merge patch.
// +optional
+ // +listType=atomic
Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"`
}
@@ -1335,8 +1366,10 @@ type Table struct {
// columnDefinitions describes each column in the returned items array. The number of cells per row
// will always match the number of column definitions.
+ // +listType=atomic
ColumnDefinitions []TableColumnDefinition `json:"columnDefinitions"`
// rows is the list of items in the table.
+ // +listType=atomic
Rows []TableRow `json:"rows"`
}
@@ -1369,12 +1402,14 @@ type TableRow struct {
// cells will be as wide as the column definitions array and may contain strings, numbers (float64 or
// int64), booleans, simple maps, lists, or null. See the type field of the column definition for a
// more detailed description.
+ // +listType=atomic
Cells []interface{} `json:"cells"`
// conditions describe additional status of a row that are relevant for a human user. These conditions
// apply to the row, not to the object, and will be specific to table output. The only defined
// condition type is 'Completed', for a row that indicates a resource that has run to completion and
// can be given less visual priority.
// +optional
+ // +listType=atomic
Conditions []TableRowCondition `json:"conditions,omitempty"`
// This field contains the requested additional information about each object based on the includeObject
// policy when requesting the Table. If "None", this field is empty, if "Object" this will be the
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go
index a2abc67c15..819d936fe5 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto
+// source: k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto
package v1beta1
@@ -47,7 +47,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *PartialObjectMetadataList) Reset() { *m = PartialObjectMetadataList{} }
func (*PartialObjectMetadataList) ProtoMessage() {}
func (*PartialObjectMetadataList) Descriptor() ([]byte, []int) {
- return fileDescriptor_90ec10f86b91f9a8, []int{0}
+ return fileDescriptor_39237a8d8061b52f, []int{0}
}
func (m *PartialObjectMetadataList) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -77,31 +77,30 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto", fileDescriptor_90ec10f86b91f9a8)
+ proto.RegisterFile("k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto", fileDescriptor_39237a8d8061b52f)
}
-var fileDescriptor_90ec10f86b91f9a8 = []byte{
- // 317 bytes of a gzipped FileDescriptorProto
+var fileDescriptor_39237a8d8061b52f = []byte{
+ // 303 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x41, 0x4b, 0xf3, 0x30,
0x1c, 0xc6, 0x9b, 0xf7, 0x65, 0x30, 0x3a, 0x04, 0xd9, 0x69, 0xee, 0x90, 0x0d, 0x4f, 0xdb, 0xc1,
- 0x84, 0x0d, 0x11, 0xc1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0x3e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xfe, 0x0f, 0xd7, 0x36, 0x32, 0x02, 0x00, 0x00,
}
func (m *PartialObjectMetadataList) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go
index ec677a7d96..2e40e140ae 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto
+// source: k8s.io/apimachinery/pkg/runtime/generated.proto
package runtime
@@ -45,7 +45,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *RawExtension) Reset() { *m = RawExtension{} }
func (*RawExtension) ProtoMessage() {}
func (*RawExtension) Descriptor() ([]byte, []int) {
- return fileDescriptor_9d3c45d7f546725c, []int{0}
+ return fileDescriptor_2e0e4b920403a48c, []int{0}
}
func (m *RawExtension) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -73,7 +73,7 @@ var xxx_messageInfo_RawExtension proto.InternalMessageInfo
func (m *TypeMeta) Reset() { *m = TypeMeta{} }
func (*TypeMeta) ProtoMessage() {}
func (*TypeMeta) Descriptor() ([]byte, []int) {
- return fileDescriptor_9d3c45d7f546725c, []int{1}
+ return fileDescriptor_2e0e4b920403a48c, []int{1}
}
func (m *TypeMeta) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -101,7 +101,7 @@ var xxx_messageInfo_TypeMeta proto.InternalMessageInfo
func (m *Unknown) Reset() { *m = Unknown{} }
func (*Unknown) ProtoMessage() {}
func (*Unknown) Descriptor() ([]byte, []int) {
- return fileDescriptor_9d3c45d7f546725c, []int{2}
+ return fileDescriptor_2e0e4b920403a48c, []int{2}
}
func (m *Unknown) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -133,35 +133,34 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/generated.proto", fileDescriptor_9d3c45d7f546725c)
+ proto.RegisterFile("k8s.io/apimachinery/pkg/runtime/generated.proto", fileDescriptor_2e0e4b920403a48c)
}
-var fileDescriptor_9d3c45d7f546725c = []byte{
- // 380 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0xaa, 0x13, 0x31,
- 0x14, 0xc6, 0x27, 0xb7, 0x85, 0x7b, 0x4d, 0x0b, 0x57, 0xe2, 0xc2, 0xd1, 0x45, 0xe6, 0xd2, 0x95,
- 0x77, 0x61, 0x02, 0x17, 0x04, 0xb7, 0x9d, 0x52, 0x50, 0x44, 0x90, 0xe0, 0x1f, 0x70, 0x65, 0x3a,
- 0x13, 0xa7, 0x61, 0xe8, 0xc9, 0x90, 0x66, 0x1c, 0xbb, 0xf3, 0x11, 0x7c, 0xac, 0x2e, 0xbb, 0xec,
- 0xaa, 0xd8, 0xf1, 0x21, 0xdc, 0x4a, 0xd3, 0xb4, 0x56, 0x5d, 0x74, 0x97, 0x73, 0xbe, 0xef, 0xf7,
- 0x9d, 0x73, 0x20, 0xf8, 0x45, 0xf9, 0x7c, 0xce, 0xb4, 0xe1, 0x65, 0x3d, 0x51, 0x16, 0x94, 0x53,
- 0x73, 0xfe, 0x45, 0x41, 0x6e, 0x2c, 0x0f, 0x82, 0xac, 0xf4, 0x4c, 0x66, 0x53, 0x0d, 0xca, 0x2e,
- 0x78, 0x55, 0x16, 0xdc, 0xd6, 0xe0, 0xf4, 0x4c, 0xf1, 0x42, 0x81, 0xb2, 0xd2, 0xa9, 0x9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0xf2, 0xae, 0x47, 0x7f, 0xcb, 0xe2, 0x5f, 0x3f, 0x79, 0x86, 0x7b, 0xa1, 0xb5, 0x1b,
- 0x1d, 0x77, 0x3d, 0xfe, 0x20, 0xe0, 0xbd, 0xd1, 0x1f, 0x49, 0x9c, 0xfa, 0xd2, 0xf1, 0x72, 0x4b,
- 0xa3, 0xd5, 0x96, 0x46, 0xeb, 0x2d, 0x8d, 0xbe, 0xb5, 0x14, 0x2d, 0x5b, 0x8a, 0x56, 0x2d, 0x45,
- 0xeb, 0x96, 0xa2, 0x1f, 0x2d, 0x45, 0xdf, 0x7f, 0xd2, 0xe8, 0x63, 0x72, 0xe6, 0xb7, 0xfc, 0x0e,
- 0x00, 0x00, 0xff, 0xff, 0x1f, 0x32, 0xd5, 0x68, 0x68, 0x02, 0x00, 0x00,
+var fileDescriptor_2e0e4b920403a48c = []byte{
+ // 365 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x4f, 0x6b, 0x22, 0x31,
+ 0x18, 0xc6, 0x27, 0x2a, 0xe8, 0x46, 0xc1, 0x25, 0x7b, 0xd8, 0xd9, 0x3d, 0x64, 0xc4, 0xd3, 0x7a,
+ 0xd8, 0x0c, 0x08, 0x85, 0x5e, 0x1d, 0xf1, 0x50, 0x4a, 0xa1, 0x84, 0xfe, 0x81, 0x9e, 0x1a, 0x67,
+ 0xd2, 0x31, 0x0c, 0x26, 0xc3, 0x18, 0x99, 0x7a, 0xeb, 0x47, 0xe8, 0xc7, 0xf2, 0xe8, 0xd1, 0x93,
+ 0xd4, 0xe9, 0x87, 0xe8, 0xb5, 0x18, 0xa3, 0xb5, 0xed, 0xc1, 0x5b, 0xde, 0xf7, 0x79, 0x7e, 0xcf,
+ 0xfb, 0xbe, 0x10, 0xe8, 0x27, 0xa7, 0x13, 0x22, 0x94, 0xcf, 0x52, 0x31, 0x66, 0xe1, 0x48, 0x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 0x21, 0xea, 0xc1, 0x66, 0xa8, 0xa4, 0xe6, 0x52, 0x0f, 0x64, 0xa8, 0x22, 0x21, 0x63, 0xb7,
+ 0x6c, 0x96, 0xfd, 0x6d, 0xf3, 0x9a, 0xfd, 0xcf, 0x32, 0xfd, 0xea, 0x47, 0x27, 0xb0, 0x6e, 0x5b,
+ 0x9b, 0xd1, 0x6e, 0xc5, 0xe0, 0xbf, 0x2c, 0x5e, 0xef, 0x7f, 0x48, 0xf4, 0xd0, 0x17, 0x0c, 0xe6,
+ 0x6b, 0xec, 0x2c, 0xd6, 0xd8, 0x59, 0xae, 0xb1, 0xf3, 0x54, 0x60, 0x30, 0x2f, 0x30, 0x58, 0x14,
+ 0x18, 0x2c, 0x0b, 0x0c, 0x5e, 0x0a, 0x0c, 0x9e, 0x5f, 0xb1, 0x73, 0xe7, 0x1d, 0xf9, 0x2d, 0xef,
+ 0x01, 0x00, 0x00, 0xff, 0xff, 0x2a, 0x9b, 0x09, 0xb3, 0x4f, 0x02, 0x00, 0x00,
}
func (m *RawExtension) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/helper.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/helper.go
index f46a24cc6c..cc0a77bba6 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/helper.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/helper.go
@@ -236,10 +236,14 @@ func (e WithVersionEncoder) Encode(obj Object, stream io.Writer) error {
gvk = preferredGVK
}
}
- kind.SetGroupVersionKind(gvk)
- err = e.Encoder.Encode(obj, stream)
- kind.SetGroupVersionKind(oldGVK)
- return err
+
+ // The gvk only needs to be set if not already as desired.
+ if gvk != oldGVK {
+ kind.SetGroupVersionKind(gvk)
+ defer kind.SetGroupVersionKind(oldGVK)
+ }
+
+ return e.Encoder.Encode(obj, stream)
}
// WithoutVersionDecoder clears the group version kind of a deserialized object.
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go
index 46b1e787bd..7a26d2798e 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.proto
+// source: k8s.io/apimachinery/pkg/runtime/schema/generated.proto
package schema
@@ -39,21 +39,20 @@ var _ = math.Inf
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime/schema/generated.proto", fileDescriptor_0462724132518e0d)
+ proto.RegisterFile("k8s.io/apimachinery/pkg/runtime/schema/generated.proto", fileDescriptor_25f8f0eed21c6089)
}
-var fileDescriptor_0462724132518e0d = []byte{
- // 186 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xce, 0xad, 0x8e, 0xc3, 0x30,
- 0x0c, 0xc0, 0xf1, 0x84, 0x1e, 0x3c, 0x78, 0xc0, 0xb0, 0xec, 0x62, 0x7a, 0xf8, 0xf0, 0xa4, 0xf1,
- 0xb1, 0xb4, 0xf5, 0xd2, 0x28, 0xca, 0x87, 0xd2, 0x64, 0xd2, 0xd8, 0x1e, 0x61, 0x8f, 0x55, 0x58,
- 0x58, 0xb8, 0x66, 0x2f, 0x32, 0x29, 0x2d, 0x18, 0x1c, 0xf3, 0x5f, 0xd6, 0xcf, 0xf2, 0xd7, 0xd1,
- 0xfc, 0x8d, 0x42, 0x7b, 0x34, 0xb9, 0xa5, 0xe8, 0x28, 0xd1, 0x88, 0x17, 0x72, 0xbd, 0x8f, 0xb8,
- 0x2f, 0x64, 0xd0, 0x56, 0x76, 0x83, 0x76, 0x14, 0xaf, 0x18, 0x8c, 0xc2, 0x98, 0x5d, 0xd2, 0x96,
- 0x70, 0xec, 0x06, 0xb2, 0x12, 0x15, 0x39, 0x8a, 0x32, 0x51, 0x2f, 0x42, 0xf4, 0xc9, 0x7f, 0x37,
- 0x9b, 0x13, 0xef, 0x4e, 0x04, 0xa3, 0xc4, 0xee, 0xc4, 0xe6, 0x7e, 0x7e, 0x95, 0x4e, 0x43, 0x6e,
- 0x45, 0xe7, 0x2d, 0x2a, 0xaf, 0x3c, 0x56, 0xde, 0xe6, 0x73, 0xad, 0x1a, 0x75, 0xda, 0xce, 0xfe,
- 0x1f, 0xa6, 0x15, 0xd8, 0xbc, 0x02, 0x5b, 0x56, 0x60, 0xb7, 0x02, 0x7c, 0x2a, 0xc0, 0xe7, 0x02,
- 0x7c, 0x29, 0xc0, 0x1f, 0x05, 0xf8, 0xfd, 0x09, 0xec, 0xd4, 0x7c, 0xf6, 0xf4, 0x2b, 0x00, 0x00,
- 0xff, 0xff, 0x12, 0xb4, 0xae, 0x48, 0xf6, 0x00, 0x00, 0x00,
+var fileDescriptor_25f8f0eed21c6089 = []byte{
+ // 170 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0xce, 0xa1, 0x0e, 0xc2, 0x30,
+ 0x10, 0xc6, 0xf1, 0xd6, 0x22, 0x91, 0x88, 0x93, 0x73, 0xdc, 0x39, 0x82, 0x46, 0xf3, 0x04, 0xb8,
+ 0x6e, 0x94, 0xae, 0x59, 0xba, 0x6b, 0xba, 0x4e, 0xe0, 0x78, 0x04, 0x1e, 0x6b, 0x72, 0x72, 0x92,
+ 0x95, 0x17, 0x21, 0x69, 0x11, 0x48, 0xdc, 0xfd, 0xc5, 0xef, 0xf2, 0x6d, 0x0e, 0xdd, 0x71, 0x40,
+ 0xcb, 0xa4, 0xbc, 0x75, 0xaa, 0x69, 0x6d, 0xaf, 0xc3, 0x9d, 0x7c, 0x67, 0x28, 0x8c, 0x7d, 0xb4,
+ 0x4e, 0xd3, 0xd0, 0xb4, 0xda, 0x29, 0x32, 0xba, 0xd7, 0x41, 0x45, 0x7d, 0x45, 0x1f, 0x38, 0xf2,
+ 0xb6, 0x2a, 0x0e, 0x7f, 0x1d, 0xfa, 0xce, 0xe0, 0xd7, 0x61, 0x71, 0xbb, 0xbd, 0xb1, 0xb1, 0x1d,
+ 0x6b, 0x6c, 0xd8, 0x91, 0x61, 0xc3, 0x94, 0x79, 0x3d, 0xde, 0x72, 0xe5, 0xc8, 0x57, 0x79, 0x7b,
+ 0x3a, 0x4f, 0x2b, 0x88, 0x79, 0x05, 0xb1, 0xac, 0x20, 0x1e, 0x09, 0xe4, 0x94, 0x40, 0xce, 0x09,
+ 0xe4, 0x92, 0x40, 0xbe, 0x12, 0xc8, 0xe7, 0x1b, 0xc4, 0xa5, 0xfa, 0x6f, 0xf4, 0x27, 0x00, 0x00,
+ 0xff, 0xff, 0x97, 0xb8, 0x4d, 0x1f, 0xdd, 0x00, 0x00, 0x00,
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go
index 7cfdd06321..2e477fee2a 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go
@@ -27,6 +27,7 @@ import (
"golang.org/x/net/websocket"
"k8s.io/apimachinery/pkg/util/httpstream"
+ "k8s.io/apimachinery/pkg/util/portforward"
"k8s.io/apimachinery/pkg/util/remotecommand"
"k8s.io/apimachinery/pkg/util/runtime"
"k8s.io/klog/v2"
@@ -106,6 +107,23 @@ func IsWebSocketRequestWithStreamCloseProtocol(req *http.Request) bool {
return false
}
+// IsWebSocketRequestWithTunnelingProtocol returns true if the request contains headers
+// identifying that it is requesting a websocket upgrade with a tunneling protocol;
+// false otherwise.
+func IsWebSocketRequestWithTunnelingProtocol(req *http.Request) bool {
+ if !IsWebSocketRequest(req) {
+ return false
+ }
+ requestedProtocols := strings.TrimSpace(req.Header.Get(WebSocketProtocolHeader))
+ for _, requestedProtocol := range strings.Split(requestedProtocols, ",") {
+ if protocolSupportsWebsocketTunneling(strings.TrimSpace(requestedProtocol)) {
+ return true
+ }
+ }
+
+ return false
+}
+
// IgnoreReceives reads from a WebSocket until it is closed, then returns. If timeout is set, the
// read and write deadlines are pushed every time a new message is received.
func IgnoreReceives(ws *websocket.Conn, timeout time.Duration) {
@@ -301,6 +319,12 @@ func protocolSupportsStreamClose(protocol string) bool {
return protocol == remotecommand.StreamProtocolV5Name
}
+// protocolSupportsWebsocketTunneling returns true if the passed protocol
+// is a tunneled Kubernetes spdy protocol; false otherwise.
+func protocolSupportsWebsocketTunneling(protocol string) bool {
+ return strings.HasPrefix(protocol, portforward.WebsocketsSPDYTunnelingPrefix) && strings.HasSuffix(protocol, portforward.KubernetesSuffix)
+}
+
// handle implements a websocket handler.
func (conn *Conn) handle(ws *websocket.Conn) {
conn.initialize(ws)
@@ -344,7 +368,7 @@ func (conn *Conn) handle(ws *websocket.Conn) {
continue
}
if _, err := conn.channels[channel].DataFromSocket(data); err != nil {
- klog.Errorf("Unable to write frame to %d: %v\n%s", channel, err, string(data))
+ klog.Errorf("Unable to write frame (%d bytes) to %d: %v", len(data), channel, err)
continue
}
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go
index 8f9ced93fb..1f2877399f 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.pb.go
@@ -15,7 +15,7 @@ limitations under the License.
*/
// Code generated by protoc-gen-gogo. DO NOT EDIT.
-// source: k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.proto
+// source: k8s.io/apimachinery/pkg/util/intstr/generated.proto
package intstr
@@ -43,7 +43,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func (m *IntOrString) Reset() { *m = IntOrString{} }
func (*IntOrString) ProtoMessage() {}
func (*IntOrString) Descriptor() ([]byte, []int) {
- return fileDescriptor_94e046ae3ce6121c, []int{0}
+ return fileDescriptor_771bacc35a5ec189, []int{0}
}
func (m *IntOrString) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -73,30 +73,29 @@ func init() {
}
func init() {
- proto.RegisterFile("k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/intstr/generated.proto", fileDescriptor_94e046ae3ce6121c)
+ proto.RegisterFile("k8s.io/apimachinery/pkg/util/intstr/generated.proto", fileDescriptor_771bacc35a5ec189)
}
-var fileDescriptor_94e046ae3ce6121c = []byte{
- // 292 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x90, 0xb1, 0x4a, 0x03, 0x31,
- 0x1c, 0xc6, 0x13, 0x5b, 0x8b, 0x9e, 0xe0, 0x50, 0x1c, 0x8a, 0x43, 0x7a, 0x58, 0x90, 0x5b, 0x4c,
- 0x56, 0x71, 0xec, 0x56, 0x10, 0x84, 0x56, 0x1c, 0xdc, 0xee, 0xda, 0x98, 0x86, 0x6b, 0x93, 0x90,
- 0xfb, 0x9f, 0x70, 0x5b, 0x1f, 0x41, 0x37, 0x47, 0x1f, 0xe7, 0xc6, 0x8e, 0x1d, 0xa4, 0x78, 0xf1,
- 0x2d, 0x9c,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 0x9b, 0x8f, 0x10, 0x8d, 0x27, 0x65, 0x45, 0xd0, 0xb6, 0x22, 0x68, 0x57, 0x11,
- 0xb4, 0x71, 0x04, 0x97, 0x8e, 0xe0, 0xad, 0x23, 0x78, 0xe7, 0x08, 0xfe, 0x74, 0x04, 0xbf, 0x7c,
- 0x11, 0xf4, 0x38, 0xfa, 0xc7, 0x17, 0xfe, 0x04, 0x00, 0x00, 0xff, 0xff, 0xdc, 0xc4, 0xf0, 0xa0,
- 0x81, 0x01, 0x00, 0x00,
+var fileDescriptor_771bacc35a5ec189 = []byte{
+ // 277 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x32, 0xce, 0xb6, 0x28, 0xd6,
+ 0xcb, 0xcc, 0xd7, 0x4f, 0x2c, 0xc8, 0xcc, 0x4d, 0x4c, 0xce, 0xc8, 0xcc, 0x4b, 0x2d, 0xaa, 0xd4,
+ 0x2f, 0xc8, 0x4e, 0xd7, 0x2f, 0x2d, 0xc9, 0xcc, 0xd1, 0xcf, 0xcc, 0x2b, 0x29, 0x2e, 0x29, 0xd2,
+ 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
+ 0x52, 0x86, 0x68, 0xd2, 0x43, 0xd6, 0xa4, 0x57, 0x90, 0x9d, 0xae, 0x07, 0xd2, 0xa4, 0x07, 0xd1,
+ 0x24, 0xa5, 0x9b, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x9f, 0x9e, 0x9f,
+ 0x9e, 0xaf, 0x0f, 0xd6, 0x9b, 0x54, 0x9a, 0x06, 0xe6, 0x81, 0x39, 0x60, 0x16, 0xc4, 0x4c, 0xa5,
+ 0x89, 0x8c, 0x5c, 0xdc, 0x9e, 0x79, 0x25, 0xfe, 0x45, 0xc1, 0x25, 0x45, 0x99, 0x79, 0xe9, 0x42,
+ 0x1a, 0x5c, 0x2c, 0x25, 0x95, 0x05, 0xa9, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0xcc, 0x4e, 0x22, 0x27,
+ 0xee, 0xc9, 0x33, 0x3c, 0xba, 0x27, 0xcf, 0x12, 0x52, 0x59, 0x90, 0xfa, 0x0b, 0x4a, 0x07, 0x81,
+ 0x55, 0x08, 0xa9, 0x71, 0xb1, 0x65, 0xe6, 0x95, 0x84, 0x25, 0xe6, 0x48, 0x30, 0x29, 0x30, 0x6a,
+ 0xb0, 0x3a, 0xf1, 0x41, 0xd5, 0xb2, 0x79, 0x82, 0x45, 0x83, 0xa0, 0xb2, 0x20, 0x75, 0xc5, 0x25,
+ 0x45, 0x20, 0x75, 0xcc, 0x0a, 0x8c, 0x1a, 0x9c, 0x08, 0x75, 0xc1, 0x60, 0xd1, 0x20, 0xa8, 0xac,
+ 0x15, 0xc7, 0x8c, 0x05, 0xf2, 0x0c, 0x0d, 0x77, 0x14, 0x18, 0x9c, 0x3c, 0x4f, 0x3c, 0x94, 0x63,
+ 0xb8, 0xf0, 0x50, 0x8e, 0xe1, 0xc6, 0x43, 0x39, 0x86, 0x86, 0x47, 0x72, 0x8c, 0x27, 0x1e, 0xc9,
+ 0x31, 0x5e, 0x78, 0x24, 0xc7, 0x78, 0xe3, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e,
+ 0xcb, 0x31, 0x44, 0x29, 0x13, 0x11, 0x84, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x63, 0xa1, 0x0b,
+ 0x1e, 0x68, 0x01, 0x00, 0x00,
}
func (m *IntOrString) Marshal() (dAtA []byte, err error) {
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/managedfields/node.yaml b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/managedfields/node.yaml
index 66e849f23f..a7f2d54fdf 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/managedfields/node.yaml
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/managedfields/node.yaml
@@ -120,7 +120,7 @@ status:
type: PIDPressure
- lastHeartbeatTime: "2019-09-20T19:32:50Z"
lastTransitionTime: "2019-07-09T16:17:49Z"
- message: kubelet is posting ready status. AppArmor enabled
+ message: kubelet is posting ready status
reason: KubeletReady
status: "True"
type: Ready
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/portforward/constants.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/portforward/constants.go
new file mode 100644
index 0000000000..6853288156
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/portforward/constants.go
@@ -0,0 +1,24 @@
+/*
+Copyright 2016 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package portforward
+
+const (
+ PortForwardV1Name = "portforward.k8s.io"
+ WebsocketsSPDYTunnelingPrefix = "SPDY/3.1+"
+ KubernetesSuffix = ".k8s.io"
+ WebsocketsSPDYTunnelingPortForwardV1 = WebsocketsSPDYTunnelingPrefix + PortForwardV1Name
+)
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go
index 194883390c..fd281bdb88 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go
@@ -16,4 +16,4 @@ limitations under the License.
// Package sets has generic set and specified sets. Generic set will
// replace specified ones over time. And specific ones are deprecated.
-package sets
+package sets // import "k8s.io/apimachinery/pkg/util/sets"
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/ordered.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/ordered.go
deleted file mode 100644
index 443dac62eb..0000000000
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/ordered.go
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
-Copyright 2022 The Kubernetes Authors.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-*/
-
-package sets
-
-// ordered is a constraint that permits any ordered type: any type
-// that supports the operators < <= >= >.
-// If future releases of Go add new ordered types,
-// this constraint will be modified to include them.
-type ordered interface {
- integer | float | ~string
-}
-
-// integer is a constraint that permits any integer type.
-// If future releases of Go add new predeclared integer types,
-// this constraint will be modified to include them.
-type integer interface {
- signed | unsigned
-}
-
-// float is a constraint that permits any floating-point type.
-// If future releases of Go add new predeclared floating-point types,
-// this constraint will be modified to include them.
-type float interface {
- ~float32 | ~float64
-}
-
-// signed is a constraint that permits any signed integer type.
-// If future releases of Go add new predeclared signed integer types,
-// this constraint will be modified to include them.
-type signed interface {
- ~int | ~int8 | ~int16 | ~int32 | ~int64
-}
-
-// unsigned is a constraint that permits any unsigned integer type.
-// If future releases of Go add new predeclared unsigned integer types,
-// this constraint will be modified to include them.
-type unsigned interface {
- ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
-}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/set.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/set.go
index d50526f426..b76129a1ca 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/set.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/sets/set.go
@@ -17,6 +17,7 @@ limitations under the License.
package sets
import (
+ "cmp"
"sort"
)
@@ -37,7 +38,7 @@ func New[T comparable](items ...T) Set[T] {
// KeySet creates a Set from a keys of a map[comparable](? extends interface{}).
// If the value passed in is not actually a map, this will panic.
func KeySet[T comparable, V any](theMap map[T]V) Set[T] {
- ret := Set[T]{}
+ ret := make(Set[T], len(theMap))
for keyValue := range theMap {
ret.Insert(keyValue)
}
@@ -193,7 +194,7 @@ func (s1 Set[T]) Equal(s2 Set[T]) bool {
return len(s1) == len(s2) && s1.IsSuperset(s2)
}
-type sortableSliceOfGeneric[T ordered] []T
+type sortableSliceOfGeneric[T cmp.Ordered] []T
func (g sortableSliceOfGeneric[T]) Len() int { return len(g) }
func (g sortableSliceOfGeneric[T]) Less(i, j int) bool { return less[T](g[i], g[j]) }
@@ -203,7 +204,7 @@ func (g sortableSliceOfGeneric[T]) Swap(i, j int) { g[i], g[j] = g[j], g[i]
//
// This is a separate function and not a method because not all types supported
// by Generic are ordered and only those can be sorted.
-func List[T ordered](s Set[T]) []T {
+func List[T cmp.Ordered](s Set[T]) []T {
res := make(sortableSliceOfGeneric[T], 0, len(s))
for key := range s {
res = append(res, key)
@@ -236,6 +237,6 @@ func (s Set[T]) Len() int {
return len(s)
}
-func less[T ordered](lhs, rhs T) bool {
+func less[T cmp.Ordered](lhs, rhs T) bool {
return lhs < rhs
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/OWNERS b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/OWNERS
new file mode 100644
index 0000000000..4023732476
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/OWNERS
@@ -0,0 +1,11 @@
+# See the OWNERS docs at https://go.k8s.io/owners
+
+# Disable inheritance as this is an api owners file
+options:
+ no_parent_owners: true
+approvers:
+ - api-approvers
+reviewers:
+ - api-reviewers
+labels:
+ - kind/api-change
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/validation.go b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/validation.go
index 0b8a6cb354..b32644902b 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/validation.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apimachinery/pkg/util/validation/validation.go
@@ -19,10 +19,9 @@ package validation
import (
"fmt"
"math"
- "net"
"regexp"
- "strconv"
"strings"
+ "unicode"
"k8s.io/apimachinery/pkg/util/validation/field"
netutils "k8s.io/utils/net"
@@ -352,11 +351,12 @@ func IsValidPortName(port string) []string {
}
// IsValidIP tests that the argument is a valid IP address.
-func IsValidIP(value string) []string {
+func IsValidIP(fldPath *field.Path, value string) field.ErrorList {
+ var allErrors field.ErrorList
if netutils.ParseIPSloppy(value) == nil {
- return []string{"must be a valid IP address, (e.g. 10.9.8.7 or 2001:db8::ffff)"}
+ allErrors = append(allErrors, field.Invalid(fldPath, value, "must be a valid IP address, (e.g. 10.9.8.7 or 2001:db8::ffff)"))
}
- return nil
+ return allErrors
}
// IsValidIPv4Address tests that the argument is a valid IPv4 address.
@@ -379,6 +379,16 @@ func IsValidIPv6Address(fldPath *field.Path, value string) field.ErrorList {
return allErrors
}
+// IsValidCIDR tests that the argument is a valid CIDR value.
+func IsValidCIDR(fldPath *field.Path, value string) field.ErrorList {
+ var allErrors field.ErrorList
+ _, _, err := netutils.ParseCIDRSloppy(value)
+ if err != nil {
+ allErrors = append(allErrors, field.Invalid(fldPath, value, "must be a valid CIDR value, (e.g. 10.9.8.0/24 or 2001:db8::/64)"))
+ }
+ return allErrors
+}
+
const percentFmt string = "[0-9]+%"
const percentErrMsg string = "a valid percent string must be a numeric string followed by an ending '%'"
@@ -409,6 +419,9 @@ func IsHTTPHeaderName(value string) []string {
const envVarNameFmt = "[-._a-zA-Z][-._a-zA-Z0-9]*"
const envVarNameFmtErrMsg string = "a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit"
+// TODO(hirazawaui): Rename this when the RelaxedEnvironmentVariableValidation gate is removed.
+const relaxedEnvVarNameFmtErrMsg string = "a valid environment variable name must consist only of printable ASCII characters other than '='"
+
var envVarNameRegexp = regexp.MustCompile("^" + envVarNameFmt + "$")
// IsEnvVarName tests if a string is a valid environment variable name.
@@ -422,6 +435,24 @@ func IsEnvVarName(value string) []string {
return errs
}
+// IsRelaxedEnvVarName tests if a string is a valid environment variable name.
+func IsRelaxedEnvVarName(value string) []string {
+ var errs []string
+
+ if len(value) == 0 {
+ errs = append(errs, "environment variable name "+EmptyError())
+ }
+
+ for _, r := range value {
+ if r > unicode.MaxASCII || !unicode.IsPrint(r) || r == '=' {
+ errs = append(errs, relaxedEnvVarNameFmtErrMsg)
+ break
+ }
+ }
+
+ return errs
+}
+
const configMapKeyFmt = `[-._a-zA-Z0-9]+`
const configMapKeyErrMsg string = "a valid config key must consist of alphanumeric characters, '-', '_' or '.'"
@@ -493,18 +524,3 @@ func hasChDirPrefix(value string) []string {
}
return errs
}
-
-// IsValidSocketAddr checks that string represents a valid socket address
-// as defined in RFC 789. (e.g 0.0.0.0:10254 or [::]:10254))
-func IsValidSocketAddr(value string) []string {
- var errs []string
- ip, port, err := net.SplitHostPort(value)
- if err != nil {
- errs = append(errs, "must be a valid socket address format, (e.g. 0.0.0.0:10254 or [::]:10254)")
- return errs
- }
- portInt, _ := strconv.Atoi(port)
- errs = append(errs, IsValidPortNum(portInt)...)
- errs = append(errs, IsValidIP(ip)...)
- return errs
-}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/register.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/register.go
index d42852d93e..fd0b087c8d 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/register.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/register.go
@@ -45,6 +45,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&AdmissionConfiguration{},
&AuthenticationConfiguration{},
&AuthorizationConfiguration{},
+ &EncryptionConfiguration{},
&EgressSelectorConfiguration{},
&TracingConfiguration{},
)
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types.go
index f3b4ae321e..a31b875369 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types.go
@@ -175,13 +175,56 @@ type JWTAuthenticator struct {
UserValidationRules []UserValidationRule
}
-// Issuer provides the configuration for a external provider specific settings.
+// Issuer provides the configuration for an external provider's specific settings.
type Issuer struct {
- URL string
+ // url points to the issuer URL in a format https://url or https://url/path.
+ // This must match the "iss" claim in the presented JWT, and the issuer returned from discovery.
+ // Same value as the --oidc-issuer-url flag.
+ // Discovery information is fetched from "{url}/.well-known/openid-configuration" unless overridden by discoveryURL.
+ // Required to be unique across all JWT authenticators.
+ // Note that egress selection configuration is not used for this network connection.
+ // +required
+ URL string
+ // discoveryURL, if specified, overrides the URL used to fetch discovery
+ // information instead of using "{url}/.well-known/openid-configuration".
+ // The exact value specified is used, so "/.well-known/openid-configuration"
+ // must be included in discoveryURL if needed.
+ //
+ // The "issuer" field in the fetched discovery information must match the "issuer.url" field
+ // in the AuthenticationConfiguration and will be used to validate the "iss" claim in the presented JWT.
+ // This is for scenarios where the well-known and jwks endpoints are hosted at a different
+ // location than the issuer (such as locally in the cluster).
+ //
+ // Example:
+ // A discovery url that is exposed using kubernetes service 'oidc' in namespace 'oidc-namespace'
+ // and discovery information is available at '/.well-known/openid-configuration'.
+ // discoveryURL: "https://oidc.oidc-namespace/.well-known/openid-configuration"
+ // certificateAuthority is used to verify the TLS connection and the hostname on the leaf certificate
+ // must be set to 'oidc.oidc-namespace'.
+ //
+ // curl https://oidc.oidc-namespace/.well-known/openid-configuration (.discoveryURL field)
+ // {
+ // issuer: "https://oidc.example.com" (.url field)
+ // }
+ //
+ // discoveryURL must be different from url.
+ // Required to be unique across all JWT authenticators.
+ // Note that egress selection configuration is not used for this network connection.
+ // +optional
+ DiscoveryURL string
CertificateAuthority string
Audiences []string
+ AudienceMatchPolicy AudienceMatchPolicyType
}
+// AudienceMatchPolicyType is a set of valid values for Issuer.AudienceMatchPolicy
+type AudienceMatchPolicyType string
+
+// Valid types for AudienceMatchPolicyType
+const (
+ AudienceMatchPolicyMatchAny AudienceMatchPolicyType = "MatchAny"
+)
+
// ClaimValidationRule provides the configuration for a single claim validation rule.
type ClaimValidationRule struct {
Claim string
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go
new file mode 100644
index 0000000000..fb66305050
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go
@@ -0,0 +1,149 @@
+/*
+Copyright 2018 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package apiserver
+
+import (
+ "fmt"
+
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+
+/*
+EncryptionConfiguration stores the complete configuration for encryption providers.
+It also allows the use of wildcards to specify the resources that should be encrypted.
+Use '*.' to encrypt all resources within a group or '*.*' to encrypt all resources.
+'*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all
+resources, even custom resources that are added after API server start.
+Use of wildcards that overlap within the same resource list or across multiple
+entries are not allowed since part of the configuration would be ineffective.
+Resource lists are processed in order, with earlier lists taking precedence.
+
+Example:
+
+ kind: EncryptionConfiguration
+ apiVersion: apiserver.config.k8s.io/v1
+ resources:
+ - resources:
+ - events
+ providers:
+ - identity: {} # do not encrypt events even though *.* is specified below
+ - resources:
+ - secrets
+ - configmaps
+ - pandas.awesome.bears.example
+ providers:
+ - aescbc:
+ keys:
+ - name: key1
+ secret: c2VjcmV0IGlzIHNlY3VyZQ==
+ - resources:
+ - '*.apps'
+ providers:
+ - aescbc:
+ keys:
+ - name: key2
+ secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg==
+ - resources:
+ - '*.*'
+ providers:
+ - aescbc:
+ keys:
+ - name: key3
+ secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw==
+*/
+type EncryptionConfiguration struct {
+ metav1.TypeMeta
+ // resources is a list containing resources, and their corresponding encryption providers.
+ Resources []ResourceConfiguration
+}
+
+// ResourceConfiguration stores per resource configuration.
+type ResourceConfiguration struct {
+ // resources is a list of kubernetes resources which have to be encrypted. The resource names are derived from `resource` or `resource.group` of the group/version/resource.
+ // eg: pandas.awesome.bears.example is a custom resource with 'group': awesome.bears.example, 'resource': pandas.
+ // Use '*.*' to encrypt all resources and '*.' to encrypt all resources in a specific group.
+ // eg: '*.awesome.bears.example' will encrypt all resources in the group 'awesome.bears.example'.
+ // eg: '*.' will encrypt all resources in the core group (such as pods, configmaps, etc).
+ Resources []string
+ // providers is a list of transformers to be used for reading and writing the resources to disk.
+ // eg: aesgcm, aescbc, secretbox, identity, kms.
+ Providers []ProviderConfiguration
+}
+
+// ProviderConfiguration stores the provided configuration for an encryption provider.
+type ProviderConfiguration struct {
+ // aesgcm is the configuration for the AES-GCM transformer.
+ AESGCM *AESConfiguration
+ // aescbc is the configuration for the AES-CBC transformer.
+ AESCBC *AESConfiguration
+ // secretbox is the configuration for the Secretbox based transformer.
+ Secretbox *SecretboxConfiguration
+ // identity is the (empty) configuration for the identity transformer.
+ Identity *IdentityConfiguration
+ // kms contains the name, cache size and path to configuration file for a KMS based envelope transformer.
+ KMS *KMSConfiguration
+}
+
+// AESConfiguration contains the API configuration for an AES transformer.
+type AESConfiguration struct {
+ // keys is a list of keys to be used for creating the AES transformer.
+ // Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.
+ Keys []Key
+}
+
+// SecretboxConfiguration contains the API configuration for an Secretbox transformer.
+type SecretboxConfiguration struct {
+ // keys is a list of keys to be used for creating the Secretbox transformer.
+ // Each key has to be 32 bytes long.
+ Keys []Key
+}
+
+// Key contains name and secret of the provided key for a transformer.
+type Key struct {
+ // name is the name of the key to be used while storing data to disk.
+ Name string
+ // secret is the actual key, encoded in base64.
+ Secret string
+}
+
+// String implements Stringer interface in a log safe way.
+func (k Key) String() string {
+ return fmt.Sprintf("Name: %s, Secret: [REDACTED]", k.Name)
+}
+
+// IdentityConfiguration is an empty struct to allow identity transformer in provider configuration.
+type IdentityConfiguration struct{}
+
+// KMSConfiguration contains the name, cache size and path to configuration file for a KMS based envelope transformer.
+type KMSConfiguration struct {
+ // apiVersion of KeyManagementService
+ // +optional
+ APIVersion string
+ // name is the name of the KMS plugin to be used.
+ Name string
+ // cachesize is the maximum number of secrets which are cached in memory. The default value is 1000.
+ // Set to a negative value to disable caching. This field is only allowed for KMS v1 providers.
+ // +optional
+ CacheSize *int32
+ // endpoint is the gRPC server listening address, for example "unix:///var/run/kms-provider.sock".
+ Endpoint string
+ // timeout for gRPC calls to kms-plugin (ex. 5s). The default is 3 seconds.
+ // +optional
+ Timeout *metav1.Duration
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults.go
new file mode 100644
index 0000000000..b71b53c658
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/defaults.go
@@ -0,0 +1,50 @@
+/*
+Copyright 2019 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1
+
+import (
+ "time"
+
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+ "k8s.io/apimachinery/pkg/runtime"
+)
+
+var (
+ defaultTimeout = &metav1.Duration{Duration: 3 * time.Second}
+ defaultCacheSize int32 = 1000
+ defaultAPIVersion = "v1"
+)
+
+func addDefaultingFuncs(scheme *runtime.Scheme) error {
+ return RegisterDefaults(scheme)
+}
+
+// SetDefaults_KMSConfiguration applies defaults to KMSConfiguration.
+func SetDefaults_KMSConfiguration(obj *KMSConfiguration) {
+ if obj.Timeout == nil {
+ obj.Timeout = defaultTimeout
+ }
+
+ if obj.APIVersion == "" {
+ obj.APIVersion = defaultAPIVersion
+ }
+
+ // cacheSize is relevant only for kms v1
+ if obj.CacheSize == nil && obj.APIVersion == "v1" {
+ obj.CacheSize = &defaultCacheSize
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/register.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/register.go
index 8d3bf987f9..0de8db4971 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/register.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/register.go
@@ -40,13 +40,17 @@ func init() {
// generated functions takes place in the generated files. The separation
// makes the code compile even when the generated files are missing.
localSchemeBuilder.Register(addKnownTypes)
+ localSchemeBuilder.Register(addDefaultingFuncs)
}
// Adds the list of known types to the given scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
scheme.AddKnownTypes(SchemeGroupVersion,
&AdmissionConfiguration{},
+ &EncryptionConfiguration{},
)
+ // also register into the v1 group as EncryptionConfig (due to a docs bug)
+ scheme.AddKnownTypeWithName(schema.GroupVersionKind{Group: "", Version: "v1", Kind: "EncryptionConfig"}, &EncryptionConfiguration{})
metav1.AddToGroupVersion(scheme, SchemeGroupVersion)
return nil
}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go
new file mode 100644
index 0000000000..7aced8cf62
--- /dev/null
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/types_encryption.go
@@ -0,0 +1,149 @@
+/*
+Copyright 2017 The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
+package v1
+
+import (
+ "fmt"
+
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
+)
+
+// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+
+/*
+EncryptionConfiguration stores the complete configuration for encryption providers.
+It also allows the use of wildcards to specify the resources that should be encrypted.
+Use '*.' to encrypt all resources within a group or '*.*' to encrypt all resources.
+'*.' can be used to encrypt all resource in the core group. '*.*' will encrypt all
+resources, even custom resources that are added after API server start.
+Use of wildcards that overlap within the same resource list or across multiple
+entries are not allowed since part of the configuration would be ineffective.
+Resource lists are processed in order, with earlier lists taking precedence.
+
+Example:
+
+ kind: EncryptionConfiguration
+ apiVersion: apiserver.config.k8s.io/v1
+ resources:
+ - resources:
+ - events
+ providers:
+ - identity: {} # do not encrypt events even though *.* is specified below
+ - resources:
+ - secrets
+ - configmaps
+ - pandas.awesome.bears.example
+ providers:
+ - aescbc:
+ keys:
+ - name: key1
+ secret: c2VjcmV0IGlzIHNlY3VyZQ==
+ - resources:
+ - '*.apps'
+ providers:
+ - aescbc:
+ keys:
+ - name: key2
+ secret: c2VjcmV0IGlzIHNlY3VyZSwgb3IgaXMgaXQ/Cg==
+ - resources:
+ - '*.*'
+ providers:
+ - aescbc:
+ keys:
+ - name: key3
+ secret: c2VjcmV0IGlzIHNlY3VyZSwgSSB0aGluaw==
+*/
+type EncryptionConfiguration struct {
+ metav1.TypeMeta
+ // resources is a list containing resources, and their corresponding encryption providers.
+ Resources []ResourceConfiguration `json:"resources"`
+}
+
+// ResourceConfiguration stores per resource configuration.
+type ResourceConfiguration struct {
+ // resources is a list of kubernetes resources which have to be encrypted. The resource names are derived from `resource` or `resource.group` of the group/version/resource.
+ // eg: pandas.awesome.bears.example is a custom resource with 'group': awesome.bears.example, 'resource': pandas.
+ // Use '*.*' to encrypt all resources and '*.' to encrypt all resources in a specific group.
+ // eg: '*.awesome.bears.example' will encrypt all resources in the group 'awesome.bears.example'.
+ // eg: '*.' will encrypt all resources in the core group (such as pods, configmaps, etc).
+ Resources []string `json:"resources"`
+ // providers is a list of transformers to be used for reading and writing the resources to disk.
+ // eg: aesgcm, aescbc, secretbox, identity, kms.
+ Providers []ProviderConfiguration `json:"providers"`
+}
+
+// ProviderConfiguration stores the provided configuration for an encryption provider.
+type ProviderConfiguration struct {
+ // aesgcm is the configuration for the AES-GCM transformer.
+ AESGCM *AESConfiguration `json:"aesgcm,omitempty"`
+ // aescbc is the configuration for the AES-CBC transformer.
+ AESCBC *AESConfiguration `json:"aescbc,omitempty"`
+ // secretbox is the configuration for the Secretbox based transformer.
+ Secretbox *SecretboxConfiguration `json:"secretbox,omitempty"`
+ // identity is the (empty) configuration for the identity transformer.
+ Identity *IdentityConfiguration `json:"identity,omitempty"`
+ // kms contains the name, cache size and path to configuration file for a KMS based envelope transformer.
+ KMS *KMSConfiguration `json:"kms,omitempty"`
+}
+
+// AESConfiguration contains the API configuration for an AES transformer.
+type AESConfiguration struct {
+ // keys is a list of keys to be used for creating the AES transformer.
+ // Each key has to be 32 bytes long for AES-CBC and 16, 24 or 32 bytes for AES-GCM.
+ Keys []Key `json:"keys"`
+}
+
+// SecretboxConfiguration contains the API configuration for an Secretbox transformer.
+type SecretboxConfiguration struct {
+ // keys is a list of keys to be used for creating the Secretbox transformer.
+ // Each key has to be 32 bytes long.
+ Keys []Key `json:"keys"`
+}
+
+// Key contains name and secret of the provided key for a transformer.
+type Key struct {
+ // name is the name of the key to be used while storing data to disk.
+ Name string `json:"name"`
+ // secret is the actual key, encoded in base64.
+ Secret string `json:"secret"`
+}
+
+// String implements Stringer interface in a log safe way.
+func (k Key) String() string {
+ return fmt.Sprintf("Name: %s, Secret: [REDACTED]", k.Name)
+}
+
+// IdentityConfiguration is an empty struct to allow identity transformer in provider configuration.
+type IdentityConfiguration struct{}
+
+// KMSConfiguration contains the name, cache size and path to configuration file for a KMS based envelope transformer.
+type KMSConfiguration struct {
+ // apiVersion of KeyManagementService
+ // +optional
+ APIVersion string `json:"apiVersion"`
+ // name is the name of the KMS plugin to be used.
+ Name string `json:"name"`
+ // cachesize is the maximum number of secrets which are cached in memory. The default value is 1000.
+ // Set to a negative value to disable caching. This field is only allowed for KMS v1 providers.
+ // +optional
+ CacheSize *int32 `json:"cachesize,omitempty"`
+ // endpoint is the gRPC server listening address, for example "unix:///var/run/kms-provider.sock".
+ Endpoint string `json:"endpoint"`
+ // timeout for gRPC calls to kms-plugin (ex. 5s). The default is 3 seconds.
+ // +optional
+ Timeout *metav1.Duration `json:"timeout,omitempty"`
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.conversion.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.conversion.go
index 22562c87a0..c0f218742a 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.conversion.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.conversion.go
@@ -24,6 +24,7 @@ package v1
import (
unsafe "unsafe"
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
apiserver "k8s.io/apiserver/pkg/apis/apiserver"
@@ -36,6 +37,16 @@ func init() {
// RegisterConversions adds conversion functions to the given scheme.
// Public to allow building arbitrary schemes.
func RegisterConversions(s *runtime.Scheme) error {
+ if err := s.AddGeneratedConversionFunc((*AESConfiguration)(nil), (*apiserver.AESConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_AESConfiguration_To_apiserver_AESConfiguration(a.(*AESConfiguration), b.(*apiserver.AESConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.AESConfiguration)(nil), (*AESConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_AESConfiguration_To_v1_AESConfiguration(a.(*apiserver.AESConfiguration), b.(*AESConfiguration), scope)
+ }); err != nil {
+ return err
+ }
if err := s.AddGeneratedConversionFunc((*AdmissionConfiguration)(nil), (*apiserver.AdmissionConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
return Convert_v1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(a.(*AdmissionConfiguration), b.(*apiserver.AdmissionConfiguration), scope)
}); err != nil {
@@ -56,9 +67,99 @@ func RegisterConversions(s *runtime.Scheme) error {
}); err != nil {
return err
}
+ if err := s.AddGeneratedConversionFunc((*EncryptionConfiguration)(nil), (*apiserver.EncryptionConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration(a.(*EncryptionConfiguration), b.(*apiserver.EncryptionConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.EncryptionConfiguration)(nil), (*EncryptionConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration(a.(*apiserver.EncryptionConfiguration), b.(*EncryptionConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*IdentityConfiguration)(nil), (*apiserver.IdentityConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration(a.(*IdentityConfiguration), b.(*apiserver.IdentityConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.IdentityConfiguration)(nil), (*IdentityConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration(a.(*apiserver.IdentityConfiguration), b.(*IdentityConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*KMSConfiguration)(nil), (*apiserver.KMSConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(a.(*KMSConfiguration), b.(*apiserver.KMSConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.KMSConfiguration)(nil), (*KMSConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration(a.(*apiserver.KMSConfiguration), b.(*KMSConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*Key)(nil), (*apiserver.Key)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_Key_To_apiserver_Key(a.(*Key), b.(*apiserver.Key), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.Key)(nil), (*Key)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_Key_To_v1_Key(a.(*apiserver.Key), b.(*Key), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*ProviderConfiguration)(nil), (*apiserver.ProviderConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration(a.(*ProviderConfiguration), b.(*apiserver.ProviderConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.ProviderConfiguration)(nil), (*ProviderConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration(a.(*apiserver.ProviderConfiguration), b.(*ProviderConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*ResourceConfiguration)(nil), (*apiserver.ResourceConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration(a.(*ResourceConfiguration), b.(*apiserver.ResourceConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.ResourceConfiguration)(nil), (*ResourceConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration(a.(*apiserver.ResourceConfiguration), b.(*ResourceConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*SecretboxConfiguration)(nil), (*apiserver.SecretboxConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration(a.(*SecretboxConfiguration), b.(*apiserver.SecretboxConfiguration), scope)
+ }); err != nil {
+ return err
+ }
+ if err := s.AddGeneratedConversionFunc((*apiserver.SecretboxConfiguration)(nil), (*SecretboxConfiguration)(nil), func(a, b interface{}, scope conversion.Scope) error {
+ return Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration(a.(*apiserver.SecretboxConfiguration), b.(*SecretboxConfiguration), scope)
+ }); err != nil {
+ return err
+ }
return nil
}
+func autoConvert_v1_AESConfiguration_To_apiserver_AESConfiguration(in *AESConfiguration, out *apiserver.AESConfiguration, s conversion.Scope) error {
+ out.Keys = *(*[]apiserver.Key)(unsafe.Pointer(&in.Keys))
+ return nil
+}
+
+// Convert_v1_AESConfiguration_To_apiserver_AESConfiguration is an autogenerated conversion function.
+func Convert_v1_AESConfiguration_To_apiserver_AESConfiguration(in *AESConfiguration, out *apiserver.AESConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_AESConfiguration_To_apiserver_AESConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_AESConfiguration_To_v1_AESConfiguration(in *apiserver.AESConfiguration, out *AESConfiguration, s conversion.Scope) error {
+ out.Keys = *(*[]Key)(unsafe.Pointer(&in.Keys))
+ return nil
+}
+
+// Convert_apiserver_AESConfiguration_To_v1_AESConfiguration is an autogenerated conversion function.
+func Convert_apiserver_AESConfiguration_To_v1_AESConfiguration(in *apiserver.AESConfiguration, out *AESConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_AESConfiguration_To_v1_AESConfiguration(in, out, s)
+}
+
func autoConvert_v1_AdmissionConfiguration_To_apiserver_AdmissionConfiguration(in *AdmissionConfiguration, out *apiserver.AdmissionConfiguration, s conversion.Scope) error {
out.Plugins = *(*[]apiserver.AdmissionPluginConfiguration)(unsafe.Pointer(&in.Plugins))
return nil
@@ -102,3 +203,161 @@ func autoConvert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginCon
func Convert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginConfiguration(in *apiserver.AdmissionPluginConfiguration, out *AdmissionPluginConfiguration, s conversion.Scope) error {
return autoConvert_apiserver_AdmissionPluginConfiguration_To_v1_AdmissionPluginConfiguration(in, out, s)
}
+
+func autoConvert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration(in *EncryptionConfiguration, out *apiserver.EncryptionConfiguration, s conversion.Scope) error {
+ out.Resources = *(*[]apiserver.ResourceConfiguration)(unsafe.Pointer(&in.Resources))
+ return nil
+}
+
+// Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration is an autogenerated conversion function.
+func Convert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration(in *EncryptionConfiguration, out *apiserver.EncryptionConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_EncryptionConfiguration_To_apiserver_EncryptionConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration(in *apiserver.EncryptionConfiguration, out *EncryptionConfiguration, s conversion.Scope) error {
+ out.Resources = *(*[]ResourceConfiguration)(unsafe.Pointer(&in.Resources))
+ return nil
+}
+
+// Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration is an autogenerated conversion function.
+func Convert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration(in *apiserver.EncryptionConfiguration, out *EncryptionConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_EncryptionConfiguration_To_v1_EncryptionConfiguration(in, out, s)
+}
+
+func autoConvert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration(in *IdentityConfiguration, out *apiserver.IdentityConfiguration, s conversion.Scope) error {
+ return nil
+}
+
+// Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration is an autogenerated conversion function.
+func Convert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration(in *IdentityConfiguration, out *apiserver.IdentityConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_IdentityConfiguration_To_apiserver_IdentityConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration(in *apiserver.IdentityConfiguration, out *IdentityConfiguration, s conversion.Scope) error {
+ return nil
+}
+
+// Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration is an autogenerated conversion function.
+func Convert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration(in *apiserver.IdentityConfiguration, out *IdentityConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_IdentityConfiguration_To_v1_IdentityConfiguration(in, out, s)
+}
+
+func autoConvert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(in *KMSConfiguration, out *apiserver.KMSConfiguration, s conversion.Scope) error {
+ out.APIVersion = in.APIVersion
+ out.Name = in.Name
+ out.CacheSize = (*int32)(unsafe.Pointer(in.CacheSize))
+ out.Endpoint = in.Endpoint
+ out.Timeout = (*metav1.Duration)(unsafe.Pointer(in.Timeout))
+ return nil
+}
+
+// Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration is an autogenerated conversion function.
+func Convert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(in *KMSConfiguration, out *apiserver.KMSConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_KMSConfiguration_To_apiserver_KMSConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_KMSConfiguration_To_v1_KMSConfiguration(in *apiserver.KMSConfiguration, out *KMSConfiguration, s conversion.Scope) error {
+ out.APIVersion = in.APIVersion
+ out.Name = in.Name
+ out.CacheSize = (*int32)(unsafe.Pointer(in.CacheSize))
+ out.Endpoint = in.Endpoint
+ out.Timeout = (*metav1.Duration)(unsafe.Pointer(in.Timeout))
+ return nil
+}
+
+// Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration is an autogenerated conversion function.
+func Convert_apiserver_KMSConfiguration_To_v1_KMSConfiguration(in *apiserver.KMSConfiguration, out *KMSConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_KMSConfiguration_To_v1_KMSConfiguration(in, out, s)
+}
+
+func autoConvert_v1_Key_To_apiserver_Key(in *Key, out *apiserver.Key, s conversion.Scope) error {
+ out.Name = in.Name
+ out.Secret = in.Secret
+ return nil
+}
+
+// Convert_v1_Key_To_apiserver_Key is an autogenerated conversion function.
+func Convert_v1_Key_To_apiserver_Key(in *Key, out *apiserver.Key, s conversion.Scope) error {
+ return autoConvert_v1_Key_To_apiserver_Key(in, out, s)
+}
+
+func autoConvert_apiserver_Key_To_v1_Key(in *apiserver.Key, out *Key, s conversion.Scope) error {
+ out.Name = in.Name
+ out.Secret = in.Secret
+ return nil
+}
+
+// Convert_apiserver_Key_To_v1_Key is an autogenerated conversion function.
+func Convert_apiserver_Key_To_v1_Key(in *apiserver.Key, out *Key, s conversion.Scope) error {
+ return autoConvert_apiserver_Key_To_v1_Key(in, out, s)
+}
+
+func autoConvert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration(in *ProviderConfiguration, out *apiserver.ProviderConfiguration, s conversion.Scope) error {
+ out.AESGCM = (*apiserver.AESConfiguration)(unsafe.Pointer(in.AESGCM))
+ out.AESCBC = (*apiserver.AESConfiguration)(unsafe.Pointer(in.AESCBC))
+ out.Secretbox = (*apiserver.SecretboxConfiguration)(unsafe.Pointer(in.Secretbox))
+ out.Identity = (*apiserver.IdentityConfiguration)(unsafe.Pointer(in.Identity))
+ out.KMS = (*apiserver.KMSConfiguration)(unsafe.Pointer(in.KMS))
+ return nil
+}
+
+// Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration is an autogenerated conversion function.
+func Convert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration(in *ProviderConfiguration, out *apiserver.ProviderConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_ProviderConfiguration_To_apiserver_ProviderConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration(in *apiserver.ProviderConfiguration, out *ProviderConfiguration, s conversion.Scope) error {
+ out.AESGCM = (*AESConfiguration)(unsafe.Pointer(in.AESGCM))
+ out.AESCBC = (*AESConfiguration)(unsafe.Pointer(in.AESCBC))
+ out.Secretbox = (*SecretboxConfiguration)(unsafe.Pointer(in.Secretbox))
+ out.Identity = (*IdentityConfiguration)(unsafe.Pointer(in.Identity))
+ out.KMS = (*KMSConfiguration)(unsafe.Pointer(in.KMS))
+ return nil
+}
+
+// Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration is an autogenerated conversion function.
+func Convert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration(in *apiserver.ProviderConfiguration, out *ProviderConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_ProviderConfiguration_To_v1_ProviderConfiguration(in, out, s)
+}
+
+func autoConvert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration(in *ResourceConfiguration, out *apiserver.ResourceConfiguration, s conversion.Scope) error {
+ out.Resources = *(*[]string)(unsafe.Pointer(&in.Resources))
+ out.Providers = *(*[]apiserver.ProviderConfiguration)(unsafe.Pointer(&in.Providers))
+ return nil
+}
+
+// Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration is an autogenerated conversion function.
+func Convert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration(in *ResourceConfiguration, out *apiserver.ResourceConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_ResourceConfiguration_To_apiserver_ResourceConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration(in *apiserver.ResourceConfiguration, out *ResourceConfiguration, s conversion.Scope) error {
+ out.Resources = *(*[]string)(unsafe.Pointer(&in.Resources))
+ out.Providers = *(*[]ProviderConfiguration)(unsafe.Pointer(&in.Providers))
+ return nil
+}
+
+// Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration is an autogenerated conversion function.
+func Convert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration(in *apiserver.ResourceConfiguration, out *ResourceConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_ResourceConfiguration_To_v1_ResourceConfiguration(in, out, s)
+}
+
+func autoConvert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration(in *SecretboxConfiguration, out *apiserver.SecretboxConfiguration, s conversion.Scope) error {
+ out.Keys = *(*[]apiserver.Key)(unsafe.Pointer(&in.Keys))
+ return nil
+}
+
+// Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration is an autogenerated conversion function.
+func Convert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration(in *SecretboxConfiguration, out *apiserver.SecretboxConfiguration, s conversion.Scope) error {
+ return autoConvert_v1_SecretboxConfiguration_To_apiserver_SecretboxConfiguration(in, out, s)
+}
+
+func autoConvert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration(in *apiserver.SecretboxConfiguration, out *SecretboxConfiguration, s conversion.Scope) error {
+ out.Keys = *(*[]Key)(unsafe.Pointer(&in.Keys))
+ return nil
+}
+
+// Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration is an autogenerated conversion function.
+func Convert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration(in *apiserver.SecretboxConfiguration, out *SecretboxConfiguration, s conversion.Scope) error {
+ return autoConvert_apiserver_SecretboxConfiguration_To_v1_SecretboxConfiguration(in, out, s)
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.deepcopy.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.deepcopy.go
index d1bc5e01f5..cbdcaa5a06 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.deepcopy.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.deepcopy.go
@@ -22,9 +22,31 @@ limitations under the License.
package v1
import (
+ metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *AESConfiguration) DeepCopyInto(out *AESConfiguration) {
+ *out = *in
+ if in.Keys != nil {
+ in, out := &in.Keys, &out.Keys
+ *out = make([]Key, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AESConfiguration.
+func (in *AESConfiguration) DeepCopy() *AESConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(AESConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *AdmissionConfiguration) DeepCopyInto(out *AdmissionConfiguration) {
*out = *in
@@ -77,3 +99,183 @@ func (in *AdmissionPluginConfiguration) DeepCopy() *AdmissionPluginConfiguration
in.DeepCopyInto(out)
return out
}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration) {
+ *out = *in
+ out.TypeMeta = in.TypeMeta
+ if in.Resources != nil {
+ in, out := &in.Resources, &out.Resources
+ *out = make([]ResourceConfiguration, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EncryptionConfiguration.
+func (in *EncryptionConfiguration) DeepCopy() *EncryptionConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(EncryptionConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
+func (in *EncryptionConfiguration) DeepCopyObject() runtime.Object {
+ if c := in.DeepCopy(); c != nil {
+ return c
+ }
+ return nil
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *IdentityConfiguration) DeepCopyInto(out *IdentityConfiguration) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdentityConfiguration.
+func (in *IdentityConfiguration) DeepCopy() *IdentityConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(IdentityConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KMSConfiguration) DeepCopyInto(out *KMSConfiguration) {
+ *out = *in
+ if in.CacheSize != nil {
+ in, out := &in.CacheSize, &out.CacheSize
+ *out = new(int32)
+ **out = **in
+ }
+ if in.Timeout != nil {
+ in, out := &in.Timeout, &out.Timeout
+ *out = new(metav1.Duration)
+ **out = **in
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KMSConfiguration.
+func (in *KMSConfiguration) DeepCopy() *KMSConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(KMSConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *Key) DeepCopyInto(out *Key) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Key.
+func (in *Key) DeepCopy() *Key {
+ if in == nil {
+ return nil
+ }
+ out := new(Key)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ProviderConfiguration) DeepCopyInto(out *ProviderConfiguration) {
+ *out = *in
+ if in.AESGCM != nil {
+ in, out := &in.AESGCM, &out.AESGCM
+ *out = new(AESConfiguration)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.AESCBC != nil {
+ in, out := &in.AESCBC, &out.AESCBC
+ *out = new(AESConfiguration)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Secretbox != nil {
+ in, out := &in.Secretbox, &out.Secretbox
+ *out = new(SecretboxConfiguration)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.Identity != nil {
+ in, out := &in.Identity, &out.Identity
+ *out = new(IdentityConfiguration)
+ **out = **in
+ }
+ if in.KMS != nil {
+ in, out := &in.KMS, &out.KMS
+ *out = new(KMSConfiguration)
+ (*in).DeepCopyInto(*out)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderConfiguration.
+func (in *ProviderConfiguration) DeepCopy() *ProviderConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(ProviderConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *ResourceConfiguration) DeepCopyInto(out *ResourceConfiguration) {
+ *out = *in
+ if in.Resources != nil {
+ in, out := &in.Resources, &out.Resources
+ *out = make([]string, len(*in))
+ copy(*out, *in)
+ }
+ if in.Providers != nil {
+ in, out := &in.Providers, &out.Providers
+ *out = make([]ProviderConfiguration, len(*in))
+ for i := range *in {
+ (*in)[i].DeepCopyInto(&(*out)[i])
+ }
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceConfiguration.
+func (in *ResourceConfiguration) DeepCopy() *ResourceConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(ResourceConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *SecretboxConfiguration) DeepCopyInto(out *SecretboxConfiguration) {
+ *out = *in
+ if in.Keys != nil {
+ in, out := &in.Keys, &out.Keys
+ *out = make([]Key, len(*in))
+ copy(*out, *in)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretboxConfiguration.
+func (in *SecretboxConfiguration) DeepCopy() *SecretboxConfiguration {
+ if in == nil {
+ return nil
+ }
+ out := new(SecretboxConfiguration)
+ in.DeepCopyInto(out)
+ return out
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.defaults.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.defaults.go
index dac177e93b..82fec01110 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.defaults.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1/zz_generated.defaults.go
@@ -29,5 +29,18 @@ import (
// Public to allow building arbitrary schemes.
// All generated defaulters are covering - they call all nested defaulters.
func RegisterDefaults(scheme *runtime.Scheme) error {
+ scheme.AddTypeDefaultingFunc(&EncryptionConfiguration{}, func(obj interface{}) { SetObjectDefaults_EncryptionConfiguration(obj.(*EncryptionConfiguration)) })
return nil
}
+
+func SetObjectDefaults_EncryptionConfiguration(in *EncryptionConfiguration) {
+ for i := range in.Resources {
+ a := &in.Resources[i]
+ for j := range a.Providers {
+ b := &a.Providers[j]
+ if b.KMS != nil {
+ SetDefaults_KMSConfiguration(b.KMS)
+ }
+ }
+ }
+}
diff --git a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
index 9394ba6f70..fc75c464a2 100644
--- a/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
+++ b/cluster-api/providers/azure/vendor/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
@@ -176,6 +176,14 @@ type AuthenticationConfiguration struct {
// authenticators is neither defined nor stable across releases. Since
// each JWT authenticator must have a unique issuer URL, at most one
// JWT authenticator will attempt to cryptographically validate the token.
+ //
+ // The minimum valid JWT payload must contain the following claims:
+ // {
+ // "iss": "https://issuer.example.com",
+ // "aud": ["audience"],
+ // "exp": 1234567890,
+ // "": "username"
+ // }
JWT []JWTAuthenticator `json:"jwt"`
}
@@ -201,17 +209,45 @@ type JWTAuthenticator struct {
UserValidationRules []UserValidationRule `json:"userValidationRules,omitempty"`
}
-// Issuer provides the configuration for a external provider specific settings.
+// Issuer provides the configuration for an external provider's specific settings.
type Issuer struct {
// url points to the issuer URL in a format https://url or https://url/path.
// This must match the "iss" claim in the presented JWT, and the issuer returned from discovery.
// Same value as the --oidc-issuer-url flag.
- // Used to fetch discovery information unless overridden by discoveryURL.
- // Required to be unique.
+ // Discovery information is fetched from "{url}/.well-known/openid-configuration" unless overridden by discoveryURL.
+ // Required to be unique across all JWT authenticators.
// Note that egress selection configuration is not used for this network connection.
// +required
URL string `json:"url"`
+ // discoveryURL, if specified, overrides the URL used to fetch discovery
+ // information instead of using "{url}/.well-known/openid-configuration".
+ // The exact value specified is used, so "/.well-known/openid-configuration"
+ // must be included in discoveryURL if needed.
+ //
+ // The "issuer" field in the fetched discovery information must match the "issuer.url" field
+ // in the AuthenticationConfiguration and will be used to validate the "iss" claim in the presented JWT.
+ // This is for scenarios where the well-known and jwks endpoints are hosted at a different
+ // location than the issuer (such as locally in the cluster).
+ //
+ // Example:
+ // A discovery url that is exposed using kubernetes service 'oidc' in namespace 'oidc-namespace'
+ // and discovery information is available at '/.well-known/openid-configuration'.
+ // discoveryURL: "https://oidc.oidc-namespace/.well-known/openid-configuration"
+ // certificateAuthority is used to verify the TLS connection and the hostname on the leaf certificate
+ // must be set to 'oidc.oidc-namespace'.
+ //
+ // curl https://oidc.oidc-namespace/.well-known/openid-configuration (.discoveryURL field)
+ // {
+ // issuer: "https://oidc.example.com" (.url field)
+ // }
+ //
+ // discoveryURL must be different from url.
+ // Required to be unique across all JWT authenticators.
+ // Note that egress selection configuration is not used for this network connection.
+ // +optional
+ DiscoveryURL *string `json:"discoveryURL,omitempty"`
+
// certificateAuthority contains PEM-encoded certificate authority certificates
// used to validate the connection when fetching discovery information.
// If unset, the system verifier is used.
@@ -225,8 +261,32 @@ type Issuer struct {
// Required to be non-empty.
// +required
Audiences []string `json:"audiences"`
+
+ // audienceMatchPolicy defines how the "audiences" field is used to match the "aud" claim in the presented JWT.
+ // Allowed values are:
+ // 1. "MatchAny" when multiple audiences are specified and
+ // 2. empty (or unset) or "MatchAny" when a single audience is specified.
+ //
+ // - MatchAny: the "aud" claim in the presented JWT must match at least one of the entries in the "audiences" field.
+ // For example, if "audiences" is ["foo", "bar"], the "aud" claim in the presented JWT must contain either "foo" or "bar" (and may contain both).
+ //
+ // - "": The match policy can be empty (or unset) when a single audience is specified in the "audiences" field. The "aud" claim in the presented JWT must contain the single audience (and may contain others).
+ //
+ // For more nuanced audience validation, use claimValidationRules.
+ // example: claimValidationRule[].expression: 'sets.equivalent(claims.aud, ["bar", "foo", "baz"])' to require an exact match.
+ // +optional
+ AudienceMatchPolicy AudienceMatchPolicyType `json:"audienceMatchPolicy,omitempty"`
}
+// AudienceMatchPolicyType is a set of valid values for issuer.audienceMatchPolicy
+type AudienceMatchPolicyType string
+
+// Valid types for AudienceMatchPolicyType
+const (
+ // MatchAny means the "aud" claim in the presented JWT must match at least one of the entries in the "audiences" field.
+ AudienceMatchPolicyMatchAny AudienceMatchPolicyType = "MatchAny"
+)
+
// ClaimValidationRule provides the configuration for a single claim validation rule.
type ClaimValidationRule struct {
// claim is the name of a required claim.
@@ -249,7 +309,7 @@ type ClaimValidationRule struct {
// CEL expressions have access to the contents of the token claims, organized into CEL variable:
// - 'claims' is a map of claim names to claim values.
// For example, a variable named 'sub' can be accessed as 'claims.sub'.
- // Nested claims can be accessed using dot notation, e.g. 'claims.email.verified'.
+ // Nested claims can be accessed using dot notation, e.g. 'claims.foo.bar'.
// Must return true for the validation to pass.
//
// Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
@@ -270,6 +330,10 @@ type ClaimMappings struct {
// The claim's value must be a singular string.
// Same as the --oidc-username-claim and --oidc-username-prefix flags.
// If username.expression is set, the expression must produce a string value.
+ // If username.expression uses 'claims.email', then 'claims.email_verified' must be used in
+ // username.expression or extra[*].valueExpression or claimValidationRules[*].expression.
+ // An example claim validation rule expression that matches the validation automatically
+ // applied when username.claim is set to 'email' is 'claims.?email_verified.orValue(true)'.
//
// In the flag based approach, the --oidc-username-claim and --oidc-username-prefix are optional. If --oidc-username-claim is not set,
// the default value is "sub". For the authentication config, there is no defaulting for claim or prefix. The claim and prefix must be set explicitly.
@@ -279,7 +343,7 @@ type ClaimMappings struct {
// set username.prefix=""
// (2) --oidc-username-prefix="" and --oidc-username-claim != "email", prefix was "#". For the same
// behavior using authentication config, set username.prefix="#"
- // (3) --oidc-username-prefix="". For the same behavior using authentication config, set username.prefix=""
+ // (3) --oidc-username-prefix="". For the same behavior using authentication config, set username.prefix="